PageSourceSearch

https://northeasterncollege.edu.ph/build/assets/report-TdVVQJBx.js

js northeasterncollege.edu.ph collected 2026-10-03 02:03:35 UTC 13,191 bytes, 16 lines download raw bytes

1import{m as x,j as e}from"./app-bXZkNhYv.js";import{S as u,A as g}from"./SeoHead-COxEyltv.js";import{P as b}from"./page-hero-CHAtkGJJ.js";import{I as a}from"./input-error-wuymK5rt.js";import{B as j}from"./button-BPZVRYA5.js";import{C as n,a as l,b as c,d as m}from"./card-_D1xkOAc.js";import{C as f}from"./checkbox-CvYbOSR8.js";import{I as d}from"./input-DYRHz5dg.js";import{L as i}from"./label-DeTNpNw1.js";import{T as y}from"./textarea-CfiELcjP.js";import{L as v}from"./landing-layout-BEP5bovY.js";import{S as N}from"./shield-check-CDAXKHg9.js";import{c as p}from"./createLucideIcon-2cXPayUp.js";import"./loader-circle-Cn5k7cEP.js";import"./chevron-right-H6sJqCzB.js";import"./index-DOPo1wUH.js";import"./index-D_JTS5So.js";import"./index-B-NxFRyO.js";import"./check-DO0b33c6.js";import"./x-DbFNPKwo.js";import"./search-DYSk5kk1.js";import"./sweetalert2.esm.all-B3GDCxSY.js";import"./map-pin-Dq4kwNPU.js";import"./send-CC_M9Ww1.js";/**
2 * @license lucide-react v0.475.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const k=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],C=p("CircleCheckBig",k);/**
7 * @license lucide-react v0.475.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const w=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],A=p("FileUp",w);/**
12 * @license lucide-react v0.475.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const _=[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]],S=p("Fingerprint",_),D="https://northeasterncollege.edu.ph",F=["Financial Fraud","Bribery","Abuse of Authority","Harassment","Conflict of Interest","Academic Misconduct","Procurement Issues","Data Privacy Violation","Other"];function re({submissionResult:o}){const r=x({reporter_type:"anonymous",category:"",incident_date:"",location:"",description:"",evidence:null,name:"",email:"",phone:"",certify:!1}),h=t=>{t.preventDefault(),r.transform(s=>({...s,name:s.reporter_type==="anonymous"?"":s.name,email:s.reporter_type==="anonymous"?"":s.email,phone:s.reporter_type==="anonymous"?"":s.phone})),r.post("/governance/integrity/report",{forceFormData:!0,preserveScroll:!0,onSuccess:()=>{r.reset()}})};return e.jsxs(v,{children:[e.jsx(u,{title:"Report a Concern",description:"Submit a public integrity report to Northeastern College without creating an account.",image:`${D}/images/logo.webp`}),e.jsxs("section",{className:"bg-muted pb-16",children:[e.jsx(b,{title:"Report a Concern",description:"Submit a report in good faith using the public Integrity & Whistleblowing System. No login or account creation is required.",breadcrumbs:[{label:"Home",href:"/"},{label:"About"},{label:"Governance",href:"/governance"},{label:"Integrity & Whistleblowing System",href:"/governance/integrity"},{label:"Report a Concern"}],image:"/images/hero/about.png",imageAlt:"Public report submission",icon:N}),e.jsxs("div",{className:"relative z-20 mx-auto -mt-8 max-w-7xl space-y-8 px-4",children:[o?e.jsxs(n,{className:"border-border rounded-2xl py-0 shadow-sm",children:[e.jsx(l,{className:"border-b border-border/60 p-6",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-[#0A7A35]/10 text-[#0A7A35] dark:text-[#21d36b]",children:e.jsx(C,{className:"h-6 w-6","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx(c,{className:"text-xl font-bold",children:"Report submitted successfully"}),e.jsx("p",{className:"text-muted-foreground mt-2 text-sm leading-relaxed",children:"Save the tracking number and secret PIN below. You will need both to check the public status of your report."})]})]})}),e.jsxs(m,{className:"grid gap-4 p-6 md:grid-cols-3",children:[e.jsxs("div",{className:"bg-muted/40 border-border rounded-2xl border p-4",children:[e.jsx("div",{className:"text-muted-foreground text-xs font-semibold tracking-wider up
16percase",children:"Tracking Number"}),e.jsx("div",{className:"text-foreground mt-2 text-lg font-bold",children:o.tracking_number})]}),e.jsxs("div",{className:"bg-muted/40 border-border rounded-2xl border p-4",children:[e.jsx("div",{className:"text-muted-foreground text-xs font-semibold tracking-wider uppercase",children:"Secret PIN"}),e.jsx("div",{className:"text-foreground mt-2 text-lg font-bold",children:o.secret_pin})]}),e.jsxs("div",{className:"bg-muted/40 border-border rounded-2xl border p-4",children:[e.jsx("div",{className:"text-muted-foreground text-xs font-semibold tracking-wider uppercase",children:"Current Status"}),e.jsx("div",{className:"text-foreground mt-2 text-lg font-bold",children:o.status}),e.jsxs("div",{className:"text-muted-foreground mt-1 text-xs",children:["Updated ",o.date_updated]})]})]})]}):null,e.jsxs("div",{className:"grid gap-8 xl:grid-cols-[1.1fr_0.9fr]",children:[e.jsxs(n,{className:"border-border rounded-2xl py-0 shadow-sm",children:[e.jsxs(l,{className:"border-b border-border/60 p-6",children:[e.jsx(c,{className:"text-2xl font-bold",children:"Public Report Submission"}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:"Complete the form below. Fields for name, email, and phone remain optional except for identified reports, where your name is required."})]}),e.jsx(m,{className:"p-6",children:e.jsxs("form",{onSubmit:h,className:"space-y-6",children:[e.jsxs("fieldset",{className:"space-y-3",children:[e.jsx("legend",{className:"text-foreground text-sm font-bold",children:"Report type"}),e.jsx("div",{className:"grid gap-3 sm:grid-cols-2",children:[{value:"anonymous",title:"Anonymous Report",description:"Submit without displaying your identity."},{value:"identified",title:"Identified Report",description:"Share your name while keeping contact fields optional."}].map(t=>e.jsxs("label",{className:`border-border flex cursor-pointer items-start gap-3 rounded-2xl border p-4 transition-all ${r.data.reporter_type===t.value?"border-[#0A7A35] bg-[#0A7A35]/6":"hover:border-emerald-500/20"}`,children:[e.jsx("input",{type:"radio",name:"reporter_type",value:t.value,checked:r.data.reporter_type===t.value,onChange:s=>r.setData("reporter_type",s.target.value),className:"mt-1 h-4 w-4 border-[#0A7A35] text-[#0A7A35] focus:ring-[#0A7A35]"}),e.jsxs("span",{children:[e.jsx("span",{className:"text-foreground block text-sm font-bold",children:t.title}),e.jsx("span",{className:"text-muted-foreground mt-1 block text-sm leading-relaxed",children:t.description})]})]},t.value))}),e.jsx(a,{message:r.errors.reporter_type})]}),e.jsxs("div",{className:"grid gap-5 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"category",children:"Category"}),e.jsxs("select",{id:"category",value:r.data.category,onChange:t=>r.setData("category",t.target.value),className:"border-input bg-background focus-visible:border-ring focus-visible:ring-ring/50 w-full rounded-md border px-3 py-2 text-sm outline-none focus-visible:ring-[3px]",children:[e.jsx("option",{value:"",children:"Select a category"}),F.map(t=>e.jsx("option",{value:t,children:t},t))]}),e.jsx(a,{message:r.errors.category})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"incident_date",children:"Incident Date"}),e.jsx(d,{id:"incident_date",type:"date",value:r.data.incident_date,onChange:t=>r.setData("incident_date",t.target.value)}),e.jsx(a,{message:r.errors.incident_date})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"location",children:"Location"}),e.jsx(d,{id:"location",value:r.data.location,onChange:t=>r.setData("location",t.target.value)}),e.jsx(a,{message:r.errors.location})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"description",children:"Description"}),e.jsx(y,{id:"description",value:r.data.description,onChange:t=>r.setData("description",t.target.value),className:"min-h-40",placeholder:"Describe what happened, who was involved, and any details that may help an investigator review the concern."}),e.jsx(a,{message:r.errors.description})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"evidence",children:"Upload Evidence"}),e.jsx("div",{className:"border-border bg-muted/30 rounded-2xl border border-dashed p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(A,{className:"mt-1 h-5 w-5 text-[#0A7A35]","aria-hidden":"true"}),e.jsxs("div",{className:"w-full",children:[e.jsx(d,{id:"evidence",type:"file",accept:".pdf,.jpg,.jpeg,.png,.doc,.docx",onChange:t=>{var s;return r.setData("evidence",((s=t.target.files)==null?void 0:s[0])??null)}}),e.jsx("p",{className:"text-muted-foreground mt-2 text-xs",children:"Optional. Accepted file types: PDF, JPG, PNG, DOC, DOCX. Maximum file size: 10MB."})]})]})}),e.jsx(a,{message:r.errors.evidence})]}),e.jsx("div",{className:"grid gap-5 md:grid-cols-2",children:r.data.reporter_type==="identified"?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"space-y-2 md:col-span-2",children:[e.jsx(i,{htmlFor:"name",children:"Name"}),e.jsx(d,{id:"name",value:r.data.name,onChange:t=>r.setData("name",t.target.value)}),e.jsx(a,{message:r.errors.name})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"email",children:"Email"}),e.jsx(d,{id:"email",type:"email",value:r.data.email,onChange:t=>r.setData("email",t.target.value)}),e.jsx(a,{message:r.errors.email})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"phone",children:"Phone"}),e.jsx(d,{id:"phone",value:r.data.phone,onChange:t=>r.setData("phone",t.target.value)}),e.jsx(a,{message:r.errors.phone})]})]}):e.jsx("div",{className:"bg-muted/40 border-border rounded-2xl border p-4 text-sm leading-relaxed md:col-span-2",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(S,{className:"mt-0.5 h-5 w-5 text-[#0A7A35]","aria-hidden":"true"}),e.jsx("p",{className:"text-muted-foreground",children:"You selected an anonymous report. Contact details are removed from the submission so the report can be filed without identifying information."})]})})}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"flex items-start gap-3 rounded-2xl border border-[#0A7A35]/15 bg-[#0A7A35]/6 p-4",children:[e.jsx(f,{checked:r.data.certify,onCheckedChange:t=>r.setData("certify",t===!0)}),e.jsx("span",{className:"text-sm leading-relaxed",children:"I certify that this report is submitted in good faith."})]}),e.jsx(a,{message:r.errors.certify})]}),e.jsx(j,{type:"submit",disabled:r.processing,className:"rounded-full bg-[#00963f] px-6 text-white hover:bg-[#008538]",children:r.processing?"Submitting...":"Submit Report"})]})})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs(n,{className:"border-border rounded-2xl py-0 shadow-sm",children:[e.jsx(l,{className:"p-6",children:e.jsx(c,{className:"text-xl font-bold",children:"What happens next"})}),e.jsx(m,{className:"space-y-4 p-6 pt-0",children:["A tracking number and 6-digit secret PIN are generated after successful submission.","Use those credentials on the tracking page to view the current public status of your report.","Internal notes and confidential case handling details are never shown on the public tracker."].map(t=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"mt-2 h-2 w-2 rounded-full bg-[#0A7A35]"}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:t})]},t))})]}),e.jsxs(n,{className:"border-border rounded-2xl py-0 shadow-sm",children:[e.jsx(l,{className:"p-6",children:e.jsx(c,{className:"text-xl font-bold",children:"Keep your tracking credentials secure"})}),e.jsxs(m,{className:"space-y-3 p-6 pt-0 text-sm",children:[e.jsx("div",{className:"bg-muted/40 border-border rounded-2xl border p-4",children:e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"After submission, the system issues a unique tracking number and a 6-digit secret PIN. These credentials are required to view report updates through the public tracking page."})}),e.jsx("div",{className:"bg-muted/40 border-border rounded-2xl border p-4",children:e.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"For confidentiality, keep both credentials private and store them in a safe place. Northeastern College does not display internal 
16case notes in the public tracker."})})]})]})]})]})]})]}),e.jsx(g,{})]})}export{re as default};

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.