dotfiles/.config/spicetify/Extracted/Themed/xpui/9421.js

2 lines
13 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([[9421],{1828:(e,t,n)=>{n.d(t,{T:()=>u});var a=n(6142),i=n(68415),r=n(66721),l=n(78297),o=n(41226);const s="profile-editImage-imageContainer",c="profile-editImage-editImageButtonContainer";var d=n(4637);const u=function({onClick:e,name:t,images:n,canEdit:u,placeholderType:m,shape:h=o.Kc.SQUARE,dragUri:g=""}){const[p,C]=(0,i.R)(n),b=(0,r.VO)(p,C)===r.KO.loaded,x=(0,a.O)([g],t);return(0,d.jsxs)("div",{className:s,"data-testid":`${m}-image`,draggable:!!g,onDragStart:x,children:[(0,d.jsx)(o.Oe,{loading:"eager",name:t,images:n,placeholderType:m,shape:h}),u&&(0,d.jsx)("div",{className:c,children:(0,d.jsx)(l.F,{overlay:b,onClick:e,rounded:h===o.Kc.CIRCLE})})]})}},70925:(e,t,n)=>{n.d(t,{w:()=>m});var a=n(59496),i=n(4417),r=n.n(i),l=n(56162),o=n(66432);const s=/(\((?:[0-9]{1,3}:){1,2}[0-9]{2}\))/g;var c=n(63120);const d={Heading:"playlist-playlist-heading",HTMLDescription:"playlist-playlist-playlistDescription",List:"playlist-playlist-list",ListItem:"playlist-playlist-listItem",Paragraph:"playlist-playlist-paragraph"};var u=n(4637);const m=a.memo((function({html:e,onTimeStampClick:t,enableTimestamps:n=!1,semanticColor:i="textSubdued"}){const l=(0,a.useMemo)((()=>{const a=n?e.split(s).map((e=>e.match(s)?`(<time>${e.replace("(","").replace(")","")}</time>)`:e)).join(""):e;let l;try{l=r()(a,{transform:h(t,i),dangerouslySetChildren:[]})}catch{l=e}return l}),[n,e,t,i]);return(0,u.jsx)("div",{className:d.HTMLDescription,children:l})}));function h(e,t){let n=0;return{p:e=>(0,u.jsx)(l.D,{as:"p",variant:"ballad",semanticColor:t,className:d.Paragraph,children:e.children}),a:t=>t.href?.startsWith("#t=")?(0,u.jsx)(o.E,{onClick:e,children:t.children}):t.href?(0,u.jsx)(c.Link,{to:t.href,children:t.children}):(0,u.jsx)(u.Fragment,{children:t.children}),ul:e=>(0,u.jsx)("ul",{className:d.List,children:e.children}),ol:e=>(0,u.jsx)("ol",{className:d.List,children:e.children}),li:e=>(0,u.jsx)(l.D,{as:"li",variant:"ballad",semanticColor:t,className:d.ListItem,children:e.children}),br:()=>(0,u.jsx)("br",{}),h1:e=>(0,u.jsx)(l.D,{as:"h1",variant:"balladBold",semanticColor:t,className:d.Heading,children:e.children}),h2:e=>(0,u.jsx)(l.D,{as:"h2",variant:"balladBold",semanticColor:t,className:d.Heading,children:e.children}),h3:e=>(0,u.jsx)(l.D,{as:"h3",variant:"balladBold",semanticColor:t,className:d.Heading,children:e.children}),h4:e=>(0,u.jsx)(l.D,{as:"h4",variant:"balladBold",semanticColor:t,className:d.Heading,children:e.children}),h5:e=>(0,u.jsx)(l.D,{as:"h5",variant:"balladBold",semanticColor:t,className:d.Heading,children:e.children}),h6:e=>(0,u.jsx)(l.D,{as:"h6",variant:"balladBold",semanticColor:t,className:d.Heading,children:e.children}),time:t=>(0,u.jsx)(o.E,{onClick:e,children:t.children}),_:(e,t,i)=>{const r=void 0===t?e:i;return(0,u.jsx)(a.Fragment,{children:r},"fragment"+n++)}}}},38440:(e,t,n)=>{n.d(t,{l:()=>C});var a=n(59496),i=n(3802),r=n(55477),l=n(29939),o=n(72502);const s={"custom-order":l.HI,title:{column:o.Q.TITLE,order:o.k.ASC},artist:{column:o.Q.TITLE,order:o.k.SECONDARY_ASC},"added-by":{column:o.Q.ADDED_BY,order:o.k.ASC},"added-at":{column:o.Q.ADDED_AT,order:o.k.ASC},duration:{column:o.Q.DURATION,order:o.k.ASC},album:{column:o.Q.ALBUM,order:o.k.ASC},"album-or-podcast":{column:o.Q.ALBUM_OR_PODCAST,order:o.k.ASC},"album-or-show":{column:o.Q.ALBUM_OR_SHOW,order:o.k.ASC}},c={title:o.Q.TITLE,artist:o.Q.TITLE,"added-by":o.Q.ADDED_BY,"added-at":o.Q.ADDED_AT,duration:o.Q.DURATION,album:o.Q.ALBUM,"album-or-podcast":o.Q.ALBUM_OR_PODCAST,"album-or-show":o.Q.ALBUM_OR_SHOW},d={[o.k.NONE]:o.k.NONE,[o.k.ASC]:o.k.DESC,[o.k.DESC]:o.k.ASC,[o.k.SECONDARY_ASC]:o.k.SECONDARY_DESC,[o.k.SECONDARY_DESC]:o.k.SECONDARY_ASC},u={[o.Q.INDEX]:{key:"custom-order",get value(){return i.ag.get("sort.custom-order")}},[o.Q.TITLE]:{key:"title",get value(){return i.ag.get("sort.title")}},[o.Q.ARTIST]:{key:"artist",get value(){return i.ag.get("sort.artist")}},[o.Q.ADDED_BY]:{key:"added-by",get value(){return i.ag.get("sort.added-by")}}
//# sourceMappingURL=9421.js.map