PageSourceSearch

https://kwain.net/resources/PaperlessNG-hFF8A7MN.js

js kwain.net collected 2026-10-04 11:06:32 UTC 911 bytes, 1 lines download raw bytes

1import{a as e,c as t,d as n,l as r,m as i,n as a,o,p as s,r as c,s as l,u,v as d}from"./index-C32yDzkE.js";var f={name:`Paperless`,mixins:[a],props:{item:Object},data:()=>({api:null}),created(){this.fetchStatus()},methods:{fetchStatus:async function(){if(this.item.subtitle==null){if(!this.item.apikey){console.error(`apikey is not present in config.yml for the paperless entry!`);return}this.api=await this.fetch(`/api/documents/`,{headers:{Authorization:`Token `+this.item.apikey}}).catch(e=>console.log(e))}}}},p={class:`title is-4`},m={class:`subtitle is-6`};function h(a,c,f,h,g,_){let v=s(`Generic`);return n(),l(v,{item:f.item},{content:i(()=>[o(`p`,p,d(f.item.name),1),o(`p`,m,[f.item.subtitle?(n(),r(e,{key:0},[u(d(f.item.subtitle),1)],64)):a.api?(n(),r(e,{key:1},[u(` happily storing `+d(a.api.count)+` documents `,1)],64)):t(``,!0)])]),_:1},8,[`item`])}var g=c(f,[[`render`,h]]);export{g 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.