PageSourceSearch

https://www.virginexperiencedays.co.uk/_next/static/chunks/218.4814b8f251736f60.js

js virginexperiencedays.co.uk collected 2026-10-03 19:18:29 UTC 1,087 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[218],{10218:(e,t,l)=>{l.r(t),l.d(t,{default:()=>p,pauseFetching:()=>o});var u=l(37876),s=l(38753),n=l(52035),a=l(14232),r=l(6416),i=l(74037),d=l(79235),c=l(89034);function o(){return c.env.NEXT_PHASE===n.PHASE_PRODUCTION_BUILD}let p=e=>{let{className:t,productSlug:l,show:n,paymentMethod:c,onLoad:p}=e,[f,m]=(0,a.useState)(!0),[{fetching:v,data:h},_]=(0,r.IT)({query:(0,i.J1)(s._h),variables:{slugs:[l]},pause:o(),requestPolicy:"network-only"});return((0,a.useEffect)(()=>{var e,t,l;if(v)return;let u=null==h||null==(t=h.products)||null==(e=t[0])?void 0:e.stock;m(!!(null==(l=h.products)?void 0:l[0])&&(null==u||u>0));let s=setTimeout(()=>{_()},(0,d.m)(u));return()=>clearTimeout(s)},[h,v,_]),(0,a.useEffect)(()=>{c&&(null==p||p({paymentMethod:c}))},[p,c]),f&&n)?(0,u.jsx)("div",{className:t,"data-testid":"stripe-element",children:(0,u.jsx)("div",{"data-testid":"payment-placeholder",children:(0,u.jsx)("div",{id:"payment-request-button","data-testid":"payment-request-button",className:"m-0 w-full"})})}):null}}}]);

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.