1import{_}from"./B-g9Y6vL.js";import u from"./m9D3xXN_.js";import{u as p}from"./DHS2Yzvp.js";import{b0 as m,eE as o,bO as i,t as b,f1 as x,bM as c,h9 as h,bZ as g,g3 as y,bG as k}from"#entry";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"production-273317172"};var r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="81ae92fe-de2d-4e2d-a223-11def1a4a3aa",t._sentryDebugIdIdentifier="sentry-dbid-81ae92fe-de2d-4e2d-a223-11def1a4a3aa")}catch{}})();const S={props:{facet:{type:Object,required:!0},selected:{type:Array,default:()=>[]}},emits:["update:selected"],setup(){const t=p("screenreaderhelper");return{filter:k(()=>t.get("filter"))}},methods:{isSelected(t){return this.selected.includes(t)},toggleValue(t,r){let s=!1;const n=this.selected?.filter(a=>a===t?(s=!0,!1):!0)||[];!s&&!r||(s||n.push(t),this.$emit("update:selected",n))}}},w={class:"color-facet__list"};function E(t,r,s,n,a,d){const l=_,f=u;return o(),i("div",w,[(o(!0),i(b,null,x(s.facet.values,e=>(o(),c(f,{key:e.id||e.text,class:"color-facet__list-item",text:e.id||e.text,"is-selected":d.isSelected(e.id||e.text),"is-disabled":!e.count,"aria-label":`${n.filter} ${s.facet.name} ${e.text}.`,onClick:C=>d.toggleValue(e.id||e.text,e.count)},{default:h(()=>[(o(),c(l,{key:e.id||e.text,hex:e.hex,color:e.id||e.text},null,8,["hex","color"])),g(" "+y(e.text),1)]),_:2},1032,["text","is-selected","is-disabled","aria-label","onClick"]))),128))])}const B=Object.assign(m(S,[["render",E]]),{__name:"FacetsColor"});export{B 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.