import{B as t,an as e,ag as n,j as r,ao as i,ae as o}from"./chunk.common_CmNk3qlo.esm.js";function s(){return t(this,void 0,void 0,(function*(){if("userAgentData"in e&&e.userAgentData)try{const t=e.userAgentData.brands||[];return t.some((({brand:t})=>/chrome|edge|chromium/i.test(t)))}catch(t){}return!(void 0===e||!e.userAgent)&&function(){const t=e.userAgent,n=/(chrome|crios)\/([\w.]+)/i.test(t),r=/(edg|edge|edga|edgios)\/([\w.]+)/i.test(t),i=/(opr|opera|brave|vivaldi)\/([\w.]+)/i.test(t);return(n||r)&&!i}()}))}function a(e){return t(this,void 0,void 0,(function*(){const t=new n("initShopCartSync");try{let t,n=!1;if(!(yield s()))return;t=r.querySelector("shop-cart-sync"),t||(t=i("shop-cart-sync"),n=!0),t.setAttribute("experiments",JSON.stringify((null==e?void 0:e.experiments)||{})),n&&r.body.appendChild(t)}catch(e){e instanceof Error&&t.notify(e)}}))}o("initShopCartSync",a);
//# sourceMappingURL=client.init-shop-cart-sync_Bc8-qrdt.en.esm.js.map
