1"use strict";(globalThis.webpackChunk_our_place_shopify_theme=globalThis.webpackChunk_our_place_shopify_theme||[]).push([[307,658,3494,8486],{30658:(e,t,o)=>{o.r(t),o.d(t,{TrustPilotBannerRootView:()=>u});var r=o(96540),n=o(7319),i=o(46060),s=o(74848);const a=e=>(0,i.tw)("flex","min-h-[3rem]","w-full","items-center","justify-center","md:min-h-[4rem]",{"bg-sage-700":"primary"===e,"bg-interactive-brick":"secondary"===e,"bg-background-primary-inverse":"tertiary"===e}),l=(e,t)=>{let{bannerType:o,title:r,trustpilotBusinessUnitId:i,trustpilotTemplateId:l,trustpilotTheme:u,trustpilotUrl:c}=e;return(0,s.jsx)("div",{className:a(o),children:(0,s.jsx)("div",{className:"trustpilot-widget flex-1","data-businessunit-id":i,"data-locale":"en-US","data-style-height":"20px","data-style-width":"100%","data-template-id":l,"data-theme":u,ref:t,children:(0,s.jsx)(n.N,{external:!0,to:c,unstyled:!0,children:r})})})};l.displayName="TrustPilotBannerRootViewBase";const u=(0,r.memo)((0,r.forwardRef)(l))},33494:(e,t,o)=>{o.r(t),o.d(t,{TrustPilotBannerRoot:()=>r.TrustPilotBannerRoot});var r=o(58486)},40307:(e,t,o)=>{o.r(t),o.d(t,{TrustPilotBannerProvider:()=>p});var r=o(96540),n=o(46151),i=o(47665),s=o(92177),a=o(50988),l=o(21502),u=o(33494),c=o(74848);const d=()=>(0,c.jsx)(i.tH,{fallback:(0,c.jsx)(a.p,{show:!0}),children:(0,c.jsx)(n.ug,{countryIsoCode:window.Shopify.country,languageIsoCode:window.Shopify.locale,storeDomain:window.location.origin,storefrontApiVersion:l.rn,storefrontToken:l.SX,children:(0,c.jsx)(s.BE,{value:l.d6,children:(0,c.jsx)(u.TrustPilotBannerRoot,{})})})});d.displayName="TrustPilotBannerProviderBase";const p=(0,r.memo)(d)},46151:(e,t,o)=>{o.d(t,{ug:()=>u,qu:()=>c});var r=o(74848),n=o(96540);const i="2025-04";function s(e,t,o){return{"content-type":"graphql"===e?"application/graphql":"application/json","X-SDK-Variant":"hydrogen-react","X-SDK-Variant-Source":"react","X-SDK-Version":t,"X-Shopify-Storefront-Access-Token":o}}const a={storeDomain:"test",storefrontToken:"abc123",storefrontApiVersion:i,countryIsoCode:"US",languageIsoCode:"EN",getStorefrontApiUrl:()=>"",getPublicTokenHeaders:()=>({}),getShopifyDomain:()=>""},l=(0,n.createContext)(a);function u({children:e,...t}){if(!t.countryIsoCode||!t.languageIsoCode||!t.storeDomain||!t.storefrontToken||!t.storefrontApiVersion)throw new Error("Please provide the necessary props to '<ShopifyProvider/>'");t.storefrontApiVersion!==i&&console.warn(`<ShopifyProvider/>: This version of Hydrogen React is built for Shopify's Storefront API version ${i}, but it looks like you're using version ${t.storefrontApiVersion}. There may be issues or bugs if you use a mismatched version of Hydrogen React and the Storefront API.`);const o=(0,n.useMemo)(()=>{function e(e){const o=(null==e?void 0:e.storeDomain)??t.storeDomain;return o.includes("://")?o:`https://${o}`}return{...t,getPublicTokenHeaders:e=>s(e.contentType,t.storefrontApiVersion,e.storefrontToken??t.storefrontToken),getShopifyDomain:e,getStorefrontApiUrl(o){const r=e({storeDomain:(null==o?void 0:o.storeDomain)??t.storeDomain});return`${r}${r.endsWith("/")?"":"/"}api/${(null==o?void 0:o.storefrontApiVersion)??t.storefrontApiVersion}/graphql.json`}}},[t]);return(0,r.jsx)(l.Provider,{value:o,children:e})}function c(){const e=(0,n.useContext)(l);if(!e)throw new Error("'useShop()' must be a descendent of <ShopifyProvider/>");return e}},50988:(e,t,o)=>{o.d(t,{p:()=>f});var r=o(96540),n=o(60990),i=o(21196),s=o(46060),a=o(74848);const l={loadingOverlay:(0,s.tw)("flex","w-full","h-full","items-center","justify-center","before:content-['']","before:absolute","before:top-0","before:bottom-0","before:left-0","before:right-0","before:bg-background-primary","before:opacity-50"),loadingWheel:(0,s.tw)("animate-spin","w-8","h-8","text-primary")},u=()=>(0,a.jsx)("div",{className:l.loadingOverlay,children:(0,a.jsx)(i.I,{className:l.loadingWheel,name:"loading-wheel"})});u.displayName="LoadingOverlayViewBase";const c=(0,r.memo)(u);var d=o(21502);const p={className:(0,s.tw)("absolute","top-0","bottom-0","left-0","right-0"),enter:(0,s.tw)("transition-opacity",d.T_,"duration-150"),enterFrom:(0,s.tw)("opacity-0"),enterTo:(0,s.tw)("opacity-100"),leave:(0,s.tw)("transition-opacity",d.T_,"duration-150"),leaveFrom:(0,s.tw)("opacity-100"),leaveTo:(0,s.tw)("opacity-0")},m=e=>{let{show:t}=e;return(0,a.jsx)(n.e,{show:t,...p,children:(0,a.jsx)(c,{})})};m.displayName="LoadingOverlayBase";const f=(0,r.memo)(m)},58486:(e,t,o)=>{o.r(t),o.d(t,{TrustPilotBannerRoot:()=>c});var r=o(96540);const n={};function i(e,t){const[o,i]=(0,r.useState)("loading");return(0,r.useEffect)(()=>{(function(e,t){const o=n[e];if(o)return o;const r=new Promise((o,r)=>{const n=document.createElement("script");(null==t?void 0:t.module)?n.type="module":n.type="text/javascript",n.src=e,n.onload=()=>{o(!0)},n.onerror=()=>{r(!1)},"head"===(null==t?void 0:t.in)?document.head.appendChild(n):document.body.appendChild(n);const i=null==t?void 0:t.attributes;
1i&&Object.keys(i).forEach(e=>{n.setAttribute(e,i[e])})});return n[e]=r,r})(e,t).then(()=>i("done")).catch(()=>i("error"))},[e]),o}var s=o(33367),a=o(30658),l=o(74848);const u=()=>{const e=i("//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js"),{settings:t,text:{title:o}}=(0,s.useSectionSettings)(),{bannerType:n,trustpilotBusinessUnitId:u,trustpilotTemplateId:c,trustpilotTheme:d,trustpilotUrl:p}=t,m=(0,r.useRef)(null);return(0,r.useEffect)(()=>{"done"===e&&"Trustpilot"in window&&m.current&&window.Trustpilot.loadFromElement(m.current,!0)},[e]),(0,l.jsx)(a.TrustPilotBannerRootView,{bannerType:n,ref:m,title:o,trustpilotBusinessUnitId:u,trustpilotTemplateId:c,trustpilotTheme:d,trustpilotUrl:p})};u.displayName="TrustPilotBannerRootBase";const c=(0,r.memo)(u)}}]); 2//# sourceMappingURL=307.d06bfa04dcafee7b2ea7.js.map
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.