PageSourceSearch

https://www.jared.com/scripts/signet-hero-pack.module-6NIM2LKP.js

js jared.com collected 2026-09-25 20:43:22 UTC 3,325 bytes, 1 lines download raw bytes

1import{u as F}from"./chunk-F2UDG76F.js";import{a as N}from"./chunk-HWMTSDLJ.js";import{v as $,w as R,y as j}from"./chunk-WFKL35DD.js";import"./chunk-2CBKXUP7.js";import{$c as E,fa as T}from"./chunk-DM3NC7AB.js";import{$b as k,Ac as H,Bc as m,Cc as c,Dc as r,Ec as P,Fa as b,Jb as o,Oe as O,Rc as l,Wb as a,a as g,ac as w,be as I,fc as f,hb as S,ta as y,uc as p,ve as M,w as v,wa as h,wc as s,x as _,yc as x,zc as D}from"./chunk-WVBH4ZDA.js";import{a as d,b as u}from"./chunk-YDOXD4O3.js";function V(n,t){}function B(n,t){if(n&1&&f(0,V,0,0,"ng-template",6),n&2){let e=l().$implicit;m("cxComponentWrapper",e)}}function G(n,t){if(n&1&&(c(0,"div",4),p(1,B,1,1,null,6),r()),n&2){let e=t.$implicit;o(),s(e?1:-1)}}function L(n,t){if(n&1&&(c(0,"div",1)(1,"div",2)(2,"div",3),D(3,G,2,1,"div",4,x),r(),P(5,"div",5),r()()),n&2){let e=l();o(),m("ngClass",e.uid?e.uid:""),o(2),H(e.packComponents),o(2),m("ngClass",e.uid+"-swiper-pagination")}}function U(n,t){}function q(n,t){if(n&1&&f(0,U,0,0,"ng-template",6),n&2){let e=l(2);m("cxComponentWrapper",e.packComponents[0])}}function A(n,t){if(n&1&&(c(0,"div",1)(1,"div"),p(2,q,1,1,null,6),r()()),n&2){let e=l();o(2),s(e.packComponents&&e.packComponents[0]?2:-1)}}var C=class n{constructor(t,e,i,J,K){this.cmsComponentData=t;this.cmsService=e;this.changeDetect=i;this.elementRef=J;this.minHeightService=K;this.subscriptions$=new g;this.packComponents=[];this.components$=this.cmsComponentData.data$.pipe(h(t=>{this.minHeightService?.setMinHeightFromCMS(t,this.elementRef);let e=t;e.uid&&this.setComponentProperties(e)}),y(t=>_((t?.packComponents??"").split(" ").map(e=>this.cmsService.getComponentData(e).pipe(v(i=>{if(i)return i.flexType||(i=u(d({},i),{flexType:i.typeCode})),d({},i)}))))))}ngOnInit(){this.subscriptions$.add(this.components$.subscribe(t=>{t&&(this.packComponents=t.filter(e=>e!==void 0),this.packComponents.length>0&&(this.changeDetect.detectChanges(),this.swiperConfig()))}))}setComponentProperties(t){this.uid=t.uid}swiperConfig(){this.config={slidesPerView:1,slidesPerGroup:1,direction:"horizontal",autoplay:!1,allowTouchMove:!0,preloadImages:!1,lazy:!0,loop:!1,rewind:!0,pagination:{enabled:!0,clickable:!0,el:`.${this.uid}-swiper-pagination`,type:"bullets"},a11y:{enabled:!0},keyboard:{enabled:!0,onlyInViewport:!0,pageUpDown:!0}},this.swiper=new F("."+this.uid,this.config)}ngOnDestroy(){this.swiper&&(this.swiper.detachEvents(),this.swiper.destroy()),this.subscriptions$.unsubscribe()}static{this.\u0275fac=function(e){return new(e||n)(a($),a(E),a(I),a(S),a(N))}}static{this.\u0275cmp=k({type:n,selectors:[["app-signet-hero-pack"]],standalone:!1,decls:3,vars:2,consts:[[1,"signet-hero-pack","se-component"],[1,"simple-banner-components-pack"],[1,"swiper",3,"ngClass"],[1,"swiper-wrapper"],[1,"swiper-slide"],[1,"swiper-pagination",3,"ngClass"],[3,"cxComponentWrapper"]],template:function(e,i){e&1&&(c(0,"div",0),p(1,L,6,2,"div",1),p(2,A,3,1,"div",1),r()),e&2&&(o(),s(i.packComponents&&i.packComponents.length>1?1:-1),o(),s(i.packComponents&&i.packComponents.length===1?2:-1))},dependencies:[M,R],encapsulation:2})}};var W=class n{static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275mod=w({type:n})}static{this.\u0275inj=b({providers:[T({cmsComponents:{SignetHeroPackComponent:{component:C}}})],imports:[O,j]})}};export{W as SignetHeroPackModule};

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.