PageSourceSearch

https://gnomebrewshop.com/_nuxt/BNbiKwrP.js

js gnomebrewshop.com collected 2026-09-24 13:25:24 UTC 1,353 bytes, 1 lines download raw bytes

1import{$ as u}from"./BVZtMBUF.js";import{r as i,g}from"./vwnB7Vyk.js";const m=(a,r)=>`/images/v1/${a.pathPrefix}/${r}-${a.assetId}.${a.ext}`,o=(a,r,e)=>{const s=n(a,r,{width:1500,height:1500,quality:80,format:"jpg"});return e?`${c(e)}${s}`:s},n=(a,r,e)=>{const s=e.format??"webp",t=e.height?`_h${e.height}`:"";return`/images/v1/${a.pathPrefix}/${r}-${a.assetId}_w${e.width}${t}_q${e.quality}.${s}`},c=a=>a.endsWith("/")?a.slice(0,-1):a,h=a=>{let r=a.replace(/[\\/]/g,"-");return r=r.replace(/[^a-zA-Z0-9\- ]/g,""),r=r.replace(/\s{2,}/g," "),r=r.replace(/ /g,"-"),r=r.replace(/-{2,}/g,"-"),r=r.toLowerCase(),r},k=a=>{const{image:r,slug:e,photos:s}=a;if(r)return m(r,e);if(s?.v550px||s?.v250px){const t=s.v550px??s.v250px;return i(t)}return g()},d=(a,r)=>{const e=(a??[]).filter(t=>!t.isHidden);if(e.length===0)return[];if(!r)return e;const s=e.find(t=>t.assetId===r);return s?[s,...e.filter(t=>t.assetId!==r)]:e},$=a=>{const r=h(a.url??"")||"product",e=d(a.images,a.primaryImageId).map(t=>o(t,r,u)).filter((t,l,p)=>p.indexOf(t)===l);if(e.length>0){const t=e[0];return t?{primaryMarkupImage:t,allMarkupImages:e}:{primaryMarkupImage:g(),allMarkupImages:[g()]}}if(a.photos?.v550px){const t=i(a.photos.v550px);return{primaryMarkupImage:t,allMarkupImages:[t]}}const s=g();return{primaryMarkupImage:s,allMarkupImages:[s]}};export{$ as a,m as b,k as g,h as m};

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.