ai-tools-suite/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.arDHjgl4.js

2 lines
7.8 KiB
JavaScript
Raw Permalink Normal View History

2025-12-27 15:33:06 +00:00
import{s as ae,n as q,c as ce,b as fe,u as ue,g as de,d as pe}from"../chunks/t7hwNuoe.js";import{S as re,i as se,d,k as me,l as n,a as I,b as m,n as he,u as le,c as b,e as g,g as $,v as R,h as y,j as A,w as G,m as ne,f as ie,t as oe,y as _e,z as J,A as K,B as ve,C as ge,D as be}from"../chunks/CZxRa0tt.js";import{e as W}from"../chunks/D6YF6ztN.js";import{p as ye}from"../chunks/fVhWLsyl.js";function X(r,e,t){const a=r.slice();return a[5]=e[t],a}function Y(r){let e,t='<h1 class="text-xl font-bold bg-gradient-to-r from-primary-700 to-accent-600 bg-clip-text text-transparent">AI Tools Suite</h1> <p class="text-xs text-surface-500 mt-1">v0.1.0</p>';return{c(){e=y("div"),e.innerHTML=t},l(a){e=b(a,"DIV",{"data-svelte-h":!0}),ne(e)!=="svelte-1572qjr"&&(e.innerHTML=t)},m(a,l){I(a,e,l)},d(a){a&&d(e)}}}function Z(r){let e,t=r[5].name+"",a;return{c(){e=y("span"),a=oe(t),this.h()},l(l){e=b(l,"SPAN",{class:!0});var s=g(e);a=ie(s,t),s.forEach(d),this.h()},h(){n(e,"class","text-sm font-medium truncate")},m(l,s){I(l,e,s),m(e,a)},p:q,d(l){l&&d(e)}}}function ee(r){let e,t,a,l=r[5].icon+"",s,h,k,o,c,i=!r[0]&&Z(r);return{c(){e=y("li"),t=y("a"),a=y("span"),s=oe(l),h=A(),i&&i.c(),c=A(),this.h()},l(u){e=b(u,"LI",{});var _=g(e);t=b(_,"A",{href:!0,class:!0,title:!0});var S=g(t);a=b(S,"SPAN",{class:!0});var C=g(a);s=ie(C,l),C.forEach(d),h=$(S),i&&i.l(S),S.forEach(d),c=$(_),_.forEach(d),this.h()},h(){n(a,"class","text-lg flex-shrink-0"),n(t,"href",r[5].path),n(t,"class",k="flex items-center gap-3 px-3 py-2 rounded-lg transition-all duration-200 "+(r[1]===r[5].path?"bg-gradient-to-r from-primary-500 to-primary-600 text-white shadow-soft":"text-surface-600 hover:bg-white/70 hover:text-primary-700")+" "+(r[0]?"justify-center":"")),n(t,"title",o=r[0]?r[5].name:"")},m(u,_){I(u,e,_),m(e,t),m(t,a),m(a,s),m(t,h),i&&i.m(t,null),m(e,c)},p(u,_){u[0]?i&&(i.d(1),i=null):i?i.p(u,_):(i=Z(u),i.c(),i.m(t,null)),_&3&&k!==(k="flex items-center gap-3 px-3 py-2 rounded-lg transition-all duration-200 "+(u[1]===u[5].path?"bg-gradient-to-r from-primary-500 to-primary-600 text-white shadow-soft":"text-surface-600 hover:bg-white/70 hover:text-primary-700")+" "+(u[0]?"justify-center":""))&&n(t,"class",k),_&1&&o!==(o=u[0]?u[5].name:"")&&n(t,"title",o)},d(u){u&&d(e),i&&i.d()}}}function te(r){let e,t="API Connected";return{c(){e=y("span"),e.textContent=t},l(a){e=b(a,"SPAN",{"data-svelte-h":!0}),ne(e)!=="svelte-i7oxkb"&&(e.textContent=t)},m(a,l){I(a,e,l)},d(a){a&&d(e)}}}function we(r){let e,t,a,l,s,h,k,o,c,i,u,_,S,C,F,j,M,B,V,N,H,x=!r[0]&&Y(),D=W(r[3]),v=[];for(let f=0;f<D.length;f+=1)v[f]=ee(X(r,D,f));let E=!r[0]&&te();return{c(){e=y("aside"),t=y("div"),x&&x.c(),a=A(),l=y("button"),s=G("svg"),h=G("path"),i=A(),u=y("nav"),_=y("ul");for(let f=0;f<v.length;f+=1)v[f].c();S=A(),C=y("div"),F=y("div"),j=y("span"),M=A(),E&&E.c(),this.h()},l(f){e=b(f,"ASIDE",{class:!0,style:!0});var w=g(e);t=b(w,"DIV",{class:!0});var p=g(t);x&&x.l(p),a=$(p),l=b(p,"BUTTON",{class:!0,title:!0});var P=g(l);s=R(P,"svg",{xmlns:!0,class:!0,fill:!0,viewBox:!0,stroke:!0,"stroke-width":!0});var U=g(s);h=R(U,"path",{"stroke-linecap":!0,"stroke-linejoin":!0,d:!0}),g(h).forEach(d),U.forEach(d),P.forEach(d),p.forEach(d),i=$(w),u=b(w,"NAV",{class:!0});var z=g(u);_=b(z,"UL",{class:!0});var O=g(_);for(let T=0;T<v.length;T+=1)v[T].l(O);O.forEach(d),z.forEach(d),S=$(w),C=b(w,"DIV",{class:!0});var Q=g(C);F=b(Q,"DIV",{class:!0});var L=g(F);j=b(L,"SPAN",{class:!0}),g(j).forEach(d),M=$(L),E&&E.l(L),L.forEach(d),Q.forEach(d),w.forEach(d),this.h()},h(){n(h,"stroke-linecap","round"),n(h,"stroke-linejoin","round"),n(h,"d","M11 19l-7-7 7-7m8 14l-7-7 7-7"),n(s,"xmlns","http://www.w3.org/2000/svg"),n(s,"class",k="h-5 w-5 transition-transform duration-300 "+(r[0]?"rotate-180":"")),n(s,"fill","none"),n(s,"viewBox","0 0 24 24"),n(s,"stroke","currentColor"),n(s,"stroke-width","2"),n(l,"class","p-2 rounded-lg hover:bg-white/70 text-surface-600 hover:text-primary-700 transition-all duration-200"),n(l,"title",o=r[0]?"Expand sidebar":"Collapse sidebar"),n(t,"class",c="p-4 border-b border-primary-100/60 flex items-center "+(r[0]?"justify-ce