1import{j as t}from"./vendor-antd-BBP9elV-.js";import{c as J,bd as te,be as se,aJ as Y,U as X,K as re,bf as V,M as ie,N as oe,Q as ne,q as ae,u as le,aR as ce,V as me,d as de,bg as pe,at as ue,ax as fe,av as he,Z as ge,S as W,Y as ye,W as H,ay as xe}from"./index-B5sQTxjn.js";import{r as Se,d as Z}from"./vendor-redux-KLK4bked.js";import{a5 as je,D as Ce,n as be}from"./ra-packages-common-CvkwZ4BT.js";import{g as Fe}from"./Section.module-DZO0IcbE.js";import{G as Le,a as ke}from"./Columns-HSGfU7Ir.js";import{s as Pe,a as Te}from"./filter-B-o3v9G6.js";import{M as Ae}from"./Category-CsaqAXry.js";import{M as z}from"./vendor-intl-BdRQ4zCJ.js";import{F as ve}from"./GridLayout-I97fsTYL.js";import{u as Me}from"./useBoundaryElement-C61H8WPn.js";import{P as _e}from"./Pagination-DX-aaYav.js";import{A as we}from"./Grid-C-wFfJ34.js";import{F as Re,C as Ee}from"./CreateFollow-v995mJDA.js";import{F as Ie}from"./Follow-DIRpnGjf.js";import{a as Ne}from"./List.module-DXV7sitF.js";import{f as Ke,F as De,c as Ge}from"./Sidebar-iXRiuo2V.js";import{F as $e}from"./Section-BVwRmj-C.js";import{F as Be}from"./Breadcrumbs-CfuWJC5E.js";import{a as Qe}from"./vendor-router-qVASvVEu.js";import"./vendor-react-fAf-fo_p.js";import"./ra-packages-feutils-BT9hW3Hl.js";import"./vendor-hashbase-DgZ-AY2q.js";import"./vendor-misc-1-GGAxc6aE.js";import"./ra-packages-icons-CuBFMsoF.js";import"./react-intersection-observer-Cu_qKbcA.js";import"./vendor-apollo-CkY1D5Bj.js";import"./vendor-sentry-browser-BvxBMkSh.js";import"./vendor-react-markdown-DTBd1y6J.js";import"./vendor-micromark-D3BnM3h_.js";import"./useGridSort-Dm2zydBd.js";import"./StickyGridHeader-CGnsKYBb.js";import"./withTranslatedRouter-35ow75dd.js";import"./filterArt-DE7ipZAL.js";import"./Breadcrumbs-C78SqGIG.js";function Ue(r){return r===void 0?se(Y.rank,[Y.rank.RANKING_RELEVANCE]):Y.rank}function ze(r){const e=[];return r.livesCountry&&e.push(t.jsx(z,{id:`countries.${r.livesCountry.toUpperCase()}`,children:i=>i})),r.birthYear&&e.push(t.jsx(z,{id:"common.birthdayAbbreviated",children:i=>`${i} ${r.birthYear}`})),e.push(t.jsx(Re,{leaderId:r.id,leaderData:r})),e}function qe(r){const e=J.c(31),{loading:i,items:n,pageUrl:a,paginationType:p,pagination:s,storeCode:o,textSearchQuery:m,filters:b}=r,g=i===void 0?!1:i;let F;e[0]!==n?(F=n===void 0?[]:n,e[0]=n,e[1]=F):F=e[1];const u=F,A=Se.useRef(null);let C;e[2]===Symbol.for("react.memo_cache_sentinel")?(C=()=>Ce(A,50),e[2]=C):C=e[2];const $=C;let f;e[3]!==m?(f=Ue(m),e[3]=m,e[4]=f):f=e[4];const y=f,x=Me();let c;e[5]!==s.current||e[6]!==s.pageSize||e[7]!==s.total?(c=s.current?t.jsx("div",{children:t.jsx(Le,{children:t.jsx(te,{currentPage:s.current,itemsPerPage:s.pageSize,totalItems:s.total})})}):null,e[5]=s.current,e[6]=s.pageSize,e[7]=s.total,e[8]=c):c=e[8];let S;e[9]!==m?(S=t.jsx(z,{id:"components.artist.gridNoArtists",values:{p:Ve,strong:Je,a:B=>t.jsx(z,{id:"components.artist.gridNoArtistsLinkTitle",children:k=>t.jsx(be,{obfuscate:!0,rel:"nofollow",to:X.artList({search:{q:m||""}}),title:k,children:B})})},children:Ye}),e[9]=m,e[10]=S):S=e[10];let h;e[11]!==u||e[12]!==g||e[13]!==o||e[14]!==S?(h=t.jsx(Ie,{children:t.jsx(we,{renderFollow:!0,items:u,storeCode:o,infoListRenderer:ze,loading:g,noItems:S})}),e[11]=u,e[12]=g,e[13]=o,e[14]=S,e[15]=h):h=e[15];let L;e[16]!==u||e[17]!==a||e[18]!==s||e[19]!==p?(L=u&&u.length>0?t.jsx(ke,{children:t.jsx(_e,{...s,paginationType:p,pageUrl:a,beforeChange:$,children:Oe})}):null,e[16]=u,e[17]=a,e[18]=s,e[19]=p,e[20]=L):L=e[20];let d;e[21]!==g||e[22]!==h||e[23]!==L?(d=t.jsxs(re,{className:Ke,isActive:g,children:[h,L]}),e[21]=g,e[22]=h,e[23]=L,e[24]=d):d=e[24];let v;return e[25]!==b||e[26]!==x||e[27]!==y||e[28]!==d||e[29]!==c?(v=t.jsx("div",{ref:A,className:Ne,children:t.jsx(ve,{...b,sortList:y,sortTranslationPath:"options.sort.artist",bottomBoundary:x,headerRight:c,children:d})}),e[25]=b,e[26]=x,e[27]=y,e[28]=d,e[29]=c,e[30]=v):v=e[30],v}function Oe(r){return t.jsx(je,{...r})}function Ye(r){return r}function Je(r){return t.jsx("strong",{children:r})}function Ve(r){return t.jsx("p",{children:r})}const We=[{key:"search",render:"search",label:"forms.searchForm.keywordSearch",props:{showSuggestions:!0,placeholder:"forms.searchForm.artist.placeholder"}},{key:"sort",render:"sort",opened:!1},{key:"medium",items:[{dimension:"medium",componentKey:"mediumChecklist"}]},{key:"style",items:[{dimension:"style",componentKey:"styleChecklist"}]},{key:"initial",items:[{dimension:"initial"}]},{key:"born",items:[{dimension:"born",componentKey:"bornChecklist",sort:V}]},{key:"region",items:[{dimension:"region",componentKey:"regionChecklist"}]},{key:"stage",items:[{dimension:"stage",componentKey:"stageChecklist"}]},{key:"ships",items:[{dimension:"ships",componentKey:"shipsChecklist",sort:V,props:{showSearch:!0}}]},{key:"gender",items:[{dimension:"gender"}]}],He=[{dimension:"medium",componentKey:"mediumShortcut"},{dimension:"style",componentKey:"styleShortcut"}],Ze="ra-artist-list-filter-section";function Xe(r){const e=J.c(69),{domain:i,paginationType:n,location:a}=r;let p;e[0]!==a.search?(p=ae.parse(a.search),e[0]=a.search,e[1]=p):p=e[1];const{q:s}=p,o=s!==void 0,m=le(),b=Z(ce),{filters:g,page:F,sort:u}=Z(Pe(i),Te)||{},{pageUrl:A}=Ge();let C;e[2]!==g||e[3]!==F||e[4]!==u?(C=me({items:15,page:F,sort:u,artworks:!0,...g}),e[2]=g,e[3]=F,e[4]=u,e[5]=C):C=e[5];const $=C;let f;if(e[6]!==$){const{storeCode:tt,...ee}=$;f=ee,e[6]=$,e[7]=f}else f=e[7];let y;e[8]!==b?(y=b?{rankingCountry:b}:null,e[8]=b,e[9]=y):y=e[9];let x;e[10]!==s?(x=s?{textQuery:s}:null,e[10]=s,e[11]=x):x=e[11];let c;e[12]!==f||e[13]!==y||e[14]!==x?(c={inputArtistFilter:f,...y,...x},e[12]=f,e[13]=y,e[14]=x,e[15]=c):c=e[15];const S=!m;let h;e[16]!==c||e[17]!==S?(h={variables:c,skip:S},e[16]=c,e[17]=S,e[18]=h):h=e[18];const{loading:L,data:d,error:v}=de(pe,h),B=!!v||!d;let k,M,l,j,_,P,T,w;e[19]!==d||e[20]!==i||e[21]!==o?({items:l,pagination:j}=d&&d.searchArtists||{},e[30]!==i||e[31]!==o?(P=o?t.jsx(W,{background:"white",padding:"none",className:ye,children:t.jsx(H,{children:t.jsx(Be,{filterDomain:i,config:["medium","subMedium","style","subject","subSubject"]})})}):null,e[30]=i,e[31]=o,e[32]=P):P=e[32],e[33]!==i||e[34]!==o?(T=o?null:t.jsx($e,{className:Ze,children:t.jsx(Ae,{domain:i,config:["medium","subMedium","style","regi
1on","born"]})}),e[33]=i,e[34]=o,e[35]=T):T=e[35],M=W,_=Fe,k=xe,w=l&&l.length?{[fe.METATYPE.SCRIPT_LD_JSON_ARTISTS_LIST]:ue(he.ARTISTS_LIST,l.map(et))}:null,e[19]=d,e[20]=i,e[21]=o,e[22]=k,e[23]=M,e[24]=l,e[25]=j,e[26]=_,e[27]=P,e[28]=T,e[29]=w):(k=e[22],M=e[23],l=e[24],j=e[25],_=e[26],P=e[27],T=e[28],w=e[29]);let R;e[36]!==k||e[37]!==B||e[38]!==w?(R=t.jsx(k,{meta:w,hasError:B}),e[36]=k,e[37]=B,e[38]=w,e[39]=R):R=e[39];let Q;e[40]===Symbol.for("react.memo_cache_sentinel")?(Q={xs:"wide",sm:"wide",md:"wide",lg:"wide",xl:"wide"},e[40]=Q):Q=e[40];let E;e[41]!==l?(E=l&&l.length?t.jsx(Ee,{leadersList:l}):null,e[41]=l,e[42]=E):E=e[42];const q=L||!m,O=s;let I;e[43]!==i||e[44]!==o?(I={domain:i,sidebarModel:We,shortcutsModel:He,loadIndexedUrls:!0,isSsr:!0,initialSidebarOpen:o,stickyHeader:!0},e[43]=i,e[44]=o,e[45]=I):I=e[45];let N;e[46]!==j?(N=j?{totalPages:j.totalPages,total:j.totalItems,pageSize:j.itemsPerPage,current:j.currentPage}:{},e[46]=j,e[47]=N):N=e[47];let K;e[48]!==l||e[49]!==A||e[50]!==n||e[51]!==m||e[52]!==q||e[53]!==O||e[54]!==I||e[55]!==N?(K=t.jsx(qe,{items:l,storeCode:m,loading:q,pageUrl:A,textSearchQuery:O,paginationType:n,filters:I,pagination:N}),e[48]=l,e[49]=A,e[50]=n,e[51]=m,e[52]=q,e[53]=O,e[54]=I,e[55]=N,e[56]=K):K=e[56];let D;e[57]!==E||e[58]!==K?(D=t.jsxs(H,{sizes:Q,children:[E,K]}),e[57]=E,e[58]=K,e[59]=D):D=e[59];let G;e[60]!==M||e[61]!==_||e[62]!==R||e[63]!==D?(G=t.jsxs(M,{className:_,children:[R,D]}),e[60]=M,e[61]=_,e[62]=R,e[63]=D,e[64]=G):G=e[64];let U;return e[65]!==P||e[66]!==T||e[67]!==G?(U=t.jsxs(t.Fragment,{children:[P,T,G]}),e[65]=P,e[66]=T,e[67]=G,e[68]=U):U=e[68],U}function et(r){return{...r,url:X.artistProfile(r.id,r.alias,{origin:ge.get("origin")})}}function Kt(r){const e=J.c(8),i=Qe(),{translatedLocation:n}=ie(),a=oe.domain[r.routeConfig.filterDomainKey],p=ne.type.SLIDER;let s;e[0]!==a||e[1]!==n?(s=t.jsx(Xe,{domain:a,paginationType:p,location:n}),e[0]=a,e[1]=n,e[2]=s):s=e[2];let o;return e[3]!==a||e[4]!==n||e[5]!==i||e[6]!==s?(o=t.jsx(De,{match:i,location:n,paginationType:p,domain:a,children:s}),e[3]=a,e[4]=n,e[5]=i,e[6]=s,e[7]=o):o=e[7],o}export{Kt as default};
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.