PageSourceSearch

https://www.maestro.io/static/js/chunks/884.2239e34.js

js maestro.io collected 2026-10-02 04:12:19 UTC 13,216 bytes, 151 lines download raw bytes

1(function(){try{var S=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},A=new S.Error().stack;A&&(S._sentryDebugIds=S._sentryDebugIds||{},S._sentryDebugIds[A]="72a07b68-ef3e-4876-bed0-ff1ccc39dbfd",S._sentryDebugIdIdentifier="sentry-dbid-72a07b68-ef3e-4876-bed0-ff1ccc39dbfd")}catch{}})();var _global=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};_global.SENTRY_RELEASE={id:"d0b2a86c2e49a10a9d9513a5bf665a7912e86753"},(self.webpackChunk_maestro_io_client=self.webpackChunk_maestro_io_client||[]).push([[884,2340],{602340:(S,A,a)=>{a.r(A),a.d(A,{default:()=>I});var P=a(224191),n=a.n(P),i=a(463302),N=a(472661),H=a(675824),U=a(785481),W=a(887944),B=a(365179),y=a(767738),j=a(300024),$=a(393982),k=a(869972);const r=m=>({activeIcon:(0,U.i7)(m),createdDate:(0,i.CV)(m),currentProfileImages:(0,B.JB8)(m),isContentStreamsEnabled:(0,$.mL)(m),isUserAdmin:(0,i.N6)(m),userAvatar:(0,U.dM)(m),userName:(0,U.J3)(m)}),K=(m,R)=>({onClosePanel:()=>m((0,N.Zv)()),onOpenPanel:()=>m((0,H.c4)()),onLogout:()=>{var D;m((0,N.Zv)()),m((0,y.sx)({event:j.n.ADMIN_LOGOUT,properties:{}})),m((0,i.je)()),(D=R.onLogout)==null||D.call(R)},trackEngage:(D,V)=>m((0,W.Qo)("engage",D,V))}),I=(0,P.connect)(r,K)(k.A)},250884:(S,A,a)=>{a.r(A),a.d(A,{default:()=>ot});var P=a(498685),n=a(63696),i=a(224191),N=a(400781),H=a(734630),U=a(887944),W=a(604970),B=a(619545),y=a(365179),j=a(64465),$=a(731694),k=a(881967),r=a(886550),K=a(283722),I=a(429195),m=a(545290);const R=r.Ay.div`
2  height: 44px;
3  width: 100%;
4  display: flex;
5  padding: 10px 20px;
6  z-index: 1;
7  position: fixed;
8`,D=r.Ay.div`
9  width: 100%;
10  position: fixed;
11  top: 0;
12  left: 0;
13${({betweenFramesAmount:e=0})=>e&&(0,r.AH)`
14    // Animation to make it appear gradually.
15    height: ${Math.min(e,44)}px;
16    animation: fadeIn 0.5s;
17    background: rgba(58, 58, 58, 0.32);
18    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
19    backdrop-filter: blur(11.6px);
20    -webkit-backdrop-filter: blur(11.6px);
21    border: 1px solid rgba(58, 58, 58, 0.02);
22  `}}
23`,V=r.Ay.img`
24  height: 24px;
25  width: auto;
26  position: fixed;
27  top: 10px;
28  left: 20px;
29`,rt=r.Ay.div`
30  display: flex;
31  align-items: center;
32  justify-content: center;
33  gap: 10px;
34`,lt=r.Ay.div`
35  align-items: center;
36  display: flex;
37  height: 100%;
38`,st=(0,r.Ay)(K.Ay).attrs(e=>({color:(0,I.SP6)(e),name:"menu"}))`
39  display: flex;
40`,it=r.Ay.div`
41  ${m.XF}
42  text-transform: uppercase;
43  color: ${I.SP6};
44`,se=r.Ay.div`
45  ${m._i}
46`,ct=r.Ay.div`
47  background: url(${e=>e.src});
48  background-position: center;
49  background-size: cover;
50  background-repeat: no-repeat;
51  border-radius: 24px;
52  height: 24px;
53  width: 24px;
54  margin-left: ${I.Xh2};
55  position: relative;
56`,ut=(0,r.Ay)(K.Ay).attrs(e=>({color:(0,I.mrt)(e),name:"panelsProfPicEllipse"}))`
57  position: absolute;
58  left: 0;
59  top: -0.5px;
60  & svg {
61    width: 26.5px;
62    height: 26px;
63  }
64`;var ie=Object.defineProperty,z=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,G=(e,o,t)=>o in e?ie(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,de=(e,o)=>{for(var t in o||(o={}))ce.call(o,t)&&G(e,t,o[t]);if(z)for(var t of z(o))ue.call(o,t)&&G(e,t,o[t]);return e};const ge=()=>{const e=(0,P.d4)(y.N0C),o=(0,P.d4)(y.gop),t=(0,P.d4)(y.ug1),l=(0,P.d4)(y.tdU),s=(0,P.d4)(y.bIQ),g=(0,P.d4)(y.pZJ),c=(0,P.d4)(j.ME),p=c?l:e,u=c?g:t,E=c?s:o,x=(0,P.d4)(y.nin),[M,f]=(0,n.useState)(0),d=p&&p!=="noimage",b=u?B.A:n.Fragment,O=u?{logoLink:u,plain:!0}:{};return(0,n.useEffect)(()=>{const v=document.getElementById(k.FO),C=()=>{v&&f(v.scrollTop)};if(v)return v.addEventListener("scroll",C),()=>{v.removeEventListener("scroll",C)}},[]),!x||!E&&!d?null:n.createElement(R,{id:$.T2},n.createElement(D,{betweenFramesAmount:M}),n.createElement(b,de({},O),d?n.createElement(V,{src:p}):n.createElement(se,null,E)))};var L=a(401618),X=a(747988),J=a(318946),F=a(463302),w=a(273277),Q=a(253251),ve=a(696105),me=a(199749);const Y=()=>{var e;const o=(0,i.useDispatch)(),t=(0,i.useSelector)(y.iYW),l=(0,i.useSelector)(y.i9f),s=(0,i.useSelector)(F.M3),g=(0,i.useSelector)(ve._F),c=(0,i.useSelector)(y.T29),p=(0,i.useSelector)(w.hV),u=(0,n.useMemo)(()=>(0,Q.CL)(p),[p]),E=((e=u?.parents)==null?void 0:e.length)>0||u?.externalLinks.length>0,x=(0,i.useSelector)(y.nin),M=(0,i.useSelector)(me.oY),f=!x&&!M.length,d=h=>{o((0,J.bD)(h))},b=()=>{o((0,J.bD)(null))},O=(0,n.useCallback)(()=>{b(),l||o((0,X.HC)({path:"/"}))},[l,o]),v=(0,n.useCallback)(()=>{d(s?"profileMenu":"loginMenu")},[s]),C=(0,n.useMemo)(()=>{const h={home:{active:!t&&l,onTap:O}
64,searchMenu:{active:t==="searchMenu",onTap:()=>t==="searchMenu"?b():d("searchMenu")},cartMenu:{active:!1,onTap:b},profileMenu:{active:t==="profileMenu"||t==="loginMenu",onTap:v}};return(!g||f)&&(h==null||delete h.cartMenu),(!c||!E)&&(h==null||delete h.searchMenu),h},[t,l,g,O,v,f]);return{activeMobileMenu:t,setMobileMenu:d,resetMobileMenu:b,mobileLayout:C}};var fe=a(785481),pe=a(681432);const he=({mobileMenu:e,onTap:o,isActive:t})=>{const l=(0,i.useSelector)(F.M3),s=(0,i.useSelector)(fe.dM),g=()=>{switch(e){case"searchMenu":return n.createElement(L.WI,{isActive:t});case"profileMenu":return l?n.createElement(L.Y3,{isActive:t,src:s}):n.createElement(L.n_,{isActive:t});case"home":return n.createElement(L.fA,{isActive:t});default:return null}},c=`mobileTabBar-${e}`;return e==="cartMenu"?n.createElement(L.BD,{onClick:o,"data-testid":c},n.createElement(pe.A,{mobile:!0})):n.createElement(L.BD,{onClick:o,"data-testid":c},g())},Ee=()=>{const{mobileLayout:e}=Y(),o=(0,n.useCallback)(()=>Object.keys(e).map((t,l)=>{const s=e[t];return n.createElement(he,{key:`tab-button-${l}`,isActive:s?.active,mobileMenu:t,onTap:s?.onTap})}),[e]);return n.createElement(L.TW,{id:$.pi},o())},ye=r.Ay.div`
65  height: 100vh;
66`,Me=r.Ay.div`
67  position: fixed;
68  top: 0;
69  left: 0;
70  z-index: 1;
71  margin-bottom: ${L.lI}px;
72`;var be=a(79321),Pe=a(816970);const xe=({onClose:e,containerRef:o,closeregionRef:t,padding:l=0})=>{const[s,g]=n.useState(0),[c,p]=n.useState(!1),u=async()=>{o.current&&(o.current.style.transform="translateY(100%)",o.current.style.transition="transform 0.3s ease",await(0,Pe.Mb)(300),e(),g(0),p(!1))},E=()=>{p(!0)},x=f=>{if(t.current){const{clientY:d}=f.touches[0];g(d-l)}},M=f=>{f.changedTouches[0].clientY-l>100?u():(g(0),p(!1))};return(0,n.useEffect)(()=>(t.current&&(t.current.addEventListener("touchstart",E),t.current.addEventListener("touchmove",x),t.current.addEventListener("touchend",M)),()=>{t.current&&(t.current.removeEventListener("touchstart",E),t.current.removeEventListener("touchmove",x),t.current.removeEventListener("touchend",M))}),[t.current]),{isCloseMarkActive:c,slidingDownValue:s}};var Ce=a(542396),Le=a(990220);const Ae=e=>e.length?e.map(o=>({id:o.id,name:o.name,slug:o.url,children:[],type:"channel"})):[];var Oe=a(59857),Se=a(934193),Te=a(39258),Ie=a(789069),T=a(438749),Z=a(152544);const De=r.Ay.div.attrs(({topPosition:e=0})=>({style:{top:`${e}px`}}))`
73  position: fixed;
74  left: 0;
75  bottom: 0;
76  right: 0;
77  display: flex;
78  flex-flow: column nowrap;
79  animation: fadeIn 0.5s;
80  background: rgba(20, 20, 20, ${({isSearchOpen:e})=>e?.8:.6});
81  20px, 20px, 0px, 0px
82
83  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
84  backdrop-filter: blur(12px);
85  -webkit-backdrop-filter: blur(12px);
86  border-top: 1px solid ${T.UE[0].colors.text300};
87  z-index: 2;
88  border-radius: 20px 20px 0px 0px;
89  margin-bottom: ${L.lI}px;
90`,Ne=r.Ay.div`
91  height: 30px;
92  display: flex;
93  align-items: center;
94  justify-content: center;
95`,Ue=r.Ay.div`
96  height: 4px;
97  width: 72px;
98  background-color: ${({isActive:e})=>e?T.UE[0].colors.highlightPrimary:T.UE[0].colors.highlightSecondary};
99`,Be=r.Ay.div`
100  display: flex;
101  flex-flow: column nowrap;
102  padding-inline: 20px;
103  height: 100%;
104  overflow-y: auto;
105`,q=(0,r.AH)`
106  display: flex;
107  flex-direction: row;
108  align-items: center;
109  width: 100%;
110  -webkit-tap-highlight-color: transparent;
111  &:focus,
112  &:active {
113    outline: none;
114    border: none;
115  }
116`,we=(0,r.Ay)(B.A)`
117  ${q}
118  height: 44px;
119`,$e=(0,r.Ay)(B.A)`
120  ${q}
121  padding-left: 30px;
122  min-height: 40px;
123`,_=(0,r.Ay)(Te.A).attrs(()=>({name:"arrowRight",color:T.UE[0].colors.text300}))``,ee=r.Ay.div`
124  width: 100%;
125  ${Z.lg}
126  color: ${T.UE[0].colors.text100};
127`,Ke=(0,r.Ay)(ee)`
128  width: 100%;
129  ${Z.f7}
130  color: ${Ie.IX.text300}
131    ${({isHighlighted:e})=>e&&(0,r.AH)`
132      color: ${T.UE[0].colors.text100};
133    `}
134`,Re=r.Ay.div`
135  margin: 0px 20px 25px 20px;
136  div:first-child {
137    div:first-child {
138      background-color: ${T.UE[0].colors.surface4};
139    }
140  }
141`;var He=Object.defineProperty,te=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,ne=(e,o,t)=>o in e?He(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,ke=(e,o)=>{for(var t in o||(o={}))We.call(o,t)&&ne(e,t,o[t]);if(te)for(var t of te(o))je.call(o,t)&&ne(e,t,o[t]);return e};const oe=({parent:e,onDismiss:o,isLink:t})=>{const l=(0,i.useDispatch)(),{resolvePath:s}=(0,Oe.wf)(),g=e.type==="folder",c=(0,i.useSelector)(w.Kk),p=(0,n.useMemo)(()=>!!e.name.toLowerCase().match(new RegExp(c.toLowerCase())),[e.name,c]),u=(0,n.useCallback)(async d=>{const b=await s(d);b&&(o&&o(),l((0,X.HC)({path:b})))},[l,o,s]),E=(0,n.useCallback)(()=>{g||u({id:e.id,slug:e.slug})},[g,e.id,e.slug,u]),x=(0,n.useCallback)(()=>e.children.map((d,b)=>{const O=()=>u({id:d.id,slug:d.slug}),v=!!d.name.toLowerCase().match(new RegExp(c.toLowerCase()));return n.createElement($e,{key:`${d.id}-${b}`,"data-testid":v?"mobile-child-navigation-item-matched":"mobile-child-navigation-item",onClick:O},n.createElement(Ke,{isHighlighted:d.name.toLowerCase().includes(c)},d.name),n.createElement(_,null))}),[e.children,u,c]),M=(0,n.useMemo)(()=>t&&(0,Se.FY)(e.slug)?e.slug:void 0,[t,e.slug]),f=(0,n.useMemo)(()=>t?{href:M,target:"_blank",rel:"noopener noreferrer",onClick:o}:{onClick:E},[t,M,o,E]);return n.createElement(n.Fragment,null,n.createElement(we,ke({"data-testid":p?"mobile-parent-navigation-item-matched":"mobile-parent-navigation-item"},f),n.createElement(ee,null,e.name),!g&&n.createElement(_,null)),x())};var Ve=Object.defineProperty,Fe=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,re=(e,o,t)=>o in e?Ve(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,Xe=(e,o)=>{for(var t in o||(o={}))ze.call(o,t)&&re(e,t,o[t]);if(ae)for(var t of ae(o))Ge.call(o,t)&&re(e,t,o[t]);return e},Je=(e,o)=>Fe(e,Ye(o));const Qe=20,Ze=({onClose:e})=>{const o=(0,i.useSelector)(w.hV),t=(0,n.useMemo)(()=>(0,Q.CL)(o),[o]),l=(0,i.useSelector)(w.Kk),s=(0,i.useSelector)(F.M3),{setMobileMenu:g}=Y(),c=(0,i.useDispatch)(),p=n.useRef(null),u=n.useRef(null),E=(0,n.useCallback)(()=>{g(s?"profileMenu":"loginMenu")},[s]),{isCloseMarkActive:x,slidingDownValue:M}=xe({onClose:e,closeregionRef:p,containerRef:u,padding:Qe}),f=(0,n.useMemo)(()=>
141{if(l==="")return t;const v=t.parents.filter(h=>!!(h.name.toLowerCase().includes(l.toLowerCase())||h.children&&h.children.filter(at=>!!at.name.toLowerCase().includes(l.toLowerCase())).length>0)),C=t.externalLinks.filter(h=>!!h.name.toLowerCase().includes(l.toLowerCase()));return Je(Xe({},t),{parents:v,externalLinks:C})},[t,l]),d=v=>{c((0,w.Uz)(v.target.value))},b=(0,n.useCallback)(()=>f&&f.parents&&f.parents.length>0?f.parents.map((C,h)=>n.createElement(oe,{key:h,onDismiss:e,parent:C})):null,[f,e]),O=(0,n.useCallback)(()=>{const{externalLinks:v}=f;return v&&v.length>0?Ae(v).map((C,h)=>n.createElement(oe,{key:h,isLink:!0,onDismiss:e,parent:C})):null},[f,e]);return n.createElement(De,{ref:u,isSearchOpen:l!=="",topPosition:M},n.createElement(Ne,{ref:p},n.createElement(Ue,{isActive:x})),n.createElement(Re,null,n.createElement(be.A,{height:30,onChange:d,padding:"0",searchPlaceholderKey:"SEARCH_ALL_PAGES",short:!0,testIdSearchInput:"siteNavigationSearchInput",value:l})),n.createElement(Be,null,n.createElement(n.Fragment,null,b()),n.createElement(n.Fragment,null,O())),Le.Qh&&!s&&n.createElement(Ce.A,{onClick:E}))};var qe=a(362688),_e=a.n(qe),et=a(602340);const tt=r.Ay.div`
142  position: fixed;
143  top: 0;
144  left: 0;
145  bottom: 0;
146  z-index: 3;
147  width: 100vw;
148  display: flex;
149  flex-flow: column nowrap;
150  ${m.bo};
151`,le=({onClose:e})=>{const o={data:{kind:"profile"}};return n.createElement(tt,null,n.createElement(et.default,{doc:o,onClosePanelMobile:e}))};le.propTypes={onClose:_e().func.isRequired};const nt=le,ot=()=>{const e=(0,i.useSelector)(N.NY),[o,t]=(0,P.Cg)("objects",e),{activeMobileMenu:l,resetMobileMenu:s}=Y(),g=(0,i.useSelector)(N.K2),c=(0,i.useDispatch)(),p=(0,n.useCallback)(()=>t?n.createElement(Ee,null):n.createElement(H.A,{height:"54px",type:"mobileHeader"}),[t]),u=(x,M)=>c((0,U.R4)("engage",x,M)),E=(0,n.useCallback)(()=>{switch(l){case"searchMenu":return n.createElement(Ze,{onClose:s});case"loginMenu":return n.createElement(W.default,{dismissOverride:s});case"profileMenu":return n.createElement(nt,{onClose:s});default:return null}},[l,s,g,u]);return n.createElement(ye,null,n.createElement(ge,null),n.createElement(Me,null,E()),p())}}}]);

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.