1import{L as x,r as m,b,o as a,w as o,a as t,c as p,t as s,f as i,d as c}from"./app-DFMywQeH.js";import"./lottie-player.esm-x8HB4Pm0.js";import{A as f}from"./AppLayout-N7yHjTE-.js";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./createLucideIcon-CbiM620t.js";import"./IconLogo-BWjhaVHj.js";import"./PremiumPlus-CIx7OfJd.js";import"./index.m-DI45-rQC.js";import"./notedly-icon-DbWu2gcf.js";import"./PrimaryButton-LXO9DGr1.js";import"./BaseButton-DVDEtT5S.js";import"./SecondaryButton-BoTdGstA.js";import"./description-CuYjwT4H.js";import"./DialogModal-Bv7pGcKt.js";import"./ArrowRightIcon-DNTWyt5V.js";import"./RedAlert-BJFHrf-F.js";import"./BaseAlert-pB5-zJzh.js";import"./LinkText-DiM8h1kk.js";const y="/build/assets/rickroll-Bs-mFZuA.mp4",k={name:"Error.vue",props:{status:Number},components:{AppLayout:f,Link:x},data(){return{rickrollBaseUrl:"https://www.youtube.com/embed/dQw4w9WgXcQ"}},computed:{title(){return{503:"Service Unavailable",500:"Server Error",404:"Page Not Found",403:"Forbidden",410:"Expired"}[this.status]},description(){return{503:"Sorry, we are doing some maintenance. Please check back soon.",500:"Whoops, something went wrong on our servers.",404:"Sorry, we couldn't find the page youâre looking for.",403:"Sorry, you are forbidden from accessing this page.",410:"Sorry, the URL you are attempting to access has expired."}[this.status]},rickroll(){return"https://www.youtube.com/embed/xvFZjo5PgG0?si=-O6QcHHVDskDgvqa"}},setup(){return{}}},g={class:"flex flex-col lg:relative bg-theme-primary"},v={key:0,class:"flex flex-col lg:relative"},_={class:"flex-shrink-0 py-16 mx-auto my-auto max-w-lg max-w-7xl sm:py-32"},w={class:"mt-2 text-4xl font-semibold tracking-tight text-brand-300 sm:text-5xl"},L={class:"mt-6"},S={key:1,class:"flex flex-col lg:relative"},B={class:"flex-shrink-0 py-16 mx-auto my-auto max-w-7xl sm:py-32"},A={class:"text-sm font-semibold tracking-wide uppercase text-brand-700 dark:text-brand-400"},E={class:"mt-2 text-4xl font-semibold tracking-tight text-brand-300 sm:text-5xl"},N={class:"mt-2 text-base text-secondary"},V={class:"mt-6"};function F(n,e,l,P,D,r){const d=m("Link"),u=m("AppLayout");return a(),b(u,{title:"Whoops!"},{title:o(()=>e[0]||(e[0]=[])),default:o(()=>[t("div",g,[l.status===404?(a(),p("div",v,[t("div",_,[t("h1",w,s(r.title),1),e[3]||(e[3]=t("p",{class:"mt-2 text-base text-secondary"}," In the meantime, enjoy this rickroll. ",-1)),e[4]||(e[4]=t("button",{id:"playButton",class:"opacity-0"}," Play Video ",-1)),e[5]||(e[5]=t("video",{id:"rickroll",height:"320",class:"overflow-hidden rounded-xl",controls:""},[t("source",{src:y,type:"video/mp4"}),i(" Your browser does not support the video tag. ")],-1)),t("div",L,[e[2]||(e[2]=t("p",{class:"mb-2 text-base text-secondary"}," You may be visiting a misspelled link, or this link is no longer valid. ",-1)),c(d,{href:n.route("summary.create"),class:"text-base font-medium text-brand-700 hover:text-brand-500 dark:text-brand-400"},{default:o(()=>e[1]||(e[1]=[i(" Summarize text "),t("span",{"aria-hidden":"true"},"â",-1)])),_:1},8,["href"])])])])):(a(),p("div",S,[t("div",B,[t("p",A,s(l.status)+" error ",1),t("h1",E,s(r.title),1),t("p",N,s(r.description),1),t("div",V,[c(d,{href:n.route("welcome"),class:"text-base font-medium text-brand-700 hover:text-brand-500 dark:text-brand-400"},{default:o(()=>e[6]||(e[6]=[i(" Go back home "),t("span",{"aria-hidden":"true"},"â",-1)])),_:1},8,["href"])])])]))])]),_:1})}const M=h(k,[["render",F]]);export{M as default};
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.