PageSourceSearch

https://vonduesseldorf-openwebui.hf.space/_app/immutable/nodes/48.COKLAn9z.js

js vonduesseldorf-openwebui.hf.space collected 2026-10-03 17:31:33 UTC 1,661 bytes, 2 lines download raw bytes

1import"../chunks/CWj6FrbW.js";import"../chunks/69_IOA4Y.js";import{p as w,g as S,o as x,x as I,y as B,h as C,i as E,a as M,b as P,s as j,e as g,l as e,k as r,m as i}from"../chunks/DAutZaRy.js";import{i as q}from"../chunks/DTtvsU5y.js";import{i as z}from"../chunks/DjewLkXc.js";import{t as n}from"../chunks/CpYI-2uV.js";import{g as f}from"../chunks/D8-P3Sxj.js";import{h as A}from"../chunks/C6Fb5Erg.js";import{b as D,d as F,a as G}from"../chunks/Dk6eIwPD.js";import{p as H}from"../chunks/DrUw4Fgz.js";import{S as J}from"../chunks/kkiC91uu.js";function Y(d,u){w(u,!1);const c=()=>g(H,"$page",l),_=()=>g($,"$i18n",l),[l,k]=j(),a=i(),$=S("i18n");let o=i(null),p=i(!1);const y=async s=>{const t=await F(localStorage.token,e(a),s).catch(v=>(n.error(`${v}`),null));t&&(n.success(_().t("Skill updated successfully")),await A.set(await G(localStorage.token)),r(o,{id:t.id,name:t.name,description:t.description,content:t.content,is_active:t.is_active,access_grants:(t==null?void 0:t.access_grants)===void 0?[]:t==null?void 0:t.access_grants}))};x(async()=>{if(e(a)){const s=await D(localStorage.token,e(a)).catch(t=>(n.error(`${t}`),null));s?(r(p,!s.write_access),r(o,{id:s.id,name:s.name,description:s.description,content:s.content,is_active:s.is_active,access_grants:(s==null?void 0:s.access_grants)===void 0?[]:s==null?void 0:s.access_grants})):f("/workspace/skills")}else f("/workspace/skills")}),I(()=>c(),()=>{r(a,c().url.searchParams.get("id"))}),B(),z();var m=C(),b=E(m);{var h=s=>{J(s,{get skill(){return e(o)},onSubmit:y,get disabled(){return e(p)},edit:!0})};q(b,s=>{e(o)&&s(h)})}M(d,m),P(),k()}export{Y as component};
2//# sourceMappingURL=48.COKLAn9z.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.