PageSourceSearch

https://easystones.com/_next/static/chunks/b7dbc3718782817b.js

js easystones.com collected 2026-10-07 08:17:41 UTC 5,585 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17747,e=>{"use strict";function t(e=""){return String(e).normalize("NFKD").replace(/\p{Diacritic}/gu,"").toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}let s="/storage/v1/object/public/";function a(e,{width:t,height:i,quality:l=70,resize:r="cover"}={}){if(!e||!e.includes(s))return e;let n=new URLSearchParams;t&&n.set("width",String(t)),i&&n.set("height",String(i)),n.set("quality",String(l)),n.set("resize",r);let[d,c]=e.split("?");return new URLSearchParams(c).forEach((e,t)=>n.set(t,e)),`${d.replace(s,"/storage/v1/render/image/public/")}?${n}`}e.s(["slugify",()=>t,"storageImage",()=>a])},63059,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>t],63059)},73375,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",()=>t],73375)},5751,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(22016),i=e.i(63059),l=e.i(73375);let r=({currentPage:e,totalPages:s,handlePrevPage:a,handleNextPage:r,goToPage:n,variant:d="default"})=>{let c={default:{button:"border-gray-300 bg-white text-gray-700 hover:bg-gray-50",activeButton:"z-10 bg-[#dab161] border-[#dab161] text-white"},stone:{button:"border-stone-300 bg-white text-stone-700 hover:bg-stone-50",activeButton:"z-10 bg-[#dab161] border-[#dab161] text-white"},admin:{button:"border-gray-300 bg-white text-gray-700 hover:bg-gray-50",activeButton:"z-10 bg-[#dab161] border-[#dab161] text-white"}},o=c[d]||c.default;return(0,t.jsx)("div",{className:"mt-6 flex justify-center",children:(0,t.jsxs)("div",{className:"inline-flex rounded-md shadow-sm",children:[(0,t.jsxs)("button",{onClick:a,disabled:1===e,className:`relative inline-flex items-center px-4 py-2 rounded-l-md border ${o.button} text-sm font-medium disabled:opacity-50 disabled:hover:bg-white`,children:[(0,t.jsx)(l.ChevronLeft,{className:"h-4 w-4 mr-1"}),"Previous"]}),(0,t.jsx)("div",{className:"hidden sm:flex",children:[...Array(Math.min(s,5))].map((a,i)=>{let l;l=s<=5||e<=3?i+1:e>=s-2?s-4+i:e-2+i;let r=e===l;return(0,t.jsx)("button",{onClick:()=>n(l),className:`relative inline-flex items-center px-4 py-2 border text-sm font-medium -ml-px ${r?o.activeButton:o.button}`,children:l},l)})}),(0,t.jsxs)("div",{className:`relative inline-flex items-center px-4 py-2 border ${o.button} text-sm font-medium -ml-px sm:hidden`,children:["Page ",e," of ",s]}),(0,t.jsxs)("button",{onClick:r,disabled:e===s,className:`relative inline-flex items-center px-4 py-2 rounded-r-md border ${o.button} text-sm font-medium -ml-px disabled:opacity-50 disabled:hover:bg-white`,children:["Next",(0,t.jsx)(i.ChevronRight,{className:"h-4 w-4 ml-1"})]})]})})};var n=e.i(17747);function d({posts:e,hrefBase:l,title:d,subtitle:c,fallbackImage:o,bannerAlt:m,emptyText:h,cardTitleClassName:x="",readMoreClassName:g=""}){let[u,b]=(0,s.useState)(1),[v,f]=(0,s.useState)(""),p=Math.max(1,Math.ceil(e.length/9)),j=e.slice((u-1)*9,9*u);return(0,s.useEffect)(()=>{let t=e.map(e=>e.featuredImage).filter(Boolean);t.length&&f(t[Math.floor(Math.random()*t.length)])},[e]),(0,t.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,t.jsxs)("div",{className:"relative min-h-[60vh] sm:min-h-[80vh] flex bg-white main-content",children:[(0,t.jsxs)("div",{className:"absolute inset-0",children:[(0,t.jsx)("img",{src:v?(0,n.storageImage)(v,{width:1920,quality:75}):o,alt:m,className:`absolute inset-0 w-full h-full object-cover ${v?"brightness-75":"brightness-90"}`,loading:"eager"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60"})]}),(0,t.jsx)("div",{className:"relative w-full max-w-7xl mx-auto px-4 sm:px-6 md:px-12 py-12 sm:py-16 md:py-32 flex items-center justify-center",children:(0,t.jsxs)("div",{className:"w-full text-center",children:[(0,t.jsx)("h1",{className:"text-2xl xs:text-3xl sm:text-4xl md:text-5xl font-extralight leading-tight tracking-wide max-w-3xl text-white text-center mx-auto",children:d}),(0,t.jsx)("p",{className:"mt-4 text-white text-sm sm:text-base text-center mx-auto",children:c})]})})]}),(0,t.jsx)("section",{className:"py-12 sm:py-16 md:py-24 lg:py-32 bg-white",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:0===e.length?(0,t.jsx)("div",{className:"text-center py-20",children:(0,t.jsx)("p",{className:"text-stone-600",children:h})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:j.map(e=>(0,t.jsx)("div",{className:"bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition-shadow",children:(0,t.jsxs)(a.default,{href:`${l}/${e.slug}`,children:[e.featuredImage&&(0,t.jsx)("div",{className:"h-48 overflow-hidden",children:(0,t.jsx)("img",{src:(0,n.storageImage)(e.featuredImage,{width:800,quality:75}),alt:e.title,loading:"lazy",className:"w-full h-full object-cover transition-transform hover:scale-105 duration-300"})}),(0,t.jsxs)("div",{className:"p-6",children:[(0,t.jsx)("h2",{className:`text-xl font-medium text-stone-800 mb-4 ${x}`,children:e.title}),(0,t.jsxs)("div",{className:`flex items-center text-stone-800 text-sm font-medium ${g}`,children:["Read More ",(0,t.jsx)(i.ChevronRight,{className:"h-4 w-4 ml-1"})]})]})]})},e.id))}),p>1&&(0,t.jsx)(r,{currentPage:u,totalPages:p,handlePrevPage:()=>b(e=>Math.max(1,e-1)),handleNextPage:()=>b(e=>Math.min(p,e+1)),goToPage:b,variant:"stone"})]})})})]})}e.s(["default",()=>d],5751)}]);

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.