test-ahaan-v2-4 1.1.23 → 1.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -193,12 +193,14 @@ var Iframe = () => {
193
193
  var Iframe_default = Iframe;
194
194
 
195
195
  // src/Components/EmailAndSocial.tsx
196
+ var import_wagmi = require("wagmi");
196
197
  var import_jsx_runtime4 = require("react/jsx-runtime");
197
198
  function EmailAndSocial(props) {
198
199
  const { setView, authController: authController2, email, setEmail } = (0, import_react3.useContext)(NavContext_default);
199
200
  const socialLogins = useSocialLoginConnectors();
200
201
  const [authenticated, setAuthenticated] = (0, import_react3.useState)(false);
201
202
  const [openIframe, setOpenFrame] = (0, import_react3.useState)(false);
203
+ const { connect, connectors: connectors2 } = (0, import_wagmi.useConnect)();
202
204
  const baseUrl = "https://staging.tria.so";
203
205
  const socialLoginClicked = (socialLoginIndex) => __async(this, null, function* () {
204
206
  const top = window.screenY + window.outerHeight / 2.5;
@@ -239,9 +241,127 @@ function EmailAndSocial(props) {
239
241
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "px-2 justify-center items-center flex", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "text-center text-white text-opacity-25 text-xs font-semibold font-Montserrat uppercase leading-[14.40px]", children: "OR" }) }),
240
242
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "grow shrink basis-0 h-[0px] border-2 border-white border-opacity-25" })
241
243
  ] }),
