;(function($, window, document, undefined){
var AuxinRemoveCartContent=function(){
$(document).on('click', '.aux-remove-cart-content', function(e){
e.preventDefault();
var $thisbutton=$(this);
var product_id=$(this).data("product_id");
var cart_item_key=$(this).data("cart_item_key");
var verify_nonce=$(this).data("verify_nonce");
var $cartBoxEl=$(this).closest('.aux-cart-wrapper').addClass('aux-cart-remove-in-progress');
if(typeof auxin_cart_options==='undefined'){
auxin_cart_options='';
}
$.ajax({
type: 'POST',
dataType: 'json',
url: auxin.ajax_url,
data: {
action: "auxels_remove_from_cart",
product_id: product_id,
cart_item_key: cart_item_key,
verify_nonce: verify_nonce,
args:auxin_cart_options,
},
success: function(response){
$(".woocommerce-message, .woocommerce-error").remove();
if(response.success){
$('.aux-hidden-blocks').append(response.data.notif);
if(parseInt(response.data.total)===0){
$('.aux-card-dropdown').html(response.data.empty);
$('.aux-cart-contents').find('span').remove();
}else{
$('.aux-card-item').filter(function(){
return $(this).data('cart_item_key')==cart_item_key;
}).remove();
$('.aux-cart-contents').find('span').text(response.data.count);
}
$(".aux-cart-subtotal").each(function(){
$(this).find('.woocommerce-Price-amount').html(response.data.total);
});
$cartBoxEl.removeClass('aux-cart-remove-in-progress');
$(document.body).trigger('removed_from_cart', [ response.data.fragments, response.data.cart_hash, $thisbutton, response.data.items ]);
}else{
$('.aux-hidden-blocks').append(response.data);
}
$('#offcart .aux-cart-wrapper .aux-card-dropdown').removeClass('aux-phone-off');
}});
});
};
var AuxinAjaxAddToCart=function(){
$(document).on('click', '.aux-ajax-add-to-cart', function(e){
var $thisbutton=$(this);
var productType=$(this).data("product-type");
if(productType!=='simple'){
return;
}
$thisbutton.removeClass('added');
$thisbutton.addClass('loading');
if(typeof auxin_cart_options==='undefined'){
auxin_cart_options='';
}
e.preventDefault();
var product_id=$(this).data("product_id");
var quantity=$(this).data("quantity");
var verify_nonce=$(this).data("verify_nonce");
var $cartBoxEl=$('.aux-cart-wrapper');
var hasAnimation=$cartBoxEl.hasClass('aux-basket-animation') ? true:false;
$cartBoxEl.trigger('AuxCartInProgress');
if($(this).parents('.aux-shop-quicklook-modal')){
quantity=$(this).parents('.aux-shop-quicklook-modal').find('.quantity input').val();
}
var data={};
$.each($thisbutton.data(), function(key, value){
data[ key ]=value;
});
$.each($thisbutton[0].dataset, function(key, value){
data[ key ]=value;
});
$(document.body).trigger('adding_to_cart', [ $thisbutton, data ]);
$.ajax({
type: 'POST',
dataType: 'json',
url: auxin.ajax_url,
data: {
action:"auxels_add_to_cart",
args:auxin_cart_options,
product_id:product_id,
quantity:quantity,
verify_nonce: verify_nonce
},
success: function(response){
$(".woocommerce-message, .woocommerce-error").remove();
if(response.success){
$('.aux-hidden-blocks').append(response.data.notif);
setTimeout(function(){
if(hasAnimation){
$cartBoxEl.find('.aux-card-dropdown').html(response.data.items);
$cartBoxEl.find('.aux-shopping-basket').html(response.data.total);
$cartBoxEl.trigger('AuxCartUpdated');
$(document.body).trigger('added_to_cart', [ response.data.fragments, response.data.cart_hash, $thisbutton ]);
}else{
$cartBoxEl.find('.aux-card-dropdown').html(response.data.items);
$cartBoxEl.find('.aux-shopping-basket').html(response.data.total);
$cartBoxEl.trigger('AuxCartUpdated');
$(document.body).trigger('added_to_cart', [ response.data.fragments, response.data.cart_hash, $thisbutton, response.data.items ]);
}
$('#offcart .aux-cart-wrapper .aux-card-dropdown').removeClass('aux-phone-off');
}, 150);
}else{
$('.aux-hidden-blocks').append(response.data);
}}
});
});
$(document.body).on('wc_fragments_refreshed', function(){
var $cartBoxEl=$('.aux-cart-wrapper');
var hasAnimation=$cartBoxEl.hasClass('aux-basket-animation') ? true:false;
if(typeof auxin_cart_options==='undefined'){
auxin_cart_options='';
}
$.ajax({
type: 'POST',
dataType: 'json',
url: auxin.ajax_url,
data: {
action:"auxels_get_refreshed_fragments",
args:auxin_cart_options,
},
success: function(response){
$(".woocommerce-message, .woocommerce-error").remove();
if(response.success){
setTimeout(function(){
if(hasAnimation){
$cartBoxEl.find('.aux-card-dropdown').html(response.data.items);
$cartBoxEl.find('.aux-shopping-basket').html(response.data.total);
$cartBoxEl.trigger('AuxCartUpdated');
}else{
$cartBoxEl.find('.aux-card-dropdown').html(response.data.items);
$cartBoxEl.find('.aux-shopping-basket').html(response.data.total);
$cartBoxEl.trigger('AuxCartUpdated');
}}, 150);
}else{
$('.aux-hidden-blocks').append(response.data);
}}
});
});
};
var AjaxRecentProductsPagination=function (){
$('a.page-numbers').on('click', function (e){
if(!$(this).parents('.aux-widget-recent-products').length){
return;
}
e.preventDefault();
var $widgetWrapper=$(this).parents('.elementor-widget-container').length ? $(this).parents('.elementor-widget-container'):$(this).parents('.elementor-widget'),
widgetData=$widgetWrapper.find('.aux-recent-products-wrapper').data('widget-data'),
paged=$(this).data('paged');
$widgetWrapper.find('.aux-widget-recent-products').addClass('loading');
$widgetWrapper.find('.aux-isotope-animated .aux-items-loading').removeClass('aux-loading-hide');
$.ajax({
url: auxin.ajax_url,
type: 'GET',
data: {
action: 'aux_the_recent_products',
data: widgetData,
paged: paged,
auxinNonce: auxin.nonce
}}).done(function (response){
if(response){
$widgetWrapper.empty();
$widgetWrapper.append(response);
$(document).trigger('auxin_the_recent_products_widget_updated');
}});
});
}
var AuxinSelectEelement=function (){
$('.aux-select-element').each(function (){
var $element=$(this);
var action=$element.data('action');
if(action=='click'){
$element.find('.current').on('click', function (){
$(this).siblings('.list').toggleClass('show');
})
}else{
$element.hover(function (){
$element.find('.list').addClass('show');
}, function (){
$element.find('.list').removeClass('show');
}
);
}
$element.find('.option').on('click', function (){
var markup=$(this).html();
$element.find('.current .selected').html(markup);
$element.find('.list').toggleClass('show');
});
$(document).on('click', function (e){
if(!$(e.target).parents('.aux-select-element').length){
$element.find('.list').removeClass('show');
}});
})
}
$(document).ready(function(){
AuxinRemoveCartContent();
AuxinAjaxAddToCart();
AjaxRecentProductsPagination();
$(document).on('auxin_the_recent_products_widget_updated', function (){
AjaxRecentProductsPagination();
});
AuxinSelectEelement();
});
$.fn.AuxinCartAnimationHandler=function(){
$headerCartWrapper=$(this).find('.aux-cart-wrapper');
$headerCartWrapper.trigger('AuxCartProgressAnimationDone');
if(! $headerCartWrapper.hasClass('aux-basket-animation')){
return
}
$headerCartWrapper.on('AuxCartInProgress', function(e){
$headerCartWrapper.addClass('aux-cart-in-progress');
});
$headerCartWrapper.on('animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd', function(e){
if(e.originalEvent.animationName==='FillBasket'){
$headerCartWrapper.removeClass('aux-cart-in-progress');
$headerCartWrapper.trigger('AuxCartProgressAnimationDone');
}});
$headerCartWrapper.on('AuxCartUpdated', function(e){
$headerCartWrapper.addClass('aux-cart-updated-animation');
});
}
$('body').AuxinCartAnimationHandler();
$(document.body).on('wc_cart_emptied', function(){
$('.aux-shopping-basket .aux-cart-contents span').html('0');
});
})(jQuery,window,document);
!function(t){"use strict";if("function"==typeof define&&define.amd)define(["jquery"],t);else if("object"==typeof exports)t(require("jquery"));else{if("undefined"==typeof jQuery)throw"jquery-numerator requires jQuery to be loaded first";t(jQuery)}}(function(t){function e(e,s){this.element=e,this.settings=t.extend({},i,s),this._defaults=i,this._name=n,this.init()}var n="numerator",i={easing:"swing",duration:500,delimiter:void 0,rounding:0,toValue:void 0,fromValue:void 0,queue:!1,onStart:function(){},onStep:function(){},onProgress:function(){},onComplete:function(){}};e.prototype={init:function(){this.parseElement(),this.setValue()},parseElement:function(){var e=t.trim(t(this.element).text());this.settings.fromValue=this.settings.fromValue||this.format(e)},setValue:function(){var e=this;t({value:e.settings.fromValue}).animate({value:e.settings.toValue},{duration:parseInt(e.settings.duration,10),easing:e.settings.easing,start:e.settings.onStart,step:function(n,i){t(e.element).text(e.format(n)),e.settings.onStep(n,i)},progress:e.settings.onProgress,complete:e.settings.onComplete})},format:function(t){var e=this;return t=parseInt(this.settings.rounding)<1?parseInt(t,10):parseFloat(t).toFixed(parseInt(this.settings.rounding)),e.settings.delimiter?this.delimit(t):t},delimit:function(t){var e=this;if(t=t.toString(),e.settings.rounding&&parseInt(e.settings.rounding,10)>0){var n=t.substring(t.length-(e.settings.rounding+1),t.length),i=t.substring(0,t.length-(e.settings.rounding+1));return e.addDelimiter(i)+n}return e.addDelimiter(t)},addDelimiter:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.settings.delimiter)}},t.fn[n]=function(i){return this.each(function(){t.data(this,"plugin_"+n)&&t.data(this,"plugin_"+n,null),t.data(this,"plugin_"+n,new e(this,i))})}});
;(function($){
$(function(){
$.fn.AuxinCountDown=function(){
var $wrapper=$(this).find('.aux-countdown-wrapper '),
data={
year:$wrapper.data('countdown-year'),
month:$wrapper.data('countdown-month'),
day:$wrapper.data('countdown-day'),
hour:$wrapper.data('countdown-hour'),
min:$wrapper.data('countdown-min'),
sec:$wrapper.data('countdown-sec')
},
targetDate=new Date(data.year,data.month,data.day,data.hour,data.min,data.sec);
$year=$wrapper.find('.aux-countdown-year'),
$month=$wrapper.find('.aux-countdown-month'),
$day=$wrapper.find('.aux-countdown-day'),
$hour=$wrapper.find('.aux-countdown-hour'),
$min=$wrapper.find('.aux-countdown-min'),
$sec=$wrapper.find('.aux-countdown-sec');
setInterval(function(){
var diffTime=(Date.parse(targetDate) - Date.parse(new Date())) / 1000;
if(diffTime < 0) return;
$year.text(Math.floor(diffTime /(31536000)));
$month.text(Math.floor(( diffTime / 2592000) % 12));
$day.text(Math.floor(( diffTime / 86400) % 365));
$hour.text(Math.floor(( diffTime / 3600) % 24));
$min.text(Math.floor(( diffTime / 60) % 60));
$sec.text(Math.floor(( diffTime) % 60));
},1000)
}
$('.aux-widget-countdown').each(function(){
$(this).AuxinCountDown();
});
$.fn.AuxinCounter=function($scope){
$scope=$scope||$(this);
$scope.find('.aux-counter-number').each(function(){
var $this=$(this),
hasAnimation=$('body').hasClass('aux-page-animation');
var data={
delay: $this.data('delay'),
easing: $this.data('easing'),
duration: $this.data('duration'),
toValue: $this.data('to-value'),
delimiter: $this.data('delimiter')
};
var run_counter=function($this, data){
if($.fn.appearl){
$this.appearl().one('appear', function(){
if(data.delay){
setTimeout(function(){
$this.numerator(data);
}, data.delay);
}else{
$this.numerator(data);
}});
}else{
if(data.delay){
setTimeout(function(){
$this.numerator(data);
}, data.delay);
}else{
$this.numerator(data);
}}
}
if(hasAnimation){
document.body.addEventListener('AuxPageAnimationDone', function(event){
run_counter($this, data);
});
}else{
run_counter($this, data);
}});
}
$.fn.AuxinCounter($('body'));
});
})(jQuery);
var Hammer,cff_init,hashRegex,tagRegex,cff_js_exists=void 0!==cff_js_exists;function cffAddMasonry(t){var e,i=jQuery.Event("cffbeforemasonry");i.$self=t,jQuery(window).trigger(i),"function"==typeof t.masonry&&(e=!1,800<(i=jQuery(window).width())?t.hasClass("masonry-1-desktop")||(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):400<i?(t.hasClass("masonry-2-tablet")||t.hasClass("masonry-3-tablet")||t.hasClass("masonry-4-tablet")||t.hasClass("masonry-5-tablet")||t.hasClass("masonry-6-tablet"))&&(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):(t.hasClass("masonry-2-mobile")||t.hasClass("masonry-3-mobile"))&&(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")),t.hasClass("cff-masonry")&&t.find(".cff-album-item a").removeAttr("style"),e&&(t.find(".cff-item").length?(window.cffMasonrySettings.itemSelector=".cff-new, .cff-item, .cff-likebox",t.find(".cff-posts-wrap").masonry(window.cffMasonrySettings),t.find(".cff-item").each(function(){jQuery(this).css("margin-bottom","15px")})):t.find(".cff-album-item").length&&(window.cffMasonrySettings.itemSelector=".cff-album-item, .cff-likebox",t.find(".cff-posts-wrap").masonry(window.cffMasonrySettings))))}function Cff(){this.feeds={},this.options={}}function CffFeed(t,e,i){this.el=t,this.index=e,this.settings=i,this.resizedImages={},this.needsResizing=[],this.imagesWaiting=0}function CFFLocationGuess(t=!1){var e=0==t?jQuery(this.el):t,t="content";return e.closest("footer").length?t="footer":e.closest(".header").length||e.closest("header").length?t="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(t="sidebar"),t}function cffAjax(t,e){jQuery.ajax({url:cffajaxurl,type:"post",data:t,success:e})}function cffCmplzGetCookie(t){for(var e=t+"=",i=window.document.cookie.split(";"),n=0;n<i.length;n++){var a=i[n].trim();if(0==a.indexOf(e))return a.substring(e.length,a.length)}return""}function sanitizeColor(t){return/^(#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgba?\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}(?:\s*,\s*(?:0|1|0?\.\d+))?\s*\))$/.test(t)?t:null}function cffGetShortcodeToken(t){var e="";return t.attr("data-cff-shortcode")&&-1!==t.attr("data-cff-shortcode").indexOf("accesstoken")&&(t=t.attr("data-cff-shortcode"),t=JSON.parse(t),e=encodeURI("&at="+t.accesstoken)),e}function cffReplaceHashtags(t){t=jQuery.trim(t);return/^#[0-9A-F]{6}$/i.test(t)?t:'<a href="https://www.facebook.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"}function cffReplaceTags(t){t=jQuery.trim(t);return'<a href="https://www.facebook.com/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"}function cffEncodeHTML(t){if(void 0===t)return"";t=t.replace(/(>)/g,"&gt;");return t=(t=(t=t.replace(/(<)/g,"&lt;")).replace(/(&lt;br\/&gt;)/g,"<br>")).replace(/(&lt;br&gt;)/g,"<br>")}function cffLoadCommentReplies(e){var t="",i="",n=jQuery("#cff_"+e.parent().attr("data-id")).closest("#cff");n.hasClass("cff-group")&&(t="&usegrouptoken=true"),"true"==n.attr("data-own-token")&&(i="&useowntoken=true");var a=(void 0!==e.closest(".cff-item").attr("data-page-id")?e.closest(".cff-item"):jQuery(".cff-lightbox-wrapper")).attr("data-page-id"),o=cffGetShortcodeToken(n),s=e.parent(),r=s.siblings(".cff-comment-replies-box");cffsiteurl,s.attr("data-id");s.hasClass("cff-hide")?(r.hide(),s.removeClass("cff-hide")):(r.show(),s.addClass("cff-hide"),r.hasClass("cff-empty")&&((i=s.find("a")).append('<div class="cff-loader"></div>'),s.find(".cff-loader").css("background-color",i.css("color")),a={action:"cff_comments",id:s.attr("data-id"),pageid:a},n.hasClass("cff-group")&&(a.usegrouptoken=!0),"true"==n.attr("data-own-token")&&(a.useowntoken=!0),""!==o&&(o=o.split("="),a.at=o[1]),cffAjax(a,function(t){s.find(".cff-loader").remove();var t=JSON.parse(t),o="";void 0!==t.comments&&jQuery.each(t.comments.data,function(t,e){var i=void 0===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven,n=!0;cff_comment_from_id=void 0!==e.from?e.from.id:(n=!1,""),o+='<div class="cff-comment-reply" id="cff_'+e.id+'"><div class="cff-comment-text-wrapper"><div class="cff-comment-text',n||(o+=" cff-no-name"),o+='"><p>',n&&(void 0!==e.from.link?o+='<a href="https://facebook.com/'+e.from.id+'" class="cff-name" target="_blank" rel="nofollow noopener">'+e.from.name+"</a>":o+='<span class="cff-name">'+e.from.name+"</span>");var a=cffEncodeHTML(e.message);o+=a,0<parseInt(e.like_count)&&(o+='<span class="cff-comment-likes"><span class="cff-comment-likes-bg"><b style="padding-top: 3px;"><svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"></path></svg></b>'+e.like_count+"</span></span>"),o+="</p>",void 0!==e.attachment&&(o+=i?'<a class="cff-comment-attachment" href="'+e.attachment.url+'" target="_blank" rel="nofollow noopener"><img src="'+e.attachment.media.image.src+'" class="cff-feed-image" alt="'+e.attachment.title+'" /></a>':'<a class="cff-comment-attachment" href="'+e.attachment.url+'" target="_blank" rel="nofollow noopener"><span class="cff-comment-image-placeholder" data-src="'+e.attachment.media.image.src+'" data-alt="'+e.attachment.title+'"></span></a>'),o+="</div></div>",n&&(o+=i?'<div class="cff-comment-img cff-comment-reply-img"><a href="https://facebook.com/'+e.from.id+'" target="_blank" rel="nofollow noopener"><img src="'+e.from.picture.data.url+'" class="cff-feed-image" width="20" height="20" alt="Avatar" onerror="this.style.display=\'none\'"></a></div>':'<div class="cff-comment-img cff-comment-reply-img"><a href="https://facebook.com/'+e.from.id+'" target="_blank" rel="nofollow noopener"><span data-src="'+e.from.picture.data.url+'"></span></a></div>'),o+="</div>"}),r.html(o).removeClass("cff-empty"),!e.closest("#cff").hasClass("cff-masonry-js")||e.closest("#cff").hasClass("cff-masonry-css")||e.closest("#cff").hasClass("cff-opaque-comments")||cffAddMasonry(e.closest("#cff"))})))}function cffLightbox(){function j(){return document.createElement("video").canPlayType}(function(){var E=jQuery,e=(t.prototype.albumLabel=function(t,e){return t+" / "+e},t);function t(){this.fadeDuration=300,this.fitImagesInViewport=!0,this.resizeDuration=400,this.positionFromTop=50,this.showImageNumberLabel=!0,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1}var i=function(){function t(t){this.options=t,this.album=[],this.currentImageIndex=void 0,this.init()}t.prototype.init=function(){this.enable(),this.build()},t.prototype.enable=function(){var e=this;E("body").on("click","a[data-cff-lightbox], area[data-cff-lightbox]",function(t){return window.cffCurrentLightboxPostID=E(t.currentTarget).attr("data-id"),e.start(E(t.currentTarget)),!1})},t.prototype.build=function(){var t="";E(".cff.cff-no-svgs").length&&(t="cff-no-svgs");var e,s=this;E("<div id='cff-lightbox-overlay' class='cff-lightbox-overlay'></div><div id='cff-lightbox-wrapper' class='cff-lightbox-wrapper "+t+"'><div class='cff-lightbox-outerContainer'><div class='cff-lightbox-container'><iframe type='text/html' src='' allowfullscreen frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen title='Video'></iframe><img class='cff-lightbox-image' src='' alt='"+E("#cff").attr("data-fb-text")+"' /><div class='cff-lightbox-nav'><a class='cff-lightbox-prev' href=''><span>Previous</span></a><a class='cff-lightbox-next' href=''><span>Next</span></a></div><div class='cff-lightbox-loader'></div><div class='cff-lightbox-sidebar'></div></div></div><div class='cff-lightbox-dataContainer'><div class='cff-lightbox-data'><div class='cff-lightbox-details'><p class='cff-lightbox-caption'><span class='cff-lightbox-caption-text'></span><a class='cff-lightbox-facebook' href=''><svg aria-hidden='true' focusable='false' data-prefix='fab' data-icon='facebook-square' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' class='svg-inline--fa fa-facebook-square fa-w-14'><path fill='currentColor' d='M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z'></path></svg>"+E("#cff").attr("data-fb-text")+"</a></p><div class='cff-lightbox-thumbs'><div class='cff-lightbox-thumbs-holder'></div></div></div><div class='cff-lightbox-closeContainer'><a class='cff-lightbox-close'><svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='times' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512' class='svg-inline--fa fa-times fa-w-11'><path fill='currentColor' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z' class=''></path></svg></a></div></div></div></div>").appendTo(E("body")),jQuery("#cff").attr("data-cff-theme")&&"default_theme"!==jQuery("#cff").attr("data-cff-theme")&&(e=jQuery("#cff").attr("data-cff-theme"),jQuery("#cff-lightbox-wrapper").addClass("cff-theme cff-"+e)),"function"!=typeof jQuery("#cff-lightbox-wrapper").find(".cff-lightbox-dataContainer").hammer&&(t={Manager:{prototype:{}}},e=function(i,t){var n;i.fn.hammer=function(t){return this.each(function(){})},t.Manager.prototype.emit=(n=t.Manager.prototype.emit,function(t,e){n.call(this,t,e),i(this.element).trigger({type:t,gesture:e})})},"function"==typeof define&&define.amd?define(["jquery","hammerjs"],e):"object"==typeof exports?e(require("jquery"),require("hammerjs")):e(jQuery,t)),this.$lightbox=E("#cff-lightbox-wrapper"),this.$overlay=E("#cff-lightbox-overlay"),this.$outerContainer=this.$lightbox.find(".cff-lightbox-outerContainer"),this.$container=this.$lightbox.find(".cff-lightbox-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),10),this.containerRightPadding=parseInt(this.$container.css("padding-right"),10),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),10),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),10),this.$overlay.hide().on("click",function(){return s.end(),j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),E("body").length&&E("body").removeClass("cff_no_scroll"),!1}),this.$lightbox.hide().on("click",function(t){return s.album.length=0,"cff-lightbox-wrapper"===E(t.target).attr("id")&&(s.end(),j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),E("body").length&&E("body").removeClass("cff_no_scroll")),!1}),this.$outerContainer.on("click",function(t){return"cff-lightbox-wrapper"===E(t.target).attr("id")&&(s.album.length=0,s.end(),j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src","")),!1}),this.$lightbox.find(".cff-lightbox-prev").on("click",function(){return j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),0===s.currentImageIndex?s.changeImage(s.album.length-1):s.changeImage(s.currentImageIndex-1),!1}),this.$lightbox.find(".cff-lightbox-next").on("click",function(){return j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),s.currentImageIndex===s.album.length-1?s.changeImage(0):s.changeImage(s.currentImageIndex+1),!1}),this.$lightbox.find(".cff-lightbox-outerContainer").hammer().on("swipeleft",function(){return j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),s.currentImageIndex===s.album.length-1?s.changeImage(0):s.changeImage(s.currentImageIndex+1),!1}),this.$lightbox.find(".cff-lightbox-outerContainer").hammer().on("swiperight",function(){return j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),0===s.currentImageIndex?s.changeImage(s.album.length-1):s.changeImage(s.currentImageIndex-1),!1}),E(".cff-lightbox-thumbs").on("click",".cff-lightbox-attachment",function(){var t=E(this),e=t.find("img"),i=t.attr("data-caption"),n=t.attr("data-video"),a=t.attr("data-iframe"),o=parseInt(t.attr("data-cff-lightbox-order"));return""!=i&&"undefined"!=i||(i=t.attr("orig-caption")),void 0!==s.album[o]&&(""!==n&&null!=n&&"link"!==n&&(s.album[o].video=n),""!==a&&null!=a&&"link"!==a&&(s.album[o].iframe=a)),s.changeImage(o,t.attr("href"),e.attr("width"),e.attr("height"),t.attr("data-facebook"),i),!1}),this.$lightbox.find(".cff-lightbox-loader, .cff-lightbox-close").on("click",function(){return s.album.length=0,s.end(),j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),E("body").length&&E("body").removeClass("cff_no_scroll"),!1})},t.prototype.start=function(i){var r=this,t=E(window);t.on("resize",E.proxy(this.sizeOverlay,this)),E("body").length&&E("body").addClass("cff_no_scroll"),E("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),0==this.album.length&&(this.album=[]);var n=0;function e(i){o=(i.closest(".cff-posts-wrap").hasClass("cff_owl-carousel")?i.closest(".cff-posts-wrap .cff_owl-item"):i.closest(".cff-posts-wrap")).children("div").attr("class"),linkParentPostID="",void 0!==o&&(linkParentPostID=i.closest("."+o.split(" ")[0]).attr("id"),linkParentPostID="undefined"!==linkParentPostID?linkParentPostID.replace("cff_",""):linkParentPostID);var t,e,n,a,o,s=!1;E.each(r.album,function(t,e){e.link==i.attr("href")&&e.postid==linkParentPostID&&(s=!0)}),!E(".cff-duplicate-video-thumbnails").length&&1==s||(t=parseInt(i.closest(".cff").attr("data-cff-index")-1),e=i.attr("data-video"),n=i.attr("data-iframe"),a=i.attr("href"),void(o=0)===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven||(""!==n&&(n="link"),""!==e&&(e="link"),i.closest(".cff-album-item").length&&void 0!==i.closest(".cff-album-item").attr("data-count")&&(o=i.closest(".cff-album-item").attr("data-count"))),r.album.push({link:a,title:i.attr("data-title")||i.attr("title"),postid:i.attr("data-id"),showthumbs:i.attr("data-thumbs"),facebookurl:i.attr("data-url"),video:e,iframe:n,type:i.attr("data-type"),cffgroupalbums:i.attr("data-cffgroupalbums"),isthumbnail:i.attr("data-cff-isthumbnail"),pagename:i.parent().attr("data-cff-page-name")?i.parent().attr("data-cff-page-name"):i.parent().parent().attr("data-page-name"),posttime:i.parent().attr("data-cff-post-time")?i.parent().attr("data-cff-post-time"):i.parent().parent().attr("data-post-time"),lbcomments:i.attr("data-lb-comments"),feedIndex:t,count:o}))}var a,o=i.attr("data-cff-lightbox");if(E(".cff-lightbox-wrapper").attr("data-page-id",i.parents(".cff-item").attr("data-page-id")),o){a=E(i.prop("tagName")+'[data-cff-lightbox="'+o+'"]');for(var s=0;s<a.length;s=++s)e(E(a[s])),a[s]===i[0]&&(n=s,E.each(r.album,function(t,e){e.postid==i.attr("data-id")&&1!=e.isthumbnail&&(n=t)}))}else if("lightbox"===i.attr("rel"))e(i);else{a=E(i.prop("tagName")+'[rel="'+i.attr("rel")+'"]');for(var f=0;f<a.length;f=++f)e(E(a[f])),a[f]===i[0]&&(n=f)}o=t.scrollTop()+this.options.positionFromTop,t=t.scrollLeft();this.$lightbox.css({top:o+"px",left:t+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(n)},t.prototype.changeImage=function(t,s,r,f,c,l){var d=this,u=!1,h=120;imageNumber=t,void 0!==s&&(u=!0),this.disableKeyboardNav();var m=this.$lightbox.find(".cff-lightbox-image"),e=this.$lightbox.find(".cff-lightbox-container"),i=e.find("iframe");this.$overlay.fadeIn(this.options.fadeDuration),i.attr("src","").hide().css({display:"none",visibility:"hidden",opacity:"0"}),m.hide().css({display:"none",visibility:"hidden",opacity:"0"}),e.find("video").remove(),e.find(".cff_gdpr_notice").remove(),this.$lightbox.find(".cff-lightbox-nav, .cff-lightbox-prev, .cff-lightbox-next, .cff-lightbox-dataContainer, .cff-lightbox-numbers, .cff-lightbox-caption").hide(),E(".cff-lightbox-loader").css({display:"block",visibility:"visible",opacity:"1"}).fadeIn("fast"),this.$outerContainer.addClass("animating");var n=!1,t=!1,i=this.album[imageNumber].video,e=this.album[imageNumber].iframe;if(null!=i&&"link"!==i&&""!==i&&0<String(i).trim().length&&(n=!0),null!=e&&"link"!==e&&""!==e&&0<String(e).trim().length&&(t=!0),n||t){var a=new Image;return a.onload=function(){var t=E(window).width(),e=E(window).height(),t=a.width>t?t/1.5:a.width,e=a.height>e?e/1.5:a.height;m.attr("src",d.album[imageNumber].link),m.width(t),m.height(e),d.sizeContainer(t,e)},a.onerror=function(){m.attr("src",d.album[imageNumber].link),m.width(800),m.height(600),d.sizeContainer(800,600)},a.src=this.album[imageNumber].link,void(this.currentImageIndex=imageNumber)}var p=new Image;p.onload=function(){var t,e,i,n,a,o;m.attr("src",d.album[imageNumber].link),u&&(m.attr("src",s),E(".cff-lightbox-facebook").attr("href",c),E(".cff-lightbox-caption .cff-lightbox-caption-text").html(l),p.width=r,p.height=f,h=180),E(p),m.width(p.width),m.height(p.height),d.options.fitImagesInViewport&&(n=E(window).width(),i=E(window).height(),a=0,o=80,"true"==E("#cff_"+d.album[0].postid).closest("#cff").attr("data-lb-comments")&&640<n&&(a=300),window.innerWidth<640&&(o=40),o=n-d.containerLeftPadding-d.containerRightPadding-20-a-o,i=i-d.containerTopPadding-d.containerBottomPadding-h,(p.width>o||p.height>i)&&(p.width/o>p.height/i?(e=o,t=parseInt(p.height/(p.width/e),10)):(t=i,e=parseInt(p.width/(p.height/t),10)),m.width(e),m.height(t))),d.sizeContainer(m.width(),m.height())},p.src=this.album[imageNumber].link,this.currentImageIndex=imageNumber},t.prototype.sizeOverlay=function(){this.$overlay.width(E(window).width()).height(E(document).height())},t.prototype.sizeContainer=function(t,e){var i=this,n=this.$outerContainer.outerWidth(),a=this.$outerContainer.outerHeight(),o=t+this.containerLeftPadding+this.containerRightPadding,s=e+this.containerTopPadding+this.containerBottomPadding;function r(){i.$lightbox.find(".cff-lightbox-dataContainer").width(o),i.$lightbox.find(".cff-lightbox-prevLink").height(s),i.$lightbox.find(".cff-lightbox-nextLink").height(s),i.showImage()}n!==o||a!==s?this.$outerContainer.animate({width:o,height:s},this.options.resizeDuration,"swing",function(){r()}):r()},t.prototype.showImage=function(){var t=void 0!==this.album[this.currentImageIndex].video&&""!==this.album[this.currentImageIndex].video&&"link"!==this.album[this.currentImageIndex].video,e=void 0!==this.album[this.currentImageIndex].iframe&&""!==this.album[this.currentImageIndex].iframe&&"link"!==this.album[this.currentImageIndex].iframe;t||e||this.$lightbox.find(".cff-lightbox-loader").fadeOut("fast"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){var t=!1;try{document.createEvent("TouchEvent"),t=!!this.options.alwaysShowNavOnTouchDevices}catch(t){}this.$lightbox.find(".cff-lightbox-nav").show(),1<this.album.length&&(this.options.wrapAround?(t&&this.$lightbox.find(".cff-lightbox-prev, .cff-lightbox-next").css("opacity","1"),this.$lightbox.find(".cff-lightbox-prev, .cff-lightbox-next").show()):(0<this.currentImageIndex&&(this.$lightbox.find(".cff-lightbox-prev").show(),t&&this.$lightbox.find(".cff-lightbox-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".cff-lightbox-next").show(),t&&this.$lightbox.find(".cff-lightbox-next").css("opacity","1"))))};var z={};return t.prototype.updateDetails=function(){var d=this,f="";this.$lightbox.find(".cff-lightbox-nav, .cff-lightbox-nav a").show();var t,e=!1,i=!1,n="",a="";j()?(E("#cff-lightbox-wrapper").removeClass("cff-has-video"),null!=(v=this.album[this.currentImageIndex].video)&&"link"!==v&&""!==v&&0<String(v).trim().length&&(e=!0,n=v),null!=(u=this.album[this.currentImageIndex].iframe)&&"link"!==u&&""!==u&&0<String(u).trim().length&&(i=!0,a=u),k=E(".cff-lightbox-image"),g=E(".cff-lightbox-container iframe"),e?(k.hide().css({display:"none",visibility:"hidden",opacity:"0"}),p=this.currentImageIndex,t=this.album[p].link,g.attr("src",""),setTimeout(function(){d.currentImageIndex===p&&(g.attr({src:n,poster:t,autoplay:"true"}),g.on("load",function(){E(".cff-lightbox-loader").fadeOut("fast"),g.off("load")}),setTimeout(function(){d.currentImageIndex===p&&E(".cff-lightbox-loader").fadeOut("fast")},1e3))},50),g.show().css({display:"block",visibility:"visible",opacity:"1"}),E("#cff-lightbox-wrapper").addClass("cff-has-video")):i?(k.hide().css({display:"none",visibility:"hidden",opacity:"0"}),g.show().css({display:"block",visibility:"visible",opacity:"1"})):(g.hide().css({display:"none",visibility:"hidden",opacity:"0"}),g.attr("src",""),E("#cff-lightbox-wrapper").removeClass("cff-has-video cff-has-iframe cff-fb-player"),x=this.album[this.currentImageIndex].link,k.attr("src")&&""!==k.attr("src")&&k.attr("src")===x||k.attr("src",x),k.css({display:"block",visibility:"visible",opacity:"1"}),k.is(":visible")?k.show():k.fadeIn("slow"))):(k=E(".cff-lightbox-image"),(g=E(".cff-lightbox-container iframe")).hide().css({display:"none",visibility:"hidden",opacity:"0"}),g.attr("src",""),E("#cff-lightbox-wrapper").removeClass("cff-has-video cff-has-iframe cff-fb-player"),x=this.album[this.currentImageIndex].link,k.attr("src")&&""!==k.attr("src")&&k.attr("src")===x||k.attr("src",x),k.css({display:"block",visibility:"visible",opacity:"1"}),k.is(":visible")?k.show():k.fadeIn("slow"));var o=!1;"link"===this.album[this.currentImageIndex].iframe&&(o=!0),"link"!==this.album[this.currentImageIndex].video&&!o||jQuery(".cff-lightbox-container .cff_gdpr_notice").length?"link"===this.album[this.currentImageIndex].video||o?jQuery(".cff-lightbox-container .cff_gdpr_notice").length&&jQuery(".cff-lightbox-container .cff_gdpr_notice").attr("href",this.album[this.currentImageIndex].facebookurl):jQuery(".cff_gdpr_notice").remove():jQuery(".cff-lightbox-container").prepend('<a href="'+this.album[this.currentImageIndex].facebookurl+'" target="_blank" rel="noopener noreferrer" class="cff_gdpr_notice"><svg style="color: rgba(255,255,255,1)" class="svg-inline--fa fa-play fa-w-14" aria-label="Play" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="play" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg></a>');var s,r,c,l,u,h,m,p,g,v="true"==this.album[this.currentImageIndex].lbcomments&&"false"!=E("#cff_"+this.album[this.currentImageIndex].postid+" .cff-lightbox-link").attr("data-lb-comments");E(window).width()<=640&&(v=!1),v?(u=this.album[this.currentImageIndex].postid.split("_")[0],s=this.album[this.currentImageIndex].pagename,r=this.album[this.currentImageIndex].posttime,c=E(".cff-lightbox-container .cff-lightbox-sidebar"),l=E(".cff-lightbox-thumbs-holder"),o=E("#cff_"+this.album[this.currentImageIndex].postid).attr("data-cff-from"),E(".cff-lightbox-wrapper").addClass("cff-enable-lb-comments"),E(".cff-lightbox-dataContainer").css("width",E(".cff-lightbox-dataContainer").innerWidth()+300),c.css("display","block"),v="",v=(void 0===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven)&&void 0!==o?(u=o!=u?E("#cff_"+this.album[this.currentImageIndex].postid).find(".cff-author-img").find(".cff-feed-image").attr("src"):"https://graph.facebook.com/"+o+"/picture?type=square","<div class='cff-author'><div class='cff-author-text'><p class='cff-page-name cff-author-date'><a href='https://facebook.com/"+o+"' target='_blank' rel='nofollow'>"+s+"</a><span class='cff-story'> </span></p><p class='cff-date'>"+r+"</p></div><a href='https://facebook.com/"+o+"' target='_blank' rel='nofollow noopener' class='cff-author-img'><img src='"+u+"' title='"+s+"' alt='"+s+"' width='40' height='40'></a></div>"):"<div class='cff-author cff-no-author-info'><div class='cff-author-text'><p class='cff-date'>"+r+"</p></div><div class='cff-author-img'></div></div>",E(".cff-lightbox-dataContainer .cff-lightbox-close").remove(),c.html("<div class='cff-lightbox-closeContainer'><div class='cff-lightbox-close'><svg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='times' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512' class='svg-inline--fa fa-times fa-w-11'><path fill='currentColor' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z' class=''></path></svg></div></div><div class='cff-lightbox-sidebar-content'>"+v+"<p class='cff-lightbox-caption'><span class='cff-lightbox-caption-text'>"+E(".cff-lightbox-caption-text").html()+"</span></p></div>"+E("#cff_"+this.album[this.currentImageIndex].postid+" .cff-comments-box")[0].outerHTML),this.$lightbox.find(".cff-lightbox-close").on("click",function(){return d.end(),d.album.length=0,j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),E("body").length&&E("body").removeClass("cff_no_scroll"),!1}),setTimeout(function(){1<l.find("a").length&&(c.find(".cff-page-name a").text(l.find("a.cff-selected").attr("data-page-name")),c.find(".cff-date").text(l.find("a.cff-selected").attr("data-post-date")))},0),l.css("margin-top",-10),150<c.find(".cff-reactions-count").innerWidth()&&c.find(".cff-likes-this-text").addClass("cff-long"),c.find(".cff-comment:visible").each(function(){var t=jQuery(this);void 0!==window.cff&&void 0!==window.cff.feeds&&!window.cff.feeds[0].settings.consentGiven||t.find(".cff-comment-img:not(.cff-comment-reply-img) a, .cff-comment-img:not(.cff-comment-reply-img) span").html('<img src="'+t.attr("data-avatar")+'" alt="Avatar" onerror="this.style.display=\'none\'" />')}),c.find(".cff-comment-replies a").on("click",function(){cffLoadCommentReplies(E(this))}),c.find(".cff-show-more-comments a").attr("href",c.find(".cff-comment-on-facebook a").attr("href"))):(E(".cff-lightbox-wrapper .cff-lightbox-sidebar").html(""),E(".cff-lightbox-wrapper").removeClass("cff-enable-lb-comments")),E("#cff-lightbox-wrapper").removeClass("cff-has-iframe cff-fb-player cff-has-thumbs"),i&&!e?(h=a,k=E(".cff-lightbox-image"),g=E(".cff-lightbox-container iframe"),E("#cff-lightbox-wrapper").addClass("cff-has-iframe"),k.hide().css({display:"none",visibility:"hidden",opacity:"0"}),g.show().css({display:"block",visibility:"visible",opacity:"1"}),E("#cff-lightbox-wrapper").removeClass("cff-has-video"),-1!=h.indexOf("https://www.facebook.com/v2.3/plugins/video.php?")&&E("#cff-lightbox-wrapper").addClass("cff-fb-player"),m=-1<h.indexOf(".swf")||-1!=h.indexOf("&autoplay=1")?"":"?autoplay=1",p=this.currentImageIndex,E("#cff-lightbox-wrapper iframe").attr("src",""),setTimeout(function(){var t;d.currentImageIndex===p&&((t=E("#cff-lightbox-wrapper iframe")).attr({src:h+m+"&mute=0"}),t.on("load",function(){E(".cff-lightbox-loader").fadeOut("fast"),t.off("load")}),setTimeout(function(){d.currentImageIndex===p&&E(".cff-lightbox-loader").fadeOut("fast")},1500))},500)):e||i||(k=E(".cff-lightbox-image"),(g=E(".cff-lightbox-container iframe")).hide().css({display:"none",visibility:"hidden",opacity:"0"}),g.attr("src",""),E("#cff-lightbox-wrapper").removeClass("cff-has-video cff-has-iframe cff-fb-player"),x=this.album[this.currentImageIndex].link,k.attr("src")&&""!==k.attr("src")&&k.attr("src")===x||k.attr("src",x),k.css({display:"block",visibility:"visible",opacity:"1"}),k.is(":visible")?k.show():k.fadeIn("slow"));var b,y,w,x,C,k,_,I,i=!1;function A(t,i,e,n,a,o,s,r,f,c){var l=!1;E.each(d.album,function(t,e){e.link==i&&e.postid==a&&(l=!0)}),1!=l&&(postType=o?"albumsonly":"",lbcomments=o?"false":"true",void 0!==f&&""!==f||E.each(d.album,function(t,e){if(e.postid==a&&!e.isthumbnail)return void 0!==e.video&&""!==e.video&&"link"!==e.video&&e.video,void 0!==e.iframe&&""!==e.iframe&&"link"!==e.iframe&&e.iframe,!1}),d.album.splice(t,0,{link:i,title:e,postid:a,showthumbs:"true",facebookurl:n,video:void 0!==f&&""!==f?f:"",iframe:void 0!==c&&""!==c?c:"",type:postType,cffgroupalbums:void 0,isthumbnail:s,lbcomments:lbcomments,thumbimg:r}))}this.album[this.currentImageIndex].isthumbnail&&(i=!0),i||E(".cff-lightbox-thumbs-holder").empty().removeClass("cff-animate"),this.album[this.currentImageIndex].link==E(".cff-lightbox-image").attr("src")&&E(".cff-lightbox-facebook").attr("href",this.album[this.currentImageIndex].facebookurl),"true"==this.album[this.currentImageIndex].showthumbs?(E(".cff-lightbox-thumbs").show(),b=this.album[this.currentImageIndex].postid,y="",w=!1,"albumsonly"==this.album[this.currentImageIndex].type&&(w=!0),void 0!==z[b]?(E.each(z[b],function(t,e){var i=e[5].replace(/"/g,"&quot;"),n=0;E.each(d.album,function(t,e){if(e.postid==b)return n=t,!1});var a,o=parseInt(n)+parseInt(t),s="",r="";void 0!==d.album[o]&&(void 0!==(a=d.album[o]).video&&""!==a.video&&"link"!==a.video&&(s=a.video),void 0!==a.iframe&&""!==a.iframe&&"link"!==a.iframe&&(r=a.iframe)),""!==s&&""!==r||void 0===d.album[n]||(a=d.album[n],""===s&&void 0!==a.video&&""!==a.video&&"link"!==a.video&&(s=a.video),""===r&&void 0!==a.iframe&&""!==a.iframe&&"link"!==a.iframe&&(r=a.iframe)),void 0===e[8]&&(e[8]=e[0]),y+='<a href="'+e[0]+'" class="cff-lightbox-attachment" data-cff-lightbox="cff-lightbox-1" data-facebook="'+e[3]+'" data-caption="'+e[4]+'" orig-caption="'+i+'" data-page-name="'+e[6]+'" data-post-date="'+e[7]+'" data-cff-lightbox-order="'+o+'" lbcomments="true" data-thumbs="true" data-url="'+e[3]+'" data-iframe="'+(""!==r?r:"")+'" data-video="'+(""!==s?s:"")+'" ',y+=w?'data-type="albumsonly" ':"data-type ",y+='data-cff-isthumbnail="true"><img src="'+e[8]+'" width="'+e[1]+'" height="'+e[2]+'" /></a>',0<t&&A(o,e[0],e[4],e[3],b,w,!0,e[6],s,r)}),E(".cff-lightbox-thumbs-holder").html('<div class="cff-lightbox-thumbs-wrap">'+y+"</div>").addClass("cff-animate"),E(".cff-lightbox-wrapper").addClass("cff-has-thumbs"),jQuery(".cff-lightbox-thumbs-holder a").imgLiquid({fill:!0,useBackgroundSize:!0}),E(".cff-loader").hide(),E(".cff-lightbox-thumbs-holder").css("min-height",0)):("undefined"!=typeof cffsiteurl&&""!=cffsiteurl||(cffsiteurl=window.location.host+"/wp-content/plugins"),x=E("#cff_"+b).closest(".cff"),I=E("#cff_"+b).attr("data-page-id"),k=cffGetShortcodeToken(x),_="","true"==x.attr("data-own-token")&&(_="&useowntoken=true"),i=cffsiteurl+"/custom-facebook-feed-pro/thumbs.php?id="+b+"&pageid="+I+_+k,C=[],w&&(i+="&albumsonly=true",void 0!==window.cff&&void 0!==window.cff.feeds&&!window.cff.feeds[0].settings.consentGiven||E(".cff-lightbox-thumbs-holder").css("min-height",45).after('<div class="cff-loader"></div>')),(_=this.album[this.currentImageIndex].cffgroupalbums)&&(i=i+"&usegrouptoken="+_),I={action:"cff_thumbs",id:b,pageid:I},""!==k&&(k=k.split("="),I.at=k[1]),"true"==x.attr("data-own-token")&&(I.useowntoken=!0),_&&(I.usegrouptoken=_),w&&(I.albumsonly=!0),E(".cff-gdpr-more-link").remove(),window.cff.feeds[this.album[this.currentImageIndex].feedIndex].settings.consentGiven?(w&&(jQuery(".cff-lightbox-container").addClass("cff-album-loading"),jQuery(".cff-lightbox-prev, .cff-lightbox-next").hide()),cffAjax(I,function(t){t&&(t=JSON.parse(t),w?E.each(t.data,function(t,e){var i="";e.name&&(i=e.name),i=(i=cffLinkify(i)).replace(hashRegex,cffReplaceHashtags),i=String(i).replace(/& /g,"&amp; ").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/\n/g,"<br/>"),f=String(f).replace(/& /g,"&amp; ").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/\n/g,"<br/>");var n,a=parseInt(d.currentImageIndex)+parseInt(t),o=e.source,s=e.width,r=e.height;void 0!==e.images[0]&&(o=e.images[0].source,s=e.images[0].width,r=e.images[0].height),n=void 0!==e.images[e.images.length-2]?e.images[e.images.length-2].source:o,y+='<a href="'+o+'" class="cff-lightbox-attachment" data-facebook="https://facebook.com/'+e.id+'" data-caption="'+i+'" orig-caption="'+f+'" data-cff-lightbox-order="'+a+'" data-thumbs="true" data-url="http://facebook.com/'+e.id+'" data-iframe data-video data-type="albumsonly" data-cff-isthumbnail="true"><img src="'+n+'" lbcomments="false" width="'+s+'" height="'+r+'" /></a>',C.push([o,s,r,"https://facebook.com/"+e.id,i,f,void 0,void 0,n]),0<t&&A(a,o,i,"https://facebook.com/"+e.id,b,w,!0,n)}):void 0!==t.attachments&&E.each(t.attachments.data[0].subattachments.data,function(t,e){var i="";e.description&&(i=e.description),f=String(f).replace(/"/g,"&quot;"),i=(i=cffLinkify(i)).replace(hashRegex,cffReplaceHashtags),i=String(i).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/\n/g,"<br/>");var n=parseInt(d.currentImageIndex)+parseInt(t),a="",o="";console.log(e),void 0!==e.type&&"video"===e.type&&(void 0!==e.media&&void 0!==e.media.source&&void 0!==e.media.source&&(a=e.media.source),void 0!==e.target&&void 0!==e.target.url&&(o=e.target.url),""===a&&void 0!==e.url&&(o="https://www.facebook.com/v2.3/plugins/video.php?href="+encodeURIComponent(e.url))),y+='<a href="'+e.media.image.src+'" class="cff-lightbox-attachment" data-facebook="'+e.url+'" data-caption="'+i+'" orig-caption="'+f+'" lbcomments="true" data-page-name="'+s+'" data-post-date="'+r+'" data-cff-lightbox-order="'+n+'" data-thumbs="true" data-url="'+e.url+'" data-iframe="'+(""!==o?o:"")+'" data-video="'+(""!==a?a:"")+'" data-type data-cff-isthumbnail="true"><img src="'+e.media.image.src+'" width="'+e.media.image.width+'" height="'+e.media.image.height+'" /></a>',C.push([e.media.image.src,e.media.image.width,e.media.image.height,e.url,i,f,s,r]),0<t&&A(n,e.media.image.src,i,e.url,b,w,!0,s,a,o)}),0<y.length&&(E(".cff-lightbox-thumbs-holder").html('<div class="cff-lightbox-thumbs-wrap">'+y+"</div>").addClass("cff-animate"),E(".cff-lightbox-wrapper").addClass("cff-has-thumbs")),jQuery(".cff-lightbox-thumbs-holder .cff-lightbox-attachment").imgLiquid({fill:!0,useBackgroundSize:!0}),E(".cff-loader").hide(),E(".cff-lightbox-thumbs-holder").css("min-height",0),z[b]=C,w&&(jQuery(".cff-lightbox-container").removeClass("cff-album-loading"),jQuery(".cff-lightbox-prev, .cff-lightbox-next").show()))})):0<parseInt(this.album[this.currentImageIndex].count)&&(E(".cff-lightbox-facebook").after('<a href="'+E(".cff-lightbox-facebook").attr("href")+'"  class="cff-gdpr-more-link cff-lightbox-attachment"><div class="cff-gdpr-overlay"></div><span>+'+this.album[this.currentImageIndex].count+'</span><img src="'+jQuery(".cff-lightbox-image").attr("src")+'"></a>'),E(".cff-gdpr-more-link").imgLiquid({fill:!0,useBackgroundSize:!0}),setTimeout(function(){E(".cff-gdpr-more-link span").css({"margin-top":"-"+E(".cff-gdpr-more-link span").height()/2+"px","margin-right":"-"+E(".cff-gdpr-more-link span").width()/2+"px",display:"block"})},200)))):E(".cff-lightbox-thumbs").hide(),E(".cff-lightbox-attachment").removeClass("cff-selected"),E(".cff-lightbox-attachment[href='"+E(".cff-lightbox-image").attr("src")+"']").addClass("cff-selected"),this.$lightbox.find(".cff-lightbox-caption").fadeIn("fast"),void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title?(f=(f=this.album[this.currentImageIndex].title).replace(hashRegex,cffReplaceHashtags),f=String(f).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"'),I=(_=this.$lightbox.find(".cff-lightbox-caption")).find(".cff-lightbox-caption-text"),this.album[this.currentImageIndex].link==E(".cff-lightbox-image").attr("src")&&I.html(f.includes("</a>")?f:cffLinkify(f))," "==I.text()||""==I.text()?_.addClass("cff-no-caption"):_.removeClass("cff-no-caption")):(!w&&void 0!==this.album[this.currentImageIndex].title||this.$lightbox.find(".cff-lightbox-caption-text").html(""),this.$lightbox.find(".cff-lightbox-caption .cff-lightbox-caption-text").text().length<1&&this.$lightbox.find(".cff-lightbox-caption").addClass("cff-no-caption").find(".cff-lightbox-caption-text").html("")),this.$lightbox.find(".cff-lightbox-facebook, .cff-lightbox-caption-text a, .cff-lightbox-sidebar a:not(.cff-comment-replies-a), .cff_gdpr_notice, .cff-gdpr-more-link").off("click").on("click",function(t){window.open(E(this).attr("href"),"_blank")}),1<this.album.length&&this.options.showImageNumberLabel?this.$lightbox.find(".cff-lightbox-number").text(this.options.albumLabel(this.currentImageIndex+1,this.album.length)).fadeIn("fast"):this.$lightbox.find(".cff-lightbox-number").hide(),"function"==typeof cffLightboxAction&&setTimeout(function(){cffLightboxAction()},100),this.$outerContainer.removeClass("animating"),this.$lightbox.find(".cff-lightbox-dataContainer").fadeIn(this.options.resizeDuration,function(){return d.sizeOverlay()})},t.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link),0<this.currentImageIndex&&((new Image).src=this.album[this.currentImageIndex-1].link)},t.prototype.enableKeyboardNav=function(){E(document).on("keyup.keyboard",E.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){E(document).off(".keyboard")},t.prototype.keyboardAction=function(t){var e=t.keyCode,t=String.fromCharCode(e).toLowerCase();27===e||t.match(/x|o|c/)?(j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""),this.end()):"p"===t||37===e?jQuery(".cff-lightbox-container").hasClass("cff-album-loading")||(0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&1<this.album.length&&this.changeImage(this.album.length-1),j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src","")):"n"!==t&&39!==e||jQuery(".cff-lightbox-container").hasClass("cff-album-loading")||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&1<this.album.length&&this.changeImage(0),j()&&E("#cff-lightbox-wrapper video.cff-lightbox-video").length&&E("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),E("#cff-lightbox-wrapper iframe").attr("src",""))},t.prototype.end=function(){this.disableKeyboardNav(),E(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),E("select, object, embed").css({visibility:"visible"})},t}();E(function(){var t=new e;new i(t)})}).call(this)}cff_js_exists||(void 0!==window.cff_block_editor&&(cffmetatrans=!1,cffajaxurl=window.cff_block_editor.cffajaxurl),"undefined"==typeof cffnomobileswipe?(function(a,r,c){"use strict";function o(t,e,i){return setTimeout(n(t,i),e)}function i(t,e,i){return Array.isArray(t)&&(s(t,i[e],i),1)}function s(t,e,i){if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==c)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(var n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function t(i,t,e){var n="DEPRECATED METHOD: "+t+"\n"+e+" AT \n";return function(){var t=new Error("get-stack-trace"),e=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",t=a.console&&(a.console.warn||a.console.log);return t&&t.call(a.console,n,e),i.apply(this,arguments)}}function e(t,e,i){var n=e.prototype,e=t.prototype=Object.create(n);e.constructor=t,e._super=n,i&&it(e,i)}function n(t,e){return function(){return t.apply(e,arguments)}}function f(t,e){return typeof t==Z?t.apply(e&&e[0]||c,e):t}function l(t,e){return t===c?e:t}function d(e,t,i){s(p(t),function(t){e.addEventListener(t,i,!1)})}function u(e,t,i){s(p(t),function(t){e.removeEventListener(t,i,!1)})}function h(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function m(t,e){return-1<t.indexOf(e)}function p(t){return t.trim().split(/\s+/g)}function g(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function v(t){return Array.prototype.slice.call(t,0)}function b(t,i,e){for(var n=[],a=[],o=0;o<t.length;){var s=i?t[o][i]:t[o];g(a,s)<0&&n.push(t[o]),a[o]=s,o++}return e&&(n=i?n.sort(function(t,e){return t[i]>e[i]}):n.sort()),n}function y(t,e){for(var i,n=e[0].toUpperCase()+e.slice(1),a=0;a<X.length;){if((i=(i=X[a])?i+n:e)in t)return i;a++}return c}function w(t){t=t.ownerDocument||t;return t.defaultView||t.parentWindow||a}function x(e,t){var i=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){f(e.options.enable,[e])&&i.handler(t)},this.init()}function C(t,e,i){var n=i.pointers.length,a=i.changedPointers.length,o=e&ut&&n-a==0,a=e&(ht|mt)&&n-a==0;i.isFirst=!!o,i.isFinal=!!a,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,n=e.pointers,a=n.length;i.firstInput||(i.firstInput=k(e)),1<a&&!i.firstMultiple?i.firstMultiple=k(e):1===a&&(i.firstMultiple=!1);var o=i.firstInput,s=i.firstMultiple,r=(s||o).center,a=e.center=_(n);e.timeStamp=et(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=E(r,a),e.distance=z(r,a),function(t,e){var i=e.center,n=t.offsetDelta||{},a=t.prevDelta||{},o=t.prevInput||{};e.eventType!==ut&&o.eventType!==ht||(a=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=a.x+(i.x-n.x),e.deltaY=a.y+(i.y-n.y)}(i,e),e.offsetDirection=A(e.deltaX,e.deltaY),a=I(e.deltaTime,e.deltaX,e.deltaY),e.overallVelocityX=a.x,e.overallVelocityY=a.y,e.overallVelocity=tt(a.x)>tt(a.y)?a.x:a.y,e.scale=s?function(t,e){return z(e[0],e[1],_t)/z(t[0],t[1],_t)}(s.pointers,n):1,e.rotation=s?function(t,e){return E(e[1],e[0],_t)+E(t[1],t[0],_t)}(s.pointers,n):0,e.maxPointers=!i.prevInput||e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers,function(t,e){var i,n,a,o,s,r=t.lastInterval||e,f=e.timeStamp-r.timeStamp;e.eventType!=mt&&(dt<f||r.velocity===c)?(a=e.deltaX-r.deltaX,o=e.deltaY-r.deltaY,s=I(f,a,o),i=s.x,n=s.y,s=tt(s.x)>tt(s.y)?s.x:s.y,o=A(a,o),t.lastInterval=e):(s=r.velocity,i=r.velocityX,n=r.velocityY,o=r.direction),e.velocity=s,e.velocityX=i,e.velocityY=n,e.direction=o}(i,e),t=t.element,h(e.srcEvent.target,t)&&(t=e.srcEvent.target),e.target=t}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function k(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:K(t.pointers[i].clientX),clientY:K(t.pointers[i].clientY)},i++;return{timeStamp:et(),pointers:e,center:_(e),deltaX:t.deltaX,deltaY:t.deltaY}}function _(t){var e=t.length;if(1===e)return{x:K(t[0].clientX),y:K(t[0].clientY)};for(var i=0,n=0,a=0;a<e;)i+=t[a].clientX,n+=t[a].clientY,a++;return{x:K(i/e),y:K(n/e)}}function I(t,e,i){return{x:e/t||0,y:i/t||0}}function A(t,e){return t===e?pt:tt(t)>=tt(e)?t<0?gt:vt:e<0?bt:yt}function z(t,e,i){var n=e[(i=i||kt)[0]]-t[i[0]],i=e[i[1]]-t[i[1]];return Math.sqrt(n*n+i*i)}function E(t,e,i){var n=e[(i=i||kt)[0]]-t[i[0]],i=e[i[1]]-t[i[1]];return 180*Math.atan2(i,n)/Math.PI}function j(){this.evEl=At,this.evWin=zt,this.pressed=!1,x.apply(this,arguments)}function T(){this.evEl=Tt,this.evWin=Ft,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function F(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,x.apply(this,arguments)}function D(){this.evTarget=St,this.targetIds={},x.apply(this,arguments)}function B(){x.apply(this,arguments);var t=n(this.handler,this);this.touch=new D(this.manager,t),this.mouse=new j(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function S(t){var e,i,t=t.changedPointers[0];t.identifier===this.primaryTouch&&(e={x:t.clientX,y:t.clientY},this.lastTouches.push(e),i=this.lastTouches,setTimeout(function(){var t=i.indexOf(e);-1<t&&i.splice(t,1)},Lt))}function L(t,e){this.manager=t,this.set(e)}function Q(t){this.options=it({},this.defaults,t||{}),this.id=ot++,this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=$t,this.simultaneous={},this.requireFail=[]}function O(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function R(t){return t==yt?"down":t==bt?"up":t==gt?"left":t==vt?"right":""}function M(t,e){e=e.manager;return e?e.get(t):t}function q(){Q.apply(this,arguments)}function P(){q.apply(this,arguments),this.pX=null,this.pY=null}function N(){q.apply(this,arguments)}function W(){Q.apply(this,arguments),this._timer=null,this._input=null}function $(){q.apply(this,arguments)}function G(){q.apply(this,arguments)}function H(){Q.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function U(t,e){return(e=e||{}).recognizers=l(e.recognizers,U.defaults.preset),new Y(t,e)}function Y(t,e){this.options=it({},U.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((t=this).options.inputClass||(rt?T:ft?D:st?B:j))(t,C),this.touchAction=new L(this,this.options.touchAction),V(this,!0),s(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function V(i,n){var a,o=i.element;o.style&&(s(i.options.cssProps,function(t,e){a=y(o.style,e),n?(i.oldCssProps[a]=o.style[a],o.style[a]=t):o.style[a]=i.oldCssProps[a]||""}),n||(i.oldCssProps={}))}var X=["","webkit","Moz","MS","ms","o"],J=r.createElement("div"),Z="function",K=Math.round,tt=Math.abs,et=Date.now,it="function"!=typeof Object.assign?function(t){if(t===c||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==c&&null!==n)for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a])}return e}:Object.assign,nt=t(function(t,e,i){for(var n=Object.keys(e),a=0;a<n.length;)(!i||i&&t[n[a]]===c)&&(t[n[a]]=e[n[a]]),a++;return t},"extend","Use `assign`."),at=t(function(t,e){return nt(t,e,!0)},"merge","Use `assign`."),ot=1,st="ontouchstart"in a,rt=y(a,"PointerEvent")!==c,ft=st&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ct="touch",lt="mouse",dt=25,ut=1,ht=4,mt=8,pt=1,gt=2,vt=4,bt=8,yt=16,wt=gt|vt,xt=bt|yt,Ct=wt|xt,kt=["x","y"],_t=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(w(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&u(this.element,this.evEl,this.domHandler),this.evTarget&&u(this.target,this.evTarget,this.domHandler),this.evWin&&u(w(this.element),this.evWin,this.domHandler)}};var It={mousedown:ut,mousemove:2,mouseup:ht},At="mousedown",zt="mousemove mouseup";e(j,x,{handler:function(t){var e=It[t.type];e&ut&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=ht),this.pressed&&(e&ht&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:lt,srcEvent:t}))}});var Et={pointerdown:ut,pointermove:2,pointerup:ht,pointercancel:mt,pointerout:mt},jt={2:ct,3:"pen",4:lt,5:"kinect"},Tt="pointerdown",Ft="pointermove pointerup pointercancel";a.MSPointerEvent&&!a.PointerEvent&&(Tt="MSPointerDown",Ft="MSPointerMove MSPointerUp MSPointerCancel"),e(T,x,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),a=Et[n],o=jt[t.pointerType]||t.pointerType,s=o==ct,n=g(e,t.pointerId,"pointerId");a&ut&&(0===t.button||s)?n<0&&(e.push(t),n=e.length-1):a&(ht|mt)&&(i=!0),n<0||(e[n]=t,this.callback(this.manager,a,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(n,1))}});var Dt={touchstart:ut,touchmove:2,touchend:ht,touchcancel:mt};e(F,x,{handler:function(t){var e,i=Dt[t.type];i===ut&&(this.started=!0),this.started&&(e=function(t,e){var i=v(t.touches),t=v(t.changedTouches);return e&(ht|mt)&&(i=b(i.concat(t),"identifier",!0)),[i,t]}.call(this,t,i),i&(ht|mt)&&e[0].length-e[1].length==0&&(this.started=!1),this.callback(this.manager,i,{pointers:e[0],changedPointers:e[1],pointerType:ct,srcEvent:t}))}});var Bt={touchstart:ut,touchmove:2,touchend:ht,touchcancel:mt},St="touchstart touchmove touchend touchcancel";e(D,x,{handler:function(t){var e=Bt[t.type],i=function(t,e){var i=v(t.touches),n=this.targetIds;if(e&(2|ut)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var a,o=v(t.changedTouches),s=[],r=this.target,f=i.filter(function(t){return h(t.target,r)});if(e===ut)for(a=0;a<f.length;)n[f[a].identifier]=!0,a++;for(a=0;a<o.length;)n[o[a].identifier]&&s.push(o[a]),e&(ht|mt)&&delete n[o[a].identifier],a++;return s.length?[b(f.concat(s),"identifier",!0),s]:void 0}.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:ct,srcEvent:t})}});var Lt=2500;e(B,x,{handler:function(t,e,i){var n=i.pointerType==ct,a=i.pointerType==lt;if(!(a&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)(function(t,e){t&ut?(this.primaryTouch=e.changedPointers[0].identifier,S.call(this,e)):t&(ht|mt)&&S.call(this,e)}).call(this,e,i);else if(a&&function(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var a=this.lastTouches[n],o=Math.abs(e-a.x),a=Math.abs(i-a.y);if(o<=25&&a<=25)return!0}return!1}.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Qt=y(J.style,"touchAction"),Ot=Qt!==c,Rt="compute",Mt="manipulation",qt="none",Pt="pan-x",Nt="pan-y",Wt=function(){if(!Ot)return!1;var e={},i=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(t){e[t]=!i||a.CSS.supports("touch-action",t)}),e}();L.prototype={set:function(t){t==Rt&&(t=this.compute()),Ot&&this.manager.element.style&&Wt[t]&&(this.manager.element.style[Qt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return s(this.manager.recognizers,function(t){f(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(t){if(m(t,qt))return qt;var e=m(t,Pt),i=m(t,Nt);return e&&i?qt:e||i?e?Pt:Nt:m(t,Mt)?Mt:"auto"}(e.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(!this.manager.session.prevented){var n=this.actions,a=m(n,qt)&&!Wt[qt],o=m(n,Nt)&&!Wt[Nt],s=m(n,Pt)&&!Wt[Pt];if(a){var r=1===t.pointers.length,n=t.distance<2,t=t.deltaTime<250;if(r&&n&&t)return}return(!s||!o)&&(a||o&&i&wt||s&&i&xt)?this.preventSrc(e):void 0}e.preventDefault()},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var $t=1;Q.prototype={defaults:{},set:function(t){return it(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(i(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=M(t,this)).id]||(e[t.id]=t).recognizeWith(this),this},dropRecognizeWith:function(t){return i(t,"dropRecognizeWith",this)||(t=M(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(i(t,"requireFailure",this))return this;var e=this.requireFail;return-1===g(e,t=M(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(i(t,"dropRequireFailure",this))return this;t=M(t,this);t=g(this.requireFail,t);return-1<t&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(e){function t(t){i.manager.emit(t,e)}var i=this,n=this.state;n<8&&t(i.options.event+O(n)),t(i.options.event),e.additionalEvent&&t(e.additionalEvent),8<=n&&t(i.options.event+O(n))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|$t)))return!1;t++}return!0},recognize:function(t){t=it({},t);return f(this.options.enable,[this,t])?(56&this.state&&(this.state=$t),this.state=this.process(t),void(30&this.state&&this.tryEmit(t))):(this.reset(),void(this.state=32))},process:function(t){},getTouchAction:function(){},reset:function(){}},e(q,Q,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=6&e,t=this.attrTest(t);return n&&(i&mt||!t)?16|e:n||t?i&ht?8|e:2&e?4|e:2:32}}),e(P,q,{defaults:{event:"pan",threshold:10,pointers:1,direction:Ct},getTouchAction:function(){var t=this.options.direction,e=[];return t&wt&&e.push(Nt),t&xt&&e.push(Pt),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,a=t.direction,o=t.deltaX,s=t.deltaY;return a&e.direction||(n=e.direction&wt?(a=0===o?pt:o<0?gt:vt,i=o!=this.pX,Math.abs(t.deltaX)):(a=0===s?pt:s<0?bt:yt,i=s!=this.pY,Math.abs(t.deltaY))),t.direction=a,i&&n>e.threshold&&a&e.direction},attrTest:function(t){return q.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=R(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),e(N,q,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){var e;1!==t.scale&&(e=t.scale<1?"in":"out",t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),e(W,Q,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,a=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(ht|mt)&&!a)this.reset();else if(t.eventType&ut)this.reset(),this._timer=o(function(){this.state=8,this.tryEmit()},e.time,this);else if(t.eventType&ht)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&ht?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=et(),this.manager.emit(this.options.event,this._input)))}}),e($,q,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),e(G,q,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:wt|xt,pointers:1},getTouchAction:function(){return P.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(wt|xt)?e=t.overallVelocity:i&wt?e=t.overallVelocityX:i&xt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&tt(e)>this.options.velocity&&t.eventType&ht},emit:function(t){var e=R(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),e(H,Q,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Mt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,a=t.deltaTime<e.time;if(this.reset(),t.eventType&ut&&0===this.count)return this.failTimeout();if(n&&a&&i){if(t.eventType!=ht)return this.failTimeout();a=!this.pTime||t.timeStamp-this.pTime<e.interval,i=!this.pCenter||z(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,i&&a?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=o(function(){this.state=8,this.tryEmit()},e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=o(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),U.VERSION="2.0.8",U.defaults={domEvents:!1,touchAction:Rt,enable:!0,inputTarget:null,inputClass:null,preset:[[$,{enable:!1}],[N,{enable:!1},["rotate"]],[G,{direction:wt}],[P,{direction:wt},["swipe"]],[H],[H,{event:"doubletap",taps:2},["tap"]],[W]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Y.prototype={set:function(t){return it(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,a=e.curRecognizer;(!a||a&&8&a.state)&&(a=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],2===e.stopped||a&&i!=a&&!i.canRecognizeWith(a)?i.reset():i.recognize(t),!a&&14&i.state&&(a=e.curRecognizer=i),o++}},get:function(t){if(t instanceof Q)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(i(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),(t.manager=this).touchAction.update(),t},remove:function(t){return i(t,"remove",this)||!(t=this.get(t))||-1!==(t=g(e=this.recognizers,t))&&(e.splice(t,1),this.touchAction.update()),this;var e},on:function(t,e){if(t!==c&&e!==c){var i=this.handlers;return s(p(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this}},off:function(t,e){if(t!==c){var i=this.handlers;return s(p(t),function(t){e?i[t]&&i[t].splice(g(i[t],e),1):delete i[t]}),this}},emit:function(t,e){var i,n,a;this.options.domEvents&&(i=t,n=e,(a=r.createEvent("Event")).initEvent(i,!0,!0),(a.gesture=n).target.dispatchEvent(a));var o=this.handlers[t]&&this.handlers[t].slice();if(o&&o.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var s=0;s<o.length;)o[s](e),s++}},destroy:function(){this.element&&V(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},it(U,{INPUT_START:ut,INPUT_MOVE:2,INPUT_END:ht,INPUT_CANCEL:mt,STATE_POSSIBLE:$t,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:pt,DIRECTION_LEFT:gt,DIRECTION_RIGHT:vt,DIRECTION_UP:bt,DIRECTION_DOWN:yt,DIRECTION_HORIZONTAL:wt,DIRECTION_VERTICAL:xt,DIRECTION_ALL:Ct,Manager:Y,Input:x,TouchAction:L,TouchInput:D,MouseInput:j,PointerEventInput:T,TouchMouseInput:B,SingleTouchInput:F,Recognizer:Q,AttrRecognizer:q,Tap:H,Pan:P,Swipe:G,Pinch:N,Rotate:$,Press:W,on:d,off:u,each:s,merge:at,extend:nt,assign:it,inherit:e,bindFn:n,prefixed:y}),(void 0!==a?a:"undefined"!=typeof self?self:{}).Hammer=U,"function"==typeof define&&define.amd?define(function(){return U}):"undefined"!=typeof module&&module.exports?module.exports=U:a.Hammer=U}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}(function(n,a){var i;n.fn.hammer=function(i){return this.each(function(){var t,e;e=i,(t=n(t=this)).data("hammer")||t.data("hammer",new a(t[0],e))})},a.Manager.prototype.emit=(i=a.Manager.prototype.emit,function(t,e){i.call(this,t,e),n(this.element).trigger({type:t,gesture:e})})})):(Hammer={Manager:{prototype:{}}},function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}(function(i,t){var n;i.fn.hammer=function(t){return this.each(function(){})},t.Manager.prototype.emit=(n=t.Manager.prototype.emit,function(t,e){n.call(this,t,e),i(this.element).trigger({type:t,gesture:e})})})),function(t){function e(){}function i(r){if(r){var f="undefined"==typeof console?e:function(t){console.error(t)};return r.bridget=function(t,e){var o,s,i;(i=e).prototype.option||(i.prototype.option=function(t){r.isPlainObject(t)&&(this.options=r.extend(!0,this.options,t))}),o=t,s=e,r.fn[o]=function(e){if("string"!=typeof e)return this.each(function(){var t=r.data(this,o);t?(t.option(e),t._init()):(t=new s(this,e),r.data(this,o,t))});for(var t=c.call(arguments,1),i=0,n=this.length;i<n;i++){var a=this[i],a=r.data(a,o);if(a)if(r.isFunction(a[e])&&"_"!==e.charAt(0)){a=a[e].apply(a,t);if(void 0!==a)return a}else f("no such method '"+e+"' for "+o+" instance");else f("cannot call methods on "+o+" prior to initialization; attempted to call '"+e+"'")}return this}},r.bridget}}var c=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(i){function n(t){var e=i.event;return e.target=e.target||e.srcElement||t,e}var t=document.documentElement,e=function(){};t.addEventListener?e=function(t,e,i){t.addEventListener(e,i,!1)}:t.attachEvent&&(e=function(e,t,i){e[t+i]=i.handleEvent?function(){var t=n(e);i.handleEvent.call(i,t)}:function(){var t=n(e);i.call(e,t)},e.attachEvent("on"+t,e[t+i])});var a=function(){};t.removeEventListener?a=function(t,e,i){t.removeEventListener(e,i,!1)}:t.detachEvent&&(a=function(e,i,n){e.detachEvent("on"+i,e[i+n]);try{delete e[i+n]}catch(t){e[i+n]=void 0}}),a={bind:e,unbind:a},"function"==typeof define&&define.amd?define("eventie/eventie",a):"object"==typeof exports?module.exports=a:i.eventie=a}(window),function(){function t(){}function o(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function e(t){return function(){return this[t].apply(this,arguments)}}var i=t.prototype,n=this,a=n.EventEmitter;i.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp)for(i in e={},n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i]);else e=n[t]||(n[t]=[]);return e},i.flattenListeners=function(t){for(var e=[],i=0;i<t.length;i+=1)e.push(t[i].listener);return e},i.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},i.addListener=function(t,e){var i,n=this.getListenersAsObject(t),a="object"==typeof e;for(i in n)n.hasOwnProperty(i)&&-1===o(n[i],e)&&n[i].push(a?e:{listener:e,once:!1});return this},i.on=e("addListener"),i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=e("addOnceListener"),i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,e){var i,n,a=this.getListenersAsObject(t);for(n in a)a.hasOwnProperty(n)&&(i=o(a[n],e),-1!==i&&a[n].splice(i,1));return this},i.off=e("removeListener"),i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},i.manipulateListeners=function(t,e,i){var n,a,o=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)o.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(a=e[n])&&("function"==typeof a?o:s).call(this,n,a);return this},i.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},i.removeAllListeners=e("removeEvent"),i.emitEvent=function(t,e){var i,n,a,o,s=this.getListenersAsObject(t);for(a in s)if(s.hasOwnProperty(a))for(n=s[a].length;n--;)i=s[a][n],!0===i.once&&this.removeListener(t,i.listener),o=i.listener.apply(this,e||[]),o===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},i.trigger=e("emitEvent"),i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=a,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:n.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,i=0,n=a.length;i<n;i++)if(e=a[i]+t,"string"==typeof o[e])return e}}var a="Webkit Moz ms Ms O".split(" "),o=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(C){function k(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function t(v){var b,y,w,x=!1;return function(t){if(x||(x=!0,p=C.getComputedStyle,g=p?function(t){return p(t,null)}:function(t){return t.currentStyle},b=function(t){t=g(t);return t||_("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t},(y=v("boxSizing"))&&((m=document.createElement("div")).style.width="200px",m.style.padding="1px 2px 3px 4px",m.style.borderStyle="solid",m.style.borderWidth="1px 2px 3px 4px",m.style[y]="border-box",(h=document.body||document.documentElement).appendChild(m),u=b(m),w=200===k(u.width),h.removeChild(m))),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=b(t);if("none"===e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=I.length;e<i;e++)t[I[e]]=0;return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var n=i.isBorderBox=!(!y||!e[y]||"border-box"!==e[y]),a=0,o=I.length;a<o;a++){var s=I[a],r=function(t,e){if(C.getComputedStyle||-1===e.indexOf("%"))return e;var i=t.style,n=i.left,a=t.runtimeStyle,o=a&&a.left;return o&&(a.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=n,o&&(a.left=o),e}(t,r=e[s]),r=parseFloat(r);i[s]=isNaN(r)?0:r}var f=i.paddingLeft+i.paddingRight,c=i.paddingTop+i.paddingBottom,l=i.marginLeft+i.marginRight,d=i.marginTop+i.marginBottom,u=i.borderLeftWidth+i.borderRightWidth,h=i.borderTopWidth+i.borderBottomWidth,m=n&&w,n=k(e.width);!1!==n&&(i.width=n+(m?0:f+u));n=k(e.height);return!1!==n&&(i.height=n+(m?0:c+h)),i.innerWidth=i.width-(f+u),i.innerHeight=i.height-(c+h),i.outerWidth=i.width+l,i.outerHeight=i.height+d,i}var p,m,h,u,g}}var _="undefined"==typeof console?function(){}:function(t){console.error(t)},I=["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"],t):"object"==typeof exports?module.exports=t(require("desandro-get-style-property")):C.getSize=t(C.getStyleProperty)}(window),function(e){function i(t){"function"==typeof t&&(i.isReady?t():s.push(t))}function n(t){t="readystatechange"===t.type&&"complete"!==o.readyState;i.isReady||t||a()}function a(){i.isReady=!0;for(var t=0,e=s.length;t<e;t++)(0,s[t])()}function t(t){return"complete"===o.readyState?a():(t.bind(o,"DOMContentLoaded",n),t.bind(o,"readystatechange",n),t.bind(e,"load",n)),i}var o=e.document,s=[];i.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],t):"object"==typeof exports?module.exports=t(require("eventie")):e.docReady=t(e.eventie)}(window),function(a){function i(t,e){return t[n](e)}function o(t){t.parentNode||document.createDocumentFragment().appendChild(t)}var t,n=function(){if(a.matches)return"matches";if(a.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],e=0,i=t.length;e<i;e++){var n=t[e]+"MatchesSelector";if(a[n])return n}}();t=n?i(document.createElement("div"),"div")?i:function(t,e){return o(t),i(t,e)}:function(t,e){o(t);for(var i=t.parentNode.querySelectorAll(e),n=0,a=i.length;n<a;n++)if(i[n]===t)return!0;return!1},"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return t}):"object"==typeof exports?module.exports=t:window.matchesSelector=t}(Element.prototype),function(i,n){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(t,e){return n(i,t,e)}):"object"==typeof exports?module.exports=n(i,require("doc-ready"),require("desandro-matches-selector")):i.fizzyUIUtils=n(i,i.docReady,i.matchesSelector)}(window,function(u,t,c){var i,h={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Object.prototype.toString;h.isArray=function(t){return"[object Array]"==e.call(t)},h.makeArray=function(t){var e=[];if(h.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,n=t.length;i<n;i++)e.push(t[i]);else e.push(t);return e},h.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},h.removeFrom=function(t,e){e=h.indexOf(t,e);-1!=e&&t.splice(e,1)},h.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},h.setText=function(t,e){t[i=i||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=e},h.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,c(t,e))return t},h.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},h.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.filterFindElements=function(t,e){for(var i=[],n=0,a=(t=h.makeArray(t)).length;n<a;n++){var o=t[n];if(h.isElement(o))if(e){c(o,e)&&i.push(o);for(var s=o.querySelectorAll(e),r=0,f=s.length;r<f;r++)i.push(s[r])}else i.push(o)}return i},h.debounceMethod=function(t,e,n){var a=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,i=this;this[o]=setTimeout(function(){a.apply(i,e),delete i[o]},n||100)}},h.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var m=u.console;return h.htmlInit=function(l,d){t(function(){for(var t=h.toDashed(d),e=document.querySelectorAll(".js-"+t),i="data-"+t+"-options",n=0,a=e.length;n<a;n++){var o,s=e[n],r=s.getAttribute(i);try{o=r&&JSON.parse(r)}catch(t){m&&m.error("Error parsing "+i+" on "+s.nodeName.toLowerCase()+(s.id?"#"+s.id:"")+": "+t);continue}var f=new l(s,o),c=u.jQuery;c&&c.data(s,d,f)}})},h}),function(a,o){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(t,e,i,n){return o(a,t,e,i,n)}):"object"==typeof exports?module.exports=o(a,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(a.Outlayer={},a.Outlayer.Item=o(a,a.EventEmitter,a.getSize,a.getStyleProperty,a.fizzyUIUtils))}(window,function(t,e,i,o,n){function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var s=t.getComputedStyle,r=s?function(t){return s(t,null)}:function(t){return t.currentStyle},f=o("transition"),c=o("transform"),l=f&&c,t=!!o("perspective"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[f],u=["transform","transition","transitionDuration","transitionProperty"],h=function(){for(var t={},e=0,i=u.length;e<i;e++){var n=u[e],a=o(n);a&&a!==n&&(t[n]=a)}return t}();n.extend(a.prototype,e.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=i(this.element)},a.prototype.css=function(t){var e,i=this.element.style;for(e in t)i[h[e]||e]=t[e]},a.prototype.getPosition=function(){var t=r(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,a=parseInt(t[i?"left":"right"],10),e=parseInt(t[n?"top":"bottom"],10),a=isNaN(a)?0:a,e=isNaN(e)?0:e,t=this.layout.size;a-=i?t.paddingLeft:t.paddingRight,e-=n?t.paddingTop:t.paddingBottom,this.position.x=a,this.position.y=e},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={},n=e.isOriginLeft?"paddingLeft":"paddingRight",a=e.isOriginLeft?"left":"right",o=e.isOriginLeft?"right":"left",n=this.position.x+t[n],n=e.percentPosition&&!e.isHorizontal?n/t.width*100+"%":n+"px";i[a]=n,i[o]="";a=e.isOriginTop?"paddingTop":"paddingBottom",n=e.isOriginTop?"top":"bottom",o=e.isOriginTop?"bottom":"top",a=this.position.y+t[a],a=e.percentPosition&&e.isHorizontal?a/t.height*100+"%":a+"px";i[n]=a,i[o]="",this.css(i),this.emitEvent("layout",[this])};var m=t?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,a=parseInt(t,10),o=parseInt(e,10),o=a===this.position.x&&o===this.position.y;this.setPosition(t,e),!o||this.isTransitioning?(t-=i,i=e-n,e={},t=(n=this.layout.options).isOriginLeft?t:-t,i=n.isOriginTop?i:-i,e.transform=m(t,i),this.transition({to:e,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=l?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,i=this._transn;for(e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var p=c&&n.toDashed(c)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:p,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(d,this,!1))},a.prototype.transition=a.prototype[f?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};a.prototype.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=g[t.propertyName]||t.propertyName,delete e.ingProperties[i],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(d,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e,i={};for(e in t)i[e]="";this.css(i)};var v={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(v)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},a.prototype.remove=function(){var t;f&&parseFloat(this.layout.options.transitionDuration)?((t=this).once("transitionEnd",function(){t.removeElem()}),this.hide()):this.removeElem()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},a.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},a.prototype.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},a.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(o,s){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,n,a){return s(o,t,e,i,n,a)}):"object"==typeof exports?module.exports=s(o,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=s(o,o.eventie,o.EventEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,i,a,o,n){function s(t,e){var i=o.getQueryElement(t);i?(this.element=i,c&&(this.$element=c(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e),e=++l,this.element.outlayerGUID=e,(d[e]=this)._create(),this.options.isInitLayout&&this.layout()):f&&f.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(){}var f=t.console,c=t.jQuery,l=0,d={};return s.namespace="outlayer",s.Item=n,s.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)"}},o.extend(s.prototype,i.prototype),s.prototype.option=function(t){o.extend(this.options,t)},s.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},s.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},s.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],a=0,o=e.length;a<o;a++){var s=new i(e[a],this);n.push(s)}return n},s.prototype._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},s.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},s.prototype._init=s.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},s.prototype._resetLayout=function(){this.getSize()},s.prototype.getSize=function(){this.size=a(this.element)},s.prototype._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):o.isElement(n)&&(i=n),this[t]=i?a(i)[e]:n):this[t]=0},s.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},s.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var a=t[i];a.isIgnored||e.push(a)}return e},s.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],n=0,a=t.length;n<a;n++){var o=t[n],s=this._getItemLayoutPosition(o);s.item=o,s.isInstant=e||o.isLayoutInstant,i.push(s)}this._processLayoutQueue(i)}},s.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},s.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)}},s.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},s.prototype._postLayout=function(){this.resizeContainer()},s.prototype.resizeContainer=function(){var t;!this.options.isResizingContainer||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},s.prototype._getContainerSize=r,s.prototype._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).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")},s.prototype._emitCompleteOnItems=function(t,e){function i(){a.emitEvent(t+"Complete",[e])}function n(){++s===o&&i()}var a=this,o=e.length;if(e&&o)for(var s=0,r=0,f=e.length;r<f;r++)e[r].once(t,n);else i()},s.prototype.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},s.prototype.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},s.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];this.ignore(n)}}},s.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];o.removeFrom(this.stamps,n),this.unignore(n)}},s.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)):void 0},s.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)}}},s.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)}},s.prototype._manageStamp=r,s.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,t=a(t);return{left:e.left-i.left-t.marginLeft,top:e.top-i.top-t.marginTop,right:i.right-e.right-t.marginRight,bottom:i.bottom-e.bottom-t.marginBottom}},s.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},s.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},s.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},s.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},s.prototype.needsResizeLayout=function(){var t=a(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},s.prototype.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},s.prototype.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},s.prototype.prepended=function(t){var e=this._itemize(t);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},s.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].reveal()},s.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].hide()},s.prototype.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},s.prototype.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},s.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}},s.prototype.getItems=function(t){for(var e=[],i=0,n=(t=o.makeArray(t)).length;i<n;i++){var a=t[i],a=this.getItem(a);a&&e.push(a)}return e},s.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,n=e.length;i<n;i++){var a=e[i];a.remove(),o.removeFrom(this.items,a)}},s.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();t=this.element.outlayerGUID;delete d[t],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=(t=o.getQueryElement(t))&&t.outlayerGUID;return t&&d[t]},s.create=function(t,e){function i(){s.apply(this,arguments)}return Object.create?i.prototype=Object.create(s.prototype):o.extend(i.prototype,s.prototype),(i.prototype.constructor=i).defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=s.data,(i.Item=function(){n.apply(this,arguments)}).prototype=new n,o.htmlInit(i,t),c&&c.bridget&&c.bridget(t,i),i},s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,r,f){t=t.create("masonry");return t.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},t.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(i=(e=this.items[0])&&e.element,this.columnWidth=i&&r(i).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,i=e/t,t=t-e%t,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,t=r(t);this.containerWidth=t&&t.innerWidth},t.prototype._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),i=Math.min(i,this.cols),n=this._getColGroup(i),e=Math.min.apply(Math,n),a=f.indexOf(n,e),i={x:this.columnWidth*a,y:e},o=e+t.size.outerHeight,s=this.cols+1-n.length,r=0;r<s;r++)this.colYs[a+r]=o;return i},t.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var a=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,a)}return e},t.prototype._manageStamp=function(t){var e=r(t),i=this._getElementOffset(t),n=this.options.isOriginLeft?i.left:i.right,t=n+e.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),a=Math.floor(t/this.columnWidth);a-=t%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var o=(this.options.isOriginTop?i.top:i.bottom)+e.outerHeight,s=n;s<=a;s++)this.colYs[s]=Math.max(o,this.colYs[s])},t.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},t.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},t.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},t}),window.cffMasonrySettings={itemSelector:".cff-album-item"},Cff.prototype={createPage:function(t,e){void 0!==window.cffOptions&&void 0!==window.cffOptions.resized_url||(window.cffOptions={resized_url:location.protocol+"//"+window.location.hostname+"/wp-content/uploads/sb-facebook-feed-images/",placeholder:location.protocol+"//"+window.location.hostname+"/wp-content/plugins/custom-facebook-feed-pro/assets/img/placeholder.png"}),t(e)},createFeeds:function(t){jQuery(".cff").each(function(t){jQuery(this).attr("data-cff-index",t+1);var e=jQuery(this),i=void 0!==e.attr("data-cff-flags")?e.attr("data-cff-flags").split(","):[],e={feedID:e.find(".cff_resized_image_data").attr("data-feedid"),shortCodeAtts:e.attr("data-cff-shortcode"),resizingEnabled:e.find(".cff_resized_image_data").length,page:1,pag_url:"",gdpr:-1<i.indexOf("gdpr"),overrideBlockCDN:-1<i.indexOf("overrideBlockCDN"),consentGiven:!1,locator:-1<i.indexOf("locator"),postID:void 0!==e.attr("data-postid")?e.attr("data-postid"):"unknown"};window.cff.feeds[t]=new CffFeed(this,t,e),void 0!==window.cff.feeds[t].setResizedImages&&window.cff.feeds[t].setResizedImages(),void 0!==window.cff.feeds[t].setResizedImages&&window.cff.feeds[t].init()})}},CffFeed.prototype={init:function(){var t,e=this;e.settings.consentGiven=e.checkConsent(),e.settings.consentGiven||(jQuery(this.el).find(".cff-load-more").is(":visible")&&jQuery(this.el).find(".cff-load-more").hide().addClass("cff-no-consent-hide"),(t=jQuery(this.el).closest(".cff-wrapper")).find(".cff-visual-header").length&&t.find(".cff-header-text").closest(".cff-visual-header").addClass("cff-no-consent"),t.find(".fb-video").addClass("cff-no-consent"),setTimeout(function(){e.settings.consentGiven=e.checkConsent(),e.settings.consentGiven&&e.addFullFeatures()},1e3));var i,n=(i=0,function(t,e){clearTimeout(i),i=setTimeout(t,e)});this.afterInitialImagesLoaded(),jQuery(window).on("resize",function(){n(function(){e.afterResize()},500)}),jQuery(this.el).find(".cff-item").each(function(){e.lazyLoadCheck(jQuery(this))})},addFullFeatures:function(){var n=jQuery;jQuery(this.el);jQuery(".cff-gdpr-notice").remove(),n(window).on("resize scroll load",function(){n('iframe.cff-lazy-load[data-loaded="false"]').each(function(){n(this).isInViewport()&&(n(this).attr("src",n(this).attr("data-src")),n(this).attr("data-loaded","true"))})}),jQuery(this.el).find(".cff-author-img").each(function(){n(this).find("img").attr("src",n(this).attr("data-avatar")),n(this).removeClass("cff-no-consent")}),jQuery(".fb-video.cff-no-consent").removeClass("cff-no-consent"),jQuery(".cff-visual-header").length&&jQuery(".cff-visual-header").each(function(){jQuery(this).removeClass("cff-no-consent"),jQuery(this).find(".cff-header-hero").length&&jQuery(this).find(".cff-header-hero").find("img").attr("src",jQuery(this).find(".cff-header-hero").find("img").attr("data-cover-url")),jQuery(this).find(".cff-header-img").length&&jQuery(this).find(".cff-header-img").find("img").attr("src",jQuery(this).find(".cff-header-img").find("img").attr("data-avatar"))}),jQuery(".cff-comment:visible").each(function(){var t=jQuery(this);void 0!==window.cff&&void 0!==window.cff.feeds&&!window.cff.feeds[0].settings.consentGiven||t.find(".cff-comment-img:not(.cff-comment-reply-img) a, .cff-comment-img:not(.cff-comment-reply-img) span").html('<img src="'+t.attr("data-avatar")+'" class="cff-feed-image" alt="Avatar" onerror="this.style.display=\'none\'" />')}),jQuery(".cff-comment-image-placeholder").each(function(){jQuery(this).replaceWith('<img src="'+jQuery(this).attr("data-src")+'" class="cff-feed-image" alt="Attachement"/>')}),jQuery(".cff-likebox iframe").each(function(){var t=n(this),e=t.attr("data-likebox-width"),i=t.parent().width();""==e&&(e=340),i<e&&(e=i),t.attr("src","https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2F"+t.attr("data-likebox-id")+"%2F&tabs&width="+Math.floor(e)+"&small_header="+t.attr("data-likebox-header")+"&adapt_container_width=true&hide_cover="+t.attr("data-hide-cover")+"&hide_cta="+t.attr("data-hide-cta")+"&show_facepile="+t.attr("data-likebox-faces")+"&locale="+t.attr("data-locale"))}),jQuery(".cff-iframe-placeholder").each(function(){var t=jQuery(this),e=t.attr("data-src");switch(t.attr("data-type")){case"facebook":t.replaceWith('<iframe src="'+e+'" title="Facebook video player" allowfullscreen frameborder="0" webkitallowfullscreen mozallowfullscreen></iframe>');break;case"youtube":t.replaceWith('<iframe class="youtube-player" type="text/html" src="'+e+'" allowfullscreen title="YouTube video"></iframe>');break;case"vimeo":t.replaceWith('<iframe src="'+e+'" webkitAllowFullScreen mozallowfullscreen allowFullScreen title="Vimeo video"></iframe>');break;case"soundcloud":t.replaceWith('<iframe class="cff-soundcloud" width="100%" height="100" scrolling="no" title="Music player" frameborder="no" src="'+e+'"></iframe>');break;case"spotify":t.replaceWith('<iframe class="cff-spotify" src="'+e+'" width="100%" height="80" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>');break;case"video":var i=t.attr("data-poster-src");t.replaceWith('<video src="'+e+'" poster="'+i+'" preload="none"></video>')}}),jQuery("a[data-x-cff-lightbox]").each(function(){jQuery(this).attr("data-cff-lightbox",jQuery(this).attr("data-x-cff-lightbox")),jQuery(this).removeAttr("data-x-cff-lightbox")}),jQuery(this.el).find(".cff-load-more.cff-no-consent-hide").show(),this.afterResize()},setResizedImages:function(){var t,i;!jQuery(this.el).find(".cff_resized_image_data").length||void 0===jQuery(this.el).find(".cff_resized_image_data").attr("data-resized")||0!==jQuery(this.el).find(".cff_resized_image_data").attr("data-resized").indexOf('{"')&&0!==jQuery(this.el).find(".cff_resized_image_data").attr("data-resized").indexOf("[")||(t=JSON.parse(jQuery(this.el).find(".cff_resized_image_data").attr("data-resized")),i={},jQuery.each(t,function(t,e){i[e.facebook_id]={id:e.media_id,sizes:JSON.parse(e.sizes),aspect:e.aspect_ratio}}),this.resizedImages=i),jQuery(this.el).find(".cff_resized_image_data").remove()},sendNeedsResizingToServer:function(){var n=this;let t="";if(void 0!==jQuery(this.el).attr("data-locatornonce")&&(t=jQuery(this.el).attr("data-locatornonce")),0<n.needsResizing.length&&n.settings.resizingEnabled){var e=jQuery(this.el).find(".cff-item").length;n.settings.consentGiven||n.settings.overrideBlockCDN||void 0!==jQuery(this.el).find(".cff-lightbox-link").attr("data-cff-lightbox")&&(jQuery(this.el).find(".cff-lightbox-link").attr("data-x-cff-lightbox",jQuery(this.el).find(".cff-lightbox-link").attr("data-cff-lightbox")),jQuery(this.el).find(".cff-lightbox-link").removeAttr("data-cff-lightbox")),cffAjax({action:"cff_resized_images_submit",needs_resizing:n.needsResizing,offset:e,feed_id:n.settings.feedID,atts:n.settings.shortCodeAtts,pag_url:n.pag_url,location:CFFLocationGuess(),post_id:n.settings.postID,locator_nonce:t},function(t){if(n.needsResizing=[],0===t.trim().indexOf("{")){t=JSON.parse(t);if(n.settings.debugEnabled&&console.log(t),void 0!==t.resizing){var e,i=t.resizing;for(e in i)i.hasOwnProperty(e)&&(n.resizedImages[e]=i[e]);n.maybeRaiseImageResolution(),void 0!==jQuery(n.el).find(".cff-lightbox-link").attr("data-x-cff-lightbox")&&(jQuery(n.el).find(".cff-lightbox-link").attr("data-cff-lightbox",jQuery(n.el).find(".cff-lightbox-link").attr("data-x-cff-lightbox")),jQuery(n.el).find(".cff-lightbox-link").removeAttr("data-x-cff-lightbox")),setTimeout(function(){n.afterResize()},500)}}})}else if(n.settings.locator){let t="";void 0!==jQuery(n.el).attr("data-locatornonce")&&(t=jQuery(n.el).attr("data-locatornonce")),cffAjax({action:"cff_do_locator",feed_id:n.settings.feedID,atts:n.settings.shortCodeAtts,location:CFFLocationGuess(),post_id:n.settings.postID,locator_nonce:t},function(t){})}},hasTargetElement:function(t){var e=t;return t.find(".cff-photo").length?e=t.find(".cff-photo"):t.find(".cff-poster").length?e=t.find(".cff-poster"):t.find(".cff-link-slider-slides").length?e=t.find(".cff-link-slider-slides"):t.find(".cff-img-wrap").length?e=t.find(".cff-img-wrap"):t.find(".cff-album-cover").length?e=t.find(".cff-album-cover"):t.find(".cff-link").length&&(e=t.find(".cff-link")),void 0!==e.attr("data-img-src-set")},getTargetElement:function(t){var e=t.find(".cff-photo");return t.find(".cff-poster").length?e=t.find(".cff-poster"):t.find(".cff-link-slider-slides").length?e=t.find(".cff-link-slider-item"):t.find(".cff-img-wrap").length?e=t.find(".cff-img-wrap"):t.find(".cff-album-cover").length?e=t.find(".cff-album-cover"):t.find(".cff-link").length&&(e=t.find(".cff-link")),e},getTargetElementImage:function(t){return t.find("img").length?t.find("img"):t},getTargetWidth:function(t,e,i){var n=0,n=2<e.find(".cff-multi-image").length&&0<i?e.innerWidth()/3:e.closest(".cff-masonry").length?e.innerWidth():t.closest(".cff-item").find(".cff-link-slider").length?t.closest(".cff-item").find(".cff-link-slider").width():!t.closest(".cff-media-wrap").length||t.closest(".cff-thumb-layout").length||t.closest(".cff-half-layout").length?t.innerWidth():t.closest(".cff-media-wrap").width();return Math.max(50,n)},maybeRaiseSingleImageResolution:function(l,t,e){var d=this,i=d.getTargetElement(l),u=d.getImageUrls(l,i);i.each(function(i){var n,t,a=jQuery(this),o=d.getTargetElementImage(a),s=o.attr("src"),r=void 0===a.attr("data-current")?0:parseInt(a.attr("data-current")),f=d.getTargetWidth(a,l,i),c=!1;r<f&&void 0!==u[i]&&(n=!1,jQuery.each(u[i],function(t,e){!n&&r<t&&f<=(c=t)&&(n=!0)})),d.settings.consentGiven?a.find("a[data-cff-lightbox]").length?a.find("a[data-cff-lightbox]"):a.closest(".cff-item").find("a[data-cff-lightbox]").length?a.closest(".cff-item").find("a[data-cff-lightbox]"):a.closest(".cff-album-item").find("a[data-cff-lightbox]").length&&a.closest(".cff-album-item").find("a[data-cff-lightbox]"):a.find("a[data-cff-lightbox]").length?a.find("a[data-cff-lightbox]"):a.closest(".cff-item").find("a[data-cff-lightbox]").length&&a.closest(".cff-item").find("a[data-cff-lightbox]"),a.find("area[data-cff-lightbox]").length?a.find("area[data-cff-lightbox]"):a.closest(".cff-item").find("area[data-cff-lightbox]").length&&a.closest(".cff-item").find("area[data-cff-lightbox]"),c&&(r=c,d.settings.debugEnabled&&d.placeholderURL,a.attr("data-current",c),(t=u[i][c])!==s&&(o.attr("src",t),o.attr("data-lightbox-source",t),a.hasClass("imgLiquid_ready")&&(a.css("background-image",'url("'+t+'")'),a.imgLiquid({fill:!0})),d.processNewImage(a),r<720&&l.hasClass("cff-album-item")&&!o.hasClass("cff-secondary-check")&&(o.addClass("cff-secondary-check"),o.on("load",function(){var t,e;jQuery(this).hasClass("cff-secondary-checked")||(jQuery(this).addClass("cff-secondary-checked"),t=(e=o.get(0)).naturalHeight,e=e.naturalWidth/e.naturalHeight,o.innerWidth()>t&&(f=d.getTargetWidth(a,l,i)*e,parseInt(r)<f&&(n=!1,jQuery.each(u[i],function(t,e){!n&&r<t&&f<=(c=t)&&(n=!0)}),c&&(a.attr("data-current",c),(e=u[i][c])!==s&&(o.attr("src",e),a.hasClass("imgLiquid_ready")&&(a.css("background-image",'url("'+e+'")'),a.imgLiquid({fill:!0})),d.processNewImage(a))))))})))),o.on("error",function(){var t;jQuery(this).hasClass("cff-img-error")?console.log("unfixed error "+jQuery(this).attr("src")):(jQuery(this).addClass("cff-img-error"),(t=void 0!==jQuery(this).attr("data-orig-source")&&jQuery(this).attr("data-orig-source"))&&t!==s&&(o.attr("src",t),a.hasClass("imgLiquid_ready")&&a.css("background-image",'url("'+t+'")')),setTimeout(function(){d.afterResize()},1500))})})},maybeRaiseImageResolution:function(t){var e=this,t=void 0!==t&&!0===t?".cff-item.cff-new, .cff-album-item.cff-new":".cff-item, .cff-album-item";jQuery(e.el).find(t).each(function(t){!jQuery(this).hasClass("cff-num-diff-hide")&&e.hasTargetElement(jQuery(this))&&e.maybeRaiseSingleImageResolution(jQuery(this),t)})},getImageUrls:function(t,e){var n=this,i={},a=!1,o=t.attr("id").replace("cff_","");void 0!==e.attr("data-img-src-set")?a=e:void 0!==t.find(".cff-photo").attr("data-img-src-set")?a=t.find(".cff-photo"):void 0!==t.find(".cff-link-slider-slides").attr("data-img-src-set")?a=t.find(".cff-link-slider-slides"):void 0!==t.find(".cff-album-cover").attr("data-img-src-set")&&(a=t.find(".cff-album-cover")),a&&(i=JSON.parse(a.attr("data-img-src-set").replace(/\\\//g,"/"))),this.settings.consentGiven||this.settings.overrideBlockCDN||jQuery.each(i,function(t,e){i[t]={}});var s,r=i;return void 0===n.resizedImages[o]&&-1===o.indexOf("_")&&void 0!==t.attr("data-page-id")&&(o=t.attr("data-page-id")+"_"+o),void 0!==n.resizedImages[o]&&"pending"!==n.resizedImages[o].id&&"error"!==n.resizedImages[o].id?jQuery.each(i,function(i,t){var e;n.settings.consentGiven&&(r[i]={},e=JSON.parse(a.attr("data-img-src-set").replace(/\\\//g,"/")),jQuery.each(e[i],function(t,e){(700<t||t<220)&&(r[i][t]=e)})),jQuery.each(n.resizedImages[o].sizes,function(t,e){r[i][e]=window.cffOptions.resized_url+n.resizedImages[o].id+"-"+i+"-"+e+".jpg"})}):(void 0===this.resizedImages[o]||void 0!==this.resizedImages[o].id&&"pending"!==this.resizedImages[o].id&&"error"!==this.resizedImages[o].id)&&(s=!1,jQuery.each(r[0],function(t){150<parseInt(t)&&parseInt(t)<500&&(s=!0)}),n.settings.gdpr&&(s=!1),s||this.addToNeedsResizing(o)),r},addToNeedsResizing:function(t){-1===this.needsResizing.indexOf(t)&&this.needsResizing.push(t)},processNewImage:function(t){var e=this;t.find("img").each(function(){jQuery(this).prop("complete")||(e.imagesWaiting++,jQuery(this).addClass("cff-image-loading").on("load",function(){jQuery(this).removeClass("cff-image-loading"),e.imagesWaiting--,e.imagesWaiting<1&&e.afterResize()}),jQuery(this).on("error",function(){jQuery(this).removeClass("cff-image-loading"),e.imagesWaiting--,e.imagesWaiting<1&&e.afterResize()}))})},getMaxResImage:function(t,e){if(void 0===t[e])return!1;var i=0,n=!1;return jQuery.each(t[e],function(t,e){i<t&&(i=t,n=e.toString())}),n},lazyLoadCheck:function(t){var e=this,i=e.getTargetElement(t),n=e.getImageUrls(t,i);t.closest(".cff").hasClass("cff-no-ll-check")||t.find("img").each(function(t){void 0!==jQuery(this).attr("data-src")&&jQuery(this).attr("data-src",jQuery(this).attr("data-orig-source")),void 0!==jQuery(this).attr("data-orig-src")&&jQuery(this).attr("data-orig-src",jQuery(this).attr("data-orig-source")),e.settings.consentGiven||(jQuery(this).removeAttr("data-orig-source"),maxResImage=e.getMaxResImage(n,t),maxResImage&&-1===maxResImage.indexOf("scontent")&&jQuery(this).attr("data-orig-source",maxResImage)),jQuery(this).on("load",function(){var t;!jQuery(this).hasClass("cff-replaced")&&-1<jQuery(this).attr("src").indexOf("placeholder")&&(jQuery(this).addClass("cff-replaced"),(t=void 0!==jQuery(this).attr("data-orig-source")&&jQuery(this).attr("data-orig-source"))&&(jQuery(this).attr("src",jQuery(this).attr("data-orig-source")),jQuery(this).closest(".imgLiquid_bgSize").length&&jQuery(this).closest(".imgLiquid_bgSize").css("background-image","url("+t+")")))})})},maybeRelayoutMasonry:function(){var i,t=jQuery(this.el);t.hasClass("cff-masonry-js")&&!t.hasClass("cff-masonry-css")&&(i=0,function(t,e){clearTimeout(i),i=setTimeout(t,e)})(function(){cffAddMasonry(t)},500)},afterInitialImagesLoaded:function(){this.maybeRaiseImageResolution(),this.sendNeedsResizingToServer(),this.maybeCleanUpNew(),this.settings.consentGiven?this.addFullFeatures():jQuery(".cff-gdpr-notice").css({display:"inline-block"})},afterResize:function(){this.maybeRaiseImageResolution(),this.maybeRelayoutMasonry()},afterLoadMoreClicked:function(){this.maybeRaiseImageResolution(),this.addFullFeatures()},maybeCleanUpNew:function(){var n=this,t=jQuery(this.el);setTimeout(function(){0<n.index&&t.find(".cff-new").removeClass("cff-new"),t.find("img").each(function(){var t,e,i;n.settings.consentGiven&&!jQuery(this).hasClass("cff-image-loading")&&null!=jQuery(this).attr("src")&&null!=jQuery(this).attr("src")&&-1<jQuery(this).attr("src").indexOf("placeholder.png")&&(console.log("lazy load correction"),e=(t=jQuery(this)).attr("src"),(i=t.attr("data-orig-source"))!=e&&t.attr("src",i),t.hasClass("cff-multi-image")&&t.css("background-image","url("+i+")"))})},1250)},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;var t;void 0!==window.WPConsent?this.settings.consentGiven=window.WPConsent.hasConsent("marketing"):void 0!==window.cookieyes?void 0!==window.cookieyes._ckyConsentStore.get&&(this.settings.consentGiven="yes"===window.cookieyes._ckyConsentStore.get("functional")):"undefined"!=typeof CLI_Cookie?null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&("null"!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),"null"!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary"))):void 0!==window.cnArgs?2===(t=("; "+document.cookie).split("; cookie_notice_accepted=")).length&&(t=t.pop().split(";").shift(),this.settings.consentGiven="true"===t):void 0!==window.complianz?this.settings.consentGiven="allow"===cffCmplzGetCookie("cmplz_marketing"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie?this.settings.consentGiven=void 0!==window.BorlabsCookie.Consents?window.BorlabsCookie.Consents.hasConsent("facebook"):window.BorlabsCookie.checkCookieConsent("facebook"):cffCmplzGetCookie("moove_gdpr_popup")&&(e=JSON.parse(decodeURIComponent(cffCmplzGetCookie("moove_gdpr_popup"))),this.settings.consentGiven=void 0!==e.thirdparty&&"1"===e.thirdparty);var e=jQuery.Event("cffcheckconsent");return e.feed=this,jQuery(window).trigger(e),this.settings.consentGiven},afterConsentToggled:function(){var t;this.checkConsent()&&((t=this).maybeRaiseImageResolution(),this.addFullFeatures(),setTimeout(function(){t.afterResize()},500))}},(cff_init=window.cff_init=function(v){jQuery(".cff-nojs").removeClass("cff-nojs");var b=!1;1==("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)==!0&&(b=!0);var P,y=!1;void 0===v&&(v=jQuery(".cff"),y=!0),(P=jQuery)(function(){jQuery(document).off("click","#cff .cff-view-comments").on("click","#cff .cff-view-comments",function(){var t=jQuery(this),e=t.closest(".cff-item").find(".cff-comments-box");t.toggleClass("cff-open"),e.slideToggle(300);var i=t.closest("#cff");P(this).closest(".cff-item");i.hasClass("cff-masonry-js")&&setTimeout(function(){cffAddMasonry(i)},500),e.find(".cff-comment:visible").each(function(){var t=jQuery(this);void 0!==window.cff&&void 0!==window.cff.feeds&&!window.cff.feeds[0].settings.consentGiven||t.find(".cff-comment-img:not(.cff-comment-reply-img) a, .cff-comment-img:not(.cff-comment-reply-img) span").html('<img src="'+t.attr("data-avatar")+'" class="cff-feed-image" alt="Avatar" onerror="this.style.display=\'none\'" />')})});var n,a=!1;v.find(".cff-view-comments").on("mouseenter",function(){var t=P(this),i=50;t.hasClass("cff-open")||t.find(".cff-icon").each(function(){var t,e=jQuery(this);t=e,a=!1,n=setTimeout(function(){a||t.addClass("cff-animate")},i),i+=50})}).on("mouseleave",function(){clearTimeout(n),a=!0,P(this).find(".cff-icon").removeClass("cff-animate")}),"undefined"!=typeof cffsiteurl&&""!=cffsiteurl||(cffsiteurl=window.location.host+"/wp-content/plugins");var d={},u={},h=[],t=0;jQuery("#cff.cff-lb").each(function(){t++,P(this).attr("data-cff-lb",t)});var e,i,o,s,r,f=v.find(".cff-item.cff-new, .cff-album-item.cff-new");function c(a,o,t){var e,i,n,s,r,f,c,l;0!=a.find(".cff-view-comments").length&&((void 0===t||t.length<2)&&(t=""),e="object",i=a.find(".cff-comments .cff-count").text(),c=a.find(".cff-likes .cff-count").text(),l=a.attr("data-page-id"),void 0!==i&&""!=i||(i=0),void 0!==a.attr("data-comments-js")&&(void 0!==i&&""!=i||(i=1)),void 0!==c&&""!=c||(c=0),(void 0===t||t.length<2||a.find(".cff-comments-box").hasClass("cff-shared-story")||a.hasClass("cff-timeline-event"))&&(e="post"),n="",a.hasClass("cff-timeline-event")&&(n="&timeline_event=true"),r=s="",a.closest("#cff").hasClass("cff-group")&&(s="&usegrouptoken=true"),"true"==a.closest("#cff").attr("data-own-token")&&(r="&useowntoken=true"),shortcode_token_param=cffGetShortcodeToken(a.closest("#cff")),f=a.hasClass("cff-video-post")?"&isvideo=true":"",f=cffsiteurl+"/custom-facebook-feed-pro/query.php?o_id="+t+"&post_id="+o+"&use_id="+e+n+s+r+"&comments_num="+i+"&likes_num="+c+"&type=meta"+f+"&pageid="+l+shortcode_token_param,a.hasClass("cff-album")&&(f+="&timelinealbum=true"),void 0===window.cff_block_editor&&(c={action:"cff_query",o_id:t,post_id:o,use_id:e,comments_num:i,likes_num:c,type:"meta",pageid:l},a.hasClass("cff-video-post")&&(c.isvideo=!0),a.hasClass("cff-timeline-event")&&(c.timeline_event=!0),a.closest("#cff").hasClass("cff-group")&&(c.usegrouptoken=!0),"true"==a.closest("#cff").attr("data-own-token")&&(c.useowntoken=!0),""!==shortcode_token_param&&(l=shortcode_token_param.split("="),c.at=l[1]),cffAjax(c,function(t){function e(t){var e=JSON.stringify(t),i=void 0!==v.attr("data-cff-shortcode")&&0===v.attr("data-cff-shortcode").indexOf("{")?JSON.parse(v.attr("data-cff-shortcode")):{},t=void 0!==v.attr("data-page")?parseInt(v.attr("data-page")):1,t={url:cffajaxurl,type:"POST",async:!0,cache:!1,data:{action:"cache_meta",metadata:e,atts:i,page:t},success:function(t){},error:function(t,e,i){}};P.ajax(t)}var i,n;h.push({id_post:o,content:t}),d[o]=t,u[o]=t,g(a,t),p(a,t),i=h,"undefined"==typeof cffdisablecommentcaching&&(m||(n=0,setTimeout(function(){var t=setInterval(function(){e(i),2==++n&&clearInterval(t)},3e3);e(i)},500),m=!0))})))}y&&(f=jQuery("#cff .cff-item.cff-new, #cff .cff-album-item.cff-new")),f.each(function(){var l=jQuery(this);l.find(".cff-viewpost-link, .cff-viewpost-facebook, .cff-viewpost").parent("p").length&&(l.hasClass("event")||l.find(".cff-viewpost-link, .cff-viewpost-facebook, .cff-viewpost").unwrap("p")),l.find(".cff-photo").parent("p").length&&(l.find("p .cff-photo").unwrap("p"),l.find(".cff-album-icon").appendTo(".cff-photo:last")),l.find(".cff-event-thumb").parent("p").length&&l.find(".cff-event-thumb").unwrap("p"),l.find(".cff-vidLink").parent("p").length&&l.find(".cff-vidLink").unwrap("p"),l.find(".cff-link").parent("p").length&&l.find(".cff-link").unwrap("p"),l.find(".cff-viewpost-link").parent("p").length&&l.find(".cff-viewpost-link").unwrap("p"),l.find(".cff-viewpost-facebook").parent("p").length&&l.find(".cff-viewpost-facebook").unwrap("p"),l.find("iframe").parent("p").length&&l.find("iframe").unwrap("p"),l.find(".cff-author").parent("p").length&&(l.find(".cff-author").eq(1).unwrap("p"),l.find(".cff-author").eq(1).remove()),l.find(".cff-view-comments").parent("p").length&&(l.find(".cff-meta-wrap > p").remove(),l.find(".cff-view-comments").eq(1).remove(),p=(m=l.find(".cff-meta")).attr("class"),m.find(".cff-view-comments").unwrap().wrapInner('<ul class="'+p+'">')),l.find(".cff-photo").siblings(".cff-photo").length&&l.find(".cff-photo").slice(0,2).remove(),P(".cff-author-img").parent().is("p")&&P(".cff-author-img").unwrap("p"),l.find("p:empty").not(".cff-comments-box p").remove();var i,a,n=!1;void 0!==(a=l.hasClass("cff-event")?(i=l.find(".cff-desc .cff-desc-text")).parent().attr("data-char"):(i=l.find(".cff-post-text .cff-text"),l.closest("#cff").attr("data-char")))&&""!=a||(a=99999),i.find("a.cff-post-text-link").length&&(i=l.find(".cff-post-text .cff-text a"));var o,s,r,d=i.html(),f=i.html();void 0===d&&(d=""),function(t){let e=jQuery("<div>").html(t);return t=e.text(),jQuery.trim(t).length}(d)>a&&(l.find(".cff-expand").show(),o="",t=new RegExp(/(<[^>]*>)/g),s=f.split(t),r=0,s.every((t,e)=>{var i=/<(\/*)[a-z][\s\S]*>/i.test(t),n=/<\/[a-z][\s\S]*>/i.test(s[e+1]);return i||(r+=t.length,a<r&&(t=t.slice(0,a-(r-t.length)),n&&(t+=s[e+1])),""===t&&0===t.length&&(r+=1)),o+=t,!(a<=r)})),i.html(o);var t=new RegExp(/(<[^>]*>)/g);full_text_arr=d.split(t),l.find(".cff-expand a").off("click").on("click",function(t){t.preventDefault();var e=jQuery(this),t=e.find(".cff-more"),e=e.find(".cff-less");0==n?(i.html(f),n=!0,t.hide(),e.show()):(i.html(o),n=!1,t.show(),e.hide()),g(),i.find("a").attr("target","_blank"),l.closest(".cff").hasClass("cff-masonry-js")&&!l.closest(".cff").hasClass("cff-masonry-css")&&cffAddMasonry(v)}),i.find("a").add(l.find(".cff-post-desc a")).attr({target:"_blank",rel:"nofollow noopener noreferrer"});var u=l.attr("id").substring(4);l.find(".cff-view-comments").attr("id");jQuery(document).off("click","#cff .cff-show-more-comments, .cff-lightbox-sidebar .cff-show-more-comments").on("click","#cff .cff-show-more-comments, .cff-lightbox-sidebar .cff-show-more-comments",function(){var t=jQuery(this),e=parseInt(t.attr("data-cff-comments-total"));t.hasClass("cff-clicked")&&25<e&&t.find("a").attr({href:t.closest(".cff-comments-box").find(".cff-comment-on-facebook a").attr("href"),target:"_blank"}),e<=25&&t.hide(),t.addClass("cff-clicked"),t.parent().find(".cff-comment").show().each(function(){var t=jQuery(this);void 0!==window.cff&&void 0!==window.cff.feeds&&!window.cff.feeds[0].settings.consentGiven||t.find(".cff-comment-img:not(.cff-comment-reply-img) a, .cff-comment-img:not(.cff-comment-reply-img) span").html('<img src="'+t.attr("data-avatar")+'" class="cff-feed-image" alt="Avatar" onerror="this.style.display=\'none\'" />')});var i=t.closest(".cff");i.hasClass("cff-masonry-js")&&!i.hasClass("cff-opaque-comments")&&setTimeout(function(){cffAddMasonry(i)},500)}),(l.hasClass("cff-timeline-event")||l.hasClass("cff-event"))&&P(this).find(".cff-date .cff-start-date k").text()!==P(this).find(".cff-date .cff-end-date k").text()&&P(this).find(".cff-date .cff-end-date k").show();var e,c,h,m=l.find(".cff-photo img, .cff-event-thumb img, .cff-poster, .cff-album-cover img"),p=m.attr("src"),t=m.attr("data-querystring");function g(){var t,e=l.find(".cff-text").html(),i=l.find(".cff-post-desc").html(),n=/(^|\s)#(\w*[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]+\w*)/gi,a=sanitizeColor(l.find(".cff-text").attr("data-color")),o="";function s(t){t=jQuery.trim(t);return/^#[0-9A-F]{6}$/i.test(t)?t:(a&&void 0!==a&&1<a.length&&(o='style="color:#'+a+'"'),' <a href="https://www.facebook.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow noopener" '+o+">"+t+"</a>")}"undefined"==typeof cfflinkhashtags&&(cfflinkhashtags="true"),"true"!=cfflinkhashtags||0<(t=l.find(".cff-text")).length&&(e=e.replace(/<br>/g,"<br> "),t.html(e.replace(n,s))),0<l.find(".cff-post-desc").length&&l.find(".cff-post-desc").html(i.replace(n,s))}void 0===p&&(p=""),(-1<p.indexOf("i0.wp.com")||-1<p.indexOf("i1.wp.com")||-1<p.indexOf("i2.wp.com")||-1<p.indexOf("i3.wp.com")||-1<p.indexOf("i4.wp.com")||-1<p.indexOf("i5.wp.com"))&&(c=m.attr("src").substring(0,m.attr("src").indexOf("?")).replace("http://","https:/").replace(/i0.wp.com|i1.wp.com|i2.wp.com|i3.wp.com|i4.wp.com|i5.wp.com/gi,"")+"?"+t,m.attr("src",c)),g(),l.find(".cff-text a").attr("target","_blank"),setTimeout(function(){l.closest("#cff").hasClass("cff-lb")&&l.find(".cff-photo, .cff-single-photo, .cff-album-cover, .cff-event-thumb, .cff-html5-video, .cff-iframe-wrap").each(function(){var t=P(this),e=u,i="",n="",a="";function o(t){return(l.hasClass("cff-album-item")?String(t):String(t).replace(/&/g,"&amp;")).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/\n/g,"<br/>")}l.hasClass("cff-albums-only")?(n="albumsonly",i=o(l.find("img").attr("alt")),void 0!==l.closest("#cff").attr("data-group")&&(a='data-cffgroupalbums="true"')):l.hasClass("cff-timeline-event")?(c="",l.find(".cff-author-text .cff-page-name").length&&(c+=l.find(".cff-author-text .cff-page-name").text()+"<br /><br />"),5<d.length&&(c+=d),i=o(c)):l.hasClass("cff-event")?l.find(".cff-details").length&&(l.find(".cff-event-title").length&&(i='<span class="cff-event-title" style="font-weight:bold;">'+o(l.find(".cff-event-title").html()+"</span>")),l.find(".cff-date").length&&(i+='<span class="cff-date">'+o(l.find(".cff-date").html()+"</span>")),l.find(".cff-location").length&&(i+='<span class="cff-location">'+o(l.find(".cff-location").html()+"</span>")),i+='<span class="cff-desc">'+d+"</span>"):i=l.hasClass("cff-album-item")?o(l.find("img").attr("alt")):(""==(s=d).trim()&&(s=l.find(".cff-post-desc").text()),""==s&&l.find(".cff-author .cff-story").length&&(s=l.find(".cff-author .cff-page-name").text()),""==s&&(s="&nbsp;"),o(s)),1<i.length&&(i=i.replace(/"/g,"&quot;"));var s,r,f='<a class="cff-lightbox-link nofancybox" rel="nofollow" ',c=void 0===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven;t.hasClass("cff-iframe-wrap")?(r="",t.find("iframe").length&&void 0===(r=t.find("iframe").attr("src"))&&(r=t.find("iframe").attr("data-src")),t.find(".cff-iframe-placeholder").length&&(r=t.find(".cff-iframe-placeholder").attr("data-src")),f+='href="'+cffsiteurl+"/custom-facebook-feed-pro/assets/img/video-lightbox.png?"+e+'" data-iframe="'+r+'" '):t.hasClass("cff-swf")?f+='href="'+cffsiteurl+'/custom-facebook-feed-pro/assets/img/video-lightbox.png" data-iframe="'+t.find("video").attr("src")+'" ':(s=-1===t.find("img").attr("src").indexOf("placeholder")&&void 0!==t.find("img").attr("data-orig-source")?t.find("img").attr("data-orig-source"):t.find("img").attr("src"),void 0===t.attr("data-img-src-set")||void 0!==(r=JSON.parse(t.attr("data-img-src-set").replace(/\\\//g,"/")))[0]&&(s=Object.values(r[0]).slice(-1)),t.find("img").attr("data-cff-no-event-img-large")&&(s=t.find("img").attr("data-cff-no-event-img-large")),t.find("img").attr("data-cff-full-img")&&!v.hasClass("cff-doing-gdpr")&&(s=t.find("img").attr("data-cff-full-img")),c||(s=t.find("img").attr("src")),f+='href="'+s+'" data-iframe="" '),f+='data-cff-lightbox="cff-lightbox-'+l.closest("#cff").attr("data-cff-lb")+'" data-title="'+i+'" data-id="'+e+'" data-thumbs="'+!0+'" '+a+" ",t.hasClass("cff-html5-video")?t.hasClass("cff-swf")?f+='data-url="'+t.find(".cff-html5-play").attr("href")+'" data-video="':(void 0!==(a=t.find("img").attr("data-cff-video"))&&""!==a||void 0===t.attr("data-cff-video-link")&&""===t.attr("data-cff-video-link")||(a="https://www.facebook.com/v2.3/plugins/video.php?href="+t.attr("data-cff-video-link")),"facebook"===t.attr("data-cff-video-player")&&(a="https://www.facebook.com/v2.3/plugins/video.php?href="+t.attr("data-cff-video-link")),f+='data-url="'+t.find(".cff-html5-play").attr("href")+'" data-video="'+a):t.hasClass("cff-video")?f+='data-url="https://facebook.com/'+t.attr("id")+'" data-video="'+t.attr("data-source"):t.hasClass("cff-iframe-wrap")?f+='data-url="https://facebook.com/'+u+'" data-video="':f+='data-url="'+t.attr("href")+'" data-video="',f+='" data-type="'+n+'" data-lb-comments="'+t.closest(".cff-lb").attr("data-lb-comments")+'"><div class="cff-photo-hover"><div class="cff-html5-play"></div><span class="cff-screenreader">View</span></div></a>',t.prepend(f),b||t.on("mouseenter",function(){l.find(".cff-photo-hover").fadeIn(150)}).on("mouseleave",function(){l.find(".cff-photo-hover").stop().fadeOut(500)})})},2e3),l.find(".cff-share-link").off("click").on("click",function(t){t.preventDefault();var e,t=l.find(".cff-share-tooltip");t.is(":visible")?t.hide().find("a").removeClass("cff-show"):(t.show(),e=0,t.find("a").each(function(){var t=jQuery(this);setTimeout(function(){t.addClass("cff-show")},e),e+=20}))}),c=void 0!==v.attr("data-restricted"),!l.hasClass("cff-album-item")||void 0!==(e=l.attr("data-cff-full-size"))&&""!=e&&(c?setTimeout(()=>{l.find(".cff-lightbox-link").attr("href",e),l.find(".cff-lightbox-link").closest(".cff-album-cover").css("background-image","url("+e+")"),l.find("img").attr("src",e)},100):l.find(".cff-lightbox-link").attr("href",e)),(l.find(".cff-html5-video").length||l.hasClass("cff-video"))&&(c=!1,l.find(".cff-html5-video").length&&"true"==(h=l.find(".cff-html5-video")).attr("data-cff-live")&&(c=!0),l.hasClass("cff-video")&&(h=l),c&&P(window).width()<=640||l.closest(".cff").hasClass("cff-private-group")||"standard"!=h.attr("data-cff-video-player")&&l.find(".cff-lightbox-link").attr({"data-iframe":"https://www.facebook.com/v2.3/plugins/video.php?href="+h.attr("data-cff-video-link"),"data-video":""})),setTimeout(function(){l.find(".cff-iframe-wrap .fluid-width-video-wrapper iframe").unwrap().wrap('<div style="float: left; width: 100%;"></div>'),l.find(".cff-iframe-wrap .iframe-embed iframe").unwrap("iframe-embed")},500),l.find(".cff-album-info a").on("click",function(t){t.preventDefault(),l.find(".cff-lightbox-link").trigger("click")})}),jQuery(document).off("click",".cff-comment-replies a").on("click",".cff-comment-replies a",function(){cffLoadCommentReplies(P(this))}),P(".cff-wrapper").each(function(){var t,e,i,v=P(this).find(".cff"),b=v.attr("data-grid-pag"),n=(cffGetShortcodeToken(v),P(this).find(".cff"));if(void 0!==n.attr("data-nummobile")&&(t=void 0!==n.attr("data-pag-num")&&""!==n.attr("data-pag-num")?parseInt(n.attr("data-pag-num")):1,e=void 0!==n.attr("data-nummobile")&&""!==n.attr("data-nummobile")?parseInt(n.attr("data-nummobile")):t,i=n.find(".cff-item").length?".cff-item":".cff-album-item",v.hasClass("cff-carousel")&&(i=".cff_owl-item"),P(window).width()<480?(e<n.find(i).length&&n.find(i).slice(e-n.find(i).length).addClass("cff-num-diff-hide"),v.hasClass("cff-carousel")&&n.find(".cff_owl-page").slice(e-n.find(".cff_owl-page").length).css({display:"none"})):(t<n.find(i).length&&n.find(i).slice(t-n.find(i).length).addClass("cff-num-diff-hide"),v.hasClass("cff-carousel")&&n.find(".cff_owl-page").slice(e-n.find(".cff_owl-page").length).css({display:"inline-block"})),n.removeAttr("data-nummobile")),v.hasClass("cff-masonry-js")&&!v.hasClass("cff-all-reviews")){if(v.find(".cff-album-item").length&&!v.hasClass("cff-masonry"))return void v.removeClass("cff-masonry-js");cffAddMasonry(v),setTimeout(function(){cffAddMasonry(v)},1e3),P(window).on("resize",function(){setTimeout(function(){cffAddMasonry(v)},500)}),v.find(".cff-credit").length&&v.css("padding-bottom",30)}function a(){var t;(t=v.hasClass("cff-album-items-feed")?v:v.find(".cff-item").first()).innerWidth()<400?v.hasClass("cff-disable-narrow")||v.addClass("narrow"):v.removeClass("narrow"),t.innerWidth()<250&&v.addClass("cff-super-narrow")}function o(){v.find(".cff-item").first().innerWidth()<190+P(".cff-post-links").innerWidth()?v.find(".cff-post-links").addClass("cff-left"):v.find(".cff-post-links").removeClass("cff-left")}a(),o();var s,r=(s=0,function(t,e){clearTimeout(s),s=setTimeout(t,e)});function f(o){var t;v.hasClass("cff-masonry")||v.hasClass("cff-disable-liquid")||(t=v.find(".cff-album-item").eq(0).find("a").innerWidth(),v.find(".cff-album-item a").css("height",t),v.find(".cff-photo.cff-crop").css("height",v.find(".cff-photo.cff-crop").width()),v.find(".cff-item.cff-album .cff-photo.cff-multiple, .cff-video-post .cff-html5-video.cff-multiple").each(function(){var t,e,i,n=P(this),a=n.find("img").first().width();a<10&&(a=300),n.hasClass("cff-img-layout-3")&&n.find(".cff-img-attachments .cff-crop").css("height",a/2),n.hasClass("cff-img-layout-4")&&n.find(".cff-img-attachments .cff-crop").css("height",a/3),n.is(".cff-img-layout-3, .cff-img-layout-4")?(t=n.find(".cff-main-image"),e=.6,n.hasClass("cff-img-layout-4")&&(e=.8),i=Math.round(a/t.find("img").attr("data-ratio")),t.css("height",Math.round(Math.max(i*e,n.find(".cff-img-attachments").height())))):n.is(".cff-img-layout-2")&&(n.find(".cff-img-wrap.cff-crop"),n.hasClass("cff-portrait")?n.find(".cff-img-wrap.cff-crop").css("height",.8*n.width()):n.find(".cff-img-wrap.cff-crop").css("height",n.width()/2)),1==o&&(n.is(".cff-img-layout-3")||n.is(".cff-img-layout-4"))&&n.find(".cff-main-image").height()<10&&n.find(".cff-img-layout-3 .cff-main-image img, .cff-img-layout-4 .cff-main-image img").css({display:"block",visibility:"visible"}),a<200?n.addClass("cff-small-layout"):n.removeClass("cff-small-layout")}))}window.addEventListener("resize",function(t){r(function(){a(),o(),f()},500)}),f(!1),setTimeout(function(){f(!1)},50),setTimeout(function(){f(!0)},500),setTimeout(function(){f(!0)},1500);var y,w,x=parseInt(v.attr("data-pag-num")),C=x,c=v.find(".cff-event").length;P(".cff-event:visible").length;v.find(".cff-event").slice(0,x).css("display","inline-block"),P(".cff-load-placeholder").length&&($loadmorePlaceholder=P(".cff-load-placeholder").first().find("a"),P(".cff-load-placeholder").before($loadmorePlaceholder),P(".cff-load-placeholder").remove(),x<c&&$loadmorePlaceholder.on("click",function(){var t=v.find(".cff-event:visible").length,e=(parseInt(v.attr("data-pag-num")),!1);t<c?(v.find(".cff-event").slice(0,x+P(".cff-event:visible").length).css("display","inline-block"),P(".cff-event:visible").length===c&&(e=!0)):e=!0,e&&v.find(".cff-load-more").replaceWith(function(){return P('<p class="cff-no-more-posts">No more posts</p>')}),setTimeout(function(){cffAddMasonry(v)},200),setTimeout(function(){cffAddMasonry(v)},1e3)})),v.hasClass("cff-all-reviews")&&(y=parseInt(v.attr("data-pag-num")),w=y,void 0!==(l=parseInt(v.attr("data-offset")))&&!isNaN(l)||(l=0),v.find(".cff-review").slice(0,y+l).css("display","inline-block"),0<l&&v.find(".cff-review").slice(0,l).remove(),v.hasClass("cff-masonry-js")&&(cffAddMasonry(v),setTimeout(function(){cffAddMasonry(v)},1e3),P(window).on("resize",function(){setTimeout(function(){cffAddMasonry(v)},500)}),v.find(".cff-credit").length&&v.css("padding-bottom",30)));var k=v.find("#cff-load-more"),l=v.find(".cff-load-more").attr("data-cff-no-posts-added");function _(t,e){var i=""==e.attr("data-no-more")?"No more posts":e.attr("data-no-more").replace(/\\'/g,"'");t.find(".cff-no-more-posts").length<1&&e.hide().after('<p class="cff-no-more-posts">'+i+"</p>")}void 0!==l&&0!=l||k.attr("data-cff-no-posts-added","false"),v.find(".cff-item, .cff-album-item").length<1&&k.attr("data-cff-no-posts-added","true"),k.off().on("click",function(){var a,t,e=v.attr("data-cff-shortcode"),i=v.find(".cff-pag-url"),n=i.attr("data-cff-pag-url"),o=i.attr("data-transient-name"),s=i.attr("data-post-id"),r=CFFLocationGuess(v),f=v.find(".cff-upcoming-event").length;if(0<f)return C+=x,v.find(".cff-upcoming-event").slice(0,C).css("display","inline-block").removeClass("cff-num-diff-hide"),f<C&&(v.find("#cff-load-more").hide(),_(v,k)),void(v.hasClass("cff-masonry-js")&&!v.hasClass("cff-masonry-css")&&cffAddMasonry(v));if(v.hasClass("cff-all-reviews")){f=v.find(".cff-review").length;if(0<f)return w+=y,v.find(".cff-review").slice(0,w).css("display","inline-block"),f<w&&(v.find("#cff-load-more").hide(),_(v,k)),void(v.hasClass("cff-masonry-js")&&!v.hasClass("cff-masonry-css")&&cffAddMasonry(v))}k.off().removeAttr("id").addClass("cff-disabled"),i.remove(),".cff-album-item"==(a=v.hasClass("cff-album-items-feed")?".cff-album-item":".cff-item")&&(""!=n&&"{}"!=n||(n=i.attr("data-cff-prev-url")),t=void 0===(p=i.attr("data-cff-prev-url"))?"":JSON.parse(p));var c=void 0===n?"":JSON.parse(n);if(".cff-album-item"==a)for(var l in t)t.hasOwnProperty(l)&&void 0===c[l]&&(c[l]=t[l]);""!=n&&"{}"!=n&&0!=n&&"0"!=n||".cff-item"!=a?(k.addClass("cff-loading").append('<div class="cff-loader"></div>'),k.find(".cff-loader").css("background-color",k.css("color"))):(k.hide(),_(v,k));var d,u,h,m,p=!1;if(v.attr("data-timeline-pag")&&(p=!0),1!=p)for(var l in c)c.hasOwnProperty(l)&&"latest_record_date"!=l&&(u=I("until",d=c[l]),m=v.find(a+".cff-"+l).last(),h=(parseInt(m.attr("data-cff-timestamp"))-1).toString(),void 0!==m.attr("data-cff-backdated")&&(h=(parseInt(m.attr("data-cff-backdated"))-1).toString()),isNaN(parseFloat(h))&&(m=v.find(a).last(),h=(parseInt(m.attr("data-cff-timestamp"))-1).toString(),void 0!==m.attr("data-cff-backdated")&&(h=(parseInt(m.attr("data-cff-backdated"))-1).toString())),m=d,"true"==k.attr("data-cff-no-posts-added")||".cff-album-item"!==a&&-1<(m=-1!==d.indexOf("until=")?d.replace("until="+u,"until="+h):d+"&until="+h).indexOf("&after=")&&(m=m.replace("&after="+I("after",m),"")),".cff-album-item"!==a&&((-1<d.indexOf("/events")&&-1<d.indexOf("&after=")||-1<d.indexOf("/ratings")&&-1<d.indexOf("&after=")&&v.hasClass("cff-all-reviews"))&&(m=m.replace("&after="+I("after",m),"")),-1<m.indexOf("&__paging_token")&&(m=m.replace("&__paging_token="+I("__paging_token",m),"")),c[l]=m));p=void 0!==v.attr("data-page")?v.attr("data-page"):1,p=parseInt(p)+1;v.attr("data-page",p);let g="";void 0!==v.attr("data-locatornonce")&&(g=v.attr("data-locatornonce")),n=JSON.stringify(c),jQuery.ajax({url:cffajaxurl,type:"post",data:{action:"cff_get_new_posts",shortcode_data:e,pag_url:n,feed_id:o,post_id:s,location:r,page:p,locator_nonce:g},success:function(t){v.find(".cff-num-diff-hide").removeClass("cff-num-diff-hide"),-1==t.indexOf("<div class=")&&-1==t.indexOf("<span class=")?k.attr("data-cff-no-posts-added","true"):k.attr("data-cff-no-posts-added","false"),v.find(".cff-item, .cff-album-item").length?v.find(".cff-item, .cff-album-item").addClass("cff-masonry-new").removeClass("cff-new").last().after(t):v.find(".cff-posts-wrap").append(t);var e=void 0!==v.attr("data-page")?v.attr("data-page"):2,i=v.attr("data-mobilenumber"),i=parseInt(e)*parseInt(i);v.attr({"data-shownmobileposts":i}),P(window).width()<480&&(n=v.find(".cff-item").length?".cff-item":".cff-album-item",(i=i)<v.find(n).length&&v.find(n).slice(i-v.find(n).length).addClass("cff-num-diff-hide")),v.find(".cff-album-item").each(function(t){var e=P('[id="'+this.id+'"]').eq(1);e.length&&(this_classes=e.attr("class"),this_classes=this_classes.replace("cff-album-item",""))}),k.removeClass("cff-loading").find(".cff-loader").remove(),k.attr("id","cff-load-more").removeClass("cff-disabled"),cff_init(v),k=v.find(".cff-load-more");var n=parseInt(k.closest(".cff").attr("data-cff-index"))-1;void 0!==window.cff&&"undefined"!==window.cff.feeds[n]&&window.cff.feeds[n].afterLoadMoreClicked(k),(v.find(".cff-album-item").length&&v.hasClass("cff-disable-liquid")||v.hasClass("cff-masonry-js")&&!v.hasClass("cff-masonry-css"))&&(v.find(".cff-posts-wrap").masonry("appended",v.find(".cff-new")),v.find(".cff-view-comments, .cff-comment-replies a, .cff-show-more-comments a").off().on("click",function(){v.hasClass("cff-opaque-comments")||setTimeout(function(){cffAddMasonry(v)},500)}));n=v.find(".cff-pag-url").attr("data-cff-pag-url");".cff-item"==a||"cursor"==b?"{}"==n&&_(v,k):t.indexOf('class="cff-album-item')<0&&t.indexOf('class="cff-empty-album')<0&&_(v,k),"function"==typeof cff_custom_js&&cff_custom_js(jQuery)}})}).on("mouseenter",function(){P(this).css("background",P(this).attr("data-cff-hover"))}).on("mouseleave",function(){P(this).css("background",P(this).attr("data-cff-bg"))}),v.find(".cff-album-item").length&&!v.hasClass("cff-masonry")&&v.removeClass("cff-masonry cff-masonry-js cff-masonry-css"),v.find(".cff-more-dates").on("click",function(){P(this).siblings(".cff-multiple-dates").slideToggle(100)})}),P(".cff-timeline-feed").length&&"undefined"==typeof cffdisablecommentcaching?(r=[],P(".cff-posts-wrap").each(function(){P(this).find(".cff-item.cff-new:not(.cff-event)").each(function(){var t=P(this),e=t.find(".cff-view-comments").attr("id");t.closest(".cff-item").attr("data-object-id");r.push(e)})}),e=r,s=[],P(".cff-timeline-feed").each(function(){$cffPagUrl=P(this).find(".cff-pag-url");var t={feedID:$cffPagUrl.attr("data-feed-id"),postID:$cffPagUrl.attr("data-post-id"),shortCodeAtts:""==P(this).attr("data-cff-shortcode").trim()?{}:JSON.parse(P(this).attr("data-cff-shortcode")),location:CFFLocationGuess(P(this))};s.push(t)}),i=s,o=void 0!==v.attr("data-cff-shortcode")&&0===v.attr("data-cff-shortcode").indexOf("{")?JSON.parse(v.attr("data-cff-shortcode")):{},f=void 0!==v.attr("data-page")?parseInt(v.attr("data-page")):1,P.ajax({url:cffajaxurl,type:"POST",async:!0,cache:!1,data:{action:"get_meta",comments_array_ids:e,feedLocatorData:i,atts:o,page:f},success:function(t){d=""==t||t.length<1?[]:(t=t.replace(/\\'/g,"'"),JSON.parse(t)),v.each(function(){P(this).find(".cff-item.cff-new:not(.cff-event)").each(function(){var t=P(this),e=t.find(".cff-view-comments").attr("id"),i=t.closest(".cff-item").attr("data-object-id");d.hasOwnProperty(e)&&""!=d[e]?(g(t,JSON.parse(d[e]).content),p(t,JSON.parse(d[e]).content)):c(t,e,i)})})},error:function(t,e,i){}})):P("#cff .cff-item.cff-new:not(.cff-event)").each(function(){var t=P(this),e=t.find(".cff-view-comments").attr("id"),i=t.closest(".cff-item").attr("data-object-id");c(t,e,i)});var m=!1;function I(t,e){t=t.replace(/[\[\]]/g,"\\$&");e=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null}function p(t,e){void 0!==(e=JSON.parse(e)).images&&null!==e.images&&t.find(".cff-lightbox-link").attr("href",e.images[0].source)}function g(f,t){var c,e,l,i,n,d,a,o,s,r,u,h,m,p,g,v,b,y,w,x,C,k,_,I,A,z,E,j,T,F,D,B,S,L,Q,O,R,M;function q(t,e){return e-t}"<"!=t.substring(0,1)&&(t=JSON.parse(t),e=c="",l=parseInt(f.find(".cff-comments-box").attr("data-num")),i=void 0!==t.likes?t.likes.summary.total_count:0,n=(Q=f.find(".cff-comments-box")).find(".cff-comment-likes"),Boolean(f.find(".cff-comments-box").attr("data-cff-hide-avatars")),d=Boolean(f.find(".cff-comments-box").attr("data-cff-expand-comments")),a=Q.attr("data-cff-like-text"),o=Q.attr("data-cff-likes-text"),s=Q.attr("data-cff-reacted-text"),r=Q.attr("data-cff-and-text"),u=Q.attr("data-cff-other-text"),h=Q.attr("data-cff-others-text"),m=Q.attr("data-cff-reply-text"),p=Q.attr("data-cff-replies-text"),g=void 0!==t.comments?t.comments.summary.total_count:0,v=f.find(".cff-comments-box").attr("data-cff-meta-link-color"),b=Boolean(f.find(".cff-comments-box").attr("data-cff-post-tags")),void 0===f.attr("data-comments-js")||void 0!==t.comments&&t.comments.summary.total_count,k=(B=[y=void 0!==t.haha?t.haha.summary.total_count:0,w=void 0!==t.love?t.love.summary.total_count:0,x=void 0!==t.wow?t.wow.summary.total_count:0,C=void 0!==t.sad?t.sad.summary.total_count:0,R=void 0!==t.angry?t.angry.summary.total_count:0]).sort(q)[0],_=B.sort(q)[1],S=E=z=A=I=!1,j='<svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M462.3 62.7c-54.5-46.4-136-38.7-186.6 13.5L256 96.6l-19.7-20.3C195.5 34.1 113.2 8.7 49.7 62.7c-62.8 53.6-66.1 149.8-9.9 207.8l193.5 199.8c6.2 6.4 14.4 9.7 22.6 9.7 8.2 0 16.4-3.2 22.6-9.7L472 270.5c56.4-58 53.1-154.2-9.7-207.8zm-13.1 185.6L256.4 448.1 62.8 248.3c-38.4-39.6-46.4-115.1 7.7-161.2 54.8-46.8 119.2-12.9 142.8 11.5l42.7 44.1 42.7-44.1c23.2-24 88.2-58 142.8-11.5 54 46 46.1 121.5 7.7 161.2z"></path></svg><span class="cff-svg-bg-dark"><svg class="cff-svg-bg" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"></path></svg></span>',T='<svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm152.7 400.7c-19.8 19.8-43 35.4-68.7 46.3-26.6 11.3-54.9 17-84.1 17s-57.5-5.7-84.1-17c-25.7-10.9-48.8-26.5-68.7-46.3-19.8-19.8-35.4-43-46.3-68.7-11.3-26.6-17-54.9-17-84.1s5.7-57.5 17-84.1c10.9-25.7 26.5-48.8 46.3-68.7 19.8-19.8 43-35.4 68.7-46.3 26.6-11.3 54.9-17 84.1-17s57.5 5.7 84.1 17c25.7 10.9 48.8 26.5 68.7 46.3 19.8 19.8 35.4 43 46.3 68.7 11.3 26.6 17 54.9 17 84.1s-5.7 57.5-17 84.1c-10.8 25.8-26.4 48.9-46.3 68.7zM281.8 206.3l80 48c11.5 6.8 24-7.6 15.4-18L343.6 196l33.6-40.3c8.6-10.3-3.8-24.8-15.4-18l-80 48c-7.7 4.7-7.7 15.9 0 20.6zm-147.6 48l80-48c7.8-4.7 7.8-15.9 0-20.6l-80-48c-11.6-6.9-24 7.7-15.4 18l33.6 40.3-33.6 40.3c-8.7 10.4 3.8 24.8 15.4 18zM383 288H113c-9.6 0-17.1 8.4-15.9 18 8.8 71 69.4 126 142.9 126h16c73.4 0 134-55 142.9-126 1.2-9.6-6.3-18-15.9-18zM256 400h-16c-50.2 0-93.5-33.3-107.4-80h230.8c-13.9 46.7-57.2 80-107.4 80z"></path></svg><svg class="cff-svg-bg" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 152c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm88 272h-16c-73.4 0-134-55-142.9-126-1.2-9.5 6.3-18 15.9-18h270c9.6 0 17.1 8.4 15.9 18-8.9 71-69.5 126-142.9 126z"></path></svg>',F='<svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-184c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64zm0 96c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32zm-48-176c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm128-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"></path></svg><svg class="cff-svg-bg" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 208c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm112 208c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm80-176c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"></path></svg>',D='<svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-152c-44.4 0-86.2 19.6-114.8 53.8-5.7 6.8-4.8 16.9 2 22.5 6.8 5.7 16.9 4.8 22.5-2 22.4-26.8 55.3-42.2 90.2-42.2s67.8 15.4 90.2 42.2c5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5C334.2 339.6 292.4 320 248 320zm-80-80c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"></path></svg><svg class="cff-svg-bg" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm170.2 218.2C315.8 367.4 282.9 352 248 352s-67.8 15.4-90.2 42.2c-13.5 16.3-38.1-4.2-24.6-20.5C161.7 339.6 203.6 320 248 320s86.3 19.6 114.7 53.8c13.6 16.2-11 36.7-24.5 20.4z"></path></svg>',O='<svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-136c-31.2 0-60.6 13.8-80.6 37.8-5.7 6.8-4.8 16.9 2 22.5s16.9 4.8 22.5-2c27.9-33.4 84.2-33.4 112.1 0 5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5-19.9-24-49.3-37.8-80.5-37.8zm-48-96c0-2.9-.9-5.6-1.7-8.2.6.1 1.1.2 1.7.2 6.9 0 13.2-4.5 15.3-11.4 2.6-8.5-2.2-17.4-10.7-19.9l-80-24c-8.4-2.5-17.4 2.3-19.9 10.7-2.6 8.5 2.2 17.4 10.7 19.9l31 9.3c-6.3 5.8-10.5 14.1-10.5 23.4 0 17.7 14.3 32 32 32s32.1-14.3 32.1-32zm171.4-63.3l-80 24c-8.5 2.5-13.3 11.5-10.7 19.9 2.1 6.9 8.4 11.4 15.3 11.4.6 0 1.1-.2 1.7-.2-.7 2.7-1.7 5.3-1.7 8.2 0 17.7 14.3 32 32 32s32-14.3 32-32c0-9.3-4.1-17.5-10.5-23.4l31-9.3c8.5-2.5 13.3-11.5 10.7-19.9-2.4-8.5-11.4-13.2-19.8-10.7z"></path></svg><span class="cff-svg-bg-dark"><svg class="cff-svg-bg" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z"></path></svg></span>',B=Q="",0<k&&P("#cff").hasClass("cff-theme-default_theme")&&(t.love.summary.total_count==k&&(B+='<span class="cff-love cff-reaction-one cff-icon">'+j+"</span>",I=!0),t.haha.summary.total_count==k&&(B+='<span class="cff-haha cff-reaction-one cff-icon">'+T+"</span>",A=!0),t.wow.summary.total_count==k&&(B+='<span class="cff-wow cff-reaction-one cff-icon">'+F+"</span>",z=!0),t.sad.summary.total_count==k&&(B+='<span class="cff-sad cff-reaction-one cff-icon">'+D+"</span>",E=!0),t.angry.summary.total_count==k&&(B+='<span class="cff-angry cff-reaction-one cff-icon">'+O+"</span>",S=!0),Q+=B),B.split("cff-reaction-one").length<3&&P("#cff").hasClass("cff-theme-default_theme")&&0<_&&(L="",t.love.summary.total_count!=_||I||(L='<span class="cff-love cff-reaction-two cff-icon">'+j+"</span>"),t.haha.summary.total_count!=_||A||(L='<span class="cff-haha cff-reaction-two cff-icon">'+T+"</span>"),t.wow.summary.total_count!=_||z||(L='<span class="cff-wow cff-reaction-two cff-icon">'+F+"</span>"),t.sad.summary.total_count!=_||E||(L='<span class="cff-sad cff-reaction-two cff-icon">'+D+"</span>"),t.angry.summary.total_count!=_||S||(L='<span class="cff-angry cff-reaction-two cff-icon">'+O+"</span>"),Q+=L),f.find(".cff-meta .cff-likes").find(".cff-icon").length<2&&f.find(".cff-meta .cff-likes .cff-icon").after(Q),0==parseInt(i)&&(0<parseInt(w)||0<parseInt(y)||0<parseInt(x)||0<parseInt(C)||0<parseInt(R))&&(f.find(".cff-meta .cff-likes .cff-like").remove(),f.find(".cff-meta .cff-likes span").addClass("cff-no-animate")),S=parseInt(i)+parseInt(w)+parseInt(y)+parseInt(x)+parseInt(C)+parseInt(R),L=0==w&&0==y&&0==x&&0==C&&0==R?!0:!1,Q='<span class="cff-reactions-count">',0<parseInt(i)&&(Q+='<span class="cff-like cff-icon"><svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M496.656 285.683C506.583 272.809 512 256 512 235.468c-.001-37.674-32.073-72.571-72.727-72.571h-70.15c8.72-17.368 20.695-38.911 20.695-69.817C389.819 34.672 366.518 0 306.91 0c-29.995 0-41.126 37.918-46.829 67.228-3.407 17.511-6.626 34.052-16.525 43.951C219.986 134.75 184 192 162.382 203.625c-2.189.922-4.986 1.648-8.032 2.223C148.577 197.484 138.931 192 128 192H32c-17.673 0-32 14.327-32 32v256c0 17.673 14.327 32 32 32h96c17.673 0 32-14.327 32-32v-8.74c32.495 0 100.687 40.747 177.455 40.726 5.505.003 37.65.03 41.013 0 59.282.014 92.255-35.887 90.335-89.793 15.127-17.727 22.539-43.337 18.225-67.105 12.456-19.526 15.126-47.07 9.628-69.405zM32 480V224h96v256H32zm424.017-203.648C472 288 472 336 450.41 347.017c13.522 22.76 1.352 53.216-15.015 61.996 8.293 52.54-18.961 70.606-57.212 70.974-3.312.03-37.247 0-40.727 0-72.929 0-134.742-40.727-177.455-40.727V235.625c37.708 0 72.305-67.939 106.183-101.818 30.545-30.545 20.363-81.454 40.727-101.817 50.909 0 50.909 35.517 50.909 61.091 0 42.189-30.545 61.09-30.545 101.817h111.999c22.73 0 40.627 20.364 40.727 40.727.099 20.363-8.001 36.375-23.984 40.727zM104 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"></path></svg><svg class="cff-svg-bg" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"></path></svg></span>',L||(0<parseInt(i)&&(Q+='<span class="cff-like-count">'+i+"</span>"),0<w&&(Q+='<span class="cff-reaction-wrap"><span class="cff-love cff-icon">'+j+'</span><span class="cff-love-count">'+w+"</span></span>"),0<y&&(Q+='<span class="cff-reaction-wrap"><span class="cff-haha cff-icon">'+T+'</span><span class="cff-haha-count">'+y+"</span></span>"),0<x&&(Q+='<span class="cff-reaction-wrap"><span class="cff-wow cff-icon">'+F+'</span><span class="cff-wow-count">'+x+"</span></span>"),0<C&&(Q+='<span class="cff-reaction-wrap"><span class="cff-sad cff-icon">'+D+'</span><span class="cff-sad-count">'+C+"</span></span>"),0<R&&(Q+='<span class="cff-reaction-wrap"><span class="cff-angry cff-icon">'+O+'</span><span class="cff-angry-count">'+R+"</span></span>"))),Q+="</span>",void 0!==t.likes&&(t.likes.data.length?(e+='<span class="cff-likes-this-text">',R=O="",0<i&&void 0!==t.likes.data[0]&&(M=!1,void 0!==t.likes.data[0].link&&-1==t.likes.data[0].link.indexOf("/app_scoped_user_id/")&&(M=!0),M?O+='<a href="'+t.likes.data[0].link+'" target="_blank" rel="nofollow noopener" class="cff-liker-one-name" style="color:'+v+";":O='<span class="cff-liker-one-name" style="',L&&(O+=" margin-left: 5px"),O+='">'+t.likes.data[0].name,O+=M?"</a>":"</span>"),1<i&&void 0!==t.likes.data[1]&&(M=!1,void 0!==t.likes.data[1].link&&-1==t.likes.data[1].link.indexOf("/app_scoped_user_id/")&&(M=!0),M?R+='<a href="'+t.likes.data[1].link+'" target="_blank" rel="nofollow noopener" style="color:'+v+'">':R="<span>",R+=t.likes.data[1].name,R+=M?"</a>":"</span>"),1==i?e+=O+" "+o:2==i?e+=O+" "+r+" "+R+" "+a:3==i?e+=O+", "+R+" "+r+" 1 "+u+" "+a:(e+=O+", "+R+" "+r+" ",25==i&&(e+='<span class="cff-comment-likes-count">'),e+=parseInt(S)-2,25==i&&(e+="</span>"),e+=" "+h,parseInt(S)==parseInt(i)?e+=" "+a:e+=" "+s),e+="</span>",n.find(".cff-reactions-count").length<1&&n.append('<span class="cff-likes-info-wrap">'+Q+e+"</span>")):L?n.hide():n.find(".cff-reactions-count").length<1&&n.append('<span class="cff-likes-info-wrap">'+Q+"</span>")),void 0!==t.comments&&P.each(t.comments.data,function(t,e){var i,n=void 0===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven,a=cffEncodeHTML(e.message),a=(s=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,r=(i=a).replace(s,'<a href="$1" target="_blank" rel="nofollow noopener noreferrer">$1</a>'),i=/(^|[^\/])(www\.[\S]+(\b|$))/gim,s=/(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim,r=(r=r.replace(i,'$1<a href="http://$2" target="_blank" rel="nofollow noopener noreferrer">$2</a>')).replace(s,'<a href="mailto:$1">$1</a>')),o=!0,i=Boolean(f.find(".cff-comments-box").attr("data-cff-hide-avatars"));cff_comment_from_id=void 0!==e.from?e.from.id:(o=!(i=!0),""),c+='<div class="cff-comment" id="cff_'+e.id+'" data-id="'+cff_comment_from_id+'"',c+=' style="',c+=l<=t?"display: none;":"display: block;",void 0!==f.find("#cff_"+e.id).attr("style")&&(c+=f.find("#cff_"+e.id).attr("style")),c+='"',void 0!==e.from&&void 0!==e.from.picture&&(c+='data-avatar="'+e.from.picture.data.url+'"'),c+=">",c+='<div class="cff-comment-text-wrapper">',c+='<div class="cff-comment-text',i&&(c+=" cff-no-image"),c+='"><p>',o&&(void 0!==e.from.link?c+='<a href="'+e.from.link+'" class="cff-name" target="_blank" rel="nofollow noopener" style="color:'+v+'">'+e.from.name+"</a>":c+='<span class="cff-name">'+e.from.name+"</span>"),b&&e.hasOwnProperty("message_tags")&&P.each(e.message_tags,function(t,e){tag_name=e.name,tag_link='<a href="https://facebook.com/'+e.id+'" target="_blank" rel="nofollow noopener" style="color:'+v+'">'+e.name+"</a>",a=a.replace(tag_name,tag_link)}),c+=a+"</p>",e.hasOwnProperty("attachment")&&e.attachment.hasOwnProperty("media")&&(c+=n?'<a class="cff-comment-attachment cff-feed-image" href="https://facebook.com/'+e.id+'" target="_blank" rel="nofollow noopener"><img src="'+e.attachment.media.image.src+'" alt="':'<a class="cff-comment-attachment cff-feed-image" href="https://facebook.com/'+e.id+'" target="_blank" rel="nofollow noopener"><span class="cff-comment-image-placeholder" data-src="'+e.attachment.media.image.src+'"></span>',n?(e.attachment.hasOwnProperty("title")?c+=e.attachment.title:c+="Attachment",c+='" /></a>'):c+="</a>"),c+='<span class="cff-time">';var s=f.find("#cff_"+e.id).attr("data-cff-comment-date");void 0!==s&&(c+='<span class="cff-comment-date">'+s+"</span>"),0<e.like_count&&(c+='<span class="cff-comment-likes"><span class="cff-comment-likes-bg"><b><svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"></path></svg></b>'+e.like_count+"</span></span>"),c+="</span>";var r=parseInt(e.comment_count);0<r&&(s="",s=1==r?m:p,c+='<p class="cff-comment-replies" data-id="'+e.id+'"><a class="cff-comment-replies-a" href="javascript:void(0);" style="color:'+v+'"><span class="cff-replies-icon"></span>'+r+" "+s+'</a></p><div class="cff-comment-replies-box cff-empty"></div>'),c+="</div>",c+="</div>",!i&&o&&(c+='<div class="cff-comment-img cff-avatar-fallback">',void 0!==e.from.link&&(c+='<a href="https://facebook.com/'+e.from.link+'" target="_blank" rel="noopener">'),c+=d&&t<l?n?'<img src="'+e.from.picture.data.url+'" class="cff-feed-image" width=32 height=32 alt="'+e.from.name+'" onerror="this.style.display=\'none\'">':'<span class="cff-comment-avatar-placeholder" data-src="'+e.from.picture.data.url+'">':'<span class="cff-comment-avatar"></span>',void 0!==e.from.link&&(c+="</a>"),c+="</div>"),c+="</div>"}),f.find(".cff-comments-wrap .cff-comment").remove(),f.find(".cff-comments-wrap").prepend(c),f.find(".cff-show-more-comments").attr("data-cff-comments-total",g),0<f.find(".cff-comment-likes span").length&&f.find(".cff-comment-on-facebook").css({"border-top-left-radius":"0","border-top-right-radius":"0"}),0<f.find(".cff-comments-wrap .cff-comment").length&&f.find(".cff-comment-on-facebook").css({"border-bottom-left-radius":"0","border-bottom-right-radius":"0"}),f.find(".cff-comments-wrap .cff-comment").length<1&&f.find(".cff-comment-on-facebook").css("padding","8px 15px 8px 10px"),setTimeout(function(){f.closest(".cff").hasClass("cff-masonry-js")&&!f.closest(".cff").hasClass("cff-masonry-css")&&cffAddMasonry(f.closest(".cff"))},200))}function l(){var n=jQuery;n(".cff-lightbox-link").each(function(){var t=n(this);lborigSrc=t.closest(".cff-album-item").attr("data-cff-full-size")?t.attr("data-cff-full-size"):t.parent().find("img").attr("data-orig-source"),t.attr("href",lborigSrc)}),n("img[data-orig-source]").each(function(){var t=n(this),e=t.attr("src"),i=t.attr("data-orig-source");i!=e&&t.attr("src",i),t.hasClass("cff-multi-image")&&t.css("background-image","url("+i+")")}),n(".cff-link-slider").each(function(){n(this).find(".cff-link-slider-slides").css("width","2500px")})}P(document).off("click","#cff .cff-html5-video .cff-html5-play").on("click","#cff .cff-html5-video .cff-html5-play",function(t){t.preventDefault();var e=P(this),i=e.closest(".cff-html5-video"),t=e.siblings("video")[0];t.play(),e.hide(),e.siblings(".cff-poster").hide(),t.hasAttribute("controls")?t.removeAttribute("controls"):t.setAttribute("controls","controls"),i.innerWidth()<150&&!i.hasClass("cff-no-video-expand")&&i.css("width","100%").closest(".cff-item").find(".cff-text-wrapper").css("width","100%")}),void 0===window.cff||void 0===window.cff.feeds?v.find(".cff_resized_image_data").length||l():void 0!==window.cff.feeds[0]&&(window.cff.feeds[0].settings.resizingEnabled||l()),setTimeout(function(){v.find(".cff-link-slider").each(function(){var e=P(this),i=e.find(".cff-link-slider-slides"),t=i.find(".cff-link-slider-item"),n=t.length,a=e.width(),o=0;function s(t){"prev"==t?o--:o++,i.css("left",-o*a),o==n-1?e.find("a.cff-slider-next").hide():e.find("a.cff-slider-next").show(),0<o?e.find("a.cff-slider-prev").show():e.find("a.cff-slider-prev").hide()}i.css({width:a*n}),t.css({width:a}),e.find("a.cff-slider-prev, a.cff-slider-next").on("click",function(t){t.preventDefault(),P(this).hasClass("cff-slider-prev")?s("prev"):s("next")}),setTimeout(function(){var t=i.find(".cff-link-slider-item").first().height();i.find(".cff-final-item").css("height",t).find("img").css("margin-top",t/2-100)},1500),i.find(".cff-link-slider-item").show()})},200)});var r,t,e,i,f=f||{VER:"0.9.944"};f.bgs_Available=!1,f.bgs_CheckRunned=!1,jQuery(".cff").each(function(){jQuery(this).hasClass("cff-disable-liquid")||jQuery(this).find(".cff-new .cff-album-cover img").css("visibility","hidden")}),v.find(".cff-new .cff-crop img").css("visibility","hidden"),jQuery("#cff .cff-img-attachments .cff-crop img").css("opacity",0),(r=jQuery).fn.extend({imgLiquid:function(t){var e,i;this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!1,useDataHtmlAttr:!0,responsive:!0,delay:!1,fadeInTime:!1,removeBoxBackground:!1,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:function(t,e,i){i.addClass("cffFadeIn")},onItemError:null},f.bgs_CheckRunned||(f.bgs_CheckRunned=!0,e=r('<span style="background-size:cover" />'),r("body").append(e),(i=e[0])&&window.getComputedStyle&&((i=window.getComputedStyle(i,null))&&i.backgroundSize&&(f.bgs_Available="cover"===i.backgroundSize)),e.remove());var s=this;return this.options=t,this.settings=r.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(c){var l=s.settings,d=r(this),u=r("img:first",d);function n(){(l.responsive||u.data("imgLiquid_oldProcessed"))&&u.data("imgLiquid_settings")&&(l=u.data("imgLiquid_settings"),d.actualSize=d.get(0).offsetWidth+d.get(0).offsetHeight/1e4,d.sizeOld&&d.actualSize!==d.sizeOld&&o(),d.sizeOld=d.actualSize,setTimeout(n,l.responsiveCheckTime))}function a(){u.data("imgLiquid_error",!0),d.addClass("imgLiquid_error"),l.onItemError&&l.onItemError(c,d,u),h()}function o(){var t,e,i,n,a,o=0,s=0,r=d.width(),f=d.height();void 0===u.data("owidth")&&u.data("owidth",u[0].width),void 0===u.data("oheight")&&u.data("oheight",u[0].height),n=l.fill===r/f>=u.data("owidth")/u.data("oheight")?(t="100%",e="auto",i=Math.floor(r),Math.floor(r*(u.data("oheight")/u.data("owidth")))):(t="auto",e="100%",i=Math.floor(f*(u.data("owidth")/u.data("oheight"))),Math.floor(f)),a=r-i,"left"===(r=l.horizontalAlign.toLowerCase())&&(s=0),"center"===r&&(s=.5*a),"right"===r&&(s=a),-1!==r.indexOf("%")&&0<(r=parseInt(r.replace("%",""),10))&&(s=a*r*.01),r=f-n,"left"===(f=l.verticalAlign.toLowerCase())&&(o=0),"center"===f&&(o=.5*r),"bottom"===f&&(o=r),-1!==f.indexOf("%")&&0<(f=parseInt(f.replace("%",""),10))&&(o=r*f*.01),l.hardPixels&&(t=i,e=n),u.css({width:t,height:e,"margin-left":Math.floor(s),"margin-top":Math.floor(o)}),u.data("imgLiquid_oldProcessed")||(u.fadeTo(l.fadeInTime,1),u.data("imgLiquid_oldProcessed",!0),o=u.attr("src"),d.css({"background-image":"url("+o+")"}),d.addClass("imgLiquid_nobgSize"),d.addClass("imgLiquid_ready")),l.onItemFinish&&l.onItemFinish(c,d,u),h()}function h(){c===s.length-1&&s.settings.onFinish&&s.settings.onFinish()}u.length?(l=u.data("imgLiquid_settings")?(d.removeClass("imgLiquid_error").removeClass("imgLiquid_ready"),r.extend({},u.data("imgLiquid_settings"),s.options)):r.extend({},s.settings,function(){var t={};{var e,i,n;s.settings.useDataHtmlAttr&&(e=d.attr("data-imgLiquid-fill"),i=d.attr("data-imgLiquid-horizontalAlign"),n=d.attr("data-imgLiquid-verticalAlign"),"true"!==e&&"false"!==e||(t.fill=Boolean("true"===e)),void 0===i||"left"!==i&&"center"!==i&&"right"!==i&&-1===i.indexOf("%")||(t.horizontalAlign=i),void 0===n||"top"!==n&&"bottom"!==n&&"center"!==n&&-1===n.indexOf("%")||(t.verticalAlign=n))}f.isIE&&s.settings.ieFadeInDisabled&&(t.fadeInTime=0);return t}()),u.data("imgLiquid_settings",l),l.onItemStart&&l.onItemStart(c,d,u),f.bgs_Available&&l.useBackgroundSize?(-1===d.css("background-image").indexOf(encodeURI(u.attr("src")))&&d.css({"background-image":'url("'+encodeURI(u.attr("src"))+'")'}),d.css({"background-size":l.fill?"cover":"contain","background-position":(l.horizontalAlign+" "+l.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),r("a:first",d).css({display:"block",width:"100%",height:"100%"}),r("img",d).css({display:"none"}),l.onItemFinish&&l.onItemFinish(c,d,u),d.addClass("imgLiquid_bgSize"),d.addClass("imgLiquid_ready"),h()):function t(){if(u.data("oldSrc")&&u.data("oldSrc")!==u.attr("src")){var e=u.clone().removeAttr("style");return e.data("imgLiquid_settings",u.data("imgLiquid_settings")),u.parent().prepend(e),u.remove(),(u=e)[0].width=0,void setTimeout(t,10)}if(u.data("imgLiquid_oldProcessed"))return void o();u.data("imgLiquid_oldProcessed",!1);u.data("oldSrc",u.attr("src"));r("img:not(:first)",d).css("display","none");d.css({overflow:"hidden"});u.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"});u.on("error",a);u[0].onerror=a;function i(){u.data("imgLiquid_error")||u.data("imgLiquid_loaded")||u.data("imgLiquid_oldProcessed")||(d.is(":visible")&&u[0].complete&&0<u[0].width&&0<u[0].height?(u.data("imgLiquid_loaded",!0),setTimeout(o,c*l.delay)):setTimeout(i,l.timecheckvisibility))}i();n()}()):a()})}}),void 0!==window.cff&&void 0!==window.cff.feeds||(window.cff=new Cff,window.cff.createPage(window.cff.createFeeds,{})),jQuery(document).ready(function(){var e=!0;jQuery(".cff").each(function(t){void 0!==window.cff&&void 0!==window.cff.feeds&&void 0===window.cff.feeds[t]&&(e=!1)}),e||window.cff.createPage(window.cff.createFeeds,{});var i=jQuery;i("#cookie-notice a").on("click",function(){setTimeout(function(){i.each(window.cff.feeds,function(t){window.cff.feeds[t].afterConsentToggled()})},1e3)}),i("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){i.each(window.cff.feeds,function(t){window.cff.feeds[t].afterConsentToggled()})},1e3)}),i(".cli-user-preference-checkbox, .cky-notice button").on("click",function(){setTimeout(function(){i.each(window.cff.feeds,function(t){window.cff.feeds[t].checkConsent(),window.cff.feeds[t].afterConsentToggled()})},1e3)}),i(window).on("CookiebotOnAccept",function(t){i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!0,window.cff.feeds[t].afterConsentToggled()})}),i(".cmplz-btn").on("click",function(){"function"==typeof cmplz_accepted_categories&&setTimeout(function(){-1<cmplz_accepted_categories().indexOf("marketing")&&i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!0,window.cff.feeds[t].afterConsentToggled()})},1e3)}),i(document).on("cmplzEnableScripts",function(t){"marketing"===t.detail&&i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!0,window.cff.feeds[t].afterConsentToggled()})}),i(document).on("cmplzFireCategories",function(t){"marketing"===t.detail.category&&i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!0,window.cff.feeds[t].afterConsentToggled()})}),i(document).on("cmplzRevoke",function(t){i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!1,window.cff.feeds[t].afterConsentToggled()})}),jQuery(".cmplz-btn.cmplz-accept").on("click",function(t){setTimeout(function(){jQuery.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven="allow"===cffCmplzGetCookie("cmplz_marketing"),window.cff.feeds[t].afterConsentToggled()})},500)}),i(document).on("borlabs-cookie-consent-saved",function(t){i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!1,window.cff.feeds[t].afterConsentToggled()})}),void 0!==window.consentApi&&window.consentApi.consent("custom-facebook-feed").then(()=>{try{setTimeout(function(){i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!0,window.cff.feeds[t].afterConsentToggled()})},1e3)}catch(t){}}),i(".moove-gdpr-infobar-allow-all").on("click",function(){setTimeout(function(){i.each(window.cff.feeds,function(t){window.cff.feeds[t].settings.consentGiven=!0,window.cff.feeds[t].afterConsentToggled()})},1e3)}),i("#cff-frce-hide-license-error").on("click",function(){i("#cff-fr-ce-license-error").slideUp(),jQuery.ajax({url:cffajaxurl,type:"post",data:{action:"cff_hide_frontend_license_error",nonce:cffOptions.nonce},success:function(t){console.log(t)}})})}),window.addEventListener("wpconsent_consent_saved",function(t){setTimeout(function(){$.each(window.cff.feeds,function(t){window.cff.feeds[t].afterConsentToggled()})},1e3)}),window.addEventListener("wpconsent_consent_updated",function(t){setTimeout(function(){$.each(window.cff.feeds,function(t){window.cff.feeds[t].afterConsentToggled()})},1e3)}),setTimeout(function(){jQuery("#cff .embed-responsive video, #cff .embed-responsive iframe").unwrap()},500),t=f.injectCss,e=document.getElementsByTagName("head")[0],(i=document.createElement("style")).type="text/css",i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t)),e.appendChild(i),jQuery(".cff").each(function(){jQuery(this).hasClass("cff-disable-liquid")||jQuery(this).find(".cff-new .cff-album-cover").imgLiquid({fill:!0})}),jQuery(".cff-new .cff-crop").imgLiquid({fill:!0,useBackgroundSize:!0}),jQuery(".cff-header-hero").imgLiquid({fill:!0})})(),window.cffLinkify=function(){var t="[a-z\\d.-]+://",h="mailto:",m=new RegExp("(?:\\b[a-z\\d.-]+://[^<>\\s]+|\\b(?:(?:(?:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)|(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]))(?:[;/][^#?<>\\s]*)?(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?(?!\\w)|(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:(?:(?:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)|(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]))(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?(?!\\w))","ig"),p=new RegExp("^"+t,"i"),g={"'":"`",">":"<",")":"(","]":"[","}":"{","B;":"B+","b:":"b9"},v={callback:function(t,e){return e?'<a href="'+e+'" title="'+e+'" target="_blank" rel="nofollow noopener noreferrer">'+t+"</a>":t},punct_regexp:/(?:[!?.,:;'"]|(?:&|&amp;)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)$/};return function(t,e){e=e||{};var i,n,a,o,s,r,f,c,l,d="",u=[];for(i in v)void 0===e[i]&&(e[i]=v[i]);for(;a=m.exec(t);)if(n=a[0],r=(s=m.lastIndex)-n.length,!/[\/:]/.test(t.charAt(r-1))){for(;l=(f=n).substr(-1),(c=g[l])&&(c=n.match(new RegExp("\\"+c+"(?!$)","g")),l=n.match(new RegExp("\\"+l,"g")),(c?c.length:0)<(l?l.length:0)&&(n=n.substr(0,n.length-1),s--)),e.punct_regexp&&(n=n.replace(e.punct_regexp,function(t){return s-=t.length,""})),n.length&&n!==f;);a=n,p.test(a)||(a=(-1!==a.indexOf("@")?a.indexOf(h)?h:"":a.indexOf("irc.")?a.indexOf("ftp.")?"http://":"ftp://":"irc://")+a),o!=r&&(u.push([t.slice(o,r)]),o=s),u.push([n,a])}for(u.push([t.substr(o)]),i=0;i<u.length;i++)d+=e.callback.apply(window,u[i]);return d||t}}(),hashRegex=/[#]+[A-Za-z0-9-_]+/g,tagRegex=/[@]+[A-Za-z0-9-_]+/g,jQuery("#cff.cff-lb").length&&cffLightbox(),jQuery.fn.isInViewport=function(){var t=jQuery(this).offset().top,e=t+jQuery(this).outerHeight(),i=jQuery(window).scrollTop(),n=i+jQuery(window).height();return i<e&&t<n});
(()=>{"use strict";var e,r,_,t,a,n={},i={};function __webpack_require__(e){var r=i[e];if(void 0!==r)return r.exports;var _=i[e]={id:e,loaded:!1,exports:{}};return n[e].call(_.exports,_,_.exports,__webpack_require__),_.loaded=!0,_.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var n=1/0;for(b=0;b<e.length;b++){for(var[_,t,a]=e[b],i=!0,c=0;c<_.length;c++)(!1&a||n>=a)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](_[c]))?_.splice(c--,1):(i=!1,a<n&&(n=a));if(i){e.splice(b--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var b=e.length;b>0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var n={};r=r||[null,_({}),_([]),_(_)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~r.indexOf(i);i=_(i))Object.getOwnPropertyNames(i).forEach(r=>n[r]=()=>e[r]);return n.default=()=>e,__webpack_require__.d(a,n),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,_)=>(__webpack_require__.f[_](e,r),r),[])),__webpack_require__.u=e=>786===e?"397f2d183c19202777d6.bundle.min.js":216===e?"lightbox.570c05c5a283cfb6b223.bundle.min.js":30===e?"text-path.a67c1f3a78d208bc7e1b.bundle.min.js":131===e?"accordion.8b0db5058afeb74622f5.bundle.min.js":707===e?"alert.b4336601ffdb6086d1b5.bundle.min.js":457===e?"counter.12335f45aaa79d244f24.bundle.min.js":234===e?"progress.0ea083b809812c0e3aa1.bundle.min.js":575===e?"tabs.18344b05d8d1ea0702bc.bundle.min.js":775===e?"toggle.2a177a3ef4785d3dfbc5.bundle.min.js":180===e?"video.86d44e46e43d0807e708.bundle.min.js":177===e?"image-carousel.6167d20b95b33386757b.bundle.min.js":212===e?"text-editor.45609661e409413f1cef.bundle.min.js":211===e?"wp-audio.c9624cb6e5dc9de86abd.bundle.min.js":215===e?"nested-tabs.a2401356d329f179475e.bundle.min.js":915===e?"nested-accordion.294d40984397351fd0f5.bundle.min.js":1===e?"contact-buttons.e98d0220ce8c38404e7e.bundle.min.js":336===e?"floating-bars.740d06d17cea5cebdb61.bundle.min.js":557===e?"shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js":396===e?"shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js":768===e?"container-editor-handlers.a2e8e48d28c5544fb183.bundle.min.js":77===e?"section-frontend-handlers.d85ab872da118940910d.bundle.min.js":220===e?"section-editor-handlers.53ffedef32043348b99b.bundle.min.js":304===e?"nested-title-keyboard-handler.2a67d3cc630e11815acc.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementorFrontend:",__webpack_require__.l=(e,r,_,n)=>{if(t[e])t[e].push(r);else{var i,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),b=0;b<o.length;b++){var d=o[b];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==a+_){i=d;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",a+_),i.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{i.onerror=i.onload=null,clearTimeout(u);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(_)),r)return r(_)},u=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),c&&document.head.appendChild(i)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={76:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(76!=r){var a=new Promise((_,a)=>t=e[r]=[_,a]);_.push(t[2]=a);var n=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(n,_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),n=_&&_.target&&_.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",i.name="ChunkLoadError",i.type=a,i.request=n,t[1](i)}},"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[n,i,c]=_,o=0;if(n.some(r=>0!==e[r])){for(t in i)__webpack_require__.o(i,t)&&(__webpack_require__.m[t]=i[t]);if(c)var b=c(__webpack_require__)}for(r&&r(_);o<n.length;o++)a=n[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(b)},r=self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[]).push([[941],{1:(e,t,r)=>{"use strict";var n=r(5578),i=r(7255),s=r(5755),o=r(1866),a=r(6029),c=r(5022),l=n.Symbol,u=i("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(l,e)?l[e]:p("Symbol."+e)),u[e]}},41:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},169:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1483),o=r(5755),a=r(382),c=r(2048).CONFIGURABLE,l=r(7268),u=r(4483),p=u.enforce,d=u.get,h=String,f=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),y=a&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=p(e);return o(n,"source")||(n.source=v(w,"string"==typeof t?t:"")),e};Function.prototype.toString=b(function toString(){return s(this)&&d(this).source||l(this)},"toString")},274:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},348:(e,t,r)=>{"use strict";var n=r(1807),i=r(1483),s=r(1704),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a;if(i(r=e.valueOf)&&!s(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},382:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},641:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(9655);const Module=function(){const e=jQuery,t=arguments,r=this,n={};let i;this.getItems=function(e,t){if(t){const r=t.split("."),n=r.splice(0,1);if(!r.length)return e[n];if(!e[n])return;return this.getItems(e[n],r.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,n,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),r;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),r.setSettings(o.join("."),n,s[a])):(s[a]=n,r)},this.getErrorMessage=function(e,t){let r;if("forceMethodImplementation"===e)r=`The method '${t}' must to be implemented in the inheritor child.`;else r="An error occurs";return r},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,function(e){r.on(e,this)}),r;return t.split(" ").forEach(function(e){n[e]||(n[e]=[]),n[e].push(i)}),r},this.off=function(e,t){if(!n[e])return r;if(!t)return delete n[e],r;const i=n[e].indexOf(t);return-1!==i&&(delete n[e][i],n[e]=n[e].filter(e=>e)),r},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);r[i]&&r[i].apply(r,s);const o=n[t];return o?(e.each(o,function(e,t){t.apply(r,s)}),r):r},r.__construct.apply(r,t),e.each(r,function(e){const t=r[e];"function"==typeof t&&(r[e]=function(){return t.apply(r,arguments)})}),function(){i=r.getDefaultSettings();const n=t[0];n&&e.extend(!0,i,n)}(),r.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,r=this,child=function(){return r.apply(this,arguments)};return t.extend(child,r),(child.prototype=Object.create(t.extend({},r.prototype,e))).constructor=child,child.__super__=r.prototype,child},e.exports=Module},670:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=function(e,t,r){n?i.f(e,t,s(0,r)):e[t]=r}},751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724),r(4846),r(9655);class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach(e=>this instanceof e)}}t.default=InstanceType},1091:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},1265:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641)),s=n(r(2425)),o=n(r(2946)),a=n(r(3980)),c=n(r(2970)),l=n(r(8685)),u=r(9031),p=r(1462);const d={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:l.default,utils:{Masonry:a.default,Scroll:c.default},importExport:{createGetInitialState:u.createGetInitialState,customizationDialogsRegistry:p.customizationDialogsRegistry}};window.elementorModules?Object.assign(window.elementorModules,d):window.elementorModules=d;t.default=window.elementorModules},1278:(e,t,r)=>{"use strict";var n=r(4762),i=n({}.toString),s=n("".slice);e.exports=function(e){return s(i(e),8,-1)}},1409:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1423:(e,t,r)=>{"use strict";var n=r(1409),i=r(1483),s=r(4815),o=r(5022),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,a(e))}},1462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customizationDialogsRegistry=void 0;var n=r(7958);t.customizationDialogsRegistry=new n.BaseRegistry},1483:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},1506:(e,t,r)=>{"use strict";var n=r(2914),i=r(1807),s=r(2293),o=r(8761),a=r(5299),c=r(6960),l=r(4815),u=r(4887),p=r(6665),d=r(6721),h=TypeError,Result=function(e,t){this.stopped=e,this.result=t},f=Result.prototype;e.exports=function(e,t,r){var g,m,v,y,w,b,S,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),I=!(!r||!r.IS_RECORD),_=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),O=n(t,x),stop=function(e){return g&&d(g,"normal"),new Result(!0,e)},callFn=function(e){return E?(s(e),C?O(e[0],e[1],stop):O(e[0],e[1])):C?O(e,stop):O(e)};if(I)g=e.iterator;else if(_)g=e;else{if(!(m=p(e)))throw new h(o(e)+" is not iterable");if(a(m)){for(v=0,y=c(e);y>v;v++)if((w=callFn(e[v]))&&l(f,w))return w;return new Result(!1)}g=u(e,m)}for(b=I?e.next:g.next;!(S=i(b,g)).done;){try{w=callFn(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(f,w))return w}return new Result(!1)}},1507:e=>{"use strict";e.exports={}},1703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?r:t)(n)}},1704:(e,t,r)=>{"use strict";var n=r(1483);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},1799:(e,t,r)=>{"use strict";var n=r(382),i=r(8473),s=r(3145);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},1807:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},1831:(e,t,r)=>{"use strict";var n=r(9557),i=r(5578),s=r(2095),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1851:(e,t,r)=>{"use strict";var n,i,s,o=r(8473),a=r(1483),c=r(1704),l=r(5290),u=r(3181),p=r(7914),d=r(1),h=r(9557),f=d("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):g=!0),!c(n)||o(function(){var e={};return n[f].call(e)!==e})?n={}:h&&(n=l(n)),a(n[f])||p(n,f,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},1866:(e,t,r)=>{"use strict";var n=r(4762),i=0,s=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},1975:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(9557),p=r(6721),d=r(7486),h=r(5267),f=!u&&!d("filter",function(){}),g=!u&&!f&&h("filter",TypeError),m=u||f||g,v=c(function(){for(var e,t,r=this.iterator,n=this.predicate,s=this.next;;){if(e=o(i(s,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function filter(e){o(this);try{s(e)}catch(e){p(this,"throw",e)}return g?i(g,this,e):new v(a(this),{predicate:e})}})},1983:(e,t,r)=>{"use strict";var n=r(6721);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},2048:(e,t,r)=>{"use strict";var n=r(382),i=r(5755),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),c=a&&"something"===function something(){}.name,l=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2095:(e,t,r)=>{"use strict";var n=r(5578),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},2121:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1278),o=Object,a=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?a(e,""):o(e)}:o},2278:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,i)}},2293:(e,t,r)=>{"use strict";var n=r(1704),i=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not an object")}},2313:(e,t,r)=>{"use strict";var n=r(7914);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},2347:(e,t,r)=>{"use strict";var n=r(3312),i=Object;e.exports=function(e){return i(n(e))}},2355:(e,t,r)=>{"use strict";var n=r(1807),i=r(1704),s=r(1423),o=r(2564),a=r(348),c=r(1),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||s(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2425:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641));t.default=i.default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}})},2564:(e,t,r)=>{"use strict";var n=r(8120),i=r(5983);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},2811:(e,t,r)=>{"use strict";var n=r(1409);e.exports=n("document","documentElement")},2890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),r=>{t[r]=e.attributes[r]})}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each((e,t)=>setTimeout(()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))}):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},2914:(e,t,r)=>{"use strict";var n=r(3786),i=r(8120),s=r(274),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},2946:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(751)),s=n(r(5213));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t,r=this.args){if(this.requireArgument(e,r),typeof r[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,r=this.args){if(this.requireArgument(e,r),!(r[e]instanceof t||(0,s.default)(r[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,r=this.args){if(this.requireArgument(e,r),r[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},2970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);t.default=class Scroll{static scrollObserver(e){let t=0;const r={root:e.root||null,rootMargin:e.offset||"0px",threshold:((e=0)=>{const t=[];if(e>0&&e<=100){const r=100/e;for(let e=0;e<=100;e+=r)t.push(e/100)}else t.push(0);return t})(e.sensitivity)};return new IntersectionObserver(function handleIntersect(r){const n=r[0].boundingClientRect.y,i=r[0].isIntersecting,s=n<t?"down":"up",o=Math.abs(parseFloat((100*r[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:s}),t=n},r)}static getElementViewportPercentage(e,t={}){const r=e[0].getBoundingClientRect(),n=t.start||0,i=t.end||0,s=window.innerHeight*n/100,o=window.innerHeight*i/100,a=r.top-window.innerHeight,c=0-a+s,l=r.top+s+e.height()-a+o,u=Math.max(0,Math.min(c/l,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(e={},t){const r=e.start||0,n=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*r/100,o=i+s+i*n/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},3005:(e,t,r)=>{"use strict";var n=r(1703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3145:(e,t,r)=>{"use strict";var n=r(5578),i=r(1704),s=n.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},3181:(e,t,r)=>{"use strict";var n=r(5755),i=r(1483),s=r(2347),o=r(5409),a=r(9441),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=s(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},3242:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{find:function find(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return s(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3312:(e,t,r)=>{"use strict";var n=r(5983),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},3392:(e,t,r)=>{"use strict";var n=r(3005),i=Math.max,s=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):s(r,t)}},3617:(e,t,r)=>{"use strict";var n=r(8612),i=r(5578),s=r(6021),o=r(2293),a=r(1483),c=r(3181),l=r(3864),u=r(670),p=r(8473),d=r(5755),h=r(1),f=r(1851).IteratorPrototype,g=r(382),m=r(9557),v="constructor",y="Iterator",w=h("toStringTag"),b=TypeError,S=i[y],x=m||!a(S)||S.prototype!==f||!p(function(){S({})}),E=function Iterator(){if(s(this,f),c(this)===f)throw new b("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){g?l(f,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===f)throw new b("You can't redefine this property");d(this,e)?this[e]=t:u(this,e,t)}}):f[e]=t};d(f,w)||defineIteratorPrototypeAccessor(w,y),!x&&d(f,v)&&f[v]!==Object||defineIteratorPrototypeAccessor(v,E),E.prototype=f,n({global:!0,constructor:!0,forced:x},{Iterator:E})},3658:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741);e.exports=Object.keys||function keys(e){return n(e,i)}},3786:(e,t,r)=>{"use strict";var n=r(1278),i=r(4762);e.exports=function(e){if("Function"===n(e))return i(e)}},3815:(e,t,r)=>{"use strict";var n=r(2355),i=r(1423);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3864:(e,t,r)=>{"use strict";var n=r(169),i=r(5835);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},3896:(e,t,r)=>{"use strict";var n=r(382),i=r(8473);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},3980:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);var i=n(r(2425));t.default=i.default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,r=this.getSettings(),n=r.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(i){var s=Math.floor(i/n),o=jQuery(this),a=o[0].getBoundingClientRect().height+r.verticalSpaceBetween;if(s){var c=o.position(),l=i%n,u=c.top-t-e[l];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[l]+=a}else e.push(a)})}})},3991:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(6721),p=r(7486),d=r(5267),h=r(9557),f=!h&&!p("map",function(){}),g=!h&&!f&&d("map",TypeError),m=h||f||g,v=c(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function map(e){o(this);try{s(e)}catch(e){u(this,"throw",e)}return g?i(g,this,e):new v(a(this),{mapper:e})}})},4338:(e,t,r)=>{"use strict";var n={};n[r(1)("toStringTag")]="z",e.exports="[object z]"===String(n)},4347:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},4364:(e,t,r)=>{"use strict";r(3991)},4483:(e,t,r)=>{"use strict";var n,i,s,o=r(4644),a=r(5578),c=r(1704),l=r(9037),u=r(5755),p=r(1831),d=r(5409),h=r(1507),f="Object already initialized",g=a.TypeError,m=a.WeakMap;if(o||p.state){var v=p.state||(p.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new g(f);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=d("state");h[y]=!0,n=function(e,t){if(u(e,y))throw new g(f);return t.facade=e,l(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}e.exports={set:n,get:i,has:s,enforce:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},4644:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483),s=n.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},4741:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4762:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype,s=i.call,o=n&&i.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},4815:(e,t,r)=>{"use strict";var n=r(4762);e.exports=n({}.isPrototypeOf)},4846:(e,t,r)=>{"use strict";r(3617)},4887:(e,t,r)=>{"use strict";var n=r(1807),i=r(8120),s=r(2293),o=r(8761),a=r(6665),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return s(n(r,e));throw new c(o(e)+" is not iterable")}},4914:(e,t,r)=>{"use strict";var n=r(1278);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},4946:(e,t,r)=>{"use strict";var n=r(6784),i=n(r(1265)),s=n(r(2890)),o=n(r(7955)),a=n(r(8140)),c=n(r(7224)),l=n(r(5633)),u=n(r(9603));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:c.default,StretchedElement:a.default,SwiperBase:l.default,CarouselBase:u.default}}},4961:(e,t,r)=>{"use strict";var n=r(382),i=r(1807),s=r(7611),o=r(7738),a=r(5599),c=r(3815),l=r(5755),u=r(1799),p=Object.getOwnPropertyDescriptor;t.f=n?p:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!i(s.f,e,t),e[t])}},5022:(e,t,r)=>{"use strict";var n=r(6029);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const r of t)if(e.constructor.name===r.prototype[Symbol.toStringTag])return!0;return!1}},5247:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5267:(e,t,r)=>{"use strict";var n=r(5578);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,s=i&&i[e],o=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return s}},5290:(e,t,r)=>{"use strict";var n,i=r(2293),s=r(5799),o=r(4741),a=r(1507),c=r(2811),l=r(3145),u=r(5409),p="prototype",d="script",h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F):NullProtoObjectViaActiveX(n);for(var i=o.length;i--;)delete NullProtoObject[p][o[i]];return NullProtoObject()};a[h]=!0,e.exports=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor[p]=i(e),r=new EmptyConstructor,EmptyConstructor[p]=null,r[h]=e):r=NullProtoObject(),void 0===t?r:s.f(r,t)}},5299:(e,t,r)=>{"use strict";var n=r(1),i=r(6775),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},5409:(e,t,r)=>{"use strict";var n=r(7255),i=r(1866),s=n("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},5578:function(e,t,r){"use strict";var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof r.g&&r.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5599:(e,t,r)=>{"use strict";var n=r(2121),i=r(3312);e.exports=function(e){return n(i(e))}},5633:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7224));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},5724:(e,t,r)=>{"use strict";var n=r(8612),i=r(2347),s=r(6960),o=r(9273),a=r(1091);n({target:"Array",proto:!0,arity:1,forced:r(8473)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=i(this),r=s(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},5755:(e,t,r)=>{"use strict";var n=r(4762),i=r(2347),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},5799:(e,t,r)=>{"use strict";var n=r(382),i=r(3896),s=r(5835),o=r(2293),a=r(5599),c=r(3658);t.f=n&&!i?Object.defineProperties:function defineProperties(e,t){o(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)s.f(e,r=i[u++],n[r]);return e}},5835:(e,t,r)=>{"use strict";var n=r(382),i=r(1799),s=r(3896),o=r(2293),a=r(3815),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";t.f=n?s?function defineProperty(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:p in r?r[p]:n[p],writable:!1})}return l(e,t,r)}:l:function defineProperty(e,t,r){if(o(e),t=a(t),o(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5983:e=>{"use strict";e.exports=function(e){return null==e}},6021:(e,t,r)=>{"use strict";var n=r(4815),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},6029:(e,t,r)=>{"use strict";var n=r(6477),i=r(8473),s=r(5578).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},6145:(e,t,r)=>{"use strict";var n=r(4338),i=r(1483),s=r(1278),o=r(1)("toStringTag"),a=Object,c="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?s(t):"Object"===(n=s(t))&&i(t.callee)?"Arguments":n}},6211:(e,t,r)=>{"use strict";r(3242)},6477:(e,t,r)=>{"use strict";var n,i,s=r(5578),o=r(9461),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},6651:(e,t,r)=>{"use strict";var n=r(5599),i=r(3392),s=r(6960),createMethod=function(e){return function(t,r,o){var a=n(t),c=s(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},6665:(e,t,r)=>{"use strict";var n=r(6145),i=r(2564),s=r(5983),o=r(6775),a=r(1)("iterator");e.exports=function(e){if(!s(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},6721:(e,t,r)=>{"use strict";var n=r(1807),i=r(2293),s=r(2564);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return i(o),r}},6726:(e,t,r)=>{"use strict";var n=r(5755),i=r(9497),s=r(4961),o=r(5835);e.exports=function(e,t,r){for(var a=i(t),c=o.f,l=s.f,u=0;u<a.length;u++){var p=a[u];n(e,p)||r&&n(r,p)||c(e,p,l(t,p))}}},6742:(e,t,r)=>{"use strict";var n=r(4762),i=r(5755),s=r(5599),o=r(6651).indexOf,a=r(1507),c=n([].push);e.exports=function(e,t){var r,n=s(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},6775:e=>{"use strict";e.exports={}},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6960:(e,t,r)=>{"use strict";var n=r(8324);e.exports=function(e){return n(e.length)}},7224:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(6211),r(9655),e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter(function(){return jQuery(this).parent().closest(".elementor-element").is(t)})},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let r="change";"global"!==t&&(r+=":"+t),e.editorListeners.push({event:r,to:elementor.channels.editor,callback(t,r){e.getUniqueHandlerID(r.model.cid,r.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,r)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,r){if(r.model.cid!==e.getModelCID())return;const n=Object.keys(t.changed)[0];e.onEditSettingsChange(n,t.changed[n])}}),["page"].forEach(function(t){var r="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[r]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[r](t.changed)}})})},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)})},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)})},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const r=this.getModelCID();if(this.isEdit&&r){const e=elementorFrontend.config.elements.data[r],n=e.attributes;let i=n.widgetType||n.elType;n.isInner&&(i="inner-"+i);let s=elementorFrontend.config.elements.keys[i];s||(s=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,(e,t)=>{(t.frontend_available||t.editor_available)&&s.push(e)})),jQuery.each(e.getActiveControls(),function(e){if(-1!==s.indexOf(e)){let r=n[e];r.toJSON&&(r=r.toJSON()),t[e]=r}})}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},7255:(e,t,r)=>{"use strict";var n=r(1831);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},7268:(e,t,r)=>{"use strict";var n=r(4762),i=r(1483),s=r(1831),o=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},7458:(e,t,r)=>{"use strict";r(1975)},7486:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7611:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:r},7738:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7914:(e,t,r)=>{"use strict";var n=r(1483),i=r(5835),s=r(169),o=r(2095);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&s(r,l,a),a.global)c?e[t]=r:o(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},7955:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var r=this.elements.$element,n=t.innerWidth(),i=r.offset().left,s="fixed"===r.css("position"),o=s?0:i,a=window===t[0];if(!a){var c=t.offset().left;s&&(o=c),i>c&&(o=i-c)}if(e.considerScrollbar&&a){o-=window.innerWidth-n}s||(elementorFrontend.config.is_rtl&&(o=n-(r.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var l={};let u=n;e.margin&&(u-=2*e.margin),l.width=u+"px",l[e.direction]=o+"px","variables"!==e.cssOutput?r.css(l):this.applyCssVariables(r,l)},reset(){const e={},t=this.getSettings(),r=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",r.css(e)):this.resetCssVariables(r)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},7958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRegistry=void 0,r(4846),r(7458),r(9655),r(4364);t.BaseRegistry=class BaseRegistry{constructor(){this.sections=new Map}register(e){if(!e.key||!e.title)throw new Error("Template type must have key and title");const t=this.get(e.key)||this.formatSection(e);if(e.children)if(t.children){const r=new Map(t.children.map(e=>[e.key,e]));e.children.forEach(e=>{const t=this.formatSection(e);r.set(e.key,t)}),t.children=Array.from(r.values())}else t.children=e.children.map(e=>this.formatSection(e));this.sections.set(e.key,t)}formatSection({children:e,...t}){return{key:t.key,title:t.title,description:t.description||"",useParentDefault:!1!==t.useParentDefault,getInitialState:t.getInitialState||null,component:t.component||null,order:t.order||10,isAvailable:t.isAvailable||(()=>!0),...t}}getAll(){return Array.from(this.sections.values()).filter(e=>e.isAvailable()).map(e=>e.children?{...e,children:[...e.children].sort((e,t)=>e.order-t.order)}:e).sort((e,t)=>e.order-t.order)}get(e){return this.sections.get(e)}}},8120:(e,t,r)=>{"use strict";var n=r(1483),i=r(8761),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not a function")}},8140:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);var i=n(r(7224));class StretchedElement extends i.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(e=null){return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(...e){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...e),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},8324:(e,t,r)=>{"use strict";var n=r(3005),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},8473:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8612:(e,t,r)=>{"use strict";var n=r(5578),i=r(4961).f,s=r(9037),o=r(7914),a=r(2095),c=r(6726),l=r(8730);e.exports=function(e,t){var r,u,p,d,h,f=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(u in t){if(d=t[u],p=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(g?u:f+(m?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&s(d,"sham",!0),o(r,u,d,e)}}},8660:(e,t,r)=>{"use strict";var n=r(1807),i=r(5290),s=r(9037),o=r(2313),a=r(1),c=r(4483),l=r(2564),u=r(1851).IteratorPrototype,p=r(5247),d=r(6721),h=r(1983),f=a("toStringTag"),g="IteratorHelper",m="WrapForValidIterator",v="normal",y="throw",w=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?m:g);return o(i(u),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var s=l(i,"return");return s?n(s,i):p(void 0,!0)}if(r.inner)try{d(r.inner.iterator,v)}catch(e){return d(i,y,e)}if(r.openIters)try{h(r.openIters,v)}catch(e){return d(i,y,e)}return i&&d(i,v),p(void 0,!0)}})},b=createIteratorProxyPrototype(!0),S=createIteratorProxyPrototype(!1);s(S,f,"Iterator Helper"),e.exports=function(e,t,r){var n=function Iterator(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?m:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?b:S,n}},8685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0;class ForceMethodImplementation extends Error{constructor(e={},t={}){super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),r=t.startsWith("at new")?"constructor":t.split(" ")[1],n={};if(n.functionName=r,n.fullName=r,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n,e)}},8730:(e,t,r)=>{"use strict";var n=r(8473),i=r(1483),s=/#|\.prototype\./,isForced=function(e,t){var r=a[o(e)];return r===l||r!==c&&(i(t)?n(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},8761:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8901:(e,t,r)=>{"use strict";var n=r(2293),i=r(6721);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},9031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetInitialState=function createGetInitialState(e,t={}){return(r,n)=>{let i=n;if(r.hasOwnProperty("uploadedData")){i=!1;const t=r.uploadedData.manifest.templates,n=elementorAppConfig?.["import-export-customization"]?.exportGroups||{};for(const r in t){if(n[t[r].doc_type]===e){i=!0;break}}}return{enabled:i,...t}}}},9037:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=n?function(e,t,r){return i.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},9273:(e,t,r)=>{"use strict";var n=r(382),i=r(4914),s=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},9441:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})},9461:(e,t,r)=>{"use strict";var n=r(5578).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},9497:(e,t,r)=>{"use strict";var n=r(1409),i=r(4762),s=r(2278),o=r(4347),a=r(2293),c=i([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),r=o.f;return r?c(t,r(e)):t}},9557:e=>{"use strict";e.exports=!1},9603:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211),r(9655);var i=n(r(5633));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:".swiper",swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,r=1===t,n=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:r?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(n).reverse().forEach(t=>{const r=i[t]?i[t]:o;s.breakpoints[n[t].value]={slidesPerView:+e["slides_to_show_"+t]||r,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[n[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||r}),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),r?(s.effect=e.effect,"fade"===e.effect&&(s.fadeEffect={crossFade:!0})):s.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(s.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,c="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),c&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" role="button" tabindex="0" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"yes"===e.lazyload&&(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),s.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},s.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,s,t),s}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,r){const n=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&n&&"none"!==n)switch(n){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(...e){if(super.onInit(...e),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,r=e.originalEvent.code,n=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(r)))return!0;(t?"ArrowRight":"ArrowLeft")===r?this.swiper.slidePrev():n===r&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],r=this.swiper.params;switch(e){case"autoplay_speed":r.autoplay.delay=t;break;case"speed":r.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(e=null){const t=elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e);return Number(t)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),r=t?t[1]:"desktop",n=this.getSpaceBetween(r);"desktop"!==r&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[r].value].spaceBetween=n),this.swiper.params.spaceBetween=n,this.swiper.update()}getPaginationBullets(e="array"){const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach(e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")});const r="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&r&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(e=""){if("number"!=typeof("initialisation"===e?0:this.swiper?.activeIndex))return;const t=this.getSwiperWrapperTranformXValue(),r=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((e,n)=>{0<=n.offsetLeft+t&&r>n.offsetLeft+t?(n.removeAttribute("aria-hidden"),n.removeAttribute("inert")):(n.setAttribute("aria-hidden",!0),n.setAttribute("inert",""))})}handleElementHandlers(){}}t.default=CarouselHandlerBase},9655:(e,t,r)=>{"use strict";r(9930)},9930:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function forEach(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;s(t,function(t){e(t,r++)},{IS_RECORD:!0})}})}},e=>{var t;t=4946,e(e.s=t)}]);
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});