1"use strict";!function(e){function s(e){return"Enter"===e.key||" "===e.key||13===e.keyCode||32===e.keyCode}function o(){const s=e(".popup-search-wrapper.style-3");if(s.length&&"none"!==s.css("display")){e(".pt-header-inner .blogsy-header-nav-wrapper").css("display",""),s.css("display","none");const o=s.find(".popup-search");o.removeClass("open"),o.off("keydown",i),setTimeout(()=>{e(".popup-search-opener").first().focus()},50)}else{e(".popup-search.open").each(function(){const s=e(this),o=s.closest(".popup-search-wrapper");s.removeClass("open"),s.off("keydown",i),setTimeout(()=>{o.find(".popup-search-opener").first().focus()},50)})}}e("[class*='aos-']").each(function(){var s=e(this),o=this.className;if(-1===o.indexOf("aos-init")){var t=o.match(/aos-([a-z-]+)(?:\s|$)/);t&&s.attr("data-aos",t[1]).addClass("aos-init"),(t=o.match(/aos-duration-(\d+)(?:\s|$)/))&&s.attr("data-aos-duration",t[1]),(t=o.match(/aos-delay-(\d+)(?:\s|$)/))&&s.attr("data-aos-delay",t[1])}}),AOS.init({once:!0,duration:600}),e(window).on("load",()=>e("body").addClass("site-loaded")),"function"==typeof SmoothScroll&&e("body").hasClass("blogsy-smooth-scroll")&&SmoothScroll({keyboardSupport:!1}),e(".offcanvas-container").on("click",e=>e.stopPropagation()),e("body").on("click keydown",".offcanvas-opener",function(o){if("click"===o.type||"keydown"===o.type&&s(o)){"keydown"===o.type&&o.preventDefault(),o.stopPropagation();const s=e(this).closest(".blogsy-offcanvas");setTimeout(()=>s.find(".offcanvas-close").focus(),100),s.find(".offcanvas-container-inner").on("keydown",i),s.find(".offcanvas-wrapper").addClass("open")}}),e(document).on("click",".offcanvas-wrapper",function(s){if(s.target===this){e(".offcanvas-wrapper").removeClass("open");const s=e(this).closest(".blogsy-offcanvas");s.find(".offcanvas-opener").focus(),s.find(".offcanvas-container-inner").off("keydown",i)}}),e(".offcanvas-close").on("click keydown",function(o){if("click"===o.type||"keydown"===o.type&&s(o)){"keydown"===o.type&&o.preventDefault(),e(".offcanvas-wrapper").removeClass("open");const s=e(this).closest(".blogsy-offcanvas");s.find(".offcanvas-opener").focus(),s.find(".offcanvas-container-inner").off("keydown",i)}}),e("body").on("click keydown",".popup-search-opener",function(o){if("click"===o.type||"keydown"===o.type&&s(o)){let s;"keydown"===o.type&&o.preventDefault(),o.stopPropagation();const t=e(".popup-search-wrapper.style-3");if(t.length){e(".pt-header-inner .blogsy-header-nav-wrapper").css("display","none"),s=t,s.css({display:"flex","flex-direction":"column","justify-content":"center",flex:"1 0 auto","max-width":"100%"});const o=s.find(".popup-search");o.addClass("open"),o.off("keydown",i),o.on("keydown",i),setTimeout(()=>{s.find(".search-field").first().focus()},150)}else{s=e(this).closest(".popup-search-wrapper");const o=s.find(".popup-search");o.addClass("open"),o.off("keydown",i),o.on("keydown",i),setTimeout(()=>{s.find(".search-field").first().focus()},150)}}}),e(".popup-search-form").on("click",e=>e.stopPropagation()),e("body").on("click keydown",".popup-search-close",function(e){("click"===e.type||"keydown"===e.type&&s(e))&&("keydown"===e.type&&e.preventDefault(),e.stopPropagation(),o())}),e(document).on("keydown",function(s){if("Escape"===s.key||27===s.keyCode){e(".popup-search.open").length&&o()}}),e("body").on("click",function(s){const t=e(s.target);t.closest(".popup-search-container").length||t.closest(".popup-search-opener").length||e(".popup-search.open").length&&o()});const t=e("#blogsy-time");t.length&&t.text(setInterval(()=>{t.text((new Date).toLocaleTimeString())},1e3));const n=e("#blogsy-date");if(n.length){const s=e("html").attr("lang")||"en",o={weekday:"short",month:"short",day:"numeric",year:"numeric"};n.text((new Date).toLocaleString(s,o))}function i(s){const o=e(this).find('input, a, button, [tabindex]:not([tabindex="-1"])').filter(":visible"),t=o.first()[0],n=o.last()[0];"Tab"!==s.key&&9!==s.keyCode||(s.shiftKey||document.activeElement!==n?s.shiftKey&&document.activeElement===t&&(s.preventDefault(),n.focus()):(s.preventDefault(),t.focus()))}function a(){let e=this;for(;e&&!e.classList.contains("blogsy-header-nav-wrapper")&&!e.classList.contains("blogsy-header-v-nav-wrapper");){if("li"===e.tagName.toLowerCase()){e.classList.toggle("hovered");e.querySelector("ul")&&e.setAttribute("aria-expanded",e.classList.contains("hovered"))}e=e.parentElement}}function r(){document.body.classList.contains("blogsy-menu-accessibility")&&document.querySelectorAll(".blogsy-header-nav-wrapper, .blogsy-header-v-nav-wrapper").forEach(e
1=>{e.querySelectorAll("ul").forEach(e=>{e.parentNode.setAttribute("aria-haspopup","true")}),e.querySelectorAll("a").forEach(e=>{e.removeEventListener("focus",a,!0),e.removeEventListener("blur",a,!0)}),e.querySelectorAll("a").forEach(e=>{e.addEventListener("focus",a,!0),e.addEventListener("blur",a,!0)})})}function l(){const e=blogsy_ajax_object.header_breakpoint||1025;window.innerWidth<e?document.body.classList.add("blogsy-is-mobile"):document.body.classList.contains("blogsy-is-mobile")&&document.body.classList.remove("blogsy-is-mobile")}function c(){if(document.body.classList.contains("blogsy-is-mobile"))return;var e=window.innerWidth;const s=document.querySelectorAll(".blogsy-header-nav .sub-menu, .blogsy-header-nav .children");s.length&&s.forEach(s=>{const o=s.closest("li");if(!o)return;o.classList.remove("opens-left","opens-right");const t=s.style.display,n=s.style.visibility,i=s.style.opacity;s.style.display="block",s.style.visibility="visible",s.style.opacity="0";const a=s.getBoundingClientRect(),r=a.left,l=a.right;s.style.display=t,s.style.visibility=n,s.style.opacity=i,l>e-1?o.classList.add("opens-left"):r<1&&o.classList.add("opens-right")})}function d(){const{navigation_cutoff:s,navigation_cutoff_upto:o,navigation_cutoff_text:t}=blogsy_ajax_object,n=blogsy_ajax_object.header_breakpoint||1025;function i(s,o){const n=s.children(`li:nth-child(n+${o+1})`);let i=s.find(".menu-item-custom-more");if(!i.length&&n.length){const o=s.find(".sub-menu").length>0;n.remove(),i=(s=>e(`<li class="menu-item ${s?"menu-item-has-children":"page_item_has_children"} menu-item-custom-more">\n <a href="#">${t} <span class="blogsy-svg-icon blogsy-svg-icon--ellipsis-vertical">\n <svg width="24" height="24" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M14.25 19.5a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm0-7.5a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm0-7.5a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z"/>\n </svg>\n </span></a>\n <ul class="${s?"sub-menu":"children"}"></ul>\n </li>`))(o),s.append(i),i.find(".sub-menu, .children").append(n)}}if(s&&o>0&&e(window).width()>=n){const s=o-1;e("#site-header .blogsy-header-nav-wrapper .blogsy-header-nav, #site-sticky-header .blogsy-header-nav-wrapper .blogsy-header-nav").each(function(){i(e(this),s)})}else{e(".blogsy-header-nav-wrapper .blogsy-header-nav .menu-item-custom-more").each(function(){!function(e){const s=e.find(".sub-menu > li, .children > li"),o=e.closest(".blogsy-header-nav");e.remove(),o.append(s)}(e(this))})}r(),c()}e(window).on("scroll",()=>{const s=e("#site-sticky-header");if(!s.length)return;const o=e("#site-header").outerHeight()+500;if(e(window).scrollTop()>o){s.addClass("fixed");const o=s.outerHeight();e(".sidebar-container.sticky .sidebar-container-inner, .e-con.blogsy-sticky-column").css("top",o+10)}else s.removeClass("fixed"),s.find(".popup-search, .offcanvas-wrapper").removeClass("open"),e(".sidebar-container.sticky .sidebar-container-inner, .e-con.blogsy-sticky-column").css("top",10)}),e('.blogsy-header-nav li > a[href="#"], .blogsy-header-nav li > a[href=""], .blogsy-header-nav li > a:not([href])').on("click keydown",function(s){const o=e(this).attr("href");if(!o||"#"===o||""===o)return s.preventDefault(),!1}),e(".blogsy-header-v-nav li.menu-item-has-children > .blogsy-mobile-toggle, .blogsy-header-v-nav li.page_item_has_children > .blogsy-mobile-toggle").on("click keydown",function(o){("click"===o.type||"keydown"===o.type&&s(o))&&("keydown"===o.type&&o.preventDefault(),e(this).parent().toggleClass("open").children(".sub-menu, .children").slideToggle())}),r(),l(),c(),e(window).on("resize",function(e,s){let o;return function(){clearTimeout(o),o=setTimeout(()=>e.apply(this,arguments),s)}}(function(){d(),l(),c()},100)),e(window).on("load",function(){d(),l(),c()});const p=document.getElementById("back-to-top");if(p){const e="show",o=200,t=function(){window.scrollTo({top:0,behavior:"smooth"})},n=p.querySelector(".scroll-top-progress path");
1if(n){const s=n.getTotalLength();n.style.transition=n.style.WebkitTransition="none",n.style.strokeDasharray=`${s} ${s}`,n.style.strokeDashoffset=s,n.getBoundingClientRect(),n.style.transition=n.style.WebkitTransition="stroke-dashoffset 10ms linear";const t=function(){const e=window.scrollY||window.pageYOffset||document.documentElement.scrollTop,o=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),t=Math.max(document.documentElement.clientHeight,window.innerHeight||0),i=s-e*s/(o-t);n.style.strokeDashoffset=i};t(),window.addEventListener("scroll",function(){t();(window.scrollY||window.pageYOffset||document.documentElement.scrollTop)>o?p.classList.add(e):p.classList.remove(e)})}p.addEventListener("click",t),p.addEventListener("keydown",function(e){s(e)&&(e.preventDefault(),t())})}if(e("body").on("click keydown",".dark-mode-switcher",function(o){if("click"===o.type||"keydown"===o.type&&s(o)){"keydown"===o.type&&o.preventDefault();const s=e("html"),n=e("body"),i="dark"===s.attr("scheme");n.addClass("noTransition"),i?(s.attr("scheme","light"),t("blogsyDarkMode","disabled",30)):(s.attr("scheme","dark"),t("blogsyDarkMode","enabled",30)),setTimeout(()=>n.removeClass("noTransition"),200)}function t(e,s,o){if(navigator.cookieEnabled){const t=new Date;t.setTime(t.getTime()+24*o*60*60*1e3),document.cookie=`${e}=${s}; path=/; expires=${t.toUTCString()};`}}}),e(".blogsy-mouse-cursor").length){e(document).on("mousemove",s=>{e(".blogsy-mouse-cursor").addClass("visible").css("transform",`translate(${s.clientX}px, ${s.clientY}px)`)}).on("mouseleave",()=>e(".blogsy-mouse-cursor").removeClass("visible"));const s='a, .popup-search-opener, .offcanvas-opener, .offcanvas-close, .popup-search-close, .toc-header-collapse, .dark-mode-switcher, .comments-compact-btn, .footer-canvas-menu-btn, button, input[type="button"], input[type="reset"], input[type="submit"]';e("body").on("mouseenter",s,()=>e(".blogsy-mouse-cursor").addClass("hovered")),e("body").on("mouseleave",s,()=>e(".blogsy-mouse-cursor").removeClass("hovered"))}function u(s){const o=s.find(".blogsy-posts-carousel-wrapper");o.length&&o.each(function(){const s=e(this),o=s.data("settings"),t=s.find(".swiper").first();if(!t.length)return;const n=s.siblings(".thumbs-slider-wrapper");let i,a;if(n.length&&t.hasClass("main-slider")){const e=n.data("settings"),s="#"+n.attr("id")+" .thumbs-slider";a=new Swiper(s,e),i=new Swiper(t[0],o),i.controller.control=a,a.controller.control=i}else i=new Swiper(t[0],o)})}function y(e){const s=e.find(".blogsy-posts-wrapper.layout-carousel .blogsy-posts-carousel-wrapper");if(s.length){const e=s.data("settings"),o="#"+s.attr("id")+" .swiper";new Swiper(o,e)}}e(".single-share-box-link .share-link-btn").on("click",function(){e(".single-share-box-link .share-link-text").select(),document.execCommand("copy"),e(".single-share-box-link .copied-popup-text").addClass("show"),setTimeout(()=>e(".single-share-box-link .copied-popup-text").removeClass("show"),2e3)}),e(".comments-compact-btn").on("click",function(){e(".comments-compact-btn").remove(),e(".comment-list-wrapper").removeClass("compact")}),e(window).on("scroll",()=>{e(".blogsy-post-load-more.infinite-scroll").each(function(){(function(s){const o=e(s),t=e(window).scrollTop(),n=t+e(window).height(),i=o.offset().top;return i+o.outerHeight()<=n&&i>=t})(e(this))&&e(this).trigger("click")})}),e(".blogsy-news-ticker-content-wrapper").each(function(){const s=e(this),o=s.find(".blogsy-news-ticker-content"),t=s.find(".blogsy-news-ticker-items:not(.swiper-wrapper)"),n=s.next(".blogsy-news-ticker-btn");let i=!0;const a=t.clone();o.append(a),n.on("click keypress",function(e){"keypress"===e.type&&13!==e.which&&32!==e.which||(e.preventDefault(),i=!i,i?(s.removeClass("pause-paused"),s.addClass("pause-hover"),n.find(".blogsy-svg-icon--pause").css("display","inline-block"),n.find(".blogsy-svg-icon--play").css("display","none")):(s.removeClass("pause-hover"),s.addClass("pause-paused"),n.find(".blogsy-svg-icon--pause").css("display","none"),n.find(".blogsy-svg-icon--play").css("display","inline-block")))})}),e(".blogsy-post-load-more").on("click",async function(s){s.preventDefault();const o=e(this);if(o.hasClass("hide"))return;const t=o.next(".blogsy-post-load-more-loader"),n=o.closest(".blogsy-posts-container").find(".blogsy-posts-wrapper"),i=o.data("widget-id"),a=o.data("post-id"),r=o.data("current-page")+1,l=await blogsy.getNonces();e.post({url:blogsy_ajax_object.AjaxUrl,data:{action:"blogsy_get_load_more_posts",nonce:l.load_more_posts,widgetId:i,postId:a,pageNumber:r,qVars:"undefined"!=typeof blogsyLoadMoreQVars?blogsyLoadMoreQVars:""},dataType:"json",beforeSend(){o.addClass("hide"),t.addClass("show")},success(s){if(s.data){let o=e(s.data);n.append(o),n.hasClass("layout-masonry")&&n.masonry("appended",o)}s.no_more?(t.remove(),o.remove()):o.data("current-page",r)},complete(){o.removeClass("hide"),t.removeClass("show")}})}),e('.blogsy-social-icons a[href=""], .blogsy-social-icons a[href="#"]').on("click",e=>e.preventDefault()),u(e("#blogsy-hero")),y(e("#blogsy-pyml"));const f={container:e(".blogsy-stories"),activeStoryId:null,allStoryIds:[],activeStoryCount:null,storiesWrap:e(".blogsy-stories .blogsy-stories-box"),storiesPopup:e(".blogsy-stories .stories-popup .stories-popup__inner"),actionButtons:e(".blogsy-stories .stories-popup__actions"),storyArrows:e(".blogsy-stories .stories-popup__arrows"),swiper:null,secondarySwiper:null,swiperInstances:{},isPaused:!1,outsideClickEnabled:!1,isRtl:"rtl"===document.documentElement.dir||"rtl"===document.body.dir,pendingTimeouts:[],isStoriesOpe
1n:!1,init:function(){if(!this.container.length)return;this.outsideClickEnabled=this.container.hasClass("outside-click--enabled"),this.countClick(),this.storyClick(),this.close(),this.pause(),this.closePopupOnESCPress(),e("body").css({"--expandWidth-timer":"5s"});let s=this;this.container.find(".stories-popup__slide").each(function(){let o=e(this).data("id");o&&s.allStoryIds.push(o)})},countClick:function(){this.container.on("click",".stories-popup__slide .story-count",function(e){e.stopPropagation()})},storyClick:function(){let s=this;this.container.on("click",".blogsy-stories-box .stories-popup__slide",function(o){o.preventDefault();let t=e(this),n=t.data("id"),i=t.data("count"),a=t.closest(".blogsy-stories").data("max-inner-items")??4;n&&(s.activeStoryId=n,s.activeStoryCount=i,s.storiesPopup.parent().addClass(`term-id-${n}`),e("body").addClass("stories--open"),s.isStoriesOpen=!0,s.container.hasClass("added")?s.openStory():s.ajaxCall(a))})},openStory:function(){let s=this;s.initMainSwiper(),s.storiesPopup.parent().addClass("open");let o=s.storiesPopup.find(`.stories-popup__story-wrap[data-id="${s.activeStoryId}"]`);if(o.length){s.initSecondarySwiper(o);let e=o.find(".stories-popup__slide:first .image-wrapper img").first();s.addBackDrop(e),s.actionButtons.appendTo(o.parent()),s.storyArrows.appendTo(o.parent())}if(s.swiper){let o=s.swiper.slides.findIndex(o=>e(o).data("id")==s.activeStoryId);-1!==o&&s.swiper.slideTo(o,0)}s.container.addClass("added")},ajaxCall:async function(s){let o=this;const t=await blogsy.getNonces();e.ajax({method:"POST",url:blogsy_ajax_object.AjaxUrl,data:{action:"blogsy_stories_ajax_call",_wpnonce:t.story,storyIds:o.allStoryIds,count:o.activeStoryCount,inner_count:s},beforeSend:function(){o.storiesWrap.addClass("retrieving-stories"),o.storiesWrap.css("cursor","wait")},success:function(e){let{success:s,data:t}=e;s&&t?(o.storiesPopup.html(t),o.openStory(),o.storiesPopup.parent().addClass("open")):console.log("Failed to load stories")},error:function(e,s,o){console.log("AJAX Error:",o)},complete:function(){o.storiesWrap.removeClass("retrieving-stories"),o.storiesWrap.css("cursor","default")}})},initMainSwiper:function(){let e=this;e.swiper&&(e.swiper.destroy(!0,!0),e.swiper=null),e.swiper=new Swiper(e.storiesWrap.get(0),{slidesPerView:1,effect:"fade",fadeEffect:{crossFade:!0},loop:!1,speed:300,allowTouchMove:!0,direction:"horizontal",rtl:e.isRtl,spaceBetween:15,navigation:{nextEl:".blogsy-stories .stories-popup__arrows .swiper-button-next",prevEl:".blogsy-stories .stories-popup__arrows .swiper-button-prev",disabledClass:"disabled"},on:{init:function(){e.updateArrowsState(this)},slideChange:function(){e.onMainSlideChange(this)}}})},onMainSlideChange:function(s){let o=this;o.resumeFromPause();let t=e(s.slides[s.activeIndex]).data("id"),n=o.storiesPopup.find(`.stories-popup__story-wrap[data-id="${t}"]`);n.length&&(o.cancelPendingTimeouts(),o.secondarySwiper&&o.activeStoryId!==t&&(o.secondarySwiper.destroy(!0,!0),o.secondarySwiper=null),o.activeStoryId=t,o.storiesPopup.parent().removeClass((e,s)=>(s.match(/\bterm-id-\S+/g)||[]).join(" ")).addClass(`term-id-${o.activeStoryId}`),o.initSecondarySwiper(n),o.actionButtons.appendTo(n.parent()),o.storyArrows.appendTo(n.parent()),o.addBackDrop(n.find(".stories-popup__slide:first .image-wrapper img").first()),o.updateArrowsState(s))},initSecondarySwiper:function(s){let o=this,t=e(s);if(!t.length)return;let n=t.find(".swiper").get(0);n&&(o.secondarySwiper&&(o.secondarySwiper.destroy(!0,!0),o.secondarySwiper=null),o.secondarySwiper=new Swiper(n,{slidesPerView:1,effect:"fade",fadeEffect:{crossFade:!0},loop:!1,speed:300,autoplay:{delay:5e3,disableOnInteraction:!1,pauseOnMouseEnter:!1},allowTouchMove:!0,direction:"horizontal",rtl:o.isRtl,pagination:{el:t.find(".swiper-pagination").get(0),clickable:!0,renderBullet:function(e,s){return`<span class="${s}"></span>`}},navigation:{nextEl:t.find(".swiper-button-next").get(0),prevEl:t.find(".swiper-button-prev").get(0)},on:{init:function(){let s=e(this.slides[this.activeIndex]);o.addBackDrop(s.find(".image-wrapper img")),o.checkThumbnail(s)},slideChange:function(){o.onSecondarySlideChange(this)}}}))},onSecondarySlideChange:function(s){let o=this;o.resumeFromPause();let t=s.activeIndex,n=e(s.slides[t]);o.addBackDrop(n.find(".image-wrapper img")),o.checkThumbnail(n),o.scheduleEndOfStoryAdvance(s)},resumeFromPause:function(){let e=this;if(!e.isPaused)return;e.isPaused=!1;const s=e.container.find(".stories-popup__button.pause");s.removeClass("paused"),s.find(".blogsy-svg-icon--play").css("display","none"),s.find(".blogsy-svg-icon--pause").css("display","inline-block"),e.secondarySwiper&&e.secondarySwiper.autoplay&&(e.secondarySwiper.autoplay.start(),e.scheduleEndOfStoryAdvance(e.secondarySwiper))},scheduleEndOfStoryAdvance:function(e){let s=this;if(!e||s.isPaused)return;if(!(e.activeIndex===e.slides.length-1))return;let o=setTimeout(()=>
1{s.isStoriesOpen&&!s.isPaused&&(s.swiper&&!s.swiper.destroyed&&s.swiper.slides&&s.swiper.slides.length>0&&!s.swiper.isEnd?s.swiper.slideNext():s.closeStories(),s.pendingTimeouts=s.pendingTimeouts.filter(e=>e!==o))},4400);s.pendingTimeouts.push(o)},checkThumbnail:function(e){let s=e.closest(".stories-popup__story");e.hasClass("no-thumb")?s.addClass("no-thumb"):s.removeClass("no-thumb")},updateArrowsState:function(s){let o=e(".blogsy-stories .stories-popup__arrows .swiper-button-prev"),t=e(".blogsy-stories .stories-popup__arrows .swiper-button-next");s.isBeginning?o.addClass("disabled"):o.removeClass("disabled"),s.isEnd?t.addClass("disabled"):t.removeClass("disabled")},close:function(){let e=this;e.container.find(".stories-popup__button.close").on("click",function(){e.closeStories()})},closeStories:function(){let s=this;s.isStoriesOpen=!1,s.cancelPendingTimeouts(),e("body").removeClass("stories--open"),s.storiesPopup.parent().removeClass("open"),s.swiper&&!s.swiper.destroyed&&s.swiper.el&&(s.swiper.destroy(!0,!0),s.swiper=null),s.secondarySwiper&&!s.secondarySwiper.destroyed&&s.secondarySwiper.el&&(s.secondarySwiper.destroy(!0,!0),s.secondarySwiper=null),s.container.find(".stories-popup__backdrop").css({"background-image":""});const o=s.container.find(".stories-popup__button.pause");o.removeClass("paused"),o.find(".blogsy-svg-icon--play").css("display","none"),o.find(".blogsy-svg-icon--pause").css("display","inline-block"),s.activeStoryId=null,s.activeStoryCount=null,s.isPaused=!1,s.storiesPopup.parent().removeClass(function(e,s){return(s.match(/\bterm-id-[^\s]+/g)||[]).join(" ")}),s.storiesWrap.find(".stories-popup__slide").removeAttr("style")},pause:function(){let s=this;s.container.find(".stories-popup__button.pause").on("click",function(){let o=e(this);o.toggleClass("paused"),s.isPaused=o.hasClass("paused"),s.isPaused&&s.cancelPendingTimeouts(),o.hasClass("paused")?(o.find(".blogsy-svg-icon--pause").css("display","none"),o.find(".blogsy-svg-icon--play").css("display","inline-block")):(o.find(".blogsy-svg-icon--play").css("display","none"),o.find(".blogsy-svg-icon--pause").css("display","inline-block")),s.secondarySwiper&&s.secondarySwiper.autoplay&&(o.hasClass("paused")?s.secondarySwiper.autoplay.stop():(s.secondarySwiper.autoplay.start(),s.scheduleEndOfStoryAdvance(s.secondarySwiper)))})},addBackDrop:function(s){let o=e(s);if(o.length){let e=o.attr("src");e&&this.container.find(".stories-popup__backdrop").css({"background-image":"url("+e+")"})}else this.container.find(".stories-popup__backdrop").css({"background-image":"none"})},closePopupOnESCPress:function(){let s=this;e(document).on("keydown.StoriesPopup",function(o){27===o.keyCode&&e("body").hasClass("stories--open")&&s.closeStories()})},cancelPendingTimeouts:function(){this.pendingTimeouts.forEach(e=>{clearTimeout(e)}),this.pendingTimeouts=[]}};e(document).ready(function(){f.init()}),window.blogsy=window.blogsy||{},window.blogsy.blogsyHeroSlider=u,window.blogsy.blogsyPymlSlider=y;let h=null,g=null;window.blogsy.getNonces=async function(){return h||(g??=fetch(blogsy_ajax_object.AjaxUrl+"?action=blogsy_get_nonces").then(e=>e.json()).then(e=>(h=e.data,h)),g)}}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.