PageSourceSearch

https://sadr.com.sa/_nuxt/DMCtVFcl.js

js sadr.com.sa collected 2026-09-30 15:32:39 UTC 3,443 bytes, 1 lines download raw bytes

1import{z as h,m as x,u as y,p as w,aR as v,b as r,e as s,j as n,O as q,P as C,aB as O,q as d,f as i,t as B,I as p,y as L,x as $,c as z}from"./DGM8lNn8.js";import{a as A}from"./BFoC_60u.js";import"./Glv5KJBU.js";const D={class:"bg-white px-4 md:px-16 py-8 dark:bg-black/80 dark-children-text"},N=["onClick"],j=["innerHTML"],R={__name:"FAQSecond",async setup(F){let l,c;const m=t=>{e.value?.data?.length>0&&(e.value.data[t].isOpen=!e.value.data[t].isOpen)},u=L(null);h(u,()=>{e.value?.data?.length>0&&e.value.data.forEach(t=>t.isOpen=!1)});const{locale:g}=x(),f=$().public.ConstUrl,_=y(),{data:e}=([l,c]=w(()=>A(z(()=>`${f}/faqs`),{headers:{"X-Localization":g},getCachedData:t=>_?.payload?.data[t]||_?.static?.data[t]},"$0BWNGTBrIL")),l=await l,c(),l);return(t,b)=>{const k=v("auto-animate");return r(),s("section",D,[n(e)?.data?(r(),s("div",{key:0,"data-aos":"fade-up","data-aos-duration":"300","data-aos-easing":"ease-out-cubic","data-aos-delay":"100","data-allow-mismatch":"class",class:"pt-8",ref_key:"outside",ref:u},[(r(!0),s(q,null,C(n(e).data,(a,o)=>O((r(),s("div",{key:o,class:d(["border-b border-b-d5 transition-all duration-300",{"border-b-transparent":o===n(e).data.length-1}])},[i("button",{type:"button","aria-label":"button",class:d(["w-full bg-f5 dark:bg-black/80 px-4 transition-all duration-300 py-3 text-three3 font-bold text-sm md:text-base focus:outline-none border-0 cursor-pointer flex justify-between items-center",{"text-c7":a.isOpen,"rounded-t-lg":o===0,"rounded-b-lg":o===n(e).data.length-1&&!a.isOpen}]),onClick:M=>m(o)},[i("span",null,B(`${o+1}. ${a.question}`),1),(r(),s("svg",{class:d([{"transform rotate-180":a.isOpen},"w-5 h-5 transition-transform"]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[...b[0]||(b[0]=[i("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],10,N),a.isOpen?(r(),s("div",{key:0,class:d([{"rounded-b-lg":o===n(e).data.length-1&&a.isOpen},"py-6 px-4 bg-[#f8f9fa] dark:text-white dark:[&_*]:!text-white text-[#333] border-t border-t-[#e5e7eb] leading-[1.7] text-[0.95rem] md:text-base dark:bg-black/75 transition-all duration-300 [&_p]:mb-4 [&_a]:text-[#1d4a51] [&_a]:underline [&_a]:transition-colors [&_a]:duration-200 [&_a:hover]:text-[#0e2a2f] dark:[&_a]:!text-[#c8aa79] dark:[&_a:hover]:!text-[#e0c89f] [&_ul]:ml-6 [&_ul]:mb-4 [&_ul]:list-disc [&_ul]:list-inside [&_ol]:ml-6 [&_ol]:mb-4 [&_ol]:list-decimal [&_ol]:list-inside [&_li]:mb-2 [&_strong]:font-bold [&_em]:italic [&_blockquote]:border-l-4 [&_blockquote]:border-l-[#c8aa79] [&_blockquote]:bg-[#f1f1f1] [&_blockquote]:px-4 [&_blockquote]:py-3 [&_blockquote]:my-4 [&_blockquote]:text-[#555] [&_blockquote]:italic dark:[&_blockquote]:bg-white/5 dark:[&_blockquote]:!text-gray-300 [&_img]:block [&_img]:max-w-full [&_img]:rounded-lg [&_img]:my-4 [&_code]:bg-gray-100 [&_code]:px-[0.4rem] [&_code]:py-[0.25rem] [&_code]:rounded [&_code]:font-mono [&_code]:text-[0.9rem] [&_code]:text-[#d63384] dark:[&_code]:bg-white/10 dark:[&_code]:!text-pink-300 [&_pre]:bg-gray-800 [&_pre]:text-[#f8f8f2] [&_pre]:p-4 [&_pre]:overflow-x-auto [&_pre]:rounded-lg [&_pre]:text-[0.9rem] [&_pre]:leading-[1.6] [&_pre]:my-4 [&_hr]:border-0 [&_hr]:border-t [&_hr]:border-t-[#e5e7eb] [&_hr]:my-6 dark:[&_hr]:border-t-white/20"])},[i("div",{innerHTML:a.answer},null,8,j)],2)):p("",!0)],2)),[[k]])),128))],512)):p("",!0)])}}};export{R 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.