altio-chat 1.0.24 → 1.0.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/README.md +58 -58
- package/dist/widget.js +163 -163
- package/index.d.ts +41 -41
- package/package.json +65 -65
package/README.md
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
# altio-chat
|
|
2
|
-
|
|
3
|
-
Embeddable Altio chat widget — a single, self-contained JavaScript bundle that renders
|
|
4
|
-
the Altio chat UI inside a **Shadow DOM** (fully isolated from the host page's CSS/JS).
|
|
5
|
-
|
|
6
|
-
Loaded with one `<script>` from a CDN. Updating the widget = publish a new version;
|
|
7
|
-
**embedding apps are never rebuilt**.
|
|
8
|
-
|
|
9
|
-
## Embed (auto-mount)
|
|
10
|
-
|
|
11
|
-
```html
|
|
12
|
-
<div id="altio-chat" style="width:100%;height:600px"></div>
|
|
13
|
-
<script
|
|
14
|
-
src="https://cdn.jsdelivr.net/npm/altio-chat@1/dist/widget.js"
|
|
15
|
-
data-auto-init
|
|
16
|
-
data-target="#altio-chat"
|
|
17
|
-
data-api-url="https://api.altio.co.kr/v1"
|
|
18
|
-
data-agent-api-url="https://v2.api.altio.co.kr/v1"
|
|
19
|
-
></script>
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Omit `data-target` to fill the whole viewport (like a full-page chat).
|
|
23
|
-
|
|
24
|
-
## Embed (manual mount)
|
|
25
|
-
|
|
26
|
-
```html
|
|
27
|
-
<div id="altio-chat" style="width:100%;height:600px"></div>
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/npm/altio-chat@1/dist/widget.js"></script>
|
|
29
|
-
<script>
|
|
30
|
-
const handle = AltioWidget.mount(document.getElementById("altio-chat"), {
|
|
31
|
-
apiUrl: "https://api.altio.co.kr/v1",
|
|
32
|
-
agentApiUrl: "https://v2.api.altio.co.kr/v1",
|
|
33
|
-
dbEnv: "…", // external-DB slot selector (optional)
|
|
34
|
-
uid: "user-123", // namespaces the saved conversation per user (optional)
|
|
35
|
-
getToken: () => host.getAccessToken(), // signed-in user's token; may be async (optional)
|
|
36
|
-
});
|
|
37
|
-
// handle.destroy() to unmount
|
|
38
|
-
</script>
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Runtime config
|
|
42
|
-
|
|
43
|
-
| Key | Purpose |
|
|
44
|
-
|---|---|
|
|
45
|
-
| `apiUrl` | Main backend base (POST /threads). |
|
|
46
|
-
| `agentApiUrl` | Agent backend base (connect/ask); falls back to `apiUrl`. |
|
|
47
|
-
| `dbEnv` | External-DB slot selector sent as `env`. |
|
|
48
|
-
| `uid` | Host user id — keys the persisted conversation per user. |
|
|
49
|
-
| `getToken` | Returns the host user's access token (sync or async) so the backend scopes DB reads to that user. Omit for anonymous/guest. |
|
|
50
|
-
|
|
51
|
-
`AltioWidget.setConfig({...})` updates config later (e.g. after the user signs in).
|
|
52
|
-
|
|
53
|
-
## Versioning
|
|
54
|
-
|
|
55
|
-
- `@1` → latest 1.x (recommended). `@0.1.2` → exact pin.
|
|
56
|
-
- Force a fresh CDN copy: `https://purge.jsdelivr.net/npm/altio-chat@1/dist/widget.js`
|
|
57
|
-
|
|
58
|
-
See [PUBLISHING.md](./PUBLISHING.md) for release steps.
|
|
1
|
+
# altio-chat
|
|
2
|
+
|
|
3
|
+
Embeddable Altio chat widget — a single, self-contained JavaScript bundle that renders
|
|
4
|
+
the Altio chat UI inside a **Shadow DOM** (fully isolated from the host page's CSS/JS).
|
|
5
|
+
|
|
6
|
+
Loaded with one `<script>` from a CDN. Updating the widget = publish a new version;
|
|
7
|
+
**embedding apps are never rebuilt**.
|
|
8
|
+
|
|
9
|
+
## Embed (auto-mount)
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<div id="altio-chat" style="width:100%;height:600px"></div>
|
|
13
|
+
<script
|
|
14
|
+
src="https://cdn.jsdelivr.net/npm/altio-chat@1/dist/widget.js"
|
|
15
|
+
data-auto-init
|
|
16
|
+
data-target="#altio-chat"
|
|
17
|
+
data-api-url="https://api.altio.co.kr/v1"
|
|
18
|
+
data-agent-api-url="https://v2.api.altio.co.kr/v1"
|
|
19
|
+
></script>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Omit `data-target` to fill the whole viewport (like a full-page chat).
|
|
23
|
+
|
|
24
|
+
## Embed (manual mount)
|
|
25
|
+
|
|
26
|
+
```html
|
|
27
|
+
<div id="altio-chat" style="width:100%;height:600px"></div>
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/npm/altio-chat@1/dist/widget.js"></script>
|
|
29
|
+
<script>
|
|
30
|
+
const handle = AltioWidget.mount(document.getElementById("altio-chat"), {
|
|
31
|
+
apiUrl: "https://api.altio.co.kr/v1",
|
|
32
|
+
agentApiUrl: "https://v2.api.altio.co.kr/v1",
|
|
33
|
+
dbEnv: "…", // external-DB slot selector (optional)
|
|
34
|
+
uid: "user-123", // namespaces the saved conversation per user (optional)
|
|
35
|
+
getToken: () => host.getAccessToken(), // signed-in user's token; may be async (optional)
|
|
36
|
+
});
|
|
37
|
+
// handle.destroy() to unmount
|
|
38
|
+
</script>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Runtime config
|
|
42
|
+
|
|
43
|
+
| Key | Purpose |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `apiUrl` | Main backend base (POST /threads). |
|
|
46
|
+
| `agentApiUrl` | Agent backend base (connect/ask); falls back to `apiUrl`. |
|
|
47
|
+
| `dbEnv` | External-DB slot selector sent as `env`. |
|
|
48
|
+
| `uid` | Host user id — keys the persisted conversation per user. |
|
|
49
|
+
| `getToken` | Returns the host user's access token (sync or async) so the backend scopes DB reads to that user. Omit for anonymous/guest. |
|
|
50
|
+
|
|
51
|
+
`AltioWidget.setConfig({...})` updates config later (e.g. after the user signs in).
|
|
52
|
+
|
|
53
|
+
## Versioning
|
|
54
|
+
|
|
55
|
+
- `@1` → latest 1.x (recommended). `@0.1.2` → exact pin.
|
|
56
|
+
- Force a fresh CDN copy: `https://purge.jsdelivr.net/npm/altio-chat@1/dist/widget.js`
|
|
57
|
+
|
|
58
|
+
See [PUBLISHING.md](./PUBLISHING.md) for release steps.
|
package/dist/widget.js
CHANGED
|
@@ -60,169 +60,169 @@ Error generating stack: `+l.message+`
|
|
|
60
60
|
|
|
61
61
|
`);for(;le!==-1;)P(x.slice(0,le)),x=x.slice(le+2),le=x.indexOf(`
|
|
62
62
|
|
|
63
|
-
`)}return x.trim()&&P(x),{answer:R,model:I,references:z}}},$l={uploadDocument:async({file:e,threadId:t})=>{var c;const n=Js(),a=new FormData;a.append("file",e);const s=`${so()}/kb/documents?scope=THREAD&thread_id=${encodeURIComponent(t)}`,o=await fetch(s,{method:"POST",headers:n?{"X-Sheetric-Authorization":`Bearer ${n}`}:void 0,body:a}),u=await o.json().catch(()=>null);if(!o.ok||!((c=u==null?void 0:u.data)!=null&&c.id))throw new Error((u==null?void 0:u.message)||`upload failed: HTTP ${o.status}`);return u.data},listDocuments:async({threadId:e})=>{const t=Js(),n=`${so()}/kb/documents?scope=THREAD&thread_id=${encodeURIComponent(e)}`;try{const a=await fetch(n,{method:"GET",headers:t?{"X-Sheetric-Authorization":`Bearer ${t}`}:void 0}),s=await a.json().catch(()=>null);return!a.ok||!Array.isArray(s==null?void 0:s.data)?[]:s.data.filter(o=>o.status!=="deleted")}catch{return[]}},deleteDocument:async({documentId:e})=>{var a;const t=Js(),n=`${so()}/kb/documents/${encodeURIComponent(e)}`;try{const s=await fetch(n,{method:"DELETE",headers:t?{"X-Sheetric-Authorization":`Bearer ${t}`}:void 0}),o=await s.json().catch(()=>null);return s.ok&&((a=o==null?void 0:o.data)==null?void 0:a.deleted)===!0}catch{return!1}}},k6="altio_thread_session";function BC(e){if(typeof window!="undefined")try{if(!e){window.localStorage.removeItem(k6);return}window.localStorage.setItem(k6,e)}catch{}}async function FC(){var n,a;const t=(n=(await io.post("/threads",{})).data)==null?void 0:n.data;return t!=null&&t.session&&BC(t.session),(a=t==null?void 0:t.tuid)!=null?a:null}const UC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
64
|
-
<g clip-path="url(#clip0_5374_42817)"
|
|
65
|
-
<path d="M7.39795 2.34106H12.0122L17.4653 7.30591V15.4084C17.4651 16.8943 16.2607 18.0986 14.7749 18.0989H7.39795C5.91213 18.0986 4.70778 16.8943 4.70752 15.4084V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
66
|
-
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"
|
|
67
|
-
</g
|
|
68
|
-
<rect x="1.72021" y="9.37891" width="10.0543" height="6.831" rx="1.656" fill="#0DB664"
|
|
69
|
-
<path d="M4.6327 14.3164C4.53903 14.3164 4.45107 14.2799 4.38516 14.2138L3.10205 12.9307C3.03603 12.8649 2.99951 12.7769 2.99951 12.6832C2.99951 12.5896 3.03603 12.5016 3.10217 12.4357L4.38527 11.1526C4.45107 11.0866 4.53903 11.05 4.6327 11.05C4.82565 11.05 4.98267 11.2071 4.98267 11.4C4.98267 11.4937 4.94616 11.5817 4.88002 11.6476L3.84434 12.6832L4.88013 13.719C4.94628 13.7848 4.98267 13.8728 4.98267 13.9665C4.98267 14.1594 4.82565 14.3164 4.6327 14.3164Z" fill="white"
|
|
70
|
-
<path d="M8.36657 14.4331C8.17362 14.4331 8.0166 14.2761 8.0166 14.0832C8.0166 13.9895 8.05312 13.9015 8.11926 13.8356L9.15494 12.7999L8.11914 11.7641C8.05312 11.6981 8.0166 11.6102 8.0166 11.5167C8.0166 11.3238 8.17362 11.1667 8.36657 11.1667C8.46025 11.1667 8.54821 11.2033 8.61412 11.2694L9.89722 12.5525C9.96337 12.6185 9.99976 12.7065 9.99976 12.7999C9.99976 12.8936 9.96325 12.9816 9.8971 13.0475L8.614 14.3306C8.54821 14.3967 8.46025 14.4331 8.36657 14.4331Z" fill="white"
|
|
71
|
-
<path d="M5.44909 15.3662C5.25614 15.3662 5.09912 15.2092 5.09912 15.0162C5.09912 14.9698 5.10822 14.9244 5.12595 14.8815L7.22589 10.215C7.28071 10.0843 7.40752 10 7.54891 10C7.74186 10 7.89888 10.157 7.89888 10.35C7.89888 10.3964 7.88978 10.4418 7.87205 10.4847L5.77211 15.1512C5.71728 15.2819 5.59048 15.3662 5.44909 15.3662Z" fill="white"
|
|
72
|
-
<defs
|
|
73
|
-
<clipPath id="clip0_5374_42817"
|
|
74
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"
|
|
75
|
-
</clipPath
|
|
76
|
-
</defs
|
|
77
|
-
</svg
|
|
78
|
-
`,PC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
79
|
-
<g clip-path="url(#clip0_5374_42793)"
|
|
80
|
-
<path d="M7.39795 2.34106H12.1323L17.6597 7.177V14.968C17.6596 16.4542 16.4544 17.6594 14.9683 17.6594H7.39795C5.91199 17.6592 4.70755 16.454 4.70752 14.968V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
81
|
-
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"
|
|
82
|
-
</g
|
|
83
|
-
<rect x="1.72021" y="9.37891" width="11.8286" height="6.831" rx="1.656" fill="#3873FF"
|
|
84
|
-
<path d="M4.24221 14.5521H3V11.0479H4.25247C4.60494 11.0479 4.90837 11.1181 5.16274 11.2584C5.41711 11.3975 5.61274 11.5977 5.74962 11.8589C5.88764 12.1202 5.95665 12.4327 5.95665 12.7966C5.95665 13.1616 5.88764 13.4753 5.74962 13.7376C5.61274 14 5.41597 14.2013 5.15932 14.3416C4.9038 14.4819 4.5981 14.5521 4.24221 14.5521ZM3.74087 13.9173H4.21141C4.43042 13.9173 4.61464 13.8785 4.76407 13.801C4.91464 13.7222 5.02757 13.6008 5.10285 13.4365C5.17928 13.2711 5.21749 13.0578 5.21749 12.7966C5.21749 12.5376 5.17928 12.326 5.10285 12.1618C5.02757 11.9975 4.91521 11.8766 4.76578 11.799C4.61635 11.7215 4.43213 11.6827 4.21312 11.6827H3.74087V13.9173Z" fill="white"
|
|
85
|
-
<path d="M9.62925 12.8C9.62925 13.1821 9.55682 13.5072 9.41195 13.7753C9.26823 14.0433 9.07203 14.2481 8.82336 14.3895C8.57583 14.5298 8.2975 14.6 7.98838 14.6C7.67697 14.6 7.3975 14.5293 7.14998 14.3878C6.90245 14.2464 6.70682 14.0416 6.56309 13.7736C6.41937 13.5055 6.3475 13.181 6.3475 12.8C6.3475 12.4179 6.41937 12.0928 6.56309 11.8247C6.70682 11.5567 6.90245 11.3525 7.14998 11.2122C7.3975 11.0707 7.67697 11 7.98838 11C8.2975 11 8.57583 11.0707 8.82336 11.2122C9.07203 11.3525 9.26823 11.5567 9.41195 11.8247C9.55682 12.0928 9.62925 12.4179 9.62925 12.8ZM8.87811 12.8C8.87811 12.5525 8.84104 12.3437 8.7669 12.1738C8.69389 12.0038 8.59066 11.8749 8.4572 11.7871C8.32374 11.6992 8.16747 11.6553 7.98838 11.6553C7.80929 11.6553 7.65302 11.6992 7.51956 11.7871C7.3861 11.8749 7.28229 12.0038 7.20815 12.1738C7.13515 12.3437 7.09864 12.5525 7.09864 12.8C7.09864 13.0475 7.13515 13.2563 7.20815 13.4262C7.28229 13.5962 7.3861 13.7251 7.51956 13.8129C7.65302 13.9008 7.80929 13.9447 7.98838 13.9447C8.16747 13.9447 8.32374 13.9008 8.4572 13.8129C8.59066 13.7251 8.69389 13.5962 8.7669 13.4262C8.84104 13.2563 8.87811 13.0475 8.87811 12.8Z" fill="white"
|
|
86
|
-
<path d="M13.1735 12.2747H12.4241C12.4104 12.1778 12.3825 12.0916 12.3403 12.0163C12.298 11.9399 12.2439 11.8749 12.1777 11.8213C12.1115 11.7677 12.0351 11.7266 11.9484 11.6981C11.8629 11.6696 11.7699 11.6553 11.6695 11.6553C11.4882 11.6553 11.3302 11.7004 11.1956 11.7905C11.061 11.8795 10.9566 12.0095 10.8825 12.1806C10.8083 12.3506 10.7712 12.557 10.7712 12.8C10.7712 13.0498 10.8083 13.2597 10.8825 13.4297C10.9577 13.5996 11.0627 13.7279 11.1973 13.8146C11.3319 13.9013 11.4876 13.9447 11.6644 13.9447C11.7636 13.9447 11.8555 13.9316 11.9399 13.9053C12.0254 13.8791 12.1013 13.8409 12.1674 13.7907C12.2336 13.7394 12.2884 13.6772 12.3317 13.6042C12.3762 13.5312 12.407 13.4479 12.4241 13.3544L13.1735 13.3578C13.1541 13.5186 13.1057 13.6738 13.0281 13.8232C12.9517 13.9715 12.8484 14.1044 12.7184 14.2219C12.5895 14.3382 12.4355 14.4306 12.2564 14.499C12.0785 14.5663 11.8771 14.6 11.6524 14.6C11.3399 14.6 11.0604 14.5293 10.814 14.3878C10.5688 14.2464 10.3749 14.0416 10.2323 13.7736C10.0908 13.5055 10.0201 13.181 10.0201 12.8C10.0201 12.4179 10.092 12.0928 10.2357 11.8247C10.3794 11.5567 10.5745 11.3525 10.8209 11.2122C11.0673 11.0707 11.3444 11 11.6524 11C11.8555 11 12.0437 11.0285 12.2171 11.0856C12.3916 11.1426 12.5461 11.2259 12.6807 11.3354C12.8154 11.4437 12.9249 11.5766 13.0093 11.734C13.0948 11.8914 13.1496 12.0717 13.1735 12.2747Z" fill="white"
|
|
87
|
-
<defs
|
|
88
|
-
<clipPath id="clip0_5374_42793"
|
|
89
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"
|
|
90
|
-
</clipPath
|
|
91
|
-
</defs
|
|
92
|
-
</svg
|
|
93
|
-
`,HC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
94
|
-
<g clip-path="url(#clip0_3515_21305)"
|
|
95
|
-
<path d="M6.21436 2.34106H10.8286L16.2817 7.30591V15.4084C16.2815 16.8943 15.0771 18.0986 13.5913 18.0989H6.21436C4.72853 18.0986 3.52418 16.8943 3.52393 15.4084V5.03149C3.52418 3.54567 4.72854 2.34132 6.21436 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
96
|
-
<path d="M9.91113 2.13379V4.61779C9.91113 5.98966 11.0233 7.10179 12.3951 7.10179H15.2931" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"
|
|
97
|
-
<circle cx="6.46325" cy="10.828" r="0.828" fill="#6E45F0"
|
|
98
|
-
<circle cx="9.56823" cy="10.828" r="0.828" fill="#6E45F0"
|
|
99
|
-
<circle cx="12.6732" cy="10.828" r="0.828" fill="#6E45F0"
|
|
100
|
-
</g
|
|
101
|
-
<defs
|
|
102
|
-
<clipPath id="clip0_3515_21305"
|
|
103
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(2.90283 1.71997)"
|
|
104
|
-
</clipPath
|
|
105
|
-
</defs
|
|
106
|
-
</svg
|
|
107
|
-
`,GC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
108
|
-
<g clip-path="url(#clip0_3515_19480)"
|
|
109
|
-
<path d="M7.39795 2.34106H12.0122L17.4653 7.30591V15.4084C17.4651 16.8943 16.2607 18.0986 14.7749 18.0989H7.39795C5.91213 18.0986 4.70778 16.8943 4.70752 15.4084V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
110
|
-
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"
|
|
111
|
-
</g
|
|
112
|
-
<rect x="1.72021" y="9.37891" width="10.0543" height="6.831" rx="1.656" fill="#0DB664"
|
|
113
|
-
<path d="M7.66579 10.8279L8.34283 11.967H8.3657L9.04731 10.8279H9.82499L8.81401 12.4839L9.84786 14.1399H9.05189L8.3657 13.0008H8.34283L7.65664 14.1399H6.86523L7.90367 12.4839L6.88353 10.8279H7.66579Z" fill="white"
|
|
114
|
-
<path d="M4.20508 14.1399V10.8279H6.42833V11.3951H4.89127V12.2003H6.31396V12.7675H4.89127V13.5726H6.4329V14.1399H4.20508Z" fill="white"
|
|
115
|
-
<defs
|
|
116
|
-
<clipPath id="clip0_3515_19480"
|
|
117
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"
|
|
118
|
-
</clipPath
|
|
119
|
-
</defs
|
|
120
|
-
</svg
|
|
121
|
-
`,qC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
122
|
-
<g clip-path="url(#clip0_3515_19568)"
|
|
123
|
-
<path d="M16.1656 2.55005H3.74899C3.0867 2.55005 2.5498 3.08694 2.5498 3.74924V16.2509C2.5498 16.9132 3.0867 17.45 3.74899 17.45H14.3459L14.5262 17.1847L16.6298 15.0811L17.3648 14.4311V14.3461V3.74924C17.3648 3.08694 16.8279 2.55005 16.1656 2.55005Z" fill="#E7ECF6"
|
|
124
|
-
<path d="M16.2502 15.5451V4.34863C16.2502 4.01749 15.9817 3.74902 15.6505 3.74902H4.34814C4.017 3.74902 3.74854 4.01749 3.74854 4.34863V15.651C3.74854 15.9822 4.017 16.2506 4.34814 16.2506H15.5446L16.2502 15.5451Z" fill="#BED8FB"
|
|
125
|
-
<path d="M16.2509 11.8829L13.8453 8.44119C13.5231 7.98022 12.8406 7.98022 12.5184 8.44119L9.41602 12.8797H16.2508V11.8829H16.2509Z" fill="#365E7D"
|
|
126
|
-
<path d="M11.1242 6.75773C11.6418 6.75773 12.0614 6.33813 12.0614 5.82052C12.0614 5.30291 11.6418 4.8833 11.1242 4.8833C10.6066 4.8833 10.187 5.30291 10.187 5.82052C10.187 6.33813 10.6066 6.75773 11.1242 6.75773Z" fill="#FFC344"
|
|
127
|
-
<path d="M7.21133 6.92876L3.74854 11.883V12.3387L7.91736 12.8799H12.6978L8.53825 6.92876C8.21606 6.46776 7.53351 6.46776 7.21133 6.92876Z" fill="#407093"
|
|
128
|
-
<path d="M16.2502 15.5452V12.3384H3.74854V15.6512C3.74854 15.9823 4.017 16.2508 4.34814 16.2508H15.5446L16.2502 15.5452Z" fill="#B3E59F"
|
|
129
|
-
<path d="M14.3457 17.4501L17.4496 14.3462H15.5449C14.8826 14.3462 14.3457 14.8831 14.3457 15.5454V17.4501Z" fill="#ACACAC"
|
|
130
|
-
<path d="M16.2507 2.55005H15.4009C16.0632 2.55005 16.6001 3.08694 16.6001 3.74924V14.3461V15.1959L17.4499 14.3461V3.74924C17.4499 3.08694 16.913 2.55005 16.2507 2.55005Z" fill="#D8E2F1"
|
|
131
|
-
<path d="M14.3457 17.4501L17.4496 14.3462H15.5449C14.8826 14.3462 14.3457 14.8831 14.3457 15.5454V17.4501Z" fill="#80B4FB"
|
|
132
|
-
</g
|
|
133
|
-
<defs
|
|
134
|
-
<clipPath id="clip0_3515_19568"
|
|
135
|
-
<rect width="14.9" height="14.9" fill="white" transform="translate(2.5498 2.55005)"
|
|
136
|
-
</clipPath
|
|
137
|
-
</defs
|
|
138
|
-
</svg
|
|
139
|
-
`,jC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
140
|
-
<g clip-path="url(#clip0_3515_19459)"
|
|
141
|
-
<path d="M6.21387 2.34106H10.8779L16.3574 7.17505V14.968C16.3574 16.4542 15.1522 17.6594 13.666 17.6594H6.21387C4.7279 17.6592 3.52346 16.454 3.52344 14.968V5.03149C3.52369 3.54567 4.72805 2.34132 6.21387 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
142
|
-
<path d="M10.0596 2.39282V4.74745C10.0596 6.04787 11.1138 7.10207 12.4142 7.10207H15.4416" stroke="#C8D2E1" stroke-width="1.17731" stroke-linecap="round"
|
|
143
|
-
<path d="M12.9474 8.96297H6.73543C6.44996 8.96297 6.21436 8.73188 6.21436 8.44645C6.21436 8.16102 6.44996 7.92993 6.73543 7.92993H12.9474C13.2329 7.92993 13.4639 8.16102 13.4639 8.44645C13.4639 8.73188 13.2329 8.96297 12.9474 8.96297ZM10.8767 15.1749H6.73543C6.44996 15.1749 6.21436 14.9438 6.21436 14.6584C6.21436 14.373 6.44996 14.1419 6.73543 14.1419H10.8767C11.1622 14.1419 11.3933 14.373 11.3933 14.6584C11.3933 14.9438 11.1622 15.1749 10.8767 15.1749ZM12.9474 13.1043H6.73543C6.44996 13.1043 6.21436 12.8732 6.21436 12.5878C6.21436 12.3023 6.44996 12.0712 6.73543 12.0712H12.9474C13.2329 12.0712 13.4639 12.3023 13.4639 12.5878C13.4639 12.8732 13.2329 13.1043 12.9474 13.1043ZM12.9474 11.0336H6.73543C6.44996 11.0336 6.21436 10.8025 6.21436 10.5171C6.21436 10.2317 6.44996 10.0006 6.73543 10.0006H12.9474C13.2329 10.0006 13.4639 10.2317 13.4639 10.5171C13.4639 10.8025 13.2329 11.0336 12.9474 11.0336Z" fill="#595858"
|
|
144
|
-
</g
|
|
145
|
-
<defs
|
|
146
|
-
<clipPath id="clip0_3515_19459"
|
|
147
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(2.90283 1.71997)"
|
|
148
|
-
</clipPath
|
|
149
|
-
</defs
|
|
150
|
-
</svg
|
|
151
|
-
`,$C=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
152
|
-
<g clip-path="url(#clip0_4211_31567)"
|
|
153
|
-
<path d="M7.03027 2.27173H12.1592L17.7285 7.14575V15.3362C17.7284 16.6571 16.6569 17.7278 15.3359 17.7278H7.03027C5.70928 17.7278 4.63781 16.6571 4.6377 15.3362V4.66431C4.6377 3.34324 5.70921 2.27173 7.03027 2.27173Z" fill="white" stroke="#C8D2E1" stroke-width="1.104"
|
|
154
|
-
<path d="M12.1294 2.13403V4.89403C12.1294 6.11348 13.1179 7.10203 14.3374 7.10203H17.8071" stroke="#C8D2E1" stroke-width="1.104" stroke-linecap="round"
|
|
155
|
-
</g
|
|
156
|
-
<rect x="1.72021" y="9.08008" width="13.0114" height="6.831" rx="1.472" fill="#2B8FDA"
|
|
157
|
-
<path d="M3.33643 10.9901H4.23365L5.18128 13.0131H5.2216L6.16923 10.9901H7.06646V14.001H6.36078V12.0413H6.33221L5.44171 13.9863H4.96117L4.07067 12.034H4.04211V14.001H3.33643V10.9901Z" fill="white"
|
|
158
|
-
<path d="M7.57124 14.001V10.9901H8.92884C9.18983 10.9901 9.41217 11.0338 9.59587 11.121C9.77958 11.2072 9.91959 11.3273 10.0159 11.4812C10.1134 11.6341 10.1621 11.8105 10.1621 12.0104C10.1621 12.2104 10.1128 12.3868 10.0142 12.5397C9.91567 12.6926 9.77285 12.8117 9.58579 12.897C9.39985 12.9822 9.17471 13.0249 8.91035 13.0249H8.04505V12.5147H8.79274C8.93276 12.5147 9.04813 12.4936 9.13886 12.4515C9.23071 12.4084 9.29904 12.3491 9.34384 12.2736C9.38977 12.1971 9.41273 12.1094 9.41273 12.0104C9.41273 11.9105 9.38977 11.8232 9.34384 11.7487C9.29904 11.6733 9.23071 11.615 9.13886 11.5738C9.04701 11.5317 8.93052 11.5106 8.78938 11.5106H8.29876V14.001H7.57124Z" fill="white"
|
|
159
|
-
<path d="M11.7918 14.0422C11.5409 14.0422 11.3174 14.0045 11.1214 13.929C10.9265 13.8526 10.7725 13.7477 10.6593 13.6144C10.5473 13.4801 10.4896 13.3253 10.4863 13.1498H11.2188C11.2233 13.2233 11.2507 13.288 11.3012 13.3439C11.3527 13.3988 11.421 13.4414 11.5061 13.4718C11.5913 13.5022 11.687 13.5174 11.7935 13.5174C11.9043 13.5174 12.0024 13.5002 12.0875 13.4659C12.1726 13.4316 12.2393 13.3841 12.2874 13.3233C12.3356 13.2625 12.3597 13.1925 12.3597 13.1131C12.3597 13.0327 12.3339 12.9616 12.2824 12.8999C12.232 12.8372 12.1592 12.7882 12.064 12.7529C11.9699 12.7176 11.8579 12.6999 11.7279 12.6999H11.407V12.2324H11.7279C11.8377 12.2324 11.9346 12.2158 12.0186 12.1824C12.1037 12.1491 12.1698 12.1031 12.2169 12.0443C12.2639 11.9845 12.2874 11.9149 12.2874 11.8355C12.2874 11.76 12.2667 11.6939 12.2253 11.637C12.1849 11.5792 12.1278 11.5341 12.0539 11.5018C11.9811 11.4694 11.8959 11.4532 11.7985 11.4532C11.6999 11.4532 11.6098 11.4689 11.528 11.5003C11.4462 11.5307 11.3807 11.5743 11.3314 11.6311C11.2821 11.688 11.2558 11.7546 11.2524 11.8311H10.5551C10.5585 11.6576 10.6151 11.5047 10.7248 11.3724C10.8346 11.2401 10.9825 11.1367 11.1684 11.0622C11.3555 10.9867 11.5666 10.949 11.8019 10.949C12.0393 10.949 12.2471 10.9867 12.4252 11.0622C12.6033 11.1376 12.7416 11.2396 12.8402 11.368C12.9399 11.4954 12.9892 11.6385 12.9881 11.7973C12.9892 11.9658 12.9293 12.1065 12.8083 12.2192C12.6884 12.3319 12.5322 12.4035 12.3395 12.4338V12.4574C12.5927 12.4858 12.7853 12.5627 12.9175 12.6882C13.0508 12.8127 13.1169 12.9685 13.1158 13.1557C13.1169 13.3272 13.0603 13.4796 12.9461 13.6129C12.8329 13.7462 12.6767 13.8511 12.4773 13.9275C12.2779 14.004 12.0494 14.0422 11.7918 14.0422Z" fill="white"
|
|
160
|
-
<defs
|
|
161
|
-
<clipPath id="clip0_4211_31567"
|
|
162
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08594 1.71997)"
|
|
163
|
-
</clipPath
|
|
164
|
-
</defs
|
|
165
|
-
</svg
|
|
166
|
-
`,VC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
167
|
-
<g clip-path="url(#clip0_3515_19510)"
|
|
168
|
-
<path d="M7.39795 2.34106H12.1323L17.6597 7.177V14.968C17.6596 16.4542 16.4544 17.6594 14.9683 17.6594H7.39795C5.91199 17.6592 4.70755 16.454 4.70752 14.968V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
169
|
-
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"
|
|
170
|
-
</g
|
|
171
|
-
<rect x="1.72021" y="9.37891" width="11.8286" height="6.831" rx="1.656" fill="#FF1607"
|
|
172
|
-
<path d="M3.3374 14.2997V11.2888H4.695C4.95599 11.2888 5.17834 11.3324 5.36204 11.4197C5.54574 11.5059 5.68575 11.626 5.78209 11.7799C5.87954 11.9328 5.92826 12.1092 5.92826 12.3091C5.92826 12.5091 5.87898 12.6855 5.78041 12.8384C5.68183 12.9913 5.53902 13.1104 5.35196 13.1956C5.16601 13.2809 4.94087 13.3235 4.67652 13.3235H3.81122V12.8134H4.5589C4.69892 12.8134 4.81429 12.7923 4.90502 12.7502C4.99687 12.707 5.0652 12.6477 5.11001 12.5723C5.15593 12.4958 5.1789 12.4081 5.1789 12.3091C5.1789 12.2091 5.15593 12.1219 5.11001 12.0474C5.0652 11.972 4.99687 11.9136 4.90502 11.8725C4.81317 11.8303 4.69668 11.8093 4.55554 11.8093H4.06493V14.2997H3.3374Z" fill="white"
|
|
173
|
-
<path d="M7.52601 14.2997H6.30619V11.2888H7.53609C7.88221 11.2888 8.18017 11.3491 8.42996 11.4696C8.67974 11.5892 8.87185 11.7612 9.00626 11.9857C9.1418 12.2101 9.20957 12.4787 9.20957 12.7913C9.20957 13.105 9.1418 13.3745 9.00626 13.5999C8.87185 13.8254 8.67862 13.9983 8.42659 14.1189C8.17569 14.2395 7.87549 14.2997 7.52601 14.2997ZM7.03371 13.7543H7.49577C7.71083 13.7543 7.89173 13.721 8.03847 13.6543C8.18633 13.5867 8.29722 13.4823 8.37115 13.3412C8.4462 13.1991 8.48372 13.0158 8.48372 12.7913C8.48372 12.5688 8.4462 12.387 8.37115 12.2459C8.29722 12.1048 8.18689 12.0009 8.04015 11.9342C7.89341 11.8676 7.71251 11.8343 7.49745 11.8343H7.03371V13.7543Z" fill="white"
|
|
174
|
-
<path d="M9.65386 14.2997V11.2888H11.9322V11.8137H10.3814V12.5311H11.781V13.056H10.3814V14.2997H9.65386Z" fill="white"
|
|
175
|
-
<defs
|
|
176
|
-
<clipPath id="clip0_3515_19510"
|
|
177
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"
|
|
178
|
-
</clipPath
|
|
179
|
-
</defs
|
|
180
|
-
</svg
|
|
181
|
-
`,YC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
182
|
-
<g clip-path="url(#clip0_5374_42794)"
|
|
183
|
-
<path d="M7.39795 2.34106H12.1323L17.6597 7.177V14.968C17.6596 16.4542 16.4544 17.6594 14.9683 17.6594H7.39795C5.91199 17.6592 4.70755 16.454 4.70752 14.968V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
184
|
-
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"
|
|
185
|
-
</g
|
|
186
|
-
<rect x="1.72021" y="9.37891" width="11.8286" height="6.831" rx="1.656" fill="#FF1607"
|
|
187
|
-
<path d="M3 14.6V11H4.42031C4.69336 11 4.92598 11.0521 5.11816 11.1564C5.31035 11.2596 5.45684 11.4031 5.55762 11.5871C5.65957 11.7699 5.71055 11.9809 5.71055 12.2199C5.71055 12.459 5.65898 12.6699 5.55586 12.8527C5.45273 13.0355 5.30332 13.1779 5.10762 13.2799C4.91309 13.3818 4.67754 13.4328 4.40098 13.4328H3.4957V12.8229H4.27793C4.42441 12.8229 4.54512 12.7977 4.64004 12.7473C4.73613 12.6957 4.80762 12.6248 4.85449 12.5346C4.90254 12.4432 4.92656 12.3383 4.92656 12.2199C4.92656 12.1004 4.90254 11.9961 4.85449 11.907C4.80762 11.8168 4.73613 11.7471 4.64004 11.6979C4.54395 11.6475 4.42207 11.6223 4.27441 11.6223H3.76113V14.6H3Z" fill="white"
|
|
188
|
-
<path d="M6.10593 14.6V11H7.52624C7.79929 11 8.03191 11.0521 8.2241 11.1564C8.41628 11.2596 8.56277 11.4031 8.66355 11.5871C8.7655 11.7699 8.81648 11.9809 8.81648 12.2199C8.81648 12.459 8.76492 12.6699 8.66179 12.8527C8.55867 13.0355 8.40925 13.1779 8.21355 13.2799C8.01902 13.3818 7.78347 13.4328 7.50691 13.4328H6.60164V12.8229H7.38386C7.53035 12.8229 7.65105 12.7977 7.74597 12.7473C7.84206 12.6957 7.91355 12.6248 7.96042 12.5346C8.00847 12.4432 8.03249 12.3383 8.03249 12.2199C8.03249 12.1004 8.00847 11.9961 7.96042 11.907C7.91355 11.8168 7.84206 11.7471 7.74597 11.6979C7.64988 11.6475 7.528 11.6223 7.38035 11.6223H6.86706V14.6H6.10593Z" fill="white"
|
|
189
|
-
<path d="M9.07475 11.6275V11H12.0314V11.6275H10.9292V14.6H10.1769V11.6275H9.07475Z" fill="white"
|
|
190
|
-
<defs
|
|
191
|
-
<clipPath id="clip0_5374_42794"
|
|
192
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"
|
|
193
|
-
</clipPath
|
|
194
|
-
</defs
|
|
195
|
-
</svg
|
|
196
|
-
`,XC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
197
|
-
<g clip-path="url(#clip0_4211_31568)"
|
|
198
|
-
<path d="M7.03027 2.27173H12.1592L17.7285 7.14575V15.3362C17.7284 16.6571 16.6569 17.7278 15.3359 17.7278H7.03027C5.70928 17.7278 4.63781 16.6571 4.6377 15.3362V4.66431C4.6377 3.34324 5.70921 2.27173 7.03027 2.27173Z" fill="white" stroke="#C8D2E1" stroke-width="1.104"
|
|
199
|
-
<path d="M12.1294 2.13403V4.89403C12.1294 6.11348 13.1179 7.10203 14.3374 7.10203H17.8071" stroke="#C8D2E1" stroke-width="1.104" stroke-linecap="round"
|
|
200
|
-
</g
|
|
201
|
-
<rect x="1.72021" y="9.37891" width="13.6029" height="6.831" rx="1.472" fill="#ED1B24"
|
|
202
|
-
<path d="M3.13525 11.289H4.03248L4.98011 13.3119H5.02043L5.96806 11.289H6.86529V14.2999H6.1596V12.3401H6.13104L5.24054 14.2852H4.76L3.8695 12.3328H3.84094V14.2999H3.13525V11.289Z" fill="white"
|
|
203
|
-
<path d="M10.5322 12.7944C10.5322 13.1228 10.4611 13.4021 10.3188 13.6324C10.1777 13.8627 9.98501 14.0387 9.74082 14.1602C9.49775 14.2808 9.22444 14.341 8.92089 14.341C8.61509 14.341 8.34066 14.2803 8.09759 14.1587C7.85452 14.0372 7.66242 13.8613 7.52128 13.6309C7.38015 13.4006 7.30958 13.1218 7.30958 12.7944C7.30958 12.4661 7.38015 12.1868 7.52128 11.9564C7.66242 11.7261 7.85452 11.5507 8.09759 11.4301C8.34066 11.3086 8.61509 11.2478 8.92089 11.2478C9.22444 11.2478 9.49775 11.3086 9.74082 11.4301C9.98501 11.5507 10.1777 11.7261 10.3188 11.9564C10.4611 12.1868 10.5322 12.4661 10.5322 12.7944ZM9.79459 12.7944C9.79459 12.5817 9.75818 12.4024 9.68538 12.2563C9.61369 12.1103 9.51232 11.9995 9.38126 11.9241C9.2502 11.8486 9.09675 11.8109 8.92089 11.8109C8.74503 11.8109 8.59157 11.8486 8.46051 11.9241C8.32946 11.9995 8.22753 12.1103 8.15472 12.2563C8.08303 12.4024 8.04719 12.5817 8.04719 12.7944C8.04719 13.0071 8.08303 13.1865 8.15472 13.3325C8.22753 13.4785 8.32946 13.5893 8.46051 13.6648C8.59157 13.7402 8.74503 13.778 8.92089 13.778C9.09675 13.778 9.2502 13.7402 9.38126 13.6648C9.51232 13.5893 9.61369 13.4785 9.68538 13.3325C9.75818 13.1865 9.79459 13.0071 9.79459 12.7944Z" fill="white"
|
|
204
|
-
<path d="M11.4041 11.289L12.2358 13.5766H12.2677L13.1011 11.289H13.9076L12.7214 14.2999H11.7838L10.5959 11.289H11.4041Z" fill="white"
|
|
205
|
-
<defs
|
|
206
|
-
<clipPath id="clip0_4211_31568"
|
|
207
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08594 1.71997)"
|
|
208
|
-
</clipPath
|
|
209
|
-
</defs
|
|
210
|
-
</svg
|
|
211
|
-
`,KC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
212
|
-
<g clip-path="url(#clip0_3515_19495)"
|
|
213
|
-
<path d="M7.39795 2.34106H12.0122L17.4653 7.30591V15.4084C17.4651 16.8943 16.2607 18.0986 14.7749 18.0989H7.39795C5.91213 18.0986 4.70778 16.8943 4.70752 15.4084V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"
|
|
214
|
-
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"
|
|
215
|
-
</g
|
|
216
|
-
<rect x="1.72021" y="9.37891" width="10.0543" height="6.831" rx="1.656" fill="#344054"
|
|
217
|
-
<path d="M3.289 14.3V13.9221L5.00616 11.8139H3.28564V11.2891H5.92019V11.6669L4.20135 13.7751H5.92355V14.3H3.289Z" fill="white"
|
|
218
|
-
<path d="M7.11469 11.2891V14.3H6.38717V11.2891H7.11469Z" fill="white"
|
|
219
|
-
<path d="M7.61863 14.3V11.2891H8.97623C9.23722 11.2891 9.45957 11.3327 9.64327 11.4199C9.82697 11.5062 9.96698 11.6262 10.0633 11.7801C10.1608 11.933 10.2095 12.1094 10.2095 12.3094C10.2095 12.5093 10.1602 12.6857 10.0616 12.8386C9.96306 12.9915 9.82025 13.1106 9.63319 13.1959C9.44724 13.2811 9.2221 13.3238 8.95775 13.3238H8.09245V12.8136H8.84013C8.98015 12.8136 9.09552 12.7926 9.18625 12.7504C9.27811 12.7073 9.34643 12.648 9.39124 12.5725C9.43716 12.4961 9.46013 12.4084 9.46013 12.3094C9.46013 12.2094 9.43716 12.1222 9.39124 12.0477C9.34643 11.9722 9.27811 11.9139 9.18625 11.8727C9.0944 11.8306 8.97791 11.8095 8.83677 11.8095H8.34616V14.3H7.61863Z" fill="white"
|
|
220
|
-
<defs
|
|
221
|
-
<clipPath id="clip0_3515_19495"
|
|
222
|
-
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"
|
|
223
|
-
</clipPath
|
|
224
|
-
</defs
|
|
225
|
-
</svg
|
|
63
|
+
`)}return x.trim()&&P(x),{answer:R,model:I,references:z}}},$l={uploadDocument:async({file:e,threadId:t})=>{var c;const n=Js(),a=new FormData;a.append("file",e);const s=`${so()}/kb/documents?scope=THREAD&thread_id=${encodeURIComponent(t)}`,o=await fetch(s,{method:"POST",headers:n?{"X-Sheetric-Authorization":`Bearer ${n}`}:void 0,body:a}),u=await o.json().catch(()=>null);if(!o.ok||!((c=u==null?void 0:u.data)!=null&&c.id))throw new Error((u==null?void 0:u.message)||`upload failed: HTTP ${o.status}`);return u.data},listDocuments:async({threadId:e})=>{const t=Js(),n=`${so()}/kb/documents?scope=THREAD&thread_id=${encodeURIComponent(e)}`;try{const a=await fetch(n,{method:"GET",headers:t?{"X-Sheetric-Authorization":`Bearer ${t}`}:void 0}),s=await a.json().catch(()=>null);return!a.ok||!Array.isArray(s==null?void 0:s.data)?[]:s.data.filter(o=>o.status!=="deleted")}catch{return[]}},deleteDocument:async({documentId:e})=>{var a;const t=Js(),n=`${so()}/kb/documents/${encodeURIComponent(e)}`;try{const s=await fetch(n,{method:"DELETE",headers:t?{"X-Sheetric-Authorization":`Bearer ${t}`}:void 0}),o=await s.json().catch(()=>null);return s.ok&&((a=o==null?void 0:o.data)==null?void 0:a.deleted)===!0}catch{return!1}}},k6="altio_thread_session";function BC(e){if(typeof window!="undefined")try{if(!e){window.localStorage.removeItem(k6);return}window.localStorage.setItem(k6,e)}catch{}}async function FC(){var n,a;const t=(n=(await io.post("/threads",{})).data)==null?void 0:n.data;return t!=null&&t.session&&BC(t.session),(a=t==null?void 0:t.tuid)!=null?a:null}const UC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
64
|
+
<g clip-path="url(#clip0_5374_42817)">
|
|
65
|
+
<path d="M7.39795 2.34106H12.0122L17.4653 7.30591V15.4084C17.4651 16.8943 16.2607 18.0986 14.7749 18.0989H7.39795C5.91213 18.0986 4.70778 16.8943 4.70752 15.4084V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
66
|
+
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"/>
|
|
67
|
+
</g>
|
|
68
|
+
<rect x="1.72021" y="9.37891" width="10.0543" height="6.831" rx="1.656" fill="#0DB664"/>
|
|
69
|
+
<path d="M4.6327 14.3164C4.53903 14.3164 4.45107 14.2799 4.38516 14.2138L3.10205 12.9307C3.03603 12.8649 2.99951 12.7769 2.99951 12.6832C2.99951 12.5896 3.03603 12.5016 3.10217 12.4357L4.38527 11.1526C4.45107 11.0866 4.53903 11.05 4.6327 11.05C4.82565 11.05 4.98267 11.2071 4.98267 11.4C4.98267 11.4937 4.94616 11.5817 4.88002 11.6476L3.84434 12.6832L4.88013 13.719C4.94628 13.7848 4.98267 13.8728 4.98267 13.9665C4.98267 14.1594 4.82565 14.3164 4.6327 14.3164Z" fill="white"/>
|
|
70
|
+
<path d="M8.36657 14.4331C8.17362 14.4331 8.0166 14.2761 8.0166 14.0832C8.0166 13.9895 8.05312 13.9015 8.11926 13.8356L9.15494 12.7999L8.11914 11.7641C8.05312 11.6981 8.0166 11.6102 8.0166 11.5167C8.0166 11.3238 8.17362 11.1667 8.36657 11.1667C8.46025 11.1667 8.54821 11.2033 8.61412 11.2694L9.89722 12.5525C9.96337 12.6185 9.99976 12.7065 9.99976 12.7999C9.99976 12.8936 9.96325 12.9816 9.8971 13.0475L8.614 14.3306C8.54821 14.3967 8.46025 14.4331 8.36657 14.4331Z" fill="white"/>
|
|
71
|
+
<path d="M5.44909 15.3662C5.25614 15.3662 5.09912 15.2092 5.09912 15.0162C5.09912 14.9698 5.10822 14.9244 5.12595 14.8815L7.22589 10.215C7.28071 10.0843 7.40752 10 7.54891 10C7.74186 10 7.89888 10.157 7.89888 10.35C7.89888 10.3964 7.88978 10.4418 7.87205 10.4847L5.77211 15.1512C5.71728 15.2819 5.59048 15.3662 5.44909 15.3662Z" fill="white"/>
|
|
72
|
+
<defs>
|
|
73
|
+
<clipPath id="clip0_5374_42817">
|
|
74
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"/>
|
|
75
|
+
</clipPath>
|
|
76
|
+
</defs>
|
|
77
|
+
</svg>
|
|
78
|
+
`,PC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
79
|
+
<g clip-path="url(#clip0_5374_42793)">
|
|
80
|
+
<path d="M7.39795 2.34106H12.1323L17.6597 7.177V14.968C17.6596 16.4542 16.4544 17.6594 14.9683 17.6594H7.39795C5.91199 17.6592 4.70755 16.454 4.70752 14.968V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
81
|
+
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"/>
|
|
82
|
+
</g>
|
|
83
|
+
<rect x="1.72021" y="9.37891" width="11.8286" height="6.831" rx="1.656" fill="#3873FF"/>
|
|
84
|
+
<path d="M4.24221 14.5521H3V11.0479H4.25247C4.60494 11.0479 4.90837 11.1181 5.16274 11.2584C5.41711 11.3975 5.61274 11.5977 5.74962 11.8589C5.88764 12.1202 5.95665 12.4327 5.95665 12.7966C5.95665 13.1616 5.88764 13.4753 5.74962 13.7376C5.61274 14 5.41597 14.2013 5.15932 14.3416C4.9038 14.4819 4.5981 14.5521 4.24221 14.5521ZM3.74087 13.9173H4.21141C4.43042 13.9173 4.61464 13.8785 4.76407 13.801C4.91464 13.7222 5.02757 13.6008 5.10285 13.4365C5.17928 13.2711 5.21749 13.0578 5.21749 12.7966C5.21749 12.5376 5.17928 12.326 5.10285 12.1618C5.02757 11.9975 4.91521 11.8766 4.76578 11.799C4.61635 11.7215 4.43213 11.6827 4.21312 11.6827H3.74087V13.9173Z" fill="white"/>
|
|
85
|
+
<path d="M9.62925 12.8C9.62925 13.1821 9.55682 13.5072 9.41195 13.7753C9.26823 14.0433 9.07203 14.2481 8.82336 14.3895C8.57583 14.5298 8.2975 14.6 7.98838 14.6C7.67697 14.6 7.3975 14.5293 7.14998 14.3878C6.90245 14.2464 6.70682 14.0416 6.56309 13.7736C6.41937 13.5055 6.3475 13.181 6.3475 12.8C6.3475 12.4179 6.41937 12.0928 6.56309 11.8247C6.70682 11.5567 6.90245 11.3525 7.14998 11.2122C7.3975 11.0707 7.67697 11 7.98838 11C8.2975 11 8.57583 11.0707 8.82336 11.2122C9.07203 11.3525 9.26823 11.5567 9.41195 11.8247C9.55682 12.0928 9.62925 12.4179 9.62925 12.8ZM8.87811 12.8C8.87811 12.5525 8.84104 12.3437 8.7669 12.1738C8.69389 12.0038 8.59066 11.8749 8.4572 11.7871C8.32374 11.6992 8.16747 11.6553 7.98838 11.6553C7.80929 11.6553 7.65302 11.6992 7.51956 11.7871C7.3861 11.8749 7.28229 12.0038 7.20815 12.1738C7.13515 12.3437 7.09864 12.5525 7.09864 12.8C7.09864 13.0475 7.13515 13.2563 7.20815 13.4262C7.28229 13.5962 7.3861 13.7251 7.51956 13.8129C7.65302 13.9008 7.80929 13.9447 7.98838 13.9447C8.16747 13.9447 8.32374 13.9008 8.4572 13.8129C8.59066 13.7251 8.69389 13.5962 8.7669 13.4262C8.84104 13.2563 8.87811 13.0475 8.87811 12.8Z" fill="white"/>
|
|
86
|
+
<path d="M13.1735 12.2747H12.4241C12.4104 12.1778 12.3825 12.0916 12.3403 12.0163C12.298 11.9399 12.2439 11.8749 12.1777 11.8213C12.1115 11.7677 12.0351 11.7266 11.9484 11.6981C11.8629 11.6696 11.7699 11.6553 11.6695 11.6553C11.4882 11.6553 11.3302 11.7004 11.1956 11.7905C11.061 11.8795 10.9566 12.0095 10.8825 12.1806C10.8083 12.3506 10.7712 12.557 10.7712 12.8C10.7712 13.0498 10.8083 13.2597 10.8825 13.4297C10.9577 13.5996 11.0627 13.7279 11.1973 13.8146C11.3319 13.9013 11.4876 13.9447 11.6644 13.9447C11.7636 13.9447 11.8555 13.9316 11.9399 13.9053C12.0254 13.8791 12.1013 13.8409 12.1674 13.7907C12.2336 13.7394 12.2884 13.6772 12.3317 13.6042C12.3762 13.5312 12.407 13.4479 12.4241 13.3544L13.1735 13.3578C13.1541 13.5186 13.1057 13.6738 13.0281 13.8232C12.9517 13.9715 12.8484 14.1044 12.7184 14.2219C12.5895 14.3382 12.4355 14.4306 12.2564 14.499C12.0785 14.5663 11.8771 14.6 11.6524 14.6C11.3399 14.6 11.0604 14.5293 10.814 14.3878C10.5688 14.2464 10.3749 14.0416 10.2323 13.7736C10.0908 13.5055 10.0201 13.181 10.0201 12.8C10.0201 12.4179 10.092 12.0928 10.2357 11.8247C10.3794 11.5567 10.5745 11.3525 10.8209 11.2122C11.0673 11.0707 11.3444 11 11.6524 11C11.8555 11 12.0437 11.0285 12.2171 11.0856C12.3916 11.1426 12.5461 11.2259 12.6807 11.3354C12.8154 11.4437 12.9249 11.5766 13.0093 11.734C13.0948 11.8914 13.1496 12.0717 13.1735 12.2747Z" fill="white"/>
|
|
87
|
+
<defs>
|
|
88
|
+
<clipPath id="clip0_5374_42793">
|
|
89
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"/>
|
|
90
|
+
</clipPath>
|
|
91
|
+
</defs>
|
|
92
|
+
</svg>
|
|
93
|
+
`,HC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
94
|
+
<g clip-path="url(#clip0_3515_21305)">
|
|
95
|
+
<path d="M6.21436 2.34106H10.8286L16.2817 7.30591V15.4084C16.2815 16.8943 15.0771 18.0986 13.5913 18.0989H6.21436C4.72853 18.0986 3.52418 16.8943 3.52393 15.4084V5.03149C3.52418 3.54567 4.72854 2.34132 6.21436 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
96
|
+
<path d="M9.91113 2.13379V4.61779C9.91113 5.98966 11.0233 7.10179 12.3951 7.10179H15.2931" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"/>
|
|
97
|
+
<circle cx="6.46325" cy="10.828" r="0.828" fill="#6E45F0"/>
|
|
98
|
+
<circle cx="9.56823" cy="10.828" r="0.828" fill="#6E45F0"/>
|
|
99
|
+
<circle cx="12.6732" cy="10.828" r="0.828" fill="#6E45F0"/>
|
|
100
|
+
</g>
|
|
101
|
+
<defs>
|
|
102
|
+
<clipPath id="clip0_3515_21305">
|
|
103
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(2.90283 1.71997)"/>
|
|
104
|
+
</clipPath>
|
|
105
|
+
</defs>
|
|
106
|
+
</svg>
|
|
107
|
+
`,GC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
108
|
+
<g clip-path="url(#clip0_3515_19480)">
|
|
109
|
+
<path d="M7.39795 2.34106H12.0122L17.4653 7.30591V15.4084C17.4651 16.8943 16.2607 18.0986 14.7749 18.0989H7.39795C5.91213 18.0986 4.70778 16.8943 4.70752 15.4084V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
110
|
+
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"/>
|
|
111
|
+
</g>
|
|
112
|
+
<rect x="1.72021" y="9.37891" width="10.0543" height="6.831" rx="1.656" fill="#0DB664"/>
|
|
113
|
+
<path d="M7.66579 10.8279L8.34283 11.967H8.3657L9.04731 10.8279H9.82499L8.81401 12.4839L9.84786 14.1399H9.05189L8.3657 13.0008H8.34283L7.65664 14.1399H6.86523L7.90367 12.4839L6.88353 10.8279H7.66579Z" fill="white"/>
|
|
114
|
+
<path d="M4.20508 14.1399V10.8279H6.42833V11.3951H4.89127V12.2003H6.31396V12.7675H4.89127V13.5726H6.4329V14.1399H4.20508Z" fill="white"/>
|
|
115
|
+
<defs>
|
|
116
|
+
<clipPath id="clip0_3515_19480">
|
|
117
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"/>
|
|
118
|
+
</clipPath>
|
|
119
|
+
</defs>
|
|
120
|
+
</svg>
|
|
121
|
+
`,qC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
122
|
+
<g clip-path="url(#clip0_3515_19568)">
|
|
123
|
+
<path d="M16.1656 2.55005H3.74899C3.0867 2.55005 2.5498 3.08694 2.5498 3.74924V16.2509C2.5498 16.9132 3.0867 17.45 3.74899 17.45H14.3459L14.5262 17.1847L16.6298 15.0811L17.3648 14.4311V14.3461V3.74924C17.3648 3.08694 16.8279 2.55005 16.1656 2.55005Z" fill="#E7ECF6"/>
|
|
124
|
+
<path d="M16.2502 15.5451V4.34863C16.2502 4.01749 15.9817 3.74902 15.6505 3.74902H4.34814C4.017 3.74902 3.74854 4.01749 3.74854 4.34863V15.651C3.74854 15.9822 4.017 16.2506 4.34814 16.2506H15.5446L16.2502 15.5451Z" fill="#BED8FB"/>
|
|
125
|
+
<path d="M16.2509 11.8829L13.8453 8.44119C13.5231 7.98022 12.8406 7.98022 12.5184 8.44119L9.41602 12.8797H16.2508V11.8829H16.2509Z" fill="#365E7D"/>
|
|
126
|
+
<path d="M11.1242 6.75773C11.6418 6.75773 12.0614 6.33813 12.0614 5.82052C12.0614 5.30291 11.6418 4.8833 11.1242 4.8833C10.6066 4.8833 10.187 5.30291 10.187 5.82052C10.187 6.33813 10.6066 6.75773 11.1242 6.75773Z" fill="#FFC344"/>
|
|
127
|
+
<path d="M7.21133 6.92876L3.74854 11.883V12.3387L7.91736 12.8799H12.6978L8.53825 6.92876C8.21606 6.46776 7.53351 6.46776 7.21133 6.92876Z" fill="#407093"/>
|
|
128
|
+
<path d="M16.2502 15.5452V12.3384H3.74854V15.6512C3.74854 15.9823 4.017 16.2508 4.34814 16.2508H15.5446L16.2502 15.5452Z" fill="#B3E59F"/>
|
|
129
|
+
<path d="M14.3457 17.4501L17.4496 14.3462H15.5449C14.8826 14.3462 14.3457 14.8831 14.3457 15.5454V17.4501Z" fill="#ACACAC"/>
|
|
130
|
+
<path d="M16.2507 2.55005H15.4009C16.0632 2.55005 16.6001 3.08694 16.6001 3.74924V14.3461V15.1959L17.4499 14.3461V3.74924C17.4499 3.08694 16.913 2.55005 16.2507 2.55005Z" fill="#D8E2F1"/>
|
|
131
|
+
<path d="M14.3457 17.4501L17.4496 14.3462H15.5449C14.8826 14.3462 14.3457 14.8831 14.3457 15.5454V17.4501Z" fill="#80B4FB"/>
|
|
132
|
+
</g>
|
|
133
|
+
<defs>
|
|
134
|
+
<clipPath id="clip0_3515_19568">
|
|
135
|
+
<rect width="14.9" height="14.9" fill="white" transform="translate(2.5498 2.55005)"/>
|
|
136
|
+
</clipPath>
|
|
137
|
+
</defs>
|
|
138
|
+
</svg>
|
|
139
|
+
`,jC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
140
|
+
<g clip-path="url(#clip0_3515_19459)">
|
|
141
|
+
<path d="M6.21387 2.34106H10.8779L16.3574 7.17505V14.968C16.3574 16.4542 15.1522 17.6594 13.666 17.6594H6.21387C4.7279 17.6592 3.52346 16.454 3.52344 14.968V5.03149C3.52369 3.54567 4.72805 2.34132 6.21387 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
142
|
+
<path d="M10.0596 2.39282V4.74745C10.0596 6.04787 11.1138 7.10207 12.4142 7.10207H15.4416" stroke="#C8D2E1" stroke-width="1.17731" stroke-linecap="round"/>
|
|
143
|
+
<path d="M12.9474 8.96297H6.73543C6.44996 8.96297 6.21436 8.73188 6.21436 8.44645C6.21436 8.16102 6.44996 7.92993 6.73543 7.92993H12.9474C13.2329 7.92993 13.4639 8.16102 13.4639 8.44645C13.4639 8.73188 13.2329 8.96297 12.9474 8.96297ZM10.8767 15.1749H6.73543C6.44996 15.1749 6.21436 14.9438 6.21436 14.6584C6.21436 14.373 6.44996 14.1419 6.73543 14.1419H10.8767C11.1622 14.1419 11.3933 14.373 11.3933 14.6584C11.3933 14.9438 11.1622 15.1749 10.8767 15.1749ZM12.9474 13.1043H6.73543C6.44996 13.1043 6.21436 12.8732 6.21436 12.5878C6.21436 12.3023 6.44996 12.0712 6.73543 12.0712H12.9474C13.2329 12.0712 13.4639 12.3023 13.4639 12.5878C13.4639 12.8732 13.2329 13.1043 12.9474 13.1043ZM12.9474 11.0336H6.73543C6.44996 11.0336 6.21436 10.8025 6.21436 10.5171C6.21436 10.2317 6.44996 10.0006 6.73543 10.0006H12.9474C13.2329 10.0006 13.4639 10.2317 13.4639 10.5171C13.4639 10.8025 13.2329 11.0336 12.9474 11.0336Z" fill="#595858"/>
|
|
144
|
+
</g>
|
|
145
|
+
<defs>
|
|
146
|
+
<clipPath id="clip0_3515_19459">
|
|
147
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(2.90283 1.71997)"/>
|
|
148
|
+
</clipPath>
|
|
149
|
+
</defs>
|
|
150
|
+
</svg>
|
|
151
|
+
`,$C=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
152
|
+
<g clip-path="url(#clip0_4211_31567)">
|
|
153
|
+
<path d="M7.03027 2.27173H12.1592L17.7285 7.14575V15.3362C17.7284 16.6571 16.6569 17.7278 15.3359 17.7278H7.03027C5.70928 17.7278 4.63781 16.6571 4.6377 15.3362V4.66431C4.6377 3.34324 5.70921 2.27173 7.03027 2.27173Z" fill="white" stroke="#C8D2E1" stroke-width="1.104"/>
|
|
154
|
+
<path d="M12.1294 2.13403V4.89403C12.1294 6.11348 13.1179 7.10203 14.3374 7.10203H17.8071" stroke="#C8D2E1" stroke-width="1.104" stroke-linecap="round"/>
|
|
155
|
+
</g>
|
|
156
|
+
<rect x="1.72021" y="9.08008" width="13.0114" height="6.831" rx="1.472" fill="#2B8FDA"/>
|
|
157
|
+
<path d="M3.33643 10.9901H4.23365L5.18128 13.0131H5.2216L6.16923 10.9901H7.06646V14.001H6.36078V12.0413H6.33221L5.44171 13.9863H4.96117L4.07067 12.034H4.04211V14.001H3.33643V10.9901Z" fill="white"/>
|
|
158
|
+
<path d="M7.57124 14.001V10.9901H8.92884C9.18983 10.9901 9.41217 11.0338 9.59587 11.121C9.77958 11.2072 9.91959 11.3273 10.0159 11.4812C10.1134 11.6341 10.1621 11.8105 10.1621 12.0104C10.1621 12.2104 10.1128 12.3868 10.0142 12.5397C9.91567 12.6926 9.77285 12.8117 9.58579 12.897C9.39985 12.9822 9.17471 13.0249 8.91035 13.0249H8.04505V12.5147H8.79274C8.93276 12.5147 9.04813 12.4936 9.13886 12.4515C9.23071 12.4084 9.29904 12.3491 9.34384 12.2736C9.38977 12.1971 9.41273 12.1094 9.41273 12.0104C9.41273 11.9105 9.38977 11.8232 9.34384 11.7487C9.29904 11.6733 9.23071 11.615 9.13886 11.5738C9.04701 11.5317 8.93052 11.5106 8.78938 11.5106H8.29876V14.001H7.57124Z" fill="white"/>
|
|
159
|
+
<path d="M11.7918 14.0422C11.5409 14.0422 11.3174 14.0045 11.1214 13.929C10.9265 13.8526 10.7725 13.7477 10.6593 13.6144C10.5473 13.4801 10.4896 13.3253 10.4863 13.1498H11.2188C11.2233 13.2233 11.2507 13.288 11.3012 13.3439C11.3527 13.3988 11.421 13.4414 11.5061 13.4718C11.5913 13.5022 11.687 13.5174 11.7935 13.5174C11.9043 13.5174 12.0024 13.5002 12.0875 13.4659C12.1726 13.4316 12.2393 13.3841 12.2874 13.3233C12.3356 13.2625 12.3597 13.1925 12.3597 13.1131C12.3597 13.0327 12.3339 12.9616 12.2824 12.8999C12.232 12.8372 12.1592 12.7882 12.064 12.7529C11.9699 12.7176 11.8579 12.6999 11.7279 12.6999H11.407V12.2324H11.7279C11.8377 12.2324 11.9346 12.2158 12.0186 12.1824C12.1037 12.1491 12.1698 12.1031 12.2169 12.0443C12.2639 11.9845 12.2874 11.9149 12.2874 11.8355C12.2874 11.76 12.2667 11.6939 12.2253 11.637C12.1849 11.5792 12.1278 11.5341 12.0539 11.5018C11.9811 11.4694 11.8959 11.4532 11.7985 11.4532C11.6999 11.4532 11.6098 11.4689 11.528 11.5003C11.4462 11.5307 11.3807 11.5743 11.3314 11.6311C11.2821 11.688 11.2558 11.7546 11.2524 11.8311H10.5551C10.5585 11.6576 10.6151 11.5047 10.7248 11.3724C10.8346 11.2401 10.9825 11.1367 11.1684 11.0622C11.3555 10.9867 11.5666 10.949 11.8019 10.949C12.0393 10.949 12.2471 10.9867 12.4252 11.0622C12.6033 11.1376 12.7416 11.2396 12.8402 11.368C12.9399 11.4954 12.9892 11.6385 12.9881 11.7973C12.9892 11.9658 12.9293 12.1065 12.8083 12.2192C12.6884 12.3319 12.5322 12.4035 12.3395 12.4338V12.4574C12.5927 12.4858 12.7853 12.5627 12.9175 12.6882C13.0508 12.8127 13.1169 12.9685 13.1158 13.1557C13.1169 13.3272 13.0603 13.4796 12.9461 13.6129C12.8329 13.7462 12.6767 13.8511 12.4773 13.9275C12.2779 14.004 12.0494 14.0422 11.7918 14.0422Z" fill="white"/>
|
|
160
|
+
<defs>
|
|
161
|
+
<clipPath id="clip0_4211_31567">
|
|
162
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08594 1.71997)"/>
|
|
163
|
+
</clipPath>
|
|
164
|
+
</defs>
|
|
165
|
+
</svg>
|
|
166
|
+
`,VC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
167
|
+
<g clip-path="url(#clip0_3515_19510)">
|
|
168
|
+
<path d="M7.39795 2.34106H12.1323L17.6597 7.177V14.968C17.6596 16.4542 16.4544 17.6594 14.9683 17.6594H7.39795C5.91199 17.6592 4.70755 16.454 4.70752 14.968V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
169
|
+
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"/>
|
|
170
|
+
</g>
|
|
171
|
+
<rect x="1.72021" y="9.37891" width="11.8286" height="6.831" rx="1.656" fill="#FF1607"/>
|
|
172
|
+
<path d="M3.3374 14.2997V11.2888H4.695C4.95599 11.2888 5.17834 11.3324 5.36204 11.4197C5.54574 11.5059 5.68575 11.626 5.78209 11.7799C5.87954 11.9328 5.92826 12.1092 5.92826 12.3091C5.92826 12.5091 5.87898 12.6855 5.78041 12.8384C5.68183 12.9913 5.53902 13.1104 5.35196 13.1956C5.16601 13.2809 4.94087 13.3235 4.67652 13.3235H3.81122V12.8134H4.5589C4.69892 12.8134 4.81429 12.7923 4.90502 12.7502C4.99687 12.707 5.0652 12.6477 5.11001 12.5723C5.15593 12.4958 5.1789 12.4081 5.1789 12.3091C5.1789 12.2091 5.15593 12.1219 5.11001 12.0474C5.0652 11.972 4.99687 11.9136 4.90502 11.8725C4.81317 11.8303 4.69668 11.8093 4.55554 11.8093H4.06493V14.2997H3.3374Z" fill="white"/>
|
|
173
|
+
<path d="M7.52601 14.2997H6.30619V11.2888H7.53609C7.88221 11.2888 8.18017 11.3491 8.42996 11.4696C8.67974 11.5892 8.87185 11.7612 9.00626 11.9857C9.1418 12.2101 9.20957 12.4787 9.20957 12.7913C9.20957 13.105 9.1418 13.3745 9.00626 13.5999C8.87185 13.8254 8.67862 13.9983 8.42659 14.1189C8.17569 14.2395 7.87549 14.2997 7.52601 14.2997ZM7.03371 13.7543H7.49577C7.71083 13.7543 7.89173 13.721 8.03847 13.6543C8.18633 13.5867 8.29722 13.4823 8.37115 13.3412C8.4462 13.1991 8.48372 13.0158 8.48372 12.7913C8.48372 12.5688 8.4462 12.387 8.37115 12.2459C8.29722 12.1048 8.18689 12.0009 8.04015 11.9342C7.89341 11.8676 7.71251 11.8343 7.49745 11.8343H7.03371V13.7543Z" fill="white"/>
|
|
174
|
+
<path d="M9.65386 14.2997V11.2888H11.9322V11.8137H10.3814V12.5311H11.781V13.056H10.3814V14.2997H9.65386Z" fill="white"/>
|
|
175
|
+
<defs>
|
|
176
|
+
<clipPath id="clip0_3515_19510">
|
|
177
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"/>
|
|
178
|
+
</clipPath>
|
|
179
|
+
</defs>
|
|
180
|
+
</svg>
|
|
181
|
+
`,YC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
182
|
+
<g clip-path="url(#clip0_5374_42794)">
|
|
183
|
+
<path d="M7.39795 2.34106H12.1323L17.6597 7.177V14.968C17.6596 16.4542 16.4544 17.6594 14.9683 17.6594H7.39795C5.91199 17.6592 4.70755 16.454 4.70752 14.968V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
184
|
+
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"/>
|
|
185
|
+
</g>
|
|
186
|
+
<rect x="1.72021" y="9.37891" width="11.8286" height="6.831" rx="1.656" fill="#FF1607"/>
|
|
187
|
+
<path d="M3 14.6V11H4.42031C4.69336 11 4.92598 11.0521 5.11816 11.1564C5.31035 11.2596 5.45684 11.4031 5.55762 11.5871C5.65957 11.7699 5.71055 11.9809 5.71055 12.2199C5.71055 12.459 5.65898 12.6699 5.55586 12.8527C5.45273 13.0355 5.30332 13.1779 5.10762 13.2799C4.91309 13.3818 4.67754 13.4328 4.40098 13.4328H3.4957V12.8229H4.27793C4.42441 12.8229 4.54512 12.7977 4.64004 12.7473C4.73613 12.6957 4.80762 12.6248 4.85449 12.5346C4.90254 12.4432 4.92656 12.3383 4.92656 12.2199C4.92656 12.1004 4.90254 11.9961 4.85449 11.907C4.80762 11.8168 4.73613 11.7471 4.64004 11.6979C4.54395 11.6475 4.42207 11.6223 4.27441 11.6223H3.76113V14.6H3Z" fill="white"/>
|
|
188
|
+
<path d="M6.10593 14.6V11H7.52624C7.79929 11 8.03191 11.0521 8.2241 11.1564C8.41628 11.2596 8.56277 11.4031 8.66355 11.5871C8.7655 11.7699 8.81648 11.9809 8.81648 12.2199C8.81648 12.459 8.76492 12.6699 8.66179 12.8527C8.55867 13.0355 8.40925 13.1779 8.21355 13.2799C8.01902 13.3818 7.78347 13.4328 7.50691 13.4328H6.60164V12.8229H7.38386C7.53035 12.8229 7.65105 12.7977 7.74597 12.7473C7.84206 12.6957 7.91355 12.6248 7.96042 12.5346C8.00847 12.4432 8.03249 12.3383 8.03249 12.2199C8.03249 12.1004 8.00847 11.9961 7.96042 11.907C7.91355 11.8168 7.84206 11.7471 7.74597 11.6979C7.64988 11.6475 7.528 11.6223 7.38035 11.6223H6.86706V14.6H6.10593Z" fill="white"/>
|
|
189
|
+
<path d="M9.07475 11.6275V11H12.0314V11.6275H10.9292V14.6H10.1769V11.6275H9.07475Z" fill="white"/>
|
|
190
|
+
<defs>
|
|
191
|
+
<clipPath id="clip0_5374_42794">
|
|
192
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"/>
|
|
193
|
+
</clipPath>
|
|
194
|
+
</defs>
|
|
195
|
+
</svg>
|
|
196
|
+
`,XC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
197
|
+
<g clip-path="url(#clip0_4211_31568)">
|
|
198
|
+
<path d="M7.03027 2.27173H12.1592L17.7285 7.14575V15.3362C17.7284 16.6571 16.6569 17.7278 15.3359 17.7278H7.03027C5.70928 17.7278 4.63781 16.6571 4.6377 15.3362V4.66431C4.6377 3.34324 5.70921 2.27173 7.03027 2.27173Z" fill="white" stroke="#C8D2E1" stroke-width="1.104"/>
|
|
199
|
+
<path d="M12.1294 2.13403V4.89403C12.1294 6.11348 13.1179 7.10203 14.3374 7.10203H17.8071" stroke="#C8D2E1" stroke-width="1.104" stroke-linecap="round"/>
|
|
200
|
+
</g>
|
|
201
|
+
<rect x="1.72021" y="9.37891" width="13.6029" height="6.831" rx="1.472" fill="#ED1B24"/>
|
|
202
|
+
<path d="M3.13525 11.289H4.03248L4.98011 13.3119H5.02043L5.96806 11.289H6.86529V14.2999H6.1596V12.3401H6.13104L5.24054 14.2852H4.76L3.8695 12.3328H3.84094V14.2999H3.13525V11.289Z" fill="white"/>
|
|
203
|
+
<path d="M10.5322 12.7944C10.5322 13.1228 10.4611 13.4021 10.3188 13.6324C10.1777 13.8627 9.98501 14.0387 9.74082 14.1602C9.49775 14.2808 9.22444 14.341 8.92089 14.341C8.61509 14.341 8.34066 14.2803 8.09759 14.1587C7.85452 14.0372 7.66242 13.8613 7.52128 13.6309C7.38015 13.4006 7.30958 13.1218 7.30958 12.7944C7.30958 12.4661 7.38015 12.1868 7.52128 11.9564C7.66242 11.7261 7.85452 11.5507 8.09759 11.4301C8.34066 11.3086 8.61509 11.2478 8.92089 11.2478C9.22444 11.2478 9.49775 11.3086 9.74082 11.4301C9.98501 11.5507 10.1777 11.7261 10.3188 11.9564C10.4611 12.1868 10.5322 12.4661 10.5322 12.7944ZM9.79459 12.7944C9.79459 12.5817 9.75818 12.4024 9.68538 12.2563C9.61369 12.1103 9.51232 11.9995 9.38126 11.9241C9.2502 11.8486 9.09675 11.8109 8.92089 11.8109C8.74503 11.8109 8.59157 11.8486 8.46051 11.9241C8.32946 11.9995 8.22753 12.1103 8.15472 12.2563C8.08303 12.4024 8.04719 12.5817 8.04719 12.7944C8.04719 13.0071 8.08303 13.1865 8.15472 13.3325C8.22753 13.4785 8.32946 13.5893 8.46051 13.6648C8.59157 13.7402 8.74503 13.778 8.92089 13.778C9.09675 13.778 9.2502 13.7402 9.38126 13.6648C9.51232 13.5893 9.61369 13.4785 9.68538 13.3325C9.75818 13.1865 9.79459 13.0071 9.79459 12.7944Z" fill="white"/>
|
|
204
|
+
<path d="M11.4041 11.289L12.2358 13.5766H12.2677L13.1011 11.289H13.9076L12.7214 14.2999H11.7838L10.5959 11.289H11.4041Z" fill="white"/>
|
|
205
|
+
<defs>
|
|
206
|
+
<clipPath id="clip0_4211_31568">
|
|
207
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08594 1.71997)"/>
|
|
208
|
+
</clipPath>
|
|
209
|
+
</defs>
|
|
210
|
+
</svg>
|
|
211
|
+
`,KC=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
212
|
+
<g clip-path="url(#clip0_3515_19495)">
|
|
213
|
+
<path d="M7.39795 2.34106H12.0122L17.4653 7.30591V15.4084C17.4651 16.8943 16.2607 18.0986 14.7749 18.0989H7.39795C5.91213 18.0986 4.70778 16.8943 4.70752 15.4084V5.03149C4.70778 3.54567 5.91213 2.34132 7.39795 2.34106Z" fill="white" stroke="#C8D2E1" stroke-width="1.242"/>
|
|
214
|
+
<path d="M11.0952 2.13379V4.61779C11.0952 5.98966 12.2073 7.10179 13.5792 7.10179H16.4772" stroke="#C8D2E1" stroke-width="1.242" stroke-linecap="round"/>
|
|
215
|
+
</g>
|
|
216
|
+
<rect x="1.72021" y="9.37891" width="10.0543" height="6.831" rx="1.656" fill="#344054"/>
|
|
217
|
+
<path d="M3.289 14.3V13.9221L5.00616 11.8139H3.28564V11.2891H5.92019V11.6669L4.20135 13.7751H5.92355V14.3H3.289Z" fill="white"/>
|
|
218
|
+
<path d="M7.11469 11.2891V14.3H6.38717V11.2891H7.11469Z" fill="white"/>
|
|
219
|
+
<path d="M7.61863 14.3V11.2891H8.97623C9.23722 11.2891 9.45957 11.3327 9.64327 11.4199C9.82697 11.5062 9.96698 11.6262 10.0633 11.7801C10.1608 11.933 10.2095 12.1094 10.2095 12.3094C10.2095 12.5093 10.1602 12.6857 10.0616 12.8386C9.96306 12.9915 9.82025 13.1106 9.63319 13.1959C9.44724 13.2811 9.2221 13.3238 8.95775 13.3238H8.09245V12.8136H8.84013C8.98015 12.8136 9.09552 12.7926 9.18625 12.7504C9.27811 12.7073 9.34643 12.648 9.39124 12.5725C9.43716 12.4961 9.46013 12.4084 9.46013 12.3094C9.46013 12.2094 9.43716 12.1222 9.39124 12.0477C9.34643 11.9722 9.27811 11.9139 9.18625 11.8727C9.0944 11.8306 8.97791 11.8095 8.83677 11.8095H8.34616V14.3H7.61863Z" fill="white"/>
|
|
220
|
+
<defs>
|
|
221
|
+
<clipPath id="clip0_3515_19495">
|
|
222
|
+
<rect width="14.1943" height="16.56" fill="white" transform="translate(4.08643 1.71997)"/>
|
|
223
|
+
</clipPath>
|
|
224
|
+
</defs>
|
|
225
|
+
</svg>
|
|
226
226
|
`;function WC(e){const t=e.lastIndexOf(".");switch(t>0?e.slice(t+1).toLowerCase():""){case"pdf":return VC;case"doc":case"docx":case"hwp":case"hwpx":return PC;case"ppt":case"pptx":return YC;case"xls":case"xlsx":case"csv":return GC;case"png":case"jpg":case"jpeg":case"gif":case"webp":case"bmp":case"svg":return qC;case"mp3":case"wav":case"m4a":case"ogg":case"flac":case"aac":return $C;case"mp4":case"mov":case"avi":case"mkv":case"webm":return XC;case"zip":case"rar":case"7z":case"gz":case"tar":return KC;case"md":case"markdown":return jC;case"js":case"jsx":case"ts":case"tsx":case"json":case"html":case"css":case"scss":case"py":case"java":case"c":case"cpp":case"go":case"rs":case"rb":case"php":case"sh":case"xml":case"yml":case"yaml":return UC;default:return HC}}const ZC="app-logo-cache";function QC(){if(typeof window!="undefined")try{const e=localStorage.getItem(ZC);return e?JSON.parse(e):void 0}catch{return}}function JC(){var t,n,a,s;const e=QC();return(s=(a=(n=(t=e==null?void 0:e.data)==null?void 0:t.list)==null?void 0:n.logo)==null?void 0:a.icon)!=null?s:""}function _6(e){var t,n,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=_6(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function eR(){for(var e,t,n=0,a="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=_6(e))&&(a&&(a+=" "),a+=t);return a}const tR=(e,t)=>{const n=new Array(e.length+t.length);for(let a=0;a<e.length;a++)n[a]=e[a];for(let a=0;a<t.length;a++)n[e.length+a]=t[a];return n},nR=(e,t)=>({classGroupId:e,validator:t}),C6=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Jc="-",R6=[],aR="arbitrary..",rR=e=>{const t=sR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return iR(u);const c=u.split(Jc),p=c[0]===""&&c.length>1?1:0;return N6(c,p,t)},getConflictingClassGroupIds:(u,c)=>{if(c){const p=a[u],f=n[u];return p?f?tR(f,p):p:f||R6}return n[u]||R6}}},N6=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],o=n.nextPart.get(s);if(o){const f=N6(e,t+1,o);if(f)return f}const u=n.validators;if(u===null)return;const c=t===0?e.join(Jc):e.slice(t).join(Jc),p=u.length;for(let f=0;f<p;f++){const m=u[f];if(m.validator(c))return m.classGroupId}},iR=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),a=t.slice(0,n);return a?aR+a:void 0})(),sR=e=>{const{theme:t,classGroups:n}=e;return oR(n,t)},oR=(e,t)=>{const n=C6();for(const a in e){const s=e[a];uf(s,n,a,t)}return n},uf=(e,t,n,a)=>{const s=e.length;for(let o=0;o<s;o++){const u=e[o];lR(u,t,n,a)}},lR=(e,t,n,a)=>{if(typeof e=="string"){uR(e,t,n);return}if(typeof e=="function"){cR(e,t,n,a);return}dR(e,t,n,a)},uR=(e,t,n)=>{const a=e===""?t:I6(t,e);a.classGroupId=n},cR=(e,t,n,a)=>{if(pR(e)){uf(e(a),t,n,a);return}t.validators===null&&(t.validators=[]),t.validators.push(nR(n,e))},dR=(e,t,n,a)=>{const s=Object.entries(e),o=s.length;for(let u=0;u<o;u++){const[c,p]=s[u];uf(p,I6(t,c),n,a)}},I6=(e,t)=>{let n=e;const a=t.split(Jc),s=a.length;for(let o=0;o<s;o++){const u=a[o];let c=n.nextPart.get(u);c||(c=C6(),n.nextPart.set(u,c)),n=c}return n},pR=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,fR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),a=Object.create(null);const s=(o,u)=>{n[o]=u,t++,t>e&&(t=0,a=n,n=Object.create(null))};return{get(o){let u=n[o];if(u!==void 0)return u;if((u=a[o])!==void 0)return s(o,u),u},set(o,u){o in n?n[o]=u:s(o,u)}}},cf="!",O6=":",hR=[],D6=(e,t,n,a,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:a,isExternal:s}),mR=e=>{const{prefix:t,experimentalParseClassName:n}=e;let a=s=>{const o=[];let u=0,c=0,p=0,f;const m=s.length;for(let C=0;C<m;C++){const k=s[C];if(u===0&&c===0){if(k===O6){o.push(s.slice(p,C)),p=C+1;continue}if(k==="/"){f=C;continue}}k==="["?u++:k==="]"?u--:k==="("?c++:k===")"&&c--}const g=o.length===0?s:s.slice(p);let v=g,y=!1;g.endsWith(cf)?(v=g.slice(0,-1),y=!0):g.startsWith(cf)&&(v=g.slice(1),y=!0);const A=f&&f>p?f-p:void 0;return D6(o,y,v,A)};if(t){const s=t+O6,o=a;a=u=>u.startsWith(s)?o(u.slice(s.length)):D6(hR,!1,u,void 0,!0)}if(n){const s=a;a=o=>n({className:o,parseClassName:s})}return a},gR=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,a)=>{t.set(n,1e6+a)}),n=>{const a=[];let s=[];for(let o=0;o<n.length;o++){const u=n[o],c=u[0]==="[",p=t.has(u);c||p?(s.length>0&&(s.sort(),a.push(...s),s=[]),a.push(u)):s.push(u)}return s.length>0&&(s.sort(),a.push(...s)),a}},bR=e=>({cache:fR(e.cacheSize),parseClassName:mR(e),sortModifiers:gR(e),postfixLookupClassGroupIds:ER(e),...rR(e)}),ER=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let a=0;a<n.length;a++)t[n[a]]=!0;return t},yR=/\s+/,TR=(e,t)=>{const{parseClassName:n,getClassGroupId:a,getConflictingClassGroupIds:s,sortModifiers:o,postfixLookupClassGroupIds:u}=t,c=[],p=e.trim().split(yR);let f="";for(let m=p.length-1;m>=0;m-=1){const g=p[m],{isExternal:v,modifiers:y,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:k}=n(g);if(v){f=g+(f.length>0?" "+f:f);continue}let x=!!k,R;if(x){const Q=C.substring(0,k);R=a(Q);const Y=R&&u[R]?a(C):void 0;Y&&Y!==R&&(R=Y,x=!1)}else R=a(C);if(!R){if(!x){f=g+(f.length>0?" "+f:f);continue}if(R=a(C),!R){f=g+(f.length>0?" "+f:f);continue}x=!1}const I=y.length===0?"":y.length===1?y[0]:o(y).join(":"),z=A?I+cf:I,P=z+R;if(c.indexOf(P)>-1)continue;c.push(P);const U=s(R,x);for(let Q=0;Q<U.length;++Q){const Y=U[Q];c.push(z+Y)}f=g+(f.length>0?" "+f:f)}return f},vR=(...e)=>{let t=0,n,a,s="";for(;t<e.length;)(n=e[t++])&&(a=L6(n))&&(s&&(s+=" "),s+=a);return s},L6=e=>{if(typeof e=="string")return e;let t,n="";for(let a=0;a<e.length;a++)e[a]&&(t=L6(e[a]))&&(n&&(n+=" "),n+=t);return n},SR=(e,...t)=>{let n,a,s,o;const u=p=>{const f=t.reduce((m,g)=>g(m),e());return n=bR(f),a=n.cache.get,s=n.cache.set,o=c,c(p)},c=p=>{const f=a(p);if(f)return f;const m=TR(p,n);return s(p,m),m};return o=u,(...p)=>o(vR(...p))},wR=[],yn=e=>{const t=n=>n[e]||wR;return t.isThemeGetter=!0,t},M6=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,z6=/^\((?:(\w[\w-]*):)?(.+)\)$/i,AR=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,xR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_R=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,CR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,RR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,li=e=>AR.test(e),ct=e=>!!e&&!Number.isNaN(Number(e)),pr=e=>!!e&&Number.isInteger(Number(e)),df=e=>e.endsWith("%")&&ct(e.slice(0,-1)),Dr=e=>xR.test(e),B6=()=>!0,NR=e=>kR.test(e)&&!_R.test(e),pf=()=>!1,IR=e=>CR.test(e),OR=e=>RR.test(e),DR=e=>!qe(e)&&!je(e),LR=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),MR=e=>ui(e,q6,pf),qe=e=>M6.test(e),ds=e=>ui(e,j6,NR),F6=e=>ui(e,qR,ct),zR=e=>ui(e,V6,B6),BR=e=>ui(e,$6,pf),U6=e=>ui(e,H6,pf),FR=e=>ui(e,G6,OR),ed=e=>ui(e,Y6,IR),je=e=>z6.test(e),Vl=e=>ps(e,j6),UR=e=>ps(e,$6),P6=e=>ps(e,H6),PR=e=>ps(e,q6),HR=e=>ps(e,G6),td=e=>ps(e,Y6,!0),GR=e=>ps(e,V6,!0),ui=(e,t,n)=>{const a=M6.exec(e);return a?a[1]?t(a[1]):n(a[2]):!1},ps=(e,t,n=!1)=>{const a=z6.exec(e);return a?a[1]?t(a[1]):n:!1},H6=e=>e==="position"||e==="percentage",G6=e=>e==="image"||e==="url",q6=e=>e==="length"||e==="size"||e==="bg-size",j6=e=>e==="length",qR=e=>e==="number",$6=e=>e==="family-name",V6=e=>e==="number"||e==="weight",Y6=e=>e==="shadow",jR=SR(()=>{const e=yn("color"),t=yn("font"),n=yn("text"),a=yn("font-weight"),s=yn("tracking"),o=yn("leading"),u=yn("breakpoint"),c=yn("container"),p=yn("spacing"),f=yn("radius"),m=yn("shadow"),g=yn("inset-shadow"),v=yn("text-shadow"),y=yn("drop-shadow"),A=yn("blur"),C=yn("perspective"),k=yn("aspect"),x=yn("ease"),R=yn("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...z(),je,qe],U=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto","contain","none"],Y=()=>[je,qe,p],ee=()=>[li,"full","auto",...Y()],q=()=>[pr,"none","subgrid",je,qe],re=()=>["auto",{span:["full",pr,je,qe]},pr,je,qe],ne=()=>[pr,"auto",je,qe],ge=()=>["auto","min","max","fr",je,qe],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],de=()=>["start","end","center","stretch","center-safe","end-safe"],X=()=>["auto",...Y()],pe=()=>[li,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Y()],Ae=()=>[li,"screen","full","dvw","lvw","svw","min","max","fit",...Y()],Ue=()=>[li,"screen","full","lh","dvh","lvh","svh","min","max","fit",...Y()],w=()=>[e,je,qe],ae=()=>[...z(),P6,U6,{position:[je,qe]}],Te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],B=()=>["auto","cover","contain",PR,MR,{size:[je,qe]}],Le=()=>[df,Vl,ds],Ge=()=>["","none","full",f,je,qe],ye=()=>["",ct,Vl,ds],Re=()=>["solid","dashed","dotted","double"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Me=()=>[ct,df,P6,U6],jt=()=>["","none",A,je,qe],Ht=()=>["none",ct,je,qe],Gt=()=>["none",ct,je,qe],Sn=()=>[ct,je,qe],$t=()=>[li,"full",...Y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Dr],breakpoint:[Dr],color:[B6],container:[Dr],"drop-shadow":[Dr],ease:["in","out","in-out"],font:[DR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Dr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Dr],shadow:[Dr],spacing:["px",ct],text:[Dr],"text-shadow":[Dr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",li,qe,je,k]}],container:["container"],"container-type":[{"@container":["","normal","size",je,qe]}],"container-named":[LR],columns:[{columns:[ct,qe,je,c]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ee()}],"inset-x":[{"inset-x":ee()}],"inset-y":[{"inset-y":ee()}],start:[{"inset-s":ee(),start:ee()}],end:[{"inset-e":ee(),end:ee()}],"inset-bs":[{"inset-bs":ee()}],"inset-be":[{"inset-be":ee()}],top:[{top:ee()}],right:[{right:ee()}],bottom:[{bottom:ee()}],left:[{left:ee()}],visibility:["visible","invisible","collapse"],z:[{z:[pr,"auto",je,qe]}],basis:[{basis:[li,"full","auto",c,...Y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ct,li,"auto","initial","none",qe]}],grow:[{grow:["",ct,je,qe]}],shrink:[{shrink:["",ct,je,qe]}],order:[{order:[pr,"first","last","none",je,qe]}],"grid-cols":[{"grid-cols":q()}],"col-start-end":[{col:re()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":q()}],"row-start-end":[{row:re()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ge()}],"auto-rows":[{"auto-rows":ge()}],gap:[{gap:Y()}],"gap-x":[{"gap-x":Y()}],"gap-y":[{"gap-y":Y()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...de(),"normal"]}],"justify-self":[{"justify-self":["auto",...de()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...de(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...de(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...de(),"baseline"]}],"place-self":[{"place-self":["auto",...de()]}],p:[{p:Y()}],px:[{px:Y()}],py:[{py:Y()}],ps:[{ps:Y()}],pe:[{pe:Y()}],pbs:[{pbs:Y()}],pbe:[{pbe:Y()}],pt:[{pt:Y()}],pr:[{pr:Y()}],pb:[{pb:Y()}],pl:[{pl:Y()}],m:[{m:X()}],mx:[{mx:X()}],my:[{my:X()}],ms:[{ms:X()}],me:[{me:X()}],mbs:[{mbs:X()}],mbe:[{mbe:X()}],mt:[{mt:X()}],mr:[{mr:X()}],mb:[{mb:X()}],ml:[{ml:X()}],"space-x":[{"space-x":Y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Y()}],"space-y-reverse":["space-y-reverse"],size:[{size:pe()}],"inline-size":[{inline:["auto",...Ae()]}],"min-inline-size":[{"min-inline":["auto",...Ae()]}],"max-inline-size":[{"max-inline":["none",...Ae()]}],"block-size":[{block:["auto",...Ue()]}],"min-block-size":[{"min-block":["auto",...Ue()]}],"max-block-size":[{"max-block":["none",...Ue()]}],w:[{w:[c,"screen",...pe()]}],"min-w":[{"min-w":[c,"screen","none",...pe()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[u]},...pe()]}],h:[{h:["screen","lh",...pe()]}],"min-h":[{"min-h":["screen","lh","none",...pe()]}],"max-h":[{"max-h":["screen","lh",...pe()]}],"font-size":[{text:["base",n,Vl,ds]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,GR,zR]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",df,qe]}],"font-family":[{font:[UR,BR,t]}],"font-features":[{"font-features":[qe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,je,qe]}],"line-clamp":[{"line-clamp":[ct,"none",je,F6]}],leading:[{leading:[o,...Y()]}],"list-image":[{"list-image":["none",je,qe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",je,qe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Re(),"wavy"]}],"text-decoration-thickness":[{decoration:[ct,"from-font","auto",je,ds]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[ct,"auto",je,qe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Y()}],"tab-size":[{tab:[pr,je,qe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",je,qe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",je,qe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:Te()}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pr,je,qe],radial:["",je,qe],conic:[pr,je,qe]},HR,FR]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:Le()}],"gradient-via-pos":[{via:Le()}],"gradient-to-pos":[{to:Le()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:Ge()}],"rounded-s":[{"rounded-s":Ge()}],"rounded-e":[{"rounded-e":Ge()}],"rounded-t":[{"rounded-t":Ge()}],"rounded-r":[{"rounded-r":Ge()}],"rounded-b":[{"rounded-b":Ge()}],"rounded-l":[{"rounded-l":Ge()}],"rounded-ss":[{"rounded-ss":Ge()}],"rounded-se":[{"rounded-se":Ge()}],"rounded-ee":[{"rounded-ee":Ge()}],"rounded-es":[{"rounded-es":Ge()}],"rounded-tl":[{"rounded-tl":Ge()}],"rounded-tr":[{"rounded-tr":Ge()}],"rounded-br":[{"rounded-br":Ge()}],"rounded-bl":[{"rounded-bl":Ge()}],"border-w":[{border:ye()}],"border-w-x":[{"border-x":ye()}],"border-w-y":[{"border-y":ye()}],"border-w-s":[{"border-s":ye()}],"border-w-e":[{"border-e":ye()}],"border-w-bs":[{"border-bs":ye()}],"border-w-be":[{"border-be":ye()}],"border-w-t":[{"border-t":ye()}],"border-w-r":[{"border-r":ye()}],"border-w-b":[{"border-b":ye()}],"border-w-l":[{"border-l":ye()}],"divide-x":[{"divide-x":ye()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ye()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Re(),"hidden","none"]}],"divide-style":[{divide:[...Re(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-bs":[{"border-bs":w()}],"border-color-be":[{"border-be":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...Re(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ct,je,qe]}],"outline-w":[{outline:["",ct,Vl,ds]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",m,td,ed]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",g,td,ed]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[ct,ds]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":ye()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",v,td,ed]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[ct,je,qe]}],"mix-blend":[{"mix-blend":[...Be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Be()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ct]}],"mask-image-linear-from-pos":[{"mask-linear-from":Me()}],"mask-image-linear-to-pos":[{"mask-linear-to":Me()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":Me()}],"mask-image-t-to-pos":[{"mask-t-to":Me()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":Me()}],"mask-image-r-to-pos":[{"mask-r-to":Me()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":Me()}],"mask-image-b-to-pos":[{"mask-b-to":Me()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":Me()}],"mask-image-l-to-pos":[{"mask-l-to":Me()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":Me()}],"mask-image-x-to-pos":[{"mask-x-to":Me()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":Me()}],"mask-image-y-to-pos":[{"mask-y-to":Me()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[je,qe]}],"mask-image-radial-from-pos":[{"mask-radial-from":Me()}],"mask-image-radial-to-pos":[{"mask-radial-to":Me()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":z()}],"mask-image-conic-pos":[{"mask-conic":[ct]}],"mask-image-conic-from-pos":[{"mask-conic-from":Me()}],"mask-image-conic-to-pos":[{"mask-conic-to":Me()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:Te()}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",je,qe]}],filter:[{filter:["","none",je,qe]}],blur:[{blur:jt()}],brightness:[{brightness:[ct,je,qe]}],contrast:[{contrast:[ct,je,qe]}],"drop-shadow":[{"drop-shadow":["","none",y,td,ed]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",ct,je,qe]}],"hue-rotate":[{"hue-rotate":[ct,je,qe]}],invert:[{invert:["",ct,je,qe]}],saturate:[{saturate:[ct,je,qe]}],sepia:[{sepia:["",ct,je,qe]}],"backdrop-filter":[{"backdrop-filter":["","none",je,qe]}],"backdrop-blur":[{"backdrop-blur":jt()}],"backdrop-brightness":[{"backdrop-brightness":[ct,je,qe]}],"backdrop-contrast":[{"backdrop-contrast":[ct,je,qe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ct,je,qe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ct,je,qe]}],"backdrop-invert":[{"backdrop-invert":["",ct,je,qe]}],"backdrop-opacity":[{"backdrop-opacity":[ct,je,qe]}],"backdrop-saturate":[{"backdrop-saturate":[ct,je,qe]}],"backdrop-sepia":[{"backdrop-sepia":["",ct,je,qe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Y()}],"border-spacing-x":[{"border-spacing-x":Y()}],"border-spacing-y":[{"border-spacing-y":Y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",je,qe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ct,"initial",je,qe]}],ease:[{ease:["linear","initial",x,je,qe]}],delay:[{delay:[ct,je,qe]}],animate:[{animate:["none",R,je,qe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,je,qe]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Ht()}],"rotate-x":[{"rotate-x":Ht()}],"rotate-y":[{"rotate-y":Ht()}],"rotate-z":[{"rotate-z":Ht()}],scale:[{scale:Gt()}],"scale-x":[{"scale-x":Gt()}],"scale-y":[{"scale-y":Gt()}],"scale-z":[{"scale-z":Gt()}],"scale-3d":["scale-3d"],skew:[{skew:Sn()}],"skew-x":[{"skew-x":Sn()}],"skew-y":[{"skew-y":Sn()}],transform:[{transform:[je,qe,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$t()}],"translate-x":[{"translate-x":$t()}],"translate-y":[{"translate-y":$t()}],"translate-z":[{"translate-z":$t()}],"translate-none":["translate-none"],zoom:[{zoom:[pr,je,qe]}],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",je,qe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":w()}],"scrollbar-track-color":[{"scrollbar-track":w()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mbs":[{"scroll-mbs":Y()}],"scroll-mbe":[{"scroll-mbe":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pbs":[{"scroll-pbs":Y()}],"scroll-pbe":[{"scroll-pbe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",je,qe]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[ct,Vl,ds,F6]}],stroke:[{stroke:["none",...w()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function dn(...e){return jR(eR(e))}function $R(e){return!e||typeof e!="string"?e||"":e.replace(/\\{1,2}\(([\s\S]*?)\\{1,2}\)/g,(t,n)=>`$${n.trim()}$`).replace(/\\{1,2}\[([\s\S]*?)\\{1,2}\]/g,(t,n)=>`
|
|
227
227
|
$$
|
|
228
228
|
${n.trim()}
|
package/index.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type declarations for the `altio-chat` widget bundle.
|
|
3
|
-
*
|
|
4
|
-
* The runtime is a single IIFE (dist/widget.js) that registers `window.AltioWidget`
|
|
5
|
-
* as a side effect on import. Consumers typically do:
|
|
6
|
-
* await import("altio-chat"); // runs the IIFE → window.AltioWidget is set
|
|
7
|
-
* window.AltioWidget.mount(el, cfg);
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
export type TokenProvider = () =>
|
|
11
|
-
| string
|
|
12
|
-
| null
|
|
13
|
-
| undefined
|
|
14
|
-
| Promise<string | null | undefined>;
|
|
15
|
-
|
|
16
|
-
export interface AltioWidgetConfig {
|
|
17
|
-
/** Main backend base URL (POST /threads). */
|
|
18
|
-
apiUrl?: string;
|
|
19
|
-
/** Agent/widget backend base URL (connect/ask). Falls back to apiUrl. */
|
|
20
|
-
agentApiUrl?: string;
|
|
21
|
-
/** External-DB slot selector sent as `env`. */
|
|
22
|
-
dbEnv?: string;
|
|
23
|
-
/** Host user id — namespaces the persisted conversation per signed-in user. */
|
|
24
|
-
uid?: string;
|
|
25
|
-
/** Returns the host user's current access token (may be async). */
|
|
26
|
-
getToken?: TokenProvider;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface AltioWidgetApi {
|
|
30
|
-
/** Render the chat into `el` (fills it). Returns a handle with destroy(). */
|
|
31
|
-
mount(el: HTMLElement, cfg?: AltioWidgetConfig): { destroy(): void };
|
|
32
|
-
/** Update runtime config later (e.g. after the host user signs in). */
|
|
33
|
-
setConfig(cfg: AltioWidgetConfig): void;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// NOTE: the bundle also assigns `window.AltioWidget` at import time. We intentionally
|
|
37
|
-
// do NOT augment the global `Window` here so consumers can keep their own declaration
|
|
38
|
-
// without a duplicate-property conflict.
|
|
39
|
-
|
|
40
|
-
declare const AltioWidget: AltioWidgetApi;
|
|
41
|
-
export default AltioWidget;
|
|
1
|
+
/**
|
|
2
|
+
* Type declarations for the `altio-chat` widget bundle.
|
|
3
|
+
*
|
|
4
|
+
* The runtime is a single IIFE (dist/widget.js) that registers `window.AltioWidget`
|
|
5
|
+
* as a side effect on import. Consumers typically do:
|
|
6
|
+
* await import("altio-chat"); // runs the IIFE → window.AltioWidget is set
|
|
7
|
+
* window.AltioWidget.mount(el, cfg);
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export type TokenProvider = () =>
|
|
11
|
+
| string
|
|
12
|
+
| null
|
|
13
|
+
| undefined
|
|
14
|
+
| Promise<string | null | undefined>;
|
|
15
|
+
|
|
16
|
+
export interface AltioWidgetConfig {
|
|
17
|
+
/** Main backend base URL (POST /threads). */
|
|
18
|
+
apiUrl?: string;
|
|
19
|
+
/** Agent/widget backend base URL (connect/ask). Falls back to apiUrl. */
|
|
20
|
+
agentApiUrl?: string;
|
|
21
|
+
/** External-DB slot selector sent as `env`. */
|
|
22
|
+
dbEnv?: string;
|
|
23
|
+
/** Host user id — namespaces the persisted conversation per signed-in user. */
|
|
24
|
+
uid?: string;
|
|
25
|
+
/** Returns the host user's current access token (may be async). */
|
|
26
|
+
getToken?: TokenProvider;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface AltioWidgetApi {
|
|
30
|
+
/** Render the chat into `el` (fills it). Returns a handle with destroy(). */
|
|
31
|
+
mount(el: HTMLElement, cfg?: AltioWidgetConfig): { destroy(): void };
|
|
32
|
+
/** Update runtime config later (e.g. after the host user signs in). */
|
|
33
|
+
setConfig(cfg: AltioWidgetConfig): void;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// NOTE: the bundle also assigns `window.AltioWidget` at import time. We intentionally
|
|
37
|
+
// do NOT augment the global `Window` here so consumers can keep their own declaration
|
|
38
|
+
// without a duplicate-property conflict.
|
|
39
|
+
|
|
40
|
+
declare const AltioWidget: AltioWidgetApi;
|
|
41
|
+
export default AltioWidget;
|
package/package.json
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "altio-chat",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Altio embeddable chat widget — single-file, Shadow-DOM isolated, loaded via <script> from a CDN.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist/widget.js",
|
|
8
|
-
"index.d.ts"
|
|
9
|
-
],
|
|
10
|
-
"main": "dist/widget.js",
|
|
11
|
-
"types": "./index.d.ts",
|
|
12
|
-
"unpkg": "dist/widget.js",
|
|
13
|
-
"jsdelivr": "dist/widget.js",
|
|
14
|
-
"exports": {
|
|
15
|
-
".": {
|
|
16
|
-
"types": "./index.d.ts",
|
|
17
|
-
"default": "./dist/widget.js"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"publishConfig": {
|
|
21
|
-
"access": "public"
|
|
22
|
-
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"dev": "vite",
|
|
25
|
-
"build": "tsc --noEmit && vite build",
|
|
26
|
-
"build:only": "vite build",
|
|
27
|
-
"typecheck": "tsc --noEmit",
|
|
28
|
-
"preview": "vite preview",
|
|
29
|
-
"prepublishOnly": "pnpm build"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@phosphor-icons/react": "^2.1.10",
|
|
33
|
-
"@tanstack/react-query": "^5.90.2",
|
|
34
|
-
"axios": "^1.12.2",
|
|
35
|
-
"clsx": "^2.1.1",
|
|
36
|
-
"katex": "^0.16.25",
|
|
37
|
-
"react": "19.1.2",
|
|
38
|
-
"react-cookie": "^8.0.1",
|
|
39
|
-
"react-dom": "19.1.2",
|
|
40
|
-
"react-markdown": "^10.1.0",
|
|
41
|
-
"react-syntax-highlighter": "^16.1.0",
|
|
42
|
-
"rehype-katex": "^7.0.1",
|
|
43
|
-
"rehype-raw": "^7.0.0",
|
|
44
|
-
"remark-gfm": "^4.0.1",
|
|
45
|
-
"remark-math": "^6.0.0",
|
|
46
|
-
"tailwind-merge": "^3.3.1",
|
|
47
|
-
"zustand": "^5.0.8"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@tailwindcss/postcss": "^4",
|
|
51
|
-
"@types/react": "^19",
|
|
52
|
-
"@types/react-dom": "^19",
|
|
53
|
-
"@types/react-syntax-highlighter": "^15.5.13",
|
|
54
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
55
|
-
"postcss": "^8.5.6",
|
|
56
|
-
"tailwindcss": "^4",
|
|
57
|
-
"typescript": "^5",
|
|
58
|
-
"vite": "^6.0.0"
|
|
59
|
-
},
|
|
60
|
-
"pnpm": {
|
|
61
|
-
"onlyBuiltDependencies": [
|
|
62
|
-
"esbuild"
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "altio-chat",
|
|
3
|
+
"version": "1.0.25",
|
|
4
|
+
"description": "Altio embeddable chat widget — single-file, Shadow-DOM isolated, loaded via <script> from a CDN.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/widget.js",
|
|
8
|
+
"index.d.ts"
|
|
9
|
+
],
|
|
10
|
+
"main": "dist/widget.js",
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"unpkg": "dist/widget.js",
|
|
13
|
+
"jsdelivr": "dist/widget.js",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./index.d.ts",
|
|
17
|
+
"default": "./dist/widget.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "vite",
|
|
25
|
+
"build": "tsc --noEmit && vite build",
|
|
26
|
+
"build:only": "vite build",
|
|
27
|
+
"typecheck": "tsc --noEmit",
|
|
28
|
+
"preview": "vite preview",
|
|
29
|
+
"prepublishOnly": "pnpm build"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@phosphor-icons/react": "^2.1.10",
|
|
33
|
+
"@tanstack/react-query": "^5.90.2",
|
|
34
|
+
"axios": "^1.12.2",
|
|
35
|
+
"clsx": "^2.1.1",
|
|
36
|
+
"katex": "^0.16.25",
|
|
37
|
+
"react": "19.1.2",
|
|
38
|
+
"react-cookie": "^8.0.1",
|
|
39
|
+
"react-dom": "19.1.2",
|
|
40
|
+
"react-markdown": "^10.1.0",
|
|
41
|
+
"react-syntax-highlighter": "^16.1.0",
|
|
42
|
+
"rehype-katex": "^7.0.1",
|
|
43
|
+
"rehype-raw": "^7.0.0",
|
|
44
|
+
"remark-gfm": "^4.0.1",
|
|
45
|
+
"remark-math": "^6.0.0",
|
|
46
|
+
"tailwind-merge": "^3.3.1",
|
|
47
|
+
"zustand": "^5.0.8"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@tailwindcss/postcss": "^4",
|
|
51
|
+
"@types/react": "^19",
|
|
52
|
+
"@types/react-dom": "^19",
|
|
53
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
54
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
55
|
+
"postcss": "^8.5.6",
|
|
56
|
+
"tailwindcss": "^4",
|
|
57
|
+
"typescript": "^5",
|
|
58
|
+
"vite": "^6.0.0"
|
|
59
|
+
},
|
|
60
|
+
"pnpm": {
|
|
61
|
+
"onlyBuiltDependencies": [
|
|
62
|
+
"esbuild"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}
|