{"version":3,"file":"Waveform.pgweFnHT.mjs","names":["useId"],"sources":["https:/framerusercontent.com/modules/2JJZkq7MFHRTFCaDEeaq/JfK7FBFAVlPAGex8L5Li/Waveform.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useId}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{tok}from\"https://framerusercontent.com/modules/ltTiPXGEcDSGkWJbwMFf/4r1NP4wDTt0nDs5QgqyA/DCShared.js\";/** Seeded pseudo-waveform; bars breathe at 92 BPM. Named export for reuse inside other components. */export function Wave({bars,seed,color,barWidth,gap,animate,style}){const id=\"dcw\"+useId().replace(/:/g,\"\");const isStatic=useIsStaticRenderer();const on=animate&&!isStatic;const h=i=>.25+.75*Math.abs(Math.sin(i*1.7+seed*3.1)*Math.cos(i*.6+seed));return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":true,style:{display:\"flex\",alignItems:\"center\",gap,width:\"100%\",height:\"100%\",color:tok(color),...style},children:[Array.from({length:bars},(_,i)=>/*#__PURE__*/_jsx(\"i\",{className:on?id:undefined,style:{display:\"block\",flexShrink:0,width:barWidth,height:`${h(i)*100}%`,borderRadius:999,background:\"currentColor\",animationDelay:`${i%6*55}ms`}},i)),on&&/*#__PURE__*/_jsx(\"style\",{children:`.${id}{animation:${id} 652ms ease-in-out infinite alternate}@keyframes ${id}{from{transform:scaleY(.6)}to{transform:scaleY(1.1)}}@media (prefers-reduced-motion:reduce){.${id}{animation:none}}`})]});}/**\n * Deep Current waveform glyph (cards, chips, dividers).\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 110\n * @framerIntrinsicHeight 20\n */export default function Waveform(props){return /*#__PURE__*/_jsx(Wave,{...props});}Waveform.defaultProps={bars:28,seed:1,color:\"#00F5D4\",barWidth:2,gap:2,animate:true};addPropertyControls(Waveform,{bars:{type:ControlType.Number,title:\"Bars\",defaultValue:28,min:2,max:120,step:1,displayStepper:true},seed:{type:ControlType.Number,title:\"Seed\",defaultValue:1,min:0,max:50,step:1},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#00F5D4\"},barWidth:{type:ControlType.Number,title:\"Bar width\",defaultValue:2,min:1,max:12,step:.5,unit:\"px\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:2,min:0,max:20,step:.5,unit:\"px\"},animate:{type:ControlType.Boolean,title:\"Breathe\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"Wave\":{\"type\":\"reactComponent\",\"name\":\"Wave\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"WaveProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Waveform\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"110\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"20\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"+OAA6W,SAAgB,EAAK,CAAC,OAAK,OAAK,QAAM,WAAS,MAAI,UAAQ,SAAO,CAAC,IAAM,EAAG,MAAMA,EAAM,CAAC,CAAC,QAAQ,KAAK,EAAE,EAAQ,EAAS,EAAoB,EAAQ,EAAG,GAAS,CAAC,EAAe,EAAE,GAAG,IAAI,IAAI,KAAK,IAAI,KAAK,IAAI,EAAE,IAAI,EAAK,GAAG,EAAE,KAAK,IAAI,EAAE,GAAG,CAAI,CAAC,EAAE,OAAoB,EAAM,MAAM,CAAC,cAAc,GAAK,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,MAAI,MAAM,OAAO,OAAO,OAAO,MAAM,EAAI,CAAK,EAAE,GAAG,CAAK,EAAE,SAAS,CAAC,MAAM,KAAK,CAAC,OAAO,CAAI,GAAG,EAAE,IAAiB,EAAK,IAAI,CAAC,UAAU,EAAG,EA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