1import{j as t,s as e,q as r,d as n,t as o}from"./filter-state.CHhZ4ouW.min.js";import{a as s}from"./helpers.BN2Mmr8t.min.js";const a=50;function i(t){return"false"!==t}function c(t){if(t)return{};const e=window.Shopify,r=null==e?void 0:e.country,n=null==e?void 0:e.locale;return r&&n?{locale:`${n}_${r}`,market:r.toLowerCase()}:{}}function l(t){const{sort:e}=s();return e||t}function u(t){return n(t)}function f(t){return e(s().filters,u(t))}function p(t){return o(f(t),u(t))}function m(t,e){const{filters:n,facetMultiMap:o}=r(p(t),e);return{filters:n,...Object.keys(o).length>0?{facetMultiMap:o}:{}}}function d({mode:e,input:r,page:n,limit:o,defaultSort:s,enforcedFilter:a,localeFromApp:i,facets:u}){return{mode:e,..."search"===e?{term:r}:{category:r},page:n,limit:o,sort:l(s),...m(a,u),shopperFiltersActive:t(f(a)),...c(i)}}export{a as D,u as a,d as b,l as c,p as d,c as e,i as p,f as r};
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.