");I=H.css("position");F=H.css("position");k=H.css("float");e=H.css("top");if(h()){m.$el.after(u)}a(window).bind("resize.ScrollToFixed",D);a(window).bind("scroll.ScrollToFixed",G);if("ontouchmove" in window){a(window).bind("touchmove.ScrollToFixed",B)}if(m.options.preFixed){H.bind("preFixed.ScrollToFixed",m.options.preFixed)}if(m.options.postFixed){H.bind("postFixed.ScrollToFixed",m.options.postFixed)}if(m.options.preUnfixed){H.bind("preUnfixed.ScrollToFixed",m.options.preUnfixed)}if(m.options.postUnfixed){H.bind("postUnfixed.ScrollToFixed",m.options.postUnfixed)}if(m.options.preAbsolute){H.bind("preAbsolute.ScrollToFixed",m.options.preAbsolute)}if(m.options.postAbsolute){H.bind("postAbsolute.ScrollToFixed",m.options.postAbsolute)}if(m.options.fixed){H.bind("fixed.ScrollToFixed",m.options.fixed)}if(m.options.unfixed){H.bind("unfixed.ScrollToFixed",m.options.unfixed)}if(m.options.spacerClass){u.addClass(m.options.spacerClass)}H.bind("resize.ScrollToFixed",function(){u.height(H.height())});H.bind("scroll.ScrollToFixed",function(){H.trigger("preUnfixed.ScrollToFixed");l();H.trigger("unfixed.ScrollToFixed");B()});H.bind("detach.ScrollToFixed",function(J){s(J);H.trigger("preUnfixed.ScrollToFixed");l();H.trigger("unfixed.ScrollToFixed");a(window).unbind("resize.ScrollToFixed",D);a(window).unbind("scroll.ScrollToFixed",G);H.unbind(".ScrollToFixed");u.remove();m.$el.removeData("ScrollToFixed")});D()};m.init()};a.ScrollToFixed.defaultOptions={marginTop:0,limit:0,bottom:-1,zIndex:1000,baseClassName:"scroll-to-fixed-fixed"};a.fn.scrollToFixed=function(b){return this.each(function(){(new a.ScrollToFixed(this,b))})}})(jQuery);;
jQuery(document).ready(function(i){({$sticky:i(".pmc-sticky-sidebar"),$footer:i("footer"),$top_bar:i("#wpadminbar"),update_sticky_sidebar_position:{},init:function(){var t=this;"undefined"!=typeof pmc_sticky_sidebar_js&&"footer_selector"in pmc_sticky_sidebar_js&&(t.$footer=i(pmc_sticky_sidebar_js.footer_selector)),"undefined"!=typeof pmc_sticky_sidebar_js&&"top_bar_selector"in pmc_sticky_sidebar_js&&(t.$top_bar=i(pmc_sticky_sidebar_js.top_bar_selector)),this.update_sticky_sidebar_position=_.debounce(function(){t.start_scroll()},300),i(window).on("scroll",t.update_sticky_sidebar_position)},reset_scroll:function(){this.$sticky.trigger("resetScroll"),this.$sticky.trigger("detach.ScrollToFixed"),this.$sticky.attr("style","")},start_scroll:function(){var t=this;t.reset_scroll(),t.$sticky.scrollToFixed({marginTop:function(){return(t.$top_bar.outerHeight()||0)+10},removeOffsets:!0,limit:function(){return t.$footer.offset().top-t.$sticky.outerHeight(!0)-10},fixed:function(){i(window).off("scroll",t.update_sticky_sidebar_position)},postAbsolute:function(){t.$sticky.attr("style","")},unfixed:function(){t.$sticky.hasClass("scroll-to-fixed-fixed")&&(t.$sticky.parent().attr("style","position: relative;"),t.$sticky.attr("style","position: absolute; z-index:unset; top: unset; bottom: 5px;"))}})}}).init()});
;
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector(".closeShare"),t=document.querySelector(".showShareMore"),n=document.querySelector(".btn-print"),o=document.querySelector(".btn-whatsapp"),r=document.querySelector(".share-container .shareMore");e&&e.addEventListener("click",(function(e){e.preventDefault(),r.style.display="none"})),t&&t.addEventListener("click",(function(e){e.preventDefault(),r.style.display="block"})),n&&n.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),window.print()})),o&&o.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),window.location.href="whatsapp://send?text="+encodeURIComponent(window.location.href)}))}))})();;
"undefined"!=typeof ga&&{is_mobile:!1,permalink:null,share_list:null,init:function(){this.permalink=window.pmc_share_bar_lob_ga_tracking.permalink,this.is_mobile=window.pmc_share_bar_lob_ga_tracking.is_mobile,this.share_list=window.pmc_share_bar_lob_ga_tracking.share_list,this.bind_ui_click()},bind_ui_click:function(){const e=this;Object.entries(e.share_list).forEach((function([t,n]){const i=document.querySelector("."+n.class);i&&(i.addEventListener("click",(function(o){if("1"===e.is_mobile)e.track_social_click(t,"click",e.permalink);else if(!1===n.popup)e.track_social_click(t,"click",e.permalink);else{o.preventDefault();const r={height:570,width:530,left:"50%",top:"28%",location:1,resizable:0,menubar:0,toolbar:0,personalbar:0,status:0},l={source_el:i,title:n.popup_title};if(e.open_popup(l,r))return e.track_social_click(t,"click",e.permalink),!1}})),i.addEventListener("mouseover",(function(){return e.track_social_mouseover(t),!1}),{once:!0}))}))},track_social_click:function(e,t,n){"undefined"!=typeof gtag&>ag("event",String(e+"-"+t).substring(0,39),{eventCategory:String(e).substring(0,99),eventAction:t,eventLabel:String(n).substring(0,99)});const i=pmc.hooks.apply_filters("pmc_event_tracking_social_data",null,e);null!==i&&"undefined"!=typeof gtag&>ag("event",String(i.eventCategory+"-"+i.eventAction).substring(0,39),{eventCategory:String(i.eventCategory).substring(0,99),eventAction:String(i.eventAction).substring(0,99),eventLabel:String(i.eventLabel).substring(0,99),eventValue:String(i.eventValue).substring(0,99),nonInteraction:String(i.nonInteraction).substring(0,99)})},track_social_mouseover:function(e){"undefined"!=typeof gtag&>ag("event","social_bar-mouse-over",{eventAction:"mouse-over",eventCategory:"social_bar",eventLabel:e,eventValue:1})},open_popup:function(e,t){let n,i,o,r=[],l=!1,a=!1;const s=["menubar","toolbar","location","personalbar","status","resizable","scrollbars","dependent","dialog","minimizable"];for(e=Object.assign({source_el:!1,url:!1,title:"Window",reuse:!0},e),t=Object.assign({left:"50%",top:"25%",height:300,width:500,menubar:0,toolbar:0,location:1,personalbar:0,status:0,resizable:1,scrollbars:1,dependent:0,dialog:0,minimizable:0},t),e.source_el&&(l=document.querySelector(e.source_el),l||(l=!1)),t.left.toString().indexOf("%")&&(i=window.screenLeft||window.screenX,t.left=t.left.replace("%","")/100,t.left=Math.round(i+window.innerWidth*t.left-t.width/2)),r.push("left="+t.left),t.top.toString().indexOf("%")&&(o=window.screenTop||window.screenY,t.top=Math.round(o+window.innerHeight*t.top.replace("%","")/100)),r.push("top="+t.top),r.push("width="+t.width),r.push("height="+t.height),n=0;n
this.lastScrollTopValue-e?"down":"up",n=this.$header.hasClass("is-fixed"),i=this.$header.hasClass("is-visible"),a=this.headerHeight;this.lastScrollTopValue=e,"down"===t&&!n&&e>a&&(this.determineHeaderHeight(),this.headerHeight=this.$header.height(),a=this.headerHeight,e>a&&(this.$header.addClass("is-fixed"),this.$bodyEl.css("padding-top",a+"px"))),"down"===t&&!i&&e>a+20&&this.$header.addClass("has-transitions is-visible"),"up"===t&&i&&e=u||u>t?(r&&(clearTimeout(r),r=null),o=d,s=e.apply(i,a),r||(i=null,a=null)):r||!1===n.trailing||(r=setTimeout(l,u)),s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},,function(e,t){},function(e,t,n){var i;!function(t){"use strict";function a(){var e=this;e.reads=[],e.writes=[],e.raf=h.bind(t),u("initialized",e)}function s(e){e.scheduled||(e.scheduled=!0,e.raf(r.bind(null,e)),u("flush scheduled"))}function r(e){u("flush");var t,n=e.writes,i=e.reads;try{u("flushing reads",i.length),o(i),u("flushing writes",n.length),o(n)}catch(e){t=e}if(e.scheduled=!1,(i.length||n.length)&&s(e),t){if(u("task errored",t.message),!e.catch)throw t;e.catch(t)}}function o(e){u("run tasks");for(var t;t=e.shift();)t()}function l(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}function d(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}var u=function(){},h=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};a.prototype={constructor:a,measure:function(e,t){u("measure");var n=t?e.bind(t):e;return this.reads.push(n),s(this),n},mutate:function(e,t){u("mutate");var n=t?e.bind(t):e;return this.writes.push(n),s(this),n},clear:function(e){return u("clear",e),l(this.reads,e)||l(this.writes,e)},extend:function(e){if(u("extend",e),"object"!=typeof e)throw new Error("expected object");var t=Object.create(this);return d(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var c=t.fastdom=t.fastdom||new a;"f"=="function"[0]?void 0!==(i=function(){return c}.call(c,n,c,e))&&(e.exports=i):"o"==(typeof e)[0]&&(e.exports=c)}("undefined"!=typeof window?window:this)},,,function(e,t,n){e.exports=n(2)}]);;