PageSourceSearch

https://www.gv.com/_nuxt/CNofqpDg.js

js gv.com collected 2026-09-24 08:30:34 UTC 3,488 bytes, 3 lines download raw bytes

1import{_ as F}from"./D5YvX-GU.js";import{_ as k,a as z}from"./BKlxeM83.js";import{a as L,i as $,j as M}from"./BnowyiiT.js";import{d as O}from"./Bh1tyPu7.js";import{z as x,c as Q,a2 as h,u as g,a6 as c,X as q,a3 as d,W as T,ai as V,C as w,a5 as C,aj as E,a7 as H}from"./DGxlnW41.js";import"./BirJEn2g.js";import"./CkMOyL3W.js";import"./B2YqjWf_.js";import"./_CHoJ0K5.js";import"./CbAtIVSG.js";const N=r=>r?typeof r=="string"?r.replace(/<[^>]*>/g,"").replace(/(\r\n|\n|\r)/gm," ").replace(/\s+/g," ").trim():Array.isArray(r)?r.filter(e=>e?._type==="block"&&Array.isArray(e.children)).map(e=>e.children.filter(n=>typeof n?.text=="string").map(n=>n.text).join("")).join(" ").replace(/\s+/g," ").trim():"":"";function S(r){const e=x(()=>{const n=Q(r);if(!Array.isArray(n)||!n.length)return null;const f=n.map(p=>{const l=p?.question,m=N(p?.answer);return!l||!m?null:{"@type":"Question",name:l,acceptedAnswer:{"@type":"Answer",text:m}}}).filter(Boolean);return f.length?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:f}:null});L({script:[{type:"application/ld+json",id:"schema-faq",innerHTML:x(()=>{const n=e.value;return n?JSON.stringify(n):""})}]})}const U={class:"faq-component px-1 px-md-0-875 px-xl-2-25 my-4-5 my-md-2-75 my-xl-5"},I={class:"faq-container"},J={class:"faq-question d-flex justify-content-between align-items-center"},P={class:"question-text mb-0"},b={class:"faq-answer"},D={__name:"FaqComponent",props:{faqContent:{type:[String,Array],default:""}},setup(r){const e=r,n=s=>
1{const t=[],i=s.split(/^##\s+/m).filter(Boolean);for(const o of i){const _=o.split(`
2`),a=_[0]?.trim(),u=_.slice(1).join(`
3`).trim();a&&t.push({id:a.toLowerCase().replace(/[^a-z0-9]+/g,"-"),question:a,answer:u})}return t},f=s=>!s||s._type!=="block"||!Array.isArray(s.children)?"":s.children.map(t=>typeof t?.text=="string"?t.text:"").join("").trim(),p=(s,t)=>s?{id:s.toLowerCase().replace(/[^a-z0-9]+/g,"-"),question:s,answer:t}:null,l=s=>{let t=null;const i=[];if(s.forEach(o=>{if(o?._type==="block"&&o?.style==="h2"){const a=f(o);if(!a)return;if(t?.question){const u=p(t.question,t.answer);u&&i.push(u)}t={question:a,answer:[]};return}t&&t.answer.push(o)}),t?.question){const o=p(t.question,t.answer);o&&i.push(o)}return i},m=x(()=>e.faqContent?typeof e.faqContent=="string"?n(e.faqContent):Array.isArray(e.faqContent)?l(e.faqContent):[]:[]);return S(m),(s,t)=>{const i=F,o=k,_=$,a=O,u=z;return h(),g("section",U,[c("div",I,[q(u,{class:"faq-list",alwaysOneOpen:!1},{default:d(({changeActive:A})=>[(h(!0),g(T,null,V(w(m),(y,j)=>(h(),C(a,{key:y.id},{default:d(({addToTimeline:v})=>[q(_,{onUpdated:v,preset:"fadeUp",to:{delay:.1+j*.05}},{default:d(()=>[q(o,{onChangeActive:A,index:y.id,class:"faq-item"},{title:d(({isOpen:B})=>[c("div",J,[c("h2",P,E(y.question),1),c("span",{class:H(["faq-icon",{"is-open":B}])},[...t[0]||(t[0]=[c("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[c("path",{d:"M12 5V19M5 12H19",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],2)])]),content:d(()=>[c("div",b,[q(i,{text:y.answer,innerClass:"answer-content rich-text"},null,8,["text"])])]),_:2},1032,["onChangeActive","index"])]),_:2},1032,["onUpdated","to"])]),_:2},1024))),128))]),_:1})])])}}},st={__name:"cms",props:{data:{type:Object,required:!0}},setup(r){const e=r,{faqContent:n}=M(e.data);return(f,p)=>{const l=D;return h(),C(l,{faqContent:w(n)},null,8,["faqContent"])}}};export{st as default};

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.