PageSourceSearch

https://siege.fly.dev/_nuxt/DP7c9YSn.js

js siege.fly.dev collected 2026-10-03 08:27:07 UTC 8,205 bytes, 1 lines download raw bytes

1import{u as F}from"./c0X0Uz97.js";import{M as Z,av as G,V as K,at as q,aw as Q,ax as X,r as J,ay as E,e as T,f as C}from"./B9cCGS5t.js";const pe=(e,o,c)=>{const d=t=>{const{linkFormatter:i}=F();return i(t,e.hasNewURL)},b=(t,i=e.siteURL+o.fullPath,r="en-US")=>[{"@type":"WebPage","@id":i+"#webpage",url:i,name:t,isPartOf:{"@id":e.siteURL+"/#website"},inLanguage:r}],y=()=>[...U(),{"@type":"WebSite","@id":`${e.siteURL}/#website`,url:`${e.siteURL}`,name:`${e.siteName}`,description:`${e.defaultDescription}`,publisher:{"@type":"Organization","@id":`${e.siteURL}/#organization`},inLanguage:"en-US"}],U=()=>[{"@type":"Organization","@id":`${e.siteURL}/#organization`,name:`${e.siteName}`,url:`${e.siteURL}`,sameAs:e.sameAs,logo:{"@type":"ImageObject","@id":`${e.siteURL}/#logo`,url:`${e.defaultLogo}`,caption:`${e.defaultTitle}`},image:{"@type":"ImageObject","@id":`${e.siteURL}/#image`,url:`${e.defaultImage}`,caption:`${e.defaultDescription}`}}],w=(t,i=[])=>[t,...i]?.filter(n=>n?.name)?.map(n=>j({name:n?.name||null,slug:n?.slug||null,jobTitle:n?.position||null,affiliation:e.siteName||null})),x=({reviewEmbed:t,articleTitle:i,publishedAt:r,tags:n,author:s,secondaryAuthors:a})=>{const u={review:"Product",product:"Product",game:"SoftwareApplication",movie:"Movie"}[t.fields?.type?.toLowerCase()]||"Product",m={"@type":"Review",headline:t.fields?.title||i,datePublished:r||"",reviewBody:t.fields?.text||"",reviewRating:{"@type":"Rating",ratingValue:t.fields?.rating?.toString(),bestRating:t.fields?.maxRating?.toString()||"10",worstRating:"0"},itemReviewed:{"@type":u,name:t.fields?.itemName||t.fields?.title?.replace("review","")?.trim()||i?.replace("review","")?.trim(),description:t.fields?.text||"",aggregateRating:{"@type":"AggregateRating",ratingValue:t.fields?.rating?.toString(),bestRating:t.fields?.maxRating?.toString()||"10",worstRating:"0",reviewCount:"1"},...u==="SoftwareApplication"?{applicationCategory:"Game"}:{}},author:w(s,a),publisher:{"@type":"Organization","@id":`${e.siteURL}/#organization`}};return t?.fields?.image&&(m.itemReviewed.image={"@type":"ImageObject","@id":`${e.siteURL}/#reviewimage`,url:t.fields.image.url}),n?.length&&(m.keywords=n),m},N=(t,i=!0)=>(i&&t.unshift({name:"Home",path:""}),{"@type":"BreadcrumbList",itemListElement:t.map(({name:r,path:n},s)=>({"@type":"ListItem",position:JSON.stringify(s+1),name:r,item:d(`${e.siteURL}${n}`)}))}),j=({name:t,slug:i,jobTitle:r,affiliation:n})=>{const s=i?`${e.siteURL}/author/${i}`:null;return{"@type":"Person","@id":s,name:t,jobTitle:r,affiliation:n,url:s}},H=({videoEmbeds:t,articleTitle:i,publishedAt:r,seoDescription:n,featuredImage:s})=>{let a=t;const l=a.length>1;if(a=a.map((m,g)=>{let p=new Object;if(p["@type"]="VideoObject",l&&(p.position=g+1),p.embedUrl=m.fields.url,p.name=i,p.description=n,p.uploadDate=r||"",!p.description)return null;if(s)p.thumbnailUrl=s.url;else return;return p}),a=a.filter(Boolean),!a.length)return null;let u=new Object;return u["@type"]=l?"ItemList":"VideoObject",l?u.itemListElement=a:u={...u,...a[0]},u},_=(t=null,i=null,r="/",n=null,s="website",a=null,l=!1,u=[])=>{t===null&&(t=e.defaultTitle||`${e.siteName} - ${e.siteTagline}`),i===null&&(i=e.defaultDescription),n===null&&(n=e.defaultImage);let m=e.siteURL+r,g={meta:[]};return t&&(g.title=t),a===null&&(a=t),typeof t=="string"&&(t.toLowerCase().includes("release date")||t.toLowerCase().includes("release-dates"))&&(i=i+" Release Dates are speculative unless clearly stated otherwise."),g.meta=[{name:"description",hid:"description",content:i},{name:"og:title",hid:"og:title",content:a},{name:"og:description",hid:"og:description",content:i},{name:"og:type",hid:"og:type",content:s},{name:"og:url",hid:"og:url",content:m},{hid:"og:image",name:"og:image",content:n},{name:"og:image:alt",hid:"og:images:alt",content:t},{name:"og:site_name",hid:"og:site_name",content:e.siteName},{name:"twitter:card",hid:"twitter:card",content:"summary_large_image"},{name:"twitter:title",hid:"twitter:title",content:a},{name:"twitter:description",hid:"twitter:description",content:i},{name:"twitter:image",hid:"twitter:image",content:n},{name:"twitter:url",hid:"twitter:url",content:m},{name:"twitter:type",hid:"twitter:type",content:s},{name:"twitter:image:alt",hid:"twitter:image:alt",content:a}],u?.length&&g.meta.push({name:"keywords",content:u}),l&&(g.meta.push({name:"robots",hid:"robots",content:"noindex"}),g.meta.push({name:"bingbot",hid:"bingbot",content:"noindex"}),g.meta.push({name:"googlebot",hid:"googlebot",content:"noindex"})),g},k=(t,i,r)=>({"@type":"ImageObject","@id":`${t}#primaryimage`,url:r,width:660,height:371,caption:i}),z=({articleTitle:t,siteURL:i,path:r,publishedAt:n,updatedAt:s,seoDescription:a,relativePathToPage:l})=>({"@type":"WebPage","@id":i+r+"#webpage",url:i+r,name:`${t}`,description:a,isPartOf:{"@type":"WebSite","@id":`${i}/#website`},mainEntity:{"@type":"Article","@id":i+r+"#article"},primaryImageOfPage:{"@type":"ImageObject","@id":`${l}#primaryimage`},datePublished:c(n,"YYYY-MM-DDTHH:mm:ssZ"),dateModified:c(s,"YYYY-MM-DDTHH:mm:ssZ"),potentialAction:[{"@type":"ReadAction",target:[l]}],inLanguage:"en-US"}),B=({relativePathToPage:t,siteURL:i,publishedAt:r,updatedAt:n,tags:s,sections:a,author:l,secondaryAuthors:u,articleBody:m,headline:g,seoDescription:p})=>{const f={"@type":"Article","@id":`${t}#article`,isPartOf:{"@type":"WebPage","@id":`${t}#webpage`},headline:g,description:p,datePublished:c(r,"YYYY-MM-DDTHH:mm:ssZ"),dateModified:c(n,"YYYY-MM-DDTHH:mm:ssZ"),author:w(l,u),publisher:{"@type":"Organization","@id":`${i}/#organization`},image:{"@type":"ImageObject","@id":`${t}#primaryimage`},mainEntityOfPage:{"@type":"WebPage","@id":`${t}#webpage`},articleBody:m||"",articleSection:a,isAccessibleForFree:"true"};return s?.length&&(f.keywords=s),f};return{getArticleJSONLD:(t,i)=>{const{thumbnail:r,title:n,publishedAt:s,updatedAt:a,seo:l,sections:u,author:m,secondaryAuthors:g}=t,{siteURL:p,path:f}=i,L=t?.body||[],W=t?.title||"",V=t?.featuredImage.image,O=`${p}${f}`,$=t?.category[0],D=$?.parent,v=[];D&&v.push({name:`${D?.title}`,path:`/${D?.slug}`}),v.push({name:`${$?.title}`,path:`/${$?.slug}`});const R=h=>h.root?h.root.children.map(R).join(""):h.text?h.text:h.children?h.children.map(R).join(""):"",S={"@context":"https://schema.org","@graph":[...y(),z({articleTitle:n,siteURL:p,path:f,publishedAt:s,updatedAt:a,seoDescription:l.description,relativePathToPage:O}),k(O,n,r),B({relativePathToPage:O,siteURL:p,publishedAt:s,updatedAt:a,tags:l.tags,sections:u,author:m,secondaryAuthors:g,articleBody:R(L),headline:W,seoDescription:l.description}),N(v)]},M=L?.root?.children?.find(h=>h.type==="block"&&h.fields.blockType=="review");M&&S["@graph"].push(x({reviewEmbed:M,articleTitle:n,publishedAt:s,tags:l.tags,author:m,secondaryAuthors:g}));const I=L?.root?.children?.filter(h=>h.type==="block"&&h.fields.blockType=="video");return I.length>0&&S["@graph"].push(H({articleTitle:n,featuredImage:V,publishedAt:s,seoDescription:l.description,videoEmbeds:I})),S},getMeta:_,getJSONLDBase:y,getJSONLDWebPage:b,getJSONLDBreadcrumbList:N,getJSONLDPerson:j}};var ee;function te(){return ee}function ie(e){return typeof e=="function"?e():T(e)}function A(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const o=ie(e);if(!e||!o)return o;if(Array.isArray(o))return o.map(c=>A(c));if(typeof o=="object"){const c={};for(const d in o)if(Object.prototype.hasOwnProperty.call(o,d)){if(d==="titleTemplate"||d[0]==="o"&&d[1]==="n"){c[d]=T(o[d]);continue}c[d]=A(o[d])}return c}return o}var ne="usehead",P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Y="__unhead_injection_handler__";function ae(){return Y in P?P[Y]():Z(ne)||te()}function re(e,o={}){const c=o.head||ae();if(c)return c.ssr?c.push(e,o):se(c,e,o)}function se(e,o,c={}){const d=J(!1),b=J({});G(()=>{b.value=d.value?{}:A(o)});const y=e.push(b.value,c);return K(b,w=>{y.patch(w)}),E()&&(q(()=>{y.dispose()}),Q(()=>{d.value=!0}),X(()=>{d.value=!1})),y}var oe=e=>typeof e=="function",de=(e,o)=>{if(!e)return;const c=C(()=>oe(e)?e():e);re(()=>c.value?{script:[{type:"application/ld+json",innerHTML:JSON.stringify(c.value,
1null,"")}]}:{},o)};export{pe as a,de 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.