"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[104],{157:(e,o,s)=>{s.r(o)},1074:(e,o,s)=>{const t=s(156);(0,s(5).createEntrypoint)("reviews",t.ProductReviews)},71:(e,o,s)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.loadLoox=void 0;const t=s(24);o.loadLoox=function(e,o){const s=Object.assign({src:`https://loox.io/widget/loox.js?shop=${e}.myshopify.com`,id:"loox",anonymous:!1},o);(0,t.loadScriptWithDelay)(s)}},156:(e,o,s)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ProductReviews=o.useLooxObserver=void 0;const t=s(0),r=(s(1),s(3)),i=s(71);function n(e){const[o,s]=(0,r.useState)(null);return(0,r.useEffect)((()=>{const s=new IntersectionObserver((([e])=>{(null==e?void 0:e.isIntersecting)&&(0,i.loadLoox)("blendjet")}),e);return o&&s.observe(o),()=>{o&&s.unobserve(o)}}),[o]),{ref:o,setRef:s}}s(157),o.useLooxObserver=n,o.ProductReviews=function({id:e}){const{ref:o,setRef:s}=n({rootMargin:"2000px"});return(0,t.jsx)("div",Object.assign({id:"reviews",class:"reviews",ref:s},{children:(0,t.jsx)("div",{id:"looxReviews",class:"loox-reviews","data-product-id":e})}))}}},e=>{e.O(0,[1,2,17],(()=>(1074,e(e.s=1074)))),e.O()}]);