chordia-ui 3.4.2 → 3.4.4

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.
Files changed (37) hide show
  1. package/dist/Timeline.cjs.js +6 -1
  2. package/dist/Timeline.cjs.js.map +1 -1
  3. package/dist/Timeline.es.js +597 -129
  4. package/dist/Timeline.es.js.map +1 -1
  5. package/dist/UpdatedInteractionRecording.cjs.js +1 -1
  6. package/dist/UpdatedInteractionRecording.cjs.js.map +1 -1
  7. package/dist/UpdatedInteractionRecording.es.js +233 -241
  8. package/dist/UpdatedInteractionRecording.es.js.map +1 -1
  9. package/dist/components/UpdatedInteractionDetails.cjs.js +2 -2
  10. package/dist/components/UpdatedInteractionDetails.cjs.js.map +1 -1
  11. package/dist/components/UpdatedInteractionDetails.es.js +451 -360
  12. package/dist/components/UpdatedInteractionDetails.es.js.map +1 -1
  13. package/dist/components/media.cjs.js +1 -1
  14. package/dist/components/media.cjs.js.map +1 -1
  15. package/dist/components/media.es.js +8 -9
  16. package/dist/components/media.es.js.map +1 -1
  17. package/dist/index.cjs.js +1 -1
  18. package/dist/index.cjs2.js +1 -1
  19. package/dist/index.cjs2.js.map +1 -1
  20. package/dist/index.es.js +52 -53
  21. package/dist/index.es.js.map +1 -1
  22. package/dist/index.es2.js +596 -587
  23. package/dist/index.es2.js.map +1 -1
  24. package/dist/pages/interactionDetails.cjs.js +2 -2
  25. package/dist/pages/interactionDetails.cjs.js.map +1 -1
  26. package/dist/pages/interactionDetails.es.js +16 -17
  27. package/dist/pages/interactionDetails.es.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/components/UpdatedInteractionDetails/UpdatedCompassScore.jsx +54 -2
  30. package/src/components/UpdatedInteractionDetails/UpdatedInteractionDetails.jsx +58 -14
  31. package/src/components/UpdatedInteractionDetails/UpdatedInteractionRecording.jsx +132 -126
  32. package/src/components/UpdatedInteractionDetails/UpdatedInteractionSignals.jsx +14 -6
  33. package/src/components/login/LoginPage.jsx +18 -3
  34. package/dist/TranscriptCard.cjs.js +0 -7
  35. package/dist/TranscriptCard.cjs.js.map +0 -1
  36. package/dist/TranscriptCard.es.js +0 -474
  37. package/dist/TranscriptCard.es.js.map +0 -1
