{"version":3,"file":"MobileExplorerGroups.DbKrmEsx.mjs","names":["React.useState","React.useMemo","React.useCallback","__esmMin","ne","init_npm_react_18_3_1","te","pe","init_jsx_runtime","c","p","_e","addPropertyControls","init_framer_DDfsYcI0","ControlType","MobileExplorerGroups","defaultExecutiveSearchLinks","defaultLeadershipAdvisoryLinks","defaultCabinetLinks","props","openSection","setOpenSection","sections","resolveLinks","approved","approvedHrefMap","key","hrefs","links","item","allCollapsedToFirst","href","approvedHref","index","explicitHref","executiveSearchTitle","executiveSearchLinks","leadershipAdvisoryTitle","leadershipAdvisoryLinks","cabinetTitle","cabinetLinks","handleSummaryActivate","prev","navAriaLabel","backgroundColor","creamColor","goldColor","kicker","question","isOpen","section","borderColor","event","methodHref","methodLabel","contactHref","contactLabel","init_MobileExplorerGroups"],"sources":["https:/framerusercontent.com/modules/AW44wTLDlcKUOYphoD7j/Ih8wP18oGzusLotn0YWh/MobileExplorerGroups.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const defaultExecutiveSearchLinks=[{label:\"Sant\\xe9 & sciences de la vie\",href:\"/expertises/sante-pharma-biotech\"},{label:\"Technologies & IA\",href:\"/expertises/nouvelles-technologies-genia\"},{label:\"Luxe, vins & spiritueux\",href:\"/expertises/luxe-vin-spiritueux\"},{label:\"Retail & distribution\",href:\"/expertises/retail-distribution-specialise\"},{label:\"Fonds & participations\",href:\"/expertises/private-equity-fonds-investissement\"},{label:\"Durabilit\\xe9, RSE & CSRD\",href:\"/expertises/sustainability-csrd\"},{label:\"Toutes nos expertises ↗\",href:\"/expertises\"}];const defaultLeadershipAdvisoryLinks=[{label:\"Family Business\",href:\"/leadership-advisory/family-business\"},{label:\"Executive Compensation\",href:\"/leadership-advisory/executive-compensation\"},{label:\"Notre accompagnement ↗\",href:\"/leadership-advisory\"}];const defaultCabinetLinks=[{label:\"Les partners\",href:\"/equipe\"},{label:\"Notre histoire\",href:\"/apropos\"},{label:\"International\",href:\"/international\"},{label:\"Nos engagements\",href:\"/notre-engagement\"},{label:\"Articles\",href:\"/articles\"},{label:\"Contact\",href:\"/contact\"}];const approvedHrefMap={executive:[\"/expertises/sante-pharma-biotech\",\"/expertises/nouvelles-technologies-genia\",\"/expertises/luxe-vin-spiritueux\",\"/expertises/retail-distribution-specialise\",\"/expertises/private-equity-fonds-investissement\",\"/expertises/sustainability-csrd\",\"/expertises\"],advisory:[\"/leadership-advisory/family-business\",\"/leadership-advisory/executive-compensation\",\"/leadership-advisory\"],cabinet:[\"/equipe\",\"/apropos\",\"/international\",\"/notre-engagement\",\"/articles\",\"/contact\"]};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function MobileExplorerGroups(props){const{navAriaLabel=\"Explorer mobile\",kicker=\"EXPLORER LAROZE PARTNERS\",question=\"Quel est votre prochain enjeu ?\",executiveSearchTitle=\"Executive Search\",leadershipAdvisoryTitle=\"Leadership Advisory\",cabinetTitle=\"Le cabinet\",executiveSearchLinks=defaultExecutiveSearchLinks,leadershipAdvisoryLinks=defaultLeadershipAdvisoryLinks,cabinetLinks=defaultCabinetLinks,methodLabel=\"La m\\xe9thode ↗\",methodHref=\"/laroze-pattern\",contactLabel=\"Parlons de vos enjeux ↗\",contactHref=\"/contact\",backgroundColor=\"#171916\",goldColor=\"#bfa574\",creamColor=\"#d8ceb7\",borderColor=\"rgba(191,165,116,0.28)\"}=props;const[openSection,setOpenSection]=React.useState(\"executive\");const sections=React.useMemo(()=>{const resolveLinks=(links,key)=>{const approved=approvedHrefMap[key];const hrefs=links.map(item=>item?.href||\"\");const allCollapsedToFirst=hrefs.length>1&&hrefs.every(href=>href&&href===hrefs[0]);return links.map((item,index)=>{const approvedHref=approved[index]||item?.href||\"#\";const explicitHref=item?.href||\"\";const href=allCollapsedToFirst||!explicitHref?approvedHref:explicitHref;return{label:item?.label||\"\",href};});};return[{key:\"executive\",title:executiveSearchTitle,links:resolveLinks(executiveSearchLinks,\"executive\")},{key:\"advisory\",title:leadershipAdvisoryTitle,links:resolveLinks(leadershipAdvisoryLinks,\"advisory\")},{key:\"cabinet\",title:cabinetTitle,links:resolveLinks(cabinetLinks,\"cabinet\")}];},[executiveSearchTitle,executiveSearchLinks,leadershipAdvisoryTitle,leadershipAdvisoryLinks,cabinetTitle,cabinetLinks]);const handleSummaryActivate=React.useCallback(key=>{React.startTransition(()=>setOpenSection(prev=>{if(prev===key)return null;return key;}));},[]);return /*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":navAriaLabel,style:{position:\"relative\",width:\"100%\",maxWidth:\"100%\",margin:0,background:backgroundColor,color:creamColor,boxSizing:\"border-box\",overflowX:\"hidden\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .mobileExplorerSummary:focus-visible,\n                .mobileExplorerLink:focus-visible,\n                .mobileExplorerCta:focus-visible {\n                    outline: 1px solid ${goldColor};\n                    outline-offset: 4px;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"8px 0 0\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"Inter, sans-serif\",fontSize:10,letterSpacing:\"1.5px\",textTransform:\"uppercase\",color:goldColor,marginBottom:14},children:kicker}),/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,fontFamily:\"Karma, serif\",fontWeight:400,fontSize:30,lineHeight:1.2,color:creamColor},children:question})]}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:18},children:sections.map(section=>{const isOpen=openSection===section.key;return /*#__PURE__*/_jsxs(\"details\",{name:\"mobile-menu\",open:isOpen,style:{borderTop:`1px solid ${borderColor}`},children:[/*#__PURE__*/_jsxs(\"summary\",{className:\"mobileExplorerSummary\",onClick:event=>{event.preventDefault();handleSummaryActivate(section.key);},style:{listStyle:\"none\",minHeight:74,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",cursor:\"pointer\",fontFamily:\"Karma, serif\",fontWeight:400,fontSize:25,lineHeight:1.2,color:creamColor,outlineOffset:4},children:[/*#__PURE__*/_jsx(\"span\",{children:section.title}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,style:{fontFamily:\"Inter, sans-serif\",fontSize:20,lineHeight:1,color:creamColor},children:isOpen?\"−\":\"+\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{paddingBottom:8},children:section.links.map((item,index)=>/*#__PURE__*/_jsxs(\"a\",{className:\"mobileExplorerLink\",href:item.href,style:{minHeight:49,borderTop:index===0?\"none\":`1px solid ${borderColor}`,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",textDecoration:\"none\",color:creamColor,fontFamily:\"Inter, sans-serif\",fontWeight:400,fontSize:14,lineHeight:1.35,paddingRight:2},children:[/*#__PURE__*/_jsx(\"span\",{children:item.label}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,style:{color:goldColor},children:\"↗\"})]},`${section.key}-${index}-${item.href}`))})]},section.key);})}),/*#__PURE__*/_jsx(\"a\",{className:\"mobileExplorerCta\",href:methodHref,style:{minHeight:64,borderTop:`1px solid ${borderColor}`,display:\"flex\",alignItems:\"center\",textDecoration:\"none\",fontFamily:\"Karma, serif\",fontWeight:400,fontSize:23,lineHeight:1.2,color:creamColor},children:methodLabel}),/*#__PURE__*/_jsx(\"a\",{className:\"mobileExplorerCta\",href:contactHref,style:{minHeight:52,border:`1px solid ${goldColor}`,padding:\"12px 17px\",display:\"inline-flex\",alignItems:\"center\",textDecoration:\"none\",fontFamily:\"Inter, sans-serif\",fontSize:14,lineHeight:1.2,color:creamColor,marginTop:8,marginBottom:2},children:contactLabel})]});}addPropertyControls(MobileExplorerGroups,{navAriaLabel:{type:ControlType.String,defaultValue:\"Explorer mobile\"},kicker:{type:ControlType.String,defaultValue:\"EXPLORER LAROZE PARTNERS\"},question:{type:ControlType.String,defaultValue:\"Quel est votre prochain enjeu ?\"},executiveSearchTitle:{type:ControlType.String,defaultValue:\"Executive Search\"},leadershipAdvisoryTitle:{type:ControlType.String,defaultValue:\"Leadership Advisory\"},cabinetTitle:{type:ControlType.String,defaultValue:\"Le cabinet\"},executiveSearchLinks:{type:ControlType.Array,defaultValue:defaultExecutiveSearchLinks,control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"Sant\\xe9 & sciences de la vie\"},href:{type:ControlType.Link,defaultValue:\"/expertises/sante-pharma-biotech\"}}}},leadershipAdvisoryLinks:{type:ControlType.Array,defaultValue:defaultLeadershipAdvisoryLinks,control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"Family Business\"},href:{type:ControlType.Link,defaultValue:\"/leadership-advisory/family-business\"}}}},cabinetLinks:{type:ControlType.Array,defaultValue:defaultCabinetLinks,control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"Les partners\"},href:{type:ControlType.Link,defaultValue:\"/equipe\"}}}},methodLabel:{type:ControlType.String,defaultValue:\"La m\\xe9thode ↗\"},methodHref:{type:ControlType.Link,defaultValue:\"/laroze-pattern\"},contactLabel:{type:ControlType.String,defaultValue:\"Parlons de vos enjeux ↗\"},contactHref:{type:ControlType.Link,defaultValue:\"/contact\"},backgroundColor:{type:ControlType.Color,defaultValue:\"#171916\"},goldColor:{type:ControlType.Color,defaultValue:\"#bfa574\"},creamColor:{type:ControlType.Color,defaultValue:\"#d8ceb7\"},borderColor:{type:ControlType.Color,defaultValue:\"rgba(191,165,116,0.28)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MobileExplorerGroups\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MobileExplorerGroups.map"],"mappings":"A,sMAGG,SAAwBe,EAAqB,EAAM,CAAC,GAAK,CAAC,eAAa,kBAAkB,SAAO,2BAA2B,WAAS,kCAAkC,u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