PageSourceSearch

https://cdn.beachcomber-hotels.com/v9/_next/static/chunks/1848.79edd73d21e59660.js

js beachcomber-hotels.com collected 2026-10-09 23:36:05 UTC 4,773 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1848],{41848:function(r,e,t){t.r(e);var n=t(85893),i=t(67294),o=t(58299),l=t(7126),u=t.n(l),a=t(32916),c=t(46066);function s(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function d(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function f(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},n=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})))),n.forEach((function(e){d(r,e,t[e])}))}return r}function h(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var t=null==r?null:"undefined"!==typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var n,i,o=[],l=!0,u=!1;try{for(t=t.call(r);!(l=(n=t.next()).done)&&(o.push(n.value),!e||o.length!==e);l=!0);}catch(a){u=!0,i=a}finally{try{l||null==t.return||t.return()}finally{if(u)throw i}}return o}}(r,e)||function(r,e){if(!r)return;if("string"===typeof r)return s(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);"Object"===t&&r.constructor&&(t=r.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(r,e)}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}e.default=function(r){var e=r.id,t=(r.async,r.isBlog),l=void 0!==t&&t,s=r.isMobile,d=void 0!==s&&s,p=(0,i.useRef)(null),v=(0,i.useState)(!0),w=v[0],m=v[1],y=(0,i.useState)(!1),g=y[0],b=y[1],_=(0,i.useState)([]),j=_[0],S=_[1];(0,a.Z)(p,(function(){b(!0)}));var x=(0,i.useMemo)((function(){return d?{dots:!0,speed:500,slidesToShow:1,slidesToScroll:1,infinite:!1,autoplay:!1,arrows:!1,swipeToSlide:!0}:{dots:!0,speed:500,slidesToShow:Math.min(3,j.length),slidesToScroll:1,infinite:!1,autoplay:!1,arrows:!1,variableWidth:!0,swipeToSlide:!0}}),[j,d]);if((0,i.useEffect)((function(){var r,t,n=l||g,i=function(){if(!p.current)return[];var r=new Map;return Array.from(p.current.querySelectorAll("img.asset__img")).forEach((function(e){var t=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!r)return"";var e=r.split(",").map((function(r){return r.trim()})).map((function(r){var e=h(r.split(/\s+/),2),t=e[0],n=e[1];return{url:t,size:Number.parseInt(n,10)||0}})).filter((function(r){return r.url}));return e.length?(e.sort((function(r,e){return e.size-r.size})),e[0].url):""}(e.srcset),n=t||e.src||e.currentSrc,i=null===n||void 0===n?void 0:n.replace(/\/125\.jpg(\?.*)?$/i,"/1080.jpg$1");i&&!r.has(i)&&r.set(i,{url:i,width:e.naturalWidth||e.width||0,height:e.naturalHeight||e.height||0,lightboxButton:e.closest("button.cr__asset__button")})})),Array.from(r.values())};if(document)if(w)m(!1);else if(e)if(n){t=new MutationObserver((function(){!function(){var r=i();S(r)}()})),p.current&&t.observe(p.current,{childList:!0,subtree:!0});var u=document.createElement("script");u.src="".concat(o.T3),u.id=e,u.defer=!0,p.current.appendChild(u),r=p.current}else{var a=document.createElement("span");a.id="".concat(e,"span"),a.style="display: none; visibility: hidden;",p.current.appendChild(a),r=p.current}return function(){if(null===t||void 0===t||t.disconnect(),(null===r||void 0===r?void 0:r.innerHTML)&&(r.innerHTML=""),(null===window||void 0===window?void 0:window.crowdriff__gallery)&&e){var n,i=e.replace("cr-init__","cr__");window.crowdriff__gallery.rendered=null===window||void 0===window||null===(n=window.crowdriff__gallery)||void 0===n?void 0:n.rendered.filter((function(r){return r!==i}))}}}),[w,e,l,g]),e)return l&&j.length>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:p,style:{display:"none"}}),(0,n.jsx)("div",{className:"block-slider--with-normal-pagination block-slider--with-normal-pagination-alto-bullet",children:(0,n.jsx)("div",{className:"slick-cu
1stom",children:(0,i.createElement)(c.Z,f({},x,{key:j.map((function(r){return r.url})).join("|"),className:"crowdriffBlogSlider"}),j.map((function(r,e){return(0,n.jsx)("div",{className:u().crowdriffBlogItem,style:d?void 0:{width:Math.max(220,Math.round((r.width||500)/(r.height||500)*500))},children:(0,n.jsx)("img",{src:r.url,alt:"crowdriff-".concat(e+1),onClick:function(){var e;return null===(e=r.lightboxButton)||void 0===e?void 0:e.click()},style:{cursor:r.lightboxButton?"pointer":void 0,width:"100%",height:d?"450px":"clamp(220px, 25vw, 500px)",objectFit:"cover",paddingRight:d?0:5}})},r.url||e)})))})})]}):(0,n.jsx)("div",{ref:p,className:u().crowdriffGallery})}}}]);

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.