PageSourceSearch

https://animenexusdb.up.railway.app/static/js/519.e6f2103e.chunk.js

js animenexusdb.up.railway.app collected 2026-10-03 12:11:24 UTC 7,537 bytes, 5 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f875f155-3274-52d8-b18d-c989c6a6cb87")}catch(e){}}();
3(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[519],{519:(e,a,s)=>{s.r(a),s.d(a,{default:()=>o});var n=s(43),l=s(579);const i=e=>{let{genres:a}=e;return(0,l.jsxs)("div",{className:"tag-group",children:[(0,l.jsx)("h4",{children:"Genres"}),(0,l.jsx)("div",{className:"tags",children:a&&0!==a.length?"object"===typeof a[0]&&null!==a[0]&&"name"in a[0]?a.map(((e,a)=>(0,l.jsx)("span",{className:"tag",children:e.name},a))):a.map(((e,a)=>(0,l.jsx)("span",{className:"tag",children:e},a))):(0,l.jsx)("span",{className:"na",children:"No genres listed"})})]})},t=e=>{let{themes:a}=e;return(0,l.jsxs)("div",{className:"tag-group",children:[(0,l.jsx)("h4",{children:"Themes"}),(0,l.jsx)("div",{className:"tags",children:a&&0!==a.length?"object"===typeof a[0]&&null!==a[0]&&"name"in a[0]?a.map(((e,a)=>(0,l.jsx)("span",{className:"tag",children:e.name},a))):a.map(((e,a)=>(0,l.jsx)("span",{className:"tag",children:e},a))):(0,l.jsx)("span",{className:"na",children:"N/A"})})]})},c=e=>{let{broadcast:a}=e;return a?(0,l.jsxs)("div",{className:"detail-section",children:[(0,l.jsx)("h4",{children:"Broadcast Information"}),(0,l.jsxs)("div",{className:"detail-item",children:[(0,l.jsx)("span",{className:"label",children:"Day"}),(0,l.jsx)("span",{className:"value",children:a.day||"N/A"})]}),(0,l.jsxs)("div",{className:"detail-item",children:[(0,l.jsx)("span",{className:"label",children:"Time"}),(0,l.jsx)("span",{className:"value",children:a.time||"N/A"})]}),(0,l.jsxs)("div",{className:"detail-item",children:[(0,l.jsx)("span",{className:"label",children:"Timezone"}),(0,l.jsx)("span",{className:"value",children:a.timezone||"N/A"})]}),(0,l.jsxs)("div",{className:"detail-item",children:[(0,l.jsx)("span",{className:"label",children:"Schedule"}),(0,l.jsx)("span",{className:"value",children:a.string||"N/A"})]})]}):(0,l.jsxs)("div",{className:"detail-section",children:[(0,l.jsx)("h4",{children:"Broadcast Information"}),(0,l.jsxs)("div",{className:"detail-item",children:[(0,l.jsx)("span",{className:"label",children:"Broadcast"}),(0,l.jsx)("span",{className:"value",children:"No information available"})]})]})};var r=s(675);const m="https://animedb-production.up.railway.app",d=e=>{let{relations:a}=e;const[s,i]=(0,n.useState)({anime:{},manga:{}}),[t,c]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{if(!a||0===a.length)return;(async()=>{c(!0);const e={anime:[],manga:[]};a.forEach((a=>{a.entry.forEach((a=>{"anime"===a.type?e.anime.push(a.mal_id):"manga"===a.type&&e.manga.push(a.mal_id)}))}));try{const a={anime:{},manga:{}};if(e.anime.length>0)try{const s=await fetch(`${m}/api/anime/mal-mappings?ids=${e.anime.join(",")}`);if(s.ok){const e=await s.json();a.anime=e,console.log("Anime mappings fetched:",e)}}catch(s){console.error("Error fetching anime mappings:",s)}if(e.manga.length>0)try{const s=await fetch(`${m}/api/manga/mal-mappings?ids=${e.manga.join(",")}`);if(s.ok){const e=await s.json();a.manga=e,console.log("Manga mappings fetched:",e)}}catch(s){console.error("Error fetching manga mappings:",s)}i(a)}catch(s){console.error("Error fetching related content IDs:",s)}finally{c(!1)}})()}),[a]),a&&0!==a.length?(0,l.jsxs)("div",{className:"tag-group relations-group",children:[(0,l.jsx)("h4",{children:"Related Content"}),t&&(0,l.jsx)("div",{className:"loading-indicator",children:"Loading related content..."}),a.map(((e,a)=>(0,l.jsxs)("div",{className:"relation-category",children:[(0,l.jsx)("h5",{className:"relation-type",children:e.relation}),(0,l.jsx)("div",{className:"tags",children:e.entry.map(((e,a)=>"anime"===e.type?s.anime[e.mal_id]?(0,l.jsx)(r.N_,{to:`/anime/${s.anime[e.mal_id]}`,className:"tag relation-tag anime-tag",children:e.name},a):(0,l.jsx)("span",{className:"tag relation-tag anime-tag inactive",children:e.name},a):"manga"===e.type?s.manga[e.mal_id]?(0,l.jsx)(r.N_,{to:`/manga/${s.manga[e.mal_id]}`,className:"tag relation-tag manga-tag",children:e.name},a):(0,l.jsxs)("span",{className:"tag relation-tag manga-tag inactive",children:[e.name," (Manga)"]},a):(0,l.jsxs)("span",{className:"tag unknown-tag",children:[e.name," (",e.type,")"]},a)))})]},a)))]}):null},h=e=>{var a,s;let{theme:n}=e;return n&&(null!==(a=n.openings)&&void 0!==a&&a.length||null!==(s=n.endings)&&void 0!==s&&s.length)?(0,l.jsxs)("div",{className:"detail-section theme-songs-section",children:[(0,l.jsx)("h4",{children:"Theme Songs"}),n.openings&&n.openings.length>0&&(0,l.jsxs)("div",{className:"theme-group",children:[(0,l.jsx)("h5",{children:"Opening Themes"}),(0,l.jsx)("ul",{className:"theme-list",children:n.openings.map(((e,a)=>(0,l.jsx)("li",{className:"theme-item",children:e},`opening-${a}`)))})]}),n.endings&&n.endings.length>0&&(0,l.jsxs)("div",{className:"theme-group",children:[(0,l.jsx)("h5",{children:"Ending Themes"}),(0,l.jsx)("ul",{className:"theme-list",children:n.endings.map(((e,a)=>(0,l.jsx)("li",{className:"theme-item",children:e},`ending-${a}`)))})]})]}):null},o=e=>{var a,s;let{anime:n}=e;const r=[{label:"Type",value:n.type||"N/A"},{label:"Source",value:n.source||"N/A"},{label:"Episodes",value:n.episodes||"TBA"},{label:"Status",value:n.status||"N/A"},{label:"Duration",value:n.duration||"N/A"},{label:"Rating",value:n.rating||"N/A"}];return(0,l.jsxs)("div",{className:"tab-content",children:[(0,l.jsxs)("div",{className:"left-column",children:[(0,l.jsxs)("div",{className:"synopsis",children:[(0,l.jsx)("h3",{children:"Synopsis"}),(0,l.jsx)("p",{children:n.synopsis||"No synopsis available."}),n.background&&(0,l.jsxs)("div",{className:"background-info",children:[(0,l.jsx)("h4",{children:"Backgroun
3d"}),(0,l.jsx)("p",{children:n.background})]})]}),(0,l.jsxs)("div",{className:"details-grid",children:[(0,l.jsxs)("div",{className:"detail-section",children:[(0,l.jsx)("h4",{children:"General Information"}),r.map(((e,a)=>(0,l.jsxs)("div",{className:"detail-item",children:[(0,l.jsx)("span",{className:"label",children:e.label}),(0,l.jsx)("span",{className:"value",children:e.value})]},a)))]}),(0,l.jsx)(c,{broadcast:n.broadcast}),n.theme&&((null===(a=n.theme.openings)||void 0===a?void 0:a.length)>0||(null===(s=n.theme.endings)||void 0===s?void 0:s.length)>0)&&(0,l.jsx)(h,{theme:n.theme})]})]}),(0,l.jsx)("div",{className:"right-column",children:(0,l.jsxs)("div",{className:"content-tags",children:[(0,l.jsx)(i,{genres:n.genres}),(0,l.jsx)(t,{themes:n.themes}),(0,l.jsxs)("div",{className:"tag-group",children:[(0,l.jsx)("h4",{children:"Demographics"}),(0,l.jsx)("div",{className:"tags",children:(()=>{const e=n.demographics||[];return 0===e.length?(0,l.jsx)("span",{className:"na",children:"N/A"}):"object"===typeof e[0]&&null!==e[0]&&"name"in e[0]?e.map(((e,a)=>(0,l.jsx)("span",{className:"tag",children:e.name},a))):e.map(((e,a)=>(0,l.jsx)("span",{className:"tag",children:e},a)))})()})]}),(0,l.jsx)(d,{relations:n.relations}),n.streaming&&n.streaming.length>0&&(0,l.jsxs)("div",{className:"tag-group",children:[(0,l.jsx)("h4",{children:"Streaming Services"}),(0,l.jsx)("div",{className:"tags",children:n.streaming.map(((e,a)=>(0,l.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"tag streaming-tag",children:e.name},a)))})]})]})})]})}}}]);
4//# sourceMappingURL=519.e6f2103e.chunk.js.map
5//# debugId=f875f155-3274-52d8-b18d-c989c6a6cb87

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.