PageSourceSearch

https://goodnessme.com.au/component---src-pages-faqs-tsx-ac6c13f4403ea39745ba.js

js goodnessme.com.au collected 2026-10-03 22:10:53 UTC 3,466 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgoodnessme_app=self.webpackChunkgoodnessme_app||[]).push([[2615],{98820:function(n,e,t){t.d(e,{G:function(){return c}});var o=t(43766),l=t(12963),i=t(12518),r=t(74780),u=t(67294),d=t(85893),s=function(n){var e=n.content,t=n.bgColor,o=n.type,r=(0,(0,l.r0)({type:o}).getContent)({content:e});return(0,d.jsx)(i.Hk,{px:6,pt:4,pb:[3,1],bgColor:t,sx:{p:{fontSize:"md",lineHeight:"21px"}},children:r})},a=function(n){var e=n.items,t=n.buttonColor,l=n.buttonColorSelected,u=void 0===l?"inherit":l,a=n.borderDisabled,c=void 0!==a&&a,p=n.panelColor,x=void 0===p?"inherit":p,f=n.type,h=n.isFaq,b=void 0!==h&&h;return null!=e&&e.length?(0,d.jsx)(i.UQ,{allowToggle:!0,defaultIndex:0,children:null==e?void 0:e.map((function(n){return(0,d.jsx)(i.Qd,{border:"unset",borderBottom:c?"none":"1px",mb:0,children:function(e){var l=e.isExpanded;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(i.KF,{py:5,px:6,bg:l?u:t,_hover:{bg:u||"none"},justifyContent:"space-between",children:[(0,d.jsx)(r.xu,{flex:"1",textAlign:"left",fontSize:"lg",maxWidth:"408px",pr:4,lineHeight:"21px",children:null==n?void 0:n.title}),l?(0,d.jsx)(o.V_,{w:3}):(0,d.jsx)(o.dt,{w:3})]}),(0,d.jsx)(s,{content:null==n?void 0:n.content,bgColor:x,type:f,isFaq:b})]})}},null==n?void 0:n._key)}))}):null},c=(0,u.memo)(a)},83040:function(n,e,t){t.r(e),t.d(e,{Head:function(){return p.F},default:function(){return f}});var o=t(63366),l=t(74780),i=t(98820),r=t(58570),u=t(94500),d=t(67294),s=t(85893),a=function(n){var e,t=n.page||{},o=t.accordionLists,a=t.title,c=(0,r.b)(r.f.FAQS),p=null==c?void 0:c.backToTopText,x=(0,d.useMemo)((function(){return null==o?void 0:o.map((function(n){var e=n.title;return{_key:n._key,title:e}}))}),[o]),f=(0,d.useState)(null==x||null===(e=x[0])||void 0===e?void 0:e._key),h=f[0],b=f[1],v=null==x?void 0:x.map((function(n){return{label:n.title,value:n._key}})),g=(0,d.useCallback)((function(n){b(null==n?void 0:n.value)}),[]),m=(0,d.useMemo)((function(){return null!=o&&o.length?null==o?void 0:o.find((function(n){return n._key===h})):[]}),[o,h]);return(0,s.jsx)(l.xu,{as:"section",pt:[16,16,20],mb:[10,24],children:(0,s.jsxs)(l.W2,{children:[(0,s.jsxs)(l.Ug,{justifyContent:"space-around",alignItems:"flex-start",wrap:"wrap",spacing:0,children:[(0,s.jsxs)(l.xu,{width:["full","20%"],children:[(0,s.jsx)(l.X6,{as:"h1",size:"h4",mb:4,children:a}),(0,s.jsx)(l.xu,{display:["block","none"],mb:6,children:(0,s.jsx)(u.A,{options:v,onChange:g,isFaqDropdown:!0,defaultValue:null==v?void 0:v[0]})}),(0,s.jsx)(l.gC,{alignItems:"flex-start",display:["none","flex"],spacing:3,children:null==x?void 0:x.map((function(n){var e=n.title,t=n._key,o=t===h;return(0,s.jsx)(l.xv,{cursor:"pointer",fontWeight:o?700:400,textDecoration:o?"underline":"unset",onClick:function(){return b(t)},children:e},t)}))})]}),(0,s.jsx)(l.xu,{width:["full","45%"],children:(0,s.jsx)(i.G,{items:null==m?void 0:m.accordionItems,type:null==m?void 0:m._type,buttonColor:"brand.lightSand",buttonColorSelected:"brand.midSand",borderDisabled:!0,paddingEnabled:!0,panelColor:"brand.lightSand",isFaq:!0},null==m?void 0:m._key)})]}),p&&(0,s.jsx)(l.rU,{href:"#",display:["block","none"],fontWeight:700,textDecoration:"underline",mt:7,_hover:{textDecoration:"unset"},fontSize:"sm",children:p})]})})},c=(0,d.memo)(a),p=t(66027),x=["data"],f=function(n){var e=n.data,t=(0,o.Z)(n,x);return(0,s.jsx)(c,Object.assign({},t,e))}}}]);
2//# sourceMappingURL=component---src-pages-faqs-tsx-ac6c13f4403ea39745ba.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.