1/* tp-taurus - v3.5.4 */ 2 3function tp_init_lazyload(){$("img[data-tp-src]").each(function(){var t=$(this);t.prop("src")||t.prop("src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGP6zwAAAgcBApocMXEAAAAASUVORK5CYII=")}),$(document).on("ajaxComplete",function(){setTimeout(function(){$(window).lazyLoadXT({srcAttr:"data-tp-src"})},50)})}function tp_init_tp_more_inline(){$(".js-tp-more-inline").on("click",function(){return $(this).toggleClass("tp-more-inline-hidden"),!1})}function tp_init_tp_more_elements(){$(".js-tp-more-elements").on("click",function(){var t=$(this).data("tp-more-class"),e=$(this).data("tp-more-step")?$(this).data("tp-more-step"):10,i=$(this).closest(".tp-box").find("."+t),n=i.length,o=i.slice(0,e),a=o.length,s=$(this).data("tp-less-class"),r=$(this).closest(".tp-box").find("."+s),l=!!$(this).data("tp-less-trigger"),d=!!$(this).data("tp-nomore-steps-message")&&$(this).data("tp-nomore-steps-message"),p=!!r&&r.find("input, select, textarea");return l?(r.addClass(t),p.val("")):d?(o.removeClass(t),r.hide(),0==a&&alert(d)):n<=a?(o.removeClass(t),r.hide(),$(this).hide(),1==$(this).parent().children().length&&$(this).parent().hide()):(o.removeClass(t),r.hide()),!1})}function tp_init_tp_read_more_less(){$(".js-tp-read-more-less").on("click",function(t){t.preventDefault(),console.log("js-tp-read-more-less");var e=$(this).data("tp-more-class"),i=$(this).data("tp-less-class");if($("."+e).toggle(),$("."+i).toggle(),$(this).data("tp-less-text")){var n=$(this).text(),o=$(this).data("tp-less-text");$(this).data("tp-less-text",n).text(o)}})}function addslashes(t){return t=t.replace(/\\/g,"\\\\"),t=t.replace(/\'/g,"\\'"),t=t.replace(/\"/g,'\\"'),t=t.replace(/\0/g,"\\0")}function tp_init_tp_image_fit(){$(".js-tp-image-fit").each(function(){var t=$(this),e=t.children("img")?t.children("img").prop("src"):"none";t.attr("style","background-image:url("+e+");background-position: center center;").addClass("image-fit-ready")})}function tp_init_tp_ping(){setInterval(function(){$("#js-tp-ping").length&&$.get("/"+configName+"/"+ttModuleName+"/ping")},18e4)}function tp_init_tp_toggle_target(){$(".js-tp-toggle-target").click(function(t){t.preventDefault(),$trigger=$(this),$target=!!$trigger.data("tp-target")&&$($trigger.data("tp-target")),$target2=!!$trigger.data("tp-target2")&&$($trigger.data("tp-target2")),closeTarget2=!!$trigger.data("tp-close-target2")&&$($trigger.data("tp-close-target2")),$target&&($trigger.hide(),$target.show(),$target2&&(closeTarget2?$target2.hide():$target2.show())),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}function tp_init_tp_selection_toggle(){$(".js-tp-selection-toggle").change(function(t){t.preventDefault(),$trigger=$(this),parentElementSelector=!!$trigger.data("selection-header")&&$trigger.data("selection-header"),selectionHide=!!$trigger.data("selection-toggle-hide")&&$trigger.data("selection-toggle-hide"),selection=!!$(".js-tp-selection-toggle option:selected").data("selection-target")&&$(".js-tp-selection-toggle option:selected").data("selection-target"),parentElementSelector&&$trigger.is(":visible")&&$(parentElementSelector).each(function(){$(this).show()}),selectionHide&&($(selectionHide).hide(),$(selection).show()),"function"==typeof reloadResizeIframe&&reloadResizeIframe(),parentElementSelector&&$trigger.is(":visible")&&$(parentElementSelector).each(function(){var t=$(this);0==t.find("li:visible").length?t.hide():t.show()})}),$(".js-tp-selection-toggle").change()}function tp_init_tp_aside(){if($(".js-tp-aside-sticky").length){var t=$(".js-tp-aside-sticky"),e=(t.outerHeight(),20),i=t.closest(".tp-container").width()-t.closest(".tp-container").find(".tp-content").width(),n=$(".tp-wrapper").width();"undefined"==typeof TP_SUBNAV_DISABLE_STICKY&&$(".js-tp-subnav").length>0&&(e+=44),"undefined"!=typeof TP_ASIDE_TOP_SPACING&&(e=TP_ASIDE_TOP_SPACING),n<767&&(i=n),t.attr("data-width",i),$(window).on("resize scroll",function(){i=t.closest(".tp-container").width()-t.closest(".tp-container").find(".tp-content").width(),(n=$(".tp-wrapper").width())<767&&(i=n),t.attr("data-width",i).css("width",i)}),"undefined"==typeof TP_ASIDE_DISABLE_STICKY&&n>767&&"function"==typeof $.fn.sticky&&t.sticky({topSpacing:e,wrapperClassName:"pure-u-1 pure-u-md-1-3",className:"tp-aside-sticky",responsiveWidth:!0})}}
3function tp_init_tp_back_to_top(){if($(".tp-body").length&&$(".tp-wrapper:not(.tp-twebsite)").length){var t=['<a href="#" class="js-tp-back-to-top tp-back-to-top-button"><span class="tp-sr-only">back to top</span></a>'].join("");$(".tp-wrapper").append(t),$(function(){$(window).scroll(function(){$(this).scrollTop()>100?$(".js-tp-back-to-top").addClass("tp-back-to-top-displayed"):$(".js-tp-back-to-top").removeClass("tp-back-to-top-displayed")}),$(".js-tp-back-to-top").click(function(){return $("body,html").animate({scrollTop:0},400),!1})})}}function tp_init_tp_ga_optout(){$(".gaqtracker-optout").on("click",function(t){t.preventDefault(),"function"==typeof gaOptout&&(gaOptout(),$(this).attr("disabled",!0))})}function tp_init_tp_toggle_text_hider(){$(".js-tp-toggle-textbox").length&&$(".js-tp-toggle-textbox").each(function(){var t=$(this),e=t.find(".tp-toggle-box_toggler").first(),i=t.find(".tp-toggle-box__gradient").first(),n=t.find(".tp-toggle-box__content").first();e.on("click",function(){return console.log("click"),i.is(":visible")?(n.addClass("tp-toggle-box__content_open"),e.text(e.data("tp-less-text"))):(n.removeClass("tp-toggle-box__content_open"),e.text(e.data("tp-more-text"))),!1})})}function tp_init_tp_clipboard(){$(".js-tp-clipboard-addRemove").each(function(){var t=$(this),e=t.data("tp-clipboard-href")?t.data("tp-clipboard-href"):"",i=!!t.data("tp-clipboard-toggle-id")&&t.data("tp-clipboard-toggle-id"),n=!!i&&$("[data-tp-clipboard-toggle-id='"+i+"']"),o=t.data("tp-clipboard-modal-text")?t.data("tp-clipboard-modal-text"):"",a=t.data("tp-clipboard-modal-loading-text")?t.data("tp-clipboard-modal-loading-text"):"";$(this).unbind("click"),$(this).on("click",function(t){if(t.preventDefault(),$(this).is("[disabled=disabled]"))return!1;$(this);var i=!!$("#tp-clipboard-modal").length&&$("#tp-clipboard-modal"),s=i.find(".tp-clipboard-modal-loading-text"),r=i.find(".tp-clipboard-modal-text"),l=i.find(".tp-modal-footer"),d=i.find(".tp-clipboard-loader"),p=!!$(".tp-btn-clipboard-counter").length&&$(".tp-btn-clipboard-counter"),c=!!$(this).hasClass("tp-btn-clipboard-add"),u=!!p&&parseInt(p.html()),h=!!$(this).hasClass("tp-btn-clipboard-addall");if("function"==typeof $.fn.bPopup&&(i.bPopup({closeClass:"tp-clipboard-modal-close"}),window.self!==window.top)){var f=$(this).offset();i.css({position:"absolute",top:f.top})}s.html(a),d.show(),r.hide(),$.ajax({url:e,context:document.body}).done(function(t){if(d.hide(),r.show(),l.show(),r.html(o),n&&n.toggleClass("hidden"),h){if("ok"==t.status&&t.configs){var e=t.configs.length;p.html(e),$.each(t.configs,function(t,e){$("a.tp-btn-clipboard-remove[data-tp-clipboard-toggle-id='"+e+"']").removeClass("hidden"),$("a.tp-btn-clipboard-add[data-tp-clipboard-toggle-id='"+e+"']").addClass("hidden")})}}else c&&p?p.html(u+1):0==c&&p&&p.html(u-1)})})})}function tp_init_tp_accessibility_proinfirmis_ajax(){if($("#tp-anchor-accessibility-proinfirmis[data-spID]").length){var t=$("#tp-anchor-accessibility-proinfirmis[data-spID]"),e=t.data("tp-ajax-url");$.get(e,function(e){t.html(e),"function"==typeof tp_init_tp_panel_ajax&&tp_init_tp_panel_ajax(),"function"==typeof tp_init_tp_collapse_ajax&&tp_init_tp_collapse_ajax(),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}}function tp_init_tp_select_toggle(){$("select[data-tp-toggle]").each(function(){var t=$(this),e=t.closest("form"),i=t.data("tp-toggle"),n=e.find(i),o=n.hasClass("tp-toggle-by-value")?n:n.find(".tp-toggle-by-value"),a=o.length;$(this).on("change",function(){var t=parseInt($(this).val());t>0?n.slice(0,t).slideDown(function(){$(this).addClass("tp-toggle-open"),"function"==typeof tp_init_tp_results&&tp_init_tp_results()}):n.slideUp(function(){$(this).removeClass("tp-toggle-open"),"function"==typeof tp_init_tp_results&&tp_init_tp_results()}),o.slice(0,t).fadeIn(function(){$(this).addClass("tp-toggle-open"),"function"==typeof tp_init_tp_results&&tp_init_tp_results()}),o.slice(t,a).hide(function(){$(this).removeClass("tp-toggle-open")}).find("option:selected").removeAttr("selected"),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}),$("select[data-tp-toggle-click]").each(function(){var t=$(this),e=t.closest("form"),i=t.data("tp-toggle-click"),n=e.find(i),o=n.closest(".tp-panel");t.on("change",function(){var t=parseInt($(this).val());t>0&&!o.hasClass("tp-panel-open")?n.trigger("click"):0==t&&o.hasClass("tp-panel-open")&&n.trigger("click"),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}),$("select[data-tp-toggle-sync]").each(function(){var t=$(this),e=t.closest("form"),i=t.data("tp-toggle-sync"),n=e.find('[data-tp-toggle-sync-target="'+i+'"]');$(this).on("change",function(){var t=parseInt($(this).val());n.find('option[value="'+t+'"]').prop("selected",!0).change(),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}),$("input[data-tp-toggle-disable]").each(function(){var t=$(this),e=t.closest("form"),i=t.data("tp-toggle-disable"),n=!!t.data("tp-toggle-visibility")&&t.data("tp-toggle-visibility"),o=e.find(i);t.on("change",function(){t.is(":checked")?(o.prop("readonly",!0).closest(".pure-form-group").addClass("tp-form-disabled"),n&&$(n).fadeOut(function(){"function"==typeof tp_init_tp_results&&tp_init_tp_results()})):(o.closest(".pure-form-group").removeClass("tp-form-disabled"),n&&$(n).fadeIn(function(){"function"==typeof tp_init_tp_results&&tp_init_tp_results()})),"function"==typeof reloadResizeIframe&&reloadResizeIframe()}),t.is(":checked")?(o.prop("readonly",!0).closest(".pure-form-group").addClass("tp-form-disabled"),n&&$(n).fadeOut(function(){"function"==typeof tp_init_tp_results&&tp_init_tp_results()})):(o.prop("readonly",!1).closest(".pure-form-group").removeClass("tp-form-disabled"),o.removeAttr("readonly"))}),$(".js-search-groups").each(function(){var t=$(this),e=t.data("tp-groups-min"),i=t.data("tp-groups-text");$(this).on("change",function(){var n=parseInt($(this).val()),o="tp-modal-"+(new Date).getTime();"function"==typeof $.fn.bPopup&&n>=e&&(t.next().hasClass("tp-modal")||$(".tp-modal-groups").length||(t.after('<div class="tp-modal tp-box tp-modal-groups"><div class="tp-modal-close tp-icon-cancel"></div><div class="tp-modal-body tp-box-frame tp-wysiwyg"></div></div>'),t.next(".tp-modal").prop("id",o).find(".tp-modal-body").html(i),$("#"+o).bPopup({closeClass:"tp-modal-close",onClose:function(){$("#"+o).remove()}})))})})}function tp_init_tp_toggle_target_text(){$("[data-tp-toggle-target-text]").on("click",function(){var t=!1,e=$(this).closest("form"),i=$($(this).data("tp-toggle-target-text")),n=i.data("tp-target-text-on"),o=i.data("tp-target-text-off");e.length&&($("[data-tp-toggle-target-text]:checked").each(function(){t=!0,i.text(n)}),0==t&&i.text(o))})}function tp_init_tp_button_ajax(){if($("div.pure-button").hover(function(){$(this).addClass("pure-button-hover")},function(){$(this).removeClass("pure-button-hover")}),$(".js-tp-btn-loading").off(),$("form.tp-search-detail").length)!!(t=$
3("form.tp-search-detail").find(".js-tp-datepicker[data-tp-datepicker-from]")).length&&t.attr("placeholder"),!!t.length&&t.val();else var t=!1;$(".js-tp-btn-loading").each(function(){var t=$(this),e=$('<span class="tp-icon-spinner animate-spin"></span><br>'),i=$('<div class="tp-loading-curtain"></div>'),n=$('<div class="tp-loading-curtain-inner"></div>'),o=$('<a href="'+window.location.href+'"></a>'),a=!!t.data("tp-loading")&&t.data("tp-loading"),s=t.data("tp-loading-parent")?t.data("tp-loading-parent"):"body",r=!!t.data("tp-loading-cancel")&&t.data("tp-loading-cancel"),l=!!t.data("tp-text-default")&&t.data("tp-text-default"),d=!!t.data("tp-text-error")&&t.data("tp-text-error"),p=$("#tp-search-compact-search").length>0&&$("#tp-search-compact-search").val(),c=!!t.data("tp-loading-text")&&t.data("tp-loading-text"),u=!!c&&$('<span class="tp-loading-text">'+c+"</span>"),h=!!t.closest("form").length&&t.closest("form"),f=!!t.data("tp-calendar"),g=!!t.hasClass("js-tp-cart-swisspass-validator");t.one("click",function(m){var _=!!$('[data-tp-toggle-disable=".js-tp-dateunknown-disabled"]').length,v=$(".tp-subnav").length?$(".tp-subnav").height():$(".tp-website-navbar-fixed").length?$(".tp-website-navbar-fixed").height():0,y=$("#tp-anchor-search").length?$("#tp-anchor-search").offset().top:0,w=!!_&&$('[data-tp-toggle-disable=".js-tp-dateunknown-disabled"]')[0].checked;if("undefined"!=typeof TP_SUBNAV_TOP_SPACING&&(v+=TP_SUBNAV_TOP_SPACING),h.length&&0==w&&1==_)var b=!!(C=h.find(".js-tp-datepicker[data-tp-datepicker-from]"))&&C.attr("placeholder"),k=!!C&&C.val();else if(0==$("form.tp-search-detail").length)var C=!1;if(0!=p&&0!=d&&0!=l&&(""==p||p==l))return m.preventDefault(),alert(d),!1;b!=k&&""!=k||0!=w||1!=_||void 0===C||0==C||f||g?(b!=k&&""!=k||0==C||f||g)&&(h&&0==g?h.on("submit",function(i){t.prepend(e)}):t.prepend(e),"curtain"==a&&(c&&n.append(u),0!=r?n.append(o.text(r)):i.on("click",function(){$(this).hide()}),h?h.on("submit",function(t){n.prependTo(s).prepend(e).wrap(i)}):n.prependTo(s).prepend(e).wrap(i))):(m.preventDefault(),y>v&&(y-=v),"function"==typeof $.fn.smoothScroll&&$.smoothScroll({offset:y,afterScroll:function(){C.tpdatepicker("show"),C.trigger("click")}}))})})}function tp_init_tp_button(){tp_init_tp_button_ajax(),$(".js-tp-btn-toggle").each(function(){var t=$(this),e=t.find("[data-tp-btn-toggle]");t.on("click",function(){if(e){var t=e.text(),i=e.data("tp-btn-toggle");e.data("tp-btn-toggle",t).text(i)}"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}),$(".tp-btn-insideout").closest(".tp-box").addClass("tp-box-btn-insideout"),$(".js-tp-btn-vacancy").each(function(){var t=$(this),e=t.find("[data-tp-btn-toggle]");$(".js-tp-calendar").length<=0&&(t.hide(),$(".tp-btn-insideout").closest(".tp-box").removeClass("tp-box-btn-insideout")),t.on("click",function(){var i=$(this).parent().hasClass("tp-services-compact")?$(".tp-services-compact"):$(this).parent().hasClass("tp-box")?$(this).parent():$(this).closest(".tp-media"),n=i.find(".tp-tabs-nav-item > .tp-icon-calendar").parent(),o=!!$(this).parent().hasClass("tp-services-compact")&&i.find(".tp-media .js-tp-btn-vacancy"),a=$(this).data("tp-btn-vacancy-state")?t.data("tp-btn-vacancy-state"):0,s=!!e&&e.text(),r=!!e&&e.data("tp-btn-toggle");a=!a,$(this).data("tp-btn-vacancy-state",a),n&&a?(n.trigger("click"),o&&o.each(function(){e&&$(this).find("[data-tp-btn-toggle]").data("tp-btn-toggle",r).text(s),$(this).data("tp-btn-vacancy-state",a)}),"function"==typeof reloadResizeIframe&&reloadResizeIframe()):n&&(n.prev().length?n.prev().trigger("click"):(n.each(function(){var t=$(this).data("tp-tabs-key"),e=$('.tp-panel-headline[data-tp-tabs-key="'+t+'"]').parent();$(this).removeClass("tp-tabs-active"),e.removeClass("tp-panel-open")}),o&&o.each(function(){e&&$(this).find("[data-tp-btn-toggle]").data("tp-btn-toggle",r).text(s),$(this).data("tp-btn-vacancy-state",a)}),"function"==typeof reloadResizeIframe&&reloadResizeIframe()))})}),$(".js-tp-btn-cart-toggle").each(function(){var t=$(this),e=!!t.data("tp-show-element")&&$(t.data("tp-show-element")),i=!!e.find(".required")&&e.find(".required"),n=!!t.data("tp-hide-elements")&&$(t.data("tp-hide-elements")),o=!!n.find(".required")&&n.find(".required");t.on("click",function(){n&&(n.addClass("tp-hidden-"),o.removeAttr("required")),e&&(e.removeClass("tp-hidden-"),i.attr({required:"required"}))})})}function tp_init_tp_inputgroupaddon(){$(".pure-input-group-addon").click(function(){$(this).prev("input").focus()})}function tp_init_tp_datepickerdisabled(){$(".js-tp-dateunknown-disabled").click(function(){$(this).closest(".tp-box").find('[data-tp-toggle-disable=".js-tp-dateunknown-disabled"]').prop("checked",!0),$(this).closest(".tp-box").find('[data-tp-toggle-disable=".js-tp-dateunknown-disabled"]').click()})}function tp_init_tp_autocomplete(){$(".js-tp-autocomplete").each(function(){var t,e=$(this),i=!!e.data("tp-autocomplete")&&e.data("tp-autocomplete"),n=!!e.data("tp-name-select")&&e.data("tp-name-select"),o=!!e.data("tp-select-alert")&&e.data("tp-select-alert"),a=new Awesomplete(this,{minChars:2,maxItems:10});i&&e.keyup(function(){null!=t&&t.abort();var o=e.val();o.length&&o.length>=2&&(t=$.ajax({url:i+"?q="+o+"&maxRows=10",success:function(t){if(t){var e={suggestions:[]},i=!1;t="string"==typeof t?$.parseJSON(t):t,$.map(t,function(t){n?e.suggestions.push(t.name):e.suggestions.push(t.value)}),i="string"==typeof e?$.parseJSON(e):e,a.list=i.suggestions,a.open()}}}))}),""!=o&&this.addEventListener("awesomplete-selectcomplete",function(t){this.selected=t.target.value,$(".js-tp-autocomplete").not(this).val()==this.selected&&(alert(o),$(this).val(""))},!1)})}function tp_init_tp_change_currency(){$(".js-tp-change-currency").on("change",function(){var t=$(this).val(),e=document.cookie.match(/tt=[^;]+/),i=String(document.location.href),n=i.indexOf("?"),o=i.substring(0,n);return"undefined"!=typeof gs&&null==e&&(e="tt="+gs),document.location.href=o+"?currency="+t+"&"+e,!1})}function tp_init_tp_change_sortorder(){$(".js-tp-change-sortorder").change(function(){var t=$(this),e=t.data("tp-sortorder")?t.data("tp-sortorder"):"",i="",n=t.val();"undefined"!=typeof gs&&null==i&&(i="tt="+gs),window.location.href=e+n+"?"+i})}function tp_init_tp_facet_check(){$(".js-tp-facet-check").each(function(){var t=$(this),e=t.data("tp-citypart-active"),i=t.data("tp-city-input-ref"),n=$(i),o=t.is(":checked");
3!0===e&&n.attr("disabled","disabled"),o&&0==t.closest(".js-tp-panel").hasClass("tp-panel-open")&&t.closest(".js-tp-panel").addClass("tp-panel-open"),t.on("click",function(){var e=t.data("tp-facet"),i=t.data("tp-ref"),n=t.data("tp-multiple-facets"),o=t.is(":checked"),a=document.cookie.match(/tt=[^;]+/);"undefined"!=typeof gs&&null==a&&(a="tt="+gs),o?(i+=1==n?"setfacets/":"setfacet/",$("input.js-tp-facet-check").attr("disabled",!0)):(i+=1==n?"removefacets/":"removefacet/",$("input.js-tp-facet-check").attr("disabled",!0)),window.location.href=i+e+"?"+a})})}function tp_init_tp_getEventLocation(t,e,i){$.get("/"+configName+"/event/ajax/mapLocation/",{id:t,loc_type:e},function(t){i.html(t)})}function tp_init_tp_search_location_filter(){$(".js-tp-search-filterlocations").each(function(){var t=$(this);t.on("change",function(){var e=t.data("tp-location-type"),i=t.val(),n=t.data("tp-filter-target"),o=$(n);""!=i&&tp_init_tp_getEventLocation(i,e,o)})})}function tp_init_tp_search(){0!=$("#tp-search--from").length&&$("form.tp-search-detail").submit(function(t){var e=$(this).find(".js-tp-datepicker[data-tp-datepicker-from]"),i=!!e&&e.attr("placeholder"),n=!!e&&e.val(),o=$(".tp-subnav").length?$(".tp-subnav").height():$(".tp-website-navbar-fixed").length?$(".tp-website-navbar-fixed").height():0,a=$("#tp-anchor-search").length?$("#tp-anchor-search").offset().top:0;"undefined"!=typeof TP_SUBNAV_TOP_SPACING&&(o+=TP_SUBNAV_TOP_SPACING),i!=n&&""!=n||(t.preventDefault(),a>o&&(a-=o),"function"==typeof $.fn.smoothScroll&&$.smoothScroll({offset:a,afterScroll:function(){e.tpdatepicker("show"),e.trigger("click")}}))})}function tp_init_tp_update_articlePrice(){$(".js-tp-update-articlePrice").change(function(){var t=$(this),e=t.closest("form"),i=e.find(".tp-price .tp-price-amount"),n=e.find(".tp-loading-price"),o=t.data("tp-article-id"),a=e.find("[data-tp-article-rate='"+o+"']").val(),s=e.find("[data-tp-article-qty='"+o+"']").val(),r=t.data("tp-config-name");n.css({display:"block"}),i.hide(),$.get("/"+r+"/artikel/json/price/"+o,{qty:s,articleRate:a},function(t){i.html(t.priceComplete),n.css({display:"none"}),i.show()})})}function tp_init_form_lightbox(){"function"==typeof $.fn.magnificPopup&&$(".js-tp-form-popup").each(function(){var t=$(this),e=t.attr("href");e&&t.on("click",function(t){t.preventDefault(),$.magnificPopup.open({items:{src:e},key:"tp-form-popup",mainClass:"tp-form-popup",type:"iframe",fixedContentPos:!0,callbacks:{open:function(){$(".mfp-iframe-holder .mfp-content").css("height","100%")}}})})})}function tp_init_tp_change_selected_service(){$(".js-tp-change-service").on("change",function(){var t=$(this),e=!!t.data("tp-href")&&t.data("tp-href");return e&&(window.location.href=e),!1})}function tp_init_tp_check_required_inputs(){var t=function(){$('[data-tp-required-check=".js-tp-required-check"]').each(function(){var t=$(this);t.is(":visible")?t.attr({required:"required"}):t.is(":hidden")&&t.removeAttr("required")})},e=function(){$("[data-tp-name-check]").each(function(){var t=$(this),e=t.data("tp-name-check");t.is(":visible")?t.attr({name:e}):t.is(":hidden")&&t.removeAttr("name")})};t(),e(),$(window).resize(function(){t(),e()})}function tp_get_cookie(t){return"undefined"!=typeof tt_consent?tt_consent.allowedCategory(t)?"allow":"deny":"0"==TP_COOKIECONSENT?"allow":"deny"}function tp_clear_cookie(t,e,n){try{(function(t){var e=document.cookie.split(";"),n="",o="";for(i=0;i<e.length;i++)if(n=e[i].split("="),n[0].replace(/^\s+|\s+$/g,"")==t)return n.length>1&&(o=unescape(n[1].replace(/^\s+|\s+$/g,""))),o;return null})(t)&&(e=e||document.domain,n=n||"/",document.cookie=t+"=; expires="+new Date+"; domain="+e+"; path="+n+"SameSite=none; Secure")}catch(t){}}function tp_disable_google_analytics(t,e){var i=window.location.host.split(".");if(i.length>1)n="."+i[i.length-2]+"."+i[i.length-1];else var n=i[i.length-1];tp_clear_cookie("_ga",n,"/"),tp_clear_cookie("_gat",n,"/"),tp_clear_cookie("_gat_gtag_"+t,n,"/"),tp_clear_cookie("_gat_gtag_"+e,n,"/"),tp_clear_cookie("_gid",n,"/")}function tp_consent_cookie_header(t){var e={de:[{col1:"Name"},{col2:"Domain"},{col3:"Verfall"},{col4:"Beschreibung"}],en:[{col1:"Name"},{col2:"Domain"},{col3:"Expiration"},{col4:"Description"}],fr:[{col1:"Name"},{col2:"Domaine"},{col3:"Expiration"},{col4:"Description"}]};return e[t]?e[t]:e.de}
3function tp_consent_cookie_translation(t,e,i,n,o,a){var s=[],r={de:[{col1:"-",col2:"maps.google.com",col3:"-",col4:"Anfragen an Google Maps Dienst. Es werden keine Cookies gespeichert.",is_regex:!0}],en:[{col1:"-",col2:"maps.google.com",col3:"-",col4:"Requests to Google Maps service. No cookies are stored.",is_regex:!0}],fr:[{col1:"-",col2:"maps.google.com",col3:"-",col4:"Demandes au service Google Maps. Aucun cookie n'est enregistré.",is_regex:!0}]},l={de:[{col1:"-",col2:"googletagmanager.com",col3:"-",col4:"Lädt das Google TagManager Skript."}],en:[{col1:"-",col2:"googletagmanager.com",col3:"-",col4:"Loads the Google TagManager script."}],fr:[{col1:"-",col2:"googletagmanager.com",col3:"-",col4:"Charge le script Google TagManager."}]},d={de:[{col1:"^_ga",col2:"google.com",col3:"2 Jahre",col4:"Registriert eine eindeutige ID, die verwendet wird, um statistische Daten dazu, wie der Besucher die Website nutzt, zu generieren.",is_regex:!0},{col1:"^_gat",col2:"google.com",col3:"1 Stunde",col4:"Wird von Google Analytics verwendet, um die Anforderungsrate einzuschränken",is_regex:!0},{col1:"_gid",col2:"google.com",col3:"1 Tag",col4:"Registriert eine eindeutige ID, die verwendet wird, um statistische Daten dazu, wie der Besucher die Website nutzt, zu generieren."}],en:[{col1:"^_ga",col2:"google.com",col3:"2 years",col4:"Registers a unique ID that is used to generate statistical data on how the visitor uses the website.",is_regex:!0},{col1:"^_gat",col2:"google.com",col3:"1 hour",col4:"Used by Google Analytics to limit the request rate",is_regex:!0},{col1:"_gid",col2:"google.com",col3:"1 day",col4:"Registers a unique ID that is used to generate statistical data on how the visitor uses the website."}],fr:[{col1:"^_ga",col2:"google.com",col3:"2 Années",col4:"Enregistre un identifiant unique qui est utilisé pour générer des données statistiques sur la manière dont le visiteur utilise le site web.",is_regex:!0},{col1:"^_gat",col2:"google.com",col3:"1 Heure",col4:"Utilisé par Google Analytics pour limiter le taux de requête",is_regex:!0},{col1:"_gid",col2:"google.com",col3:"1 Jour",col4:"Enregistre un identifiant unique qui est utilisé pour générer des données statistiques sur la manière dont le visiteur utilise le site web."}]};n&&(s=r[t]?s.concat(r[t]):s.concat(r.de)),a&&(s=l[t]?s.concat(l[t]):s.concat(l.de)),o&&(s=d[t]?s.concat(d[t]):s.concat(d.de));var p={de:{necessary:[{col1:"tt",col2:window.location.hostname,col3:"Session",col4:"Session Cookie",is_regex:!0},{col1:"tt_consent_"+i,col2:window.location.hostname,col3:"182 Tage",col4:"Speichert Ihre Zustimmung oder Ablehnung einzelner Cookie-Gruppen für diese Webseite.",is_regex:!0}],analytics:s},en:{necessary:[{col1:"tt",col2:window.location.hostname,col3:"Session",col4:"Session Cookie",is_regex:!0},{col1:"tt_consent_"+i,col2:window.location.hostname,col3:"182 days",col4:"Stores your consent or rejection of individual cookie groups for this website.",is_regex:!0}],analytics:s},fr:{necessary:[{col1:"tt",col2:window.location.hostname,col3:"Session",col4:"Session Cookie",is_regex:!0},{col1:"tt_consent_"+i,col2:window.location.hostname,col3:"182 Jours",col4:"Enregistre votre acceptation ou votre refus de groupes de cookies individuels pour ce site web.",is_regex:!0}],analytics:s}};return p[t]?p[t][e]:p.de[e]}function tp_consent_cookie_info(){var t={de:"Da Sie die Cookie-Richtlinie abgelehnt haben, steht Ihnen diese Funktion leider nicht zur Verfügung.",en:"As you have rejected the cookie policy, this function is unfortunately not available to you.",fr:"Malheureusement, comme vous avez choisi de ne pas participer à la politique en matière de cookies, cette fonction ne vous est pas accessible."};$(".tp-map-dynamic").each(function(){var e=t[ttlanguage]||t.en;$(this).html('<div class="tp-box tp-wysiwyg tp-message tp-message-information"><div class="tp-box-frame">'+e+"</div></div>")})}function tp_init_tp_calendar(){function t(t){0!=$("#tp-search--from").length&&0!=$("#tp-search--to").length&&(t.find(".js-tp-cal-date").hover(function(){$(this).css({cursor:"pointer",outline:"1px dotted #333"})},function(){$(this).css({cursor:"auto",outline:"none"})}),t.find(".js-tp-cal-date").on("click",function(t){t.preventDefault();
3var e=$(this),i=!!e.hasClass("js-tp-cal-bestprice"),n=!!$("#tp_doSearch_package").length&&$("#tp_doSearch_package"),o=e.attr("data-od"),a=e.attr("data-td"),s=a?a.split("."):"",r=o.split(/\-|\./),l=new Date(r.slice(0,3).reverse().join("/")),d=a?1:e.attr("data-minimumDays"),p=new Date(l.getTime()),c=a?new Date(s[2],s[1]-1,s[0]):new Date(l.getTime()+86400*parseInt(d)*1e3),u=$(".tp-subnav")?$(".tp-subnav").height():0,h=$("#tp-anchor-search").offset().top,f=!!$('[data-tp-collapse="quickfinder-search"]').length&&$('[data-tp-collapse="quickfinder-search"]');"undefined"!=typeof TP_SUBNAV_TOP_SPACING&&(u+=TP_SUBNAV_TOP_SPACING),h>u&&(h-=u),f&&0==f.hasClass("tp-collapse-open")&&f.click(),i&&n?($(".js-tp-datepicker[data-tp-datepicker-from]").tpdatepicker("setDate",p),$(".js-tp-datepicker[data-tp-datepicker-to]").tpdatepicker("setDate",c),n.click()):"function"==typeof $.fn.smoothScroll&&$.smoothScroll({offset:h,afterScroll:function(){$(".js-tp-datepicker[data-tp-datepicker-from]").tpdatepicker("setDate",p),$(".js-tp-datepicker[data-tp-datepicker-to]").tpdatepicker("setDate",c),$(".js-tp-datepicker[data-tp-datepicker-to]").tpdatepicker("show"),$(".js-tp-datepicker[data-tp-datepicker-to]").trigger("click")}})}))}function e(t){var e=[],i=9999,n=0;t.find("td").each(function(t){var i=$(this).attr("data-price");0!=i&&""!=i&&e.push(i)}),i=Math.min.apply(Math,e),t.find("td").each(function(){var t=parseInt($(this).attr("data-price"));t<=i&&0!=t&&""!=t&&(i=t,n=this,$(this).addClass("tp-calendar-bestprice-offer"),$(this).children(".tp-calendar-bestprice-label").removeClass("tp-hidden-"))}),0!=n?$(".js-tp-calendar-bestprice-nodates").addClass("tp-hidden-"):($(".js-tp-calendar-bestprice-nodates").removeClass("tp-hidden-"),t.find(".tp-calendar-bestprice-body").addClass("tp-hidden-"))}var i=new Date,n=i.getMonth()+1,o=n>9?n:"0"+n,a=i.getFullYear()+"-"+o;$(".js-tp-calendar-onload").each(function(){var i=$(this),n=i.data("tp-calendar")?i.data("tp-calendar"):"",o=(i.data("tp-calendar-date")&&i.data("tp-calendar-date"),i.data("tp-calendar-rand")?i.data("tp-calendar-rand"):""),s=i.find(".js-tp-btn-loading"),r=s.data("tp-calendar")?s.data("tp-calendar"):"",l=!!i.data("tp-calendar-bestprice-id")&&i.data("tp-calendar-bestprice-id");s.click(),i.removeClass("js-tp-calendar-onload").load(n+"?date="+r+"&rand="+o,function(){""!=l&&e($(this)),t($(this)),"function"==typeof tp_init_tp_button_ajax&&tp_init_tp_button_ajax(),"function"==typeof tp_init_tp_facet_check&&tp_init_tp_facet_check(),i.find(".js-tp-calendar-btn").each(function(){var t=$(this).data("tp-calendar")?$(this).data("tp-calendar"):"";t&&a>t&&$(this).hide()}),$("[data-tp-ajax-scroll-to]").length&&($(".js-tp-subnav").length?($target=!!$("[data-tp-ajax-scroll-to]").data("tp-ajax-scroll-to")&&$('.tp-subnav-link[href="'+$("[data-tp-ajax-scroll-to]").data("tp-ajax-scroll-to")+'"]'),!!$target.length&&$target.click()):"function"==typeof $.fn.smoothScroll&&($target=!!$("[data-tp-ajax-scroll-to]").data("tp-ajax-scroll-to")&&$($("[data-tp-ajax-scroll-to]").data("tp-ajax-scroll-to")),$target.length&&$.smoothScroll({offset:0,scrollTarget:$target}))),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}),$(".js-tp-calendar").each(function(){var i=$(this),n=i.data("tp-calendar")?i.data("tp-calendar"):"";i.data("tp-calendar-date")&&i.data("tp-calendar-date"),i.data("tp-calendar-rand")&&i.data("tp-calendar-rand");i.find(".js-tp-calendar-btn").each(function(){var t=$(this).data("tp-calendar")?$(this).data("tp-calendar"):"";t&&a>t&&$(this).hide()}),i.on("click",".js-tp-calendar-btn",function(){var o=$(this).data("tp-calendar")?$(this).data("tp-calendar"):"",s=$(this).data("tp-calendar-rand")?i.data("tp-calendar-rand"):"",r=!!i.data("tp-calendar-bestprice-id")&&i.data("tp-calendar-bestprice-id");o&&i.find(".tp-calendar-ajax").parent().load(n+"?date="+o+"&rand="+s,function(){""!=r&&e($(this)),t($(this)),"function"==typeof tp_init_tp_button_ajax&&tp_init_tp_button_ajax(),"function"==typeof tp_init_tp_facet_check&&tp_init_tp_facet_check(),i.find(".js-tp-calendar-btn").each(function(){var t=$(this).data("tp-calendar")?$(this).data("tp-calendar"):"";t&&a>t&&$(this).hide()}),$(".js-calendar-bestprice-month").length&&($(".js-calendar-bestprice-month").prop("selected",!1),$('.js-calendar-bestprice-month option[value="'+o+'"]').prop("selected",!0))})}),i.on("change",".js-calendar-bestprice-month",function(){var o=$(this).val()?$(this).val():"",s=$(this).next(".js-tp-btn-loading"),r=$(this).data("tp-calendar-rand")?i.data("tp-calendar-rand"):"",l=!!i.data("tp-calendar-bestprice-id")&&i.data("tp-calendar-bestprice-id");s.click(),o&&i.find(".tp-calendar-ajax").parent().load(n+"?date="+o+"&rand="+r,function(){""!=l&&e($(this)),t($(this)),"function"==typeof tp_init_tp_button_ajax&&tp_init_tp_button_ajax(),"function"==typeof tp_init_tp_facet_check&&tp_
3init_tp_facet_check(),i.find(".js-tp-calendar-btn").each(function(){var t=$(this).data("tp-calendar")?$(this).data("tp-calendar"):"";t&&a>t&&$(this).hide()}),$(".js-calendar-bestprice-month").length&&($(".js-calendar-bestprice-month").prop("selected",!1),$('.js-calendar-bestprice-month option[value="'+o+'"]').prop("selected",!0))})})}),$(".tp-media-calendar-enabled").each(function(){$(this).find(".js-tp-calendar").each(function(){var i=$(this),n=i.data("tp-calendar")?i.data("tp-calendar"):"",o=i.data("tp-calendar-date")?i.data("tp-calendar-date"):"",a=i.data("tp-calendar-rand")?i.data("tp-calendar-rand"):"",s=!!i.data("tp-calendar-bestprice-id")&&i.data("tp-calendar-bestprice-id");"0"==i.find(".tp-calendar-ajax").data("tp-filled")&&i.find(".tp-calendar-ajax").load(n+"?date="+o+"&rand="+a,function(){$(this).data("tp-filled","1"),""!=s&&e($(this)),t($(this)),"function"==typeof tp_init_tp_button_ajax&&tp_init_tp_button_ajax(),"function"==typeof tp_init_tp_facet_check&&tp_init_tp_facet_check()})})})}function tp_init_tp_cart(){$(".js-tp-cart-submit").each(function(){var t=$(this),e=!!t.data("tp-submit-function")&&t.data("tp-submit-function"),i=!!t.data("tp-submit-value")&&t.data("tp-submit-value"),n=!!t.data("tp-submit-name")&&t.data("tp-submit-name"),o=t.closest("form");!!t.data("tp-submit-onchangeselect")&&t.data("tp-submit-onchangeselect")?t.change(function(){o.append('<input type="hidden" value="'+i+'"name="'+n+'"><input type="hidden" value="1" name="'+e+'">'),o.submit()}):t.on("click",function(t){t.preventDefault(),o.append('<input type="hidden" value="'+i+'"name="'+n+'"><input type="hidden" value="1" name="'+e+'">'),o.submit()})})}function tp_init_tp_cart_code_insert(){$(".js-tp-cart-code-insert").keyup(function(){var t=$(this).val()?$(this).val():"",e=!!$(this).data("tp-trigger-button")&&$($(this).data("tp-trigger-button"));""!=t?e.removeAttr("disabled"):e.attr("disabled","disabled")})}function tp_init_tp_cart_offerteaser(){$(".js-tp-cart-addOffer").click(function(){var t=$(this),e=t.data("tp-href"),i=t.data("tp-offerteaser-id"),n=$("#tp-offerteaser-date-"+i).val(),o=$("#tp-offerteaser-adults-"+i).val(),a=t.data("tp-offerteaser-minday");return window.location.href=e+","+n+","+o+","+a,!1})}function tp_init_tp_cart_add_erv(){$(".js-tp-cart-addErv").change(function(){var t=$(this),e=t.closest(".tp-booking-erv-item").attr("id"),i=t.data("tp-url"),n=t.val();window.location.href=i+"?ervNumberOfPersons="+n+"#"+e})}function tp_init_tp_cart_do_datatrans(){$(".js-tp-cart-dodatatrans").on("click",function(t){t.preventDefault();var e=$(this),i=!!e.data("tp-form-id")&&e.data("tp-form-id");i&&Datatrans.startPayment({form:i})})}function tp_init_tp_cart_add_participant(){$(".js-tp-cart-participant").click(function(){var t=$(this),e=t.is(":checked"),i=!!t.data("tp-participant")&&t.data("tp-participant"),n=!!t.data("tp-participants-max")&&t.data("tp-participants-max"),o=!!t.data("tp-participants-max-error")&&t.data("tp-participants-max-error"),a=!!t.data("tp-participant-added")&&t.data("tp-participant-added"),s=!!t.data("tp-participant-label")&&t.data("tp-participant-label"),r=!!t.data("tp-participant-target")&&t.data("tp-participant-target"),l=!!t.data("tp-participant-parent")&&t.data("tp-participant-parent"),d=!!t.data("tp-participant-target-parent")&&t.data("tp-participant-target-parent");if(checkedCount=t.closest(".tp-box").find(".js-tp-cart-participant:checked").length,checkedCount>n&&o?(t.removeAttr("checked"),alert(o)):e?(nexthtml=$(s).html(),$(i).append('<div id="'+a.substring(1)+'">'+nexthtml+"</div>")):$(a).remove(),d)if(1==e)$(d+":not("+l+")").find(r).prop("disabled",!0),$(l).find("input:not("+r+")").prop("disabled",!0),$(d+":not("+l+")").not(l).find(r).addClass("tp-participant-disabled"),$(l).find("input:not("+r+")").addClass("tp-participant-disabled");else{var p=[];$(d).each(function(){p.push($(this).find("input:checked").data("tp-participant-target"))}),$(d).each(function(){var t=$(this).find("input"),e=$(this).find("input:checked");t.each(function(){-1==p.indexOf($(this).data("tp-participant-target"))&&e.length<=0&&($(this).prop("disabled",!1),$(this).removeClass("tp-participant-disabled"))})})}})}function tp_init_tp_cart_payment(){var t=!!$(".js-tp-cart-payment-select").length&&$(".js-tp-cart-payment-select");t.length>0&&(tp_init_tp_cart_payment_change_inputs(),t.on("change",function(){tp_init_tp_cart_payment_change_inputs()}))}function tp_init_tp_cart_payment_change_inputs(){var t=$(".js-tp-cart-payment-select"),e=t.val(),i=!!t.data("tp-trigger-element")&&t.data("tp-trigger-element");i&&$(i).hide(),"undefined"!=typeof fieldMap&&"undefined"!=e&&jQuery.each(fieldMap[e],function(t,e){i&&($(i+"-"+e).show(),$(i+"-"+e).find(".required").attr({required:"required"}))}),"PAP"==e&&$("#pay-useAlias").val("no")}function tp_init_tp_cart_success_document(){if($("#tt-pdf-document-loader").length){var t=$("#tt-pdf-document-link").data("tt-pdf-sess"),e=$("#tt-pdf-document-link").data("tt-pdf-prefix");$.get(e+configName+"/cart/processfile/",function(i){""!=i&&($("#tt-pdf-document-loader").hide(),$("#tt-pdf-document-content").show(),$("#tt-pdf-document-link").attr("href",e+configName+"/cart/document/"+i+"?bookingSession="+t))})}}function tp_init_tp_cart_swisspass(){$(".js-tp-cart-swisspass-validator").click(function(t){t.preventDefault();
3var e=$(this),i=e.data("tp-fieldkey-id"),n=$("#"+i+"swisspassID").val(),o=$("#"+i+"swisspassPLZ").val(),a=e.data("tp-btn-text");return $("#"+i+"_validate_ok").addClass("tp-hidden-"),$("#"+i+"_validate_nok").addClass("tp-hidden-"),$.get("/"+configName+"/cart/validateSwissPass",{cardID:n,plz:o},function(t){"ok"==t?$("#"+i+"_validate_ok").removeClass("tp-hidden-"):($("#"+i+"swisspassID").attr({required:"required"}),$("#"+i+"swisspassPLZ").attr({required:"required"}),$("#"+i+"_validate_nok").removeClass("tp-hidden-")),e.html(a)}),!1}),$(".js-tp-cart-swisspass-disclaimer").click(function(){var t=$(this).data("tp-btn-swisspass-id");$(t).toggle()})}function tp_init_tp_collapse(){$("[data-tp-collapse]").each(function(){var t=$(this).data("tp-collapse"),e=$('[data-tp-collapse-target="'+t+'"]');$(this).click(function(){var t=$(this),i=t.closest(".tp-quickfinder");t.hasClass("tp-collapse-open")?t.removeClass("tp-collapse-open"):t.addClass("tp-collapse-open"),e.toggleClass("tp-collapse-target-open"),i&&("function"==typeof tp_init_tp_results&&tp_init_tp_results(),i.hasClass("tp-quickfinder-visible")||i.addClass("tp-quickfinder-visible")),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})})}function tp_init_tp_collapse_ajax(){$("[data-tp-collapse-ajax]").each(function(){var t=$(this).data("tp-collapse-ajax"),e=$('[data-tp-collapse-target="'+t+'"]');$(this).click(function(){var t=$(this),i=t.closest(".tp-quickfinder");t.hasClass("tp-collapse-open")?t.removeClass("tp-collapse-open"):t.addClass("tp-collapse-open"),e.toggleClass("tp-collapse-target-open"),i&&(i.hasClass("tp-quickfinder-visible")||i.addClass("tp-quickfinder-visible"))})})}function tp_init_tp_datepicker(){var t=1,e=(new Date).getTime(),n=new Date,o=864e5,a=!!$(".tp-datepicker-startdate").data("tp-datepicker-startdate")&&$(".tp-datepicker-startdate").data("tp-datepicker-startdate"),s=new Date(n.getFullYear(),n.getMonth(),n.getDate()),r=(new Date(e+o),!1);if($("html").find(".js-tp-datepicker").prop({autocomplete:"off",type:"text",readonly:!0}),$("html").hasClass("touch")&&$("html").find(".js-tp-datepicker").attr({readonly:"readonly"}),"undefined"!=typeof ukv_dayRange&&(t=ukv_dayRange),"undefined"==typeof ttlanguage&&(ttlanguage="de"),"undefined"==typeof loadDynamicWhiteList&&(loadDynamicWhiteList=!1),showFullDarkGreenDaysOnly=!1,"undefined"==typeof ttModuleName?(ttModuleName="",showFullDarkGreenDaysOnly=!1):"package"==ttModuleName||"guide"==ttModuleName?showFullDarkGreenDaysOnly=!0:"messe"==ttModuleName&&(r=!0),"undefined"!=typeof messedays&&(active_days=messedays),"undefined"==typeof active_days&&(active_days=[]),"undefined"==typeof whitelist_days_offer&&(whitelist_days_offer=[]),"undefined"==typeof whitelist_days_package&&(whitelist_days_package=[]),1==loadDynamicWhiteList&&0==$("tp-datepickertooltip").length&&0==$("html").hasClass("touch")&&$(".js-tp-datepicker[data-tp-datepicker-from]").parent().append("<tp-datepickertooltip></tp-datepickertooltip>"),$(".js-tp-datepicker[data-tp-datepicker-from]").tpdatepicker({language:ttlanguage,weekStart:1,startDate:s,todayBtn:!1,format:"dd.mm.yyyy",todayHighlight:!0,autoclose:!0,whitelist_days:active_days,whitelist_days_class:"tp-datepicker-freeGo tp-datepicker-greenday",whitelist_days_offer:whitelist_days_offer,whitelist_days_class_offer:{arrival_sleep_departure_days:"tp-datepicker-freeGo",arrival_full_days:"tp-datepicker-freeGo",departure_full_days:"tp-datepicker-free disabled",free_days:"tp-datepicker-free disabled",busy_days:"tp-datepicker-busy disabled"},whitelist_days_package:whitelist_days_package,whitelist_days_class_package:{arrival_sleep_departure_days:"tp-datepicker-freeGo",arrival_only_days:"tp-datepicker-busy-free-arrival",busy_days:"tp-datepicker-busy disabled",free_days:"tp-datepicker-free disabled",on_demand_go_days:"tp-datepicker-onDemandGo",on_demand_days:"tp-datepicker-onDemand",busy_free_days:"tp-datepicker-busy-free disabled",free_busy_days:"tp-datepicker-free-busy disabled",departure_only_days:"tp-datepicker-free-busy-arrival disabled"},loadDynamicWhiteList:loadDynamicWhiteList,showFullDarkGreenDaysOnly:showFullDarkGreenDaysOnly,whitelistEnableOtherDays:r}).on("changeDate",function(e){var n=$(this),a=n.data("tp-datepicker-from")?n.data("tp-datepicker-from"):"",s=n.closest("form").find('input[data-tp-datepicker-to="'+a+'"]');if("ticketDateFrom"==this.name)t=0,"undefined"!=typeof ticketDayRange&&(t=ticketDayRange);else if("offer_date_from"==this.name)t=0,"undefined"!=typeof offer_dayRange_minStay&&$(".js-tp-datepicker[data-tp-datepicker-to]").length?t=offer_dayRange_minStay:"undefined"!=typeof offer_dayRange&&(t=offer_dayRange),s.data("tp-datepicker").setWhitelist_days_offer(whitelist_days_offer);else if("package_date_from"==this.name){if(t=package_dayRange,maxNights=package_maxNights,999!=maxNights&&maxNights>=t){var r=new Date(n.data("tp-datepicker").date).getTime(),l=86400*(maxNights-t+t)*1e3,d=new Date(r+86400*t*1e3),p=new Date(r+l);for(s.data("tp-datepicker").setStartDate(d),s.data("tp-datepicker").setEndDate(p),whitelist_days_package.departure_full_days=void 0===whitelist_days_package.departure_full_days?[]:w
3hitelist_days_package.departure_full_days,i=1;i<=maxNights;i++)additionalDepartureDate=new Date(r+864e5*i),additionalDepartureDate=additionalDepartureDate.getDate()+"."+(additionalDepartureDate.getMonth()+1)+"."+additionalDepartureDate.getFullYear(),whitelist_days_package.departure_full_days.push(additionalDepartureDate);s.data("tp-datepicker").setWhitelist_days_package(whitelist_days_package)}}else"event_date_from"==this.name?(t=0,t="undefined"!=typeof event_dayRange?event_dayRange:28):"undefined"!=typeof ukv_dayRange&&(t=999==ukv_dayRange||0==ukv_dayRange?1:ukv_dayRange);o=86400*t*1e3;var c=new Date(e.date).getTime(),u=new Date(c+o),h=("0"+u.getDate()).slice(-2)+"."+("0"+(u.getMonth()+1)).slice(-2)+"."+u.getFullYear();new Date(c);"offer_date_from"==this.name&&s.length?s.tpdatepicker("setStartDate",u):s.length&&s.data("tp-datepicker").getEndDate()!==1/0&&"Invalid Date"!=s.data("tp-datepicker").getEndDate()&&"datepicker-id-default-messe"!=$(this).data("tp-datepicker-from")&&s.tpdatepicker("setStartDate",u),s.length&&"datepicker-id-default-messe"!=$(this).data("tp-datepicker-from")&&(s.tpdatepicker("setDate",u),s.val(h)),n.tpdatepicker("hide"),$("html.no-touch").find("tp-datepickertooltip").html(" "),$.fn.tooltipster,1==$(this).hasClass("tt-qf-datepicker")?$(".js-tt-qf-dateunknown").prop("checked")&&($(".js-tt-qf-dateunknown").prop("checked",!1),$(".js-tt-qf-dateunknown").change()):$("#date_unknown").is(":checked")&&($("#date_unknown").attr("checked",!1),togglePersonData())}).on("hide",function(){$(this).tooltipster("hide"),tp_init_tp_button_ajax(),tp_init_tp_facet_check()}).on("show",function(){var t=$(this),e=t.data("tp-datepicker-from")?t.data("tp-datepicker-from"):"";t.closest("form").find('input[data-tp-datepicker-to="'+e+'"]'),t.data("tp-datepicker-view")&&t.data("tp-datepicker-view");$(".tp-datepicker-legend-departuretext").hide(),t.tpdatepicker("setStartDate",s),"function"==typeof $.fn.tooltipster&&(t.hasClass("tooltipstered")||t.tooltipster({open:!0,content:$("body > .tp-datepicker-content"),contentAsHTML:!0,contentCloning:!1,interactive:!0,functionReady:function(t){!!$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")&&$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")},maxWidth:"240",trigger:"custom",position:"bottom",theme:"tp-tooltip-container tp-wysiwyg tp-datepicker-tooltip",zIndex:150}),$(this).tooltipster("open"))}),$(".js-tp-datepicker[data-tp-datepicker-to]").tpdatepicker({orientation:"auto",language:ttlanguage,weekStart:1,todayBtn:!1,startDate:s,format:"dd.mm.yyyy",todayHighlight:!0,whitelist_days:active_days,whitelist_days_class:"tp-datepicker-freeGo tp-datepicker-greenday",whitelist_days_offer:whitelist_days_offer,whitelist_days_class_offer:{arrival_sleep_departure_days:"tp-datepicker-freeGo",arrival_full_days:"tp-datepicker-freeGo disabled",free_days:"tp-datepicker-free disabled",departure_full_days:"tp-datepicker-free",busy_days:"tp-datepicker-busy disabled"},whitelist_days_package:whitelist_days_package,whitelist_days_class_package:{arrival_sleep_departure_days:"tp-datepicker-freeGo",arrival_only_days:"tp-datepicker-busy-free-arrival disabled",busy_days:"tp-datepicker-busy disabled",free_days:"tp-datepicker-free",on_demand_go_days:"tp-datepicker-onDemandGo",on_demand_days:"tp-datepicker-onDemand",busy_free_days:"tp-datepicker-busy-free disabled",free_busy_days:"tp-datepicker-free-busy",departure_only_days:"tp-datepicker-free-busy-arrival"},loadDynamicWhiteList:loadDynamicWhiteList,showFullDarkGreenDaysOnly:showFullDarkGreenDaysOnly,whitelistEnableOtherDays:r}).on("changeDate",function(t){$(this).tpdatepicker("hide"),$("html.no-touch").find("tp-datepickertooltip").html(" "),1==$(this).hasClass("tt-qf-datepicker")?$(".js-tt-qf-dateunknown").prop("checked")&&($(".js-tt-qf-dateunknown").prop("checked",!1),$(".js-tt-qf-dateunknown").change()):$("#date_unknown").is(":checked")&&($("#date_unknown").attr("checked",!1),togglePersonData())}).on("hide",function(){$(this).tooltipster("hide"),tp_init_tp_button_ajax(),tp_init_tp_facet_check()}).on("show",function(){var t=$(this),e=t.data("tp-datepicker-to")?t.data("tp-datepicker-to"):"",i=t.closest("form").find('input[data-tp-datepicker-from="'+e+'"]');t.data("tp-datepicker-view")&&t.data("tp-datepicker-view");if("datepicker-id-default-messe"!=$(this).data("tp-datepicker-from")&&t.tpdatepicker("setStartDate",s),$(".tp-datepicker-legend-departuretext").hide(),""!=i.val()&&""!=t.val()){"package_date_to"==this.name&&(o=86400*package_dayRange*1e3);var n=new Date(parseDate(i.val(),"dd.mm.yyyy")).getTime(),a=new Date(parseDate(i.val(),"dd.mm.yyyy")),r=new Date(parseDate(t.val(),"dd.mm.yyyy")),l=new Date(n+864e5),d=new Date(n+o);t.tpdatepicker("setDate",r),t.data("tp-datepicker").getEndDate()!==1/0&&"Invalid Date"!=t.data("tp-datepicker").getEndDate()?t.tpdatepicker("setStartDate",d):"ukv"==ttModuleName?t.tpdatepicker("setStartDate",l):t.tpdatepicker("setStartDate",a)}"function"==typeof $.fn.tooltipster&&(t.hasClass("tooltipstered")||t.tooltipster({open:!0,content:$("body > .tp-datepicker-content"),contentAsHTML:!0,contentCloning:!1,interactive:!0,functionReady:function(t){!!$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")&&$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")},maxWidth:"240",trigger:"custom",position:"bottom",theme:"tp-tooltip-container tp-wysiwyg tp-datepicker-tooltip",zIndex:150}),t.tooltipster("open"))}
3),$(".js-tp-datepicker + .tp-icon-calendar").click(function(){var t=$(this);(!!t.prev(".js-tp-datepicker")&&t.prev(".js-tp-datepicker")).click()}),$(document).ready(function(){if(a&&($(".js-tp-datepicker[data-tp-datepicker-from]").length&&$(".js-tp-datepicker[data-tp-datepicker-from]").val(a),$(".js-tp-datepicker[data-tp-datepicker-to]").length&&$(".js-tp-datepicker[data-tp-datepicker-to]").val(a)),"undefined"!=typeof offer_dayRange_minStay&&offer_dayRange_minStay>0&&$(".js-tp-datepicker[data-tp-datepicker-to]").length){var t=new Date(parseDate($(".js-tp-datepicker[data-tp-datepicker-from]").val(),"dd.mm.yyyy")).getTime();new_offer_min_stay_start=new Date(t+86400*offer_dayRange_minStay*1e3),new_offer_min_stay_start>=new Date(parseDate($(".js-tp-datepicker[data-tp-datepicker-to]").val(),"dd.mm.yyyy")).getTime()&&$(".js-tp-datepicker[data-tp-datepicker-to]").tpdatepicker("setDate",new_offer_min_stay_start)}}),"package_date_from"==$(".js-tp-datepicker[data-tp-datepicker-from]").attr("name")&&(t=package_dayRange,maxNights=package_maxNights,999!=maxNights&&maxNights>=t)){var l=new Date($(".js-tp-datepicker[data-tp-datepicker-from]").data("tp-datepicker").date).getTime();range=86400*(maxNights-t+t)*1e3,start=new Date(l+86400*t*1e3),lisEndDate=new Date(l+range),$(".js-tp-datepicker[data-tp-datepicker-to]").data("tp-datepicker").setStartDate(start),$(".js-tp-datepicker[data-tp-datepicker-to]").data("tp-datepicker").setEndDate(lisEndDate),$(".js-tp-datepicker[data-tp-datepicker-to]").data("tp-datepicker").setWhitelist_days()}}function tp_init_tp_datepicker_messe(){var t=1,e=(new Date).getTime(),i=new Date,n=864e5,o=(!!$(".tp-datepicker-startdate").data("tp-datepicker-startdate")&&$(".tp-datepicker-startdate").data("tp-datepicker-startdate"),new Date(i.getFullYear(),i.getMonth(),i.getDate())),a=(new Date(e+n),!1);$("html").find(".js-tp-datepicker-messe").prop({autocomplete:"off",type:"text",readonly:!0}),$("html").hasClass("touch")&&$("html").find(".js-tp-datepicker-messe").attr({readonly:"readonly"}),"undefined"!=typeof ukv_dayRange&&(t=ukv_dayRange),"undefined"==typeof ttlanguage&&(ttlanguage="de"),showFullDarkGreenDaysOnly=!1,"undefined"==typeof ttModuleName?(ttModuleName="",showFullDarkGreenDaysOnly=!1):"messe"==ttModuleName&&(showFullDarkGreenDaysOnly=!0,a=!0),$(".js-tp-datepicker-messe[data-tp-datepicker-from]").each(function(e,i){var s=$(i).data("tp-datepicker-dates").split(",");$(i).tpdatepicker({language:ttlanguage,weekStart:1,startDate:o,todayBtn:!1,format:"dd.mm.yyyy",todayHighlight:!0,autoclose:!0,whitelist_days:s,whitelist_days_class:"tp-datepicker-freeGo tp-datepicker-greenday",showFullDarkGreenDaysOnly:showFullDarkGreenDaysOnly,whitelistEnableOtherDays:a}).on("changeDate",function(e){var i=$(this),o=i.data("tp-datepicker-from")?i.data("tp-datepicker-from"):"";i.closest("form").find('input[data-tp-datepicker-to="'+o+'"]');"undefined"!=typeof ukv_dayRange&&(t=999==ukv_dayRange||0==ukv_dayRange?1:ukv_dayRange),n=86400*t*1e3;var a=new Date(e.date).getTime(),s=new Date(a+n);("0"+s.getDate()).slice(-2),("0"+(s.getMonth()+1)).slice(-2),s.getFullYear(),new Date(a);i.tpdatepicker("hide"),$("html.no-touch").find("tp-datepickertooltip").html(" "),1==$(this).hasClass("tt-qf-datepicker")?$(".js-tt-qf-dateunknown").prop("checked")&&($(".js-tt-qf-dateunknown").prop("checked",!1),$(".js-tt-qf-dateunknown").change()):$("#date_unknown").is(":checked")&&($("#date_unknown").attr("checked",!1),togglePersonData())}).on("hide",function(){$(this).tooltipster("hide"),tp_init_tp_button_ajax(),tp_init_tp_facet_check()}).on("show",function(t){var e=$(this),i=e.data("tp-datepicker-from")?e.data("tp-datepicker-from"):"";e.closest("form").find('input[data-tp-datepicker-to="'+i+'"]'),e.data("tp-datepicker-view")&&e.data("tp-datepicker-view");$(".tp-datepicker-legend-departuretext").hide(),e.tpdatepicker("setStartDate",o),"function"==typeof $.fn.tooltipster&&(e.hasClass("tooltipstered")||e.tooltipster({open:!0,content:$("body > .tp-datepicker-content"),contentAsHTML:!0,contentCloning:!1,interactive:!0,functionReady:function(t){!!$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")&&$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")},maxWidth:"240",trigger:"custom",position:"bottom",theme:"tp-tooltip-container tp-wysiwyg tp-datepicker-tooltip",zIndex:150}),$(this).tooltipster("open"))})}),$(".js-tp-datepicker-messe[data-tp-datepicker-to]").each(function(t,e){var i=$(e).data("tp-datepicker-dates").split(",");$(e).tpdatepicker({orientation:"auto",language:ttlanguage,weekStart:1,todayBtn:!1,startDate:o,format:"dd.mm.yyyy",todayHighlight:!0,whitelist_days:i,whitelist_days_class:"tp-datepicker-freeGo tp-datepicker-greenday",showFullDarkGreenDaysOnly:showFullDarkGreenDaysOnly,whitelistEnableOtherDays:a}).on("changeDate",function(t){$(this).tpdatepicker("hide"),$("html.no-touch").find("tp-datepickertooltip").html(" "),1==$(this).hasClass("tt-qf-datepicker")?$(".js-tt-qf-dateunknown").prop("checked")&&($(".js-tt-qf-dateunknown").prop("checked",!1),$(".js-tt-qf-dateunknown").change()):$("#date_unknown").is(":checked")&&($("#date_unknown").attr("checked",!1),togglePersonData())}).on("hide",function(){$(this).tooltipster("hide"),tp_init_tp_button_ajax(),tp_init_tp_facet_check()}).on("show",function(){var t=$(this),e=t.data("tp-datepicker-to")?t.data("tp-datepicker-to"):"",i=t.closest("form").find('input[data-tp-datepicker-from="'+e+'"]');t.data("tp-datepicker-view")&&t.data("tp-datepicker-view");if($(".tp-datepicker-legend-departuretext").hide(),""!=i.val()&&""!=t.val()){var o=new Date(parseDate(i.val(),"dd.mm.yyyy")).getTime(),a=new Date(parseDate(i.val(),"dd.mm.yyyy")),s=new Date(parseDate(t.val(),"dd.mm.yyyy")),r=new Date(o+n);t.tpdatepicker("setDate",s),t.data("tp-datepicker").getEndDate()!==1/0&&"Invalid Date"!=t.data("tp-datepicker").getEndDate()?t.tpdatepicker("setStartDate",r):t.tpdatepicker("setStartDate",a)}"function"==typeof $.fn.tooltipster&&(t.hasClass("tooltipstered")||t.tooltipster({open:!0,content:$("body > .tp-datepicker-content"),contentAsHTML:!0,contentCloning:!1,interactive:!0,functionReady:function(t){!!$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")&&$(".tooltipster-content").find(".tp-datepickerloader").data("tp-ajax-loaderstate")},maxWidth:"240",trigger:"custom",position:"bottom",theme:"tp-tooltip-container tp-wysiwyg tp-datepicker-tooltip",zIndex:150}),t.tooltipster("open"))})}
3),$(".js-tp-datepicker-messe + .tp-icon-calendar").click(function(){var t=$(this);(!!t.prev(".js-tp-datepicker-messe")&&t.prev(".js-tp-datepicker-messe")).click()})}function tp_init_tp_datepicker_toubiz(){document.addEventListener("toubiz-date-picker.change",function(t){var e=t.detail.formatted.start;void 0!==e&&(e=e.replaceAll("/","."));var i=t.detail.formatted.end;void 0!==i&&(i=i.replaceAll("/","."));var n=t.detail.formatted.selectedDate;void 0!==n&&(n=n.replaceAll("/","."));var o=t.target.getAttribute("data-tportal-form-id"),a=t.target.getAttribute("data-tportal-submit-on-change"),s=document.getElementById(o),r=document.getElementById(o+"-dateFrom"),l=document.getElementById(o+"-dateTo");r&&r.setAttribute("value",e),l&&l.setAttribute("value",i),n&&r&&r.setAttribute("value",n),null!==a&&s.submit()})}function tp_init_datepicker_toubiz_button_submit(){$(".js-tp-experience-search-detail").click(function(){var t=$(this),e=t.data("form-id"),i=$(e),n=t.data("action-url");return console.log(n),console.log(i),i&&(i.attr("action",n),i.submit()),!1})}function tp_getWindowWidth(){var t=0;return"number"==typeof window.innerWidth?t=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?t=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(t=document.body.clientWidth),t}function parseDate(t,e){e=e||"yyyy-mm-dd";var i=t.match(/(\d+)/g),n=0,o={};return e.replace(/(yyyy|dd|mm)/g,function(t){o[t]=n++}),new Date(i[o.yyyy],i[o.mm]-1,i[o.dd])}function tp_init_tp_ellipsis(){$(".tp-results-gallery,.tp-results-dynamic").find(".js-tp-ellipsis").each(function(){var t=$(this),e=t.text(),i=t.data("tp-ellipsis")?t.data("tp-ellipsis"):1,n=parseInt(t.css("line-height"));t.css({height:Math.ceil(i*n)+"px",overflow:"hidden"}),t.attr("title",e),"function"==typeof $.fn.dotdotdot&&t.dotdotdot({ellipsis:"â¦"})})}function tp_init_tp_gallery(){"function"==typeof $.fn.magnificPopup&&$(".js-tp-gallery").each(function(){$(this).magnificPopup({delegate:"a.js-tp-gallery-item",type:"image",tClose:"",mainClass:"tp-magnific-gallery",tLoading:'<span class="tp-icon-spin"></span> %curr% / %total% ',gallery:{enabled:!0,preload:[0,2],navigateByImgClick:!0,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',tPrev:"",tNext:"",tCounter:'<span class="mfp-counter">%curr% / %total%</span>'},image:{titleSrc:function(t){return t.el.data("title")?t.el.data("title"):""},verticalFit:!0},callbacks:{open:function(){if(window.self!==window.top){var t=$.magnificPopup.instance,e=t.st.el,i=t.wrap.find(".mfp-container"),n=e.offset(),o=window.pageYOffset,a=n.top-o<0?0:n.top-o;i.css({position:"absolute",top:a,height:"auto"})}}}})})}function tp_init_tp_infinite(){$(".js-tp-infinite").each(function(){var t=$(this),e=t.data("tp-infinite-maxpage")?t.data("tp-infinite-maxpage"):"10",i=t.data("tp-infinite-pagination")?t.data("tp-infinite-pagination"):".js-tp-infinite-pagination",n=t.data("tp-infinite-next")?t.data("tp-infinite-next"):".js-tp-infinite-next",o=t.data("tp-infinite-item")?t.data("tp-infinite-item"):".js-tp-infinite-item",a=3;if($(".tp-infinite-config").length){s=$(".tp-infinite-config").data("tp-infinite-trigger-text");a=$(".tp-infinite-config").data("tp-infinite-trigger-loadlimit")}else var s="Weitere Elemente anzeigen";$(i).hide(),t.infinitescroll({navSelector:i,nextSelector:n,itemSelector:o,maxPage:e,loading:{finishedMsg:"",img:"",msg:"",msgText:'<span class="tp-icon-spinner animate-spin"></span>'}},function(i,n){var o=document.createEvent("Event");o.initEvent("infinitescroll.append",!0,!0),document.dispatchEvent(o);var r=$(i);$(".tp-results-dynamic .js-tp-results-container").length&&(t.masonry("appended",r),t.imagesLoaded().progress(function(){t.masonry("layout")})),$(window).lazyLoadXT({srcAttr:"data-tp-src"}),"function"==typeof tp_init_tp_distance&&tp_init_tp_distance(),"function"==typeof tp_init_tp_tooltip&&tp_init_tp_tooltip(),"function"==typeof tp_init_tp_tooltip_ajax&&tp_init_tp_tooltip_ajax(),"function"==typeof tp_init_tp_progressbar&&tp_init_tp_progressbar(),"function"==typeof tp_init_tp_rating_trustyou&&tp_init_tp_rating_trustyou(),"function"==typeof tp_init_tp_clipboard&&tp_init_tp_clipboard(),"function"==typeof tp_init_tp_more_elements&&tp_init_tp_more_elements(),"function"==typeof tp_init_tp_panel&&tp_init_tp_panel(),"function"==typeof tp_init_tp_datepicker()&&tp_init_tp_datepicker(),"function"==typeof tp_init_tp_modal()&&tp_init_tp_modal(),"function"==typeof tp_init_tp_add_result_to_cart()&&tp_init_tp_add_result_to_cart(),"function"==typeof tp_init_tp_media_objectfit_image()&&tp_init_tp_media_objectfit_image(),"function"==typeof tp_init_tp_datepicker_messe&&tp_init_tp_datepicker_messe(),"function"==typeof tp_init_tp_update_articlePrice&&tp_init_tp_update_articlePrice(),$(".tp-infinite-show-more").length&&n.state.currPage<e&&$(".tp-infinite-show-more").appendTo(t).show(),n.state.currPage==a&&n.state.currPage<e&&(t.infinitescroll("unbind"),t.append("<a class='pure-u-1 tp-infinite-show-more' href='#'>"+s+"<i class='tp-icon-plus'></i></a></div>"),$("body").on("click",".tp-infinite-show-more",function(e){return e.preventDefault(),t.infinitescroll("retrieve"),$(this).hide(),!1}))}),1==a&&e>1&&(t.infinitescroll("unbind"),t.append("<a class='pure-u-1 tp-infinite-show-more' href='#'>"+s+"<i class='tp-icon-plus'></i></a>"),$("body").on("click",".tp-infinite-show-more",function(e){return e.preventDefault(),t.infinitescroll("retrieve"),$(this).hide(),!1}))})}function tp_init_tp_map(){function t(t,e,i,n,o,a,s,r){t.gMapTP({alpmap:e,client:"cms",clustering:!1,baseuri:i,latitude:n,longitude:o,maptype:google.maps.MapTypeId.ROADMAP,markers:a,spiderfy:!0,zoom:s,minClusterZoom:r})}"0"==TP_COOKIECONSENT||"1"==TP_COOKIECONSENT&&"allow"==tp_get_cookie("analytics")?"function"==typeof $.fn.gMapTP&&$(".js-tp-ma
3p").each(function(){var e=$(this),i=e.data("dynamic-map-container")?$(e.data("dynamic-map-container")):e,n=void 0!==e.data("alpmap")&&e.data("alpmap"),o=void 0===e.data("baseuri")?"/lisgmap/getmarkers":e.data("baseuri"),a=void 0===e.data("html")?"":e.data("html"),s=void 0===e.data("icon")?"/default/img/house_geo_blank.png":e.data("icon"),r=void 0===e.data("lat")?47.999008:e.data("lat"),l=void 0===e.data("lng")?7.842104:e.data("lng"),d="undefined"!=typeof TP_MAP_MARKER&&TP_MAP_MARKER,p="undefined"!=typeof TP_MAP_MARKER_COUNT&&TP_MAP_MARKER_COUNT,c=void 0===e.data("pathprefix")?"":e.data("pathprefix"),u=[{latitude:r,longitude:l,html:a,icon:{image:s,iconSize:[32,32]}}],h=void 0===e.data("trigger")?"onload":e.data("trigger"),f=void 0===e.data("zoom")?8:e.data("zoom"),g=void 0===e.data("minclusterzoom")?null:e.data("minclusterzoom"),m=void 0===e.data("loop")?50:e.data("loop");if("result"!==e.data("type")&&(d=u),"onload"==h?t(i,n,o,r,l,d,f,g):"onclick"==h&&e.css("cursor","pointer").on("click",function(){i.hasClass("tp-map-loaded")||(e.hide(),t(i,n,o,r,l,d,f,g)),i.addClass("tp-map-loaded")}),p>10){$(".tp-pagination").hide();var _=10,v=0,y=p<m?p:m,w=parseInt(Math.ceil(p/y)),b=$('<span class="tp-icon-spinner animate-spin"></span><br>'),k=$('<div class="tp-loading-curtain"></div>'),C=$('<div class="tp-loading-curtain-inner"></div>'),T=!!i.data("tp-loading");!0===T&&(C.prependTo(".js-tp-map").prepend(b).wrap(k),$("body").on("click",".js-tp-map .tp-loading-curtain",function(){$(this).hide()}));for(var S=0;S<w;S++){var x=y<m?y-_-1:y+_>p?p-_:y;$.get(c+ttModuleName+"/json/resultmap",{offset:_,limit:x},function(t){t&&0!==t.length&&i.gMapTP("addMarkers",t),++v==w&&!0===T&&$(".js-tp-map .tp-loading-curtain").hide()}),_+=y}}}):tp_consent_cookie_info()}function tp_init_tp_media_objectfit_image(){var t=$(".tp-media-image figure img[data-tp-src]:not(.tp-objectfit)"),e=$(".tp-media-image figure img:not([data-tp-src], .tp-objectfit)");t.on("lazyload",function(t){var e=$(t.target);tp_objectFitImages(e),e.addClass("tp-objectfit")}),tp_objectFitImages(e),e.addClass("tp-objectfit")}function tp_init_tp_message(){$(".js-tp-message").each(function(){var t=$(this),e=!!t.closest(".tp-message")&&t.closest(".tp-message"),i=t.closest(".tp-message")?t.closest(".tp-message").hasClass("tp-message-important")?"tp-message-important":t.closest(".tp-message").hasClass("tp-message-note")?"tp-message-note":"tp-message-warning":"tp-message-important",n=!!t.data("tp-message-color-class")&&t.data("tp-message-color-class");t.on("click",function(){t.is(":checked")?(e.removeClass(i),e.addClass(n)):e.addClass(i)})})}function tp_init_tp_modal(){$(".js-tp-modal").each(function(){var t=$(this);"function"==typeof $.fn.bpopup&&t.bPopup({closeClass:"tp-modal-close",onClose:function(){$("#"+id).remove()}})}),$(".js-tp-modal-inline").magnificPopup({type:"inline",mainClass:"tp-magnific-modal",tLoading:'<span class="tp-icon-spin"></span>'})}function tp_init_tp_add_result_to_cart(){$(".js-tp-add_to_cart_reload").each(function(){$(this).on("click",function(t){void 0!==$(this).attr("href")&&"#"!=$(this).attr("href")?document.location.href=$(this).attr("href"):document.location.reload(),t.preventDefault()})}),$(".js-tp-add_to_cart").each(function(){var t=$(this),e=$(t.data("tp-modal-selector")),i=t.data("tp-form-id"),n=$(e).find(".tp-modal-loader").first(),o=$(e).find(".tp-modal-loader-ready").first(),a=$(e).find(".tp-add-to-cart-headline").first(),s=$(e).find(".tp-add-to-cart-item-line").first(),r=$(e).find(".tp-add-to-cart-price-total").first(),l=$(e).find(".tp-add-to-cart-count").first(),d=$(e).find(".js-tp-add_to_cart_reload"),p=t.attr("href"),c=function(t){if("200"==t.status?$(a).html('<span class="tp-icon-ok"></span>'+t.successMessage):($(a).html('<span class="tp-icon-cancel"></span>'+t.errorMessage),""!=t.errorMessageDetails&&$(".tp-add-to-cart-content").html("<p>"+t.errorMessageDetails+"</p>")),t.total.value&&r.length&&$(r).html(t.total.value.toFixed(2).toString().replace(/\./,",")+" "+t.total.currency),t.added.length){var e=Array();t.added.forEach(function(t){qty=t.numberOfUnits>1?t.numberOfUnits+"x ":"",e.push('<div class="pure-g"><div class="pure-u-2-3 tp-add-to-cart-item-name" style="overflow-wrap: break-word;">\n\n'+qty+t.serviceDescribingName+' </div>\n <div class="pure-u-1-3 tb-teaser-pricing__price tp-add-to-cart-item-price" >\n\n'+t.price.value.toFixed(2).toString().replace(/\./,",")+" "+t.price.currency+" </div></div>")}),$(s).html(e.join(""))}t.count>1&&$(l).html(" ("+t.count+")"),t.backLink&&$(d).each(function(){$(this).attr("href",t.backLink)}),n.hide(),o.show()};t.unbind("click"),t.on("click",function(n){if(o.hide(),""==p||"#"==p?($(i).submit(function(t){var e=$
3(this),i=e.serialize(),n=e.prop("action");$.ajax({type:"post",url:n,data:i,success:function(t){c(t);var e=new CustomEvent("EET_AddToCart",{detail:t});document.dispatchEvent(e)}}),t.preventDefault()}),$(i).submit()):$.ajax({type:"get",url:p,success:function(t){c(t);var e=new CustomEvent("EET_AddToCart",{detail:t});document.dispatchEvent(e)}}),n.preventDefault(),"function"==typeof $.fn.bPopup&&(e.bPopup({closeClass:"tp-add-to-cart-modal-close",onClose:function(){document.location.reload()}}),window.self!==window.top)){var a=t.offset();e.css({position:"absolute",top:a.top})}})})}function tp_init_tp_offer_quick_book(){$(".js-tp-offer-quick-book").on("click",function(t){t.preventDefault();var e=$(this),i=$(this),n=!!$("form.tp-search-offer").length&&$("form.tp-search-offer"),o=n&&void 0!==$('[name="offer_number_adult"]').val()?$('[name="offer_number_adult"]').val():"",a=n&&void 0!==$('[name="offer_number_child"]').val()?$('[name="offer_number_child"]').val():"",s=n&&void 0!==$('[name="offer_age_child1"]').val()?$('[name="offer_age_child1"]').val():"",r=n&&void 0!=$('[name="offer_age_child2"]').val()?$('[name="offer_age_child2"]').val():"",l=n&&void 0!==$('[name="offer_age_child3"]').val()?$('[name="offer_age_child3"]').val():"",d=n&&void 0!==$('[name="offer_age_child4"]').val()?$('[name="offer_age_child4"]').val():"",p=e.closest("form"),c=e.data("tp-quick-book-termin"),u=e.data("tp-quick-book-rate"),h=e.data("tp-cart-modal");if(p.append('<input type="hidden" name="offer_date" value="'+c+'">'),p.append('<input type="hidden" name="offer_number_adult" value="'+o+'">'),p.append('<input type="hidden" name="offer_number_child" value="'+a+'">'),p.append('<input type="hidden" name="offer_age_child1" value="'+s+'">'),p.append('<input type="hidden" name="offer_age_child2" value="'+r+'">'),p.append('<input type="hidden" name="offer_age_child3" value="'+l+'">'),p.append('<input type="hidden" name="offer_age_child4" value="'+d+'">'),p.append('<input type="hidden" name="bookingRate" value="'+u+'">'),p.append('<input type="hidden" name="doQuickAdd" value="1">'),"1"==h){var h=e.data("tp-modal-selector")?e.data("tp-modal-selector"):$("#tp-add-to-cart-modal"),f=$(h).find(".tp-modal-loader").first(),g=$(h).find(".tp-modal-loader-ready").first(),m=$(h).find(".tp-add-to-cart-headline").first(),_=$(h).find(".tp-add-to-cart-item-price").first(),v=$(h).find(".tp-add-to-cart-item-name").first(),y=$(h).find(".tp-add-to-cart-price-total").first(),w=$(h).find(".tp-add-to-cart-count").first(),b=function(t){if("200"==t.status?$(m).html('<span class="tp-icon-ok"></span>'+t.successMessage):($(m).html('<span class="tp-icon-cancel"></span>'+t.errorMessage),""!=t.errorMessageDetails&&$(".tp-add-to-cart-content").html("<p>"+t.errorMessageDetails+"</p>")),t.total.value&&$(y).html(t.total.value.toFixed(2).toString().replace(/\./,",")+" "+t.total.currency),t.added.length){var e=Array(),i=Array();t.added.forEach(function(t){qty=t.numberOfUnits>1?t.numberOfUnits+"x ":"",e.push(qty+t.serviceDescribingName),i.push(t.price.value.toFixed(2).toString().replace(/\./,",")+" "+t.price.currency)}),$(v).html(e.join("<br>")),$(_).html(i.join("<br>"))}t.count>1&&$(w).html(" ("+t.count+")"),f.hide(),g.show()};g.hide(),p.submit(function(t){var e=$(this),n=e.serialize(),o=e.prop("action");if($.ajax({type:"post",url:o,data:n,success:function(t){b(t);var e=new CustomEvent("EET_AddToCart",{detail:t});document.dispatchEvent(e)}}),t.preventDefault(),"function"==typeof $.fn.bPopup&&(h.bPopup({closeClass:"tp-add-to-cart-modal-close",onClose:function(){document.location.reload()}}),window.self!==window.top)){var a=i.offset();h.css({position:"absolute",top:a.top})}})}p.submit()})}function tp_init_tp_panel(){$(".js-tp-panel").each(function(){var t=$(this),e=t.children(".tp-panel-headline"),i=e.find("[data-tp-panel-toggle]"),n=t.children(".tp-panel-content"),o=!!t.data("tp-panel-animation")&&t.data("tp-panel-animation");e.unbind(),e.on("click",function(){if($(this).parent().hasClass("tp-panel-open")?1==o?n.slideUp(function(){$(this).parent().removeClass("tp-panel-open"),"function"==typeof tp_init_tp_results&&tp_init_tp_results()}):$(this).parent().removeClass("tp-panel-open"):1==o?(n.css({display:"none"}),$(this).parent().addClass("tp-panel-open"),n.slideDown(function(){"function"==typeof tp_init_tp_results&&tp_init_tp_results()})):$(this).parent().addClass("tp-panel-open"),i){var t=i.text(),e=i.data("tp-panel-toggle");i.data("tp-panel-toggle",t).text(e)}"function"==typeof tp_init_tp_results&&tp_init_tp_results(),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})})}function tp_init_tp_panel_ajax(){$(".js-tp-panel-ajax").each(function(){var t=$(this),e=t.children(".tp-
3panel-headline"),i=e.find("[data-tp-panel-toggle]"),n=t.children(".tp-panel-content"),o=!!t.data("tp-panel-animation")&&t.data("tp-panel-animation");e.click(function(){if($(this).parent().hasClass("tp-panel-open")?1==o?n.slideUp(function(){$(this).parent().removeClass("tp-panel-open"),"function"==typeof tp_init_tp_results&&tp_init_tp_results()}):$(this).parent().removeClass("tp-panel-open"):1==o?(n.css({display:"none"}),$(this).parent().addClass("tp-panel-open"),n.slideDown(function(){"function"==typeof tp_init_tp_results&&tp_init_tp_results()})):$(this).parent().addClass("tp-panel-open"),i){var t=i.text(),e=i.data("tp-panel-toggle");i.data("tp-panel-toggle",t).text(e)}"function"==typeof tp_init_tp_results&&tp_init_tp_results(),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})})}function tp_init_tp_progressbar(){$(".js-tp-progressbar").each(function(){var t=$(this),e=t.find("[data-tp-progressbar-score]"),i=e.data("tp-progressbar-score"),n=t.offset(),o=$(window).height();n.top<o&&e.css("width",i+"%"),window.scroll=function(){var t=$(window).scrollTop()+o;n.top<t&&0==e.width()&&e.css("width",i+"%")},n.top<o&&0==e.width()&&e.css("width",i+"%")}),$(".js-tp-progressbar").closest(".js-tp-panel").length?$(".js-tp-progressbar").closest(".js-tp-panel").on("click",function(){$(this).find(".js-tp-progressbar").each(function(){var t=$(this).find("[data-tp-progressbar-score]"),e=t.data("tp-progressbar-score");0==e&&t.hide(),t.css("width",e+"%")})}):$(".js-tp-progressbar").each(function(){var t=$(this).find("[data-tp-progressbar-score]"),e=t.data("tp-progressbar-score");t.css("width",e+"%")})}function tp_init_tp_quickfinder(){$(".js-tp-quickfinder").each(function(){var t=$(this),e=$(".tp-quickfinder-close"),i=$("[data-tp-quickfinder-open]"),n=$("[data-message-error-mobile\\.toggle]");$(window).on("scroll resize",function(){"function"==typeof tp_init_tp_results&&tp_init_tp_results()}),e.on("click",function(){t.removeClass("tp-quickfinder-visible"),n.removeClass("tp-visible-md").addClass("tp-hidden-"),t.find(".tp-collapse-open").removeClass("tp-collapse-open"),t.find(".tp-collapse-target-open").removeClass("tp-collapse-target-open"),"function"==typeof tp_init_tp_results&&tp_init_tp_results()}),i.on("click",function(){var t=$(this).data("tp-quickfinder-open");return $(this).blur(),$('[data-tp-collapse="'+t+'"]').trigger("click").focus(),"function"==typeof tp_init_tp_results&&tp_init_tp_results(),!1})})}function tp_init_tp_rating_ajax(){if($("#tp-anchor-rating[data-spID]").length){var t=$("#tp-anchor-rating[data-spID]"),e=t.data("tp-ajax-url");$.get(e,function(e){t.html(e),"function"==typeof tp_init_tp_panel_ajax&&tp_init_tp_panel_ajax(),"function"==typeof tp_init_tp_collapse_ajax&&tp_init_tp_collapse_ajax(),"function"==typeof reloadResizeIframe&&reloadResizeIframe()})}}function tp_init_tp_rating(){if($(".js-tp-rating").length){var t=void 0!==$(".js-tp-subnav")?-1*$(".js-tp-subnav").outerHeight():0;"undefined"!=typeof TP_SUBNAV_TOP_SPACING&&(topSpacing=TP_SUBNAV_TOP_SPACING,t-=topSpacing),"function"==typeof $.fn.smoothScroll&&$(".js-tp-rating").on("click",function(e){e.preventDefault();var i=this,n=i.hash.split("#"),o=!1;n[1]&&(o=n[1],"function"==typeof window.history.pushState&&window.history.replaceState(null,!1,"#"+o)),$.smoothScroll({offset:t,scrollTarget:i.hash})})}}function tp_init_tp_rating_trustyou(){$(".js-tp-rating-trustyou").each(function(){var t=$(this),e=t.data("tp-trustyou-id"),i=t.find("[data-tp-trustyou-anchor]"),n=t.find(".tp-rating-name"),o=t.find(".tp-rating-value"),a=t.find("[data-tp-trustyou-score]"),s=t.find("[data-tp-trustyou-count]");"undefined"==typeof ttlanguage&&(ttlanguage="de"),1!==t.data("is-loaded")&&$.ajax({url:"https://api.trustyou.com/hotels/"+e+"/seal.json?key="+TP_TRUSTYOUKEY+"&lang="+ttlanguage,dataType:"jsonp",success:function(e){if(200!=e.meta.code)t.remove();else if(0==e.response.reviews_count||null==e.response.score)t.remove();else{score=e.response.score,scoreRounded=(Math.round(score/20*10)/10).toFixed(1);var r,l=e.response.reviews_count;l>1?r=i.data("tp-trustyou-text-multiple"):(r=i.data("tp-trustyou-text-single"),l=0),a.attr({"data-tp-trustyou-score":scoreRounded}),a.html(scoreRounded),i.html(l+" "+r),s.attr({content:l}),e.response.score_description&&n.html(e.response.score_description),scoreRounded>=3.8?(n.addClass("ty-green"),o.addClass("ty-green")):scoreRounded>=3.4?(n.addClass("ty-yellow"),o.addClass("ty-yellow")):scoreRounded<3.4&&(n.addClass("ty-red"),o.addClass("ty-red")),t.removeClass("tp-hidden-"),t.prev(".tp-box-headline").addClass("tp-box-headline-has-rating"),t.data("is-loaded",1),tp_init_tp_results()}}})})}function tp_init_tp_related(){$(".js-tp-related").each(function(){var t=$(this),e=t.data("tp-related-url"),i=t,n=i.closest(".tp-related"),o=t.find('[data-tp-loading-parent=".tp-related-ajax"].js-tp-btn-loading'),a=t.data("tp-ismultiocc")?t.data("tp-ismultiocc"):"",s=t.data("tp-detail
3search")?t.data("tp-detailsearch"):"";a?e+=s?"?isMultiOcc="+a+"&detailSearch="+s:"?isMultiOcc="+a:s&&(e+="?detailSearch="+s),o.click();$.ajax({url:e,success:function(t){t?(i.html(t),n.removeClass("tp-hidden-"),o.remove()):n.addClass("tp-hidden-")},failure:function(){n.addClass("tp-hidden-")}})})}function tp_init_tp_results(){var t=$(".tp-results-dynamic .js-tp-results-container");t.length&&t.imagesLoaded(function(){t.masonry({containerStyle:null,gutter:0,itemSelector:".js-tp-results-item"}),t.imagesLoaded().progress(function(){t.masonry("layout")})});var e=$(".tp-results"),i=$(".tp-results-container"),n=e.find(".tp-quickfinder").length?e.find(".tp-quickfinder"):!!e.find(".tp-aside.tp-result-form").length&&e.find(".tp-aside.tp-result-form");if(e.length&&n.length){var o=e.offset(),a=!!i.length&&i.offset(),s=Math.round(o.top),r=!!a&&Math.round(a.top),l=!!r&&r-s,d=n.height(),p=!!l&&d-l;d>0?e.css("min-height",d):e.css("min-height",0),p>0?i.css("min-height",p):i.css("min-height",0)}}function tp_init_tp_distance(){("0"==TP_COOKIECONSENT||"1"==TP_COOKIECONSENT&&"allow"==tp_get_cookie("analytics"))&&$(".js-tp-distance").each(function(){var t=$(this),e=t.data("tp-distance-lat"),i=t.data("tp-distance-lng"),n=t.data("tp-distance-ref")?t.data("tp-distance-ref"):".js-tp-distance-reference",o=$(n),a=o.data("tp-distance-name"),s=(o.data("tp-distance-desc"),!!$(".tp-address-block-distance-pipe").length&&" | ");if(o.length>0){if("toubiz"===TP_MAP_INTEGRATION)var r=new L.latLng(e,i),l=new L.latLng(o.data("tp-distance-lat"),o.data("tp-distance-lng")),d=(Math.round(l.distanceTo(r)/1e3*10)/10).toString().replace(".",",");else var r=new google.maps.LatLng(e,i),l="undefined"!==google.maps&&new google.maps.LatLng(o.data("tp-distance-lat"),o.data("tp-distance-lng")),d=(Math.round(google.maps.geometry.spherical.computeDistanceBetween(l,r)/1e3*10)/10).toString().replace(".",",");t.html('<span class="tp-icon-resize-horizontal"></span>'+a+": "+d+" km"),s&&($(".tp-address-block-distance-pipe").html(s),$(".tp-address-block-distance-pipe + .tp-address-block-distance-reference > span.tp-icon-resize-horizontal").remove())}})}function tp_init_tp_slider(){$(".js-tp-slider").each(function(){var t=$(this),e=(t.data("slidestoshow-sm")&&t.data("slidestoshow-sm"),t.data("slidestoshow-md")&&t.data("slidestoshow-md"),t.data("slidestoshow")?t.data("slidestoshow"):3),i=t.data("slidestoscroll")?t.data("slidestoscroll"):3,n=!!t.data("slidestoscroll")&&t.data("infinite");t.slick({infinite:n,slidesToShow:e,slidesToScroll:i,prevArrow:'<span class="slick-prev tp-icon-angle-left"></span>',nextArrow:'<span class="slick-next tp-icon-angle-right"></span>',pauseOnHover:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:568,settings:{slidesToShow:1,slidesToScroll:1}}]})})}function tp_init_tp_subnav(){if($(".js-tp-subnav").length){var t=".tp-subnav-main .tp-subnav-item > a:not(.tp-subnav-link-disabled)",e=-1*$(".js-tp-subnav").outerHeight(),i=0;if("undefined"!=typeof TP_SUBNAV_TOP_SPACING&&(i=TP_SUBNAV_TOP_SPACING,e-=i),"undefined"==typeof TP_SUBNAV_DISABLE_STICKY&&"function"==typeof $.fn.sticky&&$(".js-tp-subnav").sticky({topSpacing:i,wrapperClassName:"tp-subnav-wrapper",className:"tp-subnav-sticky",getW
3idthFrom:".tp-container",responsiveWidth:!0}),"function"==typeof $.fn.smoothScroll){if($(t).on("click",function(t){t.preventDefault();var i=this,n=i.hash.split("#"),o=!1;n[1]&&(o=n[1],"function"==typeof window.history.pushState&&window.history.replaceState(null,!1,"#"+o)),$.smoothScroll({offset:e,scrollTarget:i.hash})}),$("[data-tp-scroll-to]").length){var n=$($("[data-tp-scroll-to]").data("tp-scroll-to"));n.length&&$.smoothScroll({offset:e,scrollTarget:n})}(o=!!$(".js-tp-scroll-to-target").length&&$(".js-tp-scroll-to-target")).length&&o.on("click",function(t){t.preventDefault();var i=!!$(this).data("tp-scroll-target")&&$(o.data("tp-scroll-target"));i.length&&$.smoothScroll({offset:e,scrollTarget:i})})}$(t).each(function(){var t=$(this),e=t.prop("href").split("#"),i=!!e[1]&&e[1];i&&!$("#"+i).length&&t.closest(".tp-subnav-item").addClass("tp-subnav-item-hidden")})}else if("function"==typeof $.fn.smoothScroll){e=0;"undefined"!=typeof TP_SUBNAV_TOP_SPACING&&(e=-1*TP_SUBNAV_TOP_SPACING),$("[data-tp-scroll-to]").length&&(n=$($("[data-tp-scroll-to]").data("tp-scroll-to"))).length&&$.smoothScroll({offset:e,scrollTarget:n});var o=!!$(".js-tp-scroll-to-target").length&&$(".js-tp-scroll-to-target");o.length&&o.on("click",function(t){t.preventDefault();var e=!!$(this).data("tp-scroll-target")&&$(o.data("tp-scroll-target"));e.length&&$.smoothScroll({offset:0,scrollTarget:e})})}}function tp_init_tp_social(){$(".js-tp-social").on("click",function(t){t.preventDefault();var e=$(this),i=e.data("tp-social")?e.data("tp-social"):"facebook",n="https://www.facebook.com/sharer/sharer.php?u={url}",o="",a=600,s=500;"twitter"==i?n="https://twitter.com/intent/tweet?url={url}&text={title}":"gplus"==i?(n="https://plus.google.com/share?url={url}",a=700):"pinterest"==i?(o=$(".tp-content img:first").attr("src"),console.log(o),n="https://pinterest.com/pin/create/button/?url={url}&description={title}&media={imgUrl}",a=600,s=800):"mail"==i?n="mailto:?subject={title}&body={url}":"whatsapp"==i&&(n="https://api.whatsapp.com/send?text={url}",a=600,s=800),n=n.replace("{title}",encodeURI(document.title)).replace("{url}",window.location.href).replace("{imgUrl}",o),"mail"==i?window.location.href=n:window.open(n,"tp-social-window","width="+a+",height="+s+",chrome=yes,personalbar=0,toolbar=0,scrollbars=1,resizable=1")})}function tp_init_tp_panel_tabs(){if($(".tp-panel-group").each(function(t){var e=$(this),i=e.children(".tp-panel"),n=$('<ul class="tp-tabs-nav"></ul>');e.hasClass("tp-tabs")&&(i.each(function(e){var i=t+"-"+e,o=$(this).children(".tp-panel-content"),a=$(this).children(".tp-panel-headline"),s=a.html(),r=a.parent().hasClass("tp-panel-open")?" tp-tabs-active":"";calendarTabClass=0!==o.find("> .tp-calendar").length?" tp-calendar-tab":"",a.attr("data-tp-tabs-key",i),o.attr("data-tp-tabs-key",i),n.append('<li class="tp-tabs-nav-item'+r+calendarTabClass+'" data-tp-tabs-key="'+i+'">'+s+"</li>")}),e.prepend(n),$(".tp-tabs").on("click",".tp-tabs-nav-item",function(){var t=$(this),e=t.closest(".tp-tabs"),i=t.data("tp-tabs-key"),n=!!t.hasClass("tp-tabs-active"),o="undefined"!=t.closest("[data-tp-services-tabs]"),a="undefined"!=$(".tp-search").find(".tp-active-tab")&&$(".tp-search").find(".tp-active-tab");n||(e.children(".tp-tabs-nav").children(".tp-tabs-nav-item").removeClass("tp-tabs-active"),e.children(".tp-tabs-nav").children('.tp-tabs-nav-item[data-tp-tabs-key="'+i+'"]').addClass("tp-tabs-active"),e.children(".tp-panel-open").children(".tp-panel-headline").trigger("click"),e.children(".tp-panel").children('.tp-panel-headline[data-tp-tabs-key="'+i+'"]').trigger("click")),0!=o&&a.attr({value:".tp-tabs-nav-item[data-tp-tabs-key="+i+"]"})}),$(".tp-services").length&&e.find(".tp-tabs-active").each(function(){var t=$(this),e=$(this).data("tp-tabs-key");""===$('.tp-panel-content[data-tp-tabs-key="'+e+'"]').text().trim()&&(t.removeClass("tp-tabs-active").hide().next().click(),$('.tp-panel-headline[data-tp-tabs-key="'+e+'"]').parent().hide())}))}),$(".js-tp-vacancy-onload").length&&($(".js-tp-btn-vacancy-global").length?$(".js-tp-btn-vacancy-global").click():($(".tp-services-compact .tp-media .js-tp-btn-vacancy").click(),$(".tp-calendar-tab").click())),$("[data-tp-click-after-reload]").length){var t=$($("[data-tp-click-after-reload]").data("tp-click-after-reload"));t.length&&t.trigger("click")}if($(".tp-services").children(".tp-tabs").length){var e=!!window.location.hash&&window.location.hash;
3if(e){var i=!!$(e).closest(".tp-panel-content")&&$(e).closest(".tp-panel-content").data("tp-tabs-key"),n=$("[data-tp-tabs-key='"+i+"'].tp-tabs-nav-item");n&&n.trigger("click")}}}function tp_init_tp_tooltip(){$(".js-tp-tooltip").each(function(){var t=$(this),e=!(!$("html").hasClass("touch")&&!$("html").hasClass("touchevents")),i=t.find(".tp-tooltip-content").html()?t.find(".tp-tooltip-content").html():t.next(".tp-tooltip-content").html(),n=t.data("tp-tooltip-theme")?" "+t.data("tp-tooltip-theme"):"",o=t.data("tp-tooltip-trigger")?t.data("tp-tooltip-trigger"):e?"click":"hover",a=t.data("tp-tooltip-maxwidth")?t.data("tp-tooltip-maxwidth"):"480",s=t.data("tp-tooltip-position")?t.data("tp-tooltip-position"):"bottom";i||(i=t.data("tp-tooltip"),s="top"),"click"==o&&t.click(function(t){return!1}),""===i.trim()&&(t.removeClass("tp-tooltip").removeClass("js-tp-tooltip"),t.hasClass("tp-icon-help-circled")?t.hide():t.find(".tp-icon-help-circled").hide()),"function"==typeof $.fn.tooltipster&&""!==i.trim()&&t.tooltipster({debug:!1,content:i,contentAsHTML:!0,interactive:!0,maxWidth:a,trigger:o,theme:"tp-tooltip-container tp-wysiwyg tp-wrapper"+n,position:s,zIndex:1e3,functionBefore:function(t){"function"==typeof tp_init_tp_distance&&tp_init_tp_distance()},functionReady:function(t){"function"==typeof tp_init_tp_subnav&&tp_init_tp_social(),"function"==typeof tp_init_tp_more_inline&&tp_init_tp_more_inline(),"function"==typeof tp_init_tp_gallery&&tp_init_tp_gallery(),$linkTrigger=$(this).data("tp-href"),$(this).on("click",function(t){""!=$(this).data("tp-href")&&void 0!==$(this).data("tp-href")&&(window.location.href=$(this).data("tp-href"))})}})})}function tp_init_tp_tooltip_ajax(){$(".js-tp-tooltip-ajax").each(function(){var t=$(this),e=!(!$("html").hasClass("touch")&&!$("html").hasClass("touchevents")),i='<span class="tp-icon-spinner animate-spin"></span>',n=t.data("tp-tooltip-theme")?" "+t.data("tp-tooltip-theme"):"",o=t.data("tp-tooltip-trigger")?t.data("tp-tooltip-trigger"):e?"click":"hover",a=t.data("tp-tooltip-maxwidth")?t.data("tp-tooltip-maxwidth"):"480",s=t.data("tp-tooltip-position")?t.data("tp-tooltip-position"):"bottom",r=t.data("tp-tooltip-ajaxurl")?t.data("tp-tooltip-ajaxurl"):"";i||(i=t.data("tp-tooltip"),s="top"),"click"==o&&t.click(function(){return!1}),""===i.trim()&&(t.removeClass("tp-tooltip").removeClass("js-tp-tooltip-ajax"),t.hasClass("tp-icon-help-circled")?t.hide():t.find(".tp-icon-help-circled").hide()),"function"==typeof $.fn.tooltipster&&""!==i.trim()&&t.tooltipster({debug:!1,content:i,contentAsHTML:!0,interactive:!0,maxWidth:a,position:s,trigger:o,theme:"tp-tooltip-container tp-wysiwyg tp-wrapper"+n,updateAnimation:"fade",zIndex:150,functionBefore:function(t,e){var i=$(e.origin);!0!==i.data("loaded")&&$.ajax({type:"POST",url:r,success:function(e){t.content(e),i.data("loaded",!0)}})}})})}function tp_init_tp_voucher(){""==$("#tp-form--voucher-template").val()&&$(".js-tp-voucher-preview").hide(),$(".js-tp-voucher textarea").each(function(){var t=$(this),e=t.get(0),i=t.data("maxlength")?t.data("maxlength"):255,n=t.next().find(".js-countable-value"),o=i;Countable.live(e,function(t){o=i-t.all,n.text(o).parent().addClass("show"),o<=0?n.parent().addClass("prevent"):n.parent().removeClass("prevent")}),t.keydown(function(t){"46"!=t.which&&"8"!=t.which||(o+=1),o<=0&&"46"!=t.which&&"8"!=t.which&&t.preventDefault()}),t.on("paste",function(t){var a=void 0,s=o;return window.clipboardData&&window.clipboardData.getData?a=window.clipboardData.getData("Text"):t.originalEvent.clipboardData&&t.originalEvent.clipboardData.getData&&(a=t.originalEvent.clipboardData.getData("text/plain")),!(a&&a.length>s)||(a=a.substring(0,s),$(e).val($(e).val()+a),o=i-$(e).val().length,n.text(o),!1)})}),$(".js-tp-voucher-filter-item").on("click",function(){var t=$(this).attr("rel");$(t).val($(this).data("tp-voucher-name")),$(".js-tp-voucher-preview").show()}),$(".js-tp-voucher-filter").on("change",function(){var t=$(this).val();"__"===t?$(".js-tp-slider-filter").slick("slickUnfilter"):$(".js-tp-slider-filter").slick("slickFilter",function(e){return $(this).data("filter").indexOf(t)>=0?1:0})}),$(".js-tp-form-voucher-value").length&&voucherDeliverySelect($(".js-tp-form-voucher-value")),$(".js-tp-form-voucher-value").on("change",function(){voucherDeliverySelect(this)}),$(".js-tp-voucher-preview").on("click",function(){var t=$(".js-tp-voucher :input"),e={}
3,i=$(this).data("configname"),n=$(this).data("url-pre");t.each(function(){if("voucher_choosen"==this.name)e.voucher_price=$(this.options[this.options.selectedIndex]).data("price"),e.voucher_currency=$(this.options[this.options.selectedIndex]).data("currency"),e.voucher_name=$(this.options[this.options.selectedIndex]).data("name"),e.voucher_id=$(this.options[this.options.selectedIndex]).attr("rel");else{var t=$(this).val();""==t&&(t="XXX"),e[this.name]=t}}),$("#js-tp-voucher-loader").removeClass("tp-icon-search"),$("#js-tp-voucher-loader").addClass("tp-icon-spinner animate-spin");var o=$("body").hasClass("tp-in-iframe");if(o){var a=window.open("","tp-gallery-popup","width=640,height=600,chrome=yes,personalbar=0,toolbar=0,scrollbars=1,resizable=1");a.document.write('<img src="/default/img/loader-pagination.gif" >')}return $.get(n+i+"/voucher/getPreview",e,function(t){if(t.jpg)if($("#tp-voucher-preview-complete-gallery-dummy").attr("href",t.jpg),o){var e=$("#tp-voucher-preview-complete-gallery-dummy"),i=e.data("popup-link")?e.data("popup-link"):e.prop("href");a.location.href=i}else $("#tp-voucher-preview-complete-gallery-dummy").click();else alert("no preview available"),o&&a.close();$("#js-tp-voucher-loader").addClass("tp-icon-search"),$("#js-tp-voucher-loader").removeClass("tp-icon-spinner animate-spin")}),!1});var t=$(".js-tp-voucher-language").val();$(".js-tp-voucher-language").on("change",function(){for(var e=$(this).val(),i=document.getElementsByClassName("tp-voucher-tpl-image"),n=0;n<i.length;n++)i[n].src=i[n].src.replace("-"+t,"-"+e);for(var i=document.getElementsByClassName("js-tp-voucher-preview-language"),n=0;n<i.length;n++)i[n].href=i[n].href.replace("-"+t,"-"+e);t=e})}function voucherDeliverySelect(t){var e=$(t).val(),i=$(t).attr("rel"),n=$(t).data("url-pre");$("#tp-voucher-delivery-box").html(""),e.indexOf("#")>=0&&(e=e.substring(0,e.indexOf("#"))),""!=e?$.get(n+i+"/voucher/deliveryOptions/"+e,function(t){var e=$("#tp-voucher-delivery-item-tepmlate");$("#tp-voucher-delivery-choose-first").hide(),jQuery.each(t,function(t,i){if("no-items"==i)$(".tp-voucher-delivery-box").hide();else{$(".tp-voucher-delivery-box").show();var n=e.clone();$(n).find(".tp-voucher-delivery-item-value").val(i.vacancyResultID),0==t&&$(n).find(".tp-voucher-delivery-item-value").attr("checked","checked"),$(n).find(".tp-voucher-delivery-item-name").html(i.name),$(n).find(".tp-price-value").html(i.price),$(n).find(".tp-price-currency").html(i.currency),""!=i.image?$(n).find(".tp-voucher-delivery-item-image").attr("src",i.image):$(n).find(".tp-voucher-delivery-item-image").remove(),n.show(),$("#tp-voucher-delivery-box").append(n.html())}})}):$("#tp-voucher-delivery-choose-first").show()}function tp_init_tp_video_popup(){"function"==typeof $.fn.magnificPopup&&($.magnificPopup.defaults.iframe.patterns.youtube={},$(".js-tp-popup-youtube").magnificPopup({type:"iframe",mainClass:"tp-magnific-video",tLoading:'<span class="tp-icon-spin"></span>'}))}!function(){function t(t){var e=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==typeof t&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}function e(t,e,i){for(var n in e){var o=e[n],a=t.input.getAttribute("data-"+n.toLowerCase());"number"==typeof o?t[n]=parseInt(a):!1===o?t[n]=null!==a:o instanceof Function?t[n]=null:t[n]=a,t[n]||0===t[n]||(t[n]=n in i?i[n]:o)}}function i(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function n(t,e){return s.call((e||document).querySelectorAll(t))}function o(){n("input.awesomplete").forEach(function(t){new a(t)})}var a=function(t,n){var o=this;a.count=(a.count||0)+1,this.count=a.count,this.isOpened=!1,this.input=i(t),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-expanded","false"),this.input.setAttribute("aria-owns","awesomplete_list_"+this.count),this.input.setAttribute("role","combobox"),this.options=n=n||{},e(this,{minChars:2,maxItems:10,autoFirst:!1,data:a.DATA,filter:a.FILTER_CONTAINS,sort:!1!==n.sort&&a.SORT_BYLENGTH,container:a.CONTAINER,item:a.ITEM,replace:a.REPLACE,tabSelect:!1,listLabel:"Results List"},n),this.index=-1,this.container=this.container(t),this.ul=i.create("ul",{hidden:"hidden",role:"listbox",id:"awesomplete_list_"+this.count,inside:this.container,"aria-label":this.listLabel}),this.status=i.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-atomic":!0,inside:this.container,textContent:0!=this.minChars?"Type "+this.minChars+" or more characters for results.":"Begin typing for results."}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;o.opened&&(13===e&&o.selected?(t.preventDefault(),o.select(void 0,void 0,t)):9===e&&o.selected&&o.tabSelect?o.select(void 0,void 0,t):27===e?o.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),o[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){t.preventDefault()},click:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),o.select(e,t.target,t))}}}},i.bind(this.input,this._events.input),i.bind(this.input.form,this._events.form),i.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||n.list||[],a.all.push(this)};a.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=i(t))&&t.children){var e=[];
vendor: 4,099 bytes, line 3
3s.apply(t.children).forEach(function(t){if(!t.disabled){var i=t.textContent.trim(),n=t.value||i,o=t.label||i;""!==n&&e.push({label:o,value:n})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.input.setAttribute("aria-expanded","false"),this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,this.status.setAttribute("hidden",""),i.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.input.setAttribute("aria-expanded","true"),this.ul.removeAttribute("hidden"),this.isOpened=!0,this.status.removeAttribute("hidden"),this.autoFirst&&-1===this.index&&this.goto(0),i.fire(this.input,"awesomplete-open")},destroy:function(){if(i.unbind(this.input,this._events.input),i.unbind(this.input.form,this._events.form),!this.options.container){var t=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container)}this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");var e=a.all.indexOf(this);-1!==e&&a.all.splice(e,1)},next:function(){var t=this.ul.children.length;this.goto(this.index<t-1?this.index+1:t?0:-1)},previous:function(){var t=this.ul.children.length,e=this.index-1;this.goto(this.selected&&-1!==e?e:t-1)},goto:function(t){var e=this.ul.children;this.selected&&e[this.index].setAttribute("aria-selected","false"),this.index=t,t>-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent+", list item "+(t+1)+" of "+e.length,this.input.setAttribute("aria-activedescendant",this.ul.id+"_item_"+this.index),this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,i.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e,n){if(t?this.index=i.siblingIndex(t):t=this.ul.children[this.index],t){var o=this.suggestions[this.index];i.fire(this.input,"awesomplete-select",{text:o,origin:e||t,originalEvent:n})&&(this.replace(o),this.close({reason:"select"}),i.fire(this.input,"awesomplete-selectcomplete",{text:o,originalEvent:n}))}},evaluate:function(){var e=this,i=this.input.value;i.length>=this.minChars&&this._list&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(n){return new t(e.data(n,i))}).filter(function(t){return e.filter(t,i)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(t,n){e.ul.appendChild(e.item(t,i,n))}),0===this.ul.children.length?(this.status.textContent="No results found",this.close({reason:"nomatches"})):(this.open(),this.status.textContent=this.ul.children.length+" results found")):(this.close({reason:"nomatches"}),this.status.textContent="No results found")}},a.all=[],a.FILTER_CONTAINS=function(t,e){return RegExp(i.regExpEscape(e.trim()),"i").test(t)},a.FILTER_STARTSWITH=function(t,e){return RegExp("^"+i.regExpEscape(e.trim()),"i").test(t)},a.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t<e?-1:1},a.CONTAINER=function(t){return i.create("div",{className:"awesomplete",around:t})},a.ITEM=function(t,e,n){var o=""===e.trim()?t:t.replace(RegExp(i.regExpEscape(e.trim()),"gi"),"<mark>$&</mark>");return i.create("li",{innerHTML:o,role:"option","aria-selected":"false",id:"awesomplete_list_"+this.count+"_item_"+n})},a.REPLACE=function(t){this.input.value=t.value},a.DATA=function(t){return t},Object.defineProperty(t.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),t.prototype.toString=t.prototype.valueOf=function(){return""+this.label};var s=Array.prototype.slice;i.create=function(t,e){var n=document.createElement(t);for(var o in e){var a=e[o];if("inside"===o)i(a).appendChild(n);else if("around"===o){var s=i(a);s.parentNode.insertBefore(n,s),n.appendChild(s),null!=s.getAttribute("autofocus")&&s.focus()}else o in n?n[o]=a:n.setAttribute(o,a)}return n},i.bind=function(t,e){if(t)for(var i in e){var n=e[i];
3i.split(/\s+/).forEach(function(e){t.addEventListener(e,n)})}},i.unbind=function(t,e){if(t)for(var i in e){var n=e[i];i.split(/\s+/).forEach(function(e){t.removeEventListener(e,n)})}},i.fire=function(t,e,i){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0);for(var o in i)n[o]=i[o];return t.dispatchEvent(n)},i.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},i.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof self&&(self.Awesomplete=a),"undefined"!=typeof Document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)),a.$=i,a.$$=n,"object"==typeof module&&module.exports&&(module.exports=a)}(),function(t){"use strict";t.fn.bPopup=function(e,i){function n(){g(w.onOpen),F=(P.data("bPopup")||0)+1,b=B+F+"__",$="auto"!==w.position[1],C="auto"!==w.position[0],T="fixed"===w.positionStyle,A=I.outerHeight(!0),D=I.outerWidth(!0),w.loadUrl?o():a()}function o(){switch(w.contentContainer=t(w.contentContainer||I),w.content){case"iframe":var e=t('<iframe class="b-iframe" '+w.iframeAttr+"></iframe>");e.appendTo(w.contentContainer),A=I.outerHeight(!0),D=I.outerWidth(!0),a(),e.attr("src",w.loadUrl),g(w.loadCallback);break;case"image":a(),t("<img />").load(function(){g(w.loadCallback),l(t(this))}).attr("src",w.loadUrl).hide().appendTo(w.contentContainer);break;default:a(),t('<div class="b-ajax-wrapper"></div>').load(w.loadUrl,w.loadData,function(e,i,n){g(w.loadCallback,i),l(t(this))}).hide().appendTo(w.contentContainer)}}function a(){w.modal&&t('<div class="b-modal '+b+'"></div>').css({backgroundColor:w.modalColor,position:"fixed",top:0,right:0,bottom:0,left:0,opacity:0,zIndex:w.zIndex+F}).appendTo(w.appendTo).fadeTo(w.speed,w.opacity),m(),I.data("bPopup",w).data("id",b).css({left:"slideIn"==w.transition||"slideBack"==w.transition?"slideBack"==w.transition?O.scrollLeft()+z:-1*(x+D):h(!(!w.follow[0]&&C||T)),position:w.positionStyle||"absolute",top:"slideDown"==w.transition||"slideUp"==w.transition?"slideUp"==w.transition?O.scrollTop()+L:S+-1*A:f(!(!w.follow[1]&&$||T)),"z-index":w.zIndex+F+1}).each(function(){w.appending&&t(this).appendTo(w.appendTo)}),c(!0)}function s(){return w.modal&&t(".b-modal."+I.data("id")).fadeTo(w.speed,0,function(){t(this).remove()}),p(),clearTimeout(j),c(),!1}function r(e){L=v(),z=y(),((k=_()).x||k.y)&&(clearTimeout(E),E=setTimeout(function(){m(),e=e||w.followSpeed;var i={};k.x&&(i.left=w.follow[0]?h(!0):"auto"),k.y&&(i.top=w.follow[1]?f(!0):"auto"),I.dequeue().each(function(){T?t(this).css({left:x,top:S}):t(this).animate(i,e,w.followEasing)})},50))}function l(t){var e=t.width(),i=t.height(),n={};w.contentContainer.css({height:i,width:e}),i>=I.height()&&(n.height=I.height()),e>=I.width()&&(n.width=I.width()),A=I.outerHeight(!0),D=I.outerWidth(!0),m(),w.contentContainer.css({height:"auto",width:"auto"}),n.left=h(!(!w.follow[0]&&C||T)),n.top=f(!(!w.follow[1]&&$||T)),I.animate(n,250,function(){t.show(),k=_()})}function d(){P.data("bPopup",F),I.delegate(".bClose, ."+w.closeClass,"click."+b,s),w.modalClose&&t(".b-modal."+b).css("cursor","pointer").bind("click",s),R||!w.follow[0]&&!w.follow[1]||P.bind("scroll."+b,function(){if(k.x||k.y){var t={};k.x&&(t.left=w.follow[0]?h(!T):"auto"),k.y&&(t.top=w.follow[1]?f(!T):"auto"),I.dequeue().animate(t,w.followSpeed,w.followEasing)}}).bind("resize."+b,function(){r()}),w.escClose&&O.bind("keydown."+b,function(t){27==t.which&&s()})}function p(){w.scrollBar||t("html").css("overflow","auto"),t(".b-modal."+b).unbind("click"),O.unbind("
3keydown."+b),P.unbind("."+b).data("bPopup",P.data("bPopup")-1>0?P.data("bPopup")-1:null),I.undelegate(".bClose, ."+w.closeClass,"click."+b,s).data("bPopup",null)}function c(t){function e(e){I.css({display:"block",opacity:1}).animate(e,w.speed,w.easing,function(){u(t)})}switch(t?w.transition:w.transitionClose||w.transition){case"slideIn":e({left:t?h(!(!w.follow[0]&&C||T)):O.scrollLeft()-(D||I.outerWidth(!0))-W});break;case"slideBack":e({left:t?h(!(!w.follow[0]&&C||T)):O.scrollLeft()+z+W});break;case"slideDown":e({top:t?f(!(!w.follow[1]&&$||T)):O.scrollTop()-(A||I.outerHeight(!0))-W});break;case"slideUp":e({top:t?f(!(!w.follow[1]&&$||T)):O.scrollTop()+L+W});break;default:I.stop().fadeTo(w.speed,t?1:0,function(){u(t)})}}function u(t){t?(d(),g(i),w.autoClose&&(j=setTimeout(s,w.autoClose))):(I.hide(),g(w.onClose),w.loadUrl&&(w.contentContainer.empty(),I.css({height:"auto",width:"auto"})))}function h(t){return t?x+O.scrollLeft():x}function f(t){return t?S+O.scrollTop():S}function g(e,i){t.isFunction(e)&&e.call(I,i)}function m(){S=$?w.position[1]:Math.max(0,(L-I.outerHeight(!0))/2-w.amsl),x=C?w.position[0]:(z-I.outerWidth(!0))/2,k=_()}function _(){return{x:z>I.outerWidth(!0),y:L>I.outerHeight(!0)}}function v(){return P.height()}function y(){return P.width()}t.isFunction(e)&&(i=e,e=null);var w=t.extend({},t.fn.bPopup.defaults,e);w.scrollBar||t("html").css("overflow","hidden");var b,k,$,C,T,S,x,A,D,E,j,I=this,O=t(document),M=window,P=t(M),L=v(),z=y(),B="__b-popup",R=/OS 6(_\d)+/i.test(navigator.userAgent),W=200,F=0;return I.close=function(){s()},I.reposition=function(t){r(t)},I.each(function(){t(this).data("bPopup")||n()})},t.fn.bPopup.defaults={amsl:50,appending:!0,appendTo:"body",autoClose:!1,closeClass:"b-close",content:"ajax",contentContainer:!1,easing:"swing",escClose:!0,follow:[!0,!0],followEasing:"swing",followSpeed:500,iframeAttr:'scrolling="no" frameborder="0"',loadCallback:!1,loadData:!1,loadUrl:!1,modal:!0,modalClose:!0,modalColor:"#000",onClose:!1,onOpen:!1,opacity:.7,position:["auto","auto"],positionStyle:"absolute",scrollBar:!0,speed:250,transition:"fadeIn",transitionClose:!1,zIndex:9997}}(jQuery),function(t){"use strict";function e(t){for(var e,i,n=[],o=0,a=t.length;o<a;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<a?56320==(64512&(i=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&i)+65536):(n.push(e,i),o--):n.push(e);return n}function i(t,e){var i=t&&("[object NodeList]"===Object.prototype.toString.call(t)&&t.length||1===t.nodeType),n=e&&"function"==typeof e;return"console"in window&&"warn"in console&&(i||console.warn("Countable: No valid elements were found"),n||console.warn('Countable: "'+e+'" is not a valid callback function')),i&&n}function n(t){var e={hardReturns:!1,stripTags:!1,ignoreReturns:!1,ignoreZeroWidth:!0};for(var i in t)e.hasOwnProperty(i)&&(e[i]=t[i]);return e}function o(t,i){var n,o="value"in t?t.value:t.innerText||t.textContent;return i.stripTags&&(o=o.replace(/<\/?[a-z][^>]*>/gi,"")),i.ignoreZeroWidth&&(o=o.replace(/[\u200B]+/,"")),n=o.trim(),{paragraphs:n?(n.match(i.hardReturns?/\n{2,}/g:/\n+/g)||[]).length+1:0,sentences:n?(n.match(/[.?!â¦]+./g)||[]).length+1:0,words:n?(n.replace(/['";:,.?¿\-!¡]+/g,"").match(/\S+/g)||[]).length:0,characters:n?e(n.replace(/\s/g,"")).length:0,all:e(i.ignoreReturns?o.replace(/[\n\r]/g,""):o).length}}function a(t,e){var i=t.length;if(void 0!==i)for(;i--;)e(t[i]);else e(t)}var s=[],r="oninput"in document?"input":"keyup";navigator.userAgent.match(/MSIE 9.0/)&&(r="keyup"),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var l={live:function(t,e,l){var d=n(l),p=function(t){var i=function(){e.call(t,o(t,d))};s.push({element:t,handler:i}),i(),t.addEventListener?t.addEventListener(r,i,!1):t.attachEvent&&t.attachEvent("on"+r,i)};if(i(t,e))return t.length?a(t,p):p(t),this},die:function(t){if(i(t,function(){}))return a(t,function(t){var e;a(s,function(i){i.element===t&&(e=i)}),e&&(t.removeEventListener?t.removeEventListener(r,e.handler,!1):t.detachEvent&&t.detachEvent("on"+r,e.handler),s.splice(s.indexOf(e),1))}),this},once:function(t,e,s){if(i(t,e))return a(t,function(t){e.call(t,o(t,n(s)))}),this}
3,count:function(t,e,i){return this.once(t,e,i)},enabled:function(t){var e=!1;return t&&1===t.nodeType&&a(s,function(i){i.element===t&&(e=!0)}),e}};"object"==typeof exports?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):t.Countable=l}(this),function(t,e,i,n){function o(t,e){return t[e]===n?_[e]:t[e]}function a(){var t=e.pageYOffset;return t===n?m.scrollTop:t}function s(t,e){var i=_["on"+t];i&&(w(i)?i.call(e[0]):(i.addClass&&e.addClass(i.addClass),i.removeClass&&e.removeClass(i.removeClass))),e.trigger("lazy"+t,[e]),p()}function r(e){s(e.type,t(this).off(g,r))}function l(i){if($.length){i=i||_.forceLoad,C=1/0;var n,o,l=a(),d=e.innerHeight||m.clientHeight,p=e.innerWidth||m.clientWidth;for(n=0,o=$.length;n<o;n++){var c,u=$[n],v=u[0],y=u[h],b=!1,T=i||k(v,f)<0;if(t.contains(m,v)){if(i||!y.visibleOnly||v.offsetWidth||v.offsetHeight){if(!T){var S=v.getBoundingClientRect(),x=y.edgeX,A=y.edgeY;T=(c=S.top+l-A-d)<=l&&S.bottom>-A&&S.left<=p+x&&S.right>-x}if(T){u.on(g,r),s("show",u);var D=y.srcAttr,E=w(D)?D(u):v.getAttribute(D);E&&(v.src=E),b=!0}else c<C&&(C=c)}}else b=!0;b&&(k(v,f,0),$.splice(n--,1),o--)}o||s("complete",t(m))}}function d(){T>1?(T=1,l(),setTimeout(d,_.throttle)):T=0}function p(t){$.length&&(t&&"scroll"===t.type&&t.currentTarget===e&&C>=a()||(T||setTimeout(d,0),T=2))}function c(){y.lazyLoadXT()}function u(){l(!0)}var h="lazyLoadXT",f="lazied",g="load error",m=i.documentElement||i.body,_={autoInit:!0,selector:"img[data-tp-src]",blankImage:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",throttle:99,forceLoad:e.onscroll===n||!!e.operamini||!m.getBoundingClientRect,loadEvent:"pageshow",updateEvent:"load orientationchange resize scroll touchmove focus",forceEvent:"lazyloadall",oninit:{removeClass:"lazy"},onshow:{addClass:"lazy-hidden"},onload:{removeClass:"lazy-hidden",addClass:"lazy-loaded"},onerror:{removeClass:"lazy-hidden"},checkDuplicates:!0},v={srcAttr:"data-tp-src",edgeX:0,edgeY:0,visibleOnly:!0},y=t(e),w=t.isFunction,b=t.extend,k=t.data||function(e,i){return t(e).data(i)},$=[],C=0,T=0;t[h]=b(_,v,t[h]),t.fn[h]=function(i){var n,a=o(i=i||{}
3,"blankImage"),r=o(i,"checkDuplicates"),l=o(i,"scrollContainer"),d=o(i,"show"),c={};t(l).on("scroll",p);for(n in v)c[n]=o(i,n);return this.each(function(n,o){if(o===e)t(_.selector).lazyLoadXT(i);else{var l=r&&k(o,f),u=t(o).data(f,d?-1:1);if(l)return void p();a&&"IMG"===o.tagName&&!o.src&&(o.src=a),u[h]=b({},c),s("init",u),$.push(u),p()}})},t(i).ready(function(){s("start",y),y.on(_.updateEvent,p).on(_.forceEvent,u),t(i).on(_.updateEvent,p),_.autoInit&&(y.on(_.loadEvent,c),c())})}(window.jQuery||window.Zepto||window.$,window,document),function(t){var e=t.lazyLoadXT;e.selector+=",video,iframe[data-src]",e.videoPoster="data-poster",t(document).on("lazyshow","video",function(i,n){var o=n.lazyLoadXT.srcAttr,a=t.isFunction(o),s=!1;n.attr("poster",n.attr(e.videoPoster)),n.children("source,track").each(function(e,i){var n=t(i),r=a?o(n):n.attr(o);r&&(n.attr("src",r),s=!0)}),s&&this.load()})}(window.jQuery||window.Zepto||window.$),function(t){var e=t.lazyLoadXT,i=e.bgAttr||"data-bg";e.selector+=",["+i+"]",t(document).on("lazyshow",function(e){var n=t(e.target),o=n.attr(i);o&&n.css("background-image","url('"+o+"')").removeAttr(i).triggerHandler("load")})}(window.jQuery||window.Zepto||window.$),function(t,e){t.lazyLoadXT.forceEvent+=" beforeprint",e.matchMedia&&e.matchMedia("print").addListener(function(i){i.matches&&t(e).trigger("beforeprint")})}(window.jQuery||window.Zepto||window.$,window),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t,e){"use strict";t.infinitescroll=function(e,i,n){this.element=t(n),this._create(e,i)||(this.failed=!0)},t.infinitescroll.defaults={loading:{finished:e,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz17c2fj69+fnq+8N2Lty+fuP78/eV2X13neIcCeBRwxorbZrA1ANoCDGrgoG8RTshahQ9iSKEEzUmYIYfNWViUhheCGJyIP5E4oom7WWjgCeBFAJNv1DVV01MAdJhhjdkplWNzO/5oXI846njjVEIqR2OS2B1pE5PVscajkxhMycqLJghQSwT40PgfAl4GqNSXYdZXJn5gSkmmmmJu1aZYb14V51do+pTOCmA40AqVCIhG5IJ9PvYnhIFOxmdqhpaI6GeHCtpooisuutmg+Eg62KOMKuqoTaXgicQWoIYq6qiklmoqFV0UoeqqrLbq6quwxirrrLTWauutJ4QAACH5BAUKABwALAcABADOAAsAAAX/IPd0D2dyRCoUp/k8gpHOKtseR9yiSmGbuBykler9XLAhkbDavXTL5k2oqFqNOxzUZPU5YYZd1XsD72rZpBjbeh52mSNnMSC8lwblKZGwi+0QfIJ8CncnCoCDgoVnBHmKfByGJimPkIwtiAeBkH6ZHJaKmCeVnKKTHIihg5KNq4uoqmEtcRUtEREMBggtEr4QDrjCuRC8h7/BwxENeicSF8DKy82pyNLMOxzWygzFmdvD2L3P0dze4+Xh1Arkyepi7dfFvvTtLQkZBC0T/FX3CRgCMOBHsJ+EHYQY7OinAGECgQsB+Lu3AOK+CewcWjwxQeJBihtNGHSoQOE+iQ3//4XkwBBhRZMcUS6YSXOAwIL8PGqEaSJCiYt9SNoCmnJPAgUVLChdaoFBURN8MAzl2PQphwQLfDFd6lTowglHve6rKpbjhK7/pG5VinZP1qkiz1rl4+tr2LRwWU64cFEihwEtZgbgR1UiHaMVvxpOSwBA37kzGz9e8G+B5MIEKLutOGEsAH2ATQwYfTmuX8aETWdGPZmiZcccNSzeTCA1Sw0bdiitC7LBWgu8jQr8HRzqgpK6gX88QbrB14z/kF+ELpwB8eVQj/JkqdylAudji/+ts3039vEEfK8Vz2dlvxZKG0CmbkKDBvllRd6fCzDvBLKBDSCeffhRJEFebFk1k/Mv9jVIoIJZSeBggwUaNeB+Qk34IE0cXlihcfRxkOAJFFhwGmKlmWDiakZhUJtnLBpnWWcnKaAZcxI0piFGGLBm1mc90kajSCveeBVWKeYEoU2wqeaQi0PetoE+rr14EpVC7oAbAUHqhYExbn2XHHsVqbcVew9tx8+XJKk5AZsqqdlddGpqAKdbAYBn1pcczmSTdWvdmZ17c1b3FZ99vnTdCRFM8OEcAhLwm1NdXnWcBBSMRWmfkWZqVlsmLIiAp/o1gGV2vpS4lalGYsUOqXrddcKCmK61aZ8SjEpUpVFVoCpTj4r661Km7kBHjrDyc1RAIQAAIfkEBQoAGwAsBwAEAM4ACwAABf/gtmUCd4goQQgFKj6PYKi0yrrbc8i4ohQt12EHcal+MNSQiCP8gigdz7iCioaCIvUmZLp8QBzW0EN2vSlCuDtFKaq4RyHzQLEKZNdiQDhRDVooCwkbfm59EAmKi4SGIm+AjIsKjhsqB4mSjT2IOIOUnICeCaB/mZKFNTSRmqVpmJqklSqskq6PfYYCDwYHDC4REQwGCBLGxxIQDsHMwhAIX8bKzcENgSLGF9PU1j3Sy9zX2NrgzQziChLk1BHWxcjf7N046tvN82715czn9Pryz6Ilc4ACj4EBOCZM8KEnAYYADBRKnACAYUMFv1wotIhCEcaJCisqwJFgAUSQGyX/kCSVUUTIdKMwJlyo0oX
3HlhskwrTJciZHEXsgaqS4s6PJiCAr1uzYU8kBBSgnWFqpoMJMUjGtDmUwkmfVmVypakWhEKvXsS4nhLW5wNjVroJIoc05wSzTr0PtiigpYe4EC2vj4iWrFu5euWIMRBhacaVJhYQBEFjA9jHjyQ0xEABwGceGAZYjY0YBOrRLCxUp29QM+bRkx5s7ZyYgVbTqwwti2ybJ+vLtDYpycyZbYOlptxdx0kV+V7lC5iJAyyRrwYKxAdiz82ng0/jnAdMJFz0cPi104Ec1Vj9/M6F173vKL/feXv156dw11tlqeMMnv4V5Ap53GmjQQH97nFfg+IFiucfgRX5Z8KAgbUlQ4IULIlghhhdOSB6AgX0IVn8eReghen3NRIBsRgnH4l4LuEidZBjwRpt6NM5WGwoW0KSjCwX6yJSMab2GwwAPDXfaBCtWpluRTQqC5JM5oUZAjUNS+VeOLWpJEQ7VYQANW0INJSZVDFSnZphjSikfmzE5N4EEbQI1QJmnWXCmHulRp2edwDXF43txukenJwvI9xyg9Q26Z3MzGUcBYFEChZh6DVTq34AU8Iflh51Sd+CnKFYQ6mmZkhqfBKfSxZWqA9DZanWjxmhrWwi0qtCrt/43K6WqVjjpmhIqgEGvculaGKklKstAACEAACH5BAUKABwALAcABADOAAsAAAX/ICdyQmaMYyAUqPgIBiHPxNpy79kqRXH8wAPsRmDdXpAWgWdEIYm2llCHqjVHU+jjJkwqBTecwItShMXkEfNWSh8e1NGAcLgpDGlRgk7EJ/6Ae3VKfoF/fDuFhohVeDeCfXkcCQqDVQcQhn+VNDOYmpSWaoqBlUSfmowjEA+iEAEGDRGztAwGCDcXEA60tXEiCrq8vREMEBLIyRLCxMWSHMzExnbRvQ2Sy7vN0zvVtNfU2tLY3rPgLdnDvca4VQS/Cpk3ABwSLQkYAQwT/P309vcI7OvXr94jBQMJ/nskkGA/BQBRLNDncAIAiDcG6LsxAWOLiQzmeURBKWSLCQbv/1F0eDGinJUKR47YY1IEgQASKk7Yc7ACRwZm7mHweRJoz59BJUogisKCUaFMR0x4SlJBVBFTk8pZivTR0K73rN5wqlXEAq5Fy3IYgHbEzQ0nLy4QSoCjXLoom96VOJEeCosK5n4kkFfqXjl94wa+l1gvAcGICbewAOAxY8l/Ky/QhAGz4cUkGxu2HNozhwMGBnCUqUdBg9UuW9eUynqSwLHIBujePef1ZGQZXcM+OFuEBeBhi3OYgLyqcuaxbT9vLkf4SeqyWxSQpKGB2gQpm1KdWbu72rPRzR9Ne2Nu9Kzr/1Jqj0yD/fvqP4aXOt5sW/5qsXXVcv1Nsp8IBUAmgswGF3llGgeU1YVXXKTN1FlhWFXW3gIE+DVChApysACHHo7Q4A35lLichh+ROBmLKAzgYmYEYDAhCgxKGOOMn4WR4kkDaoBBOxJtdNKQxFmg5JIWIBnQc07GaORfUY4AEkdV6jHlCEISSZ5yTXpp1pbGZbkWmcuZmQCaE6iJ0FhjMaDjTMsgZaNEHFRAQVp3bqXnZED1qYcECOz5V6BhSWCoVJQIKuKQi2KFKEkEFAqoAo7uYSmO3jk61wUUMKmknJ4SGimBmAa0qVQBhAAAIfkEBQoAGwAsBwAEAM4ACwAABf/gJm5FmRlEqhJC+bywgK5pO4rHI0D3pii22+Mg6/0Ej96weCMAk7cDkXf7lZTTnrMl7eaYoy10JN0ZFdco0XAuvKI6qkgVFJXYNwjkIBcNBgR8TQoGfRsJCRuCYYQQiI+ICosiCoGOkIiKfSl8mJkHZ4U9kZMbKaI3pKGXmJKrngmug4WwkhA0lrCBWgYFCCMQFwoQDRHGxwwGCBLMzRLEx8iGzMMO0cYNeCMKzBDW19lnF9DXDIY/48Xg093f0Q3s1dcR8OLe8+Y91OTv5wrj7o7B+7VNQqABIoRVCMBggsOHE36kSoCBIcSH3EbFangxogJYFi8CkJhqQciLJEf/LDDJEeJIBT0GsOwYUYJGBS0fjpQAMidGmyVP6sx4Y6VQhzs9VUwkwqaCCh0tmKoFtSMDmBOf9phg4SrVrROuasRQAaxXpVUhdsU6IsECZlvX3kwLUWzRt0BHOLTbNlbZG3vZinArge5Dvn7wbqtQkSYAAgtKmnSsYKVKo2AfW048uaPmG386i4Q8EQMBAIAnfB7xBxBqvapJ9zX9WgRS2YMpnvYMGdPK3aMjt/3dUcNI4blpj7iwkMFWDXDvSmgAlijrt9RTR78+PS6z1uAJZIe93Q8g5zcsWCi/4Y+C8bah5zUv3vv89uft30QP23punGCx5954oBBwnwYaNCDY/wYrsYeggnM9B2Fpf8GG2CEUVWhbWAtGouEGDy7Y4IEJVrbSiXghqGKIo7z1IVcXIkKWWR361QOLWWnIhwERpLaaCCee5iMBGJQmJGyPFTnbkfHVZGRtIGrg5HALEJAZbu39BuUEUmq1JJQIPtZilY5hGeSWsSk52G9XqsmgljdIcABytq13HyIM6RcUA+r1qZ4EBF3WHWB29tBgAzRhEGhig8KmqKFv8SeCeo+mgsF7YFXa1qWSbkDpom/mqR1PmHCqJ3fwNRVXjC7S6CZhFVCQ2lWvZiirhQq42SACt25IK2hv8TprriUV1usGgeka7LFcNmCldMLi6qZMgFLgpw16Cipb7bC1knXsBiEAACH5BAUKABsALAcABADOAAsAAAX/4FZsJPkUmUGsLCEUTywXglFuSg7fW1xAvNWLF6sFFcPb42C8EZCj24EJdCp2yoegWsolS0Uu6fmamg8n8YYcLU2bXSiRaXMGvqV6/KAeJAh8VgZqCX+BexCFioWAYgqNi4qAR4ORhRuHY408jAeUhAmYYiuVlpiflqGZa5CWkzc5fKmbbhIpsAoQDRG8vQwQCBLCwxK6vb5qwhfGxxENahvCEA7NzskSy7vNzzzK09W/PNHF1NvX2dXcN8K55cfh69Luveol3vO8zwi4Yhj+AQwmCBw4IYclDAAJDlQggVOChAoLKkgFkSCAHDwWLKhIEOONARsDKryogFPIiAUb/95gJNIiw4wnI778GFPhzBKFOAq8qLJEhQpiNArjMcHCmlTCUDIouTKBhApELSxFWiGiVKY4E2CAekPgUphDu0742nRrVLJZnyrFSqKQ2ohoSYAMW6IoDpNJ4bLdILTnAj8KUF7UeENjAKuDyxIgOuGiOI0EBBMgLNew5AUrDTMGsFixwBIaNCQuAXJB57qNJ2OWm2Aj4skwCQCIyNkhhtMkdsIuodE0AN4LJDRgfLPtn5YDLdBlraAByuUbBgxQwICxMOnYpVOPej074OFdlfc0TqC62OIbcppHjV4o+LrieWhfT8JC/I/T6W8oCl29vQ0XjLdBaA3s1RcPBO7lFvpX8BVoG4O5jTXRQRDuJ6FDTzEWF1/BCZhgbyAKE9qICYLloQYOFtahVRsWYlZ4KQJHlwHS/IYaZ6sZd9tmu5HQm2xi1UaTbzxYwJk/wBF5g5EEYOBZeEfGZmNdFyFZmZIR4jikbLThlh5kUUVJGmRT7sekkziRWUIACABk3T4qCsedgO4xhgGcY7q5pHJ4klBBTQRJ0CeHcoYHHUh6wgfdn9uJdSdMiebGJ0zUPTcoS286FCkrZxnYoYYKWLkBowhQoBeaOlZAgVhLidrXqg2G
3iqpQpZ4apwSwRtjqrB3muoF9BboaXKmshlqWqsWiGt2wphJkQbAU5hoCACH5BAUKABsALAcABADOAAsAAAX/oGFw2WZuT5oZROsSQnGaKjRvilI893MItlNOJ5v5gDcFrHhKIWcEYu/xFEqNv6B1N62aclysF7fsZYe5aOx2yL5aAUGSaT1oTYMBwQ5VGCAJgYIJCnx1gIOBhXdwiIl7d0p2iYGQUAQBjoOFSQR/lIQHnZ+Ue6OagqYzSqSJi5eTpTxGcjcSChANEbu8DBAIEsHBChe5vL13G7fFuscRDcnKuM3H0La3EA7Oz8kKEsXazr7Cw9/Gztar5uHHvte47MjktznZ2w0G1+D3BgirAqJmJMAQgMGEgwgn5Ei0gKDBhBMALGRYEOJBb5QcWlQo4cbAihZz3GgIMqFEBSM1/4ZEOWPAgpIIJXYU+PIhRG8ja1qU6VHlzZknJNQ6UanCjQkWCIGSUGEjAwVLjc44+DTqUQtPPS5gejUrTa5TJ3g9sWCr1BNUWZI161StiQUDmLYdGfesibQ3XMq1OPYthrwuA2yU2LBs2cBHIypYQPPlYAKFD5cVvNPtW8eVGbdcQADATsiNO4cFAPkvHpedPzc8kUcPgNGgZ5RNDZG05reoE9s2vSEP79MEGiQGy1qP8LA4ZcdtsJE48ONoLTBtTV0B9LsTnPceoIDBDQvS7W7vfjVY3q3eZ4A339J4eaAmKqU/sV58HvJh2RcnIBsDUw0ABqhBA5aV5V9XUFGiHfVeAiWwoFgJJrIXRH1tEMiDFV4oHoAEGlaWhgIGSGBO2nFomYY3mKjVglidaNYJGJDkWW2xxTfbjCbVaOGNqoX2GloR8ZeTaECS9pthRGJH2g0b3Agbk6hNANtteHD2GJUucfajCQBy5OOTQ25ZgUPvaVVQmbKh9510/qQpwXx3SQdfk8tZJOd5b6JJFplT3ZnmmX3qd5l1eg5q00HrtUkUn0AKaiGjClSAgKLYZcgWXwocGRcCFGCKwSB6ceqphwmYRUFYT/1WKlOdUpipmxW0mlCqHjYkAaeoZlqrqZ4qd+upQKaapn/AmgAegZ8KUtYtFAQQAgAh+QQFCgAbACwHAAQAzgALAAAF/+C2PUcmiCiZGUTrEkKBis8jQEquKwU5HyXIbEPgyX7BYa5wTNmEMwWsSXsqFbEh8DYs9mrgGjdK6GkPY5GOeU6ryz7UFopSQEzygOGhJBjoIgMDBAcBM0V/CYqLCQqFOwobiYyKjn2TlI6GKC2YjJZknouaZAcQlJUHl6eooJwKooobqoewrJSEmyKdt59NhRKFMxLEEA4RyMkMEAjDEhfGycqAG8TQx9IRDRDE3d3R2ctD1RLg0ttKEnbY5wZD3+zJ6M7X2RHi9Oby7u/r9g38UFjTh2xZJBEBMDAboogAgwkQI07IMUORwocSJwCgWDFBAIwZOaJIsOBjRogKJP8wTODw5ESVHVtm3AhzpEeQElOuNDlTZ0ycEUWKWFASqEahGwYUPbnxoAgEdlYSqDBkgoUNClAlIHbSAoOsqCRQnQHxq1axVb06FWFxLIqyaze0Tft1JVqyE+pWXMD1pF6bYl3+HTqAWNW8cRUFzmih0ZAAB2oGKukSAAGGRHWJgLiR6AylBLpuHKKUMlMCngMpDSAa9QIUggZVVvDaJobLeC3XZpvgNgCmtPcuwP3WgmXSq4do0DC6o2/guzcseECtUoO0hmcsGKDgOt7ssBd07wqesAIGZC1YIBa7PQHvb1+SFo+++HrJSQfB33xfav3i5eX3Hnb4CTJgegEq8tH/YQEOcIJzbm2G2EoYRLgBXFpVmFYDcREV4HIcnmUhiGBRouEMJGJGzHIspqgdXxK0yCKHRNXoIX4uorCdTyjkyNtdPWrA4Up82EbAbzMRxxZRR54WXVLDIRmRcag5d2R6ugl3ZXzNhTecchpMhIGVAKAYpgJjjsSklBEd99maZoo535ZvdamjBEpusJyctg3h4X8XqodBMx0tiNeg/oGJaKGABpogS40KSqiaEgBqlQWLUtqoVQnytekEjzo0hHqhRorppOZt2p923M2AAV+oBtpAnnPNoB6HaU6mAAIU+IXmi3j2mtFXuUoHKwXpzVrsjcgGOauKEjQrwq157hitGq2NoWmjh7z6Wmxb0m5w66+2VRAuXN/yFUAIACH5BAUKABsALAcABADOAAsAAAX/4CZuRiaM45MZqBgIRbs9AqTcuFLE7VHLOh7KB5ERdjJaEaU4ClO/lgKWjKKcMiJQ8KgumcieVdQMD8cbBeuAkkC6LYLhOxoQ2PF5Ys9PKPBMen17f0CCg4VSh32JV4t8jSNqEIOEgJKPlkYBlJWRInKdiJdkmQlvKAsLBxdABA4RsbIMBggtEhcQsLKxDBC2TAS6vLENdJLDxMZAubu8vjIbzcQRtMzJz79S08oQEt/guNiyy7fcvMbh4OezdAvGrakLAQwyABsELQkY9BP+//ckyPDD4J9BfAMh1GsBoImMeQUN+lMgUJ9CiRMa5msxoB9Gh/o8GmxYMZXIgxtR/yQ46S/gQAURR0pDwYDfywoyLPip5AdnCwsMFPBU4BPFhKBDi444quCmDKZOfwZ9KEGpCKgcN1jdALSpPqIYsabS+nSqvqplvYqQYAeDPgwKwjaMtiDl0oaqUAyo+3TuWwUAMPpVCfee0cEjVBGQq2ABx7oTWmQk4FglZMGN9fGVDMCuiH2AOVOu/PmyxM630gwM0CCn6q8LjVJ8GXvpa5Uwn95OTC/nNxkda1/dLSK475IjCD6dHbK1ZOa4hXP9DXs5chJ00UpVm5xo2qRpoxptwF2E4/IbJpB/SDz9+q9b1aNfQH08+p4a8uvX8B53fLP+ycAfemjsRUBgp1H20K+BghHgVgt1GXZXZpZ5lt4ECjxYR4ScUWiShEtZqBiIInRGWnERNnjiBglw+JyGnxUmGowsyiiZg189lNtPGACjV2+S9UjbU0JWF6SPvEk3QZEqsZYTk3UAaRSUnznJI5LmESCdBVSyaOWUWLK4I5gDUYVeV1T9l+FZClCAUVA09uSmRHBCKAECFEhW51ht6rnmWBXkaR+NjuHpJ40D3DmnQXt2F+ihZxlqVKOfQRACACH5BAUKABwALAcABADOAAsAAAX/ICdyUCkUo/g8mUG8MCGkKgspeC6j6XEIEBpBUeCNfECaglBcOVfJFK7YQwZHQ6JRZBUqTrSuVEuD3nI45pYjFuWKvjjSkCoRaBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:e},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:e,binder:t(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:e,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:e,path:e,prefill:!1,maxPage:e},t.infinitescroll.prototype={_binding:function(t){var i=this,n=i.options;if(n.v="2.0b2.120520",n.behavior&&this["_binding_"+n.behavior]!==e)this["_binding_"+n.behavior].call(this);else{if("bind"!==t&&"unbind"!==t)return this._debug("Binding value "+t+" not valid"),!1;"unbind"===t?this.options.binder.unbind("smartscroll.infscr."+i.options.infid):this.options.binder[t]("smartscroll.infscr."+i.options.infid,function(){i.scroll()}),this._debug("Binding",t)}},_create:function(i,n){var o=t.extend(!0,{},t.infinitescroll.defaults,i);this.options=o;var a=t(window);
3if(!this._validate(i))return!1;var s=t(o.nextSelector).attr("href");if(!s)return this._debug("Navigation selector not found"),!1;o.path=o.path||this._determinepath(s),o.contentSelector=o.contentSelector||this.element,o.loading.selector=o.loading.selector||o.contentSelector,o.loading.msg=o.loading.msg||t('<div id="infscr-loading"><img alt="Loading..." src="'+o.loading.img+'" /><div>'+o.loading.msgText+"</div></div>"),(new Image).src=o.loading.img,o.pixelsFromNavToBottom===e&&(o.pixelsFromNavToBottom=t(document).height()-t(o.navSelector).offset().top,this._debug("pixelsFromNavToBottom: "+o.pixelsFromNavToBottom));var r=this;return o.loading.start=o.loading.start||function(){t(o.navSelector).hide(),o.loading.msg.appendTo(o.loading.selector).show(o.loading.speed,t.proxy(function(){this.beginAjax(o)},r))},o.loading.finished=o.loading.finished||function(){o.state.isBeyondMaxPage||o.loading.msg.fadeOut(o.loading.speed)},o.callback=function(i,s,r){o.behavior&&i["_callback_"+o.behavior]!==e&&i["_callback_"+o.behavior].call(t(o.contentSelector)[0],s,r),n&&n.call(t(o.contentSelector)[0],s,o,r),o.prefill&&a.bind("resize.infinite-scroll",i._prefill)},i.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(t){console[t]=this.call(console[t],console)},Function.prototype.bind)),this._setup(),o.prefill&&this._prefill(),!0},_prefill:function(){function e(){return t(i.options.contentSelector).height()<=n.height()}var i=this,n=t(window);this._prefill=function(){e()&&i.scroll(),n.bind("resize.infinite-scroll",function(){e()&&(n.unbind("resize.infinite-scroll"),i.scroll())})},this._prefill()},_debug:function(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?1===Array.prototype.slice.call(arguments).length&&"string"==typeof Array.prototype.slice.call(arguments)[0]?console.log(Array.prototype.slice.call(arguments).toString()):console.log(Array.prototype.slice.call(arguments)):Function.prototype.bind||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function(t){var i=this.options;if(i.behavior&&this["_determinepath_"+i.behavior]!==e)return this["_determinepath_"+i.behavior].call(this,t);if(i.pathParse)return this._debug("pathParse manual"),i.pathParse(t,this.options.state.currPage+1);if(t.match(/^(.*?)\b2\b(.*?$)/))t=t.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(t.match(/^(.*?)2(.*?$)/)){if(t.match(/^(.*?page=)2(\/.*|$)/))return t=t.match(/^(.*?page=)2(\/.*|$)/).slice(1);t=t.match(/^(.*?)2(.*?$)/).slice(1)}else{if(t.match(/^(.*?page=)1(\/.*|$)/))return t=t.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."),i.state.isInvalidPage=!0}return this._debug("determinePath",t),t},_error:function(t){var i=this.options;i.behavior&&this["_error_"+i.behavior]!==e?this["_error_"+i.behavior].call(this,t):("destroy"!==t&&"end"!==t&&(t="unknown"),this._debug("Error",t),("end"===t||i.state.isBeyondMaxPage)&&this._showdonemsg(),i.state.isDone=!0,i.state.currPage=1,i.state.isPaused=!1,i.state.isBeyondMaxPage=!1,this._binding("unbind"))},_loadcallback:function(i,n,o){var a,s=this.options,r=this.options.callback,l=s.state.isDone?"done":s.appendCallback?"append":"no-append";if(s.behavior&&this["_loadcallback_"+s.behavior]!==e)this["_loadcallback_"+s.behavior].call(this,i,n);else{switch(l){case"done":return this._showdonemsg(),!1;case"no-append":if("html"===s.dataType&&(n=t(n="<div>"+n+"</div>").find(s.itemSelector)),0===n.length)return this._error("end");break;case"append":var d=i.children();if(0===d.length)return this._error("end");for(a=document.createDocumentFragment();i[0].firstChild;)a.appendChild(i[0].firstChild);this._debug("contentSelector",t(s.contentSelector)[0]),t(s.contentSelector)[0].appendChild(a),n=d.get()}if(s.loading.finished.call(t(s.contentSelector)[0],s),s.animate){var p=t(window).scrollTop()+t(s.loading.msg).height()+s.extraScrollPx+"px";t("html,body").animate({scrollTop:p},800,function(){s.state.isDuringAjax=!1})}s.animate||(s.state.isDuringAjax=!1),r(this,n,o),s.prefill&&this._prefill()}},_nearbottom:function(){var i=this.options,n=0+t(document).height()-i.binder.scrollTop()-t(window).height();return i.behavior&&this["_nearbottom_"+i.behavior]!==e?this["_nearbottom_"+i.behavior].call(this):(this._debug("math:",n,i.pixelsFromNavToBottom),n-i.bufferPx<i.pixelsFromNavToBottom)},_pausing:function(t){var i=this.options;{if(!i.behavior||this["_pausing_"+i.behavior]===e){switch("pause"!==t&&"resume"!==t&&null!==t&&this._debug("Invalid argument. Toggling pause value instead"),t=!t||"pause"!==t&&"resume"!==t?"toggle":t){case"pause":i.state.isPau
3sed=!0;break;case"resume":i.state.isPaused=!1;break;case"toggle":i.state.isPaused=!i.state.isPaused}return this._debug("Paused",i.state.isPaused),!1}this["_pausing_"+i.behavior].call(this,t)}},_setup:function(){var t=this.options;{if(!t.behavior||this["_setup_"+t.behavior]===e)return this._binding("bind"),!1;this["_setup_"+t.behavior].call(this)}},_showdonemsg:function(){var i=this.options;i.behavior&&this["_showdonemsg_"+i.behavior]!==e?this["_showdonemsg_"+i.behavior].call(this):(i.loading.msg.find("img").hide().parent().find("div").html(i.loading.finishedMsg).animate({opacity:1},2e3,function(){t(this).parent().fadeOut(i.loading.speed)}),i.errorCallback.call(t(i.contentSelector)[0],"done"))},_validate:function(e){for(var i in e)if(i.indexOf&&i.indexOf("Selector")>-1&&0===t(e[i]).length)return this._debug("Your "+i+" found no elements."),!1;return!0},bind:function(){this._binding("bind")},destroy:function(){return this.options.state.isDestroyed=!0,this.options.loading.finished(),this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(i){var n,o,a,s,r=this,l=i.path;if(i.state.currPage++,i.maxPage!==e&&i.state.currPage>i.maxPage)return i.state.isBeyondMaxPage=!0,void this.destroy();switch(n=t(t(i.contentSelector).is("table, tbody")?"<tbody/>":"<div/>"),o="function"==typeof l?l(i.state.currPage):l.join(i.state.currPage),r._debug("heading into ajax",o),a="html"===i.dataType||"json"===i.dataType?i.dataType:"html+callback",i.appendCallback&&"html"===i.dataType&&(a+="+callback"),a){case"html+callback":r._debug("Using HTML via .load() method"),n.load(o+" "+i.itemSelector,e,function(t){r._loadcallback(n,t,o)});break;case"html":r._debug("Using "+a.toUpperCase()+" via $.ajax() method"),t.ajax({url:o,dataType:i.dataType,complete:function(t,e){(s=void 0!==t.isResolved?t.isResolved():"success"===e||"notmodified"===e)?r._loadcallback(n,t.responseText,o):r._error("end")}});break;case"json":r._debug("Using "+a.toUpperCase()+" via $.ajax() method"),t.ajax({dataType:"json",type:"GET",url:o,success:function(t,a,l){if(s=void 0!==l.isResolved?l.isResolved():"success"===a||"notmodified"===a,i.appendCallback)if(i.template!==e){var d=i.template(t);n.append(d),s?r._loadcallback(n,d):r._error("end")}else r._debug("template must be defined."),r._error("end");else s?r._loadcallback(n,t,o):r._error("end")},error:function(){r._debug("JSON ajax request failed."),r._error("end")}})}},retrieve:function(i){i=i||null;var n=this.options;if(n.behavior&&this["retrieve_"+n.behavior]!==e)this["retrieve_"+n.behavior].call(this,i);else{if(n.state.isDestroyed)return this._debug("Instance is destroyed"),!1;n.state.isDuringAjax=!0,n.loading.start.call(t(n.contentSelector)[0],n)}},scroll:function(){var t=this.options,i=t.state;t.behavior&&this["scroll_"+t.behavior]!==e?this["scroll_"+t.behavior].call(this):i.isDuringAjax||i.isInvalidPage||i.isDone||i.isDestroyed||i.isPaused||this._nearbottom()&&this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))}},t.fn.infinitescroll=function(e,i){switch(typeof e){case"string":var n=Array.prototype.slice.call(arguments,1);this.each(function(){var i=t.data(this,"infinitescroll");return!!i&&(!(!t.isFunction(i[e])||"_"===e.charAt(0))&&void i[e].apply(i,n))});break;case"object":this.each(function(){var n=t.data(this,"infinitescroll");n?n.update(e):(n=new t.infinitescroll(e,i,this)).failed||t.data(this,"infinitescroll",n)})}return this};var i,n=t.event;n.special.smartscroll={setup:function(){t(this).bind("scroll",n.special.smartscroll.handler)},teardown:function(){t(this).unbind("scroll",n.special.smartscroll.handler)},handler:function(e,n){var o=this,a=arguments;e.type="smartscroll",i&&clearTimeout(i),i=setTimeout(function(){t(o).trigger("smartscroll",a)},"execAsap"===n?0:100)}},t.fn.smartscroll=function(t){return t?this.bind("smartscroll",t):this.trigger("smartscroll",["execAsap"])}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(t){function e(t){return t.replace(/(:|\.|\/)/g,"\\$1")}var i={},n={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficient:2,preventDefault:!0},o=function(e){var i=[],n=!1,o=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each(function(){var e=t(this);if(this!==document&&this!==window)return!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(e[o]()>0?i.push(this):(e[o](1),(n=e[o]()>0)&&i.push(this),e[o](0))):(i.push(document.scrollingElement),!1)}),i.length||this.each(function(){"BODY"===this.nodeName&&(i=[this])}),"first"===e.el&&i.length>1&&(i=[i[0]]),i};t.fn.extend({scrollable:function(t){var e=o.call(this,{dir:t});return this.pushStack(e)},firstScrollable:function(t){var e=o.call(this,{el:"first",dir:t});return this.pushStack(e)},smoothScroll:function(i,n){if("options"===(i=i||{}))return n?this.each(function(){var e=t(this),i=t.extend(e.data("ssOpts")||{},n);t(this).data("ssOpts",i)}):this.first().data("ssOpts");var o=t.extend({},t.fn.smoothScroll.defaults,i),a=t.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(i){var n=this,s=t(this),r=t.extend({},o,s.data("ssOpts")||{}),l=o.exclude,d=r.excludeWithin,p=0,c=0,u=!0,h={},f=location.hostname===n.hostname||!n.hostname,g=r.scrollTarget||t.smoothScroll.filterPath(n.pathname)===a,m=e(n.hash);if(r.scrollTarget||f&&g&&m){for(;u&&p<l.length;
3)s.is(e(l[p++]))&&(u=!1);for(;u&&c<d.length;)s.closest(d[c++]).length&&(u=!1)}else u=!1;u&&(r.preventDefault&&i.preventDefault(),t.extend(h,r,{scrollTarget:r.scrollTarget||m,link:n}),t.smoothScroll(h))}),this}}),t.smoothScroll=function(e,n){if("options"===e&&"object"==typeof n)return t.extend(i,n);var o,a,s,r,l=0,d="offset",p="scrollTop",c={},u={};"number"==typeof e?(o=t.extend({link:null},t.fn.smoothScroll.defaults,i),s=e):(o=t.extend({link:null},t.fn.smoothScroll.defaults,e||{},i)).scrollElement&&(d="position","static"===o.scrollElement.css("position")&&o.scrollElement.css("position","relative")),p="left"===o.direction?"scrollLeft":p,o.scrollElement?(a=o.scrollElement,/^(?:HTML|BODY)$/.test(a[0].nodeName)||(l=a[p]())):a=t("html, body").firstScrollable(o.direction),o.beforeScroll.call(a,o),s="number"==typeof e?e:n||t(o.scrollTarget)[d]()&&t(o.scrollTarget)[d]()[o.direction]||0,c[p]=s+l+o.offset,"auto"===(r=o.speed)&&(r=Math.abs(c[p]-a[p]())/o.autoCoefficient),u={duration:r,easing:o.easing,complete:function(){o.afterScroll.call(o.link,o)}},o.step&&(u.step=o.step),a.length?a.stop().animate(c,u):o.afterScroll.call(o.link,o)},t.smoothScroll.version="1.5.7",t.smoothScroll.filterPath=function(t){return(t=t||"").replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},t.fn.smoothScroll.defaults=n}),function(t,e){function i(t,e,i){var n=t.children(),o=!1;t.empty();for(var s=0,r=n.length;s<r;s++){var l=n.eq(s);if(t.append(l),i&&t.append(i),a(t,e)){l.remove(),o=!0;break}i&&i.detach()}return o}function n(e,i,s,r,l){var d=!1;return e.contents().detach().each(function(){var p=this,c=t(p);if(void 0===p)return!0;if(c.is("script, .dotdotdot-keep"))e.append(c);else{if(d)return!0;e.append(c),!l||c.is(r.after)||c.find(r.after).length||e[e.is("a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style")?"after":"append"](l),a(s,r)&&((d=3==p.nodeType?o(c,i,s,r,l):n(c,i,s,r,l))||(c.detach(),d=!0)),d||l&&l.detach()}}),i.addClass("is-truncated"),d}function o(e,i,n,o,r){var p=e[0];if(!p)return!1;var u=d(p),h=-1!==u.indexOf(" ")?" ":"ã",f="letter"==o.wrap?"":h,g=u.split(f),m=-1,_=-1,v=0,y=g.length-1;for(o.fallbackToLetter&&0==v&&0==y&&(f="",y=(g=u.split(f)).length-1);v<=y&&(0!=v||0!=y);){var w=Math.floor((v+y)/2);if(w==_)break;_=w,l(p,g.slice(0,_+1).join(f)+o.ellipsis),n.children().each(function(){t(this).toggle().toggle()}),a(n,o)?(y=_,o.fallbackToLetter&&0==v&&0==y&&(f="",m=-1,_=-1,v=0,y=(g=g[0].split(f)).length-1)):(m=_,v=_)}if(-1==m||1==g.length&&0==g[0].length){var b=e.parent();e.detach();var k=r&&r.closest(b).length?r.length:0;b.contents().length>k?p=c(b.contents().eq(-1-k),i):(p=c(b,i,!0),k||b.detach()),p&&(l(p,u=s(d(p),o)),k&&r&&t(p).parent().append(r))}else l(p,u=s(g.slice(0,m+1).join(f),o));return!0}function a(t,e){return t.innerHeight()>e.maxHeight}function s(e,i){for(;t.inArray(e.slice(-1),i.lastCharacter.remove)>-1;)e=e.slice(0,-1);return t.inArray(e.slice(-1),i.lastCharacter.noEllipsis)<0&&(e+=i.ellipsis),e}function r(t){return{width:t.innerWidth(),height:t.innerHeight()}}function l(t,e){t.innerText?t.innerText=e:t.nodeValue?t.nodeValue=e:t.textContent&&(t.textContent=e)}function d(t){return t.innerText?t.innerText:t.nodeValue?t.nodeValue:t.textContent?t.textContent:""}function p(t){do{t=t.previousSibling}while(t&&1!==t.nodeType&&3!==t.nodeType);return t}function c(e,i,n){var o,a=e&&e[0];if(a){if(!n){if(3===a.nodeType)return a;
3if(t.trim(e.text()))return c(e.contents().last(),i)}for(o=p(a);!o;){if((e=e.parent()).is(i)||!e.length)return!1;o=p(e[0])}if(o)return c(t(o),i)}return!1}function u(e,i){return!!e&&("string"==typeof e?!!(e=t(e,i)).length&&e:!!e.jquery&&e)}function h(t){for(var e=t.innerHeight(),i=["paddingTop","paddingBottom"],n=0,o=i.length;n<o;n++){var a=parseInt(t.css(i[n]),10);isNaN(a)&&(a=0),e-=a}return e}if(!t.fn.dotdotdot){t.fn.dotdotdot=function(e){if(0==this.length)return t.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){t(this).dotdotdot(e)});var o=this;o.data("dotdotdot")&&o.trigger("destroy.dot"),o.data("dotdotdot-style",o.attr("style")||""),o.css("word-wrap","break-word"),"nowrap"===o.css("white-space")&&o.css("white-space","normal"),o.bind_events=function(){return o.bind("update.dot",function(e,r){switch(o.removeClass("is-truncated"),e.preventDefault(),e.stopPropagation(),typeof l.height){case"number":l.maxHeight=l.height;break;case"function":l.maxHeight=l.height.call(o[0]);break;default:l.maxHeight=h(o)}l.maxHeight+=l.tolerance,void 0!==r&&(("string"==typeof r||"nodeType"in r&&1===r.nodeType)&&(r=t("<div />").append(r).contents()),r instanceof t&&(s=r)),(g=o.wrapInner('<div class="dotdotdot" />').children()).contents().detach().end().append(s.clone(!0)).find("br").replaceWith(" <br /> ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var p=!1,c=!1;return d.afterElement&&((p=d.afterElement.clone(!0)).show(),d.afterElement.detach()),a(g,l)&&(c="children"==l.wrap?i(g,l,p):n(g,o,g,l,p)),g.replaceWith(g.contents()),g=null,t.isFunction(l.callback)&&l.callback.call(o[0],c,s),d.isTruncated=c,c}).bind("isTruncated.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(o[0],d.isTruncated),d.isTruncated}).bind("originalContent.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(o[0],s),s}).bind("destroy.dot",function(t){t.preventDefault(),t.stopPropagation(),o.unwatch().unbind_events().contents().detach().end().append(s).attr("style",o.data("dotdotdot-style")||"").data("dotdotdot",!1)}),o},o.unbind_events=function(){return o.unbind(".dot"),o},o.watch=function(){if(o.unwatch(),"window"==l.watch){var e=t(window),i=e.width(),n=e.height();e.bind("resize.dot"+d.dotId,function(){i==e.width()&&n==e.height()&&l.windowResizeFix||(i=e.width(),n=e.height(),c&&clearInterval(c),c=setTimeout(function(){o.trigger("update.dot")},100))})}else p=r(o),c=setInterval(function(){if(o.is(":visible")){var t=r(o);p.width==t.width&&p.height==t.height||(o.trigger("update.dot"),p=t)}},500);return o},o.unwatch=function(){return t(window).unbind("resize.dot"+d.dotId),c&&clearInterval(c),o};var s=o.contents(),l=t.extend(!0,{},t.fn.dotdotdot.defaults,e),d={},p={},c=null,g=null;return l.lastCharacter.remove instanceof Array||(l.lastCharacter.remove=t.fn.dotdotdot.defaultArrays.lastCharacter.remove),l.lastCharacter.noEllipsis instanceof Array||(l.lastCharacter.noEllipsis=t.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),d.afterElement=u(l.after,o),d.isTruncated=!1,d.dotId=f++,o.data("dotdotdot",!0).bind_events().trigger("update.dot"),l.watch&&o.watch(),o},t.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},t.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" ","ã",",",";",".","!","?"],noEllipsis:[]}},t.fn.dotdotdot.debug=function(t){};var f=1,g=t.fn.html;t.fn.html=function(e){return void 0!=e&&!t.isFunction(e)&&this.data("dotdotdot")?this.trigger("update",[e]):g.apply(this,arguments)};var m=t.fn.text;t.fn.text=function(e){return void 0!=e&&!t.isFunction(e)&&this.data("dotdotdot")?(e=t("<div />").text(e).html(),this.trigger("update",[e])):m.apply(this,arguments)}}}(jQuery),function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}
3function o(e,i){t.fn[e]=function(o){if("string"==typeof o){for(var s=n.call(arguments,1),r=0,l=this.length;r<l;r++){var d=this[r],p=t.data(d,e);if(p)if(t.isFunction(p[o])&&"_"!==o.charAt(0)){var c=p[o].apply(p,s);if(void 0!==c)return c}else a("no such method '"+o+"' for "+e+" instance");else a("cannot call methods on "+e+" prior to initialization; attempted to call '"+o+"'")}return this}return this.each(function(){var n=t.data(this,e);n?(n.option(o),n._init()):(n=new i(this,o),t.data(this,e,n))})}}if(t){var a="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),o(t,e)},t.bridget}}var n=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i("object"==typeof exports?require("jquery"):t.jQuery)}(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var o=function(){};i.removeEventListener?o=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(o=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var a={bind:n,unbind:o};"function"==typeof define&&define.amd?define("eventie/eventie",a):"object"==typeof exports?module.exports=a:t.eventie=a}(window),function(t){function e(t){"function"==typeof t&&(e.isReady?t():s.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==a.readyState;e.isReady||i||n()}function n(){e.isReady=!0;for(var t=0,i=s.length;t<i;t++)(0,s[t])()}function o(o){return"complete"===a.readyState?n():(o.bind(a,"DOMContentLoaded",i),o.bind(a,"readystatechange",i),o.bind(t,"load",i)),e}var a=t.document,s=[];e.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],o):"object"==typeof exports?module.exports=o(require("eventie")):t.docReady=o(t.eventie)}(window),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,o=this,a=o.EventEmitter;n.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},n.addListener=function(t,i){var n,o=this.getListenersAsObject(t),a="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&-1===e(o[n],i)&&o[n].push(a?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,o,a=this.getListenersAsObject(t);for(o in a)a.hasOwnProperty(o)&&-1!==(n=e(a[o],i))&&a[o].splice(n,1);return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,i){var n,o,a=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)a.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?a.call(this,n,o):s.call(this,n,o));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if(t instanceof RegExp)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,o,a=this.getListenersAsObject(t);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].length;n--;)!0===(i=a[o][n]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1
3);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return o.EventEmitter=a,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:o.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof n[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,o=0,a=i.length;o<a;o++)if(e=i[o]+t,"string"==typeof n[e])return e}}var i="Webkit Moz ms Ms O".split(" "),n=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t,e){function i(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=s.length;e<i;e++)t[s[e]]=0;return t}function o(e){function o(){if(!c){c=!0;var n=t.getComputedStyle;if(l=function(){var t=n?function(t){return n(t,null)}:function(t){return t.currentStyle};return function(e){var i=t(e);return i||a("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),i}}(),d=e("boxSizing")){var o=document.createElement("div");o.style.width="200px",o.style.padding="1px 2px 3px 4px",o.style.borderStyle="solid",o.style.borderWidth="1px 2px 3px 4px",o.style[d]="border-box";var s=document.body||document.documentElement;s.appendChild(o);var r=l(o);p=200===i(r.width),s.removeChild(o)}}}function r(e,i){if(t.getComputedStyle||-1===i.indexOf("%"))return i;var n=e.style,o=n.left,a=e.runtimeStyle,s=a&&a.left;return s&&(a.left=e.currentStyle.left),n.left=i,i=n.pixelLeft,n.left=o,s&&(a.left=s),i}var l,d,p,c=!1;return function(t){if(o(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=l(t);if("none"===e.display)return n();var a={};a.width=t.offsetWidth,a.height=t.offsetHeight;for(var c=a.isBorderBox=!(!d||!e[d]||"border-box"!==e[d]),u=0,h=s.length;u<h;u++){var f=s[u],g=e[f];g=r(t,g);var m=parseFloat(g);a[f]=isNaN(m)?0:m}var _=a.paddingLeft+a.paddingRight,v=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,w=a.marginTop+a.marginBottom,b=a.borderLeftWidth+a.borderRightWidth,k=a.borderTopWidth+a.borderBottomWidth,$=c&&p,C=i(e.width);!1!==C&&(a.width=C+($?0:_+b));var T=i(e.height);return!1!==T&&(a.height=T+($?0:v+k)),a.innerWidth=a.width-(_+b),a.innerHeight=a.height-(v+k),a.outerWidth=a.width+y,a.outerHeight=a.height+w,a}}}var a="undefined"==typeof console?function(){}:function(t){console.error(t)},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],o):"object"==typeof exports?module.exports=o(require("desandro-get-style-property")):t.getSize=o(t.getStyleProperty)}(window),function(t){function e(t,e){return t[o](e)}function i(t){t.parentNode||document.createDocumentFragment().appendChild(t)}var n,o=function(){if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0,n=e.length;i<n;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();if(o){var a=e(document.createElement("div"),"div");n=a?e:function(t,n){return i(t),e(t,n)}}else n=function(t,e){i(t);for(var n=t.parentNode.querySelectorAll(e),o=0,a=n.length;o<a;o++)if(n[o]===t)return!0;return!1};"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return n}):"object"==typeof exports?module.exports=n:window.matchesSelector=n}(Element.prototype),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){for(var e in t)return!1;return null,!0}function n(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function o(t,o,a){function r(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=a("transition"),d=a("transform"),p=l&&d,c=!!a("perspective"),u={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[l],h=["transform","transition","transitionDuration","transitionProperty"],f=function(){for(var t={},e=0,i=h.length;e<i;e++){var n=h[e],o=a(n);o&&o!==n&&(t[n]=o)}return t}();e(r.prototype,t.prototype),r.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},r.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},r.prototype.getSize=function(){this.size=o(this.element)},r.prototype.css=function(t){var e=this.element.style;for(var i in t)e[f[i]||i]=t[i]},r.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,o=parseInt(t[i?"left":"right"],10),a=parseInt(t[n?"top":"bottom"],10);o=isNaN(o)?0:o,a=isNaN(a)?0:a;var r=this.layout.size;o-=i?r.paddingLeft:r.paddingRight,a-=n?r.paddingTop:r.paddingBottom,this.position.x=o,this.position.y=a},r.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};
3e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var g=c?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};r.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),a=parseInt(e,10),s=o===this.position.x&&a===this.position.y;if(this.setPosition(t,e),!s||this.isTransitioning){var r=t-i,l=e-n,d={},p=this.layout.options;r=p.isOriginLeft?r:-r,l=p.isOriginTop?l:-l,d.transform=g(r,l),this.transition({to:d,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},r.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},r.prototype.moveTo=p?r.prototype._transitionTo:r.prototype.goTo,r.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},r.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},r.prototype._transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var m=d&&n(d)+",opacity";r.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(u,this,!1))},r.prototype.transition=r.prototype[l?"_transition":"_nonTransition"],r.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},r.prototype.onotransitionend=function(t){this.ontransitionend(t)};var _={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};r.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=_[t.propertyName]||t.propertyName;delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this])}},r.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},r.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return r.prototype.removeTransitionStyles=function(){this.css(v)},r.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},r.prototype.remove=function(){if(l&&parseFloat(this.layout.options.transitionDuration)){var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()}else this.removeElem()},r.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},r.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},r.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},r}var a=t.getComputedStyle,s=a?function(t){return a(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],o):"object"==typeof exports?module.exports=o(require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property")):(t.Outlayer={},t.Outlayer.Item=o(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===c.call(t)}function n(t){var e=[];
3if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0,o=t.length;n<o;n++)e.push(t[n]);else e.push(t);return e}function o(t,e){var i=h(e,t);-1!==i&&e.splice(i,1)}function a(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}function s(i,s,c,h,f,g){function m(t,i){if("string"==typeof t&&(t=r.querySelector(t)),t&&u(t)){this.element=t,this.options=e({},this.constructor.defaults),this.option(i);var n=++_;this.element.outlayerGUID=n,v[n]=this,this._create(),this.options.isInitLayout&&this.layout()}else l&&l.error("Bad "+this.constructor.namespace+" element: "+t)}var _=0,v={};return m.namespace="outlayer",m.Item=g,m.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},e(m.prototype,c.prototype),m.prototype.option=function(t){e(this.options,t)},m.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},m.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},m.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0,a=e.length;o<a;o++){var s=new i(e[o],this);n.push(s)}return n},m.prototype._filterFindItemElements=function(t){t=n(t);for(var e=this.options.itemSelector,i=[],o=0,a=t.length;o<a;o++){var s=t[o];if(u(s))if(e){f(s,e)&&i.push(s);for(var r=s.querySelectorAll(e),l=0,d=r.length;l<d;l++)i.push(r[l])}else i.push(s)}return i},m.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},m.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},m.prototype._init=m.prototype.layout,m.prototype._resetLayout=function(){this.getSize()},m.prototype.getSize=function(){this.size=h(this.element)},m.prototype._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):u(n)&&(i=n),this[t]=i?h(i)[e]:n):this[t]=0},m.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},m.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var o=t[i];o.isIgnored||e.push(o)}return e},m.prototype._layoutItems=function(t,e){function i(){n.emitEvent("layoutComplete",[n,t])}var n=this;if(t&&t.length){this._itemsOn(t,"layout",i);for(var o=[],a=0,s=t.length;a<s;a++){var r=t[a],l=this._getItemLayoutPosition(r);l.item=r,l.isInstant=e||r.isLayoutInstant,o.push(l)}this._processLayoutQueue(o)}else i()},m.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},m.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},m.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},m.prototype._postLayout=function(){this.resizeContainer()},m.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},m.prototype._getContainerSize=p,m.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},m.prototype._itemsOn=function(t,e,i){for(var n=0,o=t.length,a=this,s=0,r=t.length;s<r;s++)t[s].on(e,function(){return++n===o&&i.call(a),!0})},m.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},m.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},m.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.
3concat(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];this.ignore(n)}}},m.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];o(n,this.stamps),this.unignore(n)}},m.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n(t)},m.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var i=this.stamps[t];this._manageStamp(i)}}},m.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},m.prototype._manageStamp=p,m.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=h(t);return{left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom}},m.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},m.prototype.bindResize=function(){this.isResizeBound||(i.bind(t,"resize",this),this.isResizeBound=!0)},m.prototype.unbindResize=function(){this.isResizeBound&&i.unbind(t,"resize",this),this.isResizeBound=!1},m.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},m.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.prototype.needsResizeLayout=function(){var t=h(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},m.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},m.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},m.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},m.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;i<e;i++)t[i].reveal()},m.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;i<e;i++)t[i].hide()},m.prototype.getItem=function(t){for(var e=0,i=this.items.length;e<i;e++){var n=this.items[e];if(n.element===t)return n}},m.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,n=t.length;i<n;i++){var o=t[i],a=this.getItem(o);a&&e.push(a)}return e}},m.prototype.remove=function(t){t=n(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,a=e.length;i<a;i++){var s=e[i];s.remove(),o(s,this.items)}}},m.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;e<i;e++)this.items[e].destroy();this.unbindResize();var n=this.element.outlayerGUID;delete v[n],delete this.element.outlayerGUID,d&&d.removeData(this.element,this.constructor.namespace)},m.data=function(t){var e=t&&t.outlayerGUID;return e&&v[e]},m.create=function(t,i){function n(){m.apply(this,arguments)}return Object.create?n.prototype=Object.create(m.prototype):e(n.prototype,m.prototype),n.prototype.constructor=n,n.defaults=e({},m.defaults),e(n.defaults,i),n.prototype.settings={},n.namespace=t,n.data=m.data,n.Item=function(){g.apply(this,arguments)},n.Item.prototype=new g,s(function(){for(var e=a(t),i=r.querySelectorAll(".js-"+e),o="data-"+e+"-options",s=0,p=i.length;s<p;s++){var c,u=i[s],h=u.getAttribute(o);try{c=h&&JSON.parse(h)}catch(t){l&&l.error("Error parsing "+o+" on "+u.nodeName.toLowerCase()+(u.id?"#"+u.id:"")+": "+t);continue}var f=new n(u,c);d&&d.data(u,t,f)}}),d&&d.bridget&&d.bridget(t,n),n},m.Item=g,m}var r=t.document,l=t.console,d=t.jQuery,p=function(){},c=Object.prototype.toString,u="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},h=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],s):"object"==typeof exports?module.exports=s(require("eventie"),require("doc-ready"),require("wolfy87-eventemitter"),require("get-size"),require("desandro-matches-selector"),require("./item")):t.Outlayer=s(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},n=t.create("masonry");
3return n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},n.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,a=o/n,s=n-o%n,r=s&&s<1?"round":"floor";a=Math[r](a),this.cols=Math.max(a,1)},n.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},n.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=e&&e<1?"round":"ceil",o=Math[n](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var a=this._getColGroup(o),s=Math.min.apply(Math,a),r=i(a,s),l={x:this.columnWidth*r,y:s},d=s+t.size.outerHeight,p=this.cols+1-a.length,c=0;c<p;c++)this.colYs[r+c]=d;return l},n.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},n.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this.options.isOriginLeft?n.left:n.right,a=o+i.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var r=Math.floor(a/this.columnWidth);r-=a%this.columnWidth?0:1,r=Math.min(this.cols-1,r);for(var l=(this.options.isOriginTop?n.top:n.bottom)+i.outerHeight,d=s;d<=r;d++)this.colYs[d]=Math.max(l,this.colYs[d])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},n.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},n}),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,o=this,a=o.EventEmitter;n.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},n.addListener=function(t,i){var n,o=this.getListenersAsObject(t),a="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&-1===e(o[n],i)&&o[n].push(a?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,o,a=this.getListenersAsObject(t);for(o in a)a.hasOwnProperty(o)&&-1!==(n=e(a[o],i))&&a[o].splice(n,1);return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,i){var n,o,a=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)a.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?a.call(this,n,o):s.call(this,n,o));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,o,a=this.getListenersAsObject(t);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].length;n--;)!0===(i=a[o][n]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1
3);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return o.EventEmitter=a,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var o=function(){};i.removeEventListener?o=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(o=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var a={bind:n,unbind:o};"function"==typeof define&&define.amd?define("eventie/eventie",a):t.eventie=a}(this),function(t,e){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(i,n){return e(t,i,n)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("eventie")):t.imagesLoaded=e(t,t.EventEmitter,t.eventie)}(window,function(t,e,i){function n(t,e){for(var i in e)t[i]=e[i];return t}function o(t){return"[object Array]"===u.call(t)}function a(t){var e=[];if(o(t))e=t;else if("number"==typeof t.length)for(var i=0,n=t.length;i<n;i++)e.push(t[i]);else e.push(t);return e}function s(t,e,i){if(!(this instanceof s))return new s(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=a(t),this.options=n({},this.options),"function"==typeof e?i=e:n(this.options,e),i&&this.on("always",i),this.getImages(),d&&(this.jqDeferred=new d.Deferred);var o=this;setTimeout(function(){o.check()})}function r(t){this.img=t}function l(t){this.src=t,h[t]=this}var d=t.jQuery,p=t.console,c=void 0!==p,u=Object.prototype.toString;s.prototype=new e,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;t<e;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);var n=i.nodeType;if(n&&(1===n||9===n||11===n))for(var o=i.querySelectorAll("img"),a=0,s=o.length;a<s;a++){var r=o[a];this.addImage(r)}}},s.prototype.addImage=function(t){var e=new r(t);this.images.push(e)},s.prototype.check=function(){var t=this,e=0,i=this.images.length;if(this.hasAnyBroken=!1,i)for(var n=0;n<i;n++){var o=this.images[n];o.on("confirm",function(n,o){return t.options.debug&&c&&p.log("confirm",n,o),t.progress(n),++e===i&&t.complete(),!0}),o.check()}else this.complete()},s.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit("progress",e,t),e.jqDeferred&&e.jqDeferred.notify&&e.jqDeferred.notify(e,t)})},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var e=this;setTimeout(function(){if(e.emit(t,e),e.emit("always",e),e.jqDeferred){var i=e.hasAnyBroken?"reject":"resolve";e.jqDeferred[i](e)}})},d&&(d.fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(d(this))}),(r.prototype=new e).check=function(){var t=h[this.img.src]||new l(this.img.src);if(t.isConfirmed)this.confirm(t.isLoaded,"cached was confirmed");else if(this.img.complete&&void 0!==this.img.naturalWidth)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var e=this;t.on("confirm",function(t,i){return e.confirm(t.isLoaded,i),!0}),t.check()}},r.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("confirm",this,e)};var h={};return l.prototype=new e,l.prototype.check=function(){if(!this.isChecked){var t=new Image;i.bind(t,"load",this),i.bind(t,"error",this),t.src=this.src,this.isChecked=!0}},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(t){this.confirm(!0,"onload"),this.unbindProxyEvents(t)},l.prototype.onerror=function(t){this.confirm(!1,"onerror"),this.unbindProxyEvents(t)},l.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit
3("confirm",this,e)},l.prototype.unbindProxyEvents=function(t){i.unbind(t.target,"load",this),i.unbind(t.target,"error",this)},s}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(t){var e,i,n,o,a,s,r=function(){},l=!!window.jQuery,d=t(window),p=function(t,i){e.ev.on("mfp"+t+".mfp",i)},c=function(e,i,n,o){var a=document.createElement("div");return a.className="mfp-"+e,n&&(a.innerHTML=n),o?i&&i.appendChild(a):(a=t(a),i&&a.appendTo(i)),a},u=function(i,n){e.ev.triggerHandler("mfp"+i,n),e.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),e.st.callbacks[i]&&e.st.callbacks[i].apply(e,t.isArray(n)?n:[n]))},h=function(i){return i===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=i),e.currTemplate.closeBtn},f=function(){t.magnificPopup.instance||((e=new r).init(),t.magnificPopup.instance=e)},g=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};r.prototype={constructor:r,init:function(){var i=navigator.appVersion;e.isIE7=-1!==i.indexOf("MSIE 7."),e.isIE8=-1!==i.indexOf("MSIE 8."),e.isLowIE=e.isIE7||e.isIE8,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.supportsTransition=g(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document),e.popupsCache={}},open:function(i){var o;if(!1===i.isObj){e.items=i.items.toArray(),e.index=0;var s,r=i.items;for(o=0;o<r.length;o++)if((s=r[o]).parsed&&(s=s.el[0]),s===i.el[0]){e.index=o;break}}else e.items=t.isArray(i.items)?i.items:[i.items],e.index=i.index||0;{if(!e.isOpen){e.types=[],a="",i.mainEl&&i.mainEl.length?e.ev=i.mainEl.eq(0):e.ev=n,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=c("bg").on("click.mfp",function(){e.close()}),e.wrap=c("wrap").attr("tabindex",-1).on("click.mfp",function(t){e._checkIfClose(t.target)&&e.close()}),e.container=c("container",e.wrap)),e.contentContainer=c("content"),e.st.preloader&&(e.preloader=c("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(o=0;o<l.length;o++){var f=l[o];f=f.charAt(0).toUpperCase()+f.slice(1),e["init"+f].call(e)}u("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(p("MarkupParse",function(t,e,i,n){i.close_replaceWith=h(n.type)}),a+=" mfp-close-btn-in"):e.wrap.append(h())),e.st.alignTop&&(a+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:d.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:n.height(),position:"absolute"}),e.st.enableEscapeKey&&n.on("keyup.mfp",function(t){27===t.keyCode&&e.close()}),d.on("resize.mfp",function(){e.updateSize()}),e.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&e.wrap.addClass(a);var g=e.wH=d.height(),m={};if(e.fixedContentPos&&e._hasScrollBar(g)){var _=e._getScrollbarSize();_&&(m.marginRight=_)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):m.overflow="hidden");var v=e.st.mainClass;return e.isIE7&&(v+=" mfp-ie7"),v&&e._addClassToMFP(v),e.updateItemHTML(),u("BuildControls"),t("html").css(m),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP("mfp-ready"),e._setFocus()):e.bgOverlay.addClass("mfp-ready"),n.on("focusin.mfp",e._onFocusIn)},16),e.isOpen=!0,e.updateSize(g),u("Open"),i}e.updateItemHTML()}},close:function(){e.isOpen&&(u("BeforeClose"),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP("mfp-removing"),setTimeout(function(){e._close()},e.st.removalDelay)):e._close())},_close:function(){u("Close");var i="mfp-removing mfp-ready ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var o={marginRight:""};e.isIE7?t("body, html").css("overflow",""):o.overflow="",t("html").css(o)}n.off("keyup.mfp focusin.mfp"),e.ev.off(".mfp"),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,u("AfterClose")},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.wrap.css("height",n),e.wH=n}else e.wH=t||d.height();e.fixedContentPos||e.wrap.css("height",e.wH),u("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var n=i.type;if(u("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=i,!e.currTemplate[n]){var a=!!e.st[n]&&e.st[n].markup;u("FirstMarkupParse",a),e.currTemplate[n]=!a||t(a)}o&&o!==i.type&&e.container.removeClass("mfp-"+o+"-holder");var s=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,e.currTemplate[n]);
3e.appendContent(s,n),i.preloaded=!0,u("Change",i),o=i.type,e.container.prepend(e.contentContainer),u("AfterChange")},appendContent:function(t,i){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[i]?e.content.find(".mfp-close").length||e.content.append(h()):e.content=t:e.content="",u("BeforeAppend"),e.container.addClass("mfp-"+i+"-holder"),e.contentContainer.append(e.content)},parseEl:function(i){var n,o=e.items[i];if(o.tagName?o={el:t(o)}:(n=o.type,o={data:o,src:o.src}),o.el){for(var a=e.types,s=0;s<a.length;s++)if(o.el.hasClass("mfp-"+a[s])){n=a[s];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=n||e.st.type||"inline",o.index=i,o.parsed=!0,e.items[i]=o,u("ElementParse",o),e.items[i]},addGroup:function(t,i){var n=function(n){n.mfpEl=this,e._openClick(n,t,i)};i||(i={});var o="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(o).on(o,n)):(i.isObj=!1,i.delegate?t.off(o).on(o,i.delegate,n):(i.items=t,t.off(o).on(o,n)))},_openClick:function(i,n,o){if((void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var a=void 0!==o.disableOn?o.disableOn:t.magnificPopup.defaults.disableOn;if(a)if(t.isFunction(a)){if(!a.call(e))return!0}else if(d.width()<a)return!0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),o.el=t(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),e.o
3pen(o)}},updateStatus:function(t,n){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),n||"loading"!==t||(n=e.st.tLoading);var o={status:t,text:n};u("UpdateStatus",o),t=o.status,n=o.text,e.preloader.html(n),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass("mfp-prevent-close")){var n=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(n&&o)return!0;if(!e.content||t(i).hasClass("mfp-close")||e.preloader&&i===e.preloader[0])return!0;if(i===e.content[0]||t.contains(e.content[0],i)){if(n)return!0}else if(o&&t.contains(document,i))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?n.height():document.body.scrollHeight)>(t||d.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){if(i.target!==e.wrap[0]&&!t.contains(e.wrap[0],i.target))return e._setFocus(),!1},_parseMarkup:function(e,i,n){var o;n.data&&(i=t.extend(n.data,i)),u("MarkupParse",[e,i,n]),t.each(i,function(t,i){if(void 0===i||!1===i)return!0;if((o=t.split("_")).length>1){var n=e.find(".mfp-"+o[0]);if(n.length>0){var a=o[1];"replaceWith"===a?n[0]!==i[0]&&n.replaceWith(i):"img"===a?n.is("img")?n.attr("src",i):n.replaceWith('<img src="'+i+'" class="'+n.attr("class")+'" />'):n.attr(o[1],i)}}else e.find(".mfp-"+t).html(i)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:r.prototype,modules:[],open:function(e,i){return f(),e=e?t.extend(!0,{},e):{},e.isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},t.fn.magnificPopup=function(i){f();var n=t(this);if("string"==typeof i)if("open"===i){var o,a=l?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;a.items?o=a.items[s]:(o=n,a.delegate&&(o=o.find(a.delegate)),o=o.eq(s)),e._openClick({mfpEl:o},n,a)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),l?n.data("magnificPopup",i):n[0].magnificPopup=i,e.addGroup(n,i);return n};var m,_,v,y=function(){v&&(_.after(v.addClass(m)).detach(),v=null)};t.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push("inline"),p("Close.inline",function(){y()})},getInline:function(i,n){if(y(),i.src){var o=e.st.inline,a=t(i.src);if(a.length){var s=a[0].parentNode;s&&s.tagName&&(_||(m=o.hiddenClass,_=c(m),m="mfp-"+m),v=a.after(_).detach().removeClass(m)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),a=t("<div>");return i.inlineElement=a,a}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var w,b=function(){w&&t(document.body).removeClass(w)},k=function(){b(),e.req&&e.req.abort()};t.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push("ajax"),w=e.st.ajax.cursor,p("Close.ajax",k),p("BeforeChange.ajax",k)},getAjax:function(i){w&&t(document.body).addClass(w),e.updateStatus("loading");var n=t.extend({url:i.src,success:function(n,o,a){var s={data:n,xhr:a};u("ParseAjax",s),e.appendContent(t(s.data),"ajax"),i.finished=!0,b(),e._setFocus(),setTimeout(function(){e.wrap.addClass("mfp-ready")},16),e.updateStatus("ready"),u("AjaxContentAdded")},error:function(){b(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var $,C=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;
3var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=e.st.image,n=".image";e.types.push("image"),p("Open"+n,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),p("Close"+n,function(){i.cursor&&t(document.body).removeClass(i.cursor),d.off("resize.mfp")}),p("Resize"+n,e.resizeImage),e.isLowIE&&p("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,$&&clearInterval($),t.isCheckingImgSize=!1,u("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],o=function(a){$&&clearInterval($),$=setInterval(function(){n.naturalWidth>0?e._onImageHasSize(t):(i>200&&clearInterval($),3===++i?o(10):40===i?o(50):100===i&&o(500))},a)};o(1)},getImage:function(i,n){var o=0,a=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,u("ImageLoadComplete")):++o<200?setTimeout(a,100):s())},s=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",r.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},r=e.st.image,l=n.find(".mfp-img");if(l.length){var d=document.createElement("img");d.className="mfp-img",i.el&&i.el.find("img").length&&(d.alt=i.el.find("img").attr("alt")),i.img=t(d).on("load.mfploader",a).on("error.mfploader",s),d.src=i.src,l.is("img")&&(i.img=i.img.clone()),(d=i.img[0]).naturalWidth>0?i.hasSize=!0:d.width||(i.hasSize=!1)}return e._parseMarkup(n,{title:C(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?($&&clearInterval($),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",r.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var T,S=function(){return void 0===T&&(T=void 0!==document.createElement("p").style.MozTransform),T};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var o,a,s=i.duration,r=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return o["-webkit-"+a]=o["-moz-"+a]=o["-o-"+a]=o[a]=n,e.css(o),e},l=function(){e.content.css("visibility","visible")};p("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void l();(a=r(t)).css(e._getOffset()),e.wrap.append(a),o=setTimeout(function(){a.css(e._getOffset(!0)),o=setTimeout(function(){l(),setTimeout(function(){a.remove(),t=a=null,u("ZoomAnimationEnded")},16)},s)},16)}}),p("BeforeClose"+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=s,!t){if(!(t=e._getItemToZoom()))return;a=r(t)}a.css(e._getOffset(!0)),e.wrap.append(a),e.content.css("visibility","hidden"),setTimeout(function(){a.css(e._getOffset())},16)}}),p("Close"+n,function(){e._allowZoom()&&(l(),a&&a.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n,o=(n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),a=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-a;var r={width:n.width(),height:(l?n.innerHeight():n[0].offsetHeight)-s-a};return S()?r["-moz-transform"]=r.transform="translate("+o.left+"px,"+o.top+"px)":(r.left=o.left,r.top=o.top),r}}});var x=function(t){if(e.currTemplate.iframe){var i=e.currTemplate.iframe.find("iframe");i.length&&(t||(i[0].src="//about:blank"),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule("iframe",{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push("iframe"),p("BeforeChange",function(t,e,
3i){e!==i&&("iframe"===e?x():"iframe"===i&&x(!0))}),p("Close.iframe",function(){x()})},getIframe:function(i,n){var o=i.src,a=e.st.iframe;t.each(a.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1});var s={};return a.srcAction&&(s[a.srcAction]=o),e._parseMarkup(n,s,i),e.updateStatus("ready"),n}}});var A=function(t){var i=e.items.length;return t>i-1?t-i:t<0?i+t:t},D=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,o=".mfp-gallery",s=Boolean(t.fn.mfpFastClick);if(e.direction=!0,!i||!i.enabled)return!1;a+=" mfp-gallery",p("Open"+o,function(){i.navigateByImgClick&&e.wrap.on("click"+o,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}),n.on("keydown"+o,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),p("UpdateStatus"+o,function(t,i){i.text&&(i.text=D(i.text,e.currItem.index,e.items.length))}),p("MarkupParse"+o,function(t,n,o,a){var s=e.items.length;o.counter=s>1?D(i.tCounter,a.index,s):""}),p("BuildControls"+o,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),a=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close"),r=s?"mfpFastClick":"click";o[r](function(){e.prev()}),a[r](function(){e.next()}),e.isIE7&&(c("b",o[0],!1,!0),c("a",o[0],!1,!0),c("b",a[0],!1,!0),c("a",a[0],!1,!0)),e.container.append(o.add(a))}}),p("Change"+o,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),p("Close"+o,function(){n.off(o),e.wrap.off("click"+o),e.arrowLeft&&s&&e.arrowLeft.add(e.arrowRight).destroyMfpFastClick(),e.arrowRight=e.arrowLeft=null})},next:function(){e.direction=!0,e.index=A(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=A(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),o=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=A(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),u("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,u("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});t.magnificPopup.registerModule("retina",{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;(i=isNaN(i)?i():i)>1&&(p("ImageHasSize.retina",function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}
3),p("ElementParse.retina",function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),function(){var e="ontouchstart"in window,i=function(){d.off("touchmove"+n+" touchend"+n)},n=".mfpFastClick";t.fn.mfpFastClick=function(o){return t(this).each(function(){var a,s=t(this);if(e){var r,l,p,c,u,h;s.on("touchstart"+n,function(t){c=!1,h=1,u=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],l=u.clientX,p=u.clientY,d.on("touchmove"+n,function(t){u=t.originalEvent?t.originalEvent.touches:t.touches,h=u.length,u=u[0],(Math.abs(u.clientX-l)>10||Math.abs(u.clientY-p)>10)&&(c=!0,i())}).on("touchend"+n,function(t){i(),c||h>1||(a=!0,t.preventDefault(),clearTimeout(r),r=setTimeout(function(){a=!1},1e3),o())})})}s.on("click"+n,function(){a||o()})})},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+n+" click"+n),e&&d.off("touchmove"+n+" touchend"+n)}}(),f()}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(i,n){var o,a,s,r=this;if(r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="previous">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="next">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return'<button type="button" data-role="none">'+(e+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.hidden="hidden",r.paused=!1,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=t(i),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,o=t(i).data("slick")||{},r.options=t.extend({},r.defaults,o,n),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,(a=r.options.responsive||null)&&a.length>-1){r.respondTo=r.options.respondTo||"window";for(s in a)a.hasOwnProperty(s)&&(r.breakpoints.push(a[s].breakpoint),r.breakpointSettings[a[s].breakpoint]=a[s].settings);r.breakpoints.sort(function(t,e){return!0===r.options.mobileFirst?t-e:e-t})}void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=t.proxy(r.autoPlay,r),r.autoPlayClear=t.proxy(r.autoPlayClear,r),r.changeSlide=t.proxy(r.changeSlide,r),r.clickHandler=t.proxy(r.clickHandler,r),r.selectHandler=t.proxy(r.selectHandler,r),r.setPosition=t.proxy(r.setPosition,r),r.swipeHandler=t.proxy(r.swipeHandler,r),r.dragHandler=t.proxy(r.dragHandler,r),r.keyHandler=t.proxy(r.keyHandler,r),r.autoPlayIterator=t.proxy(r.autoPlayIterator,r),r.instanceUid=e++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.init(!0),r.checkResponsive(!0)}}()).prototype.addSlide=e.prototype.slickAdd=function(e,i,n){var o=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):n?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):!0===n?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),o.$slidesCache=o.$slides,o.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var n={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(e=-e),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),!1===o.options.vertical?(n[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(n)):(n[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),!1===o.options.vertical?n[o.animType]="translate3d("+e+"px, 0px, 0px)":n[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(n),i&&setTimeout(function(){o.disableTransition(),i.call()},o.options.speed))},e.prototype.asNavFor=function(e){var i=this,n=i.options.asNavFor;n&&null!==n&&(n=t(n).not(i.$slider)),null!==n&&"object"==typeof n&&n.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer),t.slideCount>t.options.slidesToShow&&!0!==t.paused&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this;!1===t.options.infinite?1===t.direction?(t.currentSlide+1===t.slideCount-1&&(t.direction=0),t.slideHandler(t.currentSlide+t.options.slidesToScroll)):(t.currentSlide-1==0&&(t.direction=1),t.slideHandler(t.currentSlide-t.options.slidesToScroll)):t.slideHandler(t.currentSlide+t.options.slidesToScroll)},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow=t(e.options.prevArrow),e.$nextArrow=t(e.options.nextArrow),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.appendTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled"))},e.prototype.buildDots=function(){var e,i,n=this;if(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(i='<ul class="'+n.options.dotsClass+'">',e=0;e<=n.getDotCount();e+=1)i+="<li>"+n.options.customPaging.call(this,n,e)+"</li>";i+="</ul>",n.$dots=t(i).appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}),e.$slidesCache=e.$slides,e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),!0===e.options.accessibility&&e.$list.prop("tabIndex",0),e.setSlideClasses("number"==typeof this.currentSlide?this.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,o,a,s,r=this;if(n=document.createDocumentFragment(),a=r.$slider.children(),r.options.rows>1){for(s=r.options.slidesPerRow*r.options.rows,o=Math.ceil(a.length/s),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<r.options.rows;e++){var d=document.createElement("div");for(i=0;i<r.options.slidesPerRow;i++){var p=t*s+(e*r.options.slidesPerRow+i);a.get(p)&&d.appendChild(a.get(p))}l.appendChild(d)}n.appendChild(l)}r.$slider.html(n),r.$slider.children().children().children().css({width:100/r.o
3ptions.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e){var i,n,o,a=this,s=!1,r=a.$slider.width(),l=window.innerWidth||t(window).width();if("window"===a.respondTo?o=l:"slider"===a.respondTo?o=r:"min"===a.respondTo&&(o=Math.min(l,r)),a.originalSettings.responsive&&a.originalSettings.responsive.length>-1&&null!==a.originalSettings.responsive){n=null;for(i in a.breakpoints)a.breakpoints.hasOwnProperty(i)&&(!1===a.originalSettings.mobileFirst?o<a.breakpoints[i]&&(n=a.breakpoints[i]):o>a.breakpoints[i]&&(n=a.breakpoints[i]));null!==n?null!==a.activeBreakpoint?n!==a.activeBreakpoint&&(a.activeBreakpoint=n,"unslick"===a.breakpointSettings[n]?a.unslick(n):(a.options=t.extend({},a.originalSettings,a.breakpointSettings[n]),!0===e&&(a.currentSlide=a.options.initialSlide),a.refresh(e)),s=n):(a.activeBreakpoint=n,"unslick"===a.breakpointSettings[n]?a.unslick(n):(a.options=t.extend({},a.originalSettings,a.breakpointSettings[n]),!0===e&&(a.currentSlide=a.options.initialSlide),a.refresh(e)),s=n):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===e&&(a.currentSlide=a.options.initialSlide),a.refresh(e),s=n),e||!1===s||a.$slider.trigger("breakpoint",[a,s])}},e.prototype.changeSlide=function(e,i){var n,o,a,s=this,r=t(e.target);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),a=s.slideCount%s.options.slidesToScroll!=0,n=a?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":o=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,i);break;case"next":o=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,i);break;case"index":var l=0===e.data.index?0:e.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(l),!1,i),r.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(e=this.getNavigableIndexes(),i=0,t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide),!0===e.options.pauseOnDotsHover&&!0===e.options.autoplay&&t("li",e.$dots).off("mouseenter.slick",t.proxy(e.setPaused,e,!0)).off("mouseleave.slick",t.proxy(e.setPaused,e,!1))),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
3slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.$list.off("mouseenter.slick",t.proxy(e.setPaused,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.setPaused,e,!1)),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.html(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&"object"!=typeof i.options.prevArrow&&i.$prevArrow.remove(),i.$nextArrow&&"object"!=typeof i.options.nextArrow&&i.$nextArrow.remove(),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:1e3}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:1e3}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++n,e=i+t.options.slidesToShow,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToShow,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n-1},e.prototype.getLeft=function(t){var e,i,n,o=this,a=0;return o.slideOffset=0,i=o.$slides.first().outerHeight(),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,a=i*o.options.slidesToShow*-1),o.slideCount%o.options.slidesToScroll!=0&&t+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(t>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(t-o.slideCount))*o.slideWidth*-1,a=(o.options.slidesToShow-(t-o.slideCount))*i*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,a=o.slideCount%o.options.slidesToScroll*i*-1))):t+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(t+o.options.slidesToShow-o.slideCount)*o.slideWidth,a=(t+o.options.slidesToShow-o.slideCount)*i),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,a=0),!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),e=!1===o.options.vertical?t*o.slideWidth*-1+o.slideOffset:t*i*-1+a,!0===o.options.variableWidth&&(e=(n=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow))[0]?-1*n[0].offsetLeft:0,!0===o.options.centerMode&&(e=(n=!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(t):o.$slideTrack.children(".slick-slide").eq(t+o.options.slidesToShow+1))[0]?-1*n[0].offsetLeft:0,e+=(o.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,o=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)o.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(o,a){if(a.offsetLeft-i+t(a).outerWidth()/2>-1*n.swipeLeft)return e=a,!1}),Math.abs(t(e).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
vendor: 1,211 bytes, line 3
3parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots()),e&&i.$slider.trigger("init",[i])},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.on("click.slick",{message:"next"},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&!0===e.options.autoplay&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.setPaused,e,!0)).on("mouseleave.slick",t.proxy(e.setPaused,e,!1))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
3,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),e.$list.on("mouseenter.slick",t.proxy(e.setPaused,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.setPaused,e,!1)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show(),!0===t.options.autoplay&&t.autoPlay()},e.prototype.keyHandler=function(t){var e=this;37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:"next"}})},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),n=document.createElement("img");n.onload=function(){e.animate({opacity:1},200)},n.src=i,e.css({opacity:0}).attr("src",i).removeAttr("data-lazy").removeClass("slick-loading")})}var i,n,o=this;!0===o.options.centerMode?!0===o.options.infinite?n=(i=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(i=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),n=o.options.slidesToShow/2+1+2+o.currentSlide):(n=(i=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide)+o.options.slidesToShow,!0===o.options.fade&&(i>0&&i--,n<=o.slideCount&&n++)),e(o.$slider.find(".slick-slide").slice(i,n)),o.slideCount<=o.options.slidesToShow?e(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?e(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&e(o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.paused=!1,t.autoPlay()},e.prototype.postSlide=function(t){var e=this;e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,!0===e.options.autoplay&&!1===e.paused&&e.autoPlay()},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(){var e,i=this;t("img[data-lazy]",i.$slider).length>0&&(e=t("img[data-lazy]",i.$slider).first()).attr("src",e.attr("data-lazy")).removeClass("slick-loading").load(function(){e.removeAttr("data-lazy"),i.progressiveLazyLoad(),!0===i.options.adaptiveHeight&&i.setPosition()}).error(function(){e.removeAttr("data-lazy"),i.progressiveLazyLoad()})},e.prototype.refresh=function(e){var i=this,n=i.currentSlide;i.destroy(!0),t.extend(i,i.initials),i.init(),e||i.changeSlide({data:{message:"index",index:n}},!1)},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses(0),e.setPosition(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))}
3,e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(t).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},e.prototype.setCSS=function(t){var e,i,n=this,o={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",o[n.positionProp]=t,!1===n.transformsEnabled?n.$slideTrack.css(o):(o={},!1===n.cssTransitions?(o[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(o)):(o[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(o)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(n,o){e=i.slideWidth*n*-1,!0===i.options.rtl?t(o).css({position:"relative",right:e,top:0,zIndex:800,opacity:0}):t(o).css({position:"relative",left:e,top:0,zIndex:800,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:900,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(t,e,i){var n=this;n.options[t]=e,!0===i&&(n.unload(),n.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,n,o,a=this;a.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden","true").removeClass("slick-center"),i=a.$slider.find(".slick-slide"),!0===a.options.centerMode?(e=Math.floor(a.options.slidesToShow/2),!0===a.options.infinite&&(t>=e&&t<=a.slideCount-1-e?a.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=a.options.slidesToShow+t,i.slice(n-e+1,n+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-a.options.slidesToShow).addClass("slick-center"):t===a.slideCount-1&&i.eq(a.options.slidesToShow).addClass("slick-center")),a.$slides.eq(t).addClass("slick-center")):t>=0&&t<=a.slideCount-a.options.slidesToShow?a.$slides.slice(t,t+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=a.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=a.slideCount%a.options.slidesToShow,n=!0===a.options.infinite?a.options.slidesToShow+t:t,a.options.slidesToShow==a.options.slidesToScroll&&a.slideCount-t<a.options.slidesToShow?i.slice(n-(a.options.slidesToShow-o),n+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===a.options.lazyLoad&&a.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(i=null,o.slideCount>o.options.slidesToShow)){for(n=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-n;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;e<n;e+=1)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.setPaused=function(t){var e=this;!0===e.options.autoplay&&!0===e.options.pauseOnHover&&(e.paused=t,t?e.autoPlayClear():e.autoPlay())},e.prototype.selectHandler=function(e){var i=this,n=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(n.attr("data-slick-index"));if(o||(o=0),i.slideCount<=i.options.slidesToShow)return i.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden","true"),i.$slides.eq(o).addClass("slick-active").attr("aria-hidden","false"),!0===i.options.centerMode&&(i.$slider.find(".slick-slide").removeClass("slick-center"),i.$slides.eq(o).addClass("slick-center")),void i.asNavFor(o);i.slideHandler(o)}
3,e.prototype.slideHandler=function(t,e,i){var n,o,a,s=null,r=this;if(e=e||!1,(!0!==r.animating||!0!==r.options.waitForAnimate)&&!(!0===r.options.fade&&r.currentSlide===t||r.slideCount<=r.options.slidesToShow))if(!1===e&&r.asNavFor(t),n=t,s=r.getLeft(n),a=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?a:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(t<0||t>r.getDotCount()*r.options.slidesToScroll))!1===r.options.fade&&(n=r.currentSlide,!0!==i?r.animateSlide(a,function(){r.postSlide(n)}):r.postSlide(n));else if(!1===r.options.infinite&&!0===r.options.centerMode&&(t<0||t>r.slideCount-r.options.slidesToScroll))!1===r.options.fade&&(n=r.currentSlide,!0!==i?r.animateSlide(a,function(){r.postSlide(n)}):r.postSlide(n));else{if(!0===r.options.autoplay&&clearInterval(r.autoPlayTimer),o=n<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+n:n>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:n-r.slideCount:n,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,o]),r.currentSlide,r.currentSlide=o,r.setSlideClasses(r.currentSlide),r.updateDots(),r.updateArrows(),!0===r.options.fade)return!0!==i?r.fadeSlide(o,function(){r.postSlide(o)}):r.postSlide(o),void r.animateHeight();!0!==i?r.animateSlide(s,function(){r.postSlide(o)}):r.postSlide(o)}},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0?!1===o.options.rtl?"left":"right":n<=360&&n>=315?!1===o.options.rtl?"left":"right":n>=135&&n<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?n>=35&&n<=135?"left":"right":"vertical"},e.prototype.swipeEnd=function(t){var e,i=this;if(i.dragging=!1,i.shouldClick=!(i.touchObject.swipeLength>10),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe)switch(i.swipeDirection()){case"left":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.slideHandler(e),i.currentDirection=0,i.touchObject={},i.$slider.trigger("swipe",[i,"left"]);break;case"right":e=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.slideHandler(e),i.currentDirection=1,i.touchObject={},i.$slider.trigger("swipe",[i,"right"])}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,n,o,a,s=this;return a=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!s.dragging||a&&1!==a.length)&&(e=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==a?a[0].pageX:t.clientX,s.touchObject.curY=void 0!==a?a[0].pageY:t.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2)))),"vertical"!==(i=s.swipeDirection())?(void 0!==t.originalEvent&&s.touchObject.swipeLength>4&&t.preventDefault(),o=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(o=s.touchObject.curY>s.touchObject.startY?1:-1),n=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,!1===s.options.infinite&&(0===s.currentSlide&&"right"===i||s.currentSlide>=s.getDotCount()&&"left"===i)&&(n=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=e+n*o:s.swipeLeft=e+n*(s.$list.height()/s.listWidth)*o,!0===s.options.verticalSwiping&&(s.swipeLeft=e+n*o),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))):void 0)},e.prototype.swipeStart=function(t){var e,i=this;if(1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&"object"!=typeof e.o
3ptions.prevArrow&&e.$prevArrow.remove(),e.$nextArrow&&"object"!=typeof e.options.nextArrow&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&!0!==t.options.infinite&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.removeClass("slick-disabled"),t.$nextArrow.removeClass("slick-disabled"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled"),t.$nextArrow.removeClass("slick-disabled")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled"),t.$prevArrow.removeClass("slick-disabled")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled"),t.$prevArrow.removeClass("slick-disabled")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var t=this;document[t.hidden]?(t.paused=!0,t.autoPlayClear()):!0===t.options.autoplay&&(t.paused=!1,t.autoPlay())},t.fn.slick=function(){var t,i=this,n=arguments[0],o=Array.prototype.slice.call(arguments,1),a=i.length,s=0;for(s;s<a;s++)if("object"==typeof n||void 0===n?i[s].slick=new e(i[s],n):t=i[s].slick[n].apply(i[s].slick,o),void 0!==t)return t;return i}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=Array.prototype.slice,i=Array.prototype.splice,n={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1},o=t(window),a=t(document),s=[],r=o.height(),l=function(){for(var e=o.scrollTop(),i=a.height(),n=i-r,l=e>n?n-e:0,d=0,p=s.length;d<p;d++){var c=s[d],u=c.stickyWrapper.offset().top-c.topSpacing-l;if(c.stickyWrapper.css("height",c.stickyElement.outerHeight()),e<=u)null!==c.currentTop&&(c.stickyElement.css({width:"",position:"",top:""}),c.stickyElement.parent().removeClass(c.className),c.stickyElement.trigger("sticky-end",[c]),c.currentTop=null);else{var h=i-c.stickyElement.outerHeight()-c.topSpacing-c.bottomSpacing-e-l;if(h<0?h+=c.topSpacing:h=c.topSpacing,c.currentTop!==h){var f;c.getWidthFrom?f=t(c.getWidthFrom).width()||null:c.widthFromWrapper&&(f=c.stickyWrapper.width()),null==f&&(f=c.stickyElement.width()),c.stickyElement.css("width",f).css("position","fixed").css("top",h),c.stickyElement.parent().addClass(c.className),null===c.currentTop?c.stickyElement.trigger("sticky-start",[c]):c.stickyElement.trigger("sticky-update",[c]),c.currentTop===c.topSpacing&&c.currentTop>h||null===c.currentTop&&h<c.topSpacing?c.stickyElement.trigger("sticky-bottom-reached",[c]):null!==c.currentTop&&h===c.topSpacing&&c.currentTop<h&&c.stickyElement.trigger("sticky-bottom-unreached",[c]),c.currentTop=h}}}},d=function(){r=o.height();for(var e=0,i=s.length;e<i;e++){var n=s[e],a=null;n.getWidthFrom?n.responsiveWidth&&(a=t(n.getWidthFrom).width()):n.widthFromWrapper&&(a=n.stickyWrapper.width()),null!=a&&n.stickyElement.css("width",a)}},p={init:function(e){var i=t.extend({},n,e);return this.each(function(){var e=t(this),o=e.attr("id"),a=e.outerHeight(),r=o?o+"-"+n.wrapperClassName:n.wrapperClassName,l=t("<div></div>").attr("id",r).addClass(i.wrapperClassName);e.wrapAll(l);var d=e.parent();i.center&&d.css({width:e.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===e.css("float")&&e.css({float:"none"}).parent().css({float:"right"}),d.css("height",a),i.stickyElement=e,i.stickyWrapper=d,i.currentTop=null,
3s.push(i)})},update:l,unstick:function(e){return this.each(function(){for(var e=this,n=t(e),o=-1,a=s.length;a-- >0;)s[a].stickyElement.get(0)===e&&(i.call(s,a,1),o=a);-1!==o&&(n.unwrap(),n.css({width:"",position:"",top:"",float:""}))})}};window.addEventListener?(window.addEventListener("scroll",l,!1),window.addEventListener("resize",d,!1)):window.attachEvent&&(window.attachEvent("onscroll",l),window.attachEvent("onresize",d)),t.fn.sticky=function(i){return p[i]?p[i].apply(this,e.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.sticky"):p.init.apply(this,arguments)},t.fn.unstick=function(i){return p[i]?p[i].apply(this,e.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.sticky"):p.unstick.apply(this,arguments)},t(function(){setTimeout(l,0)})}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(0,function(t){function e(t){this.$container,this.constraints=null,this.__$tooltip,this.__init(t)}function i(e,i){var n=!0;return t.each(e,function(t,o){if(void 0===i[t]||e[t]!==i[t])return n=!1,!1}),n}function n(e){var i=e.attr("id"),n=i?s.window.document.getElementById(i):null;return n?n===e[0]:t.contains(s.window.document.body,e[0])}var o={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},a="undefined"!=typeof window?window:null,s={hasTouchCapability:!(!a||!("ontouchstart"in a||a.DocumentTouch&&a.document instanceof a.DocumentTouch||a.navigator.maxTouchPoints)),hasTransitions:function(){if(!a)return!1;var t=(a.document.body||a.document.documentElement).style,e="transition",i=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t[e])return!0;e=e.charAt(0).toUpperCase()+e.substr(1);for(var n=0;n<i.length;n++)if("string"==typeof t[i[n]+e])return!0;return!1}(),IE:!1,semVer:"4.1.8",window:a},r=function(){this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__instancesLatestArr=[],this.__plugins={},this._env=s};r.prototype={__bridge:function(e,i,n){if(!i[n]){var a=function(){};a.prototype=e;var s=new a;s.__init&&s.__init(i),t.each(e,function(t,e){0!=t.indexOf("__")&&(i[t]?o.debug&&console.log("The "+t+" method of the "+n+" plugin conflicts with another plugin or native methods"):(i[t]=function(){return s[t].apply(s,Array.prototype.slice.apply(arguments))},i[t].bridged=s))}),i[n]=s}return this},__setWindow:function(t){return s.window=t,this},_getRuler:function(t){return new e(t)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(e){var i=this;if("string"==typeof e){var n=e,o=null;return n.indexOf(".")>0?o=i.__plugins[n]:t.each(i.__plugins,function(t,e){if(e.name.substring(e.name.length-n.length-1)=="."+n)return o=e,!1}),o}if(e.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return i.__plugins[e.name]=e,e.core&&i.__bridge(e.core,i,e.name),this},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},instances:function(e){var i=[];return t(e||".tooltipstered").each(function(){var e=t(this),n=e.data("tooltipster-ns");n&&t.each(n,function(t,n){i.push(e.data(n))})}),i},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(e){return t((e?e+" ":"")+".tooltipstered").toArray()},setDefaults:function(e){return t.extend(o,e),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.tooltipster=new r,t.Tooltipster=function(e,i){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__destroying=!1,this.__$emitterPrivate=t({}),this.__$emitterPublic=t({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(e,i)},t.Tooltipster.prototype={__init:function(e,i){var n=this;if(n._$origin=t(e),n.__options=t.extend(!0,{},o,i),n.__optionsFormat(),!s.IE||s.IE>=n.__options.IEmin){var a=null;if(void 0===n._$origin.data("tooltipster-initialTitle")&&(void 0===(a=n._$origin.attr("title"))&&(a=null),n._$origin.data("tooltipster-initialTitle",a)),null!==n.__options.content)n.__contentSet(n.__options.content);else{var r,l=n._$origin.attr("data-tooltip-content");l&&(r=t(l)),r&&r[0]?n.__contentSet(r.first()):n.__contentSet(a)}n._$origin.removeAttr("title").addClass("tooltipstered"),n.__prepareOrigin(),n.__prepareGC(),t.each(n.__options.plugins,function(t,e){n._plug(e)}),s.hasTouchCapability&&t(s.window.document.body).on("touchmove."+n.__namespace+"-triggerOpen",function(t){n._touchRecordEvent(t)}),n._on("created",function(){n.__prepareTooltip()})._on("repositioned",function(t){n.__lastPosition=t.position})}else n.__options.disabled=!0},__contentInsert:function(){var t=this,e=t._$tooltip.find(".tooltipster-content"),i=t.__Content;return t._trigger({type:"format",content:t.__Content,format:function(t){i=t}}
vendor: 34,276 bytes, line 3
3),t.__options.functionFormat&&(i=t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content)),"string"!=typeof i||t.__options.contentAsHTML?e.empty().append(i):e.text(i),t},__contentSet:function(e){return e instanceof t&&this.__options.contentCloning&&(e=e.clone(!0)),this.__Content=e,this._trigger({type:"updated",content:e}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var e=this,i=e._$origin,n=e._$origin.is("area");if(n){var o=e._$origin.parent().attr("name");i=t('img[usemap="#'+o+'"]')}var a=i[0].getBoundingClientRect(),r=t(s.window.document),l=t(s.window),d=i,p={available:{document:null,window:null},document:{size:{height:r.height(),width:r.width()}},window:{scroll:{left:s.window.scrollX||s.window.document.documentElement.scrollLeft,top:s.window.scrollY||s.window.document.documentElement.scrollTop},size:{height:l.height(),width:l.width()}},origin:{fixedLineage:!1,offset:{},size:{height:a.bottom-a.top,width:a.right-a.left},usemapImage:n?i[0]:null,windowOffset:{bottom:a.bottom,left:a.left,right:a.right,top:a.top}}};if(n){var c=e._$origin.attr("shape"),u=e._$origin.attr("coords");if(u&&(u=u.split(","),t.map(u,function(t,e){u[e]=parseInt(t)})),"default"!=c)switch(c){case"circle":var h=u[0],f=u[1],g=u[2],m=f-g,_=h-g;p.origin.size.height=2*g,p.origin.size.width=p.origin.size.height,p.origin.windowOffset.left+=_,p.origin.windowOffset.top+=m;break;case"rect":var v=u[0],y=u[1],w=u[2],b=u[3];p.origin.size.height=b-y,p.origin.size.width=w-v,p.origin.windowOffset.left+=v,p.origin.windowOffset.top+=y;break;case"poly":for(var k=0,$=0,C=0,T=0,S="even",x=0;x<u.length;x++){var A=u[x];"even"==S?(A>C&&(C=A,0===x&&(k=C)),A<k&&(k=A),S="odd"):(A>T&&(T=A,1==x&&($=T)),A<$&&($=A),S="even")}p.origin.size.height=T-$,p.origin.size.width=C-k,p.origin.windowOffset.left+=k,p.origin.windowOffset.top+=$}}for(e._trigger({type:"geometry",edit:function(t){p.origin.size.height=t.height,p.origin.windowOffset.left=t.left,p.origin.windowOffset.top=t.top,p.origin.size.width=t.width},geometry:{height:p.origin.size.height,left:p.origin.windowOffset.left,top:p.origin.windowOffset.top,width:p.origin.size.width}}),p.origin.windowOffset.right=p.origin.windowOffset.left+p.origin.size.width,p.origin.windowOffset.bottom=p.origin.windowOffset.top+p.origin.size.height,p.origin.offset.left=p.origin.windowOffset.left+p.window.scroll.left,p.origin.offset.top=p.origin.windowOffset.top+p.window.scroll.top,p.origin.offset.bottom=p.origin.offset.top+p.origin.size.height,p.origin.offset.right=p.origin.offset.left+p.origin.size.width,p.available.document={bottom:{height:p.document.size.height-p.origin.offset.bottom,width:p.document.size.width},left:{height:p.document.size.height,width:p.origin.offset.left},right:{height:p.document.size.height,width:p.document.size.width-p.origin.offset.right},top:{height:p.origin.offset.top,width:p.document.size.width}},p.available.window={bottom:{height:Math.max(p.window.size.height-Math.max(p.origin.windowOffset.bottom,0),0),width:p.window.size.width},left:{height:p.window.size.height,width:Math.max(p.origin.windowOffset.left,0)},right:{height:p.window.size.height,width:Math.max(p.window.size.width-Math.max(p.origin.windowOffset.right,0),0)},top:{height:Math.max(p.origin.windowOffset.top,0),width:p.window.size.width}};"html"!=d[0].tagName.toLowerCase();){if("fixed"==d.css("position")){p.origin.fixedLineage=!0;break}d=d.parent()}return p},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=t(s.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=t(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var e=this;return e.__options.selfDestruction?e.__garbageCollector=setInterval(function(){var i=(new Date).getTime();e.__touchEvents=t.grep(e.__touchEvents,function(t,e){return i-t.time>6e4}),n(e._$origin)||e.destroy()},2e4):clearInterval(e.__garbageCollector),e},__prepareOrigin:function(){var t=this;if(t._$origin.off("."+t.__namespace+"-triggerOpen"),s.hasTouchCapability&&t._$origin.on("touchstart."+t.__namespace+"-triggerOpen touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen",function(e){t._touchRecordEvent(e)}),t.__options.triggerOpen.click||t.__options.triggerOpen.tap&&s.hasTouchCapability){e="";t.__options.triggerOpen.click&&(e+="click."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.tap&&s.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&t._open(e)})}if(t.__options.triggerOpen.mouseenter||t.__options.triggerOpen.touchstart&&s.hasTouchCapability){e="";t.__options.triggerOpen.mouseenter&&(e+="mouseenter."+t.__namespace+"-triggerOpen "),t.__options.triggerOpen.touchstart&&s.hasTouchCapability&&(e+="touchstart."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){!t._touchIsTouchEvent(e)&&t._touchIsEmulatedEvent(e)||(t.__pointerIsOverOrigin=!0,t._openShortly(e))})}if(t.__options.triggerClose.mouseleave||t.__options.triggerClose.touchleave&&s.hasTouchCapability){var e="";t.__options.triggerClose.mouseleave&&(e+="mouseleave."+t.__namespace+"-triggerOpen "),t.__options.triggerClose.touchleave&&s.hasTouchCapability&&(e+="touchend."+t.__namespace+"-triggerOpen touchcancel."+t.__namespace+"-triggerOpen"),t._$origin.on(e,function(e){t._touchIsMeaningfulEvent(e)&&(t.__pointerIsOverOrigin=!1)})}return t},__prepareTooltip:function(){var e=this,i=e.__options.interactive?"auto":"";return e._$tooltip.attr("id",e.__namespace).css({"pointer-events":i,zIndex:e.__options.zIndex}),t.each(e.__previousThemes,function(t,i){e._$tooltip.removeClass(i)}),t.each(e.__options.theme,function(t,i){e._$tooltip.addClass(i)}),e.__previousThemes=t.merge([],e.__options.theme),e},__scrollHandler:function(e){var i=this;if(i.__options.triggerClose.scroll)i._close(e);else if(n(i._$origin)&&n(i._$tooltip)){if(e.target===s.window.document)i.__Geometry.origin.fixedLineage||i.__options.repositionOnScroll&&i.reposition(e);else{var o=i.__geometry(),a=!1;if("fixed"!=i._$origin.css("position")&&i.__$originParents.each(function(e,i){var n=t(i),s=n.css("overflow-x"),r=n.css("overflow-y");if("visible"!=s||"visible"!=r){var l=i.getBoundingClientRect();if("visible"!=s&&(o.origin.windowOffset.left<l.left||o.origin.windowOffset.right>l.right))return a=!0,!1;if("visible"!=r&&(o.origin.windowOffset.top<l.top||o.origin.windowOffset.bottom>l.bottom))return a=!0,!1}if("fixed"==n.css("position"))return!1}),a)i._$tooltip.css("visibility","hidden");else if(i._$tooltip.css("visibility","visible"),i.__options.repositionOnScroll)i.reposition(e);else{var r=o.origin.offset.left-i.__Geometry.origin.offset.left,l=o.origin.offset.top-i.__Geometry.origin.offset.top;i._$tooltip.css({left:i.__lastPosition.coord.left+r,top:i.__lastPosition.coord.top+l})}}i._trigger({type:"scroll",event:e})}return i},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,t.each(this.__timeouts.close,function(t,e){clearTimeout(e)}),this.__timeouts.close=[],this},__trackerStart:function(){var t=this,e=t._$tooltip.find(".tooltipster-content");return t.__options.trackTooltip&&(t.__contentBcr=e[0].getBoundingClientRect()),t.__tracker=setInterval(function(){if(n(t._$origin)&&n(t._$tooltip)){if(t.__options.trackOrigin){var o=t.__geometry(),a=!1;i(o.origin.size,t.__Geometry.origin.size)&&(t.__Geometry.origin.fixedLineage?i(o.origin.windowOffset,t.__Geometry.origin.windowOffset)&&(a=!0):i(o.origin.offset,t.__Geometry.origin.offset)&&(a=!0)),a||(t.__options.triggerClose.mouseleave?t._close():t.reposition())}if(t.__options.trackTooltip){var s=e[0].getBoundingClientRect();s.height===t.__contentBcr.height&&s.width===t.__contentBcr.width||(t.reposition(),t.__contentBcr=s)}}else t._close()},t.__options.trackerInterval),t},_close:function(e,i){var n=this,o=!0;if(n._trigger({type:"close",event:e,stop:function(){o=!1}}),o||n.__destroying){i&&n.__callbacks.close.push(i),n.__callbacks.open=[],n.__timeoutsClear();var a=function(){t.each(n.__callbacks.close,function(t,i){i.call(n,n,{event:e,origin:n._$origin[0]})}),n.__callbacks.close=[]};if("closed"!=n.__state){var r=!0,l=(new Date).getTime()+n.__options.animationDuration[1];if("disappearing"==n.__state&&l>n.__closingTime&&(r=!1),r){n.__closingTime=l,"disappearing"!=n.__state&&n.__stateSet("disappearing");var d=function(){clearInterval(n.__tracker),n._trigger({type:"closing",event:e}),n._$tooltip.off("."+n.__namespace+"-triggerClose").removeClass("tooltipster-dying"),t(s.window).off("."+n.__namespace+"-triggerClose"),n.__$originParents.each(function(e,i){t(i).off("scroll."+n.__namespace+"-triggerClose")}),n.__$originParents=null,t(s.window.document.body).off("."+n.__namespace+"-triggerClose"),n._$origin.off("."+n.__namespace+"-triggerClose"),n._off("dismissable"),n.__stateSet("closed"),n._trigger({type:"after",event:e}),n.__options.functionAfter&&n.__options.functionAfter.call(n,n,{event:e,origin:n._$origin[0]}),a()};s.hasTransitions?(n._$tooltip.css({"-moz-animation-duration":n.__options.animationDuration[1]+"ms","-ms-animation-duration":n.__options.animationDuration[1]+"ms","-o-animation-duration":n.__options.animationDuration[1]+"ms","-webkit-animation-duration":n.__options.animationDuration[1]+"ms","animation-duration":n.__options.animationDuration[1]+"ms","transition-duration":n.__options.animationDuration[1]+"ms"}),n._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),n.__options.animationDuration[1]>0&&n._$tooltip.delay(n.__options.animationDuration[1]),n._$tooltip.queue(d)):n._$tooltip.stop().fadeOut(n.__options.animationDuration[1],d)}}else a()}return n},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(e,i){var o=this;if(!o.__destroying&&n(o._$origin)&&o.__enabled){var a=!0;if("closed"==o.__state&&(o._trigger({type:"before",event:e,stop:function(){a=!1}}),a&&o.__options.functionBefore&&(a=o.__options.functionBefore.call(o,o,{event:e,origin:o._$origin[0]}))),!1!==a&&null!==o.__Content){i&&o.__callbacks.open.push(i),o.__callbacks.close=[],o.__timeoutsClear();var r,l=function(){"stable"!=o.__state&&o.__stateSet("stable"),t.each(o.__callbacks.open,function(t,e){e.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}),o.__callbacks.open=[]};if("closed"!==o.__state)r=0,"disappearing"===o.__state?(o.__stateSet("appearing"),s.hasTransitions?(o._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),o.__options.animationDuration[0]>0&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(l)):o._$tooltip.stop().fadeIn(l)):"stable"==o.__state&&l();else{if(o.__stateSet("appearing"),r=o.__options.animationDuration[0],o.__contentInsert(),o.reposition(e,!0),s.hasTransitions?(o._$tooltip.addClass("tooltipster-"+o.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":o.__options.animationDuration[0]+"ms","-ms-animation-duration":o.__options.animationDuration[0]+"ms","-o-animation-duration":o.__options.animationDuration[0]+"ms","-webkit-animation-duration":o.__options.animationDuration[0]+"ms","animation-duration":o.__options.animationDuration[0]+"ms","transition-duration":o.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=o.__state&&(o._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),o.__options.animationDuration[0]>0&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(l))},0)):o._$tooltip.css("display","none").fadeIn(o.__options.animationDuration[0],l),o.__trackerStart(),t(s.window).on("resize."+o.__namespace+"-triggerClose",function(e){var i=t(document.activeElement);(i.is("input")||i.is("textarea"))&&t.contains(o._$tooltip[0],i[0])||o.reposition(e)}).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)}),o.__$originParents=o._$origin.parents(),o.__$originParents.each(function(e,i){t(i).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)})}),o.__options.triggerClose.mouseleave||o.__options.triggerClose.touchleave&&s.hasTouchCapability){o._on("dismissable",function(t){t.dismissable?t.delay?(u=setTimeout(function(){o._close(t.event)},t.delay),o.__timeouts.close.push(u)):o._close(t):clearTimeout(u)});var d=o._$origin,p="",c="",u=null;o.__options.interactive&&(d=d.add(o._$tooltip)),o.__options.triggerClose.mouseleave&&(p+="mouseenter."+o.__namespace+"-triggerClose ",c+="mouseleave."+o.__namespace+"-triggerClose "),o.__options.triggerClose.touchleave&&s.hasTouchCapability&&(p+="touchstart."+o.__namespace+"-triggerClose",c+="touchend."+o.__namespace+"-triggerClose touchcancel."+o.__namespace+"-triggerClose"),d.on(c,function(t){if(o._touchIsTouchEvent(t)||!o._touchIsEmulatedEvent(t)){var e="mouseleave"==t.type?o.__options.delay:o.__options.delayTouch;o._trigger({delay:e[1],dismissable:!0,event:t,type:"dismissable"})}}).on(p,function(t){!o._touchIsTouchEvent(t)&&o._touchIsEmulatedEvent(t)||o._trigger({dismissable:!1,event:t,type:"dismissable"})})}o.__options.triggerClose.originClick&&o._$origin.on("click."+o.__namespace+"-triggerClose",function(t){o._touchIsTouchEvent(t)||o._touchIsEmulatedEvent(t)||o._close(t)}),(o.__options.triggerClose.click||o.__options.triggerClose.tap&&s.hasTouchCapability)&&setTimeout(function(){if("closed"!=o.__state){var e="",i=t(s.window.document.body);o.__options.triggerClose.click&&(e+="click."+o.__namespace+"-triggerClose "),o.__options.triggerClose.tap&&s.hasTouchCapability&&(e+="touchend."+o.__namespace+"-triggerClose"),i.on(e,function(e){o._touchIsMeaningfulEvent(e)&&(o._touchRecordEvent(e),o.__options.interactive&&t.contains(o._$tooltip[0],e.target)||o._close(e))}),o.__options.triggerClose.tap&&s.hasTouchCapability&&i.on("touchstart."+o.__namespace+"-triggerClose",function(t){o._touchRecordEvent(t)})}},0),o._trigger("ready"),o.__options.functionReady&&o.__options.functionReady.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}if(o.__options.timer>0){u=setTimeout(function(){o._close()},o.__options.timer+r);o.__timeouts.close.push(u)}}}return o},_openShortly:function(t){var e=this,i=!0;if("stable"!=e.__state&&"appearing"!=e.__state&&!e.__timeouts.open&&(e._trigger({type:"start",event:t,stop:function(){i=!1}}),i)){var n=0==t.type.indexOf("touch")?e.__options.delayTouch:e.__options.delay;n[0]?e.__timeouts.open=setTimeout(function(){e.__timeouts.open=null,e.__pointerIsOverOrigin&&e._touchIsMeaningfulEvent(t)?(e._trigger("startend"),e._open(t)):e._trigger("startcancel")},n[0]):(e._trigger("startend"),e._open(t))}return e},_optionsExtract:function(e,i){var n=this,o=t.extend(!0,{},i),a=n.__options[e];return a||(a={},t.each(i,function(t,e){var i=n.__options[t];void 0!==i&&(a[t]=i)})),t.each(o,function(e,i){void 0!==a[e]&&("object"!=typeof i||i instanceof Array||null==i||"object"!=typeof a[e]||a[e]instanceof Array||null==a[e]?o[e]=a[e]:t.extend(o[e],a[e]))}),o},_plug:function(e){var i=t.tooltipster._plugin(e);if(!i)throw new Error('The "'+e+'" plugin is not defined');return i.instance&&t.tooltipster.__bridge(i.instance,this,i.name),this},_touchIsEmulatedEvent:function(t){for(var e=!1,i=(new Date).getTime(),n=this.__touchEvents.length-1;n>=0;n--){var o=this.__touchEvents[n];if(!(i-o.time<500))break;o.target===t.target&&(e=!0)}return e},_touchIsMeaningfulEvent:function(t){return this._touchIsTouchEvent(t)&&!this._touchSwiped(t.target)||!this._touchIsTouchEvent(t)&&!this._touchIsEmulatedEvent(t)},_touchIsTouchEvent:function(t){return 0==t.type.indexOf("touch")},_touchRecordEvent:function(t){return this._touchIsTouchEvent(t)&&(t.time=(new Date).getTime(),this.__touchEvents.push(t)),this},_touchSwiped:function(t){for(var e=!1,i=this.__touchEvents.length-1;i>=0;i--){var n=this.__touchEvents[i];if("touchmove"==n.type){e=!0;break}if("touchstart"==n.type&&t===n.target)break}return e},_trigger:function(){var e=Array.prototype.slice.apply(arguments);return"string"==typeof e[0]&&(e[0]={type:e[0]}),e[0].instance=this,e[0].origin=this._$origin?this._$origin[0]:null,e[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,e),t.tooltipster._trigger.apply(t.tooltipster,e),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,e),this},_unplug:function(e){var i=this;if(i[e]){var n=t.tooltipster._plugin(e);n.instance&&t.each(n.instance,function(t,n){i[t]&&i[t].bridged===i[e]&&delete i[t]}),i[e].__destroy&&i[e].__destroy(),delete i[e]}return i},close:function(t){return this.__destroyed?this.__destroyError():this._close(null,t),this},content:function(t){var e=this;if(void 0===t)return e.__Content;if(e.__destroyed)e.__destroyError();else if(e.__contentSet(t),null!==e.__Content){if("closed"!==e.__state&&(e.__contentInsert(),e.reposition(),e.__options.updateAnimation))if(s.hasTransitions){var i=e.__options.updateAnimation;e._$tooltip.addClass("tooltipster-update-"+i),setTimeout(function(){"closed"!=e.__state&&e._$tooltip.removeClass("tooltipster-update-"+i)},1e3)}else e._$tooltip.fadeTo(200,.5,function(){"closed"!=e.__state&&e._$tooltip.fadeTo(200,1)})}else e._close();return e},destroy:function(){var e=this;return e.__destroyed?e.__destroyError():e.__destroying||(e.__destroying=!0,e._close(null,function(){e._trigger("destroy"),e.__destroying=!1,e.__destroyed=!0,e._$origin.removeData(e.__namespace).off("."+e.__namespace+"-triggerOpen"),t(s.window.document.body).off("."+e.__namespace+"-triggerOpen");var i=e._$origin.data("tooltipster-ns");if(i)if(1===i.length){var n=null;"previous"==e.__options.restoration?n=e._$origin.data("tooltipster-initialTitle"):"current"==e.__options.restoration&&(n="string"==typeof e.__Content?e.__Content:t("<div></div>").append(e.__Content).html()),n&&e._$origin.attr("title",n),e._$origin.removeClass("tooltipstered"),e._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else i=t.grep(i,function(t,i){return t!==e.__namespace}),e._$origin.data("tooltipster-ns",i);e._trigger("destroyed"),e._off(),e.off(),e.__Content=null,e.__$emitterPrivate=null,e.__$emitterPublic=null,e.__options.parent=null,e._$origin=null,e._$tooltip=null,t.tooltipster.__instancesLatestArr=t.grep(t.tooltipster.__instancesLatestArr,function(t,i){return e!==t}),clearInterval(e.__garbageCollector)})),e},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){if(!this.__destroyed)return this._$origin[0];this.__destroyError()},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed||this.__destroying?this.__destroyError():this._open(null,t),this},option:function(e,i){return void 0===i?this.__options[e]:(this.__destroyed?this.__destroyError():(this.__options[e]=i,this.__optionsFormat(),t.inArray(e,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===e&&this.__prepareGC()),this)},reposition:function(t,e){var i=this;return i.__destroyed?i.__destroyError():"closed"!=i.__state&&n(i._$origin)&&(e||n(i._$tooltip))&&(e||i._$tooltip.detach(),i.__Geometry=i.__geometry(),i._trigger({type:"reposition",event:t,helper:{geo:i.__Geometry}})),i},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,destroying:this.__destroying,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},t.fn.tooltipster=function(){var e=Array.prototype.slice.apply(arguments),i="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof e[0]){var n="#*$~&";return this.each(function(){var o=t(this).data("tooltipster-ns"),a=o?t(this).data(o[0]):null;if(!a)throw new Error("You called Tooltipster's \""+e[0]+'" method on an uninitialized element');if("function"!=typeof a[e[0]])throw new Error('Unknown method "'+e[0]+'"');this.length>1&&"content"==e[0]&&(e[1]instanceof t||"object"==typeof e[1]&&null!=e[1]&&e[1].tagName)&&!a.__options.contentCloning&&a.__options.debug&&console.log(i);var s=a[e[0]](e[1],e[2]);if(s!==a||"instance"===e[0])return n=s,!1}),"#*$~&"!==n?n:this}t.tooltipster.__instancesLatestArr=[];var a=e[0]&&void 0!==e[0].multiple,s=a&&e[0].multiple||!a&&o.multiple,r=e[0]&&void 0!==e[0].content,l=r&&e[0].content||!r&&o.content,d=e[0]&&void 0!==e[0].contentCloning,p=d&&e[0].contentCloning||!d&&o.contentCloning,c=e[0]&&void 0!==e[0].debug,u=c&&e[0].debug||!c&&o.debug;return this.length>1&&(l instanceof t||"object"==typeof l&&null!=l&&l.tagName)&&!p&&u&&console.log(i),this.each(function(){var i=!1,n=t(this),o=n.data("tooltipster-ns"),a=null;o?s?i=!0:u&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):i=!0,i&&(a=new t.Tooltipster(this,e[0]),o||(o=[]),o.push(a.__namespace),n.data("tooltipster-ns",o),n.data(a.__namespace,a),a.__options.functionInit&&a.__options.functionInit.call(a,a,{origin:this}),a._trigger("init")),t.tooltipster.__instancesLatestArr.push(a)}),this},e.prototype={__init:function(e){this.__$tooltip=e,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=t('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(s.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,e){return this.constraints={width:t,height:e},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),e={size:{height:t.height||t.bottom,width:t.width||t.right}};if(this.constraints){var i=this.__$tooltip.find(".tooltipster-content"),n=this.__$tooltip.outerHeight(),o=i[0].getBoundingClientRect(),a={height:n<=this.constraints.height,width:t.width<=this.constraints.width&&o.width>=i[0].scrollWidth-1};e.fits=a.height&&a.width}return s.IE&&s.IE<=11&&e.size.width!==s.window.document.documentElement.clientWidth&&(e.size.width=Math.ceil(e.size.width)+1),e}};var l=navigator.userAgent.toLowerCase();-1!=l.indexOf("msie")?s.IE=parseInt(l.split("msie")[1]):-1!==l.toLowerCase().indexOf("trident")&&-1!==l.indexOf(" rv:11")?s.IE=11:-1!=l.toLowerCase().indexOf("edge/")&&(s.IE=parseInt(l.toLowerCase().split("edge/")[1]));return t.tooltipster._plugin({name:"tooltipster.sideTip",instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var e=this;e.__instance=t,e.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),e.__previousState="closed",e.__options,e.__optionsFormat(),e.__instance._on("state."+e.__namespace,function(t){"closed"==t.state?e.__close():"appearing"==t.state&&"closed"==e.__previousState&&e.__create(),e.__previousState=t.state}),e.__instance._on("options."+e.__namespace,function(){e.__optionsFormat()}),e.__instance._on("reposition."+e.__namespace,function(t){e.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof t&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var e=t('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||e.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&e.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&e.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=e,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var e=this;if(e.__options=e.__instance._optionsExtract("tooltipster.sideTip",e.__defaults()),e.__options.position&&(e.__options.side=e.__options.position),"object"!=typeof e.__options.distance&&(e.__options.distance=[e.__options.distance]),e.__options.distance.length<4&&(void 0===e.__options.distance[1]&&(e.__options.distance[1]=e.__options.distance[0]),void 0===e.__options.distance[2]&&(e.__options.distance[2]=e.__options.distance[0]),void 0===e.__options.distance[3]&&(e.__options.distance[3]=e.__options.distance[1]),e.__options.distance={top:e.__options.distance[0],right:e.__options.distance[1],bottom:e.__options.distance[2],left:e.__options.distance[3]}),"string"==typeof e.__options.side){var i={top:"bottom",right:"left",bottom:"top",left:"right"};e.__options.side=[e.__options.side,i[e.__options.side]],"left"==e.__options.side[0]||"right"==e.__options.side[0]?e.__options.side.push("top","bottom"):e.__options.side.push("right","left")}6===t.tooltipster._env.IE&&!0!==e.__options.arrow&&(e.__options.arrow=!1)},__reposition:function(e,i){var n,o=this,a=o.__targetFind(i),s=[];o.__instance._$tooltip.detach();var r=o.__instance._$tooltip.clone(),l=t.tooltipster._getRuler(r),d=!1,p=o.__instance.option("animation");switch(p&&r.removeClass("tooltipster-"+p),t.each(["window","document"],function(n,p){var c=null;if(o.__instance._trigger({container:p,helper:i,satisfied:d,takeTest:function(t){c=t},results:s,type:"positionTest"}),1==c||0!=c&&0==d&&("window"!=p||o.__options.viewportAware))for(var n=0;n<o.__options.side.length;n++){var u={horizontal:0,vertical:0},h=o.__options.side[n];"top"==h||"bottom"==h?u.vertical=o.__options.distance[h]:u.horizontal=o.__options.distance[h],o.__sideChange(r,h),t.each(["natural","constrained"],function(t,n){if(c=null,o.__instance._trigger({container:p,event:e,helper:i,mode:n,results:s,satisfied:d,side:h,takeTest:function(t){c=t},type:"positionTest"}),1==c||0!=c&&0==d){var r={container:p,distance:u,fits:null,mode:n,outerSize:null,side:h,size:null,target:a[h],whole:null},f=("natural"==n?l.free():l.constrain(i.geo.available[p][h].width-u.horizontal,i.geo.available[p][h].height-u.vertical)).measure();if(r.size=f.size,r.outerSize={height:f.size.height+u.vertical,width:f.size.width+u.horizontal},"natural"==n?i.geo.available[p][h].width>=r.outerSize.width&&i.geo.available[p][h].height>=r.outerSize.height?r.fits=!0:r.fits=!1:r.fits=f.fits,"window"==p&&(r.fits?r.whole="top"==h||"bottom"==h?i.geo.origin.windowOffset.right>=o.__options.minIntersection&&i.geo.window.size.width-i.geo.origin.windowOffset.left>=o.__options.minIntersection:i.geo.origin.windowOffset.bottom>=o.__options.minIntersection&&i.geo.window.size.height-i.geo.origin.windowOffset.top>=o.__options.minIntersection:r.whole=!1),s.push(r),r.whole)d=!0;else if("natural"==r.mode&&(r.fits||r.size.width<=i.geo.available[p][h].width))return!1}})}}),o.__instance._trigger({edit:function(t){s=t},event:e,helper:i,results:s,type:"positionTested"}),s.sort(function(t,e){if(t.whole&&!e.whole)return-1;if(!t.whole&&e.whole)return 1;if(t.whole&&e.whole)return(i=o.__options.side.indexOf(t.side))<(n=o.__options.side.indexOf(e.side))?-1:i>n?1:"natural"==t.mode?-1:1;if(t.fits&&!e.fits)return-1;if(!t.fits&&e.fits)return 1;if(t.fits&&e.fits){var i=o.__options.side.indexOf(t.side),n=o.__options.side.indexOf(e.side);return i<n?-1:i>n?1:"natural"==t.mode?-1:1}return"document"==t.container&&"bottom"==t.side&&"natural"==t.mode?-1:1}),n=s[0],n.coord={},n.side){case"left":case"right":n.coord.top=Math.floor(n.target-n.size.height/2);break;case"bottom":case"top":n.coord.left=Math.floor(n.target-n.size.width/2)}switch(n.side){case"left":n.coord.left=i.geo.origin.windowOffset.left-n.outerSize.width;break;case"right":n.coord.left=i.geo.origin.windowOffset.right+n.distance.horizontal;break;case"top":n.coord.top=i.geo.origin.windowOffset.top-n.outerSize.height;break;case"bottom":n.coord.top=i.geo.origin.windowOffset.bottom+n.distance.vertical}"window"==n.container?"top"==n.side||"bottom"==n.side?n.coord.left<0?i.geo.origin.windowOffset.right-this.__options.minIntersection>=0?n.coord.left=0:n.coord.left=i.geo.origin.windowOffset.right-this.__options.minIntersection-1:n.coord.left>i.geo.window.size.width-n.size.width&&(i.geo.origin.windowOffset.left+this.__options.minIntersection<=i.geo.window.size.width?n.coord.left=i.geo.window.size.width-n.size.width:n.coord.left=i.geo.origin.windowOffset.left+this.__options.minIntersection+1-n.size.width):n.coord.top<0?i.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?n.coord.top=0:n.coord.top=i.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:n.coord.top>i.geo.window.size.height-n.size.height&&(i.geo.origin.windowOffset.top+this.__options.minIntersection<=i.geo.window.size.height?n.coord.top=i.geo.window.size.height-n.size.height:n.coord.top=i.geo.origin.windowOffset.top+this.__options.minIntersection+1-n.size.height):(n.coord.left>i.geo.window.size.width-n.size.width&&(n.coord.left=i.geo.window.size.width-n.size.width),n.coord.left<0&&(n.coord.left=0)),o.__sideChange(r,n.side),i.tooltipClone=r[0],i.tooltipParent=o.__instance.option("parent").parent[0],i.mode=n.mode,i.whole=n.whole,i.origin=o.__instance._$origin[0],i.tooltip=o.__instance._$tooltip[0],delete n.container,delete n.fits,delete n.mode,delete n.outerSize,delete n.whole,n.distance=n.distance.horizontal||n.distance.vertical;var c=t.extend(!0,{},n);if(o.__instance._trigger({edit:function(t){n=t},event:e,helper:i,position:c,type:"position"}),o.__options.functionPosition){var u=o.__options.functionPosition.call(o,o.__instance,i,c);u&&(n=u)}l.destroy();var h,f;"top"==n.side||"bottom"==n.side?(h={prop:"left",val:n.target-n.coord.left},f=n.size.width-this.__options.minIntersection):(h={prop:"top",val:n.target-n.coord.top},f=n.size.height-this.__options.minIntersection),h.val<this.__options.minIntersection?h.val=this.__options.minIntersection:h.val>f&&(h.val=f);var g;g=i.geo.origin.fixedLineage?i.geo.origin.windowOffset:{left:i.geo.origin.windowOffset.left+i.geo.window.scroll.left,top:i.geo.origin.windowOffset.top+i.geo.window.scroll.top},n.coord={left:g.left+(n.coord.left-i.geo.origin.windowOffset.left),top:g.top+(n.coord.top-i.geo.origin.windowOffset.top)},o.__sideChange(o.__instance._$tooltip,n.side),i.geo.origin.fixedLineage?o.__instance._$tooltip.css("position","fixed"):o.__instance._$tooltip.css("position",""),o.__instance._$tooltip.css({left:n.coord.left,top:n.coord.top,height:n.size.height,width:n.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(h.prop,h.val),o.__instance._$tooltip.appendTo(o.__instance.option("parent")),o.__instance._trigger({type:"repositioned",event:e,position:n})},__sideChange:function(t,e){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+e)},__targetFind:function(t){var e={},i=this.__instance._$origin[0].getClientRects();if(i.length>1&&1==this.__instance._$origin.css("opacity")&&(this.__instance._$origin.css("opacity",.99),i=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1)),i.length<2)e.top=Math.floor(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),e.bottom=e.top,e.left=Math.floor(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),e.right=e.left;else{var n=i[0];e.top=Math.floor(n.left+(n.right-n.left)/2),n=i.length>2?i[Math.ceil(i.length/2)-1]:i[0],e.right=Math.floor(n.top+(n.bottom-n.top)/2),n=i[i.length-1],e.bottom=Math.floor(n.left+(n.right-n.left)/2),n=i.length>2?i[Math.ceil((i.length+1)/2)-1]:i[i.length-1],e.left=Math.floor(n.top+(n.bottom-n.top)/2)}return e}}}),t});var tp_objectFitImages=function(){"use strict";function t(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+t+"' height='"+e+"'%3E%3C/svg%3E"}function e(t){if(t.srcset&&!f&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}
3),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}function i(t){for(var e,i=getComputedStyle(t).fontFamily,n={};null!==(e=d.exec(i));)n[e[1]]=e[2];return n}function n(e,i,n){var o=t(i||1,n||0);g.call(e,"src")!==o&&m.call(e,"src",o)}function o(t,e){t.naturalWidth?e(t):setTimeout(o,100,t,e)}function a(t){var a=i(t),r=t[l];if(a["object-fit"]=a["object-fit"]||"fill",!r.img){if("fill"===a["object-fit"])return;if(!r.skipTest&&c&&!a["object-position"])return}if(!r.img){r.img=new Image(t.width,t.height),r.img.srcset=g.call(t,"data-ofi-srcset")||t.srcset,r.img.src=g.call(t,"data-ofi-src")||t.src,m.call(t,"data-ofi-src",t.src),t.srcset&&m.call(t,"data-ofi-srcset",t.srcset),n(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{s(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}e(r.img),t.style.backgroundImage='url("'+(r.img.currentSrc||r.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=a["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(a["object-fit"])?o(r.img,function(){r.img.naturalWidth>t.width||r.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"}):t.style.backgroundSize=a["object-fit"].replace("none","auto").replace("fill","100% 100%"),o(r.img,function(e){n(t,e.naturalWidth,e.naturalHeight)})}function s(t){var e={get:function(e){return t[l].img[e||"src"]},set:function(e,i){return t[l].img[i||"src"]=e,m.call(t,"data-ofi-"+i,e),a(t),e}};Object.defineProperty(t,"src",e),Object.defineProperty(t,"currentSrc",{get:function(){return e.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return e.get("srcset")},set:function(t){return e.set(t,"srcset")}})}function r(t,e){var i=!_&&!t;if(e=e||{},t=t||"img",u&&!e.skipTest||!h)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var n=0;n<t.length;n++)t[n][l]=t[n][l]||{skipTest:e.skipTest},a(t[n]);i&&(document.body.addEventListener("load",function(t){"IMG"===t.target.tagName&&r(t.target,{skipTest:e.skipTest})},!0),_=!0,t="img"),e.watchMQ&&window.addEventListener("resize",r.bind(null,t,{skipTest:e.skipTest}))}var l="bfred-it:object-fit-images",d=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g,p="undefined"==typeof Image?{style:{"object-position":1}}:new Image,c="object-fit"in p.style,u="object-position"in p.style,h="background-size"in p.style,f="string"==typeof p.currentSrc,g=p.getAttribute,m=p.setAttribute,_=!1;return r.supportsObjectFit=c,r.supportsObjectPosition=u,function(){function t(t,e){return t[l]&&t[l].img&&("src"===e||"srcset"===e)?t[l].img:t}u||(HTMLImageElement.prototype.getAttribute=function(e){return g.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,i){return m.call(t(this,e),e,String(i))})}(),r}();!function(t){function e(){return new Date(Date.UTC.apply(Date,arguments))}var i=function(e,i){var o=this;switch(this.element=t(e),this.whitelist_days=i.whitelist_days||[],this.whitelist_days_class=i.whitelist_days_class||"tp-datepicker-freeGo tp-datepicker-greenday",this.loadDynamicWhiteList=i.loadDynamicWhiteList||!1,this.showFullDarkGreenDaysOnly=i.showFullDarkGreenDaysOnly||!1,this.dayStates=i.dayStates?i.dayStates:[],this.dynamicWhiteListSPID=i.dynamicWhiteListSPID||"",this.whitelistEnableOtherDays=i.whitelistEnableOtherDays||!1,this.whitelist_days_offer=i.whitelist_days_offer||[],this.whitelist_days_class_offer=i.whitelist_days_class_offer||[],this.whitelist_days_package=i.whitelist_days_package||[],this.whitelist_days_class_package=i.whitelist_days_class_package||[],this.language=i.language||this.element.data("date-language")||"en",this.language=this.language in n?this.language:this.language.split("-")[0],this.language=this.language in n?this.language:"en",this.isRTL=n[this.language].rtl||!1,this.format=a.parseFormat(i.format||this.element.data("date-format")||n[this.language].format||"mm/dd/yyyy"),this.isInline=!1,this.isInput=this.element.is("input"),this.component=!!this.element.is(".date")&&this.element.find(".add-on, .btn"),this.hasInput=this.component&&this.element.find("input").length,this.minStayRange="undefined"!=typeof ukv_dayRange?ukv_dayRange:0,this.fixedContainer=!!i.fixedContainer&&i.fixedContainer,this.orientation=i.orientation?i.orientation:"",this.component&&0===this.component.length&&(this.component=!1),this._attachEvents(),this.forceParse=!0,"forceParse"in i?this.forceParse=i.forceParse:"dateForceParse"in this.element.data()&&(this.forceParse=this.element.data("date-force-parse")),this.picker=t(a.template).on({click:t.proxy(this.click,this),mousedown:t.proxy(this.mousedown,this)}),this.isInline?this.picker.addClass("tp-datepicker-inline").appendTo(this.element):this.picker.addClass("tp-datepicker-content"),this.isRTL&&(this.picker.addClass("tp-datepicker-rtl"),this.picker.find(".prev i, .next i").toggleClass("icon-arrow-left icon-arrow-right")),t(document).on("mousedown",function(e){0==t(e.target).closest(".tp-datepicker").length&&t(e.target)[0]!=o.element[0]&&o.hide()}),this.autoclose=!1,"autoclose"in i?this.autoclose=i.autoclose:"dateAutoclose"in this.element.data()&&(this.autoclose=this.element.data("date-autoclose")),this.keyboardNavigation=!0,"keyboardNavigation"in i?this.keyboardNavigation=i.keyboardNavigation:"dateKeyboardNavigation"in this.element.data()&&(this.keyboardNavigation=this.element.data("date-keyboard-navigation")),this.viewMode=this.startViewMode=0,i.startView||this.element.data("date-start-view")){case 2:case"decade":this.viewMode=this.startViewMode=2;break;case 1:case"year":this.viewMode=this.startViewMode=1}if(this.minViewMode=i.minViewMode||this.element.data("date-min-view-mode")||0,"string"==typeof this.minViewMode)switch(this.minViewMode){case"months":this.minViewMode=1;break;case"years":this.minViewMode=2;break;default:this.minViewMode=0}this.viewMode=this.startViewMode=Math.max(this.startViewMode,this.minViewMode),this.todayBtn=i.todayBtn||this.element.data("date-today-btn")||!1,this.todayHighlight=i.todayHighlight||this.element.data("date-today-highlight")||!1,this.calendarWeeks=!1,"calendarWeeks"in i?this.calendarWeeks=i.calendarWeeks:"dateCalendarWeeks"in this.element.data()&&(this.calendarWeeks=this.element.data("date-calendar-weeks")),this.calendarWeeks&&this.picker.find("tfoot th.today").attr("colspan",function(t,e){return parseInt(e)+1}),this._allow_update=!1,this.weekStart=(i.weekStart||this.element.data("date-weekstart")||n[this.language].weekStart||0)%7,this.weekEnd=(this.weekStart+6)%7,this.startDate=-1/0,this.endDate=1/0,this.daysOfWeekDisabled=[],this.onRender=i.onRender,this.setStartDate(i.startDate||this.element.data("date-startdate")),this.setEndDate(i.endDate||this.element.data("date-enddate")),this.setDaysOfWeekDisabled(i.daysOfWeekDisabled||this.element.data("date-days-of-week-disabled")),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),1==this.loadDynamicWhiteList&&this.loadVacancyByMonth(),this.isInline&&this.show()};i.prototype={constructor:i,_events:[],_attachEvents:function(){this._detachEvents(),this.isInput?this._events=[[this.element,{focus:t.proxy(this.show,this),keyup:t.proxy(this.update,this),keydown:t.proxy(this.keydown,this)}]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),{focus:t.proxy(this.show,this),keyup:t.proxy(this.update,this),keydown:t.proxy(this.keydown,this)}],[this.component,{click:t.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:t.proxy(this.show,this)}]];for(var e,i,n=0;n<this._events.length;n++)e=this._events[n][0],i=this._events[n][1],e.on(i)},_detachEvents:function(){for(var t,e,i=0;i<this._events.length;i++)t=this._events[i][0],e=this._events[i][1],t.off(e);this._events=[]},show:function(e){this.isInline||(1==this.fixedContainer?(this.element.parent().css("position","relative"),this.picker.appendTo(this.element.parent())):this.picker.appendTo("body")),this.picker.show(),this.height=this.component?this.component.outerHeight():this.element.outerHeight(),this.place(),t(window).on("resize",t.proxy(this.place,this)),e&&e.preventDefault(),this.element.trigger({type:"show",date:this.date}),1==this.loadDynamicWhiteList?this.loadVacancyByMonth():this.fill()},hide:function(e){this.isInline||this.picker.is(":visible")&&(this.picker.hide().detach(),t(window).off("resize",this.place),this.viewMode=this.startViewMode,this.showMode(),this.isInput||t(document).off("mousedown",this.hide),this.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this.element.trigger({type:"hide",date:this.date}))},remove:function(){this._detachEvents(),this.picker.remove(),delete this.element.data().tpdatepicker,this.isInput||delete this.element.data().date},getDate:function(){var t=this.getUTCDate();return new Date(t.getTime()+6e4*t.getTimezoneOffset())},getStartDate:function(){var t=this.startDate;return new Date(t)},getEndDate:function(){var t=this.endDate;return new Date(t)},getUTCDate:function(){return this.date},setDate:function(t){this.setUTCDate(new Date(t.getTime()-6e4*t.getTimezoneOffset()))},setUTCDate:function(t){this.date=t,this.setValue()},setValue:function(){var t=this.getFormattedDate();this.isInput?this.element.val(t):(this.component&&this.element.find("input").val(t),this.element.data("date",t))},getFormattedDate:function(t){return void 0===t&&(t=this.format),a.formatDate(this.date,t,this.language)},setWhitelist_days:function(t){this.whitelist_days=t||[],this.update(),this.updateNavArrows()},setWhitelist_days_offer:function(t){this.whitelist_days_offer=t||[],this.update(),this.updateNavArrows()},setWhitelist_days_ticket:function(t){this.whitelist_days_ticket=t||[],this.update(),this.updateNavArrows()},setWhitelist_days_package:function(t){this.whitelist_days_package=t||[],this.update(),this.updateNavArrows()},setDynamicWhiteList:function(t){this.loadDynamicWhiteList=t},setStartDate:function(t){this.startDate=t||-1/0,this.startDate!==-1/0&&(this.startDate=a.parseDate(this.startDate,this.format,this.language)),this.update(),this.updateNavArrows()},setEndDate:function(t){this.endDate=t||1/0,this.endDate!==1/0&&(this.endDate=a.parseDate(this.endDate,this.format,this.language)),this.update(),this.updateNavArrows()},setDaysOfWeekDisabled:function(e){this.daysOfWeekDisabled=e||[],t.isArray(this.daysOfWeekDisabled)||(this.daysOfWeekDisabled=this.daysOfWeekDisabled.split(/,\s*/)),this.daysOfWeekDisabled=t.map(this.daysOfWeekDisabled,function(t){return parseInt(t,10)}),this.update(),this.updateNavArrows()},place:function(){if(!this.isInline){var e=parseInt(this.element.parents().filter(function(){return"auto"!=t(this).css("z-index")}).first().css("z-index"))+1012,i=this.component?this.component.parent().offset():this.element.offset(),n=this.component?this.component.outerHeight(!0):this.element.outerHeight(!0);if(1==this.fixedContainer){var o=this.element.parent().offset();i.top=i.top-o.top,i.left=i.left-o.left}
3else{if(tp_getWindowWidth()-i.left-this.picker.outerWidth()<0){a=i.left+(tp_getWindowWidth()-i.left-this.picker.outerWidth());!1===this.picker.hasClass("tt-arrow-shifting")&&this.picker.addClass("tt-arrow-shifting")}else{var a=i.left;!0===this.picker.hasClass("tt-arrow-shifting")&&this.picker.removeClass("tt-arrow-shifting")}this.picker.css({top:i.top+n,left:a,zIndex:e})}}},_allow_update:!0,update:function(){if(this._allow_update){var t,e=!1;arguments&&arguments.length&&("string"==typeof arguments[0]||arguments[0]instanceof Date)?(t=arguments[0],e=!0):t=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),this.date=a.parseDate(t,this.format,this.language),e&&this.setValue(),this.date<this.startDate?this.viewDate=new Date(this.startDate):this.date>this.endDate?this.viewDate=new Date(this.endDate):this.viewDate=new Date(this.date),1==this.loadDynamicWhiteList&&void 0!=this.date&&void 0!=this.startDate?(startMonth=new Date(this.date).getMonth(),endMonth=new Date(this.startDate).getMonth(),startMonth!=endMonth?this.loadVacancyByMonth():this.fill()):this.fill()}},fillDow:function(){var t=this.weekStart,e="<tr>";if(this.calendarWeeks){var i='<th class="cw"> </th>';e+=i,this.picker.find(".tp-datepicker-days thead tr:first-child").prepend(i)}for(;t<this.weekStart+7;)e+='<th class="dow">'+n[this.language].daysMin[t++%7]+"</th>";e+="</tr>",this.picker.find(".tp-datepicker-days thead").append(e)},fillMonths:function(){for(var t="",e=0;e<12;)t+='<span class="month">'+n[this.language].monthsShort[e++]+"</span>";this.picker.find(".tp-datepicker-months td").html(t)},fill:function(){var i=new Date(this.viewDate),s=i.getUTCFullYear(),r=i.getUTCMonth(),l=this.startDate!==-1/0?this.startDate.getUTCFullYear():-1/0,d=this.startDate!==-1/0?this.startDate.getUTCMonth():-1/0,p=this.endDate!==1/0?this.endDate.getUTCFullYear():1/0,c=this.endDate!==1/0?this.endDate.getUTCMonth():1/0,u=this.date&&this.date.valueOf(),h=new Date;this.picker.find(".tp-datepicker-days thead th.switch").text(n[this.language].months[r]+" "+s),this.picker.find("tfoot th.today").text(n[this.language].today).toggle(!1!==this.todayBtn),this.updateNavArrows(),this.fillMonths();var f=e(s,r-1,28,0,0,0,0),g=a.getDaysInMonth(f.getUTCFullYear(),f.getUTCMonth());f.setUTCDate(g),f.setUTCDate(g-(f.getUTCDay()-this.weekStart+7)%7);var m=new Date(f);m.setUTCDate(m.getUTCDate()+42),m=m.valueOf();for(var _,v=[],y=0;f.valueOf()<m;){if(f.getUTCDay()==this.weekStart&&(v.push("<tr>"),this.calendarWeeks)){var w=new Date(+f+(this.weekStart-f.getUTCDay()-7)%7*864e5),b=new Date(+w+(11-w.getUTCDay())%7*864e5),k=new Date(+(k=e(b.getUTCFullYear(),0,1))+(11-k.getUTCDay())%7*864e5),$=(b-k)/864e5/7+1;v.push('<td class="cw">'+$+"</td>")}_=this.onRender(f),S="",f.getUTCFullYear()<s||f.getUTCFullYear()==s&&f.getUTCMonth()<r?_+=" old":(f.getUTCFullYear()>s||f.getUTCFullYear()==s&&f.getUTCMonth()>r)&&(_+=" new"),this.todayHighlight&&f.getUTCFullYear()==h.getFullYear()&&f.getUTCMonth()==h.getMonth()&&f.getUTCDate()==h.getDate()&&(_+=" today","datepicker-id-default"!=this.element.attr("data-tp-datepicker-from")&&"datepicker-id-default"!=this.element.attr("data-tp-datepicker-to")&&(_+=" tp-datepicker-active")),u&&f.valueOf()==u?(_+=" active","datepicker-id-default"!=this.element.attr("data-tp-datepicker-from")&&"datepicker-id-default"!=this.element.attr("data-tp-datepicker-to")&&(_+=" tp-datepicker-active"),"offer_date"!=this.element.attr("name")&&"guide_date_from"!=this.element.attr("name")||(_+=" tp-selected-date")):(f.valueOf()<this.startDate||f.valueOf()>this.endDate||-1!==t.inArray(f.getUTCDay(),this.daysOfWeekDisabled))&&(_+=" disabled","datepicker-id-default"!=this.element.attr("data-tp-datepicker-from")&&"datepicker-id-default"!=this.element.attr("data-tp-datepicker-to")&&(_+=" tp-datepicker-disabled"));var C=1,T="",S="",x=a.formatDate(e(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),this.format,this.language),A=a.formatDate(e(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()+1),this.format,this.language),D=a.formatDate(e(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()-1),this.format,this.language),E=new Date(f.getFullYear(),f.getMonth(),f.getDate());if(t.isArray(this.whitelist_days)&&this.whitelist_days.length>0||Object.keys(this.whitelist_days).length>0)"undefined"!=typeof ttModuleName&&ttModuleName,-1!==t.inArray(x,this.whitelist_days)?_+=" "+this.whitelist_days_class:0==this.whitelistEnableOtherDays&&(_+=" disabled");else if(Object.keys(this.whitelist_days_package).length>0)for(var j in this.whitelist_days_package)this.whitelist_days_package.hasOwnProperty(j)&&(t.isArray(this.whitelist_days_package[j])&&this.whitelist_days_package[j].length>0?-1!==t.inArray(x,this.whitelist_days_package[j])&&(_+=" "+this.whitelist_days_class_package[j]):_+=" tp-datepicker-busy disabled");else if(Object.keys(this.whitelist_days_offer).length>0)for(var j in this.whitelist_days_offer)this.whitelist_days_offer.hasOwnProperty(j)&&t.isArray(this.whitelist_days_offer[j])&&this.whitelist_days_offer[j].length>0&&-1!==t.inArray(x,this.whitelist_days_offer[j])&&(_+=" "+this.whitelist_days_class_offer[j]);else if((Object.keys(this.dayStates).length>0||t.isArray(this.dayStates))&&this.loadDynamicWhiteList&&this.show
3FullDarkGreenDaysOnly)void 0!==this.dayStates[x]&&1==this.dayStates[x].bookable?_+=" tp-datepicker-freeGo":_+=" tp-datepicker-busy disabled";else if((Object.keys(this.dayStates).length>0||t.isArray(this.dayStates))&&this.loadDynamicWhiteList){if(C=1,number=0,"to"==t(this.element).attr("id"))I=o[this.language].departureday;else var I=o[this.language].arrivalday;null!=this.dayStates[x]?number=this.dayStates[x].number:null!=this.dayStates[D]&&1==y?1==this.dayStates[D].isValidStartDate?(_+=" tp-datepicker-free-busy-arrival","tp-search--from"==t(this.element).attr("id")&&(_+=" disabled"),T=o[this.language].departureday,y=0):(_+=" tp-datepicker-free-busy","tp-search--from"==t(this.element).attr("id")&&(_+=" disabled"),T=o[this.language].departureday,y=0):(_+=" disabled",T=o[this.language].busy),number>0&&(this.dayStates[x].minimumDays>1&&1==this.dayStates[x].isValidStartDate&&(C=this.dayStates[x].minimumDays,S=o[this.language].minstay+" "+C+" "+o[this.language].days),null!=this.dayStates[D]?this.dayStates[D].number>0&&(1==this.dayStates[x].isValidStartDate&&1==y?(_+=" tp-datepicker-freeGo",T=I):1!=this.dayStates[x].isValidStartDate&&(_+=" tp-datepicker-free","tp-search--from"==t(this.element).attr("id")&&(_+=" disabled"),T=" "+o[this.language].free),y=1):y=0,0==y?1==this.dayStates[x].isValidStartDate?(_+=" tp-datepicker-busy-free-arrival","tp-search--to"==t(this.element).attr("id")&&(_+=" disabled"),T=o[this.language].arrivalday,y=1):(_+=" tp-datepicker-busy-free",_+=" disabled",T=o[this.language].free,y=1):1==this.dayStates[x].isValidStartDate&&null!=this.dayStates[A]?(_+=" tp-datepicker-freeGo",y=1,T=I):0==this.dayStates[x].isValidStartDate&&null!=this.dayStates[A]?(_+=" tp-datepicker-free","tp-search--from"==t(this.element).attr("id")&&(_+=" disabled"),y=1,T=" "+o[this.language].free):null==this.dayStates[A]&&(1==this.dayStates[x].isValidStartDate?(_+=" tp-datepicker-freeGo",y=1):null!=this.dayStates[A]&&(_+=" tp-datepicker-free-busy","tp-search--from"==t(this.element).attr("id")&&(_+=" disabled"),y=0)))}var O=!(void 0===t(".js-tp-datepicker[data-tp-datepicker-from]").data("tp-datepicker")||""==t(".js-tp-datepicker[data-tp-datepicker-from]").val()||!t(".js-tp-datepicker[data-tp-datepicker-from]").length)&&t(".js-tp-datepicker[data-tp-datepicker-from]").data("tp-datepicker").date,M=!(void 0===t(".js-tp-datepicker[data-tp-datepicker-to]").data("tp-datepicker")||""==t(".js-tp-datepicker[data-tp-datepicker-to]").val()||!t(".js-tp-datepicker[data-tp-datepicker-to]").length)&&t(".js-tp-datepicker[data-tp-datepicker-to]").data("tp-datepicker").date;if(O){var P=this.minStayRange?this.minStayRange:C;if(O=new Date(O.getFullYear(),O.getMonth(),O.getDate()),M){M=new Date(M.getFullYear(),M.getMonth(),M.getDate());new Date(O.getFullYear(),O.getMonth(),O.getDate()+P);O<=E&&M>=E&&"detail"==this.element.attr("data-tp-datepicker-view")&&(_+=" tp-selected-date")}}var L="";""==S&&""==T||(L=""!=S&&""!=T?T==o[this.language].departureday?'title="'+T+'"':'title="'+T+", "+S+'"':""!=T?'title="'+T+'"':'title="'+S+'"'),Object.keys(this.dayStates).length>0?v.push('<td class="day'+_+'" '+L+' data-min="'+C+'">'+f.getUTCDate()+"</td>"):v.push('<td class="day'+_+'" '+L+">"+f.getUTCDate()+"</td>"),f.getUTCDay()==this.weekEnd&&v.push("</tr>"),f.setUTCDate(f.getUTCDate()+1)}this.picker.find(".tp-datepicker-days tbody").empty().append(v.join(""));var z=this.date&&this.date.getUTCFullYear(),B=this.picker.find(".tp-datepicker-months").find("th:eq(1)").text(s).end().find("span").removeClass("active");z&&z==s&&B.eq(this.date.getUTCMonth()).addClass("active"),(s<l||s>p)&&B.addClass("disabled"),s==l&&B.slice(0,d).addClass("disabled"),s==p&&B.slice(c+1).addClass("disabled"),v="",s=10*parseInt(s/10,10);var R=this.picker.find(".tp-datepicker-years").find("th:eq(1)").text(s+"-"+(s+9)).end().find("td");s-=1;for(var W=-1;W<11;W++)v+='<span class="year'+(-1==W||10==W?" old":"")+(z==s?" active":"")+(s<l||s>p?" disabled":"")+'">'+s+"</span>",s+=1;R.html(v)},updateNavArrows:function(){if(this._allow_update){var t=new Date(this.viewDate),e=t.getUTCFullYear(),i=t.getUTCMonth();switch(this.viewMode){case 0:this.startDate!==-1/0&&e<=this.startDate.getUTCFullYear()&&i<=this.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.endDate!==1/0&&e>=this.endDate.getUTCFullYear()&&i>=this.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.startDate!==-1/0&&e<=this.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.endDate!==1/0&&e>=this.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(i){i.preventDefault();var n=t(i.target).closest("span, td, th");if(1==n.length)switch(n[0].nodeName.toLowerCase()){case"th":switch(n[0].className){case"switch":this.showMode(1);break;case"prev":case"next":var o=a.modes[this.viewMode].navStep*("prev"==n[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,o);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,o)}1==this.loadDynamicWhiteList?this.loadVacancyByMonth():this.fill();break;case"today":var s=new Date;s=e(s.getFullYear(),s.getMonth(),s.getDate(),0,0,0),this.showMode(-2);var r="linked"==this.todayBtn?null:"view";this._setDate(s,r)}break;case"span":if(!n.is(".disabled")){if(this.viewDate.setUTCDate(1),n.is(".month")){var l=1,d=n.parent().find("span").index(n),p=this.viewDate.getUTCFullYear();this.viewDate.setUTCMonth(d),this.element.trigger({type:"changeMonth",date:this.viewDate}),1==this.minViewMode&&this._setDate(e(p,d,l,0,0,0,0))}else{var p=parseInt(n.text(),10)||0,l=1,d=0;this.viewDate.setUTCFullYear(p),this.element.trigger({type:"changeYear",date:this.viewDate}),2==this.minViewMode&&this._setDate(e(p,d,l,0,0,0,0))}this.showMode(-1),1==this.loadDynamicWhiteList?this.loadVacancyByMonth():this.fill()}break;case"td":if(n.is(".day")&&!n.is(".disabled")){var l=parseInt(n.text(),10)||1,p=this.viewDate.getUTCFullYear(),d=this.viewDate.getUTCMonth();n.is(".old")?0===d?(d=11,p-=1):d-=1:n.is(".new")&&(11==d?(d=0,p+=1):d+=1),""!=n.attr("data-min")&&(ukv_dayRange=n.attr("data-min")),this._setDate(e(p,d,l,0,0,0,0))}}},_setDate:function(t,e){e&&"date"!=e||(this.date=t),e&&"view"!=e||(this.viewDate=t),this.setValue(),this.element.trigger({type:"changeDate",date:this.date});var i;this.isInput?i=this.element:this.component&&(i=this.element.find("input")),i&&(i.change(),!this.autoclose||e&&"date"!=e||this.hide())},moveMonth:function(t,e){if(!e)return t;var i,n,o=new Date(t.valueOf()),a=o.getUTCDate(),s=o.getUTCMonth(),r=M
3ath.abs(e);if(e=e>0?1:-1,1==r)n=-1==e?function(){return o.getUTCMonth()==s}:function(){return o.getUTCMonth()!=i},i=s+e,o.setUTCMonth(i),(i<0||i>11)&&(i=(i+12)%12);else{for(var l=0;l<r;l++)o=this.moveMonth(o,e);i=o.getUTCMonth(),o.setUTCDate(a),n=function(){return i!=o.getUTCMonth()}}for(;n();)o.setUTCDate(--a),o.setUTCMonth(i);return o},moveYear:function(t,e){return this.moveMonth(t,12*e)},dateWithinRange:function(t){return t>=this.startDate&&t<=this.endDate},keydown:function(t){if(this.picker.is(":not(:visible)"))27==t.keyCode&&this.show();else{var e,i,n,o=!1;switch(t.keyCode){case 27:this.hide(),t.preventDefault();break;case 37:case 39:if(!this.keyboardNavigation)break;e=37==t.keyCode?-1:1,t.ctrlKey?(i=this.moveYear(this.date,e),n=this.moveYear(this.viewDate,e)):t.shiftKey?(i=this.moveMonth(this.date,e),n=this.moveMonth(this.viewDate,e)):((i=new Date(this.date)).setUTCDate(this.date.getUTCDate()+e),(n=new Date(this.viewDate)).setUTCDate(this.viewDate.getUTCDate()+e)),this.dateWithinRange(i)&&(this.date=i,this.viewDate=n,this.setValue(),this.update(),t.preventDefault(),o=!0);break;case 38:case 40:if(!this.keyboardNavigation)break;e=38==t.keyCode?-1:1,t.ctrlKey?(i=this.moveYear(this.date,e),n=this.moveYear(this.viewDate,e)):t.shiftKey?(i=this.moveMonth(this.date,e),n=this.moveMonth(this.viewDate,e)):((i=new Date(this.date)).setUTCDate(this.date.getUTCDate()+7*e),(n=new Date(this.viewDate)).setUTCDate(this.viewDate.getUTCDate()+7*e)),this.dateWithinRange(i)&&(this.date=i,this.viewDate=n,this.setValue(),this.update(),t.preventDefault(),o=!0);break;case 13:this.hide(),t.preventDefault();break;case 9:this.hide()}if(o){this.element.trigger({type:"changeDate",date:this.date});var a;this.isInput?a=this.element:this.component&&(a=this.element.find("input")),a&&a.change()}}},showMode:function(t){t&&(this.viewMode=Math.max(this.minViewMode,Math.min(2,this.viewMode+t))),this.picker.find(">div").hide().filter(".tp-datepicker-"+a.modes[this.viewMode].clsName).css("display","block"),this.updateNavArrows()},loadVacancyByMonth:function(){var e=this;spID=t(e.element).attr("data-spID"),d=new Date(this.viewDate),t(".tooltipster-content").find(".tp-datepickerloader").addClass("tp-loading-curtain").show(),t(".tooltipster-content").find(".tp-datepickerloader").attr({"data-tp-ajax-loaderState":"loading"}),t("html.no-touch").find("tp-datepickertooltip").html(" ");var i=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();t.get("/"+configName+"/"+ttModuleName+"/json/joinedCalendar/"+spID,{date:i},function(i){i="string"==typeof i?t.parseJSON(i):i,e.dayStates=i}).done(function(){e.fill(),t("html.no-touch").find("tp-datepickertooltip").html(" "),t(".tooltipster-content").find(".tp-datepickerloader").removeClass("tp-loading-curtain").hide(),t(".tooltipster-content").find(".tp-datepickerloader").attr({"data-tp-ajax-loaderstate":"loaded"})})}},t.fn.tpdatepicker=function(e){var n=Array.apply(null,arguments);return n.shift(),this.each(function(){var o=t(this),a=o.data("tp-datepicker"),s="object"==typeof e&&e;a||o.data("tp-datepicker",a=new i(this,t.extend({},t.fn.tpdatepicker.defaults,s))),"string"==typeof e&&"function"==typeof a[e]&&a[e].apply(a,n)})},t.fn.tpdatepicker.defaults={onRender:function(t){return""}},t.fn.tpdatepicker.Constructor=i,"undefined"==typeof loadDynamicWhiteList&&(loadDynamicWhiteList=!1);var n=t.fn.tpdatepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today"}},o=t.fn.tpdatepicker.dayStatesText={en:{departureday:"possible departure day",arrivalday:"possible arrival day",minstay:"Minimum stay",days:"days",free:"free / no arrival",busy:"busy"},de:{departureday:"möglicher Abreisetag",arrivalday:"möglicher Anreisetag",minstay:"Mindestaufenthalt",days:"Tage",free:"frei, aber keine Anreise möglich",busy:"belegt"},fr:{departureday:"jour de départ possible",arrivalday:"jour d'arrivée possible",minstay:"durée de séjour min.",days:"jours",free:"libre / pas d'arrivée possible",busy:"occupé"},es:{departureday:"dià de salida possible",arrivalday:"DÃa posible de llegada",minstay:"Estancia mÃnima",days:"DÃas",free:"free / no arrival",busy:"busy"},it:{departureday:"giorno di partenza possible",arrivalday:"Possibile giorno d'arrivo",minstay:"Soggiorno minimo",days:"Giorni",free:"free / no arrival",busy:"busy"},nl:{departureday:"mogelijke vertrekdag",arrivalday:"mogelijke aankomstdag",minstay:"minimumaantal nachten",days:"Dagen",free:"free / no arrival",busy:"busy"},cs:{departureday:"",arrivalday:"possible arrivalday",minstay:"Minimum stay",days:"Dny",free:"free / no arrival",busy:"busy"}
3,ch:{departureday:"möglicher Abreisetag",arrivalday:"möglicher Anreisetag",minstay:"Mindestaufenthalt",days:"Tage",free:"frei, aber keine Anreise möglich",busy:"belegt"}},a={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(t){return t%4==0&&t%100!=0||t%400==0},getDaysInMonth:function(t,e){return[31,a.isLeapYear(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(t){var e=t.replace(this.validParts,"\0").split("\0"),i=t.match(this.validParts);if(!e||!e.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:e,parts:i}},parseDate:function(o,a,s){if(o instanceof Date)return o;if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(o)){var r,l=/([\-+]\d+)([dmwy])/,d=o.match(/([\-+]\d+)([dmwy])/g);o=new Date;for(_=0;_<d.length;_++)switch(u=l.exec(d[_]),r=parseInt(u[1]),u[2]){case"d":o.setUTCDate(o.getUTCDate()+r);break;case"m":o=i.prototype.moveMonth.call(i.prototype,o,r);break;case"w":o.setUTCDate(o.getUTCDate()+7*r);break;case"y":o=i.prototype.moveYear.call(i.prototype,o,r)}return e(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate(),0,0,0)}var p,c,u,d=o&&o.match(this.nonpunctuation)||[],o=new Date,h={},f=["yyyy","yy","M","MM","m","mm","d","dd"],g={yyyy:function(t,e){return t.setUTCFullYear(e)},yy:function(t,e){return t.setUTCFullYear(2e3+e)},m:function(t,e){for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!=e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};g.M=g.MM=g.mm=g.m,g.dd=g.d,o=e(o.getFullYear(),o.getMonth(),o.getDate(),0,0,0);var m=a.parts.slice();if(d.length!=m.length&&(m=t(m).filter(function(e,i){return-1!==t.inArray(i,f)}).toArray()),d.length==m.length){for(var _=0,v=m.length;_<v;_++){if(p=parseInt(d[_],10),u=m[_],isNaN(p))switch(u){case"MM":c=t(n[s].months).filter(function(){var t=this.slice(0,d[_].length);return t==d[_].slice(0,t.length)}),p=t.inArray(c[0],n[s].months)+1;break;case"M":c=t(n[s].monthsShort).filter(function(){var t=this.slice(0,d[_].length);return t==d[_].slice(0,t.length)}),p=t.inArray(c[0],n[s].monthsShort)+1}h[u]=p}for(var y,_=0;_<f.length;_++)(y=f[_])in h&&!isNaN(h[y])&&g[y](o,h[y])}return o},formatDate:function(e,i,o){var a={d:e.getUTCDate(),D:n[o].daysShort[e.getUTCDay()],DD:n[o].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:n[o].monthsShort[e.getUTCMonth()],MM:n[o].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};a.dd=(a.d<10?"0":"")+a.d,a.mm=(a.m<10?"0":"")+a.m;for(var e=[],s=t.extend([],i.separators),r=0,l=i.parts.length;r<l;r++)s.length&&e.push(s.shift()),e.push(a[i.parts[r]]);return e.join("")},headTemplate:'<thead><tr><th class="prev"><i class="tp-icon-angle-left"/></th><th colspan="5" class="switch"></th><th class="next"><i class="tp-icon-angle-right"/></th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr></tfoot>',showCalendarLegend:function(){return"undefined"!=typeof loadDynamicWhiteList&&!0===loadDynamicWhiteList&&!1===showFullDarkGreenDaysOnly?'<div class="tp-datepicker-legend"><div class="tp-datepicker-busy">'+o[ttlanguage].busy+'</div><div class="tp-datepicker-freeGo"><span class="tp-datepicker-legend-arrivaltext">'+o[ttlanguage].arrivalday+'</span><span class="tp-datepicker-legend-departuretext">'+o[ttlanguage].departureday+'</span></div><div class="tp-datepicker-free">'+o[ttlanguage].free+"</div></div>":""},showDatepickerLoader:function(){return"undefined"!=typeof loadDynamicWhiteList&&!0===loadDynamicWhiteList?'<div class="tp-loading-curtain tp-datepickerloader"><div class="tp-loading-curtain-inner"><span class="tp-icon-spinner animate-spin"></span><br></div></div>':""}};a.template='<div class="tp-datepicker">'+a.showDatepickerLoader()+'<div class="tp-datepicker-days"><table class="pure-table pure-table-bordered">'+a.headTemplate+"<tbody></tbody>"+a.footTemplate+'</table></div><div class="tp-datepicker-months"><table class="pure-table pure-table-bordered">'+a.headTemplate+a.contTemplate+a.footTemplate+'</table></div><div class="tp-datepicker-years"><table class="pure-table pure-table-bordered">'+a.headTemplate+a.contTemplate+a.footTemplate+"</table></div>"+a.showCalendarLegend()+"</div>",t.fn.tpdatepicker.DPGlobal=a}(window.jQuery),jQuery.fn.tpdatepicker.dates.ch={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",weekStart:1,format:"dd.mm.yyyy"},jQuery.fn.tpdatepicker.dates.cs={days:["NedÄle","PondÄlÃ","Ãterý","StÅeda","Ätvrtek","Pátek","Sobota","NedÄle"],daysShort:["Ned","Pon","Ãte","StÅ","Ätv","Pát","Sob","Ned"],daysMin:["Ne","Po","Ãt","St","Ät","Pá","So","Ne"],months:["Leden","Ãnor","BÅezen","Duben","KvÄten","Äerven","Äervenec","Srpen","ZáÅÃ","ÅÃjen","Listopad","Prosinec"],monthsShort:["Led","Ãno","BÅe","Dub","KvÄ","Äer","Änc","Srp","ZáÅ","ÅÃj","Lis","Pro"],today:"Dnes"},jQuery.fn.tpdatepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",weekStart:1,format:"dd.mm.yyyy"},jQuery.fn.tpdatepicker.dates.es={days:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"],daysShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb","Dom"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],today:"Hoy"},jQuery.fn.tpdatepicker.dates.fr={days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],daysMin:["D","L","Ma","Me","J","V","S","D"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fév","Mar","Avr","Mai","Jui","Jul","Aou","Sep","Oct","Nov","Déc"],today:"Aujourd'hui",clear:"Effacer",weekStart:1,format:"dd/mm/yyyy"},jQuery.fn.tpdatepicker.dates.it={days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab","Dom"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa","Do"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",clear:"Cancella",weekStart:1,format:"dd/mm/yyyy"},jQuery.fn.tpdatepicker.dates.nl={days:["Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"],daysShort:["Zo","Ma","Di","Wo","Do","Vr","Za","Zo"],daysMin:["Zo","Ma","Di","Wo","Do","Vr","Za","Zo"],months:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Vandaag"},window.self!=window.top&&$(document.body).addClass("tp-in-iframe"),"function"==typeof tp_init_lazyload&&tp_init_lazyload(),"function"==typeof tp_init_tp_more_inline&&tp_init_tp_more_inline(),"function"==typeof tp_init_tp_read_more_less&&tp_init_tp_read_more_less(),"function"==typeof tp_init_tp_more_elements&&tp_init_tp_more_elements(),"function"==typeof tp_init_tp_addslashes&&addslashes(str),"function"==typeof tp_init_tp_image_fit&&tp_init_tp_image_fit(),"function"==typeof tp_init_tp_ping&&tp_init_tp_ping(),"function"==typeof tp_init_tp_toggle_target&&tp_init_tp_toggle_target(),"function"==typeof tp_init_tp_selection_toggle&&tp_init_tp_selection_toggle(
3),"function"==typeof tp_init_tp_aside&&tp_init_tp_aside(),"function"==typeof tp_init_tp_back_to_top&&tp_init_tp_back_to_top(),"function"==typeof tp_init_tp_ga_optout&&tp_init_tp_ga_optout(),"function"==typeof tp_init_tp_toggle_text_hider&&tp_init_tp_toggle_text_hider(),"function"==typeof tp_init_tp_clipboard&&tp_init_tp_clipboard(),"function"==typeof tp_init_tp_accessibility_proinfirmis_ajax&&tp_init_tp_accessibility_proinfirmis_ajax(),"function"==typeof tp_init_tp_select_toggle&&tp_init_tp_select_toggle(),"function"==typeof tp_init_tp_toggle_target_text&&tp_init_tp_toggle_target_text(),"function"==typeof tp_init_tp_button&&tp_init_tp_button(),"function"==typeof tp_init_tp_inputgroupaddon&&tp_init_tp_inputgroupaddon(),"function"==typeof tp_init_tp_datepickerdisabled&&tp_init_tp_datepickerdisabled(),"function"==typeof tp_init_tp_autocomplete&&tp_init_tp_autocomplete(),"function"==typeof tp_init_tp_change_currency&&tp_init_tp_change_currency(),"function"==typeof tp_init_tp_change_sortorder&&tp_init_tp_change_sortorder(),"function"==typeof tp_init_tp_facet_check&&tp_init_tp_facet_check(),"function"==typeof tp_init_tp_search_location_filter&&tp_init_tp_search_location_filter(),"function"==typeof tp_init_tp_search&&tp_init_tp_search(),"function"==typeof tp_init_tp_update_articlePrice&&tp_init_tp_update_articlePrice(),"function"==typeof tp_init_form_lightbox&&tp_init_form_lightbox(),"function"==typeof tp_init_tp_change_selected_service&&tp_init_tp_change_selected_service(),"function"==typeof tp_init_tp_check_required_inputs&&tp_init_tp_check_required_inputs(),"function"==typeof tp_init_tp_calendar&&tp_init_tp_calendar(),"function"==typeof tp_init_tp_cart&&tp_init_tp_cart(),"function"==typeof tp_init_tp_cart_code_insert&&tp_init_tp_cart_code_insert(),"function"==typeof tp_init_tp_cart_offerteaser&&tp_init_tp_cart_offerteaser(),"function"==typeof tp_init_tp_cart_add_erv&&tp_init_tp_cart_add_erv(),"function"==typeof tp_init_tp_cart_do_datatrans&&tp_init_tp_cart_do_datatrans(),"function"==typeof tp_init_tp_cart_add_participant&&tp_init_tp_cart_add_participant(),"function"==typeof tp_init_tp_cart_payment&&tp_init_tp_cart_payment(),"function"==typeof tp_init_tp_cart_payment_change_inputs&&tp_init_tp_cart_payment_change_inputs(),"function"==typeof tp_init_tp_cart_success_document&&tp_init_tp_cart_success_document(),"function"==typeof tp_init_tp_cart_swisspass&&tp_init_tp_cart_swisspass(),"function"==typeof tp_init_tp_collapse&&tp_init_tp_collapse(),"function"==typeof tp_init_tp_collapse_ajax&&tp_init_tp_collapse_ajax(),"function"==typeof tp_init_tp_datepicker&&tp_init_tp_datepicker(),"function"==typeof tp_init_tp_datepicker_messe&&tp_init_tp_datepicker_messe(),"function"==typeof tp_init_tp_datepicker_toubiz&&tp_init_tp_datepicker_toubiz(),"function"==typeof tp_init_datepicker_toubiz_button_submit&&tp_init_datepicker_toubiz_button_submit(),"function"==typeof tp_init_tp_ellipsis&&tp_init_tp_ellipsis(),"function"==typeof tp_init_tp_gallery&&tp_init_tp_gallery(),"function"==typeof tp_init_tp_infinite&&tp_init_tp_infinite(),"function"==typeof tp_init_tp_map&&0==TP_COOKIECONSENT&&tp_init_tp_map(),"function"==typeof tp_init_tp_media_objectfit_image&&tp_init_tp_media_objectfit_image(),"function"==typeof tp_init_tp_message&&tp_init_tp_message(),"function"==typeof tp_init_tp_modal&&tp_init_tp_modal(),"function"==typeof tp_init_tp_add_result_to_cart&&tp_init_tp_add_result_to_cart(),"function"==typeof tp_init_tp_offer_quick_book&&tp_init_tp_offer_quick_book(),"function"==typeof tp_init_tp_panel&&tp_init_tp_panel(),"function"==typeof tp_init_tp_panel_ajax&&tp_init_tp_panel_ajax(),"function"==typeof tp_init_tp_progressbar&&tp_init_tp_progressbar(),"function"==typeof tp_init_tp_quickfinder&&tp_init_tp_quickfinder(),"function"==typeof tp_init_tp_rating_ajax&&tp_init_tp_rating_ajax(),"function"==typeof tp_init_tp_rating&&tp_init_tp_rating(),"function"==typeof tp_init_tp_rating_trustyou&&tp_init_tp_rating_trustyou(),"function"==typeof tp_init_tp_related&&tp_init_tp_related(),"function"==typeof tp_init_tp_results&&tp_init_tp_results(),"function"==typeof tp_init_tp_distance&&0==TP_COOKIECONSENT&&tp_init_tp_distance(),"function"==typeof tp_init_tp_slider&&tp_init_tp_slider(),"function"==typeof tp_init_tp_subnav&&tp_init_tp_subnav(),"function"==typeof tp_init_tp_social&&tp_init_tp_social(),"function"==typeof tp_init_tp_panel_tabs&&tp_init_tp_panel_tabs(),"function"==typeof tp_init_tp_tooltip&&tp_init_tp_tooltip(),"function"==typeof tp_init_tp_tooltip_ajax&&tp_init_tp_tooltip_ajax(),"function"==typeof tp_init_tp_voucher&&tp_init_tp_voucher(),"function"==typeof tp_init_tp_video_popup&&tp_init_tp_video_popup();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.