PageSourceSearch

https://www.ulta.com/ux/assets/js/ulta-modules-CategoryNav-CategoryNav-js.e99dab76.chunk.js

js ulta.com collected 2026-09-24 07:43:32 UTC 2,582 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[559],{26920:(e,t,a)=>{a.d(t,{Ay:()=>g});var l=a(55462),r=a(19115),o=a(47524),s=a(48567),n=a(15638);const c=function(e){const{action:t,navType:a,image:r,imageMetaData:c,allProductsLabel:m,shopAllLabel:g,label:d,customClassName:y}=e;if(!d&&!g&&!t&&!r)return null;const b=r?l.createElement(s.Ay,{aspectRatio:"1:1",src:r,metaData:c,shouldUseIntersectionObserver:!1}):void 0,p=i[a],u="brand"===a?"border-xsubtle":void 0,v=r?void 0:m,A=g||d;return l.createElement("div",{className:"CategoryCard"},l.createElement(n.Ay,{action:t},l.createElement(o.Ay,{externalMediaElement:b,backgroundColor:p,actionLabel:A,textOnlyLabel:v,borderColor:u,customClassName:y})))},i={category:"background-xsubtle",viewAll:"background-brand-02"},m={navType:r.oneOf(["category","viewAll","brand"]),label:r.string,image:r.string,shopAllLabel:r.string,description:r.string,allProductsLabel:r.string,action:r.object,customClassName:r.string};c.propTypes=m;const g=c},43478:(e,t,a)=>{a.r(t),a.d(t,{CategoryNav:()=>m,default:()=>y,defaultProps:()=>d,propTypes:()=>g});var l=a(55462),r=a(19115),o=a(86710),s=a(34237),n=a(52792),c=a(26920),i=a(57445);const m=e=>{const t=(0,l.useRef)(null),[a,r]=(0,l.useState)(""),{title:i,categories:m,shopAllLabel:g,shopAllAction:y,rootMargin:b=d.rootMargin,root:p=d.root,threshold:u=d.threshold}=e;(0,s.BL)(t,{root:p,rootMargin:b,threshold:u},(0,n.eP)(e));return(0,l.useEffect)(()=>{t.current&&r(t.current)},[]),l.createElement("div",{className:"CategoryNav",ref:t},l.createElement("div",{className:"CategoryNav__wrapper"},l.createElement("div",{className:"CategoryNav__content"},l.createElement("div",{className:"CategoryNav__header"},l.createElement(o.Ay,{textStyle:"title-6",htmlTag:"h2"},i)),l.createElement("ul",{className:"CategoryNav__list"},y&&g&&l.createElement("li",{className:"CategoryNav__list--item"},l.createElement(c.Ay,{navType:"viewAll",shopAllLabel:y?.label,allProductsLabel:g,action:y})),m?.length>0&&m.map((e,t)=>l.createElement("li",{className:"CategoryNav__list--item",key:t},l.createElement(c.Ay,{navType:"category",imageMetaData:{width:"300",height:"300"},action:{...e?.action},image:e?.image?.imageUrl,label:e?.action?.label,key:t})))))))},g={title:r.string,shopAllLabel:r.string,shopAllAction:r.shape({label:r.string,url:r.string}),categories:r.arrayOf(r.shape({image:r.object,action:r.object}))},d={...i.A.INTERSECTION_OBSERVER_OPTIONS};m.propTypes=g,m.defaultProps=d;const y=m}}]);
2//# sourceMappingURL=ulta-modules-CategoryNav-CategoryNav-js.e99dab76.chunk.js.map

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.