{"version":3,"file":"Header_universal_component.D3sfkF71.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/Mknm86GDPYqck0bjx3HB/Y9AvAGdN6aRHsScM3jBy/Header_universal_component.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";/**\n * DELTA FORENSICS HEADER\n *\n * Standalone header extracted from the Delta Forensics landing component.\n * Contains, top to bottom:\n *   Sticky tagline bar (top 0, z-index 100)\n *   Announcement bar\n *   Navbar (collapses to a hamburger on mobile)\n *\n * Fully editable from the properties panel and responsive at every width.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */// ---------- Icon (logo fallback) ----------\nfunction Emblem({color,size=48}){return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 2 L21 6 V12 C21 17 17 21 12 22 C7 21 3 17 3 12 V6 Z\",fill:color,opacity:\"0.12\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 2 L21 6 V12 C21 17 17 21 12 22 C7 21 3 17 3 12 V6 Z\",stroke:color,strokeWidth:\"1.4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 12 L11 15 L16 9\",stroke:color,strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]});}function imgSrc(v){if(!v)return\"\";if(typeof v===\"string\")return v;return v.src||v.url||\"\";}function toSupportTelHref(value){const digits=(value||\"\").replace(/\\D/g,\"\");if(digits.length===10)return\"tel:+1\"+digits;if(digits.length===11&&digits.startsWith(\"1\"))return\"tel:+\"+digits;return\"tel:+15624411176\";}// ---------- Component ----------\nexport default function DeltaForensicsHeader(props){const{taglineText,taglineBg,taglineColor,announceText,announcePhone,announceBg,announceColor,logoImage,logoSize,brandName,brandSub,navBg,navText,navLinks,contactEmail,brand}=props;const[menuOpen,setMenuOpen]=useState(false);const logoSrc=imgSrc(logoImage);const announcePhoneHref=toSupportTelHref(announcePhone);return /*#__PURE__*/_jsxs(\"div\",{className:\"delta-root\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .delta-root, .delta-root * { box-sizing: border-box; }\n                .delta-root {\n                    width: 100%;\n                    font-family: Inter, system-ui, -apple-system, sans-serif;\n                    line-height: 1.5;\n                }\n                .delta-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }\n\n                .delta-tagline {\n                    position: sticky; top: 0; z-index: 100;\n                    text-align: center;\n                    padding: 12px clamp(16px, 3vw, 40px);\n                    font-weight: 700;\n                    letter-spacing: 0.04em;\n                    font-size: clamp(12px, 8px + 0.6vw, 16px);\n                }\n\n                .delta-announce {\n                    text-align: center;\n                    padding: 9px 16px;\n                    font-size: clamp(12px, 0.85vw + 6px, 14px);\n                }\n                .delta-announce a { color: inherit; font-weight: 700; text-decoration: none; }\n\n                .delta-nav { position: relative; }\n                .delta-nav-inner {\n                    display: flex; align-items: center; justify-content: space-between;\n                    gap: 16px; padding-top: 14px; padding-bottom: 14px;\n                }\n                .delta-logo { display: flex; align-items: center; gap: 10px; }\n                .delta-logo img { width: auto; display: block; }\n                .delta-nav-right { display: flex; align-items: center; gap: 26px; }\n                .delta-nav-links { display: flex; align-items: center; gap: 26px; }\n                .delta-nav-links a {\n                    text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;\n                }\n                .delta-nav-icons { display: flex; align-items: center; gap: 10px; }\n                .delta-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; text-decoration: none; flex: 0 0 auto; }\n                .delta-hamburger {\n                    display: none; flex-direction: column; gap: 4px;\n                    background: transparent; border: none; cursor: pointer; padding: 6px;\n                }\n                .delta-hamburger span { width: 22px; height: 2px; display: block; }\n\n                @media (max-width: 860px) {\n                    .delta-nav-links {\n                        display: none; position: absolute; top: 100%; left: 0; right: 0;\n                        flex-direction: column; align-items: flex-start; gap: 4px;\n                        padding: 12px 24px 18px; z-index: 90;\n                    }\n                    .delta-nav-links.open { display: flex; }\n                    .delta-hamburger { display: flex; }\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{className:\"delta-tagline\",style:{background:taglineBg,color:taglineColor},children:taglineText}),/*#__PURE__*/_jsxs(\"div\",{className:\"delta-announce\",style:{background:announceBg,color:announceColor},children:[announceText,\" \",/*#__PURE__*/_jsx(\"a\",{href:announcePhoneHref,children:announcePhone})]}),/*#__PURE__*/_jsx(\"nav\",{className:\"delta-nav\",style:{background:navBg},children:/*#__PURE__*/_jsxs(\"div\",{className:\"delta-wrap delta-nav-inner\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"delta-logo\",children:logoSrc?/*#__PURE__*/_jsx(\"img\",{src:logoSrc,alt:brandName,style:{height:logoSize,width:\"auto\"}}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Emblem,{color:brand,size:logoSize}),/*#__PURE__*/_jsxs(\"div\",{style:{lineHeight:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:800,fontSize:logoSize*.42,color:navText,letterSpacing:\"0.04em\"},children:brandName}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:logoSize*.23,letterSpacing:\"0.22em\",color:brand,marginTop:3},children:brandSub})]})]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"delta-nav-right\",children:[/*#__PURE__*/_jsx(\"div\",{className:`delta-nav-links${menuOpen?\" open\":\"\"}`,style:{background:navBg},children:navLinks.map((l,i)=>/*#__PURE__*/_jsx(\"a\",{href:l.url||\"#\",style:{color:navText},children:l.label},i))}),/*#__PURE__*/_jsxs(\"div\",{className:\"delta-nav-icons\",children:[/*#__PURE__*/_jsx(\"a\",{href:announcePhoneHref,className:\"delta-icon-btn\",\"aria-label\":\"Call\",style:{background:brand},children:/*#__PURE__*/_jsx(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#FFFFFF\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M22 16.9 v3 a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7 A2 2 0 0 1 4.1 2 h3 a2 2 0 0 1 2 1.7 12.8 12.8 0 0 0 .7 2.8 2 2 0 0 1-.5 2.1 L8.1 9.9 a16 16 0 0 0 6 6 l1.3-1.3 a2 2 0 0 1 2.1-.5 12.8 12.8 0 0 0 2.8.7 2 2 0 0 1 1.7 2 Z\"})})}),/*#__PURE__*/_jsx(\"a\",{href:`mailto:${contactEmail}`,className:\"delta-icon-btn\",\"aria-label\":\"Email\",style:{background:brand},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#FFFFFF\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"5\",width:\"18\",height:\"14\",rx:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3 7 l9 6 l9-6\"})]})})]}),/*#__PURE__*/_jsxs(\"button\",{className:\"delta-hamburger\",onClick:()=>setMenuOpen(o=>!o),\"aria-label\":\"Menu\",children:[/*#__PURE__*/_jsx(\"span\",{style:{background:navText}}),/*#__PURE__*/_jsx(\"span\",{style:{background:navText}}),/*#__PURE__*/_jsx(\"span\",{style:{background:navText}})]})]})]})})]});}// ---------- Defaults ----------\nDeltaForensicsHeader.defaultProps={taglineText:\"TRAFFIC SIGNALS \\xb7 RAILROAD SYSTEMS \\xb7 FORENSIC ENGINEERING\",taglineBg:\"#FFFFFF\",taglineColor:\"#2F3A73\",announceText:\"Engineering Litigation Support? Serving Nationwide!\",announcePhone:\"(562) 441 1176\",announceBg:\"#0E1B3A\",announceColor:\"#FFFFFF\",logoImage:\"\",logoSize:48,brandName:\"DELTA\",brandSub:\"FORENSICS\",navBg:\"#FFFFFF\",navText:\"#1B2A4A\",contactEmail:\"Support@deltasynergetics.com\",brand:\"#3B5BDB\",navLinks:[{label:\"Home\",url:\"#\"},{label:\"Services\",url:\"#\"},{label:\"About Us\",url:\"#\"},{label:\"FAQ\",url:\"#\"},{label:\"Contact\",url:\"#contact\"}]};// ---------- Property Controls ----------\naddPropertyControls(DeltaForensicsHeader,{taglineText:{type:ControlType.String,title:\"Tagline\",displayTextArea:true},taglineBg:{type:ControlType.Color,title:\"Tagline BG\"},taglineColor:{type:ControlType.Color,title:\"Tagline Text\"},announceText:{type:ControlType.String,title:\"Announce\"},announcePhone:{type:ControlType.String,title:\"Phone\"},announceBg:{type:ControlType.Color,title:\"Announce BG\"},announceColor:{type:ControlType.Color,title:\"Announce Text\"},logoImage:{type:ControlType.ResponsiveImage,title:\"Logo Image\"},logoSize:{type:ControlType.Number,title:\"Logo Size\",min:24,max:120,step:1,unit:\"px\"},brandName:{type:ControlType.String,title:\"Brand Name\"},brandSub:{type:ControlType.String,title:\"Brand Sub\"},navBg:{type:ControlType.Color,title:\"Nav BG\"},navText:{type:ControlType.Color,title:\"Nav Text\"},contactEmail:{type:ControlType.String,title:\"Contact Email\"},navLinks:{type:ControlType.Array,title:\"Nav Links\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"Link\"},url:{type:ControlType.Link}}}},brand:{type:ControlType.Color,title:\"Brand / Icons\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DeltaForensicsHeader\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Header_universal_component.map"],"mappings":"wLAcA,SAAS,EAAO,CAAC,QAAM,OAAK,IAAI,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK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