PageSourceSearch

https://theroasters.gr/RootCmp_CATEGORY__default.cfe6c9d3659775679812.js

js theroasters.gr collected 2026-10-06 19:58:34 UTC 49,262 bytes, 171 lines download raw bytes

1/*!
2 * @version 9d48db6f-dev
3 * 
4 */
5(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{"+Ol4":function(e,n,t){(n=e.exports=t("PBB4")(!1)).push([e.i,".tile-button-3wx {\n    grid-row-start: 1;\n    outline: none;\n    position: relative;\n}\n\n.tile-marker-3Ek {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    border: 1px solid;\n    border-radius: 2px;\n    bottom: 0;\n}\n",""]),n.locals={button:"tile-button-3wx",marker:"tile-marker-3Ek"}},"/pvV":function(e,n,t){var a=t("R6Jn")
6"string"==typeof a&&(a=[[e.i,a,""]])
7var i={hmr:!0,transform:void 0,insertInto:void 0}
8t("cuK8")(a,i)
9a.locals&&(e.exports=a.locals)},"6nPA":function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getFilterInputs"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"ProductAttributeFilterInput",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inputFields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:185}}
10t.loc.source={body:'query getFilterInputs {\n    __type(name: "ProductAttributeFilterInput") {\n        inputFields {\n            name\n            type {\n                name\n            }\n        }\n    }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}
11var a={}
12function findOperation(e,n){for(var t=0;t<e.definitions.length;t++){var a=e.definitions[t]
13if(a.name&&a.name.value==n)return a}}!function extractReferences(){t.definitions.forEach(function(e){if(e.name){var n=new Set
14!function collectFragmentReferences(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value)
15else if("VariableDefinition"===e.kind){var t=e.type
16"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){collectFragmentReferences(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){collectFragmentReferences(e,n)}),e.definitions&&e.definitions.forEach(function(e){collectFragmentReferences(e,n)})}(e,n),a[e.name.value]=n}})}(),e.exports=t,e.exports.getFilterInputs=function oneQuery(e,n){var t={kind:e.kind,definitions:[findOperation(e,n)]}
17e.hasOwnProperty("loc")&&(t.loc=e.loc)
18var i=a[n]||new Set,r=new Set,o=new Set
19for(i.forEach(function(e){o.add(e)});o.size>0;){var l=o
20o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var a=findOperation(e,n)
21a&&t.definitions.push(a)}),t}(t,"getFilterInputs")},"964o":function(e,n,t){"use strict"
22t.r(n)
23var a=t("KEM+"),i=t.n(a),r=t("ddV6"),o=t.n(r),l=t("ERkP"),c=t.n(l),s=t("zCf4"),d=t("aWzz"),m=t("1U1M"),u=t("YCM5"),g=t("cu+j"),v=t("f7YW"),p=t("I3q4"),f=Array.from({length:6}).fill(null),k=t("x/ZH"),b=t("lu7F"),y=t("rTAJ"),h=t("daAW"),N=t("Ixr1"),S=function isNonDefaultCategory(e){return Boolean(e.parentId)},F=t("1fzG"),E=t("ferN"),w=t.n(E),x=t("Ux6h"),_=t.n(x),O=t("Tr4L"),P=function NoProductsFound(e){var n=Object(O.a)().t,t=function useNoProductsFound(e){var n=e.categoryId,t=Object(N.b)(),a=o()(t,1)[0].categories
24return{recommendedCategories:Object(l.useMemo)(function(){var e,t=Object.values(a).filter(S).filter(function isNotSameCategory(e){return e.id!==n}),i=t.length
25if(i<=3)e=t
26else{var r=i-3+1,o=Math.floor(Math.random()*r),l=o+3
27e=t.slice(o,l)}return e},[n,a])}}(e).recommendedCategories,a=Object(g.b)(_.a,e.classes),i=Object(l.useMemo)(function(){return t.map(function(e){var n=Object(y.a)("/".concat(e.url_path).concat(".html"))
28return c.a.createElement("li",{key:e.id,className:a.listItem},c.a.createElement(h.b,{to:n},e.name))})},[a,t])
29return c.a.createElement("div",{className:a.root},c.a.createElement(F.a,{alt:"Sorry! There are no products in this category.",classes:{image:a.image,root:a.imageContainer},src:w.a}),c.a.createElement("h2",{className:a.title},n("Sorry! There are no products in this category")),c.a.createElement("div",{className:a.categories},c.a.createElement("p",null,n("Try one of these categories")),c.a.createElement("ul",{className:a.list},i)))},I=P
30P.propTypes={categoryId:d.number,classes:Object(d.shape)({root:d.string,title:d.string,list:d.string,categories:d.string,listItem:d.string,image:d.string,imageContainer:d.string})}
31var C=t("5MSQ"),j=t("Q02R"),B=t("IJPn"),D=t("ivv6"),T=t("XllH"),L=t("rP2B"),z=t.n(L),R=t("Ef9E"),A=t("epth"),V=t.n(A),q=c.a.lazy(function(){return Promise.all([t.e(0),t.e(2),t.e(50)]).then(t.bind(null,"++eG"))}),M=c.a.lazy(function(){return Promise.all([t.e(0),t.e(2),t.e(54)]).then(t.bind(null,"ftiY"))}),Q=function CategoryContent(e){var n,t=Object(O.a)().t,a=e.categoryId,i=e.data,r=e.pageControl,s=e.sortControl,d=function useCategoryContent(e){var n=e.categoryId,t=e.data,a=e.queries.getProductFiltersByCategory,i=Object(l.useState)(!1),r=o()(i,2),c=r[0],s=r[1],d=Object(p.b)(),u=o()(d,2)[1].toggleDrawer,g=Object(l.useCallback)(function(){s(!0)},[s]),v=Object(l.useCallback)(function(){s(!0),u("filter")},[s,u]),k=Object(m.b)(a),b=o()(k,2),y=b[0],h=b[1],N=h.data,S=h.error
32Object(l.useEffect)(function(){},[S]),Object(l.useEffect)(function(){n&&y({variables:{categoryIdFilter:{eq:n}}})},[n,y])
33var F=N?N.products.aggregations:null,E=t?t.products.items:f,w=t?t.products.page_info.total_pages:null,x=t?t.category.name:null
34return{categoryName:x,filters:F,handleLoadFilters:g,handleOpenFilters:v,items:E,loadFilters:c,pageTitle:x?"".concat(x," - ").concat("The Roasters"):"The Roasters",totalPagesFromData:w}}({categoryId:a,data:i,queries:{getProductFiltersByCategory:V.a}})
35n=function isMobileDevice(){var e,n=!1
36return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
36sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(n=!0),n}()
37var u=d.categoryName,v=d.filters,y=d.handleLoadFilters,h=d.handleOpenFilters,N=d.items,S=d.pageTitle,F=d.totalPagesFromData,E=Object(g.b)(z.a,e.classes),w=v?c.a.createElement("div",{className:E.headerButtons},c.a.createElement("button",{className:E.filterButton,onClick:h,onFocus:y,onMouseOver:y,type:"button"},c.a.createElement("span",null,c.a.createElement(k.a,{icon:b.h})),c.a.createElement("span",{className:"ml-3"},t("Filter"))),c.a.createElement(D.a,{sortControl:s})):null,x=v?c.a.createElement(q,{filters:v}):null,_=v&&0==n?c.a.createElement(M,{filters:v}):null,P=0===F?c.a.createElement(I,{categoryId:a}):c.a.createElement(l.Fragment,null,c.a.createElement("section",{className:E.gallery+" d-flex"},c.a.createElement("div",{className:E.filters_wrapper},_),c.a.createElement("div",{className:E.gallery_wrapper},c.a.createElement(B.a,{items:N}),c.a.createElement("div",{className:E.pagination},c.a.createElement(T.a,{pageControl:r})))))
38return c.a.createElement(l.Fragment,null,c.a.createElement("div",{className:"container "+E.category_wrapper},c.a.createElement(j.a,{categoryId:a}),c.a.createElement(C.d,null,S),i&&i.category&&i.category.image&&c.a.createElement("div",{className:z.a.category_image},c.a.createElement("img",{src:i.category.image,alt:"cat-img"})),c.a.createElement("h1",{className:E.title},c.a.createElement("div",{className:E.categoryTitle},u)),i&&i.category&&i.category.description&&c.a.createElement("div",{className:z.a.category_description},c.a.createElement(R.a,{html:i.category.description})),c.a.createElement("article",null,c.a.createElement("div",{className:E.category_header},w),P,c.a.createElement(l.Suspense,{fallback:null},x))))},G=Q
39Q.propTypes={sortControl:Object(d.shape)({currentSort:Object(d.shape)({setSortDirection:d.string,sortAttribute:d.string}),setSort:d.func.isRequired}),classes:Object(d.shape)({filterContainer:d.string,gallery:d.string,headerButtons:d.string,pagination:d.string,root:d.string,title:d.string})}
40var $=t("Q2Pa"),J=t("zfrG"),Y=t.n(J),H=t("6nPA"),K=t.n(H),W=function Category(e){var n=e.id,t=e.pageSize,a=Object(g.b)(z.a,e.classes),r=Object(u.a)(),d=o()(r,2),p=d[0],f=d[1],k=p.currentPage,b=p.totalPages,y=f.setCurrentPage,h=f.setTotalPages,N=Object(l.useState)({sortAttribute:"price",sortDirection:"ASC"}),S=o()(N,2),F=S[0],E=S[1],w=F.sortAttribute,x=F.sortDirection,_={currentSort:F,setSort:E},O={currentPage:k,setPage:y,totalPages:b},P=Object(m.b)(Y.a),I=o()(P,2),j=I[0],B=I[1],D=B.loading,T=B.error,L=B.data,R=Object(s.h)().search,A=Object(l.useRef)(R),V=Object(m.d)(K.a),q=V.data,M=V.error
41Object(l.useEffect)(function(){},[M])
42var Q=Object(l.useMemo)(function(){var e=new Map
43return q&&q.__type.inputFields.forEach(function(n){var t=n.name,a=n.type
44e.set(t,a.name)}),e},[q])
45Object(l.useEffect)(function(){if(Q.size){var e=Object($.c)(R),a={}
46e.forEach(function(e,n){a[n]=Object($.b)(e,Q.get(n))}),a.category_id={eq:String(n)},j({variables:{currentPage:Number(k),id:Number(n),filters:a,onServer:!1,pageSize:Number(t),sort:i()({},String(w),String(x))}}),window.scrollTo({left:0,top:0,behavior:"smooth"})}},[k,Q,n,t,j,R,w,x])
47var J=L?L.products.page_info.total_pages:null
48if(Object(l.useEffect)(function(){return h(J),function(){h(null)}},[h,J]),Object(l.useEffect)(function(){T&&!D&&1!==k&&y(1)},[k,T,D,y]),Object(l.useEffect)(function(){var e=new URLSearchParams(A.current),n=new URLSearchParams(R)
49e.delete("page"),n.delete("page"),e.toString()!=n.toString()&&(y(1),A.current=R)},[A,R,y]),T&&1===k&&!D)return c.a.createElement("div",null,"Data Fetch Error")
50if(null===J)return v.a
51var H=window.location.href,W="el_GR"
52"el"==window.localStorage.getItem("i18nextLng")?W="el_GR":"en"==window.localStorage.getItem("i18nextLng")&&(W="en_EN")
53var Z=L&&L.category&&L.category.image?L.category.image:"https://theroasters.gr/venia-static/icons/theroasters_square_512.png",U=window.location.hostname,X=(L&&L.category&&L.category.meta_title?L.category.meta_title:L.category.name)+"- The Roasters",ee=L&&L.category&&L.category.meta_description
54return c.a.createElement(c.a.Fragment,null,c.a.createElement(C.d,null,X),c.a.createElement(C.c,{name:"robots",content:"INDEX,FOLLOW"}),c.a.createElement(C.c,{name:"description",content:ee}),c.a.createElement(C.b,{rel:"canonical",href:H}),c.a.createElement(C.c,{name:"og:locale",content:W}),c.a.createElement(C.c,{name:"og:type",content:"Website"}),c.a.createElement(C.c,{property:"og:image",content:Z}),c.a.createElement(C.c,{name:"og:title",content:X}),c.a.createElement(C.c,{name:"og:description",content:ee}),c.a.createElement(C.c,{name:"og:url",content:H}),c.a.createElement(C.c,{name:"og:site_name",content:U}),c.a.createElement(C.c,{name:"twitter:card",content:"summary_large_image"}),c.a.createElement(C.c,{name:"twitter:description",content:ee}),c.a.createElement(C.c,{name:"twitter:title",content:X}),c.a.createElement(C.c,{name:"twitter:image",content:Z}),c.a.createElement(C.c,{name:"twitter:site",content:U}),c.a.createElement(C.c,{name:"twitter:url",content:H}),c.a.createElement(G,{categoryId:n,classes:a,data:D?null:L,pageControl:O,sortControl:_}))}
55W.propTypes={classes:Object(d.shape)({gallery:d.string,root:d.string,title:d.string}),id:d.number,pageSize:d.number},W.defaultProps={id:3,pageSize:12}
56var Z=W
57t.d(n,"default",function(){return Z})}
57,F2ON:function(e,n,t){(n=e.exports=t("PBB4")(!1)).push([e.i,".breadcrumbs-root-1rJ {\n\tfont-size: 0.875rem;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n    margin-bottom: 20px;\n    padding-top:20px;\n}\n\n.breadcrumbs-text-2Gc {\n    padding: 0.25rem;\n   font-size: 13px;\n   color:#333;\n}\n\n.breadcrumbs-divider-3pI {\n}\n\n.breadcrumbs-link-3bE {\n    text-decoration: none;\n    font-size: 13px;\n    color:var(--ced-orange-color-theme);\n}\n\n.breadcrumbs-currentCategory-2lE {\n}\n",""]),n.locals={root:"breadcrumbs-root-1rJ",text:"breadcrumbs-text-2Gc",divider:"breadcrumbs-divider-3pI breadcrumbs-text-2Gc",link:"breadcrumbs-link-3bE breadcrumbs-text-2Gc",currentCategory:"breadcrumbs-currentCategory-2lE breadcrumbs-text-2Gc"}},Jl6z:function(e,n,t){"use strict"
58t.d(n,"a",function(){return a})
59t("ERkP")
60var a=function getSearchParam(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location
61return new URLSearchParams(n.search).get(e)||""}},M9qB:function(e,n,t){(n=e.exports=t("PBB4")(!1)).push([e.i,".noProductsFound-root-2SV {\n    align-items: center;\n    display: flex;\n    flex-direction: column;\n    height: 100vh;\n    justify-content: center;\n}\n\n.noProductsFound-title-2h_ {\n    font-size: 20px;\n    font-weight: 600;\n    text-align: center;\n}\n\n.noProductsFound-categories-1p2 {\n    margin-top: 2rem;\n    text-align: center;\n}\n\n.noProductsFound-list-3oE {\n    margin-top: 1rem;\n}\n\n.noProductsFound-listItem-LYF {\n    text-align: center;\n    display: inline-block;\n    padding: 10px;\n}\n.noProductsFound-listItem-LYF a{\n    color: var(--ced-orange-color-theme);\n}\n\n.noProductsFound-listItem-LYF:not(:last-child) {\n    margin-bottom: 0.5rem;\n}\n\n.noProductsFound-imageContainer-3kj {\n    margin-bottom: 2rem;\n}\n\n.noProductsFound-image-2os {\n    height: 200px;\n    width: 200px;\n    max-width: 200px;\n}\n",""]),n.locals={root:"noProductsFound-root-2SV",title:"noProductsFound-title-2h_",categories:"noProductsFound-categories-1p2",list:"noProductsFound-list-3oE",listItem:"noProductsFound-listItem-LYF",imageContainer:"noProductsFound-imageContainer-3kj",image:"noProductsFound-image-2os"}},Q02R:function(e,n,t){"use strict"
62var a=t("ERkP"),i=t.n(a),r=t("aWzz"),o=t("daAW"),l=t("rTAJ"),c=t("1U1M"),s=function sortCrumbs(e,n){return e.category_level>n.category_level},d=function getPath(e,n){return e?"/".concat(e).concat(n):"#"},m=t("dCLW"),u=t.n(m),g=t("cu+j"),v=t("t1ZI"),p=t.n(v),f=t("Tr4L"),k=t("+I9A"),b=function Breadcrumbs(e){var n=Object(g.b)(p.a,e.classes),t=Object(f.a)().t,r=e.categoryId,m=e.currentProduct,v=e.cmspage,b=function useBreadcrumbs(e){var n=e.categoryId,t=e.query,i=Object(c.d)(t,{variables:{category_id:n}}),r=i.data,o=i.loading,l=i.error,m=r&&r.storeConfig.category_url_suffix||".html",u=Object(a.useMemo)(function(){if(!o&&r){var e=r.category.breadcrumbs
63return e&&e.sort(s).map(function(e){return{text:e.category_name,path:d(e.category_url_path,m)}})}},[m,r,o])
64return{currentCategory:r&&r.category.name||"",currentCategoryPath:r&&"".concat(r.category.url_path).concat(m)||"#",isLoading:o,hasError:!!l,normalizedData:u||[]}}({categoryId:r,query:u.a}),y=b.currentCategory,h=b.currentCategoryPath,N=b.hasError,S=b.isLoading,F=b.normalizedData,E=Object(a.useMemo)(function(){return F.map(function(e){var t=e.text,r=e.path
65return i.a.createElement(a.Fragment,{key:t},i.a.createElement("span",{className:n.divider},"/"),i.a.createElement(o.b,{className:n.link,to:Object(l.a)(r)},t))})},[n.divider,n.link,F])
66if(S||N)return i.a.createElement("div",{className:n.root})
67i.a.createElement(k.JSONLD,null,i.a.createElement(k.Generic,{type:"BreadcrumbList",jsonldtype:"BreadcrumbList"},i.a.createElement(k.GenericCollection,{type:"itemListElement"},i.a.createElement(k.Generic,{type:"ListItem",jsonldtype:"itemListElement",schema:(t("Home"),{item:"/"})}),i.a.createElement(k.Generic,{type:"ListItem",jsonldtype:"itemListElement",schema:{item:"https://example.com/books-test"}}))))
68var w=m?i.a.createElement(o.b,{className:n.link,to:Object(l.a)("/"+h)},y):i.a.createElement("span",{className:n.currentCategory},"Root Catalog"==y||"Brands"==y?"":y),x=(v&&i.a.createElement(a.Fragment,null,i.a.createElement("span",{className:n.divider},"/"),i.a.createElement("span",{className:n.text},v)),m?i.a.createElement(a.Fragment,null,i.a.createElement("span",{className:n.divider},"/"),i.a.createElement("span",{className:n.text},m)):null)
69return i.a.createElement("div",{className:n.root},i.a.createElement(o.b,{className:n.link,to:"/"},t("Home")),E,i.a.createElement("span",{className:n.divider},"/"),w,x,v)}
70n.a=b
71b.propTypes={categoryId:r.number.isRequired,currentProduct:r.string}}
71,QsSk:function(e,n,t){(n=e.exports=t("PBB4")(!1)).push([e.i,".pagination-root-3JA {\n    display: grid;\n    grid-auto-columns: 1.75rem;\n    grid-template-rows: 1fr;\n    grid-column-gap: 0.25rem;\n    justify-content: center;\n    padding-top: 1rem;\n    padding-bottom: 1rem;\n    background-color: white;\n    border-top: 1px solid #ccc;\n    text-align: center;\n}\n",""]),n.locals={root:"pagination-root-3JA"}},R6Jn:function(e,n,t){(n=e.exports=t("PBB4")(!1)).i(t("+Ol4"),""),n.push([e.i,".navButton-buttonArrow-11l {\n    display: grid;\n    padding-bottom: 1px;\n}\n\n.navButton-buttonInactive-3c0 {\n    color: #999;\n}\n",""]),n.locals={buttonArrow:"navButton-buttonArrow-11l "+t("+Ol4").locals.button,buttonInactive:"navButton-buttonInactive-3c0 navButton-buttonArrow-11l "+t("+Ol4").locals.button}},Ux6h:function(e,n,t){var a=t("M9qB")
72"string"==typeof a&&(a=[[e.i,a,""]])
73var i={hmr:!0,transform:void 0,insertInto:void 0}
74t("cuK8")(a,i)
75a.locals&&(e.exports=a.locals)},XllH:function(e,n,t){"use strict"
76var a=t("ERkP"),i=t.n(a),r=t("aWzz"),o=t("cu+j"),l=t("sXrz"),c=t.n(l),s=t("shDZ"),d=t.n(s),m=function Tile(e){var n=e.isActive,t=e.number,r=e.onClick,l=Object(o.b)(d.a,e.classes),c=Object(a.useCallback)(function(){return r(t)},[r,t]),s=n?i.a.createElement("div",{className:l.marker}):null
77return i.a.createElement("button",{className:l.button,onClick:c},s,t)}
78m.propTypes={classes:Object(r.shape)({tileButton:r.string}),isActive:r.bool,number:r.number,onClick:r.func}
79var u=m,g=t("tQaH"),v=t.n(g),p=t("VrFO"),f=t.n(p),k=t("Y9Ll"),b=t.n(k),y=t("N+ot"),h=t.n(y),N=t("AuHH"),S=t.n(N),F=t("5Yy7"),E=t.n(F),w=t("KEM+"),x=t.n(w),_=t("/pvV"),O=t.n(_),P=t("Bg88"),I=t("ZEmi"),C=t("J4v7"),j=t("QGZS"),B=t("+kkJ"),D={Rewind:I.a,ChevronLeft:C.a,ChevronRight:j.a,FastForward:B.a},T={width:"19px",height:"19px"},L={fill:"#000"},z={fill:"#999"},R=function(e){function NavButton(){return f()(this,NavButton),h()(this,S()(NavButton).apply(this,arguments))}return E()(NavButton,e),b()(NavButton,[{key:"render",value:function render(){var e,n=this.props,t=n.classes,a=n.name,r=n.active,o=n.onClick,l=n.buttonLabel
80e=a.includes("Chevron")?{}:r?v()({},T,L):v()({},T,z)
81var c=r?t.buttonArrow:t.buttonInactive
82return i.a.createElement("button",{className:c,"aria-label":l,onClick:o},i.a.createElement(P.a,{src:D[a],attrs:e}))}}]),NavButton}(a.Component)
83x()(R,"defaultProps",{buttonLabel:"move to another page"})
84var A=Object(o.a)(O.a)(R),V={name:"Rewind",buttonLabel:"move to the first page"},q={name:"ChevronLeft",buttonLabel:"move to the previous page"},M={name:"ChevronRight",buttonLabel:"move to the next page"},Q={name:"FastForward",buttonLabel:"move to the last page"},G=function Pagination(e){var n=e.pageControl,t=n.currentPage,r=n.setPage,l=n.totalPages,s=function usePagination(e){var n=e.currentPage,t=e.setPage,i=e.totalPages,r=Object(a.useCallback)(function(e,n){var t=e-2
85return e<3?t=1:e>n-2&&(t=Math.max(n-4,1)),t},[])
86return{handleLeftSkip:Object(a.useCallback)(function(){var e=r(n,i),a=Math.max(1,e-3)
87t(a)},[n,r,t,i]),handleRightSkip:Object(a.useCallback)(function(){var e=r(n,i),a=Math.min(i,e+4+3)
88t(a)},[n,r,t,i]),handleNavBack:Object(a.useCallback)(function(){n>1&&t(n-1)},[n,t]),handleNavForward:Object(a.useCallback)(function(){n<i&&t(n+1)},[n,t,i]),isActiveLeft:1!==n,isActiveRight:n!==i,tiles:Object(a.useMemo)(function(){for(var e=[],t=Math.min(4,i-1),a=r(n,i),o=a;o<=a+t;o++){var l=o
89e.push(l)}return e},[n,r,i])}}({currentPage:t,setPage:r,totalPages:l}),d=s.handleLeftSkip,m=s.handleRightSkip,g=s.handleNavBack,v=s.handleNavForward,p=s.isActiveLeft,f=s.isActiveRight,k=s.tiles,b=Object(a.useMemo)(function(){return k.map(function(e){return i.a.createElement(u,{isActive:e===t,key:e,number:e,onClick:r})})},[t,k,r])
90if(1===l)return null
91var y=Object(o.b)(c.a,e.classes)
92return i.a.createElement("div",{className:y.root},i.a.createElement(A,{name:V.name,active:p,onClick:d,buttonLabel:V.buttonLabel}),i.a.createElement(A,{name:q.name,active:p,onClick:g,buttonLabel:q.buttonLabel}),b,i.a.createElement(A,{name:M.name,active:f,onClick:v,buttonLabel:M.buttonLabel}),i.a.createElement(A,{name:Q.name,active:f,onClick:m,buttonLabel:Q.buttonLabel}))}
93G.propTypes={classes:Object(r.shape)({root:r.string}),pageControl:Object(r.shape)({currentPage:r.number,setPage:r.func,totalPages:r.number}).isRequired}
94n.a=G},YCM5:function(e,n,t){"use strict"
95t.d(n,"a",function(){return c})
96var a=t("ddV6"),i=t.n(a),r=t("ERkP"),o=t("zCf4"),l=t("Jl6z"),c=function usePagination(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.namespace,t=void 0===n?"":n,a=e.parameter,c=void 0===a?"page":a,s=e.initialTotalPages,d=void 0===s?1:s,m=Object(o.g)(),u=Object(o.h)(),g=Object(r.useState)(d),v=i()(g,2),p=v[0],f=v[1],k=t?"".concat(t,"_").concat(c):c,b=e.initialPage||1,y=parseInt(Object(l.a)(k,u)),h=Object(r.useCallback)(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
97!function setQueryParam(e){var n=e.history,t=e.location,a=e.parameter,i=e.replace,r=e.value,o=t.search,l=new URLSearchParams(o)
98l.set(a,r)
99var c={search:l.toString()}
100i?n.replace(c):n.push(c)}({history:m,location:u,parameter:k,replace:n,value:e})},[m,u,k])
101return Object(r.useEffect)(function(){y||h(b,!0)},[y,b,h]),[{currentPage:y||b,totalPages:p}
101,Object(r.useMemo)(function(){return{setCurrentPage:h,setTotalPages:f}},[h,f])]}},bZDB:function(e,n,t){(n=e.exports=t("PBB4")(!1)).push([e.i,".category-root-z-m {\n  padding: 1rem;\n}\n\n.category-title-STY {\n  font-size: 1.5rem;\n  font-weight: 400;\n  padding: 0 0.5rem;\n}\n.category-category_header-25n {\n  display: flex;\n  justify-content:flex-end;\n  align-items: flex-end;\n  flex-wrap: wrap;\n}\n.category-filters_wrapper-3Q3 {\n  flex: 0 0 25%;\n  min-width: 25%;\n  margin-right: 15px;\n}\n.category-gallery_wrapper-g7c {\n  flex: 0 0 74%;\n  min-width: 74%;\n}\n.category-pagination-1h_ {\n  position: sticky;\n  bottom: 0;\n}\n\n.category-placeholder-33K {\n  height: 100vh;\n}\n\n.category-headerButtons-wEL {\n  display: flex;\n  justify-content: center;\n  padding-bottom: 1.5rem;\n}\n\n.category-filterButton-2kH {\n  padding: 0.5rem;\n  margin-left: 0.5rem;\n  margin-right: 0.5rem;\n  width: 9rem;\n  border: 1px solid black;\n  border-radius: 100px;\n  color: black;\n  outline: none;\n  display: none;\n}\n.category-filter_icon-3vq {\n  margin-right: 5px;\n}\n.category-category_image-2T0 {\n  margin-bottom: 25px;\n}\n.category-category_image-2T0 img {\n  width: 100%;\n}\n.category-categoryTitle-1C5 {\n  color: rgb(var(--venia-text));\n  padding-bottom: 1.5rem;\n  font-size: 1.375rem;\n  font-weight: 300;\n  line-height: 1.375rem;\n}\n.category-heading_filter-RIF {\n  display: flex;\n  padding: 20px 0px;\n  align-items: baseline;\n}\n.category-heading_filter-RIF .category-title-STY {\n  flex: auto;\n  display: flex;\n}\n\n@media (max-width: 767px) {\n  .category-root-z-m,\n  .category-title-STY {\n    padding: 0;\n  }\n  .category-filterButton-2kH {\n    display: block;\n    flex: 0 0 45% !important;\n    max-width: 45%;\n    margin: 0;\n  }\n  .category-filters_wrapper-3Q3 {\n    display: none;\n  }\n  .category-gallery_wrapper-g7c {\n    flex: 0 0 100%;\n    min-width: 100%;\n  }\n  .category-category_header-25n {\n    align-items: center;\n  }\n}\n",""]),n.locals={root:"category-root-z-m",title:"category-title-STY",category_header:"category-category_header-25n",filters_wrapper:"category-filters_wrapper-3Q3",gallery_wrapper:"category-gallery_wrapper-g7c",pagination:"category-pagination-1h_",placeholder:"category-placeholder-33K",headerButtons:"category-headerButtons-wEL",filterButton:"category-filterButton-2kH",filter_icon:"category-filter_icon-3vq",category_image:"category-category_image-2T0",categoryTitle:"category-categoryTitle-1C5",heading_filter:"category-heading_filter-RIF"}},cvgd:function(e,n,t){(n=e.exports=t("PBB4")(!1)).push([e.i,".categorySortItem-menuItemButton-TZu {\n    width: 100%;\n    text-align: left;\n    padding: 0.75rem 0.25rem;\n    display: flex;\n    justify-content: space-between;\n    flex-wrap: nowrap;\n}\n\n.categorySortItem-menuItemText-2uR {\n    white-space: nowrap;\n    padding-right: 0.5rem;\n}\n\n.categorySortItem-activeIcon-2_L {\n    display: block;\n    width: 1rem;\n    height: 1rem;\n    background-color: var(--ced-orange-color-theme);\n    border-radius: 50%;\n    color: white;\n    padding-left: 1px;\n}\n",""]),n.locals={menuItemButton:"categorySortItem-menuItemButton-TZu",menuItemText:"categorySortItem-menuItemText-2uR",activeIcon:"categorySortItem-activeIcon-2_L"}},dCLW:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getBreadcrumbData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"category_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storeConfig"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_url_suffix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"category_id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"breadcrumbs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"category_level"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_url_path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_path"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:381}}
102t.loc.source={body:"query getBreadcrumbData($category_id: Int!) {\n    storeConfig {\n        id\n        category_url_suffix\n    }\n    category(id: $category_id) {\n        id\n        breadcrumbs {\n            # We may not need level if `breadcrumbs` is sorted.\n            category_level\n            category_name\n            category_url_path\n        }\n        id\n        name\n        url_path\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}}
103var a={}
104function findOperation(e,n){for(var t=0;t<e.definitions.length;t++){var a=e.definitions[t]
105if(a.name&&a.name.value==n)return a}}!function extractReferences(){t.definitions.forEach(function(e){if(e.name){var n=new Set
106!function collectFragmentReferences(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value)
107else if("VariableDefinition"===e.kind){var t=e.type
108"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){collectFragmentReferences(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){collectFragmentReferences(e,n)}),e.definitions&&e.definitions.forEach(function(e){collectFragmentReferences(e,n)})}(e,n),a[e.name.value]=n}})}(),e.exports=t,e.exports.getBreadcrumbData=function oneQuery(e,n){var t={kind:e.kind,definitions:[findOperation(e,n)]}
109e.hasOwnProperty("loc")&&(t.loc=e.loc)
110var i=a[n]||new Set,r=new Set,o=new Set
111for(i.forEach(function(e){o.add(e)});o.size>0;){var l=o
112o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var a=findOperation(e,n)
113a&&t.definitions.push(a)}),t}(t,"getBreadcrumbData")},epth:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getProductFiltersByCategory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"categoryIdFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FilterEqualTypeInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"products"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"category_id"},value:{kind:"Variable",name:{kind:"Name",value:"categoryIdFilter"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aggregations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attribute_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"options"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:321}}
114t.loc.source={body:"query getProductFiltersByCategory($categoryIdFilter: FilterEqualTypeInput!) {\n    products(filter: { category_id: $categoryIdFilter }) {\n        aggregations {\n            label\n            count\n            attribute_code\n            options {\n                label\n                value\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}}
115var a={}
116function findOperation(e,n){for(var t=0;t<e.definitions.length;t++){var a=e.definitions[t]
117if(a.name&&a.name.value==n)return a}}!function extractReferences(){t.definitions.forEach(function(e){if(e.name){var n=new Set
118!function collectFragmentReferences(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value)
119else if("VariableDefinition"===e.kind){var t=e.type
120"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){collectFragmentReferences(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){collectFragmentReferences(e,n)}),e.definitions&&e.definitions.forEach(function(e){collectFragmentReferences(e,n)})}(e,n),a[e.name.value]=n}})}(),e.exports=t,e.exports.getProductFiltersByCategory=function oneQuery(e,n){var t={kind:e.kind,definitions:[findOperation(e,n)]}
121e.hasOwnProperty("loc")&&(t.loc=e.loc)
122var i=a[n]||new Set,r=new Set,o=new Set
123for(i.forEach(function(e){o.add(e)});o.size>0;){var l=o
124o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var a=findOperation(e,n)
125a&&t.definitions.push(a)}),t}(t,"getProductFiltersByCategory")},ferN:function(e,n,t){e.exports=t.p+"noProductsFound-tfu.png"},ivv6:function(e,n,t){"use strict"
126var a=t("ERkP"),i=t.n(a),r=t("aWzz"),o=t("bvFB"),l=t("cu+j"),c=t("Bg88"),s=t("xStg"),d=t("Tr4L"),m=t
126("m7xQ"),u=t.n(m),g=function CategorySortItem(e){var n=e.onClick,t=e.sortItem,r=e.active,o=Object(l.b)(u.a,e.classes),m=Object(a.useCallback)(function(){n(t)},[t,n]),g=Object(d.a)().t,v=!0===r?i.a.createElement("span",{className:o.activeIcon},i.a.createElement(c.a,{src:s.a,size:14})):null
127return i.a.createElement("button",{className:o.menuItemButton,onClick:m},i.a.createElement("span",{className:o.menuItemText},g(t.text)),v)}
128g.propTypes={classes:Object(r.shape)({menuItemButton:r.string,menuItemText:r.string,activeIcon:r.string}),onClick:r.func,active:r.bool}
129var v=g,p=t("rPgM"),f=t.n(p),k=function CategorySort(e){var n=Object(l.b)(f.a),t=e.availableSortMethods,r=e.sortControl,c=r.currentSort,s=r.setSort,m=Object(o.a)(),u=m.elementRef,g=m.expanded,p=m.setExpanded,k=Object(a.useCallback)(function(e){s({sortAttribute:e.attribute,sortDirection:e.sortDirection}),p(!1)},[s,p]),b=Object(a.useMemo)(function(){if(!g)return null
130var e=Array.from(t,function(e){var t=e.attribute,a=e.sortDirection,r=c.sortAttribute===t&&c.sortDirection===a,o="".concat(t,"--").concat(a)
131return i.a.createElement("li",{key:o,className:n.menuItem},i.a.createElement(v,{sortItem:e,active:r,onClick:k}))})
132return i.a.createElement("div",{className:n.menu},i.a.createElement("ul",null,e))},[t,n.menu,n.menuItem,c.sortAttribute,c.sortDirection,g,k]),y=Object(d.a)().t
133return i.a.createElement("div",{ref:u,className:n.root},i.a.createElement("button",{onClick:function handleSortClick(){p(!g)},className:n.sortButton},y("Sort")),b)},b=Object(r.oneOf)(["ASC","DESC"])
134k.propTypes={availableSortMethods:Object(r.arrayOf)(Object(r.shape)({text:r.string,attribute:r.string,sortDirection:b})),sortControl:Object(r.shape)({currentSort:Object(r.shape)({sortAttribute:r.string,sortDirection:b}),setSort:r.func.isRequired})},k.defaultProps={availableSortMethods:[{text:"Best Match",attribute:"relevance",sortDirection:"DESC"},{text:"Price: Low to High",attribute:"price",sortDirection:"ASC"},{text:"Price: High to Low",attribute:"price",sortDirection:"DESC"}]}
135n.a=k},j8ey:function(e,n,t){(n=e.exports=t("PBB4")(!1)).push([e.i,".categorySort-root-1ru {\n    position: relative;\n}\n\n.categorySort-sortButton-3Ih {\n    margin-left: 0.5rem;\n    display: inline-block;\n    padding: 0.75rem 3.5rem;\n    border: 1px solid black;\n    border-radius: 3px;\n    color: black;\n    outline: none;\n    border-radius: 40px;\n}\n\n.categorySort-menu-1kC {\n    position: absolute;\n    z-index: 2;\n    top: 110%;\n    right: 0;\n    min-width: 10rem;\n    margin: 0.125rem 0 0;\n    font-size: 1rem;\n    color: black;\n    text-align: left;\n    list-style: none;\n    background-color: #fff;\n    background-clip: padding-box;\n    border: 1px solid rgb(var(--venia-grey-dark));\n    border-radius: 0.25rem;\n    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);\n}\n.categorySort-menu-1kC ul{\n    margin-bottom: 0;\n}\n.categorySort-menuItem-1ml {\n    padding: 0 0.5rem;\n    border-bottom: 1px solid rgb(var(--venia-grey-dark));\n    font-size: 14px;\n}\n\n.categorySort-menuItem-1ml:last-child {\n    border-bottom: none;\n}\n\n.categorySort-menuItem-1ml:hover {\n    background-color: rgb(var(--venia-grey));\n}\n",""]),n.locals={root:"categorySort-root-1ru",sortButton:"categorySort-sortButton-3Ih",menu:"categorySort-menu-1kC",menuItem:"categorySort-menuItem-1ml"}},m7xQ:function(e,n,t){var a=t("cvgd")
136"string"==typeof a&&(a=[[e.i,a,""]])
137var i={hmr:!0,transform:void 0,insertInto:void 0}
138t("cuK8")(a,i)
139a.locals&&(e.exports=a.locals)},rP2B:function(e,n,t){var a=t("bZDB")
140"string"==typeof a&&(a=[[e.i,a,""]])
141var i={hmr:!0,transform:void 0,insertInto:void 0}
142t("cuK8")(a,i)
143a.locals&&(e.exports=a.locals)},rPgM:function(e,n,t){var a=t("j8ey")
144"string"==typeof a&&(a=[[e.i,a,""]])
145var i={hmr:!0,transform:void 0,insertInto:void 0}
146t("cuK8")(a,i)
147a.locals&&(e.exports=a.locals)},sXrz:function(e,n,t){var a=t("QsSk")
148"string"==typeof a&&(a=[[e.i,a,""]])
149var i={hmr:!0,transform:void 0,insertInto:void 0}
150t("cuK8")(a,i)
151a.locals&&(e.exports=a.locals)},shDZ:function(e,n,t){var a=t("+Ol4")
152"string"==typeof a&&(a=[[e.i,a,""]])
153var i={hmr:!0,transform:void 0,insertInto:void 0}
154t("cuK8")(a,i)
155a.locals&&(e.exports=a.locals)},t1ZI:function(e,n,t){var a=t("F2ON")
156"string"==typeof a&&(a=[[e.i,a,""]])
157var i={hmr:!0,transform:void 0,insertInto:void 0}
158t("cuK8")(a,i)
159a.locals&&(e.exports=a.locals)},zfrG:function(e,n){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"category"}
159,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"currentPage"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"onServer"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ProductAttributeFilterInput"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sort"}},type:{kind:"NamedType",name:{kind:"Name",value:"ProductAttributeSortInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"category"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"product_count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta_title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta_keywords"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"products"},arguments:[{kind:"Argument",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"currentPage"},value:{kind:"Variable",name:{kind:"Name",value:"currentPage"}}},{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}},{kind:"Argument",name:{kind:"Name",value:"sort"},value:{kind:"Variable",name:{kind:"Name",value:"sort"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"media_gallery_entries"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"disabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"file"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"meta_title"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"onServer"}}}]}]},{kind:"Field",name:{kind:"Name",value:"meta_keyword"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"onServer"}}}]}]},{kind:"Field",name:{kind:"Name",value:"meta_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"regularPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"minimalPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stock_status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"small_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConfigurableProduct"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configurable_options"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"attribute_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attribute_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"default_label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"store_label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"use_default_value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value_index"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"variants"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value_index"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"product"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"media_gallery_entries"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"disabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"file"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stock_status"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"page_info"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total_pages"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"total_count"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1823}}
160t.loc.source={body:"query category($id: Int!, $pageSize: Int!, $currentPage: Int!, $onServer: Boolean!, $filters: ProductAttributeFilterInput!, $sort: ProductAttributeSortInput) {\n  category(id: $id) {\n    id\n    description\n    name\n    product_count\n    meta_title\n    meta_keywords\n    meta_description\n    image\n  }\n  products(pageSize: $pageSize, currentPage: $currentPage, filter: $filters, sort: $sort) {\n    items {\n      # Once graphql-ce/1027 is resolved, use a ProductDetails fragment here instead.\n      __typename\n      description {\n        html\n      }\n      id\n      media_gallery_entries {\n        id\n        label\n        position\n        disabled\n        file\n      }\n      meta_title @include(if: $onServer)\n      meta_keyword @include(if: $onServer)\n      meta_description\n      name\n      price {\n        regularPrice {\n          amount {\n            currency\n            value\n          }\n        }\n        minimalPrice {\n          amount {\n            currency\n            value\n          }\n        }\n      }\n      sku\n      stock_status\n      small_image {\n        url\n      }\n      url_key\n      ... on ConfigurableProduct {\n        configurable_options {\n          attribute_code\n          attribute_id\n          id\n          label\n          values {\n            default_label\n            label\n            store_label\n            use_default_value\n            value_index\n          }\n        }\n        variants {\n          attributes {\n            code\n            value_index\n          }\n          product {\n            id\n            media_gallery_entries {\n              id\n              disabled\n              file\n              label\n              position\n            }\n            sku\n            stock_status\n          }\n        }\n      }\n    }\n    page_info {\n      total_pages\n    }\n    total_count\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}}
161var a={}
162function findOperation(e,n){for(var t=0;t<e.definitions.length;t++){var a=e.definitions[t]
163if(a.name&&a.name.value==n)return a}}!function extractReferences(){t.definitions.forEach(function(e){if(e.name){var n=new Set
164!function collectFragmentReferences(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value)
165else if("VariableDefinition"===e.kind){var t=e.type
166"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){collectFragmentReferences(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){collectFragmentReferences(e,n)}),e.definitions&&e.definitions.forEach(function(e){collectFragmentReferences(e,n)})}(e,n),a[e.name.value]=n}})}(),e.exports=t,e.exports.category=function oneQuery(e,n){var t={kind:e.kind,definitions:[findOperation(e,n)]}
167e.hasOwnProperty("loc")&&(t.loc=e.loc)
168var i=a[n]||new Set,r=new Set,o=new Set
169for(i.forEach(function(e){o.add(e)});o.size>0;){var l=o
170o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var a=findOperation(e,n)
171a&&t.definitions.push(a)}),t}(t,"category")}}])

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.