PageSourceSearch

https://www.buscape.com.br/ais/_next/static/chunks/88851.a43d24f4d6982d5b.js

js buscape.com.br collected 2026-09-24 08:51:51 UTC 7,862 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[88851],{12214:function(e,t,n){"use strict";n.d(t,{ZP:function(){return i.ZP},lA:function(){return l}});var i=n(20804),o=n(99805);let l={setProducts:e=>({type:o.R.SET_PRODUCTS,payload:e}),clearProducts:()=>({type:o.R.CLEAR_PRODUCTS}),setPagination:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{type:o.R.SET_PAGINATION,payload:{totalPages:e,currentPage:t}}},updatePagination:(e,t)=>({type:o.R.UPDATE_PAGINATION,payload:{oldPage:e,newPage:t}}),setLoading:e=>({type:o.R.SET_LOADING,payload:e}),setError:e=>({type:o.R.SET_ERROR,payload:e}),resetState:()=>({type:o.R.RESET_STATE})},{setProducts:s,clearProducts:d,setPagination:a,updatePagination:r,setLoading:u,setError:c,resetState:I}=l;n(56323)},56323:function(e,t,n){"use strict";n.d(t,{Vc:function(){return s},Xp:function(){return o},Xu:function(){return a},by:function(){return d},ot:function(){return l}});var i=n(98059);let getVtexOffersState=e=>e.vtexOffers,o=(0,i.P1)([getVtexOffersState],e=>e.products),l=(0,i.P1)([getVtexOffersState],e=>e.pagination),s=(0,i.P1)([getVtexOffersState],e=>e.isLoading),d=(0,i.P1)([getVtexOffersState],e=>e.error),a=(0,i.P1)([o],e=>e.length>0);(0,i.P1)([o],e=>e.length),(0,i.P1)([d],e=>null!==e),(0,i.P1)([l],e=>e.prevButtonEnabled),(0,i.P1)([l],e=>e.nextButtonEnabled),(0,i.P1)([l],e=>e.totalPages>=2),(0,i.P1)([o,(e,t)=>t],(e,t)=>e.find(e=>e.id===t))},88851:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return CompetitivenessIndexRefinement_CompetitivenessIndexRefinement}});var i=n(14710),o=n(42081),l=n(43206),s=n.n(l),d=n(73884),a=n(39041),r=n(53060),u=n(87010),c=n(61171),I=n(46034),v=n(69459),m=n(56757),p=n(92824),_=n(85046),f=n(98904),g=n(39231),C=n(75946),x=n(78477),h=n.n(x),b=n(6329),y=n(83011),P=n(21028),R=n(30693),A=n(98155),k=n(40296),T=n(74418),E=n.n(T),N=(0,o.memo)(e=>{let{label:t,badgeType:n,description:l,selected:s,range:d={min:1},refinementId:a,count:r,scroll:u=!0,onClick:c}=e,I=(0,b.v9)(f.MU),v=!!s&&(null==s?void 0:s.min)===(null==d?void 0:d.min),m=(0,o.useMemo)(()=>(0,A.I)(I,a||"",{min:null==d?void 0:d.min},v),[d,a,I,v]);return(0,i.jsx)("li",{className:E().CompetitivenessIndexItem,children:(0,i.jsx)(h(),{href:m,prefetch:!1,scroll:u,legacyBehavior:!0,children:(0,i.jsx)("a",{onClick:()=>null==c?void 0:c(m,t,v),children:(0,i.jsxs)("div",{className:E().CompetitivenessIndexContainer,children:[(0,i.jsxs)("div",{className:E().BadgeTextContainer,children:[(0,i.jsx)(R.Z,{type:n,className:E().ItemFigure}),(0,i.jsxs)(P.Z,{modifier:"DesktopLabelXs",className:E().Description,children:[l," ",r&&(0,i.jsxs)(P.Z,{tag:"span",modifier:"DesktopLabelXs",className:E().ItemCount,children:["(",(0,k.Z)(r),")"]})]})]}),(0,i.jsx)(y.Z,{checked:v,className:E().Toggle})]})})})})}),L=n(48535),D=n.n(L);let Z={[a.k.DAILY_OFFER]:{description:"Produtos no melhor momento de compra, segundo nossa an\xe1lise de pre\xe7os.",analytics:"oferta-do-dia"},[a.k.BLACK_FRIDAY]:{description:"Produtos no melhor momento de compra, segundo nossa an\xe1lise de pre\xe7os.",analytics:"blackfriday"},[a.k.PRE_BLACK_FRIDAY]:{description:"Produtos no melhor momento de compra, segundo nossa an\xe1lise de pre\xe7os.",analytics:"esquenta-black"}},S=s()(()=>Promise.all([n.e(40532),n.e(68448)]).then(n.bind(n,68448)),{loadableGenerated:{webpack:()=>[68448]}});var CompetitivenessIndexRefinement_CompetitivenessIndexRefinement=e=>{var t,n,l,s,x,h,b,y,P,R,A,k,T,E,L;let{singleMode:O,position:B}=e,j=u.hb||u.zm||u.I9,F=(0,m.CG)(g.HQ),G=(0,m.CG)(v.dA),Y=(0,m.CG)(f.iG),H=(0,m.CG)(e=>(0,g.Hr)(e)),{setFilterOpened:V}=(0,o.useContext)(_.D),X=(0,m.CG)(g.E5),U=X((null==H?void 0:H.id)||""),{category:w,pagetype:M,search_term:K}=(0,p.ps)(),J=(0,o.useCallback)(()=>(null==G?void 0:G.enableBlackfridayBadge)?a.k.BLACK_FRIDAY:(null==G?void 0:G.enablePreBlackfridayBadge)?a.k.PRE_BLACK_FRIDAY:a.k.DAILY_OFFER,[G]),q=(0,o.useCallback)((e,t,n)=>{setTimeout(()=>{var e,t,i,o;(0,d.dispatch)((0,d.getGA4EventTemplate)({eventName:"filter",search_term:K,category:w,pagetype:M,area:"competitivenessIndex",option:(0,c.lV)(null!==(i=null==Z?void 0:null===(e=Z[J()])||void 0===e?void 0:e.analytics)&&void 0!==i?i:"")})),I.ZP.pushDataLayer({event_name:"select_filter_category",filter_category:"dropdown_filters",filter_title:null!==(o=null==Z?void 0:null===(t=Z[J()])||void 0===t?void 0:t.analytics)&&void 0!==o?o:"",f
1ilter_value:!n,position:null!=B?B:0}),(0,C.N)(!!Y)},0),V(!1)},[w,M,K]),z=!H||!(null==H?void 0:H.id)||!(null==H?void 0:H.label)||!(null==H?void 0:null===(l=H.ranges)||void 0===l?void 0:null===(n=l.buckets)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.nbHits)||(null==H?void 0:null===(h=H.ranges)||void 0===h?void 0:null===(x=h.buckets)||void 0===x?void 0:null===(s=x[0])||void 0===s?void 0:s.nbHits)<=0;return!j||z?null:(0,i.jsx)(S,{title:"Selos ".concat(r.Z.BRAND_NAME_CONTRACT),subtitle:U||"",closed:!1,skeletonSpacing:42,singleMode:O||!1,loading:F,children:(0,i.jsx)("ul",{className:D().List,children:(0,i.jsx)(N,{onClick:q,badgeType:J(),scroll:!Y,label:(null==H?void 0:H.label)||"",description:null!==(L=null==Z?void 0:null===(b=Z[J()])||void 0===b?void 0:b.description)&&void 0!==L?L:"",selected:null==H?void 0:null===(y=H.ranges)||void 0===y?void 0:y.selected,count:(null==H?void 0:null===(A=H.ranges)||void 0===A?void 0:null===(R=A.buckets)||void 0===R?void 0:null===(P=R[0])||void 0===P?void 0:P.nbHits)||0,refinementId:null==H?void 0:H.id,range:{min:null==H?void 0:null===(E=H.ranges)||void 0===E?void 0:null===(T=E.buckets)||void 0===T?void 0:null===(k=T[0])||void 0===k?void 0:k.min}},H.id||"")})})}},40296:function(e,t,n){"use strict";n.d(t,{Z:function(){return nbHitsFormatter}});let nbHitsFormatter=e=>e>=100?"+100":e.toString()},56757:function(e,t,n){"use strict";n.d(t,{TL:function(){return useAppDispatch},CG:function(){return ep}});var i=n(6329);n(42070);var o=n(55588),l=n(76719),s=n(70549),d=n(13558),a=n(42632),r=n(90235),u=n(4416),c=n(62803),I=n(6024),v=n(65058),m=n(70813),p=n(30161),_=n(97357),f=n(87151),g=n(13484),C=n(78042),x=n(72672),h=n(11080),b=n(67627),y=n(17210),P=n(1086),R=n(13399),A=n(69628),k=n(8640),T=n(99225),E=n(7779),N=n(12221),L=n(62543),D=n(25697),Z=n(24444),S=n(99361),O=n(57301),B=n(14750),j=n(16158),F=n(28114),G=n(74314),Y=n(62152),H=n(58422),V=n(12483),X=n(88494),U=n(12569),w=n(6740),M=n(12214),K=n(99805),J=n(60469),q=n(78977),z=n(93333),Q=n(61908),W=n(68511),$=n(20919),ee=n(26105),et=n(45294),en=n(59349),ei=n(28229),eo=n(49750),el=n(64394),es=n(60678),ed=n(26181),ea=n(62409),er=n(81730),eu=n(8665),ec=n(59479),eI=n(41410),ev=n(3542),em=n(70854);(0,o.UY)({sidebar:V.I,items:h.I,[Y.hA]:G.I,[ev.c]:ev.I,[j.tH]:j.I6,[L.dL]:N.I6,[R.N]:R.I,dynamicFacets:C.I,[d.rd]:d.I6,[Z.X]:Z.I,[x.e]:x.I,[er.j]:er.I,[u.AX]:u.I6,[ei.J]:ei.I,[$.F]:$.I,[eu.A]:eu.I,[O.B5]:O.I6,[z.Y6]:z.I6,[s.LC]:s.I6,[l.bO]:l.I6,[W.G]:Q.I,[P.U]:P.I,[D.Ad]:D.I6,[b.nZ]:b.I6,[H.q7]:H.I6,[w.J1]:w.I6,[g.x$]:g.I6,[J.M]:q.Z,[et.t]:et.I,[S.Sq]:S.I6,[ed.Ig]:ed.I6,[_.g]:f.Z,[y.By]:y.I6,[m.nZ]:m.I6,[r.AU]:r.I6,[B.kX]:B.I6,[c.k_]:c.I6,[ea.n]:ea.I,[ec.w]:ec.I,[F.xV]:F.I6,[en.d]:en.I,[ee.y]:ee.I,[eo.v]:eo.I,[em.p]:em.I,[el.d]:es.Z,[A.jZ]:A.I6,[eI.GS]:eI.I6,[T._]:E.Z,[a.Tc]:a.I6,[K.N]:M.ZP,[U.F]:X._e,[p.a]:p.I,[I.s]:v.Z,[k.gi]:k.I6});let useAppDispatch=()=>(0,i.I0)(),ep=i.v9},74418:function(e){e.exports={highlightLayout:"CompetitivenessIndexItem_highlightLayout__Y0CWz",CompetitivenessIndexItem:"CompetitivenessIndexItem_CompetitivenessIndexItem__KvdmR",CompetitivenessIndexContainer:"CompetitivenessIndexItem_CompetitivenessIndexContainer__w1R_I",BadgeTextContainer:"CompetitivenessIndexItem_BadgeTextContainer__CiZ0m",Description:"CompetitivenessIndexItem_Description__rCrIX",ItemCount:"CompetitivenessIndexItem_ItemCount__glu6J",Toggle:"CompetitivenessIndexItem_Toggle__ndOfJ"}},48535:function(e){e.exports={List:"CompetitivenessIndexRefinement_List__zOMRy"}}}]);

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.