PageSourceSearch

https://pgs-bagli-one.vercel.app/_next/static/chunks/app/page-3bc74392b8284605.js

js pgs-bagli-one.vercel.app collected 2026-10-03 07:29:15 UTC 38,886 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{9695:function(e,t,a){Promise.resolve().then(a.bind(a,6005)),Promise.resolve().then(a.bind(a,7415)),Promise.resolve().then(a.bind(a,4281))},7709:function(e,t,a){"use strict";var r=a(7437),l=a(2265),s=a(7042);let n={primary:"btn-primary",secondary:"btn-secondary",tertiary:"btn-tertiary",delete:"btn-delete"},i={large:"text-button",small:"text-button-sm"},o=(0,l.forwardRef)((e,t)=>{let{className:a,btnType:l="primary",size:o="large",onClick:c,children:d,disabled:u,backgroundColor:m,...h}=e;return(0,r.jsx)("button",{ref:t,onClick:c,className:(0,s.Z)("btn",n[l],i[o],a),disabled:u,...h,children:d})});t.Z=o},641:function(e,t,a){"use strict";var r=a(7437);a(2265);var l=a(6691),s=a.n(l);t.Z=e=>{let{cardDetails:t}=e;if(!t)return(0,r.jsx)("div",{children:"Error: Details not provided"});let{heading:a,headingDescription:l,svgLink:n}=t;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"w-full  flex-col justify-start items-start inline-flex relative mt-10 ",children:[(0,r.jsx)("div",{className:" bg-tred rounded-md w-12   h-12    absolute left-4 -top-5 border-2 border-black",children:(0,r.jsx)(s(),{className:"inline p-3",src:n,alt:"Hero Image",layout:"fill",objectFit:"cover"})}),(0,r.jsxs)("div",{className:"self-stretch md:h-56 lg:h-56 sm:h-64 px-3 pl-4 pt-14 rounded-lg pb-10 bg-bred  border-2 border-black flex-col justify-start items-start gap-4 flex shadow-[5px_5px_2px_2px_#ff0000]",style:{backgroundImage:"url('/redBg.svg')"},children:[(0,r.jsx)("h1",{className:"font-bold text-xl text-black",children:a}),(0,r.jsx)("div",{className:"self-stretch text-neutral-600 text-sm font-medium ",children:l})]})]})})}},4281:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return B}});var r=a(7437),l=a(2265),s=e=>{let{description:t,head:a,background:l}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("section",{className:"mt-4 lg:w-11/12 md:w-full sm:w-full  relative z-2 overflow-hidden   pb-3  dark:bg-dark lg:pb-2 lg:pt-10",children:[(0,r.jsx)("div",{className:"w-full container mx-auto",children:(0,r.jsxs)("div",{className:"w-full flex flex-wrap  ",children:[(0,r.jsxs)("div",{className:"w-full px-2 py-2 lg:w-1/2 ",children:[(0,r.jsx)(n,{header:" What is the admission process for the school?",text:"Visit the Admissions page for a step-by-step guide."}),(0,r.jsx)(n,{header:"Are there any specialized programs, extracurricular activities, or enrichment options available for students?",text:"Yes, we offer various extracurricular activities and enrichment programs; details are on the Programs page."}),(0,r.jsx)(n,{header:"What are the tuition fees for the current academic year?",text:"Tuition fees for [year] are available on the Tuition & Fees page."})]}),(0,r.jsxs)("div",{className:"w-full px-2 py-2 lg:w-1/2",children:[(0,r.jsx)(n,{header:"What facilities and resources are available for students?",text:"Our campus provides state-of-the-art facilities, including [list]; learn more on the Facilities page."}),(0,r.jsx)(n,{header:" How does the school handle emergencies or unexpected closures?",text:"Emergency procedures and closure information are outlined on the Health & Safety page. "}),(0,r.jsx)(n,{header:" How does the school communicate with parents about events and important information?",text:"We use newsletters, emails, and our website to keep parents informed; details on the Communication page."})]})]})}),(0,r.jsx)("div",{className:"absolute bottom-0 right-0 z-[-1]",children:(0,r.jsxs)("svg",{width:"1440",height:"886",viewBox:"0 0 1440 886",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{opacity:"0.5",d:"M193.307 -273.321L1480.87 1014.24L1121.85 1373.26C1121.85 1373.26 731.745 983.231 478.513 729.927C225.976 477.317 -165.714 85.6993 -165.714 85.6993L193.307 -273.321Z",fill:"url(#paint0_linear)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear",x1:"1308.65",y1:"1142.58",x2:"602.827",y2:"-418.681",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{"stop-color":"#3056D3","stop-opacity":"0.36"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#F5F2FD","stop-opacity":"0"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#F5F2FD","stop-opacity":"0.096144"})]})})]})})]})})};let n=e=>{let{header:t,text:a}=e,[s,n]=(0,l.useState)(!1),[i,o]=(0,l.useState)("white"),c=()=>{event.preventDefault(),n(!s),"white"==i?o("#D3FCD2"):o("white")};return(0,r.jsxs)("div",{className:"mb-8 w-full  rounded-lg border-2 border-black  dark:bg-dark-2  sm:p-8 lg:px-6 md:px-8",style:{backgroundColor:i},onClick:()=>c(),children:[(0,r.jsxs)("button",{className:"faq-btn flex w-full text-left ",children:[(0,r.jsx)("div",{className:"md:mr-5 lg:mr-5 sm:mr-0 flex h-10 w-full max-w-[40px] items-center justify-center rounded-lg bg-primary/5 text-primary dark:bg-white/5",children:(0,r.jsx)("svg",{className:"fill-primary stroke-primary duration-200 ease-in-out ".concat(s?"rotate-180":""),width:"17",height:"10",viewBox:"0 0 17 10",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M7.28687 8.43257L7.28679 8.43265L7.29496 8.43985C7.62576 8.73124 8.02464 8.86001 8.41472 8.86001C8.83092 8.86001 9.22376 8.69083 9.53447 8.41713L9.53454 8.41721L9.54184 8.41052L15.7631 2.70784L15.7691 2.70231L15.7749 2.69659C16.0981 2.38028 16.1985 1.80579 15.7981 1.41393C15.4803 1.1028 14.9167 1.00854 14.5249 1.38489L8.41472 7.00806L2.29995 1.38063L2.29151 1.37286L2.28271 1.36548C1.93092 1.07036 1.38469 1.06804 1.03129 1.41393L1.01755 1.42738L1.00488 1.44184C0.69687 1.79355 0.695778 2.34549 1.0545 2.69659L1.05999 2.70196L1.06565 2.70717L7.28687 8.43257Z",fill:"",stroke:""})})}),(0,r.jsx)("div",{className:"w-full md:h-16 lg:h-24 sm:h-20",children:(0,r.jsx)("h4",{className:" mt-1 md:text-lg lg:text-lg sm:text-md font-semibold  text-dark dark:text-white",children:t})})]}),(0,r.jsx)("div",{className:"pl-10  duration-200 ease-in-out ".concat(s?"block":"hidden"),children:(0,r.jsx)("p",{className:"border-t-2 border-black md:py-3 lg:py-3 sm:py-0 lg:h-20 md:h-20 sm:h-24 text-base  leading-relaxed text-body-color dark:text-dark-6",children:a})})]})};var i=a(641),o=a(6691),c=a.n(o);
1function d(e){let{cardDetails:t}=e;if(!t)return(0,r.jsx)("div",{children:"Error: Details not provided"});let{img:a,Name:l,Description:s}=t;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"w-64 h-80 border-2 border-black flex flex-col justify-between items-center relative mt-10 text-black px-5 pb-10 pt-5 rounded-lg  shadow-[5px_5px_2px_2px_#ff0000]",children:[(0,r.jsxs)("div",{className:"flex  flex-col justify-between items-center  w-full ",children:[(0,r.jsx)("div",{className:"w-16 h-16 rounded-full border-2 border-black  overflow-hidden",children:(0,r.jsx)(c(),{src:a,alt:"Hero Image",width:700,height:700})}),(0,r.jsx)("h1",{className:"text-md font-bold text-center pt-2 ",children:l})]}),(0,r.jsx)("div",{className:" w-full flex justify-center items-center",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("svg",{className:"w-4 h-4 text-orange ms-1","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:(0,r.jsx)("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})}),(0,r.jsx)("svg",{className:"w-4 h-4 text-orange ms-1","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:(0,r.jsx)("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})}),(0,r.jsx)("svg",{className:"w-4 h-4 text-orange ms-1","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:(0,r.jsx)("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})}),(0,r.jsx)("svg",{className:"w-4 h-4 text-orange ms-1","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:(0,r.jsx)("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})}),(0,r.jsx)("svg",{className:"w-4 h-4 ms-1 text-orange dark:text-gray-500","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:(0,r.jsx)("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})})]})}),(0,r.jsx)("div",{className:" w-full",children:(0,r.jsx)("p",{className:"text-neutral-600 text-sm font-medium text-center",children:s})})]})})}var u=a(4033);function m(e){let{cardDetails:t}=e,a=(0,u.useRouter)();if(!t)return(0,r.jsx)("div",{children:"Error: Details not provided"});let{pageName:l,Description:s,destination:n}=t;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"lg:h-72 md:w-full sm:w-full lg:w-1/3 md: flex flex-col p-9 justify-between items-center  border-2 rounded-md border-red-500  ",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-center text-2xl font-bold pb-4 border-dashed border-b-4 border-tred",children:l}),(0,r.jsx)("p",{className:"text-xs text-center lg:py-3 py-6",children:s})]}),(0,r.jsxs)("button",{onClick:()=>{a.push(n)},className:"bg-bred w-full border-2 py-1 border-black rounded-md shadow-[2px_2px_1px_1px_black]",style:{backgroundImage:"url('/redBg.svg')"},children:["Learn More",(0,r.jsx)("span",{className:"pl-4",children:(0,r.jsx)(c(),{className:"inline",src:"/right-arrow.svg",alt:"Hero Image",width:15,height:15})})]})]})})}let h=(e,t,a)=>{let[r,s]=(0,l.useState)(e);return(0,l.useEffect)(()=>{let e=setInterval(()=>{s(a=>a<t?a+1:(clearInterval(e),a))},a);return()=>{clearInterval(e)}},[t,a]),r};var x=e=>{let{initialValue:t=0,targetValue:a=10,speed:l=100,textColor:s="black",bgColor:n="white",title:i="Counter Widget"}=e,o=h(t,a,l);return(0,r.jsxs)("div",{className:"py-3 self-stretch text-black text-2xl font-bold    rounded-md ",children:["+",o]})},f=a(119),g=a(1396),p=a.n(g),w=e=>{let{mixedData:t}=e,[a,s]=(0,l.useState)(0),n=t.length,i=(0,l.useRef)(null),o=()=>{s(e=>(e+1)%n)};return(0,l.useEffect)(()=>{let e=setInterval(o,3e3);return i.current=e,()=>{clearInterval(i.current)}},[n]),(0,l.useEffect)(()=>()=>{clearInterval(i.current)},[]),(0,r.jsxs)("div",{id:"controls-carousel",className:"relative w-full","data-carousel":"static",children:[(0,r.jsx)("div",{className:"lg:min-h-[550px] lg:max-h-[375px] md:min-
1h-[375px]  md:max-h-[375px] ",children:t.map((e,t)=>(0,r.jsxs)("div",{className:"duration-700 ease-linear ".concat(a===t?"":"opacity-0"),"data-carousel-item":a===t?"active":void 0,children:[(0,r.jsx)("img",{src:e.thumbNail,className:"absolute block  w-full lg:min-h-[550px] lg:max-h-[550px] md:min-h-auto md:max-h-auto -translate-x-1/2 left-1/2 ",alt:"Slide ".concat(t+1)}),(0,r.jsx)("div",{className:"absolute m-auto bottom-2 text-black lg:bottom-20 rounded-lg font-bold text-xs bg-gray-100 p-2 left-2 text-center",children:(0,r.jsx)("h1",{children:e.title})})]},t))}),(0,r.jsx)("button",{type:"button",className:"font-bold text-black text-2xl absolute lg:top-0 start-0 top-32  flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none","data-carousel-prev":!0,onClick:()=>{s(e=>(e-1+n)%n)},children:"< "}),(0,r.jsx)("button",{type:"button",className:"absolute text-black font-bold text-2xl lg:top-0 end-0 top-32  flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none","data-carousel-next":!0,onClick:o,children:"> "})]})},v=a(7561),b=a(9676),j=a(6140),y=a(2067),N=a.n(y),k=a(6042);function _(e){let{schoolUuid:t=""}=e,[a,s]=(0,l.useState)([]),[n,i]=(0,l.useState)([]),[o,c]=(0,l.useState)([]),[d,u]=(0,l.useState)([]),[m,h]=(0,l.useState)(!0),[x,f]=(0,l.useState)(null),g=(0,l.useRef)(null),p=async()=>{try{let e=await (0,v.lh)(t),a=null==e?void 0:e.map(e=>({...e,type:"news"}));s(a)}catch(e){console.error("Error fetching news:",e)}},y=async()=>{try{let e=(await (0,j.Jq)(t)).map(e=>({...e,type:"notice",thumbNail:e.file}));c(e)}catch(e){console.error("Error fetching notices:",e)}},N=async e=>{try{let a=await (0,b.EY)({schoolUuid:t,limit:6,page:e}),r=null==a?void 0:a.data.map(e=>({...e,type:"event"}));i(r)}catch(e){console.error("Error fetching events:",e)}};return((0,l.useEffect)(()=>{(async()=>{h(!0),await Promise.all([p(),y(),N(1)]),h(!1)})()},[]),(0,l.useEffect)(()=>{let e=g.current;if(e){let t=()=>{e.scrollTop+=1,e.scrollTop+e.clientHeight>=e.scrollHeight-1&&(e.scrollTop=0)},a=setInterval(t,50),r=()=>clearInterval(a),l=()=>{clearInterval(a),a=setInterval(t,50)};return e.addEventListener("mouseover",r),e.addEventListener("mouseout",l),()=>{clearInterval(a),e.removeEventListener("mouseover",r),e.removeEventListener("mouseout",l)}}},[g.current]),(0,l.useEffect)(()=>{Array.isArray(a)&&Array.isArray(n)&&Array.isArray(o)&&u(function(e){for(let t=e.length-1;t>0;t--){let a=Math.floor(Math.random()*(t+1));[e[t],e[a]]=[e[a],e[t]]}return e}([...a,...n,...o]))},[a,n,o]),m)?(0,r.jsx)("div",{children:(0,r.jsx)(k.Z,{})}):x?(0,r.jsxs)("div",{children:["Error: ",x]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"w-full flex justify-center items-center flex-col mt-10",children:[(0,r.jsx)("h2",{className:"text-black text-2xl font-bold",children:"News & Notices"}),(0,r.jsx)("h6",{className:"text-2xl text-black font-bold",children:"_________________________"}),(0,r.jsx)("h5",{className:"text-black text-2xl font-bold",children:"BE UPDATED ALL THE TIME"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row w-full mt-10 p-2",children:[(0,r.jsx)("div",{className:"w-full sm:w-1/2  h-[550px]",children:(0,r.jsx)("div",{className:"w-full  mx-auto",children:(0,r.jsx)(w,{mixedData:d,length:d.length})})}),(0,r.jsx)("div",{className:"gap-4 h-[550px] w-full shadow-[rgba(0,_0,_0,_0.24)_0px_3px_8px] p-2",children:(0,r.jsx)("div",{className:"w-full h-full ",children:(0,r.jsx)("div",{className:"  w-full mx-auto px-2",children:(0,r.jsx)("div",{className:"flex mx-auto w-full h-full items-center justify-center",children:(0,r.jsx)("ul",{ref:g,className:" w-full grid lg:grid-cols-2 md:grid-cols-1 sm:grid-cols-1 gap-6 max-h-[540px] overflow-scroll",children:d.map((e,t)=>(0,r.jsx)(S,{item:e},t))})})})})})]})]})}let S=e=>{let{item:t}=e,{title:a,thumbNail:l,publishedDate:s,type:n,file:i,uuid:o}=t,c="";switch(n){case"news":c="/newsDetailSection/newsDetail/".concat(o);break;case"event":c="/events";break;case"notice":c="/notice/".concat(o);break;default:c="/"}return(0,r.jsx)("li",{className:"border-gray-400 flex flex-col",children:(0,r.jsx)(p(),{href:c,children:(0,r.jsxs)("div",{className:"w-full flex gap-2 px-2 ",children:[(0,r.jsx)("div",{className:" w-28 h-28 relative rounded-lg overflow-hidden",children:l?(0,r.jsx)("img",{src:l,className:"flex flex-col h-[75px] rounded-md w-32 text-2xl bg-gray-300 text-black justify-center items-center mr-4",alt:"news"===n?"News Image":"Event Image"}):i?(0,r.jsx)("img",{src:"/notice.png",className:"flex flex-col h-[70px] rounded-md w-32 text-2xl bg-gray-300 text-black justify-center items-center mr-4",alt:"Default Image"}):(0,r.jsx)("div",{className:"flex flex-col max-h-[70px] rounded-md max-w-32 text-2xl bg-gray-300 text-black justify-center items-center mr-4",children:"No Image Available"})}),(0,r.jsxs)("div",{className:"w-9/12 justify-center p-2 items-start flex flex-col",children:[(0,r.jsx)("h1",{className:" text-sm font-bold hover:text-gray-600",children:a}),(0,r.jsxs)("div",{className:" flex justify-start py-4 items-center text-sm font-semibold",children:[(0,r.jsx)("h1",{className:"px-2  p-1 font-semibold rounded-lg capitalize bg-blue-200",children:n}),(0,r.jsx)("h1",{className:"px-4 text-blue-900",children:N()(s).format("MMMM DD, YYYY")})]})]})]})})})};var L=a(8529),C=a.n(L),I=a(7709),D=a(884);function A(){let[e,t]=(0,l.useState)({msg:"",type:""}),[a,s]=(0,l.useState)(D.J_),n=e=>{let{target:a}=e,{name:r,value:l}=a;t({msg:"",type:""}),s(e=>({...e,[r]:l}))},i=async e=>{e.preventDefault(),t({msg:"",type:""});let r=validator(a,D.Ck,["otherQuery"]);if(!0===r)try{setIsLoading(!0),await addAdmissionQuery(a)&&(s(D.J_),setIsLoading(!1),t({msg:D.F7,type:"success"}))}catch(e){setIsLoading(!1)}else t({msg:r,type:"error"})};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"w-full h-full ",children:[(0,r.jsx)("h1",{className:"text-center p-3 text-tred text-5xl font-extrabold",children:"Pratibha Global School, BAGLI"}),(0,r.jsx)("h2",{className:"text-center p-3 text-tred text-3xl font-extrabold",children:"Admission Open 2024-25"}),(0,r.jsxs)("div",{className:"flex flex-col md:flex-row md:justify-around items-center bg-cover",children:[(0,r.jsxs)("form",{onSubmit:i,className:"space-y-4 bg-white p-6 w-full md:w-80 shadow-md flex flex-col border-indigo-200 rounded-xl ",children:[(0,r.jsx)("h1",{className:" text-xl bg-clip-text bg-gradient-to-r to-yellow-600 from-pink-400",children:"Admisson Form"}),(0,r.jsx)("input",{type:"text",name:"applicantName",placeholder:"Parent Name*",value:a.applicantName,onChange:n,required:!0,className:"border border-gray-300 rounded-md px-4 py-2"}),(0,r.jsx)("input",{type:"text",name:"applicantPhone",value:a.applicantPhone,placeholder:"Mobile*",onChange:n,required:!0,className:"border border-gray-300 rounded-md px-4 py-2"}),(0,r.jsx)("input",{type:"email",name:"applicantEmail",value:a.applicantEmail,placeholder:"[email protected]",onChange:n,required:!0,className:"border border-gray-300 rounded-md px-4 py-2"}),(0,r.jsxs)("select",{name:"instituteName",value:a.instituteName,onChange:n,required:!0,className:"border border-gray-300 rounded-md px-4 py-2",children:[(0,r.jsx)("option",{value:"BAGLI",children:"BAGLI"}),(0,r.jsx)("option",{value:"Bagli",children:"Bagli"}),(0,r.jsx)("option",{value:"Gwaliour",children:"Gwaliour"}),(0,r.jsx)("option",{value:"Nathdwara",children:"Nathdwara"})]}),(0,r.jsx)("input",{type:"text",name:"admissionYear",value:a.admissionYear,placeholder:"2023-2024",onChange:n,required:!0,className:"border border-gray-300 rounded-md px-4 py-2"}),(0,r.jsx)("input",{type:"text",placeholder:"Any query or message",name:"otherQuery",value:a.otherQuery,onChange:n,required:!0,className:"border border-gray-300 rounded-md px-4 py-2"}),(0,r.jsx)(I.Z,{type:"submit",onClick:i,btnType:"primary",size:"large",className:"text-white px-4 py-2 rounded-lg",style:{background:"#ff0000"},children:"Submit"})]}),(0,r.jsx)("div",{className:"hidden md:flex lg:flex flex-col justify-center items-center mt-5 md:mt-0 max-w-3xl",children:(0,r.jsx)(c(),{alt:"image",src:"/homeGallary/HeroSectionImage (1).jpg",width:600,height:500,className:"rounded-full"})})]})]})})}var E=a(2727),F=a.n(E),P=()=>{let[e,t]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=localStorage.getItem("routeCount"),a=JSON.parse(localStorage.getItem("isFirstRender"));F()(e)&&a&&(t(!0),localStorage.setItem("isFirstRender",!1),localStorage.setItem("routeCount",1)),e>=5&&(t(!0),localStorage.clear(),localStorage.setItem("isFirstRender",!1),localStorage.setItem("routeCount",1))},[]);let a=()=>{t(!1)};return(0,r.jsx)(C(),{isOpen:e,onRequestClose:a,contentLabel:"Example Modal",children:(0,r.jsxs)("div",{className:"w-full h-full ",children:[(0,r.jsxs)("button",{onClick:a,className:"fixed font-bold text-2xl text-red-600 w-12 h-12 z-30  right-14 top-14 duration-300 hover:transform hover:scale-x-125 hover:scale-y-125 bg-transparent",children:[(0,r.jsx)("span",{className:"sr-only",children:"Close Mod
1al"}),"✕"]}),(0,r.jsx)(A,{})]})})};function B(e){let{school:t}=e,[a,n]=(0,l.useState)(0),[o,u]=(0,l.useState)([]),h=["/homeGallary/HeroSectionImage (2).jpg","/homeGallary/HeroSectionImage (3).jpg","/homeGallary/HeroSectionImage (4).jpg","/homeGallary/HeroSectionImage (5).jpg","/homeGallary/HeroSectionImage (1).jpg"],g=()=>{n(e=>(e+1)%h.length)};(0,l.useEffect)(()=>{let e=setInterval(()=>{g()},2e3);return()=>{clearInterval(e)}},[a]),(0,l.useEffect)(()=>{if(t){var e,a;null===(a=window)||void 0===a||null===(e=a.localStorage)||void 0===e||e.setItem("id",null==t?void 0:t.uuid)}},[]);let p=new URL("https://www.youtube.com/watch?v=SswUBzdyT9E").searchParams.get("v");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"duration-1000",children:(0,r.jsx)(P,{})}),(0,r.jsxs)("main",{className:"min-h-full flex flex-col p-5  bg-white justify-center items-center dark:bg-dpurple",children:[(0,r.jsxs)("div",{className:"md:flex md:flex-col lg:flex-row  md:p-4 lg:p-4 sm:p-4 sm:flex-col mt-2  border border-gray-200 rounded-lg  shadow-none lg:shadow-[7px_8px_4px_2px_#ff0000] dark:bg-dpurple",style:{backgroundImage:"url('/HomeBg.svg')",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"},children:[(0,r.jsx)("div",{className:"md:w-full lg:w-1/2 sm:w-full w-full",children:(0,r.jsx)(c(),{className:"duration-200",src:h[a],alt:"Hero Image",width:700,height:650})}),(0,r.jsxs)("div",{className:"md:w-full lg:w-1/2 sm:w-full p-8  flex flex-col justify-center ",children:[(0,r.jsx)("h3",{className:"text-black text-sm border-b-2 border-black  font-bold sm:mt-4",children:"Welcome to Pratibha Global School"}),(0,r.jsxs)("h1",{className:"text-3xl font-semibold text-black my-2 md:text-start lg:text-start sm:text-center",children:["Where Young Minds Blossom and"," ",(0,r.jsx)("span",{className:"text-tred dark:text-orange",children:"Dreams Take Flight"})," "]}),(0,r.jsx)("p",{className:"text-sm text-black mt-4",children:"Our kinder garden school provides a nurturing and stimulating environment, fostering a love for learning that lasts a lifetime. Join us as we embark on an exciting educational journey together!"}),(0,r.jsxs)("div",{className:"w-full mt-10 rounded-md border-2 sm:p-4  md:p-4 lg:p-5 p-4 shadow-none lg:shadow-[7px_8px_4px_2px_#ff0000] border-black grid md:grid-cols-1 lg:grid-cols-3   sm:grid-cols-1 gap-5  justify-center items-center bg-[url('/redBg.svg')]  dark:bg-dpurple",children:[(0,r.jsxs)("div",{className:" flex-col justify-center items-center inline-flex sm:w-full md:w-1/3 lg:w-full ",children:[(0,r.jsx)(x,{initialValue:0,targetValue:2e3,speed:.001,textColor:"text-blue-600",title:"First Counter"}),(0,r.jsx)("div",{className:"self-stretch text-black  font-medium text-xs",children:"Students Passed Out"})]}),(0,r.jsxs)("div",{className:" flex-col justify-center items-center inline-flex sm:w-full md:w-1/3 lg:w-full ",children:[(0,r.jsx)(x,{initialValue:20,targetValue:100,speed:100,textColor:"text-red-700",title:"Second Counter"}),(0,r.jsx)("div",{className:"self-stretch text-black  font-medium text-xs",children:"Award & Recognitions"})]}),(0,r.jsxs)("div",{className:" flex-col justify-center items-center inline-flex sm:w-full md:w-1/3 lg:w-full ",children:[(0,r.jsx)(x,{initialValue:5,targetValue:15,speed:200,textColor:"text-red-600",title:"Third Counter"}),(0,r.jsx)("div",{className:"self-stretch text-black  font-medium text-xs",children:"Experience Educators"})]})]})]})]}),(0,r.jsxs)("div",{className:"flex flex-col w-11/12  p-4 items-center mt-20",children:[(0,r.jsx)("h3",{className:" bg-white border-2 border-black text-black md:w-1/5 lg:w-1/5 sm:w-full text-center text-sm p-4  md:py-2 lg:py-2 sm:py-4 rounded-lg",children:"Childern Deseve Bright Future"}),(0,r.jsx)("h1",{className:"text-center text-black text-4xl font-bold mt-5",children:"Our Benefits"}),(0,r.jsxs)("p",{className:"text-sm text-black mt-4 text-center md:w-3/4 lg:w-3/4 sm:w-full",children:[" ","With a dedicated team of experienced educators, state-of-the-art facilities, and a comprehensive curriculum, we aim to lay a strong foundation for your child's future."]}),(0,r.jsx)("div",{className:"md:w-full lg:w-11/12 am:w-full mt-8 grid md:grid-cols-2 lg:grid-cols-3 sm:grid-cols-1 gap-9 ",children:[{svgLink:"/right-arrow.svg",heading:"Holistic Learning Approach",headingDescription:"Our curriculum focuses on nurturing cognitive, social, emotional, and physical development, ensuring a well-rounded education."},{svgLink:"/right-arrow.svg",heading:"Experienced Educators",headingDescription:"Our passionate and qualified teachers create a supportive and stimulating learning environment."},{svgLink:"/right-arrow.svg",heading:"Nurturing Environment",headingDescription:"We prioritize safety and provide a warm and caring atmosphere for every child."},{svgLink:"/right-arrow.svg",heading:"Play-Based Learning",headingDescription:"We believe in the power of play to foster creativity, problem-solving skills, and imagination."},{svgLink:"/right-arrow.svg",heading:"Individualized Attention",headingDescription:"Our small class sizes enable personalized attention, catering to each child's unique needs."},{svgLink:"/right-arrow.svg",heading:"Parent Involvement",headingDescription:"We foster a strong parent-school partnership to ensure seamless communication and collaboration."}].map(e=>
1(0,r.jsx)(i.Z,{cardDetails:e}))})]}),(0,r.jsxs)("div",{className:"lg:w-11/12 w-full  flex flex-col md:flex-col lg:flex-row lg:p-10 md:p-10 lg:mt-20 mt-10 md:mt-20 rounded-xl lg:bg-[url('/Cloudy.svg')]",children:[(0,r.jsxs)("div",{className:"  lg:w-1/2 md:full sm:w-full w-full lg:p-4 p-4 ",children:[(0,r.jsxs)("h2",{className:"text-3xl font-semibold text-black my-2 md:text-start lg:text-start sm:text-center",children:["Welcome To Our"," ",(0,r.jsx)("span",{className:"text-tred text-4xl",children:"Pratibha Global School"})]}),(0,r.jsx)("p",{className:"text-md mt-5",children:"As we know that education is a lifelong process in our present scenario, no one can imagine education without the digital skills. Development in artificial intelligence, robotics and genetic engineering is making the current workforce redundant and only those who are able to learn and train themselves with these technologies will be able to continue forward. At Pratibha Global BAGLI School we ensure that all children at our campus inculcate a rapid learning aptitude and a competitive spirit from the very beginning. Pratibha Global BAGLI School aims to provide a holistic education and conducive atmosphere to every child for their emotional, spiritual, physical and intellectual growth along with the ability to conquer future challenges."})]}),(0,r.jsx)("div",{className:" lg:w-1/2 md:full sm:w-full w-full flex justify-center items-center",children:(0,r.jsx)("div",{className:"w-11/12  overflow-hidden lg:p-2 md:p-2",children:(0,r.jsx)("iframe",{className:"w-full rounded-xl",width:"640",height:"360",src:"https://www.youtube.com/embed/".concat(p,"?autoplay=1&mute=0"),title:"YouTube Video",allow:"accelerometer; encrypted-media; gyroscope; picture-in-picture",frameBorder:"0",allowFullScreen:!0})})})]}),(0,r.jsx)(_,{schoolUuid:null==t?void 0:t.uuid}),(0,r.jsxs)("div",{className:"flex flex-col w-11/12  p-4 items-center mt-20",children:[(0,r.jsx)("h3",{className:" bg-white border-2 border-black text-black md:w-1/5 lg:w-1/5 sm:w-full text-center text-sm p-4  md:py-2 lg:py-2 sm:py-4 rounded-lg",children:"Their Happy Words"}),(0,r.jsx)("h1",{className:"text-center text-black text-4xl font-bold mt-5",children:"Our Testimonials"}),(0,r.jsxs)("p",{className:"text-sm text-black mt-4 text-center lg:w-4/6 md:w-4/6 sm:w-full",children:["Our testimonials are heartfelt reflections of the nurturing environment we provide, where children flourish both academically and emotionally."," "]}),(0,r.jsx)("div",{className:"w-full mt-2 flex flex-wrap gap-20 justify-center items-center",children:[{img:"/Testimonials/one.jfif",Name:"Mahesh Kumar",Description:"Pratibha Global Shool has been a second home for my child. The caring staff and engaging programs have made her excited to go to school every day!"},{img:"/Testimonials/two.jpg",Name:"Anita Solanki",Description:"Choosing Pratibha Global Shool for my daughter was the best decision. She has thrived in their nurturing and stimulating environment."},{img:"/Testimonials/three.jpg",Name:"Santosh Khanna",Description:"My daughter's social and academic growth has been remarkable since joining Pratibha Global School. I am grateful for the supportive and dedicated teachers."}].map(e=>(0,r.jsx)(d,{cardDetails:e}))})]}),(0,r.jsxs)("div",{className:"lg:w-11/12 md:w-11/12 w-full container mx-auto lg:mt-20 md:mt-20 mt-10",children:[(0,r.jsx)("h1",{className:"lg:text-4xl md:text-4xl text-xl font-bold text-black text-center md:text-start lg:text-start md:mx-2 md:my-3 lg:mx-2 lg:my-3",children:"Students Joy with Learning"}),(0,r.jsx)(f.Z,{})]}),(0,r.jsxs)("div",{className:"flex flex-col w-full  p-4 items-center mt-20 ",children:[(0,r.jsx)("h3",{className:" bg-white border-2 border-black text-black md:w-1/5 lg:w-1/5 sm:w-full text-center text-sm p-4  md:py-2 lg:py-2 sm:py-4 rounded-lg",children:"Solutions for the doubts"}),(0,r.jsx)("h1",{className:"text-center text-black text-4xl font-bold mt-5",children:"Frequenty Asked Questions"}),(0,r.jsx)("p",{className:"text-sm text-black mt-4 text-center lg:w-4/6 md:w-4/6 sm:w-full",children:"Find all the essential information you need in our FAQ section, designed to address the most frequently asked questions and help you make informed decisions for your child's education."}),(0,r.jsx)(s,{})]}),(0,r.jsxs)("div",{className:"flex flex-col w-full  p-4 items-center mt-20 ",children:[(0,r.jsx)("h3",{className:" bg-white border-2 border-black text-black md:w-1/5 lg:w-1/5 p-4 sm:w-full text-center text-sm  md:py-2 lg:py-2 sm:py-4 rounded-lg",children:"Explore More"}),(0,r.jsxs)("h1",{className:"text-center text-black text-4xl font-bold mt-5",children:["Navigate through our Pages"," "]}),(0,r.jsx)("p",{className:"text-sm text-black mt-4 text-center lg:w-4/6 md:w-4/6 sm:w-full",children:"Your gateway to discovering a wealth of valuable information about our kindergarten school, Feel free to explore and learn more about the enriching experiences that await your child at our kindergarten school"}),(0,r.jsx)("div",{className:"w-full mt-8 grid md:grid-cols-2 lg:flex lg:flex-wrap sm:grid-cols-1 gap-20  justify-center items-center",children:[{destination:"/about",pageName:"About Us",Description:"Discover our Mission, Values, and our unwavering commitment to providing the best learning experience for your child. Learn about our passionate educators and our engaging approach to early education."},{destination:"/academics",pageName:"Academics",Description:"Delve into our 
1comprehensive academic programs designed to stimulate young minds, foster creativity, and encourage a love for learning. Explore our well-rounded curriculum that nurtures both intellectual and social development."},{destination:"/studentLife",pageName:"Student Life",Description:"Peek into the vibrant and enriching world of Student Life at Little Learners Academy. Discover the array of extracurricular activities, arts and crafts, sports, and social events that make our school experience truly memorable."},{destination:"/news",pageName:"News",Description:"Our News featuring a curated blend of academic accomplishments, extracurricular highlights, and important announcements, this section fosters a sense of community engagement, providing a central hub for staying connected with the vibrant happenings within the school environment."}].map(e=>(0,r.jsx)(m,{cardDetails:e}))})]})]})]})}a(6397),a(3495),a(9730)},119:function(e,t,a){"use strict";var r=a(7437);a(2265);var l=a(6691),s=a.n(l);t.Z=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"w-full flex lg:flex-row md:flex-row flex-col justify-center items-center",children:[(0,r.jsx)("div",{className:"w-full md:w-1/2 lg:w-1/2  p-1 pr-3",children:(0,r.jsx)(s(),{src:"/students/_DSC0979.JPG",width:900,height:300,className:"rounded-lg",alt:"image"})}),(0,r.jsx)("div",{className:"w-full lg:w-1/2 md:w-1/2 flex justify-center items-center flex-wrap",children:[1127,1138,1038,1063].map(e=>(0,r.jsx)("div",{className:"w-1/2 lg:p-4 md:p-4 p-1",children:(0,r.jsx)("img",{src:"/students/_DSC".concat(e,".JPG"),alt:"Image ".concat(e),className:"  rounded-lg"},e)}))})]})})},6042:function(e,t,a){"use strict";var r=a(7437);t.Z=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,r.jsx)("div",{children:(0,r.jsxs)("span",{className:"relative flex h-16 w-16 mx-auto text-center",children:[(0,r.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-[#ff0000] opacity-78"}),(0,r.jsx)("span",{className:"relative inline-flex rounded-full h-16 w-16 bg-[#D3FCD2]"})]})})})})},884:function(e,t,a){"use strict";a.d(t,{Ck:function(){return l},F7:function(){return r},J_:function(){return s}});let r="Your Admission Form has been submitted to Admission cell.",l=e=>"The following fields are blank: ".concat(e,". Please fill in the correct values and try again!"),s={applicantName:"",applicantPhone:"",applicantEmail:"",instituteName:"BAGLI",admissionYear:"",otherQuery:""}},6904:function(e,t,a){"use strict";a.d(t,{GN:function(){return m},HC:function(){return c},KA:function(){return o},Mi:function(){return n},T3:function(){return d},_n:function(){return s},jN:function(){return i},qB:function(){return u}});var r=a(2067),l=a.n(r);let s="https://pgpl-backend-services.vercel.app/api/v1",n={email:"",password:""},i={title:"",content:"",thumbNail:"",publishedDate:l()().format("YYYY-MM-DD HH:mm:ss"),reDirectedLink:"",organizationUuid:""},o={title:" ",file:" ",description:" ",endDate:l()().format("YYYY-MM-DD HH:mm:ss")},c={firstName:"",lastName:"",phone:"",email:"",message:""},d={email:"",phone:"",password:"",firstName:"",lastName:"",isActive:!1,type:"",isVerified:!0,address:"",state:"",city:"",pinCode:"",profilePicture:"",isSuspicious:!1,roles:[]},u="Select user type",m="ADMIN"},3495:function(e,t,a){"use strict";a.d(t,{S:function(){return l}});var r=a(7415);let l=e=>{try{var t,a,l,s;if(null==e?void 0:null===(a=e.response)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.message){let t=e.response.data.message;r.toast.error(e.response.data.message,{toastId:t})}else(null==e?void 0:null===(s=e.response)||void 0===s?void 0:null===(l=s.data)||void 0===l?void 0:l.payload)?r.toast.error("Validation error some of field are not filled !"):(null==e?void 0:e.request)?r.toast.error("Network error. Please try again."):r.toast.error("Something went wrong. please try again.")}catch(e){}}},9730:function(e,t,a){"use strict";a.d(t,{H6:function(){return o},bW:function(){return c},hi:function(){return n},uB:function(){return i}});var r=a(2173),l=a(1490),s=a(6904);let n=r.Z.create({baseURL:s._n,timeout:5e3}),i=e=>{l.Z.set("jwtToken",e,{secure:!0,sameSite:"strict"})},o=()=>{l.Z.remove("jwtToken",{secure:!0,sameSite:"strict"})},c=()=>l.Z.get("jwtToken");n.interceptors.request.use(e=>{let t=c();return t&&(e.headers.Authorization="Bearer ".concat(t)),e},e=>(console.error("Request interceptor error:",e),Promise.reject(e))),n.interceptors.response.use(e=>e,e=>(console.error("Response interceptor error:",e),Promise.reject(e)))},9676:function(e,t,a){"use strict";a.d(t,{Bt:function(){return d},EY:function(){return c},eJ:function(){return o},vP:function(){return i}});var r=a(9730),l=a(6397),s=a(7415),n=a(3495);let i=async e=>{try{let t=await r.hi.post(l.FP,e);return s.toast.success(t.data.message),t.data.payload}catch(e){(0,n.S)(e)}},o=async e=>{try{delete e.Roles;let t=await r.hi.put("".concat(l.FP,"/").concat(e.uuid),e);return s.toast.success(t.data.message),t.data.payload}catch(e){(0,n.S)(e)}},c=async e=>{let{schoolUuid:t="",limit:a=5,page:s=1}=e;try{return(t?await r.hi.get("".concat(l.FP,"/all/").concat(t),{params:{limit:a,page:s}}):await r.hi.get(l.FP,{params:{limit:a,page:s}})).data.payload}catch(e){(0,n.S)(e)}},d=async e=>{try{let t=await r.hi.delete("".concat(l.FP,"/").concat(e));s.toast.success(t.data.message)}catch(e){(0,n.S)(e)}}},6397:function(e,t,a){"use strict";a.d(t,{Ez:function(){return u},FP:function(){return c},KA:function(){return m},O9:function(){return n},ZE:function(){return l},nb:function(){return s},p5:function(){return o},sp:function(){return d},uv:function(){return i}});var r=a(6904);let l="".concat(r._n,"/auth/login"),s="".concat(r._n,"/user"),n="".concat(r._n,"/admission"),i="".concat(r._n,"/news"),o="".concat(r._n,"/contact");r._n;let c="".concat(r._n,"/event"),d="".concat(r._n,"/files/image"),u="".concat(r._n,"/school"),m="".concat(r._n,"/notice")},7561:function(e,t,a){"use strict";a.d(t,{jB:function(){return c},kN:function(){return d},lh:function(){return o},yQ:function(){return i}});var r=a(9730),l=a(6397),s=a(7415),n=a(3495);a(6778);let i=async e=>{let t=await r.hi.post(l.uv,e);if(t)return t},o=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{return(e?await r.hi.get("".concat(l.uv,"/all/").concat(e)):await r.hi.get(l.uv)).data.payload.data}catch(e){(0,n.S)(e)}},c=async e=>{try{delete e.Roles;let t=await r.hi.put("".concat(l.uv,"/").concat(e.uuid),e);return s.toast.success(t.data.message),t.data.payload}catch(e){console.log("error")}},d=async e=>{try{let t=await r.hi.delete("".concat(l.uv,"/").concat(e));s.toast.success(t.data.message)}catch(e){console.log("error")}}},6140:function(e,t,a){"use strict";a.d(t,{Fy:function(){return i},Jq:function(){return o},Xx:function(){return c},Zt:function(){return d}});var r=a(9730),l=a(6397),s=a(7415),n=a(3495);let i=async e=>{let t=await r.hi.post(l.KA,e);if(t)return t},o=async function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(e=t?await r.hi.get("".concat(l.KA,"/all/").concat(t)):await r.hi.get(l.KA))return e.data.payload.data}catch(e){(0,n.S)(e)}},c=async e=>{try{delete e.Roles;let t=await r.hi.put("".concat(l.KA,"/").concat(e.uuid),e);return s.toast.success(t.data.message),t.data.payload}catch(e){console.log("error")}},d=async e=>{try{let t=await r.hi.delete("".concat(l.KA,"/").concat(e));s.toast.success(t.data.message)}catch(e){console.log("error")}}}},function(e){e.O(0,[6990,1749,5694,1396,9723,5050,2971,4938,1744],function(){return e(e.s=9695)}),_N_E=e.O()}]);

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.