\n \n `})).join("")||""),$("#kota").prop("hidden",!1)):location.assign("/home")}catch(e){console.error(e)}}async function getWelcomeStb(){let e=innerWidth>innerHeight?"landscape":"portrait";try{let t=await fetch(`https://box.youtv.live/api/stb/getWelcomeMessage?mode=${e}`,{method:"GET"}),n=await t.json();$("#kota").html(" "+(n.text||"YouTV")+" "),n.success&&n.welcomes?.length>0?($("#carousel-id").html(n.welcomes?.map(((e,t)=>`