PageSourceSearch

https://streetartcities.com/_next/static/chunks/02eyj5xy_kyhb.js

js streetartcities.com collected 2026-10-01 10:29:35 UTC 32,997 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61463,e=>{"use strict";var t=e.i(26863),r=e.i(122525),a=e.i(939217),s=e.i(509239);e.s(["default",0,({variant:e="primary",as:i="button",disabled:n=!1,size:l="normal",className:o="",...c})=>{let d=["inline-flex justify-center items-center border border-transparent font-medium rounded-md transition","focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-red-400 transition cursor-pointer",n&&"opacity-50 cursor-not-allowed","small"===l&&"p-2 text-xs","large"===l&&"px-5 py-3 text-base","normal"===l&&"px-4 py-2 text-sm","success"===e&&"shadow-xs text-white bg-emerald-500 hover:bg-emerald-600","primary"===e&&"shadow-xs text-white bg-red-500 hover:bg-red-600","white"===e&&"shadow-xs text-red-500 bg-white hover:bg-gray-50","outline-solid"===e&&"text-red-500 hover:text-red-600 border-red-500 hover:border-red-600","tertiary"===e&&"text-gray-500 hover:text-gray-600 border-gray-300 hover:border-gray-500","link"===e&&"text-red-500 hover:text-red-600 focus:ring-gray-100",!["success","primary","outline-solid","link","white","tertiary"].includes(e)&&"shadow-xs text-white bg-gray-500 hover:bg-gray-600",o];if(!c.href&&!c.to)return r.default.createElement(i,{...c,disabled:n,className:(0,s.cn)(d)});let h=c.href||c.to;return(0,t.jsx)(a.default,{href:h,...c,className:(0,s.cn)(d)})}])},590239,505695,e=>{"use strict";var t=e.i(26863),r=e.i(498180);let a=(0,r.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);e.s(["HistoryIcon",0,a],505695);var s=e.i(99461),i=e.i(34485),n=e.i(494913),l=e.i(276643),o=e.i(906176);let c=(0,r.default)("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);var d=e.i(109949),h=e.i(66774);let u=(0,r.default)("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);var m=e.i(404599),p=e.i(266033),x=e.i(813542);let g=({userId:e,avatar:r})=>{let{data:a}=(0,i.useData)(e&&`/users/${e}`),s=a?.displayName||"Someone";return(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[r&&(0,t.jsx)("span",{className:"inline-flex size-5 items-center justify-center overflow-hidden rounded-full bg-zinc-200 text-[10px] font-medium text-zinc-500 dark:bg-zinc-700 dark:text-zinc-300",children:a?.avatar?(0,t.jsx)("img",{src:a.avatar,alt:"",className:"size-full object-cover"}):s.slice(0,1).toUpperCase()}),(0,t.jsx)("a",{href:`/users/${e}`,target:"_blank",className:"font-medium text-zinc-700 hover:underline dark:text-zinc-300",children:s})]})},f=e=>(0,n.formatDistanceToNow)(new Date(e),{addSuffix:!0}),y=({change:e})=>{let{added:r,removed:a}=(0,x.listDelta)(e.before,e.after);return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-1 text-xs font-medium tracking-wide text-zinc-500 uppercase dark:text-zinc-400",children:"Photos"}),r.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:r.map((e,r)=>{let a=e.sizes?.small||e.url;return a?(0,t.jsx)("img",{src:a,alt:`Added photo ${r+1}`,className:"size-16 rounded-md bg-zinc-100 object-cover dark:bg-zinc-800"},a):null})}),a.length>0&&(0,t.jsx)("p",{className:"mt-1 text-sm text-red-600 dark:text-red-400",children:1===a.length?"A photo was removed.":`${a.length} photos were removed.`}),0===r.length&&0===a.length&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"The photos were updated."})]})},b=({changes:e})=>{let r=[e.find(e=>"address"===e.path),e.find(e=>"cityName"===e.path),e.find(e=>"country"===e.path)].filter(Boolean),a=e.some(e=>"lat"===e.path||"lng"===e.path);return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-1 text-xs font-medium tracking-wide text-zinc-500 uppercase dark:text-zinc-400",children:"Location"}),(0,t.jsx)("div",{className:"space-y-1",children:r.map(e=>(0,t.jsx)(p.ScalarChange,{before:e.before,after:e.after},e.path))}),a&&(0,t.jsx)("p",{className:r.length?"pt-1 text-xs text-zinc-500":"text-sm",children:"The map pin was moved."})]})},v=({edit:e})=>{let r=[...new Set([...Object.keys(e.snapshotOld??{}),...Object.keys(e.snapshotNew??{})])].map(t=>({path:t,before:e.snapshotOld?.[t],after:e.snapshotNew?.[t]})),a=(0,x.mergeTarget)(e),s=(0,x.renameTarget)(e),i=(0,x.isDeletion)(e),n="reverted"===e.status,v=r.some(e=>"markerType"===e.path)&&r.every(e=>(0,x.isEmpty)(e.before)),k=r.filter(x.isLocationChange),j=r.find(e=>"images"===e.path),w=r.filter(e=>!(0,x.isLocationChange)(e)&&"images"!==e.path);return(0,t.jsxs)("div",{className:"rounded-xl border divide-y divide-zinc-100 dark:divide-zinc-800 dark:border-zinc-800",children:[(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-xs text-zinc-500 dark:text-zinc-400",children:[(0,t.jsx)(g,{userId:e.createdBy,avatar:!0}
1),(0,t.jsx)("span",{"aria-hidden":!0,children:"·"}),(0,t.jsx)("span",{title:new Date(e.createdAt).toISOString(),children:f(e.createdAt)})]}),n&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-red-50 px-2 py-0.5 text-[11px] font-medium text-red-600 dark:bg-red-950 dark:text-red-400",children:[(0,t.jsx)(u,{className:"size-3"}),"Reverted"]})]}),(e.editComment||!!e.editAttachments?.length)&&(0,t.jsxs)("div",{className:"mb-3 flex flex-col gap-2 rounded-lg bg-zinc-50 px-3 py-2 text-sm text-zinc-600 dark:bg-zinc-800 dark:text-zinc-300",children:[e.editComment&&(0,t.jsx)("p",{className:"italic",children:e.editComment}),(0,t.jsx)(m.default,{attachments:e.editAttachments})]}),v?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-zinc-600 dark:text-zinc-400 font-medium",children:[(0,t.jsx)(c,{className:"size-3 shrink-0 text-zinc-500 dark:text-zinc-400"}),"Added this artwork to the map"]}):(0,t.jsxs)("div",{className:"space-y-2.5",children:[a&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-zinc-600 dark:text-zinc-400 font-medium",children:[(0,t.jsx)(o.CopyIcon,{className:"size-3 shrink-0 text-zinc-500 dark:text-zinc-400"}),"Merged with duplicate ",e.entityType]}),s&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-zinc-600 dark:text-zinc-400 font-medium",children:[(0,t.jsx)(d.PencilLineIcon,{className:"size-3 shrink-0 text-zinc-500 dark:text-zinc-400"}),"Renamed to ",(0,t.jsxs)("span",{className:"font-medium",children:["“",s,"”"]})]}),i&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-zinc-600 dark:text-zinc-400 font-medium",children:[(0,t.jsx)(h.Trash2Icon,{className:"size-3 shrink-0 text-zinc-500 dark:text-zinc-400"}),"Deleted this ",e.entityType]}),k.length>0&&(0,t.jsx)(b,{changes:k}),j&&(0,t.jsx)(y,{change:j}),w.map(e=>(0,t.jsx)(p.ChangePreview,{change:e},e.path)),0===r.length&&!a&&!s&&!i&&(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:"No change details available."})]})]}),e.reviewedBy&&"system"!==e.reviewedBy&&(0,t.jsxs)("div",{className:"px-4 py-2.5 flex flex-wrap items-center gap-x-1.5 gap-y-1 text-xs text-zinc-500 dark:text-zinc-400",children:[(0,t.jsx)(l.CheckIcon,{className:"size-3.5 text-green-600 dark:text-green-500"}),"Approved by ",(0,t.jsx)(g,{userId:e.reviewedBy}),e.reviewedAt&&(0,t.jsx)("span",{title:new Date(e.reviewedAt).toISOString(),children:f(e.reviewedAt)})]}),n&&(0,t.jsxs)("div",{className:"px-4 py-2.5 flex flex-wrap items-center gap-x-1.5 gap-y-1 text-xs text-zinc-500 dark:text-zinc-400",children:[(0,t.jsx)(u,{className:"size-3.5"}),"Reverted",e.revertedBy&&"system"!==e.revertedBy&&(0,t.jsxs)(t.Fragment,{children:[" ","by ",(0,t.jsx)(g,{userId:e.revertedBy})]}),e.revertedAt&&(0,t.jsx)("span",{title:new Date(e.revertedAt).toISOString(),children:f(e.revertedAt)})]})]})};e.s(["EditHistoryList",0,({entityType:e,entityId:r,entityDisplayName:n})=>{let{data:l,error:o}=(0,i.useData)(`/edits/history/${e}/${r}`),c=l?.edits;return c||o?o?(0,t.jsx)("p",{className:"py-16 text-center text-muted-foreground",children:"We couldn’t load the edit history. Please try again later."}):c&&0!==c.length?(0,t.jsx)("div",{className:"space-y-3",children:c.map(e=>(0,t.jsx)(v,{edit:e},e.id))}):(0,t.jsxs)("div",{className:"py-16 text-center",children:[(0,t.jsx)(a,{className:"mx-auto size-10 text-zinc-300 dark:text-zinc-600"}),(0,t.jsxs)("p",{className:"mt-4 text-muted-foreground",children:["No edits have been made to this ",n||e," yet."]})]}):(0,t.jsx)("div",{className:"flex justify-center py-16 text-muted-foreground",children:(0,t.jsx)(s.Loader2Icon,{className:"size-6 animate-spin"})})}],590239)},563552,e=>{"use strict";var t=e.i(26863),r=e.i(988405),a=e.i(590239);e.s(["EditHistorySheet",0,({entityType:e,entityId:s,open:i,onOpenChange:n,entityDisplayName:l})=>(0,t.jsx)(r.Sheet,{open:i,onOpenChange:n,children:(0,t.jsxs)(r.SheetContent,{className:"sm:max-w-lg",children:[(0,t.jsxs)(r.SheetHeader,{children:[(0,t.jsx)(r.SheetTitle,{children:"Edit history"}),(0,t.jsxs)(r.SheetDescription,{children:["Changes the community has made to this"," ",l||e,"."]})]}),(0,t.jsx)(a.EditHistoryList,{entityType:e,entityId:s,entityDisplayName:l})]})})])},255897,e=>{"use strict";var t=e.i(26863);e.i(122525);var r=e.i(939217),a=e.i(509239);e.s(["default",0,({tags:e=[],className:s="",containerClassName:i=""})=>
1{if(!e?.length)return null;let n=(0,a.cn)("font-semibold py-2 px-3 text-xs bg-gray-100 rounded-full whitespace-nowrap flex items-center gap-2 transition",s);return(0,t.jsx)("div",{className:(0,a.cn)("flex flex-wrap gap-2 mt-2 mb-3",i),children:e.map(e=>{if(!e)return null;"string"==typeof e&&(e=e.includes("Best Of ")?{title:e,href:"/best-of/"+e.substring(e.length-4)}:{title:e});let{title:s,href:i,className:l,metaTitle:o,onClick:c}=e;return i?(0,t.jsx)(r.default,{href:i,title:o,className:(0,a.cn)(n,l||"hover:bg-gray-200"),children:s},i):c?(0,t.jsx)("a",{title:o,className:(0,a.cn)(n,l||"hover:bg-gray-200"),onClick:c,target:"_blank",rel:"noopener noreferrer",children:s},i):(0,t.jsx)("div",{title:o,className:n,children:s},s)})},"marker-tags")}])},911755,e=>{"use strict";var t=e.i(26863),r=e.i(122525),a=e.i(939217),s=e.i(401851),i=e.i(509239),n=e.i(128020),l=e.i(645332),o=e.i(713341),c=e.i(34485),d=e.i(973148);let h=({entityType:e,entity:r,attribute:a})=>{let{isLoggedIn:s}=(0,n.useAccessToken)(),{data:i}=(0,c.useData)(`attributes?entityType=${e}`),h=(0,l.useOpenSuggestEdit)(),u=i?.find(e=>e.id===a.id)||a;return s&&"tags"===u.fieldType?(0,t.jsx)(o.Button,{variant:"ghost",size:"sm",className:"size-5 p-0 rounded-3xl text-xs text-zinc-500 hover:text-zinc-900 hover:bg-zinc-100 ml-0.5",onClick:()=>h(e,r,["attributes"],{attribute:u,value:r.attributes?.[a.id]}),children:(0,t.jsx)(d.PencilIcon,{className:"size-2.5!"})}):null};var u=e.i(713752),m=e.i(456321);let p=({entityType:e,entity:a})=>{let{isLoggedIn:s}=(0,n.useAccessToken)(),{data:i}=(0,c.useData)(`attributes?entityType=${e}`),d=(0,l.useOpenSuggestEdit)(),[h,p]=(0,r.useState)(!1),x=(0,r.useMemo)(()=>i?i.filter(e=>!a.attributesDetails?.some(t=>t.id===e.id)).filter(e=>"tags"===e.fieldType):[],[i,a.attributesDetails]);return s?(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5 mt-2",children:[x.slice(0,h?x.length:3).map(r=>(0,t.jsxs)(o.Button,{variant:"secondary",size:"sm",className:"px-2.5 pl-2 h-6 rounded-3xl text-xs gap-1 hover:bg-zinc-200",onClick:()=>d(e,a,["attributes"],{attribute:r,value:a.attributes?.[r.id]}),children:[(0,t.jsx)(m.PlusIcon,{className:"size-3! text-zinc-500"}),r.name]},r.id)),!h&&x.length>3&&(0,t.jsx)(o.Button,{variant:"secondary",size:"sm",className:"size-6 p-0 rounded-3xl text-xs hover:bg-zinc-200",onClick:()=>p(!0),children:(0,t.jsx)(u.MoreHorizontalIcon,{className:"size-3! text-zinc-500"})})]}):null};e.s(["EntityAttributesTable",0,({entityType:e,entity:n,attributes:l,className:o,tableClassName:c})=>(0,t.jsxs)("div",{className:(0,i.cn)("inline-block w-full overflow-x-auto text-sm",o),children:[(0,t.jsx)("table",{className:c,children:(0,t.jsx)("tbody",{children:l.map((o,c)=>(0,t.jsxs)("tr",{className:c!==l.length-1?"border-b border-gray-100":"",children:[(0,t.jsxs)("th",{className:"py-3 pr-4 text-left align-top text-gray-900 font-medium min-w-32",children:[(0,t.jsx)("span",{title:o.description,children:o.name}),(0,t.jsx)(h,{entityType:e,entity:n,attribute:o})]}),(0,t.jsx)("td",{className:"py-3",children:o.component||o.values.map(({value:e,marker:n,artist:l,href:c,type:d},h)=>{let u=h!==o.values.length-1?", ":"";if("markers"===d&&n)return"string"==typeof n?(0,t.jsx)(a.default,{className:(0,i.cn)("flex items-center gap-1.5","text-red-500 hover:text-red-800"),href:n,children:"Marker"},h):(0,t.jsxs)(a.default,{className:(0,i.cn)("flex items-center gap-1.5","text-red-500 hover:text-red-800"),href:`/markers/${n.entityId}`,children:[(0,t.jsx)("img",{src:n.thumbnail,alt:n.title||"Untitled",className:"size-6 object-cover rounded-sm bg-gray-100 shrink-0 my-1"}),(0,t.jsxs)("span",{children:[n.title||"Untitled",n.artistsString&&(0,t.jsxs)("span",{className:"text-gray-500 text-sm",children:[" ","by ",n.artistsString]})]})]},h);if("artists"===d&&l)return"string"==typeof l?(0,t.jsx)(a.default,{className:(0,i.cn)("flex items-center gap-1.5","text-red-500 hover:text-red-800"),href:l,children:"Artist"},h):(0,t.jsxs)(a.default,{className:(0,i.cn)("flex items-center gap-1.5","text-red-500 hover:text-red-800"),href:`/artists/${l.entityId}`,children:[l.thumbnail&&(0,t.jsx)("img",{src:l.thumbnail,alt:l.title||"Artist",className:"size-6 object-cover rounded-full bg-gray-100 shrink-0 my-1"}),(0,t.jsx)("span",{children:l.title||"Unknown artist"})]},h);if("date"===o.fieldType||"date"===d)try{e=(0,s.format)(new Date(e),"MMM d, yyyy")}catch(e){console.log("Error formatting date:",e)}return c?(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(a.default,{href:c,className:"text-red-500 hover:text-red-800",children:e}),u]},h):(0,t.jsxs)(r.Fragment,{children:[e.toString(),u]},h)})})]},o.id))})}),(0,t.jsx)(p,{entityType:e,entity:n})]})],911755)},744267,435276,e=>{"use strict";var t=e.i(26863);e.s(["FacebookIcon",0,e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:(0,t.jsx)("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})})],744267),e.s(["InstagramIcon",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,t.jsx)("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),(0,t.jsx)("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),(0,t.jsx)("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})]})],435276)},246171,e=>{"use strict";let t=(0,e.i(498180).default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);e.s(["Link",0,t],246171)},687407,e=>{"use strict";let t=(0,e.i(498180).default)("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}
1],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);e.s(["ShoppingCart",0,t],687407)},938513,e=>{"use strict";let t=(0,e.i(498180).default)("share",[["path",{d:"M12 2v13",key:"1km8f5"}],["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}]]);e.s(["ShareIcon",0,t],938513)},782584,e=>{"use strict";var t=e.i(26863),r=e.i(122525),a=e.i(415850),s=e.i(62106);let i={artwork:{source:"markers",clusterLayer:"clusters",clusterCountLayer:"cluster-count",radius:15},nonArtwork:{source:"non-artwork-markers",pointLayer:"non-artwork-points"}},n=e=>({type:"FeatureCollection",features:e.filter(e=>e.location?.lat&&e.location?.lng).map(e=>({type:"Feature",geometry:{type:"Point",coordinates:[e.location.lng,e.location.lat]},properties:e}))}),l=e=>!e.type||"artwork"===e.type,o=e=>({getSouthWest:()=>[e.getSouthWest().lat,e.getSouthWest().lng],getNorthEast:()=>[e.getNorthEast().lat,e.getNorthEast().lng]});e.s(["Map",0,({centerPoint:e,zoom:c,onBoundsChanged:d,onLoad:h,onBeforeLoad:u,className:m="",style:p,minimal:x,id:g="",mapRef:f=()=>{},markers:y=[],minZoom:b,autoFit:v=!1,allowInteraction:k=!0,cluster:j=!0,showPlacesProminently:w=!1,noRecenter:N=!1})=>{let z=(0,r.useRef)(null),A=(0,r.useRef)([]),[O,S]=(0,r.useState)(null),E=()=>{if(v&&z.current&&y.length){let e=new a.default.LngLatBounds,t=y.filter(e=>e.location?.lat&&e.location?.lng);t.length&&(t.forEach(t=>{e.extend([t.location.lng,t.location.lat])}),z.current.fitBounds(e,{padding:50,animate:!1}))}};return(0,r.useEffect)(()=>{O&&(A.current=y,O.artwork.setData(n(w?y.filter(l):y)),O.nonArtwork.setData(n(w?y.filter(e=>!l(e)):[])),E())},[y,w,O]),(0,r.useEffect)(()=>{z.current&&!v&&d&&d(o(z.current.getBounds()))},[z.current,g]),(0,t.jsx)(s.MapBase,{centerPoint:e,zoom:c,style:p,minZoom:b,className:m,id:g,noRecenter:N,mapOptions:{logoPosition:x?"bottom-left":"bottom-right",attributionControl:!1,dragPan:k,dragRotate:k,scrollZoom:k,boxZoom:k,doubleClickZoom:k,touchZoomRotate:k},onBeforeLoad:e=>{z.current=e,f&&f(e),E(),u&&u(e)},onLoad:(e,t)=>{for(let[t,r]of(z.current=e,d&&(d(o(e.getBounds())),e.on("moveend",()=>{d(o(e.getBounds()))})),Object.entries(i))){let a=y.filter(e=>"artwork"===t?!w||l(e):w&&!l(e));e.addSource(r.source,{type:"geojson",data:n(a),cluster:"artwork"===t,clusterMaxZoom:20*!!j,clusterRadius:i.artwork.radius}),"artwork"===t?(e.addLayer({id:i.artwork.clusterLayer,type:"circle",source:r.source,filter:["has","point_count"],paint:{"circle-color":"#e62d37","circle-opacity":.75,"circle-radius":15}}),e.addLayer({id:i.artwork.clusterCountLayer,type:"symbol",source:r.source,filter:["has","point_count"],layout:{"text-field":"{point_count_abbreviated}","text-font":["DIN Offc Pro Bold","Arial Unicode MS Regular","Open Sans Regular"],"text-size":12},paint:{"text-color":"#ffffff"}})):e.addLayer({id:i.nonArtwork.pointLayer,type:"circle",source:r.source,paint:{"circle-radius":0,"circle-opacity":0}})}S({artwork:e.getSource(i.artwork.source),nonArtwork:e.getSource(i.nonArtwork.source)}),e.on("click",i.artwork.clusterLayer,async t=>{let r=e.queryRenderedFeatures(t.point,{layers:[i.artwork.clusterLayer]});if(r.length>0){let t=r[0].properties.cluster_id,s=r[0].geometry.coordinates;e.getZoom()>=14?e.getSource(r[0].source).getClusterLeaves(t,100,0).then(t=>{let r="";t.length>0&&(r+="<div class='flex flex-wrap'>",t.forEach(e=>{r+=`<img class='w-1/4 p-1 max-w-full cursor-pointer' src="${e.properties?.marker}" alt="${e.properties?.title}" />`}),r+="</div>");let i=new a.default.Popup({closeButton:!1}).setLngLat(s).setHTML(r).addTo(e);t.forEach(e=>{let t=i.getElement().querySelector(`[src="${e.properties?.marker}"]`);t&&(t.addEventListener("click",()=>{let t=A.current.find(t=>t.id===e.properties?.id);t&&t.onClick?t.onClick():window.open(t?.href||e.properties?.href)}),t.addEventListener("error",()=>{t.src="/images/map/marker-empty.png"}))})}).catch(e=>{console.error("Error fetching cluster leaves:",e)}):e.easeTo({center:s,zoom:e.getZoom()+2})}});let r={},s={};e.on("render",()=>{if(!Object.values(i).some(({source:t})=>!e.isSourceLoaded(t))){let t={};for(let n of Object.values(i).flatMap(({source:t})=>e.querySourceFeatures(t))){let{properties:i,geometry:l}=n;if(i.cluster&&j)continue;let o=r[i.id];if(!o){let e=document.createElement("img");e.src=i.marker||"/images/map/marker-empty.png",e.onerror=()=>{e.src="/images/map/marker-empty.png"},i.marker?(e.style.width="58px",e.style.height="63px"):(e.style.width="36px",e.style.height="41px"),e.style.cursor="pointer",e.style.backgroundSize="contain",e.title=i.title,e.id=i.id,e.addEventListener("click",()=>{let e=A.current.find(e=>e.id===i.id);e&&e.onClick?e.onClick():window.open(e?.href||i.href)}),o=r[i.id]=new a.default.Marker({element:e}).setLngLat(l.coordinates)}t[i.id]=o,s[i.id]||o.addTo(e)}for(let e in s)t[e]||s[e].remove();s=t}}),h&&h(e,t)}})}])},136163,(e,t,r)=>{var a=e.i(447927);!function(r){let s;function i(e,t){let r=o(e,t);if(""===r){let a="";for(let t=0;t<e.length;t++){let r=function(e,t){let r=e.charCodeAt(t);if(isNaN(r))throw RangeError("Index "+t+' out of range for string "'+e+'"; please open an issue at https://github.com/Trott/slug/issues/new');if(r<55296||r>57343)return[e.charAt(t),t];if(r>=55296&&r<=56319){if(e.length<=t+1)return[" ",t];let r=e.charCodeAt(t+1);return r<56320||r>57343?[" ",t]:[e.charAt(t)+e.charAt(t+1),t+1]}if(0===t)return[" ",t];let a=e.charCodeAt(t-1);if(a<55296||a>56319)return[" ",t];throw Error('String "'+e+'" reaches code believed to be unreachable; please open an issue at https://github.com/Trott/slug/issues/new')}(e,t);t=r[1],a+=r[0]}r=o(s(a),t)}return r}s="u">typeof window?window.btoa?function(e){return btoa(unescape(encodeURIComponent(e)))}:function(e){let t=unescape(encodeURIComponent(e+"")),r="";for(let e,a,s=0,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=";t.charAt(0|s)||(i="=",s%1);r+=i.charAt(63&e>>8-s%1*8)){if((a=t.charCodeAt(s+=3/4))>255)throw Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");e=e<<8|a}return r}:function(e){return a.Buffer.from(e).toString("base64")},"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){"use strict";if(null==e)throw TypeError("Cannot convert undefined or null to object");let r=Object(e);for(let e=1;e<arguments.length;e++){let t=arguments[e];if(null!=t)for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])}return r},writable:!0,configurable:!0});let n={bg:{Й:"Y",й:"y",X:"H",x:"h",Ц:"Ts",ц:"ts",Щ:"Sht",щ:"sht",Ъ:"A",ъ:"a",Ь:"Y",ь:"y"},de:{Ä:"AE",ä:"ae",Ö:"OE",ö:"oe",Ü:"UE",ü:"ue"},sr:{đ:"dj",Đ:"DJ"},uk:{И:"Y",и:"y",Й:"Y",й:"y",Ц:"Ts",ц:"ts",Ð¥:"Kh",х:"kh",Щ:"Shch",щ:"shch",Г:"H",г:"h"}},l={};function o(e,t){if("string"!=typeof e)throw Error("slug() requires a string argument, received "+typeof e);"string"==typeof t&&(t={replacement:t}),(t=t?Object.assign({},t):{}).mode=t.mode||i.defaults.mode;let r=i.defaults.modes[t.mode],a=["replacement","multicharmap","charmap","remove","lower","trim"];for(let e,s=0,i=a.length;s<i;s++)t[e=a[s]]=e in t?t[e]:r[e];let s=n[t.locale]||l,o=[];for(let e in t.multicharmap){if(!Object.prototype.hasOwnProperty.call(t.multicharmap,e))continue;let r=e.length;-1===o.indexOf(r)&&o.push(r)}o=o.sort(function(e,t){return t-e});let c="rfc3986"===t.mode?/[^\w\s\-.~]/:/[^A-Za-z0-9\s]/,d="";for(let r,a=0,i=e.length;a<i;a++){r=e[a];let i=!1;for(let s=0;s<o.length;s++){let n=o[s],l=e.substr(a,n);if(t.multicharmap[l]){a+=n-1,r=t.multicharmap[l],i=!0;break}}i||(r=s[r]?s[r]:t.charmap[r]?t.charmap[r].replace(t.replacement," "):r.includes(t.replacement)?r.replace(t.replacement," "):r.replace(c,"")),d+=r}return t.remove&&(d=d.replace(t.remove,"")),t.trim&&(d=d.trim()),d=d.replace(/\s+/g,t.replacement),t.lower&&(d=d.toLowerCase()),d}let c={फ़:"Fi",ग़:"Ghi",ख़:"Khi",क़:"Qi",ड़:"ugDha",ढ़:"ugDhha",य़:"Yi",ज़:"Za",בִי:"i",בֵ:"e",בֵי:"e",בֶ:"e",בַ:"a",בָ:"a",בֹ:"o",וֹ:"o",בֻ:"u",וּ:"u",בּ:"b",כּ:"k",ךּ:"k",פּ:"p",שׁ:"sh",שׂ:"s",בְ:"e",חֱ:"e",חֲ:"a",חֳ:"o",בִ:"i"},d={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ő:"O",Ø:"O",Ō:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ő:"o",ø:"o",ō:"o",Œ:"OE",œ:"oe",ù:"u",ú:"u",û:"u",ü:"u",ű:"u",ý:"y",þ:"th",ÿ:"y",ẞ:"SS",α:"a",β:"b",γ:"g",δ:"d",ε:"e",ζ:"z",η:"h",θ:"8",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"3",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"w",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"h",ώ:"w",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"H",Θ:"8",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"3",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Î¥:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"W",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"H",Ώ:"W",Ϊ:"I",Ϋ:"Y",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"j",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"u",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"J",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Ð¥:"H",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"U",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Å»:"Z",ā:"a",ē:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",ņ:"n",Å«:"u",Ā:"A",Ē:"E",Ä¢:"G",Ī:"I",Ķ:"K",Ä»:"L",Ņ:"N",Ū:"U",Ø£:"a",Ø¥:"i",ب:"b",ت:"t",Ø«:"th",ج:"g",Ø­:"h",Ø®:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",Ø´:"sh",ص:"s",ض:"d",Ø·:"t",ظ:"th",ع:"aa",غ:"gh",ف:"f",ق:"k",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"o",ي:"y",Ø¡:"aa",Ø©:"a",Ø¢:"a",ا:"a",Ù¾:"p",ژ:"zh",Ú¯:"g",چ:"ch",Ú©:"k",ی:"i",ė:"e",į:"i",ų:"u",Ė:"E",Ä®:"I",Ų:"U",ț:"t",Ț:"T",Å£:"t",Å¢:"T",ș:"s",Ș:"S",ă:"a",Ă:"A",Ạ:"A",á
1º¢:"A",Ầ:"A",Ấ:"A",Ậ:"A",Ẩ:"A",Ẫ:"A",Ằ:"A",Ắ:"A",Ặ:"A",Ẳ:"A",Ẵ:"A",Ẹ:"E",Ẻ:"E",Ẽ:"E",Ề:"E",Ế:"E",Ệ:"E",Ể:"E",Ễ:"E",Ị:"I",Ỉ:"I",Ĩ:"I",Ọ:"O",Ỏ:"O",Ồ:"O",Ố:"O",Ộ:"O",Ổ:"O",Ỗ:"O",Æ :"O",Ờ:"O",Ớ:"O",Ợ:"O",Ở:"O",á» :"O",Ụ:"U",Ủ:"U",Ũ:"U",Ư:"U",Ừ:"U",Ứ:"U",á»°:"U",Ử:"U",á»®:"U",Ỳ:"Y",á»´:"Y",á»¶:"Y",Ỹ:"Y",Đ:"D",ạ:"a",ả:"a",ầ:"a",ấ:"a",ậ:"a",ẩ:"a",ẫ:"a",ằ:"a",ắ:"a",ặ:"a",ẳ:"a",ẵ:"a",ẹ:"e",ẻ:"e",ẽ:"e",ề:"e",ế:"e",ệ:"e",ể:"e",ễ:"e",ị:"i",ỉ:"i",Ä©:"i",ọ:"o",ỏ:"o",ồ:"o",ố:"o",ộ:"o",ổ:"o",ỗ:"o",Æ¡:"o",ờ:"o",ớ:"o",ợ:"o",ở:"o",ỡ:"o",ụ:"u",á»§:"u",Å©:"u",ư:"u",ừ:"u",ứ:"u",á»±:"u",á»­:"u",ữ:"u",ỳ:"y",ỵ:"y",á»·:"y",ỹ:"y",đ:"d",Ә:"AE",ә:"ae",Ғ:"GH",ғ:"gh",Қ:"KH",қ:"kh",Ò¢:"NG",Ò£:"ng",Ò®:"UE",Ò¯:"ue",Ò°:"U",Ò±:"u",Òº:"H",Ò»:"h",Ó¨:"OE",Ó©:"oe",ђ:"dj",ј:"j",љ:"lj",њ:"nj",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Љ:"Lj",Њ:"Nj",Ћ:"C",Џ:"Dz",nj:"nj",lj:"lj",Nj:"NJ",Lj:"LJ",अ:"a",आ:"aa",ए:"e",ई:"ii",ऍ:"ei",ऎ:"ae",ऐ:"ai",इ:"i",ओ:"o",ऑ:"oi",ऒ:"oii",ऊ:"uu",औ:"ou",उ:"u",ब:"B",भ:"Bha",च:"Ca",छ:"Chha",ड:"Da",ढ:"Dha",फ:"Fa",ग:"Ga",घ:"Gha",ग़:"Ghi",ह:"Ha",ज:"Ja",झ:"Jha",क:"Ka",ख:"Kha",ख़:"Khi",ल:"L",ळ:"Li",ऌ:"Li",ऴ:"Lii",ॡ:"Lii",म:"Ma",न:"Na",ङ:"Na",ञ:"Nia",ण:"Nae",ऩ:"Ni",ॐ:"oms",प:"Pa",क़:"Qi",र:"Ra",ऋ:"Ri",ॠ:"Ri",ऱ:"Ri",स:"Sa",श:"Sha",ष:"Shha",ट:"Ta",त:"Ta",ठ:"Tha",द:"Tha",थ:"Tha",ध:"Thha",ड़:"ugDha",ढ़:"ugDhha",व:"Va",य:"Ya",य़:"Yi",ज़:"Za",ə:"e",Ə:"E",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",ב:"v",גּ:"g",ג:"g",ד:"d",דּ:"d",ה:"h",ו:"v",ז:"z",ח:"h",ט:"t",י:"y",כ:"kh",ך:"kh",ל:"l",מ:"m",ם:"m",× :"n",ן:"n",ס:"s",פ:"f",×£:"f",×¥:"ts",צ:"ts",×§:"k",ר:"r",תּ:"t",ת:"t"};if(i.charmap=Object.assign({},d),i.multicharmap=Object.assign({},c),i.defaults={charmap:i.charmap,mode:"pretty",modes:{rfc3986:{replacement:"-",remove:null,lower:!0,charmap:i.charmap,multicharmap:i.multicharmap,trim:!0},pretty:{replacement:"-",remove:null,lower:!0,charmap:i.charmap,multicharmap:i.multicharmap,trim:!0}},multicharmap:i.multicharmap},i.reset=function(){i.defaults.modes.rfc3986.charmap=i.defaults.modes.pretty.charmap=i.charmap=i.defaults.charmap=Object.assign({},d),i.defaults.modes.rfc3986.multicharmap=i.defaults.modes.pretty.multicharmap=i.multicharmap=i.defaults.multicharmap=Object.assign({},c),l=""},i.extend=function(e){let t=Object.keys(e),r={},a={};for(let s=0;s<t.length;s++)t[s].length>1?r[t[s]]=e[t[s]]:a[t[s]]=e[t[s]];Object.assign(i.charmap,a),Object.assign(i.multicharmap,r)},i.setLocale=function(e){l=n[e]||{}},"u">typeof define&&define.amd)void 0!==i&&e.v(i);else t.exports?t.exports=i:r.slug=i}(e.e)},813464,e=>{"use strict";var t=e.i(26863),r=e.i(122525),a=e.i(824678),a=a,s=e.i(73084);e.s(["Tabs",0,({children:e,mobileSelect:i=!1,className:n})=>{let[l,o]=(0,r.useState)(0),c=(0,r.useRef)(!1),d=!Array.isArray(e)&&e?[e]:e||[],h=d.map(e=>e?.props?.["data-title"]).filter(Boolean),u=h.join("|");return(0,r.useEffect)(()=>{if(c.current)return;let e=window.location.hash.split("?")[0].replace("#","").split("#")[0];if(!e)return;let t=d.findIndex(t=>t?.props?.["data-title"]&&t.props["data-title"].toLowerCase().replace(/\s+/g,"-")===e.toLowerCase());t>=0&&(c.current=!0,o(t))},[u]),(0,t.jsxs)("div",{className:n,children:[i&&h.length>1&&(0,t.jsxs)("div",{className:"sm:hidden relative",children:[(0,t.jsx)("label",{htmlFor:"tabs",className:"sr-only",children:"Select a tab"}),(0,t.jsx)(a.default,{className:"absolute h-4 w-4 top-1/2 -mt-2 left-3"}),(0,t.jsx)("select",{id:"tabs",name:"tabs",className:"block w-full pl-8 font-medium pr-10 py-2 text-base border-zinc-300 focus:outline-none focus:ring-red-500 focus:border-red-500 sm:text-sm rounded-md dark:border-zinc-700 dark:bg-transparent dark:text-white",onCh
1ange:e=>o(Number(e.target.value)),value:l,children:d.map((e,r)=>e?.props?.["data-title"]&&(0,t.jsx)("option",{value:r,children:e.props["data-title"]},e.props["data-title"]))})]}),h.length>1&&(0,t.jsx)("div",{className:(0,s.cn)("border-b border-gray-200 mb-5 dark:border-zinc-800",i&&"hidden sm:block"),children:(0,t.jsx)("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:d.map((e,r)=>e?.props?.["data-title"]&&(0,t.jsx)("button",{className:(0,s.cn)(r===l?"border-red-500 text-red-500":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-zinc-400 dark:hover:text-zinc-200","whitespace-nowrap py-2 border-b-2 text-sm sm:text-normal font-medium"),onClick:()=>o(r),"aria-current":r===l?"page":void 0,children:e.props["data-title"]},e.props["data-title"]))})}),d.map((e,t)=>t===l?e:null)]})}],813464)},644537,e=>{"use strict";var t=e.i(55545),r=e.i(455024),a=e.i(845110),s=e.i(381515),i=e.i(401851);e.s(["formatRelative",0,function(e,n,l){let o,[c,d]=(0,a.normalizeDates)(l?.in,e,n),h=(0,r.getDefaultOptions)(),u=l?.locale??h.locale??t.defaultLocale,m=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??h.weekStartsOn??h.locale?.options?.weekStartsOn??0,p=(0,s.differenceInCalendarDays)(c,d);if(isNaN(p))throw RangeError("Invalid time value");o=p<-6?"other":p<-1?"lastWeek":p<0?"yesterday":p<1?"today":p<2?"tomorrow":p<7?"nextWeek":"other";let x=u.formatRelative(o,c,d,{locale:u,weekStartsOn:m});return(0,i.format)(c,x,{locale:u,weekStartsOn:m})}])},657580,e=>{"use strict";var t=e.i(26863),r=e.i(939217);e.s(["MarkerTile",0,({marker:e,showDetails:a=!0,...s})=>(0,t.jsx)(r.default,{href:`/markers/${e.id}`,className:"block flex-auto w-full bg-gray-50 dark:bg-zinc-800 overflow-hidden aspect-square rounded-lg shadow-l relative",...s,style:{backgroundImage:a?`linear-gradient(0deg, rgba(0,0,0,0.3), rgba(0,0,0,0.30)), url(${e.thumbnail||"/images/icon.png"})`:`url(${e.thumbnail||"/images/icon.png"})`,backgroundPosition:"center",backgroundSize:"cover",backgroundRepeat:"no-repeat"},children:a&&(0,t.jsxs)("div",{className:"absolute bottom-2 inset-2.5 top-auto text-white text-sm",children:[(0,t.jsx)("div",{className:"font-bold truncate",children:e.artistsString}),(0,t.jsx)("div",{className:"truncate",children:e.title})]})})])},344950,e=>{"use strict";e.s(["getPlaceTypeLabel",0,e=>(e||"").replace(/[-_]+/g," ").replace(/\b\w/g,e=>e.toUpperCase())])},773704,e=>{"use strict";let t=(0,e.i(498180).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["default",0,t])},61940,e=>{"use strict";var t=e.i(773704);e.s(["Globe",()=>t.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.