{"version":3,"file":"TranscriptDisclosure.CyNmcOnQ.mjs","names":["__esmMin","init_jsx_runtime","c","p","init_framer_DKgW_P28","ControlType","addPropertyControls","TranscriptDisclosure","props","dark","tone","heading","FEATURES","MEDIUM","label","REGULAR","text","init_TranscriptDisclosure"],"sources":["https:/framerusercontent.com/modules/w4N8X3Hn42IFPRFvd1uj/ItWW4QfHJHIROExXxakJ/TranscriptDisclosure.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const REGULAR='\"Euclid Circular A Regular\", \"Euclid Circular A Regular Placeholder\", sans-serif';const MEDIUM='\"Euclid Circular A Medium\", \"Euclid Circular A Medium Placeholder\", sans-serif';const FEATURES='\"blwf\", \"cv03\", \"cv04\", \"cv09\", \"cv11\"';/**\n * Collapsed-by-default transcript, built on native <details> so it works with the keyboard and\n * screen readers, and the transcript text stays in the page HTML.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function TranscriptDisclosure(props){const{label=\"Read the transcript\",text=\"\",tone=\"light\"}=props;const dark=tone===\"dark\";const heading=dark?\"#FFFFFF\":\"rgb(61, 7, 68)\";const body=dark?\"rgba(255, 255, 255, 0.78)\":\"rgba(61, 7, 68, 0.75)\";const border=dark?\"1px solid rgba(255, 255, 255, 0.12)\":\"1px solid rgb(230, 217, 232)\";const fill=dark?\"transparent\":\"#FFFFFF\";return /*#__PURE__*/_jsxs(\"details\",{className:\"qc-transcript\",style:{position:\"relative\",width:\"100%\",boxSizing:\"border-box\",border,borderRadius:12,background:fill,fontFeatureSettings:FEATURES},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .qc-transcript > summary { list-style: none; }\n                .qc-transcript > summary::-webkit-details-marker { display: none; }\n                .qc-transcript > summary:focus-visible { outline: 2px solid rgb(255, 175, 0); outline-offset: 2px; border-radius: 12px; }\n                .qc-transcript .qc-chevron { transition: transform 0.2s ease; }\n                .qc-transcript[open] .qc-chevron { transform: rotate(180deg); }\n            `}),/*#__PURE__*/_jsxs(\"summary\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:12,padding:\"16px 22px\",cursor:\"pointer\",fontFamily:MEDIUM,fontWeight:500,fontSize:16,lineHeight:\"1.4em\",letterSpacing:\"-0.02em\",color:heading},children:[/*#__PURE__*/_jsx(\"span\",{children:label}),/*#__PURE__*/_jsx(\"svg\",{className:\"qc-chevron\",\"aria-hidden\":\"true\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\",stroke:heading,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:\"0 22px 20px\",fontFamily:REGULAR,fontWeight:400,fontSize:15,lineHeight:\"1.6em\",letterSpacing:\"-0.02em\",color:body,whiteSpace:\"pre-line\"},children:text})]});}addPropertyControls(TranscriptDisclosure,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Read the transcript\"},text:{type:ControlType.String,title:\"Transcript\",displayTextArea:true,defaultValue:\"\"},tone:{type:ControlType.Enum,title:\"Tone\",options:[\"light\",\"dark\"],optionTitles:[\"Light\",\"Dark\"],defaultValue:\"light\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TranscriptDisclosure\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TranscriptDisclosure.map"],"mappings":"A,mKAMG,SAAwBO,EAAqB,EAAM,CAAC,GAAK,CAAC,QAAM,sBAAsB,OAAK,GAAG,OAAK,SAASC,EAAYC,EAAKC,IAAO,OAAaC,EAAQF,EAAK,UAAU,iBAAoN,MAAoB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