1"use strict";var K,j,$,F,k=Object.freeze,X=Object.defineProperty,P=(S,v)=>k(X(S,"raw",{value:k(v||S.slice())}));(self.webpackChunkDfsCard=self.webpackChunkDfsCard||[]).push([[2076],{1460:(S,v,s)=>{s.d(v,{C:()=>n});var t=s(3370),e=s(7193),I=s(3546),D=s(476),_=s(7320);function u(i,d){if(1&i&&t.\u0275\u0275element(0,"img",1),2&i){let o,h;const w=t.\u0275\u0275nextContext();t.\u0275\u0275property("src",null==(o=w.content().icon)?null:o.src,t.\u0275\u0275sanitizeUrl)("alt",(null==(h=w.content().icon)?null:h.alt)||"")}}function p(i,d){if(1&i&&t.\u0275\u0275element(0,"h3",2),2&i){const o=t.\u0275\u0275nextContext();t.\u0275\u0275property("innerHTML",o.content().headline,t.\u0275\u0275sanitizeHtml)}}function f(i,d){if(1&i&&t.\u0275\u0275element(0,"div",3),2&i){const o=t.\u0275\u0275nextContext();t.\u0275\u0275property("ngClass","Longform Carousel"===o.layout()?"lg:dfs-tw-text-[19px]":"lg:dfs-tw-text-[16px]")("innerHTML",o.content().subheadline,t.\u0275\u0275sanitizeHtml)}}let n=(()=>{var i;class d{constructor(){this.content=t.input.required(),this.layout=(0,t.input)("")}}return(i=d).\u0275fac=function(h){return new(h||i)},i.\u0275cmp=t.\u0275\u0275defineComponent({type:i,selectors:[["shared-carousel-item"]],inputs:{content:[1,"content"],layout:[1,"layout"]},decls:4,vars:4,consts:[[1,"dfs-tw-flex","dfs-tw-flex-col","dfs-tw-h-full","dfs-tw-bg-page","dfs-tw-rounded-medium","dfs-tw-shadow-[0px_2px_20px_0px_rgba(0,0,0,0.25)]","dfs-tw-py-[46px]","dfs-tw-border","dfs-tw-border-border-subtle",3,"ngClass"],["loading","lazy","sharedLazyLoad","",1,"dfs-tw-w-[70px]","dfs-tw-h-[51px]","dfs-tw-my-18",3,"src","alt"],["data-testid","carousel-item-headline",1,"dfs-tw-font-discover-semibold","dfs-tw-text-[22px]","dfs-tw-leading-[normal]","dfs-tw-mb-[15px]","dfs-tw-text-neutral-primary","[&_a]:!dfs-tw-text-interactive",3,"innerHTML"],["data-testid","carousel-item-subheadline",1,"dfs-tw-relative","dfs-tw-leading-[24px]","dfs-tw-text-neutral-primary","dfs-tw-flex-1","dfs-tw-m-0","[&_a]:!dfs-tw-text-interactive",3,"ngClass","innerHTML"]],template:function(h,w){1&h&&(t.\u0275\u0275elementStart(0,"article",0),t.\u0275\u0275conditionalCreate(1,u,1,2,"img",1),t.\u0275\u0275conditionalCreate(2,p,1,1,"h3",2),t.\u0275\u0275conditionalCreate(3,f,1,2,"div",3),t.\u0275\u0275elementEnd()),2&h&&(t.\u0275\u0275property("ngClass","Shortform Carousel"===w.layout()?"dfs-tw-px-[6%]":"dfs-tw-px-[9.6%]"),t.\u0275\u0275advance(),t.\u0275\u0275conditional(w.content().icon?1:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(w.content().headline?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(w.content().subheadline?3:-1))},dependencies:[e.xN,I.S,D.F,_.NgClass],encapsulation:2}),d})()},1546:(S,v,s)=>{s.d(v,{jY:()=>t.j});var t=s(5125)},2610:(S,v,s)=>{s.d(v,{b:()=>O});var t=s(7320),e=s(3370),D=s(2677),_=s(9480),g=s(5506),u=s(7193),p=s(2608),f=s(3546),n=s(476),i=s(5206);const d=(a,m)=>({text:a,href:m});function o(a,m){1&a&&e.\u0275\u0275element(0,"div",25),2&a&&e.\u0275\u0275property("innerHTML",m,e.\u0275\u0275sanitizeHtml)}function h(a,m){if(1&a&&(e.\u0275\u0275element(0,"dfs-card-art",24),e.\u0275\u0275conditionalCreate(1,o,1,1,"div",25)),2&a){let r;const E=m,T=e.\u0275\u0275nextContext();e.\u0275\u0275property("image",E)("linkHref",(null==E.link?null:E.link.href)||"")("brandCode",T.content().brandCode)("ribbonTextOverride",T.content().cardArtRibbonText)("showCardArtRibbon",!0),e.\u0275\u0275advance(),e.\u0275\u0275conditional((r=null==E?null:E.caption)?1:-1,r)}}function w(a,m){if(1&a&&e.\u0275\u0275element(0,"shared-rating-stars",4),2&a){const r=e.\u0275\u0275nextContext();e.\u0275\u0275property("content",r.ratingData())("productId",r.content().productId)("textAlignment","centered")("starSize","small")("textSize","small")}}function b(a,m){if(1&a&&e.\u0275\u0275element(0,"shared-element-button",6),2&a){const r=m.$implicit,E=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngClass",E.content().useGrid?"[&>a]:dfs-tw-w-full [&>a]:dfs-tw-px-08 dfs-tw-w-full":"[&>a]:dfs-tw-px-18")("fullWidth",!1)("config",r)}}function M(a,m){if(1&a&&e.\u0275\u0275element(0,"shared-element-link",7),2&a){const r=e.\u0275\u0275nextContext();e.\u0275\u0275property("config",e.\u0275\u0275pureFunction2(1,d,r.content().learnMoreCta.label,r.content().learnMoreCta.href))}}function H(a,m){if(1&a&&e.\u0275\u0275element(0,"img",26),2&a){const r=m;e.\u0275\u0275property("src",r.src,e.\u0275\u0275sanitizeUrl)("alt",r.alt)}}function C(a,m){if(1&a&&(e.\u0275\u0275elementStart(0,"div",13),e.\u0275\u0275conditionalCreate(1,H,1,2,"img",26),e.\u0275\u0275element(2,"div",27),e.\u0275\u0275elementEnd()),2&a){let r;const E=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275conditional((r=E.content().topIcon)?1:-1,r),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",E.content().topTagBrow,e.\u0275\u0275sanitizeHtml)}}function A(a,m){if(1&a&&e.\u0275\u0275element(0,"img",15),2&a){const r=m;e.\u0275\u0275property("src",r.src,e.\u0275\u0275sanitizeUrl)("alt",r.alt)}}function z(a,m){if(1&a&&e.\u0275\u0275element(0,"div",18),2&a){const r=e.\u0275\u0275nextContext();e.\u0275\u0275property("innerHTML",r.content().body,e.\u0275\u0275sanitizeHtml)}}function R(a,m){if(1&a&&e.\u0275\u0275element(0,"div",19),2&a){const r=e.\u0275\u0275nextContext();e.\u0275\u0275property("innerHTML",r.content().subheadline,e.\u0275\u0275sanitizeHtml)}}function y(a,m){if(1&a&&e.\u0275\u0275element(0,"div",20),2&a){const r=e.\u0275\u0275nextContext();e.\u0275\u0275property("innerHTML",r.content().disclosure,e.\u0275\u0275sanitizeHtml)}}function l(a,m){1&a&&e.\u0275\u0275elementContainer(0)}function x(a,m){1&a&&e.\u0275\u0275elementContainer(0)}function L(a,m){if(1&a&&(e.\u0275\u0275elementStart(0,"div",28)(1,"div",29),e.\u0275\u0275element(2,"div",30)(3,"div",31),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"div",32),e.\u0275\u0275elementEnd()),2&a){const r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",r.content().introApr,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("innerHTML",r.content().rates,e.\u0275\u0275sanitizeHtml)}}let O=(()=>{var a;class m{constructor(){this.content=e.input.required(),this.ratingData=(0,e.input)()}}return(a=m).\u0275fac=function(E){return new(E||a)},a.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["dfs-card-product-compare-stacked-card"]],inputs:{content:[1,"content"],ratingData:[1,"ratingData"]},decls:28,vars:13,consts:[["aprContent",""],[1,"dfs-tw-bg-page","dfs-tw-shadow-[0px_2px_20px_0px_rgba(0,0,0,0.25)]","dfs-tw-rounded-medium","dfs-tw-my-24","md:dfs-tw-p-[35px_45px_25px_35px]","lg:dfs-tw-p-[36px_48px_36px_36px]"],[1,"dfs-tw-flex","dfs-tw-flex-col","md:dfs-tw-flex-row","dfs-tw-w-full"],[1,"dfs-tw-flex","dfs-tw-flex-col","dfs-tw-min-w-[215px]","dfs-tw-mr-[28px]","md:dfs-tw-items-center"],[1,"dfs-tw-pb-[25px]",3,"content","productId","textAlignment","starSize","textSize"],[1,"dfs-tw-flex","dfs-tw-flex-col","dfs-tw-gap-24","dfs-tw-w-full","dfs-tw-items-center"],[1,"[&>a]:dfs-tw-max-w-[215px]",3,"ngClass","fullWidth","config"],[1,"dfs-tw-mt-[
115px]","dfs-tw-font-discover-semibold","no-link-underline",3,"config"],[1,"lg:dfs-tw-flex","lg:dfs-tw-flex-wrap","lg:dfs-tw-flex-1"],["data-testid","product-card-headline-link",1,"dfs-tw-text-interactive","dfs-tw-font-discover-semibold",3,"href"],["data-testid","product-card-headline",1,"dfs-tw-text-24","dfs-tw-leading-[normal]",3,"innerHTML"],[1,"dfs-tw-flex","dfs-tw-flex-col","lg:dfs-tw-flex-row","dfs-tw-pt-[20px]","dfs-tw-pb-[15px]","lg:dfs-tw-py-24"],[1,"lg:dfs-tw-basis-[55%]","lg:dfs-tw-mr-[28px]"],[1,"dfs-tw-flex","dfs-tw-mb-08"],[1,"dfs-tw-flex"],["data-testid","product-card-icon","sharedLazyLoad","",1,"dfs-tw-size-40","dfs-tw-mr-[10px]",3,"src","alt"],[1,"dfs-tw-pr-[10px]","dfs-tw-mb-[30px]","lg:dfs-tw-mb-none","dfs-tw-leading-[normal]","[&_em]:dfs-tw-block","[&_em]:dfs-tw-font-discover-bold","[&_em]:dfs-tw-not-italic","[&_em]:dfs-tw-leading-[1.5rem]","[&_em]:dfs-tw-pb-[5px]","[&_a]:dfs-tw-font-discover-bold","[&_a]:dfs-tw-underline",3,"innerHTML"],[1,"lg:dfs-tw-basis-[32%]","lg:dfs-tw-flex-grow","dfs-tw-text-[0.875rem]","dfs-tw-leading-[normal]","dfs-tw-tracking-medium"],["data-testid","product-card-body",1,"dfs-tw-cursor-default","dfs-tw-border-b-medium","dfs-tw-border-b-neutral-emphasis-low","dfs-tw-pb-[10px]","dfs-tw-mb-[10px]","[&_a]:dfs-tw-font-discover-bold","[&_a]:dfs-tw-underline",3,"innerHTML"],["data-testid","product-card-subheadline",1,"dfs-tw-cursor-default","dfs-tw-border-b-medium","dfs-tw-border-b-neutral-emphasis-low","dfs-tw-pb-[10px]","dfs-tw-mb-[10px]",3,"innerHTML"],[1,"[&_a]:dfs-tw-font-discover",3,"innerHTML"],[1,"dfs-tw-hidden","dfs-tw-basis-[100%]","lg:dfs-tw-flex"],[4,"ngTemplateOutlet"],[1,"dfs-tw-flex","lg:dfs-tw-hidden"],["imageClass","dfs-tw-inline-block dfs-tw-h-[130px] dfs-tw-w-[209px] lg:dfs-tw-h-auto lg:dfs-tw-w-[175px]",1,"lg:dfs-tw-mb-20",3,"image","linkHref","brandCode","ribbonTextOverride","showCardArtRibbon"],[1,"dfs-tw-pt-[5px]","dfs-tw-pb-[25px]","dfs-tw-text-12","dfs-tw-text-center",3,"innerHTML"],["data-testid","product-card-top-icon","sharedLazyLoad","",1,"dfs-tw-size-40","dfs-tw-mr-[10px]",3,"src","alt"],[1,"dfs-tw-pr-[10px]","dfs-tw-leading-[normal]","[&_em]:dfs-tw-block","[&_em]:dfs-tw-font-discover-bold","[&_em]:dfs-tw-not-italic","[&_em]:dfs-tw-leading-[1.5rem]","[&_em]:dfs-tw-pb-[5px]","[&_a]:dfs-tw-font-discover-bold","[&_a]:dfs-tw-underline",3,"innerHTML"],[1,"dfs-tw-flex","dfs-tw-tracking-medium","dfs-tw-w-full"],[1,"dfs-tw-basis-[50%]","dfs-tw-relative","dfs-tw-bg-[#f8f8f8]","dfs-tw-rounded-bl-[5px]","dfs-tw-rounded-tl-[5px]"],[1,"dfs-tw-py-[15px]","dfs-tw-pl-[20px]","dfs-tw-flex","dfs-tw-flex-col","dfs-tw-gap-[10px]","dfs-tw-leading-[normal]","[&_em]:dfs-tw-text-[19px]","[&_em]:dfs-tw-font-[700]","[&_em]:dfs-tw-font-discover-bold","[&_em]:dfs-tw-not-italic","[&_em]:dfs-tw-text-card-emphasis","[&_em]:dfs-tw-block",3,"innerHTML"],[1,"dfs-tw-absolute","dfs-tw-top-none","dfs-tw-left-[99.8%]","dfs-tw-z-default","dfs-tw-bg-[#f8f8f8]","dfs-tw-h-full","dfs-tw-w-40",2,"clip-path","polygon(0 0, 0 100%, 100% 50%)"],[1,"dfs-tw-flex-1","dfs-tw-bg-[#e9e9ec]","dfs-tw-justify-center","dfs-tw-rounded-tr-[5px]","dfs-tw-rounded-br-[5px]","dfs-tw-flex","dfs-tw-flex-col","dfs-tw-gap-[10px]","dfs-tw-py-[15px]","dfs-tw-pr-[24px]","dfs-tw-pl-[65px]","dfs-tw-leading-[normal]","md:[&_a]:dfs-tw-tracking-[-0.01rem]","lg:[&_a]:dfs-tw-tracking-[-0.01125rem]","md:[&_a]:dfs-tw-leading-[1.5rem]","lg:[&_a]:dfs-tw-leading-[1.6875rem]",3,"innerHTML"]],template:function(E,T){if(1&E&&(e.\u0275\u0275elementStart(0,"div",1)(1,"div",2)(2,"div",3),e.\u0275\u0275conditionalCreate(3,h,2,6),e.\u0275\u0275conditionalCreate(4,w,1,5,"shared-rating-stars",4),e.\u0275\u0275elementStart(5,"div",5),e.\u0275\u0275repeaterCreate(6,b,1,3,"shared-element-button",6,e.\u0275\u0275repeaterTrackByIndex),e.\u0275\u0275elementEnd(),e.\u0275\u0275conditionalCreate(8,M,1,4,"shared-element-link",7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",8)(10,"a",9),e.\u0275\u0275element(11,"h2",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",11)(13,"div",12),e.\u0275\u0275conditionalCreate(14,C,3,2,"div",13),e.\u0275\u0275elementStart(15,"div",14),e.\u0275\u0275conditionalCreate(16,A,1,2,"img",15),e.\u0275\u0275element(17,"div",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(18,"div",17),e.\u0275\u0275conditionalCreate(19,z,1,1,"div",18),e.\u0275\u0275conditionalCreate(20,R,1,1,"div",19),e.\u0275\u0275conditionalCreate(21,y,1,1,"div",20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(22,"div",21),e.\u0275\u0275template(23,l,1,0,"ng-container",22),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(24,"div",23),e.\u0275\u0275template(25,x,1,0,"ng-container",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(26,L,5,2,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)),2&E){let B,N,W;const U=e.\u0275\u0275reference(27);e.\u0275\u0275advance(3),e.\u0275\u0275conditional((B=T.content().image)?3:-1,B),e.\u0275\u0275advance(),e.\u0275\u0275conditional(T.content().hideReviews?-1:4),e.\u0275\u0275advance(2),e.\u0275\u0275repeater(T.content().ctas),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(T.content().learnMoreCta?8:-1),e.\u0275\u0275advance(2),e.\u0275\u0275property("href",null==(N=T.content().link)?null:N.href,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",T.content().headline,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(T.content().topTagBrow?14:-1),e.\u0275\u0275advance(2),e.\u0275\u0275conditional((W=T.content().icon)?16:-1,W),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",T.content().tagBrow,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(T.content().body?19:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(T.content().subheadline?20:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(T.content().disclosure?21:-1),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",U),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",U)}},dependencies:[t.NgClass,t.NgTemplateOutlet,u.xN,f.S,n.F,i.v,g.p,D.C,_.E,p.X],encapsulation:2}),m})()},2616:(S,v,s)=>{s.d(v,{j:()=>g});var t=s(7320),c=s(3370),e=s(205);const I={"arrow-right-lined":e._XB,"accounts-lined":e.$9M,"checkmark-lined":e._aT,"chevron-down-lined":e.ejX,"chevron-up-lined":e.zVT,"chevron-left-lined":e.jn8,"chevron-right-lined":e.cZ$,"clock-filled":e.nzt,"clock-lined":e.diH,"close-lined":e.FzU,"notes-lined":e.iEn,"party-popper-lined":e.tA5,"plane-lined":e.BWE,"protected-lined":e.JOU,"rewards-lined":e.Lev,"shopping-bag-lined":e.l2n,"star-filled":e.hyp,"star-lined":e.ZMT,"ticket-lined":e.RGY,"play-filled":e.RnD,"pause-filled":e.l01},D={small:{dimension:"16",useSmall:!0},medium:{dimension:"24",useSmall:!1},large:{dimension:"32",useSmall:!1},"x-large":{dimension:"48",useSmall:!1}};let g=(()=>{var u;class p{constructor(){this.iconName=c.input.required(),this.size=(0,c.input)("medium"),this.delegatedAriaLabel=(0,c.input)(void 0),this.delegatedAriaHidden=(0,c.input)("true"),this.elRef=(0,c.inject)(c.ElementRef),this.renderer=(0,c.inject)(c.Renderer2),this.platformId=(0,c.inject)(c.PLATFORM_ID),(0,c.effect)(()=>{const n=this.iconName(),i=D[this.size()],d=this.elRef.nativeElement.querySelector(".grv-tw-flex");if(!d)return;d.textContent="";const o=I[n];if(!o||!(0,t.isPlatformBrowser)(this.platformId))return;const h=i.useSmall?o.smallSvg:o.defaultSvg,w=i.useSmall?"0 0 16 16":"0 0 24 24",b=this.delegatedAriaLabel(),M=this.renderer.createElement("svg","svg");this.renderer.setAttribute(M,"xmlns","http://www.w3.org/2000/svg"),this.renderer.setAttribute(M,"viewBox",w),this.renderer.setAttribute(M,"width",i.dimension),this.renderer.setAttribute(M,"height",i.dimension),this.renderer.setAttribute(M,"aria-hidden",this.delegatedAriaHidden()),b&&this.renderer.setAttribute(M,"aria-label",b),this.renderer.setProperty(M,"innerHTML",h),this.renderer.appendChild(d,M)})}}return(u=p).\u0275fac=function(n){return new(n||u)},u.\u0275cmp=c.\u0275\u0275defineComponent({type:u,selectors:[["shared-element-icon"]],inputs:{iconName:[1,"iconName"],size:[1,"size"],delegatedAriaLabel:[1,"delegatedAriaLabel"],delegatedAriaHidden:[1,"delegatedAriaHidden"]},decls:1,vars:0,consts:[[1,"grv-tw-flex"]],template:function(n,i){1&n&&c.\u0275\u0275domElement(0,"div",0)},encapsulation:2}),p})()},3237:(S,v,s)=>{s.d(v,{D:()=>g});var t=s(3370),c=s(9403);const e=["carouselTrack"],I=["*"];let g=(()=>{var u;class p{constructor(){this.activeIndex=(0,t.input)(0),this.slideWidth=(0,t.input)(296),this.totalSlides=(0,t.input)(0),this.dragThreshold=(0,t.input)(50),this.trackClass=(0,t.input)("dfs-tw-gap-16 dfs-tw-p-16 dfs-tw-items-stretch"),this.activeIndexChange=(0,t.output)(),this.carouselTrack=(0,t.viewChild)("carouselTrack"),this.isDragging=(0,t.signal)(!1),this.startX=0,this.startY=0,this.dragDistance=0,this.initialTransform=0,this.hasDragged=!1,this.hostRef=(0,t.inject)(t.ElementRef),this.boundTouchStart=n=>this.onDragStart(n),this.boundTouchMove=n=>this.onDragMove(n)}ngOnInit(){const n=this.hostRef.nativeElement;n.addEventListener("touchstart",this.boundTouchStart,{passive:!0}),n.addEventListener("touchmove",this.boundTouchMove,{passive:!1})}ngOnDestroy(){const n=this.hostRef.nativeElement;n.removeEventListener("touchstart",this.boundTouchStart),n.removeEventListener("touchmove",this.boundTouchMove)}ngOnChanges(){this.applyTransform(this.activeIndex()*this.slideWidth(),!0)}preventClickIfDragged(n){this.hasDragged&&(n.preventDefault(),n.stopPropagation())}applyTransform(n,i){var d;const o=null===(d=this.carouselTrack())||void 0===d?void 0:d.nativeElement;o&&(o.style.transition=i?"transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1)":"none",o.style.transform="translate3d(-".concat(n,"px, 0, 0)"))}onDragStart(n){const i="touches"in n?n.touches[0].clientX:n.clientX,d="touches"in n?n.touches[0].clientY:n.clientY;this.isDragging.set(!0),this.hasDragged=!1,this.startX=i,this.startY=d,this.dragDistance=0,this.initialTransform=this.activeIndex()*this.slideWidth(),this.applyTransform(this.initialTransform,!1)}onDragMove(n){if(!this.isDragging())return;const i="touches"in n?n.touches[0].clientX:n.clientX;if(!this.hasDragged){const w=(0,c.RI)(i-this.startX,("touches"in n?n.touches[0].clientY:n.clientY)-this.startY);if("undecided"===w)return;if("vertical"===w)return void this.isDragging.set(!1);this.hasDragged=!0}n.preventDefault(),this.dragDistance=this.startX-i,this.applyTransform(this.initialTransform+this.dragDistance,!1)}onDragEnd(){if(!this.isDragging())return;this.isDragging.set(!1);let n=this.activeIndex();this.hasDragged&&(this.dragDistance>this.dragThreshold()?n=Math.min(this.activeIndex()+1,this.totalSlides()-1):this.dragDistance<-this.dragThreshold()&&(n=Math.max(this.activeIndex()-1,0))),this.applyTransform(n*this.slideWidth(),!0),n!==this.activeIndex()&&this.activeIndexChange.emit(n),this.dragDistance=0,setTimeout(()=>{this.hasDragged=!1},0)}onKeyDown(n){if(0!==this.totalSlides())switch(n.key){case"ArrowLeft":n.preventDefault(),this.navigateToPrevious();break;case"ArrowRight":n.preventDefault(),this.navigateToNext();break;case"Home":n.preventDefault(),this.navigateToFirst();break;case"End":n.preventDefault(),this.navigateToLast()}}navigateToNext(){const n=this.activeIndex();n<this.totalSlides()-1&&this.activeIndexChange.emit(n+1)}navigateToPrevious(){const n=this.activeIndex();n>0&&this.activeIndexChange.emit(n-1)}navigateToFirst(){0!==this.activeIndex()&&this.activeIndexChange.emit(0)}navigateToLast(){const n=this.activeIndex(),i=this.totalSlides()-1;n!==i&&this.activeIndexChange.emit(i)}onDocumentMouseMove(n){this.isDragging()&&this.onDragMove(n)}onDocumentMouseUp(){this.isDragging()&&this.onDragEnd()}onDocumentTouchEnd(){this.isDragging()&&this.onDragEnd()}onDocumentTouchCancel(){this.isDragging()&&(this.isDragging.set(!1),this.hasDragged=!1,this.dragDistance=0,this.applyTransform(this.activeIndex()*this.slideWidth(),!0))}}return(u=p).\u0275fac=function(n){return new(n||u)},u.\u0275cmp=t.\u0275\u0275defineComponent({type:u,selectors:[["shared-element-carou
1sel"]],viewQuery:function(n,i){1&n&&t.\u0275\u0275viewQuerySignal(i.carouselTrack,e,5),2&n&&t.\u0275\u0275queryAdvance()},hostBindings:function(n,i){1&n&&t.\u0275\u0275listener("keydown",function(o){return i.onKeyDown(o)})("mousemove",function(o){return i.onDocumentMouseMove(o)},t.\u0275\u0275resolveDocument)("mouseup",function(){return i.onDocumentMouseUp()},t.\u0275\u0275resolveDocument)("touchend",function(){return i.onDocumentTouchEnd()},t.\u0275\u0275resolveDocument)("touchcancel",function(){return i.onDocumentTouchCancel()},t.\u0275\u0275resolveDocument)},inputs:{activeIndex:[1,"activeIndex"],slideWidth:[1,"slideWidth"],totalSlides:[1,"totalSlides"],dragThreshold:[1,"dragThreshold"],trackClass:[1,"trackClass"]},outputs:{activeIndexChange:"activeIndexChange"},features:[t.\u0275\u0275NgOnChangesFeature],ngContentSelectors:I,decls:4,vars:6,consts:[["carouselTrack",""],["data-testid","shared-carousel-element-wrapper","tabindex","0",1,"dfs-tw-relative","dfs-tw-overflow-x-clip","dfs-tw-outline-none"],["data-testid","shared-carousel-slide-track",1,"dfs-tw-flex","dfs-tw-select-none",3,"mousedown"]],template:function(n,i){if(1&n){const d=t.\u0275\u0275getCurrentView();t.\u0275\u0275projectionDef(),t.\u0275\u0275domElementStart(0,"div",1)(1,"div",2,0),t.\u0275\u0275domListener("mousedown",function(h){return t.\u0275\u0275restoreView(d),t.\u0275\u0275resetView(i.onDragStart(h))}),t.\u0275\u0275projection(3),t.\u0275\u0275domElementEnd()()}2&n&&(t.\u0275\u0275advance(),t.\u0275\u0275classMap(i.trackClass()),t.\u0275\u0275classProp("dfs-tw-cursor-grabbing",i.isDragging())("dfs-tw-cursor-grab",!i.isDragging()))},encapsulation:2,changeDetection:0}),p})()},4671:(S,v,s)=>{s.d(v,{X:()=>f});var t=s(5027),c=s(8741),e=s(5847),I=s(4769),D=s(2646);let g,u,p;class f extends D.j{render(){const i="small"===this.size;
1return(0,t.qy)(g||(g=K||(K=P(['\n <svg\n viewBox="0 0 ','"\n class=',"\n aria-hidden=","\n aria-label=",'\n part="icon"\n focusable="false"\n >\n ',"\n </svg>\n "]))),"small"===this.size?"16 16":"24 24",(0,e.H)({"gds-icon":!0,["gds-icon--color-".concat(this.color===I.Li.CurrentColor?"currentcolor":this.color)]:!0,["gds-icon--size-".concat(this.size)]:!0}),this.delegatedAriaHidden,(0,c.J)(this.delegatedAriaLabel),(0,t.JW)(i?u||(u=j||(j=P(['<path fill-rule="evenodd" clip-rule="evenodd" d="M12.7071 5.29289C13.0976 5.68342 13.0976 6.31658 12.7071 6.70711L8.70711 10.7071C8.31658 11.0976 7.68342 11.0976 7.29289 10.7071L3.29289 6.70711C2.90237 6.31658 2.90237 5.68342 3.29289 5.29289C3.68342 4.90237 4.31658 4.90237 4.70711 5.29289L8 8.58579L11.2929 5.29289C11.6834 4.90237 12.3166 4.90237 12.7071 5.29289Z" fill="currentColor"></path>']))):p||(p=$||($=P(['<path fill-rule="evenodd" clip-rule="evenodd" d="M4.29289 8.29289C4.68342 7.90237 5.31658 7.90237 5.70711 8.29289L12 14.5858L18.2929 8.29289C18.6834 7.90237 19.3166 7.90237 19.7071 8.29289C20.0976 8.68342 20.0976 9.31658 19.7071 9.70711L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L4.29289 9.70711C3.90237 9.31658 3.90237 8.68342 4.29289 8.29289Z" fill="currentColor"></path>'])))))}}},5125:(S,v,s)=>{s.d(v,{j:()=>R});var t=s(7320),c=s(4769),e=s(5086),I=s(5027),D=s(8124),_=s(1072);class g extends D.WL{constructor(l){if(super(l),this.it=_.s6,l.type!==D.OA.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(l){if(l===_.s6||null==l)return this._t=void 0,this.it=l;if(l===_.c0)return l;if("string"!=typeof l)throw Error(this.constructor.directiveName+"() called with a non-string value");if(l===this.it)return this._t;this.it=l;const x=[l];return x.raw=x,this._t={_$litType$:this.constructor.resultType,strings:x,values:[]}}}g.directiveName="unsafeHTML",g.resultType=1,(0,D.u$)(g);class p extends g{}p.directiveName="unsafeSVG",p.resultType=2;const f=(0,D.u$)(p);var n=s(2861),i=s(8741),d=s(5847),o=s(2646);let w;const b=new Map;class M extends o.j{constructor(){super(...arguments),this.iconName=""}static add(l){Array.isArray(l)?l.forEach(x=>{b.set(x.name,{name:x.name,smallSvg:x.smallSvg,defaultSvg:x.defaultSvg})}):b.set(l.name,{name:l.name,smallSvg:l.smallSvg,defaultSvg:l.defaultSvg})}static has(l){return b.has(l)}static get list(){return Array.from(b.keys())}_getSVGIcon(){var x,L;return b.get(this.iconName)?f("small"===this.size?null===(L=b.get(this.iconName))||void 0===L?void 0:L.smallSvg:null===(x=b.get(this.iconName))||void 0===x?void 0:x.defaultSvg):""}render(){return(0,I.JW)(w||(w=F||(F=P(['<svg\n viewBox="0 0 ','"\n class=',"\n aria-hidden=","\n aria-label=",'\n part="icon"\n focusable="false"\n >\n ',"\n </svg>"]))),"small"===this.size?"16 16":"24 24",(0,d.H)({"gds-icon":!0,["gds-icon--color-".concat(this.color===c.Li.CurrentColor?"currentcolor":this.color)]:!0,"gds-icon--size-small":"small"===this.size,"gds-icon--size-medium":"medium"===this.size,"gds-icon--size-large":"large"===this.size,"gds-icon--size-x-large":"x-large"===this.size}),this.delegatedAriaHidden,(0,i.J)(this.delegatedAriaLabel),this._getSVGIcon())}}(0,e.C)([(0,n.MZ)({reflect:!0,type:String,attribute:"icon-name"})],M.prototype,"iconName",2);var H=s(2222);customElements.get("gds-icon")||customElements.define("gds-icon",M);var C=s(205),A=s(3370);const z=[C._XB,C.PMz,C._aT,C.ejX,C.jn8,C.cZ$,C.nzt,C.FzU,C.L7r,C.zZx,C.YND,C.rFQ,C.$Fm,C.hyp,C.diH];let R=(()=>{var y;class l{constructor(){this.size=c.lK.Medium,this.delegatedAriaHidden="true",M.add(z)}}return(y=l).\u0275fac=function(L){return new(L||y)},y.\u0275cmp=A.\u0275\u0275defineComponent({type:y,selectors:[["shared-element-icon"]],inputs:{iconName:"iconName",size:"size",delegatedAriaLabel:"delegatedAriaLabel",delegatedAriaHidden:"delegatedAriaHidden"},decls:1,vars:4,consts:[[1,"dfs-tw-flex",3,"icon-name","size","delegated-aria-label","delegated-aria-hidden"]],template:function(L,O){1&L&&A.\u0275\u0275element(0,"gds-icon",0),2&L&&A.\u0275\u0275property("icon-name",O.iconName)("size",O.size)("delegated-aria-label",O.delegatedAriaLabel)("delegated-aria-hidden",O.delegatedAriaHidden)},dependencies:[H.MMG,t.CommonModule],encapsulation:2}),l})()},8647:(S,v,s)=>{s.d(v,{h:()=>p});var t=s(3370),e=s(6316),D=s(3897),_=s(9470),g=s(1249);let p=(()=>{var f;class n{constructor(){this.contentType=D.p.DFS_Carousel,this.slideWidth=296,this.activeIndex=(0,t.signal)(0),this.isMobile=(0,t.signal)(!1),this.isTablet=(0,t.signal)(!1),this.isDesktop=(0,t.signal)(!1),this.windowRefService=(0,t.inject)(_.$),this.destroyRef=(0,t.inject)(t.DestroyRef),this.setupViewportSubscriptions()}get totalSlides(){var d,o;return null!==(d=null===(o=this.content.slides)||void 0===o?void 0:o.length)&&void 0!==d?d:0}onActiveIndexChange(d){this.activeIndex.set(d)}trackByHeadline(d,o){var h;return null!==(h=o.headline)&&void 0!==h?h:""}
1setupViewportSubscriptions(){this.windowRefService.getBreakpointObserver([g.qj.small]).pipe((0,e.takeUntilDestroyed)(this.destroyRef)).subscribe(d=>this.isMobile.set(d)),this.windowRefService.getBreakpointObserver([g.qj.medium]).pipe((0,e.takeUntilDestroyed)(this.destroyRef)).subscribe(d=>this.isTablet.set(d)),this.windowRefService.getBreakpointObserver([g.qj.large]).pipe((0,e.takeUntilDestroyed)(this.destroyRef)).subscribe(d=>this.isDesktop.set(d))}}return(f=n).\u0275fac=function(d){return new(d||f)},f.\u0275dir=t.\u0275\u0275defineDirective({type:f,inputs:{content:"content",paramsInfo:"paramsInfo"}}),n})()}}]); 2//# sourceMappingURL=common.1d576411fbd4372a.js.map
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.