(window.webpackJsonpvtex_search_result_3_136_1=window.webpackJsonpvtex_search_result_3_136_1||[]).push([[11],{10:function(e,t,r){e.exports={container:"vtex-search-result-3-x-container",buttonShowMore:"vtex-search-result-3-x-buttonShowMore",filterTitleSpan:"vtex-search-result-3-x-filterTitleSpan",clearAllFilters:"vtex-search-result-3-x-clearAllFilters",switch:"vtex-search-result-3-x-switch",breadcrumb:"vtex-search-result-3-x-breadcrumb",richTitle:"vtex-search-result-3-x-richTitle",filters:"vtex-search-result-3-x-filters",filter__container:"vtex-search-result-3-x-filter__container",resultGallery:"vtex-search-result-3-x-resultGallery",gallery:"vtex-search-result-3-x-gallery",galleryTitle:"vtex-search-result-3-x-galleryTitle",filterPopupButton:"vtex-search-result-3-x-filterPopupButton",accordionFilter:"vtex-search-result-3-x-accordionFilter",filterAccordionItemBox:"vtex-search-result-3-x-filterAccordionItemBox",filterAccordionBreadcrumbs:"vtex-search-result-3-x-filterAccordionBreadcrumbs",filterButtonsBox:"vtex-search-result-3-x-filterButtonsBox",filterPopupFooter:"vtex-search-result-3-x-filterPopupFooter",accordionFilterItemOptions:"vtex-search-result-3-x-accordionFilterItemOptions",dropdownMobile:"vtex-search-result-3-x-dropdownMobile",accordionFilterItemActive:"vtex-search-result-3-x-accordionFilterItemActive",totalProducts:"vtex-search-result-3-x-totalProducts",orderBy:"vtex-search-result-3-x-orderBy",filterPopupTitle:"vtex-search-result-3-x-filterPopupTitle",filterPopupArrowIcon:"vtex-search-result-3-x-filterPopupArrowIcon",filterPopup:"vtex-search-result-3-x-filterPopup",filterPopupOpen:"vtex-search-result-3-x-filterPopupOpen",filterPopupContent:"vtex-search-result-3-x-filterPopupContent",filterPopupContentContainer:"vtex-search-result-3-x-filterPopupContentContainer",filterPopupContentContainerOpen:"vtex-search-result-3-x-filterPopupContentContainerOpen",orderByOptionsContainer:"vtex-search-result-3-x-orderByOptionsContainer",orderByOptionItem:"vtex-search-result-3-x-orderByOptionItem",sidebar:"vtex-search-result-3-x-sidebar",filterTitle:"vtex-search-result-3-x-filterTitle",filterQuantityBadgeDefault:"vtex-search-result-3-x-filterQuantityBadgeDefault","filters--layout":"vtex-search-result-3-x-filters--layout","buttonShowMore--layout":"vtex-search-result-3-x-buttonShowMore--layout","galleryTitle--layout":"vtex-search-result-3-x-galleryTitle--layout","totalProducts--layout":"vtex-search-result-3-x-totalProducts--layout","orderBy--layout":"vtex-search-result-3-x-orderBy--layout","container--layout":"vtex-search-result-3-x-container--layout","notFound--layout":"vtex-search-result-3-x-notFound--layout",shippingActionButton:"vtex-search-result-3-x-shippingActionButton",scrim:"vtex-search-result-3-x-scrim"}},103:function(e,t,r){"use strict";r.r(t);var l=r(5),o=r.n(l),n=r(0),u=r.n(n),a=r(10),i=r.n(a),s=r(53),c=["delivery","pickup-all","pickup-in-point","pickup-nearby"];t.default=function(e){var t=e.breadcrumb,r=e.wrapperClass,l=void 0===r?i.a.galleryTitle:r,n=Object(s.a)(t||[],{matchFt:!0,fallbackToLastName:!0});return!n||c.includes(n)?null:u.a.createElement("h1",{className:o()(l,"t-heading-1")},n)}},24:function(e,t,r){"use strict";var l=r(0),o=Object(l.createContext)({lol:"a"});t.a=o},53:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var l=r(11),o=r(0),n=r(24);var u=function(e,t){if(function(e){return"b"===e[0]}(e))return 0;if(t){var r=e.findIndex((function(e){return"ft"===e}));if(r>=0)return r}var o=e.findIndex((function(e){return"productClusterIds"===e}));return o>=0?o:function(e){var t=Object(l.a)(e).reverse().findIndex((function(e){return"c"===e||e.startsWith("category-")}));return-1===t?t:e.length-1-t}(e)};function a(e,t){var r,l,a=Object(o.useContext)(n.a).map,i=Boolean(null==t?void 0:t.matchFt),s=Object(o.useMemo)((function(){if(!a)return-1;var e=a.split(",");return u(e,i)}),[a,i]),c="";return s>=0?c=null!==(r=function(e,t){var r;return null===(r=t[e])||void 0===r?void 0:r.name}(s,e))&&void 0!==r?r:"":(null==t?void 0:t.fallbackToLastName)&&(c=null!==(l=function(e){var t;if(0!==e.length)return null===(t=e[e.length-1])||void 0===t?void 0:t.name}(e))&&void 0!==l?l:""),Object(o.useMemo)((function(){try{return decodeURIComponent(c)}catch(e){return c}}),[c])}}}]);