"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[120],{166:(e,s,o)=>{o.r(s)},1068:(e,s,o)=>{o.r(s)},1066:(e,s,o)=>{const i=o(1067);(0,o(4).createEntrypoint)("reviews",i.Reviews)()},81:(e,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.loadLoox=void 0;const i=o(32);s.loadLoox=function(e,s){const o=Object.assign({src:`https://loox.io/widget/loox.js?shop=${e}.myshopify.com`,id:"loox",anonymous:!1},s);(0,i.loadScriptWithDelay)(o)}},165:(e,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ProductReviews=s.useLooxObserver=void 0;const i=o(0),t=(o(1),o(3)),r=o(81);function n(e){const[s,o]=(0,t.useState)(null);return(0,t.useEffect)((()=>{const o=new IntersectionObserver((([e])=>{(null==e?void 0:e.isIntersecting)&&(0,r.loadLoox)("blendjet")}),e);return s&&o.observe(s),()=>{s&&o.unobserve(s)}}),[s]),{ref:s,setRef:o}}o(166),s.useLooxObserver=n,s.ProductReviews=function({id:e}){const{ref:s,setRef:o}=n({rootMargin:"2000px"});return(0,i.jsx)("div",Object.assign({id:"reviews",class:"reviews",ref:o},{children:(0,i.jsx)("div",{id:"looxReviews",class:"loox-reviews","data-product-id":e})}))}},1067:(e,s,o)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.Reviews=void 0;const i=o(0);o(1),o(1068);const t=o(165);s.Reviews=function(){const{ref:e,setRef:s}=(0,t.useLooxObserver)({});return(0,i.jsx)("div",Object.assign({id:"reviews",ref:s},{children:(0,i.jsx)("div",{id:"looxReviews",class:"loox-all-reviews",style:"min-height: 100vh;"})}))}}},e=>{e.O(0,[1,2,20],(()=>(1066,e(e.s=1066)))),e.O()}]);