PageSourceSearch

https://yanok.ai/_app/immutable/chunks/D3U9Q7Kz.js

js yanok.ai collected 2026-10-05 14:40:55 UTC 3,400 bytes, 1 lines download raw bytes

1import"./DsnmJJEf.js";import{p as B,d as F,e as j,g as G,a as x,b as H,u as J,c as n,r as d,s as y,t as k,f as E}from"./CYGRAPIB.js";import{s as K,a as U}from"./B9IBoC3F.js";import{w as I,b as z,s as W,d as Q}from"./D9UuDnCi.js";import{i as L}from"./nU4rHKDQ.js";import{s as Y}from"./BEZvtooX.js";import{_ as Z}from"./PPVm8Dsz.js";import{s as ee,a as te,b as re,c as se,d as ae}from"./fUkJ6kLa.js";import{X as oe}from"./UAkaOUv8.js";import{R as ie}from"./iYCGeDKI.js";function ne(v={}){const{immediate:g=!1,onNeedRefresh:c,onOfflineReady:o,onRegistered:m,onRegisteredSW:u,onRegisterError:f}=v;let r,l,p;const S=async(e=!0)=>{await l,p?.()};async function h(){if("serviceWorker"in navigator){if(r=await Z(async()=>{const{Workbox:e}=await import("./BIl4cyR9.js");return{Workbox:e}},[],import.meta.url).then(({Workbox:e})=>new e("./sw.js",{scope:"./",type:"classic"})).catch(e=>{f?.(e)}),!r)return;p=()=>{r?.messageSkipWaiting()};{let e=!1;const R=()=>{e=!0,r?.addEventListener("controlling",t=>{t.isUpdate&&window.location.reload()}),c?.()};r.addEventListener("installed",t=>{typeof t.isUpdate>"u"?typeof t.isExternal<"u"&&t.isExternal?R():!e&&o?.():t.isUpdate||o?.()}),r.addEventListener("waiting",R)}r.register({immediate:g}).then(e=>{u?u("./sw.js",e):m?.(e)}).catch(e=>{f?.(e)})}}return l=h(),S}function de(v={}){const{immediate:g=!0,onNeedRefresh:c,onOfflineReady:o,onRegistered:m,onReg
1isteredSW:u,onRegisterError:f}=v,r=I(!1),l=I(!1),p=ne({immediate:g,onOfflineReady(){l.set(!0),o?.()},onNeedRefresh(){r.set(!0),c?.()},onRegistered:m,onRegisteredSW:u,onRegisterError:f});return{needRefresh:r,offlineReady:l,updateServiceWorker:p}}var fe=E('<p class="text-sm font-medium text-foreground"> </p>'),le=E('<p class="text-sm font-medium text-foreground"> </p> <p class="text-xs text-muted-foreground mt-1"> </p>',1),ce=E('<button class="inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 transition-colors"><!> </button>'),me=E('<div role="alert" aria-live="assertive" class="fixed bottom-4 right-4 z-50 flex items-start gap-3 rounded-lg border border-border bg-background p-4 shadow-lg max-w-sm"><div class="flex-1 min-w-0"><!></div> <div class="flex items-center gap-1"><!> <button class="inline-flex items-center justify-center rounded-md p-1.5 text-muted-foreground hover:text-foreground hover:bg-muted transition-colors"><!></button></div></div>');function ye(v,g){B(g,!0);const c=()=>U(f,"$offlineReady",m),o=()=>U(r,"$needRefresh",m),[m,u]=K(),{offlineReady:f,needRefresh:r,updateServiceWorker:l}=de({onRegistered(t){t&&setInterval(()=>
1{t.update()},3600*1e3)},onRegisterError(t){}}),p=J(()=>c()||o());function S(){f.set(!1),r.set(!1)}var h=F(),e=j(h);{var R=t=>{var $=me(),P=n($),A=n(P);{var C=s=>{var a=fe(),i=n(a,!0);d(a),k(_=>W(i,_),[()=>te()]),x(s,a)},D=s=>{var a=le(),i=j(a),_=n(i,!0);d(i);var w=y(i,2),V=n(w,!0);d(w),k((X,q)=>{W(_,X),W(V,q)},[()=>re(),()=>se()]),x(s,a)};L(A,s=>{c()?s(C):s(D,-1)})}d(P);var N=y(P,2),O=n(N);{var M=s=>{var a=ce(),i=n(a);ie(i,{class:"h-3 w-3","aria-hidden":"true"});var _=y(i);d(a),k(w=>W(_,` ${w??""}`),[()=>ae()]),z("click",a,()=>l(!0)),x(s,a)};L(O,s=>{o()&&s(M)})}var b=y(O,2),T=n(b);oe(T,{class:"h-4 w-4","aria-hidden":"true"}),d(b),d(N),d($),k(s=>Y(b,"aria-label",s),[()=>ee()]),z("click",b,S),x(t,$)};L(e,t=>{G(p)&&t(R)})}x(v,h),H(),u()}Q(["click"]);export{ye 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.