PageSourceSearch

https://goodnessme.com.au/487950e99ead765804533cdc05db704605492c80-214e93162bc0722bfd26.js

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

1"use strict";(self.webpackChunkgoodnessme_app=self.webpackChunkgoodnessme_app||[]).push([[1356],{90260:function(e,n,t){t.d(n,{XZ:function(){return z},O:function(){return Z}});var r=t(45987),o=t(4942),a=(t(93433),t(29439)),i=t(67294),c=t(29741),l=t(16920),u=(t(49195),t(49693)),s=t(4382),d=t(1405),f=t(85601),v=t(71001),h=t(7949),p=t(27536),m={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},b=(0,u.m$)("span",{baseStyle:m});b.displayName="VisuallyHidden",(0,u.m$)("input",{baseStyle:m}).displayName="VisuallyHiddenInput";var y=t(97762),g=["isIndeterminate","isChecked"],k=["defaultChecked","isChecked","isFocusable","onChange","isIndeterminate","name","value","tabIndex","aria-label","aria-labelledby","aria-invalid"],w=["spacing","className","children","iconColor","iconSize","icon","isChecked","isDisabled","onChange","inputProps"];function C(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return x(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return x(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==t.return||t.return()}finally{if(c)throw a}}}}function x(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function E(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?E(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var j=(0,c.k)({name:"CheckboxGroupContext",strict:!1}),S=(0,a.Z)(j,2),I=(S[0],S[1]),P=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")};var D=function(e){return e?"":void 0};function L(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){n.some((function(n){return null==n||n(e),null==e?void 0:e.defaultPrevented}))}}function _(e){return i.createElement(u.m$.svg,O({width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16}},e),i.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"}))}function A(e){return i.createElement(u.m$.svg,O({width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4}},e),i.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"}))}function M(e){var n=e.isIndeterminate,t=e.isChecked,o=(0,r.Z)(e,g),a=n?A:_;return t||n?i.createElement(u.m$.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},i.createElement(a,O({},o))):null}function B(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object.assign({},e),o=C(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;a in r&&delete r[a]}}catch(i){o.e(i)}finally{o.f()}return r}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,f.Kn)(e),t=n.isDisabled,o=n.isReadOnly,c=n.isRequired,u=n.isInvalid,s=n.id,d=n.onBlur,b=n.onFocus,g=n["aria-describedby"],w=e.defaultChecked,C=e.isChecked,x=e.isFocusable,E=e.onCh
1ange,j=e.isIndeterminate,S=e.name,I=e.value,P=e.tabIndex,_=void 0===P?void 0:P,A=e["aria-label"],M=e["aria-labelledby"],Z=e["aria-invalid"],N=(0,r.Z)(e,k),R=B(N,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),$=(0,l.W)(E),K=(0,l.W)(d),q=(0,l.W)(b),z=(0,i.useState)(!1),G=(0,a.Z)(z,2),H=G[0],T=G[1],U=(0,i.useState)(!1),W=(0,a.Z)(U,2),X=W[0],V=W[1],J=(0,i.useState)(!1),Q=(0,a.Z)(J,2),Y=Q[0],ee=Q[1],ne=(0,i.useState)(!1),te=(0,a.Z)(ne,2),re=te[0],oe=te[1];(0,i.useEffect)((function(){return(0,y.B)(T)}),[]);var ae=(0,i.useRef)(null),ie=(0,i.useState)(!0),ce=(0,a.Z)(ie,2),le=ce[0],ue=ce[1],se=(0,i.useState)(!!w),de=(0,a.Z)(se,2),fe=de[0],ve=de[1],he=void 0!==C,pe=he?C:fe,me=(0,i.useCallback)((function(e){o||t?e.preventDefault():(he||ve(pe?e.target.checked:!!j||e.target.checked),null==$||$(e))}),[o,t,pe,he,j,$]);(0,v.G)((function(){ae.current&&(ae.current.indeterminate=Boolean(j))}),[j]),(0,h.r)((function(){t&&V(!1)}),[t,V]),(0,v.G)((function(){var e=ae.current;(null==e?void 0:e.form)&&(e.form.onreset=function(){ve(!!w)})}),[]);var be=t&&!x,ye=(0,i.useCallback)((function(e){" "===e.key&&oe(!0)}),[oe]),ge=(0,i.useCallback)((function(e){" "===e.key&&oe(!1)}),[oe]);(0,v.G)((function(){ae.current&&(ae.current.checked!==pe&&ve(ae.current.checked))}),[ae.current]);var ke=(0,i.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=function(e){X&&e.preventDefault(),oe(!0)};return O(O({},e),{},{ref:n,"data-active":D(re),"data-hover":D(Y),"data-checked":D(pe),"data-focus":D(X),"data-focus-visible":D(X&&H),"data-indeterminate":D(j),"data-disabled":D(t),"data-invalid":D(u),"data-readonly":D(o),"aria-hidden":!0,onMouseDown:L(e.onMouseDown,r),onMouseUp:L(e.onMouseUp,(function(){return oe(!1)})),onMouseEnter:L(e.onMouseEnter,(function(){return ee(!0)})),onMouseLeave:L(e.onMouseLeave,(function(){return ee(!1)}))})}),[re,pe,t,X,H,Y,j,u,o]),we=(0,i.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return O(O(O({},R),e),{},{ref:(0,p.lq)(n,(function(e){e&&ue("LABEL"===e.tagName)})),onClick:L(e.onClick,(function(){var e;le||(null==(e=ae.current)||e.click(),requestAnimationFrame((function(){var e;null==(e=ae.current)||e.focus()})))})),"data-disabled":D(t),"data-checked":D(pe),"data-invalid":D(u)})}),[R,t,pe,u,le]),Ce=(0,i.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return O(O({},e),{},{ref:(0,p.lq)(ae,n),type:"checkbox",name:S,value:I,id:s,tabIndex:_,onChange:L(e.onChange,me),onBlur:L(e.onBlur,K,(function(){return V(!1)})),onFocus:L(e.onFocus,q,(function(){return V(!0)})),onKeyDown:L(e.onKeyDown,ye),onKeyUp:L(e.onKeyUp,ge),required:c,checked:pe,disabled:be,readOnly:o,"aria-label":A,"aria-labelledby":M,"aria-invalid":Z?Boolean(Z):u,"aria-describedby":g,"aria-disabled":t,style:m})}),[S,I,s,me,K,q,ye,ge,c,pe,be,o,A,M,Z,u,g,t,_]),xe=(0,i.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return O(O({},e),{},{ref:n,onMouseDown:L(e.onMouseDown,F),onTouchStart:L(e.onTouchStart,F),"data-disabled":D(t),"data-checked":D(pe),"data-invalid":D(u)})}),[pe,t,u]),Ee={isInvalid:u,isFocused:X,isChecked:pe,isActive:re,isHovered:Y,isIndeterminate:j,isDisabled:t,isReadOnly:o,isRequired:c};return{state:Ee,getRootProps:we,getCheckboxProps:ke,getInputProps:Ce,getLabelProps:xe,htmlProps:R}}function F(e){e.preventDefault(),e.stopPropagation()}var N={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},R={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},$=(0,s.F4)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),K=(0,s.F4)({from:{opacity:0}
1,to:{opacity:1}}),q=(0,s.F4)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),z=(0,u.Gp)((function(e,n){var t=I(),o=O(O({},t),e),a=(0,u.jC)("Checkbox",o),c=(0,d.Lr)(e),l=c.spacing,s=void 0===l?"0.5rem":l,f=c.className,v=c.children,h=c.iconColor,p=c.iconSize,m=c.icon,b=void 0===m?i.createElement(M,null):m,y=c.isChecked,g=c.isDisabled,k=void 0===g?null==t?void 0:t.isDisabled:g,C=c.onChange,x=c.inputProps,E=(0,r.Z)(c,w),j=y;(null==t?void 0:t.value)&&c.value&&(j=t.value.includes(c.value));var S=C;(null==t?void 0:t.onChange)&&c.value&&(S=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){n.forEach((function(n){null==n||n(e)}))}}(t.onChange,C));var D=Z(O(O({},E),{},{isDisabled:k,isChecked:j,onChange:S})),L=D.state,_=D.getInputProps,A=D.getCheckboxProps,B=D.getLabelProps,F=D.getRootProps,z=(0,i.useMemo)((function(){return O({animation:L.isIndeterminate?"".concat(K," 20ms linear, ").concat(q," 200ms linear"):"".concat($," 200ms linear"),fontSize:p,color:h},a.icon)}),[h,p,,L.isIndeterminate,a.icon]),G=(0,i.cloneElement)(b,{__css:z,isIndeterminate:L.isIndeterminate,isChecked:L.isChecked});return i.createElement(u.m$.label,O({__css:O(O({},R),a.container),className:P("chakra-checkbox",f)},F()),i.createElement("input",O({className:"chakra-checkbox__input"},_(x,n))),i.createElement(u.m$.span,O({__css:O(O({},N),a.control),className:"chakra-checkbox__control"},A()),G),v&&i.createElement(u.m$.span,O(O({className:"chakra-checkbox__label"},B()),{},{__css:O({marginStart:s},a.label)}),v))}));z.displayName="Checkbox"},97762:function(e,n,t){t.d(n,{B:function(){return h}});var r=!1,o=null,a=!1,i=new Set,c="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function l(e,n){i.forEach((function(t){return t(e,n)}))}function u(e){a=!0,function(e){return!(e.metaKey||!c&&e.altKey||e.ctrlKey)}(e)&&(o="keyboard",l("keyboard",e))}function s(e){o="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(a=!0,l("pointer",e))}function d(e){e.target!==window&&e.target!==document&&(a||(o="keyboard",l("keyboard",e)),a=!1)}function f(){a=!1}function v(){return"pointer"!==o}function h(e){!function(){if("undefined"!=typeof window&&!r){var e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){a=!0;for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];e.apply(this,t)},document.addEventListener("keydown",u,!0),document.addEventListener("keyup",u,!0),window.addEventListener("focus",d,!0),window.addEventListener("blur",f,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",s,!0),document.addEventListener("pointermove",s,!0),document.addEventListener("pointerup",s,!0)):(document.addEventListener("mousedown",s,!0),document.addEventListener("mousemove",s,!0),document.addEventListener("mouseup",s,!0)),r=!0}}(),e(v());var n=function(){return e(v())};return i.add(n),function(){i.delete(n)}}},64270:function(e,n,t){t.d(n,{X:function(){return u}});var r=t(67294),o=t(90260),a=t(74780),i=t(15697),c=t(85893),l=function(e){var n=e.handleChange,t=e.children,r=e.checked,l=e.name,u=e.fontSize,s=void 0===u?"xs":u,d=(0,o.O)({value:l,isChecked:r,onChange:n}),f=d.state,v=d.getCheckboxProps,h=d.getInputProps,p=d.getLabelProps,m=d.htmlProps;return(0,c.jsxs)(a.kC,Object.assign({as:"label"},m,{cursor:"pointer",alignItems:"center",children:[(0,c.jsx)("input",Object.assign({},h(),{hidden:!0})),(0,c.jsx)(a.xu,Object.assign({},v(),{m:0,children:f.isChecked?(0,c.jsx)(i.d,{name:"radio-checked",width:17,height:17}):(0,c.jsx)(i.d,{name:"radio-unchecked",width:17,height:17})})),(0,c.jsx)(a.xv,Object.assign({mr:1,ml:2.5},p(),{fontSize:s,children:t}))]}))},u=(0,r.memo)(l)}}]);
2//# sourceMappingURL=487950e99ead765804533cdc05db704605492c80-214e93162bc0722bfd26.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.