PageSourceSearch

https://www.barracuda.com/etc.clientlibs/barracuda-core/clientlibs…/resources/1363-bf2e431dd8ff704069db.js

js barracuda.com collected 2026-09-24 06:45:22 UTC 8,004 bytes, 1 lines download raw bytes

1(self.webpackChunkaem_module_ui_frontend=self.webpackChunkaem_module_ui_frontend||[]).push([[1363,1506],{1363:(i,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>r});var a=e(2749),n=e(3395),s=e(9755),o=e.n(s),p=e(1506);class r extends a.Z{constructor(i){if(super(i),this.S_RESULTS_CONTAINER=".js-cmp-blog-list",this.S_PAGINATOR_TOP=".js-cmp-blog-list__pagination.top-pag",this.S_PAGINATOR_BOTTOM=".js-cmp-blog-list__pagination.bottom-pag",this.S_BLOG_ARTICLE=".js-cmp-blog-list__article",this.S_HERO_H1=".cmp-hero-banner__title",this.S_HERO_BANNER=".cmp-hero-banner",this.S_FEATURED_BLOG_POST=".cmp-featured-blog-post",this.readMore="",this.setPagination=(i,t)=>{if(i.pagination.pages[t].index-i.pagination.pages[0].index<3)if(i.pagination.pages.length>5){for(let e=0;e<i.pagination.pages[t].index+1;e+=1)i.pagination.pages[e].index===i.pagination.pages[t].index?this.printNumberPage(i.pagination.pages[e].index,"","","--active"):this.printNumberPage(i.pagination.pages[e].index);this.printDots(),this.printNumberPage(i.pagination.pages[i.pagination.pages.length-1].index),this.printNumberPage(i.pagination.pages[t+1].index,"→")}else for(let e=0;e<i.pagination.pages.length;e+=1)i.pagination.pages[e].index===i.pagination.pages[t].index?this.printNumberPage(i.pagination.pages[e].index,"","","--active"):this.printNumberPage(i.pagination.pages[e].index);else if(i.pagination.pages[t].index-i.pagination.pages[0].index>2&&i.pagination.pages[i.pagination.pages.length-1].index-i.pagination.pages[t].index>2)this.printNumberPage(i.pagination.pages[t-1].index,"←","prev"),this.printNumberPage(i.pagination.pages[0].index),this.printDots(),this.printNumberPage(i.pagination.pages[t-1].index),this.printNumberPage(i.pagination.pages[t].index,"","","--active"),this.printNumberPage(i.pagination.pages[t+1].index),this.printDots(),this.printNumberPage(i.pagination.pages[i.pagination.pages.length-1].index),this.printNumberPage(i.pagination.pages[t+1].index,"→","next");else if(i.pagination.pages[i.pagination.pages.length-1].index-i.pagination.pages[t].index<3){this.printNumberPage(i.pagination.pages[t-1].index,"←","prev"),this.printNumberPage(i.pagination.pages[0].index),this.printDots();for(let e=i.pagination.pages[t].index-2;e<i.pagination.pages[i.pagination.pages.length-1].index;e+=1)i.pagination.pages[e].index===i.pagination.pages[t].index?this.printNumberPage(i.pagination.pages[e].index,"","","--active"):this.printNumberPage(i.pagination.pages[e].index)}},this.printNumberPage=(i,t,e,a)=>{const n=`<a class="cmp-blog-list__pagination__page-number js-cmp-blog-list__pagination__page-number \n    cmp-blog-list__pagination__page-number${a||""}" data-page="${i}"> \n    ${t||i} </a>`;this.$topPaginatorWrapper.append(n),this.$bottomPaginatorWrapper.append(n);const s=this.$topPaginatorWrapper.children().last(),o=this.$bottomPaginatorWrapper.children().last(),p=this.$endpoint.split("."),r=p.length;i&&a&&(this.$actualPageNumber=i);const g=(i-1)*this.$limit;p.splice(r-1,0,`offset_${g}`);const l=p.join(".");s.on("click",(()=>{this.loadPages(i-1,l)})),o.on("click",(()=>{this.loadPages(i-1,l)}))},this.printDots=()=>{const i='<span class="cmp-blog-list__pagination__page-number js-cmp-blog-list__pagination__page-number dots" href=""> ... </span>';this.$topPaginatorWrapper.append(i),this.$bottomPaginatorWrapper.append(i)},this.$topPaginatorWrapper=o()(this.S_PAGINATOR_TOP,this.$cmp),this.$bottomPaginatorWrapper=o()(this.S_PAGINATOR_BOTTOM,this.$cmp),this.$heroH1=o()(this.S_HERO_H1),this.$heroBannerOuterWrap=o()(this.S_HERO_BANNER).parent().parent().parent(),this.$featuredBlogPost=o()(this.S_FEATURED_BLOG_POST),this.$endpoint=o()(this.$cmp).data("endpointPath"),this.$selectType=o()(this.$cmp).data("cmpVariation"),this.$enablePagination=o()(this.$cmp).data("enablePagination"),this.readMore=o()(this.$cmp).data("readMore"),this.$limit=o()(this.$cmp).data("limit"),this.$url=window.location.href,this.$actualPageNumber=0,(window.location.href.indexOf("/page")>-1||window.location.href.indexOf(".page.")>-1)&&this.isWithSelector()){let i;if(window.location.href.indexOf("/page")>-1&&(i=window.location.href.split("page")[1].replace(/\//g,"")),window.location.href.indexOf(".page.")>-1&&(i=window.location.href.split(".page.")[1].split(".html")[0]),Number.isNaN(i))this.loadPages(0,this.$endpoint,!0);else{const t=this.$endpoint.split("."),e=t.length,a=(i-1)*this.$limit;t.splice(e-1,0,`offset_${a}`),this.loadPages(Number(i)-1,t.join("."),!0)}}else this.loadPages(0,this.$endpoint,!0)}actionForPage1(){const i=o()("#hidden-h1");i.length&&i.remove(),this.$heroBannerOuterWrap.removeClass("hide"),this.$featuredBlogPost.removeClass("hide")}actionForPage2(){if(!o()("#hidden-h1").length){const i=this.$heroH1.clone().attr("id","hidden-h1");this.$heroBannerOuterWrap.after(i)}this.$heroBannerOuterWrap.addClass("hide"),this.$featuredBlogPost.addClass("hide")}isWithSelector(){let i=!1;return this.$selectType&&"blog-list-with-selector"===this.$selectType&&(i=!0),i}loadPages(i,t,e=!1){i+1===1?this.actionForPage1():i+1>=1&&this.actionForPage2();const a=o()(this.S_BLOG_ARTICLE,this.$cmp),s=o()(this.S_PAGINATOR_TOP,this.$cmp),r=o()(this.S_PAGINATOR_BOTTOM,this.$cmp);let g="";if(a.remove(),!e&&this.isWithSelector()){if(window.location.href.indexOf(".page.")>-1){if(window.location.href.indexOf(".page.")>-1){const t=`${window.location.href.split(".page.")[0].replace(/\/?$/,"")}.page.`,e=window.location.href.split(".page.")[1].split(".html")[1];g=`${t}${i+1}.html`,e&&(g=`${t}${i+1}.html${e}`)}}else g=-1===window.location.href.indexOf("/page")?window.location.href&&"/"===window.location.href[window.location.href.length-1]?`${window.location.href}page/${i+1}`:`${window.location.href}/page/${i+1}`:`${window.location.href.split("page")[0].replace(/\/?$/,"")}/page/${i+1}`;window.history.pushState("","",g),window.history.replaceState("","",g)}s.empty(),r.empty(),window.scrollTo({top:0,behavior:"smooth"}),o().get(t).done((t=>{const e=t.blogs,a=[];e.forEach((i=>{a.push(o()((0,p.default)(i,this.readMore)))})),o()(this.S_RESULTS_CONTAINER).append(a),this.$enablePagination&&this.setPagination(t,i),window.scrollTo({top:0})})).catch((i=>{n.Z.error(i)}))}}},1506:(i,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>a});const a=(i,t="")=>{const e=i.pageTitle||i.title;return`<div class="cmp-blog-list__article js-cmp-blog-list__article">\n          <a href="${i.link}">\n            <img class="cmp-blog-list__article__img" \n            src="${i.image}" alt="">\n          </a>\n          <div class="cmp-blog-list__article__content">\n            <a  class="cmp-blog-list__article__content__title"\n            href="${i.link}">\n                  ${e}\n            </a>\n            <div class="cmp-blog-list__article__content__info">\n              <a class="cmp-blog-list__article__content__info__link cmp-blog-list__article__content__info__link__date\n               ${i.formattedPublicationDate}" href="${i.link}">\n                ${i.formattedPublicationDate} \n              </a>
1\n              <span class="cmp-blog-list__article__content__divide">\n              |</span> \n              <a class="cmp-blog-list__article__content__info__link cmp-blog__list__article__content__info__link__author" \n              href="${i.authorPageLink}">\n                ${i.authorName} \n              </a>\n            </div>\n            <div class="cmp-blog-list__article__content__short-description">\n              ${i.description?i.description:""}\n            </div>\n            <div class="cmp-button cmp-button--v1">\n              <div class="cmp-button--secondary-wrapper">\n                <a role="button" href="${i.link}" class="cmp-button__cta secondary-light transparent-arrow" target="_self">\n                  <span class="cmp-button__cta__text">${t}</span>\n                  <img alt="" src="/content/dam/barracuda-corp/icons/arrow-000000.svg" width="18" height="18">\n                </a>\n              </div>\n            </div>\n          </div>\n          </div>`}}}]);

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.