package/dist/index.es2.js CHANGED
@@ -222,10 +222,10 @@ var Fr = ((e) => (t) => {
222
222
  a !== null && (v.credentials = a || "include");
223
223
  const S = await d(Mn({ path: h, baseUrl: l, queryParams: U, projectId: t }), v);
224
224
  if (i != null && i.afterRequest && await i.afterRequest(p, S == null ? void 0 : S.clone()), i == null ? void 0 : i.transformResponse) {
225
- const F = await S.json(), K = (((f = S.headers) === null || f === void 0 ? void 0 : f.get("set-cookie")) || "").split(";").reduce((ee, H) => {
225
+ const F = await S.json(), V = (((f = S.headers) === null || f === void 0 ? void 0 : f.get("set-cookie")) || "").split(";").reduce((ee, H) => {
226
226
  const [Y, X] = H.split("=");
227
227
  return Object.assign(Object.assign({}, ee), { [Y.trim()]: X });
228
- }, {}), $ = Object.assign(Object.assign({}, S), { json: () => Promise.resolve(F), cookies: K });
228
+ }, {}), $ = Object.assign(Object.assign({}, S), { json: () => Promise.resolve(F), cookies: V });
229
229
  return $.clone = () => $, i.transformResponse($);
230
230
  }
231
231
  return S;
@@ -1152,9 +1152,9 @@ const Ko = (e, t) => new Promise((n, o) => {
1152
1152
  return new Date(1e3 * F);
1153
1153
  M("Could not extract expiration time from session token, trying to decode the token");
1154
1154
  try {
1155
- const K = Zt(S);
1156
- if (K.exp)
1157
- return new Date(1e3 * K.exp);
1155
+ const V = Zt(S);
1156
+ if (V.exp)
1157
+ return new Date(1e3 * V.exp);
1158
1158
  } catch {
1159
1159
  return null;
1160
1160
  }
@@ -1215,20 +1215,20 @@ const Ko = (e, t) => new Promise((n, o) => {
1215
1215
  b.cookieName ? ge(`${i || ""}${pt}`, b.cookieName) : b.refreshJwt && ie(`${i || ""}${pt}`);
1216
1216
  const h = ((y = {}, w = !1, U = "", A = !1) => {
1217
1217
  var P, j, v, S;
1218
- const { sessionJwt: F, refreshJwt: K, trustedDeviceJwt: $ } = y;
1218
+ const { sessionJwt: F, refreshJwt: V, trustedDeviceJwt: $ } = y;
1219
1219
  let ee;
1220
- if (K)
1220
+ if (V)
1221
1221
  if (A) {
1222
1222
  ie(`${U}${Ze}`);
1223
1223
  const H = A.sameSite || "Strict", Y = (P = A.secure) === null || P === void 0 || P, X = (j = A.domain) !== null && j !== void 0 ? j : y.cookieDomain, he = ht(A);
1224
1224
  Y && window.location.protocol !== "https:" && at("Refresh token cookie is configured with secure=true but the page is not using HTTPS. The cookie will not be set. To fix this, pass refreshTokenViaCookie: { secure: process.env['NODE_ENV'] !== 'development' }");
1225
1225
  const B = Object.assign(Object.assign({}, y), { cookieSameSite: H, cookieSecure: Y, cookieDomain: X });
1226
- Qn(he, K, B);
1226
+ Qn(he, V, B);
1227
1227
  const oe = Vt(X);
1228
1228
  ee = Object.assign(Object.assign({}, ee), { refresh: { path: B.cookiePath, domain: oe ? X : void 0 } });
1229
1229
  } else {
1230
1230
  const H = ht(A);
1231
- Le.remove(H), ge(`${U}${Ze}`, K);
1231
+ Le.remove(H), ge(`${U}${Ze}`, V);
1232
1232
  }
1233
1233
  if (F)
1234
1234
  if (w) {
@@ -1309,7 +1309,7 @@ var Ua = ({ projectId: e, baseUrl: t, persistTokens: n, autoRefresh: o, sessionT
1309
1309
  return Vo({ projectId: e, baseUrl: t, sessionTokenViaCookie: r, refreshTokenViaCookie: i, baseHeaders: ct, persistTokens: n, autoRefresh: o, refreshCookieName: a, oidcConfig: c, storeLastAuthenticatedUser: l, keepLastAuthenticatedUserAfterLogout: d, hooks: p, getExternalToken: u, customStorage: f });
1310
1310
  }, [e, t, JSON.stringify(r), JSON.stringify(i), u, f]);
1311
1311
  const Ta = ({ projectId: e, baseUrl: t = "", baseStaticUrl: n = "", baseCdnUrl: o = "", sessionTokenViaCookie: r = !1, refreshTokenViaCookie: i = !1, hooks: a, persistTokens: c = !0, autoRefresh: l = !0, oidcConfig: d, storeLastAuthenticatedUser: u = !0, keepLastAuthenticatedUserAfterLogout: p = !1, refreshCookieName: f = "", getExternalToken: b, customStorage: h, children: y }) => {
1312
- const [w, U] = I(), [A, P] = I(), [j, v] = I(), [S, F] = I(!1), [K, $] = I(!1), [ee, H] = I(!1), [Y, X] = I(!!d), he = Ce(!1), B = Ua({ projectId: e, baseUrl: t, persistTokens: c, autoRefresh: l, sessionTokenViaCookie: r, refreshTokenViaCookie: i, hooks: a, oidcConfig: d, storeLastAuthenticatedUser: u, keepLastAuthenticatedUserAfterLogout: p, refreshCookieName: f, getExternalToken: b, customStorage: h });
1312
+ const [w, U] = I(), [A, P] = I(), [j, v] = I(), [S, F] = I(!1), [V, $] = I(!1), [ee, H] = I(!1), [Y, X] = I(!!d), he = Ce(!1), B = Ua({ projectId: e, baseUrl: t, persistTokens: c, autoRefresh: l, sessionTokenViaCookie: r, refreshTokenViaCookie: i, hooks: a, oidcConfig: d, storeLastAuthenticatedUser: u, keepLastAuthenticatedUserAfterLogout: p, refreshCookieName: f, getExternalToken: b, customStorage: h });
1313
1313
  ce(() => {
1314
1314
  if (B) {
1315
1315
  const De = B.onSessionTokenChange(P), ae = B.onUserChange(U), R = B.onIsAuthenticatedChange(F), He = B.onClaimsChange(v);
@@ -1324,15 +1324,15 @@ const Ta = ({ projectId: e, baseUrl: t = "", baseStaticUrl: n = "", baseCdnUrl:
1324
1324
  X(!1), oe.current = !0;
1325
1325
  }));
1326
1326
  }, []);
1327
- const V = dt(() => {
1327
+ const J = dt(() => {
1328
1328
  kr() || oe.current || (oe.current = !0, H(!0), Fn(B == null ? void 0 : B.refresh)(void 0, !0).then(() => {
1329
1329
  H(!1);
1330
1330
  }));
1331
- }, [B]), J = dt(() => {
1331
+ }, [B]), K = dt(() => {
1332
1332
  ve.current || (ve.current = !0, $(!0), Fn(B.me)().then(() => {
1333
1333
  $(!1);
1334
1334
  }));
1335
- }, [B]), re = gt(() => ({ fetchUser: J, user: w, isUserLoading: K, isUserFetched: ve.current, fetchSession: V, session: A, isAuthenticated: S, isSessionLoading: ee, isOidcLoading: Y, isSessionFetched: oe.current, projectId: e, baseUrl: t, baseStaticUrl: n, baseCdnUrl: o, storeLastAuthenticatedUser: u, keepLastAuthenticatedUserAfterLogout: p, refreshCookieName: f, customStorage: h, setUser: U, setSession: P, setIsAuthenticated: F, claims: j, sdk: B }), [J, w, K, ve.current, V, A, S, ee, Y, oe.current, e, t, n, o, p, f, h, U, P, F, j, B]);
1335
+ }, [B]), re = gt(() => ({ fetchUser: K, user: w, isUserLoading: V, isUserFetched: ve.current, fetchSession: J, session: A, isAuthenticated: S, isSessionLoading: ee, isOidcLoading: Y, isSessionFetched: oe.current, projectId: e, baseUrl: t, baseStaticUrl: n, baseCdnUrl: o, storeLastAuthenticatedUser: u, keepLastAuthenticatedUserAfterLogout: p, refreshCookieName: f, customStorage: h, setUser: U, setSession: P, setIsAuthenticated: F, claims: j, sdk: B }), [K, w, V, ve.current, J, A, S, ee, Y, oe.current, e, t, n, o, p, f, h, U, P, F, j, B]);
1336
1336
  return ue.createElement(yo.Provider, { value: re }, y);
1337
1337
  };
1338
1338
  function Ga(...e) {
@@ -1376,10 +1376,10 @@ const Za = (...e) => e.join("/").replace(/\/+/g, "/"), ro = (e) => e.replace(/([
1376
1376
  var r, i;
1377
1377
  r = "x-external-rid", (i = n) ? ct[r] = i : delete ct[r];
1378
1378
  }, [n]), ue.createElement("descope-wc", Object.assign({ ref: t }, o));
1379
- })) })), Ra = ue.forwardRef(({ flowId: e, onSuccess: t, onError: n, onReady: o, logger: r, tenant: i, theme: a, nonce: c, locale: l, debug: d, client: u, form: p, telemetryKey: f, redirectUrl: b, autoFocus: h, validateOnBlur: y, restartOnError: w, errorTransformer: U, styleId: A, onScreenUpdate: P, dismissScreenErrorOnInput: j, outboundAppId: v, outboundAppScopes: S, popupOrigin: F, children: K, externalRequestId: $ }, ee) => {
1379
+ })) })), Ra = ue.forwardRef(({ flowId: e, onSuccess: t, onError: n, onReady: o, logger: r, tenant: i, theme: a, nonce: c, locale: l, debug: d, client: u, form: p, telemetryKey: f, redirectUrl: b, autoFocus: h, validateOnBlur: y, restartOnError: w, errorTransformer: U, styleId: A, onScreenUpdate: P, dismissScreenErrorOnInput: j, outboundAppId: v, outboundAppScopes: S, popupOrigin: F, children: V, externalRequestId: $ }, ee) => {
1380
1380
  const [H, Y] = I(null);
1381
1381
  uo(ee, () => H);
1382
- const { projectId: X, baseUrl: he, baseStaticUrl: B, baseCdnUrl: oe, storeLastAuthenticatedUser: ve, keepLastAuthenticatedUserAfterLogout: V, refreshCookieName: J, customStorage: re, sdk: De } = ue.useContext(yo), ae = dt(async (R) => {
1382
+ const { projectId: X, baseUrl: he, baseStaticUrl: B, baseCdnUrl: oe, storeLastAuthenticatedUser: ve, keepLastAuthenticatedUserAfterLogout: J, refreshCookieName: K, customStorage: re, sdk: De } = ue.useContext(yo), ae = dt(async (R) => {
1383
1383
  await De.httpClient.hooks.afterRequest({}, new Response(JSON.stringify(R.detail))), t && t(R);
1384
1384
  }, [t]);
1385
1385
  return ce(() => {
@@ -1402,7 +1402,7 @@ const Za = (...e) => e.join("/").replace(/\/+/g, "/"), ro = (e) => e.replace(/([
1402
1402
  return o && (R == null || R.addEventListener("ready", o)), () => {
1403
1403
  o && (R == null || R.removeEventListener("error", o));
1404
1404
  };
1405
- }, [H, o]), ue.createElement("form", null, ue.createElement(xr, { fallback: null }, ue.createElement(Pa, { projectId: X, flowId: e, baseUrl: he, baseStaticUrl: B, baseCdnUrl: oe, ref: Y, telemetryKey: f, redirectUrl: b, autoFocus: h, styleId: A, validateOnBlur: y, restartOnError: w, keepLastAuthenticatedUserAfterLogout: V, tenant: i, externalRequestId: $, customStorage: re, "theme.attr": a, "nonce.attr": c, "locale.attr": l, "form.attr": p, "client.attr": u, "debug.attr": d, "outbound-app-id.attr": v, "outbound-app-scopes.attr": S, "popup-origin.attr": F, "store-last-authenticated-user.attr": ve, "refreshCookieName.attr": J, "dismiss-screen-error-on-input.attr": j, "errorTransformer.prop": U, "logger.prop": r, "onScreenUpdate.prop": P, "customStorage.prop": re }, K)));
1405
+ }, [H, o]), ue.createElement("form", null, ue.createElement(xr, { fallback: null }, ue.createElement(Pa, { projectId: X, flowId: e, baseUrl: he, baseStaticUrl: B, baseCdnUrl: oe, ref: Y, telemetryKey: f, redirectUrl: b, autoFocus: h, styleId: A, validateOnBlur: y, restartOnError: w, keepLastAuthenticatedUserAfterLogout: J, tenant: i, externalRequestId: $, customStorage: re, "theme.attr": a, "nonce.attr": c, "locale.attr": l, "form.attr": p, "client.attr": u, "debug.attr": d, "outbound-app-id.attr": v, "outbound-app-scopes.attr": S, "popup-origin.attr": F, "store-last-authenticated-user.attr": ve, "refreshCookieName.attr": K, "dismiss-screen-error-on-input.attr": j, "errorTransformer.prop": U, "logger.prop": r, "onScreenUpdate.prop": P, "customStorage.prop": re }, V)));
1406
1406
  }), $o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAAAwCAYAAABnoirjAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAI6lJREFUeAHtfQd8FsX29pTdfXtCeoBQAsHQAkIiVZSioFKkCCooiCD2ggXUq4Kici8qol4VkHJB6YIKFyki5AoIIkFASuihpJGet26Zme9sCgYMmgT1u/dPzu8Xfcvu7OzMM+c85zmzLwjVWq3VWq3V2l9rGP3/Mdy9e3d67tw5Wv6BoigiMvIQT05GDN4KVGu19jv2l4G3ZcuWSl5enhzjcEgbt8yIEQF/ksAikjNu44gjgkmAEnHeSh0pjia3n4uOjtbCwsL0Q4cO6agWzLVWif3Z4MWNGze2HEqZEeHL9t2tMeNGLnh7mdIQhLGhM5aPBPYjAugUwmYhEnwuZIxIYcDQ98iSvD24btRnzRJGnQcvHUC1IK61CvangRdAaz2S8lGTouzCR5Hgw+FKBoA0mXC8mzG+x65b9l7T90lvZtnxMZmZYsf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Trzs9W7VkerBV4/w4edQBQ8MmWQv/ipKQH3fNOzetu6MZYSBC6cY0dwhI+DaCEMIGDwAu3pjIJZxrfLVnkT21cWdsoAlN+Xn8auNLjQPa/yC32PtvNGXyH+WgOLITlEdHNn8ShSX/6k6q19t9nf9gzUWYFJfvI4lcpF49B7P7EZdOnOGNHF/xw9rMhusanAmB1SSEzrBZladLNw4sXL1wc5AvXOkLJMAISIWIYxGulRmpW4/zj0+tNF4uT32woYTwCEol7gO96IR99xuXP+6G+HP48ZPPjVYzfHzbw8de2H8l1o1q7Ku0P/nHpuvb1yz4YQbn+BmiGHkOizyY2vWud+euPhsc7ApSbJ0AeCYZk7AdJRttl2ZbiMwLFxNyrS6gdspo4qLgkwPftQJppD8LLj1DuXWgo2hdtdaWz4PI7lOJ6GqaT+984/pOUWqpwVduf8TSq7PdviCk+mTMN5MbbQfr4TiFodoTPt2F7oJBrURFdFCR1gZJnVwBygixJDlMS1VRNBd3yBEgqB4hE92scb+5xTdbx3NS6PUDWHAMi5K1Q49nsdDif7T54yrG/4hdZau2/2/60R6lBXnH+56vXeuia9jgV7AYAaC5I68skhr9nVmlf227DMjIzETp48CABeQmB9FMiraQm/z1CMEsCl0UnqIvfCQWdGEjS9hCL9b1b73xyTUpKZpV1wFr7v21/9u8AlOiUO/fOi1GL3KMDXB+kYNrQxJ7KUB4kcidtUskzZ0Ll3IY5byRTEmU+CGcIkU2o9JXNZvlXl9seOhoZ2SpQ+/u7tVbR/mzwXriO+QN0klSsHNu5wpVfmJ2gM9QO+G0DpHErMXeZU2I+65Nuk8k+7HId6HP9U7npgYBe+++v1drl7K8C76VGgVZQqGJdtC3SarXydu2OG+ZTtKjWaq3Waq3Waq3W/svs/wHDkxYoFqn0jQAAAABJRU5ErkJggg==", Xe = "var(--color-green)", T = "var(--font-sans)", Q = {
1407
1407
  width: "100%",
1408
1408
  height: 40,
@@ -1824,7 +1824,7 @@ function es({
1824
1824
  signupMode: P = "signup"
1825
1825
  }) {
1826
1826
  var Rn, Nn;
1827
- const [j, v] = I(""), [S, F] = I(""), [K, $] = I(!1), [ee, H] = I(!1), [Y, X] = I(!1), [he, B] = I(!1), [oe, ve] = I(null), [V, J] = I(A), [re, De] = I(""), [ae, R] = I(""), [He, pn] = I(""), [me, _e] = I(["", "", "", "", "", ""]), We = Ce([]), [bt, Yo] = I(""), [xt, Qo] = I(""), [qe, Xo] = I(""), [et, Go] = I(""), [kt, Zo] = I(""), [It, _o] = I(!1), [St, er] = I(!1), [hn, Pe] = I(""), [Ct, tr] = I(""), [gn, fn] = I(0), vn = 3, [mn, nr] = I(""), [yn, or] = I(""), [wn, rr] = I(""), [bn, ir] = I(""), [Ot, ar] = I(""), [xn, sr] = I([]), [kn, lr] = I([]), [At, cr] = I(""), [Ut, dr] = I(""), [In, be] = I(""), [Sn, Cn] = I(!1), [ur, pr] = I(!1), [hr, gr] = I(1267), [Me, fr] = I("");
1827
+ const [j, v] = I(""), [S, F] = I(""), [V, $] = I(!1), [ee, H] = I(!1), [Y, X] = I(!1), [he, B] = I(!1), [oe, ve] = I(null), [J, K] = I(A), [re, De] = I(""), [ae, R] = I(""), [He, pn] = I(""), [me, _e] = I(["", "", "", "", "", ""]), We = Ce([]), [bt, Yo] = I(""), [xt, Qo] = I(""), [qe, Xo] = I(""), [et, Go] = I(""), [kt, Zo] = I(""), [It, _o] = I(!1), [St, er] = I(!1), [hn, Pe] = I(""), [Ct, tr] = I(""), [gn, fn] = I(0), vn = 3, [mn, nr] = I(""), [yn, or] = I(""), [wn, rr] = I(""), [bn, ir] = I(""), [Ot, ar] = I(""), [xn, sr] = I([]), [kn, lr] = I([]), [At, cr] = I(""), [Ut, dr] = I(""), [In, be] = I(""), [Sn, Cn] = I(!1), [ur, pr] = I(!1), [hr, gr] = I(1267), [Me, fr] = I("");
1828
1828
  ce(() => {
1829
1829
  const g = setInterval(() => fn((O) => (O + 1) % vn), 4e3);
1830
1830
  return () => clearInterval(g);
@@ -1868,9 +1868,9 @@ function es({
1868
1868
  clearInterval(E), window.removeEventListener("focus", O), document.removeEventListener("visibilitychange", O);
1869
1869
  };
1870
1870
  }, [j, S]), ce(() => {
1871
- U && V === "verifycode" && (_e(["", "", "", "", "", ""]), J("getcodewithname"));
1871
+ U && J === "verifycode" && (_e(["", "", "", "", "", ""]), K("getcodewithname"));
1872
1872
  }, [U]);
1873
- const On = y ?? he, xe = w ?? oe, vr = (j || ((Rn = Ue.current) == null ? void 0 : Rn.value) || "").trim(), mr = S || ((Nn = Te.current) == null ? void 0 : Nn.value) || "", An = !!(!!(vr || K) && !!(mr || ee) && !On), tt = V === "verifycode" || V === "getcodewithname" ? xe : null, Un = (g) => {
1873
+ const On = y ?? he, xe = w ?? oe, vr = (j || ((Rn = Ue.current) == null ? void 0 : Rn.value) || "").trim(), mr = S || ((Nn = Te.current) == null ? void 0 : Nn.value) || "", An = !!(!!(vr || V) && !!(mr || ee) && !On), tt = J === "verifycode" || J === "getcodewithname" ? xe : null, Un = (g) => {
1874
1874
  g.target.style.borderColor = xe ? "var(--color-text)" : "var(--color-green)", g.target.style.boxShadow = xe ? "none" : "0 0 0 3px var(--color-green-ring)";
1875
1875
  }, Tn = (g) => {
1876
1876
  g.target.style.borderColor = xe ? "var(--color-text)" : "var(--color-input-border)", g.target.style.boxShadow = "none";
@@ -2069,651 +2069,660 @@ function es({
2069
2069
  )) })
2070
2070
  ] })
2071
2071
  ] }),
