1import{h as n,j as e,L as i,t as l,i as o,r}from"./index-Bzm-selu.js";import{G as a}from"./fetcher-5BZZ6iS6.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="cc4d6be4-50d8-471b-9adc-5a374ac29290",s._sentryDebugIdIdentifier="sentry-dbid-cc4d6be4-50d8-471b-9adc-5a374ac29290")}catch{}})();const c=()=>{const{data:s}=n("/shows",a,{suspense:!0});return e.jsx("ul",{role:"list",className:"grid grid-cols-2 my-24 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-6 lg:grid-cols-4 xl:gap-x-8",children:s.map(t=>e.jsx("li",{className:"relative",children:e.jsxs(i,{to:`/shows/${t.id}`,children:[e.jsxs("div",{className:"block w-40 overflow-hidden bg-gray-100 rounded-lg group sm:w-52 aspect-square focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100",children:[e.jsx("img",{src:t.nginxImageUrl,alt:"",className:"object-cover w-full h-full pointer-events-none group-hover:opacity-75 "}),e.jsx("button",{type:"button",className:"absolute inset-0 focus:outline-none",children:e.jsxs("span",{className:"sr-only",children:["View details for ",t.title]})})]}),e.jsx("p",{className:"block mt-2 text-sm font-medium text-gray-900 truncate pointer-events-none",children:t.title})]})},t.id))})};function d({className:s}){return e.jsxs("svg",{className:l("animate-spin ml-1 mr-3 h-5 w-5 text-indigo-600 inline-block",s),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}const g=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"p-3 mb-5 md:flex md:items-center md:justify-between md:p-6 md:mb-7",children:[e.jsx("div",{className:"flex-1 min-w-0",children:e.jsx("h2",{className:"text-3xl font-bold leading-7 text-gray-900 sm:truncate sm:text-5xl sm:tracking-tight",children:"Your Shows"})}),e.jsx("div",{className:"flex mt-4 md:ml-4 md:mt-0",children:e.jsx(i,{type:"button",to:"/shows/create",className:"inline-flex items-center px-3 py-2 ml-3 text-sm font-semibold text-white bg-indigo-600 rounded-md shadow-sm hover:bg-indigo-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"New Show"})})]}),e.jsx(o,{children:e.jsx(r.Suspense,{fallback:e.jsx("div",{className:"w-full text-2xl text-center",children:e.jsxs("span",{children:["Loading your shows... ",e.jsx(d,{})]})}),children:e.jsx(c,{})})})]});export{g as Component}; 2//# sourceMappingURL=Shows-rAhzcpYd.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.