@verified-network/verified-custody 0.4.3 → 0.4.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/README.md +225 -0
- package/dist/index.d.mts +21 -5
- package/dist/index.d.ts +21 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -2
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var An=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var yt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var an=yt((ea,Hn)=>{Hn.exports="./Roboto-Regular-UUBD26YO.ttf"});var rn=yt((ta,On)=>{On.exports="./Manrope-Regular-33576HBZ.ttf"});var on=yt((na,Jn)=>{Jn.exports="./Hind-Regular-R5KOYWFC.ttf"});function Pn(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))}Pn(`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{An("react-native-get-random-values")}catch(e){console.warn("react native [polyfillCrypto] Failed to load polyfill:",e)}import Fe,{forwardRef as Ln}from"react";var Fi=process.env.REACT_APP_NODE_ENV==="production"?"https://wallet.verified.network":"https://veripay-bac0b.web.app",Ot=["https://veripay-bac0b.web.app","https://wallet.verified.network","https://verified-l1.web.app","https://invest.verified.network"],Jt=["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"],Rt="0x7f8d3f14b960b3bcf34baea4b46178e331b54a33e565d7d50d77cdfe9e926fe8",Ut={1:"1st",2:"2nd",3:"3rd",4:"4th",5:"5th"},et={1:"1 st",2:"2 nd",3:"3 rd",4:"4 th",5:"5 th"},tt={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"},N={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"},ut=[{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 Qt={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 vt=!1,At=!1,Pt,Lt,bt,_t,xt,Nt,St,Xt,Wt,jt,qt,wt,Zt,Yt=async()=>{if(At)return;if(typeof navigator<"u"&&navigator.product==="ReactNative"){console.log("Initializing React Native platform...");let t=await import("react-native"),i=await import("events");Wt=(await import("expo-font")).default;let s=await import("@react-native-async-storage/async-storage");Zt=await(await import("react-native-passkey")).Passkey,jt=s.default,qt=i.EventEmitter;let L=({className:A,id:m,...C})=>C,d=A=>m=>Fe.createElement(A,{...L(m)});Pt=d(t.View),Lt=d(t.Text),bt=d(t.Image),_t=d(t.ScrollView),xt=t.StyleSheet,Nt=d(t.TextInput),St=d(t.TouchableOpacity),Xt=d(t.ActivityIndicator),wt=t.StyleSheet.create(Qt),vt=!0,console.log("React Native platform initialized.")}else{console.log("Initializing Web platform...");let{motion:t}=await import("framer-motion");Pt=({onPress:i,...a})=>Fe.createElement("div",{onClick:i,...a}),Lt=({onPress:i,...a})=>Fe.createElement("span",{onClick:i,...a}),bt=({onPress:i,source:a,...s})=>Fe.createElement("img",{onClick:i,...s,src:a?.uri}),_t=i=>Fe.createElement("div",{style:{overflowY:"auto",...i.style}},i.children),xt={create:i=>i},wt={},Nt=Ln(({onChangeText:i,onInput:a,onKeyDown:s,onKeyPress:K,value:L,keyboardType:d,secureTextEntry:A,onSubmitEditing:m,blurOnSubmit:C,placeholderTextColor:n,...o},x)=>Fe.createElement("input",{...o,ref:x,value:L,onInput:p=>{a?.(p),i?.(p.target.value)},onKeyDown:p=>{p.key==="Enter"&&(p.preventDefault(),m?.(p)),s?.(p),K?.(p)},type:A?"password":d==="numeric"||d==="number-pad"?"tel":"text",onChange:()=>{}})),St=({onPress:i,style:a,...s})=>Fe.createElement("button",{style:{outline:"none",border:"none",...a},onClick:i,...s},s.children),Xt=({color:i,size:a,...s})=>Fe.createElement(t.img,{height:"50px",width:"50px",src:N.loadingIcon,alt:"Loading...",animate:{rotate:360,scale:[1,1.5,1]},transition:{duration:2,repeat:1/0,ease:"linear"},...s}),vt=!1,console.log("Web platform initialized.")}At=!0},Et=()=>{if(!At)throw new Error("Platform not initialized. Call `await initPlatform()` first.");return{isReactNative:vt,View:Pt,Text:Lt,Image:bt,ScrollView:_t,StyleSheet:xt,TextInput:Nt,TouchableOpacity:St,ActivityIndicator:Xt,Font:Wt,AsyncStorage:jt,EventEmitter:qt,styles:wt,rnPasskey:Zt}};import U,{useEffect as ht,useState as Ke}from"react";import bn,{createContext as _n,useContext as xn,useState as Ie}from"react";var zt=_n(void 0),Tt=({children:e})=>{let[t,i]=Ie(null),[a,s]=Ie(null),[K,L]=Ie(null),[d,A]=Ie(null),[m,C]=Ie(null),[n,o]=Ie(null),[x,p]=Ie(null);return bn.createElement(zt.Provider,{value:{chainId:t,pk:a,address:K,signer:d,provider:m,vaultContract:n,vaultData:x,setChainId:i,setPk:s,setAddress:L,setSigner:A,setProvider:C,setVaultContract:o,setVaultData:p}},e)},Se=()=>{let e=xn(zt);if(!e)throw new Error("useVaultStore must be used within VaultContextProvider");return e};import he,{useEffect as kt,useState as Pe}from"react";import{debounce as Yi}from"lodash";import{contractAddress as Rn,Custody as Un,Provider as Qn,VerifiedWallet as Gt}from"@verified-network/verified-sdk";var be={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:N.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:N.baseIcon},100:{chainId:"0x64",chainName:"Gnosis",nativeCurrency:{name:"XDAI",symbol:"XDAI",decimals:18},rpcUrls:["https://rpc.gnosischain.com/"],blockExplorerUrls:["https://gnosisscan.io/"],icon:N.gnosisIcon},11155111:{chainId:"0xaa36a7",chainName:"Sepolia Test Network",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://eth-sepolia.public.blastapi.io"],blockExplorerUrls:["https://sepolia.etherscan.io/"],icon:N.ethereumIcon},84532:{chainId:"0x14a34",chainName:"Base Sepolia",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:["https://sepolia.base.org"],blockExplorerUrls:["https://sepolia.basescan.org/"],icon:N.baseIcon}};import{pbkdf2 as sn}from"@noble/hashes/pbkdf2";import{sha256 as mt}from"@noble/hashes/sha256";import{randomBytes as gt,utf8ToBytes as Bt,bytesToUtf8 as Wn}from"@noble/hashes/utils";import{gcm as ln}from"@noble/ciphers/aes";import $t from"crypto-js";import{toast as dn}from"react-toastify";import at from"react";import{base as jn,baseSepolia as qn,gnosis as Zn,mainnet as zn,polygon as ei,sepolia as ti}from"viem/chains";import{http as ni}from"viem";import{createPublicClient as Xn,encodeAbiParameters as wn,encodeFunctionData as Yn,pad as En,toHex as Tn,zeroAddress as it,zeroHash as Gn}from"viem";var en={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 tn={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 Mn="0x000000001D1D5004a02bAfAb9de2D6CE5b7B13de",Fn="0x00000000D3254452a909E4eeD47455Af7E27C289",nn="0x81d4b4981670cb18f99f0b4a66446df1bf5b204d24cfcb659bf38ba27a4359b5711649ec2423c5e1247245eba2964679b6a1dbb85c992ae40b9b00c6935b02ff1b",Bn=0n,nt=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}},$n=e=>wn([{name:"bootstrap",type:"address"},{name:"initData",type:"bytes"}],[e.bootStrapAddress,Yn({abi:en.abi,functionName:"initNexusWithDefaultValidatorAndOtherModulesNoRegistry",args:[e.defaultValidator.data,e.validators,e.executors,e.hook,e.fallbacks,e.prevalidationHooks]})]),Vn=e=>{let{deInitData:t="0x",type:i="validator",signer:a,data:s="0x",module:K,...L}=e;return{deInitData:t,data:s,module:K,address:K,signer:a,type:i,getStubSignature:async()=>nn,signUserOpHash:async d=>await a.signMessage({message:{raw:d}}),signMessage:async d=>await a.signMessage({message:d}),...L}},Dn=e=>Vn({initData:e.signer.address,data:e.signer.address,deInitData:"0x",...e,address:it,module:it,type:"validator",getStubSignature:async()=>nn}),In=()=>({module:it,data:Gn}),ft=async(e,t,i)=>{let a=Xn({chain:e,transport:t}),s=Dn({signer:i}),K=[],L=[],d=In(),A=[],m=it,C=Mn,n=Fn,o=[],x=$n({defaultValidator:nt(s),validators:K.map(nt),executors:L.map(nt),hook:nt(d),fallbacks:A.map(nt),registryAddress:m,bootStrapAddress:n,prevalidationHooks:o}),p=En(Tn(Bn),{size:32}),v=await a.readContract({address:C,abi:tn.abi,functionName:"computeAccountAddress",args:[x,p]});if(v?.toLowerCase()!==it?.toLowerCase())return v};var ye=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 Jt.map(a=>{if(!e.querySelector(`link[href="${a}"]`)){let K=e.createElement("link");K.rel="stylesheet",K.href=a,e.head.appendChild(K)}}),!0},ve=async e=>(await e?.loadAsync({Roboto:an(),Manrope:rn(),Hind:on()}),!0),Ue=async(e,t)=>{try{let i;if(t)i=new Gt(t);else{let o=Gt.generateMnemonic();i=Gt.importWallet(o)}let a=Rn,s=e&&a[e]?.Custody&&be[e]?.rpcUrls?.length>0?e:8453,K=be[s]?.rpcUrls[0],L=i.setProvider(new Qn(K)),d=i.privateKey,A=new Un(L,a[s]?.Custody),m=L,C=[jn,zn,Zn,ei,ti,qn].find(o=>Number(o?.id)===Number(s)),n=await ft(C,ni(),m);return{chainId:s,address:n,pk:d,signer:L,provider:K,vaultContract:A,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=mt(Bt(t));return"0x"+Array.from(i).map(a=>a.toString(16).padStart(2,"0")).join("")},Be=e=>{let t=e instanceof Uint8Array?e:new Uint8Array(e),i=mt(t);return"0x"+Array.from(i).map(a=>a.toString(16).padStart(2,"0")).join("")},He=(e,t)=>$t.AES.encrypt(e,t).toString(),Oe=(e,t)=>{var i=$t.AES.decrypt(e,t),a=i.toString($t.enc.Utf8);return a},ii=(e,t)=>at.createElement("div",{className:"verified-custd-mdl-general-web-toast-error"},at.createElement("img",{style:{marginLeft:"5px"},src:N.errorAlert,alt:""}),at.createElement("div",{className:"verified-custd-mdl-general-web-toast-error-container"},at.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-title"},e),at.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-label"},t)));var _e=(e,t)=>(dn.dismiss(),dn.error(ii(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 ne=(e,t,i=16)=>{if(!e)return t;let a=parseFloat(t);return t.endsWith("rem")?a*i:(t.endsWith("px"),a)},ai=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 K=t.substr(s*2,2);a[s]=parseInt(K,16)}return a},Vt=(e,t,i)=>{let a=ai(i);return{challenge:gt(32),rp:{name:e},user:{id:a,name:t,displayName:t},pubKeyCredParams:[{alg:-7,type:"public-key"},{type:"public-key",alg:-257}],authenticatorSelection:{userVerification:"preferred",residentKey:"preferred"},timeout:6e4,attestation:"direct"}},Qe=()=>({challenge:gt(32),timeout:6e4,userVerification:"preferred"}),Mt=e=>btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),Ft=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)))},Je=async(e,t,i)=>{let a=t instanceof Uint8Array?t:new Uint8Array(t),s=gt(8),K=Array.from(s).map(o=>o.toString(16).padStart(2,"0")).join(""),L=ee(`${i}:${K}`),d=Bt(L),A=gt(12),m=sn(mt,a,d,{c:3e5,dkLen:32}),n=ln(m,A).encrypt(Bt(e));return[Mt(d),Mt(A),Mt(n)].join(".")},Re=async(e,t)=>{let[i,a,s]=e.split(".");if(!i||!a||!s)throw new Error("Invalid encrypted data format");let K=t instanceof Uint8Array?t:new Uint8Array(t),L=Ft(i),d=Ft(a),A=Ft(s),m=sn(mt,K,L,{c:3e5,dkLen:32}),C=ln(m,d);try{let n=C.decrypt(A);return Wn(n)}catch{throw new Error("Decryption failed: invalid key or corrupted data")}};import re,{useEffect as si,useState as We}from"react";import cn from"react";var ri=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n}=e.platform,o=Number(e.currentSlider),x=e.sliderCount?.length||0,p=x>0?100/x:0;return cn.createElement(i,{className:"verified-custd-mdl-startup-slider",style:{flexDirection:"row",height:4,overflow:"hidden"}},e.sliderCount?.map((v,y)=>{let k=y<=o;return cn.createElement(i,{key:y,className:k?"verified-custd-mdl-startup-slider-line-active":"verified-custd-mdl-startup-slider-line",style:t&&k?{...n.verifiedCustdMdlStartupSliderLineActive,width:`${p}%`}:t?{...n.verifiedCustdMdlStartupSliderLine,width:`${p}%`}:!t&&k?{width:`${p}%`}:{width:`${p}%`}})}))},xe=ri;import ke,{useState as oi}from"react";var di=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n}=e.platform,[o,x]=oi(null),p=h=>{if(h===""){x(null);return}let f=e.searchContent.filter(g=>{let c=g?.name?.toLowerCase(),P=h.toLowerCase();if(c?.includes(P))return g.searched=P,g.nameArray=g.name.split(""),g});x(f),e.handleButtonDisplay()},v=(h,f)=>{e.type==="area-code"?e.setSelected({area:h.phone_code,flag:h.flag,name:h.name}):e.type==="language"&&e.setSelected(h.name),e.setSearchActive&&e.setSearchActive(!1),e.handleButtonDisplay()},y=(h,f)=>h.map((g,c)=>{let P=f.includes(g.toLowerCase());return ke.createElement(a,{key:c,style:P?n.boldText:n.fadedText},g)}),k=(h,f=!1)=>h.map((g,c)=>{let P=t?!1:window?.location?.search===`?${c}`,E=e.selected&&e.selected.length>0,j=e.type==="language"&&P?"verified-custd-mdl-ms-search-content-active":"verified-custd-mdl-ms-search-content";return ke.createElement(d,{key:c,className:j,style:n.resultItem,onPress:()=>v(g,c)},ke.createElement(i,{style:n.resultInner},ke.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.createElement(a,{className:"verified-custd-mdl-ms-search-content-text",style:n.resultText},g.nameArray&&g.searched?y(g.nameArray,g.searched):g.name,e.type==="language"&&g.label&&ke.createElement(a,{style:g.searched?.includes(g.label.toLowerCase())?{}:n.fadedText},` (${g.label})`))),e.type==="language"&&E&&P&&ke.createElement(s,{source:{uri:N.circleClicked},alt:"Clicked",style:n.selectedIcon}))});return ke.createElement(i,{className:"verified-custd-mdl-startup-language-content-container",style:n.container},ke.createElement(i,{className:"verified-custd-mdl-st-language-content"},e.headerText&&ke.createElement(a,{className:"verified-custd-mdl-st-language-text",style:n.headerText},e.headerText),ke.createElement(i,{className:"verified-custd-mdl-mobille-startup-search-box-container"},ke.createElement(i,{className:"verified-custd-mdl-mobile-startup-search-box",style:n.searchBox},ke.createElement(s,{source:{uri:N.search},alt:"Search",className:"verified-custd-mdl-mobile-search-icon",style:n.searchIcon}),ke.createElement(L,{placeholder:"Search",className:"verified-custd-mdl-ms-search-box-content",style:n.input,onChangeText:p,onFocus:()=>e.type==="language"&&e.setSelected("")})),ke.createElement(K,{className:"verified-custd-mdl-mobile-startup-search-content",style:{maxHeight:e.contentMaxHeight||300}},ke.createElement(i,{className:"verified-custd-mdl-ms-search-content-container"},(o||e.searchContent)?.length>0&&k(o||e.searchContent))))))},pt=di;import rt from"react";var un=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n}=e.platform;return rt.createElement(a,{style:t?{...n.verifiedCustdMdlTermsAndCondition}:{},className:"verified-custd-mdl-terms-and-condition"},"By proceeding, you agree with Verified Wallet"," ",rt.createElement(a,{style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},className:"verified-custd-mdl-terms-and-condition"},"T&C")," ","and"," ",rt.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:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n}=e.platform,o=async()=>{e.setIsLoading(!0);try{!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")):t&&C&&(await C.removeItem("myVault"),await C.removeItem("lastPk")),e.setisOnboard&&e.setisOnboard(!1)}finally{e.setIsLoading(!1)}};return rt.createElement(a,{className:"verified-custd-mdl-terms-and-condition",style:t?{...n.verifiedCustdMdlTermsAndCondition,fontSize:ne(t,"0.7rem")}:{fontSize:ne(t,"0.7rem")}},"Want to access a different account? Click"," ",rt.createElement(a,{className:"verified-custd-mdl-terms-and-condition",style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},onPress:o},"Logout")," ","to logout and login/create another account")};var li=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n}=e.platform,[o,x]=We(e.fontsLoaded||!1),[p,v]=We(""),[y,k]=We(""),[h,f]=We(!1),[g,c]=We(""),[P,E]=We(!1),{pk:j,vaultContract:oe,address:q}=Se();si(()=>{let W=async()=>{if(t)m&&await ve(m),x(!0);else{let H=ye(document);x(H)}};e.fontsLoaded||W()},[]);let Q=()=>{e.selectedCountry.area&&p.length===10||e.userEmail?.length>0&&isNaN(Number(e.userEmail))&&e.userEmail.includes("@")?(c(""),E(!0)):(c(""),E(!1))},te=async()=>{if(e.userEmail===""&&p===""){c("Invalid email or phone number. Try again later");return}if(!e.helperFunctions){c("No Helper Functions provided.");return}if(e.userEmail?.length>0&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.userEmail)){c("Invalid email format.");return}let W=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${p}`,H=e.userEmail?.length>0?"email":"sms";if(W&&H&&j&&oe||W&&H&&e.noContract){e.setIsLoading(!0);try{let z=await e.helperFunctions.sendOTPVerification(q,H,W);e.setIsLoading(!1),z?(c(""),e.setStep("3")):(c(H==="email"?"Error sending OTP to email. Try again.":"Error sending OTP to phone. Try again."),_e("OTP Error",H==="email"?"Please enter a valid email.":"Please enter a valid phone number."))}catch{e.setIsLoading(!1),c("Unexpected error. Try again.")}}else e.noContract||c("Network error. Check your internet connection.")};return re.createElement(K,{style:{width:"100%",height:"100%"}},o&&re.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},re.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},re.createElement(xe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),re.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},re.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&&re.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},re.createElement(i,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},re.createElement(d,{onPress:()=>f(!h),className:"verified-custd-mdl-st-contact-first-section",style:t?{...n.verifiedCustdMdlStContactFirstSection}:{}},re.createElement(s,{source:{uri:e.selectedCountry.flag},alt:"Country Flag",style:t?{...n.verifiedCustdMdlStContactSelectionIcon}:{},className:"verified-custd-mdl-st-contact-selection-icon"}),re.createElement(a,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",e.selectedCountry.area),re.createElement(s,{alt:"Dropdown",className:"verified-custd-mdl-st-contact-dropdown",style:t?{...n.verifiedCustdMdlStContactDropdown}:{},source:h?{uri:N.arrowUp}:{uri:N.arrowDown}})),re.createElement(L,{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:W=>{let H=W.replace(/\D/g,"");k(W),v(H);let z="";for(let ie=0;ie<H?.length;ie++)z+=H[ie],(ie+1)%5===0&&ie+1<H?.length&&(z+=" ");e.setUserNumberFmt(z),Q()}})),h&&re.createElement(pt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:Q,setSelected:e.setSelectedCountry,selected:e.selectedCountry,searchActive:h,setSearchActive:f,contentMaxHeight:"300",contentbottomMargin:"300"}),p.length!==10&&y.length>10&&!g&&re.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check your phone number")),!h&&re.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},re.createElement(L,{style:t?{...n.verifiedCustdMdlStContactSecondSection}:{},className:"verified-custd-mdl-st-contact-second-section",placeholder:"Enter your email address",placeholderTextColor:"#b6b7c3",value:e.userEmail,onChangeText:W=>{e.setUserEmail(W),e.setUserNumberFmt(""),v(""),k(""),Q()}}),g&&e.userEmail.length>0&&re.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},g))),!h&&re.createElement(i,{style:{height:"80px"}}),re.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},re.createElement(un,{platform:e.platform}),re.createElement(d,{style:t&&P?{...n.verifiedCustdMdlStartupButtonActive}:t&&!P?{...n.verifiedCustdMdlStartupButton}:{},className:P?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:te},re.createElement(a,null,"Get OTP"))))),!o&&re.createElement(a,null,"Loading Module Fonts..."))},Dt=li;import F,{useEffect as yn,useRef as yi,useState as qe}from"react";import{AbiCoder as ci,encodeBytes32String as Ye}from"ethers";import{combine as ui,split as fi}from"shamir-secret-sharing";import{contractAddress as ot,Custody as dt,Provider as je,VerifiedWallet as $e}from"@verified-network/verified-sdk";import{base as gi,baseSepolia as mi,gnosis as pi,mainnet as Ci,polygon as ki,sepolia as hi}from"viem/chains";import{http as Ki}from"viem";var gn=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}},mn=async(e,t,i,a,s,K,L,d,A,m,C,n,o,x,p)=>{try{let v={vaultId:a,hashedVaultId:s,vaultPin:K,hashedVaultPin:L,vaultContract:C,rawId:p};return await C.getCreator(s).then(async y=>{if(y?.status===0&&y?.response?.result[0]===!0)try{let k;if(p)k=await Je(A,p,K);else{let f=Ye(K);k=He(A,f)}let h;if(chrome?.storage?.local?h=await new Promise(f=>{chrome.storage.local.get(["lastPk"],g=>{f(g.lastPk)})}):!chrome?.storage?.local&&localStorage&&(h=localStorage.getItem("lastPk")),h&&h?.length>0)return await C.confirmParticipant(s,s,!0).then(async f=>{if(f?.status===0){!e&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!e&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("lastPk"):e&&t&&await t.removeItem("lastPk");try{let c=await new $e(A).getAddress(),P;if(p)P=await Je(A,p,K);else{let E=Ye(K);P=He(A,E)}return!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:m,regAddress:c,vaultId:a,hashedVaultId:s,pk:P,channel:d})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({address:m,regAddress:c,vaultId:a,hashedVaultId:s,pk:P,channel:d})):e&&t&&await t.setItem("myVault",JSON.stringify({address:m,regAddress:c,vaultId:a,hashedVaultId:s,pk:P,channel:d})),v}catch(g){return _e("Oops something went wrong","Error saving new vault details. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("save vault failed: ",g),!1}}else return _e("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(n==="invitation")return{isExisting:!0,...v};{!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({vaultId:a,hashedVaultId:s,pk:k,channel:d})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({vaultId:a,hashedVaultId:s,pk:k,channel:d})):e&&t&&await t.setItem("myVault",JSON.stringify({vaultId:a,hashedVaultId:s,pk:k,channel:d}));let f=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"?o:{vaultId:a,hashedVaultId:s,hashedVaultPin:L},txData:x}});else if(!e&&!chrome?.runtime?.sendMessage){let g=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"?o:{vaultId:a,hashedVaultId:s,hashedVaultPin:L},txData:x}}});f?.dispatchEvent(g)}else if(e&&i){let g=new i,c=n&&n==="connect_wallet"||n&&n==="eth_requestAccounts"?"getPk":n&&n!=="connect_wallet"?n:"getPk",P={vaultData:n&&n==="signRecovery"||n&&n==="completeRecovery"?o:{vaultId:a,hashedVaultId:s,hashedVaultPin:L},txData:x};g.emit(c,P)}}return n==="getPk"?{vaultId:a,hashedVaultId:s,pk:k,channel:d,shouldStop:!0}:{shouldStop:!0}}catch(k){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error handling existing vault: ",k),_e("Oops something went wrong","Error fetching existing vault key(s). Try again later"),!1}else if(y?.status===0&&y?.response?.result[0]!==!0)return await C.createVault(s).then(async k=>k?.status===0?(!e&&chrome?.storage?.local?await chrome.storage.local.set({lastPk:A}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("lastPk",A):e&&t&&await t.setItem("lastPk",A),await C.confirmParticipant(s,s,!0).then(async h=>{if(h?.status===0){!e&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!e&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("lastPk"):e&&t&&await t.removeItem("lastPk");try{let g=await new $e(A).getAddress(),c;if(p)c=await Je(A,p,K);else{let P=Ye(K);c=He(A,P)}return!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:m,regAddress:g,vaultId:a,hashedVaultId:s,pk:c,channel:d})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({address:m,regAddress:g,vaultId:a,hashedVaultId:s,pk:c,channel:d})):e&&t&&await t.setItem("myVault",JSON.stringify({address:m,regAddress:g,vaultId:a,hashedVaultId:s,pk:c,channel:d})),v}catch(f){return _e("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 _e("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: ",h),!1})):(_e("Oops something went wrong","Error creating new vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("create vault failed: ",k),!1))})}catch(v){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",v),_e("Oops something went wrong","Error while creating pin. Try again later"),!1}},pn=async(e,t,i,a,s,K,L,d,A,m,C)=>{try{let n;if(C)n=await Re(s,C);else{let o=Ye(i);n=Oe(s,o)}if(n){let o=ot,x=new $e(n),p=d&&o[d]?.Custody&&be[d]?.rpcUrls?.length>0?d:8453,v=be[p]?.rpcUrls[0],y=x.setProvider(new je(v)),k=new dt(y,o[p].Custody);return k?await k.getCreator(t).then(async h=>{if(h?.status===0&&h?.response?.result[0]===!0){let f=await k.getQuorum(t);return f?.status===0&&f?.response?.result?.length>0?A&&Number(f?.response?.result[0])>0?{address:K,vaultId:e,hashedVaultId:t,channel:L,chainId:m||p,pin:i,rawId:C,pk:n}:Number(f?.response?.result[0])===0?{address:K,vaultId:e,hashedVaultId:t,channel:L,chainId:m||p,pin:i,rawId:C,pk:n,inCompleteVault:!0}:{address:K,vaultId:e,hashedVaultId:t,channel:L,chainId:m||p,pin:i,rawId:C}:(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Invalid pin"),null)}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(n){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",n),null}},Ct=async(e,t,i,a,s,K,L,d,A,m,C,n,o)=>{let x;if(C)x=C;else{let p=ot,v=new $e(n),y=o&&p[o]?.Custody&&be[o]?.rpcUrls?.length>0?o:8453,k=be[y]?.rpcUrls[0],h=v.setProvider(new je(k));x=new dt(h,p[y].Custody)}return x?await x.confirmParticipant(K,a,m).then(async p=>p?.status===0?(m?await e(i,d,A):await t(i,d,A),!0):(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Accept or reject invitation failed with"),!1)).catch(p=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("Accept or reject invitation failed with error: ",p),!1)):!1},Cn=async(e,t,i,a,s,K,L,d,A,m,C,n,o)=>{let x=Number(i.length),v=(await fi(Uint8Array.from(n.split("").map(f=>f.charCodeAt(0))),Number(x),K)).map(f=>f.join(",")),y=o?"":Ye(A),k=[],h=[];for(let f=0;f<i.length;f++){let g=i[f],c=o?await Je(v[f],o,A):He(v[f],y);await C.addParticipant(d,ee(g.vaultId),c).then(async P=>{let E={creatorVaultId:L,vaultPin:A,creatorHashedVaultId:d,creatorHashedVaultPin:m,cosigner:g.vaultId,hashedCosigner:ee(g.vaultId),cosignerVaultIdType:g.otpChannel==="sms"?"PHONE":"EMAIL",cosignerVaultId:g.vaultId,share:c,...g};P?.status===0?(h.push(E),g.vaultId!==L&&await e(g.otpChannel,g.vaultId,L,m).then(j=>{j||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending cosigner invite")})):k.push(E)}),await new Promise(P=>setTimeout(P,1e3))}return k?.length>0||h?.length!==i?.length?(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while adding co-signers"),_e("Oops somethin went wrong","error while adding co-signers"),!1):await C.defineQuorum(d,K.toString()).then(async f=>{if(f?.status===0){let g=a?.map(c=>({name:c?.name,email:c?.email,phoneNumber:c?.phoneNumber,contactType:String(c?.otpChannel)?.toUpperCase(),position:`${Ut[Number(c?.position)]} Co-Signer`}));return await t(s,L,g,Number(K)).then(c=>{c||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"),_e("Oops somethin went wrong","error while saving vault keys"),!1})},kn=async(e,t,i,a,s,K,L,d,A)=>{let m;if(A)m=await Re(K,A);else{let C=Ye(s);m=Oe(K,C)}if(m){let C=ot,n=new $e(m),o=d&&C[d]?.Custody&&be[d]?.rpcUrls?.length>0?d:8453,x=be[o]?.rpcUrls[0],p=n.setProvider(new je(x)),v=new dt(p,C[o].Custody);if(v)return await v.promptSignatures(t).then(async y=>{if(y?.status===0&&y?.response?.result?.logs){let k=new ci,h=y?.response?.result?.logs?.filter(P=>P?.address?.toLowerCase()===C[o].Custody?.toLowerCase()&&P?.topics?.map(E=>E?.toLowerCase())?.includes(Rt?.toLowerCase())),f=h[0]?.data,g=k.decode(["bytes32","bytes32","uint256"],f)?.map((P,E)=>E<2?P:Number(P)).flat(),c=g[g?.length-1];return await e(L,a,i,Number(c),Number(h?.length)),!0}else return!1}).catch(y=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while initiating vault recovery",y),!1))}},hn=async(e,t,i,a,s,K,L,d,A,m,C,n,o)=>{let x;if(o)x=await Re(L,o);else{let p=Ye(K);x=Oe(L,p)}if(x){let p=ot,v=new $e(x),y=n&&p[n]?.Custody&&be[n]?.rpcUrls?.length>0?n:8453,k=be[y]?.rpcUrls[0],h=v.setProvider(new je(k)),f=new dt(h,p[y].Custody);if(f)return await f.signTransaction(A,i,C).then(async g=>g?.status===0?(await e(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d)?"email":"sms",d,s),await f.checkQuorum(A,C).then(async c=>c?.status===0&&c?.response?.result?(c?.response?.result[0]===!0&&await t(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d)?"email":"sms",d,Number(C)),!0):!1)):!1).catch(g=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while signing vault recovery",g),!1))}},Kn=async(e,t,i,a,s,K,L,d,A,m,C)=>{let n;if(C)n=await Re(L,C);else{let o=Ye(K);n=Oe(L,o)}if(n){let o=ot,x=new $e(n),p=m&&o[m]?.Custody&&be[m]?.rpcUrls?.length>0?m:8453,v=be[p]?.rpcUrls[0],y=x.setProvider(new je(v)),k=new dt(y,o[p].Custody);return k?await k.checkQuorum(i,d).then(async h=>h?.status===0&&h?.response?.result&&h?.response?.result[0]===!0?await k.getShards(i,d).then(async f=>{if(f?.status===0&&f?.response?.result){let g=f?.response?.result.filter(c=>c!=="");if(g.length>1){let c=C?"":Ye(K),E=(await Promise.all(g.map(q=>C?Re(q,C):Oe(q,c)))).map(q=>new Uint8Array(q.split(",").map(Number))),j=await ui(E),oe=new TextDecoder().decode(j);if(oe){let q=C?"":Ye(K),Q=C?await Je(oe,C,K):He(oe,q),te=new $e(oe),W=await te.getAddress(),z=te.setProvider(new je(v)),ie=[gi,Ci,pi,ki,hi,mi].find(B=>Number(B?.id)===Number(p)),se=await ft(ie,Ki(),z);return!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:se,regAddress:W,vaultId:s,hashedVaultId:i,pk:Q,channel:A})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({address:se,regAddress:W,vaultId:s,hashedVaultId:i,pk:Q,channel:A})):e&&t&&await t.setItem("myVault",JSON.stringify({address:se,regAddress:W,vaultId:s,hashedVaultId:i,pk:Q,channel:A})),!0}}else return!1}else return!1}).catch(f=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",f),!1)):!1).catch(h=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",h),!1)):!1}};var vi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n}=e.platform,[o,x]=qe(e.fontsLoaded||!1),p=yi([]),[v,y]=qe(!1),[k,h]=qe(60),[f,g]=qe(["","","",""]),[c,P]=qe(!1),[E,j]=qe(""),{pk:oe,vaultContract:q,address:Q}=Se();yn(()=>{let B=async()=>{if(t)m&&await ve(m),x(!0);else{let $=ye(document);x($)}};e.fontsLoaded||B()},[]),yn(()=>{if(k===0)return;let B=setInterval(()=>h($=>$-1),1e3);return()=>clearInterval(B)},[k]);let te=(B,$)=>{if(B?.length>1){let M=B.replace(/\D/g,""),ue=[...f],b=0;for(let G=$;G<f.length&&b<M.length;G++)ue[G]=M[b],b++;g(ue);let fe=$+M.length;fe<f.length&&p.current[fe]&&p.current[fe].focus(),P(!1)}else{let M=B.replace(/\D/g,""),ue=[...f];ue[$]=M,g(ue),M&&p.current[$+1]&&p.current[$+1].focus(),P(!1)}},W=(B,$,M)=>{M.nativeEvent.key==="Backspace"&&!f[$]&&$>0&&p.current[$-1]&&p.current[$-1].focus()},H=f.every(B=>B.length>0),z=()=>e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,ie=async()=>{if(!H||!e.helperFunctions){P(!0),j("Please enter the complete OTP.");return}let B=z(),$=f.join("");if(!(!e.noContract&&!oe||!e.noContract&&!q)){e.setIsLoading(!0);try{if(!await e.helperFunctions.checkOTPVerification(Q,B,$)){e.setIsLoading(!1),P(!0);return}let ue=ee(B),b=!1;if(!e.noContract&&q&&(b=await gn(q,ue),b===null)){e.setIsLoading(!1),j("Unexpected error. Try again later."),P(!0);return}e.setIsExistingUser?.(b),e.setIsLoading(!1),e.setStep("4")}catch(M){e.setIsLoading(!1),j("Error verifying OTP. Try again."),P(!0),console.error("error: ",M)}}},se=async()=>{if(!e.helperFunctions){j("Helper functions missing."),P(!0);return}let B=z(),$=e.userEmail?"email":"sms";e.setIsLoading(!0);let M=await e.helperFunctions.sendOTPVerification(Q,$,B);e.setIsLoading(!1),M?(g(["","","",""]),h(60),P(!1),j("")):_e("OTP resend failed","Please try again later.")};return F.createElement(K,null,o&&F.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},F.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},F.createElement(xe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),F.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},F.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Enter OTP"),F.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},F.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Enter"," ",F.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",":"),F.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},F.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt&&F.createElement(F.Fragment,null,F.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`(+${e.selectedCountry.area}) `),F.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[0]," "),F.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[1])),e.userEmail&&F.createElement(a,null,e.userEmail)),F.createElement(d,{style:{background:"transparent",width:20,height:20},onPress:()=>{e.setUserNumberFmt(""),e.setUserEmail(""),e.setStep("2")}},F.createElement(s,{source:{uri:N.editBlue},alt:"Edit",style:t?{...n.verifiedCustdMdlStOtpIcon,width:20,height:20}:{},className:"verified-custd-mdl-st-otp-icon"}))))),F.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},F.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},f.map((B,$)=>F.createElement(L,{key:$,ref:M=>p.current[$]=M,value:f[$],onChangeText:M=>te(M,$),onKeyPress:M=>W(M,$,M),keyboardType:"number-pad",maxLength:1,style:t&&c?{...n.verifiedCustdMdlOtpInputRed}:t&&!c?{...n.verifiedCustdMdlOtpInput}:{},className:c?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input"}))),F.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!c&&k>5&&E===""&&F.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimerText}:{},className:"verified-custd-mdl-otp-timer-text"},F.createElement(a,{style:{color:"#717286",fontWeight:"400"}},"00:"),k),!c&&k<=5&&k>0&&E===""&&F.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimerTextRed}:{},className:"verified-custd-mdl-otp-timer-text-red"},F.createElement(a,{style:{fontWeight:"400"}},"00:"),k),!c&&k===0&&E===""&&F.createElement(a,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Didn't receive an OTP ?"),c&&E===""&&F.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct OTP"),c&&E?.length>0&&F.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},E),!c&&k>0&&E===""&&F.createElement(a,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Resend OTP"),!c&&k===0&&E===""||c&&E===""?F.createElement(d,{style:{background:"transparent"},onPress:async()=>{g(["","","",""]),await se()}},F.createElement(a,{style:t?{...n.verifiedCustdMdlOtpResendTextActive}:{},className:"verified-custd-mdl-otp-resend-text-active"},"Resend OTP")):null)),!v&&F.createElement(i,{style:{height:"100px"}}),F.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},F.createElement(d,{className:H&&!c?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:ie,disabled:!H||c,style:H&&!c?{...n.verifiedCustdMdlStartupButtonActive}:{...n.verifiedCustdMdlStartupButton}},F.createElement(a,null,"Proceed"))))),!o&&F.createElement(a,null,"Loading Module Fonts..."))},It=vi;import l,{useEffect as Li,useRef as vn,useState as Ae}from"react";import Ee,{useEffect as Ai}from"react";var Pi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n,EventEmitter:o}=e.platform;Ai(()=>{let y;return e.showButton||(y=setTimeout(()=>{if(e.messageTosend)try{let k=t?null:window;if(!t&&chrome?.runtime?.sendMessage)chrome.runtime.sendMessage(e.messageTosend,h=>{h&&e.action!=="signRecovery"&&k?.close()});else if(!t&&!chrome?.runtime?.sendMessage){let h=new CustomEvent(e.messageTosend?.type,{detail:{value:e.messageTosend?.value}});k?.dispatchEvent(h)}else t&&o&&new o().emit(e.messageTosend?.type,{value:e.messageTosend?.value})}catch(k){process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error sending message: ",k)}e.setStep&&e.stepToSet&&e.setStep(e.stepToSet)},e.timeoutTime??3e3)),()=>{y&&clearTimeout(y)}},[]);let x=()=>{e.setStep?.("6")},p=()=>{!t&&chrome.runtime&&chrome.runtime.sendMessage({type:"VW_REQ",params:{method:"closePopup"}})},v=()=>{e.setShowDasboard?.(!0)};return Ee.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"},Ee.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContent}:{},className:"verified-custd-mdl-success-popup-content"},Ee.createElement(s,{style:{width:"90%"},source:{uri:N.successIcon},alt:"Success Icon"}),Ee.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContentText}:{},className:"verified-custd-mdl-success-popup-content-text"},Ee.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContentTextHeader}:{},className:"verified-custd-mdl-success-popup-content-text-header"},e?.showButton?e.actionHeaderText:e.customTextHeader),Ee.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&&Ee.createElement(d,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginTop:10}:{marginTop:10},onPress:()=>{e.action==="invitation"?x():e.action==="completeRecovery"?v():e.buttonFunc?.()},className:"verified-custd-mdl-startup-button-active"},Ee.createElement(a,{style:{fontSize:14}},e.buttonText)),e.showButton&&e.buttonNeutText?.length>0&&Ee.createElement(d,{onPress:()=>{e.action==="invitation"?p():e.buttonNeutFunc?.()},className:"verified-custd-mdl-startup-button-click",style:t?{...n.verifiedCustdMdlStartupButtonClick,marginTop:10}:{marginTop:10}},Ee.createElement(a,{style:{fontSize:14}},e.buttonNeutText)))},Xe=Pi;var bi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,EventEmitter:n,styles:o,rnPasskey:x}=e.platform,[p,v]=Ae(e.fontsLoaded||!1),[y,k]=Ae(!0),[h,f]=Ae(!1),[g,c]=Ae(""),[P,E]=Ae(!1),[j,oe]=Ae(!1),[q,Q]=Ae(!1),[te,W]=Ae(!1),[H,z]=Ae(""),[ie,se]=Ae(""),[B,$]=Ae(null),[M,ue]=Ae(!1),[b,fe]=Ae(!1),{address:G,pk:I,vaultContract:D,setVaultData:Me,setChainId:we,vaultData:Z}=Se(),[ae,de]=Ae(["","","",""]),[R,pe]=Ae(["","","",""]),ce=vn([]),O=vn([]);Li(()=>{let Y=async()=>{if(t)m&&await ve(m),v(!0);else{let S=ye(document);v(S)}};e.fontsLoaded||Y()},[]);let V=(Y,S,J)=>{f(!1),c("");let Le=Y.replace(/\D/g,""),X=J?[...R]:[...ae];X[S]=Le,J?(pe(X),Le&&O.current[S+1]&&O.current[S+1].focus(),S<3&&X.every(w=>w!=="")&&ae.every(w=>w!=="")&&X.join("")!==ae.join("")&&(f(!0),c("Confirm Pin must match New Pin.")),S===3&&ae.join("")!==X.join("")&&(f(!0),c("Confirm Pin must match New Pin."))):(de(X),Le&&ce.current[S+1]&&ce.current[S+1].focus(),R.every(w=>w!=="")&&X.join("")!==R.join("")&&(f(!0),c("New Pin must match Confirm Pin.")))},T=async()=>{c(""),f(!1);try{let Y=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,S=t?x.create(Vt("Verified Wallet",Y,ee(Y))):await navigator?.credentials?.create({publicKey:Vt("Verified Wallet",Y,ee(Y))}),J=Be(S?.rawId);return{pinString:S?.id,hashed:J,rawId:S?.rawId}}catch(Y){return c(`Passkey creation failed: ${Y?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),f(!0),null}},Te=async()=>{c(""),f(!1);try{let Y=t?await x.get(Qe()):await navigator.credentials.get({publicKey:Qe()}),S=Be(Y?.rawId);return{pinString:Y?.id,hashed:S,rawId:Y?.rawId}}catch(Y){c(`Passkey authentication failed: ${Y?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),f(!0)}},ge=(Y,S,J,Le)=>{let X=J.nativeEvent.key;!Le&&X==="Backspace"&&!ae[S]&&S>0&&ce.current[S-1]&&ce.current[S-1].focus(),Le&&X==="Backspace"&&!R[S]&&S>0&&O.current[S-1]&&O.current[S-1].focus()},Ne=()=>b?e.isExistingUser?ae.every(Y=>Y!==""):ae.every(Y=>Y!=="")&&R.every(Y=>Y!==""&&ae.join("")===R.join("")):!0,ze=async Y=>{if(!e.helperFunctions)c("No Helper Functions. Please include all helper functions in the CreatePinPage props."),f(!0);else{c(""),f(!1);let S=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,J=e.userEmail?.length>0?"email":"sms";if(!e.isExistingUser&&Ne()&&S&&J&&I&&G&&D||!e.isExistingUser&&Ne()&&S&&J&&e.vaultData?.vaultContract&&e.vaultData?.hashedOldPin||e.isExistingUser&&Ne()&&S&&J&&I&&G&&D||e.isExistingUser&&Ne()&&S&&J&&e.vaultData?.vaultContract&&e.vaultData?.hashedOldPin){e.setIsLoading(!0);let Le=Y?.pinString||ae.join(""),X=ee(S),w=Y?.hashed||ee(Le);await mn(t,C,n,S,X,Le,w,J,I||e.vaultData?.pk,G||e.vaultData?.address,D||e.vaultData?.vaultContract,e.action,e.vaultData,e.txData,Y?.rawId).then(async _=>{e.setIsLoading(!1),_?(Me(_?.shouldStop&&_?.vaultId?{vaultId:_?.vaultId,hashedVaultId:_?.hashedVaultId,pk:_?.pk,rawId:_?.rawId,channel:_?.channel}:_?.shouldStop?{}:_),c(""),f(!1),e.action==="invitation"?(se(Le),$(Y?.rawId),oe(!0)):e.action==="reset-pin"?(!t&&chrome?.storage?.local?chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&C&&await C.removeItem("myVault"),z(`You have successfully reset your account ${b?"4-Digits PIN":"Passkey"}. Login with the new ${b?"4-Digits PIN":"Passkey"}`),E(!0)):_?.shouldStop?_?.shouldStop&&e.action!=="getPk"?(z(""),E(!0)):_?.shouldStop&&e.action==="getPk"&&e.setStep("0"):e.setStep("5")):_===null?e.action==="reset-pin"?(c("Reset pin failed. Try again later."),f(!0)):(c(`You are an existing user. Please use the right ${b?"existing 4-Digits PIN":"existing Passkey for "+S} to recover your account login access on this device/browser`),f(!0)):(c("Unexpected error while creating account. Please try again later."),f(!0))})}else Ne()||(c(e.isExistingUser?"Enter full pin.":"New Pin must match Confirm Pin."),f(!0))}},ct=async Y=>{let S=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,J=e.userEmail?.length>0?"email":"sms";if(ie?.length===4&&e?.vaultData?.hashedVaultId&&e.vaultData?.hashedVaultPin&&S){e.setIsLoading(!0);let Le=ee(S),X=b?ee(ie):Be(B);await Ct(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,J,Le,X,e?.vaultData?.hashedVaultId,e.vaultData?.hashedVaultPin,e.vaultData?.vaultId,S,Y,D).then(w=>{e.setIsLoading(!1),w&&!Z?.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(Y?`You have been added as a Co-Signer for ${e.vaultData?.vaultId}`:`You rejected Co-signer reject from ${e.vaultData?.vaultId}`),e.setStep("5")):w&&Z?.isExisting&&Q(!0)})}};return l.createElement(K,{contentContainerStyle:{flexGrow:1,padding:16,backgroundColor:"#fff"}},p&&l.createElement(l.Fragment,null,!P&&!j&&l.createElement(i,{style:t?{...o.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},l.createElement(i,{style:t?{...o.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},l.createElement(xe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),l.createElement(i,{style:t?{...o.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},!e.isExistingUser&&l.createElement(a,{style:t?{...o.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},b?"Create PIN":"Secure Your Account with a Passkey"),e.isExistingUser&&l.createElement(a,{style:t?{...o.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},b?"Enter PIN":"Sign-in with Existing Passkey"),l.createElement(i,{style:t?{...o.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!e.isExistingUser&&l.createElement(a,{style:t?{...o.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Protect your blockchain assets with"," ",b?"PIN":"Passkey",". This"," ",b?"PIN":"Passkey"," will be required for all future transactions and logins."),e.isExistingUser&&l.createElement(a,{style:t?{...o.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",l.createElement(a,{style:{color:"#0C0C0E"}},b?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",l.createElement(a,{style:{color:"#0C0C0E"}},e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)," ","account."))),!b&&l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreTitle,fontSize:ne(t,"14px")}:{fontSize:ne(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(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."),l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(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."),l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(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&&l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(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&&l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(t,"12px")},className:"verified-custd-mdl-add-cosigner-more-label"},`Click "Login With Passkey" button, passkey popup will appears to login using the accoun't passkey.`),l.createElement(d,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey"))),b&&l.createElement(l.Fragment,null,l.createElement(i,{style:t?{...o.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},!e.isExistingUser&&l.createElement(a,{style:t?{...o.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"New PIN"),l.createElement(i,{style:t?{...o.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},ae.map((Y,S)=>l.createElement(L,{key:`pin-${S}`,style:t&&h?{...o.verifiedCustdMdlOtpInputRed}:t&&h?{...o.verifiedCustdMdlOtpInput}:{},className:h?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:y,keyboardType:"number-pad",maxLength:1,ref:J=>ce.current[S]=J,value:ae[S],onChangeText:J=>V(J,S,!1),onKeyPress:J=>ge(J,S,J,!1)}))),e.isExistingUser&&l.createElement(i,{style:t?{...o.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!h&&l.createElement(a,null),h&&g===""&&l.createElement(a,{style:t?{...o.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),h&&g?.length>0&&l.createElement(a,{style:t?{...o.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},g),!y&&l.createElement(d,{style:{background:"transparent",width:24,height:24},onPress:()=>k(!0)},l.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:N.pinShow}})),y&&l.createElement(d,{style:{background:"transparent",width:24,height:24},onPress:()=>k(!1)},l.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:N.pinHide}})))),!e.isExistingUser&&l.createElement(i,{style:t?{...o.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},l.createElement(a,{style:t?{...o.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"Confirm PIN"),l.createElement(i,{style:t?{...o.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},R.map((Y,S)=>l.createElement(L,{key:`confirm-${S}`,style:t&&h?{...o.verifiedCustdMdlOtpInputRed}:t&&!h?{...o.verifiedCustdMdlOtpInput}:{},className:h?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:y,keyboardType:"number-pad",maxLength:1,ref:J=>O.current[S]=J,value:R[S],onChangeText:J=>V(J,S,!0),onKeyPress:J=>ge(J,S,J,!0)}))),l.createElement(i,{style:t?{...o.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!h&&l.createElement(a,null),h&&g===""&&l.createElement(a,{style:t?{...o.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),h&&g?.length>0&&l.createElement(a,{style:t?{...o.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},g),!y&&l.createElement(d,{style:{background:"transparent",width:24,height:24},onPress:()=>k(!0)},l.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:N.pinShow}})),y&&l.createElement(d,{style:{background:"transparent",width:24,height:24},onPress:()=>k(!1)},l.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:N.pinHide}})))))),!M&&l.createElement(i,{style:{height:20}}),l.createElement(i,{style:t?{...o.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},l.createElement(i,{style:t?{...o.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},!b&&l.createElement(l.Fragment,null,h&&g?.length>0&&l.createElement(a,{style:t?{...o.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},g),e.isExistingUser&&l.createElement(d,{id:"verified-custd-mdl-otp-button",style:t?{...o.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async Y=>{let S=await Te();S&&await ze(S)}},l.createElement(a,null,"Login With Passkey")),!e.isExistingUser&&l.createElement(d,{id:"verified-custd-mdl-otp-button",style:t?{...o.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async Y=>{let S=await T();S&&await ze(S)}},l.createElement(a,null,"Create New Passkey"))),b&&l.createElement(d,{id:"verified-custd-mdl-otp-button",style:t&&Ne()?{...o.verifiedCustdMdlStartupButtonActive}:t&&!Ne()?{...o.verifiedCustdMdlStartupButton}:{},className:Ne()?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:async Y=>{await ze()}},l.createElement(a,null,"Proceed"))))),!P&&j&&l.createElement(l.Fragment,null,!q&&l.createElement(i,{className:"verified-custd-mdl-startup-language",style:t?{...o.verifiedCustdMdlStartupLanguage,padding:0,position:"relative"}:{padding:0,position:"relative"}},l.createElement(i,{style:t?{...o.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},l.createElement(xe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),l.createElement(i,{style:t?{...o.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},l.createElement(a,{style:t?{...o.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},l.createElement(a,{style:{fontWeight:"bold"}},e.vaultData?.vaultId)," ","has requested you to be a Co-Signer"))),l.createElement(s,{style:t?{...o.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:N.addCoSignerIcon1}}),!te&&l.createElement(K,null,l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),l.createElement(a,{className:"verified-custd-mdl-add-cosigner-more-label",style:t?{...o.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."),l.createElement(i,{className:"verified-custd-mdl-add-cosigner-body-text-cont"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},l.createElement(s,{source:{uri:N.pkicon}})),l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},l.createElement(s,{source:{uri:N.encryptedIcon}})),l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"will not get access")," ","to your account in any way."))),l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},l.createElement(d,{style:t?{...o.verifiedCustdMdlAddCosignerButtonNeut}:{},className:"verified-custd-mdl-add-cosigner-button-neut",onPress:()=>W(!0)},l.createElement(a,null,"Reject")),l.createElement(d,{style:t?{...o.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await ct(!0)}},l.createElement(a,null,"Accept")))),te&&l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},l.createElement(a,{style:t?{...o.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),l.createElement(a,{style:t?{...o.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"," ",l.createElement(a,{style:{fontWeight:"bold"}},e.vaultData?.vaultId),", you will not be able to reset the PIN for them.")),l.createElement(i,{style:t?{...o.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},l.createElement(d,{style:t?{...o.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await ct(!1)}},l.createElement(a,null,"Yes")),l.createElement(d,{style:t?{...o.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:()=>W(!1)},l.createElement(a,null,"No"))))))),q&&l.createElement(Xe,{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}`})),P&&l.createElement(Xe,{platform:e.platform,messageTosend:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:H?.length>0?H:"You have successfully logged in your account."})),!p&&l.createElement(a,null,"Loading Module Fonts..."))},st=bi;import r,{useEffect as _i,useState as Ce}from"react";var xi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n}=e.platform,[o,x]=Ce(e.fontsLoaded||!1),[p,v]=Ce(!1),[y,k]=Ce("1"),[h,f]=Ce("1"),[g,c]=Ce(!1),[P,E]=Ce("email"),[j,oe]=Ce(""),[q,Q]=Ce(""),[te,W]=Ce(""),[H,z]=Ce(""),[ie,se]=Ce(""),[B,$]=Ce(!1),[M,ue]=Ce(e.defaultCountry||{area:"1",flag:N.usaFlag,name:"United States"}),[b,fe]=Ce([]),[G,I]=Ce(!1),[D,Me]=Ce(2),[we,Z]=Ce(""),{pk:ae,vaultData:de,vaultContract:R}=Se();_i(()=>{let V=async()=>{if(t)try{let T=await ve(m);x(!0)}catch{x(!1)}else{let T=ye(document);x(T)}};e.fontsLoaded||V()},[]);let pe=()=>{},ce=()=>{if(P==="sms"&&j?.length===0){Z("Invalid input, please check the phone number");return}else if(P==="sms"&&j?.length!==10){Z("Invalid input, please check the phone number");return}else if(P==="email"&&te?.length===0){Z("Invalid input, please check the email");return}else if(P==="email"&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(te)){Z("Invalid input, please check the email");return}else if(b?.find(T=>T?.otpChannel==="sms"?T?.phoneArea?.toLowerCase()+T?.number?.toLowerCase()===M.area?.toLowerCase()+q?.toLowerCase():T?.email?.toLowerCase()===te?.toLowerCase())){Z(P==="sms"?"Invalid input, phone number is already a co-signer":"Invalid input, email is already a co-signer");return}else if(P==="sms"&&M?.area?.toLowerCase()+q?.toLowerCase()===e.selectedCountry.area?.toLowerCase()+e.userNumberFmt?.toLowerCase()){Z("Invalid input, phone number is creator's phone number");return}else if(P==="email"&&te?.toLowerCase()===e.userEmail?.toLowerCase()){Z("Invalid input, email is creator's email");return}Z("");let V=b?.length;fe(T=>[{name:H,email:te,number:q,phoneNumber:`+${M?.area}${j}`,otpChannel:P,phoneArea:M?.area,position:T?.length+1,vaultId:P==="sms"?`+${M?.area}${j}`:te},...T]),W(""),z(""),oe(""),Q(""),se(""),V+1===4&&c(!1)},O=async()=>{let V=[{otpChannel:e?.userEmail?.length>0?"email":"sms",email:e?.userEmail,phoneNumber:`+${e?.selectedCountry?.area}${e?.userNumberFmt?.replace(" ","")}`,vaultId:de?.vaultId},...b];V?.length>0&&b?.length>0&&D&&de?.vaultId&&de?.hashedVaultId&&de?.vaultPin&&de?.hashedVaultPin&&R&&ae&&e.helperFunctions?.sendCoSignerInvitation&&e.helperFunctions?.sendCreatorConfirmation&&(e.setIsLoading(!0),await Cn(e.helperFunctions.sendCoSignerInvitation,e.helperFunctions.sendCreatorConfirmation,V,b,e?.userEmail?.length>0?"email":"sms",D,de.vaultId,de.hashedVaultId,de.vaultPin,de.hashedVaultPin,R,ae,de?.rawId).then(T=>{e.setIsLoading(!1),T&&e.setStep("7")}))};return r.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"0"}:{padding:"0"},className:"verified-custd-mdl-startup-language"},o&&r.createElement(r.Fragment,null,!p&&r.createElement(r.Fragment,null,h==="1"&&r.createElement(r.Fragment,null,r.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},r.createElement(xe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),r.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},r.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"We require you to add at least another Co-Signer."))),r.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:N.addCoSignerIcon1},alt:""}),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBody}:{},className:"verified-custd-mdl-add-cosigner-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},r.createElement(s,{source:{uri:N.pkicon},alt:"icon"})),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"This is a blockchain based platform where"," ",r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"we do not store password keys."))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},r.createElement(s,{source:{uri:N.encryptedIcon},alt:"icon"})),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, the"," ",r.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.")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},r.createElement(s,{source:{uri:N.supervise},alt:"icon"})),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"You can"," ",r.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."))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},onPress:()=>{k("1"),v(!0)},className:"verified-custd-mdl-add-cosigner-button-neut"},r.createElement(a,null,"Learn More")),r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,width:"50%"}:{width:"50%"},onPress:()=>{f("2"),c(!1),v(!1)},className:"verified-custd-mdl-add-cosigner-button-action"},r.createElement(a,null,"Add Co-Signer")))),h==="2"&&r.createElement(r.Fragment,null," ",r.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},r.createElement(xe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),r.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent,gap:16}:{gap:16},className:"verified-custd-mdl-startup-contact-content"},r.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Add your Co-Signers"),r.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!G&&r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderText}:{},className:"verified-custd-mdl-add-cosigner-header-text"},"Add a phone number/an Email ID of Co-Signer to send them a request."),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoCont}:{},className:"verified-custd-mdl-add-cosigner-header-info-cont"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoText}:{},className:"verified-custd-mdl-add-cosigner-header-info-text"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoTextBold}:{},className:"verified-custd-mdl-add-cosigner-header-info-text-bold"},"NOTE:")," ","You can add yourself as a Co-Signer and further add more Co-Signers to your account."))))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2Body}:{},className:"verified-custd-mdl-add-cosigner-step2-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderFirstText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-first-text"},"Add Co-Signers"),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-second-text"},"(",b?.length+1<5?b?.length+1:5,"/5)")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContent}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},"Creator")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},"You"),e.userEmail?.length>0&&r.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},e.userEmail),e.userEmail?.length===0&&r.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",e.selectedCountry.area,")"," ",e.userNumberFmt))))),!G&&b.sort((V,T)=>V?.position-T?.position).map((V,T)=>r.createElement(i,{key:T,style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},et[V?.position]?.split(" ")[0],r.createElement(a,null,r.createElement(a,{style:{fontSize:10}},et[V?.position]?.split(" ")[1]))," ","Co-Signer")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},V?.name),V.otpChannel==="email"&&r.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},V.email),V.otpChannel==="sms"&&r.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",V?.phoneArea,") ",V.number))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderIcons,flexDirection:"row"}:{flexDirection:"row"},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-icons"},r.createElement(d,{style:{background:"transparent",width:24,height:24},onPress:()=>{fe(Te=>Te?.filter(ge=>ge?.otpChannel==="sms"?ge?.phoneArea?.toLowerCase()+ge?.number?.toLowerCase()!==V?.phoneArea?.toLowerCase()+V?.number?.toLowerCase():ge?.email?.toLowerCase()!==V?.email?.toLowerCase())?.map((ge,Ne)=>(ge.position=Ne+1,ge))),pe()}},r.createElement(s,{style:{cursor:"pointer",width:24,height:24},source:{uri:N.delete}}))))))),G&&r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},r.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"),r.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.")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooter,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-add-cosigner-confirm-body-footer"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-cont"},new Array(b?.length+1).fill("1").map((V,T)=>r.createElement(i,{key:T,className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind",style:T+1===D&&t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd}:T+1===D&&!t?{}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd,height:0,width:0,overflow:"hidden"}:{height:0,width:0,overflow:"hidden"}},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text-cont"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndText}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text"},String(T+1))),r.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-icon",source:{uri:N.pointer}})))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSlider}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider"},r.createElement(i,{style:t&&b?.length===1?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/b?.length}%`}:!t&&b?.length===1?{width:`${100/b?.length}%`}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/b?.length+5}%`}:{width:`calc(${100/b?.length}% + 12px)`},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind"},r.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon",source:{uri:N.sliderDot}})))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text-cont"},new Array(b?.length+1).fill("1").map((V,T)=>r.createElement(d,{style:{background:"transparent"},key:T,onPress:()=>{T+1>1&&Me(T+1)}},r.createElement(a,{style:t&&T===b?.length?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingRight:12}:t&&T===0?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingLeft:12}:!t&&T===0?{paddingLeft:12}:!t&&T===b?.length?{paddingRight:12}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text"},String(T+1))))))),r.createElement(d,{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 O()}},r.createElement(a,null,"Confirm"))))),g&&b?.length<4&&r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreBody,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-step2-add-more-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirst}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeaderText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header-text"},"Add Details")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooter}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooterText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer-text"},et[b?.length+1]?.split(" ")[0],r.createElement(a,{style:{fontSize:10}},et[b?.length+1]?.split(" ")[1])," ","Co-Signer"))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecond}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-second"},r.createElement(L,{onChangeText:z,value:H,placeholder:"Enter Co-signer name",placeholderTextColor:"#B6B7C3",className:"verified-custd-mdl-add-cosigner-step2-add-more-second-input",style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecondInput}:{}})),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},e.enablePhone&&r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{E("sms"),Z(""),W("")}},r.createElement(s,{source:{uri:P==="sms"?N.selectClicked:N.select},style:{width:24,height:24}}),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Phone number")),r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{E("email"),Z(""),oe(""),Q(""),se("")}},r.createElement(s,{source:{uri:P==="email"?N.selectClicked:N.select},style:{width:24,height:24}}),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Email"))),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},P==="sms"&&r.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},r.createElement(i,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},r.createElement(d,{onPress:()=>$(!B),style:t?{...n.verifiedCustdMdlStContactFirstSection,flexDirection:"row",alignItems:"center"}:{flexDirection:"row",alignItems:"center"},className:"verified-custd-mdl-st-contact-first-section"},r.createElement(s,{source:{uri:M.flag},style:{width:24,height:16},alt:"Country Flag"}),r.createElement(a,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",M.area),B?r.createElement(s,{source:{uri:N.arrowUp},style:{width:16,height:16},alt:"Dropdown Icon"}):r.createElement(s,{source:{uri:N.arrowDown},style:{width:16,height:16},alt:"Dropdown Icon"})),r.createElement(L,{onChangeText:V=>{se(V===""?ie+" ":V);let T=V.replace(/\D/g,"");oe(T);let Te="";for(let ge=0;ge<T.length;ge++)Te+=T[ge],(ge+1)%5===0&&ge+1<T.length&&(Te+=" ");Q(Te),Z("")},onBlur:pe,value:q,placeholder:"Enter phone number",placeholderTextColor:"#b6b7c3",keyboardType:"phone-pad",className:"verified-custd-mdl-st-contact-second-section",style:t?{...n.verifiedCustdMdlStContactSecondSection}:{}})),B&&r.createElement(pt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:pe,setSelected:ue,selected:M,searchActive:B,setSearchActive:$,contentMaxHeight:300,contentbottomMargin:300}),we===""&&j.length!==10&&ie.length>10&&r.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},r.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check the phone number")),we!==""&&r.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},r.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},we))),P==="email"&&r.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInput,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-st-contact-input"},r.createElement(L,{style:t?{...n.verifiedCustdMdlStContactSecondSection,width:"100%"}:{width:"100%"},onChangeText:V=>{W(V),Z("")},onBlur:pe,value:te,placeholder:"Enter email",placeholderTextColor:"#b6b7c3",keyboardType:"email-address",autoCapitalize:"none",className:"verified-custd-mdl-st-contact-second-section"}),we!==""&&r.createElement(i,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},r.createElement(a,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},we)))),r.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"},r.createElement(d,{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:()=>c(!1)},r.createElement(a,null,"Cancel")),r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtonsAction,flex:1,marginLeft:8}:{flex:1,marginLeft:8},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons-action",onPress:()=>{ce(),pe()}},r.createElement(a,null,"Add")))),!g&&!G&&b?.length<4&&r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooter,background:"transparent",width:20,height:20}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer",onPress:()=>c(!0)},r.createElement(s,{source:{uri:N.addIcon},style:{width:20,height:20}}),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-text"},"Add another Co-Signer")),!g&&!G&&b?.length===4&&r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterDis}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-dis"},r.createElement(s,{source:{uri:N.addDisableIcon},style:{width:20,height:20}}),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterTextDis}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-text-dis"},"Add another Co-Signer")))),!G&&r.createElement(d,{className:b?.length>0?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",style:t&&b?.length>0?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px",width:"100%"}:t&&b?.length===0?{...n.verifiedCustdMdlStartupButton,marginBottom:"20px",width:"100%"}:t&&b?.length>0&&!g&&b?.length<4?{...n.verifiedCustdMdlStartupButtonActive,marginTop:"50px",marginBottom:"20px",width:"100%"}:t&&b?.length===0&&!g&&b?.length<4?{...n.verifiedCustdMdlStartupButton,marginTop:"50px",marginBottom:"20px",width:"100%"}:!g&&b?.length<4?{marginTop:"50px",marginBottom:"20px",width:"100%"}:{marginBottom:"20px",width:"100%"},onPress:()=>{b?.length>0&&(Me(2),I(!0),c(!1))}},r.createElement(a,{style:n.buttonText},"Proceed")))),p&&r.createElement(r.Fragment,null,y==="1"&&r.createElement(r.Fragment,null,r.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:N.addCoSignerIcon2},alt:""}),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),r.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.")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>v(!1),className:"verified-custd-mdl-add-cosigner-button-neut"},r.createElement(a,null,"Back")),r.createElement(d,{onPress:()=>k("2"),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},r.createElement(a,null,"Next")))),y==="2"&&r.createElement(r.Fragment,null,r.createElement(s,{className:"verified-custd-mdl-add-cosigner-body-icon",style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},source:{uri:N.addCoSignerIcon3},alt:""}),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Why is it needed?"))),r.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")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},r.createElement(d,{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:()=>k("1"),className:"verified-custd-mdl-add-cosigner-button-neut"},r.createElement(a,null,"Back")),r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>k("3"),className:"verified-custd-mdl-add-cosigner-button-action"},r.createElement(a,null,"Next")))),y==="3"&&r.createElement(r.Fragment,null,r.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:N.addCoSignerIcon4},alt:""}),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Who can be my Co-Signer?"))),r.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."),r.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More in Details")),r.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},r.createElement(d,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>k("2"),className:"verified-custd-mdl-add-cosigner-button-neut"},r.createElement(a,null,"Back")),r.createElement(d,{onPress:()=>{f("2"),c(!1),v(!1),k("1")},style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},r.createElement(a,null,"Start")))))),!o&&r.createElement(a,null,"Loading Module Fonts..."))},lt=xi;import u,{useEffect as Ni,useRef as Si,useState as me}from"react";import{ethers as Xi}from"ethers";var wi=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,TextInput:L,TouchableOpacity:d,StyleSheet:A,Font:m,AsyncStorage:C,styles:n,rnPasskey:o}=e.platform,[x,p]=me(e.fontsLoaded||!1),[v,y]=me(!1),[k,h]=me(!0),[f,g]=me(!1),[c,P]=me(!1),[E,j]=me(null),[oe,q]=me(null),[Q,te]=me(e.newChainId||8453),[W,H]=me(!1),[z,ie]=me(!1),[se,B]=me(!1),[$,M]=me(!1),[ue,b]=me(!1),[fe,G]=me(""),[I,D]=me(!1),[Me,we]=me({}),[Z,ae]=me(["","","",""]),de=Si([]),[R,pe]=me(!1),{setChainId:ce,setAddress:O,setPk:V,setProvider:T,setSigner:Te,setVaultContract:ge,setVaultData:Ne}=Se();Ni(()=>{let X=async()=>{if(t)m&&await ve(m),p(!0);else{let w=ye(document);p(w)}};e.fontsLoaded||X()},[]);let ze=(X,w)=>{if(X.length>1){let _=X.replace(/\D/g,""),le=[...Z],Ve=0;for(let Kt=w;Kt<Z.length&&Ve<_.length;Kt++)le[Kt]=_[Ve],Ve++;ae(le);let De=w+_.length;De<Z.length&&de.current[De]&&de.current[De].focus(),y(!1)}else{let _=X.replace(/\D/g,""),le=[...Z];le[w]=_,ae(le),_&&de.current[w+1]&&de.current[w+1].focus(),y(!1)}},ct=(X,w,_)=>{_.nativeEvent.key==="Backspace"&&!Z[w]&&w>0&&de.current[w-1]&&de.current[w-1].focus()},Y=Z.every(X=>X.length>0),S=async X=>{if(!e.helperFunctions)G("No Helper Functions. Please include all helper functions in the EnterPinPage props."),y(!0);else if(G(""),y(!1),R&&Y&&e.hashedVaultId&&e.encrptedPk||!R&&e.hashedVaultId&&e.encrptedPk&&X){e.setIsLoading(!0);let w=X?.pinString?X?.pinString:Z.join("");await pn(e.vaultId,e.hashedVaultId,w,X?.hashed?X?.hashed:ee(w),e.encrptedPk,e.vaultAddress,e.vaultChannel,Number(Q),Ot?.includes(e.origin?.toLowerCase()),null,X?.rawId).then(async _=>{if(_&&!_?.inCompleteVault)e.setIsLoading(!1),j(_),q(_?.pk&&e.action!=="eth_requestAccounts"?{address:_.address,channel:_.channel,chainId:_.chainId,pk:_?.pk}:{address:e.regAddress,channel:_.channel,chainId:_.chainId}),e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await kn(e.helperFunctions.sendCreatorInitiation,e.hashedVaultId,X?.hashed?X?.hashed:ee(w),e.vaultId,w,e.encrptedPk,e.vaultChannel,Number(Q),X?.rawId).then(async le=>{e.setIsLoading(!1),!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&C&&await C.removeItem("myVault"),le?P(!0):(G("Account recovery failed. Verify you don't have pending account recovery process and Try again later"),y(!0))})):e.action==="signRecovery"?(e.setIsLoading(!0),await hn(e.helperFunctions.sendCreatorSigned,e.helperFunctions.sendCreatorCompleted,e.hashedVaultId,X?.hashed?X?.hashed:ee(w),e.vaultId,w,e.encrptedPk,e.reqVaultData?.vaultId,e.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e.reqTxData?.id,Number(Q),X?.rawId).then(async le=>{e.setIsLoading(!1),!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"):t&&C&&await C.removeItem("myVault"),le?P(!0):(G("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."),y(!0))})):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await Kn(t,C,e.hashedVaultId,X?.hashed?X?.hashed:ee(w),e.vaultId,w,e.encrptedPk,e.reqTxData?.id,e.vaultChannel,Number(Q),X?.rawId).then(async le=>{e.setIsLoading(!1),le?P(!0):(!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&C&&await C.removeItem("myVault"),G("Error while restoring login access. Verify all required co-signers had signed our account recovery and try again later."),y(!0))})):e.action==="eth_sendTransaction"&&e.encrptedPk?.length>0&&_?.pin?.length>0&&e.signTxElement?(we({chainId:Q,ky:R?Xi.encodeBytes32String(_?.pin):"",rawId:R?"":X?.rawId,...e.txToSign}),ie(!1),D(!0)):e.action==="invitation"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()&&e.reqVaultData?.coSignerId?.toLowerCase()===e.vaultId?.toLowerCase()?(G(""),y(!1),ie(!0)):e.action==="invitation"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(G(`You cannot accept your own Co-Signer invitation. please logout and login to: ${e.reqVaultData?.coSignerId} account`),y(!0)):e.action==="invitation"&&e.reqVaultData?.coSignerId?.toLowerCase()!==e.vaultId?.toLowerCase()?(G(`You cannot accept this Co-Signer invitation. please logout and login to: ${e.reqVaultData?.coSignerId} account`),y(!0)):e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&C&&await C.removeItem("myVault"),G(`You are not authorized to fetch account details. please logout and login to: ${e.reqVaultData?.vaultId} account`),y(!0)):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&C&&await C.removeItem("myVault"),G(`You are not authorized to restore login access for this account. please logout and login to: ${e.reqVaultData?.vaultId} account`),y(!0)):e.action==="connect_wallet"&&!e?.vaultAddress||e.action==="eth_requestAccounts"&&!e?.vaultAddress?(G("Incomplete account details received. This may be due to incomplete/unexpected error from last login. Please logout and login back to recover account details."),y(!0)):e.action===""&&e.vaultAddress?e.setShowDashboard(!0):e.action===""&&!e.vaultAddress?(G("Incomplete account login detected. Logout and try again later"),y(!0)):(G(""),y(!1),P(!0));else if(_&&_?.inCompleteVault&&_?.pk){let le=await Ue(Number(Q),_?.pk);if(ce(le.chainId),O(le.address),V(le.pk),T(le.provider),Te(le.signer),ge(le.vaultContract),Ne({vaultId:_?.vaultId,hashedVaultId:_?.hashedVaultId,vaultPin:_?.pin,hashedVaultPin:R?ee(_?.pin):Be(_?.rawId),vaultContract:le.vaultContract,rawId:_?.rawId}),_?.channel?.toLowerCase()==="sms"){let Ve=_?.vaultId?.replace(_?.vaultId?.slice(-10),""),De=_?.vaultId?.slice(-10)?.slice(0,5)+" "+_?.vaultId?.slice(-10)?.slice(5);e.setSelectedCountry({area:Ve?.replace("+",""),name:"",flag:""}),e.setUserNumberFmt(De),e.setUserEmail("")}else e.setUserEmail(_?.vaultId),e.setUserNumberFmt("");e.setIsLoading(!1),e.setShowCompleteVault(!0),e.setShowDashboard(!1)}else G(R?"":`Incorrect Passkey. please chose the correct existing passkey for account: ${e.vaultId}`),y(!0),e.setIsLoading(!1)})}else!R&&!X&&(G("Unexpected error with selected passkey. Try again later"),y(!0)),R&&!Y&&(G("Input your 4-Digits PIN to login."),y(!0))},J=async X=>{let w=e.vaultId;if(E?.pin?.length>0&&E?.pk?.length>0&&e?.reqVaultData?.hashedVaultId&&e.reqVaultData?.hashedVaultPin&&w&&e.helperFunctions?.sendCreatorAcceptance&&e.helperFunctions?.sendCreatorRejection){e.setIsLoading(!0);let _=E.pin,le=ee(w),Ve=R?ee(_):Be(E.rawId);await Ct(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,e.vaultChannel,le,Ve,e?.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e?.reqVaultData?.vaultId,w,X,null,E.pk,Number(Q)).then(De=>{e.setIsLoading(!1),De&&(b(X),B(!0))})}},Le=async()=>{G(""),y(!1);try{let X=await navigator.credentials.get({publicKey:Qe()}),w=Be(X?.rawId);return{pinString:X?.id,hashed:w,rawId:X?.rawId}}catch(X){G(`Passkey authentication failed: ${X?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),y(!0)}};return u.createElement(u.Fragment,null,x&&!z&&!I&&u.createElement(u.Fragment,null,!c&&u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px"}:{padding:"20px"},className:"verified-custd-mdl-startup-language"},u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},u.createElement(xe,{platform:e.platform,sliderCount:[1],currentSlider:"0"}),u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContentHeaderCont}:{},className:"verified-custd-mdl-startup-contact-content-heder-cont"},u.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText,alignSelf:"center"}:{alignSelf:"center"},className:"verified-custd-mdl-startup-contact-text"},R?"Enter PIN":"Sign-in with Existing Passkey")),u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},u.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",u.createElement(a,{style:{color:"#0C0C0E"}},R?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",u.createElement(a,{style:{color:"#0C0C0E"}},e.vaultId)," ","account."),u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},e.actionText&&u.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`To ${e.actionText} from origin: ${e.origin||e.title}`)))),R&&u.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},u.createElement(i,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},Z.map((X,w)=>u.createElement(L,{key:w,ref:_=>de.current[w]=_,className:v?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",style:t&&v?{...n.verifiedCustdMdlOtpInputRed}:t&&!v?{...n.verifiedCustdMdlOtpInput}:{},secureTextEntry:k,maxLength:1,value:Z[w],onChangeText:_=>ze(_,w),onKeyPress:_=>ct(_,w,_),keyboardType:"number-pad",id:`verified-custd-mdl-otp-input-${w}`}))),u.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},v&&!fe&&u.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),v&&fe&&u.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},fe),!v&&u.createElement(a,null),k?u.createElement(d,{onPress:()=>h(!1),style:{backgroundColor:"transparent"}},u.createElement(s,{style:{width:24,height:24},source:{uri:N.pinHide}})):u.createElement(d,{onPress:()=>h(!0),style:{backgroundColor:"transparent"}},u.createElement(s,{style:{width:24,height:24},source:{uri:N.pinShow}})))),!R&&u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},u.createElement(i,{className:"verified-custd-mdl-add-cosigner-more-title-cont"},u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle,fontSize:ne(t,"14px")}:{fontSize:ne(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(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."),u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(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."),u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:ne(t,"12px")}:{fontSize:ne(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.'),u.createElement(d,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey")))),!f&&u.createElement(i,{style:{height:20}}),u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},u.createElement(i,{style:t?{...n.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},u.createElement(fn,{platform:e.platform,setisOnboard:e.setisOnboard,setIsLoading:e.setIsLoading}),R&&u.createElement(d,{onPress:async()=>await S(),style:t&&Y&&!v?{...n.verifiedCustdMdlStartupButtonActive}:t&&Y&&v?{...n.verifiedCustdMdlStartupButton}:t&&!Y&&!v?{...n.verifiedCustdMdlStartupButton}:t&&!Y&&v?{...n.verifiedCustdMdlStartupButton}:{},className:Y&&!v?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button"},u.createElement(a,null,"Proceed")),!R&&u.createElement(u.Fragment,null,v&&fe?.length>0&&u.createElement(a,{style:t?{...n.verifiedCustdMdlOtpIncorrectText,marginTop:"3px",width:"100%"}:{marginTop:"3px",width:"100%"},className:"verified-custd-mdl-otp-incorrect-text"},fe),u.createElement(d,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px"}:{marginBottom:"20px"},onPress:async()=>{let X=await Le();X&&await S(X)},className:"verified-custd-mdl-startup-button-active"},u.createElement(a,null,"Login With Passkey")))))),c&&u.createElement(Xe,{platform:e.platform,messageTosend:e.action==="getPk"||e.action==="signRecovery"||e.action==="completeRecovery"?{type:"closePopup",key:"",value:""}:{type:"vaultData",key:"vaultData",value:oe},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",buttonText:e.action==="completeRecovery"?"Go To Dashboard":"",setShowDasboard:e.setShowDashboard,actionFooterText:e.action==="completeRecovery"?`Congratulations! You have successfully restored login access for your ${e?.vaultId} account`:""})),x&&z&&!I&&u.createElement(u.Fragment,null,!se&&u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px",position:"relative"}:{padding:"20px",position:"relative"},className:"verified-custd-mdl-startup-language"},u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},u.createElement(xe,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),u.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},u.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},u.createElement(a,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId)," ","has requested you to be a Co\u2011Signer"))),u.createElement(d,{style:{backgroundColor:"transparent",width:"100%"}},u.createElement(s,{style:{height:250,width:"90%"},source:{uri:N.addCoSignerIcon1}})),$?u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),u.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"," ",u.createElement(a,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId),", you will not be able to reset the PIN for them.")),u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},u.createElement(d,{onPress:async()=>await J(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},u.createElement(a,null,"Yes")),u.createElement(d,{onPress:()=>M(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},u.createElement(a,null,"No")))))):u.createElement(u.Fragment,null,u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co\u2011Signer?"))),u.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."),u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},u.createElement(s,{source:{uri:N.pkicon}})),u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},u.createElement(s,{source:{uri:N.encryptedIcon}})),u.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",u.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."))),u.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},u.createElement(d,{onPress:()=>M(!0),style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut}:{},className:"verified-custd-mdl-add-cosigner-button-neut"},u.createElement(a,null,"Reject")),u.createElement(d,{onPress:async()=>await J(!0),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},u.createElement(a,null,"Accept"))))),se&&u.createElement(Xe,{platform:e.platform,messageTosend:{type:"getPk",key:"vaultData",value:E},customTextHeader:"Successful",customTextFooter:ue?`You have been added as a Co-Signer for ${e.reqVaultData?.vaultId}`:`You rejected Co-signer request from ${e.reqVaultData?.vaultId}`})),x&&!z&&I&&u.createElement(e.signTxElement,{setIsLoading:e.setIsLoading,txToSign:Me}),!x&&u.createElement(a,null,"Loading Module Fonts..."))},Ze=wi;var Ei=e=>{let{isReactNative:t,View:i,Text:a,Image:s,ScrollView:K,StyleSheet:L,Font:d,AsyncStorage:A}=e?.platform,[m,C]=Pe(e.fontsLoaded||!1),[n,o]=Pe(e.showLogoPage||!1),[x,p]=Pe([]),[v,y]=Pe("2"),[k,h]=Pe(e.defaultCountry||{area:"1",flag:N.usaFlag,name:"United States"}),[f,g]=Pe(""),[c,P]=Pe(""),[E,j]=Pe(!1),[oe,q]=Pe(""),[Q,te]=Pe(""),[W,H]=Pe(""),[z,ie]=Pe(""),[se,B]=Pe(null),[$,M]=Pe(null),[ue,b]=Pe(!1),{setChainId:fe,setAddress:G,setPk:I,setProvider:D,setSigner:Me,setVaultContract:we,setVaultData:Z,vaultData:ae,chainId:de,vaultContract:R}=Se();return kt(()=>{let pe=async()=>{if(t)d&&await ve(d),C(!0);else{let ce=ye(document);C(ce)}};e.fontsLoaded||pe()},[]),kt(()=>{let pe=async()=>{let ce;!t&&chrome?.storage?.local?ce=await new Promise(V=>{chrome.storage.local.get(["lastPk"],T=>{V(T.lastPk)})}):!t&&localStorage?ce=localStorage.getItem("lastPk"):t&&A&&(ce=A.getItem("lastPk"));let O=await Ue(e.chainId,ce&&ce?.length>0?ce:void 0);fe(O.chainId),G(O.address),I(O.pk),D(O.provider),Me(O.signer),Z(O.vaultData),O.vaultContract?.contractAddress?we(O.vaultContract):we(void 0)};R?.contractAddress||pe()},[R]),kt(()=>{Yi(()=>{o(!1)},e.logoTimeoutTime??3e3)()},[]),kt(()=>{(()=>{let ce=ut.map(O=>{if(O)return{name:O.name,countryName:O.name,officialName:O.name,currencySymbol:O.currency,currencyName:O.currency,officialCurrencySymbol:O.currency,countryCode:O.code,flag:O.flag,continent:O.continent,phone_code:O.phone_code,code:O.code}}).filter(Boolean);p(ce)})()},[]),he.createElement(K,{style:{padding:20,width:"100%",heigth:"100%"}},m&&n&&e.logoPageElement&&he.createElement(i,null,e.logoPageElement),m&&!n&&he.createElement(i,{style:{width:"100%",heigth:"100%"}},v==="2"&&he.createElement(Dt,{platform:e.platform,fontsLoaded:m,setStep:y,setIsLoading:e.setIsLoading,setUserNumberFmt:g,userNumberFmt:f,setUserEmail:P,userEmail:c,setSelectedCountry:h,selectedCountry:k,allCountries:x,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone}),v==="3"&&he.createElement(It,{platform:e.platform,fontsLoaded:m,setStep:y,setIsLoading:e.setIsLoading,userNumberFmt:f,setUserNumberFmt:g,setUserEmail:P,userEmail:c,selectedCountry:k,helperFunctions:e.helperFunctions,setIsExistingUser:b}),v==="4"&&he.createElement(st,{platform:e.platform,fontsLoaded:m,setStep:y,setIsLoading:e.setIsLoading,setShowSuccessBtn:j,setSuccessBtnText:q,setSuccessBtnNeutText:te,setSuccessBtnFunc:B,setSuccessBtnNeutFunc:M,userNumberFmt:f,userEmail:c,selectedCountry:k,action:e.action,vaultData:e.vaultData,txData:e.txData,setActionHeaderText:H,setActionFooterText:ie,helperFunctions:e.helperFunctions,isExistingUser:ue}),v==="5"&&he.createElement(Xe,{platform:e.platform,setStep:y,stepToSet:"6",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully created a PIN to protect your account.",action:e.action,showButton:E,buttonText:oe,buttonNeutText:Q,buttonFunc:se,buttonNeutFunc:$,actionHeaderText:W,actionFooterText:z}),v==="6"&&he.createElement(lt,{platform:e.platform,fontsLoaded:m,setStep:y,setIsLoading:e.setIsLoading,userNumberFmt:f,userEmail:c,selectedCountry:k,allCountries:x,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone}),v==="7"&&e.action===""&&he.createElement(Xe,{platform:e.platform,action:e.action,setStep:y,stepToSet:"8",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account."}),v==="7"&&e.action!==""&&he.createElement(Xe,{platform:e.platform,action:e.action,messageTosend:e.action==="signRecovery"?{type:"signRecovery",value:{vaultData:e.vaultData,txData:{newUser:!0,...e.txData},chainId:de}}:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account."}),v==="8"&&e.dashbordElement&&he.createElement(e.dashbordElement,{setIsLoading:e.setIsLoading}),v==="8"&&!e.dashbordElement&&he.createElement(he.Fragment,null),v==="0"&&he.createElement(Ze,{platform:e.platform,fontsLoaded:m,vaultId:ae?.vaultId,setisOnboard:e.setisOnboard,hashedVaultId:ae?.hashedVaultId,encrptedPk:ae?.pk,vaultAddress:ae?.address,vaultChannel:ae?.channel,actionText:tt.getPk,setIsLoading:e.setIsLoading,newChainId:Number(de||e.chainId),action:"getPk",reqVaultData:ae,reqTxData:e.txData?Object.keys(e.txData)?.map(pe=>(e.txData[pe]=decodeURIComponent(e.txData[pe]),e.txData))[Object.keys(e.txData)?.length-1]:null,helperFunctions:e.helperFunctions,setUserEmail:P,setUserNumberFmt:g,setSelectedCountry:h,enablePhone:e.enablePhone,setShowDashboard:e.setShowDashboard})),!m&&he.createElement(i,{style:{padding:20,width:"100%",heigth:"100%"}},he.createElement(a,null,"Loading Module Fonts...")))},Ht=Ei;var Ti=e=>{let[t,i]=Ke(!1),[a,s]=Ke({}),[K,L]=Ke(!1),[d,A]=Ke(null),[m,C]=Ke({}),[n,o]=Ke({}),[x,p]=Ke(!1),[v,y]=Ke(!1),[k,h]=Ke(!1),[f,g]=Ke(!1),[c,P]=Ke(""),[E,j]=Ke([]),[oe,q]=Ke(""),[Q,te]=Ke(e.defaultCountry||{area:"1",flag:N.usaFlag,name:"United States"}),[W,H]=Ke(""),[z,ie]=Ke("");ht(()=>{(async()=>{await Yt();let I=Et();I&&(s(I),i(!0))})()},[]);let{isReactNative:se,View:B,Text:$,Font:M,AsyncStorage:ue,ActivityIndicator:b,styles:fe}=a;return ht(()=>{!K&&t&&(async()=>{if(se)M&&await ve(M),L(!0);else{let I=ye(document);L(I)}})()},[t,K]),ht(()=>{t&&(async()=>{if(se){if(ue)try{let I=await ue.getItem("myVault");if(I){let D=JSON.parse(I);if(D?.vaultId){C(D),A(!0);return}}A(!1)}catch(I){console.error("Error reading vault data on react:",I),A(!1)}}else if(chrome?.storage?.local)chrome.storage.local.get("myVault",I=>{I.myVault&&JSON.parse(I.myVault)?.vaultId?(C(JSON.parse(I.myVault)),A(!0)):A(!1)});else if(localStorage){let I=JSON.parse(localStorage.getItem("myVault"));I&&I?.vaultId?(C(I),A(!0)):A(!1)}else A(!1)})()},[t]),ht(()=>{(()=>{let I=ut.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);j(I)})()},[]),U.createElement(U.Fragment,null,t&&U.createElement(U.Fragment,null,K&&U.createElement(Tt,null,x&&U.createElement(B,{style:se?{...fe.verifiedCustdMdlLoadingScreen,height:"100vh"}:{height:"100vh"},className:"verified-custd-mdl-loading-screen"},U.createElement(b,{size:"large",color:"blue"})),U.createElement(B,{id:"verified-custd-out-cont",className:"verified-custd-mdl-container",style:se?{...fe.verifiedCustdMdlContainer}:{}},d===null&&e.delayPageElement&&U.createElement(U.Fragment,null,e.delayPageElement),d===null&&!e.delayPageElement&&U.createElement(B,{style:e.delayPageStyle?e.delayPageStyle:{width:"100%",height:"100%",background:"transparent",border:"none"}}," "),d!==null&&U.createElement(U.Fragment,null,!d&&U.createElement(Ht,{platform:a,fontsLoaded:K,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.values(e.txData)[Object.keys(e.txData).length-1]:null,showLogoPage:e.showLogoPage,logoPageElement:e.logoPageElement,logoTimeoutTime:e.logoTimeoutTime,defaultCountry:e.defaultCountry,setisOnboard:A,setIsLoading:p,dashbordElement:e.dashbordElement,chainId:Number(e.chainId),enablePhone:e.enablePhone,setShowDashboard:y}),d&&!v&&!k&&U.createElement(Ze,{platform:a,fontsLoaded:K,setisOnboard:A,vaultId:m?.vaultId,hashedVaultId:m?.hashedVaultId,encrptedPk:m?.pk,vaultAddress:m?.address,vaultChannel:m?.channel,regAddress:m?.regAddress,origin:e.origin,title:e.title,actionText:e.actionText||tt[e.action],setIsLoading:p,newChainId:Number(e.chainId),action:e.action||"",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.values(e.txData)[Object.keys(e.txData).length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:y,setShowCompleteVault:h,setUserEmail:ie,setUserNumberFmt:H,setSelectedCountry:te,enablePhone:e.enablePhone}),d&&v&&k&&U.createElement(Ze,{platform:a,fontsLoaded:K,setisOnboard:A,vaultId:m?.vaultId,hashedVaultId:m?.hashedVaultId,encrptedPk:m?.pk,vaultAddress:m?.address,regAddress:m?.regAddress,vaultChannel:m?.channel,origin:e.origin,title:e.title,actionText:e.actionText||tt[e.action],setIsLoading:p,newChainId:Number(e.chainId),action:e.action||"",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.values(e.txData)[Object.keys(e.txData).length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:y,setShowCompleteVault:h,setUserEmail:ie,setUserNumberFmt:H,setSelectedCountry:te,enablePhone:e.enablePhone}),d&&!v&&k&&oe===""&&U.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},U.createElement(lt,{platform:a,fontsLoaded:K,setStep:q,setIsLoading:p,userNumberFmt:W,userEmail:z,selectedCountry:Q,allCountries:E,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone})),d&&!v&&k&&oe==="7"&&U.createElement(Xe,{platform:a,action:e.action,setStep:q,stepToSet:"8",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully added Co-signers to your account."}),d&&!v&&k&&oe==="8"&&e.dashbordElement&&U.createElement(e.dashbordElement,{setIsLoading:p}),d&&!v&&k&&oe==="8"&&!e.dashbordElement&&U.createElement(U.Fragment,null),d&&!k&&v&&!f&&e.dashbordElement&&U.createElement(e.dashbordElement,{setIsLoading:p,setShowResetPin:g,setAction:P,setUserNumberFmt:H,setUserEmail:ie,setSelectedCountry:te,setVaultData:o,initWalletAndContract:Ue}),d&&!k&&v&&!f&&!e.dashbordElement&&U.createElement(U.Fragment,null),d&&!k&&v&&f&&U.createElement(B,{style:{width:"100%",heigth:"100%",padding:"20px"}},U.createElement(st,{platform:a,fontsLoaded:K,action:"reset-pin",setStep:q,setIsLoading:p,userNumberFmt:W,userEmail:z,vaultData:m,selectedCountry:Q,helperFunctions:e.helperFunctions}))))),!K&&U.createElement($,null,"Loading Module Fonts...")),!t&&typeof navigator<"u"&&navigator.product!=="ReactNative"&&U.createElement(U.Fragment,null,"Preparing Module..."))},Gi=Ti;export{lt as AddCoSignersPage,Dt as ContactPage,st as CreatePinPage,Ze as EnterPinPage,Ht as FTUPage,It as OTPPage,Tt as VaultContextProvider,Gi as VerifiedCustody,Oe as decryptString,Re as decryptWithPasskey,He as encryptString,Je as encryptWithPasskey,Et as getPlatformComponents,ee as hashTheString,Yt as initPlatform,ye as loadAllGoogleFonts,ve as loadAllGoogleFontsRN,Qe as publicKeyCredentialRequestOptions};
|
|
1
|
+
var Jn=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Mt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var yn=Mt((_a,fi)=>{fi.exports="./Roboto-Regular-UUBD26YO.ttf"});var vn=Mt((Sa,gi)=>{gi.exports="./Manrope-Regular-33576HBZ.ttf"});var An=Mt((wa,mi)=>{mi.exports="./Hind-Regular-R5KOYWFC.ttf"});function Rn(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))}Rn(`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{Jn("react-native-get-random-values")}catch(e){console.warn("react native [polyfillCrypto] Failed to load polyfill:",e)}import Qe,{forwardRef as Un}from"react";var ca=process.env.REACT_APP_NODE_ENV==="production"?"https://wallet.verified.network":"https://veripay-bac0b.web.app",ln=["https://veripay-bac0b.web.app","https://wallet.verified.network","https://verified-l1.web.app","https://invest.verified.network"],cn=["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"],Ft="0x7f8d3f14b960b3bcf34baea4b46178e331b54a33e565d7d50d77cdfe9e926fe8",Bt={1:"1st",2:"2nd",3:"3rd",4:"4th",5:"5th"},Ct={1:"1 st",2:"2 nd",3:"3 rd",4:"4 th",5:"5 th"},pt={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"},T={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"},xt=[{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 un={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 Vt=!1,$t=!1,Dt,It,Ht,Ot,Jt,Rt,Ut,Qt,fn,gn,mn,Wt,Cn,jt=async()=>{if($t)return;if(typeof navigator<"u"&&navigator.product==="ReactNative"){console.log("Initializing React Native platform...");let t=await import("react-native"),a=await import("events");fn=(await import("expo-font")).default;let l=await import("@react-native-async-storage/async-storage");Cn=await(await import("react-native-passkey")).Passkey,gn=l.default,mn=a.EventEmitter;let x=({className:L,id:u,...k})=>k,s=L=>u=>Qe.createElement(L,{...x(u)});Dt=s(t.View),It=s(t.Text),Ht=s(t.Image),Ot=s(t.ScrollView),Jt=t.StyleSheet,Rt=s(t.TextInput),Ut=s(t.TouchableOpacity),Qt=s(t.ActivityIndicator),Wt=t.StyleSheet.create(un),Vt=!0,console.log("React Native platform initialized.")}else{console.log("Initializing Web platform...");let{motion:t}=await import("framer-motion");Dt=({onPress:a,...i})=>Qe.createElement("div",{onClick:a,...i}),It=({onPress:a,...i})=>Qe.createElement("span",{onClick:a,...i}),Ht=({onPress:a,source:i,...l})=>Qe.createElement("img",{onClick:a,...l,src:i?.uri}),Ot=a=>Qe.createElement("div",{style:{overflowY:"auto",...a.style}},a.children),Jt={create:a=>a},Wt={},Rt=Un(({onChangeText:a,onInput:i,onKeyDown:l,onKeyPress:K,value:x,keyboardType:s,secureTextEntry:L,onSubmitEditing:u,blurOnSubmit:k,placeholderTextColor:n,...r},w)=>Qe.createElement("input",{...r,ref:w,value:x,onInput:m=>{i?.(m),a?.(m.target.value)},onKeyDown:m=>{m.key==="Enter"&&(m.preventDefault(),u?.(m)),l?.(m),K?.(m)},type:L?"password":s==="numeric"||s==="number-pad"?"tel":"text",onChange:()=>{}})),Ut=({onPress:a,style:i,...l})=>Qe.createElement("button",{style:{outline:"none",border:"none",...i},onClick:a,...l},l.children),Qt=({color:a,size:i,...l})=>Qe.createElement(t.img,{height:"50px",width:"50px",src:T.loadingIcon,alt:"Loading...",animate:{rotate:360,scale:[1,1.5,1]},transition:{duration:2,repeat:1/0,ease:"linear"},...l}),Vt=!1,console.log("Web platform initialized.")}$t=!0},qt=()=>{if(!$t)throw new Error("Platform not initialized. Call `await initPlatform()` first.");return{isReactNative:Vt,View:Dt,Text:It,Image:Ht,ScrollView:Ot,StyleSheet:Jt,TextInput:Rt,TouchableOpacity:Ut,ActivityIndicator:Qt,Font:fn,AsyncStorage:gn,EventEmitter:mn,styles:Wt,rnPasskey:Cn}};import Z,{useEffect as Et,useState as Ke}from"react";import Qn,{createContext as Wn,useContext as jn,useState as nt}from"react";var pn=Wn(void 0),Zt=({children:e})=>{let[t,a]=nt(null),[i,l]=nt(null),[K,x]=nt(null),[s,L]=nt(null),[u,k]=nt(null),[n,r]=nt(null),[w,m]=nt(null);return Qn.createElement(pn.Provider,{value:{chainId:t,pk:i,address:K,signer:s,provider:u,vaultContract:n,vaultData:w,setChainId:a,setPk:l,setAddress:x,setSigner:L,setProvider:k,setVaultContract:r,setVaultData:m}},e)},Te=()=>{let e=jn(pn);if(!e)throw new Error("useVaultStore must be used within VaultContextProvider");return e};import Pe,{useEffect as Tt,useState as we}from"react";import{debounce as na}from"lodash";import{contractAddress as Ci,Custody as pi,Provider as hi,VerifiedWallet as zt}from"@verified-network/verified-sdk";var le={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:T.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:T.baseIcon},100:{chainId:"0x64",chainName:"Gnosis",nativeCurrency:{name:"XDAI",symbol:"XDAI",decimals:18},rpcUrls:["https://rpc.gnosischain.com/"],blockExplorerUrls:["https://gnosisscan.io/"],icon:T.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:T.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:T.baseIcon}};import{pbkdf2 as Ln}from"@noble/hashes/pbkdf2";import{sha256 as wt}from"@noble/hashes/sha256";import{randomBytes as St,utf8ToBytes as nn,bytesToUtf8 as ki}from"@noble/hashes/utils";import{gcm as bn}from"@noble/ciphers/aes";import an from"crypto-js";import{toast as Pn}from"react-toastify";import Kt from"react";import{base as Ki,baseSepolia as yi,gnosis as vi,mainnet as Ai,polygon as Pi,sepolia as Li}from"viem/chains";import{http as bi}from"viem";import{createPublicClient as zn,encodeAbiParameters as ei,encodeFunctionData as ti,pad as ni,toHex as ii,zeroAddress as kt,zeroHash as ai}from"viem";var hn={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 kn={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 oi="0x000000001D1D5004a02bAfAb9de2D6CE5b7B13de",ri="0x00000000D3254452a909E4eeD47455Af7E27C289",Kn="0x81d4b4981670cb18f99f0b4a66446df1bf5b204d24cfcb659bf38ba27a4359b5711649ec2423c5e1247245eba2964679b6a1dbb85c992ae40b9b00c6935b02ff1b",di=0n,ht=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}},si=e=>ei([{name:"bootstrap",type:"address"},{name:"initData",type:"bytes"}],[e.bootStrapAddress,ti({abi:hn.abi,functionName:"initNexusWithDefaultValidatorAndOtherModulesNoRegistry",args:[e.defaultValidator.data,e.validators,e.executors,e.hook,e.fallbacks,e.prevalidationHooks]})]),li=e=>{let{deInitData:t="0x",type:a="validator",signer:i,data:l="0x",module:K,...x}=e;return{deInitData:t,data:l,module:K,address:K,signer:i,type:a,getStubSignature:async()=>Kn,signUserOpHash:async s=>await i.signMessage({message:{raw:s}}),signMessage:async s=>await i.signMessage({message:s}),...x}},ci=e=>li({initData:e.signer.address,data:e.signer.address,deInitData:"0x",...e,address:kt,module:kt,type:"validator",getStubSignature:async()=>Kn}),ui=()=>({module:kt,data:ai}),_t=async(e,t,a)=>{let i=zn({chain:e,transport:t}),l=ci({signer:a}),K=[],x=[],s=ui(),L=[],u=kt,k=oi,n=ri,r=[],w=si({defaultValidator:ht(l),validators:K.map(ht),executors:x.map(ht),hook:ht(s),fallbacks:L.map(ht),registryAddress:u,bootStrapAddress:n,prevalidationHooks:r}),m=ni(ii(di),{size:32}),b=await i.readContract({address:k,abi:kn.abi,functionName:"computeAccountAddress",args:[w,m]});if(b?.toLowerCase()!==kt?.toLowerCase())return b};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 cn.map(i=>{if(!e.querySelector(`link[href="${i}"]`)){let K=e.createElement("link");K.rel="stylesheet",K.href=i,e.head.appendChild(K)}}),!0},_e=async e=>(await e?.loadAsync({Roboto:yn(),Manrope:vn(),Hind:An()}),!0),We=async(e,t)=>{try{let a;if(t)a=new zt(t);else{let r=zt.generateMnemonic();a=zt.importWallet(r)}let i=Ci,l=e&&i[e]?.Custody&&le[e]?.rpcUrls?.length>0?e:8453,K=le[l]?.rpcUrls[0],x=a.setProvider(new hi(K)),s=a.privateKey,L=new pi(x,i[l]?.Custody),u=x,k=[Ki,Ai,vi,Pi,Li,yi].find(r=>Number(r?.id)===Number(l)),n=await _t(k,bi(),u);return l===11155111&&console.log("address to send test ETH to: ",a.address),{chainId:l,address:n,pk:s,signer:x,provider:K,vaultContract:L,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}}},Q=e=>{let t=e.toLowerCase(),a=wt(nn(t));return"0x"+Array.from(a).map(i=>i.toString(16).padStart(2,"0")).join("")},Re=e=>{let t=e instanceof Uint8Array?e:new Uint8Array(e),a=wt(t);return"0x"+Array.from(a).map(i=>i.toString(16).padStart(2,"0")).join("")},je=(e,t)=>an.AES.encrypt(e,t).toString(),it=(e,t)=>{var a=an.AES.decrypt(e,t),i=a.toString(an.enc.Utf8);return i},xi=(e,t)=>Kt.createElement("div",{className:"verified-custd-mdl-general-web-toast-error"},Kt.createElement("img",{style:{marginLeft:"5px"},src:T.errorAlert,alt:""}),Kt.createElement("div",{className:"verified-custd-mdl-general-web-toast-error-container"},Kt.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-title"},e),Kt.createElement("p",{className:"verified-custd-mdl-general-web-toast-error-label"},t)));var Se=(e,t)=>(Pn.dismiss(),Pn.error(xi(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 J=(e,t,a=16)=>{if(!e)return t;let i=parseFloat(t);return t.endsWith("rem")?i*a:(t.endsWith("px"),i)},_i=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 l=0;l<a;l++){let K=t.substr(l*2,2);i[l]=parseInt(K,16)}return i},on=(e,t,a)=>{let i=_i(a);return{challenge:St(32),rp:{name:e},user:{id:i,name:t,displayName:t},pubKeyCredParams:[{alg:-7,type:"public-key"},{type:"public-key",alg:-257}],authenticatorSelection:{userVerification:"preferred",residentKey:"preferred"},timeout:6e4,attestation:"direct"}},lt=()=>({challenge:St(32),timeout:6e4,userVerification:"preferred"}),en=e=>btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""),tn=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)))},qe=async(e,t,a)=>{let i=t instanceof Uint8Array?t:new Uint8Array(t),l=St(8),K=Array.from(l).map(r=>r.toString(16).padStart(2,"0")).join(""),x=Q(`${a}:${K}`),s=nn(x),L=St(12),u=Ln(wt,i,s,{c:3e5,dkLen:32}),n=bn(u,L).encrypt(nn(e));return[en(s),en(L),en(n)].join(".")},at=async(e,t)=>{let[a,i,l]=e.split(".");if(!a||!i||!l)throw new Error("Invalid encrypted data format");let K=t instanceof Uint8Array?t:new Uint8Array(t),x=tn(a),s=tn(i),L=tn(l),u=Ln(wt,K,x,{c:3e5,dkLen:32}),k=bn(u,s);try{let n=k.decrypt(L);return ki(n)}catch{throw new Error("Decryption failed: invalid key or corrupted data")}};import te,{useEffect as Xi,useState as ct}from"react";import xn from"react";var Si=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n}=e.platform,r=Number(e.currentSlider),w=e.sliderCount?.length||0,m=w>0?100/w:0;return xn.createElement(a,{className:"verified-custd-mdl-startup-slider",style:{flexDirection:"row",height:4,overflow:"hidden"}},e.sliderCount?.map((b,y)=>{let A=y<=r;return xn.createElement(a,{key:y,className:A?"verified-custd-mdl-startup-slider-line-active":"verified-custd-mdl-startup-slider-line",style:t&&A?{...n.verifiedCustdMdlStartupSliderLineActive,width:`${m}%`}:t?{...n.verifiedCustdMdlStartupSliderLine,width:`${m}%`}:!t&&A?{width:`${m}%`}:{width:`${m}%`}})}))},Ee=Si;import Ae,{useState as wi}from"react";var Ni=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n}=e.platform,[r,w]=wi(null),m=P=>{if(P===""){w(null);return}let h=e.searchContent.filter(C=>{let c=C?.name?.toLowerCase(),p=P.toLowerCase();if(c?.includes(p))return C.searched=p,C.nameArray=C.name.split(""),C});w(h),e.handleButtonDisplay()},b=(P,h)=>{e.type==="area-code"?e.setSelected({area:P.phone_code,flag:P.flag,name:P.name}):e.type==="language"&&e.setSelected(P.name),e.setSearchActive&&e.setSearchActive(!1),e.handleButtonDisplay()},y=(P,h)=>P.map((C,c)=>{let p=h.includes(C.toLowerCase());return Ae.createElement(i,{key:c,style:p?n.boldText:n.fadedText},C)}),A=(P,h=!1)=>P.map((C,c)=>{let p=t?!1:window?.location?.search===`?${c}`,N=e.selected&&e.selected.length>0,X=e.type==="language"&&p?"verified-custd-mdl-ms-search-content-active":"verified-custd-mdl-ms-search-content";return Ae.createElement(s,{key:c,className:X,style:n.resultItem,onPress:()=>b(C,c)},Ae.createElement(a,{style:n.resultInner},Ae.createElement(l,{source:{uri:e.type==="language"?C.icon:C.flag},alt:"Icon",className:"verified-custd-mdl-ms-search-content-icon",style:n.icon}),Ae.createElement(i,{className:"verified-custd-mdl-ms-search-content-text",style:n.resultText},C.nameArray&&C.searched?y(C.nameArray,C.searched):C.name,e.type==="language"&&C.label&&Ae.createElement(i,{style:C.searched?.includes(C.label.toLowerCase())?{}:n.fadedText},` (${C.label})`))),e.type==="language"&&N&&p&&Ae.createElement(l,{source:{uri:T.circleClicked},alt:"Clicked",style:n.selectedIcon}))});return Ae.createElement(a,{className:"verified-custd-mdl-startup-language-content-container",style:n.container},Ae.createElement(a,{className:"verified-custd-mdl-st-language-content"},e.headerText&&Ae.createElement(i,{className:"verified-custd-mdl-st-language-text",style:n.headerText},e.headerText),Ae.createElement(a,{className:"verified-custd-mdl-mobille-startup-search-box-container"},Ae.createElement(a,{className:"verified-custd-mdl-mobile-startup-search-box",style:n.searchBox},Ae.createElement(l,{source:{uri:T.search},alt:"Search",className:"verified-custd-mdl-mobile-search-icon",style:n.searchIcon}),Ae.createElement(x,{placeholder:"Search",className:"verified-custd-mdl-ms-search-box-content",style:n.input,onChangeText:m,onFocus:()=>e.type==="language"&&e.setSelected("")})),Ae.createElement(K,{className:"verified-custd-mdl-mobile-startup-search-content",style:{maxHeight:e.contentMaxHeight||300}},Ae.createElement(a,{className:"verified-custd-mdl-ms-search-content-container"},(r||e.searchContent)?.length>0&&A(r||e.searchContent))))))},Nt=Ni;import yt from"react";var _n=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n}=e.platform;return yt.createElement(i,{style:t?{...n.verifiedCustdMdlTermsAndCondition}:{},className:"verified-custd-mdl-terms-and-condition"},"By proceeding, you agree with Verified Wallet"," ",yt.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.createElement(i,{style:t?{...n.verifiedCustdMdlTermsAndCondition,color:"#603FF4",cursor:"pointer"}:{color:"#603FF4",cursor:"pointer"},className:"verified-custd-mdl-terms-and-condition"},"Privacy Policy."))},Sn=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n}=e.platform,r=async()=>{e.setIsLoading(!0);try{!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")):t&&k&&(await k.removeItem("myVault"),await k.removeItem("lastPk")),e.setisOnboard&&e.setisOnboard(!1)}finally{e.setIsLoading(!1)}};return yt.createElement(i,{className:"verified-custd-mdl-terms-and-condition",style:t?{...n.verifiedCustdMdlTermsAndCondition,fontSize:J(t,"0.7rem")}:{fontSize:J(t,"0.7rem")}},"Want to access a different account? Click"," ",yt.createElement(i,{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 Ti=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n}=e.platform,[r,w]=ct(e.fontsLoaded||!1),[m,b]=ct(""),[y,A]=ct(""),[P,h]=ct(!1),[C,c]=ct(""),[p,N]=ct(!1),{pk:X,vaultContract:W,address:O}=Te();Xi(()=>{let B=async()=>{if(t)u&&await _e(u),w(!0);else{let H=xe(document);w(H)}};e.fontsLoaded||B()},[]);let I=()=>{e.selectedCountry.area&&m.length===10||e.userEmail?.length>0&&isNaN(Number(e.userEmail))&&e.userEmail.includes("@")?(c(""),N(!0)):(c(""),N(!1))},j=async()=>{if(e.userEmail===""&&m===""){c("Invalid email or phone number. Try again later");return}if(!e.helperFunctions){c("No Helper Functions provided.");return}if(e.userEmail?.length>0&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.userEmail)){c("Invalid email format.");return}let B=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${m}`,H=e.userEmail?.length>0?"email":"sms";if(B&&H&&X&&W||B&&H&&e.noContract){e.setIsLoading(!0);try{let z=await e.helperFunctions.sendOTPVerification(O,H,B);e.setIsLoading(!1),z?(c(""),e.setStep("3")):(c(H==="email"?"Error sending OTP to email. Try again.":"Error sending OTP to phone. Try again."),Se("OTP Error",H==="email"?"Please enter a valid email.":"Please enter a valid phone number."))}catch{e.setIsLoading(!1),c("Unexpected error. Try again.")}}else e.noContract||c("Network error. Check your internet connection.")};return te.createElement(K,{style:{width:"100%",height:"100%"}},r&&te.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},te.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},te.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),te.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},te.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&&te.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},te.createElement(a,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},te.createElement(s,{onPress:()=>h(!P),className:"verified-custd-mdl-st-contact-first-section",style:t?{...n.verifiedCustdMdlStContactFirstSection}:{}},te.createElement(l,{source:{uri:e.selectedCountry.flag},alt:"Country Flag",style:t?{...n.verifiedCustdMdlStContactSelectionIcon}:{},className:"verified-custd-mdl-st-contact-selection-icon"}),te.createElement(i,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",e.selectedCountry.area),te.createElement(l,{alt:"Dropdown",className:"verified-custd-mdl-st-contact-dropdown",style:t?{...n.verifiedCustdMdlStContactDropdown}:{},source:P?{uri:T.arrowUp}:{uri:T.arrowDown}})),te.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:B=>{let H=B.replace(/\D/g,"");A(B),b(H);let z="";for(let ne=0;ne<H?.length;ne++)z+=H[ne],(ne+1)%5===0&&ne+1<H?.length&&(z+=" ");e.setUserNumberFmt(z),I()}})),P&&te.createElement(Nt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:I,setSelected:e.setSelectedCountry,selected:e.selectedCountry,searchActive:P,setSearchActive:h,contentMaxHeight:"300",contentbottomMargin:"300"}),m.length!==10&&y.length>10&&!C&&te.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check your phone number")),!P&&te.createElement(te.Fragment,null,e.enablePhone&&te.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-amount-info-separator",style:t?{...n.verifiedCustdMdlPPPaymentPortalAmountInfoSeparator}:{}},te.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...n.verifiedCustdMdlPPPaymentPortalLine}:{}}),te.createElement(i,{className:"verified-custd-mdl-p-payment-portal-separator-text",style:t?{...n.verifiedCustdMdlPPaymentPortalSeparatorText}:{}},"OR"),te.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...n.verifiedCustdMdlPPPaymentPortalLine}:{}})),te.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},te.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:B=>{e.setUserEmail(B),e.setUserNumberFmt(""),b(""),A(""),I()}}),C&&e.userEmail.length>0&&te.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},C)))),!P&&te.createElement(a,{style:{height:"80px"}}),te.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},te.createElement(_n,{platform:e.platform}),te.createElement(s,{style:t&&p?{...n.verifiedCustdMdlStartupButtonActive}:t&&!p?{...n.verifiedCustdMdlStartupButton}:{},className:p?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:j},te.createElement(i,null,"Get OTP"))))),!r&&te.createElement(i,null,"Loading Module Fonts..."))},rn=Ti;import $,{useEffect as Fn,useRef as Ii,useState as ut}from"react";import{AbiCoder as Ei,encodeBytes32String as $e}from"ethers";import{combine as Yi,split as wn}from"shamir-secret-sharing";import{contractAddress as vt,Custody as At,Provider as ot,VerifiedWallet as Ue}from"@verified-network/verified-sdk";import{base as Gi,baseSepolia as Mi,gnosis as Fi,mainnet as Bi,polygon as Vi,sepolia as $i}from"viem/chains";import{http as Di}from"viem";var Nn=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}},Xn=async(e,t,a,i,l,K,x,s,L,u,k,n,r,w,m,b,y)=>{try{let A={vaultId:i,hashedVaultId:l,vaultPin:K,hashedVaultPin:x,vaultContract:k,rawId:m};return await k.getCreator(l).then(async P=>{if(P?.status===0&&P?.response?.result[0]===!0)try{let h;if(m)h=await qe(L,m,K);else{let c=$e(K);h=je(L,c)}let C;if(chrome?.storage?.local?C=await new Promise(c=>{chrome.storage.local.get(["lastPk"],p=>{c(p.lastPk)})}):!chrome?.storage?.local&&localStorage&&(C=localStorage.getItem("lastPk")),n==="reset-pin"&&r?.vaultContract&&b?.length>1&&y>1&&L?.length>0){let c=Number(b.length),N=(await wn(Uint8Array.from(L.split("").map(B=>B.charCodeAt(0))),Number(c),Number(y))).map(B=>B.join(",")),X=m?"":$e(K),W=[],O=[];for(let B=0;B<b.length;B++){let H=b[B],z=m?await qe(N[B],m,K):je(N[B],X);await k.addParticipant(l,H,z).then(async ne=>{let oe={creatorVaultId:i,vaultPin:K,creatorHashedVaultId:l,creatorHashedVaultPin:x,cosigner:H,hashedCosigner:H,cosignerVaultIdType:"",cosignerVaultId:H,share:z};ne?.status===0?O.push(oe):W.push(oe)}),await new Promise(ne=>setTimeout(ne,1e3))}if(W?.length>0||O?.length!==b?.length)return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while adding co-signers"),Se("Oops somethin went wrong","error while adding co-signers"),null;let j=await new Ue(L).getAddress();return!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:u,regAddress:j,vaultId:i,hashedVaultId:l,pk:h,channel:s})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({address:u,regAddress:j,vaultId:i,hashedVaultId:l,pk:h,channel:s})):e&&t&&await t.setItem("myVault",JSON.stringify({address:u,regAddress:j,vaultId:i,hashedVaultId:l,pk:h,channel:s})),{}}if(C&&C?.length>0)return await k.confirmParticipant(l,l,!0).then(async c=>{if(c?.status===0){!e&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!e&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("lastPk"):e&&t&&await t.removeItem("lastPk");try{let N=await new Ue(L).getAddress(),X;if(m)X=await qe(L,m,K);else{let W=$e(K);X=je(L,W)}return!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:u,regAddress:N,vaultId:i,hashedVaultId:l,pk:X,channel:s})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({address:u,regAddress:N,vaultId:i,hashedVaultId:l,pk:X,channel:s})):e&&t&&await t.setItem("myVault",JSON.stringify({address:u,regAddress:N,vaultId:i,hashedVaultId:l,pk:X,channel:s})),A}catch(p){return Se("Oops something went wrong","Error saving new vault details. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("save vault failed: ",p),!1}}else return Se("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: ",c),!1});if(n==="invitation")return{isExisting:!0,...A};{!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({vaultId:i,hashedVaultId:l,pk:h,channel:s})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({vaultId:i,hashedVaultId:l,pk:h,channel:s})):e&&t&&await t.setItem("myVault",JSON.stringify({vaultId:i,hashedVaultId:l,pk:h,channel:s}));let c=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"?r:{vaultId:i,hashedVaultId:l,hashedVaultPin:x},txData:w}});else if(!e&&!chrome?.runtime?.sendMessage){let p=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"?r:{vaultId:i,hashedVaultId:l,hashedVaultPin:x},txData:w}}});c?.dispatchEvent(p)}else if(e&&a){let p=new a,N=n&&n==="connect_wallet"||n&&n==="eth_requestAccounts"?"getPk":n&&n!=="connect_wallet"?n:"getPk",X={vaultData:n&&n==="signRecovery"||n&&n==="completeRecovery"?r:{vaultId:i,hashedVaultId:l,hashedVaultPin:x},txData:w};p.emit(N,X)}}return n==="getPk"?{vaultId:i,hashedVaultId:l,pk:h,channel:s,shouldStop:!0}:{shouldStop:!0}}catch(h){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error handling existing vault: ",h),Se("Oops something went wrong","Error fetching existing vault key(s). Try again later"),!1}else if(P?.status===0&&P?.response?.result[0]!==!0)return await k.createVault(l).then(async h=>h?.status===0?(!e&&chrome?.storage?.local?await chrome.storage.local.set({lastPk:L}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("lastPk",L):e&&t&&await t.setItem("lastPk",L),await k.confirmParticipant(l,l,!0).then(async C=>{if(C?.status===0){!e&&chrome?.storage?.local?await chrome.storage.local.remove("lastPk"):!e&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("lastPk"):e&&t&&await t.removeItem("lastPk");try{let p=await new Ue(L).getAddress(),N;if(m)N=await qe(L,m,K);else{let X=$e(K);N=je(L,X)}return!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:u,regAddress:p,vaultId:i,hashedVaultId:l,pk:N,channel:s})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({address:u,regAddress:p,vaultId:i,hashedVaultId:l,pk:N,channel:s})):e&&t&&await t.setItem("myVault",JSON.stringify({address:u,regAddress:p,vaultId:i,hashedVaultId:l,pk:N,channel:s})),A}catch(c){return Se("Oops something went wrong","Error saving new vault details. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("save vault failed: ",c),!1}}else return Se("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})):(Se("Oops something went wrong","Error creating new vault. Try again later"),process.env.REACT_APP_NODE_ENV!=="production"&&console.error("create vault failed: ",h),!1))})}catch(A){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",A),Se("Oops something went wrong","Error while creating pin. Try again later"),!1}},Tn=async(e,t,a,i,l,K,x,s,L,u,k)=>{try{let n;if(k)n=await at(l,k);else{let r=$e(a);n=it(l,r)}if(n){let r=vt,w=new Ue(n),m=s&&r[s]?.Custody&&le[s]?.rpcUrls?.length>0?s:8453,b=le[m]?.rpcUrls[0],y=w.setProvider(new ot(b)),A=new At(y,r[m].Custody);return A?await A.getCreator(t).then(async P=>{if(P?.status===0&&P?.response?.result[0]===!0){let h=await A.getQuorum(t);return h?.status===0&&h?.response?.result?.length>0?L&&Number(h?.response?.result[0])>0?{address:K,vaultId:e,hashedVaultId:t,channel:x,chainId:u||m,pin:a,rawId:k,pk:n}:Number(h?.response?.result[0])===0?{address:K,vaultId:e,hashedVaultId:t,channel:x,chainId:u||m,pin:a,rawId:k,pk:n,inCompleteVault:!0}:{address:K,vaultId:e,hashedVaultId:t,channel:x,chainId:u||m,pin:a,rawId:k}:L?{address:K,vaultId:e,hashedVaultId:t,channel:x,chainId:u||m,pin:a,rawId:k,pk:n}:{address:K,vaultId:e,hashedVaultId:t,channel:x,chainId:u||m,pin:a,rawId:k}}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(n){return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("unexpected error: ",n),null}},Xt=async(e,t,a,i,l,K,x,s,L,u,k,n,r)=>{let w;if(k)w=k;else{let m=vt,b=new Ue(n),y=r&&m[r]?.Custody&&le[r]?.rpcUrls?.length>0?r:8453,A=le[y]?.rpcUrls[0],P=b.setProvider(new ot(A));w=new At(P,m[y].Custody)}return w?await w.confirmParticipant(K,i,u).then(async m=>m?.status===0?(u?await e(a,s,L,x):await t(a,s,L,x),!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},En=async(e,t,a,i,l,K,x,s,L,u,k,n,r,w)=>{let m=Number(a.length),y=(await wn(Uint8Array.from(n.split("").map(C=>C.charCodeAt(0))),Number(m),K)).map(C=>C.join(",")),A=r?"":$e(L),P=[],h=[];for(let C=0;C<a.length;C++){let c=a[C],p=r?await qe(y[C],r,L):je(y[C],A);await k.addParticipant(s,w==="remove-cosigner"?c:Q(c.vaultId),p).then(async N=>{let X=w==="remove-cosigner"?{creatorVaultId:x,vaultPin:L,creatorHashedVaultId:s,creatorHashedVaultPin:u,cosigner:c,hashedCosigner:c,cosignerVaultIdType:"",cosignerVaultId:c,share:p}:{creatorVaultId:x,vaultPin:L,creatorHashedVaultId:s,creatorHashedVaultPin:u,cosigner:c.vaultId,hashedCosigner:Q(c.vaultId),cosignerVaultIdType:c.otpChannel==="sms"?"PHONE":"EMAIL",cosignerVaultId:c.vaultId,share:p,...c};N?.status===0?(h.push(X),w!=="remove-cosigner"&&c.vaultId!==x&&await e(c.otpChannel,c.vaultId,x,u).then(W=>{W||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending cosigner invite")})):P.push(X)}),await new Promise(N=>setTimeout(N,1e3))}return P?.length>0||h?.length!==a?.length?(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while adding co-signers"),Se("Oops somethin went wrong","error while adding co-signers"),!1):await k.defineQuorum(s,K.toString()).then(async C=>{if(C?.status===0&&w!=="remove-cosigner"){let c=i?.map(p=>({name:p?.name,email:p?.email,phoneNumber:p?.phoneNumber,contactType:String(p?.otpChannel)?.toUpperCase(),position:`${Bt[Number(p?.position)]} Co-Signer`}));return await t(l,x,c,Number(K),u).then(p=>{p||process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while sending creator's confirmation")}),!0}else if(C?.status===0&&w==="remove-cosigner"){let c=i?.map(async X=>(await k.removeParticipant(s,Q(X?.vaultId)))?.status===0?"true":"false");if((await Promise.all(c))?.find(X=>X==="false")?.length>0)return!1;let N=i?.map(X=>({email:X?.email,phoneNumber:X?.phoneNumber,contactType:String(X?.otpChannel)?.toUpperCase(),position:`${Bt[Number(X?.position)]} Co-Signer`}));return await t(l,x,N,Number(K),u,!0).then(X=>{X||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"),Se("Oops somethin went wrong","error while saving vault keys"),!1})},Yn=async(e,t,a,i,l,K,x,s,L)=>{let u;if(L)u=await at(K,L);else{let k=$e(l);u=it(K,k)}if(u){let k=vt,n=new Ue(u),r=s&&k[s]?.Custody&&le[s]?.rpcUrls?.length>0?s:8453,w=le[r]?.rpcUrls[0],m=n.setProvider(new ot(w)),b=new At(m,k[r].Custody);if(b)return await b.promptSignatures(t).then(async y=>{if(y?.status===0&&y?.response?.hash){let A=new Ei,P,h;if(y?.response?.result?.logs?.length>0){let C=y?.response?.result?.logs?.filter(N=>N?.address?.toLowerCase()===k[r].Custody?.toLowerCase()&&N?.topics?.map(X=>X?.toLowerCase())?.includes(Ft?.toLowerCase()));h=C?.length;let c=C[0]?.data,p=A.decode(["bytes32","bytes32","uint256"],c)?.map((N,X)=>X<2?N:Number(N)).flat();P=p[p?.length-1]}else{let N=(await new ot(w).getTransactionReceipt(y?.response?.hash)).logs?.filter(O=>O?.address?.toLowerCase()===k[r].Custody?.toLowerCase()&&O?.topics?.map(I=>I?.toLowerCase())?.includes(Ft?.toLowerCase()));h=N?.length;let X=N[0]?.data,W=A.decode(["bytes32","bytes32","uint256"],X)?.map((O,I)=>I<2?O:Number(O)).flat();P=W[W?.length-1]}return await e(x,i,a,Number(P),Number(h)),!0}else return process.env.REACT_APP_NODE_ENV!=="production"&&console.error("prompt signatures failed",y),!1}).catch(y=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while initiating vault recovery",y),!1))}},Gn=async(e,t,a,i,l,K,x,s,L,u,k,n,r)=>{let w;if(r)w=await at(x,r);else{let m=$e(K);w=it(x,m)}if(w){let m=vt,b=new Ue(w),y=n&&m[n]?.Custody&&le[n]?.rpcUrls?.length>0?n:8453,A=le[y]?.rpcUrls[0],P=b.setProvider(new ot(A)),h=new At(P,m[y].Custody);if(h)return await h.signTransaction(L,a,String(k)).then(async C=>C?.status===0?(await e(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s)?"email":"sms",s,l,u),await h.checkQuorum(L,k).then(async c=>c?.status===0&&c?.response?.result?(c?.response?.result[0]===!0&&await t(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s)?"email":"sms",s,Number(k)),!0):!1)):!1).catch(C=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while signing vault recovery",C),!1))}},Mn=async(e,t,a,i,l,K,x,s,L,u,k)=>{let n;if(k)n=await at(x,k);else{let r=$e(K);n=it(x,r)}if(n){let r=vt,w=new Ue(n),m=u&&r[u]?.Custody&&le[u]?.rpcUrls?.length>0?u:8453,b=le[m]?.rpcUrls[0],y=w.setProvider(new ot(b)),A=new At(y,r[m].Custody);return A?await A.checkQuorum(a,s).then(async P=>P?.status===0&&P?.response?.result&&P?.response?.result[0]===!0?await A.getShards(a,s).then(async h=>{if(h?.status===0&&h?.response?.result){let C=h?.response?.result.filter(c=>c!=="");if(C.length>1){let c=k?"":$e(K),N=(await Promise.all(C.map(O=>k?at(O,k):it(O,c)))).map(O=>new Uint8Array(O.split(",").map(Number))),X=await Yi(N),W=new TextDecoder().decode(X);if(W){let O=k?"":$e(K),I=k?await qe(W,k,K):je(W,O),j=new Ue(W),B=await j.getAddress(),z=j.setProvider(new ot(b)),ne=[Gi,Bi,Fi,Vi,$i,Mi].find(R=>Number(R?.id)===Number(m)),oe=await _t(ne,Di(),z);return!e&&chrome?.storage?.local?await chrome.storage.local.set({myVault:JSON.stringify({address:oe,regAddress:B,vaultId:l,hashedVaultId:a,pk:I,channel:L})}):!e&&!chrome?.storage?.local&&localStorage?localStorage.setItem("myVault",JSON.stringify({address:oe,regAddress:B,vaultId:l,hashedVaultId:a,pk:I,channel:L})):e&&t&&await t.setItem("myVault",JSON.stringify({address:oe,regAddress:B,vaultId:l,hashedVaultId:a,pk:I,channel:L})),!0}}else return!1}else return!1}).catch(h=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",h),!1)):!1).catch(P=>(process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error while restoring login access",P),!1)):!1}};var Hi=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n}=e.platform,[r,w]=ut(e.fontsLoaded||!1),m=Ii([]),[b,y]=ut(!1),[A,P]=ut(60),[h,C]=ut(["","","",""]),[c,p]=ut(!1),[N,X]=ut(""),{pk:W,vaultContract:O,address:I}=Te();Fn(()=>{let R=async()=>{if(t)u&&await _e(u),w(!0);else{let V=xe(document);w(V)}};e.fontsLoaded||R()},[]),Fn(()=>{if(A===0)return;let R=setInterval(()=>P(V=>V-1),1e3);return()=>clearInterval(R)},[A]);let j=(R,V)=>{if(R?.length>1){let Y=R.replace(/\D/g,""),he=[...h],S=0;for(let q=V;q<h.length&&S<Y.length;q++)he[q]=Y[S],S++;C(he);let fe=V+Y.length;fe<h.length&&m.current[fe]&&m.current[fe].focus(),p(!1)}else{let Y=R.replace(/\D/g,""),he=[...h];he[V]=Y,C(he),Y&&m.current[V+1]&&m.current[V+1].focus(),p(!1)}},B=(R,V,Y)=>{Y.nativeEvent.key==="Backspace"&&!h[V]&&V>0&&m.current[V-1]&&m.current[V-1].focus()},H=h.every(R=>R.length>0),z=()=>e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,ne=async()=>{if(!H||!e.helperFunctions){p(!0),X("Please enter the complete OTP.");return}let R=z(),V=h.join("");if(!(!e.noContract&&!W||!e.noContract&&!O)){e.setIsLoading(!0);try{if(!await e.helperFunctions.checkOTPVerification(I,R,V)){e.setIsLoading(!1),p(!0);return}let he=Q(R),S=!1;if(!e.noContract&&O&&(S=await Nn(O,he),S===null)){e.setIsLoading(!1),X("Unexpected error. Try again later."),p(!0);return}e.setIsExistingUser?.(S),e.setIsLoading(!1),e.setStep("4")}catch(Y){e.setIsLoading(!1),X("Error verifying OTP. Try again."),p(!0),console.error("error: ",Y)}}},oe=async()=>{if(!e.helperFunctions){X("Helper functions missing."),p(!0);return}let R=z(),V=e.userEmail?"email":"sms";e.setIsLoading(!0);let Y=await e.helperFunctions.sendOTPVerification(I,V,R);e.setIsLoading(!1),Y?(C(["","","",""]),P(60),p(!1),X("")):Se("OTP resend failed","Please try again later.")};return $.createElement(K,null,r&&$.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},$.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},$.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"0"}),$.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},$.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Enter OTP"),$.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},$.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Enter"," ",$.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",":"),$.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},$.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt&&$.createElement($.Fragment,null,$.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`(+${e.selectedCountry.area}) `),$.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[0]," "),$.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},e.userNumberFmt.split(" ")[1])),e.userEmail&&$.createElement(i,null,e.userEmail)),$.createElement(s,{style:{background:"transparent",width:20,height:20},onPress:()=>{e.setUserNumberFmt(""),e.setUserEmail(""),e.setStep("2")}},$.createElement(l,{source:{uri:T.editBlue},alt:"Edit",style:t?{...n.verifiedCustdMdlStOtpIcon,width:20,height:20}:{},className:"verified-custd-mdl-st-otp-icon"}))))),$.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},$.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},h.map((R,V)=>$.createElement(x,{key:V,ref:Y=>m.current[V]=Y,value:h[V],onChangeText:Y=>j(Y,V),onKeyPress:Y=>B(Y,V,Y),keyboardType:"number-pad",maxLength:1,style:t&&c?{...n.verifiedCustdMdlOtpInputRed}:t&&!c?{...n.verifiedCustdMdlOtpInput}:{},className:c?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input"}))),$.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!c&&A>5&&N===""&&$.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimerText}:{},className:"verified-custd-mdl-otp-timer-text"},$.createElement(i,{style:{color:"#717286",fontWeight:"400"}},"00:"),A),!c&&A<=5&&A>0&&N===""&&$.createElement(i,{style:t?{...n.verifiedCustdMdlOtpTimerTextRed}:{},className:"verified-custd-mdl-otp-timer-text-red"},$.createElement(i,{style:{fontWeight:"400"}},"00:"),A),!c&&A===0&&N===""&&$.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Didn't receive an OTP ?"),c&&N===""&&$.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct OTP"),c&&N?.length>0&&$.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},N),!c&&A>0&&N===""&&$.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Resend OTP"),!c&&A===0&&N===""||c&&N===""?$.createElement(s,{style:{background:"transparent"},onPress:async()=>{C(["","","",""]),await oe()}},$.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendTextActive}:{},className:"verified-custd-mdl-otp-resend-text-active"},"Resend OTP")):null)),!b&&$.createElement(a,{style:{height:"100px"}}),$.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},$.createElement(s,{className:H&&!c?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:ne,disabled:!H||c,style:H&&!c?{...n.verifiedCustdMdlStartupButtonActive}:{...n.verifiedCustdMdlStartupButton}},$.createElement(i,null,"Proceed"))))),!r&&$.createElement(i,null,"Loading Module Fonts..."))},dn=Hi;import d,{useEffect as Bn,useRef as Vn,useState as ce}from"react";import Ie,{useEffect as Oi}from"react";var Ji=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n,EventEmitter:r}=e.platform;Oi(()=>{let y;return e.showButton||(y=setTimeout(()=>{if(e.messageTosend)try{let A=t?null:window;if(!t&&chrome?.runtime?.sendMessage)chrome.runtime.sendMessage(e.messageTosend,P=>{P&&e.action!=="signRecovery"&&A?.close()});else if(!t&&!chrome?.runtime?.sendMessage){let P=new CustomEvent(e.messageTosend?.type,{detail:{value:e.messageTosend?.value}});A?.dispatchEvent(P)}else t&&r&&new r().emit(e.messageTosend?.type,{value:e.messageTosend?.value})}catch(A){process.env.REACT_APP_NODE_ENV!=="production"&&console.error("error sending message: ",A)}e.setStep&&e.stepToSet&&e.setStep(e.stepToSet)},e.timeoutTime??3e3)),()=>{y&&clearTimeout(y)}},[]);let w=()=>{e.setStep?.("6")},m=()=>{!t&&chrome.runtime&&chrome.runtime.sendMessage({type:"VW_REQ",params:{method:"closePopup"}})},b=()=>{e.handleShowDashboard()};return Ie.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.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContent}:{},className:"verified-custd-mdl-success-popup-content"},Ie.createElement(l,{style:{width:"90%"},source:{uri:T.successIcon},alt:"Success Icon"}),Ie.createElement(a,{style:t?{...n.verifiedCustdMdlSuccessPopupContentText}:{},className:"verified-custd-mdl-success-popup-content-text"},Ie.createElement(i,{style:t?{...n.verifiedCustdMdlSuccessPopupContentTextHeader}:{},className:"verified-custd-mdl-success-popup-content-text-header"},e?.showButton?e.actionHeaderText:e.customTextHeader),Ie.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.createElement(s,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginTop:10}:{marginTop:10},onPress:()=>{e.action==="invitation"?w():e.action==="completeRecovery"?b():e.buttonFunc&&e.buttonFunc()},className:"verified-custd-mdl-startup-button-active"},Ie.createElement(i,{style:{fontSize:14}},e.buttonText)),e.showButton&&e.buttonNeutText?.length>0&&Ie.createElement(s,{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.createElement(i,{style:{fontSize:14}},e.buttonNeutText)))},Ye=Ji;import{contractAddress as Ri,Provider as Ui}from"@verified-network/verified-sdk";import{ethers as $n}from"ethers";var Qi=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,EventEmitter:n,styles:r,rnPasskey:w}=e.platform,[m,b]=ce(e.fontsLoaded||!1),[y,A]=ce(!0),[P,h]=ce(!1),[C,c]=ce(""),[p,N]=ce(!1),[X,W]=ce(!1),[O,I]=ce(!1),[j,B]=ce(!1),[H,z]=ce(""),[ne,oe]=ce(""),[R,V]=ce(null),[Y,he]=ce(!1),[S,fe]=ce(!1),[q,Ge]=ce(!1),[de,ie]=ce(""),[F,ge]=ce(""),[me,Le]=ce([]),[ae,Ne]=ce(0),{address:re,pk:G,chainId:Fe,vaultContract:Be,signer:rt,setVaultData:ue,setChainId:De,setAddress:Ze,setPk:ze,setProvider:be,setSigner:dt,setVaultContract:st,vaultData:D}=Te(),[f,M]=ce(["","","",""]),[_,ee]=ce(["","","",""]),ye=Vn([]),Xe=Vn([]);Bn(()=>{let E=async()=>{if(t)u&&await _e(u),b(!0);else{let v=xe(document);b(v)}};e.fontsLoaded||E()},[]),Bn(()=>{let E=async()=>{e.setIsLoading&&e.setIsLoading(!0);let v=await e.vaultData?.vaultContract.getQuorum(e.vaultData?.hashedVaultId);if(v?.status===0&&v?.response?.result?.length>0){let mt=Number(v?.response?.result[0]);Ne(mt)}if(e.vaultData?.existingCosignersHashed?.length>0){Le([...new Set(e.vaultData?.existingCosignersHashed)]),e.setIsLoading&&e.setIsLoading(!1);return}let ve=Ri[Fe]?.Custody;if(!ve)return;let ke=[{anonymous:!1,inputs:[{indexed:!1,name:"creator",type:"bytes32"},{indexed:!1,name:"participant",type:"bytes32"}],name:"NewParticipant",type:"event"}];if(!new $n.Contract(ve,ke,e.vaultData?.signer))return;let Ce=new $n.Interface(ke),Hn=Ce.getEvent("NewParticipant").topicHash,On=(await new Ui(le[Fe]?.rpcUrls[0])?.getLogs({address:ve,fromBlock:le[Fe]?.custodyContractBlock||0,toBlock:"latest",topics:[Hn]}))?.map(mt=>{let bt=Ce.parseLog(mt);return bt?.args?.creator?.toLowerCase()===Q(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)&&bt?.args?.creator!==bt?.args?.participant?bt?.args?.participant:null})?.filter(mt=>mt!==null);Le([...new Set(On)]),e.setIsLoading&&e.setIsLoading(!1)};e.isExistingUser&&e.action==="reset-pin"&&e.vaultData?.signer,e.vaultData?.hashedVaultId,e.vaultData?.vaultContract&&E()},[e.isExistingUser,e.action,e.vaultData]);let He=(E,v,U)=>{h(!1),c("");let ve=E.replace(/\D/g,""),ke=U?[..._]:[...f];ke[v]=ve,U?(ee(ke),ve&&Xe.current[v+1]&&Xe.current[v+1].focus(),v<3&&ke.every(Ve=>Ve!=="")&&f.every(Ve=>Ve!=="")&&ke.join("")!==f.join("")&&(h(!0),c("Confirm Pin must match New Pin.")),v===3&&f.join("")!==ke.join("")&&(h(!0),c("Confirm Pin must match New Pin."))):(M(ke),ve&&ye.current[v+1]&&ye.current[v+1].focus(),_.every(Ve=>Ve!=="")&&ke.join("")!==_.join("")&&(h(!0),c("New Pin must match Confirm Pin.")))},Lt=async()=>{c(""),h(!1);try{let E=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,v=t?w.create(on("Verified Wallet",E,Q(E))):await navigator?.credentials?.create({publicKey:on("Verified Wallet",E,Q(E))}),U=Re(v?.rawId);return{pinString:v?.id,hashed:U,rawId:v?.rawId}}catch(E){return c(`Passkey creation failed: ${E?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),h(!0),null}},Yt=async()=>{c(""),h(!1);try{let E=t?await w.get(lt()):await navigator.credentials.get({publicKey:lt()}),v=Re(E?.rawId);return{pinString:E?.id,hashed:v,rawId:E?.rawId}}catch(E){c(`Passkey authentication failed: ${E?.message?.replace("See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.","")} Try again later`),h(!0)}},Gt=(E,v,U,ve)=>{let ke=U.nativeEvent.key;!ve&&ke==="Backspace"&&!f[v]&&v>0&&ye.current[v-1]&&ye.current[v-1].focus(),ve&&ke==="Backspace"&&!_[v]&&v>0&&Xe.current[v-1]&&Xe.current[v-1].focus()},Oe=()=>S?e.isExistingUser?f.every(E=>E!==""):f.every(E=>E!=="")&&_.every(E=>E!==""&&f.join("")===_.join("")):!0,et=()=>!!(q&&F?.length===66&&F?.toLowerCase()?.startsWith("0x")),Me=async E=>{if(!e.helperFunctions)c("No Helper Functions. Please include all helper functions in the CreatePinPage props."),h(!0);else{c(""),h(!1);let v=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,U=e.userEmail?.length>0?"email":"sms";if(!e.isExistingUser&&Oe()&&v&&U&&G&&re&&Be||!e.isExistingUser&&Oe()&&v&&U&&e.vaultData?.vaultContract&&e.vaultData?.hashedOldPin||e.isExistingUser&&Oe()&&v&&U&&G&&re&&Be||e.isExistingUser&&Oe()&&v&&U&&e.vaultData?.vaultContract){e.setIsLoading(!0);let ve=E?.pinString||f.join(""),ke=Q(v),Ve=E?.hashed||Q(ve);await Xn(t,k,n,v,ke,ve,Ve,U,E?.pk?E?.pk:G||e.vaultData?.pk,E?.address?E?.address:re||e.vaultData?.address,E?.vaultContract?E?.vaultContract:Be||e.vaultData?.vaultContract,e.action,E?.vaultData?E?.vaultData:e.vaultData,e.txData,E?.rawId,e.action==="reset-pin"?[e.vaultData?.hashedVaultId,...me]:void 0,ae).then(async Ce=>{e.setIsLoading(!1),Ce?(ue(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),c(""),h(!1),e.action==="invitation"?(oe(ve),V(E?.rawId),W(!0)):e.action==="reset-pin"?(!t&&chrome?.storage?.local&&S?chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage&&S?localStorage.removeItem("myVault"):t&&k&&S&&await k.removeItem("myVault"),await e.helperFunctions.sendCreatorAuthChanged(U,v,E?.hashed,e.vaultData.hashedVaultPin,Date.now()),z(`You have successfully reset your account ${S?"4-Digits PIN":"Passkey"}. ${S?"Login with the new 4-Digits PIN":"your new Passkey will be used to authenticate your account."}`),N(!0)):Ce?.shouldStop?Ce?.shouldStop&&e.action!=="getPk"?(z(""),N(!0)):Ce?.shouldStop&&e.action==="getPk"&&e.setStep("0"):e.setStep("5")):Ce===null?e.action==="reset-pin"?(c("Reset pin failed. Try again later."),h(!0)):(c(`You are an existing user. Please use the right ${S?"existing 4-Digits PIN":"existing Passkey for "+v} to recover your account login access on this device/browser`),h(!0)):(c("Unexpected error while creating account. Please try again later."),h(!0))})}else Oe()||(c(e.isExistingUser?"Enter full pin.":"New Pin must match Confirm Pin."),h(!0))}},tt=async E=>{let v=e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`,U=e.userEmail?.length>0?"email":"sms";if(ne?.length===4&&e?.vaultData?.hashedVaultId&&e.vaultData?.hashedVaultPin&&v){e.setIsLoading(!0);let ve=Q(v),ke=S?Q(ne):Re(R);await Xt(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,U,ve,ke,e?.vaultData?.hashedVaultId,e.vaultData?.hashedVaultPin,e.vaultData?.vaultId,v,E,Be).then(Ve=>{e.setIsLoading(!1),Ve&&!D?.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(E?`You have been added as a Co-Signer for ${e.vaultData?.vaultId}`:`You rejected Co-signer reject from ${e.vaultData?.vaultId}`),e.setStep("5")):Ve&&D?.isExisting&&I(!0)})}};return d.createElement(K,{contentContainerStyle:{flexGrow:1,padding:16,backgroundColor:"#fff"}},m&&d.createElement(d.Fragment,null,!p&&!X&&d.createElement(d.Fragment,null,!q&&d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},d.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},!e.isExistingUser&&d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},S?"Create PIN":"Secure Your Account with a Passkey"),e.isExistingUser&&e.action!=="reset-pin"&&d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},S?"Enter PIN":"Sign-in with Existing Passkey"),e.isExistingUser&&e.action==="reset-pin"&&d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},S?"Change Pin":"Change Passkey"),d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!e.isExistingUser&&d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Protect your blockchain assets with"," ",S?"PIN":"Passkey",". This"," ",S?"PIN":"Passkey"," will be required for all future transactions and logins."),e.isExistingUser&&d.createElement(d.Fragment,null,e.action!=="reset-pin"&&d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",d.createElement(i,{style:{color:"#0C0C0E"}},S?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",d.createElement(i,{style:{color:"#0C0C0E"}},e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)," ","account."),e.action==="reset-pin"&&d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, Create new",d.createElement(i,{style:{color:"#0C0C0E"}},S?"4-Digits PIN":"Passkey")," ","for your"," ",d.createElement(i,{style:{color:"#0C0C0E"}},e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)," ","account.")))),!S&&d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitle,fontSize:J(t,"14px")}:{fontSize:J(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(s,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey"))),S&&d.createElement(d.Fragment,null,d.createElement(a,{style:t?{...r.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},!e.isExistingUser&&d.createElement(i,{style:t?{...r.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"New PIN"),d.createElement(a,{style:t?{...r.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},f.map((E,v)=>d.createElement(x,{key:`pin-${v}`,style:t&&P?{...r.verifiedCustdMdlOtpInputRed}:t&&P?{...r.verifiedCustdMdlOtpInput}:{},className:P?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:y,keyboardType:"number-pad",maxLength:1,ref:U=>ye.current[v]=U,value:f[v],onChangeText:U=>He(U,v,!1),onKeyPress:U=>Gt(U,v,U,!1)}))),e.isExistingUser&&d.createElement(a,{style:t?{...r.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!P&&d.createElement(i,null),P&&C===""&&d.createElement(i,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),P&&C?.length>0&&d.createElement(i,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),!y&&d.createElement(s,{style:{background:"transparent",width:24,height:24},onPress:()=>A(!0)},d.createElement(l,{style:{cursor:"pointer",width:24,height:24},source:{uri:T.pinShow}})),y&&d.createElement(s,{style:{background:"transparent",width:24,height:24},onPress:()=>A(!1)},d.createElement(l,{style:{cursor:"pointer",width:24,height:24},source:{uri:T.pinHide}})))),!e.isExistingUser&&d.createElement(a,{style:t?{...r.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},d.createElement(i,{style:t?{...r.verifiedCustdMdlPinInputContainerText}:{},className:"verified-custd-mdl-pin-input-container-text"},"Confirm PIN"),d.createElement(a,{style:t?{...r.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},_.map((E,v)=>d.createElement(x,{key:`confirm-${v}`,style:t&&P?{...r.verifiedCustdMdlOtpInputRed}:t&&!P?{...r.verifiedCustdMdlOtpInput}:{},className:P?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",secureTextEntry:y,keyboardType:"number-pad",maxLength:1,ref:U=>Xe.current[v]=U,value:_[v],onChangeText:U=>He(U,v,!0),onKeyPress:U=>Gt(U,v,U,!0)}))),d.createElement(a,{style:t?{...r.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},!P&&d.createElement(i,null),P&&C===""&&d.createElement(i,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),P&&C?.length>0&&d.createElement(i,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),!y&&d.createElement(s,{style:{background:"transparent",width:24,height:24},onPress:()=>A(!0)},d.createElement(l,{style:{cursor:"pointer",width:24,height:24},source:{uri:T.pinShow}})),y&&d.createElement(s,{style:{background:"transparent",width:24,height:24},onPress:()=>A(!1)},d.createElement(l,{style:{cursor:"pointer",width:24,height:24},source:{uri:T.pinHide}})))))),!Y&&d.createElement(a,{style:{height:20}}),d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},d.createElement(a,{style:t?{...r.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},!S&&d.createElement(d.Fragment,null,P&&C?.length>0&&d.createElement(i,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),e.isExistingUser&&d.createElement(d.Fragment,null,e.action==="reset-pin"&&!S&&d.createElement(i,{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.createElement(s,{id:"verified-custd-mdl-otp-button",style:t?{...r.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async E=>{if(e.action==="reset-pin"){let v=await Lt();v&&await Me(v)}else{let v=await Yt();v&&await Me(v)}}},e.action==="reset-pin"&&d.createElement(i,null,"Create New Passkey"),e.action!=="reset-pin"&&d.createElement(i,null,"Login With Passkey"))),!e.isExistingUser&&d.createElement(d.Fragment,null,d.createElement(s,{id:"verified-custd-mdl-otp-button",style:t?{...r.verifiedCustdMdlStartupButtonActive}:{},className:"verified-custd-mdl-startup-button-active",onPress:async E=>{let v=await Lt();v&&await Me(v)}},d.createElement(i,null,"Create New Account")),d.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-amount-info-separator",style:t?{...r.verifiedCustdMdlPPPaymentPortalAmountInfoSeparator}:{}},d.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...r.verifiedCustdMdlPPPaymentPortalLine}:{}}),d.createElement(i,{className:"verified-custd-mdl-p-payment-portal-separator-text",style:t?{...r.verifiedCustdMdlPPaymentPortalSeparatorText}:{}},"OR"),d.createElement(a,{className:"verified-custd-mdl-p-p-payment-portal-line",style:t?{...r.verifiedCustdMdlPPPaymentPortalLine}:{}})),d.createElement(s,{style:t?{...r.verifiedCustdMdlStartupButtonActive,border:"1px solid #0c0c0e"}:{border:"1px solid var(--Neutral-950, #0c0c0e)"},className:"verified-custd-mdl-startup-button-click",onPress:async E=>{Ge(!0)}},d.createElement(i,null,"Import An Existing account")))),S&&d.createElement(s,{id:"verified-custd-mdl-otp-button",style:t&&Oe()?{...r.verifiedCustdMdlStartupButtonActive}:t&&!Oe()?{...r.verifiedCustdMdlStartupButton}:{},className:Oe()?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:async E=>{await Me()}},d.createElement(i,null,"Proceed"))))),q&&d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupLanguage}:{},className:"verified-custd-mdl-startup-language"},d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},d.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},"Import Existing Account"))),d.createElement(a,{style:t?{...r.verifiedCustdMdlStContactInput,marginTop:"20px",marginBottom:"20px"}:{marginTop:"20px",marginBottom:"20px"},className:"verified-custd-mdl-st-contact-input"},d.createElement(x,{style:t?{...r.verifiedCustdMdlStContactSecondSection}:{},className:"verified-custd-mdl-st-contact-second-section",placeholder:"Private key starting with 0x",placeholderTextColor:"#b6b7c3",value:F,onChangeText:E=>{ge(E)}}),de?.length>0&&d.createElement(i,{style:t?{...r.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},de)),d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitle,fontSize:J(t,"14px")}:{fontSize:J(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.createElement(s,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey"))),!Y&&d.createElement(a,{style:{height:20}}),d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},d.createElement(a,{style:t?{...r.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},P&&C?.length>0&&d.createElement(i,{style:t?{...r.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},C),d.createElement(s,{id:"verified-custd-mdl-otp-button",style:t&&et()?{...r.verifiedCustdMdlStartupButtonActive}:t&&!et()?{...r.verifiedCustdMdlStartupButton}:{},className:et()?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",onPress:async E=>{try{if(!et()){h(!0),c("Invalid private key entered. Please scroll up, check private key and try again.");return}let v=await We(Fe,F);if(!v?.chainId||!v?.address||!v?.pk||!v?.provider||!v?.signer||!v?.vaultContract){h(!0),c("Invalid private key entered. Please check private key starts with 0x and try again.");return}De(v.chainId),Ze(v.address),ze(v.pk),be(v.provider),dt(v.signer),ue(v.vaultData),st(v.vaultContract);let U=await Lt();U&&await Me({...U,pk:v.pk,vaultContract:v.vaultContract,signer:v.signer,address:v.address,vaultData:v.vaultData})}catch{h(!0),c("Error while importing account.try again later.");return}}},d.createElement(i,null,"Proceed With Passkey")))))),!p&&X&&d.createElement(d.Fragment,null,!O&&d.createElement(a,{className:"verified-custd-mdl-startup-language",style:t?{...r.verifiedCustdMdlStartupLanguage,padding:0,position:"relative"}:{padding:0,position:"relative"}},d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},d.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),d.createElement(a,{style:t?{...r.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},d.createElement(i,{style:t?{...r.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},d.createElement(i,{style:{fontWeight:"bold"}},e.vaultData?.vaultId)," ","has requested you to be a Co-Signer"))),d.createElement(l,{style:t?{...r.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:T.addCoSignerIcon1}}),!j&&d.createElement(K,null,d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),d.createElement(i,{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.createElement(a,{className:"verified-custd-mdl-add-cosigner-body-text-cont"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},d.createElement(l,{source:{uri:T.pkicon}})),d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},d.createElement(l,{source:{uri:T.encryptedIcon}})),d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",d.createElement(i,{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.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},d.createElement(s,{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:()=>B(!0)},d.createElement(i,null,"Reject")),d.createElement(s,{style:t?{...r.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await tt(!0)}},d.createElement(i,null,"Accept")))),j&&d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},d.createElement(i,{style:t?{...r.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),d.createElement(i,{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.createElement(i,{style:{fontWeight:"bold"}},e.vaultData?.vaultId),", you will not be able to reset the PIN for them.")),d.createElement(a,{style:t?{...r.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},d.createElement(s,{style:t?{...r.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:async()=>{await tt(!1)}},d.createElement(i,null,"Yes")),d.createElement(s,{style:t?{...r.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action",onPress:()=>B(!1)},d.createElement(i,null,"No"))))))),O&&d.createElement(Ye,{platform:e.platform,messageTosend:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:j?`You rejected Co-signer request from ${e.vaultData?.vaultId}`:`You have been added as a Co-Signer for ${e.vaultData?.vaultId}`})),p&&d.createElement(Ye,{platform:e.platform,messageTosend:{type:"closePopup",key:"",value:""},customTextHeader:"Successful",customTextFooter:H?.length>0?H:"You have successfully logged in your account."})),!m&&d.createElement(i,null,"Loading Module Fonts..."))},Pt=Qi;import o,{useEffect as Dn,useState as se}from"react";import{ethers as In}from"ethers";import{contractAddress as Wi,Provider as ji}from"@verified-network/verified-sdk";var qi=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n}=e.platform,[r,w]=se(e.fontsLoaded||!1),[m,b]=se(!1),[y,A]=se("1"),[P,h]=se("1"),[C,c]=se(!1),[p,N]=se("email"),[X,W]=se(""),[O,I]=se(""),[j,B]=se(""),[H,z]=se(""),[ne,oe]=se(""),[R,V]=se(!1),[Y,he]=se(e.defaultCountry||{area:"1",flag:T.usaFlag,name:"United States"}),[S,fe]=se([]),[q,Ge]=se(0),[de,ie]=se([]),[F,ge]=se([]),[me,Le]=se(!1),[ae,Ne]=se(2),[re,G]=se(""),[Fe,Be]=se(!1),{pk:rt,vaultData:ue,vaultContract:De,chainId:Ze,signer:ze}=Te();Dn(()=>{let D=async()=>{if(t)try{let f=await _e(u);w(!0)}catch{w(!1)}else{let f=xe(document);w(f)}};e.fontsLoaded||D()},[]),Dn(()=>{let D=async()=>{e.setIsLoading&&e.setIsLoading(!0);let f=Q(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`),M=await De.getQuorum(f);if(M?.status===0&&M?.response?.result?.length>0){let Me=Number(M?.response?.result[0]);Ge(Me),ge(new Array(Me).fill(" "))}if(e.setIsLoading&&e.setIsLoading(!1),ue?.existingCosignersHashed?.length>0){ie([...new Set(ue?.existingCosignersHashed)]),ge([...new Set(ue?.existingCosignersHashed)]);return}let ee=Wi[Ze]?.Custody;if(!ee)return;let ye=[{anonymous:!1,inputs:[{indexed:!1,name:"creator",type:"bytes32"},{indexed:!1,name:"participant",type:"bytes32"}],name:"NewParticipant",type:"event"}];if(!new In.Contract(ee,ye,ze))return;let He=new In.Interface(ye),Yt=He.getEvent("NewParticipant").topicHash,et=(await new ji(le[Ze]?.rpcUrls[0])?.getLogs({address:ee,fromBlock:le[Ze]?.custodyContractBlock||0,toBlock:"latest",topics:[Yt]}))?.map(Me=>{let tt=He.parseLog(Me);return tt?.args?.creator?.toLowerCase()===Q(e.userEmail?.length>0?e.userEmail:`+${e.selectedCountry.area}${e.userNumberFmt?.replace(" ","")}`)&&tt?.args?.creator!==tt?.args?.participant?tt?.args?.participant:null})?.filter(Me=>Me!==null);ie([...new Set(et)]),ge([...new Set(et)])};(e.userEmail?.length>0&&e.action==="remove-cosigner"&&ze&&De||e.userNumberFmt?.length>0&&e.action==="remove-cosigner"&&ze&&De)&&D()},[e.userEmail,e.action,e.userNumberFmt,e.selectedCountry.area]);let be=()=>{},dt=()=>{let D=S?.length;if(p==="sms"&&X?.length===0){G("Invalid input, please check the phone number");return}else if(p==="sms"&&X?.length!==10){G("Invalid input, please check the phone number");return}else if(p==="email"&&j?.length===0){G("Invalid input, please check the email");return}else if(p==="email"&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(j)){G("Invalid input, please check the email");return}else if(S?.find(f=>f?.otpChannel==="sms"?f?.phoneArea?.toLowerCase()+f?.number?.toLowerCase()===Y.area?.toLowerCase()+O?.toLowerCase():f?.email?.toLowerCase()===j?.toLowerCase())){e.action!=="remove-cosigner"&&G(p==="sms"?"Invalid input, phone number is already a co-signer":"Invalid input, email is already a co-signer"),e.action==="remove-cosigner"&&G(p==="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(p==="sms"&&Y?.area?.toLowerCase()+O?.toLowerCase()===e.selectedCountry.area?.toLowerCase()+e.userNumberFmt?.toLowerCase()){G("Invalid input, phone number is creator's phone number");return}else if(p==="email"&&j?.toLowerCase()===e.userEmail?.toLowerCase()){G("Invalid input, email is creator's email");return}else if(e.action==="remove-cosigner"&&de?.length===0){G("Error while fetching your existing cosigners. Try again later");return}else if(e.action==="remove-cosigner"&&!de?.includes(Q(p==="sms"?`+${Y?.area}${X}`:j))){G(p==="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"&&F?.length===1){G("You have only 1 co-signer left, at least one(1) co-signer is required.");return}else if(D+1===5){G("You cannot add more than 5 Co-signers to your account. You can delete existing cosigner and add new one.");return}G(""),fe(f=>[{name:H,email:j,number:O,phoneNumber:`+${Y?.area}${X}`,otpChannel:p,phoneArea:Y?.area,position:f?.length+1,vaultId:p==="sms"?`+${Y?.area}${X}`:j},...f]),B(""),z(""),W(""),I(""),oe(""),D+1===4&&c(!1),e.action==="remove-cosigner"&&F?.length>1&&ge(F?.filter(f=>f!==Q(p==="sms"?`+${Y?.area}${X}`:j)))},st=async()=>{let D=e.action!=="remove-cosigner"?[{otpChannel:e?.userEmail?.length>0?"email":"sms",email:e?.userEmail,phoneNumber:`+${e?.selectedCountry?.area}${e?.userNumberFmt?.replace(" ","")}`,vaultId:ue?.vaultId},...S]:[ue?.hashedVaultId,...F];(e.action!=="remove-cosigner"&&D?.length>0&&S?.length>0&&ae&&ue?.vaultId&&ue?.hashedVaultId&&De&&rt&&e.helperFunctions?.sendCoSignerInvitation&&e.helperFunctions?.sendCreatorConfirmation||e.action==="remove-cosigner"&&D?.length>1&&ae&&ue?.vaultId&&ue?.hashedVaultId&&De&&rt&&e.helperFunctions?.sendCoSignerInvitation&&e.helperFunctions?.sendCreatorConfirmation)&&(e.setIsLoading(!0),await En(e.helperFunctions.sendCoSignerInvitation,e.helperFunctions.sendCreatorConfirmation,D,S,e?.userEmail?.length>0?"email":"sms",ae,ue.vaultId,ue.hashedVaultId,ue.vaultPin,ue.hashedVaultPin,De,rt,ue?.rawId,e.action).then(f=>{e.setIsLoading(!1),f&&(e.action==="remove-cosigner"?Be(!0):e.setStep("7"))}))};return o.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"0"}:{padding:"0"},className:"verified-custd-mdl-startup-language"},r&&!Fe&&o.createElement(o.Fragment,null,!m&&o.createElement(o.Fragment,null,P==="1"&&o.createElement(o.Fragment,null,o.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},o.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),o.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},o.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.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:T.addCoSignerIcon1},alt:""}),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBody}:{},className:"verified-custd-mdl-add-cosigner-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.createElement(l,{source:{uri:T.pkicon},alt:"icon"})),o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"This is a blockchain based platform where"," ",o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"we do not store password keys."))),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.createElement(l,{source:{uri:T.encryptedIcon},alt:"icon"})),o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, the"," ",o.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.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},o.createElement(l,{source:{uri:T.supervise},alt:"icon"})),e.action!=="remove-cosigner"&&o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"You can"," ",o.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.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"You may remove an existing Co-signer; however"," ",o.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.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid #0C0C0E",color:"#0C0C0E"},onPress:()=>{A("1"),b(!0)},className:"verified-custd-mdl-add-cosigner-button-neut"},o.createElement(i,null,"Learn More")),o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,width:"50%"}:{width:"50%"},onPress:()=>{h("2"),c(!1),b(!1)},className:"verified-custd-mdl-add-cosigner-button-action"},o.createElement(i,null,e.action==="remove-cosigner"?"Manage Signers":"Add Co-Signer")))),P==="2"&&o.createElement(o.Fragment,null," ",o.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},o.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"2"}),o.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent,gap:16}:{gap:16},className:"verified-custd-mdl-startup-contact-content"},o.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.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},!me&&o.createElement(o.Fragment,null,o.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.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderText}:{},className:"verified-custd-mdl-add-cosigner-header-text"},"You Signing rule is"," ",o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoTextBold}:{},className:"verified-custd-mdl-add-cosigner-header-info-text-bold"},q," required signers"))),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoCont}:{},className:"verified-custd-mdl-add-cosigner-header-info-cont"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerHeaderInfoText}:{},className:"verified-custd-mdl-add-cosigner-header-info-text"},o.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.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2Body}:{},className:"verified-custd-mdl-add-cosigner-step2-body"},e.action==="remove-cosigner"&&o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},"Creator")),o.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},"You"),e.userEmail?.length>0&&o.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.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",e.selectedCountry.area,")"," ",e.userNumberFmt))))),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header"},o.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.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-second-text"},"(",S?.length+1<5?S?.length+1:5,"/5)"),e.action==="remove-cosigner"&&o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyHeaderSecondText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-header-second-text"},"(",S?.length,"/5)")),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContent}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header"},e.action==="remove-cosigner"&&F?.includes(" ")&&o.createElement(i,{style:t?{...n.verifiedCustdMdlOtpResendText}:{},className:"verified-custd-mdl-otp-resend-text"},"Fetching previous Co-signers..."),e.action!=="remove-cosigner"&&o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},"Creator")),o.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},"You"),e.userEmail?.length>0&&o.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.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",e.selectedCountry.area,")"," ",e.userNumberFmt))))),!me&&S.sort((D,f)=>D?.position-f?.position).map((D,f)=>o.createElement(a,{key:f,style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderBody}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabel}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentHeaderLabelText}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-header-label-text"},Ct[D?.position]?.split(" ")[0],o.createElement(i,null,o.createElement(i,{style:{fontSize:10}},Ct[D?.position]?.split(" ")[1]))," ","Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":"")),o.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderCont}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeader}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-header"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyTitle}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-title"},D?.name),D.otpChannel==="email"&&o.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},D.email),D.otpChannel==="sms"&&o.createElement(i,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyLabel}:{},className:"verified-custd-mdl-a-c-2-b-content-header-body-label"},"(+",D?.phoneArea,") ",D.number))),o.createElement(a,{style:t?{...n.verifiedCustdMdlAC2BContentHeaderBodyHeaderIcons,flexDirection:"row"}:{flexDirection:"row"},className:"verified-custd-mdl-a-c-2-b-content-header-body-header-icons"},o.createElement(s,{style:{background:"transparent",width:24,height:24},onPress:()=>{fe(M=>M?.filter(_=>_?.otpChannel==="sms"?_?.phoneArea?.toLowerCase()+_?.number?.toLowerCase()!==D?.phoneArea?.toLowerCase()+D?.number?.toLowerCase():_?.email?.toLowerCase()!==D?.email?.toLowerCase())?.map((_,ee)=>(_.position=ee+1,_))),be()}},o.createElement(l,{style:{cursor:"pointer",width:24,height:24},source:{uri:T.delete}}))))))),me&&o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},o.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.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.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooter,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-add-cosigner-confirm-body-footer"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-cont"},new Array(e.action==="remove-cosigner"?F?.length+1:S?.length+1).fill("1").map((D,f)=>o.createElement(a,{key:f,className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind",style:f+1===ae&&t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd}:f+1===ae&&!t?{}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterInd,height:0,width:0,overflow:"hidden"}:{height:0,width:0,overflow:"hidden"}},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text-cont"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndText}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-text"},String(f+1))),o.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterIndIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-ind-icon",source:{uri:T.pointer}})))),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSlider}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider"},e.action!=="remove-cosigner"&&o.createElement(a,{style:t&&S?.length===1?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/S?.length}%`}:!t&&S?.length===1?{width:`${100/S?.length}%`}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/S?.length+5}%`}:{width:`calc(${100/S?.length}% + 12px)`},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind"},o.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon",source:{uri:T.sliderDot}})),e.action==="remove-cosigner"&&o.createElement(a,{style:t&&F?.length===1?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/F?.length}%`}:!t&&F?.length===1?{width:`${100/F?.length}%`}:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderInd,width:`${100/F?.length+5}%`}:{width:`calc(${100/F?.length}% + 12px)`},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-ind"},o.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelSliderIcon}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-slider-icon",source:{uri:T.sliderDot}})))),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelTextCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text-cont"},new Array(e.action==="remove-cosigner"?F?.length+1:S?.length+1).fill("1").map((D,f)=>o.createElement(s,{style:{background:"transparent"},key:f,onPress:()=>{f+1>1&&Ne(f+1)}},e.action!=="remove-cosigner"&&o.createElement(i,{style:t&&f===S?.length?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingRight:12}:t&&f===0?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingLeft:12}:!t&&f===0?{paddingLeft:12}:!t&&f===S?.length?{paddingRight:12}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text"},String(f+1)),e.action==="remove-cosigner"&&o.createElement(i,{style:t&&f===F?.length?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingRight:12}:t&&f===0?{...n.verifiedCustdMdlAddCosignerConfirmBodyFooterLabelText,paddingLeft:12}:!t&&f===0?{paddingLeft:12}:!t&&f===F?.length?{paddingRight:12}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-footer-label-text"},String(f+1))))))),o.createElement(s,{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 st()}},o.createElement(i,null,"Confirm"))))),C&&S?.length<4&&o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreBody,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-step2-add-more-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirst}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeader}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstHeaderText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-header-text"},"Add Details")),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooter}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreFirstFooterText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-first-footer-text"},Ct[S?.length+1]?.split(" ")[0],o.createElement(i,{style:{fontSize:10}},Ct[S?.length+1]?.split(" ")[1])," ","Co-Signer"," ",e.action==="remove-cosigner"?"To Remove":""))),e.action!=="remove-cosigner"&&o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecond}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-second"},o.createElement(x,{onChangeText:z,value:H,placeholder:"Enter Co-signer name",placeholderTextColor:"#B6B7C3",className:"verified-custd-mdl-add-cosigner-step2-add-more-second-input",style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreSecondInput}:{}})),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},e.enablePhone&&o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{N("sms"),G(""),B("")}},o.createElement(l,{source:{uri:p==="sms"?T.selectClicked:T.select},style:{width:24,height:24}}),o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Phone number")),o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdCont,background:"transparent",width:24,height:24}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont",onPress:()=>{N("email"),G(""),W(""),I(""),oe("")}},o.createElement(l,{source:{uri:p==="email"?T.selectClicked:T.select},style:{width:24,height:24}}),o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThirdContText}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third-cont-text"},"Email"))),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreThird}:{},className:"verified-custd-mdl-add-cosigner-step2-add-more-third"},p==="sms"&&o.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput}:{},className:"verified-custd-mdl-st-contact-input"},o.createElement(a,{style:t?{...n.verifiedCustdMdlStContactContentContainer}:{},className:"verified-custd-mdl-st-contact-content-container"},o.createElement(s,{onPress:()=>V(!R),style:t?{...n.verifiedCustdMdlStContactFirstSection,flexDirection:"row",alignItems:"center"}:{flexDirection:"row",alignItems:"center"},className:"verified-custd-mdl-st-contact-first-section"},o.createElement(l,{source:{uri:Y.flag},style:{width:24,height:16},alt:"Country Flag"}),o.createElement(i,{style:t?{...n.verifiedCustdMdlStContactSelectionText}:{},className:"verified-custd-mdl-st-contact-selection-text"},"+ ",Y.area),R?o.createElement(l,{source:{uri:T.arrowUp},style:{width:16,height:16},alt:"Dropdown Icon"}):o.createElement(l,{source:{uri:T.arrowDown},style:{width:16,height:16},alt:"Dropdown Icon"})),o.createElement(x,{onChangeText:D=>{oe(D===""?ne+" ":D);let f=D.replace(/\D/g,"");W(f);let M="";for(let _=0;_<f.length;_++)M+=f[_],(_+1)%5===0&&_+1<f.length&&(M+=" ");I(M),G("")},onBlur:be,value:O,placeholder:"Enter phone number",placeholderTextColor:"#b6b7c3",keyboardType:"phone-pad",className:"verified-custd-mdl-st-contact-second-section",style:t?{...n.verifiedCustdMdlStContactSecondSection}:{}})),R&&o.createElement(Nt,{platform:e.platform,pageName:"ftu/contact",searchContent:e.allCountries,type:"area-code",handleButtonDisplay:be,setSelected:he,selected:Y,searchActive:R,setSearchActive:V,contentMaxHeight:300,contentbottomMargin:300}),re===""&&X.length!==10&&ne.length>10&&o.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},"Invalid input, please check the phone number")),re!==""&&o.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},re))),p==="email"&&o.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInput,width:"100%"}:{width:"100%"},className:"verified-custd-mdl-st-contact-input"},o.createElement(x,{style:t?{...n.verifiedCustdMdlStContactSecondSection,width:"100%"}:{width:"100%"},onChangeText:D=>{B(D),G("")},onBlur:be,value:j,placeholder:"Enter email",placeholderTextColor:"#b6b7c3",keyboardType:"email-address",autoCapitalize:"none",className:"verified-custd-mdl-st-contact-second-section"}),re!==""&&o.createElement(a,{style:t?{...n.verifiedCustdMdlStContactInputError}:{},className:"verified-custd-mdl-st-contact-input-error"},o.createElement(i,{style:t?{...n.verifiedCustdMdlInputErrorText}:{},className:"verified-custd-mdl-input-error-text"},re)))),o.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.createElement(s,{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:()=>c(!1)},o.createElement(i,null,"Cancel")),o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerStep2AddMoreButtonsAction,flex:1,marginLeft:8}:{flex:1,marginLeft:8},className:"verified-custd-mdl-add-cosigner-step2-add-more-buttons-action",onPress:()=>{dt(),be()}},o.createElement(i,null,"Add")))),!C&&!me&&S?.length<4&&o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooter,background:"transparent",width:20,height:20}:{background:"transparent"},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer",onPress:()=>c(!0)},o.createElement(l,{source:{uri:T.addIcon},style:{width:20,height:20}}),o.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&&!me&&S?.length===4&&o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerStep2BodyContentFooterDis}:{},className:"verified-custd-mdl-add-cosigner-step2-body-content-footer-dis"},o.createElement(l,{source:{uri:T.addDisableIcon},style:{width:20,height:20}}),o.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":"")))),!me&&o.createElement(s,{className:S?.length>0?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button",style:t&&S?.length>0?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px",width:"100%"}:t&&S?.length===0?{...n.verifiedCustdMdlStartupButton,marginBottom:"20px",width:"100%"}:t&&S?.length>0&&!C&&S?.length<4?{...n.verifiedCustdMdlStartupButtonActive,marginTop:"50px",marginBottom:"20px",width:"100%"}:t&&S?.length===0&&!C&&S?.length<4?{...n.verifiedCustdMdlStartupButton,marginTop:"50px",marginBottom:"20px",width:"100%"}:!C&&S?.length<4?{marginTop:"50px",marginBottom:"20px",width:"100%"}:{marginBottom:"20px",width:"100%"},onPress:()=>{S?.length>0&&(Ne(2),Le(!0),c(!1))}},o.createElement(i,{style:n.buttonText},"Proceed")))),m&&o.createElement(o.Fragment,null,y==="1"&&o.createElement(o.Fragment,null,o.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:T.addCoSignerIcon2},alt:""}),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co-Signer?"))),o.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.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>b(!1),className:"verified-custd-mdl-add-cosigner-button-neut"},o.createElement(i,null,"Back")),o.createElement(s,{onPress:()=>A("2"),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},o.createElement(i,null,"Next")))),y==="2"&&o.createElement(o.Fragment,null,o.createElement(l,{className:"verified-custd-mdl-add-cosigner-body-icon",style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},source:{uri:T.addCoSignerIcon3},alt:""}),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Why is it needed?"))),o.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.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.createElement(s,{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:()=>A("1"),className:"verified-custd-mdl-add-cosigner-button-neut"},o.createElement(i,null,"Back")),o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerButtonAction,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>A("3"),className:"verified-custd-mdl-add-cosigner-button-action"},o.createElement(i,null,"Next")))),y==="3"&&o.createElement(o.Fragment,null,o.createElement(l,{style:t?{...n.verifiedCustdMdlAddCosignerBodyIcon}:{},className:"verified-custd-mdl-add-cosigner-body-icon",source:{uri:T.addCoSignerIcon4},alt:""}),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},o.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"Who can be my Co-Signer?"))),o.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.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More in Details")),o.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},o.createElement(s,{style:t?{...n.verifiedCustdMdlAddCosignerButtonNeut,border:"1px solid #0C0C0E",color:"#0C0C0E"}:{border:"1px solid var(--Neutral-950, #0C0C0E)",color:"var(--Neutral-950, #0C0C0E)"},onPress:()=>A("2"),className:"verified-custd-mdl-add-cosigner-button-neut"},o.createElement(i,null,"Back")),o.createElement(s,{onPress:()=>{h("2"),c(!1),b(!1),A("1")},style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},o.createElement(i,null,"Start")))))),r&&Fe&&o.createElement(Ye,{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)}}),!r&&o.createElement(i,null,"Loading Module Fonts..."))},ft=qi;import g,{useEffect as Zi,useRef as zi,useState as pe}from"react";import{ethers as ea}from"ethers";var ta=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,TextInput:x,TouchableOpacity:s,StyleSheet:L,Font:u,AsyncStorage:k,styles:n,rnPasskey:r}=e.platform,[w,m]=pe(e.fontsLoaded||!1),[b,y]=pe(!1),[A,P]=pe(!0),[h,C]=pe(!1),[c,p]=pe(!1),[N,X]=pe(null),[W,O]=pe(null),[I,j]=pe(e.newChainId||8453),[B,H]=pe(!1),[z,ne]=pe(!1),[oe,R]=pe(!1),[V,Y]=pe(!1),[he,S]=pe(!1),[fe,q]=pe(""),[Ge,de]=pe(!1),[ie,F]=pe({}),[ge,me]=pe(["","","",""]),Le=zi([]),[ae,Ne]=pe(!1),{setChainId:re,setAddress:G,setPk:Fe,setProvider:Be,setSigner:rt,setVaultContract:ue,setVaultData:De}=Te();Zi(()=>{let f=async()=>{if(t)u&&await _e(u),m(!0);else{let M=xe(document);m(M)}};e.fontsLoaded||f()},[]);let Ze=(f,M)=>{if(f.length>1){let _=f.replace(/\D/g,""),ee=[...ge],ye=0;for(let He=M;He<ge.length&&ye<_.length;He++)ee[He]=_[ye],ye++;me(ee);let Xe=M+_.length;Xe<ge.length&&Le.current[Xe]&&Le.current[Xe].focus(),y(!1)}else{let _=f.replace(/\D/g,""),ee=[...ge];ee[M]=_,me(ee),_&&Le.current[M+1]&&Le.current[M+1].focus(),y(!1)}},ze=(f,M,_)=>{_.nativeEvent.key==="Backspace"&&!ge[M]&&M>0&&Le.current[M-1]&&Le.current[M-1].focus()},be=ge.every(f=>f.length>0),dt=async f=>{if(!e.helperFunctions)q("No Helper Functions. Please include all helper functions in the EnterPinPage props."),y(!0);else if(q(""),y(!1),ae&&be&&e.hashedVaultId&&e.encrptedPk||!ae&&e.hashedVaultId&&e.encrptedPk&&f){e.setIsLoading(!0);let M=f?.pinString?f?.pinString:ge.join("");await Tn(e.vaultId,e.hashedVaultId,M,f?.hashed?f?.hashed:Q(M),e.encrptedPk,e.vaultAddress,e.vaultChannel,Number(I),ln?.includes(e.origin?.toLowerCase()),null,f?.rawId).then(async _=>{if(_&&!_?.inCompleteVault)e.setIsLoading(!1),X(_),O(_?.pk&&e.action!=="eth_requestAccounts"?{address:_.address,channel:_.channel,chainId:_.chainId,pk:_?.pk}:{address:e.regAddress,channel:_.channel,chainId:_.chainId}),e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await Yn(e.helperFunctions.sendCreatorInitiation,e.hashedVaultId,f?.hashed?f?.hashed:Q(M),e.vaultId,M,e.encrptedPk,e.vaultChannel,Number(I),f?.rawId).then(async ee=>{e.setIsLoading(!1),!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&k&&await k.removeItem("myVault"),ee?p(!0):(q("Account recovery failed. Verify you don't have pending account recovery process and Try again later"),y(!0))})):e.action==="signRecovery"?(e.setIsLoading(!0),await Gn(e.helperFunctions.sendCreatorSigned,e.helperFunctions.sendCreatorCompleted,e.hashedVaultId,f?.hashed?f?.hashed:Q(M),e.vaultId,M,e.encrptedPk,e.reqVaultData?.vaultId,e.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e.reqTxData?.id,Number(I),f?.rawId).then(async ee=>{e.setIsLoading(!1),!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"):t&&k&&!e.reqTxData?.newUser&&!e.vaultAddress&&await k.removeItem("myVault"),ee?p(!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."),y(!0))})):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()===e.vaultId?.toLowerCase()?(e.setIsLoading(!0),await Mn(t,k,e.hashedVaultId,f?.hashed?f?.hashed:Q(M),e.vaultId,M,e.encrptedPk,e.reqTxData?.id,e.vaultChannel,Number(I),f?.rawId).then(async ee=>{e.setIsLoading(!1),ee?p(!0):(!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&k&&await k.removeItem("myVault"),q("Error while restoring login access. Verify all required co-signers had signed our account recovery and try again later."),y(!0))})):e.action==="eth_sendTransaction"&&e.encrptedPk?.length>0&&_?.pin?.length>0&&e.signTxElement?(F({chainId:I,ky:ae?ea.encodeBytes32String(_?.pin):"",rawId:ae?"":f?.rawId,...e.txToSign}),ne(!1),de(!0)):e.action==="invitation"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()&&e.reqVaultData?.coSignerId?.toLowerCase()===e.vaultId?.toLowerCase()?(q(""),y(!1),ne(!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`),y(!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`),y(!0)):e.action==="getPk"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&k&&await k.removeItem("myVault"),q(`You are not authorized to fetch account details. please logout and login to: ${e.reqVaultData?.vaultId} account`),y(!0)):e.action==="completeRecovery"&&e.reqVaultData?.vaultId?.toLowerCase()!==e.vaultId?.toLowerCase()?(!t&&chrome?.storage?.local?await chrome.storage.local.remove("myVault"):!t&&!chrome?.storage?.local&&localStorage?localStorage.removeItem("myVault"):t&&k&&await k.removeItem("myVault"),q(`You are not authorized to restore login access for this account. please logout and login to: ${e.reqVaultData?.vaultId} account`),y(!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."),y(!0)):e.action===""&&e.vaultAddress?e.setShowDashboard(!0):e.action===""&&!e.vaultAddress?(q("Incomplete account login detected. Logout and try again later"),y(!0)):(q(""),y(!1),p(!0));else if(_&&_?.inCompleteVault&&_?.pk){let ee=await We(Number(I),_?.pk);if(re(ee.chainId),G(ee.address),Fe(ee.pk),Be(ee.provider),rt(ee.signer),ue(ee.vaultContract),De({vaultId:_?.vaultId,hashedVaultId:_?.hashedVaultId,vaultPin:_?.pin,hashedVaultPin:ae?Q(_?.pin):Re(_?.rawId),vaultContract:ee.vaultContract,rawId:_?.rawId}),_?.channel?.toLowerCase()==="sms"){let ye=_?.vaultId?.replace(_?.vaultId?.slice(-10),""),Xe=_?.vaultId?.slice(-10)?.slice(0,5)+" "+_?.vaultId?.slice(-10)?.slice(5);e.setSelectedCountry({area:ye?.replace("+",""),name:"",flag:""}),e.setUserNumberFmt(Xe),e.setUserEmail("")}else e.setUserEmail(_?.vaultId),e.setUserNumberFmt("");e.setIsLoading(!1),e.setShowCompleteVault(!0),e.setShowDashboard(!1)}else q(ae?"":`Incorrect Passkey. please chose the correct existing passkey for account: ${e.vaultId}`),y(!0),e.setIsLoading(!1)})}else!ae&&!f&&(q("Unexpected error with selected passkey. Try again later"),y(!0)),ae&&!be&&(q("Input your 4-Digits PIN to login."),y(!0))},st=async f=>{let M=e.vaultId;if(N?.pin?.length>0&&N?.pk?.length>0&&e?.reqVaultData?.hashedVaultId&&e.reqVaultData?.hashedVaultPin&&M&&e.helperFunctions?.sendCreatorAcceptance&&e.helperFunctions?.sendCreatorRejection){e.setIsLoading(!0);let _=N.pin,ee=Q(M),ye=ae?Q(_):Re(N.rawId);await Xt(e.helperFunctions.sendCreatorAcceptance,e.helperFunctions.sendCreatorRejection,e.vaultChannel,ee,ye,e?.reqVaultData?.hashedVaultId,e.reqVaultData?.hashedVaultPin,e?.reqVaultData?.vaultId,M,f,null,N.pk,Number(I)).then(Xe=>{e.setIsLoading(!1),Xe&&(S(f),R(!0))})}},D=async()=>{q(""),y(!1);try{let f=await navigator.credentials.get({publicKey:lt()}),M=Re(f?.rawId);return{pinString:f?.id,hashed:M,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`),y(!0)}};return g.createElement(g.Fragment,null,w&&!z&&!Ge&&g.createElement(g.Fragment,null,!c&&g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px",paddingTop:"0"}:{padding:"20px",paddingTop:"0"},className:"verified-custd-mdl-startup-language"},g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},g.createElement(Ee,{platform:e.platform,sliderCount:[1],currentSlider:"0"}),g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContentHeaderCont}:{},className:"verified-custd-mdl-startup-contact-content-heder-cont"},g.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText,alignSelf:"center"}:{alignSelf:"center"},className:"verified-custd-mdl-startup-contact-text"},ae?"Enter PIN":"Sign-in with Existing Passkey")),g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpText}:{},className:"verified-custd-mdl-startup-otp-text"},g.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpHeaderText}:{},className:"verified-custd-mdl-startup-otp-header-text"},"Welcome back, please login using"," ",g.createElement(i,{style:{color:"#0C0C0E"}},ae?"existing 4-Digits PIN":"existing Passkey")," ","for your"," ",g.createElement(i,{style:{color:"#0C0C0E"}},e.vaultId)," ","account."),g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupOtpFooter}:{},className:"verified-custd-mdl-startup-otp-footer"},e.actionText&&g.createElement(i,{style:t?{...n.verifiedCustdMdlStartupOtpFooterText}:{},className:"verified-custd-mdl-startup-otp-footer-text"},`To ${e.actionText} from origin: ${e.origin||e.title}`)))),ae&&g.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputContainer}:{},className:"verified-custd-mdl-otp-input-container"},g.createElement(a,{style:t?{...n.verifiedCustdMdlOtpInputGroup}:{},className:"verified-custd-mdl-otp-input-group"},ge.map((f,M)=>g.createElement(x,{key:M,ref:_=>Le.current[M]=_,className:b?"verified-custd-mdl-otp-input-red":"verified-custd-mdl-otp-input",style:t&&b?{...n.verifiedCustdMdlOtpInputRed}:t&&!b?{...n.verifiedCustdMdlOtpInput}:{},secureTextEntry:A,maxLength:1,value:ge[M],onChangeText:_=>Ze(_,M),onKeyPress:_=>ze(_,M,_),keyboardType:"number-pad",id:`verified-custd-mdl-otp-input-${M}`}))),g.createElement(a,{style:t?{...n.verifiedCustdMdlOtpTimer}:{},className:"verified-custd-mdl-otp-timer"},b&&!fe&&g.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},"Please enter the correct pin"),b&&fe&&g.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText}:{},className:"verified-custd-mdl-otp-incorrect-text"},fe),!b&&g.createElement(i,null),A?g.createElement(s,{onPress:()=>P(!1),style:{backgroundColor:"transparent"}},g.createElement(l,{style:{width:24,height:24},source:{uri:T.pinHide}})):g.createElement(s,{onPress:()=>P(!0),style:{backgroundColor:"transparent"}},g.createElement(l,{style:{width:24,height:24},source:{uri:T.pinShow}})))),!ae&&g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},g.createElement(a,{className:"verified-custd-mdl-add-cosigner-more-title-cont"},g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle,fontSize:J(t,"14px")}:{fontSize:J(t,"14px")},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a passkey?"))),g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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."),g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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."),g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabel,fontSize:J(t,"12px")}:{fontSize:J(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.'),g.createElement(s,{style:{background:"transparent"},onPress:()=>{t||window?.open("https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work","_blank")}},g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreLabelLink}:{},className:"verified-custd-mdl-add-cosigner-more-label-link"},"Learn More about Passkey")))),!h&&g.createElement(a,{style:{height:20}}),g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactFooter}:{},className:"verified-custd-mdl-startup-contact-footer"},g.createElement(a,{style:t?{...n.verifiedCustdMdlStContactFooterFirstSection}:{},className:"verified-custd-mdl-st-contact-footer-first-section"},g.createElement(Sn,{platform:e.platform,setisOnboard:e.setisOnboard,setIsLoading:e.setIsLoading}),ae&&g.createElement(s,{onPress:async()=>await dt(),style:t&&be&&!b?{...n.verifiedCustdMdlStartupButtonActive}:t&&be&&b?{...n.verifiedCustdMdlStartupButton}:t&&!be&&!b?{...n.verifiedCustdMdlStartupButton}:t&&!be&&b?{...n.verifiedCustdMdlStartupButton}:{},className:be&&!b?"verified-custd-mdl-startup-button-active":"verified-custd-mdl-startup-button"},g.createElement(i,null,"Proceed")),!ae&&g.createElement(g.Fragment,null,b&&fe?.length>0&&g.createElement(i,{style:t?{...n.verifiedCustdMdlOtpIncorrectText,marginTop:"3px",width:"100%"}:{marginTop:"3px",width:"100%"},className:"verified-custd-mdl-otp-incorrect-text"},fe),g.createElement(s,{style:t?{...n.verifiedCustdMdlStartupButtonActive,marginBottom:"20px"}:{marginBottom:"20px"},onPress:async()=>{let f=await D();f&&await dt(f)},className:"verified-custd-mdl-startup-button-active"},g.createElement(i,null,"Login With Passkey")))))),c&&g.createElement(Ye,{platform:e.platform,messageTosend:e.action==="getPk"||e.action==="signRecovery"||e.action==="completeRecovery"?{type:"closePopup",key:"",value:""}:{type:"vaultData",key:"vaultData",value:W},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`:""})),w&&z&&!Ge&&g.createElement(g.Fragment,null,!oe&&g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupLanguage,padding:"20px",position:"relative"}:{padding:"20px",position:"relative"},className:"verified-custd-mdl-startup-language"},g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContact}:{},className:"verified-custd-mdl-startup-contact"},g.createElement(Ee,{platform:e.platform,sliderCount:[1,2,3],currentSlider:"1"}),g.createElement(a,{style:t?{...n.verifiedCustdMdlStartupContactContent}:{},className:"verified-custd-mdl-startup-contact-content"},g.createElement(i,{style:t?{...n.verifiedCustdMdlStartupContactText}:{},className:"verified-custd-mdl-startup-contact-text"},g.createElement(i,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId)," ","has requested you to be a Co\u2011Signer"))),g.createElement(s,{style:{backgroundColor:"transparent",width:"100%"}},g.createElement(l,{style:{height:250,width:"90%"},source:{uri:T.addCoSignerIcon1}})),V?g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContentOutter}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content-outter"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyContent}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-content"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyCont}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-cont"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyHeader}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-header"},g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerConfirmBodyTitle}:{},className:"verified-custd-mdl-add-cosigner-confirm-body-title"},"Are you sure you want to reject this request?"),g.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"," ",g.createElement(i,{style:{fontWeight:"bold"}},e.reqVaultData?.vaultId),", you will not be able to reset the PIN for them.")),g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont,width:"90%"}:{width:"90%"},className:"verified-custd-mdl-add-cosigner-buttons-cont"},g.createElement(s,{onPress:async()=>await st(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},g.createElement(i,null,"Yes")),g.createElement(s,{onPress:()=>Y(!1),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},g.createElement(i,null,"No")))))):g.createElement(g.Fragment,null,g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreBody}:{},className:"verified-custd-mdl-add-cosigner-more-body"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreHeaderCont}:{},className:"verified-custd-mdl-add-cosigner-more-header-cont"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitleCont}:{},className:"verified-custd-mdl-add-cosigner-more-title-cont"},g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerMoreTitle}:{},className:"verified-custd-mdl-add-cosigner-more-title"},"What is a Co\u2011Signer?"))),g.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."),g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},g.createElement(l,{source:{uri:T.pkicon}})),g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"As a Co Signer you can help"," ",g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabelBold}:{},className:"verified-custd-mdl-add-cosigner-body-text-label-bold"},"reset PIN"))),g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextCont}:{},className:"verified-custd-mdl-add-cosigner-body-text-cont"},g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextIcon}:{},className:"verified-custd-mdl-add-cosigner-body-text-icon"},g.createElement(l,{source:{uri:T.encryptedIcon}})),g.createElement(i,{style:t?{...n.verifiedCustdMdlAddCosignerBodyTextLabel}:{},className:"verified-custd-mdl-add-cosigner-body-text-label"},"Don\u2019t worry, they"," ",g.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."))),g.createElement(a,{style:t?{...n.verifiedCustdMdlAddCosignerButtonsCont}:{},className:"verified-custd-mdl-add-cosigner-buttons-cont"},g.createElement(s,{onPress:()=>Y(!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"},g.createElement(i,null,"Reject")),g.createElement(s,{onPress:async()=>await st(!0),style:t?{...n.verifiedCustdMdlAddCosignerButtonAction}:{},className:"verified-custd-mdl-add-cosigner-button-action"},g.createElement(i,null,"Accept"))))),oe&&g.createElement(Ye,{platform:e.platform,messageTosend:{type:"getPk",key:"vaultData",value:N},customTextHeader:"Successful",customTextFooter:he?`You have been added as a Co-Signer for ${e.reqVaultData?.vaultId}`:`You rejected Co-signer request from ${e.reqVaultData?.vaultId}`})),w&&!z&&Ge&&g.createElement(e.signTxElement,{setIsLoading:e.setIsLoading,txToSign:ie}),!w&&g.createElement(i,null,"Loading Module Fonts..."))},gt=ta;var ia=e=>{let{isReactNative:t,View:a,Text:i,Image:l,ScrollView:K,StyleSheet:x,Font:s,AsyncStorage:L}=e?.platform,[u,k]=we(e.fontsLoaded||!1),[n,r]=we(e.showLogoPage||!1),[w,m]=we([]),[b,y]=we("2"),[A,P]=we(e.defaultCountry||{area:"1",flag:T.usaFlag,name:"United States"}),[h,C]=we(""),[c,p]=we(""),[N,X]=we(!1),[W,O]=we(""),[I,j]=we(""),[B,H]=we(""),[z,ne]=we(""),[oe,R]=we(null),[V,Y]=we(null),[he,S]=we(!1),{setChainId:fe,setAddress:q,setPk:Ge,setProvider:de,setSigner:ie,setVaultContract:F,setVaultData:ge,vaultData:me,chainId:Le,vaultContract:ae}=Te();return Tt(()=>{let Ne=async()=>{if(t)s&&await _e(s),k(!0);else{let re=xe(document);k(re)}};e.fontsLoaded||Ne()},[]),Tt(()=>{let Ne=async()=>{let re;!t&&chrome?.storage?.local?re=await new Promise(Fe=>{chrome.storage.local.get(["lastPk"],Be=>{Fe(Be.lastPk)})}):!t&&localStorage?re=localStorage.getItem("lastPk"):t&&L&&(re=L.getItem("lastPk"));let G=await We(e.chainId,re&&re?.length>0?re:void 0);fe(G.chainId),q(G.address),Ge(G.pk),de(G.provider),ie(G.signer),ge(G.vaultData),G.vaultContract?.contractAddress?F(G.vaultContract):F(void 0)};ae?.contractAddress||Ne()},[ae]),Tt(()=>{na(()=>{r(!1)},e.logoTimeoutTime??3e3)()},[]),Tt(()=>{(()=>{let re=xt.map(G=>{if(G)return{name:G.name,countryName:G.name,officialName:G.name,currencySymbol:G.currency,currencyName:G.currency,officialCurrencySymbol:G.currency,countryCode:G.code,flag:G.flag,continent:G.continent,phone_code:G.phone_code,code:G.code}}).filter(Boolean);m(re)})()},[]),Pe.createElement(K,{style:{padding:20,width:"100%",heigth:"100%"}},u&&n&&e.logoPageElement&&Pe.createElement(a,null,e.logoPageElement),u&&!n&&Pe.createElement(a,{style:{width:"100%",heigth:"100%"}},b==="2"&&Pe.createElement(rn,{platform:e.platform,fontsLoaded:u,setStep:y,setIsLoading:e.setIsLoading,setUserNumberFmt:C,userNumberFmt:h,setUserEmail:p,userEmail:c,setSelectedCountry:P,selectedCountry:A,allCountries:w,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone}),b==="3"&&Pe.createElement(dn,{platform:e.platform,fontsLoaded:u,setStep:y,setIsLoading:e.setIsLoading,userNumberFmt:h,setUserNumberFmt:C,setUserEmail:p,userEmail:c,selectedCountry:A,helperFunctions:e.helperFunctions,setIsExistingUser:S}),b==="4"&&Pe.createElement(Pt,{platform:e.platform,fontsLoaded:u,setStep:y,setIsLoading:e.setIsLoading,setShowSuccessBtn:X,setSuccessBtnText:O,setSuccessBtnNeutText:j,setSuccessBtnFunc:R,setSuccessBtnNeutFunc:Y,userNumberFmt:h,userEmail:c,selectedCountry:A,action:e.action,vaultData:e.vaultData,txData:e.txData,setActionHeaderText:H,setActionFooterText:ne,helperFunctions:e.helperFunctions,isExistingUser:he}),b==="5"&&Pe.createElement(Ye,{platform:e.platform,setStep:y,stepToSet:"6",customTextHeader:"Successful",customTextFooter:"Congratulations! You have successfully created a new account.",action:e.action,showButton:N,buttonText:W,buttonNeutText:I,buttonFunc:oe,buttonNeutFunc:V,actionHeaderText:B,actionFooterText:z}),b==="6"&&Pe.createElement(ft,{platform:e.platform,fontsLoaded:u,setStep:y,setIsLoading:e.setIsLoading,userNumberFmt:h,userEmail:c,selectedCountry:A,allCountries:w,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:e.setShowDashboard,setShowResetPin:e.setShowResetPin,setShowRemoveCosigner:e.setShowRemoveCosigner}),b==="7"&&e.action===""&&Pe.createElement(Ye,{platform:e.platform,action:e.action,setStep:y,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)}}),b==="7"&&e.action!==""&&Pe.createElement(Ye,{platform:e.platform,action:e.action,messageTosend:e.action==="signRecovery"?{type:"signRecovery",value:{vaultData:e.vaultData,txData:{newUser:!0,...e.txData},chainId:Le}}:{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)}}),b==="8"&&e.dashbordElement&&Pe.createElement(e.dashbordElement,{setIsLoading:e.setIsLoading}),b==="8"&&!e.dashbordElement&&Pe.createElement(Pe.Fragment,null),b==="0"&&Pe.createElement(gt,{platform:e.platform,fontsLoaded:u,vaultId:me?.vaultId,setisOnboard:e.setisOnboard,hashedVaultId:me?.hashedVaultId,encrptedPk:me?.pk,vaultAddress:me?.address,vaultChannel:me?.channel,actionText:pt.getPk,setIsLoading:e.setIsLoading,newChainId:Number(Le||e.chainId),action:"getPk",reqVaultData:me,reqTxData:e.txData?Object.keys(e.txData)?.map(Ne=>(e.txData[Ne]=decodeURIComponent(e.txData[Ne]),e.txData))[Object.keys(e.txData)?.length-1]:null,helperFunctions:e.helperFunctions,setUserEmail:p,setUserNumberFmt:C,setSelectedCountry:P,enablePhone:e.enablePhone,setShowDashboard:e.setShowDashboard})),!u&&Pe.createElement(a,{style:{padding:20,width:"100%",heigth:"100%"}},Pe.createElement(i,null,"Loading Module Fonts...")))},sn=ia;var aa=e=>{let[t,a]=Ke(!1),[i,l]=Ke({}),[K,x]=Ke(!1),[s,L]=Ke(null),[u,k]=Ke({}),[n,r]=Ke({}),[w,m]=Ke(!1),[b,y]=Ke(!1),[A,P]=Ke(!1),[h,C]=Ke(!1),[c,p]=Ke(!1),[N,X]=Ke(""),[W,O]=Ke([]),[I,j]=Ke(""),[B,H]=Ke(e.defaultCountry||{area:"1",flag:T.usaFlag,name:"United States"}),[z,ne]=Ke(""),[oe,R]=Ke("");Et(()=>{(async()=>{await jt();let ie=qt();ie&&(l(ie),a(!0))})()},[]);let{isReactNative:V,View:Y,Text:he,Font:S,AsyncStorage:fe,ActivityIndicator:q,styles:Ge}=i;return Et(()=>{!K&&t&&(async()=>{if(V)S&&await _e(S),x(!0);else{let ie=xe(document);x(ie)}})()},[t,K]),Et(()=>{t&&(async()=>{if(V){if(fe)try{let ie=await fe.getItem("myVault");if(ie){let F=JSON.parse(ie);if(F?.vaultId){k(F),L(!0);return}}L(!1)}catch(ie){console.error("Error reading vault data on react:",ie),L(!1)}}else if(chrome?.storage?.local)chrome.storage.local.get("myVault",ie=>{ie.myVault&&JSON.parse(ie.myVault)?.vaultId?(k(JSON.parse(ie.myVault)),L(!0)):L(!1)});else if(localStorage){let ie=JSON.parse(localStorage.getItem("myVault"));ie&&ie?.vaultId?(k(ie),L(!0)):L(!1)}else L(!1)})()},[t]),Et(()=>{(()=>{let ie=xt.map(F=>F?{name:F?.name,countryName:F?.name,officialName:F?.name,currencySymbol:F?.currency,currencyName:F?.currency,officialCurrencySymbol:F?.currency,countryCode:F?.code,flag:F?.flag,continent:F?.continent,phone_code:F?.phone_code,code:F?.code}:null).filter(F=>F!=null);O(ie)})()},[]),Z.createElement(Z.Fragment,null,t&&Z.createElement(Z.Fragment,null,K&&Z.createElement(Zt,null,w&&Z.createElement(Y,{style:V?{...Ge.verifiedCustdMdlLoadingScreen,height:"100vh"}:{height:"100vh"},className:"verified-custd-mdl-loading-screen"},Z.createElement(q,{size:"large",color:"blue"})),Z.createElement(Y,{id:"verified-custd-out-cont",className:"verified-custd-mdl-container",style:V?{...Ge.verifiedCustdMdlContainer}:{}},s===null&&e.delayPageElement&&Z.createElement(Z.Fragment,null,e.delayPageElement),s===null&&!e.delayPageElement&&Z.createElement(Y,{style:e.delayPageStyle?e.delayPageStyle:{width:"100%",height:"100%",background:"transparent",border:"none"}}," "),s!==null&&Z.createElement(Z.Fragment,null,!s&&!b&&Z.createElement(sn,{platform:i,fontsLoaded:K,helperFunctions:e.helperFunctions,popupView:e.popupView,action:e.action?e.action:"getPk",vaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:Q(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(de=>(e.txData[de]=decodeURIComponent(e.txData[de]),e.txData))[Object.keys(e.txData)?.length-1]:null,showLogoPage:e.showLogoPage,logoPageElement:e.logoPageElement,logoTimeoutTime:e.logoTimeoutTime,defaultCountry:e.defaultCountry,setisOnboard:L,setIsLoading:m,dashbordElement:e.dashbordElement,chainId:Number(e.chainId),enablePhone:e.enablePhone,setShowDashboard:y,setShowResetPin:C,setShowRemoveCosigner:p}),s&&!b&&!A&&Z.createElement(gt,{platform:i,fontsLoaded:K,setisOnboard:L,vaultId:u?.vaultId,hashedVaultId:u?.hashedVaultId,encrptedPk:u?.pk,vaultAddress:u?.address,vaultChannel:u?.channel,regAddress:u?.regAddress,origin:e.origin,title:e.title,actionText:e.actionText||pt[e.action],setIsLoading:m,newChainId:Number(e.chainId),action:e.action||"",reqVaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:Q(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(de=>(e.txData[de]=decodeURIComponent(e.txData[de]),e.txData))[Object.keys(e.txData)?.length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:y,setShowResetPin:C,setShowRemoveCosigner:p,setShowCompleteVault:P,setUserEmail:R,setUserNumberFmt:ne,setSelectedCountry:H,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement}),s&&b&&A&&Z.createElement(gt,{platform:i,fontsLoaded:K,setisOnboard:L,vaultId:u?.vaultId,hashedVaultId:u?.hashedVaultId,encrptedPk:u?.pk,vaultAddress:u?.address,regAddress:u?.regAddress,vaultChannel:u?.channel,origin:e.origin,title:e.title,actionText:e.actionText||pt[e.action],setIsLoading:m,newChainId:Number(e.chainId),action:e.action||"",reqVaultData:e.reqVaultData?{vaultId:decodeURIComponent(e.reqVaultData?.vId||e.reqVaultData?.vaultId),hashedVaultId:Q(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(de=>(e.txData[de]=decodeURIComponent(e.txData[de]),e.txData))[Object.keys(e.txData)?.length-1]:null,txToSign:e.txToSign||null,signTxElement:e.signTxElement,helperFunctions:e.helperFunctions,setShowDashboard:y,setShowResetPin:C,setShowRemoveCosigner:p,setShowCompleteVault:P,setUserEmail:R,setUserNumberFmt:ne,setSelectedCountry:H,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement}),s&&!b&&A&&I===""&&Z.createElement(Y,{style:{width:"100%",heigth:"100%",padding:"20px"}},Z.createElement(ft,{platform:i,fontsLoaded:K,setStep:j,setIsLoading:m,userNumberFmt:z,userEmail:oe,selectedCountry:B,allCountries:W,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:y,setShowResetPin:C,setShowRemoveCosigner:p})),s&&!b&&A&&I==="7"&&Z.createElement(Ye,{platform:i,action:e.action,setStep:j,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),p(!1),y(!0)},buttonFunc:()=>{C(!1),p(!1),y(!0)}}),s&&!b&&A&&I==="8"&&e.dashbordElement&&Z.createElement(e.dashbordElement,{setIsLoading:m}),s&&!b&&A&&I==="8"&&!e.dashbordElement&&Z.createElement(Z.Fragment,null),!A&&b&&!h&&!c&&e.dashbordElement&&Z.createElement(e.dashbordElement,{setIsLoading:m,setShowResetPin:C,setShowRemoveCosigner:p,setAction:X,setUserNumberFmt:ne,setUserEmail:R,setSelectedCountry:H,setVaultData:r,initWalletAndContract:We,useVaultStore:Te}),s&&!A&&b&&!h&&!c&&!e.dashbordElement&&Z.createElement(Z.Fragment,null),s&&!A&&!c&&b&&h&&Z.createElement(Y,{style:{width:"100%",heigth:"100%",padding:"20px"}},Z.createElement(Pt,{platform:i,fontsLoaded:K,action:"reset-pin",setStep:j,setIsLoading:m,userNumberFmt:z,userEmail:oe,vaultData:n,selectedCountry:B,helperFunctions:e.helperFunctions,isExistingUser:!0})),s&&!A&&b&&!h&&c&&Z.createElement(Y,{style:{width:"100%",heigth:"100%",padding:"20px"}},Z.createElement(ft,{platform:i,fontsLoaded:K,action:"remove-cosigner",setStep:j,setIsLoading:m,userNumberFmt:z,userEmail:oe,selectedCountry:B,allCountries:W,helperFunctions:e.helperFunctions,enablePhone:e.enablePhone,dashbordElement:e.dashbordElement,setShowDashboard:y,setShowResetPin:C,setShowRemoveCosigner:p}))))),!K&&Z.createElement(he,null,"Loading Module Fonts...")),!t&&typeof navigator<"u"&&navigator.product!=="ReactNative"&&Z.createElement(Z.Fragment,null,"Preparing Module..."))},oa=aa;export{ft as AddCoSignersPage,rn as ContactPage,Pt as CreatePinPage,gt as EnterPinPage,sn as FTUPage,dn as OTPPage,Zt as VaultContextProvider,oa as VerifiedCustody,it as decryptString,at as decryptWithPasskey,je as encryptString,qe as encryptWithPasskey,qt as getPlatformComponents,Re as hashTheBuffer,Q as hashTheString,jt as initPlatform,xe as loadAllGoogleFonts,_e as loadAllGoogleFontsRN,lt as publicKeyCredentialRequestOptions};
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|