1import{S as t,i as s,s as e,e as a,c as r,a as o,d as n,b as i,f as c,G as h}from"../../chunks/vendor-01c7f58c.js";function p(t){let s,e;return{c(){s=a("iframe"),this.h()},l(t){s=r(t,"IFRAME",{src:!0,class:!0}),o(s).forEach(n),this.h()},h(){s.src!==(e=`/${t[2]}-export/index.html?hash=${t[0]}&tokenid=${t[1]}`)&&i(s,"src",e),i(s,"class","svelte-2x29i")},m(t,e){c(t,s,e)},p(t,[a]){7&a&&s.src!==(e=`/${t[2]}-export/index.html?hash=${t[0]}&tokenid=${t[1]}`)&&i(s,"src",e)},i:h,o:h,d(t){t&&n(s)}}}const d=async({page:t,fetch:s})=>{const{tokenid:e}=t.params,a=Math.floor(e/1e6);try{let t="";if(72===a)t="frammenti";else if(121===a)t="rinascita";else{if(200!==a)throw new Error("Export not enabled for this token");t="saturazione"}const r=await s(`/data/projects/${a}/tokens.json`),o=await r.json();if(o[e]){const{hash:s}=o[e];return{props:{hash:s,tokenid:e,projectName:t}}}}catch(r){return{status:404,error:r}}};function f(t,s,e){let{hash:a}=s,{tokenid:r}=s,{projectName:o}=s;return t.$$set=t=>{"hash"in t&&e(0,a=t.hash),"tokenid"in t&&e(1,r=t.tokenid),"projectName"in t&&e(2,o=t.projectName)},[a,r,o]}export default class extends t{constructor(t){super(),s(this,t,f,p,e,{hash:0,tokenid:1,projectName:2})}}export{d as load};
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.