(window.webpackJsonp=window.webpackJsonp||[]).push([[138,5,58,101,183,227],{1009:function(e,t,n){"use strict";n.r(t);n(19),n(12);var o,r=n(2),c=n(3),l=n(8),d=n(9),f=n(5),h=(n(43),n(50),n(7),n(23),n(24),n(0)),v=n(847),y=n(15),m={"1c3d24e4-c387-11e2-8208-0291187b029a":{id:"a13a6b57-a74a-4eaf-be94-c72b9dc931c2",name:"TV & AUDIO"},"1c83a249-c387-11e2-8208-0291187b029a":{id:"d1753851-e519-4744-897e-9b6ea3b1c04b",name:"MOBILE"},"1bd51323-c387-11e2-8208-0291187b029a":{id:"5787016e-17a5-438f-8690-70ca531844fb",name:"SMART HOME"},"1c043a5f-c387-11e2-8208-0291187b029a":{id:"b122d23f-29eb-493e-83e6-e9fbfeaf79c8",name:"CARS"},"b78f26ac-ef93-4867-bdeb-4c93b3633dff":{id:"b122d23f-29eb-493e-83e6-e9fbfeaf79c8",name:"CARS"},"cc98b5a4-d3a9-4e35-b6d7-625e8289a152":{id:"cc98b5a4-d3a9-4e35-b6d7-625e8289a152",name:"DEALS"}},O=n(168);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(f.a)(e);if(t){var r=Object(f.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(d.a)(this,n)}}var A=new y.b("TopicBreadcrumbs"),w=function(e){Object(l.a)(n,e);var t=j(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n,[{key:"adjustedTopics",get:function(){return Object(O.c)(this.topics)}},{key:"mainCategory",get:function(){return Object(O.b)(this,this.topics)}},{key:"showAdjustedTopics",get:function(){var e,t,n;return(null===(e=this.adjustedTopics)||void 0===e?void 0:e.length)>0&&(null===(t=this.adjustedTopics[0])||void 0===t?void 0:t.name)!==(null===(n=this.mainCategory[0])||void 0===n?void 0:n.name)&&!this.isDeals}},{key:"showMainCategory",get:function(){var e;return(null===(e=this.mainCategory)||void 0===e?void 0:e.length)>0&&!this.isDeals}},{key:"isDeals",get:function(){var e;return null===(e=this.type)||void 0===e?void 0:e.toLowerCase().includes("deals")}},{key:"breadCrumbInterest",get:function(){var e=null;this.isDeals?e=O.a:this.adjustedTopics[0]?e=this.adjustedTopics[0]:this.mainCategory[0]&&(e=this.mainCategory[0]);var t={};if(e){var n=m[null==e?void 0:e.id];n?(t.id=null==n?void 0:n.id,t.name=null==n?void 0:n.name,t.type="broad"):(t.id=(null==e?void 0:e.id)+"_CNET_CAT_TOPIC",t.name=null==e?void 0:e.name,t.type="specific"),A.log("BreadCrumb Interest ",t)}return t}}]),n}(v.Vue);Object(h.c)([Object(v.Prop)({default:null,type:Array}),Object(h.f)("design:type","function"==typeof(o="undefined"!=typeof Array&&Array)?o:Object)],w.prototype,"topics",void 0),Object(h.c)([Object(v.Prop)({default:null,type:String}),Object(h.f)("design:type",String)],w.prototype,"type",void 0);var k=w=Object(h.c)([Object(v.Component)({components:{GlobalLink:function(){return n.e(109).then(n.bind(null,849)).then((function(e){return e.default}))}}})],w),C=(n(975),n(147)),component=Object(C.a)(k,(function(){var e=this,t=e._self._c;e._self._setupProxy;return e.adjustedTopics&&e.mainCategory?t("div",{staticClass:"c-topicBreadcrumbs"},[t("div",{staticClass:"c-topicBreadcrumbs_wrap u-flexbox"},[t("ul",{staticClass:"u-flexbox"},[e.showMainCategory?e._l(e.mainCategory,(function(n){return t("li",{key:n.id,staticClass:"g-text-xxxsmall"},[t("GlobalLink",{staticClass:"g-color-text-meta",attrs:{to:"Cars"===n.name?"/cars/":{name:"topic",params:n}}},[e._v(e._s(n.name))])],1)})):e._e(),e._v(" "),e.showAdjustedTopics?e._l(e.adjustedTopics,(function(n){return t("li",{key:n.id,staticClass:"g-text-xxxsmall"},[t("GlobalLink",{staticClass:"g-color-text-meta",attrs:{to:{name:"topic",params:n}}},[e._v(e._s(n.name))])],1)})):e._e(),e._v(" "),e.isDeals?t("li",{staticClass:"g-text-xxxsmall"},[t("GlobalLink",{staticClass:"g-color-text-meta",attrs:{to:"/deals/"}},[e._v(e._s(e.$t("header.deals.top")))])],1):e._e()],2)])]):e._e()}),[],!1,null,null,null);t.default=component.exports},1010:function(e,t,n){"use strict";n(12);var o=n(2),r=n(3),c=n(8),l=n(9),d=n(5),f=(n(43),n(50),n(90),n(7),n(23),n(24),n(0)),h=n(847),v=n(108),y=n(1009);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(d.a)(e);if(t){var r=Object(d.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(l.a)(this,n)}}var O=function(e){Object(c.a)(n,e);var t=m(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"disclosureMessage",get:function(){var e,t,n=null;return this.isReplay?n=this.$t("disclosure.text.replay"):"commercial"===(null===(e=this.article)||void 0===e?void 0:e.section)?n=this.$t("disclosure.text.sponsored"):"Paid Media"===(null===(t=this.article)||void 0===t?void 0:t.type)?n=this.$t("disclosure.text.paid"):this.isWalmartDisclosure&&(n=this.$t("disclosure.text.walmart")),n}},{key:"columnClasses",get:function(){return[this.columnStartClass,this.columnSizeClass]}},{key:"hasNoShortcodeNewscard",get:function(){var e;return!(null===(e=this.article)||void 0===e?void 0:e.body.includes('shortcode="newscard"'))}},{key:"isReplay",get:function(){var e,t;return null!==(t=null===(e=this.$route.meta)||void 0===e?void 0:e.replay)&&void 0!==t&&t}},{key:"isTypeExclusive",get:function(){var e;return"Exclusive"===(null===(e=this.article)||void 0===e?void 0:e.type)}},{key:"showDisclosure",get:function(){var e,t,n,o,r;return!this.isSolarReview&&!this.isBestListRedesign&&!this.isNrgBestRedesign&&!this.isBroadBandReviewAndBestList&&!this.isInternetRouterDemand&&!this.isBroadBandVersus&&((null===(t=null===(e=this.article)||void 0===e?void 0:e.additionalShortcodeData)||void 0===t?void 0:t.showDisclosure)||this.isBroadband||"credit-cards"===(null===(r=null===(o=null===(n=this.article)||void 0===n?void 0:n.topics)||void 0===o?void 0:o[0])||void 0===r?void 0:r.slug)||null!==this.disclosureMessage)}},{key:"isBroadBandVersus",get:function(){return this.$services.isFeatureEnabled("isBroadBandVersus")}},{key:"isBroadBandReviewAndBestList",get:function(){return this.$services.isFeatureEnabled("isBroadBandReviewAndBestList")}},{key:"isSolarReview",get:function(){return this.$services.isFeatureEnabled("isSolarReview")}},{key:"isWalmartDisclosure",get:function(){var e,t,n,o=v.a.getDateObjFromString("2023/10/31");return!(!(new Date>o)||"Deals"!==(null===(e=this.article)||void 0===e?void 0:e.type)&&"Deals - Precap"!==(null===(t=this.article)||void 0===t?void 0:t.type)||!(null===(n=this.article)||void 0===n?void 0:n.collections.find((function(e){return"walmart-2023"===e.slug}))))}}]),n}(h.Vue);Object(f.c)([Object(h.Prop)({default:function(){},type:Object}),Object(f.f)("design:type",Object)],O.prototype,"article",void 0),Object(f.c)([Object(h.Prop)({default:"",type:String}),Object(f.f)("design:type",String)],O.prototype,"columnStartClass",void 0),Object(f.c)([Object(h.Prop)({default:"sm:u-col-2 md:u-col-6 lg:u-col-6",type:String}),Object(f.f)("design:type",String)],O.prototype,"columnSizeClass",void 0),Object(f.c)([Object(h.Prop)({default:"",type:String}),Object(f.f)("design:type",String)],O.prototype,"displayDate",void 0),Object(f.c)([Object(h.Prop)({default:"",type:String}),Object(f.f)("design:type",String)],O.prototype,"displayUpdatedDate",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isBestListRedesign",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isNrgGeoRedesign",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isSolar",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isInternetRouter",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isInternetRouterDemand",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isAiAssistedArticle",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isBroadband",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],O.prototype,"isNrgBestRedesign",void 0);var j=O=Object(f.c)([Object(h.Component)({components:{ContentHeader:function(){return n.e(77).then(n.bind(null,1099)).then((function(e){return e.default}))},GlobalDisclosure:function(){return n.e(104).then(n.bind(null,951)).then((function(e){return e.default}))},MarketplaceContentHeader:function(){return Promise.all([n.e(26),n.e(129)]).then(n.bind(null,2527)).then((function(e){return e.default}))},TopicBreadcrumbs:y.default}})],O),A=(n(1115),n(147)),component=Object(A.a)(j,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"c-articleHeader",class:e.columnClasses},[!e.showDisclosure||e.isNrgGeoRedesign||e.isSolar||e.$services.isFeatureEnabled("isBroadbandBestList")||e.isInternetRouter?e._e():t("GlobalDisclosure",{staticClass:"g-outer-spacing-top-large",attrs:{"disclosure-message":e.disclosureMessage,topics:e.article.topics}}),e._v(" "),e.isTypeExclusive?t("div",{staticClass:"c-articleHeader_exclusiveTag g-text-xxxsmall g-outer-spacing-top-medium"},[e._v("\n "+e._s(e.$t("exclusive"))+"\n ")]):e._e(),e._v(" "),e._m(0),e._v(" "),e.isBroadband||e.isBroadBandVersus||e.isBroadBandReviewAndBestList||e.isInternetRouter||e.isNrgBestRedesign||e.isNrgGeoRedesign||e.isSolar?t("MarketplaceContentHeader",{attrs:{headline:e.article.headline||e.article.titleTag,description:e.hasNoShortcodeNewscard?e.article.dek:null,date:e.displayDate,"updated-date":e.displayUpdatedDate,author:e.article.suppressBio?null:e.article.author,"more-authors":e.article.suppressBio?null:e.article.moreAuthors,"content-body":e.article.body,"content-id":e.article.id,"is-best-list-redesign":e.isBestListRedesign,"is-ai-assisted-article":e.isAiAssistedArticle,"is-broad-band-versus":e.isBroadBandVersus,"is-broad-band-review-and-best-list":e.isBroadBandReviewAndBestList}}):t("ContentHeader",{attrs:{headline:e.article.headline||e.article.titleTag,description:e.hasNoShortcodeNewscard?e.article.dek:null,date:e.displayDate,"updated-date":e.displayUpdatedDate,author:e.article.suppressBio?null:e.article.author,"more-authors":e.article.suppressBio?null:e.article.moreAuthors,"content-body":e.article.body,"content-id":e.article.id,"is-best-list-redesign":e.isBestListRedesign,"is-ai-assisted-article":e.isAiAssistedArticle}})],1)}),[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("TopicBreadcrumbs",{staticClass:"g-outer-spacing-top-medium",attrs:{topics:e.article.topics,type:e.article.type}})}],!1,null,null,null);t.a=component.exports},1013:function(e,t,n){"use strict";n.r(t),function(e){n(12),n(17),n(28),n(14),n(29);var o,r=n(20),c=n(4),l=n(2),d=n(3),f=n(36),h=n(8),v=n(9),y=n(5),m=(n(90),n(7),n(43),n(50),n(67),n(16),n(30),n(65),n(68),n(13),n(39),n(33),n(18),n(19),n(0)),O=n(96),j=n(1),A=n(1014),w=n.n(A),k=n(110),C=n.n(k),x=n(15),S=n(42),_=n(31),R=n(75),T=n(1027),D=n(871),B=n(81),P=n(962),L=n(168);function I(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function M(e){for(var i=1;i0)return t.filter((function(e){var t,n,o,r,c,l,d,f=!1;return(null===(t=null==e?void 0:e.merchantOffers)||void 0===t?void 0:t.length)>0&&(f=!!(null===(o=null===(n=null==e?void 0:e.merchantOffers)||void 0===n?void 0:n[0])||void 0===o?void 0:o.url)&&!!(null===(c=null===(r=null==e?void 0:e.merchantOffers)||void 0===r?void 0:r[0])||void 0===c?void 0:c.offerMerchant)),(null==e?void 0:e.creditCardData)||(null===(d=null===(l=null==e?void 0:e.techProd)||void 0===l?void 0:l.resellers)||void 0===d?void 0:d.length)>0||f}))}},{key:"getListicleIndex",value:function(e){var t;return(null===(t=this.listicles)||void 0===t?void 0:t.map((function(e){return e.uuid})).indexOf(e))+1}}]),n}(v.Vue);Object(h.c)([Object(v.Prop)({default:function(){},type:Object}),Object(h.f)("design:type",Object)],j.prototype,"article",void 0),Object(h.c)([Object(v.Prop)({default:"",type:String}),Object(h.f)("design:type",String)],j.prototype,"device",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:[Boolean,String]}),Object(h.f)("design:type",Object)],j.prototype,"firstElementImage",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],j.prototype,"isCenterJustified",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],j.prototype,"isReviewCardTop",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],j.prototype,"isSeamless",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],j.prototype,"showPrecap",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],j.prototype,"showVideoAsGifv",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],j.prototype,"showHeroVideo",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],j.prototype,"isSolar",void 0);var A=j=Object(h.c)([Object(v.Component)({components:{GlobalImage:function(){return n.e(108).then(n.bind(null,917)).then((function(e){return e.default}))},ShortcodeContent:function(){return Promise.resolve().then(n.bind(null,922)).then((function(e){return e.default}))},ShortcodeListiclePrecap:function(){return Promise.all([n.e(0),n.e(3),n.e(2),n.e(4),n.e(198)]).then(n.bind(null,2447)).then((function(e){return e.default}))},VideoWNRManager:o}})],j),w=(n(1216),n(147)),component=Object(w.a)(A,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"c-pageArticleHero sm:u-col-2 md:u-col-6",class:e.columnStartWide},[e.$services.isFeatureEnabled("video")&&e.article.video?t("div",[e.showVideoAsGifv?e.showVideoAsGifv?t("div",{staticClass:"c-pageArticleHero_videowrap"},[t("client-only",[e.showVideoAsGifv?t("video",{attrs:{src:e.article.video.mp4Url||"",autoplay:"",loop:"",muted:"",playsinline:""},domProps:{muted:!0}}):e._e()])],1):e._e():t("div",{staticClass:"c-pageArticleHero_playerwrap g-outer-spacing-bottom-xlarge g-outer-spacing-top-xlarge",style:"background: url(".concat(e.posterImageHero,")"),attrs:{"data-video-location":"HERO","data-video-article-placement":"RV Embed"}},[t("client-only",[t("VideoWNRManager",{key:e.article.video.id,attrs:{"is-hero":!0,"hero-video":e.article.video,"autoplay-hero":e.shouldAutoPlay}})],1)],1)]):e.useImageAsHero?t("div",{staticClass:"c-pageArticleHero_image"},[t("GlobalImage",{attrs:{image:e.article.image,"show-credits":!0,sizes:{large:"seo_image_wide",medium:"article_hero_medium",small:"article_hero_small"},preload:!0}})],1):"string"==typeof e.firstElementImage&&e.useFirstShortcodeAsHero?t("ShortcodeContent",{attrs:{content:e.firstElementImage,"shortcode-props":{isHero:!0,heroImageSizes:{large:"seo_image_wide",medium:"article_hero_medium",small:"article_hero_small"},showHeroVideo:e.showHeroVideo,preload:"true",contentId:e.article.id,getListicleIndex:e.getListicleIndex}}}):e._e(),e._v(" "),e.showListiclePrecap?t("ShortcodeListiclePrecap",{attrs:{"precap-data":e.precapData,"content-id":e.article.id,"is-versus-precap":!0,"is-credit-card-topic":e.isCreditCardTopic}}):e._e()],1)}),[],!1,null,null,null);t.a=component.exports},1316:function(e,t,n){"use strict";n(7),n(12);var o=n(2),r=n(3),c=n(8),l=n(9),d=n(5),f=(n(78),n(0)),h=n(847),v=n(885);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(d.a)(e);if(t){var r=Object(d.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(l.a)(this,n)}}var m=function(e){Object(c.a)(n,e);var t=y(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"isShortform",get:function(){return"Short Form"===this.pageLayout||"Short Form - Roadshow Article Page"===this.pageLayout}}]),n}(h.Vue);Object(f.c)([Object(h.Prop)({default:"",type:String}),Object(f.f)("design:type",String)],m.prototype,"pageLayout",void 0),Object(f.c)([Object(h.Prop)({default:0,type:Number}),Object(f.f)("design:type",Number)],m.prototype,"paragraphCount",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],m.prototype,"suppressAds",void 0),Object(f.c)([Object(h.Prop)({default:!1,type:Boolean}),Object(f.f)("design:type",Boolean)],m.prototype,"moreAds",void 0);var O=m=Object(f.c)([Object(h.Component)({components:{CnetAdMonetization:v.a}})],m),j=n(147),component=Object(j.a)(O,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"u-flexbox-column g-outer-spacing-top-xlarge"},[t("CnetAdMonetization",{attrs:{"suppress-ads":e.suppressAds,"container-classes":["c-pageArticle_adRightRail_top"],"slot-name":"pageArticleRRtop"}}),e._v(" "),e.moreAds?e._l(Math.floor(e.paragraphCount/3),(function(n){return t("CnetAdMonetization",{key:"right-rail-middle-ad-".concat(n),attrs:{"suppress-ads":e.suppressAds,"container-classes":["c-pageArticle_adRightRail_middle"],"slot-name":"pageArticleAdLeftMiddle"}})})):e._e(),e._v(" "),!e.isShortform&&e.paragraphCount>9?t("CnetAdMonetization",{attrs:{"suppress-ads":e.suppressAds,"container-classes":["c-pageArticle_adRightRail_bottom"],"slot-name":"pageArticleRRbottom"}}):e._e()],2)}),[],!1,null,null,null);t.a=component.exports},1325:function(e,t,n){"use strict";n(17),n(18);var o=new(n(15).a)("ab"),r={name:"AbTest",functional:!0,props:{id:{default:"",type:String}},render:function(e,t){if(t.parent.$store.getters["ab/id"]===t.props.id&&t.parent.$abtest.isBucketedTestActive()){var n=t.parent.$store.getters["ab/bucket"];o.log("AbTest component slots passed: ",Object.keys(t.slots()));var r=t.slots()[n];return void 0!==r&&1===r.length&&r[0].tag?(o.log("test '".concat(t.props.id,"' is active for bucket '").concat(n,"', rendering slot passed.")),r[0]):(o.log("test '".concat(t.props.id,"' is active but bucket '").concat(n,"' does not have a slot to render.")),e(null,{},[]))}return void 0!==t.slots().default?(o.log("test '".concat(t.props.id,"' is not active, rendering default slot.")),t.slots().default):(o.log("test '".concat(t.props.id,"' is not active, no valid default slot found, rendering nothing.")),e(null,{},[]))}},c=n(147),component=Object(c.a)(r,undefined,undefined,!1,null,null,null);t.a=component.exports},1331:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return c}));n(90),n(7),n(43),n(50);var o=[{id:"mattress_deals",topics:["mattresses"],title:"Black Friday Deals",articleId:"d034c148-83fa-4885-9628-324d93f646c7",versions:[{articleTitle:"Black Friday Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/17/2023"),endDate:new Date("11/28/2023")}]},{id:"laptop_deals",topics:["laptops"],title:"Black Friday Deals",articleId:"5b753f4a-a320-49ba-a146-35e22e5e205f",versions:[{articleTitle:"Best Black Friday Laptop Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"fitness_deals",topics:["fitness","fitness-accessories","fitness-equipment","fitness-tech","exercising"],title:"Black Friday Deals",articleId:"9fec30fe-defd-4c28-82db-8bf7660978c6",versions:[{articleTitle:"Best Black Friday Fitness Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"headphone_deals",topics:["headphones"],title:"Black Friday Deals",articleId:"d7d473e2-69c8-4ff6-9308-d6c493c1ee70",versions:[{articleTitle:"Best Black Friday Headphone Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"vacuum_cleaner_deals",topics:["vacuum-cleaners"],title:"Black Friday Deals",articleId:"24206191-be15-4ddb-8300-5e0f87d14f89",versions:[{articleTitle:"Best Black Friday Robot Vacuum Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"vpn_deals",topics:["vpn"],title:"Black Friday Deals",articleId:"bba7e36d-8f04-4989-b448-f82c7460c5a1",versions:[{articleTitle:"Best Black Friday VPN Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"phone_deals",topics:["phones"],title:"Black Friday Deals",articleId:"d1255c83-67e1-4f69-85a5-a3a0ddd5a329",versions:[{articleTitle:"Best Black Friday iPhone Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"tablet_deals",topics:["tablets"],title:"Black Friday Deals",articleId:"3da8c8b9-c2b1-4a56-a6a3-d07a125d5d51",versions:[{articleTitle:"Best Black Friday iPad Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"smartwatch_deals",topics:["smartwatches"],title:"Black Friday Deals",articleId:"3261f2f0-cb81-44b1-bf91-7e4d0e584749",versions:[{articleTitle:"Best Black Friday Apple Watch Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"tv_deals",topics:["tvs"],title:"Black Friday Deals",articleId:"afd6a0b5-64d4-4c89-9fdc-1ac9adc7d48e",versions:[{articleTitle:"Best Black Friday TV Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"nintendo_deals",topics:["nintendo"],title:"Black Friday Deals",articleId:"bb012194-7e84-4e30-83c6-626a4463febc",versions:[{articleTitle:"Best Black Friday Nintendo Switch Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"media_streamers_deals",topics:["media-streamers"],title:"Black Friday Deals",articleId:"3a043823-a780-4146-9ee0-35b01ef4ddc7",versions:[{articleTitle:"Best Black Friday Roku Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"3d_printers_deals",topics:["3d-printers"],title:"Black Friday Deals",articleId:"57e2efeb-1d60-46b6-a2ec-d6b60ac664a9",versions:[{articleTitle:"Best Black Friday TV Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"wireless_bluetooth_speaker_deals",topics:["wireless-bluetooth-speakers"],title:"Black Friday Deals",articleId:"fb911c4c-cb12-4d40-96e9-cea9c5276257",versions:[{articleTitle:"Best Black Friday Sonos Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"thermostat_deals",topics:["thermostats","air-conditioners","home-energy-and-utilities"],title:"Black Friday Deals",articleId:"83901b49-33af-4753-a187-8b3779886172",versions:[{articleTitle:"Best Black Friday TV Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]},{id:"household_deals",topics:["kitchen-and-household","kitchen-and-household-tools","small-appliances"],title:"Black Friday Deals",articleId:"37df1a93-1971-4b17-8f05-e49a04838e2c",versions:[{articleTitle:"Best Black Friday Air Fryer Deals",drawerTitle:"Black Friday Deals",startDate:new Date("11/20/2023"),endDate:new Date("12/01/2023")}]}],r=function(e,t){return o.find((function(n){var o;return t&&n.slugs?null===(o=n.slugs)||void 0===o?void 0:o.includes(t):n.topics.includes(e)}))},c=[{title:"Black Friday Deals",startDate:new Date("10/21/2023"),endDate:new Date("11/26/2023")},{title:"Cyber Monday Deals",startDate:new Date("11/27/2023"),endDate:new Date("11/28/2023")},{title:"Cyber Week Deals",startDate:new Date("11/28/2023"),endDate:new Date("11/30/2023")}]},1332:function(e,t,n){var content=n(1661);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(300).default)("b4b8c240",content,!0,{sourceMap:!1})},1660:function(e,t,n){"use strict";n(1332)},1661:function(e,t,n){var o=n(299)((function(i){return i[1]}));o.push([e.i,".c-pageArticle_ad{background:#f9f9f9;margin-left:calc(50% - 50vw + .5*var(--scroll-bar-width));margin-right:calc(50% - 50vw + .5*var(--scroll-bar-width))}.c-pageArticle_ad.blank{min-height:initial !important;opacity:0;padding:0;margin:0}.c-pageArticle_ad-90{min-height:90px}.c-pageArticle_ad-250{min-height:250px}.c-pageArticle_ad-flex{min-height:250px}@media(min-width: 768px){.c-pageArticle_ad-flex{min-height:90px}}@media(min-width: 1024px){.c-pageArticle_body .c-pageArticle_toc{display:none}}.c-pageArticle_content{position:relative}.c-pageArticle_content br{content:none}.c-pageArticle_content [data-dropcap=true]::first-letter{float:left;font-weight:700;font-size:7.5rem;line-height:5rem;padding:1px 5px 0 3px}@media(max-width: 767px){.c-pageArticle_content ul,.c-pageArticle_content ol{font-size:1rem;line-height:1.375rem;margin:0 0 1.5rem}.c-pageArticle_content h2{font-size:1.5rem;line-height:1.75rem;margin:0 .5rem .5rem 0}.c-pageArticle_content-deals.c-pageArticle_content-deals ul li{margin:1rem 0}}.c-pageArticle_content .c-pageArticle_adLeftRail.blank{min-height:initial !important;opacity:0;padding:0;margin:0}.c-pageArticle_grid{row-gap:0}.c-pageArticle_hero figcaption{text-align:right}@media(min-width: 1024px){.c-pageArticle_rightRail>div{align-items:flex-start;height:100%;margin-bottom:1.5rem}.c-pageArticle_rightRail>div .c-adDisplay_container{margin-left:7px}.c-pageArticle_rightRail-precap{padding-top:32rem}.c-pageArticle_rightRail_top{grid-row:1/5}}@media(max-width: 1023px){.c-pageArticle_rightRail{display:none}.c-pageArticle_rightRail_marketplacePoc{display:block}}.c-pageArticle_rightRail .c-pageArticle_adRightRail[data-ad-callout]::before,.c-pageArticle_rightRail .c-pageArticle_adLeftRail[data-ad-callout]::before{width:calc(100% - 2rem)}.c-pageArticle_rightRail .c-pageArticle_adRightRail.blank,.c-pageArticle_rightRail .c-pageArticle_adLeftRail.blank{opacity:0}.c-pageArticle_videowrap video{width:100%}@media(min-width: 768px){.c-pageArticle_bestListDisclosure-vpn{display:none}}@media(min-width: 768px){.c-pageArticle_bestListToc{display:none}}.c-pageArticle_bestListToc.noStickyToc{z-index:auto}.c-pageArticle_leftRail{position:relative}.c-pageArticle_leftRail .c-pageArticle_bestListDisclosure-vpn{display:block}@media(max-width: 767px){.c-pageArticle_leftRail .c-pageArticle_bestListDisclosure-vpn{display:none}}.c-pageArticle_leftRail .c-pageArticle_bestListToc{display:block}.c-pageArticle_leftRail .c-pageArticle_bestListToc_placeholder{min-height:200px}@media(max-width: 767px){.c-pageArticle_leftRail .c-pageArticle_bestListToc{display:none}}@media(min-width: 768px){.c-pageArticle_mobileInlineNewsletter{display:none}}.c-pageArticle_inlineNewsletter{display:none}@media(min-width: 768px){.c-pageArticle_inlineNewsletter{display:block}}.c-pageArticle.is-centered .c-pageArticle_hero .c-shortcodeImage-hasCaption{text-align:right}.c-pageArticle .c-adDisplay_container.c-pageArticle_adRightRail,.c-pageArticle .c-adDisplay_container.c-pageArticle_adLeftRail{background:#f9f9f9;min-width:300px;padding:2.5rem 1rem 1rem;position:absolute}@media(min-width: 768px){.c-pageArticle .c-adDisplay_container.c-pageArticle_adRightRail,.c-pageArticle .c-adDisplay_container.c-pageArticle_adLeftRail{left:calc(calc((calc(100vw - 2 * 2rem) + 1.5rem) / 12) * 7)}}@media(min-width: 1440px){.c-pageArticle .c-adDisplay_container.c-pageArticle_adRightRail,.c-pageArticle .c-adDisplay_container.c-pageArticle_adLeftRail{left:calc(calc((calc(1440px - 2 * 72px) + 1.5rem) / 12) * 7)}}.c-pageArticle .c-adDisplay_container.c-pageArticle_adRightRail .c-adDisplay,.c-pageArticle .c-adDisplay_container.c-pageArticle_adLeftRail .c-adDisplay{margin:0 auto}.c-pageArticle .c-adDisplay_container.c-pageArticle_adLeftRail{left:0}.c-pageArticle .c-pageArticle_adRightRail_top,.c-pageArticle .c-pageArticle_adRightRail_middle,.c-pageArticle .c-pageArticle_adRightRail_bottom,.c-pageArticle .c-pageArticle_adLeftRail_top,.c-pageArticle .c-pageArticle_adLeftRail_middle,.c-pageArticle .c-pageArticle_adLeftRail_bottom{background:#f9f9f9;padding:2.5rem 1rem 1rem;position:relative}.c-pageArticle .c-pageArticle_adRightRail_top.blank,.c-pageArticle .c-pageArticle_adRightRail_middle.blank,.c-pageArticle .c-pageArticle_adRightRail_bottom.blank,.c-pageArticle .c-pageArticle_adLeftRail_top.blank,.c-pageArticle .c-pageArticle_adLeftRail_middle.blank,.c-pageArticle .c-pageArticle_adLeftRail_bottom.blank{min-height:initial !important;opacity:0;padding:0;margin:0}.c-pageArticle .c-pageArticle_adRightRail_middle,.c-pageArticle .c-pageArticle_adLeftRail_middle{margin-top:auto}.c-pageArticle .c-pageArticle_adRightRail_bottom,.c-pageArticle .c-pageArticle_adLeftRail_bottom{margin-top:auto;margin-bottom:4rem}.c-pageArticle .c-pageArticle_adLeftRail_top,.c-pageArticle .c-pageArticle_adLeftRail_bottom{min-width:300px}.c-pageArticle .c-pageArticle_adLeftRail_top{margin-bottom:1rem}@media(max-width: 767px){.c-pageArticle .c-pageArticle_adLeftRail_top{margin:0 calc(50% - 50vw);padding-left:0;padding-right:0}}.c-pageArticle .c-pageArticle_adLeftRail_bottom[data-ad-callout]{position:absolute;left:0}.c-pageArticle .c-shortcodeImage.c-shortcodeImage-original .c-shortcodeImage_image{width:unset;position:static;margin-left:unset;margin-right:unset;left:initial;transform:none}.c-pageArticle .c-infoCard{border:1px solid #dadada;padding:1rem;border-radius:.25rem;margin-bottom:1.5rem}.c-pageArticle .c-infoCard>h1,.c-pageArticle .c-infoCard>h2,.c-pageArticle .c-infoCard>h3,.c-pageArticle .c-infoCard>h4,.c-pageArticle .c-infoCard>h5{margin:1.5rem 0}.c-pageArticle .c-infoCard>h2:not(.c-shortcodeListicle_hed){color:#e71d1d;font-size:1.5rem;line-height:1.75rem;margin:0 0 1.5rem}.c-pageArticle .c-infoCard>h3{font-size:1.5rem;line-height:1.75rem}.c-pageArticle .c-infoCard>ul li a[href$=jump]{display:none}.c-pageArticle .c-infoCard>table{text-align:left;max-width:100%;margin:28px 0;display:block;overflow:auto}.c-pageArticle .c-infoCard>table tbody{text-align:left;width:100%;font-size:.875rem;clear:both;line-height:1.3;color:#737373}.c-pageArticle .c-infoCard>table tbody tr:first-of-type{color:#141415}.c-pageArticle .c-infoCard>table tbody tr:first-of-type strong{font-weight:normal}.c-pageArticle .c-infoCard>table tbody tr:not(:last-of-type){border-bottom:1px solid #dadada}.c-pageArticle .c-infoCard>table tbody th{padding:5px 20px}.c-pageArticle .c-infoCard>table tbody th:not(:last-of-type){border-right:1px solid #dadada}.c-pageArticle .c-infoCard>table tbody td{padding:5px 20px;vertical-align:inherit}.c-pageArticle .c-infoCard>table tbody td br{margin:0}.c-pageArticle .c-infoCard>table tbody td p{font-size:.875rem;margin-bottom:0}.c-pageArticle .c-infoCard>table tbody td:first-of-type{color:#737373}.c-pageArticle .c-infoCard>table tbody td:first-of-type strong{font-weight:normal}.c-pageArticle .c-infoCard>table tbody td:not(:last-of-type){border-right:1px solid #dadada}@media(min-width: 1024px){.c-pageArticle div[section=article-body]:not(.is-centered) .c-shortcodeListicle+.c-pageArticle_ad{background-color:rgba(0,0,0,0);left:100%;margin:auto auto auto 1.5rem;position:absolute;width:100%}}.c-pageArticle_toc_poc .c-globalToc{width:100%}@media(max-width: 1024px){.c-pageArticle_toc_poc .c-globalToc{position:fixed;top:0;left:0;z-index:999999999}}.c-scrappyLiveblog_updated{font-size:1rem;font-weight:700;display:block}.c-scrappyLiveblog_updatedCallout{color:#e71d1d}.c-scrappyLiveblog_item [itemprop=headline]{margin-top:0}body.sponsoredImmersive .c-siteMenu,body.sponsoredImmersive .c-articleHeader,body.sponsoredImmersive .c-trendingBar,body.sponsoredImmersive .c-articleLinkBlock{display:none}body.sponsoredImmersive .c-pageArticle .c-ShortcodeContent{margin-bottom:0}body.sponsoredImmersive .c-pageArticle .c-ShortcodeContent .c-shortcodeCodeSnippet_ceros{margin:0 calc(50% - 50vw + .5*var(--scroll-bar-width))}body.sponsoredImmersive .c-pageArticle_grid{margin-bottom:0}@media(max-width: 767px){body.sponsoredImmersive .c-pageArticle_grid{gap:0}}.t-ctaAbcolorTest-lime{color:#141415;border-color:#b4fa8e;background-color:#b4fa8e;border:1px solid #b4fa8e}.t-ctaAbcolorTest-lime:hover{border:1px solid #9bec64;background-color:#9bec64;color:#141415}",""]),o.locals={},e.exports=o},2411:function(e,t,n){"use strict";n.r(t);n(43),n(50);var o,r,c,l,d,f,h,v,y=[function(){var e,t=this,n=t._self._c;t._self._setupProxy;return n("ShortcodeContent",{staticClass:"c-pageArticle_content",class:{"sm:u-col-2 md:u-col-6 lg:u-col-12":t.isLeftRailTemplate,"c-pageArticle_content-deals":"Deals"===t.article.type||"Deals - Precap"===t.article.type},attrs:{content:t.article.body,"injection-rules":t.injectionRules,"left-rail-injection-rules":t.leftRailInjectionRules,"content-props":{pageType:t.article.typeName,isLeftRailTemplate:t.isLeftRailTemplate,isReviewCardTop:t.$services.isFeatureEnabled("reviewCardTop"),isSeamless:t.isSeamless,isBestListRedesign:t.isBestListRedesign,isComparableListicles:t.isComparableListicles,isLeftRailTemplateReview:t.isLeftRailTemplateReview,isScrappyLiveblog:t.isScrappyLiveblog,hasReviewCardBottom:t.hasReviewCardBottom,showPrecap:t.showPrecap,mortageTableText:t.$t("mortgage_table.head"),tocHeaderType:"h2",primaryTopicSlug:t.primaryTopicSlug,contentId:t.article.id,showMortgageTable:"mortgages"===t.primaryTopicSlug&&"Evergreen Mortgages"===(null===(e=t.article)||void 0===e?void 0:e.type)},"shortcode-props":{contentType:t.article.type,contentId:t.article.id,getListicleIndex:t.getListicleIndex,isBestListRedesign:t.isBestListRedesign,isBestMattressRedesign:t.isBestMattressRedesign,isComparableListicles:t.isComparableListicles,isLeftRailTemplate:t.isLeftRailTemplate,isLeftRailTemplateReview:t.isLeftRailTemplateReview,filterShortcodeTypes:t.filterShortcodeTypes,totalFilterItems:t.totalFilterItems,pageLayout:t.article.pageLayout,primaryTopicSlug:t.primaryTopicSlug,productPromo:t.isProductPromo,showHeroVideo:t.showHeroVideo,showDetails:!t.tagSlugs.includes("money"),showPriceScale:t.showPriceScale,suppressAutoplay:t.article.suppressAutoplay,tagSlugs:t.tagSlugs,tocHeadlineItem:t.tocHeadlineItem,topics:t.article.topics}},scopedSlots:t._u([{key:"leftRailBylineCard",fn:function(){return[n("ArticleBylineCard",{attrs:{author:t.article.author,"more-authors":t.article.moreAuthors,"date-time":t.displayDates.displayDate,"update-text":t.dateStampUpdateText,disclosure:t.$t("disclosure.text.default")}})]},proxy:!0},{key:"leftRailWhyTrust",fn:function(){return[n("BestListDisclosure",{staticClass:"c-pageArticle_bestListDisclosure",attrs:{"content-id":t.article.id,"primary-topic":t.primaryTopicSlug,"is-left-rail-template-review":t.isLeftRailTemplateReview}})]},proxy:!0},{key:"leftRailWhatToConsider",fn:function(){return[n("BestListWhatToConsider",{attrs:{"primary-topic-slug":t.primaryTopicSlug}})]},proxy:!0},{key:"leftRailToc",fn:function(){return[n("client-only",{scopedSlots:t._u([{key:"fallback",fn:function(){return[n("div",{staticClass:"c-pageArticle_bestListToc_placeholder"})]},proxy:!0}])},[n("BestListTableOfContents",{staticClass:"c-pageArticle_bestListToc",class:{noStickyToc:!t.hasStickyToc},attrs:{"content-id":t.article.id,"toc-headline-item":t.tocHeadlineItem,"sticky-enable":t.hasStickyToc}})],1)]},proxy:!0},{key:"bestListProductCompare",fn:function(){return[n("BestListProductCompare")]},proxy:!0},{key:"reviewStickyCta",fn:function(){return[n("ReviewStickyCta",{attrs:{review:t.article.getProductData()}})]},proxy:!0},t.showMoneyEmailCaptureUnit?{key:"emailCaptureMobile",fn:function(){return[n("div",{staticClass:"c-pageArticle_mobileInlineNewsletter"},[n("NewsletterInlineUnit",{attrs:{"is-money":t.showMoneyEmailCaptureUnit}})],1)]},proxy:!0}:null,t.showMoneyEmailCaptureUnit?{key:"emailCapture",fn:function(){return[n("div",{staticClass:"c-pageArticle_inlineNewsletter"},[n("NewsletterInlineUnit",{attrs:{"is-money":t.showMoneyEmailCaptureUnit}})],1)]},proxy:!0}:null,{key:"reviewBadge",fn:function(){return[n("ReviewBadge",{attrs:{date:t.badgeData.date,theme:t.badgeData.type,year:!0}})]},proxy:!0},{key:"listiclePrecap",fn:function(){return[n("ShortcodeListiclePrecap",{attrs:{"content-id":t.article.id,"is-best-list-redesign":t.isBestListRedesign,"is-best-mattress-redesign":t.isBestMattressRedesign,"is-credit-card-topic":t.isCreditCardTopic,"is-left-rail-template":t.isLeftRailTemplate,"is-versus-precap":t.isPrecapType.versus,"is-mini-precap":t.tagSlugs.includes("mini-listicles"),"precap-data":t.precapData,"primary-topic-slug":t.primaryTopicSlug,"show-wide-buttons":t.showWideButtons}})]},proxy:!0},{key:"bestListInlineToc",fn:function(){return[t.tocItems&&t.tocItems.length?[n("ShortcodeTableOfContents",{staticClass:"c-pageArticle_bestListToc",attrs:{"content-id":t.article.id,contents:t.tocItems,"toc-headline-item":t.tocHeadlineItem}})]:n("client-only",{scopedSlots:t._u([{key:"fallback",fn:function(){return[n("div",{staticClass:"c-pageArticle_bestListToc_placeholder"})]},proxy:!0}])},[n("BestListTableOfContents",{staticClass:"c-pageArticle_bestListToc",attrs:{"content-id":t.article.id,"toc-headline-item":t.tocHeadlineItem,"sticky-enable":!t.isReviewRedesignTest}})],1)]},proxy:!0},{key:"articleCallout",fn:function(){return[n("ArticleCallout",{attrs:{callouts:t.getEnabledCallouts,collection:t.collectionPackageUnit}})]},proxy:!0},{key:"adHeavy",fn:function(){return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-250","g-outer-spacing-bottom-medium"],"viewport-center":!0,"slot-name":"pageArticleAdMpuNative"}})]},proxy:!0},{key:"myFiWidget",fn:function(){return[n("InlineWidget",{attrs:{id:"myfinance-top","sub-id":t.myFiSubId,"sub-id2":t.article.slug,"static-only":!1}})]},proxy:!0},{key:"mealKitWidget",fn:function(){return[n("InlineWidget",{staticClass:"myFinance-widget cnet-mealkit-quiz",attrs:{campaign:"cnet-mealkit-quiz","ad-id":"b8ab3121-ece5-4c85-a525-ec649e5b7f3f","static-only":!1}})]},proxy:!0},{key:"myFiWidgetCnetMoney",fn:function(){return[n("InlineWidget",{attrs:{id:"myfinance-first","sub-id":t.myFiSubId,"sub-id2":t.article.slug,"static-only":!1}})]},proxy:!0},{key:"mortgageTable",fn:function(){return[n("MortgageTable",{attrs:{mortgages:t.article.mortgage}})]},proxy:!0},t.isReviewRedesignTest?{key:"reviewStickyCtaMobile",fn:function(){return[n("ReviewStickyCta",{staticClass:"c-reviewStickyCta_mobile",attrs:{review:t.article.getProductData()}})]},proxy:!0}:null,{key:"specialDealsContainer",fn:function(){return[n("SpecialDealsContainer",{attrs:{deal:t.specialDeal,"page-id":t.article.id,list:t.topicDeals,"is-left-rail-template":t.isLeftRailTemplate}})]},proxy:!0},{key:"shoppingWidget",fn:function(){return[n("ShoppingWidget",{attrs:{"article-id":t.article.id,topic:t.topic}})]},proxy:!0},{key:"truecarPromo",fn:function(){return[n("ShortcodeCommercePromo",{attrs:{hed:t.$t("commerce_promos.truecar.hed"),api:JSON.stringify(t.$t("commerce_promos.truecar.api")),"button-text-override":t.$t("commerce_promos.truecar.buttonText")}})]},proxy:!0},{key:"tableOfContents",fn:function(){return[n("client-only",[n("ManualTableOfContents",{ref:"articleToc",attrs:{"content-id":t.article.id}})],1)]},proxy:!0},{key:"priceScale",fn:function(){return[t.showPriceScale?n("ArticlePriceScale",{attrs:{"primary-topic-slug":t.primaryTopicSlug}}):t._e()]},proxy:!0},t.isCenterJustified?{key:"pageArticleCenteredTop",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-90","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"ad-instance":o+1,"slot-name":"pageArticleAdCenteredTop"}})]}}:null,t.isCenterJustified?{key:"pageArticleCentered",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-90","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"ad-instance":o+1,"slot-name":"pageArticleLBmiddle"}})]}}:null,t.isLeftRailTemplate?{key:"pageArticleLeftTop",fn:function(){return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_adLeftRail_top"],"slot-name":"pageArticleLRtop"}})]},proxy:!0}:null,{key:"pageArticleLeftTopMobile",fn:function(){return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_adLeftRail_top"],"slot-name":"pageArticleLRtopMobile"}})]},proxy:!0},{key:"pageArticleLeftMiddle",fn:function(){return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":[t.isLeftRailTemplate?"c-pageArticle_adLeftRail":"c-pageArticle_adRightRail"],"viewport-center":!0,"slot-name":"pageArticleAdLeftMiddle"}})]},proxy:!0},{key:"pageArticleLeftRailBottom",fn:function(){return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_adLeftRail_bottom"],"slot-name":"pageArticleRRbottom"}})]},proxy:!0},{key:"pageArticleMobileCentered",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-flex","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"ad-instance":o+1,"slot-name":"pageArticleAdMobileCentered"}})]}},{key:"pageArticleMobileIncontentAll",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-flex","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"slot-name":"pageArticleAdMobileIncontentAll","ad-instance":o+1}})]}},{key:"pageArticleMobileNative",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-flex","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"slot-name":"pageArticleAdMobileNative","ad-instance":o+1}})]}},t.isLeftRailTemplate?null:{key:"pageArticleTabletMpuTop",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-90","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"slot-name":"pageArticleAdTabletMpuTop","ad-instance":o+1}})]}},{key:"pageArticleTabletNativeMpu",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-90","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"slot-name":"pageArticleAdTabletNativeMpu","ad-instance":o+1}})]}},{key:"pageArticleTabletMpuBottom",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-90","g-outer-spacing-bottom-medium"],"ad-instance":o+1,"viewport-center":!0,spaced:!0,"slot-name":t.tabletAdMpuSlots}})]}},{key:"pageArticleMobilePlusLeftAlign",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-250","g-outer-spacing-bottom-medium"],"viewport-center":!0,spaced:!0,"slot-name":"pageArticleAdMobilePlusLeftAlign","ad-instance":o+1}})]}},{key:"pageArticleMobileMpu",fn:function(e){var o=e.count;return[n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-250","g-outer-spacing-bottom-medium"],"ad-instance":o+1,"viewport-center":!0,spaced:!0,"slot-name":"pageArticleAdMobileMpu"}})]}}],null,!0)})}],m=(n(12),n(17),n(13),n(28),n(29),n(11)),O=n(20),j=n(4),A=n(2),w=n(3),k=n(8),C=n(9),x=n(5),S=(n(61),n(7),n(23),n(24),n(30),n(248),n(18),n(90),n(14),n(107),n(124),n(33),n(16),n(67),n(53),n(44),n(0)),_=n(96),R=n(847),T=n(1325),D=(n(403),n(397)),B=n(15),P=n(6),L=n(879),I=n(59),M=n(128),z=n(945),E=n(125),$=n(52),F=n(885),N=n(1010),W=n(1315),V=n(1316),H=n(850),U=n(247),J=n(1218),G=n(38),Z=n(1331),K=n(55),Y=n(75),Q=n(922),X=n(887),ee=n(886),te=n(394),ie=n(214),ne=n(1013),oe=n(143),html=n(395),ae=n(168);function re(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function ce(e){for(var i=1;i0){var n=t.filter((function(e){var t,n,o,r,c,l=!1;return(null===(t=null==e?void 0:e.merchantOffers)||void 0===t?void 0:t.length)>0&&(l=!!(null===(o=null===(n=null==e?void 0:e.merchantOffers)||void 0===n?void 0:n[0])||void 0===o?void 0:o.url)&&!!(null===(c=null===(r=null==e?void 0:e.merchantOffers)||void 0===r?void 0:r[0])||void 0===c?void 0:c.offerMerchant)),l}));return n.length>0}}},{key:"hasStickyToc",get:function(){return this.isLeftRailTemplate&&this.isDesktop&&!this.isLeftRailTemplateReview}},{key:"hasReviewCardBottom",get:function(){var e,t;return(null===(e=this.article)||void 0===e?void 0:e.id)&&U.d.reviewCardAllowedArticles.includes(null===(t=this.article)||void 0===t?void 0:t.id)}},{key:"isComparableListicles",get:function(){return!!this.isListicleTest||this.article.body.includes('shortcode="comparable"')&&this.article.body.includes('comparable="true"')}},{key:"isListicleTest",get:function(){return this.$abtest.isUserInActiveTestAndBucket("sleep_lstcl","sleep_lstcl")}},{key:"dateStampUpdateText",get:function(){var e=this.article.body.match(/additional-context="([^"]*)"/),t=e?e[1]:null;return this.article.body.includes('shortcode="additional-context"')&&t?t:""}},{key:"showMoneyEmailCaptureUnit",get:function(){return this.tagSlugs.includes("money-email")}},{key:"hasStickyNewsletter",get:function(){return this.$services.isFeatureEnabled("stickyNewsletter")&&!1!==this.winningInterest&&!this.isSeamless&&!this.hasGlobalBottomBanner}},{key:"hasWidget",get:function(){return this.showDynamicWidgetCore||this.hasStaticMyFiWidget}},{key:"rpvVariance",get:function(){var e;return(null===(e=null==this?void 0:this.rpvResponse)||void 0===e?void 0:e.variance)||"undefined"}},{key:"showRetargetingWidget",get:function(){return this.notSensitiveContent&&!this.isSeamless&&Y.a.isTopicContent(this.article,K.c)}},{key:"showTableOfContents",get:function(){var e;return this.$services.isFeatureEnabled("tableOfContents")&&!(null===(e=this.article)||void 0===e?void 0:e.body.includes(U.d.manualTableOfContentsText))&&!this.isLeftRailTemplate}},{key:"injectionRules",get:function(){var e,t,n,o,r,c,l,d,f,h,v,y,m,O={};return O.pageArticleMobileMpu=this.isLeftRailTemplate?{injectAfter:"p:not(p:nth-last-child(-n+3)), shortcode:not(:nth-last-of-type(-n+3)), .c-infoCard:not(:nth-last-of-type(-n+3))",injectIntervalCharactersStart:this.firstElementImage?330:830,injectIntervalCharacters:6e3,injectLimit:this.adjustAdCapLimit(4),slotNamePerIndex:null}:{injectAfter:"p:not(p:nth-last-child(-n+3)), shortcode:not(:nth-last-of-type(-n+3))",injectIntervalCharactersStart:this.firstElementImage?330:830,injectIntervalCharacters:1e3,injectLimit:this.adjustAdCapLimit(this.hasWidget?5:6),slotNamePerIndex:["pageArticleMobilePlusLeftAlign","pageArticleMobilePlusLeftAlign","pageArticleMobileMpu","pageArticleMobileNative"],injectAwayFromElement:{name:"shortcode",distance:1,direction:"next"}},O.pageArticleTabletMpuBottom=this.isLeftRailTemplate?{injectAfter:'p:not(p:nth-last-child(-n+3)), shortcode[shortcode*="listicle"]:not(:last-child), .c-infoCard:not(:nth-last-of-type(-n+3))',injectFirstIndex:1,injectInterval:this.hasWidget?6:3,injectLimit:this.adjustAdCapLimit(3),slotNamePerIndex:["pageArticleTabletMpuTop","pageArticleTabletNativeMpu"]}:{injectAfter:'p:not(p:nth-last-child(-n+3)), shortcode[shortcode*="listicle"]:not(:last-child)',injectFirstIndex:1,injectInterval:this.hasWidget?6:3,injectLimit:this.adjustAdCapLimit(3),slotNamePerIndex:["pageArticleTabletMpuTop","pageArticleTabletNativeMpu"],injectAwayFromElement:{name:"shortcode",distance:1,direction:"next"}},this.paragraphCount>5&&(this.isLeftRailTemplate?O.pageArticleLeftMiddle={injectAfter:"p:not(p:nth-last-child(-n+3)), shortcode:not(:nth-last-of-type(-n+3))",injectIntervalCharacters:(null===(t=null===(e=this.article)||void 0===e?void 0:e.listicles)||void 0===t?void 0:t.length)>0?6e3:3e3,injectLimit:this.adjustAdCapLimit(1)}:O.pageArticleLeftMiddle={injectAfter:"p:not(p:nth-last-child(-n+3)), shortcode:not(:nth-last-of-type(-n+3))",injectIntervalCharactersStart:this.firstElementImage?1300:1800,injectIntervalCharacters:(null===(o=null===(n=this.article)||void 0===n?void 0:n.listicles)||void 0===o?void 0:o.length)>0?2500:1500,injectLimit:this.adjustAdCapLimit(1)}),this.paragraphCount>9&&this.isLeftRailTemplate&&(O.pageArticleLeftRailBottom={injectBefore:'[shortcode="cnetlisticle"]:last-child, [shortcode="description"]:last-child, [shortcode="faq"]:last-child, [shortcode="infocard"]:last-child, [shortcode="chart"]:last-child'}),this.$services.isFeatureEnabled("adHeavy")&&(null===(c=null===(r=this.article)||void 0===r?void 0:r.listicles)||void 0===c?void 0:c.length)>0&&(O.adHeavy={injectAfter:'shortcode[shortcode="cnetlisticle"]',injectFirstIndex:0,injectInterval:1,injectLimit:25}),this.showMoneyEmailCaptureUnit&&(O.emailCaptureMobile={injectAfter:"p",injectIndex:6},O.emailCapture={injectAfter:"p",injectIndex:4}),this.isPrecapType.deals&&this.showShoppingWidget&&(O.shoppingWidget={injectAfter:"p",injectIndex:1}),("Best List"===(null===(l=this.article)||void 0===l?void 0:l.type)||"Best List - Precap"===(null===(d=this.article)||void 0===d?void 0:d.type))&&(null===(f=this.topicDeals)||void 0===f?void 0:f.length)>0&&(null===(h=this.article)||void 0===h?void 0:h.listicles)&&(O.specialDealsContainer={injectBefore:"p",injectIndex:0}),this.showTableOfContents&&(this.$services.isFeatureEnabled("reviewCardTop")?O.tableOfContents={injectAfter:'shortcode[shortcode="reviewcard"]',injectIndex:0}:O.tableOfContents={injectIndex:0}),O.articleCallout={injectIndex:0,injectBefore:"p",injectAwayFromElement:{name:"shortcode",distance:1,direction:"next"}},this.getEnabledCallouts&&(O.articleCallout={injectIndex:0,injectAfter:"p",injectAwayFromElement:{name:"shortcode",distance:1,direction:"next"}}),this.isLeftRailTemplate&&(O.bestListInlineToc={injectIndex:0},this.isLeftRailTemplateReview&&(O.bestListInlineToc={injectIndex:0,injectAfter:'shortcode[shortcode="reviewcard"]'}),O.pageArticleLeftTopMobile={injectIndex:0},this.isLeftRailTemplateReview&&(O.pageArticleLeftTopMobile={injectIndex:0,injectAfter:'shortcode[shortcode="reviewcard"]'},O.reviewStickyCtaMobile={injectIndex:0,injectAfter:'shortcode[shortcode="reviewcard"]'})),this.showPrecap&&!this.isPrecapType.versus&&(O.listiclePrecap={injectIndex:0}),this.showTruecarPromo&&this.paragraphCount>=10&&(O.truecarPromo={injectAfter:"p",injectIndex:5}),this.badgeData.type&&/reviewcard/.test(null===(v=this.article)||void 0===v?void 0:v.body)&&!this.isReviewCardAsListicle&&(O.reviewBadge={injectBefore:"p"}),!this.showDynamicWidgetCore||this.hasStaticMyFiWidget||this.showMyFiWidgetCnetMoney||(O.myFiWidget={injectAfter:"p",injectIndex:2,injectAwayFromElement:{name:"shortcode",distance:1,direction:"next",attributes:{shortcode:"image"}}}),!(U.d.nutritionTopicSlugs.includes(this.primaryTopicSlug)&&!["Best List","Best List - Precap","Review"].includes(null===(y=this.article)||void 0===y?void 0:y.type))||this.hasStaticMyFiWidget||this.showDynamicWidgetCore||(O.mealKitWidget={injectAfter:"p",injectIndex:3}),this.showMyFiWidgetCnetMoney&&(O.myFiWidgetCnetMoney={injectAfter:"p:has(+ h2)",injectIndex:0}),"mortgages"===this.primaryTopicSlug&&"Evergreen Mortgages"===(null===(m=this.article)||void 0===m?void 0:m.type)&&(O.mortgageTable={injectAfter:"h2[data-mortgage-table-head]",injectIndex:0}),this.showPriceScale&&(O.priceScale={injectBefore:'shortcode[shortcode="cnetlisticle"]'}),this.isCenterJustified&&(O.pageArticleMobileCentered={injectAfter:'p:not(:last-child), shortcode:not(:last-child):not([shortcode="link"])',injectIntervalCharactersStart:(this.hasWidget?3600:1800)-(this.firstElementImage?500:0),injectIntervalCharacters:2400,injectLimit:this.adjustAdCapLimit(this.hasWidget?4:5),slotNamePerIndex:["pageArticleMobileIncontentAll"]},O.pageArticleCentered={injectAfter:'p:not(:last-child), shortcode:not(:last-child):not([shortcode="image"][float="left"]):not([shortcode="image"][float="right"]):not([shortcode="link"])',injectIntervalCharactersStart:this.firstElementImage?1300:1800,injectIntervalCharacters:2400,injectLimit:this.adjustAdCapLimit(5),slotNamePerIndex:["pageArticleCenteredTop"]},delete O.pageArticleTabletMpuBottom,delete O.pageArticleMobileMpu,delete O.pageArticleLeftMiddle),O}},{key:"leftRailInjectionRules",get:function(){var e,t,n,o,r,c;if(!this.isLeftRailTemplate)return null;var l={},d=null===(t=null===(e=this.article)||void 0===e?void 0:e.body)||void 0===t?void 0:t.includes('shortcode="table-of-contents"');return((null===(n=this.article)||void 0===n?void 0:n.author)||(null===(o=this.displayDates)||void 0===o?void 0:o.displayDate))&&(l.leftRailBylineCard={injectIndex:0}),d||(l.leftRailToc={injectIndex:-1}),(null===(c=null===(r=this.article)||void 0===r?void 0:r.body)||void 0===c?void 0:c.includes('shortcode="why-trust"'))||(l.leftRailWhyTrust={injectAfter:'slot[name="leftRailBylineCard"]',injectIndex:0}),this.showWhatToConsider&&(l.leftRailWhatToConsider={injectAfter:'slot[name="leftRailWhyTrust"]',injectIndex:0}),this.isComparableListicles&&(l.bestListProductCompare={injectIndex:-1}),this.isLeftRailTemplateReview&&(l.reviewStickyCta={injectIndex:-1}),this.isLeftRailTemplate&&(l.pageArticleLeftTop={injectAfter:'[shortcode="why-trust"], slot[name="leftRailWhyTrust"]',injectIndex:0}),l}},{key:"isUserUSBased",get:function(){var e=this.$cookie.get("fly_geo");return"us"===(null==e?void 0:e.countryCode)}},{key:"isExcludedTypeByTopic",get:function(){var e=this.$di.getInstance(D.a);return G.t.forEach((function(t){e.addCriteria(t)})),e.meets()}},{key:"isSleepMultiProductSelectModalV1",get:function(){return this.$abtest.isUserInActiveTestAndBucket("sleep_mps_modal","v1")}},{key:"flyAddress",get:function(){return this.$cookie.get("fly_address")}},{key:"getEnabledCallouts",get:function(){var e,t=this;return(null===(e=this.$route.query)||void 0===e?void 0:e.calloutOverride)?J.a.filter((function(e){var n;return e.id===(null===(n=t.$route.query)||void 0===n?void 0:n.calloutOverride)})):J.a.filter((function(e){return t.$services.isFeatureEnabled(e.criteriaKey)?e:null}))}},{key:"isLeftRailTemplateReview",get:function(){var e,t;return"Review"===(null===(e=this.article)||void 0===e?void 0:e.type)&&!(null===(t=U.d.leftRailTemplateReviewExcludedTopics)||void 0===t?void 0:t.includes(this.primaryTopicSlug))}},{key:"isReviewCardAsListicle",get:function(){var e,t,n,o,r=null===(t=null===(e=this.article)||void 0===e?void 0:e.listicles)||void 0===t?void 0:t.some((function(e){return"reviewcard"===e.shortcodeType}));return("Best List"===(null===(n=this.article)||void 0===n?void 0:n.type)||"Best List - Precap"===(null===(o=this.article)||void 0===o?void 0:o.type))&&r}},{key:"isCenterJustified",get:function(){var e;return this.isSeamless?this.$store.getters.isCenterJustified:null===(e=this.article)||void 0===e?void 0:e.isCenterJustifiedContent}},{key:"isCreditCardTopic",get:function(){var e;return"credit-cards"===(null===(e=this.topicSlugs)||void 0===e?void 0:e[0])}},{key:"isPrecapType",get:function(){var e,t,n;return{bestList:"Best List - Precap"===(null===(e=this.article)||void 0===e?void 0:e.type),deals:"Deals - Precap"===(null===(t=this.article)||void 0===t?void 0:t.type),versus:"Versus - Precap"===(null===(n=this.article)||void 0===n?void 0:n.type)}}},{key:"isProductPromo",get:function(){return this.isPrecapType.bestList&&(this.topicSlugs.includes("vpn")||this.tagSlugs.includes("vpn")||"mattresses"===this.primaryTopicSlug)||this.topicSlugs.includes("meal-kits")}},{key:"isArticleWithOriginalDate",get:function(){var e;return"Default - Article Page w/ original publish date"===(null===(e=this.article)||void 0===e?void 0:e.pageLayout)}},{key:"isUpdated",get:function(){var e,t,n;return this.displayDates.displayDate!==(null===(t=null===(e=this.article)||void 0===e?void 0:e.datePublished)||void 0===t?void 0:t.date)&&U.d.isUpdatedPageLayouts.includes(null===(n=this.article)||void 0===n?void 0:n.pageLayout)}},{key:"headerColumnStart",get:function(){return this.isCenterJustified?"lg:u-col-start-4":this.isBestListRedesign?"lg:u-col-start-0":"lg:u-col-start-2"}},{key:"headerColumnSize",get:function(){return this.isBestListRedesign?"sm:u-col-2 md:u-col-6 lg:u-col-12":"sm:u-col-2 md:u-col-6 lg:u-col-6"}},{key:"myFiSubId",get:function(){var e,t,n=this.topicSlugs;return"prod|".concat(null===(e=this.article)||void 0===e?void 0:e.id,"|").concat(n[0],"|").concat(null===(t=this.article)||void 0===t?void 0:t.type,"|").concat(this.device).toLowerCase()}},{key:"notSensitiveContent",get:function(){var e=this.$di.getInstance(D.a);return G.v.forEach((function(t){e.addCriteria(t)})),e.meets()}},{key:"paragraphCount",get:function(){var e=this.cheerio('p, shortcode[shortcode*="listicle"]');return null==e?void 0:e.length}},{key:"precapData",get:function(){var e,t=this,n=this.isLeftRailTemplate&&this.cheerio('[shortcode="cnetlisticle"], [shortcode="cross_content_listicle"]'),o=null===(e=this.article)||void 0===e?void 0:e.listicles;if((null==o?void 0:o.length)>0){if(o=o.filter((function(e,o){var r,c,l,d,f,h,v,y,m,O,j,A,w=!1;(null===(r=null==e?void 0:e.merchantOffers)||void 0===r?void 0:r.length)>0&&(w=!!(null===(l=null===(c=null==e?void 0:e.merchantOffers)||void 0===c?void 0:c[0])||void 0===l?void 0:l.url)&&!!(null===(f=null===(d=null==e?void 0:e.merchantOffers)||void 0===d?void 0:d[0])||void 0===f?void 0:f.offerMerchant));var k=(null===(v=null===(h=null==e?void 0:e.techProd)||void 0===h?void 0:h.attributes)||void 0===v?void 0:v.some((function(e){return"offer-link-text"===e.slug})))&&(null===(m=null===(y=null==e?void 0:e.techProd)||void 0===y?void 0:y.attributes)||void 0===m?void 0:m.some((function(e){return"offer-link-url"===e.slug}))),C=!1;if(t.isLeftRailTemplate){var x=n.eq(o),S=(null==x?void 0:x.attr("additional-details"))||"";C=null===(O=null==S?void 0:S.toLowerCase())||void 0===O?void 0:O.includes("quick take")}return!C&&((null==e?void 0:e.creditCardData)||(null===(A=null===(j=null==e?void 0:e.techProd)||void 0===j?void 0:j.resellers)||void 0===A?void 0:A.length)>0||w||k)})).map((function(e,o){if(n&&t.isLeftRailTemplate){var r=n.eq(o);return ce(ce({},e),{},{additionalDetails:(null==r?void 0:r.attr("additional-details"))||"",productScore:(null==r?void 0:r.attr("product-score"))||""})}return e})),this.tagSlugs.includes("mini-listicles")){var r=this.cheerio("h2").next('shortcode[shortcode*="listicle"]');o=o.filter((function(e){return Array.from(r).some((function(t){var n;return(null===(n=null==t?void 0:t.attribs)||void 0===n?void 0:n.id)===e.uuid}))}))}return o}}},{key:"primaryCollection",get:function(){var e;return ie.a.getPrimaryCollection(null===(e=this.article)||void 0===e?void 0:e.collections)}},{key:"primaryTopicSlug",get:function(){var e;return Object(ae.d)(null===(e=this.article)||void 0===e?void 0:e.topics)}},{key:"showDynamicWidgetCore",get:function(){var e,t=this.$services.isFeatureEnabled("dynamicWidgetCoreTopic"),n=Y.a.isTopicContent(this.article,K.c),o=U.d.dynamicWidgetCollections.includes(null===(e=this.primaryCollection)||void 0===e?void 0:e.slug);return!!(!this.isSeamless&&!this.doesArticleContain.commerceLinks)&&(n||t||o)}},{key:"showHeroVideo",get:function(){var e;return!!(null===(e=this.article)||void 0===e?void 0:e.video)}},{key:"showPriceScale",get:function(){var e,t;return"mattresses"===this.primaryTopicSlug&&("Best List"===(null===(e=this.article)||void 0===e?void 0:e.type)||"Best List - Precap"===(null===(t=this.article)||void 0===t?void 0:t.type))&&!this.isLeftRailTemplate}},{key:"showMyFiWidgetCnetMoney",get:function(){var e=this.$services.isFeatureEnabled("dynamicWidgetCore"),t=this.article.tags.find((function(e){return"cnet-money-demand"===e.slug}));return e&&!!t}},{key:"showShoppingWidget",get:function(){var e,t,n,o,r=this.topicSlugs,c=Y.a.isTopicContent(this.article,K.a),l=Y.a.isTopicContent(this.article,K.c),d=[U.d.shoppingWidgetIncludedTopics].includes(r),f=(null===(t=null===(e=this.primaryCollection)||void 0===e?void 0:e.threads)||void 0===t?void 0:t.map((function(e){return e.slug})))||[],h=[U.d.shoppingWidgetCollections].includes(f),v="Deals"===(null===(n=this.article)||void 0===n?void 0:n.type)||"Deals - Precap"===(null===(o=this.article)||void 0===o?void 0:o.type);return!d&&!h&&!c&&!l&&v}},{key:"showTruecarPromo",get:function(){var e,t;return Y.a.isTopicContent(this.article,K.a)&&!(null===(t=null===(e=this.article)||void 0===e?void 0:e.type)||void 0===t?void 0:t.includes("Best List"))}},{key:"showPrecap",get:function(){var e,t;return(U.d.precapTypes.includes(null===(e=this.article)||void 0===e?void 0:e.type)||U.d.precapTypes.includes(null===(t=this.article)||void 0===t?void 0:t.pageLayout))&&this.precapData&&this.precapData.length>0&&!this.showHeroVideo}},{key:"showVideoAsGifv",get:function(){return[].concat(Object(O.a)(this.tagSlugs),Object(O.a)(this.topicSlugs)).includes("longform-animated-hero-video")}},{key:"showVideoPlayer",get:function(){var e;return(this.doesArticleContain.shortcodeVideo&&this.device===P.b.Desktop&&!this.isCenterJustified||this.useNoncontextualVideo)&&!(this.isSeamless||(null===(e=this.article)||void 0===e?void 0:e.suppressAutoplay)||this.showHeroVideo||"taxes"===this.primaryTopicSlug)}},{key:"showWideButtons",get:function(){var e,t,n=this.topicSlugs,o=U.d.wideButtonTopics.find((function(e){return n.includes(e)}));return"Best List Precap - Wide Buttons"===(null===(e=this.article)||void 0===e?void 0:e.type)||!("Best List - Precap"!==(null===(t=this.article)||void 0===t?void 0:t.type)||!o)}},{key:"stickyVideoPlayer",get:function(){return this.playerState.sticky}},{key:"tabletAdMpuSlots",get:function(){return Y.a.isTopicContent(this.article,K.c)||this.isAdCapTest?"pageArticleAdTabletNativeMpu":"pageArticleAdTabletMpuBottom"}},{key:"tagSlugs",get:function(){var e,t;return(null===(t=null===(e=this.article)||void 0===e?void 0:e.tags)||void 0===t?void 0:t.map((function(e){return e.slug})))||[]}},{key:"tocHeadlineItem",get:function(){var e;return(null===(e=this.article)||void 0===e?void 0:e.headline)?{title:this.article.headline,id:this.isBestListRedesign?"toc-".concat(this.article.id,"-item-0"):"toc-item-0",tocId:this.isBestListRedesign?"toc-".concat(this.article.id,"-item-0"):"toc-item-0"}:null}},{key:"topic",get:function(){var e,t;return(null===(t=null===(e=this.article)||void 0===e?void 0:e.topics)||void 0===t?void 0:t[0])?this.article.topics[0]:null}},{key:"topicSlugs",get:function(){var e;return(null===(e=this.article)||void 0===e?void 0:e.topics)?Object(ae.f)(this.article.topics):[]}},{key:"useNoncontextualVideo",get:function(){var e,t,n=this.$di.getInstance(D.a);return G.s.forEach((function(e){n.addCriteria(e)})),n.meets()&&!this.doesArticleContain.shortcodeVideo&&!this.showHeroVideo&&!(null===(e=this.article)||void 0===e?void 0:e.isHighValue)&&!(null===(t=this.article)||void 0===t?void 0:t.suppressAutoplay)&&!this.isExcludedTypeByTopic}},{key:"videoResources",get:function(){var e,t=this,n=[];return null===(e=this.topVideosPlaylist)||void 0===e||e.forEach((function(video){n.push(t.$video.getResourceConfig(video))})),n}},{key:"hasNoShortcodeNewscard",get:function(){var e;return(null===(e=this.article)||void 0===e?void 0:e.body.includes('shortcode="newscard"'))?null:this.article.dek}},{key:"isReplay",get:function(){var e,t;return null!==(t=null===(e=this.$route.meta)||void 0===e?void 0:e.replay)&&void 0!==t&&t}},{key:"winningInterest",get:function(){var e,t,n;return!!(null===(t=null===(e=this.article)||void 0===e?void 0:e.winningInterest)||void 0===t?void 0:t.id)&&(null===(n=this.article)||void 0===n?void 0:n.winningInterest)}},{key:"isBestMattressRedesign",get:function(){var e,t;return null===(e=U.d.mattressesBestListRedesign)||void 0===e?void 0:e.includes(null===(t=this.article)||void 0===t?void 0:t.id)}},{key:"isBestListRedesign",get:function(){return this.isSeamlessBestList||this.isLeftRailTemplate}},{key:"showWhatToConsider",get:function(){var e,t;return null===(e=U.d.showWhatToConsider)||void 0===e?void 0:e.includes(null===(t=this.article)||void 0===t?void 0:t.id)}},{key:"isLeftRailTemplate",get:function(){var e,t;return this.isBestMattressRedesign||this.isScrappyLiveblog||this.isLeftRailTemplateReview||"Best List - Precap"===(null===(e=this.article)||void 0===e?void 0:e.type)&&(null===(t=U.d.leftRailTemplateIncludedTopics)||void 0===t?void 0:t.includes(this.primaryTopicSlug))}},{key:"isScrappyLiveblog",get:function(){var e;return"live-blog-article-page"===(null===(e=this.article)||void 0===e?void 0:e.layoutName)}},{key:"hasGlobalBottomBanner",get:function(){var e;return"How to Watch"===(null===(e=this.article)||void 0===e?void 0:e.type)&&new Date<=new Date("11/21/2023")}},{key:"adjustAdCapLimit",value:function(e){var t=e,n=this.$abtest.getBucketIfTestIsActive("adcap_test");if(n)switch(n){case"test1":t+=2;break;case"test2":t+=3;break;case"test3":t=-1}else Y.a.isTopicContent(this.article,K.c)&&(t+=3);return t}},{key:"getListicleIndex",value:function(e){var t,n;return(null===(n=null===(t=this.article)||void 0===t?void 0:t.listicles)||void 0===n?void 0:n.map((function(e){return e.uuid})).indexOf(e))+1}},{key:"handleScroll",value:function(e){(this.hasGlobalBottomBanner&&!this.showGlobalBottomBanner&&e&&e.entry.isIntersecting||this.hasStickyNewsletter&&!this.showStickyNewsletter&&e&&e.entry.isIntersecting)&&(0===(null===window||void 0===window?void 0:window.scrollY)&&"down"===e.direction?window.addEventListener("scroll",this.setStickyElement,this.stickyNewsletterScrollOptions):this.setStickyElement())}},{key:"setStickyElement",value:function(){this.stickyVideoPlayer||(this.hasGlobalBottomBanner?this.showGlobalBottomBanner=!0:this.showStickyNewsletter=!0)}},{key:"setupTocObserver",value:function(e){var t,n=this,o=null===(t=null==e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.height,r=document.querySelectorAll(".c-adDisplay_container_native-mpu-middle, .c-adDisplay_container_mpu-bottom");if(r&&r.length>0&&"IntersectionObserver"in window){var c=(null===window||void 0===window?void 0:window.innerHeight)&&o?-1*(window.innerHeight-110-o-100):0,l=c>=0?"0px":"".concat(c,"px");this.leftRailAdObserver=new IntersectionObserver(this.hideTableOfContentsForAds,{rootMargin:"-110px 0px ".concat(l," 0px"),threshold:0}),r.forEach((function(e){var t;null===(t=n.leftRailAdObserver)||void 0===t||t.observe(e)}))}}},{key:"loadAds",value:(n=Object(m.a)(regeneratorRuntime.mark((function e(){var t,n,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adUnits;case 2:o=e.sent,this.isSeamless&&this.skyboxRefresh&&(r=document.querySelector(".c-adSkyBox div[data-ad]"))&&o.unshift(r),null===(n=null===(t=this.$ads)||void 0===t?void 0:t.adDisplay)||void 0===n||n.loadAds(o,{excludeDisabled:!0});case 5:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"hideTableOfContentsForAds",value:function(e){var t=this;e.forEach((function(e){t.$nuxt.$emit("hideToc",e.isIntersecting)}))}},{key:"asyncData",value:(t=Object(m.a)(regeneratorRuntime.mark((function e(t,content){var n,o,r,c,l,d,article,f,h,v,y,m,O,j,A,w,k;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(content.getComponentByName("article")instanceof I.b&&content.getComponentByName("article").throwErrorForResponse(t.app.i18n.locale),article=content.baseArticle,f=Object(ae.d)(article.topics),h=Object(Z.b)(f,null===(n=t.params)||void 0===n?void 0:n.slug),v=[],"Best List"!==(null==article?void 0:article.type)&&"Best List - Precap"!==(null==article?void 0:article.type)||!(null==h?void 0:h.articleId)){e.next=19;break}return e.prev=6,e.next=9,t.$axios.$get(t.$config.api.resources.shortcodes.get.url(h.articleId,t.app.i18n.locale));case 9:y=e.sent,m=y.data,v=(v=m.filter((function(e){return null==e?void 0:e.shortcodeType.includes("listicle")}))).reverse().filter((function(e){var t;return(null===(t=null==e?void 0:e.merchantOffers)||void 0===t?void 0:t.length)>=0&&(null==e?void 0:e.merchantOffers[0].url)})),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(6),se.error(e.t0),v=[];case 19:if(O=t.localePath({name:"article",params:{slug:(null===(o=t.route.query)||void 0===o?void 0:o["hub-preview-version"])?t.route.params.slug:article.slug},_object:article}),j=null===(r=t.route.meta)||void 0===r?void 0:r.some((function(meta){return!0===meta.replay})),A=null===(c=t.route.meta)||void 0===c?void 0:c.some((function(meta){return!0===meta.paidContent})),w=null===(l=t.app.head.meta)||void 0===l?void 0:l.some((function(meta){return meta.hid===E.e})),t.route.path===O||content.isSeamless||j||A||w){e.next=25;break}throw new M.b("content preferred route = '".concat(O,"' does not match request path = '").concat(t.route.path,"', redirecting..."),O);case 25:if(t.store.commit("tracking/updatePageNumber",t.route.params.pageNumber||1),k="pageArticleSkybox",((null===(d=content.meta)||void 0===d?void 0:d.suppressAds)||U.d.disableSkyboxAdArticles.includes(null==article?void 0:article.id))&&(k=""),content.isSeamless){e.next=31;break}return e.next=31,t.store.dispatch("ads/adDisplay/updateSkyboxSlotName",k);case 31:if(!(v.length>0)){e.next=33;break}return e.abrupt("return",{topicDeals:v,specialDeal:h});case 33:case"end":return e.stop()}}),e,null,[[6,15]])}))),function(e,n){return t.apply(this,arguments)})},{key:"created",value:function(){var e,t,n;(null===(e=this.content)||void 0===e?void 0:e.isSeamless)||(this.$store.commit("isCenterJustified",this.isCenterJustified),this.$store.dispatch("video/updatePlayerState",{autoplay:!(null===(t=this.article)||void 0===t?void 0:t.suppressAutoplay)||!1,autoplayType:"AUTOPLAY"}),this.useNoncontextualVideo&&(null===(n=this.topVideosPlaylist)||void 0===n?void 0:n[0])&&this.$store.dispatch("video/addVideoToPlaylist",this.topVideosPlaylist[0]))}},{key:"mounted",value:function(){var e=this;if(this.$nuxt.$on("video-player-created",(function(t){var n,o;if("f794984e-b6c9-438a-a3ce-9fd9b2d555c0"!==(null===(n=e.article)||void 0===n?void 0:n.id)){var r=e.useNoncontextualVideo?null===(o=e.videoResources)||void 0===o?void 0:o.slice(1):e.videoResources;t.addResourcesToPlaylist(r)}})),this.hasStickyToc){var t=document.querySelector(".c-shortcodeTableOfContents");t?this.setupTocObserver(t):this.$nuxt.$on("bestListTocLoaded",(function(){(t=document.querySelector(".c-bestListToc"))&&e.setupTocObserver(t),e.$nuxt.$off("bestListTocLoaded")}))}}},{key:"beforeDestroy",value:function(){var e;null===(e=this.leftRailAdObserver)||void 0===e||e.disconnect(),this.$nuxt.$off("video-player-created"),window.removeEventListener("scroll",this.setStickyElement,this.stickyNewsletterScrollOptions),this.$nuxt.$off("bestListTocLoaded"),this.$nuxt.$off("seamless-enter")}}]),r}(L.a);Object(S.c)([Object(X.a)("top-videos"),Object(S.f)("design:type",Array)],de.prototype,"topVideosPlaylist",void 0),Object(S.c)([Object(X.a)("rpv"),Object(S.f)("design:type",Object)],de.prototype,"rpvResponse",void 0),Object(S.c)([Object(R.Getter)("device"),Object(S.f)("design:type","function"==typeof(o=void 0!==P.b&&P.b)?o:Object)],de.prototype,"device",void 0),Object(S.c)([Object(R.Getter)("hasStaticMyFiWidget"),Object(S.f)("design:type",Boolean)],de.prototype,"hasStaticMyFiWidget",void 0),Object(S.c)([Object(R.Getter)("isDesktop"),Object(S.f)("design:type",Boolean)],de.prototype,"isDesktop",void 0),Object(S.c)([Object(R.Getter)("ads/adDisplay/skyboxRefresh"),Object(S.f)("design:type",Boolean)],de.prototype,"skyboxRefresh",void 0),Object(S.c)([Object(R.Getter)("video/playerState"),Object(S.f)("design:type",Object)],de.prototype,"playerState",void 0),Object(S.c)([Object(R.Prop)({default:!1,type:Boolean}),Object(S.f)("design:type",Boolean)],de.prototype,"isSeamlessBestList",void 0),Object(S.c)([Object(R.Watch)("stickyVideoPlayer"),Object(S.f)("design:type",Function),Object(S.f)("design:paramtypes",[]),Object(S.f)("design:returntype",void 0)],de.prototype,"setStickyElement",null),Object(S.c)([Object(X.c)((function(e){return{pageType:"article",id:e.params.slug,model:ne.default}})),Object(S.f)("design:type",Function),Object(S.f)("design:paramtypes",[Object,"function"==typeof(r=void 0!==ne.default&&ne.default)?r:Object]),Object(S.f)("design:returntype",Promise)],de.prototype,"asyncData",null);var ue=de=Object(S.c)([Object(R.Component)({components:{AbTest:T.a,ArticleDisclosureFooter:function(){return n.e(83).then(n.bind(null,2483)).then((function(e){return e.default}))},ArticleCallout:function(){return n.e(38).then(n.bind(null,2484)).then((function(e){return e.default}))},ArticleHeader:N.a,ArticleHeroWide:W.a,ArticleBylineCard:function(){return Promise.all([n.e(16),n.e(37)]).then(n.bind(null,2485)).then((function(e){return e.default}))},ArticleLinkBlock:function(){return n.e(40).then(n.bind(null,2395)).then((function(e){return e.default}))},ArticlePrecapHeroHeader:function(){return Promise.all([n.e(4),n.e(10),n.e(22),n.e(41)]).then(n.bind(null,2349)).then((function(e){return e.default}))},ArticlePriceScale:function(){return n.e(42).then(n.bind(null,2486)).then((function(e){return e.default}))},ArticleRightRailAds:V.a,BestListDisclosure:function(){return n.e(44).then(n.bind(null,2487)).then((function(e){return e.default}))},BestListProductCompare:function(){return n.e(47).then(n.bind(null,2488)).then((function(e){return e.default}))},BestListTableOfContents:c,BestListSvgs:function(){return n.e(49).then(n.bind(null,2577)).then((function(e){return e.default}))},BestListWhatToConsider:function(){return n.e(51).then(n.bind(null,2489)).then((function(e){return e.default}))},BestMattressReturnModal:function(){return n.e(255).then(n.bind(null,2372))},CnetAdMonetization:F.a,CmsImage:H.default,GlobalAccordion:function(){return n.e(100).then(n.bind(null,910))},GlobalBottomBanner:l,GlobalDisclosureHeader:function(){return n.e(105).then(n.bind(null,2490))},GlobalOriginalPublishDate:d,GlobalFilterBar:function(){return n.e(106).then(n.bind(null,2491))},GlobalTableOfContents:function(){return n.e(115).then(n.bind(null,1208)).then((function(e){return e.default}))},ShortcodeCommercePromo:function(){return Promise.all([n.e(0),n.e(182)]).then(n.bind(null,2429)).then((function(e){return e.default}))},ShortcodeListiclePrecap:function(){return Promise.all([n.e(0),n.e(3),n.e(2),n.e(4),n.e(198)]).then(n.bind(null,2447)).then((function(e){return e.default}))},MortgageTable:function(){return n.e(130).then(n.bind(null,2396)).then((function(e){return e.default}))},NewsletterInlineUnit:function(){return n.e(132).then(n.bind(null,2334)).then((function(e){return e.default}))},InlineWidget:function(){return n.e(120).then(n.bind(null,1112)).then((function(e){return e.default}))},InlineLoadingWidget:function(){return n.e(119).then(n.bind(null,1209)).then((function(e){return e.default}))},ManualTableOfContents:f,NewsletterSticky:function(){return Promise.all([n.e(27),n.e(131)]).then(n.bind(null,2492)).then((function(e){return e.default}))},ReviewBadge:function(){return n.e(165).then(n.bind(null,2493)).then((function(e){return e.default}))},ReviewStickyCta:function(){return n.e(169).then(n.bind(null,2494)).then((function(e){return e.default}))},ScrollPercent:z.a,ShoppingWidget:function(){return n.e(173).then(n.bind(null,2397)).then((function(e){return e.default}))},ShortcodeContent:Q.default,ShortcodeTableOfContents:function(){return Promise.all([n.e(0),n.e(211)]).then(n.bind(null,2466)).then((function(e){return e.default}))},SpecialDealsContainer:function(){return n.e(218).then(n.bind(null,2495)).then((function(e){return e.default}))},VideoWNRManager:h,ComparisonWidget:v}}),Object(X.b)(ne.default),Object(ee.a)((function(head){head.metaTagProviders.set(new te.b("robots",(function(component){var e,t,n,o;return(null===(e=component.$route.meta)||void 0===e?void 0:e.paidContent)&&!(null===(t=component.content)||void 0===t?void 0:t.isIndexablePaid)||!0===(null===(o=null===(n=component.content)||void 0===n?void 0:n.meta)||void 0===o?void 0:o.noIndex)||component.$services.isFeatureEnabled("replay")?{name:"robots",content:"noindex, follow"}:{name:"robots",content:"max-image-preview:large"}}))),head.linkTagProviders.set(new te.b("canonical",(function(component){var e;return{rel:"canonical",href:$.a.liveUrl(component.localePath({name:"article",params:{slug:null===(e=null==component?void 0:component.article)||void 0===e?void 0:e.slug},_object:null==component?void 0:component.article}))}})))}))],de),pe=(n(1660),n(147)),fe=Object(pe.a)(ue,(function(){var e,t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"c-pageArticle",attrs:{id:"page-article-".concat(t.article.id),itemid:t.isScrappyLiveblog?t.article.canonicalUrl+"#mainEntityOfPage":""}},[t.isLeftRailTemplate?n("BestListSvgs"):t._e(),t._v(" "),n("ScrollPercent",{ref:"scrollPercent",attrs:{percentages:[25]},on:{"scroll-percent":t.handleScroll}},[n("div",{staticClass:"g-grid-container",class:{"is-centered":t.isCenterJustified,"is-smallPromo":t.tagSlugs.includes("bl-promo-banner")},attrs:{section:"article-body"}},[n("client-only",[t.showVideoPlayer?n("VideoWNRManager",{attrs:{"is-contextual":!t.useNoncontextualVideo,"theme-override":t.isLeftRailTemplateReview?"alignLeftCol":null}}):t._e()],1),t._v(" "),n("div",{staticClass:"u-grid-columns c-pageArticle_grid g-outer-spacing-bottom-large"},[n("ArticleHeader",{attrs:{article:t.article,"column-start-class":t.headerColumnStart,"column-size-class":t.headerColumnSize,"display-date":t.displayDates.displayDate,"display-updated-date":t.displayDates.updatedDate,"is-best-list-redesign":t.isBestListRedesign,"is-ai-assisted-article":null===(e=t.tagSlugs)||void 0===e?void 0:e.includes("ai-assisted")}}),t._v(" "),t.isBestListRedesign?t._e():n("ArticleHeroWide",{attrs:{article:t.article,device:t.device,"first-element-image":t.firstElementImage,"is-center-justified":t.isCenterJustified,"is-review-card-top":t.$services.isFeatureEnabled("reviewCardTop"),"is-seamless":t.isSeamless,"show-precap":t.showPrecap,"show-video-as-gifv":t.showVideoAsGifv,"show-hero-video":t.showHeroVideo}}),t._v(" "),n("div",{staticClass:"c-pageArticle_body sm:u-col-2 md:u-col-6",class:[t.bodyClasses,t.isLeftRailTemplate?"u-grid-columns":""],attrs:{id:"article-"+t.article.id}},[t._m(0),t._v(" "),n("div",{class:{"sm:u-col-2 md:u-col-6 lg:u-col-8 lg:u-col-start-5":t.isLeftRailTemplate}},[n("client-only",[t.isUpdated&&t.article.datePublished&&!t.isArticleWithOriginalDate?n("GlobalOriginalPublishDate",{staticClass:"g-outer-spacing-bottom-large",attrs:{date:t.article.datePublished.date}}):t._e()],1),t._v(" "),n("ArticleDisclosureFooter",{staticClass:"g-outer-spacing-bottom-large",attrs:{"has-merchant-offers":t.hasMerchantOffers||t.doesArticleContain.commerceLinks,topics:t.article.topics}}),t._v(" "),t.showShoppingWidget?n("ShoppingWidget",{attrs:{"article-id":t.article.id,topic:t.topic}}):t._e(),t._v(" "),t.showRetargetingWidget?n("InlineWidget",{attrs:{id:"myfinance-news","sub-id":t.myFiSubId,"sub-id2":t.article.slug,"static-only":!1}}):t._e(),t._v(" "),t.showTruecarPromo&&t.paragraphCount<10?n("ShortcodeCommercePromo",{attrs:{hed:t.$t("commerce_promos.truecar.hed"),api:JSON.stringify(t.$t("commerce_promos.truecar.api")),"button-text-override":t.$t("commerce_promos.truecar.buttonText")}}):t._e(),t._v(" "),t.hasLinkBlocks?n("ArticleLinkBlock",{attrs:{"is-left-rail-template":t.isLeftRailTemplate,"primary-topic-slug":t.primaryTopicSlug}}):t._e()],1)],1),t._v(" "),t.isBestListRedesign?t._e():n("div",{staticClass:"c-pageArticle_rightRail lg:u-col-4 md:u-col-6 sm:u-col-2 lg:u-col-start-9",class:{"c-pageArticle_rightRail-precap":t.showPrecap&&!t.isPrecapType.versus}},[t.isCenterJustified?t._e():n("ArticleRightRailAds",{attrs:{"page-layout":t.article.pageLayout,"paragraph-count":t.paragraphCount,"suppress-ads":t.content.meta.suppressAds}})],1)],1)],1),t._v(" "),n("CnetAdMonetization",{attrs:{"suppress-ads":t.content.meta.suppressAds,"delay-load":t.delayAdLoadBottom,"container-classes":["c-pageArticle_ad","c-pageArticle_ad-flex","c-pageArticle_bottomLeader","g-inner-spacing-top-xlarge","g-inner-spacing-bottom-medium"],spaced:!0,"slot-name":t.isCenterJustified?"pageArticleLBbottom":"pageArticleLBbottomLeftAlign"}}),t._v(" "),t.hasStickyNewsletter?n("NewsletterSticky",{attrs:{"pop-out":t.showStickyNewsletter,"winning-interest":t.winningInterest,content:t.article.body,topics:t.article.topics,"primary-topic-slug":t.primaryTopicSlug}}):t._e(),t._v(" "),n("client-only",[t.hasGlobalBottomBanner?n("GlobalBottomBanner",{attrs:{"pop-out":t.showGlobalBottomBanner}}):t._e()],1)],1),t._v(" "),n("client-only",[n("ComparisonWidget",{attrs:{listicles:t.precapData,"primary-topic":t.primaryTopicSlug}})],1),t._v(" "),t.isSleepMultiProductSelectModalV1?n("BestMattressReturnModal",{attrs:{"topic-id":t.topic.id}}):t._e()],1)}),y,!1,null,null,null);t.default=fe.exports},850:function(e,t,n){"use strict";n.r(t);n(12),n(13),n(16),n(28),n(29);var o=n(4),r=n(2),c=n(3),l=n(8),d=n(9),f=n(5),h=(n(7),n(14),n(180),n(17),n(43),n(50),n(857),n(30),n(107),n(68),n(18),n(0)),v=n(847),y=n(855);n(78);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(f.a)(e);if(t){var r=Object(f.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(d.a)(this,n)}}var O=function(e){Object(l.a)(n,e);var t=m(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n,[{key:"imageHtml",get:function(){return'').concat(this.alt,'')}}]),n}(v.Vue);Object(h.c)([Object(v.Prop)({default:"",type:String}),Object(h.f)("design:type",String)],O.prototype,"src",void 0),Object(h.c)([Object(v.Prop)({default:"",type:String}),Object(h.f)("design:type",String)],O.prototype,"alt",void 0),Object(h.c)([Object(v.Prop)({default:null,type:[Number,String]}),Object(h.f)("design:type",Object)],O.prototype,"height",void 0),Object(h.c)([Object(v.Prop)({default:null,type:[Number,String]}),Object(h.f)("design:type",Object)],O.prototype,"width",void 0);var j=O=Object(h.c)([Object(v.Component)({})],O),A=n(147),w=Object(A.a)(j,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("noscript",{domProps:{innerHTML:e._s(e.imageHtml)}})}),[],!1,null,null,null).exports,k=n(246);function C(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function x(e){for(var i=1;i0?this.imageConfigHeight:this.imageConfigWidth&&(null===(e=this.image)||void 0===e?void 0:e.height)&&(null===(t=this.image)||void 0===t?void 0:t.width)?this.imageConfigWidth*(this.image.height/this.image.width):(null===(n=this.image)||void 0===n?void 0:n.height)||306}},{key:"imageRadius",get:function(){return this.hasBorderRadius?"c-cmsImage_hasBorderRadius":null}},{key:"imageWidth",get:function(){var e;return this.imageConfigWidth?this.imageConfigWidth:(null===(e=this.image)||void 0===e?void 0:e.width)||456}},{key:"isGifv",get:function(){var e;return this.$services.isFeatureEnabled("gifv")&&this.validImage(this.image)&&(null===(e=this.baseImageUrl)||void 0===e?void 0:e.includes(".gif"))}},{key:"imageAltText",get:function(){return this.altText||this.image.alt}},{key:"imageConfig",get:function(){return k.a.sizes[this.imageSize]}},{key:"imageConfigHeight",get:function(){var e,t,n;return(null===(e=this.imageConfig)||void 0===e?void 0:e.height)||(null===(n=null===(t=this.imageConfig)||void 0===t?void 0:t.params)||void 0===n?void 0:n.height)}},{key:"imageConfigWidth",get:function(){var e,t,n;return(null===(e=this.imageConfig)||void 0===e?void 0:e.width)||(null===(n=null===(t=this.imageConfig)||void 0===t?void 0:t.params)||void 0===n?void 0:n.width)}},{key:"imageSize",get:function(){return this.size||(this.sizes?this.sizes.large||this.sizes.medium||this.sizes.small:void 0)}},{key:"onImgLoad",value:function(){this.isLoaded=!0}},{key:"created",value:function(){this.lazyEnabled=this.lazyLoad}},{key:"imageUrl",value:function(image,e){return this.$image(x(x({},image),{size:e}))}},{key:"validImage",value:function(image){return this.$isValidImage(image)}}]),n}(Object(v.mixins)(y.a));Object(h.c)([Object(v.Prop)({default:"",type:String}),Object(h.f)("design:type",String)],_.prototype,"altText",void 0),Object(h.c)([Object(v.Prop)({default:null,type:Object}),Object(h.f)("design:type",Object)],_.prototype,"image",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:Boolean}),Object(h.f)("design:type",Boolean)],_.prototype,"lazyLoad",void 0),Object(h.c)([Object(v.Prop)({default:null,type:Object}),Object(h.f)("design:type",Object)],_.prototype,"mobileImage",void 0),Object(h.c)([Object(v.Prop)({default:!1,type:[Boolean,String]}),Object(h.f)("design:type",Object)],_.prototype,"preload",void 0),Object(h.c)([Object(v.Prop)({default:"",type:String}),Object(h.f)("design:type",String)],_.prototype,"size",void 0),Object(h.c)([Object(v.Prop)({default:null,type:Object}),Object(h.f)("design:type",Object)],_.prototype,"sizes",void 0),Object(h.c)([Object(v.Prop)({default:null,type:Boolean}),Object(h.f)("design:type",Boolean)],_.prototype,"hasBorderRadius",void 0);var R=_=Object(h.c)([Object(v.Component)({components:{NoscriptImage:w}})],_),T=(n(858),Object(A.a)(R,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"c-cmsImage"},[e.validImage(e.image)&&e.isGifv?t("div",{staticClass:"c-cmsImage_video"},[t("video",{attrs:{src:e.shouldLoad?e.baseImageUrl:"",poster:e.gifvPosterUrl,width:e.imageWidth,height:e.imageHeight,autoplay:"",loop:"",muted:"",playsinline:"",disableRemotePlayback:""},domProps:{muted:!0}})]):e.validImage(e.image)?[t("picture",{staticClass:"c-cmsImage_image",class:{"c-cmsImage-loaded":e.isLoaded||!e.lazyLoad}},[e._l(e.imageSources,(function(source,n){return t("source",{key:n,attrs:{media:source.mediaquery,srcset:source.url,alt:e.imageAltText}})})),e._v(" "),t("img",{class:e.imageRadius,attrs:{src:e.shouldLoad?e.baseImageUrl:"",alt:e.imageAltText,height:e.imageHeight,width:e.imageWidth,loading:e.lazyLoad?"lazy":void 0},on:{load:e.onImgLoad}}),e._v(" "),e.lazyLoad&&e.baseImageUrl?t("NoscriptImage",{attrs:{src:e.baseImageUrl,alt:e.imageAltText,height:e.imageHeight,width:e.imageWidth}}):e._e()],2)]:e._e()],2)}),[],!1,null,null,null));t.default=T.exports},852:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(2),r=n(3),c=(n(7),n(33),n(14),n(575),new(n(15).a)("observer")),l=function(){function e(t,n){if(Object(o.a)(this,e),!window.IntersectionObserver)return c.warn("This browser does not support IntersectionObserver"),this;t.rootMargin=t.rootMargin||"0px",t.singleIntersection=!!t.singleIntersection&&t.singleIntersection,t.triggerOn=t.triggerOn?t.triggerOn:"top";try{return this.create(t,n)}catch(e){return c.error("Failed to construct IntersectionObserver: ".concat(e.toString()),t),this}}return Object(r.a)(e,[{key:"create",value:function(e,t){var n=this;if(c.log("create options",e),this.el=e.el,t)return Array.isArray(this.el)&&(this.lastTriggerPosition=[]),this.observer=new IntersectionObserver((function(o,r){o.forEach((function(o){var r,l,d=!0,data=(null==e?void 0:e.data)||{};if(Array.isArray(n.el)){var f=n.el.findIndex((function(e){return e===(null==o?void 0:o.target)})),h=null===(r=n.lastTriggerPosition)||void 0===r?void 0:r[f];d=void 0===h||h>o.boundingClientRect.y,n.lastTriggerPosition[f]=o.boundingClientRect.y,data=(null===(l=null==e?void 0:e.data)||void 0===l?void 0:l[f])||{}}else d=void 0===n.lastTriggerPosition||n.lastTriggerPosition>o.boundingClientRect.y,n.lastTriggerPosition=o.boundingClientRect.y;var v=d?"down":"up",y=!1;if(c.log(v,o),e.singleIntersection?"top"===e.triggerOn?"down"===v&&o.isIntersecting?y=!0:"up"!==v||o.isIntersecting||(y=!0):"bottom"===e.triggerOn&&("down"!==v||o.isIntersecting?"up"===v&&o.isIntersecting&&(y=!0):y=!0):o.isIntersecting&&(y=!0),y){var m={direction:v,data:data,observer:n,entry:o};c.log(v,o,n),t(m)}}))}),e),this.enable(),this;c.warn("No handler specified on Intersection Observer")}},{key:"enable",value:function(){var e=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(t){e.observer.observe(t)})):this.observer.observe(this.el))}},{key:"disable",value:function(){var e=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(t){e.observer.unobserve(t)})):this.observer.unobserve(this.el))}},{key:"destroy",value:function(){this.observer&&this.el&&(this.disable(),this.observer.disconnect(),this.observer=null,this.el=null)}},{key:"refresh",value:function(){this.observer&&this.el&&(this.disable(),this.enable())}}]),e}()},853:function(e,t,n){var content=n(859);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(300).default)("3c8bc705",content,!0,{sourceMap:!1})},855:function(e,t,n){"use strict";n(7),n(12);var o=n(11),r=n(2),c=n(3),l=n(8),d=n(9),f=n(5),h=(n(61),n(0)),v=n(847),y=n(15),m=n(852);function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(f.a)(e);if(t){var r=Object(f.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(d.a)(this,n)}}var j=new y.a("lazyLoad"),A=function(e){Object(l.a)(d,e);var t,n=O(d);function d(){var e;return Object(r.a)(this,d),(e=n.apply(this,arguments)).lazyEnabled=!0,e.lazyLoaded=!1,e.rootMargin="50% 0px",e}return Object(c.a)(d,[{key:"mounted",value:(t=Object(o.a)(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.Vue.nextTick();case 2:"undefined"!=typeof window&&this.lazyEnabled&&(this.lazyObserver=new m.a({rootMargin:this.rootMargin,el:this.$el,threshold:0},(function(data){j.log(t.$el,data),data.direction&&(t.lazyLoaded=!0,t.lazyObserver.destroy())})));case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"beforeDestroy",value:function(){this.lazyObserver&&this.lazyObserver.destroy()}}]),d}(v.Vue);A=Object(h.c)([v.Component],A),t.a=A},857:function(e,t,n){"use strict";var o=n(22),r=n(388);o({target:"String",proto:!0,forced:n(389)("small")},{small:function(){return r(this,"small","","")}})},858:function(e,t,n){"use strict";n(853)},859:function(e,t,n){var o=n(299)((function(i){return i[1]}));o.push([e.i,".c-cmsImage,.c-cmsImage img{display:block;width:100%;height:auto;max-width:100%}.c-cmsImage_image{opacity:0}.c-cmsImage_video video{width:100%;height:100%}.c-cmsImage-loaded{opacity:1}.c-cmsImage_hasBorderRadius{border-radius:.25rem}",""]),o.locals={},e.exports=o},866:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(167),n(18);function o(e){var t,time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){t&&clearTimeout(t);for(var n=arguments.length,o=new Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:null,t=this.meta.displayDateUpdated?this.meta.displayDateUpdated.getJsDate():null,n=this.meta.displayDatePublished?this.meta.displayDatePublished.getJsDate():null,o=this.meta.dateUpdated?this.meta.dateUpdated.getJsDate():null,r=this.meta.datePublished?this.meta.datePublished.getJsDate():null;return("updated"===e?t||o||n||r:"created"===e?n||r||t||o:t&&n?t>=n?t:n:t||n||o||r)||new Date}},{key:"getAdVars",value:function(){var e,t,n,o,r,c,l,d,f,h,v,y,m,A,w,C,x,S=(null===(t=null===(e=this.meta)||void 0===e?void 0:e.topics)||void 0===t?void 0:t[0])?this.meta.topics[0].getPathSlugs():[],_=S.join("/");_="no-map"===_?"":_;var R=S[0],T=O.b[R]||"";return{slotVars:{topics:_},targeting:{cid:(null===(n=null==this?void 0:this.meta)||void 0===n?void 0:n.slug)&&(null==this?void 0:this.id)?"".concat(null===(o=this.meta)||void 0===o?void 0:o.slug,",").concat(this.id):null,collection:(null===(r=this.meta)||void 0===r?void 0:r.collections)?null===(c=j.a.getPrimaryCollection(this.meta.collections))||void 0===c?void 0:c.slug:"",edition:(null===(l=this.meta)||void 0===l?void 0:l.edition)?this.meta.edition:"",pid:null===(f=null===(d=this.meta)||void 0===d?void 0:d.slug)||void 0===f?void 0:f.replace(/-/g," "),seccat:T,section:(null===(h=this.meta)||void 0===h?void 0:h.section)?this.meta.section:"",tag:(null===(v=this.meta)||void 0===v?void 0:v.tags)?this.meta.tags.map((function(e){return e.slug})):[""],topic:(null===(y=this.meta)||void 0===y?void 0:y.topics)?Object(k.f)(this.meta.topics):[],ptopic:(null===(m=this.meta)||void 0===m?void 0:m.topics)?Object(k.d)(this.meta.topics):"",type:(null===(A=this.meta)||void 0===A?void 0:A.typeName)?this.meta.typeName:"",pageType:(null===(w=this.meta)||void 0===w?void 0:w.pageType)?this.meta.pageType:"",ptype:(null===(C=this.meta)||void 0===C?void 0:C.pageType)?this.meta.pageType:""},enabled:!(null===(x=this.meta)||void 0===x?void 0:x.suppressAds)}}}]),n}(w.a);_=Object(v.c)([Object(y.JsonObject)("Page")],_),t.a=_},872:function(e,t,n){var content=n(902);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(300).default)("3e28fac1",content,!0,{sourceMap:!1})},882:function(e,t,n){"use strict";n(12),n(17),n(13),n(16),n(28),n(14),n(29);var o=n(4),r=n(2),c=n(3),l=n(8),d=n(9),f=n(5),h=(n(7),n(23),n(24),n(43),n(50),n(78),n(0)),v=n(847),y=n(906),m=(n(18),n(31));function O(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var i=1;i=0&&(l="".concat(o-r,"px"),w.log(this.$el,"element is too close to the top of the viewport, setting top rootMargin to ".concat(l))),c>=0&&(d="".concat(o-c,"px"),w.log(this.$el,"element is too close to the bottom of the viewport, setting bottom rootMargin to ".concat(d))),"".concat(l," 0px ").concat(d," 0px")}},{key:"onResize",value:function(){this.lazyObserver&&this.lazyObserver.destroy(),this.createObserver()}},{key:"beforeDestroy",value:function(){this.lazyObserver&&this.lazyObserver.destroy(),window.removeEventListener("resize",this.debounceResize),this.debounceResize=null}},{key:"rootMarginOverride",get:function(){var e,t,n;return this.rootMargin||(null===(n=null===(t=null===(e=null==this?void 0:this.$ads)||void 0===e?void 0:e.config)||void 0===t?void 0:t.adDisplay)||void 0===n?void 0:n.lazyLoadRootMargin)||k}}]),l}(h.Vue),x=C=Object(f.c)([h.Component],C),S=n(147),_=Object(S.a)(x,undefined,undefined,!1,null,null,null).exports,R=n(6);function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(d.a)(e);if(t){var r=Object(d.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(l.a)(this,n)}}var D=function(e){Object(c.a)(n,e);var t=T(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).collapsed=!1,e.rendered=!1,e.isBlank=!0,e.rootMargin="200% 0px",e.triggerLoadOnUpdate=!1,e.additionalAttributes={},e}return Object(r.a)(n,[{key:"lazyLoadedChanged",value:function(e){e&&!this.rendered&&this.lazyEnabled&&this.loadAd()}},{key:"adSlotChanged",value:function(e,t){e!==t&&(this.triggerLoadOnUpdate=!0)}},{key:"slotName",get:function(){var e;return null===(e=null==this?void 0:this.slots)||void 0===e?void 0:e[null==this?void 0:this.device]}},{key:"slotInstanceName",get:function(){return this.adInstance>0?"".concat(this.adSlot,"-").concat(this.adInstance):this.adSlot}},{key:"isWithinConstraint",get:function(){return this.constraint.includes(this.device)||this.constraint===R.b.All}},{key:"containerClasses",get:function(){return this.isWithinConstraint?["c-adDisplay_container",this.parentContainerClasses,this.adSlot?"c-adDisplay_container_"+this.adSlot:null,this.spaced?"spaced":null,this.collapsed?"collapsed":null,this.rendered?"rendered":null,this.isBlank?"blank":null]:[]}},{key:"containerSlotStyle",get:function(){var e;return this.isWithinConstraint?null===(e=this.containerStyles)||void 0===e?void 0:e[this.device]:{}}},{key:"adSlot",get:function(){var e,t,n,o,r=this.device;switch(this.constraint===R.b.All?r===R.b.Tablet&&(""!==this.tabletSlotName||(null===(e=this.slots)||void 0===e?void 0:e[R.b.Tablet])||(r=R.b.Desktop)):this.constraint.includes(r)||(r=!1),r){case R.b.Desktop:return this.desktopSlotName||(null===(t=this.slots)||void 0===t?void 0:t[R.b.Desktop]);case R.b.Tablet:return this.tabletSlotName||(null===(n=this.slots)||void 0===n?void 0:n[R.b.Tablet]);case R.b.Mobile:return this.mobileSlotName||(null===(o=this.slots)||void 0===o?void 0:o[R.b.Mobile]);default:return""}}},{key:"adRendered",value:function(e,t,n){this.rendered=!0,this.isBlank=n,this.$emit("ad-rendered",e,t,n),n&&(null==this?void 0:this.collapseEmpty)&&(this.collapsed=!0)}},{key:"adDestroyed",value:function(){this.cleanupAd(),this.$emit("ad-destroyed")}},{key:"beforeDestroy",value:function(){var e;(!this.delayLoad||this.delayLoad&&this.lazyLoaded)&&(this.rendered=!1,this.$refs.monetizationSlot&&(null===(e=this.$ads.adDisplay)||void 0===e?void 0:e.isInitialized)&&this.$ads.adDisplay.unregisterComponent(this))}},{key:"created",value:function(){var e;this.lazyEnabled=this.delayLoad&&this.lazyLoad,(null===(e=this.$ads.adDisplay)||void 0===e?void 0:e.isInitialized)&&this.$ads.adDisplay.registerComponent(this)}},{key:"getAdDiv",value:function(){return this.$refs.monetizationSlot}},{key:"loadAd",value:function(){var e;(this.constraint===R.b.All||this.constraint.includes(this.$store.getters.device)||this.$store.getters.device===this.constraint)&&this.adSlot&&(null===(e=this.$refs)||void 0===e?void 0:e.monetizationSlot)&&this.$ads.adDisplay&&!this.suppressAutoReload&&this.$ads.adDisplay.loadAds([this.$refs.monetizationSlot])}},{key:"cleanupAd",value:function(){this.lazyLoaded=!1,this.rendered=!1,this.lazyReload&&(this.lazyEnabled=!0)}},{key:"removeAd",value:function(){(!this.delayLoad||this.delayLoad&&this.lazyLoaded)&&(this.$refs.monetizationSlot&&this.$ads.adDisplay.removeAds([this.$refs.monetizationSlot]),this.cleanupAd())}},{key:"updated",value:function(){this.triggerLoadOnUpdate&&(!this.$router).isRouting&&(this.triggerLoadOnUpdate=!1,this.loadAd())}}]),n}(Object(h.mixins)(_));Object(f.c)([Object(h.Getter)("device"),Object(f.f)("design:type","function"==typeof(A=void 0!==R.b&&R.b)?A:Object)],D.prototype,"device",void 0),Object(f.c)([Object(h.Prop)({default:""}),Object(f.f)("design:type",String)],D.prototype,"adClass",void 0),Object(f.c)([Object(h.Prop)({default:1,type:[String,Number]}),Object(f.f)("design:type",Object)],D.prototype,"adInstance",void 0),Object(f.c)([Object(h.Prop)({default:""}),Object(f.f)("design:type",String)],D.prototype,"callout",void 0),Object(f.c)([Object(h.Prop)({default:!1}),Object(f.f)("design:type",Boolean)],D.prototype,"collapseEmpty",void 0),Object(f.c)([Object(h.Prop)({default:R.b.All,type:[Array,String]}),Object(f.f)("design:type",Object)],D.prototype,"constraint",void 0),Object(f.c)([Object(h.Prop)({default:function(){return{}}}),Object(f.f)("design:type",Object)],D.prototype,"containerStyles",void 0),Object(f.c)([Object(h.Prop)({default:!1}),Object(f.f)("design:type",Boolean)],D.prototype,"delayLoad",void 0),Object(f.c)([Object(h.Prop)({default:""}),Object(f.f)("design:type",String)],D.prototype,"desktopSlotName",void 0),Object(f.c)([Object(h.Prop)({default:!1}),Object(f.f)("design:type",Boolean)],D.prototype,"lazyLoad",void 0),Object(f.c)([Object(h.Prop)({default:!1}),Object(f.f)("design:type",Boolean)],D.prototype,"lazyReload",void 0),Object(f.c)([Object(h.Prop)({default:""}),Object(f.f)("design:type",String)],D.prototype,"mobileSlotName",void 0),Object(f.c)([Object(h.Prop)({default:function(){return[]},type:Array}),Object(f.f)("design:type",Array)],D.prototype,"parentContainerClasses",void 0),Object(f.c)([Object(h.Prop)({default:!1}),Object(f.f)("design:type",Boolean)],D.prototype,"spaced",void 0),Object(f.c)([Object(h.Prop)({default:null}),Object(f.f)("design:type",Object)],D.prototype,"slots",void 0),Object(f.c)([Object(h.Prop)({default:!1}),Object(f.f)("design:type",Boolean)],D.prototype,"suppressAutoReload",void 0),Object(f.c)([Object(h.Prop)({default:""}),Object(f.f)("design:type",String)],D.prototype,"tabletSlotName",void 0),Object(f.c)([Object(h.Prop)({default:!1}),Object(f.f)("design:type",Boolean)],D.prototype,"viewportCenter",void 0),Object(f.c)([Object(h.Watch)("lazyLoaded"),Object(f.f)("design:type",Function),Object(f.f)("design:paramtypes",[Boolean]),Object(f.f)("design:returntype",void 0)],D.prototype,"lazyLoadedChanged",null),Object(f.c)([Object(h.Watch)("adSlot"),Object(f.f)("design:type",Function),Object(f.f)("design:paramtypes",[String,String]),Object(f.f)("design:returntype",void 0)],D.prototype,"adSlotChanged",null);var B=D=Object(f.c)([h.Component],D),P=(n(977),Object(S.a)(B,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",e._b({class:e.containerClasses,style:e.containerSlotStyle},"div",e.additionalAttributes,!1),[t("client-only",[e.adSlot?t("div",{ref:"monetizationSlot",staticClass:"u-text-center c-adDisplay",class:[e.adClass,{"c-adDisplay-viewportCenter":e.viewportCenter}],attrs:{"data-ad":e.adSlot,"data-instance":e.adInstance,"data-disable-initial-load":e.delayLoad,"data-constraint":e.constraint}}):e._e()])],1)}),[],!1,null,null,null));t.a=P.exports},920:function(e,t,n){"use strict";n(884)},921:function(e,t,n){var o=n(299)((function(i){return i[1]}));o.push([e.i,'.c-ShortcodeContent{font-size:1.25rem;line-height:1.75rem;margin-bottom:1.5rem}.c-ShortcodeContent p a,.c-ShortcodeContent li a{box-shadow:0 2px 0 -1px #e71d1d;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#141415}.c-ShortcodeContent p a:hover,.c-ShortcodeContent li a:hover{box-shadow:0 2px 0 -1px #fff;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#e71d1d}.c-ShortcodeContent>h1,.c-ShortcodeContent>h2,.c-ShortcodeContent>h3,.c-ShortcodeContent>h4,.c-ShortcodeContent>h5{margin:1.5rem 0}.c-ShortcodeContent>h1{font-size:2.25rem;line-height:2.625rem}.c-ShortcodeContent>h2{font-size:2rem;line-height:2.375rem}.c-ShortcodeContent>h3{font-size:1.5rem;line-height:1.75rem}.c-ShortcodeContent>table.wp-block-table thead tr{border-bottom:1px solid #dadada}.c-ShortcodeContent>table.wp-block-table th{font-size:1rem;padding:.125rem 1.25rem}.c-ShortcodeContent>table.wp-block-table th:not(:last-of-type){border-right:1px solid #dadada}.c-ShortcodeContent>table.wp-block-table td{padding:.375rem 1.25rem;color:#737373}.c-ShortcodeContent>table.wp-block-table tr>td:first-of-type{color:#141415}.c-ShortcodeContent .giphy-embed{width:100%}.c-ShortcodeContent-theme\\:default .c-avLazyStickyVideo{margin:unset !important;min-height:unset !important}.c-ShortcodeContent-theme\\:default>hr{margin:1.5rem 0;border:0;border-top:1px solid #dadada}.c-ShortcodeContent-theme\\:default>ul,.c-ShortcodeContent-theme\\:default>ol{font-size:1.25rem;padding-left:20px;margin:1.5rem 0;overflow:hidden}.c-ShortcodeContent-theme\\:default>ul li,.c-ShortcodeContent-theme\\:default>ol li{position:relative;margin:.5rem 0;list-style:none}.c-ShortcodeContent-theme\\:default>ul li::before{content:"•";position:absolute;left:-20px}.c-ShortcodeContent-theme\\:default>ol li{counter-increment:li}.c-ShortcodeContent-theme\\:default>ol li:nth-child(n+10){padding-left:8px}.c-ShortcodeContent-theme\\:default>ol li::before{content:counter(li, decimal) ".";position:absolute;left:-20px}.c-ShortcodeContent-theme\\:default>blockquote{border-left:5px solid #dadada;padding:0 30px}.c-ShortcodeContent-theme\\:default>p a{box-shadow:0 2px 0 -1px #e71d1d;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#141415}.c-ShortcodeContent-theme\\:default>p a:hover{box-shadow:0 2px 0 -1px #fff;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#e71d1d}.c-ShortcodeContent-theme\\:default>table{text-align:left;max-width:100%;margin:28px 0;display:block;overflow:auto}.c-ShortcodeContent-theme\\:default>table tbody{text-align:left;width:100%;font-size:.875rem;clear:both;line-height:1.3;color:#737373}.c-ShortcodeContent-theme\\:default>table tbody tr:first-of-type{color:#141415}.c-ShortcodeContent-theme\\:default>table tbody tr:first-of-type strong{font-weight:normal}.c-ShortcodeContent-theme\\:default>table tbody tr:not(:last-of-type){border-bottom:1px solid #dadada}.c-ShortcodeContent-theme\\:default>table tbody th{padding:5px 20px}.c-ShortcodeContent-theme\\:default>table tbody th:not(:last-of-type){border-right:1px solid #dadada}.c-ShortcodeContent-theme\\:default>table tbody td{padding:5px 20px;vertical-align:inherit}.c-ShortcodeContent-theme\\:default>table tbody td br{margin:0}.c-ShortcodeContent-theme\\:default>table tbody td p{font-size:.875rem;margin-bottom:0}.c-ShortcodeContent-theme\\:default>table tbody td:first-of-type{color:#737373}.c-ShortcodeContent-theme\\:default>table tbody td:first-of-type strong{font-weight:normal}.c-ShortcodeContent-theme\\:default>table tbody td:not(:last-of-type){border-right:1px solid #dadada}.c-ShortcodeContent-theme\\:longform .c-avLazyStickyVideo{margin-bottom:1.5rem;min-height:192px}@media(min-width: 768px){.c-ShortcodeContent-theme\\:longform .c-avLazyStickyVideo{margin-bottom:1rem;min-height:466px}}.c-ShortcodeContent-theme\\:longform>ol,.c-ShortcodeContent-theme\\:longform>ul{margin:0 0 1rem;padding:0 0 0 1.2rem}.c-ShortcodeContent-theme\\:longform>ol li{list-style:decimal}.c-ShortcodeContent-theme\\:longform>ul li{list-style:disc}.c-ShortcodeContent-theme\\:longform>blockquote{font-weight:700;border-left:5px solid #e71d1d;padding-left:1rem;margin:1rem 0}@media(min-width: 1024px){.c-ShortcodeContent-theme\\:longform>blockquote{margin:1.5rem 0}}.c-ShortcodeContent-theme\\:longform hr{text-align:center;height:1rem;border:none;margin:2rem 0}.c-ShortcodeContent-theme\\:longform hr::after{content:"* * *"}@media print{p a,li a{box-shadow:0 2px 0 -1px #e71d1d !important}}.c-ShortcodeContent_leftRail .c-shortcodeTableOfContents,.c-ShortcodeContent_leftRail .c-bestListToc{display:none}@media(min-width: 768px){.c-ShortcodeContent_leftRail .c-shortcodeTableOfContents,.c-ShortcodeContent_leftRail .c-bestListToc{display:block}}.c-ShortcodeContent_leftRail .c-reviewStickyCta{display:none}@media(min-width: 1024px){.c-ShortcodeContent_leftRail .c-reviewStickyCta{display:block}}',""]),o.locals={},e.exports=o},922:function(e,t,n){"use strict";n.r(t);n(7),n(12);var o=n(2),r=n(3),c=n(8),l=n(9),d=n(5),f=(n(43),n(50),n(18),n(30),n(65),n(0)),h=n(847),v=n(971),y=n(1002);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(d.a)(e);if(t){var r=Object(d.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(l.a)(this,n)}}var O=function(e){Object(c.a)(n,e);var t=m(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"colClassesMain",get:function(){return this.hasLeftRail?"sm:u-col-2 md:u-col-6 lg:u-col-8 lg:u-col-start-5":this.hasRightRail?"sm:u-col-2 md:u-col-6 lg:u-col-6":"sm:u-col-2 md:u-col-6 lg:u-col-12"}},{key:"hasLeftRail",get:function(){var e,t;return"string"==typeof this.content&&((null===(e=this.contentProps)||void 0===e?void 0:e.isLeftRailTemplate)||(null===(t=this.content)||void 0===t?void 0:t.includes('page-position="LeftRail"')))}},{key:"hasRightRail",get:function(){var e;return"string"==typeof this.content&&(null===(e=this.content)||void 0===e?void 0:e.includes('page-position="Right Rail"'))}},{key:"injectedSlotsTemplate",get:function(){return this.injectionRules?this.$shortcode.injectSlots(this.content,this.injectionRules,this.contentProps,this.leftRailInjectionRules):this.content}},{key:"leftRailTemplate",get:function(){return"string"!=typeof this.injectedSlotsTemplate&&this.injectedSlotsTemplate.leftRailContent?'\n
\n '.concat(this.injectedSlotsTemplate.leftRailContent,"\n
\n "):""}},{key:"rightRailTemplate",get:function(){return"string"!=typeof this.injectedSlotsTemplate&&this.injectedSlotsTemplate.rightRailContent?'\n
\n '.concat(this.injectedSlotsTemplate.rightRailContent,"\n
\n "):""}},{key:"templateForRender",get:function(){return"string"!=typeof this.injectedSlotsTemplate&&this.injectedSlotsTemplate.mainContent?'\n
\n '.concat(this.hasLeftRail?this.leftRailTemplate:"",'\n
\n ').concat(this.replaceLegacyCmsContent(this.injectedSlotsTemplate.mainContent),"\n
\n ").concat(this.hasRightRail?this.rightRailTemplate:"","\n
"):'\n
\n
\n ').concat(this.replaceLegacyCmsContent(this.injectedSlotsTemplate),"\n
\n
")}},{key:"replaceLegacyCmsContent",value:function(e){if(!/cnet:[\w\s"'=/]|cnet: |http: |news: /.test(e))return e;var t=e;return t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(/cnet: /g,"cnet: v-pre ")).replace(/http: /g,"http: v-pre ")).replace(/news: /g,"news: v-pre ")).replace(/cnet:product/g,"cnet:product v-pre ")).replace(/cnet:blog/g,"cnet:blog v-pre ")).replace(/cnet:poll/g,"cnet:poll v-pre ")).replace(/cnet:link/g,"cnet:link v-pre ")).replace(/cnet:slideshow/g,"cnet:slideshow v-pre ")).replace(/cnet:newslink/g,"cnet:newslink v-pre ")).replace(/cnet:image/g,"cnet:image v-pre ")).replace(/cnet:video/g,"cnet:video v-pre ")).replace(/cnet:email/g,"cnet:email v-pre ")}}]),n}(v.a);Object(f.c)([Object(h.Prop)({default:null,type:Object}),Object(f.f)("design:type",Object)],O.prototype,"leftRailInjectionRules",void 0);var j=O=Object(f.c)([Object(h.Component)({components:{Shortcode:y.a}})],O),A=(n(920),n(147)),component=Object(A.a)(j,undefined,undefined,!1,null,null,null);t.default=component.exports},924:function(e,t,n){var content=n(976);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(300).default)("5e4defe8",content,!0,{sourceMap:!1})},925:function(e,t,n){var content=n(978);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(300).default)("4f99db4a",content,!0,{sourceMap:!1})},926:function(e,t,n){var content=n(980);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(300).default)("48f25c2a",content,!0,{sourceMap:!1})},939:function(e,t,n){var o=n(956),r="object"==typeof self&&self&&self.Object===Object&&self,c=o||r||Function("return this")();e.exports=c},940:function(e,t,n){"use strict";n(900)},941:function(e,t,n){var o=n(299)((function(i){return i[1]}));o.push([e.i,".c-scrollPercent{position:relative}.c-scrollPercent_marker{height:0;position:absolute;width:100%}",""]),o.locals={},e.exports=o},945:function(e,t,n){"use strict";n(7),n(12);var o=n(2),r=n(3),c=n(8),l=n(9),d=n(5),f=n(0),h=n(847),v=n(15),y=n(852);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(d.a)(e);if(t){var r=Object(d.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(l.a)(this,n)}}var O=new v.a("ScrollPercent"),j=function(e){Object(c.a)(n,e);var t=m(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"routeChange",value:function(){this.createObserver()}},{key:"mounted",value:function(){this.createObserver()}},{key:"getStyles",value:function(e){return{top:"".concat(e,"%")}}},{key:"createObserver",value:function(){this.observer=new y.a({el:this.$refs.markers,data:this.percentages},this.handleScroll)}},{key:"handleScroll",value:function(e){O.log("handleScroll",e),this.$emit("scroll-percent",e)}},{key:"cleanup",value:function(){var e;O.log("cleanup"),null===(e=this.observer)||void 0===e||e.destroy()}},{key:"beforeDestroy",value:function(){this.cleanup()}}]),n}(h.Vue);Object(f.c)([Object(h.Prop)({default:function(){return[25,50,75,100]}}),Object(f.f)("design:type",Array)],j.prototype,"percentages",void 0),Object(f.c)([Object(h.Watch)("$route"),Object(f.f)("design:type",Function),Object(f.f)("design:paramtypes",[]),Object(f.f)("design:returntype",void 0)],j.prototype,"routeChange",null);var A=j=Object(f.c)([h.Component],j),w=(n(940),n(147)),component=Object(w.a)(A,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"c-scrollPercent"},[e._t("default"),e._v(" "),e._l(e.percentages,(function(n,i){return t("div",{key:i,ref:"markers",refInFor:!0,staticClass:"c-scrollPercent_marker",style:e.getStyles(n)})}))],2)}),[],!1,null,null,null);t.a=component.exports},946:function(e,t,n){var o=n(1020);e.exports=function(e){return null==e?"":o(e)}},956:function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(79))},957:function(e,t,n){var o=n(958),r=n(961);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},958:function(e,t,n){var o=n(894),r=n(959),c=n(960),l=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?r(e):c(e)}},959:function(e,t,n){var o=n(894),r=Object.prototype,c=r.hasOwnProperty,l=r.toString,d=o?o.toStringTag:void 0;e.exports=function(e){var t=c.call(e,d),n=e[d];try{e[d]=void 0;var o=!0}catch(e){}var r=l.call(e);return o&&(t?e[d]=n:delete e[d]),r}},960:function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},961:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},962:function(e,t,n){"use strict";n(67),n(7),n(14),n(18),n(43),n(50);var o=n(168);t.a={getAdTargetingCollection:function(content,e){var t,n,r="",c=[],l=content.tags?content.tags.map((function(e){return e.slug})):[],d=content.topics?Object(o.f)(content.topics):[];Array.isArray(null==content?void 0:content.collections)&&content.collections.forEach((function(e){c=e.slug?c.concat(e.slug):[]}));for(var i=0;i ";opacity:.4}',""]),o.locals={},e.exports=o},977:function(e,t,n){"use strict";n(925)},978:function(e,t,n){var o=n(299)((function(i){return i[1]}));o.push([e.i,".c-adDisplay_container.spaced{margin-bottom:1rem}.c-adDisplay{margin:0 auto;justify-content:center}.c-adDisplay iframe{max-width:none}@media(min-width: 768px){.c-adDisplay-viewportCenter:not(.skybox-loaded-slot){margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}}@media(min-width: 768px){.c-adDisplay-viewportCenter:not(.skybox-loaded-slot).power-bar{clear:both}}.c-adDisplay_container.collapsed{min-height:0}.c-adDisplay_container_mobile-incontent-ad-plus{min-height:250px}.c-adDisplay_container_leaderboard-middle{min-height:66px}.c-adDisplay_container_mpu-top{min-height:250px}.c-adDisplay_container_leader-middle{min-height:90px}",""]),o.locals={},e.exports=o},979:function(e,t,n){"use strict";n(926)},980:function(e,t,n){var o=n(299)((function(i){return i[1]}));o.push([e.i,".c-adDisplay{margin:0 auto;justify-content:center}.c-adDisplay-spaced{margin-bottom:1rem}.c-adDisplay iframe{max-width:none}@media(min-width: 768px){.c-adDisplay-viewportCenter:not(.skybox-loaded-slot){margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}}@media(min-width: 768px){.c-adDisplay-viewportCenter:not(.skybox-loaded-slot).power-bar{clear:both}}",""]),o.locals={},e.exports=o}}]); //# sourceMappingURL=adb90ff.js.map