1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[189],{15189:function(e,t,l){l.r(t),l.d(t,{default:function(){return j}});var i,n,o,s=l(4637),c=l(47683),r=l(70098),a=l(59496);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var i in l)({}).hasOwnProperty.call(l,i)&&(e[i]=l[i])}return e},d.apply(null,arguments)}var u=function(e){return a.createElement("svg",d({width:"1em",height:"1em",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.017 20c-1.381 0-2.728-.018-4.061-.05-1.705-.04-2.885-1.346-3.077-3.409-.322-3.421-.871-11.486-.876-11.567-.035-.498.279-.934.7-.973.415-.014.79.33.824.827.005.082.554 8.12.872 11.514.109 1.173.644 1.777 1.589 1.8 2.549.064 5.15.068 7.954.008 1.004-.023 1.546-.616 1.658-1.816.316-3.366.867-11.424.873-11.506.034-.496.406-.843.823-.827.421.04.735.475.701.973-.006.082-.558 8.167-.876 11.559-.198 2.104-1.375 3.385-3.151 3.424-1.36.027-2.67.043-3.953.043Z",fill:"#CFCFCF"})),n||(n=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.708 4.988H.75a.75.75 0 0 1 0-1.5h16.958a.75.75 0 0 1 0 1.5Z",fill:"#CFCFCF"})),o||(o=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.439 4.989a2.405 2.405 0 0 1-2.35-1.927l-.243-1.216c-.051-.185-.262-.346-.502-.346H7.11a.53.53 0 0 0-.512.392l-.233 1.17a2.404 2.404 0 0 1-2.35 1.927.75.75 0 0 1 0-1.5.9.9 0 0 0 .88-.722l.243-1.216C5.386.619 6.193 0 7.11 0h4.233c.918 0 1.725.619 1.962 1.506l.254 1.261a.899.899 0 0 0 .879.722.75.75 0 0 1 0 1.5Z",fill:"#CFCFCF"})))},m=l(36708),x=function(e){var t=e.item,l=function(){var e=r.Uf.PORTFOLIO,t=c.LS.getLocalItem(e,{});t&&i in t&&delete t[i],c.LS.setLocalItem(e,t),j.handleUpdate()},i=t.oid,n=t.img_s,o=(t.person_ss,t.list_title_s),d=t.list_museum_s,x=t.list_artist_s,h=t.list_dates_s,v=t.list_number_s,f=t.list_url_s,j=(0,a.useContext)(m.I),p="/collection/item",g=function(e){var t=e.textId,l=e.text,i=e.className,n=void 0===i?"":i;return(0,s.jsxs)("div",{className:"CollectionListCol PortfolioListCol ".concat(n),children:[(0,s.jsxs)("div",{className:"CollectionListLabel",children:[(0,s.jsx)(c.xv,{id:t}),":"]}),l||""]})},b=function(e){var t,l,n=e.textId,o=e.text,r=e.className,a=void 0===r?"":r,d=(null===window||void 0===window||null===(t=window.location)||void 0===t?void 0:t.pathname).replace("portfolio","").replaceAll("//","/"),u="".concat(d).concat(p,"/").concat(i).replaceAll("//","/"),m=new URL(u,null===window||void 0===window||null===(l=window.location)||void 0===l?void 0:l.origin).href;return(0,s.jsxs)("div",{className:"CollectionListCol PortfolioListCol ".concat(a),children:[(0,s.jsxs)("div",{className:"CollectionListLabel",children:[(0,s.jsx)(c.xv,{id:n}),":"]}),o?(0,s.jsx)("a",{className:"break-all lg:w-[200px]",href:m,rel:"noopener noreferrer",target:"_blank",children:m}):""]})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"CollectionListCol flex justify-end sm:col-span-8 lg:hidden",children:(0,s.jsx)("button",{className:"ml-auto print:hidden",onClick:l,children:(0,s.jsx)(u,{height:20,width:19})})}),(0,s.jsx)("div",{className:"CollectionListCol-Image PortfolioListCol page-break-avoid",children:(0,s.jsx)(c.nf,{className:"Item-Link",itemId:i,to:p,children:n?(0,s.jsx)(c.Ei,{alt:o,className:"ObjectGrid-Image",src:n}):(0,s.jsx)("img",{alt:"No image",className:"ObjectGrid-Image Item-emptyImage",src:"/img-error.svg"})})}),(0,s.jsxs)("div",{className:"CollectionListCol",children:[(0,s.jsxs)("div",{className:"CollectionListLabel",children:[(0,s.jsx)(c.xv,{id:"collection.list.title"}),":"]}),(0,s.jsx)(c.nf,{className:"Item-Link",itemId:i,to:p,children:o||""})]}),(0,s.jsx)(g,{text:d,textId:"collection.list.museum"}),(0,s.jsx)(g,{text:x,textId:"collection.list.artist"}),(0,s.jsx)(g,{text:h,textId:"collection.list.dates"}),(0,s.jsx)(g,{text:v,textId:"collection.list.number"}),(0,s.jsx)(b,{text:f,textId:"collection.list.url"}),(0,s.jsx)("div",{className:"CollectionListCol PortfolioListCol hidden lg:flex",children:(0,s.jsx)("button",{className:"mx-auto print:hidden",onClick:l,children:(0,s.jsx)(u,{height:20,width:19})})}),(0,s.jsx)("div",{className:"col-span-8 h-[8px] bg-body sm:block"})]})},h=function(){return(0,s.jsx)(s.Fragment,{children:["collection.list.image","collection.list.title","collection.list.museum","collection.list.artist","collection.list.dates","collection.list.number","collection.list.url","collection.list.portfolio"].map((function(e){return(0,s.jsx)("div",{className:"ObjectGrid-Header",children:(0,s.jsx)(c.xv,{id:e})},"ItemListObjectHeader.".concat(e))}))})},v=function(e){var t=e.items,l=e.error;return l?(0,s.jsx)("div",{children:l}):0===t.length?(0,s.jsx)("div",{children:(0,s.jsx)(c.xv,{id:"labelPortfolioEmpty"})}):(0,s.jsxs)("div",{className:"SearchFormResults-resultListWrapper ",children:[(0,s.jsx)(h,{}),null===t||void 0===t?void 0:t.map((function(e){return(0,s.jsx)(x,{item:e},e.oid)}))]})};function f(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var j=function(){var e={solrPath:"/solr/published",components:{itemList:v},storageKey:r.Uf,useLocalStorage:!0};return(0,s.jsx)(c._Y,function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{},i=Object.keys(l);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}
1)))),i.forEach((function(t){f(e,t,l[t])}))}return e}({},e))}}}]);
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.