PageSourceSearch

https://treehole.hk/_next/static/chunks/1f2yhppz2g8ov.js

js treehole.hk collected 2026-09-24 17:49:46 UTC 27,028 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94884,e=>{"use strict";var t=e.i(426559);let n=(0,t.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),r=t.forwardRef((e,r)=>{let{alt:o,color:a,size:i,weight:c,mirrored:u,children:l,weights:s,...f}=e,{color:d="currentColor",size:p,weight:m="regular",mirrored:g=!1,...h}=t.useContext(n);return t.createElement("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",width:null!=i?i:p,height:null!=i?i:p,fill:null!=a?a:d,viewBox:"0 0 256 256",transform:u||g?"scale(-1, 1)":void 0,...h,...f},!!o&&t.createElement("title",null,o),l,s.get(null!=c?c:m))});r.displayName="IconBase",e.s(["default",0,r],94884)},274621,546862,655132,73844,e=>{"use strict";var t=e.i(38594),n=e.i(933592),r=e.i(426559),o=e.i(110104);function a(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function i(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function c(e,t,n){return"string"==typeof e?e:e[t]||n}function u(e){let t=function(){try{return!0}catch{return!1}}(),[n,...r]=e.split("#"),o=r.join("#"),a=n;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return o&&(a+="#"+o),a}function l(e,t){let n,r=u(e),o=u(t);return(n=r.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${n}$`)).test(o)}function s(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function d(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let n=e.split("/"),r=t.split("/"),o=Math.max(n.length,r.length);for(let e=0;e<o;e++){let t=n[e],o=r[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!m(t)&&m(o))return -1;if(m(t)&&!m(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1;if(!d(t)&&d(o))return -1;if(d(t)&&!d(o))return 1}}return 0}function h(e){return e.sort(g)}function _(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}function y(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function w(e,t,n,r){if(!e||r===n||null==r||!t)return;let o=y(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let c=`${a}=${r};`;for(let[e,t]of Object.entries(i))c+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(c+="="+t),c+=";";document.cookie=c}e.s(["getLocaleAsPrefix",0,f,"getLocalePrefix",0,s,"getLocalizedTemplate",0,c,"getSortedPathnames",0,h,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,a,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,l,"normalizeTrailingSlash",0,u,"prefixPathname",0,i,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],546862),e.s(["applyPathnamePrefix",0,function(e,t,n,r){let o,{mode:c}=n.localePrefix;if(void 0!==r)o=r;else if(a(e)){let e=n.domains?.find(e=>e.locales.includes(t)),r=e?.localePrefix||c;"always"===r?o=!0:"as-needed"===r&&(o=e?t!==e.defaultLocale:t!==n.defaultLocale)}return o?i(s(t,n.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:n,pathnames:r,query:o}){function a(e){let a,i=r[e];return i?(a=c(i,t,e),n&&Object.entries(n).forEach(([e,t])=>{let n,r;Array.isArray(t)?(n=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(n=`\\[${e}\\]`,r=String(t)),a=a.replace(RegExp(n,"g"),r)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=u(a),o&&(a+=_(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...n}=e;return{...n,pathname:a(t)}}},"getBasePath",0,y,"getRoute",0,function(e,t,n){let r=h(Object.keys(n)),o=decodeURI(t);for(let t of r){let r=n[t];if("string"==typeof r){if(l(r,o))return t}else if(l(c(r,e,t),o))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e},"serializeSearchParams",0,_],655132),e.s(["default",0,w],73844);var v=e.i(996535);let C=t.default;function P({curLocale:e,linkRef:t,locale:r,localeCookie:o,onClick:a,prefetch:i,...c}){let u=(0,n.usePathname)();return(0,v.jsx)(C,{ref:t,hrefLang:r,onClick:function(t){w(o,u,e,r),a&&a(t)},prefetch:!1,...c})}var E=(0,r.forwardRef)(function({locale:e,localeCookie:t,...n},r){let a=(0,o.useLocale)();return null!=e&&e!==a?(0,v.jsx)(P,{curLocale:a,linkRef:r,locale:e,localeCookie:t,...n}):(0,v.jsx)(C,{ref:r,...n})});e.s(["default",0,E],274621)},720986,e=>{"use strict";var t=e.i(110104);function n(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let r=n(0,t.useTranslations);n(0,t.useFormatter),e.s(["useTranslations",0,r])},38594,(e,t,n)=>{"use strict";e.i(288744),Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return _},useLinkStatus:function(){return w}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=e.r(56421),i=e.r(996535),c=a._(e.r(426559)),u=e.r(519805),l=e.r(47837),s=e.r(258015),f=e.r(436104),d=e.r(69187),p=e.r(869252),m=e.r(941020),g=e.r(203180),h=e.r(442030);function _(t){var n;let r,o,a,[_,w]=(0,c.useOptimistic)(m.IDLE_LINK_STATUS),v=(0,c.useRef)(null),{href:C,as:P,children:E,prefetch:T=null,passHref:b,replace:R,shallow:S,scroll:L,onClick:I,onMouseEnter:N,onTouchStart:k,legacyBehavior:A=!1,onNavigate:O,transitionTypes:U,ref:x,unstable_dynamicOnHover:j,...M}=t;r=E,A&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let B=c.default.useContext(l.AppRouterContext),K=!1!==T,D=!1===T?"none":!0===T?"full":"auto",$="none"!==D&&"full"===D?h.FetchStrategy.Full:h.FetchStrategy.PPR,F="string"==typeof(n=P||C)?n:(0,u.formatUrl)(n);if(A){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=c.default.Children.only(r)}let X=A?o&&"object"==typeof o&&o.ref:x,z,H=c.default.useCallback(e=>(null!==B&&(v.current=(0,m.mountLinkInstance)(e,F,B,$,K,w,z)),()=>{v.current&&((0,m.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,m.unmountPrefetchableInstance)(e)}),[K,F,B,$,w,z]),W={ref:(0,s.useMergedRef)(H,X),onClick(t){A||"function"!=typeof I||I(t),A&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!B||t.defaultPrevented||function(t,n,r,o,a,i,u,l="none"){if("u">typeof window){let s,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(n)){o&&(t.preventDefault(),location.replace(n));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(87005);c.default.startTransition(()=>{d(n,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,r.current,u,l)})}}(t,F,v,R,L,O,U,D)},onMouseEnter(e){A||"function"!=typeof N||N(e),A&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),B&&K&&(0,m.onNavigationIntent)(e.currentTarget,!0===j)},onTouchStart:function(e){A||"function"!=typeof k||k(e),A&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),B&&K&&(0,m.onNavigationIntent)(e.currentTarget,!0===j)}};return(0,f.isAbsoluteUrl)(F)?W.href=F:A&&!b&&("a"!==o.type||"href"in o.props)||(W.href=(0,d.addBasePath)(F)),a=A?c.default.cloneElement(o,W):(0,i.jsx)("a",{...M,...W,children:r}),(0,i.jsx)(y.Provider,{value:_,children:a})}let y=(0,c.createContext)(m.IDLE_LINK_STATUS),w=()=>(0,c.useContext)(y);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},258015,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=e.r(426559);function o(e,t){let n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(n.current=a(e,r)),t&&(o.current=a(t,r))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},326980,(e,t,n)=>{"use strict";var r=e.r(426559).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;n.c=function(e){return r.H.useMemoCache(e)}},977967,(e,t,n)=>{"use strict";e.i(288744),t.exports=e.r(326980)},203180,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isLocalURL",{enumerable:!0,get:function(){return a}});let r=e.r(436104),o=e.r(295161);function a(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},778196,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={assign:function(){return u},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return c}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});function a(e){let t={};for(let[n,r]of e.entries()){let e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function c(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(n,i(e));else t.set(n,i(r));return t}function u(e,...t){for(let n of t){for(let t of n.keys())e.delete(t);for(let[t,r]of n.entries())e.append(t,r)}return e}},519805,(e,t,n)=>{"use strict";e.i(288744),Object.defineProperty(n,"__esModule",{value:!0});var r={formatUrl:function(){return c},formatWithValidation:function(){return l},urlObjectKeys:function(){return u}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=e.r(56421)._(e.r(778196)),i=/https?|ftp|gopher|file/;function c(e){let{auth:t,hostname:n}=e,r=e.protocol||"",o=e.pathname||"",c=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:n&&(l=t+(~n.indexOf(":")?`[${n}]`:n),e.port&&(l+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let s=e.search||u&&`?${u}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||i.test(r))&&!1!==l?(l="//"+(l||""),o&&"/"!==o[0]&&(o="/"+o)):l||(l=""),c&&"#"!==c[0]&&(c="#"+c),s&&"?"!==s[0]&&(s="?"+s),o=o.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),`${r}${l}${o}${s}${c}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return c(e)}},436104,(e,t,n)=>{"use strict";e.i(288744),Object.defineProperty(n,"__esModule",{value:!0});var r={DecodeError:function(){return _},MiddlewareNotFoundError:function(){return C},MissingStaticPage:function(){return v},NormalizeError:function(){return y},PageNotFoundError:function(){return w},SP:function(){return g},ST:function(){return h},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return f},getLocationOrigin:function(){return l},getURL:function(){return s},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return m}
1,normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,n=!1;return(...r)=>(n||(n=!0,t=e(...r)),t)}let c=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&c.test(e)};function l(){let{protocol:e,hostname:t,port:n}=window.location;return`${e}//${t}${n?":"+n:""}`}function s(){let{href:e}=window.location,t=l();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&d(n))return r;if(!r)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return r}let g="u">typeof performance,h=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class _ extends Error{}class y extends Error{}class w extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class C extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},933592,(e,t,n)=>{t.exports=e.r(917195)},519455,525732,e=>{"use strict";var t=e.i(996535),n=e.i(977967),r=e.i(426559),o=e.i(94884);let a=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"}))]]),i=r.forwardRef((e,t)=>r.createElement(o.default,{ref:t,...e,weights:a}));i.displayName="CircleNotchIcon",e.s(["CircleNotch",0,i],525732);let c={primary:"rounded-full font-bold t-press bg-accent text-on-accent hover:bg-accent-strong disabled:bg-bark-300 disabled:text-bark-600",secondary:"rounded-full font-bold t-press border border-line-strong text-ink hover:border-accent hover:text-accent disabled:opacity-60"};e.s(["Button",0,function(e){let r,o,a,u,l,s,f,d,p,m,g,h,_=(0,n.c)(24);_[0]!==e?({variant:l,pending:s,loadingLabel:a,spinnerSize:f,disabled:o,className:d,type:p,children:r,...u}=e,_[0]=e,_[1]=r,_[2]=o,_[3]=a,_[4]=u,_[5]=l,_[6]=s,_[7]=f,_[8]=d,_[9]=p):(r=_[1],o=_[2],a=_[3],u=_[4],l=_[5],s=_[6],f=_[7],d=_[8],p=_[9]);let y=void 0===l?"primary":l,w=void 0!==s&&s,v=void 0===f?18:f,C=void 0===d?"":d,P=void 0===p?"button":p,E="none"===y?"":c[y],T=o||w,b=w||void 0;_[10]!==C||_[11]!==E?(m=`inline-flex items-center justify-center gap-2 disabled:cursor-not-allowed ${E} ${C}`.replace(/\s+/g," ").trim(),_[10]=C,_[11]=E,_[12]=m):m=_[12],_[13]!==w||_[14]!==v?
1(g=w&&(0,t.jsx)(i,{size:v,weight:"bold","aria-hidden":"true",className:"motion-safe:animate-spin"}),_[13]=w,_[14]=v,_[15]=g):g=_[15];let R=w&&void 0!==a?a:r;return _[16]!==u||_[17]!==R||_[18]!==T||_[19]!==b||_[20]!==m||_[21]!==g||_[22]!==P?(h=(0,t.jsxs)("button",{type:P,disabled:T,"aria-busy":b,className:m,...u,children:[g,R]}),_[16]=u,_[17]=R,_[18]=T,_[19]=b,_[20]=m,_[21]=g,_[22]=P,_[23]=h):h=_[23],h}],519455)},688921,e=>{"use strict";var t=e.i(288744);let n=t.default.env.NEXT_PUBLIC_GA4_ID||"G-GZE65GCPC4";t.default.env.NEXT_PUBLIC_ADS_ID;let r=t.default.env.NEXT_PUBLIC_META_PIXEL_ID||"1791343134282303",o="th_meta_am",a=e=>"false"===e||"0"===e,i={contentCta:!a(t.default.env.NEXT_PUBLIC_TRACK_CONTENT_CTA),pageView:!a(t.default.env.NEXT_PUBLIC_TRACK_PAGEVIEW),lead:!a(t.default.env.NEXT_PUBLIC_TRACK_LEAD),initiateCheckout:!a(t.default.env.NEXT_PUBLIC_TRACK_INITIATE_CHECKOUT),completeRegistration:!a(t.default.env.NEXT_PUBLIC_TRACK_REGISTRATION),viewContent:!a(t.default.env.NEXT_PUBLIC_TRACK_VIEW_CONTENT),purchase:!a(t.default.env.NEXT_PUBLIC_TRACK_PURCHASE),addToCart:!a(t.default.env.NEXT_PUBLIC_TRACK_ADD_TO_CART),share:!a(t.default.env.NEXT_PUBLIC_TRACK_SHARE),preferredSource:!a(t.default.env.NEXT_PUBLIC_TRACK_PREFERRED_SOURCE),portfolio:!a(t.default.env.NEXT_PUBLIC_TRACK_PORTFOLIO),psychometricsResult:!a(t.default.env.NEXT_PUBLIC_TRACK_PSYCHOMETRICS_RESULT),psychometricsCta:!a(t.default.env.NEXT_PUBLIC_TRACK_PSYCHOMETRICS_CTA),paymentFailedPrompt:!a(t.default.env.NEXT_PUBLIC_TRACK_PAYMENT_FAILED_PROMPT),couponOffer:!a(t.default.env.NEXT_PUBLIC_TRACK_COUPON_OFFER),picker:!a(t.default.env.NEXT_PUBLIC_TRACK_PICKER),communityJoin:!a(t.default.env.NEXT_PUBLIC_TRACK_COMMUNITY_JOIN),appInstall:!a(t.default.env.NEXT_PUBLIC_TRACK_APP_INSTALL),enrolFlow:!a(t.default.env.NEXT_PUBLIC_TRACK_ENROL_FLOW),resumePrompt:!a(t.default.env.NEXT_PUBLIC_TRACK_RESUME_PROMPT)};async function c(e){try{if(!window.crypto?.subtle||!window.localStorage)return;let t=Object.entries(e).filter(([,e])=>e);if(0===t.length)return;let n={};for(let[e,r]of t){let t=await crypto.subtle.digest("SHA-256",new TextEncoder().encode(r));n[e]=Array.from(new Uint8Array(t),e=>e.toString(16).padStart(2,"0")).join("")}let r={};try{r=JSON.parse(localStorage.getItem(o)??"{}")??{}}catch{}let a=n.em&&r.em===n.em||n.external_id&&r.external_id===n.external_id;localStorage.setItem(o,JSON.stringify(a?{...r,...n}:n))}catch{}}function u(e,t,n){"function"==typeof window.fbq&&(n?window.fbq("track",e,t??{},{eventID:n}):window.fbq("track",e,t??{}))}function l(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push(e)}function s(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e))}function f(e,t){try{fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s(t)),keepalive:!0,credentials:"same-origin"})}catch{}}let d="th_signup_source",p=new Set(["event","service","practitioner"]);e.s(["clearMetaUserData",0,function(){try{localStorage.removeItem(o)}catch{}},"setMetaUserData",0,function(e){if(!r||"function"!=typeof window.fbq)return;let t=e=>(e??"").trim()||void 0,n=s({em:t(e.email)?.toLowerCase(),fn:t(e.firstName)?.toLowerCase(),ln:t(e.lastName)?.toLowerCase(),ph:e.phone&&e.phone.replace(/\D+/g,"")||void 0,ct:t(e.city)?.toLowerCase(),st:t(e.state)?.toLowerCase(),zp:t(e.zip)?.toLowerCase(),country:t(e.country)?.toLowerCase(),external_id:t(e.externalId)});if(0===Object.keys(n).length)return;window.fbq("init",r,n);let o=e=>(e??"").toLowerCase().replace(/[^a-z0-9]/g,"")||void 0;c(s({em:t(e.email)?.toLowerCase(),fn:t(e.firstName)?.toLowerCase(),ln:t(e.lastName)?.toLowerCase(),ph:e.phone&&e.phone.replace(/\D+/g,"")||void 0,ct:o(e.city),st:o(e.state),zp:o(e.zip),country:o(e.country),external_id:t(e.externalId)?.toLowerCase()}))},"setSignupSource",0,function(e){try{e?window.sessionStorage.setItem(d,e):window.sessionStorage.removeItem(d)}catch{}},"trackAddToCart",0,function(e){i.addToCart&&u("AddToCart",s({content_type:"product",content_ids:[e.id],value:e.value,currency:e.currency??"HKD"}),e.eventID)},"trackAppInstall",0,function(e){i.appInstall&&"function"==typeof window.gtag&&window.gtag("event","app_install_prompt",s({send_to:n,action:e.action,platform:e.platform,surface:e.surface,via:e.via,platforms:e.platforms}))},"trackCommunityJoin",0,function(e){i.communityJoin&&"function"==typeof window.gtag&&window.gtag("event","community_join_click",{source:e.source})},"trackCompleteRegistration",0,function(e){if(!i.completeRegistration)return;let t=e?.method??"email",n=e?.source??function(){try{let e=window.sessionStorage.getItem(d);return e&&window.sessionStorage.removeItem(d),e||void 0}catch{return}}();u("CompleteRegistration",{status:!0}),"function"==typeof window.gtag&&window.gtag("event","sign_up",s({method:t,signup_source:n}))},"trackContentCta",0,function(e){i.contentCta&&"function"==typeof window.gtag&&window.gtag("event","content_cta",
1s({send_to:n,action:e.action,cta_intent:e.intent,cta_placement:e.placement,content_type:e.surface,content_id:e.contentId.slice(0,100),cta_version:"illustrated_v1",dismiss_reason:e.reason}))},"trackCouponOffer",0,function(e){i.couponOffer&&"function"==typeof window.gtag&&window.gtag("event","coupon_offer",{action:e.action,coupon_campaign:e.campaign})},"trackEnrolFlow",0,function(e){i.enrolFlow&&"function"==typeof window.gtag&&window.gtag("event","enrol_flow",s({send_to:n,action:e.action,step:e.step,product_id:String(e.productId),source:e.source}))},"trackLead",0,function(e){if(!i.lead)return;let t=e.currency??"HKD";u("Lead",s({content_name:e.source,value:e.value,currency:t})),l(s({event:"generate_lead",lead_source:e.source,value:e.value,currency:t}))},"trackPageView",0,function(e,t,n){let r;if(!i.pageView)return;let o=(r="u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now().toString(36)}${Math.random().toString(36).slice(2,10)}`,`pv_${r}`);u("PageView",void 0,o),f("/api/track/page-view/",{event_id:o,url:e}),l(s({event:"spa_page_view",page_location:e,page_path:t,page_title:n}))},"trackPaymentFailedPrompt",0,function(e){i.paymentFailedPrompt&&"function"==typeof window.gtag&&window.gtag("event","payment_failed_prompt",s({action:e.action,failure:e.failure}))},"trackPickerCta",0,function(e){i.picker&&"function"==typeof window.gtag&&window.gtag("event","picker_cta_click",s({service:e.service,tier:e.tier,community:+!!e.community,surface:e.surface}))},"trackPickerResult",0,function(e){i.picker&&"function"==typeof window.gtag&&window.gtag("event","picker_result",s({service:e.service,path:e.path,surface:e.surface,community_first:+!!e.communityFirst}))},"trackPickerStep",0,function(e){i.picker&&"function"==typeof window.gtag&&window.gtag("event","picker_step",s({step:e.step,surface:e.surface}))},"trackPortfolioCta",0,function(e){i.portfolio&&"function"==typeof window.gtag&&window.gtag("event","portfolio_cta_click",s({surface:e.surface,instrument:e.instrument}))},"trackPortfolioView",0,function(e){i.portfolio&&"function"==typeof window.gtag&&window.gtag("event","portfolio_view",{collected:e.collected,total:e.total,identity:e.identity,surface:e.surface??"psychometrics_page"})},"trackPreferredSource",0,function(e){i.preferredSource&&"function"==typeof window.gtag&&window.gtag("event","preferred_source_click",{surface:e.surface})},"trackPsychometricsCta",0,function(e){i.psychometricsCta&&"function"==typeof window.gtag&&window.gtag("event","psychometrics_cta_click",s({instrument:e.instrument,service:e.service,surface:e.surface}))},"trackPsychometricsHomeHandoff",0,function(e){i.psychometricsCta&&"function"==typeof window.gtag&&window.gtag("event","psychometrics_home_handoff",{action:e.action})},"trackPsychometricsResult",0,function(e){i.psychometricsResult&&"function"==typeof window.gtag&&window.gtag("event","psychometrics_result_view",{instrument:e.instrument})},"trackPurchase",0,function(e){i.purchase&&u("Purchase",s({content_type:"product",content_ids:e.contentIds&&e.contentIds.length?e.contentIds:void 0,value:e.value,currency:e.currency??"HKD"}),`purchase_${e.orderId}`)},"trackResumePrompt",0,function(e){i.resumePrompt&&"function"==typeof window.gtag&&window.gtag("event","resume_prompt",{send_to:n,action:e.action})},"trackShare",0,function(e){i.share&&"function"==typeof window.gtag&&window.gtag("event","share",s({method:e.method,content_type:e.contentType,item_id:e.itemId}))},"trackViewContent",0,function(e){if(!i.viewContent)return;let t=null!=e.value?e.currency??"HKD":void 0;u("ViewContent",s({content_type:e.contentType,content_ids:e.id?[e.id]:void 0,content_name:e.name,content_category:e.category,value:e.value,currency:t})),p.has(e.contentType)&&f("/api/track/view-item/",{id:e.id,name:e.name,category:e.category,value:e.value,currency:e.currency})}],688921)},240834,e=>{"use strict";let t={"--overlay-close-dur":150,"--modal-close-dur":150,"--drawer-close-dur":350,"--dropdown-close-dur":150,"--reveal-dur":400,"--shake-dur-a":80,"--shake-dur-b":60,"--step-out-dur":150,"--step-in-dur":250,"--step-height-dur":250};function n(e){let n=getComputedStyle(document.documentElement).getPropertyValue(e).trim(),r
1=Number.parseFloat(n);return Number.isFinite(r)?n.endsWith("ms")?r:n.endsWith("s")?1e3*r:r:t[e]}function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}e.s(["exitMs",0,function(e){return r()?0:n(e)},"motionMs",0,n,"prefersReducedMotion",0,r])},301411,e=>{"use strict";var t=e.i(977967),n=e.i(426559),r=e.i(240834);function o(e){return!e||(0,r.prefersReducedMotion)()?null:(e.classList.remove("is-shaking"),e.getBoundingClientRect(),e.classList.add("is-shaking"),window.setTimeout(()=>e.classList.remove("is-shaking"),2*(0,r.motionMs)("--shake-dur-a")+2*(0,r.motionMs)("--shake-dur-b")+20))}e.s(["shakeElement",0,o,"useErrorShake",0,function(){let e,r,a,i,c=(0,t.c)(4),u=(0,n.useRef)(null),l=(0,n.useRef)(null);c[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>()=>{null!==l.current&&window.clearTimeout(l.current)},r=[],c[0]=e,c[1]=r):(e=c[0],r=c[1]),(0,n.useEffect)(e,r),c[2]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{null!==l.current&&window.clearTimeout(l.current),l.current=o(u.current)},c[2]=a):a=c[2];let s=a;return c[3]===Symbol.for("react.memo_cache_sentinel")?(i={ref:u,shake:s},c[3]=i):i=c[3],i}])}]);

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.