PageSourceSearch

https://public-assets.askmath.com/nuxt-cdn/_nuxt/8yj3pM3K.js

js askmath.com collected 2026-09-30 12:55:26 UTC 2,952 bytes, 1 lines download raw bytes

1import{u as $,a as q,b as C,c as D,w as F,d as j,e as l,o as n,f as u,g as d,h as i,i as p,_ as B,t as h,F as I,j as M}from"./CJ_zYOxm.js";import{g as z,_ as A,o as N}from"./CTkKfy83.js";import{u as R}from"./BrelJ1JE.js";import"./B87KYB1O.js";import"./D8taeb6v.js";import"./B4kgqd9E.js";import"./DKDXyOtE.js";import"./B3wO1ftt.js";import"./DFbvnwa3.js";import"./Bi7LFR2L.js";import"./DJkG5QmI.js";import"./CXiNOobu.js";import"./BIB3JV0F.js";import"./D3LRDG3t.js";import"./CHuYiWyr.js";import"./DcBCBgj-.js";import"./DNGz5SwH.js";import"./B3EucgeU.js";const L={class:"min-h-[calc(100vh-80px)] bg-[var(--ui-bg-primary)] px-4 py-5"},O={class:"mx-auto w-full max-w-[720px]"},W={key:0,class:"flex h-[520px] items-center justify-center"},Y={key:1,class:"flex h-[520px] flex-col items-center justify-center text-center"},E={class:"mb-2 text-[20px] font-semibold text-neutral-800 dark:text-neutral-100"},U={class:"text-[14px] text-neutral-500"},G={class:"mb-5 text-center text-[16px] font-medium text-neutral-400"},H={__name:"MathToVideoShare",async setup(v){let a,m;const{t:o,locale:s}=$(),g=q();C();const V=D(),r=l(()=>String(g.params.id||"")),f=e=>e&&typeof e=="object"?e[s.value]||e.en||"":e||"",b=e=>{const t=N.find(c=>String(c.video_id||"")===e);return t?{status:"success",is_official:1,progress:100,like_count:0,dislike_count:0,question_images:[],question_pdf:"",audio_url:"",audio_duration:0,video_url:t.final_video_url||"",model_code:"default",language:s.value,...t,title:f(t.title),question_text:f(t.question_text)}:null},{data:x,pending:y,error:S}=([a,m]=F(()=>j(()=>`share-math-video-${r.value}-${s.value}`,()=>{const e=b(r.value);return e?{code:1e5,result:e,message:""}:z(r.value)},{server:!0,watch:[r,s]})),a=await a,m(),a),_=l(()=>{const e=x.value?.result||x.value||null;return e?{...e,video_id:String(e.video_id||""),title:String(e.title||o("common.mathToVideo.untitledVideo")),thumbnail_url:String(e.thumbnail_url||""),final_video_url:String(e.final_video_url||""),duration:Number(e.duration||0)}:null});R({title:l(()=>_.value?.title||o("common.mathToVideo.untitledVideo")),description:l(()=>o("common.mathToVideo.sharePage.banner")),robots:"noindex,follow"});const k=e=>e.endsWith("/")?e:`${e}/`,w=e=>{const t=V(e);return e.endsWith("/")?k(t):t},T=()=>{window.open(w("/math-to-video/"),"_blank","noopener")};return(e,t)=>{const c=B,P=A;return n(),u("main",L,[d("div",O,[i(y)?(n(),u("div",W,[p(c,{name:"i-lucide-loader-circle",class:"size-10 animate-spin text-[var(--ui-primary)]"})])):i(S)||!i(_)?(n(),u("div",Y,[p(c,{name:"i-lucide-file-question",class:"mb-4 size-16 text-neutral-300"}),d("div",E,h(i(o)("common.share.notFoundTitle")),1),d("p",U,h(i(o)("common.share.notFoundDesc")),1)])):(n(),u(I,{key:2},[d("div",G,h(i(o)("common.mathToVideo.sharePage.banner")),1),p(P,{video:i(_),mode:"share",onCreateYourVideo:T},null,8,["video"])],64))])])}}},_e={__name:"[id]",setup(v){return(a,m)=>{const o=H;return n(),M(o)}}};export{_e 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.