PageSourceSearch

https://autoskola-abc.lv/assets/buj-B1FdRN1U.js

js autoskola-abc.lv collected 2026-10-09 22:01:37 UTC 8,593 bytes, 1 lines download raw bytes

vendor: 4,189 bytes, line 1
1import{r as d,q as k,j as t,P as j,v as F,x as G,y as fe,z as K,F as z,G as xe,R as u,H as ve,d as D,e as Ce}from"./index-CC7LeppY.js";import{H as he}from"./Header-bowe0gH6.js";import{F as be}from"./Footer-CXZBMFt4.js";import{c as ge}from"./index-CfRP-hP6.js";import{C as Ae}from"./chevron-down-BpZv4uv7.js";import"./abc-logo-white.png.asset-Cwt5x36H.js";import"./index-CLJdEIVw.js";import"./index-DXcqDPk_.js";import"./chevron-right-C3jhp7DR.js";import"./check-sFveOP9a.js";import"./input-CP1rm5Jz.js";import"./label-BDrGmM36.js";import"./textarea-DaLV5Ft2.js";import"./checkbox-BeyvdgSY.js";import"./select-u_g5UcEG.js";import"./payments.functions-DtQneDy8.js";import"./StripeEmbeddedCheckout-LGX3HQfF.js";import"./stripe-DgLbGnqx.js";import"./legal.functions-C9v33VLW.js";import"./analytics-BwMd3HQf.js";import"./copy-Dr81kPgO.js";import"./key-round-CUvWpJmK.js";import"./loader-circle-DNIotRoX.js";import"./credit-card-CaaGYsVJ.js";import"./shield-5aUExx8u.js";import"./mail-1ALXBZHO.js";import"./phone-DkgG3_FF.js";var I="Collapsible",[Ne,B]=K(I),[je,M]=Ne(I),U=d.forwardRef((e,n)=>{const{__scopeCollapsible:o,open:r,defaultOpen:a,disabled:s,onOpenChange:i,...l}=e,[p,m]=k({prop:r,defaultProp:a??!1,onChange:i,caller:I});return t.jsx(je,{scope:o,disabled:s,contentId:F(),open:p,onOpenToggle:d.useCallback(()=>m(f=>!f),[m]),children:t.jsx(j.div,{"data-state":$(p),"data-disabled":s?"":void 0,...l,ref:n})})});U.displayName=I;var J="CollapsibleTrigger",Q=d.forwardRef((e,n)=>{const{__scopeCollapsible:o,...r}=e,a=M(J,o);return t.jsx(j.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":$(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:n,onClick:G(e.onClick,a.onOpenToggle)})});Q.displayName=J;var H="CollapsibleContent",Y=d.forwardRef((e,n)=>{const{forceMount:o,...r}=e,a=M(H,e.__scopeCollapsible);return t.jsx(fe,{present:o||a.open,children:({present:s})=>t.jsx(ye,{...r,ref:n,present:s})})});Y.displayName=H;var ye=d.forwardRef((e,n)=>{const{__scopeCollapsible:o,present:r,children:a,...s}=e,i=M(H,o),[l,p]=d.useState(r),m=d.useRef(null),f=z(n,m),x=d.useRef(0),A=x.current,C=d.useRef(0),y=C.current,h=i.open||l,b=d.useRef(h),g=d.useRef(void 0);return d.useEffect(()=>{const c=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(c)},[]),xe(()=>{const c=m.current;if(c){g.current=g.current||{transitionDuration:c.style.transitionDuration,animationName:c.style.animationName},c.style.transitionDuration="0s",c.style.animationName="none";const N=c.getBoundingClientRect();x.current=N.height,C.current=N.width,b.current||(c.style.transitionDuration=g.current.transitionDuration,c.style.animationName=g.current.animationName),p(r)}},[i.open,r]),t.jsx(j.div,{"data-state":$(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!h,...s,ref:f,style:{"--radix-collapsible-content-height":A?`${A}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:h&&a})});function $(e){return e?"open":"closed"}var we=U,Ie=Q,Re=Y,v="Accordion",_e=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[q,Pe,Ee]=ge(v),[R]=K(v,[Ee,B]),L=B(),W=u.forwardRef((e,n)=>{const{type:o,...r}=e,a=r,s=r;return t.jsx(q.Provider,{scope:e.__scopeAccordion,children:o==="multiple"?t.jsx(ke,{...s,ref:n}):t.jsx(Te,{...a,ref:n})})});W.displayName=v;var[X,Se]=R(v),[Z,Oe]=R(v,{collapsible:!1}),Te=u.forwardRef((e,n)=>{const{value:o,defaultValue:r,onValueChange:a=()=>{},collapsible:s=!1,...i}=e,[l,p]=k({prop:o,defaultProp:r??"",onChange:a,caller:v});return t.jsx(X,{scope:e.__scopeAccordion,value:u.useMemo(()=>l?[l]:[],[l]),onItemOpen:p,onItemClose:u.useCallback(()=>s&&p(""),[s,p]),children:t.jsx(Z,{scope:e.__scopeAccordion,collapsible:s,children:t.jsx(ee,{...i,ref:n})})})}),ke=u.forwardRef((e,n)=>{const{value:o,defaultValue:r,onValueChange:a=()=>{},...s}=e,[i,l]=k({prop:o,defaultProp:r??[],onChange:a,caller:v}),p=u.useCallback(f=>l((x=[])=>[...x,f]),[l]),m=u.useCallback(f=>l((x=[])=>x.filter(A=>A!==f)),[l]);return t.jsx(X,{scope:e.__scopeAccordion,value:i,onItemOpen:p,onItemClose:m,children:t.jsx(Z,{scope:e.__scopeAccordion,collapsible:!0,children:t.jsx(ee,{...s,ref:n})})})}
1),[De,_]=R(v),ee=u.forwardRef((e,n)=>{const{__scopeAccordion:o,disabled:r,dir:a,orientation:s="vertical",...i}=e,l=u.useRef(null),p=z(l,n),m=Pe(o),x=ve(a)==="ltr",A=G(e.onKeyDown,C=>{if(!_e.includes(C.key))return;const y=C.target,h=m().filter(O=>!O.ref.current?.disabled),b=h.findIndex(O=>O.ref.current===y),g=h.length;if(b===-1)return;C.preventDefault();let c=b;const N=0,P=g-1,E=()=>{c=b+1,c>P&&(c=N)},S=()=>{c=b-1,c<N&&(c=P)};switch(C.key){case"Home":c=N;break;case"End":c=P;break;case"ArrowRight":s==="horizontal"&&(x?E():S());break;case"ArrowDown":s==="vertical"&&E();break;case"ArrowLeft":s==="horizontal"&&(x?S():E());break;case"ArrowUp":s==="vertical"&&S();break}const ue=c%g;h[ue].ref.current?.focus()});return t.jsx(De,{scope:o,disabled:r,direction:a,orientation:s,children:t.jsx(q.Slot,{scope:o,children:t.jsx(j.div,{...i,"data-orientation":s,ref:p,onKeyDown:r?void 0:A})})})}),w="AccordionItem",[Me,V]=R(w),oe=u.forwardRef((e,n)=>{const{__scopeAccordion:o,value:r,...a}=e,s=_(w,o),i=Se(w,o),l=L(o),p=F(),m=r&&i.value.includes(r)||!1,f=s.disabled||e.disabled;return t.jsx(Me,{scope:o,open:m,disabled:f,triggerId:p,children:t.jsx(we,{"data-orientation":s.orientation,"data-state":ie(m),...l,...a,ref:n,disabled:f,open:m,onOpenChange:x=>{x?i.onItemOpen(r):i.onItemClose(r)}})})});oe.displayName=w;var te="AccordionHeader",re=u.forwardRef((e,n)=>{const{__scopeAccordion:o,...r}=e,a=_(v,o),s=V(te,o);return t.jsx(j.h3,{"data-orientation":a.orientation,"data-state":ie(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:n})});re.displayName=te;var T="AccordionTrigger",ne=u.forwardRef((e,n)=>{const{__scopeAccordion:o,...r}=e,a=_(v,o),s=V(T,o),i=Oe(T,o),l=L(o);return t.jsx(q.ItemSlot,{scope:o,children:t.jsx(Ie,{"aria-disabled":s.open&&!i.collapsible||void 0,"data-orientation":a.orientation,id:s.triggerId,...l,...r,ref:n})})});ne.displayName=T;var ae="AccordionContent",se=u.forwardRef((e,n)=>{const{__scopeAccordion:o,...r}=e,a=_(v,o),s=V(ae,o),i=L(o);return t.jsx(Re,{role:"region","aria-labelledby":s.triggerId,"data-orientation":a.orientation,...i,...r,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});se.displayName=ae;function ie(e){return e?"open":"closed"}var He=W,$e=oe,qe=re,ce=ne,le=se;const Le=He,de=d.forwardRef(({className:e,...n},o)=>t.jsx($e,{ref:o,className:D("border-b",e),...n}));de.displayName="AccordionItem";const pe=d.forwardRef(({className:e,children:n,...o},r)=>t.jsx(qe,{className:"flex",children:t.jsxs(ce,{ref:r,className:D("flex flex-1 items-center justify-between py-4 text-sm font-medium cursor-pointer transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",e),...o,children:[n,t.jsx(Ae,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));pe.displayName=ce.displayName;const me=d.forwardRef(({className:e,children:n,...o},r)=>t.jsx(le,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...o,children:t.jsx("div",{className:D("pb-4 pt-0",e),children:n})}));me.displayName=le.displayName;function xo(){const{t:e,raw:n}=Ce(),o=n("faq.items")??[];return t.jsxs("div",{className:"min-h-dvh flex flex-col",children:[t.jsx(he,{}),t.jsxs("section",{className:"bg-ink text-ink-foreground relative",children:[t.jsx("div",{className:"absolute inset-0 bg-hero opacity-60"}),t.jsxs("div",{className:"relative mx-auto max-w-6xl px-6 py-16",children:[t.jsx("h1",{className:"text-4xl md:text-5xl font-bold",children:e("faq.title")}),t.jsx("p",{className:"mt-3 text-ink-foreground/70 max-w-2xl",children:e("faq.lead")})]})]}),t.jsxs("section",{className:"mx-auto max-w-3xl px-6 py-16",children:[t.jsx(Le,{type:"single",collapsible:!0,className:"space-y-3",children:o.map((r,a)=>t.jsxs(de,{value:`item-${a}`,className:"rounded-xl border border-border bg-card px-5",children:[t.jsx(pe,{className:"text-left font-semibold hover:no-underline",children:r.q}),t.jsx(me,{className:"text-muted-foreground",children:r.a})]},a))}),t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:o.map(r=>
1({"@type":"Question",name:r.q,acceptedAnswer:{"@type":"Answer",text:r.a}}))})}})]}),t.jsx(be,{})]})}export{xo as component};

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.