1import{j as h,r as g,aG as y,a0 as D,Z as I,Y as v,_ as P}from"./index-DegB4gs5.js";import{P as A}from"./PageSeo-CHnWJM4g.js";import{R as w}from"./ResourceTemplate-DtWEiHzC.js";import"./BookDemoTrigger-BmsGRD2X.js";import"./clock-D1Tlb0Dg.js";import"./file-text-CnJ5iaue.js";import"./download-CjQHx1YR.js";import"./eye-BGBQBScr.js";const x=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"];function S(e){if(!e)return null;const[n,...l]=e.split("·").map(t=>t.trim()),i=l.length>0?l.join(" · ").trim():null;let m,r,o;const c=n.match(/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/);if(c)m=parseInt(c[1],10),r=parseInt(c[2],10)-1,o=parseInt(c[3],10);else{const t=n.match(/^([A-Za-z]{3,})\s+(\d{1,2}),?\s*(\d{4})$/);if(!t)return null;const u=x.indexOf(t[1].slice(0,3).toUpperCase());if(u===-1)return null;m=parseInt(t[2],10),r=u,o=parseInt(t[3],10)}let s=23,d=59;if(i){const t=i.match(/(\d{1,2}):(\d{2})\s*(am|pm)?/i);t&&(s=parseInt(t[1],10)%12,d=parseInt(t[2],10),/pm/i.test(t[3]??"")&&(s+=12))}const a=new Date(o,r,m,s,d,0,0);return Number.isNaN(a.getTime())?null:a}function C(e){const n=S(e.date);return n?n.getTime()>=Date.now():!0}const R=[{id:"DPDP Act & Its Applicability to Healthcare Industry",title:"DPDP Act & Its Applicability to Healthcare Industry",description:"India's Digital Personal Data Protection (DPDP) Act impacts the healthcare sector. This covers key compliance requirements, patient consent management, PII & PHI, and practical guidance to help healthcare organizations strengthen data privacy and regulatory compliance",tag:"Privacy",videoUrl:" https://youtu.be/DWBcriASKgI?si=jQxn2W2eLrqlvnnc"},{id:"DPDP Act Implementation Roadmap",title:"DPDP Act Implementation Roadmap",description:"Indiaâs Digital Personal Data Protection Act (DPDPA) is now in force - and organizations handling personal data must understand what it means for c
1ompliance, governance, and risk management.",tag:"Privacy",videoUrl:"https://youtu.be/xn11RcNlryo?si=zx3ettXJm71pt-rH"},{id:"Phases of DPDPA Implementation",title:"Phases of DPDPA Implementation",description:"The phases of DPDPA implementation into a clear, structured, step-by-step compliance roadmap designed for Indian businesses handling personal data.",tag:"GRC",videoUrl:"https://youtu.be/sYCJgqpD3Wk?si=UE2yf42-UTLtDiPJ"}];function b(e){var r,o,c,s,d;const l=((r=I(e,"webinar_category")[0])==null?void 0:r.name)??"Webinar",i=((o=e.acf)==null?void 0:o.video_url)||void 0,m=(c=e.acf)!=null&&c.event_date?[e.acf.event_date,(s=e.acf)==null?void 0:s.event_time].filter(Boolean).join(" · "):new Date(e.date).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"});return{id:String(e.id),title:P(e.title.rendered),description:P(e.excerpt.rendered),tag:l,href:((d=e.acf)==null?void 0:d.register_url)||(i?void 0:e.link),videoUrl:i,date:m,coverImage:v(e)??void 0}}function J(){return h.jsx(W,{canonicalPath:"/webinar"})}function W({canonicalPath:e="/webinars"}){const[n,l]=g.useState(null),[i,m]=g.useState(!1),[r,o]=g.useState([]);g.useEffect(()=>{let a=!1;return y().then(t=>{a||l(t)}).catch(()=>{a||l([])}).finally(()=>{a||m(!0)}),D("webinar_category").then(t=>{a||o(t.map(u=>u.name))}).catch(()=>{a||o([])}),()=>{a=!0}},[]);const{upcomingItems:c,libraryItems:s}=g.useMemo(()=>{const a=p=>Array.isArray(p)?p.includes("live"):p==="live",t=(n??[]).filter(p=>{var f;return a((f=p.acf)==null?void 0:f.status)}),u=(n??[]).filter(p=>{var f;return!a((f=p.acf)==null?void 0:f.status)});return i?{upcomingItems:t.map(b).filter(C),libraryItems:u.length>0?u.map(b):R}:{upcomingItems:[],libraryItems:[]}},[n,i]),d=g.useMemo(()=>r.length>0?[...r].sort():Array.from(new Set(s.map(a=>a.tag))).sort(),[r,s]);return h.jsxs(h.Fragment,{children:[h.jsx(A,{title:"Webinars",description:"Featured sessions, upcoming live webinars, and an on-demand library for GRC, privacy, and trust leaders.",path:e}),h.jsx(w,{resourceTypeLabel:"Webinars",hero:{title:"Webinars & live sessions",subtitle:"Deep dives for GRC leaders, CA firms, and security teams-featured picks, live registrations, and on-demand replays."},upcomingItems:c,upcomingLoading:!i,libraryItems:s,libraryLoading:!i,filterTags:d,subscribeSource:"webinars-subscribe",leadCaptureTitle:"Subscribe for webinar updates",leadCaptureHint:"We will email you about upcoming live sessions and new recordings."})]})}export{J as WebinarAliasPage,W as WebinarsPage};
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.