PageSourceSearch

https://ditheritv3.netlify.app/_nuxt/DMuegXrT.js

js ditheritv3.netlify.app collected 2026-10-03 10:39:47 UTC 3,580 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Knf4stpy.js","./BYXglTKb.js","./entry.lSqBYpZY.css"])))=>i.map(i=>d[i]);
2import{b9 as f,ba as g,bb as y,ah as $}from"./BYXglTKb.js";const m={blog:"v3.5.0--Oq9KcASKP4ov0aDJCcxQXhpU2m4M6L4B7E0s0BWqAek"},b={blog:"_content_blog",info:"_content_info"},T={blog:{type:"page",fields:{id:"string",title:"string",body:"json",date:"string",description:"string",draft:"string",extension:"string",meta:"json",navigation:"json",path:"string",seo:"json",stem:"string"}},info:{type:"data",fields:{}}},d=(s,o)=>{const e=s._conditions;return e.length>0?`(${e.join(` ${o} `)})`:""},l=s=>{const o=[],e={_conditions:o,where(n,i,t){let r;switch(i.toUpperCase()){case"IN":case"NOT IN":if(Array.isArray(t)){const a=t.map(c=>u(c)).join(", ");r=`"${String(n)}" ${i.toUpperCase()} (${a})`}else throw new TypeError(`Value for ${i} must be an array`);break;case"BETWEEN":case"NOT BETWEEN":if(Array.isArray(t)&&t.length===2)r=`"${String(n)}" ${i.toUpperCase()} ${u(t[0])} AND ${u(t[1])}`;else throw new Error(`Value for ${i} must be an array with two elements`);break;case"IS NULL":case"IS NOT NULL":r=`"${String(n)}" ${i.toUpperCase()}`;break;case"LIKE":case"NOT LIKE":r=`"${String(n)}" ${i.toUpperCase()} ${u(t)}`;break;default:r=`"${String(n)}" ${i} ${u(typeof t=="boolean"?Number(t):t)}`}return o.push(`${r}`),e},andWhere(n){const i=n(l());return o.push(d(i,"AND")),e},orWhere(n){const i=n(l());return o.push(d(i,"OR")),e}};return e},S=(s,o)=>{const e={conditions:[],selectedFields:[],offset:0,limit:0,orderBy:[],count:{field:"",distinct:!1}},n={__params:e,andWhere(t){const r=t(l());return e.conditions.push(d(r,"AND")),n},orWhere(t){const r=t(l());return e.conditions.push(d(r,"OR")),n},path(t){return n.where("path","=",f(t))},skip(t){return e.offset=t,n},where(t,r,a){return n.andWhere(c=>c.where(String(t),r,a)),n},limit(t){return e.limit=t,n},select(...t){return t.length&&e.selectedFields.push(...t),n},order(t,r){return e.orderBy.push(`"${String(t)}" ${r}`),n},async all(){return o(s,i()).then(t=>t||[])},async first(){return o(s,i({limit:1})).then(t=>t[0]||null)},async count(t="*",r=!1){return o(s,i({count:{field:String(t),distinct:r}})).then(a=>a[0].count)}};function i(t={}){let r="SELECT ";if(t?.count)r+=`COUNT(${t.count.distinct?"DISTINCT ":""}${t.count.field}) as count`;else{const c=Array.from(new Set(e.selectedFields));r+=c.length>0?c.map(p=>`"${String(p)}"`).join(", "):"*"}r+=` FROM ${b[String(s)]}`,e.conditions.length>0&&(r+=` WHERE ${e.conditions.join(" AND ")}`),e.orderBy.length>0?r+=` ORDER BY ${e.orderBy.join(", ")}`:r+=" ORDER BY stem ASC";const a=t?.limit||e.limit;return a>0&&(e.offset>0?r+=` LIMIT ${a} OFFSET ${e.offset}`:r+=` LIMIT ${a}`),r}return n};function u(s){return`'${String(s).replace(/'/g,"''")}'`}async function h(s,o,e,n){const i=s?g(s):{};i["accept-encoding"]=void 0;const t=`/__nuxt_content/${o}/${e}`,r={...n,headers:{...i,...n.headers},query:{v:m[String(o)],t:void 0}};return s?await s.$fetch(t,r):await $fetch(t,r)}async function A(s,o){return h(s,o,"sql_dump.txt",{responseType:"text",headers:{"content-type":"text/plain"}})}async function w(s,o,e){return h(s,o,"query",{headers:{"content-type":"application/json"},method:"POST",body:{sql:e}})}const C=s=>{const o=y()?.ssrContext?.event;return S(s,(e,n)=>E(o,e,n))};async function E(s,o,e){return window.WebAssembly?_(o,e):w(s,String(o),e)}async function _(s,o){return await $(()=>import("./Knf4stpy.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(n=>n.loadDatabaseAdapter(s)).then(n=>n.all(o))}export{m as a,T as c,A as f,C as q,b as 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.