https://garageproject.com.au/component---src-pages-shipping-and-delivery-jsx-93d16132d6c8ab1e5d28.js
1"use strict";(self.webpackChunkgarage_project_website=self.webpackChunkgarage_project_website||[]).push([[886,1380],{49148:function(e,t,l){var a=l(96540),n=l(98250);t.A=e=>{let{title:t,url:l,height:r}=e;const{width:o,ref:c}=(0,n.uZ)(),i=a.useMemo((()=>{let e;return e=o>=1e3?800:o>=400?1e3:o>=300?1800:2e3,e*(1/(o/100))}),[o]);return a.createElement("div",{className:"w-full",ref:c},a.createElement("iframe",{key:l,title:t,src:`${l}&embedded=true`,className:"w-full",height:Number(r)+i||1e3,frameBorder:"0",marginHeight:"0",marginWidth:"0"},"Loading form..."))}},3390:function(e,t,l){var a=l(96540);t.A=e=>{let{sticky:t,main:l}=e;return a.createElement("div",{className:"w-full h-full relative flex flex-col lg:flex-row"},a.createElement("div",{className:"static lg:sticky top-0 h-80 lg:h-[calc(100vh-56px)] lg:w-2/5"},t),a.createElement("div",{className:"lg:w-3/5 flex"},a.createElement("div",{className:"flex-1 w-full pt-10 md:pt-14 lg:pt-48 px-6 sm:px-10 md:px-1/8 pb-12 lg:pb-16"},l)))}},19218:function(e,t,l){l.r(t),l.d(t,{Head:function(){return i}});var a=l(96540),n=(l(24794),l(32532)),r=l(18993),o=l(37195),c=l(7094);const i=e=>a.createElement(c.A,Object.assign({},e,{title:"Shipping & Delivery",description:"Learn all about shipping & delivery at the GP Webstore!"}));t.default=e=>{let{location:t,data:{images:l,allSanityShipping:{nodes:c}}}=e;const i=(0,n.c)(l.edges.find((e=>{let{node:t}=e;return"shipping-delivery-cover.png"==`${t.name}.${t.extension}`})).node.childImageSharp.gatsbyImageData),s=a.useMemo((()=>c.find((e=>{let{country:t}=e;return"AU"===t}))),[c]),m=a.useMemo((()=>a.createElement(o.A,{from:"portable-text"},s._rawContent)),[]);return a.createElement(r.default,{location:t,pageContext:{title:"Shipping & Delivery",useCoverImage:!0,coverImage:i,contentType:"custom",content:m}})}},18993:function(e,t,l){l.r(t),l.d(t,{Head:function(){return g}});var a=l(96540),n=l(32532),r=l(60990),o=l(37195),c=l(49148),i=l(7094),s=l(40213),m=l(3390),u=l(31277);const d=["markdown","html","jsx","portable-text","custom"],f=e=>{const{pageContext:{title:t,seoDescription:l,doNotIndex:n}}=e;return a.createElement(i.A,Object.assign({},e,{title:t,description:l,doNotIndex:n||!1}))},g=e=>a.createElement(f,e),p=e=>{let{children:t,location:l,pageContext:i}=e;const{0:f,1:g}=(0,a.useState)(!1);(0,a.useEffect)((()=>{g(!0)}),[]);const{title:p,useCoverImage:h,coverImage:x,contentType:v,content:b,additionalContent:y}=i;if(!d.includes(v))return console.error("Invalid page content type:",v),null;const E=a.useMemo((()=>null==y?void 0:y.map((e=>{let{template:t,...l}=e;if("google-form"===t){const{formUrl:e,formHeight:t}=l;return a.createElement(c.A,{key:e,title:`${p} - Form`,url:e,height:t})}if("button"===t){const{color:e,label:t,href:n}=l,r="btn "+("black"===e?"btn--black":"btn--gpred");return a.createElement("div",{key:n,className:"my-4 mx-auto"},n.startsWith("/")?a.createElement(u.A,{className:r,to:n},t):a.createElement("a",{className:r,href:n},t))}return null}))),[y]);return a.createElement(s.A,{location:l,darkHeader:!0,containsSplitLayout:!0,enableScrollRestoration:!1},a.createElement(m.A,{sticky:h?a.createElement("div",{className:"w-full h-full relative flex justify-center items-center bg-white overflow-hidden"},a.createElement(n.G,{image:(0,n.c)(x),className:"absolute left-0 top-0 brightness-35 object-cover min-w-full min-h-full",alt:`${p} cover image`}),a.createElement("div",{className:"absolute h-full w-full flex justify-center items-center text-white px-24"},a.createElement(r.e,{show:f,enter:"transform transition-all duration-1200 delay-300 ease-easeOutCirc",enterFrom:"opacity-0 translate-y-8 lg:translate-y-0 lg:-translate-x-12",enterTo:"opacity-100 translate-y-0 lg:translate-x-0"},a.createElement("h1",{className:"page-title text-5xl lg:text-6xl xl:text-7xl max-w-md text-center lg:text-left filter drop-shadow-xl"},p)))):null,main:a.createElement("div",{className:"h-full flex flex-col items-center lg:items-start"},"custom"===v?null!=b?b:t:a.createElement(o.A,{from:v},b),E)}))};t.default=p,p.defaultProps={children:null}}}]); 2//# sourceMappingURL=component---src-pages-shipping-and-delivery-jsx-93d16132d6c8ab1e5d28.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.