1import{_ as v}from"./DgAK1XwS.js";import C from"./C_Is5Vfm.js";import{d as y,m as w,o as a,f as s,k as t,h as B,j as p,v as u,t as l,G as N,F as r,r as m,g,p as S,e as i,s as V,C as D,E as $,_ as z}from"./Bk_0yVAb.js";const E={class:"color-picker"},F={class:"section"},I={class:"content"},L={class:"configuration"},P={class:"body1 configuration-label"},T={class:"caption configuration-type"},j={class:"section-inline",role:"radiogroup","aria-label":"Select a color"},x={class:"colors"},G=["aria-checked","aria-label","title","onClick"],q={class:"section-inline"},A={class:"body2 selected-color"},H=y({__name:"ColorPicker",props:{data:{}},setup(h){const n=w(h.data.colors[0]??{}),f=e=>{n.value=e};return(e,d)=>{var _;const b=v,k=C;return a(),s("div",E,[t("div",F,[t("div",I,[(a(),B(N(e.data.titleTag||"p"),{class:"title font-primary"},{default:p(()=>[u(l(e.data.title),1)]),_:1})),t("div",L,[(a(!0),s(r,null,m(e.data.configurations,(o,c)=>(a(),s(r,{key:c},[t("p",P,l(o.label),1),t("p",T,l(o.type),1)],64))),128)),g(b,{to:e.data.cta.link,target:e.data.cta.target,class:S(`btn btn--${e.data.cta.type}`)},{default:p(()=>[u(l(e.data.cta.text),1)]),_:1},8,["to","target","class"])])]),g(k,{class:"images",images:i(n).images.map(o=>o.image)},null,8,["images"])]),t("div",j,[t("div",x,[(a(!0),s(r,null,m(e.data.colors,(o,c)=>V((a(),s("button",{key:c,class:"btn--color",type:"button",style:$({"--color-bg":o.colorCode}),role:"radio","aria-checked":i(n).colorCode===o.colorCode,"aria-label":o.label,title:o.label,onClick:K=>f(o)},d[0]||(d[0]=[t("span",{"aria-hidden":"true"},null,-1)]),12,G)),[[D,o.images.length]])),128))])]),t("div",q,[t("p",A,l(((_=i(n))==null?void 0:_.label)||""),1)])])}}}),R=z(H,[["__scopeId","data-v-d319edc7"]]);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.