@verified-network/verified-custody 0.5.4 → 0.5.5

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/index.js CHANGED
@@ -1,3 +1,3 @@
1
- var jn=Object.create;var Et=Object.defineProperty;var qn=Object.getOwnPropertyDescriptor;var Zn=Object.getOwnPropertyNames;var zn=Object.getPrototypeOf,ei=Object.prototype.hasOwnProperty;var Ut=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ti=(e,t)=>{for(var a in t)Et(e,a,{get:t[a],enumerable:!0})},kn=(e,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Zn(t))!ei.call(e,s)&&s!==a&&Et(e,s,{get:()=>t[s],enumerable:!(i=qn(t,s))||i.enumerable});return e};var pe=(e,t,a)=>(a=e!=null?jn(zn(e)):{},kn(t||!e||!e.__esModule?Et(a,"default",{value:e,enumerable:!0}):a,e)),ni=e=>kn(Et({},"__esModule",{value:!0}),e);var Xn=Ut((Oi,gi)=>{gi.exports="./Roboto-Regular-UUBD26YO.ttf"});var En=Ut((Ji,mi)=>{mi.exports="./Manrope-Regular-33576HBZ.ttf"});var Tn=Ut((Ri,pi)=>{pi.exports="./Hind-Regular-R5KOYWFC.ttf"});var _i={};ti(_i,{AddCoSignersPage:()=>mt,ContactPage:()=>It,CreatePinPage:()=>Kt,EnterPinPage:()=>pt,FTUPage:()=>Rt,OTPPage:()=>Ht,VaultContextProvider:()=>Ft,VerifiedCustody:()=>Wn,decryptString:()=>dt,decryptWithPasskey:()=>lt,encryptString:()=>nt,encryptWithPasskey:()=>it,getPlatformComponents:()=>Mt,hashTheBuffer:()=>Ve,hashTheString:()=>te,initPlatform:()=>Gt,loadAllGoogleFonts:()=>xe,loadAllGoogleFontsRN:()=>we,publicKeyCredentialRequestOptions:()=>st});module.exports=ni(_i);function ii(e){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}ii(`textarea:focus,input:focus{outline:none;border:none}input{appearance:textfield;-moz-appearance:textfield;outline:none;border:none;margin:0}input::placeholder{margin:0}input[type=password]::-ms-reveal{display:none}input[type=password]::-moz-password-toggle{display:none}input[type=password]::-webkit-contacts-auto-fill-button{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}::-webkit-scrollbar{width:5px;height:4px}::-webkit-scrollbar-thumb{height:4px;width:5px;background-color:var(--Neutral-200, #d8d9df);border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:var(--Neutral-200, #d8d9df)}::-webkit-scrollbar-track{background:transparent;height:4px;width:5px;cursor:pointer}p{margin:0}.verified-custd-mdl-container{width:100%;height:100%;display:flex;justify-content:center;padding-bottom:20px;overflow-y:auto;overflow-x:hidden;position:relative}.verified-custd-mdl-startup-outter{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow-y:auto;overflow-x:hidden;background:linear-gradient(180deg,#643fff,#381ab7)}.verified-custd-mdl-startup-outter-norm{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow-y:auto;overflow-x:hidden;background:var(--common-white_states-main, #fff)}.verified-custd-mdl-startup{width:650px;height:fit-content;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow-x:hidden;overflow-y:auto;padding-bottom:20px;border:1px solid #0F122E;border-radius:10px;position:relative}.verified-custd-mdl-loading-screen{width:100vh;border-radius:10px;width:100%;flex-shrink:0;background:#0000004d;z-index:100;display:flex;justify-content:center;align-items:center;overflow:auto;position:absolute;inset:0}.verified-custd-mdl-startup-icon-container{width:76.119%;display:flex;justify-content:center;align-items:center;position:relative;flex-direction:column;height:298px}.verified-custd-mdl-startup-icon-shadow{position:absolute;bottom:10px;right:70px;width:48.5%}.verified-custd-mdl-startup-text-container{display:inline-flex;flex-direction:column;align-items:flex-start;gap:12px;margin-right:20px;margin-left:20px}.verified-custd-mdl-startup-text-header{color:var(--Neutral-White-100, var(--common-white_states-main, #fff));font-family:Manrope;font-size:2.1rem;font-style:normal;font-weight:700;line-height:2.8125rem;margin:0}.verified-custd-mdl-startup-text-footer{color:var(--Neutral-White-100, var(--common-white_states-main, #fff));font-family:Roboto;font-size:.9rem;font-style:normal;font-weight:400;line-height:1.5rem;opacity:.8}.verified-custd-mdl-ftu-startup-button{display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:var(--space-8px, 8px);background:var(--primary-bitter-lemon-500, #cfe600);cursor:pointer;user-select:none;color:var(--Neutral-950, #0C0C0E);text-align:center;margin:20px;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;border:none}.verified-custd-mdl-startup-language{background:var(--common-white_states-main, #fff);height:100%;width:100%}.verified-custd-mdl-startup-language-content-container{display:inline-flex;flex-direction:column;align-items:flex-start;gap:32px;width:100%}.verified-custd-mdl-st-language-content{display:flex;flex-direction:column;align-items:flex-start;gap:20px;align-self:stretch;width:100%}.verified-custd-mdl-st-language-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:1.5rem;font-style:normal;font-weight:700;line-height:100%;align-self:stretch}.verified-custd-mdl-ms-search-content:hover{border-radius:var(--space-8px, 8px);border:1px solid var(--secondary-electric-violet-300, #9da3ff);background:var(--secondary-electric-violet-50, #ecefff)}.verified-custd-mdl-st-contact-input{display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:90%}.verified-custd-mdl-st-contact-first-section{display:flex;width:150px;height:44px;padding-left:6px;align-items:center;border-radius:var(--space-8px, 8px);background:var(--Neutral-50, #f7f7f8);cursor:pointer;user-select:none}.verified-custd-mdl-st-contact-selection-icon{display:flex;justify-content:center;align-items:center;flex-shrink:0;border-radius:24px;cursor:pointer;user-select:none;overflow:hidden;width:28px;height:28px}.verified-custd-mdl-st-contact-selection-text{color:var(--Neutral-950, #0c0c0e);text-align:right;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:500;line-height:140%;width:40px;flex-shrink:0;cursor:pointer;user-select:none}.verified-custd-mdl-custom-blank-page{height:0}.verified-custd-mdl-startup-otp-text{display:flex;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch}.verified-custd-mdl-startup-otp-header-text{align-self:stretch;color:var(--Neutral-600, #5b5d6e);font-family:Roboto;font-size:.7rem;font-style:normal;font-weight:400;line-height:150%;max-width:100%;word-wrap:break-word}.verified-custd-mdl-otp-input-group{display:flex;align-items:flex-start;gap:var(--space-8px, 8px);width:100%}.verified-custd-mdl-otp-input{display:flex;padding:20px 12px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);flex:1 0 0;align-self:stretch;border-radius:var(--space-8px, 8px);background:var(--Neutral-50, #f7f7f8);width:25%;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-input-red{border-radius:8px;border:1px solid var(--Error-600, #E23636);background:var(--Neutral-50, #F7F7F8);display:flex;padding:20px 12px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);flex:1 0 0;align-self:stretch;width:25%;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-incorrect-text{color:var(--Error-600, #E23636);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:140%;max-width:200px;word-wrap:break-word}.verified-custd-mdl-otp-timer{display:flex;justify-content:space-between;align-items:center;align-self:stretch}.verified-custd-mdl-otp-timer-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-timer-text-red{color:var(--Error-600, #e23636);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-resend-text{color:var(--Neutral-300, #b6b7c3);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-resend-text-active{color:var(--secondary-electric-violet-600, #603ff4);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%;cursor:pointer;user-select:none}.verified-custd-mdl-st-otp-icon{cursor:pointer;user-select:none}.verified-custd-mdl-startup-button{display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:var(--space-8px, 8px);background:var(--primary-bitter-lemon-500, #cfe600);cursor:pointer;user-select:none;color:var(--Neutral-950, #0C0C0E);text-align:center;opacity:.5;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;border:none;width:90%;max-width:500px}.verified-custd-mdl-startup-button-active{display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:var(--space-8px, 8px);background:var(--primary-bitter-lemon-500, #cfe600);cursor:pointer;user-select:none;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;border:none;width:90%;max-width:500px}.verified-custd-mdl-otp-input[type=password]{font-weight:900}.verified-custd-mdl-startup-button-click{border-radius:var(--space-8px, 8px);border:1px solid var(--Neutral-950, #0c0c0e);cursor:pointer;user-select:none;display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;width:90%;background:transparent;max-width:500px}.verified-custd-mdl-pin-input-container-text{color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-st-button-text{color:var(--Neutral-950, #0c0c0e);text-align:center;font-family:Roboto;font-size:1rem;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-startup-slider{display:flex;width:335px;align-items:center;gap:12px;border-radius:4px;width:100%}.verified-custd-mdl-startup-slider-line{height:4px;flex-shrink:0;border-radius:var(--space-8px, 8px);background:var(--Neutral-100, #eeeef0)}.verified-custd-mdl-startup-slider-line-active{height:4px;flex:1 0 0;border-radius:var(--space-8px, 8px);background:var(--secondary-electric-violet-600, #603ff4)}.verified-custd-mdl-startup-contact{display:inline-flex;flex-direction:column;align-items:flex-start;gap:20px;width:100%}.verified-custd-mdl-startup-contact-content{display:flex;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch}.verified-custd-mdl-startup-contact-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:1rem;font-style:normal;font-weight:700;line-height:100%;align-self:stretch;max-width:100%;word-wrap:break-word}.verified-custd-mdl-st-contact-content-container{display:flex;align-items:flex-start;gap:var(--space-8px, 8px);width:100%}.verified-custd-mdl-st-contact-dropdown{cursor:pointer;user-select:none}.verified-custd-mdl-st-contact-second-section{display:flex;width:100%;height:44px;padding-left:6px;align-items:center;border-radius:var(--space-8px, 8px);background:var(--Neutral-50, #f7f7f8);color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-st-contact-second-section::placeholder{color:var(--Neutral-300, #b6b7c3);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-startup-contact-footer{display:inline-flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin-top:16px}.verified-custd-mdl-st-contact-footer-first-section{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%}.verified-custd-mdl-st-contact-footer-second-section{display:flex;align-items:center;justify-content:center;gap:4px;width:100%}.verified-custd-mdl-st-contact-input-error{display:flex;align-items:center;gap:4px}.verified-custd-mdl-input-error-text{color:var(--Error-600, #e23636);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%;margin:0}.verified-custd-mdl-mobille-startup-search-box-container{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%}.verified-custd-mdl-mobile-startup-search-box{display:flex;height:40px;align-items:center;gap:6px;border-radius:6px;border:1px solid var(--Neutral-200, #d8d9df);background:var(--Neutral-50, #f7f7f8);width:100%;overflow:hidden}.verified-custd-mdl-ms-search-box-content{height:100%;width:100%;background:transparent;color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-ms-search-box-content::placeholder{color:var(--Neutral-400, #8f91a1);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-mobile-startup-search-content{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:16px;border-radius:var(--space-8px, 8px);border:1px solid var(--Neutral-50, #f7f7f8);background:var(--common-white_states-main, #fff)}.verified-custd-mdl-ms-search-content-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;overflow-x:hidden;overflow-y:auto}.verified-custd-mdl-ms-search-content{display:flex;padding:var(--space-8px, 8px);align-items:center;gap:19px;align-self:stretch;cursor:pointer;user-select:none;height:34px;margin-bottom:5px;border:1px solid transparent}.verified-custd-mdl-ms-search-content-active{display:flex;padding:var(--space-8px, 8px);justify-content:space-between;align-items:center;align-self:stretch;border-radius:6px;background:var(--Success-50, #f1f8ed);cursor:pointer;user-select:none}.verified-custd-mdl-ms-search-content-text-container{display:flex;align-items:center;gap:19px}.verified-custd-mdl-ms-search-content-icon{display:flex;width:28px;height:28px;justify-content:center;align-items:center;border-radius:24px;border:1px solid rgba(0,0,0,.05);background:var(--common-white_states-main, #fff);box-shadow:0 1px 4px #eee}.verified-custd-mdl-ms-search-content-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:.775rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-terms-and-condition{color:var(--Neutral-400, #8f91a1);font-family:Roboto;font-size:.7rem;font-style:normal;font-weight:450;line-height:140%}.verified-custd-mdl-privacy{display:flex;align-items:center;gap:4px;margin-bottom:20px}.verified-custd-mdl-privacy-text{color:var(--Neutral-800, #40414c);font-family:Roboto;font-size:.5rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:.01563rem}.verified-custd-mdl-p-p-payment-portal-amount-info-separator{display:flex;align-items:center;gap:6px;align-self:stretch;justify-content:center}.verified-custd-mdl-p-p-payment-portal-line{width:50%;height:1px;background:#eeeef0}.verified-custd-mdl-p-payment-portal-separator-text{color:var(--Neutral-700, #4a4a5a);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%;opacity:.6}.verified-custd-mdl-startup-otp-footer{display:flex;align-items:center;gap:4px;width:100%;overflow:hidden}.verified-custd-mdl-startup-otp-footer-text{color:var(--Neutral-950, #0c0c0e);font-family:Manrope;font-size:.8rem;font-style:normal;font-weight:600;line-height:100%;max-width:100%;word-wrap:break-word}.verified-custd-mdl-otp-input-container{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%}.verified-custd-mdl-general-web-toast-error{display:flex;align-items:center;gap:12px}.verified-custd-mdl-general-web-toast-error-container{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:10px;padding:6px}.verified-custd-mdl-general-web-toast-error-title{margin:0;color:var(--Neutral-950, #0c0c0e);font-family:Manrope;font-size:1rem;font-style:normal;font-weight:600;line-height:100%;align-self:stretch}.verified-custd-mdl-general-web-toast-error-label{align-self:stretch;color:var(--Neutral-400, #8f91a1);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%;margin:0}.verified-custd-mdl-general-web-toast-success{display:flex;padding:12px;justify-content:space-between;align-items:center;align-self:stretch;border-radius:8px;background:var(--Success-50, #f1f8ed);width:100%;height:55px;max-height:55px}.verified-custd-mdl-general-web-toast-success-cont{display:flex;align-items:center;gap:12px;width:100%}.verified-custd-mdl-general-web-toast-success-container{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:10px;padding:6px}.verified-custd-mdl-general-web-toast-success-link{display:flex;align-items:center}.verified-custd-mdl-general-web-toast-success-link-text{color:var(--secondary-electric-violet-600, #603ff4);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:700;line-height:150%;text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.verified-custd-mdl-success-popup-content-container{display:flex;width:28.4375%;padding:24px;flex-direction:column;align-items:center;background:var(--common-white_states-main, #fff);box-shadow:0 4px 19px #0000001f;height:100%}.verified-custd-mdl-success-popup-content{display:flex;width:100%;flex-direction:column;align-items:center;gap:32px}.verified-custd-mdl-success-popup-content-text{display:flex;flex-direction:column;align-items:center;gap:12px;align-self:stretch}.verified-custd-mdl-success-popup-content-text-header{color:var(--Neutral-950, #0c0c0e);text-align:center;font-family:Manrope;font-size:1.5rem;font-style:normal;font-weight:800;line-height:140%}.verified-custd-mdl-success-popup-content-text-footer{color:var(--Neutral-600, #5b5d6e);text-align:center;font-family:Roboto;font-size:1rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-body-icon{width:90%;max-width:90%;max-height:250px;height:250px}.verified-custd-mdl-add-cosigner-body{display:inline-flex;padding:10px;flex-direction:column;align-items:flex-start;gap:12px;border-radius:8px;background:var(--secondary-electric-violet-50, #ECEFFF)}.verified-custd-mdl-add-cosigner-body-text-cont{display:flex;align-items:center;gap:10px;width:100%}.verified-custd-mdl-add-cosigner-body-text-icon{display:flex;padding:8px;align-items:center;gap:10px;border-radius:24px;background:var(--secondary-electric-violet-200, #C2C7FF);overflow:hidden;justify-content:center;width:20px;height:20px}.verified-custd-mdl-add-cosigner-body-text-label{width:76.1%;color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:10px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-body-text-label-bold{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-add-cosigner-buttons-cont{display:inline-flex;padding:10px;align-items:flex-start;gap:10px;background:transparent;display:flex;justify-content:space-between}.verified-custd-mdl-add-cosigner-button-neut{width:45%;display:flex;padding:14px;justify-content:center;align-items:center;gap:8px;background:transparent;border-radius:8px;border:1px solid var(--Neutral-950, #0C0C0E);color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:150%;cursor:pointer}.verified-custd-mdl-add-cosigner-button-action{width:45%;display:flex;padding:14px;justify-content:center;align-items:center;gap:8px;border-radius:8px;background:var(--primary-bitter-lemon-500, #CFE600);border:none;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:150%;cursor:pointer}.verified-custd-mdl-add-cosigner-more-body{display:inline-flex;padding:15px;flex-direction:column;align-items:flex-start;gap:12px;border-radius:8px;background:var(--secondary-electric-violet-50, #ECEFFF)}.verified-custd-mdl-add-cosigner-more-header-cont{display:flex;flex-direction:column;align-items:flex-start;gap:32px}.verified-custd-mdl-add-cosigner-more-title-cont{display:flex;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch}.verified-custd-mdl-add-cosigner-header-text{align-self:stretch;color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin:0}.verified-custd-mdl-add-cosigner-more-title{color:var(--Neutral-950, #0C0C0E);font-family:Manrope;font-size:18px;font-style:normal;font-weight:700;line-height:120%;margin:0}.verified-custd-mdl-add-cosigner-more-label{color:var(--Neutral-700, #4A4A5A);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-more-label-link{align-self:stretch;color:var(--secondary-electric-violet-700, #4E2BD7);font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:150%;text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;cursor:pointer;margin:0}.verified-custd-mdl-add-cosigner-header-info-cont{display:flex;padding:10px;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch;border-radius:8px;background:var(--Accent-100, #FFF9C1)}.verified-custd-mdl-add-cosigner-header-info-text{color:var(--Accent-800, #89490A);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-header-info-text-bold{color:var(--Accent-800, #89490A);font-family:Roboto;font-size:10px;font-style:normal;font-weight:700;line-height:140%}.verified-custd-mdl-add-cosigner-step2-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px}.verified-custd-mdl-add-cosigner-step2-body-header{display:flex;width:100%;justify-content:space-between;align-items:center}.verified-custd-mdl-add-cosigner-step2-body-header-first-text{color:var(--Neutral-950, #0C0C0E);text-align:right;font-family:Roboto;font-size:.8rem;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-step2-body-header-second-text{color:var(--Neutral-950, #0C0C0E);text-align:right;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-add-cosigner-step2-body-content{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}.verified-custd-mdl-add-cosigner-step2-body-content-header{display:flex;padding-top:14px;justify-content:center;align-items:center;position:relative;width:100%;flex-direction:column}.verified-custd-mdl-add-cosigner-step2-body-content-header-cont{display:flex;width:100%;padding:12px;flex-direction:column;align-items:flex-start;gap:16px}.verified-custd-mdl-add-cosigner-step2-body-content-header-label{display:flex;padding:4px 6px;align-items:flex-start;gap:10px;position:absolute;left:12px;top:-14px;border-radius:6px;background:var(--secondary-electric-violet-100, #DDE1FF)}.verified-custd-mdl-add-cosigner-step2-body-content-header-label-text{color:var(--secondary-electric-violet-900, #362689);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:140%;margin:0}.verified-custd-mdl-add-cosigner-step2-body-content-header-body{justify-content:space-between;align-self:stretch;border-radius:8px;border:1px solid var(--Neutral-100, #EEEEF0);background:var(--Neutral-50, #F7F7F8);position:relative;display:flex;padding:12px;align-items:flex-start;gap:16px}.verified-custd-mdl-a-c-2-b-content-header-body-header-cont{display:flex;align-items:center;gap:12px;width:100%}.verified-custd-mdl-a-c-2-b-content-header-body-header{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%}.verified-custd-mdl-a-c-2-b-content-header-body-title{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;margin:0;max-width:150px;word-wrap:break-word;overflow-wrap:break-word}.verified-custd-mdl-a-c-2-b-content-header-body-label{color:var(--Neutral-400, #8F91A1);font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%;margin:0;max-width:200px;word-wrap:break-word;overflow-wrap:break-word}.verified-custd-mdl-a-c-2-b-content-header-body-button{display:flex;padding:5.5px 8px;justify-content:center;align-items:center;gap:10px;border-radius:6px;border:1px solid var(--secondary-electric-violet-600, #603FF4);background:var(--secondary-electric-violet-600, #603FF4);color:var(--secondary-electric-violet-50, #ECEFFF);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-add-cosigner-step2-body-content-footer{display:flex;align-items:center;gap:4px;cursor:pointer}.verified-custd-mdl-add-cosigner-step2-body-content-footer-text{color:var(--secondary-electric-violet-600, #603FF4);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-body{display:flex;padding:15px;flex-direction:column;align-items:flex-start;gap:16px;border-radius:8px;border:1px solid var(--Neutral-200, #D8D9DF);min-width:90%;margin-bottom:20px;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-first{display:flex;justify-content:space-between;align-items:center;align-self:stretch;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-first-header{display:flex;align-items:flex-end;gap:5px}.verified-custd-mdl-add-cosigner-step2-add-more-first-header-text{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:.7rem;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-first-footer{display:flex;padding:4px 6px;align-items:flex-start;gap:10px;border-radius:6px;background:var(--secondary-electric-violet-100, #DDE1FF)}.verified-custd-mdl-add-cosigner-step2-add-more-first-footer-text{color:var(--secondary-electric-violet-900, #362689);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:140%;margin:0}.verified-custd-mdl-add-cosigner-step2-add-more-second{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-second-input{display:flex;padding:12px;align-items:center;gap:182px;align-self:stretch;border-radius:8px;background:var(--Neutral-50, #F7F7F8);color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-third{display:flex;align-items:flex-start;gap:24px;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-third-cont{display:flex;align-items:center;gap:4px}.verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text{color:var(--Neutral-900, #383842);font-family:Roboto;font-size:13px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-buttons{display:flex;align-items:flex-start;gap:16px;align-self:stretch;width:100%;background:transparent}.verified-custd-mdl-add-cosigner-step2-add-more-buttons-neut{width:50%;display:flex;padding:7.5px 12px;justify-content:center;align-items:center;gap:10px;flex:1 0 0;border-radius:8px;border:1px solid var(--secondary-electric-violet-600, #603FF4);color:var(--secondary-electric-violet-600, #603FF4);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%;background:transparent;cursor:pointer}.verified-custd-mdl-add-cosigner-step2-add-more-buttons-action{width:50%;display:flex;padding:6px 8px;justify-content:center;align-items:center;gap:10px;flex:1 0 0;align-self:stretch;border-radius:8px;border:1px solid var(--secondary-electric-violet-600, #603FF4);background:var(--secondary-electric-violet-600, #603FF4);color:var(--secondary-electric-violet-50, #ECEFFF);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%;cursor:pointer}.verified-custd-mdl-add-cosigner-step2-add-more-second-input::placeholder{color:var(--Neutral-300, #B6B7C3);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-confirm-body-content{display:flex;padding-top:20px;padding-bottom:20px;flex-direction:column;justify-content:flex-start;align-items:center;gap:61px;border-radius:8px 8px 0 0;background:var(--Neutral-White-100, #FFF);width:100%;max-height:62.7%}.verified-custd-mdl-add-cosigner-confirm-body-cont{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:90%}.verified-custd-mdl-add-cosigner-confirm-body-header{display:flex;flex-direction:column;align-items:center;gap:16px}.verified-custd-mdl-add-cosigner-confirm-body-title{color:var(--Neutral-950, #0C0C0E);font-family:Manrope;font-size:16px;font-style:normal;font-weight:700;line-height:150%;margin:0}.verified-custd-mdl-add-cosigner-confirm-body-label{color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin:0}.verified-custd-mdl-add-cosigner-confirm-body-footer{display:flex;width:90%;padding:15px 15px 5px;flex-direction:column;align-items:flex-start;gap:5px;border-radius:8px;border:1px solid var(--Neutral-100, #EEEEF0);background:var(--Neutral-White-100, #FFF)}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind-cont{width:100%;flex-direction:row;background:transparent;display:flex;justify-content:space-between;align-items:center;margin-bottom:3px}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind{display:flex;flex-direction:column;align-items:center;gap:-6px;border-radius:2px}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text-cont{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:10px;border-radius:6px;background:var(--secondary-electric-violet-600, #603FF4)}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text{color:var(--Neutral-White-100, #FFF);text-align:center;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%;margin:0}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-cont{width:100%;height:51px}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-cont{width:98%;height:16px;flex-shrink:0}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider{width:100%;height:5px;flex-shrink:0;border-radius:10px;background:var(--Neutral-100, #EEEEF0)}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind{height:5px;flex-shrink:0;border-radius:10px;background:var(--secondary-electric-violet-600, #603FF4);position:relative}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon{flex-shrink:0;position:absolute;top:-5px;right:0}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-text-cont{display:flex;width:100%;padding:10px 0;justify-content:space-between;align-items:center}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-text{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%;margin:0;cursor:pointer}.verified-custd-mdl-a-c-2-b-content-header-body-header-icons{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:10px}.verified-custd-mdl-add-cosigner-step2-body-content-footer-dis{display:flex;align-items:center;gap:4px;margin-bottom:18px}.verified-custd-mdl-add-cosigner-step2-body-content-footer-text-dis{color:var(--Neutral-300, #B6B7C3);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-startup-contact-content-heder-cont{width:100%;display:flex;justify-content:space-between;flex-direction:row}.verified-custd-mdl-add-cosigner-confirm-body-content-outter{background:#0006;z-index:5;position:absolute;width:100%;bottom:0;right:0;left:0;height:100%;display:flex;flex-direction:column-reverse}.verified-custd-mdl-portfolio-page-content-header-button{display:flex;padding:6px 12px;align-items:center;gap:4px;border-radius:32px;background:var(--secondary-electric-violet-900, #362689);cursor:pointer;color:var(--Neutral-White-100, var(--common-white_states-main, #fff));border:none;width:fit-content;max-width:150px;font-family:Roboto;font-size:.65rem;font-style:normal;font-weight:400;line-height:140%;word-wrap:break-word;height:30px}.verified-custd-mdl-portfolio-page-content-header-button-cont{width:fit-content;height:fit-content;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;position:relative}.verified-custd-mdl-portfolio-page-content-header-button-body{height:fit-content;width:fit-content;display:flex;flex-direction:column;gap:4px;border:none;border-radius:10px;background:var(--Neutral-50, #f7f7f8);padding:10px;position:absolute;top:33px;right:0}.verified-custd-mdl-portfolio-page-content-header-button-body-cont{background:none;cursor:pointer;border:1px solid transparent;padding:5px}.verified-custd-mdl-portfolio-page-content-header-button-body-cont:hover{border:1px solid #362689;background:transparent}.verified-custd-mdl-portfolio-page-content-header-button-body-text{width:110px;font-family:Roboto;font-size:.65rem;font-style:normal;font-weight:400;line-height:140%;word-wrap:break-word}.verified-custd-mdl-profile-popup-content-third{display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch;border-radius:var(--space-8px, 8px);background:var(--common-white_states-main, #fff);box-shadow:0 0 16px #0000001f}.verified-custd-mdl-profile-popup-content-third-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;align-self:stretch}.verified-custd-mdl-profile-popup-content-third-content,.verified-custd-mdl-profile-popup-content-third-content-tkn{display:flex;padding:4px var(--space-0, 0px);justify-content:space-between;align-items:center;align-self:stretch;border-radius:var(--space-8px, 8px);cursor:pointer}.verified-custd-mdl-profile-popup-content-third-content-text-container{display:flex;align-items:center;gap:var(--space-8px, 8px)}.verified-custd-mdl-profile-popup-content-third-content-text{color:var(--Neutral-900, #383842);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%;max-width:170px;word-wrap:break-word}.verified-custd-mdl-profile-popup-content-third-content-line{width:100%;height:1px;background:#eeeef0}.verified-custd-mdl-profile-popup-content-third-content-tkn:hover{border:#362689 1px solid}.verified-custd-mdl-profile-popup-content{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;align-self:stretch}.verified-custd-mdl-asset-layout-content{display:inline-flex;padding:0 20px 155px;flex-direction:column;align-items:flex-start;gap:20px;border-radius:8px;background:var(--Neutral-White-100, #fff);width:100%;height:100%}.verified-custd-mdl-profile-popup-content-second{display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch;border-radius:var(--space-8px, 8px);background:var(--common-white_states-main, #fff);box-shadow:0 0 16px #0000001f}.verified-custd-mdl-profile-popup-content-second-text{color:var(--Neutral-900, #383842);text-align:center;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:700;line-height:150%}.verified-custd-mdl-profile-popup-content-second-container{display:flex;justify-content:space-between;align-items:center;align-self:stretch}.verified-custd-mdl-profile-popup-content-second-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:24px;cursor:pointer}.verified-custd-mdl-profile-popup-content-second-content-icon{display:flex;padding:12px;flex-direction:column;align-items:center;gap:var(--space-8px, 8px);border-radius:4px;background:var(--secondary-electric-violet-50, #ecefff)}.verified-custd-mdl-profile-popup-content-second-content-text{color:#000;text-align:center;font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:1.125rem;text-transform:capitalize;width:fit-content;max-width:60px;height:36px}.verified-custd-mdl-profile-popup-content-third-button{display:flex;width:100px;padding:6px 14px;justify-content:center;align-items:center;gap:10px;border-radius:100px;border:1px solid var(--secondary-electric-violet-700, #4e2bd7)}.verified-custd-mdl-profile-popup-content-third-button-text{color:var(--secondary-electric-violet-600, #603ff4);text-align:center;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:600;line-height:125%}.verified-custd-mdl-offer-security-popup-info-content{display:flex;padding:6px 12px;justify-content:center;align-items:center;gap:10px;background:var(--common-white_states-main, #fff);position:absolute;top:-1;left:4px;width:230px;border-radius:2px;z-index:3;box-shadow:0 0 16px #0000001f}.verified-custd-mdl-offer-security-popup-info-content-text{color:var(--Neutral-900, #383842);width:auto;max-width:300px;height:fit-content;word-wrap:break-word;overflow-wrap:break-word;font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%}
2
- `);typeof window<"u"&&typeof window.chrome>"u"&&(window.chrome={});if(typeof global<"u"&&typeof global.crypto>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative")try{require("react-native-get-random-values")}catch(e){console.warn("react native [polyfillCrypto] Failed to load polyfill:",e)}var Ue=pe(require("react"));var Ni=process.env.REACT_APP_NODE_ENV==="production"?"https://wallet.verified.network":"https://veripay-bac0b.web.app",yn="https://wallet.verified.network/create-passkey",Tt="https://wallet.verified.network/get-passkey",Kn=["https://veripay-bac0b.web.app","https://wallet.verified.network","https://verified-l1.web.app","https://invest.verified.network"],vn=["https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap","https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap","https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap"],Wt="0x7f8d3f14b960b3bcf34baea4b46178e331b54a33e565d7d50d77cdfe9e926fe8",Qt={1:"1st",2:"2nd",3:"3rd",4:"4th",5:"5th"},At={1:"1 st",2:"2 nd",3:"3 rd",4:"4 th",5:"5 th"},Lt={connect_wallet:"connect your account",eth_requestAccounts:"connect your account",getPk:"recover your account details",invitation:"accept Co-Signer invitation",signRecovery:"sign account recovery",completeRecovery:"restore login access",eth_sendTransaction:"sign smart contract interaction"},X={successIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/succes-page-icon.svg",usaFlag:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/Flag-United-States-of-America%201.svg",privacyTip:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/privacy_tip.svg",addCoSignerIcon1:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-1.svg",addCoSignerIcon2:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-2.svg",addCoSignerIcon3:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-3.svg",addCoSignerIcon4:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-4.svg",pkicon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pk-icon.svg",encryptedIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/encrypted-icon.svg",pinHide:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pin-hide-icon.svg",pinShow:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pin-show-icon.svg",arrowUp:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/contact-arrow-up.svg",arrowDown:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/contact-dropdown.svg",editBlue:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/edit.svg",editBlack:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/edit-icon.svg",search:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/search-icon.svg",circleClicked:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/check-circle-icon.svg",supervise:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/supervisor-icon.svg",delete:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/delete-icon.svg",pointer:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pointer-icon.svg",sliderDot:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/slider-icon.svg",select:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/select-icon.svg",selectClicked:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/select-clicked-icon.svg",addIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/plus-circle-icon.svg",addDisableIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/plus-circle-dis.svg",errorAlert:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/error-icon.svg",successAlert:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/success-icon.svg",loadingIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/loading-icon.png",checkCircle:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/check-circle.svg",expandRight:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/chevron-right-icon.svg",closeIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/close-icon.svg",infoBlue:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/info-blue.svg",profileEdit:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/profile-pic-edit.svg",infoReference:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/quick_reference.svg",profileQuestions:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/shield_question.svg",verifiedCheckMark:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/verified-checkmark.svg",friends:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/friends.svg",baseIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/base-icon.svg",ethereumIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/ethereum-icon.svg",gnosisIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/gnois-icon.svg",copyIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/copy_icon.svg",errorIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/error.svg"},Yt=[{name:"Afghanistan",code:"AF",currency:"AFN",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/af.webp",phone_code:"93"},{name:"Albania",code:"AL",currency:"ALL",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/al.webp",phone_code:"355"},{name:"Algeria",code:"DZ",currency:"DZD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/dz.webp",phone_code:"213"},{name:"American Samoa",code:"AS",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/as.webp",phone_code:"1-684"},{name:"Andorra",code:"AD",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ad.webp",phone_code:"376"},{name:"Angola",code:"AO",currency:"AOA",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ao.webp",phone_code:"244"},{name:"Anguilla",code:"AI",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ai.webp",phone_code:"1-264"},{name:"Antarctica",code:"AQ",currency:"N/A",continent:"Antarctica",flag:"https://flagpedia.net/data/flags/h80/aq.webp",phone_code:"N/A"},{name:"Antigua and Barbuda",code:"AG",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ag.webp",phone_code:"1-268"},{name:"Argentina",code:"AR",currency:"ARS",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/ar.webp",phone_code:"54"},{name:"Armenia",code:"AM",currency:"AMD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/am.webp",phone_code:"374"},{name:"Aruba",code:"AW",currency:"AWG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/aw.webp",phone_code:"297"},{name:"Australia",code:"AU",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/au.webp",phone_code:"61"},{name:"Austria",code:"AT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/at.webp",phone_code:"43"},{name:"Azerbaijan",code:"AZ",currency:"AZN",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/az.webp",phone_code:"994"},{name:"Bahamas",code:"BS",currency:"BSD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bs.webp",phone_code:"1-242"},{name:"Bahrain",code:"BH",currency:"BHD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bh.webp",phone_code:"973"},{name:"Bangladesh",code:"BD",currency:"BDT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bd.webp",phone_code:"880"},{name:"Barbados",code:"BB",currency:"BBD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bb.webp",phone_code:"1-246"},{name:"Belarus",code:"BY",currency:"BYR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/by.webp",phone_code:"375"},{name:"Belgium",code:"BE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/be.webp",phone_code:"32"},{name:"Belize",code:"BZ",currency:"BZD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bz.webp",phone_code:"501"},{name:"Benin",code:"BJ",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bj.webp",phone_code:"229"},{name:"Bermuda",code:"BM",currency:"BMD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bm.webp",phone_code:"1-441"},{name:"Bhutan",code:"BT",currency:"BTN",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bt.webp",phone_code:"975"},{name:"Bolivia",code:"BO",currency:"BOB",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/bo.webp",phone_code:"591"},{name:"Bosnia and Herzegovina",code:"BA",currency:"BAM",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ba.webp",phone_code:"387"},{name:"Botswana",code:"BW",currency:"BWP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bw.webp",phone_code:"267"},{name:"Brazil",code:"BR",currency:"BRL",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/br.webp",phone_code:"55"},{name:"British Indian Ocean Territory",code:"IO",currency:"USD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/io.webp",phone_code:"246"},{name:"Brunei Darussalam",code:"BN",currency:"BND",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bn.webp",phone_code:"673"},{name:"Bulgaria",code:"BG",currency:"BGN",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/bg.webp",phone_code:"359"},{name:"Burkina Faso",code:"BF",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bf.webp",phone_code:"226"},{name:"Burundi",code:"BI",currency:"BIF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bi.webp",phone_code:"257"},{name:"Cambodia",code:"KH",currency:"KHR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kh.webp",phone_code:"855"},{name:"Cameroon",code:"CM",currency:"CFA",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cm.webp",phone_code:"237"},{name:"Canada",code:"CA",currency:"CAD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ca.webp",phone_code:"1"},{name:"Cape Verde",code:"CV",currency:"CVE",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cv.webp",phone_code:"238"},{name:"Cayman Islands",code:"KY",currency:"KYD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ky.webp",phone_code:"1-345"},{name:"Central African Republic",code:"CF",currency:"XAF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cf.webp",phone_code:"236"},{name:"Chad",code:"TD",currency:"CDF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/td.webp",phone_code:"235"},{name:"Chile",code:"CL",currency:"CLP",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/cl.webp",phone_code:"56"},{name:"China",code:"CN",currency:"CNY",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/cn.webp",phone_code:"86"},{name:"Christmas Island",code:"CX",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/cx.webp",phone_code:"61"},{name:"Cocos (Keeling) Islands",code:"CC",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/cc.webp",phone_code:"61"},{name:"Colombia",code:"CO",currency:"COP",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/co.webp",phone_code:"57"},{name:"Comoros",code:"KM",currency:"KMF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/km.webp",phone_code:"269"},{name:"Congo (Congo-Brazzaville)",code:"CG",currency:"CDF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cg.webp",phone_code:"242"},{name:"Congo (Democratic Republic of the Congo)",code:"CD",currency:"CDF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cd.webp",phone_code:"243"},{name:"Cook Islands",code:"CK",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/ck.webp",phone_code:"682"},{name:"Costa Rica",code:"CR",currency:"CRC",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/cr.webp",phone_code:"506"},{name:"Croatia",code:"HR",currency:"HRK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/hr.webp",phone_code:"385"},{name:"Cuba",code:"CU",currency:"CUP",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/cu.webp",phone_code:"53"},{name:"Cura\xE7ao",code:"CW",currency:"AWG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/cw.webp",phone_code:"599"},{name:"Cyprus",code:"CY",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/cy.webp",phone_code:"357"},{name:"Czech Republic",code:"CZ",currency:"CZK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/cz.webp",phone_code:"420"},{name:"Denmark",code:"DK",currency:"DKK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/dk.webp",phone_code:"45"},{name:"Djibouti",code:"DJ",currency:"DJF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/dj.webp",phone_code:"253"},{name:"Dominica",code:"DM",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/dm.webp",phone_code:"1-767"},{name:"Dominican Republic",code:"DO",currency:"DOP",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/do.webp",phone_code:"1-809"},{name:"Ecuador",code:"EC",currency:"USD",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/ec.webp",phone_code:"593"},{name:"Egypt",code:"EG",currency:"EGP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/eg.webp",phone_code:"20"},{name:"El Salvador",code:"SV",currency:"SVC",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/sv.webp",phone_code:"503"},{name:"Equatorial Guinea",code:"GQ",currency:"GNF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gq.webp",phone_code:"240"},{name:"Eritrea",code:"ER",currency:"ERN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/er.webp",phone_code:"291"},{name:"Estonia",code:"EE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ee.webp",phone_code:"372"},{name:"Eswatini",code:"SZ",currency:"SZL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sz.webp",phone_code:"268"},{name:"Ethiopia",code:"ET",currency:"ETB",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/et.webp",phone_code:"251"},{name:"Falkland Islands",code:"FK",currency:"FKP",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/fk.webp",phone_code:"500"},{name:"Faroe Islands",code:"FO",currency:"DKK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/fo.webp",phone_code:"298"},{name:"Fiji",code:"FJ",currency:"FJD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/fj.webp",phone_code:"679"},{name:"Finland",code:"FI",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/fi.webp",phone_code:"358"},{name:"France",code:"FR",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/fr.webp",phone_code:"33"},{name:"Gabon",code:"GA",currency:"GAB",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ga.webp",phone_code:"241"},{name:"Gambia",code:"GM",currency:"GMD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gm.webp",phone_code:"220"},{name:"Georgia",code:"GE",currency:"GEL",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ge.webp",phone_code:"995"},{name:"Germany",code:"DE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/de.webp",phone_code:"49"},{name:"Ghana",code:"GH",currency:"GHS",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gh.webp",phone_code:"233"},{name:"Greece",code:"GR",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/gr.webp",phone_code:"30"},{name:"Greenland",code:"GL",currency:"DKK",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gl.webp",phone_code:"299"},{name:"Grenada",code:"GD",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gd.webp",phone_code:"1-473"},{name:"Guadeloupe",code:"GP",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gp.webp",phone_code:"590"},{name:"Guam",code:"GU",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/gu.webp",phone_code:"1-671"},{name:"Guatemala",code:"GT",currency:"GTQ",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gt.webp",phone_code:"502"},{name:"Guinea",code:"GN",currency:"GNF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gn.webp",phone_code:"224"},{name:"Guinea-Bissau",code:"GW",currency:"GNF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gw.webp",phone_code:"245"},{name:"Guyana",code:"GY",currency:"GYD",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/gy.webp",phone_code:"592"},{name:"Haiti",code:"HT",currency:"HTG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ht.webp",phone_code:"509"},{name:"Heard Island and McDonald Islands",code:"HM",currency:"AUD",continent:"Australia",flag:"https://flagpedia.net/data/flags/h80/hm.webp",phone_code:"61"},{name:"Honduras",code:"HN",currency:"HNL",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/hn.webp",phone_code:"504"},{name:"Hong Kong",code:"HK",currency:"HKD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/hk.webp",phone_code:"852"},{name:"Hungary",code:"HU",currency:"HUF",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/hu.webp",phone_code:"36"},{name:"Iceland",code:"IS",currency:"ISK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/is.webp",phone_code:"354"},{name:"India",code:"IN",currency:"INR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/in.webp",phone_code:"91"},{name:"Indonesia",code:"ID",currency:"IDR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/id.webp",phone_code:"62"},{name:"Iran",code:"IR",currency:"IRR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ir.webp",phone_code:"98"},{name:"Iraq",code:"IQ",currency:"IQD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/iq.webp",phone_code:"964"},{name:"Ireland",code:"IE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ie.webp",phone_code:"353"},{name:"Israel",code:"IL",currency:"ILS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/il.webp",phone_code:"972"},{name:"Italy",code:"IT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/it.webp",phone_code:"39"},{name:"Jamaica",code:"JM",currency:"JMD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/jm.webp",phone_code:"1-876"},{name:"Japan",code:"JP",currency:"JPY",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/jp.webp",phone_code:"81"},{name:"Jordan",code:"JO",currency:"JOD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/jo.webp",phone_code:"962"},{name:"Kazakhstan",code:"KZ",currency:"KZT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kz.webp",phone_code:"7"},{name:"Kenya",code:"KE",currency:"KES",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ke.webp",phone_code:"254"},{name:"Kiribati",code:"KI",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/ki.webp",phone_code:"686"},{name:"Korea (North)",code:"KP",currency:"KPW",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kp.webp",phone_code:"850"},{name:"Korea (South)",code:"KR",currency:"KRW",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kr.webp",phone_code:"82"},{name:"Kuwait",code:"KW",currency:"KWD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kw.webp",phone_code:"965"},{name:"Kyrgyzstan",code:"KG",currency:"KGS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kg.webp",phone_code:"996"},{name:"Laos",code:"LA",currency:"LAK",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/la.webp",phone_code:"856"},{name:"Latvia",code:"LV",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/lv.webp",phone_code:"371"},{name:"Lebanon",code:"LB",currency:"LBP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/lb.webp",phone_code:"961"},{name:"Lesotho",code:"LS",currency:"LSL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ls.webp",phone_code:"266"},{name:"Liberia",code:"LR",currency:"LRD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/lr.webp",phone_code:"231"},{name:"Libya",code:"LY",currency:"LYD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ly.webp",phone_code:"218"},{name:"Liechtenstein",code:"LI",currency:"CHF",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/li.webp",phone_code:"423"},{name:"Lithuania",code:"LT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/lt.webp",phone_code:"370"},{name:"Luxembourg",code:"LU",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/lu.webp",phone_code:"352"},{name:"Macau",code:"MO",currency:"MOP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mo.webp",phone_code:"853"},{name:"Madagascar",code:"MG",currency:"MGA",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mg.webp",phone_code:"261"},{name:"Malawi",code:"MW",currency:"MWK",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mw.webp",phone_code:"265"},{name:"Malaysia",code:"MY",currency:"MYR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/my.webp",phone_code:"60"},{name:"Maldives",code:"MV",currency:"MVR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mv.webp",phone_code:"960"},{name:"Mali",code:"ML",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ml.webp",phone_code:"223"},{name:"Malta",code:"MT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/mt.webp",phone_code:"356"},{name:"Marshall Islands",code:"MH",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/mh.webp",phone_code:"692"},{name:"Martinique",code:"MQ",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/mq.webp",phone_code:"596"},{name:"Mauritania",code:"MR",currency:"MRU",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mr.webp",phone_code:"222"},{name:"Mauritius",code:"MU",currency:"MUR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mu.webp",phone_code:"230"},{name:"Mayotte",code:"YT",currency:"EUR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/yt.webp",phone_code:"269"},{name:"Mexico",code:"MX",currency:"MXN",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/mx.webp",phone_code:"52"},{name:"Micronesia",code:"FM",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/fm.webp",phone_code:"691"},{name:"Moldova",code:"MD",currency:"MDL",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/md.webp",phone_code:"373"},{name:"Monaco",code:"MC",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/mc.webp",phone_code:"377"},{name:"Mongolia",code:"MN",currency:"MNT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mn.webp",phone_code:"976"},{name:"Montenegro",code:"ME",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/me.webp",phone_code:"382"},{name:"Montserrat",code:"MS",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ms.webp",phone_code:"1-664"},{name:"Morocco",code:"MA",currency:"MAD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ma.webp",phone_code:"212"},{name:"Mozambique",code:"MZ",currency:"MZN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mz.webp",phone_code:"258"},{name:"Myanmar",code:"MM",currency:"MMK",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mm.webp",phone_code:"95"},{name:"Namibia",code:"NA",currency:"NAD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/na.webp",phone_code:"264"},{name:"Nauru",code:"NR",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nr.webp",phone_code:"674"},{name:"Nepal",code:"NP",currency:"NPR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/np.webp",phone_code:"977"},{name:"Netherlands",code:"NL",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/nl.webp",phone_code:"31"},{name:"New Caledonia",code:"NC",currency:"XPF",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nc.webp",phone_code:"687"},{name:"New Zealand",code:"NZ",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nz.webp",phone_code:"64"},{name:"Nicaragua",code:"NI",currency:"NIO",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ni.webp",phone_code:"505"},{name:"Niger",code:"NE",currency:"NGN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ne.webp",phone_code:"227"},{name:"Nigeria",code:"NG",currency:"NGN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ng.webp",phone_code:"234"},{name:"Niue",code:"NU",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nu.webp",phone_code:"683"},{name:"Norfolk Island",code:"NF",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nf.webp",phone_code:"672"},{name:"North Macedonia",code:"MK",currency:"MKD",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/mk.webp",phone_code:"389"},{name:"Northern Mariana Islands",code:"MP",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/mp.webp",phone_code:"1-670"},{name:"Norway",code:"NO",currency:"NOK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/no.webp",phone_code:"47"},{name:"Oman",code:"OM",currency:"OMR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/om.webp",phone_code:"968"},{name:"Pakistan",code:"PK",currency:"PKR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/pk.webp",phone_code:"92"},{name:"Palau",code:"PW",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/pw.webp",phone_code:"680"},{name:"Panama",code:"PA",currency:"PAB",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/pa.webp",phone_code:"507"},{name:"Papua New Guinea",code:"PG",currency:"PGK",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/pg.webp",phone_code:"675"},{name:"Paraguay",code:"PY",currency:"PYG",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/py.webp",phone_code:"595"},{name:"Peru",code:"PE",currency:"PEN",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/pe.webp",phone_code:"51"},{name:"Philippines",code:"PH",currency:"PHP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ph.webp",phone_code:"63"},{name:"Pitcairn Islands",code:"PN",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/pn.webp",phone_code:"64"},{name:"Poland",code:"PL",currency:"PLN",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/pl.webp",phone_code:"48"},{name:"Portugal",code:"PT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/pt.webp",phone_code:"351"},{name:"Puerto Rico",code:"PR",currency:"USD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/pr.webp",phone_code:"1-787"},{name:"Qatar",code:"QA",currency:"QAR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/qa.webp",phone_code:"974"},{name:"Romania",code:"RO",currency:"RON",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ro.webp",phone_code:"40"},{name:"Russia",code:"RU",currency:"RUB",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ru.webp",phone_code:"7"},{name:"Rwanda",code:"RW",currency:"RWF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/rw.webp",phone_code:"250"},{name:"Saint Barth\xE9lemy",code:"BL",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bl.webp",phone_code:"590"},{name:"Saint Helena",code:"SH",currency:"SHP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sh.webp",phone_code:"290"},{name:"Saint Kitts and Nevis",code:"KN",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/kn.webp",phone_code:"1-869"},{name:"Saint Lucia",code:"LC",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/lc.webp",phone_code:"1-758"},{name:"Saint Martin",code:"MF",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/mf.webp",phone_code:"590"},{name:"Saint Pierre and Miquelon",code:"PM",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/pm.webp",phone_code:"508"},{name:"Saint Vincent and the Grenadines",code:"VC",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/vc.webp",phone_code:"1-784"},{name:"Samoa",code:"WS",currency:"WST",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/ws.webp",phone_code:"685"},{name:"San Marino",code:"SM",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/sm.webp",phone_code:"378"},{name:"Sao Tome and Principe",code:"ST",currency:"STN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/st.webp",phone_code:"239"},{name:"Saudi Arabia",code:"SA",currency:"SAR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/sa.webp",phone_code:"966"},{name:"Senegal",code:"SN",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sn.webp",phone_code:"221"},{name:"Serbia",code:"RS",currency:"RSD",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/rs.webp",phone_code:"381"},{name:"Seychelles",code:"SC",currency:"SCR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sc.webp",phone_code:"248"},{name:"Sierra Leone",code:"SL",currency:"SLL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sl.webp",phone_code:"232"},{name:"Singapore",code:"SG",currency:"SGD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/sg.webp",phone_code:"65"},{name:"Sint Eustatius",code:"SX",currency:"USD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/sx.webp",phone_code:"599"},{name:"Sint Maarten",code:"SM",currency:"ANG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/sm.webp",phone_code:"1-721"},{name:"Slovakia",code:"SK",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/sk.webp",phone_code:"421"},{name:"Slovenia",code:"SI",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/si.webp",phone_code:"386"},{name:"Solomon Islands",code:"SB",currency:"SBD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/sb.webp",phone_code:"677"},{name:"Somalia",code:"SO",currency:"SOS",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/so.webp",phone_code:"252"},{name:"South Africa",code:"ZA",currency:"ZAR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/za.webp",phone_code:"27"},{name:"South Georgia and the South Sandwich Islands",code:"GS",currency:"GBP",continent:"Antarctica",flag:"https://flagpedia.net/data/flags/h80/gs.webp",phone_code:"500"},{name:"South Sudan",code:"SS",currency:"SSP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ss.webp",phone_code:"211"},{name:"Spain",code:"ES",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/es.webp",phone_code:"34"},{name:"Sri Lanka",code:"LK",currency:"LKR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/lk.webp",phone_code:"94"},{name:"Sudan",code:"SD",currency:"SDG",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sd.webp",phone_code:"249"},{name:"Suriname",code:"SR",currency:"SRD",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/sr.webp",phone_code:"597"},{name:"Svalbard and Jan Mayen",code:"SJ",currency:"NOK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/sj.webp",phone_code:"47"},{name:"Sweden",code:"SE",currency:"SEK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/se.webp",phone_code:"46"},{name:"Switzerland",code:"CH",currency:"CHF",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ch.webp",phone_code:"41"},{name:"Syria",code:"SY",currency:"SYP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/sy.webp",phone_code:"963"},{name:"Taiwan",code:"TW",currency:"TWD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tw.webp",phone_code:"886"},{name:"Tajikistan",code:"TJ",currency:"TJS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tj.webp",phone_code:"992"},{name:"Tanzania",code:"TZ",currency:"TZS",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/tz.webp",phone_code:"255"},{name:"Thailand",code:"TH",currency:"THB",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/th.webp",phone_code:"66"},{name:"Timor-Leste",code:"TL",currency:"USD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tl.webp",phone_code:"670"},{name:"Togo",code:"TG",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/tg.webp",phone_code:"228"},{name:"Tokelau",code:"TK",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/tk.webp",phone_code:"690"},{name:"Tonga",code:"TO",currency:"TOP",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/to.webp",phone_code:"676"},{name:"Trinidad and Tobago",code:"TT",currency:"TTD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/tt.webp",phone_code:"1-868"},{name:"Tunisia",code:"TN",currency:"TND",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/tn.webp",phone_code:"216"},{name:"Turkey",code:"TR",currency:"TRY",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tr.webp",phone_code:"90"},{name:"Turkmenistan",code:"TM",currency:"TMT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tm.webp",phone_code:"993"},{name:"Tuvalu",code:"TV",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/tv.webp",phone_code:"688"},{name:"Uganda",code:"UG",currency:"UGX",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ug.webp",phone_code:"256"},{name:"Ukraine",code:"UA",currency:"UAH",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ua.webp",phone_code:"380"},{name:"United Arab Emirates",code:"AE",currency:"AED",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ae.webp",phone_code:"971"},{name:"United Kingdom",code:"GB",currency:"GBP",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/gb.webp",phone_code:"44"},{name:"United States",code:"US",currency:"USD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/us.webp",phone_code:"1"},{name:"Uruguay",code:"UY",currency:"UYU",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/uy.webp",phone_code:"598"},{name:"Uzbekistan",code:"UZ",currency:"UZS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/uz.webp",phone_code:"998"},{name:"Vanuatu",code:"VU",currency:"VUV",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/vu.webp",phone_code:"678"},{name:"Vatican City",code:"VA",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/va.webp",phone_code:"379"},{name:"Venezuela",code:"VE",currency:"VES",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/ve.webp",phone_code:"58"},{name:"Vietnam",code:"VN",currency:"VND",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/vn.webp",phone_code:"84"},{name:"Wallis and Futuna",code:"WF",currency:"XPF",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/wf.webp",phone_code:"681"},{name:"Western Sahara",code:"EH",currency:"MAD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/eh.webp",phone_code:"212"},{name:"Yemen",code:"YE",currency:"YER",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ye.webp",phone_code:"967"},{name:"Zambia",code:"ZM",currency:"ZMW",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/zm.webp",phone_code:"260"},{name:"Zimbabwe",code:"ZW",currency:"ZWL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/zw.webp",phone_code:"263"}];var Pn={verifiedCustdMdlContainer:{width:"100%",height:"100%",display:"flex",justifyContent:"center",paddingBottom:20,overflowY:"scroll",overflowX:"hidden",position:"relative"},verifiedCustdMdlStartupOutterGrad:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",overflowY:"scroll",overflowX:"hidden"},verifiedCustdMdlStartupOutterNorm:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",overflowY:"scroll",overflowX:"hidden",backgroundColor:"#ffffff"},verifiedCustdMdlStartup:{width:650,height:"auto",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",overflowX:"hidden",overflowY:"scroll",paddingBottom:20,borderWidth:1,borderColor:"#0F122E",borderRadius:10,position:"relative"},verifiedCustdMdlLoadingScreen:{borderRadius:10,width:"100%",flexShrink:0,backgroundColor:"rgba(0, 0, 0, 0.3)",zIndex:100,display:"flex",justifyContent:"center",alignItems:"center",overflow:"scroll",position:"absolute",top:0,left:0,right:0,bottom:0},verifiedCustdMdlStartupIconContainer:{width:"76.119%",display:"flex",justifyContent:"center",alignItems:"center",position:"relative",flexDirection:"column",height:298},verifiedCustdMdlStartupIconShadow:{position:"absolute",bottom:10,right:70,width:"48.5%"},verifiedCustdMdlStartupTextContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:12,marginRight:20,marginLeft:20},verifiedCustdMdlStartupTextHeader:{color:"#ffffff",fontFamily:"Manrope",fontSize:33.6,fontWeight:"700",lineHeight:45,margin:0},verifiedCustdMdlStartupTextFooter:{color:"#ffffff",fontFamily:"Roboto",fontSize:14.4,fontWeight:"400",lineHeight:24,opacity:.8},verifiedCustdMdlFtuStartupButton:{display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#cfe600",cursor:"pointer",userSelect:"none",color:"#0C0C0E",textAlign:"center",margin:20,fontFamily:"Roboto",fontSize:16,fontWeight:"500",lineHeight:24,outline:"none",borderWidth:0},verifiedCustdMdlStartupLanguage:{backgroundColor:"#ffffff",height:"100%",width:"100%"},verifiedCustdMdlStartupLanguageContentContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:32,width:"100%"},verifiedCustdMdlStLanguageContent:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:20,alignSelf:"stretch",width:"100%"},verifiedCustdMdlStLanguageText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:24,fontWeight:"700",lineHeight:24,alignSelf:"stretch"},verifiedCustdMdlMsSearchContentHover:{borderRadius:8,borderWidth:1,borderColor:"#9da3ff",backgroundColor:"#ecefff"},verifiedCustdMdlStContactInput:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:14,width:"90%"},verifiedCustdMdlStContactContentContainer:{display:"flex",alignItems:"flex-start",gap:8,width:"100%"},verifiedCustdMdlStContactFirstSection:{display:"flex",width:150,height:44,paddingLeft:6,alignItems:"center",borderRadius:8,backgroundColor:"#f7f7f8",cursor:"pointer",userSelect:"none"},verifiedCustdMdlStContactSelectionIcon:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:0,borderRadius:24,cursor:"pointer",userSelect:"none",overflow:"hidden",width:28,height:28},verifiedCustdMdlStContactSelectionText:{color:"#0c0c0e",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6,width:40,flexShrink:0},verifiedCustdMdlStContactDropdown:{},verifiedCustdMdlStContactFooterFirstSection:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:12,width:"100%"},verifiedCustdMdlStContactFooterSecondSection:{display:"flex",alignItems:"center",justifyContent:"center",gap:4,width:"100%"},verifiedCustdMdlCustomBlankPage:{height:0},verifiedCustdMdlStartupOtpText:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch"},verifiedCustdMdlStartupOtpHeaderText:{alignSelf:"stretch",color:"#5b5d6e",fontFamily:"Roboto",fontSize:11.2,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,maxWidth:"100%"},verifiedCustdMdlOtpInputGroup:{display:"flex",width:"100%",flexDirection:"row",alignItems:"flex-start",gap:8},verifiedCustdMdlOtpInput:{display:"flex",paddingTop:20,paddingBottom:20,paddingLeft:12,paddingRight:12,justifyContent:"center",alignItems:"center",gap:8,flex:1,alignSelf:"stretch",borderRadius:8,backgroundColor:"#f7f7f8",width:"25%",textAlign:"center",color:"#0C0C0E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6},verifiedCustdMdlOtpInputRed:{borderRadius:8,borderWidth:1,borderColor:"#E23636",backgroundColor:"#F7F7F8",display:"flex",paddingTop:20,paddingBottom:20,paddingLeft:12,paddingRight:12,justifyContent:"center",alignItems:"center",gap:8,flex:1,alignSelf:"stretch",width:"25%",textAlign:"center",color:"#0C0C0E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6},verifiedCustdMdlOtpIncorrectText:{color:"#E23636",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,maxWidth:200},verifiedCustdMdlOtpTimer:{display:"flex",justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",flexDirection:"row"},verifiedCustdMdlOtpTimerText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlOtpTimerTextRed:{color:"#e23636",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlOtpResendText:{color:"#b6b7c3",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlOtpResendTextActive:{color:"#603ff4",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlStOtpIcon:{},verifiedCustdMdlStartupButton:{display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#cfe600",color:"#0C0C0E",textAlign:"center",opacity:.5,fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,width:"90%",maxWidth:500},verifiedCustdMdlStartupButtonActive:{display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#cfe600",color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,width:"90%",maxWidth:500},verifiedCustdMdlOtpInputPassword:{fontWeight:"900"},verifiedCustdMdlStartupButtonClick:{borderRadius:8,borderWidth:1,borderColor:"#0c0c0e",display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,width:"90%",backgroundColor:"transparent",maxWidth:500},verifiedCustdMdlPinInputContainerText:{color:"#5B5D6E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlStButtonText:{color:"#0c0c0e",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24},verifiedCustdMdlStartupSlider:{display:"flex",alignItems:"center",gap:12,borderRadius:4,width:"100%"},verifiedCustdMdlStartupSliderLine:{height:4,flexShrink:0,borderRadius:8,backgroundColor:"#eeeef0"},verifiedCustdMdlStartupSliderLineActive:{height:4,flex:1,borderRadius:8,backgroundColor:"#603ff4"},verifiedCustdMdlStartupContact:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:20,width:"100%"},verifiedCustdMdlStartupContactContent:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:16,alignSelf:"stretch"},verifiedCustdMdlStartupContactText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"700",lineHeight:16,alignSelf:"stretch",maxWidth:"100%"},verifiedCustdMdlStContactSecondSection:{display:"flex",width:"100%",height:44,paddingLeft:6,alignItems:"center",borderRadius:8,backgroundColor:"#f7f7f8",color:"#0C0C0E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlStContactSecondSectionPlaceholder:{color:"#b6b7c3",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlStartupContactFooter:{display:"flex",flexDirection:"column",alignItems:"center",gap:12,width:"100%",marginTop:16},verifiedCustdMdlStContactInputError:{display:"flex",alignItems:"center",gap:4},verifiedCustdMdlInputErrorText:{color:"#e23636",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,margin:0},verifiedCustdMdlMobileStartupSearchBoxContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:6,width:"100%"},verifiedCustdMdlMobileStartupSearchBox:{display:"flex",height:40,alignItems:"center",gap:6,borderRadius:6,borderWidth:1,borderColor:"#d8d9df",backgroundColor:"#f7f7f8",width:"100%",overflow:"hidden"},verifiedCustdMdlMsSearchBoxContent:{height:"100%",width:"100%",backgroundColor:"transparent",color:"#0c0c0e",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlMsSearchBoxContentPlaceholder:{color:"#8f91a1",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlMobileStartupSearchContent:{display:"flex",width:"100%",flexDirection:"column",alignItems:"flex-start",gap:16,borderRadius:8,borderWidth:1,borderColor:"#f7f7f8",backgroundColor:"#ffffff"},verifiedCustdMdlMsSearchContentContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",alignSelf:"stretch",overflow:"scroll"},verifiedCustdMdlMsSearchContent:{display:"flex",padding:8,alignItems:"center",gap:19,alignSelf:"stretch",height:34,marginBottom:5,borderWidth:1,borderColor:"transparent"},verifiedCustdMdlMsSearchContentActive:{display:"flex",padding:8,justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",borderRadius:6,backgroundColor:"#f1f8ed"},verifiedCustdMdlMsSearchContentTextContainer:{display:"flex",alignItems:"center",gap:19},verifiedCustdMdlMsSearchContentIcon:{display:"flex",width:28,height:28,justifyContent:"center",alignItems:"center",borderRadius:24,borderWidth:1,borderColor:"rgba(0, 0, 0, 0.05)",backgroundColor:"#fff",shadowColor:"#eee",shadowOffset:{width:0,height:1},shadowOpacity:1,shadowRadius:4,elevation:3},verifiedCustdMdlMsSearchContentText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:12.4,fontStyle:"normal",fontWeight:"400",lineHeight:18.6},verifiedCustdMdlTermsAndCondition:{color:"#8f91a1",fontFamily:"Roboto",fontSize:11.2,fontStyle:"normal",fontWeight:"450",lineHeight:15.68},verifiedCustdMdlPrivacy:{flexDirection:"row",alignItems:"center",gap:4,marginBottom:20},verifiedCustdMdlPrivacyText:{color:"#40414c",fontFamily:"Roboto",fontSize:8,fontStyle:"normal",fontWeight:"400",lineHeight:20,letterSpacing:.25},verifiedCustdMdlPPPaymentPortalAmountInfoSeparator:{flexDirection:"row",alignItems:"center",gap:6,alignSelf:"stretch",justifyContent:"center"},verifiedCustdMdlPPPaymentPortalLine:{width:"50%",height:1,backgroundColor:"#eeeef0"},verifiedCustdMdlPPaymentPortalSeparatorText:{color:"#4a4a5a",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,opacity:.6},verifiedCustdMdlStartupOtpFooter:{flexDirection:"row",alignItems:"center",gap:4,width:"100%",overflow:"hidden"},verifiedCustdMdlStartupOtpFooterText:{color:"#0c0c0e",fontFamily:"Manrope",fontSize:12.8,fontStyle:"normal",fontWeight:"600",lineHeight:12.8,maxWidth:"100%"},verifiedCustdMdlOtpInputContainer:{flexDirection:"column",alignItems:"flex-start",gap:6,width:"100%"},verifiedCustdMdlGeneralWebToastError:{flexDirection:"row",alignItems:"center",gap:12},verifiedCustdMdlGeneralWebToastErrorContainer:{width:"100%",flexDirection:"column",alignItems:"flex-start",gap:10,padding:6},verifiedCustdMdlGeneralWebToastErrorTitle:{margin:0,color:"#0c0c0e",fontFamily:"Manrope",fontSize:16,fontStyle:"normal",fontWeight:"600",lineHeight:16,alignSelf:"stretch"},verifiedCustdMdlGeneralWebToastErrorLabel:{alignSelf:"stretch",color:"#8f91a1",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21,margin:0},verifiedCustdMdlGeneralWebToastSuccess:{padding:12,justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",borderRadius:8,backgroundColor:"#f1f8ed",width:"100%",height:55,maxHeight:55,flexDirection:"row"},verifiedCustdMdlGeneralWebToastSuccessCont:{flexDirection:"row",alignItems:"center",gap:12,width:"100%"},verifiedCustdMdlGeneralWebToastSuccessContainer:{width:"100%",flexDirection:"column",alignItems:"flex-start",gap:10,padding:6},verifiedCustdMdlGeneralWebToastSuccessLink:{flexDirection:"row",alignItems:"center"},verifiedCustdMdlGeneralWebToastSuccessLinkText:{color:"#603ff4",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"700",lineHeight:21,textDecorationLine:"underline"},verifiedCustdMdlSuccessPopupContentContainer:{width:"28.4375%",padding:24,flexDirection:"column",alignItems:"center",backgroundColor:"#fff",shadowColor:"#000",shadowOffset:{width:0,height:4},shadowOpacity:.12,shadowRadius:19,elevation:5,height:"100%"},verifiedCustdMdlSuccessPopupContent:{width:"100%",flexDirection:"column",alignItems:"center",gap:32},verifiedCustdMdlSuccessPopupContentText:{flexDirection:"column",alignItems:"center",gap:12,alignSelf:"stretch"},verifiedCustdMdlSuccessPopupContentTextHeader:{color:"#0c0c0e",textAlign:"center",fontFamily:"Manrope",fontSize:24,fontStyle:"normal",fontWeight:"800",lineHeight:33.6},verifiedCustdMdlSuccessPopupContentTextFooter:{color:"#5b5d6e",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"400",lineHeight:24},verifiedCustdMdlAddCosignerBodyIcon:{width:"90%",maxWidth:"90%",height:250,maxHeight:250},verifiedCustdMdlAddCosignerBody:{padding:10,flexDirection:"column",alignItems:"flex-start",gap:12,borderRadius:8,backgroundColor:"#ECEFFF"},verifiedCustdMdlAddCosignerBodyTextCont:{flexDirection:"row",alignItems:"center",gap:10,width:"100%"},verifiedCustdMdlAddCosignerBodyTextIcon:{padding:8,alignItems:"center",justifyContent:"center",gap:10,borderRadius:24,backgroundColor:"#C2C7FF",width:20,height:20,overflow:"hidden"},verifiedCustdMdlAddCosignerBodyTextLabel:{width:"76.1%",color:"#5B5D6E",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"400",lineHeight:15},verifiedCustdMdlAddCosignerBodyTextLabelBold:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:14},verifiedCustdMdlAddCosignerButtonsCont:{padding:10,flexDirection:"row",alignItems:"flex-start",justifyContent:"space-between",gap:10,backgroundColor:"transparent"},verifiedCustdMdlAddCosignerButtonNeut:{width:"45%",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"transparent",borderWidth:1,borderColor:"#0C0C0E",color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:18},verifiedCustdMdlAddCosignerButtonAction:{width:"45%",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#CFE600",borderWidth:0,color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:18},verifiedCustdMdlAddCosignerMoreBody:{padding:15,flexDirection:"column",alignItems:"flex-start",gap:12,borderRadius:8,backgroundColor:"#ECEFFF"},verifiedCustdMdlAddCosignerMoreHeaderCont:{flexDirection:"column",alignItems:"flex-start",gap:32},verifiedCustdMdlAddCosignerMoreTitleCont:{flexDirection:"column",alignItems:"flex-start",gap:16,alignSelf:"stretch"},verifiedCustdMdlAddCosignerHeaderText:{alignSelf:"stretch",color:"#5B5D6E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18,margin:0},verifiedCustdMdlAddCosignerMoreTitle:{color:"#0C0C0E",fontFamily:"Manrope",fontSize:18,fontStyle:"normal",fontWeight:"700",lineHeight:21.6,margin:0},verifiedCustdMdlAddCosignerMoreLabel:{color:"#4A4A5A",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlAddCosignerMoreLabelLink:{alignSelf:"stretch",color:"#4E2BD7",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:18,textDecorationLine:"underline",margin:0},verifiedCustdMdlAddCosignerHeaderInfoCont:{padding:10,flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch",borderRadius:8,backgroundColor:"#FFF9C1"},verifiedCustdMdlAddCosignerHeaderInfoText:{color:"#89490A",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:15},verifiedCustdMdlAddCosignerHeaderInfoTextBold:{color:"#89490A",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"700",lineHeight:14},verifiedCustdMdlAddCosignerStep2Body:{flexDirection:"column",alignItems:"flex-start",gap:10,marginTop:20},verifiedCustdMdlAddCosignerStep2BodyHeader:{width:"100%",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},verifiedCustdMdlAddCosignerStep2BodyHeaderFirstText:{color:"#0C0C0E",textAlign:"right",fontFamily:"Roboto",fontSize:12.8,fontStyle:"normal",fontWeight:"500",lineHeight:19.2},verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText:{color:"#0C0C0E",textAlign:"right",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlAddCosignerStep2BodyContent:{flexDirection:"column",alignItems:"flex-start",gap:16,width:"100%"},verifiedCustdMdlAddCosignerStep2BodyContentHeader:{paddingTop:14,justifyContent:"center",alignItems:"center",flexDirection:"column",position:"relative",width:"100%"},verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont:{width:"100%",padding:12,flexDirection:"column",alignItems:"flex-start",gap:16},verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel:{paddingVertical:4,paddingHorizontal:6,alignItems:"flex-start",gap:10,position:"absolute",left:12,top:-14,borderRadius:6,backgroundColor:"#DDE1FF"},verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText:{color:"#362689",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:14,margin:0},verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody:{flexDirection:"row",justifyContent:"space-between",alignSelf:"stretch",borderRadius:8,borderWidth:1,borderColor:"#EEEEF0",backgroundColor:"#F7F7F8",padding:12,alignItems:"flex-start",gap:16,position:"relative"},verifiedCustdMdlAC2BContentHeaderBodyHeaderCont:{flexDirection:"row",alignItems:"center",gap:12,width:"100%"},verifiedCustdMdlAC2BContentHeaderBodyHeader:{flexDirection:"column",alignItems:"flex-start",gap:6,width:"100%"},verifiedCustdMdlAC2BContentHeaderBodyTitle:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,margin:0,maxWidth:150},verifiedCustdMdlAC2BContentHeaderBodyLabel:{color:"#8F91A1",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8,margin:0,maxWidth:200},verifiedCustdMdlAC2BContentHeaderBodyButton:{flexDirection:"row",paddingVertical:5.5,paddingHorizontal:8,justifyContent:"center",alignItems:"center",gap:10,borderRadius:6,borderWidth:1,borderColor:"#603FF4",backgroundColor:"#603FF4",color:"#ECEFFF",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6},verifiedCustdMdlAddCosignerStep2BodyContentFooter:{flexDirection:"row",alignItems:"center",gap:4},verifiedCustdMdlAddCosignerStep2BodyContentFooterText:{color:"#603FF4",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:21},verifiedCustdMdlAddCosignerStep2AddMoreBody:{flexDirection:"column",alignItems:"flex-start",padding:15,gap:16,borderRadius:8,borderWidth:1,borderColor:"#D8D9DF",minWidth:"90%",marginBottom:20,width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreFirst:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreFirstHeader:{flexDirection:"row",alignItems:"flex-end",gap:5},verifiedCustdMdlAddCosignerStep2AddMoreFirstHeaderText:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:11.2,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlAddCosignerStep2AddMoreFirstFooter:{flexDirection:"row",paddingVertical:4,paddingHorizontal:6,alignItems:"flex-start",gap:10,borderRadius:6,backgroundColor:"#DDE1FF"},verifiedCustdMdlAddCosignerStep2AddMoreFirstFooterText:{color:"#362689",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:14,margin:0},verifiedCustdMdlAddCosignerStep2AddMoreSecond:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:4,width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreSecondInput:{display:"flex",padding:12,alignItems:"center",gap:182,alignSelf:"stretch",borderRadius:8,backgroundColor:"#F7F7F8",color:"#0C0C0E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18},verifiedCustdMdlAddCosignerStep2AddMoreThird:{display:"flex",alignItems:"flex-start",gap:24,width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreThirdCont:{display:"flex",alignItems:"center",gap:4},verifiedCustdMdlAddCosignerStep2AddMoreThirdContText:{color:"#383842",fontFamily:"Roboto",fontSize:13,fontStyle:"normal",fontWeight:"400",lineHeight:20},verifiedCustdMdlAddCosignerStep2AddMoreButtons:{display:"flex",alignItems:"flex-start",gap:16,alignSelf:"stretch",width:"100%",backgroundColor:"transparent"},verifiedCustdMdlAddCosignerStep2AddMoreButtonsNeut:{width:"50%",display:"flex",paddingVertical:7.5,paddingHorizontal:12,justifyContent:"center",alignItems:"center",gap:10,flexGrow:1,flexShrink:0,flexBasis:0,borderRadius:8,borderWidth:1,borderColor:"#603FF4",color:"#603FF4",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:20,backgroundColor:"transparent",cursor:"pointer"},verifiedCustdMdlAddCosignerStep2AddMoreButtonsAction:{width:"50%",display:"flex",paddingVertical:6,paddingHorizontal:8,justifyContent:"center",alignItems:"center",gap:10,flexGrow:1,flexShrink:0,flexBasis:0,alignSelf:"stretch",borderRadius:8,borderWidth:1,borderColor:"#603FF4",backgroundColor:"#603FF4",color:"#ECEFFF",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:20,cursor:"pointer"},verifiedCustdMdlAddCosignerStep2AddMoreSecondInputPlaceholder:{color:"#B6B7C3",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18},verifiedCustdMdlAddCosignerConfirmBodyContent:{display:"flex",paddingTop:20,paddingBottom:20,flexDirection:"column",justifyContent:"flex-start",alignItems:"center",gap:61,borderTopLeftRadius:8,borderTopRightRadius:8,backgroundColor:"#FFFFFF",width:"100%",maxHeight:"62.7%"},verifiedCustdMdlAddCosignerConfirmBodyCont:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:16,width:"90%"},verifiedCustdMdlAddCosignerConfirmBodyHeader:{display:"flex",flexDirection:"column",alignItems:"center",gap:16},verifiedCustdMdlAddCosignerConfirmBodyTitle:{color:"#0C0C0E",fontFamily:"Manrope",fontSize:16,fontStyle:"normal",fontWeight:"700",lineHeight:24,margin:0},verifiedCustdMdlAddCosignerConfirmBodyLabel:{color:"#5B5D6E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18,margin:0},verifiedCustdMdlAddCosignerConfirmBodyFooter:{display:"flex",width:"90%",paddingTop:15,paddingBottom:5,paddingHorizontal:15,flexDirection:"column",alignItems:"flex-start",gap:5,borderRadius:8,borderWidth:1,borderColor:"#EEEEF0",backgroundColor:"#FFFFFF"},verifiedCustdMdlAddCosignerConfirmBodyFooterIndCont:{display:"flex",width:"100%",flexDirection:"row",backgroundColor:"transparent",justifyContent:"space-between",alignItems:"center",marginBottom:3},verifiedCustdMdlAddCosignerConfirmBodyFooterInd:{display:"flex",flexDirection:"column",alignItems:"center",gap:-6,borderRadius:2},verifiedCustdMdlAddCosignerConfirmBodyFooterIndTextCont:{display:"flex",paddingVertical:4,paddingHorizontal:12,justifyContent:"center",alignItems:"center",gap:10,borderRadius:6,backgroundColor:"#603FF4"},verifiedCustdMdlAddCosignerConfirmBodyFooterIndText:{color:"#FFFFFF",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:17,margin:0},verifiedCustdMdlAddCosignerConfirmBodyFooterIndIcon:{width:12,height:12},verifiedCustdMdlPrivacyIcon:{width:20,height:20},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelCont:{width:"100%",height:51},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderCont:{width:"98%",height:16,flexShrink:0},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSlider:{width:"100%",height:5,flexShrink:0,borderRadius:10,backgroundColor:"#EEEEF0"},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd:{height:5,flexShrink:0,borderRadius:10,backgroundColor:"#603FF4",position:"relative"},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon:{flexShrink:0,position:"absolute",top:-5,right:0,width:16,height:16},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelTextCont:{display:"flex",width:"100%",paddingVertical:10,justifyContent:"space-between",alignItems:"center"},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:17,margin:0,cursor:"pointer"},verifiedCustdMdlAC2BContentHeaderBodyHeaderIcons:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:16,marginTop:10},verifiedCustdMdlAddCosignerStep2BodyContentFooterDis:{display:"flex",alignItems:"center",gap:4,marginBottom:18},verifiedCustdMdlAddCosignerStep2BodyContentFooterTextDis:{color:"#B6B7C3",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:21},verifiedCustdMdlStartupContactContentHeaderCont:{width:"100%",flexDirection:"row",justifyContent:"space-between",display:"flex"},verifiedCustdMdlAddCosignerConfirmBodyContentOutter:{backgroundColor:"rgba(0, 0, 0, 0.40)",zIndex:5,position:"absolute",width:"100%",bottom:0,right:0,left:0,height:"100%",display:"flex",flexDirection:"column-reverse"},verifiedCustdMdlPortfolioPageContentHeaderButton:{display:"flex",paddingVertical:6,paddingHorizontal:12,alignItems:"center",gap:4,borderRadius:32,backgroundColor:"#362689",cursor:"pointer",color:"#FFFFFF",borderWidth:0,width:"auto",maxWidth:150,fontFamily:"Roboto",fontSize:10.4,fontStyle:"normal",fontWeight:"400",lineHeight:14.56,height:30,flexWrap:"wrap"},verifiedCustdMdlPortfolioPageContentHeaderButtonCont:{width:"auto",height:"auto",display:"flex",flexDirection:"column",gap:4,justifyContent:"flex-start",position:"relative"},verifiedCustdMdlPortfolioPageContentHeaderButtonBody:{height:"auto",width:"auto",display:"flex",flexDirection:"column",gap:4,borderWidth:0,borderRadius:10,backgroundColor:"#F7F7F8",padding:10,position:"absolute",top:33,right:0},verifiedCustdMdlPortfolioPageContentHeaderButtonBodyCont:{backgroundColor:"transparent",cursor:"pointer",borderWidth:1,borderColor:"transparent",padding:5},verifiedCustdMdlPortfolioPageContentHeaderButtonBodyText:{width:110,fontFamily:"Roboto",fontSize:10.4,fontStyle:"normal",fontWeight:"400",lineHeight:14.56,flexWrap:"wrap"},verifiedCustdMdlProfilePopupContentThirdButton:{display:"flex",width:100,paddingVertical:6,paddingHorizontal:14,justifyContent:"center",alignItems:"center",gap:10,borderRadius:100,borderWidth:1,borderColor:"#4e2bd7"},verifiedCustdMdlProfilePopupContentThirdButtonText:{color:"#603ff4",textAlign:"center",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"600",lineHeight:17.5},verifiedCustdMdlProfilePopupContentThird:{display:"flex",padding:12,flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch",borderRadius:8,backgroundColor:"#FFFFFF",shadowColor:"#000",shadowOffset:{width:0,height:0},shadowOpacity:.12,shadowRadius:16,elevation:4},verifiedCustdMdlProfilePopupContentThirdContainer:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:12,alignSelf:"stretch"},verifiedCustdMdlProfilePopupContentThirdContent:{display:"flex",paddingVertical:4,paddingHorizontal:0,justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",borderRadius:8,cursor:"pointer"},verifiedCustdMdlProfilePopupContentThirdContentTextContainer:{display:"flex",alignItems:"center",gap:8},verifiedCustdMdlProfilePopupContentThirdContentText:{color:"#383842",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21,maxWidth:170,flexWrap:"wrap"},verifiedCustdMdlProfilePopupContentThirdContentLine:{width:"100%",height:1,backgroundColor:"#EEEEF0"},verifiedCustdMdlProfilePopupContent:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:16,alignSelf:"stretch"},verifiedCustdMdlAssetLayoutContent:{display:"flex",paddingTop:0,paddingBottom:155,paddingHorizontal:20,flexDirection:"column",alignItems:"flex-start",gap:20,borderRadius:8,backgroundColor:"#FFFFFF",width:"100%",height:"100%"},verifiedCustdMdlProfilePopupContentSecond:{display:"flex",padding:12,flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch",borderRadius:8,backgroundColor:"#FFFFFF",shadowColor:"#000",shadowOffset:{width:0,height:0},shadowOpacity:.12,shadowRadius:16,elevation:4},verifiedCustdMdlProfilePopupContentSecondText:{color:"#383842",textAlign:"center",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"700",lineHeight:21},verifiedCustdMdlProfilePopupContentSecondContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",alignSelf:"stretch"},verifiedCustdMdlProfilePopupContentSecondContent:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:8,borderRadius:24,cursor:"pointer"},verifiedCustdMdlProfilePopupContentSecondContentIcon:{display:"flex",padding:12,flexDirection:"column",alignItems:"center",gap:8,borderRadius:4,backgroundColor:"#ECEFFF"},verifiedCustdMdlProfilePopupContentSecondContentText:{color:"#000000",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18,textTransform:"capitalize",width:"auto",maxWidth:60,height:36},VerifiedCustdMdlOfferSecurityPopupInfoContentGrad:{display:"flex",paddingVertical:6,paddingHorizontal:12,justifyContent:"center",alignItems:"center",gap:10,backgroundColor:"#FFFFFF",position:"absolute",top:-1,left:4,width:230,borderRadius:2,zIndex:3,shadowColor:"#000",shadowOffset:{width:0,height:0},shadowOpacity:.12,shadowRadius:16,elevation:4},verifiedCustdMdlOfferSecurityPopupInfoContentText:{color:"#383842",width:"auto",maxWidth:300,height:"auto",flexWrap:"wrap",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8}};var jt=!1,qt=!1,Zt,zt,en,tn,nn,an,on,rn,An,Ln,bn,dn,xn,Gt=async()=>{if(qt)return;if(typeof navigator<"u"&&navigator.product==="ReactNative"){console.log("Initializing React Native platform...");let t=await import("react-native"),a=await import("events");An=(await import("expo-font")).default;let s=await import("@react-native-async-storage/async-storage");xn=await import("react-native-passkeys"),Ln=s.default,bn=a.EventEmitter;let x=({className:K,id:h,...k})=>k,l=K=>h=>Ue.default.createElement(K,{...x(h)});Zt=l(t.View),zt=l(t.Text),en=l(t.Image),tn=l(t.ScrollView),nn=t.StyleSheet,an=l(t.TextInput),on=l(t.TouchableOpacity),rn=l(t.ActivityIndicator),dn=t.StyleSheet.create(Pn),jt=!0,console.log("React Native platform initialized.")}else{console.log("Initializing Web platform...");let{motion:t}=await import("framer-motion");Zt=({onPress:a,...i})=>Ue.default.createElement("div",{onClick:a,...i}),zt=({onPress:a,...i})=>Ue.default.createElement("span",{onClick:a,...i}),en=({onPress:a,source:i,...s})=>Ue.default.createElement("img",{onClick:a,...s,src:i?.uri}),tn=a=>Ue.default.createElement("div",{style:{overflowY:"auto",...a.style}},a.children),nn={create:a=>a},dn={},an=(0,Ue.forwardRef)(({onChangeText:a,onInput:i,onKeyDown:s,onKeyPress:P,value:x,keyboardType:l,secureTextEntry:K,onSubmitEditing:h,blurOnSubmit:k,placeholderTextColor:n,...d},b)=>Ue.default.createElement("input",{...d,ref:b,value:x,onInput:m=>{i?.(m),a?.(m.target.value)},onKeyDown:m=>{m.key==="Enter"&&(m.preventDefault(),h?.(m)),s?.(m),P?.(m)},type:K?"password":l==="numeric"||l==="number-pad"?"tel":"text",onChange:()=>{}})),on=({onPress:a,style:i,...s})=>Ue.default.createElement("button",{style:{outline:"none",border:"none",...i},onClick:a,...s},s.children),rn=({color:a,size:i,...s})=>Ue.default.createElement(t.img,{height:"50px",width:"50px",src:X.loadingIcon,alt:"Loading...",animate:{rotate:360,scale:[1,1.5,1]},transition:{duration:2,repeat:1/0,ease:"linear"},...s}),jt=!1,console.log("Web platform initialized.")}qt=!0},Mt=()=>{if(!qt)throw new Error("Platform not initialized. Call `await initPlatform()` first.");return{isReactNative:jt,View:Zt,Text:zt,Image:en,ScrollView:tn,StyleSheet:nn,TextInput:an,TouchableOpacity:on,ActivityIndicator:rn,Font:An,AsyncStorage:Ln,EventEmitter:bn,styles:dn,rnPasskey:xn}};var E=pe(require("react"));var Ge=pe(require("react")),wn=(0,Ge.createContext)(void 0),Ft=({children:e})=>{let[t,a]=(0,Ge.useState)(null),[i,s]=(0,Ge.useState)(null),[P,x]=(0,Ge.useState)(null),[l,K]=(0,Ge.useState)(null),[h,k]=(0,Ge.useState)(null),[n,d]=(0,Ge.useState)(null),[b,m]=(0,Ge.useState)(null);return Ge.default.createElement(wn.Provider,{value:{chainId:t,pk:i,address:P,signer:l,provider:h,vaultContract:n,vaultData:b,setChainId:a,setPk:s,setAddress:x,setSigner:K,setProvider:k,setVaultContract:d,setVaultData:m}},e)},Me=()=>{let e=(0,Ge.useContext)(wn);if(!e)throw new Error("useVaultStore must be used within VaultContextProvider");return e};var W=pe(require("react")),Un=require("lodash");var je=require("@verified-network/verified-sdk");var he={1:{chainId:"0x1",chainName:"Ethereum",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://eth-mainnet.g.alchemy.com/v2/82hkNrfu6ZZ8Wms2vr1U331ml3FtS7AZ"],blockExplorerUrls:["https://etherscan.io/"],icon:X.ethereumIcon},8453:{chainId:"0x2105",chainName:"Base Mainnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://base-mainnet.g.alchemy.com/v2/82hkNrfu6ZZ8Wms2vr1U331ml3FtS7AZ"],blockExplorerUrls:["https://basescan.org/"],Icon:X.baseIcon},100:{chainId:"0x64",chainName:"Gnosis",nativeCurrency:{name:"XDAI",symbol:"XDAI",decimals:18},rpcUrls:["https://rpc.gnosischain.com/"],blockExplorerUrls:["https://gnosisscan.io/"],icon:X.gnosisIcon},11155111:{chainId:"0xaa36a7",chainName:"Sepolia Test Network",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://eth-sepolia.g.alchemy.com/v2/82hkNrfu6ZZ8Wms2vr1U331ml3FtS7AZ"],blockExplorerUrls:["https://sepolia.etherscan.io/"],icon:X.ethereumIcon,custodyContractBlock:9236510},84532:{chainId:"0x14a34",chainName:"Base Sepolia",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://sepolia.base.org"],blockExplorerUrls:["https://sepolia.basescan.org/"],icon:X.baseIcon}};var xt=require("@noble/hashes/pbkdf2"),gt=require("@noble/hashes/sha256"),De=require("@noble/hashes/utils"),cn=require("@noble/ciphers/aes"),Dt=pe(require("crypto-js")),ln=require("react-toastify"),ht=pe(require("react")),He=require("viem/chains"),Yn=require("viem");var Ae=require("viem");var _n={abi:[{type:"constructor",inputs:[{name:"defaultValidator",type:"address",internalType:"address"},{name:"initData",type:"bytes",internalType:"bytes"}],stateMutability:"nonpayable"},{type:"error",name:"CanNotRemoveLastValidator",inputs:[]},{type:"error",name:"DefaultValidatorAlreadyInstalled",inputs:[]},{type:"error",name:"EmergencyUninstallSigError",inputs:[]},{type:"error",name:"EnableModeSigError",inputs:[]},{type:"error",name:"FallbackAlreadyInstalledForSelector",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"FallbackCallTypeInvalid",inputs:[]},{type:"error",name:"FallbackHandlerUninstallFailed",inputs:[]},{type:"error",name:"FallbackNotInstalledForSelector",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"FallbackSelectorForbidden",inputs:[]},{type:"error",name:"HookAlreadyInstalled",inputs:[{name:"currentHook",type:"address",internalType:"address"}]},{type:"error",name:"HookPostCheckFailed",inputs:[]},{type:"error",name:"InvalidInput",inputs:[]},{type:"error",name:"InvalidModule",inputs:[{name:"module",type:"address",internalType:"address"}]},{type:"error",name:"InvalidModuleTypeId",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"InvalidNonce",inputs:[]},{type:"error",name:"LinkedList_AlreadyInitialized",inputs:[]},{type:"error",name:"LinkedList_EntryAlreadyInList",inputs:[{name:"entry",type:"address",internalType:"address"}]},{type:"error",name:"LinkedList_InvalidEntry",inputs:[{name:"entry",type:"address",internalType:"address"}]},{type:"error",name:"LinkedList_InvalidPage",inputs:[]},{type:"error",name:"MismatchModuleTypeId",inputs:[]},{type:"error",name:"MissingFallbackHandler",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"ModuleAddressCanNotBeZero",inputs:[]},{type:"error",name:"ModuleAlreadyInstalled",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"}]},{type:"error",name:"ModuleNotInstalled",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"}]},{type:"error",name:"NoValidatorInstalled",inputs:[]},{type:"error",name:"PrevalidationHookAlreadyInstalled",inputs:[{name:"currentPreValidationHook",type:"address",internalType:"address"}]},{type:"error",name:"UnauthorizedOperation",inputs:[{name:"operator",type:"address",internalType:"address"}]},{type:"error",name:"UnsupportedCallType",inputs:[{name:"callType",type:"bytes1",internalType:"CallType"}]},{type:"error",name:"ValidatorNotInstalled",inputs:[{name:"module",type:"address",internalType:"address"}]},{type:"event",name:"ERC7484RegistryConfigured",inputs:[{name:"registry",type:"address",indexed:!0,internalType:"contract IERC7484"}],anonymous:!1},{type:"event",name:"ModuleInstalled",inputs:[{name:"moduleTypeId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"module",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"ModuleUninstalled",inputs:[{name:"moduleTypeId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"module",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"fallback",stateMutability:"payable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveHook",inputs:[],outputs:[{name:"hook",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getExecutorsPaginated",inputs:[{name:"cursor",type:"address",internalType:"address"},{name:"size",type:"uint256",internalType:"uint256"}],outputs:[{name:"array",type:"address[]",internalType:"address[]"},{name:"next",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getFallbackHandlerBySelector",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bytes1",internalType:"CallType"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRegistry",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IERC7484"}],stateMutability:"view"},{type:"function",name:"getValidatorsPaginated",inputs:[{name:"cursor",type:"address",internalType:"address"},{name:"size",type:"uint256",internalType:"uint256"}],outputs:[{name:"array",type:"address[]",internalType:"address[]"},{name:"next",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initNexus",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusNoRegistry",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusScoped",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusScopedNoRegistry",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithDefaultValidator",inputs:[{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithDefaultValidatorAndOtherModules",inputs:[{name:"defaultValidatorInitData",type:"bytes",internalType:"bytes"},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithDefaultValidatorAndOtherModulesNoRegistry",inputs:[{name:"defaultValidatorInitData",type:"bytes",internalType:"bytes"},{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithSingleValidator",inputs:[{name:"validator",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithSingleValidatorNoRegistry",inputs:[{name:"validator",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"installModule",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"initData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"isModuleInstalled",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"additionalContext",type:"bytes",internalType:"bytes"}],outputs:[{name:"installed",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"uninstallModule",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"deInitData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"receive",stateMutability:"payable"}]};var Sn={abi:[{inputs:[{internalType:"address",name:"implementation_",type:"address"},{internalType:"address",name:"owner_",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"AccountAlreadyDeployed",type:"error"},{inputs:[],name:"AlreadyInitialized",type:"error"},{inputs:[],name:"ImplementationAddressCanNotBeZero",type:"error"},{inputs:[],name:"InvalidEntryPointAddress",type:"error"},{inputs:[],name:"NewOwnerIsZeroAddress",type:"error"},{inputs:[],name:"NoHandoverRequest",type:"error"},{inputs:[],name:"Unauthorized",type:"error"},{inputs:[],name:"ZeroAddressNotAllowed",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"bytes",name:"initData",type:"bytes"},{indexed:!0,internalType:"bytes32",name:"salt",type:"bytes32"}],name:"AccountCreated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"pendingOwner",type:"address"}],name:"OwnershipHandoverCanceled",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"pendingOwner",type:"address"}],name:"OwnershipHandoverRequested",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"oldOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"ACCOUNT_IMPLEMENTATION",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"epAddress",type:"address"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"cancelOwnershipHandover",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"pendingOwner",type:"address"}],name:"completeOwnershipHandover",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes",name:"initData",type:"bytes"},{internalType:"bytes32",name:"salt",type:"bytes32"}],name:"computeAccountAddress",outputs:[{internalType:"address payable",name:"expectedAddress",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initData",type:"bytes"},{internalType:"bytes32",name:"salt",type:"bytes32"}],name:"createAccount",outputs:[{internalType:"address payable",name:"",type:"address"}],stateMutability:"payable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"result",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"pendingOwner",type:"address"}],name:"ownershipHandoverExpiresAt",outputs:[{internalType:"uint256",name:"result",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"requestOwnershipHandover",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"epAddress",type:"address"}],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"epAddress",type:"address"},{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"}]};var ri="0x000000001D1D5004a02bAfAb9de2D6CE5b7B13de",di="0x00000000D3254452a909E4eeD47455Af7E27C289",Nn="0x81d4b4981670cb18f99f0b4a66446df1bf5b204d24cfcb659bf38ba27a4359b5711649ec2423c5e1247245eba2964679b6a1dbb85c992ae40b9b00c6935b02ff1b",si=0n,bt=e=>{let t=e.module||e.address,a=e.initData||e.data;if(!t||!a)throw new Error("Module or data is missing");return{module:t,data:a}},li=e=>(0,Ae.encodeAbiParameters)([{name:"bootstrap",type:"address"},{name:"initData",type:"bytes"}],[e.bootStrapAddress,(0,Ae.encodeFunctionData)({abi:_n.abi,functionName:"initNexusWithDefaultValidatorAndOtherModulesNoRegistry",args:[e.defaultValidator.data,e.validators,e.executors,e.hook,e.fallbacks,e.prevalidationHooks]})]),ci=e=>{let{deInitData:t="0x",type:a="validator",signer:i,data:s="0x",module:P,...x}=e;return{deInitData:t,data:s,module:P,address:P,signer:i,type:a,getStubSignature:async()=>Nn,signUserOpHash:async l=>await i.signMessage({message:{raw:l}}),signMessage:async l=>await i.signMessage({message:l}),...x}},ui=e=>ci({initData:e.signer.address,data:e.signer.address,deInitData:"0x",...e,address:Ae.zeroAddress,module:Ae.zeroAddress,type:"validator",getStubSignature:async()=>Nn}),fi=()=>({module:Ae.zeroAddress,data:Ae.zeroHash}),Bt=async(e,t,a)=>{let i=(0,Ae.createPublicClient)({chain:e,transport:t}),s=ui({signer:a}),P=[],x=[],l=fi(),K=[],h=Ae.zeroAddress,k=ri,n=di,d=[],b=li({defaultValidator:bt(s),validators:P.map(bt),executors:x.map(bt),hook:bt(l),fallbacks:K.map(bt),registryAddress:h,bootStrapAddress:n,prevalidationHooks:d}),m=(0,Ae.pad)((0,Ae.toHex)(si),{size:32}),y=await i.readContract({address:k,abi:Sn.abi,functionName:"computeAccountAddress",args:[b,m],authorizationList:void 0});if(y?.toLowerCase()!==Ae.zeroAddress?.toLowerCase())return y};var xe=e=>{if(!e.querySelector('link[href="https://fonts.googleapis.com"]')){let i=e.createElement("link");i.rel="preconnect",i.href="https://fonts.googleapis.com",e.head.appendChild(i)}if(!e.querySelector('link[href="https://fonts.gstatic.com"]')){let i=e.createElement("link");i.rel="preconnect",i.href="https://fonts.gstatic.com",e.head.appendChild(i)}return vn.map(i=>{if(!e.querySelector(`link[href="${i}"]`)){let P=e.createElement("link");P.rel="stylesheet",P.href=i,e.head.appendChild(P)}}),!0},we=async e=>(await e?.loadAsync({Roboto:Xn(),Manrope:En(),Hind:Tn()}),!0),rt=async(e,t)=>{try{let a;if(t)a=new je.VerifiedWallet(t);else{let d=je.VerifiedWallet.generateMnemonic();a=je.VerifiedWallet.importWallet(d)}let i=je.contractAddress,s=e&&i[e]?.Custody&&he[e]?.rpcUrls?.length>0?e:8453,P=he[s]?.rpcUrls[0],x=a.setProvider(new je.Provider(P)),l=a.privateKey,K=new je.Custody(x,i[s]?.Custody),h=x,k=[He.base,He.mainnet,He.gnosis,He.polygon,He.sepolia,He.baseSepolia].find(d=>Number(d?.id)===Number(s)),n=await Bt(k,(0,Yn.http)(),h);return s===11155111&&console.log("address to send test ETH to: ",a.address),{chainId:s,address:n,pk:l,signer:x,provider:P,vaultContract:K,vaultData:null}}catch(a){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Error while initializing user's wallet and contract: ",a),{chainId:null,address:null,pk:null,signer:null,provider:null,vaultContract:null,vaultData:null}}},te=e=>{let t=e.toLowerCase(),a=(0,gt.sha256)((0,De.utf8ToBytes)(t));return"0x"+Array.from(a).map(i=>i.toString(16).padStart(2,"0")).join("")},Ve=e=>{let t=e instanceof Uint8Array?e:new Uint8Array(e),a=(0,gt.sha256)(t);return"0x"+Array.from(a).map(i=>i.toString(16).padStart(2,"0")).join("")},nt=(e,t)=>Dt.default.AES.encrypt(e,t).toString(),dt=(e,t)=>{var a=Dt.default.AES.decrypt(e,t),i=a.toString(Dt.default.enc.Utf8);return i},Ci=(e,t)=>ht.default.createElement("div",{className:"verified-custd-mdl-general-web-toast-error"},ht.default.createElement("img",{style:{marginLeft:"5px"},src:X.errorAlert,alt:""}),ht.default.createElement("div",{className:"verified-custd-mdl-general-web-toast-error-container"},ht.default.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-title"},e),ht.default.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-label"},t)));var Xe=(e,t)=>(ln.toast.dismiss(),ln.toast.error(Ci(e,t),{closeButton:!1,position:"top-center",autoClose:3e3,hideProgressBar:!1,pauseOnHover:!1,draggable:!1,closeOnClick:!1,style:{background:"#fef2f2",width:"600px",height:"67px",maxHeight:"67px",position:"absolute",top:"5px",right:"5px",borderRadius:"8px"},icon:!1}));var un=e=>Buffer.from(e).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),Gn=e=>{e=e.replace(/-/g,"+").replace(/_/g,"/");let t=e.length%4===0?0:4-e.length%4;return e+="=".repeat(t),new Uint8Array(Buffer.from(e,"base64"))},z=(e,t,a=16)=>{if(!e)return t;let i=parseFloat(t);return t.endsWith("rem")?i*a:(t.endsWith("px"),i)},hi=e=>{let t=e.startsWith("0x")||e.startsWith("0X")?e.slice(2):e;if(t.length%2!==0)throw new Error("Invalid hex string: odd length");let a=t.length/2,i=new Uint8Array(a);for(let s=0;s<a;s++){let P=t.substr(s*2,2);i[s]=parseInt(P,16)}return i},fn=(e,t,a,i)=>{let s=hi(a);return i?{challenge:kt((0,De.randomBytes)(32)),rp:{name:e,id:i},user:{id:kt(s),name:t,displayName:t},pubKeyCredParams:[{type:"public-key",alg:-7},{type:"public-key",alg:-257}],authenticatorSelection:{userVerification:"required",residentKey:"required",requireResidentKey:!0},timeout:6e4,attestation:"none"}:{challenge:(0,De.randomBytes)(32),rp:{name:e},user:{id:s,name:t,displayName:t},pubKeyCredParams:[{type:"public-key",alg:-7},{type:"public-key",alg:-257}],authenticatorSelection:{userVerification:"required",residentKey:"required",requireResidentKey:!0},timeout:6e4,attestation:"none"}},wt=e=>{let t=atob(e),a=new ArrayBuffer(t.length),i=new Uint8Array(a);for(let s=0;s<t.length;s++)i[s]=t.charCodeAt(s);return a},st=e=>e?{challenge:kt((0,De.randomBytes)(32)),timeout:6e4,userVerification:"required",rpId:e}:{challenge:(0,De.randomBytes)(32),timeout:6e4,userVerification:"required"},kt=e=>btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),sn=e=>{let t=e.replace(/-/g,"+").replace(/_/g,"/")+"===".slice((e.length+3)%4),a=atob(t);return new Uint8Array([...a].map(i=>i.charCodeAt(0)))},it=async(e,t,a,i)=>{let s=t instanceof Uint8Array?t:new Uint8Array(t),P=(0,De.randomBytes)(8),x=Array.from(P).map(b=>b.toString(16).padStart(2,"0")).join(""),l=te(`${a}:${x}`),K=(0,De.utf8ToBytes)(l),h=(0,De.randomBytes)(12),k=i?(0,xt.pbkdf2)(gt.sha256,s,K,{c:2e4,dkLen:32}):(0,xt.pbkdf2)(gt.sha256,s,K,{c:3e5,dkLen:32}),d=(0,cn.gcm)(k,h).encrypt((0,De.utf8ToBytes)(e));return[kt(K),kt(h),kt(d)].join(".")},lt=async(e,t,a)=>{let[i,s,P]=e.split(".");if(!i||!s||!P)throw new Error("Invalid encrypted data format");let x=t instanceof Uint8Array?t:new Uint8Array(t),l=sn(i),K=sn(s),h=sn(P),n=a?(0,xt.pbkdf2)(gt.sha256,x,l,{c:2e4,dkLen:32}):(0,xt.pbkdf2)(gt.sha256,x,l,{c:3e5,dkLen:32}),d=(0,cn.gcm)(n,K);try{let b=d.decrypt(h);return(0,De.bytesToUtf8)(b)}catch{throw new Error("Decryption failed: invalid key or corrupted data")}};var H=pe(require("react"));var gn=pe(require("react")),ki=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n}=e.platform,d=Number(e.currentSlider),b=e.sliderCount?.length||0,m=b>0?100/b:0;return gn.default.createElement(a,{className:"verified-custd-mdl-startup-slider",style:{flexDirection:"row",height:4,overflow:"hidden"}},e.sliderCount?.map((y,A)=>{let v=A<=d;return gn.default.createElement(a,{key:A,className:v?"verified-custd-mdl-startup-slider-line-active":"verified-custd-mdl-startup-slider-line",style:t&&v?{...n.verifiedCustdMdlStartupSliderLineActive,width:`${m}%`}:t?{...n.verifiedCustdMdlStartupSliderLine,width:`${m}%`}:!t&&v?{width:`${m}%`}:{width:`${m}%`}})}))},Fe=ki;var ke=pe(require("react"));var yi=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n}=e.platform,[d,b]=(0,ke.useState)(null),m=L=>{if(L===""){b(null);return}let p=e.searchContent.filter(C=>{let u=C?.name?.toLowerCase(),f=L.toLowerCase();if(u?.includes(f))return C.searched=f,C.nameArray=C.name.split(""),C});b(p),e.handleButtonDisplay()},y=(L,p)=>{e.type==="area-code"?e.setSelected({area:L.phone_code,flag:L.flag,name:L.name}):e.type==="language"&&e.setSelected(L.name),e.setSearchActive&&e.setSearchActive(!1),e.handleButtonDisplay()},A=(L,p)=>L.map((C,u)=>{let f=p.includes(C.toLowerCase());return ke.default.createElement(i,{key:u,style:f?n.boldText:n.fadedText},C)}),v=(L,p=!1)=>L.map((C,u)=>{let f=t?!1:window?.location?.search===`?${u}`,_=e.selected&&e.selected.length>0,T=e.type==="language"&&f?"verified-custd-mdl-ms-search-content-active":"verified-custd-mdl-ms-search-content";return ke.default.createElement(l,{key:u,className:T,style:n.resultItem,onPress:()=>y(C,u)},ke.default.createElement(a,{style:n.resultInner},ke.default.createElement(s,{source:{uri:e.type==="language"?C.icon:C.flag},alt:"Icon",className:"verified-custd-mdl-ms-search-content-icon",style:n.icon}),ke.default.createElement(i,{className:"verified-custd-mdl-ms-search-content-text",style:n.resultText},C.nameArray&&C.searched?A(C.nameArray,C.searched):C.name,e.type==="language"&&C.label&&ke.default.createElement(i,{style:C.searched?.includes(C.label.toLowerCase())?{}:n.fadedText},` (${C.label})`))),e.type==="language"&&_&&f&&ke.default.createElement(s,{source:{uri:X.circleClicked},alt:"Clicked",style:n.selectedIcon}))});return ke.default.createElement(a,{className:"verified-custd-mdl-startup-language-content-container",style:n.container},ke.default.createElement(a,{className:"verified-custd-mdl-st-language-content"},e.headerText&&ke.default.createElement(i,{className:"verified-custd-mdl-st-language-text",style:n.headerText},e.headerText),ke.default.createElement(a,{className:"verified-custd-mdl-mobille-startup-search-box-container"},ke.default.createElement(a,{className:"verified-custd-mdl-mobile-startup-search-box",style:n.searchBox},ke.default.createElement(s,{source:{uri:X.search},alt:"Search",className:"verified-custd-mdl-mobile-search-icon",style:n.searchIcon}),ke.default.createElement(x,{placeholder:"Search",className:"verified-custd-mdl-ms-search-box-content",style:n.input,onChangeText:m,onFocus:()=>e.type==="language"&&e.setSelected("")})),ke.default.createElement(P,{className:"verified-custd-mdl-mobile-startup-search-content",style:{maxHeight:e.contentMaxHeight||300}},ke.default.createElement(a,{className:"verified-custd-mdl-ms-search-content-container"},(d||e.searchContent)?.length>0&&v(d||e.searchContent))))))},Vt=yi;var yt=pe(require("react"));var Mn=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n}=e.platform;return yt.default.createElement(i,{style:t?{...n.verifiedCustdMdlTermsAndCondition}:{},className:"verified-custd-mdl-terms-and-condition"},"By proceeding, you agree with Verified Wallet"," ",yt.default.createElement(i,{style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},className:"verified-custd-mdl-terms-and-condition"},"T&C")," ","and"," ",yt.default.createElement(i,{style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},className:"verified-custd-mdl-terms-and-condition"},"Privacy Policy."))},Fn=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n}=e.platform,d=async()=>{e.setIsLoading(!0);try{t?t&&k&&(await k.removeItem("myVault"),await k.removeItem("lastPk")):!t&&chrome?.storage?.local?(await chrome.storage.local.remove("myVault"),await chrome.storage.local.remove("lastPk")):!t&&!chrome?.storage?.local&&localStorage&&(localStorage.removeItem("myVault"),localStorage.removeItem("lastPk")),e.setisOnboard&&e.setisOnboard(!1)}finally{e.setIsLoading(!1)}};return yt.default.createElement(i,{className:"verified-custd-mdl-terms-and-condition",style:t?{...n.verifiedCustdMdlTermsAndCondition,fontSize:z(t,"0.7rem")}:{fontSize:z(t,"0.7rem")}},"Want to access a different account? Click"," ",yt.default.createElement(i,{className:"verified-custd-mdl-terms-and-condition",style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},onPress:d},"Logout")," ","to logout and login/create another account")};var Ki=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n}=e.platform,[d,b]=(0,H.useState)(e.fontsLoaded||!1),[m,y]=(0,H.useState)(""),[A,v]=(0,H.useState)(""),[L,p]=(0,H.useState)(!1),[C,u]=(0,H.useState)(""),[f,_]=(0,H.useState)(!1),{pk:T,vaultContract:F,address:q}=Me();(0,H.useEffect)(()=>{let R=async()=>{if(t)h&&await we(h),b(!0);else{let j=xe(document);b(j)}};e.fontsLoaded||R()},[]);let J=()=>{e.selectedCountry.area&&m.length===10||e.userEmail?.length>0&&isNaN(Number(e.userEmail))&&e.userEmail.includes("@")?(u(""),_(!0)):(u(""),_(!1))},Q=async()=>{if(e.userEmail===""&&m===""){u("Invalid email or phone number. Try again later");return}if(!e.helperFunctions){u("No Helper Functions provided.");return}if(e.userEmail?.length>0&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.userEmail)){u("Invalid email format.");return}let R=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${m}`,j=e.userEmail?.length>0?"email":"sms";if(R&&j&&T&&F||R&&j&&e.noContract){e.setIsLoading(!0);try{let ie=await e.helperFunctions.sendOTPVerification(q,j,R);e.setIsLoading(!1),ie?(u(""),e.setStep("3")):(u(j==="email"?"Error sending OTP to email. Try again.":"Error sending OTP to phone. Try again."),Xe("OTP Error",j==="email"?"Please enter a valid email.":"Please enter a valid phone number."))}catch{e.setIsLoading(!1),u("Unexpected error. Try again.")}}else e.noContract||u("Network error. Check your internet connection.")};return H.default.createElement(P,{style:{width:"100%",height:"100%"}},d&&H.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},H.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},H.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),H.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},H.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},e.enablePhone?"Enter your phone number":"Enter your email address"),e.enablePhone&&H.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},H.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},H.default.createElement(l,{onPress:()=>p(!L),className:"verified-custd-mdl-st-contact-first-section",style:t?{...n.verifiedCustdMdlStContactFirstSection}:{}},H.default.createElement(s,{source:{uri:e.selectedCountry.flag},alt:"Country Flag",style:t?{...n.verifiedCustdMdlStContactSelectionIcon}:{},className:"verified-custd-mdl-st-contact-selection-icon"}),H.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",e.selectedCountry.area),H.default.createElement(s,{alt:"Dropdown",className:"verified-custd-mdl-st-contact-dropdown",style:t?{...n.verifiedCustdMdlStContactDropdown}:{},source:L?{uri:X.arrowUp}:{uri:X.arrowDown}})),H.default.createElement(x,{className:"verified-custd-mdl-st-contact-second-section",style:t?{...n.verifiedCustdMdlStContactSecondSection}:{},placeholder:"Enter your phone number",placeholderTextColor:"#b6b7c3",value:e.userNumberFmt,keyboardType:"numeric",onChangeText:R=>{let j=R.replace(/\D/g,"");v(R),y(j);let ie="";for(let oe=0;oe<j?.length;oe++)ie+=j[oe],(oe+1)%5===0&&oe+1<j?.length&&(ie+=" ");e.setUserNumberFmt(ie),J()}})),L&&H.default.createElement(Vt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:J,setSelected:e.setSelectedCountry,selected:e.selectedCountry,searchActive:L,setSearchActive:p,contentMaxHeight:"300",contentbottomMargin:"300"}),m.length!==10&&A.length>10&&!C&&H.default.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check your phone number")),!L&&H.default.createElement(H.default.Fragment,null,e.enablePhone&&H.default.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-amount-info-separator",style:t?{...n.verifiedCustdMdlPPPaymentPortalAmountInfoSeparator}:{}},H.default.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...n.verifiedCustdMdlPPPaymentPortalLine}:{}}),H.default.createElement(i,{className:"verified-custd-mdl-p-payment-portal-separator-text",style:t?{...n.verifiedCustdMdlPPaymentPortalSeparatorText}:{}},"OR"),H.default.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...n.verifiedCustdMdlPPPaymentPortalLine}:{}})),H.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},H.default.createElement(x,{style:t?{...n.verifiedCustdMdlStContactSecondSection}:{},className:"verified-custd-mdl-st-contact-second-section",placeholder:"Enter your email address",placeholderTextColor:"#b6b7c3",value:e.userEmail,onChangeText:R=>{e.setUserEmail(R),e.setUserNumberFmt(""),y(""),v(""),J()}}),C&&e.userEmail.length>0&&H.default.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},C)))),!L&&H.default.createElement(a,{style:{height:"80px"}}),H.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},H.default.createElement(Mn,{platform:e.platform}),H.default.createElement(l,{style:t&&f?{...n.verifiedCustdMdlStartupButtonActive}:t&&!f?{...n.verifiedCustdMdlStartupButton}:{},className:f?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:Q},H.default.createElement(i,null,"Get OTP"))))),!d&&H.default.createElement(i,null,"Loading Module Fonts..."))},It=Ki;var Y=pe(require("react"));var ye=require("ethers"),_t=require("shamir-secret-sharing"),ae=require("@verified-network/verified-sdk");var Oe=require("viem/chains"),Bn=require("viem");var Dn=async(e,t)=>{try{return await e.getCreator(t).then(async a=>a?.status===0&&a?.response?.result[0]===!0)}catch(a){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while checking if user exists: ",a),null}},Vn=async(e,t,a,i,s,P,x,l,K,h,k,n,d,b,m,y,A)=>{try{let v={vaultId:i,hashedVaultId:s,vaultPin:P,hashedVaultPin:x,vaultContract:k,rawId:m};return await k.getCreator(s).then(async L=>{if(L?.status===0&&L?.response?.result[0]===!0)try{let p;if(m)p=await it(K,m,P,e);else{let u=(0,ye.encodeBytes32String)(P);p=nt(K,u)}let C;if(e?e&&t&&(C=await t.getItem("lastPk")):chrome?.storage?.local?C=await new Promise(u=>{chrome.storage.local.get(["lastPk"],f=>{u(f.lastPk)})}):!chrome?.storage?.local&&localStorage&&(C=localStorage.getItem("lastPk")),n==="reset-pin"&&d?.vaultContract&&y?.length>1&&A>1&&K?.length>0){let u=Number(y.length),_=(await(0,_t.split)((0,ye.getBytes)(K),Number(u),Number(A))).map(R=>un(R)),T=m?"":(0,ye.encodeBytes32String)(P),F=[],q=[];for(let R=0;R<y.length;R++){let j=y[R],ie=m?await it(_[R],m,P,e):nt(_[R],T);await k.addParticipant(s,j,ie).then(async oe=>{let ue={creatorVaultId:i,vaultPin:P,creatorHashedVaultId:s,creatorHashedVaultPin:x,cosigner:j,hashedCosigner:j,cosignerVaultIdType:"",cosignerVaultId:j,share:ie};oe?.status===0?q.push(ue):F.push(ue)}),await new Promise(oe=>setTimeout(oe,1e3))}if(F?.length>0||q?.length!==y?.length)return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while adding co-signers"),Xe("Oops somethin went wrong","error while adding co-signers"),null;let Q=await new ae.VerifiedWallet(K).getAddress();return e?e&&t&&await t.setItem("myVault",JSON.stringify({address:h,regAddress:Q,vaultId:i,hashedVaultId:s,pk:p,channel:l})):!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:h,regAddress:Q,vaultId:i,hashedVaultId:s,pk:p,channel:l})}):!e&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:h,regAddress:Q,vaultId:i,hashedVaultId:s,pk:p,channel:l})),{}}if(C&&C?.length>0)return await k.confirmParticipant(s,s,!0).then(async u=>{if(u?.status===0){e?e&&t&&await t.removeItem("lastPk"):!e&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!e&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("lastPk");try{let _=await new ae.VerifiedWallet(K).getAddress(),T;if(m)T=await it(K,m,P,e);else{let F=(0,ye.encodeBytes32String)(P);T=nt(K,F)}return e?e&&t&&await t.setItem("myVault",JSON.stringify({address:h,regAddress:_,vaultId:i,hashedVaultId:s,pk:T,channel:l})):!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:h,regAddress:_,vaultId:i,hashedVaultId:s,pk:T,channel:l})}):!e&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:h,regAddress:_,vaultId:i,hashedVaultId:s,pk:T,channel:l})),v}catch(f){return Xe("Oops something went wrong","Error saving new vault details. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("save vault failed: ",f),!1}}else return Xe("Oops something went wrong","Error creating pin for existing vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("confirm pin vault failed: ",u),!1});if(n==="invitation")return{isExisting:!0,...v};{e?e&&t&&await t.setItem("myVault",JSON.stringify({vaultId:i,hashedVaultId:s,pk:p,channel:l})):!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({vaultId:i,hashedVaultId:s,pk:p,channel:l})}):!e&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({vaultId:i,hashedVaultId:s,pk:p,channel:l}));let u=e?null:window;if(!e&&chrome?.runtime?.sendMessage)chrome.runtime.sendMessage({type:n&&n==="connect_wallet"||n&&n==="eth_requestAccounts"?"getPk":n&&n!=="connect_wallet"?n:"getPk",value:{vaultData:n&&n==="signRecovery"||n&&n==="completeRecovery"?d:{vaultId:i,hashedVaultId:s,hashedVaultPin:x},txData:b}});else if(!e&&!chrome?.runtime?.sendMessage){let f=new CustomEvent(n&&n==="connect_wallet"||n&&n==="eth_requestAccounts"?"getPk":n&&n!=="connect_wallet"?n:"getPk",{detail:{value:{vaultData:n&&n==="signRecovery"||n&&n==="completeRecovery"?d:{vaultId:i,hashedVaultId:s,hashedVaultPin:x},txData:b}}});u?.dispatchEvent(f)}else if(e&&a){let f=new a,_=n&&n==="connect_wallet"||n&&n==="eth_requestAccounts"?"getPk":n&&n!=="connect_wallet"?n:"getPk",T={vaultData:n&&n==="signRecovery"||n&&n==="completeRecovery"?d:{vaultId:i,hashedVaultId:s,hashedVaultPin:x},txData:b};f.emit(_,T)}}return n==="getPk"?{vaultId:i,hashedVaultId:s,pk:p,channel:l,shouldStop:!0}:{shouldStop:!0}}catch(p){return console.log("error......: ",p),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error handling existing vault: ",p),Xe("Oops something went wrong","Error fetching existing vault key(s). Try again later"),!1}else if(L?.status===0&&L?.response?.result[0]!==!0)return await k.createVault(s).then(async p=>p?.status===0?(e?e&&t&&await t.setItem("lastPk",K):!e&&chrome?.storage?.local?await chrome.storage.local.set({lastPk:K}):!e&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("lastPk",K),await k.confirmParticipant(s,s,!0).then(async C=>{if(C?.status===0){e?e&&t&&await t.removeItem("lastPk"):!e&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!e&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("lastPk");try{let f=await new ae.VerifiedWallet(K).getAddress(),_;if(m)_=await it(K,m,P,e);else{let T=(0,ye.encodeBytes32String)(P);_=nt(K,T)}return e?e&&t&&await t.setItem("myVault",JSON.stringify({address:h,regAddress:f,vaultId:i,hashedVaultId:s,pk:_,channel:l})):!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:h,regAddress:f,vaultId:i,hashedVaultId:s,pk:_,channel:l})}):!e&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:h,regAddress:f,vaultId:i,hashedVaultId:s,pk:_,channel:l})),v}catch(u){return Xe("Oops something went wrong","Error saving new vault details. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("save vault failed: ",u),!1}}else return Xe("Oops something went wrong","Error creating pin for new vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("confirm pin vault failed: ",C),!1})):(Xe("Oops something went wrong","Error creating new vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("create vault failed: ",p),!1))})}catch(v){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",v),Xe("Oops something went wrong","Error while creating pin. Try again later"),!1}},In=async(e,t,a,i,s,P,x,l,K,h,k,n)=>{try{let d;if(n)d=await lt(P,n,e);else{let b=(0,ye.encodeBytes32String)(i);d=dt(P,b)}if(d){let b=ae.contractAddress,m=new ae.VerifiedWallet(d),y=K&&b[K]?.Custody&&he[K]?.rpcUrls?.length>0?K:8453,A=he[y]?.rpcUrls[0],v=m.setProvider(new ae.Provider(A)),L=new ae.Custody(v,b[y].Custody);return L?await L.getCreator(a).then(async p=>{if(p?.status===0&&p?.response?.result[0]===!0){let C=await L.getQuorum(a);return C?.status===0&&C?.response?.result?.length>0?h&&Number(C?.response?.result[0])>0?{address:x,vaultId:t,hashedVaultId:a,channel:l,chainId:k||y,pin:i,rawId:n,pk:d}:Number(C?.response?.result[0])===0?{address:x,vaultId:t,hashedVaultId:a,channel:l,chainId:k||y,pin:i,rawId:n,pk:d,inCompleteVault:!0}:{address:x,vaultId:t,hashedVaultId:a,channel:l,chainId:k||y,pin:i,rawId:n}:h?{address:x,vaultId:t,hashedVaultId:a,channel:l,chainId:k||y,pin:i,rawId:n,pk:d}:{address:x,vaultId:t,hashedVaultId:a,channel:l,chainId:k||y,pin:i,rawId:n}}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Account does not exist"),null}):(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error getting vault contract"),null)}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error decrypting pk"),null}catch(d){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",d),null}},$t=async(e,t,a,i,s,P,x,l,K,h,k,n,d)=>{let b;if(k)b=k;else{let m=ae.contractAddress,y=new ae.VerifiedWallet(n),A=d&&m[d]?.Custody&&he[d]?.rpcUrls?.length>0?d:8453,v=he[A]?.rpcUrls[0],L=y.setProvider(new ae.Provider(v));b=new ae.Custody(L,m[A].Custody)}return b?await b.confirmParticipant(P,i,h).then(async m=>m?.status===0?(h?await e(a,l,K,s):await t(a,l,K,s),!0):(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Accept or reject invitation failed with"),!1)).catch(m=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Accept or reject invitation failed with error: ",m),!1)):!1},$n=async(e,t,a,i,s,P,x,l,K,h,k,n,d,b,m)=>{let y=Number(i.length),v=(await(0,_t.split)((0,ye.getBytes)(d),Number(y),x)).map(u=>un(u)),L=b?"":(0,ye.encodeBytes32String)(h),p=[],C=[];for(let u=0;u<i.length;u++){let f=i[u],_=b?await it(v[u],b,h,e):nt(v[u],L);await n.addParticipant(K,m==="remove-cosigner"?f:te(f.vaultId),_).then(async T=>{let F=m==="remove-cosigner"?{creatorVaultId:l,vaultPin:h,creatorHashedVaultId:K,creatorHashedVaultPin:k,cosigner:f,hashedCosigner:f,cosignerVaultIdType:"",cosignerVaultId:f,share:_}:{creatorVaultId:l,vaultPin:h,creatorHashedVaultId:K,creatorHashedVaultPin:k,cosigner:f.vaultId,hashedCosigner:te(f.vaultId),cosignerVaultIdType:f.otpChannel==="sms"?"PHONE":"EMAIL",cosignerVaultId:f.vaultId,share:_,...f};T?.status===0?(C.push(F),m!=="remove-cosigner"&&f.vaultId!==l&&await t(f.otpChannel,f.vaultId,l,k).then(q=>{q||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending cosigner invite")})):p.push(F)}),await new Promise(T=>setTimeout(T,1e3))}return p?.length>0||C?.length!==i?.length?(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while adding co-signers"),Xe("Oops somethin went wrong","error while adding co-signers"),!1):await n.defineQuorum(K,x.toString()).then(async u=>{if(u?.status===0&&m!=="remove-cosigner"){let f=s?.map(_=>({name:_?.name,email:_?.email,phoneNumber:_?.phoneNumber,contactType:String(_?.otpChannel)?.toUpperCase(),position:`${Qt[Number(_?.position)]} Co-Signer`}));return await a(P,l,f,Number(x),k).then(_=>{_||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending creator's confirmation")}),!0}else if(u?.status===0&&m==="remove-cosigner"){let f=s?.map(async F=>(await n.removeParticipant(K,te(F?.vaultId)))?.status===0?"true":"false");if((await Promise.all(f))?.find(F=>F==="false")?.length>0)return!1;let T=s?.map(F=>({email:F?.email,phoneNumber:F?.phoneNumber,contactType:String(F?.otpChannel)?.toUpperCase(),position:`${Qt[Number(F?.position)]} Co-Signer`}));return await a(P,l,T,Number(x),k,!0).then(F=>{F||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending creator's confirmation")}),!0}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while saving vault keys"),Xe("Oops somethin went wrong","error while saving vault keys"),!1})},Hn=async(e,t,a,i,s,P,x,l,K,h)=>{let k;if(h)k=await lt(x,h,e);else{let n=(0,ye.encodeBytes32String)(P);k=dt(x,n)}if(k){let n=ae.contractAddress,d=new ae.VerifiedWallet(k),b=K&&n[K]?.Custody&&he[K]?.rpcUrls?.length>0?K:8453,m=he[b]?.rpcUrls[0],y=d.setProvider(new ae.Provider(m)),A=new ae.Custody(y,n[b].Custody);if(A)return await A.promptSignatures(a).then(async v=>{if(v?.status===0&&v?.response?.hash){let L=new ye.AbiCoder,p,C;if(v?.response?.result?.logs?.length>0){let u=v?.response?.result?.logs?.filter(T=>T?.address?.toLowerCase()===n[b].Custody?.toLowerCase()&&T?.topics?.map(F=>F?.toLowerCase())?.includes(Wt?.toLowerCase()));C=u?.length;let f=u[0]?.data,_=L.decode(["bytes32","bytes32","uint256"],f)?.map((T,F)=>F<2?T:Number(T)).flat();p=_[_?.length-1]}else{let T=(await new ae.Provider(m).getTransactionReceipt(v?.response?.hash)).logs?.filter(J=>J?.address?.toLowerCase()===n[b].Custody?.toLowerCase()&&J?.topics?.map(Q=>Q?.toLowerCase())?.includes(Wt?.toLowerCase()));C=T?.length;let F=T[0]?.data,q=L.decode(["bytes32","bytes32","uint256"],F)?.map((J,Q)=>Q<2?J:Number(J)).flat();p=q[q?.length-1]}return await t(l,s,i,Number(p),Number(C)),!0}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("prompt signatures failed",v),!1}).catch(v=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while initiating vault recovery",v),!1))}},On=async(e,t,a,i,s,P,x,l,K,h,k,n,d,b)=>{let m;if(b)m=await lt(l,b,e);else{let y=(0,ye.encodeBytes32String)(x);m=dt(l,y)}if(m){let y=ae.contractAddress,A=new ae.VerifiedWallet(m),v=d&&y[d]?.Custody&&he[d]?.rpcUrls?.length>0?d:8453,L=he[v]?.rpcUrls[0],p=A.setProvider(new ae.Provider(L)),C=new ae.Custody(p,y[v].Custody);if(C)return await C.signTransaction(h,i,String(n)).then(async u=>u?.status===0?(await t(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(K)?"email":"sms",K,P,s),await C.checkQuorum(h,n).then(async f=>f?.status===0&&f?.response?.result?(f?.response?.result[0]===!0&&await a(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(K)?"email":"sms",K,P,s,Number(n)),!0):!1)):!1).catch(u=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while signing vault recovery",u),!1))}},Jn=async(e,t,a,i,s,P,x,l,K,h,k)=>{let n;if(k)n=await lt(x,k,e);else{let d=(0,ye.encodeBytes32String)(P);n=dt(x,d)}if(n){let d=ae.contractAddress,b=new ae.VerifiedWallet(n),m=h&&d[h]?.Custody&&he[h]?.rpcUrls?.length>0?h:8453,y=he[m]?.rpcUrls[0],A=b.setProvider(new ae.Provider(y)),v=new ae.Custody(A,d[m].Custody);return v?await v.checkQuorum(a,l).then(async L=>L?.status===0&&L?.response?.result&&L?.response?.result[0]===!0?await v.getShards(a,l).then(async p=>{if(p?.status===0&&p?.response?.result){let C=p?.response?.result.filter(u=>u!=="");if(C.length>1){let u=k?"":(0,ye.encodeBytes32String)(P),_=(await Promise.all(C.map(q=>k?lt(q,k,e):dt(q,u)))).map(q=>Gn(q)),T=await(0,_t.combine)(_),F=(0,ye.hexlify)(T);if(F){let q=k?"":(0,ye.encodeBytes32String)(P),J=k?await it(F,k,P,e):nt(F,q),Q=new ae.VerifiedWallet(F),R=await Q.getAddress(),ie=Q.setProvider(new ae.Provider(y)),oe=[Oe.base,Oe.mainnet,Oe.gnosis,Oe.polygon,Oe.sepolia,Oe.baseSepolia].find(ee=>Number(ee?.id)===Number(m)),ue=await Bt(oe,(0,Bn.http)(),ie);return e?e&&t&&await t.setItem("myVault",JSON.stringify({address:ue,regAddress:R,vaultId:s,hashedVaultId:a,pk:J,channel:K})):!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:ue,regAddress:R,vaultId:s,hashedVaultId:a,pk:J,channel:K})}):!e&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:ue,regAddress:R,vaultId:s,hashedVaultId:a,pk:J,channel:K})),!0}}else return!1}else return!1}).catch(p=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",p),!1)):!1).catch(L=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",L),!1)):!1}};var vi=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n}=e.platform,[d,b]=(0,Y.useState)(e.fontsLoaded||!1),m=(0,Y.useRef)([]),[y,A]=(0,Y.useState)(!1),[v,L]=(0,Y.useState)(60),[p,C]=(0,Y.useState)(["","","",""]),[u,f]=(0,Y.useState)(!1),[_,T]=(0,Y.useState)(""),{pk:F,vaultContract:q,address:J}=Me();(0,Y.useEffect)(()=>{let ee=async()=>{if(t)h&&await we(h),b(!0);else{let O=xe(document);b(O)}};e.fontsLoaded||ee()},[]),(0,Y.useEffect)(()=>{if(v===0)return;let ee=setInterval(()=>L(O=>O-1),1e3);return()=>clearInterval(ee)},[v]);let Q=(ee,O)=>{if(ee?.length>1){let B=ee.replace(/\D/g,""),Le=[...p],w=0;for(let Z=O;Z<p.length&&w<B.length;Z++)Le[Z]=B[w],w++;C(Le);let Ke=O+B.length;Ke<p.length&&m.current[Ke]&&m.current[Ke].focus(),f(!1)}else{let B=ee.replace(/\D/g,""),Le=[...p];Le[O]=B,C(Le),B&&m.current[O+1]&&m.current[O+1].focus(),f(!1)}},R=(ee,O,B)=>{B.nativeEvent.key==="Backspace"&&!p[O]&&O>0&&m.current[O-1]&&m.current[O-1].focus()},j=p.every(ee=>ee.length>0),ie=()=>e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,oe=async()=>{if(!j||!e.helperFunctions){f(!0),T("Please enter the complete OTP.");return}let ee=ie(),O=p.join("");if(!(!e.noContract&&!F||!e.noContract&&!q)){e.setIsLoading(!0);try{if(!await e.helperFunctions.checkOTPVerification(J,ee,O)){e.setIsLoading(!1),f(!0);return}let Le=te(ee),w=!1;if(!e.noContract&&q&&(w=await Dn(q,Le),w===null)){e.setIsLoading(!1),T("Unexpected error. Try again later."),f(!0);return}e.setIsExistingUser?.(w),e.setIsLoading(!1),e.setStep("4")}catch(B){e.setIsLoading(!1),T("Error verifying OTP. Try again."),f(!0),console.error("error: ",B)}}},ue=async()=>{if(!e.helperFunctions){T("Helper functions missing."),f(!0);return}let ee=ie(),O=e.userEmail?"email":"sms";e.setIsLoading(!0);let B=await e.helperFunctions.sendOTPVerification(J,O,ee);e.setIsLoading(!1),B?(C(["","","",""]),L(60),f(!1),T("")):Xe("OTP resend failed","Please try again later.")};return Y.default.createElement(P,null,d&&Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},Y.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Enter OTP"),Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Enter"," ",Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText,color:"#0C0C0E"}:{color:"#0C0C0E"},className:"verified-custd-mdl-startup-otp-header-text"},"4-Digits OTP (One Time Password)")," ","sent to your"," ",e.userNumberFmt?"phone number":"email address",":"),Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt&&Y.default.createElement(Y.default.Fragment,null,Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`(+${e.selectedCountry.area}) `),Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[0]," "),Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[1])),e.userEmail&&Y.default.createElement(i,null,e.userEmail)),Y.default.createElement(l,{style:{background:"transparent",width:20,height:20},onPress:()=>{e.setUserNumberFmt(""),e.setUserEmail(""),e.setStep("2")}},Y.default.createElement(s,{source:{uri:X.editBlue},alt:"Edit",style:t?{...n.verifiedCustdMdlStOtpIcon,width:20,height:20}:{},className:"verified-custd-mdl-st-otp-icon"}))))),Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},p.map((ee,O)=>Y.default.createElement(x,{key:O,ref:B=>m.current[O]=B,value:p[O],onChangeText:B=>Q(B,O),onKeyPress:B=>R(B,O,B),keyboardType:"number-pad",maxLength:1,style:t&&u?{...n.verifiedCustdMdlOtpInputRed}:t&&!u?{...n.verifiedCustdMdlOtpInput}:{},className:u?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input"}))),Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!u&&v>5&&_===""&&Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimerText}:{},className:"verified-custd-mdl-otp-timer-text"},Y.default.createElement(i,{style:{color:"#717286",fontWeight:"400"}},"00:"),v),!u&&v<=5&&v>0&&_===""&&Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimerTextRed}:{},className:"verified-custd-mdl-otp-timer-text-red"},Y.default.createElement(i,{style:{fontWeight:"400"}},"00:"),v),!u&&v===0&&_===""&&Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Didn't receive an OTP ?"),u&&_===""&&Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct OTP"),u&&_?.length>0&&Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},_),!u&&v>0&&_===""&&Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Resend OTP"),!u&&v===0&&_===""||u&&_===""?Y.default.createElement(l,{style:{background:"transparent"},onPress:async()=>{C(["","","",""]),await ue()}},Y.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendTextActive}:{},className:"verified-custd-mdl-otp-resend-text-active"},"Resend OTP")):null)),!y&&Y.default.createElement(a,{style:{height:"100px"}}),Y.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},Y.default.createElement(l,{className:j&&!u?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:oe,disabled:!j||u,style:j&&!u?{...n.verifiedCustdMdlStartupButtonActive}:{...n.verifiedCustdMdlStartupButton}},Y.default.createElement(i,null,"Proceed"))))),!d&&Y.default.createElement(i,null,"Loading Module Fonts..."))},Ht=vi;var r=pe(require("react"));var Ie=pe(require("react"));var Pi=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n,EventEmitter:d}=e.platform;(0,Ie.useEffect)(()=>{let A;return e.showButton||(A=setTimeout(()=>{if(e.messageTosend)try{let v=t?null:window;if(!t&&chrome?.runtime?.sendMessage)chrome.runtime.sendMessage(e.messageTosend,L=>{L&&e.action!=="signRecovery"&&v?.close()});else if(!t&&!chrome?.runtime?.sendMessage){let L=new CustomEvent(e.messageTosend?.type,{detail:{value:e.messageTosend?.value}});v?.dispatchEvent(L)}else t&&d&&new d().emit(e.messageTosend?.type,{value:e.messageTosend?.value})}catch(v){process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error sending message: ",v)}e.setStep&&e.stepToSet&&e.setStep(e.stepToSet)},e.timeoutTime??3e3)),()=>{A&&clearTimeout(A)}},[]);let b=()=>{e.setStep?.("6")},m=()=>{!t&&chrome.runtime&&chrome.runtime.sendMessage({type:"VW_REQ",params:{method:"closePopup"}})},y=()=>{e.handleShowDashboard()};return Ie.default.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContentContainer,alignContent:"center",justifyContent:"center",height:"100%",width:"100%",overflow:"hidden",padding:0}:{alignContent:"center",justifyContent:"center",height:"100%",width:"100%",overflow:"hidden",padding:0},className:"verified-custd-mdl-success-popup-content-container"},Ie.default.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContent}:{},className:"verified-custd-mdl-success-popup-content"},Ie.default.createElement(s,{style:{width:"90%"},source:{uri:X.successIcon},alt:"Success Icon"}),Ie.default.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContentText}:{},className:"verified-custd-mdl-success-popup-content-text"},Ie.default.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContentTextHeader}:{},className:"verified-custd-mdl-success-popup-content-text-header"},e?.showButton?e.actionHeaderText:e.customTextHeader),Ie.default.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContentTextFooter}:{},className:"verified-custd-mdl-success-popup-content-text-footer"},e?.showButton?e.actionFooterText:e.customTextFooter))),e.showButton&&e.buttonText?.length>0&&Ie.default.createElement(l,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginTop:10}:{marginTop:10},onPress:()=>{e.action==="invitation"?b():e.action==="completeRecovery"?y():e.buttonFunc&&e.buttonFunc()},className:"verified-custd-mdl-startup-button-active"},Ie.default.createElement(i,{style:{fontSize:14}},e.buttonText)),e.showButton&&e.buttonNeutText?.length>0&&Ie.default.createElement(l,{onPress:()=>{e.action==="invitation"?m():e.buttonNeutFunc&&e.buttonNeutFunc()},className:"verified-custd-mdl-startup-button-click",style:t?{...n.verifiedCustdMdlStartupButtonClick,marginTop:10}:{marginTop:10}},Ie.default.createElement(i,{style:{fontSize:14}},e.buttonNeutText)))},Be=Pi;var Ot=require("@verified-network/verified-sdk"),mn=require("ethers");var Ai=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,EventEmitter:n,styles:d,rnPasskey:b}=e.platform,[m,y]=(0,r.useState)(e.fontsLoaded||!1),[A,v]=(0,r.useState)(!0),[L,p]=(0,r.useState)(!1),[C,u]=(0,r.useState)(""),[f,_]=(0,r.useState)(!1),[T,F]=(0,r.useState)(!1),[q,J]=(0,r.useState)(!1),[Q,R]=(0,r.useState)(!1),[j,ie]=(0,r.useState)(""),[oe,ue]=(0,r.useState)(""),[ee,O]=(0,r.useState)(null),[B,Le]=(0,r.useState)(!1),[w,Ke]=(0,r.useState)(!1),[Z,$e]=(0,r.useState)(!1),[ge,se]=(0,r.useState)(""),[D,ve]=(0,r.useState)(""),[Pe,_e]=(0,r.useState)([]),[le,Ee]=(0,r.useState)(0),[fe,V]=(0,r.useState)(null),{address:Je,pk:We,chainId:Qe,vaultContract:me,signer:qe,setVaultData:at,setChainId:ct,setAddress:Ze,setPk:vt,setProvider:Re,setSigner:U,setVaultContract:G,vaultData:Te}=Me(),[S,M]=(0,r.useState)(["","","",""]),[N,ne]=(0,r.useState)(["","","",""]),Ce=(0,r.useRef)([]),Se=(0,r.useRef)([]);(0,r.useEffect)(()=>{let I=async()=>{if(t)h&&await we(h),y(!0);else{let g=xe(document);y(g)}};e.fontsLoaded||I()},[]),(0,r.useEffect)(()=>{let I=async()=>{e.setIsLoading&&e.setIsLoading(!0);let g=await e.vaultData?.vaultContract.getQuorum(e.vaultData?.hashedVaultId);if(g?.status===0&&g?.response?.result?.length>0){let Pt=Number(g?.response?.result[0]);Ee(Pt)}if(e.vaultData?.existingCosignersHashed?.length>0){_e([...new Set(e.vaultData?.existingCosignersHashed)]),e.setIsLoading&&e.setIsLoading(!1);return}let re=Ot.contractAddress[Qe]?.Custody;if(!re)return;let de=[{anonymous:!1,inputs:[{indexed:!1,name:"creator",type:"bytes32"},{indexed:!1,name:"participant",type:"bytes32"}],name:"NewParticipant",type:"event"}];if(!new mn.ethers.Contract(re,de,e.vaultData?.signer))return;let ce=new mn.ethers.Interface(de),Ct=ce.getEvent("NewParticipant").topicHash,Qn=(await new Ot.Provider(he[Qe]?.rpcUrls[0])?.getLogs({address:re,fromBlock:he[Qe]?.custodyContractBlock||0,toBlock:"latest",topics:[Ct]}))?.map(Pt=>{let Xt=ce.parseLog(Pt);return Xt?.args?.creator?.toLowerCase()===te(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)&&Xt?.args?.creator!==Xt?.args?.participant?Xt?.args?.participant:null})?.filter(Pt=>Pt!==null);_e([...new Set(Qn)]),e.setIsLoading&&e.setIsLoading(!1)};e.isExistingUser&&e.action==="reset-pin"&&e.vaultData?.signer,e.vaultData?.hashedVaultId,e.vaultData?.vaultContract&&I()},[e.isExistingUser,e.action,e.vaultData]);let Ye=(I,g,$)=>{p(!1),u("");let re=I.replace(/\D/g,""),de=$?[...N]:[...S];de[g]=re,$?(ne(de),re&&Se.current[g+1]&&Se.current[g+1].focus(),g<3&&de.every(be=>be!=="")&&S.every(be=>be!=="")&&de.join("")!==S.join("")&&(p(!0),u("Confirm Pin must match New Pin.")),g===3&&S.join("")!==de.join("")&&(p(!0),u("Confirm Pin must match New Pin."))):(M(de),re&&Ce.current[g+1]&&Ce.current[g+1].focus(),N.every(be=>be!=="")&&de.join("")!==N.join("")&&(p(!0),u("New Pin must match Confirm Pin.")))},ut=async I=>{u(""),p(!1);try{let g=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`;if(chrome?.windows?.create){let $=e?.createPasskeyDomain?.length>0?e?.createPasskeyDomain:yn,re=async(de,be,ce)=>{if(de.type==="VW:Passkey_Credential")if(de?.origin&&$?.toLowerCase()?.startsWith(de?.origin?.toLowerCase())){fe&&chrome.windows.remove(fe),be?.tab&&be?.tab?.windowId&&chrome.windows.remove(be.tab.windowId);let et=de.data;if(et?.id&&et?.rawId){let Ct=wt(et?.rawId),Nt=Ve(Ct),hn={pinString:et?.id,hashed:Nt,rawId:Ct,listener:re};await ft(hn)}else u(`Passkey creation failed: ${et?.error?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),p(!0)}else u("Passkey creation failed: invalid passkey origin. Try again later"),p(!0)};chrome.runtime.onMessage.addListener(re),await chrome.windows.create({url:`${$}?id=${g}`,type:"popup",width:500,height:600}).then(de=>{V(de.id)})}else{if(t&&!b.isSupported())return u("Your device does not support Passkeys. Change device and try again later"),p(!0),null;let $=t?await b.create(fn("Verified Wallet",g,te(g),I)):await navigator?.credentials?.create({publicKey:fn("Verified Wallet",g,te(g))});if($){let re=Ve($?.rawId);return{pinString:$?.id,hashed:re,rawId:$?.rawId}}}return null}catch(g){return u(`Passkey creation failed: ${g?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),p(!0),null}},St=async I=>{if(u(""),p(!1),chrome?.windows?.create&&window){let g=e?.getPasskeyDomain?.length>0?e?.getPasskeyDomain:Tt,$=async(re,de,be)=>{if(re.type==="VW:Passkey_Credential")if(re?.origin&&g?.toLowerCase()?.startsWith(re?.origin?.toLowerCase())){fe&&chrome.windows.remove(fe),de?.tab&&de?.tab?.windowId&&chrome.windows.remove(de.tab.windowId);let ce=re.data;if(ce?.id&&ce?.rawId){let et=wt(ce?.rawId),Ct=Ve(et),Nt={pinString:ce?.id,hashed:Ct,rawId:et,listener:$};await ft(Nt)}else u(`Passkey authentication failed: ${ce?.error?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),p(!0)}else u("Passkey authentication failed: invalid passkey origin. Try again later"),p(!0)};chrome.runtime.onMessage.addListener($),await chrome.windows.create({url:`${g}`,type:"popup",width:500,height:600}).then(re=>{V(re.id)})}else try{if(t&&!b.isSupported()){u("Your device does not support Passkeys. Change device and try again later"),p(!0);return}let g=t?await b.get(st(I)):await navigator?.credentials?.get({publicKey:st()}),$=Ve(g?.rawId);return{pinString:g?.id,hashed:$,rawId:g?.rawId}}catch(g){u(`Passkey authentication failed: ${g?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),p(!0)}},ot=(I,g,$,re)=>{let de=$.nativeEvent.key;!re&&de==="Backspace"&&!S[g]&&g>0&&Ce.current[g-1]&&Ce.current[g-1].focus(),re&&de==="Backspace"&&!N[g]&&g>0&&Se.current[g-1]&&Se.current[g-1].focus()},Ne=()=>w?e.isExistingUser?S.every(I=>I!==""):S.every(I=>I!=="")&&N.every(I=>I!==""&&S.join("")===N.join("")):!0,ze=()=>!!(Z&&D?.length===66&&D?.toLowerCase()?.startsWith("0x")),ft=async I=>{if(I?.listener&&chrome?.runtime?.onMessage?.removeListener&&chrome?.runtime?.onMessage?.removeListener(I?.listener),!e.helperFunctions)u("No Helper Functions. Please include all helper functions in the CreatePinPage props."),p(!0);else{u(""),p(!1);let g=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,$=e.userEmail?.length>0?"email":"sms";if(!e.isExistingUser&&Ne()&&g&&$&&We&&Je&&me||!e.isExistingUser&&Ne()&&g&&$&&e.vaultData?.vaultContract&&e.vaultData?.hashedOldPin||e.isExistingUser&&Ne()&&g&&$&&We&&Je&&me||e.isExistingUser&&Ne()&&g&&$&&e.vaultData?.vaultContract){e.setIsLoading(!0);let re=I?.pinString||S.join(""),de=te(g),be=I?.hashed||te(re);await Vn(t,k,n,g,de,re,be,$,I?.pk?I?.pk:We||e.vaultData?.pk,I?.address?I?.address:Je||e.vaultData?.address,I?.vaultContract?I?.vaultContract:me||e.vaultData?.vaultContract,e.action,I?.vaultData?I?.vaultData:e.vaultData,e.txData,I?.rawId,e.action==="reset-pin"?[e.vaultData?.hashedVaultId,...Pe]:void 0,le).then(async ce=>{e.setIsLoading(!1),ce?(at(ce?.shouldStop&&ce?.vaultId?{vaultId:ce?.vaultId,hashedVaultId:ce?.hashedVaultId,hashedVaultPin:ce?.hashedVaultPin,pk:ce?.pk,rawId:ce?.rawId,channel:ce?.channel}:ce?.shouldStop?{}:ce),u(""),p(!1),e.action==="invitation"?(ue(re),O(I?.rawId),F(!0)):e.action==="reset-pin"?(t?t&&k&&w&&await k.removeItem("myVault"):!t&&chrome?.storage?.local&&w?chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&w&&localStorage.removeItem("myVault"),await e.helperFunctions.sendCreatorAuthChanged($,g,I?.hashed,e.vaultData.hashedVaultPin,Date.now()),ie(`You have successfully reset your account ${w?"4-Digits PIN":"Passkey"}. ${w?"Login with the new 4-Digits PIN":"your new Passkey will be used to authenticate your account."}`),_(!0)):ce?.shouldStop?ce?.shouldStop&&e.action!=="getPk"?(ie(""),_(!0)):ce?.shouldStop&&e.action==="getPk"&&e.setStep("0"):e.setStep("5")):ce===null?e.action==="reset-pin"?(u("Reset pin failed. Try again later."),p(!0)):(u(`You are an existing user. Please use the right ${w?"existing 4-Digits PIN":"existing Passkey for "+g} to recover your account login access on this device/browser`),p(!0)):(u("Unexpected error while handling account. Please try again later."),p(!0))})}else Ne()||(u(e.isExistingUser?"Enter full pin.":"New Pin must match Confirm Pin."),p(!0))}},Cn=async I=>{let g=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,$=e.userEmail?.length>0?"email":"sms";if(oe?.length===4&&e?.vaultData?.hashedVaultId&&e.vaultData?.hashedVaultPin&&g||ee&&e?.vaultData?.hashedVaultId&&e.vaultData?.hashedVaultPin&&g){e.setIsLoading(!0);let re=te(g),de=w?te(oe):Ve(ee);await $t(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,$,re,de,e?.vaultData?.hashedVaultId,e.vaultData?.hashedVaultPin,e.vaultData?.vaultId,g,I,me).then(be=>{e.setIsLoading(!1),be&&!Te?.isExisting&&e.setShowSuccessBtn&&e.setSuccessBtnText&&e.setSuccessBtnNeutText&&e.setActionHeaderText&&e.setActionFooterText?(e.setShowSuccessBtn(!0),e.setSuccessBtnText("Continue Setting Up Your Account"),e.setSuccessBtnNeutText("Do It Later"),e.setActionHeaderText("Successful"),e.setActionFooterText(I?`You have been added as a Co-Signer for ${e.vaultData?.vaultId}`:`You rejected Co-signer reject from ${e.vaultData?.vaultId}`),e.setStep("5")):be&&Te?.isExisting&&J(!0)})}};return r.default.createElement(P,{contentContainerStyle:{flexGrow:1,padding:16,backgroundColor:"#fff"}},m&&r.default.createElement(r.default.Fragment,null,!f&&!T&&r.default.createElement(r.default.Fragment,null,!Z&&r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},r.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},!e.isExistingUser&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},w?"Create PIN":"Secure Your Account with a Passkey"),e.isExistingUser&&e.action!=="reset-pin"&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},w?"Enter PIN":"Sign-in with Existing Passkey"),e.isExistingUser&&e.action==="reset-pin"&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},w?"Change Pin":"Change Passkey"),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!e.isExistingUser&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Protect your blockchain assets with"," ",w?"PIN":"Passkey",". This"," ",w?"PIN":"Passkey"," will be required for all future transactions and logins."),e.isExistingUser&&r.default.createElement(r.default.Fragment,null,e.action!=="reset-pin"&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",r.default.createElement(i,{style:{color:"#0C0C0E"}},w?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",r.default.createElement(i,{style:{color:"#0C0C0E"}},e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)," ","account."),e.action==="reset-pin"&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, Create new",r.default.createElement(i,{style:{color:"#0C0C0E"}},w?"4-Digits PIN":"Passkey")," ","for your"," ",r.default.createElement(i,{style:{color:"#0C0C0E"}},e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)," ","account.")))),!w&&r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreTitle,fontSize:z(t,"14px")}:{fontSize:z(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"A passkey replaces passwords. Only your device can unlock it via PIN, Face/Voice/Fingerprint."),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Your passkey is stored in your cloud account such as Apple iCloud Keychain, Google Password Manager, or Microsoft Account and synchronized across all devices."),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"In the event of device loss, as long as you have access to your cloud account, you can recover your passkey."),!e.isExistingUser&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},'Click "Create New Passkey" button, passkey setup popup will appears to create new passkey and secure your account.'),e.isExistingUser&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Click"," ",e.action==="reset-pin"?"Create New Passkey":"Login With Passkey"," ","button, passkey popup will appears"," ",e.action==="reset-pin"?"to create new passkey and secure your account":"to login using the accoun't passkey."),r.default.createElement(l,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey"))),w&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a,{style:t?{...d.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},!e.isExistingUser&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"New PIN"),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},S.map((I,g)=>r.default.createElement(x,{key:`pin-${g}`,style:t&&L?{...d.verifiedCustdMdlOtpInputRed}:t&&L?{...d.verifiedCustdMdlOtpInput}:{},className:L?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:A,keyboardType:"number-pad",maxLength:1,ref:$=>Ce.current[g]=$,value:S[g],onChangeText:$=>Ye($,g,!1),onKeyPress:$=>ot($,g,$,!1)}))),e.isExistingUser&&r.default.createElement(a,{style:t?{...d.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!L&&r.default.createElement(i,null),L&&C===""&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),L&&C?.length>0&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),!A&&r.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>v(!0)},r.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:X.pinShow}})),A&&r.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>v(!1)},r.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:X.pinHide}})))),!e.isExistingUser&&r.default.createElement(a,{style:t?{...d.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"Confirm PIN"),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},N.map((I,g)=>r.default.createElement(x,{key:`confirm-${g}`,style:t&&L?{...d.verifiedCustdMdlOtpInputRed}:t&&!L?{...d.verifiedCustdMdlOtpInput}:{},className:L?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:A,keyboardType:"number-pad",maxLength:1,ref:$=>Se.current[g]=$,value:N[g],onChangeText:$=>Ye($,g,!0),onKeyPress:$=>ot($,g,$,!0)}))),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!L&&r.default.createElement(i,null),L&&C===""&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),L&&C?.length>0&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),!A&&r.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>v(!0)},r.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:X.pinShow}})),A&&r.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>v(!1)},r.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:X.pinHide}})))))),!B&&r.default.createElement(a,{style:{height:20}}),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},!w&&r.default.createElement(r.default.Fragment,null,L&&C?.length>0&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),e.isExistingUser&&r.default.createElement(r.default.Fragment,null,e.action==="reset-pin"&&!w&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlOtpIncorrectText,color:"#603FF4",margin:"10px"}:{color:"#603FF4",margin:"10px"},className:"verified-custd-mdl-otp-incorrect-text"},'Note: Before starting this process ensure you have backed up your private key. To do so, please navigate to the "Account" section on your dashboard and click on "View Private Key." Once displayed, write down the private key and store it securely. Incomplete passkey change process may result in loss of access to your account.'),r.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t?{...d.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async I=>{if(e.action==="reset-pin"){let g=await ut(e?.passKeyRpId);g&&await ft(g)}else{let g=await St(e?.passKeyRpId);g&&await ft(g)}}},e.action==="reset-pin"&&r.default.createElement(i,null,"Create New Passkey"),e.action!=="reset-pin"&&r.default.createElement(i,null,"Login With Passkey"))),!e.isExistingUser&&r.default.createElement(r.default.Fragment,null,r.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t?{...d.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async I=>{if(!e.helperFunctions){u("No Helper Functions. Please include all helper functions in the CreatePinPage props."),p(!0);return}let g=await ut(e?.passKeyRpId);g&&await ft(g)}},r.default.createElement(i,null,"Create New Account")),r.default.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-amount-info-separator",style:t?{...d.verifiedCustdMdlPPPaymentPortalAmountInfoSeparator}:{}},r.default.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...d.verifiedCustdMdlPPPaymentPortalLine}:{}}),r.default.createElement(i,{className:"verified-custd-mdl-p-payment-portal-separator-text",style:t?{...d.verifiedCustdMdlPPaymentPortalSeparatorText}:{}},"OR"),r.default.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...d.verifiedCustdMdlPPPaymentPortalLine}:{}})),r.default.createElement(l,{style:t?{...d.verifiedCustdMdlStartupButtonActive,border:"1px solid #0c0c0e"}:{border:"1px solid var(--Neutral-950, #0c0c0e)"},className:"verified-custd-mdl-startup-button-click",onPress:async I=>{$e(!0)}},r.default.createElement(i,null,"Import An Existing account")))),w&&r.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t&&Ne()?{...d.verifiedCustdMdlStartupButtonActive}:t&&!Ne()?{...d.verifiedCustdMdlStartupButton}:{},className:Ne()?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:async I=>{await ft()}},r.default.createElement(i,null,"Proceed"))))),Z&&r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},r.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Import Existing Account"))),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStContactInput,marginTop:"20px",marginBottom:"20px"}:{marginTop:"20px",marginBottom:"20px"},className:"verified-custd-mdl-st-contact-input"},r.default.createElement(x,{style:t?{...d.verifiedCustdMdlStContactSecondSection}:{},className:"verified-custd-mdl-st-contact-second-section",placeholder:"Private key starting with 0x",placeholderTextColor:"#b6b7c3",value:D,onChangeText:I=>{ve(I)}}),ge?.length>0&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},ge)),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreTitle,fontSize:z(t,"14px")}:{fontSize:z(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"A passkey replaces passwords. Only your device can unlock it via PIN, Face/Voice/Fingerprint."),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Your passkey is stored in your cloud account such as Apple iCloud Keychain, Google Password Manager, or Microsoft Account and synchronized across all devices."),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"In the event of device loss, as long as you have access to your cloud account, you can recover your passkey."),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},'Click "Proceed With Passkey" button, passkey setup popup will appears to create new passkey and secure your account.'),r.default.createElement(l,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey"))),!B&&r.default.createElement(a,{style:{height:20}}),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},L&&C?.length>0&&r.default.createElement(i,{style:t?{...d.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),r.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t&&ze()?{...d.verifiedCustdMdlStartupButtonActive}:t&&!ze()?{...d.verifiedCustdMdlStartupButton}:{},className:ze()?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:async I=>{try{if(!ze()){p(!0),u("Invalid private key entered. Please scroll up, check private key and try again.");return}let g=await rt(Qe,D);if(!g?.chainId||!g?.address||!g?.pk||!g?.provider||!g?.signer||!g?.vaultContract){p(!0),u("Invalid private key entered. Please check private key starts with 0x and try again.");return}ct(g.chainId),Ze(g.address),vt(g.pk),Re(g.provider),U(g.signer),at(g.vaultData),G(g.vaultContract);let $=await ut(e?.passKeyRpId);$&&await ft({...$,pk:g.pk,vaultContract:g.vaultContract,signer:g.signer,address:g.address,vaultData:g.vaultData})}catch{p(!0),u("Error while importing account.try again later.");return}}},r.default.createElement(i,null,"Proceed With Passkey")))))),!f&&T&&r.default.createElement(r.default.Fragment,null,!q&&r.default.createElement(a,{className:"verified-custd-mdl-startup-language",style:t?{...d.verifiedCustdMdlStartupLanguage,padding:0,position:"relative"}:{padding:0,position:"relative"}},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},r.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},r.default.createElement(i,{style:{fontWeight:"bold"}},e.vaultData?.vaultId)," ","has requested you to be a Co-Signer"))),r.default.createElement(s,{style:t?{...d.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:X.addCoSignerIcon1}}),!Q&&r.default.createElement(P,null,r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),r.default.createElement(i,{className:"verified-custd-mdl-add-cosigner-more-label",style:t?{...d.verifiedCustdMdlAddCosignerMoreLabel}:{fontSize:12,color:"#5B5D6E"}},"A Co-Signer is a person who has the right given by you to generate a new pin on your behalf incase you forget it."),r.default.createElement(a,{className:"verified-custd-mdl-add-cosigner-body-text-cont"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},r.default.createElement(s,{source:{uri:X.pkicon}})),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},r.default.createElement(s,{source:{uri:X.encryptedIcon}})),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"will not get access")," ","to your account in any way."))),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},r.default.createElement(l,{style:t?{...d.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},className:"verified-custd-mdl-add-cosigner-button-neut",onPress:()=>R(!0)},r.default.createElement(i,null,"Reject")),r.default.createElement(l,{style:t?{...d.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await Cn(!0)}},r.default.createElement(i,null,"Accept")))),Q&&r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),r.default.createElement(i,{style:t?{...d.verifiedCustdMdlAddCosignerConfirmBodyLabel,fontSize:12,color:"#5B5D6E"}:{fontSize:12,color:"#5B5D6E"},className:"verified-custd-mdl-add-cosigner-confirm-body-label"},"Once you reject to be a co-signer for"," ",r.default.createElement(i,{style:{fontWeight:"bold"}},e.vaultData?.vaultId),", you will not be able to reset the PIN for them.")),r.default.createElement(a,{style:t?{...d.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},r.default.createElement(l,{style:t?{...d.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await Cn(!1)}},r.default.createElement(i,null,"Yes")),r.default.createElement(l,{style:t?{...d.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:()=>R(!1)},r.default.createElement(i,null,"No"))))))),q&&r.default.createElement(Be,{platform:e.platform,messageTosend:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:Q?`You rejected Co-signer request from ${e.vaultData?.vaultId}`:`You have been added as a Co-Signer for ${e.vaultData?.vaultId}`})),f&&r.default.createElement(Be,{platform:e.platform,messageTosend:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:j?.length>0?j:"You have successfully logged in your account."})),!m&&r.default.createElement(i,null,"Loading Module Fonts..."))},Kt=Ai;var o=pe(require("react"));var pn=require("ethers"),Jt=require("@verified-network/verified-sdk");var Li=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n}=e.platform,[d,b]=(0,o.useState)(e.fontsLoaded||!1),[m,y]=(0,o.useState)(!1),[A,v]=(0,o.useState)("1"),[L,p]=(0,o.useState)("1"),[C,u]=(0,o.useState)(!1),[f,_]=(0,o.useState)("email"),[T,F]=(0,o.useState)(""),[q,J]=(0,o.useState)(""),[Q,R]=(0,o.useState)(""),[j,ie]=(0,o.useState)(""),[oe,ue]=(0,o.useState)(""),[ee,O]=(0,o.useState)(!1),[B,Le]=(0,o.useState)(e.defaultCountry||{area:"1",flag:X.usaFlag,name:"United States"}),[w,Ke]=(0,o.useState)([]),[Z,$e]=(0,o.useState)(0),[ge,se]=(0,o.useState)([]),[D,ve]=(0,o.useState)([]),[Pe,_e]=(0,o.useState)(!1),[le,Ee]=(0,o.useState)(2),[fe,V]=(0,o.useState)(""),[Je,We]=(0,o.useState)(!1),{pk:Qe,vaultData:me,vaultContract:qe,chainId:at,signer:ct}=Me();(0,o.useEffect)(()=>{let U=async()=>{if(t)try{let G=await we(h);b(!0)}catch{b(!1)}else{let G=xe(document);b(G)}};e.fontsLoaded||U()},[]),(0,o.useEffect)(()=>{let U=async()=>{e.setIsLoading&&e.setIsLoading(!0);let G=te(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`),Te=await qe.getQuorum(G);if(Te?.status===0&&Te?.response?.result?.length>0){let Ne=Number(Te?.response?.result[0]);$e(Ne),ve(new Array(Ne).fill(" "))}if(e.setIsLoading&&e.setIsLoading(!1),me?.existingCosignersHashed?.length>0){se([...new Set(me?.existingCosignersHashed)]),ve([...new Set(me?.existingCosignersHashed)]);return}let M=Jt.contractAddress[at]?.Custody;if(!M)return;let N=[{anonymous:!1,inputs:[{indexed:!1,name:"creator",type:"bytes32"},{indexed:!1,name:"participant",type:"bytes32"}],name:"NewParticipant",type:"event"}];if(!new pn.ethers.Contract(M,N,ct))return;let Ce=new pn.ethers.Interface(N),Ye=Ce.getEvent("NewParticipant").topicHash,ot=(await new Jt.Provider(he[at]?.rpcUrls[0])?.getLogs({address:M,fromBlock:he[at]?.custodyContractBlock||0,toBlock:"latest",topics:[Ye]}))?.map(Ne=>{let ze=Ce.parseLog(Ne);return ze?.args?.creator?.toLowerCase()===te(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)&&ze?.args?.creator!==ze?.args?.participant?ze?.args?.participant:null})?.filter(Ne=>Ne!==null);se([...new Set(ot)]),ve([...new Set(ot)])};(e.userEmail?.length>0&&e.action==="remove-cosigner"&&ct&&qe||e.userNumberFmt?.length>0&&e.action==="remove-cosigner"&&ct&&qe)&&U()},[e.userEmail,e.action,e.userNumberFmt,e.selectedCountry.area]);let Ze=()=>{},vt=()=>{let U=w?.length;if(f==="sms"&&T?.length===0){V("Invalid input, please check the phone number");return}else if(f==="sms"&&T?.length!==10){V("Invalid input, please check the phone number");return}else if(f==="email"&&Q?.length===0){V("Invalid input, please check the email");return}else if(f==="email"&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(Q)){V("Invalid input, please check the email");return}else if(w?.find(G=>G?.otpChannel==="sms"?G?.phoneArea?.toLowerCase()+G?.number?.toLowerCase()===B.area?.toLowerCase()+q?.toLowerCase():G?.email?.toLowerCase()===Q?.toLowerCase())){e.action!=="remove-cosigner"&&V(f==="sms"?"Invalid input, phone number is already a co-signer":"Invalid input, email is already a co-signer"),e.action==="remove-cosigner"&&V(f==="sms"?"Invalid input, phone number is already added to list of co-signers to remove":"Invalid input, email is already added to list of co-signers to remove");return}else if(f==="sms"&&B?.area?.toLowerCase()+q?.toLowerCase()===e.selectedCountry.area?.toLowerCase()+e.userNumberFmt?.toLowerCase()){V("Invalid input, phone number is creator's phone number");return}else if(f==="email"&&Q?.toLowerCase()===e.userEmail?.toLowerCase()){V("Invalid input, email is creator's email");return}else if(e.action==="remove-cosigner"&&ge?.length===0){V("Error while fetching your existing cosigners. Try again later");return}else if(e.action==="remove-cosigner"&&!ge?.includes(te(f==="sms"?`+${B?.area}${T}`:Q))){V(f==="sms"?"Invalid input, phone number entered is not a valid co-signer of your account.":"Invalid input, email entered is not a valid co-signer of your account.");return}else if(e.action==="remove-cosigner"&&D?.length===1){V("You have only 1 co-signer left, at least one(1) co-signer is required.");return}else if(U+1===5){V("You cannot add more than 5 Co-signers to your account. You can delete existing cosigner and add new one.");return}V(""),Ke(G=>[{name:j,email:Q,number:q,phoneNumber:`+${B?.area}${T}`,otpChannel:f,phoneArea:B?.area,position:G?.length+1,vaultId:f==="sms"?`+${B?.area}${T}`:Q},...G]),R(""),ie(""),F(""),J(""),ue(""),U+1===4&&u(!1),e.action==="remove-cosigner"&&D?.length>1&&ve(D?.filter(G=>G!==te(f==="sms"?`+${B?.area}${T}`:Q)))},Re=async()=>{let U=e.action!=="remove-cosigner"?[{otpChannel:e?.userEmail?.length>0?"email":"sms",email:e?.userEmail,phoneNumber:`+${e?.selectedCountry?.area}${e?.userNumberFmt?.replace(" ","")}`,vaultId:me?.vaultId},...w]:[me?.hashedVaultId,...D];(e.action!=="remove-cosigner"&&U?.length>0&&w?.length>0&&le&&me?.vaultId&&me?.hashedVaultId&&qe&&Qe&&e.helperFunctions?.sendCoSignerInvitation&&e.helperFunctions?.sendCreatorConfirmation||e.action==="remove-cosigner"&&U?.length>1&&le&&me?.vaultId&&me?.hashedVaultId&&qe&&Qe&&e.helperFunctions?.sendCoSignerInvitation&&e.helperFunctions?.sendCreatorConfirmation)&&(e.setIsLoading(!0),await $n(t,e.helperFunctions.sendCoSignerInvitation,e.helperFunctions.sendCreatorConfirmation,U,w,e?.userEmail?.length>0?"email":"sms",le,me.vaultId,me.hashedVaultId,me.vaultPin,me.hashedVaultPin,qe,Qe,me?.rawId,e.action).then(G=>{e.setIsLoading(!1),G&&(e.action==="remove-cosigner"?We(!0):e.setStep("7"))}))};return o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"0"}:{padding:"0"},className:"verified-custd-mdl-startup-language"},d&&!Je&&o.default.createElement(o.default.Fragment,null,!m&&o.default.createElement(o.default.Fragment,null,L==="1"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},o.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},e.action==="remove-cosigner"?"You can remove an existing Co-signer":" We require you to add at least another Co-Signer."))),o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:X.addCoSignerIcon1},alt:""}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBody}:{},className:"verified-custd-mdl-add-cosigner-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.default.createElement(s,{source:{uri:X.pkicon},alt:"icon"})),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"This is a blockchain based platform where"," ",o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"we do not store password keys."))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.default.createElement(s,{source:{uri:X.encryptedIcon},alt:"icon"})),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, the"," ",o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"Co-Signer does not get access")," ","to your account in any way.")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.default.createElement(s,{source:{uri:X.supervise},alt:"icon"})),e.action!=="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"You can"," ",o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"be your own Co-Signer")," ","by adding a different contact number or Email ID. to your account in any way."),e.action==="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"You may remove an existing Co-signer; however"," ",o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"at least one (1) Co-signer must remain")," ","on the account. You can manage your account\u2019s Co-signers on the next page."))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},onPress:()=>{v("1"),y(!0)},className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(i,null,"Learn More")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,width:"50%"}:{width:"50%"},onPress:()=>{p("2"),u(!1),y(!1)},className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(i,null,e.action==="remove-cosigner"?"Manage Signers":"Add Co-Signer")))),L==="2"&&o.default.createElement(o.default.Fragment,null," ",o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},o.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent,gap:16}:{gap:16},className:"verified-custd-mdl-startup-contact-content"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},e.action==="remove-cosigner"?"Remove your Co-signers":"Add your Co-Signers"),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!Pe&&o.default.createElement(o.default.Fragment,null,o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderText}:{},className:"verified-custd-mdl-add-cosigner-header-text"},e.action==="remove-cosigner"?"Input phone number/an Email ID of the Co-Signer you want to remove":"Add a phone number/an Email ID of Co-Signer to send them a request."),e.action==="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderText}:{},className:"verified-custd-mdl-add-cosigner-header-text"},"You Signing rule is"," ",o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoTextBold}:{},className:"verified-custd-mdl-add-cosigner-header-info-text-bold"},Z," required signers"))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoCont}:{},className:"verified-custd-mdl-add-cosigner-header-info-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoText}:{},className:"verified-custd-mdl-add-cosigner-header-info-text"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoTextBold}:{},className:"verified-custd-mdl-add-cosigner-header-info-text-bold"},"NOTE:")," ",e.action==="remove-cosigner"?"You cannot remove all Co-signers at least one(1) must remain, This is to ensure your account is secured.":"You can add yourself as a Co-Signer and further add more Co-Signers to your account."))))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2Body}:{},className:"verified-custd-mdl-add-cosigner-step2-body"},e.action==="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},"Creator")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},"You"),e.userEmail?.length>0&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},e.userEmail),e.userEmail?.length===0&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",e.selectedCountry.area,")"," ",e.userNumberFmt))))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderFirstText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-first-text"},e.action==="remove-cosigner"?"Remove Co-signers":"Add Co-Signers"),e.action!=="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-second-text"},"(",w?.length+1<5?w?.length+1:5,"/5)"),e.action==="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-second-text"},"(",w?.length,"/5)")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContent}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header"},e.action==="remove-cosigner"&&D?.includes(" ")&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Fetching previous Co-signers..."),e.action!=="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},"Creator")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},"You"),e.userEmail?.length>0&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},e.userEmail),e.userEmail?.length===0&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",e.selectedCountry.area,")"," ",e.userNumberFmt))))),!Pe&&w.sort((U,G)=>U?.position-G?.position).map((U,G)=>o.default.createElement(a,{key:G,style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},At[U?.position]?.split(" ")[0],o.default.createElement(i,null,o.default.createElement(i,{style:{fontSize:10}},At[U?.position]?.split(" ")[1]))," ","Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":"")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},U?.name),U.otpChannel==="email"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},U.email),U.otpChannel==="sms"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",U?.phoneArea,") ",U.number))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderIcons,flexDirection:"row"}:{flexDirection:"row"},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-icons"},o.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>{Ke(Te=>Te?.filter(S=>S?.otpChannel==="sms"?S?.phoneArea?.toLowerCase()+S?.number?.toLowerCase()!==U?.phoneArea?.toLowerCase()+U?.number?.toLowerCase():S?.email?.toLowerCase()!==U?.email?.toLowerCase())?.map((S,M)=>(S.position=M+1,S))),Ze()}},o.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:X.delete}}))))))),Pe&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Specify the number of Co-Signers you need to sign off for an approval"),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyLabel}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-label"},"By default we need 2, you can add up to 5 Co-Signers as minimum sign off needed for approval.")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooter,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-add-cosigner-confirm-body-footer"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-cont"},new Array(e.action==="remove-cosigner"?D?.length+1:w?.length+1).fill("1").map((U,G)=>o.default.createElement(a,{key:G,className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind",style:G+1===le&&t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd}:G+1===le&&!t?{}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd,height:0,width:0,overflow:"hidden"}:{height:0,width:0,overflow:"hidden"}},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndText}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text"},String(G+1))),o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-icon",source:{uri:X.pointer}})))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSlider}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider"},e.action!=="remove-cosigner"&&o.default.createElement(a,{style:t&&w?.length===1?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/w?.length}%`}:!t&&w?.length===1?{width:`${100/w?.length}%`}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/w?.length+5}%`}:{width:`calc(${100/w?.length}% + 12px)`},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind"},o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon",source:{uri:X.sliderDot}})),e.action==="remove-cosigner"&&o.default.createElement(a,{style:t&&D?.length===1?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/D?.length}%`}:!t&&D?.length===1?{width:`${100/D?.length}%`}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/D?.length+5}%`}:{width:`calc(${100/D?.length}% + 12px)`},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind"},o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon",source:{uri:X.sliderDot}})))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text-cont"},new Array(e.action==="remove-cosigner"?D?.length+1:w?.length+1).fill("1").map((U,G)=>o.default.createElement(l,{style:{background:"transparent"},key:G,onPress:()=>{G+1>1&&Ee(G+1)}},e.action!=="remove-cosigner"&&o.default.createElement(i,{style:t&&G===w?.length?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingRight:12}:t&&G===0?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingLeft:12}:!t&&G===0?{paddingLeft:12}:!t&&G===w?.length?{paddingRight:12}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text"},String(G+1)),e.action==="remove-cosigner"&&o.default.createElement(i,{style:t&&G===D?.length?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingRight:12}:t&&G===0?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingLeft:12}:!t&&G===0?{paddingLeft:12}:!t&&G===D?.length?{paddingRight:12}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text"},String(G+1))))))),o.default.createElement(l,{id:"confirm-cosigner-button",style:t?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:10,width:"100%"}:{marginBottom:10,width:"100%"},className:"verified-custd-mdl-startup-button-active",onPress:async()=>{await Re()}},o.default.createElement(i,null,"Confirm"))))),C&&w?.length<4&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreBody,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-step2-add-more-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirst}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeaderText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header-text"},"Add Details")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooter}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooterText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer-text"},At[w?.length+1]?.split(" ")[0],o.default.createElement(i,{style:{fontSize:10}},At[w?.length+1]?.split(" ")[1])," ","Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":""))),e.action!=="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecond}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-second"},o.default.createElement(x,{onChangeText:ie,value:j,placeholder:"Enter Co-signer name",placeholderTextColor:"#B6B7C3",className:"verified-custd-mdl-add-cosigner-step2-add-more-second-input",style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecondInput}:{}})),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},e.enablePhone&&o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{_("sms"),V(""),R("")}},o.default.createElement(s,{source:{uri:f==="sms"?X.selectClicked:X.select},style:{width:24,height:24}}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Phone number")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{_("email"),V(""),F(""),J(""),ue("")}},o.default.createElement(s,{source:{uri:f==="email"?X.selectClicked:X.select},style:{width:24,height:24}}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Email"))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},f==="sms"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},o.default.createElement(l,{onPress:()=>O(!ee),style:t?{...n.verifiedCustdMdlStContactFirstSection,flexDirection:"row",alignItems:"center"}:{flexDirection:"row",alignItems:"center"},className:"verified-custd-mdl-st-contact-first-section"},o.default.createElement(s,{source:{uri:B.flag},style:{width:24,height:16},alt:"Country Flag"}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",B.area),ee?o.default.createElement(s,{source:{uri:X.arrowUp},style:{width:16,height:16},alt:"Dropdown Icon"}):o.default.createElement(s,{source:{uri:X.arrowDown},style:{width:16,height:16},alt:"Dropdown Icon"})),o.default.createElement(x,{onChangeText:U=>{ue(U===""?oe+" ":U);let G=U.replace(/\D/g,"");F(G);let Te="";for(let S=0;S<G.length;S++)Te+=G[S],(S+1)%5===0&&S+1<G.length&&(Te+=" ");J(Te),V("")},onBlur:Ze,value:q,placeholder:"Enter phone number",placeholderTextColor:"#b6b7c3",keyboardType:"phone-pad",className:"verified-custd-mdl-st-contact-second-section",style:t?{...n.verifiedCustdMdlStContactSecondSection}:{}})),ee&&o.default.createElement(Vt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:Ze,setSelected:Le,selected:B,searchActive:ee,setSearchActive:O,contentMaxHeight:300,contentbottomMargin:300}),fe===""&&T.length!==10&&oe.length>10&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check the phone number")),fe!==""&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},fe))),f==="email"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-st-contact-input"},o.default.createElement(x,{style:t?{...n.verifiedCustdMdlStContactSecondSection,width:"100%"}:{width:"100%"},onChangeText:U=>{R(U),V("")},onBlur:Ze,value:Q,placeholder:"Enter email",placeholderTextColor:"#b6b7c3",keyboardType:"email-address",autoCapitalize:"none",className:"verified-custd-mdl-st-contact-second-section"}),fe!==""&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},fe)))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtons,flexDirection:"row",justifyContent:"space-between"}:{flexDirection:"row",justifyContent:"space-between"},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtonsNeut,flex:1,marginRight:8,border:"1px solid #603FF4",color:"#603FF4"}:{flex:1,marginRight:8,border:"1px solid var(--secondary-electric-violet-600, #603FF4)",color:"var(--secondary-electric-violet-600, #603FF4)"},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons-neut",onPress:()=>u(!1)},o.default.createElement(i,null,"Cancel")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtonsAction,flex:1,marginLeft:8}:{flex:1,marginLeft:8},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons-action",onPress:()=>{vt(),Ze()}},o.default.createElement(i,null,"Add")))),!C&&!Pe&&w?.length<4&&o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooter,background:"transparent",width:20,height:20}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer",onPress:()=>u(!0)},o.default.createElement(s,{source:{uri:X.addIcon},style:{width:20,height:20}}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-text"}," ",e.action==="remove-cosigner"?" Add Co-Signer to remove":" Add another Co-Signer")),!C&&!Pe&&w?.length===4&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterDis}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-dis"},o.default.createElement(s,{source:{uri:X.addDisableIcon},style:{width:20,height:20}}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterTextDis}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-text-dis"},"Add another Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":"")))),!Pe&&o.default.createElement(l,{className:w?.length>0?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",style:t&&w?.length>0?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px",width:"100%"}:t&&w?.length===0?{...n.verifiedCustdMdlStartupButton,marginBottom:"20px",width:"100%"}:t&&w?.length>0&&!C&&w?.length<4?{...n.verifiedCustdMdlStartupButtonActive,marginTop:"50px",marginBottom:"20px",width:"100%"}:t&&w?.length===0&&!C&&w?.length<4?{...n.verifiedCustdMdlStartupButton,marginTop:"50px",marginBottom:"20px",width:"100%"}:!C&&w?.length<4?{marginTop:"50px",marginBottom:"20px",width:"100%"}:{marginBottom:"20px",width:"100%"},onPress:()=>{w?.length>0&&(Ee(2),_e(!0),u(!1))}},o.default.createElement(i,{style:n.buttonText},"Proceed")))),m&&o.default.createElement(o.default.Fragment,null,A==="1"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:X.addCoSignerIcon2},alt:""}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel}:{},className:"verified-custd-mdl-add-cosigner-more-label"},"A Co-Signer is a person who has the right given by you to generate a new pin on your behalf incase you forget it.")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>y(!1),className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(i,null,"Back")),o.default.createElement(l,{onPress:()=>v("2"),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(i,null,"Next")))),A==="2"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(s,{className:"verified-custd-mdl-add-cosigner-body-icon",style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},source:{uri:X.addCoSignerIcon3},alt:""}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Why is it needed?"))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel}:{},className:"verified-custd-mdl-add-cosigner-more-label"},"In blockchain application, it is impossible to reset a key if the PIN is forgotten you can login with the help of Co-Signer")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>v("1"),className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(i,null,"Back")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>v("3"),className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(i,null,"Next")))),A==="3"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:X.addCoSignerIcon4},alt:""}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Who can be my Co-Signer?"))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel}:{},className:"verified-custd-mdl-add-cosigner-more-label"},"You can nominate your trusted acquaintances, family members and even yourself as a co-signer."),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More in Details")),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>v("2"),className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(i,null,"Back")),o.default.createElement(l,{onPress:()=>{p("2"),u(!1),y(!1),v("1")},style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(i,null,"Start")))))),d&&Je&&o.default.createElement(Be,{platform:e.platform,action:e.action,setStep:e.setStep,stepToSet:"8",actionHeaderText:"Successful",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully removed cosigners and set new signing rule.",actionFooterText:"Congratulations! You have successfully removed cosigners and set new signing rule.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)}}),!d&&o.default.createElement(i,null,"Loading Module Fonts..."))},mt=Li;var c=pe(require("react"));var Rn=require("ethers"),bi=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:h,AsyncStorage:k,styles:n,rnPasskey:d}=e.platform,[b,m]=(0,c.useState)(e.fontsLoaded||!1),[y,A]=(0,c.useState)(!1),[v,L]=(0,c.useState)(!0),[p,C]=(0,c.useState)(!1),[u,f]=(0,c.useState)(!1),[_,T]=(0,c.useState)(null),[F,q]=(0,c.useState)(null),[J,Q]=(0,c.useState)(e.newChainId||8453),[R,j]=(0,c.useState)(!1),[ie,oe]=(0,c.useState)(!1),[ue,ee]=(0,c.useState)(!1),[O,B]=(0,c.useState)(!1),[Le,w]=(0,c.useState)(!1),[Ke,Z]=(0,c.useState)(""),[$e,ge]=(0,c.useState)(!1),[se,D]=(0,c.useState)({}),[ve,Pe]=(0,c.useState)(["","","",""]),_e=(0,c.useRef)([]),[le,Ee]=(0,c.useState)(!1),[fe,V]=(0,c.useState)(null),{setChainId:Je,setAddress:We,setPk:Qe,setProvider:me,setSigner:qe,setVaultContract:at,setVaultData:ct}=Me();(0,c.useEffect)(()=>{let S=async()=>{if(t)h&&await we(h),m(!0);else{let M=xe(document);m(M)}};e.fontsLoaded||S()},[]);let Ze=(S,M)=>{if(S.length>1){let N=S.replace(/\D/g,""),ne=[...ve],Ce=0;for(let Ye=M;Ye<ve.length&&Ce<N.length;Ye++)ne[Ye]=N[Ce],Ce++;Pe(ne);let Se=M+N.length;Se<ve.length&&_e.current[Se]&&_e.current[Se].focus(),A(!1)}else{let N=S.replace(/\D/g,""),ne=[...ve];ne[M]=N,Pe(ne),N&&_e.current[M+1]&&_e.current[M+1].focus(),A(!1)}},vt=(S,M,N)=>{N.nativeEvent.key==="Backspace"&&!ve[M]&&M>0&&_e.current[M-1]&&_e.current[M-1].focus()},Re=ve.every(S=>S.length>0),U=async S=>{if(S?.listener&&chrome?.runtime?.onMessage?.removeListener&&chrome?.runtime?.onMessage?.removeListener(S?.listener),!e.helperFunctions)Z("No Helper Functions. Please include all helper functions in the EnterPinPage props."),A(!0);else if(Z(""),A(!1),le&&Re&&e.hashedVaultId&&e.encrptedPk||!le&&e.hashedVaultId&&e.encrptedPk&&S){e.setIsLoading(!0);let M=S?.pinString?S?.pinString:ve.join("");await In(t,e.vaultId,e.hashedVaultId,M,S?.hashed?S?.hashed:te(M),e.encrptedPk,e.vaultAddress,e.vaultChannel,Number(J),Kn?.includes(e.origin?.toLowerCase()),null,S?.rawId).then(async N=>{if(N&&!N?.inCompleteVault)e.setIsLoading(!1),T(N),q(N?.pk&&e.action!=="eth_requestAccounts"?{address:N.address,channel:N.channel,chainId:N.chainId,pk:N?.pk}:{address:e.regAddress,channel:N.channel,chainId:N.chainId}),e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await Hn(t,e.helperFunctions.sendCreatorInitiation,e.hashedVaultId,S?.hashed?S?.hashed:te(M),e.vaultId,M,e.encrptedPk,e.vaultChannel,Number(J),S?.rawId).then(async ne=>{e.setIsLoading(!1),t?t&&k&&await k.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),ne?f(!0):(Z("Account recovery failed. Verify you don't have pending account recovery process and Try again later"),A(!0))})):e.action==="signRecovery"?(e.setIsLoading(!0),await On(t,e.helperFunctions.sendCreatorSigned,e.helperFunctions.sendCreatorCompleted,e.hashedVaultId,S?.hashed?S?.hashed:te(M),e.vaultId,M,e.encrptedPk,e.reqVaultData?.vaultId,e.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e.reqTxData?.id,Number(J),S?.rawId).then(async ne=>{e.setIsLoading(!1),t?t&&k&&!e.reqTxData?.newUser&&!e.vaultAddress&&await k.removeItem("myVault"):!t&&!e.reqTxData?.newUser&&chrome?.storage?.local&&!e.vaultAddress?await chrome.storage.local.remove("myVault"):!t&&!e.reqTxData?.newUser&&!chrome?.storage?.local&&!e.vaultAddress&&localStorage&&localStorage.removeItem("myVault"),ne?f(!0):(Z("Error while signing transaction; it's either you are not a valid co-signer or you had signed this particular transaction before. Verify and try again later."),A(!0))})):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await Jn(t,k,e.hashedVaultId,S?.hashed?S?.hashed:te(M),e.vaultId,M,e.encrptedPk,e.reqTxData?.id,e.vaultChannel,Number(J),S?.rawId).then(async ne=>{e.setIsLoading(!1),ne?f(!0):(t?t&&k&&await k.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),Z("Error while restoring login access. Verify all required co-signers had signed our account recovery and try again later."),A(!0))})):e.action==="eth_sendTransaction"&&e.encrptedPk?.length>0&&N?.pin?.length>0&&e.signTxElement?(D({chainId:J,ky:le?Rn.ethers.encodeBytes32String(N?.pin):"",rawId:le?"":S?.rawId,...e.txToSign}),oe(!1),ge(!0)):e.action==="invitation"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()&&e.reqVaultData?.coSignerId?.toLowerCase()===e.vaultId?.toLowerCase()?(Z(""),A(!1),oe(!0)):e.action==="invitation"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(Z(`You cannot accept your own Co-Signer invitation. please logout and login to: ${e.reqVaultData?.coSignerId} account`),A(!0)):e.action==="invitation"&&e.reqVaultData?.coSignerId?.toLowerCase()!==e.vaultId?.toLowerCase()?(Z(`You cannot accept this Co-Signer invitation. please logout and login to: ${e.reqVaultData?.coSignerId} account`),A(!0)):e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(t?t&&k&&await k.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),Z(`You are not authorized to fetch account details. please logout and login to: ${e.reqVaultData?.vaultId} account`),A(!0)):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(t?t&&k&&await k.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),Z(`You are not authorized to restore login access for this account. please logout and login to: ${e.reqVaultData?.vaultId} account`),A(!0)):e.action==="connect_wallet"&&!e?.vaultAddress||e.action==="eth_requestAccounts"&&!e?.vaultAddress?(Z("Incomplete account details received. This may be due to incomplete/unexpected error from last login. Please logout and login back to recover account details."),A(!0)):e.action===""&&e.vaultAddress?e.setShowDashboard(!0):e.action===""&&!e.vaultAddress?(Z("Incomplete account login detected. Logout and try again later"),A(!0)):(Z(""),A(!1),f(!0));else if(N&&N?.inCompleteVault&&N?.pk){let ne=await rt(Number(J),N?.pk);if(Je(ne.chainId),We(ne.address),Qe(ne.pk),me(ne.provider),qe(ne.signer),at(ne.vaultContract),ct({vaultId:N?.vaultId,hashedVaultId:N?.hashedVaultId,vaultPin:N?.pin,hashedVaultPin:le?te(N?.pin):Ve(N?.rawId),vaultContract:ne.vaultContract,rawId:N?.rawId}),N?.channel?.toLowerCase()==="sms"){let Ce=N?.vaultId?.replace(N?.vaultId?.slice(-10),""),Se=N?.vaultId?.slice(-10)?.slice(0,5)+" "+N?.vaultId?.slice(-10)?.slice(5);e.setSelectedCountry({area:Ce?.replace("+",""),name:"",flag:""}),e.setUserNumberFmt(Se),e.setUserEmail("")}else e.setUserEmail(N?.vaultId),e.setUserNumberFmt("");e.setIsLoading(!1),e.setShowCompleteVault(!0),e.setShowDashboard(!1)}else Z(le?"":`Incorrect Passkey. please chose the correct existing passkey for account: ${e.vaultId}`),A(!0),e.setIsLoading(!1)})}else!le&&!S&&(Z("Unexpected error with selected passkey. Try again later"),A(!0)),le&&!Re&&(Z("Input your 4-Digits PIN to login."),A(!0))},G=async S=>{let M=e.vaultId;if(_?.pin?.length>0&&_?.pk?.length>0&&e?.reqVaultData?.hashedVaultId&&e.reqVaultData?.hashedVaultPin&&M&&e.helperFunctions?.sendCreatorAcceptance&&e.helperFunctions?.sendCreatorRejection){e.setIsLoading(!0);let N=_.pin,ne=te(M),Ce=le?te(N):Ve(_.rawId);await $t(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,e.vaultChannel,ne,Ce,e?.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e?.reqVaultData?.vaultId,M,S,null,_.pk,Number(J)).then(Se=>{e.setIsLoading(!1),Se&&(w(S),ee(!0))})}},Te=async S=>{if(Z(""),A(!1),chrome?.windows?.create){let M=e?.getPasskeyDomain?.length>0?e?.getPasskeyDomain:Tt,N=async(ne,Ce,Se)=>{if(ne.type==="VW:Passkey_Credential")if(ne?.origin&&M?.toLowerCase()?.startsWith(ne?.origin?.toLowerCase())){fe&&chrome.windows.remove(fe),Ce?.tab&&Ce?.tab?.windowId&&chrome.windows.remove(Ce.tab.windowId);let Ye=ne.data;if(Ye?.id&&Ye?.rawId){let ut=wt(Ye?.rawId),St=Ve(ut),ot={pinString:Ye?.id,hashed:St,rawId:ut,listener:N};ot&&await U(ot)}else Z(`Passkey authentication failed: ${Ye?.error?.toString()?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),A(!0)}else Z("Passkey authentication failed: invalid passkey origin. Try again later"),A(!0)};chrome.runtime.onMessage.addListener(N),await chrome.windows.create({url:`${M}`,type:"popup",width:500,height:600}).then(ne=>{V(ne.id)})}else try{if(t&&!d.isSupported()){Z("Your device does not support Passkeys. Change device and try again later"),A(!0);return}let M=t?await d.get(st(S)):await navigator?.credentials?.get({publicKey:st()}),N=Ve(M?.rawId);return{pinString:M?.id,hashed:N,rawId:M?.rawId}}catch(M){Z(`Passkey authentication failed: ${M?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),A(!0)}};return c.default.createElement(c.default.Fragment,null,b&&!ie&&!$e&&c.default.createElement(c.default.Fragment,null,!u&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px",paddingTop:"0"}:{padding:"20px",paddingTop:"0"},className:"verified-custd-mdl-startup-language"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},c.default.createElement(Fe,{platform:e.platform,sliderCount:[1],currentSlider:"0"}),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContentHeaderCont}:{},className:"verified-custd-mdl-startup-contact-content-heder-cont"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText,alignSelf:"center"}:{alignSelf:"center"},className:"verified-custd-mdl-startup-contact-text"},le?"Enter PIN":"Sign-in with Existing Passkey")),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",c.default.createElement(i,{style:{color:"#0C0C0E"}},le?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",c.default.createElement(i,{style:{color:"#0C0C0E"}},e.vaultId)," ","account."),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},e.actionText&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`To ${e.actionText} from origin: ${e.origin||e.title}`)))),le&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},ve.map((S,M)=>c.default.createElement(x,{key:M,ref:N=>_e.current[M]=N,className:y?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",style:t&&y?{...n.verifiedCustdMdlOtpInputRed}:t&&!y?{...n.verifiedCustdMdlOtpInput}:{},secureTextEntry:v,maxLength:1,value:ve[M],onChangeText:N=>Ze(N,M),onKeyPress:N=>vt(N,M,N),keyboardType:"number-pad",id:`verified-custd-mdl-otp-input-${M}`}))),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},y&&!Ke&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),y&&Ke&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},Ke),!y&&c.default.createElement(i,null),v?c.default.createElement(l,{onPress:()=>L(!1),style:{backgroundColor:"transparent"}},c.default.createElement(s,{style:{width:24,height:24},source:{uri:X.pinHide}})):c.default.createElement(l,{onPress:()=>L(!0),style:{backgroundColor:"transparent"}},c.default.createElement(s,{style:{width:24,height:24},source:{uri:X.pinShow}})))),!le&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},c.default.createElement(a,{className:"verified-custd-mdl-add-cosigner-more-title-cont"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle,fontSize:z(t,"14px")}:{fontSize:z(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Your passkey is stored in your cloud account such as Apple iCloud Keychain, Google Password Manager, or Microsoft Account and synchronized across all devices."),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"In the event of device loss, as long as you have access to your cloud account, you can recover your passkey."),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:z(t,"12px")}:{fontSize:z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},'Click "Login With Passkey" button, passkey popup will appears to login using your existing passkey.'),c.default.createElement(l,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey")))),!p&&c.default.createElement(a,{style:{height:20}}),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},c.default.createElement(Fn,{platform:e.platform,setisOnboard:e.setisOnboard,setIsLoading:e.setIsLoading}),le&&c.default.createElement(l,{onPress:async()=>await U(),style:t&&Re&&!y?{...n.verifiedCustdMdlStartupButtonActive}:t&&Re&&y?{...n.verifiedCustdMdlStartupButton}:t&&!Re&&!y?{...n.verifiedCustdMdlStartupButton}:t&&!Re&&y?{...n.verifiedCustdMdlStartupButton}:{},className:Re&&!y?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button"},c.default.createElement(i,null,"Proceed")),!le&&c.default.createElement(c.default.Fragment,null,y&&Ke?.length>0&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText,marginTop:"3px",width:"100%"}:{marginTop:"3px",width:"100%"},className:"verified-custd-mdl-otp-incorrect-text"},Ke),c.default.createElement(l,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px"}:{marginBottom:"20px"},onPress:async()=>{let S=await Te(e?.passKeyRpId);S&&await U(S)},className:"verified-custd-mdl-startup-button-active"},c.default.createElement(i,null,"Login With Passkey")))))),u&&c.default.createElement(Be,{platform:e.platform,messageTosend:e.action==="getPk"||e.action==="signRecovery"||e.action==="completeRecovery"?{type:"closePopup",key:"",value:""}:{type:"vaultData",key:"vaultData",value:F},customTextHeader:"Successful",customTextFooter:e.action==="getPk"&&e.vaultChannel==="email"?"You have successfully initiated your account recovery process check your email for further instructions":e.action==="getPk"&&e.vaultChannel==="sms"?"You have successfully initiated your account recovery process check your phone number messages for further instructions":e.action==="signRecovery"?`Congratulations! You have successfully signed account recovery transaction for user: ${e.reqVaultData?.vaultId}`:e.action==="completeRecovery"?`Congratulations! You have successfully restored login access for your ${e?.vaultId} account`:`Congratulations! You have successfully ${e.actionText||"logged in to your account."}`,showButton:!!(e.action==="completeRecovery"&&e.dashbordElement),buttonText:e.action==="completeRecovery"&&e.dashbordElement?"Go To Dashboard":"",buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},actionFooterText:e.action==="completeRecovery"?`Congratulations! You have successfully restored login access for your ${e?.vaultId} account`:""})),b&&ie&&!$e&&c.default.createElement(c.default.Fragment,null,!ue&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px",position:"relative"}:{padding:"20px",position:"relative"},className:"verified-custd-mdl-startup-language"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},c.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},c.default.createElement(i,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId)," ","has requested you to be a Co\u2011Signer"))),c.default.createElement(l,{style:{backgroundColor:"transparent",width:"100%"}},c.default.createElement(s,{style:{height:250,width:"90%"},source:{uri:X.addCoSignerIcon1}})),O?c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyLabel,fontSize:12,color:"#5B5D6E"}:{fontSize:12,color:"var(--Neutral-600, #5B5D6E)"},className:"verified-custd-mdl-add-cosigner-confirm-body-label"},"Once you reject to be a co-signer for"," ",c.default.createElement(i,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId),", you will not be able to reset the PIN for them.")),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},c.default.createElement(l,{onPress:async()=>await G(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},c.default.createElement(i,null,"Yes")),c.default.createElement(l,{onPress:()=>B(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},c.default.createElement(i,null,"No")))))):c.default.createElement(c.default.Fragment,null,c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co\u2011Signer?"))),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:12,color:"#5B5D6E"}:{fontSize:12,color:"var(--Neutral-600, #5B5D6E)"},className:"verified-custd-mdl-add-cosigner-more-label"},"A Co\u2011Signer is a person who has the right given by you to generate a new pin on your behalf incase you forget it."),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},c.default.createElement(s,{source:{uri:X.pkicon}})),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},c.default.createElement(s,{source:{uri:X.encryptedIcon}})),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"will not get access")," ","to your account in any way."))),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},c.default.createElement(l,{onPress:()=>B(!0),style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},className:"verified-custd-mdl-add-cosigner-button-neut"},c.default.createElement(i,null,"Reject")),c.default.createElement(l,{onPress:async()=>await G(!0),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},c.default.createElement(i,null,"Accept"))))),ue&&c.default.createElement(Be,{platform:e.platform,messageTosend:{type:"getPk",key:"vaultData",value:_},customTextHeader:"Successful",customTextFooter:Le?`You have been added as a Co-Signer for ${e.reqVaultData?.vaultId}`:`You rejected Co-signer request from ${e.reqVaultData?.vaultId}`})),b&&!ie&&$e&&c.default.createElement(e.signTxElement,{setIsLoading:e.setIsLoading,txToSign:se}),!b&&c.default.createElement(i,null,"Loading Module Fonts..."))},pt=bi;var xi=e=>{let{isReactNative:t,View:a,Text:i,Image:s,ScrollView:P,StyleSheet:x,Font:l,AsyncStorage:K}=e?.platform,[h,k]=(0,W.useState)(e.fontsLoaded||!1),[n,d]=(0,W.useState)(e.showLogoPage||!1),[b,m]=(0,W.useState)([]),[y,A]=(0,W.useState)("2"),[v,L]=(0,W.useState)(e.defaultCountry||{area:"1",flag:X.usaFlag,name:"United States"}),[p,C]=(0,W.useState)(""),[u,f]=(0,W.useState)(""),[_,T]=(0,W.useState)(!1),[F,q]=(0,W.useState)(""),[J,Q]=(0,W.useState)(""),[R,j]=(0,W.useState)(""),[ie,oe]=(0,W.useState)(""),[ue,ee]=(0,W.useState)(null),[O,B]=(0,W.useState)(null),[Le,w]=(0,W.useState)(!1),{setChainId:Ke,setAddress:Z,setPk:$e,setProvider:ge,setSigner:se,setVaultContract:D,setVaultData:ve,vaultData:Pe,chainId:_e,vaultContract:le}=Me();return(0,W.useEffect)(()=>{let Ee=async()=>{if(t)l&&await we(l),k(!0);else{let fe=xe(document);k(fe)}};e.fontsLoaded||Ee()},[]),(0,W.useEffect)(()=>{let Ee=async()=>{let fe;t?t&&K&&(fe=K.getItem("lastPk")):!t&&chrome?.storage?.local?fe=await new Promise(Je=>{chrome.storage.local.get(["lastPk"],We=>{Je(We.lastPk)})}):!t&&localStorage&&(fe=localStorage.getItem("lastPk"));let V=await rt(e.chainId,fe&&fe?.length>0?fe:void 0);Ke(V.chainId),Z(V.address),$e(V.pk),ge(V.provider),se(V.signer),ve(V.vaultData),V.vaultContract?.contractAddress?D(V.vaultContract):D(void 0)};le?.contractAddress||Ee()},[le]),(0,W.useEffect)(()=>{(0,Un.debounce)(()=>{d(!1)},e.logoTimeoutTime??3e3)()},[]),(0,W.useEffect)(()=>{(()=>{let fe=Yt.map(V=>{if(V)return{name:V.name,countryName:V.name,officialName:V.name,currencySymbol:V.currency,currencyName:V.currency,officialCurrencySymbol:V.currency,countryCode:V.code,flag:V.flag,continent:V.continent,phone_code:V.phone_code,code:V.code}}).filter(Boolean);m(fe)})()},[]),W.default.createElement(P,{style:{padding:20,width:"100%",heigth:"100%"}},h&&n&&e.logoPageElement&&W.default.createElement(a,null,e.logoPageElement),h&&!n&&W.default.createElement(a,{style:{width:"100%",heigth:"100%"}},y==="2"&&W.default.createElement(It,{platform:e.platform,fontsLoaded:h,setStep:A,setIsLoading:e.setIsLoading,setUserNumberFmt:C,userNumberFmt:p,setUserEmail:f,userEmail:u,setSelectedCountry:L,selectedCountry:v,allCountries:b,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone}),y==="3"&&W.default.createElement(Ht,{platform:e.platform,fontsLoaded:h,setStep:A,setIsLoading:e.setIsLoading,userNumberFmt:p,setUserNumberFmt:C,setUserEmail:f,userEmail:u,selectedCountry:v,helperFunctions:e.helperFunctions,setIsExistingUser:w}),y==="4"&&W.default.createElement(Kt,{platform:e.platform,fontsLoaded:h,setStep:A,setIsLoading:e.setIsLoading,setShowSuccessBtn:T,setSuccessBtnText:q,setSuccessBtnNeutText:Q,setSuccessBtnFunc:ee,setSuccessBtnNeutFunc:B,userNumberFmt:p,userEmail:u,selectedCountry:v,action:e.action,vaultData:e.vaultData,txData:e.txData,setActionHeaderText:j,setActionFooterText:oe,helperFunctions:e.helperFunctions,isExistingUser:Le,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId}),y==="5"&&W.default.createElement(Be,{platform:e.platform,setStep:A,stepToSet:"6",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully created a new account.",action:e.action,showButton:_,buttonText:F,buttonNeutText:J,buttonFunc:ue,buttonNeutFunc:O,actionHeaderText:R,actionFooterText:ie}),y==="6"&&W.default.createElement(mt,{platform:e.platform,fontsLoaded:h,setStep:A,setIsLoading:e.setIsLoading,userNumberFmt:p,userEmail:u,selectedCountry:v,allCountries:b,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:e.setShowDashboard,setShowResetPin:e.setShowResetPin,setShowRemoveCosigner:e.setShowRemoveCosigner}),y==="7"&&e.action===""&&W.default.createElement(Be,{platform:e.platform,action:e.action,setStep:A,stepToSet:"8",actionHeaderText:"Successful",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account.",actionFooterText:"Congratulations! You have successfully added Co-signers to your account.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)}}),y==="7"&&e.action!==""&&W.default.createElement(Be,{platform:e.platform,action:e.action,messageTosend:e.action==="signRecovery"?{type:"signRecovery",value:{vaultData:e.vaultData,txData:{newUser:!0,...e.txData},chainId:_e}}:{type:"closePopup",key:"",value:""},actionHeaderText:"Successful",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account.",actionFooterText:"Congratulations! You have successfully added Co-signers to your account.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)}}),y==="8"&&e.dashbordElement&&W.default.createElement(e.dashbordElement,{setIsLoading:e.setIsLoading}),y==="8"&&!e.dashbordElement&&W.default.createElement(W.default.Fragment,null),y==="0"&&W.default.createElement(pt,{platform:e.platform,fontsLoaded:h,vaultId:Pe?.vaultId,setisOnboard:e.setisOnboard,hashedVaultId:Pe?.hashedVaultId,encrptedPk:Pe?.pk,vaultAddress:Pe?.address,vaultChannel:Pe?.channel,actionText:Lt.getPk,setIsLoading:e.setIsLoading,newChainId:Number(_e||e.chainId),action:"getPk",reqVaultData:Pe,reqTxData:e.txData?Object.keys(e.txData)?.map(Ee=>(e.txData[Ee]=decodeURIComponent(e.txData[Ee]),e.txData))[Object.keys(e.txData)?.length-1]:null,helperFunctions:e.helperFunctions,setUserEmail:f,setUserNumberFmt:C,setSelectedCountry:L,enablePhone:e.enablePhone,setShowDashboard:e.setShowDashboard,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId})),!h&&W.default.createElement(a,{style:{padding:20,width:"100%",heigth:"100%"}},W.default.createElement(i,null,"Loading Module Fonts...")))},Rt=xi;var wi=e=>{let[t,a]=(0,E.useState)(!1),[i,s]=(0,E.useState)({}),[P,x]=(0,E.useState)(!1),[l,K]=(0,E.useState)(null),[h,k]=(0,E.useState)({}),[n,d]=(0,E.useState)({}),[b,m]=(0,E.useState)(!1),[y,A]=(0,E.useState)(!1),[v,L]=(0,E.useState)(!1),[p,C]=(0,E.useState)(!1),[u,f]=(0,E.useState)(!1),[_,T]=(0,E.useState)(""),[F,q]=(0,E.useState)([]),[J,Q]=(0,E.useState)(""),[R,j]=(0,E.useState)(e.defaultCountry||{area:"1",flag:X.usaFlag,name:"United States"}),[ie,oe]=(0,E.useState)(""),[ue,ee]=(0,E.useState)("");(0,E.useEffect)(()=>{(async()=>{await Gt();let se=Mt();se&&(s(se),a(!0))})()},[]);let{isReactNative:O,View:B,Text:Le,Font:w,AsyncStorage:Ke,ActivityIndicator:Z,styles:$e}=i;return(0,E.useEffect)(()=>{!P&&t&&(async()=>{if(O)w&&await we(w),x(!0);else{let se=xe(document);x(se)}})()},[t,P]),(0,E.useEffect)(()=>{t&&(async()=>{if(O){if(O&&Ke)try{let se=await Ke.getItem("myVault");if(se){let D=JSON.parse(se);if(D?.vaultId){k(D),K(!0);return}}K(!1)}catch(se){console.error("Error reading vault data on react:",se),K(!1)}}else if(chrome?.storage?.local)chrome.storage.local.get("myVault",se=>{se.myVault&&JSON.parse(se.myVault)?.vaultId?(k(JSON.parse(se.myVault)),K(!0)):K(!1)});else if(localStorage){let se=JSON.parse(localStorage.getItem("myVault"));se&&se?.vaultId?(k(se),K(!0)):K(!1)}else K(!1)})()},[t]),(0,E.useEffect)(()=>{(()=>{let se=Yt.map(D=>D?{name:D?.name,countryName:D?.name,officialName:D?.name,currencySymbol:D?.currency,currencyName:D?.currency,officialCurrencySymbol:D?.currency,countryCode:D?.code,flag:D?.flag,continent:D?.continent,phone_code:D?.phone_code,code:D?.code}:null).filter(D=>D!=null);q(se)})()},[]),E.default.createElement(E.default.Fragment,null,t&&E.default.createElement(E.default.Fragment,null,P&&E.default.createElement(Ft,null,b&&E.default.createElement(B,{style:O?{...$e.verifiedCustdMdlLoadingScreen,height:"100vh"}:{height:"100vh"},className:"verified-custd-mdl-loading-screen"},E.default.createElement(Z,{size:"large",color:"blue"})),E.default.createElement(B,{id:"verified-custd-out-cont",className:"verified-custd-mdl-container",style:O?{...$e.verifiedCustdMdlContainer}:{}},l===null&&e.delayPageElement&&E.default.createElement(E.default.Fragment,null,e.delayPageElement),l===null&&!e.delayPageElement&&E.default.createElement(B,{style:e.delayPageStyle?e.delayPageStyle:{width:"100%",height:"100%",background:"transparent",border:"none"}}," "),l!==null&&E.default.createElement(E.default.Fragment,null,!l&&!y&&E.default.createElement(Rt,{platform:i,fontsLoaded:P,helperFunctions:e.helperFunctions,popupView:e.popupView,action:e.action?e.action:"getPk",vaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:te(decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId)),hashedVaultPin:decodeURIComponent(e.reqVaultData?.vPh||e.reqVaultData?.hashedVaultPin),coSignerId:decodeURIComponent(e.reqVaultData?.cId)}:null,txData:e.txData?Object.keys(e.txData)?.map(ge=>(e.txData[ge]=decodeURIComponent(e.txData[ge]),e.txData))[Object.keys(e.txData)?.length-1]:null,showLogoPage:e.showLogoPage,logoPageElement:e.logoPageElement,logoTimeoutTime:e.logoTimeoutTime,defaultCountry:e.defaultCountry,setisOnboard:K,setIsLoading:m,dashbordElement:e.dashbordElement,chainId:Number(e.chainId),enablePhone:e.enablePhone,setShowDashboard:A,setShowResetPin:C,setShowRemoveCosigner:f,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId}),l&&!y&&!v&&E.default.createElement(pt,{platform:i,fontsLoaded:P,setisOnboard:K,vaultId:h?.vaultId,hashedVaultId:h?.hashedVaultId,encrptedPk:h?.pk,vaultAddress:h?.address,vaultChannel:h?.channel,regAddress:h?.regAddress,origin:e.origin,title:e.title,actionText:e.actionText||Lt[e.action],setIsLoading:m,newChainId:Number(e.chainId),action:e.action||"",reqVaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:te(decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId)),hashedVaultPin:decodeURIComponent(e.reqVaultData?.vPh||e.reqVaultData?.hashedVaultPin),coSignerId:decodeURIComponent(e.reqVaultData?.cId)}:null,reqTxData:e.txData?Object.keys(e.txData)?.map(ge=>(e.txData[ge]=decodeURIComponent(e.txData[ge]),e.txData))[Object.keys(e.txData)?.length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:A,setShowResetPin:C,setShowRemoveCosigner:f,setShowCompleteVault:L,setUserEmail:ee,setUserNumberFmt:oe,setSelectedCountry:j,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId}),l&&y&&v&&E.default.createElement(pt,{platform:i,fontsLoaded:P,setisOnboard:K,vaultId:h?.vaultId,hashedVaultId:h?.hashedVaultId,encrptedPk:h?.pk,vaultAddress:h?.address,regAddress:h?.regAddress,vaultChannel:h?.channel,origin:e.origin,title:e.title,actionText:e.actionText||Lt[e.action],setIsLoading:m,newChainId:Number(e.chainId),action:e.action||"",reqVaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:te(decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId)),hashedVaultPin:decodeURIComponent(e.reqVaultData?.vPh||e.reqVaultData?.hashedVaultPin),coSignerId:decodeURIComponent(e.reqVaultData?.cId)}:null,reqTxData:e.txData?Object.keys(e.txData)?.map(ge=>(e.txData[ge]=decodeURIComponent(e.txData[ge]),e.txData))[Object.keys(e.txData)?.length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:A,setShowResetPin:C,setShowRemoveCosigner:f,setShowCompleteVault:L,setUserEmail:ee,setUserNumberFmt:oe,setSelectedCountry:j,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId}),l&&!y&&v&&J===""&&E.default.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},E.default.createElement(mt,{platform:i,fontsLoaded:P,setStep:Q,setIsLoading:m,userNumberFmt:ie,userEmail:ue,selectedCountry:R,allCountries:F,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:A,setShowResetPin:C,setShowRemoveCosigner:f})),l&&!y&&v&&J==="7"&&E.default.createElement(Be,{platform:i,action:e.action,setStep:Q,stepToSet:"8",customTextHeader:"Successful",actionHeaderText:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account.",actionFooterText:"Congratulations! You have successfully added Co-signers to your account.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{C(!1),f(!1),A(!0)},buttonFunc:()=>{C(!1),f(!1),A(!0)}}),l&&!y&&v&&J==="8"&&e.dashbordElement&&E.default.createElement(e.dashbordElement,{setIsLoading:m}),l&&!y&&v&&J==="8"&&!e.dashbordElement&&E.default.createElement(E.default.Fragment,null),!v&&y&&!p&&!u&&e.dashbordElement&&E.default.createElement(e.dashbordElement,{setIsLoading:m,setShowResetPin:C,setShowRemoveCosigner:f,setAction:T,setUserNumberFmt:oe,setUserEmail:ee,setSelectedCountry:j,setVaultData:d,initWalletAndContract:rt,useVaultStore:Me}),l&&!v&&y&&!p&&!u&&!e.dashbordElement&&E.default.createElement(E.default.Fragment,null),l&&!v&&!u&&y&&p&&E.default.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},E.default.createElement(Kt,{platform:i,fontsLoaded:P,action:"reset-pin",setStep:Q,setIsLoading:m,userNumberFmt:ie,userEmail:ue,vaultData:n,selectedCountry:R,helperFunctions:e.helperFunctions,isExistingUser:!0,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId})),l&&!v&&y&&!p&&u&&E.default.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},E.default.createElement(mt,{platform:i,fontsLoaded:P,action:"remove-cosigner",setStep:Q,setIsLoading:m,userNumberFmt:ie,userEmail:ue,selectedCountry:R,allCountries:F,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:A,setShowResetPin:C,setShowRemoveCosigner:f}))))),!P&&E.default.createElement(Le,null,"Loading Module Fonts...")),!t&&typeof navigator<"u"&&navigator.product!=="ReactNative"&&E.default.createElement(E.default.Fragment,null,"Preparing Module..."))},Wn=wi;0&&(module.exports={AddCoSignersPage,ContactPage,CreatePinPage,EnterPinPage,FTUPage,OTPPage,VaultContextProvider,VerifiedCustody,decryptString,decryptWithPasskey,encryptString,encryptWithPasskey,getPlatformComponents,hashTheBuffer,hashTheString,initPlatform,loadAllGoogleFonts,loadAllGoogleFontsRN,publicKeyCredentialRequestOptions});
1
+ var jn=Object.create;var Xt=Object.defineProperty;var qn=Object.getOwnPropertyDescriptor;var Zn=Object.getOwnPropertyNames;var zn=Object.getPrototypeOf,ei=Object.prototype.hasOwnProperty;var Ut=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ti=(e,t)=>{for(var i in t)Xt(e,i,{get:t[i],enumerable:!0})},kn=(e,t,i,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Zn(t))!ei.call(e,s)&&s!==i&&Xt(e,s,{get:()=>t[s],enumerable:!(a=qn(t,s))||a.enumerable});return e};var Ce=(e,t,i)=>(i=e!=null?jn(zn(e)):{},kn(t||!e||!e.__esModule?Xt(i,"default",{value:e,enumerable:!0}):i,e)),ni=e=>kn(Xt({},"__esModule",{value:!0}),e);var En=Ut((Oi,gi)=>{gi.exports="./Roboto-Regular-UUBD26YO.ttf"});var Xn=Ut((Ji,mi)=>{mi.exports="./Manrope-Regular-33576HBZ.ttf"});var Tn=Ut((Ri,Ci)=>{Ci.exports="./Hind-Regular-R5KOYWFC.ttf"});var _i={};ti(_i,{AddCoSignersPage:()=>mt,ContactPage:()=>It,CreatePinPage:()=>Kt,EnterPinPage:()=>Ct,FTUPage:()=>Rt,OTPPage:()=>Ht,VaultContextProvider:()=>Ft,VerifiedCustody:()=>Wn,decryptString:()=>dt,decryptWithPasskey:()=>lt,encryptString:()=>nt,encryptWithPasskey:()=>it,getPlatformComponents:()=>Mt,hashTheBuffer:()=>Ve,hashTheString:()=>ee,initPlatform:()=>Gt,loadAllGoogleFonts:()=>xe,loadAllGoogleFontsRN:()=>we,publicKeyCredentialRequestOptions:()=>st});module.exports=ni(_i);function ii(e){if(!e||typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}ii(`textarea:focus,input:focus{outline:none;border:none}input{appearance:textfield;-moz-appearance:textfield;outline:none;border:none;margin:0}input::placeholder{margin:0}input[type=password]::-ms-reveal{display:none}input[type=password]::-moz-password-toggle{display:none}input[type=password]::-webkit-contacts-auto-fill-button{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none}::-webkit-scrollbar{width:5px;height:4px}::-webkit-scrollbar-thumb{height:4px;width:5px;background-color:var(--Neutral-200, #d8d9df);border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:var(--Neutral-200, #d8d9df)}::-webkit-scrollbar-track{background:transparent;height:4px;width:5px;cursor:pointer}p{margin:0}.verified-custd-mdl-container{width:100%;height:100%;display:flex;justify-content:center;padding-bottom:20px;overflow-y:auto;overflow-x:hidden;position:relative}.verified-custd-mdl-startup-outter{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow-y:auto;overflow-x:hidden;background:linear-gradient(180deg,#643fff,#381ab7)}.verified-custd-mdl-startup-outter-norm{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow-y:auto;overflow-x:hidden;background:var(--common-white_states-main, #fff)}.verified-custd-mdl-startup{width:650px;height:fit-content;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow-x:hidden;overflow-y:auto;padding-bottom:20px;border:1px solid #0F122E;border-radius:10px;position:relative}.verified-custd-mdl-loading-screen{width:100vh;border-radius:10px;width:100%;flex-shrink:0;background:#0000004d;z-index:100;display:flex;justify-content:center;align-items:center;overflow:auto;position:absolute;inset:0}.verified-custd-mdl-startup-icon-container{width:76.119%;display:flex;justify-content:center;align-items:center;position:relative;flex-direction:column;height:298px}.verified-custd-mdl-startup-icon-shadow{position:absolute;bottom:10px;right:70px;width:48.5%}.verified-custd-mdl-startup-text-container{display:inline-flex;flex-direction:column;align-items:flex-start;gap:12px;margin-right:20px;margin-left:20px}.verified-custd-mdl-startup-text-header{color:var(--Neutral-White-100, var(--common-white_states-main, #fff));font-family:Manrope;font-size:2.1rem;font-style:normal;font-weight:700;line-height:2.8125rem;margin:0}.verified-custd-mdl-startup-text-footer{color:var(--Neutral-White-100, var(--common-white_states-main, #fff));font-family:Roboto;font-size:.9rem;font-style:normal;font-weight:400;line-height:1.5rem;opacity:.8}.verified-custd-mdl-ftu-startup-button{display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:var(--space-8px, 8px);background:var(--primary-bitter-lemon-500, #cfe600);cursor:pointer;user-select:none;color:var(--Neutral-950, #0C0C0E);text-align:center;margin:20px;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;border:none}.verified-custd-mdl-startup-language{background:var(--common-white_states-main, #fff);height:100%;width:100%}.verified-custd-mdl-startup-language-content-container{display:inline-flex;flex-direction:column;align-items:flex-start;gap:32px;width:100%}.verified-custd-mdl-st-language-content{display:flex;flex-direction:column;align-items:flex-start;gap:20px;align-self:stretch;width:100%}.verified-custd-mdl-st-language-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:1.5rem;font-style:normal;font-weight:700;line-height:100%;align-self:stretch}.verified-custd-mdl-ms-search-content:hover{border-radius:var(--space-8px, 8px);border:1px solid var(--secondary-electric-violet-300, #9da3ff);background:var(--secondary-electric-violet-50, #ecefff)}.verified-custd-mdl-st-contact-input{display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:90%}.verified-custd-mdl-st-contact-first-section{display:flex;width:150px;height:44px;padding-left:6px;align-items:center;border-radius:var(--space-8px, 8px);background:var(--Neutral-50, #f7f7f8);cursor:pointer;user-select:none}.verified-custd-mdl-st-contact-selection-icon{display:flex;justify-content:center;align-items:center;flex-shrink:0;border-radius:24px;cursor:pointer;user-select:none;overflow:hidden;width:28px;height:28px}.verified-custd-mdl-st-contact-selection-text{color:var(--Neutral-950, #0c0c0e);text-align:right;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:500;line-height:140%;width:40px;flex-shrink:0;cursor:pointer;user-select:none}.verified-custd-mdl-custom-blank-page{height:0}.verified-custd-mdl-startup-otp-text{display:flex;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch}.verified-custd-mdl-startup-otp-header-text{align-self:stretch;color:var(--Neutral-600, #5b5d6e);font-family:Roboto;font-size:.7rem;font-style:normal;font-weight:400;line-height:150%;max-width:100%;word-wrap:break-word}.verified-custd-mdl-otp-input-group{display:flex;align-items:flex-start;gap:var(--space-8px, 8px);width:100%}.verified-custd-mdl-otp-input{display:flex;padding:20px 12px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);flex:1 0 0;align-self:stretch;border-radius:var(--space-8px, 8px);background:var(--Neutral-50, #f7f7f8);width:25%;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-input-red{border-radius:8px;border:1px solid var(--Error-600, #E23636);background:var(--Neutral-50, #F7F7F8);display:flex;padding:20px 12px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);flex:1 0 0;align-self:stretch;width:25%;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-incorrect-text{color:var(--Error-600, #E23636);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:140%;max-width:200px;word-wrap:break-word}.verified-custd-mdl-otp-timer{display:flex;justify-content:space-between;align-items:center;align-self:stretch}.verified-custd-mdl-otp-timer-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-timer-text-red{color:var(--Error-600, #e23636);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-resend-text{color:var(--Neutral-300, #b6b7c3);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-otp-resend-text-active{color:var(--secondary-electric-violet-600, #603ff4);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:500;line-height:140%;cursor:pointer;user-select:none}.verified-custd-mdl-st-otp-icon{cursor:pointer;user-select:none}.verified-custd-mdl-startup-button{display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:var(--space-8px, 8px);background:var(--primary-bitter-lemon-500, #cfe600);cursor:pointer;user-select:none;color:var(--Neutral-950, #0C0C0E);text-align:center;opacity:.5;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;border:none;width:90%;max-width:500px}.verified-custd-mdl-startup-button-active{display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:var(--space-8px, 8px);background:var(--primary-bitter-lemon-500, #cfe600);cursor:pointer;user-select:none;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;border:none;width:90%;max-width:500px}.verified-custd-mdl-otp-input[type=password]{font-weight:900}.verified-custd-mdl-startup-button-click{border-radius:var(--space-8px, 8px);border:1px solid var(--Neutral-950, #0c0c0e);cursor:pointer;user-select:none;display:inline-flex;padding:14px;justify-content:center;align-items:center;gap:var(--space-8px, 8px);color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;outline:none;width:90%;background:transparent;max-width:500px}.verified-custd-mdl-pin-input-container-text{color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-st-button-text{color:var(--Neutral-950, #0c0c0e);text-align:center;font-family:Roboto;font-size:1rem;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-startup-slider{display:flex;width:335px;align-items:center;gap:12px;border-radius:4px;width:100%}.verified-custd-mdl-startup-slider-line{height:4px;flex-shrink:0;border-radius:var(--space-8px, 8px);background:var(--Neutral-100, #eeeef0)}.verified-custd-mdl-startup-slider-line-active{height:4px;flex:1 0 0;border-radius:var(--space-8px, 8px);background:var(--secondary-electric-violet-600, #603ff4)}.verified-custd-mdl-startup-contact{display:inline-flex;flex-direction:column;align-items:flex-start;gap:20px;width:100%}.verified-custd-mdl-startup-contact-content{display:flex;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch}.verified-custd-mdl-startup-contact-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:1rem;font-style:normal;font-weight:700;line-height:100%;align-self:stretch;max-width:100%;word-wrap:break-word}.verified-custd-mdl-st-contact-content-container{display:flex;align-items:flex-start;gap:var(--space-8px, 8px);width:100%}.verified-custd-mdl-st-contact-dropdown{cursor:pointer;user-select:none}.verified-custd-mdl-st-contact-second-section{display:flex;width:100%;height:44px;padding-left:6px;align-items:center;border-radius:var(--space-8px, 8px);background:var(--Neutral-50, #f7f7f8);color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-st-contact-second-section::placeholder{color:var(--Neutral-300, #b6b7c3);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-startup-contact-footer{display:inline-flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin-top:16px}.verified-custd-mdl-st-contact-footer-first-section{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%}.verified-custd-mdl-st-contact-footer-second-section{display:flex;align-items:center;justify-content:center;gap:4px;width:100%}.verified-custd-mdl-st-contact-input-error{display:flex;align-items:center;gap:4px}.verified-custd-mdl-input-error-text{color:var(--Error-600, #e23636);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%;margin:0}.verified-custd-mdl-mobille-startup-search-box-container{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%}.verified-custd-mdl-mobile-startup-search-box{display:flex;height:40px;align-items:center;gap:6px;border-radius:6px;border:1px solid var(--Neutral-200, #d8d9df);background:var(--Neutral-50, #f7f7f8);width:100%;overflow:hidden}.verified-custd-mdl-ms-search-box-content{height:100%;width:100%;background:transparent;color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-ms-search-box-content::placeholder{color:var(--Neutral-400, #8f91a1);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-mobile-startup-search-content{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:16px;border-radius:var(--space-8px, 8px);border:1px solid var(--Neutral-50, #f7f7f8);background:var(--common-white_states-main, #fff)}.verified-custd-mdl-ms-search-content-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;overflow-x:hidden;overflow-y:auto}.verified-custd-mdl-ms-search-content{display:flex;padding:var(--space-8px, 8px);align-items:center;gap:19px;align-self:stretch;cursor:pointer;user-select:none;height:34px;margin-bottom:5px;border:1px solid transparent}.verified-custd-mdl-ms-search-content-active{display:flex;padding:var(--space-8px, 8px);justify-content:space-between;align-items:center;align-self:stretch;border-radius:6px;background:var(--Success-50, #f1f8ed);cursor:pointer;user-select:none}.verified-custd-mdl-ms-search-content-text-container{display:flex;align-items:center;gap:19px}.verified-custd-mdl-ms-search-content-icon{display:flex;width:28px;height:28px;justify-content:center;align-items:center;border-radius:24px;border:1px solid rgba(0,0,0,.05);background:var(--common-white_states-main, #fff);box-shadow:0 1px 4px #eee}.verified-custd-mdl-ms-search-content-text{color:var(--Neutral-950, #0c0c0e);font-family:Roboto;font-size:.775rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-terms-and-condition{color:var(--Neutral-400, #8f91a1);font-family:Roboto;font-size:.7rem;font-style:normal;font-weight:450;line-height:140%}.verified-custd-mdl-privacy{display:flex;align-items:center;gap:4px;margin-bottom:20px}.verified-custd-mdl-privacy-text{color:var(--Neutral-800, #40414c);font-family:Roboto;font-size:.5rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:.01563rem}.verified-custd-mdl-p-p-payment-portal-amount-info-separator{display:flex;align-items:center;gap:6px;align-self:stretch;justify-content:center}.verified-custd-mdl-p-p-payment-portal-line{width:50%;height:1px;background:#eeeef0}.verified-custd-mdl-p-payment-portal-separator-text{color:var(--Neutral-700, #4a4a5a);font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%;opacity:.6}.verified-custd-mdl-startup-otp-footer{display:flex;align-items:center;gap:4px;width:100%;overflow:hidden}.verified-custd-mdl-startup-otp-footer-text{color:var(--Neutral-950, #0c0c0e);font-family:Manrope;font-size:.8rem;font-style:normal;font-weight:600;line-height:100%;max-width:100%;word-wrap:break-word}.verified-custd-mdl-otp-input-container{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%}.verified-custd-mdl-general-web-toast-error{display:flex;align-items:center;gap:12px}.verified-custd-mdl-general-web-toast-error-container{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:10px;padding:6px}.verified-custd-mdl-general-web-toast-error-title{margin:0;color:var(--Neutral-950, #0c0c0e);font-family:Manrope;font-size:1rem;font-style:normal;font-weight:600;line-height:100%;align-self:stretch}.verified-custd-mdl-general-web-toast-error-label{align-self:stretch;color:var(--Neutral-400, #8f91a1);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%;margin:0}.verified-custd-mdl-general-web-toast-success{display:flex;padding:12px;justify-content:space-between;align-items:center;align-self:stretch;border-radius:8px;background:var(--Success-50, #f1f8ed);width:100%;height:55px;max-height:55px}.verified-custd-mdl-general-web-toast-success-cont{display:flex;align-items:center;gap:12px;width:100%}.verified-custd-mdl-general-web-toast-success-container{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:10px;padding:6px}.verified-custd-mdl-general-web-toast-success-link{display:flex;align-items:center}.verified-custd-mdl-general-web-toast-success-link-text{color:var(--secondary-electric-violet-600, #603ff4);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:700;line-height:150%;text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font}.verified-custd-mdl-success-popup-content-container{display:flex;width:28.4375%;padding:24px;flex-direction:column;align-items:center;background:var(--common-white_states-main, #fff);box-shadow:0 4px 19px #0000001f;height:100%}.verified-custd-mdl-success-popup-content{display:flex;width:100%;flex-direction:column;align-items:center;gap:32px}.verified-custd-mdl-success-popup-content-text{display:flex;flex-direction:column;align-items:center;gap:12px;align-self:stretch}.verified-custd-mdl-success-popup-content-text-header{color:var(--Neutral-950, #0c0c0e);text-align:center;font-family:Manrope;font-size:1.5rem;font-style:normal;font-weight:800;line-height:140%}.verified-custd-mdl-success-popup-content-text-footer{color:var(--Neutral-600, #5b5d6e);text-align:center;font-family:Roboto;font-size:1rem;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-body-icon{width:90%;max-width:90%;max-height:250px;height:250px}.verified-custd-mdl-add-cosigner-body{display:inline-flex;padding:10px;flex-direction:column;align-items:flex-start;gap:12px;border-radius:8px;background:var(--secondary-electric-violet-50, #ECEFFF)}.verified-custd-mdl-add-cosigner-body-text-cont{display:flex;align-items:center;gap:10px;width:100%}.verified-custd-mdl-add-cosigner-body-text-icon{display:flex;padding:8px;align-items:center;gap:10px;border-radius:24px;background:var(--secondary-electric-violet-200, #C2C7FF);overflow:hidden;justify-content:center;width:20px;height:20px}.verified-custd-mdl-add-cosigner-body-text-label{width:76.1%;color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:10px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-body-text-label-bold{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-add-cosigner-buttons-cont{display:inline-flex;padding:10px;align-items:flex-start;gap:10px;background:transparent;display:flex;justify-content:space-between}.verified-custd-mdl-add-cosigner-button-neut{width:45%;display:flex;padding:14px;justify-content:center;align-items:center;gap:8px;background:transparent;border-radius:8px;border:1px solid var(--Neutral-950, #0C0C0E);color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:150%;cursor:pointer}.verified-custd-mdl-add-cosigner-button-action{width:45%;display:flex;padding:14px;justify-content:center;align-items:center;gap:8px;border-radius:8px;background:var(--primary-bitter-lemon-500, #CFE600);border:none;color:var(--Neutral-950, #0C0C0E);text-align:center;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:150%;cursor:pointer}.verified-custd-mdl-add-cosigner-more-body{display:inline-flex;padding:15px;flex-direction:column;align-items:flex-start;gap:12px;border-radius:8px;background:var(--secondary-electric-violet-50, #ECEFFF)}.verified-custd-mdl-add-cosigner-more-header-cont{display:flex;flex-direction:column;align-items:flex-start;gap:32px}.verified-custd-mdl-add-cosigner-more-title-cont{display:flex;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch}.verified-custd-mdl-add-cosigner-header-text{align-self:stretch;color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin:0}.verified-custd-mdl-add-cosigner-more-title{color:var(--Neutral-950, #0C0C0E);font-family:Manrope;font-size:18px;font-style:normal;font-weight:700;line-height:120%;margin:0}.verified-custd-mdl-add-cosigner-more-label{color:var(--Neutral-700, #4A4A5A);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-more-label-link{align-self:stretch;color:var(--secondary-electric-violet-700, #4E2BD7);font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:150%;text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;cursor:pointer;margin:0}.verified-custd-mdl-add-cosigner-header-info-cont{display:flex;padding:10px;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch;border-radius:8px;background:var(--Accent-100, #FFF9C1)}.verified-custd-mdl-add-cosigner-header-info-text{color:var(--Accent-800, #89490A);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-header-info-text-bold{color:var(--Accent-800, #89490A);font-family:Roboto;font-size:10px;font-style:normal;font-weight:700;line-height:140%}.verified-custd-mdl-add-cosigner-step2-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px}.verified-custd-mdl-add-cosigner-step2-body-header{display:flex;width:100%;justify-content:space-between;align-items:center}.verified-custd-mdl-add-cosigner-step2-body-header-first-text{color:var(--Neutral-950, #0C0C0E);text-align:right;font-family:Roboto;font-size:.8rem;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-step2-body-header-second-text{color:var(--Neutral-950, #0C0C0E);text-align:right;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-add-cosigner-step2-body-content{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}.verified-custd-mdl-add-cosigner-step2-body-content-header{display:flex;padding-top:14px;justify-content:center;align-items:center;position:relative;width:100%;flex-direction:column}.verified-custd-mdl-add-cosigner-step2-body-content-header-cont{display:flex;width:100%;padding:12px;flex-direction:column;align-items:flex-start;gap:16px}.verified-custd-mdl-add-cosigner-step2-body-content-header-label{display:flex;padding:4px 6px;align-items:flex-start;gap:10px;position:absolute;left:12px;top:-14px;border-radius:6px;background:var(--secondary-electric-violet-100, #DDE1FF)}.verified-custd-mdl-add-cosigner-step2-body-content-header-label-text{color:var(--secondary-electric-violet-900, #362689);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:140%;margin:0}.verified-custd-mdl-add-cosigner-step2-body-content-header-body{justify-content:space-between;align-self:stretch;border-radius:8px;border:1px solid var(--Neutral-100, #EEEEF0);background:var(--Neutral-50, #F7F7F8);position:relative;display:flex;padding:12px;align-items:flex-start;gap:16px}.verified-custd-mdl-a-c-2-b-content-header-body-header-cont{display:flex;align-items:center;gap:12px;width:100%}.verified-custd-mdl-a-c-2-b-content-header-body-header{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%}.verified-custd-mdl-a-c-2-b-content-header-body-title{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:150%;margin:0;max-width:150px;word-wrap:break-word;overflow-wrap:break-word}.verified-custd-mdl-a-c-2-b-content-header-body-label{color:var(--Neutral-400, #8F91A1);font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%;margin:0;max-width:200px;word-wrap:break-word;overflow-wrap:break-word}.verified-custd-mdl-a-c-2-b-content-header-body-button{display:flex;padding:5.5px 8px;justify-content:center;align-items:center;gap:10px;border-radius:6px;border:1px solid var(--secondary-electric-violet-600, #603FF4);background:var(--secondary-electric-violet-600, #603FF4);color:var(--secondary-electric-violet-50, #ECEFFF);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%}.verified-custd-mdl-add-cosigner-step2-body-content-footer{display:flex;align-items:center;gap:4px;cursor:pointer}.verified-custd-mdl-add-cosigner-step2-body-content-footer-text{color:var(--secondary-electric-violet-600, #603FF4);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-body{display:flex;padding:15px;flex-direction:column;align-items:flex-start;gap:16px;border-radius:8px;border:1px solid var(--Neutral-200, #D8D9DF);min-width:90%;margin-bottom:20px;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-first{display:flex;justify-content:space-between;align-items:center;align-self:stretch;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-first-header{display:flex;align-items:flex-end;gap:5px}.verified-custd-mdl-add-cosigner-step2-add-more-first-header-text{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:.7rem;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-first-footer{display:flex;padding:4px 6px;align-items:flex-start;gap:10px;border-radius:6px;background:var(--secondary-electric-violet-100, #DDE1FF)}.verified-custd-mdl-add-cosigner-step2-add-more-first-footer-text{color:var(--secondary-electric-violet-900, #362689);font-family:Roboto;font-size:10px;font-style:normal;font-weight:500;line-height:140%;margin:0}.verified-custd-mdl-add-cosigner-step2-add-more-second{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-second-input{display:flex;padding:12px;align-items:center;gap:182px;align-self:stretch;border-radius:8px;background:var(--Neutral-50, #F7F7F8);color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-third{display:flex;align-items:flex-start;gap:24px;width:100%}.verified-custd-mdl-add-cosigner-step2-add-more-third-cont{display:flex;align-items:center;gap:4px}.verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text{color:var(--Neutral-900, #383842);font-family:Roboto;font-size:13px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-step2-add-more-buttons{display:flex;align-items:flex-start;gap:16px;align-self:stretch;width:100%;background:transparent}.verified-custd-mdl-add-cosigner-step2-add-more-buttons-neut{width:50%;display:flex;padding:7.5px 12px;justify-content:center;align-items:center;gap:10px;flex:1 0 0;border-radius:8px;border:1px solid var(--secondary-electric-violet-600, #603FF4);color:var(--secondary-electric-violet-600, #603FF4);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%;background:transparent;cursor:pointer}.verified-custd-mdl-add-cosigner-step2-add-more-buttons-action{width:50%;display:flex;padding:6px 8px;justify-content:center;align-items:center;gap:10px;flex:1 0 0;align-self:stretch;border-radius:8px;border:1px solid var(--secondary-electric-violet-600, #603FF4);background:var(--secondary-electric-violet-600, #603FF4);color:var(--secondary-electric-violet-50, #ECEFFF);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:140%;cursor:pointer}.verified-custd-mdl-add-cosigner-step2-add-more-second-input::placeholder{color:var(--Neutral-300, #B6B7C3);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.verified-custd-mdl-add-cosigner-confirm-body-content{display:flex;padding-top:20px;padding-bottom:20px;flex-direction:column;justify-content:flex-start;align-items:center;gap:61px;border-radius:8px 8px 0 0;background:var(--Neutral-White-100, #FFF);width:100%;max-height:62.7%}.verified-custd-mdl-add-cosigner-confirm-body-cont{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:90%}.verified-custd-mdl-add-cosigner-confirm-body-header{display:flex;flex-direction:column;align-items:center;gap:16px}.verified-custd-mdl-add-cosigner-confirm-body-title{color:var(--Neutral-950, #0C0C0E);font-family:Manrope;font-size:16px;font-style:normal;font-weight:700;line-height:150%;margin:0}.verified-custd-mdl-add-cosigner-confirm-body-label{color:var(--Neutral-600, #5B5D6E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin:0}.verified-custd-mdl-add-cosigner-confirm-body-footer{display:flex;width:90%;padding:15px 15px 5px;flex-direction:column;align-items:flex-start;gap:5px;border-radius:8px;border:1px solid var(--Neutral-100, #EEEEF0);background:var(--Neutral-White-100, #FFF)}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind-cont{width:100%;flex-direction:row;background:transparent;display:flex;justify-content:space-between;align-items:center;margin-bottom:3px}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind{display:flex;flex-direction:column;align-items:center;gap:-6px;border-radius:2px}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text-cont{display:flex;padding:4px 12px;justify-content:center;align-items:center;gap:10px;border-radius:6px;background:var(--secondary-electric-violet-600, #603FF4)}.verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text{color:var(--Neutral-White-100, #FFF);text-align:center;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%;margin:0}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-cont{width:100%;height:51px}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-cont{width:98%;height:16px;flex-shrink:0}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider{width:100%;height:5px;flex-shrink:0;border-radius:10px;background:var(--Neutral-100, #EEEEF0)}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind{height:5px;flex-shrink:0;border-radius:10px;background:var(--secondary-electric-violet-600, #603FF4);position:relative}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon{flex-shrink:0;position:absolute;top:-5px;right:0}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-text-cont{display:flex;width:100%;padding:10px 0;justify-content:space-between;align-items:center}.verified-custd-mdl-add-cosigner-confirm-body-footer-label-text{color:var(--Neutral-950, #0C0C0E);font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:140%;margin:0;cursor:pointer}.verified-custd-mdl-a-c-2-b-content-header-body-header-icons{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:10px}.verified-custd-mdl-add-cosigner-step2-body-content-footer-dis{display:flex;align-items:center;gap:4px;margin-bottom:18px}.verified-custd-mdl-add-cosigner-step2-body-content-footer-text-dis{color:var(--Neutral-300, #B6B7C3);text-align:right;font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:150%}.verified-custd-mdl-startup-contact-content-heder-cont{width:100%;display:flex;justify-content:space-between;flex-direction:row}.verified-custd-mdl-add-cosigner-confirm-body-content-outter{background:#0006;z-index:5;position:absolute;width:100%;bottom:0;right:0;left:0;height:100%;display:flex;flex-direction:column-reverse}.verified-custd-mdl-portfolio-page-content-header-button{display:flex;padding:6px 12px;align-items:center;gap:4px;border-radius:32px;background:var(--secondary-electric-violet-900, #362689);cursor:pointer;color:var(--Neutral-White-100, var(--common-white_states-main, #fff));border:none;width:fit-content;max-width:150px;font-family:Roboto;font-size:.65rem;font-style:normal;font-weight:400;line-height:140%;word-wrap:break-word;height:30px}.verified-custd-mdl-portfolio-page-content-header-button-cont{width:fit-content;height:fit-content;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;position:relative}.verified-custd-mdl-portfolio-page-content-header-button-body{height:fit-content;width:fit-content;display:flex;flex-direction:column;gap:4px;border:none;border-radius:10px;background:var(--Neutral-50, #f7f7f8);padding:10px;position:absolute;top:33px;right:0}.verified-custd-mdl-portfolio-page-content-header-button-body-cont{background:none;cursor:pointer;border:1px solid transparent;padding:5px}.verified-custd-mdl-portfolio-page-content-header-button-body-cont:hover{border:1px solid #362689;background:transparent}.verified-custd-mdl-portfolio-page-content-header-button-body-text{width:110px;font-family:Roboto;font-size:.65rem;font-style:normal;font-weight:400;line-height:140%;word-wrap:break-word}.verified-custd-mdl-profile-popup-content-third{display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch;border-radius:var(--space-8px, 8px);background:var(--common-white_states-main, #fff);box-shadow:0 0 16px #0000001f}.verified-custd-mdl-profile-popup-content-third-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;align-self:stretch}.verified-custd-mdl-profile-popup-content-third-content,.verified-custd-mdl-profile-popup-content-third-content-tkn{display:flex;padding:4px var(--space-0, 0px);justify-content:space-between;align-items:center;align-self:stretch;border-radius:var(--space-8px, 8px);cursor:pointer}.verified-custd-mdl-profile-popup-content-third-content-text-container{display:flex;align-items:center;gap:var(--space-8px, 8px)}.verified-custd-mdl-profile-popup-content-third-content-text{color:var(--Neutral-900, #383842);font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:150%;max-width:170px;word-wrap:break-word}.verified-custd-mdl-profile-popup-content-third-content-line{width:100%;height:1px;background:#eeeef0}.verified-custd-mdl-profile-popup-content-third-content-tkn:hover{border:#362689 1px solid}.verified-custd-mdl-profile-popup-content{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;align-self:stretch}.verified-custd-mdl-asset-layout-content{display:inline-flex;padding:0 20px 155px;flex-direction:column;align-items:flex-start;gap:20px;border-radius:8px;background:var(--Neutral-White-100, #fff);width:100%;height:100%}.verified-custd-mdl-profile-popup-content-second{display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch;border-radius:var(--space-8px, 8px);background:var(--common-white_states-main, #fff);box-shadow:0 0 16px #0000001f}.verified-custd-mdl-profile-popup-content-second-text{color:var(--Neutral-900, #383842);text-align:center;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:700;line-height:150%}.verified-custd-mdl-profile-popup-content-second-container{display:flex;justify-content:space-between;align-items:center;align-self:stretch}.verified-custd-mdl-profile-popup-content-second-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--space-8px, 8px);border-radius:24px;cursor:pointer}.verified-custd-mdl-profile-popup-content-second-content-icon{display:flex;padding:12px;flex-direction:column;align-items:center;gap:var(--space-8px, 8px);border-radius:4px;background:var(--secondary-electric-violet-50, #ecefff)}.verified-custd-mdl-profile-popup-content-second-content-text{color:#000;text-align:center;font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:1.125rem;text-transform:capitalize;width:fit-content;max-width:60px;height:36px}.verified-custd-mdl-profile-popup-content-third-button{display:flex;width:100px;padding:6px 14px;justify-content:center;align-items:center;gap:10px;border-radius:100px;border:1px solid var(--secondary-electric-violet-700, #4e2bd7)}.verified-custd-mdl-profile-popup-content-third-button-text{color:var(--secondary-electric-violet-600, #603ff4);text-align:center;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:600;line-height:125%}.verified-custd-mdl-offer-security-popup-info-content{display:flex;padding:6px 12px;justify-content:center;align-items:center;gap:10px;background:var(--common-white_states-main, #fff);position:absolute;top:-1;left:4px;width:230px;border-radius:2px;z-index:3;box-shadow:0 0 16px #0000001f}.verified-custd-mdl-offer-security-popup-info-content-text{color:var(--Neutral-900, #383842);width:auto;max-width:300px;height:fit-content;word-wrap:break-word;overflow-wrap:break-word;font-family:Roboto;font-size:.75rem;font-style:normal;font-weight:400;line-height:140%}
2
+ `);typeof window<"u"&&typeof window.chrome>"u"&&(window.chrome={});if(typeof global<"u"&&typeof global.crypto>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative")try{require("react-native-get-random-values")}catch(e){console.warn("react native [polyfillCrypto] Failed to load polyfill:",e)}var Ue=Ce(require("react"));var Ni=process.env.REACT_APP_NODE_ENV==="production"?"https://wallet.verified.network":"https://veripay-bac0b.web.app",yn="https://wallet.verified.network/create-passkey",Tt="https://wallet.verified.network/get-passkey",Kn=["https://veripay-bac0b.web.app","https://wallet.verified.network","https://verified-l1.web.app","https://invest.verified.network"],vn=["https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap","https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap","https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap"],Wt="0x7f8d3f14b960b3bcf34baea4b46178e331b54a33e565d7d50d77cdfe9e926fe8",Qt={1:"1st",2:"2nd",3:"3rd",4:"4th",5:"5th"},At={1:"1 st",2:"2 nd",3:"3 rd",4:"4 th",5:"5 th"},Lt={connect_wallet:"connect your account",eth_requestAccounts:"connect your account",getPk:"recover your account details",invitation:"accept Co-Signer invitation",signRecovery:"sign account recovery",completeRecovery:"restore login access",eth_sendTransaction:"sign smart contract interaction"},E={successIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/succes-page-icon.svg",usaFlag:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/Flag-United-States-of-America%201.svg",privacyTip:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/privacy_tip.svg",addCoSignerIcon1:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-1.svg",addCoSignerIcon2:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-2.svg",addCoSignerIcon3:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-3.svg",addCoSignerIcon4:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/add-cosigner-icon-4.svg",pkicon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pk-icon.svg",encryptedIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/encrypted-icon.svg",pinHide:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pin-hide-icon.svg",pinShow:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pin-show-icon.svg",arrowUp:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/contact-arrow-up.svg",arrowDown:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/contact-dropdown.svg",editBlue:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/edit.svg",editBlack:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/edit-icon.svg",search:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/search-icon.svg",circleClicked:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/check-circle-icon.svg",supervise:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/supervisor-icon.svg",delete:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/delete-icon.svg",pointer:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/pointer-icon.svg",sliderDot:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/slider-icon.svg",select:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/select-icon.svg",selectClicked:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/select-clicked-icon.svg",addIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/plus-circle-icon.svg",addDisableIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/plus-circle-dis.svg",errorAlert:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/error-icon.svg",successAlert:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/success-icon.svg",loadingIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/loading-icon.png",checkCircle:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/check-circle.svg",expandRight:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/chevron-right-icon.svg",closeIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/close-icon.svg",infoBlue:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/info-blue.svg",profileEdit:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/profile-pic-edit.svg",infoReference:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/quick_reference.svg",profileQuestions:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/shield_question.svg",verifiedCheckMark:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/verified-checkmark.svg",friends:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/friends.svg",baseIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/base-icon.svg",ethereumIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/ethereum-icon.svg",gnosisIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/gnois-icon.svg",copyIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/copy_icon.svg",errorIcon:"https://raw.githubusercontent.com/kallolborah/verified-public-assets/main/error.svg"},Yt=[{name:"Afghanistan",code:"AF",currency:"AFN",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/af.webp",phone_code:"93"},{name:"Albania",code:"AL",currency:"ALL",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/al.webp",phone_code:"355"},{name:"Algeria",code:"DZ",currency:"DZD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/dz.webp",phone_code:"213"},{name:"American Samoa",code:"AS",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/as.webp",phone_code:"1-684"},{name:"Andorra",code:"AD",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ad.webp",phone_code:"376"},{name:"Angola",code:"AO",currency:"AOA",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ao.webp",phone_code:"244"},{name:"Anguilla",code:"AI",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ai.webp",phone_code:"1-264"},{name:"Antarctica",code:"AQ",currency:"N/A",continent:"Antarctica",flag:"https://flagpedia.net/data/flags/h80/aq.webp",phone_code:"N/A"},{name:"Antigua and Barbuda",code:"AG",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ag.webp",phone_code:"1-268"},{name:"Argentina",code:"AR",currency:"ARS",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/ar.webp",phone_code:"54"},{name:"Armenia",code:"AM",currency:"AMD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/am.webp",phone_code:"374"},{name:"Aruba",code:"AW",currency:"AWG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/aw.webp",phone_code:"297"},{name:"Australia",code:"AU",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/au.webp",phone_code:"61"},{name:"Austria",code:"AT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/at.webp",phone_code:"43"},{name:"Azerbaijan",code:"AZ",currency:"AZN",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/az.webp",phone_code:"994"},{name:"Bahamas",code:"BS",currency:"BSD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bs.webp",phone_code:"1-242"},{name:"Bahrain",code:"BH",currency:"BHD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bh.webp",phone_code:"973"},{name:"Bangladesh",code:"BD",currency:"BDT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bd.webp",phone_code:"880"},{name:"Barbados",code:"BB",currency:"BBD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bb.webp",phone_code:"1-246"},{name:"Belarus",code:"BY",currency:"BYR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/by.webp",phone_code:"375"},{name:"Belgium",code:"BE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/be.webp",phone_code:"32"},{name:"Belize",code:"BZ",currency:"BZD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bz.webp",phone_code:"501"},{name:"Benin",code:"BJ",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bj.webp",phone_code:"229"},{name:"Bermuda",code:"BM",currency:"BMD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bm.webp",phone_code:"1-441"},{name:"Bhutan",code:"BT",currency:"BTN",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bt.webp",phone_code:"975"},{name:"Bolivia",code:"BO",currency:"BOB",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/bo.webp",phone_code:"591"},{name:"Bosnia and Herzegovina",code:"BA",currency:"BAM",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ba.webp",phone_code:"387"},{name:"Botswana",code:"BW",currency:"BWP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bw.webp",phone_code:"267"},{name:"Brazil",code:"BR",currency:"BRL",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/br.webp",phone_code:"55"},{name:"British Indian Ocean Territory",code:"IO",currency:"USD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/io.webp",phone_code:"246"},{name:"Brunei Darussalam",code:"BN",currency:"BND",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/bn.webp",phone_code:"673"},{name:"Bulgaria",code:"BG",currency:"BGN",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/bg.webp",phone_code:"359"},{name:"Burkina Faso",code:"BF",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bf.webp",phone_code:"226"},{name:"Burundi",code:"BI",currency:"BIF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/bi.webp",phone_code:"257"},{name:"Cambodia",code:"KH",currency:"KHR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kh.webp",phone_code:"855"},{name:"Cameroon",code:"CM",currency:"CFA",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cm.webp",phone_code:"237"},{name:"Canada",code:"CA",currency:"CAD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ca.webp",phone_code:"1"},{name:"Cape Verde",code:"CV",currency:"CVE",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cv.webp",phone_code:"238"},{name:"Cayman Islands",code:"KY",currency:"KYD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ky.webp",phone_code:"1-345"},{name:"Central African Republic",code:"CF",currency:"XAF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cf.webp",phone_code:"236"},{name:"Chad",code:"TD",currency:"CDF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/td.webp",phone_code:"235"},{name:"Chile",code:"CL",currency:"CLP",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/cl.webp",phone_code:"56"},{name:"China",code:"CN",currency:"CNY",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/cn.webp",phone_code:"86"},{name:"Christmas Island",code:"CX",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/cx.webp",phone_code:"61"},{name:"Cocos (Keeling) Islands",code:"CC",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/cc.webp",phone_code:"61"},{name:"Colombia",code:"CO",currency:"COP",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/co.webp",phone_code:"57"},{name:"Comoros",code:"KM",currency:"KMF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/km.webp",phone_code:"269"},{name:"Congo (Congo-Brazzaville)",code:"CG",currency:"CDF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cg.webp",phone_code:"242"},{name:"Congo (Democratic Republic of the Congo)",code:"CD",currency:"CDF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/cd.webp",phone_code:"243"},{name:"Cook Islands",code:"CK",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/ck.webp",phone_code:"682"},{name:"Costa Rica",code:"CR",currency:"CRC",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/cr.webp",phone_code:"506"},{name:"Croatia",code:"HR",currency:"HRK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/hr.webp",phone_code:"385"},{name:"Cuba",code:"CU",currency:"CUP",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/cu.webp",phone_code:"53"},{name:"Cura\xE7ao",code:"CW",currency:"AWG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/cw.webp",phone_code:"599"},{name:"Cyprus",code:"CY",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/cy.webp",phone_code:"357"},{name:"Czech Republic",code:"CZ",currency:"CZK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/cz.webp",phone_code:"420"},{name:"Denmark",code:"DK",currency:"DKK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/dk.webp",phone_code:"45"},{name:"Djibouti",code:"DJ",currency:"DJF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/dj.webp",phone_code:"253"},{name:"Dominica",code:"DM",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/dm.webp",phone_code:"1-767"},{name:"Dominican Republic",code:"DO",currency:"DOP",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/do.webp",phone_code:"1-809"},{name:"Ecuador",code:"EC",currency:"USD",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/ec.webp",phone_code:"593"},{name:"Egypt",code:"EG",currency:"EGP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/eg.webp",phone_code:"20"},{name:"El Salvador",code:"SV",currency:"SVC",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/sv.webp",phone_code:"503"},{name:"Equatorial Guinea",code:"GQ",currency:"GNF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gq.webp",phone_code:"240"},{name:"Eritrea",code:"ER",currency:"ERN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/er.webp",phone_code:"291"},{name:"Estonia",code:"EE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ee.webp",phone_code:"372"},{name:"Eswatini",code:"SZ",currency:"SZL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sz.webp",phone_code:"268"},{name:"Ethiopia",code:"ET",currency:"ETB",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/et.webp",phone_code:"251"},{name:"Falkland Islands",code:"FK",currency:"FKP",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/fk.webp",phone_code:"500"},{name:"Faroe Islands",code:"FO",currency:"DKK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/fo.webp",phone_code:"298"},{name:"Fiji",code:"FJ",currency:"FJD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/fj.webp",phone_code:"679"},{name:"Finland",code:"FI",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/fi.webp",phone_code:"358"},{name:"France",code:"FR",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/fr.webp",phone_code:"33"},{name:"Gabon",code:"GA",currency:"GAB",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ga.webp",phone_code:"241"},{name:"Gambia",code:"GM",currency:"GMD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gm.webp",phone_code:"220"},{name:"Georgia",code:"GE",currency:"GEL",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ge.webp",phone_code:"995"},{name:"Germany",code:"DE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/de.webp",phone_code:"49"},{name:"Ghana",code:"GH",currency:"GHS",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gh.webp",phone_code:"233"},{name:"Greece",code:"GR",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/gr.webp",phone_code:"30"},{name:"Greenland",code:"GL",currency:"DKK",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gl.webp",phone_code:"299"},{name:"Grenada",code:"GD",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gd.webp",phone_code:"1-473"},{name:"Guadeloupe",code:"GP",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gp.webp",phone_code:"590"},{name:"Guam",code:"GU",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/gu.webp",phone_code:"1-671"},{name:"Guatemala",code:"GT",currency:"GTQ",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/gt.webp",phone_code:"502"},{name:"Guinea",code:"GN",currency:"GNF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gn.webp",phone_code:"224"},{name:"Guinea-Bissau",code:"GW",currency:"GNF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/gw.webp",phone_code:"245"},{name:"Guyana",code:"GY",currency:"GYD",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/gy.webp",phone_code:"592"},{name:"Haiti",code:"HT",currency:"HTG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ht.webp",phone_code:"509"},{name:"Heard Island and McDonald Islands",code:"HM",currency:"AUD",continent:"Australia",flag:"https://flagpedia.net/data/flags/h80/hm.webp",phone_code:"61"},{name:"Honduras",code:"HN",currency:"HNL",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/hn.webp",phone_code:"504"},{name:"Hong Kong",code:"HK",currency:"HKD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/hk.webp",phone_code:"852"},{name:"Hungary",code:"HU",currency:"HUF",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/hu.webp",phone_code:"36"},{name:"Iceland",code:"IS",currency:"ISK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/is.webp",phone_code:"354"},{name:"India",code:"IN",currency:"INR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/in.webp",phone_code:"91"},{name:"Indonesia",code:"ID",currency:"IDR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/id.webp",phone_code:"62"},{name:"Iran",code:"IR",currency:"IRR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ir.webp",phone_code:"98"},{name:"Iraq",code:"IQ",currency:"IQD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/iq.webp",phone_code:"964"},{name:"Ireland",code:"IE",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ie.webp",phone_code:"353"},{name:"Israel",code:"IL",currency:"ILS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/il.webp",phone_code:"972"},{name:"Italy",code:"IT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/it.webp",phone_code:"39"},{name:"Jamaica",code:"JM",currency:"JMD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/jm.webp",phone_code:"1-876"},{name:"Japan",code:"JP",currency:"JPY",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/jp.webp",phone_code:"81"},{name:"Jordan",code:"JO",currency:"JOD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/jo.webp",phone_code:"962"},{name:"Kazakhstan",code:"KZ",currency:"KZT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kz.webp",phone_code:"7"},{name:"Kenya",code:"KE",currency:"KES",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ke.webp",phone_code:"254"},{name:"Kiribati",code:"KI",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/ki.webp",phone_code:"686"},{name:"Korea (North)",code:"KP",currency:"KPW",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kp.webp",phone_code:"850"},{name:"Korea (South)",code:"KR",currency:"KRW",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kr.webp",phone_code:"82"},{name:"Kuwait",code:"KW",currency:"KWD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kw.webp",phone_code:"965"},{name:"Kyrgyzstan",code:"KG",currency:"KGS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/kg.webp",phone_code:"996"},{name:"Laos",code:"LA",currency:"LAK",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/la.webp",phone_code:"856"},{name:"Latvia",code:"LV",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/lv.webp",phone_code:"371"},{name:"Lebanon",code:"LB",currency:"LBP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/lb.webp",phone_code:"961"},{name:"Lesotho",code:"LS",currency:"LSL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ls.webp",phone_code:"266"},{name:"Liberia",code:"LR",currency:"LRD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/lr.webp",phone_code:"231"},{name:"Libya",code:"LY",currency:"LYD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ly.webp",phone_code:"218"},{name:"Liechtenstein",code:"LI",currency:"CHF",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/li.webp",phone_code:"423"},{name:"Lithuania",code:"LT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/lt.webp",phone_code:"370"},{name:"Luxembourg",code:"LU",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/lu.webp",phone_code:"352"},{name:"Macau",code:"MO",currency:"MOP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mo.webp",phone_code:"853"},{name:"Madagascar",code:"MG",currency:"MGA",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mg.webp",phone_code:"261"},{name:"Malawi",code:"MW",currency:"MWK",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mw.webp",phone_code:"265"},{name:"Malaysia",code:"MY",currency:"MYR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/my.webp",phone_code:"60"},{name:"Maldives",code:"MV",currency:"MVR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mv.webp",phone_code:"960"},{name:"Mali",code:"ML",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ml.webp",phone_code:"223"},{name:"Malta",code:"MT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/mt.webp",phone_code:"356"},{name:"Marshall Islands",code:"MH",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/mh.webp",phone_code:"692"},{name:"Martinique",code:"MQ",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/mq.webp",phone_code:"596"},{name:"Mauritania",code:"MR",currency:"MRU",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mr.webp",phone_code:"222"},{name:"Mauritius",code:"MU",currency:"MUR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mu.webp",phone_code:"230"},{name:"Mayotte",code:"YT",currency:"EUR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/yt.webp",phone_code:"269"},{name:"Mexico",code:"MX",currency:"MXN",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/mx.webp",phone_code:"52"},{name:"Micronesia",code:"FM",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/fm.webp",phone_code:"691"},{name:"Moldova",code:"MD",currency:"MDL",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/md.webp",phone_code:"373"},{name:"Monaco",code:"MC",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/mc.webp",phone_code:"377"},{name:"Mongolia",code:"MN",currency:"MNT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mn.webp",phone_code:"976"},{name:"Montenegro",code:"ME",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/me.webp",phone_code:"382"},{name:"Montserrat",code:"MS",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ms.webp",phone_code:"1-664"},{name:"Morocco",code:"MA",currency:"MAD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ma.webp",phone_code:"212"},{name:"Mozambique",code:"MZ",currency:"MZN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/mz.webp",phone_code:"258"},{name:"Myanmar",code:"MM",currency:"MMK",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/mm.webp",phone_code:"95"},{name:"Namibia",code:"NA",currency:"NAD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/na.webp",phone_code:"264"},{name:"Nauru",code:"NR",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nr.webp",phone_code:"674"},{name:"Nepal",code:"NP",currency:"NPR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/np.webp",phone_code:"977"},{name:"Netherlands",code:"NL",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/nl.webp",phone_code:"31"},{name:"New Caledonia",code:"NC",currency:"XPF",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nc.webp",phone_code:"687"},{name:"New Zealand",code:"NZ",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nz.webp",phone_code:"64"},{name:"Nicaragua",code:"NI",currency:"NIO",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/ni.webp",phone_code:"505"},{name:"Niger",code:"NE",currency:"NGN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ne.webp",phone_code:"227"},{name:"Nigeria",code:"NG",currency:"NGN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ng.webp",phone_code:"234"},{name:"Niue",code:"NU",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nu.webp",phone_code:"683"},{name:"Norfolk Island",code:"NF",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/nf.webp",phone_code:"672"},{name:"North Macedonia",code:"MK",currency:"MKD",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/mk.webp",phone_code:"389"},{name:"Northern Mariana Islands",code:"MP",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/mp.webp",phone_code:"1-670"},{name:"Norway",code:"NO",currency:"NOK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/no.webp",phone_code:"47"},{name:"Oman",code:"OM",currency:"OMR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/om.webp",phone_code:"968"},{name:"Pakistan",code:"PK",currency:"PKR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/pk.webp",phone_code:"92"},{name:"Palau",code:"PW",currency:"USD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/pw.webp",phone_code:"680"},{name:"Panama",code:"PA",currency:"PAB",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/pa.webp",phone_code:"507"},{name:"Papua New Guinea",code:"PG",currency:"PGK",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/pg.webp",phone_code:"675"},{name:"Paraguay",code:"PY",currency:"PYG",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/py.webp",phone_code:"595"},{name:"Peru",code:"PE",currency:"PEN",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/pe.webp",phone_code:"51"},{name:"Philippines",code:"PH",currency:"PHP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ph.webp",phone_code:"63"},{name:"Pitcairn Islands",code:"PN",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/pn.webp",phone_code:"64"},{name:"Poland",code:"PL",currency:"PLN",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/pl.webp",phone_code:"48"},{name:"Portugal",code:"PT",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/pt.webp",phone_code:"351"},{name:"Puerto Rico",code:"PR",currency:"USD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/pr.webp",phone_code:"1-787"},{name:"Qatar",code:"QA",currency:"QAR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/qa.webp",phone_code:"974"},{name:"Romania",code:"RO",currency:"RON",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ro.webp",phone_code:"40"},{name:"Russia",code:"RU",currency:"RUB",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ru.webp",phone_code:"7"},{name:"Rwanda",code:"RW",currency:"RWF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/rw.webp",phone_code:"250"},{name:"Saint Barth\xE9lemy",code:"BL",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/bl.webp",phone_code:"590"},{name:"Saint Helena",code:"SH",currency:"SHP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sh.webp",phone_code:"290"},{name:"Saint Kitts and Nevis",code:"KN",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/kn.webp",phone_code:"1-869"},{name:"Saint Lucia",code:"LC",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/lc.webp",phone_code:"1-758"},{name:"Saint Martin",code:"MF",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/mf.webp",phone_code:"590"},{name:"Saint Pierre and Miquelon",code:"PM",currency:"EUR",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/pm.webp",phone_code:"508"},{name:"Saint Vincent and the Grenadines",code:"VC",currency:"XCD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/vc.webp",phone_code:"1-784"},{name:"Samoa",code:"WS",currency:"WST",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/ws.webp",phone_code:"685"},{name:"San Marino",code:"SM",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/sm.webp",phone_code:"378"},{name:"Sao Tome and Principe",code:"ST",currency:"STN",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/st.webp",phone_code:"239"},{name:"Saudi Arabia",code:"SA",currency:"SAR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/sa.webp",phone_code:"966"},{name:"Senegal",code:"SN",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sn.webp",phone_code:"221"},{name:"Serbia",code:"RS",currency:"RSD",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/rs.webp",phone_code:"381"},{name:"Seychelles",code:"SC",currency:"SCR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sc.webp",phone_code:"248"},{name:"Sierra Leone",code:"SL",currency:"SLL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sl.webp",phone_code:"232"},{name:"Singapore",code:"SG",currency:"SGD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/sg.webp",phone_code:"65"},{name:"Sint Eustatius",code:"SX",currency:"USD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/sx.webp",phone_code:"599"},{name:"Sint Maarten",code:"SM",currency:"ANG",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/sm.webp",phone_code:"1-721"},{name:"Slovakia",code:"SK",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/sk.webp",phone_code:"421"},{name:"Slovenia",code:"SI",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/si.webp",phone_code:"386"},{name:"Solomon Islands",code:"SB",currency:"SBD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/sb.webp",phone_code:"677"},{name:"Somalia",code:"SO",currency:"SOS",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/so.webp",phone_code:"252"},{name:"South Africa",code:"ZA",currency:"ZAR",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/za.webp",phone_code:"27"},{name:"South Georgia and the South Sandwich Islands",code:"GS",currency:"GBP",continent:"Antarctica",flag:"https://flagpedia.net/data/flags/h80/gs.webp",phone_code:"500"},{name:"South Sudan",code:"SS",currency:"SSP",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ss.webp",phone_code:"211"},{name:"Spain",code:"ES",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/es.webp",phone_code:"34"},{name:"Sri Lanka",code:"LK",currency:"LKR",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/lk.webp",phone_code:"94"},{name:"Sudan",code:"SD",currency:"SDG",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/sd.webp",phone_code:"249"},{name:"Suriname",code:"SR",currency:"SRD",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/sr.webp",phone_code:"597"},{name:"Svalbard and Jan Mayen",code:"SJ",currency:"NOK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/sj.webp",phone_code:"47"},{name:"Sweden",code:"SE",currency:"SEK",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/se.webp",phone_code:"46"},{name:"Switzerland",code:"CH",currency:"CHF",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ch.webp",phone_code:"41"},{name:"Syria",code:"SY",currency:"SYP",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/sy.webp",phone_code:"963"},{name:"Taiwan",code:"TW",currency:"TWD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tw.webp",phone_code:"886"},{name:"Tajikistan",code:"TJ",currency:"TJS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tj.webp",phone_code:"992"},{name:"Tanzania",code:"TZ",currency:"TZS",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/tz.webp",phone_code:"255"},{name:"Thailand",code:"TH",currency:"THB",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/th.webp",phone_code:"66"},{name:"Timor-Leste",code:"TL",currency:"USD",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tl.webp",phone_code:"670"},{name:"Togo",code:"TG",currency:"XOF",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/tg.webp",phone_code:"228"},{name:"Tokelau",code:"TK",currency:"NZD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/tk.webp",phone_code:"690"},{name:"Tonga",code:"TO",currency:"TOP",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/to.webp",phone_code:"676"},{name:"Trinidad and Tobago",code:"TT",currency:"TTD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/tt.webp",phone_code:"1-868"},{name:"Tunisia",code:"TN",currency:"TND",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/tn.webp",phone_code:"216"},{name:"Turkey",code:"TR",currency:"TRY",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tr.webp",phone_code:"90"},{name:"Turkmenistan",code:"TM",currency:"TMT",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/tm.webp",phone_code:"993"},{name:"Tuvalu",code:"TV",currency:"AUD",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/tv.webp",phone_code:"688"},{name:"Uganda",code:"UG",currency:"UGX",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/ug.webp",phone_code:"256"},{name:"Ukraine",code:"UA",currency:"UAH",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/ua.webp",phone_code:"380"},{name:"United Arab Emirates",code:"AE",currency:"AED",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ae.webp",phone_code:"971"},{name:"United Kingdom",code:"GB",currency:"GBP",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/gb.webp",phone_code:"44"},{name:"United States",code:"US",currency:"USD",continent:"North America",flag:"https://flagpedia.net/data/flags/h80/us.webp",phone_code:"1"},{name:"Uruguay",code:"UY",currency:"UYU",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/uy.webp",phone_code:"598"},{name:"Uzbekistan",code:"UZ",currency:"UZS",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/uz.webp",phone_code:"998"},{name:"Vanuatu",code:"VU",currency:"VUV",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/vu.webp",phone_code:"678"},{name:"Vatican City",code:"VA",currency:"EUR",continent:"Europe",flag:"https://flagpedia.net/data/flags/h80/va.webp",phone_code:"379"},{name:"Venezuela",code:"VE",currency:"VES",continent:"South America",flag:"https://flagpedia.net/data/flags/h80/ve.webp",phone_code:"58"},{name:"Vietnam",code:"VN",currency:"VND",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/vn.webp",phone_code:"84"},{name:"Wallis and Futuna",code:"WF",currency:"XPF",continent:"Oceania",flag:"https://flagpedia.net/data/flags/h80/wf.webp",phone_code:"681"},{name:"Western Sahara",code:"EH",currency:"MAD",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/eh.webp",phone_code:"212"},{name:"Yemen",code:"YE",currency:"YER",continent:"Asia",flag:"https://flagpedia.net/data/flags/h80/ye.webp",phone_code:"967"},{name:"Zambia",code:"ZM",currency:"ZMW",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/zm.webp",phone_code:"260"},{name:"Zimbabwe",code:"ZW",currency:"ZWL",continent:"Africa",flag:"https://flagpedia.net/data/flags/h80/zw.webp",phone_code:"263"}];var Pn={verifiedCustdMdlContainer:{width:"100%",height:"100%",display:"flex",justifyContent:"center",paddingBottom:20,overflowY:"scroll",overflowX:"hidden",position:"relative"},verifiedCustdMdlStartupOutterGrad:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",overflowY:"scroll",overflowX:"hidden"},verifiedCustdMdlStartupOutterNorm:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",overflowY:"scroll",overflowX:"hidden",backgroundColor:"#ffffff"},verifiedCustdMdlStartup:{width:650,height:"auto",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",overflowX:"hidden",overflowY:"scroll",paddingBottom:20,borderWidth:1,borderColor:"#0F122E",borderRadius:10,position:"relative"},verifiedCustdMdlLoadingScreen:{borderRadius:10,width:"100%",flexShrink:0,backgroundColor:"rgba(0, 0, 0, 0.3)",zIndex:100,display:"flex",justifyContent:"center",alignItems:"center",overflow:"scroll",position:"absolute",top:0,left:0,right:0,bottom:0},verifiedCustdMdlStartupIconContainer:{width:"76.119%",display:"flex",justifyContent:"center",alignItems:"center",position:"relative",flexDirection:"column",height:298},verifiedCustdMdlStartupIconShadow:{position:"absolute",bottom:10,right:70,width:"48.5%"},verifiedCustdMdlStartupTextContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:12,marginRight:20,marginLeft:20},verifiedCustdMdlStartupTextHeader:{color:"#ffffff",fontFamily:"Manrope",fontSize:33.6,fontWeight:"700",lineHeight:45,margin:0},verifiedCustdMdlStartupTextFooter:{color:"#ffffff",fontFamily:"Roboto",fontSize:14.4,fontWeight:"400",lineHeight:24,opacity:.8},verifiedCustdMdlFtuStartupButton:{display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#cfe600",cursor:"pointer",userSelect:"none",color:"#0C0C0E",textAlign:"center",margin:20,fontFamily:"Roboto",fontSize:16,fontWeight:"500",lineHeight:24,outline:"none",borderWidth:0},verifiedCustdMdlStartupLanguage:{backgroundColor:"#ffffff",height:"100%",width:"100%"},verifiedCustdMdlStartupLanguageContentContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:32,width:"100%"},verifiedCustdMdlStLanguageContent:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:20,alignSelf:"stretch",width:"100%"},verifiedCustdMdlStLanguageText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:24,fontWeight:"700",lineHeight:24,alignSelf:"stretch"},verifiedCustdMdlMsSearchContentHover:{borderRadius:8,borderWidth:1,borderColor:"#9da3ff",backgroundColor:"#ecefff"},verifiedCustdMdlStContactInput:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:14,width:"90%"},verifiedCustdMdlStContactContentContainer:{display:"flex",alignItems:"flex-start",gap:8,width:"100%"},verifiedCustdMdlStContactFirstSection:{display:"flex",width:150,height:44,paddingLeft:6,alignItems:"center",borderRadius:8,backgroundColor:"#f7f7f8",cursor:"pointer",userSelect:"none"},verifiedCustdMdlStContactSelectionIcon:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:0,borderRadius:24,cursor:"pointer",userSelect:"none",overflow:"hidden",width:28,height:28},verifiedCustdMdlStContactSelectionText:{color:"#0c0c0e",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6,width:40,flexShrink:0},verifiedCustdMdlStContactDropdown:{},verifiedCustdMdlStContactFooterFirstSection:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:12,width:"100%"},verifiedCustdMdlStContactFooterSecondSection:{display:"flex",alignItems:"center",justifyContent:"center",gap:4,width:"100%"},verifiedCustdMdlCustomBlankPage:{height:0},verifiedCustdMdlStartupOtpText:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch"},verifiedCustdMdlStartupOtpHeaderText:{alignSelf:"stretch",color:"#5b5d6e",fontFamily:"Roboto",fontSize:11.2,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,maxWidth:"100%"},verifiedCustdMdlOtpInputGroup:{display:"flex",width:"100%",flexDirection:"row",alignItems:"flex-start",gap:8},verifiedCustdMdlOtpInput:{display:"flex",paddingTop:20,paddingBottom:20,paddingLeft:12,paddingRight:12,justifyContent:"center",alignItems:"center",gap:8,flex:1,alignSelf:"stretch",borderRadius:8,backgroundColor:"#f7f7f8",width:"25%",textAlign:"center",color:"#0C0C0E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6},verifiedCustdMdlOtpInputRed:{borderRadius:8,borderWidth:1,borderColor:"#E23636",backgroundColor:"#F7F7F8",display:"flex",paddingTop:20,paddingBottom:20,paddingLeft:12,paddingRight:12,justifyContent:"center",alignItems:"center",gap:8,flex:1,alignSelf:"stretch",width:"25%",textAlign:"center",color:"#0C0C0E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6},verifiedCustdMdlOtpIncorrectText:{color:"#E23636",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,maxWidth:200},verifiedCustdMdlOtpTimer:{display:"flex",justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",flexDirection:"row"},verifiedCustdMdlOtpTimerText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlOtpTimerTextRed:{color:"#e23636",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlOtpResendText:{color:"#b6b7c3",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlOtpResendTextActive:{color:"#603ff4",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlStOtpIcon:{},verifiedCustdMdlStartupButton:{display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#cfe600",color:"#0C0C0E",textAlign:"center",opacity:.5,fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,width:"90%",maxWidth:500},verifiedCustdMdlStartupButtonActive:{display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#cfe600",color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,width:"90%",maxWidth:500},verifiedCustdMdlOtpInputPassword:{fontWeight:"900"},verifiedCustdMdlStartupButtonClick:{borderRadius:8,borderWidth:1,borderColor:"#0c0c0e",display:"flex",padding:14,justifyContent:"center",alignItems:"center",gap:8,color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,width:"90%",backgroundColor:"transparent",maxWidth:500},verifiedCustdMdlPinInputContainerText:{color:"#5B5D6E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlStButtonText:{color:"#0c0c0e",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24},verifiedCustdMdlStartupSlider:{display:"flex",alignItems:"center",gap:12,borderRadius:4,width:"100%"},verifiedCustdMdlStartupSliderLine:{height:4,flexShrink:0,borderRadius:8,backgroundColor:"#eeeef0"},verifiedCustdMdlStartupSliderLineActive:{height:4,flex:1,borderRadius:8,backgroundColor:"#603ff4"},verifiedCustdMdlStartupContact:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:20,width:"100%"},verifiedCustdMdlStartupContactContent:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:16,alignSelf:"stretch"},verifiedCustdMdlStartupContactText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"700",lineHeight:16,alignSelf:"stretch",maxWidth:"100%"},verifiedCustdMdlStContactSecondSection:{display:"flex",width:"100%",height:44,paddingLeft:6,alignItems:"center",borderRadius:8,backgroundColor:"#f7f7f8",color:"#0C0C0E",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlStContactSecondSectionPlaceholder:{color:"#b6b7c3",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlStartupContactFooter:{display:"flex",flexDirection:"column",alignItems:"center",gap:12,width:"100%",marginTop:16},verifiedCustdMdlStContactInputError:{display:"flex",alignItems:"center",gap:4},verifiedCustdMdlInputErrorText:{color:"#e23636",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,margin:0},verifiedCustdMdlMobileStartupSearchBoxContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:6,width:"100%"},verifiedCustdMdlMobileStartupSearchBox:{display:"flex",height:40,alignItems:"center",gap:6,borderRadius:6,borderWidth:1,borderColor:"#d8d9df",backgroundColor:"#f7f7f8",width:"100%",overflow:"hidden"},verifiedCustdMdlMsSearchBoxContent:{height:"100%",width:"100%",backgroundColor:"transparent",color:"#0c0c0e",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlMsSearchBoxContentPlaceholder:{color:"#8f91a1",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlMobileStartupSearchContent:{display:"flex",width:"100%",flexDirection:"column",alignItems:"flex-start",gap:16,borderRadius:8,borderWidth:1,borderColor:"#f7f7f8",backgroundColor:"#ffffff"},verifiedCustdMdlMsSearchContentContainer:{display:"flex",flexDirection:"column",alignItems:"flex-start",alignSelf:"stretch",overflow:"scroll"},verifiedCustdMdlMsSearchContent:{display:"flex",padding:8,alignItems:"center",gap:19,alignSelf:"stretch",height:34,marginBottom:5,borderWidth:1,borderColor:"transparent"},verifiedCustdMdlMsSearchContentActive:{display:"flex",padding:8,justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",borderRadius:6,backgroundColor:"#f1f8ed"},verifiedCustdMdlMsSearchContentTextContainer:{display:"flex",alignItems:"center",gap:19},verifiedCustdMdlMsSearchContentIcon:{display:"flex",width:28,height:28,justifyContent:"center",alignItems:"center",borderRadius:24,borderWidth:1,borderColor:"rgba(0, 0, 0, 0.05)",backgroundColor:"#fff",shadowColor:"#eee",shadowOffset:{width:0,height:1},shadowOpacity:1,shadowRadius:4,elevation:3},verifiedCustdMdlMsSearchContentText:{color:"#0c0c0e",fontFamily:"Roboto",fontSize:12.4,fontStyle:"normal",fontWeight:"400",lineHeight:18.6},verifiedCustdMdlTermsAndCondition:{color:"#8f91a1",fontFamily:"Roboto",fontSize:11.2,fontStyle:"normal",fontWeight:"450",lineHeight:15.68},verifiedCustdMdlPrivacy:{flexDirection:"row",alignItems:"center",gap:4,marginBottom:20},verifiedCustdMdlPrivacyText:{color:"#40414c",fontFamily:"Roboto",fontSize:8,fontStyle:"normal",fontWeight:"400",lineHeight:20,letterSpacing:.25},verifiedCustdMdlPPPaymentPortalAmountInfoSeparator:{flexDirection:"row",alignItems:"center",gap:6,alignSelf:"stretch",justifyContent:"center"},verifiedCustdMdlPPPaymentPortalLine:{width:"50%",height:1,backgroundColor:"#eeeef0"},verifiedCustdMdlPPaymentPortalSeparatorText:{color:"#4a4a5a",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8,opacity:.6},verifiedCustdMdlStartupOtpFooter:{flexDirection:"row",alignItems:"center",gap:4,width:"100%",overflow:"hidden"},verifiedCustdMdlStartupOtpFooterText:{color:"#0c0c0e",fontFamily:"Manrope",fontSize:12.8,fontStyle:"normal",fontWeight:"600",lineHeight:12.8,maxWidth:"100%"},verifiedCustdMdlOtpInputContainer:{flexDirection:"column",alignItems:"flex-start",gap:6,width:"100%"},verifiedCustdMdlGeneralWebToastError:{flexDirection:"row",alignItems:"center",gap:12},verifiedCustdMdlGeneralWebToastErrorContainer:{width:"100%",flexDirection:"column",alignItems:"flex-start",gap:10,padding:6},verifiedCustdMdlGeneralWebToastErrorTitle:{margin:0,color:"#0c0c0e",fontFamily:"Manrope",fontSize:16,fontStyle:"normal",fontWeight:"600",lineHeight:16,alignSelf:"stretch"},verifiedCustdMdlGeneralWebToastErrorLabel:{alignSelf:"stretch",color:"#8f91a1",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21,margin:0},verifiedCustdMdlGeneralWebToastSuccess:{padding:12,justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",borderRadius:8,backgroundColor:"#f1f8ed",width:"100%",height:55,maxHeight:55,flexDirection:"row"},verifiedCustdMdlGeneralWebToastSuccessCont:{flexDirection:"row",alignItems:"center",gap:12,width:"100%"},verifiedCustdMdlGeneralWebToastSuccessContainer:{width:"100%",flexDirection:"column",alignItems:"flex-start",gap:10,padding:6},verifiedCustdMdlGeneralWebToastSuccessLink:{flexDirection:"row",alignItems:"center"},verifiedCustdMdlGeneralWebToastSuccessLinkText:{color:"#603ff4",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"700",lineHeight:21,textDecorationLine:"underline"},verifiedCustdMdlSuccessPopupContentContainer:{width:"28.4375%",padding:24,flexDirection:"column",alignItems:"center",backgroundColor:"#fff",shadowColor:"#000",shadowOffset:{width:0,height:4},shadowOpacity:.12,shadowRadius:19,elevation:5,height:"100%"},verifiedCustdMdlSuccessPopupContent:{width:"100%",flexDirection:"column",alignItems:"center",gap:32},verifiedCustdMdlSuccessPopupContentText:{flexDirection:"column",alignItems:"center",gap:12,alignSelf:"stretch"},verifiedCustdMdlSuccessPopupContentTextHeader:{color:"#0c0c0e",textAlign:"center",fontFamily:"Manrope",fontSize:24,fontStyle:"normal",fontWeight:"800",lineHeight:33.6},verifiedCustdMdlSuccessPopupContentTextFooter:{color:"#5b5d6e",textAlign:"center",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"400",lineHeight:24},verifiedCustdMdlAddCosignerBodyIcon:{width:"90%",maxWidth:"90%",height:250,maxHeight:250},verifiedCustdMdlAddCosignerBody:{padding:10,flexDirection:"column",alignItems:"flex-start",gap:12,borderRadius:8,backgroundColor:"#ECEFFF"},verifiedCustdMdlAddCosignerBodyTextCont:{flexDirection:"row",alignItems:"center",gap:10,width:"100%"},verifiedCustdMdlAddCosignerBodyTextIcon:{padding:8,alignItems:"center",justifyContent:"center",gap:10,borderRadius:24,backgroundColor:"#C2C7FF",width:20,height:20,overflow:"hidden"},verifiedCustdMdlAddCosignerBodyTextLabel:{width:"76.1%",color:"#5B5D6E",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"400",lineHeight:15},verifiedCustdMdlAddCosignerBodyTextLabelBold:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:14},verifiedCustdMdlAddCosignerButtonsCont:{padding:10,flexDirection:"row",alignItems:"flex-start",justifyContent:"space-between",gap:10,backgroundColor:"transparent"},verifiedCustdMdlAddCosignerButtonNeut:{width:"45%",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"transparent",borderWidth:1,borderColor:"#0C0C0E",color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:18},verifiedCustdMdlAddCosignerButtonAction:{width:"45%",padding:14,justifyContent:"center",alignItems:"center",gap:8,borderRadius:8,backgroundColor:"#CFE600",borderWidth:0,color:"#0C0C0E",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:18},verifiedCustdMdlAddCosignerMoreBody:{padding:15,flexDirection:"column",alignItems:"flex-start",gap:12,borderRadius:8,backgroundColor:"#ECEFFF"},verifiedCustdMdlAddCosignerMoreHeaderCont:{flexDirection:"column",alignItems:"flex-start",gap:32},verifiedCustdMdlAddCosignerMoreTitleCont:{flexDirection:"column",alignItems:"flex-start",gap:16,alignSelf:"stretch"},verifiedCustdMdlAddCosignerHeaderText:{alignSelf:"stretch",color:"#5B5D6E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18,margin:0},verifiedCustdMdlAddCosignerMoreTitle:{color:"#0C0C0E",fontFamily:"Manrope",fontSize:18,fontStyle:"normal",fontWeight:"700",lineHeight:21.6,margin:0},verifiedCustdMdlAddCosignerMoreLabel:{color:"#4A4A5A",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21},verifiedCustdMdlAddCosignerMoreLabelLink:{alignSelf:"stretch",color:"#4E2BD7",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:18,textDecorationLine:"underline",margin:0},verifiedCustdMdlAddCosignerHeaderInfoCont:{padding:10,flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch",borderRadius:8,backgroundColor:"#FFF9C1"},verifiedCustdMdlAddCosignerHeaderInfoText:{color:"#89490A",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:15},verifiedCustdMdlAddCosignerHeaderInfoTextBold:{color:"#89490A",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"700",lineHeight:14},verifiedCustdMdlAddCosignerStep2Body:{flexDirection:"column",alignItems:"flex-start",gap:10,marginTop:20},verifiedCustdMdlAddCosignerStep2BodyHeader:{width:"100%",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},verifiedCustdMdlAddCosignerStep2BodyHeaderFirstText:{color:"#0C0C0E",textAlign:"right",fontFamily:"Roboto",fontSize:12.8,fontStyle:"normal",fontWeight:"500",lineHeight:19.2},verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText:{color:"#0C0C0E",textAlign:"right",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlAddCosignerStep2BodyContent:{flexDirection:"column",alignItems:"flex-start",gap:16,width:"100%"},verifiedCustdMdlAddCosignerStep2BodyContentHeader:{paddingTop:14,justifyContent:"center",alignItems:"center",flexDirection:"column",position:"relative",width:"100%"},verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont:{width:"100%",padding:12,flexDirection:"column",alignItems:"flex-start",gap:16},verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel:{paddingVertical:4,paddingHorizontal:6,alignItems:"flex-start",gap:10,position:"absolute",left:12,top:-14,borderRadius:6,backgroundColor:"#DDE1FF"},verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText:{color:"#362689",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:14,margin:0},verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody:{flexDirection:"row",justifyContent:"space-between",alignSelf:"stretch",borderRadius:8,borderWidth:1,borderColor:"#EEEEF0",backgroundColor:"#F7F7F8",padding:12,alignItems:"flex-start",gap:16,position:"relative"},verifiedCustdMdlAC2BContentHeaderBodyHeaderCont:{flexDirection:"row",alignItems:"center",gap:12,width:"100%"},verifiedCustdMdlAC2BContentHeaderBodyHeader:{flexDirection:"column",alignItems:"flex-start",gap:6,width:"100%"},verifiedCustdMdlAC2BContentHeaderBodyTitle:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:16,fontStyle:"normal",fontWeight:"500",lineHeight:24,margin:0,maxWidth:150},verifiedCustdMdlAC2BContentHeaderBodyLabel:{color:"#8F91A1",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:16.8,margin:0,maxWidth:200},verifiedCustdMdlAC2BContentHeaderBodyButton:{flexDirection:"row",paddingVertical:5.5,paddingHorizontal:8,justifyContent:"center",alignItems:"center",gap:10,borderRadius:6,borderWidth:1,borderColor:"#603FF4",backgroundColor:"#603FF4",color:"#ECEFFF",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:19.6},verifiedCustdMdlAddCosignerStep2BodyContentFooter:{flexDirection:"row",alignItems:"center",gap:4},verifiedCustdMdlAddCosignerStep2BodyContentFooterText:{color:"#603FF4",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:21},verifiedCustdMdlAddCosignerStep2AddMoreBody:{flexDirection:"column",alignItems:"flex-start",padding:15,gap:16,borderRadius:8,borderWidth:1,borderColor:"#D8D9DF",minWidth:"90%",marginBottom:20,width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreFirst:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreFirstHeader:{flexDirection:"row",alignItems:"flex-end",gap:5},verifiedCustdMdlAddCosignerStep2AddMoreFirstHeaderText:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:11.2,fontStyle:"normal",fontWeight:"500",lineHeight:16.8},verifiedCustdMdlAddCosignerStep2AddMoreFirstFooter:{flexDirection:"row",paddingVertical:4,paddingHorizontal:6,alignItems:"flex-start",gap:10,borderRadius:6,backgroundColor:"#DDE1FF"},verifiedCustdMdlAddCosignerStep2AddMoreFirstFooterText:{color:"#362689",fontFamily:"Roboto",fontSize:10,fontStyle:"normal",fontWeight:"500",lineHeight:14,margin:0},verifiedCustdMdlAddCosignerStep2AddMoreSecond:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:4,width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreSecondInput:{display:"flex",padding:12,alignItems:"center",gap:182,alignSelf:"stretch",borderRadius:8,backgroundColor:"#F7F7F8",color:"#0C0C0E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18},verifiedCustdMdlAddCosignerStep2AddMoreThird:{display:"flex",alignItems:"flex-start",gap:24,width:"100%"},verifiedCustdMdlAddCosignerStep2AddMoreThirdCont:{display:"flex",alignItems:"center",gap:4},verifiedCustdMdlAddCosignerStep2AddMoreThirdContText:{color:"#383842",fontFamily:"Roboto",fontSize:13,fontStyle:"normal",fontWeight:"400",lineHeight:20},verifiedCustdMdlAddCosignerStep2AddMoreButtons:{display:"flex",alignItems:"flex-start",gap:16,alignSelf:"stretch",width:"100%",backgroundColor:"transparent"},verifiedCustdMdlAddCosignerStep2AddMoreButtonsNeut:{width:"50%",display:"flex",paddingVertical:7.5,paddingHorizontal:12,justifyContent:"center",alignItems:"center",gap:10,flexGrow:1,flexShrink:0,flexBasis:0,borderRadius:8,borderWidth:1,borderColor:"#603FF4",color:"#603FF4",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:20,backgroundColor:"transparent",cursor:"pointer"},verifiedCustdMdlAddCosignerStep2AddMoreButtonsAction:{width:"50%",display:"flex",paddingVertical:6,paddingHorizontal:8,justifyContent:"center",alignItems:"center",gap:10,flexGrow:1,flexShrink:0,flexBasis:0,alignSelf:"stretch",borderRadius:8,borderWidth:1,borderColor:"#603FF4",backgroundColor:"#603FF4",color:"#ECEFFF",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:20,cursor:"pointer"},verifiedCustdMdlAddCosignerStep2AddMoreSecondInputPlaceholder:{color:"#B6B7C3",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18},verifiedCustdMdlAddCosignerConfirmBodyContent:{display:"flex",paddingTop:20,paddingBottom:20,flexDirection:"column",justifyContent:"flex-start",alignItems:"center",gap:61,borderTopLeftRadius:8,borderTopRightRadius:8,backgroundColor:"#FFFFFF",width:"100%",maxHeight:"62.7%"},verifiedCustdMdlAddCosignerConfirmBodyCont:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:16,width:"90%"},verifiedCustdMdlAddCosignerConfirmBodyHeader:{display:"flex",flexDirection:"column",alignItems:"center",gap:16},verifiedCustdMdlAddCosignerConfirmBodyTitle:{color:"#0C0C0E",fontFamily:"Manrope",fontSize:16,fontStyle:"normal",fontWeight:"700",lineHeight:24,margin:0},verifiedCustdMdlAddCosignerConfirmBodyLabel:{color:"#5B5D6E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18,margin:0},verifiedCustdMdlAddCosignerConfirmBodyFooter:{display:"flex",width:"90%",paddingTop:15,paddingBottom:5,paddingHorizontal:15,flexDirection:"column",alignItems:"flex-start",gap:5,borderRadius:8,borderWidth:1,borderColor:"#EEEEF0",backgroundColor:"#FFFFFF"},verifiedCustdMdlAddCosignerConfirmBodyFooterIndCont:{display:"flex",width:"100%",flexDirection:"row",backgroundColor:"transparent",justifyContent:"space-between",alignItems:"center",marginBottom:3},verifiedCustdMdlAddCosignerConfirmBodyFooterInd:{display:"flex",flexDirection:"column",alignItems:"center",gap:-6,borderRadius:2},verifiedCustdMdlAddCosignerConfirmBodyFooterIndTextCont:{display:"flex",paddingVertical:4,paddingHorizontal:12,justifyContent:"center",alignItems:"center",gap:10,borderRadius:6,backgroundColor:"#603FF4"},verifiedCustdMdlAddCosignerConfirmBodyFooterIndText:{color:"#FFFFFF",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:17,margin:0},verifiedCustdMdlAddCosignerConfirmBodyFooterIndIcon:{width:12,height:12},verifiedCustdMdlPrivacyIcon:{width:20,height:20},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelCont:{width:"100%",height:51},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderCont:{width:"98%",height:16,flexShrink:0},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSlider:{width:"100%",height:5,flexShrink:0,borderRadius:10,backgroundColor:"#EEEEF0"},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd:{height:5,flexShrink:0,borderRadius:10,backgroundColor:"#603FF4",position:"relative"},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon:{flexShrink:0,position:"absolute",top:-5,right:0,width:16,height:16},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelTextCont:{display:"flex",width:"100%",paddingVertical:10,justifyContent:"space-between",alignItems:"center"},verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText:{color:"#0C0C0E",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"500",lineHeight:17,margin:0,cursor:"pointer"},verifiedCustdMdlAC2BContentHeaderBodyHeaderIcons:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:16,marginTop:10},verifiedCustdMdlAddCosignerStep2BodyContentFooterDis:{display:"flex",alignItems:"center",gap:4,marginBottom:18},verifiedCustdMdlAddCosignerStep2BodyContentFooterTextDis:{color:"#B6B7C3",textAlign:"right",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"500",lineHeight:21},verifiedCustdMdlStartupContactContentHeaderCont:{width:"100%",flexDirection:"row",justifyContent:"space-between",display:"flex"},verifiedCustdMdlAddCosignerConfirmBodyContentOutter:{backgroundColor:"rgba(0, 0, 0, 0.40)",zIndex:5,position:"absolute",width:"100%",bottom:0,right:0,left:0,height:"100%",display:"flex",flexDirection:"column-reverse"},verifiedCustdMdlPortfolioPageContentHeaderButton:{display:"flex",paddingVertical:6,paddingHorizontal:12,alignItems:"center",gap:4,borderRadius:32,backgroundColor:"#362689",cursor:"pointer",color:"#FFFFFF",borderWidth:0,width:"auto",maxWidth:150,fontFamily:"Roboto",fontSize:10.4,fontStyle:"normal",fontWeight:"400",lineHeight:14.56,height:30,flexWrap:"wrap"},verifiedCustdMdlPortfolioPageContentHeaderButtonCont:{width:"auto",height:"auto",display:"flex",flexDirection:"column",gap:4,justifyContent:"flex-start",position:"relative"},verifiedCustdMdlPortfolioPageContentHeaderButtonBody:{height:"auto",width:"auto",display:"flex",flexDirection:"column",gap:4,borderWidth:0,borderRadius:10,backgroundColor:"#F7F7F8",padding:10,position:"absolute",top:33,right:0},verifiedCustdMdlPortfolioPageContentHeaderButtonBodyCont:{backgroundColor:"transparent",cursor:"pointer",borderWidth:1,borderColor:"transparent",padding:5},verifiedCustdMdlPortfolioPageContentHeaderButtonBodyText:{width:110,fontFamily:"Roboto",fontSize:10.4,fontStyle:"normal",fontWeight:"400",lineHeight:14.56,flexWrap:"wrap"},verifiedCustdMdlProfilePopupContentThirdButton:{display:"flex",width:100,paddingVertical:6,paddingHorizontal:14,justifyContent:"center",alignItems:"center",gap:10,borderRadius:100,borderWidth:1,borderColor:"#4e2bd7"},verifiedCustdMdlProfilePopupContentThirdButtonText:{color:"#603ff4",textAlign:"center",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"600",lineHeight:17.5},verifiedCustdMdlProfilePopupContentThird:{display:"flex",padding:12,flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch",borderRadius:8,backgroundColor:"#FFFFFF",shadowColor:"#000",shadowOffset:{width:0,height:0},shadowOpacity:.12,shadowRadius:16,elevation:4},verifiedCustdMdlProfilePopupContentThirdContainer:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:12,alignSelf:"stretch"},verifiedCustdMdlProfilePopupContentThirdContent:{display:"flex",paddingVertical:4,paddingHorizontal:0,justifyContent:"space-between",alignItems:"center",alignSelf:"stretch",borderRadius:8,cursor:"pointer"},verifiedCustdMdlProfilePopupContentThirdContentTextContainer:{display:"flex",alignItems:"center",gap:8},verifiedCustdMdlProfilePopupContentThirdContentText:{color:"#383842",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"400",lineHeight:21,maxWidth:170,flexWrap:"wrap"},verifiedCustdMdlProfilePopupContentThirdContentLine:{width:"100%",height:1,backgroundColor:"#EEEEF0"},verifiedCustdMdlProfilePopupContent:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:16,alignSelf:"stretch"},verifiedCustdMdlAssetLayoutContent:{display:"flex",paddingTop:0,paddingBottom:155,paddingHorizontal:20,flexDirection:"column",alignItems:"flex-start",gap:20,borderRadius:8,backgroundColor:"#FFFFFF",width:"100%",height:"100%"},verifiedCustdMdlProfilePopupContentSecond:{display:"flex",padding:12,flexDirection:"column",alignItems:"flex-start",gap:12,alignSelf:"stretch",borderRadius:8,backgroundColor:"#FFFFFF",shadowColor:"#000",shadowOffset:{width:0,height:0},shadowOpacity:.12,shadowRadius:16,elevation:4},verifiedCustdMdlProfilePopupContentSecondText:{color:"#383842",textAlign:"center",fontFamily:"Roboto",fontSize:14,fontStyle:"normal",fontWeight:"700",lineHeight:21},verifiedCustdMdlProfilePopupContentSecondContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",alignSelf:"stretch"},verifiedCustdMdlProfilePopupContentSecondContent:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:8,borderRadius:24,cursor:"pointer"},verifiedCustdMdlProfilePopupContentSecondContentIcon:{display:"flex",padding:12,flexDirection:"column",alignItems:"center",gap:8,borderRadius:4,backgroundColor:"#ECEFFF"},verifiedCustdMdlProfilePopupContentSecondContentText:{color:"#000000",textAlign:"center",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:18,textTransform:"capitalize",width:"auto",maxWidth:60,height:36},VerifiedCustdMdlOfferSecurityPopupInfoContentGrad:{display:"flex",paddingVertical:6,paddingHorizontal:12,justifyContent:"center",alignItems:"center",gap:10,backgroundColor:"#FFFFFF",position:"absolute",top:-1,left:4,width:230,borderRadius:2,zIndex:3,shadowColor:"#000",shadowOffset:{width:0,height:0},shadowOpacity:.12,shadowRadius:16,elevation:4},verifiedCustdMdlOfferSecurityPopupInfoContentText:{color:"#383842",width:"auto",maxWidth:300,height:"auto",flexWrap:"wrap",fontFamily:"Roboto",fontSize:12,fontStyle:"normal",fontWeight:"400",lineHeight:16.8}};var jt=!1,qt=!1,Zt,zt,en,tn,nn,an,on,rn,An,Ln,bn,dn,xn,Gt=async()=>{if(qt)return;if(typeof navigator<"u"&&navigator.product==="ReactNative"){console.log("Initializing React Native platform...");let t=await import("react-native"),i=await import("events");An=(await import("expo-font")).default;let s=await import("@react-native-async-storage/async-storage");xn=await import("react-native-passkeys"),Ln=s.default,bn=i.EventEmitter;let x=({className:K,id:p,...h})=>h,l=K=>p=>Ue.default.createElement(K,{...x(p)});Zt=l(t.View),zt=l(t.Text),en=l(t.Image),tn=l(t.ScrollView),nn=t.StyleSheet,an=l(t.TextInput),on=l(t.TouchableOpacity),rn=l(t.ActivityIndicator),dn=t.StyleSheet.create(Pn),jt=!0,console.log("React Native platform initialized.")}else{console.log("Initializing Web platform...");let{motion:t}=await import("framer-motion");Zt=({onPress:i,...a})=>Ue.default.createElement("div",{onClick:i,...a}),zt=({onPress:i,...a})=>Ue.default.createElement("span",{onClick:i,...a}),en=({onPress:i,source:a,...s})=>Ue.default.createElement("img",{onClick:i,...s,src:a?.uri}),tn=i=>Ue.default.createElement("div",{style:{overflowY:"auto",...i.style}},i.children),nn={create:i=>i},dn={},an=(0,Ue.forwardRef)(({onChangeText:i,onInput:a,onKeyDown:s,onKeyPress:m,value:x,keyboardType:l,secureTextEntry:K,onSubmitEditing:p,blurOnSubmit:h,placeholderTextColor:n,...r},b)=>Ue.default.createElement("input",{...r,ref:b,value:x,onInput:y=>{a?.(y),i?.(y.target.value)},onKeyDown:y=>{y.key==="Enter"&&(y.preventDefault(),p?.(y)),s?.(y),m?.(y)},type:K?"password":l==="numeric"||l==="number-pad"?"tel":"text",onChange:()=>{}})),on=({onPress:i,style:a,...s})=>Ue.default.createElement("button",{style:{outline:"none",border:"none",...a},onClick:i,...s},s.children),rn=({color:i,size:a,...s})=>Ue.default.createElement(t.img,{height:"50px",width:"50px",src:E.loadingIcon,alt:"Loading...",animate:{rotate:360,scale:[1,1.5,1]},transition:{duration:2,repeat:1/0,ease:"linear"},...s}),jt=!1,console.log("Web platform initialized.")}qt=!0},Mt=()=>{if(!qt)throw new Error("Platform not initialized. Call `await initPlatform()` first.");return{isReactNative:jt,View:Zt,Text:zt,Image:en,ScrollView:tn,StyleSheet:nn,TextInput:an,TouchableOpacity:on,ActivityIndicator:rn,Font:An,AsyncStorage:Ln,EventEmitter:bn,styles:dn,rnPasskey:xn}};var T=Ce(require("react"));var Ge=Ce(require("react")),wn=(0,Ge.createContext)(void 0),Ft=({children:e})=>{let[t,i]=(0,Ge.useState)(null),[a,s]=(0,Ge.useState)(null),[m,x]=(0,Ge.useState)(null),[l,K]=(0,Ge.useState)(null),[p,h]=(0,Ge.useState)(null),[n,r]=(0,Ge.useState)(null),[b,y]=(0,Ge.useState)(null);return Ge.default.createElement(wn.Provider,{value:{chainId:t,pk:a,address:m,signer:l,provider:p,vaultContract:n,vaultData:b,setChainId:i,setPk:s,setAddress:x,setSigner:K,setProvider:h,setVaultContract:r,setVaultData:y}},e)},Me=()=>{let e=(0,Ge.useContext)(wn);if(!e)throw new Error("useVaultStore must be used within VaultContextProvider");return e};var W=Ce(require("react")),Un=require("lodash");var je=require("@verified-network/verified-sdk");var he={1:{chainId:"0x1",chainName:"Ethereum",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://eth-mainnet.g.alchemy.com/v2/82hkNrfu6ZZ8Wms2vr1U331ml3FtS7AZ"],blockExplorerUrls:["https://etherscan.io/"],icon:E.ethereumIcon},8453:{chainId:"0x2105",chainName:"Base Mainnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://base-mainnet.g.alchemy.com/v2/82hkNrfu6ZZ8Wms2vr1U331ml3FtS7AZ"],blockExplorerUrls:["https://basescan.org/"],Icon:E.baseIcon},100:{chainId:"0x64",chainName:"Gnosis",nativeCurrency:{name:"XDAI",symbol:"XDAI",decimals:18},rpcUrls:["https://rpc.gnosischain.com/"],blockExplorerUrls:["https://gnosisscan.io/"],icon:E.gnosisIcon},11155111:{chainId:"0xaa36a7",chainName:"Sepolia Test Network",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://eth-sepolia.g.alchemy.com/v2/82hkNrfu6ZZ8Wms2vr1U331ml3FtS7AZ"],blockExplorerUrls:["https://sepolia.etherscan.io/"],icon:E.ethereumIcon,custodyContractBlock:9236510},84532:{chainId:"0x14a34",chainName:"Base Sepolia",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://sepolia.base.org"],blockExplorerUrls:["https://sepolia.basescan.org/"],icon:E.baseIcon}};var xt=require("@noble/hashes/pbkdf2"),gt=require("@noble/hashes/sha256"),De=require("@noble/hashes/utils"),cn=require("@noble/ciphers/aes"),Dt=Ce(require("crypto-js")),ln=require("react-toastify"),ht=Ce(require("react")),He=require("viem/chains"),Yn=require("viem");var Ae=require("viem");var _n={abi:[{type:"constructor",inputs:[{name:"defaultValidator",type:"address",internalType:"address"},{name:"initData",type:"bytes",internalType:"bytes"}],stateMutability:"nonpayable"},{type:"error",name:"CanNotRemoveLastValidator",inputs:[]},{type:"error",name:"DefaultValidatorAlreadyInstalled",inputs:[]},{type:"error",name:"EmergencyUninstallSigError",inputs:[]},{type:"error",name:"EnableModeSigError",inputs:[]},{type:"error",name:"FallbackAlreadyInstalledForSelector",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"FallbackCallTypeInvalid",inputs:[]},{type:"error",name:"FallbackHandlerUninstallFailed",inputs:[]},{type:"error",name:"FallbackNotInstalledForSelector",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"FallbackSelectorForbidden",inputs:[]},{type:"error",name:"HookAlreadyInstalled",inputs:[{name:"currentHook",type:"address",internalType:"address"}]},{type:"error",name:"HookPostCheckFailed",inputs:[]},{type:"error",name:"InvalidInput",inputs:[]},{type:"error",name:"InvalidModule",inputs:[{name:"module",type:"address",internalType:"address"}]},{type:"error",name:"InvalidModuleTypeId",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"InvalidNonce",inputs:[]},{type:"error",name:"LinkedList_AlreadyInitialized",inputs:[]},{type:"error",name:"LinkedList_EntryAlreadyInList",inputs:[{name:"entry",type:"address",internalType:"address"}]},{type:"error",name:"LinkedList_InvalidEntry",inputs:[{name:"entry",type:"address",internalType:"address"}]},{type:"error",name:"LinkedList_InvalidPage",inputs:[]},{type:"error",name:"MismatchModuleTypeId",inputs:[]},{type:"error",name:"MissingFallbackHandler",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}]},{type:"error",name:"ModuleAddressCanNotBeZero",inputs:[]},{type:"error",name:"ModuleAlreadyInstalled",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"}]},{type:"error",name:"ModuleNotInstalled",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"}]},{type:"error",name:"NoValidatorInstalled",inputs:[]},{type:"error",name:"PrevalidationHookAlreadyInstalled",inputs:[{name:"currentPreValidationHook",type:"address",internalType:"address"}]},{type:"error",name:"UnauthorizedOperation",inputs:[{name:"operator",type:"address",internalType:"address"}]},{type:"error",name:"UnsupportedCallType",inputs:[{name:"callType",type:"bytes1",internalType:"CallType"}]},{type:"error",name:"ValidatorNotInstalled",inputs:[{name:"module",type:"address",internalType:"address"}]},{type:"event",name:"ERC7484RegistryConfigured",inputs:[{name:"registry",type:"address",indexed:!0,internalType:"contract IERC7484"}],anonymous:!1},{type:"event",name:"ModuleInstalled",inputs:[{name:"moduleTypeId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"module",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"ModuleUninstalled",inputs:[{name:"moduleTypeId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"module",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"fallback",stateMutability:"payable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveHook",inputs:[],outputs:[{name:"hook",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getExecutorsPaginated",inputs:[{name:"cursor",type:"address",internalType:"address"},{name:"size",type:"uint256",internalType:"uint256"}],outputs:[{name:"array",type:"address[]",internalType:"address[]"},{name:"next",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getFallbackHandlerBySelector",inputs:[{name:"selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bytes1",internalType:"CallType"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRegistry",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IERC7484"}],stateMutability:"view"},{type:"function",name:"getValidatorsPaginated",inputs:[{name:"cursor",type:"address",internalType:"address"},{name:"size",type:"uint256",internalType:"uint256"}],outputs:[{name:"array",type:"address[]",internalType:"address[]"},{name:"next",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initNexus",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusNoRegistry",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusScoped",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusScopedNoRegistry",inputs:[{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithDefaultValidator",inputs:[{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithDefaultValidatorAndOtherModules",inputs:[{name:"defaultValidatorInitData",type:"bytes",internalType:"bytes"},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithDefaultValidatorAndOtherModulesNoRegistry",inputs:[{name:"defaultValidatorInitData",type:"bytes",internalType:"bytes"},{name:"validators",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"executors",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"hook",type:"tuple",internalType:"struct BootstrapConfig",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"fallbacks",type:"tuple[]",internalType:"struct BootstrapConfig[]",components:[{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"preValidationHooks",type:"tuple[]",internalType:"struct BootstrapPreValidationHookConfig[]",components:[{name:"hookType",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithSingleValidator",inputs:[{name:"validator",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"},{name:"registryConfig",type:"tuple",internalType:"struct RegistryConfig",components:[{name:"registry",type:"address",internalType:"contract IERC7484"},{name:"attesters",type:"address[]",internalType:"address[]"},{name:"threshold",type:"uint8",internalType:"uint8"}]}],outputs:[],stateMutability:"payable"},{type:"function",name:"initNexusWithSingleValidatorNoRegistry",inputs:[{name:"validator",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"installModule",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"initData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"isModuleInstalled",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"additionalContext",type:"bytes",internalType:"bytes"}],outputs:[{name:"installed",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"uninstallModule",inputs:[{name:"moduleTypeId",type:"uint256",internalType:"uint256"},{name:"module",type:"address",internalType:"address"},{name:"deInitData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"receive",stateMutability:"payable"}]};var Sn={abi:[{inputs:[{internalType:"address",name:"implementation_",type:"address"},{internalType:"address",name:"owner_",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"AccountAlreadyDeployed",type:"error"},{inputs:[],name:"AlreadyInitialized",type:"error"},{inputs:[],name:"ImplementationAddressCanNotBeZero",type:"error"},{inputs:[],name:"InvalidEntryPointAddress",type:"error"},{inputs:[],name:"NewOwnerIsZeroAddress",type:"error"},{inputs:[],name:"NoHandoverRequest",type:"error"},{inputs:[],name:"Unauthorized",type:"error"},{inputs:[],name:"ZeroAddressNotAllowed",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"bytes",name:"initData",type:"bytes"},{indexed:!0,internalType:"bytes32",name:"salt",type:"bytes32"}],name:"AccountCreated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"pendingOwner",type:"address"}],name:"OwnershipHandoverCanceled",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"pendingOwner",type:"address"}],name:"OwnershipHandoverRequested",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"oldOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"ACCOUNT_IMPLEMENTATION",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"epAddress",type:"address"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"cancelOwnershipHandover",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"pendingOwner",type:"address"}],name:"completeOwnershipHandover",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"bytes",name:"initData",type:"bytes"},{internalType:"bytes32",name:"salt",type:"bytes32"}],name:"computeAccountAddress",outputs:[{internalType:"address payable",name:"expectedAddress",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initData",type:"bytes"},{internalType:"bytes32",name:"salt",type:"bytes32"}],name:"createAccount",outputs:[{internalType:"address payable",name:"",type:"address"}],stateMutability:"payable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"result",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"pendingOwner",type:"address"}],name:"ownershipHandoverExpiresAt",outputs:[{internalType:"uint256",name:"result",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"requestOwnershipHandover",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"epAddress",type:"address"}],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"epAddress",type:"address"},{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"}]};var ri="0x000000001D1D5004a02bAfAb9de2D6CE5b7B13de",di="0x00000000D3254452a909E4eeD47455Af7E27C289",Nn="0x81d4b4981670cb18f99f0b4a66446df1bf5b204d24cfcb659bf38ba27a4359b5711649ec2423c5e1247245eba2964679b6a1dbb85c992ae40b9b00c6935b02ff1b",si=0n,bt=e=>{let t=e.module||e.address,i=e.initData||e.data;if(!t||!i)throw new Error("Module or data is missing");return{module:t,data:i}},li=e=>(0,Ae.encodeAbiParameters)([{name:"bootstrap",type:"address"},{name:"initData",type:"bytes"}],[e.bootStrapAddress,(0,Ae.encodeFunctionData)({abi:_n.abi,functionName:"initNexusWithDefaultValidatorAndOtherModulesNoRegistry",args:[e.defaultValidator.data,e.validators,e.executors,e.hook,e.fallbacks,e.prevalidationHooks]})]),ci=e=>{let{deInitData:t="0x",type:i="validator",signer:a,data:s="0x",module:m,...x}=e;return{deInitData:t,data:s,module:m,address:m,signer:a,type:i,getStubSignature:async()=>Nn,signUserOpHash:async l=>await a.signMessage({message:{raw:l}}),signMessage:async l=>await a.signMessage({message:l}),...x}},ui=e=>ci({initData:e.signer.address,data:e.signer.address,deInitData:"0x",...e,address:Ae.zeroAddress,module:Ae.zeroAddress,type:"validator",getStubSignature:async()=>Nn}),fi=()=>({module:Ae.zeroAddress,data:Ae.zeroHash}),Bt=async(e,t,i)=>{let a=(0,Ae.createPublicClient)({chain:e,transport:t}),s=ui({signer:i}),m=[],x=[],l=fi(),K=[],p=Ae.zeroAddress,h=ri,n=di,r=[],b=li({defaultValidator:bt(s),validators:m.map(bt),executors:x.map(bt),hook:bt(l),fallbacks:K.map(bt),registryAddress:p,bootStrapAddress:n,prevalidationHooks:r}),y=(0,Ae.pad)((0,Ae.toHex)(si),{size:32}),k=await a.readContract({address:h,abi:Sn.abi,functionName:"computeAccountAddress",args:[b,y],authorizationList:void 0});if(k?.toLowerCase()!==Ae.zeroAddress?.toLowerCase())return k};var xe=e=>{if(!e.querySelector('link[href="https://fonts.googleapis.com"]')){let a=e.createElement("link");a.rel="preconnect",a.href="https://fonts.googleapis.com",e.head.appendChild(a)}if(!e.querySelector('link[href="https://fonts.gstatic.com"]')){let a=e.createElement("link");a.rel="preconnect",a.href="https://fonts.gstatic.com",e.head.appendChild(a)}return vn.map(a=>{if(!e.querySelector(`link[href="${a}"]`)){let m=e.createElement("link");m.rel="stylesheet",m.href=a,e.head.appendChild(m)}}),!0},we=async e=>(await e?.loadAsync({Roboto:En(),Manrope:Xn(),Hind:Tn()}),!0),rt=async(e,t)=>{try{let i;if(t)i=new je.VerifiedWallet(t);else{let r=je.VerifiedWallet.generateMnemonic();i=je.VerifiedWallet.importWallet(r)}let a=je.contractAddress,s=e&&a[e]?.Custody&&he[e]?.rpcUrls?.length>0?e:8453,m=he[s]?.rpcUrls[0],x=i.setProvider(new je.Provider(m)),l=i.privateKey,K=new je.Custody(x,a[s]?.Custody),p=x,h=[He.base,He.mainnet,He.gnosis,He.polygon,He.sepolia,He.baseSepolia].find(r=>Number(r?.id)===Number(s)),n=await Bt(h,(0,Yn.http)(),p);return s===11155111&&console.log("address to send test ETH to: ",i.address),{chainId:s,address:n,pk:l,signer:x,provider:m,vaultContract:K,vaultData:null}}catch(i){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Error while initializing user's wallet and contract: ",i),{chainId:null,address:null,pk:null,signer:null,provider:null,vaultContract:null,vaultData:null}}},ee=e=>{let t=e.toLowerCase(),i=(0,gt.sha256)((0,De.utf8ToBytes)(t));return"0x"+Array.from(i).map(a=>a.toString(16).padStart(2,"0")).join("")},Ve=e=>{let t=e instanceof Uint8Array?e:new Uint8Array(e),i=(0,gt.sha256)(t);return"0x"+Array.from(i).map(a=>a.toString(16).padStart(2,"0")).join("")},nt=(e,t)=>Dt.default.AES.encrypt(e,t).toString(),dt=(e,t)=>{var i=Dt.default.AES.decrypt(e,t),a=i.toString(Dt.default.enc.Utf8);return a},pi=(e,t)=>ht.default.createElement("div",{className:"verified-custd-mdl-general-web-toast-error"},ht.default.createElement("img",{style:{marginLeft:"5px"},src:E.errorAlert,alt:""}),ht.default.createElement("div",{className:"verified-custd-mdl-general-web-toast-error-container"},ht.default.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-title"},e),ht.default.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-label"},t)));var Ee=(e,t)=>(ln.toast.dismiss(),ln.toast.error(pi(e,t),{closeButton:!1,position:"top-center",autoClose:3e3,hideProgressBar:!1,pauseOnHover:!1,draggable:!1,closeOnClick:!1,style:{background:"#fef2f2",width:"600px",height:"67px",maxHeight:"67px",position:"absolute",top:"5px",right:"5px",borderRadius:"8px"},icon:!1}));var un=e=>Buffer.from(e).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),Gn=e=>{e=e.replace(/-/g,"+").replace(/_/g,"/");let t=e.length%4===0?0:4-e.length%4;return e+="=".repeat(t),new Uint8Array(Buffer.from(e,"base64"))},Z=(e,t,i=16)=>{if(!e)return t;let a=parseFloat(t);return t.endsWith("rem")?a*i:(t.endsWith("px"),a)},hi=e=>{let t=e.startsWith("0x")||e.startsWith("0X")?e.slice(2):e;if(t.length%2!==0)throw new Error("Invalid hex string: odd length");let i=t.length/2,a=new Uint8Array(i);for(let s=0;s<i;s++){let m=t.substr(s*2,2);a[s]=parseInt(m,16)}return a},fn=(e,t,i,a)=>{let s=hi(i);return a?{challenge:kt((0,De.randomBytes)(32)),rp:{name:e,id:a},user:{id:kt(s),name:t,displayName:t},pubKeyCredParams:[{type:"public-key",alg:-7},{type:"public-key",alg:-257}],authenticatorSelection:{userVerification:"required",residentKey:"required",requireResidentKey:!0},timeout:6e4,attestation:"none"}:{challenge:(0,De.randomBytes)(32),rp:{name:e},user:{id:s,name:t,displayName:t},pubKeyCredParams:[{type:"public-key",alg:-7},{type:"public-key",alg:-257}],authenticatorSelection:{userVerification:"required",residentKey:"required",requireResidentKey:!0},timeout:6e4,attestation:"none"}},wt=e=>{let t=atob(e),i=new ArrayBuffer(t.length),a=new Uint8Array(i);for(let s=0;s<t.length;s++)a[s]=t.charCodeAt(s);return i},st=e=>e?{challenge:kt((0,De.randomBytes)(32)),timeout:6e4,userVerification:"required",rpId:e}:{challenge:(0,De.randomBytes)(32),timeout:6e4,userVerification:"required"},kt=e=>btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),sn=e=>{let t=e.replace(/-/g,"+").replace(/_/g,"/")+"===".slice((e.length+3)%4),i=atob(t);return new Uint8Array([...i].map(a=>a.charCodeAt(0)))},it=async(e,t,i,a)=>{let s=t instanceof Uint8Array?t:new Uint8Array(t),m=(0,De.randomBytes)(8),x=Array.from(m).map(b=>b.toString(16).padStart(2,"0")).join(""),l=ee(`${i}:${x}`),K=(0,De.utf8ToBytes)(l),p=(0,De.randomBytes)(12),h=a?(0,xt.pbkdf2)(gt.sha256,s,K,{c:2e4,dkLen:32}):(0,xt.pbkdf2)(gt.sha256,s,K,{c:3e5,dkLen:32}),r=(0,cn.gcm)(h,p).encrypt((0,De.utf8ToBytes)(e));return[kt(K),kt(p),kt(r)].join(".")},lt=async(e,t,i)=>{let[a,s,m]=e.split(".");if(!a||!s||!m)throw new Error("Invalid encrypted data format");let x=t instanceof Uint8Array?t:new Uint8Array(t),l=sn(a),K=sn(s),p=sn(m),n=i?(0,xt.pbkdf2)(gt.sha256,x,l,{c:2e4,dkLen:32}):(0,xt.pbkdf2)(gt.sha256,x,l,{c:3e5,dkLen:32}),r=(0,cn.gcm)(n,K);try{let b=r.decrypt(p);return(0,De.bytesToUtf8)(b)}catch{throw new Error("Decryption failed: invalid key or corrupted data")}};var O=Ce(require("react"));var gn=Ce(require("react")),ki=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n}=e.platform,r=Number(e.currentSlider),b=e.sliderCount?.length||0,y=b>0?100/b:0;return gn.default.createElement(i,{className:"verified-custd-mdl-startup-slider",style:{flexDirection:"row",height:4,overflow:"hidden"}},e.sliderCount?.map((k,A)=>{let P=A<=r;return gn.default.createElement(i,{key:A,className:P?"verified-custd-mdl-startup-slider-line-active":"verified-custd-mdl-startup-slider-line",style:t&&P?{...n.verifiedCustdMdlStartupSliderLineActive,width:`${y}%`}:t?{...n.verifiedCustdMdlStartupSliderLine,width:`${y}%`}:!t&&P?{width:`${y}%`}:{width:`${y}%`}})}))},Fe=ki;var ke=Ce(require("react"));var yi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n}=e.platform,[r,b]=(0,ke.useState)(null),y=L=>{if(L===""){b(null);return}let v=e.searchContent.filter(g=>{let u=g?.name?.toLowerCase(),f=L.toLowerCase();if(u?.includes(f))return g.searched=f,g.nameArray=g.name.split(""),g});b(v),e.handleButtonDisplay()},k=(L,v)=>{e.type==="area-code"?e.setSelected({area:L.phone_code,flag:L.flag,name:L.name}):e.type==="language"&&e.setSelected(L.name),e.setSearchActive&&e.setSearchActive(!1),e.handleButtonDisplay()},A=(L,v)=>L.map((g,u)=>{let f=v.includes(g.toLowerCase());return ke.default.createElement(a,{key:u,style:f?n.boldText:n.fadedText},g)}),P=(L,v=!1)=>L.map((g,u)=>{let f=t?!1:window?.location?.search===`?${u}`,_=e.selected&&e.selected.length>0,X=e.type==="language"&&f?"verified-custd-mdl-ms-search-content-active":"verified-custd-mdl-ms-search-content";return ke.default.createElement(l,{key:u,className:X,style:n.resultItem,onPress:()=>k(g,u)},ke.default.createElement(i,{style:n.resultInner},ke.default.createElement(s,{source:{uri:e.type==="language"?g.icon:g.flag},alt:"Icon",className:"verified-custd-mdl-ms-search-content-icon",style:n.icon}),ke.default.createElement(a,{className:"verified-custd-mdl-ms-search-content-text",style:n.resultText},g.nameArray&&g.searched?A(g.nameArray,g.searched):g.name,e.type==="language"&&g.label&&ke.default.createElement(a,{style:g.searched?.includes(g.label.toLowerCase())?{}:n.fadedText},` (${g.label})`))),e.type==="language"&&_&&f&&ke.default.createElement(s,{source:{uri:E.circleClicked},alt:"Clicked",style:n.selectedIcon}))});return ke.default.createElement(i,{className:"verified-custd-mdl-startup-language-content-container",style:n.container},ke.default.createElement(i,{className:"verified-custd-mdl-st-language-content"},e.headerText&&ke.default.createElement(a,{className:"verified-custd-mdl-st-language-text",style:n.headerText},e.headerText),ke.default.createElement(i,{className:"verified-custd-mdl-mobille-startup-search-box-container"},ke.default.createElement(i,{className:"verified-custd-mdl-mobile-startup-search-box",style:n.searchBox},ke.default.createElement(s,{source:{uri:E.search},alt:"Search",className:"verified-custd-mdl-mobile-search-icon",style:n.searchIcon}),ke.default.createElement(x,{placeholder:"Search",className:"verified-custd-mdl-ms-search-box-content",style:n.input,onChangeText:y,onFocus:()=>e.type==="language"&&e.setSelected("")})),ke.default.createElement(m,{className:"verified-custd-mdl-mobile-startup-search-content",style:{maxHeight:e.contentMaxHeight||300}},ke.default.createElement(i,{className:"verified-custd-mdl-ms-search-content-container"},(r||e.searchContent)?.length>0&&P(r||e.searchContent))))))},Vt=yi;var yt=Ce(require("react"));var Mn=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n}=e.platform;return yt.default.createElement(a,{style:t?{...n.verifiedCustdMdlTermsAndCondition}:{},className:"verified-custd-mdl-terms-and-condition"},"By proceeding, you agree with Verified Wallet"," ",yt.default.createElement(a,{style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},className:"verified-custd-mdl-terms-and-condition"},"T&C")," ","and"," ",yt.default.createElement(a,{style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},className:"verified-custd-mdl-terms-and-condition"},"Privacy Policy."))},Fn=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n}=e.platform,r=async()=>{e.setIsLoading(!0);try{t?t&&h&&(await h.removeItem("myVault"),await h.removeItem("lastPk")):!t&&chrome?.storage?.local?(await chrome.storage.local.remove("myVault"),await chrome.storage.local.remove("lastPk")):!t&&!chrome?.storage?.local&&localStorage&&(localStorage.removeItem("myVault"),localStorage.removeItem("lastPk")),e.setisOnboard&&e.setisOnboard(!1)}finally{e.setIsLoading(!1)}};return yt.default.createElement(a,{className:"verified-custd-mdl-terms-and-condition",style:t?{...n.verifiedCustdMdlTermsAndCondition,fontSize:Z(t,"0.7rem")}:{fontSize:Z(t,"0.7rem")}},"Want to access a different account? Click"," ",yt.default.createElement(a,{className:"verified-custd-mdl-terms-and-condition",style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},onPress:r},"Logout")," ","to logout and login/create another account")};var Ki=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n}=e.platform,[r,b]=(0,O.useState)(e.fontsLoaded||!1),[y,k]=(0,O.useState)(""),[A,P]=(0,O.useState)(""),[L,v]=(0,O.useState)(!1),[g,u]=(0,O.useState)(""),[f,_]=(0,O.useState)(!1),{pk:X,vaultContract:Y,address:Q}=Me();(0,O.useEffect)(()=>{let z=async()=>{if(t)p&&await we(p),b(!0);else{let J=xe(document);b(J)}};e.fontsLoaded||z()},[]);let H=()=>{e.selectedCountry.area&&y.length===10||e.userEmail?.length>0&&isNaN(Number(e.userEmail))&&e.userEmail.includes("@")?(u(""),_(!0)):(u(""),_(!1))},te=async()=>{if(e.userEmail===""&&y===""){u("Invalid email or phone number. Try again later");return}if(!e.helperFunctions){u("No Helper Functions provided.");return}if(e.userEmail?.length>0&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.userEmail)){u("Invalid email format.");return}let z=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${y}`,J=e.userEmail?.length>0?"email":"sms";if(z&&J&&X&&Y||z&&J&&e.noContract){e.setIsLoading(!0);try{let ne=await e.helperFunctions.sendOTPVerification(Q,J,z);e.setIsLoading(!1),ne?(u(""),e.setStep("3")):(u(J==="email"?"Error sending OTP to email. Try again.":"Error sending OTP to phone. Try again."),Ee("OTP Error",J==="email"?"Please enter a valid email.":"Please enter a valid phone number."))}catch{e.setIsLoading(!1),u("Unexpected error. Try again.")}}else e.noContract||u("Network error. Check your internet connection.")};return O.default.createElement(m,{style:{width:"100%",height:"100%"}},r&&O.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},O.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},O.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),O.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},O.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},e.enablePhone?"Enter your phone number":"Enter your email address"),e.enablePhone&&O.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},O.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},O.default.createElement(l,{onPress:()=>v(!L),className:"verified-custd-mdl-st-contact-first-section",style:t?{...n.verifiedCustdMdlStContactFirstSection}:{}},O.default.createElement(s,{source:{uri:e.selectedCountry.flag},alt:"Country Flag",style:t?{...n.verifiedCustdMdlStContactSelectionIcon}:{},className:"verified-custd-mdl-st-contact-selection-icon"}),O.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",e.selectedCountry.area),O.default.createElement(s,{alt:"Dropdown",className:"verified-custd-mdl-st-contact-dropdown",style:t?{...n.verifiedCustdMdlStContactDropdown}:{},source:L?{uri:E.arrowUp}:{uri:E.arrowDown}})),O.default.createElement(x,{className:"verified-custd-mdl-st-contact-second-section",style:t?{...n.verifiedCustdMdlStContactSecondSection}:{},placeholder:"Enter your phone number",placeholderTextColor:"#b6b7c3",value:e.userNumberFmt,keyboardType:"numeric",onChangeText:z=>{let J=z.replace(/\D/g,"");P(z),k(J);let ne="";for(let de=0;de<J?.length;de++)ne+=J[de],(de+1)%5===0&&de+1<J?.length&&(ne+=" ");e.setUserNumberFmt(ne),H()}})),L&&O.default.createElement(Vt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:H,setSelected:e.setSelectedCountry,selected:e.selectedCountry,searchActive:L,setSearchActive:v,contentMaxHeight:"300",contentbottomMargin:"300"}),y.length!==10&&A.length>10&&!g&&O.default.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check your phone number")),!L&&O.default.createElement(O.default.Fragment,null,e.enablePhone&&O.default.createElement(i,{className:"verified-custd-mdl-p-p-payment-portal-amount-info-separator",style:t?{...n.verifiedCustdMdlPPPaymentPortalAmountInfoSeparator}:{}},O.default.createElement(i,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...n.verifiedCustdMdlPPPaymentPortalLine}:{}}),O.default.createElement(a,{className:"verified-custd-mdl-p-payment-portal-separator-text",style:t?{...n.verifiedCustdMdlPPaymentPortalSeparatorText}:{}},"OR"),O.default.createElement(i,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...n.verifiedCustdMdlPPPaymentPortalLine}:{}})),O.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},O.default.createElement(x,{style:t?{...n.verifiedCustdMdlStContactSecondSection}:{},className:"verified-custd-mdl-st-contact-second-section",placeholder:"Enter your email address",placeholderTextColor:"#b6b7c3",value:e.userEmail,onChangeText:z=>{e.setUserEmail(z),e.setUserNumberFmt(""),k(""),P(""),H()}}),g&&e.userEmail.length>0&&O.default.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},g)))),!L&&O.default.createElement(i,{style:{height:"80px"}}),O.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},O.default.createElement(Mn,{platform:e.platform}),O.default.createElement(l,{style:t&&f?{...n.verifiedCustdMdlStartupButtonActive}:t&&!f?{...n.verifiedCustdMdlStartupButton}:{},className:f?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:te},O.default.createElement(a,null,"Get OTP"))))),!r&&O.default.createElement(a,null,"Loading Module Fonts..."))},It=Ki;var G=Ce(require("react"));var ye=require("ethers"),_t=require("shamir-secret-sharing"),ae=require("@verified-network/verified-sdk");var Oe=require("viem/chains"),Bn=require("viem");var Dn=async(e,t)=>{try{return await e.getCreator(t).then(async i=>i?.status===0&&i?.response?.result[0]===!0)}catch(i){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while checking if user exists: ",i),null}},Vn=async(e,t,i,a,s,m,x,l,K,p,h,n,r,b,y,k,A,P)=>{try{let L={vaultId:s,hashedVaultId:m,vaultPin:x,hashedVaultPin:l,vaultContract:n,rawId:k};return await n.getCreator(m).then(async v=>{if(v?.status===0&&v?.response?.result[0]===!0)try{let g;if(k)g=await it(p,k,x,t);else{let f=(0,ye.encodeBytes32String)(x);g=nt(p,f)}let u;if(t?t&&i&&(u=await i.getItem("lastPk")):chrome?.storage?.local?u=await new Promise(f=>{chrome.storage.local.get(["lastPk"],_=>{f(_.lastPk)})}):!chrome?.storage?.local&&localStorage&&(u=localStorage.getItem("lastPk")),r==="reset-pin"&&b?.vaultContract&&A?.length>1&&P>1&&p?.length>0){let f=Number(A.length),X=(await(0,_t.split)((0,ye.getBytes)(p),Number(f),Number(P))).map(J=>un(J)),Y=k?"":(0,ye.encodeBytes32String)(x),Q=[],H=[];for(let J=0;J<A.length;J++){let ne=A[J],de=k?await it(X[J],k,x,t):nt(X[J],Y);await n.addParticipant(m,ne,de).then(async ce=>{let j={creatorVaultId:s,vaultPin:x,creatorHashedVaultId:m,creatorHashedVaultPin:l,cosigner:ne,hashedCosigner:ne,cosignerVaultIdType:"",cosignerVaultId:ne,share:de};ce?.status===0?H.push(j):Q.push(j)}),await new Promise(ce=>setTimeout(ce,1e3))}if(Q?.length>0||H?.length!==A?.length)return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while adding co-signers"),Ee("Oops somethin went wrong","error while adding co-signers"),null;let z=await new ae.VerifiedWallet(p).getAddress();return t?t&&i&&await i.setItem("myVault",JSON.stringify({address:h,regAddress:z,vaultId:s,hashedVaultId:m,pk:g,channel:K})):!t&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:h,regAddress:z,vaultId:s,hashedVaultId:m,pk:g,channel:K})}):!t&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:h,regAddress:z,vaultId:s,hashedVaultId:m,pk:g,channel:K})),{}}if(u&&u?.length>0)return await n.confirmParticipant(m,m,!0).then(async f=>{if(f?.status===0){t?t&&i&&await i.removeItem("lastPk"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("lastPk");try{let X=await new ae.VerifiedWallet(p).getAddress(),Y;if(k)Y=await it(p,k,x,t);else{let Q=(0,ye.encodeBytes32String)(x);Y=nt(p,Q)}return t?t&&i&&await i.setItem("myVault",JSON.stringify({address:h,regAddress:X,vaultId:s,hashedVaultId:m,pk:Y,channel:K})):!t&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:h,regAddress:X,vaultId:s,hashedVaultId:m,pk:Y,channel:K})}):!t&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:h,regAddress:X,vaultId:s,hashedVaultId:m,pk:Y,channel:K})),L}catch(_){return Ee("Oops something went wrong","Error saving new vault details. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("save vault failed: ",_),!1}}else return Ee("Oops something went wrong","Error creating pin for existing vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("confirm pin vault failed: ",f),!1});if(r==="invitation")return{isExisting:!0,...L};{t?t&&i&&await i.setItem("myVault",JSON.stringify({vaultId:s,hashedVaultId:m,pk:g,channel:K})):!t&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({vaultId:s,hashedVaultId:m,pk:g,channel:K})}):!t&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({vaultId:s,hashedVaultId:m,pk:g,channel:K}));let f=t?null:window;if(!t&&chrome?.runtime?.sendMessage)chrome.runtime.sendMessage({type:r&&r==="connect_wallet"||r&&r==="eth_requestAccounts"?"getPk":r&&r!=="connect_wallet"?r:"getPk",value:{vaultData:r&&r==="signRecovery"||r&&r==="completeRecovery"?b:{vaultId:s,hashedVaultId:m,hashedVaultPin:l},txData:y}});else if(!t&&!chrome?.runtime?.sendMessage){let _=new CustomEvent(r&&r==="connect_wallet"||r&&r==="eth_requestAccounts"?"getPk":r&&r!=="connect_wallet"?r:"getPk",{detail:{value:{vaultData:r&&r==="signRecovery"||r&&r==="completeRecovery"?b:{vaultId:s,hashedVaultId:m,hashedVaultPin:l},txData:y}}});f?.dispatchEvent(_)}else if(t&&e){let _=r&&r==="connect_wallet"||r&&r==="eth_requestAccounts"?"getPk":r&&r!=="connect_wallet"?r:"getPk",X={vaultData:r&&r==="signRecovery"||r&&r==="completeRecovery"?b:{vaultId:s,hashedVaultId:m,hashedVaultPin:l},txData:y};e.emit(_,X)}}return r==="getPk"?{vaultId:s,hashedVaultId:m,pk:g,channel:K,shouldStop:!0}:{shouldStop:!0}}catch(g){return console.log("error......: ",g),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error handling existing vault: ",g),Ee("Oops something went wrong","Error fetching existing vault key(s). Try again later"),!1}else if(v?.status===0&&v?.response?.result[0]!==!0)return await n.createVault(m).then(async g=>g?.status===0?(t?t&&i&&await i.setItem("lastPk",p):!t&&chrome?.storage?.local?await chrome.storage.local.set({lastPk:p}):!t&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("lastPk",p),await n.confirmParticipant(m,m,!0).then(async u=>{if(u?.status===0){t?t&&i&&await i.removeItem("lastPk"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("lastPk");try{let _=await new ae.VerifiedWallet(p).getAddress(),X;if(k)X=await it(p,k,x,t);else{let Y=(0,ye.encodeBytes32String)(x);X=nt(p,Y)}return t?t&&i&&await i.setItem("myVault",JSON.stringify({address:h,regAddress:_,vaultId:s,hashedVaultId:m,pk:X,channel:K})):!t&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:h,regAddress:_,vaultId:s,hashedVaultId:m,pk:X,channel:K})}):!t&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:h,regAddress:_,vaultId:s,hashedVaultId:m,pk:X,channel:K})),L}catch(f){return Ee("Oops something went wrong","Error saving new vault details. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("save vault failed: ",f),!1}}else return Ee("Oops something went wrong","Error creating pin for new vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("confirm pin vault failed: ",u),!1})):(Ee("Oops something went wrong","Error creating new vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("create vault failed: ",g),!1))})}catch(L){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",L),Ee("Oops something went wrong","Error while creating pin. Try again later"),!1}},In=async(e,t,i,a,s,m,x,l,K,p,h,n)=>{try{let r;if(n)r=await lt(m,n,e);else{let b=(0,ye.encodeBytes32String)(a);r=dt(m,b)}if(r){let b=ae.contractAddress,y=new ae.VerifiedWallet(r),k=K&&b[K]?.Custody&&he[K]?.rpcUrls?.length>0?K:8453,A=he[k]?.rpcUrls[0],P=y.setProvider(new ae.Provider(A)),L=new ae.Custody(P,b[k].Custody);return L?await L.getCreator(i).then(async v=>{if(v?.status===0&&v?.response?.result[0]===!0){let g=await L.getQuorum(i);return g?.status===0&&g?.response?.result?.length>0?p&&Number(g?.response?.result[0])>0?{address:x,vaultId:t,hashedVaultId:i,channel:l,chainId:h||k,pin:a,rawId:n,pk:r}:Number(g?.response?.result[0])===0?{address:x,vaultId:t,hashedVaultId:i,channel:l,chainId:h||k,pin:a,rawId:n,pk:r,inCompleteVault:!0}:{address:x,vaultId:t,hashedVaultId:i,channel:l,chainId:h||k,pin:a,rawId:n}:p?{address:x,vaultId:t,hashedVaultId:i,channel:l,chainId:h||k,pin:a,rawId:n,pk:r}:{address:x,vaultId:t,hashedVaultId:i,channel:l,chainId:h||k,pin:a,rawId:n}}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Account does not exist"),null}):(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error getting vault contract"),null)}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error decrypting pk"),null}catch(r){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",r),null}},$t=async(e,t,i,a,s,m,x,l,K,p,h,n,r)=>{let b;if(h)b=h;else{let y=ae.contractAddress,k=new ae.VerifiedWallet(n),A=r&&y[r]?.Custody&&he[r]?.rpcUrls?.length>0?r:8453,P=he[A]?.rpcUrls[0],L=k.setProvider(new ae.Provider(P));b=new ae.Custody(L,y[A].Custody)}return b?await b.confirmParticipant(m,a,p).then(async y=>y?.status===0?(p?await e(i,l,K,s):await t(i,l,K,s),!0):(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Accept or reject invitation failed with"),!1)).catch(y=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Accept or reject invitation failed with error: ",y),!1)):!1},$n=async(e,t,i,a,s,m,x,l,K,p,h,n,r,b,y)=>{let k=Number(a.length),P=(await(0,_t.split)((0,ye.getBytes)(r),Number(k),x)).map(u=>un(u)),L=b?"":(0,ye.encodeBytes32String)(p),v=[],g=[];for(let u=0;u<a.length;u++){let f=a[u],_=b?await it(P[u],b,p,e):nt(P[u],L);await n.addParticipant(K,y==="remove-cosigner"?f:ee(f.vaultId),_).then(async X=>{let Y=y==="remove-cosigner"?{creatorVaultId:l,vaultPin:p,creatorHashedVaultId:K,creatorHashedVaultPin:h,cosigner:f,hashedCosigner:f,cosignerVaultIdType:"",cosignerVaultId:f,share:_}:{creatorVaultId:l,vaultPin:p,creatorHashedVaultId:K,creatorHashedVaultPin:h,cosigner:f.vaultId,hashedCosigner:ee(f.vaultId),cosignerVaultIdType:f.otpChannel==="sms"?"PHONE":"EMAIL",cosignerVaultId:f.vaultId,share:_,...f};X?.status===0?(g.push(Y),y!=="remove-cosigner"&&f.vaultId!==l&&await t(f.otpChannel,f.vaultId,l,h).then(Q=>{Q||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending cosigner invite")})):v.push(Y)}),await new Promise(X=>setTimeout(X,1e3))}return v?.length>0||g?.length!==a?.length?(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while adding co-signers"),Ee("Oops somethin went wrong","error while adding co-signers"),!1):await n.defineQuorum(K,x.toString()).then(async u=>{if(u?.status===0&&y!=="remove-cosigner"){let f=s?.map(_=>({name:_?.name,email:_?.email,phoneNumber:_?.phoneNumber,contactType:String(_?.otpChannel)?.toUpperCase(),position:`${Qt[Number(_?.position)]} Co-Signer`}));return await i(m,l,f,Number(x),h).then(_=>{_||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending creator's confirmation")}),!0}else if(u?.status===0&&y==="remove-cosigner"){let f=s?.map(async Y=>(await n.removeParticipant(K,ee(Y?.vaultId)))?.status===0?"true":"false");if((await Promise.all(f))?.find(Y=>Y==="false")?.length>0)return!1;let X=s?.map(Y=>({email:Y?.email,phoneNumber:Y?.phoneNumber,contactType:String(Y?.otpChannel)?.toUpperCase(),position:`${Qt[Number(Y?.position)]} Co-Signer`}));return await i(m,l,X,Number(x),h,!0).then(Y=>{Y||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending creator's confirmation")}),!0}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while saving vault keys"),Ee("Oops somethin went wrong","error while saving vault keys"),!1})},Hn=async(e,t,i,a,s,m,x,l,K,p)=>{let h;if(p)h=await lt(x,p,e);else{let n=(0,ye.encodeBytes32String)(m);h=dt(x,n)}if(h){let n=ae.contractAddress,r=new ae.VerifiedWallet(h),b=K&&n[K]?.Custody&&he[K]?.rpcUrls?.length>0?K:8453,y=he[b]?.rpcUrls[0],k=r.setProvider(new ae.Provider(y)),A=new ae.Custody(k,n[b].Custody);if(A)return await A.promptSignatures(i).then(async P=>{if(P?.status===0&&P?.response?.hash){let L=new ye.AbiCoder,v,g;if(P?.response?.result?.logs?.length>0){let u=P?.response?.result?.logs?.filter(X=>X?.address?.toLowerCase()===n[b].Custody?.toLowerCase()&&X?.topics?.map(Y=>Y?.toLowerCase())?.includes(Wt?.toLowerCase()));g=u?.length;let f=u[0]?.data,_=L.decode(["bytes32","bytes32","uint256"],f)?.map((X,Y)=>Y<2?X:Number(X)).flat();v=_[_?.length-1]}else{let X=(await new ae.Provider(y).getTransactionReceipt(P?.response?.hash)).logs?.filter(H=>H?.address?.toLowerCase()===n[b].Custody?.toLowerCase()&&H?.topics?.map(te=>te?.toLowerCase())?.includes(Wt?.toLowerCase()));g=X?.length;let Y=X[0]?.data,Q=L.decode(["bytes32","bytes32","uint256"],Y)?.map((H,te)=>te<2?H:Number(H)).flat();v=Q[Q?.length-1]}return await t(l,s,a,Number(v),Number(g)),!0}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("prompt signatures failed",P),!1}).catch(P=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while initiating vault recovery",P),!1))}},On=async(e,t,i,a,s,m,x,l,K,p,h,n,r,b)=>{let y;if(b)y=await lt(l,b,e);else{let k=(0,ye.encodeBytes32String)(x);y=dt(l,k)}if(y){let k=ae.contractAddress,A=new ae.VerifiedWallet(y),P=r&&k[r]?.Custody&&he[r]?.rpcUrls?.length>0?r:8453,L=he[P]?.rpcUrls[0],v=A.setProvider(new ae.Provider(L)),g=new ae.Custody(v,k[P].Custody);if(g)return await g.signTransaction(p,a,String(n)).then(async u=>u?.status===0?(await t(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(K)?"email":"sms",K,m,s),await g.checkQuorum(p,n).then(async f=>f?.status===0&&f?.response?.result?(f?.response?.result[0]===!0&&await i(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(K)?"email":"sms",K,m,s,Number(n)),!0):!1)):!1).catch(u=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while signing vault recovery",u),!1))}},Jn=async(e,t,i,a,s,m,x,l,K,p,h)=>{let n;if(h)n=await lt(x,h,e);else{let r=(0,ye.encodeBytes32String)(m);n=dt(x,r)}if(n){let r=ae.contractAddress,b=new ae.VerifiedWallet(n),y=p&&r[p]?.Custody&&he[p]?.rpcUrls?.length>0?p:8453,k=he[y]?.rpcUrls[0],A=b.setProvider(new ae.Provider(k)),P=new ae.Custody(A,r[y].Custody);return P?await P.checkQuorum(i,l).then(async L=>L?.status===0&&L?.response?.result&&L?.response?.result[0]===!0?await P.getShards(i,l).then(async v=>{if(v?.status===0&&v?.response?.result){let g=v?.response?.result.filter(u=>u!=="");if(g.length>1){let u=h?"":(0,ye.encodeBytes32String)(m),_=(await Promise.all(g.map(Q=>h?lt(Q,h,e):dt(Q,u)))).map(Q=>Gn(Q)),X=await(0,_t.combine)(_),Y=(0,ye.hexlify)(X);if(Y){let Q=h?"":(0,ye.encodeBytes32String)(m),H=h?await it(Y,h,m,e):nt(Y,Q),te=new ae.VerifiedWallet(Y),z=await te.getAddress(),ne=te.setProvider(new ae.Provider(k)),de=[Oe.base,Oe.mainnet,Oe.gnosis,Oe.polygon,Oe.sepolia,Oe.baseSepolia].find(j=>Number(j?.id)===Number(y)),ce=await Bt(de,(0,Bn.http)(),ne);return e?e&&t&&await t.setItem("myVault",JSON.stringify({address:ce,regAddress:z,vaultId:s,hashedVaultId:i,pk:H,channel:K})):!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:ce,regAddress:z,vaultId:s,hashedVaultId:i,pk:H,channel:K})}):!e&&!chrome?.storage?.local&&localStorage&&localStorage.setItem("myVault",JSON.stringify({address:ce,regAddress:z,vaultId:s,hashedVaultId:i,pk:H,channel:K})),!0}}else return!1}else return!1}).catch(v=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",v),!1)):!1).catch(L=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",L),!1)):!1}};var vi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n}=e.platform,[r,b]=(0,G.useState)(e.fontsLoaded||!1),y=(0,G.useRef)([]),[k,A]=(0,G.useState)(!1),[P,L]=(0,G.useState)(60),[v,g]=(0,G.useState)(["","","",""]),[u,f]=(0,G.useState)(!1),[_,X]=(0,G.useState)(""),{pk:Y,vaultContract:Q,address:H}=Me();(0,G.useEffect)(()=>{let j=async()=>{if(t)p&&await we(p),b(!0);else{let R=xe(document);b(R)}};e.fontsLoaded||j()},[]),(0,G.useEffect)(()=>{if(P===0)return;let j=setInterval(()=>L(R=>R-1),1e3);return()=>clearInterval(j)},[P]);let te=(j,R)=>{if(j?.length>1){let B=j.replace(/\D/g,""),Le=[...v],w=0;for(let q=R;q<v.length&&w<B.length;q++)Le[q]=B[w],w++;g(Le);let Ke=R+B.length;Ke<v.length&&y.current[Ke]&&y.current[Ke].focus(),f(!1)}else{let B=j.replace(/\D/g,""),Le=[...v];Le[R]=B,g(Le),B&&y.current[R+1]&&y.current[R+1].focus(),f(!1)}},z=(j,R,B)=>{B.nativeEvent.key==="Backspace"&&!v[R]&&R>0&&y.current[R-1]&&y.current[R-1].focus()},J=v.every(j=>j.length>0),ne=()=>e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,de=async()=>{if(!J||!e.helperFunctions){f(!0),X("Please enter the complete OTP.");return}let j=ne(),R=v.join("");if(!(!e.noContract&&!Y||!e.noContract&&!Q)){e.setIsLoading(!0);try{if(!await e.helperFunctions.checkOTPVerification(H,j,R)){e.setIsLoading(!1),f(!0);return}let Le=ee(j),w=!1;if(!e.noContract&&Q&&(w=await Dn(Q,Le),w===null)){e.setIsLoading(!1),X("Unexpected error. Try again later."),f(!0);return}e.setIsExistingUser?.(w),e.setIsLoading(!1),e.setStep("4")}catch(B){e.setIsLoading(!1),X("Error verifying OTP. Try again."),f(!0),console.error("error: ",B)}}},ce=async()=>{if(!e.helperFunctions){X("Helper functions missing."),f(!0);return}let j=ne(),R=e.userEmail?"email":"sms";e.setIsLoading(!0);let B=await e.helperFunctions.sendOTPVerification(H,R,j);e.setIsLoading(!1),B?(g(["","","",""]),L(60),f(!1),X("")):Ee("OTP resend failed","Please try again later.")};return G.default.createElement(m,null,r&&G.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},G.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},G.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),G.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},G.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Enter OTP"),G.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},G.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Enter"," ",G.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText,color:"#0C0C0E"}:{color:"#0C0C0E"},className:"verified-custd-mdl-startup-otp-header-text"},"4-Digits OTP (One Time Password)")," ","sent to your"," ",e.userNumberFmt?"phone number":"email address",":"),G.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},G.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt&&G.default.createElement(G.default.Fragment,null,G.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`(+${e.selectedCountry.area}) `),G.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[0]," "),G.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[1])),e.userEmail&&G.default.createElement(a,null,e.userEmail)),G.default.createElement(l,{style:{background:"transparent",width:20,height:20},onPress:()=>{e.setUserNumberFmt(""),e.setUserEmail(""),e.setStep("2")}},G.default.createElement(s,{source:{uri:E.editBlue},alt:"Edit",style:t?{...n.verifiedCustdMdlStOtpIcon,width:20,height:20}:{},className:"verified-custd-mdl-st-otp-icon"}))))),G.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},G.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},v.map((j,R)=>G.default.createElement(x,{key:R,ref:B=>y.current[R]=B,value:v[R],onChangeText:B=>te(B,R),onKeyPress:B=>z(B,R,B),keyboardType:"number-pad",maxLength:1,style:t&&u?{...n.verifiedCustdMdlOtpInputRed}:t&&!u?{...n.verifiedCustdMdlOtpInput}:{},className:u?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input"}))),G.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!u&&P>5&&_===""&&G.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimerText}:{},className:"verified-custd-mdl-otp-timer-text"},G.default.createElement(a,{style:{color:"#717286",fontWeight:"400"}},"00:"),P),!u&&P<=5&&P>0&&_===""&&G.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimerTextRed}:{},className:"verified-custd-mdl-otp-timer-text-red"},G.default.createElement(a,{style:{fontWeight:"400"}},"00:"),P),!u&&P===0&&_===""&&G.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Didn't receive an OTP ?"),u&&_===""&&G.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct OTP"),u&&_?.length>0&&G.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},_),!u&&P>0&&_===""&&G.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Resend OTP"),!u&&P===0&&_===""||u&&_===""?G.default.createElement(l,{style:{background:"transparent"},onPress:async()=>{g(["","","",""]),await ce()}},G.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpResendTextActive}:{},className:"verified-custd-mdl-otp-resend-text-active"},"Resend OTP")):null)),!k&&G.default.createElement(i,{style:{height:"100px"}}),G.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},G.default.createElement(l,{className:J&&!u?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:de,disabled:!J||u,style:J&&!u?{...n.verifiedCustdMdlStartupButtonActive}:{...n.verifiedCustdMdlStartupButton}},G.default.createElement(a,null,"Proceed"))))),!r&&G.default.createElement(a,null,"Loading Module Fonts..."))},Ht=vi;var d=Ce(require("react"));var Ie=Ce(require("react"));var Pi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n,EventEmitter:r}=e.platform;(0,Ie.useEffect)(()=>{let A;return e.showButton||(A=setTimeout(()=>{if(e.messageTosend)try{let P=t?null:window;if(!t&&chrome?.runtime?.sendMessage)chrome.runtime.sendMessage(e.messageTosend,L=>{L&&e.action!=="signRecovery"&&P?.close()});else if(!t&&!chrome?.runtime?.sendMessage){let L=new CustomEvent(e.messageTosend?.type,{detail:{value:e.messageTosend?.value}});P?.dispatchEvent(L)}else t&&e.eventEmitter&&e.eventEmitter.emit(e.messageTosend?.type,{value:e.messageTosend?.value})}catch(P){process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error sending message: ",P)}e.setStep&&e.stepToSet&&e.setStep(e.stepToSet)},e.timeoutTime??3e3)),()=>{A&&clearTimeout(A)}},[]);let b=()=>{e.setStep?.("6")},y=()=>{!t&&chrome.runtime&&chrome.runtime.sendMessage({type:"VW_REQ",params:{method:"closePopup"}})},k=()=>{e.handleShowDashboard()};return Ie.default.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContentContainer,alignContent:"center",justifyContent:"center",height:"100%",width:"100%",overflow:"hidden",padding:0}:{alignContent:"center",justifyContent:"center",height:"100%",width:"100%",overflow:"hidden",padding:0},className:"verified-custd-mdl-success-popup-content-container"},Ie.default.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContent}:{},className:"verified-custd-mdl-success-popup-content"},Ie.default.createElement(s,{style:{width:"90%"},source:{uri:E.successIcon},alt:"Success Icon"}),Ie.default.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContentText}:{},className:"verified-custd-mdl-success-popup-content-text"},Ie.default.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContentTextHeader}:{},className:"verified-custd-mdl-success-popup-content-text-header"},e?.showButton?e.actionHeaderText:e.customTextHeader),Ie.default.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContentTextFooter}:{},className:"verified-custd-mdl-success-popup-content-text-footer"},e?.showButton?e.actionFooterText:e.customTextFooter))),e.showButton&&e.buttonText?.length>0&&Ie.default.createElement(l,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginTop:10}:{marginTop:10},onPress:()=>{e.action==="invitation"?b():e.action==="completeRecovery"?k():e.buttonFunc&&e.buttonFunc()},className:"verified-custd-mdl-startup-button-active"},Ie.default.createElement(a,{style:{fontSize:14}},e.buttonText)),e.showButton&&e.buttonNeutText?.length>0&&Ie.default.createElement(l,{onPress:()=>{e.action==="invitation"?y():e.buttonNeutFunc&&e.buttonNeutFunc()},className:"verified-custd-mdl-startup-button-click",style:t?{...n.verifiedCustdMdlStartupButtonClick,marginTop:10}:{marginTop:10}},Ie.default.createElement(a,{style:{fontSize:14}},e.buttonNeutText)))},Be=Pi;var Ot=require("@verified-network/verified-sdk"),mn=require("ethers");var Ai=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,EventEmitter:n,styles:r,rnPasskey:b}=e.platform,[y,k]=(0,d.useState)(e.fontsLoaded||!1),[A,P]=(0,d.useState)(!0),[L,v]=(0,d.useState)(!1),[g,u]=(0,d.useState)(""),[f,_]=(0,d.useState)(!1),[X,Y]=(0,d.useState)(!1),[Q,H]=(0,d.useState)(!1),[te,z]=(0,d.useState)(!1),[J,ne]=(0,d.useState)(""),[de,ce]=(0,d.useState)(""),[j,R]=(0,d.useState)(null),[B,Le]=(0,d.useState)(!1),[w,Ke]=(0,d.useState)(!1),[q,$e]=(0,d.useState)(!1),[ge,se]=(0,d.useState)(""),[D,ve]=(0,d.useState)(""),[Pe,_e]=(0,d.useState)([]),[le,Xe]=(0,d.useState)(0),[fe,V]=(0,d.useState)(null),{address:Je,pk:We,chainId:Qe,vaultContract:me,signer:qe,setVaultData:at,setChainId:ct,setAddress:Ze,setPk:vt,setProvider:Re,setSigner:U,setVaultContract:M,vaultData:Te}=Me(),[S,F]=(0,d.useState)(["","","",""]),[N,ie]=(0,d.useState)(["","","",""]),pe=(0,d.useRef)([]),Se=(0,d.useRef)([]);(0,d.useEffect)(()=>{let I=async()=>{if(t)p&&await we(p),k(!0);else{let C=xe(document);k(C)}};e.fontsLoaded||I()},[]),(0,d.useEffect)(()=>{let I=async()=>{e.setIsLoading&&e.setIsLoading(!0);let C=await e.vaultData?.vaultContract.getQuorum(e.vaultData?.hashedVaultId);if(C?.status===0&&C?.response?.result?.length>0){let Pt=Number(C?.response?.result[0]);Xe(Pt)}if(e.vaultData?.existingCosignersHashed?.length>0){_e([...new Set(e.vaultData?.existingCosignersHashed)]),e.setIsLoading&&e.setIsLoading(!1);return}let oe=Ot.contractAddress[Qe]?.Custody;if(!oe)return;let re=[{anonymous:!1,inputs:[{indexed:!1,name:"creator",type:"bytes32"},{indexed:!1,name:"participant",type:"bytes32"}],name:"NewParticipant",type:"event"}];if(!new mn.ethers.Contract(oe,re,e.vaultData?.signer))return;let ue=new mn.ethers.Interface(re),pt=ue.getEvent("NewParticipant").topicHash,Qn=(await new Ot.Provider(he[Qe]?.rpcUrls[0])?.getLogs({address:oe,fromBlock:he[Qe]?.custodyContractBlock||0,toBlock:"latest",topics:[pt]}))?.map(Pt=>{let Et=ue.parseLog(Pt);return Et?.args?.creator?.toLowerCase()===ee(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)&&Et?.args?.creator!==Et?.args?.participant?Et?.args?.participant:null})?.filter(Pt=>Pt!==null);_e([...new Set(Qn)]),e.setIsLoading&&e.setIsLoading(!1)};e.isExistingUser&&e.action==="reset-pin"&&e.vaultData?.signer,e.vaultData?.hashedVaultId,e.vaultData?.vaultContract&&I()},[e.isExistingUser,e.action,e.vaultData]);let Ye=(I,C,$)=>{v(!1),u("");let oe=I.replace(/\D/g,""),re=$?[...N]:[...S];re[C]=oe,$?(ie(re),oe&&Se.current[C+1]&&Se.current[C+1].focus(),C<3&&re.every(be=>be!=="")&&S.every(be=>be!=="")&&re.join("")!==S.join("")&&(v(!0),u("Confirm Pin must match New Pin.")),C===3&&S.join("")!==re.join("")&&(v(!0),u("Confirm Pin must match New Pin."))):(F(re),oe&&pe.current[C+1]&&pe.current[C+1].focus(),N.every(be=>be!=="")&&re.join("")!==N.join("")&&(v(!0),u("New Pin must match Confirm Pin.")))},ut=async I=>{u(""),v(!1);try{let C=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`;if(chrome?.windows?.create){let $=e?.createPasskeyDomain?.length>0?e?.createPasskeyDomain:yn,oe=async(re,be,ue)=>{if(re.type==="VW:Passkey_Credential")if(re?.origin&&$?.toLowerCase()?.startsWith(re?.origin?.toLowerCase())){fe&&chrome.windows.remove(fe),be?.tab&&be?.tab?.windowId&&chrome.windows.remove(be.tab.windowId);let et=re.data;if(et?.id&&et?.rawId){let pt=wt(et?.rawId),Nt=Ve(pt),hn={pinString:et?.id,hashed:Nt,rawId:pt,listener:oe};await ft(hn)}else u(`Passkey creation failed: ${et?.error?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),v(!0)}else u("Passkey creation failed: invalid passkey origin. Try again later"),v(!0)};chrome.runtime.onMessage.addListener(oe),await chrome.windows.create({url:`${$}?id=${C}`,type:"popup",width:500,height:600}).then(re=>{V(re.id)})}else{if(t&&!b.isSupported())return u("Your device does not support Passkeys. Change device and try again later"),v(!0),null;let $=t?await b.create(fn("Verified Wallet",C,ee(C),I)):await navigator?.credentials?.create({publicKey:fn("Verified Wallet",C,ee(C))});if($){let oe=Ve($?.rawId);return{pinString:$?.id,hashed:oe,rawId:$?.rawId}}}return null}catch(C){return u(`Passkey creation failed: ${C?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),v(!0),null}},St=async I=>{if(u(""),v(!1),chrome?.windows?.create&&window){let C=e?.getPasskeyDomain?.length>0?e?.getPasskeyDomain:Tt,$=async(oe,re,be)=>{if(oe.type==="VW:Passkey_Credential")if(oe?.origin&&C?.toLowerCase()?.startsWith(oe?.origin?.toLowerCase())){fe&&chrome.windows.remove(fe),re?.tab&&re?.tab?.windowId&&chrome.windows.remove(re.tab.windowId);let ue=oe.data;if(ue?.id&&ue?.rawId){let et=wt(ue?.rawId),pt=Ve(et),Nt={pinString:ue?.id,hashed:pt,rawId:et,listener:$};await ft(Nt)}else u(`Passkey authentication failed: ${ue?.error?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),v(!0)}else u("Passkey authentication failed: invalid passkey origin. Try again later"),v(!0)};chrome.runtime.onMessage.addListener($),await chrome.windows.create({url:`${C}`,type:"popup",width:500,height:600}).then(oe=>{V(oe.id)})}else try{if(t&&!b.isSupported()){u("Your device does not support Passkeys. Change device and try again later"),v(!0);return}let C=t?await b.get(st(I)):await navigator?.credentials?.get({publicKey:st()}),$=Ve(C?.rawId);return{pinString:C?.id,hashed:$,rawId:C?.rawId}}catch(C){u(`Passkey authentication failed: ${C?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),v(!0)}},ot=(I,C,$,oe)=>{let re=$.nativeEvent.key;!oe&&re==="Backspace"&&!S[C]&&C>0&&pe.current[C-1]&&pe.current[C-1].focus(),oe&&re==="Backspace"&&!N[C]&&C>0&&Se.current[C-1]&&Se.current[C-1].focus()},Ne=()=>w?e.isExistingUser?S.every(I=>I!==""):S.every(I=>I!=="")&&N.every(I=>I!==""&&S.join("")===N.join("")):!0,ze=()=>!!(q&&D?.length===66&&D?.toLowerCase()?.startsWith("0x")),ft=async I=>{if(I?.listener&&chrome?.runtime?.onMessage?.removeListener&&chrome?.runtime?.onMessage?.removeListener(I?.listener),!e.helperFunctions)u("No Helper Functions. Please include all helper functions in the CreatePinPage props."),v(!0);else{u(""),v(!1);let C=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,$=e.userEmail?.length>0?"email":"sms";if(!e.isExistingUser&&Ne()&&C&&$&&We&&Je&&me||!e.isExistingUser&&Ne()&&C&&$&&e.vaultData?.vaultContract&&e.vaultData?.hashedOldPin||e.isExistingUser&&Ne()&&C&&$&&We&&Je&&me||e.isExistingUser&&Ne()&&C&&$&&e.vaultData?.vaultContract){e.setIsLoading(!0);let oe=I?.pinString||S.join(""),re=ee(C),be=I?.hashed||ee(oe);await Vn(e.eventEmitter,t,h,n,C,re,oe,be,$,I?.pk?I?.pk:We||e.vaultData?.pk,I?.address?I?.address:Je||e.vaultData?.address,I?.vaultContract?I?.vaultContract:me||e.vaultData?.vaultContract,e.action,I?.vaultData?I?.vaultData:e.vaultData,e.txData,I?.rawId,e.action==="reset-pin"?[e.vaultData?.hashedVaultId,...Pe]:void 0,le).then(async ue=>{e.setIsLoading(!1),ue?(at(ue?.shouldStop&&ue?.vaultId?{vaultId:ue?.vaultId,hashedVaultId:ue?.hashedVaultId,hashedVaultPin:ue?.hashedVaultPin,pk:ue?.pk,rawId:ue?.rawId,channel:ue?.channel}:ue?.shouldStop?{}:ue),u(""),v(!1),e.action==="invitation"?(ce(oe),R(I?.rawId),Y(!0)):e.action==="reset-pin"?(t?t&&h&&w&&await h.removeItem("myVault"):!t&&chrome?.storage?.local&&w?chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&w&&localStorage.removeItem("myVault"),await e.helperFunctions.sendCreatorAuthChanged($,C,I?.hashed,e.vaultData.hashedVaultPin,Date.now()),ne(`You have successfully reset your account ${w?"4-Digits PIN":"Passkey"}. ${w?"Login with the new 4-Digits PIN":"your new Passkey will be used to authenticate your account."}`),_(!0)):ue?.shouldStop?ue?.shouldStop&&e.action!=="getPk"?(ne(""),_(!0)):ue?.shouldStop&&e.action==="getPk"&&e.setStep("0"):e.setStep("5")):ue===null?e.action==="reset-pin"?(u("Reset pin failed. Try again later."),v(!0)):(u(`You are an existing user. Please use the right ${w?"existing 4-Digits PIN":"existing Passkey for "+C} to recover your account login access on this device/browser`),v(!0)):(u("Unexpected error while handling account. Please try again later."),v(!0))})}else Ne()||(u(e.isExistingUser?"Enter full pin.":"New Pin must match Confirm Pin."),v(!0))}},pn=async I=>{let C=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,$=e.userEmail?.length>0?"email":"sms";if(de?.length===4&&e?.vaultData?.hashedVaultId&&e.vaultData?.hashedVaultPin&&C||j&&e?.vaultData?.hashedVaultId&&e.vaultData?.hashedVaultPin&&C){e.setIsLoading(!0);let oe=ee(C),re=w?ee(de):Ve(j);await $t(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,$,oe,re,e?.vaultData?.hashedVaultId,e.vaultData?.hashedVaultPin,e.vaultData?.vaultId,C,I,me).then(be=>{e.setIsLoading(!1),be&&!Te?.isExisting&&e.setShowSuccessBtn&&e.setSuccessBtnText&&e.setSuccessBtnNeutText&&e.setActionHeaderText&&e.setActionFooterText?(e.setShowSuccessBtn(!0),e.setSuccessBtnText("Continue Setting Up Your Account"),e.setSuccessBtnNeutText("Do It Later"),e.setActionHeaderText("Successful"),e.setActionFooterText(I?`You have been added as a Co-Signer for ${e.vaultData?.vaultId}`:`You rejected Co-signer reject from ${e.vaultData?.vaultId}`),e.setStep("5")):be&&Te?.isExisting&&H(!0)})}};return d.default.createElement(m,{contentContainerStyle:{flexGrow:1,padding:16,backgroundColor:"#fff"}},y&&d.default.createElement(d.default.Fragment,null,!f&&!X&&d.default.createElement(d.default.Fragment,null,!q&&d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},d.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},!e.isExistingUser&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},w?"Create PIN":"Secure Your Account with a Passkey"),e.isExistingUser&&e.action!=="reset-pin"&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},w?"Enter PIN":"Sign-in with Existing Passkey"),e.isExistingUser&&e.action==="reset-pin"&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},w?"Change Pin":"Change Passkey"),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!e.isExistingUser&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Protect your blockchain assets with"," ",w?"PIN":"Passkey",". This"," ",w?"PIN":"Passkey"," will be required for all future transactions and logins."),e.isExistingUser&&d.default.createElement(d.default.Fragment,null,e.action!=="reset-pin"&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",d.default.createElement(a,{style:{color:"#0C0C0E"}},w?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",d.default.createElement(a,{style:{color:"#0C0C0E"}},e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)," ","account."),e.action==="reset-pin"&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, Create new",d.default.createElement(a,{style:{color:"#0C0C0E"}},w?"4-Digits PIN":"Passkey")," ","for your"," ",d.default.createElement(a,{style:{color:"#0C0C0E"}},e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)," ","account.")))),!w&&d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitle,fontSize:Z(t,"14px")}:{fontSize:Z(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"A passkey replaces passwords. Only your device can unlock it via PIN, Face/Voice/Fingerprint."),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Your passkey is stored in your cloud account such as Apple iCloud Keychain, Google Password Manager, or Microsoft Account and synchronized across all devices."),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"In the event of device loss, as long as you have access to your cloud account, you can recover your passkey."),!e.isExistingUser&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},'Click "Create New Passkey" button, passkey setup popup will appears to create new passkey and secure your account.'),e.isExistingUser&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Click"," ",e.action==="reset-pin"?"Create New Passkey":"Login With Passkey"," ","button, passkey popup will appears"," ",e.action==="reset-pin"?"to create new passkey and secure your account":"to login using the accoun't passkey."),d.default.createElement(l,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey"))),w&&d.default.createElement(d.default.Fragment,null,d.default.createElement(i,{style:t?{...r.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},!e.isExistingUser&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"New PIN"),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},S.map((I,C)=>d.default.createElement(x,{key:`pin-${C}`,style:t&&L?{...r.verifiedCustdMdlOtpInputRed}:t&&L?{...r.verifiedCustdMdlOtpInput}:{},className:L?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:A,keyboardType:"number-pad",maxLength:1,ref:$=>pe.current[C]=$,value:S[C],onChangeText:$=>Ye($,C,!1),onKeyPress:$=>ot($,C,$,!1)}))),e.isExistingUser&&d.default.createElement(i,{style:t?{...r.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!L&&d.default.createElement(a,null),L&&g===""&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),L&&g?.length>0&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},g),!A&&d.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>P(!0)},d.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:E.pinShow}})),A&&d.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>P(!1)},d.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:E.pinHide}})))),!e.isExistingUser&&d.default.createElement(i,{style:t?{...r.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"Confirm PIN"),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},N.map((I,C)=>d.default.createElement(x,{key:`confirm-${C}`,style:t&&L?{...r.verifiedCustdMdlOtpInputRed}:t&&!L?{...r.verifiedCustdMdlOtpInput}:{},className:L?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:A,keyboardType:"number-pad",maxLength:1,ref:$=>Se.current[C]=$,value:N[C],onChangeText:$=>Ye($,C,!0),onKeyPress:$=>ot($,C,$,!0)}))),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!L&&d.default.createElement(a,null),L&&g===""&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),L&&g?.length>0&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},g),!A&&d.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>P(!0)},d.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:E.pinShow}})),A&&d.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>P(!1)},d.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:E.pinHide}})))))),!B&&d.default.createElement(i,{style:{height:20}}),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},!w&&d.default.createElement(d.default.Fragment,null,L&&g?.length>0&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},g),e.isExistingUser&&d.default.createElement(d.default.Fragment,null,e.action==="reset-pin"&&!w&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlOtpIncorrectText,color:"#603FF4",margin:"10px"}:{color:"#603FF4",margin:"10px"},className:"verified-custd-mdl-otp-incorrect-text"},'Note: Before starting this process ensure you have backed up your private key. To do so, please navigate to the "Account" section on your dashboard and click on "View Private Key." Once displayed, write down the private key and store it securely. Incomplete passkey change process may result in loss of access to your account.'),d.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t?{...r.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async I=>{if(e.action==="reset-pin"){let C=await ut(e?.passKeyRpId);C&&await ft(C)}else{let C=await St(e?.passKeyRpId);C&&await ft(C)}}},e.action==="reset-pin"&&d.default.createElement(a,null,"Create New Passkey"),e.action!=="reset-pin"&&d.default.createElement(a,null,"Login With Passkey"))),!e.isExistingUser&&d.default.createElement(d.default.Fragment,null,d.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t?{...r.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async I=>{if(!e.helperFunctions){u("No Helper Functions. Please include all helper functions in the CreatePinPage props."),v(!0);return}let C=await ut(e?.passKeyRpId);C&&await ft(C)}},d.default.createElement(a,null,"Create New Account")),d.default.createElement(i,{className:"verified-custd-mdl-p-p-payment-portal-amount-info-separator",style:t?{...r.verifiedCustdMdlPPPaymentPortalAmountInfoSeparator}:{}},d.default.createElement(i,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...r.verifiedCustdMdlPPPaymentPortalLine}:{}}),d.default.createElement(a,{className:"verified-custd-mdl-p-payment-portal-separator-text",style:t?{...r.verifiedCustdMdlPPaymentPortalSeparatorText}:{}},"OR"),d.default.createElement(i,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...r.verifiedCustdMdlPPPaymentPortalLine}:{}})),d.default.createElement(l,{style:t?{...r.verifiedCustdMdlStartupButtonActive,border:"1px solid #0c0c0e"}:{border:"1px solid var(--Neutral-950, #0c0c0e)"},className:"verified-custd-mdl-startup-button-click",onPress:async I=>{$e(!0)}},d.default.createElement(a,null,"Import An Existing account")))),w&&d.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t&&Ne()?{...r.verifiedCustdMdlStartupButtonActive}:t&&!Ne()?{...r.verifiedCustdMdlStartupButton}:{},className:Ne()?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:async I=>{await ft()}},d.default.createElement(a,null,"Proceed"))))),q&&d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},d.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Import Existing Account"))),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStContactInput,marginTop:"20px",marginBottom:"20px"}:{marginTop:"20px",marginBottom:"20px"},className:"verified-custd-mdl-st-contact-input"},d.default.createElement(x,{style:t?{...r.verifiedCustdMdlStContactSecondSection}:{},className:"verified-custd-mdl-st-contact-second-section",placeholder:"Private key starting with 0x",placeholderTextColor:"#b6b7c3",value:D,onChangeText:I=>{ve(I)}}),ge?.length>0&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},ge)),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitle,fontSize:Z(t,"14px")}:{fontSize:Z(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"A passkey replaces passwords. Only your device can unlock it via PIN, Face/Voice/Fingerprint."),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Your passkey is stored in your cloud account such as Apple iCloud Keychain, Google Password Manager, or Microsoft Account and synchronized across all devices."),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"In the event of device loss, as long as you have access to your cloud account, you can recover your passkey."),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},'Click "Proceed With Passkey" button, passkey setup popup will appears to create new passkey and secure your account.'),d.default.createElement(l,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey"))),!B&&d.default.createElement(i,{style:{height:20}}),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},L&&g?.length>0&&d.default.createElement(a,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},g),d.default.createElement(l,{id:"verified-custd-mdl-otp-button",style:t&&ze()?{...r.verifiedCustdMdlStartupButtonActive}:t&&!ze()?{...r.verifiedCustdMdlStartupButton}:{},className:ze()?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:async I=>{try{if(!ze()){v(!0),u("Invalid private key entered. Please scroll up, check private key and try again.");return}let C=await rt(Qe,D);if(!C?.chainId||!C?.address||!C?.pk||!C?.provider||!C?.signer||!C?.vaultContract){v(!0),u("Invalid private key entered. Please check private key starts with 0x and try again.");return}ct(C.chainId),Ze(C.address),vt(C.pk),Re(C.provider),U(C.signer),at(C.vaultData),M(C.vaultContract);let $=await ut(e?.passKeyRpId);$&&await ft({...$,pk:C.pk,vaultContract:C.vaultContract,signer:C.signer,address:C.address,vaultData:C.vaultData})}catch{v(!0),u("Error while importing account.try again later.");return}}},d.default.createElement(a,null,"Proceed With Passkey")))))),!f&&X&&d.default.createElement(d.default.Fragment,null,!Q&&d.default.createElement(i,{className:"verified-custd-mdl-startup-language",style:t?{...r.verifiedCustdMdlStartupLanguage,padding:0,position:"relative"}:{padding:0,position:"relative"}},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},d.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},d.default.createElement(a,{style:{fontWeight:"bold"}},e.vaultData?.vaultId)," ","has requested you to be a Co-Signer"))),d.default.createElement(s,{style:t?{...r.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:E.addCoSignerIcon1}}),!te&&d.default.createElement(m,null,d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),d.default.createElement(a,{className:"verified-custd-mdl-add-cosigner-more-label",style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel}:{fontSize:12,color:"#5B5D6E"}},"A Co-Signer is a person who has the right given by you to generate a new pin on your behalf incase you forget it."),d.default.createElement(i,{className:"verified-custd-mdl-add-cosigner-body-text-cont"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},d.default.createElement(s,{source:{uri:E.pkicon}})),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},d.default.createElement(s,{source:{uri:E.encryptedIcon}})),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"will not get access")," ","to your account in any way."))),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},d.default.createElement(l,{style:t?{...r.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},className:"verified-custd-mdl-add-cosigner-button-neut",onPress:()=>z(!0)},d.default.createElement(a,null,"Reject")),d.default.createElement(l,{style:t?{...r.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await pn(!0)}},d.default.createElement(a,null,"Accept")))),te&&d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),d.default.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyLabel,fontSize:12,color:"#5B5D6E"}:{fontSize:12,color:"#5B5D6E"},className:"verified-custd-mdl-add-cosigner-confirm-body-label"},"Once you reject to be a co-signer for"," ",d.default.createElement(a,{style:{fontWeight:"bold"}},e.vaultData?.vaultId),", you will not be able to reset the PIN for them.")),d.default.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},d.default.createElement(l,{style:t?{...r.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await pn(!1)}},d.default.createElement(a,null,"Yes")),d.default.createElement(l,{style:t?{...r.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:()=>z(!1)},d.default.createElement(a,null,"No"))))))),Q&&d.default.createElement(Be,{platform:e.platform,messageTosend:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:te?`You rejected Co-signer request from ${e.vaultData?.vaultId}`:`You have been added as a Co-Signer for ${e.vaultData?.vaultId}`,eventEmitter:e.eventEmitter})),f&&d.default.createElement(Be,{platform:e.platform,messageTosend:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:J?.length>0?J:"You have successfully logged in your account.",eventEmitter:e.eventEmitter})),!y&&d.default.createElement(a,null,"Loading Module Fonts..."))},Kt=Ai;var o=Ce(require("react"));var Cn=require("ethers"),Jt=require("@verified-network/verified-sdk");var Li=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n}=e.platform,[r,b]=(0,o.useState)(e.fontsLoaded||!1),[y,k]=(0,o.useState)(!1),[A,P]=(0,o.useState)("1"),[L,v]=(0,o.useState)("1"),[g,u]=(0,o.useState)(!1),[f,_]=(0,o.useState)("email"),[X,Y]=(0,o.useState)(""),[Q,H]=(0,o.useState)(""),[te,z]=(0,o.useState)(""),[J,ne]=(0,o.useState)(""),[de,ce]=(0,o.useState)(""),[j,R]=(0,o.useState)(!1),[B,Le]=(0,o.useState)(e.defaultCountry||{area:"1",flag:E.usaFlag,name:"United States"}),[w,Ke]=(0,o.useState)([]),[q,$e]=(0,o.useState)(0),[ge,se]=(0,o.useState)([]),[D,ve]=(0,o.useState)([]),[Pe,_e]=(0,o.useState)(!1),[le,Xe]=(0,o.useState)(2),[fe,V]=(0,o.useState)(""),[Je,We]=(0,o.useState)(!1),{pk:Qe,vaultData:me,vaultContract:qe,chainId:at,signer:ct}=Me();(0,o.useEffect)(()=>{let U=async()=>{if(t)try{let M=await we(p);b(!0)}catch{b(!1)}else{let M=xe(document);b(M)}};e.fontsLoaded||U()},[]),(0,o.useEffect)(()=>{let U=async()=>{e.setIsLoading&&e.setIsLoading(!0);let M=ee(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`),Te=await qe.getQuorum(M);if(Te?.status===0&&Te?.response?.result?.length>0){let Ne=Number(Te?.response?.result[0]);$e(Ne),ve(new Array(Ne).fill(" "))}if(e.setIsLoading&&e.setIsLoading(!1),me?.existingCosignersHashed?.length>0){se([...new Set(me?.existingCosignersHashed)]),ve([...new Set(me?.existingCosignersHashed)]);return}let F=Jt.contractAddress[at]?.Custody;if(!F)return;let N=[{anonymous:!1,inputs:[{indexed:!1,name:"creator",type:"bytes32"},{indexed:!1,name:"participant",type:"bytes32"}],name:"NewParticipant",type:"event"}];if(!new Cn.ethers.Contract(F,N,ct))return;let pe=new Cn.ethers.Interface(N),Ye=pe.getEvent("NewParticipant").topicHash,ot=(await new Jt.Provider(he[at]?.rpcUrls[0])?.getLogs({address:F,fromBlock:he[at]?.custodyContractBlock||0,toBlock:"latest",topics:[Ye]}))?.map(Ne=>{let ze=pe.parseLog(Ne);return ze?.args?.creator?.toLowerCase()===ee(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)&&ze?.args?.creator!==ze?.args?.participant?ze?.args?.participant:null})?.filter(Ne=>Ne!==null);se([...new Set(ot)]),ve([...new Set(ot)])};(e.userEmail?.length>0&&e.action==="remove-cosigner"&&ct&&qe||e.userNumberFmt?.length>0&&e.action==="remove-cosigner"&&ct&&qe)&&U()},[e.userEmail,e.action,e.userNumberFmt,e.selectedCountry.area]);let Ze=()=>{},vt=()=>{let U=w?.length;if(f==="sms"&&X?.length===0){V("Invalid input, please check the phone number");return}else if(f==="sms"&&X?.length!==10){V("Invalid input, please check the phone number");return}else if(f==="email"&&te?.length===0){V("Invalid input, please check the email");return}else if(f==="email"&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(te)){V("Invalid input, please check the email");return}else if(w?.find(M=>M?.otpChannel==="sms"?M?.phoneArea?.toLowerCase()+M?.number?.toLowerCase()===B.area?.toLowerCase()+Q?.toLowerCase():M?.email?.toLowerCase()===te?.toLowerCase())){e.action!=="remove-cosigner"&&V(f==="sms"?"Invalid input, phone number is already a co-signer":"Invalid input, email is already a co-signer"),e.action==="remove-cosigner"&&V(f==="sms"?"Invalid input, phone number is already added to list of co-signers to remove":"Invalid input, email is already added to list of co-signers to remove");return}else if(f==="sms"&&B?.area?.toLowerCase()+Q?.toLowerCase()===e.selectedCountry.area?.toLowerCase()+e.userNumberFmt?.toLowerCase()){V("Invalid input, phone number is creator's phone number");return}else if(f==="email"&&te?.toLowerCase()===e.userEmail?.toLowerCase()){V("Invalid input, email is creator's email");return}else if(e.action==="remove-cosigner"&&ge?.length===0){V("Error while fetching your existing cosigners. Try again later");return}else if(e.action==="remove-cosigner"&&!ge?.includes(ee(f==="sms"?`+${B?.area}${X}`:te))){V(f==="sms"?"Invalid input, phone number entered is not a valid co-signer of your account.":"Invalid input, email entered is not a valid co-signer of your account.");return}else if(e.action==="remove-cosigner"&&D?.length===1){V("You have only 1 co-signer left, at least one(1) co-signer is required.");return}else if(U+1===5){V("You cannot add more than 5 Co-signers to your account. You can delete existing cosigner and add new one.");return}V(""),Ke(M=>[{name:J,email:te,number:Q,phoneNumber:`+${B?.area}${X}`,otpChannel:f,phoneArea:B?.area,position:M?.length+1,vaultId:f==="sms"?`+${B?.area}${X}`:te},...M]),z(""),ne(""),Y(""),H(""),ce(""),U+1===4&&u(!1),e.action==="remove-cosigner"&&D?.length>1&&ve(D?.filter(M=>M!==ee(f==="sms"?`+${B?.area}${X}`:te)))},Re=async()=>{let U=e.action!=="remove-cosigner"?[{otpChannel:e?.userEmail?.length>0?"email":"sms",email:e?.userEmail,phoneNumber:`+${e?.selectedCountry?.area}${e?.userNumberFmt?.replace(" ","")}`,vaultId:me?.vaultId},...w]:[me?.hashedVaultId,...D];(e.action!=="remove-cosigner"&&U?.length>0&&w?.length>0&&le&&me?.vaultId&&me?.hashedVaultId&&qe&&Qe&&e.helperFunctions?.sendCoSignerInvitation&&e.helperFunctions?.sendCreatorConfirmation||e.action==="remove-cosigner"&&U?.length>1&&le&&me?.vaultId&&me?.hashedVaultId&&qe&&Qe&&e.helperFunctions?.sendCoSignerInvitation&&e.helperFunctions?.sendCreatorConfirmation)&&(e.setIsLoading(!0),await $n(t,e.helperFunctions.sendCoSignerInvitation,e.helperFunctions.sendCreatorConfirmation,U,w,e?.userEmail?.length>0?"email":"sms",le,me.vaultId,me.hashedVaultId,me.vaultPin,me.hashedVaultPin,qe,Qe,me?.rawId,e.action).then(M=>{e.setIsLoading(!1),M&&(e.action==="remove-cosigner"?We(!0):e.setStep("7"))}))};return o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"0"}:{padding:"0"},className:"verified-custd-mdl-startup-language"},r&&!Je&&o.default.createElement(o.default.Fragment,null,!y&&o.default.createElement(o.default.Fragment,null,L==="1"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},o.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},e.action==="remove-cosigner"?"You can remove an existing Co-signer":" We require you to add at least another Co-Signer."))),o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:E.addCoSignerIcon1},alt:""}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBody}:{},className:"verified-custd-mdl-add-cosigner-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.default.createElement(s,{source:{uri:E.pkicon},alt:"icon"})),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"This is a blockchain based platform where"," ",o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"we do not store password keys."))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.default.createElement(s,{source:{uri:E.encryptedIcon},alt:"icon"})),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, the"," ",o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"Co-Signer does not get access")," ","to your account in any way.")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.default.createElement(s,{source:{uri:E.supervise},alt:"icon"})),e.action!=="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"You can"," ",o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"be your own Co-Signer")," ","by adding a different contact number or Email ID. to your account in any way."),e.action==="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"You may remove an existing Co-signer; however"," ",o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"at least one (1) Co-signer must remain")," ","on the account. You can manage your account\u2019s Co-signers on the next page."))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},onPress:()=>{P("1"),k(!0)},className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(a,null,"Learn More")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,width:"50%"}:{width:"50%"},onPress:()=>{v("2"),u(!1),k(!1)},className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(a,null,e.action==="remove-cosigner"?"Manage Signers":"Add Co-Signer")))),L==="2"&&o.default.createElement(o.default.Fragment,null," ",o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},o.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent,gap:16}:{gap:16},className:"verified-custd-mdl-startup-contact-content"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},e.action==="remove-cosigner"?"Remove your Co-signers":"Add your Co-Signers"),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!Pe&&o.default.createElement(o.default.Fragment,null,o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderText}:{},className:"verified-custd-mdl-add-cosigner-header-text"},e.action==="remove-cosigner"?"Input phone number/an Email ID of the Co-Signer you want to remove":"Add a phone number/an Email ID of Co-Signer to send them a request."),e.action==="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderText}:{},className:"verified-custd-mdl-add-cosigner-header-text"},"You Signing rule is"," ",o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoTextBold}:{},className:"verified-custd-mdl-add-cosigner-header-info-text-bold"},q," required signers"))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoCont}:{},className:"verified-custd-mdl-add-cosigner-header-info-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoText}:{},className:"verified-custd-mdl-add-cosigner-header-info-text"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoTextBold}:{},className:"verified-custd-mdl-add-cosigner-header-info-text-bold"},"NOTE:")," ",e.action==="remove-cosigner"?"You cannot remove all Co-signers at least one(1) must remain, This is to ensure your account is secured.":"You can add yourself as a Co-Signer and further add more Co-Signers to your account."))))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2Body}:{},className:"verified-custd-mdl-add-cosigner-step2-body"},e.action==="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},"Creator")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},"You"),e.userEmail?.length>0&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},e.userEmail),e.userEmail?.length===0&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",e.selectedCountry.area,")"," ",e.userNumberFmt))))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderFirstText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-first-text"},e.action==="remove-cosigner"?"Remove Co-signers":"Add Co-Signers"),e.action!=="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-second-text"},"(",w?.length+1<5?w?.length+1:5,"/5)"),e.action==="remove-cosigner"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-second-text"},"(",w?.length,"/5)")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContent}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header"},e.action==="remove-cosigner"&&D?.includes(" ")&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Fetching previous Co-signers..."),e.action!=="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},"Creator")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},"You"),e.userEmail?.length>0&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},e.userEmail),e.userEmail?.length===0&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",e.selectedCountry.area,")"," ",e.userNumberFmt))))),!Pe&&w.sort((U,M)=>U?.position-M?.position).map((U,M)=>o.default.createElement(i,{key:M,style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},At[U?.position]?.split(" ")[0],o.default.createElement(a,null,o.default.createElement(a,{style:{fontSize:10}},At[U?.position]?.split(" ")[1]))," ","Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":"")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},U?.name),U.otpChannel==="email"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},U.email),U.otpChannel==="sms"&&o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",U?.phoneArea,") ",U.number))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderIcons,flexDirection:"row"}:{flexDirection:"row"},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-icons"},o.default.createElement(l,{style:{background:"transparent",width:24,height:24},onPress:()=>{Ke(Te=>Te?.filter(S=>S?.otpChannel==="sms"?S?.phoneArea?.toLowerCase()+S?.number?.toLowerCase()!==U?.phoneArea?.toLowerCase()+U?.number?.toLowerCase():S?.email?.toLowerCase()!==U?.email?.toLowerCase())?.map((S,F)=>(S.position=F+1,S))),Ze()}},o.default.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:E.delete}}))))))),Pe&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Specify the number of Co-Signers you need to sign off for an approval"),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyLabel}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-label"},"By default we need 2, you can add up to 5 Co-Signers as minimum sign off needed for approval.")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooter,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-add-cosigner-confirm-body-footer"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-cont"},new Array(e.action==="remove-cosigner"?D?.length+1:w?.length+1).fill("1").map((U,M)=>o.default.createElement(i,{key:M,className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind",style:M+1===le&&t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd}:M+1===le&&!t?{}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd,height:0,width:0,overflow:"hidden"}:{height:0,width:0,overflow:"hidden"}},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndText}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text"},String(M+1))),o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-icon",source:{uri:E.pointer}})))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSlider}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider"},e.action!=="remove-cosigner"&&o.default.createElement(i,{style:t&&w?.length===1?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/w?.length}%`}:!t&&w?.length===1?{width:`${100/w?.length}%`}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/w?.length+5}%`}:{width:`calc(${100/w?.length}% + 12px)`},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind"},o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon",source:{uri:E.sliderDot}})),e.action==="remove-cosigner"&&o.default.createElement(i,{style:t&&D?.length===1?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/D?.length}%`}:!t&&D?.length===1?{width:`${100/D?.length}%`}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/D?.length+5}%`}:{width:`calc(${100/D?.length}% + 12px)`},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind"},o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon",source:{uri:E.sliderDot}})))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text-cont"},new Array(e.action==="remove-cosigner"?D?.length+1:w?.length+1).fill("1").map((U,M)=>o.default.createElement(l,{style:{background:"transparent"},key:M,onPress:()=>{M+1>1&&Xe(M+1)}},e.action!=="remove-cosigner"&&o.default.createElement(a,{style:t&&M===w?.length?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingRight:12}:t&&M===0?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingLeft:12}:!t&&M===0?{paddingLeft:12}:!t&&M===w?.length?{paddingRight:12}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text"},String(M+1)),e.action==="remove-cosigner"&&o.default.createElement(a,{style:t&&M===D?.length?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingRight:12}:t&&M===0?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingLeft:12}:!t&&M===0?{paddingLeft:12}:!t&&M===D?.length?{paddingRight:12}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text"},String(M+1))))))),o.default.createElement(l,{id:"confirm-cosigner-button",style:t?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:10,width:"100%"}:{marginBottom:10,width:"100%"},className:"verified-custd-mdl-startup-button-active",onPress:async()=>{await Re()}},o.default.createElement(a,null,"Confirm"))))),g&&w?.length<4&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreBody,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-step2-add-more-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirst}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeaderText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header-text"},"Add Details")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooter}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooterText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer-text"},At[w?.length+1]?.split(" ")[0],o.default.createElement(a,{style:{fontSize:10}},At[w?.length+1]?.split(" ")[1])," ","Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":""))),e.action!=="remove-cosigner"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecond}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-second"},o.default.createElement(x,{onChangeText:ne,value:J,placeholder:"Enter Co-signer name",placeholderTextColor:"#B6B7C3",className:"verified-custd-mdl-add-cosigner-step2-add-more-second-input",style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecondInput}:{}})),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},e.enablePhone&&o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{_("sms"),V(""),z("")}},o.default.createElement(s,{source:{uri:f==="sms"?E.selectClicked:E.select},style:{width:24,height:24}}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Phone number")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{_("email"),V(""),Y(""),H(""),ce("")}},o.default.createElement(s,{source:{uri:f==="email"?E.selectClicked:E.select},style:{width:24,height:24}}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Email"))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},f==="sms"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},o.default.createElement(l,{onPress:()=>R(!j),style:t?{...n.verifiedCustdMdlStContactFirstSection,flexDirection:"row",alignItems:"center"}:{flexDirection:"row",alignItems:"center"},className:"verified-custd-mdl-st-contact-first-section"},o.default.createElement(s,{source:{uri:B.flag},style:{width:24,height:16},alt:"Country Flag"}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",B.area),j?o.default.createElement(s,{source:{uri:E.arrowUp},style:{width:16,height:16},alt:"Dropdown Icon"}):o.default.createElement(s,{source:{uri:E.arrowDown},style:{width:16,height:16},alt:"Dropdown Icon"})),o.default.createElement(x,{onChangeText:U=>{ce(U===""?de+" ":U);let M=U.replace(/\D/g,"");Y(M);let Te="";for(let S=0;S<M.length;S++)Te+=M[S],(S+1)%5===0&&S+1<M.length&&(Te+=" ");H(Te),V("")},onBlur:Ze,value:Q,placeholder:"Enter phone number",placeholderTextColor:"#b6b7c3",keyboardType:"phone-pad",className:"verified-custd-mdl-st-contact-second-section",style:t?{...n.verifiedCustdMdlStContactSecondSection}:{}})),j&&o.default.createElement(Vt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:Ze,setSelected:Le,selected:B,searchActive:j,setSearchActive:R,contentMaxHeight:300,contentbottomMargin:300}),fe===""&&X.length!==10&&de.length>10&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check the phone number")),fe!==""&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},fe))),f==="email"&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-st-contact-input"},o.default.createElement(x,{style:t?{...n.verifiedCustdMdlStContactSecondSection,width:"100%"}:{width:"100%"},onChangeText:U=>{z(U),V("")},onBlur:Ze,value:te,placeholder:"Enter email",placeholderTextColor:"#b6b7c3",keyboardType:"email-address",autoCapitalize:"none",className:"verified-custd-mdl-st-contact-second-section"}),fe!==""&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},fe)))),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtons,flexDirection:"row",justifyContent:"space-between"}:{flexDirection:"row",justifyContent:"space-between"},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtonsNeut,flex:1,marginRight:8,border:"1px solid #603FF4",color:"#603FF4"}:{flex:1,marginRight:8,border:"1px solid var(--secondary-electric-violet-600, #603FF4)",color:"var(--secondary-electric-violet-600, #603FF4)"},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons-neut",onPress:()=>u(!1)},o.default.createElement(a,null,"Cancel")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtonsAction,flex:1,marginLeft:8}:{flex:1,marginLeft:8},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons-action",onPress:()=>{vt(),Ze()}},o.default.createElement(a,null,"Add")))),!g&&!Pe&&w?.length<4&&o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooter,background:"transparent",height:20}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer",onPress:()=>u(!0)},o.default.createElement(s,{source:{uri:E.addIcon},style:{width:20,height:20}}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-text"}," ",e.action==="remove-cosigner"?"Add Co-Signer to remove":"Add another Co-Signer")),!g&&!Pe&&w?.length===4&&o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterDis}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-dis"},o.default.createElement(s,{source:{uri:E.addDisableIcon},style:{width:20,height:20}}),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterTextDis}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-text-dis"},"Add another Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":"")))),!Pe&&o.default.createElement(l,{className:w?.length>0?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",style:t&&w?.length>0?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px",width:"100%"}:t&&w?.length===0?{...n.verifiedCustdMdlStartupButton,marginBottom:"20px",width:"100%"}:t&&w?.length>0&&!g&&w?.length<4?{...n.verifiedCustdMdlStartupButtonActive,marginTop:"50px",marginBottom:"20px",width:"100%"}:t&&w?.length===0&&!g&&w?.length<4?{...n.verifiedCustdMdlStartupButton,marginTop:"50px",marginBottom:"20px",width:"100%"}:!g&&w?.length<4?{marginTop:"50px",marginBottom:"20px",width:"100%"}:{marginBottom:"20px",width:"100%"},onPress:()=>{w?.length>0&&(Xe(2),_e(!0),u(!1))}},o.default.createElement(a,{style:n.buttonText},"Proceed")))),y&&o.default.createElement(o.default.Fragment,null,A==="1"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:E.addCoSignerIcon2},alt:""}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel}:{},className:"verified-custd-mdl-add-cosigner-more-label"},"A Co-Signer is a person who has the right given by you to generate a new pin on your behalf incase you forget it.")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>k(!1),className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(a,null,"Back")),o.default.createElement(l,{onPress:()=>P("2"),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(a,null,"Next")))),A==="2"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(s,{className:"verified-custd-mdl-add-cosigner-body-icon",style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},source:{uri:E.addCoSignerIcon3},alt:""}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Why is it needed?"))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel}:{},className:"verified-custd-mdl-add-cosigner-more-label"},"In blockchain application, it is impossible to reset a key if the PIN is forgotten you can login with the help of Co-Signer")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>P("1"),className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(a,null,"Back")),o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>P("3"),className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(a,null,"Next")))),A==="3"&&o.default.createElement(o.default.Fragment,null,o.default.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:E.addCoSignerIcon4},alt:""}),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Who can be my Co-Signer?"))),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel}:{},className:"verified-custd-mdl-add-cosigner-more-label"},"You can nominate your trusted acquaintances, family members and even yourself as a co-signer."),o.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More in Details")),o.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.default.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>P("2"),className:"verified-custd-mdl-add-cosigner-button-neut"},o.default.createElement(a,null,"Back")),o.default.createElement(l,{onPress:()=>{v("2"),u(!1),k(!1),P("1")},style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},o.default.createElement(a,null,"Start")))))),r&&Je&&o.default.createElement(Be,{platform:e.platform,action:e.action,setStep:e.setStep,stepToSet:"8",actionHeaderText:"Successful",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully removed cosigners and set new signing rule.",actionFooterText:"Congratulations! You have successfully removed cosigners and set new signing rule.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},eventEmitter:e.eventEmitter}),!r&&o.default.createElement(a,null,"Loading Module Fonts..."))},mt=Li;var c=Ce(require("react"));var Rn=require("ethers"),bi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,TextInput:x,TouchableOpacity:l,StyleSheet:K,Font:p,AsyncStorage:h,styles:n,rnPasskey:r}=e.platform,[b,y]=(0,c.useState)(e.fontsLoaded||!1),[k,A]=(0,c.useState)(!1),[P,L]=(0,c.useState)(!0),[v,g]=(0,c.useState)(!1),[u,f]=(0,c.useState)(!1),[_,X]=(0,c.useState)(null),[Y,Q]=(0,c.useState)(null),[H,te]=(0,c.useState)(e.newChainId||8453),[z,J]=(0,c.useState)(!1),[ne,de]=(0,c.useState)(!1),[ce,j]=(0,c.useState)(!1),[R,B]=(0,c.useState)(!1),[Le,w]=(0,c.useState)(!1),[Ke,q]=(0,c.useState)(""),[$e,ge]=(0,c.useState)(!1),[se,D]=(0,c.useState)({}),[ve,Pe]=(0,c.useState)(["","","",""]),_e=(0,c.useRef)([]),[le,Xe]=(0,c.useState)(!1),[fe,V]=(0,c.useState)(null),{setChainId:Je,setAddress:We,setPk:Qe,setProvider:me,setSigner:qe,setVaultContract:at,setVaultData:ct}=Me();(0,c.useEffect)(()=>{let S=async()=>{if(t)p&&await we(p),y(!0);else{let F=xe(document);y(F)}};e.fontsLoaded||S()},[]);let Ze=(S,F)=>{if(S.length>1){let N=S.replace(/\D/g,""),ie=[...ve],pe=0;for(let Ye=F;Ye<ve.length&&pe<N.length;Ye++)ie[Ye]=N[pe],pe++;Pe(ie);let Se=F+N.length;Se<ve.length&&_e.current[Se]&&_e.current[Se].focus(),A(!1)}else{let N=S.replace(/\D/g,""),ie=[...ve];ie[F]=N,Pe(ie),N&&_e.current[F+1]&&_e.current[F+1].focus(),A(!1)}},vt=(S,F,N)=>{N.nativeEvent.key==="Backspace"&&!ve[F]&&F>0&&_e.current[F-1]&&_e.current[F-1].focus()},Re=ve.every(S=>S.length>0),U=async S=>{if(S?.listener&&chrome?.runtime?.onMessage?.removeListener&&chrome?.runtime?.onMessage?.removeListener(S?.listener),!e.helperFunctions)q("No Helper Functions. Please include all helper functions in the EnterPinPage props."),A(!0);else if(q(""),A(!1),le&&Re&&e.hashedVaultId&&e.encrptedPk||!le&&e.hashedVaultId&&e.encrptedPk&&S){e.setIsLoading(!0);let F=S?.pinString?S?.pinString:ve.join("");await In(t,e.vaultId,e.hashedVaultId,F,S?.hashed?S?.hashed:ee(F),e.encrptedPk,e.vaultAddress,e.vaultChannel,Number(H),Kn?.includes(e.origin?.toLowerCase()),null,S?.rawId).then(async N=>{if(N&&!N?.inCompleteVault)e.setIsLoading(!1),X(N),Q(N?.pk&&e.action!=="eth_requestAccounts"?{address:N.address,channel:N.channel,chainId:N.chainId,pk:N?.pk}:{address:e.regAddress,channel:N.channel,chainId:N.chainId}),e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await Hn(t,e.helperFunctions.sendCreatorInitiation,e.hashedVaultId,S?.hashed?S?.hashed:ee(F),e.vaultId,F,e.encrptedPk,e.vaultChannel,Number(H),S?.rawId).then(async ie=>{e.setIsLoading(!1),t?t&&h&&await h.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),ie?f(!0):(q("Account recovery failed. Verify you don't have pending account recovery process and Try again later"),A(!0))})):e.action==="signRecovery"?(e.setIsLoading(!0),await On(t,e.helperFunctions.sendCreatorSigned,e.helperFunctions.sendCreatorCompleted,e.hashedVaultId,S?.hashed?S?.hashed:ee(F),e.vaultId,F,e.encrptedPk,e.reqVaultData?.vaultId,e.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e.reqTxData?.id,Number(H),S?.rawId).then(async ie=>{e.setIsLoading(!1),t?t&&h&&!e.reqTxData?.newUser&&!e.vaultAddress&&await h.removeItem("myVault"):!t&&!e.reqTxData?.newUser&&chrome?.storage?.local&&!e.vaultAddress?await chrome.storage.local.remove("myVault"):!t&&!e.reqTxData?.newUser&&!chrome?.storage?.local&&!e.vaultAddress&&localStorage&&localStorage.removeItem("myVault"),ie?f(!0):(q("Error while signing transaction; it's either you are not a valid co-signer or you had signed this particular transaction before. Verify and try again later."),A(!0))})):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await Jn(t,h,e.hashedVaultId,S?.hashed?S?.hashed:ee(F),e.vaultId,F,e.encrptedPk,e.reqTxData?.id,e.vaultChannel,Number(H),S?.rawId).then(async ie=>{e.setIsLoading(!1),ie?f(!0):(t?t&&h&&await h.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),q("Error while restoring login access. Verify all required co-signers had signed our account recovery and try again later."),A(!0))})):e.action==="eth_sendTransaction"&&e.encrptedPk?.length>0&&N?.pin?.length>0&&e.signTxElement?(D({chainId:H,ky:le?Rn.ethers.encodeBytes32String(N?.pin):"",rawId:le?"":S?.rawId,...e.txToSign}),de(!1),ge(!0)):e.action==="invitation"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()&&e.reqVaultData?.coSignerId?.toLowerCase()===e.vaultId?.toLowerCase()?(q(""),A(!1),de(!0)):e.action==="invitation"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(q(`You cannot accept your own Co-Signer invitation. please logout and login to: ${e.reqVaultData?.coSignerId} account`),A(!0)):e.action==="invitation"&&e.reqVaultData?.coSignerId?.toLowerCase()!==e.vaultId?.toLowerCase()?(q(`You cannot accept this Co-Signer invitation. please logout and login to: ${e.reqVaultData?.coSignerId} account`),A(!0)):e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(t?t&&h&&await h.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),q(`You are not authorized to fetch account details. please logout and login to: ${e.reqVaultData?.vaultId} account`),A(!0)):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(t?t&&h&&await h.removeItem("myVault"):!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&localStorage.removeItem("myVault"),q(`You are not authorized to restore login access for this account. please logout and login to: ${e.reqVaultData?.vaultId} account`),A(!0)):e.action==="connect_wallet"&&!e?.vaultAddress||e.action==="eth_requestAccounts"&&!e?.vaultAddress?(q("Incomplete account details received. This may be due to incomplete/unexpected error from last login. Please logout and login back to recover account details."),A(!0)):e.action===""&&e.vaultAddress?e.setShowDashboard(!0):e.action===""&&!e.vaultAddress?(q("Incomplete account login detected. Logout and try again later"),A(!0)):(q(""),A(!1),f(!0));else if(N&&N?.inCompleteVault&&N?.pk){let ie=await rt(Number(H),N?.pk);if(Je(ie.chainId),We(ie.address),Qe(ie.pk),me(ie.provider),qe(ie.signer),at(ie.vaultContract),ct({vaultId:N?.vaultId,hashedVaultId:N?.hashedVaultId,vaultPin:N?.pin,hashedVaultPin:le?ee(N?.pin):Ve(N?.rawId),vaultContract:ie.vaultContract,rawId:N?.rawId}),N?.channel?.toLowerCase()==="sms"){let pe=N?.vaultId?.replace(N?.vaultId?.slice(-10),""),Se=N?.vaultId?.slice(-10)?.slice(0,5)+" "+N?.vaultId?.slice(-10)?.slice(5);e.setSelectedCountry({area:pe?.replace("+",""),name:"",flag:""}),e.setUserNumberFmt(Se),e.setUserEmail("")}else e.setUserEmail(N?.vaultId),e.setUserNumberFmt("");e.setIsLoading(!1),e.setShowCompleteVault(!0),e.setShowDashboard(!1)}else q(le?"":`Incorrect Passkey. please chose the correct existing passkey for account: ${e.vaultId}`),A(!0),e.setIsLoading(!1)})}else!le&&!S&&(q("Unexpected error with selected passkey. Try again later"),A(!0)),le&&!Re&&(q("Input your 4-Digits PIN to login."),A(!0))},M=async S=>{let F=e.vaultId;if(_?.pin?.length>0&&_?.pk?.length>0&&e?.reqVaultData?.hashedVaultId&&e.reqVaultData?.hashedVaultPin&&F&&e.helperFunctions?.sendCreatorAcceptance&&e.helperFunctions?.sendCreatorRejection){e.setIsLoading(!0);let N=_.pin,ie=ee(F),pe=le?ee(N):Ve(_.rawId);await $t(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,e.vaultChannel,ie,pe,e?.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e?.reqVaultData?.vaultId,F,S,null,_.pk,Number(H)).then(Se=>{e.setIsLoading(!1),Se&&(w(S),j(!0))})}},Te=async S=>{if(q(""),A(!1),chrome?.windows?.create){let F=e?.getPasskeyDomain?.length>0?e?.getPasskeyDomain:Tt,N=async(ie,pe,Se)=>{if(ie.type==="VW:Passkey_Credential")if(ie?.origin&&F?.toLowerCase()?.startsWith(ie?.origin?.toLowerCase())){fe&&chrome.windows.remove(fe),pe?.tab&&pe?.tab?.windowId&&chrome.windows.remove(pe.tab.windowId);let Ye=ie.data;if(Ye?.id&&Ye?.rawId){let ut=wt(Ye?.rawId),St=Ve(ut),ot={pinString:Ye?.id,hashed:St,rawId:ut,listener:N};ot&&await U(ot)}else q(`Passkey authentication failed: ${Ye?.error?.toString()?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),A(!0)}else q("Passkey authentication failed: invalid passkey origin. Try again later"),A(!0)};chrome.runtime.onMessage.addListener(N),await chrome.windows.create({url:`${F}`,type:"popup",width:500,height:600}).then(ie=>{V(ie.id)})}else try{if(t&&!r.isSupported()){q("Your device does not support Passkeys. Change device and try again later"),A(!0);return}let F=t?await r.get(st(S)):await navigator?.credentials?.get({publicKey:st()}),N=Ve(F?.rawId);return{pinString:F?.id,hashed:N,rawId:F?.rawId}}catch(F){q(`Passkey authentication failed: ${F?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),A(!0)}};return c.default.createElement(c.default.Fragment,null,b&&!ne&&!$e&&c.default.createElement(c.default.Fragment,null,!u&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px",paddingTop:"0"}:{padding:"20px",paddingTop:"0"},className:"verified-custd-mdl-startup-language"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},c.default.createElement(Fe,{platform:e.platform,sliderCount:[1],currentSlider:"0"}),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContentHeaderCont}:{},className:"verified-custd-mdl-startup-contact-content-heder-cont"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText,alignSelf:"center"}:{alignSelf:"center"},className:"verified-custd-mdl-startup-contact-text"},le?"Enter PIN":"Sign-in with Existing Passkey")),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",c.default.createElement(a,{style:{color:"#0C0C0E"}},le?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",c.default.createElement(a,{style:{color:"#0C0C0E"}},e.vaultId)," ","account."),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},e.actionText&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`To ${e.actionText} from origin: ${e.origin||e.title}`)))),le&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},ve.map((S,F)=>c.default.createElement(x,{key:F,ref:N=>_e.current[F]=N,className:k?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",style:t&&k?{...n.verifiedCustdMdlOtpInputRed}:t&&!k?{...n.verifiedCustdMdlOtpInput}:{},secureTextEntry:P,maxLength:1,value:ve[F],onChangeText:N=>Ze(N,F),onKeyPress:N=>vt(N,F,N),keyboardType:"number-pad",id:`verified-custd-mdl-otp-input-${F}`}))),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},k&&!Ke&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),k&&Ke&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},Ke),!k&&c.default.createElement(a,null),P?c.default.createElement(l,{onPress:()=>L(!1),style:{backgroundColor:"transparent"}},c.default.createElement(s,{style:{width:24,height:24},source:{uri:E.pinHide}})):c.default.createElement(l,{onPress:()=>L(!0),style:{backgroundColor:"transparent"}},c.default.createElement(s,{style:{width:24,height:24},source:{uri:E.pinShow}})))),!le&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},c.default.createElement(i,{className:"verified-custd-mdl-add-cosigner-more-title-cont"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle,fontSize:Z(t,"14px")}:{fontSize:Z(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"Your passkey is stored in your cloud account such as Apple iCloud Keychain, Google Password Manager, or Microsoft Account and synchronized across all devices."),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},"In the event of device loss, as long as you have access to your cloud account, you can recover your passkey."),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:Z(t,"12px")}:{fontSize:Z(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},'Click "Login With Passkey" button, passkey popup will appears to login using your existing passkey.'),c.default.createElement(l,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey")))),!v&&c.default.createElement(i,{style:{height:20}}),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},c.default.createElement(Fn,{platform:e.platform,setisOnboard:e.setisOnboard,setIsLoading:e.setIsLoading}),le&&c.default.createElement(l,{onPress:async()=>await U(),style:t&&Re&&!k?{...n.verifiedCustdMdlStartupButtonActive}:t&&Re&&k?{...n.verifiedCustdMdlStartupButton}:t&&!Re&&!k?{...n.verifiedCustdMdlStartupButton}:t&&!Re&&k?{...n.verifiedCustdMdlStartupButton}:{},className:Re&&!k?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button"},c.default.createElement(a,null,"Proceed")),!le&&c.default.createElement(c.default.Fragment,null,k&&Ke?.length>0&&c.default.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText,marginTop:"3px",width:"100%"}:{marginTop:"3px",width:"100%"},className:"verified-custd-mdl-otp-incorrect-text"},Ke),c.default.createElement(l,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px"}:{marginBottom:"20px"},onPress:async()=>{let S=await Te(e?.passKeyRpId);S&&await U(S)},className:"verified-custd-mdl-startup-button-active"},c.default.createElement(a,null,"Login With Passkey")))))),u&&c.default.createElement(Be,{platform:e.platform,messageTosend:e.action==="getPk"||e.action==="signRecovery"||e.action==="completeRecovery"?{type:"closePopup",key:"",value:""}:{type:"vaultData",key:"vaultData",value:Y},customTextHeader:"Successful",customTextFooter:e.action==="getPk"&&e.vaultChannel==="email"?"You have successfully initiated your account recovery process check your email for further instructions":e.action==="getPk"&&e.vaultChannel==="sms"?"You have successfully initiated your account recovery process check your phone number messages for further instructions":e.action==="signRecovery"?`Congratulations! You have successfully signed account recovery transaction for user: ${e.reqVaultData?.vaultId}`:e.action==="completeRecovery"?`Congratulations! You have successfully restored login access for your ${e?.vaultId} account`:`Congratulations! You have successfully ${e.actionText||"logged in to your account."}`,showButton:!!(e.action==="completeRecovery"&&e.dashbordElement),buttonText:e.action==="completeRecovery"&&e.dashbordElement?"Go To Dashboard":"",buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},actionFooterText:e.action==="completeRecovery"?`Congratulations! You have successfully restored login access for your ${e?.vaultId} account`:"",eventEmitter:e.eventEmitter})),b&&ne&&!$e&&c.default.createElement(c.default.Fragment,null,!ce&&c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px",position:"relative"}:{padding:"20px",position:"relative"},className:"verified-custd-mdl-startup-language"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},c.default.createElement(Fe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},c.default.createElement(a,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId)," ","has requested you to be a Co\u2011Signer"))),c.default.createElement(l,{style:{backgroundColor:"transparent",width:"100%"}},c.default.createElement(s,{style:{height:250,width:"90%"},source:{uri:E.addCoSignerIcon1}})),R?c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyLabel,fontSize:12,color:"#5B5D6E"}:{fontSize:12,color:"var(--Neutral-600, #5B5D6E)"},className:"verified-custd-mdl-add-cosigner-confirm-body-label"},"Once you reject to be a co-signer for"," ",c.default.createElement(a,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId),", you will not be able to reset the PIN for them.")),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},c.default.createElement(l,{onPress:async()=>await M(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},c.default.createElement(a,null,"Yes")),c.default.createElement(l,{onPress:()=>B(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},c.default.createElement(a,null,"No")))))):c.default.createElement(c.default.Fragment,null,c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co\u2011Signer?"))),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:12,color:"#5B5D6E"}:{fontSize:12,color:"var(--Neutral-600, #5B5D6E)"},className:"verified-custd-mdl-add-cosigner-more-label"},"A Co\u2011Signer is a person who has the right given by you to generate a new pin on your behalf incase you forget it."),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},c.default.createElement(s,{source:{uri:E.pkicon}})),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},c.default.createElement(s,{source:{uri:E.encryptedIcon}})),c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",c.default.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"will not get access")," ","to your account in any way."))),c.default.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},c.default.createElement(l,{onPress:()=>B(!0),style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},className:"verified-custd-mdl-add-cosigner-button-neut"},c.default.createElement(a,null,"Reject")),c.default.createElement(l,{onPress:async()=>await M(!0),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},c.default.createElement(a,null,"Accept"))))),ce&&c.default.createElement(Be,{platform:e.platform,messageTosend:{type:"getPk",key:"vaultData",value:_},customTextHeader:"Successful",customTextFooter:Le?`You have been added as a Co-Signer for ${e.reqVaultData?.vaultId}`:`You rejected Co-signer request from ${e.reqVaultData?.vaultId}`,eventEmitter:e.eventEmitter})),b&&!ne&&$e&&c.default.createElement(e.signTxElement,{setIsLoading:e.setIsLoading,txToSign:se}),!b&&c.default.createElement(a,null,"Loading Module Fonts..."))},Ct=bi;var xi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:m,StyleSheet:x,Font:l,AsyncStorage:K}=e?.platform,[p,h]=(0,W.useState)(e.fontsLoaded||!1),[n,r]=(0,W.useState)(e.showLogoPage||!1),[b,y]=(0,W.useState)([]),[k,A]=(0,W.useState)("2"),[P,L]=(0,W.useState)(e.defaultCountry||{area:"1",flag:E.usaFlag,name:"United States"}),[v,g]=(0,W.useState)(""),[u,f]=(0,W.useState)(""),[_,X]=(0,W.useState)(!1),[Y,Q]=(0,W.useState)(""),[H,te]=(0,W.useState)(""),[z,J]=(0,W.useState)(""),[ne,de]=(0,W.useState)(""),[ce,j]=(0,W.useState)(null),[R,B]=(0,W.useState)(null),[Le,w]=(0,W.useState)(!1),{setChainId:Ke,setAddress:q,setPk:$e,setProvider:ge,setSigner:se,setVaultContract:D,setVaultData:ve,vaultData:Pe,chainId:_e,vaultContract:le}=Me();return(0,W.useEffect)(()=>{let Xe=async()=>{if(t)l&&await we(l),h(!0);else{let fe=xe(document);h(fe)}};e.fontsLoaded||Xe()},[]),(0,W.useEffect)(()=>{let Xe=async()=>{let fe;t?t&&K&&(fe=K.getItem("lastPk")):!t&&chrome?.storage?.local?fe=await new Promise(Je=>{chrome.storage.local.get(["lastPk"],We=>{Je(We.lastPk)})}):!t&&localStorage&&(fe=localStorage.getItem("lastPk"));let V=await rt(e.chainId,fe&&fe?.length>0?fe:void 0);Ke(V.chainId),q(V.address),$e(V.pk),ge(V.provider),se(V.signer),ve(V.vaultData),V.vaultContract?.contractAddress?D(V.vaultContract):D(void 0)};le?.contractAddress||Xe()},[le]),(0,W.useEffect)(()=>{(0,Un.debounce)(()=>{r(!1)},e.logoTimeoutTime??3e3)()},[]),(0,W.useEffect)(()=>{(()=>{let fe=Yt.map(V=>{if(V)return{name:V.name,countryName:V.name,officialName:V.name,currencySymbol:V.currency,currencyName:V.currency,officialCurrencySymbol:V.currency,countryCode:V.code,flag:V.flag,continent:V.continent,phone_code:V.phone_code,code:V.code}}).filter(Boolean);y(fe)})()},[]),W.default.createElement(m,{style:{padding:20,width:"100%",heigth:"100%"}},p&&n&&e.logoPageElement&&W.default.createElement(i,null,e.logoPageElement),p&&!n&&W.default.createElement(i,{style:{width:"100%",heigth:"100%"}},k==="2"&&W.default.createElement(It,{platform:e.platform,fontsLoaded:p,setStep:A,setIsLoading:e.setIsLoading,setUserNumberFmt:g,userNumberFmt:v,setUserEmail:f,userEmail:u,setSelectedCountry:L,selectedCountry:P,allCountries:b,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone}),k==="3"&&W.default.createElement(Ht,{platform:e.platform,fontsLoaded:p,setStep:A,setIsLoading:e.setIsLoading,userNumberFmt:v,setUserNumberFmt:g,setUserEmail:f,userEmail:u,selectedCountry:P,helperFunctions:e.helperFunctions,setIsExistingUser:w}),k==="4"&&W.default.createElement(Kt,{platform:e.platform,fontsLoaded:p,setStep:A,setIsLoading:e.setIsLoading,setShowSuccessBtn:X,setSuccessBtnText:Q,setSuccessBtnNeutText:te,setSuccessBtnFunc:j,setSuccessBtnNeutFunc:B,userNumberFmt:v,userEmail:u,selectedCountry:P,action:e.action,vaultData:e.vaultData,txData:e.txData,setActionHeaderText:J,setActionFooterText:de,helperFunctions:e.helperFunctions,isExistingUser:Le,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId,eventEmitter:e.eventEmitter}),k==="5"&&W.default.createElement(Be,{platform:e.platform,setStep:A,stepToSet:"6",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully created a new account.",action:e.action,showButton:_,buttonText:Y,buttonNeutText:H,buttonFunc:ce,buttonNeutFunc:R,actionHeaderText:z,actionFooterText:ne,eventEmitter:e.eventEmitter}),k==="6"&&W.default.createElement(mt,{platform:e.platform,fontsLoaded:p,setStep:A,setIsLoading:e.setIsLoading,userNumberFmt:v,userEmail:u,selectedCountry:P,allCountries:b,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:e.setShowDashboard,setShowResetPin:e.setShowResetPin,setShowRemoveCosigner:e.setShowRemoveCosigner,eventEmitter:e.eventEmitter}),k==="7"&&e.action===""&&W.default.createElement(Be,{platform:e.platform,action:e.action,setStep:A,stepToSet:"8",actionHeaderText:"Successful",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account.",actionFooterText:"Congratulations! You have successfully added Co-signers to your account.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},eventEmitter:e.eventEmitter}),k==="7"&&e.action!==""&&W.default.createElement(Be,{platform:e.platform,action:e.action,messageTosend:e.action==="signRecovery"?{type:"signRecovery",value:{vaultData:e.vaultData,txData:{newUser:!0,...e.txData},chainId:_e}}:{type:e.action?e.action:"closePopup",key:"",value:""},actionHeaderText:"Successful",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account.",actionFooterText:"Congratulations! You have successfully added Co-signers to your account.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},buttonFunc:()=>{e.setShowResetPin&&e.setShowResetPin(!1),e.setShowRemoveCosigner&&e.setShowRemoveCosigner(!1),e.setShowDashboard(!0)},eventEmitter:e.eventEmitter}),k==="8"&&e.dashbordElement&&W.default.createElement(e.dashbordElement,{setIsLoading:e.setIsLoading}),k==="8"&&!e.dashbordElement&&W.default.createElement(W.default.Fragment,null),k==="0"&&W.default.createElement(Ct,{platform:e.platform,fontsLoaded:p,vaultId:Pe?.vaultId,setisOnboard:e.setisOnboard,hashedVaultId:Pe?.hashedVaultId,encrptedPk:Pe?.pk,vaultAddress:Pe?.address,vaultChannel:Pe?.channel,actionText:Lt.getPk,setIsLoading:e.setIsLoading,newChainId:Number(_e||e.chainId),action:"getPk",reqVaultData:Pe,reqTxData:e.txData?Object.keys(e.txData)?.map(Xe=>(e.txData[Xe]=decodeURIComponent(e.txData[Xe]),e.txData))[Object.keys(e.txData)?.length-1]:null,helperFunctions:e.helperFunctions,setUserEmail:f,setUserNumberFmt:g,setSelectedCountry:L,enablePhone:e.enablePhone,setShowDashboard:e.setShowDashboard,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId,eventEmitter:e.eventEmitter})),!p&&W.default.createElement(i,{style:{padding:20,width:"100%",heigth:"100%"}},W.default.createElement(a,null,"Loading Module Fonts...")))},Rt=xi;var wi=e=>{let[t,i]=(0,T.useState)(!1),[a,s]=(0,T.useState)({}),[m,x]=(0,T.useState)(!1),[l,K]=(0,T.useState)(null),[p,h]=(0,T.useState)({}),[n,r]=(0,T.useState)({}),[b,y]=(0,T.useState)(!1),[k,A]=(0,T.useState)(!1),[P,L]=(0,T.useState)(!1),[v,g]=(0,T.useState)(!1),[u,f]=(0,T.useState)(!1),[_,X]=(0,T.useState)(""),[Y,Q]=(0,T.useState)([]),[H,te]=(0,T.useState)(""),[z,J]=(0,T.useState)(e.defaultCountry||{area:"1",flag:E.usaFlag,name:"United States"}),[ne,de]=(0,T.useState)(""),[ce,j]=(0,T.useState)("");(0,T.useEffect)(()=>{(async()=>{await Gt();let se=Mt();se&&(s(se),i(!0))})()},[]);let{isReactNative:R,View:B,Text:Le,Font:w,AsyncStorage:Ke,ActivityIndicator:q,styles:$e}=a;return(0,T.useEffect)(()=>{!m&&t&&(async()=>{if(R)w&&await we(w),x(!0);else{let se=xe(document);x(se)}})()},[t,m]),(0,T.useEffect)(()=>{t&&(async()=>{if(R){if(R&&Ke)try{let se=await Ke.getItem("myVault");if(se){let D=JSON.parse(se);if(D?.vaultId){h(D),K(!0);return}}K(!1)}catch(se){console.error("Error reading vault data on react:",se),K(!1)}}else if(chrome?.storage?.local)chrome.storage.local.get("myVault",se=>{se.myVault&&JSON.parse(se.myVault)?.vaultId?(h(JSON.parse(se.myVault)),K(!0)):K(!1)});else if(localStorage){let se=JSON.parse(localStorage.getItem("myVault"));se&&se?.vaultId?(h(se),K(!0)):K(!1)}else K(!1)})()},[t]),(0,T.useEffect)(()=>{(()=>{let se=Yt.map(D=>D?{name:D?.name,countryName:D?.name,officialName:D?.name,currencySymbol:D?.currency,currencyName:D?.currency,officialCurrencySymbol:D?.currency,countryCode:D?.code,flag:D?.flag,continent:D?.continent,phone_code:D?.phone_code,code:D?.code}:null).filter(D=>D!=null);Q(se)})()},[]),T.default.createElement(T.default.Fragment,null,t&&T.default.createElement(T.default.Fragment,null,m&&T.default.createElement(Ft,null,b&&T.default.createElement(B,{style:R?{...$e.verifiedCustdMdlLoadingScreen,height:"100vh"}:{height:"100vh"},className:"verified-custd-mdl-loading-screen"},T.default.createElement(q,{size:"large",color:"blue"})),T.default.createElement(B,{id:"verified-custd-out-cont",className:"verified-custd-mdl-container",style:R?{...$e.verifiedCustdMdlContainer}:{}},l===null&&e.delayPageElement&&T.default.createElement(T.default.Fragment,null,e.delayPageElement),l===null&&!e.delayPageElement&&T.default.createElement(B,{style:e.delayPageStyle?e.delayPageStyle:{width:"100%",height:"100%",background:"transparent",border:"none"}}," "),l!==null&&T.default.createElement(T.default.Fragment,null,!l&&!k&&T.default.createElement(Rt,{platform:a,fontsLoaded:m,helperFunctions:e.helperFunctions,popupView:e.popupView,action:e.action?e.action:"getPk",vaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:ee(decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId)),hashedVaultPin:decodeURIComponent(e.reqVaultData?.vPh||e.reqVaultData?.hashedVaultPin),coSignerId:decodeURIComponent(e.reqVaultData?.cId)}:null,txData:e.txData?Object.keys(e.txData)?.map(ge=>(e.txData[ge]=decodeURIComponent(e.txData[ge]),e.txData))[Object.keys(e.txData)?.length-1]:null,showLogoPage:e.showLogoPage,logoPageElement:e.logoPageElement,logoTimeoutTime:e.logoTimeoutTime,defaultCountry:e.defaultCountry,setisOnboard:K,setIsLoading:y,dashbordElement:e.dashbordElement,chainId:Number(e.chainId),enablePhone:e.enablePhone,setShowDashboard:A,setShowResetPin:g,setShowRemoveCosigner:f,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId,eventEmitter:e.eventEmitter}),l&&!k&&!P&&T.default.createElement(Ct,{platform:a,fontsLoaded:m,setisOnboard:K,vaultId:p?.vaultId,hashedVaultId:p?.hashedVaultId,encrptedPk:p?.pk,vaultAddress:p?.address,vaultChannel:p?.channel,regAddress:p?.regAddress,origin:e.origin,title:e.title,actionText:e.actionText||Lt[e.action],setIsLoading:y,newChainId:Number(e.chainId),action:e.action||"",eventEmitter:e.eventEmitter,reqVaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:ee(decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId)),hashedVaultPin:decodeURIComponent(e.reqVaultData?.vPh||e.reqVaultData?.hashedVaultPin),coSignerId:decodeURIComponent(e.reqVaultData?.cId)}:null,reqTxData:e.txData?Object.keys(e.txData)?.map(ge=>(e.txData[ge]=decodeURIComponent(e.txData[ge]),e.txData))[Object.keys(e.txData)?.length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:A,setShowResetPin:g,setShowRemoveCosigner:f,setShowCompleteVault:L,setUserEmail:j,setUserNumberFmt:de,setSelectedCountry:J,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId}),l&&k&&P&&T.default.createElement(Ct,{platform:a,fontsLoaded:m,setisOnboard:K,vaultId:p?.vaultId,hashedVaultId:p?.hashedVaultId,encrptedPk:p?.pk,vaultAddress:p?.address,regAddress:p?.regAddress,vaultChannel:p?.channel,origin:e.origin,title:e.title,actionText:e.actionText||Lt[e.action],setIsLoading:y,newChainId:Number(e.chainId),action:e.action||"",eventEmitter:e.eventEmitter,reqVaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:ee(decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId)),hashedVaultPin:decodeURIComponent(e.reqVaultData?.vPh||e.reqVaultData?.hashedVaultPin),coSignerId:decodeURIComponent(e.reqVaultData?.cId)}:null,reqTxData:e.txData?Object.keys(e.txData)?.map(ge=>(e.txData[ge]=decodeURIComponent(e.txData[ge]),e.txData))[Object.keys(e.txData)?.length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:A,setShowResetPin:g,setShowRemoveCosigner:f,setShowCompleteVault:L,setUserEmail:j,setUserNumberFmt:de,setSelectedCountry:J,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId}),l&&!k&&P&&H===""&&T.default.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},T.default.createElement(mt,{platform:a,fontsLoaded:m,setStep:te,setIsLoading:y,userNumberFmt:ne,userEmail:ce,selectedCountry:z,allCountries:Y,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:A,setShowResetPin:g,setShowRemoveCosigner:f,eventEmitter:e.eventEmitter})),l&&!k&&P&&H==="7"&&T.default.createElement(Be,{platform:a,action:e.action,setStep:te,stepToSet:"8",customTextHeader:"Successful",actionHeaderText:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account.",actionFooterText:"Congratulations! You have successfully added Co-signers to your account.",showButton:!!e.dashbordElement,buttonText:e.dashbordElement?"Go To Dashboard":"",handleShowDashboard:()=>{g(!1),f(!1),A(!0)},buttonFunc:()=>{g(!1),f(!1),A(!0)},eventEmitter:e.eventEmitter}),l&&!k&&P&&H==="8"&&e.dashbordElement&&T.default.createElement(e.dashbordElement,{setIsLoading:y}),l&&!k&&P&&H==="8"&&!e.dashbordElement&&T.default.createElement(T.default.Fragment,null),!P&&k&&!v&&!u&&e.dashbordElement&&T.default.createElement(e.dashbordElement,{setIsLoading:y,setShowResetPin:g,setShowRemoveCosigner:f,setAction:X,setUserNumberFmt:de,setUserEmail:j,setSelectedCountry:J,setVaultData:r,initWalletAndContract:rt,useVaultStore:Me}),l&&!P&&k&&!v&&!u&&!e.dashbordElement&&T.default.createElement(T.default.Fragment,null),l&&!P&&!u&&k&&v&&T.default.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},T.default.createElement(Kt,{platform:a,fontsLoaded:m,action:"reset-pin",setStep:te,setIsLoading:y,userNumberFmt:ne,userEmail:ce,vaultData:n,selectedCountry:z,helperFunctions:e.helperFunctions,isExistingUser:!0,rootTagId:e.rootTagId,rootExpandedWidth:e.rootExpandedWidth,rootExpandedHeight:e.rootExpandedHeight,createPasskeyDomain:e?.createPasskeyDomain,getPasskeyDomain:e?.getPasskeyDomain,passKeyRpId:e?.passKeyRpId,eventEmitter:e.eventEmitter})),l&&!P&&k&&!v&&u&&T.default.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},T.default.createElement(mt,{platform:a,fontsLoaded:m,action:"remove-cosigner",setStep:te,setIsLoading:y,userNumberFmt:ne,userEmail:ce,selectedCountry:z,allCountries:Y,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:A,setShowResetPin:g,setShowRemoveCosigner:f,eventEmitter:e.eventEmitter}))))),!m&&T.default.createElement(Le,null,"Loading Module Fonts...")),!t&&typeof navigator<"u"&&navigator.product!=="ReactNative"&&T.default.createElement(T.default.Fragment,null,"Preparing Module..."))},Wn=wi;0&&(module.exports={AddCoSignersPage,ContactPage,CreatePinPage,EnterPinPage,FTUPage,OTPPage,VaultContextProvider,VerifiedCustody,decryptString,decryptWithPasskey,encryptString,encryptWithPasskey,getPlatformComponents,hashTheBuffer,hashTheString,initPlatform,loadAllGoogleFonts,loadAllGoogleFontsRN,publicKeyCredentialRequestOptions});
3
3
  //# sourceMappingURL=index.js.map