{"version":3,"file":"UltimateGoogleReviewCard.Dkhwl-aZ.mjs","names":["React.useContext","React.useState","React.useRef","_Fragment","React.useCallback","c","__esmMin","ne","init_npm_react_18_3_1","oe","de","init_jsx_runtime","B","p","ce","_e","addPropertyControls","init_framer_DKgW_P28","RenderTarget","ControlType","featureId","s","placeId","bin","b","ch","hex","from","x","reviewsUrl","fid","ALL_REVIEWS_URL","businessUrl","MAPS_SEARCH_URL","name","useGoogleSansFlex","link","GSF_HREF","hashHue","h","i","PASTELS","rgbOf","color","a","rgba","lum","f","c","r","g","readable","t","text","cardBg","lt","lc","initials","parts","shortName","relativeDate","ms","iso","d","w","m","y","fmtCount","n","cacheKey","CACHE_PREFIX","lang","readCache","raw","e","ttlHours","writeCache","normalize","normalizeFeed","reviews","j","parseKeywords","k","matchesKeywords","keywords","matchesName","full","short","names","errorFor","body","status","StarSvg","props","STAR_PATH","Stars","size","pct","row","HeaderStarSvg","HEADER_STAR_POINTS","HeaderStars","fill","GoogleMark","ReviewLink","fallback","MapsCtx","url","Avatar","failed","setFailed","ReviewCard","ArrangeCtx","expanded","setExpanded","clamped","setClamped","bodyRef","el","hasText","label","date","starsRow","reviewer","l","top","Header","TitleEl","score","count","seg","href","hrefLabel","summary","attachDrag","id","startX","lastX","moved","samples","unswallow","swallow","down","move","finish","first","v","cancelled","up","cancel","noNative","Carousel","ref","touched","overflow","setOverflow","atStart","setAtStart","atEnd","setAtEnd","update","ro","step","perPage","scrollBy","dir","startIdx","snapBack","stop","dx","target","total","prefersStill","hovering","enter","leave","user","Paged","page","shown","setShown","visible","GridBox","autoCols","setAutoCols","auto","measure","style","Ticker","speedRef","still","raf","last","pos","wrote","touching","lastUser","reading","dragging","fling","period","kids","wrap","onScroll","onTouchStart","onTouchEnd","onEnter","onLeave","mo","write","stopDrag","tick","dt","now","userActive","loop","Spotlight","index","setIndex","held","setHeld","hover","setHover","resumeRef","boxRef","textRef","hold","go","Highlight","featured","UltimateGoogleReviewCard","apiKey","reviewSource","feedUrl","DEFAULT_FEED_URL","language","cacheHours","layout","minStars","limit","interval","num","showFirst","cardMinPx","gapPx","keywordMode","missingFeedUrl","configured","feedQuery","sourceId","data","setData","state","setState","error","setError","dead","cached","PLACES_ENDPOINT","FIELD_MASK","onCanvas","DEFAULT_CARD_BG","rawText","DEFAULT_TEXT","textPrimary","clamp","rawFont","font","DEFAULT_FONT","sh","hv","restY","SHADOW_DEFAULT","restBlur","restSpread","shadowOn","restShadow","hoverEffect","hoverY","HOVER_DEFAULT","hoverBlur","hoverSpread","hoverShadow","lift","room","ts","rootStyle","DEFAULT_HEADER_TEXT","DEFAULT_CARD_STAR","DEFAULT_ACCENT","DEFAULT_TITLE_COLOR","ar","arrange","pick","ARRANGE_DEFAULT","titleStyle","titleFamily","GENERIC_FONT","title","shell","CSS","children","demoMode","source","DEMO","linkPlaceId","reviewsUri","businessUri","noKeywordMatch","hits","pool","pickMiss","cards","c$1","c$2","picked","lay","only","isSpot","noHeader","init_UltimateGoogleReviewCard","allowed","layouts"],"sources":["https:/framerusercontent.com/modules/mOEhgQJSiBldHO5oWMhr/0bAPpC24PeeT5nN3JP49/UltimateGoogleReviewCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// Shared by the render and the property controls, so \"is this still the default?\"\n// stays a reliable question — the contrast guard depends on it.\nconst DEFAULT_TEXT=\"#18181b\";const DEFAULT_CARD_BG=\"#ffffff\";const DEFAULT_ACCENT=\"#18181b\";const DEFAULT_CARD_STAR=\"#FBBC04\"// Google's review-star yellow\n;const DEFAULT_TITLE_COLOR=DEFAULT_TEXT;// Header text sits on the page background, which may differ from the cards.\nconst DEFAULT_HEADER_TEXT=DEFAULT_TEXT;// Framer applies site fonts per text layer, not on <body>, so \"inherit\" inside a\n// code component lands on the browser default. Each site should name its font\n// in the Font control (e.g. \"Opening Hours Sans\", sans-serif); this is the fallback.\nconst DEFAULT_FONT='system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif';// Google's page listing every review for a place (fallback for Place IDs that\n// don't decode to a Maps feature ID).\nconst ALL_REVIEWS_URL=\"https://search.google.com/local/reviews?placeid=\";// Google's documented Maps URL: opens the business's own page.\nconst MAPS_SEARCH_URL=\"https://www.google.com/maps/search/?api=1&query=\";/** \"ChIJ…\" Place IDs are a base64 protobuf holding the Maps feature ID\n * (\"0x…:0x…\"); Maps can open a place's Reviews tab from that. */function featureId(placeId){try{const s=placeId.replace(/-/g,\"+\").replace(/_/g,\"/\");const bin=atob(s+\"=\".repeat((4-s.length%4)%4));const b=Array.from(bin,ch=>ch.charCodeAt(0));if(b.length<20||b[0]!==10||b[2]!==9||b[11]!==17)return null;const hex=from=>\"0x\"+b.slice(from,from+8).reverse().map(x=>x.toString(16).padStart(2,\"0\")).join(\"\").replace(/^0+(?=.)/,\"\");return hex(3)+\":\"+hex(12);}catch{return null;}}/** Google Maps, on the business, with the Reviews tab open. */function reviewsUrl(placeId){const fid=featureId(placeId);return fid?\"https://www.google.com/maps/place/data=!4m4!3m3!1s\"+fid+\"!9m1!1b1\":ALL_REVIEWS_URL+encodeURIComponent(placeId);}/** Google Maps, on the business's page. */function businessUrl(placeId,name){return MAPS_SEARCH_URL+encodeURIComponent(name||\"Google reviews\")+\"&query_place_id=\"+encodeURIComponent(placeId);}const SHADOW_DEFAULT={show:true,color:\"rgba(16, 24, 40, 0.08)\",y:4,blur:16,spread:-2};const HOVER_DEFAULT={effect:\"lift\",lift:3,color:\"rgba(16, 24, 40, 0.14)\",y:12,blur:28,spread:-6};const num=(v,d)=>typeof v===\"number\"&&isFinite(v)?v:d;const ARRANGE_DEFAULT={reviewer:\"bottom\",photo:\"left\",stars:\"top\",date:\"name\",google:\"corner\",align:\"left\"};const pick=(v,allowed,d)=>allowed.includes(v)?v:d;const ArrangeCtx=/*#__PURE__*/React.createContext(ARRANGE_DEFAULT);// A business's own reviews feed (e.g. a Cloudflare Worker reading its Business\n// Profile API), newest first. The feed searches every review for the keywords, so ask it for\n// the full 50 and let it put matches first.\n// Blank on purpose: a feed belongs to one business, so a copy of this component in\n// another project must never fall back to someone else's reviews.\nconst DEFAULT_FEED_URL=\"\";const FEED_FETCH=50;// A Font control left on its default reports a generic family; treat that as\n// \"not chosen\" so the title falls back to the component font.\nconst GENERIC_FONT=/^(sans-serif|serif|monospace|system-ui|inherit)$/i;// ── demo data (canvas preview before a key is pasted) ────────────────────────\nconst DEMO={name:\"Your business\",mapsUri:null,aggregate:{rating:4.8,count:127},reviews:[{authorName:\"Sarah Mitchell\",rating:5,text:\"Absolutely brilliant from start to finish. The team took the time to understand exactly what we needed and delivered ahead of schedule. Would recommend to anyone.\",date:new Date(Date.now()-6*864e5).toISOString(),photo:null,uri:null},{authorName:\"James Okonkwo\",rating:5,text:\"Great communication throughout. Fair pricing and the quality speaks for itself. We'll definitely be back.\",date:new Date(Date.now()-19*864e5).toISOString(),photo:null,uri:null},{authorName:\"Laura Beneventi\",rating:4,text:\"Really pleased with the result. Small delay on delivery but they kept me updated the whole way, which I appreciated.\",date:new Date(Date.now()-41*864e5).toISOString(),photo:null,uri:null},{authorName:\"Tom Fischer\",rating:5,text:\"Professional, responsive and genuinely nice people to deal with. Exactly what you hope for.\",date:new Date(Date.now()-73*864e5).toISOString(),photo:null,uri:null},{authorName:\"Priya Raman\",rating:5,text:\"Second time using them and the standard hasn't slipped at all. That consistency is rare.\",date:new Date(Date.now()-128*864e5).toISOString(),photo:null,uri:null}]};// ── styles ──────────────────────────────────────────────────────────────────\n// Everything that can't be inline: line-clamp, container queries, hover,\n// scroll-snap, hidden scrollbars, reduced-motion, skeleton pulse. Derived tokens\n// come from color-mix on a single --grl-text-primary so one colour pick restyles\n// the whole widget coherently.\n// The \"Google\" wordmark uses Google Sans Flex. It is loaded from a <link> added\n// after hydration (not an @import in the <style> tag) so it never blocks the\n// first render of the page. font-display: swap shows the fallback until it lands.\nconst GSF_HREF=\"https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@400&display=swap\";function useGoogleSansFlex(){React.useEffect(()=>{if(typeof document===\"undefined\")return;if(document.getElementById(\"grl-gsf\"))return;const link=document.createElement(\"link\");link.id=\"grl-gsf\";link.rel=\"stylesheet\";link.href=GSF_HREF;document.head.appendChild(link);},[]);}const CSS=[\".grl-root{\",\"  --grl-star:#FBBC04;--grl-fs-rating:32px;--grl-fs-body:14px;--grl-fs-meta:12px;--grl-lh-body:1.6;\",\"  --grl-radius-chip:999px;\",\"  --grl-shadow:0 1px 2px rgba(0,0,0,.04);--grl-shadow-hover:0 4px 12px rgba(0,0,0,.08);\",\"  --grl-text-secondary:color-mix(in srgb,var(--grl-text-primary) 72%,transparent);\",\"  --grl-text-muted:color-mix(in srgb,var(--grl-text-primary) 68%,transparent);\",\"  --grl-card-border:color-mix(in srgb,var(--grl-text-primary) 12%,transparent);\",\"  --grl-star-empty:color-mix(in srgb,var(--grl-text-primary) 14%,transparent);\",\"  container-type:inline-size;width:100%;background:transparent;\",\"  position:relative;z-index:1;\",\"  font-family:var(--grl-font);color:var(--grl-text-primary);box-sizing:border-box;\",\"}\",\".grl-root *,.grl-root *::before,.grl-root *::after{box-sizing:border-box;}\",// Text on the page background (header, Spotlight, notes) follows Header text,\n// not Card text. Derived tones must be re-derived here or they'd stay on the old colour.\n\".grl-header,.grl-spot,.grl-note,.grl-hint{--grl-text-primary:var(--grl-outer-text);--grl-text-secondary:color-mix(in srgb,var(--grl-outer-text) 72%,transparent);--grl-text-muted:color-mix(in srgb,var(--grl-outer-text) 45%,transparent);--grl-card-border:color-mix(in srgb,var(--grl-outer-text) 12%,transparent);--grl-star-empty:color-mix(in srgb,var(--grl-outer-text) 14%,transparent);color:var(--grl-outer-text);}\",// ── header: title left, \"Google | 5.0 ★★★★★ | N reviews\" button right ──\n\".grl-header{display:flex;align-items:center;justify-content:space-between;gap:var(--grl-header-gap,20px);flex-wrap:wrap;margin-bottom:var(--grl-header-space,24px);}\",\".grl-title{margin:0;font-size:inherit;font-weight:inherit;color:var(--grl-title-color);}\",// Two links inside one pill: each segment's padding plus the 4px gap keeps the\n// original 8px rhythm between items.\n\".grl-summary{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding:2px 4px;border:1px solid var(--grl-text-primary);border-radius:40px;background:transparent;color:var(--grl-text-primary);}\",\".grl-seg{display:inline-flex;align-items:center;gap:8px;padding:2px 4px;border-radius:40px;color:inherit;text-decoration:none;transition:background-color .16s ease;}\",\"a.grl-seg:hover{background:color-mix(in srgb,var(--grl-text-primary) 20%,transparent);}\",\"a.grl-seg:focus-visible{outline:2px solid var(--grl-accent);outline-offset:2px;}\",// No var(--grl-font) in this list: its default is a keyword, and a keyword in\n// a font list invalidates the whole declaration.\n\".grl-g{display:inline-flex;align-items:center;gap:5px;font-family:'Google Sans Flex',sans-serif;font-size:16px;font-weight:400;line-height:1;}\",\".grl-sep{opacity:.5;font-size:16px;line-height:1;}\",\".grl-score{display:inline-flex;align-items:center;gap:4px;}\",\".grl-rating{font-size:20px;font-weight:400;line-height:1;}\",\".grl-count{font-size:16px;line-height:1;}\",\".grl-hstars{display:inline-flex;gap:4px;}\",\".grl-hstar{position:relative;display:block;width:12px;height:12px;}\",\".grl-hstar svg{position:absolute;top:0;left:0;display:block;width:12px;height:12px;}\",\".grl-hstar-fill{position:absolute;top:0;left:0;height:100%;overflow:hidden;}\",\"@container (max-width:560px){.grl-header{flex-direction:column;align-items:flex-start;}}\",\".grl-track{display:flex;gap:var(--grl-gap);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:var(--grl-room,8px) 0 calc(var(--grl-room,8px) + 2px);}\",\".grl-track::-webkit-scrollbar{display:none;}\",// Grid: a wrapping flex row, so the last row can sit left, centre or fill.\n\".grl-grid{--grl-c:var(--grl-cols,3);display:flex;flex-wrap:wrap;gap:var(--grl-gap);justify-content:var(--grl-grid-justify,flex-start);}\",\".grl-grid>.grl-card{flex:var(--grl-grow,0) 0 calc((100% - (var(--grl-c) - 1) * var(--grl-gap)) / var(--grl-c));min-width:0;}\",\"@container (max-width:900px){.grl-grid{--grl-c:min(var(--grl-cols,3),2);}}\",\"@container (max-width:560px){.grl-grid{--grl-c:1;}}\",// Auto columns are measured in JS from Card size, so skip the caps above.\n\".grl-grid.grl-auto{--grl-c:var(--grl-cols,3);}\",\".grl-list{display:flex;flex-direction:column;gap:var(--grl-gap);max-width:var(--grl-list-max,680px);margin-inline:var(--grl-list-margin,auto);}\",\".grl-card{display:flex;flex-direction:column;background:var(--grl-card-bg);border:1px solid var(--grl-card-line,var(--grl-card-border));border-radius:var(--grl-radius);padding:var(--grl-card-pad);box-shadow:var(--grl-shadow);transition:box-shadow .16s ease,transform .16s ease;scroll-snap-align:start;position:relative;}\",\".grl-card:hover{box-shadow:var(--grl-shadow-hover);transform:translateY(calc(-1 * var(--grl-lift,2px)));}\",\"@media (prefers-reduced-motion:reduce){.grl-card:hover{transform:none;}}\",// Carousel: Cards visible (2–4), at most 2 on tablet, one-and-a-bit on phones.\n\".grl-track{--grl-v:var(--grl-visible,3);}\",\".grl-track .grl-card{flex:0 0 calc((100% - (var(--grl-v) - 1) * var(--grl-gap)) / var(--grl-v));}\",\"@container (max-width:900px){.grl-track{--grl-v:min(var(--grl-visible,3),2);}}\",\"@container (max-width:560px){.grl-track .grl-card{flex-basis:86%;}}\",\".grl-id{display:flex;align-items:center;gap:10px;}\",\"a.grl-id{cursor:pointer;}\",\"a.grl-id:hover .grl-name{text-decoration:underline;}\",\"a.grl-id:focus-visible{outline:2px solid var(--grl-accent);outline-offset:4px;border-radius:6px;}\",\".grl-avatar{width:32px;height:32px;border-radius:50%;flex:0 0 32px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#3f3f46;overflow:hidden;}\",\".grl-avatar img{width:100%;height:100%;object-fit:cover;}\",\".grl-name{font-size:var(--grl-fs-name,var(--grl-fs-body));font-weight:600;color:var(--grl-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}\",\".grl-badge{margin-left:auto;opacity:.9;display:flex;align-items:center;}\",// Arrangement: parts can come in any order, so spacing is set between\n// neighbours (the classic order keeps its original 8/12/8px rhythm).\n\".grl-card>:first-child{margin-top:0;}\",\".grl-who{display:flex;flex-direction:column;gap:2px;min-width:0;}\",\".grl-who-stars{display:flex;align-items:center;gap:8px;margin-top:2px;}\",\".grl-id-stack{flex-direction:column;align-items:flex-start;gap:8px;}\",\".grl-id-stack .grl-avatar{width:40px;height:40px;flex-basis:40px;}\",\".grl-meta+.grl-id,.grl-meta+.grl-body,.grl-body+.grl-meta,.grl-more+.grl-meta{margin-top:12px;}\",\".grl-card>.grl-foot{margin-top:auto;padding-top:16px;}\",\".grl-corner{position:absolute;top:var(--grl-card-pad);right:var(--grl-card-pad);margin:0;}\",\".grl-has-corner>:first-child{padding-right:28px;}\",\".grl-centered{text-align:center;align-items:center;}\",\".grl-centered .grl-id{justify-content:center;}\",\".grl-centered .grl-id-stack,.grl-centered .grl-who{align-items:center;}\",\".grl-centered .grl-meta,.grl-centered .grl-who-stars{justify-content:center;}\",\".grl-centered .grl-body{align-self:stretch;}\",\".grl-centered .grl-more{align-self:center;}\",\"a.grl-badge:hover{opacity:1;}\",\".grl-meta{display:flex;align-items:center;gap:8px;margin:8px 0 0 0;}\",\".grl-date{font-size:var(--grl-fs-meta);color:var(--grl-text-muted);}\",\".grl-body{font-size:var(--grl-fs-body);line-height:var(--grl-lh-body);color:var(--grl-text-secondary);margin-top:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--grl-clamp);overflow:hidden;}\",// Needs the .grl-root prefix to outrank the per-layout clamp overrides below\n// (.grl-hl-big/.grl-hl-side .grl-body). Without it the specificities tie, the\n// later layout rule wins, and \"Read more\" leaves the text clamped.\n\".grl-root .grl-body.grl-expanded{-webkit-line-clamp:unset;overflow:visible;}\",\".grl-more{align-self:flex-start;margin-top:8px;background:none;border:none;padding:0;cursor:pointer;font:inherit;font-size:var(--grl-fs-meta);font-weight:500;color:var(--grl-accent);}\",\".grl-more:hover{text-decoration:underline;}\",\".grl-stars{position:relative;display:inline-flex;line-height:0;}\",\".grl-stars-fill{position:absolute;top:0;left:0;display:flex;overflow:hidden;white-space:nowrap;}\",\".grl-arrows{display:flex;gap:8px;justify-content:flex-end;margin-top:var(--grl-nav-gap,12px);}\",\".grl-arrow{width:36px;height:36px;border-radius:50%;border:1px solid var(--grl-card-border);background:var(--grl-card-bg);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--grl-text-secondary);}\",\".grl-arrow:disabled{opacity:.35;cursor:default;}\",\".grl-note{padding:24px;text-align:center;color:var(--grl-text-muted);font-size:var(--grl-fs-body);border:1px dashed var(--grl-card-border);border-radius:var(--grl-radius);}\",\".grl-note strong{display:block;color:var(--grl-text-primary);font-size:15px;font-weight:700;margin-bottom:6px;}\",\".grl-note code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;}\",\".grl-note a{color:var(--grl-accent);}\",\".grl-skel{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--grl-card-min,300px)),1fr));gap:var(--grl-gap);}\",\".grl-skel-card{height:172px;border-radius:var(--grl-radius);background:var(--grl-card-border);animation:grlpulse 1.5s ease-in-out infinite;}\",\"@keyframes grlpulse{0%,100%{opacity:.4}50%{opacity:.8}}\",\".grl-ticker{overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);}\",\".grl-ticker::-webkit-scrollbar{display:none;}\",// Scrolling rows clip vertically, so their padding grows with the shadow.\n\".grl-ticker-row{display:flex;width:max-content;gap:var(--grl-gap);padding:var(--grl-room,8px) 0;}\",\".grl-ticker .grl-card{width:var(--grl-card-min,320px);flex:0 0 auto;}\",\".grl-spot{text-align:center;max-width:720px;margin:0 auto;padding:8px 16px;touch-action:pan-y;}\",\".grl-spot .grl-avatar{width:44px;height:44px;flex-basis:44px;margin:0 auto;}\",\".grl-spot-text{font-size:calc(var(--grl-fs-body) * 1.36);line-height:var(--grl-lh-body);font-weight:500;margin:14px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;}\",\".grl-root .grl-spot-text.grl-expanded{-webkit-line-clamp:unset;overflow:visible;}\",\".grl-spot .grl-more{margin:0 0 12px;}\",\".grl-spot-name{font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;}\",// The card's Google mark is pushed right with an auto margin; here it sits by the name.\n\".grl-spot-name .grl-badge{margin-left:0;}\",\".grl-dots{display:flex;gap:6px;justify-content:center;margin-top:16px;}\",\".grl-spot-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:var(--grl-nav-gap,16px);}\",\".grl-spot-nav .grl-dots{margin-top:0;}\",\".grl-dot{width:7px;height:7px;border-radius:50%;border:none;padding:0;cursor:pointer;background:var(--grl-card-border);}\",\".grl-dot.grl-on{background:var(--grl-accent);}\",\".grl-fade{animation:grlfade .45s ease;}\",\"@keyframes grlfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}\",\"@media (prefers-reduced-motion:reduce){.grl-fade{animation:none;}}\",\".grl-hl{display:grid;grid-template-columns:1.45fr 1fr;gap:var(--grl-gap);align-items:stretch;}\",\".grl-hl-big .grl-card{height:100%;}\",\".grl-hl-big .grl-body{-webkit-line-clamp:9;font-size:calc(var(--grl-fs-body) + 2px);}\",\".grl-hl-side{display:flex;flex-direction:column;gap:var(--grl-gap);}\",\".grl-hl-side .grl-body{-webkit-line-clamp:2;}\",\"@container (max-width:700px){.grl-hl{grid-template-columns:1fr;}}\",\".grl-hint{margin-top:12px;text-align:center;font-size:11.5px;color:var(--grl-text-muted);border:1px dashed var(--grl-card-border);border-radius:9px;padding:7px 12px;}\",// Mouse drag (Ticker, Carousel, Spotlight): grab cursor, grabbing while held.\n\".grl-drag{cursor:grab;}\",\".grl-drag.grl-dragging,.grl-drag.grl-dragging *{cursor:grabbing!important;-webkit-user-select:none;user-select:none;}\",\".grl-drag img{-webkit-user-drag:none;}\",\".grl-track.grl-free{scroll-snap-type:none;}\",\".grl-track:focus-visible{outline:2px solid var(--grl-accent);outline-offset:4px;}\",\".grl-loadmore{display:block;margin:20px auto 0;padding:8px 18px;border:1px solid var(--grl-outer-text);border-radius:40px;background:transparent;color:var(--grl-outer-text);font:inherit;font-size:var(--grl-fs-body);cursor:pointer;transition:background-color .16s ease;}\",\".grl-loadmore:hover{background:color-mix(in srgb,var(--grl-outer-text) 12%,transparent);}\",\".grl-loadmore:focus-visible{outline:2px solid var(--grl-accent);outline-offset:2px;}\"].join(\"\\n\");// ── helpers ─────────────────────────────────────────────────────────────────\nconst PASTELS=[\"#fde68a\",\"#bfdbfe\",\"#c7d2fe\",\"#fbcfe8\",\"#bbf7d0\",\"#fed7aa\"];function hashHue(name){let h=0;for(let i=0;i<name.length;i++)h=h*31+name.charCodeAt(i)>>>0;return PASTELS[h%PASTELS.length];}/** [r,g,b,a] from hex (#rgb/#rrggbb/#rrggbbaa) or rgb()/rgba() — also finds the\n * fallback inside Framer token strings like var(--token-x, rgb(...)). */function rgbOf(color){const s=String(color).trim();const hex=s.match(/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i);if(hex){let h=hex[1];if(h.length===3)h=h[0]+h[0]+h[1]+h[1]+h[2]+h[2];const a=h.length===8?parseInt(h.slice(6,8),16)/255:1;return[parseInt(h.slice(0,2),16),parseInt(h.slice(2,4),16),parseInt(h.slice(4,6),16),a];}const rgba=s.match(/rgba?\\(([^)]+)\\)/i);if(!rgba)return null;const p=rgba[1].split(\",\").map(x=>parseFloat(x));if(p.length<3||isNaN(p[0])||isNaN(p[1])||isNaN(p[2]))return null;return[p[0],p[1],p[2],p.length>3&&!isNaN(p[3])?p[3]:1];}function lum(r,g,b){const f=c=>{const x=c/255;return x<=.03928?x/12.92:Math.pow((x+.055)/1.055,2.4);};return .2126*f(r)+.7152*f(g)+.0722*f(b);}/** Contrast guard: if the chosen text colour can't be read on the card\n * (WCAG AA ~4.5:1), snap to near-black / near-white. Semi-transparent text is\n * composited over the card first, so rgba(...,.4) white on white is caught. */function readable(text,cardBg){const t=rgbOf(text);const c=rgbOf(cardBg);if(!t||!c)return text;const a=t[3];const lt=lum(a*t[0]+(1-a)*c[0],a*t[1]+(1-a)*c[1],a*t[2]+(1-a)*c[2]);const lc=lum(c[0],c[1],c[2]);const hi=Math.max(lt,lc)+.05;const lo=Math.min(lt,lc)+.05;if(hi/lo>=4.5)return text;return lc>.5?\"#18181b\":\"#fafafa\";}function initials(name){const parts=String(name).trim().split(/\\s+/).filter(Boolean);if(parts.length===0)return\"?\";if(parts.length===1)return parts[0].slice(0,2).toUpperCase();return(parts[0][0]+parts[parts.length-1][0]).toUpperCase();}function shortName(name){const parts=String(name).trim().split(/\\s+/).filter(Boolean);if(parts.length<2)return name||\"Anonymous\";return parts[0]+\" \"+parts[parts.length-1][0].toUpperCase()+\".\";}function relativeDate(iso){const ms=Date.now()-new Date(iso).getTime();if(isNaN(ms))return\"\";const d=Math.floor(ms/864e5);if(d<=0)return\"today\";if(d===1)return\"yesterday\";if(d<7)return d+\" days ago\";if(d<30){const w=Math.floor(d/7);return w+(w>1?\" weeks ago\":\" week ago\");}if(d<365){const m=Math.floor(d/30);return m+(m>1?\" months ago\":\" month ago\");}const y=Math.floor(d/365);return y+(y>1?\" years ago\":\" year ago\");}function fmtCount(n){try{return new Intl.NumberFormat().format(n);}catch{return String(n);}}// ── Google Places (New) fetch + cache ───────────────────────────────────────\n// Places API (New) supports browser calls, so the component talks to Google\n// directly — no server of ours in the path. The key is the BUYER's own key and\n// must be restricted by HTTP referrer in Google Cloud Console. Buyer-facing\n// instructions live at vanssay.net/guides/google-reviews-framer-setup.html\nconst PLACES_ENDPOINT=\"https://places.googleapis.com/v1/places/\";const FIELD_MASK=\"id,displayName,rating,userRatingCount,googleMapsUri,reviews\";// v3: feed entries now carry the Place ID (v2 added each review's own link).\nconst CACHE_PREFIX=\"grl:v3:\";function cacheKey(placeId,lang){return CACHE_PREFIX+placeId+\":\"+lang;}function readCache(placeId,lang,ttlHours){try{const raw=localStorage.getItem(cacheKey(placeId,lang));if(!raw)return null;const e=JSON.parse(raw);if(!e||typeof e.t!==\"number\"||!e.d)return null;if(Date.now()-e.t>Math.max(1,ttlHours)*36e5)return null;return e.d;}catch{return null;}}function writeCache(placeId,lang,d){try{localStorage.setItem(cacheKey(placeId,lang),JSON.stringify({t:Date.now(),d}));}catch{/* private mode / quota — caching is an optimisation, never a requirement */}}function normalize(p){const reviews=(p.reviews||[]).map(r=>({authorName:r.authorAttribution&&r.authorAttribution.displayName||\"Anonymous\",rating:Math.round(Number(r.rating)||0),text:r.text&&r.text.text||r.originalText&&r.originalText.text||\"\",date:r.publishTime||new Date().toISOString(),photo:r.authorAttribution&&r.authorAttribution.photoUri||null,uri:r.googleMapsUri||null}));return{reviews,aggregate:{rating:Number(p.rating)||0,count:Math.max(0,Math.floor(Number(p.userRatingCount)||0))},mapsUri:p.googleMapsUri||null,name:p.displayName&&p.displayName.text||\"\"};}/** The feed already speaks PlaceData; this just guards against missing fields. */function normalizeFeed(j){const list=Array.isArray(j&&j.reviews)?j.reviews:[];const reviews=list.map(r=>({authorName:String(r&&r.authorName||\"Anonymous\"),rating:Math.round(Number(r&&r.rating)||0),text:String(r&&r.text||\"\"),date:r&&r.date||new Date().toISOString(),photo:r&&r.photo||null,uri:r&&r.uri||null}));const a=j&&j.aggregate||{};return{reviews,aggregate:{rating:Number(a.rating)||0,count:Math.max(0,Math.floor(Number(a.count)||0))},mapsUri:j&&j.mapsUri||null,name:String(j&&j.name||\"\"),placeId:j&&typeof j.placeId===\"string\"&&j.placeId||null};}/** \"HGV, lgv medical, dive\" → [\"hgv\", \"lgv medical\", \"dive\"] */function parseKeywords(raw){return String(raw||\"\").split(\",\").map(k=>k.trim().toLowerCase()).filter(Boolean);}/** Case-insensitive \"contains\": \"dive\" matches \"dive medical\" but not\n * \"diving\", so list both forms when they differ. */function matchesKeywords(r,keywords){const text=r.text.toLowerCase();return keywords.some(k=>text.includes(k));}/** Featured / spotlit reviewer: matches the full name or the \"Andy B.\" shown on the card. */function matchesName(r,names){const full=r.authorName.toLowerCase();const short=shortName(r.authorName).toLowerCase();return names.some(n=>full.includes(n)||short.includes(n));}/**\n * Human-readable message for the states a buyer actually hits.\n *\n * Status alone is not enough to tell these apart: an invalid API key and an\n * invalid Place ID BOTH come back as HTTP 400, so the wrong guess sends people\n * to fix the wrong field. Google's error body names the real cause, so match on\n * that first and fall back to the status.\n */function errorFor(status,body){const b=String(body||\"\");if(/API key not valid|API_KEY_INVALID/i.test(b))return\"That API key isn't valid. Copy it again from Google Cloud Console → Credentials.\";if(/referer|referrer/i.test(b))return\"Google blocked this domain. Add your site to the API key's website (HTTP referrer) restrictions.\";if(/API_KEY_SERVICE_BLOCKED|not enabled|SERVICE_DISABLED/i.test(b))return\"This key can't use Places API (New). Enable that API for the key, and check billing is on.\";if(/PERMISSION_DENIED/i.test(b))return\"Google refused the key. Check Places API (New) is enabled and billing is on.\";if(status===400)return\"Google rejected the request — check the Place ID is correct.\";if(status===403)return\"Google refused the API key. Check its restrictions, and that billing is on.\";if(status===404)return\"No place found for that Place ID.\";if(status===429)return\"Google rate limit reached. Try again shortly.\";return\"Could not load reviews from Google (HTTP \"+status+\").\";}// ── icons ───────────────────────────────────────────────────────────────────\nconst STAR_PATH=\"M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77 5.82 21l1.18-6.88-5-4.87 7.1-1.01z\";function StarSvg(props){return /*#__PURE__*/_jsx(\"svg\",{width:props.size,height:props.size,viewBox:\"0 0 24 24\",\"aria-hidden\":true,style:{display:\"block\"},children:/*#__PURE__*/_jsx(\"path\",{fill:props.color,d:STAR_PATH})});}function Stars(props){const size=props.size||14;const pct=Math.max(0,Math.min(100,props.rating/5*100));const row=color=>/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\"},children:[0,1,2,3,4].map(i=>/*#__PURE__*/_jsx(StarSvg,{size:size,color:color},i))});return /*#__PURE__*/_jsxs(\"span\",{className:\"grl-stars\",style:{height:size},role:\"img\",\"aria-label\":props.rating.toFixed(1)+\" out of 5\",children:[row(\"var(--grl-star-empty)\"),/*#__PURE__*/_jsx(\"span\",{className:\"grl-stars-fill\",style:{width:pct+\"%\"},children:row(\"var(--grl-star)\")})]});}// The header's own star (supplied artwork), 12×12.\nconst HEADER_STAR_POINTS=\"167.58 0 219.36 104.93 335.16 121.75 251.37 203.43 271.15 318.75 167.58 264.3 64.01 318.75 83.79 203.43 0 121.75 115.79 104.93 167.58 0\";function HeaderStarSvg(props){return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 335.16 318.75\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"polygon\",{fill:props.color,points:HEADER_STAR_POINTS})});}/** Five stars, each filled by its own share of the score, so 4.5 shows 4½ even\n * with gaps between the stars. */function HeaderStars(props){return /*#__PURE__*/_jsx(\"span\",{className:\"grl-hstars\",\"aria-hidden\":true,children:[0,1,2,3,4].map(i=>{const fill=Math.max(0,Math.min(1,props.rating-i));return /*#__PURE__*/_jsxs(\"span\",{className:\"grl-hstar\",children:[/*#__PURE__*/_jsx(HeaderStarSvg,{color:\"var(--grl-star-empty)\"}),/*#__PURE__*/_jsx(\"span\",{className:\"grl-hstar-fill\",style:{width:fill*100+\"%\"},children:/*#__PURE__*/_jsx(HeaderStarSvg,{color:\"var(--grl-star)\"})})]},i);})});}function GoogleMark(){return /*#__PURE__*/_jsxs(\"svg\",{width:16,height:16,viewBox:\"0 0 48 48\",role:\"img\",\"aria-label\":\"Google\",children:[/*#__PURE__*/_jsx(\"path\",{fill:\"#EA4335\",d:\"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.510 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#4285F4\",d:\"M46.98 24.55c0-1.570-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#FBBC05\",d:\"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#34A853\",d:\"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z\"})]});}/** The business's Google Maps profile, when the API gave us one. */const MapsCtx=/*#__PURE__*/React.createContext(null);/** Links to one review on Google, falling back to the business profile when the\n * review has no link of its own (sample data, or an older cached response). */function ReviewLink(props){const fallback=React.useContext(MapsCtx);const url=props.uri||fallback;if(!url)return /*#__PURE__*/_jsx(\"div\",{className:props.className,children:props.children});return /*#__PURE__*/_jsx(\"a\",{className:props.className,href:url,target:\"_blank\",rel:\"noopener noreferrer\",\"aria-label\":props.uri?props.label:\"See all reviews on Google Maps\",style:{color:\"inherit\",textDecoration:\"none\"},children:props.children});}function Avatar(props){// Google avatar URLs expire; fall back to coloured initials so an old page\n// never shows a broken image.\nconst[failed,setFailed]=React.useState(false);if(props.photo&&!failed){return /*#__PURE__*/_jsx(\"span\",{className:\"grl-avatar\",children:/*#__PURE__*/_jsx(\"img\",{src:props.photo,alt:\"\",loading:\"lazy\",referrerPolicy:\"no-referrer\",onError:()=>setFailed(true)})});}return /*#__PURE__*/_jsx(\"span\",{className:\"grl-avatar\",style:{background:hashHue(props.name)},children:initials(props.name)});}// ── pieces ──────────────────────────────────────────────────────────────────\nfunction ReviewCard(props){const r=props.review;const a=React.useContext(ArrangeCtx);const[expanded,setExpanded]=React.useState(false);const[clamped,setClamped]=React.useState(false);const bodyRef=React.useRef(null);React.useEffect(()=>{const el=bodyRef.current;if(el)setClamped(el.scrollHeight>el.clientHeight+1);},[]);const hasText=r.text&&r.text.trim().length>0;const name=shortName(r.authorName);const label=\"Read \"+name+\"'s review on Google\";const date=a.date!==\"hidden\"?/*#__PURE__*/_jsx(\"span\",{className:\"grl-date\",children:relativeDate(r.date)}):null;// Stars row (with the date beside it when Date is \"Beside stars\").\nconst starsRow=/*#__PURE__*/_jsxs(\"div\",{className:\"grl-meta\",children:[/*#__PURE__*/_jsx(Stars,{rating:r.rating,size:14}),a.date===\"stars\"?date:null]});const reviewer=/*#__PURE__*/_jsxs(ReviewLink,{uri:r.uri,className:\"grl-id\"+(a.photo===\"above\"?\" grl-id-stack\":\"\")+(a.reviewer===\"bottom\"?\" grl-foot\":\"\"),label:label,children:[a.photo!==\"hidden\"?/*#__PURE__*/_jsx(Avatar,{name:r.authorName,photo:r.photo}):null,/*#__PURE__*/_jsxs(\"span\",{className:\"grl-who\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"grl-name\",children:name}),a.stars===\"name\"?/*#__PURE__*/_jsxs(\"span\",{className:\"grl-who-stars\",children:[/*#__PURE__*/_jsx(Stars,{rating:r.rating,size:13}),a.date===\"stars\"?date:null]}):null,a.date===\"name\"?date:null]}),a.google===\"name\"?/*#__PURE__*/_jsx(\"span\",{className:\"grl-badge\",children:/*#__PURE__*/_jsx(GoogleMark,{})}):null]});const text=hasText?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"p\",{ref:bodyRef,className:\"grl-body\"+(expanded?\" grl-expanded\":\"\"),children:r.text}),clamped?/*#__PURE__*/_jsx(\"button\",{className:\"grl-more\",\"aria-expanded\":expanded,onClick:()=>setExpanded(e=>!e),children:expanded?\"Read less\":\"Read more\"}):null]}):null;const top=a.reviewer===\"top\";return /*#__PURE__*/_jsxs(\"article\",{className:\"grl-card\"+(a.align===\"center\"?\" grl-centered\":\"\")+(a.google===\"corner\"?\" grl-has-corner\":\"\"),children:[a.stars===\"top\"?starsRow:null,top?reviewer:null,a.stars===\"above\"?starsRow:null,text,a.stars===\"below\"?starsRow:null,top?null:reviewer,a.google===\"corner\"?/*#__PURE__*/_jsx(ReviewLink,{uri:r.uri,className:\"grl-badge grl-corner\",label:label,children:/*#__PURE__*/_jsx(GoogleMark,{})}):null]});}function Header(props){const a=props.a;const TitleEl=props.titleTag||\"p\";const score=a.rating.toFixed(1);const count=fmtCount(a.count)+(a.count===1?\" review\":\" reviews\");const label=score+\" out of 5 from \"+count+\" on Google\";const seg=(href,hrefLabel,children)=>href?/*#__PURE__*/_jsx(\"a\",{className:\"grl-seg\",href:href,target:\"_blank\",rel:\"noopener noreferrer\",\"aria-label\":hrefLabel,children:children}):/*#__PURE__*/_jsx(\"span\",{className:\"grl-seg\",children:children});const summary=/*#__PURE__*/_jsxs(_Fragment,{children:[seg(props.businessUri,score+\" out of 5 on Google. Open the business on Google Maps.\",/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"span\",{className:\"grl-g\",children:[/*#__PURE__*/_jsx(GoogleMark,{}),\"Google\"]}),/*#__PURE__*/_jsx(\"span\",{className:\"grl-sep\",\"aria-hidden\":true,children:\"|\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"grl-score\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"grl-rating\",children:score}),/*#__PURE__*/_jsx(HeaderStars,{rating:a.rating})]})]})),/*#__PURE__*/_jsx(\"span\",{className:\"grl-sep\",\"aria-hidden\":true,children:\"|\"}),seg(props.reviewsUri,count+\" on Google. Read them all on Google Maps.\",/*#__PURE__*/_jsx(\"span\",{className:\"grl-count\",children:count}))]});return /*#__PURE__*/_jsxs(\"div\",{className:\"grl-header\",children:[props.title?/*#__PURE__*/_jsx(TitleEl,{className:\"grl-title\",style:props.titleStyle,children:props.title}):null,/*#__PURE__*/_jsx(\"span\",{className:\"grl-summary\",role:\"group\",\"aria-label\":label,children:summary})]});}const prefersStill=()=>typeof matchMedia!==\"undefined\"&&matchMedia(\"(prefers-reduced-motion: reduce)\").matches;/**\n * Mouse drag for scrolling layouts (\"fly through the cards\"). Touch is left to\n * the browser's own scrolling unless `touch` is set. Starts after 5px so\n * a plain click still works; the click that ends a drag is swallowed so it\n * never opens a review link or toggles Read more. Velocity is px/ms over the\n * last ~100ms, for momentum.\n */function attachDrag(el,h){let id=null;let startX=0;let lastX=0;let moved=false;let samples=[];let unswallow=0;const swallow=e=>{e.preventDefault();e.stopPropagation();};const down=e=>{if(e.button!==0)return;if(e.pointerType!==\"mouse\"&&!h.touch)return;id=e.pointerId;startX=lastX=e.clientX;moved=false;samples=[{t:performance.now(),x:e.clientX}];};const move=e=>{if(id!==e.pointerId)return;if(!moved){if(Math.abs(e.clientX-startX)<5)return;moved=true;try{el.setPointerCapture(e.pointerId);}catch{/* capture is a nicety */}el.classList.add(\"grl-dragging\");if(h.start)h.start();}const t=performance.now();samples.push({t,x:e.clientX});while(samples.length>2&&t-samples[0].t>100)samples.shift();h.move(e.clientX-lastX);lastX=e.clientX;};const finish=(e,cancelled)=>{if(id!==e.pointerId)return;id=null;if(!moved)return;el.classList.remove(\"grl-dragging\");const t=performance.now();const recent=samples.filter(p=>t-p.t<=100);const first=recent[0];const v=!cancelled&&first&&t-first.t>0?(e.clientX-first.x)/(t-first.t):0;h.end(cancelled?0:v,cancelled?0:e.clientX-startX);el.addEventListener(\"click\",swallow,true);clearTimeout(unswallow);unswallow=setTimeout(()=>el.removeEventListener(\"click\",swallow,true),120);};const up=e=>finish(e,false);const cancel=e=>finish(e,true);// Stop the browser dragging a link or avatar image instead of the row.\nconst noNative=e=>e.preventDefault();el.addEventListener(\"pointerdown\",down);el.addEventListener(\"pointermove\",move);el.addEventListener(\"pointerup\",up);el.addEventListener(\"pointercancel\",cancel);el.addEventListener(\"dragstart\",noNative);return()=>{clearTimeout(unswallow);el.removeEventListener(\"pointerdown\",down);el.removeEventListener(\"pointermove\",move);el.removeEventListener(\"pointerup\",up);el.removeEventListener(\"pointercancel\",cancel);el.removeEventListener(\"dragstart\",noNative);el.removeEventListener(\"click\",swallow,true);};}function Carousel(props){const ref=React.useRef(null);const touched=React.useRef(0)// when the visitor last moved it\n;const[overflow,setOverflow]=React.useState(false);const[atStart,setAtStart]=React.useState(true);const[atEnd,setAtEnd]=React.useState(false);const update=React.useCallback(()=>{const el=ref.current;if(!el)return;setOverflow(el.scrollWidth>el.clientWidth+1);setAtStart(el.scrollLeft<=1);setAtEnd(el.scrollLeft+el.clientWidth>=el.scrollWidth-1);},[]);React.useEffect(()=>{update();const el=ref.current;if(!el)return;const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(update):null;if(ro)ro.observe(el);el.addEventListener(\"scroll\",update,{passive:true});return()=>{if(ro)ro.disconnect();el.removeEventListener(\"scroll\",update);};},[update]);// One card plus its gap.\nconst step=()=>{const el=ref.current;if(!el)return 0;const c=el.children;if(c.length>1)return c[1].getBoundingClientRect().left-c[0].getBoundingClientRect().left;return el.clientWidth*.8;};// Cards that fit in view (Cards visible on desktop, fewer on small screens).\nconst perPage=()=>{const el=ref.current;const s=step();return el&&s>0?Math.max(1,Math.round(el.clientWidth/s)):1;};const scrollBy=dir=>{const el=ref.current;if(!el)return;touched.current=Date.now();el.scrollBy({left:dir*perPage()*step(),behavior:\"smooth\"});};const onKey=e=>{const el=ref.current;if(!el||e.key!==\"ArrowRight\"&&e.key!==\"ArrowLeft\")return;e.preventDefault();touched.current=Date.now();el.scrollBy({left:(e.key===\"ArrowRight\"?1:-1)*step(),behavior:\"smooth\"});};// Mouse drag: the row follows the mouse, then moves on a page (or back one)\n// like the arrows. Snapping is off while it's held, or the browser would\n// snap every frame.\nReact.useEffect(()=>{const el=ref.current;if(!el)return;let startIdx=0;let snapBack=0;const stop=attachDrag(el,{start:()=>{clearTimeout(snapBack);el.classList.add(\"grl-free\");touched.current=Date.now();const s=step();startIdx=s>0?Math.round(el.scrollLeft/s):0;},move:dx=>{el.scrollLeft-=dx;},end:(_v,total)=>{touched.current=Date.now();const s=step();const dir=Math.abs(total)<40?0:total<0?1:-1;const target=Math.max(0,startIdx+dir*perPage());el.scrollTo({left:Math.min(target*s,el.scrollWidth-el.clientWidth),behavior:prefersStill()?\"auto\":\"smooth\"});clearTimeout(snapBack);snapBack=setTimeout(()=>el.classList.remove(\"grl-free\"),500);}});return()=>{clearTimeout(snapBack);stop();};},[]);// Autoplay: a page at a time, back to the start at the end. Holds while\n// hovered, while a review is open, and for one interval after the visitor\n// moves it themselves.\nReact.useEffect(()=>{const el=ref.current;if(!el||!props.autoplay||prefersStill())return;let hovering=false;const enter=e=>{if(e.pointerType===\"mouse\")hovering=true;};const leave=e=>{if(e.pointerType===\"mouse\")hovering=false;};const user=()=>{touched.current=Date.now();};el.addEventListener(\"pointerenter\",enter);el.addEventListener(\"pointerleave\",leave);el.addEventListener(\"touchstart\",user,{passive:true});el.addEventListener(\"wheel\",user,{passive:true});const ms=Math.max(2,props.interval)*1e3;const id=setInterval(()=>{if(hovering||Date.now()-touched.current<ms||el.querySelector(\".grl-expanded\")||el.classList.contains(\"grl-free\")||typeof document!==\"undefined\"&&document.hidden)return;if(el.scrollLeft+el.clientWidth>=el.scrollWidth-2)el.scrollTo({left:0,behavior:\"smooth\"});else el.scrollBy({left:perPage()*step(),behavior:\"smooth\"});},ms);return()=>{clearInterval(id);el.removeEventListener(\"pointerenter\",enter);el.removeEventListener(\"pointerleave\",leave);el.removeEventListener(\"touchstart\",user);el.removeEventListener(\"wheel\",user);};},[props.autoplay,props.interval]);return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{className:\"grl-track grl-drag\",ref:ref,tabIndex:0,role:\"region\",\"aria-label\":\"Reviews. Use the arrow keys to scroll.\",onKeyDown:onKey,children:props.cards}),overflow?/*#__PURE__*/_jsxs(\"div\",{className:\"grl-arrows\",children:[/*#__PURE__*/_jsx(\"button\",{className:\"grl-arrow\",onClick:()=>scrollBy(-1),disabled:atStart,\"aria-label\":\"Previous\",children:\"‹\"}),/*#__PURE__*/_jsx(\"button\",{className:\"grl-arrow\",onClick:()=>scrollBy(1),disabled:atEnd,\"aria-label\":\"Next\",children:\"›\"})]}):null]});}/** Grid and List: show the first N, then a \"Show more reviews\" button. */function Paged(props){const total=props.cards.length;const page=props.first>0?props.first:total;const[shown,setShown]=React.useState(page);React.useEffect(()=>setShown(page),[page]);const visible=Math.min(shown,total);return /*#__PURE__*/_jsxs(_Fragment,{children:[props.children(props.cards.slice(0,visible)),visible<total?/*#__PURE__*/_jsx(\"button\",{className:\"grl-loadmore\",onClick:()=>setShown(n=>n+page),children:\"Show more reviews\"}):null]});}/** Columns: a fixed 2/3/4, or Auto (as many as Card size allows). */function GridBox(props){const ref=React.useRef(null);const[autoCols,setAutoCols]=React.useState(3);const auto=!(props.columns>0);React.useEffect(()=>{const el=ref.current;if(!el||!auto)return;const measure=()=>setAutoCols(Math.max(1,Math.floor((el.clientWidth+props.gap)/(props.cardMin+props.gap))));measure();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(measure):null;if(ro)ro.observe(el);return()=>{if(ro)ro.disconnect();};},[auto,props.cardMin,props.gap]);const style={\"--grl-cols\":String(auto?autoCols:props.columns),\"--grl-grid-justify\":props.lastRow===\"center\"?\"center\":\"flex-start\",\"--grl-grow\":props.lastRow===\"stretch\"?\"1\":\"0\"};return /*#__PURE__*/_jsx(\"div\",{className:\"grl-grid\"+(auto?\" grl-auto\":\"\"),ref:ref,style:style,children:props.cards});}function Ticker(props){const ref=React.useRef(null);const speedRef=React.useRef(props.speed);speedRef.current=props.speed;React.useEffect(()=>{const el=ref.current;if(!el)return;const row=el.firstElementChild;const still=prefersStill();let raf=0;let last=performance.now();// Position is tracked as a float rather than accumulated onto scrollLeft:\n// at slow speeds each frame moves well under a pixel, and a browser that\n// rounds scrollLeft would swallow every step.\nlet pos=0;// What we last wrote, so our own scroll events aren't mistaken for the visitor's.\nlet wrote=-1;let hovering=false// a real mouse is over the ticker\n;let touching=false// a finger is on it\n;let lastUser=0// when the visitor last scrolled, touched or dragged it\n;let reading=false// a card is expanded with Read more\n;let dragging=false// a mouse is dragging it\n;let fling=0// px/ms of momentum left after a mouse drag\n;// The reviews are rendered twice; one copy's length (cards + gaps) is\n// the loop, so jumping by exactly that is invisible.\nconst period=()=>{const kids=row?row.children:null;if(kids&&kids.length>=2&&kids.length%2===0){const n=kids.length/2;const p=kids[n].offsetLeft-kids[0].offsetLeft;if(p>0)return p;}return el.scrollWidth/2;};const wrap=(x,p)=>p>0?(x%p+p)%p:x;// \"Completely break when you try to drag the cards\": the loop used to set\n// scrollLeft every frame, even while paused, so it fought every drag. Now,\n// while the visitor is touching or scrolling, the loop only follows them,\n// and it carries on from where they left it 1.5s after they stop.\nconst onScroll=()=>{if(Math.abs(el.scrollLeft-wrote)>1)lastUser=performance.now();};const onTouchStart=()=>{touching=true;lastUser=performance.now();};const onTouchEnd=()=>{touching=false;lastUser=performance.now();};// Touch screens fire mouse \"enter\" on a tap and never \"leave\", which used\n// to pause the ticker for good; only a real mouse pauses it on hover.\nconst onEnter=e=>{if(e.pointerType===\"mouse\")hovering=true;};const onLeave=e=>{if(e.pointerType===\"mouse\")hovering=false;};// Stay still while a review is open, so it can be read; resume on Read less.\nconst mo=typeof MutationObserver!==\"undefined\"?new MutationObserver(()=>{reading=Boolean(el.querySelector(\".grl-expanded\"));}):null;if(mo)mo.observe(el,{subtree:true,attributes:true,attributeFilter:[\"class\"]});el.addEventListener(\"scroll\",onScroll,{passive:true});el.addEventListener(\"touchstart\",onTouchStart,{passive:true});el.addEventListener(\"touchend\",onTouchEnd,{passive:true});el.addEventListener(\"touchcancel\",onTouchEnd,{passive:true});el.addEventListener(\"pointerenter\",onEnter);el.addEventListener(\"pointerleave\",onLeave);const write=x=>{el.scrollLeft=x;wrote=el.scrollLeft;};// Desktop: grab and throw it. It loops seamlessly in either direction.\nconst stopDrag=attachDrag(el,{start:()=>{dragging=true;fling=0;pos=el.scrollLeft;},move:dx=>{pos=wrap(pos-dx,period());write(pos);lastUser=performance.now();},end:v=>{dragging=false;fling=still?0:v;lastUser=performance.now();}});const tick=now=>{const dt=Math.min(100,now-last);last=now;const p=period();if(p>0){const userActive=touching||dragging||now-lastUser<1500;if(dragging){// The drag positions it.\n}else if(Math.abs(fling)>.02){// Momentum after a throw, easing out.\npos=wrap(pos-fling*dt,p);write(pos);fling*=Math.pow(.95,dt/16);lastUser=now;}else if(userActive||hovering||reading||still){fling=0;// Hands off: follow wherever the visitor puts it.\npos=el.scrollLeft;// Never jump the loop mid-swipe, or the row would jump under the finger.\nif(!touching){if(pos>=p)write(pos-=p);else if(pos<=0&&userActive)write(pos+=p);}}else{// One full loop in `speed` seconds, fps-independent.\npos=wrap(pos+p/(Math.max(5,speedRef.current)*1e3)*dt,p);write(pos);}}raf=requestAnimationFrame(tick);};raf=requestAnimationFrame(tick);return()=>{cancelAnimationFrame(raf);stopDrag();if(mo)mo.disconnect();el.removeEventListener(\"scroll\",onScroll);el.removeEventListener(\"touchstart\",onTouchStart);el.removeEventListener(\"touchend\",onTouchEnd);el.removeEventListener(\"touchcancel\",onTouchEnd);el.removeEventListener(\"pointerenter\",onEnter);el.removeEventListener(\"pointerleave\",onLeave);};},[]);const loop=props.reviews.concat(props.reviews);return /*#__PURE__*/_jsx(\"div\",{className:\"grl-ticker grl-drag\",ref:ref,children:/*#__PURE__*/_jsx(\"div\",{className:\"grl-ticker-row\",children:loop.map((r,i)=>/*#__PURE__*/_jsx(ReviewCard,{review:r},i))})});}function Spotlight(props){const count=props.reviews.length;const[index,setIndex]=React.useState(0);// Held after a click, arrow, dot or swipe so the reader can finish; it\n// resumes on its own after 15s.\nconst[held,setHeld]=React.useState(false);const[hover,setHover]=React.useState(false);const[expanded,setExpanded]=React.useState(false);const[clamped,setClamped]=React.useState(false);const resumeRef=React.useRef(null);const boxRef=React.useRef(null);const textRef=React.useRef(null);const ms=Math.max(2,props.interval)*1e3;React.useEffect(()=>{if(count<=1||held||hover||expanded||prefersStill())return;const id=setInterval(()=>{setExpanded(false);setIndex(i=>(i+1)%count);},ms);return()=>clearInterval(id);},[count,held,hover,expanded,ms]);React.useEffect(()=>()=>{if(resumeRef.current)clearTimeout(resumeRef.current);},[]);// Only offer Read more when the quote is actually cut short.\nReact.useEffect(()=>{const el=textRef.current;if(el)setClamped(el.scrollHeight>el.clientHeight+1);},[index,count]);const hold=()=>{setHeld(true);if(resumeRef.current)clearTimeout(resumeRef.current);resumeRef.current=setTimeout(()=>setHeld(false),15e3);};const go=i=>{setExpanded(false);setIndex((i%count+count)%count);hold();};// Swipe (touch) or drag (mouse) to the next or previous review.\nReact.useEffect(()=>{const el=boxRef.current;if(!el||count<=1)return;return attachDrag(el,{touch:true,move:()=>{},end:(_v,total)=>{if(Math.abs(total)<40)return;setExpanded(false);setIndex(i=>(i+(total<0?1:-1)+count)%count);hold();}});},[count]);const r=props.reviews[index%count];if(!r)return null;return /*#__PURE__*/_jsxs(\"div\",{className:\"grl-spot\"+(count>1?\" grl-drag\":\"\"),ref:boxRef,onPointerEnter:e=>{if(e.pointerType===\"mouse\")setHover(true);},onPointerLeave:e=>{if(e.pointerType===\"mouse\")setHover(false);},onFocus:()=>setHover(true),onBlur:()=>setHover(false),children:[/*#__PURE__*/_jsxs(\"div\",{className:\"grl-fade\",onClick:e=>{// Click-through: the review itself goes to the next one.\nif(e.target.closest(\"a,button\"))return;if(count>1)go(index+1);},children:[/*#__PURE__*/_jsx(Avatar,{name:r.authorName,photo:r.photo}),/*#__PURE__*/_jsx(\"p\",{ref:textRef,className:\"grl-spot-text\"+(expanded?\" grl-expanded\":\"\"),children:r.text}),clamped?/*#__PURE__*/_jsx(\"button\",{className:\"grl-more\",\"aria-expanded\":expanded,onClick:()=>setExpanded(e=>!e),children:expanded?\"Read less\":\"Read more\"}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"grl-spot-name\",children:[/*#__PURE__*/_jsx(Stars,{rating:r.rating,size:16}),/*#__PURE__*/_jsx(\"span\",{children:shortName(r.authorName)}),/*#__PURE__*/_jsx(ReviewLink,{uri:r.uri,className:\"grl-badge\",label:\"Read \"+shortName(r.authorName)+\"'s review on Google\",children:/*#__PURE__*/_jsx(GoogleMark,{})})]})]},index),count>1?/*#__PURE__*/_jsxs(\"div\",{className:\"grl-spot-nav\",children:[/*#__PURE__*/_jsx(\"button\",{className:\"grl-arrow\",onClick:()=>go(index-1),\"aria-label\":\"Previous review\",children:\"‹\"}),/*#__PURE__*/_jsx(\"div\",{className:\"grl-dots\",children:props.reviews.map((_,i)=>/*#__PURE__*/_jsx(\"button\",{className:\"grl-dot\"+(i===index?\" grl-on\":\"\"),onClick:()=>go(i),\"aria-label\":\"Review \"+(i+1),\"aria-current\":i===index?\"true\":undefined},i))}),/*#__PURE__*/_jsx(\"button\",{className:\"grl-arrow\",onClick:()=>go(index+1),\"aria-label\":\"Next review\",children:\"›\"})]}):null]});}function Highlight(props){const featured=props.featured;if(!featured)return null;return /*#__PURE__*/_jsxs(\"div\",{className:\"grl-hl\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"grl-hl-big\",children:/*#__PURE__*/_jsx(ReviewCard,{review:featured})}),/*#__PURE__*/_jsx(\"div\",{className:\"grl-hl-side\",children:props.others.slice(0,3).map((r,i)=>/*#__PURE__*/_jsx(ReviewCard,{review:r},i))})]});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1100\n * @framerIntrinsicHeight 420\n */export default function UltimateGoogleReviewCard(props){const apiKey=(props.apiKey||\"\").trim();const placeId=(props.placeId||\"\").trim();const reviewSource=props.source===\"feed\"?\"feed\":\"places\";const feedUrl=(props.feedUrl||DEFAULT_FEED_URL).trim().replace(/\\/+$/,\"\");const language=(props.language||\"\").trim();const cacheHours=props.cacheHours!=null?props.cacheHours:24;// Badge was removed; an instance still set to it shows the Ticker.\nconst layout=props.layout&&props.layout!==\"badge\"?props.layout:\"ticker\";const minStars=props.minStars!=null?props.minStars:1;const limit=props.limit!=null?props.limit:5;const interval=num(props.interval,5);const showFirst=Math.max(0,Math.floor(num(props.showFirst,0)));const cardMinPx=num(props.cardMin,300);const gapPx=num(props.gap,20);const keywords=parseKeywords(props.keywords);const keywordMode=props.keywordMode===\"only\"?\"only\":\"first\";// Feed mode without a URL is a setup error, not demo mode: sample reviews\n// must never reach a live site because a URL is missing.\nconst missingFeedUrl=reviewSource===\"feed\"&&!feedUrl;const configured=reviewSource===\"feed\"?Boolean(feedUrl):Boolean(apiKey&&placeId);// The feed filters on its side, so its query (and cache entry) includes the\n// keywords; Places is cached per place. Switching never shows stale data.\nconst feedQuery=\"?limit=\"+FEED_FETCH+\"&keywords=\"+encodeURIComponent(keywords.join(\",\"))+\"&mode=\"+keywordMode+\"&minStars=\"+minStars;const sourceId=reviewSource===\"feed\"?\"feed:\"+feedUrl+feedQuery:placeId;useGoogleSansFlex();const[data,setData]=React.useState(null);// Start in \"loading\" when we have a key: the very first paint must have real\n// height, or Framer measures a 0px layer and the section stays collapsed even\n// after the data lands.\nconst[state,setState]=React.useState(configured?\"loading\":\"idle\");const[error,setError]=React.useState(\"\");React.useEffect(()=>{if(!configured){setState(\"idle\");return;}let dead=false;// Cache first: a returning visitor (and every re-mount within the TTL) costs\n// the buyer nothing. Rendered synchronously so there's no skeleton flash.\nconst cached=readCache(sourceId,language,cacheHours);if(cached){setData(cached);setState(\"ok\");return;}setState(\"loading\");const request=reviewSource===\"feed\"?fetch(feedUrl+\"/reviews\"+feedQuery).then(async r=>{const j=await r.json().catch(()=>null);if(!r.ok||!j||j.error){throw new Error(\"Reviews feed error: \"+(j&&j.error||\"HTTP \"+r.status));}return normalizeFeed(j);}):fetch(PLACES_ENDPOINT+encodeURIComponent(placeId)+(language?\"?languageCode=\"+encodeURIComponent(language):\"\"),{headers:{\"X-Goog-Api-Key\":apiKey,\"X-Goog-FieldMask\":FIELD_MASK}}).then(async r=>{if(!r.ok){const body=await r.text().catch(()=>\"\");throw new Error(errorFor(r.status,body));}return normalize(await r.json());});request.then(d=>{if(dead)return;writeCache(sourceId,language,d);setData(d);setState(\"ok\");}).catch(e=>{if(dead)return;setError(e instanceof Error?e.message:\"Could not load reviews from Google.\");setState(\"error\");});return()=>{dead=true;};},[reviewSource,feedUrl,apiKey,placeId,sourceId,language,cacheHours,configured]);const onCanvas=RenderTarget.current()===RenderTarget.canvas;const cardBg=props.cardBg||DEFAULT_CARD_BG;const rawText=props.textPrimary||DEFAULT_TEXT;// The contrast guard exists for one case: the card colour was changed (say to\n// near-black) while the text colour was left at its default, which would make\n// the widget unreadable. A text colour the user actually picked is always\n// honoured as-is — including Framer colour tokens, which the guard would\n// otherwise flatten into a plain hex.\nconst textPicked=Boolean(props.textPrimary)&&props.textPrimary!==DEFAULT_TEXT;const textPrimary=textPicked?rawText:readable(rawText,cardBg);const clamp=layout===\"list\"?6:4;// \"inherit\" (the old default) can't find the site font in Framer; treat it as unset.\nconst rawFont=(props.fontFamily||\"\").trim();const font=rawFont&&rawFont!==\"inherit\"?rawFont:DEFAULT_FONT;const sh=props.cardShadow||{};const hv=props.cardHover||{};const restY=num(sh.y,SHADOW_DEFAULT.y);const restBlur=num(sh.blur,SHADOW_DEFAULT.blur);const restSpread=num(sh.spread,SHADOW_DEFAULT.spread);const shadowOn=sh.show!==false;const restShadow=shadowOn?\"0px \"+restY+\"px \"+restBlur+\"px \"+restSpread+\"px \"+(sh.color||SHADOW_DEFAULT.color):\"none\";const hoverEffect=hv.effect===\"shadow\"||hv.effect===\"none\"?hv.effect:\"lift\";const hoverY=num(hv.y,HOVER_DEFAULT.y);const hoverBlur=num(hv.blur,HOVER_DEFAULT.blur);const hoverSpread=num(hv.spread,HOVER_DEFAULT.spread);const hoverShadow=hoverEffect===\"none\"?restShadow:\"0px \"+hoverY+\"px \"+hoverBlur+\"px \"+hoverSpread+\"px \"+(hv.color||HOVER_DEFAULT.color);const lift=hoverEffect===\"lift\"?Math.max(0,num(hv.lift,HOVER_DEFAULT.lift)):0;// Room above and below scrolling rows so big shadows aren't cut off.\nconst room=Math.ceil(Math.max(8,shadowOn?Math.abs(restY)+restBlur+Math.max(0,restSpread):0,hoverEffect!==\"none\"?Math.abs(hoverY)+hoverBlur+Math.max(0,hoverSpread)+lift:0));const ts=props.textSizes||{};const rootStyle={\"--grl-shadow\":restShadow,\"--grl-shadow-hover\":hoverShadow,\"--grl-lift\":lift+\"px\",\"--grl-room\":room+\"px\",\"--grl-font\":font,\"--grl-fs-body\":num(ts.review,14)+\"px\",\"--grl-fs-name\":num(ts.name,14)+\"px\",\"--grl-fs-meta\":num(ts.meta,12)+\"px\",\"--grl-lh-body\":String(num(ts.lineHeight,1.6)),\"--grl-visible\":String(Math.min(4,Math.max(2,Math.round(num(props.carouselVisible,3))))),\"--grl-list-max\":props.listWidth===\"full\"?\"none\":num(props.listMax,680)+\"px\",\"--grl-list-margin\":props.listAlign===\"left\"?\"0\":\"auto\",\"--grl-nav-gap\":num(props.navGap,16)+\"px\",\"--grl-text-primary\":textPrimary,\"--grl-outer-text\":props.headerText||DEFAULT_HEADER_TEXT,\"--grl-star\":props.cardStar||DEFAULT_CARD_STAR,// No border by default (transparent), so the cards read as shadow-only.\n\"--grl-card-line\":props.cardBorder||\"rgba(255, 255, 255, 0)\",\"--grl-accent\":props.accent||DEFAULT_ACCENT,\"--grl-card-bg\":cardBg,\"--grl-radius\":(props.radius!=null?props.radius:16)+\"px\",\"--grl-clamp\":String(clamp),\"--grl-card-min\":(props.cardMin!=null?props.cardMin:300)+\"px\",\"--grl-card-pad\":(props.cardPad!=null?props.cardPad:24)+\"px\",\"--grl-gap\":(props.gap!=null?props.gap:20)+\"px\",\"--grl-title-color\":props.titleColor||DEFAULT_TITLE_COLOR,\"--grl-header-gap\":(props.headerGap!=null?props.headerGap:20)+\"px\",\"--grl-header-space\":(props.headerSpacing!=null?props.headerSpacing:24)+\"px\"};const ar=props.cardArrangement||{};const arrange={reviewer:pick(ar.reviewer,[\"top\",\"bottom\"],ARRANGE_DEFAULT.reviewer),photo:pick(ar.photo,[\"left\",\"above\",\"hidden\"],ARRANGE_DEFAULT.photo),stars:pick(ar.stars,[\"top\",\"above\",\"below\",\"name\",\"hidden\"],ARRANGE_DEFAULT.stars),date:pick(ar.date,[\"name\",\"stars\",\"hidden\"],ARRANGE_DEFAULT.date),google:pick(ar.google,[\"corner\",\"name\",\"hidden\"],ARRANGE_DEFAULT.google),align:pick(ar.align,[\"left\",\"center\"],ARRANGE_DEFAULT.align)};const titleStyle={...props.titleFont||{},textTransform:props.titleUppercase===true?\"uppercase\":\"none\"};const titleFamily=String(titleStyle.fontFamily||\"\").trim();if(!titleFamily||GENERIC_FONT.test(titleFamily))delete titleStyle.fontFamily;const title=props.title!=null?props.title:\"What our clients say\";const shell=children=>/*#__PURE__*/_jsxs(\"div\",{className:\"grl-root\",style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),children]});// ── non-data states ───────────────────────────────────────────────────────\n// Unconfigured: fall through to the normal render path with sample data, so\n// every layout, filter and colour can be tried before a key exists. Framer's\n// Preview window shares a render target with the published site, so this shows\n// there too — better than a section that silently vanishes mid-setup.\nif(missingFeedUrl){if(!onCanvas)return null;return shell(/*#__PURE__*/_jsxs(\"div\",{className:\"grl-note\",children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Add your reviews feed URL\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Source is set to Reviews feed, but Feed URL is empty. Paste the URL of this business's own feed, or switch Source to Google Places.\"}),/*#__PURE__*/_jsx(\"p\",{style:{marginTop:8},children:\"(Only you see this — your published site shows nothing.)\"})]}));}const demoMode=!configured;if(!demoMode&&state===\"loading\"){return shell(/*#__PURE__*/_jsx(\"div\",{className:\"grl-skel\",children:[0,1,2].map(i=>/*#__PURE__*/_jsx(\"div\",{className:\"grl-skel-card\"},i))}));}if(!demoMode&&state===\"error\"){// The owner sees the reason on the canvas; visitors get nothing rather than\n// a broken-looking section.\nif(!onCanvas)return null;return shell(/*#__PURE__*/_jsxs(\"div\",{className:\"grl-note\",children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Reviews couldn't load\"}),/*#__PURE__*/_jsx(\"p\",{children:error}),/*#__PURE__*/_jsx(\"p\",{style:{marginTop:8},children:\"(Only you see this — your published site shows nothing.)\"})]}));}// Live data once we have it, sample data until a key is pasted. The `|| DEMO`\n// is also a backstop: no unexpected state can collapse the section to nothing.\nconst source=data||DEMO;// Needs only the Place ID, so it works in feed mode without an API key.\n// The Place ID control wins; a feed also reports its own, so a blank control\n// doesn't break the links.\nconst linkPlaceId=placeId||(source.placeId||\"\").trim();const reviewsUri=demoMode||!linkPlaceId?null:reviewsUrl(linkPlaceId);const businessUri=demoMode?null:linkPlaceId?businessUrl(linkPlaceId,source.name):source.mapsUri;// ── data states ───────────────────────────────────────────────────────────\nlet reviews=source.reviews;if(minStars>1)reviews=reviews.filter(r=>r.rating>=minStars);// Keywords: matching reviews lead. \"only\" drops the rest, but never empties\n// the section: with no matches it falls back to the newest.\nlet noKeywordMatch=false;if(keywords.length){const hits=reviews.filter(r=>matchesKeywords(r,keywords));noKeywordMatch=hits.length===0;if(keywordMode===\"only\"){if(hits.length)reviews=hits;}else{reviews=hits.concat(reviews.filter(r=>!hits.includes(r)));}}// Featured / spotlit reviewers are picked from every review that passes the\n// filters, not just the first Max reviews.\nconst pool=reviews;let pickMiss=false;if(limit>0)reviews=reviews.slice(0,limit);const cards=reviews.map((r,i)=>/*#__PURE__*/_jsx(ReviewCard,{review:r},i));let body=null;if(reviews.length===0){body=/*#__PURE__*/_jsx(\"div\",{className:\"grl-note\",children:\"No reviews match this filter yet.\"});}else if(layout===\"grid\"){body=/*#__PURE__*/_jsx(Paged,{cards:cards,first:showFirst,children:c=>/*#__PURE__*/_jsx(GridBox,{cards:c,columns:Number(props.gridColumns)||0,cardMin:cardMinPx,gap:gapPx,lastRow:props.gridLastRow===\"center\"||props.gridLastRow===\"stretch\"?props.gridLastRow:\"start\"})});}else if(layout===\"list\"){body=/*#__PURE__*/_jsx(Paged,{cards:cards,first:showFirst,children:c=>/*#__PURE__*/_jsx(\"div\",{className:\"grl-list\",children:c})});}else if(layout===\"ticker\"){body=/*#__PURE__*/_jsx(Ticker,{reviews:reviews,speed:props.tickerSpeed!=null?props.tickerSpeed:40});}else if(layout===\"spotlight\"){{const names=parseKeywords(props.spotNames);const picked=names.length?pool.filter(r=>matchesName(r,names)):[];pickMiss=names.length>0&&picked.length===0;body=/*#__PURE__*/_jsx(Spotlight,{reviews:picked.length?picked:reviews,interval:interval});}}else if(layout===\"highlight\"){{const names=parseKeywords(props.featuredName);const pick=names.length?pool.find(r=>matchesName(r,names)):undefined;pickMiss=names.length>0&&!pick;const featured=pick||reviews[0];body=/*#__PURE__*/_jsx(Highlight,{featured:featured,others:reviews.filter(r=>r!==featured)});}}else{body=/*#__PURE__*/_jsx(Carousel,{cards:cards,autoplay:props.carouselAutoplay===true,interval:interval});}return /*#__PURE__*/_jsx(ArrangeCtx.Provider,{value:arrange,children:/*#__PURE__*/_jsx(MapsCtx.Provider,{value:reviewsUri||source.mapsUri,children:shell(/*#__PURE__*/_jsxs(_Fragment,{children:[props.showHeader!==false?/*#__PURE__*/_jsx(Header,{a:source.aggregate,reviewsUri:reviewsUri,businessUri:businessUri,title:title,titleTag:props.titleTag,titleStyle:titleStyle}):null,body,pickMiss&&onCanvas?/*#__PURE__*/_jsx(\"div\",{className:\"grl-hint\",children:\"No review is from that reviewer, so the newest are shown. Check the name against the one on the card. (This note never shows on your published site.)\"}):null,noKeywordMatch&&onCanvas?/*#__PURE__*/_jsx(\"div\",{className:\"grl-hint\",children:\"No reviews mention your keywords yet, so the newest are shown. (This note never shows on your published site.)\"}):null,demoMode&&onCanvas?/*#__PURE__*/_jsxs(\"div\",{className:\"grl-hint\",children:[\"👋 \",/*#__PURE__*/_jsx(\"b\",{children:\"Sample reviews.\"}),\" Paste your Google\",\" \",/*#__PURE__*/_jsx(\"b\",{children:\"API key\"}),\" and \",/*#__PURE__*/_jsx(\"b\",{children:\"Place ID\"}),\" in the right-side panel to show your real ones. Every layout and colour below works on the sample data first.\"]}):!demoMode&&onCanvas?/*#__PURE__*/_jsx(\"div\",{className:\"grl-hint\",children:\"⚙️ Layout, minimum rating, card size & colours are all in Framer's right-side panel. (This note never shows on your published site.)\"}):null]}))})});}// Panel visibility helpers. Framer passes defaults, but an instance saved before\n// a control existed can still arrive without it, hence the fallbacks.\nconst lay=p=>p.layout||\"ticker\";const only=(...layouts)=>p=>!layouts.includes(lay(p));const isSpot=p=>lay(p)===\"spotlight\";const noHeader=p=>p.showHeader===false;addPropertyControls(UltimateGoogleReviewCard,{// ── 1. Source: where the reviews come from ──\nsource:{type:ControlType.Enum,title:\"Source\",options:[\"places\",\"feed\"],optionTitles:[\"Google Places\",\"Reviews feed\"],defaultValue:\"places\",description:\"Google Places shows Google's 5 picks. Reviews feed shows your newest reviews from your Business Profile.\"},feedUrl:{type:ControlType.String,title:\"Feed URL\",defaultValue:DEFAULT_FEED_URL,placeholder:\"https://…workers.dev\",description:\"This business's own reviews feed. Each business needs its own.\",hidden:p=>p.source!==\"feed\"},apiKey:{type:ControlType.String,title:\"API key\",placeholder:\"AIza…\",defaultValue:\"\",hidden:p=>p.source===\"feed\",description:\"Your Google Maps Platform key. Restrict it to your domain. [Setup guide](https://vanssay.net/guides/google-reviews-framer-setup.html)\"},placeId:{type:ControlType.String,title:\"Place ID\",placeholder:\"ChIJ…\",defaultValue:\"\",description:\"Google's ID for the business, starts with ChIJ. Also used for the links to Google. [How to find it](https://vanssay.net/guides/google-reviews-framer-setup.html#placeid)\"},language:{type:ControlType.String,title:\"Language\",hidden:p=>p.source===\"feed\",placeholder:\"auto\",defaultValue:\"\",description:\"BCP-47 code (en, fr, de…). Blank uses Google's default.\"},cacheHours:{type:ControlType.Number,title:\"Refresh every\",min:1,max:168,step:1,unit:\"h\",defaultValue:24,description:\"How long a visitor's browser keeps the reviews before fetching again.\"},// ── 2. Reviews: which ones show ──\nlimit:{type:ControlType.Number,title:\"Max reviews\",min:1,max:50,step:1,displayStepper:true,defaultValue:5,description:\"Google Places returns at most 5. The reviews feed has your newest 50. Highlight shows up to 4.\"},minStars:{type:ControlType.Enum,title:\"Min rating\",options:[1,2,3,4,5],optionTitles:[\"All\",\"2★ and up\",\"3★ and up\",\"4★ and up\",\"5★ only\"],defaultValue:1},keywords:{type:ControlType.String,title:\"Keywords\",placeholder:\"HGV, LGV, driving\",defaultValue:\"\",description:\"Comma-separated. Reviews mentioning any of them come first. Matches parts of words, so add variants (dive, diving).\"},keywordMode:{type:ControlType.Enum,title:\"Keyword mode\",options:[\"first\",\"only\"],optionTitles:[\"Matches first\",\"Matches only\"],defaultValue:\"first\",displaySegmentedControl:true,hidden:p=>!String(p.keywords||\"\").trim()},// ── 3. Layout, then the options for the chosen layout ──\nlayout:{type:ControlType.Enum,title:\"Layout\",options:[\"ticker\",\"carousel\",\"highlight\",\"grid\",\"list\",\"spotlight\"],optionTitles:[\"Ticker\",\"Carousel\",\"Highlight\",\"Grid\",\"List\",\"Spotlight\"],defaultValue:\"ticker\"},tickerSpeed:{type:ControlType.Number,title:\"Speed\",min:10,max:120,step:5,unit:\"s\",defaultValue:40,description:\"Seconds for one full pass. Visitors can drag it on desktop.\",hidden:only(\"ticker\")},carouselVisible:{type:ControlType.Number,title:\"Cards visible\",min:2,max:4,step:1,displayStepper:true,defaultValue:3,description:\"On desktop. Tablets show up to 2, phones 1.\",hidden:only(\"carousel\")},carouselAutoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:false,description:\"Moves a page at a time. Pauses on hover and while a review is open.\",hidden:only(\"carousel\")},interval:{type:ControlType.Number,title:\"Advance every\",min:2,max:20,step:1,unit:\"s\",defaultValue:5,hidden:p=>!(lay(p)===\"spotlight\"||lay(p)===\"carousel\"&&p.carouselAutoplay===true)},gridColumns:{type:ControlType.Enum,title:\"Columns\",options:[0,2,3,4],optionTitles:[\"Auto\",\"2\",\"3\",\"4\"],defaultValue:0,description:\"Auto fits as many as Card width allows. Tablets show up to 2, phones 1.\",hidden:only(\"grid\")},gridLastRow:{type:ControlType.Enum,title:\"Last row\",options:[\"start\",\"center\",\"stretch\"],optionTitles:[\"Left\",\"Centre\",\"Fill\"],defaultValue:\"start\",displaySegmentedControl:true,description:\"Where a part-filled last row sits. Fill widens its cards.\",hidden:only(\"grid\")},listWidth:{type:ControlType.Enum,title:\"Row width\",options:[\"fixed\",\"full\"],optionTitles:[\"Fixed\",\"Full\"],defaultValue:\"fixed\",displaySegmentedControl:true,hidden:only(\"list\")},listMax:{type:ControlType.Number,title:\"Max width\",min:320,max:1400,step:10,unit:\"px\",defaultValue:680,hidden:p=>lay(p)!==\"list\"||p.listWidth===\"full\"},listAlign:{type:ControlType.Enum,title:\"Position\",options:[\"left\",\"center\"],optionTitles:[\"Left\",\"Centre\"],defaultValue:\"center\",displaySegmentedControl:true,hidden:p=>lay(p)!==\"list\"||p.listWidth===\"full\"},showFirst:{type:ControlType.Number,title:\"Show first\",min:0,max:50,step:1,displayStepper:true,defaultValue:0,description:\"0 shows them all. Otherwise the rest appear with a Show more reviews button.\",hidden:only(\"grid\",\"list\")},featuredName:{type:ControlType.String,title:\"Featured\",placeholder:\"Newest review\",defaultValue:\"\",description:\"Reviewer to feature in the big card, as shown on the card (e.g. Andy B.). Blank features the newest.\",hidden:only(\"highlight\")},spotNames:{type:ControlType.String,title:\"Reviewers\",placeholder:\"All reviews\",defaultValue:\"\",description:\"Only spotlight these reviewers, comma-separated (e.g. Andy B., Dana M.). One name shows just that review. Blank rotates through all.\",hidden:only(\"spotlight\")},navGap:{type:ControlType.Number,title:\"Controls gap\",min:0,max:64,step:2,unit:\"px\",defaultValue:16,description:\"Space between the reviews and the arrows / dots.\",hidden:only(\"carousel\",\"spotlight\")},// ── 4. Cards: what sits where, and their size ──\ncardArrangement:{type:ControlType.Object,title:\"Arrangement\",description:\"Where each part sits in a card. Applies to every layout except Spotlight.\",hidden:isSpot,controls:{reviewer:{type:ControlType.Enum,title:\"Reviewer\",options:[\"top\",\"bottom\"],optionTitles:[\"Top\",\"Bottom\"],defaultValue:ARRANGE_DEFAULT.reviewer,displaySegmentedControl:true},photo:{type:ControlType.Enum,title:\"Photo\",options:[\"left\",\"above\",\"hidden\"],optionTitles:[\"Beside name\",\"Above name\",\"Hidden\"],defaultValue:ARRANGE_DEFAULT.photo},stars:{type:ControlType.Enum,title:\"Stars\",options:[\"top\",\"above\",\"below\",\"name\",\"hidden\"],optionTitles:[\"Top of card\",\"Above review\",\"Below review\",\"Under name\",\"Hidden\"],defaultValue:ARRANGE_DEFAULT.stars},date:{type:ControlType.Enum,title:\"Date\",options:[\"name\",\"stars\",\"hidden\"],optionTitles:[\"Under name\",\"Beside stars\",\"Hidden\"],defaultValue:ARRANGE_DEFAULT.date},google:{type:ControlType.Enum,title:\"Google logo\",options:[\"corner\",\"name\",\"hidden\"],optionTitles:[\"Top corner\",\"Beside name\",\"Hidden\"],defaultValue:ARRANGE_DEFAULT.google},align:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\"],optionTitles:[\"Left\",\"Centre\"],defaultValue:ARRANGE_DEFAULT.align,displaySegmentedControl:true}}},cardMin:{type:ControlType.Number,title:\"Card width\",min:220,max:480,step:10,unit:\"px\",defaultValue:300,description:\"Ticker card width. In Grid (Auto columns), the narrowest a card gets.\",hidden:p=>!(lay(p)===\"ticker\"||lay(p)===\"grid\"&&!(Number(p.gridColumns)>0))},cardPad:{type:ControlType.Number,title:\"Card padding\",min:8,max:48,step:2,unit:\"px\",defaultValue:24,hidden:isSpot},gap:{type:ControlType.Number,title:\"Card gap\",min:0,max:64,step:2,unit:\"px\",defaultValue:20,hidden:isSpot},radius:{type:ControlType.Number,title:\"Card radius\",min:0,max:40,step:1,displayStepper:true,defaultValue:16,hidden:isSpot},// ── 5. Header: title and the Google rating button ──\nshowHeader:{type:ControlType.Boolean,title:\"Header\",defaultValue:true},title:{type:ControlType.String,title:\"Title\",defaultValue:\"What our clients say\",placeholder:\"Leave blank to hide\",hidden:noHeader},titleTag:{type:ControlType.Enum,title:\"Title tag\",options:[\"p\",\"h2\",\"h3\",\"h4\"],optionTitles:[\"Paragraph\",\"H2\",\"H3\",\"H4\"],defaultValue:\"p\",hidden:noHeader},titleFont:{type:ControlType.Font,title:\"Title font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:18,letterSpacing:\"0.03em\",lineHeight:\"1.2em\"},description:\"Leave the family on its default to use the component font.\",hidden:noHeader},titleColor:{type:ControlType.Color,title:\"Title colour\",defaultValue:DEFAULT_TITLE_COLOR,hidden:noHeader},titleUppercase:{type:ControlType.Boolean,title:\"Uppercase\",defaultValue:false,hidden:noHeader},headerGap:{type:ControlType.Number,title:\"Title gap\",min:0,max:64,step:2,unit:\"px\",defaultValue:20,description:\"Between the title and the Google button, including when they stack on small screens.\",hidden:noHeader},headerSpacing:{type:ControlType.Number,title:\"Header space\",min:0,max:96,step:2,unit:\"px\",defaultValue:24,description:\"Between the header and the reviews.\",hidden:noHeader},// ── 6. Style: type, colours, shadow ──\nfontFamily:{type:ControlType.String,title:\"Font\",placeholder:\"Opening Hours Sans\",defaultValue:DEFAULT_FONT,description:\"CSS font-family for all text. The font must be used somewhere on the page so Framer loads it.\"},textSizes:{type:ControlType.Object,title:\"Text sizes\",controls:{review:{type:ControlType.Number,title:\"Review\",min:10,max:28,step:1,unit:\"px\",defaultValue:14},name:{type:ControlType.Number,title:\"Name\",min:10,max:28,step:1,unit:\"px\",defaultValue:14},meta:{type:ControlType.Number,title:\"Date & links\",min:9,max:20,step:1,unit:\"px\",defaultValue:12},lineHeight:{type:ControlType.Number,title:\"Line height\",min:1,max:2.2,step:.05,defaultValue:1.6}}},textPrimary:{type:ControlType.Color,title:\"Card text\",defaultValue:DEFAULT_TEXT,hidden:isSpot},headerText:{type:ControlType.Color,title:\"Page text\",defaultValue:DEFAULT_HEADER_TEXT,description:\"Text on the page background: the Google button, Spotlight and Show more.\",hidden:p=>noHeader(p)&&!isSpot(p)&&![\"grid\",\"list\"].includes(lay(p))},cardBg:{type:ControlType.Color,title:\"Card colour\",defaultValue:DEFAULT_CARD_BG,description:\"Also the arrow buttons' fill.\"},cardBorder:{type:ControlType.Color,title:\"Card border\",optional:true,defaultValue:\"rgba(255, 255, 255, 0)\",description:\"Off by default (transparent). Pick a colour for a 1px border.\",hidden:isSpot},cardStar:{type:ControlType.Color,title:\"Stars\",defaultValue:DEFAULT_CARD_STAR},accent:{type:ControlType.Color,title:\"Accent\",description:\"Read more, focus outline and the active dot.\",defaultValue:DEFAULT_ACCENT},cardShadow:{type:ControlType.Object,title:\"Card shadow\",hidden:isSpot,controls:{show:{type:ControlType.Boolean,title:\"Show\",defaultValue:true},color:{type:ControlType.Color,title:\"Colour\",defaultValue:SHADOW_DEFAULT.color,hidden:p=>p.show===false},y:{type:ControlType.Number,title:\"Y\",min:-20,max:40,step:1,unit:\"px\",defaultValue:SHADOW_DEFAULT.y,hidden:p=>p.show===false},blur:{type:ControlType.Number,title:\"Blur\",min:0,max:80,step:1,unit:\"px\",defaultValue:SHADOW_DEFAULT.blur,hidden:p=>p.show===false},spread:{type:ControlType.Number,title:\"Spread\",min:-20,max:40,step:1,unit:\"px\",defaultValue:SHADOW_DEFAULT.spread,hidden:p=>p.show===false}}},cardHover:{type:ControlType.Object,title:\"Card hover\",hidden:isSpot,controls:{effect:{type:ControlType.Enum,title:\"Effect\",options:[\"lift\",\"shadow\",\"none\"],optionTitles:[\"Lift + shadow\",\"Shadow only\",\"None\"],defaultValue:HOVER_DEFAULT.effect},lift:{type:ControlType.Number,title:\"Lift\",min:0,max:12,step:1,unit:\"px\",defaultValue:HOVER_DEFAULT.lift,hidden:p=>p.effect===\"shadow\"||p.effect===\"none\"},color:{type:ControlType.Color,title:\"Colour\",defaultValue:HOVER_DEFAULT.color,hidden:p=>p.effect===\"none\"},y:{type:ControlType.Number,title:\"Y\",min:-20,max:40,step:1,unit:\"px\",defaultValue:HOVER_DEFAULT.y,hidden:p=>p.effect===\"none\"},blur:{type:ControlType.Number,title:\"Blur\",min:0,max:80,step:1,unit:\"px\",defaultValue:HOVER_DEFAULT.blur,hidden:p=>p.effect===\"none\"},spread:{type:ControlType.Number,title:\"Spread\",min:-20,max:40,step:1,unit:\"px\",defaultValue:HOVER_DEFAULT.spread,hidden:p=>p.effect===\"none\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"UltimateGoogleReviewCard\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"420\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"1100\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UltimateGoogleReviewCard.map"],"mappings":"A,mOAWiE,SAASoB,EAAU,EAAQ,CAAC,GAAG,CAAC,IAAMC,EAAEC,EAAQ,QAAQ,KAAK,GAAG,CAAC,CAAC,QAAQ,KAAK,GAAG,EAAQC,EAAI,KAAKF,EAAE,IAAI,QAAQ,EAAEA,EAAE,OAAO,GAAG,CAAC,CAAC,EAAQG,EAAE,MAAM,KAAKD,EAAI,GAAIE,EAAG,WAAW,CAAC,CAAC,EAAE,GAAGD,EAAE,OAAO,IAAIA,EAAE,KAAK,IAAIA,EAAE,KAAK,GAAGA,EAAE,MAAM,GAAG,OAAO,KAAK,IAAME,EAAI,GAAM,KAAKF,EAAE,MAAMG,EAAKA,EAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,GAAGC,EAAE,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,WAAW,EAAE,EAAE,OAAOF,EAAI,CAAC,EAAE,IAAIA,EAAI,EAAE,CAAE,MAAM,CAAC,OAAO,IAAK,CAAC,CAAgE,SAASG,EAAW,EAAQ,CAAC,IAAMC,EAAIV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