2072
- /* @__PURE__ */ s("div", { style: {
2072
+ /* @__PURE__ */ m("div", { style: {
2073
2073
  flex: 1,
2074
2074
  minWidth: 0,
2075
2075
  display: "flex",
2076
2076
  flexDirection: "column",
2077
- justifyContent: "center",
2078
2077
  alignItems: "center",
2079
- padding: V === "waitlist" ? "20px 48px" : "32px 72px",
2078
+ padding: J === "waitlist" ? "20px 48px" : "32px 72px 40px",
2080
2079
  position: "relative",
2081
2080
  background: "white",
2082
2081
  overflowY: "auto",
2083
- minHeight: 0
2084
- }, children: /* @__PURE__ */ s("div", { style: {
2085
- display: "flex",
2086
- flexDirection: "column",
2087
- alignItems: "flex-start",
2088
- width: "100%",
2089
- maxWidth: V === "waitlist" ? 430 : 360,
2090
- gap: V === "waitlist" ? 22 : 28
2091
- }, children: V === "waitlist" ? (
2092
- /* ── Join Waitlist (matches Sign Up panel styling) ── */
2093
- /* @__PURE__ */ s(ye, { children: ur ? /* @__PURE__ */ m("div", { style: { width: "100%", display: "flex", flexDirection: "column", alignItems: "center", textAlign: "center", gap: 24 }, children: [
2094
- /* @__PURE__ */ s("h2", { style: { fontFamily: T, fontWeight: 700, fontSize: "32px", lineHeight: "44px", color: "var(--color-text)", margin: 0 }, children: "Chordia" }),
2095
- /* @__PURE__ */ s("h3", { style: { fontFamily: T, fontWeight: 700, fontSize: "32px", lineHeight: "52px", color: "var(--color-text)", margin: 0 }, children: "You're on the list!" }),
2096
- /* @__PURE__ */ m("p", { style: { fontFamily: T, fontWeight: 700, fontSize: "56px", lineHeight: "68px", color: "var(--color-green)", margin: 0 }, children: [
2097
- "#",
2098
- hr.toLocaleString()
2099
- ] }),
2100
- /* @__PURE__ */ s("p", { style: { fontFamily: T, fontWeight: 400, fontSize: 18, lineHeight: "26px", color: "var(--color-text-secondary)", margin: 0, maxWidth: 470 }, children: "We’re working hard to increase capacity and will notify you very quickly. Check your email for confirmation." }),
2101
- /* @__PURE__ */ m("div", { style: {
2102
- width: "100%",
2103
- borderRadius: 12,
2104
- border: "1px solid var(--color-input-border)",
2105
- background: "white",
2106
- boxShadow: "0 1px 6px rgba(0,0,0,0.06)",
2107
- padding: "24px 20px",
2108
- boxSizing: "border-box",
2109
- display: "flex",
2110
- flexDirection: "column",
2111
- alignItems: "center",
2112
- gap: 14
2113
- }, children: [
2114
- /* @__PURE__ */ s("p", { style: { margin: 0, fontFamily: T, fontSize: "24px", lineHeight: "40px", fontWeight: 700, color: "var(--color-text)" }, children: "Want to skip the line?" }),
2115
- /* @__PURE__ */ s("p", { style: { margin: 0, fontFamily: T, fontSize: "18px", lineHeight: "24px", fontWeight: 400, color: "var(--color-text-secondary)" }, children: "Schedule a demo with our CEO and get immediate access." }),
2116
- /* @__PURE__ */ s(
2117
- "button",
2118
- {
2119
- type: "button",
2120
- onClick: () => {
2121
- Me && window.open(Me, "_blank", "noopener,noreferrer");
2122
- },
2123
- style: {
2124
- minWidth: 220,
2125
- height: 48,
2126
- padding: "0 20px",
2127
- borderRadius: 8,
2128
- border: "2px solid #111111",
2129
- background: "white",
2130
- color: "var(--color-text)",
2131
- fontFamily: T,
2132
- fontSize: 20,
2133
- fontWeight: 700,
2134
- lineHeight: "28px",
2135
- cursor: Me ? "pointer" : "default",
2136
- opacity: Me ? 1 : 0.65
2137
- },
2138
- disabled: !Me,
2139
- children: "Schedule a Demo"
2140
- }
2141
- )
2142
- ] })
2143
- ] }) : /* @__PURE__ */ m(ye, { children: [
2144
- /* @__PURE__ */ s(Ne, { title: "Join the Waitlist", subtitle: "Get early access to Chordia. We onboard new companies every week." }),
2145
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 12 }, children: [
2146
- /* @__PURE__ */ s(q, { label: "Full Name", gap: 8, children: /* @__PURE__ */ s(
2147
- "input",
2148
- {
2149
- type: "text",
2150
- value: mn,
2151
- onChange: (g) => {
2152
- nr(g.target.value), be("");
2153
- },
2154
- placeholder: "Your full name",
2155
- autoFocus: !0,
2156
- autoComplete: "name",
2157
- style: Q,
2158
- onFocus: G,
2159
- onBlur: Z
2160
- }
2161
- ) }),
2162
- /* @__PURE__ */ m("div", { style: { display: "flex", gap: 16, width: "100%" }, children: [
2163
- /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Work Email", gap: 8, children: /* @__PURE__ */ s(
2164
- "input",
2082
+ minHeight: 0,
2083
+ justifyContent: "center"
2084
+ }, children: [
2085
+ /* @__PURE__ */ s("div", { style: {
2086
+ display: "flex",
2087
+ flexDirection: "column",
2088
+ alignItems: "flex-start",
2089
+ width: "100%",
2090
+ maxWidth: J === "waitlist" ? 430 : 360,
2091
+ gap: J === "waitlist" ? 22 : 28
2092
+ }, children: J === "waitlist" ? (
2093
+ /* ── Join Waitlist (matches Sign Up panel styling) ── */
2094
+ /* @__PURE__ */ s(ye, { children: ur ? /* @__PURE__ */ m("div", { style: { width: "100%", display: "flex", flexDirection: "column", alignItems: "center", textAlign: "center", gap: 24 }, children: [
2095
+ /* @__PURE__ */ s("h2", { style: { fontFamily: T, fontWeight: 700, fontSize: "32px", lineHeight: "44px", color: "var(--color-text)", margin: 0 }, children: "Chordia" }),
2096
+ /* @__PURE__ */ s("h3", { style: { fontFamily: T, fontWeight: 700, fontSize: "32px", lineHeight: "52px", color: "var(--color-text)", margin: 0 }, children: "You're on the list!" }),
2097
+ /* @__PURE__ */ m("p", { style: { fontFamily: T, fontWeight: 700, fontSize: "56px", lineHeight: "68px", color: "var(--color-green)", margin: 0 }, children: [
2098
+ "#",
2099
+ hr.toLocaleString()
2100
+ ] }),
2101
+ /* @__PURE__ */ s("p", { style: { fontFamily: T, fontWeight: 400, fontSize: 18, lineHeight: "26px", color: "var(--color-text-secondary)", margin: 0, maxWidth: 470 }, children: "We’re working hard to increase capacity and will notify you very quickly. Check your email for confirmation." }),
2102
+ /* @__PURE__ */ m("div", { style: {
2103
+ width: "100%",
2104
+ borderRadius: 12,
2105
+ border: "1px solid var(--color-input-border)",
2106
+ background: "white",
2107
+ boxShadow: "0 1px 6px rgba(0,0,0,0.06)",
2108
+ padding: "24px 20px",
2109
+ boxSizing: "border-box",
2110
+ display: "flex",
2111
+ flexDirection: "column",
2112
+ alignItems: "center",
2113
+ gap: 14
2114
+ }, children: [
2115
+ /* @__PURE__ */ s("p", { style: { margin: 0, fontFamily: T, fontSize: "24px", lineHeight: "40px", fontWeight: 700, color: "var(--color-text)" }, children: "Want to skip the line?" }),
2116
+ /* @__PURE__ */ s("p", { style: { margin: 0, fontFamily: T, fontSize: "18px", lineHeight: "24px", fontWeight: 400, color: "var(--color-text-secondary)" }, children: "Schedule a demo with our CEO and get immediate access." }),
2117
+ /* @__PURE__ */ s(
2118
+ "button",
2165
2119
  {
2166
- type: "email",
2167
- value: yn,
2168
- onChange: (g) => {
2169
- or(g.target.value), be("");
2120
+ type: "button",
2121
+ onClick: () => {
2122
+ Me && window.open(Me, "_blank", "noopener,noreferrer");
2170
2123
  },
2171
- placeholder: "workemail@example.com",
2172
- autoComplete: "email",
2173
- style: Q,
2174
- onFocus: G,
2175
- onBlur: Z
2124
+ style: {
2125
+ minWidth: 220,
2126
+ height: 48,
2127
+ padding: "0 20px",
2128
+ borderRadius: 8,
2129
+ border: "2px solid #111111",
2130
+ background: "white",
2131
+ color: "var(--color-text)",
2132
+ fontFamily: T,
2133
+ fontSize: 20,
2134
+ fontWeight: 700,
2135
+ lineHeight: "28px",
2136
+ cursor: Me ? "pointer" : "default",
2137
+ opacity: Me ? 1 : 0.65
2138
+ },
2139
+ disabled: !Me,
2140
+ children: "Schedule a Demo"
2176
2141
  }
2177
- ) }) }),
2178
- /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Company Name", gap: 8, children: /* @__PURE__ */ s(
2142
+ )
2143
+ ] })
2144
+ ] }) : /* @__PURE__ */ m(ye, { children: [
2145
+ /* @__PURE__ */ s(Ne, { title: "Join the Waitlist", subtitle: "Get early access to Chordia. We onboard new companies every week." }),
2146
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 12 }, children: [
2147
+ /* @__PURE__ */ s(q, { label: "Full Name", gap: 8, children: /* @__PURE__ */ s(
2179
2148
  "input",
2180
2149
  {
2181
2150
  type: "text",
2182
- value: wn,
2151
+ value: mn,
2183
2152
  onChange: (g) => {
2184
- rr(g.target.value), be("");
2153
+ nr(g.target.value), be("");
2185
2154
  },
2186
- placeholder: "Your Company",
2187
- autoComplete: "organization",
2155
+ placeholder: "Your full name",
2156
+ autoFocus: !0,
2157
+ autoComplete: "name",
2188
2158
  style: Q,
2189
2159
  onFocus: G,
2190
2160
  onBlur: Z
2191
2161
  }
2192
- ) }) })
2193
- ] }),
2194
- /* @__PURE__ */ m("div", { style: { display: "flex", gap: 16, width: "100%" }, children: [
2195
- /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Job Title", gap: 8, children: /* @__PURE__ */ s(
2162
+ ) }),
2163
+ /* @__PURE__ */ m("div", { style: { display: "flex", gap: 16, width: "100%" }, children: [
2164
+ /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Work Email", gap: 8, children: /* @__PURE__ */ s(
2165
+ "input",
2166
+ {
2167
+ type: "email",
2168
+ value: yn,
2169
+ onChange: (g) => {
2170
+ or(g.target.value), be("");
2171
+ },
2172
+ placeholder: "workemail@example.com",
2173
+ autoComplete: "email",
2174
+ style: Q,
2175
+ onFocus: G,
2176
+ onBlur: Z
2177
+ }
2178
+ ) }) }),
2179
+ /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Company Name", gap: 8, children: /* @__PURE__ */ s(
2180
+ "input",
2181
+ {
2182
+ type: "text",
2183
+ value: wn,
2184
+ onChange: (g) => {
2185
+ rr(g.target.value), be("");
2186
+ },
2187
+ placeholder: "Your Company",
2188
+ autoComplete: "organization",
2189
+ style: Q,
2190
+ onFocus: G,
2191
+ onBlur: Z
2192
+ }
2193
+ ) }) })
2194
+ ] }),
2195
+ /* @__PURE__ */ m("div", { style: { display: "flex", gap: 16, width: "100%" }, children: [
2196
+ /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Job Title", gap: 8, children: /* @__PURE__ */ s(
2197
+ "input",
2198
+ {
2199
+ type: "text",
2200
+ value: bn,
2201
+ onChange: (g) => ir(g.target.value),
2202
+ placeholder: "Optional",
2203
+ autoComplete: "organization-title",
2204
+ style: Q,
2205
+ onFocus: G,
2206
+ onBlur: Z
2207
+ }
2208
+ ) }) }),
2209
+ /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Team Size", gap: 8, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2210
+ /* @__PURE__ */ s(
2211
+ "select",
2212
+ {
2213
+ value: Ot,
2214
+ onChange: (g) => ar(g.target.value),
2215
+ style: {
2216
+ ...Q,
2217
+ appearance: "none",
2218
+ WebkitAppearance: "none",
2219
+ paddingRight: 36,
2220
+ cursor: "pointer",
2221
+ fontSize: 15,
2222
+ color: Ot ? "var(--color-text)" : "var(--color-text-secondary)"
2223
+ },
2224
+ children: Na.map((g) => /* @__PURE__ */ s("option", { value: g.value, children: g.label }, g.value || "empty"))
2225
+ }
2226
+ ),
2227
+ /* @__PURE__ */ s(
2228
+ fo,
2229
+ {
2230
+ size: 16,
2231
+ style: {
2232
+ position: "absolute",
2233
+ right: 10,
2234
+ top: "50%",
2235
+ transform: "translateY(-50%)",
2236
+ pointerEvents: "none",
2237
+ color: "var(--color-text-secondary)"
2238
+ }
2239
+ }
2240
+ )
2241
+ ] }) }) })
2242
+ ] }),
2243
+ /* @__PURE__ */ s(q, { label: "Phone systems", gap: 8, children: /* @__PURE__ */ s(
2244
+ io,
2245
+ {
2246
+ compact: !0,
2247
+ options: Fa,
2248
+ value: xn,
2249
+ onChange: sr,
2250
+ otherValue: At,
2251
+ onOtherChange: cr,
2252
+ placeholder: "Select (optional)",
2253
+ otherPlaceholder: "Please specify your phone system"
2254
+ }
2255
+ ) }),
2256
+ /* @__PURE__ */ s(q, { label: "Meeting tools", gap: 8, children: /* @__PURE__ */ s(
2257
+ io,
2258
+ {
2259
+ compact: !0,
2260
+ options: za,
2261
+ value: kn,
2262
+ onChange: lr,
2263
+ otherValue: Ut,
2264
+ onOtherChange: dr,
2265
+ placeholder: "Select (optional)",
2266
+ otherPlaceholder: "Please specify your meeting tool"
2267
+ }
2268
+ ) }),
2269
+ In && /* @__PURE__ */ m("div", { style: {
2270
+ display: "flex",
2271
+ flexDirection: "row",
2272
+ alignItems: "center",
2273
+ padding: 8,
2274
+ gap: 6,
2275
+ width: "100%",
2276
+ boxSizing: "border-box",
2277
+ background: "var(--color-error-bg)",
2278
+ borderRadius: 5,
2279
+ fontSize: 14,
2280
+ fontWeight: 400,
2281
+ lineHeight: "22px",
2282
+ color: "var(--color-text)",
2283
+ fontFamily: T
2284
+ }, children: [
2285
+ /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2286
+ In
2287
+ ] }),
2288
+ /* @__PURE__ */ s(ke, { type: "button", onClick: wr, disabled: Sn, children: Sn ? "Joining..." : "Join Waitlist" }),
2289
+ /* @__PURE__ */ s(Ee, { text: "I am already a member", linkText: "Log In", onClick: () => {
2290
+ K("signin"), h == null || h();
2291
+ } }),
2292
+ /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 16 })
2293
+ ] })
2294
+ ] }) })
2295
+ ) : J === "signup" ? (
2296
+ /* ── Sign Up ── */
2297
+ /* @__PURE__ */ m(ye, { children: [
2298
+ /* @__PURE__ */ s(Ne, { title: "Sign Up", subtitle: "Please enter your basic details to continue" }),
2299
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2300
+ /* @__PURE__ */ m("div", { style: { display: "flex", gap: 16, width: "100%" }, children: [
2301
+ /* @__PURE__ */ s(q, { label: "First Name", gap: 8, children: /* @__PURE__ */ s(
2302
+ "input",
2303
+ {
2304
+ type: "text",
2305
+ value: bt,
2306
+ onChange: (g) => Yo(g.target.value),
2307
+ placeholder: "First name",
2308
+ autoFocus: !0,
2309
+ autoComplete: "given-name",
2310
+ style: Q,
2311
+ onFocus: G,
2312
+ onBlur: Z
2313
+ }
2314
+ ) }),
2315
+ /* @__PURE__ */ s(q, { label: "Last Name", gap: 8, children: /* @__PURE__ */ s(
2316
+ "input",
2317
+ {
2318
+ type: "text",
2319
+ value: xt,
2320
+ onChange: (g) => Qo(g.target.value),
2321
+ placeholder: "Last name",
2322
+ autoComplete: "family-name",
2323
+ style: Q,
2324
+ onFocus: G,
2325
+ onBlur: Z
2326
+ }
2327
+ ) })
2328
+ ] }),
2329
+ /* @__PURE__ */ s(q, { label: "Email", gap: 8, children: /* @__PURE__ */ s(
2196
2330
  "input",
2197
2331
  {
2198
2332
  type: "text",
2199
- value: bn,
2200
- onChange: (g) => ir(g.target.value),
2201
- placeholder: "Optional",
2202
- autoComplete: "organization-title",
2333
+ value: qe,
2334
+ onChange: (g) => {
2335
+ Xo(g.target.value), Pe("");
2336
+ },
2337
+ placeholder: "workemail@example.com",
2338
+ autoComplete: "email",
2203
2339
  style: Q,
2204
2340
  onFocus: G,
2205
2341
  onBlur: Z
2206
2342
  }
2207
- ) }) }),
2208
- /* @__PURE__ */ s("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(q, { label: "Team Size", gap: 8, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2343
+ ) }),
2344
+ /* @__PURE__ */ s(q, { label: "Create Password", gap: 8, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2209
2345
  /* @__PURE__ */ s(
2210
- "select",
2346
+ "input",
2211
2347
  {
2212
- value: Ot,
2213
- onChange: (g) => ar(g.target.value),
2214
- style: {
2215
- ...Q,
2216
- appearance: "none",
2217
- WebkitAppearance: "none",
2218
- paddingRight: 36,
2219
- cursor: "pointer",
2220
- fontSize: 15,
2221
- color: Ot ? "var(--color-text)" : "var(--color-text-secondary)"
2348
+ type: It ? "text" : "password",
2349
+ value: et,
2350
+ onChange: (g) => {
2351
+ Go(g.target.value), Pe("");
2222
2352
  },
2223
- children: Na.map((g) => /* @__PURE__ */ s("option", { value: g.value, children: g.label }, g.value || "empty"))
2353
+ placeholder: "Enter password",
2354
+ autoComplete: "new-password",
2355
+ style: { ...Q, padding: "10px 44px 10px 14px" },
2356
+ onFocus: G,
2357
+ onBlur: Z
2224
2358
  }
2225
2359
  ),
2360
+ /* @__PURE__ */ s(Bt, { show: It, onToggle: () => _o(!It) })
2361
+ ] }) }),
2362
+ /* @__PURE__ */ s(q, { label: "Confirm Password", gap: 8, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2226
2363
  /* @__PURE__ */ s(
2227
- fo,
2364
+ "input",
2228
2365
  {
2229
- size: 16,
2230
- style: {
2231
- position: "absolute",
2232
- right: 10,
2233
- top: "50%",
2234
- transform: "translateY(-50%)",
2235
- pointerEvents: "none",
2236
- color: "var(--color-text-secondary)"
2237
- }
2366
+ type: St ? "text" : "password",
2367
+ value: kt,
2368
+ onChange: (g) => {
2369
+ Zo(g.target.value), Pe("");
2370
+ },
2371
+ placeholder: "Enter password",
2372
+ autoComplete: "new-password",
2373
+ style: { ...Q, padding: "10px 44px 10px 14px" },
2374
+ onFocus: G,
2375
+ onBlur: Z
2238
2376
  }
2239
- )
2240
- ] }) }) })
2377
+ ),
2378
+ /* @__PURE__ */ s(Bt, { show: St, onToggle: () => er(!St) })
2379
+ ] }) }),
2380
+ hn && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 14, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2381
+ /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2382
+ hn
2383
+ ] }),
2384
+ (() => /* @__PURE__ */ s(ke, { onClick: () => {
2385
+ if (Pe(""), !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(qe)) {
2386
+ Pe("Please enter a valid email address.");
2387
+ return;
2388
+ }
2389
+ if (et !== kt) {
2390
+ Pe("Password and Confirm Password do not match!");
2391
+ return;
2392
+ }
2393
+ i == null || i({ firstName: bt, lastName: xt, email: qe, password: et }), K("verifyemail");
2394
+ }, disabled: !(bt && xt && qe && et && kt), children: "Create Account" }))(),
2395
+ /* @__PURE__ */ s(Ee, { text: "I am already a member", linkText: "Sign In", onClick: () => {
2396
+ K("signin"), h == null || h();
2397
+ } }),
2398
+ /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u })
2399
+ ] })
2400
+ ] })
2401
+ ) : J === "verifyemail" ? (
2402
+ /* ── Verify Email ── */
2403
+ /* @__PURE__ */ m(ye, { children: [
2404
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", gap: 16 }, children: [
2405
+ /* @__PURE__ */ s("h2", { style: { fontFamily: T, fontWeight: 600, fontSize: "36px", lineHeight: "52px", color: "var(--color-text)", margin: 0 }, children: "Verify Email" }),
2406
+ /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "26px", color: "var(--color-text-secondary)", margin: 0 }, children: "Verify your email to continue the signup process." })
2241
2407
  ] }),
