PageSourceSearch

https://glaciercitygazette.net/wp-content/plugins/qode-news/assets/js/news.min.js?ver=5.2.1

js glaciercitygazette.net collected 2026-10-02 05:42:33 UTC 9,708 bytes, 1 lines download raw bytes

1!function(e){"use strict";function a(){t(),c(),r(),l()}function n(){i().init()}function d(){l()}function o(){i().scroll()}function i(){var a=e(".qode-news-holder"),n=function(a){var n=a.find(".qode-news-standard-pagination li");n.length&&n.each(function(){var n=e(this).children("a"),d=1;n.on("click",function(e){e.preventDefault(),e.stopPropagation(),void 0!==n.data("paged")&&!1!==n.data("paged")&&(d=n.data("paged")),i(a,d)})})},d=function(e){e.find(".qode-news-load-more-pagination a").on("click",function(a){a.preventDefault(),a.stopPropagation(),i(e)})},o=function(e){var a=e.outerHeight(),n=e.offset().top,d=a+n-add_for_admin_bar;!e.hasClass("qode-news-pag-infinite-scroll-started")&&$scroll+$window_height>d&&i(e)},i=function(a,n){var d,o,i,l=a.find(".qode-news-list-inner-holder");void 0!==a.data("max-num-pages")&&!1!==a.data("max-num-pages")&&(o=a.data("max-num-pages")),a.hasClass("qode-news-pag-standard")&&(a.data("next-page",n),i=a.data("pagination-numbers-amount")),a.hasClass("qode-news-pag-infinite-scroll")&&a.addClass("qode-news-pag-infinite-scroll-started");var c=qode.modules.common.getLoadMoreData(a),f=a.find(".qode-news-pag-loading");if((d=c.nextPage)<=o){a.hasClass("qode-news-pag-standard")?(f.addClass("qode-showing qode-news-pag-standard-trigger"),a.addClass("qode-news-standard-pag-animate")):f.addClass("qode-showing");var g=qode.modules.common.setLoadMoreAjaxData(c,"qode_news_shortcodes_load_more");e.ajax({type:"POST",data:g,url:QodeAdminAjax.ajaxurl,success:function(n){a.hasClass("qode-news-pag-standard")||d++,a.data("next-page",d);var c=e.parseJSON(n),g=c.html;a.hasClass("qode-news-pag-standard")?(s(a,o,d,i),a.waitForImages(function(){t(a,l,f,g)})):a.waitForImages(function(){r(l,f,g)}),a.hasClass("qode-news-pag-infinite-scroll-started")&&a.removeClass("qode-news-pag-infinite-scroll-started")}})}d===o&&a.find(".qode-news-load-more-pagination").hide()},t=function(e,a,n,d){n.removeClass("qode-showing qode-news-pag-standard-trigger"),e.removeClass("qode-news-standard-pag-animate"),a.html(d),a.trigger("qodeNewsAfterPagination",[a,d])},r=function(e,a,n){a.removeClass("qode-showing"),e.append(n),e.trigger("qodeNewsAfterPagination",[e,n])};return{init:function(){a.length&&a.each(function(){var a=e(this);a.hasClass("qode-news-pag-standard")&&n(a),a.hasClass("qode-news-pag-load-more")&&d(a),a.hasClass("qode-news-pag-infinite-scroll")&&o(a)})},scroll:function(){a.length&&a.each(function(){var a=e(this);a.hasClass("qode-news-pag-infinite-scroll")&&o(a)})}}}function t(){var a=e(".qode-news-holder");a.length&&a.each(function(){var a=e(this),n=a.find(".qode-news-filter");if(n.length){var d=n.find(".qode-news-filter-item"),o=n.data("filter-by");d.first().addClass("qode-news-active-filter"),d.click(function(n){n.preventDefault(),n.stopPropagation();var d=e(this),t=d.data("filter");d.hasClass("qode-news-active-filter")||(d.siblings().removeClass("qode-news-active-filter"),d.addClass("qode-news-active-filter"),a.addClass("qode-news-filter-activated"),i(a,o,t))});var i=function(a,n,d){var o=a.find(".qode-news-list-inner-holder"),i=a.find(".qode-news-filter-loading");i.addClass("qode-news-activate");var r=qode.modules.common.getLoadMoreData(a);switch(n){case"category":r.categoryName=d;break;case"tag":r.tag=d}var l=qode.modules.common.setLoadMoreAjaxData(r,"qode_news_shortcodes_filter");e.ajax({type:"POST",data:l,url:QodeAdminAjax.ajaxurl,success:function(r){var l=e.parseJSON(r),c=l.html,f=l.newQueryParams;switch(a.data("max-num-pages",f.max_num_pages),a.data("next-page",parseInt(f.paged)+1),n){case"category":a.data("category-name",d);break;case"tag":a.data("tag",d)}if(a.data("max-num-pages")==a.data("paged")?a.find(".qode-news-load-more-pagination").hide():a.find(".qode-news-load-more-pagination").show(),a.hasClass("qode-news-pag-infinite-scroll-started")&&a.removeClass("qode-news-pag-infinite-scroll-started"),a.find(".qode-news-standard-pagination").length){var g=a.find(".qode-news-standard-pagination"),u=g.find("li.qode-news-pag-number"),p=g.find("li.qode-news-pag-last-page a"),q=a.data("max-num-pages"),h=a.data("pagination-numbers-amount");s(a,q,1,h),1==q?g.hide():g.show(),p.data("paged",q),q<=h?u.each(function(a){var n=e(this);a>=q?n.hide():n.show()}):u.show()}
1a.waitForImages(function(){t(a,o,c),i.removeClass("qode-news-activate"),a.removeClass("qode-news-filter-activated")})}})},t=function(e,a,n){a.html(n),a.trigger("qodeNewsAfterPagination",[a,n])}}})}function s(e,a,n,d){var o=e.find(".qode-news-standard-pagination"),i=o.find("li.qode-news-pag-number"),t=o.find("li.qode-news-pag-prev a"),s=o.find("li.qode-news-pag-next a"),r=o.find("li.qode-news-pag-first-page a"),l=o.find("li.qode-news-pag-last-page a"),c=1,f=d,g=Math.floor(d/2)+1;if(d>a&&(d=a),t.data("paged",n-1),s.data("paged",n+1),n>1?t.css({opacity:"1"}):t.css({opacity:"0"}),n===a?s.css({opacity:"0"}):s.css({opacity:"1"}),n>g?r.css({opacity:"1"}):r.css({opacity:"0"}),n<a-g+1?l.css({opacity:"1"}):l.css({opacity:"0"}),n>=g&&n<=a-g+1)for(i.eq(g-1).find("a").data("paged",n),i.eq(g-1).find("a").html(n),i.removeClass("qode-news-pag-active"),i.eq(g-1).addClass("qode-news-pag-active");c<g;)i.eq(g-c-1).find("a").data("paged",n-c),i.eq(g-c-1).find("a").html(n-c),i.eq(g+c-1).find("a").data("paged",n+c),i.eq(g+c-1).find("a").html(n+c),c++;else if(n<g){for(;c<=d;)i.eq(c-1).find("a").data("paged",c),i.eq(c-1).find("a").html(c),c++;i.removeClass("qode-news-pag-active"),i.eq(n-1).addClass("qode-news-pag-active")}else{for(;f>0;)i.eq(d-f).find("a").data("paged",a-f+1),i.eq(d-f).find("a").html(a-f+1),f--;i.removeClass("qode-news-pag-active"),i.eq(d-(a-n)-1).addClass("qode-news-pag-active")}}function r(){var a=e(".qode-self-hosted-video, .qode-news-audio");a.length&&a.mediaelementplayer({audioWidth:"100%"})}function l(){var a=e(".qode-self-hosted-video-holder .qode-video-wrap");a.length&&a.each(function(){var a=e(this),n=a.closest(".qode-self-hosted-video-holder").outerWidth(),d=a.find(".mejs-container"),o=d.width()/d.height(),i=n/o;
1navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(a.parent().width(n),a.parent().height(i)),a.addClass("qode-video-ratio-set"),a.width(n),a.height(i),a.find("video, .mejs-overlay, .mejs-poster").width(n),a.find("video, .mejs-overlay, .mejs-poster").height(i)})}function c(){e(".qode-news-video-holder, .qode-news-video-holder").fitVids()}var f={};qode.modules.news=f,f.qodeOnDocumentReady=a,f.qodeOnWindowLoad=n,f.qodeOnWindowResize=d,f.qodeOnWindowScroll=o,e(document).ready(a),e(window).load(n),e(window).resize(d),e(window).scroll(o)}(jQuery),function(e){"use strict";function a(){n()}function n(){var a=e(".qode-news-reactions"),n=a.data("post-id");if(a.length){a.find(".qode-reaction").each(function(){var a=e(this),d=a.find(".qode-rt-value");a.on("click",function(o){o.preventDefault(),o.stopPropagation();var i=a.data("reaction");if(a.hasClass("reacted"))return!1;var t={action:"qode_news_reaction_update",reaction_slug:i,post_ID:n};e.ajax({type:"POST",data:t,url:QodeAdminAjax.ajaxurl,success:function(e){a.addClass("reacted");var n=parseInt(d.text())+1;d.text(n)}})})})}}var d={};qode.modules.reactions=d,d.qodeOnDocumentReady=a,e(document).ready(a)}(jQuery),function(e){"use strict";function a(){o()}function n(){}function d(){}function o(){var a=e(".qode-slider1-owl");a.length&&a.each(function(){var a=e(this),n=a.children().length,d=!1,o=!0,t=!1,s=!0;n<=1&&(d=!1,o=!1,t=!1,s=!1),a.owlCarousel({items:1,loop:d,autoplay:o,autoplayHoverPause:!1,autoplaySpeed:600,autoplayTimeout:4e3,margin:0,stagePadding:0,center:!1,autoWidth:!1,dots:s,nav:t,animateIn:"fadeIn",animateOut:"fadeOut",navText:['<span class="qode-prev-icon ion-ios-arrow-left"></span>','<span class="qode-next-icon ion-ios-arrow-right"></span>'],onInitialize:function(){a.css("visibility","visible")},onInitialized:function(n){var d=a.find(".owl-dots"),o=d.find(".owl-dot"),t=a.parents(".qode-slider1").data("content-padding");"yes"==a.parent().data("content-in-grid")?d.wrapAll('<div class="qode-slider1-nav-holder"><div class="container_inner"><div class="qode-slider-nav-holder-inner"><div class="qode-slider-nav-holder-inner2"></div></div></div></div>'):d.wrapAll('<div class="qode-slider1-nav-holder"><div class="qode-slider-nav-holder-inner"><div class="qode-slider-nav-holder-inner2"></div></div></div>'),void 0!==t&&d.parents(".qode-slider-nav-table").css({padding:t.replace(/,/g," ")}),o.each(function(n){var d=e(this),o=a.find(".owl-item").eq(n),i=o.find(".qode-news-item").data("date"),t=o.find(".qode-post-title a").html(),s=o.find(".qode-news-item").data("thumb-url");d.html('<div class="qode-slider1-pag-thumb"><img alt="thumb" src="'+s+'" /></div><div class="qode-slider1-pag-info-holder"><h5 class="qode-slider1-pag-title">'+t+'</h5><div class="qode-slider1-pag-date"><i class="dripicons-alarm"></i>'+i+"</div></div>")}),i(d)}})})}function i(e){e.length&&e.niceScroll({scrollspeed:60,mousescrollstep:40,cursorwidth:"2px",cursorborder:"0",cursorborderradius:0,cursorcolor:"#fff",background:"rgba(255,255,255,0.5)",autohidemode:!1,horizrailenabled:!1,zindex:5})}var t={};qode.modules.slider1=t,t.qodeInitslider1=o,t.qodeOnDocumentReady=a,t.qodeOnWindowLoad=n,t.qodeOnWindowResize=d,e(document).ready(a),e(window).load(n),e(window).resize(d)}(jQuery),function(e){"use strict";function a(){n()}function n(){var a=e(".qode-news-blog-cr-widget");a.length&&a.each(function(){var a=e(this),n=(a.find(".qode-news-bcr-opener-holder"),a.find(".qode-news-bcr-dropdown"));a.on("touchstart mouseenter",function(){n.addClass("opened")}),a.on("mouseleave",function(){n.removeClass("opened")})})}var d={};qode.modules.blogCategoriesReactionsWidget=d,d.qodeInitBlogCatReact=n,d.qodeOnDocumentReady=a,e(document).ready(a)}(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.