@cleartrip/ct-platform-login-form 2.3.35 → 6.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Loader/index.d.ts.map +1 -1
- package/dist/Loader/index.module.d.ts +9 -0
- package/dist/Loader/index.module.d.ts.map +1 -0
- package/dist/LoaderThreeDots/index.d.ts.map +1 -1
- package/dist/LoaderThreeDots/index.module.d.ts +5 -0
- package/dist/LoaderThreeDots/index.module.d.ts.map +1 -0
- package/dist/LoginForm.d.ts.map +1 -1
- package/dist/MobileInput/index.d.ts.map +1 -1
- package/dist/OtpInput/index.d.ts.map +1 -1
- package/dist/ct-platform-login-form.cjs.js +1 -1
- package/dist/ct-platform-login-form.cjs.js.map +1 -1
- package/dist/ct-platform-login-form.esm.js +1 -1
- package/dist/ct-platform-login-form.esm.js.map +1 -1
- package/dist/index.css +0 -1
- package/dist/index.module.d.ts +55 -0
- package/dist/index.module.d.ts.map +1 -0
- package/package.json +19 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/Loader/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/Loader/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,UAAU,cAAc;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA4B3C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const styles: import("@cleartrip/ct-design-types").NamedStyles<{
|
|
2
|
+
loader: unknown;
|
|
3
|
+
loader__content: unknown;
|
|
4
|
+
loader__spinner: unknown;
|
|
5
|
+
loader__heading: unknown;
|
|
6
|
+
loader__text: unknown;
|
|
7
|
+
}>;
|
|
8
|
+
export default styles;
|
|
9
|
+
//# sourceMappingURL=index.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/Loader/index.module.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM;;;;;;EAgDT,CAAC;AAEJ,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/LoaderThreeDots/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/LoaderThreeDots/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAUnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/LoaderThreeDots/index.module.ts"],"names":[],"mappings":"AAaA,QAAA,MAAM,MAAM;;EAiDT,CAAC;AAEJ,eAAe,MAAM,CAAC"}
|
package/dist/LoginForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../packages/components/LoginForm/src/LoginForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../packages/components/LoginForm/src/LoginForm.tsx"],"names":[],"mappings":"AAqBA,OAAO,cAAc,CAAC;AAGtB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQnD,QAAA,MAAM,SAAS,GAAI,wNAchB,cAAc,4CA+LhB,CAAC;AACF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/MobileInput/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/MobileInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAKN,MAAM,OAAO,CAAC;AAoCf,UAAU,gBAAgB;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClD,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,oBAAoB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACnE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+U3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/OtpInput/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/LoginForm/src/OtpInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAKN,MAAM,OAAO,CAAC;AAkDf,UAAU,aAAa;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAI5B,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClD,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kBAAkB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACjE,kBAAkB,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACvE;AAED,oBAAY,eAAe;IACvB,SAAS,IAAI;IACb,MAAM,IAAI;IACV,QAAQ,IAAI;CACf;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAmfrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),t=require("@cleartrip/ct-platform-utils"),a=require("@cleartrip/ct-design-toast"),r=require("@cleartrip/ct-platform-constants"),o=require("@cleartrip/ct-design-field"),l=require("@cleartrip/ct-design-spacer"),s=require("@cleartrip/ct-design-spinner"),c=require("@cleartrip/ct-design-typography"),_=require("@cleartrip/ct-design-alert-callout"),d=require("@cleartrip/ct-design-icons"),u=require("classnames"),p=require("@cleartrip/ct-design-button"),g=require("@cleartrip/ct-design-divider"),m=require("@cleartrip/ct-platform-assets");function v(e){return e&&e.__esModule?e:{default:e}}var f=v(u);function N(e,n){void 0===n&&(n={});var i=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===i&&t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var x={mobileinput_seperatortext:"index-module_mobileinput_seperatortext__-KDOp",footer_text:"index-module_footer_text__nkeJv",otp_container:"index-module_otp_container__1CE4N",otp_box_wrapper:"index-module_otp_box_wrapper__sM2Ba",login_otp_input:"index-module_login_otp_input__L-3P8",login_otp_error:"index-module_login_otp_error__o3y2L",nonUtilsSelector_toast:"index-module_nonUtilsSelector_toast__lvWmB"};N(".index-module_mobileinput_seperatortext__-KDOp{background:#fff;left:0;margin:0 auto;position:absolute;right:0;text-align:center;top:-10px;width:40px}.index-module_footer_text__nkeJv{color:grey!important;font-size:12px!important}.index-module_otp_container__1CE4N{display:flex;flex-direction:column;margin-top:24px}.index-module_otp_box_wrapper__sM2Ba{margin-right:8px}.index-module_login_otp_input__L-3P8{font-size:24px!important;font-style:normal;font-weight:600!important;height:56px!important;line-height:28px;padding:auto;text-align:center;width:56px!important}.index-module_login_otp_error__o3y2L{padding-top:4px}.index-module_nonUtilsSelector_toast__lvWmB{bottom:12px!important;margin-bottom:12px;margin:0 auto!important;padding:12px 16px!important;width:calc(100% - 48px)!important;z-index:2000}");var h="index-module_loader__container__VX-VO",T="index-module_three-dots-loader__i7R-R";N('.index-module_loader__container__VX-VO{align-items:center;background:#fff;border-radius:32px;box-shadow:0 8px 24px 0 rgba(26,26,26,.1);display:flex;height:34px;justify-content:center;left:50%;padding:12px;position:absolute;top:50%;transform:translate(-50%,-50%);width:66px}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R{animation:index-module_three-dots-loader__i7R-R 1s linear infinite alternate;animation-delay:.5s;background-color:#1a1a1a;border-radius:5px;height:8px;position:relative;width:8px}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:after,.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:before{content:"";display:inline-block;position:absolute;top:0}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:before{animation:index-module_three-dots-loader__i7R-R 1s infinite alternate;animation-delay:0s;background-color:#1a1a1a;border-radius:5px;height:8px;left:-15px;width:8px}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:after{animation:index-module_three-dots-loader__i7R-R 1s infinite alternate;animation-delay:1s;background-color:#1a1a1a;border-radius:5px;height:8px;left:15px;width:8px}@keyframes index-module_three-dots-loader__i7R-R{0%{background-color:#1a1a1a}50%,to{background-color:grey}}');var S,b=function(){return n.jsx("div",e.__assign({className:h},{children:n.jsx("div",{className:T})}))};!function(e){e[e.DETECTING=0]="DETECTING",e[e.FAILED=1]="FAILED",e[e.DETECTED=2]="DETECTED"}(S||(S={}));var O=function(a){var u=a.mobileNumber,p=a.errorCallout,g=a.ravenPayload,m=a.otpInputHeight;a.skipProfileFlow;var v=a.otpResendDisabled,f=a.hotelsLoyaltyFlow,N=a.getOTP,h=a.setCtaDisabled,T=a.setErrorCallout,O=a.setMobileNumber,y=a.setShowMobilePage,C=a.handleLoginSuccess,E=a.handleLoginFailure,k=i.useRef(Array(4).fill(null)),L=i.useState(S.DETECTING),I=L[0],w=L[1],P=i.useState(r.LOGIN_CONSTANTS.OTP_COUNTDOWN),j=P[0],A=P[1],D=i.useState(""),R=D[0],G=D[1],F=i.useState(!0),U=F[0],V=F[1],M=i.useState(!1),K=M[0],q=M[1],B=i.useState(""),H=B[0],X=B[1],W=i.useState(!0),z=W[0],Y=W[1],Q=i.useState(!1),J=Q[0],Z=Q[1],$=i.useRef(),ee=i.useRef(),ne="CT";i.useEffect((function(){ie();var n=t.getRavenEventProps();t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"login_otp_screen_opened",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},g))}),[]),i.useEffect((function(){t.isIOSApp()&&Y(!1)}),[]),i.useEffect((function(){ie()}),[]),i.useEffect((function(){J||(k.current[0].focus(),k.current[0].click())}),[J]),i.useEffect((function(){0===j&&V(!1)}),[j]),i.useEffect((function(){var e;return U&&j>0&&(e=setInterval((function(){A((function(e){return e-1}))}),1e3)),function(){clearInterval(e)}}),[U,j]);var ie=i.useCallback((function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t.autoReadOtp()];case 1:return n=e.sent(),G(n),w(S.DETECTED),(null==n?void 0:n.length)===r.LOGIN_CONSTANTS.OTP_LENGTH&&ae&&ae(n,!0),[3,3];case 2:return"NOT_SUPPORTED"===e.sent()&&Y(!1),[3,3];case 3:return[2]}}))}))}),[z]),te=i.useCallback((function(n){var i=t.getRavenEventProps();t.ravenSDKTrigger("u_login_error",e.__assign({action_name:"otp_incorrect",login_form:null==i?void 0:i.loginForm,login_type:"native",vertical:null==i?void 0:i.vertical,page_name:null==i?void 0:i.pageName},g));var a=null==n?void 0:n.message;"OTP_VALIDATE_LIMIT_EXCEEDED"!==a&&G(""),k.current[0].focus(),k.current[0].click();var o=r.LOGIN_CONSTANTS[a],l="string"==typeof o?o:r.LOGIN_CONSTANTS.INVALID_OTP;X(l)}),[k]),ae=i.useCallback((function(n,i){return e.__awaiter(void 0,void 0,void 0,(function(){var a,r,o,l,s;return e.__generator(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),a=t.getRavenEventProps(),t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"otp_entered",login_form:null==a?void 0:a.loginForm,login_type:"native",entry_type:i?"autodetected":"manual_entry",vertical:null==a?void 0:a.vertical,page_name:null==a?void 0:a.pageName},g)),n===$.current&&ee.current&&ee.current-Date.now()<=100?[2]:($.current=n,ee.current=Date.now(),f&&Z(!0),[4,t.validateOtp(u,n)]);case 1:return r=c.sent(),o=r.status,l=r.action,200!==Number(o)||t.isEmpty(l)?(f&&Z(!1),E(ne)):(q(!0),X(""),t.updateNativeOnLogin(),"SIGNUP"===l?C(ne,!0):C(ne)),[3,3];case 2:return s=c.sent(),f&&Z(!1),E(ne),te(s),[3,3];case 3:return[2]}}))}))}),[$,ee,q,w,X,te]),re=function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,l;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,navigator.clipboard.readText()];case 1:return(n=e.sent())&&t.isNumeric(n)&&(i=n.slice(0,r.LOGIN_CONSTANTS.OTP_LENGTH).split(""),null===(o=k.current[r.LOGIN_CONSTANTS.OTP_LENGTH-1])||void 0===o||o.focus(),null===(l=k.current[r.LOGIN_CONSTANTS.OTP_LENGTH-1])||void 0===l||l.click(),a=i.join(""),G(a),a.length===r.LOGIN_CONSTANTS.OTP_LENGTH&&ae(a,!1)),[2]}}))}))},oe=i.useCallback((function(e,n){var i,a;T(""),""!==e.target.value&&n<k.current.length-1&&(null===(i=k.current[n+1])||void 0===i||i.focus(),null===(a=k.current[n+1])||void 0===a||a.click());var o=k.current.map((function(e){return t.isHTMLInputElement(e)?e.value:""})).join("").slice(0,4);G(o),o.length===r.LOGIN_CONSTANTS.OTP_LENGTH&&ae(o,!1)}),[G,ae]),le=i.useCallback((function(e,n){var i,t,a;"Backspace"===e.key&&n>0&&""===(null===(i=k.current[n])||void 0===i?void 0:i.value)&&(e.preventDefault(),null===(t=k.current[n-1])||void 0===t||t.focus(),null===(a=k.current[n-1])||void 0===a||a.click())}),[k]),se=i.useCallback((function(){A(r.LOGIN_CONSTANTS.OTP_COUNTDOWN),V(!0),N(u);var n=t.getRavenEventProps();t.ravenSDKTrigger("u_login_error",e.__assign({action_name:"resend_otp_clicked",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},g))}),[A,V]),ce=i.useCallback((function(){h(!0),y(!0),O("")}),[y]);return n.jsxs("div",e.__assign({className:"flex flex-column bg-neutral-100",style:{height:m}},{children:[p&&n.jsx(_.AlertCallout,{variant:"error",textNode:p,prefixIconNode:n.jsx(d.InfoIcon,{fill:"red"}),style:{color:"#ffff",backgroundColor:"#db201e"},className:"fs-12"}),n.jsxs("div",e.__assign({className:"flex flex-bottom"},{children:[n.jsxs(c.Typography,e.__assign({variant:"HM1",color:"heading"},{children:[r.LOGIN_CONSTANTS.OTP_TEXT," ",n.jsx("br",{}),u]})),n.jsx("div",e.__assign({className:"pl-2",onClick:ce},{children:n.jsx(d.Edit,{})}))]})),n.jsxs("div",e.__assign({className:x.otp_container},{children:[n.jsxs("div",e.__assign({className:"flex",style:f?{width:"max-content",position:"relative"}:{}},{children:[e.__spreadArray([],Array(r.LOGIN_CONSTANTS.OTP_LENGTH),!0).map((function(i,t){return n.jsx("div",e.__assign({className:x.otp_box_wrapper},{children:n.jsx(o.FieldV2,{prompt:{hasError:!!H},type:"number",placeholder:"",value:R[t],max:1,inputMode:"numeric",className:x.login_otp_input,variant:"md",ref:function(e){e&&(k.current[t]=e)},onKeyDown:function(e){return le(e,t)},onChange:function(e){return oe(e,t)},onPaste:re,autoFocus:0===t,disabled:!(!f||!J)})}),t)})),f&&J&&n.jsx(b,{})]})),!!H&&n.jsx(c.Typography,e.__assign({variant:"P1",color:"warning",className:x.login_otp_error},{children:H}))]})),n.jsx(l.Spacer,{className:"pt-2"}),I===S.DETECTING&&!K&&z&&j>r.LOGIN_CONSTANTS.RESEND_OTP_COUNTDOWN&&n.jsxs("div",e.__assign({className:"flex flex-middle"},{children:[n.jsx(s.Spinner,{width:"20px",height:"20px",borderColor:"#11a670",className:"bg-neutral-900 bc-black"}),n.jsx(c.Typography,e.__assign({variant:"B3",className:"fs-12 fw-500 ml-1 c-neutral-700"},{children:r.LOGIN_CONSTANTS.AUTO_DETECTING_TEXT}))]})),I===S.DETECTING&&j<=r.LOGIN_CONSTANTS.RESEND_OTP_COUNTDOWN&&!K&&n.jsx(n.Fragment,{children:n.jsxs("div",e.__assign({className:"flex"},{children:[n.jsx(c.Typography,e.__assign({variant:"B3",className:"fs-12 fw-500 c-neutral-700 "},{children:r.LOGIN_CONSTANTS.OTP_RESEND_TEXT})),n.jsx(l.Spacer,{className:"ml-1"}),v?n.jsx(c.Typography,e.__assign({className:"color-neutral-200 fw-500",variant:"B3"},{children:r.LOGIN_CONSTANTS.RESEND_CTA})):n.jsxs(n.Fragment,{children:[0===j&&n.jsx(n.Fragment,{children:n.jsx(c.Typography,e.__assign({isClickable:!0,variant:"B3",onClick:se,color:"link",className:"\n fs-12 fw-500 c-pointer"},{children:r.LOGIN_CONSTANTS.RESEND_CTA}))}),j>0&&n.jsx(c.Typography,e.__assign({color:"disabled",variant:"B3"},{children:" Resend ("+j+"s)"}))]})]}))}),!H&&K&&n.jsx(n.Fragment,{children:n.jsxs("div",e.__assign({className:"flex flex-middle"},{children:[n.jsx(d.CheckCircle,{}),n.jsx(c.Typography,e.__assign({variant:"P1",color:"success",className:"fs-12"},{children:I===S.DETECTED?r.LOGIN_CONSTANTS.AUTO_DETECTED_TEXT:r.LOGIN_CONSTANTS.VERIFIED_MESSAGE}))]}))}),n.jsx(l.Spacer,{className:"mt-24"})]}))},y={loader:"index-module_loader__63LeU","With-full-opacity":"index-module_With-full-opacity__ZSY-U",loader__content:"index-module_loader__content__Q6kJl",loader__spinner:"index-module_loader__spinner__6B3AR","loader-rotate":"index-module_loader-rotate__efcf3",loader__heading:"index-module_loader__heading__7YZ3N",loader__text:"index-module_loader__text__1QcLi"};N(".index-module_loader__63LeU{align-items:center;background-color:hsla(0,0%,100%,.95);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:0}.index-module_loader__63LeU.index-module_With-full-opacity__ZSY-U{background-color:#fff}.index-module_loader__content__Q6kJl{max-width:280px;text-align:center}.index-module_loader__spinner__6B3AR{animation:index-module_loader-rotate__efcf3 .8s linear infinite;border:2px solid rgba(51,102,204,.3);border-radius:50%;border-top-color:#36c;display:inline-block;height:30px;margin-bottom:10px;position:relative;width:30px}.index-module_loader__heading__7YZ3N{color:#000;font-size:18px;font-weight:600;margin-bottom:5px}.index-module_loader__text__1QcLi{color:rgba(0,0,0,.8);font-size:16px;line-height:1.5}");var C=function(i){var t=i.title,a=i.message,r=i.className;return n.jsx("div",e.__assign({className:"".concat(y.utilswrapper," utilswrapper")},{children:n.jsx("div",e.__assign({className:f.default(y.loader,r)},{children:n.jsxs("div",e.__assign({className:y.loader__content},{children:[n.jsx("div",{className:y.loader__spinner}),n.jsx("h5",e.__assign({className:y.loader__heading},{children:t})),n.jsx("p",e.__assign({className:y.loader__text},{children:a}))]}))}))}))},E=function(a){var l=a.sendingOtp,s=a.ctaDisabled,u=a.getOTP,v=a.setErrorCallout,f=a.errorCallout,N=a.mobileNumber,h=a.setMobileInputHeight,T=a.setMobileNumber,S=a.fallbackUri,b=a.skipProfileFlow,O=a.ravenPayload,y=a.hotelsLoyaltyFlow,C=a.heading,E=a.isFkLoginEnabled,k=void 0===E||E,L=a.isPrivacyPolicyVisible,I=void 0===L||L,w=a.fkLoginClick,P=i.useState(t.isFKSSOEnabled)[0],j=i.useState(!1),A=j[0],D=j[1],R=i.useRef(null),G=i.useRef(null);i.useEffect((function(){if(G.current){var e=G.current.clientHeight;h(e)}}),[G.current]),i.useEffect((function(){var e;return R.current&&(e=setTimeout((function(){var e;null===(e=R.current)||void 0===e||e.focus()}),100)),function(){clearTimeout(e)}}),[]),i.useEffect((function(){t.isAndroidApp()&&V()}),[]);var F=i.useCallback((function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,i;return e.__generator(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),n=t.getRavenEventProps(),null==w||w(),t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"login_with_flipkart_clicked",login_form:null==n?void 0:n.loginForm,login_type:"fk_sso",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},O)),D(!0),[4,t.handleFKSSO(S,b)];case 1:return i=a.sent(),y||D(!1),t.isPwa()&&(window.location.href=i),[3,3];case 2:return a.sent(),D(!1),[3,3];case 3:return[2]}}))}))}),[]),U=i.useCallback((function(n,i){void 0===i&&(i=!1),v("");var a=n.target.value||"";if(a=a.replace(t.MULTI_SPACE," ").trimStart(),T(a),t.isValidMobileNumber(n.target.value)){u(a);var r=t.getRavenEventProps();t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"get_otp_clicked",login_form:null==r?void 0:r.loginForm,login_type:"native",entry_type:"auto_click",vertical:null==r?void 0:r.vertical,page_name:null==r?void 0:r.pageName},O)),i?t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"phone_number_autodetected",login_form:null==r?void 0:r.loginForm,login_type:"native",entry_type:"autodetected",vertical:null==r?void 0:r.vertical,page_name:null==r?void 0:r.pageName},O)):t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"phone_number_entered",login_form:null==r?void 0:r.loginForm,login_type:"native",entry_type:"manual_entry",vertical:null==r?void 0:r.vertical,page_name:null==r?void 0:r.pageName},O))}}),[T]),V=i.useCallback((function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,i;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,t.showMobileNumberHint()];case 1:return n=e.sent(),i={target:{value:n}},n&&U(i,!0),[2]}}))}))}),[U]),M=i.useCallback((function(){var n=t.getRavenEventProps();t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"policy_click",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},O)),window.location.href=r.NAVIGATION_ROUTES.PRIVACY_POLICY}),[]),K=i.useCallback((function(){var n=t.getRavenEventProps();t.ravenSDKTrigger("u_login_click",e.__assign({action_name:"tnc_click",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},O)),window.location.href=r.NAVIGATION_ROUTES.TERMS}),[]);return n.jsxs("div",e.__assign({className:"flex flex-column",ref:G},{children:[f&&n.jsx(_.AlertCallout,{variant:"error",textNode:f,prefixIconNode:n.jsx(d.InfoIcon,{fill:"red"}),style:{color:"#ffff",backgroundColor:"#db201e"},className:"fs-12"}),n.jsx(c.Typography,e.__assign({variant:"HM1",color:"heading",className:"mb-4 fs-24"},{children:C||r.LOGIN_CONSTANTS.LOGIN_TO_CT})),n.jsx("label",e.__assign({style:{visibility:"hidden",width:"0.1px",height:"0.1px"},htmlFor:"phonenumber"},{children:"Phone number"})),n.jsx(o.PhoneField,{onChange:U,value:N,name:"phonenumber",placeholder:"",inputMode:"numeric",ref:R,min:0,max:10,autoFocus:!0,countryCode:r.LOGIN_CONSTANTS.COUNTRY_CODE}),n.jsx(p.Button,e.__assign({color:"primary",size:"medium",minWidth:"160px",disabled:s,loading:l,className:"my-6",onClick:function(){return u(N)}},{children:r.LOGIN_CONSTANTS.GET_OTP})),P&&k&&n.jsxs(n.Fragment,{children:[n.jsxs("div",e.__assign({className:"my-6 p-relative"},{children:[n.jsx(g.Divider,{}),n.jsx("span",e.__assign({className:"".concat(x.mobileinput_seperatortext)},{children:"or"}))]})),n.jsx(p.Button,e.__assign({variant:"outline",size:"medium",className:"my-6",loading:A,onClick:F,showLeftIcon:!A,LeftIcon:n.jsx("img",{src:m.FlipkartLogo})},{children:r.LOGIN_CONSTANTS.FK_LOGIN_CTA}))]}),I&&n.jsxs("div",e.__assign({className:"pt-8 pb-6"},{children:[n.jsx(g.Divider,{}),n.jsxs("div",e.__assign({className:"pt-2"},{children:[n.jsx(c.Typography,e.__assign({variant:"P1",componentNode:"span",className:x.footer_text},{children:r.LOGIN_CONSTANTS.FOOTER_TEXT})),n.jsx(c.Typography,e.__assign({variant:"P1",componentNode:"span",color:"link",className:"fs-12",onClick:K,isClickable:!0,styleConfig:{containerCss:{display:"inline-block"}}},{children:r.LOGIN_CONSTANTS.TNC_CTA})),n.jsx(c.Typography,e.__assign({className:"px-1 fs-12 c-neutral-700",variant:"P1",componentNode:"span"},{children:"and"})),n.jsx(c.Typography,e.__assign({variant:"P1",componentNode:"span",color:"link",onClick:M,className:"fs-12",isClickable:!0,styleConfig:{containerCss:{display:"inline-block"}}},{children:r.LOGIN_CONSTANTS.PRIVACY_CTA}))]}))]}))]}))};exports.LoginForm=function(o){var l=o.fallbackUri,s=o.isLoginModule,c=o.skipProfileFlow,_=o.sendUserInsights,d=o.isFkLoginEnabled,u=o.ravenPayload,p=void 0===u?{}:u,g=o.hotelsLoyaltyFlow,m=o.enableProfileFetch,v=o.isPrivacyPolicyVisible,f=o.heading,N=o.onAuthSuccess,h=o.onAuthFailure,T=o.fkLoginClick,S=i.useState(!0),b=S[0],y=S[1],k=i.useState(!0),L=k[0],I=k[1],w=i.useState(!1),P=w[0],j=w[1],A=i.useState(""),D=A[0],R=A[1],G=i.useState(0),F=G[0],U=G[1],V=i.useState(""),M=V[0],K=V[1],q=i.useState(!1),B=q[0],H=q[1],X=i.useState(!1),W=X[0],z=X[1],Y=i.useState(!1),Q=Y[0],J=Y[1],Z=i.useCallback((function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var i,a,o,l;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),H(!1),I(!1),j(!0),t.triggerOTPListener(),[4,t.sendLoginOtp(n)];case 1:return i=e.sent(),"SUCCESS"===(i||{}).status&&(y(!1),j(!1)),[3,3];case 2:return a=e.sent(),console.error(a),o=(a||{}).message,j(!1),l=o&&r.LOGIN_CONSTANTS[o],K(String(l||r.LOGIN_CONSTANTS.GENERIC_ERROR_MESSAGE)),"OTP_SEND_LIMIT_EXCEEDED"===o&&H(!0),[3,3];case 3:return[2]}}))}))}),[b,y]),$=i.useCallback((function(n,i){var a=t.getRavenEventProps(),r=e.__assign({action_name:"login_successful",login_form:null==a?void 0:a.loginForm,login_type:"native",login_new:i?"sign_up":"sign_in",vertical:null==a?void 0:a.vertical,page_name:null==a?void 0:a.pageName},p);_?t.sendEventWithUserInsights("u_login_success",r):t.ravenSDKTrigger("u_login_success",r),m&&t.handleProfileFetch(),g||s||z(!0),N(i)}),[p,s,c,_,g,m]),ee=i.useCallback((function(e){h(e)}),[]),ne=function(){J(!0)};return i.useEffect((function(){if(!s){window&&(window.showSigninLoaderScreen=ne);var e=t.getQueryParam("fkSSOstatus"),n="FK";"signin"===e&&(t.isAndroidApp()&&t.updateNativeAndroidOnSignIn(),$(n)),"signup"===e&&(t.isAndroidApp()&&t.updateNativeAndroidOnSignIn(),$(n,!0)),"failure"===e&&ee(n)}}),[]),n.jsxs("div",e.__assign({className:"".concat(x.utilswrapper," utilswrapper")},{children:[W&&n.jsx(a.Toast,{text:"Logged in successfully!",show:W,className:"".concat(x.nonUtilsSelector_toast),closeTimeout:2e3}),Q&&n.jsx(C,{title:"Please wait",message:"Signing in...",className:"z-10 bg-white"}),b?n.jsx(E,{device:"PWA",ctaDisabled:L,sendingOtp:P,getOTP:Z,mobileNumber:D,setMobileNumber:R,setMobileInputHeight:U,fallbackUri:l,skipProfileFlow:c,setErrorCallout:K,errorCallout:M,ravenPayload:p,hotelsLoyaltyFlow:g,isFkLoginEnabled:d,isPrivacyPolicyVisible:v,heading:f,fkLoginClick:T}):n.jsx(O,{mobileNumber:D,getOTP:Z,setCtaDisabled:I,setShowMobilePage:y,handleLoginSuccess:$,handleLoginFailure:ee,otpInputHeight:F,setMobileNumber:R,setErrorCallout:K,errorCallout:M,otpResendDisabled:B,ravenPayload:p,skipProfileFlow:c,hotelsLoyaltyFlow:g})]}))};
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("@cleartrip/ct-design-style-manager"),o=require("react"),n=require("@cleartrip/ct-platform-utils"),i=require("@cleartrip/ct-design-toast"),r=require("@cleartrip/ct-platform-constants"),a=require("@cleartrip/ct-design-spacer"),l=require("@cleartrip/ct-design-spinner"),s=require("@cleartrip/ct-design-typography"),c=require("@cleartrip/ct-design-alert-callout"),g=require("@cleartrip/ct-design-icons"),d=require("@emotion/css"),u=require("@cleartrip/ct-design-components"),p=require("@cleartrip/ct-design-button"),f=require("@cleartrip/ct-design-divider"),_=require("@cleartrip/ct-design-field"),C=require("@cleartrip/ct-platform-assets");const m=t.makeStyles((()=>({mobileinput_seperatortext:{position:"absolute",width:40,background:"#fff",top:-10,textAlign:"center",left:0,right:0,marginTop:0,marginRight:"auto",marginBottom:0,marginLeft:"auto"},footer_text:{color:"grey",fontSize:12},otp_container:{marginTop:24,display:"flex",flexDirection:"column"},otp_box_wrapper:{marginRight:8},login_otp_input:{width:56,height:56,fontSize:24,fontStyle:"normal",fontWeight:600,lineHeight:28,textAlign:"center",padding:"auto"},login_otp_error:{paddingTop:4},nonUtilsSelector_toast:{bottom:12,marginBottom:12,zIndex:2e3,paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:16,marginTop:0,marginRight:"auto",marginBottom:0,marginLeft:"auto",width:"calc(100% - 48px)"}}))),v=d.keyframes({"0%":{backgroundColor:"#1a1a1a"},"50%, 100%":{backgroundColor:"#808080"}}),h=t.makeWebStyles((()=>({loader__container:{padding:12,borderRadius:32,background:"#fff",boxShadow:"0px 8px 24px 0px rgba(26, 26, 26, 0.1)",width:66,height:34,display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","& .three-dots-loader":{position:"relative",width:8,height:8,borderRadius:5,backgroundColor:"#1a1a1a",animation:`${v} 1s infinite linear alternate`,animationDelay:"0.5s"},"& .three-dots-loader::before, .loader__container .three-dots-loader::after":{content:'""',display:"inline-block",position:"absolute",top:0},"& .three-dots-loader::before":{left:-15,width:8,height:8,borderRadius:5,backgroundColor:"#1a1a1a",animation:`${v} 1s infinite alternate`,animationDelay:"0s"},"& .three-dots-loader::after":{left:15,width:8,height:8,borderRadius:5,backgroundColor:"#1a1a1a",animation:`${v} 1s infinite alternate`,animationDelay:"1s"}}}))),T=()=>e.jsx(u.Container,{as:"div",styleConfig:{root:[h.loader__container]},children:e.jsx(u.Container,{as:"div",styleConfig:{root:[h["three-dots-loader"]]}})}),y=t.makeStyles((()=>({"fs-12":{},"bg-neutral-900":{},"bc-black":{},"c-neutral-700":{},"color-neutral-200":{},"c-pointer":{},"mt-24":{},"width-20":{width:20},"height-20":{height:20}})));var N;!function(e){e[e.DETECTING=0]="DETECTING",e[e.FAILED=1]="FAILED",e[e.DETECTED=2]="DETECTED"}(N||(N={}));const b=({mobileNumber:i,errorCallout:d,ravenPayload:p,otpInputHeight:f,skipProfileFlow:_,otpResendDisabled:C,hotelsLoyaltyFlow:v,getOTP:h,setCtaDisabled:b,setErrorCallout:S,setMobileNumber:x,setShowMobilePage:O,handleLoginSuccess:E,handleLoginFailure:k})=>{const j=o.useRef(Array(4).fill(null)),[I,L]=o.useState(N.DETECTING),[P,w]=o.useState(r.LOGIN_CONSTANTS.OTP_COUNTDOWN),[A,D]=o.useState(""),[F,R]=o.useState(!0),[G,M]=o.useState(!1),[U,q]=o.useState(""),[K,B]=o.useState(!0),[W,H]=o.useState(!1),V=o.useRef(""),z=o.useRef(0),X="CT";o.useEffect((()=>{Y();const e=n.getRavenEventProps();n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"login_otp_screen_opened",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},p))}),[]),o.useEffect((()=>{n.isIOSApp()&&B(!1)}),[]),o.useEffect((()=>{Y()}),[]),o.useEffect((()=>{W||(j.current[0].focus(),j.current[0].click())}),[W]),o.useEffect((()=>{0===P&&R(!1)}),[P]),o.useEffect((()=>{let e;return F&&P>0&&(e=setInterval((()=>{w((e=>e-1))}),1e3)),()=>{clearInterval(e)}}),[F,P]);const Y=o.useCallback((async()=>{try{const e=await n.autoReadOtp();D(e),L(N.DETECTED),(null==e?void 0:e.length)===r.LOGIN_CONSTANTS.OTP_LENGTH&&Q&&Q(e,!0)}catch(e){"NOT_SUPPORTED"===e&&B(!1)}}),[K]),$=o.useCallback((e=>{const t=n.getRavenEventProps();n.ravenSDKTrigger("u_login_error",Object.assign({action_name:"otp_incorrect",login_form:null==t?void 0:t.loginForm,login_type:"native",vertical:null==t?void 0:t.vertical,page_name:null==t?void 0:t.pageName},p));const o=null==e?void 0:e.message;"OTP_VALIDATE_LIMIT_EXCEEDED"!==o&&D(""),j.current[0].focus(),j.current[0].click();const i=r.LOGIN_CONSTANTS[o],a="string"==typeof i?i:r.LOGIN_CONSTANTS.INVALID_OTP;q(a)}),[j]),Q=o.useCallback((async(e,t)=>{try{const o=n.getRavenEventProps();if(n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"otp_entered",login_form:null==o?void 0:o.loginForm,login_type:"native",entry_type:t?"autodetected":"manual_entry",vertical:null==o?void 0:o.vertical,page_name:null==o?void 0:o.pageName},p)),e===V.current&&z.current&&z.current-Date.now()<=100)return;V.current=e,z.current=Date.now(),v&&H(!0);const r=await n.validateOtp(i,e),{status:a,action:l}=r;200!==Number(a)||n.isEmpty(l)?(v&&H(!1),k(X)):(M(!0),q(""),n.updateNativeOnLogin(),"SIGNUP"===l?E(X,!0):E(X))}catch(e){v&&H(!1),k(X),$(e)}}),[V,z,M,L,q,$]),J=o.useCallback(((e,t)=>{var o,i;S("");const{value:a}=e.target;""!==a&&t<j.current.length-1&&(null===(o=j.current[t+1])||void 0===o||o.focus(),null===(i=j.current[t+1])||void 0===i||i.click());const l=j.current.map((e=>n.isHTMLInputElement(e)?e.value:"")).join("").slice(0,4);D(l),l.length===r.LOGIN_CONSTANTS.OTP_LENGTH&&Q(l,!1)}),[D,Q]),Z=o.useCallback(((e,t)=>{var o,n,i,r;"Backspace"===e.target.key&&t>0&&""===(null===(o=j.current[t])||void 0===o?void 0:o.value)&&(null===(n=e.preventDefault)||void 0===n||n.call(e),null===(i=j.current[t-1])||void 0===i||i.focus(),null===(r=j.current[t-1])||void 0===r||r.click())}),[j]),ee=o.useCallback((()=>{w(r.LOGIN_CONSTANTS.OTP_COUNTDOWN),R(!0),h(i);const e=n.getRavenEventProps();n.ravenSDKTrigger("u_login_error",Object.assign({action_name:"resend_otp_clicked",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},p))}),[w,R]),te=o.useCallback((()=>{b(!0),O(!0),x("")}),[O]),oe=v?{width:"max-content",position:"relative"}:{};return e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs.flex,t.gs["flex-column"],t.gs["bg-neutral-100"],{height:f}]},children:[d&&e.jsx(c.AlertCallout,{variant:"error",textNode:d,prefixIconNode:e.jsx(g.InfoIcon,{fill:"red"}),styleConfig:{root:[y["fs-12"],{color:"#ffff",backgroundColor:"#db201e"}]}}),e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs.flex,t.gs["flex-bottom"]]},children:[e.jsxs(s.Typography,{variant:"HM1",color:"heading",children:[r.LOGIN_CONSTANTS.OTP_TEXT," ",e.jsx("br",{}),i]}),e.jsx(u.Container,{as:"div",onClick:te,styleConfig:{root:[t.gs["pl-2"]]},children:e.jsx(g.Edit,{})})]}),e.jsxs(u.Container,{as:"div",styleConfig:{root:[m.otp_container]},children:[e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs.flex,oe]},children:[[...Array(r.LOGIN_CONSTANTS.OTP_LENGTH)].map(((t,o)=>e.jsx(u.Container,{as:"div",styleConfig:{root:[m.otp_box_wrapper]},children:e.jsx(u.InputField,{prompt:{hasError:!!U},type:"number",placeholder:"",value:A[o],maxLength:1,inputMode:"numeric",variant:"md",ref:e=>{e&&(j.current[o]=e)},onKeyDown:e=>Z(e,o),onChange:e=>J(e,o),autoFocus:0===o,disabled:!(!v||!W)})},o))),v&&W&&e.jsx(T,{})]}),!!U&&e.jsx(s.Typography,{variant:"P1",color:"warning",styleConfig:{root:[m.login_otp_error]},children:U})]}),e.jsx(a.Spacer,{styleConfig:{root:[t.gs["pt-2"]]}}),I===N.DETECTING&&!G&&K&&P>r.LOGIN_CONSTANTS.RESEND_OTP_COUNTDOWN&&e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs.flex,t.gs["flex-middle"]]},children:[e.jsx(l.Spinner,{borderColor:"#11a670",styleConfig:{root:[y["width-20"],y["height-20"],y["bg-neutral-900"],y["bc-black"]]}}),e.jsx(s.Typography,{variant:"B3",styleConfig:{root:[y["fs-12"],t.gs["fw-500"],t.gs["ml-1"],y["c-neutral-700"]]},children:r.LOGIN_CONSTANTS.AUTO_DETECTING_TEXT})]}),I===N.DETECTING&&P<=r.LOGIN_CONSTANTS.RESEND_OTP_COUNTDOWN&&!G&&e.jsx(e.Fragment,{children:e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs.flex]},children:[e.jsx(s.Typography,{variant:"B3",styleConfig:{root:[y["fs-12"],t.gs["fw-500"],y["c-neutral-700"]]},children:r.LOGIN_CONSTANTS.OTP_RESEND_TEXT}),e.jsx(a.Spacer,{styleConfig:{root:[t.gs["ml-1"]]}}),C?e.jsx(s.Typography,{variant:"B3",styleConfig:{root:[y["color-neutral-200"],t.gs["fw-500"]]},children:r.LOGIN_CONSTANTS.RESEND_CTA}):e.jsxs(e.Fragment,{children:[0===P&&e.jsx(e.Fragment,{children:e.jsx(s.Typography,{isClickable:!0,variant:"B3",onClick:ee,color:"link",styleConfig:{root:[y["fs-12"],t.gs["fw-500"],y["c-pointer"]]},children:r.LOGIN_CONSTANTS.RESEND_CTA})}),P>0&&e.jsx(s.Typography,{color:"disabled",variant:"B3",children:" Resend ("+P+"s)"})]})]})}),!U&&G&&e.jsx(e.Fragment,{children:e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs.flex,t.gs["flex-middle"]]},children:[e.jsx(g.CheckCircle,{}),e.jsx(s.Typography,{variant:"P1",color:"success",styleConfig:{root:[y["fs-12"]]},children:I===N.DETECTED?r.LOGIN_CONSTANTS.AUTO_DETECTED_TEXT:r.LOGIN_CONSTANTS.VERIFIED_MESSAGE})]})}),e.jsx(a.Spacer,{styleConfig:{root:[y["mt-24"]]}})]})},S=t.makeWebStyles((()=>({loader:{zIndex:0,position:"fixed",top:0,bottom:0,left:0,right:0,backgroundColor:"rgba(255, 255, 255, 0.95)",display:"flex",justifyContent:"center",alignItems:"center","&.With-full-opacity":{backgroundColor:"rgb(255, 255, 255)"}},loader__content:{textAlign:"center",maxWidth:280},loader__spinner:{width:30,height:30,borderWidth:2,borderStyle:"solid",borderColor:"rgba(51, 102, 204, 0.3)",borderTopColor:"#36c",borderRadius:"50%",position:"relative",animation:"loader-rotate 0.8s linear infinite",display:"inline-block",marginBottom:10},loader__heading:{fontSize:18,color:"rgb(0, 0, 0)",fontWeight:600,marginBottom:5},loader__text:{fontSize:16,lineHeight:1.5,color:"rgba(0, 0, 0, 0.8)"}}))),x=t.makeStyles((()=>({utilswrapper:{}}))),O=({title:t,message:o,className:n})=>e.jsx(u.Container,{as:"div",styleConfig:{root:[S.utilswrapper,x.utilswrapper]},children:e.jsx(u.Container,{as:"div",styleConfig:{root:[S.loader,n]},children:e.jsxs(u.Container,{as:"div",styleConfig:{root:[S.loader__content]},children:[e.jsx(u.Container,{as:"div",styleConfig:{root:[S.loader__spinner]}}),e.jsx(u.Container,{as:"div",styleConfig:{root:[S.loader__heading]},children:t}),e.jsx(u.Typography,{variant:"P2",styleConfig:{root:[S.loader__text]},children:o})]})})}),E=t.makeStyles((()=>({"fs-12":{},"fs-24":{},"c-neutral-700":{}}))),k=({sendingOtp:i,ctaDisabled:a,getOTP:l,setErrorCallout:d,errorCallout:v,mobileNumber:h,setMobileInputHeight:T,setMobileNumber:y,fallbackUri:N,skipProfileFlow:b,ravenPayload:S,hotelsLoyaltyFlow:x,heading:O,isFkLoginEnabled:k=!0,isPrivacyPolicyVisible:j=!0,fkLoginClick:I})=>{const[L]=o.useState(n.isFKSSOEnabled),[P,w]=o.useState(!1),A=o.useRef(null),D=o.useRef(null);o.useEffect((()=>{D.current&&D.current.getBoundingRectWithCallback((e=>{T(e.height)}))}),[D.current,T]),o.useEffect((()=>{let e;return A.current&&(e=setTimeout((()=>{var e;null===(e=A.current)||void 0===e||e.focus()}),100)),()=>{clearTimeout(e)}}),[]),o.useEffect((()=>{n.isAndroidApp()&&G()}),[]);const F=o.useCallback((async()=>{try{const e=n.getRavenEventProps();null==I||I(),n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"login_with_flipkart_clicked",login_form:null==e?void 0:e.loginForm,login_type:"fk_sso",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},S)),w(!0);const t=await n.handleFKSSO(N,b);x||w(!1),n.isPwa()&&(window.location.href=t)}catch(e){w(!1),console.error(e)}}),[]),R=o.useCallback(((e,t=!1)=>{d("");let o=e.target.value||"";o=o.replace(n.MULTI_SPACE," ").trimStart(),y(o);if(n.isValidMobileNumber(e.target.value)){l(o);const e=n.getRavenEventProps();n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"get_otp_clicked",login_form:null==e?void 0:e.loginForm,login_type:"native",entry_type:"auto_click",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},S)),t?n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"phone_number_autodetected",login_form:null==e?void 0:e.loginForm,login_type:"native",entry_type:"autodetected",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},S)):n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"phone_number_entered",login_form:null==e?void 0:e.loginForm,login_type:"native",entry_type:"manual_entry",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},S))}}),[y]),G=o.useCallback((async()=>{const e=await n.showMobileNumberHint();e&&R({target:{value:e}},!0)}),[R]),M=o.useCallback((()=>{const e=n.getRavenEventProps();n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"policy_click",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},S)),window.location.href=r.NAVIGATION_ROUTES.PRIVACY_POLICY}),[]),U=o.useCallback((()=>{const e=n.getRavenEventProps();n.ravenSDKTrigger("u_login_click",Object.assign({action_name:"tnc_click",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},S)),window.location.href=r.NAVIGATION_ROUTES.TERMS}),[]);return e.jsxs(u.Container,{as:"div",ref:D,styleConfig:{root:[t.gs.flex,t.gs["flex-column"]]},children:[v&&e.jsx(c.AlertCallout,{variant:"error",textNode:v,prefixIconNode:e.jsx(g.InfoIcon,{fill:"red"}),styleConfig:{root:[E["fs-12"],{color:"#ffff",backgroundColor:"#db201e"}]}}),e.jsx(s.Typography,{variant:"HM1",color:"heading",styleConfig:{root:[t.gs["mb-4"],E["fs-24"]]},children:O||r.LOGIN_CONSTANTS.LOGIN_TO_CT}),e.jsx("label",{style:{visibility:"hidden",width:"0.1px",height:"0.1px"},htmlFor:"phonenumber",children:"Phone number"}),e.jsx(_.InputField,{onChange:R,value:h,type:"phone",placeholder:"",inputMode:"numeric",ref:A,min:0,max:10,autoFocus:!0,countryCode:r.LOGIN_CONSTANTS.COUNTRY_CODE}),e.jsx(p.Button,{color:"primary",size:"medium",disabled:a,loading:i,onClick:()=>l(h),styleConfig:{root:[t.gs["my-6"]]},children:r.LOGIN_CONSTANTS.GET_OTP}),L&&k&&e.jsxs(e.Fragment,{children:[e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs["my-6"],t.gs["p-relative"]]},children:[e.jsx(f.Divider,{}),e.jsx(u.Container,{as:"span",styleConfig:{root:[m.mobileinput_seperatortext]},children:"or"})]}),e.jsx(p.Button,{variant:"outline",size:"medium",loading:P,onClick:F,prefixIcon:e.jsx("img",{src:C.FlipkartLogo}),styleConfig:{root:[t.gs["my-6"]]},children:r.LOGIN_CONSTANTS.FK_LOGIN_CTA})]}),j&&e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs["pt-8"],t.gs["pb-6"]]},children:[e.jsx(f.Divider,{}),e.jsxs(u.Container,{as:"div",styleConfig:{root:[t.gs["pt-2"]]},children:[e.jsx(s.Typography,{variant:"P1",componentNode:"span",styleConfig:{root:[m.footer_text]},children:r.LOGIN_CONSTANTS.FOOTER_TEXT}),e.jsx(s.Typography,{variant:"P1",componentNode:"span",color:"link",onClick:U,isClickable:!0,styleConfig:{root:[E["fs-12"]],container:{display:"inline-block"}},children:r.LOGIN_CONSTANTS.TNC_CTA}),e.jsx(s.Typography,{variant:"P1",componentNode:"span",styleConfig:{root:[t.gs["px-1"],E["fs-12"],E["c-neutral-700"]]},children:"and"}),e.jsx(s.Typography,{variant:"P1",componentNode:"span",color:"link",onClick:M,isClickable:!0,styleConfig:{root:[E["fs-12"]],container:{display:"inline-block"}},children:r.LOGIN_CONSTANTS.PRIVACY_CTA})]})]})]})},j=t.makeStyles((()=>({utilswrapper:{}})));exports.LoginForm=({fallbackUri:t,isLoginModule:a,skipProfileFlow:l,sendUserInsights:s,isFkLoginEnabled:c,ravenPayload:g={},hotelsLoyaltyFlow:d,enableProfileFetch:p,isPrivacyPolicyVisible:f,heading:_,onAuthSuccess:C,onAuthFailure:v,fkLoginClick:h})=>{const[T,y]=o.useState(!0),[N,S]=o.useState(!0),[x,E]=o.useState(!1),[I,L]=o.useState(""),[P,w]=o.useState(0),[A,D]=o.useState(""),[F,R]=o.useState(!1),[G,M]=o.useState(!1),[U,q]=o.useState(!1),K=o.useCallback((async e=>{try{R(!1),S(!1),E(!0),n.triggerOTPListener();const t=await n.sendLoginOtp(e),{status:o}=t||{};"SUCCESS"===o&&(y(!1),E(!1))}catch(e){console.error(e);const{message:t}=e||{};E(!1);const o=t&&r.LOGIN_CONSTANTS[t];D(String(o||r.LOGIN_CONSTANTS.GENERIC_ERROR_MESSAGE)),"OTP_SEND_LIMIT_EXCEEDED"===t&&R(!0)}}),[T,y]),B=o.useCallback(((e,t)=>{const o=n.getRavenEventProps(),i=Object.assign({action_name:"login_successful",login_form:null==o?void 0:o.loginForm,login_type:"native",login_new:t?"sign_up":"sign_in",vertical:null==o?void 0:o.vertical,page_name:null==o?void 0:o.pageName},g);s?n.sendEventWithUserInsights("u_login_success",i):n.ravenSDKTrigger("u_login_success",i),p&&n.handleProfileFetch(),d||a||M(!0),C(t)}),[g,a,l,s,d,p]),W=o.useCallback((e=>{v(e)}),[]),H=()=>{q(!0)};return o.useEffect((()=>{if(a)return;window&&(window.showSigninLoaderScreen=H);const e=n.getQueryParam("fkSSOstatus"),t="FK";"signin"===e&&(n.isAndroidApp()&&n.updateNativeAndroidOnSignIn(),B(t)),"signup"===e&&(n.isAndroidApp()&&n.updateNativeAndroidOnSignIn(),B(t,!0)),"failure"===e&&W(t)}),[]),e.jsxs(u.Container,{as:"div",styleConfig:{root:[m.utilswrapper,j.utilswrapper]},children:[G&&e.jsx(i.Toast,{text:"Logged in successfully!",show:G,closeTimeout:2e3,styleConfig:{toastContainer:[m.nonUtilsSelector_toast]}}),U&&e.jsx(O,{title:"Please wait",message:"Signing in...",className:"z-10 bg-white"}),T?e.jsx(k,{device:"PWA",ctaDisabled:N,sendingOtp:x,getOTP:K,mobileNumber:I,setMobileNumber:L,setMobileInputHeight:w,fallbackUri:t,skipProfileFlow:l,setErrorCallout:D,errorCallout:A,ravenPayload:g,hotelsLoyaltyFlow:d,isFkLoginEnabled:c,isPrivacyPolicyVisible:f,heading:_,fkLoginClick:h}):e.jsx(b,{mobileNumber:I,getOTP:K,setCtaDisabled:S,setShowMobilePage:y,handleLoginSuccess:B,handleLoginFailure:W,otpInputHeight:P,setMobileNumber:L,setErrorCallout:D,errorCallout:A,otpResendDisabled:F,ravenPayload:g,skipProfileFlow:l,hotelsLoyaltyFlow:d})]})};
|
|
2
2
|
//# sourceMappingURL=ct-platform-login-form.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-login-form.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/LoginForm/src/LoaderThreeDots/index.tsx","../packages/components/LoginForm/src/OtpInput/index.tsx","../packages/components/LoginForm/src/Loader/index.tsx","../packages/components/LoginForm/src/MobileInput/index.tsx","../packages/components/LoginForm/src/LoginForm.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null,null,null,null],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","AutoDetectState","ThreeDotsLoader","_jsx","__assign","className","Styles","children","OtpInput","_a","mobileNumber","errorCallout","ravenPayload","otpInputHeight","skipProfileFlow","otpResendDisabled","hotelsLoyaltyFlow","getOTP","setCtaDisabled","setErrorCallout","setMobileNumber","setShowMobilePage","handleLoginSuccess","handleLoginFailure","inputRefs","useRef","Array","fill","_b","useState","DETECTING","autoDetecting","setAutoDetecting","_c","LOGIN_CONSTANTS","OTP_COUNTDOWN","countdown","setCountdown","_d","otp","setOtp","_f","countdownEnabled","setCountdownEnabled","_g","verifiedOtp","setVerifiedOtp","_h","otpErrorMessage","setOtpErrorMessage","_j","enableAutoDetect","setEnableAutoDetect","_k","showOtpVerificationLoader","setShowOtpVerificationLoader","lastOtpRequest","lastOtpRequestTimeStamp","loginMethod","useEffect","autoDetect","eventProps","getRavenEventProps","ravenSDKTrigger","action_name","login_form","loginForm","login_type","vertical","page_name","pageName","isIOSApp","current","focus","click","interval","setInterval","prevCountdown","clearInterval","useCallback","__awaiter","autoReadOtp","otp_1","sent","DETECTED","length","OTP_LENGTH","handleOtpComplete","handleOtpValidationError","e","message","messageValue","toastMessage","INVALID_OTP","autodetected","entry_type","Date","now","validateOtp","response","status_1","status","action","Number","isEmpty","updateNativeOnLogin","e_1","handleOnPaste","navigator","clipboard","readText","clipboardData","isNumeric","pastedArr","slice","split","pastedString","join","handleInput","event","index","target","otpValue","map","isHTMLInputElement","value","handleKeyDown","key","preventDefault","onResendOtpClick","onEditCLick","_jsxs","jsxs","height","AlertCallout","variant","textNode","prefixIconNode","jsx","InfoIcon","color","backgroundColor","Typography","OTP_TEXT","onClick","Edit","styles","otp_container","width","position","__spreadArray","_","i","otp_box_wrapper","FieldV2","prompt","hasError","placeholder","max","inputMode","login_otp_input","onKeyDown","onChange","onPaste","autoFocus","disabled","login_otp_error","Spacer","RESEND_OTP_COUNTDOWN","Spinner","borderColor","AUTO_DETECTING_TEXT","_Fragment","OTP_RESEND_TEXT","RESEND_CTA","Fragment","isClickable","CheckCircle","AUTO_DETECTED_TEXT","VERIFIED_MESSAGE","Loader","title","concat","classNames","default","MobileInput","sendingOtp","ctaDisabled","setMobileInputHeight","fallbackUri","heading","isFkLoginEnabled","isPrivacyPolicyVisible","fkLoginClick","fkSSOEnabled","isFKSSOEnabled","fkButtonLoading","setFkButtonLoading","inputRef","mobileViewRef","clientHeight","timeout","setTimeout","clearTimeout","isAndroidApp","autoDetectMobileNumber","handleFKSSOClick","handleFKSSO","redirectUrl","isPwa","window","location","href","handleInputChange","autoDetected","replace","MULTI_SPACE","trimStart","isValidMobileNumber","showMobileNumberHint","autoDetectedNumber","simulatedEvent","handlePrivacyPolicyClick","NAVIGATION_ROUTES","PRIVACY_POLICY","handleTermsOfUseClick","TERMS","LOGIN_TO_CT","visibility","htmlFor","PhoneField","name","min","countryCode","COUNTRY_CODE","Button","size","minWidth","loading","GET_OTP","Divider","mobileinput_seperatortext","showLeftIcon","LeftIcon","src","FlipkartLogo","FK_LOGIN_CTA","componentNode","footer_text","FOOTER_TEXT","styleConfig","containerCss","display","TNC_CTA","PRIVACY_CTA","isLoginModule","sendUserInsights","enableProfileFetch","onAuthSuccess","onAuthFailure","showMobilePage","_e","setSendingOtp","mobileInputHeight","setOtpResendDisabled","showSuccess","setShowSuccess","_l","showSigninLoader","setShowSigninLoader","triggerOTPListener","sendLoginOtp","res","console","error","err_1","errorMessage","String","GENERIC_ERROR_MESSAGE","isSignUp","payload","login_new","sendEventWithUserInsights","handleProfileFetch","showSigninLoaderScreen","queryValue","getQueryParam","updateNativeAndroidOnSignIn","Toast","text","show","closeTimeout","device"],"mappings":"0qBAAA,SAASA,EAAYC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,6mFCrBO,ICqDKe,EDrDCC,EAA4B,WACrC,OACIC,EAAAA,IA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,MAAM,cACN3F,QAAQ,gBACRrF,UAAU,kBAGjB+P,EACGjQ,MAACsL,EAAW,CACR2G,OAAO,MACPzG,YAAaA,EACbD,WAAYA,EACZzK,OAAQA,EACRP,aAAcA,EACdU,gBAAiBA,EACjBwK,qBAAsBA,EACtBC,YAAaA,EACb/K,gBAAiBA,EACjBK,gBAAiBA,EACjBR,aAAcA,EACdC,aAAcA,EACdI,kBAAmBA,EACnB+K,iBAAkBA,EAClBC,uBAAwBA,EACxBF,QAASA,EACTG,aAAcA,IAGlB9L,EAAAA,IAACK,GACGE,aAAcA,EACdO,OAAQA,EACRC,eAAgBA,EAChBG,kBAAmBA,EACnBC,mBAAoBA,EACpBC,mBAAoBA,GACpBV,eAAgB0P,EAChBnP,gBAAiBA,EACjBD,gBAAiBA,EACjBR,aAAcA,EACdI,kBAAmBA,EACnBH,aAAcA,EACdE,gBAAiBA,EACjBE,kBAAmBA,OAKvC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ct-platform-login-form.cjs.js","sources":["../packages/components/LoginForm/src/index.module.ts","../packages/components/LoginForm/src/LoaderThreeDots/index.module.ts","../packages/components/LoginForm/src/LoaderThreeDots/index.tsx","../packages/components/LoginForm/src/OtpInput/index.tsx","../packages/components/LoginForm/src/Loader/index.module.ts","../packages/components/LoginForm/src/Loader/index.tsx","../packages/components/LoginForm/src/MobileInput/index.tsx","../packages/components/LoginForm/src/LoginForm.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":["styles","makeStyles","mobileinput_seperatortext","position","width","background","top","textAlign","left","right","marginTop","marginRight","marginBottom","marginLeft","footer_text","color","fontSize","otp_container","display","flexDirection","otp_box_wrapper","login_otp_input","height","fontStyle","fontWeight","lineHeight","padding","login_otp_error","paddingTop","nonUtilsSelector_toast","bottom","zIndex","paddingRight","paddingBottom","paddingLeft","threeDotsLoader","keyframes","backgroundColor","makeWebStyles","loader__container","borderRadius","boxShadow","justifyContent","alignItems","transform","animation","animationDelay","content","ThreeDotsLoader","_jsx","Container","as","styleConfig","root","Styles","children","staticStyles","AutoDetectState","OtpInput","mobileNumber","errorCallout","ravenPayload","otpInputHeight","skipProfileFlow","otpResendDisabled","hotelsLoyaltyFlow","getOTP","setCtaDisabled","setErrorCallout","setMobileNumber","setShowMobilePage","handleLoginSuccess","handleLoginFailure","inputRefs","useRef","Array","fill","autoDetecting","setAutoDetecting","useState","DETECTING","countdown","setCountdown","LOGIN_CONSTANTS","OTP_COUNTDOWN","otp","setOtp","countdownEnabled","setCountdownEnabled","verifiedOtp","setVerifiedOtp","otpErrorMessage","setOtpErrorMessage","enableAutoDetect","setEnableAutoDetect","showOtpVerificationLoader","setShowOtpVerificationLoader","lastOtpRequest","lastOtpRequestTimeStamp","loginMethod","useEffect","autoDetect","eventProps","getRavenEventProps","ravenSDKTrigger","Object","assign","action_name","login_form","loginForm","login_type","vertical","page_name","pageName","isIOSApp","current","focus","click","interval","setInterval","prevCountdown","clearInterval","useCallback","async","autoReadOtp","DETECTED","length","OTP_LENGTH","handleOtpComplete","_e","handleOtpValidationError","e","message","messageValue","toastMessage","INVALID_OTP","autodetected","entry_type","Date","now","response","validateOtp","status","action","Number","isEmpty","updateNativeOnLogin","handleInput","event","index","value","target","_a","_b","otpValue","map","ref","isHTMLInputElement","join","slice","handleKeyDown","key","preventDefault","call","_c","_d","onResendOtpClick","onEditCLick","hotelStyles","_jsxs","gs","AlertCallout","variant","textNode","prefixIconNode","InfoIcon","Typography","OTP_TEXT","jsx","onClick","Edit","jsxs","_","i","InputField","prompt","hasError","type","placeholder","maxLength","inputMode","onKeyDown","onChange","autoFocus","disabled","Spacer","RESEND_OTP_COUNTDOWN","Spinner","borderColor","AUTO_DETECTING_TEXT","_Fragment","Fragment","OTP_RESEND_TEXT","RESEND_CTA","isClickable","CheckCircle","AUTO_DETECTED_TEXT","VERIFIED_MESSAGE","loader","loader__content","maxWidth","loader__spinner","borderWidth","borderStyle","borderTopColor","loader__heading","loader__text","utilswrapper","Loader","title","className","MobileInput","sendingOtp","ctaDisabled","setMobileInputHeight","fallbackUri","heading","isFkLoginEnabled","isPrivacyPolicyVisible","fkLoginClick","fkSSOEnabled","isFKSSOEnabled","fkButtonLoading","setFkButtonLoading","inputRef","mobileViewRef","getBoundingRectWithCallback","rect","timeout","setTimeout","clearTimeout","isAndroidApp","autoDetectMobileNumber","handleFKSSOClick","redirectUrl","handleFKSSO","isPwa","window","location","href","err","console","error","handleInputChange","autoDetected","replace","MULTI_SPACE","trimStart","isValidMobileNumber","autoDetectedNumber","showMobileNumberHint","handlePrivacyPolicyClick","NAVIGATION_ROUTES","PRIVACY_POLICY","handleTermsOfUseClick","TERMS","LOGIN_TO_CT","style","visibility","htmlFor","min","max","countryCode","COUNTRY_CODE","Button","size","loading","GET_OTP","Divider","prefixIcon","src","FlipkartLogo","FK_LOGIN_CTA","componentNode","FOOTER_TEXT","container","TNC_CTA","PRIVACY_CTA","isLoginModule","sendUserInsights","enableProfileFetch","onAuthSuccess","onAuthFailure","showMobilePage","setSendingOtp","mobileInputHeight","setOtpResendDisabled","showSuccess","setShowSuccess","showSigninLoader","setShowSigninLoader","triggerOTPListener","res","sendLoginOtp","errorMessage","String","GENERIC_ERROR_MESSAGE","isSignUp","payload","login_new","sendEventWithUserInsights","handleProfileFetch","showSigninLoaderScreen","queryValue","getQueryParam","updateNativeAndroidOnSignIn","Toast","text","show","closeTimeout","toastContainer","device"],"mappings":"wrBAGA,MAAMA,EAASC,EAAUA,YAAC,KAAO,CAC/BC,0BAA2B,CACzBC,SAAU,WACVC,MAAO,GACPC,WAAY,OACZC,KAAM,GACNC,UAAW,SACXC,KAAM,EACNC,MAAO,EACPC,UAAW,EACXC,YAAa,OACbC,aAAc,EACdC,WAAY,QAGdC,YAAa,CACXC,MAAO,OACPC,SAAU,IAGZC,cAAe,CACbP,UAAW,GACXQ,QAAS,OACTC,cAAe,UAGjBC,gBAAiB,CACfT,YAAa,GAGfU,gBAAiB,CACfjB,MAAO,GACPkB,OAAQ,GACRN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C,aAAcA,EACdI,kBAAmBA,EACnBkK,iBAAkBA,EAClBC,uBAAwBA,EACxBF,QAASA,EACTG,aAAcA,IAGlBpL,EAACiI,IAAAxH,GACGC,aAAcA,EACdO,OAAQA,EACRC,eAAgBA,EAChBG,kBAAmBA,EACnBC,mBAAoBA,EACpBC,mBAAoBA,EACpBV,eAAgByO,EAChBlO,gBAAiBA,EACjBD,gBAAiBA,EACjBR,aAAcA,EACdI,kBAAmBA,EACnBH,aAAcA,EACdE,gBAAiBA,EACjBE,kBAAmBA,MAIjC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e,__awaiter as n,__generator as i,__spreadArray as o}from"tslib";import{jsx as t,jsxs as r,Fragment as l}from"react/jsx-runtime";import{useRef as a,useState as c,useEffect as d,useCallback as s}from"react";import{getRavenEventProps as u,ravenSDKTrigger as _,isIOSApp as m,autoReadOtp as p,isEmpty as f,updateNativeOnLogin as g,validateOtp as v,isHTMLInputElement as h,isNumeric as x,isFKSSOEnabled as b,isAndroidApp as N,isPwa as y,handleFKSSO as T,MULTI_SPACE as E,isValidMobileNumber as k,showMobileNumberHint as C,triggerOTPListener as w,sendLoginOtp as P,sendEventWithUserInsights as O,handleProfileFetch as D,getQueryParam as L,updateNativeAndroidOnSignIn as R}from"@cleartrip/ct-platform-utils";import{Toast as F}from"@cleartrip/ct-design-toast";import{LOGIN_CONSTANTS as S,NAVIGATION_ROUTES as I}from"@cleartrip/ct-platform-constants";import{FieldV2 as A,PhoneField as U}from"@cleartrip/ct-design-field";import{Spacer as V}from"@cleartrip/ct-design-spacer";import{Spinner as G}from"@cleartrip/ct-design-spinner";import{Typography as M}from"@cleartrip/ct-design-typography";import{AlertCallout as B}from"@cleartrip/ct-design-alert-callout";import{InfoIcon as H,Edit as X,CheckCircle as W}from"@cleartrip/ct-design-icons";import z from"classnames";import{Button as Y}from"@cleartrip/ct-design-button";import{Divider as j}from"@cleartrip/ct-design-divider";import{FlipkartLogo as K}from"@cleartrip/ct-platform-assets";function J(e,n){void 0===n&&(n={});var i=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===i&&o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}var Q={mobileinput_seperatortext:"index-module_mobileinput_seperatortext__-KDOp",footer_text:"index-module_footer_text__nkeJv",otp_container:"index-module_otp_container__1CE4N",otp_box_wrapper:"index-module_otp_box_wrapper__sM2Ba",login_otp_input:"index-module_login_otp_input__L-3P8",login_otp_error:"index-module_login_otp_error__o3y2L",nonUtilsSelector_toast:"index-module_nonUtilsSelector_toast__lvWmB"};J(".index-module_mobileinput_seperatortext__-KDOp{background:#fff;left:0;margin:0 auto;position:absolute;right:0;text-align:center;top:-10px;width:40px}.index-module_footer_text__nkeJv{color:grey!important;font-size:12px!important}.index-module_otp_container__1CE4N{display:flex;flex-direction:column;margin-top:24px}.index-module_otp_box_wrapper__sM2Ba{margin-right:8px}.index-module_login_otp_input__L-3P8{font-size:24px!important;font-style:normal;font-weight:600!important;height:56px!important;line-height:28px;padding:auto;text-align:center;width:56px!important}.index-module_login_otp_error__o3y2L{padding-top:4px}.index-module_nonUtilsSelector_toast__lvWmB{bottom:12px!important;margin-bottom:12px;margin:0 auto!important;padding:12px 16px!important;width:calc(100% - 48px)!important;z-index:2000}");var Z="index-module_loader__container__VX-VO",q="index-module_three-dots-loader__i7R-R";J('.index-module_loader__container__VX-VO{align-items:center;background:#fff;border-radius:32px;box-shadow:0 8px 24px 0 rgba(26,26,26,.1);display:flex;height:34px;justify-content:center;left:50%;padding:12px;position:absolute;top:50%;transform:translate(-50%,-50%);width:66px}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R{animation:index-module_three-dots-loader__i7R-R 1s linear infinite alternate;animation-delay:.5s;background-color:#1a1a1a;border-radius:5px;height:8px;position:relative;width:8px}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:after,.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:before{content:"";display:inline-block;position:absolute;top:0}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:before{animation:index-module_three-dots-loader__i7R-R 1s infinite alternate;animation-delay:0s;background-color:#1a1a1a;border-radius:5px;height:8px;left:-15px;width:8px}.index-module_loader__container__VX-VO .index-module_three-dots-loader__i7R-R:after{animation:index-module_three-dots-loader__i7R-R 1s infinite alternate;animation-delay:1s;background-color:#1a1a1a;border-radius:5px;height:8px;left:15px;width:8px}@keyframes index-module_three-dots-loader__i7R-R{0%{background-color:#1a1a1a}50%,to{background-color:grey}}');var $,ee=function(){return t("div",e({className:Z},{children:t("div",{className:q})}))};!function(e){e[e.DETECTING=0]="DETECTING",e[e.FAILED=1]="FAILED",e[e.DETECTED=2]="DETECTED"}($||($={}));var ne=function(b){var N=b.mobileNumber,y=b.errorCallout,T=b.ravenPayload,E=b.otpInputHeight;b.skipProfileFlow;var k=b.otpResendDisabled,C=b.hotelsLoyaltyFlow,w=b.getOTP,P=b.setCtaDisabled,O=b.setErrorCallout,D=b.setMobileNumber,L=b.setShowMobilePage,R=b.handleLoginSuccess,F=b.handleLoginFailure,I=a(Array(4).fill(null)),U=c($.DETECTING),z=U[0],Y=U[1],j=c(S.OTP_COUNTDOWN),K=j[0],J=j[1],Z=c(""),q=Z[0],ne=Z[1],ie=c(!0),oe=ie[0],te=ie[1],re=c(!1),le=re[0],ae=re[1],ce=c(""),de=ce[0],se=ce[1],ue=c(!0),_e=ue[0],me=ue[1],pe=c(!1),fe=pe[0],ge=pe[1],ve=a(),he=a(),xe="CT";d((function(){be();var n=u();_("u_login_click",e({action_name:"login_otp_screen_opened",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},T))}),[]),d((function(){m()&&me(!1)}),[]),d((function(){be()}),[]),d((function(){fe||(I.current[0].focus(),I.current[0].click())}),[fe]),d((function(){0===K&&te(!1)}),[K]),d((function(){var e;return oe&&K>0&&(e=setInterval((function(){J((function(e){return e-1}))}),1e3)),function(){clearInterval(e)}}),[oe,K]);var be=s((function(){return n(void 0,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,p()];case 1:return e=n.sent(),ne(e),Y($.DETECTED),(null==e?void 0:e.length)===S.OTP_LENGTH&&ye&&ye(e,!0),[3,3];case 2:return"NOT_SUPPORTED"===n.sent()&&me(!1),[3,3];case 3:return[2]}}))}))}),[_e]),Ne=s((function(n){var i=u();_("u_login_error",e({action_name:"otp_incorrect",login_form:null==i?void 0:i.loginForm,login_type:"native",vertical:null==i?void 0:i.vertical,page_name:null==i?void 0:i.pageName},T));var o=null==n?void 0:n.message;"OTP_VALIDATE_LIMIT_EXCEEDED"!==o&&ne(""),I.current[0].focus(),I.current[0].click();var t=S[o],r="string"==typeof t?t:S.INVALID_OTP;se(r)}),[I]),ye=s((function(o,t){return n(void 0,void 0,void 0,(function(){var n,r,l,a,c;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),n=u(),_("u_login_click",e({action_name:"otp_entered",login_form:null==n?void 0:n.loginForm,login_type:"native",entry_type:t?"autodetected":"manual_entry",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},T)),o===ve.current&&he.current&&he.current-Date.now()<=100?[2]:(ve.current=o,he.current=Date.now(),C&&ge(!0),[4,v(N,o)]);case 1:return r=i.sent(),l=r.status,a=r.action,200!==Number(l)||f(a)?(C&&ge(!1),F(xe)):(ae(!0),se(""),g(),"SIGNUP"===a?R(xe,!0):R(xe)),[3,3];case 2:return c=i.sent(),C&&ge(!1),F(xe),Ne(c),[3,3];case 3:return[2]}}))}))}),[ve,he,ae,Y,se,Ne]),Te=function(){return n(void 0,void 0,void 0,(function(){var e,n,o,t,r;return i(this,(function(i){switch(i.label){case 0:return[4,navigator.clipboard.readText()];case 1:return(e=i.sent())&&x(e)&&(n=e.slice(0,S.OTP_LENGTH).split(""),null===(t=I.current[S.OTP_LENGTH-1])||void 0===t||t.focus(),null===(r=I.current[S.OTP_LENGTH-1])||void 0===r||r.click(),o=n.join(""),ne(o),o.length===S.OTP_LENGTH&&ye(o,!1)),[2]}}))}))},Ee=s((function(e,n){var i,o;O(""),""!==e.target.value&&n<I.current.length-1&&(null===(i=I.current[n+1])||void 0===i||i.focus(),null===(o=I.current[n+1])||void 0===o||o.click());var t=I.current.map((function(e){return h(e)?e.value:""})).join("").slice(0,4);ne(t),t.length===S.OTP_LENGTH&&ye(t,!1)}),[ne,ye]),ke=s((function(e,n){var i,o,t;"Backspace"===e.key&&n>0&&""===(null===(i=I.current[n])||void 0===i?void 0:i.value)&&(e.preventDefault(),null===(o=I.current[n-1])||void 0===o||o.focus(),null===(t=I.current[n-1])||void 0===t||t.click())}),[I]),Ce=s((function(){J(S.OTP_COUNTDOWN),te(!0),w(N);var n=u();_("u_login_error",e({action_name:"resend_otp_clicked",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},T))}),[J,te]),we=s((function(){P(!0),L(!0),D("")}),[L]);return r("div",e({className:"flex flex-column bg-neutral-100",style:{height:E}},{children:[y&&t(B,{variant:"error",textNode:y,prefixIconNode:t(H,{fill:"red"}),style:{color:"#ffff",backgroundColor:"#db201e"},className:"fs-12"}),r("div",e({className:"flex flex-bottom"},{children:[r(M,e({variant:"HM1",color:"heading"},{children:[S.OTP_TEXT," ",t("br",{}),N]})),t("div",e({className:"pl-2",onClick:we},{children:t(X,{})}))]})),r("div",e({className:Q.otp_container},{children:[r("div",e({className:"flex",style:C?{width:"max-content",position:"relative"}:{}},{children:[o([],Array(S.OTP_LENGTH),!0).map((function(n,i){return t("div",e({className:Q.otp_box_wrapper},{children:t(A,{prompt:{hasError:!!de},type:"number",placeholder:"",value:q[i],max:1,inputMode:"numeric",className:Q.login_otp_input,variant:"md",ref:function(e){e&&(I.current[i]=e)},onKeyDown:function(e){return ke(e,i)},onChange:function(e){return Ee(e,i)},onPaste:Te,autoFocus:0===i,disabled:!(!C||!fe)})}),i)})),C&&fe&&t(ee,{})]})),!!de&&t(M,e({variant:"P1",color:"warning",className:Q.login_otp_error},{children:de}))]})),t(V,{className:"pt-2"}),z===$.DETECTING&&!le&&_e&&K>S.RESEND_OTP_COUNTDOWN&&r("div",e({className:"flex flex-middle"},{children:[t(G,{width:"20px",height:"20px",borderColor:"#11a670",className:"bg-neutral-900 bc-black"}),t(M,e({variant:"B3",className:"fs-12 fw-500 ml-1 c-neutral-700"},{children:S.AUTO_DETECTING_TEXT}))]})),z===$.DETECTING&&K<=S.RESEND_OTP_COUNTDOWN&&!le&&t(l,{children:r("div",e({className:"flex"},{children:[t(M,e({variant:"B3",className:"fs-12 fw-500 c-neutral-700 "},{children:S.OTP_RESEND_TEXT})),t(V,{className:"ml-1"}),k?t(M,e({className:"color-neutral-200 fw-500",variant:"B3"},{children:S.RESEND_CTA})):r(l,{children:[0===K&&t(l,{children:t(M,e({isClickable:!0,variant:"B3",onClick:Ce,color:"link",className:"\n fs-12 fw-500 c-pointer"},{children:S.RESEND_CTA}))}),K>0&&t(M,e({color:"disabled",variant:"B3"},{children:" Resend ("+K+"s)"}))]})]}))}),!de&&le&&t(l,{children:r("div",e({className:"flex flex-middle"},{children:[t(W,{}),t(M,e({variant:"P1",color:"success",className:"fs-12"},{children:z===$.DETECTED?S.AUTO_DETECTED_TEXT:S.VERIFIED_MESSAGE}))]}))}),t(V,{className:"mt-24"})]}))},ie={loader:"index-module_loader__63LeU","With-full-opacity":"index-module_With-full-opacity__ZSY-U",loader__content:"index-module_loader__content__Q6kJl",loader__spinner:"index-module_loader__spinner__6B3AR","loader-rotate":"index-module_loader-rotate__efcf3",loader__heading:"index-module_loader__heading__7YZ3N",loader__text:"index-module_loader__text__1QcLi"};J(".index-module_loader__63LeU{align-items:center;background-color:hsla(0,0%,100%,.95);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:0}.index-module_loader__63LeU.index-module_With-full-opacity__ZSY-U{background-color:#fff}.index-module_loader__content__Q6kJl{max-width:280px;text-align:center}.index-module_loader__spinner__6B3AR{animation:index-module_loader-rotate__efcf3 .8s linear infinite;border:2px solid rgba(51,102,204,.3);border-radius:50%;border-top-color:#36c;display:inline-block;height:30px;margin-bottom:10px;position:relative;width:30px}.index-module_loader__heading__7YZ3N{color:#000;font-size:18px;font-weight:600;margin-bottom:5px}.index-module_loader__text__1QcLi{color:rgba(0,0,0,.8);font-size:16px;line-height:1.5}");var oe=function(n){var i=n.title,o=n.message,l=n.className;return t("div",e({className:"".concat(ie.utilswrapper," utilswrapper")},{children:t("div",e({className:z(ie.loader,l)},{children:r("div",e({className:ie.loader__content},{children:[t("div",{className:ie.loader__spinner}),t("h5",e({className:ie.loader__heading},{children:i})),t("p",e({className:ie.loader__text},{children:o}))]}))}))}))},te=function(o){var m=o.sendingOtp,p=o.ctaDisabled,f=o.getOTP,g=o.setErrorCallout,v=o.errorCallout,h=o.mobileNumber,x=o.setMobileInputHeight,w=o.setMobileNumber,P=o.fallbackUri,O=o.skipProfileFlow,D=o.ravenPayload,L=o.hotelsLoyaltyFlow,R=o.heading,F=o.isFkLoginEnabled,A=void 0===F||F,V=o.isPrivacyPolicyVisible,G=void 0===V||V,X=o.fkLoginClick,W=c(b)[0],z=c(!1),J=z[0],Z=z[1],q=a(null),$=a(null);d((function(){if($.current){var e=$.current.clientHeight;x(e)}}),[$.current]),d((function(){var e;return q.current&&(e=setTimeout((function(){var e;null===(e=q.current)||void 0===e||e.focus()}),100)),function(){clearTimeout(e)}}),[]),d((function(){N()&&ie()}),[]);var ee=s((function(){return n(void 0,void 0,void 0,(function(){var n,o;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),n=u(),null==X||X(),_("u_login_click",e({action_name:"login_with_flipkart_clicked",login_form:null==n?void 0:n.loginForm,login_type:"fk_sso",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},D)),Z(!0),[4,T(P,O)];case 1:return o=i.sent(),L||Z(!1),y()&&(window.location.href=o),[3,3];case 2:return i.sent(),Z(!1),[3,3];case 3:return[2]}}))}))}),[]),ne=s((function(n,i){void 0===i&&(i=!1),g("");var o=n.target.value||"";if(o=o.replace(E," ").trimStart(),w(o),k(n.target.value)){f(o);var t=u();_("u_login_click",e({action_name:"get_otp_clicked",login_form:null==t?void 0:t.loginForm,login_type:"native",entry_type:"auto_click",vertical:null==t?void 0:t.vertical,page_name:null==t?void 0:t.pageName},D)),_("u_login_click",e(i?{action_name:"phone_number_autodetected",login_form:null==t?void 0:t.loginForm,login_type:"native",entry_type:"autodetected",vertical:null==t?void 0:t.vertical,page_name:null==t?void 0:t.pageName}:{action_name:"phone_number_entered",login_form:null==t?void 0:t.loginForm,login_type:"native",entry_type:"manual_entry",vertical:null==t?void 0:t.vertical,page_name:null==t?void 0:t.pageName},D))}}),[w]),ie=s((function(){return n(void 0,void 0,void 0,(function(){var e,n;return i(this,(function(i){switch(i.label){case 0:return[4,C()];case 1:return e=i.sent(),n={target:{value:e}},e&&ne(n,!0),[2]}}))}))}),[ne]),oe=s((function(){var n=u();_("u_login_click",e({action_name:"policy_click",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},D)),window.location.href=I.PRIVACY_POLICY}),[]),te=s((function(){var n=u();_("u_login_click",e({action_name:"tnc_click",login_form:null==n?void 0:n.loginForm,login_type:"native",vertical:null==n?void 0:n.vertical,page_name:null==n?void 0:n.pageName},D)),window.location.href=I.TERMS}),[]);return r("div",e({className:"flex flex-column",ref:$},{children:[v&&t(B,{variant:"error",textNode:v,prefixIconNode:t(H,{fill:"red"}),style:{color:"#ffff",backgroundColor:"#db201e"},className:"fs-12"}),t(M,e({variant:"HM1",color:"heading",className:"mb-4 fs-24"},{children:R||S.LOGIN_TO_CT})),t("label",e({style:{visibility:"hidden",width:"0.1px",height:"0.1px"},htmlFor:"phonenumber"},{children:"Phone number"})),t(U,{onChange:ne,value:h,name:"phonenumber",placeholder:"",inputMode:"numeric",ref:q,min:0,max:10,autoFocus:!0,countryCode:S.COUNTRY_CODE}),t(Y,e({color:"primary",size:"medium",minWidth:"160px",disabled:p,loading:m,className:"my-6",onClick:function(){return f(h)}},{children:S.GET_OTP})),W&&A&&r(l,{children:[r("div",e({className:"my-6 p-relative"},{children:[t(j,{}),t("span",e({className:"".concat(Q.mobileinput_seperatortext)},{children:"or"}))]})),t(Y,e({variant:"outline",size:"medium",className:"my-6",loading:J,onClick:ee,showLeftIcon:!J,LeftIcon:t("img",{src:K})},{children:S.FK_LOGIN_CTA}))]}),G&&r("div",e({className:"pt-8 pb-6"},{children:[t(j,{}),r("div",e({className:"pt-2"},{children:[t(M,e({variant:"P1",componentNode:"span",className:Q.footer_text},{children:S.FOOTER_TEXT})),t(M,e({variant:"P1",componentNode:"span",color:"link",className:"fs-12",onClick:te,isClickable:!0,styleConfig:{containerCss:{display:"inline-block"}}},{children:S.TNC_CTA})),t(M,e({className:"px-1 fs-12 c-neutral-700",variant:"P1",componentNode:"span"},{children:"and"})),t(M,e({variant:"P1",componentNode:"span",color:"link",onClick:oe,className:"fs-12",isClickable:!0,styleConfig:{containerCss:{display:"inline-block"}}},{children:S.PRIVACY_CTA}))]}))]}))]}))},re=function(o){var l=o.fallbackUri,a=o.isLoginModule,m=o.skipProfileFlow,p=o.sendUserInsights,f=o.isFkLoginEnabled,g=o.ravenPayload,v=void 0===g?{}:g,h=o.hotelsLoyaltyFlow,x=o.enableProfileFetch,b=o.isPrivacyPolicyVisible,y=o.heading,T=o.onAuthSuccess,E=o.onAuthFailure,k=o.fkLoginClick,C=c(!0),I=C[0],A=C[1],U=c(!0),V=U[0],G=U[1],M=c(!1),B=M[0],H=M[1],X=c(""),W=X[0],z=X[1],Y=c(0),j=Y[0],K=Y[1],J=c(""),Z=J[0],q=J[1],$=c(!1),ee=$[0],ie=$[1],re=c(!1),le=re[0],ae=re[1],ce=c(!1),de=ce[0],se=ce[1],ue=s((function(e){return n(void 0,void 0,void 0,(function(){var n,o,t,r;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),ie(!1),G(!1),H(!0),w(),[4,P(e)];case 1:return n=i.sent(),"SUCCESS"===(n||{}).status&&(A(!1),H(!1)),[3,3];case 2:return o=i.sent(),console.error(o),t=(o||{}).message,H(!1),r=t&&S[t],q(String(r||S.GENERIC_ERROR_MESSAGE)),"OTP_SEND_LIMIT_EXCEEDED"===t&&ie(!0),[3,3];case 3:return[2]}}))}))}),[I,A]),_e=s((function(n,i){var o=u(),t=e({action_name:"login_successful",login_form:null==o?void 0:o.loginForm,login_type:"native",login_new:i?"sign_up":"sign_in",vertical:null==o?void 0:o.vertical,page_name:null==o?void 0:o.pageName},v);p?O("u_login_success",t):_("u_login_success",t),x&&D(),h||a||ae(!0),T(i)}),[v,a,m,p,h,x]),me=s((function(e){E(e)}),[]),pe=function(){se(!0)};return d((function(){if(!a){window&&(window.showSigninLoaderScreen=pe);var e=L("fkSSOstatus"),n="FK";"signin"===e&&(N()&&R(),_e(n)),"signup"===e&&(N()&&R(),_e(n,!0)),"failure"===e&&me(n)}}),[]),r("div",e({className:"".concat(Q.utilswrapper," utilswrapper")},{children:[le&&t(F,{text:"Logged in successfully!",show:le,className:"".concat(Q.nonUtilsSelector_toast),closeTimeout:2e3}),de&&t(oe,{title:"Please wait",message:"Signing in...",className:"z-10 bg-white"}),I?t(te,{device:"PWA",ctaDisabled:V,sendingOtp:B,getOTP:ue,mobileNumber:W,setMobileNumber:z,setMobileInputHeight:K,fallbackUri:l,skipProfileFlow:m,setErrorCallout:q,errorCallout:Z,ravenPayload:v,hotelsLoyaltyFlow:h,isFkLoginEnabled:f,isPrivacyPolicyVisible:b,heading:y,fkLoginClick:k}):t(ne,{mobileNumber:W,getOTP:ue,setCtaDisabled:G,setShowMobilePage:A,handleLoginSuccess:_e,handleLoginFailure:me,otpInputHeight:j,setMobileNumber:z,setErrorCallout:q,errorCallout:Z,otpResendDisabled:ee,ravenPayload:v,skipProfileFlow:m,hotelsLoyaltyFlow:h})]}))};export{re as LoginForm};
|
|
1
|
+
import{jsx as e,jsxs as o,Fragment as t}from"react/jsx-runtime";import{makeStyles as i,makeWebStyles as n,gs as r}from"@cleartrip/ct-design-style-manager";import{useRef as l,useState as a,useEffect as c,useCallback as s}from"react";import{getRavenEventProps as d,ravenSDKTrigger as g,isIOSApp as u,autoReadOtp as p,validateOtp as m,isEmpty as f,updateNativeOnLogin as _,isHTMLInputElement as h,isFKSSOEnabled as v,isAndroidApp as y,handleFKSSO as b,isPwa as C,MULTI_SPACE as T,isValidMobileNumber as E,showMobileNumberHint as k,triggerOTPListener as w,sendLoginOtp as N,sendEventWithUserInsights as O,handleProfileFetch as P,getQueryParam as x,updateNativeAndroidOnSignIn as D}from"@cleartrip/ct-platform-utils";import{Toast as I}from"@cleartrip/ct-design-toast";import{LOGIN_CONSTANTS as F,NAVIGATION_ROUTES as S}from"@cleartrip/ct-platform-constants";import{Spacer as L}from"@cleartrip/ct-design-spacer";import{Spinner as R}from"@cleartrip/ct-design-spinner";import{Typography as A}from"@cleartrip/ct-design-typography";import{AlertCallout as M}from"@cleartrip/ct-design-alert-callout";import{InfoIcon as G,Edit as U,CheckCircle as j}from"@cleartrip/ct-design-icons";import{keyframes as B}from"@emotion/css";import{Container as H,InputField as W,Typography as z}from"@cleartrip/ct-design-components";import{Button as V}from"@cleartrip/ct-design-button";import{Divider as X}from"@cleartrip/ct-design-divider";import{InputField as Y}from"@cleartrip/ct-design-field";import{FlipkartLogo as K}from"@cleartrip/ct-platform-assets";const $=i((()=>({mobileinput_seperatortext:{position:"absolute",width:40,background:"#fff",top:-10,textAlign:"center",left:0,right:0,marginTop:0,marginRight:"auto",marginBottom:0,marginLeft:"auto"},footer_text:{color:"grey",fontSize:12},otp_container:{marginTop:24,display:"flex",flexDirection:"column"},otp_box_wrapper:{marginRight:8},login_otp_input:{width:56,height:56,fontSize:24,fontStyle:"normal",fontWeight:600,lineHeight:28,textAlign:"center",padding:"auto"},login_otp_error:{paddingTop:4},nonUtilsSelector_toast:{bottom:12,marginBottom:12,zIndex:2e3,paddingTop:12,paddingRight:16,paddingBottom:12,paddingLeft:16,marginTop:0,marginRight:"auto",marginBottom:0,marginLeft:"auto",width:"calc(100% - 48px)"}}))),q=B({"0%":{backgroundColor:"#1a1a1a"},"50%, 100%":{backgroundColor:"#808080"}}),J=n((()=>({loader__container:{padding:12,borderRadius:32,background:"#fff",boxShadow:"0px 8px 24px 0px rgba(26, 26, 26, 0.1)",width:66,height:34,display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","& .three-dots-loader":{position:"relative",width:8,height:8,borderRadius:5,backgroundColor:"#1a1a1a",animation:`${q} 1s infinite linear alternate`,animationDelay:"0.5s"},"& .three-dots-loader::before, .loader__container .three-dots-loader::after":{content:'""',display:"inline-block",position:"absolute",top:0},"& .three-dots-loader::before":{left:-15,width:8,height:8,borderRadius:5,backgroundColor:"#1a1a1a",animation:`${q} 1s infinite alternate`,animationDelay:"0s"},"& .three-dots-loader::after":{left:15,width:8,height:8,borderRadius:5,backgroundColor:"#1a1a1a",animation:`${q} 1s infinite alternate`,animationDelay:"1s"}}}))),Q=()=>e(H,{as:"div",styleConfig:{root:[J.loader__container]},children:e(H,{as:"div",styleConfig:{root:[J["three-dots-loader"]]}})}),Z=i((()=>({"fs-12":{},"bg-neutral-900":{},"bc-black":{},"c-neutral-700":{},"color-neutral-200":{},"c-pointer":{},"mt-24":{},"width-20":{width:20},"height-20":{height:20}})));var ee;!function(e){e[e.DETECTING=0]="DETECTING",e[e.FAILED=1]="FAILED",e[e.DETECTED=2]="DETECTED"}(ee||(ee={}));const oe=({mobileNumber:i,errorCallout:n,ravenPayload:v,otpInputHeight:y,skipProfileFlow:b,otpResendDisabled:C,hotelsLoyaltyFlow:T,getOTP:E,setCtaDisabled:k,setErrorCallout:w,setMobileNumber:N,setShowMobilePage:O,handleLoginSuccess:P,handleLoginFailure:x})=>{const D=l(Array(4).fill(null)),[I,S]=a(ee.DETECTING),[B,z]=a(F.OTP_COUNTDOWN),[V,X]=a(""),[Y,K]=a(!0),[q,J]=a(!1),[oe,te]=a(""),[ie,ne]=a(!0),[re,le]=a(!1),ae=l(""),ce=l(0),se="CT";c((()=>{de();const e=d();g("u_login_click",Object.assign({action_name:"login_otp_screen_opened",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},v))}),[]),c((()=>{u()&&ne(!1)}),[]),c((()=>{de()}),[]),c((()=>{re||(D.current[0].focus(),D.current[0].click())}),[re]),c((()=>{0===B&&K(!1)}),[B]),c((()=>{let e;return Y&&B>0&&(e=setInterval((()=>{z((e=>e-1))}),1e3)),()=>{clearInterval(e)}}),[Y,B]);const de=s((async()=>{try{const e=await p();X(e),S(ee.DETECTED),(null==e?void 0:e.length)===F.OTP_LENGTH&&ue&&ue(e,!0)}catch(e){"NOT_SUPPORTED"===e&&ne(!1)}}),[ie]),ge=s((e=>{const o=d();g("u_login_error",Object.assign({action_name:"otp_incorrect",login_form:null==o?void 0:o.loginForm,login_type:"native",vertical:null==o?void 0:o.vertical,page_name:null==o?void 0:o.pageName},v));const t=null==e?void 0:e.message;"OTP_VALIDATE_LIMIT_EXCEEDED"!==t&&X(""),D.current[0].focus(),D.current[0].click();const i=F[t],n="string"==typeof i?i:F.INVALID_OTP;te(n)}),[D]),ue=s((async(e,o)=>{try{const t=d();if(g("u_login_click",Object.assign({action_name:"otp_entered",login_form:null==t?void 0:t.loginForm,login_type:"native",entry_type:o?"autodetected":"manual_entry",vertical:null==t?void 0:t.vertical,page_name:null==t?void 0:t.pageName},v)),e===ae.current&&ce.current&&ce.current-Date.now()<=100)return;ae.current=e,ce.current=Date.now(),T&&le(!0);const n=await m(i,e),{status:r,action:l}=n;200!==Number(r)||f(l)?(T&&le(!1),x(se)):(J(!0),te(""),_(),"SIGNUP"===l?P(se,!0):P(se))}catch(e){T&&le(!1),x(se),ge(e)}}),[ae,ce,J,S,te,ge]),pe=s(((e,o)=>{var t,i;w("");const{value:n}=e.target;""!==n&&o<D.current.length-1&&(null===(t=D.current[o+1])||void 0===t||t.focus(),null===(i=D.current[o+1])||void 0===i||i.click());const r=D.current.map((e=>h(e)?e.value:"")).join("").slice(0,4);X(r),r.length===F.OTP_LENGTH&&ue(r,!1)}),[X,ue]),me=s(((e,o)=>{var t,i,n,r;"Backspace"===e.target.key&&o>0&&""===(null===(t=D.current[o])||void 0===t?void 0:t.value)&&(null===(i=e.preventDefault)||void 0===i||i.call(e),null===(n=D.current[o-1])||void 0===n||n.focus(),null===(r=D.current[o-1])||void 0===r||r.click())}),[D]),fe=s((()=>{z(F.OTP_COUNTDOWN),K(!0),E(i);const e=d();g("u_login_error",Object.assign({action_name:"resend_otp_clicked",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},v))}),[z,K]),_e=s((()=>{k(!0),O(!0),N("")}),[O]),he=T?{width:"max-content",position:"relative"}:{};return o(H,{as:"div",styleConfig:{root:[r.flex,r["flex-column"],r["bg-neutral-100"],{height:y}]},children:[n&&e(M,{variant:"error",textNode:n,prefixIconNode:e(G,{fill:"red"}),styleConfig:{root:[Z["fs-12"],{color:"#ffff",backgroundColor:"#db201e"}]}}),o(H,{as:"div",styleConfig:{root:[r.flex,r["flex-bottom"]]},children:[o(A,{variant:"HM1",color:"heading",children:[F.OTP_TEXT," ",e("br",{}),i]}),e(H,{as:"div",onClick:_e,styleConfig:{root:[r["pl-2"]]},children:e(U,{})})]}),o(H,{as:"div",styleConfig:{root:[$.otp_container]},children:[o(H,{as:"div",styleConfig:{root:[r.flex,he]},children:[[...Array(F.OTP_LENGTH)].map(((o,t)=>e(H,{as:"div",styleConfig:{root:[$.otp_box_wrapper]},children:e(W,{prompt:{hasError:!!oe},type:"number",placeholder:"",value:V[t],maxLength:1,inputMode:"numeric",variant:"md",ref:e=>{e&&(D.current[t]=e)},onKeyDown:e=>me(e,t),onChange:e=>pe(e,t),autoFocus:0===t,disabled:!(!T||!re)})},t))),T&&re&&e(Q,{})]}),!!oe&&e(A,{variant:"P1",color:"warning",styleConfig:{root:[$.login_otp_error]},children:oe})]}),e(L,{styleConfig:{root:[r["pt-2"]]}}),I===ee.DETECTING&&!q&&ie&&B>F.RESEND_OTP_COUNTDOWN&&o(H,{as:"div",styleConfig:{root:[r.flex,r["flex-middle"]]},children:[e(R,{borderColor:"#11a670",styleConfig:{root:[Z["width-20"],Z["height-20"],Z["bg-neutral-900"],Z["bc-black"]]}}),e(A,{variant:"B3",styleConfig:{root:[Z["fs-12"],r["fw-500"],r["ml-1"],Z["c-neutral-700"]]},children:F.AUTO_DETECTING_TEXT})]}),I===ee.DETECTING&&B<=F.RESEND_OTP_COUNTDOWN&&!q&&e(t,{children:o(H,{as:"div",styleConfig:{root:[r.flex]},children:[e(A,{variant:"B3",styleConfig:{root:[Z["fs-12"],r["fw-500"],Z["c-neutral-700"]]},children:F.OTP_RESEND_TEXT}),e(L,{styleConfig:{root:[r["ml-1"]]}}),C?e(A,{variant:"B3",styleConfig:{root:[Z["color-neutral-200"],r["fw-500"]]},children:F.RESEND_CTA}):o(t,{children:[0===B&&e(t,{children:e(A,{isClickable:!0,variant:"B3",onClick:fe,color:"link",styleConfig:{root:[Z["fs-12"],r["fw-500"],Z["c-pointer"]]},children:F.RESEND_CTA})}),B>0&&e(A,{color:"disabled",variant:"B3",children:" Resend ("+B+"s)"})]})]})}),!oe&&q&&e(t,{children:o(H,{as:"div",styleConfig:{root:[r.flex,r["flex-middle"]]},children:[e(j,{}),e(A,{variant:"P1",color:"success",styleConfig:{root:[Z["fs-12"]]},children:I===ee.DETECTED?F.AUTO_DETECTED_TEXT:F.VERIFIED_MESSAGE})]})}),e(L,{styleConfig:{root:[Z["mt-24"]]}})]})},te=n((()=>({loader:{zIndex:0,position:"fixed",top:0,bottom:0,left:0,right:0,backgroundColor:"rgba(255, 255, 255, 0.95)",display:"flex",justifyContent:"center",alignItems:"center","&.With-full-opacity":{backgroundColor:"rgb(255, 255, 255)"}},loader__content:{textAlign:"center",maxWidth:280},loader__spinner:{width:30,height:30,borderWidth:2,borderStyle:"solid",borderColor:"rgba(51, 102, 204, 0.3)",borderTopColor:"#36c",borderRadius:"50%",position:"relative",animation:"loader-rotate 0.8s linear infinite",display:"inline-block",marginBottom:10},loader__heading:{fontSize:18,color:"rgb(0, 0, 0)",fontWeight:600,marginBottom:5},loader__text:{fontSize:16,lineHeight:1.5,color:"rgba(0, 0, 0, 0.8)"}}))),ie=i((()=>({utilswrapper:{}}))),ne=({title:t,message:i,className:n})=>e(H,{as:"div",styleConfig:{root:[te.utilswrapper,ie.utilswrapper]},children:e(H,{as:"div",styleConfig:{root:[te.loader,n]},children:o(H,{as:"div",styleConfig:{root:[te.loader__content]},children:[e(H,{as:"div",styleConfig:{root:[te.loader__spinner]}}),e(H,{as:"div",styleConfig:{root:[te.loader__heading]},children:t}),e(z,{variant:"P2",styleConfig:{root:[te.loader__text]},children:i})]})})}),re=i((()=>({"fs-12":{},"fs-24":{},"c-neutral-700":{}}))),le=({sendingOtp:i,ctaDisabled:n,getOTP:u,setErrorCallout:p,errorCallout:m,mobileNumber:f,setMobileInputHeight:_,setMobileNumber:h,fallbackUri:w,skipProfileFlow:N,ravenPayload:O,hotelsLoyaltyFlow:P,heading:x,isFkLoginEnabled:D=!0,isPrivacyPolicyVisible:I=!0,fkLoginClick:L})=>{const[R]=a(v),[U,j]=a(!1),B=l(null),W=l(null);c((()=>{W.current&&W.current.getBoundingRectWithCallback((e=>{_(e.height)}))}),[W.current,_]),c((()=>{let e;return B.current&&(e=setTimeout((()=>{var e;null===(e=B.current)||void 0===e||e.focus()}),100)),()=>{clearTimeout(e)}}),[]),c((()=>{y()&&J()}),[]);const z=s((async()=>{try{const e=d();null==L||L(),g("u_login_click",Object.assign({action_name:"login_with_flipkart_clicked",login_form:null==e?void 0:e.loginForm,login_type:"fk_sso",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},O)),j(!0);const o=await b(w,N);P||j(!1),C()&&(window.location.href=o)}catch(e){j(!1),console.error(e)}}),[]),q=s(((e,o=!1)=>{p("");let t=e.target.value||"";t=t.replace(T," ").trimStart(),h(t);if(E(e.target.value)){u(t);const e=d();g("u_login_click",Object.assign({action_name:"get_otp_clicked",login_form:null==e?void 0:e.loginForm,login_type:"native",entry_type:"auto_click",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},O)),g("u_login_click",o?Object.assign({action_name:"phone_number_autodetected",login_form:null==e?void 0:e.loginForm,login_type:"native",entry_type:"autodetected",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},O):Object.assign({action_name:"phone_number_entered",login_form:null==e?void 0:e.loginForm,login_type:"native",entry_type:"manual_entry",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},O))}}),[h]),J=s((async()=>{const e=await k();e&&q({target:{value:e}},!0)}),[q]),Q=s((()=>{const e=d();g("u_login_click",Object.assign({action_name:"policy_click",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},O)),window.location.href=S.PRIVACY_POLICY}),[]),Z=s((()=>{const e=d();g("u_login_click",Object.assign({action_name:"tnc_click",login_form:null==e?void 0:e.loginForm,login_type:"native",vertical:null==e?void 0:e.vertical,page_name:null==e?void 0:e.pageName},O)),window.location.href=S.TERMS}),[]);return o(H,{as:"div",ref:W,styleConfig:{root:[r.flex,r["flex-column"]]},children:[m&&e(M,{variant:"error",textNode:m,prefixIconNode:e(G,{fill:"red"}),styleConfig:{root:[re["fs-12"],{color:"#ffff",backgroundColor:"#db201e"}]}}),e(A,{variant:"HM1",color:"heading",styleConfig:{root:[r["mb-4"],re["fs-24"]]},children:x||F.LOGIN_TO_CT}),e("label",{style:{visibility:"hidden",width:"0.1px",height:"0.1px"},htmlFor:"phonenumber",children:"Phone number"}),e(Y,{onChange:q,value:f,type:"phone",placeholder:"",inputMode:"numeric",ref:B,min:0,max:10,autoFocus:!0,countryCode:F.COUNTRY_CODE}),e(V,{color:"primary",size:"medium",disabled:n,loading:i,onClick:()=>u(f),styleConfig:{root:[r["my-6"]]},children:F.GET_OTP}),R&&D&&o(t,{children:[o(H,{as:"div",styleConfig:{root:[r["my-6"],r["p-relative"]]},children:[e(X,{}),e(H,{as:"span",styleConfig:{root:[$.mobileinput_seperatortext]},children:"or"})]}),e(V,{variant:"outline",size:"medium",loading:U,onClick:z,prefixIcon:e("img",{src:K}),styleConfig:{root:[r["my-6"]]},children:F.FK_LOGIN_CTA})]}),I&&o(H,{as:"div",styleConfig:{root:[r["pt-8"],r["pb-6"]]},children:[e(X,{}),o(H,{as:"div",styleConfig:{root:[r["pt-2"]]},children:[e(A,{variant:"P1",componentNode:"span",styleConfig:{root:[$.footer_text]},children:F.FOOTER_TEXT}),e(A,{variant:"P1",componentNode:"span",color:"link",onClick:Z,isClickable:!0,styleConfig:{root:[re["fs-12"]],container:{display:"inline-block"}},children:F.TNC_CTA}),e(A,{variant:"P1",componentNode:"span",styleConfig:{root:[r["px-1"],re["fs-12"],re["c-neutral-700"]]},children:"and"}),e(A,{variant:"P1",componentNode:"span",color:"link",onClick:Q,isClickable:!0,styleConfig:{root:[re["fs-12"]],container:{display:"inline-block"}},children:F.PRIVACY_CTA})]})]})]})},ae=i((()=>({utilswrapper:{}}))),ce=({fallbackUri:t,isLoginModule:i,skipProfileFlow:n,sendUserInsights:r,isFkLoginEnabled:l,ravenPayload:u={},hotelsLoyaltyFlow:p,enableProfileFetch:m,isPrivacyPolicyVisible:f,heading:_,onAuthSuccess:h,onAuthFailure:v,fkLoginClick:b})=>{const[C,T]=a(!0),[E,k]=a(!0),[S,L]=a(!1),[R,A]=a(""),[M,G]=a(0),[U,j]=a(""),[B,W]=a(!1),[z,V]=a(!1),[X,Y]=a(!1),K=s((async e=>{try{W(!1),k(!1),L(!0),w();const o=await N(e),{status:t}=o||{};"SUCCESS"===t&&(T(!1),L(!1))}catch(e){console.error(e);const{message:o}=e||{};L(!1);const t=o&&F[o];j(String(t||F.GENERIC_ERROR_MESSAGE)),"OTP_SEND_LIMIT_EXCEEDED"===o&&W(!0)}}),[C,T]),q=s(((e,o)=>{const t=d(),n=Object.assign({action_name:"login_successful",login_form:null==t?void 0:t.loginForm,login_type:"native",login_new:o?"sign_up":"sign_in",vertical:null==t?void 0:t.vertical,page_name:null==t?void 0:t.pageName},u);r?O("u_login_success",n):g("u_login_success",n),m&&P(),p||i||V(!0),h(o)}),[u,i,n,r,p,m]),J=s((e=>{v(e)}),[]),Q=()=>{Y(!0)};return c((()=>{if(i)return;window&&(window.showSigninLoaderScreen=Q);const e=x("fkSSOstatus"),o="FK";"signin"===e&&(y()&&D(),q(o)),"signup"===e&&(y()&&D(),q(o,!0)),"failure"===e&&J(o)}),[]),o(H,{as:"div",styleConfig:{root:[$.utilswrapper,ae.utilswrapper]},children:[z&&e(I,{text:"Logged in successfully!",show:z,closeTimeout:2e3,styleConfig:{toastContainer:[$.nonUtilsSelector_toast]}}),X&&e(ne,{title:"Please wait",message:"Signing in...",className:"z-10 bg-white"}),C?e(le,{device:"PWA",ctaDisabled:E,sendingOtp:S,getOTP:K,mobileNumber:R,setMobileNumber:A,setMobileInputHeight:G,fallbackUri:t,skipProfileFlow:n,setErrorCallout:j,errorCallout:U,ravenPayload:u,hotelsLoyaltyFlow:p,isFkLoginEnabled:l,isPrivacyPolicyVisible:f,heading:_,fkLoginClick:b}):e(oe,{mobileNumber:R,getOTP:K,setCtaDisabled:k,setShowMobilePage:T,handleLoginSuccess:q,handleLoginFailure:J,otpInputHeight:M,setMobileNumber:A,setErrorCallout:j,errorCallout:U,otpResendDisabled:B,ravenPayload:u,skipProfileFlow:n,hotelsLoyaltyFlow:p})]})};export{ce as LoginForm};
|
|
2
2
|
//# sourceMappingURL=ct-platform-login-form.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-login-form.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/LoginForm/src/LoaderThreeDots/index.tsx","../packages/components/LoginForm/src/OtpInput/index.tsx","../packages/components/LoginForm/src/Loader/index.tsx","../packages/components/LoginForm/src/MobileInput/index.tsx","../packages/components/LoginForm/src/LoginForm.tsx"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null,null,null,null,null],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","AutoDetectState","ThreeDotsLoader","_jsx","__assign","className","Styles","children","OtpInput","_a","mobileNumber","errorCallout","ravenPayload","otpInputHeight","skipProfileFlow","otpResendDisabled","hotelsLoyaltyFlow","getOTP","setCtaDisabled","setErrorCallout","setMobileNumber","setShowMobilePage","handleLoginSuccess","handleLoginFailure","inputRefs","useRef","Array","fill","_b","useState","DETECTING","autoDetecting","setAutoDetecting","_c","LOGIN_CONSTANTS","OTP_COUNTDOWN","countdown","setCountdown","_d","otp","setOtp","_f","countdownEnabled","setCountdownEnabled","_g","verifiedOtp","setVerifiedOtp","_h","otpErrorMessage","setOtpErrorMessage","_j","enableAutoDetect","setEnableAutoDetect","_k","showOtpVerificationLoader","setShowOtpVerificationLoader","lastOtpRequest","lastOtpRequestTimeStamp","loginMethod","useEffect","autoDetect","eventProps","getRavenEventProps","ravenSDKTrigger","action_name","login_form","loginForm","login_type","vertical","page_name","pageName","isIOSApp","current","focus","click","interval","setInterval","prevCountdown","clearInterval","useCallback","__awaiter","autoReadOtp","otp_1","sent","DETECTED","length","OTP_LENGTH","handleOtpComplete","handleOtpValidationError","e","message","messageValue","toastMessage","INVALID_OTP","autodetected","entry_type","Date","now","validateOtp","response","status_1","status","action","Number","isEmpty","updateNativeOnLogin","e_1","handleOnPaste","navigator","clipboard","readText","clipboardData","isNumeric","pastedArr","slice","split","pastedString","join","handleInput","event","index","target","otpValue","map","isHTMLInputElement","value","handleKeyDown","key","preventDefault","onResendOtpClick","onEditCLick","_jsxs","height","AlertCallout","variant","textNode","prefixIconNode","InfoIcon","color","backgroundColor","Typography","OTP_TEXT","onClick","Edit","styles","otp_container","width","position","__spreadArray","_","i","otp_box_wrapper","FieldV2","prompt","hasError","placeholder","max","inputMode","login_otp_input","onKeyDown","onChange","onPaste","autoFocus","disabled","login_otp_error","Spacer","RESEND_OTP_COUNTDOWN","Spinner","borderColor","AUTO_DETECTING_TEXT","_Fragment","OTP_RESEND_TEXT","RESEND_CTA","isClickable","CheckCircle","AUTO_DETECTED_TEXT","VERIFIED_MESSAGE","Loader","title","concat","classNames","MobileInput","sendingOtp","ctaDisabled","setMobileInputHeight","fallbackUri","heading","isFkLoginEnabled","isPrivacyPolicyVisible","fkLoginClick","fkSSOEnabled","isFKSSOEnabled","fkButtonLoading","setFkButtonLoading","inputRef","mobileViewRef","clientHeight","timeout","setTimeout","clearTimeout","isAndroidApp","autoDetectMobileNumber","handleFKSSOClick","handleFKSSO","redirectUrl","isPwa","window","location","href","handleInputChange","autoDetected","replace","MULTI_SPACE","trimStart","isValidMobileNumber","showMobileNumberHint","autoDetectedNumber","simulatedEvent","handlePrivacyPolicyClick","NAVIGATION_ROUTES","PRIVACY_POLICY","handleTermsOfUseClick","TERMS","LOGIN_TO_CT","visibility","htmlFor","PhoneField","name","min","countryCode","COUNTRY_CODE","Button","size","minWidth","loading","GET_OTP","Divider","mobileinput_seperatortext","showLeftIcon","LeftIcon","src","FlipkartLogo","FK_LOGIN_CTA","componentNode","footer_text","FOOTER_TEXT","styleConfig","containerCss","display","TNC_CTA","PRIVACY_CTA","LoginForm","isLoginModule","sendUserInsights","enableProfileFetch","onAuthSuccess","onAuthFailure","showMobilePage","_e","setSendingOtp","mobileInputHeight","setOtpResendDisabled","showSuccess","setShowSuccess","_l","showSigninLoader","setShowSigninLoader","triggerOTPListener","sendLoginOtp","res","console","error","err_1","errorMessage","String","GENERIC_ERROR_MESSAGE","isSignUp","payload","login_new","sendEventWithUserInsights","handleProfileFetch","showSigninLoaderScreen","queryValue","getQueryParam","updateNativeAndroidOnSignIn","Toast","text","show","closeTimeout","device"],"mappings":"i6CAAA,SAASA,EAAYC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,6mFCrBO,ICqDKe,EDrDCC,GAA4B,WACrC,OACIC,EAAK,MAAAC,EAAA,CAAAC,UAAWC,GAA2B,CAAAC,SACvCJ,SAAKE,UAAWC,MAG5B,GC+CA,SAAYL,GACRA,EAAAA,EAAA,UAAA,GAAA,YACAA,EAAAA,EAAA,OAAA,GAAA,SACAA,EAAAA,EAAA,SAAA,GAAA,UACH,CAJD,CAAYA,IAAAA,EAIX,CAAA,IAED,IAAMO,GAAoC,SAACC,GACvC,IAAAC,iBAC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ACpCsM,EAActM,EACjB,GAAE,IAEG+N,GAAyB,WAC3Bf,IAAoB,EACxB,EAqCA,OAnCA/M,GAAU,WAGN,IAAIiM,EAAJ,CAII9C,SACAA,OAA+B,uBAAI2E,IAKvC,IAAMC,EAAaC,EAAc,eAC3BjO,EAAc,KAED,WAAfgO,IACIlF,KACAoF,IAEJtQ,GAAmBoC,IAGJ,WAAfgO,IACIlF,KACAoF,IAEJtQ,GAAmBoC,GAAa,IAGjB,YAAfgO,GACAnQ,GAAmBmC,EA1BtB,CA4BJ,GAAE,IAGCyE,WAAK9H,UAAW,UAAG2I,EAAqB,aAAC,6BACpCsH,IACGnQ,EAAC0R,GACGC,KAAK,0BACLC,KAAMzB,GACNjQ,UAAW,GAAG8K,OAAAnC,EAA+B,wBAC7CgJ,aAAc,MAGrBvB,IACGtQ,EAAC8K,GACG,CAAAC,MAAM,cACNxF,QAAQ,gBACRrF,UAAU,kBAGjB4P,EACG9P,EAACkL,GAAW,CACR4G,OAAO,MACP1G,YAAaA,EACbD,WAAYA,EACZrK,OAAQA,GACRP,aAAcA,EACdU,gBAAiBA,EACjBoK,qBAAsBA,EACtBC,YAAaA,EACb3K,gBAAiBA,EACjBK,gBAAiBA,EACjBR,aAAcA,EACdC,aAAcA,EACdI,kBAAmBA,EACnB2K,iBAAkBA,EAClBC,uBAAwBA,EACxBF,QAASA,EACTG,aAAcA,IAGlB1L,EAACK,IACGE,aAAcA,EACdO,OAAQA,GACRC,eAAgBA,EAChBG,kBAAmBA,EACnBC,mBAAoBA,GACpBC,mBAAoBA,GACpBV,eAAgBuP,EAChBhP,gBAAiBA,EACjBD,gBAAiBA,EACjBR,aAAcA,EACdI,kBAAmBA,GACnBH,aAAcA,EACdE,gBAAiBA,EACjBE,kBAAmBA,OAKvC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ct-platform-login-form.esm.js","sources":["../packages/components/LoginForm/src/index.module.ts","../packages/components/LoginForm/src/LoaderThreeDots/index.module.ts","../packages/components/LoginForm/src/LoaderThreeDots/index.tsx","../packages/components/LoginForm/src/OtpInput/index.tsx","../packages/components/LoginForm/src/Loader/index.module.ts","../packages/components/LoginForm/src/Loader/index.tsx","../packages/components/LoginForm/src/MobileInput/index.tsx","../packages/components/LoginForm/src/LoginForm.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":["styles","makeStyles","mobileinput_seperatortext","position","width","background","top","textAlign","left","right","marginTop","marginRight","marginBottom","marginLeft","footer_text","color","fontSize","otp_container","display","flexDirection","otp_box_wrapper","login_otp_input","height","fontStyle","fontWeight","lineHeight","padding","login_otp_error","paddingTop","nonUtilsSelector_toast","bottom","zIndex","paddingRight","paddingBottom","paddingLeft","threeDotsLoader","keyframes","backgroundColor","makeWebStyles","loader__container","borderRadius","boxShadow","justifyContent","alignItems","transform","animation","animationDelay","content","ThreeDotsLoader","_jsx","Container","as","styleConfig","root","Styles","children","staticStyles","AutoDetectState","OtpInput","mobileNumber","errorCallout","ravenPayload","otpInputHeight","skipProfileFlow","otpResendDisabled","hotelsLoyaltyFlow","getOTP","setCtaDisabled","setErrorCallout","setMobileNumber","setShowMobilePage","handleLoginSuccess","handleLoginFailure","inputRefs","useRef","Array","fill","autoDetecting","setAutoDetecting","useState","DETECTING","countdown","setCountdown","LOGIN_CONSTANTS","OTP_COUNTDOWN","otp","setOtp","countdownEnabled","setCountdownEnabled","verifiedOtp","setVerifiedOtp","otpErrorMessage","setOtpErrorMessage","enableAutoDetect","setEnableAutoDetect","showOtpVerificationLoader","setShowOtpVerificationLoader","lastOtpRequest","lastOtpRequestTimeStamp","loginMethod","useEffect","autoDetect","eventProps","getRavenEventProps","ravenSDKTrigger","Object","assign","action_name","login_form","loginForm","login_type","vertical","page_name","pageName","isIOSApp","current","focus","click","interval","setInterval","prevCountdown","clearInterval","useCallback","async","autoReadOtp","DETECTED","length","OTP_LENGTH","handleOtpComplete","_e","handleOtpValidationError","e","message","messageValue","toastMessage","INVALID_OTP","autodetected","entry_type","Date","now","response","validateOtp","status","action","Number","isEmpty","updateNativeOnLogin","handleInput","event","index","value","target","_a","_b","otpValue","map","ref","isHTMLInputElement","join","slice","handleKeyDown","key","preventDefault","call","_c","_d","onResendOtpClick","onEditCLick","hotelStyles","_jsxs","gs","AlertCallout","variant","textNode","prefixIconNode","InfoIcon","Typography","OTP_TEXT","onClick","Edit","_","i","InputField","prompt","hasError","type","placeholder","maxLength","inputMode","onKeyDown","onChange","autoFocus","disabled","Spacer","RESEND_OTP_COUNTDOWN","Spinner","borderColor","AUTO_DETECTING_TEXT","_Fragment","OTP_RESEND_TEXT","RESEND_CTA","isClickable","CheckCircle","AUTO_DETECTED_TEXT","VERIFIED_MESSAGE","loader","loader__content","maxWidth","loader__spinner","borderWidth","borderStyle","borderTopColor","loader__heading","loader__text","utilswrapper","Loader","title","className","MobileInput","sendingOtp","ctaDisabled","setMobileInputHeight","fallbackUri","heading","isFkLoginEnabled","isPrivacyPolicyVisible","fkLoginClick","fkSSOEnabled","isFKSSOEnabled","fkButtonLoading","setFkButtonLoading","inputRef","mobileViewRef","getBoundingRectWithCallback","rect","timeout","setTimeout","clearTimeout","isAndroidApp","autoDetectMobileNumber","handleFKSSOClick","redirectUrl","handleFKSSO","isPwa","window","location","href","err","console","error","handleInputChange","autoDetected","replace","MULTI_SPACE","trimStart","isValidMobileNumber","autoDetectedNumber","showMobileNumberHint","handlePrivacyPolicyClick","NAVIGATION_ROUTES","PRIVACY_POLICY","handleTermsOfUseClick","TERMS","LOGIN_TO_CT","style","visibility","htmlFor","min","max","countryCode","COUNTRY_CODE","Button","size","loading","GET_OTP","Divider","prefixIcon","src","FlipkartLogo","FK_LOGIN_CTA","componentNode","FOOTER_TEXT","container","TNC_CTA","PRIVACY_CTA","LoginForm","isLoginModule","sendUserInsights","enableProfileFetch","onAuthSuccess","onAuthFailure","showMobilePage","setSendingOtp","mobileInputHeight","setOtpResendDisabled","showSuccess","setShowSuccess","showSigninLoader","setShowSigninLoader","triggerOTPListener","res","sendLoginOtp","errorMessage","String","GENERIC_ERROR_MESSAGE","isSignUp","payload","login_new","sendEventWithUserInsights","handleProfileFetch","showSigninLoaderScreen","queryValue","getQueryParam","updateNativeAndroidOnSignIn","Toast","text","show","closeTimeout","toastContainer","device"],"mappings":"u/CAGA,MAAMA,EAASC,GAAW,KAAO,CAC/BC,0BAA2B,CACzBC,SAAU,WACVC,MAAO,GACPC,WAAY,OACZC,KAAM,GACNC,UAAW,SACXC,KAAM,EACNC,MAAO,EACPC,UAAW,EACXC,YAAa,OACbC,aAAc,EACdC,WAAY,QAGdC,YAAa,CACXC,MAAO,OACPC,SAAU,IAGZC,cAAe,CACbP,UAAW,GACXQ,QAAS,OACTC,cAAe,UAGjBC,gBAAiB,CACfT,YAAa,GAGfU,gBAAiB,CACfjB,MAAO,GACPkB,OAAQ,GACRN,SAAU,GACVO,UAAW,SACXC,WAAY,IACZC,WAAY,GACZlB,UAAW,SACXmB,QAAS,QAGXC,gBAAiB,CACfC,WAAY,GAGdC,uBAAwB,CACtBC,OAAQ,GACRlB,aAAc,GACdmB,OAAQ,IACRH,WAAY,GACZI,aAAc,GACdC,cAAe,GACfC,YAAa,GACbxB,UAAW,EACXC,YAAa,OAEbC,aAAc,EACdC,WAAY,OACZT,MAAO,yBC3DL+B,EAAkBC,EAAU,CAChC,KAAM,CACJC,gBAAiB,WAEnB,YAAa,CACXA,gBAAiB,aAMfrC,EAASsC,GAAc,KAAO,CAClCC,kBAAmB,CACjBb,QAAS,GACTc,aAAc,GACdnC,WAAY,OACZoC,UAAW,yCACXrC,MAAO,GACPkB,OAAQ,GACRJ,QAAS,OACTwB,eAAgB,SAChBC,WAAY,SACZxC,SAAU,WACVG,IAAK,MACLE,KAAM,MACNoC,UAAW,wBACX,uBAAwB,CACtBzC,SAAU,WACVC,MAAO,EACPkB,OAAQ,EACRkB,aAAc,EACdH,gBAAiB,UACjBQ,UAAW,GAAGV,iCACdW,eAAgB,QAElB,6EAA8E,CAC5EC,QAAS,KACT7B,QAAS,eACT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G,YAAaA,EACbD,WAAYA,EACZzJ,OAAQA,EACRP,aAAcA,EACdU,gBAAiBA,EACjBwJ,qBAAsBA,EACtBC,YAAaA,EACb/J,gBAAiBA,EACjBK,gBAAiBA,EACjBR,aAAcA,EACdC,aAAcA,EACdI,kBAAmBA,EACnB+J,iBAAkBA,EAClBC,uBAAwBA,EACxBF,QAASA,EACTG,aAAcA,IAGlBjL,EAACS,IACGC,aAAcA,EACdO,OAAQA,EACRC,eAAgBA,EAChBG,kBAAmBA,EACnBC,mBAAoBA,EACpBC,mBAAoBA,EACpBV,eAAgBuO,EAChBhO,gBAAiBA,EACjBD,gBAAiBA,EACjBR,aAAcA,EACdI,kBAAmBA,EACnBH,aAAcA,EACdE,gBAAiBA,EACjBE,kBAAmBA,MAIjC"}
|
package/dist/index.css
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.utilswrapper .container.container{margin:auto;max-width:1140px;padding:0 8px}@media screen and (min-width:320px) and (max-width:1024px){.utilswrapper .container{margin:auto;max-width:100%;padding:0 16px}}@media screen and (min-width:480px) and (max-width:1024px){.utilswrapper .container{margin:auto;max-width:100%;padding:0 16px}}@media screen and (min-width:600px) and (max-width:1024px){.utilswrapper .container{margin:auto;max-width:100%;padding:0 16px}}.utilswrapper .row.row{box-sizing:border-box;display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap}.utilswrapper .col-1.col-1,.utilswrapper .col-10.col-10,.utilswrapper .col-11.col-11,.utilswrapper .col-12.col-12,.utilswrapper .col-13.col-13,.utilswrapper .col-14.col-14,.utilswrapper .col-15.col-15,.utilswrapper .col-16.col-16,.utilswrapper .col-17.col-17,.utilswrapper .col-18.col-18,.utilswrapper .col-19.col-19,.utilswrapper .col-2.col-2,.utilswrapper .col-20.col-20,.utilswrapper .col-21.col-21,.utilswrapper .col-22.col-22,.utilswrapper .col-23.col-23,.utilswrapper .col-24.col-24,.utilswrapper .col-3.col-3,.utilswrapper .col-4.col-4,.utilswrapper .col-5.col-5,.utilswrapper .col-6.col-6,.utilswrapper .col-7.col-7,.utilswrapper .col-8.col-8,.utilswrapper .col-9.col-9,.utilswrapper .col.col{box-sizing:border-box;flex:0 0 auto}.utilswrapper .col.col{flex-basis:0;flex-grow:1;max-width:100%}.utilswrapper .col-1.col-1{flex-basis:4.16667%;max-width:4.16667%}.utilswrapper .col-2.col-2{flex-basis:8.33333%;max-width:8.33333%}.utilswrapper .col-3.col-3{flex-basis:12.5%;max-width:12.5%}.utilswrapper .col-4.col-4{flex-basis:16.66667%;max-width:16.66667%}.utilswrapper .col-5.col-5{flex-basis:20.83333%;max-width:20.83333%}.utilswrapper .col-6.col-6{flex-basis:25%;max-width:25%}.utilswrapper .col-7.col-7{flex-basis:29.16667%;max-width:29.16667%}.utilswrapper .col-8.col-8{flex-basis:33.33333%;max-width:33.33333%}.utilswrapper .col-9.col-9{flex-basis:37.5%;max-width:37.5%}.utilswrapper .col-10.col-10{flex-basis:41.66667%;max-width:41.66667%}.utilswrapper .col-11.col-11{flex-basis:45.83333%;max-width:45.83333%}.utilswrapper .col-12.col-12{flex-basis:50%;max-width:50%}.utilswrapper .col-13.col-13{flex-basis:54.16667%;max-width:54.16667%}.utilswrapper .col-14.col-14{flex-basis:58.33333%;max-width:58.33333%}.utilswrapper .col-15.col-15{flex-basis:62.5%;max-width:62.5%}.utilswrapper .col-16.col-16{flex-basis:66.66667%;max-width:66.66667%}.utilswrapper .col-17.col-17{flex-basis:70.83333%;max-width:70.83333%}.utilswrapper .col-18.col-18{flex-basis:75%;max-width:75%}.utilswrapper .col-19.col-19{flex-basis:79.16667%;max-width:79.16667%}.utilswrapper .col-20.col-20{flex-basis:83.33333%;max-width:83.33333%}.utilswrapper .col-21.col-21{flex-basis:87.5%;max-width:87.5%}.utilswrapper .col-22.col-22{flex-basis:91.66667%;max-width:91.66667%}.utilswrapper .col-23.col-23{flex-basis:95.83333%;max-width:95.83333%}.utilswrapper .col-24.col-24{flex-basis:100%;max-width:100%}@media screen and (min-width:320px) and (max-width:1024px){.utilswrapper .col-1--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:4.16667%;max-width:4.16667%}.utilswrapper .col-2--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:8.33333%;max-width:8.33333%}.utilswrapper .col-3--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:12.5%;max-width:12.5%}.utilswrapper .col-4--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:16.66667%;max-width:16.66667%}.utilswrapper .col-5--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:20.83333%;max-width:20.83333%}.utilswrapper .col-6--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:25%;max-width:25%}.utilswrapper .col-7--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:29.16667%;max-width:29.16667%}.utilswrapper .col-8--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:33.33333%;max-width:33.33333%}.utilswrapper .col-9--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:37.5%;max-width:37.5%}.utilswrapper .col-10--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:41.66667%;max-width:41.66667%}.utilswrapper .col-11--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:45.83333%;max-width:45.83333%}.utilswrapper .col-12--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:50%;max-width:50%}.utilswrapper .col-13--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:54.16667%;max-width:54.16667%}.utilswrapper .col-14--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:58.33333%;max-width:58.33333%}.utilswrapper .col-15--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:62.5%;max-width:62.5%}.utilswrapper .col-16--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:66.66667%;max-width:66.66667%}.utilswrapper .col-17--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:70.83333%;max-width:70.83333%}.utilswrapper .col-18--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:75%;max-width:75%}.utilswrapper .col-19--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:79.16667%;max-width:79.16667%}.utilswrapper .col-20--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:83.33333%;max-width:83.33333%}.utilswrapper .col-21--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:87.5%;max-width:87.5%}.utilswrapper .col-22--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:91.66667%;max-width:91.66667%}.utilswrapper .col-23--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:95.83333%;max-width:95.83333%}.utilswrapper .col-24--xs{box-sizing:border-box;flex:0 0 auto;flex-basis:100%;max-width:100%}}@media screen and (min-width:480px) and (max-width:1024px){.utilswrapper .col-1--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:4.16667%;max-width:4.16667%}.utilswrapper .col-2--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:8.33333%;max-width:8.33333%}.utilswrapper .col-3--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:12.5%;max-width:12.5%}.utilswrapper .col-4--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:16.66667%;max-width:16.66667%}.utilswrapper .col-5--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:20.83333%;max-width:20.83333%}.utilswrapper .col-6--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:25%;max-width:25%}.utilswrapper .col-7--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:29.16667%;max-width:29.16667%}.utilswrapper .col-8--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:33.33333%;max-width:33.33333%}.utilswrapper .col-9--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:37.5%;max-width:37.5%}.utilswrapper .col-10--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:41.66667%;max-width:41.66667%}.utilswrapper .col-11--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:45.83333%;max-width:45.83333%}.utilswrapper .col-12--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:50%;max-width:50%}.utilswrapper .col-13--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:54.16667%;max-width:54.16667%}.utilswrapper .col-14--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:58.33333%;max-width:58.33333%}.utilswrapper .col-15--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:62.5%;max-width:62.5%}.utilswrapper .col-16--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:66.66667%;max-width:66.66667%}.utilswrapper .col-17--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:70.83333%;max-width:70.83333%}.utilswrapper .col-18--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:75%;max-width:75%}.utilswrapper .col-19--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:79.16667%;max-width:79.16667%}.utilswrapper .col-20--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:83.33333%;max-width:83.33333%}.utilswrapper .col-21--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:87.5%;max-width:87.5%}.utilswrapper .col-22--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:91.66667%;max-width:91.66667%}.utilswrapper .col-23--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:95.83333%;max-width:95.83333%}.utilswrapper .col-24--sm{box-sizing:border-box;flex:0 0 auto;flex-basis:100%;max-width:100%}}@media screen and (min-width:600px) and (max-width:1024px){.utilswrapper .col-1--md{box-sizing:border-box;flex:0 0 auto;flex-basis:4.16667%;max-width:4.16667%}.utilswrapper .col-2--md{box-sizing:border-box;flex:0 0 auto;flex-basis:8.33333%;max-width:8.33333%}.utilswrapper .col-3--md{box-sizing:border-box;flex:0 0 auto;flex-basis:12.5%;max-width:12.5%}.utilswrapper .col-4--md{box-sizing:border-box;flex:0 0 auto;flex-basis:16.66667%;max-width:16.66667%}.utilswrapper .col-5--md{box-sizing:border-box;flex:0 0 auto;flex-basis:20.83333%;max-width:20.83333%}.utilswrapper .col-6--md{box-sizing:border-box;flex:0 0 auto;flex-basis:25%;max-width:25%}.utilswrapper .col-7--md{box-sizing:border-box;flex:0 0 auto;flex-basis:29.16667%;max-width:29.16667%}.utilswrapper .col-8--md{box-sizing:border-box;flex:0 0 auto;flex-basis:33.33333%;max-width:33.33333%}.utilswrapper .col-9--md{box-sizing:border-box;flex:0 0 auto;flex-basis:37.5%;max-width:37.5%}.utilswrapper .col-10--md{box-sizing:border-box;flex:0 0 auto;flex-basis:41.66667%;max-width:41.66667%}.utilswrapper .col-11--md{box-sizing:border-box;flex:0 0 auto;flex-basis:45.83333%;max-width:45.83333%}.utilswrapper .col-12--md{box-sizing:border-box;flex:0 0 auto;flex-basis:50%;max-width:50%}.utilswrapper .col-13--md{box-sizing:border-box;flex:0 0 auto;flex-basis:54.16667%;max-width:54.16667%}.utilswrapper .col-14--md{box-sizing:border-box;flex:0 0 auto;flex-basis:58.33333%;max-width:58.33333%}.utilswrapper .col-15--md{box-sizing:border-box;flex:0 0 auto;flex-basis:62.5%;max-width:62.5%}.utilswrapper .col-16--md{box-sizing:border-box;flex:0 0 auto;flex-basis:66.66667%;max-width:66.66667%}.utilswrapper .col-17--md{box-sizing:border-box;flex:0 0 auto;flex-basis:70.83333%;max-width:70.83333%}.utilswrapper .col-18--md{box-sizing:border-box;flex:0 0 auto;flex-basis:75%;max-width:75%}.utilswrapper .col-19--md{box-sizing:border-box;flex:0 0 auto;flex-basis:79.16667%;max-width:79.16667%}.utilswrapper .col-20--md{box-sizing:border-box;flex:0 0 auto;flex-basis:83.33333%;max-width:83.33333%}.utilswrapper .col-21--md{box-sizing:border-box;flex:0 0 auto;flex-basis:87.5%;max-width:87.5%}.utilswrapper .col-22--md{box-sizing:border-box;flex:0 0 auto;flex-basis:91.66667%;max-width:91.66667%}.utilswrapper .col-23--md{box-sizing:border-box;flex:0 0 auto;flex-basis:95.83333%;max-width:95.83333%}.utilswrapper .col-24--md{box-sizing:border-box;flex:0 0 auto;flex-basis:100%;max-width:100%}}.utilswrapper .br-0.br-0{border-radius:0}.utilswrapper .br-1.br-1{border-radius:1px}.utilswrapper .br-2.br-2{border-radius:2px}.utilswrapper .br-3.br-3{border-radius:3px}.utilswrapper .br-4.br-4{border-radius:4px}.utilswrapper .br-5.br-5{border-radius:5px}.utilswrapper .br-6.br-6{border-radius:6px}.utilswrapper .br-7.br-7{border-radius:7px}.utilswrapper .br-8.br-8{border-radius:8px}.utilswrapper .br-9.br-9{border-radius:9px}.utilswrapper .br-10.br-10{border-radius:10px}.utilswrapper .br-11.br-11{border-radius:11px}.utilswrapper .br-12.br-12{border-radius:12px}.utilswrapper .br-13.br-13{border-radius:13px}.utilswrapper .br-14.br-14{border-radius:14px}.utilswrapper .br-15.br-15{border-radius:15px}.utilswrapper .br-16.br-16{border-radius:16px}.utilswrapper .br-0p.br-0p{border-radius:0}.utilswrapper .br-25p.br-25p{border-radius:25%}.utilswrapper .br-50p.br-50p{border-radius:50%}.utilswrapper .br-75p.br-75p{border-radius:75%}.utilswrapper .br-100p.br-100p{border-radius:100%}.utilswrapper .ba-solid.ba-solid{border-style:solid;border-width:1px}.utilswrapper .bb-solid.bb-solid,.utilswrapper .bb.bb{border-bottom-style:solid;border-bottom-width:1px}.utilswrapper .bb-dotted.bb-dotted{border-bottom-style:dotted;border-bottom-width:1px}.utilswrapper .ba-dashed.ba-dashed{border-style:dashed;border-width:1px}.utilswrapper .bn.bn{border:none}.utilswrapper .bl-0.bl-0{border-left:0}.utilswrapper .blr-0.blr-0,.utilswrapper .br-0.br-0{border-right:0}.utilswrapper .blr-0.blr-0{border-left:0}.utilswrapper .c-primary-100.c-primary-100{color:#fef3ed}.utilswrapper .c-primary-300.c-primary-300{color:#fbe0d3}.utilswrapper .c-primary-500.c-primary-500{color:#ed6521}.utilswrapper .c-primary-700.c-primary-700{color:#6a1f13}.utilswrapper .bg-primary-100.bg-primary-100{background-color:#fef3ed}.utilswrapper .bg-primary-300.bg-primary-300{background-color:#fbe0d3}.utilswrapper .bg-primary-500.bg-primary-500{background-color:#ed6521}.utilswrapper .bg-primary-700.bg-primary-700{background-color:#6a1f13}.utilswrapper .bc-primary-100.bc-primary-100{border-color:#fef3ed}.utilswrapper .bc-primary-300.bc-primary-300{border-color:#fbe0d3}.utilswrapper .bc-primary-500.bc-primary-500{border-color:#ed6521}.utilswrapper .bc-primary-700.bc-primary-700{border-color:#6a1f13}.utilswrapper .c-secondary-100.c-secondary-100{color:#eff3fb}.utilswrapper .c-secondary-300.c-secondary-300{color:#aecff9}.utilswrapper .c-secondary-500.c-secondary-500{color:#36c}.utilswrapper .c-secondary-700.c-secondary-700{color:#152255}.utilswrapper .bg-secondary-100.bg-secondary-100{background-color:#eff3fb}.utilswrapper .bg-secondary-300.bg-secondary-300{background-color:#aecff9}.utilswrapper .bg-secondary-500.bg-secondary-500{background-color:#36c}.utilswrapper .bg-secondary-700.bg-secondary-700{background-color:#152255}.utilswrapper .bc-secondary-100.bc-secondary-100{border-color:#eff3fb}.utilswrapper .bc-secondary-300.bc-secondary-300{border-color:#aecff9}.utilswrapper .bc-secondary-500.bc-secondary-500{border-color:#36c}.utilswrapper .bc-secondary-700.bc-secondary-700{border-color:#152255}.utilswrapper .c-neutral-100.c-neutral-100{color:#fff}.utilswrapper .c-neutral-300.c-neutral-300{color:#f7f7f7}.utilswrapper .c-neutral-500.c-neutral-500{color:#e0e0e0}.utilswrapper .c-neutral-700.c-neutral-700{color:grey}.utilswrapper .c-neutral-900.c-neutral-900{color:#1a1a1a}.utilswrapper .bg-neutral-100.bg-neutral-100{background-color:#fff}.utilswrapper .bg-neutral-300.bg-neutral-300{background-color:#f7f7f7}.utilswrapper .bg-neutral-500.bg-neutral-500{background-color:#e0e0e0}.utilswrapper .bg-neutral-700.bg-neutral-700{background-color:grey}.utilswrapper .bg-neutral-900.bg-neutral-900{background-color:#1a1a1a}.utilswrapper .bc-neutral-100.bc-neutral-100{border-color:#fff}.utilswrapper .bc-neutral-300.bc-neutral-300{border-color:#f7f7f7}.utilswrapper .bc-neutral-500.bc-neutral-500{border-color:#e0e0e0}.utilswrapper .bc-neutral-700.bc-neutral-700{border-color:grey}.utilswrapper .bc-neutral-900.bc-neutral-900{border-color:#1a1a1a}.utilswrapper .c-success-100.c-success-100{color:#ebf9f6}.utilswrapper .c-success-500.c-success-500{color:#00b28a}.utilswrapper .bg-success-100.bg-success-100{background-color:#ebf9f6}.utilswrapper .bg-success-500.bg-success-500{background-color:#00b28a}.utilswrapper .bc-success-100.bc-success-100{border-color:#ebf9f6}.utilswrapper .bc-success-500.bc-success-500{border-color:#00b28a}.utilswrapper .c-warning-100.c-warning-100{color:#fcf7f0}.utilswrapper .c-warning-500.c-warning-500{color:#df9641}.utilswrapper .bg-warning-100.bg-warning-100{background-color:#fcf7f0}.utilswrapper .bg-warning-500.bg-warning-500{background-color:#df9641}.utilswrapper .bc-warning-100.bc-warning-100{border-color:#fcf7f0}.utilswrapper .bc-warning-500.bc-warning-500{border-color:#df9641}.utilswrapper .bc-default.bc-default{border-color:#000}.utilswrapper .c-error-100.c-error-100{color:#fbefef}.utilswrapper .c-error-500.c-error-500{color:#cc1414}.utilswrapper .bg-error-100.bg-error-100{background-color:#fbefef}.utilswrapper .bg-error-500.bg-error-500{background-color:#cc1414}.utilswrapper .bc-error-100.bc-error-100{border-color:#fbefef}.utilswrapper .bc-error-500.bc-error-500{border-color:#cc1414}.utilswrapper .c-line-500.c-line-500{color:#e6e6e6}.utilswrapper .bg-line-500.bg-line-500{background-color:#e6e6e6}.utilswrapper .bc-line-500.bc-line-500{border-color:#e6e6e6}.utilswrapper .c-line-700.c-line-700{color:#dbdbdb}.utilswrapper .bg-line-700.bg-line-700{background-color:#dbdbdb}.utilswrapper .bc-line-700.bc-line-700{border-color:#dbdbdb}.utilswrapper .fs-8.fs-8{font-size:8px}.utilswrapper .fs-10.fs-10{font-size:10px}.utilswrapper .fs-12.fs-12{font-size:12px}.utilswrapper .fs-14.fs-14{font-size:14px}.utilswrapper .fs-16.fs-16{font-size:16px}.utilswrapper .fs-20.fs-20{font-size:20px}.utilswrapper .fs-24.fs-24{font-size:24px}.utilswrapper .lh-12.lh-12{line-height:12px}.utilswrapper .lh-16.lh-16{line-height:16px}.utilswrapper .lh-20.lh-20{line-height:20px}.utilswrapper .lh-22.lh-22{line-height:22px}.utilswrapper .lh-24.lh-24{line-height:24px}.utilswrapper .lh-28.lh-28{line-height:28px}.utilswrapper .fw-100.fw-100{font-weight:100}.utilswrapper .fw-200.fw-200{font-weight:200}.utilswrapper .fw-300.fw-300{font-weight:300}.utilswrapper .fw-400.fw-400{font-weight:400}.utilswrapper .fw-500.fw-500{font-weight:500}.utilswrapper .fw-600.fw-600{font-weight:600}.utilswrapper .fw-700.fw-700{font-weight:700}.utilswrapper .fw-800.fw-800{font-weight:800}.utilswrapper .fw-900.fw-900{font-weight:900}.utilswrapper .ta-left.ta-left{text-align:left}.utilswrapper .ta-center.ta-center{text-align:center}.utilswrapper .ta-right.ta-right{text-align:right}.utilswrapper .ta-justify.ta-justify{text-align:justify}.utilswrapper .p-0.p-0{padding:0}.utilswrapper .p-1.p-1{padding:4px}.utilswrapper .p-2.p-2{padding:8px}.utilswrapper .p-3.p-3{padding:12px}.utilswrapper .p-4.p-4{padding:16px}.utilswrapper .p-5.p-5{padding:20px}.utilswrapper .p-6.p-6{padding:24px}.utilswrapper .p-7.p-7{padding:28px}.utilswrapper .p-8.p-8{padding:32px}.utilswrapper .p-9.p-9{padding:36px}.utilswrapper .p-10.p-10{padding:40px}.utilswrapper .px-0.px-0{padding-left:0;padding-right:0}.utilswrapper .px-1.px-1{padding-left:4px;padding-right:4px}.utilswrapper .px-2.px-2{padding-left:8px;padding-right:8px}.utilswrapper .px-3.px-3{padding-left:12px;padding-right:12px}.utilswrapper .px-4.px-4{padding-left:16px;padding-right:16px}.utilswrapper .px-5.px-5{padding-left:20px;padding-right:20px}.utilswrapper .px-6.px-6{padding-left:24px;padding-right:24px}.utilswrapper .px-7.px-7{padding-left:28px;padding-right:28px}.utilswrapper .px-8.px-8{padding-left:32px;padding-right:32px}.utilswrapper .px-9.px-9{padding-left:36px;padding-right:36px}.utilswrapper .px-10.px-10{padding-left:40px;padding-right:40px}.utilswrapper .py-0.py-0{padding-bottom:0;padding-top:0}.utilswrapper .py-1.py-1{padding-bottom:4px;padding-top:4px}.utilswrapper .py-2.py-2{padding-bottom:8px;padding-top:8px}.utilswrapper .py-3.py-3{padding-bottom:12px;padding-top:12px}.utilswrapper .py-4.py-4{padding-bottom:16px;padding-top:16px}.utilswrapper .py-5.py-5{padding-bottom:20px;padding-top:20px}.utilswrapper .py-6.py-6{padding-bottom:24px;padding-top:24px}.utilswrapper .py-7.py-7{padding-bottom:28px;padding-top:28px}.utilswrapper .py-8.py-8{padding-bottom:32px;padding-top:32px}.utilswrapper .py-9.py-9{padding-bottom:36px;padding-top:36px}.utilswrapper .py-10.py-10{padding-bottom:40px;padding-top:40px}.utilswrapper .py-11.py-11{padding-bottom:44px;padding-top:44px}.utilswrapper .pl-0.pl-0{padding-left:0}.utilswrapper .pl-1.pl-1{padding-left:4px}.utilswrapper .pl-2.pl-2{padding-left:8px}.utilswrapper .pl-3.pl-3{padding-left:12px}.utilswrapper .pl-4.pl-4{padding-left:16px}.utilswrapper .pl-5.pl-5{padding-left:20px}.utilswrapper .pl-6.pl-6{padding-left:24px}.utilswrapper .pl-7.pl-7{padding-left:28px}.utilswrapper .pl-8.pl-8{padding-left:32px}.utilswrapper .pl-9.pl-9{padding-left:36px}.utilswrapper .pl-10.pl-10{padding-left:40px}.utilswrapper .pr-0.pr-0{padding-right:0}.utilswrapper .pr-1.pr-1{padding-right:4px}.utilswrapper .pr-2.pr-2{padding-right:8px}.utilswrapper .pr-3.pr-3{padding-right:12px}.utilswrapper .pr-4.pr-4{padding-right:16px}.utilswrapper .pr-5.pr-5{padding-right:20px}.utilswrapper .pr-6.pr-6{padding-right:24px}.utilswrapper .pr-7.pr-7{padding-right:28px}.utilswrapper .pr-8.pr-8{padding-right:32px}.utilswrapper .pr-9.pr-9{padding-right:36px}.utilswrapper .pr-10.pr-10{padding-right:40px}.utilswrapper .pt-0.pt-0{padding-top:0}.utilswrapper .pt-1.pt-1{padding-top:4px}.utilswrapper .pt-2.pt-2{padding-top:8px}.utilswrapper .pt-3.pt-3{padding-top:12px}.utilswrapper .pt-4.pt-4{padding-top:16px}.utilswrapper .pt-5.pt-5{padding-top:20px}.utilswrapper .pt-6.pt-6{padding-top:24px}.utilswrapper .pt-7.pt-7{padding-top:28px}.utilswrapper .pt-8.pt-8{padding-top:32px}.utilswrapper .pt-9.pt-9{padding-top:36px}.utilswrapper .pt-10.pt-10{padding-top:40px}.utilswrapper .pt-11.pt-11{padding-top:44px}.utilswrapper .pt-12.pt-12{padding-top:48px}.utilswrapper .pb-0.pb-0{padding-bottom:0}.utilswrapper .pb-1.pb-1{padding-bottom:4px}.utilswrapper .pb-2.pb-2{padding-bottom:8px}.utilswrapper .pb-3.pb-3{padding-bottom:12px}.utilswrapper .pb-4.pb-4{padding-bottom:16px}.utilswrapper .pb-5.pb-5{padding-bottom:20px}.utilswrapper .pb-6.pb-6{padding-bottom:24px}.utilswrapper .pb-7.pb-7{padding-bottom:28px}.utilswrapper .pb-8.pb-8{padding-bottom:32px}.utilswrapper .pb-9.pb-9{padding-bottom:36px}.utilswrapper .pb-10.pb-10{padding-bottom:40px}.utilswrapper .m-0.m-0{margin:0}.utilswrapper .m-1.m-1{margin:4px}.utilswrapper .m-2.m-2{margin:8px}.utilswrapper .m-3.m-3{margin:12px}.utilswrapper .m-4.m-4{margin:16px}.utilswrapper .m-5.m-5{margin:20px}.utilswrapper .m-6.m-6{margin:24px}.utilswrapper .m-7.m-7{margin:28px}.utilswrapper .m-8.m-8{margin:32px}.utilswrapper .m-9.m-9{margin:36px}.utilswrapper .m-10.m-10{margin:40px}.utilswrapper .m-11.m-11{margin:44px}.utilswrapper .m-12.m-12{margin:48px}.utilswrapper .m-13.m-13{margin:52px}.utilswrapper .mx-0.mx-0{margin-left:0;margin-right:0}.utilswrapper .mx-1.mx-1{margin-left:4px;margin-right:4px}.utilswrapper .mx-2.mx-2{margin-left:8px;margin-right:8px}.utilswrapper .mx-3.mx-3{margin-left:12px;margin-right:12px}.utilswrapper .mx-4.mx-4{margin-left:16px;margin-right:16px}.utilswrapper .mx-5.mx-5{margin-left:20px;margin-right:20px}.utilswrapper .mx-6.mx-6{margin-left:24px;margin-right:24px}.utilswrapper .mx-7.mx-7{margin-left:28px;margin-right:28px}.utilswrapper .mx-8.mx-8{margin-left:32px;margin-right:32px}.utilswrapper .mx-9.mx-9{margin-left:36px;margin-right:36px}.utilswrapper .mx-10.mx-10{margin-left:40px;margin-right:40px}.utilswrapper .mx-11.mx-11{margin-left:44px;margin-right:44px}.utilswrapper .mx-12.mx-12{margin-left:48px;margin-right:48px}.utilswrapper .mx-13.mx-13{margin-left:52px;margin-right:52px}.utilswrapper .my-0.my-0{margin-bottom:0;margin-top:0}.utilswrapper .my-1.my-1{margin-bottom:4px;margin-top:4px}.utilswrapper .my-2.my-2{margin-bottom:8px;margin-top:8px}.utilswrapper .my-3.my-3{margin-bottom:12px;margin-top:12px}.utilswrapper .my-4.my-4{margin-bottom:16px;margin-top:16px}.utilswrapper .my-5.my-5{margin-bottom:20px;margin-top:20px}.utilswrapper .my-6.my-6{margin-bottom:24px;margin-top:24px}.utilswrapper .my-7.my-7{margin-bottom:28px;margin-top:28px}.utilswrapper .my-8.my-8{margin-bottom:32px;margin-top:32px}.utilswrapper .my-9.my-9{margin-bottom:36px;margin-top:36px}.utilswrapper .my-10.my-10{margin-bottom:40px;margin-top:40px}.utilswrapper .my-11.my-11{margin-bottom:44px;margin-top:44px}.utilswrapper .my-12.my-12{margin-bottom:48px;margin-top:48px}.utilswrapper .my-13.my-13{margin-bottom:52px;margin-top:52px}.utilswrapper .ml-0.ml-0{margin-left:0}.utilswrapper .ml-1.ml-1{margin-left:4px}.utilswrapper .ml-2.ml-2{margin-left:8px}.utilswrapper .ml-3.ml-3{margin-left:12px}.utilswrapper .ml-4.ml-4{margin-left:16px}.utilswrapper .ml-5.ml-5{margin-left:20px}.utilswrapper .ml-6.ml-6{margin-left:24px}.utilswrapper .ml-7.ml-7{margin-left:28px}.utilswrapper .ml-8.ml-8{margin-left:32px}.utilswrapper .ml-9.ml-9{margin-left:36px}.utilswrapper .ml-10.ml-10{margin-left:40px}.utilswrapper .mr-0.mr-0{margin-right:0}.utilswrapper .mr-1.mr-1{margin-right:4px}.utilswrapper .mr-2.mr-2{margin-right:8px}.utilswrapper .mr-3.mr-3{margin-right:12px}.utilswrapper .mr-4.mr-4{margin-right:16px}.utilswrapper .mr-5.mr-5{margin-right:20px}.utilswrapper .mr-6.mr-6{margin-right:24px}.utilswrapper .mr-7.mr-7{margin-right:28px}.utilswrapper .mr-8.mr-8{margin-right:32px}.utilswrapper .mr-9.mr-9{margin-right:36px}.utilswrapper .mr-10.mr-10{margin-right:40px}.utilswrapper .mr-11.mr-11{margin-right:44px}.utilswrapper .mr-12.mr-12{margin-right:48px}.utilswrapper .mr-13.mr-13{margin-right:52px}.utilswrapper .mt-0.mt-0{margin-top:0}.utilswrapper .mt-1.mt-1{margin-top:4px}.utilswrapper .mt-2.mt-2{margin-top:8px}.utilswrapper .mt-3.mt-3{margin-top:12px}.utilswrapper .mt-4.mt-4{margin-top:16px}.utilswrapper .mt-5.mt-5{margin-top:20px}.utilswrapper .mt-6.mt-6{margin-top:24px}.utilswrapper .mt-7.mt-7{margin-top:28px}.utilswrapper .mt-8.mt-8{margin-top:32px}.utilswrapper .mt-9.mt-9{margin-top:36px}.utilswrapper .mt-10.mt-10{margin-top:40px}.utilswrapper .mt-11.mt-11{margin-top:44px}.utilswrapper .mt-12.mt-12{margin-top:48px}.utilswrapper .mt-13.mt-13{margin-top:52px}.utilswrapper .mb-0.mb-0{margin-bottom:0}.utilswrapper .mb-1.mb-1{margin-bottom:4px}.utilswrapper .mb-2.mb-2{margin-bottom:8px}.utilswrapper .mb-3.mb-3{margin-bottom:12px}.utilswrapper .mb-4.mb-4{margin-bottom:16px}.utilswrapper .mb-5.mb-5{margin-bottom:20px}.utilswrapper .mb-6.mb-6{margin-bottom:24px}.utilswrapper .mb-7.mb-7{margin-bottom:28px}.utilswrapper .mb-8.mb-8{margin-bottom:32px}.utilswrapper .mb-9.mb-9{margin-bottom:36px}.utilswrapper .mb-10.mb-10{margin-bottom:40px}.utilswrapper .mb-11.mb-11{margin-bottom:44px}.utilswrapper .mb-12.mb-12{margin-bottom:48px}.utilswrapper .mb-14.mb-14{margin-bottom:52px}.utilswrapper .m-auto.m-auto{margin:auto}.utilswrapper .ml-auto.ml-auto{margin-left:auto}.utilswrapper .mr-auto.mr-auto{margin-right:auto}.utilswrapper .mt-auto.mt-auto{margin-top:auto}.utilswrapper .mb-auto.mb-auto{margin-bottom:auto}.utilswrapper .flex.flex{display:flex}.utilswrapper .flex-inline.flex-inline{display:inline-flex}.utilswrapper .flex-row.flex-row{flex-direction:row}.utilswrapper .flex-column.flex-column{flex-direction:column}.utilswrapper .flex-row-reverse.flex-row-reverse{flex-direction:row-reverse}.utilswrapper .flex-column-reverse.flex-column-reverse{flex-direction:column-reverse}.utilswrapper .flex-nowrap.flex-nowrap{flex-wrap:nowrap}.utilswrapper .flex-wrap.flex-wrap{flex-wrap:wrap}.utilswrapper .flex-wrap-reverse.flex-wrap-reverse{flex-wrap:wrap-reverse}.utilswrapper .flex-auto.flex-auto{flex:1 1 auto}.utilswrapper .flex-1.flex-1{flex:1 1 0%}.utilswrapper .flex-none.flex-none{flex:none}.utilswrapper .flex-no-shrink.flex-no-shrink{flex-shrink:0}.utilswrapper .flex-first.flex-first{order:-1}.utilswrapper .flex-last.flex-last{order:99}.utilswrapper .flex-stretch.flex-stretch{align-items:stretch}.utilswrapper .flex-top.flex-top{align-items:flex-start}.utilswrapper .flex-middle.flex-middle{align-items:center}.utilswrapper .flex-bottom.flex-bottom{align-items:flex-end}.utilswrapper .flex-wrap-stretch.flex-wrap-stretch{align-content:stretch}.utilswrapper .flex-wrap-top.flex-wrap-top{align-content:flex-start}.utilswrapper .flex-wrap-middle.flex-wrap-middle{align-content:flex-center}.utilswrapper .flex-wrap-bottom.flex-wrap-bottom{align-content:flex-end}.utilswrapper .flex-wrap-between.flex-wrap-between{align-content:space-between}.utilswrapper .flex-wrap-around.flex-wrap-around{align-content:space-around}.utilswrapper .flex-left.flex-left,.utilswrapper .flex-start.flex-start{justify-content:flex-start}.utilswrapper .flex-end.flex-end,.utilswrapper .flex-right.flex-right{justify-content:flex-end}.utilswrapper .flex-center.flex-center{justify-content:center}.utilswrapper .flex-between.flex-between{justify-content:space-between}.utilswrapper .flex-around.flex-around{justify-content:space-around}.utilswrapper .flex-basis-auto.flex-basis-auto{flex-basis:auto}.utilswrapper .flex-rg-1.flex-rg-1{row-gap:4px}.utilswrapper .flex-cg-1.flex-cg-1{column-gap:4px}.utilswrapper .flex-gap-1.flex-gap-1{gap:4px}.utilswrapper .flex-rg-3.flex-rg-3{row-gap:12px}.utilswrapper .flex-cg-3.flex-cg-3{column-gap:12px}.utilswrapper .flex-rg-4.flex-rg-4{row-gap:16px}.utilswrapper .flex-cg-4.flex-cg-4{column-gap:16px}.utilswrapper .flex-gap-4.flex-gap-4{gap:16px}.utilswrapper .flex-rg-6.flex-rg-6{row-gap:24px}.utilswrapper .flex-cg-6.flex-cg-6{column-gap:24px}.utilswrapper .flex-gap-6.flex-gap-6{gap:24px}.utilswrapper .flex-gap-3.flex-gap-3{gap:12px}.utilswrapper .w-fit-content.w-fit-content{width:-moz-fit-content;width:fit-content}.utilswrapper .w-0p.w-0p{width:0}.utilswrapper .w-10p.w-10p{width:10%}.utilswrapper .w-20p.w-20p{width:20%}.utilswrapper .w-30p.w-30p{width:30%}.utilswrapper .w-40p.w-40p{width:40%}.utilswrapper .w-50p.w-50p{width:50%}.utilswrapper .w-60p.w-60p{width:60%}.utilswrapper .w-70p.w-70p{width:70%}.utilswrapper .w-80p.w-80p{width:80%}.utilswrapper .w-90p.w-90p{width:90%}.utilswrapper .w-100p.w-100p{width:100%}.utilswrapper .w-0.w-0{width:0}.utilswrapper .w-1.w-1{width:4px}.utilswrapper .w-2.w-2{width:0}.utilswrapper .w-3.w-3{width:12px}.utilswrapper .w-4.w-4{width:16px}.utilswrapper .w-5.w-5{width:20px}.utilswrapper .w-6.w-6{width:24px}.utilswrapper .w-7.w-7{width:28px}.utilswrapper .w-8.w-8{width:32px}.utilswrapper .w-9.w-9{width:36px}.utilswrapper .w-10.w-10{width:40px}.utilswrapper .w-11.w-11{width:44px}.utilswrapper .w-12.w-12{width:48px}.utilswrapper .w-13.w-13{width:52px}.utilswrapper .w-14.w-14{width:56px}.utilswrapper .w-15.w-15{width:60px}.utilswrapper .w-16.w-16{width:64px}.utilswrapper .w-17.w-17{width:68px}.utilswrapper .w-18.w-18{width:72px}.utilswrapper .w-19.w-19{width:76px}.utilswrapper .w-20.w-20{width:80px}.utilswrapper .h-0p.h-0p{height:0}.utilswrapper .h-10p.h-10p{height:10%}.utilswrapper .h-20p.h-20p{height:20%}.utilswrapper .h-30p.h-30p{height:30%}.utilswrapper .h-40p.h-40p{height:40%}.utilswrapper .h-50p.h-50p{height:50%}.utilswrapper .h-60p.h-60p{height:60%}.utilswrapper .h-70p.h-70p{height:70%}.utilswrapper .h-80p.h-80p{height:80%}.utilswrapper .h-90p.h-90p{height:90%}.utilswrapper .h-100p.h-100p{height:100%}.utilswrapper .h-0.h-0{height:0}.utilswrapper .h-1.h-1{height:4px}.utilswrapper .h-2.h-2{height:8px}.utilswrapper .h-3.h-3{height:12px}.utilswrapper .h-4.h-4{height:16px}.utilswrapper .h-5.h-5{height:20px}.utilswrapper .h-6.h-6{height:24px}.utilswrapper .h-7.h-7{height:28px}.utilswrapper .h-8.h-8{height:32px}.utilswrapper .h-9.h-9{height:36px}.utilswrapper .h-10.h-10{height:40px}.utilswrapper .h-11.h-11{height:44px}.utilswrapper .h-12.h-12{height:48px}.utilswrapper .h-13.h-13{height:52px}.utilswrapper .h-14.h-14{height:56px}.utilswrapper .h-15.h-15{height:60px}.utilswrapper .h-25.h-25{height:100px}.utilswrapper .h-100vh.h-100vh{height:100vh}.utilswrapper .min-h-100vh.min-h-100vh{min-height:100vh}.utilswrapper .w-100vw.w-100vw{width:100vw}.utilswrapper .min-w-100vw.min-w-100vw{min-width:100vw}.utilswrapper .d-block.d-block{display:block}.utilswrapper .d-none.d-none{display:none}.utilswrapper .d-inline-flex.d-inline-flex{display:inline-flex}.utilswrapper .bs-content.bs-content{box-sizing:content-box}.utilswrapper .bs-border.bs-border{box-sizing:border-box}.utilswrapper .bs-unset.bs-unset{box-sizing:unset}.utilswrapper .c-auto.c-auto{cursor:auto}.utilswrapper .c-default.c-default{cursor:default}.utilswrapper .c-pointer.c-pointer{cursor:pointer}.utilswrapper .c-wait.c-wait{cursor:wait}.utilswrapper .c-move.c-move{cursor:move}.utilswrapper .c-not-allowed.c-not-allowed{cursor:not-allowed}.utilswrapper .z-0.z-0{z-index:0}.utilswrapper .z-10.z-10{z-index:10}.utilswrapper .z-20.z-20{z-index:20}.utilswrapper .z-30.z-30{z-index:30}.utilswrapper .z-40.z-40{z-index:40}.utilswrapper .z-50.z-50{z-index:50}.utilswrapper .z-60.z-60{z-index:60}.utilswrapper .z-70.z-70{z-index:70}.utilswrapper .z-80.z-80{z-index:80}.utilswrapper .z-90.z-90{z-index:90}.utilswrapper .z-100.z-100{z-index:100}.utilswrapper .o-0.o-0{opacity:0}.utilswrapper .o-10.o-10{opacity:10%}.utilswrapper .o-20.o-20{opacity:20%}.utilswrapper .o-30.o-30{opacity:30%}.utilswrapper .o-40.o-40{opacity:40%}.utilswrapper .o-50.o-50{opacity:50%}.utilswrapper .o-60.o-60{opacity:60%}.utilswrapper .o-70.o-70{opacity:70%}.utilswrapper .o-80.o-80{opacity:80%}.utilswrapper .o-90.o-90{opacity:90%}.utilswrapper .o-100.o-100{opacity:100%}.utilswrapper .p-absolute.p-absolute{position:absolute}.utilswrapper .p-relative.p-relative{position:relative}.utilswrapper .p-fixed.p-fixed{position:fixed}.utilswrapper .p-sticky.p-sticky{position:sticky}.utilswrapper .t-0.t-0{top:0}.utilswrapper .b-0.b-0{bottom:0}.utilswrapper .r-0.r-0{right:0}.utilswrapper .l-0.l-0{left:0}.utilswrapper .ws-normal.ws-normal{white-space:normal}.utilswrapper .ws-nowrap.ws-nowrap{white-space:nowrap}.utilswrapper .oy-scroll.oy-scroll{overflow-y:scroll}.utilswrapper .ls-reset.ls-reset{list-style:none}.utilswrapper .bs-shadow-white.bs-shadow-white{box-shadow:0 4px 16px rgba(26,26,26,.08)}.utilswrapper .ox-scroll.ox-scroll{overflow-x:scroll}.utilswrapper .o-hidden.o-hidden{overflow:hidden}.utilswrapper .bg-transparent.bg-transparent{background:transparent}.utilswrapper .tt-ellipsis.tt-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.utilswrapper .tr-180.tr-180{transform:rotate(180deg)}.utilswrapper .valign-middle.valign-middle{vertical-align:middle}*{box-sizing:border-box;margin:0;padding:0}.utilswrapper input::-webkit-inner-spin-button,.utilswrapper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.utilswrapper input[type=number]{-moz-appearance:textfield}.utilswrapper input[type=file]{display:none}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare const styles: import("@cleartrip/ct-design-types").NamedStyles<{
|
|
2
|
+
mobileinput_seperatortext: {
|
|
3
|
+
position: "absolute";
|
|
4
|
+
width: number;
|
|
5
|
+
background: string;
|
|
6
|
+
top: number;
|
|
7
|
+
textAlign: "center";
|
|
8
|
+
left: number;
|
|
9
|
+
right: number;
|
|
10
|
+
marginTop: number;
|
|
11
|
+
marginRight: "auto";
|
|
12
|
+
marginBottom: number;
|
|
13
|
+
marginLeft: "auto";
|
|
14
|
+
};
|
|
15
|
+
footer_text: {
|
|
16
|
+
color: string;
|
|
17
|
+
fontSize: number;
|
|
18
|
+
};
|
|
19
|
+
otp_container: {
|
|
20
|
+
marginTop: number;
|
|
21
|
+
display: "flex";
|
|
22
|
+
flexDirection: "column";
|
|
23
|
+
};
|
|
24
|
+
otp_box_wrapper: {
|
|
25
|
+
marginRight: number;
|
|
26
|
+
};
|
|
27
|
+
login_otp_input: {
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
fontSize: number;
|
|
31
|
+
fontStyle: "normal";
|
|
32
|
+
fontWeight: 600;
|
|
33
|
+
lineHeight: number;
|
|
34
|
+
textAlign: "center";
|
|
35
|
+
padding: "auto";
|
|
36
|
+
};
|
|
37
|
+
login_otp_error: {
|
|
38
|
+
paddingTop: number;
|
|
39
|
+
};
|
|
40
|
+
nonUtilsSelector_toast: {
|
|
41
|
+
bottom: number;
|
|
42
|
+
marginBottom: number;
|
|
43
|
+
zIndex: number;
|
|
44
|
+
paddingTop: number;
|
|
45
|
+
paddingRight: number;
|
|
46
|
+
paddingBottom: number;
|
|
47
|
+
paddingLeft: number;
|
|
48
|
+
marginTop: number;
|
|
49
|
+
marginRight: "auto";
|
|
50
|
+
marginLeft: "auto";
|
|
51
|
+
width: "calc(100% - 48px)";
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
export default styles;
|
|
55
|
+
//# sourceMappingURL=index.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.d.ts","sourceRoot":"","sources":["../packages/components/LoginForm/src/index.module.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DT,CAAC;AAEJ,eAAe,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-platform-login-form",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1-beta.0",
|
|
4
4
|
"description": "Login Form",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-platform-login-form.cjs.js",
|
|
@@ -12,21 +12,24 @@
|
|
|
12
12
|
"author": "Cleartrip",
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cleartrip/ct-
|
|
16
|
-
"@cleartrip/ct-
|
|
17
|
-
"@cleartrip/ct-
|
|
18
|
-
"@cleartrip/ct-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"@cleartrip/ct-design-
|
|
22
|
-
"@cleartrip/ct-design-
|
|
23
|
-
"@cleartrip/ct-design-
|
|
24
|
-
"@cleartrip/ct-design-
|
|
25
|
-
"@cleartrip/ct-design-
|
|
26
|
-
"@cleartrip/ct-
|
|
27
|
-
"@cleartrip/ct-
|
|
28
|
-
"@cleartrip/ct-
|
|
29
|
-
"@cleartrip/ct-
|
|
15
|
+
"@cleartrip/ct-platform-utils": "6.0.1-beta.0",
|
|
16
|
+
"@cleartrip/ct-platform-constants": "6.0.1-beta.0",
|
|
17
|
+
"@cleartrip/ct-platform-assets": "6.0.1-beta.0",
|
|
18
|
+
"@cleartrip/ct-platform-types": "6.0.1-beta.0"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@cleartrip/ct-design-alert-callout": "5.27.0-SNAPSHOT-native-main.0",
|
|
22
|
+
"@cleartrip/ct-design-button": "5.27.0-SNAPSHOT-native-main.0",
|
|
23
|
+
"@cleartrip/ct-design-divider": "5.27.0-SNAPSHOT-native-main.0",
|
|
24
|
+
"@cleartrip/ct-design-field": "5.27.0-SNAPSHOT-native-main.0",
|
|
25
|
+
"@cleartrip/ct-design-icons": "61.0.0-SNAPSHOT-native-main.0",
|
|
26
|
+
"@cleartrip/ct-design-spacer": "5.27.0-SNAPSHOT-native-main.0",
|
|
27
|
+
"@cleartrip/ct-design-spinner": "5.27.0-SNAPSHOT-native-main.0",
|
|
28
|
+
"@cleartrip/ct-design-style-manager": "5.26.1-SNAPSHOT-native-main.0",
|
|
29
|
+
"@cleartrip/ct-design-theme": "5.27.0-SNAPSHOT-native-main.0",
|
|
30
|
+
"@cleartrip/ct-design-toast": "5.27.0-SNAPSHOT-native-main.0",
|
|
31
|
+
"@cleartrip/ct-design-typography": "5.27.0-SNAPSHOT-native-main.0",
|
|
32
|
+
"@cleartrip/ct-design-types": "5.27.0-SNAPSHOT-native-main.0"
|
|
30
33
|
},
|
|
31
34
|
"scripts": {
|
|
32
35
|
"watch-package": "rollup -c -w",
|