2242
- /* @__PURE__ */ s(q, { label: "Phone systems", gap: 8, children: /* @__PURE__ */ s(
2243
- io,
2244
- {
2245
- compact: !0,
2246
- options: Fa,
2247
- value: xn,
2248
- onChange: sr,
2249
- otherValue: At,
2250
- onOtherChange: cr,
2251
- placeholder: "Select (optional)",
2252
- otherPlaceholder: "Please specify your phone system"
2253
- }
2254
- ) }),
2255
- /* @__PURE__ */ s(q, { label: "Meeting tools", gap: 8, children: /* @__PURE__ */ s(
2256
- io,
2257
- {
2258
- compact: !0,
2259
- options: za,
2260
- value: kn,
2261
- onChange: lr,
2262
- otherValue: Ut,
2263
- onOtherChange: dr,
2264
- placeholder: "Select (optional)",
2265
- otherPlaceholder: "Please specify your meeting tool"
2266
- }
2267
- ) }),
2268
- In && /* @__PURE__ */ m("div", { style: {
2269
- display: "flex",
2270
- flexDirection: "row",
2271
- alignItems: "center",
2272
- padding: 8,
2273
- gap: 6,
2274
- width: "100%",
2275
- boxSizing: "border-box",
2276
- background: "var(--color-error-bg)",
2277
- borderRadius: 5,
2278
- fontSize: 14,
2279
- fontWeight: 400,
2280
- lineHeight: "22px",
2281
- color: "var(--color-text)",
2282
- fontFamily: T
2283
- }, children: [
2284
- /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2285
- In
2408
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 24 }, children: [
2409
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
2410
+ /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "24px", color: "var(--color-text-secondary)", margin: 0 }, children: "We have sent a verification link to:" }),
2411
+ /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 600, lineHeight: "24px", color: "var(--color-text)", margin: 0 }, children: qe || "youremail@workemail.com" })
2412
+ ] }),
2413
+ /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "24px", color: "var(--color-text-secondary)", margin: 0 }, children: "Click on the link to complete the verification process. You might need to check your Spam folder" }),
2414
+ /* @__PURE__ */ s(ke, { onClick: () => {
2415
+ K("signin"), h == null || h();
2416
+ }, children: "Go To Login" })
2286
2417
  ] }),
