PageSourceSearch

https://centralyma.org/assets/layout-DnSaou6m.js

js centralyma.org collected 2026-10-08 17:46:50 UTC 12,743 bytes, 71 lines download raw bytes

1import{p as l,a as je,v as pe,B as be,x as O}from"./chunk-UVKPFVEO-B5tmI4DE.js";import{c as $}from"./compiler-runtime-_imFgbbG.js";import{c as fe}from"./createLucideIcon-Y1uWdEaf.js";import{X as ue}from"./x-CJ8dtOK3.js";import{B as i}from"./button-BmdEnZUs.js";const Ne=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ve=fe("mail",Ne);const ge=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],ye=fe("map-pin",ge);const ke=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],we=fe("phone",ke);function _e(c){const e=$.c(2),{className:t}=c;let n;return e[0]!==t?(n=l.jsx(ve,{className:t}),e[0]=t,e[1]=n):n=e[1],n}function Ce(c){const e=$.c(2),{className:t}=c;let n;return e[0]!==t?(n=l.jsx(ye,{className:t}),e[0]=t,e[1]=n):n=e[1],n}function Se(c){const e=$.c(2),{className:t}=c;let n;return e[0]!==t?(n=l.jsx(we,{className:t}),e[0]=t,e[1]=n):n=e[1],n}function ze(c){const e=$.c(2),{className:t}=c;let n;return e[0]!==t?(n=l.jsx(ue,{className:t}),e[0]=t,e[1]=n):n=e[1],n}function $e(c){const e=$.c(95),{children:t}=c,[n,he]=je.useState(!1),s=pe(),R=be();let U;e[0]!==R.pathname?(U=te=>R.pathname===te||R.pathname.startsWith(`${te}/`),e[0]=R.pathname,e[1]=U):U=e[1];const a=U;let D;e[2]!==a?(D=te=>a(te)?"rounded-none border-b-2 border-red-600 text-red-600":"hover-underline-animation left rounded-none",e[2]=a,e[3]=D):D=e[3];const r=D;let E;e[4]!==n?(E=()=>{he(!n)},e[4]=n,e[5]=E):E=e[5];const P=E;let o;e[6]!==s?(o=()=>s("/"),e[6]=s,e[7]=o):o=e[7];let Y,B;e[8]===Symbol.for("react.memo_cache_sentinel")?(Y=l.jsx("div",{children:l.jsx("img",{src:"/yma_logo_new.png",alt:"",className:"h-14 w-14"})}),B=l.jsxs("div",{children:[l.jsx("h2",{className:"text-2xl font-bold",children:"Central YMA"}),l.jsx("p",{className:`
2                text-xs text-gray-500
3                md:text-sm
4              `,children:"Estd. 1935"})]}),e[8]=Y,e[9]=B):(Y=e[8],B=e[9]);let d;e[10]!==o?(d=l.jsxs(i,{className:`
5              flex items-center
6              lg:gap-x-4
7            `,type:"button",variant:"ghost",onClick:o,children:[Y,B]}),e[10]=o,e[11]=d):d=e[11];let x;e[12]!==P||e[13]!==n?(x=l.jsx("div",{className:`
8            block
9            lg:hidden
10          `,children:n?l.jsx("button",{className:"w-full",onClick:P,children:l.jsx(ze,{className:"h-10 w-6"})}):l.jsxs("button",{className:`
11                      flex w-full items-center justify-center gap-x-1 rounded-xl
12                      border-2 border-dotted border-black px-2 text-sm
13                      font-medium
14                    `,onClick:P,children:[l.jsx("span",{className:`
15                      flex items-center justify-center text-center text-xl
16                    `,children:"•"}),"MENU"]})}),e[12]=P,e[13]=n,e[14]=x):x=e[14];const ie=r("/");let m;e[15]!==s?(m=()=>s("/"),e[15]=s,e[16]=m):m=e[16];let f;e[17]!==m||e[18]!==ie?(f=l.jsx("div",{children:l.jsx(i,{variant:"link",className:ie,onClick:m,children:"Home"})}),e[17]=m,e[18]=ie,e[19]=f):f=e[19];const ae=r("/about-us");let h;e[20]!==s?(h=()=>s("/about-us"),e[20]=s,e[21]=h):h=e[21];let j;e[22]!==ae||e[23]!==h?(j=l.jsx("div",{children:l.jsx(i,{variant:"link",className:ae,onClick:h,children:"About Us"})}),e[22]=ae,e[23]=h,e[24]=j):j=e[24];const ce=r("/organization");let p;e[25]!==s?(p=()=>s("/organization"),e[25]=s,e[26]=p):p=e[26];let b;e[27]!==ce||e[28]!==p?(b=l.jsx("div",{children:l.jsx(i,{variant:"link",className:ce,onClick:p,children:"Organization"})}),e[27]=ce,e[28]=p,e[29]=b):b=e[29];const re=r("/news");let u;e[30]!==s?(u=()=>s("/news"),e[30]=s,e[31]=u):u=e[31];let N;e[32]!==re||e[33]!==u?(N=l.jsx("div",{children:l.jsx(i,{variant:"link",className:re,onClick:u,children:"News"})}),e[32]=re,e[33]=u,e[34]=N):N=e[34];const oe=r("/gallery");let v;e[35]!==s?(v=()=>s("/gallery"),e[35]=s,e[36]=v):v=e[36];let g;
16e[37]!==oe||e[38]!==v?(g=l.jsx("div",{children:l.jsx(i,{variant:"link",className:oe,onClick:v,children:"Gallery"})}),e[37]=oe,e[38]=v,e[39]=g):g=e[39];const de=r("/directory");let y;e[40]!==s?(y=()=>s("/directory"),e[40]=s,e[41]=y):y=e[41];let k;e[42]!==de||e[43]!==y?(k=l.jsx("div",{children:l.jsx(i,{variant:"link",className:de,onClick:y,children:"Directory"})}),e[42]=de,e[43]=y,e[44]=k):k=e[44];const xe=r("/download");let w;e[45]!==s?(w=()=>s("/download"),e[45]=s,e[46]=w):w=e[46];let _;e[47]!==xe||e[48]!==w?(_=l.jsx("div",{children:l.jsx(i,{variant:"link",className:xe,onClick:w,children:"Download"})}),e[47]=xe,e[48]=w,e[49]=_):_=e[49];const me=r("/zualko");let C;e[50]!==s?(C=()=>s("/zualko"),e[50]=s,e[51]=C):C=e[51];let S;e[52]!==me||e[53]!==C?(S=l.jsx("div",{children:l.jsx(i,{variant:"link",className:me,onClick:C,children:"Zualko"})}),e[52]=me,e[53]=C,e[54]=S):S=e[54];let z;e[55]!==f||e[56]!==j||e[57]!==b||e[58]!==N||e[59]!==g||e[60]!==k||e[61]!==_||e[62]!==S?(z=l.jsxs("div",{className:`
17            gap-x- hidden items-center
18            lg:flex
19          `,children:[f,j,b,N,g,k,_,S]}),e[55]=f,e[56]=j,e[57]=b,e[58]=N,e[59]=g,e[60]=k,e[61]=_,e[62]=S,e[63]=z):z=e[63];let M;e[64]!==z||e[65]!==d||e[66]!==x?(M=l.jsxs("div",{className:`
20          flex w-full items-center justify-between px-4 py-4
21          md:px-10 md:py-4
22          xl:px-44
23          2xl:px-60
24        `,children:[d,x,z]}),e[64]=z,e[65]=d,e[66]=x,e[67]=M):M=e[67];let A;e[68]!==a||e[69]!==n||e[70]!==s?(A=n&&l.jsx("div",{className:"w-full border-b-2",children:l.jsxs("div",{className:`
25              flex w-full flex-col items-start gap-y-2 px-3 py-4
26              md:gap-y-6
27            `,children:[l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/"),children:"Home"})}),l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/about-us")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/about-us"),children:"About Us"})}),l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/organization")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/organization"),children:"Organization"})}),l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/news")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/news"),children:"News"})}),l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/gallery")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/gallery"),children:"Gallery"})}),l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/directory")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/directory"),children:"Directory"})}),l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/download")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/download"),children:"Download"})}),l.jsx("div",{children:l.jsx(i,{variant:"link",className:a("/zualko")?"rounded-none border-b-2 border-red-600 text-red-600":"",onClick:()=>s("/zualko"),children:"Zualko"})})]})}),e[68]=a,e[69]=n,e[70]=s,e[71]=A):A=e[71];let I;e[72]!==M||e[73]!==A?(I=l.jsxs("div",{className:`
28          sticky top-0 z-50 flex flex-col bg-white/30 backdrop-blur-2xl
29        `,children:[M,A]}),e[72]=M,e[73]=A,e[74]=I):I=e[74];let L;e[75]!==t?(L=l.jsx("div",{className:"grow",children:t}),e[75]=t,e[76]=L):L=e[76];let H;e[77]===Symbol.for("react.memo_cache_sentinel")?(H=l.jsx("img",{src:"/yma_logo_new.png",alt:"yma",className:"size-12"}),e[77]=H):H=e[77];let X;e[78]===Symbol.for("react.memo_cache_sentinel")?(X=l.jsxs("div",{className:"flex gap-x-2",children:[" ",H," ",l.jsx("div",{className:"mt-1 text-xl font-bold",children:"Central YMA"})]}),e[78]=X):X=e[78];let q;e[79]===Symbol.for("react.memo_cache_sentinel")?(q=l.jsxs("div",{className:"flex flex-col gap-y-4",children:[X,l.jsxs("div",{className:`
30                flex flex-col gap-y-4
31                md:w-80
32                lg:w-full
33              `,children:[l.jsx("p",{className:"text-sm font-semibold text-gray-200",children:"Ṭanpui ngaite ṭanpuitu — Helping the Helpless, Serving the Community since 1935."}),l.jsx("p",{className:"text-xs font-semibold text-gray-300",children:"Registered under Indian Societies Registration Act (XXI of 1860), S.R. No. 4 of 1977"})]})]}),e[79]=q):q=e[79];let G;e[80]===Symbol.for("react.memo_cache_sentinel")?(G=l.jsx("h2",{className:"pb-4 text-base font-semibold",children:"Qu
33ick Links"}),e[80]=G):G=e[80];let T;e[81]===Symbol.for("react.memo_cache_sentinel")?(T=l.jsxs("div",{className:`
34            flex flex-col gap-y-6 px-6 py-12
35            md:flex-row md:gap-x-10
36          `,children:[q,l.jsxs("div",{className:`
37              flex w-full flex-col
38              lg:items-center
39            `,children:[G,l.jsxs("div",{className:"flex flex-col space-y-2 text-sm font-semibold",children:[l.jsx(O,{to:"/about-us",children:"About us"}),l.jsx(O,{to:"/organization",children:"Organization"}),l.jsx(O,{to:"/news",children:"News"})]})]})]}),e[81]=T):T=e[81];let Z;e[82]===Symbol.for("react.memo_cache_sentinel")?(Z=l.jsx("h2",{className:"pb-4 text-base font-bold",children:"Resources"}),e[82]=Z):Z=e[82];let Q;e[83]===Symbol.for("react.memo_cache_sentinel")?(Q=l.jsxs("div",{className:"md:w-80",children:[Z,l.jsxs("div",{className:"flex flex-col space-y-2 text-sm font-semibold",children:[l.jsx(O,{to:"/news",children:"News & Updates"}),l.jsx(O,{to:"/gallery",children:"Photo Gallery"}),l.jsx(O,{to:"/download",children:"Download"})]})]}),e[83]=Q):Q=e[83];let W;e[84]===Symbol.for("react.memo_cache_sentinel")?(W=l.jsx("h2",{className:"pb-4 text-lg font-bold",children:"Contact Us"}),e[84]=W):W=e[84];let F;e[85]===Symbol.for("react.memo_cache_sentinel")?(F=l.jsxs("div",{className:"flex gap-x-2 text-sm",children:[l.jsx(Ce,{className:`
40                    text-red-600
41                    md:h-5
42                  `}),"Central YMA Office, Tuikhuahtlang, Aizawl, Mizoram"]}),e[85]=F):F=e[85];let J;e[86]===Symbol.for("react.memo_cache_sentinel")?(J=l.jsxs("div",{className:"flex gap-1",children:[l.jsxs("a",{href:"tel:+919862570268",className:"flex gap-x-2 text-sm underline",children:[l.jsx(Se,{className:`
43                      text-red-600
44                      md:h-5
45                    `}),"+91 9862570268"]}),l.jsx("p",{className:"pt-1 text-xs",children:"(Office Superintendent)"})]}),e[86]=J):J=e[86];let K,V;e[87]===Symbol.for("react.memo_cache_sentinel")?(K=l.jsxs("div",{className:"lg:flex lg:gap-x-32",children:[T,l.jsxs("div",{className:`
46            flex flex-col gap-y-6 px-6
47            md:flex-row
48            lg:py-12
49          `,children:[Q,l.jsxs("div",{className:`
50              flex flex-col font-semibold
51              md:pl-10
52            `,children:[W,l.jsxs("div",{className:"flex flex-col gap-y-4",children:[F,J,l.jsxs("div",{className:"flex gap-x-2 text-sm",children:[l.jsx(_e,{className:`
53                    text-red-600
54                    md:h-5
55                  `}),"[email protected]"]})]})]})]})]}),V=l.jsx("div",{className:"mb-2 h-1 w-full border-b-2 border-gray-400 p-4"}),e[87]=K,e[88]=V):(K=e[87],V=e[88]);let ee;e[89]===Symbol.for("react.memo_cache_sentinel")?(ee=l.jsxs("div",{className:`
56            col-span-3
57            md:col-span-1
58          `,children:[" ","©  2026 Central Young Mizo Association. All rights reserved."]}),e[89]=ee):ee=e[89];let le;e[90]===Symbol.for("react.memo_cache_sentinel")?(le=l.jsx("div",{children:"Made with love by"}),e[90]=le):le=e[90];let se;e[91]===Symbol.for("react.memo_cache_sentinel")?(se=l.jsxs("footer",{className:`
59        flex w-full flex-col bg-black text-white
60        xl:px-10
61        2xl:px-60
62      `,children:[K,V,l.jsxs("div",{className:`
63          grid grid-cols-3 space-y-4 px-6 pb-10 text-center text-sm text-white
64          md:flex-row md:justify-between md:px-0 md:pt-8
65        `,children:[ee,l.jsxs("a",{href:"https://arsi.in",rel:"noreferrer",target:"_blank",className:`
66              col-span-3 space-y-2 text-center
67              md:col-span-1
68            `,children:[le,l.jsx("div",{className:"h-10",children:l.jsx("img",{src:"/arsi_logo.svg",alt:"arsi_logo",className:"size-full"})}),l.jsx("div",{children:"ARSI CONSULTANCY"})]}),l.jsx("div",{className:`
69            col-span-3
70            md:col-span-1
71          `,children:"United for a Better Mizoram"})]})]}),e[91]=se):se=e[91];let ne;return e[92]!==I||e[93]!==L?(ne=l.jsxs("div",{className:"relative flex min-h-screen w-full flex-col",children:[I,L,se]}),e[92]=I,e[93]=L,e[94]=ne):ne=e[94],ne}export{$e as L,Ce as M};

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.