{"version":3,"file":"ClientVideoRow.YQZDIvvL.mjs","names":["React.useRef","React.useState","__esmMin","_e","de","c","init_jsx_runtime","init_npm_react_18_3_1","p","Player","ref","started","setStarted","props","v","ClientVideoRow","videoSchema","styles","VIDEOS","MEDIA","init_ClientVideoRow"],"sources":["https:/framerusercontent.com/modules/wrxmfRowYyaThX91NMLp/u9wQ4rFJvT8G6O1v8HEV/ClientVideoRow.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";const MEDIA=\"https://tradie-media.aaee.com.au/testimonials\";const VIDEOS=[{slug:\"your-plumbing-mates\",file:\"mason-testimonial\",name:\"Mason\",business:\"Your Plumbing Mates\",watch:\"1:06\",seconds:66,title:\"Mason from Your Plumbing Mates on a constant flow of leads\",description:\"Mason from Your Plumbing Mates describes six months with Tradie Marketing Pros: leads arriving every morning and through the day, and working with an agency run by a plumber.\"},{slug:\"logan-plumbing-and-gas\",file:\"joseph-testimonial\",name:\"Joseph\",business:\"Logan Plumbing & Gas\",watch:\"1:07\",seconds:67,title:\"Joseph from Logan Plumbing & Gas on better leads and being booked out\",description:\"Joseph, owner of Logan Plumbing & Gas, describes six months with Tradie Marketing Pros: the phone ringing more, better-quality leads and being booked out up to two weeks in advance.\"},{slug:\"north-lakes-plumbing\",file:\"hot-water-testimonial\",name:\"North Lakes Plumbing & Gas\",business:\"Brisbane\",watch:\"0:29\",seconds:29,title:\"North Lakes Plumbing & Gas on close to 70 hot water systems in a month\",description:\"A plumber from North Lakes Plumbing & Gas in Brisbane says the business did close to 70 hot water systems last month, six in one day, with 17 more installs lined up.\"}].map(v=>({...v,src:`${MEDIA}/${v.slug}/${v.file}-720.mp4`,src1080:`${MEDIA}/${v.slug}/${v.file}-1080.mp4`,poster:`${MEDIA}/${v.slug}/${v.file}-poster.jpg`}));const videoSchema=VIDEOS.map(v=>({\"@context\":\"https://schema.org\",\"@type\":\"VideoObject\",name:v.title,description:v.description,thumbnailUrl:[v.poster],contentUrl:v.src1080,uploadDate:\"2026-11-02T16:00:00+10:00\",duration:`PT${v.seconds}S`,inLanguage:\"en-AU\",publisher:{\"@type\":\"Organization\",name:\"Tradie Marketing Pros\",url:\"https://tradiemarketingpros.com.au/\"}}));const styles=`\r\n.tmp-cv{position:relative;width:100%;container-type:inline-size;container-name:tmpcv;background:#0a0a0a;color:#d6d6d6;font-family:Inter,\"Inter Placeholder\",Arial,sans-serif;-webkit-font-smoothing:antialiased}\r\n.tmp-cv *{box-sizing:border-box}\r\n.tmp-cv__inner{width:100%;max-width:1600px;margin:0 auto;padding:100px 50px}\r\n.tmp-cv__eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 20px;padding:2px 10px 0;background:rgba(255,255,255,.05);color:#e02f2f;font-family:\"Red Hat Mono\",ui-monospace,monospace;font-size:14px;line-height:21px;letter-spacing:1.4px;text-transform:uppercase;font-weight:600}\r\n.tmp-cv__eyebrow:before{content:\"\";flex:none;width:7px;height:7px;margin-top:-2px;background:#e02f2f}\r\n.tmp-cv h2{font-size:40px;line-height:1.1;letter-spacing:-.05em;font-weight:600;margin:0 0 48px;color:#d6d6d6;max-width:800px;text-wrap:balance}\r\n.tmp-cv__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}\r\n.tmp-cv__card{margin:0;background:#1b1b1b;border:1px solid rgba(255,255,255,.06);border-radius:3px;padding:16px;display:flex;flex-direction:column;gap:16px}\r\n.tmp-cv__media{position:relative;aspect-ratio:9/16;width:100%;border-radius:3px;overflow:hidden;background:#000}\r\n.tmp-cv__media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}\r\n.tmp-cv__media::after{content:\"\";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.55));pointer-events:none;transition:opacity .2s}\r\n.tmp-cv__media.is-playing::after{opacity:0}\r\n.tmp-cv__play{position:absolute;inset:0;margin:auto;width:84px;height:84px;border-radius:50%;border:0;padding:0;background:#e02f2f;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(0,0,0,.45);transition:transform .2s ease,background .2s ease;z-index:2}\r\n.tmp-cv__play svg{width:36px;height:36px;margin-left:5px;position:relative;z-index:1}\r\n.tmp-cv__play:hover{transform:scale(1.08);background:#ff3b3e}\r\n.tmp-cv__play:focus-visible{outline:3px solid #fff;outline-offset:4px}\r\n.tmp-cv__ring{position:absolute;inset:-10px;border-radius:50%;border:2px solid rgba(224,47,47,.7);animation:tmpCvPulse 2s ease-out infinite}\r\n@keyframes tmpCvPulse{0%{transform:scale(.9);opacity:1}100%{transform:scale(1.35);opacity:0}}\r\n@media (prefers-reduced-motion:reduce){.tmp-cv__ring{animation:none}}\r\n.tmp-cv__hint{position:absolute;left:0;right:0;bottom:16px;text-align:center;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#fff;z-index:2;pointer-events:none}\r\n.tmp-cv__who{margin:0;padding:0 6px 4px;font-size:16px;line-height:1.4;color:#8a8a8a}\r\n.tmp-cv__who strong{color:#fff;font-weight:600}\r\n@container tmpcv (max-width:1099px){.tmp-cv__inner{padding:80px 50px}}\r\n@container tmpcv (max-width:809px){\r\n.tmp-cv__inner{padding:60px 0}\r\n.tmp-cv__eyebrow,.tmp-cv h2{margin-left:20px;margin-right:20px}\r\n.tmp-cv h2{font-size:30px;margin-bottom:32px}\r\n.tmp-cv__row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0 20px 8px;scrollbar-width:none}\r\n.tmp-cv__row::-webkit-scrollbar{display:none}\r\n.tmp-cv__card{flex:0 0 78%;max-width:340px;scroll-snap-align:start;padding:12px;gap:12px}\r\n.tmp-cv__play{width:68px;height:68px}\r\n.tmp-cv__play svg{width:28px;height:28px}\r\n}\r\n`;function Player(props){const ref=React.useRef(null);const[started,setStarted]=React.useState(false);const play=()=>{const v=ref.current;if(!v)return;v.muted=false;v.volume=1;setStarted(true);v.play().catch(()=>{});};return /*#__PURE__*/_jsxs(\"div\",{className:\"tmp-cv__media\"+(started?\" is-playing\":\"\"),children:[/*#__PURE__*/_jsx(\"video\",{ref:ref,src:props.src,poster:props.poster,controls:started,playsInline:true,preload:\"metadata\",title:props.title}),!started&&/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"tmp-cv__play\",onClick:play,\"aria-label\":\"Play: \"+props.title,children:[/*#__PURE__*/_jsx(\"span\",{className:\"tmp-cv__ring\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 5.5v13l11-6.5z\",fill:\"currentColor\"})})]}),!started&&/*#__PURE__*/_jsxs(\"span\",{className:\"tmp-cv__hint\",\"aria-hidden\":\"true\",children:[\"Watch \\xb7 \",props.watch]})]});}/**\r\n * Three client video testimonials in a row (horizontal scroll on phones)\r\n *\r\n * @framerSupportedLayoutWidth any-prefer-fixed\r\n * @framerSupportedLayoutHeight auto\r\n */export default function ClientVideoRow(props){return /*#__PURE__*/_jsxs(\"section\",{className:\"tmp-cv\",style:{...props.style,position:\"relative\",width:\"100%\"},\"aria-label\":\"Client video testimonials\",children:[/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(videoSchema)}}),/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsxs(\"div\",{className:\"tmp-cv__inner\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"tmp-cv__eyebrow\",children:\"Client videos\"}),/*#__PURE__*/_jsx(\"h2\",{children:\"Hear it from the tradies.\"}),/*#__PURE__*/_jsx(\"div\",{className:\"tmp-cv__row\",children:VIDEOS.map(v=>/*#__PURE__*/_jsxs(\"figure\",{className:\"tmp-cv__card\",children:[/*#__PURE__*/_jsx(Player,{src:v.src,poster:v.poster,title:v.title,watch:v.watch}),/*#__PURE__*/_jsxs(\"figcaption\",{className:\"tmp-cv__who\",children:[/*#__PURE__*/_jsx(\"strong\",{children:v.name}),\" \\xb7 \",v.business]})]},v.slug))})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ClientVideoRow\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ClientVideoRow.map"],"mappings":"A,gIAkCE,SAASS,EAAO,EAAM,CAAC,IAAMC,EAAIV,EAAa,IAAI,EAAO,CAACW,EAAQC,GAAYX,EAAe,EAAK,EAAsH,MAAoB,gBAAM,MAAM,CAAC,UAAU,iBAAiBU,EAAQ,cAAc,IAAI,SAAS,CAAc,gBAAK,QAAQ,CAAK,MAAI,IAAIE,EAAM,IAAI,OAAOA,EAAM,OAAO,SAASF,EAAQ,YAAY,GAAK,QAAQ,WAAW,MAAME,EAAM,KAAK,CAAC,EAAE,CAACF,GAAsB,gBAAM,SAAS,CAAC,KAAK,SAAS,UAAU,eAAe,YAAja,CAAC,IAAMG,EAAEJ,EAAI,QAAYI,IAAS,EAAE,MAAM,GAAM,EAAE,OAAO,EAAEF,EAAW,EAAI,EAAEE,EAAE,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,EAAE,EAA2U,aAAa,SAASD,EAAM,MAAM,SAAS,CAAc,gBAAK,OAAO,CAAC,UAAU,eAAe,cAAc,MAAM,CAAC,EAAe,gBAAK,MAAM,CAAC,QAAQ,YAAY,cAAc,OAAO,SAAsB,gBAAK,OAAO,CAAC,EAAE,oBAAoB,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAACF,GAAsB,gBAAM,OAAO,CAAC,UAAU,eAAe,cAAc,OAAO,SAAS,CAAC,WAAcE,EAAM,KAAK,CAAC,CAAC,CAAC,CAAC,C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