"use strict";(self.webpackChunkwebpackYWCASBlocksJsonp=self.webpackChunkwebpackYWCASBlocksJsonp||[]).push([[831],{146:(e,s,t)=>{t.r(s),t.d(s,{default:()=>h});var a=t(609),r=t(368),c=t.n(r),o=t(939),n=t(560),l=t(212),u=t(106);var i=t(956),g=t(135);const h=(0,i.n)(g.A)(e=>{const{className:s,showImage:t,showCategories:r,imageSize:i,maxResultsToShow:g,layout:h,noResults:m}=e,{query:p}=(0,u.$A)(),{results:k,isSearching:w,getCategories:y}=(0,n.$)({query:p,maxResults:g,showCategories:r,page:0}),{isLoading:d,categories:C}={isLoading:!1,categories:[]},S=c()("ywcas-search-results",s,h);return d||w?(0,a.createElement)(o.Spinner,{color:"default",size:"md",thickness:3.6}):(0,a.createElement)(o.Box,{className:S},!w&&k.totalResults>0?(0,a.createElement)(l.cM,{searchQuery:p,categoryList:C,results:k,...e}):(0,a.createElement)(o.Typography,null,m))})},956:(e,s,t)=>{t.d(s,{n:()=>c});var a=t(609),r=t(486);const c=e=>s=>t=>{const c=(0,r.N)(e,t);return(0,a.createElement)(s,{...t,...c})}}}]);