@everlywell/consumer-ui 1.46.3 → 1.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var it;function Mt(){if(it)return Se;it=1;var r=j,a=Symbol.for("react.element"),c=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function
|
|
9
|
+
*/var it;function Mt(){if(it)return Se;it=1;var r=j,a=Symbol.for("react.element"),c=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function h(f,g,x){var p,k={},E=null,b=null;x!==void 0&&(E=""+x),g.key!==void 0&&(E=""+g.key),g.ref!==void 0&&(b=g.ref);for(p in g)l.call(g,p)&&!d.hasOwnProperty(p)&&(k[p]=g[p]);if(f&&f.defaultProps)for(p in g=f.defaultProps,g)k[p]===void 0&&(k[p]=g[p]);return{$$typeof:a,type:f,key:E,ref:b,props:k,_owner:u.current}}return Se.Fragment=c,Se.jsx=h,Se.jsxs=h,Se}var ke={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var lt;function At(){return lt||(lt=1,process.env.NODE_ENV!=="production"&&function(){var r=j,a=Symbol.for("react.element"),c=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),
|
|
17
|
+
*/var lt;function At(){return lt||(lt=1,process.env.NODE_ENV!=="production"&&function(){var r=j,a=Symbol.for("react.element"),c=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),f=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),y=Symbol.iterator,L="@@iterator";function m(e){if(e===null||typeof e!="object")return null;var o=y&&e[y]||e[L];return typeof o=="function"?o:null}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var o=arguments.length,s=new Array(o>1?o-1:0),v=1;v<o;v++)s[v-1]=arguments[v];C("error",e,s)}}function C(e,o,s){{var v=A.ReactDebugCurrentFrame,_=v.getStackAddendum();_!==""&&(o+="%s",s=s.concat([_]));var D=s.map(function(S){return String(S)});D.unshift("Warning: "+o),Function.prototype.apply.call(console[e],console,D)}}var F=!1,H=!1,G=!1,q=!1,ue=!1,ee;ee=Symbol.for("react.module.reference");function de(e){return!!(typeof e=="string"||typeof e=="function"||e===l||e===d||ue||e===u||e===x||e===p||q||e===b||F||H||G||typeof e=="object"&&e!==null&&(e.$$typeof===E||e.$$typeof===k||e.$$typeof===h||e.$$typeof===f||e.$$typeof===g||e.$$typeof===ee||e.getModuleId!==void 0))}function fe(e,o,s){var v=e.displayName;if(v)return v;var _=o.displayName||o.name||"";return _!==""?s+"("+_+")":s}function ne(e){return e.displayName||"Context"}function $(e){if(e==null)return null;if(typeof e.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case l:return"Fragment";case c:return"Portal";case d:return"Profiler";case u:return"StrictMode";case x:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case f:var o=e;return ne(o)+".Consumer";case h:var s=e;return ne(s._context)+".Provider";case g:return fe(e,e.render,"ForwardRef");case k:var v=e.displayName||null;return v!==null?v:$(e.type)||"Memo";case E:{var _=e,D=_._payload,S=_._init;try{return $(S(D))}catch{return null}}}return null}var I=Object.assign,X=0,re,oe,Re,_e,Te,he,De;function me(){}me.__reactDisabledLog=!0;function we(){{if(X===0){re=console.log,oe=console.info,Re=console.warn,_e=console.error,Te=console.group,he=console.groupCollapsed,De=console.groupEnd;var e={configurable:!0,enumerable:!0,value:me,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}X++}}function Pe(){{if(X--,X===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:re}),info:I({},e,{value:oe}),warn:I({},e,{value:Re}),error:I({},e,{value:_e}),group:I({},e,{value:Te}),groupCollapsed:I({},e,{value:he}),groupEnd:I({},e,{value:De})})}X<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ye=A.ReactCurrentDispatcher,U;function pe(e,o,s){{if(U===void 0)try{throw Error()}catch(_){var v=_.stack.trim().match(/\n( *(at )?)/);U=v&&v[1]||""}return`
|
|
18
18
|
`+U+e}}var ae=!1,xe;{var je=typeof WeakMap=="function"?WeakMap:Map;xe=new je}function Ie(e,o){if(!e||ae)return"";{var s=xe.get(e);if(s!==void 0)return s}var v;ae=!0;var _=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var D;D=ye.current,ye.current=null,we();try{if(o){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(W){v=W}Reflect.construct(e,[],S)}else{try{S.call()}catch(W){v=W}e.call(S.prototype)}}else{try{throw Error()}catch(W){v=W}e()}}catch(W){if(W&&v&&typeof W.stack=="string"){for(var w=W.stack.split(`
|
|
19
19
|
`),z=v.stack.split(`
|
|
20
20
|
`),O=w.length-1,M=z.length-1;O>=1&&M>=0&&w[O]!==z[M];)M--;for(;O>=1&&M>=0;O--,M--)if(w[O]!==z[M]){if(O!==1||M!==1)do if(O--,M--,M<0||w[O]!==z[M]){var K=`
|
|
21
|
-
`+w[O].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),typeof e=="function"&&xe.set(e,K),K}while(O>=1&&M>=0);break}}}finally{ae=!1,ye.current=D,Pe(),Error.prepareStackTrace=_}var ve=e?e.displayName||e.name:"",ce=ve?
|
|
21
|
+
`+w[O].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),typeof e=="function"&&xe.set(e,K),K}while(O>=1&&M>=0);break}}}finally{ae=!1,ye.current=D,Pe(),Error.prepareStackTrace=_}var ve=e?e.displayName||e.name:"",ce=ve?pe(ve):"";return typeof e=="function"&&xe.set(e,ce),ce}function He(e,o,s){return Ie(e,!1)}function $e(e){var o=e.prototype;return!!(o&&o.isReactComponent)}function Y(e,o,s){if(e==null)return"";if(typeof e=="function")return Ie(e,$e(e));if(typeof e=="string")return pe(e);switch(e){case x:return pe("Suspense");case p:return pe("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return He(e.render);case k:return Y(e.type,o,s);case E:{var v=e,_=v._payload,D=v._init;try{return Y(D(_),o,s)}catch{}}}return""}var ie=Object.prototype.hasOwnProperty,Be={},Ce=A.ReactDebugCurrentFrame;function le(e){if(e){var o=e._owner,s=Y(e.type,e._source,o?o.type:null);Ce.setExtraStackFrame(s)}else Ce.setExtraStackFrame(null)}function Le(e,o,s,v,_){{var D=Function.call.bind(ie);for(var S in e)if(D(e,S)){var w=void 0;try{if(typeof e[S]!="function"){var z=Error((v||"React class")+": "+s+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}w=e[S](o,S,v,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(O){w=O}w&&!(w instanceof Error)&&(le(_),R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",v||"React class",s,S,typeof w),le(null)),w instanceof Error&&!(w.message in Be)&&(Be[w.message]=!0,le(_),R("Failed %s type: %s",s,w.message),le(null))}}}var i=Array.isArray;function T(e){return i(e)}function B(e){{var o=typeof Symbol=="function"&&Symbol.toStringTag,s=o&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function P(e){try{return se(e),!1}catch{return!0}}function se(e){return""+e}function J(e){if(P(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",B(e)),se(e)}var Q=A.ReactCurrentOwner,te={key:!0,ref:!0,__self:!0,__source:!0},N,Qe,ze;ze={};function mt(e){if(ie.call(e,"ref")){var o=Object.getOwnPropertyDescriptor(e,"ref").get;if(o&&o.isReactWarning)return!1}return e.ref!==void 0}function wt(e){if(ie.call(e,"key")){var o=Object.getOwnPropertyDescriptor(e,"key").get;if(o&&o.isReactWarning)return!1}return e.key!==void 0}function yt(e,o){if(typeof e.ref=="string"&&Q.current&&o&&Q.current.stateNode!==o){var s=$(Q.current.type);ze[s]||(R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',$(Q.current.type),e.ref),ze[s]=!0)}}function jt(e,o){{var s=function(){N||(N=!0,R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",o))};s.isReactWarning=!0,Object.defineProperty(e,"key",{get:s,configurable:!0})}}function Ct(e,o){{var s=function(){Qe||(Qe=!0,R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",o))};s.isReactWarning=!0,Object.defineProperty(e,"ref",{get:s,configurable:!0})}}var St=function(e,o,s,v,_,D,S){var w={$$typeof:a,type:e,key:o,ref:s,props:S,_owner:D};return w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(w,"_self",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.defineProperty(w,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w};function kt(e,o,s,v,_){{var D,S={},w=null,z=null;s!==void 0&&(J(s),w=""+s),wt(o)&&(J(o.key),w=""+o.key),mt(o)&&(z=o.ref,yt(o,_));for(D in o)ie.call(o,D)&&!te.hasOwnProperty(D)&&(S[D]=o[D]);if(e&&e.defaultProps){var O=e.defaultProps;for(D in O)S[D]===void 0&&(S[D]=O[D])}if(w||z){var M=typeof e=="function"?e.displayName||e.name||"Unknown":e;w&&jt(S,M),z&&Ct(S,M)}return St(e,w,z,_,v,Q.current,S)}}var Ne=A.ReactCurrentOwner,qe=A.ReactDebugCurrentFrame;function ge(e){if(e){var o=e._owner,s=Y(e.type,e._source,o?o.type:null);qe.setExtraStackFrame(s)}else qe.setExtraStackFrame(null)}var We;We=!1;function Ve(e){return typeof e=="object"&&e!==null&&e.$$typeof===a}function et(){{if(Ne.current){var e=$(Ne.current.type);if(e)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+e+"`."}return""}}function Et(e){return""}var tt={};function Rt(e){{var o=et();if(!o){var s=typeof e=="string"?e:e.displayName||e.name;s&&(o=`
|
|
24
24
|
|
|
@@ -27,4 +27,4 @@ Check the top-level render call using <`+s+">.")}return o}}function nt(e,o){{if(
|
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Ye,ce,Ft,ce),ot[ce+Ye]=!0}}return e===l?Tt(M):_t(M),M}}function Dt(e,o,s){return at(e,o,s,!0)}function It(e,o,s){return at(e,o,s,!1)}var Bt=It,Lt=Dt;ke.Fragment=l,ke.jsx=Bt,ke.jsxs=Lt}()),ke}process.env.NODE_ENV==="production"?Ke.exports=Mt():Ke.exports=At();var t=Ke.exports;const Ge=60,st=6,Pt=r=>{const{activeStepIndex:a,hideIndicators:c=!1,steps:l,stepperTheme:u={light:"eggplant.light",base:"eggplant.base"}}=r,{activeStep:d,setActiveStep:p}=n.useSteps({index:a,count:l.length});return j.useEffect(()=>{p(a)},[a,p]),t.jsx(n.Box,{position:"relative",width:"100%","data-testid":"stepper",children:t.jsx(n.Stepper,{role:"progressbar",index:d,width:"100%",display:"flex",flexWrap:"nowrap",children:l.map((f,g)=>{const x=d===g,h=g===0,k=g===l.length-1,E=d>g;let b=`${Ge}px`;const y=`calc(100% - ((${Ge*(l.length-1)}px) - (${l.length-1} * ${st*2}px)))`;return x?b=y:(h||k)&&(b=`${Ge-st}px`),t.jsx(n.Box,{width:b,opacity:E||x?1:.2,paddingRight:k?"0":"6px",paddingLeft:h?"0":"6px",transition:"width 0.4s ease-in-out, opacity 0.4s ease-in-out",children:t.jsx(n.Box,{paddingTop:c?2:5,position:"relative",width:"100%",children:t.jsx(n.Box,{width:"100%",position:"absolute",top:"0",backgroundColor:E?u.light:u.base,height:c?"4px":"8px",borderRadius:"4",left:"0"})})},`step-${g}`)})})})},Ht=j.memo(Pt),$t=({children:r,...a})=>t.jsx(Z.Text,{color:"tints.uiGrey",fontSize:["md",null,null,"lg"],...a,children:r}),be=(r,a)=>{const c=(r==null?void 0:r.startsWith("http"))||(r==null?void 0:r.startsWith("mailto"));return a&&!c?{to:r}:{href:r}},Ee=j.forwardRef((r,a)=>{const{label:c,additionalContent:l,mainTextFontSize:u,linkComponent:d,href:p,forceMobileStyle:f=!1,...g}=r,x=d||n.Link,h=be(p,!!d),k=f?u||"xl":[u||"xl",null,null,"lg"],E=f?"xl":["xl",null,null,"lg"],b=f?void 0:[null,null,null,1],y=f?void 0:[null,null,null,"space-between"],L=f?"3":[3,null,null,0],m=f?"1px":["1px",null,null,"unset"],A=f?"tints.cream":["tints.cream",null,null,"unset"],R=f?"100%":["100%",null,null,"fit-content"],C=f?"none":["none",null,null,"block"],F=f?"100%":["100%",null,null,"auto"],H=f?"block":["block",null,null,"none"];return t.jsxs(n.Box,{ref:a,as:x,display:"flex",alignItems:"center",gap:b,justifyContent:y,paddingY:L,color:"tints.black",_hover:{color:"viridian.base",textDecoration:"none"},borderBottom:m,borderColor:A,width:R,cursor:"pointer",...h,...g,children:[t.jsx(n.Icon,{display:C,as:V.CaretRight,fontSize:"lg",color:"viridian.light",role:"img","aria-label":"Caret right icon",weight:"bold"}),t.jsxs(n.Flex,{alignItems:"center",gap:"1",width:F,children:[t.jsx(n.Text,{fontSize:k,fontWeight:"medium",children:c}),l&&(typeof l=="string"?t.jsx(n.Text,{fontSize:E,fontWeight:"medium",color:"tints.uiGrey",sx:{"a:hover &":{color:"viridian.base"}},children:l}):l),t.jsx(n.Icon,{display:H,as:V.CaretRight,fontSize:"2xl",color:"tints.uiGrey",role:"img","aria-label":"Caret right icon",marginLeft:"auto"})]})]})}),ht=j.forwardRef((r,a)=>{const{children:c,isSelected:l,...u}=r,d=r.backgroundColor||(l?"tints.lightCream":"transparent");return t.jsx(n.Button,{ref:a,borderRadius:"full",backgroundColor:d,fontSize:"lg !important",fontWeight:"normal",color:"tints.black",sx:{"&[href]":{textDecoration:"none"}},_before:{content:'""',position:"absolute",top:[null,null,null,-6],right:[null,null,null,-2],bottom:[null,null,null,-6],left:[null,null,null,-2]},_hover:{backgroundColor:d,textDecoration:"none",filter:"brightness(0.95)"},_focusVisible:{outline:"3px solid",outlineColor:"viridian.base",outlineOffset:"2px",boxShadow:"0 0 0 5px rgba(255, 255, 255, 0.9)",zIndex:1},...u,children:c})}),xt=({title:r,description:a,imageSrc:c,imageElement:l,button:u,backgroundColor:d="viridian.wash",onClick:p,href:f,linkComponent:g,forceMobileStyle:x=!1})=>{const b=g||n.Link,y=be(f,!!g),L=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,desktop:!0});return t.jsxs(n.Flex,{direction:x?"row":["row",null,null,"column"],alignItems:"center",borderRadius:"xl",overflow:"hidden",height:x?"80px":["80px",null,null,"272px"],backgroundColor:d,onClick:p,"data-testid":"spotlight-card",position:"relative",transition:"box-shadow 0.2s ease-in-out",border:"1px solid",borderColor:"transparent",minWidth:x?"100%":["100%",null,null,"320px"],maxWidth:x?"100%":["100%",null,null,"380px"],_hover:{boxShadow:"lg",textDecoration:"none",border:"1px solid",borderColor:"tints.white"},as:x?b:L?n.Flex:b,...x?y:L?{}:y,children:[t.jsx(n.Box,{width:x?"72px":["72px",null,null,"100%"],height:x?"100%":["100%",null,null,"188px"],sx:{img:{height:x?"100%":L?"188px":"100%",objectFit:x?"cover":"contain"}},children:c?t.jsx(n.Image,{src:c,objectFit:"cover",width:"100%",alt:"","data-testid":"spotlight-card-image"}):t.jsx(n.Box,{height:x?80:[80,null,null,188],overflow:"hidden",...x?{sx:{div:{height:"100%"}}}:{},children:l})}),t.jsxs(n.Flex,{direction:x?"column":["column",null,null,"row"],justifyContent:x?void 0:[null,null,null,"space-between"],alignItems:x?"left":["left",null,null,"center"],padding:"4",height:x?"80px":["80px",null,null,"84px"],width:"100%",bottom:x?void 0:[null,null,null,"0"],backgroundColor:x?void 0:[null,null,null,`${d}CC`],backdropFilter:x?void 0:[null,null,null,"blur(8px)"],flex:"1",gap:x?void 0:[null,null,null,3],children:[t.jsxs(n.Flex,{direction:"column",justifyContent:"center",height:"100%",children:[t.jsx(n.Text,{fontSize:"lg",fontWeight:"medium",color:"tints.black",children:r}),t.jsx(n.Text,{fontSize:"sm",color:"tints.darkGrey",children:a})]}),x?null:L?t.jsx(n.Box,{children:u}):null]})]})},Me=r=>t.jsx(n.IconButton,{size:"sm",width:["40px",null,null,"46px"],height:["40px",null,null,"46px"],padding:["2 !important",null,null,"3 !important"],colorScheme:"whiteCS",backgroundColor:"tints.cream",sx:{svg:{width:"24px",height:"24px"}},_hover:{backgroundColor:"tints.cream",filter:"brightness(0.95)"},...r}),gt=({color:r=n.theme.colors.viridian.base,width:a})=>t.jsx(Z.Box,{as:"svg",width:a,height:"auto",viewBox:"0 0 116 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Everlywell Logo",children:t.jsx("g",{id:"Everlywell Logo",children:t.jsx("path",{fill:r,id:"Everlywell Logo_2",fillRule:"evenodd",clipRule:"evenodd",d:"M54.8224 1V17.8352H52.4272V1H54.8224ZM5.65731 14.992C4.9835 14.4474 4.59261 13.726 4.48231 12.8278H13.7822C13.9984 10.4829 13.5723 8.70006 12.5039 7.47915C11.4322 6.25824 9.93769 5.64945 8.01698 5.64945C6.23518 5.64945 4.78896 6.22479 3.67214 7.38216C2.55841 8.5395 2 9.92767 2 11.8377C2 13.7476 2.56171 15.273 3.68501 16.4136C4.80831 17.5542 6.30612 18.1229 8.18163 18.1229C9.11125 18.1229 10.0216 17.9489 10.9125 17.5944C11.8034 17.2431 12.533 16.7447 13.1075 16.1025L11.5517 14.5371C11.2095 14.9217 10.7253 15.2294 10.099 15.4636C9.46959 15.6944 8.84662 15.8115 8.22684 15.8115C7.18735 15.8115 6.33197 15.5372 5.65731 14.992ZM10.4671 8.60977C11.0772 9.10817 11.416 9.81395 11.4774 10.7305H4.52751C4.71152 9.81395 5.12475 9.10817 5.77027 8.60977C6.41589 8.11136 7.18735 7.86384 8.08473 7.86384C9.05966 7.86384 9.85696 8.11136 10.4671 8.60977ZM22.1465 17.8819L27.0047 5.93699H24.3771L22.6565 10.2486L20.8424 15.2828L18.8217 9.76697L17.2884 5.93699H14.6382L19.5189 17.8819H22.1465ZM30.3737 12.8244C30.4835 13.7242 30.8741 14.4467 31.5487 14.992C32.2234 15.5372 33.0788 15.8115 34.1181 15.8115C34.7379 15.8115 35.361 15.6944 35.9905 15.4636C36.6166 15.2294 37.1009 14.9217 37.4431 14.5371L38.999 16.1025C38.4244 16.7447 37.6948 17.2431 36.8039 17.5944C35.9129 17.9489 35.0027 18.1229 34.0729 18.1229C32.1975 18.1229 30.6997 17.5542 29.5764 16.4136C28.453 15.273 27.8914 13.7476 27.8914 11.8377C27.8914 9.92767 28.4498 8.5395 29.5635 7.38216C30.6804 6.22479 32.1265 5.64945 33.9084 5.64945C35.829 5.64945 37.3236 6.25824 38.3952 7.47915C39.4638 8.70006 39.8899 10.4829 39.6736 12.8278H30.3769L30.3737 12.8244ZM37.3688 10.7305C37.3075 9.81395 36.9685 9.10817 36.3584 8.60977C35.7483 8.11136 34.951 7.86384 33.9762 7.86384C33.0788 7.86384 32.3073 8.11136 31.6617 8.60977C31.0161 9.10817 30.6029 9.81395 30.4189 10.7305H37.3688ZM44.5032 7.5263L44.3418 5.96085H44.3385H42.108V17.8355H44.5032V11.4031C44.5032 10.3595 44.8001 9.5567 45.3877 8.99473C45.9751 8.43278 46.7112 8.15181 47.5956 8.15181C48.3703 8.15181 49.0417 8.39264 49.6163 8.87432L50.7073 6.70677C49.9811 6.03445 49.0353 5.6966 47.8732 5.6966C46.2914 5.6966 45.1681 6.30539 44.5032 7.5263ZM60.3782 12.3193V5.96054H57.983V12.3428C57.983 14.1089 58.4286 15.5004 59.3195 16.5106C60.2104 17.5241 61.3789 18.0292 62.8186 18.0292C64.552 18.0292 65.8787 17.387 66.7923 16.1025V18.1262C66.7923 19.2669 66.4824 20.1499 65.8626 20.7754C65.2429 21.401 64.494 21.7154 63.6094 21.7154C61.8889 21.7154 60.8754 20.9661 60.5654 19.4742H58.2187C58.3252 20.9326 58.8644 22.0532 59.8327 22.8326C60.8011 23.612 62.1214 24 63.6546 24C65.188 24 66.4727 23.5049 67.5121 22.5081C68.5515 21.5147 69.0712 20.0697 69.0712 18.1731V5.96054H66.6761V12.1521C66.6761 13.1623 66.3791 14.0153 65.7819 14.7043C65.188 15.3967 64.4681 15.7412 63.4933 15.7412C62.5184 15.7412 61.7566 15.4268 61.2047 14.8013C60.6526 14.1725 60.3782 13.3463 60.3782 12.3193ZM81.5989 5.93699L84.3427 15.2828L87.1768 5.93699H89.8496L85.8275 17.8819H83.0385L81.6892 13.9315L80.5724 9.79039L79.4328 13.9315L78.0836 17.8819H75.2945L71.2498 5.93699H73.9453L76.7795 15.2828L79.5232 5.93699H81.5924H81.5989ZM94.65 14.992C93.9754 14.4467 93.5848 13.7242 93.475 12.8244L93.4847 12.8278H102.781C102.998 10.4829 102.572 8.70006 101.503 7.47915C100.431 6.25824 98.9368 5.64945 97.0162 5.64945C95.2343 5.64945 93.785 6.22479 92.668 7.38216C91.5544 8.5395 90.9959 9.92767 90.9959 11.8377C90.9959 13.7476 91.5576 15.273 92.6809 16.4136C93.8043 17.5542 95.3021 18.1229 97.1775 18.1229C98.1073 18.1229 99.0175 17.9489 99.9084 17.5944C100.799 17.2431 101.529 16.7447 102.103 16.1025L100.544 14.5371C100.202 14.9217 99.7212 15.2328 99.0918 15.4636C98.4623 15.6944 97.8393 15.8115 97.2196 15.8115C96.1802 15.8115 95.3247 15.5372 94.65 14.992ZM99.4598 8.60977C100.07 9.10817 100.409 9.81395 100.47 10.7305H93.5202C93.7042 9.81395 94.1175 9.10817 94.763 8.60977C95.4086 8.11136 96.1802 7.86384 97.0774 7.86384C98.0524 7.86384 98.8465 8.11136 99.4598 8.60977ZM107.698 1V17.8352H105.303V1H107.698ZM113.53 17.8352V1H111.135V17.8352H113.53Z"})})}),vt=({desktopTopButtons:r,logoLink:a="https://www.everlywell.com",setTopOffset:c,linkComponent:l,onLogoClick:u,rightSideButtons:d})=>{const p=j.useRef(null),[f]=n.useMediaQuery(`(max-width: ${n.theme.breakpoints.mediumTablet})`),[g]=n.useMediaQuery(`(max-width: ${n.theme.breakpoints.mediumDesktop})`),x=j.useCallback(()=>{if(p.current){const h=p.current.getBoundingClientRect();c(h.bottom)}},[]);return j.useEffect(()=>{x()},[x]),t.jsx(n.Box,{ref:p,paddingY:"4",paddingX:f?4:g?6:8,borderBottom:"1px solid",borderColor:"tints.lightCream",backgroundColor:"tints.white",width:"100%",onMouseEnter:x,children:t.jsxs(n.Flex,{justifyContent:"space-between",alignItems:"center",children:[t.jsxs(n.Flex,{alignItems:"center",gap:"5",children:[t.jsx(n.Box,{"aria-label":"Go to homepage",onClick:u,as:l||n.Link,...be(a,!!l),children:t.jsx(gt,{width:"116px"})}),t.jsx(n.Flex,{display:["none",null,"none","none","flex","flex"],children:r})]}),t.jsx(n.Flex,{alignItems:"center",gap:"2",children:d})]})})},zt=({count:r=0,...a})=>t.jsxs(n.Box,{position:"relative",display:"inline-block",children:[t.jsx(Me,{icon:t.jsx(V.Basket,{}),...a}),r>0&&t.jsx(n.Box,{display:"flex",minWidth:"20px",height:"20px",py:"4px",px:"6px",justifyContent:"center",alignItems:"center",position:"absolute",right:"-4px",top:"-4px",borderRadius:"32px",background:"viridian.base",color:"white",fontSize:"xs",fontWeight:"normal",children:r})]}),Nt=({numDesktopLinks:r=5,showPromoButton:a=!1})=>t.jsx(n.VStack,{spacing:0,align:"stretch",children:t.jsx(n.Box,{paddingY:4,paddingX:6,borderBottomWidth:"1px",borderColor:"tints.lightCream",children:t.jsxs(n.Flex,{justify:"space-between",align:"center",children:[t.jsx(n.Skeleton,{w:"120px",h:"48px"}),t.jsxs(n.HStack,{spacing:8,marginLeft:12,display:["none",null,null,"flex"],"data-testid":"desktop-nav",children:[Array.from({length:r}).map((c,l)=>t.jsx(n.Skeleton,{width:"90px",height:"48px"},l)),a&&t.jsx(n.Skeleton,{width:"110px",height:"48px",borderRadius:"full"})]}),t.jsxs(n.HStack,{spacing:4,ml:"auto",children:[t.jsx(n.SkeletonCircle,{width:"120px",height:"48px",display:["none",null,null,"block"],"data-testid":"register-kit"})," ",t.jsx(n.SkeletonCircle,{width:"48px",height:"48px"})," ",t.jsx(n.SkeletonCircle,{width:"48px",height:"48px"})," ",t.jsx(n.SkeletonCircle,{width:"48px",height:"48px"})," "]})]})})}),Wt=(r,a)=>{let c;return(...l)=>{c&&clearTimeout(c),c=setTimeout(()=>{r(...l)},a)}},Ue=r=>r.toLowerCase().replace(/['']/g,"").replace(/[^a-z0-9]/g,""),Vt=(r,a)=>{r.length<a.length&&([r,a]=[a,r]);let c=Array(a.length+1).fill(0),l=Array(a.length+1).fill(0);for(let u=0;u<=a.length;u++)c[u]=u;for(let u=1;u<=r.length;u++){l[0]=u;for(let d=1;d<=a.length;d++){const p=r[u-1]===a[d-1]?0:1;l[d]=Math.min(l[d-1]+1,c[d]+1,c[d-1]+p)}[c,l]=[l,c]}return c[a.length]},Ae=(r,a,c=.6)=>{if(r.length<=3||a.length<=3)return r.includes(a)||a.includes(r);const l=Vt(r,a),u=Math.max(r.length,a.length);return 1-l/u>=c},ct=(r,a)=>{const c=r.split(/\s+/);return a.length<=4?c.some(l=>l.includes(a)):c.some(l=>{if(Ae(l,a))return!0;if(l.length>=a.length)for(let u=0;u<=l.length-a.length;u++){const d=l.slice(u,u+a.length+1);if(Ae(a,d))return!0}return!1})},Ze="nav-drawer-hover",Xe="nav-drawer-animation-start",Je="nav-drawer-animation-end",ut=r=>{window.dispatchEvent(new CustomEvent(Ze,{detail:{isHovering:r},bubbles:!0,cancelable:!0}))},dt=r=>{window.dispatchEvent(new CustomEvent(r,{bubbles:!0,cancelable:!0}))},Yt=(r=!1,a=!1,c=!1)=>r||!a?"column":c?"row":"row-reverse",Gt=Oe.motion(n.DrawerContent),Ut=Oe.motion(n.DrawerOverlay),Fe=({isOpen:r=!1,onClose:a,title:c,navDrawerLinks:l,bottomNavButtons:u,spotlightCards:d,bottomButton:p,hasBackButton:f=!0,onBackClick:g,hasOnlySpotlightCards:x=!1,hasSearch:h=!1,onSearch:k=()=>({}),topOffset:E,forceMobilePlacement:b=!1})=>{var ue,ee,de,fe,ne,$;const y=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,mediumDesktop:!0,desktop:!0,fullDesktop:!0})??!1,L=b?"right":y?"top":"right",m=L==="right",[A,R]=j.useState(0),[C,F]=j.useState(!1),H=()=>{R(I=>I+1)},G=j.useCallback(Wt(I=>{k(I),H()},100),[]);j.useEffect(()=>{r&&(F(!0),dt(Xe))},[r]);const q=()=>{r||(F(!1),a()),dt(Je)};return t.jsx(n.Drawer,{isOpen:C||r,closeOnOverlayClick:!0,onClose:()=>{C&&!m||a()},placement:L,blockScrollOnMount:!1,autoFocus:!1,...m?{styleConfig:{baseStyle:{...n.theme.components.Drawer.baseStyle,dialogContainer:{...(ee=(ue=n.theme.components.Drawer)==null?void 0:ue.baseStyle)==null?void 0:ee.dialogContainer,zIndex:"popover"},dialog:{...(fe=(de=n.theme.components.Drawer)==null?void 0:de.baseStyle)==null?void 0:fe.dialog,maxW:"560px",width:"auto"}}}}:{styleConfig:{baseStyle:{...n.theme.components.Drawer.baseStyle,dialogContainer:{...($=(ne=n.theme.components.Drawer)==null?void 0:ne.baseStyle)==null?void 0:$.dialogContainer,top:`${E}px`,zIndex:"overlay"}}}},children:t.jsx(Oe.AnimatePresence,{children:r?t.jsxs(t.Fragment,{children:[t.jsx(Ut,{backgroundColor:"tints.black",top:m?"0":`${E}px`,opacity:m?"0.4 !important":void 0,zIndex:m?"modal":"overlay",...m?{}:{initial:{opacity:0},animate:{opacity:.4},exit:{opacity:0},transition:{duration:.2,delay:.15,ease:"easeOut"}}}),t.jsxs(Gt,{onClick:I=>{const re=I.target.closest("a");re&&re.href===window.location.href&&a()},onMouseEnter:()=>{m||ut(!0)},onMouseLeave:I=>{m||(!h||h&&(I.target===I.currentTarget||!I.currentTarget.contains(I.target)&&!C))&&ut(!1)},paddingTop:"4",paddingX:m?"4":"12",paddingBottom:"24",overflow:m?"auto":"hidden",maxHeight:"100vh",position:"relative",top:m?void 0:`${E}px !important`,onAnimationComplete:q,boxShadow:"none",...m?{initial:!1,animate:!1,exit:!1}:{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3}},children:[!h&&!m?null:t.jsxs(n.DrawerHeader,{padding:"0",flexDirection:h?"column":"row",gap:h?"4":"0",children:[m?t.jsxs(n.Flex,{width:"100%",justifyContent:"space-between",alignItems:"center",children:[f?t.jsx(Me,{icon:t.jsx(V.CaretLeft,{}),onClick:()=>{g&&g()},"aria-label":"Back"}):null,t.jsx(n.Text,{color:"tints.uiGrey",fontSize:"xl",children:c}),t.jsx(Me,{icon:t.jsx(V.X,{}),onClick:a,"aria-label":"Close"})]}):null,h&&t.jsxs(Z.InputGroup,{width:"100%",children:[t.jsx(Z.Input,{onChange:I=>{G(I.target.value)},placeholder:"Search",autoFocus:!0,width:"full",type:"search"}),t.jsx(Z.InputRightElement,{pointerEvents:"none",children:t.jsx(Z.Icon,{as:V.MagnifyingGlass,color:"gray.500"})})]})]}),t.jsx(n.DrawerBody,{paddingX:"0",paddingBottom:m?"6":"4","data-testid":`navbar-drawer-body-${c.toLowerCase()}`,children:t.jsxs(Oe.motion.div,{...m?{}:{initial:{opacity:0,y:-5},animate:{opacity:1,y:0},exit:{opacity:0,y:-5},transition:{duration:.5,delay:.2,ease:[.4,0,.2,1],exit:{duration:.5,delay:.2,ease:[.4,0,.2,1]}}},style:{display:"flex",flexDirection:Yt(x,!m,h),gap:"24px",justifyContent:"space-between"},children:[d?t.jsx(n.Box,{gap:m?"3":"6",display:"flex",justifyContent:m?void 0:"center",sx:{flexWrap:"wrap",flexDirection:m?"column":"row"},children:d}):null,t.jsxs(n.Flex,{position:m?void 0:"relative",flexDirection:"column",gap:"6",width:m?"100%":h?void 0:"auto",children:[l?t.jsx(n.Box,{children:l}):null,u&&m?t.jsx(n.Box,{children:u}):null,p?t.jsx(n.Box,{width:"100%",position:m?void 0:"absolute",bottom:m?void 0:0,...m?{sx:{a:{width:"100%"}}}:{},children:p}):null]})]},A)})]})]}):null})})},Kt=({source:r,onSearchCallback:a,isActive:c})=>{const[l,u]=j.useState(""),[d,p]=j.useState([]),f=(h,k)=>{if(!h)return[];const b=Ue(h).split(/\s+/);return k.filter(y=>{const L=Ue(y.label);if(b.some(F=>ct(L,F)))return!0;const A=L.split(/\s+/),R=b.some(F=>A.some(H=>H.includes(F)||Ae(F,H))),C=typeof y.additionalContent=="string"&&b.some(F=>{const H=Ue(y.additionalContent);return ct(H,F)||H.split(/\s+/).some(G=>G.includes(F)||Ae(F,G))});return R||C}).sort((y,L)=>y.label.localeCompare(L.label))},g=h=>{if(u(h),!h){p([]);return}const k=f(h,r);p(k),a&&a(h,k)},x=()=>{u(""),p([])};return j.useEffect(()=>{c||(u(""),p([]))},[c]),{query:l,results:d,handleClose:x,handleSearch:g}},Zt=r=>{const a=new Set;return r.reduce((c,l)=>{var d;const u=((d=l.sections)==null?void 0:d.reduce((p,f)=>{const g=f.links.filter(x=>a.has(x.label)||x.isSearchable!==!0?!1:(a.add(x.label),!0));return[...p,...g]},[]))??[];return[...c,...u]},[])},bt=()=>{const[r,a]=j.useState(!1),[c,l]=j.useState(!1),[u,d]=j.useState(null);return{isMainMenuOpen:r,isSearchOpen:c,selectedCategory:u,clearSelectedCategory:()=>d(null),handleSelectCategory:b=>d(b),closeMainMenu:()=>{a(!1),d(null)},closeSearch:()=>l(!1),toggleSearch:()=>l(b=>!b),openMainMenu:()=>a(!0),openSearch:()=>l(!0)}},Xt="#28724F",Jt=({categories:r=[],mainCategoryLabel:a="Menu",logoLink:c="https://www.everlywell.com",mobileBottomButtons:l=[],linkComponent:u,onSearchCallback:d,onLinkClick:p,onCategoryOpen:f,onLogoClick:g,shopAllProductsUrl:x,onShopAllProductsClick:h,hideableButtons:k,children:E})=>{var Ce,le,Le;const b=bt(),{isMainMenuOpen:y,isSearchOpen:L,closeMainMenu:m,closeSearch:A,clearSelectedCategory:R,selectedCategory:C,handleSelectCategory:F}=b,[H,G]=j.useState(!1),[q,ue]=j.useState(!1),[ee,de]=j.useState(0),[fe,ne]=j.useState(!1),[$,I]=j.useState(!1),X=j.useRef(!1);j.useEffect(()=>{const i=()=>{X.current=!0},T=()=>{X.current=!1};return document.addEventListener("keydown",i,!0),document.addEventListener("mousedown",T,!0),()=>{document.removeEventListener("keydown",i,!0),document.removeEventListener("mousedown",T,!0)}},[]),j.useEffect(()=>{const i=()=>ne(!0),T=()=>ne(!1);return window.addEventListener(Xe,i),window.addEventListener(Je,T),()=>{window.removeEventListener(Xe,i),window.removeEventListener(Je,T)}},[]);const re=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,mediumDesktop:!0,desktop:!0,fullDesktop:!0})??!1,oe=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,mediumDesktop:!1,desktop:!1,fullDesktop:!0})??!1,Re=!oe,_e=Z.useBreakpointValue({base:!0,tablet:!0,largeTablet:!0,mediumDesktop:!1,desktop:!1,fullDesktop:!1})??!0;j.useEffect(()=>{m(),R()},[re]);const{query:Te,results:pe,handleSearch:De}=Kt({source:Zt(r),onSearchCallback:d,isActive:L}),me=pe.length>0,we=u||n.Link,Pe=be(x,!!u),ye=Te&&t.jsxs(n.Flex,{gap:me?"6":0,direction:"column",children:[me?t.jsx(n.Text,{color:"tints.uiGrey",children:`${pe.length} Results`}):t.jsxs(n.Flex,{direction:"column",gap:"6",alignItems:"flex-start",children:[t.jsx(n.Text,{color:"tints.uiGrey",children:"We didn't find what you were looking for."}),t.jsx(n.Button,{as:we,onClick:h,_hover:{textDecoration:"none"},width:["100%",null,null,"auto"],...Pe,children:"Shop all products"})]}),t.jsx(n.Grid,{columns:[1,1,1,4],children:pe.map((i,T)=>t.jsx(n.GridItem,{children:t.jsx(Ee,{href:i.href,label:i.label,additionalContent:i==null?void 0:i.additionalContent,linkComponent:u,forceMobileStyle:!re})},`${i.label}-${T}`))})]}),U=i=>"href"in i,he=i=>{U(i)?p==null||p(i.label):(I(y||!oe),F(i))},ae=i=>{G(!0),A(),R(),!U(i)&&(i.sections||i.spotlightCards)&&(I(!1),F(i))},xe=()=>{G(!1)};j.useEffect(()=>{const i=T=>{ue(T.detail.isHovering)};return window.addEventListener(Ze,i),()=>{window.removeEventListener(Ze,i)}},[]),j.useEffect(()=>{!H&&!q&&(R(),A(),!y&&oe&&I(!1))},[H,q,y,oe]),j.useEffect(()=>{let i=window.location.href;const T=()=>{const P=window.location.href;P!==i&&(i=P,m(),R())},B=setInterval(T,100);return window.addEventListener("popstate",T),()=>{window.removeEventListener("popstate",T),clearInterval(B)}},[]);const je=i=>U(i)&&(!i.buttonProps||Object.keys(i.buttonProps).length===0||i.buttonProps===void 0),Ie=r==null?void 0:r.map((i,T)=>{var J,Q;const B=k.includes(i.label),P=!U(i),se=(C==null?void 0:C.label)===i.label;return t.jsx(ht,{height:"48px",paddingInline:"16px !important",onMouseEnter:()=>{ae(i),f==null||f(i.label)},onMouseLeave:xe,isSelected:se,as:U(i)&&we?we:n.Link,href:U(i)?i.href:void 0,onClick:U(i)?()=>p==null?void 0:p(i.label):()=>{ae(i),f==null||f(i.label)},...P&&{tabIndex:0,role:"button","aria-haspopup":"true","aria-expanded":se,onKeyDown:te=>{(te.key==="Enter"||te.key===" ")&&(te.preventDefault(),ae(i),f==null||f(i.label))},onFocus:te=>{const N=te.currentTarget;X.current&&(N.style.outline=`3px solid ${Xt}`,N.style.outlineOffset="2px",N.style.boxShadow="0 0 0 5px rgba(255,255,255,0.9)",N.style.borderRadius="9999px",N.style.zIndex="1")},onBlur:te=>{const N=te.currentTarget;N.style.outline="",N.style.outlineOffset="",N.style.boxShadow="",N.style.borderRadius="",N.style.zIndex=""}},...B&&{display:{base:"none",fullDesktop:"flex"}},...((J=i==null?void 0:i.context)==null?void 0:J.desktop)==="link"||je(i)?{_hover:{backgroundColor:"tints.lightCream",textDecoration:"none",filter:"brightness(0.95)"}}:{},...((Q=i==null?void 0:i.context)==null?void 0:Q.desktop)!=="link"&&i.buttonProps,children:i.label},`${i.label}-${T}`)}),He=(Ce=r.filter(i=>{var T;return((T=i==null?void 0:i.context)==null?void 0:T.mobile)==="link"||(!U(i)&&i.isMobileTopLink!==!1||je(i))&&(Re&&k.includes(i.label)||_e)}))==null?void 0:Ce.map((i,T)=>{var P;const B=i;return je(B)||((P=B==null?void 0:B.context)==null?void 0:P.mobile)==="link"?t.jsx(n.Box,{children:t.jsx(Ee,{label:B.label,role:"link",href:B.href,mainTextFontSize:"3xl",linkComponent:u,forceMobileStyle:!0})},`${B.label}-${T}`):t.jsx(n.Box,{onClick:()=>{he(B),f==null||f(B.label)},children:t.jsx(Ee,{label:B.label,role:"link",additionalContent:B.additionalContent,mainTextFontSize:"3xl",linkComponent:u,forceMobileStyle:!0})},`${B.label}-${T}`)}),$e=t.jsx(n.Flex,{gap:"2",flexDirection:"column",children:l}),Y=$||y,ie=C?t.jsx(n.Flex,{direction:Y?"column":["column",null,null,"row"],gap:"8",children:(le=C==null?void 0:C.sections)==null?void 0:le.map((i,T)=>{const B=[];for(let P=0;P<i.links.length;P+=3)B.push(i.links.slice(P,P+3));return t.jsxs(n.Box,{children:[t.jsx(n.Text,{fontSize:"md",color:"tints.uiGrey",marginBottom:Y?0:[0,null,null,6],children:i.title}),t.jsx(n.Flex,{flexDirection:Y?"column":["column",null,null,"row"],gap:Y?void 0:[null,null,null,8],children:B==null?void 0:B.map((P,se)=>t.jsx(n.Flex,{flexDirection:"column",gap:Y?void 0:[null,null,null,5],marginLeft:Y?void 0:[null,null,null,-2],children:P==null?void 0:P.map((J,Q)=>t.jsx(Ee,{label:J.label,href:J.href,additionalContent:J.additionalContent,linkComponent:u,forceMobileStyle:Y,onClick:()=>p==null?void 0:p(J.label)},`${J.label}-${Q}`))},se))})]},`${i.title}-${T}`)})}):null,Be=C!=null&&C.spotlightCards?(Le=C.spotlightCards)==null?void 0:Le.map((i,T)=>t.jsx(xt,{...i,forceMobileStyle:Y},`${i.title}-${T}`)):t.jsx(n.Box,{});return t.jsxs(n.Box,{as:"nav","aria-label":"Main navigation",position:"sticky",top:"0",width:"100%",zIndex:["sticky",null,null,fe?"modal":"sticky"],children:[t.jsx(vt,{desktopTopButtons:Ie,logoLink:c,linkComponent:u,onLogoClick:g,setTopOffset:de,rightSideButtons:typeof E=="function"?E(b):E}),t.jsxs(n.Box,{position:"relative",zIndex:"modal",children:[t.jsx(Fe,{isOpen:y,onClose:m,title:a,navDrawerLinks:He,bottomNavButtons:$e,hasBackButton:!1,topOffset:ee,forceMobilePlacement:!0}),t.jsx(Fe,{isOpen:!!C,onClose:()=>{m(),R(),y||I(!1)},title:(C==null?void 0:C.label)||"",navDrawerLinks:ie,onBackClick:()=>{R(),y||I(!1)},spotlightCards:Be,hasOnlySpotlightCards:C==null?void 0:C.hasOnlySpotlightCards,bottomButton:C==null?void 0:C.bottomButton,topOffset:ee,forceMobilePlacement:$||y||y&&!oe}),t.jsx(Fe,{isOpen:L,onClose:()=>A(),title:"Search",navDrawerLinks:ye,onSearch:De,hasSearch:!0,hasBackButton:!1,topOffset:ee})]})]})},ft=({links:r,linkComponent:a,onLinkClick:c,footerTheme:l})=>{const u=a||n.Link,d=p=>{c&&c(p)};return t.jsx(n.Flex,{direction:"column",gap:6,children:r.map(p=>t.jsx(n.Text,{as:u,color:l==="dark"?"white":"viridian.base",size:"lg",_hover:{color:"viridian.lighter",textDecoration:"none"},onClick:()=>d(p.label),...be(p.href,!!a),children:p.label},p.label))})},Qt=({title:r,links:a,isLast:c})=>{const l=c?"transparent":`${n.theme.colors.viridian.lighter}20`;return a?t.jsx(n.AccordionItem,{borderColor:l,children:({isExpanded:u})=>t.jsxs(t.Fragment,{children:[t.jsxs(n.AccordionButton,{paddingX:0,paddingY:4,_hover:{bg:"transparent"},children:[t.jsx(n.Text,{color:"viridian.lighter",size:"lg",flex:"1",textAlign:"left",children:r}),t.jsx(n.Icon,{as:V.CaretDown,size:"sm",color:"viridian.lighter",transform:u?"rotate(-180deg)":"rotate(0deg)",transition:"transform 0.3s ease"})]}),t.jsx(n.AccordionPanel,{pb:4,px:0,children:a})]})}):null},qt=({title:r,links:a,footerTheme:c})=>a?t.jsxs(n.Box,{children:[t.jsx(n.Text,{color:c==="dark"?"viridian.lighter":"tints.darkGrey",mb:6,fontSize:"lg",children:r}),a]}):null,en=({sections:r,linkComponent:a,onLinkClick:c,footerTheme:l})=>Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!0,desktop:!0})?t.jsx(n.Flex,{justify:"space-between",align:"flex-start",children:t.jsx(n.Flex,{gap:120,children:r.map(({title:d,links:p})=>t.jsx(qt,{footerTheme:l,title:d,links:t.jsx(ft,{links:p,linkComponent:a,onLinkClick:c,footerTheme:l})},d))})}):t.jsx(n.Accordion,{allowMultiple:!0,defaultIndex:[0],width:"100%",display:"flex",flexDirection:"column",children:r.map(({title:d,links:p},f)=>t.jsx(Qt,{title:d,links:t.jsx(ft,{links:p,linkComponent:a,onLinkClick:c,footerTheme:l}),isLast:f===r.length-1},d))}),pt={instagram:V.InstagramLogo,linkedin:V.LinkedinLogo,facebook:V.FacebookLogo,tiktok:V.TiktokLogo,x:V.XLogo},tn=({socialLinks:r,onEmailSubmit:a,socialMediaLabel:c,newsletterLabel:l,onLinkClick:u,showNewsletter:d=!0,footerTheme:p})=>{const f=p==="dark",[g,x]=j.useState(""),h=()=>{g&&a&&(a(g),x(""))},k=b=>{b.key==="Enter"&&h()},E=b=>{u&&u(b)};return t.jsxs(n.Box,{width:["100%",null,null,"440px"],children:[d&&t.jsxs(n.Box,{mb:[8,10],children:[t.jsx(n.Text,{color:f?"viridian.lighter":"tints.darkGrey",mb:6,size:"lg",children:l}),t.jsxs(n.InputGroup,{children:[t.jsx(n.Input,{"aria-label":"Email address",type:"email",placeholder:"Enter your email",bg:f?"transparent":"tints.white",border:"1px solid",borderColor:f?"viridian.lighter":"tints.darkCream",color:f?"viridian.lighter":"tints.darkGrey",_placeholder:{color:f?"viridian.lighter":"tints.darkGrey"},opacity:.66,height:"52px",pr:"48px",value:g,onChange:b=>x(b.target.value),onKeyPress:k}),t.jsx(n.InputRightElement,{h:"52px",pr:4,children:t.jsx(n.Icon,{as:V.ArrowRight,color:f?"viridian.lighter":"viridian.base",width:"24px",height:"24px",opacity:.66,cursor:"pointer",onClick:h,"data-testid":"arrow-right-icon",role:"button","aria-label":"Submit"})})]})]}),t.jsxs(n.Box,{children:[t.jsx(n.Text,{color:f?"viridian.lighter":"tints.darkGrey",marginBottom:4,size:"lg",children:c}),t.jsx(n.Flex,{gap:3,children:r==null?void 0:r.map(b=>t.jsx(n.Link,{href:b.href,target:"_blank",rel:"noopener noreferrer","aria-label":b.name,onClick:()=>E(b.name),children:pt[b.name.toLowerCase()]&&t.jsx(n.Icon,{as:pt[b.name.toLowerCase()],color:f?"white":"viridian.base",width:["48px",null,"24px",null],height:["48px",null,"24px",null]})},b.name))})]})]})},nn=({links:r,linkComponent:a,onLinkClick:c,footerTheme:l})=>{const u=a||n.Link,d=l==="dark",[p,f]=j.useState(()=>new Date().getFullYear());j.useEffect(()=>{f(new Date().getFullYear())},[]);const g=h=>{c&&c(h)},x=r==null?void 0:r.map(h=>t.jsx(n.Text,{as:u,color:d?"viridian.lighter":"viridian.base",size:"sm",_hover:{color:d?"white":"viridian.lighter",textDecoration:"none"},onClick:()=>g(h.label),...be(h.href,!!a),children:h.label},h.label));return t.jsxs(n.Flex,{direction:["column","column","row"],justify:"space-between",align:["flex-start","flex-start","center"],gap:[6,6,0],children:[t.jsx(n.Flex,{direction:"row",flexWrap:"wrap",gap:[4,6,10],width:["100%","auto"],children:x}),t.jsxs(n.Text,{color:d?"viridian.lighter":"tints.darkGrey",fontSize:"sm",children:["© Everlywell ",p]})]})},rn=j.forwardRef(({navigationSections:r=[],disclaimer:a,newsletterLabel:c,socialMediaLabel:l,socialLinks:u,complianceLinks:d,linkComponent:p,onEmailSubmit:f,additionalContent:g,onLinkClick:x,onSocialMediaClick:h,showNewsletter:k=!0,footerTheme:E="dark"},b)=>{const y=E==="dark";return t.jsx(n.Box,{as:"footer",bg:y?"viridian.dark":"tints.lightCream",py:[6,8],px:[4,6],ref:b,children:t.jsxs(n.Container,{size:"fluid",children:[t.jsxs(n.Flex,{direction:"column",gap:[8,12],children:[t.jsx(n.Box,{children:t.jsx(gt,{width:["150px","202px"],color:y?"white":n.theme.colors.viridian.base})}),t.jsxs(n.Flex,{direction:["column",null,null,"row"],justify:"space-between",align:["flex-start"],gap:[8,8,8,0],children:[t.jsx(en,{sections:r,linkComponent:p,onLinkClick:x,footerTheme:E}),t.jsx(tn,{socialLinks:u,newsletterLabel:c,socialMediaLabel:l,onEmailSubmit:f,onLinkClick:h,showNewsletter:k,footerTheme:E})]}),t.jsxs(n.Flex,{direction:["column","column","row"],justify:"space-between",alignContent:"center",align:["flex-start","flex-start","center"],gap:[6,6,0],children:[typeof a=="string"?t.jsx(n.Text,{color:y?"viridian.lighter":"tints.uiGrey",fontSize:"sm",maxWidth:["100%","100%","1024px"],dangerouslySetInnerHTML:{__html:a},sx:{"a:hover":{color:y?"viridian.light":"viridian.base",textDecoration:"underline"}}}):a,g]})]}),t.jsx(n.Box,{borderTop:"1px solid",borderColor:y?`${n.theme.colors.viridian.lighter}20`:"tints.darkCream",marginTop:"10",marginBottom:"8"}),t.jsx(nn,{links:d,linkComponent:p,onLinkClick:x,footerTheme:E})]})})}),on=r=>r?{Container:n.Drawer,Overlay:n.DrawerOverlay,Content:n.DrawerContent,Header:n.DrawerHeader,Body:n.DrawerBody,Footer:n.DrawerFooter,CloseButton:n.DrawerCloseButton}:{Container:n.Modal,Overlay:n.ModalOverlay,Content:n.ModalContent,Header:n.ModalHeader,Body:n.ModalBody,Footer:n.ModalFooter,CloseButton:n.ModalCloseButton},an=({isOpen:r,onClose:a,children:c,header:l,footer:u,headerProps:d,bodyProps:p,footerProps:f,contentProps:g,...x})=>{var C,F,H,G,q;const[h]=n.useMediaQuery(`(max-width: ${n.theme.breakpoints.tablet})`),k=(q=(G=(H=(F=(C=n.theme)==null?void 0:C.components)==null?void 0:F.Modal)==null?void 0:H.baseStyle)==null?void 0:G.overlay)==null?void 0:q.background,{Container:E,Overlay:b,Content:y,Header:L,Body:m,Footer:A,CloseButton:R}=on(h);return t.jsxs(E,{...x,isOpen:r,onClose:a,size:"xl",...h?{placement:"bottom"}:{},children:[t.jsx(b,{backdropFilter:"auto",backgroundColor:k}),t.jsxs(y,{backgroundColor:"tints.white",borderRadius:h?"20px 20px 0 0":"20px",overflowY:"auto",gap:0,...l&&h&&{paddingTop:0},...g,children:[t.jsxs(L,{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center",fontSize:"lg",color:"tints.black",fontWeight:"normal",position:"sticky",top:0,zIndex:"modal",backgroundColor:"tints.white",paddingInline:4,...h?{paddingBlock:4}:{paddingTop:6,paddingBlockEnd:2},...d,children:[l,t.jsx(R,{position:"static",width:32,height:32,backgroundColor:"tints.cream",sx:{".chakra-icon":{fontSize:"1rem"}},children:t.jsx(n.Icon,{as:V.X,weight:"light"})})]}),t.jsx(m,{color:"tints.darkGrey",paddingInline:4,...p,children:c}),t.jsx(A,{paddingInline:4,...f,children:u})]})]})};exports.BasketButton=zt;exports.CategoryLabel=$t;exports.DrawerModal=an;exports.Footer=rn;exports.NavButton=ht;exports.NavSkeleton=Nt;exports.NavbarDrawer=Fe;exports.NavbarDrawerLink=Ee;exports.NavigationBar=Jt;exports.SpotlightCard=xt;exports.Stepper=Ht;exports.TopNavIconButton=Me;exports.TopNavigation=vt;exports.useNavigationBar=bt;
|
|
30
|
+
<%s key={someKey} {...props} />`,Ye,ce,Ft,ce),ot[ce+Ye]=!0}}return e===l?Tt(M):_t(M),M}}function Dt(e,o,s){return at(e,o,s,!0)}function It(e,o,s){return at(e,o,s,!1)}var Bt=It,Lt=Dt;ke.Fragment=l,ke.jsx=Bt,ke.jsxs=Lt}()),ke}process.env.NODE_ENV==="production"?Ke.exports=Mt():Ke.exports=At();var t=Ke.exports;const Ge=60,st=6,Pt=r=>{const{activeStepIndex:a,hideIndicators:c=!1,steps:l,stepperTheme:u={light:"eggplant.light",base:"eggplant.base"}}=r,{activeStep:d,setActiveStep:h}=n.useSteps({index:a,count:l.length});return j.useEffect(()=>{h(a)},[a,h]),t.jsx(n.Box,{position:"relative",width:"100%","data-testid":"stepper",children:t.jsx(n.Stepper,{role:"progressbar",index:d,width:"100%",display:"flex",flexWrap:"nowrap",children:l.map((f,g)=>{const x=d===g,p=g===0,k=g===l.length-1,E=d>g;let b=`${Ge}px`;const y=`calc(100% - ((${Ge*(l.length-1)}px) - (${l.length-1} * ${st*2}px)))`;return x?b=y:(p||k)&&(b=`${Ge-st}px`),t.jsx(n.Box,{width:b,opacity:E||x?1:.2,paddingRight:k?"0":"6px",paddingLeft:p?"0":"6px",transition:"width 0.4s ease-in-out, opacity 0.4s ease-in-out",children:t.jsx(n.Box,{paddingTop:c?2:5,position:"relative",width:"100%",children:t.jsx(n.Box,{width:"100%",position:"absolute",top:"0",backgroundColor:E?u.light:u.base,height:c?"4px":"8px",borderRadius:"4",left:"0"})})},`step-${g}`)})})})},Ht=j.memo(Pt),$t=({children:r,...a})=>t.jsx(Z.Text,{color:"tints.uiGrey",fontSize:["md",null,null,"lg"],...a,children:r}),be=(r,a)=>{const c=(r==null?void 0:r.startsWith("http"))||(r==null?void 0:r.startsWith("mailto"));return a&&!c?{to:r}:{href:r}},Ee=j.forwardRef((r,a)=>{const{label:c,additionalContent:l,mainTextFontSize:u,linkComponent:d,href:h,forceMobileStyle:f=!1,...g}=r,x=d||n.Link,p=be(h,!!d),k=f?u||"xl":[u||"xl",null,null,"lg"],E=f?"xl":["xl",null,null,"lg"],b=f?void 0:[null,null,null,1],y=f?void 0:[null,null,null,"space-between"],L=f?"3":[3,null,null,0],m=f?"1px":["1px",null,null,"unset"],A=f?"tints.cream":["tints.cream",null,null,"unset"],R=f?"100%":["100%",null,null,"fit-content"],C=f?"none":["none",null,null,"block"],F=f?"100%":["100%",null,null,"auto"],H=f?"block":["block",null,null,"none"];return t.jsxs(n.Box,{ref:a,as:x,display:"flex",alignItems:"center",gap:b,justifyContent:y,paddingY:L,color:"tints.black",_hover:{color:"viridian.base",textDecoration:"none"},borderBottom:m,borderColor:A,width:R,cursor:"pointer",...p,...g,children:[t.jsx(n.Icon,{display:C,as:V.CaretRight,fontSize:"lg",color:"viridian.light",role:"img","aria-label":"Caret right icon",weight:"bold"}),t.jsxs(n.Flex,{alignItems:"center",gap:"1",width:F,children:[t.jsx(n.Text,{fontSize:k,fontWeight:"medium",children:c}),l&&(typeof l=="string"?t.jsx(n.Text,{fontSize:E,fontWeight:"medium",color:"tints.uiGrey",sx:{"a:hover &":{color:"viridian.base"}},children:l}):l),t.jsx(n.Icon,{display:H,as:V.CaretRight,fontSize:"2xl",color:"tints.uiGrey",role:"img","aria-label":"Caret right icon",marginLeft:"auto"})]})]})}),pt=j.forwardRef((r,a)=>{const{children:c,isSelected:l,...u}=r,d=r.backgroundColor||(l?"tints.lightCream":"transparent");return t.jsx(n.Button,{ref:a,borderRadius:"full",backgroundColor:d,fontSize:"lg !important",fontWeight:"normal",color:"tints.black",sx:{"&[href]":{textDecoration:"none"}},_before:{content:'""',position:"absolute",top:[null,null,null,-6],right:[null,null,null,-2],bottom:[null,null,null,-6],left:[null,null,null,-2]},_hover:{backgroundColor:d,textDecoration:"none",filter:"brightness(0.95)"},_focusVisible:{outline:"3px solid",outlineColor:"viridian.base",outlineOffset:"2px",boxShadow:"0 0 0 5px rgba(255, 255, 255, 0.9)",zIndex:1},...u,children:c})}),xt=({title:r,description:a,imageSrc:c,imageElement:l,button:u,backgroundColor:d="viridian.wash",onClick:h,href:f,linkComponent:g,forceMobileStyle:x=!1})=>{const b=g||n.Link,y=be(f,!!g),L=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,desktop:!0});return t.jsxs(n.Flex,{direction:x?"row":["row",null,null,"column"],alignItems:"center",borderRadius:"xl",overflow:"hidden",height:x?"80px":["80px",null,null,"272px"],backgroundColor:d,onClick:h,"data-testid":"spotlight-card",position:"relative",transition:"box-shadow 0.2s ease-in-out",border:"1px solid",borderColor:"transparent",minWidth:x?"100%":["100%",null,null,"320px"],maxWidth:x?"100%":["100%",null,null,"380px"],_hover:{boxShadow:"lg",textDecoration:"none",border:"1px solid",borderColor:"tints.white"},as:x?b:L?n.Flex:b,...x?y:L?{}:y,children:[t.jsx(n.Box,{width:x?"72px":["72px",null,null,"100%"],height:x?"100%":["100%",null,null,"188px"],sx:{img:{height:x?"100%":L?"188px":"100%",objectFit:x?"cover":"contain"}},children:c?t.jsx(n.Image,{src:c,objectFit:"cover",width:"100%",alt:"","data-testid":"spotlight-card-image"}):t.jsx(n.Box,{height:x?80:[80,null,null,188],overflow:"hidden",...x?{sx:{div:{height:"100%"}}}:{},children:l})}),t.jsxs(n.Flex,{direction:x?"column":["column",null,null,"row"],justifyContent:x?void 0:[null,null,null,"space-between"],alignItems:x?"left":["left",null,null,"center"],padding:"4",height:x?"80px":["80px",null,null,"84px"],width:"100%",bottom:x?void 0:[null,null,null,"0"],backgroundColor:x?void 0:[null,null,null,`${d}CC`],backdropFilter:x?void 0:[null,null,null,"blur(8px)"],flex:"1",gap:x?void 0:[null,null,null,3],children:[t.jsxs(n.Flex,{direction:"column",justifyContent:"center",height:"100%",children:[t.jsx(n.Text,{as:"h3",fontSize:"lg",fontWeight:"medium",color:"tints.black",children:r}),t.jsx(n.Text,{fontSize:"sm",color:"tints.darkGrey",children:a})]}),x?null:L?t.jsx(n.Box,{children:u}):null]})]})},Me=r=>t.jsx(n.IconButton,{size:"sm",width:["40px",null,null,"46px"],height:["40px",null,null,"46px"],padding:["2 !important",null,null,"3 !important"],colorScheme:"whiteCS",backgroundColor:"tints.cream",sx:{svg:{width:"24px",height:"24px"}},_hover:{backgroundColor:"tints.cream",filter:"brightness(0.95)"},...r}),gt=({color:r=n.theme.colors.viridian.base,width:a})=>t.jsx(Z.Box,{as:"svg",width:a,height:"auto",viewBox:"0 0 116 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Everlywell Logo",children:t.jsx("g",{id:"Everlywell Logo",children:t.jsx("path",{fill:r,id:"Everlywell Logo_2",fillRule:"evenodd",clipRule:"evenodd",d:"M54.8224 1V17.8352H52.4272V1H54.8224ZM5.65731 14.992C4.9835 14.4474 4.59261 13.726 4.48231 12.8278H13.7822C13.9984 10.4829 13.5723 8.70006 12.5039 7.47915C11.4322 6.25824 9.93769 5.64945 8.01698 5.64945C6.23518 5.64945 4.78896 6.22479 3.67214 7.38216C2.55841 8.5395 2 9.92767 2 11.8377C2 13.7476 2.56171 15.273 3.68501 16.4136C4.80831 17.5542 6.30612 18.1229 8.18163 18.1229C9.11125 18.1229 10.0216 17.9489 10.9125 17.5944C11.8034 17.2431 12.533 16.7447 13.1075 16.1025L11.5517 14.5371C11.2095 14.9217 10.7253 15.2294 10.099 15.4636C9.46959 15.6944 8.84662 15.8115 8.22684 15.8115C7.18735 15.8115 6.33197 15.5372 5.65731 14.992ZM10.4671 8.60977C11.0772 9.10817 11.416 9.81395 11.4774 10.7305H4.52751C4.71152 9.81395 5.12475 9.10817 5.77027 8.60977C6.41589 8.11136 7.18735 7.86384 8.08473 7.86384C9.05966 7.86384 9.85696 8.11136 10.4671 8.60977ZM22.1465 17.8819L27.0047 5.93699H24.3771L22.6565 10.2486L20.8424 15.2828L18.8217 9.76697L17.2884 5.93699H14.6382L19.5189 17.8819H22.1465ZM30.3737 12.8244C30.4835 13.7242 30.8741 14.4467 31.5487 14.992C32.2234 15.5372 33.0788 15.8115 34.1181 15.8115C34.7379 15.8115 35.361 15.6944 35.9905 15.4636C36.6166 15.2294 37.1009 14.9217 37.4431 14.5371L38.999 16.1025C38.4244 16.7447 37.6948 17.2431 36.8039 17.5944C35.9129 17.9489 35.0027 18.1229 34.0729 18.1229C32.1975 18.1229 30.6997 17.5542 29.5764 16.4136C28.453 15.273 27.8914 13.7476 27.8914 11.8377C27.8914 9.92767 28.4498 8.5395 29.5635 7.38216C30.6804 6.22479 32.1265 5.64945 33.9084 5.64945C35.829 5.64945 37.3236 6.25824 38.3952 7.47915C39.4638 8.70006 39.8899 10.4829 39.6736 12.8278H30.3769L30.3737 12.8244ZM37.3688 10.7305C37.3075 9.81395 36.9685 9.10817 36.3584 8.60977C35.7483 8.11136 34.951 7.86384 33.9762 7.86384C33.0788 7.86384 32.3073 8.11136 31.6617 8.60977C31.0161 9.10817 30.6029 9.81395 30.4189 10.7305H37.3688ZM44.5032 7.5263L44.3418 5.96085H44.3385H42.108V17.8355H44.5032V11.4031C44.5032 10.3595 44.8001 9.5567 45.3877 8.99473C45.9751 8.43278 46.7112 8.15181 47.5956 8.15181C48.3703 8.15181 49.0417 8.39264 49.6163 8.87432L50.7073 6.70677C49.9811 6.03445 49.0353 5.6966 47.8732 5.6966C46.2914 5.6966 45.1681 6.30539 44.5032 7.5263ZM60.3782 12.3193V5.96054H57.983V12.3428C57.983 14.1089 58.4286 15.5004 59.3195 16.5106C60.2104 17.5241 61.3789 18.0292 62.8186 18.0292C64.552 18.0292 65.8787 17.387 66.7923 16.1025V18.1262C66.7923 19.2669 66.4824 20.1499 65.8626 20.7754C65.2429 21.401 64.494 21.7154 63.6094 21.7154C61.8889 21.7154 60.8754 20.9661 60.5654 19.4742H58.2187C58.3252 20.9326 58.8644 22.0532 59.8327 22.8326C60.8011 23.612 62.1214 24 63.6546 24C65.188 24 66.4727 23.5049 67.5121 22.5081C68.5515 21.5147 69.0712 20.0697 69.0712 18.1731V5.96054H66.6761V12.1521C66.6761 13.1623 66.3791 14.0153 65.7819 14.7043C65.188 15.3967 64.4681 15.7412 63.4933 15.7412C62.5184 15.7412 61.7566 15.4268 61.2047 14.8013C60.6526 14.1725 60.3782 13.3463 60.3782 12.3193ZM81.5989 5.93699L84.3427 15.2828L87.1768 5.93699H89.8496L85.8275 17.8819H83.0385L81.6892 13.9315L80.5724 9.79039L79.4328 13.9315L78.0836 17.8819H75.2945L71.2498 5.93699H73.9453L76.7795 15.2828L79.5232 5.93699H81.5924H81.5989ZM94.65 14.992C93.9754 14.4467 93.5848 13.7242 93.475 12.8244L93.4847 12.8278H102.781C102.998 10.4829 102.572 8.70006 101.503 7.47915C100.431 6.25824 98.9368 5.64945 97.0162 5.64945C95.2343 5.64945 93.785 6.22479 92.668 7.38216C91.5544 8.5395 90.9959 9.92767 90.9959 11.8377C90.9959 13.7476 91.5576 15.273 92.6809 16.4136C93.8043 17.5542 95.3021 18.1229 97.1775 18.1229C98.1073 18.1229 99.0175 17.9489 99.9084 17.5944C100.799 17.2431 101.529 16.7447 102.103 16.1025L100.544 14.5371C100.202 14.9217 99.7212 15.2328 99.0918 15.4636C98.4623 15.6944 97.8393 15.8115 97.2196 15.8115C96.1802 15.8115 95.3247 15.5372 94.65 14.992ZM99.4598 8.60977C100.07 9.10817 100.409 9.81395 100.47 10.7305H93.5202C93.7042 9.81395 94.1175 9.10817 94.763 8.60977C95.4086 8.11136 96.1802 7.86384 97.0774 7.86384C98.0524 7.86384 98.8465 8.11136 99.4598 8.60977ZM107.698 1V17.8352H105.303V1H107.698ZM113.53 17.8352V1H111.135V17.8352H113.53Z"})})}),vt=({desktopTopButtons:r,logoLink:a="https://www.everlywell.com",setTopOffset:c,linkComponent:l,onLogoClick:u,rightSideButtons:d})=>{const h=j.useRef(null),[f]=n.useMediaQuery(`(max-width: ${n.theme.breakpoints.mediumTablet})`),[g]=n.useMediaQuery(`(max-width: ${n.theme.breakpoints.mediumDesktop})`),x=j.useCallback(()=>{if(h.current){const p=h.current.getBoundingClientRect();c(p.bottom)}},[]);return j.useEffect(()=>{x()},[x]),t.jsx(n.Box,{ref:h,paddingY:"4",paddingX:f?4:g?6:8,borderBottom:"1px solid",borderColor:"tints.lightCream",backgroundColor:"tints.white",width:"100%",onMouseEnter:x,children:t.jsxs(n.Flex,{justifyContent:"space-between",alignItems:"center",children:[t.jsxs(n.Flex,{alignItems:"center",gap:"5",children:[t.jsx(n.Box,{"aria-label":"Go to homepage",onClick:u,as:l||n.Link,...be(a,!!l),children:t.jsx(gt,{width:"116px"})}),t.jsx(n.Flex,{display:["none",null,"none","none","flex","flex"],children:r})]}),t.jsx(n.Flex,{alignItems:"center",gap:"2",children:d})]})})},zt=({count:r=0,...a})=>t.jsxs(n.Box,{position:"relative",display:"inline-block",children:[t.jsx(Me,{icon:t.jsx(V.Basket,{}),...a}),r>0&&t.jsx(n.Box,{display:"flex",minWidth:"20px",height:"20px",py:"4px",px:"6px",justifyContent:"center",alignItems:"center",position:"absolute",right:"-4px",top:"-4px",borderRadius:"32px",background:"viridian.base",color:"white",fontSize:"xs",fontWeight:"normal",children:r})]}),Nt=({numDesktopLinks:r=5,showPromoButton:a=!1})=>t.jsx(n.VStack,{spacing:0,align:"stretch",children:t.jsx(n.Box,{paddingY:4,paddingX:6,borderBottomWidth:"1px",borderColor:"tints.lightCream",children:t.jsxs(n.Flex,{justify:"space-between",align:"center",children:[t.jsx(n.Skeleton,{w:"120px",h:"48px"}),t.jsxs(n.HStack,{spacing:8,marginLeft:12,display:["none",null,null,"flex"],"data-testid":"desktop-nav",children:[Array.from({length:r}).map((c,l)=>t.jsx(n.Skeleton,{width:"90px",height:"48px"},l)),a&&t.jsx(n.Skeleton,{width:"110px",height:"48px",borderRadius:"full"})]}),t.jsxs(n.HStack,{spacing:4,ml:"auto",children:[t.jsx(n.SkeletonCircle,{width:"120px",height:"48px",display:["none",null,null,"block"],"data-testid":"register-kit"})," ",t.jsx(n.SkeletonCircle,{width:"48px",height:"48px"})," ",t.jsx(n.SkeletonCircle,{width:"48px",height:"48px"})," ",t.jsx(n.SkeletonCircle,{width:"48px",height:"48px"})," "]})]})})}),Wt=(r,a)=>{let c;return(...l)=>{c&&clearTimeout(c),c=setTimeout(()=>{r(...l)},a)}},Ue=r=>r.toLowerCase().replace(/['']/g,"").replace(/[^a-z0-9]/g,""),Vt=(r,a)=>{r.length<a.length&&([r,a]=[a,r]);let c=Array(a.length+1).fill(0),l=Array(a.length+1).fill(0);for(let u=0;u<=a.length;u++)c[u]=u;for(let u=1;u<=r.length;u++){l[0]=u;for(let d=1;d<=a.length;d++){const h=r[u-1]===a[d-1]?0:1;l[d]=Math.min(l[d-1]+1,c[d]+1,c[d-1]+h)}[c,l]=[l,c]}return c[a.length]},Ae=(r,a,c=.6)=>{if(r.length<=3||a.length<=3)return r.includes(a)||a.includes(r);const l=Vt(r,a),u=Math.max(r.length,a.length);return 1-l/u>=c},ct=(r,a)=>{const c=r.split(/\s+/);return a.length<=4?c.some(l=>l.includes(a)):c.some(l=>{if(Ae(l,a))return!0;if(l.length>=a.length)for(let u=0;u<=l.length-a.length;u++){const d=l.slice(u,u+a.length+1);if(Ae(a,d))return!0}return!1})},Ze="nav-drawer-hover",Xe="nav-drawer-animation-start",Je="nav-drawer-animation-end",ut=r=>{window.dispatchEvent(new CustomEvent(Ze,{detail:{isHovering:r},bubbles:!0,cancelable:!0}))},dt=r=>{window.dispatchEvent(new CustomEvent(r,{bubbles:!0,cancelable:!0}))},Yt=(r=!1,a=!1,c=!1)=>r||!a?"column":c?"row":"row-reverse",Gt=Oe.motion(n.DrawerContent),Ut=Oe.motion(n.DrawerOverlay),Fe=({isOpen:r=!1,onClose:a,title:c,navDrawerLinks:l,bottomNavButtons:u,spotlightCards:d,bottomButton:h,hasBackButton:f=!0,onBackClick:g,hasOnlySpotlightCards:x=!1,hasSearch:p=!1,onSearch:k=()=>({}),topOffset:E,forceMobilePlacement:b=!1})=>{var ue,ee,de,fe,ne,$;const y=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,mediumDesktop:!0,desktop:!0,fullDesktop:!0})??!1,L=b?"right":y?"top":"right",m=L==="right",[A,R]=j.useState(0),[C,F]=j.useState(!1),H=()=>{R(I=>I+1)},G=j.useCallback(Wt(I=>{k(I),H()},100),[]);j.useEffect(()=>{r&&(F(!0),dt(Xe))},[r]);const q=()=>{r||(F(!1),a()),dt(Je)};return t.jsx(n.Drawer,{isOpen:C||r,closeOnOverlayClick:!0,onClose:()=>{C&&!m||a()},placement:L,blockScrollOnMount:!1,autoFocus:!1,...m?{styleConfig:{baseStyle:{...n.theme.components.Drawer.baseStyle,dialogContainer:{...(ee=(ue=n.theme.components.Drawer)==null?void 0:ue.baseStyle)==null?void 0:ee.dialogContainer,zIndex:"popover"},dialog:{...(fe=(de=n.theme.components.Drawer)==null?void 0:de.baseStyle)==null?void 0:fe.dialog,maxW:"560px",width:"auto"}}}}:{styleConfig:{baseStyle:{...n.theme.components.Drawer.baseStyle,dialogContainer:{...($=(ne=n.theme.components.Drawer)==null?void 0:ne.baseStyle)==null?void 0:$.dialogContainer,top:`${E}px`,zIndex:"overlay"}}}},children:t.jsx(Oe.AnimatePresence,{children:r?t.jsxs(t.Fragment,{children:[t.jsx(Ut,{backgroundColor:"tints.black",top:m?"0":`${E}px`,opacity:m?"0.4 !important":void 0,zIndex:m?"modal":"overlay",...m?{}:{initial:{opacity:0},animate:{opacity:.4},exit:{opacity:0},transition:{duration:.2,delay:.15,ease:"easeOut"}}}),t.jsxs(Gt,{onClick:I=>{const re=I.target.closest("a");re&&re.href===window.location.href&&a()},onMouseEnter:()=>{m||ut(!0)},onMouseLeave:I=>{m||(!p||p&&(I.target===I.currentTarget||!I.currentTarget.contains(I.target)&&!C))&&ut(!1)},paddingTop:"4",paddingX:m?"4":"12",paddingBottom:"24",overflow:m?"auto":"hidden",maxHeight:"100vh",position:"relative",top:m?void 0:`${E}px !important`,onAnimationComplete:q,boxShadow:"none",...m?{initial:!1,animate:!1,exit:!1}:{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3}},children:[!p&&!m?null:t.jsxs(n.DrawerHeader,{padding:"0",flexDirection:p?"column":"row",gap:p?"4":"0",children:[m?t.jsxs(n.Flex,{width:"100%",justifyContent:"space-between",alignItems:"center",children:[f?t.jsx(Me,{icon:t.jsx(V.CaretLeft,{}),onClick:()=>{g&&g()},"aria-label":"Back"}):null,t.jsx(n.Text,{as:"h2",color:"tints.uiGrey",fontSize:"xl",children:c}),t.jsx(Me,{icon:t.jsx(V.X,{}),onClick:a,"aria-label":"Close"})]}):null,p&&t.jsxs(Z.InputGroup,{width:"100%",children:[t.jsx(Z.Input,{onChange:I=>{G(I.target.value)},placeholder:"Search",autoFocus:!0,width:"full",type:"search"}),t.jsx(Z.InputRightElement,{pointerEvents:"none",children:t.jsx(Z.Icon,{as:V.MagnifyingGlass,color:"gray.500"})})]})]}),t.jsx(n.DrawerBody,{paddingX:"0",paddingBottom:m?"6":"4","data-testid":`navbar-drawer-body-${c.toLowerCase()}`,children:t.jsxs(Oe.motion.div,{...m?{}:{initial:{opacity:0,y:-5},animate:{opacity:1,y:0},exit:{opacity:0,y:-5},transition:{duration:.5,delay:.2,ease:[.4,0,.2,1],exit:{duration:.5,delay:.2,ease:[.4,0,.2,1]}}},style:{display:"flex",flexDirection:Yt(x,!m,p),gap:"24px",justifyContent:"space-between"},children:[d?t.jsx(n.Box,{gap:m?"3":"6",display:"flex",justifyContent:m?void 0:"center",sx:{flexWrap:"wrap",flexDirection:m?"column":"row"},children:d}):null,t.jsxs(n.Flex,{position:m?void 0:"relative",flexDirection:"column",gap:"6",width:m?"100%":p?void 0:"auto",children:[l?t.jsx(n.Box,{children:l}):null,u&&m?t.jsx(n.Box,{children:u}):null,h?t.jsx(n.Box,{width:"100%",position:m?void 0:"absolute",bottom:m?void 0:0,...m?{sx:{a:{width:"100%"}}}:{},children:h}):null]})]},A)})]})]}):null})})},Kt=({source:r,onSearchCallback:a,isActive:c})=>{const[l,u]=j.useState(""),[d,h]=j.useState([]),f=(p,k)=>{if(!p)return[];const b=Ue(p).split(/\s+/);return k.filter(y=>{const L=Ue(y.label);if(b.some(F=>ct(L,F)))return!0;const A=L.split(/\s+/),R=b.some(F=>A.some(H=>H.includes(F)||Ae(F,H))),C=typeof y.additionalContent=="string"&&b.some(F=>{const H=Ue(y.additionalContent);return ct(H,F)||H.split(/\s+/).some(G=>G.includes(F)||Ae(F,G))});return R||C}).sort((y,L)=>y.label.localeCompare(L.label))},g=p=>{if(u(p),!p){h([]);return}const k=f(p,r);h(k),a&&a(p,k)},x=()=>{u(""),h([])};return j.useEffect(()=>{c||(u(""),h([]))},[c]),{query:l,results:d,handleClose:x,handleSearch:g}},Zt=r=>{const a=new Set;return r.reduce((c,l)=>{var d;const u=((d=l.sections)==null?void 0:d.reduce((h,f)=>{const g=f.links.filter(x=>a.has(x.label)||x.isSearchable!==!0?!1:(a.add(x.label),!0));return[...h,...g]},[]))??[];return[...c,...u]},[])},bt=()=>{const[r,a]=j.useState(!1),[c,l]=j.useState(!1),[u,d]=j.useState(null);return{isMainMenuOpen:r,isSearchOpen:c,selectedCategory:u,clearSelectedCategory:()=>d(null),handleSelectCategory:b=>d(b),closeMainMenu:()=>{a(!1),d(null)},closeSearch:()=>l(!1),toggleSearch:()=>l(b=>!b),openMainMenu:()=>a(!0),openSearch:()=>l(!0)}},Xt="#28724F",Jt=({categories:r=[],mainCategoryLabel:a="Menu",logoLink:c="https://www.everlywell.com",mobileBottomButtons:l=[],linkComponent:u,onSearchCallback:d,onLinkClick:h,onCategoryOpen:f,onLogoClick:g,shopAllProductsUrl:x,onShopAllProductsClick:p,hideableButtons:k,children:E})=>{var Ce,le,Le;const b=bt(),{isMainMenuOpen:y,isSearchOpen:L,closeMainMenu:m,closeSearch:A,clearSelectedCategory:R,selectedCategory:C,handleSelectCategory:F}=b,[H,G]=j.useState(!1),[q,ue]=j.useState(!1),[ee,de]=j.useState(0),[fe,ne]=j.useState(!1),[$,I]=j.useState(!1),X=j.useRef(!1);j.useEffect(()=>{const i=()=>{X.current=!0},T=()=>{X.current=!1};return document.addEventListener("keydown",i,!0),document.addEventListener("mousedown",T,!0),()=>{document.removeEventListener("keydown",i,!0),document.removeEventListener("mousedown",T,!0)}},[]),j.useEffect(()=>{const i=()=>ne(!0),T=()=>ne(!1);return window.addEventListener(Xe,i),window.addEventListener(Je,T),()=>{window.removeEventListener(Xe,i),window.removeEventListener(Je,T)}},[]);const re=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,mediumDesktop:!0,desktop:!0,fullDesktop:!0})??!1,oe=Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!1,mediumDesktop:!1,desktop:!1,fullDesktop:!0})??!1,Re=!oe,_e=Z.useBreakpointValue({base:!0,tablet:!0,largeTablet:!0,mediumDesktop:!1,desktop:!1,fullDesktop:!1})??!0;j.useEffect(()=>{m(),R()},[re]);const{query:Te,results:he,handleSearch:De}=Kt({source:Zt(r),onSearchCallback:d,isActive:L}),me=he.length>0,we=u||n.Link,Pe=be(x,!!u),ye=Te&&t.jsxs(n.Flex,{gap:me?"6":0,direction:"column",children:[me?t.jsx(n.Text,{color:"tints.uiGrey",children:`${he.length} Results`}):t.jsxs(n.Flex,{direction:"column",gap:"6",alignItems:"flex-start",children:[t.jsx(n.Text,{color:"tints.uiGrey",children:"We didn't find what you were looking for."}),t.jsx(n.Button,{as:we,onClick:p,_hover:{textDecoration:"none"},width:["100%",null,null,"auto"],...Pe,children:"Shop all products"})]}),t.jsx(n.Grid,{columns:[1,1,1,4],children:he.map((i,T)=>t.jsx(n.GridItem,{children:t.jsx(Ee,{href:i.href,label:i.label,additionalContent:i==null?void 0:i.additionalContent,linkComponent:u,forceMobileStyle:!re})},`${i.label}-${T}`))})]}),U=i=>"href"in i,pe=i=>{U(i)?h==null||h(i.label):(I(y||!oe),F(i))},ae=i=>{G(!0),A(),R(),!U(i)&&(i.sections||i.spotlightCards)&&(I(!1),F(i))},xe=()=>{G(!1)};j.useEffect(()=>{const i=T=>{ue(T.detail.isHovering)};return window.addEventListener(Ze,i),()=>{window.removeEventListener(Ze,i)}},[]),j.useEffect(()=>{!H&&!q&&(R(),A(),!y&&oe&&I(!1))},[H,q,y,oe]),j.useEffect(()=>{let i=window.location.href;const T=()=>{const P=window.location.href;P!==i&&(i=P,m(),R())},B=setInterval(T,100);return window.addEventListener("popstate",T),()=>{window.removeEventListener("popstate",T),clearInterval(B)}},[]);const je=i=>U(i)&&(!i.buttonProps||Object.keys(i.buttonProps).length===0||i.buttonProps===void 0),Ie=r==null?void 0:r.map((i,T)=>{var J,Q;const B=k.includes(i.label),P=!U(i),se=(C==null?void 0:C.label)===i.label;return t.jsx(pt,{height:"48px",paddingInline:"16px !important",onMouseEnter:()=>{ae(i),f==null||f(i.label)},onMouseLeave:xe,isSelected:se,as:U(i)&&we?we:n.Link,href:U(i)?i.href:void 0,onClick:U(i)?()=>h==null?void 0:h(i.label):()=>{ae(i),f==null||f(i.label)},...P&&{tabIndex:0,role:"button","aria-haspopup":"true","aria-expanded":se,onKeyDown:te=>{(te.key==="Enter"||te.key===" ")&&(te.preventDefault(),ae(i),f==null||f(i.label))},onFocus:te=>{const N=te.currentTarget;X.current&&(N.style.outline=`3px solid ${Xt}`,N.style.outlineOffset="2px",N.style.boxShadow="0 0 0 5px rgba(255,255,255,0.9)",N.style.borderRadius="9999px",N.style.zIndex="1")},onBlur:te=>{const N=te.currentTarget;N.style.outline="",N.style.outlineOffset="",N.style.boxShadow="",N.style.borderRadius="",N.style.zIndex=""}},...B&&{display:{base:"none",fullDesktop:"flex"}},...((J=i==null?void 0:i.context)==null?void 0:J.desktop)==="link"||je(i)?{_hover:{backgroundColor:"tints.lightCream",textDecoration:"none",filter:"brightness(0.95)"}}:{},...((Q=i==null?void 0:i.context)==null?void 0:Q.desktop)!=="link"&&i.buttonProps,children:i.label},`${i.label}-${T}`)}),He=(Ce=r.filter(i=>{var T;return((T=i==null?void 0:i.context)==null?void 0:T.mobile)==="link"||(!U(i)&&i.isMobileTopLink!==!1||je(i))&&(Re&&k.includes(i.label)||_e)}))==null?void 0:Ce.map((i,T)=>{var P;const B=i;return je(B)||((P=B==null?void 0:B.context)==null?void 0:P.mobile)==="link"?t.jsx(n.Box,{children:t.jsx(Ee,{label:B.label,role:"link",href:B.href,mainTextFontSize:"3xl",linkComponent:u,forceMobileStyle:!0})},`${B.label}-${T}`):t.jsx(n.Box,{onClick:()=>{pe(B),f==null||f(B.label)},children:t.jsx(Ee,{label:B.label,role:"link",additionalContent:B.additionalContent,mainTextFontSize:"3xl",linkComponent:u,forceMobileStyle:!0})},`${B.label}-${T}`)}),$e=t.jsx(n.Flex,{gap:"2",flexDirection:"column",children:l}),Y=$||y,ie=C?t.jsx(n.Flex,{direction:Y?"column":["column",null,null,"row"],gap:"8",children:(le=C==null?void 0:C.sections)==null?void 0:le.map((i,T)=>{const B=[];for(let P=0;P<i.links.length;P+=3)B.push(i.links.slice(P,P+3));return t.jsxs(n.Box,{children:[t.jsx(n.Text,{as:"h2",fontSize:"md",color:"tints.uiGrey",marginBottom:Y?0:[0,null,null,6],children:i.title}),t.jsx(n.Flex,{flexDirection:Y?"column":["column",null,null,"row"],gap:Y?void 0:[null,null,null,8],children:B==null?void 0:B.map((P,se)=>t.jsx(n.Flex,{flexDirection:"column",gap:Y?void 0:[null,null,null,5],marginLeft:Y?void 0:[null,null,null,-2],children:P==null?void 0:P.map((J,Q)=>t.jsx(Ee,{label:J.label,href:J.href,additionalContent:J.additionalContent,linkComponent:u,forceMobileStyle:Y,onClick:()=>h==null?void 0:h(J.label)},`${J.label}-${Q}`))},se))})]},`${i.title}-${T}`)})}):null,Be=C!=null&&C.spotlightCards?(Le=C.spotlightCards)==null?void 0:Le.map((i,T)=>t.jsx(xt,{...i,forceMobileStyle:Y},`${i.title}-${T}`)):t.jsx(n.Box,{});return t.jsxs(n.Box,{as:"nav","aria-label":"Main navigation",position:"sticky",top:"0",width:"100%",zIndex:["sticky",null,null,fe?"modal":"sticky"],children:[t.jsx(vt,{desktopTopButtons:Ie,logoLink:c,linkComponent:u,onLogoClick:g,setTopOffset:de,rightSideButtons:typeof E=="function"?E(b):E}),t.jsxs(n.Box,{position:"relative",zIndex:"modal",children:[t.jsx(Fe,{isOpen:y,onClose:m,title:a,navDrawerLinks:He,bottomNavButtons:$e,hasBackButton:!1,topOffset:ee,forceMobilePlacement:!0}),t.jsx(Fe,{isOpen:!!C,onClose:()=>{m(),R(),y||I(!1)},title:(C==null?void 0:C.label)||"",navDrawerLinks:ie,onBackClick:()=>{R(),y||I(!1)},spotlightCards:Be,hasOnlySpotlightCards:C==null?void 0:C.hasOnlySpotlightCards,bottomButton:C==null?void 0:C.bottomButton,topOffset:ee,forceMobilePlacement:$||y||y&&!oe}),t.jsx(Fe,{isOpen:L,onClose:()=>A(),title:"Search",navDrawerLinks:ye,onSearch:De,hasSearch:!0,hasBackButton:!1,topOffset:ee})]})]})},ft=({links:r,linkComponent:a,onLinkClick:c,footerTheme:l})=>{const u=a||n.Link,d=h=>{c&&c(h)};return t.jsx(n.Flex,{direction:"column",gap:6,children:r.map(h=>t.jsx(n.Text,{as:u,color:l==="dark"?"white":"viridian.base",size:"lg",_hover:{color:"viridian.lighter",textDecoration:"none"},onClick:()=>d(h.label),...be(h.href,!!a),children:h.label},h.label))})},Qt=({title:r,links:a,isLast:c})=>{const l=c?"transparent":`${n.theme.colors.viridian.lighter}20`;return a?t.jsx(n.AccordionItem,{borderColor:l,children:({isExpanded:u})=>t.jsxs(t.Fragment,{children:[t.jsxs(n.AccordionButton,{paddingX:0,paddingY:4,_hover:{bg:"transparent"},children:[t.jsx(n.Text,{color:"viridian.lighter",size:"lg",flex:"1",textAlign:"left",children:r}),t.jsx(n.Icon,{as:V.CaretDown,size:"sm",color:"viridian.lighter",transform:u?"rotate(-180deg)":"rotate(0deg)",transition:"transform 0.3s ease"})]}),t.jsx(n.AccordionPanel,{pb:4,px:0,children:a})]})}):null},qt=({title:r,links:a,footerTheme:c})=>a?t.jsxs(n.Box,{children:[t.jsx(n.Text,{color:c==="dark"?"viridian.lighter":"tints.darkGrey",mb:6,fontSize:"lg",children:r}),a]}):null,en=({sections:r,linkComponent:a,onLinkClick:c,footerTheme:l})=>Z.useBreakpointValue({base:!1,tablet:!1,largeTablet:!0,desktop:!0})?t.jsx(n.Flex,{justify:"space-between",align:"flex-start",children:t.jsx(n.Flex,{gap:120,children:r.map(({title:d,links:h})=>t.jsx(qt,{footerTheme:l,title:d,links:t.jsx(ft,{links:h,linkComponent:a,onLinkClick:c,footerTheme:l})},d))})}):t.jsx(n.Accordion,{allowMultiple:!0,defaultIndex:[0],width:"100%",display:"flex",flexDirection:"column",children:r.map(({title:d,links:h},f)=>t.jsx(Qt,{title:d,links:t.jsx(ft,{links:h,linkComponent:a,onLinkClick:c,footerTheme:l}),isLast:f===r.length-1},d))}),ht={instagram:V.InstagramLogo,linkedin:V.LinkedinLogo,facebook:V.FacebookLogo,tiktok:V.TiktokLogo,x:V.XLogo},tn=({socialLinks:r,onEmailSubmit:a,socialMediaLabel:c,newsletterLabel:l,onLinkClick:u,showNewsletter:d=!0,footerTheme:h})=>{const f=h==="dark",[g,x]=j.useState(""),p=()=>{g&&a&&(a(g),x(""))},k=b=>{b.key==="Enter"&&p()},E=b=>{u&&u(b)};return t.jsxs(n.Box,{width:["100%",null,null,"440px"],children:[d&&t.jsxs(n.Box,{mb:[8,10],children:[t.jsx(n.Text,{color:f?"viridian.lighter":"tints.darkGrey",mb:6,size:"lg",children:l}),t.jsxs(n.InputGroup,{children:[t.jsx(n.Input,{"aria-label":"Email address",type:"email",placeholder:"Enter your email",bg:f?"transparent":"tints.white",border:"1px solid",borderColor:f?"viridian.lighter":"tints.darkCream",color:f?"viridian.lighter":"tints.darkGrey",_placeholder:{color:f?"viridian.lighter":"tints.darkGrey"},opacity:.66,height:"52px",pr:"48px",value:g,onChange:b=>x(b.target.value),onKeyPress:k}),t.jsx(n.InputRightElement,{h:"52px",pr:4,children:t.jsx(n.Icon,{as:V.ArrowRight,color:f?"viridian.lighter":"viridian.base",width:"24px",height:"24px",opacity:.66,cursor:"pointer",onClick:p,"data-testid":"arrow-right-icon",role:"button","aria-label":"Submit"})})]})]}),t.jsxs(n.Box,{children:[t.jsx(n.Text,{color:f?"viridian.lighter":"tints.darkGrey",marginBottom:4,size:"lg",children:c}),t.jsx(n.Flex,{gap:3,children:r==null?void 0:r.map(b=>t.jsx(n.Link,{href:b.href,target:"_blank",rel:"noopener noreferrer","aria-label":b.name,onClick:()=>E(b.name),children:ht[b.name.toLowerCase()]&&t.jsx(n.Icon,{as:ht[b.name.toLowerCase()],color:f?"white":"viridian.base",width:["48px",null,"24px",null],height:["48px",null,"24px",null]})},b.name))})]})]})},nn=({links:r,linkComponent:a,onLinkClick:c,footerTheme:l})=>{const u=a||n.Link,d=l==="dark",[h,f]=j.useState(()=>new Date().getFullYear());j.useEffect(()=>{f(new Date().getFullYear())},[]);const g=p=>{c&&c(p)},x=r==null?void 0:r.map(p=>t.jsx(n.Text,{as:u,color:d?"viridian.lighter":"viridian.base",size:"sm",_hover:{color:d?"white":"viridian.lighter",textDecoration:"none"},onClick:()=>g(p.label),...be(p.href,!!a),children:p.label},p.label));return t.jsxs(n.Flex,{direction:["column","column","row"],justify:"space-between",align:["flex-start","flex-start","center"],gap:[6,6,0],children:[t.jsx(n.Flex,{direction:"row",flexWrap:"wrap",gap:[4,6,10],width:["100%","auto"],children:x}),t.jsxs(n.Text,{color:d?"viridian.lighter":"tints.darkGrey",fontSize:"sm",children:["© Everlywell ",h]})]})},rn=j.forwardRef(({navigationSections:r=[],disclaimer:a,newsletterLabel:c,socialMediaLabel:l,socialLinks:u,complianceLinks:d,linkComponent:h,onEmailSubmit:f,additionalContent:g,onLinkClick:x,onSocialMediaClick:p,showNewsletter:k=!0,footerTheme:E="dark"},b)=>{const y=E==="dark";return t.jsx(n.Box,{as:"footer",bg:y?"viridian.dark":"tints.lightCream",py:[6,8],px:[4,6],ref:b,children:t.jsxs(n.Container,{size:"fluid",children:[t.jsxs(n.Flex,{direction:"column",gap:[8,12],children:[t.jsx(n.Box,{children:t.jsx(gt,{width:["150px","202px"],color:y?"white":n.theme.colors.viridian.base})}),t.jsxs(n.Flex,{direction:["column",null,null,"row"],justify:"space-between",align:["flex-start"],gap:[8,8,8,0],children:[t.jsx(en,{sections:r,linkComponent:h,onLinkClick:x,footerTheme:E}),t.jsx(tn,{socialLinks:u,newsletterLabel:c,socialMediaLabel:l,onEmailSubmit:f,onLinkClick:p,showNewsletter:k,footerTheme:E})]}),t.jsxs(n.Flex,{direction:["column","column","row"],justify:"space-between",alignContent:"center",align:["flex-start","flex-start","center"],gap:[6,6,0],children:[typeof a=="string"?t.jsx(n.Text,{color:y?"viridian.lighter":"tints.uiGrey",fontSize:"sm",maxWidth:["100%","100%","1024px"],dangerouslySetInnerHTML:{__html:a},sx:{"a:hover":{color:y?"viridian.light":"viridian.base",textDecoration:"underline"}}}):a,g]})]}),t.jsx(n.Box,{borderTop:"1px solid",borderColor:y?`${n.theme.colors.viridian.lighter}20`:"tints.darkCream",marginTop:"10",marginBottom:"8"}),t.jsx(nn,{links:d,linkComponent:h,onLinkClick:x,footerTheme:E})]})})}),on=r=>r?{Container:n.Drawer,Overlay:n.DrawerOverlay,Content:n.DrawerContent,Header:n.DrawerHeader,Body:n.DrawerBody,Footer:n.DrawerFooter,CloseButton:n.DrawerCloseButton}:{Container:n.Modal,Overlay:n.ModalOverlay,Content:n.ModalContent,Header:n.ModalHeader,Body:n.ModalBody,Footer:n.ModalFooter,CloseButton:n.ModalCloseButton},an=({isOpen:r,onClose:a,children:c,header:l,footer:u,headerProps:d,bodyProps:h,footerProps:f,contentProps:g,...x})=>{var C,F,H,G,q;const[p]=n.useMediaQuery(`(max-width: ${n.theme.breakpoints.tablet})`),k=(q=(G=(H=(F=(C=n.theme)==null?void 0:C.components)==null?void 0:F.Modal)==null?void 0:H.baseStyle)==null?void 0:G.overlay)==null?void 0:q.background,{Container:E,Overlay:b,Content:y,Header:L,Body:m,Footer:A,CloseButton:R}=on(p);return t.jsxs(E,{...x,isOpen:r,onClose:a,size:"xl",...p?{placement:"bottom"}:{},children:[t.jsx(b,{backdropFilter:"auto",backgroundColor:k}),t.jsxs(y,{backgroundColor:"tints.white",borderRadius:p?"20px 20px 0 0":"20px",overflowY:"auto",gap:0,...l&&p&&{paddingTop:0},...g,children:[t.jsxs(L,{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center",fontSize:"lg",color:"tints.black",fontWeight:"normal",position:"sticky",top:0,zIndex:"modal",backgroundColor:"tints.white",paddingInline:4,...p?{paddingBlock:4}:{paddingTop:6,paddingBlockEnd:2},...d,children:[l,t.jsx(R,{position:"static",width:32,height:32,backgroundColor:"tints.cream",sx:{".chakra-icon":{fontSize:"1rem"}},children:t.jsx(n.Icon,{as:V.X,weight:"light"})})]}),t.jsx(m,{color:"tints.darkGrey",paddingInline:4,...h,children:c}),t.jsx(A,{paddingInline:4,...f,children:u})]})]})};exports.BasketButton=zt;exports.CategoryLabel=$t;exports.DrawerModal=an;exports.Footer=rn;exports.NavButton=pt;exports.NavSkeleton=Nt;exports.NavbarDrawer=Fe;exports.NavbarDrawerLink=Ee;exports.NavigationBar=Jt;exports.SpotlightCard=xt;exports.Stepper=Ht;exports.TopNavIconButton=Me;exports.TopNavigation=vt;exports.useNavigationBar=bt;
|
package/index.mjs
CHANGED
|
@@ -937,7 +937,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
937
937
|
{ direction: "column", justifyContent: "center", height: "100%", children: [
|
|
938
938
|
/* @__PURE__ */ t.jsx(
|
|
939
939
|
z,
|
|
940
|
-
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: n }
|
|
940
|
+
{ as: "h3", fontSize: "lg", fontWeight: "medium", color: "tints.black", children: n }
|
|
941
941
|
),
|
|
942
942
|
/* @__PURE__ */ t.jsx(
|
|
943
943
|
z,
|
|
@@ -1369,6 +1369,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1369
1369
|
/* @__PURE__ */ t.jsx(
|
|
1370
1370
|
z,
|
|
1371
1371
|
{
|
|
1372
|
+
as: "h2",
|
|
1372
1373
|
color: "tints.uiGrey",
|
|
1373
1374
|
fontSize: "xl",
|
|
1374
1375
|
children: s
|
|
@@ -1815,6 +1816,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1815
1816
|
/* @__PURE__ */ t.jsx(
|
|
1816
1817
|
z,
|
|
1817
1818
|
{
|
|
1819
|
+
as: "h2",
|
|
1818
1820
|
fontSize: "md",
|
|
1819
1821
|
color: "tints.uiGrey",
|
|
1820
1822
|
marginBottom: Y ? 0 : [0, null, null, 6],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarDrawer.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawer/NavbarDrawer.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AAGnE,eAAO,MAAM,wBAAwB,eAAgB,OAAO,SAQ3D,CAAC;AAEF,eAAO,MAAM,4BAA4B,cAAe,MAAM,SAO7D,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAqBF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"NavbarDrawer.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavbarDrawer/NavbarDrawer.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AAGnE,eAAO,MAAM,wBAAwB,eAAgB,OAAO,SAQ3D,CAAC;AAEF,eAAO,MAAM,4BAA4B,cAAe,MAAM,SAO7D,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAqBF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+TpD,CAAC;AACF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationBar.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavigationBar/NavigationBar.tsx"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"NavigationBar.d.ts","sourceRoot":"","sources":["../../../../../../../libs/consumer-ui/src/lib/components/Navbar/NavigationBar/NavigationBar.tsx"],"names":[],"mappings":"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"}
|