PageSourceSearch

https://www.eufy.com/_next/static/chunks/72707-a33b55ac6dc012c8.js

js eufy.com collected 2026-09-24 09:34:17 UTC 31,722 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]="48b518a3-150d-42aa-b017-dac1edf1a547",e._sentryDebugIdIdentifier="sentry-dbid-48b518a3-150d-42aa-b017-dac1edf1a547")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72707,79222,79970],{79970:function(e,t,l){"use strict";l.d(t,{Cg:function(){return r},E4:function(){return a},T4:function(){return o},ZP:function(){return c},w7:function(){return s}});var n=l(67294),i=l(55891);let a=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",r=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 o(e){var t;let{amount:l,currencyCode:n,locale:i,maximumFractionDigits:a,minimumFractionDigits:o,isDigits:s=!0}=e;if(!n)return l;let c=new Intl.NumberFormat(r(i),{style:"currency",currency:n,minimumFractionDigits:0===a?0:o,maximumFractionDigits:a}).format(l),d=s&&"vn-vi"!==i?c:(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})(c);return"ca"===i?"CA".concat(d):null==d?void 0:null===(t=d.toString())||void 0===t?void 0:t.replace(/[\s]/g,"")}function s(e){let{amount:t,baseAmount:l,currencyCode:n,locale:i}=e,a=l>t,s=new Intl.NumberFormat(r(i),{style:"percent"}),c=a?s.format((l-t)/l):null;return{price:o({amount:t,currencyCode:n,locale:i}),basePrice:a?o({amount:l,currencyCode:n,locale:i}):null,discount:c}}function c(e){let{amount:t,baseAmount:l,currencyCode:a,soldOutDescription:r}=null!=e?e:{},{locale:c}=(0,i.aF)(),d=(0,n.useMemo)(()=>"number"==typeof t&&a?r&&t>=9999999.99?r:l?s({amount:t,baseAmount:l,currencyCode:a,locale:c}):o({amount:t,currencyCode:a,locale:c}):"",[t,l,a,c,r]),u=t&&t<=0;return"string"==typeof d||"number"==typeof d?{price:d,free:u}:{...d,free:u}}},79222:function(e,t,l){"use strict";l.d(t,{D:function(){return n}});let n=e=>{var t,l,n;window.dataLayer=(null===(t=window)||void 0===t?void 0:t.dataLayer)||[];try{null===(n=window)||void 0===n||null===(l=n.dataLayer)||void 0===l||l.push(e)}catch(e){console.log("gaTrack error",e)}}},65080:function(e,t,l){"use strict";l.d(t,{O:function(){return n}});let n=(e,t)=>{if(void 0!==window.fbq)try{t?window.fbq("track",e,t):window.fbq("track",e)}catch(e){console.log("fbqTrack error",e)}}},61158:function(e,t,l){"use strict";l.d(t,{Z:function(){return er}});var n=l(85893),i=l(5152),a=l.n(i),r=l(67294),o=l(11163),s=l(56583),c=l(96550),d=l(4298),u=l.n(d),m=l(9977),_=l(25675),h=l.n(_),v=l(38086),p=l.n(v),x=l(47868);let f=()=>(0,n.jsx)("div",{className:"flex h-screen w-full items-center justify-center p-3 text-center",children:(0,n.jsx)(x.Z,{})}),g=a()(()=>Promise.all([l.e(93200),l.e(17961),l.e(94519),l.e(73223),l.e(88036)]).then(l.bind(l,88036)),{loadableGenerated:{webpack:()=>[88036]},loading:f}),b=a()(()=>l.e(51213).then(l.bind(l,51213)),{loadableGenerated:{webpack:()=>[51213]},loading:f}),j=a()(()=>l.e(86570).then(l.bind(l,86570)),{loadableGenerated:{webpack:()=>[86570]},loading:f}),C=e=>{if(!e)return{};{let t;let l=/(\w+)\s*:\s*"([^"]+)"/g,n={};for(;null!==(t=l.exec(e));)n[t[1]]=t[2];return n}},A=/{{\s*(['"]?)([a-zA-Z0-9_]+)\1\s*:\s*(['"]?)([a-zA-Z0-9_]+)\3\s*(,\s*(['"]?)([a-zA-Z0-9_]+)\6\s*:\s*(['"]?)([^"]+)\8\s*)*}}/g,N=e=>{let{dom:t,metafields:l,rootClass:i,blogMetafields:a}=e,o=(0,r.useCallback)(e=>{let{data:t}=e,{component:r,...o}=C(t);switch(r){case"new":return(0,n.jsx)(b,{metafields:l,...o});case"activity":return(0,n.jsx)(j,{data:null==l?void 0:l.activityEntrance,...o});case"product":return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(g,{refx:"blog",rootClass:i,metafields:l,blogMetafields:a,...o})});case"highlight":return(0,n.jsx)("div",{className:"quote",children:(0,n.jsxs)("div",{className:"quoteBox",children:[(0,n.jsx)(h(),{loading:"lazy",src:"https://cdn.shopify.com/s/files/1/0517
1/6767/3016/files/Frame_12880535.png?v=1682479275",width:62,height:62,alt:"Picture Icon"}),(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:null==o?void 0:o.content}})]})})}},[]),s=(0,r.useCallback)(e=>{let{Parser:t}=p(),l=[{shouldProcessNode:e=>"text"===e.type&&A.test(e.data),processNode:o},{shouldProcessNode:()=>!0,processNode:new(p()).ProcessNodeDefinitions(r).processDefaultNode}],n=new t;return null==n?void 0:n.parseWithInstructions(e,()=>!0,l)},[o]),c=(0,r.useMemo)(()=>s(t),[s,t]);return(0,n.jsx)(n.Fragment,{children:c})};var y=l(87041),w=l(5307),B=l(11472),k=l(19536),I=l(9329),T=l(7162),D=l(37723),Z=l(93967),P=l.n(Z),L=l(26346),S=l.n(L),E=l(25683),M=l(17012),R=l(61806),W=l(63343),F=l(67908),U=l(78820),z=l(31897),G=l(78641),H=l(79645),q=l(14025),O=l(65820),K=l(81550),V=l(55386);let J=()=>(0,n.jsx)("div",{className:"flex h-screen w-full items-center justify-center p-3 text-center",children:(0,n.jsx)(x.Z,{})}),Q=a()(()=>Promise.all([l.e(32453),l.e(60346),l.e(51553),l.e(34853),l.e(66211),l.e(75740),l.e(66761)]).then(l.bind(l,75740)),{loadableGenerated:{webpack:()=>[75740]},loading:J}),Y=e=>{var t,l;let{type:i,pageType:a,blog:d,blog_article:_,popularPosts:h,article:v,catagory:p,metafields:x,mainProductData:f,updatedAt:g,shop:b}=e,j=(0,o.useRouter)(),{locale:C,asPath:A,replace:D}=j,{shopCommon:Z,blogNav:L,blogSubscribe:R,sideDealsBanner:W,blogTimes:F,mainProduct:U,advertisingSpace:z,articleAuthor:G}=x||{},O=(0,r.useRef)(null),K=(0,r.useRef)(null),V=(0,r.useRef)(null),[Q,Y]=(0,r.useState)([]),[el,er]=(0,r.useState)([]),[eo,es]=(0,r.useState)([]),[ec,ed]=(0,r.useState)(!1),{recommendsProducts:eu=[],recommendArticles:em=[],showRecoProducts:e_}=null==d?void 0:d.metafields,eh=function(e){let[t,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let n=window.matchMedia(e);n.matches!==t&&l(n.matches);let i=()=>l(n.matches);return n.addEventListener("change",i),()=>n.removeEventListener("change",i)},[t,e]),t}("(max-width: 768px)"),{data:ev,isLoading:ep}=(0,y.Z)({handles:null==eu?void 0:eu.map(e=>null==e?void 0:e.handle).join()}),ex=(0,r.useMemo)(()=>null==f?void 0:f.find(e=>(null==e?void 0:e.handle)===(null==U?void 0:U.handle)),[f,U]),ef=(0,M.Z)(),eg=null==_?void 0:_.article,{nav:eb,subscribe:ej}=(null==eg?void 0:eg.metafields)||{},eC=ej||R,[eA,eN]=(0,r.useState)([]);(0,r.useCallback)(async(e,t)=>{if(e.length>0){let i=await getProductPersonalizeBySkusBlog({locale:C,skus:e,clientId:t,limit:2});if(null==i?void 0:i.data){var l,n;let e=[];
1if(null===(l=Object.values(null==i?void 0:i.data))||void 0===l||l.map(t=>{e.push(...t)}),setRecommendsProducts(e.slice(0,2)),e.length>0){let t=e[0].currency;(0,s.RC)({event:"ga4Event",event_name:"view_item_list",event_parameters:{page_group:"blog",currency:t,item_list_name:null===(n=postsFeaturedProducts)||void 0===n?void 0:n.title,items:e.map((e,t)=>({item_id:null==e?void 0:e.sku,item_name:e.product_title,item_brand:"eufy",item_category:(null==e?void 0:e.category)||"",item_variant:null==e?void 0:e.title,price:null==e?void 0:e.variant_price,index:t}))}}),ef(null==e?void 0:e.map(e=>({eventType:"view_item_list",itemId:(null==e?void 0:e.sku)||""})))}}}return!1},[]),(0,r.useEffect)(()=>{var e,t;let l=null==A?void 0:A.split("/"),n=(null==l?void 0:null===(e=l.reverse())||void 0===e?void 0:e[0])||"";n&&n.includes("storefront-")&&(l[0]=null==n?void 0:n.replace("storefront-",""),D(null==l?void 0:null===(t=l.reverse())||void 0===t?void 0:t.join("/")))},[A,D]),(0,r.useEffect)(()=>{let e=document.createElement("div");e.innerHTML="".concat(null==v?void 0:v.part1).concat(null==v?void 0:v.part2),eN(Math.ceil((e.textContent||e.innerText||"").split(" ").length/4.5/60))},[v]);let{gtm:ey}=(0,w.l8)(),ew=e=>(0,T.Z)(new Date((0,E.k)(e)),"MMM dd, yyyy");(0,r.useEffect)(()=>{ey&&pageView()},[ey]),(0,r.useEffect)(()=>{window&&document.querySelectorAll(".article_img").forEach(e=>{e.naturalWidth/e.naturalHeight<1&&(e.style.width="50%",e.style.margin="auto")})},[]);let{scrollY:eB}=(0,H.v)();(0,q.W)(eB,"change",()=>{let e="";Q.forEach(t=>{t.getBoundingClientRect().top<=100&&(e=t.id),!e&&Q.length>0&&(e=Q[0].id),eo.forEach(t=>{t.getAttribute("href")==="#".concat(e)?t.style.opacity="1":t.style.opacity="0.3"}),el.forEach(t=>{t.getAttribute("href")==="#".concat(e)?t.style.color="#005D8E":t.style.color="#1D1D1F"})})}),(0,r.useEffect)(()=>{ec&&er(Array.from(V.current.getElementsByClassName("catalogue-item")||[]))},[ec]),(0,r.useEffect)(()=>{let e=Array.from(O.current.querySelectorAll("h2")||[]),t=Array.from(K.current.getElementsByClassName("article_a")||[]);Y(e),es(t)},[]);let ek=(0,r.useCallback)(e=>(null==e?void 0:e.length)&&(null==e?void 0:e.find(e=>{var t;let l=!1;if(!(null==e?void 0:null===(t=e.handles)||void 0===t?void 0:t.length))return!0;for(let t of e.handles){for(let e of A.toLowerCase().split("/"))if(l=e.toLocaleLowerCase()===t.toLocaleLowerCase())break;if(l)break}return l}))||{},[A]),eI=(0,r.useMemo)(()=>{let e=ek(null==W?void 0:W.dealsConfigs);return Reflect.ownKeys(e).length?e:null},[null==W?void 0:W.dealsConfigs,ek]),eT=(0,r.useMemo)(()=>{let{advertising2:e=[]}=z||{},t=ek(e);return Reflect.ownKeys(t).length?t:null},[z,ek]),eD=(0,r.useMemo)(()=>{let{advertising3:e=[]}=z||{},t=ek(e);return Reflect.ownKeys(t).length?t:null},[z,ek]),eZ=(0,r.useMemo)(()=>(null==F?void 0:F.updated)+" "+ew(g||(null==eg?void 0:eg.publishedAt))+" "+((null==F?void 0:F.by)||""),[F,g,null==eg?void 0:eg.publishedAt]),eP=(0,r.useMemo)(()=>null==eo?void 0:eo.map(e=>e.textContent),[eo]);return j.isFallback?(0,n.jsx)(J,{}):(0,n.jsxs)("div",{className:S().root,children:[(0,n.jsx)("style",{children:"\n          html {\n            scroll-behavior: smooth;\n          }\n        "}),(null==eg?void 0:null===(t=eg.articleScript)||void 0===t?void 0:t.value)&&(0,n.jsx)(u(),{src:null==eg?void 0:null===(l=eg.articleScript)||void 0===l?void 0:l.value,type:"text/javascript"}),eh&&(0,n.jsx)(ea,{ref:V,onMobileCatalogueClick:()=>{ed(!ec)},showMobileCatalogue:ec,catalogueContent:eP,blogTimes:F}),(0,n.jsx)("div",{className:S().articleBanner,children:(0,n.jsxs)("div",{className:P()(S().articleLayer,"min-l:!grid-cols-[320px_1fr_300px]"),children:[(0,n.jsx)("div",{className:S().articleSeat}),(0,n.jsx)("div",{className:S().articleContentLayer,children:(0,n.jsxs)("div",{className:S().articleBannerContent,children:[(0,n.jsx)(ee,{blogArticle:_,blogNav:L,classNames:"min-l:mb-4"}),(0,n.jsx)(B.Z,{variant:"heading",html:null==eg?void 0:eg.title,className:S().articleBannerTitle}),(0,n.jsxs)("div",{className:S().articleBannerTime,children:[(0,n.jsx)(B.Z,{variant:"inline",html:eZ}),"\xa0",(0,n.jsx)(B.Z,{variant:"inline",html:(null==F?void 0:F.creative)||"",className:"text-eufy-color"}),(0,n.jsx)("span",{className:"mx-4 text-sm l:hidden",children:"|"}),(0,n.jsxs)("span",{className:P()(S().nameBox,"l:hidden"),children:[eA," ",(null==F?void 0:F.minRead)||"min read"]})]}),(0,n.jsxs)("div",{className:"mt-4 flex items-center gap-3 min-l:hidden",children:[(0,n.jsx)($,{data:eg,blog_article:_,locale:C}),(0,n.jsx)("div",{className:"text-sm",children:"|"}),(0,n.jsxs)("div",{className:S().nameBox,children:[eA," ",(null==F?void 0:F.minRead)||"min read"]})]})]})}),(0,n.jsx)("div",{className:S().articleSeat,children:(0,n.jsx)(X,{mainProductMetafields:U,mainProduct:ex,data:Z})})]})}),(0,n.jsx)("div",{className:S().articleContentWrapper,children:(0,n.jsxs)("div",{className:P()(S().articleLayer,"mt-6 min-l:mt-10"),children:[(0,n.jsx)("div",{className:S().articleContentSpan,children:(0,n.jsx)("div",{className:S().content,children:(0,n.jsxs)("div",{className:S().leftContent,children:[eI&&(0,n.jsx)(en,{sideDealsConfig:eI,classNames:"min-l:hidden"}),(0,n.jsxs)("article",{className:S().articleContent,ref:O,children:[(0,n.jsx)("style",{children:"\n                  .tableContents {\n                    display: flex;\n                    flex-direction: column;\n                    gap: 16px;\n                  }\n                  .tableTitle{\n                    line-height:1.2\n                  }\n                  .article_a {\n                    transition: opacity 0.3s ease-in-out;\n                  }\n                  .articleBeforeTitle{\n                    height:100%;\n                  }\n                  "}),(0,n.jsx)(N,{rootClass:S().stringComponents,dom:(0,m.Hg)({html:v.part1,locale:C}),blogMetafields:null==d?void 0:d.metafields,metafields:x}),(0,n.jsx)(N,{rootClass:S().stringComponents,dom:(0,m.Hg)({html:v.part2,locale:C}),blogMetafields:null==d?void 0:d.metafields,metafields:x})]}),G&&(0,n.jsx)(ei,{articleAuthor:G,data:eg,blog_article:_,locale:C})]})})}),(0,n.jsxs)("div",{className:S().articleContentLeft,ref:K,children:[(0,n.jsx)("div",{className:S().articleContentLeftBack,children:(0,n.jsx)(k.Z,{href:"/blogs/".concat(null==_?void 0:_.handle,"?ref=catalogue"),children:(0,n.jsx)(I.Z,{source:null==eC?void 0:eC.backIcon,alt:"back",loading:"eager"})})}),(0,n.jsx)(N,{rootClass:S().stringComponents,dom:(0,m.Hg)({html:p,locale:C}),metafields:x}),(0,n.jsx)("div",{className:"my-4 h-[1px] bg-[rgba(0,0,0,0.15)]"}),(0,n.jsx)($,{data:eg,blog_article:_,locale:C,classNames:"[&_a_span_svg]:!h-[16px] [&_a_span_svg]:!w-[16px]"})]}),(0,n.jsx)("div",{className:S().articleContentRight,children:(0,n.jsxs)("div",{className:S().rightContent,children:[(0,n.jsxs)("div",{className:"mb-[24px]",children:[eI&&(0,n.jsx)(en,{sideDealsConfig:eI,classNames:"mb-[24px] hidden min-l:block"}),eT&&(0,n.jsx)(et,{advertisingConfig:eT,classNames:"my-12 min-l:my-6"}),eD&&(0,n.jsx)(et,{advertisingConfig:eD})]}),"true"===e_&&(0,n.jsx)(c.Z,{pageType:"article",mainProduct:U,shopCommon:Z,products:null==ev?void 0:ev.products,metafieldsRecommendsProducts:eu,isLoading:ep}),(null==h?void 0:h.length)>0&&(0,n.jsxs)("div",{className:S().postsRecommendBox,children:[(0,n.jsx)("div",{className:S().postsRecommendTitle,children:null==Z?void 0:Z.blog_recommends_posts_title}),null==h?void 0:h.map((e,t)=>{var l,i,a,r,o,s;return t<4?(0,n.jsx)("div",{className:S().post,children:(0,n.jsxs)("div",{className:S().postInfo,children:[(0,n.jsx)("a",{href:"".concat("us"===C?"":"/"+C,"/blogs/").concat(null==e?void 0:null===(i=e.blog)||void 0===i?void 0:null===(l=i.handle)||void 0===l?void 0:l.replace("storefront-",""),"/").concat(null==e?void 0:null===(a=e.handle)||void 0===a?void 0:a.replace("storefront-","")),className:S().title,children:null==e?void 0:e.title}),(0,n.jsxs)("p",{className:S().tip,children:[(0,n.jsx)("a",{className:S().postTitle,href:"".concat("us"===C?"":"/"+C,"/blogs/").concat(null==e?void 0:null===(o=e.blog)||void 0===o?void 0:null===(r=o.handle)||void 0===r?void 0:r.replace("storefront-","")),children:null==e?void 0:null===(s=e.blog)||void 0===s?void 0:s.title}),(0,n.jsx)("span",{className:S().dot,children:"\xb7"}),(null==e?void 0:e.publishedAt)&&(0,n.jsx)("span",{children:(0,T.Z)(new Date((0,E.k)(null==e?void 0:e.publishedAt)),"dd/MM/yyyy")})]})]})},(null==e?void 0:e.title)+t):""})]})]})})]})})]})},X=e=>{var t,l,i,a;let{mainProductMetafields:o,mainProduct:s,data:c}=e,[d,u]=(0,r.useState)(!1),{buyNow:_}=(0,z.Z)(),h=(null==s?void 0:null===(t=s.variants)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.sku)===(null==o?void 0:o.sku)))||{},{coupon:v}=(0,W.G)({variant:h}),p={[null==h?void 0:h.sku]:[v]},f=(0,r.useMemo)(()=>!!v,[v]),{priceFormatted:g,discountPriceFormatted:b}=(0,F.Z)({product:s,variant:h,coupon:v}),j=(0,r.useMemo)(()=>"/products/".concat(null==o?void 0:o.handle,"?variant=").concat((0,m.Ll)(null==h?void 0:h.id),"&ref=blog"),[null==o?void 0:o.handle,null==h?void 0:h.id]);return(null==h?void 0:h.availableForSale)?(0,n.jsxs)("div",{className:S().mainProduct,children:[(null==o?void 0:o.badge)&&(0,n.jsx)("div",{className:S().badge,children:(0,n.jsx)(B.Z,{variant:"inline",html:null==o?void 0:o.badge})}),(0,n.jsx)("div",{className:S().mainProductImage,children:(0,n.jsx)(I.Z,{source:(null==h?void 0:null===(l=h.image)||void 0===l?void 0:l.url)||(null==s?void 0:null===(a=s.images)||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:i.url),alt:(null==o?void 0:o.altText)||"",imgClassName:"aspect-1 object-cover"})}),(0,n.jsxs)("div",{className:S().mainProductInfo,children:[(0,n.jsxs)("div",{className:S().mainProductInfoTop,children:[(0,n.jsx)(B.Z,{className:S().mainProductTitle,html:(null==s?void 0:s.name)||(null==o?void 0:o.name)}),(null==h?void 0:h.availableForSale)&&(0,n.jsx)("div",{className:S().productPriceWrap,children:(0,n.jsx)(V.Z,{variant:h,coupon:v,productTags:(null==s?void 0:s.tags)||[],discountPrice:f?b:g,originalPrice
1:g})})]}),(0,n.jsx)("div",{className:S().mainProductInfoBottom,children:(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)("button",{className:(0,U.m)(S().basicButton,"bg-eufy-color font-bold"),onClick:()=>{if(d)return;let e=[{...s,sku:null==h?void 0:h.sku}];u(!0),_({products:e,coupons:p,callBack:()=>{u(!1),(0,G.j)({event:"buynow",product:e,page_group,sku:null==h?void 0:h.sku,position:null==c?void 0:c.title,locale})}})},children:d?(0,n.jsx)(x.Z,{}):(0,n.jsx)(B.Z,{html:(null==c?void 0:c.blogBuyNowText)||(null==c?void 0:c.buyNow)})}),(0,n.jsx)(k.Z,{href:j,className:P()("text-sm font-bold leading-[1.2] text-eufy-color underline min-l:h-[40px] min-l:rounded-full min-l:border-[1px] min-l:border-eufy-color min-l:px-5 min-l:py-0 min-l:leading-[40px] min-l:!text-eufy-color min-l:no-underline"),children:(0,n.jsx)(B.Z,{html:(null==c?void 0:c.blogLearnMoreText)||(null==c?void 0:c.learn_more)})})]})})]})]}):null},$=e=>{var t;let{data:l,blog_article:i,locale:a,classNames:r}=e;if(R.o)return null;let o=e=>{(0,s.RC)({event:"uaEvent",eventCategory:"blog",eventAction:e,eventLabel:""}),(0,s.RC)({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"blog",button_name:e}})};return(0,n.jsxs)("div",{className:P()(S().share,r),children:[(0,n.jsx)("a",{target:"_blank",rel:"noopener noreferrer nofollow",className:S().shareBtn,title:"Share this on Twitter",href:encodeURI("https://twitter.com/intent/tweet?text=".concat(null==l?void 0:l.title,"&url=\n              https://www.eufy.com/").concat("us"===a?"":a+"/","blogs/").concat(null==i?void 0:i.handle,"/").concat(null==l?void 0:l.handle)),onClick:()=>{o("twitter")},children:(0,n.jsx)("span",{className:"icon ","data-icon":"twitter",children:(0,n.jsx)(D.Z,{"aria-label":"twitter",iconKey:"twitterBlog",className:P()(S().shareIcon,S().twitterIcon)})})}),(0,n.jsx)("a",{target:"_blank",rel:"noopener noreferrer",className:S().shareBtn,title:"Share this on Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=\n              https://www.eufy.com/".concat("us"===a?"":a+"/","blogs/").concat(null==i?void 0:i.handle,"/").concat(null==l?void 0:l.handle),onClick:()=>{o("facebook")},children:(0,n.jsx)("span",{className:"icon ","data-icon":"facebook",children:(0,n.jsx)(D.Z,{"aria-label":"facebook",iconKey:"facebookBlog",className:P()(S().shareIcon,S().facebookIcon)})})}),(0,n.jsx)("a",{target:"_blank",rel:"noopener noreferrer",className:S().shareBtn,"data-pin-do":"skipLink",title:"Share this on Pinterest",href:"https://pinterest.com/pin/create/button/?url=\n              https://www.eufy.com/".concat("us"===a?"":a+"/","blogs/").concat(null==i?void 0:i.handle,"/").concat(null==l?void 0:l.handle,"&description=").concat(null==l?void 0:l.title,"&media=").concat(null==l?void 0:null===(t=l.image)||void 0===t?void 0:t.url),onClick:()=>{o("pinterest")},children:(0,n.jsx)("span",{className:"icon ","data-icon":"pinterest",children:(0,n.jsx)(D.Z,{"aria-label":"pinterest",iconKey:"pinterest",className:P()(S().shareIcon,S().pinterestIcon)})})}),(0,n.jsx)("a",{href:"mailto:?subject=Thought you might like What%20is%20GaN?&amp;body=Hey, I was browsing eufy and found What%20is%20GaN?. I wanted to share it with you.%0D%0A%0D%0A\n              https://www.eufy.com/".concat("us"===a?"":a+"/","blogs/").concat(null==i?void 0:i.handle,"/").concat(null==l?void 0:l.handle),target:"_blank",rel:"noopener noreferrer",className:S().shareBtn,title:"Email this to a friend",onClick:()=>{o("mailto")},children:(0,n.jsx)("span",{className:"icon ","data-icon":"email",children:(0,n.jsx)(D.Z,{"aria-label":"email",iconKey:"email",className:P()(S().shareIcon,S().emailIcon)})})})]})},ee=e=>{let{blogArticle:t,blogNav:l,classNames:i}=e,a=(0,o.useRouter)();if(!t)return null;let{locale:r}=a;return(0,n.jsxs)("div",{className:P()(S().articleBannerCrumbs,i),children:[(0,n.jsx)(k.Z,{href:"/?ref=breadcrumb",className:S().articleBannerCrumb,children:"eu-de"===r?"Startseite":"Home"}),(0,n.jsx)("span",{className:"text-sm text-[#999999]",children:"/"}),(0,n.jsx)(k.Z,{href:"/blogs?ref=breadcrumb",className:S().articleBannerCrumb,children:null==l?void 0:l.title}),(0,n.jsx)("span",{className:"text-sm text-[#999999]",children:"/"}),(0,n.jsx)(k.Z,{href:"/blogs/".concat(null==t?void 0:t.handle,"?ref=breadcrumb"),className:S().articleBannerCrumb,children:null==t?void 0:t.t
1itle})]})},et=e=>{let{advertisingConfig:t,classNames:l}=e;return(0,n.jsxs)("div",{className:P()(S().advertisingSpace,l),children:[(0,n.jsx)(I.Z,{source:"".concat(null==t?void 0:t.imagePc,", ").concat(null==t?void 0:t.imageMob," 769"),alt:(null==t?void 0:t.altText)||"",loading:"eager",className:"aspect-h-[117] aspect-w-[342] min-l:aspect-h-[117] min-l:aspect-w-[200]"}),(0,n.jsxs)("div",{className:S().advertisingContent,children:[(null==t?void 0:t.title)&&(0,n.jsx)(B.Z,{html:null==t?void 0:t.title,className:S().advertisingTitle}),(null==t?void 0:t.desc)&&(0,n.jsx)(B.Z,{html:null==t?void 0:t.desc,className:S().advertisingDescription}),(0,n.jsx)(k.Z,{href:null==t?void 0:t.href,className:S().advertisingLink,children:null==t?void 0:t.linkText})]})]})},el=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,n.jsx)("path",{d:"M9 6L15 12L9 18",stroke:"#1D1D1F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),en=e=>{let{sideDealsConfig:t,classNames:l}=e;return t?(0,n.jsx)("div",{className:P()("overflow-hidden rounded",l),children:(0,n.jsxs)("div",{className:P()(S().sideDealsBanner),children:[(0,n.jsx)(I.Z,{className:" h-[50px] w-[50px] overflow-hidden rounded-xl min-l:aspect-h-[394] min-l:aspect-w-[200] min-l:h-auto min-l:w-full",source:"".concat(null==t?void 0:t.bgImgPc,", ").concat(null==t?void 0:t.bgImgMob," 769"),alt:(null==t?void 0:t.altText)||"",loading:"eager",imgClassName:"object-cover"}),(0,n.jsxs)("div",{className:S().sideDealsBannerContent,children:[(0,n.jsx)(B.Z,{className:P()(S().sideDealsBannerTitle,"l:hidden"),html:null==t?void 0:t.pcTitle}),(0,n.jsx)(B.Z,{className:P()(S().sideDealsBannerTitle,"min-l:hidden"),html:null==t?void 0:t.mobTitle}),(null==t?void 0:t.desc)&&(0,n.jsx)(B.Z,{className:P()(S().sideDealsBannerDescription,"l:hidden"),html:null==t?void 0:t.desc}),(0,n.jsx)(k.Z,{href:null==t?void 0:t.url,className:S().sideDealsBannerBtn,target:"_blank",children:null==t?void 0:t.btnText}),(0,n.jsx)(k.Z,{href:null==t?void 0:t.url,className:S().sideDealsBannerIcon,target:"_blank",children:(0,n.jsx)(el,{})})]})]})}):null},ei=e=>{let{articleAuthor:t,blog_article:l,locale:i,data:a}=e;return(0,n.jsxs)("div",{className:S().articleAuthor,children:[(0,n.jsxs)("div",{className:S().articleAuthorContent,children:[(0,n.jsx)("div",{className:S().articleAuthorAvatar,children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",children:[(0,n.jsx)("circle",{cx:"40",cy:"40",r:"40",fill:"#005D8E"}),(0,n.jsx)("path",{d:"M58.0166 37.0482C56.4529 37.0482 55.1861 38.3074 55.1861 39.8616C55.1861 47.8901 48.6149 54.424 40.5355 54.424C32.4561 54.424 25.885 47.8923 25.885 39.8616C25.885 31.8308 32.4561 25.2992 40.5355 25.2992C44.0991 25.2992 47.4744 26.5694 50.1165 28.8457L41.3306 37.2617C40.2055 38.3404 40.1723 40.1213 41.2576 41.2397C41.8135 41.812 42.5554 42.1004 43.2973 42.1004C44.0393 42.1004 44.7126 41.8384 45.2618 41.3123L56.0853 30.9458C56.0853 30.9458 56.1008 30.9282 56.1074 30.9216C56.1296 30.8996 56.1517 30.8754 56.1739 30.8512C56.2182 30.8049 56.2625 30.7587 56.3023 30.7125C56.3223 30.6883 56.34 30.664 56.3577 30.6398C56.3976 30.5892 56.4374 30.5386 56.4729 30.4857C56.4862 30.4659 56.4972 30.4439 56.5105 30.4241C56.5482 30.3669 56.5836 30.3074 56.6168 30.248C56.6257 30.2326 56.6323 30.2172 56.639 30.2017C56.6744 30.1357 56.7076 30.0675 56.7364 29.9992C56.7409 29.9882 56.7431 29.9794 56.7475 29.9684C56.7785 29.8935 56.8051 29.8187 56.8294 29.7439C56.8317 29.735 56.8339 29.7284 56.8361 29.7196C56.8605 29.6404 56.8804 29.5611 56.8959 29.4819C56.8959 29.4731 56.8981 29.4621 56.9003 29.4533C56.9158 29.374 56.9291 29.297 56.9358 29.2177C56.9358 29.2023 56.9358 29.1869 56.938 29.1737C56.9446 29.0988 56.949 29.0262 56.9513 28.9513C56.9513 28.9293 56.9513 28.9095 56.9513 28.8875C56.9513 28.8193 56.949 28.751 56.9424 28.6828C56.9402 28.6564 56.9358 28.6299 56.9313 28.6013C56.9247 28.5397 56.918 28.4758 56.9048 28.4142C56.9003 28.3834 56.8915 28.3548 56.8848 28.3261C56.8715 28.2667 56.8605 28.2073 56.8427 28.15C56.8339 28.1214 56.8228 28.0906 56.8139 28.062C56.7962 28.0047 56.7763 27.9453 56.7542 27.8881C56.7431 27.8616 56.7298 27.8352 56.7187 27.8066C56.6944 27.7494 56.6678 27.6899 56.639 27.6349C56.6257 27.6085 56.6102 27.5843 56.5969 27.56C56.5659 27.5028 56.5349 27.4478 56.4972 27.3927C56.4795 27.3663 56.4596 27.3399 56.4419 27.3157C56.4064 27.2651 56.371 27.2144 56.3311 27.1638C56.3267 27.1594 56.3223 27.1528 56.3201 27.1484C52.442 22.3977 46.6903 19.6724 40.54 19.6724C29.34 19.6724 20.2285 28.729 20.2285 39.8616C20.2285 50.9941 29.34 60.0508 40.54 60.0508C51.74 60.0508 60.8514 50.9941 60.8514 39.8616C60.8514 38.3074 59.5846 37.0482 58.021 37.0482H58.0166Z",fill:"white"})]})}),(0,n.jsxs)("div",{className:S().articleAuthorInfo,children:[(0,n.jsx)(B.Z,{html:null==t?void 0:t.contributedText,className:S().articleAuthorContributed}),(0,n.jsx)(B.Z,{html:null==t?void 0:t.author,className:S().articleAuthorName})]})]}),(0,n.jsx)("div",{className:S().articleAuthorShare,children:(0,n.jsx)($,{data:a,blog_article:l,locale:i})})]})},ea=(0,r.forwardRef)((e,t)=>{let{catalogueContent:l,blogTimes:i,showMobileCatalogue:a,onMobileCatalogueClick:o}
1=e,[s,c]=(0,r.useState)(0);return(0,r.useEffect)(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]),(0,n.jsxs)("div",{className:"sticky top-0 z-20 flex h-[38px] items-center justify-center gap-1  bg-white px-[12px] py-2 min-l:hidden",onClick:()=>{o&&o()},children:[(0,n.jsx)(I.Z,{source:null==i?void 0:i.catalogueIcon,className:"h-[20px] w-[20px]",alt:"catalogue"}),(0,n.jsx)(B.Z,{className:"text-[18px] font-bold leading-[1.2]",html:null==i?void 0:i.catagory}),(0,n.jsx)(O.M,{children:(0,n.jsx)("div",{className:P()("absolute left-0 top-[38px] z-10 h-screen w-full bg-black/15",{hidden:!a}),children:(0,n.jsx)(K.E.div,{ref:t,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"bg-white",transition:{duration:.2},children:null==l?void 0:l.map((e,t)=>(0,n.jsx)("a",{onClick:()=>{c(t),o&&o()},className:P()("catalogue-item line-clamp-1 border-b border-[#f2f2f2] text-center text-[16px] font-medium leading-[50px] text-[#1D1D1F]",{"text-eufy-color":s===t}),href:"#".concat(encodeURIComponent(e)),children:e},"catalogue-item-".concat(t)))})})})]})});ea.displayName="MobileCatalogue";var er=e=>{let{type:t}=e;return"404"===t?(0,n.jsx)(Q,{...e}):(0,n.jsx)(Y,{...e})}},26346:function(e){e.exports={root:"Article_root__c14Nr",stringComponents:"Article_stringComponents__Q7TEl",articleContent:"Article_articleContent__n_eaL",crumbs:"Article_crumbs__l_cgW",rootLayer:"Article_rootLayer__rmSAc",rootContent:"Article_rootContent__uhVyB",articleTitle:"Article_articleTitle__qWPB6",infoBox:"Article_infoBox__p7Vyo",dataBox:"Article_dataBox__4vwjg",nameBox:"Article_nameBox__2m7gP",author:"Article_author__Fzxnm",name:"Article_name__VJ6P3",date:"Article_date__Agd1F",share:"Article_share__gwQRW",shareBtn:"Article_shareBtn__O_HeN",shareIcon:"Article_shareIcon__PJtM_",twitterIcon:"Article_twitterIcon__kMWx_",facebookIcon:"Article_facebookIcon__N0iTe",pinterestIcon:"Article_pinterestIcon__KwbFB",emailIcon:"Article_emailIcon__g72CY",other:"Article_other__CJb8l",btn:"Article_btn__WPs9f",span:"Article_span__9pnKb",postsRecommendBox:"Article_postsRecommendBox__fiCNY",post:"Article_post__9nLw_",tip:"Article_tip__5VgRQ",title:"Article_title__MlSUd",subTitle:"Article_subTitle__eiHBG",content:"Article_content__aQ2Fi",leftContent:"Article_leftContent__j7rHa",rightContent:"Article_rightContent__xEb8t",productsRecommendBox:"Article_productsRecommendBox__orJUx",subscribeBox:"Article_subscribeBox__Xci2h",subscribeTitle:"Article_subscribeTitle__EUHlM",postsRecommendTitle:"Article_postsRecommendTitle__s_x0U",productsRecommendTitle:"Article_productsRecommendTitle__o_4nn",container:"Article_container__79T4d",inputButtonWrap:"Article_inputButtonWrap__sQ84h",subscribeInput:"Article_subscribeInput__RlRja",subscribeButton:"Article_subscribeButton__6gWNU",policy:"Article_policy__2DOYZ",dot:"Article_dot__1TS73",recommendsArticleBox:"Article_recommendsArticleBox__fbHOG",recommendsArticle:"Article_recommendsArticle__LCwEp",recommendsArticleTitle:"Article_recommendsArticleTitle__sInNS",postImg:"Article_postImg__LuuOv",postInfo:"Article_postInfo__Z824W",productsInfo:"Article_productsInfo__vDIER",articleTitleBox:"Article_articleTitleBox__ZqHNM",dealsBanner:"Article_dealsBanner__G_7yi",sideDealsBanner:"Article_sideDealsBanner__ai_Sz",sideDealsBannerContent:"Article_sideDealsBannerContent__NIVx3",sideDealsBannerTitle:"Article_sideDealsBannerTitle__c2AfI",sideDealsBannerDescription:"Article_sideDealsBannerDescription__XJoy_",sideDealsBannerBtn:"Article_sideDealsBannerBtn__eNwG7",sideDealsBannerIcon:"Article_sideDealsBannerIcon__FLS5U",articleLayer:"Article_articleLayer__UkLzv",articleContentLayer:"Article_articleContentLayer__ASZ83",articleBannerContent:"Article_articleBannerContent__zUeLL",articleBanner:"Article_articleBanner__rX6Jy",articleBannerCrumbs:"Article_articleBannerCrumbs__h_r_m",articleBannerCrumb:"Article_articleBannerCrumb__GyWMf",articleBannerTitle:"Article_articleBannerTitle__JDpgC",articleBannerTime:"Article_articleBannerTime__1boje",mainProduct:"Article_mainProduct__QRx_u",badge:"Article_badge__p9A8Y",mainProductImage:"Article_mainProductImage__v7HP7",mainProductInfo:"Article_mainProductInfo__oMiEl",mainProductTitle:"Article_mainProductTitle__YjkWX",productPriceWrap:"Article_productPriceWrap__j3fqc",productPrice:"Article_productPrice__Bx8Vn",productOriginPrice:"Article_productOriginPrice__65ZXk",mainProductInfoBottom:"Article_mainProductInfoBottom__6J2vW",basicButton:"Article_basicButton__z8F3Y",productBtnSoldOut:"Article_productBtnSoldOut__yg4hP",articleContentWrapper:"Article_articleContentWrapper__69muh",articleContentLeft:"Article_articleContentLeft__rqGmN",articleContentLeftBack:"Article_articleContentLeftBack___Fq_3",articleContentSpan:"Article_articleContentSpan__nZ8x9",articleContentRight:"Article_articleContentRight__sp6Vy",advertisingSpace:"Article_advertisingSpace__UfNIm",advertisingContent:"Article_advertisingContent__3ttwE",advertisingTitle:"Article_advertisingTitle__KhAyu",advertisingDescription:"Article_advertisingDescription__x5B1y",advertisingLink:"Article_advertisingLink__MlaAx",articleAuthor:"Article_articleAuthor__O0Ndk",articleAuthorContent:"Article_articleAuthorContent__Sz6a6",articleAuthorInfo:"Article_articleAuthorInfo__g5zb6",articleAuthorContributed:"Article_articleAuthorContributed__yjtGB",articleAuthorName:"Article_articleAuthorName__ihneN",articleAuthorTitle:"Article_articleAuthorTitle__P4QPZ",articleAuthorAvatar:"Article_articleAuthorAvatar__g81D4"}}}]);

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.