(window.webpackJsonp=window.webpackJsonp||[]).push([[304,110],{1005:function(t,e,r){"use strict";r(13),r(38),r(53),r(17),r(54),r(46),r(29),r(30),r(12),r(31);var n=r(4),o=r(2),c=r(3),l=r(9),d=r(5),f=r(8),v=(r(92),r(23),r(77),r(20),r(7),r(35),r(269),r(25),r(324),r(15),r(26),r(188),r(132),r(0)),h=r(936),O=r(34),y=r(411);function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==r.return||r.return()}finally{if(l)throw o}}}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i0)}},{key:"hasCreditCardOffer",get:function(){var t;return!(null===(t=this.extraData)||void 0===t||null===(t=t.creditCardData)||void 0===t||null===(t=t.attributes)||void 0===t||!t.link)}},{key:"monetizedUrl",get:function(){var t;return(null===(t=this.extraData)||void 0===t?void 0:t.monetizedUrl)||null}},{key:"offerUrl",get:function(){var t;return(null===(t=this.extraData)||void 0===t?void 0:t.offerUrl)||null}},{key:"productPrice",get:function(){var t,e;return this.useReseller?(null===(t=this.preferredReseller)||void 0===t?void 0:t.price)/100:Number(null===(e=this.merchantOffer)||void 0===e?void 0:e.offerPrice)}},{key:"resellerName",get:function(){var t,e;return(this.useReseller?null===(t=this.preferredReseller)||void 0===t?void 0:t.name:null===(e=this.merchantOffer)||void 0===e?void 0:e.offerMerchant)||null}},{key:"techProdOfferText",get:function(){var t;return(null===(t=this.techProd)||void 0===t||null===(t=t.attributes)||void 0===t||null===(t=t.find((function(t){return"offer-link-text"===t.slug})))||void 0===t?void 0:t.val.toString())||null}},{key:"techProdOfferUrl",get:function(){var t;return(null===(t=this.techProd)||void 0===t||null===(t=t.attributes)||void 0===t||null===(t=t.find((function(t){return"offer-link-url"===t.slug})))||void 0===t?void 0:t.val.toString())||null}},{key:"productFamily",get:function(){var t;return(null===(t=this.techProd)||void 0===t||null===(t=t.family)||void 0===t?void 0:t[0])||{uuid:"",name:""}}},{key:"promoText",get:function(){var t,e=null===(t=this.techProd)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.find((function(t){return"promo-text"===t.slug}));return null==e?void 0:e.val[0]}},{key:"promoCode",get:function(){var t,e=null===(t=this.techProd)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.find((function(t){return"coupon-code"===t.slug}));return null==e?void 0:e.val[0]}},{key:"promoTextRightRail",get:function(){var t,e=null===(t=this.techProd)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.find((function(t){return"vpn-promo-text-test"===t.slug}));return null==e?void 0:e.val[0]}},{key:"techProd",get:function(){var t;return(null===(t=this.extraData)||void 0===t?void 0:t.techProd)||null}},{key:"usePricing",get:function(){var t;return(null===(t=this.extraData)||void 0===t?void 0:t.usePricing)||!1}},{key:"useReseller",get:function(){return!(!this.hasReseller||!this.techProd||!this.usePricing&&(this.hasMerchantOffer||this.hasOfferLink))}},{key:"productCategory",get:function(){return this.useReseller?"PRODUCT-CATALOG-OFFER":this.usePricing?"MANUAL-OFFER-NO-PRODUCT-CATALOG-ENTRY":"MANUAL-OFFER-PRODUCT-CATALOG-DEACTIVATED"}},{key:"allLeadsTrackingData",get:function(){var t,e=[],r=P(this.useReseller?this.preferredResellers:this.merchantOffers);try{for(r.s();!(t=r.n()).done;){var n=t.value;e.push({rawUrl:this.useReseller?null==n?void 0:n.url:null==n?void 0:n.rawUrl,resellerName:this.useReseller?null==n?void 0:n.name:null==n?void 0:n.offerMerchant})}}catch(t){r.e(t)}finally{r.f()}return e}},{key:"creditCardOffer",get:function(){var t,e,r,n;try{var o;r=new URL(null===(o=this.merchantOffer)||void 0===o?void 0:o.url)}catch(t){}if(null!==(t=r)&&void 0!==t&&null!==(t=t.hostname)&&void 0!==t&&t.endsWith("amazon.com"))return r.href;try{var c;n=new URL(null===(c=this.extraData)||void 0===c||null===(c=c.creditCardData)||void 0===c||null===(c=c.attributes)||void 0===c?void 0:c.link)}catch(t){}if(n){var l,d=n.searchParams;d.append("c_correlation_id",y.b[0]),d.append("c_tenant_id",null==O||null===(l=O.cohesion)||void 0===l?void 0:l.sourceKey),d.append("c_anonymous_id",this.$store.getters["tracking/clientId"]),d.append("c_session_id",this.$store.getters["tracking/sessionId"]),d.append("c_instance_id",this.$store.getters["tracking/viewGuid"])}return null===(e=n)||void 0===e?void 0:e.href}},{key:"winningOfferUrl",get:function(){return this.hasCreditCardOffer?this.creditCardOffer:this.techProdOfferUrl?this.techProdOfferUrl:this.useReseller?(null===(t=this.preferredReseller)||void 0===t?void 0:t.url)||null:this.monetizedUrl?this.monetizedUrl:this.hasMerchantOffer?(null===(e=this.merchantOffer)||void 0===e?void 0:e.url)||null:this.offerUrl?this.offerUrl:null;var t,e}},{key:"winningOfferTrackingData",get:function(){var t=this.useReseller?this.preferredReseller:this.merchantOffer;return this.getLeadTrackingData(t,this.useReseller)}},{key:"shortcodeType",value:function(t){var e={commercelink:"link",commercelinkshortcode:"link",cnetlisticle:"listicle",cross_content_listicle:"x-listicle",commercepromo:"promo",buybutton:"button",reviewcard:"reviewcard"};return e[t]?e[t]:t}},{key:"getLeadTrackingData",value:function(t){var e,r,n,o,c,l,d,f,v,h,O,m,P,k,w,T,R,C,I,S=arguments.length>1&&void 0!==arguments[1]&&arguments[1],data={brand:null==t?void 0:t.offerMerchant,coupon:this.promoText,monetizationStatus:"",productCpc:"",productCategory:this.productCategory,productId:(null===(e=this.techProd)||void 0===e?void 0:e.id)||"",productManufacturer:(null===(r=this.techProd)||void 0===r||null===(r=r.manufacturer)||void 0===r?void 0:r.name)||"",productSeriesId:(null===(n=this.productFamily)||void 0===n?void 0:n.uuid)||"",productSeriesName:(null===(o=this.productFamily)||void 0===o?void 0:o.name)||"",productSku:Array.isArray(null===(c=this.techProd)||void 0===c||null===(c=c.product)||void 0===c?void 0:c.sku)&&(null===(l=this.techProd)||void 0===l||null===(l=l.product)||void 0===l||null===(l=l.sku)||void 0===l?void 0:l.length)>0?null===(d=this.techProd)||void 0===d||null===(d=d.product)||void 0===d||null===(d=d.sku)||void 0===d?void 0:d[0]:(null===(f=this.techProd)||void 0===f||null===(f=f.product)||void 0===f?void 0:f.sku)||"",productSlug:(null===(v=this.techProd)||void 0===v||null===(v=v.product)||void 0===v?void 0:v.slug)||"",resellerId:"",resellerTtag:"",shortcodeId:(null===(h=this.extraData)||void 0===h?void 0:h.uuid)||"",shortcodeType:this.shortcodeType(null!==(O=null===(m=this.extraData)||void 0===m?void 0:m.shortcodeType)&&void 0!==O?O:""),useMonetization:""};return j(j({},data),{},S?{productCpc:t.cpc,productName:null===(P=this.techProd)||void 0===P||null===(P=P.product)||void 0===P?void 0:P.name,productPrice:Number(t.totalPrice/100)||Number(t.price/100),rawUrl:(null==t?void 0:t.url)||(null===(k=this.extraData)||void 0===k?void 0:k.rawUrl),resellerId:t.id,resellerName:t.name,resellerTtag:t.tTag,subId:Object(y.f)(this.stateMappings,(null==t?void 0:t.url)||(null===(w=this.extraData)||void 0===w?void 0:w.rawUrl))}:{monetizationStatus:null==t?void 0:t.monetizationStatus,productName:(null===(T=this.techProd)||void 0===T||null===(T=T.product)||void 0===T?void 0:T.name)||(null===(R=this.extraData)||void 0===R?void 0:R.hed)||this.hed,productPrice:(null==t?void 0:t.offerPrice)||0,rawUrl:(null==t?void 0:t.rawUrl)||(null===(C=this.extraData)||void 0===C?void 0:C.rawUrl),resellerName:null==t?void 0:t.offerMerchant,subId:Object(y.f)(this.stateMappings,(null==t?void 0:t.rawUrl)||(null===(I=this.extraData)||void 0===I?void 0:I.rawUrl)),useMonetization:null==t?void 0:t.useMonetization})}},{key:"getLowestOfferPrice",value:function(t){var e,r,n;if(!Array.isArray(t)||0===t.length)return null;var o=(null===(e=t[0])||void 0===e?void 0:e.totalPrice)||(null===(r=t[0])||void 0===r?void 0:r.price)||(null===(n=t[0])||void 0===n?void 0:n.offerPrice);return t.forEach((function(t){var e=(null==t?void 0:t.totalPrice)||(null==t?void 0:t.price)||(null==t?void 0:t.offerPrice);en.boundingClientRect.y,r.lastTriggerPosition[f]=n.boundingClientRect.y,data=(null==t||null===(d=t.data)||void 0===d?void 0:d[f])||{}}else o=void 0===r.lastTriggerPosition||r.lastTriggerPosition>n.boundingClientRect.y,r.lastTriggerPosition=n.boundingClientRect.y;var h=o?"down":"up",O=!1;if(c.log(h,n),t.singleIntersection?"top"===t.triggerOn?"down"===h&&n.isIntersecting?O=!0:"up"!==h||n.isIntersecting||(O=!0):"bottom"===t.triggerOn&&("down"!==h||n.isIntersecting?"up"===h&&n.isIntersecting&&(O=!0):O=!0):n.isIntersecting&&(O=!0),O){var y={direction:h,data:data,observer:r,entry:n};c.log(h,n,r),e(y)}}))}),t),this.enable(),this;c.warn("No handler specified on Intersection Observer")}},{key:"enable",value:function(){var t=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(e){t.observer.observe(e)})):this.observer.observe(this.el))}},{key:"disable",value:function(){var t=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(e){t.observer.unobserve(e)})):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())}}]),t}()},942:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));r(27);var n=r(402);function o(t){return{bind:t.bind?function(){return t.bind.apply(t,arguments)}:function(){},componentUpdated:t.componentUpdated?function(){return t.componentUpdated.apply(t,arguments)}:function(){},inserted:t.inserted?function(){return t.inserted.apply(t,arguments)}:function(){},unbind:t.unbind?function(){return t.unbind.apply(t,arguments)}:function(){},update:t.update?function(){return t.update.apply(t,arguments)}:function(){}}}function c(t,e){var r=new e;return Object(n.createDecorator)((function(e){e.directives=(null==e?void 0:e.directives)||{},e.directives[t]=o(r)}))}},947:function(t,e,r){"use strict";r.d(e,"a",(function(){return O}));r(7),r(12);var n=r(9),o=r(5),c=r(8),l=r(2),d=r(3),f=r(404);function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}var h=function(){function t(){Object(l.a)(this,t)}return Object(d.a)(t,[{key:"bind",value:function(t,e,r){var n=this,o=e.arg,c=e.value,l=r.context;this.action=function(){var e,r=l.$track(n.eventType);(e="function"==typeof c?r.create(c):r.with(c).create()).trackingData=f.a.replaceAttributeReferences(t,e.trackingData),e.fire()},t.addEventListener(o||"mousedown",this.action)}},{key:"unbind",value:function(t,e){var r=e.arg;e.value;t.removeEventListener(r||"mousedown",this.action)}}]),t}();function O(t){return function(e){function r(){return Object(l.a)(this,r),t=this,e=r,c=arguments,e=Object(o.a)(e),Object(n.a)(t,v()?Reflect.construct(e,c||[],Object(o.a)(t).constructor):e.apply(t,c));var t,e,c}return Object(c.a)(r,e),Object(d.a)(r,[{key:"eventType",get:function(){return t}}]),r}(h)}},955:function(t,e,r){"use strict";var n=r(19),o=r(57),c=r(42),l=r(112),d=r(64),f=r(123),v=r(407),h=r(79),O=r(189),y=r(406),m=r(605),j=r(63),P=r(113),k=j("replace"),w=TypeError,T=c("".indexOf),R=c("".replace),C=c("".slice),I=Math.max;n({target:"String",proto:!0},{replaceAll:function(t,e){var r,n,c,j,S,D,A,U,_,E=l(this),x=0,N=0,L="";if(!f(t)){if((r=v(t))&&(n=h(l(y(t))),!~T(n,"g")))throw new w("`.replaceAll` does not allow non-global regexes");if(c=O(t,k))return o(c,t,E,e);if(P&&r)return R(h(E),t,e)}for(j=h(E),S=h(t),(D=d(e))||(e=h(e)),A=S.length,U=I(1,A),x=T(j,S);-1!==x;)_=D?h(e(S,x,j)):m(S,j,x,[],void 0,e),L+=C(j,N,x)+_,N=x+A,x=x+U>j.length?-1:T(j,S,x+U);return N