242
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "", children: authenticated === false ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "self-stretch px-5 py-2 justify-center items-center gap-5 inline-flex", children: socialLogins == null ? void 0 : socialLogins.map((social, index3) => {
243
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "w-10 h-10 bg-neutral-50 rounded-[28.33px] shadow flex justify-center items-center ", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { onClick: () => socialLoginClicked(index3), className: "w-6 h-6", children: social == null ? void 0 : social.iconUrl }) }, index3);
244
- }) }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "px-8 py-2 bg-green-400 text-green-700 font-bold font-Montserrat rounded-md", children: "Authenticated" }) })
244
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "", children: authenticated === false ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "self-stretch px-5 py-2 justify-center items-center gap-5 inline-flex", children: [
245
+ socialLogins == null ? void 0 : socialLogins.map((social, index3) => {
246
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "w-10 h-10 bg-neutral-50 rounded-[28.33px] shadow flex justify-center items-center ", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { onClick: () => socialLoginClicked(index3), className: "w-6 h-6", children: social == null ? void 0 : social.iconUrl }) }, index3);
247
+ }),
248
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "w-10 h-10 bg-neutral-50 rounded-[28.33px] shadow flex justify-center items-center ", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { onClick: () => {
249
+ connect({ connector: connectors2[2] });
250
+ }, className: "w-6 h-6", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("svg", { width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
251
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { width: "28", height: "28", fill: "#1E1E1E" }),
252
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Email - sign up", children: [
253
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M-338 -827C-338 -828.105 -337.105 -829 -336 -829H2281C2282.1 -829 2283 -828.105 2283 -827V228C2283 229.105 2282.1 230 2281 230H-336C-337.105 230 -338 229.105 -338 228V-827Z", fill: "#404040" }),
254
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Card", filter: "url(#filter0_ddd_1_2)", children: [
255
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { "clip-path": "url(#clip0_1_2)", children: [
256
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "-270", y: "-711", width: "448", height: "840", rx: "20", fill: "#101010" }),
257
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { id: "Frame 45", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { id: "Modal Content - initial - Black bg", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Frame 1800", children: [
258
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { id: "div.relative", "clip-path": "url(#clip1_1_2)", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Frame 1801", filter: "url(#filter1_dd_1_2)", children: [
259
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "-6", y: "-6", width: "40", height: "40", rx: "20", fill: "white", "shape-rendering": "crispEdges" }),
260
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { id: "Frame 1000003111", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Wallet", children: [
261
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { width: "28", height: "28", rx: "6", fill: "white" }),
262
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "metamask-fox 1", children: [
263
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector", d: "M24.0892 3.12012L15.3447 9.61478L16.9618 5.78302L24.0892 3.12012Z", fill: "#E2761B", stroke: "#E2761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
264
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Group", children: [
265
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_2", d: "M3.9021 3.12012L12.5763 9.6763L11.0383 5.78302L3.9021 3.12012Z", fill: "#E4761B", stroke: "#E4761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
266
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_3", d: "M20.943 18.1748L18.614 21.7429L23.5971 23.1139L25.0296 18.2539L20.943 18.1748Z", fill: "#E4761B", stroke: "#E4761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
267
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_4", d: "M2.97925 18.2539L4.40298 23.1139L9.38603 21.7429L7.05709 18.1748L2.97925 18.2539Z", fill: "#E4761B", stroke: "#E4761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
268
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_5", d: "M9.10488 12.1458L7.71631 14.2462L12.6642 14.4659L12.4884 9.14893L9.10488 12.1458Z", fill: "#E4761B", stroke: "#E4761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
269
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_6", d: "M18.8862 12.1458L15.4587 9.0874L15.3445 14.4659L20.2836 14.2462L18.8862 12.1458Z", fill: "#E4761B", stroke: "#E4761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
270
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_7", d: "M9.38599 21.7429L12.3565 20.2928L9.79025 18.2891L9.38599 21.7429Z", fill: "#E4761B", stroke: "#E4761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
271
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_8", d: "M15.6345 20.2928L18.6138 21.7429L18.2007 18.2891L15.6345 20.2928Z", fill: "#E4761B", stroke: "#E4761B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" })
272
+ ] }),
273
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Group_2", children: [
274
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_9", d: "M18.6138 21.7426L15.6345 20.2925L15.8718 22.2347L15.8454 23.0521L18.6138 21.7426Z", fill: "#D7C1B3", stroke: "#D7C1B3", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
275
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_10", d: "M9.38599 21.7426L12.1543 23.0521L12.1368 22.2347L12.3565 20.2925L9.38599 21.7426Z", fill: "#D7C1B3", stroke: "#D7C1B3", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" })
276
+ ] }),
277
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_11", d: "M12.1983 17.0058L9.71997 16.2763L11.4689 15.4766L12.1983 17.0058Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
278
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_12", d: "M15.7927 17.0058L16.5222 15.4766L18.2799 16.2763L15.7927 17.0058Z", fill: "#233447", stroke: "#233447", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
279
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Group_3", children: [
280
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_13", d: "M9.38607 21.7424L9.80791 18.1743L7.05713 18.2534L9.38607 21.7424Z", fill: "#CD6116", stroke: "#CD6116", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
281
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_14", d: "M18.1921 18.1743L18.614 21.7424L20.9429 18.2534L18.1921 18.1743Z", fill: "#CD6116", stroke: "#CD6116", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
282
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_15", d: "M20.2838 14.2461L15.3447 14.4658L15.8017 17.0057L16.5312 15.4765L18.2889 16.2762L20.2838 14.2461Z", fill: "#CD6116", stroke: "#CD6116", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
283
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_16", d: "M9.72007 16.2762L11.4778 15.4765L12.1984 17.0057L12.6642 14.4658L7.71631 14.2461L9.72007 16.2762Z", fill: "#CD6116", stroke: "#CD6116", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" })
284
+ ] }),
285
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Group_4", children: [
286
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_17", d: "M7.71631 14.2461L9.79038 18.2888L9.72007 16.2762L7.71631 14.2461Z", fill: "#E4751F", stroke: "#E4751F", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
287
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_18", d: "M18.2888 16.2762L18.2009 18.2888L20.2838 14.2461L18.2888 16.2762Z", fill: "#E4751F", stroke: "#E4751F", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
288
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_19", d: "M12.6643 14.4658L12.1985 17.0057L12.7785 20.0025L12.9103 16.0565L12.6643 14.4658Z", fill: "#E4751F", stroke: "#E4751F", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
289
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_20", d: "M15.3447 14.4658L15.1074 16.0477L15.2129 20.0025L15.8017 17.0057L15.3447 14.4658Z", fill: "#E4751F", stroke: "#E4751F", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" })
290
+ ] }),
291
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_21", d: "M15.8017 17.0058L15.2129 20.0027L15.6347 20.2927L18.201 18.2889L18.2888 16.2764L15.8017 17.0058Z", fill: "#F6851B", stroke: "#F6851B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
292
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_22", d: "M9.71997 16.2764L9.79028 18.2889L12.3565 20.2927L12.7784 20.0027L12.1983 17.0058L9.71997 16.2764Z", fill: "#F6851B", stroke: "#F6851B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
293
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_23", d: "M15.8455 23.0522L15.8719 22.2348L15.6522 22.0415H12.3389L12.1368 22.2348L12.1543 23.0522L9.38599 21.7427L10.3527 22.5336L12.3125 23.8958H15.6785L17.6471 22.5336L18.6139 21.7427L15.8455 23.0522Z", fill: "#C0AD9E", stroke: "#C0AD9E", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
294
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_24", d: "M15.6348 20.2925L15.2129 20.0024H12.7785L12.3567 20.2925L12.137 22.2347L12.3391 22.0414H15.6523L15.8721 22.2347L15.6348 20.2925Z", fill: "#161616", stroke: "#161616", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
295
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { id: "Group_5", children: [
296
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_25", d: "M24.4581 10.0366L25.2051 6.45094L24.089 3.12012L15.6345 9.39507L18.8862 12.1459L23.4826 13.4905L24.5021 12.304L24.0626 11.9877L24.7657 11.3461L24.2208 10.9243L24.9239 10.3882L24.4581 10.0366Z", fill: "#763D16", stroke: "#763D16", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
297
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_26", d: "M2.79468 6.45094L3.5417 10.0366L3.06712 10.3882L3.7702 10.9243L3.2341 11.3461L3.93718 11.9877L3.49775 12.304L4.50843 13.4905L9.10478 12.1459L12.3565 9.39507L3.90202 3.12012L2.79468 6.45094Z", fill: "#763D16", stroke: "#763D16", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" })
298
+ ] }),
299
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_27", d: "M23.4828 13.4901L18.8864 12.1455L20.2838 14.2459L18.2009 18.2886L20.9429 18.2535H25.0296L23.4828 13.4901Z", fill: "#F6851B", stroke: "#F6851B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
300
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_28", d: "M9.1048 12.1455L4.50844 13.4901L2.97925 18.2535H7.05709L9.7903 18.2886L7.71622 14.2459L9.1048 12.1455Z", fill: "#F6851B", stroke: "#F6851B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" }),
301
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { id: "Vector_29", d: "M15.3447 14.4657L15.6347 9.39477L16.9705 5.78271H11.0383L12.3566 9.39477L12.6642 14.4657L12.7697 16.0652L12.7784 20.0024H15.2128L15.2304 16.0652L15.3447 14.4657Z", fill: "#F6851B", stroke: "#F6851B", "stroke-width": "0.0878845", "stroke-linecap": "round", "stroke-linejoin": "round" })
302
+ ] })
303
+ ] }) })
304
+ ] }) }),
305
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "-253.25", y: "-201.25", width: "414.5", height: "258.5", rx: "15.25", stroke: "url(#paint0_linear_1_2)", "stroke-opacity": "0.3", "stroke-width": "1.5" })
306
+ ] }) }) })
307
+ ] }),
308
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "-269", y: "-710", width: "446", height: "838", rx: "19", stroke: "url(#paint1_linear_1_2)", "stroke-width": "2" })
309
+ ] }),
310
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M-336 -828H2281V-830H-336V-828ZM2282 -827V228H2284V-827H2282ZM2281 229H-336V231H2281V229ZM-337 228V-827H-339V228H-337ZM-336 229C-336.552 229 -337 228.552 -337 228H-339C-339 229.657 -337.657 231 -336 231V229ZM2282 228C2282 228.552 2281.55 229 2281 229V231C2282.66 231 2284 229.657 2284 228H2282ZM2281 -828C2281.55 -828 2282 -827.552 2282 -827H2284C2284 -828.657 2282.66 -830 2281 -830V-828ZM-336 -830C-337.657 -830 -339 -828.657 -339 -827H-337C-337 -827.552 -336.552 -828 -336 -828V-830Z", fill: "white", "fill-opacity": "0.1" })
311
+ ] }),
312
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("defs", { children: [
313
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("filter", { id: "filter0_ddd_1_2", x: "-300", y: "-739", width: "508", height: "900", filterUnits: "userSpaceOnUse", "color-interpolation-filters": "sRGB", children: [
314
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }),
315
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
316
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feOffset", {}),
317
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feGaussianBlur", { stdDeviation: "0.5" }),
318
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
319
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0.2 0" }),
320
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1_2" }),
321
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
322
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feOffset", { dy: "2" }),
323
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feGaussianBlur", { stdDeviation: "15" }),
324
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
325
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0.08 0" }),
326
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feBlend", { mode: "normal", in2: "effect1_dropShadow_1_2", result: "effect2_dropShadow_1_2" }),
327
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
328
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feOffset", {}),
329
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feGaussianBlur", { stdDeviation: "7.5" }),
330
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
331
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0.03 0" }),
332
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feBlend", { mode: "normal", in2: "effect2_dropShadow_1_2", result: "effect3_dropShadow_1_2" }),
333
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect3_dropShadow_1_2", result: "shape" })
334
+ ] }),
335
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("filter", { id: "filter1_dd_1_2", x: "-11", y: "-11", width: "50", height: "55", filterUnits: "userSpaceOnUse", "color-interpolation-filters": "sRGB", children: [
336
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }),
337
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
338
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feOffset", { dy: "4.99999" }),
339
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feGaussianBlur", { stdDeviation: "2.5" }),
340
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
341
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.0627451 0 0 0 0 0.0627451 0 0 0 0 0.0627451 0 0 0 0.05 0" }),
342
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1_2" }),
343
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
344
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feOffset", {}),
345
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feGaussianBlur", { stdDeviation: "2.5" }),
346
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
347
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.0627451 0 0 0 0 0.0627451 0 0 0 0 0.0627451 0 0 0 0.1 0" }),
348
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feBlend", { mode: "normal", in2: "effect1_dropShadow_1_2", result: "effect2_dropShadow_1_2" }),
349
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect2_dropShadow_1_2", result: "shape" })
350
+ ] }),
351
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("linearGradient", { id: "paint0_linear_1_2", x1: "-254", y1: "-202", x2: "162", y2: "58", gradientUnits: "userSpaceOnUse", children: [
352
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { "stop-color": "#9F8BFF" }),
353
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "1", "stop-color": "#7053FF" })
354
+ ] }),
355
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("linearGradient", { id: "paint1_linear_1_2", x1: "-270", y1: "-711", x2: "388.451", y2: "-485.496", gradientUnits: "userSpaceOnUse", children: [
356
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { "stop-color": "#808080", "stop-opacity": "0.05" }),
357
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "0.523776", "stop-color": "#808080", "stop-opacity": "0" }),
358
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("stop", { offset: "1", "stop-color": "#808080", "stop-opacity": "0.15" })
359
+ ] }),
360
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "clip0_1_2", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "-270", y: "-711", width: "448", height: "840", rx: "20", fill: "white" }) }),
361
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "clip1_1_2", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { width: "376", height: "56", fill: "white", transform: "translate(-234 -14)" }) })
362
+ ] })
363
+ ] }) }) })
364
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "px-8 py-2 bg-green-400 text-green-700 font-bold font-Montserrat rounded-md", children: "Authenticated" }) })
245
365
  ] }) })
