PageSourceSearch

https://www.fairmoove.fr/_next/static/chunks/8786-077caf43e6bca902.js

js fairmoove.fr collected 2026-10-02 19:13:03 UTC 11,518 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="22b427fe-851e-4e4c-9c0c-038aa3467333",e._sentryDebugIdIdentifier="sentry-dbid-22b427fe-851e-4e4c-9c0c-038aa3467333")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8786],{7009:(e,s,t)=>{"use strict";t.d(s,{A:()=>c,T:()=>r});var a=t(37876),i=t(54945),l=t.n(i);t(14232);let r=e=>{let{position:s="center",addClass:t="",children:i}=e;return(0,a.jsx)("div",{className:"".concat(l()["cpt-button-wrap"]," ").concat(s?l()[s]:""," ").concat(t),children:i})},c=e=>{let{type:s="default",addClass:t="",href:i="",disabled:r=!1,children:c,onClick:n,submit:o=!1,target:d,withArrow:p=!1,obfuscated:_=!1}=e,u=""===i||_?"button":"a",h=""===i||_?null:{href:i},m=n||_?{onClick:()=>{null==n||n(),_&&("_blank"===d?window.open(i,"_blank"):window.location.href=i)}}:null;return(0,a.jsx)(u,{className:"".concat(l()["cpt-button"]," button-style elem-button--").concat(s," ").concat(t," ").concat(r?l().disabled:""," ").concat(p?l()["with-arrow"]:""),disabled:r,...h,...m,type:o?"submit":void 0,target:d,children:c})}},8229:e=>{e.exports={"cpt-serp-results":"styles_cpt-serp-results__BDymr","btn-show-more":"styles_btn-show-more__bPSMY","btn-show-all":"styles_btn-show-all___CuzQ","icon-arrow":"styles_icon-arrow__4Xxxa"}},9782:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(37876);t(14232);var i=t(47238),l=t.n(i),r=t(83516),c=t(44946);let n=e=>{let{item:s,imagesFolder:t="Equipements",template:i="tag",addClass:n=""}=e;return(0,a.jsxs)("div",{className:"".concat(l()["cpt-product-equipment-item"]," ").concat(l()[i]," ").concat(n),children:[(0,a.jsx)("span",{className:l()["icon-wrap"],children:(0,a.jsx)(c.Ay,{src:"".concat((0,r.YG)(),"/assets/media/Content_Image/Images/Pictos/").concat(t,"/").concat(s.code,".svg"),alt:s.label,size:{width:18,height:18}})}),(0,a.jsx)("span",{className:l().label,children:s.label})]})}},47238:e=>{e.exports={"cpt-product-equipment-item":"styles_cpt-product-equipment-item__XmWHY",tag:"styles_tag__QnmJy","list-v":"styles_list-v__quGr_","icon-wrap":"styles_icon-wrap__cE_1P",label:"styles_label__wcjhL"}},54945:e=>{e.exports={"cpt-button":"styles_cpt-button__llNYo",disabled:"styles_disabled__niY0r","with-arrow":"styles_with-arrow__oOrQM","cpt-button-wrap":"styles_cpt-button-wrap__zrRwB",center:"styles_center__O2QXM",right:"styles_right__GvffO"}},60991:e=>{e.exports={"cpt-serp-item":"styles_cpt-serp-item__3zROb",selected:"styles_selected__3gUM9","serp-item-inner":"styles_serp-item-inner__xiWV_","elem-input-label":"styles_elem-input-label__Zw5o8","radio--label":"styles_radio--label__qTQ1U","input-style":"styles_input-style__0DB1N","checkbox--control":"styles_checkbox--control__t1hIQ","checkbox--input":"styles_checkbox--input__GGAOD","description-wrap":"styles_description-wrap__XiMsu","details-head":"styles_details-head__6s1eX","details-head-left":"styles_details-head-left__0oF2k","details-head-right":"styles_details-head-right__V3gVl","serp-ta-rating":"styles_serp-ta-rating__kgBia","serp-ta-rating-count":"styles_serp-ta-rating-count__6VKdt","gr
1-tag":"styles_gr-tag__6Ujz5",promo:"styles_promo__IDFkJ","macif-reduction":"styles_macif-reduction___j33b","good-deal":"styles_good-deal__z99mD","bon-plan":"styles_bon-plan__J8KCh","plus-demande":"styles_plus-demande__3xoM_","plus-ecolo":"styles_plus-ecolo__DuVb1",alternative:"styles_alternative__gOT3E",destination:"styles_destination__cBBWC","criteria-description":"styles_criteria-description__JF0ns",criteria:"styles_criteria__xqDPW","meal-plan":"styles_meal-plan__CgUuD",durations:"styles_durations__IzTCn","price-container":"styles_price-container__dt8gN","duration-stay":"styles_duration-stay__yFlLf",options:"styles_options__ihj5s","price-from":"styles_price-from__cOJZY","price-wrap":"styles_price-wrap__eqtsg",price:"styles_price__UNNWO",currency:"styles_currency__uxX_6",strikethrough:"styles_strikethrough__N5da8","price-type":"styles_price-type__c4Zmj","departure-date":"styles_departure-date__6_A8H","cpt-alerts":"styles_cpt-alerts__ZFELp",preload:"styles_preload__UvAW3","top-push":"styles_top-push__7zFng","serp-item-details":"styles_serp-item-details__rAoG3","without-tag":"styles_without-tag___pcGI","description-content":"styles_description-content__6cfDn"}},78786:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>Q});var a=t(37876),i=t(8229),l=t.n(i),r=t(14232),c=t(97209),n=t(78226),o=t(89099),d=t(67981),p=t(95825),_=t(16346),u=t(4535),h=t(48115),m=t(24332),v=t(60991),y=t.n(v),g=t(48263),b=t(47698),x=t(95427),j=t(35456),N=t(74262),f=t(58173),w=t(1350),A=t(64867),k=t(87570),C=t(13934),D=t(98001),P=t(7009),I=t(4189),M=t(30928),O=t(9782),R=t(21597),q=t(94576),E=t(88801),X=t(5741),S=t(56241);let G=e=>{var s,t,i;let{productId:l,resultSupport:n,availEndpoint:p,distance:u,canLoad:h,tripAdvisorData:m,displayGoodDeal:v=!1,forceVisible:G=!1,isAlternative:Q=!1}=e,{t:z}=(0,c.Bd)(["common","productPage","serpPage","tripAdvisor"]),B=(0,r.useRef)(),{visible:F}=(0,C.A)(B),{product:T,availState:U}=(0,q.A)(l,n,u,(F||G)&&h,p,B),L=(0,g.XU)(T),V=(0,g.Xf)(T),Y=(0,g.C8)(T),W=(0,j.y8)(U.avail,T),{getPriceTypeLabel:Z}=(0,E.A)(T,U.avail),J=Z(),H=(0,g.v4)(T),K=(0,o.useRouter)(),$=(0,k.A)(),ee=(0,d.sn)(p),es=(0,d.Ai)(K),et=(0,d.jG)(T,K),ea=(0,g.ZQ)(T)===S.BL.FROM,ei=(0,r.useCallback)(e=>{let s=e.target,t=null==s?void 0:s.classList;if(!(0,N.Q)(s)&&!(null==t?void 0:t.contains("product-push-item-resume-title"))&&!(null==t?void 0:t.contains("cpt-alerts"))){var a;let e=(0,g.OZ)(T,ee,null==(a=U.avail)?void 0:a.originalProductId,es,K);$({productId:T.code});let s=window.open(e,"_blank");(null==s?void 0:s.location)?(setTimeout(()=>s.location.href=e,20),s.focus()):K.push(e),(0,D.UQ)((0,w.rA)([(0,w.vY)(T,(0,w.Vh)(U.avail),f.IO,1)]),f.cE.SELECT_ITEM)}},[T,ee,null==(s=U.avail)?void 0:s.originalProductId,es,$,K]);return(0,a.jsx)("div",{ref:B,id:"product-".concat(l),className:"".concat(y()["cpt-serp-item"]," ").concat(!T?y().preload:""," ").concat(et?y()["top-push"]:""),children:T&&(0,a.jsxs)("div",{className:y()["serp-item-inner"],onClick:ei,children:[(0,a.jsx)(I.A,{product:T,limit:10}),(0,a.jsx)("div",{className:y()["serp-item-details"],children:(0,a.jsxs)("div",{className:"".concat(y()["description-wrap"]," ").concat(!(T.globalRatings<5)||et||v||Q||U.avail&&(0,b.q)(W)?"":y()["without-tag"]),children:[(0,a.jsxs)("div",{className:y()["details-head"],children:[(0,a.jsxs)("div",{className:y()["details-head-left"],children:[et&&(0,a.jsx)("div",{className:y()[et],children:z("serpPage:products.item.".concat(et))}),!et&&T.globalRatings>=5&&(0,a.jsx)("div",{className:y()["gr-tag"],children:z("common:criteria.ratings.".concat(Math.floor(T.globalRatings)))})]}),(0,a.jsxs)("div",{className:y()["details-head-right"],children:[!et&&!Q&&v&&!(U.avail&&(0,b.q)(W))&&(0,a.jsx)("div",{className:y()["good-deal"],children:z("serpPage:products.item.goodDeal")}),U.avail&&(0,b.q)(W)&&(0,a.jsx)("div",{className:y().promo,children:(0,a.jsxs)("span",{className:y()["promo-reduction"],children:[" -",W.reductionRate,"%"]})}),(0,X.kC)()&&(0,a.jsxs)("div",{className:y()["macif-reduction"],children:[(0,a.jsx)("span",{children:"Macif"}),(0,a.jsxs)("span",{children:[" -",(0,g.sm)(T),"%"]})]}),Q&&(0,a.jsx)("div",{className:y().alternative,children:z("serpPage:products.alternativeOffer")})]})]}),(0,a.jsxs)("div",{className:"d-flex",children:[(0,a.jsxs)("div",{className:y()["description-content"],
1children:[H&&(0,a.jsx)("div",{className:y().destination,children:(0,g.f3)(H)}),(0,a.jsx)(M.A,{product:T,avail:U.avail,refAvailQuery:ee,layout:"serp",withResume:!0,withDuration:!1}),(L||(null==V?void 0:V.length)>0)&&(0,a.jsx)("div",{className:y()["criteria-description"],children:(0,a.jsxs)("div",{className:y().criteria,children:[U.avail&&L&&(0,a.jsxs)("div",{children:[U.avail.nbDays," jours"]}),null==V?void 0:V.slice(0,4).map(e=>(0,a.jsx)(O.A,{item:e,template:"list-v",addClass:"uppercase"},"push_equipment_"+e.code))]})}),F&&(0,a.jsx)(A.X8,{children:(0,a.jsx)(R.A,{tripAdvisorDataLink:m,addClass:y()["serp-ta-rating"],addCountClass:y()["serp-ta-rating-count"]})})]}),(0,a.jsx)("div",{className:y()["price-container"],children:U.avail&&(0,a.jsxs)("div",{className:y()["price-content"],children:[U.avail&&(0,g.dn)(T)&&(0,a.jsx)("div",{className:y()["duration-stay"],children:z("productPage:availabilities.days/Night"+(U.avail.nbNights>1?"s":""),{day:U.avail.nbDays,night:U.avail.nbNights})}),(0,a.jsxs)("div",{className:y()["price-wrap"],children:[(ea||Q)&&(0,a.jsx)("div",{className:y()["price-from"],children:z("productPage:availabilities.bestPricePrefix")}),(0,a.jsxs)("div",{className:y().price,children:[W.ttcPrice,(0,a.jsx)("span",{className:y().currency,children:"€"}),(0,a.jsx)("span",{className:y()["price-type"],children:J})]}),(0,b.b)(U.avail)&&(0,a.jsxs)("div",{className:y()["brochure-price"],children:[z("common:productPush.brochurePrice.label")," ",(0,a.jsxs)("span",{className:y().strikethrough,children:[null==W?void 0:W.brochurePrice,"€"]})]})]}),U.avail&&(0,g.dn)(T)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:y()["departure-date"],children:[z("productPage:availabilities.departure")," ",(0,a.jsx)("span",{children:(0,x.KM)(U.avail.departureDate,"dd-MM-yyyy","short")})]}),(0,a.jsxs)("div",{className:y()["departure-city"],children:[z("common:productPush.departureCity.label")," ",null==(i=U.avail)||null==(t=i.departureCity)?void 0:t.label]}),!Y&&(null==T?void 0:T.minNights)!=(null==T?void 0:T.maxNights)&&(0,a.jsxs)("div",{className:y().durations,children:[z("serpPage:searchResume.availableDurations.phrase"),(0,a.jsx)("span",{children:z("serpPage:searchResume.availableDurations.range",{minNights:null==T?void 0:T.minNights,maxNights:null==T?void 0:T.maxNights})})]})]}),(0,a.jsxs)(P.A,{type:"primary",children:[z("common:productPush.button.label")," ",(0,a.jsx)(_.A,{value:"U"})]})]})})]})]})})]})})},Q=e=>{let{searchQuery:s,serpResultSupports:t,reassurances:i,guarantees:v,loadAllItem:y,withInterBlock:g=!0,productByPage:b,isCounterProposal:x=!1}=e,{t:j}=(0,c.Bd)("serpPage"),N=(0,o.useRouter)(),{nbProductToShow:f,idToShow:w,toForceLoad:A,showMore:k,showAllDestiItems:C,randomReassurances:D,loadNextPage:P,loadAllDestiItems:I}=(0,m.A)(s,t,i,b);(0,p.A)(t.map(e=>e.idSupport.value),f);let M=(0,r.useCallback)(e=>{let s=(e+1)/d.Xo-1;if((null==D?void 0:D.length)>0&&D[s]&&(e+1)%d.Xo==0&&e+1<d.Ou*d.Xo)return(0,a.jsx)(u.A,{reassurance:D[s]})},[D]);return(0,a.jsx)("section",{className:l()["cpt-serp-results"],children:(0,a.jsxs)(n.Hg,{name:"head-product",children:[t.slice(0,f).map((e,s)=>{var t;return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)(G,{productId:e.idSupport.value,availEndpoint:e.idSupport._links.avail.href,resultSupport:e,tripAdvisorData:null==(t=e.idSupport._links.tripAdvisorData)?void 0:t.href,distance:e.idSupport.distance,canLoad:s<f||e.idSupport.value===w,displayGoodDeal:!x&&(0,d.zk)(s,N),forceVisible:y||s<A,isAlternative:e.isAlternative},e.idSupport.value),g&&0===s&&(0,a.jsx)(h.A,{serpGuarantees:v}),g&&M(s)]},"results_item_".concat(e.idSupport.value))}),k&&(0,a.jsxs)("button",{className:l()["btn-show-more"],onClick:P,children:[j("products.moreItems.label")," ",(0,a.jsx)(_.A,{value:">",addClass:l()["icon-arrow"]})]}),C&&(0,a.jsxs)("button",{className:l()["btn-show-all"],onClick:I,children:[j("products.allDestiItems.label")," ",(0,a.jsx)(_.A,{value:">",addClass:l()["icon-arrow"]})]})]})})}}}]);

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.