PageSourceSearch

https://goodnessme.com.au/component---src-pages-reviews-tsx-8480f08b449a8f7f8598.js

js goodnessme.com.au collected 2026-10-03 22:11:33 UTC 10,220 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgoodnessme_app=self.webpackChunkgoodnessme_app||[]).push([[8278],{67352:function(e,n,l){l.d(n,{T:function(){return c}});var i=l(67294),o=l(56045),t=l(74780),r=l(58570),a=l(12963),s=l(85893),u=function(e){var n=e.content,l=(0,o.kt)(),i=l[0],u=l[1],c=(0,r.b)(r.f.COLLECTION),d=(null==c?void 0:c.showMoreContent)||"Read More",h=(null==c?void 0:c.showLessContent)||"Show Less",x={"h1, h2, h3, h4, h5, h6":{color:"brand.avocado",fontWeight:"black",fontFamily:"heading"},p:{pb:a.rY,fontSize:"md",lineHeight:a.Ac},"*":{fontSize:"md",lineHeight:a.Ac},a:{color:"brand.avocado",textDecoration:"underline"}};return n?(0,s.jsx)(t.M5,{py:[16,14],children:(0,s.jsxs)(t.xu,{w:["full","full","90%"],position:"relative",children:[(0,s.jsx)(t.xu,{noOfLines:i?void 0:5,sx:x,dangerouslySetInnerHTML:{__html:n},maxH:i?"unset":120,overflow:"hidden"}),(0,s.jsx)(t.xv,{as:"span",fontWeight:700,position:"absolute",bottom:-5,right:0,cursor:"pointer",onClick:u.toggle,fontSize:["sm","md"],lineHeight:1.6,children:i?h:d})]})}):null},c=(0,i.memo)(u)},51598:function(e,n,l){l.d(n,{h:function(){return a}});var i=l(67294),o=l(74780),t=l(85893),r=function(e){var n=e.title,l=e.children,i=e.showBorder,r=void 0===i||i,a=e.paddingTop,s=void 0===a?[14,18]:a,u=e.paddingBottom,c=void 0===u?8:u,d=e.bgColor,h=void 0===d?["brand.midSand","brand.lightSand"]:d;return(0,t.jsx)(o.xu,{as:"section",pt:s,pb:c,bg:h,borderBottom:r?"1px":"none",borderColor:"brand.avocado",children:(0,t.jsxs)(o.W2,{children:[(0,t.jsx)(o.kC,{justifyContent:"space-between",children:(0,t.jsx)(o.X6,{as:"h1",size:["h3","h2"],mb:2,fontSize:["4xl","8xl"],children:n})}),l]})})},a=(0,i.memo)(r)},11495:function(e,n,l){l.d(n,{z:function(){return x}});var i=l(57345),o=l(29350),t=l(74780),r=l(83515),a=l(25686),s=l(67294),u=l(85893),c=function(e){var n=e.checked,l=e.name,o=(0,(0,r.G)().deHandleize)(l),t=(0,i.x)().handleTopFilterChange;return(0,u.jsx)(a.LW,{label:o,value:o,checked:n,handleClick:function(){return t(l)}})},d=function(e){var n=e.collection,l=(0,i.x)(),r=l.facets,a=l.selectedTopFilters,d=l.isLoading,h=(0,s.useMemo)((function(){return"named_tags."+(null==n?void 0:n.headerFilter)}),[null==n?void 0:n.headerFilter]),x=(0,s.useMemo)((function(){var e=null==r?void 0:r[h];return e&&"object"==typeof e?Object.keys(e):[]}),[r,h]);return d?(0,u.jsx)(o.Od,{height:6,width:20,borderRadius:"full"}):(0,u.jsxs)(t.Ug,{wrap:"wrap",gap:2,spacing:0,children:[(0,u.jsx)(c,{checked:0===a.length,name:"show-all"},"show-all"),x.map((function(e){return(0,u.jsx)(c,{checked:a.includes(e),name:e},e)}))]})},h=function(e){var n=e.collection;return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(d,{collection:n})})},x=(0,s.memo)(h)},25686:function(e,n,l){l.d(n,{AP:function(){return v},LW:function(){return x},f7:function(){return c}});var i=l(63366),o=l(67294),t=l(45606),r=l(74780),a=l(85893),s=["checked","handleClick","label","value","variant"],u=["tags","resetLabel","selectedTag","handleClick","showReset","upperCaseTags","variant"],c="Show All",d=function(e){var n=e.checked,l=void 0!==n&&n,r=e.handleClick,u=e.label,d=e.value,h=e.variant,x=(0,i.Z)(e,s),v=(h||"subcategory")+(l?"-active":""),p=(0,o.useCallback)((function(e){null==e||e.stopPropagation(),null==r||r(c)}),[r]);return(0,a.jsxs)(t.Vp,Object.assign({variant:v,onClick:r,cursor:"pointer",height:"auto","data-value":d||u},x,{children:[(0,a.jsx)(t.Sn,{pointerEvents:"none",lineHeight:"unset",children:u||d}),l&&(0,a.jsx)(t.SD,{onClick:p})]}))},h=function(e){var n=e.tags,l=e.resetLabel,o=void 0===l?c:l,t=e.selectedTag,s=e.handleClick,h=e.showReset,x=void 0===h||h,v=e.upperCaseTags,p=void 0!==v&&v,g=e.variant,m=(0,i.Z)(e,u);return!n||!(null!=n&&n.length)?null:(0,a.jsxs)(r.Ug,{spacing:0,columnGap:"brand"!==g?2:{base:2,lg:0},rowGap:"brand"!==g?2:{base:2,lg:0},wrap:"wrap",justifyContent:"brand"!==g?null:{lg:"space-between"},children:[x&&(0,a.jsx)(d,{label:o,value:o,checked:!t||o===t,handleClick:s,w:"unset",px:4}),null==n?void 0:n.map((function(e,n){return(0,a.jsx)(d,Object.assign({value:e,label:p?null==e?void 0:e.toUpperCase():e,checked:e===t,handleClick:s,variant:g},m),n)}))]})},x=(0,o.memo)(d),v=(0,o.memo)(h)},41238:function(e,n,l){l.d(n,{U:function(){return u}});var i=l(59792),o=l(18205),t=l(67294),r=l(97382),a=l(78538),s=l(84309),u=function(e){var n,l=e.collection,u=(0,i.L)().shop,c=(0,o.qt)().store,d=c.searchIndex,h=c.shopifyShopDomain,x=(0,r.bp)(),v=x.activeCollection,p=x.setActiveCollection,g=(0,a.j)().collectionNormaliser,m=(0,t.useMemo)((function(){var e;return null!==(e=null==u?void 0:u.myshopifyDomain)&&void 0!==e?e:h}),[null==u?void 0:u.myshopifyDomain,h]),f=(0,t.useMemo)((function(){return g(l)}),[l,g]),b=(0,s.D)(f),j=(null==f||null===(n=f.descriptionHtml)||void 0===n?void 0:n.split("*****"))||[],C=j[0],k=j[1];return(0,t.useEffect)((function(){(null==f?void 0:f.id)!==(null==v?void 0:v.id)&&p(f)}),[f,null==v?void 0:v.id,p]),{getPageCollection:(0,t.useCallback)((function(){return{shopifyPermanentDomain:m,searchIndex:d,item:null==b?void 0:b.current,headerContent:C,bottomContent:k}}),[m,d,null==b?void 0:b.current,C,k])}}},94583:function(e,n,l){l.r(n),l.d(n,{Head:function(){return H.F},default:function(){return W}});var i=l(63366),o=l(67294),t=l(74780),r=l(57660),a=l(34999),s=l(12963),u=l(49816),c=l(99028),d=l(26679),h=l(85893),x=function(e){var n,l,i,x=e.page,v=(0,c.G)().isMedium,p=(0,u.d)().getGatsbyImage,g=(0,(0,s.r0)({type:null==x?void 0:x._type}).getContent)({content:null==x?void 0:x.content}),m=(0,o.useMemo)((function(){var e,n;return p(v?null==x||null===(e=x.landingPageBanner)||void 0===e?void 0:e.desktop:null==x||null===(n=x.landingPageBanner)||void 0===n?void 0:n.mobile)}
1),[p,v,null==x||null===(n=x.landingPageBanner)||void 0===n?void 0:n.desktop,null==x||null===(l=x.landingPageBanner)||void 0===l?void 0:l.mobile]);return(0,h.jsxs)(t.xu,{as:"section",pt:[16,20],pb:[10,18],children:[(0,h.jsx)(t.kC,{flexDirection:"row",as:"header",bg:"brand.lavender",mt:"-80px",h:["704px",null,"460px"],backgroundImage:"url("+(null==m?void 0:m.src)+")",backgroundSize:"cover",backgroundPosition:["center",null,"right center"],children:(0,h.jsx)(t.W2,{children:(0,h.jsx)(t.kC,{justifyContent:"center",alignItems:["flex-end",null,"center"],w:["100%",null,"522px"],h:"100%",children:(0,h.jsx)(t.X6,{as:"h1",size:["4xl",null,"h2"],lineHeight:1.2,mb:[12,null,16],textAlign:["center",null,"left"],children:"Were all ears! Tell us what you think of your box."})})})}),(0,h.jsx)(t.xu,{mb:[10,12],lineHeight:"24px",children:g}),(0,h.jsxs)(t.W2,{variant:"example",children:[(0,h.jsx)(t.X6,{as:"h2",size:["3xl",null,"h2"],mb:[8,16],textAlign:"center",children:"Select your box to review"}),(0,h.jsx)(t.xu,{mb:[10,12],lineHeight:"24px",children:(0,h.jsx)(t.rj,{flexDirection:{base:"column",lg:"row"},gridTemplateColumns:["repeat(1, 1fr)","repeat(2, 1fr)","repeat(3, 1fr)"],gridColumnGap:4,gridRowGap:["56px",12],children:null==x||null===(i=x.reviewcollections)||void 0===i?void 0:i.map((function(e){var n;return(0,h.jsxs)(d.x,{to:"/reviews/"+(null==e||null===(n=e.shopify)||void 0===n?void 0:n.handle),styles:{maxW:"full",w:"full",display:"flex",justifyContent:"start",flexDir:"column",textAlign:"left",bg:["brand.offWhite","inherit"],borderRadius:["base","base","none"],m:{base:"0 0",lg:"0 20px"}},children:[(0,h.jsx)(t.kC,{bg:"brand.inputBg",justifyContent:"center",w:"full",borderRadius:["base","base","none"],children:(0,h.jsx)(r.Ee,{src:null==e?void 0:e.image,h:"100%"})}),(0,h.jsx)(t.X6,{as:"h4",size:["xl","h4"],textAlign:"left",my:[4,2],children:null==e?void 0:e.title}),(0,h.jsx)(t.xv,{as:"p",size:["md","p"],children:"Tell us what you think..."}),(0,h.jsx)(a.zx,{w:["100%",null,"50%"],size:"lg",mt:[4,4],children:"Review Now"})]},null==e?void 0:e.id)}))})})]})]})},v=(0,o.memo)(x),p=l(57345),g=l(51598),m=l(11495),f=l(24914),b=l(65314),j=l(67352),C=l(41238),k=l(23343),w=function(e){var n,l,i=e.page,r=e.collection,a=(0,k.l)().helpers.isBrowser,s=(0,c.G)().isMedium,d=(0,u.d)().getGatsbyImage,x=(0,(0,C.U)({collection:r}).getPageCollection)(),v=x.item,w=x.headerContent,y=x.bottomContent,z=(0,o.useMemo)((function(){var e,n;return d(s?null==i||null===(e=i.collectionPageBanner)||void 0===e?void 0:e.desktop:null==i||null===(n=i.collectionPageBanner)||void 0===n?void 0:n.mobile)}),[d,s,null==i||null===(n=i.collectionPageBanner)||void 0===n?void 0:n.desktop,null==i||null===(l=i.collectionPageBanner)||void 0===l?void 0:l.mobile]);return a?(0,h.jsxs)(p.C,{location:location,collection:r,children:[(0,h.jsxs)(g.h,{title:null==v?void 0:v.title,children:[(0,h.jsx)(t.xv,{maxW:"970px",mb:4,lineHeight:"21px",fontSize:"sm",dangerouslySetInnerHTML:{__html:w}}),(0,h.jsx)(m.z,{collection:r})]}),(0,h.jsx)(t.xu,{children:(0,h.jsx)(t.W2,{as:t.Ug,alignItems:"stretch",spacing:[0,0,4],children:(0,h.jsxs)(t.xu,{py:4,pl:[0,0,4],bg:"brand.offWhite",flex:1,maxW:"full",children:[(0,h.jsx)(t.kC,{flexDirection:"row",as:"header",h:["452px",null,"220px"],mt:10,mb:"30px",backgroundImage:"url("+(null==z?void 0:z.src)+")",backgroundSize:"cover",backgroundPosition:"center",children:(0,h.jsx)(t.W2,{children:(0,h.jsx)(t.kC,{h:"100%",pl:[0,"18px","20%"],pr:[0,"18px"],pb:"15px",alignItems:["flex-end",null,"flex-start"],children:(0,h.jsxs)(t.X6,{as:"h1",size:["xl","3xl","h3"],lineHeight:"1.3 !important",maxW:"605px",mx:["auto",null,0],mt:"27px",textAlign:["center",null,"left"],children:["How was your overall",s?(0,h.jsx)("br",{}):(0,h.jsx)(h.Fragment,{children:" "}),"GoodnessMe Box Experience?"]})})})}),(0,h.jsx)(f.G,{collection:r}),(0,h.jsx)(b.s,{isReviewsPage:!0}),(0,h.jsx)(j.T,{content:y})]})})})]},"review"):null},y=(0,o.memo)(w),z=function(e){var n,l=e.page,i=e.location,t=(null==i||null===(n=i.pathname)||void 0===n?void 0:n.split("/reviews/")[1])||null,r=(0,o.useMemo)((function(){var e;return null==l||null===(e=l.reviewcollections)||void 0===e?void 0:e.find((function(e){var n;return(null==e||null===(n=e.shopify)||void 0===n?void 0:n.handle)===t}))}),[t,null==l?void 0:l.reviewcollections]);return r?(0,h.jsx)(y,{page:l,collection:r}):(0,h.jsx)(v,{page:l})},S=(0,o.memo)(z),H=l(66027),P=["data"],W=function(e){var n=e.data,l=(0,i.Z)(e,P);return(0,h.jsx)(S,Object.assign({},l,n))}}}]);
2//# sourceMappingURL=component---src-pages-reviews-tsx-8480f08b449a8f7f8598.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.