PageSourceSearch

https://raajjedaily.com/build/assets/HomeLayout-e6e11e4d.js

js raajjedaily.com collected 2026-10-03 18:33:51 UTC 3,792 bytes, 1 lines download raw bytes

1import{o as s,f as a,b as e,K as y,s as k,h as b,l as j,a as i,w as c,F as u,k as m,u as n,c as g,r as C,O as B,n as f,t as x,d as M}from"./app-75635e44.js";import{X as p,Y as z,V}from"./Footer-ef17d9be.js";function $(d,l){return s(),a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[e("path",{"fill-rule":"evenodd",d:"M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z","clip-rule":"evenodd"})])}function D(d,l){return s(),a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function L(d,l){return s(),a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])}const N={class:"mx-auto max-w-7xl px-2 sm:px-4 lg:px-8"},O={class:"relative flex h-16 items-center justify-between"},F={class:"flex items-center px-2 lg:px-0"},R=e("div",{class:"flex-shrink-0"},[e("a",{href:"/"},[e("img",{class:"block h-8 w-auto lg:hidden",src:"/images/rd_logo_white.svg",alt:"Raajje Daily"}),e("img",{class:"hidden h-8 w-auto lg:block",src:"/images/rd_logo_white.svg",alt:"Raajje Daily"})])],-1),S={class:"hidden lg:ml-6 lg:block"},q={class:"flex mx-5"},A=["href","onClick"],E={class:"flex flex-1 justify-center px-2 lg:ml-6 lg:justify-end"},H={class:"w-full max-w-lg lg:max-w-xs"},K={class:"relative"},T={class:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},X={class:"flex lg:hidden"},Y=e("span",{class:"sr-only"},"Open main menu",-1),G={class:"space-y-1 px-2 pb-3 pt-2"},Q={__name:"HomeLayout",setup(d){const l=y(),h=k([]),_=b(()=>l.props.menu);j(async()=>{let r=[];for(const o of _.value)r.push({name:o.name,href:o.href,current:route().current("category",{category:o.slug})});h.value=r});const w=r=>{B.get(route("search",{q:r.target.value}))};return(r,o)=>(s(),a(u,null,[i(n(V),{as:"nav",class:"bg-midnight sticky top-0 inset-x-0 z-10"},{default:c(({open:v})=>[e("div",N,[e("div",O,[e("div",F,[R,e("div",S,[e("div",q,[(s(!0),a(u,null,m(h.value,t=>(s(),a("a",{href:t.href,onClick:I=>r.current=t.name,class:f([[t.current?"bg-white text-midnight":"text-white hover:bg-gray-700 hover:text-white"],"rounded-md px-3 py-2 mx-2 text-md font-medium font-waheed"])},x(t.name),11,A))),256))])])]),e("div",E,[e("div",H,[e("div",K,[e("div",T,[i(n($),{class:"h-5 w-5 text-midnight-900","aria-hidden":"true"})]),e("input",{id:"search",name:"search",onChange:o[0]||(o[0]=t=>w(t)),class:"block w-full rounded-md border-0 bg-white py-1.5 pl-10 pr-3 text-midnight-900 placeholder:text-gray-400 focus:bg-white focus:text-gray-900 focus:ring-0 sm:text-sm sm:leading-6",type:"search"},null,32)])])]),e("div",X,[i(n(p),{class:"inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white"},{default:c(()=>[Y,v?(s(),g(n(L),{key:1,class:"block h-6 w-6","aria-hidden":"true"})):(s(),g(n(D),{key:0,class:"block h-6 w-6","aria-hidden":"true"}))]),_:2},1024)])])]),i(n(z),{class:"lg:hidden"},{default:c(()=>[e("div",G,[(s(!0),a(u,null,m(h.value,t=>(s(),g(n(p),{as:"a",href:t.href,class:f([[t.current?"bg-midnight text-white":"text-gray-300 hover:bg-gray-700 hover:text-white"],"block rounded-md bg-midnight px-3 py-2 text-base font-medium text-white"])},{default:c(()=>[M(x(t.name),1)]),_:2},1032,["href","class"]))),256))])]),_:1})]),_:1}),C(r.$slots,"default")],64))}};export{Q as _,$ as r};

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.