{"version":3,"file":"Partner_Mobile.MpXGIRT4.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/02fZDGuqgCnIp4rFGrFF/Wt46X0HVPPFwoQhNskr8/Partner_Mobile.js"],"sourcesContent":["// Stacked Partner Listing Page — Mobile · v9\n//\n// v9: matches desktop v16. The video tile is now a paid-tier element — Lite\n// listings no longer render it, the same as contact details and the website\n// link. Promote and Approved are unchanged. A showVideo flag is resolved from\n// the tier at load and checked before the embed is built. The Video value is\n// still read from Airtable and still stored on the record for Lite partners, it\n// is just not rendered, so an upgrade brings the video back with no\n// resubmission.\n//\n// v8: matches desktop v15. The \"Get in touch\" modal is now a product lead form\n// rather than a general enquiry: what the visitor is after (demo, pricing,\n// general question), who they are (name, work email, phone, job role), and what\n// they run (company, number of sites, timeline). Only first name and work email\n// are enforced, so a curious operator is never blocked. Fields stack full width\n// here rather than pairing up as they do on desktop.\n//\n// Where it goes: the form writes a row straight to the Airtable \"Forms\" table,\n// linked to this partner's record. An Airtable automation on that table posts\n// the Slack alert and sends the partner email (gated to Promote and Approved).\n// No notification logic lives in this file on purpose — routing can change in\n// Airtable without republishing the site.\n//\n// The mailto path is kept as a fallback only. If the Airtable write fails the\n// modal hands the lead to the visitor's mail client addressed to Stacked, so a\n// lead is never silently lost.\n//\n// NOTE: the Airtable token in \"API Key\" now needs create permission on Forms,\n// not just read. Read-only tokens hit the mailto fallback every time.\n//\n// v7: \"Visit Website\" and \"Edit your listing\" hidden behind Content toggles\n// (\"Show Visit Website Button\" / \"Show Edit Listing Button\", both off by\n// default), and the primary CTA is always \"Get in touch\". The old mailto branch\n// for Promote/Approved went with it — no tier hands out a direct address.\n//\n// v6: the usage bars actually fill. The fill span was inline, so width and\n// height never applied and every bar rendered as an empty track. Now\n// display:block, filled to its own percentage, animating out from zero.\n//\n// v5: the usage chart is real, built from this partner's Health Check rows in\n// the Tech Usage table (matched on a Partner slug lookup) by tallying the\n// Category tag on each row.\n//\n// v4: Integration Partners sits in a fixed-height scroll well (Content control\n// \"Integrations Visible\", default 8) instead of running on for screens.\n//\n// Dedicated compact/mobile variant of Partner.tsx, meant to be swapped in as\n// the Mobile breakpoint override for the /partners/[slug] page in Framer. Same\n// Airtable fetch/parsing logic as the desktop file; the difference is entirely\n// in layout: bento grid and side-by-side sidebar are gone, everything is one\n// stacked column, and type/spacing/badge scale is smaller.\n//\n// v3: the primary CTA moved under the name/summary in the identity tile, same\n// placement as desktop, instead of a sticky bottom bar. Master-prompt\n// treatment: grouped Spacing / Typography / Colors under Design.\n//\n// Fix 1: applyStyle appends \"px\" to numeric fontSize/letterSpacing values.\n// Fix 2: the effect's dependency array includes the typography/colors/spacing\n// objects themselves, since Font pickers and Case enums live nested inside them.\n// Fix 3: \"Button fill\" colour control sets the primary button's background\n// independently of Main colour.\n//\n// v2: About clamps to 5 lines with a Show more/less toggle.\n// v1: company logo, reads the Partners table's \"Logo\" column.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef}from\"react\";const BASE_ID=\"appNvxXXaMWJfiX6X\";const ENQUIRY_SLACK_WEBHOOK=\"https://hooks.slack.com/services/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\";// ─── Colour helpers ──────────────────────────────────────────────────────────\nfunction parseColor(c){if(!c)return null;c=String(c).trim();if(c[0]===\"#\"){let h=c.slice(1);if(h.length===3)h=h.split(\"\").map(x=>x+x).join(\"\");return[parseInt(h.slice(0,2),16),parseInt(h.slice(2,4),16),parseInt(h.slice(4,6),16)];}const m=c.match(/rgba?\\(([^)]+)\\)/);if(m){const p=m[1].split(\",\").map(s=>parseFloat(s));return[p[0],p[1],p[2]];}return null;}function toHex(r,g,b){return\"#\"+[r,g,b].map(x=>Math.max(0,Math.min(255,Math.round(x))).toString(16).padStart(2,\"0\")).join(\"\");}function mix(color,target,amt){const a=parseColor(color),b=parseColor(target);if(!a)return color;return toHex(a[0]+(b[0]-a[0])*amt,a[1]+(b[1]-a[1])*amt,a[2]+(b[2]-a[2])*amt);}// ─── Caching fetch (all fields) ──────────────────────────────────────────────\nconst _mem={};async function fetchAll(apiKey,tableName,formula=null){let records=[],offset=null;const t=encodeURIComponent(tableName);do{const url=new URL(`https://api.airtable.com/v0/${BASE_ID}/${t}`);if(offset)url.searchParams.set(\"offset\",offset);if(formula)url.searchParams.set(\"filterByFormula\",formula);const res=await fetch(url.toString(),{headers:{Authorization:`Bearer ${apiKey}`}});if(!res.ok){const e=await res.json();throw new Error(e.error?.message||`Airtable error ${res.status}`);}const data=await res.json();records=[...records,...data.records];offset=data.offset??null;}while(offset)return records;}async function cachedFetchAll(apiKey,tableName,formula=null,ttl=3e5){const ck=tableName+\"|\"+(formula||\"\");const now=Date.now();if(_mem[ck]&&now-_mem[ck].t<ttl)return _mem[ck].d;try{const raw=sessionStorage.getItem(\"spm_\"+ck);if(raw){const o=JSON.parse(raw);if(now-o.t<ttl){_mem[ck]={t:o.t,d:o.d};return o.d;}}}catch(e){}const data=await fetchAll(apiKey,tableName,formula);_mem[ck]={t:now,d:data};try{sessionStorage.setItem(\"spm_\"+ck,JSON.stringify({t:now,d:data}));}catch(e){}return data;}function buildIdMap(records){const map={};records.forEach(r=>{map[r.id]=r.fields.Name??r.fields.name??Object.values(r.fields)[0]??\"\";});return map;}function allNames(records){return records.map(r=>r.fields.Name).filter(Boolean).sort();}function isApproved(value){if(value===true||value===\"checked\")return true;if(typeof value===\"string\")return value.trim().toLowerCase()===\"approved\";if(Array.isArray(value))return value.some(v=>typeof v===\"string\"&&v.trim().toLowerCase()===\"approved\");return false;}// Tier resolution. Reads the single-select \"Package\" column (Lite / Promote /\n// Approved); falls back to the legacy Approved checkbox when Package is blank,\n// so an unset listing safely defaults to Lite.\nfunction tierOf(fields,packageCol,approvedCol){const raw=getField(fields,packageCol);const val=Array.isArray(raw)?raw[0]:raw;const t=val?String(val).trim().toLowerCase():\"\";if(t===\"approved\")return\"approved\";if(t===\"promote\")return\"promote\";if(t===\"lite\")return\"lite\";return isApproved(fields[approvedCol])?\"approved\":\"lite\";}// Single place deciding which paid-tier elements a listing gets. Website link\n// and video both sit behind this, so a future gated element is one call, not a\n// fourth copy of the same comparison. Kept identical to Partner.tsx.\nfunction isPaidTier(tier){return tier===\"promote\"||tier===\"approved\";}function normalizeUrl(u){if(!u)return null;const s=String(u).trim();if(!s)return null;return/^https?:\\/\\//i.test(s)?s:\"https://\"+s;}function getEmbedUrl(url){if(!url)return null;const normalized=normalizeUrl(url);if(!normalized)return null;let parsed=null;try{parsed=new URL(normalized);}catch(e){return null;}const host=parsed.hostname.replace(/^www\\./i,\"\").toLowerCase();if(host===\"youtube.com\"||host===\"m.youtube.com\"||host===\"youtu.be\"){const fromWatch=parsed.searchParams.get(\"v\");const fromPath=parsed.pathname.match(/\\/embed\\/([a-zA-Z0-9_-]{11})/)?.[1];const fromShort=host===\"youtu.be\"?parsed.pathname.replace(/^\\/+/,\"\").split(\"/\")[0]:\"\";const id=[fromWatch,fromPath,fromShort].find(v=>/^[a-zA-Z0-9_-]{11}$/.test(String(v||\"\")));if(id)return`https://www.youtube.com/embed/${id}`;return null;}if(host===\"vimeo.com\"||host===\"player.vimeo.com\"){const vimeoId=parsed.pathname.match(/\\/(?:video\\/)?(\\d+)/)?.[1];if(vimeoId)return`https://player.vimeo.com/video/${vimeoId}`;return null;}return null;}function getSlug(){const parts=window.location.pathname.split(\"/\").filter(Boolean);return parts[parts.length-1]||null;}function normalizeCompareValue(value){return String(value||\"\").trim().toLowerCase().replace(/&/g,\" and \").replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\");}function scaffoldSlugPrefix(value){const slug=String(value||\"\").trim();if(!slug)return\"\";const cut=slug.match(/^(.*?)(?:-duplicate-form-submission(?:---.*)?|---archived|--archived|-archived|---imported|--imported|-imported)$/i);return cut&&cut[1]?cut[1]:slug;}function findPartnerFallback(records,urlSlug){const wanted=normalizeCompareValue(urlSlug);if(!wanted)return null;return records.find(r=>{const fields=r?.fields||{};const nameNorm=normalizeCompareValue(getField(fields,\"Name\"));if(nameNorm&&nameNorm===wanted)return true;const slugNorm=normalizeCompareValue(getField(fields,\"Slug\"));if(slugNorm&&slugNorm===wanted)return true;const prefixNorm=normalizeCompareValue(scaffoldSlugPrefix(getField(fields,\"Slug\")));return!!prefixNorm&&prefixNorm===wanted;})||null;}function isScaffoldSlug(value){const raw=toNonEmptyString(value);if(!raw)return false;return scaffoldSlugPrefix(raw)!==raw;}function partnerContentScore(record){const fields=record?.fields||{};const hasName=!!resolveFirstString(fields,[\"Name\",\"name\",\"Title\",\"title\",\"Partner Name\",\"Company Name\",\"Company\",\"Partner\",\"Tool Name\",\"Tool\"]);const hasSummary=!!resolveFirstString(fields,[\"Summary\",\"Short Description\",\"Description\",\"About\",\"Overview\",\"Bio\",\"Tagline\"]);const hasAbout=!!resolveFirstString(fields,[\"Description\",\"About\",\"Long Description\",\"Details\",\"Overview\",\"Summary\"]);const hasVideo=!!resolveFirstString(fields,[\"Video\",\"Video URL\",\"Video Link\",\"Demo Video\",\"Embed URL\"]);const hasLogo=!!getLogoUrl(fields);const hasTags=[\"Solution\",\"Technology\",\"Sector\",\"Integration\"].some(k=>{const v=getField(fields,k);if(Array.isArray(v))return v.length>0;return!!toNonEmptyString(v);});return(hasName?16:0)+(hasSummary||hasAbout?8:0)+(hasVideo?4:0)+(hasLogo?2:0)+(hasTags?1:0);}function selectBestPartnerRecord(records,urlSlug){if(!Array.isArray(records)||!records.length)return null;const wanted=normalizeCompareValue(urlSlug);const rank=list=>list.slice().sort((a,b)=>{const byScore=partnerContentScore(b)-partnerContentScore(a);if(byScore!==0)return byScore;return String(a?.id||\"\").localeCompare(String(b?.id||\"\"));})[0]||null;const meta=records.map(record=>{const fields=record?.fields||{};const slugRaw=getField(fields,\"Slug\");const slugNorm=normalizeCompareValue(slugRaw);const prefixNorm=normalizeCompareValue(scaffoldSlugPrefix(slugRaw));const nameNorm=normalizeCompareValue(getField(fields,\"Name\"));const matchesWanted=!!wanted&&(slugNorm===wanted||prefixNorm===wanted||nameNorm===wanted);const exactSlug=!!wanted&&slugNorm===wanted;const nonScaffold=!isScaffoldSlug(slugRaw);return{record,matchesWanted,exactSlug,nonScaffold};});const exactNonScaffold=rank(meta.filter(m=>m.matchesWanted&&m.exactSlug&&m.nonScaffold).map(m=>m.record));if(exactNonScaffold)return exactNonScaffold;const matchedNonScaffold=rank(meta.filter(m=>m.matchesWanted&&m.nonScaffold).map(m=>m.record));if(matchedNonScaffold)return matchedNonScaffold;const matchedAny=rank(meta.filter(m=>m.matchesWanted).map(m=>m.record));if(matchedAny)return matchedAny;return rank(records);}function formulaValue(value){return String(value??\"\").replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,'\\\\\"');}// Builds the \"what operators use it for\" breakdown from Health Check rows.\nfunction usageFromRecords(records,categoryField,max){if(!records||!records.length)return[];const counts={};let total=0;records.forEach(r=>{let c=getField(r.fields,categoryField);if(Array.isArray(c))c=c[0];if(c&&typeof c===\"object\")c=c.name;c=(c||\"\").toString().trim();if(!c||/^uncategorised$/i.test(c))return;counts[c]=(counts[c]||0)+1;total++;});if(!total)return[];const sorted=Object.keys(counts).map(k=>({label:k,n:counts[k]})).sort((a,b)=>b.n-a.n);const cap=Math.max(1,max||5);const head=sorted.slice(0,cap);const tailCount=sorted.slice(cap).reduce((s,x)=>s+x.n,0);const out=head.map(x=>({label:x.label,value:Math.round(x.n/total*100)}));if(tailCount>0)out.push({label:\"Other\",value:Math.round(tailCount/total*100)});return out.filter(x=>x.value>0);}function parseUsage(str){if(!str||typeof str!==\"string\")return[];return str.split(\"\\n\").map(l=>l.trim()).filter(Boolean).map(l=>{const i=l.lastIndexOf(\":\");if(i===-1)return null;const label=l.slice(0,i).trim();const value=parseFloat(l.slice(i+1));if(!label||isNaN(value))return null;return{label,value};}).filter(Boolean);}function isSosScoreLabel(label){const n=String(label||\"\").trim().toLowerCase();if(!n)return false;if(/\\bsos\\b/.test(n))return true;if(/\\bstacked\\s*operator\\s*score\\b/.test(n))return true;if(/\\boperator\\s*score\\b/.test(n))return true;return/\\bscore\\b/.test(n)&&/\\boperator\\b/.test(n);}// ─── Logo field resolution ───────────────────────────────────────────────────\nfunction getLogoUrl(fields){if(!fields)return null;const hit=Object.keys(fields).find(k=>k.trim().toLowerCase()===\"logo\");const val=hit?fields[hit]:undefined;if(Array.isArray(val)&&val[0]&&val[0].url)return val[0].url;if(typeof val===\"string\"&&val.trim())return val.trim();return null;}// ─── Generic case-insensitive field lookup ───────────────────────────────────\nfunction getField(fields,wanted){if(!fields||!wanted)return undefined;if(fields[wanted]!==undefined)return fields[wanted];const target=String(wanted).trim().toLowerCase();const hit=Object.keys(fields).find(k=>k.trim().toLowerCase()===target);return hit?fields[hit]:undefined;}function toNonEmptyString(value){if(value==null)return\"\";if(Array.isArray(value)){for(const item of value){const hit=toNonEmptyString(item);if(hit)return hit;}return\"\";}return String(value).trim();}function resolveFirstString(fields,candidates,fallback=\"\"){for(const fieldName of candidates||[]){const value=toNonEmptyString(getField(fields,fieldName));if(value)return value;}return fallback;}function slugToLabel(slug){const raw=toNonEmptyString(slug);if(!raw)return\"\";const cleaned=raw.replace(/[-_]+/g,\" \").replace(/\\s+/g,\" \").trim();if(!cleaned)return\"\";return cleaned.replace(/\\b\\w/g,m=>m.toUpperCase());}function resolvePartnerName(record,slugValue){const fields=record?.fields||{};const preferred=[\"Name\",\"name\",\"Title\",\"title\",\"Partner Name\",\"Company Name\",\"Company\",\"Partner\",\"Tool Name\",\"Tool\"];const fromFields=resolveFirstString(fields,preferred);if(fromFields)return fromFields;const topLevelName=toNonEmptyString(record?.name||record?.title);if(topLevelName)return topLevelName;const fromSlug=slugToLabel(slugValue||getField(fields,\"Slug\")||getField(fields,\"slug\"));if(fromSlug)return fromSlug;return\"Untitled Partner\";}function toLabels(value,map){const arr=Array.isArray(value)?value:value==null||value===\"\"?[]:[value];return arr.map(v=>typeof v===\"string\"&&v.startsWith(\"rec\")&&map[v]?map[v]:v).filter(v=>typeof v===\"string\"&&v.trim());}// ─── Typography helpers ──────────────────────────────────────────────────────\nfunction caseStyle(value){return{textTransform:value||\"none\"};}function fontOf(group){return{...group?.font||{},...caseStyle(group?.case)};}const PX_PROPS=new Set([\"fontSize\",\"letterSpacing\"]);function applyStyle(node,styleObj){if(!node||!styleObj)return;Object.keys(styleObj).forEach(k=>{let v=styleObj[k];if(v===undefined||v===null||v===\"\")return;if(typeof v===\"number\"&&PX_PROPS.has(k))v=v+\"px\";node.style[k]=v;});}// ─── Solution icons ──────────────────────────────────────────────────────────\nconst ICONS={pos:'<rect x=\"6\" y=\"2\" width=\"12\" height=\"20\" rx=\"1\"/><path d=\"M9 6h6M9 10h6M9 14h2\"/>',payment:'<rect x=\"2\" y=\"5\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M2 10h20\"/>',kitchen:'<rect x=\"3\" y=\"4\" width=\"18\" height=\"12\" rx=\"2\"/><path d=\"M8 20h8M12 16v4\"/>',order:'<path d=\"M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01\"/>',booking:'<rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\"/><path d=\"M3 9h18M8 2v4M16 2v4\"/>',loyalty:'<path d=\"M12 21s-7-4.5-9-8.5C1.5 9 3 6 6 6c2 0 3 1.2 4 2.5C11 7.2 12 6 14 6c3 0 4.5 3 3 6.5C19 16.5 12 21 12 21z\"/>',analytics:'<path d=\"M3 3v18h18\"/><path d=\"M7 14l3-3 3 3 4-5\"/>',cloud:'<path d=\"M17 18a4 4 0 0 0 0-8 6 6 0 0 0-11.3 1.5A3.5 3.5 0 0 0 6 18z\"/>',api:'<path d=\"M8 6l-6 6 6 6M16 6l6 6-6 6\"/>',mobile:'<rect x=\"7\" y=\"2\" width=\"10\" height=\"20\" rx=\"2\"/><path d=\"M11 18h2\"/>',fallback:'<circle cx=\"12\" cy=\"12\" r=\"9\"/><path d=\"M9 12l2 2 4-4\"/>'};function iconKey(name){const n=(name||\"\").toLowerCase();if(n.includes(\"pos\")||n.includes(\"point of sale\"))return\"pos\";if(n.includes(\"pay\"))return\"payment\";if(n.includes(\"kitchen\")||n.includes(\"display\")||n.includes(\"kds\"))return\"kitchen\";if(n.includes(\"order\"))return\"order\";if(n.includes(\"book\")||n.includes(\"reserv\")||n.includes(\"table\"))return\"booking\";if(n.includes(\"loyal\")||n.includes(\"reward\")||n.includes(\"gift\"))return\"loyalty\";if(n.includes(\"analyt\")||n.includes(\"report\")||n.includes(\"insight\"))return\"analytics\";if(n.includes(\"cloud\"))return\"cloud\";if(n.includes(\"api\"))return\"api\";if(n.includes(\"ios\")||n.includes(\"android\")||n.includes(\"mobile\")||n.includes(\"app\")||n.includes(\"kiosk\"))return\"mobile\";return\"fallback\";}function svgFor(name){return`<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">${ICONS[iconKey(name)]}</svg>`;}// ─── Lead form option sets (kept identical to Partner.tsx) ───────────────────\nconst ENQUIRY_TYPES=[\"A demo\",\"Pricing\",\"General question\"];const SITE_BANDS=[\"\",\"1 site\",\"2-5 sites\",\"6-20 sites\",\"21-50 sites\",\"50+ sites\"];const TIMELINES=[\"\",\"Looking now\",\"Next few months\",\"Just researching\"];// ─── Sample data (Framer canvas / no data) ───────────────────────────────────\nconst SAMPLE_POOLS={solution:[\"Point of Sale\",\"Payments\",\"Kitchen Display\",\"Online Ordering\",\"Reservations & Bookings\",\"Loyalty & Rewards\",\"Inventory\",\"Staff Scheduling\",\"Analytics & Reporting\",\"Table Management\",\"Gift Cards\",\"Self-Service Kiosk\"],technology:[\"Cloud\",\"iOS\",\"Android\",\"Web App\",\"API\",\"Offline Mode\",\"Integrations\",\"On-Premise\"],sector:[\"Restaurants\",\"QSR\",\"Caf\\xe9s\",\"Bars & Pubs\",\"Hotels\",\"Hospitality\",\"Retail\",\"Stadiums & Venues\",\"Catering\"]};const SAMPLE={recordId:null,name:\"Sample Partner\",logo:null,summary:\"All-in-one point of sale built for high-volume restaurants — orders, payments, and kitchen display in one tidy system.\",about:\"This is placeholder copy shown in the Framer editor so you can adjust the layout without live data.\\n\\nIt fills the About section with two paragraphs so spacing and rhythm are easy to judge while designing.\",video:\"https://www.youtube.com/embed/ysz5S6PUM-U\",website:\"https://example.com\",email:\"hello@example.com\",phone:\"+44 20 7946 0000\",approved:true,tier:\"approved\",showContact:false,showWebsite:true,showVideo:true,stats:[{num:\"2018\",label:\"Founded\"},{num:\"2,400+\",label:\"Venues live\"},{num:\"60+\",label:\"Integrations\"},{num:\"4.8★\",label:\"Avg. rating\"}],operatorNames:[\"Dishoom\",\"Hakkasan Group\",\"BAO London\",\"Bombay Brasserie\",\"Cabana\",\"Big Easy\",\"El Pastor\",\"Fish Shop\",\"Pasture\",\"Norma\",\"MyLahore\",\"Balans\",\"Bocca Di Lupo\",\"Sucre London\",\"The Waffle House\",\"Din Tai Fung\",\"Jack Solomons Club\",\"Brighton Music Hall\"],usage:[{label:\"Point of Sale\",value:48},{label:\"Payments\",value:32},{label:\"Mobile/QR Ordering\",value:12},{label:\"Inventory & Stock Management\",value:8}],solution:[\"Point of Sale\",\"Payments\",\"Kitchen Display\"],technology:[\"Cloud\",\"iOS\",\"Android\",\"API\"],sector:[\"Restaurants\",\"QSR\",\"Hospitality\"],integration:[\"Xero\",\"Deliveroo\",\"Stripe\",\"Uber Eats\",\"Just Eat\",\"QuickBooks\",\"Shopify\",\"Mailchimp\",\"Klaviyo\",\"Google Calendar\",\"OpenTable\",\"Square\",\"Sage\",\"Zapier\",\"SumUp\",\"Trivec\"],support:[\"24/7 phone support\",\"Onboarding & training\",\"Dedicated account manager\"]};export default function StackedPartnerPageMobile({apiKey,tableName,technologyTable,sectorTable,solutionTable,supportTable,integrationField,integrationTable,integrationVisible,usageTable,usageCategoryField,usageSlugField,usageTitle,usageMax,barScaleToMax,marketplacePath,approvedField,packageField,liteEnquiryEmail,approvedBadge,showWebsiteButton,showEditButton,formsTable,formRecipientEmail,maxTags,operatorsVisible,operatorsOverflowLink,spacing,typography,colors}){const rootRef=useRef(null);const key=apiKey||process.env.AIRTABLE_KEY;const approvedCol=approvedField||\"Approved\";const packageCol=packageField||\"Package\";const liteEmail=liteEnquiryEmail||\"hello@wearestacked.io\";const intField=integrationField||\"Integration\";const intTable=integrationTable||\"Integration\";const formsTbl=formsTable||\"Forms\";const cap=maxTags||5;const operatorVisibleCount=Math.max(1,Math.floor(operatorsVisible||5));const operatorOverflowHref=operatorsOverflowLink||\"/contact\";const intVisible=Math.max(1,integrationVisible||8);const usageTbl=usageTable||\"Tech Usage\";const usageCatCol=usageCategoryField||\"Category\";const usageSlugCol=usageSlugField||\"Partner slug\";const usageMaxRows=Math.max(1,usageMax||5);const websiteBtnOn=showWebsiteButton===true;const editBtnOn=showEditButton===true;const isCanvas=RenderTarget.current()===RenderTarget.canvas;// ── Spacing (grouped) ──────────────────────────────────────────────────\nconst sp=spacing||{};const spCard=sp.card||{};const spTiles=sp.tiles||{};const spBadges=sp.badges||{};const padPx=spCard.padding??16;const radPx=spCard.radius??20;const stackGap=spTiles.stackGap??12;const tilePadding=spTiles.tilePadding??16;const tileRadius=spTiles.tileRadius??16;const badgePx=spBadges.badgeSize??56;const logoPx=spBadges.logoHeight??24;// ── Colours (grouped) ──────────────────────────────────────────────────\nconst cl=colors||{};const mainColor=cl.mainColor||\"#E8440A\";const contrastColor=cl.contrastColor||\"#0F766E\";const textOnAccent=cl.textOnAccent||\"\";const textOnContrast=cl.textOnContrast||\"\";const cardBg=cl.cardBackground||\"#FFFFFF\";const backColor=cl.backLinkColor||\"\";const nameColor=cl.idNameColor||\"\";const summaryColor=cl.idSummaryColor||\"\";const labelColor=cl.sectionLabelColor||\"\";const statNumColor=cl.statNumColor||\"\";const statLabelColor=cl.statLabelColor||\"\";const barLabelColor=cl.barLabelColor||\"\";const barValColor=cl.barValColor||\"\";const barFillColor=cl.barFillColor||\"\";const barTrackColor=cl.barTrackColor||\"\";const aboutColor=cl.aboutBodyColor||\"\";const contactColor=cl.contactTextColor||\"\";const pillColor=cl.pillTextColor||\"\";const supportColor=cl.supportItemColor||\"\";const buttonTextColor=cl.buttonTextColor||\"\";const buttonFillColor=cl.buttonFillColor||\"\";// ── Typography (grouped, font + case per style) ───────────────────────\nconst ty=typography||{};const fBack=fontOf(ty.backLink);const fName=fontOf(ty.idName);const fSummary=fontOf(ty.idSummary);const fLabel=fontOf(ty.sectionLabel);const fStatNum=fontOf(ty.statNum);const fStatLabel=fontOf(ty.statLabel);const fBarLabel=fontOf(ty.barLabel);const fBarVal=fontOf(ty.barVal);const fAbout=fontOf(ty.aboutBody);const fContact=fontOf(ty.contactText);const fPill=fontOf(ty.pillText);const fSupport=fontOf(ty.supportItem);const fButton=fontOf(ty.buttonText);useEffect(()=>{if(!rootRef.current)return;const root=rootRef.current;root.id=\"spm-root\";root.style.position=\"relative\";root.style.width=\"100%\";root.style.height=\"auto\";root.style.minHeight=\"0\";root.style.overflow=\"visible\";let heightRaf=0;let resizeObs=null;let mutObs=null;const syncHeight=()=>{if(!root)return;const card=root.firstElementChild;if(!card)return;const h=Math.ceil(card.getBoundingClientRect().height);if(!h)return;root.style.height=h+\"px\";root.style.minHeight=h+\"px\";};const queueHeightSync=()=>{if(heightRaf)cancelAnimationFrame(heightRaf);heightRaf=requestAnimationFrame(()=>{syncHeight();heightRaf=0;});};const STYLE_ID=\"spm-styles\";const oldS=document.getElementById(STYLE_ID);if(oldS)oldS.remove();const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=`\n            #spm-root, #spm-root * { pointer-events: all !important; box-sizing: border-box; }\n            #spm-root { width: 100%; font-family: sans-serif; }\n            .spm-card { display: flex; flex-direction: column; gap: 16px; position: relative; }\n            .spm-back-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }\n            .spm-back { font-size: 13px; color: var(--main); text-decoration: none; font-weight: 500; }\n            .spm-logo { height: ${logoPx}px; width: auto; max-width: 120px; object-fit: contain; flex-shrink: 0; }\n\n            .spm-stack { display: flex; flex-direction: column; gap: ${stackGap}px; }\n            .spm-tile { border-radius: ${tileRadius}px; padding: ${tilePadding}px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }\n            .spm-t-accent { background: var(--accent-soft); color: var(--ink-accent); }\n            .spm-t-contrast { background: var(--contrast-soft); color: var(--ink-contrast); }\n            .spm-t-dark { background: #0e0e0e; color: #fff; padding: 0; overflow: hidden; }\n            .spm-tlabel { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .55; }\n\n            .spm-id-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }\n            .spm-id-name { font-size: 22px; font-weight: 700; margin: 0; line-height: 1.15; }\n            .spm-id-summary { font-size: 14px; line-height: 1.5; margin: 0; opacity: .85; }\n            .spm-btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }\n\n            .spm-seal { width: 56px; height: 56px; flex-shrink: 0; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); position: relative; }\n            .spm-seal-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }\n            .spm-seal-bg .spm-scallop * { fill: var(--main); }\n            .spm-seal-bg .spm-ring { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.4; stroke-dasharray: 3 3; }\n            .spm-seal-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; line-height: 1; }\n            .spm-seal-check { font-size: 11px; } .spm-seal-word { font-size: 5px; font-weight: 800; letter-spacing: .08em; margin-top: 1px; }\n            .spm-badge-img { object-fit: contain; flex-shrink: 0; }\n\n            .spm-btn { display: inline-block; padding: 10px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1.5px solid transparent; font-family: sans-serif; text-align: center; }\n            .spm-btn-primary { background: var(--main); color: #fff; }\n            .spm-btn-outline { background: transparent; border-color: currentColor; color: inherit; }\n            .spm-btn-block { display: block; width: 100%; }\n            .spm-btn[disabled] { opacity: .6; cursor: default; }\n\n            .spm-stats-row { margin-top: 8px; }\n            .spm-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow: visible; }\n            .spm-stats-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-type: x proximity; }\n            .spm-stats-scroll::-webkit-scrollbar { display: none; }\n            .spm-stat { flex: 0 0 auto; min-width: 96px; border-radius: 14px; padding: 14px 14px; scroll-snap-align: start; }\n            .spm-stats-grid .spm-stat { flex: 1 1 0; min-width: 0; width: 100%; padding: 16px 14px; }\n            .spm-stat-link { text-decoration: none; color: inherit; }\n            .spm-stat-num { font-size: 20px; font-weight: 800; line-height: 1; }\n            .spm-stat-label { font-size: 11px; opacity: .65; margin-top: 6px; }\n            .spm-stat-score {\n                background: linear-gradient(145deg, rgba(62,35,112,1) 0%, rgba(79,47,140,1) 100%);\n                color: #ffffff;\n                border: 1px solid rgba(196,161,255,0.75);\n                box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset, 0 8px 18px rgba(62,35,112,0.24);\n            }\n            .spm-stat-score .spm-stat-num,\n            .spm-stat-score .spm-stat-label { color: #ffffff !important; }\n            .spm-stat-score .spm-stat-label { opacity: .86; }\n\n            .spm-bar-row { display: flex; align-items: center; gap: 8px; }\n            .spm-bar-label { font-size: 11px; width: 78px; flex-shrink: 0; opacity: .8; }\n            .spm-bar-track { flex: 1; height: 9px; background: var(--bar-track); border-radius: 99px; overflow: hidden; }\n            .spm-bar-fill { display: block; width: 0; height: 100%; background: var(--bar-fill); border-radius: 99px; transition: width .75s cubic-bezier(.22,1,.36,1); }\n            @media (prefers-reduced-motion: reduce) { .spm-bar-fill { transition: none; } }\n            .spm-bar-val { font-size: 11px; font-weight: 700; width: 32px; text-align: right; }\n\n            .spm-about p { font-size: 13px; line-height: 1.65; margin: 0 0 8px; opacity: .9; }\n            .spm-about-body { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }\n            .spm-about-body.expanded { -webkit-line-clamp: unset; overflow: visible; }\n            .spm-about-toggle { align-self: flex-start; background: none; border: none; color: var(--main); font-weight: 700; font-size: 12px; cursor: pointer; padding: 4px 0 0; }\n            .spm-contact a { color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; }\n            .spm-contact span { font-size: 13px; opacity: .8; }\n\n            .spm-pills { display: flex; flex-wrap: wrap; gap: 6px; }\n            .spm-pills-scroll { overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.22) transparent; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent 100%); }\n            .spm-pills-scroll.at-end { -webkit-mask-image: none; mask-image: none; }\n            .spm-pills-scroll::-webkit-scrollbar { width: 5px; }\n            .spm-pills-scroll::-webkit-scrollbar-track { background: transparent; }\n            .spm-pills-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 99px; }\n            .spm-tlabel-count { opacity: .7; font-weight: 700; }\n            .spm-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.5); color: inherit; white-space: nowrap; }\n            .spm-pill svg { width: 12px; height: 12px; flex-shrink: 0; }\n            .spm-op-overflow { display:inline-flex; align-items:center; border-radius:99px; padding:5px 10px; font-size:11px; font-weight:700; color:inherit; background:transparent; border:1.5px dashed rgba(62,35,112,0.35); text-decoration:none; line-height:1; cursor:pointer; }\n            .spm-op-overflow:hover { background:rgba(62,35,112,0.08); }\n            .spm-op-overflow:focus-visible { outline:2px solid rgba(62,35,112,0.8); outline-offset:2px; }\n            .spm-support-item { font-size: 12px; opacity: .9; }\n            .spm-divider { height: 1px; background: currentColor; opacity: .12; }\n\n            .spm-video { position: relative; width: 100%; padding-top: 56.25%; }\n            .spm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }\n\n            .spm-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; padding: 0; font-family: sans-serif; }\n            .spm-modal { background: #fff; color: #111; border-radius: 18px 18px 0 0; max-width: 560px; width: 100%; max-height: 88vh; overflow: auto; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -8px 40px rgba(0,0,0,.25); }\n            .spm-modal h3 { margin: 0; font-size: 18px; font-weight: 700; }\n            .spm-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }\n            .spm-modal-close { border: 1.5px solid rgba(0,0,0,.16); background: #fff; color: #222; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; }\n            .spm-modal-close:hover { border-color: rgba(0,0,0,.3); }\n            .spm-modal-close:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }\n            .spm-modal-sub { margin: 0 0 4px; font-size: 13px; line-height: 1.5; color: #666; }\n            .spm-group-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #999; margin: 8px 0 -2px; }\n            .spm-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #333; }\n            /* 16px minimum on inputs, otherwise iOS Safari zooms the page on focus. */\n            .spm-field input, .spm-field textarea, .spm-field select { padding: 10px 12px; border: 1.5px solid rgba(0,0,0,.15); border-radius: 10px; font-size: 16px; font-family: sans-serif; outline: none; resize: vertical; width: 100%; font-weight: 400; color: #111; background: #fff; }\n            .spm-field input:focus, .spm-field textarea:focus, .spm-field select:focus { border-color: var(--main); }\n            .spm-hint { font-size: 11px; font-weight: 400; color: #999; line-height: 1.4; }\n            .spm-privacy { font-size: 11px; color: #999; line-height: 1.45; margin: 2px 0 0; }\n            .spm-chips { display: flex; flex-wrap: wrap; gap: 7px; }\n            .spm-chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1.5px solid rgba(0,0,0,.15); border-radius: 99px; font-size: 12px; font-weight: 500; color: #444; background: #fff; cursor: pointer; user-select: none; font-family: sans-serif; }\n            .spm-chip input { display: none; }\n            .spm-chip.checked { border-color: var(--main); background: color-mix(in srgb, var(--main) 10%, transparent); color: var(--main); }\n            .spm-chip.checked::before { content: \"✓\"; font-size: 10px; }\n            .spm-chip.disabled { opacity: .4; cursor: not-allowed; }\n            .spm-limit-note { font-size: 11px; font-weight: 400; color: #999; }\n            .spm-limit-note.maxed { color: #c0770b; }\n            .spm-err { font-size: 12px; color: #cc0000; display: none; }\n            .spm-row { display: flex; gap: 8px; margin-top: 6px; position: sticky; bottom: -22px; background: #fff; padding-top: 8px; }\n            .spm-row .spm-btn { flex: 1; }\n        `;document.head.appendChild(style);root.innerHTML=`<div style=\"padding:40px 0;text-align:center;color:#999;\">Loading...</div>`;function el(tag,cls,html){const e=document.createElement(tag);if(cls)e.className=cls;if(html!=null)e.innerHTML=html;return e;}function label(text){const s=el(\"span\",\"spm-tlabel\");s.textContent=text;applyStyle(s,fLabel);if(labelColor)s.style.color=labelColor;return s;}function pill(text,withIcon){const s=el(\"span\",\"spm-pill\");if(withIcon)s.innerHTML=svgFor(text);const t=el(\"span\");t.textContent=text;s.appendChild(t);applyStyle(s,fPill);if(pillColor)s.style.color=pillColor;return s;}function capPillHeight(pills,visible){let lastWidth=-1;const apply=()=>{pills.style.maxHeight=\"\";pills.classList.remove(\"spm-pills-scroll\",\"at-end\");const kids=pills.children;if(kids.length<=visible)return;const anchor=kids[visible-1];if(!anchor)return;const cut=Math.round(anchor.getBoundingClientRect().bottom-pills.getBoundingClientRect().top);if(cut<=0||pills.scrollHeight<=cut+4)return;pills.classList.add(\"spm-pills-scroll\");pills.style.maxHeight=cut+\"px\";queueHeightSync();};pills.addEventListener(\"scroll\",()=>{const atEnd=pills.scrollTop+pills.clientHeight>=pills.scrollHeight-2;pills.classList.toggle(\"at-end\",atEnd);});requestAnimationFrame(apply);if(typeof ResizeObserver!==\"undefined\"){const ro=new ResizeObserver(entries=>{const w=Math.round(entries[0].contentRect.width);if(w===lastWidth)return;lastWidth=w;requestAnimationFrame(apply);});ro.observe(pills);}}function buildSeal(){const cx=50,cy=50,Rc=36,br=8,n=16;let bumps=\"\";for(let i=0;i<n;i++){const a=2*Math.PI*i/n;bumps+=`<circle cx=\"${(cx+Rc*Math.cos(a)).toFixed(2)}\" cy=\"${(cy+Rc*Math.sin(a)).toFixed(2)}\" r=\"${br}\"/>`;}const seal=el(\"div\",\"spm-seal\");seal.title=\"Approved partner\";seal.innerHTML=`<svg class=\"spm-seal-bg\" viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\"><g class=\"spm-scallop\">${bumps}<circle cx=\"50\" cy=\"50\" r=\"${Rc}\"/></g><circle class=\"spm-ring\" cx=\"50\" cy=\"50\" r=\"32\"/></svg><span class=\"spm-seal-text\"><span class=\"spm-seal-check\">✓</span><span class=\"spm-seal-word\">APPROVED</span><span class=\"spm-seal-word\">PARTNER</span></span>`;return seal;}// ── Modals ────────────────────────────────────────────────────────────\nfunction openModal(buildBody){document.getElementById(\"spm-modal-overlay\")?.remove();const overlay=el(\"div\",\"spm-overlay\");overlay.id=\"spm-modal-overlay\";const modal=el(\"div\",\"spm-modal\");overlay.appendChild(modal);overlay.addEventListener(\"click\",e=>{if(e.target===overlay)overlay.remove();});buildBody(modal,()=>overlay.remove());document.body.appendChild(overlay);}function fieldEl({label,hint,type=\"text\",value=\"\",placeholder=\"\",id}){const wrap=el(\"label\",\"spm-field\");const lab=el(\"span\");lab.textContent=label;wrap.appendChild(lab);const input=type===\"textarea\"?el(\"textarea\"):el(\"input\");if(type!==\"textarea\")input.type=type;if(type===\"textarea\")input.rows=label===\"About\"?5:3;input.value=value;input.placeholder=placeholder;input.id=id;wrap.appendChild(input);if(hint){const h=el(\"span\",\"spm-hint\");h.textContent=hint;wrap.appendChild(h);}return wrap;}// Dropdown built like fieldEl so the lead form reads as one stack. The\n// blank first option keeps every select genuinely optional.\nfunction selectEl({label,id,options,hint}){const wrap=el(\"label\",\"spm-field\");const lab=el(\"span\");lab.textContent=label;wrap.appendChild(lab);const sel=el(\"select\");sel.id=id;options.forEach(o=>{const opt=el(\"option\");opt.value=o;opt.textContent=o===\"\"?\"Prefer not to say\":o;sel.appendChild(opt);});wrap.appendChild(sel);if(hint){const h=el(\"span\",\"spm-hint\");h.textContent=hint;wrap.appendChild(h);}return wrap;}function checkGroup({label,options,selected,max}){const wrap=el(\"div\",\"spm-field\");const lab=el(\"span\");lab.textContent=`${label} (choose up to ${max})`;wrap.appendChild(lab);const chips=el(\"div\",\"spm-chips\");wrap.appendChild(chips);const note=el(\"span\",\"spm-limit-note\");wrap.appendChild(note);function refresh(){const inputs=[...chips.querySelectorAll(\"input\")];const count=inputs.filter(i=>i.checked).length;const atMax=count>=max;inputs.forEach(i=>{const chip=i.closest(\".spm-chip\");chip.classList.toggle(\"checked\",i.checked);const lock=!i.checked&&atMax;i.disabled=lock;chip.classList.toggle(\"disabled\",lock);});note.textContent=`${count}/${max} selected`;note.classList.toggle(\"maxed\",atMax);}options.forEach(opt=>{const chip=el(\"label\",\"spm-chip\");const input=el(\"input\");input.type=\"checkbox\";input.value=opt;if(selected.includes(opt))input.checked=true;const span=el(\"span\");span.textContent=opt;chip.appendChild(input);chip.appendChild(span);input.addEventListener(\"change\",refresh);chips.appendChild(chip);});refresh();return{wrap,getValues:()=>[...chips.querySelectorAll(\"input:checked\")].map(i=>i.value)};}function sendMailTo(to,subject,lines,close){if(!to){alert(\"No recipient email is configured. Set 'Listing Request Email' (and 'Lite Enquiry Email') in the component settings.\");return;}window.location.href=\"mailto:\"+to+\"?subject=\"+encodeURIComponent(subject)+\"&body=\"+encodeURIComponent(lines.join(\"\\n\"));close();}function sendMail(subject,lines,close){sendMailTo(formRecipientEmail,subject,lines,close);}function submitRow(modal,text,onSubmit){const err=el(\"div\",\"spm-err\");modal.appendChild(err);const row=el(\"div\",\"spm-row\");const cancel=el(\"button\",\"spm-btn spm-btn-outline\");cancel.style.color=\"#111\";cancel.textContent=\"Cancel\";cancel.addEventListener(\"click\",()=>document.getElementById(\"spm-modal-overlay\")?.remove());const submit=el(\"button\",\"spm-btn spm-btn-primary\");submit.textContent=text;submit.addEventListener(\"click\",()=>onSubmit(err,submit));row.appendChild(cancel);row.appendChild(submit);modal.appendChild(row);return submit;}const v=id=>{const n=document.getElementById(id);return n&&n.value?String(n.value).trim():\"\";};// Writes one row to the Airtable Forms table. The Slack alert and the\n// partner email are Airtable automations on that table, not this file.\nasync function createLead(fields){const res=await fetch(`https://api.airtable.com/v0/${BASE_ID}/${encodeURIComponent(formsTbl)}`,{method:\"POST\",headers:{Authorization:`Bearer ${key}`,\"Content-Type\":\"application/json\"},body:JSON.stringify({records:[{fields}]})});if(!res.ok){const e=await res.json().catch(()=>({}));throw new Error(e.error&&e.error.message||`Airtable error ${res.status}`);}return res.json();}async function notifyEnquirySlack({partnerName,enquiryType,visitorName,workEmail,company,pageUrl}){const lines=[`New marketplace enquiry`,`Partner: ${partnerName}`,`Type: ${enquiryType}`,`Visitor: ${visitorName}`,`Email: ${workEmail}`,company?`Company: ${company}`:\"\",`Page: ${pageUrl}`].filter(Boolean);await fetch(ENQUIRY_SLACK_WEBHOOK,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({text:lines.join(\"\\n\")})});}// ── The lead form ─────────────────────────────────────────────────────\n// Same questions as desktop, stacked full width. Only first name and\n// work email are enforced.\nfunction openEnquiry(p){openModal((modal,close)=>{const head=el(\"div\",\"spm-modal-head\");const h=el(\"h3\");h.textContent=`Interested in ${p.name}?`;const closeBtn=el(\"button\",\"spm-modal-close\");closeBtn.type=\"button\";closeBtn.textContent=\"Close\";closeBtn.setAttribute(\"aria-label\",\"Close enquiry form\");closeBtn.addEventListener(\"click\",()=>close());head.appendChild(h);head.appendChild(closeBtn);modal.appendChild(head);const sub=el(\"p\",\"spm-modal-sub\");sub.textContent=`Tell us a little about your setup and we'll introduce you to the right person at ${p.name}. No hard sell.`;modal.appendChild(sub);let enquiryType=ENQUIRY_TYPES[0];const typeWrap=el(\"div\",\"spm-field\");const typeLab=el(\"span\");typeLab.textContent=\"What are you after?\";typeWrap.appendChild(typeLab);const typeChips=el(\"div\",\"spm-chips\");ENQUIRY_TYPES.forEach(t=>{const chip=el(\"button\",\"spm-chip\"+(t===enquiryType?\" checked\":\"\"));chip.type=\"button\";const span=el(\"span\");span.textContent=t;chip.appendChild(span);chip.addEventListener(\"click\",()=>{enquiryType=t;Array.from(typeChips.children).forEach(k=>k.classList.remove(\"checked\"));chip.classList.add(\"checked\");});typeChips.appendChild(chip);});typeWrap.appendChild(typeChips);modal.appendChild(typeWrap);modal.appendChild(el(\"p\",\"spm-group-label\")).textContent=\"About you\";modal.appendChild(fieldEl({label:\"First name\",id:\"qFirst\"}));modal.appendChild(fieldEl({label:\"Last name\",id:\"qLast\"}));modal.appendChild(fieldEl({label:\"Work email\",type:\"email\",id:\"qEmail\"}));modal.appendChild(fieldEl({label:\"Phone\",type:\"tel\",id:\"qPhone\",placeholder:\"Optional\"}));modal.appendChild(fieldEl({label:\"Your job role\",id:\"qRole\",placeholder:\"e.g. Operations Director\"}));modal.appendChild(el(\"p\",\"spm-group-label\")).textContent=\"About your business\";modal.appendChild(fieldEl({label:\"Company\",id:\"qCompany\"}));modal.appendChild(selectEl({label:\"Number of sites\",id:\"qSites\",options:SITE_BANDS}));modal.appendChild(selectEl({label:\"When are you looking to move?\",id:\"qTimeline\",options:TIMELINES}));modal.appendChild(fieldEl({label:\"Anything specific you'd like to see?\",type:\"textarea\",id:\"qMessage\",hint:`Optional. Helps ${p.name} come prepared.`}));const privacy=el(\"p\",\"spm-privacy\");privacy.textContent=\"We'll share these details with the partner so they can get back to you.\";modal.appendChild(privacy);submitRow(modal,\"Send enquiry\",async(err,btn)=>{const first=v(\"qFirst\"),last=v(\"qLast\"),email=v(\"qEmail\");if(!first||!email||!/.+@.+\\..+/.test(email)){err.textContent=\"Please add your first name and a valid work email.\";err.style.display=\"block\";return;}err.style.display=\"none\";btn.disabled=true;btn.textContent=\"Sending…\";// Everything beyond the named columns rides in Comments as a\n// labelled block, so the Slack post and partner email carry\n// the full picture without extra Airtable columns.\nconst detail=[`Looking for: ${enquiryType}`,v(\"qRole\")?`Job role: ${v(\"qRole\")}`:\"\",v(\"qSites\")?`Sites: ${v(\"qSites\")}`:\"\",v(\"qTimeline\")?`Timeline: ${v(\"qTimeline\")}`:\"\",`Partner package: ${p.tier}`,`Page: ${location.href}`,v(\"qMessage\")?`\nMessage:\n${v(\"qMessage\")}`:\"\"].filter(Boolean).join(\"\\n\");const fields={\"First name\":first,\"Last name\":last,\"Email\":email,\"Phone\":v(\"qPhone\"),\"Company\":v(\"qCompany\"),\"Comments\":detail};if(p.recordId)fields[\"Partner\"]=[p.recordId];Object.keys(fields).forEach(k=>{if(!fields[k])delete fields[k];});try{if(!key||isCanvas)throw new Error(\"No API key configured\");await createLead(fields);try{await notifyEnquirySlack({partnerName:p.name,enquiryType,visitorName:`${first} ${last}`.trim(),workEmail:email,company:v(\"qCompany\"),pageUrl:location.href});}catch(_){}modal.innerHTML=\"\";modal.appendChild(el(\"h3\")).textContent=\"Thanks, that's on its way\";const done=el(\"p\",\"spm-modal-sub\");done.textContent=`We've passed your details to ${p.name}. Someone will be in touch shortly.`;modal.appendChild(done);const row=el(\"div\",\"spm-row\");const ok=el(\"button\",\"spm-btn spm-btn-primary\");ok.textContent=\"Done\";ok.addEventListener(\"click\",()=>close());row.appendChild(ok);modal.appendChild(row);}catch(e){// Never lose a lead. If the write fails, hand it to the\n// visitor's mail client addressed to Stacked.\nconst lines=[`Marketplace enquiry about: ${p.name}`,`Page: ${location.href}`,``,`From: ${first} ${last}`.trim(),`Email: ${email}`,v(\"qPhone\")?`Phone: ${v(\"qPhone\")}`:\"\",v(\"qCompany\")?`Company: ${v(\"qCompany\")}`:\"\",``,detail].filter(Boolean);sendMailTo(liteEmail,`Marketplace enquiry: ${p.name}`,lines,close);}});});}function openClaim(p){openModal((modal,close)=>{const head=el(\"div\",\"spm-modal-head\");const h=el(\"h3\");h.textContent=\"Is this your business?\";const closeBtn=el(\"button\",\"spm-modal-close\");closeBtn.type=\"button\";closeBtn.textContent=\"Close\";closeBtn.setAttribute(\"aria-label\",\"Close claim form\");closeBtn.addEventListener(\"click\",()=>close());head.appendChild(h);head.appendChild(closeBtn);modal.appendChild(head);const sub=el(\"p\",\"spm-modal-sub\");sub.textContent=`Tell us a bit about yourself and we'll help you claim ${p.name}.`;modal.appendChild(sub);modal.appendChild(fieldEl({label:\"Your name\",id:\"cName\"}));modal.appendChild(fieldEl({label:\"Your work email\",type:\"email\",id:\"cEmail\",hint:\"Use an email on the company's domain so we can verify ownership quickly.\"}));modal.appendChild(fieldEl({label:\"Your role at the business\",id:\"cRole\",placeholder:\"e.g. Marketing Manager\"}));modal.appendChild(fieldEl({label:\"Anything else? (optional)\",type:\"textarea\",id:\"cNote\"}));submitRow(modal,\"Send claim request\",err=>{if(!v(\"cName\")||!v(\"cEmail\")){err.textContent=\"Please add your name and work email.\";err.style.display=\"block\";return;}const lines=[`Listing: ${p.name}`,`Page: ${location.href}`,``,`From: ${v(\"cName\")}`,`Email: ${v(\"cEmail\")}`];if(v(\"cRole\"))lines.push(`Role: ${v(\"cRole\")}`);if(v(\"cNote\"))lines.push(``,`Notes:`,v(\"cNote\"));sendMailTo(\"hello@wearestacked.io\",`Business claim: ${p.name}`,lines,close);});});}function openEdit(p,pools){openModal((modal,close)=>{modal.appendChild(el(\"h3\")).textContent=\"Edit your listing\";const sub=el(\"p\",\"spm-modal-sub\");sub.textContent=`Update anything below and send it over — we'll review and publish the changes to ${p.name}.`;modal.appendChild(sub);modal.appendChild(el(\"p\",\"spm-group-label\")).textContent=\"Who's requesting\";modal.appendChild(fieldEl({label:\"Your name\",id:\"eName\"}));modal.appendChild(fieldEl({label:\"Your work email\",type:\"email\",id:\"eEmail\"}));modal.appendChild(el(\"p\",\"spm-group-label\")).textContent=\"Listing content\";modal.appendChild(fieldEl({label:\"Summary\",id:\"eSummary\",value:p.summary,hint:\"One punchy sentence shown at the top of your listing.\"}));modal.appendChild(fieldEl({label:\"About\",type:\"textarea\",id:\"eAbout\",value:p.about,hint:\"What you do and who it's for. 2–3 short paragraphs; leave a blank line between them.\"}));const sol=checkGroup({label:\"Solution\",options:pools.solution,selected:p.solution,max:cap});const tech=checkGroup({label:\"Technology\",options:pools.technology,selected:p.technology,max:cap});const sec=checkGroup({label:\"Sector\",options:pools.sector,selected:p.sector,max:cap});modal.appendChild(sol.wrap);modal.appendChild(tech.wrap);modal.appendChild(sec.wrap);modal.appendChild(fieldEl({label:\"Support\",type:\"textarea\",id:\"eSupport\",value:p.support.join(\"\\n\"),hint:\"One per line. Support options you offer.\"}));modal.appendChild(el(\"p\",\"spm-group-label\")).textContent=\"Contact details\";modal.appendChild(fieldEl({label:\"Website\",type:\"url\",id:\"eWebsite\",value:p.website||\"\",hint:\"Shown to visitors once your listing is approved.\"}));modal.appendChild(fieldEl({label:\"Public email\",type:\"email\",id:\"eContactEmail\",value:p.email||\"\"}));modal.appendChild(fieldEl({label:\"Phone\",id:\"ePhone\",value:p.phone||\"\"}));submitRow(modal,\"Send edit request\",err=>{if(!v(\"eName\")||!v(\"eEmail\")){err.textContent=\"Please add your name and work email so we can confirm the changes.\";err.style.display=\"block\";return;}const lines=[`Listing edit request for: ${p.name}`,`Page: ${location.href}`,``,`Requested by: ${v(\"eName\")} <${v(\"eEmail\")}>`,``,`── Proposed content ──`,`Summary: ${v(\"eSummary\")}`,``,`About:`,v(\"eAbout\"),``,`Solution tags: ${sol.getValues().join(\", \")}`,`Technology tags: ${tech.getValues().join(\", \")}`,`Sector tags: ${sec.getValues().join(\", \")}`,``,`Support:`,...v(\"eSupport\").split(\"\\n\").map(s=>\"- \"+s.trim()).filter(s=>s!==\"- \"),``,`── Contact ──`,`Website: ${v(\"eWebsite\")}`,`Public email: ${v(\"eContactEmail\")}`,`Phone: ${v(\"ePhone\")}`];sendMail(`Listing edit request: ${p.name}`,lines,close);});});}// ── Render the single-column mobile page ────────────────────────────────\nfunction renderPage(p,pools,main,contrast){const r=document.documentElement.style;r.setProperty(\"--main\",main);r.setProperty(\"--contrast\",contrast);r.setProperty(\"--bar-fill\",barFillColor||contrast);r.setProperty(\"--bar-track\",barTrackColor||mix(contrast,\"#ffffff\",.78));r.setProperty(\"--accent-soft\",mix(main,\"#ffffff\",.88));r.setProperty(\"--contrast-soft\",mix(contrast,\"#ffffff\",.88));r.setProperty(\"--ink-accent\",textOnAccent||mix(main,\"#000000\",.5));r.setProperty(\"--ink-contrast\",textOnContrast||mix(contrast,\"#000000\",.5));root.innerHTML=\"\";const card=el(\"div\",\"spm-card\");card.style.background=cardBg;card.style.borderRadius=radPx+\"px\";card.style.padding=padPx+\"px\";const backRow=el(\"div\",\"spm-back-row\");const back=el(\"a\",\"spm-back\");back.href=marketplacePath;back.textContent=\"← Marketplace\";applyStyle(back,fBack);if(backColor)back.style.color=backColor;backRow.appendChild(back);if(p.logo){const logo=el(\"img\",\"spm-logo\");logo.src=p.logo;logo.alt=p.name+\" logo\";backRow.appendChild(logo);}card.appendChild(backRow);const stack=el(\"div\",\"spm-stack\");// Identity tile\nconst idTile=el(\"div\",\"spm-tile spm-t-accent\");const top=el(\"div\",\"spm-id-top\");const idLeft=el(\"div\");idLeft.style.display=\"flex\";idLeft.style.flexDirection=\"column\";idLeft.style.gap=\"8px\";idLeft.style.minWidth=\"0\";const name=el(\"h1\",\"spm-id-name\");name.textContent=p.name;applyStyle(name,fName);if(nameColor)name.style.color=nameColor;idLeft.appendChild(name);if(p.summary){const s=el(\"p\",\"spm-id-summary\");s.textContent=p.summary;applyStyle(s,fSummary);if(summaryColor)s.style.color=summaryColor;idLeft.appendChild(s);}// Primary CTA. \"Visit Website\" is hidden by default (Content > \"Show\n// Visit Website Button\"); every other case gets \"Get in touch\",\n// which opens the lead form.\nconst siteUrl=normalizeUrl(p.website);const ctaRow=el(\"div\",\"spm-btn-row\");if(websiteBtnOn&&siteUrl&&p.showWebsite){const w=el(\"a\",\"spm-btn spm-btn-primary\");w.href=siteUrl;w.target=\"_blank\";w.rel=\"noopener noreferrer\";w.textContent=\"Visit Website →\";applyStyle(w,fButton);if(buttonFillColor)w.style.background=buttonFillColor;if(buttonTextColor)w.style.color=buttonTextColor;ctaRow.appendChild(w);}else{const g=el(\"button\",\"spm-btn spm-btn-primary\");g.type=\"button\";g.textContent=\"Get in touch\";applyStyle(g,fButton);if(buttonFillColor)g.style.background=buttonFillColor;if(buttonTextColor)g.style.color=buttonTextColor;g.addEventListener(\"click\",()=>openEnquiry(p));ctaRow.appendChild(g);}idLeft.appendChild(ctaRow);top.appendChild(idLeft);if(p.approved){if(approvedBadge){const img=el(\"img\",\"spm-badge-img\");img.src=approvedBadge;img.alt=\"Approved partner\";img.style.width=badgePx+\"px\";img.style.height=badgePx+\"px\";top.appendChild(img);}else{top.appendChild(buildSeal());}}idTile.appendChild(top);stack.appendChild(idTile);// Stats: for the normal live trio, render an even three-card row.\n// If more than three stats exist, keep horizontal overflow behaviour.\nif(p.stats&&p.stats.length){const isTrio=p.stats.length===3;const row=el(\"div\",`spm-stats-row ${isTrio?\"spm-stats-grid\":\"spm-stats-scroll\"}`);p.stats.forEach((s,i)=>{const isScoreStat=isSosScoreLabel(s.label);const styleClass=isScoreStat?\"spm-stat-score\":i%2===0?\"spm-t-accent\":\"spm-t-contrast\";const t=el(\"a\",\"spm-stat spm-stat-link spm-tile \"+styleClass);t.href=\"/contact\";t.setAttribute(\"aria-label\",`Get in touch about ${s.label}`);const numEl=el(\"div\",\"spm-stat-num\");numEl.textContent=s.num;applyStyle(numEl,fStatNum);if(!isScoreStat&&statNumColor)numEl.style.color=statNumColor;const labEl=el(\"div\",\"spm-stat-label\");labEl.textContent=s.label;applyStyle(labEl,fStatLabel);if(!isScoreStat&&statLabelColor)labEl.style.color=statLabelColor;t.appendChild(numEl);t.appendChild(labEl);row.appendChild(t);});stack.appendChild(row);}// Operators we’ve verified using it (same data source/ordering/cap behaviour as desktop).\nif(p.operatorNames&&p.operatorNames.length){const opTile=el(\"div\",\"spm-tile spm-t-contrast\");opTile.appendChild(label(\"Operators we’ve verified using it\"));const opSub=el(\"div\");opSub.textContent=\"These are operators verified through Stacked audits, not the partner’s full customer list.\";opSub.style.cssText=\"font-size:12px;line-height:1.45;color:rgba(62,35,112,0.68);font-family:'DM Sans',sans-serif;\";opTile.appendChild(opSub);const opPills=el(\"div\",\"spm-pills\");const names=p.operatorNames;names.slice(0,operatorVisibleCount).forEach(nm=>opPills.appendChild(pill(nm,false)));const remaining=names.length-operatorVisibleCount;if(remaining>0){const more=el(\"a\",\"spm-op-overflow\");more.href=operatorOverflowHref;more.textContent=`+${remaining}`;more.setAttribute(\"aria-label\",`See ${remaining} more operators`);more.title=\"Contact us for the full operator list\";opPills.appendChild(more);}opTile.appendChild(opPills);stack.appendChild(opTile);}// Video is Promote and Approved only. The Video value is still read\n// from Airtable for Lite listings, it is simply not rendered, so an\n// upgrade brings it back with no resubmission.\nconst embed=p.showVideo?getEmbedUrl(p.video):null;if(embed){const vid=el(\"div\",\"spm-tile spm-t-dark\");vid.innerHTML=`<div class=\"spm-video\"><iframe src=\"${embed}\" allow=\"autoplay; fullscreen; picture-in-picture\" allowfullscreen></iframe></div>`;stack.appendChild(vid);}if(p.about){const about=el(\"div\",\"spm-tile spm-t-contrast\");about.appendChild(label(\"About\"));const body=el(\"div\",\"spm-about spm-about-body\");p.about.split(/\\n\\n+/).forEach(para=>{if(!para.trim())return;const pp=el(\"p\");pp.textContent=para.trim();applyStyle(pp,fAbout);if(aboutColor)pp.style.color=aboutColor;body.appendChild(pp);});about.appendChild(body);const aboutToggle=el(\"button\",\"spm-about-toggle\");aboutToggle.type=\"button\";aboutToggle.textContent=\"Show more\";aboutToggle.style.display=\"none\";aboutToggle.addEventListener(\"click\",()=>{const expanded=body.classList.toggle(\"expanded\");aboutToggle.textContent=expanded?\"Show less\":\"Show more\";queueHeightSync();});about.appendChild(aboutToggle);stack.appendChild(about);requestAnimationFrame(()=>{if(body.scrollHeight>body.clientHeight+2)aboutToggle.style.display=\"inline-block\";});}if(p.usage&&p.usage.length){const usage=el(\"div\",\"spm-tile spm-t-contrast\");usage.appendChild(label(usageTitle||\"What operators use it for\"));const max=Math.max(...p.usage.map(u=>u.value),1);p.usage.forEach(u=>{const row=el(\"div\",\"spm-bar-row\");const labEl=el(\"span\",\"spm-bar-label\");labEl.textContent=u.label;applyStyle(labEl,fBarLabel);if(barLabelColor)labEl.style.color=barLabelColor;const track=el(\"span\",\"spm-bar-track\");const target=barScaleToMax?u.value/max*100:Math.min(100,Math.max(0,u.value));const fill=el(\"span\",\"spm-bar-fill\");requestAnimationFrame(()=>{fill.style.width=target+\"%\";});track.appendChild(fill);const valEl=el(\"span\",\"spm-bar-val\");valEl.textContent=u.value+\"%\";applyStyle(valEl,fBarVal);if(barValColor)valEl.style.color=barValColor;row.appendChild(labEl);row.appendChild(track);row.appendChild(valEl);usage.appendChild(row);});stack.appendChild(usage);}// Contact + tags + support, all in one accent tile\nconst info=el(\"div\",\"spm-tile spm-t-accent\");if(p.showContact&&(p.email||p.phone)){const sec=el(\"div\");sec.style.display=\"flex\";sec.style.flexDirection=\"column\";sec.style.gap=\"6px\";sec.appendChild(label(\"Contact\"));if(p.email){const a=el(\"a\");a.href=\"mailto:\"+p.email;a.textContent=p.email;applyStyle(a,fContact);if(contactColor)a.style.color=contactColor;const w=el(\"div\",\"spm-contact\");w.appendChild(a);sec.appendChild(w);}if(p.phone){const s=el(\"span\");s.textContent=p.phone;applyStyle(s,fContact);if(contactColor)s.style.color=contactColor;const w=el(\"div\",\"spm-contact\");w.appendChild(s);sec.appendChild(w);}info.appendChild(sec);}const tagSec=(lab,items,withIcon,scrollAfter)=>{if(!items||!items.length)return;const sec=el(\"div\");sec.style.display=\"flex\";sec.style.flexDirection=\"column\";sec.style.gap=\"6px\";const lb=label(lab);if(scrollAfter&&items.length>scrollAfter){const c=el(\"span\",\"spm-tlabel-count\");c.textContent=\"  \"+items.length;lb.appendChild(c);}sec.appendChild(lb);const pills=el(\"div\",\"spm-pills\");items.forEach(x=>pills.appendChild(pill(x,withIcon)));sec.appendChild(pills);info.appendChild(sec);if(scrollAfter&&items.length>scrollAfter)capPillHeight(pills,scrollAfter);};tagSec(\"Solution\",p.solution,true);tagSec(\"Technology\",p.technology,false);tagSec(\"Sector\",p.sector,false);tagSec(\"Integration Partners\",p.integration,false,intVisible);if(p.support&&p.support.length){const sec=el(\"div\");sec.style.display=\"flex\";sec.style.flexDirection=\"column\";sec.style.gap=\"6px\";sec.appendChild(label(\"Support\"));p.support.forEach(s=>{const i=el(\"span\",\"spm-support-item\");i.textContent=\"✓  \"+s;applyStyle(i,fSupport);if(supportColor)i.style.color=supportColor;sec.appendChild(i);});info.appendChild(sec);}if(info.children.length)stack.appendChild(info);// Secondary actions. \"Edit your listing\" is hidden by default\n// (Content > \"Show Edit Listing Button\"); the edit form is untouched.\nconst secSec=el(\"div\",\"spm-tile spm-t-contrast\");secSec.appendChild(label(\"Manage this listing\"));const claim=el(\"button\",\"spm-btn spm-btn-outline spm-btn-block\");claim.textContent=\"Is this your business?\";applyStyle(claim,fButton);claim.addEventListener(\"click\",()=>openClaim(p));secSec.appendChild(claim);if(editBtnOn){const edit=el(\"button\",\"spm-btn spm-btn-outline spm-btn-block\");edit.textContent=\"Edit your listing\";applyStyle(edit,fButton);edit.addEventListener(\"click\",()=>openEdit(p,pools));secSec.appendChild(edit);}stack.appendChild(secSec);// Bottom CTA: repeat the primary \"Get in touch\" action after\n// \"Manage this listing\", using the same lead-form handler/styles.\nconst bottomCta=el(\"button\",\"spm-btn spm-btn-primary spm-btn-block\");bottomCta.type=\"button\";bottomCta.textContent=\"Get in touch\";applyStyle(bottomCta,fButton);if(buttonFillColor)bottomCta.style.background=buttonFillColor;if(buttonTextColor)bottomCta.style.color=buttonTextColor;bottomCta.addEventListener(\"click\",()=>openEnquiry(p));stack.appendChild(bottomCta);card.appendChild(stack);root.appendChild(card);queueHeightSync();}if(isCanvas||!key){renderPage(SAMPLE,SAMPLE_POOLS,mainColor,contrastColor);return;}const slug=getSlug();if(!slug){renderPage(SAMPLE,SAMPLE_POOLS,mainColor,contrastColor);return;}async function load(){try{const[partnerRecs,techRecs,sectorRecs,solRecs,supportRecs,intRecs]=await Promise.all([// Always fetch the current partner record fresh so listing edits\n// (for example video URL updates) are visible on page reload.\nfetchAll(key,tableName,`{Slug}=\"${slug}\"`),cachedFetchAll(key,technologyTable),cachedFetchAll(key,sectorTable),cachedFetchAll(key,solutionTable),cachedFetchAll(key,supportTable),cachedFetchAll(key,intTable).catch(()=>[])]);let partner=selectBestPartnerRecord(partnerRecs,slug);if(!partner){const allPartners=await cachedFetchAll(key,tableName).catch(()=>[]);partner=findPartnerFallback(allPartners,slug);}if(!partner){root.innerHTML=`<div style=\"padding:40px 0;text-align:center;color:#999;font-family:sans-serif;\">Partner not found.</div>`;queueHeightSync();return;}const f=partner.fields;const matchedSlug=resolveFirstString(f,[\"Slug\",\"slug\",\"Partner Slug\"],slug);const usageRecs=await cachedFetchAll(key,usageTbl,`ARRAYJOIN({${usageSlugCol}})=\"${formulaValue(matchedSlug)}\"`).catch(()=>[]);const techMap=buildIdMap(techRecs),sectorMap=buildIdMap(sectorRecs),solMap=buildIdMap(solRecs),supportMap=buildIdMap(supportRecs),intMap=buildIdMap(intRecs);const stats=[];const opsBrands=f[\"Operators (brands)\"];const venuesUsing=f[\"Venues using\"];if(opsBrands)stats.push({num:String(opsBrands),label:\"Operators\"});if(venuesUsing)stats.push({num:String(venuesUsing),label:\"Venues\"});if(f[\"SOS Score\"]!=null&&Number(f[\"SOS Reviews\"])>=2)stats.push({num:String(f[\"SOS Score\"])+\"★\",label:\"Operator score\"});const tier=tierOf(f,packageCol,approvedCol);const paid=isPaidTier(tier);const partnerName=resolvePartnerName(partner,matchedSlug);const partnerSummary=resolveFirstString(f,[\"Summary\",\"Short Description\",\"Description\",\"About\",\"Overview\",\"Bio\",\"Tagline\"]);const partnerAbout=resolveFirstString(f,[\"Description\",\"About\",\"Long Description\",\"Details\",\"Overview\",\"Summary\"]);const p={// Carried so the lead form can link its Forms row straight\n// back to this partner without a second lookup.\nrecordId:partner.id,name:partnerName,logo:getLogoUrl(f),summary:partnerSummary,about:partnerAbout,video:resolveFirstString(f,[\"Video\",\"Video URL\",\"Video Link\",\"Demo Video\",\"Embed URL\"])||null,website:resolveFirstString(f,[\"Website\",\"Website URL\",\"Site\",\"URL\"])||null,email:resolveFirstString(f,[\"Email\",\"Contact Email\",\"Public Email\"])||null,phone:resolveFirstString(f,[\"Phone\",\"Contact Phone\",\"Telephone\"])||null,tier,approved:tier===\"approved\",showContact:false,showWebsite:paid,showVideo:paid,stats,usage:parseUsage(getField(f,\"Usage\")).length?parseUsage(getField(f,\"Usage\")):usageFromRecords(usageRecs,usageCatCol,usageMaxRows),operatorNames:Array.isArray(f[\"Operator names\"])?f[\"Operator names\"].filter(Boolean):f[\"Operator names\"]?[f[\"Operator names\"]]:[],solution:(f.Solution||[]).map(id=>solMap[id]).filter(Boolean),technology:(f.Technology||[]).map(id=>techMap[id]).filter(Boolean),sector:(f.Sector||[]).map(id=>sectorMap[id]).filter(Boolean),support:(f.Support||[]).map(id=>supportMap[id]).filter(Boolean),integration:toLabels(getField(f,intField),intMap)};const pools={solution:allNames(solRecs),technology:allNames(techRecs),sector:allNames(sectorRecs)};const bc=typeof f[\"Brand Color\"]===\"string\"&&/^#?[0-9a-fA-F]{6}$/.test(f[\"Brand Color\"].trim());const main=bc?f[\"Brand Color\"].trim().startsWith(\"#\")?f[\"Brand Color\"].trim():\"#\"+f[\"Brand Color\"].trim():mainColor;renderPage(p,pools,main,contrastColor);}catch(e){root.innerHTML=`<div style=\"padding:24px;background:#fff5f5;border:1px solid #ffd0d0;border-radius:12px;font-family:monospace;font-size:12px;color:#cc0000;\"><strong>Error:</strong> ${e.message}</div>`;queueHeightSync();}}load();if(typeof ResizeObserver!==\"undefined\"){resizeObs=new ResizeObserver(()=>queueHeightSync());resizeObs.observe(root);}if(typeof MutationObserver!==\"undefined\"){mutObs=new MutationObserver(()=>queueHeightSync());mutObs.observe(root,{childList:true,subtree:true,characterData:true});}if(typeof window!==\"undefined\"){window.addEventListener(\"resize\",queueHeightSync);}queueHeightSync();return()=>{if(heightRaf)cancelAnimationFrame(heightRaf);if(resizeObs)resizeObs.disconnect();if(mutObs)mutObs.disconnect();if(typeof window!==\"undefined\"){window.removeEventListener(\"resize\",queueHeightSync);}};},[key,tableName,technologyTable,sectorTable,solutionTable,supportTable,intField,intTable,marketplacePath,approvedCol,packageCol,liteEmail,approvedBadge,badgePx,logoPx,websiteBtnOn,editBtnOn,formsTbl,mainColor,contrastColor,textOnAccent,textOnContrast,cardBg,padPx,radPx,stackGap,tilePadding,tileRadius,backColor,nameColor,summaryColor,labelColor,statNumColor,statLabelColor,barLabelColor,barValColor,aboutColor,contactColor,pillColor,supportColor,buttonTextColor,buttonFillColor,formRecipientEmail,cap,operatorVisibleCount,operatorOverflowHref,isCanvas,typography,colors,spacing]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{position:\"relative\",width:\"100%\",height:\"auto\",minHeight:0,overflow:\"visible\"}});}// ── Control helpers ──────────────────────────────────────────────────────────\nfunction num(title,defaultValue,min,max,step=1,unit=\"px\"){return{type:ControlType.Number,title,defaultValue,min,max,step,unit};}function grp(title,controls){return{type:ControlType.Object,title,buttonTitle:title,controls};}function color(title,defaultValue){return{type:ControlType.Color,title,defaultValue};}const caseOptions=[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"];const caseOptionTitles=[\"Default\",\"UPPERCASE\",\"lowercase\",\"Capitalize\"];function caseCtl(defaultValue=\"none\"){return{type:ControlType.Enum,title:\"Case\",options:caseOptions,optionTitles:caseOptionTitles,defaultValue};}function fontCtl(defaultValue,defaultFontType=\"sans-serif\"){return{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType,defaultValue};}function typeGroup(title,fontDefault,caseDefault=\"none\",fontType=\"sans-serif\"){return{type:ControlType.Object,title,buttonTitle:title,controls:{font:fontCtl(fontDefault,fontType),case:caseCtl(caseDefault)}};}addPropertyControls(StackedPartnerPageMobile,{apiKey:{type:ControlType.String,title:\"API Key\",placeholder:\"paste Airtable token\",obscured:true,description:\"Needs read on the data tables AND create on the Forms table, or the lead form falls back to a mailto.\",section:\"Content\"},tableName:{type:ControlType.String,title:\"Partners Table\",defaultValue:\"Partners\",section:\"Content\"},technologyTable:{type:ControlType.String,title:\"Technology Table\",defaultValue:\"Technology\",section:\"Content\"},sectorTable:{type:ControlType.String,title:\"Sector Table\",defaultValue:\"Sector\",section:\"Content\"},solutionTable:{type:ControlType.String,title:\"Solution Table\",defaultValue:\"Solution\",section:\"Content\"},supportTable:{type:ControlType.String,title:\"Support Table\",defaultValue:\"Support\",section:\"Content\"},formsTable:{type:ControlType.String,title:\"Leads Table\",defaultValue:\"Forms\",description:\"Where the 'Get in touch' lead form writes each enquiry. The Slack alert and partner email are Airtable automations on this table.\",section:\"Content\"},integrationField:{type:ControlType.String,title:\"Integration Field\",defaultValue:\"Integration\",description:\"Partners column whose values show as 'Integration Partners' pills. Matched case-insensitively.\",section:\"Content\"},integrationTable:{type:ControlType.String,title:\"Integration Table\",defaultValue:\"Integration\",description:\"Only used if Integration is a linked record field.\",section:\"Content\"},usageTable:{type:ControlType.String,title:\"Usage Table\",defaultValue:\"Tech Usage\",description:\"Health Check table holding one row per venue per tool. Powers the usage breakdown chart.\",section:\"Content\"},usageSlugField:{type:ControlType.String,title:\"Usage Slug Field\",defaultValue:\"Partner slug\",description:\"Lookup on the usage table carrying the partner's slug.\",section:\"Content\"},usageCategoryField:{type:ControlType.String,title:\"Usage Category Field\",defaultValue:\"Category\",description:\"Column tallied to build the chart. Each category becomes one bar.\",section:\"Content\"},usageTitle:{type:ControlType.String,title:\"Usage Title\",defaultValue:\"What operators use it for\",section:\"Content\"},barScaleToMax:{type:ControlType.Boolean,title:\"Usage: Scale To Largest\",defaultValue:false,description:\"Off = a bar is filled to its own percentage. On = the largest category fills the whole bar.\",section:\"Content\"},usageMax:{type:ControlType.Number,title:\"Usage Bars\",defaultValue:5,min:2,max:15,step:1,displayStepper:true,description:\"How many categories get their own bar.\",section:\"Content\"},integrationVisible:{type:ControlType.Number,title:\"Integrations Visible\",defaultValue:8,min:3,max:40,step:1,displayStepper:true,description:\"Roughly how many integration pills show before the list becomes a scroll well.\",section:\"Content\"},marketplacePath:{type:ControlType.String,title:\"Marketplace Path\",defaultValue:\"/marketplace\",section:\"Content\"},approvedField:{type:ControlType.String,title:\"Approved Field\",defaultValue:\"Approved\",description:\"Legacy Airtable checkbox. Only used as a fallback when Package is blank.\",section:\"Content\"},packageField:{type:ControlType.String,title:\"Package Field\",defaultValue:\"Package\",description:\"Airtable single-select tier: Lite, Promote or Approved. Gates the website link and the video tile, and is written into each lead so the Airtable automation can gate the partner email to Promote and Approved only.\",section:\"Content\"},showWebsiteButton:{type:ControlType.Boolean,title:\"Show Visit Website Button\",defaultValue:false,description:\"Off (default) = hidden, and the primary CTA is always 'Get in touch'.\",section:\"Content\"},showEditButton:{type:ControlType.Boolean,title:\"Show Edit Listing Button\",defaultValue:false,description:\"Off (default) = the 'Edit your listing' button is hidden. The edit form itself is untouched.\",section:\"Content\"},approvedBadge:{type:ControlType.Image,title:\"Approved Badge\",description:\"Optional. Image/SVG approved stamp. Leave empty for the built-in frilled seal.\",section:\"Content\"},maxTags:{type:ControlType.Number,title:\"Max tags / group\",defaultValue:5,min:3,max:10,step:1,displayStepper:true,section:\"Content\"},operatorsVisible:{type:ControlType.Number,title:\"Operators Visible\",defaultValue:5,min:1,max:30,step:1,displayStepper:true,section:\"Content\"},operatorsOverflowLink:{type:ControlType.Link,title:\"Operators Overflow Link\",defaultValue:\"/contact\",section:\"Content\"},formRecipientEmail:{type:ControlType.String,title:\"Listing Request Email\",placeholder:\"you@yourcompany.com\",section:\"Content\"},liteEnquiryEmail:{type:ControlType.String,title:\"Lite Enquiry Email\",defaultValue:\"hello@wearestacked.io\",description:\"Fallback only. Used if the Airtable write fails, so a lead is never lost.\",section:\"Content\"},spacing:{type:ControlType.Object,title:\"Spacing\",buttonTitle:\"Spacing\",section:\"Design\",controls:{card:grp(\"Card\",{padding:num(\"Padding\",16,0,60,2),radius:num(\"Radius\",20,0,48,2)}),tiles:grp(\"Tiles\",{stackGap:num(\"Stack gap\",12,0,32,1),tilePadding:num(\"Tile padding\",16,0,40,1),tileRadius:num(\"Tile radius\",16,0,40,1)}),badges:grp(\"Badge & logo\",{badgeSize:num(\"Approved badge size\",56,32,120,2),logoHeight:num(\"Logo height\",24,14,60,2)})}},typography:{type:ControlType.Object,title:\"Typography\",buttonTitle:\"Typography\",section:\"Design\",controls:{backLink:typeGroup(\"Back link\",{fontSize:13,fontWeight:500},\"none\"),idName:typeGroup(\"Partner name\",{fontSize:22,fontWeight:700},\"none\"),idSummary:typeGroup(\"Summary\",{fontSize:14,lineHeight:\"1.5em\"},\"none\"),sectionLabel:typeGroup(\"Section label\",{fontSize:10,fontWeight:700,letterSpacing:\"0.08em\"},\"uppercase\"),statNum:typeGroup(\"Stat number\",{fontSize:20,fontWeight:800},\"none\"),statLabel:typeGroup(\"Stat label\",{fontSize:11},\"none\"),barLabel:typeGroup(\"Usage bar label\",{fontSize:11},\"none\"),barVal:typeGroup(\"Usage bar value\",{fontSize:11,fontWeight:700},\"none\"),aboutBody:typeGroup(\"About body\",{fontSize:13,lineHeight:\"1.65em\"},\"none\"),contactText:typeGroup(\"Contact text\",{fontSize:13,fontWeight:600},\"none\"),pillText:typeGroup(\"Pill text\",{fontSize:11,fontWeight:600},\"none\"),supportItem:typeGroup(\"Support item\",{fontSize:12},\"none\"),buttonText:typeGroup(\"Button text\",{fontSize:13,fontWeight:600},\"none\")}},colors:{type:ControlType.Object,title:\"Colors\",buttonTitle:\"Colors\",section:\"Design\",controls:{mainColor:color(\"Main\",\"#E8440A\"),contrastColor:color(\"Contrast\",\"#0F766E\"),textOnAccent:{type:ControlType.Color,title:\"Text on Accent\",defaultValue:\"\"},textOnContrast:{type:ControlType.Color,title:\"Text on Contrast\",defaultValue:\"\"},cardBackground:color(\"Card Background\",\"#FFFFFF\"),backLinkColor:{type:ControlType.Color,title:\"Back link\",defaultValue:\"\"},idNameColor:{type:ControlType.Color,title:\"Partner name\",defaultValue:\"\"},idSummaryColor:{type:ControlType.Color,title:\"Summary\",defaultValue:\"\"},sectionLabelColor:{type:ControlType.Color,title:\"Section label\",defaultValue:\"\"},statNumColor:{type:ControlType.Color,title:\"Stat number\",defaultValue:\"\"},statLabelColor:{type:ControlType.Color,title:\"Stat label\",defaultValue:\"\"},barLabelColor:{type:ControlType.Color,title:\"Usage bar label\",defaultValue:\"\"},barValColor:{type:ControlType.Color,title:\"Usage bar value\",defaultValue:\"\"},barFillColor:{type:ControlType.Color,title:\"Usage bar fill\",defaultValue:\"\"},barTrackColor:{type:ControlType.Color,title:\"Usage bar track\",defaultValue:\"\"},aboutBodyColor:{type:ControlType.Color,title:\"About body\",defaultValue:\"\"},contactTextColor:{type:ControlType.Color,title:\"Contact text\",defaultValue:\"\"},pillTextColor:{type:ControlType.Color,title:\"Pill text\",defaultValue:\"\"},supportItemColor:{type:ControlType.Color,title:\"Support item\",defaultValue:\"\"},buttonTextColor:{type:ControlType.Color,title:\"Button text\",defaultValue:\"\"},buttonFillColor:{type:ControlType.Color,title:\"Button fill\",defaultValue:\"\",description:\"Background of the primary (filled) button. Leave blank to use Main colour.\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StackedPartnerPageMobile\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Partner_Mobile.map"],"mappings":"sMAiEA,SAAS,EAAW,EAAE,CAAC,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