PageSourceSearch

https://www.tripzilla.sg/_nuxt/CGhbFZKR.js

js tripzilla.sg collected 2026-10-04 13:26:43 UTC 1,061 bytes, 1 lines download raw bytes

1import{a as e}from"./Cnu0k-Zl.js";import{a as t,r as n}from"./QdjmqAoI.js";import{p as r}from"./BM6wN0NH.js";var i={scrollBehavior(n,i,s){let c=e(),l=r(),u=l.options?.scrollBehaviorType??`auto`;return n.path.replace(/\/$/,``)===i.path.replace(/\/$/,``)?i.hash&&!n.hash?s??{left:0,top:0}:n.hash?{el:n.hash,top:a(n.hash),behavior:u}:!1:(typeof n.meta.scrollToTop==`function`?n.meta.scrollToTop(n,i):n.meta.scrollToTop)===!1?!1:i===t?o(n,i,s,u):new Promise(e=>{let t=()=>{requestAnimationFrame(()=>{if(l.currentRoute.value.fullPath!==n.fullPath){e(!1);return}e(o(n,i,s,u))})};c.hooks.hookOnce(`page:loading:end`,()=>{let e=c[`~transitionPromise`];e?e.then(t):t()})})}};function a(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function o(e,t,r,i){return r||(e.hash?{el:e.hash,top:a(e.hash),behavior:n(e,t)?i:`instant`}:{left:0,top:0})}var s={hashMode:!1,scrollBehaviorType:`auto`,...i};export{s as t};

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.