PageSourceSearch

https://magiclight.ai/assets/DFWE5Po1.js

js magiclight.ai collected 2026-09-24 11:19:48 UTC 3,465 bytes, 1 lines download raw bytes

1import{L as M}from"./CXPLtmd1.js";import{d as A,ae as T,r as j,c as d,ad as x,c6 as F,c7 as E,ac as I,O as S,N as h,a5 as D,Q as e,Y as q,u as r,M as P,F as H,ap as N,an as b,_ as Q}from"./O4ENX8gu.js";import"./bx_i9t8X.js";import"./CWOAZ8ao.js";import"./D6kYyQpC.js";import"./B8LniJga.js";import"./nVElSCXN.js";import"./D_3odlpT.js";import"./BbWudjX0.js";import"./BwwXBuDZ.js";const z={class:"faq-page"},O={class:"container"},U={class:"faq-hero"},J={class:"faq-title"},R={class:"faq-subtitle"},V={class:"faq-content"},W=["onClick"],Y=["innerHTML"],G=A({__name:"faq",setup(K){const{t:a,locale:_}=T(),l=j(null),c=d(()=>"".concat(x).concat(F("/faq/",_.value))),v=d(()=>E(_.value)),w=d(()=>Array.from({length:15},(s,n)=>({question:a("faqPage.items.".concat(n,".question")),answer:a("faqPage.items.".concat(n,".answer"))})));I(()=>({htmlAttrs:{lang:v.value},title:a("faqPage.seo.title"),meta:[{name:"description",content:a("faqPage.seo.description")},{name:"keywords",content:a("faqPage.seo.keywords")},{property:"og:title",content:a("faqPage.seo.ogTitle")},{property:"og:description",content:a("faqPage.seo.ogDescription")},{property:"og:type",content:"website"},{property:"og:url",content:c.value},{property:"og:image",content:"https://cdn2-static.magiclight.ai/assets/magiclight-logo.png"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:"@Magiclight0926"},{name:"twitter:title",content:a("faqPage.seo.ogTitle")},{name:"twitter:description",content:a("faqPage.seo.ogDescription")}],link:[{rel:"canonical",href:c.value}],script:[{type:"application/ld+json",textContent:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage","@id":"".concat(c.value,"#faq"),url:c.value,inLanguage:v.value,mainEntity:w.value.map(s=>({"@type":"Question",name:s.question,acceptedAnswer:{"@type":"Answer",text:s.answer.replace(/\*\*(.*?)\*\*/g,"$1").replace(/\n/g," ")}}))})}]}));function B(s){l.value=l.value===s?null:s}function y(s){return s.replace(/[&<>"']/g,o=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[o]||o).replace(/\*\*\s*(.*?)\s*\*\*/g,"<strong>$1</strong>")}function C(s){const n=[];let o=[],t=null,i=[];const g=()=>{o.length&&(n.push("<p>".concat(o.map(y).join("<br>"),"</p>")),o=[])},p=()=>{!t||!i.length||(n.push("<".concat(t,">").concat(i.map(m=>"<li>".concat(y(m),"</li>")).join(""),"</").concat(t,">")),t=null,i=[])};return s.split("\n").forEach(m=>{var $;const u=m.trim();if(!u){g(),p();return}const f=u.match(/^•\s*(.+)$/u),L=u.match(/^\d+\.\s*(.+)$/u);if(f||L){const k=f?"ul":"ol";g(),t&&t!==k&&p(),t=k,i.push((($=f||L)==null?void 0:$[1])||"");return}p(),o.push(u)}),g(),p(),n.join("")}return(s,n)=>(h(),S(M,null,{default:D(()=>[e("div",z,[e("div",O,[e("div",U,[e("h1",J,q(r(a)("faqPage.hero.title")),1),e("p",R,q(r(a)("faqPage.hero.subtitle")),1)]),e("div",V,[(h(!0),P(H,null,N(r(w),(o,t)=>(h(),P("div",{key:t,class:"faq-item"},[e("div",{class:b(["faq-question",{active:r(l)===t}]),onClick:i=>B(t)},[e("h2",null,q(o.question),1),n[0]||(n[0]=e("div",{class:"faq-icon"},[e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M19 9L12 16L5 9",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})])],-1))],10,W),e("div",{class:b(["faq-answer",{active:r(l)===t}])},[e("div",{innerHTML:C(o.answer)},null,8,Y)],2)]))),128))])])])]),_:1}))}}),lt=Q(G,[["__scopeId","data-v-bda25ae0"]]);export{lt 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.