1/*! @version pwa-studio: 0.0.1, @magento/venia-ui: ~11.3.0, @magento/upward-security-headers: ~1.0.14, @magento/pwa-theme-venia: ~2.4.0, @magento/pwa-buildpack: ~11.4.3, @magento/peregrine: ~14.2.1, @magento/pagebuilder: ~9.2.1, @magento/eslint-config: ~1.5.0, @magento/babel-preset-peregrine: ~1.2.3, @apollo/client: ~3.5.0 */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{"8S9g":function(n,e,t){"use strict";(function(n){var a=t("J4zp"),i=t.n(a),o=t("q1tI"),s=t.n(o),r=t("dDsW"),c=t("kriW"),g=t("17x9"),l=t("8UhI"),u=t("ZFTN"),m=t("y1Xp"),d=t("/MDx"),f=t("X5qW"),h=t("z8z7"),I=t("ZLnw"),b=t("a/mD"),p=t("J3e4"),x=t("RED3"),w=t("yAu9"),P=t("FB2Q"),C=t("Ty5D"),v=t("UZ/M"),E=t("Pqt/"),y=function SignIn(e){var t,a=Object(C.g)(),g=null===(t=Object(C.h)().pathname)||void 0===t?void 0:t.includes("checkout"),y=Object(m.a)(b.a,e.classes),A=e.setDefaultUsername,M=e.showCreateAccount,O=e.showForgotPassword,T=e.initialValues,W=Object(r.a)().formatMessage,j=Object(p.a)(),H=i()(j,2)[1].addToast,N=Object(E.a)().isPhone,U=Object(u.a)({setDefaultUsername:A,showCreateAccount:M,showForgotPassword:O,isCheckoutLogin:g}),_=U.errors,k=U.handleCreateAccount,D=(U.handleEnterKeyPress,U.signinHandleEnterKeyPress),z=U.handleSubmit,B=U.isBusy,S=U.setFormApi,F=U.mtCaptchaWidgetProps,L=U.allow_email_login,R=function getValidationMethod(){return"production"===n.env.APP_ENV?d.i:L?d.f:d.i}() 3return Object(o.useEffect)(function(){var n,e=null===(n=_.get("mfaLoginMutation"))||void 0===n?void 0:n.message 4e&&H({type:"error",message:e})},[H,_]),s.a.createElement(s.a.Fragment,null,!N&&s.a.createElement(v.a,{classes:{root:y.singImgWeb,content:y.singImgWebContent},identifiers:["login_img"]}),s.a.createElement("div",{className:y.root},s.a.createElement("div",{className:y.existingCustomer},N&&s.a.createElement(v.a,{classes:{root:y.singImgWeb,content:y.singImgWebContentH5},identifiers:["login_img"]}),s.a.createElement("span",{className:y.title},s.a.createElement(c.a,{id:"signIn.titleText",defaultMessage:"Existing customers"})),s.a.createElement(l.b,{getApi:S,className:y.form,onSubmit:z,initialValues:T&&T},s.a.createElement(h.a,{id:"emailOrPhone",label:W({id:"signIn.emailOrPhoneText",defaultMessage:"Mobile number (add international dial code e.g. HK: +852)"})},s.a.createElement(I.a,{id:"emailOrPhone",autoComplete:"emailOrPhone",field:"emailOrPhone",validate:R,validateOnBlur:!0,"aria-label":W({id:"signIn.emailOrPhoneRequired",defaultMessage:"Please enter a valid mobile number"})})),s.a.createElement(P.a,F),s.a.createElement(f.a,{priority:"high",type:"submit",onKeyDown:D,disabled:B},s.a.createElement(c.a,{id:g?"signIn.signInCheckout":"signIn.signInText",defaultMessage:g?"Login and checkout":"Login"})))),s.a.createElement("div",{className:y.createAccount},s.a.createElement("span",{className:y.createAccountTitle},s.a.createElement(c.a,{id:"signIn.createAccountTitleText",defaultMessage:"Create an account"})),s.a.createElement("div",{className:y.createAccountContent},s.a.createElement("div",{className:y.iconContainer},s.a.createElement("span",{className:y.icon},s.a.createElement(x.a,null)),s.a.createElement(c.a,{id:"signIn.createAccountOfferText",defaultMessage:"Exclusive Offers"})),s.a.createElement("div",{className:y.iconContainer},s.a.createElement("span",{className:y.icon},s.a.createElement(w.a,null)),s.a.createElement(c.a,{id:"signIn.createAccountPromotionText",defaultMessage:"News & Promotions"}))),s.a.createElement(f.a,{className:y.createAccountButton,priority:"high",type:"button",onClick:k},s.a.createElement(c.a,{id:"signIn.createAccountTitleText",defaultMessage:"Create an Account"})),g?s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:y.buttonText},s.a.createElement(c.a,{id:"signIn.or",defaultMessage:"OR"})),s.a.createElement(f.a,{className:y.guestButton,priority:"low",onClick:function onClick(){return a.push("/checkout")},onKeyDown:function onKeyDown(){return a.push("/checkout")}},s.a.createElement(c.a,{id:"signIn.checkoutTitleText",defaultMessage:"Guest checkout"}))):"")))} 5y.propTypes={classes:Object(g.shape)({form:g.string,forgotPasswordButton:g.string,forgotPasswordButtonContainer:g.string,root:g.string,title:g.string,loginSection:g.string,existingCustomer:g.string,createAccount:g.string,createAccountContent:g.string,rememberMeCheckbox:g.string,divider:g.
5string,iconContainer:g.string,icon:g.string}),setDefaultUsername:g.func,showCreateAccount:g.func,showForgotPassword:g.func,initialValues:Object(g.shape)({emailOrPhone:g.string.isRequired})},y.defaultProps={setDefaultUsername:function setDefaultUsername(){},showCreateAccount:function showCreateAccount(){},showForgotPassword:function showForgotPassword(){}},e.a=y}).call(this,t("8oxB"))},Dg80:function(n,e,t){"use strict" 6var a=t("JPst"),i=t.n(a),o=t("q8oi"),s=t("0tS+"),r=i()(function(n){return n[1]}) 7r.i(o.a,"",!0),r.i(s.a,"",!0),r.push([n.i,".signIn-root-d9n {\n}\n\n.signIn-form-vN4 {\n}\n\n.signIn-forgotPasswordButton-EHQ {\n font-size: 13px;\n}\n\n.signIn-additional-Cab {\n}\n\n.signIn-title-fbG {\n font-size: 18px;\n}\n\n.signIn-existingCustomer-HQ5 {\n}\n\n.signIn-createAccount-O5F {\n}\n\n.signIn-createAccountTitle-AvA {\n}\n\n.signIn-createAccountButton-2Hy {\n}\n.signIn-guestButton-PtM {\n}\n\n.signIn-createAccountContent-N5X {\n flex: 1;\n}\n\n.signIn-iconContainer-QPS {\n font-size: 13px;\n font-weight: 500;\n color: #000;\n}\n\n.signIn-icon-kvY {\n font-size: 32px;\n}\n\n.signIn-rememberMeText-WzR {\n font-size: 13px;\n font-weight: 500;\n gap: 6px;\n}\n.signIn-buttonText-D-- {\n text-align: center;\n}\n\n.signIn-singImgWeb-2tc {\n max-width: 100%;\n margin: 0 auto;\n}\n\n.signIn-singImgWebContent--to,\n.signIn-singImgWebContentH5-UPh {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n overflow: hidden;\n}\n\n.signIn-singImgWebContent--to {\n height: 230px;\n}\n\n.signIn-singImgWebContentH5-UPh {\n height: 130px;\n}\n\n/* RichContent æ ¹èç¹ï¼CMS HTML å¤å±å®¹å¨ */\n.signIn-singImgWebContent--to [class*='richContent-root'],\n.signIn-singImgWebContentH5-UPh [class*='richContent-root'] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n max-width: 100%;\n margin: 0;\n}\n\n/* CMS 常è§å 裹æ ç¾ï¼p / figure / div */\n.signIn-singImgWebContent--to p,\n.signIn-singImgWebContent--to figure,\n.sign
7In-singImgWebContent--to > div,\n.signIn-singImgWebContentH5-UPh p,\n.signIn-singImgWebContentH5-UPh figure,\n.signIn-singImgWebContentH5-UPh > div {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n\n.signIn-singImgWebContent--to img,\n.signIn-singImgWebContentH5-UPh img {\n display: block;\n max-width: 100%;\n max-height: 100%;\n width: auto !important;\n height: auto !important;\n -o-object-fit: contain;\n object-fit: contain;\n margin: 0 auto;\n}",""]),r.locals={root:"signIn-root-d9n grid gap-y-6 grid-cols-1 sm_grid-cols-12",form:"signIn-form-vN4 grid gap-y-6 md_w-5/6 max-w-[440px]",forgotPasswordButton:"signIn-forgotPasswordButton-EHQ font-bold",additional:"signIn-additional-Cab flex justify-between",title:"signIn-title-fbG font-bold mb-2",existingCustomer:"signIn-existingCustomer-HQ5 flex gap-y-6 flex-col col-span-12 border-r-0 border-b-[1px] mt-4 pb-10 md_pb-0 md_mb-10 md_col-span-6 md_border-r-[1px] md_border-b-0",createAccount:"signIn-createAccount-O5F flex gap-y-6 mt-4 mb-10 flex-col items-start w-full col-span-12 md_col-start-8 md_col-span-5 max-w-[440px]",createAccountTitle:"signIn-createAccountTitle-AvA signIn-title-fbG font-bold mb-2 text-[32px]",createAccountButton:"signIn-createAccountButton-2Hy "+o.a.locals.root_highPriority+" w-full",guestButton:"signIn-guestButton-PtM "+o.a.locals.root_normalPriority+" w-full",createAccountContent:"signIn-createAccountContent-N5X flex gap-y-6 md_gap-y-4 flex-col",iconContainer:"signIn-iconContainer-QPS flex items-center gap-x-xs",icon:"signIn-icon-kvY",rememberMeText:"signIn-rememberMeText-WzR "+s.a.locals.root,buttonText:"signIn-buttonText-D-- w-full sm_w-4/5",singImgWeb:"signIn-singImgWeb-2tc",singImgWebContent:"signIn-singImgWebContent--to",singImgWebContentH5:"signIn-singImgWebContentH5-UPh"},e.a=r},Q84e:function(n,e,t){"use strict" 8var a=t("q1tI"),i=t.n(a),o=t("y1Xp"),s=t("LboF"),r=t.n(s),c=t("Z1Wd"),g={injectType:"singletonStyleTag",insert:"head",singleton:!0},l=(r()(c.a,g),c.a.locals||{}) 9e.a=function PageContent(n){var e=n.children,t=Object(o.a)(l,n.classes) 10return i.a.createElement("div",{className:t.root},e)}},RED3:function(n,e,t){"use strict" 11var a,i=t("q1tI") 12function _extends(){return(_extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e] 13for(var a in t)({}).hasOwnProperty.call(t,a)&&(n[a]=t[a])}return n}).apply(null,arguments)}e.a=function SvgGift(n){return i.createElement("svg",_extends({width:32,height:33,fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),a||(a=i.createElement("path",{d:"M14.438 3.167L16 5.729l1.5-2.562c1-1.75 2.813-2.813 4.813-2.813h.187c3 0 5.5 2.5 5.5 5.5 0 .938-.25 1.75-.625 2.5H29c1.625 0 3 1.375 3 3v4c0 1.313-.875 2.438-2 2.876v10.125c0 2.25-1.813 4-4 4H6c-2.25 0-4-1.75-4-4V18.23a3.05 3.05 0 01-2-2.876v-4a3 3 0 013-3h1.563C4.188 7.604 4 6.792 4 5.854c0-3 2.438-5.5 5.5-5.5h.125c2 0 3.813 1.063 4.813 2.813zM29 11.355H18v4h11v-4zm-15 0H3v4h11v-4zm0 7H5v10c0 .562.438 1 1 1h8v-11zm4 11h8c.5 0 1-.438 1-1v-10h-9v11zm4.5-21c1.375 0 2.5-1.063 2.5-2.5 0-1.376-1.125-2.5-2.5-2.5h-.188c-.937 0-1.75.5-2.25 1.312l-2.187 3.687H22.5zm-8.5 0h.063l-2.188-3.688c-.438-.813-1.313-1.313-2.25-1.313H9.5c-1.438 0-2.5 1.125-2.5 2.5 0 1.438 1.063 2.5 2.5 2.5H14z",fill:"#000"})))}},Z1Wd:function(n,e,t){"use strict" 14var a=t("JPst"),i=t.n(a)()(function(n){return n[1]}) 15i.push([n.i,".PageContent-root-MwL {\n}\n\n\n",""]),i.locals={root:"PageContent-root-MwL max-w-site mx-auto"},e.a=i},"a/mD":function(n,e,t){"use strict" 16var a=t("LboF"),i=t.n(a),o=t("Dg80"),s={injectType:"singletonStyleTag",insert:"head",singleton:!0} 17i()(o.a,s) 18e.a=o.a.locals||{}},g6G5:function(n,e,t){"use strict" 19t.r(e),t.d(e,"default",function(){return C}) 20var a=t("q1tI"),i=t.n(a),o=t("17x9"),s=t("dDsW"),r=t("J4zp"),c=t.n(r),g=t("Ty5D"),l=t("znku"),u=t("y1Xp"),m=t("8S9g"),d=t("BBzE"),f=t("Q84e"),h=t("LboF"),I=t.n(h),b=t("gMg1"),p={injectType:"singletonStyleTag",insert:"head",singleton:!0},x=(I()(b.a,p),b.a.locals||{}),w=t("Pqt/"),P=function SignInPage(n){var e=Object(u.a)(x,n.classes),t=function useSignInPage(n){var e=n.createAccountPageUrl,t=n.forgotPasswordPageUrl,i=n.signedInRedirectUrl,o=Object(g.g)(),s=Object(l.b)(),r=c()(s,1)[0].isSignedIn,u=Object(a.useMemo)(function(){return o&&o.location.state?o.location.state:{}},[o]),m=u.from||null 21return Object(a.useEffect)(function(){r&&(m||i)&&o.push(m||i)},[o,r,m,i]),{signInProps:{classes:{modal_active:void 0},showCreateAccount:Object(a.useCallback)(function(){e&&o.push(e,u)},[e,o,u]),showForgotPassword:Object(a.useCallback)(function(){t&&o.push(t,u)},[t,o,u])}}}(n).signInProps,o=[{text:(0,Object(s.a)().formatMessage)({id:"header.loginRegText"})}],r=Object(w.a)().isPhone 22return i.a.createElement(f.a,null,!r&&i.a.createElement(d.a,{pathMap:o}),i.a.createElement("div",{className:e.root},i.a.createElement("div",{className:e.contentContainer},i.a.createElement(m.a,t))))} 23P.defaultProps={createAccountPageUrl:"/register",forgotPasswordPageUrl:"/forgot-password",signedInRedirectUrl:"/"}
23,P.propTypes={classes:Object(o.shape)({root:o.string,header:o.string,contentContainer:o.string}),createAccountPageUrl:o.string,forgotPasswordPageUrl:o.string,signedInRedirectUrl:o.string} 24var C=P},gMg1:function(n,e,t){"use strict" 25var a=t("JPst"),i=t.n(a)()(function(n){return n[1]}) 26i.push([n.i,".signInPage-root-2VM {\n}\n\n.signInPage-header-Amu {\n}\n@media (max-width: 768px) {\n .signInPage-root-2VM {\n background: white;\n }\n}\n",""]),i.locals={root:"signInPage-root-2VM gap-y-md grid px-4 md_px-10 max-w-[1208px] m-auto",header:"signInPage-header-Amu font-serif"},e.a=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.