1import{cI as n,cR as l,cK as a,cP as c,cJ as s,cN as o,cW as m,cO as f}from"./DmVSYZ3Q.js";import{offerResolver as v}from"./Tf_ZRuib.js";import{p,o as u}from"./DhUAF_o9.js";import{placeResolver as g}from"./BHZZ26or.js";import{virtualLocationResolver as R}from"./DQTd8Jin.js";import"./BZqdwoVq.js";import"./YDez3cOb.js";import"./DnjzLyE_.js";import"./BR05JDl5.js";import"./ChF5EBWS.js";import"./CbWYS-Fy.js";import"./vXwUEwXF.js";import"./BU33EHdD.js";const h="#event",k=n({defaults:{"@type":"Event"},inheritMeta:["inLanguage","description","image",{meta:"title",key:"name"}],idPrefix:["url",h],resolve(t,r){if(t.location){const e=t.location==="string"||t.location?.url!=="undefined";t.location=s(t.location,r,e?R:g)}t.performer=s(t.performer,r,p,{root:!0}),t.organizer=s(t.organizer,r,u,{root:!0}),t.offers=s(t.offers,r,v),t.eventAttendanceMode&&(t.eventAttendanceMode=o(t.eventAttendanceMode,"https://schema.org/")),t.eventStatus&&(t.eventStatus=o(t.eventStatus,"https://schema.org/"));const i=t.eventStatus==="https://schema.org/EventMovedOnline";return["startDate","previousStartDate","endDate"].forEach(e=>{i?t[e]=f(t[e]):t[e]instanceof Date&&t[e].getHours()===0&&t[e].getMinutes()===0&&(t[e]=m(t[e]))}),a(t,"endDate",t.startDate),t},resolveRootNode(t,{find:r}){const i=r(l);i&&a(t,"organizer",c(i))}});export{h as PrimaryEventId,k as eventResolver,g as placeResolver,R as virtualLocationResolver};
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.