PageSourceSearch

https://www.discover.com/assets/shell/dfs-card/scripts/3739.18bbe7270b1aafa4.js

js discover.com collected 2026-09-24 08:27:32 UTC 47,300 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkDfsCard=self.webpackChunkDfsCard||[]).push([[3739],{3739:(L,y,s)=>{s.r(y),s.d(y,{StackedComponent:()=>gt});var M=s(954),t=s(3370),I=s(6316),z=s(1221),b=s(3237),h=s(9552),A=s(9403),u=s(7193),g=s(1249),l=s(2610),c=s(2677),f=s(5506),m=s(2608),E=s(476),V=s(5206);function N(r,a){if(1&r&&(t.\u0275\u0275elementStart(0,"div",3),t.\u0275\u0275element(1,"dfs-card-art",24),t.\u0275\u0275elementEnd()),2&r){const i=a,n=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275property("image",i)("linkHref",(null==i.link?null:i.link.href)||"")("brandCode",n.content().brandCode)("ribbonTextOverride",n.content().cardArtRibbonText)("showCardArtRibbon",!0)}}function H(r,a){if(1&r&&t.\u0275\u0275element(0,"div",7),2&r){let i;const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("innerHTML",null==(i=n.content().image)?null:i.caption,t.\u0275\u0275sanitizeHtml)}}function P(r,a){if(1&r&&t.\u0275\u0275element(0,"shared-rating-stars",9),2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("content",i.ratingData())("productId",i.content().productId)("starSize","small")("textSize","small")}}function R(r,a){1&r&&t.\u0275\u0275element(0,"shared-element-button",11),2&r&&t.\u0275\u0275property("config",a.$implicit)}function O(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",25),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("innerHTML",i.content().topTagBrow,t.\u0275\u0275sanitizeHtml)}}function j(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",26),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("innerHTML",i.content().subheadline,t.\u0275\u0275sanitizeHtml)}}function B(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",27),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275element(1,"div",28),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",i.content().disclosure,t.\u0275\u0275sanitizeHtml)}}function Z(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",19)(1,"div",29)(2,"div",30),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()()()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(2),t.\u0275\u0275property("innerHTML",i.content().introApr,t.\u0275\u0275sanitizeHtml)}}function F(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",31),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("innerHTML",i.content().rates,t.\u0275\u0275sanitizeHtml)}}function Q(r,a){if(1&r&&(t.\u0275\u0275elementStart(0,"div",23),t.\u0275\u0275element(1,"shared-element-button",32),t.\u0275\u0275elementEnd()),2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275property("config",i.content().learnMoreCta)("fullWidth",!0)}}function $(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",2),t.\u0275\u0275conditionalCreate(1,N,2,5,"div",3),t.\u0275\u0275elementStart(2,"a",4),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();
1return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275element(3,"h2",5),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",6),t.\u0275\u0275conditionalCreate(5,H,1,1,"div",7),t.\u0275\u0275elementStart(6,"div",8),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275conditionalCreate(7,P,1,4,"shared-rating-stars",9),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(8,"div",10),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275repeaterCreate(9,R,1,1,"shared-element-button",11,t.\u0275\u0275repeaterTrackByIndex),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(11,"div",12),t.\u0275\u0275conditionalCreate(12,O,1,1,"div",13),t.\u0275\u0275elementStart(13,"div",14),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(14,"div",15),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(15,j,1,1,"div",16),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(16,"div",17),t.\u0275\u0275conditionalCreate(17,B,2,1,"div",18),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(18,Z,3,1,"div",19),t.\u0275\u0275conditionalCreate(19,F,1,1,"div",20),t.\u0275\u0275elementStart(20,"div",21)(21,"button",22),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(i);const e=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(e.toggleApr.emit())}),t.\u0275\u0275text(22),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(23,Q,2,2,"div",23),t.\u0275\u0275elementEnd()()}if(2&r){let i,n,e;const o=t.\u0275\u0275nextContext();t.\u0275\u0275styleMap("will-change: transform; box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.25); display: grid; grid-template-rows: subgrid; grid-row: span "+(o.showApr()?8:5)),t.\u0275\u0275attribute("aria-hidden",o.isActive()?null:"true")("inert",o.isActive()?null:"")("aria-label","Slide "+(o.index()+1)+" of "+o.totalSlides()),t.\u0275\u0275advance(),t.\u0275\u0275conditional((i=o.content().image)?1:-1,i),t.\u0275\u0275advance(),t.\u0275\u0275property("href",null==(n=o.content().link)?null:n.href,t.\u0275\u0275sanitizeUrl),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",o.content().headline,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(null!=(e=o.content().image)&&e.caption?5:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(o.content().hideReviews?-1:7),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(o.content().ctas),t.\u0275\u0275advance(3),t.\u0275\u0275conditional(o.content().topTagBrow?12:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",o.content().tagBrow,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",o.content().body,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(),t.\u0275\u0275conditional(o.content().subheadline?15:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(o.content().disclosure?17:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(o.content().introApr&&o.showApr()?18:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(o.content().introApr&&o.showApr()&&o.content().rates?19:-1),t.\u0275\u0275advance(),t.\u0275\u0275styleProp("margin-top",o.showApr()?0:28,"px"),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",o.aprToggleText()," "),t.\u0275\u0275advance(),t.\u0275\u0275conditional(o.showApr()&&o.content().learnMoreCta?23:-1)}}function W(r,a){if(1&r&&(t.\u0275\u0275elementStart(0,"div",3),t.\u0275\u0275element(1,"dfs-card-art",24),t.\u0275\u0275elementEnd()),2&r){const i=a,n=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275property("image",i)("linkHref",(null==i.link?null:i.link.href)||"")("brandCode",n.content().brandCode)("ribbonTextOverride",n.content().cardArtRibbonText)("showCardArtRibbon",!0)}}function G(r,a){if(1&r&&t.\u0275\u0275element(0,"div",36),2&r){let i;const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("innerHTML",null==(i=n.content().image)?null:i.caption,t.\u0275\u0275sanitizeHtml)}}function U(r,a){if(1&r&&t.\u0275\u0275element(0,"shared-rating-stars",9),2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("content",i.ratingData())("productId",i.content().productId)("starSize","small")("textSize","small")}}function K(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",43),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);
1return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275element(1,"shared-element-button",44),t.\u0275\u0275elementEnd()}2&r&&(t.\u0275\u0275advance(),t.\u0275\u0275property("config",a))}function X(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",25),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("innerHTML",i.content().topTagBrow,t.\u0275\u0275sanitizeHtml)}}function J(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",45),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("innerHTML",i.content().subheadline,t.\u0275\u0275sanitizeHtml)}}function Y(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",27),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275element(1,"div",28),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",i.content().disclosure,t.\u0275\u0275sanitizeHtml)}}function q(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",31),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(3);t.\u0275\u0275property("innerHTML",i.content().rates,t.\u0275\u0275sanitizeHtml)}}function tt(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",41)(1,"div",29)(2,"div",30),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd()(),t.\u0275\u0275conditionalCreate(3,q,1,1,"div",20),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(2),t.\u0275\u0275property("innerHTML",i.content().introApr,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(),t.\u0275\u0275conditional(i.content().rates?3:-1)}}function et(r,a){if(1&r&&(t.\u0275\u0275elementStart(0,"div",23),t.\u0275\u0275element(1,"shared-element-button",32),t.\u0275\u0275elementEnd()),2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275property("config",i.content().learnMoreCta)("fullWidth",!0)}}function nt(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",1),t.\u0275\u0275conditionalCreate(1,W,2,5,"div",3),t.\u0275\u0275elementStart(2,"div",33)(3,"a",34),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275element(4,"h2",5),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"div",35),t.\u0275\u0275conditionalCreate(6,G,1,1,"div",36),t.\u0275\u0275elementStart(7,"div",8),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275conditionalCreate(8,U,1,4,"shared-rating-stars",9),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(9,K,2,1,"div",37),t.\u0275\u0275elementStart(10,"div",38),t.\u0275\u0275conditionalCreate(11,X,1,1,"div",13),t.\u0275\u0275elementStart(12,"div",14),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(13,"div",39),t.\u0275\u0275listener("click",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext();
1return t.\u0275\u0275resetView(o.interceptClick.emit(e))}),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(14,J,1,1,"div",40),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(15,Y,2,1,"div",18),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(16,tt,4,2,"div",41),t.\u0275\u0275elementStart(17,"button",42),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(i);const e=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(e.toggleApr.emit())}),t.\u0275\u0275text(18),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(19,et,2,2,"div",23),t.\u0275\u0275elementEnd()()}if(2&r){let i,n,e,o;const d=t.\u0275\u0275nextContext();t.\u0275\u0275attribute("aria-hidden",d.isActive()?null:"true")("inert",d.isActive()?null:"")("aria-label","Slide "+(d.index()+1)+" of "+d.totalSlides()),t.\u0275\u0275advance(),t.\u0275\u0275conditional((i=d.content().image)?1:-1,i),t.\u0275\u0275advance(2),t.\u0275\u0275property("href",null==(n=d.content().link)?null:n.href,t.\u0275\u0275sanitizeUrl),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",d.content().headline,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(null!=(e=d.content().image)&&e.caption?6:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(d.content().hideReviews?-1:8),t.\u0275\u0275advance(),t.\u0275\u0275conditional((o=null==(o=d.content().ctas)?null:o[0])?9:-1,o),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(d.content().topTagBrow?11:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",d.content().tagBrow,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",d.content().body,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(),t.\u0275\u0275conditional(d.content().subheadline?14:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(d.content().disclosure?15:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(d.content().introApr&&d.showApr()?16:-1),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",d.aprToggleText()," "),t.\u0275\u0275advance(),t.\u0275\u0275conditional(d.showApr()&&d.content().learnMoreCta?19:-1)}}let it=(()=>{var r;class a{constructor(){this.content=t.input.required(),this.ratingData=(0,t.input)(),this.showApr=(0,t.input)(!1),this.aprToggleText=(0,t.input)("Read More"),this.isActive=(0,t.input)(!1),this.index=t.input.required(),this.totalSlides=t.input.required(),this.toggleApr=(0,t.output)(),this.interceptClick=(0,t.output)()}}return(r=a).\u0275fac=function(n){return new(n||r)},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["dfs-card-stacked-carousel-slide"]],inputs:{content:[1,"content"],ratingData:[1,"ratingData"],showApr:[1,"showApr"],aprToggleText:[1,"aprToggleText"],isActive:[1,"isActive"],index:[1,"index"],totalSlides:[1,"totalSlides"]},outputs:{toggleApr:"toggleApr",interceptClick:"interceptClick"},decls:2,vars:1,consts:[["aria-roledescription","slide",1,"dfs-tw-shrink-0","dfs-tw-w-[280px]","dfs-tw-pb-[15px]","dfs-tw-bg-page","dfs-tw-rounded-medium",3,"style"],["aria-roledescription","slide",1,"dfs-tw-flex","dfs-tw-flex-col","dfs-tw-shrink-0","dfs-tw-w-[280px]","dfs-tw-pb-[15px]","dfs-tw-bg-page","dfs-tw-rounded-medium",2,"will-change","transform","box-shadow","0 2px 20px 0 rgba(0, 0, 0, 0.25)"],["aria-roledescription","slide",1,"dfs-tw-shrink-0","dfs-tw-w-[280px]","dfs-tw-pb-[15px]","dfs-tw-bg-page","dfs-tw-rounded-medium"],[1,"dfs-tw-absolute","dfs-tw-left-1/2","dfs-tw--translate-x-1/2","dfs-tw-translate-y-[-50%]"],[1,"dfs-tw-font-discover-semibold","dfs-tw-mt-[58px]","dfs-tw-px-24",3,"click","href"],[1,"dfs-tw-pt-[10px]","dfs-tw-text-24","dfs-tw-leading-[normal]","dfs-tw-tracking-[normal]",3,"innerHTML"],[1,"dfs-tw-w-full","dfs-tw-mb-[15px]","dfs-tw-px-24"],[1,"dfs-tw-pb-[10px]","dfs-tw-text-[0.75rem]","dfs-tw-leading-[1.428571429]",3,"innerHTML"],[1,"dfs-tw-py-[10px]",3,"click"],[3,"content","productId","starSize","textSize"],[1,"dfs-tw-flex-col","dfs-tw-flex","dfs-tw-justify-start","dfs-tw-items-center","dfs-tw-pt-[10px]","dfs-tw-pb-[5px]","dfs-tw-gap-20","dfs-tw-px-24",3,"click"],[1,"dfs-tw-w-full","[&>a]:dfs-tw-px-08",3,"config"],[1,"dfs-tw-mt-20","dfs-tw-pb-[10px]","dfs-tw-mb-[10px]","dfs-tw-text-[0.875rem]","dfs-tw-leading-[normal]","dfs-tw-tracking-[normal]","[&_a]:dfs-tw-font-discover-bold","[&_a]:dfs-tw-underline","dfs-tw-mx-24","dfs-tw-border-b-medium","dfs-tw-border-b-neutral-emphasis-low"],[1,"dfs-tw-cursor-default","dfs-tw-text-[0.875rem]","[&_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]","dfs-tw-mb-[25px]",3,"innerHTML"],[1,"dfs-tw-cursor-default","dfs-tw-text-[0.875rem]","[&_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]","[&_p]:dfs-tw-pr-[10px]","dfs-tw-mb-[25px]",3,"click","innerHTML"],["data-testid","carousel-slide-body",1,"content-section","dfs-tw-cursor-default","dfs-tw-pb-[10px]",3,"click","innerHTML"],["data-testid","carousel-slide-subheadline",1,"content-section","dfs-tw-cursor-default","dfs-tw-py-[10px]",3,"innerHTML"],[1,"dfs-tw-px-24"],[1,"dfs-tw-leading-[normal]","dfs-tw-pb-[10px]"],["data-testid","carousel-intro-apr-section",1,"dfs-tw-cursor-default","dfs-tw-leading-[normal]","dfs-tw-tracking-[normal]","dfs-tw--mt-[54px]"],[1,"dfs-tw-flex","dfs-tw-flex-col","dfs-tw-gap-[10px]","dfs-tw-px-24","dfs-tw-pt-[15px]","dfs-tw-pb-[25px]","[&_a]:dfs-tw-leading-[1.5rem]","[&_a]:dfs-tw-tracking-[-0.01rem]",2,"background-color","rgb(233, 233, 236)",3,"innerHTML"],[1,"dfs-tw-px-24","dfs-tw-text-center"],["type","button",1,"dfs-tw-flex","dfs-tw-justify-center","dfs-tw-mx-auto","dfs-tw-py-[15px]","dfs-tw-px-[37
1px]","dfs-tw-text-14","dfs-tw-leading-[1.5rem]","dfs-tw-tracking-[-0.01rem]","dfs-tw-bg-transparent","dfs-tw-border-none","dfs-tw-cursor-pointer","dfs-tw-text-interactive","dfs-tw-underline",3,"click"],[1,"dfs-tw-flex","dfs-tw-justify-center"],["imageClass","dfs-tw-inline-block dfs-tw-h-auto dfs-tw-w-[168px] dfs-tw-max-w-[none]",3,"image","linkHref","brandCode","ribbonTextOverride","showCardArtRibbon"],[1,"dfs-tw-cursor-default","dfs-tw-text-[0.875rem]","[&_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]","dfs-tw-mb-[25px]",3,"click","innerHTML"],["data-testid","carousel-slide-subheadline",1,"content-section","dfs-tw-cursor-default","dfs-tw-py-[10px]",3,"click","innerHTML"],[1,"dfs-tw-leading-[normal]","dfs-tw-pb-[10px]",3,"click"],["data-testid","carousel-disclosure-content",1,"[&_a]:dfs-tw-font-discover","[&_a]:dfs-tw-leading-[normal]",3,"innerHTML"],[1,"dfs-tw-px-24","dfs-tw-py-[15px]",2,"background-color","rgb(248, 248, 248)"],["data-testid","carousel-intro-apr-content",1,"[&_em]:dfs-tw-font-discover-bold","dfs-tw-flex","dfs-tw-flex-col","dfs-tw-gap-[10px]","[&_a]:dfs-tw-underline","[&_em]:dfs-tw-text-[19px]","[&_em]:dfs-tw-font-bold","[&_em]:dfs-tw-not-italic","[&_em]:dfs-tw-text-card-emphasis","[&_em]:dfs-tw-block","dfs-tw-pb-[10px]",3,"click","innerHTML"],[1,"dfs-tw-flex","dfs-tw-flex-col","dfs-tw-gap-[10px]","dfs-tw-px-24","dfs-tw-pt-[15px]","dfs-tw-pb-[25px]","[&_a]:dfs-tw-leading-[1.5rem]","[&_a]:dfs-tw-tracking-[-0.01rem]",2,"background-color","rgb(233, 233, 236)",3,"click","innerHTML"],[1,"dfs-tw-w-full",3,"config","fullWidth"],[1,"dfs-tw-flex","dfs-tw-flex-col","dfs-tw-mt-[58px]","dfs-tw-w-full","dfs-tw-px-24"],[1,"dfs-tw-font-discover-semibold",3,"click","href"],[1,"dfs-tw-w-full","dfs-tw-mb-[15px]"],[1,"dfs-tw-pt-[15px]","dfs-tw-pb-[10px]","dfs-tw-text-[0.75rem]","dfs-tw-leading-[1.428571429]",3,"innerHTML"],[1,"dfs-tw-flex-col","dfs-tw-flex","dfs-tw-justify-center","dfs-tw-items-center","dfs-tw-pt-[10px]","dfs-tw-pb-[5px]"],[1,"dfs-tw-mt-20","dfs-tw-mb-[10px]","dfs-tw-text-[0.875rem]","dfs-tw-leading-[normal]","dfs-tw-tracking-[normal]","[&_a]:dfs-tw-font-discover-bold","[&_a]:dfs-tw-underline"],["data-testid","carousel-slide-body",1,"content-section","dfs-tw-cursor-default","dfs-tw-border-b-medium","dfs-tw-border-b-neutral-emphasis-low","dfs-tw-pb-[10px]",3,"click","innerHTML"],["data-testid","carousel-slide-subheadline",1,"content-section","dfs-tw-cursor-default","dfs-tw-border-b-medium","dfs-tw-border-b-neutral-emphasis-low","dfs-tw-py-[10px]",3,"innerHTML"],["data-testid","carousel-intro-apr-section",1,"dfs-tw-cursor-default","dfs-tw--mx-24","dfs-tw-w-[calc(100%+48px)]","dfs-tw-leading-[normal]","dfs-tw-tracking-[normal]"],["type","button",1,"dfs-tw-flex","dfs-tw-justify-center","dfs-tw-py-[15px]","dfs-tw-px-[37px]","dfs-tw-text-14","dfs-tw-leading-[1.5rem]","dfs-tw-tracking-[-0.01rem]","dfs-tw-bg-transparent","dfs-tw-border-none","dfs-tw-cursor-pointer","dfs-tw-text-interactive","dfs-tw-underline",3,"click"],[1,"dfs-tw-flex-col","dfs-tw-flex","dfs-tw-justify-center","dfs-tw-items-center","dfs-tw-pt-[10px]","dfs-tw-pb-[5px]",3,"click"],[1,"dfs-tw-w-full",3,"config"],["data-testid","carousel-slide-subheadline",1,"content-section","dfs-tw-cursor-default","dfs-tw-border-b-medium","dfs-tw-border-b-neutral-emphasis-low","dfs-tw-py-[10px]",3,"click","innerHTML"]],template:function(n,e){1&n&&t.\u0275\u0275conditionalCreate(0,$,24,21,"div",0)(1,nt,20,17,"div",1),2&n&&t.\u0275\u0275conditional(e.content().useGrid?0:1)},dependencies:[u.xN,E.F,V.v,c.C,f.p,m.X],encapsulation:2}),a})();const ot=["chipList"],rt=(r,a)=>a.label;function at(r,a){if(1&r&&t.\u0275\u0275element(0,"div",3),2&r){const i=t.\u0275\u0275nextContext(3);t.\u0275\u0275property("innerHTML",i.content.description,t.\u0275\u0275sanitizeHtml)}}function dt(r,a){if(1&r&&(t.\u0275\u0275elementStart(0,"div"),t.\u0275\u0275element(1,"div",2),t.\u0275\u0275conditionalCreate(2,at,1,1,"div",3),t.\u0275\u0275elementEnd()),2&r){const i=t.\u0275\u0275nextContext(2);t.\u0275\u0275classMap("dfs-tw-px-24 md:dfs-tw-px-none dfs-tw-pt-24 "+i.paramsInfo.colorOptions.textColor+(i.curveClass?" md:dfs-tw-pt-48":" ")),t.\u0275\u0275advance(),t.\u0275\u0275property("innerHTML",i.content.headline,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(),t.\u0275\u0275conditional(i.content.description?2:-1)}}function lt(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",9),t.\u0275\u0275listener("click",function(e){const o=t.\u0275\u0275restoreView(i).$index,d=t.\u0275\u0275nextContext(3);
1return t.\u0275\u0275resetView(d.selectCategory(o,e))})("keydown.arrowRight",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(o.navigateChip(1,e))})("keydown.arrowLeft",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(o.navigateChip(-1,e))}),t.\u0275\u0275elementStart(1,"span",10),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd()()}if(2&r){const i=a.$implicit,n=a.$index,e=t.\u0275\u0275nextContext(3);t.\u0275\u0275classProp("active",e.selectedCategoryIndex()===n),t.\u0275\u0275property("tabindex",e.selectedCategoryIndex()===n?0:-1),t.\u0275\u0275attribute("aria-selected",e.selectedCategoryIndex()===n),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(i.label)}}function st(r,a){1&r&&t.\u0275\u0275element(0,"div",8),2&r&&t.\u0275\u0275property("innerHTML",a,t.\u0275\u0275sanitizeHtml)}function ct(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div")(1,"div",4,0),t.\u0275\u0275repeaterCreate(3,lt,3,5,"button",5,rt),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"div",6)(6,"shared-element-carousel-pagination",7),t.\u0275\u0275listener("goToSlide",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.selectCategory(e))}),t.\u0275\u0275elementEnd()(),t.\u0275\u0275conditionalCreate(7,st,1,1,"div",8),t.\u0275\u0275elementEnd()}if(2&r){let i;const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275classMap(n.paramsInfo.colorOptions.textColor+" dfs-tw-px-24 md:dfs-tw-px-none dfs-tw-pt-24"),t.\u0275\u0275advance(3),t.\u0275\u0275repeater(n.content.categories),t.\u0275\u0275advance(3),t.\u0275\u0275property("content",n.content.categories)("activeIndex",n.selectedCategoryIndex())("activeDotColor","dfs-tw-bg-interactive-emphasis-high")("inactiveDotColor","dfs-tw-bg-base01"),t.\u0275\u0275advance(),t.\u0275\u0275conditional((i=null==n.content.categories||null==(i=n.content.categories[n.selectedCategoryIndex()])?null:i.subLabel)?7:-1,i)}}function pt(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"dfs-card-stacked-carousel-slide",18),t.\u0275\u0275listener("toggleApr",function(){const e=t.\u0275\u0275restoreView(i).$index,o=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(o.toggleAprForSlide(e))})("interceptClick",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(o.preventClickIfDragged(e))}),t.\u0275\u0275elementEnd()}if(2&r){const i=a.$implicit,n=a.$index,e=t.\u0275\u0275nextContext(),o=t.\u0275\u0275nextContext(2);t.\u0275\u0275classMap(i.useGrid?"dfs-tw-contents":""),t.\u0275\u0275property("content",i)("ratingData",o.getRatingForProduct(i.productId))("showApr",o.shouldShowApr(n))("aprToggleText",o.getAprToggleText(n))("isActive",n===o.activeIndex())("index",n)("totalSlides",e.products.length)}}function ut(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"shared-element-carousel-pagination",19),t.\u0275\u0275listener("previous",function(){t.\u0275\u0275restoreView(i);const e=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(e.onPrevious())})("next",function(){t.\u0275\u0275restoreView(i);const e=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(e.onNext())})("goToSlide",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(o.goToSlide(e))})("keydown.arrowLeft",function(){t.\u0275\u0275restoreView(i);const e=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(e.onPrevious())})("keydown.arrowRight",function(){t.\u0275\u0275restoreView(i);const e=t.\u0275\u0275nextContext(3);return t.\u0275\u0275resetView(e.onNext())}),t.\u0275\u0275elementEnd()}if(2&r){const i=t.\u0275\u0275nextContext(),n=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("content",i.products)("activeIndex",n.activeIndex())("activeDotColor","dfs-tw-bg-interactive-emphasis-high")("inactiveDotColor",n.inactiveDotColor)("gap","14px")("dotSize","12px")("arrowSize","14px")}}function _t(r,a){if(1&r&&t.\u0275\u0275element(0,"dfs-card-product-compare-stacked-card",17),2&r){const i=a.$implicit,n=t.\u0275\u0275nextContext(3);t.\u0275\u0275property("content",i)("ratingData",n.getRatingForProduct(i.productId))}}function mt(r,a){if(1&r){const i=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"section",11),t.\u0275\u0275listener("focus",function(){t.\u0275\u0275restoreView(i);const e=t.\u0275\u0275nextContext(2);
1return t.\u0275\u0275resetView(e.onCarouselFocus())}),t.\u0275\u0275elementStart(1,"shared-element-carousel",12),t.\u0275\u0275listener("activeIndexChange",function(e){t.\u0275\u0275restoreView(i);const o=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(o.onActiveIndexChange(e))}),t.\u0275\u0275repeaterCreate(2,pt,1,9,"dfs-card-stacked-carousel-slide",13,t.\u0275\u0275repeaterTrackByIndex),t.\u0275\u0275elementEnd(),t.\u0275\u0275conditionalCreate(4,ut,1,7,"shared-element-carousel-pagination",14),t.\u0275\u0275elementStart(5,"div",15),t.\u0275\u0275text(6),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(7,"div",16),t.\u0275\u0275repeaterCreate(8,_t,1,2,"dfs-card-product-compare-stacked-card",17,t.\u0275\u0275repeaterTrackByIndex),t.\u0275\u0275elementEnd()}if(2&r){const i=a,n=t.\u0275\u0275nextContext(2);t.\u0275\u0275attribute("aria-label","Card carousel"),t.\u0275\u0275advance(),t.\u0275\u0275property("activeIndex",n.activeIndex())("slideWidth",296)("totalSlides",i.products.length)("dragThreshold",50)("trackClass",null!=i.products[0]&&i.products[0].useGrid?"dfs-tw-grid dfs-tw-grid-cols-none dfs-tw-grid-flow-col dfs-tw-gap-y-none dfs-tw-relative dfs-tw-select-none dfs-tw-px-24":"dfs-tw-gap-16 dfs-tw-relative dfs-tw-items-start dfs-tw-select-none dfs-tw-px-24"),t.\u0275\u0275advance(),t.\u0275\u0275repeater(i.products),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(i.products.length>1?4:-1),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",n.liveAnnouncement()," "),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(i.products)}}function ft(r,a){if(1&r&&(t.\u0275\u0275conditionalCreate(0,dt,3,4,"div",1),t.\u0275\u0275conditionalCreate(1,ct,8,7,"div",1),t.\u0275\u0275conditionalCreate(2,mt,10,8)),2&r){var i;let n;const e=t.\u0275\u0275nextContext();t.\u0275\u0275conditional(e.content.headline?0:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional((null!==(i=null==e.content.categories?null:e.content.categories.length)&&void 0!==i?i:0)>1?1:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional((n=null==e.content.categories?null:e.content.categories[e.selectedCategoryIndex()])?2:-1,n)}}const Ct=[g.qj.small,g.qj.smallMedium],k=".filter-chip";let gt=(()=>{var r;class a{get inactiveDotColor(){return"dark"===this.backgroundVariant?"dfs-tw-bg-base01":"dfs-tw-bg-neutral-emphasis-low"}constructor(){this.contentType=z.W.DFS_ProductCompare,this.isMobile=(0,t.signal)(!1),this.selectedCategoryIndex=(0,t.signal)(0),this.activeIndex=(0,t.signal)(0),this.showAprBySlide=(0,t.signal)({}),this.liveAnnouncement=(0,t.signal)(""),this.ratings=(0,t.signal)({}),this.ratingsService=(0,t.inject)(g.Tt,{optional:!0}),this.windowRefService=(0,t.inject)(A.$T),this.destroyRef=(0,t.inject)(t.DestroyRef),this.hostEl=(0,t.inject)(t.ElementRef),this.scrollAnimationId=null,this.scrollAnimationCleanup=null,this.windowRefService.getBreakpointObserver(Ct).pipe((0,I.takeUntilDestroyed)(this.destroyRef)).subscribe(n=>this.isMobile.set(n))}ngOnInit(){this.fetchRatings()}ngAfterViewInit(){this.updateChipListPadding()}ngOnDestroy(){this.cancelScrollAnimation()}getRatingForProduct(n){return this.ratings()[n]}get backgroundVariant(){var n,e;const o=null!==(n=null===(e=this.paramsInfo)||void 0===e||null===(e=e.colorOptions)||void 0===e||null===(e=e.bgColor)||void 0===e?void 0:e.toLowerCase())&&void 0!==n?n:"";return o.includes("midnight")||o.includes("light-gray")?"dark":"light"}get curveClass(){var n,e;return A.FP.getCurveClasses(null!==(n=null===(e=this.paramsInfo)||void 0===e?void 0:e.curvePosition)&&void 0!==n?n:"")}get totalSlides(){var n,e;const o=null===(n=this.content)||void 0===n||null===(n=n.categories)||void 0===n?void 0:n[this.selectedCategoryIndex()];return(null==o||null===(e=o.products)||void 0===e?void 0:e.length)||0}selectCategory(n,e){if(this.selectedCategoryIndex.set(n),this.activeIndex.set(0),this.showAprBySlide.set({}),this.isMobile()){var o,d;this.updateChipListPadding();const p=null==e?void 0:e.target,_=p?null!==(o=p.closest(k))&&void 0!==o?o:null:null!==(d=this.hostEl.nativeElement.querySelectorAll(k)[n])&&void 0!==d?d:null;_&&this.scrollChipIntoView(_)}}navigateChip(n,e){var o,d;null==e||e.preventDefault(),null==e||e.stopPropagation();const p=null!==(o=null===(d=this.content)||void 0===d?void 0:d.categories)&&void 0!==o?o:[];if(!p.length)return;const C=(this.selectedCategoryIndex()+n+p.length)%p.length;this.selectedCategoryIndex.set(C);const w=Array.from(this.hostEl.nativeElement.querySelectorAll(k));w[C]&&(this.scrollChipIntoView(w[C]),w[C].focus())}onNext(){if(0!==this.totalSlides&&this.activeIndex()<this.totalSlides-1){const n=this.activeIndex()+1;this.activeIndex.set(n),this.announceSlideChange(n)}}onPrevious(){if(0!==this.totalSlides&&this.activeIndex()>0){const n=this.activeIndex()-1;this.activeIndex.set(n),this.announceSlideChange(n)}}goToSlide(n){n>=0&&n<this.totalSlides&&(this.activeIndex.set(n),this.announceSlideChange(n))}toggleAprForSlide(n){const e=this.showAprBySlide();this.showAprBySlide.set((0,M.A)((0,M.A)({},e),{},{[n]:!e[n]}))}shouldShowApr(n){return this.showAprBySlide()[n]||!1}getAprToggleText(n){return this.shouldShowApr(n)?"Read Less":"Read More"}onActiveIndexChange(n){this.activeIndex.set(n),this.announceSlideChange(n)}onCarouselFocus(){this.announceSlideChange(this.activeIndex())}preventClickIfDragged(n){var e;null===(e=this.carouselContainer)||void 0===e||e.preventClickIfDragged(n)}fetchRatings(){var n,e;if(!this.ratingsService||!this.windowRefService.isPlatformBrowser)return;const o=(null!==(n=null===(e=this.content)||void 0===e?void 0:e.categories)&&void 0!==n?n:[]).reduce((d,p)=>{var _;return[...d,...(null!==(_=p.products)&&void 0!==_?_:[]).map(w=>{var x;return null===(x=w.productId)||void 0===x?void 0:x.trim()}).filter(w=>!!w)]},[]);o.length&&this.ratingsService.getProductSummaries(o,!0).pipe((0,I.takeUntilDestroyed)(this.destroyRef)).subscribe({next:d=>this.ratings.set(d),error:()=>{}})}cancelScrollAnimation(){null!==this.scrollAnimationId&&(cancelAnimationFrame(this.scrollAnimationId),this.scrollAnimationId=null),this.scrollAnimationCleanup&&(this.scrollAnimationCleanup(),this.scrollAnimationCleanup=null)}updateChipListPadding(){var n;if(!this.windowRefService.isPlatformBrowser)return;const e=null===(n=this.chipListEl)||void 0===n?void 0:n.nativeElement;if(!e)return;const o=e.querySelector("".concat(k,":last-of-type"));if(!o)return;e.style.paddingRight="0px";const d=o.getBoundingClientRect().right,p=e.getBoundingClientRect().right;e.style.paddingRight=d-p>0?"".concat(e.clientWidth-o.offsetWidth,"px"):"0px"}scrollChipIntoView(n){const e=n.closest(k),o=null==e?void 0:e.parentElement;if(!e||!o)return;this.cancelScrollAnimation();const d=o.scrollLeft,p=d+e.getBoundingClientRect().left-o.getBoundingClientRect().left;let _=0;const C=()=>this.cancelScrollAnimation(),w=["touchstart","wheel"];
1w.forEach(v=>o.addEventListener(v,C,{passive:!0})),this.scrollAnimationCleanup=()=>w.forEach(v=>o.removeEventListener(v,C));const x=v=>{_||(_=v);const S=Math.min((v-_)/1200,1);o.scrollLeft=d+(p-d)*(S<.5?2*S*S:1-2*(1-S)**2),S<1?this.scrollAnimationId=requestAnimationFrame(x):this.cancelScrollAnimation()};this.scrollAnimationId=requestAnimationFrame(x)}announceSlideChange(n){var e,o;const d=null!==(e=null===(o=this.content)||void 0===o||null===(o=o.categories)||void 0===o||null===(o=o[this.selectedCategoryIndex()])||void 0===o||null===(o=o.products)||void 0===o?void 0:o.length)&&void 0!==e?e:0;setTimeout(()=>{var p,_;const C=null===(p=this.carouselContainerEl)||void 0===p||null===(p=p.nativeElement)||void 0===p?void 0:p.querySelector('[data-testid="shared-carousel-slide-track"]'),w=null==C||null===(_=C.querySelectorAll(":scope > div"))||void 0===_?void 0:_[n];let x="";if(w){var v;const D=w.cloneNode(!0);D.querySelectorAll("shared-rating-stars").forEach(T=>T.remove()),D.querySelectorAll("a[href]").forEach(T=>{T.after(document.createTextNode(", link"))}),D.querySelectorAll("button").forEach(T=>{T.after(document.createTextNode(", button"))}),x=(null!==(v=D.textContent)&&void 0!==v?v:"").replace(/\s+/g," ").trim()}const S="Slide ".concat(n+1," of ").concat(d).concat(x?". ".concat(x):"");this.liveAnnouncement.set(S)},0)}}return(r=a).\u0275fac=function(n){return new(n||r)},r.\u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["dfs-card-product-compare-stacked"]],viewQuery:function(n,e){if(1&n&&(t.\u0275\u0275viewQuery(b.D,5),t.\u0275\u0275viewQuery(b.D,5,t.ElementRef),t.\u0275\u0275viewQuery(ot,5)),2&n){let o;t.\u0275\u0275queryRefresh(o=t.\u0275\u0275loadQuery())&&(e.carouselContainer=o.first),t.\u0275\u0275queryRefresh(o=t.\u0275\u0275loadQuery())&&(e.carouselContainerEl=o.first),t.\u0275\u0275queryRefresh(o=t.\u0275\u0275loadQuery())&&(e.chipListEl=o.first)}},inputs:{content:"content",paramsInfo:"paramsInfo"},decls:4,vars:7,consts:[["chipList",""],[3,"class"],["data-testid","product-compare-headline",1,"dfs-tw-font-discover-semibold","dfs-tw-text-32","dfs-tw-mb-[10px]","lg:dfs-tw-text-40","dfs-tw-leading-[normal]","[&_a]:dfs-tw-text-interactive","[&_a]:dfs-tw-underline","lg:dfs-tw-pr-[60px]",3,"innerHTML"],["data-testid","product-compare-description",1,"dfs-tw-text-14","lg:dfs-tw-text-[19px]","dfs-tw-leading-explicit-medium1","dfs-tw-mb-24","[&_a]:dfs-tw-text-interactive","[&_a]:dfs-tw-underline","[&_sup_a]:dfs-tw-font-discover-bold",3,"innerHTML"],["role","tablist","aria-label","Filter categories","data-testid","product-compare-category-tablist",1,"dfs-tw-flex","dfs-tw-gap-12","md:dfs-tw-flex-wrap","dfs-tw-scrollbar-hide","dfs-tw-overflow-x-auto","md:dfs-tw-overflow-visible"],["type","button","role","tab",1,"filter-chip","dfs-tw-shrink-0","md:dfs-tw-shrink",3,"active","tabindex"],["data-testid","carousel-pagination-container",1,"dfs-tw-mt-24","md:dfs-tw-hidden"],["arrowSize","0",3,"goToSlide","content","activeIndex","activeDotColor","inactiveDotColor"],[1,"dfs-tw-text-16","lg:dfs-tw-text-[19px]","dfs-tw-leading-[1.333]","dfs-tw-mt-24","md:dfs-tw-mt-[15px]",3,"innerHTML"],["type","button","role","tab",1,"filter-chip","dfs-tw-shrink-0","md:dfs-tw-shrink",3,"click","keydown.arrowRight","keydown.arrowLeft","tabindex"],[1,"filter-chip-text"],["aria-roledescription","carousel","tabindex","0","data-testid","carousel-container",1,"md:dfs-tw-hidden","dfs-tw-relative","dfs-tw-flex","dfs-tw-flex-col","dfs-tw-pt-88","dfs-tw-pb-[30px]","dfs-tw-outline-none",3,"focus"],[3,"activeIndexChange","activeIndex","slideWidth","totalSlides","dragThreshold","trackClass"],[3,"class","content","ratingData","showApr","aprToggleText","isActive","index","totalSlides"],[1,"dfs-tw-mt-[42px]",3,"content","activeIndex","activeDotColor","inactiveDotColor","gap","dotSize","arrowSize"],["aria-live","polite","aria-atomic","true","data-testid","carousel-live-region",1,"dfs-tw-sr-only"],["data-testid","product-compare-stacked-card-container",1,"dfs-tw-hidden","md:dfs-tw-block"],[3,"content","ratingData"],[3,"toggleApr","interceptClick","content","ratingData","showApr","aprToggleText","isActive","
1index","totalSlides"],[1,"dfs-tw-mt-[42px]",3,"previous","next","goToSlide","keydown.arrowLeft","keydown.arrowRight","content","activeIndex","activeDotColor","inactiveDotColor","gap","dotSize","arrowSize"]],template:function(n,e){1&n&&(t.\u0275\u0275elementStart(0,"div")(1,"section")(2,"div"),t.\u0275\u0275conditionalCreate(3,ft,3,3),t.\u0275\u0275elementEnd()()()),2&n&&(t.\u0275\u0275classMap(e.paramsInfo.curveColor),t.\u0275\u0275advance(),t.\u0275\u0275classMap(e.paramsInfo.colorOptions.bgColor+" dfs-tw-relative dfs-tw-overflow-hidden"+e.curveClass),t.\u0275\u0275advance(),t.\u0275\u0275classMap("dfs-tw-w-full md:dfs-tw-container dfs-tw-relative "+(e.curveClass?"md:dfs-tw-pb-48":"md:dfs-tw-pb-24")),t.\u0275\u0275advance(),t.\u0275\u0275conditional(e.content?3:-1))},dependencies:[u.xN,E.F,h.x,l.b,it,b.D],styles:["[_nghost-%COMP%]   .filter-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:var(--gds-spacing-padding-100) var(--gds-spacing-padding-250);border:1.5px solid var(--gds-color-border-neutral-emphasis-medium);border-radius:var(--gds-corner-radius-pill);background-color:var(--gds-color-dfs-white);cursor:pointer;transition:all var(--gds-animation-duration-2) var(--gds-animation-easing-standard-purposeful)}[_nghost-%COMP%]   .filter-chip.active[_ngcontent-%COMP%], [_nghost-%COMP%]   .filter-chip[_ngcontent-%COMP%]:not(.active):hover{background-color:var(--gds-color-dfs-midnight);border-color:var(--gds-color-dfs-midnight);color:var(--gds-color-text-and-icon-neutral-inverse)}[_nghost-%COMP%]   .filter-chip[_ngcontent-%COMP%]:hover   .filter-chip-text[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%]   .filter-chip[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--gds-color-border-focus);outline-offset:2px}[_nghost-%COMP%]   .filter-chip-text[_ngcontent-%COMP%]{font-size:var(--gds-font-size-medium-3);font-weight:var(--gds-font-weight-medium)}"],changeDetection:0}),a})()},9552:(L,y,s)=>{s.d(y,{x:()=>A});var M=s(7320),t=s(3370);function I(u,g){if(1&u){const l=t.\u0275\u0275getCurrentView();t.\u0275\u0275domElementStart(0,"button",5),t.\u0275\u0275domListener("click",function(){t.\u0275\u0275restoreView(l);const f=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(f.previous.emit())}),t.\u0275\u0275domElement(1,"img",6),t.\u0275\u0275domElementEnd()}if(2&u){const l=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("width",l.arrowSize())("height",l.arrowSize()),t.\u0275\u0275attribute("aria-disabled",0===l.activeIndex())("tabindex",0===l.activeIndex()?-1:0),t.\u0275\u0275advance(),t.\u0275\u0275styleProp("width",l.dotSize())("height",l.dotSize()),t.\u0275\u0275domProperty("src",0===l.activeIndex()?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAyNCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTE5LjQ3MiAzNy42NTA4TDI0IDMzLjI1MzhMOS4wNTc2IDE4Ljk5MzRMMjQgNC43NDU0MUwxOS40NzIgMC4zNDgzODlMMCAxOC45OTM0TDE5LjQ3MiAzNy42NTA4WiIgZmlsbD0iI0FEQURBRCIvPgo8L3N2Zz4K":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAyNCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTE5LjQ3MiAzNy42NTA4TDI0IDMzLjI1MzhMOS4wNTc2IDE4Ljk5MzRMMjQgNC43NDU0MUwxOS40NzIgMC4zNDgzODlMMCAxOC45OTM0TDE5LjQ3MiAzNy42NTA4WiIgZmlsbD0iI0VBNkEyOCIvPgo8L3N2Zz4K",t.\u0275\u0275sanitizeUrl)}}function z(u,g){if(1&u){const l=t.\u0275\u0275getCurrentView();t.\u0275\u0275domElementStart(0,"button",7),t.\u0275\u0275domListener("click",function(){const f=t.\u0275\u0275restoreView(l).$index,m=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(m.goToSlide.emit(f))}),t.\u0275\u0275domElementEnd()}if(2&u){const l=g.$index,c=t.\u0275\u0275nextContext();t.\u0275\u0275classMap(l===c.activeIndex()?c.activeDotColor():c.inactiveDotColor()),t.\u0275\u0275styleProp("width",c.dotSize())("height",c.dotSize()),t.\u0275\u0275attribute("aria-label",t.\u0275\u0275interpolate1("Go to slide ",l+1))("aria-current",l===c.activeIndex()?"true":null)}}function b(u,g){if(1&u){const m=t.\u0275\u0275getCurrentView();t.\u0275\u0275domElementStart(0,"button",8),t.\u0275\u0275domListener("click",function(){t.\u0275\u0275restoreView(m);const V=t.\u0275\u0275nextContext();
1return t.\u0275\u0275resetView(V.next.emit())}),t.\u0275\u0275domElement(1,"img",6),t.\u0275\u0275domElementEnd()}if(2&u){var l,c,f;const m=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("width",m.arrowSize())("height",m.arrowSize()),t.\u0275\u0275attribute("aria-disabled",m.activeIndex()===(null!==(l=m.content().length)&&void 0!==l?l:0)-1)("tabindex",m.activeIndex()===(null!==(c=m.content().length)&&void 0!==c?c:0)-1?-1:0),t.\u0275\u0275advance(),t.\u0275\u0275styleProp("width",m.dotSize())("height",m.dotSize()),t.\u0275\u0275domProperty("src",m.activeIndex()===(null!==(f=m.content().length)&&void 0!==f?f:0)-1?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAyNCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNTI4IDM3LjY1MDhMMCAzMy4yNTM4TDE0Ljk0MjQgMTguOTkzNEwwIDQuNzQ1NDFMNC41MjggMC4zNDgzODlMMjQgMTguOTkzNEw0LjUyOCAzNy42NTA4WiIgZmlsbD0iI0FEQURBRCIvPgo8L3N2Zz4K":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAyNCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNTI4IDM3LjY1MDhMMCAzMy4yNTM4TDE0Ljk0MjQgMTguOTkzNEwwIDQuNzQ1NDFMNC41MjggMC4zNDgzODlMMjQgMTguOTkzNEw0LjUyOCAzNy42NTA4WiIgZmlsbD0iI0VBNkEyOCIvPgo8L3N2Zz4K",t.\u0275\u0275sanitizeUrl)}}let A=(()=>{var u;class g{constructor(){this.content=t.input.required(),this.activeIndex=(0,t.input)(0),this.arrowSize=(0,t.input)("48px"),this.dotSize=(0,t.input)("14px"),this.gap=(0,t.input)("10px"),this.activeDotColor=(0,t.input)("dfs-tw-bg-interactive-emphasis-high"),this.inactiveDotColor=(0,t.input)("dfs-tw-bg-neutral-inverse-emphasis-high"),this.next=(0,t.output)(),this.previous=(0,t.output)(),this.goToSlide=(0,t.output)()}}return(u=g).\u0275fac=function(c){return new(c||u)},u.\u0275cmp=t.\u0275\u0275defineComponent({type:u,selectors:[["shared-element-carousel-pagination"]],inputs:{content:[1,"content"],activeIndex:[1,"activeIndex"],arrowSize:[1,"arrowSize"],dotSize:[1,"dotSize"],gap:[1,"gap"],activeDotColor:[1,"activeDotColor"],inactiveDotColor:[1,"inactiveDotColor"]},outputs:{next:"next",previous:"previous",goToSlide:"goToSlide"},decls:6,vars:4,consts:[[1,"dfs-tw-relative"],[1,"dfs-tw-my-[10px]","dfs-tw-flex","dfs-tw-justify-center","dfs-tw-items-center"],["type","button","aria-label","Previous slide",1,"dfs-tw-flex","dfs-tw-items-center","dfs-tw-justify-center",3,"width","height"],["type","button",1,"dfs-tw-inline-block","dfs-tw-rounded-large","dfs-tw-border-none","dfs-tw-cursor-pointer",3,"width","height","class","aria-label"],["type","button","aria-label","Next slide",1,"dfs-tw-flex","dfs-tw-items-center","dfs-tw-justify-center",3,"width","height"],["type","button","aria-label","Previous slide",1,"dfs-tw-flex","dfs-tw-items-center","dfs-tw-justify-center",3,"click"],["alt","","aria-hidden","true","sharedLazyLoad","",3,"src"],["type","button",1,"dfs-tw-inline-block","dfs-tw-rounded-large","dfs-tw-border-none","dfs-tw-cursor-pointer",3,"click"],["type","button","aria-label","Next slide",1,"dfs-tw-flex","dfs-tw-items-center","dfs-tw-justify-center",3,"click"]],template:function(c,f){1&c&&(t.\u0275\u0275domElementStart(0,"div",0)(1,"div",1),t.\u0275\u0275conditionalCreate(2,I,2,11,"button",2),t.\u0275\u0275repeaterCreate(3,z,1,9,"button",3,t.\u0275\u0275repeaterTrackByIndex),t.\u0275\u0275conditionalCreate(5,b,2,11,"button",4),t.\u0275\u0275domElementEnd()()),2&c&&(t.\u0275\u0275advance(),t.\u0275\u0275styleProp("gap",f.gap()),t.\u0275\u0275advance(),t.\u0275\u0275conditional("0px"!==f.arrowSize()?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275repeater(f.content()),t.\u0275\u0275advance(2),t.\u0275\u0275conditional("0px"!==f.arrowSize()?5:-1))},dependencies:[M.CommonModule],encapsulation:2}),g})()}}]);
2//# sourceMappingURL=3739.18bbe7270b1aafa4.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.