@townco/gui-template 0.1.94 → 0.1.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{acp-sdk-C76JZERC.js → acp-sdk-CSkQMG3m.js} +1 -1
- package/dist/assets/{framer-motion-C-FfYRqi.js → framer-motion-DA39Af0y.js} +1 -1
- package/dist/assets/icons-B8NAg8v6.js +1 -0
- package/dist/assets/index-By3xLWY5.css +1 -0
- package/dist/assets/index-D8q-0GLx.js +12 -0
- package/dist/assets/markdown-DPvuyxRv.js +40 -0
- package/dist/assets/{radix-CCc9gvVp.js → radix-BrXAtP0q.js} +1 -1
- package/dist/assets/{react-CiYvVQki.js → react-CsyacleJ.js} +1 -1
- package/dist/assets/{vendor-D6ejVflZ.js → vendor-BwwHDEUJ.js} +268 -268
- package/dist/index.html +9 -9
- package/package.json +4 -4
- package/src/config.ts +6 -6
- package/src/main.tsx +6 -6
- package/dist/assets/icons-Hw9CPBRX.js +0 -1
- package/dist/assets/index-B8Bkd7Zr.js +0 -13
- package/dist/assets/index-B9douFYf.css +0 -1
- package/dist/assets/markdown-D44wP98Y.js +0 -40
package/dist/index.html
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Agent Chat</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-D8q-0GLx.js"></script>
|
|
8
8
|
<link rel="modulepreload" crossorigin href="/assets/katex-Dnem94XJ.js">
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/assets/markdown-
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/icons-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="/assets/react-
|
|
13
|
-
<link rel="modulepreload" crossorigin href="/assets/acp-sdk-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/assets/radix-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/assets/framer-motion-
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/assets/markdown-DPvuyxRv.js">
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/icons-B8NAg8v6.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-BwwHDEUJ.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/assets/react-CsyacleJ.js">
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/acp-sdk-CSkQMG3m.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/radix-BrXAtP0q.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/assets/framer-motion-DA39Af0y.js">
|
|
16
16
|
<link rel="stylesheet" crossorigin href="/assets/katex-DvXFAOB1.css">
|
|
17
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/assets/index-By3xLWY5.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@townco/gui-template",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.97",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"check": "tsgo --noEmit"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@townco/core": "0.0.
|
|
23
|
-
"@townco/ui": "0.1.
|
|
22
|
+
"@townco/core": "0.0.78",
|
|
23
|
+
"@townco/ui": "0.1.100",
|
|
24
24
|
"lucide-react": "^0.552.0",
|
|
25
25
|
"react": "19.2.1",
|
|
26
26
|
"react-dom": "19.2.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@tailwindcss/postcss": "^4.1.17",
|
|
30
|
-
"@townco/tsconfig": "0.1.
|
|
30
|
+
"@townco/tsconfig": "0.1.97",
|
|
31
31
|
"@types/react": "^19.2.2",
|
|
32
32
|
"@types/react-dom": "^19.2.2",
|
|
33
33
|
"@vitejs/plugin-react": "^5.1.0",
|
package/src/config.ts
CHANGED
|
@@ -18,16 +18,16 @@ export function getDebuggerUrl(): string | undefined {
|
|
|
18
18
|
* Get the Bibliotecha URL from environment variables
|
|
19
19
|
* Used for auth verification (backend)
|
|
20
20
|
*/
|
|
21
|
-
export function
|
|
22
|
-
return import.meta.env.
|
|
21
|
+
export function getLibraryUrl(): string | undefined {
|
|
22
|
+
return import.meta.env.VITE_LIBRARY_API_URL;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Get the Bibliotecha Frontend URL from environment variables
|
|
27
27
|
* Used for redirect on auth failure
|
|
28
28
|
*/
|
|
29
|
-
export function
|
|
30
|
-
return import.meta.env.
|
|
29
|
+
export function getLibraryFrontendUrl(): string | undefined {
|
|
30
|
+
return import.meta.env.VITE_LIBRARY_FRONTEND_URL;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -36,6 +36,6 @@ export function getBibliotechaFrontendUrl(): string | undefined {
|
|
|
36
36
|
export const config = {
|
|
37
37
|
agentServerUrl: getAgentServerUrl(),
|
|
38
38
|
debuggerUrl: getDebuggerUrl(),
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
libraryUrl: getLibraryUrl(),
|
|
40
|
+
libraryFrontendUrl: getLibraryFrontendUrl(),
|
|
41
41
|
} as const;
|
package/src/main.tsx
CHANGED
|
@@ -30,16 +30,16 @@ async function init() {
|
|
|
30
30
|
const tokenFromUrl = params.get("token");
|
|
31
31
|
const tokenFromCookie = getCookie(AUTH_COOKIE_NAME);
|
|
32
32
|
|
|
33
|
-
if (config.
|
|
33
|
+
if (config.libraryUrl && config.libraryFrontendUrl) {
|
|
34
34
|
// If token in URL, verify and store in cookie
|
|
35
35
|
if (tokenFromUrl) {
|
|
36
36
|
const res = await fetch(
|
|
37
|
-
`${config.
|
|
37
|
+
`${config.libraryUrl}/auth/verify?token=${tokenFromUrl}`,
|
|
38
38
|
);
|
|
39
39
|
if (!res.ok) {
|
|
40
|
-
// Token is invalid, redirect to
|
|
40
|
+
// Token is invalid, redirect to library frontend
|
|
41
41
|
deleteCookie(AUTH_COOKIE_NAME);
|
|
42
|
-
window.location.href = config.
|
|
42
|
+
window.location.href = config.libraryFrontendUrl;
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -47,8 +47,8 @@ async function init() {
|
|
|
47
47
|
setCookie(AUTH_COOKIE_NAME, tokenFromUrl);
|
|
48
48
|
window.history.replaceState({}, "", window.location.pathname);
|
|
49
49
|
} else if (!tokenFromCookie) {
|
|
50
|
-
// No token in URL and no cookie, redirect to
|
|
51
|
-
window.location.href = config.
|
|
50
|
+
// No token in URL and no cookie, redirect to library frontend
|
|
51
|
+
window.location.href = config.libraryFrontendUrl;
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
54
|
// If we have a cookie but no URL token, we trust the cookie and proceed
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n}from"./react-CiYvVQki.js";const x=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,c,o)=>o?o.toUpperCase():c.toLowerCase()),l=t=>{const a=u(t);return a.charAt(0).toUpperCase()+a.slice(1)},M=(...t)=>t.filter((a,c,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===c).join(" ").trim(),v=t=>{for(const a in t)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};var $={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const g=n.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:c=2,absoluteStrokeWidth:o,className:d="",children:s,iconNode:y,...r},i)=>n.createElement("svg",{ref:i,...$,width:a,height:a,stroke:t,strokeWidth:o?Number(c)*24/Number(a):c,className:M("lucide",d),...!s&&!v(r)&&{"aria-hidden":"true"},...r},[...y.map(([k,p])=>n.createElement(k,p)),...Array.isArray(s)?s:[s]]));const e=(t,a)=>{const c=n.forwardRef(({className:o,...d},s)=>n.createElement(g,{ref:s,iconNode:a,className:M(`lucide-${x(l(t))}`,`lucide-${t}`,o),...d}));return c.displayName=l(t),c};const w=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],D1=e("archive",w);const f=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],R1=e("arrow-down",f);const N=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],B1=e("arrow-up",N);const C=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],F1=e("brain-circuit",C);const b=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],U1=e("bug",b);const j=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],I1=e("check",j);const z=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],W1=e("chevron-down",z);const q=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],O1=e("chevron-right",q);const A=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],T1=e("chevron-up",A);const L=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],K1=e("chevrons-up-down",L);const V=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],G1=e("circle-alert",V);const H=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],X1=e("circle-check",H);const S=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],J1=e("circle-dot",S);const E=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Q1=e("circle",E);const P=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],Y1=e("cloud",P);const Z=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],ee=e("copy",Z);const D=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],ae=e("database",D);const R=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],te=e("download",R);const B=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],ce=e("ellipsis-vertical",B);const F=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],oe=e("ellipsis",F);const U=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],se=e("external-link",U);const I=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],ne=e("file-code",I);const W=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],he=e("file-spreadsheet",W);const O=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],de=e("file-text",O);const T=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M11 18h2",key:"12mj7e"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5",key:"qbrxap"}]],re=e("file-type",T);const K=[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3-3-3 3",key:"e37ymu"}],["path",{d:"m15 5-3 3-3-3",key:"19d6lf"}]],ye=e("fold-vertical",K);const G=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],ie=e("folder-open",G);const X=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],ke=e("folder",X);const J=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],pe=e("globe",J);const Q=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],le=e("image",Q);const Y=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],_e=e("link-2",Y);const e1=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Me=e("link",e1);const a1=[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M10 12H3",key:"1ulcyk"}],["path",{d:"M10 19H3",key:"108z41"}],["path",{d:"M15 12.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"ms4nik"}]],me=e("list-video",a1);const t1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],xe=e("loader-circle",t1);const c1=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],ue=e("menu",c1);const o1=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],ve=e("mic",o1);const s1=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],$e=e("moon",s1);const n1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],ge=e("panel-left",n1);const h1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],we=e("panel-right",h1);const d1=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],fe=e("paperclip",d1);const r1=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Ne=e("pencil",r1);const y1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Ce=e("plus",y1);const i1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],be=e("rotate-ccw",i1);const k1=[["path",{d:"M5.42 9.42 8 12",key:"12pkuq"}],["circle",{cx:"4",cy:"8",r:"2",key:"107mxr"}],["path",{d:"m14 6-8.58 8.58",key:"gvzu5l"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"M10.8 14.8 14 18",key:"ax7m9r"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]],je=e("scissors-line-dashed",k1);const p1=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],ze=e("scissors",p1);const l1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],qe=e("search",l1);const _1=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Ae=e("settings",_1);const M1=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Le=e("square-check-big",M1);const m1=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Ve=e("square-pen",m1);const x1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],He=e("square-slash",x1);const u1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Se=e("square",u1);const v1=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Ee=e("sun",v1);const $1=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Pe=e("triangle-alert",$1);const g1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],Ze=e("wrench",g1);const w1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],De=e("x",w1);const f1=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),N1=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,c,o)=>o?o.toUpperCase():c.toLowerCase()),_=t=>{const a=N1(t);return a.charAt(0).toUpperCase()+a.slice(1)},m=(...t)=>t.filter((a,c,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===c).join(" ").trim(),C1=t=>{for(const a in t)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};var b1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const j1=n.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:c=2,absoluteStrokeWidth:o,className:d="",children:s,iconNode:y,...r},i)=>n.createElement("svg",{ref:i,...b1,width:a,height:a,stroke:t,strokeWidth:o?Number(c)*24/Number(a):c,className:m("lucide",d),...!s&&!C1(r)&&{"aria-hidden":"true"},...r},[...y.map(([k,p])=>n.createElement(k,p)),...Array.isArray(s)?s:[s]]));const h=(t,a)=>{const c=n.forwardRef(({className:o,...d},s)=>n.createElement(j1,{ref:s,iconNode:a,className:m(`lucide-${f1(_(t))}`,`lucide-${t}`,o),...d}));return c.displayName=_(t),c};const z1=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Re=h("check",z1);const q1=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Be=h("copy",q1);const A1=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Fe=h("download",A1);const L1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ue=h("loader-circle",L1);const V1=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],Ie=h("maximize-2",V1);const H1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],We=h("rotate-ccw",H1);const S1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Oe=h("x",S1);const E1=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Te=h("zoom-in",E1);const P1=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Ke=h("zoom-out",P1);export{Me as $,B1 as A,U1 as B,Re as C,Fe as D,oe as E,ie as F,pe as G,G1 as H,D1 as I,ze as J,me as K,Ue as L,Ie as M,je as N,ye as O,ge as P,J1 as Q,We as R,Ee as S,Pe as T,F1 as U,Ve as V,Ze as W,Oe as X,qe as Y,Te as Z,Y1 as _,Ke as a,le as a0,ee as a1,Ne as a2,be as a3,te as a4,he as a5,re as a6,K1 as a7,T1 as a8,ue as a9,Be as b,O1 as c,I1 as d,Q1 as e,$e as f,Ce as g,Ae as h,Se as i,He as j,fe as k,ve as l,W1 as m,R1 as n,De as o,ke as p,ne as q,ce as r,X1 as s,Le as t,de as u,ae as v,_e as w,we as x,se as y,xe as z};
|