PageSourceSearch

https://www.pintys.com/_nuxt/DPrTRPQX.js

js pintys.com collected 2026-10-05 06:29:23 UTC 1,221 bytes, 1 lines download raw bytes

1import{u as g}from"./BuX78t8Q.js";import{u as y}from"./uidQqfIk.js";import{a0 as h,az as R,o as S,d as k,W as B,aA as I,aB as b,n as z,g as C,i as E,I as u,e as s,y as a}from"./BipNxojO.js";const O=h({__name:"StateResults",props:{catchError:{type:Boolean,default:!1},errorFn:{type:Function,default:void 0}},setup(c){const{getInstance:p,parentIndex:l}=y(),i=g("StateResults"),v=c,{catchError:F}=R(v),o=p(),e=u(()=>{const r=o.value.status,t=o.value.error,m=l.value.getResults(),n=l.value.getHelper(),f=n?n.state:null;return{results:m,state:f,status:r,error:t}}),d=u(()=>({results:e.value.results,state:e.value.state,status:e.value.status,error:e.value.error}));return(r,t)=>e.value&&e.value.state&&e.value.results?(S(),k("div",{key:0,class:z(C(i)())},[B(r.$slots,"default",I(b(d.value)),()=>[t[0]||(t[0]=s("p",null," Use this component to have a different layout based on a certain state. ",-1)),t[1]||(t[1]=s("p",null,"Fill in the slot, and get access to the following things:",-1)),s("pre",null,"results: "+a(Object.keys(e.value.results)),1),s("pre",null,"state: "+a(Object.keys(e.value.state)),1),s("pre",null,"status: "+a(e.value.status),1),s("pre",null,"error: "+a(e.value.error),1)])],2)):E("",!0)}});export{O as _};

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.