2287
- /* @__PURE__ */ s(ke, { type: "button", onClick: wr, disabled: Sn, children: Sn ? "Joining..." : "Join Waitlist" }),
2288
- /* @__PURE__ */ s(Ee, { text: "I am already a member", linkText: "Log In", onClick: () => {
2289
- J("signin"), h == null || h();
2290
- } }),
2291
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 16 })
2418
+ /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2292
2419
  ] })
2293
- ] }) })
2294
- ) : V === "signup" ? (
2295
- /* ── Sign Up ── */
2296
- /* @__PURE__ */ m(ye, { children: [
2297
- /* @__PURE__ */ s(Ne, { title: "Sign Up", subtitle: "Please enter your basic details to continue" }),
2298
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2299
- /* @__PURE__ */ m("div", { style: { display: "flex", gap: 16, width: "100%" }, children: [
2300
- /* @__PURE__ */ s(q, { label: "First Name", gap: 8, children: /* @__PURE__ */ s(
2420
+ ) : J === "verifycode" ? (
2421
+ /* ── Verify Code ── */
2422
+ /* @__PURE__ */ m(ye, { children: [
2423
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
2424
+ /* @__PURE__ */ s("h2", { style: { fontFamily: T, fontWeight: 600, fontSize: "36px", lineHeight: "52px", color: "var(--color-text)", margin: 0 }, children: "Sign In with code" }),
2425
+ /* @__PURE__ */ m("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "26px", color: "var(--color-text-secondary)", margin: 0 }, children: [
2426
+ "We have sent a one-time code to your email:",
2427
+ " ",
2428
+ /* @__PURE__ */ s("span", { style: { color: "var(--color-text)" }, children: He || "workemail@example.com" }),
2429
+ " ",
2430
+ /* @__PURE__ */ s(
2431
+ "button",
2432
+ {
2433
+ type: "button",
2434
+ onClick: () => K("getcode"),
2435
+ style: { background: "none", border: "none", padding: 0, fontSize: 18, fontWeight: 400, color: Xe, cursor: "pointer", fontFamily: T, textDecoration: "underline" },
2436
+ children: "Change email"
2437
+ }
2438
+ )
2439
+ ] })
2440
+ ] }),
2441
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2442
+ /* @__PURE__ */ s(q, { label: "Enter one-time code", gap: 12, children: /* @__PURE__ */ s("div", { style: { display: "flex", gap: 8 }, children: me.map((g, O) => /* @__PURE__ */ s(
2301
2443
  "input",
2302
2444
  {
2445
+ ref: (E) => {
2446
+ We.current[O] = E;
2447
+ },
2303
2448
  type: "text",
2304
- value: bt,
2305
- onChange: (g) => Yo(g.target.value),
2306
- placeholder: "First name",
2449
+ inputMode: "numeric",
2450
+ maxLength: 1,
2451
+ value: g,
2452
+ onChange: (E) => jn(O, E.target.value),
2453
+ onKeyDown: (E) => Dn(O, E),
2454
+ onPaste: (E) => Pn(O, E),
2455
+ autoFocus: O === 0,
2456
+ style: {
2457
+ flex: 1,
2458
+ minWidth: 0,
2459
+ height: 40,
2460
+ textAlign: "center",
2461
+ fontSize: 16,
2462
+ fontWeight: 600,
2463
+ fontFamily: T,
2464
+ color: "var(--color-text)",
2465
+ border: "1px solid var(--color-input-border)",
2466
+ borderRadius: 4,
2467
+ outline: "none",
2468
+ background: "white",
2469
+ boxSizing: "border-box",
2470
+ transition: "border-color 0.15s, box-shadow 0.15s",
2471
+ caretColor: Xe
2472
+ },
2473
+ onFocus: G,
2474
+ onBlur: Z
2475
+ },
2476
+ O
2477
+ )) }) }),
2478
+ /* @__PURE__ */ s(ke, { onClick: () => o == null ? void 0 : o(He, me.join("")), disabled: me.some((g) => !g), children: "Verify Code" }),
2479
+ tt && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 15, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2480
+ /* @__PURE__ */ s("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2481
+ tt
2482
+ ] }),
2483
+ /* @__PURE__ */ s($e, {}),
2484
+ /* @__PURE__ */ s(Ee, { text: "Not received yet?", linkText: "Resend", onClick: () => r == null ? void 0 : r(He) }),
2485
+ /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 24 })
2486
+ ] })
2487
+ ] })
2488
+ ) : J === "getcode" ? (
2489
+ /* ── Get Code (original — email only) ── */
2490
+ /* @__PURE__ */ m(ye, { children: [
2491
+ /* @__PURE__ */ s(Ne, { title: "Get code", subtitle: "We'll send a one time pass-code to your email" }),
2492
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2493
+ /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2494
+ "input",
2495
+ {
2496
+ type: "email",
2497
+ value: re,
2498
+ onChange: (g) => De(g.target.value),
2499
+ placeholder: "workemail@example.com",
2307
2500
  autoFocus: !0,
2308
- autoComplete: "given-name",
2501
+ autoComplete: "email",
2309
2502
  style: Q,
2310
2503
  onFocus: G,
2311
2504
  onBlur: Z
2312
2505
  }
2313
2506
  ) }),
2314
- /* @__PURE__ */ s(q, { label: "Last Name", gap: 8, children: /* @__PURE__ */ s(
2507
+ /* @__PURE__ */ s(ke, { onClick: () => {
2508
+ pn(re), _e(["", "", "", "", "", ""]), K("verifycode"), n == null || n(re);
2509
+ }, disabled: !re, children: "Send One-time Code" }),
2510
+ /* @__PURE__ */ s($e, {}),
2511
+ /* @__PURE__ */ s(Ee, { text: "I have my password", linkText: "Back to Sign in", onClick: () => {
2512
+ K("signin"), h == null || h();
2513
+ } }),
2514
+ /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2515
+ ] })
2516
+ ] })
2517
+ ) : J === "getcodewithname" ? (
2518
+ /* ── Get Code with Full Name (unregistered email) ── */
2519
+ /* @__PURE__ */ m(ye, { children: [
2520
+ /* @__PURE__ */ s(Ne, { title: "Complete your sign in", subtitle: "We’ve sent a one-time code to your email. Please enter the code and your full name to sign in" }),
2521
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2522
+ /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2315
2523
  "input",
2316
2524
  {
2317
- type: "text",
2318
- value: xt,
2319
- onChange: (g) => Qo(g.target.value),
2320
- placeholder: "Last name",
2321
- autoComplete: "family-name",
2525
+ type: "email",
2526
+ value: re,
2527
+ onChange: (g) => De(g.target.value),
2528
+ placeholder: "workemail@example.com",
2529
+ autoComplete: "email",
2322
2530
  style: Q,
2323
2531
  onFocus: G,
2324
2532
  onBlur: Z
2325
2533
  }
2326
- ) })
2327
- ] }),
2328
- /* @__PURE__ */ s(q, { label: "Email", gap: 8, children: /* @__PURE__ */ s(
2329
- "input",
2330
- {
2331
- type: "text",
2332
- value: qe,
2333
- onChange: (g) => {
2334
- Xo(g.target.value), Pe("");
2335
- },
2336
- placeholder: "workemail@example.com",
2337
- autoComplete: "email",
2338
- style: Q,
2339
- onFocus: G,
2340
- onBlur: Z
2341
- }
2342
- ) }),
2343
- /* @__PURE__ */ s(q, { label: "Create Password", gap: 8, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2344
- /* @__PURE__ */ s(
2534
+ ) }),
2535
+ /* @__PURE__ */ s(q, { label: "Full Name", gap: 12, children: /* @__PURE__ */ s(
2345
2536
  "input",
2346
2537
  {
2347
- type: It ? "text" : "password",
2348
- value: et,
2349
- onChange: (g) => {
2350
- Go(g.target.value), Pe("");
2351
- },
2352
- placeholder: "Enter password",
2353
- autoComplete: "new-password",
2354
- style: { ...Q, padding: "10px 44px 10px 14px" },
2538
+ type: "text",
2539
+ value: ae,
2540
+ onChange: (g) => R(g.target.value),
2541
+ placeholder: "Enter your full name",
2542
+ autoComplete: "name",
2543
+ style: Q,
2355
2544
  onFocus: G,
2356
2545
  onBlur: Z
2357
2546
  }
2358
- ),
2359
- /* @__PURE__ */ s(Bt, { show: It, onToggle: () => _o(!It) })
2360
- ] }) }),
2361
- /* @__PURE__ */ s(q, { label: "Confirm Password", gap: 8, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2362
- /* @__PURE__ */ s(
2547
+ ) }),
2548
+ /* @__PURE__ */ s(q, { label: "Enter one-time code", gap: 12, children: /* @__PURE__ */ s("div", { style: { display: "flex", gap: 8 }, children: me.map((g, O) => /* @__PURE__ */ s(
2363
2549
  "input",
2364
2550
  {
2365
- type: St ? "text" : "password",
2366
- value: kt,
2367
- onChange: (g) => {
2368
- Zo(g.target.value), Pe("");
2551
+ ref: (E) => {
2552
+ We.current[O] = E;
2553
+ },
2554
+ type: "text",
2555
+ inputMode: "numeric",
2556
+ maxLength: 1,
2557
+ value: g,
2558
+ onChange: (E) => jn(O, E.target.value),
2559
+ onKeyDown: (E) => Dn(O, E),
2560
+ onPaste: (E) => Pn(O, E),
2561
+ autoFocus: O === 0,
2562
+ style: {
2563
+ flex: 1,
2564
+ minWidth: 0,
2565
+ height: 40,
2566
+ textAlign: "center",
2567
+ fontSize: 16,
2568
+ fontWeight: 600,
2569
+ fontFamily: T,
2570
+ color: "var(--color-text)",
2571
+ border: "1px solid var(--color-input-border)",
2572
+ borderRadius: 4,
2573
+ outline: "none",
2574
+ background: "white",
2575
+ boxSizing: "border-box",
2576
+ transition: "border-color 0.15s, box-shadow 0.15s",
2577
+ caretColor: Xe
2369
2578
  },
2370
- placeholder: "Enter password",
2371
- autoComplete: "new-password",
2372
- style: { ...Q, padding: "10px 44px 10px 14px" },
2373
2579
  onFocus: G,
2374
2580
  onBlur: Z
2375
- }
2376
- ),
2377
- /* @__PURE__ */ s(Bt, { show: St, onToggle: () => er(!St) })
2378
- ] }) }),
2379
- hn && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 14, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2380
- /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2381
- hn
2382
- ] }),
2383
- (() => /* @__PURE__ */ s(ke, { onClick: () => {
2384
- if (Pe(""), !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(qe)) {
2385
- Pe("Please enter a valid email address.");
2386
- return;
2387
- }
2388
- if (et !== kt) {
2389
- Pe("Password and Confirm Password do not match!");
2390
- return;
2391
- }
2392
- i == null || i({ firstName: bt, lastName: xt, email: qe, password: et }), J("verifyemail");
2393
- }, disabled: !(bt && xt && qe && et && kt), children: "Create Account" }))(),
2394
- /* @__PURE__ */ s(Ee, { text: "I am already a member", linkText: "Sign In", onClick: () => {
2395
- J("signin"), h == null || h();
2396
- } }),
2397
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u })
2581
+ },
2582
+ O
2583
+ )) }) }),
2584
+ /* @__PURE__ */ s(ke, { onClick: () => {
2585
+ pn(re), n == null || n(re, ae, me.join(""));
2586
+ }, disabled: !re || !ae || me.some((g) => !g), children: "Verify & Sign In" }),
2587
+ tt && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 15, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2588
+ /* @__PURE__ */ s("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2589
+ tt
2590
+ ] }),
2591
+ /* @__PURE__ */ s($e, {}),
2592
+ /* @__PURE__ */ s(Ee, { text: "I have my password", linkText: "Back to Sign in", onClick: () => {
2593
+ K("signin"), h == null || h();
2594
+ } }),
2595
+ /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2596
+ ] })
2398
2597
  ] })
