PageSourceSearch

https://www.life.gov.sg/_next/static/chunks/3fey13fy4k2qh.js

js life.gov.sg collected 2026-10-01 11:30:48 UTC 42,282 bytes, 142 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17431,(e,t,r)=>{"use strict";var n=e.r(191788);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal"),u=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,r.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(i(299));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},r.flushSync=function(e){var t=u.T,r=a.p;try{if(u.T=null,a.p=2,e)return e()}finally{u.T=t,a.p=r,a.d.f()}},r.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,a.d.C(e,t))},r.prefetchDNS=function(e){"string"==typeof e&&a.d.D(e)},r.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,n=l(r,t.crossOrigin),i="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?a.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:i,fetchPriority:o}):"script"===r&&a.d.X(e,{crossOrigin:n,integrity:i,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},r.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&a.d.M(e)},r.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,n=l(r,t.crossOrigin);a.d.L(e,r,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},r.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=l(t.as,t.crossOrigin);a.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else a.d.m(e)},r.requestFormReset=function(e){a.d.r(e)},r.unstable_batchedUpdates=function(e,t){return e(t)},r.useFormState=function(e,t,r){return u.H.useFormState(e,t,r)},r.useFormStatus=function(){return u.H.useHostTransitionStatus()},r.version="19.2.7"},730943,(e,t,r)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(17431)},21326,555524,517240,e=>{"use strict";var t=e.i(745038),r=e.i(391398),n=e.i(191788),i=e.i(760814);let o=i.default.div`
2    display: inline-block;
3    position: relative;
4    width: ${({$size:e})=>e?`${e}px`:"1em"};
5    height: ${({$size:e})=>e?`${e}px`:"1em"};
6    color: ${e=>e.$color||"currentColor"};
7`,a=i.keyframes`
8	0% {
9	  transform: rotate(0deg);
10	}
11	100% {
12	  transform: rotate(360deg);
13	}
14`,s=i.default.div`
15    box-sizing: border-box;
16    display: block;
17    position: absolute;
18    top: 1px;
19    width: calc(100% - 2px);
20    height: calc(100% - 2px);
21    border-width: 2px;
22    border-style: solid;
23    border-radius: 100%;
24    border-color: currentColor transparent transparent transparent;
25    animation: ${a} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
26`,u=(0,i.default)(s)`
27    animation-delay: -0.45s;
28`,l=(0,i.default)(s)`
29    animation-delay: -0.3s;
30`,c=(0,i.default)(s)`
31    animation-delay: -0.15s;
32`,d=({color:e,className:t,size:n})=>(0,r.jsxs)(o,{className:t,$size:n,$color:e,"data-testid":"component-loading-spinner",children:[(0,r.jsx)(s,{id:"inner1"}),(0,r.jsx)(u,{id:"inner2"}),(0,r.jsx)(l,{id:"inner3"}),(0,r.jsx)(c,{id:"inner4"})]});e.s(["ComponentLoadingSpinner",0,d],555524);var f=e.i(940291),p=e.i(339037);let h=i.default.button`
33    padding: ${f.Spacing["spacing-8"]} ${f.Spacing["spacing-16"]};
34    min-width: 4rem;
35    border: ${f.Border["width-010"]} ${f.Border.solid} transparent;
36    transition: all ${f.Motion["duration-250"]} ${f.Motion["ease-default"]};
37    border-radius: ${p.ThemeButton["button-radius"]};
38    cursor: pointer;
39    display: flex;
40    align-items: center;
41    justify-content: center;
42
43    // -----------------------------------------------------------------------------
44    // BUTTON STYLE + TEXT COLOR
45    // -----------------------------------------------------------------------------
46    ${e=>{switch(e.$buttonStyle){case"secondary":return i.css`
47                    background-color: ${f.Colour.bg};
48                    border-color: ${e.$buttonIsDanger?f.Colour["border-error-strong"]:p.ThemeButton["button-secondary-colour-border"]}
48;
49
50                    color: ${e.$buttonIsDanger?f.Colour["text-error"]:p.ThemeButton["button-secondary-colour-text"]};
51
52                    &:hover,
53                    &:active {
54                        @media (pointer: fine) {
55                            background-color: ${f.Colour["bg-hover-neutral"]};
56                        }
57                    }
58                `;case"light":return i.css`
59                    background-color: ${f.Colour.bg};
60                    border-color: ${f.Colour.border};
61
62                    color: ${e.$buttonIsDanger?f.Colour["text-error"]:p.ThemeButton["button-light-colour-text"]};
63
64                    &:hover,
65                    &:active {
66                        @media (pointer: fine) {
67                            background-color: ${f.Colour["bg-hover-neutral"]};
68                        }
69                    }
70                `;case"link":return i.css`
71                    background-color: transparent;
72
73                    color: ${e.$buttonIsDanger?f.Colour["text-error"]:p.ThemeButton["button-link-colour-text"]};
74                    &:hover,
75                    &:active {
76                        @media (pointer: fine) {
77                            background-color: ${f.Colour["bg-hover-neutral"]};
78                        }
79                    }
80                `;case"disabled":return i.css`
81                    background-color: ${f.Colour["bg-disabled"]};
82
83                    cursor: not-allowed;
84
85                    &:hover {
86                        box-shadow: none;
87                    }
88
89                    color: ${f.Colour["text-disabled"]};
90                `;default:return i.css`
91                    background-color: ${e.$buttonIsDanger?f.Colour["bg-error-strong"]:p.ThemeButton["button-default-colour-bg"]};
92
93                    ${f.MediaQuery.MaxWidth.sm} {
94                        width: 100%;
95                    }
96
97                    color: ${p.ThemeButton["button-default-colour-text"]};
98
99                    &:hover,
100                    &:active {
101                        @media (pointer: fine) {
102                            background-color: ${e.$buttonIsDanger?f.Colour["bg-error-strong-hover"]:p.ThemeButton["button-default-colour-bg-hover"]};
103                        }
104                    }
105                `}}}
106
107    // -----------------------------------------------------------------------------
108	// BUTTON SIZE + TEXT SIZE
109	// -----------------------------------------------------------------------------
110	${e=>{switch(e.$buttonSizeStyle){case"small":return i.css`
111                    height: 2.5rem;
112                    ${f.Font["body-md-semibold"]}
113
114                    ${f.MediaQuery.MaxWidth.xxs} {
115                        height: auto;
116                    }
117                `;case"large":return i.css`
118                    height: 4rem;
119                    ${f.Font["heading-md-semibold"]};
120                    font-family: ${f.Font.Spec["body-font-family"]};
121
122                    ${f.MediaQuery.MaxWidth.xxs} {
123                        height: auto;
124                    }
125                `;default:return i.css`
126                    height: 3rem;
127                    ${f.Font["body-baseline-semibold"]}
128
129                    ${f.MediaQuery.MaxWidth.xxs} {
130                        height: auto;
131                    }
132                `}}}
133`,g=(0,i.default)(d)`
134    margin-right: ${e=>e.$hasChildren?"0.5rem":"0"};
135`;e.s(["Main",0,h,"Spinner",0,g],517240);let y=e=>n.default.Children.toArray(e).some(e=>"string"==typeof e?""!==e.trim():null!=e),_=(e,n)=>{let{children:i,disabled:o=!1,loading:a=!1,styleType:s="default",danger:u=!1,focusableWhenDisabled:l=!1,onClick:c}=e,d=(0,t.__rest)(e,["children","disabled","loading","styleType","danger","focusableWhenDisabled","onClick"]);return(0,r.jsxs)(h,Object.assign({ref:n,"data-testid":d["data-testid"]||"button",disabled:o&&!l,"aria-disabled":o,"aria-busy":a,onClick:o?void 0:c},{$buttonStyle:o?"disabled":s,$buttonSizeStyle:"default",$buttonIsDanger:u},d,{children:[a&&(0,r.jsx)(g,{$hasChildren:y(i)}),(0,r.jsx)("span",{children:i})]}))};_.displayName="Button.Default";let b=(e,n)=>{let{children:i,disabled:o=!1,loading:a=!1,styleType:s="default",danger:u=!1,focusableWhenDisabled:l=!1,onClick:c}=e,d=(0,t.__rest)(e,["children","disabled","loading","styleType","danger","focusableWhenDisabled","onClick"]);return(0,r.jsxs)(h,Object.assign({ref:n,"data-testid":d["data-testid"]||"button",disabled:o&&!l,"aria-disabled":o,"aria-busy":a,onClick:o?void 0:c},{$buttonStyle:o?"disabled":s,$buttonSizeStyle:"small",$buttonIsDanger:u},d,{children:[a&&(0,r.jsx)(g,{$hasChildren:y(i)}),(0,r.jsx)("span",{children:i})]}))};b.displayName="Button.Small";
135let v=(e,n)=>{let{children:i,disabled:o=!1,loading:a=!1,styleType:s="default",danger:u=!1,focusableWhenDisabled:l=!1,onClick:c}=e,d=(0,t.__rest)(e,["children","disabled","loading","styleType","danger","focusableWhenDisabled","onClick"]);return(0,r.jsxs)(h,Object.assign({ref:n,"data-testid":d["data-testid"]||"button",disabled:o&&!l,"aria-disabled":o,"aria-busy":a,onClick:o?void 0:c},{$buttonStyle:o?"disabled":s,$buttonSizeStyle:"large",$buttonIsDanger:u},d,{children:[a&&(0,r.jsx)(g,{$hasChildren:y(i)}),(0,r.jsx)("span",{children:i})]}))};v.displayName="Button.Large";let O={Default:n.default.forwardRef(_),Small:n.default.forwardRef(b),Large:n.default.forwardRef(v)};e.s(["Button",0,O],21326)},994391,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e.r(391398);let i=e=>n.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:n.jsx("path",{d:"M9.99991 11.229L5.97891 15.25C5.81224 15.4167 5.61091 15.4967 5.37491 15.49C5.13891 15.4827 4.93757 15.3957 4.77091 15.229C4.60424 15.0623 4.52091 14.8577 4.52091 14.615C4.52091 14.3717 4.60424 14.1667 4.77091 14L8.77091 10L4.74991 5.979C4.58324 5.81233 4.50324 5.60767 4.50991 5.365C4.51724 5.12167 4.60424 4.91667 4.77091 4.75C4.93757 4.58333 5.14224 4.5 5.38491 4.5C5.62824 4.5 5.83324 4.58333 5.99991 4.75L9.99991 8.771L14.0209 4.7
1355C14.1876 4.58333 14.3922 4.5 14.6349 4.5C14.8782 4.5 15.0832 4.58333 15.2499 4.75C15.4166 4.91667 15.4999 5.12167 15.4999 5.365C15.4999 5.60767 15.4166 5.81233 15.2499 5.979L11.2289 10L15.2499 14.021C15.4166 14.1877 15.4999 14.389 15.4999 14.625C15.4999 14.861 15.4166 15.0623 15.2499 15.229C15.0832 15.3957 14.8782 15.479 14.6349 15.479C14.3922 15.479 14.1876 15.3957 14.0209 15.229L9.99991 11.229Z",fill:"currentColor"})});i.displayName="CrossIcon",r.CrossIcon=i},757965,(e,t,r)=>{"use strict";var n=function(e){var t,r,n;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(n=Object.prototype.toString.call(r))&&"[object Date]"!==n&&r.$$typeof!==i)},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l(Array.isArray(e)?[]:{},e,t):e}function a(e,t,r){return e.concat(t).map(function(e){return o(e,r)})}function s(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function u(e,t){try{return t in e}catch(e){return!1}}function l(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||a,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=o;var i,c,d=Array.isArray(t);return d!==Array.isArray(e)?o(t,r):d?r.arrayMerge(e,t,r):(c={},(i=r).isMergeableObject(e)&&s(e).forEach(function(t){c[t]=o(e[t],i)}),s(t).forEach(function(r){u(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))||(u(e,r)&&i.isMergeableObject(t[r])?c[r]=(function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l})(r,i)(e[r],t[r],i):c[r]=o(t[r],i))}),c)}l.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return l(e,r,t)},{})},t.exports=l},764073,945547,e=>{"use strict";e.i(350461);let t={applicationVersion:((e,t="")=>e||t)("5.6.1"),lifeSgConfigCatKey:((e,t="")=>e||t)("Ys_XCB2VL_9XIGlYA4xcbw/1ZSedfV_G06W_tPniXCNlA"),bookFacConfigCatKey:((e,t="")=>e||t)("Ys_XCB2VL_9XIGlYA4xcbw/O9FaeiVkHE6fnSpvQwTKzg"),mylegacyConfigCatKey:((e,t="")=>e||t)("fDTZCHd5Ok6MHoUIHX45jw/eWxVySgQOE24XEiegI5XKA"),baseUrl:((e,t="")=>e||t)("https://www.life.gov.sg","https://www.life.gov.sg"),authForwarderBaseUrl:((e,t="")=>e||t)("https://www.life.gov.sg"),gaTrackingId:((e,t="")=>e||t)("UA-163259628-1"),gtmTrackingId:((e,t="")=>e||t)("GTM-5RW6ZV5"),wogaaTrackingCode:((e,t="")=>e||t)("https://assets.wogaa.sg/scripts/wogaa.js"),mailchimp:{subscribeUrl:((e,t="")=>e||t)("https://life.us16.list-manage.com/subscribe/post"),userId:((e,t="")=>e||t)("9326ff42459737140a6baa881"),audienceId:((e,t="")=>e||t)("683e40dfcb")},eServicesBaseUrl:((e,t="")=>e||t)("https://eservices.life.gov.sg"),enableGuidesMock:((e,t=!1)=>null==e?t:"string"==typeof e?"true"===e.toLowerCase():!!e)("false"),mylegacyBaseUrl:((e,t="")=>e||t)("https://mylegacy.life.gov.sg"),fbPixelId:((e,t="")=>e||t)("829307697966319"),smartAppBannerDynamicLink:((e,t="")=>e||t)("https://go.life.gov.sg/ySHH"),searchsgClientId:((e,t="")=>e||t)("14398e25-9694-4beb-8b99-37414ca6e01a"),s3BaseUrl:((e,t="")=>e||t)("https://assets.life.gov.sg"),reportNeighbourhoodIssueUrl:((e,t="")=>e||t)("https://eservices.life.gov.sg/report-neighbourhood-issue"),bookFacilitiesListingUrl:((e,t="")=>e||t)("https://www.life.gov.sg/listing/book-facilities"),preschoolListingResultUrl:((e,t="")=>e||t)("https://www.life.gov.sg/listing/preschool/results"),statementOfBenefitsUrl:((e,t="")=>e||t)("https://eservices.life.gov.sg/your-benefits"),opticalBaseUrl:((e,t="")=>e||t)("https://cms.lifesg.app.optical.gov.sg/"),opticalS3BaseUrl:((e,t="")=>e||t)("https://published.app.optical.gov.sg/lifesg/production/published/collections"),awsRumCognitoIdentityPoolId:((e,t="")=>e||t)("ap-southeast-1:3cbf5c05-d2ab-4623-867f-3012d1b3f7f6"),awsRumApplicationId:((e,t="")=>e||t)("953e1b9e-51c1-4c1d-91d8-b270523b48d9"),lifeSGPublicRecaptchaKey:((e,t="")=>e||t)("6Len9p4sAAAAAIhFYLZxOEdWfZYihmNFGKOPt27p"),onemapProxyDomainUrl:((e,t="")=>e||t)("https://api.life.gov.sg"),cmsPublicApiBaseUrl:((e,t="")=>e||t)("https://www.cms.life.gov.sg/consolidation-cms/api")};e.s(["AppConfigs",0,t],945547);class r{root;pages;constructor(e,r){this.root=e,this.pages=r,this.getRootPath=e=>this.root+e,this.getFullPath=e=>t.baseUrl+this.getRootPath(e)}getRootPath;getFullPath}let n={home:"/",about:"/about-us",faqs:"/faqs/about-lifesg",feedback:"/get-in-touch",rebrand:"/moments-of-life-is-now-lifesg",cny2021:"/cny202
1351-campaign",ndp2021:"/ndp2021/coupons",guides:"/guides",lifeSgApp:"/app",searchBarResultsPage:"/results",nspeCampaign:"/preparing-our-nations-sons"};var i,o,a,s,u,l,c,d,f=((i={}).BOOK_VIRTUAL_APPOINTMENT_HDB="book-virtual-appointment-hdb",i.BOOK_VIRTUAL_APPOINTMENT_MINLAW="book-virtual-appointment-minlaw",i.BOOK_VIRTUAL_APPOINTMENT_IRAS="book-virtual-appointment-iras",i.BOOK_VIRTUAL_APPOINTMENT="book-virtual-appointment",i.BOOK_VIRTUAL_APPOINTMENT_SERVICESG="book-virtual-appointment-servicesg",i.BIRTH_REGISTRATION="birth-registration",i.BABY_BONUS="baby-bonus",i.ONE_SERVICE="report-neighbourhood-issue",i.BOOK_VIRTUAL_APPOINTMENT_NCPG="book-virtual-appointment-ncpg",i.HELP_NEIGHBOUR="help-neighbour",i.BOOK_FACILITIES="book-facilities",i.SHARED_PARENTAL_LEAVE="shared-parental-leave",i.PRESCHOOL_SEARCH="preschool-search",i.FORM_3_WITHDRAWAL="form-3",i.SGO="sgo-web",i),p=((o=p||{}).ACTIVE_AGEING="active-ageing",o.BIRTH_REGISTRATION="birth-registration",o),h=((a=h||{}).SUPPORT_FOR_YOUR_JOB_SEARCH="support-for-your-job-search",a.ACTIVE_AGEING="active-ageing",a.RETRENCHMENT_BENEFITS="retrenchment-benefits-and-measures",a.FUNDING_YOUR_RETIREMENT="funding-your-retirement",a.HEALTHCARE_FINANCIAL_ASSISTANCE="healthcare-financial-assistance",a.LIFE_AFTER_HEART_ATTACK="life-after-heart-attack",a.FINANCIAL_ASSISTANCE="financial-assistance",a.EDUCATION_CAREER_OPPORTUNITIES="education-career-opportunities",a.HAVING_A_BABY="having-a-baby",a.ENROLLING_IN_PRESCHOOL="enrolling-in-preschool",a.BECOMING_A_CAREGIVER="becoming-a-caregiver",a.CAREGIVER_STRESS="caregiver-stress",a.SENIOR_CARE_SERVICES="senior-care-services",a.RESOLVING_EMPLOYMENT_DISPUTES="resolving-employment-disputes",a.EMPLOYING_DOMESTIC_HELPER="domestic-helper",a.EMPLOYING_CONFINEMENT_NANNY="confinement-nanny",a.REGISTERING_FOR_P1="p1-registration",a.BRINGING_NEWBORN_HOME="bringing-newborn-home",a.TRYING_TO_CONCEIVE="trying-to-conceive",a.MARRIAGE_SUPPORT="marriage-support",a.BUYING_AN_HDB_FLAT="buying-hdb-flat",a.PLAN_MY_FAMILYS_FINANCES="plan-my-familys-finances",a.MANAGE_HEALTHCARE_COSTS="manage-healthcare-costs",a),g=((s=g||{}).ABOUT_LIFESG="about-lifesg",s.TECHNICAL_DIFFICULTIES="technical-difficulties",s.PRIVACY_SETTINGS="privacy-and-settings",s.BIRTH_REGISTRATION="birth-registration",s.PRESCHOOL_SEARCH="preschool-search",s.CHILDS_HEALTH="manage-childs-health",s.NS_BENEFITS="ns-benefits",s.YOUR_BENEFITS="your-benefits",s),y=((u={}).REGISTER_YOUR_CHILD_BIRTH="register-your-child-birth",u.REPORT_NEIGHBOURHOOD_ISSUE="report-neighbourhood-issue",u.PLAN_AHEAD_FOR_END_OF_LIFE="plan-ahead-for-end-of-life",u.BOOK_VIRTUAL_APPOINTMENT_GOV_AGENCIES="book-virtual-appointment-gov-agencies",u.BOOK_FACILITIES="book-facilities",u.CHECK_YOUR_MEDICAL_APPOINTMENTS="check-your-medical-appointments",u.HELP_NEIGHBOUR="help-neighbour",u.PRESCHOOL_SEARCH="preschool-search",u),_=((l={}).HELP_NEIGHBOUR="help-neighbour",l.BOOK_FACILITIES="book-facilities",l),b=((c={}).SUPPORTING_YOUR_SONS_NATIONAL_SERVICE_JOURNEY="supporting-ns-journey",c.PRE_ENLISTMENT="ns-pre-enlistment",c.ENDORSING_MSQ="endorsing-msq",c.WHY_SERVE_NS="why-serve-ns",c.EXIT_PERMIT_BOND="exit-permit-bond",c.ENLISTING_BEFORE_18="enlisting-before-18",c.EDUCATION_BEFORE_AFTER_NS="education-before-after-ns",c.LEARNING_OPPORTUNITIES_NS="learning-opportunities-ns",c.MEDICAL_SCREENING="medical-screening",c.MEDICAL_REVIEW="medical-review",c.IPPT_NS_DURATION="ippt-ns-duration",c.ENLISTMENT_DAY="enlistment-day",c.LIFE_IN_NS="life-in-ns",c.SAFETY_DURING_NS="safety-during-ns",c.WELL_BEING_DURING_NS="well-being-during-ns",c),v=((d={}).PREPARING_FOR_NATIONAL_SERVICE="preparing-for-ns",d.PRE_ENLISTMENT="pre-enlistment",d.MANAGING_NS_STUDIES="managing-ns-studies",d.VOCATIONS_IN_NS="vocations-in-ns",d.WHY_SERVE_NS="why-serve-ns",d.NS_OBLIGATIONS="ns-obligations",d.EXIT_PERMIT_BOND="exit-permit-bond",d.MEDICAL_SCREENING="medical-screening",d.MEDICAL_REVIEW="medical-review",d.IPPT_NS_DURATION="ippt-ns-duration",d.ENLISTING_BEFORE_18="enlisting-before-18",d.LEARNING_OPPORTUNITIES_NS="learning-opportunities-ns",d.ENLISTMENT_DAY="enlistment-day",d.PSYCHOLOGICAL_AND_PHYSICAL_PREPARING_FOR_NS="psychological-physical-preparation",d.LIFE_IN_NS="life-in-ns",d);let O=new r("/services-tools/",f),E=new r(`${n.about}/`,p),m=new r(`${n.guides}/`,h),S=new r("/faqs/",g),I=new r("/digital-services/",y),w=new r(`${n.guides}/parent/`,b),T=new r(`${n.guides}/pe/`,v);e.s(["DigitalServicesPaths",0,I,"ExternalUrl",0,{askGovLifesg:"https://ask.gov.sg/lifesg",askGovLifesgNewQuestion:"https://ask.gov.sg/lifesg/questions/new",askGovLifesgNsBenefits:"https://ask.gov.sg/lifesg?topic=National+Service+(NS)+benefits",askGovLifesgYourBenefits:"https://ask.gov.sg/lifesg?topic=Your+benefits"},"FAQsPaths",0,S,"GuidesPaths",0,m,"HomeSections",0,{landing:{home:{title:"Home",path:""}
135,howItWorks:{title:"How it works",path:"how-it-works"},rebrand:{title:"rebrand",path:"rebrand"},campaigns:{title:"Campaigns",path:"campaigns"},waysWeHelp:{title:"Ways we help",path:"ways-we-help"},whatYouCanDo:{title:"What you can do on the app",path:"what-you-can-do"},newsAndMedia:{title:"News and media",path:"news-and-media"},download:{title:"Download app",path:"download"},guides:{title:"Guides",path:"guides-home"},lifeSgApp:{title:"LifeSg App",path:"lifesg-app-home"},"services-and-tools":{title:"Services and tools",path:"services-and-tools"}}},"NspeParentArticlesPages",()=>b,"NspeParentArticlesPath",0,w,"NspePreEnlisteeArticlesPages",()=>v,"NspePreEnlisteeArticlesPath",0,T,"OneServicePagePath",()=>_,"ServicesLinksPaths",0,O,"ServicesPages",()=>f,"UrlPath",0,n,"WhatYouCanDoPaths",0,E,"errorRoute",0,e=>`/error?code=${e}`],764073)},731640,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},713584,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=e.r(731640)._(e.r(191788)).default.createContext({})},894470,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},871650,(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}r._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,r&&r.set(e,i),i}},889129,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return _},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return O},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return g},ST:function(){return y},WEB_VITALS:function(){return o},execOnce:function(){return a},getDisplayName:function(){return d},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return m}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>s.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(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 h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let g="u">typeof performance,y=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class _ extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class O extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function m(e){return JSON.stringify({message:e.message,stack:e.stack})}},203828,(e,t,r)=>{t.exports=e.r(926990)},357204,119091,406257,e=>{"use strict";var t,r=e.i(191788),n=e.i(391398),i=e.i(831083),o=((t={}).LIFE_SG="lifeSg",t.OS_V2="OsV2",t);e.s(["EMobileAppType",()=>o],119091);
135let a=(0,r.createContext)({isMobileApp:null,mobileAppType:void 0,mastheadHeight:0});e.s(["MobileAppContext",0,a,"MobileAppContextProvider",0,({children:e})=>{let[t,s]=(0,r.useState)(null),[u,l]=(0,r.useState)(),[c,d]=(0,r.useState)(0);return(0,r.useEffect)(()=>{s(i.WebviewHelper.isLifeSgApp()||i.WebviewHelper.isOsV2App()),l(i.WebviewHelper.isLifeSgApp()?o.LIFE_SG:i.WebviewHelper.isOsV2App()?o.OS_V2:void 0),window?.lifeSgView&&d(window.lifeSgView.mastheadHeight),window?.osV2View&&d(window.osV2View.mastheadHeight)},[]),(0,n.jsx)(a.Provider,{value:{isMobileApp:t,mobileAppType:u,mastheadHeight:c},children:e})}],406257),e.s(["useIsMobileApp",0,()=>(0,r.useContext)(a)],357204)},870403,823742,698422,695886,e=>{"use strict";var t=e.i(745038),r=e.i(391398),n=e.i(191788),i=e.i(760814),o=e.i(940291);let a=(0,n.lazy)(()=>(0,t.__awaiter)(void 0,void 0,void 0,function*(){return{default:(yield e.A(595698)).LottieSpinner}})),s=e=>(0,r.jsx)(l,Object.assign({},e,{children:(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)(u,{}),children:(0,r.jsx)(a,{})})})),u=()=>(0,r.jsx)("div",{style:{height:"200px",width:"200px"}}),l=i.default.div`
136    margin: 0 auto;
137    padding: ${o.Spacing["spacing-32"]} ${o.Spacing["spacing-16"]};
138`;e.s(["LoadingSpinner",0,s],870403);let c=(0,n.lazy)(()=>(0,t.__awaiter)(void 0,void 0,void 0,function*(){return{default:(yield e.A(342222)).LottieLoadingDots}})),d=()=>(0,r.jsx)("div",{style:{height:"16px",width:"64px"}}),f=i.default.div`
139    margin: 0 auto;
140`;e.s(["LoadingDots",0,e=>(0,r.jsx)(f,Object.assign({},e,{children:(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)(d,{}),children:(0,r.jsx)(c,{})})}))],823742);var p=e.i(339037);let h=(0,n.lazy)(()=>(0,t.__awaiter)(void 0,void 0,void 0,function*(){return{default:(yield e.A(11151)).LottieLoadingDotsSpinner}})),g=e=>{var{color:o}=e,a=(0,t.__rest)(e,["color"]);let s=(0,n.useContext)(i.ThemeContext),u=o||p.ThemeAnimation["loading-dots-spinner-colour"]({theme:s});return(0,r.jsx)(_,Object.assign({},a,{children:(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)(y,{}),children:(0,r.jsx)(h,{color:u})})}))},y=()=>(0,r.jsx)("div",{style:{height:"200px",width:"200px"}}),_=i.default.div`
141    margin: 0 auto;
142`;e.s(["LoadingDotsSpinner",0,g],698422),e.s(["ThemedLoadingSpinner",0,e=>{let t=(0,n.useContext)(i.ThemeContext);return"lifesg"===(null==t?void 0:t.resourceScheme)?(0,r.jsx)(s,Object.assign({},e)):(0,r.jsx)(g,Object.assign({},e))}],695886)},394941,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(191788),i="u"<typeof window,o=i?()=>{}:n.useLayoutEffect,a=i?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i&&(t?.mountedInstances?.add(e.children),s()),o(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),o(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},280963,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},defaultHead:function(){return d}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(731640),a=e.r(871650),s=e.r(391398),u=a._(e.r(191788)),l=o._(e.r(394941)),c=e.r(713584);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===u.default.Fragment?e.concat(u.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(894470);let p=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,n,i;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,i={},e=>{let o=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=i[r]||new Set;
142("name"!==r||!a)&&n.has(t)?o=!1:(n.add(t),i[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return u.default.cloneElement(e,{key:r})})}let g=function({children:e}){let t=(0,u.useContext)(c.HeadManagerContext);return(0,s.jsx)(l.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},575724,e=>{"use strict";e.i(21326),e.s([])},587593,(e,t,r)=>{var n,i;i=n||(n={}),function(t){var r="object"==typeof globalThis?globalThis:e.g,n=o(i);function o(e,t){return function(r,n){Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}void 0!==r.Reflect&&(n=o(r.Reflect,n)),t(n,r),void 0===r.Reflect&&(r.Reflect=i)}(function(e,t){var r,n=Object.prototype.hasOwnProperty,i="function"==typeof Symbol,o=i&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=i&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,u=({__proto__:[]})instanceof Array,l=!s&&!u,c={create:s?function(){return $(Object.create(null))}:u?function(){return $({__proto__:null})}:function(){return $({})},has:l?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},d=Object.getPrototypeOf(Function),f="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var r=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();function n(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(n.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),n.prototype.has=function(e){return this._find(e,!1)>=0},n.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},n.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},n.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,i=r+1;i<n;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,R(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},n.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},n.prototype.keys=function(){return new r(this._keys,this._values,i)},n.prototype.values=function(){return new r(this._keys,this._values,o)},n.prototype.entries=function(){return new r(this._keys,this._values,s)},n.prototype["@@iterator"]=function(){return this.entries()},n.prototype[a]=function(){return this.entries()},n.prototype._find=function(e,t){if(!R(this._cacheKey,e)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(R(this._keys[r],e)){this._cacheIndex=r;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},n;function i(e,t){return e}function o(e,t){return t}function s(e,t){return[e,t]}}(),p="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new f}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}(),h="function"==typeof WeakMap?WeakMap:function(){var e=c.create(),t=i();function r(){this._key=i()}return r.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&c.has(t,this._key)},r.prototype.get=function(e){var t=o(e,!1);return void 0!==t?c.get(t,this._key):void 0},r.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},r.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},r.prototype.clear=function(){this._key=i()},r;function i(){var t;do t="@@WeakMap@@"+function(){var e=function(){if("function"==typeof Uint8Array){var e=new Uint8Array(16);return"u">typeof crypto?crypto.getRandomValues(e):"u">typeof msCrypto?msCrypto.getRandomValues(e):a(e,16),e}return a(Array(16),16)}();e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",r=0;r<16;++r){var n=e[r];(4===r||6===r||8===r)&&(t+="-"),n<16&&(t+="0"),t+=n.toString(16).toLowerCase()}return t}();while(c.has(e,t))return e[t]=!0,t}function o(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function a(e,t){for(var r=0;r<t;++r)e[r]=255*Math.random()|0;return e}}(),g=i?Symbol.for("@reflect-metadata:registry"):void 0,y=(!S(g)&&w(t.Reflect)&&Object.isExtensible(t.Reflect)&&(r=t.Reflect[g]),S(r)&&(r=function(){S(g)||void 0===t.Reflect||g in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(r=(e=t.Reflect).defineMetadata,n=e.hasOwnMetadata,i=e.getOwnMetadata,o=e.getOwnMetadataKeys,a=e.deleteMetadata,s=new h,u={isProviderFor:function(e,t){var r=s.get(e);return!!(!S(r)&&r.has(t))||!!o(e,t).length&&(S(r)&&(r=new p,s.set(e,r)),r.add(t),!0)},OrdinaryDefineOwnMetadata:r,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:i,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:a});var e,r,n,i,o,a,s,u,l,c,d,y=new h,_={registerProvider:function(e){if(!Object.isExtensible(_))throw Error("Cannot add provider to a frozen registry.");switch(!0){case u===e:break;case S(l):l=e;break;case l===e:break;case S(c):c=e;break;case c===e:break;default:void 0===d&&(d=new p),d.add(e)}},getProvider:b,setProvider:function(e,t,r){if(!function(e){if(S(e))throw TypeError();return l===e||c===e||!S(d)&&d.has(e)}(r))throw Error("Metadata provider not registered.");var n=b(e,t);if(n!==r){if(!S(n))return!1;var i=y.get(e);S(i)&&(i=new f,y.set(e,i)),i.set(t,r)}return!0}};return _;function b(e,t){var r,n=y.get(e);return S(n)||(r=n.get(t)),S(r)&&(r=function(e,t){if(!S(l)){if(l.isProviderFor(e,t))return l;
142if(!S(c)){if(c.isProviderFor(e,t))return l;if(!S(d))for(var r=x(d);;){var n=M(r);if(!n)return;var i=n.value;if(i.isProviderFor(e,t))return L(r),i}}}if(!S(u)&&u.isProviderFor(e,t))return u}(e,t),S(r)||(S(n)&&(n=new f,y.set(e,n)),n.set(t,r))),r}}()),!S(g)&&w(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,g,{enumerable:!1,configurable:!1,writable:!1,value:r}),r),_=function(e){var t=new h,r={isProviderFor:function(e,r){var n=t.get(e);return!S(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(e,t,r,i){n(r,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,r){var i=n(t,r,!1);return!S(i)&&!!i.has(e)},OrdinaryGetOwnMetadata:function(e,t,r){var i=n(t,r,!1);if(!S(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var r=[],i=n(e,t,!1);if(S(i))return r;for(var o=x(i.keys()),a=0;;){var s=M(o);if(!s)return r.length=a,r;var u=s.value;try{r[a]=u}catch(e){try{L(o)}finally{throw e}}a++}},OrdinaryDeleteMetadata:function(e,r,i){var o=n(r,i,!1);if(S(o)||!o.delete(e))return!1;if(0===o.size){var a=t.get(r);S(a)||(a.delete(i),0===a.size&&t.delete(a))}return!0}};return y.registerProvider(r),r;function n(n,i,o){var a=t.get(n),s=!1;if(S(a)){if(!o)return;a=new f,t.set(n,a),s=!0}var u=a.get(i);if(S(u)){if(!o)return;if(u=new f,a.set(i,u),!e.setProvider(n,i,r))throw a.delete(i),s&&t.delete(n),Error("Wrong provider for target.")}return u}}(y);function b(e,t,r){var n=j(t,r,!1);return!S(n)&&!!n.OrdinaryHasOwnMetadata(e,t,r)}function v(e,t,r){var n=j(t,r,!1);if(!S(n))return n.OrdinaryGetOwnMetadata(e,t,r)}function O(e,t,r,n){j(r,n,!0).OrdinaryDefineOwnMetadata(e,t,r,n)}function E(e,t){var r=j(e,t,!1);return r?r.OrdinaryOwnMetadataKeys(e,t):[]}function m(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function S(e){return void 0===e}function I(e){return null===e}function w(e){return"object"==typeof e?null!==e:"function"==typeof e}e("decorate",function(e,t,r,n){if(S(r)){if(!N(e)||!C(t))throw TypeError();for(var i=e,o=t,a=i.length-1;a>=0;--a){var s=(0,i[a])(o);if(!S(s)&&!I(s)){if(!C(s))throw TypeError();o=s}}return o}if(!N(e)||!w(t)||!w(n)&&!S(n)&&!I(n))throw TypeError();return I(n)&&(n=void 0),function(e,t,r,n){for(var i=e.length-1;i>=0;--i){var o=(0,e[i])(t,r,n);if(!S(o)&&!I(o)){if(!w(o))throw TypeError();n=o}}return n}(e,t,r=T(r),n)}),e("metadata",function(e,t){return function(r,n){if(!w(r)||!S(n)&&!function(e){switch(m(e)){case 3:case 4:return!0;default:return!1}}(n))throw TypeError();O(e,t,r,n)}}),e("defineMetadata",function(e,t,r,n){if(!w(r))throw TypeError();return S(n)||(n=T(n)),O(e,t,r,n)}),e("hasMetadata",function(e,t,r){if(!w(t))throw TypeError();return S(r)||(r=T(r)),function e(t,r,n){if(b(t,r,n))return!0;var i=k(r);return!I(i)&&e(t,i,n)}(e,t,r)}),e("hasOwnMetadata",function(e,t,r){if(!w(t))throw TypeError();return S(r)||(r=T(r)),b(e,t,r)}),e("getMetadata",function(e,t,r){if(!w(t))throw TypeError();return S(r)||(r=T(r)),function e(t,r,n){if(b(t,r,n))return v(t,r,n);var i=k(r);if(!I(i))return e(t,i,n)}(e,t,r)}),e("getOwnMetadata",function(e,t,r){if(!w(t))throw TypeError();return S(r)||(r=T(r)),v(e,t,r)}),e("getMetadataKeys",function(e,t){if(!w(e))throw TypeError();return S(t)||(t=T(t)),function e(t,r){var n=E(t,r),i=k(t);if(null===i)return n;var o=e(i,r);if(o.length<=0)return n;if(n.length<=0)return o;for(var a=new p,s=[],u=0;u<n.length;u++){var l=n[u],c=a.has(l);c||(a.add(l),s.push(l))}for(var d=0;d<o.length;d++){var l=o[d],c=a.has(l);c||(a.add(l),s.push(l))}return s}(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!w(e))throw TypeError();return S(t)||(t=T(t)),E(e,t)}),e("deleteMetadata",function(e,t,r){if(!w(t)||(S(r)||(r=T(r)),!w(t)))throw TypeError();S(r)||(r=T(r));var n=j(t,r,!1);return!S(n)&&n.OrdinaryDeleteMetadata(e,t,r)});function T(e){var t=function(e){switch(m(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var t="string",r=P(e,o);if(void 0!==r){var n=r.call(e,t);if(w(n))throw TypeError();return n}return function(e,t){if("string"===t){var r=e.toString;if(A(r)){var n=r.call(e);
142if(!w(n))return n}var i=e.valueOf;if(A(i)){var n=i.call(e);if(!w(n))return n}}else{var i=e.valueOf;if(A(i)){var n=i.call(e);if(!w(n))return n}var o=e.toString;if(A(o)){var n=o.call(e);if(!w(n))return n}}throw TypeError()}(e,t)}(e);return"symbol"==typeof t?t:""+t}function N(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function A(e){return"function"==typeof e}function C(e){return"function"==typeof e}function R(e,t){return e===t||e!=e&&t!=t}function P(e,t){var r=e[t];if(null!=r){if(!A(r))throw TypeError();return r}}function x(e){var t=P(e,a);if(!A(t))throw TypeError();var r=t.call(e);if(!w(r))throw TypeError();return r}function M(e){var t=e.next();return!t.done&&t}function L(e){var t=e.return;t&&t.call(e)}function k(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===d||t!==d)return t;var r=e.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return t;var i=n.constructor;return"function"!=typeof i||i===e?t:i}function j(e,t,r){var n=y.getProvider(e,t);if(!S(n))return n;if(r){if(y.setProvider(e,t,_))return _;throw Error("Illegal state.")}}function $(e){return e.__=void 0,delete e.__,e}})}]);

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.