@floe-ai/sdk 0.1.0-dev.12 → 0.1.0-dev.14
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-sdk/floe-sdk.es.js +103 -53
- package/dist-sdk/floe-sdk.es.js.map +1 -1
- package/dist-sdk/floe-sdk.iife.js +100 -50
- package/dist-sdk/floe-sdk.iife.js.map +1 -1
- package/dist-sdk/floe-sdk.umd.js +100 -50
- package/dist-sdk/floe-sdk.umd.js.map +1 -1
- package/package.json +1 -1
package/dist-sdk/floe-sdk.es.js
CHANGED
|
@@ -18412,95 +18412,145 @@ class ec extends Yd {
|
|
|
18412
18412
|
}
|
|
18413
18413
|
</style>
|
|
18414
18414
|
|
|
18415
|
-
<!-- Icon -->
|
|
18415
|
+
<!-- Icon with live indicator -->
|
|
18416
18416
|
<div style="display: flex; justify-content: center; margin-bottom: 24px;">
|
|
18417
|
-
<div style="
|
|
18418
|
-
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
|
|
18422
|
-
|
|
18423
|
-
|
|
18424
|
-
|
|
18425
|
-
|
|
18426
|
-
|
|
18427
|
-
|
|
18428
|
-
|
|
18429
|
-
<
|
|
18430
|
-
|
|
18431
|
-
|
|
18432
|
-
|
|
18417
|
+
<div style="position: relative;">
|
|
18418
|
+
<div style="
|
|
18419
|
+
width: 64px;
|
|
18420
|
+
height: 64px;
|
|
18421
|
+
border-radius: 16px;
|
|
18422
|
+
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
|
|
18423
|
+
border: 1px solid rgba(139, 92, 246, 0.3);
|
|
18424
|
+
display: flex;
|
|
18425
|
+
align-items: center;
|
|
18426
|
+
justify-content: center;
|
|
18427
|
+
box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
|
|
18428
|
+
">
|
|
18429
|
+
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="url(#welcomeIconGradient)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
18430
|
+
<defs>
|
|
18431
|
+
<linearGradient id="welcomeIconGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
18432
|
+
<stop offset="0%" stop-color="#818cf8" />
|
|
18433
|
+
<stop offset="100%" stop-color="#a78bfa" />
|
|
18434
|
+
</linearGradient>
|
|
18435
|
+
</defs>
|
|
18436
|
+
<!-- Headset/support icon -->
|
|
18437
|
+
<path d="M3 18v-6a9 9 0 0 1 18 0v6"/>
|
|
18438
|
+
<path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3v5z"/>
|
|
18439
|
+
<path d="M3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3v5z"/>
|
|
18440
|
+
</svg>
|
|
18441
|
+
</div>
|
|
18442
|
+
<!-- Live pulse indicator -->
|
|
18443
|
+
<div style="
|
|
18444
|
+
position: absolute;
|
|
18445
|
+
top: -2px;
|
|
18446
|
+
right: -2px;
|
|
18447
|
+
width: 14px;
|
|
18448
|
+
height: 14px;
|
|
18449
|
+
background: #10b981;
|
|
18450
|
+
border-radius: 50%;
|
|
18451
|
+
border: 2px solid rgba(24, 24, 28, 0.99);
|
|
18452
|
+
animation: livePulse 2s ease-in-out infinite;
|
|
18453
|
+
"></div>
|
|
18433
18454
|
</div>
|
|
18434
18455
|
</div>
|
|
18435
18456
|
|
|
18457
|
+
<style>
|
|
18458
|
+
@keyframes livePulse {
|
|
18459
|
+
0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
|
|
18460
|
+
50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
|
|
18461
|
+
}
|
|
18462
|
+
#floe-start-guided, #floe-skip-guided {
|
|
18463
|
+
cursor: pointer !important;
|
|
18464
|
+
}
|
|
18465
|
+
#floe-start-guided:hover, #floe-skip-guided:hover {
|
|
18466
|
+
cursor: pointer !important;
|
|
18467
|
+
}
|
|
18468
|
+
</style>
|
|
18469
|
+
|
|
18436
18470
|
<!-- Title -->
|
|
18437
18471
|
<h2 style="margin: 0 0 12px 0; font-size: 20px; font-weight: 600; color: rgba(255, 255, 255, 0.95); text-align: center; letter-spacing: -0.02em;">
|
|
18438
|
-
|
|
18472
|
+
Your AI guide is ready
|
|
18439
18473
|
</h2>
|
|
18440
18474
|
|
|
18441
18475
|
<!-- Description -->
|
|
18442
|
-
<p style="margin: 0 0
|
|
18443
|
-
|
|
18476
|
+
<p style="margin: 0 0 8px 0; color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.6; text-align: center;">
|
|
18477
|
+
Start a live voice conversation to get personalized help setting up your account.
|
|
18444
18478
|
</p>
|
|
18445
18479
|
|
|
18446
|
-
<!--
|
|
18447
|
-
<div style="
|
|
18448
|
-
<div style="
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
|
|
18480
|
+
<!-- Live badge -->
|
|
18481
|
+
<div style="display: flex; justify-content: center; margin-bottom: 28px;">
|
|
18482
|
+
<div style="
|
|
18483
|
+
display: inline-flex;
|
|
18484
|
+
align-items: center;
|
|
18485
|
+
gap: 6px;
|
|
18486
|
+
padding: 6px 12px;
|
|
18487
|
+
background: rgba(16, 185, 129, 0.1);
|
|
18488
|
+
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
18489
|
+
border-radius: 20px;
|
|
18490
|
+
">
|
|
18491
|
+
<div style="width: 6px; height: 6px; background: #10b981; border-radius: 50%;"></div>
|
|
18492
|
+
<span style="font-size: 12px; font-weight: 500; color: #10b981;">Live voice assistant</span>
|
|
18455
18493
|
</div>
|
|
18456
18494
|
</div>
|
|
18457
18495
|
|
|
18458
18496
|
<!-- Buttons -->
|
|
18459
|
-
<div style="display: flex;
|
|
18497
|
+
<div style="display: flex; gap: 12px;">
|
|
18460
18498
|
<button id="floe-start-guided" style="
|
|
18461
|
-
|
|
18499
|
+
flex: 1;
|
|
18462
18500
|
padding: 14px 20px;
|
|
18463
18501
|
border-radius: 12px;
|
|
18464
18502
|
font-size: 14px;
|
|
18465
18503
|
font-weight: 600;
|
|
18466
|
-
cursor: pointer;
|
|
18504
|
+
cursor: pointer !important;
|
|
18467
18505
|
border: none;
|
|
18468
|
-
background: linear-gradient(135deg,
|
|
18506
|
+
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
|
18469
18507
|
color: white;
|
|
18470
18508
|
transition: all 0.2s ease;
|
|
18471
|
-
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.
|
|
18472
|
-
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
|
|
18476
|
-
width: 100%;
|
|
18477
|
-
padding: 14px 20px;
|
|
18478
|
-
border-radius: 12px;
|
|
18479
|
-
font-size: 14px;
|
|
18480
|
-
font-weight: 500;
|
|
18481
|
-
cursor: pointer;
|
|
18482
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
18483
|
-
background: rgba(255, 255, 255, 0.05);
|
|
18484
|
-
color: rgba(255, 255, 255, 0.7);
|
|
18485
|
-
transition: all 0.2s ease;
|
|
18509
|
+
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
|
|
18510
|
+
display: flex;
|
|
18511
|
+
align-items: center;
|
|
18512
|
+
justify-content: center;
|
|
18513
|
+
gap: 8px;
|
|
18486
18514
|
">
|
|
18487
|
-
|
|
18515
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
18516
|
+
<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"/>
|
|
18517
|
+
<path d="M19 10v2a7 7 0 0 1-14 0v-2"/>
|
|
18518
|
+
<line x1="12" y1="19" x2="12" y2="23"/>
|
|
18519
|
+
<line x1="8" y1="23" x2="16" y2="23"/>
|
|
18520
|
+
</svg>
|
|
18521
|
+
Start Conversation
|
|
18488
18522
|
</button>
|
|
18489
18523
|
</div>
|
|
18524
|
+
|
|
18525
|
+
<button id="floe-skip-guided" style="
|
|
18526
|
+
width: 100%;
|
|
18527
|
+
margin-top: 12px;
|
|
18528
|
+
padding: 12px 20px;
|
|
18529
|
+
border-radius: 12px;
|
|
18530
|
+
font-size: 14px;
|
|
18531
|
+
font-weight: 500;
|
|
18532
|
+
cursor: pointer !important;
|
|
18533
|
+
border: none;
|
|
18534
|
+
background: transparent;
|
|
18535
|
+
color: rgba(255, 255, 255, 0.4);
|
|
18536
|
+
transition: all 0.2s ease;
|
|
18537
|
+
">
|
|
18538
|
+
I'll explore on my own
|
|
18539
|
+
</button>
|
|
18490
18540
|
`, r.appendChild(i), document.body.appendChild(r);
|
|
18491
18541
|
const o = r.querySelector("#floe-start-guided"), s = r.querySelector("#floe-skip-guided");
|
|
18492
18542
|
o && (o.onmouseenter = () => {
|
|
18493
|
-
o.style.transform = "translateY(-
|
|
18543
|
+
o.style.background = "linear-gradient(135deg, #818cf8 0%, #a78bfa 100%)", o.style.transform = "translateY(-1px)", o.style.boxShadow = "0 8px 24px rgba(99, 102, 241, 0.4)";
|
|
18494
18544
|
}, o.onmouseleave = () => {
|
|
18495
|
-
o.style.transform = "translateY(0)", o.style.boxShadow = "0 4px 12px rgba(99, 102, 241, 0.
|
|
18545
|
+
o.style.background = "linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)", o.style.transform = "translateY(0)", o.style.boxShadow = "0 4px 12px rgba(99, 102, 241, 0.25)";
|
|
18496
18546
|
}, o.onclick = () => {
|
|
18497
18547
|
r.style.animation = "welcomeFadeOut 0.2s ease", setTimeout(() => {
|
|
18498
18548
|
r.remove(), t(!0);
|
|
18499
18549
|
}, 200);
|
|
18500
18550
|
}), s && (s.onmouseenter = () => {
|
|
18501
|
-
s.style.
|
|
18551
|
+
s.style.color = "rgba(255, 255, 255, 0.8)";
|
|
18502
18552
|
}, s.onmouseleave = () => {
|
|
18503
|
-
s.style.
|
|
18553
|
+
s.style.color = "rgba(255, 255, 255, 0.4)";
|
|
18504
18554
|
}, s.onclick = () => {
|
|
18505
18555
|
r.style.animation = "welcomeFadeOut 0.2s ease", setTimeout(() => {
|
|
18506
18556
|
r.remove(), t(!1);
|