{"version":3,"file":"CopyBio.JLgemYL7.mjs","names":["React.forwardRef","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","navigator","init_jsx_runtime","J","motion","cx","withCSS","useSVGTemplate","init_framer_CN96F41L","addPropertyControls","ControlType","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_Sl3ueOpXz","props","rest","animated","width1","color","restProps","href","className","P_DcoRcrY","JEeZYcamG","style","showToast","el","message","esc","s","inlineHtml","out","node","child","tag","writeClipboard","CI","html","text","area","copyFrom","source","id","rich","blocks","b","make","Component","event","withCopyLaylaShortBio","withCopyLaylaLongBio","withCopyCompanyShortBio","withCopyCompanyLongBio","withCopyLaylaOneLiner","withCopyCompanyOneLiner","withCopyBreakoutPlan","withCopyTalkOutline","withCopyPromoSocial","withCopyPromoPS","withCopyPromoEmail","init_CopyBio"],"sources":["https:/framerusercontent.com/modules/lZNOZamVG8HCv7dMlHyB/fT3XdDFJGT4Izvj5brkF/Sl3ueOpXz.js","https:/framerusercontent.com/modules/iNKD2H0wyXYWhkP9ElYI/Q91fkJWpXLauqSCaNJgD/CopyBio.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 2 14 C 0.895 14 0 13.105 0 12 L 0 2 C 0 0.895 0.895 0 2 0 L 12 0 C 13.105 0 14 0.895 14 2 L 14 12 C 14 13.105 13.105 14 12 14 Z\" fill=\"transparent\" height=\"14px\" id=\"qFn6OzzMj\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(8 8)\" width=\"14px\"/><path d=\"M 2 14 C 0.9 14 0 13.1 0 12 L 0 2 C 0 0.9 0.9 0 2 0 L 12 0 C 13.1 0 14 0.9 14 2\" fill=\"transparent\" height=\"14px\" id=\"PTTC2Hjkk\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 2)\" width=\"14px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"1319649412\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-EyjjJ\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-EyjjJ { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Copy\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-EyjjJ\");Icon.displayName=\"Copy\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Copy\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// Copies the visible text of the element with the given id to the clipboard.\n// The bio text lives on the page (one source of truth); these overrides only read it.\nfunction showToast(message){const el=document.createElement(\"div\");el.textContent=message;Object.assign(el.style,{position:\"fixed\",left:\"50%\",bottom:\"32px\",transform:\"translateX(-50%)\",background:\"#141110\",color:\"#FFFFFF\",fontFamily:'\"Anybody\", sans-serif',fontWeight:\"700\",fontSize:\"14px\",padding:\"10px 18px\",borderRadius:\"999px\",zIndex:\"9999\",boxShadow:\"0px 8px 24px rgba(20,17,16,0.18)\",pointerEvents:\"none\"});document.body.appendChild(el);window.setTimeout(()=>el.remove(),1800);}function esc(s){return s.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\");}function inlineHtml(node){let out=\"\";node.childNodes.forEach(child=>{if(child.nodeType===3)out+=esc(child.textContent||\"\");else if(child instanceof HTMLElement){const tag=child.tagName;if(tag===\"BR\")out+=\"<br>\";else if(tag===\"A\")out+=`<a href=\"${child.href}\">${esc(child.textContent||\"\")}</a>`;else if(tag===\"STRONG\"||tag===\"B\")out+=`<strong>${inlineHtml(child)}</strong>`;else out+=inlineHtml(child);}});return out;}async function writeClipboard(text,html){try{const CI=window.ClipboardItem;if(html&&CI&&navigator.clipboard?.write){await navigator.clipboard.write([new CI({\"text/html\":new Blob([html],{type:\"text/html\"}),\"text/plain\":new Blob([text],{type:\"text/plain\"})})]);return;}await navigator.clipboard.writeText(text);}catch{const area=document.createElement(\"textarea\");area.value=text;area.style.position=\"fixed\";area.style.opacity=\"0\";document.body.appendChild(area);area.select();document.execCommand(\"copy\");area.remove();}}// rich: copies paragraphs with links as HTML (plus plain text), skipping the first line (the box title)\nasync function copyFrom(id,rich=false){const source=document.getElementById(id);if(!source)return;if(rich){const blocks=Array.from(source.querySelectorAll(\"p, h1, h2, h3, h4, h5, h6\")).slice(1);if(blocks.length){const text=blocks.map(b=>(b.innerText||\"\").trim()).join(\"\\n\\n\");const html=blocks.map(b=>`<p>${inlineHtml(b)}</p>`).join(\"\");await writeClipboard(text,html);showToast(\"Copied\");return;}}const text=(source.innerText||\"\").replace(/\\n{3,}/g,\"\\n\\n\").trim();await writeClipboard(text);showToast(\"Copied\");}function make(Component,id,rich=false){return /*#__PURE__*/forwardRef(function CopyOverride(props,ref){const{style,...rest}=props;return /*#__PURE__*/_jsx(Component,{...rest,ref:ref,role:\"button\",tabIndex:0,style:{...style,cursor:\"pointer\"},onClick:()=>copyFrom(id,rich),onKeyDown:event=>{if(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();copyFrom(id,rich);}}});});}export function withCopyLaylaShortBio(Component){return make(Component,\"bio-layla-short\");}export function withCopyLaylaLongBio(Component){return make(Component,\"bio-layla-long\");}export function withCopyCompanyShortBio(Component){return make(Component,\"bio-company-short\");}export function withCopyCompanyLongBio(Component){return make(Component,\"bio-company-long\");}export function withCopyLaylaOneLiner(Component){return make(Component,\"bio-layla-oneliner\");}export function withCopyCompanyOneLiner(Component){return make(Component,\"bio-company-oneliner\");}export function withCopyBreakoutPlan(Component){return make(Component,\"breakout-plan-text\");}export function withCopyTalkOutline(Component){return make(Component,\"talk-outline-text\");}export function withCopyPromoSocial(Component){return make(Component,\"promo-social-text\",true);}export function withCopyPromoPS(Component){return make(Component,\"promo-ps-text\",true);}export function withCopyPromoEmail(Component){return make(Component,\"promo-email-text\",true);}\nexport const __FramerMetadata__ = {\"exports\":{\"withCopyLaylaOneLiner\":{\"type\":\"reactHoc\",\"name\":\"withCopyLaylaOneLiner\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyCompanyOneLiner\":{\"type\":\"reactHoc\",\"name\":\"withCopyCompanyOneLiner\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyTalkOutline\":{\"type\":\"reactHoc\",\"name\":\"withCopyTalkOutline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyLaylaShortBio\":{\"type\":\"reactHoc\",\"name\":\"withCopyLaylaShortBio\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyCompanyShortBio\":{\"type\":\"reactHoc\",\"name\":\"withCopyCompanyShortBio\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyLaylaLongBio\":{\"type\":\"reactHoc\",\"name\":\"withCopyLaylaLongBio\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyPromoSocial\":{\"type\":\"reactHoc\",\"name\":\"withCopyPromoSocial\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyBreakoutPlan\":{\"type\":\"reactHoc\",\"name\":\"withCopyBreakoutPlan\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyCompanyLongBio\":{\"type\":\"reactHoc\",\"name\":\"withCopyCompanyLongBio\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyPromoEmail\":{\"type\":\"reactHoc\",\"name\":\"withCopyPromoEmail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyPromoPS\":{\"type\":\"reactHoc\",\"name\":\"withCopyPromoPS\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CopyBio.map"],"mappings":"A,uTACgM,EAAK,0BAAgC,EAAkB,gBAAW,SAAS,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,GAAGuB,EAAU,MAAI,SAASA,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAUf,EAAO,OAAOQ,CAAI,EAAQ,EAAiB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAGQ,GAAMD,EAAM,OAAOE,EAAsB,gBAAKR,EAAU,CAAC,GAAGO,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,gBAAK,MAAM,CAAC,GAAGA,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQ,EAAI,+wBAAqxB,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAGD,MAAgB,CAAC,GAAGA,EAAM,UAAUG,GAAQH,EAAM,WAAW,EAAE,UAAUI,GAAOJ,EAAM,WAAW,cAAc,GAS3jD,EAAKb,EATulDV,kBAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,GAAG4B,GAAWR,EAASG,CAAK,EAAQM,EAA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