PageSourceSearch

https://www.viny.club/assets/index-_COZ2E35.js

js viny.club collected 2026-10-07 16:12:14 UTC 40,691 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CwBeN_z6.js","assets/vendor-react-Djr0GcmF.js","assets/vendor-supabase-CPBQX_2L.js","assets/vendor-utils-Qm4_4bAc.js","assets/vendor-motion-Dbv7-9-x.js","assets/vendor-overlays-DIi-Y4Zs.js","assets/ValueStorySections-vKLdQmMc.js","assets/index.es-Bnhunq_2.js","assets/voice-powered-orb-D_mCutRE.js","assets/book-open-BHnMQLW2.js","assets/share-2-IZUGS2gU.js","assets/community-feed.functions-BTe7eHy7.js","assets/arrow-up-right-BO3lWSyS.js","assets/navbar-1-DznjRIhp.js","assets/Logo-BXS2YNN4.js"])))=>i.map(i=>d[i]);
2import{t as tt,c as Z,B as ye,L as je,u as Ie,a as rt,_ as te,b as nt,g as at,d as st}from"./index-CwBeN_z6.js";import{j as e,r as m}from"./vendor-react-Djr0GcmF.js";import{N as ct}from"./navbar-1-DznjRIhp.js";import{W as it}from"./index.es-Bnhunq_2.js";import{A as we}from"./arrow-up-right-BO3lWSyS.js";const ot=[{src:"https://i.scdn.co/image/ab67616d0000b273db216ca805faf5fe35df4ee6",alt:"The Dark Side of the Moon — Pink Floyd"},{src:"https://i.scdn.co/image/ab67616d0000b273dc30583ba717007b00cceb25",alt:"Abbey Road — The Beatles"},{src:"https://i.scdn.co/image/ab67616d0000b273c83cb0aee389eb753b19e5bb",alt:"Índia — Gal Costa"},{src:"https://i.scdn.co/image/ab67616d0000b273d268ed273ecb218724d32c45",alt:"Cartola — Cartola"}
2,{src:"https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",alt:"Thriller — Michael Jackson"},{src:"https://i.scdn.co/image/ab67616d0000b273fbc71c99f9c1296c56dd51b6",alt:"Nevermind — Nirvana"},{src:"https://i.scdn.co/image/ab67616d0000b27357df7ce0eac715cf70e519a7",alt:"Rumours — Fleetwood Mac"},{src:"https://i.scdn.co/image/ab67616d0000b273ce31d86cb661d85d8a106327",alt:"Fruto Proibido — Rita Lee"},{src:"https://i.scdn.co/image/ab67616d0000b273663b6ce496144fa5c3670ac0",alt:"The Black Parade — My Chemical Romance"},{src:"https://i.scdn.co/image/ab67616d0000b2739b9b36b0e22870b9f542d937",alt:"Random Access Memories — Daft Punk"},{src:"https://i.scdn.co/image/ab67616d0000b2738261c1838b583c714053ce76",alt:"Transa — Caetano Veloso"},{src:"https://i.scdn.co/image/ab67616d0000b273c8b444df094279e70d0ed856",alt:"OK Computer — Radiohead"},{src:"https://i.scdn.co/image/ab67616d0000b273906b2e5d11cef03ba171dd18",alt:"Djavan — Djavan"},{src:"https://i.scdn.co/image/ab67616d0000b273f540be1995333fe66e7fa563",alt:"Caetano Veloso — Caetano Veloso"},{src:"https://i.scdn.co/image/ab67616d0000b273dc65d5638a3de4a0bdf3c05f",alt:"Back To Black — Amy Winehouse"},{src:"https://i.scdn.co/image/ab67616d0000b2739e1cfc756886ac782e363d79",alt:"Currents — Tame Impala"},{src:"https://i.scdn.co/image/ab67616d0000b273e08b1250db5f75643f1508c9",alt:"The Miseducation of Lauryn Hill — Ms. Lauryn Hill"},{src:"https://i.scdn.co/image/ab67616d0000b273a109c0cc2759660eae238c5d",alt:"Cantar — Gal Costa"},{src:"https://i.scdn.co/image/ab67616d0000b273b694e89ba937dd2631ff584c",alt:"The Wall — Pink Floyd"},{src:"https://i.scdn.co/image/ab67616d0000b273532391d63cfd6d32677f7af6",alt:"The Suburbs — Arcade Fire"},{src:"https://i.scdn.co/image/ab67616d0000b27336c5417732e53e23cb219246",alt:"MTV Unplugged In New York — Nirvana"},{src:"https://i.scdn.co/image/ab67616d0000b273ff191d7fbdb5a13eaf84132b",alt:"Back In Black — AC/DC"}];function lt({people:r,className:s}){const c=r.slice(0,5);return e.jsxs("div",{className:Z("inline-flex items-center gap-3 rounded-full bg-transparent px-4 py-2.5",s),children:[e.jsx("div",{className:"flex items-center",children:c.map((i,o)=>e.jsx("img",{src:tt(i.avatar_url,64)||`https://api.dicebear.com/7.x/initials/svg?seed=${i.username}`,alt:i.display_name??i.username,loading:"lazy",decoding:"async",width:28,height:28,className:"h-7 w-7 rounded-full border border-white bg-muted object-cover",style:{marginLeft:o===0?0:-10}},i.id))}),e.jsxs("div",{className:"flex flex-col items-start gap-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm font-semibold text-foreground",children:"4.9"}),e.jsxs("div",{className:"relative inline-flex items-center",children:[e.jsx("div",{className:"flex items-center gap-0.5",children:Array.from({length:5}).map((i,o)=>e.jsx(dt,{},o))}),e.jsx("div",{className:"absolute left-0 top-0 flex items-center gap-0.5 overflow-hidden",style:{width:"98%"},children:Array.from({length:5}).map((i,o)=>e.jsx(pt,{},o))})]})]}),e.jsx("span",{className:"text-[11px] font-medium leading-none text-foreground",children:"amado por +1.000 colecionadores"})]})]})}function dt({className:r}){return e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",className:Z("shrink-0",r),children:e.jsx("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z",stroke:"currentColor",strokeWidth:"1.5",className:"text-foreground/25"})})}function pt({className:r}){return e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",className:Z("shrink-0 text-[#F59E0B]",r),children:e.jsx("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})})}function ut({children:r}){return e.jsx("div",{className:"relative w-full",children:r})}const ft="/__l5e/assets-v1/e4f5b03d-613b-45e9-b07a-94a26ec5dfd9/casting-hero-loop.mp4",ht={url:ft},xt="/__l5e/assets-v1/7776b733-5475-40ec-a183-0da837c05d2d/casting-hero-loop.webm",mt={url:xt};function gt({socialProof:r,className:s,...c}){return e.jsx("section",{"aria-label":"O ritual do vinil agora coletivo",className:Z("relative flex min-h-svh w-full flex-col items-center justify-center gap-6 bg-landing-hero px-5 pb-14 pt-[15svh] text-center text-foreground sm:pt-[13svh]",s),...c,children:e.jsxs("div",{className:"max-w-2xl",children:[e.jsxs("video",{autoPlay:!0,muted:!0,loop:!0,playsInl
2ine:!0,preload:"auto",disablePictureInPicture:!0,controlsList:"nodownload",tabIndex:-1,"aria-hidden":"true",className:"pointer-events-none mx-auto mb-6 aspect-square w-[clamp(140px,21vw,200px)] select-none object-cover [mask-image:radial-gradient(ellipse_at_center,#000_48%,transparent_88%)]",children:[e.jsx("source",{src:mt.url,type:"video/webm"}),e.jsx("source",{src:ht.url,type:"video/mp4"})]}),e.jsxs("h1",{className:"text-balance font-sans text-4xl font-medium leading-[1.02] sm:text-5xl lg:text-6xl",children:["O ritual do vinil,",e.jsx("br",{}),"agora coletivo."]}),e.jsx("p",{className:"mx-auto mt-5 max-w-md text-pretty text-sm leading-relaxed text-foreground/70 sm:text-base",children:"Organize seus discos, compartilhe sua coleção e descubra o que outros colecionadores estão ouvindo."}),e.jsx("div",{className:"md:hidden",children:e.jsx(ye,{asChild:!0,size:"lg",className:"rounded-full bg-action px-7 text-action-foreground hover:bg-action/90",children:e.jsxs(je,{to:"/explore",children:["Comece grátis",e.jsx(we,{})]})})}),e.jsx(it,{size:"pulse-outside",colorVariant:"colorful",strength:.9,theme:"light",borderRadius:22,className:"mt-7 hidden md:inline-block",children:e.jsx(ye,{asChild:!0,size:"lg",className:"rounded-full bg-action px-7 text-action-foreground hover:bg-action/90",children:e.jsxs(je,{to:"/explore",children:["Comece grátis",e.jsx(we,{})]})})}),r?e.jsx("div",{className:"mt-5 flex justify-center",children:r}):null]})})}function O(r,s){return s<=0?0:(r%s+s)%s}function ke(r,s,c){if(s<=0)return 0;const i=Math.round(r);return c?O(i,s):Math.min(Math.max(i,0),s-1)}function Me(r,s,c,i){const o=r-s;return i&&c>0?o-c*Math.round(o/c):o}function bt(r,s){return r<0?r/3:r>s-1?s-1+(r-(s-1))/3:r}function vt(r,s){const c=Math.min(Math.max(r,0),.9);return{omega:2*Math.PI/Math.max(s,.1),slide:1-c/2,tilt:1-c}}function Ne(r,s,c,i,o,p){const f=Math.max(1,Math.ceil(p/.004166666666666667)),h=p/f;for(let v=0;v<f;v++)s+=(-i*i*(r-c)-2*o*i*s)*h,r+=s*h;return[r,s]}function yt(r,s,c,i){const o=Math.round(r);let p=Math.round(r+s*.2);return p=Math.min(Math.max(p,o-3),o+3),i?p:Math.min(Math.max(p,0),c-1)}function jt(r,s,c,i){if(!i)return Math.min(Math.max(r,0),c-1);const o=Math.round(s);let p=r-O(o,c);return p-=c*Math.round(p/c),o+p}function wt(r,s,c){const i=Math.min(s,2.2);return{x:r*c.spacing,y:-r*c.rise,z:i*c.depth,yaw:c.yaw+s*c.fan,roll:s*c.roll,zIndex:100+Math.round(s*10),opacity:s<-2.5?Math.max(0,1-(-s-2.5)/1.2):1,hidden:r<-4||r>2.8}}function kt(r){let s=r>>>0;return()=>{s=s+1831565813>>>0;let c=s;return c=Math.imul(c^c>>>15,c|1),c^=c+Math.imul(c^c>>>7,c|61),((c^c>>>14)>>>0)/4294967296}}function Mt(r){const s=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(r.trim());if(!s)return"#ffffff";const c=s[1].length===3?s[1].replace(/./g,p=>p+p):s[1],i=p=>{const f=parseInt(c.slice(p,p+2),16)/255;return f<=.04045?f/12.92:Math.pow((f+.055)/1.055,2.4)};return .2126*i(0)+.7152*i(2)+.0722*i(4)>.36?"#111111":"#ffffff"}function Nt(r,s){const c=[];let i="";for(const o of r.trim().split(/\s+/))o&&(i&&(i+" "+o).length>s?(c.push(i),i=o):i=i?i+" "+o:o);return i&&c.push(i),c}function Ce(r,s,c){return Math.max(6,Math.min(c,s/(Math.max(r,1)*.56)))}function ze(r,s){return Math.max(r,1)*s*.56}const Se=["horizon","mosaic","eclipse","sunburst","halftone","rings","stripes"],Ae=[["#1b1d1f","#3f6b3a","#c9d6c4"],["#f2e3c6","#d2452b","#2a5d8f"],["#141414","#e9e4da","#c8a24a"],["#f0c94c","#e8572b","#2b2622"],["#e9e6df","#1d1d1d","#d84b3c"],["#2d3f7a","#e8b4c8","#f4efe6"],["#d9e3df","#16443f","#f08a5d"]],Ct='.dcc-root{position:relative;overflow:hidden;width:100%;container-type:inline-size;color:var(--color-foreground,#1a1a1a);user-select:none;-webkit-user-select:none;touch-action:pan-y;outline:none;-webkit-tap-highlight-color:transparent;--dcc-pad:clamp(16px,3.6cqw,44px)}.dcc-root:focus-visible{box-shadow:inset 0 0 0 2px var(--color-primary,#171717)}.dcc-root[data-dragging],.dcc-root[data-dragging] .dcc-slide{cursor:grabbing}.dcc-frame{position:absolute;inset:calc(var(--dcc-pad) * .45);pointer-events:none;z-index:1;border:1px solid color-mix(in oklab,currentColor 14%,transparent)}.dcc-stage{position:absolute;
2left:50%;top:52%;width:var(--dcc-s);aspect-ratio:1/1;transform:translate(-50%,-50%);perspective:calc(var(--dcc-s) * 3.2)}.dcc-slide{position:absolute;inset:0;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;border-radius:50%;cursor:pointer;transform-style:preserve-3d;-webkit-tap-highlight-color:transparent;outline:none}.dcc-tilt{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.7,.2,1)}.dcc-slide[data-active] .dcc-tilt{transform:translateZ(var(--dcc-lift,0px)) rotateX(calc(var(--dcc-py,0) * -12deg)) rotateY(calc(var(--dcc-px,0) * 12deg))}.dcc-slide[data-active]:hover{--dcc-lift:calc(var(--dcc-s) * .05)}.dcc-shade{position:absolute;inset:0;border-radius:50%;pointer-events:none;transform:translate3d(0,7%,-18px) scale(.97);background:radial-gradient(circle closest-side,transparent 30%,rgba(0,0,0,.2) 52%,rgba(0,0,0,.1) 80%,transparent 100%)}.dcc-edge,.dcc-disc{position:absolute;inset:0;border-radius:50%;backface-visibility:hidden}.dcc-edge{transform:translateZ(-4px);background:linear-gradient(160deg,#d7d9dc,#8d9196 55%,#c4c7cb)}.dcc-disc{background:#cfd2d6;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),inset 0 0 0 2px rgba(0,0,0,.08)}.dcc-roll,.dcc-idle{position:absolute;inset:0;border-radius:50%}.dcc-roll{transform:rotate(var(--dcc-roll,0deg))}.dcc-root[data-spin] .dcc-idle{animation:dcc-spin var(--dcc-spin) linear infinite;animation-play-state:paused}.dcc-root[data-spin] .dcc-slide[data-active] .dcc-idle{animation-play-state:running}.dcc-root[data-dragging] .dcc-slide .dcc-idle{animation-play-state:paused}@keyframes dcc-spin{to{transform:rotate(1turn)}}.dcc-idle>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:block;object-fit:cover}.dcc-idle>svg,.dcc-hub{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:block;overflow:visible}.dcc-hub{pointer-events:none}.dcc-sheen{position:absolute;inset:0;border-radius:50%;pointer-events:none;opacity:calc(var(--dcc-sheen) * .7);background:conic-gradient(from calc(var(--dcc-glint,0deg) + var(--dcc-px,0) * 70deg),transparent 0deg,rgba(255,255,255,.5) 16deg,transparent 38deg,transparent 140deg,rgba(150,215,255,.32) 168deg,rgba(255,170,225,.32) 186deg,rgba(255,236,170,.26) 200deg,transparent 224deg,transparent 360deg),radial-gradient(circle at 32% 24%,rgba(255,255,255,.3),transparent 46%)}.dcc-slide:focus-visible .dcc-disc{box-shadow:inset 0 0 0 3px var(--color-background,#fff),inset 0 0 0 6px var(--color-primary,#171717)}.dcc-nav{position:absolute;top:calc(var(--dcc-pad) * .9);left:50%;transform:translateX(-50%);z-index:5;display:flex;align-items:center;gap:clamp(12px,1.8cqw,22px);font-size:12px;white-space:nowrap}.dcc-brand{font-weight:800;font-size:15px;letter-spacing:-.04em;margin-right:clamp(6px,1.4cqw,18px)}.dcc-link{position:relative;color:inherit;text-decoration:none;opacity:.6;transition:opacity .2s;padding:4px 0}.dcc-link:hover,.dcc-link[aria-current]{opacity:1}.dcc-link[aria-current]::after{content:"";position:absolute;left:50%;bottom:-5px;width:3px;height:3px;margin-left:-1.5px;border-radius:50%;background:currentColor}.dcc-menu{position:relative}.dcc-menubtn{display:inline-flex;align-items:center;gap:4px;margin:0;padding:4px 0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;opacity:.6;transition:opacity .2s}.dcc-menubtn:hover,.dcc-menubtn[aria-expanded=true]{opacity:1}.dcc-menubtn svg{transition:transform .25s}.dcc-menubtn[aria-expanded=true] svg{transform:rotate(180deg)}.dcc-list{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);min-width:240px;margin:0;padding:6px;list-style:none;border-radius:10px;background:color-mix(in oklab,var(--color-background,#fff) 86%,transparent);border:1px solid color-mix(in oklab,currentColor 12%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 12px 32px -12px rgba(0,0,0,.28);animation:dcc-drop .22s cubic-bezier(.2,.7,.2,1) both}@keyframes dcc-drop{from{opacity:0;transform:translate(-50%,-6px)}}.dcc-opt{display:flex;align-items:baseline;gap:10px;width:100%;margin:0;padding:7px 10px;border:0;border-radius:6px;background:none;color:inherit;font:inherit;font-size:12px;text-align:left;cursor:pointer}.dcc-opt:hover,.dcc-opt:focus-visible{outline:none;background:color-mix(in oklab,currentColor 8%,transparent)}.dcc-opt[aria-current] .dcc-optt{font-weight:600}.dcc-optn{font-size:10px;opacity:.45;font-variant-numeric:tabular-nums}.dcc-opty{margin-left:auto;font-size:10px;opacity:.45}.dcc-head{position:absolute;top:var(--dcc-pad);left:var(--dcc-pad);z-index:4;width:clamp(170px,21cqw,290px);pointer-events:none}.dcc-title{margin:0 0 10px;font-weight:400;font-size:clamp(20px,2.5cqw,34px);line-height:.98;letter-spacing:-.01em;text-transform:uppercase;text-wrap:balance}.dcc-dl{margin:0}.dcc-row{display:flex;justify-content:space-between;gap:12px;padding:5px 0 6px;border-top:1px solid color-mix(in oklab,currentColor 55%,transparent)}.dcc-row dt{font-size:7.5px;line-height:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;opacity:.75}.dcc-row dd{margin:0;font-size:10.5px;line-height:13px;text-align:right}
2.dcc-row dd span{display:block}.dcc-in{animation:dcc-in .8s cubic-bezier(.2,.7,.1,1) both;animation-delay:calc(var(--i,0) * 60ms)}@keyframes dcc-in{from{opacity:0;transform:translateY(12px);filter:blur(5px)}}.dcc-revs{position:absolute;bottom:calc(var(--dcc-pad) * 1.1);left:50%;transform:translateX(-50%);z-index:4;display:flex;gap:clamp(24px,7cqw,96px);pointer-events:none}.dcc-rev{width:clamp(130px,15cqw,200px);text-align:center}.dcc-stars{font-size:8px;letter-spacing:3px;margin-bottom:6px}.dcc-src{font-size:6.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin-bottom:4px}.dcc-quote{margin:0;font-size:clamp(13px,1.35cqw,17px);line-height:1.02;text-transform:uppercase;text-wrap:balance}.dcc-ctl{position:absolute;right:var(--dcc-pad);bottom:var(--dcc-pad);z-index:5;display:flex;align-items:center;gap:10px}.dcc-btn{display:grid;place-items:center;width:34px;height:34px;margin:0;padding:0;border-radius:999px;border:1px solid color-mix(in oklab,currentColor 22%,transparent);background:none;color:inherit;cursor:pointer;transition:background .2s,opacity .2s,transform .2s}.dcc-btn:hover:not(:disabled){background:color-mix(in oklab,currentColor 8%,transparent)}.dcc-btn:active:not(:disabled){transform:scale(.9)}.dcc-btn:disabled{opacity:.28;cursor:default}.dcc-btn:focus-visible,.dcc-menubtn:focus-visible,.dcc-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}.dcc-count{font-size:11px;letter-spacing:.08em;font-variant-numeric:tabular-nums;min-width:58px;text-align:center}.dcc-count b{font-weight:600}.dcc-hint{position:absolute;left:var(--dcc-pad);bottom:var(--dcc-pad);z-index:4;font-size:9px;letter-spacing:.18em;text-transform:uppercase;opacity:.45;pointer-events:none;line-height:34px}.dcc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@container (max-width:720px){.dcc-link{display:none}.dcc-rev+.dcc-rev{display:none}.dcc-hint{display:none}.dcc-head{width:clamp(150px,44cqw,230px);top:calc(var(--dcc-pad) * 3.2)}.dcc-row:nth-child(n+3){display:none}}@container (max-width:420px){.dcc-revs{bottom:calc(var(--dcc-pad) * 4.4)}}@media (prefers-reduced-motion:reduce){.dcc-root .dcc-idle{animation:none}.dcc-in,.dcc-list{animation:none}.dcc-tilt,.dcc-btn,.dcc-link,.dcc-menubtn svg{transition:none}}';function Le({dir:r}){return e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{maxWidth:"none"},children:e.jsx("path",{d:r<0?"M19 12H5m6-6-6 6 6 6":"M5 12h14m-6-6 6 6-6 6"})})}function zt(){return e.jsx("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{maxWidth:"none"},children:e.jsx("path",{d:"m6 9 6 6 6-6"})})}const H=r=>r<10?"0"+r:""+r,Y=r=>Array.isArray(r)?r:[r];function St(r,s,c){const i=o=>(100+c*Math.cos(o)).toFixed(2)+" "+(100+c*Math.sin(o)).toFixed(2);return"M100 100L"+i(r)+"A"+c+" "+c+" 0 0 1 "+i(s)+"Z"}function At({pattern:r,pal:s,seed:c,uid:i}){const[o,p,f]=s,h=kt(c*9973+17),v=[e.jsx("rect",{width:"200",height:"200",fill:o},"bg")];if(r==="sunburst"){for(let d=0;d<28;d+=2)v.push(e.jsx("path",{d:St(d/28*Math.PI*2,(d+1)/28*Math.PI*2,142),fill:p},"w"+d));v.push(e.jsx("circle",{cx:"100",cy:"100",r:"44",fill:f},"c")),v.push(e.jsx("circle",{cx:"100",cy:"100",r:"40.5",fill:"none",stroke:o,strokeWidth:"1.6",strokeDasharray:"2 3.5"},"c2"))}else if(r==="rings")for(let u=100,d=0;u>36;u-=7,d++)v.push(e.jsx("circle",{cx:"100",cy:"100",r:u,fill:d%3===2?f:d%2?o:p},"r"+d));else if(r==="halftone"){const u=50+h()*100,d=30+h()*60;for(let g=4;g<200;g+=8)for(let b=4+g/8%2*4;b<200;b+=8){const k=Math.hypot(b-u,g-d),z=Math.max(0,3.9-k/34);z>.3&&v.push(e.jsx("circle",{cx:b,cy:g,r:z.toFixed(2),fill:p},b+"-"+g))}v.push(e.jsx("circle",{cx:u,cy:d,r:"16",fill:f},"s"))}else if(r==="horizon"){v.push(e.jsxs("linearGradient",{id:i+"sky",x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:o}),e.jsx("stop",{offset:".62",stopColor:f})]},"g"),e.jsx("rect",{width:"200",height:"200",fill:"url(#"+i+"sky)"},"sky"),e.jsx("circle",{cx:60+h()*80,cy:"112",r:"20",fill:"#f6efe0",opacity:".85"},"sun"));let u=-4,d=0;for(;u<204;){const g=18+h()*34,b=7+h()*9;h()>.45?v.push(e.jsx("ellipse",{cx:u,cy:128-g,rx:b,ry:b*1.1,fill:p},"t"+d)):v.push(e.jsx("path",{d:"M"+u+" "+(130-g*1.35)+"L"+(u+b*.55
2)+" 130L"+(u-b*.55)+" 130Z",fill:p},"t"+d)),v.push(e.jsx("rect",{x:u-.9,y:128-g,width:"1.8",height:g,fill:p},"k"+d)),u+=b*(.9+h()*.8),d++}v.push(e.jsx("rect",{y:"128",width:"200",height:"72",fill:p},"m"));for(let g=0;g<40;g++)v.push(e.jsx("circle",{cx:(h()*200).toFixed(1),cy:(132+h()*66).toFixed(1),r:(.6+h()*1.2).toFixed(2),fill:f,opacity:".8"},"f"+g))}else if(r==="stripes"){const u=[];for(let d=-10;d<20;d++)u.push(e.jsx("rect",{x:d*14,y:"-60",width:"7",height:"320",fill:d%4===0?f:p},"s"+d));v.push(e.jsx("g",{transform:"rotate("+(20+h()*40).toFixed(1)+" 100 100)",children:u},"g"))}else if(r==="eclipse"){for(let u=0;u<70;u++)v.push(e.jsx("circle",{cx:(h()*200).toFixed(1),cy:(h()*200).toFixed(1),r:(.3+h()*.9).toFixed(2),fill:p,opacity:(.3+h()*.7).toFixed(2)},"st"+u));v.push(e.jsx("circle",{cx:"100",cy:"100",r:"78",fill:"none",stroke:f,strokeWidth:"1",opacity:".6"},"halo"),e.jsx("circle",{cx:"100",cy:"100",r:"66",fill:p},"moon"),e.jsx("circle",{cx:118,cy:88,r:"62",fill:o},"bite"),e.jsx("circle",{cx:"100",cy:"100",r:"66",fill:"none",stroke:f,strokeWidth:"1.4",strokeDasharray:"1 3"},"ring"))}else{const u=[o,p,f];for(let d=0;d<200;d+=20)for(let g=0;g<200;g+=20){const b=u[Math.floor(h()*3)],k=h();v.push(e.jsx("rect",{x:g,y:d,width:"20",height:"20",fill:b},"q"+g+"-"+d)),k>.7?v.push(e.jsx("circle",{cx:g+10,cy:d+10,r:"7",fill:u[(u.indexOf(b)+1)%3]},"o"+g+"-"+d)):k>.45&&v.push(e.jsx("path",{d:"M"+g+" "+d+"h20L"+g+" "+(d+20),fill:u[(u.indexOf(b)+2)%3]},"p"+g+"-"+d))}}return e.jsx(e.Fragment,{children:v})}function Lt({item:r,i:s,uid:c,mark:i,ink:o,halo:p}){const f=(r.label??r.title).toUpperCase(),h=(r.fine??(r.credits??[]).map(b=>b.label+" "+Y(b.value).join(", ")).join("  ·  ")).toUpperCase();if(r.src&&!f&&!h)return null;const v=b=>({stroke:p,strokeWidth:r.src?b*.4:b,strokeLinejoin:"round",paintOrder:"stroke"}),u=v(2.4),d=v(1.2);let g=null;if(f&&(r.labelStyle??"arc")==="arc"){const b=Ce(f.length,194.35999999999999,21);g=e.jsx("text",{fill:o,fontSize:b.toFixed(2),fontWeight:"700",textAnchor:"middle",textLength:ze(f.length,b).toFixed(1),lengthAdjust:"spacingAndGlyphs",...u,children:e.jsx("textPath",{href:"#"+c+"top",startOffset:"50%",children:f})})}else if(f){const b=Nt(f,11).slice(0,3),k=Math.min(Ce(Math.max(...b.map(C=>C.length)),112,20),32/(b.length*.98)),z=k*.98,S=58-(b.length-1)*z;g=e.jsx("g",{fill:o,fontSize:k.toFixed(2),fontWeight:"700",...u,children:b.map((C,F)=>{const T=S+F*z,V=2*Math.sqrt(Math.max(0,7396-(100-T+k*.35)**2));return e.jsx("text",{x:"100",y:T.toFixed(2),textAnchor:"middle",textLength:Math.min(ze(C.length,k),V).toFixed(1),lengthAdjust:"spacingAndGlyphs",children:C},F)})})}return e.jsxs("svg",{viewBox:"0 0 200 200","aria-hidden":"true",style:{maxWidth:"none"},children:[e.jsxs("defs",{children:[e.jsx("path",{id:c+"top",d:"M28 100a72 72 0 1 1 144 0"}),e.jsx("path",{id:c+"bot",d:"M14 100a86 86 0 0 0 172 0"})]}),g,h?e.jsx("text",{fill:o,fontSize:"5.2",letterSpacing:".7",textAnchor:"middle",opacity:".86",...d,children:e.jsx("textPath",{href:"#"+c+"bot",startOffset:"50%",children:h.length>120?h.slice(0,118)+"…":h})}):null,i?e.jsx("text",{x:"100",y:"150",fill:o,fontSize:"10",fontWeight:"800",letterSpacing:"-.4",textAnchor:"middle",...d,children:i}):null,r.src?null:e.jsx("text",{x:"100",y:"64",fill:o,fontSize:"4",letterSpacing:"1.2",textAnchor:"middle",opacity:".6",transform:"rotate(180 100 100)",children:"DISC "+H(s+1)})]})}function Ft({uid:r}){return e.jsxs("svg",{className:"dcc-hub",viewBox:"0 0 200 200","aria-hidden":"true",children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:r+"metal",x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:"#fbfbfc"}),e.jsx("stop",{offset:".45",stopColor:"#a9adb3"}),e.jsx("stop",{offset:".55",stopColor:"#eef0f2"}),e.jsx("stop",{offset:"1",stopColor:"#8f949a"})]})}),e.jsx("circle",{cx:"100",cy:"100",r:"11.4",fill:"none",stroke:"url(#"+r+"metal)",strokeWidth:"2.6"}),e.jsx("circle",{cx:"100",cy:"100",r:"8",fill:"rgba(232,235,239,.85)",stroke:"rgba(232,235,239,.85)",strokeWidth:"5.4"}),e.jsx("circle",{cx:"100",cy:"100",r:"5.8",fill:"none",stroke:"rgba(255,255,255,.95)",strokeWidth:"1.1"}),e.jsx("circle",{cx:"100",cy:"100",r:"7.2",fill:"none",stroke:"rgba(0,0,0,.12)",strokeWidth:".5"}),e.jsx("circle",{cx:"100",cy:"100",r:"9",fill:"none",stroke:"rgba(255,255,255,.75)",strokeWidth:"1"}),e.jsx("circle",{cx:"100",cy:"100",r:"9.6",fill:"none",stroke:"rgba(0,0,0,.1)",strokeWidth:".5"}),e.jsx("circle",{cx:"100",cy:"100",r:"10.9",fill:"none",stroke:"rgba(0,0,0,.16)",strokeWidth:".6"}),e.jsx("circle",{cx:"100",cy:"100",r:"99.3",fill:"none",stroke:"rgba(255,255,255,.4)",strokeWidth:"1.2"}),e.jsx("circle",{cx:"100",cy:"100",r:"4.65",style:{fill:"var(--dcc-hole, #1a1a1a)"}})]})}function It({items:r,height:s="100svh",stageTop:c,discSize:i="clamp(170px, min(50vmin, 38vw), 420px)",spacing:o=1.02,rise:p=.24,depth:f=.42,yaw:h=22,fan:v=-10,tilt:u=-6,roll:d=110,spin:g=24,sheen:b=.6,bounce:k=.22,duration:z=.9,loop:S=!1,autoplay:C=0,brand:F="",nav:T=[],navActive:V=0,indexLabel:K="Index",details:Ee=!0,reviews:Pe=!0,controls:_e=!0,hint:re="Drag to browse",frame:Re=!0,color:Te,background:ne="color-mix(in oklab, var(--color-foreground, #000) 5%, var(--color-background, #fff))",serif:ae='"Instrument Serif", "Bodoni Moda", Didot, "Times New Roman", serif',sans:se='"Inter", ui-sans-serif, system-ui, sans-serif',display:We='"Oswald", "Bebas Neue", Impact, "Arial Narrow", sans-serif',fontHref:q=null,index:W,defaultIndex:Be=2,onIndexChange:ce,onSelect:De,ariaLabel:Oe="Film catalogue",className:Ve=""}){const y=r.length,X=Math.min(Math.max(Math.round(W??Be),0),Math.max(y-1,0)),[w,ie]=m.useState(X),[oe,le]=m.useState(!1),[qe,I]=m.useState(!1),[Xe,de]=m.useState(!1),[Ue,pe]=m.useState(!0),[P,U]=m.useState(!1),$="dcc"+m.useId().replace(/[^a-zA-Z0-9]/g,""),E=m.useRef(null),J=m.useRef(null),ue=m.useRef(null),Q=m.useRef([]),a=m.useRef({a:X,va:0,b:X,vb:0,target:X,raf:0,last:0,size:300,reduced:!1,drag:null,clickBlock:!1,wheel:0,wheelAt:0,stepAt:0}).current,M=m.useRef({n:y,loop:S,spacing:o,rise:p,depth:f,yaw:h,fan:v,tilt:u,roll:d,bounce:k,duration:z});M.current={n:y,loop:S,spacing:o,rise:p,depth:f,yaw:h,fan:v,tilt:u,roll:d,bounce:k,duration:z};const B=m.useRef({onIndexChange:ce,active:w});B.current={onIndexChange:ce,active:w};const fe=(t,n,l)=>{const x=M.current,j=wt(Me(t,n,x.n,x.loop),Me(t,l,x.n,x.loop),x);return{transform:"translate3d(calc("+j.x.toFixed(4)+" * var(--dcc-s)), calc("+j.y.toFixed(4)+" * var(--dcc-s)), calc("+j.z.toFixed(4)+" * var(--dcc-s))) rotateZ("+x.tilt+"deg) rotateY("+j.yaw.toFixed(3)+"deg) rotateX(8deg)",roll:j.roll.toFixed(2)+"deg",glint:(j.yaw*3+j.x*40).toFixed(1)+"deg",zIndex:j.zIndex,opacity:j.opacity,hidden:j.hidden||j.opacity<=0}},ee=()=>{for(let t=0;t<Q.current.length;t++){const n=Q.current[t];if(!n)continue;const l=fe(t,a.a,a.b);n.style.transform=l.transform,n.style.zIndex=""+l.zIndex,n.style.opacity=l.opacity<1?l.opacity.toFixed(3):"",n.style.visibility=l.hidden?"hidden":"",n.style.setProperty("--dcc-roll",l.roll),n.style.setProperty("--dcc-glint",l.glint)}},he=t=>{const n=Math.min((t-(a.last||t))/1e3,.05);a.last=t;const l=M.current,x=vt(l.bounce,l.duration);if(a.reduced&&!a.drag?(a.a=a.b=a.target,a.va=a.vb=0):(a.drag||([a.a,a.va]=Ne(a.a,a.va,a.target,x.omega,x.slide,n)),[a.b,a.vb]=Ne(a.b,a.vb,a.a,x.omega*1.05,x.tilt,n)),ee(),!a.drag&&Math.abs(a.a-a.target)<.001&&Math.abs(a.va)<.01&&Math.abs(a.b-a.a)<.001&&Math.abs(a.vb)<.01){a.a=a.b=a.target,a.va=a.vb=0,ee(),a.raf=0,a.last=0;return}a.raf=requestAnimationFrame(he)},xe=()=>
2{a.raf||(a.raf=requestAnimationFrame(he))},G=t=>{const n=M.current;if(!n.n)return;a.target=n.loop?t:Math.min(Math.max(t,0),n.n-1);const l=ke(a.target,n.n,n.loop);l!==B.current.active&&(ie(l),B.current.onIndexChange?.(l)),xe()},_=t=>G(jt(t,a.target,M.current.n,M.current.loop)),R=t=>G(Math.round(a.target)+t);m.useEffect(()=>{W==null||!y||O(Math.round(a.target),y)!==O(W,y)&&_(O(W,y))},[W,y]),m.useEffect(()=>{y&&!S&&a.target>y-1&&G(y-1),ee()},[y,S,o,p,f,h,v,u,d]),m.useEffect(()=>{const t=window.matchMedia("(prefers-reduced-motion: reduce)"),n=()=>{a.reduced=t.matches};return n(),t.addEventListener("change",n),()=>t.removeEventListener("change",n)},[a]),m.useEffect(()=>{const t=J.current;if(!t)return;const n=()=>{a.size=t.offsetWidth||300};n();const l=new ResizeObserver(n);return l.observe(t),()=>l.disconnect()},[a]),m.useEffect(()=>()=>cancelAnimationFrame(a.raf),[a]),m.useEffect(()=>{if(!q||Array.from(document.querySelectorAll("link[rel=stylesheet]")).some(l=>l.href===q))return;const n=document.createElement("link");n.rel="stylesheet",n.href=q,n.setAttribute("data-disc-cascade-font",""),document.head.appendChild(n)},[q]),m.useEffect(()=>{const t=E.current;if(!t)return;const n=l=>{if(Math.abs(l.deltaX)<=Math.abs(l.deltaY))return;l.preventDefault();const x=performance.now();x-a.wheelAt>160&&(a.wheel=0),a.wheelAt=x,a.wheel+=l.deltaX,Math.abs(a.wheel)>50&&x-a.stepAt>320&&(I(!0),R(Math.sign(a.wheel)),a.wheel=0,a.stepAt=x)};return t.addEventListener("wheel",n,{passive:!1}),()=>t.removeEventListener("wheel",n)},[a]),m.useEffect(()=>{if(!P)return;const t=n=>{ue.current?.contains(n.target)||U(!1)};return document.addEventListener("pointerdown",t),()=>document.removeEventListener("pointerdown",t)},[P]),m.useEffect(()=>{const t=E.current;if(!t||!C)return;const n=new IntersectionObserver(([x])=>pe(x.isIntersecting&&!document.hidden));n.observe(t);const l=()=>pe(!document.hidden);return document.addEventListener("visibilitychange",l),()=>{n.disconnect(),document.removeEventListener("visibilitychange",l)}},[C]);const me=C>0&&y>1&&!qe&&!Xe&&!oe&&!P&&Ue;m.useEffect(()=>{if(!me||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const t=window.setTimeout(()=>{const n=M.current;!n.loop&&Math.round(a.target)>=n.n-1?_(0):R(1)},C);return()=>window.clearTimeout(t)},[me,w,C]);const Ge=t=>{t.button!==0||!y||t.target.closest("[data-dcc-ui]")||(a.drag={id:t.pointerId,x0:t.clientX,pos0:a.a,moved:!1,samples:[{t:t.timeStamp,x:t.clientX}]})},He=t=>{if(t.pointerType==="mouse"&&!a.drag?.moved){const N=J.current?.getBoundingClientRect(),D=E.current;if(N&&D){const Qe=Math.max(-1,Math.min(1,(t.clientX-(N.left+N.width/2))/N.width)),et=Math.max(-1,Math.min(1,(t.clientY-(N.top+N.height/2))/N.height));D.style.setProperty("--dcc-px",Qe.toFixed(3)),D.style.setProperty("--dcc-py",et.toFixed(3))}}const n=a.drag;if(!n||n.id!==t.pointerId)return;const l=t.clientX-n.x0;if(!n.moved){if(Math.abs(l)<6)return;n.moved=!0,n.x0=t.clientX,n.pos0=a.a,a.va=0,E.current?.setPointerCapture(t.pointerId),le(!0),I(!0)}const x=M.current,j=n.pos0-(t.clientX-n.x0)/(a.size*x.spacing);a.a=x.loop?j:bt(j,x.n),n.samples.push({t:t.timeStamp,x:t.clientX}),n.samples.length>6&&n.samples.shift();const L=ke(a.a,x.n,x.loop);L!==B.current.active&&(ie(L),B.current.onIndexChange?.(L)),xe()},ge=t=>{const n=a.drag;if(!n||n.id!==t.pointerId||(a.drag=null,!n.moved))return;le(!1),a.clickBlock=!0,window.setTimeout(()=>{a.clickBlock=!1},0);const l=n.samples[0],x=n.samples[n.samples.length-1],j=Math.max(x.t-l.t,1),L=t.type==="pointercancel"?0:-(x.x-l.x)/j/(a.size*M.current.spacing)*1e3;a.va=L,G(yt(a.a,L,M.current.n,M.current.loop))},Ye=()=>{E.current?.style.setProperty("--dcc-px","0"),E.current?.style.setProperty("--dcc-py","0")},Ze=t=>{if(t.key==="Escape"&&P){U(!1);return}if(t.target.closest("[data-dcc-menu]"))return;let n=!0;t.key==="ArrowRight"||t.key==="ArrowDown"?R(1):t.key==="ArrowLeft"||t.key==="ArrowUp"?R(-1):t.key==="Home"?_(0):t.key==="End"?_(y-1):n=!1,n&&(t.preventDefault(),I(!0))},Ke=t=>{a.clickBlock||(I(!0),t===w?De?.(r[t],t):_(t))},$e=!S&&w<=0,Je=!S&&w>=y-1,A=r[w],be=(A?.reviews??[]).slice(0,2),ve=A?.credits?.find(t=>/year/i.test(t.label));return e.jsxs("div",{ref:E,className:"dcc-root "+Ve,style:{height:s,background:ne,color:Te,fontFamily:se,"--dcc-s":i,"--dcc-sheen":""+b,"--dcc-spin":g+"s","--dcc-hole":ne},role:"region","aria-roledescription":"carousel","aria-label":Oe,tabIndex:0,"data-dragging":oe?"":void 0,"data-spin":g>0?"":void 0,onKeyDown:Ze,onPointerDown:Ge,onPointerMove:He,onPointerUp:ge,onPointerCancel:ge,onPointerLeave:Ye,onF
2ocus:()=>de(!0),onBlur:t=>{t.currentTarget.contains(t.relatedTarget)||de(!1)},children:[e.jsx("style",{children:Ct}),Re?e.jsx("div",{className:"dcc-frame","aria-hidden":"true"}):null,F||T.length||K&&y>1?e.jsxs("nav",{className:"dcc-nav","data-dcc-ui":"","aria-label":"Catalogue",children:[F?e.jsx("span",{className:"dcc-brand",children:F}):null,T.map((t,n)=>t.href?e.jsx("a",{className:"dcc-link",href:t.href,"aria-current":n===V?"page":void 0,children:t.label},n):e.jsx("span",{className:"dcc-link","aria-current":n===V?"true":void 0,children:t.label},n)),K&&y>1?e.jsxs("div",{className:"dcc-menu",ref:ue,"data-dcc-menu":"",children:[e.jsxs("button",{type:"button",className:"dcc-menubtn","aria-haspopup":"true","aria-expanded":P,"aria-controls":$+"list",onClick:()=>U(t=>!t),children:[K," ",e.jsx(zt,{})]}),P?e.jsx("ul",{className:"dcc-list",id:$+"list",style:{fontFamily:se},children:r.map((t,n)=>{const l=t.credits?.find(x=>/year/i.test(x.label));return e.jsx("li",{children:e.jsxs("button",{type:"button",className:"dcc-opt","aria-current":n===w?"true":void 0,onClick:()=>{I(!0),U(!1),_(n)},children:[e.jsx("span",{className:"dcc-optn",children:H(n+1)}),e.jsx("span",{className:"dcc-optt",children:t.title}),l?e.jsx("span",{className:"dcc-opty",children:Y(l.value)[0]}):null]})},n)})}):null]}):null]}):null,Ee&&A?e.jsxs("div",{className:"dcc-head","aria-hidden":"true",children:[e.jsx("h2",{className:"dcc-title dcc-in",style:{fontFamily:ae},children:A.title}),A.credits?.length?e.jsx("dl",{className:"dcc-dl",children:A.credits.map((t,n)=>e.jsxs("div",{className:"dcc-row dcc-in",style:{"--i":n+1},children:[e.jsx("dt",{children:t.label}),e.jsx("dd",{children:Y(t.value).map((l,x)=>e.jsx("span",{children:l},x))})]},n))}):null]},"h"+w):null,e.jsx("div",{ref:J,className:"dcc-stage",style:c?{top:c}:void 0,children:r.map((t,n)=>{const l=fe(n,a.a,a.b),x=n===w,j=t.palette??Ae[n%Ae.length],L=t.ink??(t.src?"#ffffff":Mt(j[0])),N=$+"d"+n;return e.jsx("button",{ref:D=>{Q.current[n]=D}
2,type:"button",className:"dcc-slide","data-active":x?"":void 0,tabIndex:x?0:-1,"aria-roledescription":"slide","aria-label":n+1+" of "+y+": "+t.title,"aria-current":x?"true":void 0,onClick:()=>Ke(n),style:{transform:l.transform,zIndex:l.zIndex,opacity:l.opacity<1?l.opacity:void 0,visibility:l.hidden?"hidden":void 0,"--dcc-roll":l.roll,"--dcc-glint":l.glint},children:e.jsxs("span",{className:"dcc-tilt",children:[e.jsx("span",{className:"dcc-shade"}),e.jsx("span",{className:"dcc-edge"}),e.jsxs("span",{className:"dcc-disc",children:[e.jsx("span",{className:"dcc-roll",children:e.jsxs("span",{className:"dcc-idle",style:{fontFamily:We},children:[t.src?e.jsx("img",{src:t.src,alt:t.alt??t.title,draggable:!1,loading:"eager",decoding:"sync",width:600,height:600,style:{maxWidth:"none"}}):e.jsx("svg",{viewBox:"0 0 200 200",role:"img","aria-label":t.alt??t.title,style:{maxWidth:"none"},children:e.jsx(At,{pattern:t.pattern??Se[n%Se.length],pal:j,seed:n+1,uid:N})}),e.jsx(Lt,{item:t,i:n,uid:N,mark:F,ink:L,halo:t.src?"rgba(0,0,0,.45)":j[0]})]})}),e.jsx(Ft,{uid:N}),e.jsx("span",{className:"dcc-sheen"})]})]})},n)})}),Pe&&be.length?e.jsx("div",{className:"dcc-revs","aria-hidden":"true",children:be.map((t,n)=>{const l=Math.max(0,Math.min(5,Math.round(t.stars??5)));return e.jsxs("figure",{className:"dcc-rev dcc-in",style:{margin:0,"--i":n+3},children:[e.jsx("div",{className:"dcc-stars",children:"★".repeat(l)+"☆".repeat(5-l)}),e.jsx("figcaption",{className:"dcc-src",children:t.source}),e.jsx("blockquote",{className:"dcc-quote",style:{fontFamily:ae},children:"“"+t.quote+"”"})]},n)})},"r"+w):null,re?e.jsx("div",{className:"dcc-hint","aria-hidden":"true",children:re}):null,_e&&y>1?e.jsxs("div",{className:"dcc-ctl","data-dcc-ui":"",children:[e.jsx("button",{type:"button",className:"dcc-btn","aria-label":"Previous film",disabled:$e,onClick:()=>{I(!0),R(-1)},children:e.jsx(Le,{dir:-1})}),e.jsxs("span",{className:"dcc-count","aria-hidden":"true",children:[e.jsx("b",{children:H(w+1)})," / ",H(y)]}),e.jsx("button",{type:"button",className:"dcc-btn","aria-label":"Next film",disabled:Je,onClick:()=>{I(!0),R(1)},children:e.jsx(Le,{dir:1})})]}):null,e.jsx("div",{className:"dcc-sr","aria-live":"polite","aria-atomic":"true",children:A?"Film "+(w+1)+" of "+y+": "+A.title+(ve?", "+Y(ve.value)[0]:""):""})]})}const Et="/assets/vinyl-red-black-BveBUSfW.webp",Pt="/assets/vinyl-pink-splatter-Cpb-HfgL.webp",_t="/assets/vinyl-blue-swirl-BnIx72vD.webp",Rt="/assets/vinyl-america-CtreGibp.webp",Tt="/assets/vinyl-brown-splatter-C6l_SnnC.webp",Wt="/assets/vinyl-green-D7o-3IXb.webp",Bt="/assets/vinyl-splatter-white-lhDBoMBh.webp",Dt="/assets/vinyl-orange-blue-DpMjUrVI.webp",Ot="/assets/vinyl-orange-D9CYPL3m.webp",Vt="/assets/vinyl-dark-red-DuDDnIIn.webp",qt=[{src:Et,alt:"Vinil splatter vermelho e preto"},{src:Pt,alt:"Vinil transparente com splatter rosa"},{src:_t,alt:"Vinil azul marmorizado"},{src:Rt,alt:"Vinil azul e vermelho"},{src:Tt,alt:"Vinil amarelo com splatter marrom"},{src:Wt,alt:"Vinil verde translúcido"},{src:Bt,alt:"Vinil branco com splatter vermelho e verde"},{src:Dt,alt:"Vinil laranja e azul"},{src:Ot,alt:"Vinil laranja translúcido"},{src:Vt,alt:"Vinil vermelho escuro marmorizado"}].map(r=>({...r,title:"",label:"",fine:""}));function Xt(){const s=Ie()?{height:"64svh",stageTop:"50%",discSize:"clamp(170px, 62vw, 300px)",spacing:.88,rise:.18,fan:-6}:{height:"86svh",stageTop:"48%",discSize:"clamp(180px, min(52vmin, 39vw), 440px)",spacing:1.02,rise:.24,fan:-10};return e.jsx("section",{"aria-label":"Discos da comunidade",className:"landing-vinyl-fold relative z-10 isolate rounded-[50px] bg-[#1A1A1A] text-white",style:{clipPath:"inset(0 round 50px)"},children:e.jsx("div",{className:"mx-auto max-w-[1120px] px-5 lg:px-10",children:e.jsx(It,{items:qt,height:s.height,stageTop:s.stageTop,discSize:s.discSize,spacing:s.spacing,rise:s.rise,depth:.42,yaw:22,fan:s.fan,tilt:-6,roll:110,spin:24,sheen:.6,bounce:.22,duration:.9,loop:!0,autoplay:3600,brand:"",indexLabel:"",details:!1,reviews:!1,controls:!0,hint:"Arraste · ← →",frame:!1,background:"#1A1A1A",color:"#ffffff",serif:"var(--font-display)",sans:"var(--font-sans)",display:"var(--font-display)",defaultIndex:2,ariaLabel:"Coleção de discos em vinil"})})})}function Fe({children:r,rootMargin:s="400px 0px",minHeight:c=600,className:i,eager:o=!1}){const p=m.useRef(null),[f,h]=m.useState(o);return m.useEffect(()=>{if(f)return;const v=p.current;if(!v)return;if(typeof IntersectionObserver>"u"){h(!0);return}const u=typeof window.matchMedia=="function"&&window.matchMedia("(max-width: 767px)").matches,d=new IntersectionObserver(g=>{for(const b of g)if(b.isIntersecting){h(!0),d.disconnect();break}}
2,{rootMargin:u?"900px 0px":"1200px 0px"});return d.observe(v),()=>d.disconnect()},[s,f]),e.jsx("div",{ref:p,className:i,style:f?void 0:{minHeight:c},children:f?r:null})}const Ut=m.lazy(()=>te(()=>import("./index-CwBeN_z6.js").then(r=>r.cG),__vite__mapDeps([0,1,2,3,4,5])).then(r=>({default:r.SiteFooter}))),Gt=m.lazy(()=>te(()=>import("./ValueStorySections-vKLdQmMc.js"),__vite__mapDeps([6,0,1,2,3,4,5,7,8,9,10,11,12,13,14])).then(r=>({default:r.LandingValueSections}))),Ht=r=>r&&r.replace("ab67616d0000b273","ab67616d00001e02");function Yt(){const r=Ie(),s=rt();return m.useEffect(()=>{if(!r)return;let c=!1;const i=window.setTimeout(async()=>{try{const{supabase:o}=await te(async()=>{const{supabase:f}=await import("./index-CwBeN_z6.js").then(h=>h.cE);return{supabase:f}},__vite__mapDeps([0,1,2,3,4,5])),{data:p}=await o.auth.getSession();!c&&p.session&&s({to:"/explore",replace:!0})}catch{}},0);return()=>{c=!0,window.clearTimeout(i)}},[r,s]),m.useEffect(()=>{try{const i=new URLSearchParams(window.location.search).get("ref");if(i){const o=i.toLowerCase().replace(/[^a-z0-9_]/g,"").slice(0,40);o&&localStorage.setItem("viny_ref",o)}}catch{}},[]),e.jsxs("div",{className:"min-h-screen bg-white text-foreground",children:[e.jsx(ct,{darkAtTop:!0,shrinkOnScroll:!0,hideOnFooter:!0,items:[{label:"Recursos",href:"#recursos"},{label:"Comunidade",href:"#community"}]}),e.jsxs("main",{className:"relative z-10 rounded-b-[50px] bg-background",children:[e.jsx(gt,{socialProof:e.jsx(Zt,{})}),e.jsx(Xt,{}),e.jsx(Fe,{minHeight:1400,rootMargin:"240px 0px",children:e.jsx(m.Suspense,{fallback:e.jsx("div",{className:"min-h-[1400px] bg-background"}),children:e.jsx(Gt,{covers:ot.map(c=>Ht(c.src))})})})]}),e.jsx(Fe,{minHeight:300,rootMargin:"300px 0px",children:e.jsx(ut,{children:e.jsx(m.Suspense,{fallback:e.jsx("div",{className:"min-h-[300px]"}),children:e.jsx(Ut,{})})})})]})}function Zt(){const[r,s]=m.useState(!1);return m.useEffect(()=>s(!0),[]),r?e.jsx(Kt,{}):null}function Kt(){const r=nt(at),{data:s}=st({queryKey:["collector-social-proof"],queryFn:()=>r({data:void 0}),staleTime:5*6e4});return s?e.jsx("div",{className:"flex justify-center",children:e.jsx(lt,{count:s.count,people:s.people})}):null}const rr=Object.freeze(Object.defineProperty({__proto__:null,component:Yt},Symbol.toStringTag,{value:"Module"}));export{Fe as L,rr as i};
3//# sourceMappingURL=index-_COZ2E35.js.map

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.