{"version":3,"file":"BalsioIntroSplit.D_pQDuxa.mjs","names":["useId","__esmMin","ie","p","c","init_jsx_runtime","init_npm_react_18_3_1","addPropertyControls","init_framer_DKgW_P28","ControlType","BalsioIntroSplit","props","scope","paras","text","posterSrc","poster","SANS","style","BODY","i","video","__FramerMetadata__","init_BalsioIntroSplit","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerIntrinsicWidth\"","\"framerContractVersion\"","\"framerSupportedLayoutHeight\"","\"framerSupportedLayoutWidth\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/iplS28bqH5S2bvMsIRud/uQfdmiJRXVogJqLxRpcM/BalsioIntroSplit.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useId}from\"react\";// Blog intro: the opening paragraphs beside a square film. Text left, centred\n// against the video; the video right at about half the column. Below 640 px\n// of width it stacks: text first, then the video full width. Type matches the\n// blog paragraph preset (Inter 18/16, 1.6, -0.02em, body grey, 20 px spacing).\nconst BODY=\"var(--token-74013cd6-6458-4848-8c3f-a272270580cc, rgb(107, 107, 111))\";const SANS=\"'Inter', -apple-system, system-ui, sans-serif\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 680\n */export default function BalsioIntroSplit(props){const{text=\"\",video=\"\",poster,style}=props;const scope=`bi${useId().replace(/[^a-zA-Z0-9]/g,\"\")}`;const paras=text.split(/\\n\\s*\\n/).map(p=>p.trim()).filter(Boolean);const posterSrc=typeof poster===\"string\"?poster:poster?.src;return /*#__PURE__*/_jsxs(\"div\",{className:scope,style:{width:\"100%\",containerType:\"inline-size\",fontFamily:SANS,...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${scope} .row{display:flex;align-items:center;gap:40px}\n                .${scope} .tx{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:20px}\n                .${scope} .tx p{margin:0;font-size:18px;line-height:1.6em;letter-spacing:-0.02em;color:${BODY};font-feature-settings:'cv09','cv03','cv04','cv11';text-wrap:pretty}\n                .${scope} .vd{position:relative;flex:0 0 50%;aspect-ratio:1/1;border-radius:24px;overflow:hidden;background:#F1F0F5;transform:translateZ(0);box-shadow:0 1px 3px rgba(20,16,30,.06)}\n                .${scope} .vd::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(20,16,30,.09);pointer-events:none}\n                .${scope} video{display:block;width:100%;height:100%;object-fit:cover}\n                @media (max-width:1199.98px){.${scope} .tx p{font-size:16px}}\n                @container (max-width:639px){\n                    .${scope} .row{flex-direction:column;align-items:stretch;gap:24px}\n                    .${scope} .vd{flex:none;width:100%}\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"row\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"tx\",children:paras.map((p,i)=>/*#__PURE__*/_jsx(\"p\",{children:p},i))}),video?/*#__PURE__*/_jsx(\"div\",{className:\"vd\",children:/*#__PURE__*/_jsx(\"video\",{src:video,poster:posterSrc,autoPlay:true,muted:true,loop:true,playsInline:true,preload:\"auto\",\"aria-hidden\":\"true\"})}):null]})]});}addPropertyControls(BalsioIntroSplit,{text:{type:ControlType.String,title:\"Text\",displayTextArea:true,defaultValue:\"First paragraph.\\n\\nSecond paragraph.\"},video:{type:ControlType.File,title:\"Video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},poster:{type:ControlType.ResponsiveImage,title:\"Poster\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BalsioIntroSplit\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"680\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BalsioIntroSplit.map"],"mappings":"A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