PageSourceSearch

https://otaku-sync.vercel.app/assets/index-B4iQZhfk.js

js otaku-sync.vercel.app collected 2026-10-03 07:26:59 UTC 45,551 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-QhrCIxQV.js","assets/vendor-react-DetN1zZq.js","assets/AtmosphereProvider-C8nalH-p.js","assets/logo-DK6rpqyI.js","assets/logo-light-CZwbrmDs.js","assets/anime-qL0_Vbwq.js","assets/vendor-icons-O5FOwhIG.js","assets/vendor-utils-BT29LgNt.js","assets/lists-C8XDwReC.js","assets/Layout-Y2wW_sQY.js","assets/UserMenu-B7xn0S1V.js","assets/JourneyOrb-frVAwlGQ.js","assets/settings-Ce_PV80_.js","assets/notifications-CJM5Qly4.js","assets/vendor-query-BN-wiruJ.js","assets/vendor-ui-QM3tlLGO.js","assets/AdminLayout-d7alIO0-.js","assets/CommandPalette-B6F5U_kC.js","assets/anime-text-DAxT8moa.js","assets/Home-OWhhyOJK.js","assets/AnimeCard-6STPBgbD.js","assets/AnimeCardSkeleton-CBy6j1CX.js","assets/genre-utils-04me2q6w.js","assets/dialog-BbqQ2prU.js","assets/AnimeDetails-D8LAW0pV.js","assets/UserList-CFBuusq-.js","assets/Search-DTLXOptU.js","assets/Notifications-lamLtiQV.js","assets/Settings-qOHNeoVN.js","assets/Recommendations-VTMcCmUD.js","assets/Airing-CeFGrz4K.js","assets/Stats-BjaB0f0-.js","assets/SocialFeed-CIMh2-GL.js","assets/social-D7NlHbde.js","assets/UserProfile-cJBRjL18.js","assets/Memories-Dx43Lou_.js","assets/History-C9eYcZqX.js","assets/NotFound-Bg0pEOce.js","assets/ReportIssue-CiKzoYe5.js","assets/ExtensionHub-DnQVvXBn.js","assets/Privacy-DDYADxNC.js","assets/Support-Py8Wcx4J.js","assets/AdminDashboard-Dta5e5Te.js","assets/admin-MPLLsk7x.js","assets/AdminUsers-D8pN66OR.js","assets/AdminAnime-ljeAzIzq.js","assets/AdminFeatured-DCOCDvZS.js","assets/AdminNotifications-DfXM16qW.js","assets/AdminReports-DcwBkS1m.js","assets/AdminSiteRequests-DHXHf362.js","assets/AdminSyncLogs-CNgdB4vl.js","assets/AdminAnalytics-DNedcvgk.js","assets/AdminSettings-DPN9K1y3.js","assets/index-DF941Wbs.css"])))=>i.map(i=>d[i]);
2import{j as r,g as c,a as $,O as de,u as Ye,R as He,B as Qe,e as Je,d as u,i as Xe,f as Ze}from"./vendor-react-DetN1zZq.js";import{Q as et,a as tt}from"./vendor-query-BN-wiruJ.js";import{s as ot,V as Se,l as Ae,A as ke,b as Te,T as Pe,D as Re,r as rt,i as st,f as Ie,j as nt}from"./vendor-ui-QM3tlLGO.js";import{$ as at,c as it,a as Ce}from"./vendor-utils-BT29LgNt.js";import{aF as lt,ad as ct}from"./vendor-icons-O5FOwhIG.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function o(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(n){if(n.ep)return;n.ep=!0;const a=o(n);fetch(n.href,a)}})();const dt="modulepreload",ut=function(e){return"/"+e},xe={},g=function(t,o,s){let n=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));n=Promise.allSettled(o.map(m=>{if(m=ut(m),m in xe)return;xe[m]=!0;const b=m.endsWith(".css"),j=b?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${j}`))return;const y=document.createElement("link");if(y.rel=b?"stylesheet":dt,b||(y.as="script"),y.crossOrigin="",y.href=m,l&&y.setAttribute("nonce",l),document.head.appendChild(y),b)return new Promise((k,P)=>{y.addEventListener("load",k),y.addEventListener("error",()=>P(new Error(`Unable to preload CSS for ${m}`)))})}))}function a(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return n.then(i=>{for(const l of i||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})},pt=({...e})=>{const{theme:t="system"}=ot();return r.jsx(at,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},mt=1,ft=1e6;let re=0;function gt(){return re=(re+1)%Number.MAX_SAFE_INTEGER,re.toString()}const se=new Map,ye=e=>{if(se.has(e))return;const t=setTimeout(()=>{se.delete(e),Y({type:"REMOVE_TOAST",toastId:e})},ft);se.set(e,t)},ht=(e,t)=>
2{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,mt)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{const{toastId:o}=t;return o?ye(o):e.toasts.forEach(s=>{ye(s.id)}),{...e,toasts:e.toasts.map(s=>s.id===o||o===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},J=[];let X={toasts:[]};function Y(e){X=ht(X,e),J.forEach(t=>{t(X)})}function bt({...e}){const t=gt(),o=n=>Y({type:"UPDATE_TOAST",toast:{...n,id:t}}),s=()=>Y({type:"DISMISS_TOAST",toastId:t});return Y({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:n=>{n||s()}}}),{id:t,dismiss:s,update:o}}function xt(){const[e,t]=c.useState(X);return c.useEffect(()=>(J.push(t),()=>{const o=J.indexOf(t);o>-1&&J.splice(o,1)}),[e]),{...e,toast:bt,dismiss:o=>Y({type:"DISMISS_TOAST",toastId:o})}}const ue="-",yt=e=>{const t=wt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{const l=i.split(ue);return l[0]===""&&l.length!==1&&l.shift(),ze(l,t)||vt(i)},getConflictingClassGroupIds:(i,l)=>{const m=o[i]||[];return l&&s[i]?[...m,...s[i]]:m}}},ze=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const o=e[0],s=t.nextPart.get(o),n=s?ze(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(ue);return(i=t.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},ve=/^\[(.+)\]$/,vt=e=>{if(ve.test(e)){const t=ve.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},wt=e=>{const{theme:t,prefix:o}=e,s={nextPart:new Map,validators:[]};return jt(Object.entries(e.classGroups),o).forEach(([a,i])=>{le(i,s,a,t)}),s},le=(e,t,o,s)=>{e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:we(t,n);a.classGroupId=o;return}if(typeof n=="function"){if(_t(n)){le(n(s),t,o,s);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([a,i])=>{le(i,we(t,a),o,s)})})},we=(e,t)=>{let o=e;return t.split(ue).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},_t=e=>e.isThemeGetter,jt=(e,t)=>t?e.map(([o,s])=>{const n=s.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[t+i,l])):a);return[o,n]}):e,Et=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,s=new Map;const n=(a,i)=>{o.set(a,i),t++,t>e&&(t=0,s=o,o=new Map)};return{get(a){let i=o.get(a);if(i!==void 0)return i;if((i=s.get(a))!==void 0)return n(a,i),i},set(a,i){o.has(a)?o.set(a,i):n(a,i)}}},Oe="!",St=e=>{const{separator:t,experimentalParseClassName:o}=e,s=t.length===1,n=t[0],a=t.length,i=l=>{const m=[];let b=0,j=0,y;for(let w=0;w<l.length;w++){let A=l[w];if(b===0){if(A===n&&(s||l.slice(w,w+a)===t)){m.push(l.slice(j,w)),j=w+a;continue}if(A==="/"){y=w;continue}}A==="["?b++:A==="]"&&b--}const k=m.length===0?l:l.substring(j),P=k.startsWith(Oe),I=P?k.substring(1):k,S=y&&y>j?y-j:void 0;return{modifiers:m,hasImportantModifier:P,baseClassName:I,maybePostfixModifierPosition:S}};return o?l=>o({className:l,parseClassName:i}):i},At=e=>{if(e.length<=1)return e;const t=[];let o=[];return e.forEach(s=>{s[0]==="["?(t.push(...o.sort(),s),o=[]):o.push(s)}),t.push(...o.sort()),t},kt=e=>({cache:Et(e.cacheSize),parseClassName:St(e),...yt(e)}),Tt=/\s+/,Pt=(e,t)=>{const{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(Tt);let l="";for(let m=i.length-1;m>=0;m-=1){const b=i[m],{modifiers:j,hasImportantModifier:y,baseClassName:k,maybePostfixModifierPosition:P}=o(b);let I=!!P,S=s(I?k.substring(0,P):k);if(!S){if(!I){l=b+(l.length>0?" "+l:l);continue}if(S=s(k),!S){l=b+(l.length>0?" "+l:l);continue}I=!1}const w=At(j).join(":"),A=y?w+Oe:w,T=A+S;if(a.includes(T))continue;a.push(T);const N=n(S,I);for(let p=0;p<N.length;++p){const h=N[p];a.push(A+h)}l=b+(l.length>0?" "+l:l)}return l};function Rt(){let e=0,t,o,s="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Le(t))&&(s&&(s+=" "),s+=o);return s}const Le=e=>{if(typeof e=="string")return e;let t,o="";for(let s=0;s<e.length;s++)e[s]&&(t=Le(e[s]))&&(o&&(o+=" "),o+=t);return o};function It(e,...t){let o,s,n,a=i;function i(m){const b=t.reduce((j,y)=>y(j),e());return o=kt(b),s=o.cache.get,n=o.cache.set,a=l,l(m)}function l(m){const b=s(m);if(b)return b;const j=Pt(m,o);return n(m,j),j}return function(){return a(Rt.apply(null,arguments))}}const x=e=>{const t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ct=/^\d+\/\d+$/,zt=new Set(["px","full","screen"]),Ot=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Lt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Nt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Vt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>G(e)||zt.has(e)||Ct.test(e),O=e=>B(e,"length",Ft),G=e=>!!e&&!Number.isNaN(Number(e)),ne=e=>B(e,"number",G),U=e=>!!e&&Number.isInteger(Number(e)),Mt=e=>e.endsWith("%")&&G(e.slice(0,-1)),d=e=>Ne.test(e),L=e=>Ot.test(e),Gt=new Set(["length","size","percentage"]),$t=e=>B(e,Gt,Ve),Bt=e=>B(e,"position",Ve),Wt=new Set(["image","url"]),qt=e=>B(e,Wt,Yt),Ut=e=>B(e,"",Kt),F=()=>!0,B=(e,t,o)=>{const s=Ne.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):o(s[2]):!1},Ft=e=>Lt.test(e)&&!Nt.test(e),Ve=()=>!1,Kt=e=>Vt.test(e),Yt=e=>Dt.test(e),Ht=()=>{const e=x("colors"),t=x("spacing"),o=x("blur"),s=x("brightness"),n=x("borderColor"),a=x("borderRadius"),i=x("borderSpacing"),l=x("borderWidth"),m=x("contrast"),b=x("grayscale"),j=x("hueRotate"),y=x("invert"),k=x("gap"),P=x("gradientColorStops"),I=x("gradientColorStopPositions"),S=x("inset"),w=x("margin"),A=x("opacity"),T=x("padding"),N=x("saturate"),p=x("scale"),h=x("sepia"),f=x("skew"),E=x("space"),R=x("translate"),W=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto",d,t],v=()=>[d,t],fe=()=>["",z,O],H=()=>["auto",G,d],ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Q=()=>["solid","dashed","dotted","double","none"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",d],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[G,d];return{cacheSize:500,separator:":",theme:{colors:[F],spacing:[z,O],blur:["none","",L,d],brightness:C(),borderColor:[e],borderRadius:["n
2one","","full",L,d],borderSpacing:v(),borderWidth:fe(),contrast:C(),grayscale:q(),hueRotate:C(),invert:q(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[Mt,O],inset:te(),margin:te(),opacity:C(),padding:v(),saturate:C(),scale:C(),sepia:q(),skew:C(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ge(),d]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",U,d]}],basis:[{basis:te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",U,d]}],"grid-cols":[{"grid-cols":[F]}],"col-start-end":[{col:["auto",{span:["full",U,d]},d]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[F]}],"row-start-end":[{row:["auto",{span:[U,d]},d]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ne]}],"font-family":[{font:[F]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",G,ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,O]}],"underline-offset":[{"underline-offset":["auto",z,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ge(),Bt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$t]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[I]}
vendor: 5,166 bytes, line 2
2],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Q(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Q()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Q()]}],"outline-offset":[{"outline-offset":[z,d]}],"outline-w":[{outline:[z,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[z,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,Ut]}],"shadow-color":[{shadow:[F]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",L,d]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[j]}],invert:[{invert:[y]}],saturate:[{saturate:[N]}],sepia:[{sepia:[h]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[j]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[N]}],"backdrop-sepia":[{"backdrop-sepia":[h]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[p]}],"scale-x":[{"scale-x":[p]}],"scale-y":[{"scale-y":[p]}],rotate:[{rotate:[U,d]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[f]}],"skew-y":[{"skew-y":[f]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
2],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,O,ne]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Qt=It(Ht);function V(...e){return Qt(it(e))}const Jt=st,De=c.forwardRef(({className:e,...t},o)=>r.jsx(Se,{ref:o,className:V("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));De.displayName=Se.displayName;const Xt=rt("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Me=c.forwardRef(({className:e,variant:t,...o},s)=>r.jsx(Ae,{ref:s,className:V(Xt({variant:t}),e),...o}));Me.displayName=Ae.displayName;const Zt=c.forwardRef(({className:e,...t},o)=>r.jsx(ke,{ref:o,className:V("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));Zt.displayName=ke.displayName;const Ge=c.forwardRef(({className:e,...t},o)=>r.jsx(Te,{ref:o,className:V("absolute right-2 top-2 rounded-md p-1 text-foreground
2/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:r.jsx(lt,{className:"h-4 w-4"})}));Ge.displayName=Te.displayName;const $e=c.forwardRef(({className:e,...t},o)=>r.jsx(Pe,{ref:o,className:V("text-sm font-semibold",e),...t}));$e.displayName=Pe.displayName;const Be=c.forwardRef(({className:e,...t},o)=>r.jsx(Re,{ref:o,className:V("text-sm opacity-90",e),...t}));Be.displayName=Re.displayName;function eo(){const{toasts:e}=xt();return r.jsxs(Jt,{children:[e.map(function({id:t,title:o,description:s,action:n,...a}){return r.jsxs(Me,{...a,children:[r.jsxs("div",{className:"grid gap-1",children:[o&&r.jsx($e,{children:o}),s&&r.jsx(Be,{children:s})]}),n,r.jsx(Ge,{})]},t)}),r.jsx(De,{})]})}const to=nt,oo=c.forwardRef(({className:e,sideOffset:t=4,...o},s)=>r.jsx(Ie,{ref:s,sideOffset:t,className:V("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));oo.displayName=Ie.displayName;const We=c.createContext({theme:"dark",toggle:()=>{},setTheme:()=>{}}),ro=({children:e})=>{const[t,o]=c.useState(()=>typeof window>"u"?"dark":localStorage.getItem("otaku-theme")||"dark");c.useEffect(()=>{document.documentElement.classList.toggle("dark",t==="dark"),localStorage.setItem("otaku-theme",t)},[t]);const s=()=>o(n=>n==="dark"?"light":"dark");return r.jsx(We.Provider,{value:{theme:t,toggle:s,setTheme:o},children:e})},mr=()=>c.useContext(We),qe="https://otaku-sync-api.onrender.com",_=Ce.create({baseURL:qe,timeout:15e3,headers:{"Content-Type":"application/json"},withCredentials:!0});_.interceptors.request.use(e=>{const t=localStorage.getItem("access_token");return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e));_.interceptors.response.use(e=>e,async e=>{var o,s;const t=e.config;if(((o=e.response)==null?void 0:o.status)===401&&!t._retry){t._retry=!0;try{const n=localStorage.getItem("refresh_token");if(n){const a=await Ce.post(`${qe}/auth/refresh`,{refresh_token:n}),{access_token:i,refresh_token:l}=a.data;return localStorage.setItem("access_token",i),localStorage.setItem("refresh_token",l),t.headers.Authorization=`Bearer ${i}`,_(t)}}catch(n){const a=(s=n.response)==null?void 0:s.status;return(a===400||a===401||a===403)&&(localStorage.removeItem("access_token"),localStorage.removeItem("refresh_token"),localStorage.removeItem("otaku.auth.user"),localStorage.removeItem("user"),window.location.href="/login"),Promise.reject(n)}}return Promise.reject(e)});const so=async e=>(await _.post("/auth/signup",e)).data,no=async(e,t)=>(await _.post("/auth/verify-signup",{email:e,otp:t})).data,ao=async e=>(await _.post("/auth/resend-signup-otp",{email:e})).data,io=async(e,t)=>{const o=new FormData;return o.append("username",e),o.append("password",t),(await _.post("/auth/login",o,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})).data},lo=async e=>(await _.post("/auth/google",{id_token:e})).data,_e=async()=>(await _.get("/auth/me")).data,co=async()=>{try{await _.post("/auth/logout")}catch(e){console.warn("Backend logout failed or session already revoked:",e)}finally{localStorage.removeItem("access_token"),localStorage.removeItem("refresh_token"),localStorage.removeItem("user"),localStorage.removeItem("otaku.auth.user")}},fr=async()=>(await _.get("/auth/sessions")).data,gr=async e=>(await _.post(`/auth/sessions/${e}/revoke`)).data,hr=async()=>(await _.post("/auth/logout/all")).data,br=async e=>(await _.post("/auth/forgot-password",{email:e})).data,xr=async(e,t,o)=>(await _.post("/auth/reset-password",{email:e,otp:t,new_password:o})).data,yr=async()=>(await _.post("/auth/request-delete")).data,vr=async e=>(await _.post("/auth/confirm-delete",{otp:e})).data,wr=async()=>(await _.post("/auth/totp/setup")).data,_r=async e=>(await _.post("/auth/totp/enable",{code:e})).data,uo=async(e,t)=>(await _.post("/auth/totp/verify",{totp_session_token:e,code:t})).data,jr=async(e,t)=>(await _.post("/auth/totp/disable",{password:e,code:t})).data,Er=async()=>(await _.get("/users/me/totp/backup-codes-count")).data,Sr=async e=>(await _.post("/users/me/totp/regenerate-backup-codes",{code:e})).data,ce=new et({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),Ue=c.createContext(void 0),ae="otaku.auth.user",K="access_token",ie="refresh_token",po="[email protected]".split(",").map(e=>
2e.trim()).filter(Boolean),D=(e,t="Operation failed")=>{var o;return e!=null&&e.message&&(e.message.includes("Server is unreachable")||e.message.includes("Server is temporarily unavailable"))?e.message:e!=null&&e.response?e.response.status>=500?"Server is temporarily unavailable or starting up. Please try again shortly.":((o=e.response.data)==null?void 0:o.detail)||e.message||t:"Server is currently unreachable. Please check your connection or try again in a few moments."},mo=({children:e})=>{const[t,o]=c.useState(null),[s,n]=c.useState(!0),[a,i]=c.useState(null),[l,m]=c.useState(null);c.useEffect(()=>{try{const p=localStorage.getItem(ae),h=localStorage.getItem(K);if(p&&h){const f=JSON.parse(p);o(f)}}catch(p){console.error("Failed to restore session:",p)}n(!1)},[]);const b=p=>{o(p),p?localStorage.setItem(ae,JSON.stringify(p)):(localStorage.removeItem(ae),localStorage.removeItem(K),localStorage.removeItem(ie))},j=(p,h)=>{const f=(p||"").trim().toLowerCase(),E=(h||"").trim().toLowerCase();return po.some(W=>f===W.trim().toLowerCase())||E==="admin"?"admin":"user"},y=async(p,h)=>{localStorage.setItem(K,p),localStorage.setItem(ie,h);const f=await _e(),E={...f,role:j(f.email,f.username)};ce.clear(),b(E)},k=async(p,h)=>{try{i(null);const f=await io(p,h);return f.requires_2fa&&f.totp_session_token?(m(f.totp_session_token),{requires_2fa:!0}):(await y(f.access_token,f.refresh_token),{})}catch(f){const E=D(f,"Login failed");throw i(E),new Error(E)}},P=async p=>{try{i(null);const h=await lo(p);return h.requires_2fa&&h.totp_session_token?(m(h.totp_session_token),{requires_2fa:!0}):(await y(h.access_token,h.refresh_token),{})}catch(h){const f=D(h,"Google Login failed");throw i(f),new Error(f)}},I=async p=>{if(!l)throw new Error("No pending 2FA session. Please log in again.");try{i(null);const h=await uo(l,p);m(null),await y(h.access_token,h.refresh_token)}catch(h){const f=D(h,"Invalid authentication code");throw i(f),new Error(f)}},S=async(p,h,f)=>{try{i(null),await so({email:p,username:h,password:f})}catch(E){const R=D(E,"Signup failed");throw i(R),new Error(R)}},w=async(p,h)=>{try{i(null);const f=await no(p,h);localStorage.setItem(K,f.access_token),localStorage.setItem(ie,f.refresh_token);const E={id:0,email:p,username:"",role:"user",status:"active"};try{const R=await _e();E.id=R.id,E.username=R.username,E.status=R.status,E.role=j(R.email,R.username)}catch{console.warn("Could not fetch current user after signup verification")}b(E)}catch(f){const E=D(f,"Verification failed");throw i(E),new Error(E)}},A=async p=>{try{i(null),await ao(p)}catch(h){const f=D(h,"Resend failed");throw i(f),new Error(f)}},T=async()=>{i(null),m(null);try{await co()}catch(p){console.warn("Backend session revocation skipped or failed:",p)}finally{ce.clear(),b(null)}},N=p=>{t&&b({...t,...p})};return r.jsx(Ue.Provider,{value:{user:t,isAuthenticated:!!t&&!!localStorage.getItem(K),isAdmin:(t==null?void 0:t.role)==="admin",loading:s,error:a,login:k,loginWithGoogle:P,loginWith2FA:I,signup:S,verifySignup:w,resendSignupOtp:A,logout:T,updateUser:N},children:e})},pe=()=>{const e=c.useContext(Ue);if(!e)throw new Error("useAuth must be used inside AuthProvider");return e},fo=()=>{const{isAuthenticated:e,loading:t}=pe(),o=Ye();return t?null:e?r.jsx(de,{}):r.jsx($,{to:"/login",state:{from:o},replace:!0})},go=()=>{const{isAuthenticated:e,loading:t}=pe();return t?null:e?r.jsx($,{to:"/",replace:!0}):r.jsx(de,{})},ho=()=>{const{isAuthenticated:e,isAdmin:t,loading:o}=pe();return o?null:e?t?r.jsx(de,{}):r.jsx($,{to:"/",replace:!0}):r.jsx($,{to:"/login",replace:!0})},bo=()=>r.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-background/90 dark:bg-[#06080F]/90 backdrop-blur-md",children:[r.jsxs("div",{className:"relative flex items-center justify-center",children:[r.jsx("div",{className:"absolute h-48 w-48 rounded-full bg-orange-500/10 blur-3xl"}),r.jsx("div",{className:"absolute h-24 w-24 rounded-full border border-dashed border-orange-500/20 animate-[spin_10s_linear_infinite]"}),r.jsx("div",{className:"absolute h-16 w-16 rounded-full border-t-2 border-r-2 border-orange-500 animate-spin"}),r.jsx("div",{className:"relative flex h-10 w-10 items-center justify-center rounded-full bg-card/80 dark:bg-[#111622]/80 border border-orange-500/30 shadow-[0_0_15px_rgba(249,115,22,0.2)]",children:r.jsx(ct,{className:"h-5 w-5 text-orange-500 animate-pulse"})})]}),r.jsxs("div",{className:"mt-8 flex flex-col items-center gap-1.5 text-center",children:[r.jsx("h3",{className:"text-sm font-semibold tracking-widest text-orange-500 uppercase select-none",children:"Otaku Sync"}),r.jsx("p",{className:"text-xs text-muted-foreground select-none animate-pulse",children:"Loading c
2atalog coordinates..."})]})]});var Z={},xo=()=>{window.va||(window.va=function(...t){window.vaq||(window.vaq=[]),window.vaq.push(t)})},yo="@vercel/analytics",vo="2.0.1";function Fe(){return typeof window<"u"}function Ke(){try{const e="production"}catch{}return"production"}function wo(e="auto"){if(e==="auto"){window.vam=Ke();return}window.vam=e}function _o(){return(Fe()?window.vam:Ke())||"production"}function me(){return _o()==="development"}function jo(e){return e.scriptSrc?M(e.scriptSrc):me()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?M(`${e.basePath}/insights/script.js`):"/_vercel/insights/script.js"}function Eo(e,t){var o;let s=e;if(t)try{s={...(o=JSON.parse(t))==null?void 0:o.analytics,...e}}catch{}wo(s.mode);const n={sdkn:yo+(s.framework?`/${s.framework}`:""),sdkv:vo};return s.disableAutoTrack&&(n.disableAutoTrack="1"),s.viewEndpoint&&(n.viewEndpoint=M(s.viewEndpoint)),s.eventEndpoint&&(n.eventEndpoint=M(s.eventEndpoint)),s.sessionEndpoint&&(n.sessionEndpoint=M(s.sessionEndpoint)),me()&&s.debug===!1&&(n.debug="false"),s.dsn&&(n.dsn=s.dsn),s.endpoint?n.endpoint=s.endpoint:s.basePath&&(n.endpoint=M(`${s.basePath}/insights`)),{beforeSend:s.beforeSend,src:jo(s),dataset:n}}function M(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function So(e={debug:!0},t){var o;if(!Fe())return;const{beforeSend:s,src:n,dataset:a}=Eo(e,t);if(xo(),s&&((o=window.va)==null||o.call(window,"beforeSend",s)),document.head.querySelector(`script[src*="${n}"]`))return;const i=document.createElement("script");i.src=n;for(const[l,m]of Object.entries(a))i.dataset[l]=m;i.defer=!0,i.onerror=()=>{const l=me()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${n}. ${l}`)},document.head.appendChild(i)}function Ao({route:e,path:t}){var o;(o=window.va)==null||o.call(window,"pageview",{route:e,path:t})}function ko(){if(!(typeof process>"u"||typeof Z>"u"))return Z.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function To(){if(!(typeof process>"u"||typeof Z>"u"))return Z.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function Po(e){return c.useEffect(()=>{var t;e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),c.useEffect(()=>{So({framework:e.framework||"react",basePath:e.basePath??ko(),...e.route!==void 0&&{disableAutoTrack:!0},...e},e.configString??To())},[]),c.useEffect(()=>{e.route&&e.path&&Ao({route:e.route,path:e.path})},[e.route,e.path]),null}const je=c.lazy(()=>g(()=>import("./Login-QhrCIxQV.js").then(e=>e.L),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),Ro=c.lazy(()=>g(()=>import("./Layout-Y2wW_sQY.js"),__vite__mapDeps([9,1,10,11,8,12,13,7,3,4,2,6,14,15])).then(e=>({default:e.Layout}))),Io=c.lazy(()=>g(()=>import("./AdminLayout-d7alIO0-.js"),__vite__mapDeps([16,1,10,3,4,6,14,15,7])).then(e=>({default:e.AdminLayout}))),Co=c.lazy(()=>g(()=>import("./CommandPalette-B6F5U_kC.js"),__vite__mapDeps([17,1,8,7,18,6,14,15])).then(e=>({default:e.CommandPalette}))),zo=c.lazy(()=>g(()=>import("./Home-OWhhyOJK.js"),__vite__mapDeps([19,1,14,20,8,7,6,21,18,5,22,11,23,15]))),Ee=c.lazy(()=>g(()=>import("./AnimeDetails-D8LAW0pV.js"),__vite__mapDeps([24,1,20,8,7,6,5,22,18,14,15]))),Oo=c.lazy(()=>g(()=>import("./UserList-CFBuusq-.js"),__vite__mapDeps([25,1,8,5,7,22,18,23,15,6,14]))),Lo=c.lazy(()=>g(()=>import("./Search-DTLXOptU.js"),__vite__mapDeps([26,1,20,8,7,6,5,22,18,14,15]))),No=c.lazy(()=>g(()=>import("./Notifications-lamLtiQV.js"),__vite__mapDeps([27,1,13,7,6,14,15]))),Vo=c.lazy(()=>g(()=>import("./Settings-qOHNeoVN.js"),__vite__mapDeps([28,1,12,8,23,15,7,6,14]))),Do=c.lazy(()=>g(()=>import("./Recommendations-VTMcCmUD.js"),__vite__mapDeps([29,1,14,20,8,7,6,21,5,22,18,15]))),Mo=c.lazy(()=>g(()=>import("./Airing-CeFGrz4K.js"),__vite__mapDeps([30,1,20,8,7,6,21,5,22,18,14,15]))),Go=c.lazy(()=>g(()=>import("./Stats-BjaB0f0-.js"),__vite__mapDeps([31,1,14,7,8,23,15,6]))),$o=c.lazy(()=>g(()=>
2import("./SocialFeed-CIMh2-GL.js"),__vite__mapDeps([32,1,33,6,14,15,7]))),Bo=c.lazy(()=>g(()=>import("./UserProfile-cJBRjL18.js"),__vite__mapDeps([34,1,33,6,14,15,7]))),Wo=c.lazy(()=>g(()=>import("./Memories-Dx43Lou_.js"),__vite__mapDeps([35,1,33,6,14,15,7]))),qo=c.lazy(()=>g(()=>import("./History-C9eYcZqX.js"),__vite__mapDeps([36,1,33,7,18,6,14,15]))),Uo=c.lazy(()=>g(()=>import("./NotFound-Bg0pEOce.js"),__vite__mapDeps([37,1]))),Fo=c.lazy(()=>g(()=>import("./ReportIssue-CiKzoYe5.js"),__vite__mapDeps([38,1,7,6,14,15]))),Ko=c.lazy(()=>g(()=>import("./ExtensionHub-DnQVvXBn.js"),__vite__mapDeps([39,1,6]))),Yo=c.lazy(()=>g(()=>import("./Privacy-DDYADxNC.js"),__vite__mapDeps([40,1,3,7,6]))),Ho=c.lazy(()=>g(()=>import("./Support-Py8Wcx4J.js"),__vite__mapDeps([41,1,3,7,6]))),Qo=c.lazy(()=>g(()=>import("./AdminDashboard-Dta5e5Te.js"),__vite__mapDeps([42,1,43,7,6,14,15]))),Jo=c.lazy(()=>g(()=>import("./AdminUsers-D8pN66OR.js"),__vite__mapDeps([44,1,43,7,6,14,15]))),Xo=c.lazy(()=>g(()=>import("./AdminAnime-ljeAzIzq.js"),__vite__mapDeps([45,1,5,43,7,6,14,15]))),Zo=c.lazy(()=>g(()=>import("./AdminFeatured-DCOCDvZS.js"),__vite__mapDeps([46,1,5,43,7,6,14,15]))),er=c.lazy(()=>g(()=>import("./AdminNotifications-DfXM16qW.js"),__vite__mapDeps([47,1,43,7,6,14,15]))),tr=c.lazy(()=>g(()=>import("./AdminReports-DcwBkS1m.js"),__vite__mapDeps([48,1,43,7,6,14,15]))),or=c.lazy(()=>g(()=>import("./AdminSiteRequests-DHXHf362.js"),__vite__mapDeps([49,1,43,7,6,14,15]))),rr=c.lazy(()=>g(()=>import("./AdminSyncLogs-CNgdB4vl.js"),__vite__mapDeps([50,1,43,7,6,14,15]))),sr=c.lazy(()=>g(()=>import("./AdminAnalytics-DNedcvgk.js"),__vite__mapDeps([51,1,43,7,6,14,15]))),nr=c.lazy(()=>g(()=>import("./AdminSettings-DPN9K1y3.js"),__vite__mapDeps([52,1,7,6]))),ar=()=>{const{username:e}=Xe();return r.jsx($,{to:e?`/user/${e}`:"/social",replace:!0})},ir=()=>(He.useEffect(()=>{g(()=>Promise.resolve({}),__vite__mapDeps([53]))},[]),r.jsx(tt,{client:ce,children:r.jsx(ro,{children:r.jsxs(to,{children:[r.jsx(eo,{}),r.jsx(pt,{}),r.jsx(Po,{}),r.jsx(Qe,{children:r.jsxs(mo,{children:[r.jsx(c.Suspense,{fallback:null,children:r.jsx(Co,{})}),r.jsx(c.Suspense,{fallback:r.jsx(bo,{}),children:r.jsxs(Je,{children:[r.jsx(u,{path:"/privacy",element:r.jsx(Yo,{})}),r.jsx(u,{path:"/support",element:r.jsx(Ho,{})}),r.jsxs(u,{element:r.jsx(go,{}),children:[r.jsx(u,{path:"/login",element:r.jsx(je,{})}),r.jsx(u,{path:"/signup",element:r.jsx(je,{})})]}),r.jsxs(u,{element:r.jsx(fo,{}),children:[r.jsxs(u,{element:r.jsx(Ro,{}),children:[r.jsx(u,{path:"/",element:r.jsx(zo,{})}),r.jsx(u,{path:"/anime/:id",element:r.jsx(Ee,{})}),r.jsx(u,{path:"/anime",element:r.jsx(Ee,{})}),r.jsx(u,{path:"/list",element:r.jsx(Oo,{})}),r.jsx(u,{path:"/search",element:r.jsx(Lo,{})}),r.jsx(u,{path:"/notifications",element:r.jsx(No,{})}),r.jsx(u,{path:"/settings",element:r.jsx(Vo,{})}),r.jsx(u,{path:"/recommendations",element:r.jsx(Do,{})}),r.jsx(u,{path:"/airing",element:r.jsx(Mo,{})}),r.jsx(u,{path:"/stats",element:r.jsx(Go,{})}),r.jsx(u,{path:"/social",element:r.jsx($o,{})}),r.jsx(u,{path:"/user/:username",element:r.jsx(Bo,{})}),r.jsx(u,{path:"/profile/:username",element:r.jsx(ar,{})}),r.jsx(u,{path:"/profile",element:r.jsx($,{to:"/social",replace:!0})}),r.jsx(u,{path:"/memories",element:r.jsx(Wo,{})}),r.jsx(u,{path:"/history",element:r.jsx(qo,{})}),r.jsx(u,{path:"/report-issue",element:r.jsx(Fo,{})}),r.jsx(u,{path:"/extension",element:r.jsx(Ko,{})})]}),r.jsx(u,{element:r.jsx(ho,{}),children:r.jsxs(u,{element:r.jsx(Io,{}),children:[r.jsx(u,{path:"/admin",element:r.jsx(Qo,{})}),r.jsx(u,{path:"/admin/users",element:r.jsx(Jo,{})}),r.jsx(u,{path:"/admin/anime",element:r.jsx(Xo,{})}),r.jsx(u,{path:"/admin/featured",element:r.jsx(Zo,{})}),r.jsx(u,{path:"/admin/notifications",element:r.jsx(er,{})}),r.jsx(u,{path:"/admin/reports",element:r.jsx(tr,{})}),r.jsx(u,{path:"/admin/site-requests",element:r.jsx(or,{})}),r.jsx(u,{path:"/admin/sync-logs",element:r.jsx(rr,{})}),r.jsx(u,{path:"/admin/analytics",element:r.jsx(sr,{})}),r.jsx(u,{path:"/admin/settings",element:r.jsx(nr,{})})]})}),r.jsx(u,{path:"*",element:r.jsx(Uo,{})})]})]})})]})})]})})}));Ze(document.getElementById("root")).render(r.jsx(ir,{}));export{g as _,_ as a,vr as b,V as c,jr as d,_r as e,br as f,Er as g,D as h,fr as i,yr as j,xr as k,hr as l,gr as m,mr as n,xt as o,Sr as r,wr as s,pe as u};

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.