PageSourceSearch

https://starmodel.ai/static/js/async/3597.1f0a32d10c.js

js starmodel.ai collected 2026-10-05 14:25:55 UTC 3,255 bytes, 2 lines download raw bytes

1/*! LICENSE: 3597.1f0a32d10c.js.LICENSE.txt */
2"use strict";(self.rspackChunknewapi_web=self.rspackChunknewapi_web||[]).push([[3597],{93525(e,s,a){a.d(s,{t:()=>y,m:()=>j});var t=a(23579),r=a(72407),n=a(82406);async function l(){return(await n.FH.get("/api/user-agreement")).data}async function c(){return(await n.FH.get("/api/privacy-policy")).data}var i=a(87985);let d=(0,a(53079).A)("file-exclamation-point",[["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:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var o=a(66304),m=a(23962),x=a(63999),h=a(27917),u=a(19237);function p(e){let{title:s,queryKey:a,fetchDocument:n,emptyMessage:l}=e,{t:c}=(0,r.Bd)(),{data:p,isLoading:j}=(0,i.I)({queryKey:[a],queryFn:n,staleTime:6e5}),y=p?.data?.trim()??"",f=y.length>0,g=f&&function(e){try{let s=new URL(e);return"http:"===s.protocol||"https:"===s.protocol}catch{return!1}}(y),N=f&&!g&&/<\/?[a-z][\s\S]*>/i.test(y),w=p?.success??!1;return j?(0,t.jsx)(u.si,{children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-4xl flex-col gap-4 py-12",children:[(0,t.jsx)(h.E,{className:"h-8 w-[45%]"}),(0,t.jsx)(h.E,{className:"h-4 w-full"}),(0,t.jsx)(h.E,{className:"h-4 w-[90%]"}),(0,t.jsx)(h.E,{className:"h-4 w-[80%]"})]})}):w&&f?g?(0,t.jsx)(u.si,{children:(0,t.jsx)("div",{className:"mx-auto max-w-2xl py-12",children:(0,t.jsxs)(m.Zp,{children:[(0,t.jsx)(m.aR,{children:(0,t.jsx)(m.ZB,{children:s})}),(0,t.jsxs)(m.Wu,{className:"space-y-4",children:[(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:c("The administrator configured an external link for this document.")}),(0,t.jsx)(o.$,{render:(0,t.jsx)("a",{href:y,target:"_blank",rel:"noopener noreferrer"}),children:c("View document")})]})]})})}):(0,t.jsx)(u.si,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl space-y-6 py-12",children:[(0,t.jsx)("div",{className:"space-y-2",children:(0,t.jsx)("h1",{className:"text-3xl font-semibold tracking-tight",children:s})}),N?(0,t.jsx)("div",{className:"prose prose-neutral dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:y}}):(0,t.jsx)(x.o,{className:"prose-neutral dark:prose-invert max-w-none",children:y})]})}):(0,t.jsx)(u.si,{children:(0,t.jsx)("div",{className:"mx-auto max-w-2xl py-12",children:(0,t.jsx)(m.Zp,{className:"border-dashed",children:(0,t.jsxs)(m.aR,{className:"flex flex-row items-center gap-4",children:[(0,t.jsx)("div",{className:"bg-muted rounded-lg p-2",children:(0,t.jsx)(d,{className:"text-muted-foreground h-5 w-5"})}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)(m.ZB,{className:"text-lg font-semibold",children:s}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:p?.message||l})]})]})})})})}function j(){let{t:e}=(0,r.Bd)();return(0,t.jsx)(p,{title:e("User Agreement"),queryKey:"user-agreement",fetchDocument:l,emptyMessage:e("The administrator has not configured a user agreement yet.")})}function y(){let{t:e}=(0,r.Bd)();return(0,t.jsx)(p,{title:e("Privacy Policy"),queryKey:"privacy-policy",fetchDocument:c,emptyMessage:e("The administrator has not configured a privacy policy yet.")})}},27020(e,s,a){a.r(s);let t=a(93525).m;a.d(s,{},{component:t})}}]);

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.