"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[100],{152:(e,o,s)=>{s.r(o)},1051:(e,o,s)=>{const t=s(151);(0,s(5).createEntrypoint)("reviews",t.ProductReviews)},70:(e,o,s)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.loadLoox=void 0;const t=s(21);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)}},151:(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(70);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(152),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],(()=>(1051,e(e.s=1051)))),e.O()}]);