PageSourceSearch

https://balmytrip.com/_next/static/chunks/53454.f74983094a4e38d3.js

js balmytrip.com collected 2026-10-09 03:51:42 UTC 2,981 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53454],{53454:(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var a=s(95155),i=s(12115),o=s(37206),n=s(73321),r=s(80642),l=s(68559),c=s(9005);let u=(0,o.default)(()=>Promise.all([s.e(27490),s.e(26906)]).then(s.bind(s,27490)),{loadableGenerated:{webpack:()=>[27490]},ssr:!1}),m=["/checkout","/admin","/dashboard","/login","/auth","/inquire","/quote","/packages/japan-one"];function d(){let[e,t]=(0,i.useState)(!1),s=(0,n.usePathname)(),o=(0,n.useSearchParams)();(0,i.useEffect)(()=>{let e=o?.get("noPopup"),a=m.some(e=>s?.startsWith(e));if(e||a||sessionStorage.getItem("bt_exit_shown"))return;let i=!1,n=setTimeout(()=>{i=!0},5e3),r=setTimeout(()=>{c()},6e4),l=e=>{i&&e.clientY<=0&&c()},c=()=>{let e=document.activeElement,s=e?.tagName==="INPUT"||e?.tagName==="TEXTAREA"||e?.tagName==="SELECT",a=document.querySelector('[role="dialog"], .fixed.inset-0, [data-inquiry-form]');s||a||(t(!0),sessionStorage.setItem("bt_exit_shown","true"),document.removeEventListener("mouseout",l),clearTimeout(r))};return document.addEventListener("mouseout",l),()=>{clearTimeout(n),clearTimeout(r),document.removeEventListener("mouseout",l)}},[s,o]);let d=()=>{t(!1),sessionStorage.setItem("bt_exit_shown","true")};return(0,i.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&d()};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e]),(0,a.jsx)(r.N,{children:e&&(0,a.jsxs)("div",{className:"fixed inset-0 z-[60] flex items-center justify-center p-4",children:[(0,a.jsx)(l.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:d,className:"absolute inset-0 bg-black/70 backdrop-blur-sm cursor-pointer"}),(0,a.jsxs)(l.P.div,{initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},className:"relative w-full max-w-lg max-h-[95vh] overflow-y-auto bg-white rounded-2xl shadow-2xl z-10 flex flex-col",children:[(0,a.jsxs)("div",{className:"bg-primary p-6 text-center text-white relative shrink-0",children:[(0,a.jsx)("button",{type:"button",onClick:d,className:"absolute top-4 right-4 w-8 h-8 flex items-center justify-center rounded-full bg-white/10 text-white/70 hover:bg-white/20 hover:text-white transition-colors",children:(0,a.jsx)(c.A,{className:"w-4 h-4"})}),(0,a.jsx)("h2",{className:"font-outfit text-2xl font-bold mb-2 tracking-tight",children:"Wait! Let us plan your dream trip"}),(0,a.jsx)("p",{className:"font-jakarta text-sm text-white/80",children:"Get a free, customized quote from our experts."})]}),(0,a.jsxs)("div",{className:"p-6",children:[(0,a.jsx)(u,{sourceComponent:"exit_popup",onClose:d}),(0,a.jsx)("div",{className:"mt-6 text-center",children:(0,a.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),d()},className:"font-jakarta text-sm text-muted-text hover:text-primary underline underline-offset-4 transition-colors",children:"No thanks, I'll keep browsing"})})]})]})]})})}}}]);

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.