{"version":3,"file":"Service_Guide_Card.DoQaYPaw.mjs","names":["React.useState","React.useId","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","ie","_e","p","c","init_jsx_runtime","init_framer_CaDWdxiz","ControlType","addPropertyControls","ServiceGuideCard","props","open","setOpen","startOpen","modal","setModal","email","setEmail","err","setErr","busy","setBusy","cls","sw","imgSrc","iconImage","imageUrl","pdfHref","pdf","pdfUrl","videoHref","video","gateOn","gateEnabled","sheetEndpoint","icons","hasReveal","description","triggerDownload","a","onPdfClick","onSubmit","value","title","css","radius","tileBg","accent","navy","textMid","style","icon","o","pdfLabel","videoLabel","gateHeading","gateSubtext","gateButton","gatePrivacy","init_Service_Guide_Card"],"sources":["https:/framerusercontent.com/modules/c5PpzaDuYYo7v11iVrdR/jbkwuLo9r5gi2LxO00fd/Service_Guide_Card.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Solaire Connect — Service Guide Card\n *\n * A square image/icon tile with the title below acting as a dropdown trigger.\n * Expands to reveal the description plus a Service PDF and optional YouTube link.\n * Binds to the \"Service Guides\" CMS collection inside a Collection List.\n *\n * Image/PDF resolve in this order: the CMS/asset control first (iconImage / pdf),\n * then a plain URL fallback (imageUrl / pdfUrl) so they can be set from a URL too.\n *\n * Optional email gate: when a Sheet endpoint is set, clicking \"Download PDF\"\n * opens a required email form. On submit the email + guide details are POSTed\n * to a Google Sheet (via an Apps Script Web App) and the PDF is then released.\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 380\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function ServiceGuideCard(props){const{title,description,icon,iconImage,imageUrl,pdf,pdfUrl,pdfLabel,video,videoLabel,startOpen,accent,navy,textMid,tileBg,radius,gateEnabled,sheetEndpoint,gateHeading,gateSubtext,gateButton,gatePrivacy,style}=props;const[open,setOpen]=React.useState(!!startOpen);const[modal,setModal]=React.useState(false);const[email,setEmail]=React.useState(\"\");const[err,setErr]=React.useState(\"\");const[busy,setBusy]=React.useState(false);const cls=\"solguide-\"+React.useId().replace(/:/g,\"\");const sw={width:64,height:64};const imgSrc=iconImage?iconImage.src??iconImage:imageUrl||null;const pdfHref=pdf?pdf.src??pdf:pdfUrl||null;const videoHref=video||null;const gateOn=!!(gateEnabled&&sheetEndpoint&&pdfHref);const icons={power:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 2v9\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6.4 6.4a8 8 0 1 0 11.2 0\"})]}),warning:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 3 22 20H2L12 3z\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"10\",x2:\"12\",y2:\"14\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"17\",x2:\"12\",y2:\"17.5\"})]}),wifi:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M2 8.5a16 16 0 0 1 20 0\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 12a11 11 0 0 1 14 0\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8.5 15.5a6 6 0 0 1 7 0\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"19\",x2:\"12\",y2:\"19.5\"})]}),bill:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6 3h9l3 3v15H6z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 3v3h3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 9.5c-1.2 0-2 .6-2 1.4 0 1.8 4 .9 4 2.7 0 .9-.9 1.5-2 1.5m0-5.6V9m0 6.5V17\"})]}),phone:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"7\",y:\"2.5\",width:\"10\",height:\"19\",rx:\"2\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"11\",y1:\"18.5\",x2:\"13\",y2:\"18.5\"})]}),leaf:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M20 4C9 4 4 9 4 17c0 1 .2 2 .5 3 0 0 6 .5 10-3.5 3-3 5.5-9 5.5-12.5z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 19c4-7 9-9 13-10\"})]}),house:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M3 10.5 12 3l9 7.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 9.5V20h14V9.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9.5 20v-5h5v5\"})]}),battery:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"8\",width:\"16\",height:\"9\",rx:\"1.5\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"21\",y1:\"11\",x2:\"21\",y2:\"14\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"6\",y:\"11\",width:\"8\",height:\"3\",rx:\"1\",fill:\"currentColor\",stroke:\"none\"})]}),document:/*#__PURE__*/_jsxs(\"svg\",{...sw,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6 3h9l3 3v15H6z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 3v3h3\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"9\",y1:\"12\",x2:\"15\",y2:\"12\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"9\",y1:\"16\",x2:\"15\",y2:\"16\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"9\",y1:\"8\",x2:\"11\",y2:\"8\"})]})};const hasReveal=!!(description||pdfHref||videoHref);function triggerDownload(){if(!pdfHref)return;const a=document.createElement(\"a\");a.href=pdfHref;a.target=\"_blank\";a.rel=\"noopener\";a.download=\"\";document.body.appendChild(a);a.click();a.remove();}function onPdfClick(e){if(gateOn){e.preventDefault();setErr(\"\");setEmail(\"\");setModal(true);}// if not gated, the <a href download> behaves normally\n}async function onSubmit(e){e.preventDefault();const value=email.trim();if(!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(value)){setErr(\"Please enter a valid email address.\");return;}setErr(\"\");setBusy(true);try{await fetch(sheetEndpoint,{method:\"POST\",mode:\"no-cors\",headers:{\"Content-Type\":\"text/plain;charset=utf-8\"},body:JSON.stringify({email:value,guide:title||\"\",pdf:pdfHref||\"\",page:typeof window!==\"undefined\"?window.location.pathname:\"\"})});}catch(e){// no-cors gives an opaque response; failures here are network-level.\n// We still release the PDF so the customer isn't blocked by CORS.\n}setBusy(false);setModal(false);triggerDownload();}const css=`\n    .${cls} { display:flex; flex-direction:column; width:100%; box-sizing:border-box;\n        font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; }\n    .${cls} .sq { width:100%; aspect-ratio:1/1; border-radius:${radius}px; background:${tileBg};\n        display:flex; align-items:center; justify-content:center; overflow:hidden; color:${accent}; }\n    .${cls} .sq img { width:100%; height:100%; object-fit:cover; }\n    .${cls} .head { display:flex; align-items:center; justify-content:space-between; gap:12px;\n        width:100%; margin-top:18px; background:none; border:none; padding:0; cursor:${hasReveal?\"pointer\":\"default\"};\n        text-align:left; font-family:inherit; }\n    .${cls} h3 { margin:0; color:${open?accent:navy}; font-size:20px; font-weight:800; line-height:1.2; letter-spacing:-0.01em;\n        transition:color .4s ease; }\n    .${cls} .head:hover h3 { color:${accent}; }\n    .${cls} .chev { flex:0 0 auto; color:${accent}; display:flex; transition:transform .25s ease;\n        transform:rotate(${open?\"180deg\":\"0deg\"}); }\n    .${cls} .chev svg { width:20px; height:20px; }\n    .${cls} .panel { display:grid; grid-template-rows:${open?\"1fr\":\"0fr\"}; transition:grid-template-rows .28s ease; }\n    .${cls} .panelin { overflow:hidden; }\n    .${cls} .panelpad { padding-top:12px; display:flex; flex-direction:column; gap:14px; }\n    .${cls} .desc { margin:0; color:${textMid}; font-size:14px; line-height:1.55; }\n    .${cls} .links { display:flex; flex-direction:column; gap:12px; }\n    .${cls} .lnk { display:inline-flex; align-items:center; gap:10px; text-decoration:none;\n        color:${navy}; font-size:18px; font-weight:700; letter-spacing:-0.02em; line-height:1.2;\n        cursor:pointer; background:none; border:none; padding:0; font-family:inherit;\n        transition:color .4s ease; }\n    .${cls} .lnk:hover { color:${accent}; }\n    .${cls} .lnk svg { width:22px; height:22px; flex:0 0 auto; }\n\n    .sgmodal-${cls} { position:fixed; inset:0; z-index:99999; display:flex; align-items:center;\n        justify-content:center; padding:24px; background:rgba(14,42,80,0.55);\n        backdrop-filter:blur(2px); font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; }\n    .sgmodal-${cls} .box { position:relative; width:100%; max-width:420px; background:#fff;\n        border-radius:18px; padding:32px 28px 28px; box-shadow:0 24px 60px rgba(14,42,80,0.28); }\n    .sgmodal-${cls} .x { position:absolute; top:14px; right:14px; width:30px; height:30px; border:none;\n        background:none; cursor:pointer; color:${textMid}; display:flex; align-items:center; justify-content:center; }\n    .sgmodal-${cls} .x svg { width:20px; height:20px; }\n    .sgmodal-${cls} h4 { margin:0 0 8px; color:${navy}; font-size:22px; font-weight:800; line-height:1.2;\n        letter-spacing:-0.02em; }\n    .sgmodal-${cls} .sub { margin:0 0 18px; color:${textMid}; font-size:14px; line-height:1.55; }\n    .sgmodal-${cls} input { width:100%; box-sizing:border-box; padding:13px 15px; border-radius:11px;\n        border:1.5px solid #E3E8EF; font-size:15px; color:${navy}; outline:none; font-family:inherit;\n        transition:border-color .15s ease; }\n    .sgmodal-${cls} input:focus { border-color:${accent}; }\n    .sgmodal-${cls} .errline { margin:8px 2px 0; color:#D14343; font-size:13px; }\n    .sgmodal-${cls} .go { margin-top:14px; width:100%; padding:14px 16px; border:none; border-radius:11px;\n        background:${accent}; color:${navy}; font-size:16px; font-weight:700; letter-spacing:-0.01em;\n        cursor:pointer; font-family:inherit; transition:filter .15s ease; }\n    .sgmodal-${cls} .go:hover { filter:brightness(0.94); }\n    .sgmodal-${cls} .go[disabled] { opacity:.6; cursor:default; }\n    .sgmodal-${cls} .priv { margin:14px 2px 0; color:#9AA6B2; font-size:12px; line-height:1.45; }\n    `;return /*#__PURE__*/_jsxs(\"div\",{className:cls,style:{...style},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsx(\"div\",{className:\"sq\",children:imgSrc?/*#__PURE__*/_jsx(\"img\",{src:imgSrc,alt:title||\"\"}):icons[icon]||icons.document}),/*#__PURE__*/_jsxs(\"button\",{className:\"head\",onClick:()=>hasReveal&&setOpen(o=>!o),\"aria-expanded\":open,children:[/*#__PURE__*/_jsx(\"h3\",{children:title}),hasReveal?/*#__PURE__*/_jsx(\"span\",{className:\"chev\",children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.4\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"m6 9 6 6 6-6\"})})}):null]}),/*#__PURE__*/_jsx(\"div\",{className:\"panel\",children:/*#__PURE__*/_jsx(\"div\",{className:\"panelin\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"panelpad\",children:[description?/*#__PURE__*/_jsx(\"p\",{className:\"desc\",children:description}):null,pdfHref||videoHref?/*#__PURE__*/_jsxs(\"div\",{className:\"links\",children:[pdfHref?/*#__PURE__*/_jsxs(\"a\",{className:\"lnk\",href:pdfHref,onClick:onPdfClick,target:\"_blank\",rel:\"noopener\",download:true,children:[/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 3v12\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m7 11 5 5 5-5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 21h14\"})]}),pdfLabel]}):null,videoHref?/*#__PURE__*/_jsxs(\"a\",{className:\"lnk\",href:videoHref,target:\"_blank\",rel:\"noopener\",children:[/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"9\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M10 9l5 3-5 3z\",fill:\"currentColor\",stroke:\"none\"})]}),videoLabel]}):null]}):null]})})}),modal?/*#__PURE__*/_jsx(\"div\",{className:\"sgmodal-\"+cls,onClick:()=>!busy&&setModal(false),children:/*#__PURE__*/_jsxs(\"div\",{className:\"box\",onClick:e=>e.stopPropagation(),children:[/*#__PURE__*/_jsx(\"button\",{className:\"x\",onClick:()=>!busy&&setModal(false),\"aria-label\":\"Close\",children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.2\",strokeLinecap:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 6l12 12M18 6L6 18\"})})}),/*#__PURE__*/_jsx(\"h4\",{children:gateHeading}),/*#__PURE__*/_jsx(\"p\",{className:\"sub\",children:gateSubtext}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:onSubmit,children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",inputMode:\"email\",autoComplete:\"email\",placeholder:\"you@email.com\",value:email,autoFocus:true,onChange:e=>setEmail(e.target.value)}),err?/*#__PURE__*/_jsx(\"div\",{className:\"errline\",children:err}):null,/*#__PURE__*/_jsx(\"button\",{className:\"go\",type:\"submit\",disabled:busy,children:busy?\"Sending…\":gateButton})]}),gatePrivacy?/*#__PURE__*/_jsx(\"p\",{className:\"priv\",children:gatePrivacy}):null]})}):null]});}ServiceGuideCard.defaultProps={title:\"Restart Your Inverter\",description:\"Learn how to complete a safe inverter re-boot for your specific inverter make.\",icon:\"power\",iconImage:null,imageUrl:\"\",pdf:null,pdfUrl:\"\",pdfLabel:\"Download PDF\",video:\"\",videoLabel:\"Watch on YouTube\",startOpen:false,accent:\"#F4941D\",navy:\"#0E2A50\",textMid:\"#5A6B7A\",tileBg:\"#0E2A50\",radius:16,gateEnabled:true,sheetEndpoint:\"\",gateHeading:\"Get the guide\",gateSubtext:\"Enter your email and we'll open your PDF guide right away.\",gateButton:\"Email me the guide\",gatePrivacy:\"We'll only use this to send you solar support updates. Unsubscribe anytime.\"};addPropertyControls(ServiceGuideCard,{title:{type:ControlType.String,title:\"Title\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true},icon:{type:ControlType.Enum,title:\"Icon\",options:[\"power\",\"warning\",\"wifi\",\"bill\",\"phone\",\"leaf\",\"house\",\"battery\",\"document\"],optionTitles:[\"Power\",\"Warning\",\"WiFi\",\"Power Bill\",\"Phone / App\",\"Leaf / Service\",\"House\",\"Battery\",\"Document\"]},iconImage:{type:ControlType.ResponsiveImage,title:\"Square image\",description:\"Optional — fills the square and overrides the preset icon.\"},imageUrl:{type:ControlType.String,title:\"Square image URL\",description:\"Optional fallback used when no Square image is set.\",placeholder:\"https://…\"},pdf:{type:ControlType.File,title:\"Service PDF\",allowedFileTypes:[\"pdf\"]},pdfUrl:{type:ControlType.String,title:\"Service PDF URL\",description:\"Optional fallback used when no Service PDF file is set.\",placeholder:\"https://…\"},pdfLabel:{type:ControlType.String,title:\"PDF label\"},video:{type:ControlType.Link,title:\"YouTube link\"},videoLabel:{type:ControlType.String,title:\"Video label\"},startOpen:{type:ControlType.Boolean,title:\"Start open\",enabledTitle:\"Open\",disabledTitle:\"Closed\"},accent:{type:ControlType.Color,title:\"Accent / icon\"},navy:{type:ControlType.Color,title:\"Title color\"},textMid:{type:ControlType.Color,title:\"Body text\"},tileBg:{type:ControlType.Color,title:\"Square BG\"},radius:{type:ControlType.Number,title:\"Square radius\",min:0,max:40,step:1},gateEnabled:{type:ControlType.Boolean,title:\"Email gate\",enabledTitle:\"On\",disabledTitle:\"Off\"},sheetEndpoint:{type:ControlType.String,title:\"Sheet URL\",description:\"Google Apps Script Web App URL that logs submissions. Leave blank to download without a gate.\",placeholder:\"https://script.google.com/macros/s/…/exec\"},gateHeading:{type:ControlType.String,title:\"Form heading\",hidden:p=>!p.gateEnabled},gateSubtext:{type:ControlType.String,title:\"Form subtext\",displayTextArea:true,hidden:p=>!p.gateEnabled},gateButton:{type:ControlType.String,title:\"Button label\",hidden:p=>!p.gateEnabled},gatePrivacy:{type:ControlType.String,title:\"Privacy note\",displayTextArea:true,hidden:p=>!p.gateEnabled}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ServiceGuideCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"380\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Service_Guide_Card.map"],"mappings":"A,sMAkBG,SAAwBc,EAAiB,EAAM,CAAC,GAAK,CAAC,QAAM,cAAY,OAAK,YAAU,WAAS,MAAI,SAAO,WAAS,QAAM,aAAW,YAAU,SAAO,OAAK,UAAQ,SAAO,SAAO,cAAY,gBAAc,cAAY,cAAY,aAAW,cAAY,SAAOC,EAAW,CAACC,EAAKC,GAASjB,EAAe,CAAC,CAACkB,CAAS,EAAO,CAACC,EAAMC,GAAUpB,EAAe,EAAK,EAAO,CAACqB,EAAMC,GAAUtB,EAAe,EAAE,EAAO,CAACuB,EAAIC,GAAQxB,EAAe,EAAE,EAAO,CAACyB,EAAKC,GAAS1B,EAAe,EAAK,EAAQ2B,EAAI,YAAY1B,EAAY,CAAC,CAAC,QAAQ,KAAK,EAAE,EAAQ2B,EAAG,CAAC,MAAM,GAAG,OAAO,EAAE,EAAQC,EAAOC,EAAUA,EAAU,KAAKA,EAAUC,GAAU,KAAWC,EAAQC,EAAIA,EAAI,KAAKA,EAAIC,GAAQ,KAAWC,EAAUC,GAAO,KAAWC,EAAO,CAAC,EAAEC,GAAaC,GAAeP,GAAeQ,EAAM,CAAC,MAAmB,gBAAM,MAAM,CAAC,GAAGZ,EAAG,QAAQ,YAAY,KAAK,OAAO,OAAO,eAAe,YAAY,MAAM,cAAc,QA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