PageSourceSearch

https://afp-final.pages.dev/_next/static/chunks/7452-79f0620f8884dea7.js

js afp-final.pages.dev collected 2026-10-03 06:26:55 UTC 23,708 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1746,7452],{15239:(e,t,n)=>{n.d(t,{default:()=>r.a});var a=n(54652),r=n.n(a)},27412:(e,t,n)=>{n.d(t,{Le:()=>c,M_:()=>l,MedalRow:()=>x,Stars:()=>h,TrustLine:()=>m,Yf:()=>p,_b:()=>d,bg:()=>u,fd:()=>o,vE:()=>g});var a=n(95155),r=n(12115);let l="https://judge.me/reviews/stores/atlanticflagpole.com",s=null,i=null;async function o(e){for(let t=0;t<3;t++){try{let t=await fetch(e),n=await t.json();if(t.ok&&(null==n?void 0:n.ok)!==!1)return n}catch(e){}await new Promise(e=>setTimeout(e,700*(t+1)))}return null}function d(e){let[t,n]=(0,r.useState)(null!=e?e:null);return(0,r.useEffect)(()=>{e||(null!=s||(s=o("/api/reviews/trust").then(e=>(null==e?void 0:e.ok)?e:null)),s).then(e=>e&&n(e))},[e]),t}function c(e){let[t,n]=(0,r.useState)(null);return(0,r.useEffect)(()=>{null!=i||(i=o("/api/reviews/badges").then(e=>(null==e?void 0:e.badges)||{}));let t=!0;return i.then(a=>{t&&a[e]&&n(a[e])}),()=>{t=!1}},[e]),t}let u=e=>e.toLocaleString("en-US");function h(e){let{value:t,size:n=16,label:r=!0}=e;return(0,a.jsx)("span",{className:"af-rvw-stars",role:r?"img":void 0,"aria-label":r?"".concat(t," out of 5 stars"):void 0,"aria-hidden":!r||void 0,style:{"--s":"".concat(n,"px")},children:[0,1,2,3,4].map(e=>{let n=Math.max(0,Math.min(1,t-e));return(0,a.jsxs)("span",{className:"af-rvw-star",children:[(0,a.jsx)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10 1.5l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L1.4 7.8l6-.8z"})}),(0,a.jsx)("span",{className:"af-rvw-star-on",style:{width:"".concat(100*n,"%")},children:(0,a.jsx)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10 1.5l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L1.4 7.8l6-.8z"})})})]},e)})})}function x(e){let{medals:t,size:n=56,max:r,dark:s=!1,showTitles:i=!1}=e,o="number"==typeof r?t.slice(0,r):t;return(0,a.jsx)("ul",{className:"af-rvw-medals".concat(s?" af-rvw-dark":"").concat(i?" af-rvw-medals-titled":""),style:{"--m":"".concat(n,"px")},children:o.map(e=>(0,a.jsxs)("li",{title:"".concat(e.title,". ").concat(e.description),children:[(0,a.jsxs)("a",{href:l,target:"_blank",rel:"noopener noreferrer","aria-label":"Judge.me ".concat(e.title," medal"),children:[(0,a.jsx)("img",{src:e.image,alt:"",width:n,height:n,loading:"lazy"}),e.value&&(0,a.jsx)("span",{className:"af-rvw-medal-v",children:u(Number(e.value)||0)})]}),i&&(0,a.jsxs)("span",{className:"af-rvw-medal-t",children:[(0,a.jsx)("b",{children:e.title}),(0,a.jsx)("span",{children:e.description})]})]},e.title))})}function m(e){let{initial:t,dark:n=!1,medals:r=3,size:l,className:s=""}=e,i=d(t);if(!i)return null;let o=i.medals.find(e=>/top 1%/i.test(e.title));return(0,a.jsxs)("div",{className:"af-rvw-trust".concat(n?" af-rvw-dark":""," ").concat(s),children:[(0,a.jsx)(x,{medals:i.medals,max:r,size:null!=l?l:n?34:38,dark:n}),(0,a.jsxs)("a",{className:"af-rvw-trust-txt",href:"/reviews",children:[(0,a.jsxs)("span",{children:[(0,a.jsx)(h,{value:i.average,size:13,label:!1})," ",(0,a.jsx)("b",{children:i.average.toFixed(2)})," from ",u(i.count)," reviews"]}),(0,a.jsxs)("small",{children:[u(i.verified)," verified buyers",o?" \xb7 Top 1% of Judge.me shops for verified reviews":""]})]})]})}function p(e){let{items:t,index:n,onClose:l}=e,[s,i]=(0,r.useState)(n),o=(0,r.useCallback)(e=>i(n=>(n+e+t.length)%t.length),[t.length]);(0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key&&l(),"ArrowRight"===e.key&&o(1),"ArrowLeft"===e.key&&o(-1)};window.addEventListener("keydown",e);let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",e),document.body.style.overflow=t}},[o,l]);let d=t[s];return d?(0,a.jsxs)("div",{className:"af af-rvw-lb",role:"dialog","aria-modal":"true","aria-label":"Customer photo",onClick:l,children:[(0,a.jsx)("button",{className:"af-rvw-lb-x","aria-label":"Close",onClick:l,children:"\xd7"}),t.length>1&&(0,a.jsx)("button",{className:"af-rvw-lb-nav af-rvw-lb-prev","aria-label":"Previous photo",onClick:e=>{e.stopPropagation(),o(-1)},children:"‹"}),(0,a.jsxs)("figure",{onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("img",{src:d.src,alt:d.review?"Photo from ".concat(d.review.name,"'s review"):"Customer photo"}),d.review&&(0,a.jsxs)("figcaption",{children:[(0,a.jsx)(h,{value:d.review.rating,size:14}),d.review.title&&(0,a.jsx)("b",{children:d.review.title}),d.review.body&&(0,a.jsxs)("p",{children:[d.review.body.slice(0,240),d.review.body.length>240?"…":""]}),(0,a.jsxs)("span",{children:[d.review.name,d.review.location?" \xb7 ".concat(d.review.location):""]})]})]}),t.length>1&&(0,a.jsx)("button",{className:"af-rvw-lb-nav af-rvw-lb-next","aria-label":"Next p
1hoto",onClick:e=>{e.stopPropagation(),o(1)},children:"›"}),(0,a.jsxs)("span",{className:"af-rvw-lb-n",children:[s+1," / ",t.length]})]}):null}function g(e){let{r:t,onPhoto:n,showProduct:l=!1}=e,[s,i]=(0,r.useState)(!1),o=t.body.length>360;return(0,a.jsxs)("article",{className:"af-rvw-card",children:[(0,a.jsxs)("header",{children:[(0,a.jsx)("span",{className:"af-rvw-av","aria-hidden":"true",children:(t.name||"V").trim().charAt(0).toUpperCase()}),(0,a.jsxs)("div",{className:"af-rvw-who",children:[(0,a.jsx)("b",{children:t.name}),(0,a.jsx)("span",{children:[t.location,function(e){let t=new Date(e);return isNaN(t.getTime())?"":t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}(t.date)].filter(Boolean).join(" \xb7 ")})]}),t.verified&&(0,a.jsxs)("span",{className:"af-rvw-ver",title:"Judge.me verified buyer",children:[(0,a.jsxs)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M10 1l2.4 1.8 3 .1.9 2.9 2.4 1.8-.9 2.9.9 2.9-2.4 1.8-.9 2.9-3 .1L10 19l-2.4-1.8-3-.1-.9-2.9L1.3 12.4l.9-2.9-.9-2.9 2.4-1.8.9-2.9 3-.1z"}),(0,a.jsx)("path",{d:"M6.5 10.2l2.3 2.3 4.7-4.7",fill:"none",stroke:"#fff",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),"Verified"]})]}),(0,a.jsx)(h,{value:t.rating,size:15}),t.title&&(0,a.jsx)("h4",{children:t.title}),t.body&&(0,a.jsx)("p",{className:o&&!s?"af-rvw-clamp":"",children:t.body}),o&&(0,a.jsx)("button",{className:"af-rvw-more",onClick:()=>i(e=>!e),children:s?"Show less":"Read more"}),t.photos.length>0&&(0,a.jsx)("div",{className:"af-rvw-pics",children:t.photos.slice(0,6).map((e,r)=>(0,a.jsx)("button",{onClick:()=>null==n?void 0:n(e.full,t),"aria-label":"Open photo ".concat(r+1," from ").concat(t.name),children:(0,a.jsx)("img",{src:e.thumb,alt:"",loading:"lazy",width:72,height:72})},r))}),t.reply&&(0,a.jsxs)("div",{className:"af-rvw-reply",children:[(0,a.jsx)("b",{children:"Atlantic Flagpole replied"}),(0,a.jsx)("p",{children:t.reply})]}),l&&t.product&&(0,a.jsxs)("a",{className:"af-rvw-prod",href:t.product.url,children:[t.product.title," →"]})]})}},28254:(e,t,n)=>{n.d(t,{Sj:()=>s,oH:()=>r,wZ:()=>l});let a="\n  fragment ProductFields on Product {\n    id\n    handle\n    title\n    description\n    descriptionHtml\n    vendor\n    productType\n    tags\n    availableForSale\n    seo { title description }\n    priceRange {\n      minVariantPrice { amount currencyCode }\n      maxVariantPrice { amount currencyCode }\n    }\n    compareAtPriceRange {\n      minVariantPrice { amount currencyCode }\n      maxVariantPrice { amount currencyCode }\n    }\n    images(first: 25) {\n      edges {\n        node {\n          url\n          altText\n          width\n          height\n        }\n      }\n    }\n    variants(first: 30) {\n      edges {\n        node {\n          id\n          title\n          availableForSale\n          price { amount currencyCode }\n          compareAtPrice { amount currencyCode }\n          sku\n          barcode\n          requiresShipping\n          selectedOptions { name value }\n          image {\n            url\n            altText\n            width\n            height\n          }\n        }\n      }\n    }\n    options {\n      id\n      name\n      values\n    }\n  }\n",r="\n  ".concat(a,"\n  query GetProducts($first: Int = 12, $sortKey: ProductSortKeys = BEST_SELLING) {\n    products(first: $first, sortKey: $sortKey) {\n      edges {\n        node {\n          ...ProductFields\n        }\n      }\n    }\n  }\n"),l="\n  ".concat(a,"\n  query GetProductByHandle($handle: String!) {\n    product(handle: $handle) {\n      ...ProductFields\n    }\n  }\n"),s="\n  query SearchProducts($query: String!, $first: Int = 10) {\n    search(query: $query, first: $first, types: PRODUCT) {\n      edges {\n        node {\n          ... on Product {\n            id\n            handle\n            title\n            productType\n            tags\n            availableForSale\n            priceRange {\n              minVariantPrice { amount currencyCode }\n            }\n            images(first: 1) {\n              edges {\n                node {\n                  url\n                  altText\n                }\n              }\n            }\n            variants(first: 1) {\n              edges {\n                node {\n                  id\n                  price { amount currencyCode }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"}
1,47452:(e,t,n)=>{n.d(t,{default:()=>x});var a=n(95155),r=n(12115),l=n(27412);function s(e){let{handle:t,className:n=""}=e,r=(0,l.Le)(t);return r?(0,a.jsxs)("div",{className:"af af-rvw-cardstars ".concat(n),children:[(0,a.jsx)(l.Stars,{value:r[0],size:13}),(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:r[0]>=5?"5.0":r[0].toFixed(2)})," (",(0,l.bg)(r[1]),")"]})]}):(0,a.jsx)("div",{className:"af-rvw-cardstars af-rvw-cardstars-empty ".concat(n),"aria-hidden":"true"})}var i=n(15239),o=n(52619),d=n.n(o),c=n(34461),u=n(17726),h=n(28254);function x(e){var t,n,l,o,x,m,p,g,f,v;let{product:b,priority:w=!1}=e,[j,y]=(0,r.useState)(!1),{addToCart:k}=(0,c._)(),[N,C]=(0,r.useState)(!1),P=(0,r.useRef)(null);(0,r.useEffect)(()=>{function e(e){P.current&&!P.current.contains(e.target)&&y(!1)}return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[]);let S=parseFloat((null==(n=b.priceRange)||null==(t=n.minVariantPrice)?void 0:t.amount)||"0"),L=(null==(l=b.compareAtPriceRange)?void 0:l.minVariantPrice)?parseFloat(b.compareAtPriceRange.minVariantPrice.amount):null,z=null==(m=b.variants)||null==(x=m.edges)||null==(o=x.find(e=>e.node.availableForSale))?void 0:o.node,F=null==z?void 0:z.id,M=(null==z?void 0:z.image)||(null==(g=b.images)||null==(p=g.edges[0])?void 0:p.node),A=e=>{e.preventDefault(),e.stopPropagation(),y(!j)},B=async e=>{e.preventDefault(),e.stopPropagation(),F&&(C(!0),await k(F,1),C(!1))},E=b.title.replace(/ \| Premium All-in-One Set/i,"").replace(/ \| Heavy-Duty Residential Flagpole/i,"").replace(/ - Starter Bundle/i,"").replace(/ \| For.*?Poles/i,"").replace(/ - Winch System/i,"").replace(/ - Complete Bundle.*?$/i,"").replace(/ – Official Commemorative.*?$/i,"").trim(),V=b.description||"Discover the unmatched quality of the ".concat(E,". Designed for premium durability and proudly shipped nationwide."),[$,T]=(0,r.useState)(null),[_,R]=(0,r.useState)(null),q=e=>{e&&(e.preventDefault(),e.stopPropagation()),R(null)},[D,W]=(0,r.useState)([]);return(0,r.useEffect)(()=>{let e="";fetch("https://get.geojs.io/v1/ip/geo.json").then(e=>e.json()).then(t=>{t.region&&(e=t.region,T(t.region));let n=b.title.toLowerCase().includes("pole")||b.title.toLowerCase().includes("kit"),a=n?e?"".concat(e," state flag"):"American Flag":"Phoenix Premier Kit";return Promise.all([(0,u.$)({query:h.Sj,variables:{query:a,first:1}}),(0,u.$)({query:h.Sj,variables:{query:n?"Gold Eagle Topper":"flagpole",first:1}})])}).then(e=>{let[t,n]=e,a=e=>{var t,n,a,r,l,s,i;let o=(null==e||null==(t=e.search)?void 0:t.edges)||[];if(0===o.length)return null;let d=o[0].node;return{title:d.title,handle:d.handle,image:null==(l=d.images)||null==(r=l.edges)||null==(a=r[0])||null==(n=a.node)?void 0:n.url,price:(null==(i=d.priceRange)||null==(s=i.minVariantPrice)?void 0:s.amount)?"$".concat(d.priceRange.minVariantPrice.amount):""}},r=[a(t),a(n)].filter(Boolean);r&&r.length>0&&W(r)}).catch(console.error)},[b.title]),(b.title.toLowerCase().includes("pole")||b.title.toLowerCase().includes("kit"))&&$&&$.toLowerCase().replace(/\s+/g,"-"),D.length,null==(f=b.images)||f.edges.slice(1).map(e=>e.node),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("style",{children:"\n  @keyframes goldGlowAura {\n    0%, 100% {\n      box-shadow: 0 0 0 0 rgba(197, 165, 90, 0.4), inset 0 0 0 0 rgba(197, 165, 90, 0);\n    }\n    50% {\n      box-shadow: 0 0 20px 0 rgba(197, 165, 90, 0.2), inset 0 0 8px 0 rgba(197, 165, 90, 0.1);\n    }\n  }\n\n    @keyframes closeButtonMorph {\n      0% {\n        background: linear-gradient(135deg, rgb(243, 244, 246) 0%, rgb(229, 231, 235) 100%);\n        border-color: rgb(229, 231, 235);\n        color: rgb(75, 85, 99);\n      }\n      100% {\n        background: transparent;\n        border-color: rgb(220, 38, 38);\n        color: rgb(220, 38, 38);\n        box-shadow: inset 0 0 0 2px rgb(220, 38, 38);\n      }\n    }\n\n    @keyframes saveBadgePop {\n      0% { transform: scale(0.5); opacity: 0; }\n      70% { transform: scale(1.1); opacity: 1; }\n      100% { transform: scale(1); opacity: 1; }\n    }\n\n    .save-badge-pop {\n      animation: saveBadgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n    }\n\n  .flip-card-back .close-btn-luxury {\n    animation: closeButtonMorph 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n  }\n\n  .flip-card-back .add-to-cart-glow {\n    animation: goldGlowAura 2.5s ease-in-out infinite;\n  }\n"}),(0,a.jsxs)("div",{ref:P,className:"group relative w-full h-full flex flex-col",style:{perspective:"2200px"},children:[null!=L&&L>S&&(0,a.jsxs)("div",{className:"absolute z-50 pointer-events-none transition-all duration-[600ms] ease-[cubic-bezier(0.34,1.56,0.64,1)] flex items-center justify-center font-black uppercase tracking-widest ".concat(j?"opacity-0 scale-50":"-top-3 -left-3 bg-red text-white text-[12px] px-4 py-2 rounded-lg -rotate-6 shadow-2xl opacity-100 scale-100"),children:["Save ",Math.round((L-S)/L*100),"%"]}),(0,a.jsxs)("div",{className:"relative w-full h-full flex flex-col transition-all duration-[850ms] cursor-pointer",style:{transformStyle:"preserve-3d",transform:j?"rotateY(180deg)":"rotateY(0deg)",transitionTimingFunction:"cubic-bezier(0.34, 1.56, 0.64, 1)"},onClick:A,children:[(0,a.jsxs)("div",{className:"w-full h-full bg-white border border-gray-100 rounded-3xl hover:shadow-[0_40px_80px_rgba(0,0,0,0.1)] hover:border-gold/20 transition-all duration-500 flex flex-col overflow-hidden z-10",style:{backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",transform:"translateZ(1px)"},children:[(0,a.jsxs)("div",{className:"relative aspect-[4/3] bg-gray-50 overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 bg-white rounded-bl-xl z-20",children:(0,a.jsx)("img",{src:"/images/made-in-usa-banner-small.png",alt:"Made in USA",className:"w-10 h-auto p-1 object-contain pointer-events-none opacity-90"})}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 bg-white rounded-tr-xl z-20",children:(0,a.jsx)("img",{src:"/images/phoenix-atlantic-flag-pole-banner-small.
1jpg",alt:"Atlantic Flagpole",className:"h-[22px] w-auto px-2 py-1 object-contain pointer-events-none opacity-90 mix-blend-multiply"})}),M&&(0,a.jsx)(i.default,{src:M.url,alt:M.altText||b.title,fill:!0,priority:w,className:"object-contain transition-transform duration-700 ease-out z-0 p-4",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}),(0,a.jsx)("div",{className:"absolute inset-0 z-10 bg-navy/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"bg-white text-navy font-black text-[10px] uppercase tracking-widest px-6 py-3 rounded-full shadow-xl translate-y-4 group-hover:translate-y-0 transition-transform duration-500 flex items-center gap-2",children:[(0,a.jsxs)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}),"More Info"]})})]}),(0,a.jsxs)("div",{className:"p-4 sm:p-6 flex-1 flex flex-col pointer-events-none",children:[(0,a.jsxs)("div",{className:"flex-1 flex flex-col",children:[(0,a.jsx)("span",{className:"text-[9px] font-bold text-gray-400 uppercase tracking-widest mb-1 sm:mb-2",children:"Atlantic Flagpole Gear"}),(0,a.jsx)("h3",{className:"text-xs sm:text-sm font-bold text-navy leading-snug mb-2 sm:mb-4 break-words",children:E}),(0,a.jsx)(s,{handle:b.handle}),(0,a.jsxs)("div",{className:"mt-auto flex items-baseline gap-2 pb-2 sm:pb-4",children:[(0,a.jsxs)("span",{className:"text-lg sm:text-2xl font-black text-navy",children:["$",S.toFixed(2)]}),null!=L&&L>S&&(0,a.jsxs)("span",{className:"text-xs sm:text-sm text-gray-400 line-through font-bold",children:["$",L.toFixed(2)]})]})]}),(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),B(e)},disabled:N||!b.availableForSale,className:"mt-2 sm:mt-4 w-full bg-navy text-white hover:bg-[#C5A55A] py-2 sm:py-3.5 rounded-xl font-black text-[10px] sm:text-xs uppercase tracking-widest transition-all hover:scale-[1.02] active:scale-[0.98] shadow-lg flex items-center justify-center gap-2 pointer-events-auto z-30",children:N?(0,a.jsx)("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}):b.availableForSale?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})}),"Add to Cart"]}):"Sold Out"})]})]}),(0,a.jsxs)("div",{className:"flip-card-back absolute top-0 left-0 w-full h-full bg-white border border-gray-200 rounded-3xl shadow-2xl flex flex-col z-0 overflow-hidden",style:{backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",transform:"rotateY(180deg) translateZ(1px)"},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 sm:p-4 border-b border-gray-100 shrink-0 gap-2",children:[(0,a.jsx)("h3",{className:"text-xs sm:text-sm font-bold text-navy leading-tight flex-1 line-clamp-2",children:E}),(0,a.jsx)("button",{onClick:A,className:"close-btn-luxury shrink-0 w-7 h-7 flex items-center justify-center bg-gray-100 hover:bg-gray-200 rounded-full transition-all duration-300 text-gray-600 hover:text-red relative z-50 border border-gray-200",style:{background:"linear-gradient(135deg, rgb(243, 244, 246) 0%, rgb(229, 231, 235) 100%)",borderColor:"rgb(229, 231, 235)"},children:(0,a.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col min-h-0 p-3 sm:p-4 gap-3",children:[b.images&&b.images.edges.length>0&&(0,a.jsx)("div",{className:"grid grid-cols-2 gap-2 shrink-0",children:b.images.edges.slice(0,4).map((e,t)=>(0,a.jsx)("div",{className:"aspect-square bg-gray-50 rounded-lg overflow-hidden border border-gray-100",children:(0,a.jsx)("img",{src:e.node.url,alt:e.node.altText||"Product ".concat(t+1),className:"w-full h-full object-contain p-1"})},t))}),(0,a.jsx)("div",{className:"flex-1 min-h-0 flex flex-col",children:(0,a.jsx)("p",{className:"text-[10px] sm:text-xs text-gray-600 leading-snug overflow-hidden",children:V})})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2 p-3 sm:p-4 border-t border-gray-100 shrink-0 bg-gray-50",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-[8px] font-bold text-gray-400 uppercase tracking-widest",children:"Price"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[j&&null!=L&&L>S&&(0,a.jsxs)("div",{className:"bg-red text-white text-[9px] font-black px-2 py-0.5 rounded-md save-badge-pop shadow-sm",children:["SAVE ",Math.round((L-S)/L*100),"%"]}),(0,a.jsxs)("span",{className:"text-lg sm:text-xl font-black text-navy",children:["$",S.toFixed(2)]})]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("button",{onClick:B,disabled:N||!b.availableForSale,className:"flex-1 bg-navy text-white hover:bg-[#C5A55A] py-2 rounded-lg font-black text-[9px] sm:text-xs uppercase tracking-widest transition-colors shadow-md flex items-center justify-center gap-1 add-to-cart-glow",children:N?"Adding...":"Add to Cart"}),(0,a.jsx)(d(),{href:"/products/".concat(b.handle),className:"flex-1 bg-gray-200 text-navy hover:bg-gray-300 py-2 rounded-lg text-center font-black text-[9px] sm:text-xs uppercase tracking-widest transition-colors",children:"Full Info"})]})]})]})]})]}),null!==_&&(null==(v=b.images)?void 0:v.edges)&&(0,a.jsxs)("div",{className:"fixed inset-0 z-[100] bg-black/90 flex items-center justify-center",onClick:()=>q(),style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh"},children:[(0,a.jsx)("button",{className:"absolute top-4 right-4 text-white hover:text-gold p-2 z-[101]",onClick:e=>q(e),children:(0,a.jsx)("svg",{className:"w-8 h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,a.jsx)("button",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-white hover:text-gold p-2 z-[101]",onClick:e=>{var t;e.preventDefault(),e.stopPropagation(),null!==_&&(null==(t=b.images)?void 0:t.edges)&&R((_-1+b.images.edges.length)%b.images.edges.length)},children:(0,a.jsx)("svg",{className:"w-10 h-10",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,a.jsx)("div",{className:"relative w-full max-w-4xl h-[80vh] px-12",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(i.default,{src:b.images.edges[_].node.url,alt:b.images.edges[_].node.altText||b.title,fill:!0,className:"object-contain"})}),(0,a.jsx)("button",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-white hover:text-gold p-2 z-[101]",onClick:e=>{var t;e.preventDefault(),e.stopPropagation(),null!==_&&(null==(t=b.images)?void 0:t.edges)&&R((_+1)%b.images.edges.length)},children:(0,a.jsx)("svg",{className:"w-10 h-10",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),(0,a.jsxs)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 text-white/50 text-sm font-bold tracking-widest z-[101]",children:[_+1," / ",b.images.edges.length]})]})]})}}
1,54652:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getImageProps:function(){return i}});let a=n(28140),r=n(75040),l=n(81356),s=a._(n(71124));function i(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=l.Image}}]);

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.