2399
- ] })
2400
- ) : V === "verifyemail" ? (
2401
- /* ── Verify Email ── */
2402
- /* @__PURE__ */ m(ye, { children: [
2403
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", gap: 16 }, children: [
2404
- /* @__PURE__ */ s("h2", { style: { fontFamily: T, fontWeight: 600, fontSize: "36px", lineHeight: "52px", color: "var(--color-text)", margin: 0 }, children: "Verify Email" }),
2405
- /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "26px", color: "var(--color-text-secondary)", margin: 0 }, children: "Verify your email to continue the signup process." })
2406
- ] }),
2407
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 24 }, children: [
2408
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
2409
- /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "24px", color: "var(--color-text-secondary)", margin: 0 }, children: "We have sent a verification link to:" }),
2410
- /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 600, lineHeight: "24px", color: "var(--color-text)", margin: 0 }, children: qe || "youremail@workemail.com" })
2411
- ] }),
2412
- /* @__PURE__ */ s("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "24px", color: "var(--color-text-secondary)", margin: 0 }, children: "Click on the link to complete the verification process. You might need to check your Spam folder" }),
2413
- /* @__PURE__ */ s(ke, { onClick: () => {
2414
- J("signin"), h == null || h();
2415
- }, children: "Go To Login" })
2416
- ] }),
2417
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2418
- ] })
2419
- ) : V === "verifycode" ? (
2420
- /* ── Verify Code ── */
2421
- /* @__PURE__ */ m(ye, { children: [
2422
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
2423
- /* @__PURE__ */ s("h2", { style: { fontFamily: T, fontWeight: 600, fontSize: "36px", lineHeight: "52px", color: "var(--color-text)", margin: 0 }, children: "Sign In with code" }),
2424
- /* @__PURE__ */ m("p", { style: { fontFamily: T, fontSize: 18, fontWeight: 400, lineHeight: "26px", color: "var(--color-text-secondary)", margin: 0 }, children: [
2425
- "We have sent a one-time code to your email:",
2426
- " ",
2427
- /* @__PURE__ */ s("span", { style: { color: "var(--color-text)" }, children: He || "workemail@example.com" }),
2428
- " ",
2429
- /* @__PURE__ */ s(
2430
- "button",
2598
+ ) : J === "resetpassword" ? (
2599
+ /* ── Reset Password ── */
2600
+ /* @__PURE__ */ m(ye, { children: [
2601
+ /* @__PURE__ */ s(Ne, { title: "Reset Password", subtitle: "We'll send an email to reset your password" }),
2602
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2603
+ /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2604
+ "input",
2431
2605
  {
2432
- type: "button",
2433
- onClick: () => J("getcode"),
2434
- style: { background: "none", border: "none", padding: 0, fontSize: 18, fontWeight: 400, color: Xe, cursor: "pointer", fontFamily: T, textDecoration: "underline" },
2435
- children: "Change email"
2606
+ type: "email",
2607
+ value: Ct,
2608
+ onChange: (g) => tr(g.target.value),
2609
+ placeholder: "workemail@example.com",
2610
+ autoFocus: !0,
2611
+ autoComplete: "email",
2612
+ style: Q,
2613
+ onFocus: G,
2614
+ onBlur: Z
2436
2615
  }
2437
- )
2616
+ ) }),
2617
+ /* @__PURE__ */ s(ke, { onClick: () => l == null ? void 0 : l(Ct), disabled: !Ct, children: "Send Reset Link" }),
2618
+ /* @__PURE__ */ s($e, {}),
2619
+ /* @__PURE__ */ s(Ee, { text: "I have my password", linkText: "Back to Sign in", onClick: () => {
2620
+ K("signin"), h == null || h();
2621
+ } }),
2622
+ /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2438
2623
  ] })
2439
- ] }),
2440
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2441
- /* @__PURE__ */ s(q, { label: "Enter one-time code", gap: 12, children: /* @__PURE__ */ s("div", { style: { display: "flex", gap: 8 }, children: me.map((g, O) => /* @__PURE__ */ s(
2442
- "input",
2443
- {
2444
- ref: (E) => {
2445
- We.current[O] = E;
2446
- },
2447
- type: "text",
2448
- inputMode: "numeric",
2449
- maxLength: 1,
2450
- value: g,
2451
- onChange: (E) => jn(O, E.target.value),
2452
- onKeyDown: (E) => Dn(O, E),
2453
- onPaste: (E) => Pn(O, E),
2454
- autoFocus: O === 0,
2455
- style: {
2456
- flex: 1,
2457
- minWidth: 0,
2458
- height: 40,
2459
- textAlign: "center",
2460
- fontSize: 16,
2461
- fontWeight: 600,
2462
- fontFamily: T,
2463
- color: "var(--color-text)",
2464
- border: "1px solid var(--color-input-border)",
2465
- borderRadius: 4,
2466
- outline: "none",
2467
- background: "white",
2468
- boxSizing: "border-box",
2469
- transition: "border-color 0.15s, box-shadow 0.15s",
2470
- caretColor: Xe
2471
- },
2472
- onFocus: G,
2473
- onBlur: Z
2474
- },
2475
- O
2476
- )) }) }),
2477
- /* @__PURE__ */ s(ke, { onClick: () => o == null ? void 0 : o(He, me.join("")), disabled: me.some((g) => !g), children: "Verify Code" }),
2478
- tt && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 15, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2479
- /* @__PURE__ */ s("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2480
- tt
2481
- ] }),
2482
- /* @__PURE__ */ s($e, {}),
2483
- /* @__PURE__ */ s(Ee, { text: "Not received yet?", linkText: "Resend", onClick: () => r == null ? void 0 : r(He) }),
2484
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 24 })
2485
2624
  ] })
