1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4383],{39930:(e,n,i)=>{i.r(n),i.d(n,{default:()=>Cn,redirectToURLWithModalState:()=>xn,redirectToURLWithoutModalState:()=>Ln});var t=i(72791),s=i(87790),a=i.n(s),o=i(41418),r=i.n(o),l=i(81420),c=i(6639),u=i(86134),d=i(29305),p=i(21956),h=i(21102),m=i(53002),g=i(73665),b=i(69765),_=i(52007),v=i.n(_);const f="Topbar_root__wssO9",x="Topbar_container__gG-i7",L="Topbar_menu__yN9bh h5",k="Topbar_searchMenu__Nfnhq h5",j="Topbar_menuIcon__KIdaE",M="Topbar_searchMenuIcon__K+PCq",N="Topbar_notificationDot__Xn306",C="Topbar_desktop__S+oY9",P="Topbar_rootMenuIcon__REzxO",S="Topbar_rootSearchIcon__rx5pt",y="Topbar_searchContainer__rbtTI",T="Topbar_mobileHelp__oK06B",w="Topbar_modalContainer__BCkpI marketplaceModalInMobileBaseStyles",A="Topbar_modalContainerSearchForm__vyy+y Topbar_modalContainer__BCkpI marketplaceModalInMobileBaseStyles",R="Topbar_missingInformationModal__N8l+z marketplaceModalBaseStyles",D="Topbar_mobileApp__dNdnw";var I=i(80184);const H=e=>{const{className:n,rootClassName:i}=e,t=r()(i||P,n);return(0,I.jsx)("svg",{className:t,width:"18",height:"12",viewBox:"0 0 18 12",xmlns:"http://www.w3.org/2000/svg",children:(0,I.jsxs)("g",{fillRule:"evenodd",children:[(0,I.jsx)("rect",{width:"18",height:"2",rx:"1"}),(0,I.jsx)("rect",{y:"5",width:"18",height:"2",rx:"1"}),(0,I.jsx)("rect",{y:"10",width:"18",height:"2",rx:"1"})]})})},{string:U}=v();H.defaultProps={className:null,rootClassName:null};const O=H,E=e=>{const{className:n,rootClassName:i}=e,t=r()(i||S,n);return(0,I.jsx)("svg",{className:t,width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",children:(0,I.jsxs)("g",{transform:"matrix(-1 0 0 1 17 1)",strokeWidth:"2",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,I.jsx)("path",{d:"M11.733 11.733l3.727 3.727"}),(0,I.jsx)("circle",{cx:"6.4",cy:"6.4",r:"6.4"})]})})},{string:F}=v();E.defaultProps={className:null,rootClassName:null};const W=E;var B=i(55269);const $="TopbarSearchForm_mobileInputRoot__C5pxr",K="TopbarSearchForm_desktopInputRoot__tetYe",V="TopbarSearchForm_mobileIcon__sd-do",G="TopbarSearchForm_mobileInput__3qVZO TopbarSearchForm_fontInput__BeZNV",q="TopbarSearchForm_desktopIcon__TQhWD",z="TopbarSearchForm_desktopInput__XDF+Y p",Q="TopbarSearchForm_mobilePredictions__L3nn6",Y="TopbarSearchForm_mobilePredictionsAttribution__7--G0",J="TopbarSearchForm_desktopPredictions__FQnec",X="TopbarSearchForm_keywordSearchWra
1pper__MmyaI",Z="TopbarSearchForm_searchSubmit__QEP-B",ee="TopbarSearchForm_iconSvgGroup__ZgSSG",ne="TopbarSearchForm_icon__gYZqt",ie="TopbarSearchForm_iconSvg__MDG3u",te=()=>(0,I.jsx)("svg",{className:ie,width:"21",height:"22",viewBox:"0 0 21 22",xmlns:"http://www.w3.org/2000/svg",children:(0,I.jsxs)("g",{className:ee,transform:"matrix(-1 0 0 1 20 1)",strokeWidth:"2",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,I.jsx)("path",{d:"M13 14l5.241 5.241"}),(0,I.jsx)("circle",{cx:"7.5",cy:"7.5",r:"7.5"})]})}),se=e=>e,ae=e=>{const{keywordSearchWrapperClasses:n,iconClass:i,intl:t,isMobile:s,inputRef:a}=e;return(0,I.jsxs)("div",{className:n,children:[(0,I.jsx)("button",{className:Z,children:(0,I.jsx)("div",{className:i,children:(0,I.jsx)(te,{})})}),(0,I.jsx)(B.gN,{name:"keywords",render:e=>{let{input:n,meta:i}=e;return(0,I.jsx)("input",{className:s?G:z,...n,id:s?"keyword-search-mobile":"keyword-search","data-testid":s?"keyword-search-mobile":"keyword-search",ref:a,type:"text",placeholder:t.formatMessage({id:"TopbarSearchForm.placeholder"}),autoComplete:"off"})}})]})},oe=e=>{const{desktopInputRootClass:n,intl:i,isMobile:t,inputRef:s,onLocationChange:a}=e;return(0,I.jsx)(B.gN,{name:"location",format:se,render:e=>{let{input:o,meta:r}=e;const{onChange:l,...c}=o;return(0,I.jsx)(b.rG,{className:t?$:n,iconClassName:t?V:q,inputClassName:t?G:z,predictionsClassName:t?Q:J,predictionsAttributionClassName:t?Y:null,placeholder:i.formatMessage({id:"TopbarSearchForm.placeholder"}),closeOnBlur:!t,inputRef:s,input:{...c,onChange:e=>{l(e),a(e)}},meta:r})}})};class re extends t.Component{constructor(e){super(e),this.onChange=this.onChange.bind(this),this.onSubmit=this.onSubmit.bind(this),this.searchInput=null,this.setSearchInputRef=e=>{this.setSearchInput=e}}onChange(e){const{appConfig:n,onSubmit:i}=this.props;var t;!(0,p.Sy)(n)&&e.selectedPlace&&(i({location:e}),null===(t=this.searchInput)||void 0===t||t.blur())}onSubmit(e){const{appConfig:n,onSubmit:i}=this.props;var t;(0,p.Sy)(n)&&(i({keywords:e.keywords}),null===(t=this.searchInput)||void 0===t||t.blur())}render(){const{onSubmit:e,appConfig:n,...i}=this.props,t=(0,p.Sy)(n),s=t?this.onSubmit:e;return(0,I.jsx)(B.l0,{...i,onSubmit:s,render:e=>{const{rootClassName:n,className:i,desktopInputRoot:s,intl:a,isMobile:o,handleSubmit:l}=e,c=r()(n,i),u=s||K,d=t?l:e=>e.preventDefault(),p=r()(X,o?$:u);return(0,I.jsx)(b.l0,{className:c,onSubmit:d,enforcePagePreloadFor:"SearchPage",children:t?(0,I.jsx)(ae,{keywordSearchWra
1pperClasses:p,iconClass:r()(o?V:q||ne),intl:a,isMobile:o,inputRef:this.setSearchInputRef}):(0,I.jsx)(oe,{desktopInputRootClass:u,intl:a,isMobile:o,inputRef:this.setSearchInputRef,onLocationChange:this.onChange})})}})}}re.defaultProps={rootClassName:null,className:null,desktopInputRoot:null,isMobile:!1};const le=(0,d.XN)(re);var ce=i(58068),ue=i(10314);const de={root:"TopbarMobileMenu_root__qrbRx",content:"TopbarMobileMenu_content__jVJpw",accountLinksWrapper:"TopbarMobileMenu_accountLinksWrapper__+i9kc",customLinksWrapper:"TopbarMobileMenu_customLinksWrapper__FYtrM",extraLinksWrapper:"TopbarMobileMenu_extraLinksWrapper__PjmdV",footer:"TopbarMobileMenu_footer__PJchB",avatar:"TopbarMobileMenu_avatar__QS-eb",appAvatar:"TopbarMobileMenu_appAvatar__pmuRq",greeting:"TopbarMobileMenu_greeting__-TcjT",logoutButton:"TopbarMobileMenu_logoutButton__0FF18",customLinkFont:"TopbarMobileMenu_customLinkFont__vpqW8",inbox:"TopbarMobileMenu_inbox__icwPk TopbarMobileMenu_customLinkFont__vpqW8",navigationLink:"TopbarMobileMenu_navigationLink__KgTI3 TopbarMobileMenu_customLinkFont__vpqW8",favoritesNavigationLink:"TopbarMobileMenu_favoritesNavigationLink__nXgTt",favoritesIcon:"TopbarMobileMenu_favoritesIcon__ZpQpw",currentPageLink:"TopbarMobileMenu_currentPageLink__3TI-v",notificationBadge:"TopbarMobileMenu_notificationBadge__hdECU",createNewListingLink:"TopbarMobileMenu_createNewListingLink__mTfK2 buttonPrimary",authenticationGreeting:"TopbarMobileMenu_authenticationGreeting__pnkzi h1",appAuthenticationGreeting:"TopbarMobileMenu_appAuthenticationGreeting__7Ex70",authenticationLinks:"TopbarMobileMenu_authenticationLinks__RzbIJ",signupLink:"TopbarMobileMenu_signupLink__cVbd9",loginLink:"TopbarMobileMenu_loginLink__IUi8e",currentPage:"TopbarMobileMenu_currentPage__b99jE",spacer:"TopbarMobileMenu_spacer__itL-p",disabledLink:"TopbarMobileMenu_disabledLink__pn4oc",iconContainer:"TopbarMobileMenu_iconContainer__AasU4",icon:"TopbarMobileMenu_icon__LvvH1"};var pe=i(34341),he=i(12202),me=i(18454),ge=i(80542);const be=e=>{let{linkConfig:n,currentPage:i}=e;const{group:t,text:s,type:a,href:o,route:l}=n;if((0,me.hK)()&&"/p/my-tattoo-hub-app"===o)return null;if("internal"===a&&l){const{name:e,params:n,to:t}=l||{},a=r()(de.navigationLink,(e=>{var n,t;const s=e=>0===(null===i||void 0===i?void 0:i.indexOf(e)),a=i===e;return r=null===l||void 0===l||null===(n=l.params)||void 0===n?void 0:n.pageId,s("CMSPage")&&i===`${e}:${r}`||(o=null===l||void 0===l||null===(t=l.params)||void 0===t?void 0:t.tab,s("InboxPage")&&i===`${e}:${o}`)||a?de.currentPage:null;var o,r})(e));return(0,I.jsxs)(b.RC,{name:e,params:n,to:t,className:a,children:[(0,I.jsx)("span",{className:de.menuItemBorder}),s]})}return(0,I.jsxs)(b.dL,{href:o,className:de.navigationLink,children:[(0,I.jsx)("span",{className:de.menuItemBorder}),s]})},_e=e=>{var n;const{isAuthenticated:i,currentPage:t,currentUserHasListings:s,currentUser:a,notificationCount:o,customLinks:l,onLogout:c,isClientAc:u,currentUserListing:p,isOpenPixSubAcCreated:m,currentUserListingFetched:_}=e,v=p&&_,f=(0,ge.k6)(),x=(null===p||void 0===p||null===(n=p.id)||void 0===n?void 0:n.uuid)||"00000000-0000-0000-0000-000000000000",{title:L="",price:k,state:j,publicData:M}=(null===p||void 0===p?void 0:p.attributes)||{},N=(0,h.qi)(L)||"draft",C=j===g.WM?h.Ms:h.Am,P=(0,ue.j0)(a),{hasActivePlan:S}=(0,pe.F)(P)||{},y=l.map(((e,n)=>(0,I.jsx)(be,{linkConfig:e,currentPage:t},`${e.text}_${n}`)));if(i&&u){const e=l.findIndex((e=>{var n;return"FlashSearchPage"===(null===(n=e.route)||void 0===n?void 0:n.name)||"/flash"===e.href}));y.splice(e<0?y.length:e+1,0,(0,I.jsxs)(b.RC,{name:"FavoritesPage",className:r()(de.navigationLink,de.favoritesNavigationLink,{[de.currentPage]:"FavoritesPage"===t}),children:[(0,I.jsx)(d._H,{id:"SearchPage.favorites"}),(0,I.jsx)(he.$0H,{className:de.favoritesIcon,"aria-hidden":"true"})]},"favorites"))}if(!i){const e=(0,I.jsx)(b.RC,{name:"SignupPage",className:de.signupLink,children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.signupLink"})}),n=(0,I.jsx)(b.RC,{name:"LoginPage",className:de.loginLink,children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.loginLink"})}),i=(0,I.jsx)("span",{className:de.authenticationLinks,children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.signupOrLogin",values:{signup:e,login:n}})});null===f||void 0===f||f.location.pathname;return(0,I.jsxs)("div",{className:de.root,children:[(0,I.jsxs)("div",{className:de.content,children:[(0,I.jsx)("div",{className:r()(de.authenticationGreeting,{[de.appAuthenticationGreeting]:!!(0,me.hK)()}),children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.unauthorizedGreeting",values:{lineBreak:(0,I.jsx)("br",{}),signupOrLogin:i}})}),(0,I.jsx)("div",{className:r()(de.customLinksWrapper,de.extraLinksWrapper),children:y}),(0,I.jsx)("div",{className:de.spacer})]}),(0,I.jsx)("div",{className:de.footer,children:(0,I.jsx)(b.RC,{className:de.createNewListingLink,name:"NewListingPage",children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.newListingLink"})})})]})}const T=o>0?(0,I.jsx)(b.Cc,{className:de.notificationBadge,count:o}):null,w=P.attributes.profile.firstName,A=e=>{const n="AccountDetailsPage"===e&&ce.p.includes(t),i=0===(null===t||void 0===t?void 0:t.indexOf("InboxPage"))&&0===(null===e||void 0===e?void 0:e.indexOf("InboxPage"));return t===e||n||i?de.currentPage:null},R=u?"orders":"sales";return(0,I.jsxs)("div",{className:de.root,children:[(0,I.jsx)(b.Vt,{className:r()(de.avatar,{[de.appAvatar]:!!(0,me.hK)()}),user:a}),(0,I.jsxs)("div",{className:de.content,children:[(0,I.jsx)("span",{className:de.greeting,children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.greeting",values:{displayName:w}})}),(0,I.jsx)(b.T5,{rootClassName:de.logoutButton,onClick:c,children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.logoutLink"})}),(0,I.jsxs)("div",{className:de.accountLinksWrapper,children:[(0,I.jsxs)(b.RC,{className:r()(de.inbox,A(`InboxPage:${R}`)),name:"InboxPage",params:{tab:R},children:[(0,I.jsx)(d._H,{id:"TopbarMobileMenu.inboxLink"}),T]}),!u&&(0,I.jsx)(b.RC,{className:r()(de.navigationLink,A("ManageListingsPage")),name:"ManageListingsPage",children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.yourListingsLink"})}),!u&&(0,I.jsx)(b.RC,{className:de.navigationLink,name:"ProfileSettingsPage",to:{hash:"#link-pessoal"},children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.personalLink"})}),(0,I.jsx)(b.RC,{className:r()(de.navigationLink,A("ProfileSettingsPage")),name:"ProfileSettingsPage",children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.profileSettingsLink"})}),(0,I.jsx)(b.RC,{className:r()(de.navigationLink,A("AccountSettingsPage")),name:"AccountDetailsPage",children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.accountSettingsLink"})}),s&&(0,I.jsx)(b.RC,{className:r()(de.navigationLink,A("EditListingPage")),name:"EditListingPage",params:{id:x,slug:N,type:C,tab:"availability"},children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.calenderAvailability"})}),!u&&(0,I.jsx)(b.RC,{className:r()(de.navigationLink,A("SubscriptionPage")),name:"SubscriptionPage",children:(0,I.jsx)(d._H,{id:"TopbarDesktop.subscription"})}),!u&&(0,I.jsxs)(b.RC,{className:r()(de.navigationLink,A("ActivityDashboardPage"),{[de.disabledLink]:!S}),name:"ActivityDashboardPage",children:[(0,I.jsx)(d._H,{id:"TopbarMobileMenu.dashboard"}),!S&&(0,I.jsx)("span",{className:de.iconContainer,children:(0,I.jsx)(he.kUi,{className:de.icon})})]})]}),(0,I.jsx)("div",{className:r()(de.customLinksWrapper,de.extraLinksWrapper),children:y}),(0,I.jsx)("div",{className:de.spacer})]}),u||m?null:v||S?(0,I.jsx)("div",{className:de.footer,children:(0,I.jsx)(b.RC,{className:de.createNewListingLink,name:"NewListingPage",children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.newListingLink"})})}):(0,I.jsx)("div",{className:de.footer,children:(0,I.jsx)(b.RC,{className:de.createNewListingLink,name:"SubscriptionPage",to:{state:{from:"newListingpage"}},children:(0,I.jsx)(d._H,{id:"TopbarMobileMenu.newListingLink"})})})]})};_e.defaultProps={currentUser:null,notificationCount:0,currentPage:null};const{bool:ve,func:fe,number:xe,string:Le}=v(),ke=_e;var je=i(54164);const Me="PriorityLinks_priorityLinkWrapper__-J0Lm",Ne="PriorityLinks_priorityLink__Wt84B",Ce="PriorityLinks_highlight__rzoGh",Pe="PriorityLinks_priorityLinkLabel__dtwxY textSmall",Se=e=>(0,I.jsx)("div",{className:e.customLinksMenuClass,children:(0,I.jsx)(b.RC,{name:"NewListingPage",className:r()(Ne,Ce),children:(0,I.jsx)("span",{className:Pe,children:(0,I.jsx)(d._H,{id:"TopbarDesktop.createListing"})})})}),ye=e=>{var n;let{linkConfig:i,currentUserHasListing:t,hasActiveSubscription:s}=e;const{text:a,type:o,href:l,route:c,highlight:u}=i,d=r()(Ne,{[Ce]:u});if("EditListingPage"===(null===i||void 0===i||null===(n=i.route)||void 0===n?void 0:n.name)&&t)return null;if("internal"===o&&c){var p;const{name:e,params:n,to:o}=c||{};return"EditListingPage"!==(null===i||void 0===i||null===(p=i.route)||void 0===p?void 0:p.name)||t||s?(0,I.jsx)(b.RC,{name:e,params:n,to:o,className:d,children:(0,I.jsx)("span",{className:Pe,children:a})}):(0,I.jsx)(b.RC,{className:d,name:"SubscriptionPage",to:{state:{from:"newListingpage"}},children:(0,I.jsx)("span",{className:Pe,children:a})})}return(0,I.jsx)(b.dL,{href:l,className:d,children:(0,I.jsx)("span",{className:Pe,children:a})})},Te=e=>{var n,i;const{currentUserHasListing:s,hasActiveSubscription:a}=e,o=(0,t.useRef)(null);(0,t.useEffect)((()=>{var n,i;const t=null===(n=e.links)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.width;if(o.current&&!t){const n=[...o.current.childNodes];let i=0;const t=e.links.reduce(((e,t,s)=>{var a;const o=null===n||void 0===n||null===(a=n[s])||void 0===a?void 0:a.offsetWidth;return i+=o,[...e,{...t,width:o,cumulatedWidth:i}]}),[]);e.setLinks(t)}}),[o]);const{links:r,priorityLinks:l,isForTattooArtisPage:c}=e,u="undefined"===typeof window,d=(null===r||void 0===r||null===(n=r[0])||void 0===n?void 0:n.width)&&(0===l.length||(null===l||void 0===l||null===(i=l[0])||void 0===i?void 0:i.width)),p=d?{}:{style:{position:"absolute",top:"-2000px",left:"-2000px",width:"100%",height:"var(--topbarHeightDesktop)",display:"flex",flexDirection:"row"}},h=d?l:r,m=c?h:null===h||void 0===h?void 0:h.filter((e=>"Publicar um novo an\xfancio"!==e.text));return d||u?(0,I.jsx)("div",{className:Me,...p,ref:o,children:m.map(((e,n)=>(0,I.jsx)(ye,{linkConfig:e,currentUserHasListing:s,hasActiveSubscription:a},`${e.text}_${n}`)))}):je.createPortal((0,I.jsx)("div",{className:Me,...p,ref:o,children:m.map(((e,n)=>(0,I.jsx)(ye,{linkConfig:e,currentUserHasListing:s,hasActiveSubscription:a},`${e.text}_${n}`)))}),document.body)},we="LinksMenu_currentPage__Tn3JB",Ae="LinksMenu_menuItemBorder__pPqY7",Re
1="LinksMenu_linkMenuLabelWrapper__YxJUq",De="LinksMenu_linkMenuLabel__jMJTj",Ie="LinksMenu_linkMenuIsOpen__KQAWN",He="LinksMenu_arrowIcon__7Dsco",Ue="LinksMenu_linkMenuContent__7LfZi",Oe="LinksMenu_menuLink__6ImMz textSmall",Ee=e=>{let{linkConfig:n,currentPage:i}=e;const{text:t,type:s,href:a,route:o}=n;if("internal"===s&&o){const{name:e,params:n,to:s}=o||{},a=r()(Oe,(e=>{var n,t;const s=e=>0===(null===i||void 0===i?void 0:i.indexOf(e)),a=i===e;return l=null===o||void 0===o||null===(n=o.params)||void 0===n?void 0:n.pageId,s("CMSPage")&&i===`${e}:${l}`||(r=null===o||void 0===o||null===(t=o.params)||void 0===t?void 0:t.tab,s("InboxPage")&&i===`${e}:${r}`)||a?we:null;var r,l})(e));return(0,I.jsxs)(b.RC,{name:e,params:n,to:s,className:a,children:[(0,I.jsx)("span",{className:Ae}),t]})}return(0,I.jsxs)(b.dL,{href:a,className:Oe,children:[(0,I.jsx)("span",{className:Ae}),t]})},Fe=e=>{const{width:n,setWidth:i,label:s}=e,a=(0,t.useRef)(null);(0,t.useEffect)((()=>{a.current&&!n&&i(a.current.offsetWidth)}),[a,n]);const o="undefined"===typeof window,r=n?{}:{style:{position:"absolute",top:"-2000px",left:"-2000px",width:"auto",height:"var(--topbarHeightDesktop)",display:"flex",flexDirection:"row"}};return n||o?null:je.createPortal((0,I.jsx)("div",{id:"measureMoreLabel",className:De,ref:a,...r,children:s}),document.body)},We=e=>{let{showMoreLabel:n,isOpen:i,intl:t}=e;return(0,I.jsxs)("span",{className:Re,children:[n?t.formatMessage({id:"TopbarDesktop.LinksMenu.more"}):t.formatMessage({id:"TopbarDesktop.LinksMenu.all"}),(0,I.jsx)(b.JT,{direction:"down",size:"small",rootClassName:He})]})},Be=e=>{const[n,i]=(0,t.useState)(!1),{id:s,currentPage:a,links:o,showMoreLabel:r,moreLabelWidth:l,setMoreLabelWidth:c,intl:u}=e,d=l?l/2*-1:24;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(b.v2,{id:s,contentPlacementOffset:d,contentPosition:"left",isOpen:n,onToggleActive:i,children:[(0,I.jsx)(b.Lb,{className:De,isOpenClassName:Ie,children:(0,I.jsx)(We,{showMoreLabel:r,isOpen:n,intl:u})}),(0,I.jsx)(b.Dv,{className:Ue,children:o.map(((e,n)=>(0,I.jsx)(b.sN,{children:(0,I.jsx)(Ee,{linkConfig:e,currentPage:a})},`${e.text}_${n}`)))})]}),(0,I.jsx)(Fe,{width:l,setWidth:c,label:(0,I.jsx)(We,{showMoreLabel:!0,intl:u})})]})},$e="CustomLinksMenu_customLinksMenu__3IuWL",Ke="CustomLinksMenu_createListingLinkOnly__q62T+",Ve=e=>({group:"primary",text:e.formatMessage({id:"TopbarDesktop.createListing"}),type:"internal",route:{name:"EditListingPage",params:{slug:"draft",id:"00000000-0000-0000-0000-000000000000",type:"new",tab:"details"}},highlight:!0}),Ge=(e,n,i)=>{var t;const s=!(null===e||void 0===e||null===(t=e[0])||void 0===t||!t.width)&&i>0,a=!e.find((e=>"primary"===e.group));return!s||a?{priorityLinks:[],menuLinks:e}:{priorityLinks:e,menuLinks:[]}},qe=(e,n)=>{var i,t,s;const a=(null!==e&&void 0!==e&&null!==(i=e.parentNode)&&void 0!==i&&i.childNodes?Array.from(e.parentNode.childNodes).filter((n=>n!==e)):[]).reduce(((e,n)=>e+n.offsetWidth),0),o=null!==e&&void 0!==e&&null!==(t=e.parentElement)&&void 0!==t&&t.computedStyleMap?e.parentElement.computedStyleMap():null,r=null===o||void 0===o||null===(s=o.get("padding-right"))||void 0===s?void 0:s.value;return n-a-(null!=r?r:24)},ze=e=>{var n;let{currentPage:i,customLinks:s=[],hasClientSideContentReady:a,intl:o,isClientAc:r,currentUserHasListing:l,isOpenPixSubAcCreated:c,isAuthenticated:u,hasActiveSubscription:d}=e;const p=(0,t.useRef)(null),h=(0,t.useRef)(null),[m,g]=(0,t.useState)(!1),[b,_]=(0,t.useState)(0),[v,f]=(0,t.useState)([Ve(o),...s]),[x,L]=(0,t.useState)({priorityLinks:v,menuLinks:v,containerWidth:0}),k=(0,ge.k6)();(0,t.useEffect)((()=>{g(!0)}),[]),(0,t.useEffect)((()=>{let e=null;const n=document.body,i=h.current;return a&&b>0&&(p.current=new ResizeObserver((t=>{var s;const a=null===i||void 0===i||null===(s=i.parentNode)||void 0===s?void 0:s.offsetWidth,o=n.offsetWidth;for(const r of t){const t=r.target===n,s=!t&&a!==o;if(t||s){const n=qe(i,o),t=Ge(v,0,b);e=window.requestAnimationFrame((()=>{i&&L({...t,containerWidth:n})}));break}}})),i&&(p.current.observe(n),p.current.observe(i))),()=>{var t,s;n&&(null===(t=p.current)||void 0===t||t.unobserve(n));i&&(null===(s=p.current)||void 0===s||s.unobserve(i));e&&window.cancelAnimationFrame(e)}}),[h,a,b,v]);const{priorityLinks:j,menuLinks:M,containerWidth:N}=x,C="/p/my-tattoo-hub-para-tatuadores"===(null===k||void 0===k?void 0:k.location.pathname),P=r?null===j||void 0===j?void 0:j.filter((e=>!(null!==e&&void 0!==e&&e.highlight))):j;if(0===(null===s||void 0===s?void 0:s.length))return(0,I.jsx)(Se,{customLinksMenuClass:Ke});const S=m?{style:{width:N-1+"px"}}:{},y=!(null===v||void 0===v||null===(n=v[0])||void 0===n||!n.width),T=(null===M||void 0===M?void 0:M.length)>0,w=y&&j.length>0;return(0,I.jsxs)("div",{className:$e,ref:h,...S,children:[(0,I.jsx)(Te,{links:v,priorityLinks:P,setLinks:f,currentUserHasListing:l,isForTattooArtisPage:C,hasActiveSubscription:d}),T?(0,I.jsx)(Be,{id:"linksMenu",currentPage:i,links:M,showMoreLabel:w,moreLabelWidth:b,setMoreLabelWidth:_,intl:o}):null]})},Qe="TopbarDesktop_root__73jS8",Ye="TopbarDesktop_logoLink__TNZZh",Je="TopbarDesktop_topbarLink__NPYsn",Xe="TopbarDesktop_topbarLinkLabel__sRlcP textSmall",Ze="TopbarDesktop_favoritesLinkLabel__YCCTs",en="TopbarDesktop_favoritesIcon__fIJQD",nn="TopbarDesktop_notificationDot__a+kv3",tn="TopbarDesktop_profileMenuLabel__5K1AS",sn="TopbarDesktop_profileMenuIsOpen__RCBVE",an="TopbarDesktop_avatar__zWMDy",on="TopbarDesktop_profileMenuContent__XE30R",rn="TopbarDesktop_menuItemBorder__4g3XG",ln="TopbarDesktop_menuLink__FTX9K textSmall",cn="TopbarDesktop_logoutButton__e5cEG",un="TopbarDesktop_currentPage__QrbBN",dn="TopbarDesktop_iconContainer__K0Jri",pn="TopbarDesktop_icon__kK6g0",hn="TopbarDesktop_customDisabledLink__UUMpO",mn=()=>(0,I.jsx)(b.RC,{name:"SignupPage",className:Je,children:(0,I.jsx)("span",{className:Xe,children:(0,I.jsx)(d._H,{id:"TopbarDesktop.signup"})})}),gn=()=>(0,I.jsx)(b.RC,{name:"LoginPage",className:Je,children:(0,I.jsx)("span",{className:Xe,children:(0,I.jsx)(d._H,{id:"TopbarDesktop.login"})})}),bn=e=>{let{isClientAc:n,notificationCount:i,currentUserHasListings:t}=e;const s=i>0?(0,I.jsx)("div",{className:nn}):null;return(0,I.jsx)(b.RC,{name:"InboxPage",className:Je,params:{tab:n?"orders":"sales"},children:(0,I.jsxs)("span",{className:Xe,children:[(0,I.jsx)(d._H,{id:"TopbarDesktop.inbox"}),s]})})},_n=e=>{let{currentPage:n,currentUser:i,onLogout:t,isClientAc:s,id:a,slug:o,editListingLinkType:l,currentUserHasListing:c}=e;const u=e=>{const i="AccountDetailsPage"===e&&ce.p.includes(n);return n===e||i?un:null},{hasActivePlan:p}=(0,pe.F)(i)||{};return(0,I.jsxs)(b.v2,{children:[(0,I.jsx)(b.Lb,{className:tn,isOpenClassName:sn,children:(0,I.jsx)(b.qE,{className:an,user:i,disableProfileLink:!0})}),(0,I.jsxs)(b.Dv,{className:on,children:[(0,I.jsx)(b.sN,{children:!s&&(0,I.jsxs)(b.RC,{className:r()(ln,u("ManageListingsPage")),name:"ManageListingsPage",children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.yourListingsLink"})]})},"ManageListingsPage"),(0,I.jsx)(b.sN,{children:!s&&(0,I.jsxs)(b.RC,{className:ln,name:"ProfileSettingsPage",to:{hash:"#link-pessoal"},children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.personalLink"})]})},"PersonalLink"),(0,I.jsx)(b.sN,{children:c&&(0,I.jsxs)(b.RC,{className:r()(ln,u("EditListingPage")),name:"EditListingPage",params:{id:a,slug:o,type:l,tab:"availability"},children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.calenderAvailability"})]})},"EditListingPage"),(0,I.jsx)(b.sN,{children:!s&&(0,I.jsxs)(b.RC,{className:r()(ln,u("SubscriptionPage")),name:"SubscriptionPage",children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.subscription"})]})}
1,"SubscriptionPage"),(0,I.jsx)(b.sN,{children:(0,I.jsxs)(b.RC,{className:r()(ln,u("ProfileSettingsPage")),name:"ProfileSettingsPage",children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.profileSettingsLink"})]})},"ProfileSettingsPage"),(0,I.jsx)(b.sN,{children:(0,I.jsxs)(b.RC,{className:r()(ln,u("AccountDetailsPage")),name:"AccountDetailsPage",children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.accountSettingsLink"})]})},"AccountDetailsPage"),(0,I.jsx)(b.sN,{children:!s&&(0,I.jsxs)(b.RC,{className:r()(ln,u("ActivityDashboardPage"),{[hn]:!p}),name:p?"ActivityDashboardPage":"SubscriptionPage",children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.dashboard"}),!p&&(0,I.jsx)("span",{className:dn,children:(0,I.jsx)(he.kUi,{className:pn})})]})},"ActivityDashboardPage"),(0,I.jsx)(b.sN,{children:(0,I.jsxs)(b.T5,{rootClassName:cn,onClick:t,children:[(0,I.jsx)("span",{className:rn}),(0,I.jsx)(d._H,{id:"TopbarDesktop.logout"})]})},"logout")]})]})},vn=e=>{var n,i;const{className:s,config:a,customLinks:o,currentUser:l,currentPage:c,rootClassName:u,currentUserHasListings:p,notificationCount:m,intl:_,isAuthenticated:v,onLogout:f,onSearchSubmit:x,initialSearchFormValues:L,isClientAc:k,currentUserListing:j,currentUserListingFetched:M,isOpenPixSubAcCreated:N}=e,{hasActivePlan:C,plan:P}=(0,pe.F)(l),S=!!C,y=(null===j||void 0===j||null===(n=j.id)||void 0===n?void 0:n.uuid)||"00000000-0000-0000-0000-000000000000",{title:T="",price:w,state:A,publicData:R}=(null===j||void 0===j?void 0:j.attributes)||{},D=(0,h.qi)(T)||"draft",H=A===g.WM?h.Ms:h.Am,[U,O]=(0,t.useState)(!1);(0,t.useEffect)((()=>{O(!0)}),[]);const E=a.marketplaceName,F=U&&v,W=v||!U,B=j&&M,$=(null==o||(null===o||void 0===o||o.length),r()(u||Qe,s)),K=F?(0,I.jsx)(bn,{isClientAc:k,notificationCount:m,currentUserHasListings:p}):null,V=F?(0,I.jsx)(_n,{currentPage:c,currentUser:l,onLogout:f,isClientAc:k,id:y,slug:D,editListingLinkType:H,currentUserHasListing:B}):null,G=W?null:(0,I.jsx)(mn,{}),q=W?null:(0,I.jsx)(gn,{});return(0,I.jsxs)("nav",{className:$,children:[(0,I.jsx)(b.Ux,{className:Ye,layout:"desktop",alt:_.formatMessage({id:"TopbarDesktop.logo"},{marketplaceName:E}),linkToExternalSite:null===a||void 0===a||null===(i=a.topbar)||void 0===i?void 0:i.logoLink}),(0,I.jsx)(ze,{currentPage:c,customLinks:o,intl:_,isClientAc:k,isAuthenticated:v,isOpenPixSubAcCreated:N,currentUserHasListing:B,hasClientSideContentReady:F||!W,hasActiveSubscription:S}),K,F&&k&&(0,I.jsx)(b.RC,{name:"FavoritesPage",className:r()(Je,{[un]:"FavoritesPage"===c}),children:(0,I.jsxs)("span",{className:r()(Xe,Ze),children:[(0,I.jsx)(d._H,{id:"SearchPage.favorites"}),(0,I.jsx)(he.$0H,{className:en,"aria-hidden":"true"})]})}),V,G,q]})};vn.defaultProps={rootClassName:null,className:null,currentUser:null,currentPage:null,notificationCount:0,initialSearchFormValues:{},config:null};const fn=vn,xn=(e,n)=>{const{history:i,location:t}=e,{pathname:s,search:a,hash:o,state:r}=t,l=`?${(0,h.Pz)({[n]:"open",...(0,h.Qc)(a)})}`;i.push(`${s}${l}${o}`,r)},Ln=(e,n)=>{const{history:i,location:t}=e,{pathname:s,search:o,hash:r,state:l}=t,c=a()((0,h.Qc)(o),((e,i)=>i!==n)),u=(0,h.Pz)(c),d=u?`?${u}`:"";i.push(`${s}${d}${r}`,l)},kn=e=>"primary"===e.group,jn=e=>"secondary"===e.group,Mn=(e,n)=>{const i=kn(e)&&jn(n),t=jn(e)&&kn(n);return i?-1:t?1:0};class Nn extends t.Component{constructor(e){super(e),this.handleMobileMenuOpen=this.handleMobileMenuOpen.bind(this),this.handleMobileMenuClose=this.handleMobileMenuClose.bind(this),this.handleMobileSearchOpen=this.handleMobileSearchOpen.bind(this),this.handleMobileSearchClose=this.handleMobileSearchClose.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.handleLogout=this.handleLogout.bind(this)}handleMobileMenuOpen(){xn(this.props,"mobilemenu")}handleMobileMenuClose(){Ln(this.props,"mobilemenu")}handleMobileSearchOpen(){xn(this.props,"mobilesearch")}handleMobileSearchClose(){Ln(this.props,"mobilesearch")}handleSubmit(e){const{currentSearchParams:n}=this.props,{history:i,config:t,routeConfiguration:s}=this.props,a={...n,...(()=>{if((0,p.Sy)(t))return{keywords:null===e||void 0===e?void 0:e.keywords};const{search:n,selectedPlace:i}=null===e||void 0===e?void 0:e.location,{origin:s,bounds:a}=i;return{...(0,p.QS)(t)?{origin:s}:{},address:n,bounds:a}})()};i.push((0,m.EW)("SearchPage",s,{},a))}handleLogout(){const{onLogout:e,history:n,routeConfiguration:i}=this.props;e().then((()=>{const e=(0,m.XA)("LandingPage",i);l.default.dev?n.push(e):"undefined"!==typeof window&&(window.location=e),console.log("logged out")}))}render(){var e,n,i,t,s,a,o,l,c,u,g,_,v;const{className:P,rootClassName:S,desktopClassName:H,mobileRootClassName:U,mobileClassName:E,isAuthenticated:F,isLoggedInAs:B,authScopes:$,authInProgress:K,currentUser:V,currentUserHasListings:G,currentUserHasOrders:q,currentPage:z,notificationCount:Q,intl:Y,location:J,onManageDisableScrolling:X,onResendVerificationEmail
1:Z,sendVerificationEmailInProgress:ee,sendVerificationEmailError:ne,showGenericError:ie,config:te,routeConfiguration:se,currentUserListing:ae,currentUserListingFetched:oe}=this.props,re=null===V||void 0===V||null===(e=V.attributes)||void 0===e||null===(n=e.profile)||void 0===n||null===(i=n.protectedData)||void 0===i?void 0:i.openPixSubAcCreated,ce="cliente-id"===(null===V||void 0===V||null===(t=V.attributes)||void 0===t||null===(s=t.profile)||void 0===s||null===(a=s.publicData)||void 0===a?void 0:a.userType)||"cliente"===(null===V||void 0===V||null===(o=V.attributes)||void 0===o||null===(l=o.profile)||void 0===l||null===(c=l.publicData)||void 0===c?void 0:c.userType),{mobilemenu:ue,mobilesearch:de,keywords:pe,address:he,origin:ge,bounds:be}=(0,h.Qc)(J.search,{latlng:["origin"],latlngBounds:["bounds"]}),_e=((e,n)=>{let i=Array.isArray(e)?e:[];return n&&(i=i.filter((e=>"/p/landing-page-onboarding"!==(null===e||void 0===e?void 0:e.href)))),i.sort(Mn)})(null===(u=te.topbar)||void 0===u?void 0:u.customLinks,ce),ve=((e,n)=>(Array.isArray(e)?e:[]).map((e=>{const{type:i,href:t}=e;if("internal"===i||"/"===t.charAt(0))try{const i=new URL("http://my.marketplace.com"+t),a=(0,m.$O)(i.pathname,n);if(a.length>0){var s;const n=a[0],t={search:i.search,hash:i.hash};return{...e,route:{name:null===(s=n.route)||void 0===s?void 0:s.name,params:n.params,to:t}}}}catch(a){return e}return e})))(_e,se),fe=z||((e,n)=>{const i=(0,m.$O)(e.pathname,n);if(i.length>0){var t;const e=i[0],n=(e=>{var n,i;return"CMSPage"===(null===(n=e.route)||void 0===n?void 0:n.name)?`CMSPage:${null===(i=e.params)||void 0===i?void 0:i.pageId}`:null})(e),s=(e=>{var n,i;return"InboxPage"===(null===(n=e.route)||void 0===n?void 0:n.name)?`InboxPage:${null===(i=e.params)||void 0===i?void 0:i.tab}`:null})(e);return n||s||`${null===(t=e.route)||void 0===t?void 0:t.name}`}})(J,se),xe=Q>0?(0,I.jsx)("div",{className:N}):null,Le=!("undefined"!==typeof window&&(null===(g=window)||void 0===g?void 0:g.matchMedia))||(null===(_=window.matchMedia("(max-width: 1024px)"))||void 0===_?void 0:_.matches),je=Le&&"open"===ue,Me=Le&&"open"===de,Ne=(0,I.jsx)(ke,{isAuthenticated:F,currentUserHasListings:G,currentUser:V,onLogout:this.handleLogout,notificationCount:Q,currentPage:fe,customLinks:ve,isClientAc:ce,currentUserListing:ae,currentUserListingFetched:oe,isOpenPixSubAcCreated:re}),Ce=(()=>{if((0,p.Sy)(te))return{keywords:pe};return{location:((0,p.QS)(te)?he&&ge&&be:he&&be)?{search:he,selectedPlace:{address:he,origin:ge,bounds:be}}:null}})(),Pe=r()(S||f,P),Se=(0,me.hK)();return(0,I.jsxs)("div",{className:Pe,children:[(0,I.jsx)(b.nW,{isAuthenticated:F,isLoggedInAs:B,authScopes:$,currentUser:V,onLogout:this.handleLogout,currentPage:fe}),(0,I.jsxs)("div",{className:r()(U||x,E,{[D]:Se}),children:[Se?null:(0,I.jsxs)(b.zx,{rootClassName:L,onClick:this.handleMobileMenuOpen,title:Y.formatMessage({id:"Topbar.menuIcon"}),children:[(0,I.jsx)(O,{className:j}),xe]}),(0,I.jsx)(b.Ux,{layout:"mobile",alt:Y.formatMessage({id:"Topbar.logoIcon"}),linkToExternalSite:null===te||void 0===te||null===(v=te.topbar)||void 0===v?void 0:v.logoLink}),(0,I.jsx)(b.zx,{rootClassName:k,onClick:this.handleMobileSearchOpen,title:Y.formatMessage({id:"Topbar.searchIcon"}),children:(0,I.jsx)(W,{className:M})})]}),(0,I.jsx)("div",{className:C,children:(0,I.jsx)(fn,{className:H,currentUserHasListings:G,currentUser:V,currentPage:fe,initialSearchFormValues:Ce,intl:Y,isAuthenticated:F,notificationCount:Q,onLogout:this.handleLogout,onSearchSubmit:this.handleSubmit,config:te,customLinks:ve,isClientAc:ce,currentUserListing:ae,currentUserListingFetched:oe,isOpenPixSubAcCreated:re})}),(0,I.jsx)(b.u_,{id:"TopbarMobileMenu",containerClassName:w,isOpen:je,onClose:this.handleMobileMenuClose,usePortal:!0,onManageDisableScrolling:X,showCloseBtn:!(0,me.hK)(),children:K?null:Ne}),(0,I.jsx)(b.u_,{id:"TopbarMobileSearch",containerClassName:A,isOpen:Me,onClose:this.handleMobileSearchClose,usePortal:!0,onManageDisableScrolling:X,children:(0,I.jsxs)("div",{className:y,children:[(0,I.jsx)(le,{onSubmit:this.handleSubmit,initialValues:Ce,isMobile:!0,appConfig:te}),(0,I.jsx)("p",{className:T,children:(0,I.jsx)(d._H,{id:"Topbar.mobileSearchHelp"})})]})}),(0,I.jsx)(b.Ix,{id:"MissingInformationReminder",containerClassName:R,currentUser:V,currentUserHasListings:G,currentUserHasOrders:q,location:J,onManageDisableScrolling:X,onResendVerificationEmail
1:Z,sendVerificationEmailInProgress:ee,sendVerificationEmailError:ne})]})}}Nn.defaultProps={className:null,rootClassName:null,desktopClassName:null,mobileRootClassName:null,mobileClassName:null,notificationCount:0,currentUser:null,currentUserHasOrders:null,currentPage:null,sendVerificationEmailError:null,authScopes:[]};const Cn=e=>{const n=(0,c.mX)(),i=(0,u.a5)(),t=(0,d.YB)();return(0,I.jsx)(Nn,{config:n,routeConfiguration:i,intl:t,...e})}},80542:(e,n,i)=>{function t(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var s=i(58272),a=t(i(72791)),o=i(84765);i(63483),i(15501);var r=t(i(56111));function l(){return(l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e}).apply(this,arguments)}function c(e,n){e.prototype=Object.create(n.prototype),u(e.prototype.constructor=e,n)}function u(e,n){return(u=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function d(e,n){if(null==e)return{};var i,t,s={},a=Object.keys(e);for(t=0;t<a.length;t++)i=a[t],0<=n.indexOf(i)||(s[i]=e[i]);return s}var p=function(e){function n(){for(var n,i=arguments.length,t=new Array(i),s=0;s<i;s++)t[s]=arguments[s];return(n=e.call.apply(e,[this].concat(t))||this).history=o.createBrowserHistory(n.props),n}return c(n,e),n.prototype.render=function(){return a.createElement(s.Router,{history:this.history,children:this.props.children})},n}(a.Component),h=function(e){function n(){for(var n,i=arguments.length,t=new Array(i),s=0;s<i;s++)t[s]=arguments[s];return(n=e.call.apply(e,[this].concat(t))||this).history=o.createHashHistory(n.props),n}return c(n,e),n.prototype.render=function(){return a.createElement(s.Router,{history:this.history,children:this.props.children})},n}(a.Component),m=function(e,n){return"function"==typeof e?e(n):e},g=function(e,n){return"string"==typeof e?o.createLocation(e,null,null,n):e},b=function(e){return e},_=a.forwardRef;void 0===_&&(_=b);var v=_((function(e,n){var i=e.innerRef,t=e.navigate,s=e.onClick,o=d(e,["innerRef","navigate","onClick"]),r=o.target,c=l({},o,{onClick:function(n){try{s&&s(n)}catch(e){throw n.preventDefault(),e}n.defaultPrevented||0!==n.button||r&&"_self"!==r||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(n)||(n.preventDefault(),t())}});return c.ref=b!==_&&n||i,a.createElement("a",c)})),f=_((function(e,n){var i=e.component,t=void 0===i?v:i,c=e.replace,u=e.to,p=e.innerRef,h=d(e,["component","replace","to","innerRef"]);return a.createElement(s.__RouterContext.Consumer,null,(function(e){e||r(!1);var i=e.history,s=g(m(u,e.location),e.location),d=s?i.createHref(s):"",v=l({},h,{href:d,navigate:function(){var n=m(u,e.location),t=o.createPath(e.location)===o.createPath(g(n));(c||t?i.replace:i.push)(n)}});return b!==_?v.ref=n||p:v.innerRef=p,a.createElement(t,v)}))}
1)),x=function(e){return e},L=a.forwardRef;void 0===L&&(L=x);var k=L((function(e,n){var i=e["aria-current"],t=void 0===i?"page":i,o=e.activeClassName,c=void 0===o?"active":o,u=e.activeStyle,p=e.className,h=e.exact,b=e.isActive,_=e.location,v=e.sensitive,k=e.strict,j=e.style,M=e.to,N=e.innerRef,C=d(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(s.__RouterContext.Consumer,null,(function(e){e||r(!1);var i=_||e.location,o=g(m(M,i),i),d=o.pathname,P=d&&d.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),S=P?s.matchPath(i.pathname,{path:P,exact:h,sensitive:v,strict:k}):null,y=!!(b?b(S,i):S),T="function"==typeof p?p(y):p,w="function"==typeof j?j(y):j;y&&(T=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.filter((function(e){return e})).join(" ")}(T,c),w=l({},w,u));var A=l({"aria-current":y&&t||null,className:T,style:w,to:o},C);return x!==L?A.ref=n||N:A.innerRef=N,a.createElement(f,A)}))}));Object.defineProperty(n,"k6",{enumerable:!0,get:function(){return s.useHistory}}),Object.defineProperty(n,"EN",{enumerable:!0,get:function(){return s.withRouter}})},15501:(e,n,i)=>{i.r(n),i.d(n,{default:()=>t});const t=function(e,n){}}}]); 2//# sourceMappingURL=Topbar.d7d21dd3.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.