{"version":3,"file":"FlowCanvas.DVORyyvD.mjs","names":["useState","useRef","useMemo","useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/GM5pnrMk51TVUEFvKoEf/ke8p9tcb0y6fCqbzr3KF/FlowCanvas.js"],"sourcesContent":["// User request: Create a new FlowCanvas Framer code component — an interactive dark-themed node-graph canvas with draggable nodes, bezier connections, bounded panning, static-render safety, and editable workflow data via property controls.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useMemo,useRef,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const NODE_WIDTH=232;const FILE_NODE_WIDTH=180;const IMAGE_FILE_NODE_WIDTH=188;const COMPOSITOR_NODE_WIDTH=310;const MEDIA_HEIGHT=200;const PAN_LIMIT=600;const BRAND_ICONS={meta:{content:/*#__PURE__*/_jsx(\"path\",{fill:\"#0467DF\",d:\"M6.915 4.03c-1.968 0-3.683 1.28-4.871 3.113C.704 9.208 0 11.883 0 14.449c0 .706.07 1.369.21 1.973a6.624 6.624 0 0 0 .265.86 5.297 5.297 0 0 0 .371.761c.696 1.159 1.818 1.927 3.593 1.927 1.497 0 2.633-.671 3.965-2.444.76-1.012 1.144-1.626 2.663-4.32l.756-1.339.186-.325c.061.1.121.196.183.3l2.152 3.595c.724 1.21 1.665 2.556 2.47 3.314 1.046.987 1.992 1.22 3.06 1.22 1.075 0 1.876-.355 2.455-.843a3.743 3.743 0 0 0 .81-.973c.542-.939.861-2.127.861-3.745 0-2.72-.681-5.357-2.084-7.45-1.282-1.912-2.957-2.93-4.716-2.93-1.047 0-2.088.467-3.053 1.308-.652.57-1.257 1.29-1.82 2.05-.69-.875-1.335-1.547-1.958-2.056-1.182-.966-2.315-1.303-3.454-1.303zm10.16 2.053c1.147 0 2.188.758 2.992 1.999 1.132 1.748 1.647 4.195 1.647 6.4 0 1.548-.368 2.9-1.839 2.9-.58 0-1.027-.23-1.664-1.004-.496-.601-1.343-1.878-2.832-4.358l-.617-1.028a44.908 44.908 0 0 0-1.255-1.98c.07-.109.141-.224.211-.327 1.12-1.667 2.118-2.602 3.358-2.602zm-10.201.553c1.265 0 2.058.791 2.675 1.446.307.327.737.871 1.234 1.579l-1.02 1.566c-.757 1.163-1.882 3.017-2.837 4.338-1.191 1.649-1.81 1.817-2.486 1.817-.524 0-1.038-.237-1.383-.794-.263-.426-.464-1.13-.464-2.046 0-2.221.63-4.535 1.66-6.088.454-.687.964-1.226 1.533-1.533a2.264 2.264 0 0 1 1.088-.285z\"})},amazon:{content:/*#__PURE__*/_jsx(\"path\",{fill:\"#FF9900\",d:\"M.045 18.02c.072-.116.187-.124.348-.022 3.636 2.11 7.594 3.166 11.87 3.166 2.852 0 5.668-.533 8.447-1.595l.315-.14c.138-.06.234-.1.293-.13.226-.088.39-.046.525.13.12.174.09.336-.12.48-.256.19-.6.41-1.006.654-1.244.743-2.64 1.316-4.185 1.726a17.617 17.617 0 01-10.951-.577 17.88 17.88 0 01-5.43-3.35c-.1-.074-.151-.15-.151-.22 0-.047.021-.09.051-.13zm6.565-6.218c0-1.005.247-1.863.743-2.577.495-.71 1.17-1.25 2.04-1.615.796-.335 1.756-.575 2.912-.72.39-.046 1.033-.103 1.92-.174v-.37c0-.93-.105-1.558-.3-1.875-.302-.43-.78-.65-1.44-.65h-.182c-.48.046-.896.196-1.246.46-.35.27-.575.63-.675 1.096-.06.3-.206.465-.435.51l-2.52-.315c-.248-.06-.372-.18-.372-.39 0-.046.007-.09.022-.15.247-1.29.855-2.25 1.82-2.88.976-.616 2.1-.975 3.39-1.05h.54c1.65 0 2.957.434 3.888 1.29.135.15.27.3.405.48.12.165.224.314.283.45.075.134.15.33.195.57.06.254.105.42.135.51.03.104.062.3.076.615.01.313.02.493.02.553v5.28c0 .376.06.72.165 1.036.105.313.21.54.315.674l.51.674c.09.136.136.256.136.36 0 .12-.06.226-.18.314-1.2 1.05-1.86 1.62-1.963 1.71-.165.135-.375.15-.63.045a6.062 6.062 0 01-.526-.496l-.31-.347a9.391 9.391 0 01-.317-.42l-.3-.435c-.81.886-1.603 1.44-2.4 1.665-.494.15-1.093.227-1.83.227-1.11 0-2.04-.343-2.76-1.034-.72-.69-1.08-1.665-1.08-2.94l-.05-.076zm3.753-.438c0 .566.14 1.02.425 1.364.285.34.675.512 1.155.512.045 0 .106-.007.195-.02.09-.016.134-.023.166-.023.614-.16 1.08-.553 1.424-1.178.165-.28.285-.58.36-.91.09-.32.12-.59.135-.8.015-.195.015-.54.015-1.005v-.54c-.84 0-1.484.06-1.92.18-1.275.36-1.92 1.17-1.92 2.43l-.035-.02zm9.162 7.027c.03-.06.075-.11.132-.17.362-.243.714-.41 1.05-.5a8.094 8.094 0 011.612-.24c.14-.012.28 0 .41.03.65.06 1.05.168 1.172.33.063.09.099.228.099.39v.15c0 .51-.149 1.11-.424 1.8-.278.69-.664 1.248-1.156 1.68-.073.06-.14.09-.197.09-.03 0-.06 0-.09-.012-.09-.044-.107-.12-.064-.24.54-1.26.806-2.143.806-2.64 0-.15-.03-.27-.087-.344-.145-.166-.55-.257-1.224-.257-.243 0-.533.016-.87.046-.363.045-.7.09-1 .135-.09 0-.148-.014-.18-.044-.03-.03-.036-.047-.02-.077 0-.017.006-.03.02-.063v-.06z\"})},tiktok:{content:/*#__PURE__*/_jsx(\"path\",{fill:\"#010101\",d:\"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z\"})},instagram:{content:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"linearGradient\",{id:\"fcIconIgGrad\",gradientUnits:\"userSpaceOnUse\",x1:\"2\",y1:\"22\",x2:\"22\",y2:\"2\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#FEDA75\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.5\",stopColor:\"#D62976\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#962FBF\"})]})}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconIgGrad)\",d:\"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077\"})]})},bytedance:{content:/*#__PURE__*/_jsx(\"path\",{fill:\"#3C8CFF\",d:\"M19.8772 1.4685L24 2.5326v18.9426l-4.1228 1.0563V1.4685zm-13.3481 9.428l4.115 1.0641v8.9786l-4.115 1.0642v-11.107zM0 2.572l4.115 1.0642v16.7354L0 21.428V2.572zm17.4553 5.6205v11.107l-4.1228-1.0642V9.2568l4.1228-1.0642z\"})},openai:{content:/*#__PURE__*/_jsx(\"path\",{fill:\"#17181C\",fillRule:\"evenodd\",d:\"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z\"})},claude:{content:/*#__PURE__*/_jsx(\"path\",{fill:\"#D97757\",fillRule:\"nonzero\",d:\"M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z\"})},gemini:{content:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsxs(\"linearGradient\",{gradientUnits:\"userSpaceOnUse\",id:\"fcIconGemA\",x1:\"7\",x2:\"11\",y1:\"15.5\",y2:\"12\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#08B962\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#08B962\",stopOpacity:\"0\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{gradientUnits:\"userSpaceOnUse\",id:\"fcIconGemB\",x1:\"8\",x2:\"11.5\",y1:\"5.5\",y2:\"11\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#F94543\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#F94543\",stopOpacity:\"0\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{gradientUnits:\"userSpaceOnUse\",id:\"fcIconGemC\",x1:\"3.5\",x2:\"17.5\",y1:\"13.5\",y2:\"12\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#FABC12\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".46\",stopColor:\"#FABC12\",stopOpacity:\"0\"})]})]}),/*#__PURE__*/_jsx(\"path\",{fill:\"#3186FF\",d:\"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconGemA)\",d:\"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconGemB)\",d:\"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconGemC)\",d:\"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z\"})]})},kling:{content:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsxs(\"radialGradient\",{cx:\"0\",cy:\"0\",gradientTransform:\"matrix(7.47772 -12.51022 17.14368 10.24728 5.173 13.637)\",gradientUnits:\"userSpaceOnUse\",id:\"fcIconKlingA\",r:\"1\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\".095\",stopColor:\"#FFF959\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".326\",stopColor:\"#0DF35E\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".64\",stopColor:\"#0BF2F9\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#04A6F0\"})]}),/*#__PURE__*/_jsxs(\"radialGradient\",{cx:\"0\",cy:\"0\",gradientTransform:\"rotate(120.868 6.491 10.491) scale(14.5747 19.9728)\",gradientUnits:\"userSpaceOnUse\",id:\"fcIconKlingB\",r:\"1\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\".095\",stopColor:\"#FFF959\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".326\",stopColor:\"#0DF35E\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".64\",stopColor:\"#0BF2F9\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#04A6F0\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{gradientUnits:\"userSpaceOnUse\",id:\"fcIconKlingC\",x1:\"15.578\",x2:\"18.062\",y1:\"1.798\",y2:\"9.861\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#003EFF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#0BFFE7\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{gradientUnits:\"userSpaceOnUse\",id:\"fcIconKlingD\",x1:\"8.422\",x2:\"5.938\",y1:\"22.142\",y2:\"14.079\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#003EFF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#0BFFE7\"})]})]}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconKlingA)\",d:\"M5.412 13.775A23.193 23.193 0 017.41 9.32c3.17-5.492 7.795-8.757 10.33-7.294C12.038-1.266 4.598.944 1.122 6.964A13.378 13.378 0 00.085 9.22c-.259.739.092 1.534.77 1.926l4.557 2.63z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconKlingB)\",d:\"M18.588 10.164a23.188 23.188 0 01-1.999 4.455c-3.17 5.492-7.795 8.758-10.33 7.294 5.703 3.293 13.143 1.082 16.619-4.938a13.392 13.392 0 001.037-2.255c.259-.738-.092-1.534-.77-1.925l-4.557-2.63z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconKlingC)\",d:\"M16.59 14.62c3.17-5.492 3.686-11.13 1.15-12.594C15.207.563 10.582 3.83 7.41 9.32c2.074-3.59 5.809-5.315 8.344-3.852 2.534 1.464 2.908 5.56.835 9.151z\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"url(#fcIconKlingD)\",d:\"M7.41 9.32c-3.17 5.492-3.686 11.13-1.15 12.593 2.534 1.464 7.159-1.802 10.33-7.294-2.074 3.591-5.809 5.316-8.344 3.852-2.534-1.463-2.908-5.56-.835-9.15z\"})]})},growth:{content:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M3 18.5 L9.5 12 L13.5 15.5 L21 7.5\",fill:\"none\",stroke:\"#5EDBA6\",strokeWidth:\"2.4\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15.5 7.5 H21 V13\",fill:\"none\",stroke:\"#5EDBA6\",strokeWidth:\"2.4\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]})},timeline:{content:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"6\",width:\"11\",height:\"4.6\",rx:\"1.4\",fill:\"none\",stroke:\"#5CC8F2\",strokeWidth:\"2\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"8.5\",y:\"13.4\",width:\"12.5\",height:\"4.6\",rx:\"1.4\",fill:\"none\",stroke:\"#5CC8F2\",strokeWidth:\"2\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6 3.2 V20.8\",stroke:\"#5CC8F2\",strokeWidth:\"2\",strokeLinecap:\"round\"})]})}};// Fallback for node data materialized before the `icons` field existed:\n// infer icon slugs from the node title.\nconst TITLE_ICON_FALLBACKS=[{match:\"competitor\",slugs:[\"meta\",\"amazon\",\"tiktok\"]},{match:\"trend\",slugs:[\"tiktok\",\"instagram\"]},{match:\"assistant\",slugs:[\"openai\",\"claude\",\"gemini\"]},{match:\"image generator\",slugs:[\"openai\",\"gemini\",\"bytedance\"]},{match:\"video generator\",slugs:[\"gemini\",\"kling\",\"bytedance\"]},{match:\"compositor\",slugs:[\"timeline\"]}];function resolveIconSlugs(node){const raw=typeof node.icons===\"string\"?node.icons:\"\";let slugs=raw.split(\",\").map(slug=>slug.trim().toLowerCase()).filter(Boolean);if(slugs.length===0){const title=(node.title||\"\").toLowerCase();const fallback=TITLE_ICON_FALLBACKS.find(entry=>title.includes(entry.match));if(fallback)slugs=fallback.slugs;}// Unknown slugs are silently ignored.\nreturn slugs.filter(slug=>Boolean(BRAND_ICONS[slug]));}function NodeIconChips({slugs,borderColor}){if(slugs.length===0)return null;return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{display:\"flex\",alignItems:\"center\",gap:4,flex:\"0 0 auto\",pointerEvents:\"none\"},children:slugs.map((slug,index)=>{const icon=BRAND_ICONS[slug];return /*#__PURE__*/_jsx(\"span\",{style:{width:20,height:20,borderRadius:\"50%\",background:icon.chipBg??\"#FFFFFF\",border:`1px solid ${borderColor}`,boxSizing:\"border-box\",display:\"grid\",placeItems:\"center\",flex:\"0 0 auto\"},children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"12\",height:\"12\",\"aria-hidden\":\"true\",style:{display:\"block\"},children:icon.content})},`${slug}-${index}`);})});}function PdfGlyph({accent}){return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:\"24\",height:\"24\",\"aria-hidden\":\"true\",style:{display:\"block\",flex:\"0 0 auto\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6 2.8 H14.6 L19 7.2 V21.2 H6 Z\",fill:\"rgba(242,112,92,0.08)\",stroke:accent,strokeWidth:\"1.5\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M14.6 2.8 V7.2 H19\",fill:\"none\",stroke:accent,strokeWidth:\"1.5\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"text\",{x:\"7\",y:\"17.4\",fontSize:\"5.8\",fontWeight:\"700\",fill:accent,fontFamily:\"Inter, sans-serif\",letterSpacing:\"0.02em\",children:\"PDF\"})]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FlowCanvas(props){const{nodes=[{label:\"Research\",title:\"Competitor Research\",description:\"Pull your competitors’ ads straight from the Meta Ad Library and see exactly what they’re running.\",accent:\"#7C9EFF\",x:56,y:30,icons:\"meta, amazon, tiktok\",video:\"https://framerusercontent.com/assets/gqAM7mXphGG6PyzHGyu0isGF5U.mp4\"},{label:\"Discovery\",title:\"Trend Analysis\",description:\"Scan TikTok and social feeds for the hooks and concepts driving the most views and engagement.\",accent:\"#5EDBA6\",x:56,y:410,icons:\"tiktok, instagram\",video:\"https://framerusercontent.com/assets/4rLwkd9bH0jyXSksdsEHEHrK0.mp4\"},{label:\"Reference\",title:\"my brand guidelines\",description:\"\",accent:\"#F2705C\",x:353,y:615,kind:\"file\"},{label:\"Reference\",title:\"product-shot.jpg\",description:\"\",accent:\"#5EDBA6\",x:354,y:536,kind:\"image-file\",image:\"https://framerusercontent.com/images/I5cv91nqLmoRwfNGc4OsrBIK14.jpg\"},{label:\"Ideation\",title:\"Assistant\",description:\"Brainstorm with AI to shape concepts around your brand, its benefits, and the pain points it solves.\",accent:\"#F2B75C\",x:397,y:274,icons:\"openai, claude, gemini\"},{label:\"Production\",title:\"Image Generator\",description:\"Create any image you need - start frames, product shots, ad stills - with the best image models.\",accent:\"#E579B2\",x:708,y:94,icons:\"openai, gemini, bytedance\",image:\"https://framerusercontent.com/images/EE5y5cPb1GEInGtqihsNvqbbVY.jpg\"},{label:\"Production\",title:\"Video Generator\",description:\"Generate video with the most advanced models on the market.\",accent:\"#9B8CFF\",x:1037,y:50,icons:\"gemini, kling, bytedance\",video:\"https://framerusercontent.com/assets/5bHmSjKqwrnhEcbXRxedS0PBoG0.mp4\"},{label:\"Post\",title:\"Compositor\",description:\"The final cut of your ad, assembled in one place.\",accent:\"#5CC8F2\",x:886,y:456,kind:\"compositor\",video:\"https://framerusercontent.com/assets/5bHmSjKqwrnhEcbXRxedS0PBoG0.mp4\"}],edges=[{from:0,to:4},{from:1,to:4},{from:2,to:4},{from:3,to:4},{from:4,to:5},{from:5,to:6},{from:6,to:7}],backgroundColor=\"rgba(0,0,0,0)\",dotColor=\"rgba(20,20,25,0.08)\",nodeBackground=\"#FFFFFF\",borderColor=\"rgba(20,20,25,0.08)\",edgeColor=\"rgba(20,20,25,0.18)\",titleColor=\"#17181C\",descriptionColor=\"rgba(23,24,28,0.6)\",hintBackground=\"rgba(255,255,255,0.85)\",hintTextColor=\"rgba(23,24,28,0.65)\",pulseColor=\"rgba(20,20,25,0.22)\",pulseSpeed=2.2,cornerRadius=24,showHint=true,fitScaleMin=.45}=props;const isStaticRenderer=useIsStaticRenderer();/*\n     * Defer loading card videos until the canvas approaches the viewport so\n     * they don't compete with above-the-fold content on page load.\n     */const[mediaNearView,setMediaNearView]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;if(typeof IntersectionObserver===\"undefined\"){setMediaNearView(true);return;}const el=rootRef.current;if(!el)return;const observer=new IntersectionObserver(entries=>{if(entries.some(entry=>entry.isIntersecting)){startTransition(()=>setMediaNearView(true));observer.disconnect();}},{rootMargin:\"500px 0px 500px 0px\"});observer.observe(el);return()=>observer.disconnect();},[]);const showMedia=mediaNearView||isStaticRenderer;const rootRef=useRef(null);const backgroundRef=useRef(null);const worldRef=useRef(null);const nodeRefs=useRef([]);const cardVideoRefs=useRef([]);const compositorPlayheadRef=useRef(null);const edgeRefs=useRef([]);const glowEdgeRefs=useRef([]);const glowBlurEdgeRefs=useRef([]);const gradientRefs=useRef([]);const gradientStopRefs=useRef([]);const rafRef=useRef(null);const pulseRafRef=useRef(null);const captureElementRef=useRef(null);const dragRef=useRef({mode:\"none\",pointerId:-1,startClientX:0,startClientY:0,startPanX:0,startPanY:0,nodeIndex:-1,startNodeX:0,startNodeY:0});const safeNodes=useMemo(()=>{if(!nodes||nodes.length===0)return[];return nodes;},[nodes]);const safeEdges=useMemo(()=>{return(edges||[]).filter(edge=>edge&&Number.isFinite(edge.from)&&Number.isFinite(edge.to)&&edge.from>=0&&edge.to>=0&&edge.from<safeNodes.length&&edge.to<safeNodes.length);},[edges,safeNodes.length]);const[pan,setPan]=useState({x:0,y:0});const[nodePositions,setNodePositions]=useState(()=>safeNodes.map(node=>({x:node.x,y:node.y})));const livePanRef=useRef({x:0,y:0});const livePositionsRef=useRef([]);const initialPositionsRef=useRef([]);const[prefersReducedMotion,setPrefersReducedMotion]=useState(false);// auto-fit world scaling: shrink the whole graph on narrow containers\nconst[fitScale,setFitScale]=useState(1);const fitScaleRef=useRef(1);// natural design width of the graph at rest: max node right edge plus a\n// symmetric margin matching the smallest node x\nconst designWidth=useMemo(()=>{if(safeNodes.length===0)return 1400;let minX=Number.POSITIVE_INFINITY;let maxRight=Number.NEGATIVE_INFINITY;for(const node of safeNodes){const nodeW=node.kind===\"file\"?FILE_NODE_WIDTH:node.kind===\"image-file\"?IMAGE_FILE_NODE_WIDTH:node.kind===\"compositor\"?COMPOSITOR_NODE_WIDTH:NODE_WIDTH;minX=Math.min(minX,node.x);maxRight=Math.max(maxRight,node.x+nodeW);}if(!Number.isFinite(minX)||!Number.isFinite(maxRight)||maxRight<=0)return 1400;return maxRight+Math.max(0,minX);},[safeNodes]);const clampPan=useCallback(value=>Math.max(-PAN_LIMIT,Math.min(PAN_LIMIT,value)),[]);useEffect(()=>{const nextPositions=safeNodes.map(node=>({x:node.x,y:node.y}));livePositionsRef.current=nextPositions;initialPositionsRef.current=nextPositions.map(item=>({...item}));startTransition(()=>{setNodePositions(nextPositions);});},[safeNodes]);useEffect(()=>{if(typeof window===\"undefined\")return;const media=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const apply=()=>{startTransition(()=>{setPrefersReducedMotion(media.matches);});};apply();media.addEventListener(\"change\",apply);return()=>media.removeEventListener(\"change\",apply);},[]);// pause in-card ad videos under reduced motion / static rendering\nuseEffect(()=>{if(typeof window===\"undefined\")return;cardVideoRefs.current.forEach(video=>{if(!video)return;if(prefersReducedMotion||isStaticRenderer){video.pause();}else{const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\")playPromise.catch(()=>{});}});},[prefersReducedMotion,isStaticRenderer,safeNodes]);// Compositor mockup: playhead sweep\nuseEffect(()=>{if(typeof window===\"undefined\")return;const playhead=compositorPlayheadRef.current;if(!playhead)return;if(prefersReducedMotion||isStaticRenderer){playhead.style.left=\"42%\";return;}let playheadRafId=null;const start=performance.now();const tick=now=>{const p=(now-start)/6e3%1;playhead.style.left=`${(p*100).toFixed(2)}%`;playheadRafId=window.requestAnimationFrame(tick);};playheadRafId=window.requestAnimationFrame(tick);return()=>{if(playheadRafId!==null)window.cancelAnimationFrame(playheadRafId);};},[prefersReducedMotion,isStaticRenderer,safeNodes]);useEffect(()=>{livePanRef.current=pan;if(worldRef.current){worldRef.current.style.transform=`translate3d(${pan.x}px, ${pan.y}px, 0) scale(${fitScaleRef.current})`;}if(rootRef.current){rootRef.current.style.backgroundPosition=`${pan.x}px ${pan.y}px`;}},[pan,fitScale]);const buildPath=useCallback((fromIndex,toIndex)=>{const sourceEl=nodeRefs.current[fromIndex];const targetEl=nodeRefs.current[toIndex];const sourcePos=livePositionsRef.current[fromIndex];const targetPos=livePositionsRef.current[toIndex];if(!sourceEl||!targetEl||!sourcePos||!targetPos)return\"\";const sourceH=sourceEl.offsetHeight||120;const targetH=targetEl.offsetHeight||120;const sourceW=sourceEl.offsetWidth||NODE_WIDTH;const x1=sourcePos.x+sourceW;const y1=sourcePos.y+sourceH*.5;const x2=targetPos.x;const y2=targetPos.y+targetH*.5;const curve=Math.max(60,Math.min(180,Math.abs(x2-x1)*.45));return`M ${x1} ${y1} C ${x1+curve} ${y1}, ${x2-curve} ${y2}, ${x2} ${y2}`;},[]);const getEdgeEndpoints=useCallback((fromIndex,toIndex)=>{const sourceEl=nodeRefs.current[fromIndex];const targetEl=nodeRefs.current[toIndex];const sourcePos=livePositionsRef.current[fromIndex];const targetPos=livePositionsRef.current[toIndex];if(!sourceEl||!targetEl||!sourcePos||!targetPos)return null;const sourceH=sourceEl.offsetHeight||120;const targetH=targetEl.offsetHeight||120;const sourceW=sourceEl.offsetWidth||NODE_WIDTH;return{x1:sourcePos.x+sourceW,y1:sourcePos.y+sourceH*.5,x2:targetPos.x,y2:targetPos.y+targetH*.5};},[]);const updateVisuals=useCallback(()=>{if(worldRef.current){worldRef.current.style.transform=`translate3d(${livePanRef.current.x}px, ${livePanRef.current.y}px, 0) scale(${fitScaleRef.current})`;}if(rootRef.current){rootRef.current.style.backgroundPosition=`${livePanRef.current.x}px ${livePanRef.current.y}px`;}for(let i=0;i<livePositionsRef.current.length;i+=1){const nodeEl=nodeRefs.current[i];const pos=livePositionsRef.current[i];if(!nodeEl||!pos)continue;nodeEl.style.transform=`translate3d(${pos.x}px, ${pos.y}px, 0)`;}for(let i=0;i<safeEdges.length;i+=1){const pathEl=edgeRefs.current[i];if(!pathEl)continue;const d=buildPath(safeEdges[i].from,safeEdges[i].to);pathEl.setAttribute(\"d\",d);const glowEl=glowEdgeRefs.current[i];if(glowEl)glowEl.setAttribute(\"d\",d);const glowBlurEl=glowBlurEdgeRefs.current[i];if(glowBlurEl)glowBlurEl.setAttribute(\"d\",d);const gradientEl=gradientRefs.current[i];const points=getEdgeEndpoints(safeEdges[i].from,safeEdges[i].to);if(gradientEl&&points){gradientEl.setAttribute(\"x1\",String(points.x1));gradientEl.setAttribute(\"y1\",String(points.y1));gradientEl.setAttribute(\"x2\",String(points.x2));gradientEl.setAttribute(\"y2\",String(points.y2));}}},[buildPath,getEdgeEndpoints,safeEdges]);const scheduleVisuals=useCallback(()=>{if(rafRef.current!==null)return;rafRef.current=window.requestAnimationFrame(()=>{rafRef.current=null;updateVisuals();});},[updateVisuals]);const centerGraphInView=useCallback(()=>{if(typeof window===\"undefined\")return;const containerEl=rootRef.current;if(!containerEl)return;if(livePositionsRef.current.length===0)return;const rect=containerEl.getBoundingClientRect();let minX=Number.POSITIVE_INFINITY;let minY=Number.POSITIVE_INFINITY;let maxX=Number.NEGATIVE_INFINITY;let maxY=Number.NEGATIVE_INFINITY;for(let i=0;i<livePositionsRef.current.length;i+=1){const pos=livePositionsRef.current[i];const nodeH=nodeRefs.current[i]?.offsetHeight??120;const nodeW=nodeRefs.current[i]?.offsetWidth??NODE_WIDTH;minX=Math.min(minX,pos.x);minY=Math.min(minY,pos.y);maxX=Math.max(maxX,pos.x+nodeW);maxY=Math.max(maxY,pos.y+nodeH);}if(!Number.isFinite(minX)||!Number.isFinite(minY)||!Number.isFinite(maxX)||!Number.isFinite(maxY)){return;}// account for the auto-fit scale: graph pixel size = bounds * scale\nconst scale=fitScaleRef.current;const graphCenterX=(minX+maxX)*.5*scale;const graphCenterY=(minY+maxY)*.5*scale;const graphPixelWidth=(maxX-minX)*scale;/*\n         * When the scaled graph is wider than the viewport (small screens at\n         * the fit-scale floor), anchor the initial view to the LEFT edge so\n         * the first pipeline nodes are visible; users pan right for the rest.\n         * Otherwise center as usual.\n         */const overflowsX=graphPixelWidth>rect.width+1;const nextPan={x:clampPan(overflowsX?16-minX*scale:rect.width*.5-graphCenterX),y:clampPan(rect.height*.5-graphCenterY)};livePanRef.current=nextPan;if(worldRef.current){worldRef.current.style.transform=`translate3d(${nextPan.x}px, ${nextPan.y}px, 0) scale(${scale})`;}scheduleVisuals();startTransition(()=>{setPan(nextPan);});},[clampPan,scheduleVisuals]);useEffect(()=>{if(typeof window===\"undefined\")return;scheduleVisuals();},[nodePositions,safeEdges,pan,scheduleVisuals]);useEffect(()=>{if(typeof window===\"undefined\")return;const applyFit=()=>{const rect=rootRef.current?.getBoundingClientRect();if(rect&&rect.width>0&&designWidth>0){const minScale=Math.max(.1,Math.min(1,fitScaleMin));const nextScale=Math.max(minScale,Math.min(1,rect.width/designWidth));if(Math.abs(nextScale-fitScaleRef.current)>.001){fitScaleRef.current=nextScale;startTransition(()=>{setFitScale(nextScale);});}}centerGraphInView();};const frameId=window.requestAnimationFrame(()=>{applyFit();});let observer=null;if(typeof ResizeObserver!==\"undefined\"&&rootRef.current){observer=new ResizeObserver(()=>{if(dragRef.current.mode!==\"none\")return;applyFit();});observer.observe(rootRef.current);}return()=>{window.cancelAnimationFrame(frameId);if(observer)observer.disconnect();};},[centerGraphInView,safeNodes,designWidth,fitScaleMin]);useEffect(()=>{return()=>{if(typeof window===\"undefined\")return;if(rafRef.current!==null)window.cancelAnimationFrame(rafRef.current);};},[]);useEffect(()=>{if(typeof window===\"undefined\")return;if(prefersReducedMotion)return;/* Run the pulse loop only while the canvas is on screen. */let inView=false;let loopRunning=false;const clamp01=value=>Math.max(0,Math.min(1,value));const stageDuration=Math.max(450,pulseSpeed*1e3);const pauseDuration=1e3;const cycleDuration=stageDuration*4+pauseDuration;const assistantIndex=safeNodes.findIndex(node=>/assistant/i.test(node.title));const imageGenIndex=safeNodes.findIndex(node=>/image\\s*gen/i.test(node.title));const videoGenIndex=safeNodes.findIndex(node=>/video\\s*gen/i.test(node.title));const compositorIndex=safeNodes.findIndex(node=>/compositor/i.test(node.title));const resolvedAssistant=assistantIndex>=0?assistantIndex:4;const resolvedImageGen=imageGenIndex>=0?imageGenIndex:5;const resolvedVideoGen=videoGenIndex>=0?videoGenIndex:6;const resolvedCompositor=compositorIndex>=0?compositorIndex:7;const stage1Edges=safeEdges.map((edge,index)=>({edge,index})).filter(({edge})=>edge.to===resolvedAssistant&&edge.from!==resolvedAssistant).map(({index})=>index);const stage2Edge=safeEdges.findIndex(edge=>edge.from===resolvedAssistant&&edge.to===resolvedImageGen);const stage3Edge=safeEdges.findIndex(edge=>edge.from===resolvedImageGen&&edge.to===resolvedVideoGen);const stage4Edge=safeEdges.findIndex(edge=>edge.from===resolvedVideoGen&&edge.to===resolvedCompositor);const tick=time=>{const allStops=gradientStopRefs.current;const t=time%cycleDuration;const stage1Progress=t<stageDuration?t/stageDuration:-1;const stage2Progress=t>=stageDuration&&t<stageDuration*2?(t-stageDuration)/stageDuration:-1;const stage3Progress=t>=stageDuration*2&&t<stageDuration*3?(t-stageDuration*2)/stageDuration:-1;const stage4Progress=t>=stageDuration*3&&t<stageDuration*4?(t-stageDuration*3)/stageDuration:-1;for(let edgeIndex=0;edgeIndex<allStops.length;edgeIndex+=1){const stops=allStops[edgeIndex];if(!stops||stops.length<5)continue;let progress=-1;if(stage1Edges.includes(edgeIndex))progress=stage1Progress;if(edgeIndex===stage2Edge)progress=stage2Progress;if(edgeIndex===stage3Edge)progress=stage3Progress;if(edgeIndex===stage4Edge)progress=stage4Progress;if(progress<0||progress>1){for(let i=0;i<5;i+=1){const stop=stops[i];if(!stop)continue;stop.setAttribute(\"stop-opacity\",\"0\");}continue;}const travel=-.1+progress*1.2;const offsets=[travel-.15,travel-.05,travel,travel+.05,travel+.15].map(clamp01);const fadeIn=clamp01((progress-.02)/.12);const fadeOut=1-clamp01((progress-.82)/.18);const strength=clamp01(Math.min(fadeIn,fadeOut));const opacities=[0,.65*strength,1*strength,.65*strength,0];for(let i=0;i<5;i+=1){const stop=stops[i];if(!stop)continue;stop.setAttribute(\"offset\",offsets[i].toFixed(3));stop.setAttribute(\"stop-opacity\",opacities[i].toFixed(3));}}if(inView){pulseRafRef.current=window.requestAnimationFrame(tick);}else{loopRunning=false;pulseRafRef.current=null;}};const startLoop=()=>{if(loopRunning)return;loopRunning=true;pulseRafRef.current=window.requestAnimationFrame(tick);};let pulseObserver=null;if(typeof IntersectionObserver!==\"undefined\"&&rootRef.current){pulseObserver=new IntersectionObserver(entries=>{inView=entries.some(entry=>entry.isIntersecting);if(inView)startLoop();});pulseObserver.observe(rootRef.current);}else{inView=true;startLoop();}return()=>{if(pulseObserver)pulseObserver.disconnect();if(pulseRafRef.current!==null){window.cancelAnimationFrame(pulseRafRef.current);pulseRafRef.current=null;}};},[prefersReducedMotion,pulseSpeed,safeEdges,safeNodes]);const endInteraction=useCallback(()=>{const captureEl=captureElementRef.current;const active=dragRef.current;if(captureEl&&active.pointerId>=0&&captureEl.hasPointerCapture(active.pointerId)){captureEl.releasePointerCapture(active.pointerId);}captureElementRef.current=null;const nextPan={...livePanRef.current};const nextPositions=livePositionsRef.current.map(item=>({...item}));dragRef.current={mode:\"none\",pointerId:-1,startClientX:0,startClientY:0,startPanX:0,startPanY:0,nodeIndex:-1,startNodeX:0,startNodeY:0};startTransition(()=>{setPan(nextPan);setNodePositions(nextPositions);});if(backgroundRef.current)backgroundRef.current.style.cursor=\"grab\";},[]);const onBackgroundPointerDown=useCallback(event=>{if(isStaticRenderer)return;if(event.button!==0)return;if(typeof window===\"undefined\")return;const target=event.target;if(target.closest(\"[data-flow-node='true']\"))return;if(target.closest(\"[data-flow-reset='true']\"))return;event.currentTarget.setPointerCapture(event.pointerId);captureElementRef.current=event.currentTarget;dragRef.current={mode:\"pan\",pointerId:event.pointerId,startClientX:event.clientX,startClientY:event.clientY,startPanX:livePanRef.current.x,startPanY:livePanRef.current.y,nodeIndex:-1,startNodeX:0,startNodeY:0};if(backgroundRef.current)backgroundRef.current.style.cursor=\"grabbing\";},[isStaticRenderer]);const onNodePointerDown=useCallback((event,index)=>{if(isStaticRenderer)return;if(event.button!==0)return;if(typeof window===\"undefined\")return;const pos=livePositionsRef.current[index];if(!pos)return;event.stopPropagation();event.currentTarget.setPointerCapture(event.pointerId);captureElementRef.current=event.currentTarget;dragRef.current={mode:\"node\",pointerId:event.pointerId,startClientX:event.clientX,startClientY:event.clientY,startPanX:livePanRef.current.x,startPanY:livePanRef.current.y,nodeIndex:index,startNodeX:pos.x,startNodeY:pos.y};if(backgroundRef.current)backgroundRef.current.style.cursor=\"grabbing\";},[isStaticRenderer]);const onRootPointerMove=useCallback(event=>{if(isStaticRenderer)return;const active=dragRef.current;if(active.mode===\"none\")return;if(active.pointerId!==event.pointerId)return;if(typeof window===\"undefined\")return;const dx=event.clientX-active.startClientX;const dy=event.clientY-active.startClientY;if(active.mode===\"pan\"){// pan stays in screen space so the world tracks the cursor 1:1\nlivePanRef.current={x:clampPan(active.startPanX+dx),y:clampPan(active.startPanY+dy)};}else if(active.mode===\"node\"&&active.nodeIndex>=0){// node coordinates live in world space: divide screen deltas by\n// the fit scale so dragged nodes track the cursor 1:1\nconst scale=fitScaleRef.current||1;const next=livePositionsRef.current.slice();next[active.nodeIndex]={x:active.startNodeX+dx/scale,y:active.startNodeY+dy/scale};livePositionsRef.current=next;}scheduleVisuals();},[clampPan,isStaticRenderer,scheduleVisuals]);const onRootPointerUp=useCallback(event=>{if(isStaticRenderer)return;if(dragRef.current.pointerId!==event.pointerId)return;endInteraction();},[endInteraction,isStaticRenderer]);const onRootPointerCancel=useCallback(event=>{if(isStaticRenderer)return;if(dragRef.current.pointerId!==event.pointerId)return;endInteraction();},[endInteraction,isStaticRenderer]);const onBackgroundDoubleClick=useCallback(event=>{const target=event.target;if(target.closest(\"[data-flow-node='true']\"))return;if(target.closest(\"[data-flow-reset='true']\"))return;if(typeof window===\"undefined\")return;if(worldRef.current)worldRef.current.style.transition=\"transform 0.22s ease\";window.requestAnimationFrame(()=>{centerGraphInView();});window.setTimeout(()=>{if(worldRef.current)worldRef.current.style.transition=\"none\";},240);},[centerGraphInView]);const resetAll=useCallback(()=>{const nextPositions=initialPositionsRef.current.map(item=>({...item}));livePositionsRef.current=nextPositions;if(typeof window===\"undefined\")return;if(worldRef.current)worldRef.current.style.transition=\"transform 0.22s ease\";startTransition(()=>{setNodePositions(nextPositions);});/**\n         * Recenter synchronously instead of deferring to requestAnimationFrame.\n         * centerGraphInView only reads refs (already updated above) and the\n         * container's current bounding rect, so it doesn't need to wait for a\n         * frame — and waiting introduced a failure window where a stale/stuck\n         * rafRef from an interrupted drag could silently swallow the update.\n         */if(rafRef.current!==null){window.cancelAnimationFrame(rafRef.current);rafRef.current=null;}centerGraphInView();window.setTimeout(()=>{if(worldRef.current)worldRef.current.style.transition=\"none\";},240);},[centerGraphInView]);return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,role:\"region\",\"aria-label\":\"Interactive workflow flow canvas\",onPointerDown:isStaticRenderer?undefined:onBackgroundPointerDown,onPointerMove:isStaticRenderer?undefined:onRootPointerMove,onPointerUp:isStaticRenderer?undefined:onRootPointerUp,onPointerCancel:isStaticRenderer?undefined:onRootPointerCancel,onDoubleClick:onBackgroundDoubleClick,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",borderRadius:cornerRadius,backgroundColor,backgroundImage:`radial-gradient(${dotColor} 1px, transparent 1px)`,backgroundSize:\"24px 24px\",backgroundPosition:`${pan.x}px ${pan.y}px`,touchAction:\"none\",cursor:\"grab\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{ref:backgroundRef,style:{position:\"absolute\",inset:0,cursor:\"grab\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{ref:worldRef,style:{position:\"absolute\",inset:0,transform:`translate3d(${pan.x}px, ${pan.y}px, 0) scale(${fitScale})`,transformOrigin:\"0 0\",willChange:\"transform\"},children:[/*#__PURE__*/_jsxs(\"svg\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",overflow:\"visible\"},children:[/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsx(\"filter\",{id:\"flowPulseBlur\",x:\"-50%\",y:\"-50%\",width:\"200%\",height:\"200%\",children:/*#__PURE__*/_jsx(\"feGaussianBlur\",{stdDeviation:\"3\"})}),safeEdges.map((edge,edgeIndex)=>{const points=getEdgeEndpoints(edge.from,edge.to);const sourcePulseColor=safeNodes[edge.from]?.accent||pulseColor;return /*#__PURE__*/_jsxs(\"linearGradient\",{id:`flow-gradient-${edgeIndex}`,gradientUnits:\"userSpaceOnUse\",x1:points?.x1??0,y1:points?.y1??0,x2:points?.x2??1,y2:points?.y2??1,ref:el=>{gradientRefs.current[edgeIndex]=el;},children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:sourcePulseColor,stopOpacity:\"0\",ref:el=>{if(!gradientStopRefs.current[edgeIndex])gradientStopRefs.current[edgeIndex]=[];gradientStopRefs.current[edgeIndex][0]=el;}}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.1\",stopColor:sourcePulseColor,stopOpacity:\"0.65\",ref:el=>{if(!gradientStopRefs.current[edgeIndex])gradientStopRefs.current[edgeIndex]=[];gradientStopRefs.current[edgeIndex][1]=el;}}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.2\",stopColor:sourcePulseColor,stopOpacity:\"1\",ref:el=>{if(!gradientStopRefs.current[edgeIndex])gradientStopRefs.current[edgeIndex]=[];gradientStopRefs.current[edgeIndex][2]=el;}}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.3\",stopColor:sourcePulseColor,stopOpacity:\"0.65\",ref:el=>{if(!gradientStopRefs.current[edgeIndex])gradientStopRefs.current[edgeIndex]=[];gradientStopRefs.current[edgeIndex][3]=el;}}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.4\",stopColor:sourcePulseColor,stopOpacity:\"0\",ref:el=>{if(!gradientStopRefs.current[edgeIndex])gradientStopRefs.current[edgeIndex]=[];gradientStopRefs.current[edgeIndex][4]=el;}})]},`flow-gradient-${edgeIndex}`);})]}),safeEdges.map((edge,edgeIndex)=>{const highlighted=edgeIndex===2;const d=buildPath(edge.from,edge.to);return /*#__PURE__*/_jsxs(\"g\",{children:[/*#__PURE__*/_jsx(\"path\",{ref:el=>{edgeRefs.current[edgeIndex]=el;},d:d,fill:\"none\",stroke:edgeColor,strokeWidth:highlighted?1.8:1.5}),!prefersReducedMotion&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{ref:el=>{glowBlurEdgeRefs.current[edgeIndex]=el;},d:d,fill:\"none\",stroke:`url(#flow-gradient-${edgeIndex})`,strokeWidth:8,strokeLinecap:\"round\",strokeOpacity:.65,filter:\"url(#flowPulseBlur)\"}),/*#__PURE__*/_jsx(\"path\",{ref:el=>{glowEdgeRefs.current[edgeIndex]=el;},d:d,fill:\"none\",stroke:`url(#flow-gradient-${edgeIndex})`,strokeWidth:highlighted?3.5:3.2,strokeLinecap:\"round\",strokeOpacity:1})]})]},`${edge.from}-${edge.to}-${edgeIndex}`);})]}),safeNodes.map((node,index)=>{const position=nodePositions[index]??{x:node.x,y:node.y};return /*#__PURE__*/_jsxs(\"div\",{\"data-flow-node\":\"true\",ref:el=>{nodeRefs.current[index]=el;},onPointerDown:isStaticRenderer?undefined:event=>onNodePointerDown(event,index),style:{position:\"absolute\",width:node.kind===\"file\"?FILE_NODE_WIDTH:node.kind===\"image-file\"?IMAGE_FILE_NODE_WIDTH:node.kind===\"compositor\"?COMPOSITOR_NODE_WIDTH:NODE_WIDTH,transform:`translate3d(${position.x}px, ${position.y}px, 0)`,background:nodeBackground,border:`1px solid ${borderColor}`,borderRadius:12,padding:node.kind===\"file\"?\"11px 13px\":node.kind===\"image-file\"?10:node.kind===\"compositor\"?12:16,boxSizing:\"border-box\",cursor:\"grab\",fontFamily:\"Inter, sans-serif\",boxShadow:\"0 2px 12px rgba(20,20,25,0.06)\"},children:[node.kind===\"file\"||node.kind===\"image-file\"?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:9,minWidth:0},children:[node.kind===\"image-file\"&&node.image?/*#__PURE__*/_jsx(\"img\",{src:node.image,alt:\"\",loading:\"lazy\",draggable:false,style:{width:44,height:44,borderRadius:8,objectFit:\"cover\",flex:\"0 0 auto\",pointerEvents:\"none\"}}):/*#__PURE__*/_jsx(PdfGlyph,{accent:node.accent}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,fontWeight:600,color:titleColor,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:node.title})]}):node.kind===\"compositor\"?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,marginBottom:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:8,height:8,borderRadius:\"50%\",background:node.accent,flex:\"0 0 auto\"}}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:descriptionColor,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:node.label})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,lineHeight:\"1.2em\",fontWeight:600,color:titleColor,marginBottom:7},children:node.title}),node.description?/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,lineHeight:\"1.35em\",color:descriptionColor,marginBottom:8},children:node.description}):null,/*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",height:124,borderRadius:8,overflow:\"hidden\",background:\"#141419\",border:`1px solid ${borderColor}`},children:node.video&&showMedia&&/*#__PURE__*/_jsx(\"video\",{ref:el=>{cardVideoRefs.current[index]=el;},src:node.video,autoPlay:true,muted:true,loop:true,playsInline:true,preload:\"metadata\",\"aria-hidden\":\"true\",draggable:false,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",pointerEvents:\"none\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8,background:\"#141419\",borderRadius:8,padding:8,display:\"flex\",gap:6},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:4,flex:\"0 0 auto\"},children:[\"V1\",\"A\"].map(trackName=>/*#__PURE__*/_jsx(\"span\",{style:{fontSize:7,fontWeight:600,color:\"rgba(255,255,255,0.4)\",lineHeight:\"14px\",width:13},children:trackName},trackName))}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",flex:1,minWidth:0,display:\"flex\",flexDirection:\"column\",gap:4},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",height:14,borderRadius:3,background:\"rgba(255,255,255,0.05)\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:1,bottom:1,left:0,width:\"78%\",borderRadius:3,background:\"rgba(155,140,255,0.22)\",border:\"1px solid rgba(155,140,255,0.7)\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",paddingLeft:5,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize:6.5,color:\"rgba(255,255,255,0.8)\",whiteSpace:\"nowrap\"},children:\"AG2 ad.mp4\"})})}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",height:14,borderRadius:3,background:\"rgba(255,255,255,0.05)\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:1,bottom:1,left:0,width:\"92%\",borderRadius:3,background:\"rgba(94,219,166,0.15)\",backgroundImage:\"repeating-linear-gradient(90deg, rgba(94,219,166,0.75) 0px, rgba(94,219,166,0.75) 1.5px, transparent 1.5px, transparent 5px)\",border:\"1px solid rgba(94,219,166,0.6)\",boxSizing:\"border-box\"}})}),/*#__PURE__*/_jsxs(\"div\",{ref:compositorPlayheadRef,style:{position:\"absolute\",top:-3,bottom:-3,left:\"42%\",width:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,bottom:0,left:-.5,width:1,background:\"rgba(255,255,255,0.9)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:-2,left:-2.5,width:5,height:4,background:\"#FFFFFF\",borderRadius:\"1px 1px 2px 2px\"}})]})]})]})]})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:8,marginBottom:10,minHeight:20},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:8,height:8,borderRadius:\"50%\",background:node.accent,flex:\"0 0 auto\"}}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:descriptionColor,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:node.label})]}),/*#__PURE__*/_jsx(NodeIconChips,{slugs:resolveIconSlugs(node),borderColor:borderColor})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,lineHeight:\"1.2em\",fontWeight:600,color:titleColor,marginBottom:7},children:node.title}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,lineHeight:\"1.35em\",color:descriptionColor},children:node.description}),(node.video||node.image)&&/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",height:MEDIA_HEIGHT,marginTop:8,borderRadius:10,overflow:\"hidden\",border:`1px solid ${borderColor}`,background:\"#101014\"},children:node.video&&showMedia?/*#__PURE__*/_jsx(\"video\",{ref:el=>{cardVideoRefs.current[index]=el;},src:node.video,autoPlay:true,muted:true,loop:true,playsInline:true,preload:\"metadata\",\"aria-hidden\":\"true\",draggable:false,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",pointerEvents:\"none\"}}):/*#__PURE__*/_jsx(\"img\",{src:node.image,alt:\"\",loading:\"lazy\",draggable:false,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",pointerEvents:\"none\"}})})]}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:-4,top:\"50%\",width:8,height:8,marginTop:-4,borderRadius:\"50%\",border:`1px solid ${borderColor}`,background:nodeBackground}}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",right:-4,top:\"50%\",width:8,height:8,marginTop:-4,borderRadius:\"50%\",border:`1px solid ${borderColor}`,background:nodeBackground}})]},`${node.title}-${index}`);})]}),props.showReset!==false&&/*#__PURE__*/_jsx(\"button\",{\"data-flow-reset\":\"true\",type:\"button\",\"aria-label\":\"Reset canvas\",onClick:resetAll,onPointerDown:event=>event.stopPropagation(),style:{position:\"absolute\",right:12,bottom:12,width:34,height:34,borderRadius:\"50%\",border:`1px solid ${borderColor}`,background:nodeBackground,boxShadow:\"0 2px 10px rgba(20,20,25,0.10)\",display:\"grid\",placeItems:\"center\",cursor:\"pointer\",color:hintTextColor,padding:0},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M13.5 8A5.5 5.5 0 1 1 12 4.2\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12.3 1.9v2.8H9.5\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]})})]});}addPropertyControls(FlowCanvas,{showReset:{type:ControlType.Boolean,title:\"Reset button\",defaultValue:true},nodes:{title:\"Nodes\",type:ControlType.Array,defaultValue:[{label:\"Research\",title:\"Competitor Research\",description:\"Pull your competitors’ ads straight from the Meta Ad Library and see exactly what they’re running.\",accent:\"#7C9EFF\",x:56,y:30,icons:\"meta, amazon, tiktok\",video:\"https://framerusercontent.com/assets/gqAM7mXphGG6PyzHGyu0isGF5U.mp4\"},{label:\"Discovery\",title:\"Trend Analysis\",description:\"Scan TikTok and social feeds for the hooks and concepts driving the most views and engagement.\",accent:\"#5EDBA6\",x:56,y:410,icons:\"tiktok, instagram\",video:\"https://framerusercontent.com/assets/4rLwkd9bH0jyXSksdsEHEHrK0.mp4\"},{label:\"Reference\",title:\"my brand guidelines\",description:\"\",accent:\"#F2705C\",x:353,y:615,kind:\"file\"},{label:\"Reference\",title:\"product-shot.jpg\",description:\"\",accent:\"#5EDBA6\",x:354,y:536,kind:\"image-file\",image:\"https://framerusercontent.com/images/I5cv91nqLmoRwfNGc4OsrBIK14.jpg\"},{label:\"Ideation\",title:\"Assistant\",description:\"Brainstorm with AI to shape concepts around your brand, its benefits, and the pain points it solves.\",accent:\"#F2B75C\",x:397,y:274,icons:\"openai, claude, gemini\"},{label:\"Production\",title:\"Image Generator\",description:\"Create any image you need - start frames, product shots, ad stills - with the best image models.\",accent:\"#E579B2\",x:708,y:94,icons:\"openai, gemini, bytedance\",image:\"https://framerusercontent.com/images/EE5y5cPb1GEInGtqihsNvqbbVY.jpg\"},{label:\"Production\",title:\"Video Generator\",description:\"Generate video with the most advanced models on the market.\",accent:\"#9B8CFF\",x:1037,y:50,icons:\"gemini, kling, bytedance\",video:\"https://framerusercontent.com/assets/5bHmSjKqwrnhEcbXRxedS0PBoG0.mp4\"},{label:\"Post\",title:\"Compositor\",description:\"The final cut of your ad, assembled in one place.\",accent:\"#5CC8F2\",x:886,y:456,kind:\"compositor\",video:\"https://framerusercontent.com/assets/5bHmSjKqwrnhEcbXRxedS0PBoG0.mp4\"}],control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Research\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Trend Research\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Spot high-performing ad patterns by vertical and audience.\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#7C9EFF\"},x:{type:ControlType.Number,title:\"X\",defaultValue:70,min:-2e3,max:3e3,step:1},y:{type:ControlType.Number,title:\"Y\",defaultValue:90,min:-2e3,max:3e3,step:1},icons:{type:ControlType.String,title:\"Icons\",defaultValue:\"\",placeholder:\"meta, amazon, tiktok\"},kind:{type:ControlType.Enum,title:\"Kind\",options:[\"card\",\"file\",\"image-file\",\"compositor\"],optionTitles:[\"Card\",\"File\",\"Image File\",\"Compositor\"],defaultValue:\"card\"},video:{type:ControlType.String,title:\"Video URL\",defaultValue:\"\",placeholder:\"https://…mp4\"},image:{type:ControlType.String,title:\"Image URL\",defaultValue:\"\",placeholder:\"https://…jpg\"}}}},edges:{title:\"Edges\",type:ControlType.Array,defaultValue:[{from:0,to:4},{from:1,to:4},{from:2,to:4},{from:3,to:4},{from:4,to:5},{from:5,to:6},{from:6,to:7}],control:{type:ControlType.Object,controls:{from:{type:ControlType.Number,title:\"From\",defaultValue:0,min:0,max:20,step:1},to:{type:ControlType.Number,title:\"To\",defaultValue:1,min:0,max:20,step:1}}}},backgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:\"rgba(0,0,0,0)\"},dotColor:{title:\"Dot Color\",type:ControlType.Color,defaultValue:\"rgba(20,20,25,0.08)\"},nodeBackground:{title:\"Node BG\",type:ControlType.Color,defaultValue:\"#FFFFFF\"},borderColor:{title:\"Border\",type:ControlType.Color,defaultValue:\"rgba(20,20,25,0.08)\"},edgeColor:{title:\"Edge\",type:ControlType.Color,defaultValue:\"rgba(20,20,25,0.18)\"},pulseColor:{title:\"Pulse\",type:ControlType.Color,defaultValue:\"rgba(20,20,25,0.22)\"},pulseSpeed:{title:\"Pulse Speed\",type:ControlType.Number,min:.6,max:6,step:.1,unit:\"s\",defaultValue:2.2},titleColor:{title:\"Title\",type:ControlType.Color,defaultValue:\"#17181C\"},descriptionColor:{title:\"Body Text\",type:ControlType.Color,defaultValue:\"rgba(23,24,28,0.6)\"},hintBackground:{title:\"Hint BG\",type:ControlType.Color,defaultValue:\"rgba(255,255,255,0.85)\"},hintTextColor:{title:\"Hint Text\",type:ControlType.Color,defaultValue:\"rgba(23,24,28,0.65)\"},cornerRadius:{title:\"Radius\",type:ControlType.Number,min:0,max:80,step:1,defaultValue:24},showHint:{title:\"Hint\",type:ControlType.Boolean,defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},fitScaleMin:{title:\"Min Fit Scale\",type:ControlType.Number,min:.2,max:1,step:.05,defaultValue:.45}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FlowCanvas\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FlowCanvas.map"],"mappings":"kPAG8V,SAAS,EAAiB,EAAK,CAAsD,IAAI,GAA/C,OAAO,EAAK,OAAQ,SAAS,EAAK,MAAM,GAAA,CAAiB,MAAM,GAAG,CAAC,CAAC,IAAI,GAAM,EAAK,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,OAAO,EAAE,GAAG,EAAM,SAAS,EAAE,CAAC,IAAM,GAAO,EAAK,OAAO,GAAA,CAAI,YAAY,EAAQ,EAAS,EAAqB,KAAK,GAAO,EAAM,SAAS,EAAM,KAAK,CAAC,EAAK,IAAS,EAAM,EAAS,MAAM,CAC/qB,OAAO,EAAM,OAAO,GAAM,EAAQ,EAAY,EAAM,CAAE,CAAC,SAAS,EAAc,CAAC,QAAM,eAAa,CAAiC,OAA7B,EAAM,SAAS,EAAS,KAAyB,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,IAAI,EAAE,KAAK,WAAW,cAAc,MAAM,EAAE,SAAS,EAAM,KAAK,EAAK,IAAQ,CAAC,IAAM,EAAK,EAAY,GAAM,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,OAAO,GAAG,aAA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