1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="05583f34-acc4-b4c4-1b13-96492b8289ce")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,443880,e=>{"use strict";var t=e.i(247167),i=e.i(271645);function s(){return"u">typeof window}function r(){return"production"}function n(){return(s()?window.vam:r())||"production"}function o(){return"production"===n()}function l(){return"development"===n()}function a(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}e.s(["Analytics",0,function(e){return(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,i.useEffect)(()=>{!function(e={debug:!0},t){var i;if(!s())return;let{beforeSend:n,src:o,dataset:c}=function(e,t){var i,s;let n=e;if(t)try{n={...null==(i=JSON.parse(t))?void 0:i.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=r();return}window.vam=e}(n.mode);let o={sdkn:"@vercel/analytics"+(n.framework?`/${n.framework}`:""),sdkv:"2.0.1"};return n.disableAutoTrack&&(o.disableAutoTrack="1"),n.viewEndpoint&&(o.viewEndpoint=a(n.viewEndpoint)),n.eventEndpoint&&(o.eventEndpoint=a(n.eventEndpoint)),n.sessionEndpoint&&(o.sessionEndpoint=a(n.sessionEndpoint)),l()&&!1===n.debug&&(o.debug="false"),n.dsn&&(o.dsn=n.dsn),n.endpoint?o.endpoint=n.endpoint:n.basePath&&(o.endpoint=a(`${n.basePath}/insights`)),{beforeSend:n.beforeSend,src:(s=n).scriptSrc?a(s.scriptSrc):l()?"https://va.vercel-scripts.com/v1/script.debug.js":s.basePath?a(`${s.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:o}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(i=window.va)||i.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${o}"]`))return;let h=document.createElement("script");for(let[e,t]of(h.src=o,Object.entries(c)))h.dataset[e]=t;h.defer=!0,h.onerror=()=>{let e=l()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${o}. ${e}`)},document.head.appendChild(h)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,i.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var i;null==(i=window.va)||i.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null},"track",0,function(e,t,i){var r,n;if(!s()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(o())console.warn(e);else throw Error(e);return}if(!t){null==(r=window.va)||r.call(window,"event",{name:e,options:i});return}try{let s=function(e,t){if(!e)return;let i=e,s=[];for(let[r,n]of Object.entries(e))"object"==typeof n&&null!==n&&(t.strip?i=function(e,{[e]:t,...i}){return i}(r,i):s.push(r));if(s.length>0&&!t.strip)throw Error(`The following properties are not valid: ${s.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return i}(t,{strip:o()});null==(n=window.va)||n.call(window,"event",{name:e,data:s,options:i})}catch(e){e instanceof Error&&l()&&console.error(e)}}])},957215,e=>{"use strict";var t=e.i(247167),i=e.i(271645),s=e.i(618566);function r(){return false}function n(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function o(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function l(e){(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let s=(0,i.useRef)(null);return(0,i.useEffect)(()=>
2{if(!s.current){let i=function(e={},t){var i;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:s,src:n,dataset:l}=function(e,t){var i,s;let n=e;if(t)try{n={...null==(i=JSON.parse(t))?void 0:i.speedInsights,...e}}catch{}let l={sdkn:"@vercel/speed-insights"+(n.framework?`/${n.framework}`:""),sdkv:"2.0.0"};return n.sampleRate&&(l.sampleRate=n.sampleRate.toString()),n.route&&(l.route=n.route),r()&&!1===n.debug&&(l.debug="false"),n.dsn&&(l.dsn=n.dsn),n.endpoint?l.endpoint=o(n.endpoint):n.basePath&&(l.endpoint=o(`${n.basePath}/speed-insights/vitals`)),{src:(s=n).scriptSrc?o(s.scriptSrc):r()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":s.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":s.basePath?o(`${s.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:n.beforeSend,dataset:l}}(e,t);if(document.head.querySelector(`script[src*="${n}"]`))return null;s&&(null==(i=window.si)||i.call(window,"beforeSend",s));let a=document.createElement("script");for(let[e,t]of(a.src=n,a.defer=!0,Object.entries(l)))a.dataset[e]=t;return a.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${n}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(a),{setRoute:e=>{a.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());i&&(s.current=i.setRoute)}},[e]),(0,i.useEffect)(()=>{s.current&&e.route&&s.current(e.route)},[e.route]),null}function a(e){let r=(()=>{let e=(0,s.useParams)(),t=(0,s.useSearchParams)()||new URLSearchParams,i=(0,s.usePathname)();if(!e)return null;let r=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!i||!r)return i;let o=i;try{let e=Object.entries(r);for(let[t,i]of e)if(!Array.isArray(i)){let e=n(i);e.test(o)&&(o=o.replace(e,`/[${t}]`))}for(let[t,i]of e)if(Array.isArray(i)){let e=n(i.join("/"));e.test(o)&&(o=o.replace(e,`/[...${t}]`))}return o}catch{return i}})();return i.default.createElement(l,{route:r,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
2(),configString:function(){if(void 0!==t.default&&void 0!==t.default.env)return'{"analytics":{"scriptSrc":"fdbf4a78ab9e62bb/script.js","viewEndpoint":"fdbf4a78ab9e62bb/view","eventEndpoint":"fdbf4a78ab9e62bb/event","sessionEndpoint":"fdbf4a78ab9e62bb/session"},"speedInsights":{"scriptSrc":"a1555408b5dd2332/script.js","endpoint":"a1555408b5dd2332/vitals"}}'}()})}e.s(["SpeedInsights",0,function(e){return i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(a,{...e}))}])},121853,e=>{"use strict";var t=e.i(843476),i=e.i(618566),s=e.i(846696),r=e.i(522016),n=e.i(271645);let o="tasi_cookie_prefs",l={functional:!0,analytics:!0,marketing:!0},a={functional:!1,analytics:!1,marketing:!1};function c(e){localStorage.setItem(o,JSON.stringify(e)),localStorage.setItem("tasi_cookie_consent_at",new Date().toISOString()),window.dispatchEvent(new CustomEvent("tasi-cookie-consent-updated",{detail:e}))}function h(){let e=(0,i.usePathname)(),[s,h]=(0,n.useState)(!1),d=(0,n.useSyncExternalStore)(()=>()=>{},()=>!0,()=>!1),u=(0,n.useMemo)(()=>{if(!d||"/cookie-settings"===e)return!1;try{return!!localStorage.getItem(o)}catch{return!1}},[d,e]);return!d||"/cookie-settings"===e||s||u?null:(0,t.jsx)("div",{className:"fixed inset-x-0 bottom-4 z-[140] px-4",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-5xl rounded-[10px] border border-slate-900/10 bg-slate-950 px-5 py-4 text-white shadow-[0_24px_60px_rgba(15,23,42,0.35)] ring-1 ring-black/5 dark:border-white/10 dark:bg-slate-900",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between md:gap-5",children:[(0,t.jsxs)("p",{className:"text-sm leading-relaxed text-slate-100",children:["We use essential cookies and optional cookies for analytics and personalization. Choose your preferences.",(0,t.jsx)(r.default,{href:"/cookie-settings",className:"ml-1 font-semibold text-amber-300 underline underline-offset-2 transition hover:text-amber-200",children:"Cookie Settings"})]}),(0,t.jsxs)("div",{className:"flex shrink-0 flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:()=>{c(a),h(!0)},className:"rounded-full border border-white/25 bg-white/10 px-4 py-2 text-xs font-semibold text-white transition hover:bg-white/15",children:"Reject Optional"}),(0,t.jsx)("button",{type:"button",onClick:()=>{c(l),h(!0)},className:"rounded-full bg-amber-400 px-4 py-2 text-xs font-semibold text-slate-950 transition hover:bg-amber-300",children:"Accept All"})]})]})})})}var d=e.i(519455),u=e.i(793479),p=e.i(669414),m=e.i(383157);let f=(0,e.i(475254).default)("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);var w=e.i(275034),v=e.i(514764),g=e.i(378021);function b(){return(0,t.jsx)(r.default,{href:"/sign-in?redirect_url=/admin/registrations",rel:"nofollow",className:"block w-full rounded-full bg-white px-4 py-2 text-center text-sm font-semibold text-[#140f26] transition hover:bg-white/90 dark:bg-white dark:text-[#140f26] dark:hover:bg-white/90",children:"Log In"})}function x(){let[e,i]=n.useState(""),[s,o]=n.useState(""),[l,a]=n.useState(!1),c=n.useCallback(e=>e.trim().toLowerCase(),[]);async function h(t){t.preventDefault(),o(""),a(!0);try{let t=await fetch("/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c(e)})}),s=await t.json();t.ok?(o("Subscribed successfully."),i("")):o(s.error||"Subscription failed.")}catch{o("Subscription failed.")}finally{a(!1)}}return(0,t.jsxs)("footer",{className:"relative overflow-hidden bg-[linear-gradient(120deg,#55089e_-7.06%,#9f0099_16.19%,#ff0080_39.45%,#ef5700_85.96%,#ffff00_109.21%)] text-white transition-colors duration-300",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(180deg,rgba(10,10,20,0.28)_0%,rgba(8,8,18,0.58)_65%,rgba(5,5,12,0.82)_100%)] dark:bg-[linear-gradient(180deg,rgba(2,6,23,0.42)_0%,rgba(2,6,23,0.74)_58%,rgba(2,6,23,0.92)_100%)]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute top-0 left-0 h-full w-full mix-blend-luminosity bg-[url(data:image/png;base64,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)]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(120deg,rgba(85,8,158,0)_-7.06%,rgba(159,0,153,0)_16.19%,rgba(255,0,188,0)_39.45%,rgba(239,87,0,0.25)_85.96%,rgba(255,255,0,0.85)_109.21%)]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute -top-20 left-[-8%] h-64 w-64 rounded-full bg-[#5547ec]/45 blur-3xl"}),(0,t.jsx)("div",{className:"pointer-events-none absolute -bottom-28 right-[-8%] h-72 w-72 rounded-full bg-[#ff2bbf]/35 blur-3xl"}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto w-full max-w-screen-xl px-10 py-8",children:[(0,t.jsxs)("div",{className:"grid gap-x-10 gap-y-10 items-start md:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("h3",{className:"mb-3 text-lg font-semibold",children:"Stay Connected"}),(0,t.jsx)("p",{className:"mb-4 text-sm text-white/85",children:"Join our newsletter for the latest updates and exclusive offers."}),(0,t.jsxs)("form",{className:"relative",onSubmit:h,children:[(0,t.jsx)(u.Input,{type:"email",placeholder:"Enter your email",className:"border-white/35 bg-black/20 pr-12 text-white placeholder:text-white/90 backdrop-blur-sm focus-visible:ring-white/85 dark:border-white/45 dark:bg-black/35 dark:text-white dark:placeholder:text-white/90 dark:focus-visible:ring-white dark:focus-visible:ring-offset-transparent",value:e,onChange:e=>i(e.target.value),required:!0}),(0,t.jsxs)(d.Button,{type:"submit",size:"icon",disabled:l,className:"absolute right-1 top-1 h-8 w-8 rounded-full !bg-white !text-[#140f26] transition-transform hover:scale-105 hover:!bg-white/90 dark:!bg-white dark:!text-[#140f26] dark:hover:!bg-white/90",children:[(0,t.jsx)(v.Send,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Subscribe"})]})]}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(p.ThemeToggle,{})}),s?(0,t.jsx)("p",{className:"mt-2 text-xs text-white/80",children:s}):null,(0,t.jsx)("div",{className:"pointer-events-none absolute -right-4 top-0 h-24 w-24 rounded-full bg-white/10 blur-2xl"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-lg font-semibold",children:"Quick Links"}),(0,t.jsxs)("nav",{className:"flex flex-col items-start gap-2 text-sm text-white/90",children:[(0,t.jsx)(r.default,{href:"/about",className:"transition-colors hover:text-white",children:"About Us"}),(0,t.jsx)(r.default,{href:"/programme",className:"transition-colors hover:text-white",children:"Program"}),(0,t.jsx)(r.default,{href:"/speakers",className:"transition-colors hover:text-white",children:"Speakers"}),(0,t.jsx)(r.default,{href:"/tasi-2025",className:"transition-colors hover:text-white",children:"TASI Editions"}),(0,t.jsx)(r.default,{href:"/sponsor",className:"transition-colors hover:text-white",children:"Sponsors"}),(0,t.jsx)(r.default,{href:"/contact",className:"transition-colors hover:text-white",children:"Contact"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-lg font-semibold",children:"Contact Us"}),(0,t.jsxs)("address",{className:"space-y-2 text-sm text-white/90 not-italic",children:[(0,t.jsx)("p",{children:"Centre for Social Research"}),(0,t.jsx)("p",{children:"New Delhi, India"}),(0,t.jsx)("p",{children:"Email: [email protected]"})]}),(0,t.jsxs)("div",{className:"mt-5 flex flex-col items-start gap-2 text-sm text-white/90",children:[(0,t.jsx)("a",{href:"https://www.linkedin.com/company/tasifestival/?viewAsMember=true",target:"_blank",rel:"noreferrer",className:"transition-colors hover:text-white",children:"LinkedIn (TASI)"}),(0,t.jsx)("a",{href:"https://www.linkedin.com/showcase/trust-safety/posts/?feedView=all",target:"_blank",rel:"noreferrer",className:"transition-colors hover:text-white",children:"LinkedIn (Trust and Safety Festival)"})]})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("h3",{className:"mb-4 text-lg font-semibold",children:"Follow CSR"}),(0,t.jsxs)("div",{className:"mb-4 flex flex-wrap gap-3",children:[(0,t.jsxs)("a",{href:"https://www.facebook.com/csrindia.org",target:"_blank",rel:"noreferrer",title:"Follow on Facebook",className:"inline-flex h-10 w-10 items-center justify-center rounded-full border border-white/40 bg-white/10 text-white transition-colors hover:bg-white/20",children:[(0,t.jsx)(m.Facebook,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Facebook"})]}),(0,t.jsxs)("a",{href:"https://x.com/CSR_India",target:"_blank",rel:"noreferrer",title:"Follow on X",className:"inline-flex h-10 w-10 items-center justify-center rounded-full border border-white/40 bg-white/10 text-white transition-colors hover:bg-white/20",children:[(0,t.jsx)(g.Twitter,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Twitter"})]}),(0,t.jsxs)("a",{href:"https://www.instagram.com/csr_india/",target:"_blank",rel:"noreferrer",title:"Follow on Instagram",className:"inline-flex h-10 w-10 items-center justify-center rounded-full border border-white/40 bg-white/10 text-white transition-colors hover:bg-white/20",children:[(0,t.jsx)(f,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Instagram"})]}),(0,t.jsxs)("a",{href:"https://www.linkedin.com/company/centre-for-social-research-india/",target:"_blank",rel:"noreferrer",title:"Connect on LinkedIn",className:"inline-flex h-10 w-10 items-center justify-center rounded-full border border-white/40 bg-white/10 text-white transition-colors hover:bg-white/20",children:[(0,t.jsx)(w.Linkedin,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"LinkedIn"})]})]}),(0,t.jsxs)("div",{className:"mb-4 w-full max-w-[196px] rounded-[10px] border border-white/30 bg-black/20 p-3 backdrop-blur-sm dark:border-white/35 dark:bg-black/30",children:[(0,t.jsx)("p",{className:"mb-3 text-sm text-white/85",children:"Admin Access"}),(0,t.jsx)("div",{className:"flex flex-col gap-2",children:(0,t.jsx)(b,{})})]})]})]}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col items-center justify-between gap-3 border-t border-white/25 pt-5 text-center md:flex-row",children:[(0,t.jsx)("p",{className:"text-sm text-white/80",children:"Copyright 2026 Centre for Social Research. All rights reserved."}),(0,t.jsxs)("nav",{className:"flex gap-4 text-sm text-white/90",children:[(0,t.jsx)(r.default,{href:"/privacy-policy",className:"transition-colors hover:text-white",children:"Privacy Policy"}),(0,t.jsx)(r.default,{href:"/terms-of-service",className:"transition-colors hover:text-white",children:"Terms of Service"}
2),(0,t.jsx)(r.default,{href:"/cookie-settings",className:"transition-colors hover:text-white",children:"Cookie Settings"}),(0,t.jsx)(r.default,{href:"/sitemap.xml",className:"transition-colors hover:text-white",children:"Sitemap"})]})]})]})]})}function S(){return(0,t.jsx)("div",{className:"block",children:(0,t.jsx)(x,{})})}var y="1.3.25";function j(e,t,i){return Math.max(e,Math.min(t,i))}var N=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let i=j(0,this.currentTime/this.duration,1),s=(t=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*s}else if(this.lerp){var i,s,r,n;this.value=(i=this.value,s=this.to,r=60*this.lerp,(1-(n=1-Math.exp(-r*e)))*i+n*s),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i,duration:s,easing:r,onStart:n,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=s,this.easing=r,this.currentTime=0,this.isRunning=!0,n?.(),this.onUpdate=o}},E=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,t,{autoResize:i=!0,debounce:s=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(e,t){let i;return function(...s){clearTimeout(i),i=setTimeout(()=>{i=void 0,e.apply(this,s)},t)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},k=class{events={};emit(e,...t){let i=this.events[e]||[];for(let e=0,s=i.length;e<s;e++)i[e]?.(...t)}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}};let A=100/6,T={passive:!1};function R(e,t){return 1===e?A:2===e?t:1}var C=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new k;constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,T),this.element.addEventListener("touchstart",this.onTouchStart,T),this.element.addEventListener("touchmove",this.onTouchMove,T),this.element.addEventListener("touchend",this.onTouchEnd,T)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,T),this.element.removeEventListener("touchstart",this.onTouchStart,T),this.element.removeEventListener("touchmove",this.onTouchMove,T),this.element.removeEventListener("touchend",this.onTouchEnd,T)}onTouchStart=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,s=-(t-this.touchStart.x)*this.options.touchMultiplier,r=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:s,y:r},this.emitter.emit("scroll",{deltaX:s,deltaY:r,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i,deltaMode:s}=e,r=R(s,this.window.width),n=R(s,this.window.height);t*=r,i*=n,t*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let L=e=>Math.min(1,1.001-2**(-10*e));var O=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new N;emitter=new k;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:i=e,smoothWheel:s=!0,syncTouch:r=!1,syncTouchLerp:n=.075,touchInertiaExponent:o=1.7,duration:l,easing:a,lerp:c=.
21,infinite:h=!1,orientation:d="vertical",gestureOrientation:u="horizontal"===d?"both":"vertical",touchMultiplier:p=1,wheelMultiplier:m=1,autoResize:f=!0,prevent:w,virtualScroll:v,overscroll:g=!0,autoRaf:b=!1,anchors:x=!1,autoToggle:S=!1,allowNestedScroll:j=!1,__experimental__naiveDimensions:N=!1,naiveDimensions:k=N,stopInertiaOnNavigate:A=!1}={}){window.lenisVersion=y,window.lenis||(window.lenis={}),window.lenis.version=y,"horizontal"===d&&(window.lenis.horizontal=!0),!0===r&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),e&&e!==document.documentElement||(e=window),"number"==typeof l&&"function"!=typeof a?a=L:"function"==typeof a&&"number"!=typeof l&&(l=1),this.options={wrapper:e,content:t,eventsTarget:i,smoothWheel:s,syncTouch:r,syncTouchLerp:n,touchInertiaExponent:o,duration:l,easing:a,lerp:c,infinite:h,gestureOrientation:u,orientation:d,touchMultiplier:p,wheelMultiplier:m,autoResize:f,prevent:w,virtualScroll:v,overscroll:g,autoRaf:b,anchors:x,autoToggle:S,allowNestedScroll:j,naiveDimensions:k,stopInertiaOnNavigate:A},this.dimensions=new E(e,t,{autoResize:f}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new C(i,{touchMultiplier:p,wheelMultiplier:m}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().filter(e=>e instanceof HTMLAnchorElement&&e.href).map(e=>new URL(e.href)),i=new URL(window.location.href);if(this.options.anchors){let e=t.find(e=>i.host===e.host&&i.pathname===e.pathname&&e.hash);if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=decodeURIComponent(e.hash);this.scrollTo(i,t);return}}if(this.options.stopInertiaOnNavigate&&t.some(e=>i.host===e.host&&i.pathname!==e.pathname))return void this.reset()};onPointerDown=e=>{1===e.button&&this.reset()};isTouchOnSelectionHandle(e){let t=window.getSelection();if(!t||t.isCollapsed||0===t.rangeCount)return!1;let i=e.targetTouches[0]??e.changedTouches[0];if(!i)return!1;let s=t.getRangeAt(0).getClientRects();if(0===s.length)return!1;let r=s[0],n=s[s.length-1],o=40>=Math.hypot(i.clientX-r.left,i.clientY-r.top),l=40>=Math.hypot(i.clientX-n.right,i.clientY-n.bottom);return o||l}onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:i,event:s}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:i,event:s}),s.ctrlKey||s.lenisStopPropagation)return;let r=s.type.includes("touch"),n=s.type.includes("wheel");if(r&&this.isIos&&("touchstart"===s.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(s)),this._isDraggingSelection)){"touchend"===s.type&&(this._isDraggingSelection=!1);return}this.isTouching="touchstart"===s.type||"touchmove"===s.type;let o=0===t&&0===i;if(this.options.syncTouch&&r&&"touchstart"===s.type&&o&&!this.isStopped&&!this.isLocked)return void this.reset();let l="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===t;if(o||l)return;let a=s.composedPath();a=a.slice(0,a.indexOf(this.rootElement));let c=this.options.prevent,h=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if(a.find(e=>e instanceof HTMLElement&&("function"==typeof c&&c?.(e)||e.hasAttribute?.("data-lenis-prevent")||"vertical"===h&&e.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===h&&e.hasAttribute?.("data-lenis-prevent-horizontal")||r&&e.hasAttribute?.("data-lenis-prevent-touch")||n&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(e,{deltaX:t,deltaY:i}
2))))return;if(this.isStopped||this.isLocked){s.cancelable&&s.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&n)){this.isScrolling="native",this.animate.stop(),s.lenisStopPropagation=!0;return}let d=i;"both"===this.options.gestureOrientation?d=Math.abs(i)>Math.abs(t)?i:t:"horizontal"===this.options.gestureOrientation&&(d=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(s.lenisStopPropagation=!0),s.cancelable&&s.preventDefault();let u=r&&this.options.syncTouch,p=r&&"touchend"===s.type;p&&(d=Math.sign(d)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+d,{programmatic:!1,...u?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:i=!1,lock:s=!1,programmatic:r=!0,lerp:n=r?this.options.lerp:void 0,duration:o=r?this.options.duration:void 0,easing:l=r?this.options.easing:void 0,onStart:a,onComplete:c,force:h=!1,userData:d}={}){if((this.isStopped||this.isLocked)&&!h)return;let u=e,p=t;if("string"==typeof u&&["top","left","start","#"].includes(u))u=0;else if("string"==typeof u&&["bottom","right","end"].includes(u))u=this.limit;else{let e=null;if("string"==typeof u?(e=u.startsWith("#")?document.getElementById(u.slice(1)):document.querySelector(u))||("#top"===u?u=0:console.warn("Lenis: Target not found",u)):u instanceof HTMLElement&&u?.nodeType&&(e=u),e){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();p-=this.isHorizontal?e.left:e.top}let t=e.getBoundingClientRect(),i=getComputedStyle(e),s=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),r=getComputedStyle(this.rootElement),n=this.isHorizontal?Number.parseFloat(r.scrollPaddingLeft):Number.parseFloat(r.scrollPaddingTop);u=(this.isHorizontal?t.left:t.top)+this.animatedScroll-(Number.isNaN(s)?0:s)-(Number.isNaN(n)?0:n)}}if("number"==typeof u){if(u+=p,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;let e=u-this.animatedScroll;e>this.limit/2?u-=this.limit:e<-this.limit/2&&(u+=this.limit)}}else u=j(0,u,this.limit);if(u===this.targetScroll){a?.(this),c?.(this);return}if(this.userData=d??{},i){this.animatedScroll=this.targetScroll=u,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=u),"number"==typeof o&&"function"!=typeof l?l=L:"function"==typeof l&&"number"!=typeof o&&(o=1),this.animate.fromTo(this.animatedScroll,u,{duration:o,easing:l,lerp:n,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling="smooth",a?.(this)},onUpdate:(e,t)=>
2{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),r&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:t,deltaY:i}){let s,r,n,o,l,a,c,h,d,u,p,m,f,w,v,g,b=Date.now();e._lenis||(e._lenis={});let x=e._lenis;if(b-(x.time??0)>2e3){x.time=Date.now();let t=window.getComputedStyle(e);if(x.computedStyle=t,s=["auto","overlay","scroll"].includes(t.overflowX),r=["auto","overlay","scroll"].includes(t.overflowY),l=["auto"].includes(t.overscrollBehaviorX),a=["auto"].includes(t.overscrollBehaviorY),x.hasOverflowX=s,x.hasOverflowY=r,!(s||r))return!1;c=e.scrollWidth,h=e.scrollHeight,d=e.clientWidth,u=e.clientHeight,n=c>d,o=h>u,x.isScrollableX=n,x.isScrollableY=o,x.scrollWidth=c,x.scrollHeight=h,x.clientWidth=d,x.clientHeight=u,x.hasOverscrollBehaviorX=l,x.hasOverscrollBehaviorY=a}else n=x.isScrollableX,o=x.isScrollableY,s=x.hasOverflowX,r=x.hasOverflowY,c=x.scrollWidth,h=x.scrollHeight,d=x.clientWidth,u=x.clientHeight,l=x.hasOverscrollBehaviorX,a=x.hasOverscrollBehaviorY;if(!(s&&n||r&&o))return!1;let S=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===S)p=Math.round(e.scrollLeft),m=c-d,f=t,w=s,v=n,g=l;else{if("vertical"!==S)return!1;p=Math.round(e.scrollTop),m=h-u,f=i,w=r,v=o,g=a}return!g&&(p>=m||p<=0)||(f>0?p<m:p>0)&&w&&v}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e=>{this.rootElement.classList.add(e)})}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))("lenis"===e||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e)}};function _({children:e}){let t=(0,i.usePathname)(),s=(0,n.useRef)(null),r=t?.startsWith("/admin")||t?.startsWith("/studio");return(0,n.useEffect)(()=>{let e;if(r)return;let t=new O({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0});return s.current=t,e=requestAnimationFrame(function i(s){t.raf(s),e=requestAnimationFrame(i)}),()=>{cancelAnimationFrame(e),t.destroy(),s.current=null}},[r]),e}e.s(["default",0,function({children:e}){let r=(0,i.usePathname)(),n=r?.startsWith("/studio"),o=r?.startsWith("/admin");return n||o?e:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(_,{children:(0,t.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,t.jsx)("div",{className:"flex-1",children:e}),(0,t.jsx)(S,{})]})}),(0,t.jsx)(h,{}),(0,t.jsx)(s.Toaster,{richColors:!0,closeButton:!0,position:"bottom-right"})]})}],121853)},73071,e=>{"use strict";var t=e.i(843476),i=e.i(618566),s=e.i(437902),r=e.i(271645);function n(){let[e,i]=(0,r.useState)(!1),[n,l]=(0,r.useState)(!1),[a,c]=(0,r.useState)([{role:"assistant",content:"Hi! I'm the TASI Chatbot. Ask me anything about the conference â schedule, speakers, registration, or venue."}]),[h,d]=(0,r.useState)(""),[u,p]=(0,r.useState)(!1),m=(0,r.useRef)(null);(0,r.useEffect)(()=>{m.current?.scrollIntoView({behavior:"smooth"})},[a,u]);let f=()=>{i(e=>!e)},w=async()=>
2{if(!h.trim()||u)return;let e=[...a,{role:"user",content:h}];c(e),d(""),p(!0);try{let t=await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:e})});if(!t.ok)throw Error("Failed to get response");let i=await t.json();c([...e,{role:"assistant",content:i.reply}])}catch(t){console.error(t),c([...e,{role:"assistant",content:"Something went wrong. Please try again later."}])}finally{p(!1)}};return n?(0,t.jsx)(o,{onRestore:()=>l(!1)}):(0,t.jsxs)("div",{className:"jsx-6639e4eac6b78d61 fixed bottom-6 right-6 z-50 flex flex-col items-end gap-3 pointer-events-none",children:[(0,t.jsxs)("div",{className:`jsx-6639e4eac6b78d61 w-[380px] h-[520px] bg-white rounded-2xl shadow-2xl flex flex-col transform transition-all duration-300 origin-bottom-right ${e?"scale-100 opacity-100 pointer-events-auto":"scale-0 opacity-0 pointer-events-none"}`,children:[(0,t.jsxs)("div",{className:"jsx-6639e4eac6b78d61 bg-gray-900 text-white p-4 rounded-t-2xl flex justify-between items-center",children:[(0,t.jsx)("h3",{className:"jsx-6639e4eac6b78d61 font-semibold",children:"TASI Chatbot"}),(0,t.jsx)("button",{onClick:f,"aria-label":"Close chat window",className:"jsx-6639e4eac6b78d61 text-gray-400 hover:text-white transition-colors",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"jsx-6639e4eac6b78d61 h-5 w-5",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd",className:"jsx-6639e4eac6b78d61"})})})]}),(0,t.jsxs)("div",{className:"jsx-6639e4eac6b78d61 flex-1 overflow-y-auto p-4 space-y-4 scrollbar-hide",children:[a.map((e,i)=>(0,t.jsx)("div",{className:`jsx-6639e4eac6b78d61 flex ${"user"===e.role?"justify-end":"justify-start"}`,children:(0,t.jsx)("div",{className:`jsx-6639e4eac6b78d61 max-w-[80%] p-3 text-sm ${"user"===e.role?"bg-gray-900 text-white rounded-2xl rounded-tr-sm":"bg-gray-100 text-gray-900 rounded-2xl rounded-tl-sm"}`,children:e.content})},i)),u&&(0,t.jsx)("div",{className:"jsx-6639e4eac6b78d61 flex justify-start",children:(0,t.jsxs)("div",{className:"jsx-6639e4eac6b78d61 bg-gray-100 p-3 rounded-2xl rounded-tl-sm flex gap-1",children:[(0,t.jsx)("div",{className:"jsx-6639e4eac6b78d61 w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),(0,t.jsx)("div",{style:{animationDelay:"0.2s"},className:"jsx-6639e4eac6b78d61 w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),(0,t.jsx)("div",{style:{animationDelay:"0.4s"},className:"jsx-6639e4eac6b78d61 w-2 h-2 bg-gray-400 rounded-full animate-bounce"})]})}),(0,t.jsx)("div",{ref:m,className:"jsx-6639e4eac6b78d61"})]}),(0,t.jsxs)("div",{className:"jsx-6639e4eac6b78d61 p-3 border-t border-gray-100 flex gap-2",children:[(0,t.jsx)("input",{type:"text",placeholder:"Type your message...",value:h,onChange:e=>d(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),w())},disabled:u,className:"jsx-6639e4eac6b78d61 flex-1 border border-gray-300 rounded-xl px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-gray-900"}),(0,t.jsx)("button",{onClick:w,disabled:!h.trim()||u,className:"jsx-6639e4eac6b78d61 w-10 h-10 bg-gray-900 text-white rounded-xl flex items-center justify-center hover:bg-gray-800 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"jsx-6639e4eac6b78d61 h-5 w-5",children:(0,t.jsx)("path",{d:"M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z",className:"jsx-6639e4eac6b78d61"})})})]})]}),(0,t.jsxs)("div",{className:`jsx-6639e4eac6b78d61 flex items-center gap-2 pointer-events-auto ${e?"hidden":""}`,children:[(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),i(!1),l(!0)},"aria-label":"Dismiss chatbot",title:"Remove chatbot",className:"jsx-6639e4eac6b78d61 w-7 h-7 bg-white text-gray-500 rounded-full flex items-center justify-center shadow border border-gray-200 hover:text-gray-800 hover:border-gray-400 transition-colors",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"jsx-6639e4eac6b78d61 h-3.5 w-3.5",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd",className:"jsx-6639e4eac6b78d61"})})}),(0,t.jsx)("button",{onClick:f,"aria-label":"Open TASI Chatbot",className:"jsx-6639e4eac6b78d61 w-14 h-14 bg-gray-900 text-white rounded-full flex items-center justify-center shadow-lg hover:scale-105 transition-transform",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,className:"jsx-6639e4eac6b78d61 h-6 w-6",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.25
25-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z",className:"jsx-6639e4eac6b78d61"})})})]}),(0,t.jsx)(s.default,{id:"6639e4eac6b78d61",children:".scrollbar-hide.jsx-6639e4eac6b78d61::-webkit-scrollbar{display:none}.scrollbar-hide.jsx-6639e4eac6b78d61{-ms-overflow-style:none;scrollbar-width:none}"})]})}function o({onRestore:e}){return(0,t.jsx)("div",{className:"fixed bottom-6 right-6 z-50",children:(0,t.jsx)("button",{onClick:e,className:"text-xs text-gray-400 hover:text-gray-700 underline underline-offset-2 transition-colors","aria-label":"Restore TASI Chatbot",children:"Show TASI Chatbot"})})}e.s(["default",0,function(){let e=(0,i.usePathname)();return"/admin"===e||e.startsWith("/admin/")?null:(0,t.jsx)(n,{})}],73071)},990936,(e,t,i)=>{let s=Date.parse("2026-10-12T00:00:00+05:30"),r=Date.parse("2026-10-16T00:00:00+05:30"),n=Date.parse("2026-10-16T06:00:00+05:30");function o(e){return e instanceof Date?e.getTime():Number(e)}t.exports={PASS_LOOKUP_CLOSES_AT:r,PASS_LOOKUP_COOLDOWN_MS:9e5,PASS_LOOKUP_DRAIN_UNTIL:n,PASS_LOOKUP_MAX_PER_DAY:3,PASS_LOOKUP_OPENS_AT:s,PASS_LOOKUP_OPERATOR:Object.freeze({userId:"public-pass-lookup",primaryEmail:"public-pass-lookup@local"}),canQueuePassLookup:function(e=[],t=new Date){let i=o(t),s=e.map(e=>Date.parse(e)).filter(e=>Number.isFinite(e)&&e<=i);return!(s.length>=3)&&s.every(e=>i-e>=9e5)},isPassLookupDrainActive:function(e=new Date){let t=o(e);return t>=s&&t<n},isPassLookupOpen:function(e=new Date){let t=o(e);return t>=s&&t<r}}},190296,e=>{"use strict";var t=e.i(843476),i=e.i(271645),s=e.i(522016),r=e.i(618566);let n=(0,e.i(475254).default)("ticket",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]]),{isPassLookupOpen:o}=e.i(990936).default,l=["/admin","/studio","/my-pass","/badge"],a=()=>()=>{},c=()=>o(new Date),h=()=>!1;e.s(["default",0,function(){let e=(0,r.usePathname)()||"";return!(0,i.useSyncExternalStore)(a,c,h)||l.some(t=>e.startsWith(t))?null:(0,t.jsxs)(s.default,{href:"/my-pass",className:"fixed bottom-5 left-4 z-40 inline-flex items-center gap-2 rounded-full border-2 border-[#350265]/10 bg-[#ffd919] px-4 py-3 text-xs font-black uppercase tracking-[0.14em] text-[#350265] shadow-lg shadow-black/25 transition hover:-translate-y-0.5 hover:brightness-105 md:left-6",children:[(0,t.jsx)(n,{className:"h-4 w-4"}),"Find my pass"]})}],190296)}]); 3 4//# debugId=05583f34-acc4-b4c4-1b13-96492b8289ce
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.