PageSourceSearch

https://www.moneyhero.com.hk/_next/static/chunks/736f5484eca17744.js

js moneyhero.com.hk collected 2026-09-24 19:46:11 UTC 47,937 bytes, 19 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="10f7563d-61fe-5901-10e0-c233ab58920e")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,246215,e=>{"use strict";var t=e.i(843476),r=e.i(343794),a=e.i(271645),l=e.i(400226);e.i(174345);var i=e.i(774860),n=e.i(564755),s=e.i(789450),o=e.i(943032),c=e.i(469835),u=e.i(974501);e.s(["ProductCardOffer",0,({type:e,uid:d,offer_title:h,description:m,introduction:g,list_of_gifts:f})=>{let v=(0,i.useCmsClientContext)(),p=(0,n.getClientTranslations)(l.BaseTranslations,v),[x,b]=(0,a.useState)(!1);return(0,t.jsxs)("div",{className:"rounded-2xl px-padding/x py-padding/y bg-white xl:rounded-3xl",children:[(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)(u.Tag,{color:"exclusive"===e?"blue":"gray",children:h})}),g&&(0,t.jsx)("p",{className:"mb-2",dangerouslySetInnerHTML:{__html:g}}),(0,t.jsx)("h5",{className:"mb-1 !font-bold text-gray-800 alpha-body-2 md:mb-2",children:(0,s.tr)("offers",p)}),(0,t.jsx)("ul",{className:"ml-2 list-disc px-padding/x !font-bold text-gray-800 alpha-body-2",children:f?.map((e,r)=>(0,t.jsx)("li",{id:`#gift_${e?.id}_${d}`,className:"mb-2",children:e?.criteria_list&&e.criteria_list.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:e.criteria_list.filter(e=>!!e).map((r,a)=>(0,t.jsxs)("span",{className:"inline",children:[(0,t.jsx)("span",{children:r.label}),":",(0,t.jsxs)("span",{children:[r.starting_point_label," ",r.prefix,r.value_start,r.ending_point_label?(0,t.jsxs)("span",{children:[r.ending_point_label," ",r.prefix,r.value_end,r.suffix]}):(0,t.jsx)("span",{children:r.suffix})]}),a<e.criteria_list.length-1&&(0,t.jsx)("span",{children:" + "})]},r.label))}),(0,t.jsx)("ul",{className:"ml-2 list-disc px-padding/x text-gray-800 alpha-body-2",children:(0,t.jsxs)("li",{className:"font-bold",children:[e.gift?.gift_title,r<f.length-1&&`; ${p.or} `]})})]}):(0,t.jsxs)("span",{children:[e?.gift?.gift_title,r<f.length-1&&`; ${p.or} `]})},e?.id))}),m&&(0,t.jsxs)("div",{className:"mt-4 rounded-2xl px-padding/x py-padding/y bg-gray-200 md:mt-6 xl:rounded-3xl",children:[(0,t.jsxs)("button",{type:"button",className:"flex w-full cursor-pointer items-center justify-between",onClick:()=>b(!x),"aria-expanded":x,"aria-controls":"terms-content",children:[(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)("h5",{className:"!font-semibold text-gray-700 alpha-body-2",children:p.terms_and_conditions})}),(0,t.jsx)(o.MaterialIcon,{icon:"expand_less",className:`transition-transform ${x?"rotate-0":"rotate-180"}`})]}),(0,t.jsx)(c.RichText,{id:"terms-content",className:(0,r.default)({hidden:!x},"prose mt-1 max-w-full text-gray-800 alpha-body-2 md:mt-2 [&>ul]:ml-2 [&>ul]:pl-6 [&_a]:underline [&_a]:text-[--text-link]"),children:m})]})]})}])},997751,666627,e=>{"use strict";var t=e.i(843476);function r({className:e}){return(0,t.jsxs)("svg",{width:"24",height:"12",viewBox:"0 0 200 72.36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("path",{fill:"#fff",d:"M38.72 72.37V41.05H71.9l3.56 4.64 3.68-4.64H199.5v29.16s-3.14 2.12-6.78 2.16h-66.66l-4.02-4.94v4.94H108.9v-8.44s-1.8 1.18-5.68 1.18h-4.48v7.26h-19.9l-3.56-4.74-3.6 4.74H38.72ZM0 17.431 7.48-.009h12.94l4.24 9.76v-9.76h16.08l2.52 7.06 2.44-7.06h72.18v3.54s3.8-3.54 10.02-3.54l23.42.08 4.18 9.64v-9.72h13.46l3.7 5.54v-5.54h13.58v31.34h-13.58l-3.54-5.56v5.56h-19.76l-1.98-4.94h-5.32l-1.96 4.94h-13.4c-5.36 0-8.8-3.48-8.8-3.48v3.48H97.66l-4.02-4.94v4.94H18.5l-1.98-4.94h-5.3l-1.98 4.94H0v-13.9Z"}),(0,t.jsx)("path",{fill:"#016FD0",d:"M10.12 3.871.04 27.331H6.6l1.86-4.7h10.82l1.86 4.7h6.72L17.78 3.871h-7.66Zm3.74 5.44 3.3 8.2h-6.6l3.3-8.2ZM28.54 27.311V3.851l9.34.04 5.42 15.12 5.3-15.16h9.26v23.46H52v-17.28l-6.22 17.28h-5.14l-6.24-17.28v17.28h-5.86ZM61.88 27.311V3.851h19.14v5.24h-13.2v4.02H80.7v4.94H67.8v4.16H81v5.1H61.88ZM84.4 3.871v23.46h5.86v-8.34h2.46l7.04 8.34h7.16l-7.72-8.64c3.16-.26 6.44-2.98 6.44-7.2 0-4.94-3.88-7.6-8.2-7.6l-13.04-.02Zm5.86 5.24h6.7c1.6 0 2.78 1.26 2.78 2.46 0 1.56-1.52 2.46-2.7 2.46h-6.78v-4.92ZM114.02 27.311h-5.98V3.851h5.98v23.46ZM128.22 27.311h-1.3c-6.26 0-10.04-4.92-10.04-11.62 0-6.86 3.76-11.82 11.64-11.82H135v5.56h-6.7c-3.2 0-5.48 2.5-5.48 6.32 0 4.54 2.6 6.44 6.32 6.44h1.54l-2.46 5.12ZM140.98 3.871l-10.08 23.44h6.56l1.86-4.7h10.82l1.86 4.7h6.7l-10.08-23.46-7.64.02Zm3.72 5.44 3.3 8.2h-6.6l3.3-8.2ZM159.38 27.311V3.851h7.46l9.52 14.74V3.851h5.86v23.46H175l-9.76-15.12v15.12h-5.86ZM42.74 68.351v-23.46h19.14v5.24h-13.2v4.02h12.9v4.94h-12.9v4.16h13.2v5.1H42.74ZM136.48 68.351v-23.46h19.14v5.24h-13.2v4.02h12.84v4.94h-12.84v4.16h13.2v5.1h-19.14ZM62.62 68.351l9.32-11.58-9.54-11.88h7.38l5.68 7.34 5.7-7.34h7.1l-9.42 11.72 9.34 11.72H80.8l-5.52-7.22-5.38 7.22-7.28.02ZM88.88 44.911v23.46h6.02v-7.4h6.18c5.22 0 9.18-2.78 9.18-8.16 0-4.46-3.1-7.88-8.42-7.88H88.88v-.02Zm6.02 5.3h6.5c1.68 0 2.9 1.04 2.9 2.7 0 1.56-1.2 2.7-2.92 2.7H94.9v-5.4ZM112.78 44.891v23.46h5.86v-8.34h2.46l7.04 8.34h7.16l-7.72-8.64c3.16-.26 6.44-2.98 6.44-7.2 0-4.94-3.88-7.6-8.2-7.6l-13.04-.02Zm5.88 5.26h6.7c1.6 0 2.78 1.26 2.78 2.46 0 1.56-1.52 2.46-2.7 2.46h-6.78v-4.92ZM158.34 68.351v-5.1h11.74c1.74 0 2.48-.94 2.48-1.96 0-.98-.74-1.98-2.48-1.98h-5.3c-4.6 0-7.18-2.8-7.18-7.02 0-3.76 2.36-7.38 9.2-7.38h11.42l-2.46 5.28h-9.88c-1.88 0-2.46 1-2.46 1.94 0 .98.72 2.04 2.16 2.04h5.56c5.14 0 7.36 2.92 7.36 6.74 0 4.1-2.48 7.46-7.64 7.46h-12.52v-.02ZM179.8
26 68.351v-5.1h11.74c1.74 0 2.48-.94 2.48-1.96 0-.98-.74-1.98-2.48-1.98h-5.3c-4.6 0-7.18-2.8-7.18-7.02 0-3.76 2.36-7.38 9.2-7.38h11.42l-2.46 5.28h-9.88c-1.88 0-2.46 1-2.46 1.94 0 .98.72 2.04 2.16 2.04h5.56c5.14 0 7.36 2.92 7.36 6.74 0 4.1-2.48 7.46-7.64 7.46h-12.52v-.02Z"})]})}function a({className:e}){return(0,t.jsx)("img",{src:"https://mhgprod.blob.core.windows.net/fe-services/content/assets/payment-icons/apple-pay.png",alt:"",loading:"lazy",width:24,height:14,className:e})}e.s(["AmexIcon",()=>r],997751),e.s(["ApplePayIcon",()=>a],666627)},454305,e=>{"use strict";var t=e.i(843476);e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...e,children:[(0,t.jsx)("mask",{id:"a",width:32,height:32,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:(0,t.jsx)("path",{d:"M0 0h32v32H0z"})}),(0,t.jsx)("g",{mask:"url(#a)",children:(0,t.jsx)("path",{d:"m12.072 28.31-2.225-3.794-4.341-.88.438-4.361-2.815-3.272 2.815-3.264-.438-4.336 4.34-.905 2.226-3.803 3.929 1.734 3.928-1.734 2.259 3.803 4.333.905-.464 4.336 2.816 3.264-2.816 3.272.464 4.361-4.333.88-2.26 3.795-3.927-1.734-3.929 1.734Zm.465-1.35L16 25.535l3.512 1.423 2.08-3.256 3.772-.897-.349-3.89 2.572-2.913-2.572-2.928.349-3.916-3.772-.856-2.095-3.256-3.497 1.423-3.513-1.423-2.08 3.256-3.771.856.348 3.916-2.571 2.928 2.571 2.913-.348 3.905 3.771.882 2.129 3.256Zm2.056-7.293 6.618-6.577-.782-.7-5.836 5.82-3.013-3.094-.79.782 3.803 3.77Z"})})]})])},574648,114592,435681,622947,492407,e=>{"use strict";var t=e.i(843476);function r({className:e}){return(0,t.jsx)("img",{src:"https://mhgprod.blob.core.windows.net/fe-services/content/assets/payment-icons/google-pay.png",alt:"",loading:"lazy",width:24,height:14,className:e})}function a({className:e}){return(0,t.jsx)("img",{src:"https://mhgprod.blob.core.windows.net/fe-services/content/assets/payment-icons/mastercard.png",alt:"",loading:"lazy",width:30,height:18,className:e})}function l({className:e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"10",viewBox:"0 0 92 23",fill:"none",className:e,children:[(0,t.jsx)("path",{d:"M83.9434 8.86326H71.5863C70.3417 8.86326 69.3213 7.92919 69.3213 6.7668C69.3213 5.6044 70.3305 4.67034 71.5863 4.67034L81.9026 4.68072C84.4144 4.68072 85.5581 5.23078 85.7151 6.92248C85.7824 7.59708 86.3094 8.14714 87.0495 8.14714H89.337C90.0771 8.14714 90.6714 7.59708 90.6714 6.92248C90.6714 3.34189 88.7315 0 82.0932 0L39.6396 0.0103785V4.67034H50.7184V21.2967C50.7184 22.0025 51.3351 22.5629 52.0864 22.5629H54.8897C55.6522 22.5629 56.2578 21.9921 56.2578 21.2967V4.67034H64.6565C64.4098 5.35532 64.2753 6.08182 64.2641 6.83945V6.84983V6.86021C64.2641 11.0739 67.3477 13.4921 74.3785 13.4921H83.9098C85.289 13.4921 86.3318 14.4573 86.3318 15.7338C86.3318 17.0208 85.1544 17.9341 83.8425 17.9341L73.2123 17.9237C70.7005 17.9237 69.5119 17.3321 69.3549 15.6301C69.2876 14.9555 68.7606 14.4054 68.0205 14.4054H65.733C64.9929 14.4054 64.3986 14.9555 64.3986 15.6301C64.3986 19.2107 66.3385 22.5525 72.9768 22.5525L83.921 22.5629C88.0363 22.5629 91.3778 19.4909 91.3778 15.7131C91.4003 11.9353 88.0587 8.86326 83.9434 8.86326Z",fill:"#EA0029"}),(0,t.jsx)("path",{d:"M40.9178 0.0126953H22.6738V4.67265H40.9178C41.6915 4.67265 42.3195 4.09146 42.3195 3.37534V1.31001C42.3195 0.593893 41.6915 0.0126953 40.9178 0.0126953Z",fill:"#003DA6"}),(0,t.jsx)("path",{d:"M40.9174 8.95703H22.6733V13.617H40.9174C41.6911 13.617 42.3191 13.0358 42.3191 12.3197V10.2543C42.3191 9.53823 41.6911 8.95703 40.9174 8.95703Z",fill:"#003DA6"}),(0,t.jsx)("path",{d:"M40.9174 17.9023H22.6733V22.5623H40.9174C41.6911 22.5623 42.3191 21.9811 42.3191 21.265V19.1997C42.3191 18.4835 41.6911 17.9023 40.9174 17.9023Z",fill:"#003DA6"}),(0,t.jsx)("path",{d:"M20.711 0.0117188C19.9485 0.0117188 19.343 0.582538 19.343 1.2779V15.3097L7.05317 0.509888C6.79526 0.198532 6.39159 0.0117188 5.96548 0.0117188H1.36802C0.616732 0.0117188 0 0.582538 0 1.2779V21.2981C0 22.0038 0.616732 22.5643 1.36802 22.5643H3.65554C4.41804 22.5643 5.02356 21.9934 5.02356 21.2981V5.61612L18.401 21.734C18.7038 22.0972 19.1523 22.5643 19.87 22.5643H22.9873C23.7498 22.5643 24.3553 21.9934 24.3553 21.2981V4.67168V1.2779C24.3553 0.582538 23.7498 0.0117188 22.9873 0.0117188H20.711Z",fill:"#EA0029"})]})}function i({className:e}){return(0,t.jsx)("img",{src:"https://mhgprod.blob.core.windows.net/fe-services/content/assets/payment-icons/samsung-pay.png",alt:"",loading:"lazy",width:24,height:14,className:e})}function n({className:e}){return(0,t.jsxs)("svg",{width:"40",height:"15",viewBox:"0 0 150 64",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,t.jsx)("rect",{width:"150",height:"64",fill:"#1A1F71"}),(0,t.jsx)("text",{x:"50%",y:"50%",dominantBaseline:"middle",textAnchor:"middle",fill:"white",fontFamily:"Arial, sans-serif",fontSize:"24",fontWeight:"bold",children:"VISA"})]})}e.s(["GooglePayIcon",()=>r],574648),e.s(["MastercardIcon",()=>a],114592),e.s(["NetsPayIcon",()=>l],435681),e.s(["SamsungPayIcon",()=>i],622947),e.s(["VisaIcon",()=>n],492407)},995918,225862,e=>{"use strict";var t=e.i(271645);let r=()=>{},a=function(e,a,l){let i=(0,t.useRef)(r);(0,t.useEffect)(()=>{i.current=e}),(0,t.useEffect)(()=>{l&&null!==a&&!1!==a&&i.current()},[l,a]),(0,t.useEffect)(()=>
2{if(null===a||!1===a)return;let e=setInterval(()=>i.current(),a);return()=>clearInterval(e)},[a])};e.s(["default",0,a],225862);let l=new Promise(e=>{function t(r){e(),setTimeout(()=>{r.currentTarget?.removeEventListener(r.type,t)},1e3)}{let r={passive:!0};document.body.addEventListener("mousedown",t,r),document.body.addEventListener("mousemove",t,r),document.body.addEventListener("touchstart",t,r),document.body.addEventListener("touchmove",t,r),document.body.addEventListener("click",t,r),document.addEventListener("scroll",t,r),window.setTimeout(()=>e(),3500)}});var i=e.i(295750),n=e.i(549257);function s(e,r,s){var o,c;let u,{lang:d}=(0,i.useClientContext)(),h=e.inject?{language:d,...r??{}}:r,m=(0,t.useRef)({initial:!0}),[g,f]=(0,t.useState)({variables:h,data:s?.initialData}),[v,p]=(0,t.useState)(!s?.initialData&&s?.enabled!==!1),[x,b]=(0,t.useState)(0);return a(()=>b(Date.now()),"function"==typeof s?.refetchInterval?s.refetchInterval(g.data):s?.refetchInterval??!1),o=()=>{if(m.current.initial&&s?.initialData)m.current.initial=!1;else{if(m.current.initial=!1,s?.enabled===!1)return;let t=m.current,a=()=>{t.loading&&(clearTimeout(t.loading),t.loading=void 0),p(!1)};l.then(async()=>{for await(let l of(t.loading||(t.loading=setTimeout(()=>p(!0),s?.timeout??300)),t.controller&&(t.controller.abort(),t.controller=void 0),t.controller=new AbortController,(0,n.fetchClientOperation)(e,h,{signal:t.controller?.signal,acceptedLanguage:d})))f({variables:r,data:l.data}),a()}).catch(e=>{console.error(e)}).finally(()=>{a()})}},c={_query:e,_enabled:s?.enabled,_timer:x,...h??{}},u=(0,t.useRef)(null),(0,t.useEffect)(()=>{!function(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let a of r)if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1;return!0}(u.current,c)&&(u.current=c,o())}),{loading:v,data:g.data,variables:g.variables}}function o(e){let{lang:r}=(0,i.useClientContext)();return(0,t.useMemo)(()=>({send:async t=>(e.inject&&(t={language:r,...t}),(await (0,n.fetchClientOperation)(e,t,{acceptedLanguage:r}).next()).value)}),[e,r])}e.s(["useMutation",()=>o,"useQuery",()=>s],995918)},104249,e=>{"use strict";let t;var r=e.i(843476);e.i(828280);var a=e.i(230038),l=e.i(271645),i=e.i(174080);function n(e){let l=(0,a.useClient)(()=>(t||(t=document.createElement("div"),document.body.appendChild(t)),t));return l?(0,i.createPortal)((0,r.jsx)(r.Fragment,{children:e.children}),l):null}e.s(["Portal",()=>n,"PortalTo",0,({rootId:e,children:t,styleToSet:r})=>{let[a,n]=(0,l.useState)(null);return((0,l.useEffect)(()=>{let t=e=>{r&&Object.keys(r).forEach(t=>{if(!r[t])return;let a=r[t];"string"==typeof a&&(e.style[t]=a)})},a=document.getElementById(e);if(a){t(a),n(a);return}let l=new MutationObserver((r,a)=>{let l=document.getElementById(e);l&&(t(l),n(l),a.disconnect())});return l.observe(document.body,{childList:!0,subtree:!0}),()=>l.disconnect()},[e,r]),a)?(0,i.createPortal)(t,a):null}])},758058,e=>{"use strict";let t={green:{gradient:"linear-gradient(to right, var(--colors-campaign-green-1), white)",topGradient:"linear-gradient(to right, var(--colors-campaign-green-4), var(--colors-campaign-green-2))",cardText:"text-campaign/green-4",button:{border:"border-colors/campaign-green-4",text:"text-colors/campaign-green-4"}},red:{gradient:"linear-gradient(to right, var(--colors-campaign-red-1), white)",topGradient:"linear-gradient(to right, var(--colors-campaign-red-4), var(--colors-campaign-red-2))",cardText:"text-campaign/red-3",button:{border:"border-colors/campaign-red-3",text:"text-colors/campaign-red-3"}},blue:{gradient:"linear-gradient(to right, var(--colors-campaign-blue-1), white)",topGradient:"linear-gradient(to right, var(--colors-campaign-blue-4), var(--colors-campaign-blue-2))",cardText:"text-campaign/blue-4",button:{border:"border-colors/campaign-blue-4",text:"text-colors/campaign-blue-4"}},yellow:{gradient:"linear-gradient(to right, var(--colors-campaign-yellow-1), white)",topGradient:"linear-gradient(to right, var(--colors-campaign-yellow-4), var(--colors-campaign-yellow-2))",cardText:"text-campaign/yellow-4",button:{border:"border-colors/campaign-yellow-4",text:"text-colors/campaign-yellow-4"}}
2,orange:{gradient:"linear-gradient(to right, var(--colors-campaign-orange-1), white)",topGradient:"linear-gradient(to right, var(--colors-campaign-orange-4), var(--colors-campaign-orange-2))",cardText:"text-campaign/orange-4",button:{border:"border-colors/campaign-orange-4",text:"text-colors/campaign-orange-4"}}};e.s(["getColorSchema",0,e=>Object.keys(t).includes(e?.toLowerCase())?t[e.toLowerCase()]:t.green])},310928,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("7f89330f9b93b9b999d23f008af85ddd5cff6c4629",t.callServer,void 0,t.findSourceMapURL,"createLead");e.s(["createLead",()=>r])},414814,608002,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("7f008448b6dc9f7fe203f042944d5772d5b53e6b00",t.callServer,void 0,t.findSourceMapURL,"trackLeadCreation");e.s(["trackLeadCreation",()=>r],414814);let a=(0,t.createServerReference)("7ffa4bb353933734f8705f8f320d458efdd4f3494f",t.callServer,void 0,t.findSourceMapURL,"SendLeadToServiceBus");e.s(["SendLeadToServiceBus",()=>a],608002)},662660,e=>{"use strict";var t=e.i(843476),r=e.i(343794);e.s(["default",0,({checked:e,disabled:a,onChange:l,className:i="",labelProps:n={},inputProps:s={}})=>{let{className:o,...c}=n,{className:u,...d}=s;return(0,t.jsxs)("label",{...c,className:`
3        inline-flex cursor-pointer items-center
4        ${i} ${o??""}
5      `,children:[(0,t.jsx)("input",{...d,type:"checkbox",checked:e,onChange:e=>l(e.currentTarget.checked),className:`
6          peer sr-only
7          ${u??""}
8        `}),(0,t.jsx)("span",{className:(0,r.default)(`
9          peer:hover:shadow-[0px_4px_6px_-1px_rgba(0,0,0,0.10),0px_2px_4px_-2px_rgba(0,0,0,0.10)]
10          inline-flex size-5 items-center justify-center
11          rounded-[--roundness-s] border
12          transition-colors
13          peer-checked:border-buttons/primary peer-checked:bg-buttons/primary
14          peer-checked:hover:border-buttons/primary-hover peer-checked:hover:shadow-md peer-checked:hover:bg-buttons/primary-hover
15          peer-focus:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-black
16        `,{"border-borders/form-default hover:border-borders/form-hover":!e&&!a,"border-borders/default":a}),children:e&&(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",children:(0,t.jsx)("path",{d:"M4.95836 9.70983L0.512939 5.26441L1.40377 4.37337L4.95836 7.92796L12.5963 0.290039L13.4871 1.18108L4.95836 9.70983Z",fill:"white"})})})]})}])},299774,305922,e=>{"use strict";var t=e.i(843476),r=e.i(450818),a=e.i(343794);e.i(910881);var l=e.i(943032),i=e.i(271645);function n({indeterminate:e,override:t,validity:r,validate:a}){let[l,n]=(0,i.useState)(!1),[,s]=(0,i.useState)(),o=()=>{if(void 0!==t)return{valid:t,errorMessage:""};if(e)return{valid:void 0,errorMessage:""};let l=a()??null;return{valid:null==l?r.valid:!l,errorMessage:l??""}},c=o(),u=(0,i.useRef)(c);return l&&!1!==u.current.valid||(u.current=c),l&&(c=u.current),{...c,setFocus:n,hasFocus:l,forceValidation:()=>{u.current=o(),s({})}}}function s(e){let t=Object.values(e).every(e=>!e);return{...e,valid:t}}e.s(["createValidityState",()=>s,"useInputValidation",()=>n],305922);let o=(0,i.forwardRef)(function({containerClassName:e,prefixClassName:o,onValidate:c,hideValidation:u,indeterminate:d,setCustomValidity:h,onChange:m,...g},f){let[v,p]=(0,i.useState)(g.value??g.defaultValue),x=(0,i.useRef)(null),b=f||x,y=g.pattern??("email"===g.type?".+@.+":void 0),w=v??"",C=h?.(w)||"",L=s({customError:!!C,patternMismatch:!!(null!=y&&!RegExp(`^${y}$`,"u").test(w.toString())),tooLong:!!(g.maxLength&&w.toString().length>g.maxLength),tooShort:!!(g.minLength&&w.toString().length<g.minLength),valueMissing:!!(g.required&&!v)}),M=c?.({value:v??"",validity:L})??"";(0,i.useEffect)(()=>b.current?.setCustomValidity(M||C),[M,C,b]),(0,i.useEffect)(()=>{(g?.value||g?.value==="")&&m&&p(g?.value)},[g?.value,m]);let j=n({indeterminate:d||null==v,validity:L,validate:()=>M||C});return(0,t.jsxs)("div",{className:(0,a.default)(e),children:[(0,t.jsxs)("div",{className:"relative",children:[g.prefix&&(!!v||j.hasFocus)&&(0,t.jsx)("span",{className:(0,a.default)("mhg-alpha-form-label pointer-events-none absolute left-4 top-1/2 z-10 -translate-y-1/2 font-[--font-weight-form-input] text-[--font-size-form-input]",o),children:g.prefix}),(0,t.jsx)(r.Input,{icon:j.hasFocus?null:!0===j.valid&&v?(0,t.jsx)(l.MaterialIcon,{icon:"check_circle",className:"text-highlights/green-dark"}):!1===j.valid?(0,t.jsx)(l.MaterialIcon,{icon:"cancel",className:"text-highlights/red-dark"}
16):null,...g,inputRef:b,onFocus:e=>{j.setFocus(!0),g.onFocus?.(e)},onBlur:e=>{j.setFocus(!1),g.onBlur?.(e)},onInput:e=>{(g?.value||g?.value==="")&&m||p(e.currentTarget.value)},onInvalid:e=>{p(e.currentTarget.value),j.setFocus(!1)},onChange:e=>{m?.(e,L)},error:g.error??!1===j.valid,success:g.success??!0===j.valid,className:(0,a.default)(g.className,g.prefix&&(v||j.hasFocus)?"!pl-10":""),placeholder:g.prefix&&j.hasFocus?"":g.placeholder}),g.suffix&&!!v&&(0,t.jsx)("span",{className:"mhg-alpha-form-label absolute top-1/2 -translate-y-1/2 font-[--font-weight-form-input] text-[--font-size-form-input]",style:{left:v?`calc(${v.toString().length}ch + 1rem)`:"1rem"},children:g.suffix??""})]}),!0!==u&&j.errorMessage&&(0,t.jsx)("div",{className:"px-padding/x-sm pt-1 text-highlights/red-dark alpha-caption",children:j.errorMessage})]})});o.displayName="AlphaTextInput",e.s(["AlphaTextInput",0,o],299774)},404457,e=>{"use strict";function t(e){return null==e?{}:Object.fromEntries(new FormData(e).entries())}function r(e,t){for(let r of t)if(r.pattern&&!new RegExp(r.pattern).test(e)||r.validateFn&&!r.validateFn(e))return r.errorMessage;return""}e.s(["parseForm",()=>t,"validateRules",()=>r])},681893,e=>{"use strict";function t(e,t){try{return new URL(e,t)}catch{return}}function r(e,t){let r=t||new URLSearchParams(t);return Object.entries(e).forEach(([e,t])=>{null==t?r.delete(e):Array.isArray(t)?(r.delete(e),t.forEach(t=>{null!=t&&r.append(e,t.toString())})):r.set(e,t.toString())}),r.sort(),r.toString()}function a(e){let t={};return e.forEach((e,r)=>{t[r]?Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]:t[r]=e}),t}e.i(461583),e.s(["buildQueryParam",()=>r,"getAllSearchParams",()=>a,"safeUrl",()=>t])},882337,e=>{"use strict";var t=e.i(172597),r=e.i(995918),a=e.i(271645),l=e.i(736736),i=e.i(681893),n=e.i(295750),s=e.i(404457);function o(e,l){let{lang:i}=(0,n.useClientContext)(),o=(0,r.useMutation)(t.MagicLinkOperation);return(0,a.useCallback)(async t=>{let r=(0,s.parseForm)(t.currentTarget),a=new URLSearchParams(window.location.search).get("refcode");await o.send({input:{email:String(r.email),subscribeToNewsletter:!!r.consent,redirectURI:String(r.redirect_uri),language:i.startsWith("zh")?"ZH":"EN",...a&&{refCode:a}}}).then(t=>{t.data?.requestMagicLinkLogin?.email?e(t.data.requestMagicLinkLogin):l(t.errors)},e=>l(e))},[o,l,e,i])}function c(e,t,r){return(0,a.useCallback)(a=>{let n=(0,s.parseForm)(a.currentTarget.form);r||(0,l.trackingAuthButtonClick)("Continue with Google","google",`${document.title}_Continue with Google`,!!n.consent);let o=new URLSearchParams(window.location.search).get("refcode"),c=(0,i.safeUrl)(String(n.redirect_uri),window.location.href)??new URL(window.location.href),u=new URL(`${e}/login`,window.location.href);u.searchParams.set("idp","google"),u.searchParams.set("redirect_uri",t||c.toString()),u.searchParams.set("consent",String(!!n.consent)),o&&u.searchParams.set("ref_code",o),window.location.href=u.toString()},[e,t,r])}e.i(650687),e.s(["useGoogleLogin",()=>c,"useMagicLink",()=>o])},501701,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"48px",viewBox:"0 -960 960 960",width:"48px",stroke:"currentColor",fill:"currentColor",className:e,children:(0,t.jsx)("path",{d:"m560-242-43-42 168-168H160v-60h525L516-681l43-42 241 241-240 240Z"})})}])},9339,e=>{e.v("/_next/static/media/brand_icon_mh.8ddcf02e.svg")},615196,e=>{e.v("/_next/static/media/brand_icon_mm.f8c558ff.svg")},62229,e=>{e.v("/_next/static/media/brand_icon_ss.142f36aa.svg")},532409,e=>{e.v("/_next/static/media/Family.8b7f9fec.png")},752724,e=>{"use strict";e.s(["fillItems",0,e=>{let{productName:t,productUid:r,productProviderName:a}=e;return{items:[{item_id:r,item_name:t,item_brand:a,index:1}]}}])},717641,e=>{"use strict";e.s(["fillVerticalCode",0,e=>({vertical_code:e.productUid.split(".")[1]??""})])},843780,e=>{"use strict";e.i(892063),e.s([])},318164,12252,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({className:e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",className:e,children:[(0,t.jsx)("mask",{id:"mask0_31109_928",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"26",height:"26",children:(0,t.jsx)("rect",{width:"26",height:"26",fill:"#D9D9D9"})}),(0,t.jsx)("g",{mask:"url(#mask0_31109_928)",children:(0,t.jsx)("path",{d:"M11.4624 17.6083L18.7457 10.325L17.6041 9.18338L11.4624 15.325L8.3749 12.2375L7.23325 13.3792L11.4624 17.6083ZM13.0017 23.2917C11.5783 23.2917 10.2403 23.0215 8.98785 22.4813C7.73535 21.9411 6.64586 21.208 5.71938 20.2819C4.79287 19.3558 4.05939 18.2668 3.51894 17.0148C2.97848 15.7629 2.70825 14.4253 2.70825 13.0018C2.70825 11.5784 2.97836 10.2404 3.51859 8.98797C4.05881 7.73547 4.79195 6.64599 5.71802 5.7195C6.64411 4.793 7.73312 4.05952 8.98506 3.51906C10.237 2.9786 11.5746 2.70837 12.9981 2.70837C14.4215 2.70837 15.7595 2.97849 17.0119 3.51871C18.2644 4.05893 19.3539 4.79208 20.2804 5.71815C21.2069 6.64423 21.9404 7.73325 22.4808 8.98518C23.0213 10.2371 23.2915 11.5748 23.2915 12.9982C23.2915 14.4216 23.0214 15.7596 22.4812 17.0121C21.941 18.2646 21.2078 19.354 20.2818 20.2805C19.3557 21.207 18.2667 21.9405 17.0147 22.481C15.7628 23.0214 14.4251 23.2917 13.0017 23.2917Z",fill:"#33691E"})})]})}],318164),e.s(["default",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",className:e,children:(0,t.jsx)("g",{opacity:"0.8",children:(0,t.jsx)("path",{d:"M8.60225 2.02315C8.82192 1.80348 9.17808 1.80348 9.39775 2.02315L16.1477 8.77315C16.3674 8.99282 16.3674 9.34898 16.1477 9.56865C15.9281 9.78832 15.5719 9.78832 15.3523 9.56865L14.8125 9.02889V15.1709C14.8125 15.519 14.6742 15.8528 14.4281 16.099C14.1819 16.3451 13.8481 16.4834 13.5 16.4834H4.5C4.1519 16.4834 3.81806 16.3451 3.57192 16.099C3.32578 15.8528 3.1875 15.519 3.1875 15.1709V9.02889L2.64775 9.56865C2.42808 9.78832 2.07192 9.78832 1.85225 9.56865C1.63258 9.34898 1.63258 8.99282 1.85225 8.77315L8.60225 2.02315ZM4.3125 7.90389V15.1709C4.3125 15.2206 4.33225 15.2683 4.36742 15.3035C4.40258 15.3386 4.45027 15.3584 4.5 15.3584H6.75C6.79973 15.3584 6.84742 15.3386 6.88258 15.3035C6.91775 15.2683 6.9375 15.2206 6.9375 15.1709V12.1709C6.9375 11.8228 7.07578 11.489 7.32192 11.2428C7.56806 10.9967 7.9019 10.8584 8.25 10.8584H9.75C10.0981 10.8584 10.4319 10.9967 10.6781 11.2428C10.9242 11.489 11.
160625 11.8228 11.0625 12.1709V15.1709C11.0625 15.2206 11.0823 15.2683 11.1174 15.3035C11.1526 15.3386 11.2003 15.3584 11.25 15.3584H13.5C13.5497 15.3584 13.5974 15.3386 13.6326 15.3035C13.6677 15.2683 13.6875 15.2206 13.6875 15.1709V7.90389L9 3.21639L4.3125 7.90389ZM9.95096 15.3584C9.94205 15.2967 9.9375 15.234 9.9375 15.1709V12.1709C9.9375 12.1212 9.91775 12.0735 9.88258 12.0383C9.84742 12.0032 9.79973 11.9834 9.75 11.9834H8.25C8.20027 11.9834 8.15258 12.0032 8.11742 12.0383C8.08225 12.0735 8.0625 12.1212 8.0625 12.1709V15.1709C8.0625 15.234 8.05795 15.2967 8.04904 15.3584H9.95096Z",fill:"currentColor"})})})}],12252)},207670,e=>{"use strict";function t(){for(var e,t,r=0,a="",l=arguments.length;r<l;r++)(e=arguments[r])&&(t=function e(t){var r,a,l="";if("string"==typeof t||"number"==typeof t)l+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(a=e(t[r]))&&(l&&(l+=" "),l+=a)}else for(a in t)t[a]&&(l&&(l+=" "),l+=a);return l}(e))&&(a&&(a+=" "),a+=t);return a}e.s(["clsx",()=>t,"default",0,t])},438815,e=>{"use strict";var t=e.i(435684);function r(e,r){return+(0,t.toDate)(e)<+(0,t.toDate)(r)}e.s(["isBefore",()=>r])},468264,e=>{"use strict";var t=e.i(435684);function r(e,r){let a=(0,t.toDate)(e),l=(0,t.toDate)(r);return a.getTime()>l.getTime()}e.s(["isAfter",()=>r])},215233,e=>{"use strict";let t=e.i(702677).default;e.s(["default",0,t])},336312,715541,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:e,children:(0,t.jsx)("path",{d:"M11.0001 14.1037L5.81738 8.92108L6.78339 7.95508L11.0001 12.1717L15.2167 7.95508L16.1827 8.92108L11.0001 14.1037Z",fill:"#616161"})})}],336312),e.s(["default",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:e,children:(0,t.jsx)("path",{d:"M6.78339 13.7854L5.81738 12.8194L11.0001 7.63672L16.1827 12.8194L15.2167 13.7854L11.0001 9.56871L6.78339 13.7854Z",fill:"#616161"})})}],715541)},806743,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({className:e}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:e,children:(0,t.jsx)("path",{d:"M17.7308 20.8187H7.2115V8.81866L13.8462 2.22266L14.6923 3.06866C14.7961 3.17249 14.8823 3.30999 14.951 3.48116C15.0195 3.65232 15.0538 3.81357 15.0538 3.96491V4.21866L13.9923 8.81866H20.6923C21.1679 8.81866 21.5881 9.00107 21.9527 9.36591C22.3176 9.73057 22.5 10.1507 22.5 10.6264V12.2417C22.5 12.3455 22.4865 12.4577 22.4595 12.5782C22.4327 12.6987 22.4026 12.8109 22.3693 12.9149L19.5038 19.6764C19.3603 19.9969 19.1199 20.2674 18.7828 20.4879C18.4456 20.7084 18.0949 20.8187 17.7308 20.8187ZM8.7115 19.3187H17.7308C17.8013 19.3187 17.8733 19.2994 17.947 19.2609C18.0208 19.2224 18.077 19.1583 18.1155 19.0687L21 12.3187V10.6264C21 10.5366 20.9712 10.4628 20.9135 10.4052C20.8558 10.3475 20.7821 10.3187 20.6923 10.3187H12.0963L13.35 4.83791L8.7115 9.45716V19.3187ZM7.2115 8.81866V10.3187H4V19.3187H7.2115V20.8187H2.5V8.81866H7.2115Z",fill:"#004A68"})})}])},331680,e=>{"use strict";var t=e.i(843476),r=e.i(450818),a=e.i(305922),l=e.i(271645);function i(e){let{onValidate:i,required:n=!1,children:s,placeholder:o,selected:c,...u}=e,[d,h]=(0,l.useState)(()=>e.value??e.defaultValue),[m,g]=(0,l.useState)(!1),f=(0,l.useRef)(null),v=(0,a.createValidityState)({valueMissing:!!(n&&!d)}),p=i?.(v)??"";(0,l.useEffect)(()=>{f.current?.setCustomValidity(p)},[p]);let x=l.Children.toArray(s);return(!n||o)&&x.unshift((0,t.jsx)(r.Option,{value:"",children:o?(0,t.jsx)("span",{className:"flex items-center gap-2 text-text/disabled alpha-form-input",children:o}):" "},"empty-option")),(0,t.jsxs)("div",{children:[(0,t.jsx)("input",{type:"text",hidden:!0,required:!0,name:e.name,value:d??"",onInvalid:()=>g(!0),onChange:e=>h(e.currentTarget.value)}),(0,t.jsx)(r.Select,{...u,error:m&&!v.valid,selected:c?e=>c(e):void 0,onChange:t=>{d!==t&&(h(t),g(!0),e.onChange?.(t))},dismiss:Object.assign({outsidePress:()=>(g(!0),!0)},e.dismiss),children:x}),m&&p&&(0,t.jsx)("div",{className:"px-padding/x-sm pt-1 text-highlights/red-dark alpha-caption",children:p})]})}e.s(["AlphaSelect",()=>i])},894485,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({className:e,"aria-hidden":r}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"48px",viewBox:"0 -960 960 960",width:"48px",stroke:"currentColor",fill:"
16currentColor","aria-hidden":r,className:e,children:(0,t.jsx)("path",{d:"M453-280h60v-240h-60v240Zm26.98-314q14.02 0 23.52-9.2T513-626q0-14.45-9.48-24.22-9.48-9.78-23.5-9.78t-23.52 9.78Q447-640.45 447-626q0 13.6 9.48 22.8 9.48 9.2 23.5 9.2Zm.29 514q-82.74 0-155.5-31.5Q252-143 197.5-197.5t-86-127.34Q80-397.68 80-480.5t31.5-155.66Q143-709 197.5-763t127.34-85.5Q397.68-880 480.5-880t155.66 31.5Q709-817 763-763t85.5 127Q880-563 880-480.27q0 82.74-31.5 155.5Q817-252 763-197.68q-54 54.31-127 86Q563-80 480.27-80Zm.23-60Q622-140 721-239.5t99-241Q820-622 721.19-721T480-820q-141 0-240.5 98.81T140-480q0 141 99.5 240.5t241 99.5Zm-.5-340Z"})})}])},48565,(e,t,r)=>{t.exports=function(){let e=["a","b","c","d","e","f","0","1","2","3","4","5","6","7","8","9"],t=[];for(let r=0;r<36;r++)8===r||13===r||18===r||23===r?t[r]="-":t[r]=e[Math.ceil(Math.random()*e.length-1)];return t.join("")}},501008,e=>{"use strict";var t=e.i(279143);e.s(["getCmsAbsPageLink",0,e=>`https://www.${e.host}${(0,t.getCmsPageLink)(e)}`])},187781,e=>{"use strict";var t=e.i(470608);function r(){return(0,t.usePageContext)().config}e.s(["useConfig",()=>r])},475275,e=>{"use strict";var t=e.i(843476);e.i(28295);var r=e.i(665367),a=e.i(538194),l=e.i(343794),i=e.i(271645);e.i(501008);var n=e.i(279143),s=e.i(295750),o=e.i(317220);e.i(910881);var c=e.i(943032);let u=({count:e,current:r,onChange:a})=>{let i="sm"===(0,o.useBreakpoint)(),n=t=>{t<1||t>e||t===r||a(t)},{visible:s,leftDots:u,rightDots:d}=i?e<=4?{visible:Array.from({length:e},(e,t)=>t+1),leftDots:!1,rightDots:!1}:r<=3?{visible:[1,2,3],leftDots:!1,rightDots:!0}:r>=e-2?{visible:[e-2,e-1,e],leftDots:!0,rightDots:!1}:{visible:[r],leftDots:!0,rightDots:!0}:(()=>{let t=r-2,a=r+2;t<2&&(a+=2-t,t=2),a>e-1&&(t-=a-(e-1),a=e-1),t=Math.max(t,2),a=Math.min(a,e-1);let l=[];for(let e=t;e<=a;e++)l.push(e);return{visible:l,leftDots:t>2,rightDots:a<e-1}})(),h=(0,l.default)("mhg-alpha-button-1 flex size-[--button-size-regular] cursor-pointer select-none items-center justify-center rounded-radius/button"),m=(0,l.default)("bg-fill/primary-light text-fill/primary-dark");return(0,t.jsxs)("div",{className:"flex items-center justify-center gap-spacing/gap/soft-12px",children:[(0,t.jsx)("button",{type:"button",className:h,disabled:1===r,onClick:()=>n(r-1),children:(0,t.jsx)(c.MaterialIcon,{icon:"chevron_left",px:24,className:1===r?"text-buttons/disable":"text-text/primary"})}),1!==s[0]&&(0,t.jsx)("button",{type:"button",onClick:()=>n(1),className:(0,l.default)(h,1===r?m:"text-buttons/neutral-dark"),children:"1"}),u&&(0,t.jsx)("div",{className:h,children:"…"}),s.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>n(e),className:(0,l.default)(h,e===r?m:"text-buttons/neutral-dark"),children:e},e)),d&&(0,t.jsx)("div",{className:h,children:"…"}),s[s.length-1]!==e&&(0,t.jsx)("button",{type:"button",onClick:()=>n(e),className:(0,l.default)(h,r===e?m:"text-buttons/neutral-dark"),children:e}),(0,t.jsx)("button",{type:"button",className:h,disabled:r===e,onClick:()=>n(r+1),children:(0,t.jsx)(c.MaterialIcon,{icon:"chevron_right",px:24,className:r===e?"text-buttons/disable":"text-text/primary"})})]})};var d=e.i(278467),h=e.i(378058);e.s(["VerticalArticlesClient",0,({title:e,id:o,initialArticles:c,countDisplayArticles:m,showAllArticles:g,wrapInTheWrapper:f=!0,domId:v="vertical-articles",showMeta:p=!1})=>{let[x,b]=(0,i.useState)(1),{langPrefix:y,brand:w,lang:C}=(0,s.useClientContext)(),L=g?c.slice((x-1)*10,10*x):c.slice(0,m??25),M=g?Math.ceil(c.length/10):1,j=(0,i.useRef)(null),S=(0,t.jsxs)("div",{className:"flex flex-col gap-spacing/gap/y",ref:j,children:[(0,t.jsx)("div",{className:(0,l.default)("grid grid-cols-2 gap-spacing/gap/x"),children:L.map(e=>(0,t.jsx)("div",{className:"w-full rounded-radius/card border border-borders/default bg-fill/card",children:(0,t.jsx)(r.ArticleComponent,{url:(0,n.getCmsPageLink)({brand:w,pageType:"article",slug:e.slug||"",vertical:e.section,langPrefix:y,urlPrefix:e.urlPrefix}),title:e.title,subtitle:e.subtitle||null,imageUrl:e.image?.[0]?.url,category:p&&e.page_category||null,date:(e=>{if(!p)return null;let t=(0,d.getContentUpdatedDate)(e);return t?(0,d.formatDatePageTitle)(t,C):null})(e),pushDataLayer:h.pushDataLayer})},e.documentId))}),g&&M>1&&(0,t.jsx)(u,{count:M,current:x,onChange:e=>{j.current&&(window.scrollTo({behavior:"smooth",top:j.current.offsetTop}),b(e))}})]});return(0,t.jsx)("div",{className:"mx-auto max-w-screen-2xl",id:v,children:f?(0,t.jsx)(a.TheWrapper,{type:"simple",title:e??"",id:o,children:S}):S})}],475275)},433793,e=>{"use strict";e.i(334850),e.s([])},317220,e=>{"use strict";var t=e.i(271645);let r={sm:{width:"(min-width: 360px) and (max-width: 767px)"},md:{width:"(min-width: 768px) and (max-width: 1279px)"},lg:{width:"(min-width: 1280px) and (max-width: 1439px)"},xl:{width:"(min-width: 1440px) and (max-width: 1919px)"},"2xl":{width:"(min-width: 1920px)"}};function a(){let[e,a]=(0,t.useState)(null);return(0,t.useEffect)(()=>{function e(){if(window.matchMedia)for(let e in r){let t=r[e].width;if(window.matchMedia(t).matches){a(e);break}}}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e}
16e.s(["useBreakpoint",()=>a])},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let i=e.r(132120),n=e.r(92245),s=e.r(235326)},868237,e=>{"use strict";var t=e.i(549257);function r(e){return async function(r){try{for await(let a of(0,t.fetchClientOperation)(e,r))return a.errors?.length&&console.error("GraphQL errors",a.errors),a.data}catch(e){throw Error("Error occured in the trigger function")}}}let a={};e.s(["EmptyQueryArgs",()=>a,"createLazyQuery",()=>r])},471507,454499,e=>{"use strict";var t=e.i(172597),r=e.i(868237);class a{async getVehiclesData({makeName:e,useBolttechData:a=!1}){if(a)try{let a=(0,r.createLazyQuery)(t.GetBolttechVehiclesOperation),l=await a({makeId:e});return l?.bolttechVehicleModels}catch(e){throw Error("Failed to fetch vehicle")}try{let a=(0,r.createLazyQuery)(t.GetCarModelsOperation),l=await a({brand:e});return l?.getCarModels?.map(t=>({baseModelName:void 0,carrierModelId:void 0,makeName:e,mgfYear:void 0,modelId:t??"",modelName:t??"",trim:void 0}))??[]}catch(e){throw console.error(e),Error("Failed to fetch vehicle")}}async getVehicleTrims({makeId:e,modelId:a,year:l}){try{let i=(0,r.createLazyQuery)(t.GetCarTrimsOperation),n=await i({brand:e,model:a,year:l});return n?.getCarTrims?.map(e=>({modelId:"",trim:e??""}))??[]}catch(e){throw console.error(e),Error("Failed to fetch vehicle variants")}}async getModelYears(e,a){try{let l=(0,r.createLazyQuery)(t.GetCarYearsOperation),i=await l({brand:e,model:a});if(!i?.getCarYears)return[];return i.getCarYears.map(e=>e?parseInt(e,10):NaN).filter(Boolean)}catch(e){throw console.error(e),Error("Failed to fetch vehicle years")}}async getVehicleMakes({useBolttechData:e}){if(e)try{let e=(0,r.createLazyQuery)(t.GetBolttechVehicleMakersOperation),a=await e({});return a?.bolttechVehicleMakers??[]}catch(e){throw Error("Failed to fetch Bolttech vehicle makers")}try{let e=(0,r.createLazyQuery)(t.GetCarBrandsOperation),a=await e(r.EmptyQueryArgs);return a?.getCarBrands?.map(e=>({id:e??"",name:e??""}))??[]}catch(e){throw console.error(e),Error("Failed to fetch vehicle makers")}}async getVehicleFairMarketValue(e,a,l,i){let n=(0,r.createLazyQuery)(t.GetCarFairMarketValueOperation),s=await n({brand:e,model:a,year:l,trim:i});return{carId:s?.getCarFairMarketValue?.carId||0,fmv:s?.getCarFairMarketValue?.fairMarketValue||0}}async getCarInsurancePremiums(e,a,l,i,n,s,o,c){let u=(0,r.createLazyQuery)(t.GetCarInsuranceQuoteOperation),d=await this.getVehicleFairMarketValue(e,a,l,i),h=Number(`${n}00`);return await u({request:{carId:Number(d.carId),fairMarketValue:d.fmv,personalAccidentCoverage:s,bodilyInjuryAndPropertyDamageCoverage:h,includesActsOfNature:o,usage:c.toUpperCase(),loanWithBankId:0}})}}e.s(["CmsServiceClientVehiclesDomainService",()=>a],454499);class l{async getCompareQuote(e,a){if(a)try{let a=(0,r.createLazyQuery)(t.GetBolttechCarInsuranceQuotesOperation),l=await a({request:e});return l?.bolttechCarInsuranceCompareQuote.clientRequestId}catch(e){throw Error("Failed to fetch compare quote")}try{let a=(0,r.createLazyQuery)(t.GetCarInsuranceQuotesOperation),l=await a({request:e});return l?.carInsuranceCompareQuote.clientRequestId}catch(e){throw Error("Failed to fetch compare quote")}}async getProducts(e,a,l){try{let i=(0,r.createLazyQuery)(t.GetCarInsuranceProductsOperation),n=await i({fallback:!0,locale:"singsaver"===a?"en":l,limit:null,skip:0,where:{uidIn:e}});return n?.getAllProducts}catch(e){throw Error("Failed to fetch products")}}async getPremiums({requestId:e,useBolttechData:a}){if(a)try{let a=(0,r.createLazyQuery)(t.GetBolttechCarInsurancePremiumsOperation),l=await a({requestId:e});return l?.bolttechCarInsuranceGetPremiums}catch(e){throw Error("Failed to fetch premiums")}try{let a=(0,r.createLazyQuery)(t.GetCarInsurancePremiumsOperation),l=await a({requestId:e});return l?.carInsuranceGetPremiums}catch(e){throw Error("Failed to fetch premiums")}}getVehicleFairMarketValue(){return Promise.resolve({carId:0,fmv:0})}}class i{async getVehiclesData({makeName:e,useBolttechData:a=!1}){if(a)try{let a=(0,r.createLazyQuery)(t.GetBolttechVehiclesOperation),l=await a({makeId:e});return l?.bolttechVehicleModels}catch(e){throw Error("Failed to fetch vehicle")}try{let a=(0,r.createLazyQuery)(t.GetVehiclesOperation),l=await a({baseModel:null,carrierCode:null,manufactureYear:null,modelName:null,trim:null,makeName:e});return l?.vehicles}catch(e){throw Error("Failed to fetch vehicle")}}async getVehicleTrims({makeId:e,modelId:a}){try{let l=(0,r.createLazyQuery)(t.GetBolttechVehicleTrimsOperation),i=await l({makeId:e,modelId:a});return i?.bolttechVehicleVariants}catch(e){throw Error("Failed to fetch vehicle variants")}}async getVehicleMakes({useBolttechData:e}){if(e)try{let e=(0,r.createLazyQuery)(t.GetBolttechVehicleMakersOperation),a=await e(r.EmptyQueryArgs);
16return a?.bolttechVehicleMakers.filter(Boolean)??[]}catch(e){throw Error("Failed to fetch Bolttech vehicle makers")}try{let e=(0,r.createLazyQuery)(t.GetVehicleMakersOperation),a=await e(r.EmptyQueryArgs);return a?.vehicleMakers.filter(Boolean)??[]}catch(e){throw Error("Failed to fetch vehicle makers")}}getModelYears(e,t){return Promise.resolve([])}}let n=new i,s=new l,o=null;function c(e){return"moneymax"===e?(o||(o=new a),o):n}e.s(["ClientProductsDomainService",()=>l,"ClientVehiclesDomainService",()=>i,"clientProductsDomainService",0,s,"clientVehiclesDomainService",0,n,"getVehicleDomainService",()=>c],471507)},754886,e=>{"use strict";var t,r=((t={}).Phone="Phone",t.WA="WA",t.Email="Email",t);e.s(["ContactMethod",()=>r])},663257,260537,169228,e=>{"use strict";function t(){let e,t,r;return{email:(e=["placeholder.com","test.com"],t=function(e){let t="abcdefghijklmnopqrstuvwxyz0123456789",r="",a=t.length;for(let e=0;e<5;e++)r+=t.charAt(Math.floor(Math.random()*a));return r}(5),r=e[Math.floor(Math.random()*e.length)],`${t}@${r}`),identityNumber:function(e="S"){var t;let r,a=Array.from({length:7},()=>Math.floor(10*Math.random())).join(""),l=(r=[2,7,6,5,4,3,2],("S"===(t=e+a)[0]||"T"===t[0]?"JZIHGFEDCBA":"XWUTRQPNMLK")[(t.substring(1,8).split("").reduce((e,t,a)=>e+Number(t)*r[a],0)+4*("T"===t[0]||"G"===t[0]))%11]);return e+a+l}(),phoneNumber:`81${Math.floor(1e5+9e5*Math.random())}`}}function r(e){let t=new Date,r=t.getFullYear()-e,a=new Date(t);a.setFullYear(r);let l=a.getFullYear(),i=String(a.getMonth()+1).padStart(2,"0"),n=String(a.getDate()).padStart(2,"0");return`${l}-${i}-${n}T00:00:00+08:00`}e.s(["generateCompareQuoteStaticFields",()=>t],260537),e.s(["getDateOfBirth",()=>r],169228),r(34),t();let a={dateOfBirth:r(35),age:35,gender:"M",maritalStatus:"M",totalDrivingExperience:3,numberOfClaims:0},l={dateOfBirth:r(35),age:35,gender:"M",maritalStatus:"M",totalDrivingExperience:3,numberOfClaims:0},i={makeName:"",modelCode:"",modelName:"",manufactureYear:"",trim:"",fairMarket:0,type:"private"},n=({useBolttechData:e=!1})=>({driver:(({useBolttechData:e=!1})=>({age:35,dateOfBirth:r(35),gender:"M",maritalStatus:"M",numberOfClaims:0,occupationType:"indoor",totalDrivingExperience:e?5:10}))({useBolttechData:e}),vehicle:(({useBolttechData:e=!1})=>({makeName:e?"BT-HOND":"HONDA",modelCode:e?"Vezel":"MHG.646",manufactureYear:2021,modelName:"Vezel 1.5",trim:e?"BT-HOND-0130":"",fairMarket:0,type:""}))({useBolttechData:e}),ncd:50,offenceFree:"Y",offPeakVehicle:"Y"}),s={driver:a,vehicle:{makeName:"HONDA",modelCode:"1405659",modelName:"Jazz",manufactureYear:2022,trim:"",fairMarket:0,type:""},ncd:60},o={driver:l,vehicle:i,ncd:30,prices:{propertyDamage:2e5,personalAccident:35e4,isActsOfNature:!0}},c=[{value:"2026",label:"2026"},{value:"2025",label:"2025"},{value:"2024",label:"2024"},{value:"2023",label:"2023"},{value:"2022",label:"2022"},{value:"2021",label:"2021"},{value:"2020",label:"2020"},{value:"2019",label:"2019"},{value:"2018",label:"2018"},{value:"2017",label:"2017"},{value:"2016",label:"2016"},{value:"2015",label:"2015"},{value:"2014",label:"2014"},{value:"2013",label:"2013"},{value:"2012",label:"2012"},{value:"2011",label:"2011"},{value:"2010",label:"2010"},{value:"2009",label:"2009"},{value:"2008",label:"2008"},{value:"2007",label:"2007"},{value:"2006",label:"2006"},{value:"2005",label:"2005"},{value:"2004",label:"2004"}];i.fairMarket,l.dateOfBirth,l.age,l.gender,l.maritalStatus,l.totalDrivingExperience,l.numberOfClaims,o.ncd,e.s(["CAR_INSURANCE_POLLING_WINDOW_MS",0,25e3,"PERSONAL_ACCIDENT_VALUES",0,[5e4,75e3,1e5,15e4,2e5,25e4,3e5,35e4,4e5,45e4,5e5,55e4,6e5,65e4,7e5,75e4,8e5,85e4,9e5,95e4,1e6],"PROPERTY_DAMAGE_VALUES",0,[5e4,75e3,1e5,15e4,2e5,25e4,3e5,4e5,5e5,75e4,1e6],"config",0,({useBolttechData:e}={useBolttechData:!1})=>({singsaver:{defaultContextState:n({useBolttechData:e}),ncdOptions:[{label:"0%",value:"0"},{label:"10%",value:"10"},{label:"20%",value:"20"},{label:"30%",value:"30"},{label:"40%",value:"40"},{label:"50%",value:"50"}],driverAgeOptions:Array.from({length:58},(e,t)=>t+18).map(e=>({label:`${e} years`,value:String(e)})),yearsOptions:c},moneymax:{defaultContextState:o,ncdOptions:[{label:"0%",value:"
160"},{label:"10%",value:"10"},{label:"20%",value:"20"},{label:"30%",value:"30"},{label:"40%",value:"40"},{label:"50%",value:"50"}],driverAgeOptions:Array.from({length:58},(e,t)=>t+18).map(e=>({label:`${e} years`,value:String(e)})),yearsOptions:c},moneyhero:{defaultContextState:s,ncdOptions:[{label:"0%",value:"0"},{label:"10%",value:"10"},{label:"20%",value:"20"},{label:"30%",value:"30"},{label:"40%",value:"40"},{label:"50%",value:"50"},{label:"60%",value:"60"}],driverAgeOptions:Array.from({length:58},(e,t)=>t+18).map(e=>({label:`${e} å¹´`,value:String(e)})),yearsOptions:c},money101:{defaultContextState:n({useBolttechData:e}),ncdOptions:[{label:"0%",value:"0"},{label:"10%",value:"10"},{label:"20%",value:"20"},{label:"30%",value:"30"},{label:"40%",value:"40"},{label:"50%",value:"50"}],driverAgeOptions:Array.from({length:58},(e,t)=>t+18).map(e=>({label:`${e} years`,value:String(e)})),yearsOptions:c}}),"contactMethodIconOptions",0,[{label:"whatsapp",value:"WA"},{label:"phone",value:"Phone"},{label:"email",value:"Email"}],"enquiryPurposeOptions",0,[{label:"How to Apply",value:"How to Apply"},{label:"Getting a quotation",value:"Getting a quotation"},{label:"Insurance Product",value:"Insurance Product"},{label:"Advise",value:"Advise"}],"monthOptions",0,[{label:"September",value:"8"},{label:"October",value:"9"},{label:"November",value:"10"},{label:"December",value:"11"},{label:"January",value:"0"},{label:"February",value:"1"},{label:"March",value:"2"},{label:"April",value:"3"},{label:"May",value:"4"},{label:"June",value:"5"},{label:"July",value:"6"},{label:"August",value:"7"}]],663257)},981274,e=>{"use strict";e.i(360967);var t=e.i(110243),r=e.i(295750);function a(e){let{lang:a}=(0,r.useClientContext)();return Array.isArray(e)?e.map(e=>(0,t.localeSpecific)(e).get(a)):(0,t.localeSpecific)(e).get(a)}function l(e){let{brand:a}=(0,r.useClientContext)();return(0,t.brandSpecific)(e).get(a)}e.s(["useBrandSpecificClient",()=>l,"useLocaleSpecificClient",()=>a])},384383,e=>{"use strict";var t=e.i(271645);let r=0,a=0,l=new Set;function i(e=!0){(0,t.useEffect)(()=>{if(e)return function(){let e=/^iP/.test(navigator.platform)||/^Mac/.test(navigator.platform)&&navigator.maxTouchPoints>4,t=r++;if(l.add(t),1===l.size){let t=document.scrollingElement?window.innerWidth-document.scrollingElement.clientWidth:0;document.body.style.paddingRight=`${t}px`,document.body.classList.add("overflow-hidden"),e&&(a=window.pageYOffset,document.body.classList.add("fixed"),document.body.style.top=`-${a}px`)}return{release(){l.delete(t),0===l.size&&(document.body.classList.remove("overflow-hidden"),document.body.style.paddingRight="0",e&&(document.body.classList.remove("fixed"),document.body.style.top="",window.scrollTo(0,a)))}}}().release},[e])}e.s(["useScrollLock",()=>i])}]);
17
18//# debugId=10f7563d-61fe-5901-10e0-c233ab58920e
19//# sourceMappingURL=2ac6863f3fcec745.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.