PageSourceSearch

https://cdn.beachcomber-hotels.com/v9/_next/static/chunks/9798.0360bdcbef80dc2f.js

js beachcomber-hotels.com collected 2026-10-09 23:35:02 UTC 5,729 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9798,4161,9462,9766,3472],{38382:function(i,n,e){"use strict";var o=e(85893),t=e(36968),l=e(74436),c=e.n(l);n.Z=function(i){var n=i.small,e=void 0!==n&&n;return(0,o.jsx)("div",{className:"".concat(c().container," ").concat(e?c().small:""),children:(0,o.jsx)(t.Z,{animation:"border"})})}},17886:function(i,n,e){"use strict";var o=e(85893);n.Z=function(i){var n=i.title,e=i.onClick,t=i.className,l=void 0===t?"":t;return n&&(0,o.jsx)("button",{type:"button",className:"".concat(l," moreLink"),onClick:e,children:(0,o.jsx)("span",{children:n})})}},39798:function(i,n,e){"use strict";e.r(n);var o=e(85893),t=e(17886),l=e(38382),c=e(22150),s=e(6873),a=e(20417),d=e(85739),r=e(67294),u=e(10682),v=e(7126),f=e.n(v);n.default=function(i){var n=i.data,e=i.isMobile,v=void 0!==e&&e,m=i.className,h=void 0===m?"":m,_=i.strateName,x=void 0===_?"":_,b=i.hasBookNow,j=void 0!==b&&b,p=i.isH2,N=void 0!==p&&p,k=i.titleOnly,g=void 0!==k&&k,w=i.bookNowData,D=void 0===w?{}:w,C=i.loadingPrice,Z=void 0!==C&&C,T=i.roomId,y=void 0===T?"":T,F=i.dataAPI,L=void 0===F?[]:F,E=i.searchDom,S=void 0!==E&&E,A=i.subtitleMobile,M=void 0===A||A,P=i.mainDesc,B=void 0!==P&&P,R=(0,r.useState)(!1),I=R[0],q=R[1],H=(0,r.useState)(null),O=H[0],Q=H[1];if((0,r.useEffect)((function(){if(j&&y&&L.length>0){var i=L.find((function(i){return(null===i||void 0===i?void 0:i.room_id)===y}));if(i){var n=i||{},e=n.tariff,o=void 0===e?null:e,t=n.tariff_type_id,l=void 0===t?"":t,c=(D||{}).tariff_type_id;if(o&&l){var s=(void 0===c?[]:c).find((function(i){return(null===i||void 0===i?void 0:i.field_tariff_type_id)===l}));o.tarriff_label=(null===s||void 0===s?void 0:s.tarriff_label)||"",Q(o)}}}}),[y,j,L,D]),(0,r.useEffect)((function(){var i=function(i){var n=(null===i||void 0===i?void 0:i.target)||{},e=n.href,o=void 0===e?"#":e,t=n.innerText,l=void 0===t?"":t;x&&(0,a.D)("content","".concat(x," - ").concat(l," - ").concat(o))},n=[];return S&&document&&window&&(n=document.querySelectorAll("#sectiondescriptif a")).length>0&&n.forEach((function(n){n.addEventListener("click",i)})),function(){n.length>0&&n.forEach((function(n){n.removeEventListener("click",i)}))}}),[S,x]),n){var X=n||{},Y=X.title,$=X.field_sous_title,z=X.field_teaser_description_desktop,G=X.field_read_more_desktop,J=X.field_teaser_description_mobile,K=X.field_read_more_mobile,U=X.field_cta_label_mobile,V=X.field_cta,W=X.read_less_desktop,ii=X.read_less_mobile,ni=X.field_cta_label,ei=function(i){x&&(0,a.D)("content","".concat(x," - ").concat(i))},oi=function(i,n){i.preventDefault(),q(!0),ei(n)},ti=function(i,n){i.preventDefault(),q(!1),ei(n)},li=function(i){i.preventDefault(),(null===D||void 0===D?void 0:D.urlBookNow)&&(x&&(0,a.D)("content","".concat(x," - CTA - book now")),window.open((0,s.$3)(null===D||void 0===D?void 0:D.urlBookNow),"_blank"))};return(0,o.jsx)("section",{id:"sectiondescriptif",className:B?"".concat(f().descriptifContainer," ").concat(h," mainDesc"):"".concat(f().descriptifContainer," ").concat(h),children:(0,o.jsxs)(u.Z,{children:[g?Y&&(0,o.jsx)("div",{className:f().heading,children:(0,o.jsx)("h1",{className:"h1",children:Y})}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:f().heading,children:[Y&&(0,o.jsx)("h1",{className:"h1",children:Y}),$&&(N?M?(0,o.jsx)("h2",{className:f().subTitle,children:$}):M?void 0:(0,o.jsx)("h2",{className:"".concat(f().subTitle," ").concat(f().noSubTitleMobile),children:$}):M?(0,o.jsx)("p",{className:"".concat(f().subTitle," h2"),children:$}):(0,o.jsx)("p",{className:"".concat(f().subTitle," ").concat(f().noSubTitleMobile," h2"),children:$}))]}),(0,o.jsx)("div",{className:f().richText,children:v?(0,o.jsxs)(o.Fragment,{children:[(0,d.Z)(J||""),K&&(0,o.jsx)(o.Fragment,{children:I?(0,o.jsxs)(o.Fragment,{children:[(0,d.Z)(K||""),(0,o.jsx)(t.Z,{onClick:function(i){return ti(i,ii)},className:f().btnDescriptifLess,title:ii})]}):(0,o.jsx)(t.Z,{onClick:function(i){return oi(i,U)},className:"".concat(f().btnDescriptif," moreLink-specific"),title:U})})]}):(0,o.jsxs)(o.Fragment,{children:[(0,d.Z)(z||""),G&&(0,o.jsx)(o.Fragment,{children:I?(0,o.jsxs)(o.Fragment,{children:[(0,d.Z)(G||""),(0,o.jsx)(t.Z,{onClick:function(i){return ti(i,W)},className:f().btnDescriptifLess,title:W})]}):(0,o.jsx)(t.Z,{onClick:function(i){return oi(i,V||ni)},className:"".concat(f().btnDescriptif," moreLink-specific"),title:V||ni})})]})})]}),j&&(0,o.jsx)("div",{className:f().BottomDesc,children:Z?(0,o.jsxs)("div",{className:f().loaderContainerRoom,children:[(0,o.jsx)("div",{className:f().loadingRoomItem,children:(0,o.jsx)(l.Z,{small:!0})}),(0,o.jsx)("div",{className:f().ActionRoom,children:(null===D||void 0===D?void 0:D.book_now)&&(0,o.jsx)("button",{type:"button",onClick:li,children:null===D||void 0===D?void 0:D.book_now})})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:f().ActionRoom,children:[(null===O||void 0===O?void 0:O.discountedTotal)&&(0,o.jsxs)("div",{className:f().Price,children:[(0,o.jsxs)("div",{className:f().px,children:[null===D||void 0===D?void 0:D.af," ",(null===O||void 0===O?void 0:O.tarriff_label)&&(0,o.jsx)("span",{children:null===O||void 0===O?void 0:O.tarriff_label})]}),(0,o.jsxs)("div",{className:f().pr,children:[null===O||void 0===O?void 0:O.currency," ",(0,o.jsx)("span",{children:(0,c.eQ)(null===O||void 0===O?void 0:O.discountedTotal)})]})]}),(null===D||void 0===D?void 0:D.book_now)&&(0,o.jsx)("button",{type:"button",onClick:li,children:null===D||void 0===D?void 0:D.book_now})]}),(null===O||void 0===O?void 0:O.mealPlan)&&(0,o.jsx)("span",{children:null===O||void 0===O?void 0:O.mealPlan})]})})]})})}}},74436:function(i){i.exports={container:"LoadingSpinner_container__Xy18F",small:"LoadingSpinner_small__msMkY"}}}]);

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.