2486
- ] })
2487
- ) : V === "getcode" ? (
2488
- /* ── Get Code (original email only) ── */
2489
- /* @__PURE__ */ m(ye, { children: [
2490
- /* @__PURE__ */ s(Ne, { title: "Get code", subtitle: "We'll send a one time pass-code to your email" }),
2491
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2492
- /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2493
- "input",
2494
- {
2495
- type: "email",
2496
- value: re,
2497
- onChange: (g) => De(g.target.value),
2498
- placeholder: "workemail@example.com",
2499
- autoFocus: !0,
2500
- autoComplete: "email",
2501
- style: Q,
2502
- onFocus: G,
2503
- onBlur: Z
2504
- }
2505
- ) }),
2506
- /* @__PURE__ */ s(ke, { onClick: () => {
2507
- pn(re), _e(["", "", "", "", "", ""]), J("verifycode"), n == null || n(re);
2508
- }, disabled: !re, children: "Send One-time Code" }),
2509
- /* @__PURE__ */ s($e, {}),
2510
- /* @__PURE__ */ s(Ee, { text: "I have my password", linkText: "Back to Sign in", onClick: () => {
2511
- J("signin"), h == null || h();
2512
- } }),
2513
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2514
- ] })
2515
- ] })
2516
- ) : V === "getcodewithname" ? (
2517
- /* ── Get Code with Full Name (unregistered email) ── */
2518
- /* @__PURE__ */ m(ye, { children: [
2519
- /* @__PURE__ */ s(Ne, { title: "Complete your sign in", subtitle: "We’ve sent a one-time code to your email. Please enter the code and your full name to sign in" }),
2520
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2521
- /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2522
- "input",
2523
- {
2524
- type: "email",
2525
- value: re,
2526
- onChange: (g) => De(g.target.value),
2527
- placeholder: "workemail@example.com",
2528
- autoComplete: "email",
2529
- style: Q,
2530
- onFocus: G,
2531
- onBlur: Z
2532
- }
2533
- ) }),
2534
- /* @__PURE__ */ s(q, { label: "Full Name", gap: 12, children: /* @__PURE__ */ s(
2535
- "input",
2536
- {
2537
- type: "text",
2538
- value: ae,
2539
- onChange: (g) => R(g.target.value),
2540
- placeholder: "Enter your full name",
2541
- autoComplete: "name",
2542
- style: Q,
2543
- onFocus: G,
2544
- onBlur: Z
2545
- }
2546
- ) }),
2547
- /* @__PURE__ */ s(q, { label: "Enter one-time code", gap: 12, children: /* @__PURE__ */ s("div", { style: { display: "flex", gap: 8 }, children: me.map((g, O) => /* @__PURE__ */ s(
2548
- "input",
2549
- {
2550
- ref: (E) => {
2551
- We.current[O] = E;
2552
- },
2553
- type: "text",
2554
- inputMode: "numeric",
2555
- maxLength: 1,
2556
- value: g,
2557
- onChange: (E) => jn(O, E.target.value),
2558
- onKeyDown: (E) => Dn(O, E),
2559
- onPaste: (E) => Pn(O, E),
2560
- autoFocus: O === 0,
2561
- style: {
2562
- flex: 1,
2563
- minWidth: 0,
2564
- height: 40,
2565
- textAlign: "center",
2566
- fontSize: 16,
2567
- fontWeight: 600,
2568
- fontFamily: T,
2569
- color: "var(--color-text)",
2570
- border: "1px solid var(--color-input-border)",
2571
- borderRadius: 4,
2572
- outline: "none",
2573
- background: "white",
2574
- boxSizing: "border-box",
2575
- transition: "border-color 0.15s, box-shadow 0.15s",
2576
- caretColor: Xe
2577
- },
2578
- onFocus: G,
2579
- onBlur: Z
2580
- },
2581
- O
2582
- )) }) }),
2583
- /* @__PURE__ */ s(ke, { onClick: () => {
2584
- pn(re), n == null || n(re, ae, me.join(""));
2585
- }, disabled: !re || !ae || me.some((g) => !g), children: "Verify & Sign In" }),
2586
- tt && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 15, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2587
- /* @__PURE__ */ s("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2588
- tt
2589
- ] }),
2590
- /* @__PURE__ */ s($e, {}),
2591
- /* @__PURE__ */ s(Ee, { text: "I have my password", linkText: "Back to Sign in", onClick: () => {
2592
- J("signin"), h == null || h();
2593
- } }),
2594
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2595
- ] })
2596
- ] })
2597
- ) : V === "resetpassword" ? (
2598
- /* ── Reset Password ── */
2599
- /* @__PURE__ */ m(ye, { children: [
2600
- /* @__PURE__ */ s(Ne, { title: "Reset Password", subtitle: "We'll send an email to reset your password" }),
2601
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 16 }, children: [
2602
- /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2603
- "input",
2604
- {
2605
- type: "email",
2606
- value: Ct,
2607
- onChange: (g) => tr(g.target.value),
2608
- placeholder: "workemail@example.com",
2609
- autoFocus: !0,
2610
- autoComplete: "email",
2611
- style: Q,
2612
- onFocus: G,
2613
- onBlur: Z
2614
- }
2615
- ) }),
2616
- /* @__PURE__ */ s(ke, { onClick: () => l == null ? void 0 : l(Ct), disabled: !Ct, children: "Send Reset Link" }),
2617
- /* @__PURE__ */ s($e, {}),
2618
- /* @__PURE__ */ s(Ee, { text: "I have my password", linkText: "Back to Sign in", onClick: () => {
2619
- J("signin"), h == null || h();
2620
- } }),
2621
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 40 })
2622
- ] })
2623
- ] })
2624
- ) : (
2625
- /* ── Sign In ── */
2626
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start", width: "100%", gap: 48 }, children: [
2627
- /* @__PURE__ */ s(Ne, { title: "Sign in", subtitle: "Enter your email & password to continue" }),
2628
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start", width: "100%", gap: 8 }, children: [
2629
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start", width: "100%", gap: 16 }, children: [
2630
- /* @__PURE__ */ m("form", { onSubmit: yr, style: { width: "100%", display: "flex", flexDirection: "column", gap: 16 }, children: [
2631
- /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2632
- "input",
2633
- {
2634
- ref: Ue,
2635
- type: "email",
2636
- value: j,
2637
- onChange: (g) => v(g.target.value),
2638
- placeholder: "workemail@example.com",
2639
- required: !0,
2640
- autoComplete: "email",
2641
- style: { ...Q, border: `1px solid ${xe ? "var(--color-text)" : "var(--color-input-border)"}` },
2642
- onFocus: Un,
2643
- onBlur: Tn
2644
- }
2645
- ) }),
2646
- /* @__PURE__ */ s(q, { label: "Password", gap: 12, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2647
- /* @__PURE__ */ s(
2625
+ ) : (
2626
+ /* ── Sign In ── */
2627
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start", width: "100%", gap: 48 }, children: [
2628
+ /* @__PURE__ */ s(Ne, { title: "Sign in", subtitle: "Enter your email & password to continue" }),
2629
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start", width: "100%", gap: 8 }, children: [
2630
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", alignItems: "flex-start", width: "100%", gap: 16 }, children: [
2631
+ /* @__PURE__ */ m("form", { onSubmit: yr, style: { width: "100%", display: "flex", flexDirection: "column", gap: 16 }, children: [
2632
+ /* @__PURE__ */ s(q, { label: "Email", gap: 12, children: /* @__PURE__ */ s(
2648
2633
  "input",
2649
2634
  {
2650
- ref: Te,
2651
- type: Y ? "text" : "password",
2652
- value: S,
2653
- onChange: (g) => F(g.target.value),
2654
- placeholder: "Enter password",
2635
+ ref: Ue,
2636
+ type: "email",
2637
+ value: j,
2638
+ onChange: (g) => v(g.target.value),
2639
+ placeholder: "workemail@example.com",
2655
2640
  required: !0,
2656
- autoComplete: "current-password",
2657
- style: { ...Q, padding: "10px 44px 10px 16px", border: `1px solid ${xe ? "var(--color-text)" : "var(--color-input-border)"}` },
2641
+ autoComplete: "email",
2642
+ style: { ...Q, border: `1px solid ${xe ? "var(--color-text)" : "var(--color-input-border)"}` },
2658
2643
  onFocus: Un,
2659
2644
  onBlur: Tn
2660
2645
  }
2646
+ ) }),
2647
+ /* @__PURE__ */ s(q, { label: "Password", gap: 12, children: /* @__PURE__ */ m("div", { style: { position: "relative" }, children: [
2648
+ /* @__PURE__ */ s(
2649
+ "input",
2650
+ {
2651
+ ref: Te,
2652
+ type: Y ? "text" : "password",
2653
+ value: S,
2654
+ onChange: (g) => F(g.target.value),
2655
+ placeholder: "Enter password",
2656
+ required: !0,
2657
+ autoComplete: "current-password",
2658
+ style: { ...Q, padding: "10px 44px 10px 16px", border: `1px solid ${xe ? "var(--color-text)" : "var(--color-input-border)"}` },
2659
+ onFocus: Un,
2660
+ onBlur: Tn
2661
+ }
2662
+ ),
2663
+ /* @__PURE__ */ s(Bt, { show: Y, onToggle: () => X(!Y) })
2664
+ ] }) }),
2665
+ /* @__PURE__ */ s(ke, { type: "submit", disabled: !An, children: On ? "Signing in…" : "Sign In" })
2666
+ ] }),
2667
+ xe && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 15, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2668
+ /* @__PURE__ */ s("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2669
+ xe
2670
+ ] }),
2671
+ /* @__PURE__ */ m("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", width: "100%" }, children: [
2672
+ /* @__PURE__ */ s(
2673
+ "button",
2674
+ {
2675
+ type: "button",
2676
+ onClick: () => {
2677
+ K("resetpassword"), t == null || t();
2678
+ },
2679
+ style: { background: "none", border: "none", padding: 0, fontSize: 15, fontWeight: 400, lineHeight: "100%", color: "var(--color-text)", cursor: "pointer", fontFamily: T, textDecoration: "underline" },
2680
+ children: "Forgot Password?"
2681
+ }
2661
2682
  ),
2662
- /* @__PURE__ */ s(Bt, { show: Y, onToggle: () => X(!Y) })
2663
- ] }) }),
2664
- /* @__PURE__ */ s(ke, { type: "submit", disabled: !An, children: On ? "Signing in…" : "Sign In" })
2665
- ] }),
2666
- xe && /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", padding: 8, gap: 6, width: "100%", boxSizing: "border-box", background: "var(--color-error-bg)", borderRadius: 5, fontSize: 15, fontWeight: 400, lineHeight: "22px", color: "var(--color-text)", fontFamily: T }, children: [
2667
- /* @__PURE__ */ s("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "var(--color-text)", style: { flexShrink: 0 }, children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }) }),
2668
- xe
2669
- ] }),
2670
- /* @__PURE__ */ m("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", width: "100%" }, children: [
2671
- /* @__PURE__ */ s(
2672
- "button",
2673
- {
2674
- type: "button",
2675
- onClick: () => {
2676
- J("resetpassword"), t == null || t();
2677
- },
2678
- style: { background: "none", border: "none", padding: 0, fontSize: 15, fontWeight: 400, lineHeight: "100%", color: "var(--color-text)", cursor: "pointer", fontFamily: T, textDecoration: "underline" },
2679
- children: "Forgot Password?"
2680
- }
2681
- ),
2682
- /* @__PURE__ */ s(
2683
- "button",
2684
- {
2685
- type: "button",
2686
- onClick: () => {
2687
- J("getcode"), n == null || n();
2688
- },
2689
- style: { background: "none", border: "none", padding: 0, fontSize: 15, fontWeight: 600, lineHeight: "100%", color: Xe, cursor: "pointer", fontFamily: T, textDecoration: "underline solid", textUnderlineOffset: 0, textDecorationSkipInk: "none" },
2690
- children: "Sign in with one-time code"
2691
- }
2692
- )
2683
+ /* @__PURE__ */ s(
2684
+ "button",
2685
+ {
2686
+ type: "button",
2687
+ onClick: () => {
2688
+ K("getcode"), n == null || n();
2689
+ },
2690
+ style: { background: "none", border: "none", padding: 0, fontSize: 15, fontWeight: 600, lineHeight: "100%", color: Xe, cursor: "pointer", fontFamily: T, textDecoration: "underline solid", textUnderlineOffset: 0, textDecorationSkipInk: "none" },
2691
+ children: "Sign in with one-time code"
2692
+ }
2693
+ )
2694
+ ] }),
2695
+ /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 2 }, children: [
2696
+ /* @__PURE__ */ s($e, {}),
2697
+ /* @__PURE__ */ s(La, { projectId: b, onSuccess: p, onError: f })
2698
+ ] })
2693
2699
  ] }),
