PageSourceSearch

https://www.premierholidays.co.uk/_nuxt/Bak2IoqS.js

js premierholidays.co.uk collected 2026-09-24 23:35:42 UTC 1,609 bytes, 1 lines download raw bytes

1import{t as d}from"./BJcvxiDA.js";import{d as g,i as p,j as h}from"./lTr7RkzU.js";import{s as c}from"./Dp4LzAFS.js";import{m as a,u as l}from"./BfJgI-1u.js";const m="https://www.premierholidays.co.uk",i=e=>{const o=e?.trim();if(!o)return null;const r=/^(?!https?:\/\/)[\w-]+(\.[\w-]+)+(\/|$)/.test(o)?`https://${o}`:o;try{const t=new URL(r,`${m}/`);return t.protocol!=="https:"&&t.protocol!=="http:"?null:(t.pathname!=="/"&&(t.pathname=t.pathname.replace(/\/+$/,"")),t.hash="",t.toString())}catch{return null}},f="https://res.cloudinary.com/ddrzvdb1p/image/upload/v1776170907/logos/tdgbpcj8trknjs02ggn0.png",_="c_fill,g_auto,w_1200,h_630,f_jpg,q_auto",v="1200",y="630",u=/(\/image\/upload\/)(v\d+\/)/,w=e=>{const o=typeof e=="string"?{cloudinaryUrl:e}:e,r=(o?.cloudinaryUrl||o?.url)?.trim();if(!r)return{url:f,alt:void 0,sized:!1,isPhoto:!1};const t=u.test(r);return{url:t?r.replace(u,`$1${_}/$2`):r,alt:d(o?.alt||o?.title)||void 0,sized:t,isPhoto:!0}};function P(e={}){const o=g(),r=a(()=>c(l(e.title))||"Premier Holidays"),t=a(()=>c(l(e.description))||"Book tailor-made holidays with Premier Holidays. Booking holidays since 1936, ATOL Protected."),n=a(()=>i(l(e.canonical))||i(l(e.url))||i(o.path)||m),s=a(()=>w(l(e.image)));p({title:r,description:t,ogTitle:r,ogDescription:t,ogUrl:n,ogType:"website",ogLocale:"en_GB",ogImage:a(()=>s.value.url),ogImageAlt:a(()=>s.value.alt),ogImageWidth:a(()=>s.value.sized?v:void 0),ogImageHeight:a(()=>s.value.sized?y:void 0),twitterCard:a(()=>s.value.isPhoto?"summary_large_image":"summary")}),h({htmlAttrs:{lang:"en"},link:[{rel:"canonical",href:n}]})}export{P as u};

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.