PageSourceSearch

https://goodnature.co.nz/assets/e5606069.js

js goodnature.co.nz collected 2026-09-24 11:29:08 UTC 1,805 bytes, 2 lines download raw bytes

1import{r as i,t as x,l as o,F as N,j as a}from"./index.00a2eaef.js";import{M as w}from"./a96c1cd1.js";import{F as V}from"./73dae7f4.js";import{V as y}from"./d3293c47.js";import"./1591a0b0.js";import"./75b47dc2.js";import"./bf7fd197.js";import"./175fe124.js";import"./df6fb308.js";import"./600ef406.js";import"./f1d3de0d.js";import"./9e48c47e.js";import"./18dd4d52.js";import"./310e7f54.js";import"./4f3bdfeb.js";import"./bd6b6beb.js";import"./fc68d023.js";import"./32edb8cb.js";function p(l){return l.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}function W({config:l,heading:c,videos:e}){const[m,n]=i.exports.useState(!1),[u,d]=i.exports.useState(!1),{hash:s}=x(),f=e==null?void 0:e.map(r=>p(r.heading));i.exports.useEffect(()=>{var t;if(!s||u)return;const r=f.findIndex(g=>`#${g}`===s);r>=0&&(n((t=e==null?void 0:e[r])==null?void 0:t.url),d(!0))},[s]);function h(r,t){n(r),window.history.pushState(null,"",`#${t}`)}return o(N,{children:[o(w,{...l,className:"px-gutter",children:[c&&a("h1",{className:"richH1 pb-space-m text-center font-medium text-orange",children:c}),a("div",{className:"grid grid-cols-1 gap-x-8 gap-y-25 sm:grid-cols-2 lg:grid-cols-3",children:e==null?void 0:e.map((r,t)=>o("div",{id:p(r.heading),children:[r.url&&a("div",{onClick:()=>h(e[t].url,p(r.heading)),className:"relative z-10 mb-7 cursor-pointer overflow-hidden rounded-lg",children:a(V,{url:r.url,className:"feature-video pointer-events-none max-h-screen w-full",playing:!1,loop:!1,muted:!0,controls:!0,playsinline:!0,light:!0})}),a("span",{className:"blockH8 block font-medium text-orange",children:r.heading}),a("p",{className:"richH7 mt-2",children:r.excerpt})]},t))})]}),a(y,{open:Boolean(m),url:m,setIsOpen:n})]})}export{W as default};
2//# sourceMappingURL=e5606069.js.map

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.