1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[318],{5357:function(e,t,n){"use strict";var a=n(50464);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,n,i,o,s){if(s!==a){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},80377:function(e,t,n){e.exports=n(5357)()},50464:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},50318:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var a=n(15311),i=n(20132),o=n(5762),s=n(89395),c=n.n(s),r=n(80377),p=n.n(r),h=n(11653),l=n(14562),m=n(6623);let navLinksAction=()=>async e=>{try{let t=await (0,l.Y)("ar/menus/1/links"),n=await (0,l.Y)("fr/menus/1/links");e({type:m.lo.GET_NAV_LINKS,payload:{res_ar:t,res_fr:n}})}catch(e){}},footerLinksAction=e=>async t=>{try{let n=await (0,l.Y)("".concat(e,"/menus/2/links"));t({type:m.lo.GET_FOOTER_LINKS,payload:n})}catch(e){}},u=c()(()=>Promise.all([n.e(6381),n.e(5511)]).then(n.bind(n,95511)),{loadableGenerated:{webpack:()=>[95511]},ssr:!1}),f=c()(()=>Promise.all([n.e(6381),n.e(2282),n.e(6334)]).then(n.bind(n,82809)),{loadableGenerated:{webpack:()=>[82809]},ssr:!1});function Navigation(e){let{darkMood:t,locale:n,amp:s}=e,c=(0,o.useRouter)(),r=n||c.locale,[p,l]=i.useState(!1),m=(0,h.I0)(),{navigationsNav:y}=(0,h.v9)(e=>e.navigationsNav),toogleOpen=()=>{l(!p)};return i.useEffect(()=>{m(navLinksAction(r)),m(footerLinksAction(r))},[r,m]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u,{darkMood:t,switchLang:()=>window.location.replace("fr"===r?"/ar":"/fr"),open:p,toogleOpen:toogleOpen,locale:r,amp:s}),(0,a.jsx)("div",{className:"body-overlay ".concat(p?"open":""),onClick:toogleOpen}),(0,a.jsx)(f,{toogleOpen:toogleOpen,open:p,myLinks:y,locale:r})]})}Navigation.propTypes={toogleOpen:p().func};var y=Navigation},14562:function(e,t,n){"use strict";n.d(t,{Y:function(){return getData},q:function(){return postData}});let getData=async e=>{try{let t=await fetch("".concat("https://api.mosaiquefm.net/api/").concat(e),{method:"GET"}),n=await t.json();return n}catch(e){return NULL}},postData=async e=>{try{let t=await fetch("".concat("https://api.mosaiquefm.net/api/").concat(e),{method:"POST"}),n=await t.json();return n}catch(e){return NULL}}}}]);
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.