246
366
  ] });
247
367
  }
@@ -630,7 +750,7 @@ function SignUp() {
630
750
  var import_react5 = require("react");
631
751
  var import_jsx_runtime11 = require("react/jsx-runtime");
632
752
  function SignInPassword() {
633
- const { triaName, setView, setShowOnboarding, setTriaName } = (0, import_react5.useContext)(NavContext_default);
753
+ const { triaName, setView, setShowOnboarding, setTriaName, email, setEmail } = (0, import_react5.useContext)(NavContext_default);
634
754
  const [password, setPassword] = (0, import_react5.useState)("");
635
755
  const [loader, setLoader] = (0, import_react5.useState)(false);
636
756
  (0, import_react5.useEffect)(() => {
@@ -650,7 +770,7 @@ function SignInPassword() {
650
770
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "w-[416px] h-[255px] flex-col justify-center items-center gap-3 inline-flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "self-stretch h-[255px] px-5 py-4 rounded-2xl border border-violet-400 border-opacity-30 flex-col justify-center items-center gap-2 flex", children: [
651
771
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "self-stretch h-[46px] py-3 flex-col justify-center items-start gap-4 flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "self-stretch justify-start items-center gap-2 inline-flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mix-blend-difference text-center text-white text-opacity-80 text-lg font-medium font-Montserrat leading-snug", children: "Login with email" }) }) }),
652
772
  /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "self-stretch h-32 flex-col justify-center items-center flex", children: [
653
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "self-stretch py-3 justify-center items-center gap-2 inline-flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", { className: "grow shrink basis-0 h-10 px-5 py-3 font-Montserrat bg-white bg-opacity-5 rounded-[20px] justify-start items-center flex", type: "email", placeholder: "your@email.com" }) }),
773
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "self-stretch py-3 justify-center items-center gap-2 inline-flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", { className: "grow shrink basis-0 h-10 px-5 py-3 font-Montserrat bg-white bg-opacity-5 rounded-[20px] justify-start items-center flex", type: "email", placeholder: "your@email.com", value: email, onChange: (e) => setEmail(e.target.value) }) }),
654
774
  /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "self-stretch py-3 justify-center items-center gap-2 inline-flex", children: [
655
775
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", { className: "grow shrink basis-0 h-10 px-5 py-3 bg-white bg-opacity-5 rounded-[20px] justify-start items-center flex font-Montserrat", type: "password", placeholder: "Password" }),
656
776
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { onClick: () => setLoader(true), className: "w-[99px] h-10 px-5 py-3 mix-blend-difference bg-white rounded-[20px] justify-center items-center flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "justify-center items-center flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("button", { children: [
@@ -837,7 +957,7 @@ function index2() {
837
957
  }
838
958
 
839
959
  // src/index.tsx
840
- var import_wagmi = require("wagmi");
960
+ var import_wagmi2 = require("wagmi");
841
961
  var import_chains = require("wagmi/chains");
842
962
  var import_public = require("wagmi/providers/public");
843
963
  var import_metaMask = require("wagmi/connectors/metaMask");
@@ -966,7 +1086,7 @@ var IframeController = class {
966
1086
  var import_core = require("@tria-sdk/core");
967
1087
  var import_jsx_runtime15 = require("react/jsx-runtime");
968
1088
  window.Buffer = window.Buffer || require("buffer").Buffer;
969
- var { chains, publicClient, webSocketPublicClient } = (0, import_wagmi.configureChains)(
1089
+ var { chains, publicClient, webSocketPublicClient } = (0, import_wagmi2.configureChains)(
970
1090
  [
971
1091
  import_chains.mainnet,
972
1092
  import_chains.polygon,
@@ -1016,7 +1136,7 @@ var iframe = new IframeController(
1016
1136
  );
1017
1137
  console.log("ifrome", iframe);
1018
1138
  var authController = new import_core.AuthController("https://staging.tria.so");
1019
- var wagmiConfig = (0, import_wagmi.createConfig)({
1139
+ var wagmiConfig = (0, import_wagmi2.createConfig)({
1020
1140
  autoConnect: true,
1021
1141
  connectors,
1022
1142
  publicClient,
@@ -1042,7 +1162,7 @@ var Application = ({ dappName, logo }) => {
1042
1162
  email,
1043
1163
  setEmail
1044
1164
  };
1045
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_jsx_runtime15.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_wagmi.WagmiConfig, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(NavContext_default.Provider, { value: nav_context_object, children: [
1165
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_jsx_runtime15.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_wagmi2.WagmiConfig, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(NavContext_default.Provider, { value: nav_context_object, children: [
1046
1166
  /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_react_router_dom5.BrowserRouter, { children: [
1047
1167
  showWallet && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "bg flex justify-between bg-black", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "mb-4 mr-2 absolute right-0 bottom-40 bg-black", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("iframe", { width: "450", height: "840", src: "https://reliable-semifreddo-e8e93e.netlify.app/" }) }) }),
1048
1168
  showOnboarding && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: `absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 shadow-md border border-gray-800 rounded-lg ${isDarkMode ? "dark" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "", children: [