@passflow/react 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("lodash"),t=require("yup");require("dayjs");const a=require("clsx"),r=require("tailwind-merge"),o=require("react"),n=require("@passflow/core"),i=require("query-string"),l=require("countries-and-timezones"),c=require("react-international-phone"),d=require("@radix-ui/react-popover"),p=require("@radix-ui/react-dialog"),u=require("react-otp-input"),h=require("react-helmet-async"),m=require("react-error-boundary"),f=require("phone"),w=require("react-hook-form");function g(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,a.get?a:{enumerable:!0,get:()=>e[t]})}return s.default=e,Object.freeze(s)}require("react-dom");const x=g(t),y=g(o),v=g(d),C=g(p);window.passflowReactAppVersion=()=>{console.log("App Version: 0.5.0")};const j=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,b=e=>x.string().required().test({test:t=>{const a=[];if(e){const{min_password_length:r,require_lowercase:o,require_number:n,require_symbol:i,require_uppercase:l}=e;s.size(t)<r&&a.push("length"),l&&!/[A-Z]/.test(t)&&a.push("uppercase"),o&&!/[a-z]/.test(t)&&a.push("lowercase"),n&&!/\d/.test(t)&&a.push("number"),i&&!/[!@#$%^&*()_+{}[\]:;<>,.?~\\-]/.test(t)&&a.push("symbol")}if(a.length>0){const e={errors:a,inner:!0,path:"password",field:"password",message:a,value:t,name:"ValidationError"};return new x.ValidationError(e,t,"password")}return!0}}),M=e=>{try{const s=new URL(e);return"http:"===s.protocol||"https:"===s.protocol}catch{return!1}},k=async(e,s,t="hash")=>{const a=await e.getTokens(!1);if(a){a.scopes=void 0;const e=Object.entries(a).filter(([e,s])=>s).map(([e,s])=>`${e}=${encodeURIComponent(s)}`).join("&");return"hash"===t?`${s}#${e}`:`${s}?${e}`}return s},S=(...e)=>r.twMerge(a(e));function E(e){return s=>{try{return e(s)}catch(t){return}}}const N=e=>{const t={internal:{username:{password:!1},email:{password:!1,otp:!1,magicLink:!1},phone:{password:!1,otp:!1,magicLink:!1}},fim:{providers:[]},passkey:!1,hasEmailMethods:!1,hasSignInEmailMethods:!1,hasPhoneMethods:!1,hasSignInPhoneMethods:!1,hasUsernameMethods:!1,hasSignInUsernameMethods:!1};if(!e)return t;for(const a of e){const{identity:e,challenge:r,fim_type:o}=a.strategy;switch(a.type){case"internal":switch(e){case"email":s.eq(r,"magic_link")?t.internal.email.magicLink=!0:t.internal.email[r]=!0,t.hasEmailMethods=!0,(t.internal.email.magicLink||t.internal.email.otp||t.internal.email.password)&&(t.hasSignInEmailMethods=!0);break;case"phone":s.eq(r,"magic_link")?t.internal.phone.magicLink=!0:t.internal.phone[r]=!0,t.hasPhoneMethods=!0,(t.internal.phone.magicLink||t.internal.phone.otp||t.internal.phone.password)&&(t.hasSignInPhoneMethods=!0);break;case"username":t.internal.username[r]=!0,t.hasUsernameMethods=!0,t.internal.username.password&&(t.hasSignInUsernameMethods=!0);break;default:throw new Error(`Unsupported identity type: ${e}`)}break;case"fim":t.fim.providers.push(o);break;case"passkey":t.passkey=!0;break;default:throw new Error(`Unsupported strategy type: ${a.type}`)}}return t},I=(e,t)=>e.hasSignInEmailMethods&&e.hasSignInUsernameMethods?s.eq(t,"label")?"Email or username":"Use email or username":e.hasSignInEmailMethods?s.eq(t,"label")?"Email":"Use email":e.hasSignInUsernameMethods?s.eq(t,"label")?"Username":"Use username":null,L=(e,t)=>{if(s.eq(t,"phone")){if(e.internal.phone.otp)return{label:"SMS code",challengeType:"otp"};if(e.internal.phone.magicLink)return{label:"SMS link",challengeType:"magic_link"}}if(s.eq(t,"email_or_username")){if(e.internal.email.otp)return{label:"email code",challengeType:"otp"};if(e.internal.email.magicLink)return{label:"email link",challengeType:"magic_link"}}return null},F=e=>{const s=(t=window.location.search,(new DOMParser).parseFromString(t,"text/html").documentElement.textContent||"");var t;const a=new URLSearchParams(s);if(e){let s=!1;for(const[t,r]of Object.entries(e))a.has(t)||""===r||(a.set(t,r),s=!0);if(s){const e=`${window.location.pathname}${a.toString()?`?${a.toString()}`:""}${window.location.hash}`;window.history.replaceState(null,"",e)}}return{getAll:()=>{const e={};for(const[s,t]of a.entries())e[s]=t;return e},get:e=>{const s=a.get(e);return""===s?null:s},set:e=>{const s=new URLSearchParams(window.location.search);for(const[a,r]of Object.entries(e))null==r||""===r?s.delete(a):s.set(a,r);const t=`${window.location.pathname}${s.toString()?`?${s.toString()}`:""}${window.location.hash}`;window.history.pushState(null,"",t)}}},P=e=>{const s=new URLSearchParams(e?e.split("?")[1]:window.location.search),t=s.get("error"),a=s.get("message");return{error:t,message:a?decodeURIComponent(a):null}},A={expired:["2FA verification expired or not required","verification expired","session expired","verification not required"],not_enabled:["Two-factor authentication is not enabled for this user","2FA is not enabled","two-factor not enabled"],invalid_code:["invalid code","incorrect code","code mismatch","wrong code","invalid 2fa code"]};function T(e){switch(e.type){case"expired":return"Your session has expired. Redirecting to sign in...";case"not_enabled":return"Two-factor authentication is not enabled for your account. Please contact your administrator to enable 2FA.";case"invalid_code":return"Invalid code. Please check your authenticator app and try again.";default:return e.message}}const R="passflow_2fa",z=`${R}_redirect_count`,Y=`${R}_last_error_type`,U={canRedirect(){try{return this.getRedirectCount()<3}catch{return!0}},incrementRedirect(){try{const e=this.getRedirectCount();sessionStorage.setItem(z,String(e+1))}catch{}},getRedirectCount(){try{const e=sessionStorage.getItem(z);return e?Number.parseInt(e,10):0}catch{return 0}},reset(){try{sessionStorage.removeItem(z),sessionStorage.removeItem(Y)}catch{}},setLastErrorType(e){try{sessionStorage.setItem(Y,e)}catch{}},getLastErrorType(){try{return sessionStorage.getItem(Y)}catch{return null}},isRepeatingError(e){return this.getLastErrorType()===e&&this.getRedirectCount()>0},getLoopDetectedMessage:()=>"Unable to complete authentication. This may be a configuration issue. Please contact support."},_=({type:s,id:t,size:a,className:r=""})=>{const o={"passflow-icon--small":"small"===a,"passflow-icon--medium":"medium"===a,"passflow-icon--big":"big"===a,"passflow-icon--large":"large"===a},n={general:{logo:"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='8'%20fill='%231E1E1E'%20/%3e%3cpath%20d='M21.2532%2031H13.6932V12.52H24.9012C25.9252%2012.52%2026.8612%2012.72%2027.7092%2013.12C28.5732%2013.504%2029.2612%2014.184%2029.7732%2015.16C30.2852%2016.12%2030.5412%2017.456%2030.5412%2019.168C30.5412%2020.848%2030.2772%2022.184%2029.7492%2023.176C29.2212%2024.152%2028.5252%2024.856%2027.6612%2025.288C26.8132%2025.704%2025.8932%2025.912%2024.9012%2025.912H21.2532V31ZM23.1252%2018.592H20.8212V19.888H23.1972C23.3252%2019.888%2023.4612%2019.848%2023.6052%2019.768C23.7652%2019.688%2023.8452%2019.52%2023.8452%2019.264C23.8452%2018.992%2023.7572%2018.816%2023.5812%2018.736C23.4052%2018.64%2023.2532%2018.592%2023.1252%2018.592Z'%20fill='white'%20/%3e%3c/svg%3e","logo-red":"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='8'%20fill='%23D85D5D'%20/%3e%3cpath%20d='M21.2532%2031H13.6932V12.52H24.9012C25.9252%2012.52%2026.8612%2012.72%2027.7092%2013.12C28.5732%2013.504%2029.2612%2014.184%2029.7732%2015.16C30.2852%2016.12%2030.5412%2017.456%2030.5412%2019.168C30.5412%2020.848%2030.2772%2022.184%2029.7492%2023.176C29.2212%2024.152%2028.5252%2024.856%2027.6612%2025.288C26.8132%2025.704%2025.8932%2025.912%2024.9012%2025.912H21.2532V31ZM23.1252%2018.592H20.8212V19.888H23.1972C23.3252%2019.888%2023.4612%2019.848%2023.6052%2019.768C23.7652%2019.688%2023.8452%2019.52%2023.8452%2019.264C23.8452%2018.992%2023.7572%2018.816%2023.5812%2018.736C23.4052%2018.64%2023.2532%2018.592%2023.1252%2018.592Z'%20fill='white'%20/%3e%3c/svg%3e",warning:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_823)'%3e%3cpath%20d='M7.99992%205.33334V8M7.99992%2010.6667H8.00659M14.6666%208C14.6666%2011.6819%2011.6818%2014.6667%207.99992%2014.6667C4.31802%2014.6667%201.33325%2011.6819%201.33325%208C1.33325%204.3181%204.31802%201.33334%207.99992%201.33334C11.6818%201.33334%2014.6666%204.3181%2014.6666%208Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2502_823'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",mail:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.33337%204.66666L6.77665%208.47696C7.21743%208.78551%207.43783%208.93978%207.67755%208.99954C7.8893%209.05232%208.11078%209.05232%208.32253%208.99954C8.56226%208.93978%208.78265%208.78551%209.22343%208.47696L14.6667%204.66666M4.53337%2013.3333H11.4667C12.5868%2013.3333%2013.1469%2013.3333%2013.5747%2013.1153C13.951%2012.9236%2014.257%2012.6176%2014.4487%2012.2413C14.6667%2011.8135%2014.6667%2011.2534%2014.6667%2010.1333V5.86666C14.6667%204.74656%2014.6667%204.18651%2014.4487%203.75868C14.257%203.38236%2013.951%203.0764%2013.5747%202.88465C13.1469%202.66666%2012.5868%202.66666%2011.4667%202.66666H4.53337C3.41327%202.66666%202.85322%202.66666%202.42539%202.88465C2.04907%203.0764%201.74311%203.38236%201.55136%203.75868C1.33337%204.18651%201.33337%204.74656%201.33337%205.86666V10.1333C1.33337%2011.2534%201.33337%2011.8135%201.55136%2012.2413C1.74311%2012.6176%202.04907%2012.9236%202.42539%2013.1153C2.85322%2013.3333%203.41327%2013.3333%204.53337%2013.3333Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",edit:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.6231%206.86026L9.13975%204.37687M2%2014L4.10117%2013.7665C4.35789%2013.738%204.48624%2013.7238%204.60622%2013.6849C4.71266%2013.6505%204.81395%2013.6018%204.90735%2013.5402C5.01263%2013.4708%205.10395%2013.3794%205.28659%2013.1968L13.4857%204.99772C14.1714%204.31195%2014.1714%203.2001%2013.4857%202.51433C12.7999%201.82856%2011.6881%201.82856%2011.0023%202.51433L2.80321%2010.7134C2.62056%2010.896%202.52924%2010.9874%202.45982%2011.0926C2.39823%2011.186%202.34955%2011.2873%202.31509%2011.3938C2.27625%2011.5138%202.26199%2011.6421%202.23346%2011.8988L2%2014Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","eye-on":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.61342%208.47545C1.52262%208.33169%201.47723%208.25981%201.45182%208.14895C1.43273%208.06567%201.43273%207.93434%201.45182%207.85106C1.47723%207.74019%201.52262%207.66831%201.61341%207.52455C2.36369%206.33656%204.59693%203.33334%208.00027%203.33334C11.4036%203.33334%2013.6369%206.33656%2014.3871%207.52455C14.4779%207.66831%2014.5233%207.74019%2014.5487%207.85106C14.5678%207.93434%2014.5678%208.06567%2014.5487%208.14895C14.5233%208.25981%2014.4779%208.33169%2014.3871%208.47545C13.6369%209.66344%2011.4036%2012.6667%208.00027%2012.6667C4.59693%2012.6667%202.36369%209.66344%201.61342%208.47545Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.00027%2010C9.10484%2010%2010.0003%209.10457%2010.0003%208C10.0003%206.89543%209.10484%206%208.00027%206C6.8957%206%206.00027%206.89543%206.00027%208C6.00027%209.10457%206.8957%2010%208.00027%2010Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","eye-off":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.16196%203.39488C7.4329%203.35482%207.7124%203.33333%208.00028%203.33333C11.4036%203.33333%2013.6369%206.33656%2014.3871%207.52455C14.4779%207.66833%2014.5233%207.74023%2014.5488%207.85112C14.5678%207.93439%2014.5678%208.06578%2014.5487%208.14905C14.5233%208.25993%2014.4776%208.3323%2014.3861%208.47705C14.1862%208.79343%2013.8814%209.23807%2013.4777%209.7203M4.48288%204.47669C3.0415%205.45447%202.06297%206.81292%201.61407%207.52352C1.52286%207.66791%201.47725%207.74011%201.45183%207.85099C1.43273%207.93426%201.43272%208.06563%201.45181%208.14891C1.47722%208.25979%201.52262%208.33168%201.61342%208.47545C2.36369%209.66344%204.59694%2012.6667%208.00028%2012.6667C9.37255%2012.6667%2010.5546%2012.1784%2011.5259%2011.5177M2.00028%202L14.0003%2014M6.58606%206.58579C6.22413%206.94772%206.00028%207.44772%206.00028%208C6.00028%209.10457%206.89571%2010%208.00028%2010C8.55256%2010%209.05256%209.77614%209.41449%209.41421'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",search:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L11.1%2011.1M12.6667%207.33333C12.6667%2010.2789%2010.2789%2012.6667%207.33333%2012.6667C4.38781%2012.6667%202%2010.2789%202%207.33333C2%204.38781%204.38781%202%207.33333%202C10.2789%202%2012.6667%204.38781%2012.6667%207.33333Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","caret-down":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%206L8%2010L12%206H4Z'%20fill='%236B6F76'/%3e%3c/svg%3e",label:"data:image/svg+xml,%3csvg%20width='43'%20height='10'%20viewBox='0%200%2043%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.91%209H5.346L5.236%207.988H3.674L3.564%209H0L2.178%200.53H6.732L8.91%209ZM4.158%203.665L4.037%204.721H4.873L4.752%203.665H4.158ZM16.6389%206.712C16.5215%207.482%2016.1145%208.087%2015.4179%208.527C14.7212%208.95967%2013.8082%209.176%2012.6789%209.176C11.5495%209.176%2010.6365%208.95967%209.93988%208.527C9.25054%208.09433%208.84354%207.49667%208.71888%206.734C8.68954%206.52867%208.66388%206.25367%208.64188%205.909C8.62721%205.557%208.61988%205.17933%208.61988%204.776C8.61988%204.38733%208.62721%204.028%208.64188%203.698C8.66388%203.36067%208.68954%203.09667%208.71888%202.906C8.84354%202.09933%209.25421%201.47233%209.95088%201.025C10.6475%200.577666%2011.5569%200.354%2012.6789%200.354C13.8082%200.354%2014.7212%200.577666%2015.4179%201.025C16.1145%201.465%2016.5215%202.07733%2016.6389%202.862C16.6682%203.05267%2016.6902%203.31667%2016.7049%203.654C16.7269%203.984%2016.7379%204.347%2016.7379%204.743C16.7379%205.161%2016.7269%205.54233%2016.7049%205.887C16.6902%206.23167%2016.6682%206.50667%2016.6389%206.712ZM12.9759%206.206V3.324C12.9759%203.126%2012.8769%203.027%2012.6789%203.027C12.4809%203.027%2012.3819%203.126%2012.3819%203.324V6.206C12.3819%206.404%2012.4809%206.503%2012.6789%206.503C12.8769%206.503%2012.9759%206.404%2012.9759%206.206ZM25.1574%206.712C25.0401%207.482%2024.6331%208.087%2023.9364%208.527C23.2398%208.95967%2022.3268%209.176%2021.1974%209.176C20.0681%209.176%2019.1551%208.95967%2018.4584%208.527C17.7691%208.09433%2017.3621%207.49667%2017.2374%206.734C17.2081%206.52867%2017.1824%206.25367%2017.1604%205.909C17.1458%205.557%2017.1384%205.17933%2017.1384%204.776C17.1384%204.38733%2017.1458%204.028%2017.1604%203.698C17.1824%203.36067%2017.2081%203.09667%2017.2374%202.906C17.3621%202.09933%2017.7728%201.47233%2018.4694%201.025C19.1661%200.577666%2020.0754%200.354%2021.1974%200.354C22.3268%200.354%2023.2398%200.577666%2023.9364%201.025C24.6331%201.465%2025.0401%202.07733%2025.1574%202.862C25.1868%203.05267%2025.2088%203.31667%2025.2234%203.654C25.2454%203.984%2025.2564%204.347%2025.2564%204.743C25.2564%205.161%2025.2454%205.54233%2025.2234%205.887C25.2088%206.23167%2025.1868%206.50667%2025.1574%206.712ZM21.4944%206.206V3.324C21.4944%203.126%2021.3954%203.027%2021.1974%203.027C20.9994%203.027%2020.9004%203.126%2020.9004%203.324V6.206C20.9004%206.404%2020.9994%206.503%2021.1974%206.503C21.3954%206.503%2021.4944%206.404%2021.4944%206.206ZM33.555%200.53V3.797H31.432V9H27.769V3.797H25.635V0.53H33.555ZM38.4495%202.906V0.53H42.0135V9H38.4495V6.272H37.5585V9H33.9945V0.53H37.5585V2.906H38.4495Z'%20fill='%236B6F76'/%3e%3c/svg%3e",close:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.6666%2010.6667L7.99993%208.00001M7.99993%208.00001L5.33325%205.33333M7.99993%208.00001L10.6666%205.33333M7.99993%208.00001L5.33325%2010.6667'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",check:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%208L6.82843%2010.8284L12.4847%205.17155'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",key:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.1111%206.1333C11.1111%205.81483%2010.9896%205.49636%2010.7466%205.25338C10.5037%205.01039%2010.1852%204.88889%209.86669%204.88889M9.86669%209.86667C11.9286%209.86667%2013.6%208.1952%2013.6%206.13333C13.6%204.07147%2011.9286%202.4%209.86669%202.4C7.80483%202.4%206.13336%204.07147%206.13336%206.13333C6.13336%206.30362%206.14476%206.47125%206.16684%206.63549C6.20316%206.90562%206.22131%207.04069%206.20909%207.12615C6.19636%207.21516%206.18015%207.26313%206.13627%207.34163C6.09416%207.41698%206.01993%207.4912%205.87148%207.63965L2.69162%2010.8195C2.584%2010.9271%202.53019%2010.9809%202.49171%2011.0437C2.4576%2011.0994%202.43246%2011.1601%202.41722%2011.2236C2.40002%2011.2952%202.40002%2011.3713%202.40002%2011.5235V12.6044C2.40002%2012.9529%202.40002%2013.1272%202.46784%2013.2603C2.5275%2013.3773%202.62269%2013.4725%202.73976%2013.5322C2.87286%2013.6%203.0471%2013.6%203.39558%2013.6H4.88891V12.3556H6.13336V11.1111H7.3778L8.36037%2010.1285C8.50882%209.98009%208.58305%209.90587%208.6584%209.86375C8.73689%209.81988%208.78486%209.80367%208.87388%209.79093C8.95933%209.77871%209.0944%209.79687%209.36453%209.83319C9.52878%209.85527%209.6964%209.86667%209.86669%209.86667Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",phone:"data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.49998%2011.6666H8.50665M5.96665%2014.6666H11.0333C11.78%2014.6666%2012.1534%2014.6666%2012.4386%2014.5213C12.6895%2014.3934%2012.8935%2014.1895%2013.0213%2013.9386C13.1666%2013.6534%2013.1666%2013.28%2013.1666%2012.5333V3.46659C13.1666%202.71985%2013.1666%202.34648%2013.0213%202.06126C12.8935%201.81038%2012.6895%201.60641%2012.4386%201.47858C12.1534%201.33325%2011.78%201.33325%2011.0333%201.33325H5.96665C5.21991%201.33325%204.84654%201.33325%204.56133%201.47858C4.31044%201.60641%204.10647%201.81038%203.97864%202.06126C3.83331%202.34648%203.83331%202.71985%203.83331%203.46659V12.5333C3.83331%2013.28%203.83331%2013.6534%203.97864%2013.9386C4.10647%2014.1895%204.31044%2014.3934%204.56133%2014.5213C4.84654%2014.6666%205.21991%2014.6666%205.96665%2014.6666ZM8.83331%2011.6666C8.83331%2011.8507%208.68407%2011.9999%208.49998%2011.9999C8.31588%2011.9999%208.16665%2011.8507%208.16665%2011.6666C8.16665%2011.4825%208.31588%2011.3333%208.49998%2011.3333C8.68407%2011.3333%208.83331%2011.4825%208.83331%2011.6666Z'%20stroke='%237F7F7F'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","one-password":"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='6'%20fill='%23F3F5F7'/%3e%3cg%20clip-path='url(%23clip0_2691_4730)'%3e%3cpath%20d='M20.8039%2020.4084V18.2344C20.8039%2017.9893%2021.0026%2017.7906%2021.2477%2017.7906H22.7785C23.0236%2017.7906%2023.2222%2017.9893%2023.2222%2018.2344V22.2139C23.2222%2022.2748%2023.1918%2022.3212%2023.1614%2022.3669L22.7785%2022.7498C22.6864%2022.8419%2022.6864%2022.9797%2022.7785%2023.0558L23.1614%2023.4386C23.1819%2023.4582%2023.198%2023.4821%2023.2086%2023.5085C23.2191%2023.5349%2023.2237%2023.5633%2023.2222%2023.5916V25.7648C23.2222%2025.8825%2023.1755%2025.9954%2023.0923%2026.0786C23.009%2026.1618%2022.8962%2026.2086%2022.7785%2026.2086H21.2477C21.13%2026.2086%2021.0171%2026.1618%2020.9339%2026.0786C20.8507%2025.9954%2020.8039%2025.8825%2020.8039%2025.7648V21.7853C20.8039%2021.7244%2020.8344%2021.678%2020.8648%2021.6323L21.2477%2021.2494C21.3398%2021.1573%2021.3398%2021.0195%2021.2477%2020.9434L20.8648%2020.5606C20.8443%2020.5411%2020.8282%2020.5174%2020.8177%2020.4911C20.8072%2020.4649%2020.8025%2020.4366%2020.8039%2020.4084ZM27.7064%2022C27.7064%2021.2503%2027.5587%2020.5079%2027.2718%2019.8153C26.9849%2019.1227%2026.5644%2018.4933%2026.0343%2017.9632C25.5042%2017.4331%2024.8748%2017.0126%2024.1822%2016.7257C23.4895%2016.4388%2022.7472%2016.2911%2021.9975%2016.2911C21.2478%2016.2911%2020.5054%2016.4388%2019.8128%2016.7257C19.1201%2017.0126%2018.4908%2017.4331%2017.9607%2017.9632C17.4305%2018.4933%2017.01%2019.1227%2016.7231%2019.8153C16.4362%2020.5079%2016.2886%2021.2503%2016.2886%2022C16.2886%2023.5141%2016.89%2024.9662%2017.9607%2026.0368C19.0313%2027.1074%2020.4834%2027.7089%2021.9975%2027.7089C23.5116%2027.7089%2024.9637%2027.1074%2026.0343%2026.0368C27.1049%2024.9662%2027.7064%2023.5141%2027.7064%2022ZM29.5127%2022C29.5127%2026.1477%2026.1452%2029.5%2022.0127%2029.5C17.865%2029.5%2014.5127%2026.1325%2014.5127%2022C14.5127%2017.8523%2017.8802%2014.5%2022.0127%2014.5C26.1452%2014.5%2029.5127%2017.8523%2029.5127%2022Z'%20fill='%237F7F7F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2691_4730'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(14%2014)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e","browser-chrome":"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='6'%20fill='%23F3F5F7'/%3e%3cg%20clip-path='url(%23clip0_2691_4741)'%3e%3cpath%20d='M21.9999%2019.3334C20.5272%2019.3334%2019.3333%2020.5273%2019.3333%2022C19.3333%2023.4728%2020.5272%2024.6667%2021.9999%2024.6667C23.4727%2024.6667%2024.6666%2023.4728%2024.6666%2022C24.6666%2020.5273%2023.4727%2019.3334%2021.9999%2019.3334ZM21.9999%2019.3334H28.1133M16.6333%2018.04L19.6933%2023.3334M21.2533%2028.6267L24.3066%2023.3334M28.6666%2022C28.6666%2025.6819%2025.6818%2028.6667%2021.9999%2028.6667C18.318%2028.6667%2015.3333%2025.6819%2015.3333%2022C15.3333%2018.3181%2018.318%2015.3334%2021.9999%2015.3334C25.6818%2015.3334%2028.6666%2018.3181%2028.6666%2022Z'%20stroke='%237F7F7F'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2691_4741'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(14%2014)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",passkey:"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='6'%20fill='%23F3F5F7'/%3e%3cpath%20d='M25.3333%2020C25.3333%2019.6587%2025.2031%2019.3175%2024.9428%2019.0572C24.6825%2018.7968%2024.3412%2018.6667%2024%2018.6667M24%2024C26.2091%2024%2028%2022.2091%2028%2020C28%2017.7909%2026.2091%2016%2024%2016C21.7909%2016%2020%2017.7909%2020%2020C20%2020.1825%2020.0122%2020.3621%2020.0359%2020.538C20.0748%2020.8275%2020.0942%2020.9722%2020.0811%2021.0637C20.0675%2021.1591%2020.0501%2021.2105%2020.0031%2021.2946C19.958%2021.3753%2019.8785%2021.4549%2019.7194%2021.6139L16.3124%2025.0209C16.1971%2025.1362%2016.1395%2025.1939%2016.0982%2025.2611C16.0617%2025.3208%2016.0348%2025.3858%2016.0184%2025.4538C16%2025.5306%2016%2025.6121%2016%2025.7752V26.9333C16%2027.3067%2016%2027.4934%2016.0727%2027.636C16.1366%2027.7614%2016.2386%2027.8634%2016.364%2027.9273C16.5066%2028%2016.6933%2028%2017.0667%2028H18.6667V26.6667H20V25.3333H21.3333L22.3861%2024.2806C22.5451%2024.1215%2022.6247%2024.042%2022.7054%2023.9969C22.7895%2023.9499%2022.8409%2023.9325%2022.9363%2023.9189C23.0278%2023.9058%2023.1725%2023.9252%2023.462%2023.9641C23.6379%2023.9878%2023.8175%2024%2024%2024Z'%20stroke='%237F7F7F'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","dots-vertical":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.00004%208.66667C8.36823%208.66667%208.66671%208.36819%208.66671%208C8.66671%207.63181%208.36823%207.33333%208.00004%207.33333C7.63185%207.33333%207.33337%207.63181%207.33337%208C7.33337%208.36819%207.63185%208.66667%208.00004%208.66667Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.00004%204C8.36823%204%208.66671%203.70152%208.66671%203.33333C8.66671%202.96514%208.36823%202.66667%208.00004%202.66667C7.63185%202.66667%207.33337%202.96514%207.33337%203.33333C7.33337%203.70152%207.63185%204%208.00004%204Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.00004%2013.3333C8.36823%2013.3333%208.66671%2013.0349%208.66671%2012.6667C8.66671%2012.2985%208.36823%2012%208.00004%2012C7.63185%2012%207.33337%2012.2985%207.33337%2012.6667C7.33337%2013.0349%207.63185%2013.3333%208.00004%2013.3333Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",trash:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%202H10M2%204H14M12.6667%204L12.1991%2011.0129C12.129%2012.065%2012.0939%2012.5911%2011.8667%2012.99C11.6666%2013.3412%2011.3648%2013.6235%2011.0011%2013.7998C10.588%2014%2010.0607%2014%209.00623%2014H6.99377C5.93927%2014%205.41202%2014%204.99889%2013.7998C4.63517%2013.6235%204.33339%2013.3412%204.13332%2012.99C3.90607%2012.5911%203.871%2012.065%203.80086%2011.0129L3.33333%204M6.66667%207V10.3333M9.33333%207V10.3333'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e"},providers:{google:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.7%208.15554C14.7%207.57997%2014.6533%207.15997%2014.5523%206.72443H7.97998V9.32218H11.8377C11.76%209.96777%2011.34%2010.94%2010.4066%2011.5933L10.3936%2011.6803L12.4716%2013.2901L12.6155%2013.3045C13.9378%2012.0834%2014.7%2010.2867%2014.7%208.15554Z'%20fill='%234285F4'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98022%2015C9.87019%2015%2011.4568%2014.3778%2012.6158%2013.3045L10.4069%2011.5933C9.81576%2012.0055%209.02242%2012.2933%207.98022%2012.2933C6.12911%2012.2933%204.558%2011.0722%203.99793%209.38446L3.91586%209.39143L1.75507%2011.0637L1.72681%2011.1422C2.87791%2013.4289%205.2424%2015%207.98022%2015Z'%20fill='%2334A853'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.9977%209.38448C3.84994%208.94893%203.76439%208.48223%203.76439%208.00002C3.76439%207.51778%203.8499%207.05111%203.98993%206.61557L3.98602%206.52279L1.79819%204.82367L1.72662%204.85773C1.25218%205.80664%200.97998%206.87219%200.97998%207.99998C0.97998%209.12777%201.25223%2010.1933%201.72662%2011.1422L3.99774%209.38443'%20fill='%23FBBC04'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98022%203.70662C9.29466%203.70662%2010.1813%204.27442%2010.6869%204.7489L12.6625%202.82C11.4492%201.69221%209.87019%201%207.98022%201C5.2424%201%202.87795%202.5711%201.72681%204.85776L3.99016%206.6156C4.558%204.92782%206.12911%203.70666%207.98022%203.70666'%20fill='%23EA4335'/%3e%3c/svg%3e",gitlab:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_834)'%3e%3cpath%20d='M7.99957%2015.3683L10.9471%206.30157H5.05627L7.99957%2015.3683Z'%20fill='%23E24329'/%3e%3cpath%20d='M0.92752%206.30157L0.0299048%209.05617C-0.0513217%209.30625%200.0363974%209.58242%200.25079%209.73834L7.99948%2015.3683L0.92752%206.30157Z'%20fill='%23FCA326'/%3e%3cpath%20d='M0.92749%206.30164H5.05611L3.27927%200.841173C3.18833%200.561813%202.792%200.561813%202.69779%200.841173L0.92749%206.30164Z'%20fill='%23E24329'/%3e%3cpath%20d='M15.0757%206.30157L15.9701%209.05617C16.0513%209.30625%2015.9636%209.58242%2015.7492%209.73834L7.99939%2015.3683L15.0757%206.30157Z'%20fill='%23FCA326'/%3e%3cpath%20d='M15.0757%206.30164H10.947L12.7206%200.841173C12.8116%200.561813%2013.2079%200.561813%2013.3021%200.841173L15.0757%206.30164Z'%20fill='%23E24329'/%3e%3cpath%20d='M7.99939%2015.3683L10.947%206.30157H15.0757L7.99939%2015.3683Z'%20fill='%23FC6D26'/%3e%3cpath%20d='M7.9994%2015.3683L0.92749%206.30157H5.05611L7.9994%2015.3683Z'%20fill='%23FC6D26'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2502_834'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",apple:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.6167%204.77308C13.5312%204.83608%2012.0218%205.64397%2012.0218%207.44037C12.0218%209.51818%2013.9425%2010.2533%2014%2010.2715C13.9912%2010.3162%2013.6948%2011.2781%2012.9873%2012.2583C12.3564%2013.1207%2011.6976%2013.9818%2010.6952%2013.9818C9.69291%2013.9818%209.43498%2013.4287%208.27784%2013.4287C7.15021%2013.4287%206.74928%2014%205.83245%2014C4.9156%2014%204.27588%2013.2019%203.54034%2012.2218C2.68836%2011.0709%202%209.28291%202%207.58597C2%204.86409%203.86316%203.42054%205.69684%203.42054C6.67116%203.42054%207.48335%204.02821%208.09508%204.02821C8.67726%204.02821%209.58531%203.38414%2010.6937%203.38414C11.1139%203.38414%2012.6233%203.42054%2013.6167%204.77308ZM10.1676%202.23182C10.6259%201.71517%2010.9503%200.998298%2010.9503%200.281428C10.9503%200.182018%2010.9414%200.0812084%2010.9223%200C10.1764%200.0266027%209.28899%200.471848%208.75398%201.0613C8.33385%201.51495%207.94176%202.23182%207.94176%202.95849C7.94176%203.06771%207.96092%203.17691%207.9698%203.21192C8.01697%203.22032%208.09361%203.23012%208.17025%203.23012C8.83946%203.23012%209.68112%202.80448%2010.1676%202.23182Z'%20fill='black'/%3e%3c/svg%3e",atlassian:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.14981%207.46537C4.94085%207.24181%204.61205%207.2541%204.47223%207.54219L1.03899%2014.4048C1.00767%2014.4674%200.992879%2014.5369%200.996019%2014.6068C0.999159%2014.6768%201.02013%2014.7447%201.05693%2014.8042C1.09373%2014.8637%201.14514%2014.9128%201.20627%2014.9469C1.26741%2014.9809%201.33623%2014.9987%201.4062%2014.9987H6.18693C6.26393%2015.0002%206.33969%2014.9792%206.40492%2014.9382C6.47014%2014.8973%206.52201%2014.8382%206.55414%2014.7682C7.58512%2012.641%206.96054%209.39978%205.14981%207.46537Z'%20fill='url(%23paint0_linear_2502_832)'/%3e%3cpath%20d='M7.66883%201.22039C5.74824%204.2626%205.875%207.63208%207.14029%2010.1611L9.44499%2014.7705C9.47857%2014.8394%209.53076%2014.8975%209.59567%2014.9382C9.66057%2014.979%209.73558%2015.0007%209.81221%2015.001H14.5929C14.6629%2015.001%2014.7317%2014.9832%2014.7929%2014.9492C14.854%2014.9151%2014.9054%2014.866%2014.9422%2014.8065C14.979%2014.747%2015%2014.6791%2015.0031%2014.6092C15.0063%2014.5393%2014.9915%2014.4697%2014.9601%2014.4071C14.9601%2014.4071%208.52849%201.53844%208.37023%201.21808C8.22196%200.929997%207.85474%200.923851%207.66883%201.22039Z'%20fill='%232681FF'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2502_832'%20x1='7.03199'%20y1='8.52553'%20x2='3.40822'%20y2='14.802'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230052CC'/%3e%3cstop%20offset='0.92'%20stop-color='%232684FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",bitbucket:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_831)'%3e%3cpath%20d='M0.519254%200.768994C0.44444%200.768029%200.370321%200.783452%200.302102%200.814182C0.233882%200.84491%200.173216%200.890198%200.124362%200.94687C0.0755086%201.00354%200.0396522%201.07021%200.0193102%201.14222C-0.00103186%201.21422%20-0.00536625%201.28981%200.00661131%201.36366L2.18278%2014.5745C2.2099%2014.7362%202.2931%2014.883%202.41779%2014.9894C2.54249%2015.0959%202.70068%2015.155%202.8646%2015.1563H13.3046C13.4274%2015.1579%2013.5468%2015.1153%2013.6409%2015.0362C13.735%2014.9572%2013.7976%2014.847%2013.8172%2014.7257L15.9934%201.36622C16.0054%201.29237%2016.001%201.21678%2015.9807%201.14478C15.9603%201.07278%2015.9245%201.0061%2015.8756%200.94943C15.8268%200.892766%2015.7661%200.84747%2015.6979%200.816742C15.6297%200.786016%2015.5556%200.770592%2015.4807%200.771557L0.519254%200.768994ZM9.68272%2010.317H6.35057L5.44832%205.60322H10.4902L9.68272%2010.317Z'%20fill='%232684FF'/%3e%3cpath%20d='M15.3013%205.60321H10.4902L9.68272%2010.3169H6.35055L2.41602%2014.9871C2.54072%2015.0949%202.69972%2015.1549%202.86458%2015.1563H13.3071C13.43%2015.1579%2013.5494%2015.1153%2013.6434%2015.0362C13.7375%2014.9572%2013.8001%2014.847%2013.8198%2014.7257L15.3013%205.60321Z'%20fill='url(%23paint0_linear_2502_831)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2502_831'%20x1='16.4138'%20y1='6.92327'%20x2='8.46264'%20y2='13.1288'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.18'%20stop-color='%230052CC'/%3e%3cstop%20offset='1'%20stop-color='%232684FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_2502_831'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",discord:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_836)'%3e%3cpath%20d='M13.5535%202.79193C12.5178%202.30734%2011.4104%201.95517%2010.2526%201.75464C10.1104%202.01171%209.94432%202.35748%209.82976%202.63254C8.59904%202.44745%207.37956%202.44745%206.17144%202.63254C6.05693%202.35748%205.88704%202.01171%205.74358%201.75464C4.58454%201.95517%203.47584%202.30864%202.44013%202.79449C0.351095%205.95129%20-0.215207%209.02968%200.0679444%2012.0644C1.4535%2013.099%202.79627%2013.7276%204.11638%2014.139C4.44233%2013.6903%204.73302%2013.2134%204.98345%2012.7109C4.5065%2012.5297%204.04969%2012.306%203.61805%2012.0464C3.73256%2011.9615%203.84457%2011.8729%203.95278%2011.7816C6.58546%2013.013%209.44592%2013.013%2012.0471%2011.7816C12.1566%2011.8729%2012.2686%2011.9615%2012.3819%2012.0464C11.949%2012.3073%2011.491%2012.531%2011.014%2012.7122C11.2644%2013.2134%2011.5538%2013.6916%2011.881%2014.1402C13.2024%2013.7289%2014.5464%2013.1004%2015.932%2012.0644C16.2642%208.5464%2015.3645%205.49628%2013.5535%202.79193ZM5.34212%2010.1981C4.55182%2010.1981%203.9037%209.46024%203.9037%208.56184C3.9037%207.66337%204.53798%206.92429%205.34212%206.92429C6.14628%206.92429%206.79438%207.66207%206.78054%208.56184C6.78178%209.46024%206.14628%2010.1981%205.34212%2010.1981ZM10.6578%2010.1981C9.86752%2010.1981%209.21944%209.46024%209.21944%208.56184C9.21944%207.66337%209.85368%206.92429%2010.6578%206.92429C11.462%206.92429%2012.1101%207.66207%2012.0962%208.56184C12.0962%209.46024%2011.462%2010.1981%2010.6578%2010.1981Z'%20fill='%235865F2'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2502_836'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",dropbox:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.01032%204.15504L4.00518%206.71006L8.01032%209.26513L4.00518%2011.8201L0%209.25129L4.00518%206.69625L0%204.15504L4.00518%201.60001L8.01032%204.15504ZM3.98446%2012.6418L7.98964%2010.0868L11.9948%2012.6418L7.98964%2015.1969L3.98446%2012.6418ZM8.01032%209.25129L12.0155%206.69625L8.01032%204.15504L11.9948%201.60001L16%204.15504L11.9948%206.71006L16%209.26513L11.9948%2011.8201L8.01032%209.25129Z'%20fill='%230061FF'/%3e%3c/svg%3e",facebook:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2015C11.866%2015%2015%2011.866%2015%207.99997C15%204.13401%2011.866%201%208%201C4.134%201%201%204.13401%201%207.99997C1%2011.866%204.134%2015%208%2015Z'%20fill='%231977F3'/%3e%3cpath%20d='M10.6065%2010.1416L10.9172%208.16548H8.97241V6.88336C8.97241%206.34321%209.24363%205.81556%2010.1154%205.81556H11V4.1336C11%204.1336%2010.1973%204%209.43%204C7.82844%204%206.78107%204.94574%206.78107%206.65942V8.16548H5V10.1416H6.78107V14.9174C7.13809%2014.9721%207.50398%2015%207.87671%2015C8.24951%2015%208.6154%2014.9712%208.97241%2014.9174V10.1416H10.6065Z'%20fill='white'/%3e%3c/svg%3e",github:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.97914%201C4.11986%201%201%204.20833%201%208.17748C1%2011.3502%202.999%2014.0359%205.77214%2014.9864C6.11886%2015.0579%206.24586%2014.832%206.24586%2014.642C6.24586%2014.4756%206.23443%2013.9052%206.23443%2013.311C4.293%2013.7388%203.88871%2012.4554%203.88871%2012.4554C3.57671%2011.6235%203.11443%2011.4097%203.11443%2011.4097C2.479%2010.97%203.16071%2010.97%203.16071%2010.97C3.86557%2011.0176%204.23543%2011.7068%204.23543%2011.7068C4.85929%2012.8%205.86457%2012.4911%206.269%2012.3009C6.32671%2011.8375%206.51171%2011.5166%206.70814%2011.3384C5.15971%2011.172%203.53057%2010.5541%203.53057%207.79715C3.53057%207.01285%203.80771%206.37119%204.24686%205.87215C4.17757%205.69394%203.93486%204.95704%204.31629%203.97077C4.31629%203.97077%204.90557%203.7806%206.23429%204.70752C6.80316%204.55041%207.38982%204.47049%207.97914%204.46981C8.56843%204.46981%209.16914%204.55308%209.72386%204.70752C11.0527%203.7806%2011.642%203.97077%2011.642%203.97077C12.0234%204.95704%2011.7806%205.69394%2011.7113%205.87215C12.162%206.37119%2012.4277%207.01285%2012.4277%207.79715C12.4277%2010.5541%2010.7986%2011.1601%209.23857%2011.3384C9.49286%2011.5642%209.71229%2011.9919%209.71229%2012.6693C9.71229%2013.6318%209.70086%2014.4043%209.70086%2014.6418C9.70086%2014.832%209.828%2015.0579%2010.1746%2014.9866C12.9477%2014.0358%2014.9467%2011.3502%2014.9467%208.17748C14.9581%204.20833%2011.8269%201%207.97914%201Z'%20fill='%2324292F'/%3e%3c/svg%3e",hubspot:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.013%205.51301V3.9479C11.4349%203.74999%2011.7057%203.32811%2011.7083%202.86197V2.82551C11.7083%202.15884%2011.1667%201.61978%2010.5026%201.61978H10.4661C9.79948%201.61978%209.26042%202.15884%209.26042%202.82551V2.86197C9.26302%203.32811%209.53385%203.74999%209.95573%203.9479V5.51301C9.35937%205.60415%208.79948%205.85155%208.33073%206.22915L4.03646%202.8828C4.06771%202.77343%204.08333%202.65884%204.08594%202.54426C4.08594%201.79426%203.47917%201.18488%202.72917%201.18488C1.97917%201.18228%201.36979%201.78905%201.36719%202.53905C1.36719%203.29165%201.97396%203.90103%202.72396%203.90103C2.96094%203.90103%203.1901%203.83593%203.39323%203.71874L7.6224%207.0104C6.84635%208.18488%206.86719%209.71353%207.67448%2010.8672L6.38802%2012.1536C6.28646%2012.1198%206.17708%2012.1042%206.06771%2012.1016C5.45313%2012.1016%204.95313%2012.6016%204.95313%2013.2187C4.95313%2013.8333%205.45313%2014.3333%206.06771%2014.3333C6.6849%2014.3333%207.1849%2013.8333%207.1849%2013.2187C7.18229%2013.1094%207.16406%2013%207.13281%2012.8958L8.40365%2011.625C9.54167%2012.5%2011.1016%2012.5755%2012.3177%2011.8125C13.5339%2011.0521%2014.1484%209.61457%2013.8568%208.20832C13.5651%206.80468%2012.4297%205.72915%2011.013%205.51301ZM10.4844%2010.6641C9.84375%2010.6797%209.24479%2010.3489%208.92187%209.79686C8.59635%209.24478%208.59635%208.56249%208.92187%208.0104C9.24479%207.45832%209.84375%207.12759%2010.4844%207.14322C11.4323%207.17707%2012.1823%207.95572%2012.1823%208.90363C12.1849%209.84895%2011.4349%2010.6276%2010.487%2010.6614'%20fill='%23FF7A59'/%3e%3c/svg%3e",linear:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_2502_833'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='1'%20y='1'%20width='14'%20height='14'%3e%3cpath%20d='M15%201H1V15H15V1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2502_833)'%3e%3cpath%20d='M1.17156%209.61322C1.14041%209.48043%201.2986%209.39678%201.39505%209.49324L6.50679%2014.6049C6.60323%2014.7014%206.5196%2014.8596%206.38681%2014.8284C3.80721%2014.2233%201.77669%2012.1928%201.17156%209.61322ZM1.00026%207.56447C0.997795%207.60414%201.01271%207.64286%201.0408%207.67096L8.32907%2014.9592C8.35714%2014.9873%208.39585%2015.0022%208.43554%2014.9997C8.7672%2014.9791%209.09263%2014.9353%209.41029%2014.8701C9.51732%2014.8481%209.55449%2014.7166%209.47721%2014.6394L1.36063%206.52279C1.28337%206.44552%201.15187%206.48271%201.12989%206.58974C1.06466%206.90734%201.02092%207.23279%201.00026%207.56447ZM1.58953%205.15876C1.56622%205.21109%201.57809%205.27224%201.6186%205.31276L10.6872%2014.3814C10.7278%2014.4219%2010.7889%2014.4338%2010.8412%2014.4105C11.0913%2014.2991%2011.3336%2014.1735%2011.5672%2014.0347C11.6445%2013.9888%2011.6565%2013.8826%2011.5929%2013.819L2.18099%204.40714C2.11742%204.34356%202.01121%204.35549%201.96529%204.43279C1.8265%204.66636%201.70091%204.9087%201.58953%205.15876ZM2.77222%203.53036C2.7204%203.47855%202.7172%203.39544%202.76602%203.34079C4.04913%201.9043%205.9156%201%207.99327%201C11.863%201%2015%204.13702%2015%208.00672C15%2010.0844%2014.0957%2011.9509%2012.6592%2013.234C12.6046%2013.2828%2012.5214%2013.2796%2012.4696%2013.2278L2.77222%203.53036Z'%20fill='url(%23paint0_linear_2502_833)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2502_833'%20x1='8'%20y1='1'%20x2='8'%20y2='15'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235C6BF1'/%3e%3cstop%20offset='1'%20stop-color='%23283188'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",linledin:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.9289%2012.9289H10.8545V9.68033C10.8545%208.90563%2010.8407%207.90839%209.77562%207.90839C8.69517%207.90839%208.52983%208.7524%208.52983%209.62391V12.9287H6.45547V6.24817H8.44688V7.16113H8.47481C8.88025%206.46785%209.63695%206.05224%2010.4396%206.08204C12.5421%206.08204%2012.9297%207.46497%2012.9297%209.2641L12.9289%2012.9289ZM4.11485%205.33497C3.45446%205.33497%202.91079%204.79161%202.91079%204.1312C2.91079%203.47081%203.45421%202.92738%204.1146%202.92738C4.77493%202.92738%205.31829%203.47068%205.31841%204.13096C5.31841%204.79123%204.77512%205.33491%204.11485%205.33497ZM5.15203%2012.9289H3.07549V6.24817H5.15203V12.9289ZM13.963%201.00097H2.03305C1.47303%200.994641%201.00683%201.45002%201%202.01004V13.9897C1.00658%2014.55%201.47272%2015.0059%202.03305%2014.9999H13.963C14.5247%2015.007%2014.9925%2014.5511%2015%2013.9897V2.00923C14.9925%201.44802%2014.5241%200.992699%2013.963%201.00009V1.00097Z'%20fill='%230A66C2'/%3e%3c/svg%3e",microsoft:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201H15V15H1V1Z'%20fill='%23F3F3F3'/%3e%3cpath%20d='M2%202H8V8H2V2Z'%20fill='%23F35325'/%3e%3cpath%20d='M8%202H14V8H8V2Z'%20fill='%2381BC06'/%3e%3cpath%20d='M2%208H8V14H2V8Z'%20fill='%2305A6F0'/%3e%3cpath%20d='M8%208H14V14H8V8Z'%20fill='%23FFBA08'/%3e%3c/svg%3e",notion:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.33281%201.60396L10.0795%201.03183C11.031%200.95016%2011.2756%201.00523%2011.8738%201.44016L14.3467%203.18223C14.7546%203.48183%2014.8904%203.5635%2014.8904%203.8897V13.4438C14.8904%2014.0425%2014.6729%2014.3967%2013.9118%2014.4509L4.91582%2014.9955C4.34462%2015.0225%204.07255%2014.9409%203.77341%2014.5596L1.95248%2012.1917C1.62581%2011.7559%201.49048%2011.4297%201.49048%2011.0484V2.55596C1.49048%202.06643%201.70795%201.65809%202.33281%201.60396Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.0795%201.03183L2.33281%201.60396C1.70795%201.65809%201.49048%202.06643%201.49048%202.55596V11.0484C1.49048%2011.4297%201.62581%2011.7559%201.95248%2012.1917L3.77341%2014.5596C4.07255%2014.9409%204.34462%2015.0225%204.91582%2014.9955L13.9118%2014.4509C14.6724%2014.3967%2014.8904%2014.0425%2014.8904%2013.4438V3.8897C14.8904%203.5803%2014.7681%203.49116%2014.4083%203.22703C14.3876%203.21212%2014.3669%203.19718%2014.3462%203.18223L11.8738%201.44016C11.2756%201.00523%2011.031%200.95016%2010.0795%201.03183ZM5.11929%203.73336C4.38475%203.78283%204.21815%203.79403%203.80095%203.45476L2.74021%202.61103C2.63241%202.50183%202.68654%202.36556%202.95814%202.33849L10.4052%201.79436C11.0306%201.73976%2011.3563%201.95769%2011.6008%202.14809L12.8781%203.07349C12.9327%203.10103%2013.0685%203.26389%2012.9052%203.26389L5.21449%203.72683L5.11929%203.73336ZM4.26295%2013.3621V5.25144C4.26295%204.89724%204.37168%204.7339%204.69742%204.70637L13.5305%204.1893C13.8301%204.16223%2013.9654%204.35263%2013.9654%204.70637V12.7629C13.9654%2013.1171%2013.9108%2013.4167%2013.4218%2013.4438L4.96902%2013.9338C4.47995%2013.9609%204.26295%2013.798%204.26295%2013.3621ZM12.607%205.68637C12.6611%205.93137%2012.607%206.17637%2012.362%206.20437L11.9546%206.2851V12.2734C11.6008%2012.4638%2011.2751%2012.5725%2011.003%2012.5725C10.5681%2012.5725%2010.4593%2012.4363%2010.1336%2012.0284L7.46942%207.83677V11.8921L8.31224%2012.083C8.31224%2012.083%208.31224%2012.573%207.63229%2012.573L5.75769%2012.6817C5.70309%2012.5725%205.75769%2012.3005%205.94762%2012.2463L6.43716%2012.1105V6.7485L5.75769%206.69344C5.70309%206.44844%205.83889%206.0947%206.21969%206.06717L8.23104%205.93184L11.003%2010.1776V6.42137L10.2965%206.34017C10.2419%206.0401%2010.4593%205.82217%2010.7309%205.79557L12.607%205.68637Z'%20fill='black'/%3e%3c/svg%3e",slack:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.94137%209.84695C3.94137%2010.6564%203.28013%2011.3176%202.47069%2011.3176C1.66124%2011.3176%201%2010.6564%201%209.84695C1%209.03747%201.66124%208.37625%202.47069%208.37625H3.94137V9.84695Z'%20fill='%23E01E5A'/%3e%3cpath%20d='M4.68237%209.84695C4.68237%209.03747%205.34361%208.37625%206.15306%208.37625C6.9625%208.37625%207.62374%209.03747%207.62374%209.84695V13.5293C7.62374%2014.3388%206.9625%2015%206.15306%2015C5.34361%2015%204.68237%2014.3388%204.68237%2013.5293V9.84695Z'%20fill='%23E01E5A'/%3e%3cpath%20d='M6.15306%203.94137C5.34361%203.94137%204.68237%203.28013%204.68237%202.47069C4.68237%201.66124%205.34361%201%206.15306%201C6.9625%201%207.62374%201.66124%207.62374%202.47069V3.94137H6.15306Z'%20fill='%2336C5F0'/%3e%3cpath%20d='M6.15309%204.68237C6.96254%204.68237%207.62378%205.34361%207.62378%206.15306C7.62378%206.9625%206.96254%207.62374%206.15309%207.62374H2.47069C1.66124%207.62374%201%206.9625%201%206.15306C1%205.34361%201.66124%204.68237%202.47069%204.68237H6.15309Z'%20fill='%2336C5F0'/%3e%3cpath%20d='M12.0585%206.15306C12.0585%205.34361%2012.7197%204.68237%2013.5291%204.68237C14.3386%204.68237%2014.9998%205.34361%2014.9998%206.15306C14.9998%206.9625%2014.3386%207.62374%2013.5291%207.62374H12.0585V6.15306Z'%20fill='%232EB67D'/%3e%3cpath%20d='M11.3176%206.15309C11.3176%206.96254%2010.6563%207.62378%209.84685%207.62378C9.03744%207.62378%208.37622%206.96254%208.37622%206.15309V2.47069C8.37622%201.66124%209.03744%201%209.84685%201C10.6563%201%2011.3176%201.66124%2011.3176%202.47069V6.15309Z'%20fill='%232EB67D'/%3e%3cpath%20d='M9.84685%2012.0586C10.6563%2012.0586%2011.3176%2012.7199%2011.3176%2013.5293C11.3176%2014.3388%2010.6563%2015%209.84685%2015C9.03744%2015%208.37622%2014.3388%208.37622%2013.5293V12.0586H9.84685Z'%20fill='%23ECB22E'/%3e%3cpath%20d='M9.84685%2011.3176C9.03744%2011.3176%208.37622%2010.6564%208.37622%209.84695C8.37622%209.03747%209.03744%208.37625%209.84685%208.37625H13.5293C14.3388%208.37625%2015%209.03747%2015%209.84695C15%2010.6564%2014.3388%2011.3176%2013.5293%2011.3176H9.84685Z'%20fill='%23ECB22E'/%3e%3c/svg%3e",tiktok:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.60974%205.91839V5.33278C6.40646%205.30058%206.20114%205.28293%205.99535%205.27998C4.00296%205.27577%202.23902%206.56688%201.64074%208.46732C1.04245%2010.3678%201.74866%2012.4365%203.38415%2013.5744C2.15905%2012.2633%201.81888%2010.3546%202.51559%208.70096C3.21229%207.0473%204.81576%205.95753%206.60974%205.91839Z'%20fill='%2325F4EE'/%3e%3cpath%20d='M6.72004%2012.552C7.834%2012.5505%208.74966%2011.6729%208.79844%2010.56V0.6288H10.6128C10.5758%200.421288%2010.5581%200.210783%2010.56%200H8.07844V9.9216C8.03716%2011.0402%207.11934%2011.9262%206.00004%2011.928C5.66555%2011.9252%205.33652%2011.8429%205.04004%2011.688C5.42976%2012.2279%206.05416%2012.5491%206.72004%2012.552Z'%20fill='%2325F4EE'/%3e%3cpath%20d='M14.0014%203.9984V3.4464C13.3337%203.44663%2012.6808%203.24959%2012.1246%202.88C12.6122%203.44675%2013.271%203.83934%2014.0014%203.9984Z'%20fill='%2325F4EE'/%3e%3cpath%20d='M12.125%202.87999C11.5772%202.25615%2011.2752%201.45422%2011.2754%200.623993H10.613C10.786%201.55168%2011.3327%202.36746%2012.125%202.87999Z'%20fill='%23FE2C55'/%3e%3cpath%20d='M5.99519%207.7616C5.03925%207.76652%204.20933%208.42142%203.98229%209.34998C3.75525%2010.2786%204.18936%2011.2426%205.03519%2011.688C4.57688%2011.0552%204.51214%2010.219%204.86761%209.5232C5.22308%208.82744%205.9387%208.3898%206.71999%208.3904C6.92831%208.39298%207.13519%208.42532%207.33439%208.4864V5.9616C7.13099%205.93112%206.92567%205.91509%206.71999%205.9136H6.60959V7.8336C6.40937%207.7799%206.20243%207.75566%205.99519%207.7616Z'%20fill='%23FE2C55'/%3e%3cpath%20d='M14.0015%203.99841V5.91841C12.7654%205.91603%2011.5613%205.52475%2010.5599%204.80001V9.84481C10.5546%2012.3621%208.51245%2014.4%205.99511%2014.4C5.06025%2014.4017%204.1479%2014.1132%203.38391%2013.5744C4.6589%2014.9457%206.64315%2015.3971%208.38585%2014.7123C10.1285%2014.0275%2011.2747%2012.346%2011.2751%2010.4736V5.44321C12.2799%206.16321%2013.4854%206.54937%2014.7215%206.54721V4.07521C14.4795%204.07445%2014.2382%204.04871%2014.0015%203.99841Z'%20fill='%23FE2C55'/%3e%3cpath%20d='M10.56%209.8448V4.79999C11.5645%205.52056%2012.7702%205.9068%2014.0064%205.90399V3.98399C13.2761%203.82977%2012.6157%203.4423%2012.1248%202.87999C11.3324%202.36746%2010.7857%201.55168%2010.6128%200.623993H8.7984V10.56C8.7621%2011.4464%208.16834%2012.2126%207.31904%2012.4691C6.46968%2012.7255%205.55115%2012.4159%205.03038%2011.6976C4.18454%2011.2522%203.75043%2010.2882%203.97747%209.35958C4.20452%208.43102%205.03444%207.77612%205.99038%207.7712C6.19878%207.77306%206.40578%207.8054%206.6048%207.8672V5.94719C4.80073%205.97776%203.18515%207.07136%202.48647%208.73486C1.78778%2010.3984%202.13799%2012.3176%203.37918%2013.6272C4.1507%2014.1482%205.06437%2014.4181%205.99518%2014.4C8.5125%2014.4%2010.5547%2012.3621%2010.56%209.8448Z'%20fill='black'/%3e%3c/svg%3e",twitch:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%207.94593L11.75%2010.1081H9.5L7.53124%2012V10.1081H5V2H14V7.94593Z'%20fill='white'/%3e%3cpath%20d='M4.70834%201L2%203.67857V13.3215H5.25V16L7.95833%2013.3215H10.125L15%208.5V1H4.70834ZM13.9166%207.96428L11.75%2010.1072H9.5833L7.6875%2011.9822V10.1072H5.25V2.07143H13.9166V7.96428Z'%20fill='%239146FF'/%3e%3cpath%20d='M12%204H11V7H12V4Z'%20fill='%239146FF'/%3e%3cpath%20d='M9%204H8V7H9V4Z'%20fill='%239146FF'/%3e%3c/svg%3e",twitter:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.14163%206.50461L13.6089%201H12.5503L8.67137%205.77958L5.57328%201H2L6.68492%208.22757L2%2014H3.05866L7.15491%208.9526L10.4267%2014H14L9.14137%206.50461H9.14163ZM7.69165%208.29124L7.21697%207.57154L3.44011%201.84479H5.06615L8.11412%206.46646L8.5888%207.18616L12.5508%2013.1936H10.9248L7.69165%208.29152V8.29124Z'%20fill='black'%20stroke='black'%20stroke-width='0.5'/%3e%3c/svg%3e",xero:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_2502_830'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='1'%20y='1'%20width='14'%20height='14'%3e%3cpath%20d='M15%201H1V15H15V1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2502_830)'%3e%3cpath%20d='M7.99994%2014.9733C11.8512%2014.9733%2014.9732%2011.8513%2014.9732%207.99997C14.9732%204.14873%2011.8512%201.02667%207.99994%201.02667C4.14867%201.02667%201.02661%204.14873%201.02661%207.99997C1.02661%2011.8513%204.14867%2014.9733%207.99994%2014.9733Z'%20fill='%231AB4D7'/%3e%3cpath%20d='M4.36467%207.97988L5.55473%206.78688C5.59418%206.74667%205.61619%206.69343%205.61619%206.63697C5.61619%206.5193%205.52054%206.42374%205.40287%206.42374C5.34555%206.42374%205.29181%206.44621%205.2513%206.48723L4.06231%207.67564L2.86801%206.48544C2.82765%206.44566%202.77418%206.42374%202.71748%206.42374C2.59995%206.42374%202.50427%206.51925%202.50427%206.6368C2.50427%206.69415%202.52716%206.74796%202.56825%206.7885L3.75814%207.97822L2.56887%209.16973C2.52707%209.21089%202.50427%209.26479%202.50427%209.3224C2.50427%209.44007%202.59995%209.53548%202.71748%209.53548C2.77428%209.53548%202.8278%209.51343%202.86801%209.47325L4.06046%208.28241L5.24838%209.46891C5.29051%209.51245%205.34487%209.53562%205.40287%209.53562C5.52042%209.53562%205.61608%209.44007%205.61608%209.3224C5.61608%209.26563%205.59409%209.21229%205.55406%209.17211L4.36467%207.97988Z'%20fill='white'/%3e%3cpath%20d='M11.4393%207.97953C11.4393%208.19316%2011.6131%208.36697%2011.827%208.36697C12.0404%208.36697%2012.2142%208.19316%2012.2142%207.97953C12.2142%207.76582%2012.0404%207.59204%2011.827%207.59204C11.6131%207.59204%2011.4393%207.76582%2011.4393%207.97953Z'%20fill='white'/%3e%3cpath%20d='M10.7045%207.97969C10.7045%207.36096%2011.2078%206.85753%2011.8266%206.85753C12.4451%206.85753%2012.9485%207.36096%2012.9485%207.97969C12.9485%208.59828%2012.4451%209.10151%2011.8266%209.10151C11.2078%209.10151%2010.7045%208.59828%2010.7045%207.97969ZM10.2631%207.97969C10.2631%208.84167%2010.9645%209.543%2011.8266%209.543C12.6887%209.543%2013.3905%208.84167%2013.3905%207.97969C13.3905%207.11757%2012.6887%206.41608%2011.8266%206.41608C10.9645%206.41608%2010.2631%207.11757%2010.2631%207.97969Z'%20fill='white'/%3e%3cpath%20d='M10.152%206.44279L10.0864%206.4426C9.88947%206.4426%209.69956%206.50471%209.54094%206.62696C9.52001%206.5313%209.43447%206.45933%209.33269%206.45933C9.21544%206.45933%209.1215%206.55325%209.12122%206.67071L9.12192%209.3041C9.12227%209.42135%209.21789%209.51662%209.33514%209.51662C9.45246%209.51662%209.54808%209.42135%209.54836%209.30382L9.54843%207.68463C9.54843%207.14496%209.59778%206.927%2010.0601%206.86923C10.1028%206.86392%2010.1494%206.86475%2010.1494%206.86475C10.276%206.86041%2010.3659%206.77348%2010.3659%206.656C10.3659%206.53844%2010.2699%206.44279%2010.152%206.44279Z'%20fill='white'/%3e%3cpath%20d='M6.05791%207.72227C6.05791%207.71643%206.05836%207.71035%206.05864%207.70435C6.18243%207.215%206.62563%206.85287%207.15344%206.85287C7.68764%206.85287%208.13489%207.2239%208.25235%207.72227H6.05791ZM8.689%207.682C8.59709%207.24697%208.35895%206.88964%207.99626%206.66016C7.46613%206.32358%206.76607%206.3422%206.25401%206.70635C5.83632%207.00349%205.59521%207.48958%205.59521%207.9903C5.59521%208.11586%205.61035%208.24256%205.64186%208.3673C5.79957%208.98778%206.33294%209.45741%206.96885%209.53525C7.15754%209.55814%207.34122%209.54715%207.53141%209.49794C7.69485%209.45818%207.85299%209.39189%207.99871%209.29851C8.14993%209.20128%208.27628%209.07304%208.39864%208.9196C8.40116%208.9168%208.40361%208.91428%208.40613%208.91134C8.49104%208.80599%208.47529%208.65619%208.38198%208.58465C8.30323%208.52438%208.17107%208.49988%208.06712%208.63309C8.04472%208.66487%208.0198%208.69763%207.99238%208.73039C7.90969%208.82181%207.80712%208.91029%207.6842%208.97896C7.52779%209.06254%207.34955%209.11028%207.16006%209.11133C6.53986%209.1044%206.20799%208.67152%206.08993%208.36254C6.06932%208.30479%206.05342%208.24494%206.04234%208.18334C6.0409%208.17179%206.03983%208.16066%206.0394%208.15044C6.16763%208.15044%208.26501%208.15009%208.26501%208.15009C8.57014%208.14365%208.73436%207.92828%208.689%207.682Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e"}};return"flags"!==s?e.jsx("img",{className:S("passflow-icon",o,r),src:n[s][t],alt:t}):e.jsx("div",{className:S("passflow-icon",o,r),children:e.jsx("div",{className:S("passflow-flag",t.toLowerCase()),style:{backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZgAAAGACAMAAACnYISRAAADAFBMVEUAAAAxQ5cSO5wAOJP////OESYBAAAANJgAJ33SDzT80Rb/AADKAADzKDgEfj3bFRr/zgDoDi4JhQHuHCYAak0AlEIAaDt1qtv/3wAAN4rdKBAAN6lFjdwBMnwOrS3cIyADh1EAVqVLsdjCKC/44BUBeV0BcsIEm0oEKov84kLVBgcAH6UCrcoAZsPpKjv+yAABAHYAoVtysuEAZQAetTrfIA7VKCQBKGXoAxLiCxcAc89ZgbwdRIoLSqn7+fgCki+kMTYAAJcAAK0Almy/CS/+6AYiSaYAUMPiPShkz//vKi0MHIy1Bwb9mgQiXjn88u8AmQADUpP/xyIxjyyHxuMAot7p6Ob9uAs5XbXUIT352gHFCx4jnkQMsF83lQT2PzNwGT06dMQAjMPhFyf1gQPdG0c1qDQAcijw9fjrhoivGyfFICYAAM0Bf/7hZmk9dir65OWNJCrTrjnwsSwmQILmVgUAoeHUOkn2zM3fOwh9mcj/eQDRyc7+mTL//wAHaajh6vPxsbKpstft8e8EOLhJcLQCmbTW4O0AAP/789j51tgfHRDphSjivAztj5XkcxHd3Nn821q2t7jyvcCUlZPuxwuTy6fsoKTqS00CcGlIZaLQHR7pYCSip6QTOIb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GKGvl1fObT+271YDKo4rImhJyaFE7O2JQfsVK9NrJQtezObCA29lN0PaoYgNNzPCYYMMpJOPIjEkKUMyKmeRSnzeL3I0+DzeoNBD/J6PayYoWUhIjR0MXfcAdUMYNdlbQ3YRzUxRGIKbQjZCkUxmWvXwl5VMsCLz9vtsV996xVXXHG119Pg9Znw+7rGkBAakejNH6GR28+1mne8fpWUpBMPxIPF2Apt8BDFtLScql5Mg93X4PVecevExFNX2L3dPnsDK0anY0NDIhMDv1gN3/fII4/Az3Ef9d8Oo4gNy09wMclSIC4QGlFMdfUsxPi8dp/Xc/Wtn2y+9Wq7N2i3ByNi2NCoFlP07DL97c+WI1icI5J04kEXQ7yvVowvaPd5HigBHrD77EGfLy4x6KAr5JqEynjCi0nhN76UxS0GN/7xxvHx8c+9XtDki6uUYTGhgyiolTIeofkritFRYYVV2KH/L3eOjztLvD47jMqE5n8hvfnTxZSPjIwMas0fgiJuHPGKgdoV9JaMj5eM5/mCcCQbLpdV3yqgJAbYPTrvhB8uszPK1zkn/D4lLjFMENx4PB67HXZgJchgMUJcVoKPmGK0CaYAsVwK7+NPTBCGy/agNwgPO75vKpsYIi4xxWinZMjEPA46CDdxiQHACAb8MAzXS4i4xBSjncSkNv/Eegx9tEbEJaYY7bS/hoaGhobGP8xff9MS7Xw+B5wAAAAASUVORK5CYII=)"}})})},V=({size:s,x:t,y:a})=>{const r={width:s,height:s,left:t,top:a};return e.jsx("span",{className:"passflow-ripple passflow-ripple-effect",style:r})},D=({size:s,variant:t,type:a,onClick:r,withIcon:n=!1,asIcon:i=!1,className:l="",children:c,withRipple:d=!0,...p})=>{const[u,h]=o.useState(),m={"passflow-button passflow-button--big":"big"===s,"passflow-button passflow-button--medium":"medium"===s,"passflow-button passflow-button--small":"small"===s,"passflow-button--primary":"primary"===t,"passflow-button--secondary":"secondary"===t,"passflow-button--outlined":"outlined"===t,"passflow-button--warning":"warning"===t,"passflow-button--clean":"clean"===t,"passflow-button--provider":"provider"===t,"passflow-button--dark":"dark"===t,"passflow-button--with-icon":n,"passflow-button--as-icon":i};return o.useEffect(()=>{let e;return u&&(e=setTimeout(()=>{h(void 0)},1e3)),()=>clearTimeout(e)},[u]),e.jsxs("button",{className:S(m,l),type:a,onClick:s=>{const t=s.currentTarget.getBoundingClientRect(),a=Math.max(t.width,t.height),o=s.clientX-t.left-a/2,n=s.clientY-t.top-a/2,i=e.jsx(V,{size:a,x:o,y:n},Date.now());h(e=>e?[...e,i]:[i]),r?.(s)},...p,children:[c,d&&e.jsx("div",{"aria-hidden":!0,className:"passflow-ripple-container",children:u})]})},G=o.forwardRef(({id:s,isError:t=!1,className:a="",disabled:r=!1,...o},n)=>{const i={"passflow-field--error":t};return e.jsx("input",{ref:n,id:s,type:"text",className:S("passflow-field-input passflow-field--focused",i,a),disabled:r,...o})}),H=e=>{const s={requireNumber:"number",requireSymbol:"symbol",requireLowerCase:"lowercase letter",requireUpperCase:"uppercase letter"},t=Object.keys(e).filter(s=>e[s]);return`Contain a ${new Intl.ListFormat("en").format(t.map(e=>s[e]))}`},B=o.forwardRef(({id:t,value:a,passwordPolicy:r,withMessages:n=!1,validationErrors:i=[],isError:l=!1,className:c="",disabled:d=!1,...p},u)=>{const[h,m]=o.useState(!1),f={"passflow-field--error":l},w=e=>s.size(a)>0&&0===s.size(s.intersection(i,e))?"passflow-password-validation-item--success":null,g=e=>s.size(a)>0&&0===s.size(s.intersection(i,e))?"check":"close",x=()=>m(e=>!e);if(null===r)return null;const{min_password_length:y,require_lowercase:v,require_number:C,require_symbol:j,require_uppercase:b}=r;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"passflow-field-wrapper",children:[e.jsx("input",{ref:u,id:t,value:a,type:h?"text":"password",className:S("passflow-field-input passflow-field--focused passflow-field-input--with-icon",f,c),disabled:d,...p}),h?e.jsx(D,{className:"passflow-button-display-password passflow-field-icon-button",size:"small",type:"button",variant:"clean",asIcon:!0,withIcon:!0,onClick:x,children:e.jsx(_,{size:"small",type:"general",id:"eye-on"})}):e.jsx(D,{className:"passflow-button-display-password passflow-field-icon-button",size:"small",type:"button",variant:"clean",asIcon:!0,withIcon:!0,onClick:x,children:e.jsx(_,{size:"small",type:"general",id:"eye-off"})})]}),n&&e.jsxs("div",{className:"passflow-password-validation",children:[e.jsxs("p",{className:S("passflow-password-validation-item",w(["length"])),children:[e.jsx(_,{size:"small",id:g(["length"]),type:"general",className:S(w(["length"]))}),"At least ",y," characters"]}),e.jsxs("p",{className:S("passflow-password-validation-item",w(["uppercase","lowercase","number","symbol"])),children:[e.jsx(_,{size:"small",id:g(["uppercase","lowercase","number","symbol"]),type:"general",className:S(w(["uppercase","lowercase","number","symbol"]))}),H({requireNumber:C,requireSymbol:j,requireLowerCase:v,requireUpperCase:b})]})]})]})}),Z={appSettings:null,passwordPolicy:null,url:void 0,appId:void 0,scopes:void 0,createTenantForNewUser:void 0,parseQueryParams:!0,isDiscoveringAppId:!1,hasSettingsError:!1},O=o.createContext(void 0),q=(e,s)=>"SET_PASSFLOW_STATE"===s.type?{...e,...s.payload}:e,J={signin:{path:"/signin"},signup:{path:"/signup"},verify_otp:{path:"/verify-challenge-otp"},verify_magic_link:{path:"/verify-challenge-magic-link"},forgot_password:{path:"/forgot-password"},forgot_password_success:{path:"/forgot-password/success"},reset_password:{path:"/password/reset"},invitation:{path:"/invitation"},passkey:{path:"/passkeysss"},two_factor_verify:{path:"/two-factor-verify"},two_factor_recovery:{path:"/two-factor-recovery"},two_factor_setup:{path:"/two-factor-setup"},two_factor_setup_magic_link:{path:"/two-factor-setup-magic-link/:token"},cli_browser:{path:"/cli/browser/:sessionId"},cli_qr:{path:"/cli/auth/:sessionId"}},W=({to:e,search:s,replace:t})=>{const a=s?s.startsWith("?")?s:`?${s}`:"";t?window.location.replace(`${e}${a}`):window.location.href=`${e}${a}`},K=o.createContext({navigate:W,setNavigate:()=>{},router:"default"}),Q=o.createContext(void 0),X=({children:s,onSessionExpired:t})=>{const a=$(),[r,i]=o.useState(!1),[l,c]=o.useState(!1);o.useEffect(()=>{const e={onAuthChange:(e,s)=>{if(e===n.PassflowEvent.SessionExpired){const e=s?.reason??"refresh_failed";c(!0),t?.(e)}else e!==n.PassflowEvent.SignIn&&e!==n.PassflowEvent.Register||c(!1)}};return a.subscribe(e,[n.PassflowEvent.SessionExpired,n.PassflowEvent.SignIn,n.PassflowEvent.Register]),()=>{a.unsubscribe(e)}},[a,t]);const d=o.useCallback(()=>a.isAuthenticated(),[a]),p=o.useCallback(async e=>{i(!0);try{const s=await a.getTokens(e);return{tokens:s,parsedTokens:s?a.getParsedTokens():void 0}}catch(s){return{tokens:void 0,parsedTokens:void 0}}finally{i(!1)}},[a]),u={isAuthenticated:d,logout:o.useCallback(async()=>{await a.logOut()},[a]),isLoading:r,isSessionExpired:l,getTokens:p};return e.jsx(Q.Provider,{value:u,children:s})},$=()=>{const e=o.useContext(O);if(!e)throw new Error("useAuth must be used within an PassflowProvider");const{passflow:s}=e;return s},ee=()=>{const e=$(),[s,t]=o.useState(""),[a,r]=o.useState(!1),[n,i]=o.useState(!1);return{fetch:o.useCallback(async(s,a)=>{i(!0);try{if("password"===a)await e.signIn(s);else{if("passkey"!==a)return await e.passwordlessSignIn(s);await e.passkeyAuthenticate(s)}return!0}catch(o){r(!0);return t(o.message),!1}finally{i(!1)}},[e.passkeyAuthenticate,e.passwordlessSignIn,e.signIn]),isLoading:n,isError:a,error:s,reset:()=>{r(!1),t(""),i(!1)}}},se=e=>e&&M(e)?e:e?`${window.location.origin}${e.startsWith("/")?"":"/"}${e}`:"",te=(e,s)=>{const t=$(),a=o.useContext(O),r={redirect_url:se(e),scopes:a?.state.scopes,create_tenant:s};return{federatedWithPopup:(e,s)=>t.federatedAuthWithPopup({provider:e,invite_token:s,...r}),federatedWithRedirect:(e,s)=>t.federatedAuthWithRedirect({provider:e,invite_token:s,...r})}},ae=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(""),[n,i]=o.useState(!1);return{fetch:o.useCallback(async(s,a)=>{i(!0);const o=()=>i(!1);try{if("password"===a)await e.signUp(s);else{if("passkey"!==a){const t=await e.passwordlessSignIn(s);return o(),t}await e.passkeyRegister(s)}return o(),!0}catch(n){t(!0);return r(n.message),o(),!1}finally{o()}},[e.signUp,e.passkeyRegister,e.passwordlessSignIn]),isLoading:n,isError:s,error:a,reset:()=>{t(!1),r(""),i(!1)}}},re=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(""),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{return i(!0),await e.sendPasswordResetEmail(s),i(!1),!0}catch(a){t(!0);return r(a.message),!1}},[e.sendPasswordResetEmail]),isLoading:n,isError:s,error:a,reset:()=>{t(!1),r(""),i(!1)}}},oe=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(""),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{return i(!0),await e.resetPassword(s),i(!1),!0}catch(a){t(!0);return r(a.message),!1}},[e.resetPassword]),isLoading:n,isError:s,error:a,reset:()=>{t(!1),r(""),i(!1)}}},ne=()=>{const e=$(),t=o.useContext(O),[a,r]=o.useState(!1),[n,i]=o.useState(""),[l,c]=o.useState(!1),d=o.useRef(!1);if(!t)throw new Error("useAppSetting must be used within an PassflowProvider");const{state:p,dispatch:u}=t;o.useLayoutEffect(()=>{if(!p.appSettings&&!p.hasSettingsError&&!d.current){(async()=>{d.current=!0,c(!0);try{if(!e.appId&&!p.isDiscoveringAppId){u({type:"SET_PASSFLOW_STATE",payload:{...p,isDiscoveringAppId:!0}});try{const t=["/settings"];e.url&&t.push(`${e.url}/settings`);let a=null;for(const e of t)try{const s=await fetch(e);if(s.ok){a=s;break}}catch{}if(a?.ok){const t=await a.json(),r=t.login_app?.app_id||t.appId;if(r){e.setAppId(r);const a={appId:r};if(!p.scopes){const e=t.login_app?.scopes||t.scopes;e&&(a.scopes=e)}if(s.isUndefined(p.createTenantForNewUser)){const e=t.login_app?.create_tenant_for_new_user??t.createTenantForNewUser;void 0!==e&&(a.createTenantForNewUser=e)}u({type:"SET_PASSFLOW_STATE",payload:{...p,...a,isDiscoveringAppId:!1}})}else u({type:"SET_PASSFLOW_STATE",payload:{...p,isDiscoveringAppId:!1}})}}catch(a){console.warn("Failed to discover appId from /settings:",a),u({type:"SET_PASSFLOW_STATE",payload:{...p,isDiscoveringAppId:!1}})}}let r={};e.appId&&(r=await e.getAppSettings());const o={appSettings:r};p.scopes||(o.scopes=r.defaults?.scopes),s.isUndefined(p.createTenantForNewUser)&&(o.createTenantForNewUser=r.defaults?.create_tenant_for_new_user);let n=null;r.auth_strategies&&(t=r.auth_strategies,s.some(t,e=>"internal"===e.type&&"password"===e.strategy?.challenge))&&(n=await e.getPasswordPolicySettings()),o.passwordPolicy=n,u({type:"SET_PASSFLOW_STATE",payload:{...p,...o}})}catch(o){r(!0);i(o.message),u({type:"SET_PASSFLOW_STATE",payload:{...p,hasSettingsError:!0}})}finally{c(!1),d.current=!1}var t})()}},[u,p.appSettings,p.hasSettingsError,p.isDiscoveringAppId,e]);const h=(()=>{const e=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return"system"===p.appSettings?.login_app_theme?.color_scheme?e:p.appSettings?.login_app_theme?.color_scheme??e})(),m=p.appSettings?.login_app_theme?"dark"===h?p.appSettings?.login_app_theme.dark_style:p.appSettings?.login_app_theme.light_style:null;return m&&(e=>{const t=document.documentElement;if(t.style.setProperty("--passflow-primary-color",e.primary_color),t.style.setProperty("--passflow-text-color",e.text_color),t.style.setProperty("--passflow-secondary-text-color",e.secondary_text_color),t.style.setProperty("--passflow-background-color",e.background_color),t.style.setProperty("--passflow-background-image",s.isEmpty(e.background_image)?"none":`url(${e.background_image})`),t.style.setProperty("--passflow-card-color",e.card_color),t.style.setProperty("--passflow-input-background-color",e.input_background_color),t.style.setProperty("--passflow-input-border-color",e.input_border_color),t.style.setProperty("--passflow-button-text-color",e.button_text_color),t.style.setProperty("--passflow-passkey-button-text-color",e.passkey_button_text_color),t.style.setProperty("--passflow-passkey-button-background-color",e.passkey_button_background_color),t.style.setProperty("--passflow-divider-color",e.divider_color),t.style.setProperty("--passflow-federated_button_background_color",e.federated_button_background_color),t.style.setProperty("--passflow-federated_button_text_color",e.federated_button_text_color),e.custom_css){const s=document.querySelector(".psfw-custom-styles");s&&(s.innerHTML=e.custom_css)}})(m),{appSettings:p.appSettings,scopes:p.scopes??[],createTenantForNewUser:p.createTenantForNewUser??!1,loginAppTheme:p.appSettings?.login_app_theme,passwordPolicy:p.passwordPolicy,currentStyles:m,currentTheme:h,isLoading:l,isError:a,error:n,reset:()=>{r(!1),i(""),c(!1),u({type:"SET_PASSFLOW_STATE",payload:{...p,hasSettingsError:!1}})}}},ie=()=>{const e=$(),[s,t]=o.useState(""),[a,r]=o.useState(!1),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{i(!0);const t=await e.passwordlessSignInComplete(s);return i(!1),t}catch(a){r(!0);return t(a.message),null}},[e]),isLoading:n,isError:a,error:s,reset:()=>{r(!1),t(""),i(!1)}}},le=()=>{const e=$(),[s,t]=o.useState(""),[a,r]=o.useState(!1),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{return i(!0),await e.joinInvitation(s),i(!1),!0}catch(a){r(!0);return t(a.message),!1}},[e.joinInvitation]),isLoading:n,isError:a,error:s}},ce=(e,s)=>{o.useEffect(()=>{const t=t=>{e.current&&!e.current.contains(t.target)&&s&&s()};return document.addEventListener("click",t,!0),()=>{document.removeEventListener("click",t,!0)}},[s,e])},de=e=>{if(!e)return{};const s=i.parse(e.startsWith("?")?e.slice(1):e);return Object.fromEntries(Object.entries(s).map(([e,s])=>[e,String(s)]))},pe=()=>{const{navigate:e,setNavigate:s,router:t}=o.useContext(K),a=o.useCallback(e=>{if(!e)return void s(null);s(s=>{const{to:a,search:r="",replace:o=!1}=s;switch(t){case"react-router":e({pathname:a,search:r.startsWith("?")?r:`?${r}`,replace:o});break;case"tanstack-router":e({to:a,search:de(r),replace:o});break;case"wouter":{const s=r?r.startsWith("?")?r:`?${r}`:"";e({to:`${a}${s}`,replace:o});break}default:{const e=r?r.startsWith("?")?r:`?${r}`:"";o?window.location.replace(`${a}${e}`):window.location.href=`${a}${e}`}}})},[s,t]);return{navigate:e,setNavigate:a,router:t}},ue=()=>{const e=$(),[s,t]=o.useState(null),[a,r]=o.useState([]),[n,i]=o.useState(!1),[l,c]=o.useState(!1),[d,p]=o.useState(""),[u,h]=o.useState("idle");return{setupData:s,recoveryCodes:a,step:u,beginSetup:o.useCallback(async()=>{i(!0),c(!1),p("");try{const s=await e.beginTwoFactorSetup();return t(s),h("setup"),s}catch(s){c(!0);return p(s.message),null}finally{i(!1)}},[e]),confirmSetup:o.useCallback(async s=>{i(!0),c(!1),p("");try{const t=await e.confirmTwoFactorSetup(s);return r(t.recovery_codes),h("complete"),t}catch(t){c(!0);return p(t.message),null}finally{i(!1)}},[e]),reset:o.useCallback(()=>{t(null),r([]),c(!1),p(""),h("idle")},[]),isLoading:n,isError:l,error:d}},he=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(!1),[n,i]=o.useState(""),[l,c]=o.useState(null),[d,p]=o.useState(null),u=o.useCallback(()=>e.isTwoFactorVerificationRequired(),[e]),h=o.useCallback(e=>{const s=e,t=function(e){const s=e.toLowerCase();return A.expired.some(e=>s.includes(e.toLowerCase()))?{type:"expired",message:e,isRecoverable:!0,shouldAutoRedirect:!0}:A.not_enabled.some(e=>s.includes(e.toLowerCase()))?{type:"not_enabled",message:e,isRecoverable:!1,shouldAutoRedirect:!1}:A.invalid_code.some(e=>s.includes(e.toLowerCase()))?{type:"invalid_code",message:e,isRecoverable:!0,shouldAutoRedirect:!1}:{type:"generic",message:e,isRecoverable:!0,shouldAutoRedirect:!1}}(s.message);r(!0),i(s.message),c(t.type),p(t)},[]);return{isVerificationRequired:u,verify:o.useCallback(async s=>{t(!0),r(!1),i(""),c(null),p(null);try{return await e.verifyTwoFactor(s)}catch(a){return h(a),null}finally{t(!1)}},[e,h]),useRecoveryCode:o.useCallback(async s=>{t(!0),r(!1),i(""),c(null),p(null);try{return await e.useTwoFactorRecoveryCode(s)}catch(a){return h(a),null}finally{t(!1)}},[e,h]),reset:o.useCallback(()=>{r(!1),i(""),c(null),p(null)},[]),isLoading:s,isError:a,error:n,errorType:l,errorDetails:d}},me=e=>{const s=$(),[t,a]=o.useState(!0),[r,n]=o.useState(!1),[i,l]=o.useState(!1),[c,d]=o.useState(null),[p,u]=o.useState(null),[h,m]=o.useState(null),[f,w]=o.useState(null),[g,x]=o.useState(null),[y,v]=o.useState(null),[C,j]=o.useState(null),b=o.useRef(!0),M=o.useRef(null),k=o.useCallback(e=>{M.current&&clearInterval(M.current),v(e),M.current=setInterval(()=>{v(e=>null===e||e<=1?(M.current&&(clearInterval(M.current),M.current=null),null):e-1)},1e3)},[]),S=o.useCallback(async(t=!1)=>{if(t||C!==e||!i){t?n(!0):a(!0),d(null);try{const t=s,a=await t.validateTwoFactorSetupMagicLink(e);a.success&&a.sessionToken&&a.userId?(u(a.sessionToken),m(a.userId),w(a.appId??null),x(a.expiresIn??null),l(!0),j(e),v(null),b.current=!1):a.error&&(d(a.error),l(!1),b.current=!0,"RATE_LIMITED"===a.error.code&&a.error.retryAfter&&k(a.error.retryAfter))}catch(r){d({code:"SERVER_ERROR",message:r instanceof Error?r.message:"An unexpected error occurred"}),l(!1),b.current=!0}finally{a(!1),n(!1)}}},[e,C,i,s,k]),E=o.useCallback(async()=>{null!==y&&y>0||(j(null),await S(!0))},[S,y]);return o.useEffect(()=>{if(!e)return d({code:"INVALID_TOKEN",message:"No token provided"}),void a(!1);e!==C&&S()},[e,C,S]),o.useEffect(()=>()=>{if(M.current&&clearInterval(M.current),b.current){const e=s;e.clearMagicLinkSession?.()}},[s]),{isLoading:t,isRetrying:r,isValidated:i,error:c,sessionToken:p,userId:h,appId:f,expiresIn:g,retryCountdown:y,retry:E}},fe=()=>{const e=$(),[s,t]=o.useState(null),[a,r]=o.useState(null),[n,i]=o.useState(!1),[l,c]=o.useState(null),d=o.useCallback(async s=>{i(!0),c(null);try{const a=await e.twoFactor.requestChallenge({first_factor_method:s});t(a),r(a.method)}catch(a){c(a),t(null)}finally{i(!1)}},[e]),p=o.useCallback(async(t,r=!1)=>{if(!s?.challenge_id)return c(new Error("No active challenge session")),null;i(!0),c(null);try{return await e.twoFactor.verifyV2({challenge_id:s.challenge_id,method:a||s.method,response:t,trust_device:r})}catch(o){return c(o),null}finally{i(!1)}},[e,s,a]),u=o.useCallback(async a=>{if(s?.challenge_id){i(!0),c(null);try{const o=await e.twoFactor.switchToAlternative({challenge_id:s.challenge_id,method:a});t(o),r(a)}catch(o){c(o)}finally{i(!1)}}else c(new Error("No active challenge session"))},[e,s]),h=o.useCallback(()=>{t(null),r(null),c(null),i(!1)},[]);return{challenge:s,isLoading:n,error:l,requestChallenge:d,verify:p,switchMethod:u,selectedMethod:a,reset:h}};const we=e=>{const[s,t]=o.useState("loading"),[a,r]=o.useState(null),[n,i]=o.useState(null),[l,c]=o.useState(null),d=window.location.origin,p=o.useCallback(async()=>{try{const s=await fetch(`${d}/cli/auth/status/${e}`);if(!s.ok)throw new Error(`Failed to fetch CLI auth status: ${s.statusText}`);const a=await s.json();switch(i(a.expires_at||null),a.status){case"pending":t("pending"),c(a.challenge||null);break;case"completed":t("completed");break;case"expired":t("expired"),r("This authentication session has expired. Please start a new one from your terminal.");break;case"failed":t("error"),r(a.error||"Authentication failed")}}catch(s){t("error"),r(s instanceof Error?s.message:"Failed to load authentication status")}},[e,d]),u=o.useCallback(async()=>{if(l){t("authenticating"),r(null);try{const{startAuthentication:s}=await import("@simplewebauthn/browser"),a=l.publicKey||l,r=await s({optionsJSON:a}),o=await fetch(`${d}/auth/passkey/authenticate/complete`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!o.ok)throw new Error(`Passkey authentication failed: ${o.statusText}`);const n=await o.json();if(!n.access_token||!n.refresh_token)throw new Error("Invalid authentication response: missing tokens");const i={session_id:e,access_token:n.access_token,refresh_token:n.refresh_token,user_id:n.user_id,expires_in:n.expires_in},c=await fetch(`${d}/cli/auth/complete`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!c.ok)throw new Error(`CLI authentication completion failed: ${c.statusText}`);t("completed")}catch(s){t("error"),s instanceof Error?"NotAllowedError"===s.name?r("Authentication was cancelled or not allowed"):r(s.message):r("Authentication failed")}}else r("No challenge available for authentication")},[l,e,d]);return o.useEffect(()=>{p()},[p]),{authenticate:u,state:s,error:a,expiresAt:n}},ge=({id:t,onChange:a,isError:r=!1,className:n=""})=>{const[i,d]=o.useState(!1),[p,u]=o.useState(""),[h,m]=o.useState(!1),f=o.useRef(null);ce(f,()=>{d(!1),u("")});const w=Intl.DateTimeFormat().resolvedOptions().timeZone,g=l.getCountryForTimezone(w),{inputValue:x,country:y,setCountry:v,handlePhoneValueChange:C,inputRef:j}=c.usePhoneInput({defaultCountry:g?.id.toLocaleLowerCase()||"us"}),b=o.useMemo(()=>c.defaultCountries.filter(e=>{const{name:s}=c.parseCountry(e);return s.toLowerCase().includes(p.toLowerCase())}),[p]),M=o.useMemo(()=>c.defaultCountries.filter(e=>{const{iso2:t}=c.parseCountry(e);return s.eq(t,g?.id.toLocaleLowerCase())})??null,[g?.id]),k=e=>{v(e),u(""),d(!1)};return e.jsxs("div",{ref:f,className:S("passflow-field-phone-wrapper",{"passflow-field-phone-wrapper--focus":h,"passflow-field-phone-wrapper--error":r},n),children:[i?e.jsxs("div",{className:S("passflow-field-country-search-wrapper"),children:[e.jsx("input",{value:p,onChange:e=>u(e.target.value),className:S("passflow-field-country-search"),onFocus:()=>m(!0),onBlur:()=>m(!1),placeholder:"Search for a country"}),e.jsx("div",{className:"passflow-field-country-search-icon",children:e.jsx(_,{type:"general",id:"search",size:"small"})})]}):e.jsxs(e.Fragment,{children:[e.jsxs(D,{type:"button",variant:"clean",onClick:()=>d(!0),size:"big",className:S("passflow-button-show-country"),children:[e.jsx(c.FlagImage,{iso2:y.iso2,className:"passflow-flag",style:{width:"21px"}}),e.jsx(_,{type:"general",id:"caret-down",size:"small"})]}),e.jsx("input",{id:t,ref:j,value:x,onChange:e=>{C(e),a(e)},onFocus:()=>m(!0),onBlur:()=>m(!1),className:S("passflow-field-phone-input")})]}),e.jsx("ul",{className:S("passflow-country-search-wrapper",{"passflow-country-search-wrapper--show":i,"passflow-country-search-wrapper--hidden":!i}),children:s.size(b)>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"passflow-country-search-sticky-top"}),0===s.size(p)&&e.jsxs(e.Fragment,{children:[M.map(s=>{const{name:t,dialCode:a,iso2:r}=c.parseCountry(s);return e.jsxs("li",{title:t,onClick:()=>k(r),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),k(r))},className:"passflow-country-search-item",children:[e.jsx(c.FlagImage,{iso2:r,className:"passflow-country-search-flag"}),e.jsx("span",{className:"passflow-country-search-name",children:t}),e.jsxs("span",{className:"passflow-country-search-code",children:["+",a]})]},r)}),e.jsx("p",{className:"passflow-country-search-divider",children:"All contries"})]}),b.map(s=>{const{name:t,dialCode:a,iso2:r}=c.parseCountry(s);return e.jsxs("li",{title:t,onClick:()=>k(r),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),k(r))},className:"passflow-country-search-item",children:[e.jsx(c.FlagImage,{iso2:r,className:"passflow-country-search-flag"}),e.jsx("span",{className:"passflow-country-search-name",children:t}),e.jsxs("span",{className:"passflow-country-search-code",children:["+",a]})]},r)}),e.jsx("div",{className:"passflow-country-search-sticky-bottom"})]}):e.jsx("span",{className:"passflow-country-search-no-matches",children:"No matches"})})]})},xe=({providers:s,onClick:t,className:a=""})=>{const r={"passflow-providers-box--grid":s.length>1};return e.jsx("div",{className:S("passflow-providers-box",r,a),children:s.map(a=>e.jsxs(D,{onClick:()=>t(a),size:"big",variant:"provider",type:"button",withIcon:!0,className:"passflow-provider-item",children:[e.jsx(_,{size:"small",type:"providers",id:a}),s.length<=2&&e.jsx("p",{className:"passflow-provider-text",children:a})]},a))})},ye=({to:s,search:t,replace:a=!1,children:r,className:o,onClick:n,...i})=>{const{navigate:l}=pe();return e.jsx("a",{href:(()=>{const e=t?t.startsWith("?")?t:`?${t}`:"";return`${s}${e}`})(),onClick:e=>{e.preventDefault(),n&&n(e),l({to:s,search:t,replace:a})},className:o,...i,children:r})},ve=({label:s,checked:t,onChange:a})=>e.jsxs("label",{className:"passflow-switch-wrapper",htmlFor:"switch",children:[e.jsx("span",{className:"passflow-switch-label",children:s}),e.jsx("input",{id:"switch",type:"checkbox",className:"passflow-switch-input",checked:t,onChange:a}),e.jsx("div",{className:"passflow-switch-track"})]}),Ce=v.Root,je=v.Trigger,be=v.Anchor,Me=o.forwardRef(({className:s,align:t="center",sideOffset:a=4,...r},o)=>e.jsx(v.Portal,{children:e.jsx(v.Content,{ref:o,align:t,sideOffset:a,className:S("passflow-popover-content",s),...r})}));Me.displayName=v.Content.displayName;const ke=C.Root,Se=C.Trigger,Ee=C.Portal,Ne=C.Close,Ie=o.forwardRef(({className:s,...t},a)=>e.jsx(C.Overlay,{ref:a,className:S("passflow-dialog-overlay",s),...t}));Ie.displayName=C.Overlay.displayName;const Le=o.forwardRef(({className:s,children:t,...a},r)=>e.jsxs(Ee,{children:[e.jsx(Ie,{}),e.jsx(C.Content,{ref:r,className:S("passflow-dialog-content",s),...a,children:t})]}));Le.displayName=C.Content.displayName;const Fe=({className:s,...t})=>e.jsx("div",{className:S("passflow-dialog-header",s),...t});Fe.displayName="DialogHeader";const Pe=({className:s,...t})=>e.jsx("div",{className:S("passflow-dialog-footer",s),...t});Pe.displayName="DialogFooter";const Ae=o.forwardRef(({className:s,...t},a)=>e.jsx(C.Title,{ref:a,className:S("passflow-dialog-title",s),...t}));Ae.displayName=C.Title.displayName;const Te=o.forwardRef(({className:s,...t},a)=>e.jsx(C.Description,{ref:a,className:S("passflow-dialog-description",s),...t}));Te.displayName=C.Description.displayName;const Re=({iconId:s="logo",title:t="",subtitle:a="",className:r="",children:o,customCss:n,customLogo:i,removeBranding:l=!1})=>e.jsxs(h.HelmetProvider,{children:[e.jsx(h.Helmet,{children:e.jsx("style",{type:"text/css",children:n})}),e.jsxs("div",{id:"passflow-wrapper",className:"passflow-wrapper",children:[e.jsxs("div",{className:S("passflow-form-main-wrapper",r),children:[e.jsxs("div",{className:"passflow-form-main-container",children:[i?e.jsx("img",{src:i,alt:"custom logo",className:"passflow-form-main-container-logo"}):e.jsx(_,{id:s,size:"large",type:"general"}),t&&e.jsxs("div",{className:"passflow-form-header",children:[e.jsx("h2",{className:"passflow-form-title",children:t}),a&&e.jsx("span",{className:"passflow-form-subtitle",children:a})]})]}),o]}),!l&&e.jsx("div",{className:"passflow-branding",children:e.jsxs("p",{className:"passflow-branding-text",children:["Secured by ",e.jsx("span",{className:"passflow-branding-text-secondary passflow-secondary-font",children:"PASSFLOW"})]})})]})]}),ze=({onComplete:s,onCancel:t,numInputs:a})=>{const[r,n]=o.useState(""),[i,l]=o.useState(!1),{setupData:c,recoveryCodes:d,step:p,beginSetup:h,confirmSetup:m,reset:f,isLoading:w,isError:g,error:x}=ue(),y=a??6,v=e=>{n(e)},C=async e=>{e.preventDefault(),await m(r)},j=()=>{navigator.clipboard.writeText(d.join("\n"))},b=()=>{s?.(d),f()};return"idle"===p?e.jsx(Re,{title:"Enable Two-Factor Authentication",subtitle:"Add an extra layer of security to your account",className:"passflow-2fa-setup",children:e.jsxs("div",{className:"passflow-2fa-setup-start",children:[e.jsx(D,{size:"big",type:"button",variant:"primary",onClick:()=>h(),disabled:w,children:w?"Loading...":"Get Started"}),t&&e.jsx("button",{type:"button",className:"passflow-link-button",onClick:t,children:"Cancel"}),g&&e.jsxs("div",{className:"passflow-field-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-field-error-text",children:x})]})]})}):"setup"===p&&c?e.jsx(Re,{title:"Scan QR Code",subtitle:"Scan this code with your authenticator app (Google Authenticator, Authy, etc.)",className:"passflow-2fa-setup",children:e.jsxs("form",{onSubmit:C,className:"passflow-2fa-setup-qr",children:[e.jsx("div",{className:"passflow-2fa-qr-container",children:e.jsx("img",{src:`data:image/png;base64,${c.qr_code}`,alt:"2FA QR Code",className:"passflow-2fa-qr-image"})}),e.jsxs("div",{className:"passflow-2fa-secret-toggle",children:[e.jsx("button",{type:"button",className:"passflow-link-button",onClick:()=>l(!i),children:i?"Hide manual code":"Can't scan? Enter code manually"}),i&&e.jsx("code",{className:"passflow-2fa-secret-code",children:c.secret})]}),e.jsxs("div",{className:"passflow-2fa-confirm-section",children:[e.jsxs("p",{className:"passflow-2fa-confirm-label",children:["Enter the ",y,"-digit code from your app to confirm:"]}),e.jsxs("div",{id:"otp-wrapper",className:"passflow-verify-otp-wrapper",children:[e.jsx(u,{value:r,onChange:v,numInputs:y,shouldAutoFocus:!0,skipDefaultStyles:!0,containerStyle:"passflow-verify-otp-inputs",inputStyle:S("passflow-field-otp passflow-field-otp--focused",g&&"passflow-field-otp--error"),inputType:"text",renderInput:s=>e.jsx("input",{...s})}),g&&e.jsxs("div",{className:"passflow-verify-otp-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-verify-otp-error-text",children:x})]})]})]}),e.jsx(D,{size:"big",type:"submit",variant:"primary",disabled:r.length!==y||w,children:w?"Confirming...":"Confirm & Enable"})]})}):"complete"===p&&d.length>0?e.jsx(Re,{title:"Save Your Recovery Codes",subtitle:"Store these codes in a safe place. You'll need them if you lose access to your authenticator.",className:"passflow-2fa-setup",children:e.jsxs("div",{className:"passflow-2fa-setup-complete",children:[e.jsxs("div",{className:"passflow-2fa-warning",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{children:"These codes will only be shown once. Make sure to save them!"})]}),e.jsx("div",{className:"passflow-2fa-recovery-codes",children:d.map(s=>e.jsx("code",{className:"passflow-2fa-recovery-code",children:s},s))}),e.jsx(D,{size:"big",type:"button",variant:"secondary",onClick:j,children:"Copy to Clipboard"}),e.jsx(D,{size:"big",type:"button",variant:"primary",onClick:b,children:"I've Saved These Codes"})]})}):null},Ye=({twoFactorVerifyPath:s=J.two_factor_verify.path,signInPath:t=J.signin.path})=>{const[a,r]=o.useState(!1),{navigate:n}=pe(),i=$();o.useEffect(()=>{i.isTwoFactorVerificationRequired()||(U.canRedirect()?(U.incrementRedirect(),n({to:t}),r(!0)):r(!1))},[i,n,t]);return a||!i.isTwoFactorVerificationRequired()&&U.canRedirect()?null:e.jsx(ze,{onComplete:()=>{n({to:s})},onCancel:()=>{U.reset(),n({to:t})}})},Ue={totp:"Authenticator App",email_otp:"Email Code",sms_otp:"SMS Code",passkey:"Passkey",recovery_codes:"Recovery Code",push_fcm:"Push Notification (FCM)",push_webpush:"Push Notification (Web)"},_e={totp:"📱",email_otp:"✉️",sms_otp:"💬",passkey:"🔑",recovery_codes:"🔒",push_fcm:"🔔",push_webpush:"🔔"},Ve=({availableMethods:s,currentMethod:t,onSelectMethod:a,isOpen:r,onClose:o})=>e.jsx(C.Root,{open:r,onOpenChange:e=>!e&&o(),children:e.jsxs(C.Portal,{children:[e.jsx(C.Overlay,{className:"pf-dialog-overlay"}),e.jsxs(C.Content,{className:"pf-dialog-content pf-method-selector-dialog",children:[e.jsx(C.Title,{className:"pf-dialog-title",children:"Choose Verification Method"}),e.jsx(C.Description,{className:"pf-dialog-description",children:"Select an alternative method to verify your identity"}),e.jsx("div",{className:"pf-method-selector-list",children:s.map(s=>e.jsxs("button",{type:"button",className:"pf-method-selector-item "+(s===t?"pf-method-selector-item-active":""),onClick:()=>(e=>{a(e),o()})(s),disabled:s===t,children:[e.jsx("span",{className:"pf-method-icon",children:_e[s]||"🔐"}),e.jsx("span",{className:"pf-method-label",children:Ue[s]||s}),s===t&&e.jsx("span",{className:"pf-method-current-badge",children:"Current"})]},s))}),e.jsx(C.Close,{asChild:!0,children:e.jsx("button",{type:"button",className:"pf-dialog-close","aria-label":"Close",children:"×"})})]})]})}),De=({value:s,onChange:t,numInputs:a=6,error:r,disabled:n=!1,autoFocus:i=!0})=>{const l=o.useRef(null);return o.useEffect(()=>{if(i&&l.current){const e=l.current.querySelector("input");e&&e.focus()}},[i]),e.jsxs("div",{ref:l,className:"pf-otp-input-container",children:[e.jsx(u,{value:s,onChange:t,numInputs:a,renderSeparator:e.jsx("span",{className:"pf-otp-separator"}),renderInput:s=>e.jsx("input",{...s,className:`pf-otp-input ${r?"pf-otp-input-error":""} ${n?"pf-otp-input-disabled":""}`,disabled:n}),inputType:"tel",shouldAutoFocus:i}),r&&e.jsx("div",{className:"pf-otp-error",children:r})]})},Ge=({firstFactorMethod:s,onSuccess:t,onError:a,trustDevice:r=!1})=>{const{challenge:n,isLoading:i,error:l,requestChallenge:c,verify:d,switchMethod:p,selectedMethod:u}=fe(),[h,m]=o.useState(""),[f,w]=o.useState(!1);o.useEffect(()=>{c(s)},[c,s]),o.useEffect(()=>{l&&a&&a(l)},[l,a]);const g=async()=>{if(!h)return;await d(h,r)&&t?.()},x=e=>{m(e),6===e.length&&setTimeout(()=>{d(e,r).then(e=>{e&&t?.()})},100)};if(!n)return e.jsx("div",{className:"pf-two-factor-challenge pf-loading",children:e.jsx("p",{children:"Loading challenge..."})});const y=u||n.method,v=[n.method,...n.alternative_methods||[]];return e.jsxs("div",{className:"pf-two-factor-challenge",children:[e.jsxs("div",{className:"pf-challenge-method-info",children:[e.jsx("h3",{children:"Two-Factor Authentication"}),e.jsx("p",{children:"Enter the verification code"})]}),(()=>{switch(y){case"totp":case"email_otp":case"sms_otp":return e.jsxs("div",{className:"pf-challenge-input-wrapper",children:[e.jsx(De,{value:h,onChange:x,numInputs:6,error:l?.message,disabled:i,autoFocus:!0}),"email_otp"===y&&n.code_sent_to&&e.jsxs("p",{className:"pf-challenge-hint",children:["Code sent to ",n.code_sent_to]}),"sms_otp"===y&&n.code_sent_to&&e.jsxs("p",{className:"pf-challenge-hint",children:["Code sent to ",n.code_sent_to]}),e.jsx("button",{type:"button",onClick:g,disabled:i||6!==h.length,className:"pf-button pf-button-primary",children:i?"Verifying...":"Verify"})]});case"passkey":return e.jsx("div",{className:"pf-challenge-input-wrapper",children:e.jsx("button",{type:"button",onClick:g,disabled:i,className:"pf-button pf-button-primary",children:i?"Verifying...":"Use Passkey"})});case"recovery_codes":return e.jsxs("div",{className:"pf-challenge-input-wrapper",children:[e.jsx("input",{type:"text",value:h,onChange:e=>m(e.target.value),placeholder:"Enter recovery code",disabled:i,className:"pf-input"}),e.jsx("button",{type:"button",onClick:g,disabled:i||!h,className:"pf-button pf-button-primary",children:i?"Verifying...":"Verify"})]});default:return e.jsxs("p",{children:["Unsupported method: ",y]})}})(),v.length>1&&e.jsx("button",{type:"button",onClick:()=>w(!0),className:"pf-button pf-button-secondary pf-button-switch-method",children:"Use different method"}),e.jsx(Ve,{availableMethods:v,currentMethod:y,onSelectMethod:async e=>{m(""),await p(e)},isOpen:f,onClose:()=>w(!1)})]})},He=({onSuccess:s,onUseRecovery:t,title:a="Two-Factor Authentication",subtitle:r,numInputs:n,shouldAutoFocus:i=!0,signInPath:l,twoFactorSetupPath:c})=>{const[d,p]=o.useState(""),{verify:h,isLoading:m,isError:f,errorDetails:w,reset:g}=he(),x=n??6,y=r??`Enter the ${x}-digit code from your authenticator app`,v=()=>{U.reset(),window.location.href=l||"/signin"},C=()=>{window.location.href=c||"/two-factor-setup"},j=!U.canRedirect(),b=m||"not_enabled"===w?.type||"expired"===w?.type||j;return e.jsx(Re,{title:a,subtitle:y,className:"passflow-2fa-verify",children:e.jsxs("form",{onSubmit:async e=>{e.preventDefault();await h(d)&&s?.()},className:"passflow-form",children:[e.jsxs("div",{className:"passflow-form-container",children:[e.jsx("div",{className:"passflow-verify-otp-wrapper",children:e.jsx(u,{value:d,onChange:async e=>{if((e=>{g(),p(e)})(e),e.length===x){await h(e)&&s?.()}},numInputs:x,shouldAutoFocus:i&&!b,skipDefaultStyles:!0,containerStyle:"passflow-verify-otp-inputs",inputStyle:S("passflow-field-otp passflow-field-otp--focused",f&&"passflow-field-otp--error",b&&"passflow-field-otp--disabled"),inputType:"text",renderInput:s=>e.jsx("input",{...s,disabled:b})})}),f&&w?j?e.jsxs("div",{className:"passflow-form-error passflow-form-error--critical",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:U.getLoopDetectedMessage()}),l&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:v,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]}):"not_enabled"===w.type?e.jsxs("div",{className:"passflow-form-error passflow-form-error--persistent",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:"You need to set up two-factor authentication first."}),e.jsxs("div",{className:"passflow-form-error-actions",children:[c&&e.jsx(D,{type:"button",size:"medium",variant:"primary",onClick:C,className:"passflow-button-setup-2fa",children:"Set Up 2FA"}),l&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:v,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]})]}):"expired"===w.type?e.jsxs("div",{className:"passflow-form-info",children:[e.jsx(_,{size:"small",id:"info",type:"general",className:"icon-info"}),e.jsx("span",{className:"passflow-form-info-text",children:T(w)})]}):e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:T(w)})]}):null]}),!b&&e.jsx(D,{size:"big",type:"submit",variant:"primary",disabled:d.length!==x||m,className:"passflow-button-signin",children:m?"Verifying...":"Verify"}),t&&!b&&e.jsx("div",{className:"passflow-form-actions",children:e.jsxs("p",{className:"passflow-dont-have-account",children:["Lost your device?"," ",e.jsx("button",{type:"button",onClick:t,className:"passflow-link",style:{background:"none",border:"none",cursor:"pointer"},children:"Use recovery code"})]})})]})})},Be=({onSuccess:s,onBack:t,title:a="Use Recovery Code",subtitle:r="Enter one of your recovery codes",signInPath:n})=>{const[i,l]=o.useState(""),{useRecoveryCode:c,isLoading:d,isError:p,errorDetails:u,reset:h}=he(),m=()=>{U.reset(),window.location.href=n||"/signin"},f=!U.canRedirect(),w=d||"not_enabled"===u?.type||"expired"===u?.type||f;return e.jsx(Re,{title:a,subtitle:r,className:"passflow-2fa-recovery",children:e.jsxs("form",{onSubmit:async e=>{e.preventDefault();await c(i)&&s?.()},className:"passflow-form",children:[e.jsx("div",{className:"passflow-form-container",children:e.jsxs("div",{className:"passflow-form-field",children:[e.jsx("label",{htmlFor:"recovery-code",className:S("passflow-field-label",p&&"passflow-field-label--error"),children:"Recovery Code"}),e.jsx("input",{id:"recovery-code",type:"text",value:i,onChange:e=>{h(),l(e.target.value.toUpperCase().replace(/\s/g,""))},placeholder:"XXXX-XXXX",className:S("passflow-field passflow-field--text passflow-field--focused",p&&"passflow-field--error",w&&"passflow-field--disabled"),autoComplete:"off",disabled:w}),p&&u?f?e.jsxs("div",{className:"passflow-form-error passflow-form-error--critical",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:U.getLoopDetectedMessage()}),n&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:m,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]}):"not_enabled"===u.type?e.jsxs("div",{className:"passflow-form-error passflow-form-error--persistent",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:T(u)}),n&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:m,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]}):"expired"===u.type?e.jsxs("div",{className:"passflow-form-info",children:[e.jsx(_,{size:"small",id:"info",type:"general",className:"icon-info"}),e.jsx("span",{className:"passflow-form-info-text",children:T(u)})]}):e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:T(u)})]}):null]})}),!w&&e.jsx(D,{size:"big",type:"submit",variant:"primary",disabled:i.length<8||d,className:"passflow-button-signin",children:d?"Verifying...":"Verify"}),t&&!w&&e.jsx("div",{className:"passflow-form-actions",children:e.jsxs("p",{className:"passflow-dont-have-account",children:["Have your device?"," ",e.jsx("button",{type:"button",onClick:t,className:"passflow-link",style:{background:"none",border:"none",cursor:"pointer"},children:"Use authenticator code"})]})})]})})},Ze=({successAuthRedirect:s,signInPath:t=J.signin.path,twoFactorSetupPath:a=J.two_factor_setup?.path,useV2Flow:r=!1})=>{const[n,i]=o.useState("verify"),[l,c]=o.useState(!1),{navigate:d}=pe(),p=$(),{errorType:u}=he();o.useEffect(()=>{p.isTwoFactorVerificationRequired()||(U.canRedirect()?(U.incrementRedirect(),d({to:t}),c(!0)):c(!1))},[p,d,t]),o.useEffect(()=>{"expired"===u?U.canRedirect()&&(U.incrementRedirect(),U.setLastErrorType("expired"),setTimeout(()=>{d({to:t})},1500)):"not_enabled"===u&&U.setLastErrorType("not_enabled")},[u,d,t]);const h=async()=>{U.reset(),s&&(M(s)?window.location.href=await k(p,s):d({to:s}))};return l||!p.isTwoFactorVerificationRequired()&&U.canRedirect()?null:r?e.jsx(Ge,{onSuccess:h}):e.jsx(e.Fragment,{children:"verify"===n?e.jsx(He,{onSuccess:h,onUseRecovery:()=>{i("recovery")},signInPath:t,twoFactorSetupPath:a}):e.jsx(Be,{onSuccess:h,onBack:()=>{i("verify")},signInPath:t})})},Oe=({error:s="Something went wrong",goBackRedirectTo:t})=>{const{navigate:a}=pe(),{currentStyles:r,loginAppTheme:o}=ne();return e.jsx(Re,{iconId:"logo-red",className:"passflow-error-wrapper",customCss:r?.custom_css,customLogo:r?.logo_url,removeBranding:o?.remove_passflow_logo,children:e.jsxs("div",{className:"passflow-error-container",children:[e.jsxs("div",{className:"passflow-error-container-text-wrapper",children:[s&&e.jsx("p",{className:"passflow-error-container-text",children:s}),e.jsx("p",{className:"passflow-error-container-text-secondary",children:"Please go back or try again later"})]}),e.jsx(D,{size:"big",type:"button",variant:"primary",onClick:()=>{M(t)?window.location.href=t:a({to:t})},className:"passflow-button-go-back-error",children:"Go back"})]})})},qe=["verify-challenge-otp","password/reset","two-factor-verify","two-factor-recovery"],Je=(s,t)=>a=>{const r=o.useContext(O),{successAuthRedirect:n}=a,{pathname:i}=window.location;if(qe.some(e=>i.includes(e)))return e.jsx(m.ErrorBoundary,{FallbackComponent:({error:s})=>e.jsx(t,{goBackRedirectTo:n??"/",error:s.message}),children:e.jsx(s,{...a})});if(r?.state.isDiscoveringAppId)return null;if(!r?.state.appId){const s="Missing appId";return e.jsx(t,{goBackRedirectTo:n??"/",error:s})}return e.jsx(m.ErrorBoundary,{FallbackComponent:({error:s})=>e.jsx(t,{goBackRedirectTo:n??"/",error:s.message}),children:e.jsx(s,{...a})})},We={password:"",email_or_username:"",phone:""},Ke=({successAuthRedirect:t,relyingPartyId:a=window.location.hostname,signUpPath:r=J.signup.path,verifyOTPPath:n=J.verify_otp.path,verifyMagicLinkPath:l=J.verify_magic_link.path,forgotPasswordPath:c=J.forgot_password.path,twoFactorVerifyPath:d=J.two_factor_verify.path})=>{const{getValues:p,control:u,trigger:h,register:m,formState:{errors:g,isDirty:x,isValid:y},clearErrors:v,reset:C}=w.useForm({defaultValues:We}),b=$(),{navigate:E}=pe(),{appSettings:A,scopes:T,createTenantForNewUser:R,passwordPolicy:z,currentStyles:Y,isError:U,error:V,loginAppTheme:H}=ne(),{federatedWithRedirect:Z}=te(t,R);if(U)throw new Error(V);const O=o.useMemo(()=>N(A?.auth_strategies),[A]),{error:q,message:W}=P();if(q&&W)throw new Error(W);const{get:K}=F({invite_token:""}),Q=K("invite_token"),{fetch:X,isError:se,error:ae,reset:re,isLoading:oe}=ee(),[ie,le]=o.useState(A?.force_passwordless_login&&O.passkey||!1),[ce,de]=o.useState(()=>O.hasEmailMethods||O.hasUsernameMethods?"email_or_username":O.hasPhoneMethods?"phone":null);o.useEffect(()=>{le(A?.force_passwordless_login&&O.passkey||!1),O.hasSignInEmailMethods||O.hasSignInUsernameMethods?de("email_or_username"):O.hasSignInPhoneMethods?de("phone"):de(null)},[A?.force_passwordless_login,O]);const ue=()=>{C(),v(),re()},he=e=>{de(e),ue()},me=s.eq(ce,"phone")&&O.internal.phone.password||s.eq(ce,"email_or_username")&&(O.internal.email.password||O.internal.username.password),fe=s.eq(ce,"phone")&&(O.internal.phone.otp||O.internal.phone.magicLink)||s.eq(ce,"email_or_username")&&(O.internal.email.otp||O.internal.email.magicLink),we=O.passkey,Ce=async(e,a)=>{s.eq(a,"password")&&await(async e=>{const a={...e,...!s.isEmpty(Q)&&{invite_token:Q}};if(await X(a,"password")){if(b.isTwoFactorVerificationRequired())return void E({to:d??J.two_factor_verify.path});const e=t??A?.defaults.redirect??"";M(e)?window.location.href=await k(b,e):E({to:e})}})(e),s.eq(a,"passkey")&&await(async e=>{const a={...e,...!s.isEmpty(Q)&&{invite_token:Q}};if(await X(a,"passkey")){if(b.isTwoFactorVerificationRequired())return void E({to:d??J.two_factor_verify.path});const e=t??A?.defaults.redirect??"";M(e)?window.location.href=await k(b,e):E({to:e})}})(e),s.eq(a,"passwordless")&&await(async e=>{const a=L(O,ce)?.challengeType,r={...e,challenge_type:L(O,ce)?.challengeType,create_tenant:R,redirect_url:t??A?.defaults.redirect,...!s.isEmpty(Q)&&{invite_token:Q}},o=await X(r,"passwordless"),c=new URLSearchParams(window.location.search),d={...r,...o,type:"passwordless",challenge_type:a,create_tenant:R},p=i.stringify({...Object.fromEntries(c.entries()),...d});s.eq(a,"otp")&&o&&E({to:n??J.verify_otp.path,search:p}),s.eq(a,"magic_link")&&o&&E({to:l??J.verify_magic_link.path,search:p})})(e)},je=async()=>{let e=!1;if(s.eq(ce,"phone")&&(e=await h(["phone"])),s.eq(ce,"email_or_username")&&(e=await h(["email_or_username"])),e){const e=p(),s=e.email_or_username.match(j),t=f.phone(e.phone),a=t.isValid,r={...s&&{email:e.email_or_username},...a&&{phone:t.phoneNumber},scopes:T};await Ce(r,"passwordless")}},be=async()=>{const e={relying_party_id:a,scopes:T};await Ce(e,"passkey")};return e.jsxs(Re,{title:"Sign In to your account",subtitle:"To Passflow by Madappgang",className:"passflow-signin-wrapper",customCss:Y?.custom_css,customLogo:Y?.logo_url,removeBranding:H?.remove_passflow_logo,children:[we&&(fe||me)&&e.jsx("div",{className:"passflow-form-switch",children:e.jsx(ve,{label:"Passwordless experience",checked:ie,onChange:e=>{const{checked:s}=e.target;le(s),ue()}})}),e.jsxs("form",{onSubmit:e=>{e.preventDefault(),ie||(me&&(async()=>{const e=p(),t=e.email_or_username.match(j),a=!t&&s.size(e.email_or_username)>0,r=f.phone(e.phone),o=r.isValid,n={...t&&{email:e.email_or_username},...a&&{username:e.email_or_username},...o&&{phone:r.phoneNumber},scopes:T,password:e.password};await Ce(n,"password")})(),!me&&fe&&je())},className:"passflow-form",children:[!ie&&ce?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"passflow-form-container",children:[s.eq(ce,"email_or_username")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"identity",className:S("passflow-field-label",{"passflow-field-label--error":se||s.has(g,"email_or_username")}),children:I(O,"label")}),O.hasSignInPhoneMethods&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("phone"),children:"Use phone"})]}),e.jsx(w.Controller,{name:"email_or_username",control:u,rules:{required:"Email is required"},render:({field:t})=>e.jsx(G,{...t,...m("email_or_username"),isError:se||s.has(g,"email_or_username"),id:"email_or_username",type:"text",name:"email_or_username"})}),s.has(g,"email_or_username")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g.email_or_username?.message})]})]}),s.eq(ce,"phone")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"phone",className:S("passflow-field-label",{"passflow-field-label--error":se||s.has(g,"phone")}),children:"Phone number"}),(O.hasSignInEmailMethods||O.hasSignInUsernameMethods)&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("email_or_username"),children:I(O,"button")})]}),e.jsx(w.Controller,{name:"phone",control:u,rules:{required:"Phone number is required",validate:e=>!!f.phone(e).isValid||"Invalid phone number"},render:({field:t})=>e.jsx(ge,{...m("phone"),ref:null,onChange:e=>t.onChange(e),id:"phone",name:"phone",isError:se||s.has(g,"phone")})}),s.has(g,"phone")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g.phone?.message})]})]}),me?e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"password",className:S("passflow-field-label",{"passflow-field-label--error":se||s.has(g,"password")}),children:"Password"}),e.jsx(ye,{to:c??J.forgot_password.path,search:i.stringify({...i.parse(window.location.search),default_method:ce}),className:"passflow-field-label-button",children:"Forgot Password?"})]}),e.jsx(w.Controller,{name:"password",control:u,rules:{required:"Password is required"},render:({field:t})=>e.jsx(B,{...t,...m("password"),isError:se||s.has(g,"password"),passwordPolicy:z,id:"password",name:"password"})}),s.has(g,"password")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g.password?.message})]})]}):null,se&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:ae})]})]}),me?e.jsx(D,{size:"big",variant:"primary",type:"submit",disabled:!x||!y||oe,className:"passflow-button-signin",children:"Sign In"}):null,fe&&e.jsxs(D,{size:"big",variant:me?"outlined":"primary",type:me?"button":"submit",className:S("passflow-button-passwordless",{"passflow-button-passwordless--active":me}),style:me?{marginTop:"-16px"}:{},onClick:()=>me?je():null,disabled:(()=>{const e=p();return 0===s.size(e[ce])})(),children:["Sign In with ",L(O,ce)?.label]}),we?e.jsxs(D,{size:"big",variant:"dark",type:"button",className:S("passflow-button-passkey"),style:me||fe?{marginTop:"-16px"}:{},withIcon:!0,onClick:be,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign In with a Passkey"]}):null]}):null,ie&&we?e.jsxs(e.Fragment,{children:[se&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:ae})]}),e.jsxs(D,{size:"big",variant:"dark",type:"button",className:"passflow-button-passkey",withIcon:!0,onClick:be,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign In with a Passkey"]})]}):null,e.jsx("div",{className:S("passflow-form-actions",{"passflow-form-actions--top-space":me||we}),children:e.jsxs("p",{className:"passflow-dont-have-account",children:["Don't have an account?"," ",e.jsx(ye,{to:r??J.signup.path,search:window.location.search,className:"passflow-link",children:"Sign Up"})]})}),s.size(O.fim.providers)>0&&e.jsxs("div",{className:"passflow-form-providers",children:[me||fe||we?e.jsxs("div",{className:"passflow-form-divider",children:[e.jsx("div",{className:"passflow-form-divider__line-left"}),e.jsx("span",{className:"passflow-form-divider__text",children:"Or continue with"}),e.jsx("div",{className:"passflow-form-divider__line-right"})]}):null,e.jsx(xe,{providers:O.fim.providers,onClick:e=>Z(e,Q??void 0)})]})]})]})},Qe=Je(Ke,Oe),Xe={passkeyEmail:"",passkeyPhone:"",passkeyUsername:"",email_or_username:"",phone:"",password:""},$e=({successAuthRedirect:t,relyingPartyId:a=window.location.hostname,signInPath:r=J.signin.path,verifyOTPPath:n=J.verify_otp.path,verifyMagicLinkPath:l=J.verify_magic_link.path})=>{const{getValues:c,control:d,trigger:p,register:u,formState:{errors:h,isDirty:m,isValid:g},clearErrors:x,reset:y,setError:v}=w.useForm({defaultValues:Xe}),C=$(),{navigate:E}=pe(),{appSettings:A,scopes:T,createTenantForNewUser:R,passwordPolicy:z,currentStyles:Y,isError:U,error:V,loginAppTheme:H}=ne();if(U)throw new Error(V);const{federatedWithRedirect:Z}=te(t,R),O=o.useMemo(()=>N(A?.auth_strategies),[A]),{error:q,message:W}=P();if(q&&W)throw new Error(W);const{get:K}=F({invite_token:""}),Q=K("invite_token"),{fetch:X,isError:ee,error:se,reset:re,isLoading:oe}=ae(),[ie,le]=o.useState(A?.force_passwordless_login&&O.passkey||!1),[ce,de]=o.useState(()=>O.hasEmailMethods||O.hasUsernameMethods?"email_or_username":O.hasPhoneMethods?"phone":null);o.useEffect(()=>{le(A?.force_passwordless_login&&O.passkey||!1),O.hasSignInEmailMethods||O.hasSignInUsernameMethods?de("email_or_username"):O.hasSignInPhoneMethods?de("phone"):de(null)},[A?.force_passwordless_login,O]);const ue=()=>{y(),x(),re()},he=e=>{de(e),ue()},me=s.eq(ce,"phone")&&O.internal.phone.password||s.eq(ce,"email_or_username")&&(O.internal.email.password||O.internal.username.password),fe=s.eq(ce,"phone")&&(O.internal.phone.otp||O.internal.phone.magicLink)||s.eq(ce,"email_or_username")&&(O.internal.email.otp||O.internal.email.magicLink),we=O.passkey,Ce=async(e,a)=>{s.eq(a,"password")&&await(async e=>{const a={user:e,create_tenant:R,...!s.isEmpty(Q)&&{invite_token:Q}};if(await X(a,"password")){const e=t??A?.defaults.redirect??"";M(e)?window.location.href=await k(C,e):E({to:e})}})(e),s.eq(a,"passwordless")&&await(async e=>{const a=L(O,ce)?.challengeType,r={...e,challenge_type:a,create_tenant:R,redirect_url:t??A?.defaults.redirect,...!s.isEmpty(Q)&&{invite_token:Q}},o=await X(r,"passwordless"),c=new URLSearchParams(window.location.search),d={...r,...o,type:"passwordless",challenge_type:a,create_tenant:R},p=i.stringify({...Object.fromEntries(c.entries()),...d});s.eq(a,"otp")&&o&&E({to:n??J.verify_otp.path,search:p}),s.eq(a,"magic_link")&&o&&E({to:l??J.verify_magic_link.path,search:p})})(e)},je=async()=>{let e=!1;if(s.eq(ce,"phone")&&(e=await p(["phone"])),s.eq(ce,"email_or_username")&&(e=await p(["email_or_username"])),e){const e=c(),s=e.email_or_username.match(j),t=f.phone(e.phone),a=t.isValid,r={...s&&{email:e.email_or_username},...a&&{phone:t.phoneNumber},scopes:T};await Ce(r,"passwordless")}},be=async()=>(async()=>{const e=t??A?.defaults.redirect??"",r={relying_party_id:a,create_tenant:R,redirect_url:e,...!s.isEmpty(Q)&&{invite_token:Q},scopes:T};await X(r,"passkey")&&(M(e)?window.location.href=await k(C,e):E({to:e}))})(),Me=async()=>{const e=c(),t=e.email_or_username.match(j),a=!t&&s.size(e.email_or_username)>0,r=f.phone(e.phone),o=r.isValid,n={...t&&{email:e.email_or_username},...a&&{username:e.email_or_username},...o&&{phone_number:r.phoneNumber},password:e.password,scopes:T};await Ce(n,"password")};return e.jsxs(Re,{title:"Create account to sign up",subtitle:"For Passflow by Madappgang",className:"passflow-signup-wrapper",customCss:Y?.custom_css,customLogo:Y?.logo_url,removeBranding:H?.remove_passflow_logo,children:[we&&(fe||me)&&e.jsx("div",{className:"passflow-form-switch",children:e.jsx(ve,{label:"Passwordless experience",checked:ie,onChange:e=>{const{checked:s}=e.target;le(s),ue()}})}),e.jsxs("form",{onSubmit:e=>{e.preventDefault(),ie||(me&&Me(),!me&&fe&&je()),ie&&we&&be()},className:"passflow-form passflow-signup-form",children:[!ie&&ce?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"passflow-form-container",children:[s.eq(ce,"email_or_username")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"identity",className:S("passflow-field-label",{"passflow-field-label--error":ee||s.has(h,"email_or_username")}),children:I(O,"label")}),O.hasPhoneMethods&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("phone"),children:"Use phone"})]}),e.jsx(w.Controller,{name:"email_or_username",control:d,rules:{required:(ke=O,ke.hasSignInEmailMethods&&ke.hasSignInUsernameMethods?"Email or username is required":ke.hasSignInEmailMethods?"Email is required":ke.hasSignInUsernameMethods?"Username is required":"Field is required"),...O.hasEmailMethods&&!O.hasUsernameMethods?{pattern:{value:j,message:"Invalid email"}}:void 0},render:({field:t})=>e.jsx(G,{...t,...u("email_or_username"),isError:ee||s.has(h,"email_or_username"),id:"email_or_username",type:"text",name:"email_or_username"})}),s.has(h,"email_or_username")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:h.email_or_username?.message})]})]}),s.eq(ce,"phone")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"phone",className:S("passflow-field-label",{"passflow-field-label--error":ee||s.has(h,"phone")}),children:"Phone number"}),(O.hasEmailMethods||O.hasUsernameMethods)&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("email_or_username"),children:I(O,"button")})]}),e.jsx(w.Controller,{name:"phone",control:d,rules:{required:"Phone number is required",validate:e=>!!f.phone(e).isValid||"Invalid phone number"},render:({field:t})=>e.jsx(ge,{...t,...u("phone"),onChange:e=>t.onChange(e),id:"phone",name:"phone",isError:ee||s.has(h,"phone"),ref:null})}),s.has(h,"phone")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:h.phone?.message})]})]}),me?e.jsxs("div",{className:"passflow-form-field",children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"password",className:S("passflow-field-label",{"passflow-field-label--error":ee}),children:"Password"})}),e.jsx(w.Controller,{name:"password",control:d,rules:{required:"Password is required",validate:e=>{try{return b(z).validateSync(e),x("password"),!0}catch(s){const e=s;return v("password",{type:"manual",message:e.errors.join(", ")}),e.errors.join(", ")}}},render:({field:t})=>e.jsx(B,{...t,...u("password"),isError:ee,passwordPolicy:z,validationErrors:s.has(h,"password")&&h.password?.message?h.password.message.split(", "):void 0,id:"password",name:"password",withMessages:!0,onChange:e=>{t.onChange(e),(async()=>{await p(["password"])})()}})})]}):null,ee&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:se})]})]}),me?e.jsx(D,{size:"big",variant:"primary",type:"submit",onClick:Me,disabled:!m||!g||oe,className:"passflow-button-signup",children:"Sign Up"}):null,fe&&e.jsxs(D,{size:"big",variant:me?"outlined":"primary",type:me?"button":"submit",className:S("passflow-button-passwordless",{"passflow-button-passwordless--active":me}),style:me?{marginTop:"-16px"}:{},onClick:()=>me?je():null,disabled:(()=>{const e=c();return 0===s.size(e[ce])})(),children:["Sign Up with ",L(O,ce)?.label]}),we?e.jsxs(D,{size:"big",variant:"dark",type:"button",className:S("passflow-button-passkey"),style:me||fe?{marginTop:"-16px"}:{},withIcon:!0,onClick:be,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign Up with a Passkey"]}):null]}):null,ie&&we?e.jsxs(e.Fragment,{children:[e.jsxs(D,{size:"big",variant:"dark",type:"submit",className:"passflow-button-passkey",withIcon:!0,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign Up with a Passkey"]}),ee&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:se})]})]}):null,e.jsx("div",{className:S("passflow-form-actions",{"passflow-form-actions--top-space":me||we}),children:e.jsxs("p",{className:"passflow-have-account",children:["Already have an account?"," ",e.jsx(ye,{to:r??J.signin.path,search:window.location.search,className:"passflow-link",children:"Sign In"})]})}),s.size(O.fim.providers)>0&&e.jsxs("div",{className:"passflow-form-providers",children:[me||fe||we?e.jsxs("div",{className:"passflow-form-divider",children:[e.jsx("div",{className:"passflow-form-divider__line-left"}),e.jsx("span",{className:"passflow-form-divider__text",children:"Or continue with"}),e.jsx("div",{className:"passflow-form-divider__line-right"})]}):null,e.jsx(xe,{providers:O.fim.providers,onClick:e=>Z(e,Q??void 0)})]})]})]});var ke},es=Je($e,Oe),ss={email:"email address",phone:"phone number"},ts=()=>{const{currentStyles:t,loginAppTheme:a}=ne(),{fetch:r}=ee(),{get:o}=F({identity:"",identity_value:"",challenge_type:"",type:"",redirect_url:""}),n=o("email")?"email":o("phone")?"phone":void 0,i=o("email")?o("email"):o("phone")?o("phone"):void 0,l=o("challenge_type"),c=o("type"),d=o("redirect_url");return e.jsx(Re,{title:"Check your email",className:"passflow-verify-challenge-magic-link-wrapper",customCss:t?.custom_css,customLogo:t?.logo_url,removeBranding:a?.remove_passflow_logo,children:e.jsxs("div",{className:"passflow-verify-challenge-magic-link-container",children:[e.jsxs("p",{className:"passflow-verify-challenge-magic-link-text",children:["We sent a link to ",ss[n]," ",i&&e.jsx("strong",{className:"passflow-verify-challenge-magic-link-text--strong",children:i}),". Click on the link to confirm your registration."]}),"passwordless"===c&&e.jsx(D,{size:"big",variant:"secondary",type:"button",className:"passflow-button-resend-magic-link",onClick:async()=>{const e={...s.eq(n,"email")?{email:i}:void 0,...s.eq(n,"phone")?{phone:i}:void 0,challenge_type:l,redirect_url:d};await r(e,c)},children:"Resend email"})]})})},as=({totalSecond:s,onClick:t,className:a="",...r})=>{const[n,i]=o.useState(s);o.useEffect(()=>{const e=setInterval(()=>{n>0&&i(e=>e-1)},1e3);return()=>{clearInterval(e)}},[n]);return e.jsxs(D,{disabled:n>0,size:"small",variant:"clean",type:"button",className:S("passflow-button-timer",{"passflow-button-timer--active":n>0,"passflow-button-timer--inactive":0===n},a),onClick:()=>{t(),i(s)},...r,children:["Resend ",n>0?`(${n})`:""]})},rs=()=>{const{currentStyles:s,loginAppTheme:t}=ne();return e.jsx(Re,{iconId:"logo",className:"passflow-verify-challenge-success-wrapper",customCss:s?.custom_css,customLogo:s?.logo_url,removeBranding:t?.remove_passflow_logo,children:e.jsx("div",{className:"passflow-verify-challenge-success-wrapper",children:e.jsxs("div",{className:"passflow-verify-challenge-success-container",children:[e.jsx("p",{className:"passflow-verify-challenge-success-text",children:"Successful verification!"}),e.jsx("p",{className:"passflow-verify-challenge-success-text-secondary",children:"But there is no redirect URL for further redirect."})]})})})},os={email:"email address",phone:"phone number"},ns=({identity:s,identityValue:t,challengeType:a,challengeId:r,type:n,numInputs:i,shouldAutoFocus:l,successAuthRedirect:c,signUpPath:d})=>{const p=$(),{appSettings:h,createTenantForNewUser:m,currentStyles:f,loginAppTheme:w}=ne(),{navigate:g}=pe(),{fetch:x}=ee(),{fetch:y,isError:v,error:C}=ie(),[j,b]=o.useState(""),[E,N]=o.useState(null),[I,L]=o.useState(!1),{set:P}=F();if(o.useEffect(()=>{if(j.length===i&&r){const e={challenge_id:r,challenge_type:"otp",otp:j};(async()=>{const s=await y(e);s&&(s.redirect_url?M(s.redirect_url)?window.location.href=await k(p,s.redirect_url):g({to:s.redirect_url}):L(!0))})()}},[j,i,y,r,g,p]),E)throw new Error(E);if(I)return e.jsx(rs,{});return e.jsxs(Re,{title:`Verify your ${s}`,subtitle:`We sent OTP code to your ${os[s]}`,className:"passflow-verify-otp",customCss:f?.custom_css,customLogo:f?.logo_url,removeBranding:w?.remove_passflow_logo,children:[e.jsxs("div",{className:"passflow-verify-otp-container",children:[t&&e.jsxs(D,{size:"big",type:"button",variant:"outlined",className:"passflow-verify-otp-button",withIcon:!0,onClick:()=>g({to:d}),children:[e.jsx(_,{id:"email"===s?"mail":"phone",type:"general",size:"small"}),t,e.jsx(_,{id:"edit",type:"general",size:"small",className:"passflow-verify-otp-button-icon"})]}),e.jsxs("div",{id:"otp-wrapper",className:"passflow-verify-otp-wrapper",children:[e.jsx(u,{value:j,onChange:e=>b(e),numInputs:i,shouldAutoFocus:l,skipDefaultStyles:!0,containerStyle:"passflow-verify-otp-inputs",inputStyle:S("passflow-field-otp passflow-field-otp--focused",v&&"passflow-field-otp--error"),inputType:"text",renderInput:s=>e.jsx("input",{...s})}),v&&e.jsxs("div",{className:"passflow-verify-otp-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-verify-otp-error-text",children:C})]})]})]}),"passwordless"===n&&e.jsxs("p",{className:"passflow-verify-otp-resend",children:["Don't receive a code?",e.jsx(as,{totalSecond:30,onClick:()=>{(async()=>{if(n&&s&&t&&a){const e={create_tenant:m,challenge_type:a,redirect_url:c??h?.defaults.redirect??"",..."email"===s?{email:t}:{phone:t}},r=await x(e,n);r?P({challenge_id:r.challenge_id}):N("Something went wrong. Please try again later.")}})()}})]})]})},is=({otp:s,challengeId:t,appId:a})=>{const r=$(),{navigate:n}=pe(),[i,l]=o.useState(null),[c,d]=o.useState(!1),{fetch:p,isError:u,error:h,isLoading:m}=ie();if(o.useEffect(()=>{(async()=>{if(a)if(s)if(t){if(!m){const e=await p({otp:s,challenge_id:t});e?e.redirect_url?M(e.redirect_url)?window.location.href=await k(r,e.redirect_url):n({to:e.redirect_url}):d(!0):l("Something went wrong. Please try again later.")}}else l("Missing required param: challenge_id");else l("Missing required param: otp");else l("Missing required param: app_id")})()},[]),u&&h)throw new Error(h);if(i)throw new Error(i);return c?e.jsx(rs,{}):null},ls=x.object().shape({appId:x.string().required(),challengeId:x.string().required(),otp:x.string().optional()}),cs=x.object().shape({challengeId:x.string().required(),identity:x.string().oneOf(["email","phone"]).required(),identityValue:x.string().required(),challengeType:x.string().required(),type:x.string().oneOf(["passwordless","passkey"]).optional()}),ds=({successAuthRedirect:s,numInputs:t,shouldAutoFocus:a,signUpPath:r})=>{const{get:o}=F({otp:"",app_id:"",challenge_id:"",identity:"",identity_value:"",challenge_type:"",type:""}),n=o("type");if("passwordless"!==n&&"passkey"!==n){const s={appId:o("app_id"),challengeId:o("challenge_id"),otp:o("otp")};try{ls.validateSync(s,{abortEarly:!1})}catch(h){throw new Error("Invalid search params")}const{appId:t,otp:a,challengeId:r}=s;return e.jsx(is,{appId:t,challengeId:r,otp:a})}const i={challengeId:o("challenge_id"),identity:o("email")?"email":o("phone")?"phone":null,identityValue:o("email")?o("email"):o("phone")?o("phone"):null,challengeType:o("challenge_type"),type:o("type")};try{cs.validateSync(i,{abortEarly:!1})}catch(h){throw new Error("Invalid search params")}const{challengeId:l,identity:c,identityValue:d,challengeType:p,type:u}=i;if(!u)throw new Error("Invalid type params");return e.jsx(ns,{identity:c,identityValue:d,challengeType:p,challengeId:l,type:u,numInputs:t,shouldAutoFocus:a,signUpPath:r,successAuthRedirect:s})},ps={email_or_username:"",phone:""},us=x.object().shape({defaultMethod:x.string().oneOf(["email_or_username","phone"]).required()}),hs=({successResetRedirect:t,signInPath:a=J.signin.path,forgotPasswordSuccessPath:r=J.forgot_password_success.path})=>{const{getValues:n,control:l,register:c,formState:{errors:d,isDirty:p,isValid:u}}=w.useForm({defaultValues:ps}),{appSettings:h,currentStyles:m,isError:g,error:x,loginAppTheme:y}=ne();if(g)throw new Error(x);const v=o.useMemo(()=>N(h?.auth_strategies),[h]),{navigate:C}=pe(),{get:b}=F({default_method:""}),M={defaultMethod:b("default_method")};try{us.validateSync(M,{abortEarly:!1})}catch(z){throw new Error("Invalid default method param")}const{defaultMethod:k}=M,{fetch:E,error:L,isError:P,isLoading:A}=re(),T=s.eq(k,"email_or_username")?"Enter the email address you used when you joined and we’ll send you instructions to reset your password.":"Enter the mobile phone number you used when you joined and we’ll send you the reset link.",R=s.eq(k,"email_or_username")?"For security reasons, we do NOT store your password. So rest assured that we will never send your password via email.":"For security reasons, we do NOT store your password. So rest assured that we will never send your password via SMS.";return e.jsxs(Re,{title:"Forgot password?",subtitle:T,className:"passflow-forgot-password-wrapper",customCss:m?.custom_css,customLogo:m?.logo_url,removeBranding:y?.remove_passflow_logo,children:[e.jsx("span",{className:"passflow-form-subscriptions",children:R}),e.jsxs("form",{onSubmit:e=>e.preventDefault(),className:"passflow-form",children:[e.jsx("div",{className:"passflow-form-container",children:e.jsxs("div",{className:"passflow-form-field",children:[s.eq(k,"email_or_username")&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"identity",className:S("passflow-field-label",{"passflow-field-label--error":P}),children:I(v,"label")})}),e.jsx(w.Controller,{name:"email_or_username",control:l,rules:{required:"Email is required",pattern:{value:j,message:"Invalid email"}},render:({field:t})=>e.jsx(G,{...t,...c("email_or_username"),isError:P||s.has(d,"email_or_username"),id:"email_or_username",type:"text",name:"email_or_username"})})]}),s.eq(k,"phone")&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"phone",className:S("passflow-field-label",{"passflow-field-label--error":P}),children:"Phone"})}),e.jsx(w.Controller,{name:"phone",control:l,rules:{required:"Phone is required",validate:e=>!!f.phone(e).isValid||"Invalid phone number"},render:({field:t})=>e.jsx(ge,{...t,...c("phone"),onChange:e=>t.onChange(e),id:"phone",name:"phone",isError:P||s.has(d,"phone"),ref:null})})]}),P&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:L})]})]})}),e.jsxs("div",{className:"passflow-send-reset-wrapper",children:[e.jsx(D,{size:"big",variant:"primary",type:"button",disabled:!p||!u||A,className:"passflow-button-send-reset-password",onClick:async()=>{const e=n(),a=e.email_or_username.match(j),o=!a&&s.size(e.email_or_username)>0,l=f.phone(e.phone),c=l.isValid,d={...a&&{email:e.email_or_username},...o&&{username:e.email_or_username},...c&&{phone:l.phoneNumber},redirect_url:t??h?.defaults.redirect};if(await E(d)){const e=new URLSearchParams(window.location.search),s=i.stringify({...Object.fromEntries(e.entries()),...d});C({to:r,search:s})}},children:"Send reset instructions"}),e.jsxs("p",{className:"passflow-remember-password",children:["Remember your password?"," ",e.jsx(ye,{to:a??J.signin.path,className:"passflow-link",children:"Sign In"})," "]})]})]})]})},ms=x.object().shape({identity:x.string().oneOf(["email","phone"]).required(),identityValue:x.string().required(),redirectUrl:x.string().required()}),fs=()=>{const{currentStyles:t,loginAppTheme:a}=ne(),{fetch:r}=re(),{get:o}=F(),n={identity:o("email")?"email":o("phone")?"phone":null,identityValue:o("email")?o("email"):o("phone")?o("phone"):null,redirectUrl:o("redirect_url")};try{ms.validateSync(n,{abortEarly:!1})}catch(i){throw new Error("Invalid search params")}return e.jsx(Re,{title:`Check your ${n.identity}`,className:"passflow-forgot-password-success-wrapper",customCss:t?.custom_css,customLogo:t?.logo_url,removeBranding:a?.remove_passflow_logo,children:e.jsxs("div",{className:"passflow-forgot-password-success-container",children:[e.jsxs("p",{className:"passflow-forgot-password-success-text",children:["We sent a link to ",s.eq(n.identity,"phone")?"phone number":"email address"," ",e.jsx("strong",{className:"passflow-forgot-password-success-text--strong",children:n.identityValue}),". Click the link to reset your password."]}),e.jsxs(D,{size:"big",variant:"secondary",type:"button",className:"passflow-button-resend-reset-password",onClick:async()=>{const e={..."email"===n.identity?{email:n.identityValue}:void 0,..."phone"===n.identity?{phone:n.identityValue}:void 0,redirect_url:n.redirectUrl};await r(e)},children:["Resend ",s.eq(n.identity,"email")?"email":"SMS"]})]})})},ws={password:""},gs=x.object().shape({token:x.string().required()}),xs=({successAuthRedirect:t})=>{const{getValues:a,control:r,register:o,trigger:i,formState:{errors:l,isDirty:c,isValid:d},clearErrors:p,setError:u}=w.useForm({defaultValues:ws}),h=$(),{appSettings:m}=ne(),{fetch:f,error:g,isError:x,isLoading:y}=oe(),{navigate:v}=pe(),{get:C}=F(),{passwordPolicy:j,currentStyles:N,isError:I,error:L,loginAppTheme:P}=ne();if(I)throw new Error(L);const A={token:C("token")};try{gs.validateSync(A,{abortEarly:!1})}catch(z){throw new Error("Invalid reset token.")}const{token:T}=A,R=T?E(n.parseToken)(T):void 0;return e.jsxs(Re,{title:"Reset password",subtitle:"Let’s get you back in.",className:"passflow-reset-password-wrapper",customCss:N?.custom_css,customLogo:N?.logo_url,removeBranding:P?.remove_passflow_logo,children:[e.jsx("span",{className:"passflow-reset-password-text",children:"Enter your new password below."}),e.jsxs("form",{onSubmit:e=>{e.preventDefault(),(async()=>{const e=a(),s=R;await f(e.password)&&(M(s?.redirect_url??t??m?.defaults.redirect)?window.location.href=await k(h,s?.redirect_url??t??m?.defaults.redirect):v({to:s?.redirect_url??t??m?.defaults.redirect}))})()},className:"passflow-form passflow-reset-password-form",children:[e.jsx("div",{className:"passflow-form-container",children:e.jsxs("div",{className:"passflow-form-field",children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"password",className:S("passflow-field-label",{"passflow-field-label--error":x}),children:"New password"})}),e.jsx(w.Controller,{name:"password",control:r,rules:{required:"Password is required",validate:e=>{try{return b(j).validateSync(e),p("password"),!0}catch(z){const s=z;return u("password",{type:"manual",message:s.errors.join(", ")}),s.errors.join(", ")}}},render:({field:t})=>e.jsx(B,{...t,...o("password"),isError:x,passwordPolicy:j,validationErrors:s.has(l,"password")&&l.password?.message?l.password.message.split(", "):void 0,id:"password",name:"password",withMessages:!0,onChange:e=>{t.onChange(e),(async()=>{await i(["password"])})()}})}),x&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g})]})]})}),e.jsx(D,{size:"big",variant:"primary",type:"submit",disabled:!c||!d||y,className:"passflow-button-reset-password",children:"Save new password"})]})]})},ys=x.object().shape({invite_token:x.string().required()}),vs=Je(({signInPath:s=J.signin.path,signUpPath:t=J.signup.path,successAuthRedirect:a})=>{const{appSettings:r,currentStyles:o,loginAppTheme:i}=ne(),{navigate:l}=pe(),{get:c}=F(),d=$(),{fetch:p,isLoading:u,error:h,isError:m}=le(),f={invite_token:c("invite_token")};try{ys.validateSync(f,{abortEarly:!1})}catch(x){throw new Error("Invalid invitation token.")}const{invite_token:w}=f,g=w?E(n.parseToken)(w):void 0;if(m&&h)throw Error(h);if(!g)throw Error("Invalid invitation token.");if(g){const{inviter_name:n,tenant_name:c,redirect_url:h}=g,m=d.getParsedTokens(),f=()=>l({to:s,search:window.location.search}),x=()=>l({to:t,search:window.location.search});return m?.access_token||f(),e.jsxs(Re,{title:`${n||"Someone"} invited you to join the ${c} - want to accept?`,className:"passflow-invitation-join-wrapper",customCss:o?.custom_css,customLogo:o?.logo_url,removeBranding:i?.remove_passflow_logo,children:[m?.access_token&&m.id_token&&e.jsxs("span",{className:"passflow-invitation-join-text",children:["You're signed in as"," ",e.jsx("strong",{className:"passflow-invitation-join-text-strong",children:m.id_token?.email})," right now. Do you want keep going as"," ",e.jsx("strong",{className:"passflow-invitation-join-text-strong",children:m.id_token?.email})," or switch to different account?"]}),m?.access_token&&e.jsx(D,{size:"big",type:"button",variant:"primary",className:"passflow-button-invitation-join",onClick:()=>{(async e=>{w&&await p(w)&&(M(e)?window.location.href=await k(d,e):l({to:e}))})(h??a??r?.defaults.redirect)},disabled:u,children:"Accept invitation"}),e.jsxs("div",{className:"passflow-invitation-join-actions",style:m?.access_token?{}:{marginTop:"32px"},children:[e.jsx(D,{size:"big",type:"button",variant:"secondary",className:"passflow-button-invitation-join-switch",onClick:f,disabled:u,children:"Switch account"}),e.jsx(D,{size:"big",type:"button",variant:"secondary",className:"passflow-button-invitation-join-register",onClick:x,disabled:u,children:"Register new user"})]})]})}return null},Oe);
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("lodash"),t=require("yup");require("dayjs");const a=require("clsx"),r=require("tailwind-merge"),o=require("react"),n=require("@passflow/core"),i=require("query-string"),l=require("countries-and-timezones"),c=require("react-international-phone"),d=require("@radix-ui/react-popover"),p=require("@radix-ui/react-dialog"),u=require("react-otp-input"),h=require("react-helmet-async"),m=require("react-error-boundary"),f=require("phone"),w=require("react-hook-form");function g(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,a.get?a:{enumerable:!0,get:()=>e[t]})}return s.default=e,Object.freeze(s)}require("react-dom");const x=g(t),y=g(o),v=g(d),C=g(p);window.passflowReactAppVersion=()=>{console.log("App Version: 0.6.0")};const j=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,b=e=>x.string().required().test({test:t=>{const a=[];if(e){const{min_password_length:r,require_lowercase:o,require_number:n,require_symbol:i,require_uppercase:l}=e;s.size(t)<r&&a.push("length"),l&&!/[A-Z]/.test(t)&&a.push("uppercase"),o&&!/[a-z]/.test(t)&&a.push("lowercase"),n&&!/\d/.test(t)&&a.push("number"),i&&!/[!@#$%^&*()_+{}[\]:;<>,.?~\\-]/.test(t)&&a.push("symbol")}if(a.length>0){const e={errors:a,inner:!0,path:"password",field:"password",message:a,value:t,name:"ValidationError"};return new x.ValidationError(e,t,"password")}return!0}}),M=e=>{try{const s=new URL(e);return"http:"===s.protocol||"https:"===s.protocol}catch{return!1}},k=async(e,s,t="hash")=>{const a=await e.getTokens(!1);if(a){a.scopes=void 0;const e=Object.entries(a).filter(([e,s])=>s).map(([e,s])=>`${e}=${encodeURIComponent(s)}`).join("&");return"hash"===t?`${s}#${e}`:`${s}?${e}`}return s},S=(...e)=>r.twMerge(a(e));function E(e){return s=>{try{return e(s)}catch(t){return}}}const N=e=>{const t={internal:{username:{password:!1},email:{password:!1,otp:!1,magicLink:!1},phone:{password:!1,otp:!1,magicLink:!1}},fim:{providers:[]},passkey:!1,hasEmailMethods:!1,hasSignInEmailMethods:!1,hasPhoneMethods:!1,hasSignInPhoneMethods:!1,hasUsernameMethods:!1,hasSignInUsernameMethods:!1};if(!e)return t;for(const a of e){const{identity:e,challenge:r,fim_type:o}=a.strategy;switch(a.type){case"internal":switch(e){case"email":s.eq(r,"magic_link")?t.internal.email.magicLink=!0:t.internal.email[r]=!0,t.hasEmailMethods=!0,(t.internal.email.magicLink||t.internal.email.otp||t.internal.email.password)&&(t.hasSignInEmailMethods=!0);break;case"phone":s.eq(r,"magic_link")?t.internal.phone.magicLink=!0:t.internal.phone[r]=!0,t.hasPhoneMethods=!0,(t.internal.phone.magicLink||t.internal.phone.otp||t.internal.phone.password)&&(t.hasSignInPhoneMethods=!0);break;case"username":t.internal.username[r]=!0,t.hasUsernameMethods=!0,t.internal.username.password&&(t.hasSignInUsernameMethods=!0);break;default:throw new Error(`Unsupported identity type: ${e}`)}break;case"fim":t.fim.providers.push(o);break;case"passkey":t.passkey=!0;break;default:throw new Error(`Unsupported strategy type: ${a.type}`)}}return t},I=(e,t)=>e.hasSignInEmailMethods&&e.hasSignInUsernameMethods?s.eq(t,"label")?"Email or username":"Use email or username":e.hasSignInEmailMethods?s.eq(t,"label")?"Email":"Use email":e.hasSignInUsernameMethods?s.eq(t,"label")?"Username":"Use username":null,L=(e,t)=>{if(s.eq(t,"phone")){if(e.internal.phone.otp)return{label:"SMS code",challengeType:"otp"};if(e.internal.phone.magicLink)return{label:"SMS link",challengeType:"magic_link"}}if(s.eq(t,"email_or_username")){if(e.internal.email.otp)return{label:"email code",challengeType:"otp"};if(e.internal.email.magicLink)return{label:"email link",challengeType:"magic_link"}}return null},F=e=>{const s=(t=window.location.search,(new DOMParser).parseFromString(t,"text/html").documentElement.textContent||"");var t;const a=new URLSearchParams(s);if(e){let s=!1;for(const[t,r]of Object.entries(e))a.has(t)||""===r||(a.set(t,r),s=!0);if(s){const e=`${window.location.pathname}${a.toString()?`?${a.toString()}`:""}${window.location.hash}`;window.history.replaceState(null,"",e)}}return{getAll:()=>{const e={};for(const[s,t]of a.entries())e[s]=t;return e},get:e=>{const s=a.get(e);return""===s?null:s},set:e=>{const s=new URLSearchParams(window.location.search);for(const[a,r]of Object.entries(e))null==r||""===r?s.delete(a):s.set(a,r);const t=`${window.location.pathname}${s.toString()?`?${s.toString()}`:""}${window.location.hash}`;window.history.pushState(null,"",t)}}},P=e=>{const s=new URLSearchParams(e?e.split("?")[1]:window.location.search),t=s.get("error"),a=s.get("message");return{error:t,message:a?decodeURIComponent(a):null}},A={expired:["2FA verification expired or not required","verification expired","session expired","verification not required"],not_enabled:["Two-factor authentication is not enabled for this user","2FA is not enabled","two-factor not enabled"],invalid_code:["invalid code","incorrect code","code mismatch","wrong code","invalid 2fa code"]};function T(e){switch(e.type){case"expired":return"Your session has expired. Redirecting to sign in...";case"not_enabled":return"Two-factor authentication is not enabled for your account. Please contact your administrator to enable 2FA.";case"invalid_code":return"Invalid code. Please check your authenticator app and try again.";default:return e.message}}const R="passflow_2fa",z=`${R}_redirect_count`,Y=`${R}_last_error_type`,U={canRedirect(){try{return this.getRedirectCount()<3}catch{return!0}},incrementRedirect(){try{const e=this.getRedirectCount();sessionStorage.setItem(z,String(e+1))}catch{}},getRedirectCount(){try{const e=sessionStorage.getItem(z);return e?Number.parseInt(e,10):0}catch{return 0}},reset(){try{sessionStorage.removeItem(z),sessionStorage.removeItem(Y)}catch{}},setLastErrorType(e){try{sessionStorage.setItem(Y,e)}catch{}},getLastErrorType(){try{return sessionStorage.getItem(Y)}catch{return null}},isRepeatingError(e){return this.getLastErrorType()===e&&this.getRedirectCount()>0},getLoopDetectedMessage:()=>"Unable to complete authentication. This may be a configuration issue. Please contact support."},_=({type:s,id:t,size:a,className:r=""})=>{const o={"passflow-icon--small":"small"===a,"passflow-icon--medium":"medium"===a,"passflow-icon--big":"big"===a,"passflow-icon--large":"large"===a},n={general:{logo:"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='8'%20fill='%231E1E1E'%20/%3e%3cpath%20d='M21.2532%2031H13.6932V12.52H24.9012C25.9252%2012.52%2026.8612%2012.72%2027.7092%2013.12C28.5732%2013.504%2029.2612%2014.184%2029.7732%2015.16C30.2852%2016.12%2030.5412%2017.456%2030.5412%2019.168C30.5412%2020.848%2030.2772%2022.184%2029.7492%2023.176C29.2212%2024.152%2028.5252%2024.856%2027.6612%2025.288C26.8132%2025.704%2025.8932%2025.912%2024.9012%2025.912H21.2532V31ZM23.1252%2018.592H20.8212V19.888H23.1972C23.3252%2019.888%2023.4612%2019.848%2023.6052%2019.768C23.7652%2019.688%2023.8452%2019.52%2023.8452%2019.264C23.8452%2018.992%2023.7572%2018.816%2023.5812%2018.736C23.4052%2018.64%2023.2532%2018.592%2023.1252%2018.592Z'%20fill='white'%20/%3e%3c/svg%3e","logo-red":"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='8'%20fill='%23D85D5D'%20/%3e%3cpath%20d='M21.2532%2031H13.6932V12.52H24.9012C25.9252%2012.52%2026.8612%2012.72%2027.7092%2013.12C28.5732%2013.504%2029.2612%2014.184%2029.7732%2015.16C30.2852%2016.12%2030.5412%2017.456%2030.5412%2019.168C30.5412%2020.848%2030.2772%2022.184%2029.7492%2023.176C29.2212%2024.152%2028.5252%2024.856%2027.6612%2025.288C26.8132%2025.704%2025.8932%2025.912%2024.9012%2025.912H21.2532V31ZM23.1252%2018.592H20.8212V19.888H23.1972C23.3252%2019.888%2023.4612%2019.848%2023.6052%2019.768C23.7652%2019.688%2023.8452%2019.52%2023.8452%2019.264C23.8452%2018.992%2023.7572%2018.816%2023.5812%2018.736C23.4052%2018.64%2023.2532%2018.592%2023.1252%2018.592Z'%20fill='white'%20/%3e%3c/svg%3e",warning:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_823)'%3e%3cpath%20d='M7.99992%205.33334V8M7.99992%2010.6667H8.00659M14.6666%208C14.6666%2011.6819%2011.6818%2014.6667%207.99992%2014.6667C4.31802%2014.6667%201.33325%2011.6819%201.33325%208C1.33325%204.3181%204.31802%201.33334%207.99992%201.33334C11.6818%201.33334%2014.6666%204.3181%2014.6666%208Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2502_823'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",mail:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.33337%204.66666L6.77665%208.47696C7.21743%208.78551%207.43783%208.93978%207.67755%208.99954C7.8893%209.05232%208.11078%209.05232%208.32253%208.99954C8.56226%208.93978%208.78265%208.78551%209.22343%208.47696L14.6667%204.66666M4.53337%2013.3333H11.4667C12.5868%2013.3333%2013.1469%2013.3333%2013.5747%2013.1153C13.951%2012.9236%2014.257%2012.6176%2014.4487%2012.2413C14.6667%2011.8135%2014.6667%2011.2534%2014.6667%2010.1333V5.86666C14.6667%204.74656%2014.6667%204.18651%2014.4487%203.75868C14.257%203.38236%2013.951%203.0764%2013.5747%202.88465C13.1469%202.66666%2012.5868%202.66666%2011.4667%202.66666H4.53337C3.41327%202.66666%202.85322%202.66666%202.42539%202.88465C2.04907%203.0764%201.74311%203.38236%201.55136%203.75868C1.33337%204.18651%201.33337%204.74656%201.33337%205.86666V10.1333C1.33337%2011.2534%201.33337%2011.8135%201.55136%2012.2413C1.74311%2012.6176%202.04907%2012.9236%202.42539%2013.1153C2.85322%2013.3333%203.41327%2013.3333%204.53337%2013.3333Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",edit:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.6231%206.86026L9.13975%204.37687M2%2014L4.10117%2013.7665C4.35789%2013.738%204.48624%2013.7238%204.60622%2013.6849C4.71266%2013.6505%204.81395%2013.6018%204.90735%2013.5402C5.01263%2013.4708%205.10395%2013.3794%205.28659%2013.1968L13.4857%204.99772C14.1714%204.31195%2014.1714%203.2001%2013.4857%202.51433C12.7999%201.82856%2011.6881%201.82856%2011.0023%202.51433L2.80321%2010.7134C2.62056%2010.896%202.52924%2010.9874%202.45982%2011.0926C2.39823%2011.186%202.34955%2011.2873%202.31509%2011.3938C2.27625%2011.5138%202.26199%2011.6421%202.23346%2011.8988L2%2014Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","eye-on":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.61342%208.47545C1.52262%208.33169%201.47723%208.25981%201.45182%208.14895C1.43273%208.06567%201.43273%207.93434%201.45182%207.85106C1.47723%207.74019%201.52262%207.66831%201.61341%207.52455C2.36369%206.33656%204.59693%203.33334%208.00027%203.33334C11.4036%203.33334%2013.6369%206.33656%2014.3871%207.52455C14.4779%207.66831%2014.5233%207.74019%2014.5487%207.85106C14.5678%207.93434%2014.5678%208.06567%2014.5487%208.14895C14.5233%208.25981%2014.4779%208.33169%2014.3871%208.47545C13.6369%209.66344%2011.4036%2012.6667%208.00027%2012.6667C4.59693%2012.6667%202.36369%209.66344%201.61342%208.47545Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.00027%2010C9.10484%2010%2010.0003%209.10457%2010.0003%208C10.0003%206.89543%209.10484%206%208.00027%206C6.8957%206%206.00027%206.89543%206.00027%208C6.00027%209.10457%206.8957%2010%208.00027%2010Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","eye-off":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.16196%203.39488C7.4329%203.35482%207.7124%203.33333%208.00028%203.33333C11.4036%203.33333%2013.6369%206.33656%2014.3871%207.52455C14.4779%207.66833%2014.5233%207.74023%2014.5488%207.85112C14.5678%207.93439%2014.5678%208.06578%2014.5487%208.14905C14.5233%208.25993%2014.4776%208.3323%2014.3861%208.47705C14.1862%208.79343%2013.8814%209.23807%2013.4777%209.7203M4.48288%204.47669C3.0415%205.45447%202.06297%206.81292%201.61407%207.52352C1.52286%207.66791%201.47725%207.74011%201.45183%207.85099C1.43273%207.93426%201.43272%208.06563%201.45181%208.14891C1.47722%208.25979%201.52262%208.33168%201.61342%208.47545C2.36369%209.66344%204.59694%2012.6667%208.00028%2012.6667C9.37255%2012.6667%2010.5546%2012.1784%2011.5259%2011.5177M2.00028%202L14.0003%2014M6.58606%206.58579C6.22413%206.94772%206.00028%207.44772%206.00028%208C6.00028%209.10457%206.89571%2010%208.00028%2010C8.55256%2010%209.05256%209.77614%209.41449%209.41421'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",search:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L11.1%2011.1M12.6667%207.33333C12.6667%2010.2789%2010.2789%2012.6667%207.33333%2012.6667C4.38781%2012.6667%202%2010.2789%202%207.33333C2%204.38781%204.38781%202%207.33333%202C10.2789%202%2012.6667%204.38781%2012.6667%207.33333Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","caret-down":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%206L8%2010L12%206H4Z'%20fill='%236B6F76'/%3e%3c/svg%3e",label:"data:image/svg+xml,%3csvg%20width='43'%20height='10'%20viewBox='0%200%2043%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.91%209H5.346L5.236%207.988H3.674L3.564%209H0L2.178%200.53H6.732L8.91%209ZM4.158%203.665L4.037%204.721H4.873L4.752%203.665H4.158ZM16.6389%206.712C16.5215%207.482%2016.1145%208.087%2015.4179%208.527C14.7212%208.95967%2013.8082%209.176%2012.6789%209.176C11.5495%209.176%2010.6365%208.95967%209.93988%208.527C9.25054%208.09433%208.84354%207.49667%208.71888%206.734C8.68954%206.52867%208.66388%206.25367%208.64188%205.909C8.62721%205.557%208.61988%205.17933%208.61988%204.776C8.61988%204.38733%208.62721%204.028%208.64188%203.698C8.66388%203.36067%208.68954%203.09667%208.71888%202.906C8.84354%202.09933%209.25421%201.47233%209.95088%201.025C10.6475%200.577666%2011.5569%200.354%2012.6789%200.354C13.8082%200.354%2014.7212%200.577666%2015.4179%201.025C16.1145%201.465%2016.5215%202.07733%2016.6389%202.862C16.6682%203.05267%2016.6902%203.31667%2016.7049%203.654C16.7269%203.984%2016.7379%204.347%2016.7379%204.743C16.7379%205.161%2016.7269%205.54233%2016.7049%205.887C16.6902%206.23167%2016.6682%206.50667%2016.6389%206.712ZM12.9759%206.206V3.324C12.9759%203.126%2012.8769%203.027%2012.6789%203.027C12.4809%203.027%2012.3819%203.126%2012.3819%203.324V6.206C12.3819%206.404%2012.4809%206.503%2012.6789%206.503C12.8769%206.503%2012.9759%206.404%2012.9759%206.206ZM25.1574%206.712C25.0401%207.482%2024.6331%208.087%2023.9364%208.527C23.2398%208.95967%2022.3268%209.176%2021.1974%209.176C20.0681%209.176%2019.1551%208.95967%2018.4584%208.527C17.7691%208.09433%2017.3621%207.49667%2017.2374%206.734C17.2081%206.52867%2017.1824%206.25367%2017.1604%205.909C17.1458%205.557%2017.1384%205.17933%2017.1384%204.776C17.1384%204.38733%2017.1458%204.028%2017.1604%203.698C17.1824%203.36067%2017.2081%203.09667%2017.2374%202.906C17.3621%202.09933%2017.7728%201.47233%2018.4694%201.025C19.1661%200.577666%2020.0754%200.354%2021.1974%200.354C22.3268%200.354%2023.2398%200.577666%2023.9364%201.025C24.6331%201.465%2025.0401%202.07733%2025.1574%202.862C25.1868%203.05267%2025.2088%203.31667%2025.2234%203.654C25.2454%203.984%2025.2564%204.347%2025.2564%204.743C25.2564%205.161%2025.2454%205.54233%2025.2234%205.887C25.2088%206.23167%2025.1868%206.50667%2025.1574%206.712ZM21.4944%206.206V3.324C21.4944%203.126%2021.3954%203.027%2021.1974%203.027C20.9994%203.027%2020.9004%203.126%2020.9004%203.324V6.206C20.9004%206.404%2020.9994%206.503%2021.1974%206.503C21.3954%206.503%2021.4944%206.404%2021.4944%206.206ZM33.555%200.53V3.797H31.432V9H27.769V3.797H25.635V0.53H33.555ZM38.4495%202.906V0.53H42.0135V9H38.4495V6.272H37.5585V9H33.9945V0.53H37.5585V2.906H38.4495Z'%20fill='%236B6F76'/%3e%3c/svg%3e",close:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.6666%2010.6667L7.99993%208.00001M7.99993%208.00001L5.33325%205.33333M7.99993%208.00001L10.6666%205.33333M7.99993%208.00001L5.33325%2010.6667'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",check:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%208L6.82843%2010.8284L12.4847%205.17155'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",key:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.1111%206.1333C11.1111%205.81483%2010.9896%205.49636%2010.7466%205.25338C10.5037%205.01039%2010.1852%204.88889%209.86669%204.88889M9.86669%209.86667C11.9286%209.86667%2013.6%208.1952%2013.6%206.13333C13.6%204.07147%2011.9286%202.4%209.86669%202.4C7.80483%202.4%206.13336%204.07147%206.13336%206.13333C6.13336%206.30362%206.14476%206.47125%206.16684%206.63549C6.20316%206.90562%206.22131%207.04069%206.20909%207.12615C6.19636%207.21516%206.18015%207.26313%206.13627%207.34163C6.09416%207.41698%206.01993%207.4912%205.87148%207.63965L2.69162%2010.8195C2.584%2010.9271%202.53019%2010.9809%202.49171%2011.0437C2.4576%2011.0994%202.43246%2011.1601%202.41722%2011.2236C2.40002%2011.2952%202.40002%2011.3713%202.40002%2011.5235V12.6044C2.40002%2012.9529%202.40002%2013.1272%202.46784%2013.2603C2.5275%2013.3773%202.62269%2013.4725%202.73976%2013.5322C2.87286%2013.6%203.0471%2013.6%203.39558%2013.6H4.88891V12.3556H6.13336V11.1111H7.3778L8.36037%2010.1285C8.50882%209.98009%208.58305%209.90587%208.6584%209.86375C8.73689%209.81988%208.78486%209.80367%208.87388%209.79093C8.95933%209.77871%209.0944%209.79687%209.36453%209.83319C9.52878%209.85527%209.6964%209.86667%209.86669%209.86667Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",phone:"data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.49998%2011.6666H8.50665M5.96665%2014.6666H11.0333C11.78%2014.6666%2012.1534%2014.6666%2012.4386%2014.5213C12.6895%2014.3934%2012.8935%2014.1895%2013.0213%2013.9386C13.1666%2013.6534%2013.1666%2013.28%2013.1666%2012.5333V3.46659C13.1666%202.71985%2013.1666%202.34648%2013.0213%202.06126C12.8935%201.81038%2012.6895%201.60641%2012.4386%201.47858C12.1534%201.33325%2011.78%201.33325%2011.0333%201.33325H5.96665C5.21991%201.33325%204.84654%201.33325%204.56133%201.47858C4.31044%201.60641%204.10647%201.81038%203.97864%202.06126C3.83331%202.34648%203.83331%202.71985%203.83331%203.46659V12.5333C3.83331%2013.28%203.83331%2013.6534%203.97864%2013.9386C4.10647%2014.1895%204.31044%2014.3934%204.56133%2014.5213C4.84654%2014.6666%205.21991%2014.6666%205.96665%2014.6666ZM8.83331%2011.6666C8.83331%2011.8507%208.68407%2011.9999%208.49998%2011.9999C8.31588%2011.9999%208.16665%2011.8507%208.16665%2011.6666C8.16665%2011.4825%208.31588%2011.3333%208.49998%2011.3333C8.68407%2011.3333%208.83331%2011.4825%208.83331%2011.6666Z'%20stroke='%237F7F7F'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","one-password":"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='6'%20fill='%23F3F5F7'/%3e%3cg%20clip-path='url(%23clip0_2691_4730)'%3e%3cpath%20d='M20.8039%2020.4084V18.2344C20.8039%2017.9893%2021.0026%2017.7906%2021.2477%2017.7906H22.7785C23.0236%2017.7906%2023.2222%2017.9893%2023.2222%2018.2344V22.2139C23.2222%2022.2748%2023.1918%2022.3212%2023.1614%2022.3669L22.7785%2022.7498C22.6864%2022.8419%2022.6864%2022.9797%2022.7785%2023.0558L23.1614%2023.4386C23.1819%2023.4582%2023.198%2023.4821%2023.2086%2023.5085C23.2191%2023.5349%2023.2237%2023.5633%2023.2222%2023.5916V25.7648C23.2222%2025.8825%2023.1755%2025.9954%2023.0923%2026.0786C23.009%2026.1618%2022.8962%2026.2086%2022.7785%2026.2086H21.2477C21.13%2026.2086%2021.0171%2026.1618%2020.9339%2026.0786C20.8507%2025.9954%2020.8039%2025.8825%2020.8039%2025.7648V21.7853C20.8039%2021.7244%2020.8344%2021.678%2020.8648%2021.6323L21.2477%2021.2494C21.3398%2021.1573%2021.3398%2021.0195%2021.2477%2020.9434L20.8648%2020.5606C20.8443%2020.5411%2020.8282%2020.5174%2020.8177%2020.4911C20.8072%2020.4649%2020.8025%2020.4366%2020.8039%2020.4084ZM27.7064%2022C27.7064%2021.2503%2027.5587%2020.5079%2027.2718%2019.8153C26.9849%2019.1227%2026.5644%2018.4933%2026.0343%2017.9632C25.5042%2017.4331%2024.8748%2017.0126%2024.1822%2016.7257C23.4895%2016.4388%2022.7472%2016.2911%2021.9975%2016.2911C21.2478%2016.2911%2020.5054%2016.4388%2019.8128%2016.7257C19.1201%2017.0126%2018.4908%2017.4331%2017.9607%2017.9632C17.4305%2018.4933%2017.01%2019.1227%2016.7231%2019.8153C16.4362%2020.5079%2016.2886%2021.2503%2016.2886%2022C16.2886%2023.5141%2016.89%2024.9662%2017.9607%2026.0368C19.0313%2027.1074%2020.4834%2027.7089%2021.9975%2027.7089C23.5116%2027.7089%2024.9637%2027.1074%2026.0343%2026.0368C27.1049%2024.9662%2027.7064%2023.5141%2027.7064%2022ZM29.5127%2022C29.5127%2026.1477%2026.1452%2029.5%2022.0127%2029.5C17.865%2029.5%2014.5127%2026.1325%2014.5127%2022C14.5127%2017.8523%2017.8802%2014.5%2022.0127%2014.5C26.1452%2014.5%2029.5127%2017.8523%2029.5127%2022Z'%20fill='%237F7F7F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2691_4730'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(14%2014)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e","browser-chrome":"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='6'%20fill='%23F3F5F7'/%3e%3cg%20clip-path='url(%23clip0_2691_4741)'%3e%3cpath%20d='M21.9999%2019.3334C20.5272%2019.3334%2019.3333%2020.5273%2019.3333%2022C19.3333%2023.4728%2020.5272%2024.6667%2021.9999%2024.6667C23.4727%2024.6667%2024.6666%2023.4728%2024.6666%2022C24.6666%2020.5273%2023.4727%2019.3334%2021.9999%2019.3334ZM21.9999%2019.3334H28.1133M16.6333%2018.04L19.6933%2023.3334M21.2533%2028.6267L24.3066%2023.3334M28.6666%2022C28.6666%2025.6819%2025.6818%2028.6667%2021.9999%2028.6667C18.318%2028.6667%2015.3333%2025.6819%2015.3333%2022C15.3333%2018.3181%2018.318%2015.3334%2021.9999%2015.3334C25.6818%2015.3334%2028.6666%2018.3181%2028.6666%2022Z'%20stroke='%237F7F7F'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2691_4741'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(14%2014)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",passkey:"data:image/svg+xml,%3csvg%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='44'%20height='44'%20rx='6'%20fill='%23F3F5F7'/%3e%3cpath%20d='M25.3333%2020C25.3333%2019.6587%2025.2031%2019.3175%2024.9428%2019.0572C24.6825%2018.7968%2024.3412%2018.6667%2024%2018.6667M24%2024C26.2091%2024%2028%2022.2091%2028%2020C28%2017.7909%2026.2091%2016%2024%2016C21.7909%2016%2020%2017.7909%2020%2020C20%2020.1825%2020.0122%2020.3621%2020.0359%2020.538C20.0748%2020.8275%2020.0942%2020.9722%2020.0811%2021.0637C20.0675%2021.1591%2020.0501%2021.2105%2020.0031%2021.2946C19.958%2021.3753%2019.8785%2021.4549%2019.7194%2021.6139L16.3124%2025.0209C16.1971%2025.1362%2016.1395%2025.1939%2016.0982%2025.2611C16.0617%2025.3208%2016.0348%2025.3858%2016.0184%2025.4538C16%2025.5306%2016%2025.6121%2016%2025.7752V26.9333C16%2027.3067%2016%2027.4934%2016.0727%2027.636C16.1366%2027.7614%2016.2386%2027.8634%2016.364%2027.9273C16.5066%2028%2016.6933%2028%2017.0667%2028H18.6667V26.6667H20V25.3333H21.3333L22.3861%2024.2806C22.5451%2024.1215%2022.6247%2024.042%2022.7054%2023.9969C22.7895%2023.9499%2022.8409%2023.9325%2022.9363%2023.9189C23.0278%2023.9058%2023.1725%2023.9252%2023.462%2023.9641C23.6379%2023.9878%2023.8175%2024%2024%2024Z'%20stroke='%237F7F7F'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e","dots-vertical":"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.00004%208.66667C8.36823%208.66667%208.66671%208.36819%208.66671%208C8.66671%207.63181%208.36823%207.33333%208.00004%207.33333C7.63185%207.33333%207.33337%207.63181%207.33337%208C7.33337%208.36819%207.63185%208.66667%208.00004%208.66667Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.00004%204C8.36823%204%208.66671%203.70152%208.66671%203.33333C8.66671%202.96514%208.36823%202.66667%208.00004%202.66667C7.63185%202.66667%207.33337%202.96514%207.33337%203.33333C7.33337%203.70152%207.63185%204%208.00004%204Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.00004%2013.3333C8.36823%2013.3333%208.66671%2013.0349%208.66671%2012.6667C8.66671%2012.2985%208.36823%2012%208.00004%2012C7.63185%2012%207.33337%2012.2985%207.33337%2012.6667C7.33337%2013.0349%207.63185%2013.3333%208.00004%2013.3333Z'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",trash:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%202H10M2%204H14M12.6667%204L12.1991%2011.0129C12.129%2012.065%2012.0939%2012.5911%2011.8667%2012.99C11.6666%2013.3412%2011.3648%2013.6235%2011.0011%2013.7998C10.588%2014%2010.0607%2014%209.00623%2014H6.99377C5.93927%2014%205.41202%2014%204.99889%2013.7998C4.63517%2013.6235%204.33339%2013.3412%204.13332%2012.99C3.90607%2012.5911%203.871%2012.065%203.80086%2011.0129L3.33333%204M6.66667%207V10.3333M9.33333%207V10.3333'%20stroke='%236B6F76'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e"},providers:{google:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.7%208.15554C14.7%207.57997%2014.6533%207.15997%2014.5523%206.72443H7.97998V9.32218H11.8377C11.76%209.96777%2011.34%2010.94%2010.4066%2011.5933L10.3936%2011.6803L12.4716%2013.2901L12.6155%2013.3045C13.9378%2012.0834%2014.7%2010.2867%2014.7%208.15554Z'%20fill='%234285F4'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98022%2015C9.87019%2015%2011.4568%2014.3778%2012.6158%2013.3045L10.4069%2011.5933C9.81576%2012.0055%209.02242%2012.2933%207.98022%2012.2933C6.12911%2012.2933%204.558%2011.0722%203.99793%209.38446L3.91586%209.39143L1.75507%2011.0637L1.72681%2011.1422C2.87791%2013.4289%205.2424%2015%207.98022%2015Z'%20fill='%2334A853'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.9977%209.38448C3.84994%208.94893%203.76439%208.48223%203.76439%208.00002C3.76439%207.51778%203.8499%207.05111%203.98993%206.61557L3.98602%206.52279L1.79819%204.82367L1.72662%204.85773C1.25218%205.80664%200.97998%206.87219%200.97998%207.99998C0.97998%209.12777%201.25223%2010.1933%201.72662%2011.1422L3.99774%209.38443'%20fill='%23FBBC04'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98022%203.70662C9.29466%203.70662%2010.1813%204.27442%2010.6869%204.7489L12.6625%202.82C11.4492%201.69221%209.87019%201%207.98022%201C5.2424%201%202.87795%202.5711%201.72681%204.85776L3.99016%206.6156C4.558%204.92782%206.12911%203.70666%207.98022%203.70666'%20fill='%23EA4335'/%3e%3c/svg%3e",gitlab:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_834)'%3e%3cpath%20d='M7.99957%2015.3683L10.9471%206.30157H5.05627L7.99957%2015.3683Z'%20fill='%23E24329'/%3e%3cpath%20d='M0.92752%206.30157L0.0299048%209.05617C-0.0513217%209.30625%200.0363974%209.58242%200.25079%209.73834L7.99948%2015.3683L0.92752%206.30157Z'%20fill='%23FCA326'/%3e%3cpath%20d='M0.92749%206.30164H5.05611L3.27927%200.841173C3.18833%200.561813%202.792%200.561813%202.69779%200.841173L0.92749%206.30164Z'%20fill='%23E24329'/%3e%3cpath%20d='M15.0757%206.30157L15.9701%209.05617C16.0513%209.30625%2015.9636%209.58242%2015.7492%209.73834L7.99939%2015.3683L15.0757%206.30157Z'%20fill='%23FCA326'/%3e%3cpath%20d='M15.0757%206.30164H10.947L12.7206%200.841173C12.8116%200.561813%2013.2079%200.561813%2013.3021%200.841173L15.0757%206.30164Z'%20fill='%23E24329'/%3e%3cpath%20d='M7.99939%2015.3683L10.947%206.30157H15.0757L7.99939%2015.3683Z'%20fill='%23FC6D26'/%3e%3cpath%20d='M7.9994%2015.3683L0.92749%206.30157H5.05611L7.9994%2015.3683Z'%20fill='%23FC6D26'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2502_834'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",apple:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.6167%204.77308C13.5312%204.83608%2012.0218%205.64397%2012.0218%207.44037C12.0218%209.51818%2013.9425%2010.2533%2014%2010.2715C13.9912%2010.3162%2013.6948%2011.2781%2012.9873%2012.2583C12.3564%2013.1207%2011.6976%2013.9818%2010.6952%2013.9818C9.69291%2013.9818%209.43498%2013.4287%208.27784%2013.4287C7.15021%2013.4287%206.74928%2014%205.83245%2014C4.9156%2014%204.27588%2013.2019%203.54034%2012.2218C2.68836%2011.0709%202%209.28291%202%207.58597C2%204.86409%203.86316%203.42054%205.69684%203.42054C6.67116%203.42054%207.48335%204.02821%208.09508%204.02821C8.67726%204.02821%209.58531%203.38414%2010.6937%203.38414C11.1139%203.38414%2012.6233%203.42054%2013.6167%204.77308ZM10.1676%202.23182C10.6259%201.71517%2010.9503%200.998298%2010.9503%200.281428C10.9503%200.182018%2010.9414%200.0812084%2010.9223%200C10.1764%200.0266027%209.28899%200.471848%208.75398%201.0613C8.33385%201.51495%207.94176%202.23182%207.94176%202.95849C7.94176%203.06771%207.96092%203.17691%207.9698%203.21192C8.01697%203.22032%208.09361%203.23012%208.17025%203.23012C8.83946%203.23012%209.68112%202.80448%2010.1676%202.23182Z'%20fill='black'/%3e%3c/svg%3e",atlassian:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.14981%207.46537C4.94085%207.24181%204.61205%207.2541%204.47223%207.54219L1.03899%2014.4048C1.00767%2014.4674%200.992879%2014.5369%200.996019%2014.6068C0.999159%2014.6768%201.02013%2014.7447%201.05693%2014.8042C1.09373%2014.8637%201.14514%2014.9128%201.20627%2014.9469C1.26741%2014.9809%201.33623%2014.9987%201.4062%2014.9987H6.18693C6.26393%2015.0002%206.33969%2014.9792%206.40492%2014.9382C6.47014%2014.8973%206.52201%2014.8382%206.55414%2014.7682C7.58512%2012.641%206.96054%209.39978%205.14981%207.46537Z'%20fill='url(%23paint0_linear_2502_832)'/%3e%3cpath%20d='M7.66883%201.22039C5.74824%204.2626%205.875%207.63208%207.14029%2010.1611L9.44499%2014.7705C9.47857%2014.8394%209.53076%2014.8975%209.59567%2014.9382C9.66057%2014.979%209.73558%2015.0007%209.81221%2015.001H14.5929C14.6629%2015.001%2014.7317%2014.9832%2014.7929%2014.9492C14.854%2014.9151%2014.9054%2014.866%2014.9422%2014.8065C14.979%2014.747%2015%2014.6791%2015.0031%2014.6092C15.0063%2014.5393%2014.9915%2014.4697%2014.9601%2014.4071C14.9601%2014.4071%208.52849%201.53844%208.37023%201.21808C8.22196%200.929997%207.85474%200.923851%207.66883%201.22039Z'%20fill='%232681FF'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2502_832'%20x1='7.03199'%20y1='8.52553'%20x2='3.40822'%20y2='14.802'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230052CC'/%3e%3cstop%20offset='0.92'%20stop-color='%232684FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",bitbucket:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_831)'%3e%3cpath%20d='M0.519254%200.768994C0.44444%200.768029%200.370321%200.783452%200.302102%200.814182C0.233882%200.84491%200.173216%200.890198%200.124362%200.94687C0.0755086%201.00354%200.0396522%201.07021%200.0193102%201.14222C-0.00103186%201.21422%20-0.00536625%201.28981%200.00661131%201.36366L2.18278%2014.5745C2.2099%2014.7362%202.2931%2014.883%202.41779%2014.9894C2.54249%2015.0959%202.70068%2015.155%202.8646%2015.1563H13.3046C13.4274%2015.1579%2013.5468%2015.1153%2013.6409%2015.0362C13.735%2014.9572%2013.7976%2014.847%2013.8172%2014.7257L15.9934%201.36622C16.0054%201.29237%2016.001%201.21678%2015.9807%201.14478C15.9603%201.07278%2015.9245%201.0061%2015.8756%200.94943C15.8268%200.892766%2015.7661%200.84747%2015.6979%200.816742C15.6297%200.786016%2015.5556%200.770592%2015.4807%200.771557L0.519254%200.768994ZM9.68272%2010.317H6.35057L5.44832%205.60322H10.4902L9.68272%2010.317Z'%20fill='%232684FF'/%3e%3cpath%20d='M15.3013%205.60321H10.4902L9.68272%2010.3169H6.35055L2.41602%2014.9871C2.54072%2015.0949%202.69972%2015.1549%202.86458%2015.1563H13.3071C13.43%2015.1579%2013.5494%2015.1153%2013.6434%2015.0362C13.7375%2014.9572%2013.8001%2014.847%2013.8198%2014.7257L15.3013%205.60321Z'%20fill='url(%23paint0_linear_2502_831)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2502_831'%20x1='16.4138'%20y1='6.92327'%20x2='8.46264'%20y2='13.1288'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.18'%20stop-color='%230052CC'/%3e%3cstop%20offset='1'%20stop-color='%232684FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_2502_831'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",discord:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2502_836)'%3e%3cpath%20d='M13.5535%202.79193C12.5178%202.30734%2011.4104%201.95517%2010.2526%201.75464C10.1104%202.01171%209.94432%202.35748%209.82976%202.63254C8.59904%202.44745%207.37956%202.44745%206.17144%202.63254C6.05693%202.35748%205.88704%202.01171%205.74358%201.75464C4.58454%201.95517%203.47584%202.30864%202.44013%202.79449C0.351095%205.95129%20-0.215207%209.02968%200.0679444%2012.0644C1.4535%2013.099%202.79627%2013.7276%204.11638%2014.139C4.44233%2013.6903%204.73302%2013.2134%204.98345%2012.7109C4.5065%2012.5297%204.04969%2012.306%203.61805%2012.0464C3.73256%2011.9615%203.84457%2011.8729%203.95278%2011.7816C6.58546%2013.013%209.44592%2013.013%2012.0471%2011.7816C12.1566%2011.8729%2012.2686%2011.9615%2012.3819%2012.0464C11.949%2012.3073%2011.491%2012.531%2011.014%2012.7122C11.2644%2013.2134%2011.5538%2013.6916%2011.881%2014.1402C13.2024%2013.7289%2014.5464%2013.1004%2015.932%2012.0644C16.2642%208.5464%2015.3645%205.49628%2013.5535%202.79193ZM5.34212%2010.1981C4.55182%2010.1981%203.9037%209.46024%203.9037%208.56184C3.9037%207.66337%204.53798%206.92429%205.34212%206.92429C6.14628%206.92429%206.79438%207.66207%206.78054%208.56184C6.78178%209.46024%206.14628%2010.1981%205.34212%2010.1981ZM10.6578%2010.1981C9.86752%2010.1981%209.21944%209.46024%209.21944%208.56184C9.21944%207.66337%209.85368%206.92429%2010.6578%206.92429C11.462%206.92429%2012.1101%207.66207%2012.0962%208.56184C12.0962%209.46024%2011.462%2010.1981%2010.6578%2010.1981Z'%20fill='%235865F2'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2502_836'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",dropbox:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.01032%204.15504L4.00518%206.71006L8.01032%209.26513L4.00518%2011.8201L0%209.25129L4.00518%206.69625L0%204.15504L4.00518%201.60001L8.01032%204.15504ZM3.98446%2012.6418L7.98964%2010.0868L11.9948%2012.6418L7.98964%2015.1969L3.98446%2012.6418ZM8.01032%209.25129L12.0155%206.69625L8.01032%204.15504L11.9948%201.60001L16%204.15504L11.9948%206.71006L16%209.26513L11.9948%2011.8201L8.01032%209.25129Z'%20fill='%230061FF'/%3e%3c/svg%3e",facebook:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2015C11.866%2015%2015%2011.866%2015%207.99997C15%204.13401%2011.866%201%208%201C4.134%201%201%204.13401%201%207.99997C1%2011.866%204.134%2015%208%2015Z'%20fill='%231977F3'/%3e%3cpath%20d='M10.6065%2010.1416L10.9172%208.16548H8.97241V6.88336C8.97241%206.34321%209.24363%205.81556%2010.1154%205.81556H11V4.1336C11%204.1336%2010.1973%204%209.43%204C7.82844%204%206.78107%204.94574%206.78107%206.65942V8.16548H5V10.1416H6.78107V14.9174C7.13809%2014.9721%207.50398%2015%207.87671%2015C8.24951%2015%208.6154%2014.9712%208.97241%2014.9174V10.1416H10.6065Z'%20fill='white'/%3e%3c/svg%3e",github:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.97914%201C4.11986%201%201%204.20833%201%208.17748C1%2011.3502%202.999%2014.0359%205.77214%2014.9864C6.11886%2015.0579%206.24586%2014.832%206.24586%2014.642C6.24586%2014.4756%206.23443%2013.9052%206.23443%2013.311C4.293%2013.7388%203.88871%2012.4554%203.88871%2012.4554C3.57671%2011.6235%203.11443%2011.4097%203.11443%2011.4097C2.479%2010.97%203.16071%2010.97%203.16071%2010.97C3.86557%2011.0176%204.23543%2011.7068%204.23543%2011.7068C4.85929%2012.8%205.86457%2012.4911%206.269%2012.3009C6.32671%2011.8375%206.51171%2011.5166%206.70814%2011.3384C5.15971%2011.172%203.53057%2010.5541%203.53057%207.79715C3.53057%207.01285%203.80771%206.37119%204.24686%205.87215C4.17757%205.69394%203.93486%204.95704%204.31629%203.97077C4.31629%203.97077%204.90557%203.7806%206.23429%204.70752C6.80316%204.55041%207.38982%204.47049%207.97914%204.46981C8.56843%204.46981%209.16914%204.55308%209.72386%204.70752C11.0527%203.7806%2011.642%203.97077%2011.642%203.97077C12.0234%204.95704%2011.7806%205.69394%2011.7113%205.87215C12.162%206.37119%2012.4277%207.01285%2012.4277%207.79715C12.4277%2010.5541%2010.7986%2011.1601%209.23857%2011.3384C9.49286%2011.5642%209.71229%2011.9919%209.71229%2012.6693C9.71229%2013.6318%209.70086%2014.4043%209.70086%2014.6418C9.70086%2014.832%209.828%2015.0579%2010.1746%2014.9866C12.9477%2014.0358%2014.9467%2011.3502%2014.9467%208.17748C14.9581%204.20833%2011.8269%201%207.97914%201Z'%20fill='%2324292F'/%3e%3c/svg%3e",hubspot:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.013%205.51301V3.9479C11.4349%203.74999%2011.7057%203.32811%2011.7083%202.86197V2.82551C11.7083%202.15884%2011.1667%201.61978%2010.5026%201.61978H10.4661C9.79948%201.61978%209.26042%202.15884%209.26042%202.82551V2.86197C9.26302%203.32811%209.53385%203.74999%209.95573%203.9479V5.51301C9.35937%205.60415%208.79948%205.85155%208.33073%206.22915L4.03646%202.8828C4.06771%202.77343%204.08333%202.65884%204.08594%202.54426C4.08594%201.79426%203.47917%201.18488%202.72917%201.18488C1.97917%201.18228%201.36979%201.78905%201.36719%202.53905C1.36719%203.29165%201.97396%203.90103%202.72396%203.90103C2.96094%203.90103%203.1901%203.83593%203.39323%203.71874L7.6224%207.0104C6.84635%208.18488%206.86719%209.71353%207.67448%2010.8672L6.38802%2012.1536C6.28646%2012.1198%206.17708%2012.1042%206.06771%2012.1016C5.45313%2012.1016%204.95313%2012.6016%204.95313%2013.2187C4.95313%2013.8333%205.45313%2014.3333%206.06771%2014.3333C6.6849%2014.3333%207.1849%2013.8333%207.1849%2013.2187C7.18229%2013.1094%207.16406%2013%207.13281%2012.8958L8.40365%2011.625C9.54167%2012.5%2011.1016%2012.5755%2012.3177%2011.8125C13.5339%2011.0521%2014.1484%209.61457%2013.8568%208.20832C13.5651%206.80468%2012.4297%205.72915%2011.013%205.51301ZM10.4844%2010.6641C9.84375%2010.6797%209.24479%2010.3489%208.92187%209.79686C8.59635%209.24478%208.59635%208.56249%208.92187%208.0104C9.24479%207.45832%209.84375%207.12759%2010.4844%207.14322C11.4323%207.17707%2012.1823%207.95572%2012.1823%208.90363C12.1849%209.84895%2011.4349%2010.6276%2010.487%2010.6614'%20fill='%23FF7A59'/%3e%3c/svg%3e",linear:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_2502_833'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='1'%20y='1'%20width='14'%20height='14'%3e%3cpath%20d='M15%201H1V15H15V1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2502_833)'%3e%3cpath%20d='M1.17156%209.61322C1.14041%209.48043%201.2986%209.39678%201.39505%209.49324L6.50679%2014.6049C6.60323%2014.7014%206.5196%2014.8596%206.38681%2014.8284C3.80721%2014.2233%201.77669%2012.1928%201.17156%209.61322ZM1.00026%207.56447C0.997795%207.60414%201.01271%207.64286%201.0408%207.67096L8.32907%2014.9592C8.35714%2014.9873%208.39585%2015.0022%208.43554%2014.9997C8.7672%2014.9791%209.09263%2014.9353%209.41029%2014.8701C9.51732%2014.8481%209.55449%2014.7166%209.47721%2014.6394L1.36063%206.52279C1.28337%206.44552%201.15187%206.48271%201.12989%206.58974C1.06466%206.90734%201.02092%207.23279%201.00026%207.56447ZM1.58953%205.15876C1.56622%205.21109%201.57809%205.27224%201.6186%205.31276L10.6872%2014.3814C10.7278%2014.4219%2010.7889%2014.4338%2010.8412%2014.4105C11.0913%2014.2991%2011.3336%2014.1735%2011.5672%2014.0347C11.6445%2013.9888%2011.6565%2013.8826%2011.5929%2013.819L2.18099%204.40714C2.11742%204.34356%202.01121%204.35549%201.96529%204.43279C1.8265%204.66636%201.70091%204.9087%201.58953%205.15876ZM2.77222%203.53036C2.7204%203.47855%202.7172%203.39544%202.76602%203.34079C4.04913%201.9043%205.9156%201%207.99327%201C11.863%201%2015%204.13702%2015%208.00672C15%2010.0844%2014.0957%2011.9509%2012.6592%2013.234C12.6046%2013.2828%2012.5214%2013.2796%2012.4696%2013.2278L2.77222%203.53036Z'%20fill='url(%23paint0_linear_2502_833)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2502_833'%20x1='8'%20y1='1'%20x2='8'%20y2='15'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235C6BF1'/%3e%3cstop%20offset='1'%20stop-color='%23283188'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",linledin:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.9289%2012.9289H10.8545V9.68033C10.8545%208.90563%2010.8407%207.90839%209.77562%207.90839C8.69517%207.90839%208.52983%208.7524%208.52983%209.62391V12.9287H6.45547V6.24817H8.44688V7.16113H8.47481C8.88025%206.46785%209.63695%206.05224%2010.4396%206.08204C12.5421%206.08204%2012.9297%207.46497%2012.9297%209.2641L12.9289%2012.9289ZM4.11485%205.33497C3.45446%205.33497%202.91079%204.79161%202.91079%204.1312C2.91079%203.47081%203.45421%202.92738%204.1146%202.92738C4.77493%202.92738%205.31829%203.47068%205.31841%204.13096C5.31841%204.79123%204.77512%205.33491%204.11485%205.33497ZM5.15203%2012.9289H3.07549V6.24817H5.15203V12.9289ZM13.963%201.00097H2.03305C1.47303%200.994641%201.00683%201.45002%201%202.01004V13.9897C1.00658%2014.55%201.47272%2015.0059%202.03305%2014.9999H13.963C14.5247%2015.007%2014.9925%2014.5511%2015%2013.9897V2.00923C14.9925%201.44802%2014.5241%200.992699%2013.963%201.00009V1.00097Z'%20fill='%230A66C2'/%3e%3c/svg%3e",microsoft:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201H15V15H1V1Z'%20fill='%23F3F3F3'/%3e%3cpath%20d='M2%202H8V8H2V2Z'%20fill='%23F35325'/%3e%3cpath%20d='M8%202H14V8H8V2Z'%20fill='%2381BC06'/%3e%3cpath%20d='M2%208H8V14H2V8Z'%20fill='%2305A6F0'/%3e%3cpath%20d='M8%208H14V14H8V8Z'%20fill='%23FFBA08'/%3e%3c/svg%3e",notion:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.33281%201.60396L10.0795%201.03183C11.031%200.95016%2011.2756%201.00523%2011.8738%201.44016L14.3467%203.18223C14.7546%203.48183%2014.8904%203.5635%2014.8904%203.8897V13.4438C14.8904%2014.0425%2014.6729%2014.3967%2013.9118%2014.4509L4.91582%2014.9955C4.34462%2015.0225%204.07255%2014.9409%203.77341%2014.5596L1.95248%2012.1917C1.62581%2011.7559%201.49048%2011.4297%201.49048%2011.0484V2.55596C1.49048%202.06643%201.70795%201.65809%202.33281%201.60396Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.0795%201.03183L2.33281%201.60396C1.70795%201.65809%201.49048%202.06643%201.49048%202.55596V11.0484C1.49048%2011.4297%201.62581%2011.7559%201.95248%2012.1917L3.77341%2014.5596C4.07255%2014.9409%204.34462%2015.0225%204.91582%2014.9955L13.9118%2014.4509C14.6724%2014.3967%2014.8904%2014.0425%2014.8904%2013.4438V3.8897C14.8904%203.5803%2014.7681%203.49116%2014.4083%203.22703C14.3876%203.21212%2014.3669%203.19718%2014.3462%203.18223L11.8738%201.44016C11.2756%201.00523%2011.031%200.95016%2010.0795%201.03183ZM5.11929%203.73336C4.38475%203.78283%204.21815%203.79403%203.80095%203.45476L2.74021%202.61103C2.63241%202.50183%202.68654%202.36556%202.95814%202.33849L10.4052%201.79436C11.0306%201.73976%2011.3563%201.95769%2011.6008%202.14809L12.8781%203.07349C12.9327%203.10103%2013.0685%203.26389%2012.9052%203.26389L5.21449%203.72683L5.11929%203.73336ZM4.26295%2013.3621V5.25144C4.26295%204.89724%204.37168%204.7339%204.69742%204.70637L13.5305%204.1893C13.8301%204.16223%2013.9654%204.35263%2013.9654%204.70637V12.7629C13.9654%2013.1171%2013.9108%2013.4167%2013.4218%2013.4438L4.96902%2013.9338C4.47995%2013.9609%204.26295%2013.798%204.26295%2013.3621ZM12.607%205.68637C12.6611%205.93137%2012.607%206.17637%2012.362%206.20437L11.9546%206.2851V12.2734C11.6008%2012.4638%2011.2751%2012.5725%2011.003%2012.5725C10.5681%2012.5725%2010.4593%2012.4363%2010.1336%2012.0284L7.46942%207.83677V11.8921L8.31224%2012.083C8.31224%2012.083%208.31224%2012.573%207.63229%2012.573L5.75769%2012.6817C5.70309%2012.5725%205.75769%2012.3005%205.94762%2012.2463L6.43716%2012.1105V6.7485L5.75769%206.69344C5.70309%206.44844%205.83889%206.0947%206.21969%206.06717L8.23104%205.93184L11.003%2010.1776V6.42137L10.2965%206.34017C10.2419%206.0401%2010.4593%205.82217%2010.7309%205.79557L12.607%205.68637Z'%20fill='black'/%3e%3c/svg%3e",slack:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.94137%209.84695C3.94137%2010.6564%203.28013%2011.3176%202.47069%2011.3176C1.66124%2011.3176%201%2010.6564%201%209.84695C1%209.03747%201.66124%208.37625%202.47069%208.37625H3.94137V9.84695Z'%20fill='%23E01E5A'/%3e%3cpath%20d='M4.68237%209.84695C4.68237%209.03747%205.34361%208.37625%206.15306%208.37625C6.9625%208.37625%207.62374%209.03747%207.62374%209.84695V13.5293C7.62374%2014.3388%206.9625%2015%206.15306%2015C5.34361%2015%204.68237%2014.3388%204.68237%2013.5293V9.84695Z'%20fill='%23E01E5A'/%3e%3cpath%20d='M6.15306%203.94137C5.34361%203.94137%204.68237%203.28013%204.68237%202.47069C4.68237%201.66124%205.34361%201%206.15306%201C6.9625%201%207.62374%201.66124%207.62374%202.47069V3.94137H6.15306Z'%20fill='%2336C5F0'/%3e%3cpath%20d='M6.15309%204.68237C6.96254%204.68237%207.62378%205.34361%207.62378%206.15306C7.62378%206.9625%206.96254%207.62374%206.15309%207.62374H2.47069C1.66124%207.62374%201%206.9625%201%206.15306C1%205.34361%201.66124%204.68237%202.47069%204.68237H6.15309Z'%20fill='%2336C5F0'/%3e%3cpath%20d='M12.0585%206.15306C12.0585%205.34361%2012.7197%204.68237%2013.5291%204.68237C14.3386%204.68237%2014.9998%205.34361%2014.9998%206.15306C14.9998%206.9625%2014.3386%207.62374%2013.5291%207.62374H12.0585V6.15306Z'%20fill='%232EB67D'/%3e%3cpath%20d='M11.3176%206.15309C11.3176%206.96254%2010.6563%207.62378%209.84685%207.62378C9.03744%207.62378%208.37622%206.96254%208.37622%206.15309V2.47069C8.37622%201.66124%209.03744%201%209.84685%201C10.6563%201%2011.3176%201.66124%2011.3176%202.47069V6.15309Z'%20fill='%232EB67D'/%3e%3cpath%20d='M9.84685%2012.0586C10.6563%2012.0586%2011.3176%2012.7199%2011.3176%2013.5293C11.3176%2014.3388%2010.6563%2015%209.84685%2015C9.03744%2015%208.37622%2014.3388%208.37622%2013.5293V12.0586H9.84685Z'%20fill='%23ECB22E'/%3e%3cpath%20d='M9.84685%2011.3176C9.03744%2011.3176%208.37622%2010.6564%208.37622%209.84695C8.37622%209.03747%209.03744%208.37625%209.84685%208.37625H13.5293C14.3388%208.37625%2015%209.03747%2015%209.84695C15%2010.6564%2014.3388%2011.3176%2013.5293%2011.3176H9.84685Z'%20fill='%23ECB22E'/%3e%3c/svg%3e",tiktok:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.60974%205.91839V5.33278C6.40646%205.30058%206.20114%205.28293%205.99535%205.27998C4.00296%205.27577%202.23902%206.56688%201.64074%208.46732C1.04245%2010.3678%201.74866%2012.4365%203.38415%2013.5744C2.15905%2012.2633%201.81888%2010.3546%202.51559%208.70096C3.21229%207.0473%204.81576%205.95753%206.60974%205.91839Z'%20fill='%2325F4EE'/%3e%3cpath%20d='M6.72004%2012.552C7.834%2012.5505%208.74966%2011.6729%208.79844%2010.56V0.6288H10.6128C10.5758%200.421288%2010.5581%200.210783%2010.56%200H8.07844V9.9216C8.03716%2011.0402%207.11934%2011.9262%206.00004%2011.928C5.66555%2011.9252%205.33652%2011.8429%205.04004%2011.688C5.42976%2012.2279%206.05416%2012.5491%206.72004%2012.552Z'%20fill='%2325F4EE'/%3e%3cpath%20d='M14.0014%203.9984V3.4464C13.3337%203.44663%2012.6808%203.24959%2012.1246%202.88C12.6122%203.44675%2013.271%203.83934%2014.0014%203.9984Z'%20fill='%2325F4EE'/%3e%3cpath%20d='M12.125%202.87999C11.5772%202.25615%2011.2752%201.45422%2011.2754%200.623993H10.613C10.786%201.55168%2011.3327%202.36746%2012.125%202.87999Z'%20fill='%23FE2C55'/%3e%3cpath%20d='M5.99519%207.7616C5.03925%207.76652%204.20933%208.42142%203.98229%209.34998C3.75525%2010.2786%204.18936%2011.2426%205.03519%2011.688C4.57688%2011.0552%204.51214%2010.219%204.86761%209.5232C5.22308%208.82744%205.9387%208.3898%206.71999%208.3904C6.92831%208.39298%207.13519%208.42532%207.33439%208.4864V5.9616C7.13099%205.93112%206.92567%205.91509%206.71999%205.9136H6.60959V7.8336C6.40937%207.7799%206.20243%207.75566%205.99519%207.7616Z'%20fill='%23FE2C55'/%3e%3cpath%20d='M14.0015%203.99841V5.91841C12.7654%205.91603%2011.5613%205.52475%2010.5599%204.80001V9.84481C10.5546%2012.3621%208.51245%2014.4%205.99511%2014.4C5.06025%2014.4017%204.1479%2014.1132%203.38391%2013.5744C4.6589%2014.9457%206.64315%2015.3971%208.38585%2014.7123C10.1285%2014.0275%2011.2747%2012.346%2011.2751%2010.4736V5.44321C12.2799%206.16321%2013.4854%206.54937%2014.7215%206.54721V4.07521C14.4795%204.07445%2014.2382%204.04871%2014.0015%203.99841Z'%20fill='%23FE2C55'/%3e%3cpath%20d='M10.56%209.8448V4.79999C11.5645%205.52056%2012.7702%205.9068%2014.0064%205.90399V3.98399C13.2761%203.82977%2012.6157%203.4423%2012.1248%202.87999C11.3324%202.36746%2010.7857%201.55168%2010.6128%200.623993H8.7984V10.56C8.7621%2011.4464%208.16834%2012.2126%207.31904%2012.4691C6.46968%2012.7255%205.55115%2012.4159%205.03038%2011.6976C4.18454%2011.2522%203.75043%2010.2882%203.97747%209.35958C4.20452%208.43102%205.03444%207.77612%205.99038%207.7712C6.19878%207.77306%206.40578%207.8054%206.6048%207.8672V5.94719C4.80073%205.97776%203.18515%207.07136%202.48647%208.73486C1.78778%2010.3984%202.13799%2012.3176%203.37918%2013.6272C4.1507%2014.1482%205.06437%2014.4181%205.99518%2014.4C8.5125%2014.4%2010.5547%2012.3621%2010.56%209.8448Z'%20fill='black'/%3e%3c/svg%3e",twitch:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%207.94593L11.75%2010.1081H9.5L7.53124%2012V10.1081H5V2H14V7.94593Z'%20fill='white'/%3e%3cpath%20d='M4.70834%201L2%203.67857V13.3215H5.25V16L7.95833%2013.3215H10.125L15%208.5V1H4.70834ZM13.9166%207.96428L11.75%2010.1072H9.5833L7.6875%2011.9822V10.1072H5.25V2.07143H13.9166V7.96428Z'%20fill='%239146FF'/%3e%3cpath%20d='M12%204H11V7H12V4Z'%20fill='%239146FF'/%3e%3cpath%20d='M9%204H8V7H9V4Z'%20fill='%239146FF'/%3e%3c/svg%3e",twitter:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.14163%206.50461L13.6089%201H12.5503L8.67137%205.77958L5.57328%201H2L6.68492%208.22757L2%2014H3.05866L7.15491%208.9526L10.4267%2014H14L9.14137%206.50461H9.14163ZM7.69165%208.29124L7.21697%207.57154L3.44011%201.84479H5.06615L8.11412%206.46646L8.5888%207.18616L12.5508%2013.1936H10.9248L7.69165%208.29152V8.29124Z'%20fill='black'%20stroke='black'%20stroke-width='0.5'/%3e%3c/svg%3e",xero:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_2502_830'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='1'%20y='1'%20width='14'%20height='14'%3e%3cpath%20d='M15%201H1V15H15V1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2502_830)'%3e%3cpath%20d='M7.99994%2014.9733C11.8512%2014.9733%2014.9732%2011.8513%2014.9732%207.99997C14.9732%204.14873%2011.8512%201.02667%207.99994%201.02667C4.14867%201.02667%201.02661%204.14873%201.02661%207.99997C1.02661%2011.8513%204.14867%2014.9733%207.99994%2014.9733Z'%20fill='%231AB4D7'/%3e%3cpath%20d='M4.36467%207.97988L5.55473%206.78688C5.59418%206.74667%205.61619%206.69343%205.61619%206.63697C5.61619%206.5193%205.52054%206.42374%205.40287%206.42374C5.34555%206.42374%205.29181%206.44621%205.2513%206.48723L4.06231%207.67564L2.86801%206.48544C2.82765%206.44566%202.77418%206.42374%202.71748%206.42374C2.59995%206.42374%202.50427%206.51925%202.50427%206.6368C2.50427%206.69415%202.52716%206.74796%202.56825%206.7885L3.75814%207.97822L2.56887%209.16973C2.52707%209.21089%202.50427%209.26479%202.50427%209.3224C2.50427%209.44007%202.59995%209.53548%202.71748%209.53548C2.77428%209.53548%202.8278%209.51343%202.86801%209.47325L4.06046%208.28241L5.24838%209.46891C5.29051%209.51245%205.34487%209.53562%205.40287%209.53562C5.52042%209.53562%205.61608%209.44007%205.61608%209.3224C5.61608%209.26563%205.59409%209.21229%205.55406%209.17211L4.36467%207.97988Z'%20fill='white'/%3e%3cpath%20d='M11.4393%207.97953C11.4393%208.19316%2011.6131%208.36697%2011.827%208.36697C12.0404%208.36697%2012.2142%208.19316%2012.2142%207.97953C12.2142%207.76582%2012.0404%207.59204%2011.827%207.59204C11.6131%207.59204%2011.4393%207.76582%2011.4393%207.97953Z'%20fill='white'/%3e%3cpath%20d='M10.7045%207.97969C10.7045%207.36096%2011.2078%206.85753%2011.8266%206.85753C12.4451%206.85753%2012.9485%207.36096%2012.9485%207.97969C12.9485%208.59828%2012.4451%209.10151%2011.8266%209.10151C11.2078%209.10151%2010.7045%208.59828%2010.7045%207.97969ZM10.2631%207.97969C10.2631%208.84167%2010.9645%209.543%2011.8266%209.543C12.6887%209.543%2013.3905%208.84167%2013.3905%207.97969C13.3905%207.11757%2012.6887%206.41608%2011.8266%206.41608C10.9645%206.41608%2010.2631%207.11757%2010.2631%207.97969Z'%20fill='white'/%3e%3cpath%20d='M10.152%206.44279L10.0864%206.4426C9.88947%206.4426%209.69956%206.50471%209.54094%206.62696C9.52001%206.5313%209.43447%206.45933%209.33269%206.45933C9.21544%206.45933%209.1215%206.55325%209.12122%206.67071L9.12192%209.3041C9.12227%209.42135%209.21789%209.51662%209.33514%209.51662C9.45246%209.51662%209.54808%209.42135%209.54836%209.30382L9.54843%207.68463C9.54843%207.14496%209.59778%206.927%2010.0601%206.86923C10.1028%206.86392%2010.1494%206.86475%2010.1494%206.86475C10.276%206.86041%2010.3659%206.77348%2010.3659%206.656C10.3659%206.53844%2010.2699%206.44279%2010.152%206.44279Z'%20fill='white'/%3e%3cpath%20d='M6.05791%207.72227C6.05791%207.71643%206.05836%207.71035%206.05864%207.70435C6.18243%207.215%206.62563%206.85287%207.15344%206.85287C7.68764%206.85287%208.13489%207.2239%208.25235%207.72227H6.05791ZM8.689%207.682C8.59709%207.24697%208.35895%206.88964%207.99626%206.66016C7.46613%206.32358%206.76607%206.3422%206.25401%206.70635C5.83632%207.00349%205.59521%207.48958%205.59521%207.9903C5.59521%208.11586%205.61035%208.24256%205.64186%208.3673C5.79957%208.98778%206.33294%209.45741%206.96885%209.53525C7.15754%209.55814%207.34122%209.54715%207.53141%209.49794C7.69485%209.45818%207.85299%209.39189%207.99871%209.29851C8.14993%209.20128%208.27628%209.07304%208.39864%208.9196C8.40116%208.9168%208.40361%208.91428%208.40613%208.91134C8.49104%208.80599%208.47529%208.65619%208.38198%208.58465C8.30323%208.52438%208.17107%208.49988%208.06712%208.63309C8.04472%208.66487%208.0198%208.69763%207.99238%208.73039C7.90969%208.82181%207.80712%208.91029%207.6842%208.97896C7.52779%209.06254%207.34955%209.11028%207.16006%209.11133C6.53986%209.1044%206.20799%208.67152%206.08993%208.36254C6.06932%208.30479%206.05342%208.24494%206.04234%208.18334C6.0409%208.17179%206.03983%208.16066%206.0394%208.15044C6.16763%208.15044%208.26501%208.15009%208.26501%208.15009C8.57014%208.14365%208.73436%207.92828%208.689%207.682Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e"}};return"flags"!==s?e.jsx("img",{className:S("passflow-icon",o,r),src:n[s][t],alt:t}):e.jsx("div",{className:S("passflow-icon",o,r),children:e.jsx("div",{className:S("passflow-flag",t.toLowerCase()),style:{backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZgAAAGACAMAAACnYISRAAADAFBMVEUAAAAxQ5cSO5wAOJP////OESYBAAAANJgAJ33SDzT80Rb/AADKAADzKDgEfj3bFRr/zgDoDi4JhQHuHCYAak0AlEIAaDt1qtv/3wAAN4rdKBAAN6lFjdwBMnwOrS3cIyADh1EAVqVLsdjCKC/44BUBeV0BcsIEm0oEKov84kLVBgcAH6UCrcoAZsPpKjv+yAABAHYAoVtysuEAZQAetTrfIA7VKCQBKGXoAxLiCxcAc89ZgbwdRIoLSqn7+fgCki+kMTYAAJcAAK0Almy/CS/+6AYiSaYAUMPiPShkz//vKi0MHIy1Bwb9mgQiXjn88u8AmQADUpP/xyIxjyyHxuMAot7p6Ob9uAs5XbXUIT352gHFCx4jnkQMsF83lQT2PzNwGT06dMQAjMPhFyf1gQPdG0c1qDQAcijw9fjrhoivGyfFICYAAM0Bf/7hZmk9dir65OWNJCrTrjnwsSwmQILmVgUAoeHUOkn2zM3fOwh9mcj/eQDRyc7+mTL//wAHaajh6vPxsbKpstft8e8EOLhJcLQCmbTW4O0AAP/789j51tgfHRDphSjivAztj5XkcxHd3Nn821q2t7jyvcCUlZPuxwuTy6fsoKTqS00CcGlIZaLQHR7pYCSip6QTOIbozhy0yOSKvHblcn3xVmCOpyKGg4ZDNwXaUmGtWxZeCA8ZnQJYVFSdx+iQpMfIgozTqVK/pRTA4M40UmvVrBECVj0yWpeQi1LEPi/Psqx2iqlqvHywnztjnNl0dnJIk0746Lt+CRNhaWCBfsGo27jGYVfU7N+za2uPVj5taTLcRiOUgRcmqr/H0eVwrafOxBVmVwljcawxBAjmypK6nGYzNDJaRC+aDBrg1b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LScql5Mg93X4PVecevExFNX2L3dPnsDK0anY0NDIhMDv1gN3/fII4/Az3Ef9d8Oo4gNy09wMclSIC4QGlFMdfUsxPi8dp/Xc/Wtn2y+9Wq7N2i3ByNi2NCoFlP07DL97c+WI1icI5J04kEXQ7yvVowvaPd5HigBHrD77EGfLy4x6KAr5JqEynjCi0nhN76UxS0GN/7xxvHx8c+9XtDki6uUYTGhgyiolTIeofkritFRYYVV2KH/L3eOjztLvD47jMqE5n8hvfnTxZSPjIwMas0fgiJuHPGKgdoV9JaMj5eM5/mCcCQbLpdV3yqgJAbYPTrvhB8uszPK1zkn/D4lLjFMENx4PB67HXZgJchgMUJcVoKPmGK0CaYAsVwK7+NPTBCGy/agNwgPO75vKpsYIi4xxWinZMjEPA46CDdxiQHACAb8MAzXS4i4xBSjncSkNv/Eegx9tEbEJaYY7bS/hoaGhobGP8xff9MS7Xw+B5wAAAAASUVORK5CYII=)"}})})},V=({size:s,x:t,y:a})=>{const r={width:s,height:s,left:t,top:a};return e.jsx("span",{className:"passflow-ripple passflow-ripple-effect",style:r})},D=({size:s,variant:t,type:a,onClick:r,withIcon:n=!1,asIcon:i=!1,className:l="",children:c,withRipple:d=!0,...p})=>{const[u,h]=o.useState(),m={"passflow-button passflow-button--big":"big"===s,"passflow-button passflow-button--medium":"medium"===s,"passflow-button passflow-button--small":"small"===s,"passflow-button--primary":"primary"===t,"passflow-button--secondary":"secondary"===t,"passflow-button--outlined":"outlined"===t,"passflow-button--warning":"warning"===t,"passflow-button--clean":"clean"===t,"passflow-button--provider":"provider"===t,"passflow-button--dark":"dark"===t,"passflow-button--with-icon":n,"passflow-button--as-icon":i};return o.useEffect(()=>{let e;return u&&(e=setTimeout(()=>{h(void 0)},1e3)),()=>clearTimeout(e)},[u]),e.jsxs("button",{className:S(m,l),type:a,onClick:s=>{const t=s.currentTarget.getBoundingClientRect(),a=Math.max(t.width,t.height),o=s.clientX-t.left-a/2,n=s.clientY-t.top-a/2,i=e.jsx(V,{size:a,x:o,y:n},Date.now());h(e=>e?[...e,i]:[i]),r?.(s)},...p,children:[c,d&&e.jsx("div",{"aria-hidden":!0,className:"passflow-ripple-container",children:u})]})},G=o.forwardRef(({id:s,isError:t=!1,className:a="",disabled:r=!1,...o},n)=>{const i={"passflow-field--error":t};return e.jsx("input",{ref:n,id:s,type:"text",className:S("passflow-field-input passflow-field--focused",i,a),disabled:r,...o})}),H=e=>{const s={requireNumber:"number",requireSymbol:"symbol",requireLowerCase:"lowercase letter",requireUpperCase:"uppercase letter"},t=Object.keys(e).filter(s=>e[s]);return`Contain a ${new Intl.ListFormat("en").format(t.map(e=>s[e]))}`},B=o.forwardRef(({id:t,value:a,passwordPolicy:r,withMessages:n=!1,validationErrors:i=[],isError:l=!1,className:c="",disabled:d=!1,...p},u)=>{const[h,m]=o.useState(!1),f={"passflow-field--error":l},w=e=>s.size(a)>0&&0===s.size(s.intersection(i,e))?"passflow-password-validation-item--success":null,g=e=>s.size(a)>0&&0===s.size(s.intersection(i,e))?"check":"close",x=()=>m(e=>!e);if(null===r)return null;const{min_password_length:y,require_lowercase:v,require_number:C,require_symbol:j,require_uppercase:b}=r;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"passflow-field-wrapper",children:[e.jsx("input",{ref:u,id:t,value:a,type:h?"text":"password",className:S("passflow-field-input passflow-field--focused passflow-field-input--with-icon",f,c),disabled:d,...p}),h?e.jsx(D,{className:"passflow-button-display-password passflow-field-icon-button",size:"small",type:"button",variant:"clean",asIcon:!0,withIcon:!0,onClick:x,children:e.jsx(_,{size:"small",type:"general",id:"eye-on"})}):e.jsx(D,{className:"passflow-button-display-password passflow-field-icon-button",size:"small",type:"button",variant:"clean",asIcon:!0,withIcon:!0,onClick:x,children:e.jsx(_,{size:"small",type:"general",id:"eye-off"})})]}),n&&e.jsxs("div",{className:"passflow-password-validation",children:[e.jsxs("p",{className:S("passflow-password-validation-item",w(["length"])),children:[e.jsx(_,{size:"small",id:g(["length"]),type:"general",className:S(w(["length"]))}),"At least ",y," characters"]}),e.jsxs("p",{className:S("passflow-password-validation-item",w(["uppercase","lowercase","number","symbol"])),children:[e.jsx(_,{size:"small",id:g(["uppercase","lowercase","number","symbol"]),type:"general",className:S(w(["uppercase","lowercase","number","symbol"]))}),H({requireNumber:C,requireSymbol:j,requireLowerCase:v,requireUpperCase:b})]})]})]})}),Z={appSettings:null,passwordPolicy:null,url:void 0,appId:void 0,scopes:void 0,createTenantForNewUser:void 0,parseQueryParams:!0,isDiscoveringAppId:!1,hasSettingsError:!1},O=o.createContext(void 0),q=(e,s)=>"SET_PASSFLOW_STATE"===s.type?{...e,...s.payload}:e,J={signin:{path:"/signin"},signup:{path:"/signup"},verify_otp:{path:"/verify-challenge-otp"},verify_magic_link:{path:"/verify-challenge-magic-link"},forgot_password:{path:"/forgot-password"},forgot_password_success:{path:"/forgot-password/success"},reset_password:{path:"/password/reset"},invitation:{path:"/invitation"},passkey:{path:"/passkeysss"},two_factor_verify:{path:"/two-factor-verify"},two_factor_recovery:{path:"/two-factor-recovery"},two_factor_setup:{path:"/two-factor-setup"},two_factor_setup_magic_link:{path:"/two-factor-setup-magic-link/:token"},cli_browser:{path:"/cli/browser/:sessionId"},cli_qr:{path:"/cli/auth/:sessionId"}},W=({to:e,search:s,replace:t})=>{const a=s?s.startsWith("?")?s:`?${s}`:"";t?window.location.replace(`${e}${a}`):window.location.href=`${e}${a}`},K=o.createContext({navigate:W,setNavigate:()=>{},router:"default"}),Q=o.createContext(void 0),X=({children:s,onSessionExpired:t})=>{const a=$(),[r,i]=o.useState(!1),[l,c]=o.useState(!1);o.useEffect(()=>{const e={onAuthChange:(e,s)=>{if(e===n.PassflowEvent.SessionExpired){const e=s?.reason??"refresh_failed";c(!0),t?.(e)}else e!==n.PassflowEvent.SignIn&&e!==n.PassflowEvent.Register||c(!1)}};return a.subscribe(e,[n.PassflowEvent.SessionExpired,n.PassflowEvent.SignIn,n.PassflowEvent.Register]),()=>{a.unsubscribe(e)}},[a,t]);const d=o.useCallback(()=>a.isAuthenticated(),[a]),p=o.useCallback(async e=>{i(!0);try{const s=await a.getTokens(e);return{tokens:s,parsedTokens:s?a.getParsedTokens():void 0}}catch(s){return{tokens:void 0,parsedTokens:void 0}}finally{i(!1)}},[a]),u={isAuthenticated:d,logout:o.useCallback(async()=>{await a.logOut()},[a]),isLoading:r,isSessionExpired:l,getTokens:p};return e.jsx(Q.Provider,{value:u,children:s})},$=()=>{const e=o.useContext(O);if(!e)throw new Error("useAuth must be used within an PassflowProvider");const{passflow:s}=e;return s},ee=()=>{const e=$(),[s,t]=o.useState(""),[a,r]=o.useState(!1),[n,i]=o.useState(!1);return{fetch:o.useCallback(async(s,a)=>{i(!0);try{if("password"===a)await e.signIn(s);else{if("passkey"!==a)return await e.passwordlessSignIn(s);await e.passkeyAuthenticate(s)}return!0}catch(o){r(!0);return t(o.message),!1}finally{i(!1)}},[e.passkeyAuthenticate,e.passwordlessSignIn,e.signIn]),isLoading:n,isError:a,error:s,reset:()=>{r(!1),t(""),i(!1)}}},se=e=>e&&M(e)?e:e?`${window.location.origin}${e.startsWith("/")?"":"/"}${e}`:"",te=(e,s)=>{const t=$(),a=o.useContext(O),r={redirect_url:se(e),scopes:a?.state.scopes,create_tenant:s};return{federatedWithPopup:(e,s)=>t.federatedAuthWithPopup({provider:e,invite_token:s,...r}),federatedWithRedirect:(e,s)=>t.federatedAuthWithRedirect({provider:e,invite_token:s,...r})}},ae=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(""),[n,i]=o.useState(!1);return{fetch:o.useCallback(async(s,a)=>{i(!0);const o=()=>i(!1);try{if("password"===a)await e.signUp(s);else{if("passkey"!==a){const t=await e.passwordlessSignIn(s);return o(),t}await e.passkeyRegister(s)}return o(),!0}catch(n){t(!0);return r(n.message),o(),!1}finally{o()}},[e.signUp,e.passkeyRegister,e.passwordlessSignIn]),isLoading:n,isError:s,error:a,reset:()=>{t(!1),r(""),i(!1)}}},re=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(""),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{return i(!0),await e.sendPasswordResetEmail(s),i(!1),!0}catch(a){t(!0);return r(a.message),!1}},[e.sendPasswordResetEmail]),isLoading:n,isError:s,error:a,reset:()=>{t(!1),r(""),i(!1)}}},oe=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(""),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{return i(!0),await e.resetPassword(s),i(!1),!0}catch(a){t(!0);return r(a.message),!1}},[e.resetPassword]),isLoading:n,isError:s,error:a,reset:()=>{t(!1),r(""),i(!1)}}},ne=()=>{const e=$(),t=o.useContext(O),[a,r]=o.useState(!1),[n,i]=o.useState(""),[l,c]=o.useState(!1),d=o.useRef(!1);if(!t)throw new Error("useAppSetting must be used within an PassflowProvider");const{state:p,dispatch:u}=t;o.useLayoutEffect(()=>{if(!p.appSettings&&!p.hasSettingsError&&!d.current){(async()=>{d.current=!0,c(!0);try{if(!e.appId&&!p.isDiscoveringAppId){u({type:"SET_PASSFLOW_STATE",payload:{...p,isDiscoveringAppId:!0}});try{const t=["/settings"];e.url&&t.push(`${e.url}/settings`);let a=null;for(const e of t)try{const s=await fetch(e);if(s.ok){a=s;break}}catch{}if(a?.ok){const t=await a.json(),r=t.login_app?.app_id||t.appId;if(r){e.setAppId(r);const a={appId:r};if(!p.scopes){const e=t.login_app?.scopes||t.scopes;e&&(a.scopes=e)}if(s.isUndefined(p.createTenantForNewUser)){const e=t.login_app?.create_tenant_for_new_user??t.createTenantForNewUser;void 0!==e&&(a.createTenantForNewUser=e)}u({type:"SET_PASSFLOW_STATE",payload:{...p,...a,isDiscoveringAppId:!1}})}else u({type:"SET_PASSFLOW_STATE",payload:{...p,isDiscoveringAppId:!1}})}}catch(a){console.warn("Failed to discover appId from /settings:",a),u({type:"SET_PASSFLOW_STATE",payload:{...p,isDiscoveringAppId:!1}})}}let r={};e.appId&&(r=await e.getAppSettings());const o={appSettings:r};p.scopes||(o.scopes=r.defaults?.scopes),s.isUndefined(p.createTenantForNewUser)&&(o.createTenantForNewUser=r.defaults?.create_tenant_for_new_user);let n=null;r.auth_strategies&&(t=r.auth_strategies,s.some(t,e=>"internal"===e.type&&"password"===e.strategy?.challenge))&&(n=await e.getPasswordPolicySettings()),o.passwordPolicy=n,u({type:"SET_PASSFLOW_STATE",payload:{...p,...o}})}catch(o){r(!0);i(o.message),u({type:"SET_PASSFLOW_STATE",payload:{...p,hasSettingsError:!0}})}finally{c(!1),d.current=!1}var t})()}},[u,p.appSettings,p.hasSettingsError,p.isDiscoveringAppId,e]);const h=(()=>{const e=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return"system"===p.appSettings?.login_app_theme?.color_scheme?e:p.appSettings?.login_app_theme?.color_scheme??e})(),m=p.appSettings?.login_app_theme?"dark"===h?p.appSettings?.login_app_theme.dark_style:p.appSettings?.login_app_theme.light_style:null;return m&&(e=>{const t=document.documentElement;if(t.style.setProperty("--passflow-primary-color",e.primary_color),t.style.setProperty("--passflow-text-color",e.text_color),t.style.setProperty("--passflow-secondary-text-color",e.secondary_text_color),t.style.setProperty("--passflow-background-color",e.background_color),t.style.setProperty("--passflow-background-image",s.isEmpty(e.background_image)?"none":`url(${e.background_image})`),t.style.setProperty("--passflow-card-color",e.card_color),t.style.setProperty("--passflow-input-background-color",e.input_background_color),t.style.setProperty("--passflow-input-border-color",e.input_border_color),t.style.setProperty("--passflow-button-text-color",e.button_text_color),t.style.setProperty("--passflow-passkey-button-text-color",e.passkey_button_text_color),t.style.setProperty("--passflow-passkey-button-background-color",e.passkey_button_background_color),t.style.setProperty("--passflow-divider-color",e.divider_color),t.style.setProperty("--passflow-federated_button_background_color",e.federated_button_background_color),t.style.setProperty("--passflow-federated_button_text_color",e.federated_button_text_color),e.custom_css){const s=document.querySelector(".psfw-custom-styles");s&&(s.innerHTML=e.custom_css)}})(m),{appSettings:p.appSettings,scopes:p.scopes??[],createTenantForNewUser:p.createTenantForNewUser??!1,loginAppTheme:p.appSettings?.login_app_theme,passwordPolicy:p.passwordPolicy,currentStyles:m,currentTheme:h,isLoading:l,isError:a,error:n,reset:()=>{r(!1),i(""),c(!1),u({type:"SET_PASSFLOW_STATE",payload:{...p,hasSettingsError:!1}})}}},ie=()=>{const e=$(),[s,t]=o.useState(""),[a,r]=o.useState(!1),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{i(!0);const t=await e.passwordlessSignInComplete(s);return i(!1),t}catch(a){r(!0);return t(a.message),null}},[e]),isLoading:n,isError:a,error:s,reset:()=>{r(!1),t(""),i(!1)}}},le=()=>{const e=$(),[s,t]=o.useState(""),[a,r]=o.useState(!1),[n,i]=o.useState(!1);return{fetch:o.useCallback(async s=>{try{return i(!0),await e.joinInvitation(s),i(!1),!0}catch(a){r(!0);return t(a.message),!1}},[e.joinInvitation]),isLoading:n,isError:a,error:s}},ce=(e,s)=>{o.useEffect(()=>{const t=t=>{e.current&&!e.current.contains(t.target)&&s&&s()};return document.addEventListener("click",t,!0),()=>{document.removeEventListener("click",t,!0)}},[s,e])},de=e=>{if(!e)return{};const s=i.parse(e.startsWith("?")?e.slice(1):e);return Object.fromEntries(Object.entries(s).map(([e,s])=>[e,String(s)]))},pe=()=>{const{navigate:e,setNavigate:s,router:t}=o.useContext(K),a=o.useCallback(e=>{if(!e)return void s(null);s(s=>{const{to:a,search:r="",replace:o=!1}=s;switch(t){case"react-router":e({pathname:a,search:r.startsWith("?")?r:`?${r}`,replace:o});break;case"tanstack-router":e({to:a,search:de(r),replace:o});break;case"wouter":{const s=r?r.startsWith("?")?r:`?${r}`:"";e({to:`${a}${s}`,replace:o});break}default:{const e=r?r.startsWith("?")?r:`?${r}`:"";o?window.location.replace(`${a}${e}`):window.location.href=`${a}${e}`}}})},[s,t]);return{navigate:e,setNavigate:a,router:t}},ue=()=>{const e=$(),[s,t]=o.useState(null),[a,r]=o.useState([]),[n,i]=o.useState(!1),[l,c]=o.useState(!1),[d,p]=o.useState(""),[u,h]=o.useState("idle");return{setupData:s,recoveryCodes:a,step:u,beginSetup:o.useCallback(async()=>{i(!0),c(!1),p("");try{const s=await e.beginTwoFactorSetup();return t(s),h("setup"),s}catch(s){c(!0);return p(s.message),null}finally{i(!1)}},[e]),confirmSetup:o.useCallback(async s=>{i(!0),c(!1),p("");try{const t=await e.confirmTwoFactorSetup(s);return r(t.recovery_codes),h("complete"),t}catch(t){c(!0);return p(t.message),null}finally{i(!1)}},[e]),reset:o.useCallback(()=>{t(null),r([]),c(!1),p(""),h("idle")},[]),isLoading:n,isError:l,error:d}},he=()=>{const e=$(),[s,t]=o.useState(!1),[a,r]=o.useState(!1),[n,i]=o.useState(""),[l,c]=o.useState(null),[d,p]=o.useState(null),u=o.useCallback(()=>e.isTwoFactorVerificationRequired(),[e]),h=o.useCallback(e=>{const s=e,t=function(e){const s=e.toLowerCase();return A.expired.some(e=>s.includes(e.toLowerCase()))?{type:"expired",message:e,isRecoverable:!0,shouldAutoRedirect:!0}:A.not_enabled.some(e=>s.includes(e.toLowerCase()))?{type:"not_enabled",message:e,isRecoverable:!1,shouldAutoRedirect:!1}:A.invalid_code.some(e=>s.includes(e.toLowerCase()))?{type:"invalid_code",message:e,isRecoverable:!0,shouldAutoRedirect:!1}:{type:"generic",message:e,isRecoverable:!0,shouldAutoRedirect:!1}}(s.message);r(!0),i(s.message),c(t.type),p(t)},[]);return{isVerificationRequired:u,verify:o.useCallback(async s=>{t(!0),r(!1),i(""),c(null),p(null);try{return await e.verifyTwoFactor(s)}catch(a){return h(a),null}finally{t(!1)}},[e,h]),useRecoveryCode:o.useCallback(async s=>{t(!0),r(!1),i(""),c(null),p(null);try{return await e.useTwoFactorRecoveryCode(s)}catch(a){return h(a),null}finally{t(!1)}},[e,h]),reset:o.useCallback(()=>{r(!1),i(""),c(null),p(null)},[]),isLoading:s,isError:a,error:n,errorType:l,errorDetails:d}},me=e=>{const s=$(),[t,a]=o.useState(!0),[r,n]=o.useState(!1),[i,l]=o.useState(!1),[c,d]=o.useState(null),[p,u]=o.useState(null),[h,m]=o.useState(null),[f,w]=o.useState(null),[g,x]=o.useState(null),[y,v]=o.useState(null),[C,j]=o.useState(null),b=o.useRef(!0),M=o.useRef(null),k=o.useCallback(e=>{M.current&&clearInterval(M.current),v(e),M.current=setInterval(()=>{v(e=>null===e||e<=1?(M.current&&(clearInterval(M.current),M.current=null),null):e-1)},1e3)},[]),S=o.useCallback(async(t=!1)=>{if(t||C!==e||!i){t?n(!0):a(!0),d(null);try{const t=s,a=await t.validateTwoFactorSetupMagicLink(e);a.success&&a.sessionToken&&a.userId?(u(a.sessionToken),m(a.userId),w(a.appId??null),x(a.expiresIn??null),l(!0),j(e),v(null),b.current=!1):a.error&&(d(a.error),l(!1),b.current=!0,"RATE_LIMITED"===a.error.code&&a.error.retryAfter&&k(a.error.retryAfter))}catch(r){d({code:"SERVER_ERROR",message:r instanceof Error?r.message:"An unexpected error occurred"}),l(!1),b.current=!0}finally{a(!1),n(!1)}}},[e,C,i,s,k]),E=o.useCallback(async()=>{null!==y&&y>0||(j(null),await S(!0))},[S,y]);return o.useEffect(()=>{if(!e)return d({code:"INVALID_TOKEN",message:"No token provided"}),void a(!1);e!==C&&S()},[e,C,S]),o.useEffect(()=>()=>{if(M.current&&clearInterval(M.current),b.current){const e=s;e.clearMagicLinkSession?.()}},[s]),{isLoading:t,isRetrying:r,isValidated:i,error:c,sessionToken:p,userId:h,appId:f,expiresIn:g,retryCountdown:y,retry:E}},fe=()=>{const e=$(),[s,t]=o.useState(null),[a,r]=o.useState(null),[n,i]=o.useState(!1),[l,c]=o.useState(null),d=o.useCallback(async s=>{i(!0),c(null);try{const a=await e.twoFactor.requestChallenge({first_factor_method:s});t(a),r(a.method)}catch(a){c(a),t(null)}finally{i(!1)}},[e]),p=o.useCallback(async(t,r=!1)=>{if(!s?.challenge_id)return c(new Error("No active challenge session")),null;i(!0),c(null);try{return await e.twoFactor.verifyV2({challenge_id:s.challenge_id,method:a||s.method,response:t,trust_device:r})}catch(o){return c(o),null}finally{i(!1)}},[e,s,a]),u=o.useCallback(async a=>{if(s?.challenge_id){i(!0),c(null);try{const o=await e.twoFactor.switchToAlternative({challenge_id:s.challenge_id,method:a});t(o),r(a)}catch(o){c(o)}finally{i(!1)}}else c(new Error("No active challenge session"))},[e,s]),h=o.useCallback(()=>{t(null),r(null),c(null),i(!1)},[]);return{challenge:s,isLoading:n,error:l,requestChallenge:d,verify:p,switchMethod:u,selectedMethod:a,reset:h}};const we=e=>{const[s,t]=o.useState("loading"),[a,r]=o.useState(null),[n,i]=o.useState(null),[l,c]=o.useState(null),d=window.location.origin,p=o.useCallback(async()=>{try{const s=await fetch(`${d}/cli/auth/status/${e}`);if(!s.ok)throw new Error(`Failed to fetch CLI auth status: ${s.statusText}`);const a=await s.json();switch(i(a.expires_at||null),a.status){case"pending":t("pending"),c(a.challenge||null);break;case"completed":t("completed");break;case"expired":t("expired"),r("This authentication session has expired. Please start a new one from your terminal.");break;case"failed":t("error"),r(a.error||"Authentication failed")}}catch(s){t("error"),r(s instanceof Error?s.message:"Failed to load authentication status")}},[e,d]),u=o.useCallback(async()=>{if(l){t("authenticating"),r(null);try{const{startAuthentication:s}=await import("@simplewebauthn/browser"),a=l.publicKey||l,r=await s({optionsJSON:a}),o=await fetch(`${d}/auth/passkey/authenticate/complete`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!o.ok)throw new Error(`Passkey authentication failed: ${o.statusText}`);const n=await o.json();if(!n.access_token||!n.refresh_token)throw new Error("Invalid authentication response: missing tokens");const i={session_id:e,access_token:n.access_token,refresh_token:n.refresh_token,user_id:n.user_id,expires_in:n.expires_in},c=await fetch(`${d}/cli/auth/complete`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!c.ok)throw new Error(`CLI authentication completion failed: ${c.statusText}`);t("completed")}catch(s){t("error"),s instanceof Error?"NotAllowedError"===s.name?r("Authentication was cancelled or not allowed"):r(s.message):r("Authentication failed")}}else r("No challenge available for authentication")},[l,e,d]);return o.useEffect(()=>{p()},[p]),{authenticate:u,state:s,error:a,expiresAt:n}},ge=({id:t,onChange:a,isError:r=!1,className:n=""})=>{const[i,d]=o.useState(!1),[p,u]=o.useState(""),[h,m]=o.useState(!1),f=o.useRef(null);ce(f,()=>{d(!1),u("")});const w=Intl.DateTimeFormat().resolvedOptions().timeZone,g=l.getCountryForTimezone(w),{inputValue:x,country:y,setCountry:v,handlePhoneValueChange:C,inputRef:j}=c.usePhoneInput({defaultCountry:g?.id.toLocaleLowerCase()||"us"}),b=o.useMemo(()=>c.defaultCountries.filter(e=>{const{name:s}=c.parseCountry(e);return s.toLowerCase().includes(p.toLowerCase())}),[p]),M=o.useMemo(()=>c.defaultCountries.filter(e=>{const{iso2:t}=c.parseCountry(e);return s.eq(t,g?.id.toLocaleLowerCase())})??null,[g?.id]),k=e=>{v(e),u(""),d(!1)};return e.jsxs("div",{ref:f,className:S("passflow-field-phone-wrapper",{"passflow-field-phone-wrapper--focus":h,"passflow-field-phone-wrapper--error":r},n),children:[i?e.jsxs("div",{className:S("passflow-field-country-search-wrapper"),children:[e.jsx("input",{value:p,onChange:e=>u(e.target.value),className:S("passflow-field-country-search"),onFocus:()=>m(!0),onBlur:()=>m(!1),placeholder:"Search for a country"}),e.jsx("div",{className:"passflow-field-country-search-icon",children:e.jsx(_,{type:"general",id:"search",size:"small"})})]}):e.jsxs(e.Fragment,{children:[e.jsxs(D,{type:"button",variant:"clean",onClick:()=>d(!0),size:"big",className:S("passflow-button-show-country"),children:[e.jsx(c.FlagImage,{iso2:y.iso2,className:"passflow-flag",style:{width:"21px"}}),e.jsx(_,{type:"general",id:"caret-down",size:"small"})]}),e.jsx("input",{id:t,ref:j,value:x,onChange:e=>{C(e),a(e)},onFocus:()=>m(!0),onBlur:()=>m(!1),className:S("passflow-field-phone-input")})]}),e.jsx("ul",{className:S("passflow-country-search-wrapper",{"passflow-country-search-wrapper--show":i,"passflow-country-search-wrapper--hidden":!i}),children:s.size(b)>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"passflow-country-search-sticky-top"}),0===s.size(p)&&e.jsxs(e.Fragment,{children:[M.map(s=>{const{name:t,dialCode:a,iso2:r}=c.parseCountry(s);return e.jsxs("li",{title:t,onClick:()=>k(r),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),k(r))},className:"passflow-country-search-item",children:[e.jsx(c.FlagImage,{iso2:r,className:"passflow-country-search-flag"}),e.jsx("span",{className:"passflow-country-search-name",children:t}),e.jsxs("span",{className:"passflow-country-search-code",children:["+",a]})]},r)}),e.jsx("p",{className:"passflow-country-search-divider",children:"All contries"})]}),b.map(s=>{const{name:t,dialCode:a,iso2:r}=c.parseCountry(s);return e.jsxs("li",{title:t,onClick:()=>k(r),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),k(r))},className:"passflow-country-search-item",children:[e.jsx(c.FlagImage,{iso2:r,className:"passflow-country-search-flag"}),e.jsx("span",{className:"passflow-country-search-name",children:t}),e.jsxs("span",{className:"passflow-country-search-code",children:["+",a]})]},r)}),e.jsx("div",{className:"passflow-country-search-sticky-bottom"})]}):e.jsx("span",{className:"passflow-country-search-no-matches",children:"No matches"})})]})},xe=({providers:s,onClick:t,className:a=""})=>{const r={"passflow-providers-box--grid":s.length>1};return e.jsx("div",{className:S("passflow-providers-box",r,a),children:s.map(a=>e.jsxs(D,{onClick:()=>t(a),size:"big",variant:"provider",type:"button",withIcon:!0,className:"passflow-provider-item",children:[e.jsx(_,{size:"small",type:"providers",id:a}),s.length<=2&&e.jsx("p",{className:"passflow-provider-text",children:a})]},a))})},ye=({to:s,search:t,replace:a=!1,children:r,className:o,onClick:n,...i})=>{const{navigate:l}=pe();return e.jsx("a",{href:(()=>{const e=t?t.startsWith("?")?t:`?${t}`:"";return`${s}${e}`})(),onClick:e=>{e.preventDefault(),n&&n(e),l({to:s,search:t,replace:a})},className:o,...i,children:r})},ve=({label:s,checked:t,onChange:a})=>e.jsxs("label",{className:"passflow-switch-wrapper",htmlFor:"switch",children:[e.jsx("span",{className:"passflow-switch-label",children:s}),e.jsx("input",{id:"switch",type:"checkbox",className:"passflow-switch-input",checked:t,onChange:a}),e.jsx("div",{className:"passflow-switch-track"})]}),Ce=v.Root,je=v.Trigger,be=v.Anchor,Me=o.forwardRef(({className:s,align:t="center",sideOffset:a=4,...r},o)=>e.jsx(v.Portal,{children:e.jsx(v.Content,{ref:o,align:t,sideOffset:a,className:S("passflow-popover-content",s),...r})}));Me.displayName=v.Content.displayName;const ke=C.Root,Se=C.Trigger,Ee=C.Portal,Ne=C.Close,Ie=o.forwardRef(({className:s,...t},a)=>e.jsx(C.Overlay,{ref:a,className:S("passflow-dialog-overlay",s),...t}));Ie.displayName=C.Overlay.displayName;const Le=o.forwardRef(({className:s,children:t,...a},r)=>e.jsxs(Ee,{children:[e.jsx(Ie,{}),e.jsx(C.Content,{ref:r,className:S("passflow-dialog-content",s),...a,children:t})]}));Le.displayName=C.Content.displayName;const Fe=({className:s,...t})=>e.jsx("div",{className:S("passflow-dialog-header",s),...t});Fe.displayName="DialogHeader";const Pe=({className:s,...t})=>e.jsx("div",{className:S("passflow-dialog-footer",s),...t});Pe.displayName="DialogFooter";const Ae=o.forwardRef(({className:s,...t},a)=>e.jsx(C.Title,{ref:a,className:S("passflow-dialog-title",s),...t}));Ae.displayName=C.Title.displayName;const Te=o.forwardRef(({className:s,...t},a)=>e.jsx(C.Description,{ref:a,className:S("passflow-dialog-description",s),...t}));Te.displayName=C.Description.displayName;const Re=({iconId:s="logo",title:t="",subtitle:a="",className:r="",children:o,customCss:n,customLogo:i,removeBranding:l=!1})=>e.jsxs(h.HelmetProvider,{children:[e.jsx(h.Helmet,{children:e.jsx("style",{type:"text/css",children:n})}),e.jsxs("div",{id:"passflow-wrapper",className:"passflow-wrapper",children:[e.jsxs("div",{className:S("passflow-form-main-wrapper",r),children:[e.jsxs("div",{className:"passflow-form-main-container",children:[i?e.jsx("img",{src:i,alt:"custom logo",className:"passflow-form-main-container-logo"}):e.jsx(_,{id:s,size:"large",type:"general"}),t&&e.jsxs("div",{className:"passflow-form-header",children:[e.jsx("h2",{className:"passflow-form-title",children:t}),a&&e.jsx("span",{className:"passflow-form-subtitle",children:a})]})]}),o]}),!l&&e.jsx("div",{className:"passflow-branding",children:e.jsxs("p",{className:"passflow-branding-text",children:["Secured by ",e.jsx("span",{className:"passflow-branding-text-secondary passflow-secondary-font",children:"PASSFLOW"})]})})]})]}),ze=({onComplete:s,onCancel:t,numInputs:a})=>{const[r,n]=o.useState(""),[i,l]=o.useState(!1),{setupData:c,recoveryCodes:d,step:p,beginSetup:h,confirmSetup:m,reset:f,isLoading:w,isError:g,error:x}=ue(),y=a??6,v=e=>{n(e)},C=async e=>{e.preventDefault(),await m(r)},j=()=>{navigator.clipboard.writeText(d.join("\n"))},b=()=>{s?.(d),f()};return"idle"===p?e.jsx(Re,{title:"Enable Two-Factor Authentication",subtitle:"Add an extra layer of security to your account",className:"passflow-2fa-setup",children:e.jsxs("div",{className:"passflow-2fa-setup-start",children:[e.jsx(D,{size:"big",type:"button",variant:"primary",onClick:()=>h(),disabled:w,children:w?"Loading...":"Get Started"}),t&&e.jsx("button",{type:"button",className:"passflow-link-button",onClick:t,children:"Cancel"}),g&&e.jsxs("div",{className:"passflow-field-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-field-error-text",children:x})]})]})}):"setup"===p&&c?e.jsx(Re,{title:"Scan QR Code",subtitle:"Scan this code with your authenticator app (Google Authenticator, Authy, etc.)",className:"passflow-2fa-setup",children:e.jsxs("form",{onSubmit:C,className:"passflow-2fa-setup-qr",children:[e.jsx("div",{className:"passflow-2fa-qr-container",children:e.jsx("img",{src:`data:image/png;base64,${c.qr_code}`,alt:"2FA QR Code",className:"passflow-2fa-qr-image"})}),e.jsxs("div",{className:"passflow-2fa-secret-toggle",children:[e.jsx("button",{type:"button",className:"passflow-link-button",onClick:()=>l(!i),children:i?"Hide manual code":"Can't scan? Enter code manually"}),i&&e.jsx("code",{className:"passflow-2fa-secret-code",children:c.secret})]}),e.jsxs("div",{className:"passflow-2fa-confirm-section",children:[e.jsxs("p",{className:"passflow-2fa-confirm-label",children:["Enter the ",y,"-digit code from your app to confirm:"]}),e.jsxs("div",{id:"otp-wrapper",className:"passflow-verify-otp-wrapper",children:[e.jsx(u,{value:r,onChange:v,numInputs:y,shouldAutoFocus:!0,skipDefaultStyles:!0,containerStyle:"passflow-verify-otp-inputs",inputStyle:S("passflow-field-otp passflow-field-otp--focused",g&&"passflow-field-otp--error"),inputType:"text",renderInput:s=>e.jsx("input",{...s})}),g&&e.jsxs("div",{className:"passflow-verify-otp-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-verify-otp-error-text",children:x})]})]})]}),e.jsx(D,{size:"big",type:"submit",variant:"primary",disabled:r.length!==y||w,children:w?"Confirming...":"Confirm & Enable"})]})}):"complete"===p&&d.length>0?e.jsx(Re,{title:"Save Your Recovery Codes",subtitle:"Store these codes in a safe place. You'll need them if you lose access to your authenticator.",className:"passflow-2fa-setup",children:e.jsxs("div",{className:"passflow-2fa-setup-complete",children:[e.jsxs("div",{className:"passflow-2fa-warning",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{children:"These codes will only be shown once. Make sure to save them!"})]}),e.jsx("div",{className:"passflow-2fa-recovery-codes",children:d.map(s=>e.jsx("code",{className:"passflow-2fa-recovery-code",children:s},s))}),e.jsx(D,{size:"big",type:"button",variant:"secondary",onClick:j,children:"Copy to Clipboard"}),e.jsx(D,{size:"big",type:"button",variant:"primary",onClick:b,children:"I've Saved These Codes"})]})}):null},Ye=({twoFactorVerifyPath:s=J.two_factor_verify.path,signInPath:t=J.signin.path})=>{const[a,r]=o.useState(!1),{navigate:n}=pe(),i=$();o.useEffect(()=>{i.isTwoFactorVerificationRequired()||(U.canRedirect()?(U.incrementRedirect(),n({to:t}),r(!0)):r(!1))},[i,n,t]);return a||!i.isTwoFactorVerificationRequired()&&U.canRedirect()?null:e.jsx(ze,{onComplete:()=>{n({to:s})},onCancel:()=>{U.reset(),n({to:t})}})},Ue={totp:"Authenticator App",email_otp:"Email Code",sms_otp:"SMS Code",passkey:"Passkey",recovery_codes:"Recovery Code",push_fcm:"Push Notification (FCM)",push_webpush:"Push Notification (Web)"},_e={totp:"📱",email_otp:"✉️",sms_otp:"💬",passkey:"🔑",recovery_codes:"🔒",push_fcm:"🔔",push_webpush:"🔔"},Ve=({availableMethods:s,currentMethod:t,onSelectMethod:a,isOpen:r,onClose:o})=>e.jsx(C.Root,{open:r,onOpenChange:e=>!e&&o(),children:e.jsxs(C.Portal,{children:[e.jsx(C.Overlay,{className:"pf-dialog-overlay"}),e.jsxs(C.Content,{className:"pf-dialog-content pf-method-selector-dialog",children:[e.jsx(C.Title,{className:"pf-dialog-title",children:"Choose Verification Method"}),e.jsx(C.Description,{className:"pf-dialog-description",children:"Select an alternative method to verify your identity"}),e.jsx("div",{className:"pf-method-selector-list",children:s.map(s=>e.jsxs("button",{type:"button",className:"pf-method-selector-item "+(s===t?"pf-method-selector-item-active":""),onClick:()=>(e=>{a(e),o()})(s),disabled:s===t,children:[e.jsx("span",{className:"pf-method-icon",children:_e[s]||"🔐"}),e.jsx("span",{className:"pf-method-label",children:Ue[s]||s}),s===t&&e.jsx("span",{className:"pf-method-current-badge",children:"Current"})]},s))}),e.jsx(C.Close,{asChild:!0,children:e.jsx("button",{type:"button",className:"pf-dialog-close","aria-label":"Close",children:"×"})})]})]})}),De=({value:s,onChange:t,numInputs:a=6,error:r,disabled:n=!1,autoFocus:i=!0})=>{const l=o.useRef(null);return o.useEffect(()=>{if(i&&l.current){const e=l.current.querySelector("input");e&&e.focus()}},[i]),e.jsxs("div",{ref:l,className:"pf-otp-input-container",children:[e.jsx(u,{value:s,onChange:t,numInputs:a,renderSeparator:e.jsx("span",{className:"pf-otp-separator"}),renderInput:s=>e.jsx("input",{...s,className:`pf-otp-input ${r?"pf-otp-input-error":""} ${n?"pf-otp-input-disabled":""}`,disabled:n}),inputType:"tel",shouldAutoFocus:i}),r&&e.jsx("div",{className:"pf-otp-error",children:r})]})},Ge=({firstFactorMethod:s,onSuccess:t,onError:a,trustDevice:r=!1})=>{const{challenge:n,isLoading:i,error:l,requestChallenge:c,verify:d,switchMethod:p,selectedMethod:u}=fe(),[h,m]=o.useState(""),[f,w]=o.useState(!1);o.useEffect(()=>{c(s)},[c,s]),o.useEffect(()=>{l&&a&&a(l)},[l,a]);const g=async()=>{if(!h)return;await d(h,r)&&t?.()},x=e=>{m(e),6===e.length&&setTimeout(()=>{d(e,r).then(e=>{e&&t?.()})},100)};if(!n)return e.jsx("div",{className:"pf-two-factor-challenge pf-loading",children:e.jsx("p",{children:"Loading challenge..."})});const y=u||n.method,v=[n.method,...n.alternative_methods||[]];return e.jsxs("div",{className:"pf-two-factor-challenge",children:[e.jsxs("div",{className:"pf-challenge-method-info",children:[e.jsx("h3",{children:"Two-Factor Authentication"}),e.jsx("p",{children:"Enter the verification code"})]}),(()=>{switch(y){case"totp":case"email_otp":case"sms_otp":return e.jsxs("div",{className:"pf-challenge-input-wrapper",children:[e.jsx(De,{value:h,onChange:x,numInputs:6,error:l?.message,disabled:i,autoFocus:!0}),"email_otp"===y&&n.code_sent_to&&e.jsxs("p",{className:"pf-challenge-hint",children:["Code sent to ",n.code_sent_to]}),"sms_otp"===y&&n.code_sent_to&&e.jsxs("p",{className:"pf-challenge-hint",children:["Code sent to ",n.code_sent_to]}),e.jsx("button",{type:"button",onClick:g,disabled:i||6!==h.length,className:"pf-button pf-button-primary",children:i?"Verifying...":"Verify"})]});case"passkey":return e.jsx("div",{className:"pf-challenge-input-wrapper",children:e.jsx("button",{type:"button",onClick:g,disabled:i,className:"pf-button pf-button-primary",children:i?"Verifying...":"Use Passkey"})});case"recovery_codes":return e.jsxs("div",{className:"pf-challenge-input-wrapper",children:[e.jsx("input",{type:"text",value:h,onChange:e=>m(e.target.value),placeholder:"Enter recovery code",disabled:i,className:"pf-input"}),e.jsx("button",{type:"button",onClick:g,disabled:i||!h,className:"pf-button pf-button-primary",children:i?"Verifying...":"Verify"})]});default:return e.jsxs("p",{children:["Unsupported method: ",y]})}})(),v.length>1&&e.jsx("button",{type:"button",onClick:()=>w(!0),className:"pf-button pf-button-secondary pf-button-switch-method",children:"Use different method"}),e.jsx(Ve,{availableMethods:v,currentMethod:y,onSelectMethod:async e=>{m(""),await p(e)},isOpen:f,onClose:()=>w(!1)})]})},He=({onSuccess:s,onUseRecovery:t,title:a="Two-Factor Authentication",subtitle:r,numInputs:n,shouldAutoFocus:i=!0,signInPath:l,twoFactorSetupPath:c})=>{const[d,p]=o.useState(""),{verify:h,isLoading:m,isError:f,errorDetails:w,reset:g}=he(),x=n??6,y=r??`Enter the ${x}-digit code from your authenticator app`,v=()=>{U.reset(),window.location.href=l||"/signin"},C=()=>{window.location.href=c||"/two-factor-setup"},j=!U.canRedirect(),b=m||"not_enabled"===w?.type||"expired"===w?.type||j;return e.jsx(Re,{title:a,subtitle:y,className:"passflow-2fa-verify",children:e.jsxs("form",{onSubmit:async e=>{e.preventDefault();await h(d)&&s?.()},className:"passflow-form",children:[e.jsxs("div",{className:"passflow-form-container",children:[e.jsx("div",{className:"passflow-verify-otp-wrapper",children:e.jsx(u,{value:d,onChange:async e=>{if((e=>{g(),p(e)})(e),e.length===x){await h(e)&&s?.()}},numInputs:x,shouldAutoFocus:i&&!b,skipDefaultStyles:!0,containerStyle:"passflow-verify-otp-inputs",inputStyle:S("passflow-field-otp passflow-field-otp--focused",f&&"passflow-field-otp--error",b&&"passflow-field-otp--disabled"),inputType:"text",renderInput:s=>e.jsx("input",{...s,disabled:b})})}),f&&w?j?e.jsxs("div",{className:"passflow-form-error passflow-form-error--critical",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:U.getLoopDetectedMessage()}),l&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:v,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]}):"not_enabled"===w.type?e.jsxs("div",{className:"passflow-form-error passflow-form-error--persistent",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:"You need to set up two-factor authentication first."}),e.jsxs("div",{className:"passflow-form-error-actions",children:[c&&e.jsx(D,{type:"button",size:"medium",variant:"primary",onClick:C,className:"passflow-button-setup-2fa",children:"Set Up 2FA"}),l&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:v,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]})]}):"expired"===w.type?e.jsxs("div",{className:"passflow-form-info",children:[e.jsx(_,{size:"small",id:"info",type:"general",className:"icon-info"}),e.jsx("span",{className:"passflow-form-info-text",children:T(w)})]}):e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:T(w)})]}):null]}),!b&&e.jsx(D,{size:"big",type:"submit",variant:"primary",disabled:d.length!==x||m,className:"passflow-button-signin",children:m?"Verifying...":"Verify"}),t&&!b&&e.jsx("div",{className:"passflow-form-actions",children:e.jsxs("p",{className:"passflow-dont-have-account",children:["Lost your device?"," ",e.jsx("button",{type:"button",onClick:t,className:"passflow-link",style:{background:"none",border:"none",cursor:"pointer"},children:"Use recovery code"})]})})]})})},Be=({onSuccess:s,onBack:t,title:a="Use Recovery Code",subtitle:r="Enter one of your recovery codes",signInPath:n})=>{const[i,l]=o.useState(""),{useRecoveryCode:c,isLoading:d,isError:p,errorDetails:u,reset:h}=he(),m=()=>{U.reset(),window.location.href=n||"/signin"},f=!U.canRedirect(),w=d||"not_enabled"===u?.type||"expired"===u?.type||f;return e.jsx(Re,{title:a,subtitle:r,className:"passflow-2fa-recovery",children:e.jsxs("form",{onSubmit:async e=>{e.preventDefault();await c(i)&&s?.()},className:"passflow-form",children:[e.jsx("div",{className:"passflow-form-container",children:e.jsxs("div",{className:"passflow-form-field",children:[e.jsx("label",{htmlFor:"recovery-code",className:S("passflow-field-label",p&&"passflow-field-label--error"),children:"Recovery Code"}),e.jsx("input",{id:"recovery-code",type:"text",value:i,onChange:e=>{h(),l(e.target.value.toUpperCase().replace(/\s/g,""))},placeholder:"XXXX-XXXX",className:S("passflow-field passflow-field--text passflow-field--focused",p&&"passflow-field--error",w&&"passflow-field--disabled"),autoComplete:"off",disabled:w}),p&&u?f?e.jsxs("div",{className:"passflow-form-error passflow-form-error--critical",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:U.getLoopDetectedMessage()}),n&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:m,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]}):"not_enabled"===u.type?e.jsxs("div",{className:"passflow-form-error passflow-form-error--persistent",children:[e.jsx(_,{size:"medium",id:"warning",type:"general",className:"icon-warning"}),e.jsxs("div",{className:"passflow-form-error-content",children:[e.jsx("span",{className:"passflow-form-error-text",children:T(u)}),n&&e.jsx(D,{type:"button",size:"medium",variant:"secondary",onClick:m,className:"passflow-button-back-to-signin",children:"Back to Sign In"})]})]}):"expired"===u.type?e.jsxs("div",{className:"passflow-form-info",children:[e.jsx(_,{size:"small",id:"info",type:"general",className:"icon-info"}),e.jsx("span",{className:"passflow-form-info-text",children:T(u)})]}):e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:T(u)})]}):null]})}),!w&&e.jsx(D,{size:"big",type:"submit",variant:"primary",disabled:i.length<8||d,className:"passflow-button-signin",children:d?"Verifying...":"Verify"}),t&&!w&&e.jsx("div",{className:"passflow-form-actions",children:e.jsxs("p",{className:"passflow-dont-have-account",children:["Have your device?"," ",e.jsx("button",{type:"button",onClick:t,className:"passflow-link",style:{background:"none",border:"none",cursor:"pointer"},children:"Use authenticator code"})]})})]})})},Ze=({successAuthRedirect:s,signInPath:t=J.signin.path,twoFactorSetupPath:a=J.two_factor_setup?.path,useV2Flow:r=!1})=>{const[n,i]=o.useState("verify"),[l,c]=o.useState(!1),{navigate:d}=pe(),p=$(),{errorType:u}=he();o.useEffect(()=>{p.isTwoFactorVerificationRequired()||(U.canRedirect()?(U.incrementRedirect(),d({to:t}),c(!0)):c(!1))},[p,d,t]),o.useEffect(()=>{"expired"===u?U.canRedirect()&&(U.incrementRedirect(),U.setLastErrorType("expired"),setTimeout(()=>{d({to:t})},1500)):"not_enabled"===u&&U.setLastErrorType("not_enabled")},[u,d,t]);const h=async()=>{U.reset(),s&&(M(s)?window.location.href=await k(p,s):d({to:s}))};return l||!p.isTwoFactorVerificationRequired()&&U.canRedirect()?null:r?e.jsx(Ge,{onSuccess:h}):e.jsx(e.Fragment,{children:"verify"===n?e.jsx(He,{onSuccess:h,onUseRecovery:()=>{i("recovery")},signInPath:t,twoFactorSetupPath:a}):e.jsx(Be,{onSuccess:h,onBack:()=>{i("verify")},signInPath:t})})},Oe=({error:s="Something went wrong",goBackRedirectTo:t})=>{const{navigate:a}=pe(),{currentStyles:r,loginAppTheme:o}=ne();return e.jsx(Re,{iconId:"logo-red",className:"passflow-error-wrapper",customCss:r?.custom_css,customLogo:r?.logo_url,removeBranding:o?.remove_passflow_logo,children:e.jsxs("div",{className:"passflow-error-container",children:[e.jsxs("div",{className:"passflow-error-container-text-wrapper",children:[s&&e.jsx("p",{className:"passflow-error-container-text",children:s}),e.jsx("p",{className:"passflow-error-container-text-secondary",children:"Please go back or try again later"})]}),e.jsx(D,{size:"big",type:"button",variant:"primary",onClick:()=>{M(t)?window.location.href=t:a({to:t})},className:"passflow-button-go-back-error",children:"Go back"})]})})},qe=["verify-challenge-otp","password/reset","two-factor-verify","two-factor-recovery"],Je=(s,t)=>a=>{const r=o.useContext(O),{successAuthRedirect:n}=a,{pathname:i}=window.location;if(qe.some(e=>i.includes(e)))return e.jsx(m.ErrorBoundary,{FallbackComponent:({error:s})=>e.jsx(t,{goBackRedirectTo:n??"/",error:s.message}),children:e.jsx(s,{...a})});if(r?.state.isDiscoveringAppId)return null;if(!r?.state.appId){const s="Missing appId";return e.jsx(t,{goBackRedirectTo:n??"/",error:s})}return e.jsx(m.ErrorBoundary,{FallbackComponent:({error:s})=>e.jsx(t,{goBackRedirectTo:n??"/",error:s.message}),children:e.jsx(s,{...a})})},We={password:"",email_or_username:"",phone:""},Ke=({successAuthRedirect:t,relyingPartyId:a=window.location.hostname,signUpPath:r=J.signup.path,verifyOTPPath:n=J.verify_otp.path,verifyMagicLinkPath:l=J.verify_magic_link.path,forgotPasswordPath:c=J.forgot_password.path,twoFactorVerifyPath:d=J.two_factor_verify.path})=>{const{getValues:p,control:u,trigger:h,register:m,formState:{errors:g,isDirty:x,isValid:y},clearErrors:v,reset:C}=w.useForm({defaultValues:We}),b=$(),{navigate:E}=pe(),{appSettings:A,scopes:T,createTenantForNewUser:R,passwordPolicy:z,currentStyles:Y,isError:U,error:V,loginAppTheme:H}=ne(),{federatedWithRedirect:Z}=te(t,R);if(U)throw new Error(V);const O=o.useMemo(()=>N(A?.auth_strategies),[A]),{error:q,message:W}=P();if(q&&W)throw new Error(W);const{get:K}=F({invite_token:""}),Q=K("invite_token"),{fetch:X,isError:se,error:ae,reset:re,isLoading:oe}=ee(),[ie,le]=o.useState(A?.force_passwordless_login&&O.passkey||!1),[ce,de]=o.useState(()=>O.hasEmailMethods||O.hasUsernameMethods?"email_or_username":O.hasPhoneMethods?"phone":null);o.useEffect(()=>{le(A?.force_passwordless_login&&O.passkey||!1),O.hasSignInEmailMethods||O.hasSignInUsernameMethods?de("email_or_username"):O.hasSignInPhoneMethods?de("phone"):de(null)},[A?.force_passwordless_login,O]);const ue=()=>{C(),v(),re()},he=e=>{de(e),ue()},me=s.eq(ce,"phone")&&O.internal.phone.password||s.eq(ce,"email_or_username")&&(O.internal.email.password||O.internal.username.password),fe=s.eq(ce,"phone")&&(O.internal.phone.otp||O.internal.phone.magicLink)||s.eq(ce,"email_or_username")&&(O.internal.email.otp||O.internal.email.magicLink),we=O.passkey,Ce=async(e,a)=>{s.eq(a,"password")&&await(async e=>{const a={...e,...!s.isEmpty(Q)&&{invite_token:Q}};if(await X(a,"password")){if(b.isTwoFactorVerificationRequired())return void E({to:d??J.two_factor_verify.path});const e=t??A?.defaults.redirect??"";M(e)?window.location.href=await k(b,e):E({to:e})}})(e),s.eq(a,"passkey")&&await(async e=>{const a={...e,...!s.isEmpty(Q)&&{invite_token:Q}};if(await X(a,"passkey")){if(b.isTwoFactorVerificationRequired())return void E({to:d??J.two_factor_verify.path});const e=t??A?.defaults.redirect??"";M(e)?window.location.href=await k(b,e):E({to:e})}})(e),s.eq(a,"passwordless")&&await(async e=>{const a=L(O,ce)?.challengeType,r={...e,challenge_type:L(O,ce)?.challengeType,create_tenant:R,redirect_url:t??A?.defaults.redirect,...!s.isEmpty(Q)&&{invite_token:Q}},o=await X(r,"passwordless"),c=new URLSearchParams(window.location.search),d={...r,...o,type:"passwordless",challenge_type:a,create_tenant:R},p=i.stringify({...Object.fromEntries(c.entries()),...d});s.eq(a,"otp")&&o&&E({to:n??J.verify_otp.path,search:p}),s.eq(a,"magic_link")&&o&&E({to:l??J.verify_magic_link.path,search:p})})(e)},je=async()=>{let e=!1;if(s.eq(ce,"phone")&&(e=await h(["phone"])),s.eq(ce,"email_or_username")&&(e=await h(["email_or_username"])),e){const e=p(),s=e.email_or_username.match(j),t=f.phone(e.phone),a=t.isValid,r={...s&&{email:e.email_or_username},...a&&{phone:t.phoneNumber},scopes:T};await Ce(r,"passwordless")}},be=async()=>{const e={relying_party_id:a,scopes:T};await Ce(e,"passkey")};return e.jsxs(Re,{title:"Sign In to your account",subtitle:"To Passflow by Madappgang",className:"passflow-signin-wrapper",customCss:Y?.custom_css,customLogo:Y?.logo_url,removeBranding:H?.remove_passflow_logo,children:[we&&(fe||me)&&e.jsx("div",{className:"passflow-form-switch",children:e.jsx(ve,{label:"Passwordless experience",checked:ie,onChange:e=>{const{checked:s}=e.target;le(s),ue()}})}),e.jsxs("form",{onSubmit:e=>{e.preventDefault(),ie||(me&&(async()=>{const e=p(),t=e.email_or_username.match(j),a=!t&&s.size(e.email_or_username)>0,r=f.phone(e.phone),o=r.isValid,n={...t&&{email:e.email_or_username},...a&&{username:e.email_or_username},...o&&{phone:r.phoneNumber},scopes:T,password:e.password};await Ce(n,"password")})(),!me&&fe&&je())},className:"passflow-form",children:[!ie&&ce?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"passflow-form-container",children:[s.eq(ce,"email_or_username")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"identity",className:S("passflow-field-label",{"passflow-field-label--error":se||s.has(g,"email_or_username")}),children:I(O,"label")}),O.hasSignInPhoneMethods&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("phone"),children:"Use phone"})]}),e.jsx(w.Controller,{name:"email_or_username",control:u,rules:{required:"Email is required"},render:({field:t})=>e.jsx(G,{...t,...m("email_or_username"),isError:se||s.has(g,"email_or_username"),id:"email_or_username",type:"text",name:"email_or_username"})}),s.has(g,"email_or_username")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g.email_or_username?.message})]})]}),s.eq(ce,"phone")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"phone",className:S("passflow-field-label",{"passflow-field-label--error":se||s.has(g,"phone")}),children:"Phone number"}),(O.hasSignInEmailMethods||O.hasSignInUsernameMethods)&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("email_or_username"),children:I(O,"button")})]}),e.jsx(w.Controller,{name:"phone",control:u,rules:{required:"Phone number is required",validate:e=>!!f.phone(e).isValid||"Invalid phone number"},render:({field:t})=>e.jsx(ge,{...m("phone"),ref:null,onChange:e=>t.onChange(e),id:"phone",name:"phone",isError:se||s.has(g,"phone")})}),s.has(g,"phone")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g.phone?.message})]})]}),me?e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"password",className:S("passflow-field-label",{"passflow-field-label--error":se||s.has(g,"password")}),children:"Password"}),e.jsx(ye,{to:c??J.forgot_password.path,search:i.stringify({...i.parse(window.location.search),default_method:ce}),className:"passflow-field-label-button",children:"Forgot Password?"})]}),e.jsx(w.Controller,{name:"password",control:u,rules:{required:"Password is required"},render:({field:t})=>e.jsx(B,{...t,...m("password"),isError:se||s.has(g,"password"),passwordPolicy:z,id:"password",name:"password"})}),s.has(g,"password")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g.password?.message})]})]}):null,se&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:ae})]})]}),me?e.jsx(D,{size:"big",variant:"primary",type:"submit",disabled:!x||!y||oe,className:"passflow-button-signin",children:"Sign In"}):null,fe&&e.jsxs(D,{size:"big",variant:me?"outlined":"primary",type:me?"button":"submit",className:S("passflow-button-passwordless",{"passflow-button-passwordless--active":me}),style:me?{marginTop:"-16px"}:{},onClick:()=>me?je():null,disabled:(()=>{const e=p();return 0===s.size(e[ce])})(),children:["Sign In with ",L(O,ce)?.label]}),we?e.jsxs(D,{size:"big",variant:"dark",type:"button",className:S("passflow-button-passkey"),style:me||fe?{marginTop:"-16px"}:{},withIcon:!0,onClick:be,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign In with a Passkey"]}):null]}):null,ie&&we?e.jsxs(e.Fragment,{children:[se&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:ae})]}),e.jsxs(D,{size:"big",variant:"dark",type:"button",className:"passflow-button-passkey",withIcon:!0,onClick:be,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign In with a Passkey"]})]}):null,e.jsx("div",{className:S("passflow-form-actions",{"passflow-form-actions--top-space":me||we}),children:e.jsxs("p",{className:"passflow-dont-have-account",children:["Don't have an account?"," ",e.jsx(ye,{to:r??J.signup.path,search:window.location.search,className:"passflow-link",children:"Sign Up"})]})}),s.size(O.fim.providers)>0&&e.jsxs("div",{className:"passflow-form-providers",children:[me||fe||we?e.jsxs("div",{className:"passflow-form-divider",children:[e.jsx("div",{className:"passflow-form-divider__line-left"}),e.jsx("span",{className:"passflow-form-divider__text",children:"Or continue with"}),e.jsx("div",{className:"passflow-form-divider__line-right"})]}):null,e.jsx(xe,{providers:O.fim.providers,onClick:e=>Z(e,Q??void 0)})]})]})]})},Qe=Je(Ke,Oe),Xe={passkeyEmail:"",passkeyPhone:"",passkeyUsername:"",email_or_username:"",phone:"",password:""},$e=({successAuthRedirect:t,relyingPartyId:a=window.location.hostname,signInPath:r=J.signin.path,verifyOTPPath:n=J.verify_otp.path,verifyMagicLinkPath:l=J.verify_magic_link.path})=>{const{getValues:c,control:d,trigger:p,register:u,formState:{errors:h,isDirty:m,isValid:g},clearErrors:x,reset:y,setError:v}=w.useForm({defaultValues:Xe}),C=$(),{navigate:E}=pe(),{appSettings:A,scopes:T,createTenantForNewUser:R,passwordPolicy:z,currentStyles:Y,isError:U,error:V,loginAppTheme:H}=ne();if(U)throw new Error(V);const{federatedWithRedirect:Z}=te(t,R),O=o.useMemo(()=>N(A?.auth_strategies),[A]),{error:q,message:W}=P();if(q&&W)throw new Error(W);const{get:K}=F({invite_token:""}),Q=K("invite_token"),{fetch:X,isError:ee,error:se,reset:re,isLoading:oe}=ae(),[ie,le]=o.useState(A?.force_passwordless_login&&O.passkey||!1),[ce,de]=o.useState(()=>O.hasEmailMethods||O.hasUsernameMethods?"email_or_username":O.hasPhoneMethods?"phone":null);o.useEffect(()=>{le(A?.force_passwordless_login&&O.passkey||!1),O.hasSignInEmailMethods||O.hasSignInUsernameMethods?de("email_or_username"):O.hasSignInPhoneMethods?de("phone"):de(null)},[A?.force_passwordless_login,O]);const ue=()=>{y(),x(),re()},he=e=>{de(e),ue()},me=s.eq(ce,"phone")&&O.internal.phone.password||s.eq(ce,"email_or_username")&&(O.internal.email.password||O.internal.username.password),fe=s.eq(ce,"phone")&&(O.internal.phone.otp||O.internal.phone.magicLink)||s.eq(ce,"email_or_username")&&(O.internal.email.otp||O.internal.email.magicLink),we=O.passkey,Ce=async(e,a)=>{s.eq(a,"password")&&await(async e=>{const a={user:e,create_tenant:R,...!s.isEmpty(Q)&&{invite_token:Q}};if(await X(a,"password")){const e=t??A?.defaults.redirect??"";M(e)?window.location.href=await k(C,e):E({to:e})}})(e),s.eq(a,"passwordless")&&await(async e=>{const a=L(O,ce)?.challengeType,r={...e,challenge_type:a,create_tenant:R,redirect_url:t??A?.defaults.redirect,...!s.isEmpty(Q)&&{invite_token:Q}},o=await X(r,"passwordless"),c=new URLSearchParams(window.location.search),d={...r,...o,type:"passwordless",challenge_type:a,create_tenant:R},p=i.stringify({...Object.fromEntries(c.entries()),...d});s.eq(a,"otp")&&o&&E({to:n??J.verify_otp.path,search:p}),s.eq(a,"magic_link")&&o&&E({to:l??J.verify_magic_link.path,search:p})})(e)},je=async()=>{let e=!1;if(s.eq(ce,"phone")&&(e=await p(["phone"])),s.eq(ce,"email_or_username")&&(e=await p(["email_or_username"])),e){const e=c(),s=e.email_or_username.match(j),t=f.phone(e.phone),a=t.isValid,r={...s&&{email:e.email_or_username},...a&&{phone:t.phoneNumber},scopes:T};await Ce(r,"passwordless")}},be=async()=>(async()=>{const e=t??A?.defaults.redirect??"",r={relying_party_id:a,create_tenant:R,redirect_url:e,...!s.isEmpty(Q)&&{invite_token:Q},scopes:T};await X(r,"passkey")&&(M(e)?window.location.href=await k(C,e):E({to:e}))})(),Me=async()=>{const e=c(),t=e.email_or_username.match(j),a=!t&&s.size(e.email_or_username)>0,r=f.phone(e.phone),o=r.isValid,n={...t&&{email:e.email_or_username},...a&&{username:e.email_or_username},...o&&{phone_number:r.phoneNumber},password:e.password,scopes:T};await Ce(n,"password")};return e.jsxs(Re,{title:"Create account to sign up",subtitle:"For Passflow by Madappgang",className:"passflow-signup-wrapper",customCss:Y?.custom_css,customLogo:Y?.logo_url,removeBranding:H?.remove_passflow_logo,children:[we&&(fe||me)&&e.jsx("div",{className:"passflow-form-switch",children:e.jsx(ve,{label:"Passwordless experience",checked:ie,onChange:e=>{const{checked:s}=e.target;le(s),ue()}})}),e.jsxs("form",{onSubmit:e=>{e.preventDefault(),ie||(me&&Me(),!me&&fe&&je()),ie&&we&&be()},className:"passflow-form passflow-signup-form",children:[!ie&&ce?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"passflow-form-container",children:[s.eq(ce,"email_or_username")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"identity",className:S("passflow-field-label",{"passflow-field-label--error":ee||s.has(h,"email_or_username")}),children:I(O,"label")}),O.hasPhoneMethods&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("phone"),children:"Use phone"})]}),e.jsx(w.Controller,{name:"email_or_username",control:d,rules:{required:(ke=O,ke.hasSignInEmailMethods&&ke.hasSignInUsernameMethods?"Email or username is required":ke.hasSignInEmailMethods?"Email is required":ke.hasSignInUsernameMethods?"Username is required":"Field is required"),...O.hasEmailMethods&&!O.hasUsernameMethods?{pattern:{value:j,message:"Invalid email"}}:void 0},render:({field:t})=>e.jsx(G,{...t,...u("email_or_username"),isError:ee||s.has(h,"email_or_username"),id:"email_or_username",type:"text",name:"email_or_username"})}),s.has(h,"email_or_username")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:h.email_or_username?.message})]})]}),s.eq(ce,"phone")&&e.jsxs("div",{className:"passflow-form-field",children:[e.jsxs("div",{className:"passflow-form-field__header",children:[e.jsx("label",{htmlFor:"phone",className:S("passflow-field-label",{"passflow-field-label--error":ee||s.has(h,"phone")}),children:"Phone number"}),(O.hasEmailMethods||O.hasUsernameMethods)&&e.jsx(D,{size:"small",variant:"clean",type:"button",className:"passflow-field-label-button",onClick:()=>he("email_or_username"),children:I(O,"button")})]}),e.jsx(w.Controller,{name:"phone",control:d,rules:{required:"Phone number is required",validate:e=>!!f.phone(e).isValid||"Invalid phone number"},render:({field:t})=>e.jsx(ge,{...t,...u("phone"),onChange:e=>t.onChange(e),id:"phone",name:"phone",isError:ee||s.has(h,"phone"),ref:null})}),s.has(h,"phone")&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:h.phone?.message})]})]}),me?e.jsxs("div",{className:"passflow-form-field",children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"password",className:S("passflow-field-label",{"passflow-field-label--error":ee}),children:"Password"})}),e.jsx(w.Controller,{name:"password",control:d,rules:{required:"Password is required",validate:e=>{try{return b(z).validateSync(e),x("password"),!0}catch(s){const e=s;return v("password",{type:"manual",message:e.errors.join(", ")}),e.errors.join(", ")}}},render:({field:t})=>e.jsx(B,{...t,...u("password"),isError:ee,passwordPolicy:z,validationErrors:s.has(h,"password")&&h.password?.message?h.password.message.split(", "):void 0,id:"password",name:"password",withMessages:!0,onChange:e=>{t.onChange(e),(async()=>{await p(["password"])})()}})})]}):null,ee&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:se})]})]}),me?e.jsx(D,{size:"big",variant:"primary",type:"submit",onClick:Me,disabled:!m||!g||oe,className:"passflow-button-signup",children:"Sign Up"}):null,fe&&e.jsxs(D,{size:"big",variant:me?"outlined":"primary",type:me?"button":"submit",className:S("passflow-button-passwordless",{"passflow-button-passwordless--active":me}),style:me?{marginTop:"-16px"}:{},onClick:()=>me?je():null,disabled:(()=>{const e=c();return 0===s.size(e[ce])})(),children:["Sign Up with ",L(O,ce)?.label]}),we?e.jsxs(D,{size:"big",variant:"dark",type:"button",className:S("passflow-button-passkey"),style:me||fe?{marginTop:"-16px"}:{},withIcon:!0,onClick:be,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign Up with a Passkey"]}):null]}):null,ie&&we?e.jsxs(e.Fragment,{children:[e.jsxs(D,{size:"big",variant:"dark",type:"submit",className:"passflow-button-passkey",withIcon:!0,children:[e.jsx(_,{id:"key",size:"small",type:"general",className:"icon-white passflow-button-passkey-icon"}),"Sign Up with a Passkey"]}),ee&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:se})]})]}):null,e.jsx("div",{className:S("passflow-form-actions",{"passflow-form-actions--top-space":me||we}),children:e.jsxs("p",{className:"passflow-have-account",children:["Already have an account?"," ",e.jsx(ye,{to:r??J.signin.path,search:window.location.search,className:"passflow-link",children:"Sign In"})]})}),s.size(O.fim.providers)>0&&e.jsxs("div",{className:"passflow-form-providers",children:[me||fe||we?e.jsxs("div",{className:"passflow-form-divider",children:[e.jsx("div",{className:"passflow-form-divider__line-left"}),e.jsx("span",{className:"passflow-form-divider__text",children:"Or continue with"}),e.jsx("div",{className:"passflow-form-divider__line-right"})]}):null,e.jsx(xe,{providers:O.fim.providers,onClick:e=>Z(e,Q??void 0)})]})]})]});var ke},es=Je($e,Oe),ss={email:"email address",phone:"phone number"},ts=()=>{const{currentStyles:t,loginAppTheme:a}=ne(),{fetch:r}=ee(),{get:o}=F({identity:"",identity_value:"",challenge_type:"",type:"",redirect_url:""}),n=o("email")?"email":o("phone")?"phone":void 0,i=o("email")?o("email"):o("phone")?o("phone"):void 0,l=o("challenge_type"),c=o("type"),d=o("redirect_url");return e.jsx(Re,{title:"Check your email",className:"passflow-verify-challenge-magic-link-wrapper",customCss:t?.custom_css,customLogo:t?.logo_url,removeBranding:a?.remove_passflow_logo,children:e.jsxs("div",{className:"passflow-verify-challenge-magic-link-container",children:[e.jsxs("p",{className:"passflow-verify-challenge-magic-link-text",children:["We sent a link to ",ss[n]," ",i&&e.jsx("strong",{className:"passflow-verify-challenge-magic-link-text--strong",children:i}),". Click on the link to confirm your registration."]}),"passwordless"===c&&e.jsx(D,{size:"big",variant:"secondary",type:"button",className:"passflow-button-resend-magic-link",onClick:async()=>{const e={...s.eq(n,"email")?{email:i}:void 0,...s.eq(n,"phone")?{phone:i}:void 0,challenge_type:l,redirect_url:d};await r(e,c)},children:"Resend email"})]})})},as=({totalSecond:s,onClick:t,className:a="",...r})=>{const[n,i]=o.useState(s);o.useEffect(()=>{const e=setInterval(()=>{n>0&&i(e=>e-1)},1e3);return()=>{clearInterval(e)}},[n]);return e.jsxs(D,{disabled:n>0,size:"small",variant:"clean",type:"button",className:S("passflow-button-timer",{"passflow-button-timer--active":n>0,"passflow-button-timer--inactive":0===n},a),onClick:()=>{t(),i(s)},...r,children:["Resend ",n>0?`(${n})`:""]})},rs=()=>{const{currentStyles:s,loginAppTheme:t}=ne();return e.jsx(Re,{iconId:"logo",className:"passflow-verify-challenge-success-wrapper",customCss:s?.custom_css,customLogo:s?.logo_url,removeBranding:t?.remove_passflow_logo,children:e.jsx("div",{className:"passflow-verify-challenge-success-wrapper",children:e.jsxs("div",{className:"passflow-verify-challenge-success-container",children:[e.jsx("p",{className:"passflow-verify-challenge-success-text",children:"Successful verification!"}),e.jsx("p",{className:"passflow-verify-challenge-success-text-secondary",children:"But there is no redirect URL for further redirect."})]})})})},os={email:"email address",phone:"phone number"},ns=({identity:s,identityValue:t,challengeType:a,challengeId:r,type:n,numInputs:i,shouldAutoFocus:l,successAuthRedirect:c,signUpPath:d})=>{const p=$(),{appSettings:h,createTenantForNewUser:m,currentStyles:f,loginAppTheme:w}=ne(),{navigate:g}=pe(),{fetch:x}=ee(),{fetch:y,isError:v,error:C}=ie(),[j,b]=o.useState(""),[E,N]=o.useState(null),[I,L]=o.useState(!1),{set:P}=F();if(o.useEffect(()=>{if(j.length===i&&r){const e={challenge_id:r,challenge_type:"otp",otp:j};(async()=>{const s=await y(e);s&&(s.redirect_url?M(s.redirect_url)?window.location.href=await k(p,s.redirect_url):g({to:s.redirect_url}):L(!0))})()}},[j,i,y,r,g,p]),E)throw new Error(E);if(I)return e.jsx(rs,{});return e.jsxs(Re,{title:`Verify your ${s}`,subtitle:`We sent OTP code to your ${os[s]}`,className:"passflow-verify-otp",customCss:f?.custom_css,customLogo:f?.logo_url,removeBranding:w?.remove_passflow_logo,children:[e.jsxs("div",{className:"passflow-verify-otp-container",children:[t&&e.jsxs(D,{size:"big",type:"button",variant:"outlined",className:"passflow-verify-otp-button",withIcon:!0,onClick:()=>g({to:d}),children:[e.jsx(_,{id:"email"===s?"mail":"phone",type:"general",size:"small"}),t,e.jsx(_,{id:"edit",type:"general",size:"small",className:"passflow-verify-otp-button-icon"})]}),e.jsxs("div",{id:"otp-wrapper",className:"passflow-verify-otp-wrapper",children:[e.jsx(u,{value:j,onChange:e=>b(e),numInputs:i,shouldAutoFocus:l,skipDefaultStyles:!0,containerStyle:"passflow-verify-otp-inputs",inputStyle:S("passflow-field-otp passflow-field-otp--focused",v&&"passflow-field-otp--error"),inputType:"text",renderInput:s=>e.jsx("input",{...s})}),v&&e.jsxs("div",{className:"passflow-verify-otp-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-verify-otp-error-text",children:C})]})]})]}),"passwordless"===n&&e.jsxs("p",{className:"passflow-verify-otp-resend",children:["Don't receive a code?",e.jsx(as,{totalSecond:30,onClick:()=>{(async()=>{if(n&&s&&t&&a){const e={create_tenant:m,challenge_type:a,redirect_url:c??h?.defaults.redirect??"",..."email"===s?{email:t}:{phone:t}},r=await x(e,n);r?P({challenge_id:r.challenge_id}):N("Something went wrong. Please try again later.")}})()}})]})]})},is=({otp:s,challengeId:t,appId:a})=>{const r=$(),{navigate:n}=pe(),[i,l]=o.useState(null),[c,d]=o.useState(!1),{fetch:p,isError:u,error:h,isLoading:m}=ie();if(o.useEffect(()=>{(async()=>{if(a)if(s)if(t){if(!m){const e=await p({otp:s,challenge_id:t});e?e.redirect_url?M(e.redirect_url)?window.location.href=await k(r,e.redirect_url):n({to:e.redirect_url}):d(!0):l("Something went wrong. Please try again later.")}}else l("Missing required param: challenge_id");else l("Missing required param: otp");else l("Missing required param: app_id")})()},[]),u&&h)throw new Error(h);if(i)throw new Error(i);return c?e.jsx(rs,{}):null},ls=x.object().shape({appId:x.string().required(),challengeId:x.string().required(),otp:x.string().optional()}),cs=x.object().shape({challengeId:x.string().required(),identity:x.string().oneOf(["email","phone"]).required(),identityValue:x.string().required(),challengeType:x.string().required(),type:x.string().oneOf(["passwordless","passkey"]).optional()}),ds=({successAuthRedirect:s,numInputs:t,shouldAutoFocus:a,signUpPath:r})=>{const{get:o}=F({otp:"",app_id:"",challenge_id:"",identity:"",identity_value:"",challenge_type:"",type:""}),n=o("type");if("passwordless"!==n&&"passkey"!==n){const s={appId:o("app_id"),challengeId:o("challenge_id"),otp:o("otp")};try{ls.validateSync(s,{abortEarly:!1})}catch(h){throw new Error("Invalid search params")}const{appId:t,otp:a,challengeId:r}=s;return e.jsx(is,{appId:t,challengeId:r,otp:a})}const i={challengeId:o("challenge_id"),identity:o("email")?"email":o("phone")?"phone":null,identityValue:o("email")?o("email"):o("phone")?o("phone"):null,challengeType:o("challenge_type"),type:o("type")};try{cs.validateSync(i,{abortEarly:!1})}catch(h){throw new Error("Invalid search params")}const{challengeId:l,identity:c,identityValue:d,challengeType:p,type:u}=i;if(!u)throw new Error("Invalid type params");return e.jsx(ns,{identity:c,identityValue:d,challengeType:p,challengeId:l,type:u,numInputs:t,shouldAutoFocus:a,signUpPath:r,successAuthRedirect:s})},ps={email_or_username:"",phone:""},us=x.object().shape({defaultMethod:x.string().oneOf(["email_or_username","phone"]).required()}),hs=({successResetRedirect:t,signInPath:a=J.signin.path,forgotPasswordSuccessPath:r=J.forgot_password_success.path})=>{const{getValues:n,control:l,register:c,formState:{errors:d,isDirty:p,isValid:u}}=w.useForm({defaultValues:ps}),{appSettings:h,currentStyles:m,isError:g,error:x,loginAppTheme:y}=ne();if(g)throw new Error(x);const v=o.useMemo(()=>N(h?.auth_strategies),[h]),{navigate:C}=pe(),{get:b}=F({default_method:""}),M={defaultMethod:b("default_method")};try{us.validateSync(M,{abortEarly:!1})}catch(z){throw new Error("Invalid default method param")}const{defaultMethod:k}=M,{fetch:E,error:L,isError:P,isLoading:A}=re(),T=s.eq(k,"email_or_username")?"Enter the email address you used when you joined and we’ll send you instructions to reset your password.":"Enter the mobile phone number you used when you joined and we’ll send you the reset link.",R=s.eq(k,"email_or_username")?"For security reasons, we do NOT store your password. So rest assured that we will never send your password via email.":"For security reasons, we do NOT store your password. So rest assured that we will never send your password via SMS.";return e.jsxs(Re,{title:"Forgot password?",subtitle:T,className:"passflow-forgot-password-wrapper",customCss:m?.custom_css,customLogo:m?.logo_url,removeBranding:y?.remove_passflow_logo,children:[e.jsx("span",{className:"passflow-form-subscriptions",children:R}),e.jsxs("form",{onSubmit:e=>e.preventDefault(),className:"passflow-form",children:[e.jsx("div",{className:"passflow-form-container",children:e.jsxs("div",{className:"passflow-form-field",children:[s.eq(k,"email_or_username")&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"identity",className:S("passflow-field-label",{"passflow-field-label--error":P}),children:I(v,"label")})}),e.jsx(w.Controller,{name:"email_or_username",control:l,rules:{required:"Email is required",pattern:{value:j,message:"Invalid email"}},render:({field:t})=>e.jsx(G,{...t,...c("email_or_username"),isError:P||s.has(d,"email_or_username"),id:"email_or_username",type:"text",name:"email_or_username"})})]}),s.eq(k,"phone")&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"phone",className:S("passflow-field-label",{"passflow-field-label--error":P}),children:"Phone"})}),e.jsx(w.Controller,{name:"phone",control:l,rules:{required:"Phone is required",validate:e=>!!f.phone(e).isValid||"Invalid phone number"},render:({field:t})=>e.jsx(ge,{...t,...c("phone"),onChange:e=>t.onChange(e),id:"phone",name:"phone",isError:P||s.has(d,"phone"),ref:null})})]}),P&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:L})]})]})}),e.jsxs("div",{className:"passflow-send-reset-wrapper",children:[e.jsx(D,{size:"big",variant:"primary",type:"button",disabled:!p||!u||A,className:"passflow-button-send-reset-password",onClick:async()=>{const e=n(),a=e.email_or_username.match(j),o=!a&&s.size(e.email_or_username)>0,l=f.phone(e.phone),c=l.isValid,d={...a&&{email:e.email_or_username},...o&&{username:e.email_or_username},...c&&{phone:l.phoneNumber},redirect_url:t??h?.defaults.redirect};if(await E(d)){const e=new URLSearchParams(window.location.search),s=i.stringify({...Object.fromEntries(e.entries()),...d});C({to:r,search:s})}},children:"Send reset instructions"}),e.jsxs("p",{className:"passflow-remember-password",children:["Remember your password?"," ",e.jsx(ye,{to:a??J.signin.path,className:"passflow-link",children:"Sign In"})," "]})]})]})]})},ms=x.object().shape({identity:x.string().oneOf(["email","phone"]).required(),identityValue:x.string().required(),redirectUrl:x.string().required()}),fs=()=>{const{currentStyles:t,loginAppTheme:a}=ne(),{fetch:r}=re(),{get:o}=F(),n={identity:o("email")?"email":o("phone")?"phone":null,identityValue:o("email")?o("email"):o("phone")?o("phone"):null,redirectUrl:o("redirect_url")};try{ms.validateSync(n,{abortEarly:!1})}catch(i){throw new Error("Invalid search params")}return e.jsx(Re,{title:`Check your ${n.identity}`,className:"passflow-forgot-password-success-wrapper",customCss:t?.custom_css,customLogo:t?.logo_url,removeBranding:a?.remove_passflow_logo,children:e.jsxs("div",{className:"passflow-forgot-password-success-container",children:[e.jsxs("p",{className:"passflow-forgot-password-success-text",children:["We sent a link to ",s.eq(n.identity,"phone")?"phone number":"email address"," ",e.jsx("strong",{className:"passflow-forgot-password-success-text--strong",children:n.identityValue}),". Click the link to reset your password."]}),e.jsxs(D,{size:"big",variant:"secondary",type:"button",className:"passflow-button-resend-reset-password",onClick:async()=>{const e={..."email"===n.identity?{email:n.identityValue}:void 0,..."phone"===n.identity?{phone:n.identityValue}:void 0,redirect_url:n.redirectUrl};await r(e)},children:["Resend ",s.eq(n.identity,"email")?"email":"SMS"]})]})})},ws={password:""},gs=x.object().shape({token:x.string().required()}),xs=({successAuthRedirect:t})=>{const{getValues:a,control:r,register:o,trigger:i,formState:{errors:l,isDirty:c,isValid:d},clearErrors:p,setError:u}=w.useForm({defaultValues:ws}),h=$(),{appSettings:m}=ne(),{fetch:f,error:g,isError:x,isLoading:y}=oe(),{navigate:v}=pe(),{get:C}=F(),{passwordPolicy:j,currentStyles:N,isError:I,error:L,loginAppTheme:P}=ne();if(I)throw new Error(L);const A={token:C("token")};try{gs.validateSync(A,{abortEarly:!1})}catch(z){throw new Error("Invalid reset token.")}const{token:T}=A,R=T?E(n.parseToken)(T):void 0;return e.jsxs(Re,{title:"Reset password",subtitle:"Let’s get you back in.",className:"passflow-reset-password-wrapper",customCss:N?.custom_css,customLogo:N?.logo_url,removeBranding:P?.remove_passflow_logo,children:[e.jsx("span",{className:"passflow-reset-password-text",children:"Enter your new password below."}),e.jsxs("form",{onSubmit:e=>{e.preventDefault(),(async()=>{const e=a(),s=R;await f(e.password)&&(M(s?.redirect_url??t??m?.defaults.redirect)?window.location.href=await k(h,s?.redirect_url??t??m?.defaults.redirect):v({to:s?.redirect_url??t??m?.defaults.redirect}))})()},className:"passflow-form passflow-reset-password-form",children:[e.jsx("div",{className:"passflow-form-container",children:e.jsxs("div",{className:"passflow-form-field",children:[e.jsx("div",{className:"passflow-form-field__header",children:e.jsx("label",{htmlFor:"password",className:S("passflow-field-label",{"passflow-field-label--error":x}),children:"New password"})}),e.jsx(w.Controller,{name:"password",control:r,rules:{required:"Password is required",validate:e=>{try{return b(j).validateSync(e),p("password"),!0}catch(z){const s=z;return u("password",{type:"manual",message:s.errors.join(", ")}),s.errors.join(", ")}}},render:({field:t})=>e.jsx(B,{...t,...o("password"),isError:x,passwordPolicy:j,validationErrors:s.has(l,"password")&&l.password?.message?l.password.message.split(", "):void 0,id:"password",name:"password",withMessages:!0,onChange:e=>{t.onChange(e),(async()=>{await i(["password"])})()}})}),x&&e.jsxs("div",{className:"passflow-form-error",children:[e.jsx(_,{size:"small",id:"warning",type:"general",className:"icon-warning"}),e.jsx("span",{className:"passflow-form-error-text",children:g})]})]})}),e.jsx(D,{size:"big",variant:"primary",type:"submit",disabled:!c||!d||y,className:"passflow-button-reset-password",children:"Save new password"})]})]})},ys=x.object().shape({invite_token:x.string().required()}),vs=Je(({signInPath:s=J.signin.path,signUpPath:t=J.signup.path,successAuthRedirect:a})=>{const{appSettings:r,currentStyles:o,loginAppTheme:i}=ne(),{navigate:l}=pe(),{get:c}=F(),d=$(),{fetch:p,isLoading:u,error:h,isError:m}=le(),f={invite_token:c("invite_token")};try{ys.validateSync(f,{abortEarly:!1})}catch(x){throw new Error("Invalid invitation token.")}const{invite_token:w}=f,g=w?E(n.parseToken)(w):void 0;if(m&&h)throw Error(h);if(!g)throw Error("Invalid invitation token.");if(g){const{inviter_name:n,tenant_name:c,redirect_url:h}=g,m=d.getParsedTokens(),f=()=>l({to:s,search:window.location.search}),x=()=>l({to:t,search:window.location.search});return m?.access_token||f(),e.jsxs(Re,{title:`${n||"Someone"} invited you to join the ${c} - want to accept?`,className:"passflow-invitation-join-wrapper",customCss:o?.custom_css,customLogo:o?.logo_url,removeBranding:i?.remove_passflow_logo,children:[m?.access_token&&m.id_token&&e.jsxs("span",{className:"passflow-invitation-join-text",children:["You're signed in as"," ",e.jsx("strong",{className:"passflow-invitation-join-text-strong",children:m.id_token?.email})," right now. Do you want keep going as"," ",e.jsx("strong",{className:"passflow-invitation-join-text-strong",children:m.id_token?.email})," or switch to different account?"]}),m?.access_token&&e.jsx(D,{size:"big",type:"button",variant:"primary",className:"passflow-button-invitation-join",onClick:()=>{(async e=>{w&&await p(w)&&(M(e)?window.location.href=await k(d,e):l({to:e}))})(h??a??r?.defaults.redirect)},disabled:u,children:"Accept invitation"}),e.jsxs("div",{className:"passflow-invitation-join-actions",style:m?.access_token?{}:{marginTop:"32px"},children:[e.jsx(D,{size:"big",type:"button",variant:"secondary",className:"passflow-button-invitation-join-switch",onClick:f,disabled:u,children:"Switch account"}),e.jsx(D,{size:"big",type:"button",variant:"secondary",className:"passflow-button-invitation-join-register",onClick:x,disabled:u,children:"Register new user"})]})]})}return null},Oe);
|
|
2
2
|
/**
|
|
3
3
|
* @remix-run/router v1.23.0
|
|
4
4
|
*
|
package/dist/index.es.js
CHANGED
|
@@ -20,7 +20,7 @@ import { phone as phone$1 } from 'phone';
|
|
|
20
20
|
import { useForm, Controller } from 'react-hook-form';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
|
|
23
|
-
const version = "0.
|
|
23
|
+
const version = "0.6.0";
|
|
24
24
|
|
|
25
25
|
window.passflowReactAppVersion = () => {
|
|
26
26
|
console.log(`App Version: ${version}`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@passflow/react",
|
|
3
3
|
"description": "Passflow React UI Kit",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@passflow/core": "^0.
|
|
46
|
+
"@passflow/core": "^0.8.0",
|
|
47
47
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
48
48
|
"@radix-ui/react-popover": "^1.1.15",
|
|
49
49
|
"@simplewebauthn/browser": "^13.2.2",
|