1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2858],{9838:function(){},7531:function(e,t,n){var s=n(93665);n(9838);var i=n(38244),r=i&&"object"==typeof i&&"default"in i?i:{default:i};function a(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var o=void 0!==s&&s.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},c=function(){function e(e){var t=void 0===e?{}:e,n=t.name,s=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,r=void 0===i?o:i;u(l(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",u("boolean"==typeof r,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=r,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(u(l(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var s=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,s))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(s){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var s=this._tags[e];u(s,"old rule at index `"+e+"` not found"),s.textContent=t}return e},n.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},n.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&u(l(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(s,n):i.appendChild(s),s},a(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&a(e,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},h={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),s=e+n;return h[s]||(h[s]="jsx-"+d(e+"-"+n)),h[s]}function f(e,t){var n=e+t;return h[n]||(h[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[n]}var p=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,s=void 0===n?null:n,i=t.optimizeForSpeed,r=void 0!==i&&i;this._sheet=s||new c({name:"styled-jsx",optimizeForSpeed:r}),this._sheet.inject(),s&&"boolean"==typeof r&&(this._sheet.setOptimizeForSpeed(r),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),s=n.styleId,i=n.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var r=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=r,this._instancesCounts[s]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var s=this._fromServer&&this._fromServer[n];s?(s.parentNode.removeChild(s),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],s=e[1];return r.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,s=e.id;if(n){var i=m(s,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return f(i,e)}):[f(i,t)]}}return{styleId:m(s),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),x=i.createContext(null);x.displayName="StyleSheetContext";var _=r.default.useInsertionEffect||r.default.useLayoutEffect,v=new p;function y(e){var t=v||i.useContext(x);return t&&_(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},t.style=y},65313:function(e,t,n){"use strict";e.exports=n(7531).style},42858:function(e,t,n){"use strict";n.r(t);var s=n(74480),i=n(65313),r=n.n(i),a=n(38244),o=n(6991),l=n(32611),c=n(75031),u=n(23438),d=n(32189);t.default=function(){var e;let t=(0,o.useRouter)(),{data:n,isError:i,isSuccess:h,error:m}=(0,c.a)([d.RO],u.RE),f=(null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.filter(e=>(null==e?void 0:e.istopbrand)&&(null==e?void 0:e.topbrandlogo)&&(null==e?void 0:e.topbrandlogo.trim())!==""))||[],[p,x]=(0,a.useState)(!0);(0,a.useEffect)(()=>{let e=setTimeout(()=>x(!1),2e3);return()=>clearTimeout(e)},[]);let _=e=>{(null==e?void 0:e.brandPage)?t.push("/brandpage/".concat(e.brandPage)):t.push("/category/0?brandids=".concat(e.brandid))};return(0,s.jsxs)("div",{className:"jsx-f037f4c15896a051 font-hvd",children:[!p&&(0,s.jsx)(l.x,{className:"mxl:!text-3xl lg:!text-2xl sm:!text-xl font-hvd sm:leading-10 !text-sm font-semibold text-black mb-6",children:"Top Brands"}),(0,s.jsxs)("div",{className:"jsx-f037f4c15896a051 w-full overflow-hidden mt-5 relative",children:[f.length>5&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"jsx-f037f4c15896a051 absolute left-0 top-0 bottom-0 w-16 bg-gradient-to-r from-white to-transparent z-10"}),(0,s.jsx)("div",{className:"jsx-f037f4c15896a051 absolute right-0 top-0 bottom-0 w-16 bg-gradient-to-l from-white to-transparent z-10"})]}),(0,s.jsx)("div",{className:"jsx-f037f4c15896a051 "+"flex gap-x-6 ".concat(f.length>5?"animate-infinite-scroll":""),children:f.map(e=>(0,s.jsx)("div",{onClick:()=>_(e),className:"jsx-f037f4c15896a051 mxl:w-[220px] smm:w-[200px] w-[150px] mxl:h-[108px] lg:h-[100px] h-auto flex items-center justify-center cursor-pointer flex-shrink-0",children:(0,s.jsx)("img",{src:e.topbrandlogo,alt:e.brandname,className:"jsx-f037f4c15896a051 h-auto w-full object-contain"})},"first-".concat(e.brandid)))})]}),(0,s.jsx)(r(),{id:"f037f4c15896a051",children:"@-webkit-keyframes infinite-scroll{0%{-webkit-transform:translatex(0);transform:translatex(0)}100%{-webkit-transform:translatex(-50%);transform:translatex(-50%)}}@-moz-keyframes infinite-scroll{0%{-moz-transform:translatex(0);transform:translatex(0)}100%{-moz-transform:translatex(-50%);transform:translatex(-50%)}}@-o-keyframes infinite-scroll{0%{-o-transform:translatex(0);transform:translatex(0)}100%{-o-transform:translatex(-50%);transform:translatex(-50%)}}@keyframes infinite-scroll{0%{-webkit-transform:translatex(0);-moz-transform:translatex(0);-o-transform:translatex(0);transform:translatex(0)}100%{-webkit-transform:translatex(-50%);-moz-transform:translatex(-50%);-o-transform:translatex(-50%);transform:translatex(-50%)}}.animate-infinite-scroll.jsx-f037f4c15896a051{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-animation:infinite-scroll 40s linear infinite;-moz-animation:infinite-scroll 40s linear infinite;-o-animation:infinite-scroll 40s linear infinite;animation:infinite-scroll 40s linear infinite}.animate-infinite-scroll.jsx-f037f4c15896a051:hover{-webkit-animation-play-state:paused;-moz-animation-play-state:paused;
1-o-animation-play-state:paused;animation-play-state:paused}@media(max-width:768px){.animate-infinite-scroll.jsx-f037f4c15896a051{-webkit-animation-duration:45s;-moz-animation-duration:45s;-o-animation-duration:45s;animation-duration:45s}}"})]})}},32611:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var s=n(74480);function i(e){let{children:t,as:n,className:i,...r}=e;switch(i=i||"break-words",n=n||"span"){case"h1":return(0,s.jsx)("h1",{className:"".concat(i||""," text-5xl"),...r,children:t});case"h2":return(0,s.jsx)("h2",{className:"".concat(i||""," text-4xl font-bold capitalize text-black max-sm:text-lg sm:text-xl md:text-2xl lg:text-3xl"),...r,children:t});case"h3":return(0,s.jsx)("h3",{className:"".concat(i||""," text-2xl font-medium capitalize text-black max-md:text-base md:text-lg lg:text-xl "),...r,children:t});case"h4":return(0,s.jsx)("h4",{className:"".concat(i||""," font-normal text-black max-sm:text-sm sm:text-base lg:text-lg"),...r,children:t});case"h5":return(0,s.jsx)("h5",{className:"".concat(i||""," "),...r,children:t});case"p":return(0,s.jsx)("p",{className:"".concat(i||""," font-normal text-black max-sm:text-sm sm:text-base lg:text-lg"),...r,children:t});default:return(0,s.jsx)("span",{className:"".concat(i||""," text-black max-sm:text-sm sm:text-sm md:text-base"),...r,children:t})}}}}]);
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.