1import{r as D,al as E,aQ as C,a1 as S,d as y,a7 as A,aw as T,a5 as $,o as d,a3 as v,a4 as o,ab as w,af as _,v as p,w as h,ag as k,a6 as m,ah as B,ai as b,as as I,aP as N,am as R,an as L,bz as z}from"./5RD0fXVg.js";import{D as O,_ as V}from"./CFD-5_kG.js";/* empty css */import{H}from"./B2_xPziN.js";(function(){try{var a=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{};a["__faroBundleId_ecommerce-website-app"]="2026.10.1-p0937-aramisauto"}catch{}})();(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"[email protected]"};var i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="60ec3c88-db10-4b59-8445-aff68fc5dce3",a._sentryDebugIdIdentifier="sentry-dbid-60ec3c88-db10-4b59-8445-aff68fc5dce3")}catch{}})();function P({emit:a,multiple:i,defaultOpen:s}){const l=D(G(i,s)),c=C();function g(n){return`${c}-content-${n}`}function u(n){return l.value.has(n)}function f(n){const t=!u(n);t?r(n):e(n),a("toggle",{index:n,isOpen:t})}function r(n){if(!i){l.value=new Set([n]);return}const t=new Set(l.value);t.add(n),l.value=t}function e(n){const t=new Set(l.value);t.delete(n),l.value=t}return E({openedIndexes:l,isOpen:u,toggle:f,contentId:g})}function G(a,i){let s;return Array.isArray(i)?s=i:i===void 0?s=[]:s=[i],!a&&0<s.length&&s[0]!==void 0?new Set([s[0]]):new Set(s)}const F={multiple:!1,defaultOpen:()=>[]},M={class:"ds-accordion"},Q=["aria-expanded","aria-controls","onClick"],U=["id"],Y={class:"ds-accordion__content-inner"},j=S({__name:"DsAccordion",props:$({multiple:{type:Boolean},defaultOpen:{},headingTag:{},items:{}},F),emits:["toggle"],setup(a,{emit:i}){const s=a,c=P({emit:i,multiple:s.multiple,defaultOpen:s.defaultOpen});function g(r){const e=r;e.style.height="0px",e.style.overflow="hidden",e.style.opacity="0",e.getBoundingClientRect(),e.style.transition="height 0.2s ease, opacity 0.2s ease",e.style.height=`${e.scrollHeight}px`,e.style.opacity="1"}function u(r){const e=r;e.style.height=`${e.scrollHeight}px`,e.style.overflow="hidden",e.style.opacity="1",e.getBoundingClientRect(),e.style.transition="height 0.2s ease, opacity 0.2s ease",e.style.height="0px",e.style.opacity="0"}function f(r){const e=r;e.style.transition="",e.style.height="",e.style.overflow="",e.style.opacity=""}return(r,e)=>(d(),y("div",M,[(d(!0),y(A,null,T(s.items,(n,t)=>(d(),y("div",{key:t,class:v(["ds-accordion__item",{"ds-accordion__item--open":o(c).isOpen(t)}])},[(d(),w(N(s.headingTag??o(H)),{class:"ds-accordion__heading"},{default:_(()=>[p("button",{class:v(["ds-accordion__header",{"ds-accordion__header--open":o(c).isOpen(t)}]),type:"button","aria-expanded":o(c).isOpen(t),"aria-controls":o(c).contentId(t),onClick:q=>o(c).toggle(t)},[h(r.$slots,"header",{item:n,index:t,isOpen:o(c).isOpen(t)},()=>[n.icon?(d(),w(o(O),{key:0,icon:n.icon,size:"medium"},null,8,["icon"])):k("",!0),m(o(V),{class:"ds-accordion__title",variant:"body",tag:"span",size:"small",weight:"strong"},{default:_(()=>[B(b(n.title),1)]),_:2},1024)]),h(r.$slots,"icon",{item:n,index:t,isOpen:o(c).isOpen(t)},()=>[m(o(O),{icon:o(c).isOpen(t)?o(I).GENERIC_REMOVE:o(I).GENERIC_PLUS,class:"ds-accordion__icon",size:"medium"},null,8,["icon"])])],10,Q)]),_:2},1024)),m(z,{name:"ds-accordion",onEnter:g,onAfterEnter:f,onLeave:u,onAfterLeave:f},{default:_(()=>[R(p("section",{id:o(c).contentId(t),class:"ds-accordion__content"},[p("div",Y,[h(r.$slots,"content",{item:n,index:t},()=>[p("p",null,b(n.content),1)])])],8,U),[[L,o(c).isOpen(t)]])]),_:2},1024)],2))),128))]))}}),Z=j;export{Z as D};
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.