2694
- /* @__PURE__ */ m("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: 2 }, children: [
2695
- /* @__PURE__ */ s($e, {}),
2696
- /* @__PURE__ */ s(La, { projectId: b, onSuccess: p, onError: f })
2697
- ] })
2698
- ] }),
2699
- /* @__PURE__ */ s(
2700
- Ee,
2701
- {
2702
- text: P === "waitlist" ? "Don't have an account yet?" : "Not a member yet?",
2703
- linkText: P === "waitlist" ? "Join Waitlist" : "Sign Up",
2704
- onClick: () => {
2705
- if (P === "waitlist") {
2706
- J("waitlist"), a == null || a();
2707
- return;
2700
+ /* @__PURE__ */ s(
2701
+ Ee,
2702
+ {
2703
+ text: P === "waitlist" ? "Don't have an account yet?" : "Not a member yet?",
2704
+ linkText: P === "waitlist" ? "Join Waitlist" : "Sign Up",
2705
+ onClick: () => {
2706
+ if (P === "waitlist") {
2707
+ K("waitlist"), a == null || a();
2708
+ return;
2709
+ }
2710
+ K("signup"), i == null || i();
2708
2711
  }
2709
- J("signup"), i == null || i();
2710
2712
  }
2711
- }
2712
- ),
2713
- /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 16 })
2713
+ )
2714
+ ] })
2714
2715
  ] })
2715
- ] })
2716
- ) }) })
2716
+ ) }),
2717
+ J === "signin" && /* @__PURE__ */ s("div", { style: {
2718
+ position: "absolute",
2719
+ bottom: 40,
2720
+ left: 0,
2721
+ right: 0,
2722
+ display: "flex",
2723
+ justifyContent: "center"
2724
+ }, children: /* @__PURE__ */ s("div", { style: { width: "100%", maxWidth: 360 }, children: /* @__PURE__ */ s(Ie, { onTerms: d, onPrivacyPolicy: u, paddingTop: 0 }) }) })
2725
+ ] })
2717
2726
  ] });
2718
2727
  }
2719
2728
  const _ = "var(--font-sans)", ao = 3, Gt = {
@@ -2904,7 +2913,7 @@ function ts({
2904
2913
  title: "Signal Intelligence",
2905
2914
  info: "Identify emerging themes, sentiment shifts, and customer issues hidden inside everyday service conversations."
2906
2915
  }
2907
- ].map(({ Icon: S, title: F, info: K }, $) => /* @__PURE__ */ m("div", { style: {
2916
+ ].map(({ Icon: S, title: F, info: V }, $) => /* @__PURE__ */ m("div", { style: {
2908
2917
  flexShrink: 0,
2909
2918
  width: 264,
2910
2919
  height: 320,
@@ -2935,7 +2944,7 @@ function ts({
2935
2944
  fontWeight: 400,
2936
2945
  lineHeight: "normal",
2937
2946
  color: "rgba(255,255,255,0.65)"
2938
- }, children: K })
2947
+ }, children: V })
2939
2948
  ] })
2940
2949
  ] }, $)) }),
2941
2950
  /* @__PURE__ */ s("div", { style: {