PageSourceSearch

https://studio-3323449910-f53ba.web.app/_next/static/chunks/796-cf7dfa15679f479b.js

js studio-3323449910-f53ba.web.app collected 2026-10-03 12:37:12 UTC 10,153 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[796],{17911:(e,t,s)=>{s.d(t,{Y:()=>c});var a=s(95155),r=s(6874),n=s.n(r),i=s(30285),o=s(18186),d=s(9133),l=s(54683);function c(e){let{settings:t}=e;return(0,a.jsx)("header",{className:"bg-primary text-primary-foreground shadow-md",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 py-4 md:py-6 flex flex-col md:flex-row justify-between items-center",children:[(0,a.jsxs)("div",{className:"text-center md:text-left mb-4 md:mb-0",children:[(0,a.jsx)("h1",{className:"text-2xl md:text-3xl font-bold tracking-tight",children:(null==t?void 0:t.app_name)||"E-Voting OSIS"}),(0,a.jsxs)("p",{className:"text-sm md:text-base text-primary-foreground/80",children:[(null==t?void 0:t.school_name)||"Nama Sekolah"," | Periode ",(null==t?void 0:t.periode)||"20xx-20xx"]})]}),(0,a.jsxs)("nav",{className:"flex items-center gap-2",children:[(0,a.jsx)(i.$,{variant:"ghost",asChild:!0,children:(0,a.jsxs)(n(),{href:"/",children:[(0,a.jsx)(o.A,{className:"mr-2 h-4 w-4"}),"Halaman Utama"]})}),(0,a.jsx)(i.$,{variant:"ghost",asChild:!0,children:(0,a.jsxs)(n(),{href:"/real-count",children:[(0,a.jsx)(d.A,{className:"mr-2 h-4 w-4"}),"Real Count"]})}),(0,a.jsx)(i.$,{variant:"ghost",asChild:!0,children:(0,a.jsxs)(n(),{href:"/admin",children:[(0,a.jsx)(l.A,{className:"mr-2 h-4 w-4"}),"Admin"]})})]})]})})}},30285:(e,t,s)=>{s.d(t,{$:()=>l,r:()=>d});var a=s(95155),r=s(12115),n=s(66634),i=s(74466),o=s(59434);let d=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=r.forwardRef((e,t)=>{let{className:s,variant:r,size:i,asChild:l=!1,...c}=e,u=l?n.DX:"button";return(0,a.jsx)(u,{className:(0,o.cn)(d({variant:r,size:i,className:s})),ref:t,...c})});l.displayName="Button"},54165:(e,t,s)=>{s.d(t,{Cf:()=>m,Es:()=>p,L3:()=>x,c7:()=>f,lG:()=>d,rr:()=>h,zM:()=>l});var a=s(95155),r=s(12115),n=s(45821),i=s(25318),o=s(59434);let d=n.bL,l=n.l9,c=n.ZL;n.bm;let u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hJ,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...r})});u.displayName=n.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:s,children:r,...d}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsxs)(n.UC,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...d,children:[r,(0,a.jsxs)(n.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,a.jsx)(i.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=n.UC.displayName;let f=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};f.displayName="DialogHeader";let p=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};p.displayName="DialogFooter";let x=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hE,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})});x.displayName=n.hE.displayName;let h=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.VY,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})});h.displayName=n.VY.displayName},56104:(e,t,s)=>{s.d(t,{db:()=>d});var a=s(23915),r=s(81115),n=s(87358);let i={apiKey:n.env.NEXT_PUBLIC_FIREBASE_API_KEY||"AIzaSyApQLyCDijiH65rK3XTiQKalgiL8ukH34k",authDomain:n.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN||"evoting-osissma.firebaseapp.com",databaseURL:n.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL||"https://evoting-osissma-default-rtdb.asia-southeast1.firebasedatabase.app/",projectId:n.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID||"evoting-osissma",storageBucket:n.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET||"evoting-osissma.firebasestorage.app",messagingSenderId:n.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID||"541716336199",appId:n.env.NEXT_PUBLIC_FIREBASE_APP_ID||"1:541716336199:web:a8c1231fb225254494eb62",measurementId:n.env.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID||"G-EBMX2VJLPC"},o=(0,a.Dk)().length?(0,a.Sx)():(0,a.Wp)(i),d=(0,r.C3)(o)},59434:(e,t,s)=>{s.d(t,{cn:()=>n});var a=s(52596),r=s(39688);function n(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,r.QP)((0,a.$)(t))}},59576:(e,t,s)=>{s.d(t,{A:()=>d,AuthProvider:()=>o});var a=s(95155),r=s(35695),n=s(12115);let i=(0,n.createContext)(void 0);function o(e){let{children:t}
1=e,[s,o]=(0,n.useState)(null),[d,l]=(0,n.useState)(!0),c=(0,r.useRouter)();return(0,n.useEffect)(()=>{try{let e=sessionStorage.getItem("user");e&&o(JSON.parse(e))}catch(e){console.error("Failed to parse user from sessionStorage",e),sessionStorage.removeItem("user")}finally{l(!1)}},[]),(0,a.jsx)(i.Provider,{value:{user:s,login:e=>{e&&(sessionStorage.setItem("user",JSON.stringify(e)),o(e))},logout:()=>{sessionStorage.removeItem("user"),o(null),c.push("/")},loading:d},children:!d&&t})}function d(){let e=(0,n.useContext)(i);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}},66695:(e,t,s)=>{s.d(t,{BT:()=>l,Wu:()=>c,ZB:()=>d,Zp:()=>i,aR:()=>o,wL:()=>u});var a=s(95155),r=s(12115),n=s(59434);let i=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",s),...r})});i.displayName="Card";let o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",s),...r})});o.displayName="CardHeader";let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",s),...r})});d.displayName="CardTitle";let l=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",s),...r})});l.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",s),...r})});c.displayName="CardContent";let u=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",s),...r})});u.displayName="CardFooter"},72866:(e,t,s)=>{s.d(t,{R:()=>o});var a=s(95155),r=s(12115),n=s(30285),i=s(54165);function o(e){let{candidate:t}=e,[s,o]=(0,r.useState)(!1);return(0,a.jsxs)(i.lG,{open:s,onOpenChange:o,children:[(0,a.jsx)(i.zM,{asChild:!0,children:(0,a.jsx)(n.$,{variant:"outline",className:"w-full",children:"Visi & Misi"})}),(0,a.jsxs)(i.Cf,{className:"sm:max-w-[625px]",children:[(0,a.jsxs)(i.c7,{children:[(0,a.jsxs)(i.L3,{children:["Visi & Misi: ",t.nama_format]}),(0,a.jsxs)(i.rr,{children:[t.nama_ketua," & ",t.nama_wakil]})]}),(0,a.jsxs)("div",{className:"grid gap-4 py-4 max-h-[60vh] overflow-y-auto",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-bold text-lg mb-2",children:"Visi"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:t.visi||"Visi belum diatur."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-bold text-lg mb-2",children:"Misi"}),t.misi?(0,a.jsx)("div",{className:"text-muted-foreground whitespace-pre-line",dangerouslySetInnerHTML:{__html:t.misi.replace(/\\n
1/g,"<br />")}}):(0,a.jsx)("p",{className:"text-muted-foreground",children:"Misi belum diatur."})]})]})]})]})}},87481:(e,t,s)=>{s.d(t,{dj:()=>m});var a=s(12115);let r=0,n=new Map,i=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},5e3);n.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:s}=t;return s?i(s):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],l={toasts:[]};function c(e){l=o(l,e),d.forEach(e=>{e(l)})}function u(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function m(){let[e,t]=a.useState(l);return a.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}}}]);

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.