PageSourceSearch

https://farmstore.com/_nuxt/NIXCLgwQ.js

js farmstore.com collected 2026-09-25 14:51:30 UTC 2,022 bytes, 1 lines download raw bytes

1var N=Object.defineProperty;var C=(l,n)=>N(l,"name",{value:n,configurable:!0});import{_ as b}from"./CFRoT-HO.js";import{n as x,j as A,o as B,w as R,q as i,r as q}from"./suji6ons.js";import{c as D}from"./CiclMdt_.js";import{g as E}from"./D-May0tX.js";import{u as K}from"./ELXt4sFD.js";import{y as U,x as V,w as $,Q as j,Y as y,V as g,z as o,S as m,d as p}from"./GdOyMrFG.js";import"./CdFFNDU0.js";import"./a0qZg49g.js";import"./eNbCxNx0.js";import"./DWyIhp4_.js";import"./35sTNX91.js";import"./BNVRzFI2.js";import"./CjC4AvAP.js";import"./DHGhpLVQ.js";import"./DmguvKHB.js";import"./CN_rTWW4.js";import"./BOMvFG8O.js";import"./BDRevGSS.js";import"./BYdWG3mC.js";import"./_56jxVLH.js";import"./CgGQ6H9L.js";import"./D2OA9KhD.js";import"./CGfpRe7Y.js";import"./CgdDDAY5.js";import"./C6pOWtvM.js";import"./CkfvxrVy.js";const z={class:"flex flex-col w-full"},s="page",dt=U({__name:"[storeName]",setup(l){const n=B(),d=x(),P=A(),r=String(n.public.builderApiKey).trim(),f=d.params.storeName;async function k(){try{const t=P.currentRoute.value.path;if(R(t)){const w=await i({model:s,apiKey:r,userAttributes:{urlPath:t},options:{includeRefs:!0,includeUnpublished:!0},cacheSeconds:0,enrich:!0});if(w?.data)return w}const e=await i({model:s,apiKey:r,query:{"data.storeName":f.toLowerCase()},options:{includeRefs:!0,noCache:!1},cacheSeconds:120,enrich:!0});return e?.data?e:await i({model:s,apiKey:r,userAttributes:{urlPath:t},cacheSeconds:120,enrich:!0})}catch{return{data:null}}}C(k,"loadBuilderPage");const{data:a,pending:u}=K(()=>`store-${f}`,k,{immediate:!0,server:!0,getCachedData:E}),c=V(a.value);$(a,t=>{t&&(c.value=t)});const h=p(()=>a.value?a.value:u.value&&c.value?c.value:null),v=p(()=>{const t=!!h.value?.data,e=R(d.path);return u.value,t||e}),S=p(()=>!u.value&&!v.value);return(t,e)=>{const _=b;return m(),j("div",z,[o(v)?(m(),y(o(q),{key:0,"api-key":o(r),model:s,content:o(h),customComponents:o(D)},null,8,["api-key","content","customComponents"])):g("",!0),o(S)?(m(),y(_,{key:1})):g("",!0)])}}});export{dt 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.