1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{58429:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var a=r(249738),n=r(753824),s=r(754275),o=r(826043),i=r(242573);function c(e){let{error:t}=e,r=(0,o.usePathname)(),c=(0,s.U)(),l="Invalid URL"==t.message?404:500,u=function(e){if(!e)return{file:"unknown",line:null,column:null,rawStack:""};let t=e.split("\n"),r="";for(let e=0;e<t.length;e++){let a=t[e].trim();if(a.includes("at ")||a.match(/https?:\/\//)||a.match(/\.tsx?:|\.jsx?:/)){r=a;break}}r||(r=t[1]||t[0]||"");let a="unknown",n=null,s=null;for(let e of[/at\s+(?:.*?\s+)?\((.+?):(\d+):(\d+)\)/,/at\s+(.+?):(\d+):(\d+)/,/@(.+?):(\d+):(\d+)/,/webpack-internal:\/\/\/(.+?):(\d+):(\d+)/,/(https?:\/\/.+?):(\d+):(\d+)/]){let t=r.match(e);if(t){a=t[1],n=t[2]?parseInt(t[2],10):null,s=t[3]?parseInt(t[3],10):null;break}}return"unknown"!==a&&(a=a.replace(/webpack-internal:\/\/\/\(app-pages-browser\)\/\.\//,"").replace(/webpack-internal:\/\/\//,"").replace(/.*\/\.next\//,".next/").replace(/.*\/components\//,"components/").replace(/.*\/app\//,"app/").replace(/.*\/lib\//,"lib/").replace(/.*\/src\//,"src/").replace(/\?.*$/,"").replace(/#.*$/,"").replace(/%2F/g,"/").replace(/%20/g," ")),{file:a,line:n,column:s,rawStack:r}}(t.stack);return c.log(n.$b.error,t.message,{source:"error.tsx",error:t.name,cause:t.cause,stack:t.stack,digest:t.digest,errorOrigin:{file:u.file,line:u.line,column:u.column,rawStackLine:u.rawStack},request:{host:window.location.href,path:r,statusCode:l},environment:{nodeEnv:"production",userAgent:window.navigator.userAgent}}),(0,a.jsxs)("div",{className:"mx-auto flex h-full max-w-lg flex-col items-center justify-center p-8",children:["Oops! An Error has occurred"," ",(0,a.jsx)("div",{className:"px-8 py-2 text-lg text-destructive",children:(0,a.jsx)("pre",{className:"max-w-prose text-wrap",children:(0,a.jsx)("code",{children:t.message})})}),(0,a.jsxs)("div",{className:"mt-8 flex w-1/3 items-center gap-2",children:[(0,a.jsx)(i.$,{onClick:()=>window.location.reload(),children:"Reload"}),(0,a.jsx)("a",{className:"w-fit",href:"https://doras.to",children:(0,a.jsx)(i.$,{children:"Homepage"})}),(0,a.jsx)("a",{className:"w-fit",href:"https://doras.to/discord",children:(0,a.jsx)(i.$,{children:"Get help"})})]})]})}},242573:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,r:()=>c});var a=r(249738),n=r(705922),s=r(647188),o=r(477405),i=r(723370);let c=(0,o.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-20",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/70",success:"bg-success/80 text-primary-foreground shadow hover:bg-success/50",cc:"bg-accent text-primary-foreground shadow data-[state=open]:bg-muted hover:bg-primary/70 !h-auto !text-xs",navigation:"bg-transparent text-copy-lighter hover:text-foreground hover:bg-accent items-center justify-start flex gap-1",navigationAccent:"bg-accent text-foreground hover:bg-popover items-center justify-start flex gap-1",destructive:"bg-destructive text-foreground shadow-sm hover:bg-destructive/90",outline:"border bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",tertiary:" bg-tertiary text-foreground shadow-sm hover:bg-tertiary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"underline-offset-4 underline hover:text-primary",staffbar:"inline-flex items-center rounded-md border !px-2.5 !py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 bg-card text-foreground capitalize border-accent hover:bg-accent !h-auto",sidebar_active:"bg-muted text-primary-foreground shadow hover:bg-accent justify-start gap-1",sidebar_inactive:"bg-transparent text-muted-foreground shadow hover:bg-accent justify-start gap-1"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-auto w-auto p-1",navigation:"px-0 pl-2 pr-9 py-2 h-auto",link:"px-0 py-0 h-auto text-inherit",sidenav:"p-2 h-auto"}},defaultVariants:{variant:"default",size:"default"}}),l=n.forwardRef((e,t)=>
1{let{className:r,variant:n,size:o,asChild:l=!1,...u}=e,d=l?s.DX:"button";return(0,a.jsx)(d,{className:(0,i.cn)(c({size:o,variant:n,className:r})),ref:t,...u})});l.displayName="Button"},723370:(e,t,r)=>{"use strict";r.d(t,{IM:()=>k,JP:()=>w,Ls:()=>x,Ob:()=>l,QR:()=>m,Zg:()=>h,cn:()=>s,fB:()=>j,hI:()=>b,iv:()=>g,mK:()=>c,r7:()=>f,sg:()=>d,xS:()=>y,xq:()=>v,zk:()=>p});var a=r(852613),n=r(852550);function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.QP)((0,a.$)(t))}let o=e=>{let t=parseInt(e.slice(1),16);return[t>>16&255,t>>8&255,255&t]};function i(e){let t=e.toString(16);return 1==t.length?"0"+t:t}function c(e){if((null==e?void 0:e.includes("radial-gradient"))||(null==e?void 0:e.includes("linear-gradient")))return e;let t=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(t){let e=parseInt(t[1]),r=parseInt(t[2]),a=parseInt(t[3]),n=e/255,s=r/255,o=a/255,i=Math.max(n,s,o),c=Math.min(n,s,o),l=i-c,u=0;0!==l&&(u=(i===n?(s-o)/l+6*(s<o):i===s?(o-n)/l+2:(n-s)/l+4)*60);let d=(i+c)/2,p=0;return 0!==l&&(p=l/(1-Math.abs(2*d-1))),"".concat(Math.round(u)," ").concat(Math.round(100*p),"% ").concat(Math.round(100*d),"%")}{let t=parseInt((e=e.replace(/^#/,"")).slice(0,2),16),r=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16),n=Math.max(t/=255,r/=255,a/=255),s=Math.min(t,r,a),o=n-s,i=0;0!==o&&(i=(n===t?(r-a)/o+6*(r<a):n===r?(a-t)/o+2:(t-r)/o+4)*60);let c=(n+s)/2,l=0;return 0!==o&&(l=o/(1-Math.abs(2*c-1))),"".concat(Math.round(i)," ").concat(Math.round(100*l),"% ").concat(Math.round(100*c),"%")}}function l(e){let t=e.match(/\d+/g);if(!t||3!==t.length)return e.replace("#","");let r=parseInt(t[0]),a=parseInt(t[1]),n=parseInt(t[2]);return"#"+i(r)+i(a)+i(n)}let u=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/;function d(e){if((null==e?void 0:e.includes("radial-gradient"))||(null==e?void 0:e.includes("linear-gradient"))){let t=(e.match(/rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)/g)||[]).map(e=>{let[,t,r,a]=e.match(/(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})/).map(Number);return"#".concat((0x1000000+(t<<16)+(r<<8)+a).toString(16).slice(1).toUpperCase())}),r=e.match(/#[0-9A-Fa-f]{6}/g)||t;return 0===r.length||r.reduce((e,t)=>{var r;let[a,n,s]=u.test(t)?null==(r=u.exec(t))?void 0:r.slice(1).map(Number):o(t);return e+(.299*a+.587*n+.114*s)},0)/r.length>128?"black":"white"}{var t;let[r,a,n]=u.test(e)?null==(t=u.exec(e))?void 0:t.slice(1).map(Number):o(e);return .299*r+.587*a+.114*n>128?"black":"white"}}function p(e){return"CustomAsset"+e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")}function g(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e.split(".")[0])}function f(e){switch(e){case 0:return null;case 25:return"shadow-sm";case 50:return"shadow-md";case 50:return"shadow-lg";case 75:return"shadow-xl"}}function h(e){return e.startsWith("https://")}function m(e){return e=e.replace(/^[a-zA-Z]+:\/\//,""),"https://".concat(e)}function b(e){let t=e.match(/@import[^;]+;/g)||[],r=e.match(/@keyframes\s+[^{]+\s*{(?:[^{}]*{[^{}]*})*[^{}]*}/g)||[],a=e.replace(/@import[^;]+;/g,"").replace(/@keyframes\s+[^{]+\s*{(?:[^{}]*{[^{}]*})*[^{}]*}/g,"").replace(/([^;]+);(?=[^}]*\})/g,"$1 !important;");return[...t,...r.map(e=>e.replace(/\s*!important\s*;/g,";")),a].join("\n")}let x={bplus:215344,bpro:410772},v=[{type:"bplus",variant:x.bplus,url_id:"5186954a-857c-459b-abd2-ef81b60d0b95?enabled="+x.bplus},{type:"bpro",variant:x.bpro,url_id:"848065e9-6d45-4e6f-add2-d3347fd80e0e?enabled="+x.bpro}];function w(e){return e.toLowerCase().replace(/[^a-z0-9\s-.]/g,"").replace(/^-|-$/g,"").replace(/\s+/g,"-")}let y=(e,t,r)=>t.feature_flags[e]?t.feature_flags[e]:(null==r?void 0:r.feature_flags[e])||!1,k=e=>e.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2);function j(e){let t=e.replace(/-/g,"").substring(0,6).padEnd(6,"0");return"#".concat(t)}},754275:(e,t,r)=>{"use strict";r.d(t,{U:()=>i,WebVitals:()=>c});var a=r(753824),n=r(581789),s=r(553914);let o=new a.Vy({transports:[new a.AX({url:"/api/axiom",autoFlush:!0})],formatters:s.w3}),i=(0,n.eE)(o),c=(0,n.d4)(o)},789219:(e,t,r)=>{Promise.resolve().then(r.bind(r,58429))}},e=>{e.O(0,[2089,9963,6655,568,7358],()=>e(e.s=789219)),_N_E=e.O()}]); 2//# sourceMappingURL=error-aeb86a9a21de2826.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.