dotfiles/.config/spicetify/Extracted/Themed/xpui/xpui-routes-collection-conc...

2 lines
27 KiB
JavaScript
Raw Normal View History

2024-07-11 00:01:49 +05:30
"use strict";(("undefined"!=typeof self?self:global).webpackChunkopen=("undefined"!=typeof self?self:global).webpackChunkopen||[]).push([[5835],{48532:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(59496),s=n(56162),o=n(3802),r=n(63120),c=n(23521),i=n(75252),l=n(97009),d=n(27532);const m="MUiWCNTfb6FcSwVPvQ1V",g="UAk3bMhekwJTV_wIyfsT",u="X9w6LPfKsZHMCs38sVIQ",h="NXn5KjeUOjLGlAfS1Gao",p="N0wgFMDDvCiby4QB5kLJ",v="nloNe2BLRHjz9dxlwfLU",f="JzXND83mXvcEuntCNR34",j="GR08E4L_rOGljyQQX30R";var x=n(4637);const y=(0,a.memo)((e=>{const{concert:t,isVirtual:n,onClick:a}=e,{venue:y,location:N}=t,b=t.artists[0],w=(0,l.CH)(t.startDate.localDate);return(0,x.jsxs)(r.Link,{to:`/concert/${t.id}`,className:m,onClick:a,children:[b.imageUri&&(0,x.jsx)(c.Z,{children:(0,x.jsx)("div",{role:"img",className:j,style:{backgroundImage:`linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(6, 6, 6, 0.6) 60%, rgba(0, 0, 0, 0.7) 100%), url(${b.imageUri})`}})}),(0,x.jsx)("time",{className:g,dateTime:t.startDate.localDate,children:(0,x.jsx)(s.D,{as:"h5",variant:"mestoBold",children:(0,l.jx)(w)})}),(0,x.jsxs)("div",{className:u,dir:"auto",children:[(0,x.jsxs)(s.D,{as:"h2",className:f,variant:"mesto",children:[(0,i.FO)(w)," • ",(0,l.hK)(w)]}),(0,x.jsx)(s.D,{as:"h2",variant:"cello",weight:"bold",className:h,children:(0,d.ij)(t)}),(0,x.jsx)("div",{className:p,children:(0,x.jsx)(s.D,{as:"h2",className:v,variant:"mesto","data-testid":"location-name",children:n?y:[y,N].join(o.ag.getSeparator())})})]})]})}))},47698:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Ht});var a=n(59496),s=n(61740),o=n(89605),r=n(33103),c=n(94041),i=n(84588),l=n(78780),d=n(17096),m=n(56162),g=n(36844),u=n(78328),h=n(3802),p=n(22521),v=n(41226),f=n(16743),j=n(73997),x=n(82108),y=n(96170),N=n(42495),b=n(63082),w=n(91703),D=n(45911),_=n(23627),C=n(5488),I=n(64709),k=n(18845),S=n(83680),F=n(24697),E=n(30366),O=n(83185),U=n(63120),M=n(97009),L=n(27532);const P="cELOd04or4B6BbTbNWA7",$="CHJYbX33oDik9u4n4ohH",G="woQ0wEe6FL4lsGW05bsb",A="KTDREr8pDWjrmnzXzZ2z",W="UUTvdEOH2v_rejoXdl9Z",H="cBbTozR921ppaoNZP0Uh",T="SNyyQ0t_VvlWzzB9li7v",B="lwO4iko6mhCUgZN1s9AW",R="akvZI06vqHOow1pOL29J",Q="WWZp3WM0maWJzl2qWEHE",z="YdkAHxbDekz9SiAxHG6M",K="AK37djOBJ2BuJOGuG1kQ",Z="JfYURQbEA_ntMsMZV6tK",J="du0mOGaZfHg3hsHwRMIu",V="Rvzy4ltiiHIp9mvlxf0c";var X=n(4637);const q=(0,a.memo)((e=>{const{concert:t,position:n,modalSpec:s}=e,{id:o,venue:r,location:c}=t,i=t.startDate.localDate,l=(0,M.CH)(i),d="ONLINE"===t.category,g=(0,a.useMemo)((()=>s?.eventRowFactory({position:n,uri:`spotify:concert:${t.id}`})),[s,n,t]),u=(0,y.$P)();return(0,X.jsxs)(U.Link,{to:`/concert/${t.id}`,className:B,onClick:()=>{g&&u.logInteraction(g.hitUiNavigate({destination:`/concert/${o}`}))},children:[(0,X.jsxs)("div",{className:R,"aria-hidden":!0,children:[(0,X.jsx)(m.D,{as:"h5",variant:"mestoBold",className:Q,children:(0,M.jw)(l)}),(0,X.jsx)(m.D,{as:"h1",variant:"cello",className:z,children:(0,M.wf)(l)})]}),(0,X.jsxs)("div",{className:K,children:[(0,X.jsx)(m.D,{as:"div",variant:"violaBold",className:Z,"data-testid":"event-title",children:(0,L.Yl)(t)}),(0,X.jsx)(k.T,{children:(0,M.jx)(l)}),(0,X.jsxs)(m.D,{as:"div",variant:"viola",className:J,children:[(0,M.FO)(l)," • ",(0,M.hK)(l)]}),(0,X.jsx)(m.D,{as:"div",variant:"viola",className:V,"data-testid":"event-venue",children:d?r:[r,c].join(h.ag.getSeparator())})]})]},t.id)})),Y=(0,a.memo)((e=>{const{event:t,locationName:n,onClose:s,feedSpec:o}=e,r=t?.concerts[0]?.concert,c=r?.artists[0],i=(0,a.useMemo)((()=>o?.groupedEventModalFactory({uri:c?.uri||""})),[o,c]),l=(0,y.$P)(),d=(0,y.Wi)(i);if(!t||!r||!c)return null;const g=()=>{i&&l.logInteraction(i.closeButtonFactory().hitUiHide()),s()};return(0,X.jsx)(O.Z,{contentLabel:h.ag.get("live_events.label"),isOpen:!0,className:P,onRequestClose:g,children:(0,X.jsxs)("section",{className:$,ref:d,children:[(0,X.jsx)("div",{className:G,children:(0,X.jsx)(ee,{"aria-label":h.ag.get("close"),iconOnly:S.k,buttonSize:"sm",onClick:g})}),(0,X.jsxs)("div",{className:A,children:[(0,X.jsx)(F.E,{height:"48",width:"48",className:W,src:c.imageUri}),(0,X.jsxs)("div",{className:H,children:[(0,X.jsx
//# sourceMappingURL=xpui-routes-collection-concerts.js.map