1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6912],{43823:function(e,r,t){Promise.resolve().then(t.bind(t,23296)),Promise.resolve().then(t.bind(t,16465)),Promise.resolve().then(t.bind(t,61730)),Promise.resolve().then(t.bind(t,96609)),Promise.resolve().then(t.bind(t,85995)),Promise.resolve().then(t.t.bind(t,90413,23)),Promise.resolve().then(t.t.bind(t,68326,23))},23296:function(e,r,t){"use strict";t.r(r);var n=t(28811),o=t.n(n);r.default=o()(()=>Promise.all([t.e(5832),t.e(5806),t.e(1396)]).then(t.bind(t,25806)),{loadableGenerated:{webpack:()=>[25806]}})},66908:function(e,r,t){"use strict";var n=t(57437),o=t(74769),i=t(48565);function Button(e){let{href:r,type:t,children:a,style:s="primary",invert:l=!1,className:u=""}=e;return(0,n.jsxs)(r?"a":"button",{href:r||void 0,type:t||void 0,className:(0,o.m6)({default:{primary:"relative px-6 inline-block py-2 text-secondary isolate before:absolute before:top-0 before:shadow-lg before:shadow-primary/20 before:inset-0 before:w-full before:bg-primary before:transform before:-z-10 before:skew-x-[-13deg] before:rounded-md before:border before:border-primary-300 hover:scale-105 duration-300 ease-out before:ease-out before:duration-300 hover:before:bg-primary-300 hover:before:border-primary-200 active:before:bg-primary-500 active:before:border-primary hover:before:shadow-xl",secondary:"relative px-6 inline-block py-2 text-primary isolate before:absolute before:top-0 before:shadow-md before:shadow-primary/20 before:inset-0 before:w-full before:transform before:-z-10 before:skew-x-[-13deg] before:rounded-md before:border before:border-primary hover:scale-105 duration-300 ease-out before:ease-out before:duration-300 hover:before:border-primary-200 active:before:border-primary hover:before:shadow-lg",link:"relative p-2 inline-block text-primary hover:scale-105 duration-300 ease-out"},invert:{primary:"relative px-6 inline-block py-2 text-primary isolate before:absolute before:top-0 before:shadow-lg before:shadow-secondary/20 before:inset-0 before:w-full before:bg-secondary before:transform before:-z-10 before:skew-x-[-13deg] before:rounded-md before:border before:border-slate-800 hover:scale-105 duration-300 ease-out before:ease-out before:duration-300 hover:before:bg-slate-800 hover:before:border-slate-800 active:before:bg-slate-800 active:before:border-secondary hover:before:shadow-xl",secondary:"relative px-6 inline-block py-2 text-secondary isolate before:absolute before:top-0 before:shadow-md before:shadow-secondary/20 before:inset-0 before:w-full before:transform before:-z-10 before:skew-x-[-13deg] before:rounded-md before:border before:border-secondary hover:scale-105 duration-300 ease-out before:ease-out text-slate-800 before:duration-300 hover:before:border-slate-800 active:before:border-secondary hover:before:shadow-lg",link:"relative p-2 inline-block text-secondary hover:scale-105 duration-300 ease-out"}}[l?"invert":"default"][s],u),children:[a,"link"===s&&(0,n.jsx)(i.Z,{className:"ml-1 inline-block w-5"})]})}r.Z=Button},16465:function(e,r,t){"use strict";t.r(r),t.d(r,{CustomPortableText:function(){return CustomPortableText}});var n=t(57437),o=t(46926),i=t(54440),a=t.n(i),s=t(81628),l=t(16691),u=t.n(l),c=t(28811),d=t.n(c);let f=d()(()=>t.e(5581).then(t.bind(t,45581)),{loadableGenerated:{webpack:()=>[45581]}}),m=d()(()=>t.e(92).then(t.bind(t,80092)),{loadableGenerated:{webpack:()=>[80092]}});function BodyMedia(e){var r;let{media:t,className:o}=e,i=null===(r=(0,s.T)(t.image))||void 0===r?void 0:r.url();return(0,n.jsxs)("div",{className:a()({"not-prose":!0,"w-full":"fullWidth"===t.size,"w-1/2":"medium"===t.size,"w-1/2 md:w-1/3":"small"===t.size,"float-left mr-2 md:mr-5":"fullWidth"!==t.size&&"left"===t.alignment,"float-right ml-2 md:ml-5":"fullWidth"!==t.size&&"right"===t.alignment,[o||""]:!0}),children:["image"===t.mediaType&&(0,n.jsx)(n.Fragment,{children:i&&(0,n.jsx)(u(),{className:"",alt:t.description,src:i,width:t.image.asset.metadata.dimensions.width,height:t.image.asset.metadata.dimensions.height,placeholder:"blur",blurDataURL:t.image.asset.metadata.lqip})}),"video"===t.mediaType&&t.video&&(0,n.jsx)(m,{video:t.video}),"youtubeLink"===t.mediaType&&(0,n.jsx)(f,{video:t.youtubeLink}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-between",children:[t.description&&(0,n.jsx)("small",{className:"mt-1 block p-1 text-xs font-bold",children:t.description}),t.credit&&(0,n.jsxs)("small",{className:"mt-1 block p-1 text-xs text-neutral-400",children:[["video","youtubeLink"].includes(t.mediaType)?"Video":"Photo","\xa0: ",t.credit]})]})]})}function CustomPortableText(e){let{value:r,className:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.YI,{components:{block:{normal:e=>{let{children:r}=e;return(0,n.jsx)("p",{className:t,children:r})}},list:{bullet:e=>{let{children:r}=e;return(0,n.jsx)("ul",{className:"mt-x list-disc",children:r})},number:e=>{let{children:r}=e;return(0,n.jsx)("ol",{className:"mt-lg list-decimal",children:r})}},marks:{yellowHighlight:e=>{let{children:r,value:t}=e;return(0,n.jsx)("span",{className:"text-primary font-semibold",children:r})},link:e=>{let{children:r,value:t}=e;return(0,n.jsx)("a",{className:"underline transition hover:opacity-50",href:null==t?void 0:t.href,rel:"noreferrer noopener",children:r})}},types:{bodyMedia:e=>{let{value:r}=e;return(0,n.jsx)(BodyMedia,{media:r,className:"relative aspect-[16/9]"})}}},value:r}),(0,n.jsx)("div",{className:"clear-both"})]})}},61730:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return FAQ}});var n=t(57437),o=t(2265),i=t(16465),a=t(3217),s=t(66908);function FAQ(e){let{title:r="Questions fr\xe9quentes",subtitle:t="Trouvez les r\xe9ponses \xe0 vos questions",QandA:l}=e,[u,c]=(0,o.useState)(null);return(0,n.jsxs)("section",{className:"grid grid-cols-1 gap-12 md:grid-cols-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"mb-5 mt-2 text-3xl font-semibold",children:r}),(0,n.jsx)("p",{className:"mb-5 text-slate-400",children:t}),(0,n.jsx)(s.Z,{href:"/contact",style:"secondary",children:"Nous contacter"})]}),(0,n.jsx)("div",{children:l.map((e,r)=>(0,n.jsxs)("div",{className:"mb-6",children:[(0,n.jsxs)("button",{className:"flex w-full text-left",onClick:()=>c(r===u?null:r),children:[(0,n.jsx)(a.Z,{className:"mr-4 h-6 w-6 text-slate-400 duration-150 ease-in-out ".concat(r===u&&"rotate-90")}),(0,n.jsx)("p",{className:"text-lg font-bold",children:e.question})]}),(0,n.jsx)("div",{className:"my-5 overflow-hidden pl-12 text-slate-400 duration-150 ease-in-out ".concat(r===u?"h-auto":"h-0"),
1children:(0,n.jsx)(i.CustomPortableText,{value:e.answer})})]},r))})]})}},96609:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return Testimonials}});var n=t(57437),o=t(74769),i=t(2265),a=t(16465),s=t(17418),l=t(42015),u=t(82261);function Testimonials(e){let{title:r="T\xe9moignages clients",subtitle:t="D\xe9couvrez ce que nos clients disent de nous",testimonials:c,className:d}=e,f=(0,i.useRef)(null);return(0,n.jsxs)("section",{className:(0,o.m6)("full-width !py-0",d),children:[(0,n.jsx)("h2",{className:"mb-5 text-3xl font-semibold",children:r}),(0,n.jsx)("p",{className:"text-slate-400",children:t}),(0,n.jsx)("div",{className:"mb-8 mt-10 w-full overflow-hidden ![grid-column-end:full-width-end] ![grid-column-start:content-start]",children:(0,n.jsx)("div",{className:"flex gap-8 overflow-auto py-8",ref:f,children:c.map((e,r)=>(0,n.jsxs)("div",{className:"flex min-w-full flex-col md:min-w-[40%]",children:[(0,n.jsx)("div",{className:"flex gap-1",children:Array.from({length:e.stars}).map((e,r)=>(0,n.jsx)(s.Z,{className:"h-5 w-5 text-primary","aria-hidden":"true"},r))}),(0,n.jsx)(a.CustomPortableText,{value:e.testimonial,className:"my-8 font-semibold"}),(0,n.jsxs)("div",{className:"mt-auto",children:[(0,n.jsx)("p",{children:e.name}),(0,n.jsx)("small",{className:"text-slate-400",children:e.job})]})]},r))})}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("div",{className:"flex gap-2",children:c.map((e,r)=>(0,n.jsx)("span",{className:"h-2 w-2 rounded-full bg-slate-400"},r))}),(0,n.jsxs)("div",{className:"flex gap-5",children:[(0,n.jsx)("button",{className:"ease flex items-center gap-2 text-primary duration-300 hover:scale-110",onClick:()=>{var e;null===(e=f.current)||void 0===e||e.scrollBy({left:-f.current.clientWidth,behavior:"smooth"})},children:(0,n.jsx)(l.Z,{className:"h-10 w-10","aria-hidden":"true"})}),(0,n.jsx)("button",{className:"ease flex items-center gap-2 text-primary duration-300 hover:scale-110",onClick:()=>{var e;null===(e=f.current)||void 0===e||e.scrollBy({left:f.current.clientWidth,behavior:"smooth"})},children:(0,n.jsx)(u.Z,{className:"h-10 w-10","aria-hidden":"true"})})]})]})]})}},15408:function(e,r,t){"use strict";t.d(r,{Ag:function(){return u},Mh:function(){return d},V$:function(){return f},Y3:function(){return a},aD:function(){return i},gK:function(){return l},m6:function(){return c},nk:function(){return s},or:function(){return o}});var n=t(25566);let o=assertValue("https://awe-consulting-fr.vercel.app","Missing environment variable: NEXT_PUBLIC_SITE_URL"),i=assertValue("AWE","Missing environment variable: SITE_NAME"),a=n.env.NEXT_PUBLIC_SANITY_API_VERSION||"2023-06-01",s=assertValue("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),l=assertValue("ivwo0ljf","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID"),u=assertValue("9xcYlJ75BzQHCDiZySb8dIOwjEasSQjdIWRLjgpV","Missing environment variable: NEXT_PUBLIC_SANITY_PREVIEW_SECRET"),c=assertValue("5177fce90d7e5bb3a94b382f6eef3e22","Missing environment variable: MIXPANEL_PROJECT_TOKEN"),d=assertValue("https://eu.mixpanel.com/p/SqrrbbGLddZYGTrrVwyjDy","Missing environment variable: MIXPANEL_BOARD_URL");assertValue("3796247","Missing environment variable: NEXT_PUBLIC_HOTJAR_ID"),assertValue("6","Missing environment variable: NEXT_PUBLIC_HOTJAR_SCRIPT_VERSION");let f=assertValue("322b8a10-686f-430e-aade-8beb9e5b22f6","Missing environment variable: NEXT_PUBLIC_STATIC_FORMS_ACCESS_KEY");function assertValue(e,r){if(void 0===e)throw Error(r);return e}},36201:function(e,r,t){"use strict";t.r(r),t.d(r,{client:function(){return i}});var n=t(81784),o=t(15408);let i=(0,n.e)({apiVersion:o.Y3,dataset:o.nk,projectId:o.gK,useCdn:!1})},81628:function(e,r,t){"use strict";t.d(r,{G:function(){return absoluteUrl},T:function(){return enrichSanityImage}});var n=t(6662),o=t.n(n),i=t(36201);let a=o()(i.client);function enrichSanityImage(e){return a.image(e).auto("format")}function absoluteUrl(e){let{url:r}=e;return r.startsWith("/")?r:"/".concat(r)}},48565:function(e,r,t){"use strict";var n=t(2265);function ChevronRightIcon({title:e,titleId:r,...t},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{fillRule:"evenodd",d:"M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z",clipRule:"evenodd"}))}let o=n.forwardRef(ChevronRightIcon);r.Z=o},17418:function(e,r,t){"use strict";var n=t(2265);function StarIcon({title:e,titleId:r,...t},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{fillRule:"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401z",clipRule:"evenodd"}))}let o=n.forwardRef(StarIcon);r.Z=o},42015:function(e,r,t){"use strict";var n=t(2265);function ArrowLeftCircleIcon({title:e,titleId:r,...t},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 9l-3 3m0 0l3 3m-3-3h7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}let o=n.forwardRef(ArrowLeftCircleIcon);r.Z=o},82261:function(e,r,t){"use strict";var n=t(2265);function ArrowRightCircleIcon({title:e,titleId:r,...t},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 15l3-3m0 0l-3-3m3 3h-7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}let o=n.forwardRef(ArrowRightCircleIcon);r.Z=o},3217:function(e,r,t){"use strict";var n=t(2265);function ChevronRightIcon({title:e,titleId:r,...t},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}let o=n.forwardRef(ChevronRightIcon);r.Z=o},11595:function(e,r,t){"use strict";t.d(r,{Kq:function(){return i},T_:function(){return c},Ts:function(){return u},UO:function(){return useParams},iS:function(){return l},nW:function(){return getQueryCacheKey},pm:function(){return o},tT:function(){return useLoadingListenersContext}});var n=t(2265);function getQueryCacheKey(e,r){return"".concat(e,"-").concat(JSON.stringify(r))}function useParams(e){let r=(0,n.useMemo)(()=>JSON.stringify(e||{}),[e]);return(0,n.useMemo)(()=>JSON.parse(r),[r])}function useLoadingListenersContext(e){let[r,t]=(0,n.useReducer)(e=>e+1,0),o=(0,n.useRef)(!0),i=(0,n.useCallback)(()=>{o.current&&(0,n.startTransition)(()=>t())},[]);(0,n.useEffect)(()=>(o.current=!0,i(),()=>{o.current=!1}),[i]);let a=(0,n.useMemo)(()=>r?[...e]:[],[e,r]);return[a,i]}let o=3e3,i="sanity.preview-kit",a=new Map,s=new Map,l=(0,n.createContext)(function(e,r,t){let n=getQueryCacheKey(r,t);return a.set(n,e),s.has(n)||s.set(n,0),{subscribe:()=>(s.set(n,s.get(n)+1),()=>{s.set(n,s.get(n)-1),0===s.get(n)&&a.delete(n)}),getSnapshot:()=>a.has(n)?a.get(n):e}}),u=(0,n.createContext)(null),c=(0,n.createContext)(!1)},85995:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return LiveQueryClientComponent}});var n=t(57437),o=t(2265),i=t(11595);function useLiveQuery(e,r,t){let n=(0,o.useContext)(i.iS),a=(0,i.UO)(t),s=(0,o.useMemo)(()=>n(e,r,a),[n,e,a,r]),[l]=(0,o.useState)(()=>
1{if(void 0===e)throw Error("initialSnapshot can't be undefined, if you don't want an initial value use null instead");try{return JSON.parse(JSON.stringify(e))}catch(r){return console.warn("Failed to deep clone initialSnapshot, this is likely an error and an indication that the snapshot isn't JSON serializable",{initialSnapshot:e,error:r}),e}}),u=(0,o.useCallback)(()=>l,[l]);return(0,o.useSyncExternalStore)(s.subscribe,s.getSnapshot,u)}function LiveQueryClientComponent(e){let{initialData:r,query:t,params:o,children:i}=e,a=useLiveQuery(r,t,o);return(0,n.jsx)(Slot,{data:a,children:i})}LiveQueryClientComponent.displayName="LiveQuery";let Slot=e=>{let{children:r,data:t,...n}=e;return(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{...n,...r.props,data:t,ref:r.ref}):o.Children.count(r)>1?o.Children.only(null):null};Slot.displayName="Slot"}},function(e){e.O(0,[5986,4618,777,4769,8326,2971,2472,1744],function(){return e(e.s=43823)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.