{"version":3,"file":"Hero_Wave_Component.CVobs_se.mjs","names":["__esmMin","p","c","init_jsx_runtime","init_framer_BisrWwwE","ControlType","addPropertyControls","num","x","v","fallback","clamp","min","max","Onino_Wave_Background","fill","props","canvas","intensity","grain","animate","speed","wrapper","CSS","svgBox","BACK","BACK_EDGE","MAIN","STREAK_1","STREAK_2","MAIN_EDGE","NOISE_URL","init_Hero_Wave_Component"],"sources":["https:/framerusercontent.com/modules/YFd6CwmMCpNAAYngGUqU/KzTXtvd6ChdN0d843JlJ/Hero_Wave_Component.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * ONINO Wave Background (Sunset Swell)\n * Figma: ONINO Platform, \"Website Background: Wave 1 Sunset Swell\" (node 3429:8336)\n *\n * Performance:\n * - One inline SVG, about 3 KB, no images, no libraries, no hooks, SSR safe\n * - Soft glows are radial gradients (no CSS blur, no canvas, no JS per frame)\n * - The only blur is two small static streaks inside the wave, rendered once\n * - Optional drift is a CSS transform on its own layer (GPU composited),\n *   switched off for \"reduce motion\" users and when Animate is off\n * - Grain is a tiny 120px SVG noise tile at low opacity\n *\n * Layout: the wave is anchored to the bottom right and keeps its proportions,\n * so the top and the text side stay clean on every breakpoint.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */const NOISE_SVG=\"<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\"+\"<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/>\"+\"<feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  3.5 0 0 0 -1.8'/></filter>\"+\"<rect width='100%' height='100%' filter='url(#n)'/></svg>\";const NOISE_URL='url(\"data:image/svg+xml;utf8,'+encodeURIComponent(NOISE_SVG)+'\")';const BACK=\"M 200 800 C 700 790 1100 560 1440 140 L 1440 800 Z\";const BACK_EDGE=\"M 200 800 C 700 790 1100 560 1440 140\";const MAIN=\"M 560 800 C 940 780 1200 600 1440 330 L 1440 800 Z\";const MAIN_EDGE=\"M 560 800 C 940 780 1200 600 1440 330\";const STREAK_1=\"M 680 820 C 1000 760 1220 570 1460 310 L 1460 370 C 1240 610 1020 800 740 860 Z\";const STREAK_2=\"M 1000 900 C 1220 800 1350 700 1480 590 L 1480 650 C 1360 750 1240 850 1060 930 Z\";const CSS=\".onsw-drift{animation:onswDrift var(--onsw-dur) ease-in-out infinite;will-change:transform}\"+\"@keyframes onswDrift{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-18px,6px,0)}}\"+\"@media (prefers-reduced-motion: reduce){.onsw-drift{animation:none}}\";function num(v,fallback){const x=Number(v);return isFinite(x)?x:fallback;}function clamp(v,min,max,fallback){return Math.max(min,Math.min(max,num(v,fallback)));}const svgBox={position:\"absolute\",right:0,bottom:0,width:\"100%\",minWidth:900,height:\"auto\",display:\"block\"};export default function Onino_Wave_Background(props){const fill=props.fill===true;const canvas=props.canvas||\"#FAFAFA\";const intensity=clamp(props.intensity,0,1.5,1);const grain=clamp(props.grain,0,1,.3);const animate=props.animate===true;const speed=clamp(props.speed,10,120,40);const wrapper={...props.style,position:\"absolute\",top:0,left:0,right:0,bottom:0,overflow:\"hidden\",pointerEvents:\"none\",background:fill?canvas:\"transparent\",\"--onsw-dur\":speed+\"s\"};return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:wrapper,children:[animate?/*#__PURE__*/_jsx(\"style\",{children:CSS}):null,/*#__PURE__*/_jsxs(\"svg\",{style:{...svgBox,opacity:intensity},viewBox:\"0 0 1440 800\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsxs(\"radialGradient\",{id:\"onswG1\",cx:\"1210\",cy:\"480\",r:\"520\",gradientUnits:\"userSpaceOnUse\",gradientTransform:\"translate(1210 480) scale(1 0.75) translate(-1210 -480)\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#F7ECE6\",stopOpacity:\"0.9\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.5\",stopColor:\"#F7ECE6\",stopOpacity:\"0.6\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#F7ECE6\",stopOpacity:\"0\"})]}),/*#__PURE__*/_jsxs(\"radialGradient\",{id:\"onswG2\",cx:\"1030\",cy:\"620\",r:\"580\",gradientUnits:\"userSpaceOnUse\",gradientTransform:\"translate(1030 620) scale(1 0.7) translate(-1030 -620)\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#D7D6FC\",stopOpacity:\"0.6\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.5\",stopColor:\"#D7D6FC\",stopOpacity:\"0.45\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#D7D6FC\",stopOpacity:\"0\"})]}),/*#__PURE__*/_jsxs(\"radialGradient\",{id:\"onswG3\",cx:\"650\",cy:\"740\",r:\"500\",gradientUnits:\"userSpaceOnUse\",gradientTransform:\"translate(650 740) scale(1 0.55) translate(-650 -740)\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#E0F4F7\",stopOpacity:\"0.8\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.5\",stopColor:\"#E0F4F7\",stopOpacity:\"0.55\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#E0F4F7\",stopOpacity:\"0\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{id:\"onswBack\",x1:\"0\",y1:\"1\",x2:\"1\",y2:\"0\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#E8F1F3\",stopOpacity:\"0\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.5\",stopColor:\"#EEEDFE\",stopOpacity:\"0.8\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#F7ECE6\",stopOpacity:\"0.95\"})]})]}),/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:\"1440\",height:\"800\",fill:\"url(#onswG3)\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:\"1440\",height:\"800\",fill:\"url(#onswG2)\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:\"1440\",height:\"800\",fill:\"url(#onswG1)\"}),/*#__PURE__*/_jsx(\"path\",{d:BACK,fill:\"url(#onswBack)\"}),/*#__PURE__*/_jsx(\"path\",{d:BACK_EDGE,fill:\"none\",stroke:\"#FFFFFF\",strokeOpacity:\"0.9\",strokeWidth:\"1.5\"})]}),/*#__PURE__*/_jsx(\"div\",{className:animate?\"onsw-drift\":undefined,style:{position:\"absolute\",inset:0},children:/*#__PURE__*/_jsxs(\"svg\",{style:{...svgBox,opacity:intensity},viewBox:\"0 0 1440 800\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsxs(\"linearGradient\",{id:\"onswMain\",x1:\"0.3\",y1:\"1\",x2:\"1\",y2:\"0.25\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#E0F4F7\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.35\",stopColor:\"#D0E4E8\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.65\",stopColor:\"#B7B5EF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.9\",stopColor:\"#E9C9B6\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#F7ECE6\"})]}),/*#__PURE__*/_jsx(\"clipPath\",{id:\"onswClip\",children:/*#__PURE__*/_jsx(\"path\",{d:MAIN})}),/*#__PURE__*/_jsx(\"filter\",{id:\"onswB1\",x:\"-20%\",y:\"-20%\",width:\"140%\",height:\"140%\",children:/*#__PURE__*/_jsx(\"feGaussianBlur\",{stdDeviation:\"13\"})}),/*#__PURE__*/_jsx(\"filter\",{id:\"onswB2\",x:\"-20%\",y:\"-20%\",width:\"140%\",height:\"140%\",children:/*#__PURE__*/_jsx(\"feGaussianBlur\",{stdDeviation:\"9\"})})]}),/*#__PURE__*/_jsx(\"path\",{d:MAIN,fill:\"url(#onswMain)\"}),/*#__PURE__*/_jsxs(\"g\",{clipPath:\"url(#onswClip)\",children:[/*#__PURE__*/_jsx(\"path\",{d:STREAK_1,fill:\"#FFFFFF\",opacity:\"0.55\",filter:\"url(#onswB1)\"}),/*#__PURE__*/_jsx(\"path\",{d:STREAK_2,fill:\"#FFFFFF\",opacity:\"0.45\",filter:\"url(#onswB2)\"})]}),/*#__PURE__*/_jsx(\"path\",{d:MAIN_EDGE,fill:\"none\",stroke:\"#FFFFFF\",strokeOpacity:\"0.9\",strokeWidth:\"1.5\"})]})}),grain>0?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,opacity:grain,backgroundImage:NOISE_URL,backgroundSize:\"120px 120px\"}}):null]});}addPropertyControls(Onino_Wave_Background,{fill:{type:ControlType.Boolean,title:\"Fill\",defaultValue:false,enabledTitle:\"Canvas\",disabledTitle:\"Transparent\"},canvas:{type:ControlType.Color,title:\"Canvas\",defaultValue:\"#FAFAFA\",hidden:p=>!p.fill},intensity:{type:ControlType.Number,title:\"Intensity\",min:0,max:1.5,step:.05,defaultValue:1},grain:{type:ControlType.Number,title:\"Grain\",min:0,max:1,step:.05,defaultValue:.3},animate:{type:ControlType.Boolean,title:\"Animate\",defaultValue:false},speed:{type:ControlType.Number,title:\"Speed (s)\",min:10,max:120,step:1,defaultValue:40,hidden:p=>!p.animate}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Onino_Wave_Background\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Hero_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