PageSourceSearch

https://www.ohpolly.com/cdn/shop/t/1735/assets/template-facet.js?v=89484488310288492331782908375

js ohpolly.com collected 2026-10-03 20:38:15 UTC 743 bytes, 32 lines download raw bytes

1function FauxFacet (params, index, count) {
2  if (!params) {
3    return ''
4  }
5
6  const props = {
7    count: count || 0,
8    index: index || 0,
9    name: params.name || '',
10    field: params.field || '',
11  }
12
13  const propName = props.name
14  const countString = props.count ? `(${props.count})` : ''
15
16  return `
17    <div class="clc-ProductGrid_Facet clc-ProductGrid_Facet-accordion">
18      <button
19        class="clc-ProductGrid_FacetsTrigger fz-14_140"
20        type="button"
21        data-drawers-trigger="results-filters"
22        data-results-filters-el="fauxFacetTrigger"
23        data-accordion="facet-${props.field}"
24      >
25        ${propName}
26        ${countString}
27      </button>
28    </div>
29  `
30}
31
32window.templates.FauxFacet = FauxFacet

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.