1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[713],{86099:function(t,e,o){o.d(e,{Z:function(){return l}});var n=o(85893);let r=o(50066).ZP.div.withConfig({componentId:"sc-d5bd12f-0"})([".right-arrow,.left-arrow{background-color:#ebedef;width:35px;height:35px;border-radius:50%;position:absolute;margin:0;top:-60px;-ms-transform:translateY(-50%);transform:translateY(-50%);display:flex;align-items:center;justify-content:center;z-index:1;@media (hover:hover) and (pointer:fine){&:hover{svg rect{transition:0.5s all ease-in-out;fill:lightgray;}}}&.disabled{opacity:0.3;cursor:default;svg rect{fill:#ebedef;}}}.left-arrow{right:40px;}.right-arrow{right:0px;}@media (max-width:500px){&.normal-arrows{.right-arrow,.left-arrow{top:-30px;}.left-arrow{left:0px;}.right-arrow{left:40px;}}}&.tags{.left-arrow,.right-arrow{background-color:var(--lightGray);border:none;top:50%;}.left-arrow{left:0;}.right-arrow{right:0;}}&.suggested-attractions{.left-arrow,.right-arrow{top:-30px;}}"]);var i=o(67294),l=t=>{let{containerRef:e,itemWidth:o,tags:l,suggestedAttractions:s}=t,[a,c]=(0,i.useState)("left");return(0,i.useEffect)(()=>{function t(){var t,o,n,r,i,l,s;(null==e?void 0:null===(t=e.current)||void 0===t?void 0:t.scrollLeft)===0?c("left"):Math.floor((null==e?void 0:null===(o=e.current)||void 0===o?void 0:o.scrollLeft)+5)>(null==e?void 0:null===(n=e.current)||void 0===n?void 0:n.scrollWidth)-(null==e?void 0:null===(r=e.current)||void 0===r?void 0:r.clientWidth)||Math.ceil((null==e?void 0:null===(i=e.current)||void 0===i?void 0:i.scrollLeft)+5)>(null==e?void 0:null===(l=e.current)||void 0===l?void 0:l.scrollWidth)-(null==e?void 0:null===(s=e.current)||void 0===s?void 0:s.clientWidth)?c("right"):c()}if(e&&(null==e?void 0:e.current)){var o;return null==e||null===(o=e.current)||void 0===o||o.addEventListener("scroll",t,!1),function(){var o;null==e||null===(o=e.current)||void 0===o||o.removeEventListener("scroll",t,!1)}}},[]),(0,n.jsxs)(r,{className:"".concat(l?"":"normal-arrows"," ").concat(l?"tags":""," ").concat(s?"suggested-attractions":""),children:[(0,n.jsx)("button",{onClick:()=>{var t,n,r,i;let l=Math.floor((null==e?void 0:null===(t=e.current)||void 0===t?void 0:t.offsetWidth)/o),s=(null==e?void 0:null===(n=e.current)||void 0===n?void 0:n.offsetWidth)-((null==e?void 0:null===(r=e.current)||void 0===r?void 0:r.offsetWidth)-l*o-10*l);e.current.scroll({top:0,left:(null==e?void 0:null===(i=e.current)||void 0===i?void 0:i.scrollLeft)+s,behavior:"smooth"})},className:"right-arrow ".concat("right"===a?"disabled":""),children:(0,n.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"arrow right"}),(0,n.jsx)("rect",{width:"40",height:"40",rx:"20",fill:"#EBEDEF"}),(0,n.jsx)("g",{clipPath:"url(#clip0_1_1385)",children:(0,n.jsx)("path",{d:"M16.151 27.507C16.5594 27.9154 17.2177 27.9154 17.626 27.507L24.551 20.582C24.876 20.257 24.876 19.732 24.551 19.407L17.626 12.482C17.2177 12.0737 16.5594 12.0737 16.151 12.482C15.7427 12.8904 15.7427 13.5487 16.151 13.957L22.1844 19.9987L16.1427 26.0404C15.7427 26.4404 15.7427 27.107 16.151 27.507V27.507Z",fill:"#0D0D0E"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{children:(0,n.jsx)("rect",{width:"20",height:"20",fill:"white",transform:"translate(10 10)"})})})]})}),(0,n.jsx)("button",{onClick:()=>{var t,n,r,i,l;let s=Math.floor((null==e?void 0:null===(t=e.current)||void 0===t?void 0:t.offsetWidth)/o),a=(null==e?void 0:null===(n=e.current)||void 0===n?void 0:n.offsetWidth)-((null==e?void 0:null===(r=e.current)||void 0===r?void 0:r.offsetWidth)-s*o-10*s);null==e||null===(l=e.current)||void 0===l||l.scroll({top:0,left:(null==e?void 0:null===(i=e.current)||void 0===i?void 0:i.scrollLeft)-a,behavior:"smooth"})},className:"left-arrow ".concat("left"===a?"disabled":""),children:(0,n.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"arrow left"}),(0,n.jsx)("rect",{width:"40",height:"40",rx:"20",fill:"#EBEDEF"}),(0,n.jsx)("g",{clipPath:"url(#clip0_1_1385)",transform:"rotate(180,20, 20)",children:(0,n.jsx)("path",{d:"M16.151 27.507C16.5594 27.9154 17.2177 27.9154 17.626 27.507L24.551 20.582C24.876 20.257 24.876 19.732 24.551 19.407L17.626 12.482C17.2177 12.0737 16.5594 12.0737 16.151 12.482C15.7427 12.8904 15.7427 13.5487 16.151 13.957L22.1844 19.9987L16.1427 26.0404C15.7427 26.4404 15.7427 27.107 16.151 27.507V27.507Z",fill:"#0D0D0E"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{children:(0,n.jsx)("rect",{width:"20",height:"20",fill:"white",transform:"translate(10 10)"})})})]})})]})}},11823:function(t,e,o){o.d(e,{T:function(){return n}});function n(t){if("object"!=typeof t||null===t)return t;let e={};for(let o in t){let n=o.split("."),r=e;for(let e=0;e<n.length;e++){let i=n[e];e===n.length-1?r[i]=t[o]:(r[i]&&"object"==typeof r[i]||(r[i]={}),r=r[i])}}return e}},70804:function(t,e,o){var n,r,i=o(67294),l=function(t,e){return(l=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},s=(n=r={path:void 0,exports:{},require:function(t,e){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports,function(){var t={}.hasOwnProperty;function e(){for(var o=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var i=typeof r;if("string"===i||"number"===i)o.push(r);else if(Array.isArray(r)&&r.length){var l=e.apply(null,r);l&&o.push(l)}else if("object"===i)for(var s in r)t.call(r,s)&&r[s]&&o.push(s)}}return o.join(" ")}n.exports?(e.default=e,n.exports=e):window.classNames=e}(),r.exports);function a(t,e,o){function n(){var c=Date.now()-s;c<e&&c>=0?r=setTimeout(n,e-c):(r=null,o||(a=t.apply(l,i),l=i=null))}null==e&&(e=100);var r,i,l,s,a,c=function(){l=this,i=arguments,s=Date.now();var c=o&&!r;return r||(r=setTimeout(n,e)),c&&(a=t.apply(l,i),l=i=null),a};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(a=t.apply(l,i),l=i=null,clearTimeout(r),r=null)},c}a.debounce=a,function(t,e){void 0===e&&(e={});var o=e.insertAt;if(t&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===o&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}(".indiana-scroll-container {\n overflow: auto; }\n .indiana-scroll-container--dragging {\n scroll-behavior: auto !important; }\n .indiana-scroll-container--dragging > * {\n pointer-events: none;\n cursor: -webkit-grab;\n cursor: grab; }\n .indiana-scroll-container--hide-scrollbars {\n overflow: hidden;\n overflow: -moz-scrollbars-none;\n -ms-overflow-style: none;\n scrollbar-width: none; }\n .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n display: none !important;\n height: 0 !important;\n width: 0 !important;\n background: transparent !important;\n -webkit-appearance: none !important; }\n .indiana-scroll-container--native-scroll {\n overflow: auto; }\n\n.indiana-dragging {\n cursor: -webkit-grab;\n cursor: grab; }\n");var c,u=(c="indiana-scroll-container",function(t,e){if(!t)return c;"string"==typeof t?o=t:e=t;var o,n=c;return o&&(n+="__"+o),n+(e?Object.keys(e).reduce(function(t,o){var r=e[o];return r&&(t+=" "+("boolean"==typeof r?n+"--"+o:n+"--"+o+"_"+r)),t},""):"")}),d=function(t){function e(e){var o=t.call(this,e)||this;return o.onEndScroll=function(){o.scrolling=!1,!o.pressed&&o.started&&o.processEnd()},o.onScroll=function(t){var e=o.container.current;e.scrollLeft===o.scrollLeft&&e.scrollTop===o.scrollTop||(o.scrolling=!0,o.processScroll(t),o.onEndScroll())},o.onTouchStart=function(t){var e=o.props.nativeMobileScroll;if(o.isDraggable(t.target)){if(o.internal=!0,e&&o.scrolling)o.pressed=!0;else{var n=t.touches[0];o.processClick(t,n.clientX,n.clientY),!e&&o.props.stopPropagation&&t.stopPropagation()}}},o.onTouchEnd=function(t){var e=o.props.nativeMobileScroll;o.pressed&&(!o.started||o.scrolling&&e?o.pressed=!1:o.processEnd(),o.forceUpdate())},o.onTouchMove=function(t){var e=o.props.nativeMobileScroll;if(o.pressed&&(!e||!o.isMobile)){var n=t.touches[0];n&&o.processMove(t,n.clientX,n.clientY),t.preventDefault(),o.props.stopPropagation&&t.stopPropagation()}},o.onMouseDown=function(t){o.isDraggable(t.target)&&o.isScrollable()&&(o.internal=!0,-1!==o.props.buttons.indexOf(t.button)&&(o.processClick(t,t.clientX,t.clientY),t.preventDefault(),o.props.stopPropagation&&t.stopPropagation()))},o.onMouseMove=function(t){o.pressed&&(o.processMove(t,t.clientX,t.clientY),t.preventDefault(),o.props.stopPropagation&&t.stopPropagation())},o.onMouseUp=function(t){o.pressed&&(o.started?o.processEnd():(o.internal=!1,o.pressed=!1,o.forceUpdate(),o.props.onClick&&o.props.onClick(t)),t.preventDefault(),o.props.stopPropagation&&t.stopPropagation())},o.container=i.createRef(),o.onEndScroll=a(o.onEndScroll,300),o.scrolling=!1,o.started=!1,o.pressed=!1,o.internal=!1,o.getRef=o.getRef.bind(o),o}return function(t,e){function o(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}(e,t),e.prototype.componentDidMount=function(){var t=this.props.nativeMobileScroll,e=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),e.addEventListener("touchstart",this.onTouchStart,{passive:!1}),e.addEventListener("mousedown",this.onMouseDown,{passive:!1}),t&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},e.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},e.prototype.getElement=function(){return this.container.current},e.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},e.prototype.isDraggable=function(t){var e=this.props.ignoreElements;if(e){var o=t.closest(e);return null===o||o.contains(this.getElement())}return!0},e.prototype.isScrollable=function(){var t=this.container.current;return t&&(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)},e.prototype.processClick=function(t,e,o){var n=this.container.current;this.scrollLeft=n.scrollLeft,this.scrollTop=n.scrollTop,this.clientX=e,this.clientY=o,this.pressed=!0},e.prototype.processStart=function(t){void 0===t&&(t=!0);var e=this.props.onStartScroll;this.started=!0,t&&document.body.classList.add("indiana-dragging"),e&&e({external:!this.internal}),this.forceUpdate()},e.prototype.processScroll=function(t){if(this.started){var e=this.props.onScroll;e&&e({external:!this.internal})}else this.processStart(!1)},e.prototype.processMove=function(t,e,o){var n=this.props,r=n.horizontal,i=n.vertical,l=n.activationDistance,s=n.onScroll,a=this.container.current;this.started?(r&&(a.scrollLeft-=e-this.clientX),i&&(a.scrollTop-=o-this.clientY),s&&s({external:!this.internal}),this.clientX=e,this.clientY=o,this.scrollLeft=a.scrollLeft,this.scrollTop=a.scrollTop):(r&&Math.abs(e-this.clientX)>l||i&&Math.abs(o-this.clientY)>l)&&(this.clientX=e,this.clientY=o,this.processStart())},e.prototype.processEnd=function(){var t=this.props.onEndScroll;this.container.current&&t&&t({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},e.prototype.getRef=function(t){[this.container,this.props.innerRef].forEach(function(e){e&&("function"==typeof e?e(t):e.current=t)})},e.prototype.render=function(){var t=this.props,e=t.children,o=t.draggingClassName,n=t.className,r=t.style,l=t.hideScrollbars,a=t.component;return i.createElement(a,{className:s(n,this.pressed&&o,u({dragging:this.pressed,"hide-scrollbars":l,"native-scroll":this.isMobile})),style:r,ref:this.getRef,onScroll:this.onScroll},e)},e.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},e}(i.PureComponent);e.Z=d}}]);
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.