PageSourceSearch

https://shorttv.live/_nuxt/B862-RsL.js

js shorttv.live collected 2026-10-01 13:09:51 UTC 7,760 bytes, 2 lines download raw bytes

1import{p as J,_ as X,b6 as ee,i as te,Q as oe,j as se,r as k,b as R,h as ae,w as ne,L as le,l as E,N as ie,c as p,y as f,o as l,e as o,A as M,n as _,q as i,v as a,E as de,ax as B,z as P,F as re,C as ce,m as ue,f as b,t as d,x as w,a as ve}from"./B7unHZUh.js";import{u as pe}from"./4RMheTwp.js";import{t as h}from"./CGyrAlWq.js";import{u as _e}from"./Cn6nqDGM.js";const we=J("/images/h5.png"),he={key:0},me={class:"container"},ge={class:"header-top"},ke={class:"header-top-left"},fe={class:"language"},ye={class:"language__menu"},be={class:"header-top-right"},Le={key:0,class:"nav"},xe={class:"nav__link-wrapper",style:{position:"relative"}},Ce={key:2,style:{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)","z-index":"1000"},class:"download-box-container"},$e={class:"download-box"},De={class:"download-box-text"},Ee={key:0,class:"header-spacer"},Me={__name:"Mobilenavbar",async setup(Be){let y,T;const{request:z}=pe(),H=ee(),{locales:I,setLocale:N,locale:L,t:V}=te(),m=oe(),W=se("lang"),j=k(!1),r=k(!1),c=k(!1),u=k(!1),A=k("");R(async()=>{{const{v4:t}=await ae(async()=>{const{v4:e}=await import("./B7pptXb4.js");return{v4:e}},[],import.meta.url);A.value=t(),setTimeout(()=>{addLogoToQRCode()},500)}}),ne(u,t=>{t?document.documentElement.classList.add("lock-scroll"):document.documentElement.classList.remove("lock-scroll")});const S=I.value,{data:q=[]}=([y,T]=le(()=>z("/webLanguage/queryList",{method:"POST",body:{clientEnableStatus:1}})),y=await y,T(),y),O=()=>{h("download_show",{from:"tab_download"})},U=t=>(typeof t=="string"?t:t.code)===((L==null?void 0:L.value)||"en"),x=E(()=>{const t=m.path.replace(/\/+$/,"")||"/";return t==="/"||t==="/index"||/^\/[a-z]{2}$/.test(t)||/^\/[a-z]{2}\/index$/.test(t)}),C=t=>{t.startsWith("/")||(t="/"+t);const e=m.path;if(e===t)return!0;const n=e.split("/");if(S.some(v=>v.code===n[1])){const v="/"+n.slice(2).join("/");return v===t||v.startsWith(t+"/")}else return e.startsWith(t+"/")},Q=E(()=>m.path.includes("/search")),Y=E(()=>m.path.includes("/episode")),Z=t=>{h("language_result",{language:t.code}),c.value=!1,N(t.code),W.value=t.code;const e=H("/",t.code);setTimeout(()=>{window.location.assign(e)},300)},F=t=>{c.value&&!t.target.closest(".language__selector")&&(c.value=!1)};let $=0;const K=()=>{$=window.pageYOffset,r.value=!0,O(),document.body.style.position="fixed",document.body.style.top=`-${$}px`,document.body.style.width="100%"},G=()=>{r.value=!1,document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,$)},D=()=>{j.value=window.scrollY>50};R(()=>{window.addEventListener("scroll",D),document.addEventListener("click",F),D();const t=m.path.split("/");t.length>1&&S.some(e=>e.code===t[1])&&N(t[1])}),ie(()=>{window.removeEventListener("scroll",D),document.removeEventListener("click",F)});const g=_e();return(t,e)=>{const n=de;return Q.value?f("",!0):(l(),p("div",he,[o("header",{class:w(["header",{"header--scrolled":j.value,"header--home":x.value,"header--other":!x.value}])},[o("div",me,[o("div",ge,[o("div",ke,[_(n,{to:a(g)("/"),class:"logo-link"},{default:i(()=>e[10]||(e[10]=[o("img",{src:we,alt:"ShortTV Logo",class:"logo-image"},null,-1)])),_:1,__:[10]},8,["to"])]),M(o("div",{class:"language-overlay",onClick:e[0]||(e[0]=s=>u.value=!1),onTouchmove:e[1]||(e[1]=P(()=>{},["prevent"]))},null,544),[[B,u.value]]),M(o("div",{class:"language-sidebar",onTouchmove:e[4]||(e[4]=P(()=>{},["stop"]))},[o("div",{onClick:e[2]||(e[2]=s=>u.value=!1),class:"popup-close"},e[11]||(e[11]=[o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[o("path",{d:"M15 5.5L8.5 12L15 18.5",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),o("div",fe,[o("div",{class:"language__selector",onClick:e[3]||(e[3]=s=>c.value=!c.value&&a(h)("language_click"))},e[12]||(e[12]=[o("div",{class:"language__selector-title"},[o("span",null,"Language")],-1),o("div",{class:"language__dropdown"},[o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[o("path",{d:"M12.3333 6L7.99992 10.3333L3.66659 6",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}
1)])],-1)])),M(o("div",ye,[(l(!0),p(re,null,ce(a(q),(s,v)=>(l(),ue(n,{to:s.code==="en"?"/":`/${s.code}`,class:w(["language__menu-item",{"language__menu-item--active":U(s)}]),key:v,onClick:P(Pe=>Z(s),["prevent","stop"])},{default:i(()=>[b(d(s.englishName),1)]),_:2},1032,["to","class","onClick"]))),128))],512),[[B,c.value]])])],544),[[B,u.value]]),e[15]||(e[15]=o("div",{class:"header-top-middle"},null,-1)),o("div",be,[_(n,{to:a(g)("/search"),class:"header-top-search"},{default:i(()=>e[13]||(e[13]=[o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[o("path",{d:"M11.5 20C16.1944 20 20 16.1944 20 11.5C20 6.8056 16.1944 3 11.5 3C6.8056 3 3 6.8056 3 11.5C3 16.1944 6.8056 20 11.5 20Z",stroke:"white","stroke-width":"1.5","stroke-linejoin":"round"}),o("path",{d:"M17.6108 17.6113L21 21.0005",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),_:1,__:[13]},8,["to"]),o("div",{class:"topR-language",onClick:e[5]||(e[5]=s=>u.value=!0)},e[14]||(e[14]=[o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[o("path",{d:"M3 11H21V13H3V11Z",fill:"white"}),o("ellipse",{cx:"12",cy:"12",rx:"4",ry:"9",stroke:"white","stroke-width":"2"}),o("circle",{cx:"12",cy:"12",r:"9",stroke:"white","stroke-width":"2"})],-1)]))])]),Y.value?f("",!0):(l(),p("nav",Le,[_(n,{to:a(g)("/"),class:w(["nav__link",{"nav__link--active":C("/")}]),onClick:e[6]||(e[6]=s=>a(h)("tab_click",{tab_name:"Home"}))},{default:i(()=>[b(d(t.$t("Home.title")),1)]),_:1},8,["to","class"]),_(n,{to:a(g)("/dramas"),class:w(["nav__link",{"nav__link--active":C("/dramas")}]),onClick:e[7]||(e[7]=s=>a(h)("tab_click",{tab_name:"Dramas"}))},{default:i(()=>[b(d(t.$t("Dramas.title")),1)]),_:1},8,["to","class"]),_(n,{to:a(g)("/fandom"),class:w(["nav__link",{"nav__link--active":C("/fandom")}]),onClick:e[8]||(e[8]=s=>a(h)("tab_click",{tab_name:"Fandom"}))},{default:i(()=>[b(d(t.$t("Fandom.title")),1)]),_:1},8,["to","class"]),o("div",xe,[o("p",{class:w(["nav__link",{"nav__link--active":r.value}]),onClick:K},d(t.$t("Download.title")),3)])])),r.value?(l(),p("div",{key:1,class:"overlay",onClick:e[9]||(e[9]=s=>r.value=!1)})):f("",!0),r.value?(l(),p("div",Ce,[o("div",$e,[o("div",De,[o("p",null,d(a(V)("m-Download-pop-text")),1)]),_(n,{class:"download-box-button",to:`https://shorttv.onelink.me/CKbB?af_js_web=true&af_ss_ver=2_9_3&pid=seo&c=app-shorttv_channel-seo_invest-app_system-all_optimist-unused_unlocktype-auto_paypoint&af_channel=seo&af_adset_id=seo&af_ad_id=seo&af_ss_ui=true&clickid=${encodeURIComponent(`${A.value}`)}`},{default:i(()=>[o("p",null,d(a(V)("m-Download-pop-button")),1)]),_:1},8,["to"])]),o("div",{class:"download-box-close",onClick:G},e[16]||(e[16]=[ve('<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none" data-v-4c0b50da><g clip-path="url(#clip0_1029_16598)" data-v-4c0b50da><circle cx="16" cy="16" r="16" fill="white" fill-opacity="0.2" data-v-4c0b50da></circle><path d="M20.5687 11.4317L11.4335 20.5679M20.5716 20.5734L11.4287 11.4277" stroke="#9F9FA2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-4c0b50da></path></g><defs data-v-4c0b50da><clipPath id="clip0_1029_16598" data-v-4c0b50da><rect width="32" height="32" fill="white" data-v-4c0b50da></rect></clipPath></defs></svg>',1)]))])):f("",!0)])],2),x.value?f("",!0):(l(),p("div",Ee))]))}}},Ae=X(Me,[["__scopeId","data-v-4c0b50da"]]);export{Ae as default};
2//# sourceMappingURL=B862-RsL.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.