PageSourceSearch

https://chat.uncensoredgpt.ai/_app/immutable/nodes/42.CMSCJiMu.js

js uncensoredgpt.ai collected 2026-09-25 22:31:49 UTC 1,565 bytes, 2 lines download raw bytes

1import"../chunks/CWj6FrbW.js";import"../chunks/69_IOA4Y.js";import{p as h,g as I,o as S,w as x,y as B,h as P,i as C,a as E,b as M,s as j,e as l,l as t,k as o,m as r}from"../chunks/Djt4fO9t.js";import{i as q}from"../chunks/DresXHHc.js";import{i as z}from"../chunks/BqaakOp7.js";import{t as c}from"../chunks/CDvT-V1T.js";import{g as d}from"../chunks/OMlSDQnC.js";import{g as A,u as D}from"../chunks/D0F8Ixz1.js";import{p as F}from"../chunks/DEBEOhuj.js";import{P as G}from"../chunks/CgPbFJ2X.js";function V(f,u){h(u,!1);const i=()=>l(F,"$page",m),_=()=>l(y,"$i18n",m),[m,$]=j(),n=r(),y=I("i18n");let a=r(null),p=r(!1);const v=async s=>{const e=await D(localStorage.token,s).catch(w=>(c.error(`${w}`),null));e&&(c.success(_().t("Prompt updated successfully")),o(a,{id:e.id,name:e.name,command:e.command,content:e.content,version_id:e.version_id,tags:e.tags,access_grants:(e==null?void 0:e.access_grants)===void 0?[]:e==null?void 0:e.access_grants}))};S(async()=>{if(t(n)){const s=await A(localStorage.token,t(n)).catch(e=>(c.error(`${e}`),null));s?(o(p,!s.write_access),o(a,{id:s.id,name:s.name,command:s.command,content:s.content,version_id:s.version_id,tags:s.tags,access_grants:(s==null?void 0:s.access_grants)===void 0?[]:s==null?void 0:s.access_grants})):d("/workspace/prompts")}else d("/workspace/prompts")}),x(()=>i(),()=>{o(n,i().params.id)}),B(),z();var g=P(),b=C(g);{var k=s=>{G(s,{get prompt(){return t(a)},onSubmit:v,get disabled(){return t(p)},edit:!0})};q(b,s=>{t(a)&&s(k)})}E(f,g),M(),$()}export{V as component};
2//# sourceMappingURL=42.CMSCJiMu.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.