PageSourceSearch

https://www.travelinescotland.com/323.2db831fa17a8e450.js

js travelinescotland.com collected 2026-10-02 04:02:57 UTC 2,560 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkliveTravelSuite=self.webpackChunkliveTravelSuite||[]).push([[323],{30323:(g,r,l)=>{l.r(r),l.d(r,{ion_segment_view:()=>u});var d=l(10467),o=l(96317);const u=(()=>{let c=class{constructor(e){(0,o.r)(this,e),this.ionSegmentViewScroll=(0,o.c)(this,"ionSegmentViewScroll",7),this.scrollEndTimeout=null,this.isTouching=!1,this.disabled=!1,this.isManualScroll=void 0}handleScroll(e){var t;const{scrollLeft:s,scrollWidth:a,clientWidth:n}=e.target;this.ionSegmentViewScroll.emit({scrollRatio:s/(a-n),isManualScroll:null===(t=this.isManualScroll)||void 0===t||t}),this.resetScrollEndTimeout()}handleScrollStart(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.isTouching=!0}handleTouchEnd(){this.isTouching=!1}resetScrollEndTimeout(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.scrollEndTimeout=setTimeout(()=>{this.checkForScrollEnd()},100)}checkForScrollEnd(){this.isTouching||(this.isManualScroll=void 0)}setContent(e,t=!0){var s=this;return(0,d.A)(function*(){const n=s.getSegmentContents().findIndex(f=>f.id===e);-1!==n&&(s.isManualScroll=!1,s.resetScrollEndTimeout(),s.el.scrollTo({top:0,left:n*s.el.offsetWidth,behavior:t?"smooth":"instant"}))})()}getSegmentContents(){return Array.from(this.el.querySelectorAll("ion-segment-content"))}render(){const{disabled:e,isManualScroll:t}=this;return(0,o.h)(o.e,{key:"fa528d2d9ae0f00fc3067defe2a047dce77c814a",class:{"segment-view-disabled":e,"segment-view-scroll-disabled":!1===t}},(0,o.h)("slot",{key:"74dc8b4d073caeff1bab272d11b9ea3e1a215954"}))}get el(){return(0,o.f)(this)}};return c.style={ios:":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}",md:":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}"},c})()}}]);

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.