PageSourceSearch

https://troytrojans.com/_nuxt/dyu-W2Fp.js

js troytrojans.com collected 2026-10-02 07:17:44 UTC 2,124 bytes, 1 lines download raw bytes

1import{a as e}from"./DH_oPWig.js";import{Dt as t,N as n,O as r,P as i,T as a,_ as o,at as s,nt as c,qt as l,ut as u,w as d,wt as f,zt as p}from"./BaBhFZm2.js";import{f as m}from"./PTSJo-lX.js";import{r as h}from"./CD4fjsJu.js";import{n as g}from"./CU89Zi3L.js";import{pt as _}from"./y5gHMDQW.js";import{A as v,O as y}from"./CuqtvICX2.js";import"./CWe717TF2.js";import{t as b}from"./82xxuZDd2.js";var x=class{fetch;resource=`/api/v2/Search`;constructor({fetch:e}){this.fetch=e}async get(){return this.fetch(this.resource).then(e=>_(e)).catch(e=>(console.error(`[SearchRepo] get() Request error caught`,e),{}))}},S=g(`search`,{state:()=>({searchBar:{}}),actions:{async fetchSearchBarId({fetch:e}){let t=await new x({fetch:e}).get();this.searchBar=t}},getters:{getSearchBarId:e=>e.searchBar}}),C={class:`max-w-7x1 mx-auto`,"data-test-id":`search-page__root`},w={class:`px-4 pb-4`},T={class:`mb-4 px-4 space-y-6`},E={class:`space-y-4`},D={__name:`SearchPage`,setup(g){let _=p(0),x=S(),D=m(),{$customFetch:O}=e(),k=d(()=>x.getSearchBarId?.googleCseId??``),A=d(()=>!k.value),j=()=>x.fetchSearchBarId({fetch:O}),M=()=>{let e=k.value;if(!e)return;let t=document.createElement(`script`);t.type=`text/javascript`,t.async=!0,t.src=`https://cse.google.com/cse.js?cx=${e}`;let n=document.getElementsByTagName(`script`)[0];n?.parentNode?.insertBefore(t,n)};return c(async()=>{await j(),M()}),h({script:[{src:()=>`https://cse.google.com/cse.js?cx=${k.value}`,async:!0}]}),f(D,e=>{e?.query&&(_.value+=1,M())}),(e,c)=>(s(),r(`div`,C,[a(`div`,w,[i(b,null,{title:t(()=>[...c[0]||=[n(` Site Results `,-1)]]),_:1})]),i(l(y),{isLoading:l(A)},{content:t(()=>[(s(),r(`div`,{key:l(_),class:`mb-4 px-4`},[...c[1]||=[a(`div`,{class:`gcse-search`},null,-1)]]))]),default:t(()=>[a(`div`,T,[i(l(v),{class:`h-[44px] w-full rounded-md`}),i(l(v),{class:`h-[16px] w-1/3 rounded-sm`}),a(`div`,E,[(s(),r(o,null,u(8,e=>a(`div`,{key:`sk-res-${e}`,class:`space-y-1`},[i(l(v),{class:`h-[18px] w-2/3 rounded-sm`}),i(l(v),{class:`h-[14px] w-full rounded-sm`}),i(l(v),{class:`h-[14px] w-5/6 rounded-sm`})])),64))])])]),_:1},8,[`isLoading`])]))}};export{D as default};

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.