1import{g as t,h as s,x as o,k as i,r as d,j as p}from"./DeAM8J0K.js";import{d as n}from"./DwzRBzHD.js";import"./Ci54JYF0.js";import"./qq3zl2Kv.js";import"./I8pGzNpi.js";import"./ByVd-UTZ.js";import"./CwV3x9Ya.js";import"./i2Ewkgj6.js";import"./Cnkzh05O.js";const l=t({cast(e){return typeof e=="string"?{text:e}:e},defaults:{"@type":"Answer"}}),P=t({defaults:{"@type":"Question"},inheritMeta:["inLanguage"],idPrefix:"url",resolve(e,r){return e.question&&(e.name=e.question,delete e.question),e.answer&&(e.acceptedAnswer=e.answer,delete e.answer),e.acceptedAnswer=d(e.acceptedAnswer,r,l),e.dateCreated=p(e.dateCreated),e},resolveRootNode(e,{find:r}){const a=r(n);a&&s(a["@type"]).includes("FAQPage")&&o(a,"mainEntity",i(e))}});export{P as questionResolver};
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.