PageSourceSearch

https://carte.destination-parc-monts-ardeche.fr/_next/static/chunk…/event/[touristicEvent]-8e00ee5a452d1365.js

js destination-parc-monts-ardeche.fr collected 2026-10-01 14:19:04 UTC 9,698 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ddf4de26-339e-4ada-adf8-e29948e73ba6",e._sentryDebugIdIdentifier="sentry-dbid-ddf4de26-339e-4ada-adf8-e29948e73ba6")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{1727:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[touristicEvent]",function(){return i(54950)}])},11166:function(e,t,i){"use strict";i.d(t,{IV:function(){return c},LH:function(){return o},vu:function(){return d}});var n=i(70895),s=i(34225),a=i(94252),r=i(26675),l=i(97040);let o=async(e,t,i)=>{try{let{themes:n={},cities:o={},sources:d=[]}=null!=i?i:{},[c,m,u]=await Promise.all([(0,l.A0)({language:t},e),(0,s.f8)(Number(e),t,"near_touristicevent"),(0,a.m)(t)]);return(0,r._v)({rawTouristicEventDetails:c,themeDictionnary:n,cityDictionnary:o,touristicContents:m,sourcesDictionnary:d,touristicEventType:u})}catch(e){throw console.error("Error in outdoor course connector",e),e}},d=async(e,t,i)=>{let n=await (0,l.A0)({language:t},e),{cities:s={}}=null!=i?i:{};return(0,r.Eg)({rawTouristicEventPopupResult:n,cityDictionnary:s})},c=async(e,t)=>{let i=await (0,l.nD)({language:t},e);return(0,n.wl)(i.geometry)}},54950:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return G},default:function(){return X}});var n=i(24246),s=i(30344),a=i(86394),r=i(31751),l=i(77726),o=i(27948),d=i(25726),c=i(800),m=i(71819),u=i(12186),p=i(86202),f=i(27378),x=i(66144),g=i(21045),v=i(99412),j=i(75815),h=i(17490),_=i(11166),y=i(16664);let N=(e,t)=>{let i=(0,x.p)(e)?e.split("-")[0]:"",n=(0,h.a)(t),{data:s,refetch:a,isLoading:r}=(0,g.a)({queryKey:["outdoorCourseDetails",i,t],queryFn:()=>(0,_.LH)(i,t,n),enabled:(0,x.p)(e)&&void 0!==n,staleTime:v.s}),{sections:l}=(0,y.H)(t),o=l.touristicEvent.filter(e=>{let{display:t}=e;return!0===t}),{sectionsReferences:d,sectionsPositions:c,useSectionReferenceCallback:m}=(0,j.Z)(),u=o.reduce((e,t)=>({...e,[t.name]:m(t.name)}),{}),[p,N]=(0,f.useState)("HIDDEN");return{id:i,touristicEventContent:s,refetch:a,isLoading:r,mobileMapState:p,displayMobileMap:()=>N("DISPLAYED"),hideMobileMap:()=>N("HIDDEN"),sectionsReferences:d,sectionsPositions:c,sectionRef:u}};var b=i(83573),I=i(78351),k=i(61265),C=i(95501),E=i(88210),T=i(56404),w=i(18141),D=i(67246),U=i(70311),L=i(6550),H=i(6949),S=i(8542),A=i(74373),Z=i(27288),M=i(74557),O=i(86525),R=i(89087),P=i(68283),F=i(26891);let z=e=>{var t,i;let{touristicEventUrl:p,language:g}=e,{id:v,touristicEventContent:j,isLoading:h,refetch:_,mobileMapState:y,displayMobileMap:z,hideMobileMap:V,sectionsReferences:B,sectionsPositions:$,sectionRef:q}=N(p,g),G=(0,b.Z)(),X=(0,C.useMediaPredicate)("(max-width: 1024px)"),Y=(0,f.useRef)(null),K=(0,U.Z)("undefined"!=typeof navigator&&navigator.onLine),{sections:J,anchors:Q}=(0,R.i)("touristicEvent");return(0,m.h)({sectionsPositions:$,scrollOffset:(null!==(i=null===(t=Y.current)||void 0===t?void 0:t.offsetTop)&&void 0!==i?i:0)-parseInt(F.theme.spacing.desktopHeader,10)-parseInt(F.theme.spacing[14],10)}),(0,f.useMemo)(()=>{var e,t;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T.y,{title:null==j?void 0:j.name,description:(0,x.d)(null==j?void 0:j.description),sharingImageUrl:null==j?void 0:null===(t=j.images)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.url}),void 0===j?(0,n.jsx)(n.Fragment,{children:h?(0,n.jsx)(k.Z,{className:"absolute inset-0"}):(0,n.jsx)(Z.H,{refetch:_})}):(0,n.jsxs)("div",{id:"details_container",children:[(0,n.jsx)(l.c,{anchors:Q,sectionsReferences:B,details:j,type:"TOURISTIC_EVENT"}),void 0!==j.name&&(0,n.jsx)(c.gI,{title:j.name}),(0,n.jsxs)("div",{id:"outdoorCourseContent_page",className:"flex flex-1",children:[(0,n.jsxs)("div",{id:"outdoorCourseContent_informations",className:"flex flex-col w-full relative -top-detailsHeaderMobile desktop:top-0 desktop:w-3/5",children:[(0,n.jsx)(D.n,{displayMap:z}),(0,n.jsx)("div",{className:"desktop:h-coverDetailsDesktop",children:(0,n.jsx)(s.u,{children:e=>{let{toggleFullscreen:t,isFullscreen:i}=e;return(0,n.jsx)("div",{id:"outdoorCourseContent_cover",className:i?"h-full":"desktop:h-coverDetailsDesktop",children:j.images.length>1&&K?(0,n.jsx)(O.i,{images:j.images,classNameImage:i?"object-contain":"",onClickImage:t}):(0,n.jsx)(L.$,{image:j.images[0],classNameImage:i?"object-contain":"",onClick:t})})}})}),(0,n.jsxs)("div",{id:"touristicEventContent_text",className:"desktop:py-0 relative -top-6 desktop:-top-9 flex flex-col",ref:Y,children:[(0,n.jsx)(M.F,{details:j,practice:{id:0,pictogramUri:j.category.pictogramUri,label:j.category.label}
1,type:"TOURISTIC_EVENT"}),J.map(e=>{var t,i,s,l,m,p,f,x;if("presentation"===e.name)return(0,n.jsx)("section",{ref:q[e.name],id:"details_".concat(e.name,"_ref"),children:(0,n.jsx)(A.B,{className:c.lL,informations:j.informations,place:j.place,tags:j.tags,title:j.name,teaser:j.descriptionTeaser,ambiance:"",details:j,type:"TOURISTIC_EVENT",id:v})},e.name);if("medias"===e.name&&j.filesFromAttachments.length>0)return(0,n.jsx)("section",{ref:q[e.name],id:"details_".concat(e.name,"_ref"),children:(0,n.jsx)(o.j,{htmlId:"details_medias",className:c.lL,children:(0,n.jsx)(P.B,{files:j.filesFromAttachments})})},e.name);if("description"===e.name&&j.description)return(0,n.jsx)("section",{ref:q[e.name],id:"details_".concat(e.name,"_ref"),children:(0,n.jsx)(r.N,{descriptionHtml:j.description,className:c.lL,cities:j.cities.map(e=>e.name)})},e.name);if("practicalInformations"===e.name)return(0,n.jsxs)("section",{ref:q[e.name],id:"details_".concat(e.name,"_ref"),children:[(0,n.jsx)(r.N,{id:"details_practicalInformations",descriptionHtml:null!==(t=j.contact)&&void 0!==t?t:"",className:c.lL,title:(0,n.jsx)(I.Z,{id:"details.informationDesks"}),email:j.email,website:j.website}),j.accessibility&&(0,n.jsx)("div",{children:(0,n.jsx)(r.N,{descriptionHtml:null!==(i=j.accessibility)&&void 0!==i?i:"",className:c.lL,title:(0,n.jsx)(I.Z,{id:"details.accessibility"})})}),j.organizer&&(0,n.jsx)("div",{children:(0,n.jsx)(r.N,{descriptionHtml:null!==(s=j.organizer)&&void 0!==s?s:"",className:c.lL,title:(0,n.jsx)(I.Z,{id:"details.organizer"})})}),j.speaker&&(0,n.jsx)("div",{children:(0,n.jsx)(r.N,{descriptionHtml:null!==(l=j.speaker)&&void 0!==l?l:"",className:c.lL,title:(0,n.jsx)(I.Z,{id:"details.speaker"})})}),j.targetAudience&&(0,n.jsx)("div",{children:(0,n.jsx)(r.N,{descriptionHtml:null!==(m=j.targetAudience)&&void 0!==m?m:"",className:c.lL,title:(0,n.jsx)(I.Z,{id:"details.targetAudience"})})}),j.practicalInfo&&(0,n.jsx)("div",{children:(0,n.jsx)(r.N,{descriptionHtml:null!==(p=j.practicalInfo)&&void 0!==p?p:"",className:c.lL,title:(0,n.jsx)(I.Z,{id:"details.practicalInfo"})})}),j.booking&&(0,n.jsx)("div",{children:(0,n.jsx)(r.N,{descriptionHtml:null!==(f=j.booking)&&void 0!==f?f:"",className:c.lL,title:(0,n.jsx)(I.Z,{id:"details.booking"})})})]},e.name);if("source"===e.name&&j.sources.length>0)return(0,n.jsx)("section",{ref:q[e.name],id:"details_".concat(e.name,"_ref"),children:(0,n.jsx)(o.j,{htmlId:"details_source",titleId:"details.source",className:c.lL,children:j.sources.map((e,t)=>(0,n.jsx)(d.S,{name:e.name,website:e.website,pictogramUri:e.pictogramUri},t))})},e.name);if("touristicContent"===e.name&&j.touristicContents.length>0)return(0,n.jsx)("section",{ref:q[e.name],id:"details_".concat(e.name,"_ref"),children:(0,n.jsx)(a.L,{htmlId:"details_touristicContent",title:G.formatMessage({id:"details.touristicContent"}),displayBadge:!0,generateUrlFunction:u.tR,detailsCards:j.touristicContents.map(e=>{var t,i;return{id:"".concat(e.id),name:null!==(t=e.name)&&void 0!==t?t:"",place:e.category.label,description:null!==(i=e.descriptionTeaser)&&void 0!==i?i:"",thumbnails:e.thumbnails,images:e.images,iconUri:e.category.pictogramUri,iconName:e.category.label}}),type:"TOURISTIC_CONTENT"})},e.name);let g=j.cities.find(e=>{var t;return e.id===(null===(t=j.cities_raw)||void 0===t?void 0:t[0])}),h=null!==(x=null==g?void 0:g.code)&&void 0!==x?x:null==g?void 0:g.id;return(0,u.$I)({template:e.template,id:j.id.toString(),cityCode:h})?(0,n.jsx)("section",{ref:q[e.name],id:"details_".concat(e.name,"_ref"),children:(0,n.jsx)(o.j,{htmlId:"details_".concat(e.name),titleId:"details.".concat(e.name),className:c.lL,children:(0,n.jsx)(S._,{template:e.template,id:j.id.toString(),type:"trek",cityCode:h})})},e.name):null})]}),(0,n.jsx)(w.$,{})]}),(0,n.jsx)("div",{id:"touristicEvent_map",className:(0,H.cn)("fixed inset-0 z-map left-full w-full transition","desktop:flex desktop:z-content desktop:bottom-0 desktop:fixed desktop:left-auto desktop:right-0 desktop:w-2/5 desktop:top-headerAndDetailsRecapBar","DISPLAYED"===y?"-translate-x-full desktop:translate-x-0":"translate-x-0"),children:(0,n.jsx)(E.v,{hasZoomControl:!X,eventGeometry:{geometry:j.geometry,pictogramUri:j.category.pictogramUri,name:j.name,id:j.id},poiPoints:[],bbox:j.bbox,trekChildrenGeometries:[],touristicContentPoints:j.touristicContents.filter(e=>null!==e.geometry).map(e=>({geometry:e.geometry,pictogramUri:e.category.pictogramUri,name:e.name,id:"DETAILS-TOURISTIC_CONTENT-".concat(e.id)})),sensitiveAreas:[],trekId:Number(v),hideMap:V,type:"TOURISTIC_
1EVENT"})})]})]})]})},[j,h,y,K])},V=e=>(0,n.jsx)(p.D,{children:(0,n.jsx)(z,{touristicEventUrl:e.touristicEventUrl,language:e.language})});var B=i(86677),$=i(90111),q=i(60646),G=!0,X=e=>{let{errorCode:t}=e,{query:i,locale:s}=(0,B.useRouter)(),{touristicEvent:a}=i,r=null!=s?s:(0,$.Mb)();return 404===t?(0,n.jsx)(q.default,{}):(0,n.jsx)(V,{touristicEventUrl:a,language:r})}}},function(e){e.O(0,[774,675,625,234,974,693,480,141,855,800,888,179],function(){return e(e.s=1727)}),_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.