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 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="http://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="http://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 x(){return document.createElement("video").canPlayType}(function(){var w=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;w("body").on("click","a[data-cff-lightbox], area[data-cff-lightbox]",function(t){return e.start(w(t.currentTarget)),!1})},t.prototype.build=function(){var t="";w(".cff.cff-no-svgs").length&&(t="cff-no-svgs");var e,n=this;w("<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='"+w("#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'><a class='cff-lightbox-cancel'></a></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>"+w("#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(w("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=w("#cff-lightbox-wrapper"),this.$overlay=w("#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 n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll"),!1}),this.$lightbox.hide().on("click",function(t){return n.album.length=0,"cff-lightbox-wrapper"===w(t.target).attr("id")&&(n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll")),!1}),this.$outerContainer.on("click",function(t){return"cff-lightbox-wrapper"===w(t.target).attr("id")&&(n.album.length=0,n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src","")),!1}),this.$lightbox.find(".cff-lightbox-prev").on("click",function(){return 0===n.currentImageIndex?n.changeImage(n.album.length-1):n.changeImage(n.currentImageIndex-1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),this.$lightbox.find(".cff-lightbox-next").on("click",function(){return n.currentImageIndex===n.album.length-1?n.changeImage(0):n.changeImage(n.currentImageIndex+1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),this.$lightbox.find(".cff-lightbox-outerContainer").hammer().on("swipeleft",function(){return n.currentImageIndex===n.album.length-1?n.changeImage(0):n.changeImage(n.currentImageIndex+1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),this.$lightbox.find(".cff-lightbox-outerContainer").hammer().on("swiperight",function(){return 0===n.currentImageIndex?n.changeImage(n.album.length-1):n.changeImage(n.currentImageIndex-1),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),!1}),w(".cff-lightbox-thumbs").on("click",".cff-lightbox-attachment",function(){var t=w(this),e=t.find("img"),i=t.attr("data-caption");return""!=i&&"undefined"!=i||(i=t.attr("orig-caption")),n.changeImage(parseInt(t.attr("data-cff-lightbox-order")),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 n.album.length=0,n.end(),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll"),!1})},t.prototype.start=function(i){var r=this,t=w(window);t.on("resize",w.proxy(this.sizeOverlay,this)),w("body").length&&w("body").addClass("cff_no_scroll"),w("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;w.each(r.album,function(t,e){e.link==i.attr("href")&&e.postid==linkParentPostID&&(s=!0)}),!w(".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"),posttime:i.parent().attr("data-cff-post-time"),lbcomments:i.attr("data-lb-comments"),feedIndex:t,count:o}))}var a,o=i.attr("data-cff-lightbox");if(w(".cff-lightbox-wrapper").attr("data-page-id",i.parents(".cff-item").attr("data-page-id")),o){a=w(i.prop("tagName")+'[data-cff-lightbox="'+o+'"]');for(var s=0;s<a.length;s=++s)e(w(a[s])),a[s]===i[0]&&(n=s,w.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=w(i.prop("tagName")+'[rel="'+i.attr("rel")+'"]');for(var f=0;f<a.length;f=++f)e(w(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");this.$overlay.fadeIn(this.options.fadeDuration),w(".cff-lightbox-loader").fadeIn("slow"),this.$lightbox.find(".cff-lightbox-image, .cff-lightbox-nav, .cff-lightbox-prev, .cff-lightbox-next, .cff-lightbox-dataContainer, .cff-lightbox-numbers, .cff-lightbox-caption").hide(),this.$outerContainer.addClass("animating");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),w(".cff-lightbox-facebook").attr("href",c),w(".cff-lightbox-caption .cff-lightbox-caption-text").html(l),p.width=r,p.height=f,h=180),w(p),m.width(p.width),m.height(p.height),d.options.fitImagesInViewport&&(n=w(window).width(),i=w(window).height(),a=0,o=80,"true"==w("#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(w(window).width()).height(w(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(){this.$lightbox.find(".cff-lightbox-loader").hide(),this.$lightbox.find(".cff-lightbox-image").fadeIn("slow"),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 y={};return t.prototype.updateDetails=function(){var c=this,f="";this.$lightbox.find(".cff-lightbox-nav, .cff-lightbox-nav a").show(),x()&&(w("#cff-lightbox-wrapper").removeClass("cff-has-video"),void 0!==this.album[this.currentImageIndex].video&&"link"!==this.album[this.currentImageIndex].video&&this.album[this.currentImageIndex].video.length&&(w(".cff-lightbox-container iframe").show(),w("#cff-lightbox-wrapper").addClass("cff-has-video"),w(".cff-lightbox-container iframe").attr({src:this.album[this.currentImageIndex].video,poster:this.album[this.currentImageIndex].link,autoplay:"true"})));var t=!1;"link"===this.album[this.currentImageIndex].iframe&&(t=!0),"link"!==this.album[this.currentImageIndex].video&&!t||jQuery(".cff-lightbox-container .cff_gdpr_notice").length?"link"===this.album[this.currentImageIndex].video||t?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 a,o,e,i,n,s,t="true"==this.album[this.currentImageIndex].lbcomments&&"false"!=w("#cff_"+this.album[this.currentImageIndex].postid+" .cff-lightbox-link").attr("data-lb-comments");w(window).width()<=640&&(t=!1),t?(t=this.album[this.currentImageIndex].postid.split("_")[0],a=this.album[this.currentImageIndex].pagename,o=this.album[this.currentImageIndex].posttime,e=w(".cff-lightbox-container .cff-lightbox-sidebar"),i=w(".cff-lightbox-thumbs-holder"),v=w("#cff_"+this.album[this.currentImageIndex].postid).attr("data-cff-from"),w(".cff-lightbox-wrapper").addClass("cff-enable-lb-comments"),w(".cff-lightbox-dataContainer").css("width",w(".cff-lightbox-dataContainer").innerWidth()+300),e.css("display","block"),m="",m=(void 0===window.cff||void 0===window.cff.feeds||window.cff.feeds[0].settings.consentGiven)&&void 0!==v?(r=v!=t?w("#cff_"+this.album[this.currentImageIndex].postid).find(".cff-author-img").find(".cff-feed-image").attr("src"):"https://graph.facebook.com/"+v+"/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/"+v+"' target='_blank' rel='nofollow'>"+a+"</a><span class='cff-story'> </span></p><p class='cff-date'>"+o+"</p></div><a href='https://facebook.com/"+v+"' target='_blank' rel='nofollow noopener' class='cff-author-img'><img src='"+r+"' title='"+a+"' alt='"+a+"' width='40' height='40'></a></div>"):"<div class='cff-author cff-no-author-info'><div class='cff-author-text'><p class='cff-date'>"+o+"</p></div><div class='cff-author-img'></div></div>",w(".cff-lightbox-dataContainer .cff-lightbox-close").remove(),e.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'>"+m+"<p class='cff-lightbox-caption'><span class='cff-lightbox-caption-text'>"+w(".cff-lightbox-caption-text").html()+"</span></p></div>"+w("#cff_"+this.album[this.currentImageIndex].postid+" .cff-comments-box")[0].outerHTML),this.$lightbox.find(".cff-lightbox-close").on("click",function(){return c.end(),c.album.length=0,x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""),w("body").length&&w("body").removeClass("cff_no_scroll"),!1}),setTimeout(function(){1<i.find("a").length&&(e.find(".cff-page-name a").text(i.find("a.cff-selected").attr("data-page-name")),e.find(".cff-date").text(i.find("a.cff-selected").attr("data-post-date")))},0),i.css("margin-top",-10),150<e.find(".cff-reactions-count").innerWidth()&&e.find(".cff-likes-this-text").addClass("cff-long"),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")+'" alt="Avatar" onerror="this.style.display=\'none\'" />')}),e.find(".cff-comment-replies a").on("click",function(){cffLoadCommentReplies(w(this))}),e.find(".cff-show-more-comments a").attr("href",e.find(".cff-comment-on-facebook a").attr("href"))):(w(".cff-lightbox-wrapper .cff-lightbox-sidebar").html(""),w(".cff-lightbox-wrapper").removeClass("cff-enable-lb-comments")),w("#cff-lightbox-wrapper").removeClass("cff-has-iframe cff-fb-player cff-has-thumbs"),void 0!==this.album[this.currentImageIndex].iframe&&this.album[this.currentImageIndex].iframe.length&&"link"!==this.album[this.currentImageIndex].iframe&&(n=this.album[this.currentImageIndex].iframe,w("#cff-lightbox-wrapper").addClass("cff-has-iframe"),-1!=n.indexOf("https://www.facebook.com/v2.3/plugins/video.php?")&&w("#cff-lightbox-wrapper").addClass("cff-fb-player"),s=-1<n.indexOf(".swf")||-1!=n.indexOf("&autoplay=1")?"":"?autoplay=1",setTimeout(function(){w("#cff-lightbox-wrapper iframe").attr({src:n+s+"&mute=0"})},500));var l,d,u,r,h,m,p,g,v=!1;function b(t,i,e,n,a,o,s,r){var f=!1;w.each(c.album,function(t,e){e.link==i&&e.postid==a&&(f=!0)}),1!=f&&(postType=o?"albumsonly":"",lbcomments=o?"false":"true",c.album.splice(t,0,{link:i,title:e,postid:a,showthumbs:"true",facebookurl:n,video:"",iframe:"",type:postType,cffgroupalbums:void 0,isthumbnail:s,lbcomments:lbcomments,thumbimg:r}))}this.album[this.currentImageIndex].isthumbnail&&(v=!0),v||w(".cff-lightbox-thumbs-holder").empty().removeClass("cff-animate"),this.album[this.currentImageIndex].link==w(".cff-lightbox-image").attr("src")&&w(".cff-lightbox-facebook").attr("href",this.album[this.currentImageIndex].facebookurl),"true"==this.album[this.currentImageIndex].showthumbs?(w(".cff-lightbox-thumbs").show(),l=this.album[this.currentImageIndex].postid,d="",u=!1,"albumsonly"==this.album[this.currentImageIndex].type&&(u=!0),void 0!==y[l]?(w.each(y[l],function(t,e){var i=e[5].replace(/"/g,"&quot;"),n=0;w.each(c.album,function(t,e){if(e.postid==l)return n=t,!1});var a=parseInt(n)+parseInt(t);void 0===e[8]&&(e[8]=e[0]),d+='<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="'+a+'" lbcomments="true" data-thumbs="true" data-url="'+e[3]+'" data-iframe data-video ',d+=u?'data-type="albumsonly" ':"data-type ",d+='data-cff-isthumbnail="true"><img src="'+e[8]+'" width="'+e[1]+'" height="'+e[2]+'" /></a>',0<t&&b(a,e[0],e[4],e[3],l,u,!0,e[6],e[7],e[8])}),w(".cff-lightbox-thumbs-holder").html('<div class="cff-lightbox-thumbs-wrap">'+d+"</div>").addClass("cff-animate"),w(".cff-lightbox-wrapper").addClass("cff-has-thumbs"),jQuery(".cff-lightbox-thumbs-holder a").imgLiquid({fill:!0,useBackgroundSize:!0}),w(".cff-loader").hide(),w(".cff-lightbox-thumbs-holder").css("min-height",0)):("undefined"!=typeof cffsiteurl&&""!=cffsiteurl||(cffsiteurl=window.location.host+"/wp-content/plugins"),r=w("#cff_"+l).closest(".cff"),g=w("#cff_"+l).attr("data-page-id"),m=cffGetShortcodeToken(r),p="","true"==r.attr("data-own-token")&&(p="&useowntoken=true"),v=cffsiteurl+"/custom-facebook-feed-pro/thumbs.php?id="+l+"&pageid="+g+p+m,h=[],u&&(v+="&albumsonly=true",void 0!==window.cff&&void 0!==window.cff.feeds&&!window.cff.feeds[0].settings.consentGiven||w(".cff-lightbox-thumbs-holder").css("min-height",45).after('<div class="cff-loader"></div>')),(p=this.album[this.currentImageIndex].cffgroupalbums)&&(v=v+"&usegrouptoken="+p),g={action:"cff_thumbs",id:l,pageid:g},""!==m&&(m=m.split("="),g.at=m[1]),"true"==r.attr("data-own-token")&&(g.useowntoken=!0),p&&(g.usegrouptoken=p),u&&(g.albumsonly=!0),w(".cff-gdpr-more-link").remove(),window.cff.feeds[this.album[this.currentImageIndex].feedIndex].settings.consentGiven?(u&&(jQuery(".cff-lightbox-container").addClass("cff-album-loading"),jQuery(".cff-lightbox-prev, .cff-lightbox-next").hide()),cffAjax(g,function(t){t&&(t=JSON.parse(t),u?w.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(c.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,d+='<a href="'+o+'" class="cff-lightbox-attachment" data-facebook="http://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>',h.push([o,s,r,"http://facebook.com/"+e.id,i,f,void 0,void 0,n]),0<t&&b(a,o,i,"http://facebook.com/"+e.id,l,u,!0,n)}):void 0!==t.attachments&&w.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(c.currentImageIndex)+parseInt(t);d+='<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="'+a+'" data-post-date="'+o+'" data-cff-lightbox-order="'+n+'" data-thumbs="true" data-url="'+e.url+'" data-iframe data-video data-type data-cff-isthumbnail="true"><img src="'+e.media.image.src+'" width="'+e.media.image.width+'" height="'+e.media.image.height+'" /></a>',h.push([e.media.image.src,e.media.image.width,e.media.image.height,e.url,i,f,a,o]),0<t&&b(n,e.media.image.src,i,e.url,l,u,!0,a,e.media.image.src)}),0<d.length&&(w(".cff-lightbox-thumbs-holder").html('<div class="cff-lightbox-thumbs-wrap">'+d+"</div>").addClass("cff-animate"),w(".cff-lightbox-wrapper").addClass("cff-has-thumbs")),jQuery(".cff-lightbox-thumbs-holder .cff-lightbox-attachment").imgLiquid({fill:!0,useBackgroundSize:!0}),w(".cff-loader").hide(),w(".cff-lightbox-thumbs-holder").css("min-height",0),y[l]=h,u&&(jQuery(".cff-lightbox-container").removeClass("cff-album-loading"),jQuery(".cff-lightbox-prev, .cff-lightbox-next").show()))})):0<parseInt(this.album[this.currentImageIndex].count)&&(w(".cff-lightbox-facebook").after('<a href="'+w(".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>'),w(".cff-gdpr-more-link").imgLiquid({fill:!0,useBackgroundSize:!0}),setTimeout(function(){w(".cff-gdpr-more-link span").css({"margin-top":"-"+w(".cff-gdpr-more-link span").height()/2+"px","margin-right":"-"+w(".cff-gdpr-more-link span").width()/2+"px",display:"block"})},200)))):w(".cff-lightbox-thumbs").hide(),w(".cff-lightbox-attachment").removeClass("cff-selected"),w(".cff-lightbox-attachment[href='"+w(".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,'"'),g=(p=this.$lightbox.find(".cff-lightbox-caption")).find(".cff-lightbox-caption-text"),this.album[this.currentImageIndex].link==w(".cff-lightbox-image").attr("src")&&g.html(f.includes("</a>")?f:cffLinkify(f))," "==g.text()||""==g.text()?p.addClass("cff-no-caption"):p.removeClass("cff-no-caption")):(!u&&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(w(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 c.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(){w(document).on("keyup.keyboard",w.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){w(document).off(".keyboard")},t.prototype.keyboardAction=function(t){var e=t.keyCode,t=String.fromCharCode(e).toLowerCase();27===e||t.match(/x|o|c/)?(x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#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),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#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),x()&&w("#cff-lightbox-wrapper video.cff-lightbox-video").length&&w("#cff-lightbox-wrapper video.cff-lightbox-video")[0].pause(),w("#cff-lightbox-wrapper iframe").attr("src",""))},t.prototype.end=function(){this.disableKeyboardNav(),w(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),w("select, object, embed").css({visibility:"visible"})},t}();w(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 H(){q.apply(this,arguments)}function G(){Q.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Y(t,e){return(e=e||{}).recognizers=l(e.recognizers,Y.defaults.preset),new U(t,e)}function U(t,e){this.options=it({},Y.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(H,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(G,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))}}),Y.VERSION="2.0.8",Y.defaults={domEvents:!1,touchAction:Rt,enable:!0,inputTarget:null,inputClass:null,preset:[[$,{enable:!1}],[N,{enable:!1},["rotate"]],[H,{direction:wt}],[P,{direction:wt},["swipe"]],[G],[G,{event:"doubletap",taps:2},["tap"]],[W]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},U.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(Y,{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:U,Input:x,TouchAction:L,TouchInput:D,MouseInput:j,PointerEventInput:T,TouchMouseInput:B,SingleTouchInput:F,Recognizer:Q,AttrRecognizer:q,Tap:G,Pan:P,Swipe:H,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=Y,"function"==typeof define&&define.amd?define(function(){return Y}):"undefined"!=typeof module&&module.exports?module.exports=Y:a.Hammer=Y}(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})})})),!jQuery("#cff.cff-masonry-js").length&&void 0===window.cff_block_editor||(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:"undefind"!=typeof 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 t,n=this;0<n.needsResizing.length&&n.settings.resizingEnabled?(t=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:t,feed_id:n.settings.feedID,atts:n.settings.shortCodeAtts,pag_url:n.pag_url,location:CFFLocationGuess(),post_id:n.settings.postID},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)}}})):n.settings.locator&&cffAjax({action:"cff_do_locator",feed_id:n.settings.feedID,atts:n.settings.shortCodeAtts,location:CFFLocationGuess(),post_id:n.settings.postID},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?(t=!1,a.find("a[data-cff-lightbox]").length?t=a.find("a[data-cff-lightbox]"):a.closest(".cff-item").find("a[data-cff-lightbox]").length?t=a.closest(".cff-item").find("a[data-cff-lightbox]"):a.closest(".cff-album-item").find("a[data-cff-lightbox]").length&&(t=a.closest(".cff-album-item").find("a[data-cff-lightbox]")),a.find("area[data-cff-lightbox]").length?t=a.find("area[data-cff-lightbox]"):a.closest(".cff-item").find("area[data-cff-lightbox]").length&&(t=a.closest(".cff-item").find("area[data-cff-lightbox]")),t&&"boolean"!=typeof t&&t.parent("div").hasClass("cff-html5-video")):(t=!1,a.find("a[data-cff-lightbox]").length?t=a.find("a[data-cff-lightbox]"):a.closest(".cff-item").find("a[data-cff-lightbox]").length&&(t=a.closest(".cff-item").find("a[data-cff-lightbox]")),a.find("area[data-cff-lightbox]").length?t=a.find("area[data-cff-lightbox]"):a.closest(".cff-item").find("area[data-cff-lightbox]").length&&(t=a.closest(".cff-item").find("area[data-cff-lightbox]")),t&&t.parent("div").hasClass("cff-html5-video")),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.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&&(e=t.pop().split(";").shift(),this.settings.consentGiven="true"===e):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=window.BorlabsCookie.checkCookieConsent("facebook"));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 y=!1;void 0===v&&(v=jQuery(".cff"),y=!0),function(P){jQuery(document).off("click","#cff a.cff-view-comments").on("click","#cff a.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.text(),f=i.html();void 0===d&&(d=""),d.length>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=l.find(".cff-text").attr("data-color"),o="";function s(t){t=jQuery.trim(t);return/^#[0-9A-F]{6}$/i.test(t)?t:(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-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")),f+='data-url="'+t.find(".cff-html5-play").attr("href")+'" data-video="'+a):t.hasClass("cff-video")?f+='data-url="http://facebook.com/'+t.attr("id")+'" data-video="'+t.attr("data-source"):t.hasClass("cff-iframe-wrap")?f+='data-url="http://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"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="search-plus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-search-plus fa-w-16 fa-2x"><path fill="currentColor" d="M304 192v32c0 6.6-5.4 12-12 12h-56v56c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-56h-56c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h56v-56c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v56h56c6.6 0 12 5.4 12 12zm201 284.7L476.7 505c-9.4 9.4-24.6 9.4-33.9 0L343 405.3c-4.5-4.5-7-10.6-7-17V372c-35.3 27.6-79.7 44-128 44C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208c0 48.3-16.4 92.7-44 128h16.3c6.4 0 12.5 2.5 17 7l99.7 99.7c9.3 9.4 9.3 24.6 0 34zM344 208c0-75.2-60.8-136-136-136S72 132.8 72 208s60.8 136 136 136 136-60.8 136-136z" class=""></path></svg><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,g=P(this).find(".cff"),v=g.attr("data-grid-pag"),n=(cffGetShortcodeToken(g),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",g.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"),g.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"),g.hasClass("cff-carousel")&&n.find(".cff_owl-page").slice(e-n.find(".cff_owl-page").length).css({display:"inline-block"})),n.removeAttr("data-nummobile")),g.hasClass(!g.hasClass("cff-all-reviews"))){if(g.find(".cff-album-item").length&&!g.hasClass("cff-masonry"))return void g.removeClass("cff-masonry-js");cffAddMasonry(g),setTimeout(function(){cffAddMasonry(g)},1e3),P(window).on("resize",function(){setTimeout(function(){cffAddMasonry(g)},500)}),g.find(".cff-credit").length&&g.css("padding-bottom",30)}function a(){var t;(t=g.hasClass("cff-album-items-feed")?g:g.find(".cff-item").first()).innerWidth()<400?g.hasClass("cff-disable-narrow")||g.addClass("narrow"):g.removeClass("narrow"),t.innerWidth()<250&&g.addClass("cff-super-narrow")}function o(){g.find(".cff-item").first().innerWidth()<190+P(".cff-post-links").innerWidth()?g.find(".cff-post-links").addClass("cff-left"):g.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;g.hasClass("cff-masonry")||g.hasClass("cff-disable-liquid")||(t=g.find(".cff-album-item").eq(0).find("a").innerWidth(),g.find(".cff-album-item a").css("height",t),g.find(".cff-photo.cff-crop").css("height",g.find(".cff-photo.cff-crop").width()),g.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 b,y,w=parseInt(g.attr("data-pag-num")),x=w,c=g.find(".cff-event").length;P(".cff-event:visible").length;g.find(".cff-event").slice(0,w).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(),w<c&&$loadmorePlaceholder.on("click",function(){var t=g.find(".cff-event:visible").length,e=(parseInt(g.attr("data-pag-num")),!1);t<c?(g.find(".cff-event").slice(0,w+P(".cff-event:visible").length).css("display","inline-block"),P(".cff-event:visible").length===c&&(e=!0)):e=!0,e&&g.find(".cff-load-more").replaceWith(function(){return P('<p class="cff-no-more-posts">No more posts</p>')}),setTimeout(function(){cffAddMasonry(g)},200),setTimeout(function(){cffAddMasonry(g)},1e3)})),g.hasClass("cff-all-reviews")&&(b=parseInt(g.attr("data-pag-num")),y=b,void 0!==(l=parseInt(g.attr("data-offset")))&&!isNaN(l)||(l=0),g.find(".cff-review").slice(0,b+l).css("display","inline-block"),0<l&&g.find(".cff-review").slice(0,l).remove(),g.hasClass("cff-masonry-js")&&(cffAddMasonry(g),setTimeout(function(){cffAddMasonry(g)},1e3),P(window).on("resize",function(){setTimeout(function(){cffAddMasonry(g)},500)}),g.find(".cff-credit").length&&g.css("padding-bottom",30)));var C=g.find("#cff-load-more"),l=g.find(".cff-load-more").attr("data-cff-no-posts-added");function k(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||C.attr("data-cff-no-posts-added","false"),g.find(".cff-item, .cff-album-item").length<1&&C.attr("data-cff-no-posts-added","true"),C.off().on("click",function(){var a,t,e=g.attr("data-cff-shortcode"),i=g.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(g),f=g.find(".cff-upcoming-event").length;if(0<f)return x+=w,g.find(".cff-upcoming-event").slice(0,x).css("display","inline-block").removeClass("cff-num-diff-hide"),f<x&&(g.find("#cff-load-more").hide(),k(g,C)),void(g.hasClass("cff-masonry-js")&&!g.hasClass("cff-masonry-css")&&cffAddMasonry(g));if(g.hasClass("cff-all-reviews")){f=g.find(".cff-review").length;if(0<f)return y+=b,g.find(".cff-review").slice(0,y).css("display","inline-block"),f<y&&(g.find("#cff-load-more").hide(),k(g,C)),void(g.hasClass("cff-masonry-js")&&!g.hasClass("cff-masonry-css")&&cffAddMasonry(g))}C.off().removeAttr("id").addClass("cff-disabled"),i.remove(),".cff-album-item"==(a=g.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?(C.addClass("cff-loading").append('<div class="cff-loader"></div>'),C.find(".cff-loader").css("background-color",C.css("color"))):(C.hide(),k(g,C));var d,u,h,m,p=!1;if(g.attr("data-timeline-pag")&&(p=!0),1!=p)for(var l in c)c.hasOwnProperty(l)&&"latest_record_date"!=l&&(u=_("until",d=c[l]),m=g.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=g.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"==C.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="+_("after",m),"")),".cff-album-item"!==a&&((-1<d.indexOf("/events")&&-1<d.indexOf("&after=")||-1<d.indexOf("/ratings")&&-1<d.indexOf("&after=")&&g.hasClass("cff-all-reviews"))&&(m=m.replace("&after="+_("after",m),"")),-1<m.indexOf("&__paging_token")&&(m=m.replace("&__paging_token="+_("__paging_token",m),"")),c[l]=m));p=void 0!==g.attr("data-page")?g.attr("data-page"):1,p=parseInt(p)+1;g.attr("data-page",p),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},success:function(t){g.find(".cff-num-diff-hide").removeClass("cff-num-diff-hide"),-1==t.indexOf("<div class=")&&-1==t.indexOf("<span class=")?C.attr("data-cff-no-posts-added","true"):C.attr("data-cff-no-posts-added","false"),g.find(".cff-item, .cff-album-item").length?g.find(".cff-item, .cff-album-item").addClass("cff-masonry-new").removeClass("cff-new").last().after(t):g.find(".cff-posts-wrap").append(t);var e=void 0!==g.attr("data-page")?g.attr("data-page"):2,i=g.attr("data-mobilenumber"),i=parseInt(e)*parseInt(i);g.attr({"data-shownmobileposts":i}),P(window).width()<480&&(n=g.find(".cff-item").length?".cff-item":".cff-album-item",(i=i)<g.find(n).length&&g.find(n).slice(i-g.find(n).length).addClass("cff-num-diff-hide")),g.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",""))}),C.removeClass("cff-loading").find(".cff-loader").remove(),C.attr("id","cff-load-more").removeClass("cff-disabled"),cff_init(g),C=g.find(".cff-load-more");var n=parseInt(C.closest(".cff").attr("data-cff-index"))-1;void 0!==window.cff&&"undefined"!==window.cff.feeds[n]&&window.cff.feeds[n].afterLoadMoreClicked(C),(g.find(".cff-album-item").length&&g.hasClass("cff-disable-liquid")||g.hasClass("cff-masonry-js")&&!g.hasClass("cff-masonry-css"))&&(g.find(".cff-posts-wrap").masonry("appended",g.find(".cff-new")),g.find(".cff-view-comments, .cff-comment-replies a, .cff-show-more-comments a").off().on("click",function(){g.hasClass("cff-opaque-comments")||setTimeout(function(){cffAddMasonry(g)},500)}));n=g.find(".cff-pag-url").attr("data-cff-pag-url");".cff-item"==a||"cursor"==v?"{}"==n&&k(g,C):t.indexOf('class="cff-album-item')<0&&t.indexOf('class="cff-empty-album')<0&&k(g,C),"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"))}),g.find(".cff-album-item").length&&!g.hasClass("cff-masonry")&&g.removeClass("cff-masonry cff-masonry-js cff-masonry-css"),g.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 _(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=(O=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=O.attr("data-cff-like-text"),o=O.attr("data-cff-likes-text"),s=O.attr("data-cff-reacted-text"),r=O.attr("data-cff-and-text"),u=O.attr("data-cff-other-text"),h=O.attr("data-cff-others-text"),m=O.attr("data-cff-reply-text"),p=O.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")&&(Q=void 0!==t.comments?t.comments.summary.total_count:0,f.find(".cff-comments .cff-count").text(Q)),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")),0<(S=parseInt(i)+parseInt(w)+parseInt(y)+parseInt(x)+parseInt(C)+parseInt(R))&&f.find(".cff-meta .cff-likes .cff-count").text(S),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="http://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)}(jQuery);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()})}),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)}})})}),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});