PageSourceSearch

https://www.eufy.com/_next/static/chunks/95.ad5e66ee2e256398.js

js eufy.com collected 2026-09-24 09:34:55 UTC 11,370 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4c009c7a-d500-43fa-88f2-dae36d4cf60d",e._sentryDebugIdIdentifier="sentry-dbid-4c009c7a-d500-43fa-88f2-dae36d4cf60d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95,17238,93530,55386,56494,79222,79970],{63465:function(e,t,n){var l;l=function(e){return e.enc.Hex},e.exports=l(n(78249))},55386:function(e,t,n){"use strict";var l=n(85893),i=n(67294),r=n(93967),a=n.n(r),s=n(11163),c=n(24297),u=n(46911),o=n(63343),d=n(61506),p=n(3244),x=n(61806),m=n(77192);let f=e=>{let{text:t,className:n,savedStyle:i="pill",sizeClassName:r="text-[16px] md:text-[12px]"}=e;return"text"===i?(0,l.jsx)("span",{className:a()("whitespace-nowrap font-bold leading-[1.2] tracking-[-0.56px] text-eufy-color",n),children:t}):(0,l.jsx)("span",{className:a()("inline-flex items-center font-bold leading-[1.2] tracking-[-0.04em] text-info-quaternary",r,n),children:t})},v=e=>{let{label:t,price:n,className:i}=e;return(0,l.jsxs)("div",{className:a()("font-semibold text-[#FF9741]",i),children:[t," ",n]})},b=e=>{let{discountPrice:t,originalPrice:n,isComplianceMode:i,locale:r,shopCommon:s,className:u,priceSize:o="text-[20px]",originalPriceClassName:d,discountPriceClassName:p,priceRowClassName:x,theme:m="light",savedStyle:v="pill",savedLayout:b="inline",savedSize:N}=e,g=e=>{if(!e)return 0;if("number"==typeof e)return e;let t=(0,c.W6)(e);return isNaN(t)?0:t},h=g(t),w=g(n),P=h>0&&w>h,y=P?w-h:0,j=P?h:w,E=a()("font-bold leading-[1.2] tracking-[-0.04em]",o);if(!i)return(0,l.jsxs)("div",{className:a()("flex flex-wrap items-baseline gap-[4px]",u),children:[(0,l.jsx)("span",{className:a()(E,p||("light"===m?"text-[#1d1d1f]":"text-white")),children:(0,c.T4)({amount:j,locale:r})}),P&&(0,l.jsx)("span",{className:a()("font-bold text-[#B6B6BA] line-through",o,d),children:(0,c.T4)({amount:w,locale:r})})]});let T=(null==s?void 0:s.saved)||"Saved",S=y>0?"".concat(T," ").concat((0,c.T4)({amount:y,locale:r})):"";return(0,l.jsx)("div",{"data-part":"price-group",className:a()("flex flex-col gap-[2px]",u),children:(0,l.jsxs)("div",{className:a()("block"===b?"flex flex-col items-start":"flex flex-wrap items-center","text"===v?"gap-[2px]":"gap-[8px]",x),children:[(0,l.jsx)("span",{className:E,children:(0,c.T4)({amount:j,locale:r})}),S&&(0,l.jsx)(f,{text:S,savedStyle:v,sizeClassName:N,className:a()("text"===v&&o)})]})})};t.Z=e=>{let{variant:t,coupon:n,locale:r,productTags:N,theme:g="light",className:h,priceSize:w="text-[26px] md:text-[20px]",savedSize:P,nextTierSize:y="text-[18px] md:text-[14px]",discountPrice:j,originalPrice:E,originalPriceClassName:T,discountPriceClassName:S,priceRowClassName:_,showNextTierRow:M=!1,savedStyle:k="pill",savedLayout:L="inline"}=e,{locale:D}=(0,s.useRouter)(),C=r||D||"us",{profile:A,inApp:z}=(0,d.U)(),{priceModeConfig:B,shopCommon:U,memberSetting:I}=(0,p.O)(),R=!!(null==B?void 0:B.enabled),O=(null==B?void 0:B.promoLabel)||"",F=N||[],W=F.includes("price:label")||!z&&F.includes("price:label-web")||z&&F.includes("price:label-app"),Z=(0,i.useMemo)(()=>null!=n?n:(0,o.z)({variant:t}),[n,t]),{memberTotalSave:q,plusMemberTotalSave:G,memberPrice:V,plusMemberPrice:H}=(0,u.KM)({variant:t,coupon:Z,profile:A}),K=(0,u.d6)({profile:A}),Y=(null==t?void 0:t.price)||0,J=(0,i.useMemo)(()=>(0,u._L)({coupon:Z,price:Y,locale:C}),[Z,Y,C]),Q=J>0&&J<Y,X=Number(H)||0,$=Number(V)||0,ee=(0,i.useMemo)(()=>(0,m.ag)({memberType:K,plusMemberPrice:X,memberPrice:$,hasDiscount:Q}),[K,X,$,Q]),et=U||{},en=I||{},el=en.plus_member_price||et.plus_member_price||"Plus Member Price",ei=en.member_price||et.member_price||"Member Price",er=et.saved||"Saved",{finalPrice:ea,savedAmount:es,nextTierLabel:ec,nextTierPriceNum:eu}=(0,i.useMemo)(()=>{switch(ee){case m.Wz.NORMAL:{let e="",t=0;return K===x.dt.NON&&($>0?(e=ei,t=$):X>0&&(e=el,t=X)),{finalPrice:Y,savedAmount:0,nextTierLabel:e,nextTierPriceNum:t}}case m.Wz.DISCOUNT:{let e=J||Y,t=Q?Y-e:0,n="",l=0;return K===x.dt.NON&&($>0?(n=ei,l=$):X>
10&&(n=el,l=X)),{finalPrice:e,savedAmount:t,nextTierLabel:n,nextTierPriceNum:l}}case m.Wz.MEMBER:return{finalPrice:$||J||Y,savedAmount:q>0?q:0,nextTierLabel:X>0?el:"",nextTierPriceNum:X>0?X:0};case m.Wz.PLUS_MEMBER:return{finalPrice:X||J||Y,savedAmount:G>0?G:0,nextTierLabel:"",nextTierPriceNum:0};case m.Wz.PLUS_PREVIEW:{let e=J||Y,t=Q?Y-e:0;return{finalPrice:e,savedAmount:t,nextTierLabel:el,nextTierPriceNum:X}}default:return{finalPrice:Y,savedAmount:0,nextTierLabel:"",nextTierPriceNum:0}}},[ee,Y,J,Q,K,$,X,q,G,ei,el]),eo=(0,c.T4)({amount:ea,locale:C}),ed=(0,i.useMemo)(()=>W?O:es<=0?"":"".concat(er," ").concat((0,c.T4)({amount:es,locale:C})),[W,O,es,C,er]),ep=(0,i.useMemo)(()=>eu>0?(0,c.T4)({amount:eu,locale:C}):"",[eu,C]);if(!t)return(0,l.jsx)(b,{discountPrice:j,originalPrice:E,isComplianceMode:R,locale:C,shopCommon:U,className:h,priceSize:w,originalPriceClassName:T,discountPriceClassName:S,priceRowClassName:_,theme:g,savedStyle:k,savedLayout:L,savedSize:P});if(!(null==t?void 0:t.availableForSale))return(0,l.jsx)("span",{className:a()("font-bold text-[#999]",w),children:(null==U?void 0:U.soldOut)||"Sold Out"});let ex=a()("font-bold leading-[1.2] tracking-[-0.04em]",w),em="light"===g?"text-[#1d1d1f]":"text-white";if(!R){let e=e=>{let t=Number(e);return isNaN(t)?String(e):(0,c.T4)({amount:t,locale:C})},t=0!==j&&""!==j&&"0"!==j,n=e(t?j:E),i=e(E),r=t&&n!==i?i:void 0;return(0,l.jsxs)("div",{className:a()("flex flex-wrap items-baseline gap-[4px]",h),children:[(0,l.jsx)("span",{"data-part":"discount-price",className:a()(ex,S||em),children:n}),r&&(0,l.jsx)("span",{className:a()("font-bold text-[#B6B6BA] line-through",w,T),children:r})]})}return(0,l.jsxs)("div",{"data-part":"price-group",className:a()("flex flex-col gap-[2px]",!(M&&ec&&ep)&&"mb-[2px]",h),children:[(0,l.jsxs)("div",{className:a()("block"===L?"flex flex-col items-start":"flex flex-wrap items-center","text"===k?"gap-[2px]":"gap-[8px]",_),children:[(0,l.jsx)("span",{className:a()(ex,S||em),children:eo}),ed&&(0,l.jsx)(f,{text:ed,savedStyle:k,sizeClassName:P,className:a()("text"===k&&w)})]}),M&&ec&&ep&&(0,l.jsx)(v,{label:ec,price:ep,className:y})]})}},79970:function(e,t,n){"use strict";n.d(t,{Cg:function(){return a},E4:function(){return r},T4:function(){return s},ZP:function(){return u},w7:function(){return c}});var l=n(67294),i=n(55891);let r=e=>({us:"US",uk:"GB",ca:"CA",fr:"FR",au:"AU",my:"MY",vn:"VN",it:"IT","eu-de":"DE","eu-en":"DE"})[e]||"US",a=e=>({us:"en-US",uk:"en-GB",ca:"en-CA",au:"en-US","eu-es":"de-DE","eu-fr":"de-DE","eu-it":"de-DE","eu-de":"de-DE","eu-en":"de-DE","cz-en":"de-DE",nl:"de-DE"})[e]||"en-US";function s(e){var t;let{amount:n,currencyCode:l,locale:i,maximumFractionDigits:r,minimumFractionDigits:s,isDigits:c=!0}=e;if(!l)return n;let u=new Intl.NumberFormat(a(i),{style:"currency",currency:l,minimumFractionDigits:0===r?0:s,maximumFractionDigits:r}).format(n),o=c&&"vn-vi"!==i?u:(e=>{if(e.includes(",")){let t="";return["eu-de","nl","eu-en","eu-fr","eu-it","eu-es","cz-en"].includes(i)?t="".concat(e.toString().split(",")[0],"€"):"vn-vi"===i&&(t="".concat(e.toString().split(",")[0],"₫")),t}return e.includes(".")?e.toString().split(".")[0]:e})(u);return"ca"===i?"CA".concat(o):null==o?void 0:null===(t=o.toString())||void 0===t?void 0:t.replace(/[\s]/g,"")}function c(e){let{amount:t,baseAmount:n,currencyCode:l,locale:i}=e,r=n>t,c=new Intl.NumberFormat(a(i),{style:"percent"}),u=r?c.format((n-t)/n):null;return{price:s({amount:t,currencyCode:l,locale:i}),basePrice:r?s({amount:n,currencyCode:l,locale:i}):null,discount:u}}function u(e){let{amount:t,baseAmount:n,currencyCode:r,soldOutDescription:a}=null!=e?e:{},{locale:u}=(0,i.aF)(),o=(0,l.useMemo)(()=>"number"==typeof t&&r?a&&t>=9999999.99?a:n?c({amount:t,baseAmount:n,currencyCode:r,locale:u}):s({amount:t,currencyCode:r,locale:u}):"",[t,n,r,u,a]),d=t&&t<=0;return"string"==typeof o||"number"==typeof o?{price:o,free:d}:{...o,free:d}}},79222:function(e,t,n){"use strict";n.d(t,{D:function(){return l}});let l=e=>{var t,n,l;window.dataLayer=(null===(t=window)||void 0===t?void 0:t.dataLayer)||[];try{null===(l=window)||void 0===l||null===(n=l.dataLayer)||void 0===n||n.push(e)}catch(e){console.log("gaTrack error",e)}}},65080:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});let l=(e,t)=>
1{if(void 0!==window.fbq)try{t?window.fbq("track",e,t):window.fbq("track",e)}catch(e){console.log("fbqTrack error",e)}}},77192:function(e,t,n){"use strict";n.d(t,{Wz:function(){return i},ag:function(){return a},oj:function(){return s}});var l,i,r=n(61806);function a(e){let{memberType:t,plusMemberPrice:n,memberPrice:l,hasDiscount:i}=e;return t===r.dt.NON?i?"discount":"normal":t===r.dt.FREE?n>0&&0===l?"plus_preview":l>0?"member":"discount":n>0?"plus_member":l>0?"member":"discount"}function s(e,t){return t<=e||t<=0?null:"-".concat(Math.round((t-e)/t*100),"%")}(l=i||(i={})).NORMAL="normal",l.DISCOUNT="discount",l.MEMBER="member",l.PLUS_MEMBER="plus_member",l.PLUS_PREVIEW="plus_preview"},36102:function(e,t,n){"use strict";n.r(t);var l=n(85893),i=n(11472),r=n(74866),a=n(39781),s=n(87041),c=n(31897),u=n(78641),o=n(63343),d=n(55386),p=n(67294),x=n(57105),m=n(68410),f=n(45640),v=n(46911);t.default=e=>{var t,n,b,N,g,h,w;let{data:P,id:y,locale:j,pageHandle:E}=e,{title:T,handle:S,btnText:_,productImg:M,productName:k,listingHref:L}=null!=P?P:{},{buyNow:D}=(0,c.Z)(),{metafields:C}=(0,f.y)(),A=null==C?void 0:C.referrals,{data:z}=(0,s.Z)({handles:(null==P?void 0:P.handle)||""}),B=null==z?void 0:z.products.find(e=>e.handle===S),U=null==B?void 0:null===(t=B.variants)||void 0===t?void 0:t[0],{coupon:I}=(0,o.G)({variant:null==z?void 0:null===(N=z.products)||void 0===N?void 0:null===(b=N[0])||void 0===b?void 0:null===(n=b.variants)||void 0===n?void 0:n[0]}),{funcFreeGiftProducts:R,fnFreeGiftType:O}=(0,x.h)({variant:U}),F=(0,p.useMemo)(()=>R?2===O?R:1===O?null==R?void 0:R.slice(0,1):[]:[],[R,O]);return(0,l.jsxs)("section",{id:y,className:"bg-black px-[16px] py-[30px]",children:[(0,l.jsx)(i.Z,{variant:"sectionHeading",className:"text-center text-[20px] font-extrabold leading-[1.1] text-white",children:T}),(0,l.jsxs)("div",{className:"mt-[20px] w-full rounded-2xl bg-white px-[12px] pb-[18px]",children:[(0,l.jsx)("a",{href:L,children:(0,l.jsx)(r.ZP,{source:M,alt:k})}),(0,l.jsxs)("div",{className:"flex flex-col gap-[12px]",children:[(0,l.jsx)(i.Z,{variant:"paragraph",className:"text-[20px] font-bold text-[#333333]",children:k}),(0,l.jsx)(d.Z,{variant:U,coupon:I,productTags:(null==B?void 0:B.tags)||[],discountPrice:(0,v._L)({coupon:I,price:(null==U?void 0:U.price)||(null==B?void 0:null===(g=B.price)||void 0===g?void 0:g.value)||0,locale:j})||(null==B?void 0:null===(h=B.price)||void 0===h?void 0:h.value)||0,originalPrice:(null==B?void 0:null===(w=B.price)||void 0===w?void 0:w.value)||0,priceSize:"text-[24px] min-xxl:text-[36px]",originalPriceClassName:"!text-[16px]"}),(0,l.jsx)(a.Z,{className:"w-full",onClick:()=>{B&&D({products:F?[B,...F]:[B],coupon:I,customAttributes:[...(0,m.De)({referrals:A})],callBack:()=>{var e,t;(0,u.j)({event:"buynow",product:[B],page_group:"Activity Page_"+E,sku:null==B?void 0:null===(t=B.variants)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.sku,position:null==P?void 0:P.title,locale:j})}})},children:_})]})]})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.