1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/World-L0pjWoPh.js","assets/vendor-r3f-BGuYPAQ8.js","assets/vendor-react-atvCNCR5.js","assets/vendor-three-CGYCzd_n.js","assets/vendor-ui-BwOwFJfq.js"])))=>i.map(i=>d[i]); 2var il=r=>{throw TypeError(r)};var Wa=(r,e,n)=>e.has(r)||il("Cannot "+n);var C=(r,e,n)=>(Wa(r,e,"read from private field"),n?n.call(r):e.get(r)),ke=(r,e,n)=>e.has(r)?il("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,n),ue=(r,e,n,s)=>(Wa(r,e,"write to private field"),s?s.call(r,n):e.set(r,n),n),Ct=(r,e,n)=>(Wa(r,e,"access private method"),n);var Wi=(r,e,n,s)=>({set _(i){ue(r,e,i,n)},get _(){return C(r,e,s)}});import{j as t,c as pu,_ as gu,a as fu}from"./vendor-r3f-BGuYPAQ8.js";import{r as y,R as B,v as yu,u as St,c as ls,a as al,L as bu,B as xu,d as vu,e as Oe,N as wu}from"./vendor-react-atvCNCR5.js";import{V as Jc,R as Xc,A as Zc,C as Qc,T as ed,D as td,P as Su,a as rd,b as ju,_ as ku,c as Ra}from"./vendor-ui-BwOwFJfq.js";import"./vendor-three-CGYCzd_n.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();const Tu=1,Eu=1e6;let Ua=0;function Cu(){return Ua=(Ua+1)%Number.MAX_SAFE_INTEGER,Ua.toString()}const Ha=new Map,ol=r=>{if(Ha.has(r))return;const e=setTimeout(()=>{Ha.delete(r),oi({type:"REMOVE_TOAST",toastId:r})},Eu);Ha.set(r,e)},Iu=(r,e)=>{switch(e.type){case"ADD_TOAST":return{...r,toasts:[e.toast,...r.toasts].slice(0,Tu)};case"UPDATE_TOAST":return{...r,toasts:r.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=e;return n?ol(n):r.toasts.forEach(s=>{ol(s.id)}),{...r,toasts:r.toasts.map(s=>s.id===n||n===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return e.toastId===void 0?{...r,toasts:[]}:{...r,toasts:r.toasts.filter(n=>n.id!==e.toastId)}}},la=[];let ca={toasts:[]};function oi(r){ca=Iu(ca,r),la.forEach(e=>{e(ca)})}function _u({...r}){const e=Cu(),n=i=>oi({type:"UPDATE_TOAST",toast:{...i,id:e}}),s=()=>oi({type:"DISMISS_TOAST",toastId:e});return oi({type:"ADD_TOAST",toast:{...r,id:e,open:!0,onOpenChange:i=>{i||s()}}}),{id:e,dismiss:s,update:n}}function Au(){const[r,e]=y.useState(ca);return y.useEffect(()=>(la.push(e),()=>{const n=la.indexOf(e);n>-1&&la.splice(n,1)}),[r]),{...r,toast:_u,dismiss:n=>oi({type:"DISMISS_TOAST",toastId:n})}}function nd(r){var e,n,s="";if(typeof r=="string"||typeof r=="number")s+=r;else if(typeof r=="object")if(Array.isArray(r)){var i=r.length;for(e=0;e<i;e++)r[e]&&(n=nd(r[e]))&&(s&&(s+=" "),s+=n)}else for(n in r)r[n]&&(s&&(s+=" "),s+=n);return s}function sd(){for(var r,e,n=0,s="",i=arguments.length;n<i;n++)(r=arguments[n])&&(e=nd(r))&&(s&&(s+=" "),s+=e);return s}const ll=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,cl=sd,Nu=(r,e)=>n=>{var s;if(e?.variants==null)return cl(r,n?.class,n?.className);const{variants:i,defaultVariants:a}=e,o=Object.keys(i).map(c=>{const u=n?.[c],h=a?.[c];if(u===null)return null;const p=ll(u)||ll(h);return i[c][p]}),l=n&&Object.entries(n).reduce((c,u)=>{let[h,p]=u;return p===void 0||(c[h]=p),c},{}),d=e==null||(s=e.compoundVariants)===null||s===void 0?void 0:s.reduce((c,u)=>{let{class:h,className:p,...m}=u;return Object.entries(m).every(f=>{let[g,v]=f;return Array.isArray(v)?v.includes({...a,...l}[g]):{...a,...l}[g]===v})?[...c,h,p]:c},[]);return cl(r,o,d,n?.class,n?.className)};/** 3 * @license lucide-react v0.462.0 - ISC 4 * 5 * This source code is licensed under the ISC license. 6 * See the LICENSE file in the root directory of this source tree. 7 */const Ru=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),id=(...r)=>r.filter((e,n,s)=>!!e&&e.trim()!==""&&s.indexOf(e)===n).join(" ").trim();/** 8 * @license lucide-react v0.462.0 - ISC 9 * 10 * This source code is licensed under the ISC license. 11 * See the LICENSE file in the root directory of this source tree. 12 */var Ou={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 13 * @license lucide-react v0.462.0 - ISC 14 * 15 * This source code is licensed under the ISC license. 16 * See the LICENSE file in the root directory of this source tree. 17 */const Fu=y.forwardRef(({color:r="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:i="",children:a,iconNode:o,...l},d)=>y.createElement("svg",{ref:d,...Ou,width:e,height:e,stroke:r,strokeWidth:s?Number(n)*24/Number(e):n,className:id("lucide",i),...l},[...o.map(([c,u])=>y.createElement(c,u)),...Array.isArray(a)?a:[a]]));/** 18 * @license lucide-react v0.462.0 - ISC 19 * 20 * This source code is licensed under the ISC license. 21 * See the LICENSE file in the root directory of this source tree. 22 */const ad=(r,e)=>{const n=y.forwardRef(({className:s,...i},a)=>y.createElement(Fu,{ref:a,iconNode:e,className:id(`lucide-${Ru(r)}`,s),...i}));return n.displayName=`${r}`,n};/** 23 * @license lucide-react v0.462.0 - ISC 24 * 25 * This source code is licensed under the ISC license. 26 * See the LICENSE file in the root directory of this source tree. 27 */const Pu=ad("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 28 * @license lucide-react v0.462.0 - ISC 29 * 30 * This source code is licensed under the ISC license. 31 * See the LICENSE file in the root directory of this source tree. 32 */const Bu=ad("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,630 bytes, line 32
32],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Ho="-",$u=r=>{const e=zu(r),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=r;return{getClassGroupId:o=>{const l=o.split(Ho);return l[0]===""&&l.length!==1&&l.shift(),od(l,e)||Lu(o)},getConflictingClassGroupIds:(o,l)=>{const d=n[o]||[];return l&&s[o]?[...d,...s[o]]:d}}},od=(r,e)=>{if(r.length===0)return e.classGroupId;const n=r[0],s=e.nextPart.get(n),i=s?od(r.slice(1),s):void 0;if(i)return i;if(e.validators.length===0)return;const a=r.join(Ho);return e.validators.find(({validator:o})=>o(a))?.classGroupId},dl=/^\[(.+)\]$/,Lu=r=>{if(dl.test(r)){const e=dl.exec(r)[1],n=e?.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},zu=r=>{const{theme:e,prefix:n}=r,s={nextPart:new Map,validators:[]};return Mu(Object.entries(r.classGroups),n).forEach(([a,o])=>{fo(o,s,a,e)}),s},fo=(r,e,n,s)=>{r.forEach(i=>{if(typeof i=="string"){const a=i===""?e:ul(e,i);a.classGroupId=n;return}if(typeof i=="function"){if(Du(i)){fo(i(s),e,n,s);return}e.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,o])=>{fo(o,ul(e,a),n,s)})})},ul=(r,e)=>{let n=r;return e.split(Ho).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n},Du=r=>r.isThemeGetter,Mu=(r,e)=>e?r.map(([n,s])=>{const i=s.map(a=>typeof a=="string"?e+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,l])=>[e+o,l])):a);return[n,i]}):r,Wu=r=>{if(r<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,s=new Map;const i=(a,o)=>{n.set(a,o),e++,e>r&&(e=0,s=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=s.get(a))!==void 0)return i(a,o),o},set(a,o){n.has(a)?n.set(a,o):i(a,o)}}},ld="!",Uu=r=>{const{separator:e,experimentalParseClassName:n}=r,s=e.length===1,i=e[0],a=e.length,o=l=>{const d=[];let c=0,u=0,h;for(let v=0;v<l.length;v++){let j=l[v];if(c===0){if(j===i&&(s||l.slice(v,v+a)===e)){d.push(l.slice(u,v)),u=v+a;continue}if(j==="/"){h=v;continue}}j==="["?c++:j==="]"&&c--}const p=d.length===0?l:l.substring(u),m=p.startsWith(ld),f=m?p.substring(1):p,g=h&&h>u?h-u:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:f,maybePostfixModifierPosition:g}};return n?l=>n({className:l,parseClassName:o}):o},Hu=r=>{if(r.length<=1)return r;const e=[];let n=[];return r.forEach(s=>{s[0]==="["?(e.push(...n.sort(),s),n=[]):n.push(s)}),e.push(...n.sort()),e},Vu=r=>({cache:Wu(r.cacheSize),parseClassName:Uu(r),...$u(r)}),Gu=/\s+/,qu=(r,e)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:i}=e,a=[],o=r.trim().split(Gu);let l="";for(let d=o.length-1;d>=0;d-=1){const c=o[d],{modifiers:u,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:m}=n(c);let f=!!m,g=s(f?p.substring(0,m):p);if(!g){if(!f){l=c+(l.length>0?" "+l:l);continue}if(g=s(p),!g){l=c+(l.length>0?" "+l:l);continue}f=!1}const v=Hu(u).join(":"),j=h?v+ld:v,x=j+g;if(a.includes(x))continue;a.push(x);const w=i(g,f);for(let I=0;I<w.length;++I){const R=w[I];a.push(j+R)}l=c+(l.length>0?" "+l:l)}return l};function Ku(){let r=0,e,n,s="";for(;r<arguments.length;)(e=arguments[r++])&&(n=cd(e))&&(s&&(s+=" "),s+=n);return s}const cd=r=>{if(typeof r=="string")return r;let e,n="";for(let s=0;s<r.length;s++)r[s]&&(e=cd(r[s]))&&(n&&(n+=" "),n+=e);return n};function Yu(r,...e){let n,s,i,a=o;function o(d){const c=e.reduce((u,h)=>h(u),r());return n=Vu(c),s=n.cache.get,i=n.cache.set,a=l,l(d)}function l(d){const c=s(d);if(c)return c;const u=qu(d,n);return i(d,u),u}return function(){return a(Ku.apply(null,arguments))}}const He=r=>{const e=n=>n[r]||[];return e.isThemeGetter=!0,e},dd=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ju=/^\d+\/\d+$/,Xu=new Set(["px","full","screen"]),Zu=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qu=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eh=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,th=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rh=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mr=r=>Es(r)||Xu.has(r)||Ju.test(r),un=r=>Ms(r,"length",dh),Es=r=>!!r&&!Number.isNaN(Number(r)),Va=r=>Ms(r,"number",Es),Hs=r=>!!r&&Number.isInteger(Number(r)),nh=r=>r.endsWith("%")&&Es(r.slice(0,-1)),me=r=>dd.test(r),hn=r=>Zu.test(r),sh=new Set(["length","size","percentage"]),ih=r=>Ms(r,sh,ud),ah=r=>Ms(r,"position",ud),oh=new Set(["image","url"]),lh=r=>Ms(r,oh,hh),ch=r=>Ms(r,"",uh),Vs=()=>!0,Ms=(r,e,n)=>{const s=dd.exec(r);return s?s[1]?typeof e=="string"?s[1]===e:e.has(s[1]):n(s[2]):!1},dh=r=>Qu.test(r)&&!eh.test(r),ud=()=>!1,uh=r=>th.test(r),hh=r=>rh.test(r),mh=()=>
vendor: 12,790 bytes, line 32
32{const r=He("colors"),e=He("spacing"),n=He("blur"),s=He("brightness"),i=He("borderColor"),a=He("borderRadius"),o=He("borderSpacing"),l=He("borderWidth"),d=He("contrast"),c=He("grayscale"),u=He("hueRotate"),h=He("invert"),p=He("gap"),m=He("gradientColorStops"),f=He("gradientColorStopPositions"),g=He("inset"),v=He("margin"),j=He("opacity"),x=He("padding"),w=He("saturate"),I=He("scale"),R=He("sepia"),L=He("skew"),P=He("space"),pe=He("translate"),J=()=>["auto","contain","none"],he=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",me,e],A=()=>[me,e],E=()=>["",Mr,un],F=()=>["auto",Es,me],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ve=()=>["solid","dashed","dotted","double","none"],N=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",me],S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[Es,me];return{cacheSize:500,separator:":",theme:{colors:[Vs],spacing:[Mr,un],blur:["none","",hn,me],brightness:H(),borderColor:[r],borderRadius:["none","","full",hn,me],borderSpacing:A(),borderWidth:E(),contrast:H(),grayscale:te(),hueRotate:H(),invert:te(),gap:A(),gradientColorStops:[r],gradientColorStopPositions:[nh,un],inset:_(),margin:_(),opacity:H(),padding:A(),saturate:H(),scale:H(),sepia:te(),skew:H(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",me]}],container:["container"],columns:[{columns:[hn]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...xe(),me]}],overflow:[{overflow:he()}],"overflow-x":[{"overflow-x":he()}],"overflow-y":[{"overflow-y":he()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Hs,me]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",me]}],grow:[{grow:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",Hs,me]}],"grid-cols":[{"grid-cols":[Vs]}],"col-start-end":[{col:["auto",{span:["full",Hs,me]},me]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[Vs]}],"row-start-end":[{row:["auto",{span:[Hs,me]},me]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",me]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",me]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",me,e]}],"min-w":[{"min-w":[me,e,"min","max","fit"]}],"max-w":[{"max-w":[me,e,"none","full","min","max","fit","prose",{screen:[hn]},hn]}],h:[{h:[me,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[me,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[me,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[me,e,"auto","min","max","fit"]}],"font-size":[{text:["base",hn,un]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Va]}],"font-family":[{font:[Vs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",me]}],"line-clamp":[{"line-clamp":["none",Es,Va]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Mr,me]}],"list-image":[{"list-image":["none",me]}],"list-style-type":[{list:["none","disc","decimal",me]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[j]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Mr,un]}],"underline-offset":[{"underline-offset":["auto",Mr,me]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[j]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...xe(),ah]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ih]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},lh]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[j]}],"border-style":[{border:[...ve(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[j]}],"divide-style":[{divide:ve()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...ve()]}],"outline-offset":[{"outline-offset":[Mr,me]}],"outline-w":[{outline:[Mr,un]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:E()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[j]}],"ring-offset-w":[{"ring-offset":[Mr,un]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",hn,ch]}],"shadow-color":[{shadow:[Vs]}],opacity:[{opacity:[j]}],"mix-blend":[{"mix-blend":[...N(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":N()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[s]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",hn,me]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[w]}],sepia:[{sepia:[R]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[j]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",me]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",me]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",me]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[Hs,me]}],"translate-x":[{"translate-x":[pe]}],"translate-y":[{"translate-y":[pe]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",me]}],accent:[{accent:["auto",r]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",me]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,647 bytes, line 32
32],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",me]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[Mr,un,Va]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},ph=Yu(mh);function cs(...r){return ph(sd(r))}const gh=Su,hd=y.forwardRef(({className:r,...e},n)=>t.jsx(Jc,{ref:n,className:cs("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",r),...e}));hd.displayName=Jc.displayName;const fh=Nu("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),md=y.forwardRef(({className:r,variant:e,...n},s)=>t.jsx(Xc,{ref:s,className:cs(fh({variant:e}),r),...n}));md.displayName=Xc.displayName;const yh=y.forwardRef(({className:r,...e},n)=>t.jsx(Zc,{ref:n,className:cs("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",r),...e}));yh.displayName=Zc.displayName;const pd=y.forwardRef(({className:r,...e},n)=>t.jsx(Qc,{ref:n,className:cs("absolute right-2 top-2 rounded-md p-1 text-foreground
32/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",r),"toast-close":"",...e,children:t.jsx(Bu,{className:"h-4 w-4"})}));pd.displayName=Qc.displayName;const gd=y.forwardRef(({className:r,...e},n)=>t.jsx(ed,{ref:n,className:cs("text-sm font-semibold",r),...e}));gd.displayName=ed.displayName;const fd=y.forwardRef(({className:r,...e},n)=>t.jsx(td,{ref:n,className:cs("text-sm opacity-90",r),...e}));fd.displayName=td.displayName;function bh(){const{toasts:r}=Au();return t.jsxs(gh,{children:[r.map(function({id:e,title:n,description:s,action:i,...a}){return t.jsxs(md,{...a,children:[t.jsxs("div",{className:"grid gap-1",children:[n&&t.jsx(gd,{children:n}),s&&t.jsx(fd,{children:s})]}),i,t.jsx(pd,{})]},e)}),t.jsx(hd,{})]})}var hl=["light","dark"],xh="(prefers-color-scheme: dark)",vh=y.createContext(void 0),wh={setTheme:r=>{},themes:[]},Sh=()=>{var r;return(r=y.useContext(vh))!=null?r:wh};
32y.memo(({forcedTheme:r,storageKey:e,attribute:n,enableSystem:s,enableColorScheme:i,defaultTheme:a,value:o,attrs:l,nonce:d})=>{let c=a==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(f=>`'${f}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=i?hl.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(f,g=!1,v=!0)=>{let j=o?o[f]:f,x=g?f+"|| ''":`'${j}'`,w="";return i&&v&&!g&&hl.includes(f)&&(w+=`d.style.colorScheme = '${f}';`),n==="class"?g||j?w+=`c.add(${x})`:w+="null":j&&(w+=`d[s](n,${x})`),w},m=r?`!function(){${u}${p(r)}}()`:s?`!function(){try{${u}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${c})){var t='${xh}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}${c?"":"else{"+p(a,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${e}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}else{${p(a,!1,!1)};}${h}}catch(t){}}();`;return y.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:m}})});var jh=r=>{switch(r){case"success":return Eh;case"info":return Ih;case"warning":return Ch;case"error":return _h;default:return null}},kh=Array(12).fill(0),Th=({visible:r,className:e})=>B.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":r},B.createElement("div",{className:"sonner-spinner"},kh.map((n,s)=>B.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${s}`})))),Eh=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Ch=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Ih=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),_h=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Ah=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},B.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),B.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Nh=()=>{let[r,e]=B.useState(document.hidden);return B.useEffect(()=>{let n=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),r},yo=1,Rh=class{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{let e=this.subscribers.indexOf(r);this.subscribers.splice(e,1)}),this.publish=r=>{this.subscribers.forEach(e=>e(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var e;let{message:n,...s}=r,i=typeof r?.id=="number"||((e=r.id)==null?void 0:e.length)>0?r.id:yo++,a=this.toasts.find(l=>l.id===i),o=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),a?this.toasts=this.toasts.map(l
32=>l.id===i?(this.publish({...l,...r,id:i,title:n}),{...l,...r,id:i,dismissible:o,title:n}):l):this.addToast({title:n,...s,dismissible:o,id:i}),i},this.dismiss=r=>(this.dismissedToasts.add(r),r||this.toasts.forEach(e=>{this.subscribers.forEach(n=>n({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:r,dismiss:!0})),r),this.message=(r,e)=>this.create({...e,message:r}),this.error=(r,e)=>this.create({...e,message:r,type:"error"}),this.success=(r,e)=>this.create({...e,type:"success",message:r}),this.info=(r,e)=>this.create({...e,type:"info",message:r}),this.warning=(r,e)=>this.create({...e,type:"warning",message:r}),this.loading=(r,e)=>this.create({...e,type:"loading",message:r}),this.promise=(r,e)=>{if(!e)return;let n;e.loading!==void 0&&(n=this.create({...e,promise:r,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let s=r instanceof Promise?r:r(),i=n!==void 0,a,o=s.then(async d=>{if(a=["resolve",d],B.isValidElement(d))i=!1,this.create({id:n,type:"default",message:d});else if(Fh(d)&&!d.ok){i=!1;let c=typeof e.error=="function"?await e.error(`HTTP error! status: ${d.status}`):e.error,u=typeof e.description=="function"?await e.description(`HTTP error! status: ${d.status}`):e.description;this.create({id:n,type:"error",message:c,description:u})}else if(e.success!==void 0){i=!1;let c=typeof e.success=="function"?await e.success(d):e.success,u=typeof e.description=="function"?await e.description(d):e.description;this.create({id:n,type:"success",message:c,description:u})}}).catch(async d=>{if(a=["reject",d],e.error!==void 0){i=!1;let c=typeof e.error=="function"?await e.error(d):e.error,u=typeof e.description=="function"?await e.description(d):e.description;this.create({id:n,type:"error",message:c,description:u})}}).finally(()=>{var d;i&&(this.dismiss(n),n=void 0),(d=e.finally)==null||d.call(e)}),l=()=>new Promise((d,c)=>o.then(()=>a[0]==="reject"?c(a[1]):d(a[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(r,e)=>{let n=e?.id||yo++;return this.create({jsx:r(n),id:n,...e}),n},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ut=new Rh,Oh=(r,e)=>{let n=e?.id||yo++;return Ut.addToast({title:r,...e,id:n}),n},Fh=r=>r&&typeof r=="object"&&"ok"in r&&typeof r.ok=="boolean"&&"status"in r&&typeof r.status=="number",Ph=Oh,Bh=()=>Ut.toasts,$h=()=>Ut.getActiveToasts();Object.assign(Ph,{success:Ut.success,info:Ut.info,warning:Ut.warning,error:Ut.error,custom:Ut.custom,message:Ut.message,promise:Ut.promise,dismiss:Ut.dismiss,loading:Ut.loading},{getHistory:Bh,getToasts:$h});function Lh(r,{insertAt:e}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",e==="top"&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=r:s.appendChild(document.createTextNode(r))}Lh(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
32left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
32:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
32--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 33`);function Ui(r){return r.label!==void 0}var zh=3,Dh="32px",Mh="16px",ml=4e3,Wh=356,Uh=14,Hh=20,Vh=200;function mr(...r){return r.filter(Boolean).join(" ")}function Gh(r){let[e,n]=r.split("-"),s=[];return e&&s.push(e),n&&s.push(n),s}var qh=r=>{var e,n,s,i,a,o,l,d,c,u,h;let{invert:p,toast:m,unstyled:f,interacting:g,setHeights:v,visibleToasts:j,heights:x,index:w,toasts:I,expanded:R,removeToast:L,defaultRichColors:P,closeButton:pe,style:J,cancelButtonStyle:he,actionButtonStyle:_,className:A="",descriptionClassName:E="",duration:F,position:xe,gap:ve,loadingIcon:N,expandByDefault:q,classNames:te,icons:S,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:ae}
33=r,[ce,je]=B.useState(null),[nt,cr]=B.useState(null),[_e,an]=B.useState(!1),[Lr,on]=B.useState(!1),[Pn,ds]=B.useState(!1),[Oi,Fi]=B.useState(!1),[Pi,Bi]=B.useState(!1),[za,$i]=B.useState(0),[Li,b]=B.useState(0),k=B.useRef(m.duration||F||ml),T=B.useRef(null),U=B.useRef(null),M=w===0,z=w+1<=j,G=m.type,we=m.dismissible!==!1,Ae=m.className||"",Lt=m.descriptionClassName||"",zr=B.useMemo(()=>x.findIndex(de=>de.toastId===m.id)||0,[x,m.id]),Er=B.useMemo(()=>{var de;return(de=m.closeButton)!=null?de:pe},[m.closeButton,pe]),zi=B.useMemo(()=>m.duration||F||ml,[m.duration,F]),Bn=B.useRef(0),Cr=B.useRef(0),Di=B.useRef(0),Dr=B.useRef(null),[Da,Mi]=xe.split("-"),nl=B.useMemo(()=>x.reduce((de,Ne,Ge)=>Ge>=zr?de:de+Ne.height,0),[x,zr]),sl=Nh(),hu=m.invert||p,Ma=G==="loading";Cr.current=B.useMemo(()=>zr*ve+nl,[zr,nl]),B.useEffect(()=>{k.current=zi},[zi]),B.useEffect(()=>{an(!0)},[]),B.useEffect(()=>{let de=U.current;if(de){let Ne=de.getBoundingClientRect().height;return b(Ne),v(Ge=>[{toastId:m.id,height:Ne,position:m.position},...Ge]),()=>v(Ge=>Ge.filter(dr=>dr.toastId!==m.id))}},[v,m.id]),B.useLayoutEffect(()=>{if(!_e)return;let de=U.current,Ne=de.style.height;de.style.height="auto";let Ge=de.getBoundingClientRect().height;de.style.height=Ne,b(Ge),v(dr=>dr.find(ur=>ur.toastId===m.id)?dr.map(ur=>ur.toastId===m.id?{...ur,height:Ge}:ur):[{toastId:m.id,height:Ge,position:m.position},...dr])},[_e,m.title,m.description,v,m.id]);let ln=B.useCallback(()=>{on(!0),$i(Cr.current),v(de=>de.filter(Ne=>Ne.toastId!==m.id)),setTimeout(()=>{L(m)},Vh)},[m,L,v,Cr]);B.useEffect(()=>{if(m.promise&&G==="loading"||m.duration===1/0||m.type==="loading")return;let de;return R||g||ae&&sl?(()=>{if(Di.current<Bn.current){let Ne=new Date().getTime()-Bn.current;k.current=k.current-Ne}Di.current=new Date().getTime()})():k.current!==1/0&&(Bn.current=new Date().getTime(),de=setTimeout(()=>{var Ne;(Ne=m.onAutoClose)==null||Ne.call(m,m),ln()},k.current)),()=>clearTimeout(de)},[R,g,m,G,ae,sl,ln]),B.useEffect(()=>{m.delete&&ln()},[ln,m.delete]);function mu(){var de,Ne,Ge;return S!=null&&S.loading?B.createElement("div",{className:mr(te?.loader,(de=m?.classNames)==null?void 0:de.loader,"sonner-loader"),"data-visible":G==="loading"},S.loading):N?B.createElement("div",{className:mr(te?.loader,(Ne=m?.classNames)==null?void 0:Ne.loader,"sonner-loader"),"data-visible":G==="loading"},N):B.createElement(Th,{className:mr(te?.loader,(Ge=m?.classNames)==null?void 0:Ge.loader),visible:G==="loading"})}return B.createElement("li",{tabIndex:0,ref:U,className:mr(A,Ae,te?.toast,(e=m?.classNames)==null?void 0:e.toast,te?.default,te?.[G],(n=m?.classNames)==null?void 0:n[G]),"data-sonner-toast":"","data-rich-colors":(s=m.richColors)!=null?s:P,"data-styled":!(m.jsx||m.unstyled||f),"data-mounted":_e,"data-promise":!!m.promise,"data-swiped":Pi,"data-removed":Lr,"data-visible":z,"data-y-position":Da,"data-x-position":Mi,"data-index":w,"data-front":M,"data-swiping":Pn,"data-dismissible":we,"data-type":G,"data-invert":hu,"data-swipe-out":Oi,"data-swipe-direction":nt,"data-expanded":!!(R||q&&_e),style:{"--index":w,"--toasts-before":w,"--z-index":I.length-w,"--offset":`${Lr?za:Cr.current}px`,"--initial-height":q?"auto":`${Li}px`,...J,...m.style},onDragEnd:()=>{ds(!1),je(null),Dr.current=null},onPointerDown:de=>{Ma||!we||(T.current=new Date,$i(Cr.current),de.target.setPointerCapture(de.pointerId),de.target.tagName!=="BUTTON"&&(ds(!0),Dr.current={x:de.clientX,y:de.clientY}))},onPointerUp:()=>{var de,Ne,Ge,dr;if(Oi||!we)return;Dr.current=null;let ur=Number(((de=U.current)==null?void 0:de.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),cn=Number(((Ne=U.current)==null?void 0:Ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),$n=new Date().getTime()-((Ge=T.current)==null?void 0:Ge.getTime()),hr=ce==="x"?ur:cn,dn=Math.abs(hr)/$n;if(Math.abs(hr)>=Hh||dn>.11){$i(Cr.current),(dr=m.onDismiss)==null||dr.call(m,m),cr(ce==="x"?ur>0?"right":"left":cn>0?"down":"up"),ln(),Fi(!0),Bi(!1);return}ds(!1),je(null)},onPointerMove:de=>{var Ne,Ge,dr,ur;if(!Dr.current||!we||((Ne=window.getSelection())==null?void 0:Ne.toString().length)>0)return;let cn=de.clientY-Dr.current.y,$n=de.clientX-Dr.current.x,hr=(Ge=r.swipeDirections)!=null?Ge:Gh(xe);!ce&&(Math.abs($n)>1||Math.abs(cn)>1)&&je(Math.abs($n)>Math.abs(cn)?"x":"y");let dn={x:0,y:0};ce==="y"?(hr.includes("top")||hr.includes("bottom"))&&(hr.includes("top")&&cn<0||hr.includes("bottom")&&cn>0)&&(dn.y=cn):ce==="x"&&(hr.includes("left")||hr.includes("right"))&&(hr.includes("left")&&$n<0||hr.includes("right")&&$n>0)&&(dn.x=$n),(Math.abs(dn.x)>0||Math.abs(dn.y)>0)&&Bi(!0),(dr=U.current)==null||dr.style.setProperty("--swipe-amount-x",`${dn.x}px`),(ur=U.current)==null||ur.style.setProperty("--swipe-amount-y",`${dn.y}px`)}},Er&&!m.jsx?B.createElement("button",{"aria-label":H,"data-disabled":Ma,"data-close-button":!0,onClick:Ma||!we?()=>{}:()=>{var de;ln(),(de=m.onDismiss)==null||de.call(m,m)},className:mr(te?.closeButton,(i=m?.classNames)==null?void 0:i.closeButton)},(a=S?.close)!=null?a:Ah):null,m.jsx||y.isValidElement(m.title)?m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title:B.createElement(B.Fragment,null,G||m.icon||m.promise?B.createElement("div",{"data-icon":"",className:mr(te?.icon,(o=m?.classNames)==null?void 0:o.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||mu():null,m.type!=="loading"?m.
33icon||S?.[G]||jh(G):null):null,B.createElement("div",{"data-content":"",className:mr(te?.content,(l=m?.classNames)==null?void 0:l.content)},B.createElement("div",{"data-title":"",className:mr(te?.title,(d=m?.classNames)==null?void 0:d.title)},typeof m.title=="function"?m.title():m.title),m.description?B.createElement("div",{"data-description":"",className:mr(E,Lt,te?.description,(c=m?.classNames)==null?void 0:c.description)},typeof m.description=="function"?m.description():m.description):null),y.isValidElement(m.cancel)?m.cancel:m.cancel&&Ui(m.cancel)?B.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||he,onClick:de=>{var Ne,Ge;Ui(m.cancel)&&we&&((Ge=(Ne=m.cancel).onClick)==null||Ge.call(Ne,de),ln())},className:mr(te?.cancelButton,(u=m?.classNames)==null?void 0:u.cancelButton)},m.cancel.label):null,y.isValidElement(m.action)?m.action:m.action&&Ui(m.action)?B.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||_,onClick:de=>{var Ne,Ge;Ui(m.action)&&((Ge=(Ne=m.action).onClick)==null||Ge.call(Ne,de),!de.defaultPrevented&&ln())},className:mr(te?.actionButton,(h=m?.classNames)==null?void 0:h.actionButton)},m.action.label):null))};function pl(){if(typeof window>"u"||typeof document>"u")return"ltr";let r=document.documentElement.getAttribute("dir");return r==="auto"||!r?window.getComputedStyle(document.documentElement).direction:r}function Kh(r,e){let n={};return[r,e].forEach((s,i)=>{let a=i===1,o=a?"--mobile-offset":"--offset",l=a?Mh:Dh;function d(c){["top","right","bottom","left"].forEach(u=>{n[`${o}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof s=="number"||typeof s=="string"?d(s):typeof s=="object"?["top","right","bottom","left"].forEach(c=>{s[c]===void 0?n[`${o}-${c}`]=l:n[`${o}-${c}`]=typeof s[c]=="number"?`${s[c]}px`:s[c]}):d(l)}),n}var Yh=y.forwardRef(function(r,e){let{invert:n,position:s="bottom-right",hotkey:i=["altKey","KeyT"],expand:a,closeButton:o,className:l,offset:d,mobileOffset:c,theme:u="light",richColors:h,duration:p,style:m,visibleToasts:f=zh,toastOptions:g,dir:v=pl(),gap:j=Uh,loadingIcon:x,icons:w,containerAriaLabel:I="Notifications",pauseWhenPageIsHidden:R}=r,[L,P]=B.useState([]),pe=B.useMemo(()=>Array.from(new Set([s].concat(L.filter(ae=>ae.position).map(ae=>ae.position)))),[L,s]),[J,he]=B.useState([]),[_,A]=B.useState(!1),[E,F]=B.useState(!1),[xe,ve]=B.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),N=B.useRef(null),q=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),te=B.useRef(null),S=B.useRef(!1),H=B.useCallback(ae=>{P(ce=>{var je;return(je=ce.find(nt=>nt.id===ae.id))!=null&&je.delete||Ut.dismiss(ae.id),ce.filter(({id:nt})=>nt!==ae.id)})},[]);return B.useEffect(()=>Ut.subscribe(ae=>{if(ae.dismiss){P(ce=>ce.map(je=>je.id===ae.id?{...je,delete:!0}:je));return}setTimeout(()=>{yu.flushSync(()=>{P(ce=>{let je=ce.findIndex(nt=>nt.id===ae.id);return je!==-1?[...ce.slice(0,je),{...ce[je],...ae},...ce.slice(je+1)]:[ae,...ce]})})})}),[]),B.useEffect(()=>{if(u!=="system"){ve(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ve("dark"):ve("light")),typeof window>"u")return;let ae=window.matchMedia("(prefers-color-scheme: dark)");try{ae.addEventListener("change",({matches:ce})=>{ve(ce?"dark":"light")})}catch{ae.addListener(({matches:je})=>{try{ve(je?"dark":"light")}catch{}})}},[u]),B.useEffect(()=>{L.length<=1&&A(!1)},[L]),B.useEffect(()=>{let ae=ce=>{var je,nt;i.every(cr=>ce[cr]||ce.code===cr)&&(A(!0),(je=N.current)==null||je.focus()),ce.code==="Escape"&&(document.activeElement===N.current||(nt=N.current)!=null&&nt.contains(document.activeElement))&&A(!1)};return document.addEventListener("keydown",ae),()=>document.removeEventListener("keydown",ae)},[i]),B.useEffect(()=>{if(N.current)return()=>{te.current&&(te.current.focus({preventScroll:!0}),te.current=null,S.current=!1)}},[N.current]),B.createElement("section",{ref:e,"aria-label":`${I} ${q}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},pe.map((ae,ce)=>{var je;let[nt,cr]=ae.split("-");return L.length?B.createElement("ol",{key:ae,dir:v==="auto"?pl():v,tabIndex:-1,ref:N,className:l,"data-sonner-toaster":!0,"data-theme":xe,"data-y-position":nt,"data-lifted":_&&L.length>1&&!a,"data-x-position":cr,style:{"--front-toast-height":`${((je=J[0])==null?void 0:je.height)||0}px`,"--width":`${Wh}px`,"--gap":`${j}px`,...m,...Kh(d,c)},onBlur:_e=>{S.current&&!_e.currentTarget.contains(_e.relatedTarget)&&(S.current=!1,te.current&&(te.current.focus({preventScroll:!0}),te.current=null))},onFocus:_e=>{_e.target instanceof HTMLElement&&_e.target.dataset.dismissible==="false"||S.current||(S.current=!0,te.current=_e.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{E||A(!1)},onDragEnd:()=>A(!1),onPointerDown:_e=>{_e.target instanceof HTMLElement&&_e.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},L.filter(_e=>!_e.position&&ce===0||_e.position===ae).map((_e,an)=>{var Lr,on;return B.createElement(qh,{key:_e.id,icons:w,index:an,toast:_e,defaultRichColors:h,duration:(Lr=g?.duration)!=null?Lr:p,className:g?.className,descriptionClassName:g?.descriptionClassName,invert:n,visibleToasts:f,closeButton:(on=g?.closeButton)!=null?on:o,interacting:E,position:ae,style:g?.style,unstyled:g?.unstyled,classNames:g?.classNames,cancelButtonStyle:g?.cancelButtonStyle,actionButtonStyle:g?.actionButtonStyle,removeToast:H,toasts:L.filter(Pn=>Pn.position==_e.position),heights:J.filter(Pn=>Pn.position==_e.position),setHeights:he,expandByDefault:a,gap:j,loadingIcon:x,expanded:_,pauseWhenPageIsHidden:R,swipeDirections:r.swipeDirections})})):null}))});const Jh=({...r})=>{const{theme:e="system"}=Sh();return t.jsx(Yh,{theme:e,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...r})},Xh=ju,Zh=y.forwardRef(({className:r,sideOffset:e=4,...n},s)=>t.jsx(rd,{ref:s,sideOffset:e,className:cs("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
33de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...n}));Zh.displayName=rd.displayName;var Oa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(r){return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Fa=typeof window>"u"||"Deno"in globalThis;function yr(){}function Qh(r,e){return typeof r=="function"?r(e):r}function em(r){return typeof r=="number"&&r>=0&&r!==1/0}function tm(r,e){return Math.max(r+(e||0)-Date.now(),0)}function bo(r,e){return typeof r=="function"?r(e):r}function rm(r,e){return typeof r=="function"?r(e):r}function gl(r,e){const{type:n="all",exact:s,fetchStatus:i,predicate:a,queryKey:o,stale:l}=r;if(o){if(s){if(e.queryHash!==Vo(o,e.options))return!1}else if(!bi(e.queryKey,o))return!1}if(n!=="all"){const d=e.isActive();if(n==="active"&&!d||n==="inactive"&&d)return!1}return!(typeof l=="boolean"&&e.isStale()!==l||i&&i!==e.state.fetchStatus||a&&!a(e))}function fl(r,e){const{exact:n,status:s,predicate:i,mutationKey:a}=r;if(a){if(!e.options.mutationKey)return!1;if(n){if(yi(e.options.mutationKey)!==yi(a))return!1}else if(!bi(e.options.mutationKey,a))return!1}return!(s&&e.state.status!==s||i&&!i(e))}function Vo(r,e){return(e?.queryKeyHashFn||yi)(r)}function yi(r){return JSON.stringify(r,(e,n)=>xo(n)?Object.keys(n).sort().reduce((s,i)=>(s[i]=n[i],s),{}):n)}function bi(r,e){return r===e?!0:typeof r!=typeof e?!1:r&&e&&typeof r=="object"&&typeof e=="object"?Object.keys(e).every(n=>bi(r[n],e[n])):!1}function yd(r,e){if(r===e)return r;const n=yl(r)&&yl(e);if(n||xo(r)&&xo(e)){const s=n?r:Object.keys(r),i=s.length,a=n?e:Object.keys(e),o=a.length,l=n?[]:{},d=new Set(s);let c=0;for(let u=0;u<o;u++){const h=n?u:a[u];(!n&&d.has(h)||n)&&r[h]===void 0&&e[h]===void 0?(l[h]=void 0,c++):(l[h]=yd(r[h],e[h]),l[h]===r[h]&&r[h]!==void 0&&c++)}return i===o&&c===i?r:l}return e}function yl(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function xo(r){if(!bl(r))return!1;const e=r.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!bl(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(r)!==Object.prototype)}function bl(r){return Object.prototype.toString.call(r)==="[object Object]"}function nm(r){return new Promise(e=>{setTimeout(e,r)})}function sm(r,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(r,e):n.structuralSharing!==!1?yd(r,e):e}function im(r,e,n=0){const s=[...r,e];return n&&s.length>n?s.slice(1):s}function am(r,e,n=0){const s=[e,...r];return n&&s.length>n?s.slice(0,-1):s}var Go=Symbol();function bd(r,e){return!r.queryFn&&e?.initialPromise?()=>e.initialPromise:!r.queryFn||r.queryFn===Go?()=>Promise.reject(new Error(`Missing queryFn: '${r.queryHash}'`)):r.queryFn}var es,Tn,_s,Wc,om=(Wc=class extends Oa{constructor(){super();ke(this,es);ke(this,Tn);ke(this,_s);ue(this,_s,e=>{if(!Fa&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,Tn)||this.setEventListener(C(this,_s))}onUnsubscribe(){var e;this.hasListeners()||((e=C(this,Tn))==null||e.call(this),ue(this,Tn,void 0))}setEventListener(e){var n;ue(this,_s,e),(n=C(this,Tn))==null||n.call(this),ue(this,Tn,e(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(e){C(this,es)!==e&&(ue(this,es,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof C(this,es)=="boolean"?C(this,es):globalThis.document?.visibilityState!=="hidden"}},es=new WeakMap,Tn=new WeakMap,_s=new WeakMap,Wc),xd=new om,As,En,Ns,Uc,lm=(Uc=class extends Oa{constructor(){super();ke(this,As,!0);ke(this,En);ke(this,Ns);ue(this,Ns,e=>{if(!Fa&&window.addEventListener){const n=()=>e(!0),s=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){C(this,En)||this.setEventListener(C(this,Ns))}onUnsubscribe(){var e;this.hasListeners()||((e=C(this,En))==null||e.call(this),ue(this,En,void 0))}setEventListener(e){var n;ue(this,Ns,e),(n=C(this,En))==null||n.call(this),ue(this,En,e(this.setOnline.bind(this)))}setOnline(e){C(this,As)!==e&&(ue(this,As,e),this.listeners.forEac
33h(s=>{s(e)}))}isOnline(){return C(this,As)}},As=new WeakMap,En=new WeakMap,Ns=new WeakMap,Uc),xa=new lm;function cm(){let r,e;const n=new Promise((i,a)=>{r=i,e=a});n.status="pending",n.catch(()=>{});function s(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{s({status:"fulfilled",value:i}),r(i)},n.reject=i=>{s({status:"rejected",reason:i}),e(i)},n}function dm(r){return Math.min(1e3*2**r,3e4)}function vd(r){return(r??"online")==="online"?xa.isOnline():!0}var wd=class extends Error{constructor(r){super("CancelledError"),this.revert=r?.revert,this.silent=r?.silent}};function Ga(r){return r instanceof wd}function Sd(r){let e=!1,n=0,s=!1,i;const a=cm(),o=g=>{s||(p(new wd(g)),r.abort?.())},l=()=>{e=!0},d=()=>{e=!1},c=()=>xd.isFocused()&&(r.networkMode==="always"||xa.isOnline())&&r.canRun(),u=()=>vd(r.networkMode)&&r.canRun(),h=g=>{s||(s=!0,r.onSuccess?.(g),i?.(),a.resolve(g))},p=g=>{s||(s=!0,r.onError?.(g),i?.(),a.reject(g))},m=()=>new Promise(g=>{i=v=>{(s||c())&&g(v)},r.onPause?.()}).then(()=>{i=void 0,s||r.onContinue?.()}),f=()=>{if(s)return;let g;const v=n===0?r.initialPromise:void 0;try{g=v??r.fn()}catch(j){g=Promise.reject(j)}Promise.resolve(g).then(h).catch(j=>{if(s)return;const x=r.retry??(Fa?0:3),w=r.retryDelay??dm,I=typeof w=="function"?w(n,j):w,R=x===!0||typeof x=="number"&&n<x||typeof x=="function"&&x(n,j);if(e||!R){p(j);return}n++,r.onFail?.(n,j),nm(I).then(()=>c()?void 0:m()).then(()=>{e?p(j):f()})})};return{promise:a,cancel:o,continue:()=>(i?.(),a),cancelRetry:l,continueRetry:d,canStart:u,start:()=>(u()?f():m().then(f),a)}}var um=r=>setTimeout(r,0);function hm(){let r=[],e=0,n=l=>{l()},s=l=>{l()},i=um;const a=l=>{e?r.push(l):i(()=>{n(l)})},o=()=>{const l=r;r=[],l.length&&i(()=>{s(()=>{l.forEach(d=>{n(d)})})})};return{batch:l=>{let d;e++;try{d=l()}finally{e--,e||o()}return d},batchCalls:l=>(...d)=>{a(()=>{l(...d)})},schedule:a,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{s=l},setScheduler:l=>{i=l}}}var Bt=hm(),ts,Hc,jd=(Hc=class{constructor(){ke(this,ts)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),em(this.gcTime)&&ue(this,ts,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(r){this.gcTime=Math.max(this.gcTime||0,r??(Fa?1/0:5*60*1e3))}clearGcTimeout(){C(this,ts)&&(clearTimeout(C(this,ts)),ue(this,ts,void 0))}},ts=new WeakMap,Hc),Rs,rs,ar,ns,At,_i,ss,xr,Jr,Vc,mm=(Vc=class extends jd{constructor(e){super();ke(this,xr);ke(this,Rs);ke(this,rs);ke(this,ar);ke(this,ns);ke(this,At);ke(this,_i);ke(this,ss);ue(this,ss,!1),ue(this,_i,e.defaultOptions),this.setOptions(e.options),this.observers=[],ue(this,ns,e.client),ue(this,ar,C(this,ns).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,ue(this,Rs,gm(this.options)),this.state=e.state??C(this,Rs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return C(this,At)?.promise}setOptions(e){this.options={...C(this,_i),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,ar).remove(this)}setData(e,n){const s=sm(this.state.data,e,this.options);return Ct(this,xr,Jr).call(this,{data:s,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),s}setState(e,n){Ct(this,xr,Jr).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){const n=C(this,At)?.promise;return C(this,At)?.cancel(e),n?n.then(yr).catch(yr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,Rs))}isActive(){return this.observers.some(e=>rm(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Go||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>bo(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!tm(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),C(this,At)?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),C(this,At)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),C(this,ar).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(C(this,At)&&(C(this,ss)?C(this,At).cancel({revert:!0}):C(this,At).cancelRetry()),this.scheduleGc()),C(this,ar).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ct(this,xr,Jr).call(this,{type:"invalidate"})}
33fetch(e,n){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(C(this,At))return C(this,At).continueRetry(),C(this,At).promise}if(e&&this.setOptions(e),!this.options.queryFn){const c=this.observers.find(u=>u.options.queryFn);c&&this.setOptions(c.options)}const s=new AbortController,i=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(ue(this,ss,!0),s.signal)})},a=()=>{const c=bd(this.options,n),h=(()=>{const p={client:C(this,ns),queryKey:this.queryKey,meta:this.meta};return i(p),p})();return ue(this,ss,!1),this.options.persister?this.options.persister(c,h,this):c(h)},l=(()=>{const c={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,ns),state:this.state,fetchFn:a};return i(c),c})();this.options.behavior?.onFetch(l,this),ue(this,rs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&Ct(this,xr,Jr).call(this,{type:"fetch",meta:l.fetchOptions?.meta});const d=c=>{Ga(c)&&c.silent||Ct(this,xr,Jr).call(this,{type:"error",error:c}),Ga(c)||(C(this,ar).config.onError?.(c,this),C(this,ar).config.onSettled?.(this.state.data,c,this)),this.scheduleGc()};return ue(this,At,Sd({initialPromise:n?.initialPromise,fn:l.fetchFn,abort:s.abort.bind(s),onSuccess:c=>{if(c===void 0){d(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(u){d(u);return}C(this,ar).config.onSuccess?.(c,this),C(this,ar).config.onSettled?.(c,this.state.error,this),this.scheduleGc()},onError:d,onFail:(c,u)=>{Ct(this,xr,Jr).call(this,{type:"failed",failureCount:c,error:u})},onPause:()=>{Ct(this,xr,Jr).call(this,{type:"pause"})},onContinue:()=>{Ct(this,xr,Jr).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),C(this,At).start()}},Rs=new WeakMap,rs=new WeakMap,ar=new WeakMap,ns=new WeakMap,At=new WeakMap,_i=new WeakMap,ss=new WeakMap,xr=new WeakSet,Jr=function(e){const n=s=>{switch(e.type){case"failed":return{...s,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...pm(s.data,this.options),fetchMeta:e.meta??null};case"success":return ue(this,rs,void 0),{...s,data:e.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=e.error;return Ga(i)&&i.revert&&C(this,rs)?{...C(this,rs),fetchStatus:"idle"}:{...s,error:i,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...e.state}}};this.state=n(this.state),Bt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),C(this,ar).notify({query:this,type:"updated",action:e})})},Vc);function pm(r,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:vd(e.networkMode)?"fetching":"paused",...r===void 0&&{error:null,status:"pending"}}}function gm(r){const e=typeof r.initialData=="function"?r.initialData():r.initialData,n=e!==void 0,s=n?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Nr,Gc,fm=(Gc=class extends Oa{constructor(e={}){super();ke(this,Nr);this.config=e,ue(this,Nr,new Map)}build(e,n,s){const i=n.queryKey,a=n.queryHash??Vo(i,n);let o=this.get(a);return o||(o=new mm({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(n),state:s,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){C(this,Nr).has(e.queryHash)||(C(this,Nr).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=C(this,Nr).get(e.queryHash);n&&(e.destroy(),n===e&&C(this,Nr).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Bt.batch(()=>
33{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return C(this,Nr).get(e)}getAll(){return[...C(this,Nr).values()]}find(e){const n={exact:!0,...e};return this.getAll().find(s=>gl(n,s))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(s=>gl(e,s)):n}notify(e){Bt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){Bt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Bt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Nr=new WeakMap,Gc),Rr,Ft,is,Or,xn,qc,ym=(qc=class extends jd{constructor(e){super();ke(this,Or);ke(this,Rr);ke(this,Ft);ke(this,is);this.mutationId=e.mutationId,ue(this,Ft,e.mutationCache),ue(this,Rr,[]),this.state=e.state||bm(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){C(this,Rr).includes(e)||(C(this,Rr).push(e),this.clearGcTimeout(),C(this,Ft).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){ue(this,Rr,C(this,Rr).filter(n=>n!==e)),this.scheduleGc(),C(this,Ft).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){C(this,Rr).length||(this.state.status==="pending"?this.scheduleGc():C(this,Ft).remove(this))}continue(){return C(this,is)?.continue()??this.execute(this.state.variables)}async execute(e){const n=()=>{Ct(this,Or,xn).call(this,{type:"continue"})};ue(this,is,Sd({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(a,o)=>{Ct(this,Or,xn).call(this,{type:"failed",failureCount:a,error:o})},onPause:()=>{Ct(this,Or,xn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,Ft).canRun(this)}));const s=this.state.status==="pending",i=!C(this,is).canStart();try{if(s)n();else{Ct(this,Or,xn).call(this,{type:"pending",variables:e,isPaused:i}),await C(this,Ft).config.onMutate?.(e,this);const o=await this.options.onMutate?.(e);o!==this.state.context&&Ct(this,Or,xn).call(this,{type:"pending",context:o,variables:e,isPaused:i})}const a=await C(this,is).start();return await C(this,Ft).config.onSuccess?.(a,e,this.state.context,this),await this.options.onSuccess?.(a,e,this.state.context),await C(this,Ft).config.onSettled?.(a,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(a,null,e,this.state.context),Ct(this,Or,xn).call(this,{type:"success",data:a}),a}catch(a){try{throw await C(this,Ft).config.onError?.(a,e,this.state.context,this),await this.options.onError?.(a,e,this.state.context),await C(this,Ft).config.onSettled?.(void 0,a,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,a,e,this.state.context),a}finally{Ct(this,Or,xn).call(this,{type:"error",error:a})}}finally{C(this,Ft).runNext(this)}}},Rr=new WeakMap,Ft=new WeakMap,is=new WeakMap,Or=new WeakSet,xn=function(e){const n=s=>{switch(e.type){case"failed":return{...s,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...s,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:e.error,failureCount:s.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Bt.batch(()=>{C(this,Rr).forEach(s=>{s.onMutationUpdate(e)}),C(this,Ft).notify({mutation:this,type:"updated",action:e})})},qc);function bm(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var en,vr,Ai,Kc,xm=(Kc=class extends Oa{constructor(e={}){super();ke(this,en);ke(this,vr);ke(this,Ai);this.config=e,ue(this,en,new Set),ue(this,vr,new Map),ue(this,Ai,0)}build(e,n,s){const i=new ym({mutationCache:this,mutationId:++Wi(this,Ai)._,options:e.defaultMutationOptions(n),state:s});return this.add(i),i}add(e){C(this,en).add(e);const n=Hi(e);if(typeof n=="string"){const s=C(this,vr).get(n);s?s.push(e):C(this,vr).set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(C(this,en).delete(e)){const n=Hi(e);if(typeof n=="string"){const s=C(this,vr).get(n);if(s)if(s.length>1){const i=s.indexOf(e);i!==-1&&s.splice(i,1)}else s[0]===e&&C(this,vr).delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=Hi(e);if(typeof n=="string"){const i=C(this,vr).get(n)?.find(a=>a.state.status==="pending");return!i||i===e}else return!0}runNext(e){const n=Hi(e);return typeof n=="string"?C(this,vr).get(n)?.find(i=>
33i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Bt.batch(()=>{C(this,en).forEach(e=>{this.notify({type:"removed",mutation:e})}),C(this,en).clear(),C(this,vr).clear()})}getAll(){return Array.from(C(this,en))}find(e){const n={exact:!0,...e};return this.getAll().find(s=>fl(n,s))}findAll(e={}){return this.getAll().filter(n=>fl(e,n))}notify(e){Bt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return Bt.batch(()=>Promise.all(e.map(n=>n.continue().catch(yr))))}},en=new WeakMap,vr=new WeakMap,Ai=new WeakMap,Kc);function Hi(r){return r.options.scope?.id}function xl(r){return{onFetch:(e,n)=>{const s=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,a=e.state.data?.pages||[],o=e.state.data?.pageParams||[];let l={pages:[],pageParams:[]},d=0;const c=async()=>{let u=!1;const h=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(e.signal.aborted?u=!0:e.signal.addEventListener("abort",()=>{u=!0}),e.signal)})},p=bd(e.options,e.fetchOptions),m=async(f,g,v)=>{if(u)return Promise.reject();if(g==null&&f.pages.length)return Promise.resolve(f);const x=(()=>{const L={client:e.client,queryKey:e.queryKey,pageParam:g,direction:v?"backward":"forward",meta:e.options.meta};return h(L),L})(),w=await p(x),{maxPages:I}=e.options,R=v?am:im;return{pages:R(f.pages,w,I),pageParams:R(f.pageParams,g,I)}};if(i&&a.length){const f=i==="backward",g=f?vm:vl,v={pages:a,pageParams:o},j=g(s,v);l=await m(v,j,f)}else{const f=r??a.length;do{const g=d===0?o[0]??s.initialPageParam:vl(s,l);if(d>0&&g==null)break;l=await m(l,g),d++}while(d<f)}return l};e.options.persister?e.fetchFn=()=>e.options.persister?.(c,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=c}}}function vl(r,{pages:e,pageParams:n}){const s=e.length-1;return e.length>0?r.getNextPageParam(e[s],e,n[s],n):void 0}function vm(r,{pages:e,pageParams:n}){return e.length>0?r.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Qe,Cn,In,Os,Fs,_n,Ps,Bs,Yc,wm=(Yc=class{constructor(r={}){ke(this,Qe);ke(this,Cn);ke(this,In);ke(this,Os);ke(this,Fs);ke(this,_n);ke(this,Ps);ke(this,Bs);ue(this,Qe,r.queryCache||new fm),ue(this,Cn,r.mutationCache||new xm),ue(this,In,r.defaultOptions||{}),ue(this,Os,new Map),ue(this,Fs,new Map),ue(this,_n,0)}mount(){Wi(this,_n)._++,C(this,_n)===1&&(ue(this,Ps,xd.subscribe(async r=>{r&&(await this.resumePausedMutations(),C(this,Qe).onFocus())})),ue(this,Bs,xa.subscribe(async r=>{r&&(await this.resumePausedMutations(),C(this,Qe).onOnline())})))}unmount(){var r,e;Wi(this,_n)._--,C(this,_n)===0&&((r=C(this,Ps))==null||r.call(this),ue(this,Ps,void 0),(e=C(this,Bs))==null||e.call(this),ue(this,Bs,void 0))}isFetching(r){return C(this,Qe).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return C(this,Cn).findAll({...r,status:"pending"}).length}getQueryData(r){const e=this.defaultQueryOptions({queryKey:r});return C(this,Qe).get(e.queryHash)?.state.data}ensureQueryData(r){const e=this.defaultQueryOptions(r),n=C(this,Qe).build(this,e),s=n.state.data;return s===void 0?this.fetchQuery(r):(r.revalidateIfStale&&n.isStaleByTime(bo(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(s))}getQueriesData(r){return C(this,Qe).findAll(r).map(({queryKey:e,state:n})=>{const s=n.data;return[e,s]})}setQueryData(r,e,n){const s=this.defaultQueryOptions({queryKey:r}),a=C(this,Qe).get(s.queryHash)?.state.data,o=Qh(e,a);if(o!==void 0)return C(this,Qe).build(this,s).setData(o,{...n,manual:!0})}setQueriesData(r,e,n){return Bt.batch(()=>C(this,Qe).findAll(r).map(({queryKey:s})=>[s,this.setQueryData(s,e,n)]))}getQueryState(r){const e=this.defaultQueryOptions({queryKey:r});return C(this,Qe).get(e.queryHash)?.state}removeQueries(r){const e=C(this,Qe);Bt.batch(()=>{e.findAll(r).forEach(n=>{e.remove(n)})})}resetQueries(r,e){const n=C(this,Qe);return Bt.batch(()=>(n.findAll(r).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...r},e)))}cancelQueries(r,e={}){const n={revert:!0,...e},s=Bt.batch(()=>C(this,Qe).findAll(r).map(i=>i.cancel(n)));return Promise.all(s).then(yr).catch(yr)}invalidateQueries(r,e={}){return Bt.batch(()=>(C(this,Qe).findAll(r).forEach(n=>
33{n.invalidate()}),r?.refetchType==="none"?Promise.resolve():this.refetchQueries({...r,type:r?.refetchType??r?.type??"active"},e)))}refetchQueries(r,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},s=Bt.batch(()=>C(this,Qe).findAll(r).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let a=i.fetch(void 0,n);return n.throwOnError||(a=a.catch(yr)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(s).then(yr)}fetchQuery(r){const e=this.defaultQueryOptions(r);e.retry===void 0&&(e.retry=!1);const n=C(this,Qe).build(this,e);return n.isStaleByTime(bo(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(yr).catch(yr)}fetchInfiniteQuery(r){return r.behavior=xl(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(yr).catch(yr)}ensureInfiniteQueryData(r){return r.behavior=xl(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return xa.isOnline()?C(this,Cn).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Qe)}getMutationCache(){return C(this,Cn)}getDefaultOptions(){return C(this,In)}setDefaultOptions(r){ue(this,In,r)}setQueryDefaults(r,e){C(this,Os).set(yi(r),{queryKey:r,defaultOptions:e})}getQueryDefaults(r){const e=[...C(this,Os).values()],n={};return e.forEach(s=>{bi(r,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(r,e){C(this,Fs).set(yi(r),{mutationKey:r,defaultOptions:e})}getMutationDefaults(r){const e=[...C(this,Fs).values()],n={};return e.forEach(s=>{bi(r,s.mutationKey)&&Object.assign(n,s.defaultOptions)}),n}defaultQueryOptions(r){if(r._defaulted)return r;const e={...C(this,In).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return e.queryHash||(e.queryHash=Vo(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Go&&(e.enabled=!1),e}defaultMutationOptions(r){return r?._defaulted?r:{...C(this,In).mutations,...r?.mutationKey&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){C(this,Qe).clear(),C(this,Cn).clear()}},Qe=new WeakMap,Cn=new WeakMap,In=new WeakMap,Os=new WeakMap,Fs=new WeakMap,_n=new WeakMap,Ps=new WeakMap,Bs=new WeakMap,Yc),Sm=y.createContext(void 0),jm=({client:r,children:e})=>(y.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),t.jsx(Sm.Provider,{value:r,children:e}));const wl=()=>typeof window<"u"?window.innerWidth:1024,nn=()=>{const[r,e]=y.useState(()=>wl()<768),[n,s]=y.useState(()=>{const i=wl();return i>=768&&i<1024});return y.useEffect(()=>{const i=()=>{const a=window.innerWidth;e(a<768),s(a>=768&&a<1024)};return window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),{isMobile:r,isTablet:n,isDesktop:!r&&!n}},km=[{id:"explore-all",title:"City Explorer",description:"Visit all sections of the cyber-city",completed:!1,progress:0,maxProgress:4},{id:"change-avatar",title:"Identity Shift",description:"Customize your avatar appearance",completed:!1,progress:0,maxProgress:1},{id:"play-music",title:"Cyber Beats",description:"Play a track in the music player",completed:!1,progress:0,maxProgress:1}],An=pu(r=>({playerPosition:[0,.5,0],playerRotation:3.14,selectedAvatar:0,cameraAngle:0,cameraElevation:.1,cameraDistance:5,quests:km,currentTrack:0,isPlaying:!1,volume:.5,showQuestPanel:!1,showAvatarMenu:!1,showMusicPlayer:!1,showSettings:!1,mobileMenuOpen:!1,mouseClickRotation:!1,visitedSections:new Set,isLoaded:!1,threeJsReady:!1,experienceStarted:!1,worldIsActive:!0,memoryPressure:"normal",setPlayerPosition:e=>r({playerPosition:e}),setPlayerRotation:e=>r({playerRotation:e}),setSelectedAvatar:e=>{r({selectedAvatar:e}),r(n=>({quests:n.quests.map(s=>s.id==="change-avatar"?{...s,progress:1,completed:!0}:s)}))},setCameraAngle:e=>r({cameraAngle:e}),setCameraElevation:e=>r({cameraElevation:Math.max(.1,Math.min(Math.PI/2-.1,e))}),setCameraDistance:e=>r({cameraDistance:Math.max(5,Math.min(8,e))}),updateQuest:(e,n)=>r(s=>({quests:s.quests.map(i=>i.id===e?{...i,...n}:i)})),completeQuest:e=>r(n=>({quests:n.quests.map(s=>s.id===e?{...s,completed:!0,progress:s.maxProgress}:s)})),setCurrentTrack:e=>{r({currentTrack:e}),r(n=>({quests:n.quests.map(s=>s.id==="play-music"?{...s,progress:1,completed:!0}:s)}))},togglePlaying:()=>r(e=>({isPlaying:!e.isPlaying})),setVolume:e=>r({volume:e}),toggleQuestPanel:()=>r(e=>({showQuestPanel:!e.showQuestPanel})),toggleAvatarMenu:()=>r(e=>({showAvatarMenu:!e.showAvatarMenu})),toggleMusicPlayer:()=>r(e=>({showMusicPlayer:!e.showMusicPlayer})),toggleSettings:()=>r(e=>({showSettings:!e.showSettings})),setMouseClickRotation:e=>r({mouseClickRotation:e}),setMobileMenuOpen:e=>r({mobileMenuOpen:e}),visitSection:e=>r(n=>{const s=new Set(n.visitedSections);return s.has(e)?{visitedSections:s}:(s.add(e),{visitedSections:s,quests:n.quests.map(i=>i.id==="explore-all"?{...i,progress:s.size,completed:s.size>=i.maxProgress}:i)})}),setIsLoaded:e=>r({isLoaded:e}),setThreeJsReady:e=>r({threeJsReady:e}),setExperienceStarted:e=>r({experienceStarted:e}),setWorldIsActive:e=>r({worldIsActive:e}),setMemoryPressure:e=>r({memoryPressure:e})}));typeof window<"u"&&(window.getCurrentPosition=()=>{const r=An.getState();return{playerPosition:r.playerPosition,playerRotation:r.playerRotation,cameraAngle:r.cameraAngle,cameraElevation:r.cameraElevation,cameraDistance:r.cameraDistance}},window.gameStore={getState:An.getState,setState:An.setState,subscribe:An.subscribe});const Tm=r=>r?(...e)=>r(...e):(...e)=>fetch(...e);
33class qo extends Error{constructor(e,n="FunctionsError",s){super(e),this.name=n,this.context=s}}class Em extends qo{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class Sl extends qo{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class jl extends qo{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}var vo;(function(r){r.Any="any",r.ApNortheast1="ap-northeast-1",r.ApNortheast2="ap-northeast-2",r.ApSouth1="ap-south-1",r.ApSoutheast1="ap-southeast-1",r.ApSoutheast2="ap-southeast-2",r.CaCentral1="ca-central-1",r.EuCentral1="eu-central-1",r.EuWest1="eu-west-1",r.EuWest2="eu-west-2",r.EuWest3="eu-west-3",r.SaEast1="sa-east-1",r.UsEast1="us-east-1",r.UsWest1="us-west-1",r.UsWest2="us-west-2"})(vo||(vo={}));class Cm{constructor(e,{headers:n={},customFetch:s,region:i=vo.Any}={}){this.url=e,this.headers=n,this.region=i,this.fetch=Tm(s)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e){return ku(this,arguments,void 0,function*(n,s={}){var i;let a,o;try{const{headers:l,method:d,body:c,signal:u,timeout:h}=s;let p={},{region:m}=s;m||(m=this.region);const f=new URL(`${this.url}/${n}`);m&&m!=="any"&&(p["x-region"]=m,f.searchParams.set("forceFunctionRegion",m));let g;c&&(l&&!Object.prototype.hasOwnProperty.call(l,"Content-Type")||!l)?typeof Blob<"u"&&c instanceof Blob||c instanceof ArrayBuffer?(p["Content-Type"]="application/octet-stream",g=c):typeof c=="string"?(p["Content-Type"]="text/plain",g=c):typeof FormData<"u"&&c instanceof FormData?g=c:(p["Content-Type"]="application/json",g=JSON.stringify(c)):c&&typeof c!="string"&&!(typeof Blob<"u"&&c instanceof Blob)&&!(c instanceof ArrayBuffer)&&!(typeof FormData<"u"&&c instanceof FormData)?g=JSON.stringify(c):g=c;let v=u;h&&(o=new AbortController,a=setTimeout(()=>o.abort(),h),u?(v=o.signal,u.addEventListener("abort",()=>o.abort())):v=o.signal);const j=yield this.fetch(f.toString(),{method:d||"POST",headers:Object.assign(Object.assign(Object.assign({},p),this.headers),l),body:g,signal:v}).catch(R=>{throw new Em(R)}),x=j.headers.get("x-relay-error");if(x&&x==="true")throw new Sl(j);if(!j.ok)throw new jl(j);let w=((i=j.headers.get("Content-Type"))!==null&&i!==void 0?i:"text/plain").split(";")[0].trim(),I;return w==="application/json"?I=yield j.json():w==="application/octet-stream"||w==="application/pdf"?I=yield j.blob():w==="text/event-stream"?I=j:w==="multipart/form-data"?I=yield j.formData():I=yield j.text(),{data:I,error:null,response:j}}catch(l){return{data:null,error:l,response:l instanceof jl||l instanceof Sl?l.context:void 0}}finally{a&&clearTimeout(a)}})}}var Im=class extends Error{constructor(r){super(r.message),this.name="PostgrestError",this.details=r.details,this.hint=r.hint,this.co
33de=r.code}},_m=class{constructor(r){var e,n,s;this.shouldThrowOnError=!1,this.method=r.method,this.url=r.url,this.headers=new Headers(r.headers),this.schema=r.schema,this.body=r.body,this.shouldThrowOnError=(e=r.shouldThrowOnError)!==null&&e!==void 0?e:!1,this.signal=r.signal,this.isMaybeSingle=(n=r.isMaybeSingle)!==null&&n!==void 0?n:!1,this.urlLengthLimit=(s=r.urlLengthLimit)!==null&&s!==void 0?s:8e3,r.fetch?this.fetch=r.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(r,e){return this.headers=new Headers(this.headers),this.headers.set(r,e),this}then(r,e){var n=this;this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const s=this.fetch;let i=s(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async a=>{let o=null,l=null,d=null,c=a.status,u=a.statusText;if(a.ok){var h,p;if(n.method!=="HEAD"){var m;const j=await a.text();j===""||(n.headers.get("Accept")==="text/csv"||n.headers.get("Accept")&&(!((m=n.headers.get("Accept"))===null||m===void 0)&&m.includes("application/vnd.pgrst.plan+text"))?l=j:l=JSON.parse(j))}const g=(h=n.headers.get("Prefer"))===null||h===void 0?void 0:h.match(/count=(exact|planned|estimated)/),v=(p=a.headers.get("content-range"))===null||p===void 0?void 0:p.split("/");g&&v&&v.length>1&&(d=parseInt(v[1])),n.isMaybeSingle&&n.method==="GET"&&Array.isArray(l)&&(l.length>1?(o={code:"PGRST116",details:`Results contain ${l.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},l=null,d=null,c=406,u="Not Acceptable"):l.length===1?l=l[0]:l=null)}else{var f;const g=await a.text();try{o=JSON.parse(g),Array.isArray(o)&&a.status===404&&(l=[],o=null,c=200,u="OK")}catch{a.status===404&&g===""?(c=204,u="No Content"):o={message:g}}if(o&&n.isMaybeSingle&&(!(o==null||(f=o.details)===null||f===void 0)&&f.includes("0 rows"))&&(o=null,c=200,u="OK"),o&&n.shouldThrowOnError)throw new Im(o)}return{error:o,data:l,count:d,status:c,statusText:u}});return this.shouldThrowOnError||(i=i.catch(a=>{var o;let l="",d="",c="";const u=a?.cause;if(u){var h,p,m,f;const j=(h=u?.message)!==null&&h!==void 0?h:"",x=(p=u?.code)!==null&&p!==void 0?p:"";l=`${(m=a?.name)!==null&&m!==void 0?m:"FetchError"}: ${a?.message}`,l+=` 34 35Caused by: ${(f=u?.name)!==null&&f!==void 0?f:"Error"}: ${j}`,x&&(l+=` (${x})`),u?.stack&&(l+=` 36${u.stack}`)}else{var g;l=(g=a?.stack)!==null&&g!==void 0?g:""}const v=this.url.toString().length;return a?.name==="AbortError"||a?.code==="ABORT_ERR"?(c="",d="Request was aborted (timeout or manual cancellation)",v>this.urlLengthLimit&&(d+=`. Note: Your request URL is ${v} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):(u?.name==="HeadersOverflowError"||u?.code==="UND_ERR_HEADERS_OVERFLOW")&&(c="",d="HTTP headers exceeded server limits (typically 16KB)",v>this.urlLengthLimit&&(d+=`. Your request URL is ${v} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{error:{message:`${(o=a?.name)!==null&&o!==void 0?o:"FetchError"}: ${a?.message}`,details:l,hint:d,code:c},data:null,count:null,status:0,statusText:""}})),i.then(r,e)}returns(){return this}overrideTypes(){return this}},Am=class extends _m{select(r){let e=!1;const n=(r??"*").split("").map(s=>/\s/.test(s)&&!e?"":(s==='"'&&(e=!e),s)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(r,{ascending:e=!0,nullsFirst:n,foreignTable:s,referencedTable:i=s}={}){const a=i?`${i}.order`:"order",o=this.url.searchParams.get(a);return this.url.searchParams.set(a,`${o?`${o},`:""}${r}.${e?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(r,{foreignTable:e,referencedTable:n=e}={}){const s=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(s,`${r}`),this}range(r,e,{foreignTable:n,referencedTable:s=n}={}){const i=typeof s>"u"?"offset":`${s}.offset`,a=typeof s>"u"?"limit":`${s}.limit`;return this.url.searchParams.set(i,`${r}`),this.url.searchParams.set(a,`${e-r+1}`),this}abortSignal(r){return this.signal=r,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
36explain({analyze:r=!1,verbose:e=!1,settings:n=!1,buffers:s=!1,wal:i=!1,format:a="text"}={}){var o;const l=[r?"analyze":null,e?"verbose":null,n?"settings":null,s?"buffers":null,i?"wal":null].filter(Boolean).join("|"),d=(o=this.headers.get("Accept"))!==null&&o!==void 0?o:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${a}; for="${d}"; options=${l};`),a==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(r){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${r}`),this}};const kl=new RegExp("[,()]");var ws=class extends Am{eq(r,e){return this.url.searchParams.append(r,`eq.${e}`),this}neq(r,e){return this.url.searchParams.append(r,`neq.${e}`),this}gt(r,e){return this.url.searchParams.append(r,`gt.${e}`),this}gte(r,e){return this.url.searchParams.append(r,`gte.${e}`),this}lt(r,e){return this.url.searchParams.append(r,`lt.${e}`),this}lte(r,e){return this.url.searchParams.append(r,`lte.${e}`),this}like(r,e){return this.url.searchParams.append(r,`like.${e}`),this}likeAllOf(r,e){return this.url.searchParams.append(r,`like(all).{${e.join(",")}}`),this}likeAnyOf(r,e){return this.url.searchParams.append(r,`like(any).{${e.join(",")}}`),this}ilike(r,e){return this.url.searchParams.append(r,`ilike.${e}`),this}ilikeAllOf(r,e){return this.url.searchParams.append(r,`ilike(all).{${e.join(",")}}`),this}ilikeAnyOf(r,e){return this.url.searchParams.append(r,`ilike(any).{${e.join(",")}}`),this}regexMatch(r,e){return this.url.searchParams.append(r,`match.${e}`),this}regexIMatch(r,e){return this.url.searchParams.append(r,`imatch.${e}`),this}is(r,e){return this.url.searchParams.append(r,`is.${e}`),this}isDistinct(r,e){return this.url.searchParams.append(r,`isdistinct.${e}`),this}in(r,e){const n=Array.from(new Set(e)).map(s=>typeof s=="string"&&kl.test(s)?`"${s}"`:`${s}`).join(",");return this.url.searchParams.append(r,`in.(${n})`),this}notIn(r,e){const n=Array.from(new Set(e)).map(s=>typeof s=="string"&&kl.test(s)?`"${s}"`:`${s}`).join(",");return this.url.searchParams.append(r,`not.in.(${n})`),this}contains(r,e){return typeof e=="string"?this.url.searchParams.append(r,`cs.${e}`):Array.isArray(e)?this.url.searchParams.append(r,`cs.{${e.join(",")}}`):this.url.searchParams.append(r,`cs.${JSON.stringify(e)}`),this}containedBy(r,e){return typeof e=="string"?this.url.searchParams.append(r,`cd.${e}`):Array.isArray(e)?this.url.searchParams.append(r,`cd.{${e.join(",")}}`):this.url.searchParams.append(r,`cd.${JSON.stringify(e)}`),this}rangeGt(r,e){return this.url.searchParams.append(r,`sr.${e}`),this}rangeGte(r,e){return this.url.searchParams.append(r,`nxl.${e}`),this}rangeLt(r,e){return this.url.searchParams.append(r,`sl.${e}`),this}rangeLte(r,e){return this.url.searchParams.append(r,`nxr.${e}`),this}rangeAdjacent(r,e){return this.url.searchParams.append(r,`adj.${e}`),this}overlaps(r,e){return typeof e=="string"?this.url.searchParams.append(r,`ov.${e}`):this.url.searchParams.append(r,`ov.{${e.join(",")}}`),this}textSearch(r,e,{config:n,type:s}={}){let i="";s==="plain"?i="pl":s==="phrase"?i="ph":s==="websearch"&&(i="w");const a=n===void 0?"":`(${n})`;return this.url.searchParams.append(r,`${i}fts${a}.${e}`),this}match(r){return Object.entries(r).forEach(([e,n])=>{this.url.searchParams.append(e,`eq.${n}`)}),this}not(r,e,n){return this.url.searchParams.append(r,`not.${e}.${n}`),this}or(r,{foreignTable:e,referencedTable:n=e}={}){const s=n?`${n}.or`:"or";return this.url.searchParams.append(s,`(${r})`),this}filter(r,e,n){return this.url.searchParams.append(r,`${e}.${n}`),this}},Nm=class{constructor(r,{headers:e={},schema:n,fetch:s,urlLengthLimit:i=8e3}){this.url=r,this.headers=new Headers(e),this.schema=n,this.fetch=s,this.urlLengthLimit=i}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(r,e){const{head:n=!1,count:s}=e??{},i=n?"HEAD":"GET";let a=!1;const o=(r??"*").split("").map(c=>/\s/.test(c)&&!a?"":(c==='"'&&(a=!a),c)).join(""),{url:l,headers:d}=this.cloneRequestState();return l.searchParams.set("select",o),s&&d.append("Prefer",`count=${s}`),new ws({method:i,url:l,headers:d,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}insert(r,{count:e,defaultToNull:n=!0}={}){var s;const i="POST",{url:a,headers:o}=this.cloneRequestState();if(e&&o.append("Prefer",`count=${e}`),n||o.append("Prefer","missing=default"),Array.isArray(r)){const l=r.reduce((d,c)=>d.concat(Object.keys(c)),[]);if(l.length>0){const d=[...new Set(l)].map(c=>`"${c}"`);a.searchParams.set("columns",d.join(","))}}return new ws({method:i,url:a,headers:o,schema:this.schema,body:r,fetch:(s=this.fetch)!==null&&s!==void 0?s:fetch,urlLengthLimit:this.urlLengthLimit})}upsert(r,{onConflict:e,ignoreDuplicates:n=!1,count:s,defaultToNull:i=!0}={}){var a;const o="POST",{url:l,headers:d}=this.cloneRequestState();if(d.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),e!==void 0&&l.searchParams.set("on_conflict",e),s&&d.append("Prefer",`count=${s}`),i||d.append("Prefer","missing=default"),Array.isArray(r)){const c=r.reduce((u,h)=>u.concat(Object.keys(h)),[]);if(c.length>0){const u=[...new Set(c)].map(h=>`"${h}"`);l.searchParams.set("columns",u.join(","))}}return new ws({method:o,url:l,headers:d,schema:this.schema,body:r,fetch:(a=this.fetch)!==null&&a!==void 0?a:fetch,urlLengthLimit:this.urlLengthLimit})}update(r,{count:e}={}){var n;const s="PATCH",{url:i,headers:a}=this.cloneRequestState();return e&&a.append("Prefer",`count=${e}`),new ws({method:s,url:i,headers:a,schema:this.schema,body:r,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit})}delete({count:r}={}){var e;const n="DELETE",{url:s,headers:i}=this.cloneRequestState();return r&&i.append("Prefer",`count=${r}`),new ws({method:n,url:s,headers:i,schema:this.schema,fetch:(e=this.fetch)!==null&&e!==void 0?e:fetch,urlLengthLimit:this.urlLengthLimit})}};function xi(r){"@babel/helpers - typeof";return xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xi(r)}function Rm(r,e){if(xi(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var s=n.call(r,e||"default");if(xi(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}
36function Om(r){var e=Rm(r,"string");return xi(e)=="symbol"?e:e+""}function Fm(r,e,n){return(e=Om(e))in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Tl(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);e&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),n.push.apply(n,s)}return n}function Vi(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Tl(Object(n),!0).forEach(function(s){Fm(r,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Tl(Object(n)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))})}return r}var Pm=class kd{constructor(e,{headers:n={},schema:s,fetch:i,timeout:a,urlLengthLimit:o=8e3}={}){this.url=e,this.headers=new Headers(n),this.schemaName=s,this.urlLengthLimit=o;const l=i??globalThis.fetch;a!==void 0&&a>0?this.fetch=(d,c)=>{const u=new AbortController,h=setTimeout(()=>u.abort(),a),p=c?.signal;if(p){if(p.aborted)return clearTimeout(h),l(d,c);const m=()=>{clearTimeout(h),u.abort()};return p.addEventListener("abort",m,{once:!0}),l(d,Vi(Vi({},c),{},{signal:u.signal})).finally(()=>{clearTimeout(h),p.removeEventListener("abort",m)})}return l(d,Vi(Vi({},c),{},{signal:u.signal})).finally(()=>clearTimeout(h))}:this.fetch=l}from(e){if(!e||typeof e!="string"||e.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new Nm(new URL(`${this.url}/${e}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}schema(e){return new kd(this.url,{headers:this.headers,schema:e,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}rpc(e,n={},{head:s=!1,get:i=!1,count:a}={}){var o;let l;const d=new URL(`${this.url}/rpc/${e}`);let c;const u=m=>m!==null&&typeof m=="object"&&(!Array.isArray(m)||m.some(u)),h=s&&Object.values(n).some(u);h?(l="POST",c=n):s||i?(l=s?"HEAD":"GET",Object.entries(n).filter(([m,f])=>f!==void 0).map(([m,f])=>[m,Array.isArray(f)?`{${f.join(",")}}`:`${f}`]).forEach(([m,f])=>{d.searchParams.append(m,f)})):(l="POST",c=n);const p=new Headers(this.headers);return h?p.set("Prefer",a?`count=${a},return=minimal`:"return=minimal"):a&&p.set("Prefer",`count=${a}`),new ws({method:l,url:d,headers:p,schema:this.schemaName,body:c,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch,urlLengthLimit:this.urlLengthLimit})}};class Bm{constructor(){}static detectEnvironment(){var e;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((e=navigator.userAgent)===null||e===void 0)&&e.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const n=globalThis.process;if(n){const s=n.versions;if(s&&s.node){const i=s.node,a=parseInt(i.replace(/^v/,"").split(".")[0]);return a>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${a} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${a} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: 37import ws from "ws" 38new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const e=this.detectEnvironment();if(e.constructor)return e.constructor;let n=e.error||"WebSocket not supported in this environment.";throw e.workaround&&(n+=` 39 40Suggested solution: ${e.workaround}`),new Error(n)}static createWebSocket(e,n){const s=this.getWebSocketConstructor();return new s(e,n)}static isWebSocketSupported(){try{const e=this.detectEnvironment();return e.type==="native"||e.type==="ws"}catch{return!1}}}const $m="2.98.0",Lm=`realtime-js/${$m}`,zm="1.0.0",Td="2.0.0",El=Td,wo=1e4,Dm=1e3,Mm=100;var vn;(function(r){r[r.connecting=0]="connecting",r[r.open=1]="open",r[r.closing=2]="closing",r[r.closed=3]="closed"})(vn||(vn={}));var ft;(function(r){r.closed="closed",r.errored="errored",r.joined="joined",r.joining="joining",r.leaving="leaving"})(ft||(ft={}));var wr;(function(r){r.close="phx_close",r.error="phx_error",r.join="phx_join",r.reply="phx_reply",r.leave="phx_leave",r.access_token="access_token"})(wr||(wr={}));var So;(function(r){r.websocket="websocket"})(So||(So={}));var Kn;(function(r){r.Connecting="connecting",r.Open="open",r.Closing="closing",r.Closed="closed"})(Kn||(Kn={}));class Wm{constructor(e){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=e??[]}encode(e,n){if(e.event===this.BROADCAST_EVENT&&!(e.payload instanceof ArrayBuffer)&&typeof e.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(e));let s=[e.join_ref,e.ref,e.topic,e.event,e.payload];return n(JSON.stringify(s))}_binaryEncodeUserBroadcastPush(e){var n;return this._isArrayBuffer((n=e.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(e):this._encodeJsonUserBroadcastPush(e)}_encodeBinaryUserBroadcastPush(e){var n,s;const i=(s=(n=e.payload)===null||n===void 0?void 0:n.payload)!==null&&s!==void 0?s:new ArrayBuffer(0);return this._encodeUserBroadcastPush(e,this.BINARY_ENCODING,i)}_encodeJsonUserBroadcastPush(e){var n,s;const i=(s=(n=e.payload)===null||n===void 0?void 0:n.payload)!==null&&s!==void 0?s:{},o=new TextEncoder().encode(JSON.stringify(i)).buffer;return this._encodeUserBroadcastPush(e,this.JSON_ENCODING,o)}_encodeUserBroadcastPush(e,n,s){var i,a;const o=e.topic,l=(i=e.ref)!==null&&i!==void 0?i:"",d=(a=e.join_ref)!==null&&a!==void 0?a:"",c=e.payload.event,u=this.allowedMetadataKeys?this._pick(e.payload,this.allowedMetadataKeys):{},h=Object.keys(u).length===0?"":JSON.stringify(u);if(d.length>255)throw new Error(`joinRef length ${d.length} exceeds maximum of 255`);if(l.length>255)throw new Error(`ref length ${l.length} exceeds maximum of 255`);if(o.length>255)throw new Error(`topic length ${o.length} exceeds maximum of 255`);if(c.length>255)throw new Error(`userEvent length ${c.length} exceeds maximum of 255`);if(h.length>255)throw new Error(`metadata length ${h.length} exceeds maximum of 255`);const p=this.USER_BROADCAST_PUSH_META_LENGTH+d.length+l.length+o.length+c.length+h.length,m=new ArrayBuffer(this.HEADER_LENGTH+p);let f=new DataView(m),g=0;f.setUint8(g++,this.KINDS.userBroadcastPush),f.setUint8(g++,d.length),f.setUint8(g++,l.length),f.setUint8(g++,o.length),f.setUint8(g++,c.length),f.setUint8(g++,h.length),f.setUint8(g++,n),Array.from(d,j=>
40f.setUint8(g++,j.charCodeAt(0))),Array.from(l,j=>f.setUint8(g++,j.charCodeAt(0))),Array.from(o,j=>f.setUint8(g++,j.charCodeAt(0))),Array.from(c,j=>f.setUint8(g++,j.charCodeAt(0))),Array.from(h,j=>f.setUint8(g++,j.charCodeAt(0)));var v=new Uint8Array(m.byteLength+s.byteLength);return v.set(new Uint8Array(m),0),v.set(new Uint8Array(s),m.byteLength),v.buffer}decode(e,n){if(this._isArrayBuffer(e)){let s=this._binaryDecode(e);return n(s)}if(typeof e=="string"){const s=JSON.parse(e),[i,a,o,l,d]=s;return n({join_ref:i,ref:a,topic:o,event:l,payload:d})}return n({})}_binaryDecode(e){const n=new DataView(e),s=n.getUint8(0),i=new TextDecoder;switch(s){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(e,n,i)}}_decodeUserBroadcast(e,n,s){const i=n.getUint8(1),a=n.getUint8(2),o=n.getUint8(3),l=n.getUint8(4);let d=this.HEADER_LENGTH+4;const c=s.decode(e.slice(d,d+i));d=d+i;const u=s.decode(e.slice(d,d+a));d=d+a;const h=s.decode(e.slice(d,d+o));d=d+o;const p=e.slice(d,e.byteLength),m=l===this.JSON_ENCODING?JSON.parse(s.decode(p)):p,f={type:this.BROADCAST_EVENT,event:u,payload:m};return o>0&&(f.meta=JSON.parse(h)),{join_ref:null,ref:null,topic:c,event:this.BROADCAST_EVENT,payload:f}}_isArrayBuffer(e){var n;return e instanceof ArrayBuffer||((n=e?.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(e,n){return!e||typeof e!="object"?{}:Object.fromEntries(Object.entries(e).filter(([s])=>n.includes(s)))}}class Ed{constructor(e,n){this.callback=e,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var Ue;(function(r){r.abstime="abstime",r.bool="bool",r.date="date",r.daterange="daterange",r.float4="float4",r.float8="float8",r.int2="int2",r.int4="int4",r.int4range="int4range",r.int8="int8",r.int8range="int8range",r.json="json",r.jsonb="jsonb",r.money="money",r.numeric="numeric",r.oid="oid",r.reltime="reltime",r.text="text",r.time="time",r.timestamp="timestamp",r.timestamptz="timestamptz",r.timetz="timetz",r.tsrange="tsrange",r.tstzrange="tstzrange"})(Ue||(Ue={}));const Cl=(r,e,n={})=>{var s;const i=(s=n.skipTypes)!==null&&s!==void 0?s:[];return e?Object.keys(e).reduce((a,o)=>(a[o]=Um(o,r,e,i),a),{}):{}},Um=(r,e,n,s)=>{const i=e.find(l=>
40l.name===r),a=i?.type,o=n[r];return a&&!s.includes(a)?Cd(a,o):jo(o)},Cd=(r,e)=>{if(r.charAt(0)==="_"){const n=r.slice(1,r.length);return qm(e,n)}switch(r){case Ue.bool:return Hm(e);case Ue.float4:case Ue.float8:case Ue.int2:case Ue.int4:case Ue.int8:case Ue.numeric:case Ue.oid:return Vm(e);case Ue.json:case Ue.jsonb:return Gm(e);case Ue.timestamp:return Km(e);case Ue.abstime:case Ue.date:case Ue.daterange:case Ue.int4range:case Ue.int8range:case Ue.money:case Ue.reltime:case Ue.text:case Ue.time:case Ue.timestamptz:case Ue.timetz:case Ue.tsrange:case Ue.tstzrange:return jo(e);default:return jo(e)}},jo=r=>r,Hm=r=>{switch(r){case"t":return!0;case"f":return!1;default:return r}},Vm=r=>{if(typeof r=="string"){const e=parseFloat(r);if(!Number.isNaN(e))return e}return r},Gm=r=>{if(typeof r=="string")try{return JSON.parse(r)}catch{return r}return r},qm=(r,e)=>{if(typeof r!="string")return r;const n=r.length-1,s=r[n];if(r[0]==="{"&&s==="}"){let a;const o=r.slice(1,n);try{a=JSON.parse("["+o+"]")}catch{a=o?o.split(","):[]}return a.map(l=>Cd(e,l))}return r},Km=r=>typeof r=="string"?r.replace(" ","T"):r,Id=r=>{const e=new URL(r);return e.protocol=e.protocol.replace(/^ws/i,"http"),e.pathname=e.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),e.pathname===""||e.pathname==="/"?e.pathname="/api/broadcast":e.pathname=e.pathname+"/api/broadcast",e.href};class qa{constructor(e,n,s={},i=wo){this.channel=e,this.event=n,this.payload=s,this.timeout=i,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,n){var s;return this._hasReceived(e)&&n((s=this.receivedResp)===null||s===void 0?void 0:s.response),this.recHooks.push({status:e,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const e=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},e),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(e,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:e,response:n}){this.recHooks.filter(s=>s.status===e).forEach(s=>s.callback(n))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}var Il;(function(r){r.SYNC="sync",r.JOIN="join",r.LEAVE="leave"})(Il||(Il={}));class li{constructor(e,n){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const s=n?.events||{state:"presence_state",diff:"presence_diff"};this.channel._on(s.state,{},i=>{const{onJoin:a,onLeave:o,onSync:l}=this.caller;this.joinRef=this.channel._joinRef(),this.state=li.syncState(this.state,i,a,o),this.pendingDiffs.forEach(d=>{this.state=li.syncDiff(this.state,d,a,o)}),this.pendingDiffs=[],l()}),this.channel._on(s.diff,{},i=>{const{onJoin:a,onLeave:o,onSync:l}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=li.syncDiff(this.state,i,a,o),l())}),this.onJoin((i,a,o)=>{this.channel._trigger("presence",{event:"join",key:i,currentPresences:a,newPresences:o})}),this.onLeave((i,a,o)=>{this.channel._trigger("presence",{event:"leave",key:i,currentPresences:a,leftPresences:o})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,n,s,i){const a=this.cloneDeep(e),o=this.transformState(n),l={},d={};return this.map(a,(c,u)=>{o[c]||(d[c]=u)}),this.map(o,(c,u)=>{const h=a[c];if(h){const p=u.map(v=>v.presence_ref),m=h.map(v=>v.presence_ref),f=u.filter(v=>m.indexOf(v.presence_ref)<0),g=h.filter(v=>p.indexOf(v.presence_ref)<0);f.length>0&&(l[c]=f),g.length>0&&(d[c]=g)}else l[c]=u}),this.syncDiff(a,{joins:l,leaves:d},s,i)}static syncDiff(e,n,s,i){const{joins:a,leaves:o}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return s||(s=()=>{}),i||(i=()=>{}),this.map(a,(l,d)=>{var c;const u=(c=e[l])!==null&&c!==void 0?c:[];if(e[l]=this.cloneDeep(d),u.length>0){const h=e[l].map(m=>m.presence_ref),p=u.filter(m=>h.indexOf(m.presence_ref)<0);e[l].unshift(...p)}s(l,u,d)}),this.map(o,(l,d)=>{let c=e[l];
40if(!c)return;const u=d.map(h=>h.presence_ref);c=c.filter(h=>u.indexOf(h.presence_ref)<0),e[l]=c,i(l,c,d),c.length===0&&delete e[l]}),e}static map(e,n){return Object.getOwnPropertyNames(e).map(s=>n(s,e[s]))}static transformState(e){return e=this.cloneDeep(e),Object.getOwnPropertyNames(e).reduce((n,s)=>{const i=e[s];return"metas"in i?n[s]=i.metas.map(a=>(a.presence_ref=a.phx_ref,delete a.phx_ref,delete a.phx_ref_prev,a)):n[s]=i,n},{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var _l;(function(r){r.ALL="*",r.INSERT="INSERT",r.UPDATE="UPDATE",r.DELETE="DELETE"})(_l||(_l={}));var ci;(function(r){r.BROADCAST="broadcast",r.PRESENCE="presence",r.POSTGRES_CHANGES="postgres_changes",r.SYSTEM="system"})(ci||(ci={}));var Zr;(function(r){r.SUBSCRIBED="SUBSCRIBED",r.TIMED_OUT="TIMED_OUT",r.CLOSED="CLOSED",r.CHANNEL_ERROR="CHANNEL_ERROR"})(Zr||(Zr={}));class Ts{constructor(e,n={config:{}},s){var i,a;if(this.topic=e,this.params=n,this.socket=s,this.bindings={},this.state=ft.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.timeout=this.socket.timeout,this.joinPush=new qa(this,wr.join,this.params,this.timeout),this.rejoinTimer=new Ed(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=ft.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(o=>o.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=ft.closed,this.socket._remove(this)}),this._onError(o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=ft.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=ft.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",o=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,o),this.state=ft.errored,this.rejoinTimer.scheduleTimeout())}),this._on(wr.reply,{},(o,l)=>{this._trigger(this._replyEventName(l),o)}),this.presence=new li(this),this.broadcastEndpointURL=Id(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((a=(i=this.params.config)===null||i===void 0?void 0:i.broadcast)===null||a===void 0)&&a.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(e,n=this.timeout){var s,i,a;if(this.socket.isConnected()||this.socket.connect(),this.state==ft.closed){const{config:{broadcast:o,presence:l,private:d}}=this.params,c=(i=(s=this.bindings.postgres_changes)===null||s===void 0?void 0:s.map(m=>m.filter))!==null&&i!==void 0?i:[],u=!!this.bindings[ci.PRESENCE]&&this.bindings[ci.PRESENCE].length>0||((a=this.params.config.presence)===null||a===void 0?void 0:a.enabled)===!0,h={},p={broadcast:o,presence:Object.assign(Object.assign({},l),{enabled:u}),postgres_changes:c,private:d};this.socket.accessTokenValue&&(h.access_token=this.socket.accessTokenValue),this._onError(m=>e?.(Zr.CHANNEL_ERROR,m)),this._onClose(()=>e?.(Zr.CLOSED)),this.updateJoinPayload(Object.assign({config:p},h)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",async({postgres_changes:m})=>{var f;if(this.socket._isManualToken()||this.socket.setAuth(),m===void 0){e?.(Zr.SUBSCRIBED);return}else{const g=this.bindings.postgres_changes,v=(f=g?.length)!==null&&f!==void 0?f:0,j=[];for(let x=0;x<v;x++){const w=g[x],{filter:{event:I,schema:R,table:L,filter:P}}=w,pe=m&&m[x];if(pe&&pe.event===I&&Ts.isFilterValueEqual(pe.schema,R)&&Ts.isFilterValueEqual(pe.table,L)&&Ts.isFilterValueEqual(pe.filter,P))j.push(Object.assign(Object.assign({},w),{id:pe.id}));else{this.unsubscribe(),this.state=ft.errored,e?.(Zr.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=j,e&&e(Zr.SUBSCRIBED);return}}).receive("error",m=>{this.state=ft.errored,e?.(Zr.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(m).join(", ")||"error")))}).receive("timeout",()=>{e?.(Zr.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(e,n={}){return await this.send({type:"presence",event:"track",payload:e},n.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,n,s){return this.state===ft.joined&&e===ci.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(async()=>await this.subscribe())),this._on(e,n,s)}async httpSend(e,n,s={}){var i;if(n==null)return Promise.reject("Payload is required for httpSend()");const a={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(a.Authorization=`Bearer ${this.socket.accessTokenValue}`);const o={method:"POST",headers:a,body:JSON.stringify({messages:[{topic:this.subTopic,event:e,payload:n,private:this.private}]})},l=await this._fetchWithTimeout(this.broadcastEndpointURL,o,(i=s.timeout)!==null&&i!==void 0?i:this.timeout);if(l.status===202)return{success:!0};let d=l.statusText;
40try{const c=await l.json();d=c.error||c.message||d}catch{}return Promise.reject(new Error(d))}async send(e,n={}){var s,i;if(!this._canPush()&&e.type==="broadcast"){const{event:a,payload:o}=e,l={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(l.Authorization=`Bearer ${this.socket.accessTokenValue}`);const d={method:"POST",headers:l,body:JSON.stringify({messages:[{topic:this.subTopic,event:a,payload:o,private:this.private}]})};try{const c=await this._fetchWithTimeout(this.broadcastEndpointURL,d,(s=n.timeout)!==null&&s!==void 0?s:this.timeout);return await((i=c.body)===null||i===void 0?void 0:i.cancel()),c.ok?"ok":"error"}catch(c){return c.name==="AbortError"?"timed out":"error"}}else return new Promise(a=>{var o,l,d;const c=this._push(e.type,e,n.timeout||this.timeout);e.type==="broadcast"&&!(!((d=(l=(o=this.params)===null||o===void 0?void 0:o.config)===null||l===void 0?void 0:l.broadcast)===null||d===void 0)&&d.ack)&&a("ok"),c.receive("ok",()=>a("ok")),c.receive("error",()=>a("error")),c.receive("timeout",()=>a("timed out"))})}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=ft.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(wr.close,"leave",this._joinRef())};this.joinPush.destroy();let s=null;return new Promise(i=>{s=new qa(this,wr.leave,{},e),s.receive("ok",()=>{n(),i("ok")}).receive("timeout",()=>{n(),i("timed out")}).receive("error",()=>{i("error")}),s.send(),this._canPush()||s.trigger("ok",{})}).finally(()=>{s?.destroy()})}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=ft.closed,this.bindings={}}async _fetchWithTimeout(e,n,s){const i=new AbortController,a=setTimeout(()=>i.abort(),s),o=await this.socket.fetch(e,Object.assign(Object.assign({},n),{signal:i.signal}));return clearTimeout(a),o}_push(e,n,s=this.timeout){if(!this.joinedOnce)throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let i=new qa(this,e,n,s);return this._canPush()?i.send():this._addToPushBuffer(i),i}_addToPushBuffer(e){if(e.startTimeout(),this.pushBuffer.push(e),this.pushBuffer.length>Mm){const n=this.pushBuffer.shift();n&&(n.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${n.event}`,n.payload))}}_onMessage(e,n,s){return n}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,n,s){var i,a;const o=e.toLocaleLowerCase(),{close:l,error:d,leave:c,join:u}=wr;if(s&&[l,d,c,u].indexOf(o)>=0&&s!==this._joinRef())return;let p=this._onMessage(o,n,s);if(n&&!p)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(o)?(i=this.bindings.postgres_changes)===null||i===void 0||i.filter(m=>{var f,g,v;return((f=m.filter)===null||f===void 0?void 0:f.event)==="*"||((v=(g=m.filter)===null||g===void 0?void 0:g.event)===null||v===void 0?void 0:v.toLocaleLowerCase())===o}).map(m=>m.callback(p,s)):(a=this.bindings[o])===null||a===void 0||a.filter(m=>{var f,g,v,j,x,w;if(["broadcast","presence","postgres_changes"].includes(o))if("id"in m){const I=m.id,R=(f=m.filter)===null||f===void 0?void 0:f.event;return I&&((g=n.ids)===null||g===void 0?void 0:g.includes(I))&&(R==="*"||R?.toLocaleLowerCase()===((v=n.data)===null||v===void 0?void 0:v.type.toLocaleLowerCase()))}else{const I=(x=(j=m?.filter)===null||j===void 0?void 0:j.event)===null||x===void 0?void 0:x.toLocaleLowerCase();return I==="*"||I===((w=n?.event)===null||w===void 0?void 0:w.toLocaleLowerCase())}else return m.type.toLocaleLowerCase()===o}).map(m=>{if(typeof p=="object"&&"ids"in p){const f=p.data,{schema:g,table:v,commit_timestamp:j,type:x,errors:w}=f;p=Object.assign(Object.assign({},{schema:g,table:v,commit_timestamp:j,eventType:x,new:{},old:{},errors:w}),this._getPayloadRecords(f))}m.callback(p,s)})}_isClosed(){return this.state===ft.closed}_isJoined(){return this.state===ft.joined}_isJoining(){return this.state===ft.joining}_isLeaving(){return this.state===ft.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,n,s){const i=e.toLocaleLowerCase(),a={type:i,filter:n,callback:s};return this.bindings[i]?this.bindings[i].push(a):this.bindings[i]=[a],this}_off(e,n){const s=e.toLocaleLowerCase();return this.bindings[s]&&(this.bindings[s]=this.bindings[s].filter(i=>{var a;return!(((a=i.type)===null||a===void 0?void 0:a.toLocaleLowerCase())===s&&Ts.isEqual(i.filter,n))})),this}static isEqual(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const s in e)if(e[s]!==n[s])return!1;return!0}static isFilterValueEqual(e,n){return(e??void 0)===(n??void 0)}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(wr.close,{},e)}_onError(e){this._on(wr.error,{},n=>e(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=ft.joining,this.joinPush.resend(e))}_getPayloadRecords(e){const n={new:{},old:{}};return(e.type==="INSERT"||e.type==="UPDATE")&&(n.new=Cl(e.columns,e.record)),(e.type==="UPDATE"||e.type==="DELETE")&&(n.old=Cl(e.columns,e.old_record)),n}}const Ka=()=>{},Gi={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},Ym=[1e3,2e3,5e3,1e4],Jm=1e4,Xm=` 41 addEventListener("message", (e) => { 42 if (e.data.event === "start") { 43 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 44 } 45 });`;class Zm{constructor(e,n){var s;if(this.accessTokenValue=null,this.apiKey=null,this._manuallySetToken=!1,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=wo,this.transport=null,this.heartbeatIntervalMs=Gi.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=Ka,this.ref=0,this.reconnectTimer=null,this.vsn=El,this.logger=Ka,this.conn=null,this.sendBuffer=[],this.serializer
45=new Wm,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._heartbeatSentAt=null,this._resolveFetch=i=>i?(...a)=>i(...a):(...a)=>fetch(...a),!(!((s=n?.params)===null||s===void 0)&&s.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey,this.endPoint=`${e}/${So.websocket}`,this.httpEndpoint=Id(e),this._initializeOptions(n),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(n?.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=Bm.createWebSocket(this.endpointURL())}catch(e){this._setConnectionState("disconnected");const n=e.message;throw n.includes("Node.js")?new Error(`${n} 46 47To use Realtime in Node.js, you need to provide a WebSocket implementation: 48 49Option 1: Use Node.js 22+ which has native WebSocket support 50Option 2: Install and provide the "ws" package: 51 52 npm install ws 53 54 import ws from "ws" 55 const client = new RealtimeClient(url, { 56 ...options, 57 transport: ws 58 })`):new Error(`WebSocket not available: ${n}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:this.vsn}))}disconnect(e,n){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const s=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(s),this._setConnectionState("disconnected")},typeof this.conn.close=="function"&&(e?this.conn.close(e,n??""):this.conn.close()),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(e){const n=await e.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const e=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.channels=[],this.disconnect(),e}log(e,n,s){this.logger(e,n,s)}connectionState(){switch(this.conn&&this.conn.readyState){case vn.connecting:return Kn.Connecting;case vn.open:return Kn.Open;case vn.closing:return Kn.Closing;default:return Kn.Closed}}isConnected(){return this.connectionState()===Kn.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(e,n={config:{}}){const s=`realtime:${e}`,i=this.getChannels().find(a=>a.topic===s);if(i)return i;{const a=new Ts(`realtime:${e}`,n,this);return this.channels.push(a),a}}push(e){const{topic:n,event:s,payload:i,ref:a}=e,o=()=>{this.encode(e,l=>{var d;(d=this.conn)===null||d===void 0||d.send(l)})};this.log("push",`${n} ${s} (${a})`,i),this.isConnected()?o():this.sendBuffer.push(o)}async setAuth(e=null){this._authPromise=this._performAuth(e);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){var e;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(n){this.log("error","error in heartbeat callback",n)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this._heartbeatSentAt=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(n){this.log("error","error in heartbeat callback",n)}this._wasManualDisconnect=!1,(e=this.conn)===null||e===void 0||e.close(Dm,"heartbeat timeout"),setTimeout(()=>{var n;this.isConnected()||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout()},Gi.HEARTBEAT_TIMEOUT_FALLBACK);return}this._heartbeatSentAt=Date.now(),this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(n){this.log("error","error in heartbeat callback",n)}this._setAuthSafely("heartbeat")}onHeartbeat(e){this.heartbeatCallback=e}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>
580&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let n=this.channels.find(s=>s.topic===e&&(s._isJoined()||s._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${e}"`),n.unsubscribe())}_remove(e){this.channels=this.channels.filter(n=>n.topic!==e.topic)}_onConnMessage(e){this.decode(e.data,n=>{if(n.topic==="phoenix"&&n.event==="phx_reply"&&n.ref&&n.ref===this.pendingHeartbeatRef){const c=this._heartbeatSentAt?Date.now()-this._heartbeatSentAt:void 0;try{this.heartbeatCallback(n.payload.status==="ok"?"ok":"error",c)}catch(u){this.log("error","error in heartbeat callback",u)}this._heartbeatSentAt=null,this.pendingHeartbeatRef=null}const{topic:s,event:i,payload:a,ref:o}=n,l=o?`(${o})`:"",d=a.status||"";this.log("receive",`${d} ${s} ${i} ${l}`.trim(),a),this.channels.filter(c=>c._isMember(s)).forEach(c=>c._trigger(i,a,o)),this._triggerStateCallbacks("message",n)})}_clearTimer(e){var n;e==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):e==="reconnect"&&((n=this.reconnectTimer)===null||n===void 0||n.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e),this.conn.readyState===vn.open&&this._onConnOpen())}_teardownConnection(){if(this.conn){if(this.conn.readyState===vn.open||this.conn.readyState===vn.connecting)try{this.conn.close()}catch(e){this.log("error","Error closing connection",e)}this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null}this._clearAllTimers(),this._terminateWorker(),this.channels.forEach(e=>e.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).then(()=>{this.accessTokenValue&&(this.channels.forEach(n=>{n.updateJoinPayload({access_token:this.accessTokenValue})}),this.sendBuffer=[],this.channels.forEach(n=>{n._isJoining()&&(n.joinPush.sent=!1,n.joinPush.send())})),this.flushSendBuffer()}).catch(n=>{this.log("error","error waiting for auth on connect",n),this.flushSendBuffer()}),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const e=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(e),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_onConnClose(e){var n;this._setConnectionState("disconnected"),this.log("transport","close",e),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout(),this._triggerStateCallbacks("close",e)}_onConnError(e){this._setConnectionState("disconnected"),this.log("transport",`${e}`),this._triggerChanError(),this._triggerStateCallbacks("error",e);try{this.heartbeatCallback("error")}catch(n){this.log("error","error in heartbeat callback",n)}}_triggerChanError(){this.channels.forEach(e=>e._trigger(wr.error))}_appendParams(e,n){if(Object.keys(n).length===0)return e;const s=e.match(/\?/)?"&":"?",i=new URLSearchParams(n);return`${e}${s}${i}`}_workerObjectUrl(e){let n;if(e)n=e;else{const s=new Blob([Xm],{type:"application/javascript"});n=URL.createObjectURL(s)}return n}_setConnectionState(e,n=!1){this._connectionState=e,e==="connecting"?this._wasManualDisconnect=!1:e==="disconnecting"&&(this._wasManualDisconnect=n)}async _performAuth(e=null){let n,s=!1;if(e)n=e,s=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(i){this.log("error","Error fetching access token from callback",i),n=this.accessTokenValue}else n=this.accessTokenValue;s?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEac
58h(i=>{const a={access_token:n,version:Lm};n&&i.updateJoinPayload(a),i.joinedOnce&&i._isJoined()&&i._push(wr.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(e="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${e}`,n)})}_triggerStateCallbacks(e,n){try{this.stateChangeCallbacks[e].forEach(s=>{try{s(n)}catch(i){this.log("error",`error in ${e} callback`,i)}})}catch(s){this.log("error",`error triggering ${e} callbacks`,s)}}_setupReconnectionTimer(){this.reconnectTimer=new Ed(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},Gi.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(e){var n,s,i,a,o,l,d,c,u,h,p,m;switch(this.transport=(n=e?.transport)!==null&&n!==void 0?n:null,this.timeout=(s=e?.timeout)!==null&&s!==void 0?s:wo,this.heartbeatIntervalMs=(i=e?.heartbeatIntervalMs)!==null&&i!==void 0?i:Gi.HEARTBEAT_INTERVAL,this.worker=(a=e?.worker)!==null&&a!==void 0?a:!1,this.accessToken=(o=e?.accessToken)!==null&&o!==void 0?o:null,this.heartbeatCallback=(l=e?.heartbeatCallback)!==null&&l!==void 0?l:Ka,this.vsn=(d=e?.vsn)!==null&&d!==void 0?d:El,e?.params&&(this.params=e.params),e?.logger&&(this.logger=e.logger),(e?.logLevel||e?.log_level)&&(this.logLevel=e.logLevel||e.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(c=e?.reconnectAfterMs)!==null&&c!==void 0?c:f=>Ym[f-1]||Jm,this.vsn){case zm:this.encode=(u=e?.encode)!==null&&u!==void 0?u:(f,g)=>g(JSON.stringify(f)),this.decode=(h=e?.decode)!==null&&h!==void 0?h:(f,g)=>g(JSON.parse(f));break;case Td:this.encode=(p=e?.encode)!==null&&p!==void 0?p:this.serializer.encode.bind(this.serializer),this.decode=(m=e?.decode)!==null&&m!==void 0?m:this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${this.vsn}`)}if(this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=e?.workerUrl}}}var vi=class extends Error{constructor(r,e){super(r),this.name="IcebergError",this.status=e.status,this.icebergType=e.icebergType,this.icebergCode=e.icebergCode,this.details=e.details,this.isCommitStateUnknown=e.icebergType==="CommitStateUnknownException"||[500,502,504].includes(e.status)&&e.icebergType?.includes("CommitState")===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function Qm(r,e,n){const s=new URL(e,r);if(n)for(const[i,a]of Object.entries(n))a!==void 0&&s.searchParams.set(i,a);return s.toString()}async function ep(r){return!r||r.type==="none"?{}:r.type==="bearer"?{Authorization:`Bearer ${r.token}`}:r.type==="header"?{[r.name]:r.value}:r.type==="custom"?await r.getHeaders():{}}function tp(r){const e=r.fetchImpl??globalThis.fetch;return{async request({method:n,path:s,query:i,body:a,headers:o}){const l=Qm(r.baseUrl,s,i),d=await ep(r.auth),c=await e(l,{method:n,headers:{...a?{"Content-Type":"application/json"}:{},...d,...o},body:a?JSON.stringify(a):void 0}),u=await c.text(),h=(c.headers.get("content-type")||"").includes("application/json"),p=h&&u?JSON.parse(u):u;if(!c.ok){const m=h?p:void 0,f=m?.error;throw new vi(f?.message??`Request failed with status ${c.status}`,{status:c.status,icebergType:f?.type,icebergCode:f?.code,details:m})}return{status:c.status,headers:c.headers,data:p}}}}function qi(r){return r.join("�")}var rp=class{constructor(r,e=""){this.client=r,this.prefix=e}async listNamespaces(r){const e=r?{parent:qi(r.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:e})).data.namespaces.map(s=>({namespace:s}))}async createNamespace(r,e){const n={namespace:r.namespace,properties:e?.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(r){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${qi(r.namespace)}`})}async loadNamespaceMetadata(r){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${qi(r.namespace)}`})).data.properties}}async namespaceExists(r){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${qi(r.namespace)}`}),!0}catch(e){if(e instanceof vi&&e.status===404)return!1;throw e}}async createNamespaceIfNotExists(r,e){try{return await this.createNamespace(r,e)}catch(n){if(n instanceof vi&&n.status===409)return;throw n}}};function us(r){return r.join("�")}var np=class{constructor(r,e="",n){this.client=r,this.prefix=e,this.accessDelegation=n}async listTables(r){return(await this.client.request({method:"GET",path:`${this.prefix}
58/namespaces/${us(r.namespace)}/tables`})).data.identifiers}async createTable(r,e){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${us(r.namespace)}/tables`,body:e,headers:n})).data.metadata}async updateTable(r,e){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${us(r.namespace)}/tables/${r.name}`,body:e});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(r,e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${us(r.namespace)}/tables/${r.name}`,query:{purgeRequested:String(e?.purge??!1)}})}async loadTable(r){const e={};return this.accessDelegation&&(e["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${us(r.namespace)}/tables/${r.name}`,headers:e})).data.metadata}async tableExists(r){const e={};this.accessDelegation&&(e["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${us(r.namespace)}/tables/${r.name}`,headers:e}),!0}catch(n){if(n instanceof vi&&n.status===404)return!1;throw n}}async createTableIfNotExists(r,e){try{return await this.createTable(r,e)}catch(n){if(n instanceof vi&&n.status===409)return await this.loadTable({namespace:r.namespace,name:e.name});throw n}}},sp=class{constructor(r){let e="v1";r.catalogName&&(e+=`/${r.catalogName}`);const n=r.baseUrl.endsWith("/")?r.baseUrl:`${r.baseUrl}/`;this.client=tp({baseUrl:n,auth:r.auth,fetchImpl:r.fetch}),this.accessDelegation=r.accessDelegation?.join(","),this.namespaceOps=new rp(this.client,e),this.tableOps=new np(this.client,e,this.accessDelegation)}async listNamespaces(r){return this.namespaceOps.listNamespaces(r)}async createNamespace(r,e){return this.namespaceOps.createNamespace(r,e)}async dropNamespace(r){await this.namespaceOps.dropNamespace(r)}async loadNamespaceMetadata(r){return this.namespaceOps.loadNamespaceMetadata(r)}async listTables(r){return this.tableOps.listTables(r)}async createTable(r,e){return this.tableOps.createTable(r,e)}async updateTable(r,e){return this.tableOps.updateTable(r,e)}async dropTable(r,e){await this.tableOps.dropTable(r,e)}async loadTable(r){return this.tableOps.loadTable(r)}async namespaceExists(r){return this.namespaceOps.namespaceExists(r)}async tableExists(r){return this.tableOps.tableExists(r)}async createNamespaceIfNotExists(r,e){return this.namespaceOps.createNamespaceIfNotExists(r,e)}async createTableIfNotExists(r,e){return this.tableOps.createTableIfNotExists(r,e)}},Pa=class extends Error{constructor(r,e="storage",n,s){super(r),this.__isStorageError=!0,this.namespace=e,this.name=e==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=s}};function Ba(r){return typeof r=="object"&&r!==null&&"__isStorageError"in r}var Ki=class extends Pa{constructor(r,e,n,s="storage"){super(r,s,e,n),this.name=s==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=e,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},_d=class extends Pa{constructor(r,e,n="storage"){super(r,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=e}};const ip=r=>r?(...e)=>r(...e):(...e)=>fetch(...e),ap=r=>{if(typeof r!="object"||r===null)return!1;const e=Object.getPrototypeOf(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},ko=r=>{if(Array.isArray(r))return r.map(n=>ko(n));if(typeof r=="function"||r!==Object(r))return r;const e={};return Object.entries(r).forEach(([n,s])=>{const i=n.replace(/([-_][a-z])/gi,a=>a.toUpperCase().replace(/[-_]/g,""));e[i]=ko(s)}),e},op=r=>!r||typeof r!="string"||r.length===0||r.length>100||r.trim()!==r||r.includes("/")||r.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(r);function wi(r){"@babel/helpers - typeof";return wi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wi(r)}function lp(r,e){if(wi(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var s=n.call(r,e||"default");if(wi(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function cp(r){var e=lp(r,"string");return wi(e)=="symbol"?e:e+""}function dp(r,e,n){return(e=cp(e))in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Al(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);e&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),n.push.apply(n,s)}return n}function ne(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};
58e%2?Al(Object(n),!0).forEach(function(s){dp(r,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Al(Object(n)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))})}return r}const Nl=r=>{var e;return r.msg||r.message||r.error_description||(typeof r.error=="string"?r.error:(e=r.error)===null||e===void 0?void 0:e.message)||JSON.stringify(r)},up=async(r,e,n,s)=>{if(r&&typeof r=="object"&&"status"in r&&"ok"in r&&typeof r.status=="number"&&!n?.noResolveJson){const i=r,a=i.status||500;if(typeof i.json=="function")i.json().then(o=>{const l=o?.statusCode||o?.code||a+"";e(new Ki(Nl(o),a,l,s))}).catch(()=>{if(s==="vectors"){const o=a+"";e(new Ki(i.statusText||`HTTP ${a} error`,a,o,s))}else{const o=a+"";e(new Ki(i.statusText||`HTTP ${a} error`,a,o,s))}});else{const o=a+"";e(new Ki(i.statusText||`HTTP ${a} error`,a,o,s))}}else e(new _d(Nl(r),r,s))},hp=(r,e,n,s)=>{const i={method:r,headers:e?.headers||{}};return r==="GET"||r==="HEAD"||!s?ne(ne({},i),n):(ap(s)?(i.headers=ne({"Content-Type":"application/json"},e?.headers),i.body=JSON.stringify(s)):i.body=s,e?.duplex&&(i.duplex=e.duplex),ne(ne({},i),n))};async function Gs(r,e,n,s,i,a,o){return new Promise((l,d)=>{r(n,hp(e,s,i,a)).then(c=>{if(!c.ok)throw c;if(s?.noResolveJson)return c;if(o==="vectors"){const u=c.headers.get("content-type");if(c.headers.get("content-length")==="0"||c.status===204)return{};if(!u||!u.includes("application/json"))return{}}return c.json()}).then(c=>l(c)).catch(c=>up(c,d,s,o))})}function Ad(r="storage"){return{get:async(e,n,s,i)=>Gs(e,"GET",n,s,i,void 0,r),post:async(e,n,s,i,a)=>Gs(e,"POST",n,i,a,s,r),put:async(e,n,s,i,a)=>Gs(e,"PUT",n,i,a,s,r),head:async(e,n,s,i)=>Gs(e,"HEAD",n,ne(ne({},s),{},{noResolveJson:!0}),i,void 0,r),remove:async(e,n,s,i,a)=>Gs(e,"DELETE",n,i,a,s,r)}}const mp=Ad("storage"),{get:Si,post:br,put:To,head:pp,remove:Ko}=mp,tr=Ad("vectors");var Ws=class{constructor(r,e={},n,s="storage"){this.shouldThrowOnError=!1,this.url=r,this.headers=e,this.fetch=ip(n),this.namespace=s}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(r,e){return this.headers=ne(ne({},this.headers),{},{[r]:e}),this}async handleOperation(r){var e=this;try{return{data:await r(),error:null}}catch(n){if(e.shouldThrowOnError)throw n;if(Ba(n))return{data:null,error:n};throw n}}},gp=class{constructor(r,e){this.downloadFn=r,this.shouldThrowOnError=e}then(r,e){return this.execute().then(r,e)}async execute(){var r=this;try{return{data:(await r.downloadFn()).body,error:null}}catch(e){if(r.shouldThrowOnError)throw e;if(Ba(e))return{data:null,error:e};throw e}}};let Nd;Nd=Symbol.toStringTag;var fp=class{constructor(r,e){this.downloadFn=r,this.shouldThrowOnError=e,this[Nd]="BlobDownloadBuilder",this.promise=null}asStream(){return new gp(this.downloadFn,this.shouldThrowOnError)}then(r,e){return this.getPromise().then(r,e)}catch(r){return this.getPromise().catch(r)}finally(r){return this.getPromise().finally(r)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var r=this;try{return{data:await(await r.downloadFn()).blob(),error:null}}catch(e){if(r.shouldThrowOnError)throw e;if(Ba(e))return{data:null,error:e};throw e}}};const yp={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},Rl={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var bp=class extends Ws{constructor(r,e={},n,s){super(r,e,s,"storage"),this.bucketId=n}async uploadOrUpdate(r,e,n,s){var i=this;return i.handleOperation(async()=>{let a;const o=ne(ne({},Rl),s);let l=ne(ne({},i.headers),r==="POST"&&{"x-upsert":String(o.upsert)});const d=o.metadata;typeof Blob<"u"&&n instanceof Blob?(a=new FormData,a.append("cacheControl",o.cacheControl),d&&a.append("metadata",i.encodeMetadata(d)),a.append("",n)):typeof FormData<"u"&&n instanceof FormData?(a=n,a.has("cacheControl")||a.append("cacheControl",o.cacheControl),d&&!a.has("metadata")&&a.append("metadata",i.encodeMetadata(d))):(a=n,l["cache-control"]=`max-age=${o.cacheControl}`,l["content-type"]=o.contentType,d&&(l["x-metadata"]=i.toBase64(i.encodeMetadata(d))),(typeof ReadableStream<"u"&&a
58instanceof ReadableStream||a&&typeof a=="object"&&"pipe"in a&&typeof a.pipe=="function")&&!o.duplex&&(o.duplex="half")),s?.headers&&(l=ne(ne({},l),s.headers));const c=i._removeEmptyFolders(e),u=i._getFinalPath(c),h=await(r=="PUT"?To:br)(i.fetch,`${i.url}/object/${u}`,a,ne({headers:l},o?.duplex?{duplex:o.duplex}:{}));return{path:c,id:h.Id,fullPath:h.Key}})}async upload(r,e,n){return this.uploadOrUpdate("POST",r,e,n)}async uploadToSignedUrl(r,e,n,s){var i=this;const a=i._removeEmptyFolders(r),o=i._getFinalPath(a),l=new URL(i.url+`/object/upload/sign/${o}`);return l.searchParams.set("token",e),i.handleOperation(async()=>{let d;const c=ne({upsert:Rl.upsert},s),u=ne(ne({},i.headers),{"x-upsert":String(c.upsert)});return typeof Blob<"u"&&n instanceof Blob?(d=new FormData,d.append("cacheControl",c.cacheControl),d.append("",n)):typeof FormData<"u"&&n instanceof FormData?(d=n,d.append("cacheControl",c.cacheControl)):(d=n,u["cache-control"]=`max-age=${c.cacheControl}`,u["content-type"]=c.contentType),{path:a,fullPath:(await To(i.fetch,l.toString(),d,{headers:u})).Key}})}async createSignedUploadUrl(r,e){var n=this;return n.handleOperation(async()=>{let s=n._getFinalPath(r);const i=ne({},n.headers);e?.upsert&&(i["x-upsert"]="true");const a=await br(n.fetch,`${n.url}/object/upload/sign/${s}`,{},{headers:i}),o=new URL(n.url+a.url),l=o.searchParams.get("token");if(!l)throw new Pa("No token returned by API");return{signedUrl:o.toString(),path:r,token:l}})}async update(r,e,n){return this.uploadOrUpdate("PUT",r,e,n)}async move(r,e,n){var s=this;return s.handleOperation(async()=>await br(s.fetch,`${s.url}/object/move`,{bucketId:s.bucketId,sourceKey:r,destinationKey:e,destinationBucket:n?.destinationBucket},{headers:s.headers}))}async copy(r,e,n){var s=this;return s.handleOperation(async()=>({path:(await br(s.fetch,`${s.url}/object/copy`,{bucketId:s.bucketId,sourceKey:r,destinationKey:e,destinationBucket:n?.destinationBucket},{headers:s.headers})).Key}))}async createSignedUrl(r,e,n){var s=this;return s.handleOperation(async()=>{let i=s._getFinalPath(r),a=await br(s.fetch,`${s.url}/object/sign/${i}`,ne({expiresIn:e},n?.transform?{transform:n.transform}:{}),{headers:s.headers});const o=n?.download?`&download=${n.download===!0?"":n.download}`:"";return{signedUrl:encodeURI(`${s.url}${a.signedURL}${o}`)}})}async createSignedUrls(r,e,n){var s=this;return s.handleOperation(async()=>{const i=await br(s.fetch,`${s.url}/object/sign/${s.bucketId}`,{expiresIn:e,paths:r},{headers:s.headers}),a=n?.download?`&download=${n.download===!0?"":n.download}`:"";return i.map(o=>ne(ne({},o),{},{signedUrl:o.signedURL?encodeURI(`${s.url}${o.signedURL}${a}`):null}))})}download(r,e,n){const s=typeof e?.transform<"u"?"render/image/authenticated":"object",i=this.transformOptsToQueryString(e?.transform||{}),a=i?`?${i}`:"",o=this._getFinalPath(r),l=()=>Si(this.fetch,`${this.url}/${s}/${o}${a}`,{headers:this.headers,noResolveJson:!0},n);return new fp(l,this.shouldThrowOnError)}async info(r){var e=this;const n=e._getFinalPath(r);return e.handleOperation(async()=>ko(await Si(e.fetch,`${e.url}/object/info/${n}`,{headers:e.headers})))}async exists(r){var e=this;const n=e._getFinalPath(r);try{return await pp(e.fetch,`${e.url}/object/${n}`,{headers:e.headers}),{data:!0,error:null}}catch(s){if(e.shouldThrowOnError)throw s;if(Ba(s)&&s instanceof _d){const i=s.originalError;if([400,404].includes(i?.status))return{data:!1,error:s}}throw s}}getPublicUrl(r,e){const n=this._getFinalPath(r),s=[],i=e?.download?`download=${e.download===!0?"":e.download}`:"";i!==""&&s.push(i);const a=typeof e?.transform<"u"?"render/image":"object",o=this.transformOptsToQueryString(e?.transform||{});o!==""&&s.push(o);let l=s.join("&");return l!==""&&(l=`?${l}`),{data:{publicUrl:encodeURI(`${this.url}/${a}/public/${n}${l}`)}}}async remove(r){var e=this;return e.handleOperation(async()=>await Ko(e.fetch,`${e.url}/object/${e.bucketId}`,{prefixes:r},{headers:e.headers}))}async list(r,e,n){var s=this;return s.handleOperation(async()=>{const i=ne(ne(ne({},yp),e),{},{prefix:r||""});return await br(s.fetch,`${s.url}/object/list/${s.bucketId}`,i,{headers:s.headers},n)})}async listV2(r,e){var n=this;return n.handleOperation(async()=>{const s=ne({},r);return await br(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,s,{headers:n.headers},e)})}encodeMetadata(r){return JSON.stringify(r)}toBase64(r){return typeof Buffer<"u"?Buffer.from(r).toString("base64"):btoa(r)}_getFinalPath(r){return`${this.bucketId}/${r.replace(/^\/+/,"")}`}_removeEmptyFolders(r){return r.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(r){const e=[];return r.width&&e.push(`width=${r.width}`),r.height&&e.push(`height=${r.height}`),r.resize&&e.push(`resize=${r.resize}`),r.format&&e.push(`format=${r.format}`),r.quality&&e.push(`quality=${r.quality}`),e.join("&")}};const xp="2.98.0",Ni={"X-Client-Info":`storage-js/${xp}`};var vp=class extends Ws{constructor(r,e={},n,s){const i=new URL(r);s?.useNewHostname&&/supabase\.(co|in|red)$/.test(i.hostname)&&!i.hostname.includes("storage.supabase.")&&(i.hostname=i.hostname.replace("supabase.","storage.supabase."));const a=i.href.replace(/\/$/,""),o=ne(ne({},Ni),e);super(a,o,n,"storage")}async listBuckets(r){var e=this;return e.handleOperation(async()=>{const n=e.listBucketOptionsToQueryString(r);return await Si(e.fetch,`${e.url}/bucket${n}`,{headers:e.headers})})}async getBucket(r){var e=this;return e.handleOperation(async()=>await Si(e.fetch,`${e.url}/bucket/${r}`,{headers:e.headers}))}async createBucket(r,e={public:!1}){var n=this;return n.handleOperation(async()=>await br(n.fetch,`${n.url}/bucket`,{id:r,name:r,type:e.type,public:e.public,file_size_limit:e.fileSizeLimit,allowed_mime_types:e.allowedMimeTypes},{headers:n.headers}))}async updateBucket(r,e){var n=this;return n.handleOperation(async()=>await To(n.fetch,`${n.url}/bucket/${r}`,{id:r,name:r,public:e.public,file_size_limit:e.fileSizeLimit,allowed_mime_types:e.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(r){var e=this;return e.handleOperation(async()=>await br(e.fetch,`${e.url}/bucket/${r}/empty`,{},{headers:e.headers}))}async deleteBucket(r){var e=this;return e.handleOperation(async()=>await Ko(e.fetch,`${e.url}/bucket/${r}`,{},{headers:e.headers}))}listBucketOptionsToQueryString(r){const e={};return r&&("limit"in r&&(e.limit=String(r.limit)),"offset"in r&&(e.offset=String(r.offset)),r.search&&(e.search=r.search),r.s
58ortColumn&&(e.sortColumn=r.sortColumn),r.sortOrder&&(e.sortOrder=r.sortOrder)),Object.keys(e).length>0?"?"+new URLSearchParams(e).toString():""}},wp=class extends Ws{constructor(r,e={},n){const s=r.replace(/\/$/,""),i=ne(ne({},Ni),e);super(s,i,n,"storage")}async createBucket(r){var e=this;return e.handleOperation(async()=>await br(e.fetch,`${e.url}/bucket`,{name:r},{headers:e.headers}))}async listBuckets(r){var e=this;return e.handleOperation(async()=>{const n=new URLSearchParams;r?.limit!==void 0&&n.set("limit",r.limit.toString()),r?.offset!==void 0&&n.set("offset",r.offset.toString()),r?.sortColumn&&n.set("sortColumn",r.sortColumn),r?.sortOrder&&n.set("sortOrder",r.sortOrder),r?.search&&n.set("search",r.search);const s=n.toString(),i=s?`${e.url}/bucket?${s}`:`${e.url}/bucket`;return await Si(e.fetch,i,{headers:e.headers})})}async deleteBucket(r){var e=this;return e.handleOperation(async()=>await Ko(e.fetch,`${e.url}/bucket/${r}`,{},{headers:e.headers}))}from(r){var e=this;if(!op(r))throw new Pa("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new sp({baseUrl:this.url,catalogName:r,auth:{type:"custom",getHeaders:async()=>e.headers},fetch:this.fetch}),s=this.shouldThrowOnError;return new Proxy(n,{get(i,a){const o=i[a];return typeof o!="function"?o:async(...l)=>{try{return{data:await o.apply(i,l),error:null}}catch(d){if(s)throw d;return{data:null,error:d}}}}})}},Sp=class extends Ws{constructor(r,e={},n){const s=r.replace(/\/$/,""),i=ne(ne({},Ni),{},{"Content-Type":"application/json"},e);super(s,i,n,"vectors")}async createIndex(r){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/CreateIndex`,r,{headers:e.headers})||{})}async getIndex(r,e){var n=this;return n.handleOperation(async()=>await tr.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:r,indexName:e},{headers:n.headers}))}async listIndexes(r){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/ListIndexes`,r,{headers:e.headers}))}async deleteIndex(r,e){var n=this;return n.handleOperation(async()=>await tr.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:r,indexName:e},{headers:n.headers})||{})}},jp=class extends Ws{constructor(r,e={},n){const s=r.replace(/\/$/,""),i=ne(ne({},Ni),{},{"Content-Type":"application/json"},e);super(s,i,n,"vectors")}async putVectors(r){var e=this;if(r.vectors.length<1||r.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/PutVectors`,r,{headers:e.headers})||{})}async getVectors(r){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/GetVectors`,r,{headers:e.headers}))}async listVectors(r){var e=this;if(r.segmentCount!==void 0){if(r.segmentCount<1||r.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(r.segmentIndex!==void 0&&(r.segmentIndex<0||r.segmentIndex>=r.segmentCount))throw new Error(`segmentIndex must be between 0 and ${r.segmentCount-1}`)}return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/ListVectors`,r,{headers:e.headers}))}async queryVectors(r){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/QueryVectors`,r,{headers:e.headers}))}async deleteVectors(r){var e=this;if(r.keys.length<1||r.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/DeleteVectors`,r,{headers:e.headers})||{})}},kp=class extends Ws{constructor(r,e={},n){const s=r.replace(/\/$/,""),i=ne(ne({},Ni),{},{"Content-Type":"application/json"},e);super(s,i,n,"vectors")}async createBucket(r){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/CreateVectorBucket`,{vectorBucketName:r},{headers:e.headers})||{})}async getBucket(r){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/GetVectorBucket`,{vectorBucketName:r},{headers:e.headers}))}async listBuckets(r={}){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/ListVectorBuckets`,r,{headers:e.headers}))}async deleteBucket(r){var e=this;return e.handleOperation(async()=>await tr.post(e.fetch,`${e.url}/DeleteVectorBucket`,{vectorBucketName:r},{headers:e.headers})||{})}},Tp=class extends kp{constructor(r,e={}){super(r,e.headers||{},e.fetch)}from(r){return new Ep(this.url,this.headers,r,this.fetch)}async createBucket(r){var e=()=>super.createBucket,n=this;return e().call(n,r)}async getBucket(r){var e=()=>super.getBucket,n=this;return e().call(n,r)}async listBuckets(r={}){var e=()=>super.listBuckets,n=this;return e().call(n,r)}async deleteBucket(r){var e=()=>super.deleteBucket,n=this;return e().call(n,r)}},Ep=class extends Sp{constructor(r,e,n,s){super(r,e,s),this.vectorBucketName=n}async createIndex(r){var e=()=>super.createIndex,n=this;return e().call(n,ne(ne({},r),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(r={}){var e=()=>super.listIndexes,n=this;return e().call(n,ne(ne({},r),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(r){var e=()=>super.getIndex,n=this;return e().call(n,n.vectorBucketName,r)}async deleteIndex(r){var e=()=>super.deleteIndex,n=this;return e().call(n,n.vectorBucketName,r)}index(r){return new Cp(this.url,this.headers,this.vectorBucketName,r,this.fetch)}},Cp=class extends jp{constructor(r,e,n,s,i){super(r,e,i),this.vectorBucketName=n,this.indexName=s}async putVectors(r){var e=()=>super.putVectors,n=this;return e().call(n,ne(ne({},r),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(r){var e=()=>super.getVectors,n=this;return e().call(n,ne(ne({},r),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(r={}){var e=()=>super.listVectors,n=this;return e().call(n,ne(ne({},r),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(r){var e=()=>super.queryVectors,n=this;return e().call(n,ne(ne({},r),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(r){var e=()=>super.deleteVectors,n=this;return e().call(n,ne(ne({},r),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},Ip=class extends vp{constructor(r,e={},n,s){super(r,e,n,s)}from(r){return new bp(this.url,this.headers,r,this.fetch)}get vectors(){return new Tp(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new wp(this.url+"/iceberg",this.headers,this.fetch)}};const Rd="2.98.0",Ss=30*1e3,Eo=3,Ya=Eo*Ss,_p="http://localhost:9999",Ap="supabase.auth.token",Np={"X-Client-Info":`gotrue-js/${Rd}`},Co="X-Supabase-Api-Version",Od={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},Rp=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,Op=10*60*1e3;
58class ji extends Error{constructor(e,n,s){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=s}}function ee(r){return typeof r=="object"&&r!==null&&"__isAuthError"in r}class Fp extends ji{constructor(e,n,s){super(e,n,s),this.name="AuthApiError",this.status=n,this.code=s}}function Pp(r){return ee(r)&&r.name==="AuthApiError"}class Yn extends ji{constructor(e,n){super(e),this.name="AuthUnknownError",this.originalError=n}}class sn extends ji{constructor(e,n,s,i){super(e,s,i),this.name=n,this.status=s}}class Yt extends sn{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function Ja(r){return ee(r)&&r.name==="AuthSessionMissingError"}class hs extends sn{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Yi extends sn{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class Ji extends sn{constructor(e,n=null){super(e,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function Bp(r){return ee(r)&&r.name==="AuthImplicitGrantRedirectError"}class Ol extends sn{constructor(e,n=null){super(e,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class $p extends sn{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class Io extends sn{constructor(e,n){super(e,"AuthRetryableFetchError",n,void 0)}}function Xa(r){return ee(r)&&r.name==="AuthRetryableFetchError"}class Fl extends sn{constructor(e,n,s){super(e,"AuthWeakPasswordError",n,"weak_password"),this.reasons=s}}class _o extends sn{constructor(e){super(e,"AuthInvalidJwtError",400,"invalid_jwt")}}const va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),Pl=` 59\r=`.split(""),Lp=(()=>{const r=new Array(128);for(let e=0;e<r.length;e+=1)r[e]=-1;for(let e=0;e<Pl.length;e+=1)r[Pl[e].charCodeAt(0)]=-2;for(let e=0;e<va.length;e+=1)r[va[e].charCodeAt(0)]=e;return r})();function Bl(r,e,n){if(r!==null)for(e.queue=e.queue<<8|r,e.queuedBits+=8;e.queuedBits>=6;){const s=e.queue>>e.queuedBits-6&63;n(va[s]),e.queuedBits-=6}else if(e.queuedBits>0)for(e.queue=e.queue<<6-e.queuedBits,e.queuedBits=6;e.queuedBits>=6;){const s=e.queue>>e.queuedBits-6&63;n(va[s]),e.queuedBits-=6}}function Fd(r,e,n){const s=Lp[r];if(s>-1)for(e.queue=e.queue<<6|s,e.queuedBits+=6;e.queuedBits>=8;)n(e.queue>>e.queuedBits-8&255),e.queuedBits-=8;else{if(s===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(r)}"`)}}function $l(r){const e=[],n=o=>{e.push(String.fromCodePoint(o))},s={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},a=o=>{Mp(o,s,n)};for(let o=0;o<r.length;o+=1)Fd(r.charCodeAt(o),i,a);return e.join("")}function zp(r,e){if(r<=127){e(r);return}else if(r<=2047){e(192|r>>6),e(128|r&63);return}else if(r<=65535){e(224|r>>12),e(128|r>>6&63),e(128|r&63);return}else if(r<=1114111){e(240|r>>18),e(128|r>>12&63),e(128|r>>6&63),e(128|r&63);return}throw new Error(`Unrecognized Unicode codepoint: ${r.toString(16)}`)}function Dp(r,e){for(let n=0;n<r.length;n+=1){let s=r.charCodeAt(n);if(s>55295&&s<=56319){const i=(s-55296)*1024&65535;s=(r.charCodeAt(n+1)-56320&65535|i)+65536,n+=1}zp(s,e)}}function Mp(r,e,n){if(e.utf8seq===0){if(r<=127){n(r);return}for(let s=1;s<6;s+=1)if(!(r>>7-s&1)){e.utf8seq=s;break}if(e.utf8seq===2)e.codepoint=r&31;else if(e.utf8seq===3)e.codepoint=r&15;else if(e.utf8seq===4)e.codepoint=r&7;else throw new Error("Invalid UTF-8 sequence");e.utf8seq-=1}else if(e.utf8seq>0){if(r<=127)throw new Error("Invalid UTF-8 sequence");e.codepoint=e.codepoint<<6|r&63,e.utf8seq-=1,e.utf8seq===0&&n(e.codepoint)}}function Cs(r){const e=[],n={queue:0,queuedBits:0},s=i=>{e.push(i)};for(let i=0;i<r.length;i+=1)Fd(r.charCodeAt(i),n,s);return new Uint8Array(e)}function Wp(r){const e=[];return Dp(r,n=>e.push(n)),new Uint8Array(e)}function Xn(r){const e=[],n={queue:0,queuedBits:0},s=i=>{e.push(i)};return r.forEach(i=>
59Bl(i,n,s)),Bl(null,n,s),e.join("")}function Up(r){return Math.round(Date.now()/1e3)+r}function Hp(){return Symbol("auth-callback")}const Et=()=>typeof window<"u"&&typeof document<"u",Ln={tested:!1,writable:!1},Pd=()=>{if(!Et())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(Ln.tested)return Ln.writable;const r=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(r,r),globalThis.localStorage.removeItem(r),Ln.tested=!0,Ln.writable=!0}catch{Ln.tested=!0,Ln.writable=!1}return Ln.writable};function Vp(r){const e={},n=new URL(r);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((i,a)=>{e[a]=i})}catch{}return n.searchParams.forEach((s,i)=>{e[i]=s}),e}const Bd=r=>r?(...e)=>r(...e):(...e)=>fetch(...e),Gp=r=>typeof r=="object"&&r!==null&&"status"in r&&"ok"in r&&"json"in r&&typeof r.json=="function",js=async(r,e,n)=>{await r.setItem(e,JSON.stringify(n))},zn=async(r,e)=>{const n=await r.getItem(e);if(!n)return null;try{return JSON.parse(n)}catch{return n}},jt=async(r,e)=>{await r.removeItem(e)};class $a{constructor(){this.promise=new $a.promiseConstructor((e,n)=>{this.resolve=e,this.reject=n})}}$a.promiseConstructor=Promise;function Xi(r){const e=r.split(".");if(e.length!==3)throw new _o("Invalid JWT structure");for(let s=0;s<e.length;s++)if(!Rp.test(e[s]))throw new _o("JWT not in base64url format");return{header:JSON.parse($l(e[0])),payload:JSON.parse($l(e[1])),signature:Cs(e[2]),raw:{header:e[0],payload:e[1]}}}async function qp(r){return await new Promise(e=>{setTimeout(()=>e(null),r)})}function Kp(r,e){return new Promise((s,i)=>{(async()=>{for(let a=0;a<1/0;a++)try{const o=await r(a);if(!e(a,null,o)){s(o);return}}catch(o){if(!e(a,o)){i(o);return}}})()})}function Yp(r){return("0"+r.toString(16)).substr(-2)}function Jp(){const e=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",s=n.length;let i="";for(let a=0;a<56;a++)i+=n.charAt(Math.floor(Math.random()*s));return i}return crypto.getRandomValues(e),Array.from(e,Yp).join("")}async function Xp(r){const n=new TextEncoder().encode(r),s=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(s);return Array.from(i).map(a=>String.fromCharCode(a)).join("")}async function Zp(r){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return r;const n=await Xp(r);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function ms(r,e,n=!1){const s=Jp();let i=s;n&&(i+="/PASSWORD_RECOVERY"),await js(r,`${e}-code-verifier`,i);const a=await Zp(s);return[a,s===a?"plain":"s256"]}const Qp=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function eg(r){const e=r.headers.get(Co);if(!e||!e.match(Qp))return null;try{return new Date(`${e}T00:00:00.0Z`)}catch{return null}}function tg(r){if(!r)throw new Error("Missing exp claim");const e=Math.floor(Date.now()/1e3);if(r<=e)throw new Error("JWT has expired")}function rg(r){switch(r){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const ng=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function ps(r){if(!ng.test(r))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function Za(){const r={};return new Proxy(r,{get:(e,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const s=n.toString();if(s==="Symbol(Symbol.toPrimitive)"||s==="Symbol(Symbol.toStringTag)"||s==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(e,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(e,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function sg(r,e){return new Proxy(r,{get:(n,s,i)=>{if(s==="__isInsecureUserWarningProxy")return!0;
59if(typeof s=="symbol"){const a=s.toString();if(a==="Symbol(Symbol.toPrimitive)"||a==="Symbol(Symbol.toStringTag)"||a==="Symbol(util.inspect.custom)"||a==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,s,i)}return!e.value&&typeof s=="string"&&(e.value=!0),Reflect.get(n,s,i)}})}function Ll(r){return JSON.parse(JSON.stringify(r))}const Gn=r=>r.msg||r.message||r.error_description||r.error||JSON.stringify(r),ig=[502,503,504];async function zl(r){var e;if(!Gp(r))throw new Io(Gn(r),0);if(ig.includes(r.status))throw new Io(Gn(r),r.status);let n;try{n=await r.json()}catch(a){throw new Yn(Gn(a),a)}let s;const i=eg(r);if(i&&i.getTime()>=Od["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?s=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(s=n.error_code),s){if(s==="weak_password")throw new Fl(Gn(n),r.status,((e=n.weak_password)===null||e===void 0?void 0:e.reasons)||[]);if(s==="session_not_found")throw new Yt}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((a,o)=>a&&typeof o=="string",!0))throw new Fl(Gn(n),r.status,n.weak_password.reasons);throw new Fp(Gn(n),r.status||500,s)}const ag=(r,e,n,s)=>{const i={method:r,headers:e?.headers||{}};return r==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},e?.headers),i.body=JSON.stringify(s),Object.assign(Object.assign({},i),n))};async function se(r,e,n,s){var i;const a=Object.assign({},s?.headers);a[Co]||(a[Co]=Od["2024-01-01"].name),s?.jwt&&(a.Authorization=`Bearer ${s.jwt}`);const o=(i=s?.query)!==null&&i!==void 0?i:{};s?.redirectTo&&(o.redirect_to=s.redirectTo);const l=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",d=await og(r,e,n+l,{headers:a,noResolveJson:s?.noResolveJson},{},s?.body);return s?.xform?s?.xform(d):{data:Object.assign({},d),error:null}}async function og(r,e,n,s,i,a){const o=ag(e,s,i,a);let l;try{l=await r(n,Object.assign({},o))}catch(d){throw new Io(Gn(d),0)}if(l.ok||await zl(l),s?.noResolveJson)return l;try{return await l.json()}catch(d){await zl(d)}}function fr(r){var e;let n=null;dg(r)&&(n=Object.assign({},r),r.expires_at||(n.expires_at=Up(r.expires_in)));const s=(e=r.user)!==null&&e!==void 0?e:r;return{data:{session:n,user:s},error:null}}function Dl(r){const e=fr(r);return!e.error&&r.weak_password&&typeof r.weak_password=="object"&&Array.isArray(r.weak_password.reasons)&&r.weak_password.reasons.length&&r.weak_password.message&&typeof r.weak_password.message=="string"&&r.weak_password.reasons.reduce((n,s)=>n&&typeof s=="string",!0)&&(e.data.weak_password=r.weak_password),e}function Sn(r){var e;return{data:{user:(e=r.user)!==null&&e!==void 0?e:r},error:null}}function lg(r){return{data:r,error:null}}function cg(r){const{action_link:e,email_otp:n,hashed_token:s,redirect_to:i,verification_type:a}=r,o=Ra(r,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),l={action_link:e,email_otp:n,hashed_token:s,redirect_to:i,verification_type:a},d=Object.assign({},o);return{data:{properties:l,user:d},error:null}}function Ml(r){return r}function dg(r){return r.access_token&&r.refresh_token&&r.expires_in}const Qa=["global","local","others"];class ug{constructor({url:e="",headers:n={},fetch:s}){this.url=e,this.headers=n,this.fetch=Bd(s),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(e,n=Qa[0]){if(Qa.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${Qa.join(", ")}`);try{return await se(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(s){if(ee(s))return{data:null,error:s};throw s}}async inviteUserByEmail(e,n={}){try{return await se(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Sn})}catch(s){if(ee(s))return{data:{user:null},error:s};throw s}}async generateLink(e){try{const{options:n}=e,s=Ra(e,["options"]),i=Object.assign(Object.assign({},s),n);return"newEmail"in s&&(i.new_email=s?.newEmail,delete i.newEmail),await se(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:cg,redirectTo:n?.redirectTo})}catch(n){if(ee(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(e){try{return await se(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:Sn})}catch(n){if(ee(n))return{data:{user:null},error:n};throw n}}async listUsers(e){var n,s,i,a,o,l,d;try{const c={nextPage:null,lastPage:0,total:0},u=await se(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(s=(n=e?.page)===null||n===void 0?void 0:n.toString())!==null&&s!==void 0?s:"",per_page:(a=(i=e?.perPage)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:""},xform:Ml});if(u.error)throw u.error;const h=await u.json(),p=(o=u.headers.get("x-total-count"))!==null&&o!==void 0?o:0,m=(d=(l=u.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&d!==void 0?d:[];return m.length>0&&(m.forEach(f=>{const g=parseInt(f.split(";")[0].split("=")[1].substring(0,1)),v=JSON.parse(f.split(";")[1].split("=")[1]);c[`${v}Page`]=g}),c.total=parseInt(p)),{data:Object.assign(Object.assign({},h),c),error:null}}catch(c){if(ee(c))return{data:{users:[]},error:c};throw c}}async getUserById(e){ps(e);try{return await se(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:Sn})}catch(n){if(ee(n))return{data:{user:null},error:n};throw n}}async updateUserById(e,n){ps(e);try{return await se(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:n,headers:this.headers,xform:Sn})}catch(s){if(ee(s))return{data:{user:null},error:s};throw s}}async deleteUser(e,n=!1){ps(e);
59try{return await se(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:n},xform:Sn})}catch(s){if(ee(s))return{data:{user:null},error:s};throw s}}async _listFactors(e){ps(e.userId);try{const{data:n,error:s}=await se(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:n,error:s}}catch(n){if(ee(n))return{data:null,error:n};throw n}}async _deleteFactor(e){ps(e.userId),ps(e.id);try{return{data:await se(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(n){if(ee(n))return{data:null,error:n};throw n}}async _listOAuthClients(e){var n,s,i,a,o,l,d;try{const c={nextPage:null,lastPage:0,total:0},u=await se(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(s=(n=e?.page)===null||n===void 0?void 0:n.toString())!==null&&s!==void 0?s:"",per_page:(a=(i=e?.perPage)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:""},xform:Ml});if(u.error)throw u.error;const h=await u.json(),p=(o=u.headers.get("x-total-count"))!==null&&o!==void 0?o:0,m=(d=(l=u.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&d!==void 0?d:[];return m.length>0&&(m.forEach(f=>{const g=parseInt(f.split(";")[0].split("=")[1].substring(0,1)),v=JSON.parse(f.split(";")[1].split("=")[1]);c[`${v}Page`]=g}),c.total=parseInt(p)),{data:Object.assign(Object.assign({},h),c),error:null}}catch(c){if(ee(c))return{data:{clients:[]},error:c};throw c}}async _createOAuthClient(e){try{return await se(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:e,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(ee(n))return{data:null,error:n};throw n}}async _getOAuthClient(e){try{return await se(this.fetch,"GET",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(ee(n))return{data:null,error:n};throw n}}async _updateOAuthClient(e,n){try{return await se(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${e}`,{body:n,headers:this.headers,xform:s=>({data:s,error:null})})}catch(s){if(ee(s))return{data:null,error:s};throw s}}async _deleteOAuthClient(e){try{return await se(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(ee(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(e){try{return await se(this.fetch,"POST",`${this.url}/admin/oauth/clients/${e}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(ee(n))return{data:null,error:n};throw n}}}function Wl(r={}){return{getItem:e=>r[e]||null,setItem:(e,n)=>{r[e]=n},removeItem:e=>{delete r[e]}}}const Wr={debug:!!(globalThis&&Pd()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class $d extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class hg extends $d{}async function mg(r,e,n){Wr.debug;const s=new globalThis.AbortController;e>0&&setTimeout(()=>{s.abort(),Wr.debug},e),await Promise.resolve();try{return await globalThis.navigator.locks.request(r,e===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:s.signal},async i=>{if(i){Wr.debug;try{return await n()}finally{Wr.debug}}else{if(e===0)throw Wr.debug,new hg(`Acquiring an exclusive Navigator LockManager lock "${r}" immediately failed`);if(Wr.debug)try{const a=await globalThis.navigator.locks.query()}catch{}return await n()}})}catch(i){if(i?.name==="AbortError"&&e>0)return Wr.debug,await Promise.resolve().then(()=>globalThis.navigator.locks.request(r,{mode:"exclusive",steal:!0},async a=>{if(a){Wr.debug;try{return await n()}finally{Wr.debug}}else return await n()}));throw i}}function pg(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function Ld(r){if(!/^0x[a-fA-F0-9]{40}$/.test(r))throw new Error(`@supabase/auth-js: Address "${r}
59" is invalid.`);return r.toLowerCase()}function gg(r){return parseInt(r,16)}function fg(r){const e=new TextEncoder().encode(r);return"0x"+Array.from(e,s=>s.toString(16).padStart(2,"0")).join("")}function yg(r){var e;const{chainId:n,domain:s,expirationTime:i,issuedAt:a=new Date,nonce:o,notBefore:l,requestId:d,resources:c,scheme:u,uri:h,version:p}=r;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!s)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(o&&o.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${o}`);if(!h)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(p!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${p}`);if(!((e=r.statement)===null||e===void 0)&&e.includes(` 60`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${r.statement}`)}const m=Ld(r.address),f=u?`${u}://${s}`:s,g=r.statement?`${r.statement} 61`:"",v=`${f} wants you to sign in with your Ethereum account: 62${m} 63 64${g}`;let j=`URI: ${h} 65Version: ${p} 66Chain ID: ${n}${o?` 67Nonce: ${o}`:""} 68Issued At: ${a.toISOString()}`;if(i&&(j+=` 69Expiration Time: ${i.toISOString()}`),l&&(j+=` 70Not Before: ${l.toISOString()}`),d&&(j+=` 71Request ID: ${d}`),c){let x=` 72Resources:`;for(const w of c){if(!w||typeof w!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${w}`);x+=` 73- ${w}`}j+=x}return`${v} 74${j}`}class ut extends Error{constructor({message:e,code:n,cause:s,name:i}){var a;super(e,{cause:s}),this.__isWebAuthnError=!0,this.name=(a=i??(s instanceof Error?s.name:void 0))!==null&&a!==void 0?a:"Unknown Error",this.code=n}}class wa extends ut{constructor(e,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:e}),this.name="WebAuthnUnknownError",this.originalError=n}}function bg({error:r,options:e}){var n,s,i;const{publicKey:a}=e;if(!a)throw Error("options was missing required publicKey property");if(r.name==="AbortError"){if(e.signal instanceof AbortSignal)return new ut({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:r})}else if(r.name==="ConstraintError"){if(((n=a.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new ut({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:r});if(e.mediation==="conditional"&&((s=a.authenticatorSelection)===null||s===void 0?void 0:s.userVerification)==="required")return new ut({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:r});if(((i=a.authenticatorSelection)===null||i===void 0?void 0:i.userVerification)==="required")return new ut({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:r})}else{if(r.name==="InvalidStateError")return new ut({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:r});if(r.name==="NotAllowedError")return new ut({message:r.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:r});if(r.name==="NotSupportedError")return a.pubKeyCredParams.filter(l=>l.type==="public-key").length===0?new ut({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:r}):new ut({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:r});if(r.name==="SecurityError"){const o=window.location.hostname;if(zd(o)){if(a.rp.id!==o)return new ut({message:`The RP ID "${a.rp.id}
74" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:r})}else return new ut({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:r})}else if(r.name==="TypeError"){if(a.user.id.byteLength<1||a.user.id.byteLength>64)return new ut({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:r})}else if(r.name==="UnknownError")return new ut({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:r})}return new ut({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:r})}function xg({error:r,options:e}){const{publicKey:n}=e;if(!n)throw Error("options was missing required publicKey property");if(r.name==="AbortError"){if(e.signal instanceof AbortSignal)return new ut({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:r})}else{if(r.name==="NotAllowedError")return new ut({message:r.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:r});if(r.name==="SecurityError"){const s=window.location.hostname;if(zd(s)){if(n.rpId!==s)return new ut({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:r})}else return new ut({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:r})}else if(r.name==="UnknownError")return new ut({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:r})}return new ut({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:r})}class vg{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){const e=new Error("Manually cancelling existing WebAuthn API call");e.name="AbortError",this.controller.abort(e),this.controller=void 0}}}const wg=new vg;function Sg(r){if(!r)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(r);const{challenge:e,user:n,excludeCredentials:s}=r,i=Ra(r,["challenge","user","excludeCredentials"]),a=Cs(e).buffer,o=Object.assign(Object.assign({},n),{id:Cs(n.id).buffer}),l=Object.assign(Object.assign({},i),{challenge:a,user:o});if(s&&s.length>0){l.excludeCredentials=new Array(s.length);for(let d=0;d<s.length;d++){const c=s[d];l.excludeCredentials[d]=Object.assign(Object.assign({},c),{id:Cs(c.id).buffer,type:c.type||"public-key",transports:c.transports})}}return l}function jg(r){if(!r)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(r);const{challenge:e,allowCredentials:n}=r,s=Ra(r,["challenge","allowCredentials"]),i=Cs(e).buffer,a=Object.assign(Object.assign({},s),{challenge:i});if(n&&n.length>0){a.allowCredentials=new Array(n.length);for(let o=0;o<n.length;o++){const l=n[o];a.allowCredentials[o]=Object.assign(Object.assign({},l),{id:Cs(l.id).buffer,type:l.type||"public-key",transports:l.transports})}}return a}function kg(r){var e;if("toJSON"in r&&typeof r.toJSON=="function")return r.toJSON();const n=r;return{id:r.id,rawId:r.id,response:{attestationObject:Xn(new Uint8Array(r.response.attestationObject)),clientDataJSON:Xn(new Uint8Array(r.response.clientDataJSON))},type:"public-key",clientExtensionResults:r.getClientExtensionResults(),authenticatorAttachment:(e=n.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function Tg(r){var e;if("toJSON"in r&&typeof r.toJSON=="function")return r.toJSON();const n=r,s=r.getClientExtensionResults(),i=r.response;return{id:r.id,rawId:r.id,response:{authenticatorData:Xn(new Uint8Array(i.authenticatorData)),clientDataJSON:Xn(new Uint8Array(i.clientDataJSON)),signature:Xn(new Uint8Array(i.signature)),userHandle:i.userHandle?Xn(new Uint8Array(i.userHandle)):void 0},type:"public-key",clientExtensionResults:s,authenticatorAttachment:(e=n.authenticatorAttachment)!==null&&e!==void 0?e:void 0}}function zd(r){return r==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(r)}function Ul(){var r,e;return!!(Et()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((r=navigator?.credentials)===null||r===void 0?void 0:r.create)=="function"&&typeof((e=navigator?.credentials)===null||e===void 0?void 0:e.get)=="function")}async function Eg(r){try{const e=await navigator.credentials.create(r);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new wa("Browser returned unexpected credential type",e)}:{data:null,error:new wa("Empty credential response",e)}}catch(e){return{data:null,error:bg({error:e,options:r})}}}async function Cg(r){try{const e=await navigator.credentials.get(r);return e?e instanceof PublicKeyCredential?{data:e,error:null}:{data:null,error:new wa("Browser returned unexpected credential type",e)}:{data:null,error:new wa("Empty credential response",e)}}catch(e){return{data:null,error:xg({error:e,options:r})}}}const Ig={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},_g={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function Sa(...r){const e=i=>i!==null&&typeof i=="object"&&!Array.isArray(i),n=i=>i instanceof ArrayBuffer||ArrayBuffer.isView(i),s={};for(const i of r)if(i)for(const a in i){const o=i[a];if(o!==void 0)if(Array.isArray(o))s[a]=o;else if(n(o))s[a]=o;else if(e(o)){const l=s[a];e(l)?s[a]=Sa(l,o):s[a]=Sa(o)}else s[a]=o}return s}function Ag(r,e){return Sa(Ig,r,e||{})}function Ng(r,e){return Sa(_g,r,e||{})}class Rg{constructor(e){this.client=e,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(e){return this.client.mfa.enroll(Object.assign(Object.assign({},e),{factorType:"webauthn"}))}async _challenge({factorId:e,webauthn:n,friendlyName:s,signal:i},a){var o;try{const{data:l,error:d}=await this.client.mfa.challenge({factorId:e,webauthn:n});if(!l)return{data:null,error:d};const c=i??wg.createNewAbortSignal();if(l.webauthn.type==="create"){const{user:u}=l.webauthn.credential_options.publicKey;if(!u.name){const h=s;if(h)u.name=`${u.id}:${h}`;else{const m=(await this.client.getUser()).data.user,f=((o=m?.user_metadata)===null||o===void 0?void 0:o.name)||m?.email||m?.id||"User";u.name=`${u.id}:${f}`}}u.displayName||(u.displayName=u.name)}
74switch(l.webauthn.type){case"create":{const u=Ag(l.webauthn.credential_options.publicKey,a?.create),{data:h,error:p}=await Eg({publicKey:u,signal:c});return h?{data:{factorId:e,challengeId:l.id,webauthn:{type:l.webauthn.type,credential_response:h}},error:null}:{data:null,error:p}}case"request":{const u=Ng(l.webauthn.credential_options.publicKey,a?.request),{data:h,error:p}=await Cg(Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:u,signal:c}));return h?{data:{factorId:e,challengeId:l.id,webauthn:{type:l.webauthn.type,credential_response:h}},error:null}:{data:null,error:p}}}}catch(l){return ee(l)?{data:null,error:l}:{data:null,error:new Yn("Unexpected error in challenge",l)}}}async _verify({challengeId:e,factorId:n,webauthn:s}){return this.client.mfa.verify({factorId:n,challengeId:e,webauthn:s})}async _authenticate({factorId:e,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:s=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},a){if(!n)return{data:null,error:new ji("rpId is required for WebAuthn authentication")};try{if(!Ul())return{data:null,error:new Yn("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this.challenge({factorId:e,webauthn:{rpId:n,rpOrigins:s},signal:i},{request:a});if(!o)return{data:null,error:l};const{webauthn:d}=o;return this._verify({factorId:e,challengeId:o.challengeId,webauthn:{type:d.type,rpId:n,rpOrigins:s,credential_response:d.credential_response}})}catch(o){return ee(o)?{data:null,error:o}:{data:null,error:new Yn("Unexpected error in authenticate",o)}}}async _register({friendlyName:e,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:s=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},a){if(!n)return{data:null,error:new ji("rpId is required for WebAuthn registration")};try{if(!Ul())return{data:null,error:new Yn("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this._enroll({friendlyName:e});if(!o)return await this.client.mfa.listFactors().then(u=>{var h;return(h=u.data)===null||h===void 0?void 0:h.all.find(p=>p.factor_type==="webauthn"&&p.friendly_name===e&&p.status!=="unverified")}).then(u=>u?this.client.mfa.unenroll({factorId:u?.id}):void 0),{data:null,error:l};const{data:d,error:c}=await this._challenge({factorId:o.id,friendlyName:o.friendly_name,webauthn:{rpId:n,rpOrigins:s},signal:i},{create:a});return d?this._verify({factorId:o.id,challengeId:d.challengeId,webauthn:{rpId:n,rpOrigins:s,type:d.webauthn.type,credential_response:d.webauthn.credential_response}}):{data:null,error:c}}catch(o){return ee(o)?{data:null,error:o}:{data:null,error:new Yn("Unexpected error in register",o)}}}}pg();const Og={url:_p,storageKey:Ap,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:Np,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1};async function Hl(r,e,n){return await n()}const gs={};class ki{get jwks(){var e,n;return(n=(e=gs[this.storageKey])===null||e===void 0?void 0:e.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(e){gs[this.storageKey]=Object.assign(Object.assign({},gs[this.storageKey]),{jwks:e})}get jwks_cached_at(){var e,n;return(n=(e=gs[this.storageKey])===null||e===void 0?void 0:e.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(e){gs[this.storageKey]=Object.assign(Object.assign({},gs[this.storageKey]),{cachedAt:e})}constructor(e){var n,s,i;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const a=Object.assign(Object.assign({},Og),e);if(this.storageKey=a.storageKey,this.instanceID=(n=ki.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,ki.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!a.debug,typeof a.debug=="function"&&(this.logger=a.debug),this.instanceID>0&&Et()){const o=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;this.logDebugMessages}if(this.persistSession=a.persistSession,this.autoRefreshToken=a.autoRefreshToken,this.admin=new ug({url:a.url,headers:a.headers,fetch:a.fetch}),this.url=a.url,this.headers=a.headers,this.fetch=Bd(a.fetch),this.lock=a.lock||Hl,this.detectSessionInUrl=a.detectSessionInUrl,this.flowType=a.flowType,this.hasCustomAuthorizationHeader=a.hasCustomAuthorizationHeader,this.throwOnError=a.throwOnError,this.lockAcquireTimeout=a.lockAcquireTimeout,a.lock?this.lock=a.lock:this.persistSession&&Et()&&(!((s=globalThis?.navigator)===null||s===void 0)&&s.locks)?this.lock=mg:this.lock=Hl,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new Rg(this)}
74,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(a.storage?this.storage=a.storage:Pd()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=Wl(this.memoryStorage)),a.userStorage&&(this.userStorage=a.userStorage)):(this.memoryStorage={},this.storage=Wl(this.memoryStorage)),Et()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch{}(i=this.broadcastChannel)===null||i===void 0||i.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o);try{await this._notifyAllSubscribers(o.data.event,o.data.session,!1)}catch(l){this._debug("#broadcastChannel","error",l)}})}a.skipAutoInitialize||this.initialize().catch(o=>{this._debug("#initialize()","error",o)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(e){if(this.throwOnError&&e&&e.error)throw e.error;return e}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${Rd}) ${new Date().toISOString()}`}_debug(...e){return this.logDebugMessages&&this.logger(this._logPrefix(),...e),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var e;try{let n={},s="none";if(Et()&&(n=Vp(window.location.href),this._isImplicitGrantCallback(n)?s="implicit":await this._isPKCECallback(n)&&(s="pkce")),Et()&&this.detectSessionInUrl&&s!=="none"){const{data:i,error:a}=await this._getSessionFromURL(n,s);if(a){if(this._debug("#_initialize()","error detecting session from URL",a),Bp(a)){const d=(e=a.details)===null||e===void 0?void 0:e.code;if(d==="identity_already_exists"||d==="identity_not_found"||d==="single_identity_not_deletable")return{error:a}}return{error:a}}const{session:o,redirectType:l}=i;return this._debug("#_initialize()","detected session in URL",o,"redirect type",l),await this._saveSession(o),setTimeout(async()=>{l==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return ee(n)?this._returnResult({error:n}):this._returnResult({error:new Yn("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var n,s,i;try{const a=await se(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(s=(n=e?.options)===null||n===void 0?void 0:n.data)!==null&&s!==void 0?s:{},gotrue_meta_security:{captcha_token:(i=e?.options)===null||i===void 0?void 0:i.captchaToken}},xform:fr}),{data:o,error:l}=a;if(l||!o)return this._returnResult({data:{user:null,session:null},error:l});const d=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",d)),this._returnResult({data:{user:c,session:d},error:null})}catch(a){if(ee(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async signUp(e){var n,s,i;try{let a;if("email"in e){const{email:u,password:h,options:p}=e;let m=null,f=null;this.flowType==="pkce"&&([m,f]=await ms(this.storage,this.storageKey)),a=await se(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:p?.emailRedirectTo,body:{email:u,password:h,data:(n=p?.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:p?.captchaToken},code_challenge:m,code_challenge_method:f},xform:fr})}else if("phone"in e){const{phone:u,password:h,options:p}=e;a=await se(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:u,password:h,data:(s=p?.data)!==null&&s!==void 0?s:{},channel:(i=p?.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:p?.captchaToken}},xform:fr})}else throw new Yi("You must provide either an email or phone number and a password");const{data:o,error:l}=a;if(l||!o)return await jt(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:l});const d=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",d)),this._returnResult({data:{user:c,session:d},error:null})}catch(a){if(await jt(this.storage,`${this.storageKey}-code-verifier`),ee(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async signInWithPassword(e){try{let n;if("email"in e){const{email:a,password:o,options:l}=e;n=await se(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:a,password:o,gotrue_meta_security:{captcha_token:l?.captchaToken}},xform:Dl})}else if("phone"in e){const{phone:a,password:o,options:l}=e;n=await se(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:a,password:o,gotrue_meta_security:{captcha_token:l?.captchaToken}},xform:Dl})}else throw new Yi("You must provide either an email or phone number and a password");const{data:s,error:i}=n;if(i)return this._returnResult({data:{user:null,session:null},error:i});if(!s||!s.session||!s.user){const a=new hs;return this._returnResult({data:{user:null,session:null},error:a})}return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",s.session)),this._returnResult({data:Object.assign({user:s.user,session:s.session},s.weak_password?{weakPassword:s.weak_password}:null),error:i})}catch(n){if(ee(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(e){var n,s,i,a;return await this._handleProviderSignIn(e.provider,{redirectTo:(n=e.options)===null||n===void 0?void 0:n.redirectTo,scopes:(s=e.options)===null||s===void 0?void 0:s.scopes,queryParams:(i=e.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(a=e.options)===null||a===void 0?void 0:a.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(e))}async signInWithWeb3(e){const{chain:n}=e;switch(n){case"ethereum":return await this.signInWithEthereum(e);case"solana":return await this.signInWithSolana(e);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(e){var n,s,i,a,o,l,d,c,u,h,p;let m,f;if("message"in e)m=e.message,f=e.signature;else{const{chain:g,wallet:v,statement:j,options:x}=e;let w;if(Et())if(typeof v=="object")w=v;else{const J=window;if("ethereum"in J&&typeof J.ethereum=="object"&&"request"in J.ethereum&&typeof J.ethereum.request=="function")w=J.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof v!="object"||!x?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");w=v}const I=new URL((n=x?.url)!==null&&n!==void 0?n:window.location.href),R=await w.request({method:"eth_requestAccounts"}).then(J=>J).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!R||R.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const L=Ld(R[0]);let P=(s=x?.signInWithEthereum)===null||s===void 0?void 0:s.chainId;if(!P){const J=await w.request({method:"eth_chainId"});P=gg(J)}const pe={domain:I.host,address:L,statement:j,uri:I.href,version:"1",chainId:P,nonce:(i=x?.signInWithEthereum)===null||i===void 0?void 0:i.nonce,issuedAt:(o=(a=x?.signInWithEthereum)===null||a===void 0?void 0:a.issuedAt)!==null&&o!==void 0?o:new Date,expirationTime:(l=x?.signInWithEthereum)===null||l===void 0?void 0:l.expirationTime,notBefore:(d=x?.signInWithEthereum)===null||d===void 0?void 0:d.notBefore,requestId:(c=x?.signInWithEthereum)===null||c===void 0?void 0:c.requestId,resources:(u=x?.signInWithEthereum)===null||u===void 0?void 0:u.resources};m=yg(pe),f=await w.request({method:"personal_sign",params:[fg(m),L]})}try{const{data:g,error:v}=await se(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:m,signature:f}
74,!((h=e.options)===null||h===void 0)&&h.captchaToken?{gotrue_meta_security:{captcha_token:(p=e.options)===null||p===void 0?void 0:p.captchaToken}}:null),xform:fr});if(v)throw v;if(!g||!g.session||!g.user){const j=new hs;return this._returnResult({data:{user:null,session:null},error:j})}return g.session&&(await this._saveSession(g.session),await this._notifyAllSubscribers("SIGNED_IN",g.session)),this._returnResult({data:Object.assign({},g),error:v})}catch(g){if(ee(g))return this._returnResult({data:{user:null,session:null},error:g});throw g}}async signInWithSolana(e){var n,s,i,a,o,l,d,c,u,h,p,m;let f,g;if("message"in e)f=e.message,g=e.signature;else{const{chain:v,wallet:j,statement:x,options:w}=e;let I;if(Et())if(typeof j=="object")I=j;else{const L=window;if("solana"in L&&typeof L.solana=="object"&&("signIn"in L.solana&&typeof L.solana.signIn=="function"||"signMessage"in L.solana&&typeof L.solana.signMessage=="function"))I=L.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof j!="object"||!w?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");I=j}const R=new URL((n=w?.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in I&&I.signIn){const L=await I.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},w?.signInWithSolana),{version:"1",domain:R.host,uri:R.href}),x?{statement:x}:null));let P;if(Array.isArray(L)&&L[0]&&typeof L[0]=="object")P=L[0];else if(L&&typeof L=="object"&&"signedMessage"in L&&"signature"in L)P=L;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in P&&"signature"in P&&(typeof P.signedMessage=="string"||P.signedMessage instanceof Uint8Array)&&P.signature instanceof Uint8Array)f=typeof P.signedMessage=="string"?P.signedMessage:new TextDecoder().decode(P.signedMessage),g=P.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in I)||typeof I.signMessage!="function"||!("publicKey"in I)||typeof I!="object"||!I.publicKey||!("toBase58"in I.publicKey)||typeof I.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");f=[`${R.host} wants you to sign in with your Solana account:`,I.publicKey.toBase58(),...x?["",x,""]:[""],"Version: 1",`URI: ${R.href}`,`Issued At: ${(i=(s=w?.signInWithSolana)===null||s===void 0?void 0:s.issuedAt)!==null&&i!==void 0?i:new Date().toISOString()}`,...!((a=w?.signInWithSolana)===null||a===void 0)&&a.notBefore?[`Not Before: ${w.signInWithSolana.notBefore}`]:[],...!((o=w?.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${w.signInWithSolana.expirationTime}`]:[],...!((l=w?.signInWithSolana)===null||l===void 0)&&l.chainId?[`Chain ID: ${w.signInWithSolana.chainId}`]:[],...!((d=w?.signInWithSolana)===null||d===void 0)&&d.nonce?[`Nonce: ${w.signInWithSolana.nonce}`]:[],...!((c=w?.signInWithSolana)===null||c===void 0)&&c.requestId?[`Request ID: ${w.signInWithSolana.requestId}`]:[],...!((h=(u=w?.signInWithSolana)===null||u===void 0?void 0:u.resources)===null||h===void 0)&&h.length?["Resources",...w.signInWithSolana.resources.map(P=>`- ${P}`)]:[]].join(` 75`);const L=await I.signMessage(new TextEncoder().encode(f),"utf8");if(!L||!(L instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");g=L}}try{const{data:v,error:j}=await se(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:f,signature:Xn(g)},!((p=e.options)===null||p===void 0)&&p.captchaToken?{gotrue_meta_security:{captcha_token:(m=e.options)===null||m===void 0?void 0:m.captchaToken}}:null),xform:fr});if(j)throw j;if(!v||!v.session||!v.user){const x=new hs;return this._returnResult({data:{user:null,session:null},error:x})}return v.session&&(await this._saveSession(v.session),await this._notifyAllSubscribers("SIGNED_IN",v.session)),this._returnResult({data:Object.assign({},v),error:j})}catch(v){if(ee(v))return this._returnResult({data:{user:null,session:null},error:v});throw v}}async _exchangeCodeForSession(e){const n=await zn(this.storage,`${this.storageKey}-code-verifier`),[s,i]=(n??"").split("/");try{if(!s&&this.flowType==="pkce")throw new $p;const{data:a,error:o}=await se(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:s},xform:fr});if(await jt(this.storage,`${this.storageKey}-code-verifier`),o)throw o;if(!a||!a.session||!a.user){const l=new hs;return this._returnResult({data:{user:null,session:null,redirectType:null},error:l})}return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",a.session)),this._returnResult({data:Object.assign(Object.assign({},a),{redirectType:i??null}),error:o})}catch(a){if(await jt(this.storage,`${this.storageKey}-code-verifier`),ee(a))return this._returnResult({data:{user:null,session:null,redirectType:null},error:a});throw a}}async signInWithIdToken(e){try{const{options:n,provider:s,token:i,access_token:a,nonce:o}=e,l=await se(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:s,id_token:i,access_token:a,nonce:o,gotrue_meta_security:{captcha_token:n?.captchaToken}},xform:fr}),{data:d,error:c}=l;if(c)return this._returnResult({data:{user:null,session:null},error:c});if(!d||!d.session||!d.user){const u=new hs;return this._returnResult({data:{user:null,session:null},error:u})}return d.session&&(await this._saveSession(d.session),await this._notifyAllSubscribers("SIGNED_IN",d.session)),this._returnResult({data:d,error:c})}catch(n){if(ee(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(e){var n,s,i,a,o;try{if("email"in e){const{email:l,options:d}=e;let c=null,u=null;this.flowType==="pkce"&&([c,u]=await ms(this.storage,this.storageKey));const{error:h}=await se(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:l,data:(n=d?.data)!==null&&n!==void 0?n:{},create_user:(s=d?.shouldCreateUser)!==null&&s!==void 0?s:!0,gotrue_meta_security:{captcha_token:d?.captchaToken},code_challenge:c,code_challenge_method:u},redirectTo:d?.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:h})}if("phone"in e){const{phone:l,options:d}=e,{data:c,error:u}=await se(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:l,data:(i=d?.data)!==null&&i!==void 0?i:{},create_user:(a=d?.shouldCreateUser)!==null&&a!==void 0?a:!0,gotrue_meta_security:{captcha_token:d?.captchaToken},channel:(o=d?.channel)!==null&&o!==void 0?o:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:c?.message_id},error:u})}throw new Yi("You must provide either an email or phone number.")}catch(l){if(await jt(this.storage,`${this.storageKey}-code-verifier`),ee(l))return this._returnResult({data:{user:null,session:null},error:l});throw l}}async verifyOtp(e){var n,s;try{let i,a;"options"in e&&(i=(n=e.options)===null||n===void 0?void 0:n.redirectTo,a=(s=e.options)===null||s===void 0?void 0:s.captchaToken);const{data:o,error:l}=await se(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:a}}),redirectTo:i,xform:fr});if(l)throw l;if(!o)throw new Error("An error occurred on token verification.");const d=o.session,c=o.user;return d?.access_token&&(await this._saveSession(d),await this._notifyAllSubscribers(e.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",d)),this._returnResult({data:{user:c,session:d},error:null})}catch(i){if(ee(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithSSO(e){var n,s,i,a,o;try{let l=null,d=null;this.flowType==="pkce"&&([l,d]=await ms(this.storage,this.storageKey));const c=await se(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:(s=(n=e.options)===null||n===void 0?void 0:n.redirectTo)!==null&&s!==void 0?s:void 0}),!((i=e?.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:l,code_challenge_method:d}),headers:this.headers,xform:lg});return!((a=c.data)===null||a===void 0)&&a.url&&Et()&&!(!((o=e.options)===null||o===void 0)&&o.skipBrowserRedirect)&&window.location.assign(c.data.url),this._returnResult(c)}catch(l){if(await jt(this.storage,`${this.storageKey}-code-verifier`),ee(l))return this._returnResult({data:null,error:l});throw l}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{const{data:{session:n},error:s}=e;if(s)throw s;if(!n)throw new Yt;const{error:i}=await se(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:i})})}catch(e){if(ee(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async resend(e){try{const n=`${this.url}/resend`;if("email"in e){const{email:s,type:i,options:a}=e,{error:o}=await se(this.fetch,"POST",n,{headers:this.headers,body:{email:s,type:i,gotrue_meta_security:{captcha_token:a?.captchaToken}},redirectTo:a?.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:o})}else if("phone"in e){const{phone:s,type:i,options:a}=e,{data:o,error:l}=await se(this.fetch,"POST",n,{headers:this.headers,body:{phone:s,type:i,gotrue_meta_security:{captcha_token:a?.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:o?.message_id},error:l})}throw new Yi("You must provide either an email or phone number and a type")}catch(n){if(ee(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async n=>n))}async _acquireLock(e,n){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){const s=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),i=(async()=>(await s,await n()))();return this.pendingInLock.push((async()=>{try{await i}catch{}})()),i}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const s=n();for(this.pendingInLock.push((async()=>{try{await s}catch{}})()),await s;this.pendingInLock.length;){const i=[...this.pendingInLock];await Promise.all(i),this.pendingInLock.splice(0,i.length)}return await s}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await e(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let e=null;const n=await zn(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?e=n:(this._debug("#getSession()","session from storage is not val
75id"),await this._removeSession())),!e)return{data:{session:null},error:null};const s=e.expires_at?e.expires_at*1e3-Date.now()<Ya:!1;if(this._debug("#__loadSession()",`session has${s?"":" not"} expired`,"expires_at",e.expires_at),!s){if(this.userStorage){const o=await zn(this.userStorage,this.storageKey+"-user");o?.user?e.user=o.user:e.user=Za()}if(this.storage.isServer&&e.user&&!e.user.__isUserNotAvailableProxy){const o={value:this.suppressGetSessionWarning};e.user=sg(e.user,o),o.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:e},error:null}}const{data:i,error:a}=await this._callRefreshToken(e.refresh_token);return a?this._returnResult({data:{session:null},error:a}):this._returnResult({data:{session:i},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(e){if(e)return await this._getUser(e);await this.initializePromise;const n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser());return n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(e){try{return e?await se(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:Sn}):await this._useSession(async n=>{var s,i,a;const{data:o,error:l}=n;if(l)throw l;return!(!((s=o.session)===null||s===void 0)&&s.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Yt}:await se(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(a=(i=o.session)===null||i===void 0?void 0:i.access_token)!==null&&a!==void 0?a:void 0,xform:Sn})})}catch(n){if(ee(n))return Ja(n)&&(await this._removeSession(),await jt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(e,n={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(e,n))}async _updateUser(e,n={}){try{return await this._useSession(async s=>{const{data:i,error:a}=s;
75if(a)throw a;if(!i.session)throw new Yt;const o=i.session;let l=null,d=null;this.flowType==="pkce"&&e.email!=null&&([l,d]=await ms(this.storage,this.storageKey));const{data:c,error:u}=await se(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n?.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:l,code_challenge_method:d}),jwt:o.access_token,xform:Sn});if(u)throw u;return o.user=c.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),this._returnResult({data:{user:o.user},error:null})})}catch(s){if(await jt(this.storage,`${this.storageKey}-code-verifier`),ee(s))return this._returnResult({data:{user:null},error:s});throw s}}async setSession(e){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new Yt;const n=Date.now()/1e3;let s=n,i=!0,a=null;const{payload:o}=Xi(e.access_token);if(o.exp&&(s=o.exp,i=s<=n),i){const{data:l,error:d}=await this._callRefreshToken(e.refresh_token);if(d)return this._returnResult({data:{user:null,session:null},error:d});if(!l)return{data:{user:null,session:null},error:null};a=l}else{const{data:l,error:d}=await this._getUser(e.access_token);if(d)return this._returnResult({data:{user:null,session:null},error:d});a={access_token:e.access_token,refresh_token:e.refresh_token,user:l.user,token_type:"bearer",expires_in:s-n,expires_at:s},await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)}return this._returnResult({data:{user:a.user,session:a},error:null})}catch(n){if(ee(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async n=>{var s;if(!e){const{data:o,error:l}=n;if(l)throw l;e=(s=o.session)!==null&&s!==void 0?s:void 0}if(!e?.refresh_token)throw new Yt;const{data:i,error:a}=await this._callRefreshToken(e.refresh_token);return a?this._returnResult({data:{user:null,session:null},error:a}):i?this._returnResult({data:{user:i.user,session:i},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(ee(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(e,n){try{if(!Et())throw new Ji("No browser detected.");if(e.error||e.error_description||e.error_code)throw new Ji(e.error_description||"Error in URL with unspecified error_description",{error:e.error||"unspecified_error",code:e.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new Ol("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Ji("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!e.code)throw new Ol("No code detected.");const{data:x,error:w}=await this._exchangeCodeForSession(e.code);if(w)throw w;const I=new URL(window.location.href);return I.searchParams.delete("code"),window.history.replaceState(window.history.state,"",I.toString()),{data:{session:x.session,redirectType:null},error:null}}const{provider_token:s,provider_refresh_token:i,access_token:a,refresh_token:o,expires_in:l,expires_at:d,token_type:c}=e;if(!a||!l||!o||!c)throw new Ji("No session defined in URL");const u=Math.round(Date.now()/1e3),h=parseInt(l);let p=u+h;d&&(p=parseInt(d)),(p-u)*1e3<=Ss;const f=p-h;u-f>=120||u-f<0;const{data:g,error:v}=await this._getUser(a);if(v)throw v;const j={provider_token:s,provider_refresh_token:i,access_token:a,expires_in:h,expires_at:p,refresh_token:o,token_type:c,user:g.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:j,redirectType:e.type},error:null})}catch(s){if(ee(s))return this._returnResult({data:{session:null,redirectType:null},error:s});throw s}}_isImplicitGrantCallback(e){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),e):!!(e.access_token||e.error_description)}async _isPKCECallback(e){const n=await zn(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&n)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async n=>{var s;const{data:i,error:a}=n;
75if(a&&!Ja(a))return this._returnResult({error:a});const o=(s=i.session)===null||s===void 0?void 0:s.access_token;if(o){const{error:l}=await this.admin.signOut(o,e);if(l&&!(Pp(l)&&(l.status===404||l.status===401||l.status===403)||Ja(l)))return this._returnResult({error:l})}return e!=="others"&&(await this._removeSession(),await jt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(e){const n=Hp(),s={id:n,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,s),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:s}}}async _emitInitialSession(e){return await this._useSession(async n=>{var s,i;try{const{data:{session:a},error:o}=n;if(o)throw o;await((s=this.stateChangeEmitters.get(e))===null||s===void 0?void 0:s.callback("INITIAL_SESSION",a)),this._debug("INITIAL_SESSION","callback id",e,"session",a)}catch(a){await((i=this.stateChangeEmitters.get(e))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",a)}})}async resetPasswordForEmail(e,n={}){let s=null,i=null;this.flowType==="pkce"&&([s,i]=await ms(this.storage,this.storageKey,!0));try{return await se(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:s,code_challenge_method:i,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(a){if(await jt(this.storage,`${this.storageKey}-code-verifier`),ee(a))return this._returnResult({data:null,error:a});throw a}}async getUserIdentities(){var e;try{const{data:n,error:s}=await this.getUser();if(s)throw s;return this._returnResult({data:{identities:(e=n.user.identities)!==null&&e!==void 0?e:[]},error:null})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(e){return"token"in e?this.linkIdentityIdToken(e):this.linkIdentityOAuth(e)}async linkIdentityOAuth(e){var n;try{const{data:s,error:i}=await this._useSession(async a=>{var o,l,d,c,u;const{data:h,error:p}=a;if(p)throw p;const m=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:(o=e.options)===null||o===void 0?void 0:o.redirectTo,scopes:(l=e.options)===null||l===void 0?void 0:l.scopes,queryParams:(d=e.options)===null||d===void 0?void 0:d.queryParams,skipBrowserRedirect:!0});return await se(this.fetch,"GET",m,{headers:this.headers,jwt:(u=(c=h.session)===null||c===void 0?void 0:c.access_token)!==null&&u!==void 0?u:void 0})});if(i)throw i;return Et()&&!(!((n=e.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(s?.url),this._returnResult({data:{provider:e.provider,url:s?.url},error:null})}catch(s){if(ee(s))return this._returnResult({data:{provider:e.provider,url:null},error:s});throw s}}async linkIdentityIdToken(e){return await this._useSession(async n=>{var s;try{const{error:i,data:{session:a}}=n;if(i)throw i;const{options:o,provider:l,token:d,access_token:c,nonce:u}=e,h=await se(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(s=a?.access_token)!==null&&s!==void 0?s:void 0,body:{provider:l,id_token:d,access_token:c,nonce:u,link_identity:!0,gotrue_meta_security:{captcha_token:o?.captchaToken}},xform:fr}),{data:p,error:m}=h;return m?this._returnResult({data:{user:null,session:null},error:m}):!p||!p.session||!p.user?this._returnResult({data:{user:null,session:null},error:new hs}):(p.session&&(await this._saveSession(p.session),await this._notifyAllSubscribers("USER_UPDATED",p.session)),this._returnResult({data:p,error:m}))}catch(i){if(await jt(this.storage,`${this.storageKey}-code-verifier`),ee(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}})}async unlinkIdentity(e){try{return await this._useSession(async n=>{var s,i;const{data:a,error:o}=n;if(o)throw o;
75return await se(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:(i=(s=a.session)===null||s===void 0?void 0:s.access_token)!==null&&i!==void 0?i:void 0})})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(e){const n=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(n,"begin");try{const s=Date.now();return await Kp(async i=>(i>0&&await qp(200*Math.pow(2,i-1)),this._debug(n,"refreshing attempt",i),await se(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:fr})),(i,a)=>{const o=200*Math.pow(2,i);return a&&Xa(a)&&Date.now()+o-s<Ss})}catch(s){if(this._debug(n,"error",s),ee(s))return this._returnResult({data:{session:null,user:null},error:s});throw s}finally{this._debug(n,"end")}}_isValidSession(e){return typeof e=="object"&&e!==null&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,n){const s=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",n,"url",s),Et()&&!n.skipBrowserRedirect&&window.location.assign(s),{data:{provider:e,url:s},error:null}}async _recoverAndRefresh(){var e,n;const s="#_recoverAndRefresh()";this._debug(s,"begin");try{const i=await zn(this.storage,this.storageKey);if(i&&this.userStorage){let o=await zn(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:i.user},await js(this.userStorage,this.storageKey+"-user",o)),i.user=(e=o?.user)!==null&&e!==void 0?e:Za()}else if(i&&!i.user&&!i.user){const o=await zn(this.storage,this.storageKey+"-user");o&&o?.user?(i.user=o.user,await jt(this.storage,this.storageKey+"-user"),await js(this.storage,this.storageKey,i)):i.user=Za()}if(this._debug(s,"session from storage",i),!this._isValidSession(i)){this._debug(s,"session is not valid"),i!==null&&await this._removeSession();return}const a=((n=i.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<Ya;if(this._debug(s,`session has${a?"":" not"} expired with margin of ${Ya}s`),a){if(this.autoRefreshToken&&i.refresh_token){const{error:o}=await this._callRefreshToken(i.refresh_token);o&&(Xa(o)||(this._debug(s,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else if(i.user&&i.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:l}=await this._getUser(i.access_token);!l&&o?.user?(i.user=o.user,await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)):this._debug(s,"could not get user data, skipping SIGNED_IN notification")}catch(o){this._debug(s,"error getting user data, skipping SIGNED_IN notification",o)}else await this._notifyAllSubscribers("SIGNED_IN",i)}catch(i){this._debug(s,"error",i);return}finally{this._debug(s,"end")}}async _callRefreshToken(e){var n,s;if(!e)throw new Yt;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const i=`#_callRefreshToken(${e.substring(0,5)}...)`;this._debug(i,"begin");try{this.refreshingDeferred=new $a;const{data:a,error:o}=await this._refreshAccessToken(e);if(o)throw o;if(!a.session)throw new Yt;await this._saveSession(a.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",a.session);const l={data:a.session,error:null};return this.refreshingDeferred.resolve(l),l}catch(a){if(this._debug(i,"error",a),ee(a)){const o={data:null,error:a};return Xa(a)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(o),o}throw(s=this.refreshingDeferred)===null||s===void 0||s.reject(a),a}finally{this.refreshingDeferred=null,this._debug(i,"end")}}async _notifyAllSubscribers(e,n,s=!0){const i=`#_notifyAllSubscribers(${e})`;this._debug(i,"begin",n,`broadcast = ${s}`);try{this.broadcastChannel&&s&&this.broadcastChannel.postMessage({event:e,session:n});const a=[],o=Array.from(this.stateChangeEmitters.values()).map(async l=>{try{await l.callback(e,n)}catch(d){a.push(d)}});if(await Promise.all(o),a.length>0){for(let l=0;l<a.length;l+=1);throw a[0]}}finally{this._debug(i,"end")}}async _saveSession(e){this._debug("#_saveSession()",e),this.suppressGetSessionWarning=!0,await jt(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},e),s=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!s&&n.user&&await js(this.userStorage,this.storageKey+"-user",{user:n.user});const i=Object.assign({},n);delete i.user;const a=Ll(i);await js(this.storage,this.storageKey,a)}else{const i=Ll(n);await js(this.storage,this.storageKey,i)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await jt(this.storage,this.storageKey),await jt(this.storage,this.storageKey+"-code-verifier"),await jt(this.storage,this.storageKey+"-user"),this.userStorage&&await jt(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&&Et()&&window?.removeEventListener&&window.removeEventListener("visibilitychange",e)}catch{}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const e=setInterval(()=>this._autoRefreshTokenTick(),Ss);this.autoRefreshTicker=e,e&&typeof e=="object"&&typeof e.unref=="function"?e.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(e);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const e=Date.now();try{return await this._useSession(async n=>{const{data:{session:s}}=n;
75if(!s||!s.refresh_token||!s.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((s.expires_at*1e3-e)/Ss);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${Ss}ms, refresh threshold is ${Eo} ticks`),i<=Eo&&await this._callRefreshToken(s.refresh_token)})}catch{}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(e){if(e.isAcquireTimeout||e instanceof $d)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Et()||!window?.addEventListener)return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(e){this._debug("#visibilityChangedCallback","error",e)}},window?.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch{}}async _onVisibilityChanged(e){const n=`#_onVisibilityChanged(${e})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),e||(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,n,s){const i=[`provider=${encodeURIComponent(n)}`];if(s?.redirectTo&&i.push(`redirect_to=${encodeURIComponent(s.redirectTo)}`),s?.scopes&&i.push(`scopes=${encodeURIComponent(s.scopes)}`),this.flowType==="pkce"){const[a,o]=await ms(this.storage,this.storageKey),l=new URLSearchParams({code_challenge:`${encodeURIComponent(a)}`,code_challenge_method:`${encodeURIComponent(o)}`});i.push(l.toString())}if(s?.queryParams){const a=new URLSearchParams(s.queryParams);i.push(a.toString())}return s?.skipBrowserRedirect&&i.push(`skip_http_redirect=${s.skipBrowserRedirect}`),`${e}?${i.join("&")}`}async _unenroll(e){try{return await this._useSession(async n=>{var s;const{data:i,error:a}=n;return a?this._returnResult({data:null,error:a}):await se(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:(s=i?.session)===null||s===void 0?void 0:s.access_token})})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(e){try{return await this._useSession(async n=>{var s,i;const{data:a,error:o}=n;if(o)return this._returnResult({data:null,error:o});const l=Object.assign({friendly_name:e.friendlyName,factor_type:e.factorType},e.factorType==="phone"?{phone:e.phone}:e.factorType==="totp"?{issuer:e.issuer}:{}),{data:d,error:c}=await se(this.fetch,"POST",`${this.url}/factors`,{body:l,headers:this.headers,jwt:(s=a?.session)===null||s===void 0?void 0:s.access_token});return c?this._returnResult({data:null,error:c}):(e.factorType==="totp"&&d.type==="totp"&&(!((i=d?.totp)===null||i===void 0)&&i.qr_code)&&(d.totp.qr_code=`data:image/svg+xml;utf-8,${d.totp.qr_code}`),this._returnResult({data:d,error:null}))})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}}async _verify(e){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var s;const{data:i,error:a}=n;if(a)return this._returnResult({data:null,error:a});const o=Object.assign({challenge_id:e.challengeId},"webauthn"in e?{webauthn:Object.assign(Object.assign({},e.webauthn),{credential_response:e.webauthn.type==="create"?kg(e.webauthn.credential_response):Tg(e.webauthn.credential_response)})}:{code:e.code}),{data:l,error:d}=await se(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:o,headers:this.headers,jwt:(s=i?.session)===null||s===void 0?void 0:s.access_token});return d?this._returnResult({data:null,error:d}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+l.expires_in},l)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",l),this._returnResult({data:l,error:d}))})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}})}async _challenge(e){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var s;const{data:i,error:a}=n;
75if(a)return this._returnResult({data:null,error:a});const o=await se(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{body:e,headers:this.headers,jwt:(s=i?.session)===null||s===void 0?void 0:s.access_token});if(o.error)return o;const{data:l}=o;if(l.type!=="webauthn")return{data:l,error:null};switch(l.webauthn.type){case"create":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:Sg(l.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:jg(l.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}})}async _challengeAndVerify(e){const{data:n,error:s}=await this._challenge({factorId:e.factorId});return s?this._returnResult({data:null,error:s}):await this._verify({factorId:e.factorId,challengeId:n.id,code:e.code})}async _listFactors(){var e;const{data:{user:n},error:s}=await this.getUser();if(s)return{data:null,error:s};const i={all:[],phone:[],totp:[],webauthn:[]};for(const a of(e=n?.factors)!==null&&e!==void 0?e:[])i.all.push(a),a.status==="verified"&&i[a.factor_type].push(a);return{data:i,error:null}}async _getAuthenticatorAssuranceLevel(e){var n,s,i,a;if(e)try{const{payload:m}=Xi(e);let f=null;m.aal&&(f=m.aal);let g=f;const{data:{user:v},error:j}=await this.getUser(e);if(j)return this._returnResult({data:null,error:j});((s=(n=v?.factors)===null||n===void 0?void 0:n.filter(I=>I.status==="verified"))!==null&&s!==void 0?s:[]).length>0&&(g="aal2");const w=m.amr||[];return{data:{currentLevel:f,nextLevel:g,currentAuthenticationMethods:w},error:null}}catch(m){if(ee(m))return this._returnResult({data:null,error:m});throw m}const{data:{session:o},error:l}
75=await this.getSession();if(l)return this._returnResult({data:null,error:l});if(!o)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:d}=Xi(o.access_token);let c=null;d.aal&&(c=d.aal);let u=c;((a=(i=o.user.factors)===null||i===void 0?void 0:i.filter(m=>m.status==="verified"))!==null&&a!==void 0?a:[]).length>0&&(u="aal2");const p=d.amr||[];return{data:{currentLevel:c,nextLevel:u,currentAuthenticationMethods:p},error:null}}async _getAuthorizationDetails(e){try{return await this._useSession(async n=>{const{data:{session:s},error:i}=n;return i?this._returnResult({data:null,error:i}):s?await se(this.fetch,"GET",`${this.url}/oauth/authorizations/${e}`,{headers:this.headers,jwt:s.access_token,xform:a=>({data:a,error:null})}):this._returnResult({data:null,error:new Yt})})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(e,n){try{return await this._useSession(async s=>{const{data:{session:i},error:a}=s;if(a)return this._returnResult({data:null,error:a});if(!i)return this._returnResult({data:null,error:new Yt});const o=await se(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"approve"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&Et()&&!n?.skipBrowserRedirect&&window.location.assign(o.data.redirect_url),o})}catch(s){if(ee(s))return this._returnResult({data:null,error:s});throw s}}async _denyAuthorization(e,n){try{return await this._useSession(async s=>{const{data:{session:i},error:a}=s;
75if(a)return this._returnResult({data:null,error:a});if(!i)return this._returnResult({data:null,error:new Yt});const o=await se(this.fetch,"POST",`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"deny"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&Et()&&!n?.skipBrowserRedirect&&window.location.assign(o.data.redirect_url),o})}catch(s){if(ee(s))return this._returnResult({data:null,error:s});throw s}}async _listOAuthGrants(){try{return await this._useSession(async e=>{const{data:{session:n},error:s}=e;return s?this._returnResult({data:null,error:s}):n?await se(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new Yt})})}catch(e){if(ee(e))return this._returnResult({data:null,error:e});throw e}}async _revokeOAuthGrant(e){try{return await this._useSession(async n=>{const{data:{session:s},error:i}=n;return i?this._returnResult({data:null,error:i}):s?(await se(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:s.access_token,query:{client_id:e.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new Yt})})}catch(n){if(ee(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(e,n={keys:[]}){let s=n.keys.find(l=>l.kid===e);if(s)return s;const i=Date.now();if(s=this.jwks.keys.find(l=>l.kid===e),s&&this.jwks_cached_at+Op>i)return s;const{data:a,error:o}=await se(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!a.keys||a.keys.length===0||(this.jwks=a,this.jwks_cached_at=i,s=a.keys.find(l=>l.kid===e),!s)?null:s}async getClaims(e,n={}){try{let s=e;if(!s){const{data:m,error:f}
75=await this.getSession();if(f||!m.session)return this._returnResult({data:null,error:f});s=m.session.access_token}const{header:i,payload:a,signature:o,raw:{header:l,payload:d}}=Xi(s);n?.allowExpired||tg(a.exp);const c=!i.alg||i.alg.startsWith("HS")||!i.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(i.kid,n?.keys?{keys:n.keys}:n?.jwks);if(!c){const{error:m}=await this.getUser(s);if(m)throw m;return{data:{claims:a,header:i,signature:o},error:null}}const u=rg(i.alg),h=await crypto.subtle.importKey("jwk",c,u,!0,["verify"]);if(!await crypto.subtle.verify(u,h,o,Wp(`${l}.${d}`)))throw new _o("Invalid JWT signature");return{data:{claims:a,header:i,signature:o},error:null}}catch(s){if(ee(s))return this._returnResult({data:null,error:s});throw s}}}ki.nextInstanceID={};const Fg=ki,Pg="2.98.0";let si="";typeof Deno<"u"?si="deno":typeof document<"u"?si="web":typeof navigator<"u"&&navigator.product==="ReactNative"?si="react-native":si="node";const Bg={"X-Client-Info":`supabase-js-${si}/${Pg}`},$g={headers:Bg},Lg={schema:"public"},zg={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},Dg={};function Ti(r){"@babel/helpers - typeof";return Ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ti(r)}function Mg(r,e){if(Ti(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var s=n.call(r,e||"default");if(Ti(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Wg(r){var e=Mg(r,"string");return Ti(e)=="symbol"?e:e+""}function Ug(r,e,n){return(e=Wg(e))in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Vl(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);e&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),n.push.apply(n,s)}return n}function et(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Vl(Object(n),!0).forEach(function(s){Ug(r,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Vl(Object(n)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))})}return r}const Hg=r=>r?(...e)=>r(...e):(...e)=>fetch(...e),Vg=()=>Headers,Gg=(r,e,n)=>{const s=Hg(n),i=Vg();return async(a,o)=>{var l;const d=(l=await e())!==null&&l!==void 0?l:r;let c=new i(o?.headers);return c.has("apikey")||c.set("apikey",r),c.has("Authorization")||c.set("Authorization",`Bearer ${d}`),s(a,et(et({},o),{},{headers:c}))}};function qg(r){return r.endsWith("/")?r:r+"/"}function Kg(r,e){var n,s;const{db:i,auth:a,realtime:o,global:l}=r,{db:d,auth:c,realtime:u,global:h}=e,p={db:et(et({},d),i),auth:et(et({},c),a),realtime:et(et({},u),o),storage:{},global:et(et(et({},h),l),{},{headers:et(et({},(n=h?.headers)!==null&&n!==void 0?n:{}),(s=l?.headers)!==null&&s!==void 0?s:{})}),accessToken:async()=>""};return r.accessToken?p.accessToken=r.accessToken:delete p.accessToken,p}function Yg(r){const e=r?.trim();if(!e)throw new Error("supabaseUrl is required.");if(!e.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(qg(e))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var Jg=class extends Fg{constructor(r){super(r)}},Xg=class{constructor(r,e,n){var s,i;this.supabaseUrl=r,this.supabaseKey=e;const a=Yg(r);if(!e)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",a),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",a),this.storageUrl=new URL("storage/v1",a),this.functionsUrl=new URL("functions/v1",a);const o=`sb-${a.hostname.split(".")[0]}-auth-token`,l={db:Lg,realtime:Dg,auth:et(et({},zg),{},{storageKey:o}),global:$g},d=Kg(n??{},l);if(this.storageKey=(s=d.auth.storageKey)!==null&&s!==void 0?s:"",this.headers=(i=d.global.headers)!==null&&i!==void 0?i:{},d.accessToken)this.accessToken=d.accessToken,this.auth=new Proxy({},{get:(u,h)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(h)} is not possible`)}});else{var c;this.auth=this._initSupabaseAuthClient((c=d.auth)!==null&&c!==void 0?c:{},this.headers,d.global.fetch)}this.fetch=Gg(e,this._getAccessToken.bind(this),d.global.fetch),this.realtime=this._initRealtimeClient(et({headers:this.headers,accessToken:this._getAccessToken.bind(this)},d.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(u=>this.realtime.setAuth(u)).catch(u=>{}),this.rest=new Pm(new URL("rest/v1",a).href,{headers:this.headers,schema:d.db.schema,fetch:this.fetch,timeout:d.db.timeout,urlLengthLimit:d.db.urlLengthLimit}),this.storage=new Ip(this.storageUrl.href,this.headers,this.fetch,n?.storage),d.accessToken||this._listenForAuthEvents()}get functions(){return new Cm(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(r){return this.rest.from(r)}schema(r){return this.rest.schema(r)}rpc(r,e={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(r,e,n)}channel(r,e={config:{}}){return this.realtime.channel(r,e)}getChannels(){return this.realtime.getChannels()}removeChannel(r){return this.realtime.removeChannel(r)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var r=this,e,n;if(r.accessToken)return await r.accessToken();const{data:s}=await r.auth.getSession();return(e=(n=s.session)===null||n===void 0?void 0:n.access_token)!==null&&e!==void 0?e:r.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:r,persistSession:e,detectSessionInUrl:n,storage:s,userStorage:i,storageKey:a,flowType:o,lock:l,debug:d,throwOnError:c},u,h){const p={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new Jg({url:this.authUrl.href,headers:et(et({},p),u),storageKey:a,autoRefreshToken:r,persistSession:e,detectSessionInUrl:n,storage:s,userStorage:i,flowType:o,lock:l,debug:d,throwOnError:c,fetch:h,hasCustomAuthorizationHeader:Object.keys(this.headers).some(m=>m.toLowerCase()==="authorization")})}_initRealtimeClient(r){return new Zm(this.realtimeUrl.href,et(et({},r),{},{params:et(et({},{apikey:this.supabaseKey}),r?.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((r,e)=>{this._handleTokenChanged(r,"CLIENT",e?.access_token)})}_handleTokenChanged(r,e,n){(r==="TOKEN_REFRESHED"||r==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):r==="SIGNED_OUT"&&(this.realtime.setAuth(),e=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const Zg=(r,e,n)=>new Xg(r,e,n);function Qg(){if(typeof window<"u")return!1;const r=globalThis.process;if(!r)return!1;const e=r.version;if(e==null)return!1;const n=e.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}Qg();const ef="https://ewdulwxapzhwxjfysyvg.supabase.co",tf="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImV3ZHVsd3hhcHpod3hqZnlzeXZnIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzI4NzI1MDUsImV4cCI6MjA4ODQ0ODUwNX0.2FwzuLKjK3X-stJvdQKdPKmEIQbn0g_nKGe3PI6YcZY",Ot=Zg(ef,tf),rf='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',nf=({size:r=16})=>
75t.jsx("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"currentColor",children:t.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),sf=({size:r=15})=>t.jsx("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"currentColor",children:t.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.73-8.835L1.254 2.25H8.08l4.259 5.63 5.905-5.63zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),af=({size:r=15})=>t.jsx("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"currentColor",children:t.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})}),ja=({size:r=15})=>t.jsx("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:"currentColor",children:t.jsx("path",{d:"M12.04 2c-5.52 0-10 4.48-10 10 0 1.98.58 3.83 1.58 5.4L2 22l4.6-1.58A9.96 9.96 0 0 0 12.04 22c5.52 0 10-4.48 10-10s-4.48-10-10-10Zm0 18.13c-1.66 0-3.2-.46-4.52-1.27l-.32-.2-3.36 1.16 1.17-3.27-.21-.34a8.13 8.13 0 0 1-1.26-4.37c0-4.5 3.67-8.16 8.18-8.16 4.5 0 8.16 3.67 8.16 8.16 0 4.5-3.66 8.29-8.84 8.29Zm4.5-6.08c-.24-.12-1.45-.71-1.67-.8-.22-.08-.39-.12-.55.12-.16.24-.63.8-.78.96-.14.16-.29.18-.53.06-1.42-.7-2.35-1.26-3.29-2.86-.25-.43.25-.4.71-1.34.08-.16.04-.3-.04-.42-.08-.12-.55-1.33-.76-1.82-.2-.49-.4-.42-.55-.43-.14-.01-.31-.01-.47-.01-.16 0-.42.06-.65.31-.22.25-.86.84-.86 2.05s.88 2.38.99 2.54c.12.16 1.69 2.58 4.1 3.52 2.04.79 2.46.64 2.9.6.45-.04 1.45-.59 1.66-1.16.2-.57.2-1.06.14-1.16-.06-.1-.22-.16-.46-.28Z"})}),of={linkedin:{bg:"#0A66C2",hover:"#0856a8",label:"LINKEDIN",defaultColor:"#0A66C2",defaultBorder:"rgba(10,102,194,0.55)",defaultBg:"rgba(10,102,194,0.08)"},twitter:{bg:"#000000",hover:"#111111",label:"X / TWITTER",defaultColor:"rgba(255,255,255,0.85)",defaultBorder:"rgba(255,255,255,0.25)",defaultBg:"rgba(255,255,255,0.06)"},instagram:{bg:"#E1306C",hover:"#c4285e",label:"INSTAGRAM",defaultColor:"#E1306C",defaultBorder:"rgba(225,48,108,0.55)",defaultBg:"rgba(225,48,108,0.08)"},whatsapp:{bg:"#25D366",hover:"#1ebe5a",label:"WHATSAPP",defaultColor:"#25D366",defaultBorder:"rgba(37,211,102,0.55)",defaultBg:"rgba(37,211,102,0.08)"}},lf={linkedin:r=>t.jsx(nf,{size:r}),twitter:r=>t.jsx(sf,{size:r}),instagram:r=>t.jsx(af,{size:r}),whatsapp:r=>t.jsx(ja,{size:r})},Fr=({platform:r,href:e,showLabel:n=!0,size:s="md",label:i})=>{const a=of[r],o=s==="sm"?14:16,l=s==="sm"?"5px 11px":"7px 15px",d=s==="sm"?"0.44rem":"0.5rem",c=lf[r](o),u="#ffffff",h=r==="twitter"?"#1a1a1a":a.bg,p=r==="twitter"?"rgba(255,255,255,0.15)":`${a.bg}55`;return t.jsxs("a",{href:e,target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:"0.4rem",padding:l,background:a.defaultBg,border:`1px solid ${a.defaultBorder}`,color:a.defaultColor,textDecoration:"none",fontFamily:rf,fontSize:d,fontWeight:900,letterSpacing:"0.12em",textTransform:"uppercase",transition:"all 0.2s",whiteSpace:"nowrap"},onMouseEnter:m=>{const f=m.currentTarget;f.style.background=h,f.style.borderColor=h,f.style.color=u,f.style.boxShadow=`0 0 16px ${p}`},onMouseLeave:m=>{const f=m.currentTarget;f.style.background=a.defaultBg,f.style.borderColor=a.defaultBorder,f.style.color=a.defaultColor,f.style.boxShadow="none"},children:[c,n&&(i||a.label)]})},Us=({linkedin:r,twitter:e,instagram:n,whatsapp:s,showLabel:i=!0,size:a="md"})=>t.jsxs("div",{style:{display:"flex",gap:"0.5rem",flexWrap:"wrap",alignItems:"center"},children:[r&&t.jsx(Fr,{platform:"linkedin",href:r,showLabel:i,size:a}),e&&t.jsx(Fr,{platform:"twitter",href:e,showLabel:i,size:a}),n&&t.jsx(Fr,{platform:"instagram",href:n,showLabel:i,size:a}),s&&t.jsx(Fr,{platform:"whatsapp",href:s,showLabel:i,size:a})]}),De='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',cf=({onAboutClick:r,onTeamClick:e,onCommunityClick:n,onEventsClick:s,onContactClick:i,onHomeClick:a})=>{const[o,l]=y.useState(!1),[d,c]=y.useState(!1),[u,h]=y.useState(!1),[p,m]=y.useState(!1),[f,g]=y.useState(""),[v,j]=y.useState(""),[x,w]=y.useState("idle"),[I,R]=y.useState(""),L=An(he=>he.setMobileMenuOpen);An(he=>he.setExperienceStarted);const P=St(),pe=async he=>{if(he.preventDefault(),!v.trim())return;w("loading"),R("");const{error:_}=await Ot.from("notify_signups").insert({email:v.trim().toLowerCase(),name:f.trim()||null,source:"mobile_menu"});_?_.code==="23505"?w("success"):(w("error"),R("Something went wrong. Try again.")):w("success")};y.useEffect(()=>(L(o),()=>L(!1)),[o]);const J=he=>{l(!1),he?.()};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` 76 @keyframes cyberPulse { 77 0%, 100% { box-shadow: 0 0 12px rgba(6,182,212,0.4), 0 0 24px rgba(6,182,212,0.15), inset 0 0 8px rgba(6,182,212,0.05); } 78 50% { box-shadow: 0 0 22px rgba(6,182,212,0.7), 0 0 44px rgba(6,182,212,0.3), inset 0 0 12px rgba(6,182,212,0.1); } 79 } 80 .cyber-hamburger { animation: cyberPulse 2.5s ease-in-out infinite; } 81 @keyframes cfp-mobile-blink { 0%,49%{opacity:1} 50%,100%{opacity:0}
81 } 82 .cfp-mobile-blink { animation: cfp-mobile-blink 1.2s steps(1) infinite; } 83 `}),t.jsxs("button",{onClick:()=>l(!o),className:"cyber-hamburger fixed z-[10000] w-12 h-12 flex flex-col items-center justify-center gap-1.5 bg-black/90 border-2 border-cyan-400 rounded-2xl backdrop-blur-md transition-all duration-300 hover:border-cyan-300 hover:bg-cyan-900/20 hover:scale-105","aria-label":"Menu",style:{top:"calc(1rem + env(safe-area-inset-top, 0px))",right:"calc(1rem + env(safe-area-inset-right, 0px))"},children:[t.jsx("span",{className:`w-6 h-0.5 transition-all duration-300 ease-in-out ${o?"rotate-45 translate-y-2 bg-red-400":"bg-cyan-400"}`,style:{boxShadow:o?"0 0 5px rgba(239,68,68,0.8)":"0 0 5px rgba(6,182,212,0.8)"}}),t.jsx("span",{className:`w-6 h-0.5 bg-cyan-400 transition-all duration-300 ease-in-out ${o?"opacity-0 scale-0":""}`,style:{boxShadow:"0 0 5px rgba(6,182,212,0.8)"}}),t.jsx("span",{className:`w-6 h-0.5 transition-all duration-300 ease-in-out ${o?"-rotate-45 -translate-y-2 bg-red-400":"bg-cyan-400"}`,style:{boxShadow:o?"0 0 5px rgba(239,68,68,0.8)":"0 0 5px rgba(6,182,212,0.8)"}})]}),o&&t.jsx("div",{className:"fixed inset-0 z-[9999] bg-black/95 backdrop-blur-md flex flex-col items-center justify-start overflow-y-auto",style:{height:"100dvh",paddingTop:"env(safe-area-inset-top, 0px)",paddingBottom:"env(safe-area-inset-bottom, 0px)",paddingLeft:"env(safe-area-inset-left, 0px)",paddingRight:"env(safe-area-inset-right, 0px)"},children:t.jsxs("nav",{className:"flex flex-col gap-4 text-center w-full px-6 pt-24 pb-8",children:[t.jsxs("button",{onClick:()=>J(a),className:"text-cyan-400 text-2xl font-black tracking-wider hover:text-cyan-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(0,255,255,0.7), 0 0 30px rgba(0,255,255,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"HOME"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-cyan-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsxs("button",{onClick:()=>J(r),className:"text-cyan-400 text-2xl font-black tracking-wider hover:text-cyan-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(0,255,255,0.7), 0 0 30px rgba(0,255,255,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"ABOUT"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-cyan-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsxs("button",{onClick:()=>J(e),className:"text-purple-400 text-2xl font-black tracking-wider hover:text-purple-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(168,85,247,0.7), 0 0 30px rgba(168,85,247,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"TEAM"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-purple-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsxs("button",{onClick:()=>J(n),className:"text-green-400 text-2xl font-black tracking-wider hover:text-green-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(34,197,94,0.7), 0 0 30px rgba(34,197,94,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"COMMUNITY"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-green-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsxs("button",{onClick:()=>J(s),className:"text-cyan-400 text-2xl font-black tracking-wider hover:text-cyan-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(0,255,255,0.7), 0 0 30px rgba(0,255,255,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"EVENTS"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-cyan-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsxs("div",{className:"flex flex-col items-center",children:[t.jsxs("button",{onClick:()=>h(he=>!he),className:"text-orange-400 text-2xl font-black tracking-wider hover:text-orange-300 transition-all duration-300 uppercase relative group flex items-center gap-2",style:{fontFamily:De,textShadow:"0 0 15px rgba(251,146,60,0.7), 0 0 30px rgba(251,146,60,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"cfp-mobile-blink",style:{display:"inline-block",width:7,height:7,borderRadius:"50%",background:"#fb923c",boxShadow:"0 0 8px rgba(251,146,60,0.8)",flexShrink:0}}),t.jsx("span",{className:"relative z-10",children:"PROGRAM X2"}),t.jsx("span",{className:"text-base opacity-70",children:u?"â²":"â¼"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-orange-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),u&&t.jsxs("div",{className:"flex flex-col gap-3 mt-3 items-center",children:[t.jsx("button",{onClick:()=>{l(!1),P("/speakers")},className:"text-orange-300 text-xl font-black uppercase tracking-widest hover:text-orange-200 transition-colors",style:{fontFamily:De},children:"SPEAKERS"}),t.jsx("button",{onClick:()=>{l(!1),P("/trainings")},className:"text-orange-300 text-xl font-black uppercase tracking-widest hover:text-orange-200 transition-colors",style:{fontFamily:De},children:"TRAININGS"}),t.jsx("button",{onClick:()=>{l(!1),P("/schedule")},className:"text-orange-300 text-xl font-black uppercase tracking-widest hover:text-orange-200 transition-colors",style:{fontFamily:De},children:"SCHEDULE"}),t.jsx("button",{onClick:()=>{l(!1),P("/cfp-review-board")},className:"text-orange-300 text-xl font-black uppercase tracking-widest hover:text-orange-200 transition-colors",style:{fontFamily:De},children:"CFP REVIEW BOARD"}),t.jsx("button",{onClick:()=>{l(!1),P("/advisory-board")},className:"text-orange-300 text-xl font-black uppercase tracking-widest hover:text-orange-200 transition-colors",style:{fontFamily:De},children:"ADVISORY BOARD"})]})]}),t.jsxs("div",{className:"flex flex-col items-center",children:[t.jsxs("button",{onClick:()=>c(he=>!he),className:"text-yellow-400 text-2xl font-black tracking-wider hover:text-yellow-300 transition-all duration-300 uppercase relative group flex items-center gap-2",style:{fontFamily:De,textShadow:"0 0 15px rgba(245,158,11,0.7), 0 0 30px rgba(245,158,11,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"SPONSORS"}),t.jsx("span",{className:"text-base opacity-70",children:d?"â²":"â¼"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-yellow-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),d&&t.jsxs("div",{className:"flex flex-col gap-3 mt-3 items-center",children:[t.jsx("button",{onClick:()=>{l(!1),P("/sponsors")},className:"text-yellow-300 text-xl font-black uppercase tracking-widest hover:text-yellow-200 transition-colors",style:{fontFamily:De},children:"OUR SPONSORS"}),t.jsx("button",{onClick:()=>{l(!1),P("/sponsors/call-for-sponsors")},className:"text-yellow-300 text-xl font-black uppercase tracking-widest hover:text-yellow-200 transition-colors",style:{fontFamily:De},children:"CALL FOR SPONSORS"})]})]}),t.jsxs("button",{onClick:()=>{l(!1),P("/vault")},className:"text-violet-400 text-2xl font-black tracking-wider hover:text-violet-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(167,139,250,0.7), 0 0 30px rgba(167,139,250,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"â VAULT"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-violet-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsxs("button",{onClick:()=>{l(!1),P("/archive/x2")},className:"text-cyan-400 text-2xl font-black tracking-wider hover:text-cyan-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(0,255,255,0.7), 0 0 30px rgba(0,255,255,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"ARCHIVE"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-cyan-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsx("button",{onClick:()=>{l(!1),P("/register")}
83,className:"text-black text-xl font-black tracking-wider uppercase mx-auto",style:{fontFamily:De,background:"#22d3ee",borderRadius:6,padding:"0.6rem 2rem",boxShadow:"0 0 20px rgba(34,211,238,0.45)",letterSpacing:"0.18em"},children:"REGISTER â"}),t.jsxs("button",{onClick:()=>J(i),className:"text-cyan-400 text-2xl font-black tracking-wider hover:text-cyan-300 transition-all duration-300 uppercase relative group",style:{fontFamily:De,textShadow:"0 0 15px rgba(0,255,255,0.7), 0 0 30px rgba(0,255,255,0.4)",letterSpacing:"0.2em"},children:[t.jsx("span",{className:"relative z-10",children:"CONTACT"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-cyan-400/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-md"})]}),t.jsx("button",{onClick:()=>{l(!1),P("/call-for-papers")},className:"uppercase relative group flex items-center justify-center gap-2 transition-colors duration-200",style:{fontFamily:De,letterSpacing:"0.2em",color:"rgba(255,255,255,0.32)",fontSize:"1.5rem",fontWeight:900,background:"none",border:"none",cursor:"pointer"},children:t.jsx("span",{className:"relative z-10",children:"CFP · CLOSED"})}),t.jsx("div",{className:"w-full h-px bg-red-600/30 my-4"}),t.jsxs("a",{href:"https://forms.gle/y8Ggq1KFNWabZ4yg8",target:"_blank",rel:"noopener noreferrer",onClick:()=>l(!1),className:"text-red-400 text-2xl font-black tracking-wider hover:text-red-300 transition-all duration-300 uppercase border-2 border-red-600 hover:border-red-400 px-6 py-3 rounded bg-black/50 relative group overflow-hidden",style:{fontFamily:De,textShadow:"0 0 15px rgba(239,68,68,0.7), 0 0 30px rgba(239,68,68,0.4)",letterSpacing:"0.15em",boxShadow:"0 0 20px rgba(239,68,68,0.3)"},children:[t.jsx("span",{className:"relative z-10",children:"ð VOLUNTEER"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-red-600/20 via-red-400/30 to-red-600/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}),t.jsxs("a",{href:"https://forms.gle/2nS6T8DMsLdorJ2g9",target:"_blank",rel:"noopener noreferrer",onClick:()=>l(!1),className:"text-cyan-400 text-2xl font-black tracking-wider hover:text-cyan-300 transition-all duration-300 uppercase border-2 border-cyan-600 hover:border-cyan-400 px-6 py-3 rounded bg-black/50 relative group overflow-hidden",style:{fontFamily:De,textShadow:"0 0 15px rgba(6,182,212,0.7), 0 0 30px rgba(6,182,212,0.4)",letterSpacing:"0.15em",boxShadow:"0 0 20px rgba(6,182,212,0.3)"},children:[t.jsx("span",{className:"relative z-10",children:"ð AMBASSADOR"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-cyan-600/20 via-cyan-400/30 to-cyan-600/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}),t.jsxs("a",{href:"https://chat.whatsapp.com/LqiB84oShPtCdNvsNieKyW",target:"_blank",rel:"noopener noreferrer",onClick:()=>l(!1),className:"text-green-400 text-2xl font-black tracking-wider hover:text-green-300 transition-all duration-300 uppercase border-2 border-green-600 hover:border-green-400 px-6 py-3 rounded bg-black/50 relative group overflow-hidden",style:{fontFamily:De,textShadow:"0 0 15px rgba(37,211,102,0.7), 0 0 30px rgba(37,211,102,0.4)",letterSpacing:"0.15em",boxShadow:"0 0 20px rgba(37,211,102,0.3)"},children:[t.jsxs("span",{className:"relative z-10 inline-flex items-center gap-2",children:[t.jsx(ja,{size:20})," WHATSAPP COMMUNITY"]}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-green-600/20 via-green-400/30 to-green-600/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}),t.jsx("div",{className:"w-full h-px bg-cyan-600/20 my-2"}),p?x==="success"?t.jsxs("div",{style:{textAlign:"center",padding:"0.5rem 0"},children:[t.jsx("div",{style:{fontFamily:De,fontSize:"0.75rem",fontWeight:900,letterSpacing:"0.2em",color:"#22d3ee",marginBottom:"0.35rem",textTransform:"uppercase"},children:"YOU'RE ON THE LIST â"}),t.jsx("div",{style:{fontSize:"0.8rem",color:"rgba(255,255,255,0.5)",fontFamily:"system-ui, sans-serif"},children:"We'll reach out before BSides Indore 2026."})]}):t.jsxs("form",{onSubmit:pe,style:{width:"100%",textAlign:"left"},children:[t.jsx("div",{style:{fontFamily:De,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.2em",color:"#22d3ee",textTransform:"uppercase",marginBottom:"0.75rem",textAlign:"center"},children:"STAY IN THE LOOP"}),t.jsx("input",{type:"text",placeholder:"Name (optional)",value:f,onChange:he=>g(he.target.value),style:{width:"100%",boxSizing:"border-box",background:"rgba(34,211,238,0.05)",border:"1px solid rgba(34,211,238,0.2)",borderRadius:4,padding:"0.6rem 0.85rem",color:"rgba(255,255,255,0.9)",fontSize:"0.9rem",fontFamily:"system-ui, sans-serif",marginBottom:"0.5rem",outline:"none"}}),t.jsx("input",{type:"email",placeholder:"Email address *",value:v,onCh
83ange:he=>j(he.target.value),required:!0,style:{width:"100%",boxSizing:"border-box",background:"rgba(34,211,238,0.05)",border:"1px solid rgba(34,211,238,0.2)",borderRadius:4,padding:"0.6rem 0.85rem",color:"rgba(255,255,255,0.9)",fontSize:"0.9rem",fontFamily:"system-ui, sans-serif",marginBottom:I?"0.4rem":"0.75rem",outline:"none"}}),I&&t.jsx("div",{style:{fontSize:"0.8rem",color:"#f87171",fontFamily:"system-ui, sans-serif",marginBottom:"0.5rem"},children:I}),t.jsx("button",{type:"submit",disabled:x==="loading",style:{width:"100%",fontFamily:De,fontWeight:900,fontSize:"0.7rem",letterSpacing:"0.15em",textTransform:"uppercase",cursor:"pointer",borderRadius:4,padding:"0.75rem",background:"#22d3ee",border:"none",color:"#000",opacity:x==="loading"?.6:1,boxShadow:"0 0 20px rgba(34,211,238,0.3)"},children:x==="loading"?"SUBMITTING...":"NOTIFY ME â"})]}):t.jsx("button",{onClick:()=>{m(!0),w("idle"),j(""),g(""),R("")},className:"text-cyan-400 text-xl font-black tracking-wider uppercase border border-cyan-500/50 px-6 py-3 rounded",style:{fontFamily:De,letterSpacing:"0.15em",background:"rgba(34,211,238,0.05)",boxShadow:"0 0 12px rgba(34,211,238,0.1)"},children:"GET NOTIFIED â"})]})})]})},Ur='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',df=({onHomeClick:r})=>{const{isMobile:e,isTablet:n}=nn(),s=St(),i=ls(),a=i.pathname==="/x2";An(N=>N.experienceStarted),An(N=>N.setExperienceStarted);const[o,l]=y.useState(!1),[d,c]=y.useState(!1),[u,h]=y.useState(!1),[p,m]=y.useState(""),[f,g]=y.useState(""),[v,j]=y.useState("idle"),[x,w]=y.useState(""),I=y.useRef(null);if(y.useEffect(()=>{if(!u)return;const N=q=>{I.current&&!I.current.contains(q.target)&&h(!1)};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[u]),i.pathname==="/"||i.pathname==="/vault")return null;const R=()=>{a?r?.():s("/x2")},L=N=>{s(N)},P=()=>s("/vault"),pe=async N=>{if(N.preventDefault(),!f.trim())return;j("loading"),w("");const{error:q}=await Ot.from("notify_signups").insert({email:f.trim().toLowerCase(),name:p.trim()||null,source:"global_nav"});q?(j(q.code==="23505"?"success":"error"),q.code!=="23505"&&w("Something went wrong. Try again.")):j("success")},J=()=>{h(N=>!N),j("idle"),g(""),m(""),w("")},he={fontFamily:Ur,fontWeight:900,fontSize:n?"0.7rem":"0.82rem",letterSpacing:"0.15em",color:"#22d3ee",textTransform:"uppercase",background:"transparent",border:"none",cursor:"pointer",padding:0,position:"relative",textShadow:"0 0 10px rgba(34,211,238,0.4)",transition:"color 0.2s, text-shadow 0.2s",whiteSpace:"nowrap"},_=N=>{N.currentTarget.style.color="#67e8f9",N.currentTarget.style.textShadow="0 0 16px rgba(34,211,238,0.7)"},A=N=>{N.currentTarget.style.color="#22d3ee",N.currentTarget.style.textShadow="0 0 10px rgba(34,211,238,0.4)"},E=N=>({...he,color:i.pathname===N?"#ffffff":"#22d3ee",textShadow:i.pathname===N?"0 0 14px rgba(34,211,238,0.9)":"0 0 10px rgba(34,211,238,0.4)",borderBottom:i.pathname===N?"1px solid #22d3ee":"none",paddingBottom:i.pathname===N?"2px":"0"}),F=()=>t.jsxs("div",{className:"bsi-dropdown-in",style:{position:"absolute",top:"calc(100% + 10px)",right:0,width:"min(290px, calc(100vw - 2rem))",zIndex:9999,background:"rgba(6,10,18,0.98)",border:"1px solid rgba(34,211,238,0.25)",backdropFilter:"blur(20px)",borderRadius:8,overflow:"hidden",boxShadow:"0 12px 40px rgba(0,0,0,0.8)"},children:[t.jsx("div",{style:{height:2,background:"linear-gradient(to right, #22d3ee, rgba(34,211,238,0.2))"}}),t.jsx("div",{style:{padding:"1.25rem"},children:v==="success"?t.jsxs("div",{style:{textAlign:"center",padding:"0.75rem 0"},children:[t.jsx("div",{style:{width:36,height:36,borderRadius:"50%",border:"2px solid #22d3ee",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 0.75rem",color:"#22d3ee",fontSize:"1rem",fontWeight:900},children:"â"}),t.jsx("div",{style:{fontFamily:Ur,fontSize:"0.68rem",fontWeight:900,letterSpacing:"0.18em",color:"#22d3ee",marginBottom:"0.4rem",textTransform:"uppercase"},children:"YOU'RE ON THE LIST"}),t.jsx("div",{style:{fontSize:"0.78rem",color:"rgba(255,255,255,0.5)",fontFamily:"system-ui, sans-serif",lineHeight:1.5},children:"We'll reach out before BSides Indore 2026."})]}):t.jsxs("form",{onSubmit:pe,children:[t.jsxs("div",{style:{marginBottom:"1rem"},children:[t.jsx("div",{style:{fontFamily:Ur,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.2em",color:"#22d3ee",textTransform:"uppercase",marginBottom:"0.2rem"},children:"Stay in the loop"}),t.jsx("div",{style:{fontSize:"0.72rem",color:"rgba(255,255,255,0.4)",fontFamily:"system-ui, sans-serif"},children:"Get updates on BSides Indore 2026"})]}),["text","email"].map(N=>t.jsx("input",{type:N,placeholder:N==="text"?"Name (optional)":"Email address *",value:N==="text"?p:f,onChange:q=>N==="text"?m(q.target.value):g(q.target.value),required:N==="email",style:{width:"100%",boxSizing:"border-box",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderRadius:4,padding:"0.5rem 0.75rem",color:"rgba(255,255,255,0.85)",fontSize:"0.82rem",fontFamily:"system-ui, sans-serif",marginBottom:N==="email"&&x?"0.4rem":"0.5rem",outline:"none"},onFocus:q=>q.currentTarget.style.borderColor="rgba(34,211,238,0.5)",onBlur:q=>q.currentTarget.style.borderColor="rgba(34,211,238,0.15)"},N)),x&&t.jsx("div",{style:{fontSize:"0.72rem",color:"#f87171",fontFamily:"system-ui, sans-serif",marginBottom:"0.5rem"},children:x}),t.jsx("button",{type:"submit",disabled:v==="loading",style:{width:"100%",fontFamily:Ur,fontWeight:900,fontSize:"0.65rem",letterSpacing:"0.15em",textTransform:"uppercase",cursor:"pointer",borderRadius:4,padding:"0.62rem",background:"#22d3ee",border:"none",color:"#000",opacity:v==="loading"?.6:1,transition:"opacity 0.2s",boxShadow:"0 0 16px rgba(34,211,238,0.3)"},children:v==="loading"?"SUBMITTING...":"NOTIFY ME â"}),t.jsx("div",{style:{marginTop:"0.75rem",fontSize:"0.65rem",color:"rgba(255,255,255,0.25)",fontFamily:"system-ui, sans-serif",textAlign:"center"},children:"No spam. Unsubscribe anytime."})]})})]}),xe=({items:N,borderColor:q,textColor:te,bgColor:S})=>t.jsx("div",{style:{position:"absolute",top:"100%",left:"50%",transform:"translateX(-50%)",minWidth:200,zIndex:9999,paddingTop:6},children:t.jsx("div",{className:"bsi-dropdown-in",style:{background:"rgba(6,10,18,0.98)",border:`1px solid ${q}`,backdropFilter:"blur(16px)",boxShadow:"0 8px 32px rgba(0,0,0,0.7)"},children:N.map((H,ae)=>t.jsx("button",{onClick:()=>{l(!1),c(!1),s(H.path)},style:{display:"block",width:"100%",textAlign:"left",padding:"0.75rem 1.1rem",fontFamily:Ur,fontWeight:900,fontSize:"0.62rem",letterSpacing:"0.15em",color:te,textTransform:"uppercase",background:"transparent",border:"none",borderBottom:ae<N.length-1?`1px solid ${S}`:"none",cursor:"pointer",transition:"background 0.15s"},onMouseEnter:ce=>ce.currentTarget.style.background=S,onMouseLeave:ce=>ce.currentTarget.style.background="transparent",children:H.label},H.path))})});if(e||n)return al.createPortal(t.jsx(cf,{onHomeClick:R,onAboutClick:()=>L("/about"),onTeamClick:()=>L("/team"),onCommunityClick:()=>L("/community"),onEventsClick:()=>L("/events"),onContactClick:()=>L("/contact")}),document.body);const ve=n?"1rem":"1.5rem";return al.createPortal(t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` 84 @keyframes cfp-gn-blink{0%,49%{opacity:0.6}50%,100%{opacity:0}
84} 85 @keyframes cfp-gn-pulse{0%,100%{box-shadow:0 0 16px rgba(245,158,11,0.35)}50%{box-shadow:0 0 28px rgba(245,158,11,0.6)}} 86 @keyframes reg-gn-pulse{0%,100%{box-shadow:0 0 16px rgba(34,211,238,0.4)}50%{box-shadow:0 0 30px rgba(34,211,238,0.75)}} 87 `}),t.jsx("nav",{"aria-label":"Main navigation",style:{position:"fixed",top:0,left:0,right:0,zIndex:600,background:"rgba(8,12,20,0.85)",backdropFilter:"blur(12px)",borderBottom:"1px solid rgba(34,211,238,0.12)",boxShadow:"0 2px 24px rgba(0,0,0,0.6)"},children:t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:n?"0 1rem":"0 2rem",height:n?52:64,gap:ve},children:[t.jsx("button",{onClick:R,"aria-label":"BSides Indore, home",style:{background:"transparent",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",marginRight:n?"0.5rem":"1rem",flexShrink:0},children:t.jsx("img",{src:"/bsindorelogo-wobg.png",alt:"BSides Indore",style:{height:n?28:36,width:"auto",display:"block",filter:"drop-shadow(0 0 6px rgba(34,211,238,0.4))"}})}),t.jsx("div",{style:{width:1,height:20,background:"rgba(255,255,255,0.1)",flexShrink:0}}),t.jsx("button",{onClick:R,style:E("/"),onMouseEnter:_,onMouseLeave:A,"aria-label":"Home",children:"HOME"}),[{label:"ABOUT",path:"/about"},{label:"TEAM",path:"/team"},{label:"COMMUNITY",path:"/community"},{label:"EVENTS",path:"/events"},{label:"CONTACT",path:"/contact"}].map(({label:N,path:q})=>t.jsx("button",{onClick:()=>L(q),style:E(q),onMouseEnter:_,onMouseLeave:A,children:N},q)),t.jsxs("div",{style:{position:"relative",flexShrink:0},onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[t.jsxs("button",{"aria-label":"Programme menu","aria-expanded":d,onClick:()=>c(N=>!N),style:{...he,color:"#a78bfa",textShadow:"0 0 10px rgba(167,139,250,0.4)",display:"flex",alignItems:"center",gap:"0.25rem"},onMouseEnter:N=>{N.currentTarget.style.color="#c4b5fd",N.currentTarget.style.textShadow="0 0 16px rgba(167,139,250,0.7)"},onMouseLeave:N=>{N.currentTarget.style.color="#a78bfa",N.currentTarget.style.textShadow="0 0 10px rgba(167,139,250,0.4)"},children:[t.jsx("span",{style:{display:"inline-block",width:5,height:5,borderRadius:"50%",background:"#a78bfa",boxShadow:"0 0 6px rgba(167,139,250,0.8)",animation:"cfp-gn-blink 1.2s steps(1) infinite",flexShrink:0}}),"PROGRAM X2 ",t.jsx("span",{style:{fontSize:"0.55em",opacity:.7},children:"â¼"})]}),d&&t.jsx(xe,{items:[{label:"SPEAKERS",path:"/speakers"},{label:"TRAININGS",path:"/trainings"},{label:"SCHEDULE",path:"/schedule"},{label:"CFP REVIEW BOARD",path:"/cfp-review-board"},{label:"ADVISORY BOARD",path:"/advisory-board"}],borderColor:"rgba(167,139,250,0.3)",textColor:"#c4b5fd",bgColor:"rgba(167,139,250,0.08)"})]}),t.jsxs("div",{style:{position:"relative",flexShrink:0},onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:[t.jsxs("button",{"aria-label":"Sponsors menu","aria-expanded":o,onClick:()=>l(N=>!N),style:{...he,color:"#fbbf24",textShadow:"0 0 10px rgba(245,158,11,0.4)",display:"flex",alignItems:"center",gap:"0.25rem"},onMouseEnter:N=>{N.currentTarget.style.color="#fde68a"},onMouseLeave:N=>{N.currentTarget.style.color="#fbbf24"},children:["SPONSORS ",t.jsx("span",{style:{fontSize:"0.55em",opacity:.7},children:"â¼"})]}),o&&t.jsx(xe,{items:[{label:"OUR SPONSORS",path:"/sponsors"},{label:"CALL FOR SPONSORS",path:"/sponsors/call-for-sponsors"}],borderColor:"rgba(251,191,36,0.3)",textColor:"#fde68a",bgColor:"rgba(251,191,36,0.08)"})]}),t.jsx("button",{onClick:()=>L("/archive/x2"),style:E("/archive/x2"),onMouseEnter:_,onMouseLeave:A,children:"ARCHIVE"}),t.jsx("div",{style:{width:1,height:18,background:"rgba(255,255,255,0.1)",flexShrink:0}}),t.jsxs("button",{onClick:P,"aria-label":"Back to the edition vault",title:"Back to the edition vault",style:{fontFamily:Ur,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.14em",textTransform:"uppercase",color:"#a78bfa",background:"rgba(167,139,250,0.08)",border:"1px solid rgba(167,139,250,0.35)",borderRadius:4,padding:"0.42rem 0.8rem",cursor:"pointer",whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:"0.4rem",flexShrink:0},children:[t.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true",children:[t.jsx("path",{d:"M19 12H5"}),t.jsx("path",{d:"m12 19-7-7 7-7"})]}),"VAULT"]}),t.jsx("div",{style:{width:1,height:18,background:"rgba(255,255,255,0.1)",flexShrink:0}}),t.jsxs("button",{onClick:()=>L("/register"),"aria-label":"Register for BSides Indore X2 â Early Bird open",style:{fontFamily:Ur,fontWeight:900,fontSize:n?"0.58rem":"0.65rem",letterSpacing:"0.1em",color:"#000",textTransform:"uppercase",background:"#22d3ee",border:"none",borderRadius:4,padding:n?"0.22rem 0.65rem":"0.3rem 0.9rem",cursor:"pointer",whiteSpace:"nowrap",flexShrink:0,display:"flex",alignItems:"center",gap:"0.35rem",animation:"reg-gn-pulse 2.5s ease-in-out infinite",transition:"transform 0.15s"},onMouseEnter:N=>{N.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:N=>{N.currentTarget.style.transform="none"},children:[t.jsx("span",{style:{display:"inline-block",width:5,height:5,borderRadius:"50%",background:"#000",opacity:.55,animation:"cfp-gn-blink 1.2s steps(1) infinite",flexShrink:0}}),"REGISTER"]}),t.jsx("button",{onClick:()=>L("/call-for-papers"),"aria-label":"Call for Papers: submissions closed",style:{fontFamily:Ur,fontWeight:900,fontSize:n?"0.58rem":"0.65rem",letterSpacing:"0.1em",color:"rgba(255,255,255,0.4)",textTransform:"uppercase",background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.12)",borderRadius:4,padding:n?"0.22rem 0.65rem":"0.3rem 0.9rem",cursor:"pointer",whiteSpace:"nowrap",flexShrink:0},children:"CFP CLOSED"}),t.jsx("div",{style:{width:1,height:18,background:"rgba(255,255,255,0.1)",flexShrink:0}}),t.jsxs("div",{style:{position:"relative",flexShrink:0},ref:I,children:[t.jsx("button",{"aria-label":"Get notified about BSides Indore 2026",onClick:J,style:{fontFamily:Ur,fontWeight:900,fontSize:n?"0.58rem":"0.65rem",letterSpacing:"0.1em",color:"#22d3ee",textTransform:"uppercase",background:"transparent",border:"1px solid rgba(34,211,238,0.5)",borderRadius:4,padding:n?"0.22rem 0.55rem":"0.3rem 0.8rem",cursor:"pointer",whiteSpace:"nowrap",boxShadow:"0 0 8px rgba(34,211,238,0.15)",transition:"background 0.2s, border-color 0.2s, box-shadow 0.2s"},onMouseEnter:N=>{N.currentTarget.style.background="rgba(34,211,238,0.1)",N.currentTarget.style.borderColor="rgba(34,211,238,0.8)",N.currentTarget.style.boxShadow="0 0 14px rgba(34,211,238,0.3)"},onMouseLeave:N=>{N.currentTarget.style.background="transparent",N.currentTarget.style.borderColor="rgba(34,211,238,0.5)",N.currentTarget.style.boxShadow="0 0 8px rgba(34,211,238,0.15)"},children:"GET NOTIFIED"}),u&&t.jsx(F,{})]})]})})]}),document.body)},Dd=28,Md=1e3,uf=Md/Dd,hf=()=>{const{pathname:r}
87=ls(),[e,n]=y.useState(!1),[s,i]=y.useState(!1),a=y.useRef(null),o=y.useRef(null),l=y.useRef(!0);return y.useEffect(()=>{window.scrollTo(0,0)},[r]),y.useEffect(()=>{if(l.current){l.current=!1;return}return a.current&&clearTimeout(a.current),o.current&&clearTimeout(o.current),i(!1),n(!0),a.current=setTimeout(()=>{i(!0),o.current=setTimeout(()=>n(!1),350)},700),()=>{a.current&&clearTimeout(a.current),o.current&&clearTimeout(o.current)}},[r]),e?t.jsxs("div",{style:{position:"fixed",top:0,left:0,right:0,zIndex:1e4,height:"4px",display:"flex",alignItems:"flex-end",gap:"2px",paddingLeft:"2px",opacity:s?0:1,transition:"opacity 0.35s ease",pointerEvents:"none"},children:[t.jsx("style",{children:` 88 @keyframes bsi-top-seg { 89 0% { opacity: 0.1; transform: scaleY(0.2); } 90 45% { opacity: 1; transform: scaleY(1); } 91 55% { opacity: 1; transform: scaleY(1); } 92 100% { opacity: 0.1; transform: scaleY(0.2); } 93 } 94 `}),Array.from({length:Dd},(d,c)=>{const u=c%7===0;return t.jsx("div",{style:{flex:1,height:"4px",borderRadius:"1px",background:u?"#a78bfa":"#22d3ee",transformOrigin:"bottom",animation:`bsi-top-seg ${Md}ms ease-in-out 1`,animationDelay:`${c*uf}ms`,animationFillMode:"forwards",boxShadow:u?"0 0 6px rgba(167,139,250,0.8)":"0 0 6px rgba(34,211,238,0.8)"}},c)})]}):null};function $t({as:r,text:e,className:n,style:s,glitchMs:i,glitchMinMs:a,glitchMaxMs:o,initialDelayMs:l,glitchDurationMs:d=750}){const c=r??"h1",[u,h]=y.useState(!1),p=y.useMemo(()=>typeof window>"u"?!0:window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches??!1,[]);return y.useEffect(()=>{if(p)return;const m=(R,L)=>{const P=Math.min(R,L),pe=Math.max(R,L);return Math.floor(P+Math.random()*(pe-P))},f=typeof i=="number"?i:a??4500,g=typeof i=="number"?i:o??12e3,v=()=>{h(!0),window.setTimeout(()=>h(!1),d)};let j=null,x=!1;const w=()=>{if(x)return;const R=m(f,g);j=window.setTimeout(()=>{v(),w()},R)},I=typeof l=="number"?l:m(400,1400);return j=window.setTimeout(()=>{v(),w()},I),()=>{x=!0,j&&window.clearTimeout(j)}},[d,i,a,o,l,p]),t.jsx(c,{"data-text":e,className:["bsi-heading",u?"bsi-heading--glitch":"",n??""].filter(Boolean).join(" "),style:s,children:e})}const mf=[{id:"sp1",label:"SP34K3R_01 :: 0DAY VULNERABILITY RESEARCH",color:"#22d3ee"},{id:"trk1",label:"TRACK_01 :: OFFENSIVE SECURITY & VULNERABILITY RESEARCH",color:"#f59e0b"},{id:"sp2",label:"SP34K3R_02 :: HARDWARE HACKING",color:"#22d3ee"},{id:"v1",label:"VILLAGE_01 :: LOCKPICKING VILLAGE",color:"#c084fc"},{id:"trk2",label:"TRACK_02 :: DEFENSE, DETECTION ENGINEERING & IR",color:"#f59e0b"},{id:"sp3",label:"SP34K3R_03 :: AUTOMOTIVE HACKING",color:"#22d3ee"},{id:"v2",label:"VILLAGE_02 :: DRONE SECURITY LAB",color:"#c084fc"},{id:"trk3",label:"TRACK_03 :: APPLICATION & CLOUD SECURITY",color:"#f59e0b"},{id:"sp4",label:"SP34K3R_04 :: SOCIAL ENGINEERING",color:"#22d3ee"},{id:"v3",label:"VILLAGE_03 :: BUG BOUNTY ARENA",color:"#c084fc"},{id:"trk4",label:"TRACK_04 :: APPLIED AI, ML & DATA SCIENCE",color:"#f59e0b"},{id:"sp5",label:"SP34K3R_05 :: OSINT",color:"#22d3ee"},{id:"v4",label:"VILLAGE_04 :: HARDWARE TEARDOWN",color:"#c084fc"},{id:"trk5",label:"TRACK_05 :: CYBER-PHYSICAL, IOT & INDUSTRY SECURITY",color:"#f59e0b"},{id:"sp6",label:"SP34K3R_06 :: CLOUD EXPLOITATION",color:"#22d3ee"},{id:"ciso",label:"CISO_ROUNDTABLE :: C-SUITE SECURITY LEADERS",color:"#fbbf24"},{id:"trk6",label:"TRACK_06 :: CRYPTOGRAPHY, PRIVACY & POLICY",color:"#f59e0b"},{id:"sp7",label:"SP34K3R_07 :: MALWARE REVERSE ENGINEERING",color:"#22d3ee"},{id:"trk7",label:"TRACK_07 :: HUMAN ELEMENT, CAREER & COMMUNITY",color:"#f59e0b"},{id:"drop",label:"CFP OPEN :: SUBMIT YOUR RESEARCH · BSI-2026",color:"rgba(251,191,36,0.85)"}];function Vt({bg:r="#080c14",monoFont:e='"Share Tech Mono", "Courier New", monospace',accent:n="#fbbf24",speedSeconds:s=55,items:i,style:a}){const o=i??mf,l=y.useMemo(()=>({fontFamily:e,fontSize:"0.7rem",letterSpacing:"0.08em",whiteSpace:"nowrap",color:"rgba(255,255,255,0.45)",animationDuration:`${s}s`}),[e,s]);return t.jsxs("div",{style:{overflow:"hidden",borderLeft:`2px solid ${n}66`,paddingLeft:"0.75rem",position:"relative",...a},children:[t.jsx("div",{style:{position:"absolute",left:"0.75rem",top:0,bottom:0,width:40,background:`linear-gradient(to right, ${r}, transparent)`,zIndex:1,pointerEvents:"none"}}),t.jsx("div",{style:{position:"absolute",right:0,top:0,bottom:0,width:60,background:`linear-gradient(to left, ${r}, transparent)`,zIndex:1,pointerEvents:"none"}}),t.jsx("div",{className:"bsi-ticker-track",style:l,children:[0,1].map(d=>t.jsxs("span",{style:{paddingRight:"5rem"},children:[t.jsx("span",{style:{color:n,fontWeight:900},children:">>> "}),t.jsx("span",{style:{color:"rgba(255,255,255,0.28)"},children:"[CLASSIFIED] "}),o.map((c,u)=>t.jsxs("span",{children:[t.jsx("span",{style:{color:c.color??"#22d3ee",fontWeight:800},children:c.label}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "})]},`${c.id}-${u}`)),t.jsx("span",{style:{color:"rgba(255,255,255,0.25)"},children:"[END TRANSMISSION] "})]},d))})]})}const Zi='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',fs="#22d3ee",Yo=({source:r,className:e,style:n})=>{const[s,i]=y.useState(!1),[a,o]=y.useState(""),[l,d]=y.useState(""),[c,u]=y.useState("idle"),[h,p]=y.useState(""),m=async f=>{if(f.preventDefault(),!l.trim())return;u("loading"),p("");const{error:g}=await Ot.from("notify_signups").insert({email:l.trim().toLowerCase(),name:a.trim()||null,source:r});g?g.code==="23505"?u("success"):(u("error"),p("Something went wrong. Try again.")):u("success")};return s?c==="success"?t.jsxs("div",{style:{display:"inline-flex",flexDirection:"column",alignItems:"center",gap:"0.4rem",padding:"0.75rem 2rem",background:"rgba(34,211,238,0.08)",border:`1px solid ${fs}40`},children:[t.jsx("span",{style:{fontFamily:Zi,fontSize:"0.75rem",fontWeight:900,letterSpacing:"0.2em",color:fs},children:"â YOU'RE ON THE LIST"}),t.jsx("span",{style:{fontSize:"0.72rem",color:"rgba(255,255,255,0.55)",fontFamily:"system-ui, sans-serif"},children:"We'll reach out before BSides Indore 2026."})]}):t.jsxs("div",{style:{background:"rgba(6,10,18,0.97)",border:`1px solid ${fs}30`,padding:"1.25rem",width:"min(300px, 100%)",textAlign:"left"},children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, ${fs}, rgba(34,211,238,0.15))`,marginBottom:"1rem"}}),t.jsxs("form",{onSubmit:m,style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[t.jsx("input",{type:"text",placeholder:"Name (optional)",value:a,onChange:f=>o(f.target.value),style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",padding:"0.5rem 0.75rem",color:"rgba(255,255,255,0.85)",fontSize:"0.82rem",fontFamily:"system-ui, sans-serif",outline:"none",width:"100%",boxSizing:"border-box"},onFocus:f=>f.currentTarget.style.borderColor="rgba(34,211,238,0.5)",onBlur:f=>f.currentTarget.style.borderColor="rgba(34,211,238,0.15)"}),t.jsx("input",{type:"email",placeholder:"Email address *",value:l,onCh
94ange:f=>d(f.target.value),required:!0,style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",padding:"0.5rem 0.75rem",color:"rgba(255,255,255,0.85)",fontSize:"0.82rem",fontFamily:"system-ui, sans-serif",outline:"none",width:"100%",boxSizing:"border-box"},onFocus:f=>f.currentTarget.style.borderColor="rgba(34,211,238,0.5)",onBlur:f=>f.currentTarget.style.borderColor="rgba(34,211,238,0.15)"}),h&&t.jsx("div",{style:{fontSize:"0.72rem",color:"#f87171",fontFamily:"system-ui, sans-serif"},children:h}),t.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[t.jsx("button",{type:"submit",disabled:c==="loading",style:{flex:1,fontFamily:Zi,fontWeight:900,fontSize:"0.65rem",letterSpacing:"0.15em",textTransform:"uppercase",background:fs,color:"#000",border:"none",padding:"0.62rem",cursor:"pointer",opacity:c==="loading"?.6:1,boxShadow:"0 0 16px rgba(34,211,238,0.3)"},children:c==="loading"?"SUBMITTING...":"NOTIFY ME â"}),t.jsx("button",{type:"button",onClick:()=>i(!1),style:{fontFamily:Zi,fontWeight:900,fontSize:"0.65rem",letterSpacing:"0.1em",background:"transparent",color:"rgba(255,255,255,0.4)",border:"1px solid rgba(255,255,255,0.12)",padding:"0.62rem 0.75rem",cursor:"pointer"},children:"â"})]}),t.jsx("div",{style:{fontSize:"0.62rem",color:"rgba(255,255,255,0.25)",fontFamily:"system-ui, sans-serif",textAlign:"center"},children:"No spam. Unsubscribe anytime."})]})]}):t.jsx("button",{onClick:()=>i(!0),className:e,style:{fontFamily:Zi,fontWeight:900,fontSize:"0.9rem",letterSpacing:"0.12em",textTransform:"uppercase",background:fs,color:"#000",border:"none",padding:"0.75rem 2rem",cursor:"pointer",boxShadow:"0 0 20px rgba(34,211,238,0.25)",...n},children:"Get Notified"})},fe='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',We="#22d3ee",pf={background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderLeft:`3px solid ${We}`,padding:"1.5rem"},gf=()=>t.jsx("div",{className:"min-h-screen text-white p-8",style:{background:"#080c14"},children:t.jsxs("div",{className:"max-w-6xl mx-auto",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx($t,{as:"h1",text:"ABOUT BSIDES INDORE 2026",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:fe,textShadow:"0 0 30px rgba(34,211,238,0.3)"}}),t.jsx("p",{className:"text-gray-200 tracking-wide",style:{fontFamily:fe,fontSize:"0.72rem",letterSpacing:"0.2em"},children:"COMMUNITY-DRIVEN · PRACTITIONER-LED · MERIT-BASED"})]}),t.jsx(Vt,{bg:"#080c14",style:{margin:"0 auto 2.5rem",maxWidth:820}}),t.jsxs("div",{className:"mb-8",style:pf,children:[t.jsx("h2",{className:"text-lg font-black mb-4 uppercase tracking-wide",style:{fontFamily:fe,color:We},children:"Our Mission"}),t.jsx("p",{className:"text-gray-100 leading-relaxed mb-3 text-sm",children:"BSides Indore 2026 is a community-driven cybersecurity conference bringing together security professionals, researchers, and enthusiasts from across India and beyond."}),t.jsx("p",{className:"text-gray-100 leading-relaxed text-sm",children:"Part of the global Security BSides movement, independently organized and rooted in community values. Open platform, practitioner-led, where expertise drives the agenda."})]}),t.jsxs("div",{className:"mb-10",style:{overflow:"hidden",border:"1px solid rgba(34,211,238,0.2)",borderTop:`2px solid ${We}`},children:[t.jsx("style",{children:` 95 @keyframes abtScan { 0%{top:-2px;opacity:0.7} 88%{opacity:0.3} 100%{top:100%;opacity:0} } 96 @keyframes abtBlink { 0%,48%,52%,100%{opacity:1} 50%{opacity:0} } 97 @keyframes abtSig { 0%,100%{opacity:1;box-shadow:0 0 6px #22d3ee} 50%{opacity:0.4;box-shadow:0 0 18px #22d3ee,0 0 36px rgba(34,211,238,0.3)} } 98 .abt-map-link { transition: background 0.25s; } 99 .abt-map-link:hover { background: rgba(34,211,238,0.07) !important; } 100 .abt-map-link:hover .abt-map-hint { opacity: 1 !important; transform: translateY(0) !important; } 101 @media (max-width: 767px) { 102 .abt-map-container { height: 260px !important; } 103 .abt-info-strip { grid-template-columns: 1fr !important; }
104 .abt-info-col { border-right: none !important; border-bottom: 1px solid rgba(34,211,238,0.08) !important; } 105 } 106 `}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0.6rem 1.5rem",background:"rgba(34,211,238,0.06)",borderBottom:"1px solid rgba(34,211,238,0.12)"},children:[t.jsx("span",{style:{fontFamily:fe,fontSize:"0.65rem",color:"rgba(34,211,238,0.55)",letterSpacing:"0.2em",textTransform:"uppercase"},children:"BSI-2026 · VENUE INTEL"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[t.jsx("span",{style:{width:7,height:7,borderRadius:"50%",background:We,display:"inline-block",flexShrink:0,animation:"abtSig 2s ease-in-out infinite"}}),t.jsx("span",{style:{fontFamily:fe,fontSize:"0.65rem",fontWeight:900,color:We,letterSpacing:"0.18em"},children:"SIGNAL LOCKED"})]})]}),t.jsxs("div",{className:"abt-map-container",style:{position:"relative",height:460,overflow:"hidden",background:"#020810"},children:[t.jsx("div",{style:{position:"absolute",left:"50%",transform:"translateX(-50%)",top:-180,display:"grid",gridTemplateColumns:"repeat(3, 256px)",gridTemplateRows:"repeat(3, 256px)",filter:"invert(0.92) hue-rotate(180deg) saturate(1.5) brightness(0.82) contrast(1.05)",pointerEvents:"none"},children:[14256,14257,14258].flatMap(r=>[23291,23292,23293].map(e=>t.jsx("img",{src:`https://tile.openstreetmap.org/15/${e}/${r}.png`,width:256,height:256,alt:"",style:{display:"block"},loading:"eager"},`${e}-${r}`)))}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:1,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(34,211,238,0.015) 3px, rgba(34,211,238,0.015) 4px)"}}),t.jsx("div",{style:{position:"absolute",left:0,right:0,height:2,zIndex:4,pointerEvents:"none",background:"linear-gradient(90deg, transparent 4%, rgba(34,211,238,0.35) 38%, rgba(34,211,238,0.6) 50%, rgba(34,211,238,0.35) 62%, transparent 96%)",boxShadow:"0 0 14px rgba(34,211,238,0.28), 0 0 4px rgba(34,211,238,0.55)",animation:"abtScan 6s linear infinite"}}),t.jsxs("div",{style:{position:"absolute",left:"53%",top:"50%",transform:"translate(-50%,-100%)",zIndex:6,pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"center",gap:0},children:[t.jsx("div",{style:{fontFamily:fe,fontSize:"0.6rem",fontWeight:900,color:"#fff",letterSpacing:"0.1em",background:"rgba(1,5,14,0.9)",border:`1px solid ${We}`,padding:"3px 8px",whiteSpace:"nowrap",boxShadow:"0 0 10px rgba(34,211,238,0.4)"},children:"JAAL SABHA GRAH"}),t.jsx("div",{style:{width:2,height:12,background:We,boxShadow:`0 0 6px ${We}`}}),t.jsx("div",{style:{width:10,height:10,borderRadius:"50%",background:We,boxShadow:`0 0 14px ${We}, 0 0 30px rgba(34,211,238,0.5)`,animation:"abtSig 1.8s ease-in-out infinite"}})]}),[["top:12px","left:12px","borderTop","borderLeft"],["top:12px","right:12px","borderTop","borderRight"],["bottom:12px","left:12px","borderBottom","borderLeft"],["bottom:12px","right:12px","borderBottom","borderRight"]].map((r,e)=>t.jsx("div",{style:{position:"absolute",width:22,height:22,zIndex:5,pointerEvents:"none",...Object.fromEntries(r.slice(0,2).map(n=>n.split(":"))),[r[2]]:`2px solid ${We}`,[r[3]]:`2px solid ${We}`}},e)),t.jsx("div",{style:{position:"absolute",bottom:14,left:16,zIndex:5,pointerEvents:"none",fontFamily:fe,fontSize:"0.7rem",color:"rgba(34,211,238,0.65)",letterSpacing:"0.12em"},children:"22°43â²N · 75°51â²E · INDORE"}),t.jsx("a",{href:"https://maps.google.com/maps?q=Jaal+Sabha+Grah,+Indore,+Madhya+Pradesh",target:"_blank",rel:"noopener noreferrer",className:"abt-map-link",title:"Open Jaal Sabha Grah in Google Maps",style:{position:"absolute",inset:0,zIndex:8,display:"block",cursor:"pointer",textDecoration:"none"},children:t.jsx("span",{className:"abt-map-hint",style:{position:"absolute",bottom:12,right:14,fontFamily:fe,fontSize:"0.6rem",fontWeight:900,color:We,letterSpacing:"0.12em",textTransform:"uppercase",background:"rgba(1,5,14,0.9)",border:"1px solid rgba(34,211,238,0.4)",padding:"5px 12px",opacity:.7,transform:"translateY(4px)",transition:"opacity 0.25s, transform 0.25s",pointerEvents:"none",boxShadow:"0 0 8px rgba(34,211,238,0.2)"},children:"OPEN IN GOOGLE MAPS â"})})]}),t.jsxs("div",{className:"abt-info-strip",style:{display:"grid",gridTemplateColumns:"minmax(0,1.8fr) minmax(0,2fr) minmax(0,1fr)",gap:0,background:"rgba(1,4,12,0.97)",borderTop:"1px solid rgba(34,211,238,0.12)"},children:[t.jsxs("div",{className:"abt-info-col",style:{padding:"1.5rem 2rem",borderRight:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{fontFamily:fe,fontSize:"0.6rem",color:"rgba(34,211,238,0.45)",letterSpacing:"0.22em",marginBottom:"0.6rem",textTransform:"uppercase"},children:"CONFIRMED VENUE"}),t.jsx("div",{style:{fontFamily:fe,fontSize:"1.9rem",fontWeight:900,color:"#fff",letterSpacing:"0.04em",lineHeight:1.1,textTransform:"uppercase"},children:"Jaal Sabha Grah"}),t.jsx("div",{style:{fontFamily:fe,fontSize:"0.75rem",color:We,letterSpacing:"0.14em",marginTop:"0.5rem",textTransform:"uppercase",opacity:.8},children:"Indore · Madhya Pradesh"}),t.jsx("div",{style:{height:2,background:`linear-gradient(90deg, ${We}
106, transparent)`,margin:"0.85rem 0",width:50}}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem"},children:[t.jsx("span",{style:{color:"#f59e0b",fontSize:"1rem"},children:"â
4.1"}),t.jsx("span",{style:{fontFamily:fe,fontSize:"0.65rem",color:"rgba(255,255,255,0.4)",letterSpacing:"0.06em"},children:"478 Google reviews"})]})]}),t.jsxs("div",{className:"abt-info-col",style:{padding:"1.5rem 2rem",borderRight:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{fontFamily:fe,fontSize:"0.6rem",color:"rgba(34,211,238,0.45)",letterSpacing:"0.22em",marginBottom:"0.9rem",textTransform:"uppercase"},children:"Event Schedule"}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[{date:"05 SEPT 2026",label:"TECHNICAL TRAININGS",note:"Paid · Separate Ticket",venueNote:"Venue TBA · different from conference venue",color:"#f87171"},{date:"06 SEPT 2026",label:"MAIN CONFERENCE",note:"Talks · Villages · CTF",venueNote:void 0,color:"#fb923c"},{date:"06 SEPT 2026",label:"RESUME CLINIC",note:"Included with Pass",venueNote:void 0,color:We}].map(r=>t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"110px 1fr",gap:"0.75rem",alignItems:"center",padding:"0.65rem 0.85rem",background:"rgba(255,255,255,0.025)",border:"1px solid rgba(255,255,255,0.05)",borderLeft:`3px solid ${r.color}`},children:[t.jsx("div",{style:{fontFamily:fe,fontSize:"0.7rem",fontWeight:900,color:r.color,letterSpacing:"0.06em"},children:r.date}),t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:fe,fontSize:"0.72rem",fontWeight:900,color:"#fff",letterSpacing:"0.06em"},children:r.label}),t.jsx("div",{style:{fontFamily:fe,fontSize:"0.62rem",color:"rgba(255,255,255,0.38)",letterSpacing:"0.04em",marginTop:"0.15rem"},children:r.note}),r.venueNote&&t.jsx("div",{style:{fontFamily:fe,fontSize:"0.56rem",color:"rgba(255,255,255,0.3)",letterSpacing:"0.03em",marginTop:"0.1rem"},children:r.venueNote})]})]},r.label))})]}),t.jsxs("div",{style:{padding:"1.5rem 1.5rem",display:"flex",flexDirection:"column",justifyContent:"center",gap:"0.75rem"},children:[t.jsx("div",{style:{fontFamily:fe,fontSize:"0.6rem",color:"rgba(34,211,238,0.45)",letterSpacing:"0.22em",textTransform:"uppercase"},children:"Geo Coordinates"}),t.jsxs("div",{style:{fontFamily:fe,fontSize:"1rem",fontWeight:900,color:We,letterSpacing:"0.08em",lineHeight:2},children:["22°43â²18â³N",t.jsx("br",{}),"75°51â²21â³E"]}),t.jsxs("div",{style:{fontFamily:fe,fontSize:"0.6rem",color:"rgba(34,211,238,0.3)",letterSpacing:"0.1em",marginTop:"0.25rem"},children:["VENUE CONFIRMED ",t.jsx("span",{style:{animation:"abtBlink 0.9s step-end infinite"},children:"â"})]})]})]}),t.jsxs("a",{href:"https://maps.google.com/maps?q=Jaal+Sabha+Grah,+Indore,+Madhya+Pradesh",target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.75rem",fontFamily:fe,fontSize:"0.8rem",fontWeight:900,color:We,textDecoration:"none",letterSpacing:"0.2em",textTransform:"uppercase",padding:"1rem 2rem",borderTop:"1px solid rgba(34,211,238,0.15)",background:"rgba(34,211,238,0.04)",transition:"background 0.2s"},onMouseEnter:r=>r.currentTarget.style.background="rgba(34,211,238,0.1)",onMouseLeave:r=>r.currentTarget.style.background="rgba(34,211,238,0.04)",children:[t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",background:We,flexShrink:0,boxShadow:`0 0 10px ${We}`}}),"GET DIRECTIONS TO JAAL SABHA GRAH",t.jsx("span",{style:{opacity:.5},children:"â"})]})]}),t.jsxs("div",{className:"mb-10",children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-5",style:{fontFamily:fe,color:We},children:"EVENT STRUCTURE · TWO DAYS"}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[{label:"TECHNICAL TRAININGS",sub:"5 SEPT 2026 · PAID HANDS-ON LABS",color:"#f87171",desc:"Intensive instructor-led workshops across Cloud Infrastructure, Malware Reverse Engineering, Hardware Analysis, and Network Penetration Testing. Separate ticketed programme.",venueNote:"Training venue: IPS College Vijay Nagar Campus (different from the conference venue)."},{label:"MAIN CONFERENCE",sub:"6 SEPT 2026 · 1 STAGE + 4 ZONES",color:"#fb923c",desc:"Independent researcher talks, hacker villages, Bug Bounty arena, CTF, and a Resume Clinic, all included with your conference pass. 400+ attendees.",venueNote:void 0}].map(r=>
106t.jsxs("div",{style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",borderLeft:`3px solid ${r.color}`,padding:"1.25rem"},children:[t.jsx("div",{className:"text-xs font-black tracking-wider uppercase mb-0.5",style:{fontFamily:fe,color:r.color},children:r.label}),t.jsx("div",{className:"text-xs mb-2",style:{fontFamily:fe,color:"rgba(255,255,255,0.75)",letterSpacing:"0.1em"},children:r.sub}),t.jsx("p",{className:"text-gray-300 text-sm leading-relaxed",children:r.desc}),r.venueNote&&t.jsx("p",{className:"text-xs leading-relaxed mt-1.5",style:{fontFamily:fe,color:"rgba(255,255,255,0.35)"},children:r.venueNote})]},r.label))})]}),t.jsxs("div",{className:"mb-10",children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-1 text-center",style:{fontFamily:fe,color:We},children:"CONFERENCE TRACKS · 2026"}),t.jsx("div",{className:"mb-5 text-center",style:{fontFamily:fe,fontSize:"0.62rem",color:"rgba(255,255,255,0.4)",letterSpacing:"0.08em"},children:"One stage, back to back, plus four parallel zones running alongside it"}),t.jsx("div",{className:"mb-2",style:{fontFamily:fe,fontSize:"0.56rem",color:"rgba(255,255,255,0.35)",letterSpacing:"0.15em"},children:"THE STAGE"}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-3 mb-4",children:[{label:"CXO Panel",color:"#f59e0b"},{label:"Main Stage",color:"#fb923c"}].map(r=>t.jsx("div",{style:{background:"rgba(255,255,255,0.03)",border:`1px solid ${r.color}30`,borderLeft:`3px solid ${r.color}`,padding:"0.75rem 1rem",borderRadius:6},children:t.jsx("span",{style:{fontFamily:fe,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.1em",color:r.color},children:r.label})},r.label))}),t.jsx("div",{className:"mb-2",style:{fontFamily:fe,fontSize:"0.56rem",color:"rgba(255,255,255,0.35)",letterSpacing:"0.15em"},children:"PARALLEL ZONES"}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-3",children:[{label:"CTF Arena",color:"#facc15"},{label:"Resume Clinic",color:"#4ade80"},{label:"Bug Bounty Track",color:"#f87171"},{label:"Hacker Village",color:We}].map(r=>t.jsx("div",{style:{background:"rgba(255,255,255,0.03)",border:`1px solid ${r.color}30`,borderLeft:`3px solid ${r.color}`,padding:"0.75rem 1rem",borderRadius:6},children:t.jsx("span",{style:{fontFamily:fe,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.1em",color:r.color},children:r.label})},r.label))})]}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5 mb-10",children:[{label:"SESSIONS",value:"20+",color:We},{label:"VILLAGES",value:"TBA",color:"#a78bfa"},{label:"TRACKS",value:"6",color:"#4ade80"}].map(r=>t.jsxs("div",{className:"text-center p-8",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:[t.jsx("div",{className:"text-5xl font-black mb-3",style:{fontFamily:fe,color:r.color},children:r.value}),t.jsx("div",{className:"text-gray-200 uppercase tracking-widest text-xs font-bold",style:{fontFamily:fe},children:r.label})]},r.label))}),t.jsxs("div",{className:"mb-10 p-6",style:{background:"rgba(167,139,250,0.04)",border:"1px solid rgba(167,139,250,0.2)",borderLeft:"3px solid #a78bfa"},children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-2",style:{fontFamily:fe,color:"#a78bfa"},children:"GLOBAL RECON // LOCAL IMPACT"}),t.jsxs("p",{className:"text-gray-100 text-sm leading-relaxed",children:["While we are deeply rooted in Indore, our standards are international. Our organising team actively collaborates with the ",t.jsx("span",{style:{color:"#a78bfa"},children:"Global BSides Network"}),", from Las Vegas to London, to ensure our local chapter meets world-class benchmarks. We are importing global best practices to elevate the Madhya Pradesh tech ecosystem."]})]}),t.jsxs("div",{className:"mt-14",children:[t.jsx("style",{children:` 107 @keyframes amberpulse { 108 0%, 100% { box-shadow: 0 0 12px rgba(245,158,11,0.12), inset 0 0 8px rgba(245,158,11,0.03); } 109 50% { box-shadow: 0 0 22px rgba(245,158,11,0.22), inset 0 0 14px rgba(245,158,11,0.06); } 110 } 111 @keyframes amberfloat { 112 0%, 100% { transform: translateY(0px); } 113 50% { transform: translateY(-6px); } 114 } 115 .sponsor-card { 116 transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; 117 animation: amberpulse 4s ease-in-out infinite, amberfloat 3.4s ease-in-out infinite; 118 } 119 .sponsor-card:hover { 120 border-color: rgba(245,158,11,0.75) !important; 121 box-shadow: 0 0 32px rgba(245,158,11,0.28), inset 0 0 18px rgba(245,158,11,0.07) !important; 122 background: rgba(245,158,11,0.1) !important; 123 animation: none; 124 transform: translateY(-3px); 125 } 126 `}),t.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[t.jsx("div",{className:"h-px flex-1",style:{background:"rgba(245,158,11,0.2)"}}),t.jsx("div",{style:{fontFamily:fe,fontSize:"1.1rem",fontWeight:900,letterSpacing:"0.22em",color:"#f59e0b",textTransform:"uppercase",textShadow:"0 0 18px rgba(245,158,11,0.4)"},children:"BACKED BY · X1 EDITION"}),t.jsx("div",{className:"h-px flex-1",style:{background:"rgba(245,158,11,0.2)"}})]}),t.jsx("p",{className:"text-center text-gray-300 text-sm mb-8 max-w-xl mx-auto",children:"Organizations that trusted BSides Indore from day one."}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(175px, 100%), 220px))",justifyContent:"center",gap:"1.25rem"},children:[{src:"/media/past-sponsors/altered-security.png",alt:"Altered Security",href:"https://www.alteredsecurity.com"},{src:"/media/past-sponsors/cloudsek.png",alt:"CloudSEK",href:"https://cloudsek.com"},{src:"/media/past-sponsors/hackthebox.webp",alt:"Hack The Box",href:"https://www.hackthebox.com"},{src:"/media/past-sponsors/blackperl.png",alt:"BlackPerl",href:"https://blackperldfir.com/"},{src:"/media/past-sponsors/offsec.webp",alt:"OffSec",href:"https://www.offsec.com"}].map((r,e)=>t.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",display:"block"},children:t.jsxs("div",{className:"sponsor-card",style:{position:"relative",background:"rgba(245,158,11,0.05)",border:"1px solid rgba(245,158,11,0.25)",borderTop:"2px solid #f59e0b",padding:"1.75rem 1.25rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.75rem",overflow:"hidden",animationDelay:`${e*.7}s`},children:[t.jsx("div",{style:{position:"absolute",top:0,left:0,width:14,height:14,borderTop:"2px solid #f59e0b",borderLeft:"2px s
126olid #f59e0b",opacity:.6}}),t.jsx("div",{style:{position:"absolute",bottom:0,right:0,width:14,height:14,borderBottom:"2px solid #f59e0b",borderRight:"2px solid #f59e0b",opacity:.6}}),t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 4px)",zIndex:1}}),t.jsx("div",{style:{height:100,display:"flex",alignItems:"center",justifyContent:"center",width:"100%",position:"relative",zIndex:2},children:t.jsx("img",{src:r.src,alt:r.alt,loading:"lazy",style:{maxWidth:"85%",maxHeight:80,width:"auto",height:"auto",objectFit:"contain",display:"block",margin:"0 auto",filter:"brightness(1) saturate(0.9)",transition:"filter 0.25s"},onMouseEnter:n=>{n.currentTarget.style.filter="brightness(1.15) saturate(1.1)"},onMouseLeave:n=>{n.currentTarget.style.filter="brightness(1) saturate(0.9)"}})}),t.jsx("div",{style:{fontFamily:fe,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.16em",color:"rgba(245,158,11,0.8)",textTransform:"uppercase",textAlign:"center",position:"relative",zIndex:2},children:r.alt})]})},r.src))})]}),t.jsxs("div",{className:"text-center mt-12",children:[t.jsx("h2",{className:"text-2xl font-black text-white mb-3 tracking-wider uppercase",style:{fontFamily:fe},children:"Join Us at BSides Indore 2026"}),t.jsx("p",{className:"text-gray-200 text-sm mb-6",children:"Be part of Indore's premier cybersecurity conference"}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsx(Yo,{source:"about_cta"}),t.jsx("a",{href:"/sponsors/call-for-sponsors",className:"inline-block px-8 py-3 font-black tracking-wider uppercase text-sm",style:{fontFamily:fe,color:We,border:`1px solid ${We}50`},children:"Become a Sponsor"})]})]})]})}),mn='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',Dn="#22d3ee",Gl="#f59e0b",ff=[{label:"Home",path:"/"},{label:"About",path:"/about"},{label:"Team",path:"/team"},{label:"Community",path:"/community"},{label:"Events",path:"/events"},{label:"Contact",path:"/contact"},{label:"Schedule",path:"/schedule"},{label:"X2 Archive",path:"/archive/x2"},{label:"X1 Archive",path:"/archive/x1"},{label:"Code of Conduct",path:"/code-of-conduct"},{label:"Refund Policy",path:"/refund-policy"},{label:"Terms & Conditions",path:"/terms-conditions"},{label:"Privacy Policy",path:"/privacy-policy"}],yf=[{label:"Our Sponsors",path:"/sponsors"},{label:"Call for Sponsors",path:"/sponsors/call-for-sponsors"},{label:"Become a Sponsor",path:"/sponsors/apply"}],bf=[{label:"Volunteer Form",href:"https://forms.gle/y8Ggq1KFNWabZ4yg8"},{label:"Ambassador Programme",href:"https://forms.gle/2nS6T8DMsLdorJ2g9"}],xf=[{platform:"twitter",href:"https://twitter.com/BsidesIndore"},{platform:"linkedin",href:"https://www.linkedin.com/company/security-bsides-indore"},{platform:"instagram",href:"https://instagram.com/bsidesindore"},{platform:"whatsapp",href:"https://chat.whatsapp.com/LqiB84oShPtCdNvsNieKyW"}],vf=[{label:"General",email:"[email protected]"},{label:"Sponsorship",email:"[email protected]"},{label:"Volunteers",email:"[email protected]"}],rt=()=>{const r=St(),[e,n]=y.useState(""),[s,i]=y.useState(""),[a,o]=y.useState("idle"),l=async h=>{if(h.preventDefault(),!e.trim())return;o("loading");const{error:p}=await Ot.from("notify_signups").insert({email:e.trim().toLowerCase(),name:s.trim()||null,source:"footer"});o(p&&p.code!=="23505"?"error":"success")},d=h=>{r(h),window.scrollTo(0,0)},c={fontFamily:mn,fontSize:"0.7rem",letterSpacing:"0.12em",color:"rgba(255,255,255,0.82)",textTransform:"uppercase",background:"none",border:"none",cursor:"pointer",padding:0,textAlign:"left",transition:"color 0.2s",textDecoration:"none",display:"block"},u={fontFamily:mn,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.22em",color:Dn,textTransform:"uppercase",marginBottom:"1rem"};return t.jsxs("footer",{style:{borderTop:"1px solid rgba(34,211,238,0.15)",background:"rgba(0,0,0,0.95)",backdropFilter:"blur(12px)",marginTop:"4rem"},children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, transparent, ${Dn}60, ${Gl}60, transparent)`}}),t.jsxs("div",{style:{maxWidth:1100,margin:"0 auto",padding:"3rem 2rem 2rem"},children:[t.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-[1.6fr_1fr_1fr_1fr_1.8fr]",style:{gap:"2rem 2.5rem",marginBottom:"2.5rem"},children:[t.jsxs("div",{children:[t.jsx("div",{style:u,children:"Navigation"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2",style:{gap:"0.4rem 1.25rem"},children:ff.map(({label:h,path:p})=>t.jsx("button",{onClick:()=>d(p),style:c,onMouseEnter:m=>m.currentTarget.style.color=Dn,onMouseLeave:m=>m.currentTarget.style.color="rgba(255,255,255,0.82)",children:h},p))})]}),t.jsxs("div",{children:[t.jsx("div",{style:u,children:"Sponsors"}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.6rem"},children:yf.map(({label:h,path:p})=>t.jsx("button",{onClick:()=>d(p),style:{...c,color:"rgba(251,191,36,0.85)"},onMouseEnter:m=>m.currentTarget.style.color=Gl,onMouseLeave:m=>m.currentTarget.style.color="rgba(251,191,36,0.6)",children:h},p))})]}),t.jsxs("div",{children:[t.jsx("div",{style:u,children:"Community"}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.6rem"},children:bf.map(({label:h,href:p})=>t.jsx("a",{href:p,target:"_blank",rel:"noopener noreferrer",style:c,onMouseEnter:m=>m.currentTarget.style.color=Dn,onMouseLeave:m=>m.currentTarget.style.color="rgba(255,255,255,0.82)",children:h},h))})]}),t.jsxs("div",{children:[t.jsx("div",{style:u,children:"Follow Us"}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:xf.map(({platform:h,href:p})=>t.jsx(Fr,{platform:h,href:p,showLabel:!0,size:"sm"},h))})]}),t.jsxs("div",{children:[t.jsx("div",{style:u,children:"Get Notified"}),a==="success"?t.jsx("div",{style:{fontFamily:mn,fontSize:"0.68rem",color:Dn,letterSpacing:"0.1em"},children:"â YOU'RE ON THE LIST"}):t.jsxs("form",{onSubmit:l,style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[t.jsx("input",{type:"text",placeholder:"Name (optional)",value:s,onChange:h=>i(h.target.value),style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",padding:"0.45rem 0.7rem",color:"rgba(255,255,255,0.8)",fontSize:"0.78rem",fontFamily:"system-ui, sans-serif",outline:"none",width:"100%",boxSizing:"border-box"}}),t.jsx("input",{type:"email",placeholder:"Email address *",value:e,onCh
126ange:h=>n(h.target.value),required:!0,style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",padding:"0.45rem 0.7rem",color:"rgba(255,255,255,0.8)",fontSize:"0.78rem",fontFamily:"system-ui, sans-serif",outline:"none",width:"100%",boxSizing:"border-box"}}),a==="error"&&t.jsx("div",{style:{fontSize:"0.68rem",color:"#f87171",fontFamily:"system-ui"},children:"Something went wrong. Try again."}),t.jsx("button",{type:"submit",disabled:a==="loading",style:{fontFamily:mn,fontWeight:900,fontSize:"0.62rem",letterSpacing:"0.15em",textTransform:"uppercase",background:Dn,color:"#000",border:"none",padding:"0.55rem",cursor:"pointer",opacity:a==="loading"?.6:1},children:a==="loading"?"SUBMITTING...":"NOTIFY ME â"})]})]})]}),t.jsxs("div",{style:{borderTop:"1px solid rgba(34,211,238,0.1)",paddingTop:"1.5rem",marginBottom:"1.5rem"},children:[t.jsx("div",{style:{...u,marginBottom:"0.75rem"},children:"Contact"}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"1.5rem"},children:vf.map(({label:h,email:p})=>t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:mn,fontSize:"0.58rem",color:"rgba(255,255,255,0.55)",letterSpacing:"0.15em",textTransform:"uppercase",marginBottom:"0.2rem"},children:h}),t.jsx("a",{href:`mailto:${p}`,style:{fontFamily:mn,fontSize:"0.68rem",color:Dn,letterSpacing:"0.08em",textDecoration:"none"},onMouseEnter:m=>m.currentTarget.style.textDecoration="underline",onMouseLeave:m=>m.currentTarget.style.textDecoration="none",children:p})]},h))})]}),t.jsxs("div",{style:{borderTop:"1px solid rgba(34,211,238,0.08)",paddingTop:"1.25rem",display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:"0.5rem"},children:[t.jsx("div",{style:{fontFamily:mn,fontSize:"0.6rem",color:"rgba(255,255,255,0.5)",letterSpacing:"0.15em",textTransform:"uppercase"},children:"© 2026 BSides Indore. All rights reserved."}),t.jsx("div",{style:{fontFamily:mn,fontSize:"0.6rem",color:"rgba(255,255,255,0.5)",letterSpacing:"0.1em",textTransform:"uppercase"},children:"Indore, India"})]})]})]})};function wf(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(gf,{}),t.jsx(rt,{})]})}const Sr='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',Zt="#22d3ee",Ao="#a78bfa",Sf=[{id:"prathmesh",name:"Prathmesh Dharkar",role:"Chapter Lead",company:"Cyber Security Implementation & Ops Specialist (Offensive Security)",photo:"/media/team/prathmesh.jpg",linkedin:"https://www.linkedin.com/in/prathmeshdharkar/",instagram:"https://www.instagram.com/nittonull/",twitter:"https://twitter.com/nittonull",photoStyle:{transform:"scale(1.6)",transformOrigin:"center 72%"}},{id:"aarushi",name:"Aarushi Koolwal",role:"Core Team",company:"Security Engineer, PhonePe | Black Hat Speaker",photo:"/media/team/aarushi.jpg",linkedin:"https://www.linkedin.com/in/aarushikool/"},{id:"shreya",name:"Shreya Pohekar Agrawal",role:"Core Team",company:"Security Researcher, Microsoft",photo:"/media/team/shreya.jpg",linkedin:"https://www.linkedin.com/in/shreya-pohekar-agrawal-b7357a135/"},{id:"anurag",name:"Anurag Mishra",role:"Core Team",company:"Senior Security Engineer, Paytm",photo:"/media/team/anurag.jpg",linkedin:"https://www.linkedin.com/in/anuragmishra06/",photoStyle:{transform:"scale(1.05)",transformOrigin:"center 72%"}},{id:"vedant",name:"Vedant Jain",role:"Core Team",company:"Senior Security Engineer · Confidential",photo:"/media/team/vedant.jpg",linkedin:"https://www.linkedin.com/in/ved-ant-jain/",photoStyle:{transform:"scale(1.6)",transformOrigin:"center 72%"}},{id:"rishabh",name:"Rishabh Soni",role:"Core Team",company:"Red Team Ops · VAPT · Hardware & ICS/SCADA Security",photo:"/media/team/rishabh-soni.jpg",linkedin:"https://www.linkedin.com/in/azmendus/",photoStyle:{objectFit:"contain",objectPosition:"center bottom",transform:"none"}},{id:"gitansh",name:"Gitansh Pujari",role:"Core Team",company:"Member of Technical Staff, Oracle Cloud Infrastru
126cture",photo:"/media/team/gitansh.jpg",linkedin:"https://www.linkedin.com/in/gitansh-pujari-531173167/",photoStyle:{objectFit:"cover",objectPosition:"center 35%",transform:"scale(1.9)",transformOrigin:"center 50%"}},{id:"rahul",name:"Rahul Kumar",role:"Core Team",company:"Product / UX Designer · Graphics & Gaming · AR/VR · 3D Modeling · BSides Ahmedabad & Bangalore",photo:"/media/team/rahul-kumar.jpg",linkedin:"https://www.linkedin.com/in/rahul-kumar-",photoStyle:{objectFit:"cover",objectPosition:"center 25%"}}],Qi=({pos:r})=>{const s=Zt,i={position:"absolute",width:18,height:18,opacity:.9,zIndex:10},a={tl:{top:0,left:0,borderTop:`2px solid ${s}`,borderLeft:`2px solid ${s}`},tr:{top:0,right:0,borderTop:`2px solid ${s}`,borderRight:`2px solid ${s}`},bl:{bottom:0,left:0,borderBottom:`2px solid ${s}`,borderLeft:`2px solid ${s}`},br:{bottom:0,right:0,borderBottom:`2px solid ${s}`,borderRight:`2px solid ${s}`}};return t.jsx("div",{style:{...i,...a[r]}})},jf=({member:r})=>t.jsxs("div",{style:{position:"relative",background:"linear-gradient(160deg, #0d1220 0%, #080c14 100%)",border:"1px solid rgba(34,211,238,0.18)",clipPath:"polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%)",overflow:"hidden",transition:"border-color 0.3s, box-shadow 0.3s"},onMouseEnter:e=>{e.currentTarget.style.borderColor="rgba(34,211,238,0.5)",e.currentTarget.style.boxShadow="0 0 28px rgba(34,211,238,0.12), inset 0 0 20px rgba(34,211,238,0.03)"},onMouseLeave:e=>{e.currentTarget.style.borderColor="rgba(34,211,238,0.18)",e.currentTarget.style.boxShadow="none"},children:[t.jsx(Qi,{pos:"tl"}),t.jsx(Qi,{pos:"tr"}),t.jsx(Qi,{pos:"bl"}),t.jsx(Qi,{pos:"br"}),t.jsx("div",{style:{position:"absolute",top:0,right:0,width:0,height:0,borderStyle:"solid",borderWidth:"0 22px 22px 0",borderColor:"transparent rgba(34,211,238,0.35) transparent transparent",zIndex:2}}),t.jsxs("div",{style:{position:"relative",width:"100%",height:280,overflow:"hidden",background:"#040608"},children:[t.jsx("img",{src:r.photo,alt:r.name,onError:e=>{e.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center 72%",display:"block",transform:"scale(1.32)",transformOrigin:"center 72%",...r.photoStyle}}),t.jsx("div",{style:{position:"absolute",inset:0,backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px)",pointerEvents:"none",zIndex:1}}),t.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:"40%",background:"linear-gradient(to top, #080c14 0%, transparent 100%)",zIndex:2}}),t.jsxs("div",{style:{position:"absolute",top:10,left:10,zIndex:3,display:"flex",alignItems:"center",gap:5,background:"rgba(8,12,20,0.75)",padding:"3px 7px",border:"1px solid rgba(34,211,238,0.25)"},children:[t.jsx("div",{style:{width:5,height:5,borderRadius:"50%",background:Zt,boxShadow:`0 0 6px ${Zt}`}}),t.jsx("span",{style:{fontFamily:Sr,fontSize:"0.55rem",color:Zt,letterSpacing:"0.12em"},children:"ACTIVE"})]}),t.jsx("div",{style:{position:"absolute",top:28,right:8,zIndex:3,fontFamily:Sr,fontSize:"0.5rem",color:"rgba(34,211,238,0.72)",letterSpacing:"0.1em"},children:"BSI-2026"})]}),t.jsxs("div",{style:{padding:"1rem 1.1rem 1.1rem",position:"relative",display:"flex",flexDirection:"column",height:178,overflow:"hidden"},children:[t.jsx("h3",{style:{fontFamily:Sr,fontSize:"0.92rem",fontWeight:900,color:"#ffffff",letterSpacing:"0.08em",textTransform:"uppercase",margin:"0 0 0.4rem",lineHeight:1.25,textShadow:"0 0 12px rgba(255,255,255,0.15)"},children:r.name}),t.jsx("div",{style:{alignSelf:"flex-start",padding:"3px 10px",marginBottom:"0.55rem",background:"rgba(167,139,250,0.15)",border:"1px solid rgba(167,139,250,0.4)",fontFamily:Sr,fontSize:"0.65rem",fontWeight:700,color:Ao,letterSpacing:"0.15em",textTransform:"uppercase"},children:r.role}),r.company&&t.jsx("div",{style:{fontFamily:'"Share Tech Mono","Courier New",monospace',fontSize:"0.7rem",color:"rgba(255,255,255,0.78)",letterSpacing:"0.03em",lineHeight:1.5,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:r.company}),t.jsxs("div",{style:{marginTop:"auto",paddingTop:"0.75rem"},children:[t.jsx("div",{style:{height:1,background:"linear-gradient(to right, transparent, rgba(34,211,238,0.45) 30%, rgba(34,211,238,0.45) 70%, transparent)",marginBottom:"0.75rem"}}),t.jsx(Us,{linkedin:r.linkedin,twitter:r.twitter,instagram:r.instagram,showLabel:!1,size:"sm"})]})]})]}),kf=()=>t.jsxs("div",{className:"min-h-screen text-white p-8",style:{background:"#080c14"},children:[t.jsx("style",{children:` 127 @keyframes gridScroll { 128 from { background-position: 0 0; } 129 to { background-position: 0 60px; } 130 } 131 @keyframes glitchBar { 132 0%,94% { opacity: 0; transform: translateY(-10px); } 133 95% { opacity: 1; transform: translateY(0); } 134 96% { opacity: 0; } 135 97% { opacity: 0.7; transform: translateY(2px); } 136 100% { opacity: 0; } 137 } 138 @keyframes particleDrift { 139 0% { transform: translateY(0) translateX(0); opacity: 0; } 140 10% { opacity: 0.6; } 141 90% { opacity: 0.3; } 142 100% { transform: translateY(-80px) translateX(20px); opacity: 0; } 143 } 144 `}),t.jsx("div",{"aria-hidden":"true",style:{position:"fixed",inset:0,backgroundImage:`linear-gradient(rgba(34,211,238,0.04) 1px, transparent 1px), 145 linear-gradient(90deg, rgba(34,211,238,0.04) 1px, transparent 1px)`,backgroundSize:"60px 60px",animation:"gridScroll 8s linear infinite",pointerEvents:"none",zIndex:0}}),t.jsxs("div",{className:"max-w-6xl mx-auto",style:{position:"relative",zIndex:1},children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx($t,{as:"h1",text:"CORE TEAM",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:Sr,textShadow:"0 0 24px rgba(34,211,238,0.3)"}}),t.jsx("p",{className:"text-gray-400 tracking-wide",style:{fontFamily:Sr,fontSize:"0.72rem",letterSpacing:"0.2em"},children:"THE MINDS BEHIND BSIDES INDORE 2026"})]}),t.jsx(Vt,{bg:"#080c14",style:{margin:"0 auto 2.5rem",maxWidth:820,borderLeftColor:"rgba(34,211,238,0.55)"},accent:Zt}),t.jsx("div",{className:"mb-12 p-6",style:{background:"rgba(34,211,238,0.04)",border:`1px solid ${Zt}25`,borderLeft:`3px solid ${Zt}`},children:t.jsx("p",{className:"text-gray-100 text-sm leading-relaxed m-0",children:"Built by practitioners, driven by passion. Every person on this team is a security professional who chose to invest their time in growing the next generation of defenders in Central India. We share knowledge openly, mentor freely, and believe that a stronger security community begins with people willing to lead by example."})}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(220px, 1fr))",gap:"1.5rem",marginBottom:"3rem",justifyItems:"stretch"},children:Sf.map(r=>
145t.jsx(jf,{member:r},r.id))}),t.jsxs("div",{className:"mb-10 p-6",style:{background:"rgba(34,211,238,0.04)",border:`1px solid ${Zt}25`,borderLeft:`3px solid ${Zt}`},children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-2",style:{fontFamily:Sr,color:Zt},children:"VOLUNTEERS, THE UNSEEN LAYER"}),t.jsx("p",{className:"text-gray-100 text-sm leading-relaxed m-0",children:"BSides Indore runs on the combined effort of dozens of volunteers who give their time, energy, and expertise without expectation of return. From registration desks to AV setup, social media to on-ground logistics. Every role matters. While we can't list every contributor here, this conference exists because of them. If you've ever volunteered with us: thank you."})]}),t.jsxs("div",{className:"mb-10 p-6",style:{background:"rgba(167,139,250,0.04)",border:"1px solid rgba(167,139,250,0.2)",borderLeft:`3px solid ${Ao}`},children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-2",style:{fontFamily:Sr,color:Ao},children:"JOIN THE SWARM, RECRUITMENT OPEN"}),t.jsx("p",{className:"text-gray-100 text-sm leading-relaxed",children:"The team is growing and we are always looking for motivated individuals to plug into the network. Whether your strength is logistics, design, operations, outreach, or security itself, there is a node for you. Help build something that matters for the Central India security community. No prior conference experience required, just the drive to contribute."})]}),t.jsxs("div",{className:"text-center mt-12",children:[t.jsx("h2",{className:"text-2xl font-black text-white mb-3 tracking-wider uppercase",style:{fontFamily:Sr},children:"Be Part of BSides Indore 2026"}),t.jsx("p",{className:"text-gray-200 text-sm mb-6",children:"Join the team or show up as a volunteer, every node matters"}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[t.jsx("a",{href:"https://forms.gle/y8Ggq1KFNWabZ4yg8",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 font-black tracking-wider uppercase text-sm",style:{fontFamily:Sr,background:Zt,color:"#000",boxShadow:"0 0 20px rgba(34,211,238,0.25)"},children:"Apply as Volunteer"}),t.jsx("a",{href:"mailto:[email protected]",className:"inline-block px-8 py-3 font-black tracking-wider uppercase text-sm",style:{fontFamily:Sr,color:Zt,border:`1px solid ${Zt}50`},children:"Get in Touch"})]})]}),t.jsx("div",{className:"mt-16 text-center",style:{fontFamily:'"Share Tech Mono","Courier New",monospace',color:"rgba(34,211,238,0.72)",fontSize:"0.85rem",letterSpacing:"0.15em"},children:"// TEAM NODE ACTIVE · BSI-2026"})]})]});function Tf(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(kf,{}),t.jsx(rt,{})]})}const Gt='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',st="#4ade80",ys="#38bdf8",ql="#22d3ee",Ef=[{src:"/media/community/bsides-dehradun.png",alt:"BSides Dehradun",href:"https://bsidesdehradun.com"},{src:"/media/community/cyberx.png",alt:"CyberX",href:"https://www.cyberx.org.in/"},{src:"/media/community/identityshield.webp",alt:"Identity Shield",href:"https://identityshield.miniorange.com/"},{src:"/media/community/seasides.png",alt:"Seasides Conference",href:"https://seasides.net"},{src:"/media/community/partner-1.jpeg",alt:"BSides Vizag",href:"https://bsides.org/event/bsidesvizag/"},{src:"/media/community/bbwic.jpeg",alt:"BBWIC Foundation",href:"https://www.bbwic.com/"},{src:"/media/community/fs0ciety.jpg",alt:"Fs0ciety00",href:"https://www.instagram.com/fs0ciety.00/"},{src:"/media/community/null-bangalore.jpeg",alt:"null Bangalore",href:"https://null.community/chapter
145s/1-bangalore"},{src:"/media/community/bsides-mumbai.png",alt:"BSides Mumbai",href:"https://www.bsidesmumbai.in/"},{src:"/media/community/craccon.png",alt:"CRACCon",href:"https://craccon.com/"},{src:"/media/community/nullcon.jpg",alt:"Nullcon",href:"https://nullcon.net/"},{src:"/media/community/ai-sec-community.png",alt:"AI-SEC Community",href:"https://ai-seccommunity.org/"},{src:"/media/community/ctf7.webp",alt:"CTF7",href:"https://ctf7.com/"},{src:"/media/community/bytecon.png",alt:"ByteCon",href:"https://byt3con.training/"}],Cf=()=>t.jsxs("div",{className:"min-h-screen text-white p-8",style:{background:"#080c14"},children:[t.jsx("style",{children:` 146 @keyframes holofloat { 147 0%, 100% { transform: translateY(0px); } 148 50% { transform: translateY(-6px); } 149 } 150 .partner-card { 151 transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; 152 } 153 .partner-card:hover { 154 border-color: rgba(74,222,128,0.8) !important; 155 box-shadow: 0 0 32px rgba(74,222,128,0.25), inset 0 0 20px rgba(74,222,128,0.06); 156 background: rgba(74,222,128,0.09) !important; 157 } 158 `}),t.jsxs("div",{className:"max-w-6xl mx-auto",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx($t,{as:"h1",text:"COMMUNITY",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:Gt,textShadow:"0 0 24px rgba(74,222,128,0.3)"}}),t.jsx("p",{className:"text-gray-200 tracking-wide",style:{fontFamily:Gt,fontSize:"0.72rem",letterSpacing:"0.2em"},children:"BUILT BY THE COMMUNITY · FOR THE COMMUNITY"})]}),t.jsx(Vt,{bg:"#080c14",style:{margin:"0 auto 2.5rem",maxWidth:820,borderLeftColor:"rgba(74,222,128,0.55)"},accent:"#4ade80"}),t.jsx("div",{className:"mb-12 p-6",style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderLeft:`3px solid ${ql}`},children:t.jsx("p",{className:"text-gray-100 text-sm leading-relaxed m-0",children:"BSides Indore is not a product of any corporation, government, or institution. It is engineered, operated, and sustained entirely by practitioners who chose to show up. Every volunteer, ambassador, and community partner is a node in the same network, connected by a shared belief that security knowledge should flow freely."})}),t.jsxs("div",{className:"mb-12",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[t.jsx("div",{className:"h-px flex-1",style:{background:`${st}25`}}),t.jsx("div",{className:"text-sm md:text-base font-black tracking-widest uppercase",style:{fontFamily:Gt,color:st,textShadow:"0 0 18px rgba(74,222,128,0.18)"},children:"THE PROTOCOL, CORE VALUES"}),t.jsx("div",{className:"h-px flex-1",style:{background:`${st}25`}})]}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[{label:"Radical Inclusivity",color:ql,desc:"Assembly wizard or CSS enthusiast, if you build or break things, you belong here. We don't gatekeep; we open ports."},{label:"Knowledge Liquidity",color:st,desc:"Information shouldn't be trapped behind paywalls or exclusive circles. Latest security research and best practices flow freely throughout the ecosystem."},{label:"Cross-Discipline Collision",color:"#a78bfa",desc:"The best ideas happen when a Pentester and a DevOps engineer sit at the same table. We are engineering those collisions."},{label:"Infinite Outreach",color:"#fbbf24",desc:"Our commitment is to amplify every voice in the community. We don't just host events, we spread the word across the global grid."}].map(r=>t.jsxs("div",{style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",borderLeft:`3px solid ${r.color}`,padding:"1.25rem"},children:[t.jsx("div",{className:"text-xs font-black tracking-wider uppercase mb-2",style:{fontFamily:Gt,color:r.color},children:r.label}),t.jsx("p",{className:"text-gray-300 text-sm leading-relaxed",children:r.desc})]},r.label))})]}),t.jsxs("div",{className:"mb-12",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[t.jsx("div",{className:"h-px flex-1",style:{background:`${st}25`}}),t.jsx("div",{className:"text-sm md:text-base font-black tracking-widest uppercase",style:{fontFamily:Gt,color:st,textShadow:"0 0 18px rgba(74,222,128,0.18)"},children:"ALLIED NETWORK · COMMUNITY PARTNERS"}),t.jsx("div",{className:"h-px flex-1",style:{background:`${st}25`}})]}),t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed mb-6 text-center max-w-2xl mx-auto",children:"Organizations, groups, and communities that share our mission of growing the security ecosystem. Each node in this network helps amplify what we build together."}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 240px))",justifyContent:"center",gap:"1.5rem",marginBottom:"2rem"},children:Ef.map((r,e)=>t.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",display:"block"},children:t.jsxs("div",{className:"partner-card",style:{position:"relative",background:"rgba(74,222,128,0.04)",border:"1px solid rgba(74,222,128,0.2)",borderTop:`2px solid ${st}`,padding:"2rem 1.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.6rem",animation:`holofloat 3.2s ease-in-out ${e*.55}s infinite`,overflow:"hidden"},children:[t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px)",zIndex:1}}),t.jsx("div",{style:{position:"absolute",top:0,left:0,width:16,height:16,borderTop:`2px solid ${st}`,borderLeft:`2px solid ${st}`,opacity:.7}}),t.jsx("div",{style:{position:"absolute",bottom:0,right:0,width:16,height:16,borderBottom:`2px solid ${st}`,borderRight:`2px solid ${st}`,opacity:.7}}),t.jsx("div",{style:{height:110,display:"flex",alignItems:"center",justifyContent:"center",position:"relative",zIndex:2,width:"100%",overflow:"hidden"},children:t.jsx("img",{src:r.src,alt:r.alt,loading:"lazy",style:{maxWidth:"85%",maxHeight:90,width:"auto",height:"auto",objectFit:"contain",display:"block",margin:"0 auto",filter:"brightness(0.9) saturate(0.85)",transition:"filter 0.25s"},onMouseEnter:n=>{n.currentTarget.style.filter="brightness(1.1) saturate(1)"},onMouseLeave:n=>{n.currentTarget.style.filter="brightness(0.9) saturate(0.85)"}})}),t.jsx("div",{style:{fontFamily:Gt,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.18em",color:`${st}cc`,textTransform:"uppercase",textAlign:"center",position:"relative",zIndex:2},children:r.alt})]})},r.src))}),t.jsxs("div",{className:"text-center",children:[t.jsxs("p",{className:"text-gray-200 text-sm mb-4",children:["Running a local user group, university club, or open-source project?"," ",t.jsx("span",{style:{color:st},children:"Let's bridge the gap."})]}),t.jsx("a",{href:"mailto:[email protected]?subject=Community Partner",className:"inline-block px-6 py-2 font-black tracking-wider up
158percase text-xs",style:{fontFamily:Gt,background:st,color:"#000"},children:"Become a Community Partner"})]})]}),t.jsxs("div",{className:"mb-10",children:[t.jsx("div",{className:"text-sm md:text-base font-black tracking-widest uppercase mb-5",style:{fontFamily:Gt,color:ys},children:"VOLUNTEERS, RECRUITMENT ACTIVE"}),t.jsxs("div",{className:"p-6",style:{background:"rgba(56,189,248,0.04)",border:`1px solid ${ys}25`,borderLeft:`3px solid ${ys}`},children:[t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed mb-4",children:"Volunteers are the backbone of BSides Indore. We need people across logistics, AV, registration, social media, design, and speaker coordination. No prior conference experience required, just a willingness to contribute to something that matters."}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 mb-5",children:["Event Logistics","Speaker Coordination","AV & Recording","Registration Desk","Social Media","Design & Branding"].map(r=>t.jsx("div",{style:{background:"rgba(56,189,248,0.06)",border:`1px solid ${ys}30`,padding:"0.6rem 1rem",fontSize:"0.7rem",fontFamily:Gt,fontWeight:900,letterSpacing:"0.08em",color:ys,textTransform:"uppercase"},children:r},r))}),t.jsx("a",{href:"https://forms.gle/y8Ggq1KFNWabZ4yg8",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 font-black tracking-wider uppercase text-sm",style:{fontFamily:Gt,background:ys,color:"#000"},children:"Apply as Volunteer"})]})]}),t.jsxs("div",{className:"mb-10",children:[t.jsx("div",{className:"text-sm md:text-base font-black tracking-widest uppercase mb-5",style:{fontFamily:Gt,color:st},children:"COLLEGE AMBASSADORS, RECRUITMENT ACTIVE"}),t.jsxs("div",{className:"p-6",style:{background:"rgba(74,222,128,0.04)",border:`1px solid ${st}25`,borderLeft:`3px solid ${st}`},children:[t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed mb-4",children:"Campus Ambassadors represent BSides Indore at institutions and communities across Madhya Pradesh. You'll be the bridge between the local security community and the global ecosystem, spreading awareness, building attendance, and creating opportunities for your peers."}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 mb-5",children:[{label:"On-campus awareness",desc:"Spread the word at your institution"},{label:"Workshop co-hosting",desc:"Run pre-event sessions with our support"},{label:"Network access",desc:"Direct line to security professionals"},{label:"Recognition",desc:"Official BSides Indore ambassador credential"}].map(r=>t.jsxs("div",{style:{background:"rgba(74,222,128,0.05)",border:`1px solid ${st}25`,padding:"0.8rem 1rem"},children:[t.jsx("div",{className:"text-xs font-black uppercase mb-1",style:{fontFamily:Gt,color:st,letterSpacing:"0.08em"},children:r.label}),t.jsx("div",{className:"text-gray-200 text-xs",children:r.desc})]},r.label))}),t.jsx("a",{href:"https://forms.gle/2nS6T8DMsLdorJ2g9",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 font-black tracking-wider uppercase text-sm",style:{fontFamily:Gt,background:st,color:"#000"},children:"Apply as Ambassador"})]})]}),t.jsx("div",{className:"mt-12 text-center",style:{fontFamily:'"Share Tech Mono","Courier New",monospace',color:"rgba(74,222,128,0.72)",fontSize:"0.85rem",letterSpacing:"0.15em"},children:"// COMMUNITY NODE ACTIVE · RECRUITMENT OPEN · BSI-2026"})]})]});function If(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(Cf,{}),t.jsx(rt,{})]})}const it='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',Xt="#22d3ee",_f={background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderLeft:`3px solid ${Xt}`,padding:"1.5rem"},Af=[{title:"CXO PANEL",color:"#f59e0b",desc:"Executive-level perspectives on security strategy, risk governance, and the business of cybersecurity. Industry leaders sharing decisions, failures, and what actually drives security culture at scale."},{title:"MAIN STAGE",color:"#fb923c",desc:"CFP-selected talks from the security community. Original research, real-world case studies, offensive and defensive deep-dives, career stories, and everything in between. The heart of BSides Indore X2.",link:{label:"SEE SPEAKERS â",path:"/speakers"}}],Nf=[{title:"CTF ARENA",color:"#facc15",desc:"Capture The Flag competitions open to all pass holders. Binary analysis, cryptographic puzzles, web exploitation. Your score is y
158our CV. CTF powered by Altered Security, supported by Taxation & Investment, on the CTF7 platform."},{title:"RESUME CLINIC & HIRING",color:"#4ade80",desc:"A dedicated resume clinic and hiring lounge, run by our sponsors throughout the day. Get your resume reviewed by security practitioners, meet companies that are hiring, and walk away with feedback you can act on.",tags:["1:1 Resume Reviews","Mock Interviews","Hiring Conversations"]},{title:"BUG BOUNTY TRACK",color:"#f87171",desc:"Real-time Bug Bounty programs and offensive challenges against active targets in a controlled, high-stakes environment. Live scoreboard, zone branding, stage shoutouts. No simulations, legitimate exploitation."},{title:"HACKER VILLAGE",color:Xt,desc:"Community-run micro-conferences within the conference. Soldering, Hardware Hacking, and Lock Picking villages are confirmed; Bug Bounty Village is pending confirmation.",tags:["Soldering","Hardware Hacking","Lock Picking"]}],Rf=[{label:"#VulnerableNightOut",desc:"Casual, low-pressure meetups for the local community. Monthly, free entry."},{label:"Hardware Teardowns",desc:"Deconstructing physical devices to map out attack surfaces, hands-on, guided sessions."},{label:"Pre-Talk: Before the Conference",desc:"Held 29 Aug 2026 at Webvillee Technology Pvt Ltd, Indore â a special evening with Michael Dahn, Founder of Security BSides, organized by SecVillee à BSides Indore. On the panel: Prathmesh Dharkar (Chapter Lead), Aarushi Koolwal (Core Team), and Praful (Volunteer Team). Recording coming soon on YouTube."}],Of=()=>t.jsx("div",{className:"min-h-screen text-white p-8",style:{background:"#080c14"},children:t.jsxs("div",{className:"max-w-6xl mx-auto",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx($t,{as:"h1",text:"EVENTS 2026",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:it,textShadow:"0 0 30px rgba(34,211,238,0.3)"}}),t.jsx("p",{className:"text-gray-200 tracking-wide",style:{fontFamily:it,fontSize:"0.72rem",letterSpacing:"0.2em"},children:"LIVE HACKING · VILLAGES · CTF · WORKSHOPS · MAIN STAGE"})]}),t.jsx(Vt,{bg:"#080c14",style:{margin:"0 auto 2.5rem",maxWidth:820}}),t.jsx("div",{className:"mb-10 p-6",style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderLeft:`3px solid ${Xt}`},children:t.jsxs("p",{className:"text-gray-100 text-sm leading-relaxed m-0",children:["We have engineered this platform to move beyond passive observation, focusing on"," ",t.jsx("span",{style:{color:Xt},children:"interactive exploitation"})," and"," ",t.jsx("span",{style:{color:"#4ade80"},children:"high-level defense"}),". Explore the active modules and upcoming sessions below."]})}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-10",children:[{label:"TECHNICAL TRAININGS",sub:"5 SEPT 2026 · PAID",color:"#f87171",desc:"Instructor-led hands-on labs. Separately ticketed programme for those who want deep technical depth before the main conference.",venueNote:"Training venue: IPS College Vijay Nagar Campus (different from the conference venue)."},{label:"MAIN CONFERENCE",sub:"6 SEPT 2026 · 1 STAGE + 4 ZONES",color:"#fb923c",desc:"The full BSides experience: CXO Panel and Main Stage share the one stage back to back, while CTF Arena, Bug Bounty, Hacker Village, and Resume Clinic run alongside in their own zones. Open to all pass holders.",venueNote:void 0}].map(r=>t.jsxs("div",{style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",borderLeft:`3px solid ${r.color}`,padding:"1.25rem"},children:[t.jsx("div",{className:"text-xs font-black tracking-wider uppercase mb-0.5",style:{fontFamily:it,color:r.color},children:r.label}),t.jsx("div",{className:"text-xs mb-2",style:{fontFamily:it,color:"rgba(255,255,255,0.65)",letterSpacing:"0.1em"},children:r.sub}),t.jsx("p",{className:"text-gray-300 text-sm leading-relaxed",children:r.desc}),r.venueNote&&t.jsx("p",{className:"text-xs leading-relaxed mt-1.5",style:{fontFamily:it,color:"rgba(255,255,255,0.35)"},children:r.venueNote})]},r.label))}),t.jsxs("div",{className:"mb-8",children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-1",style:{fontFamily:it,color:Xt},children:"THE STAGE · ONE STAGE, BACK TO BACK"}),t.jsx("div",{className:"mb-4",style:{fontFamily:it,fontSize:"0.65rem",color:"rgba(255,255,255,0.45)",letterSpacing:"0.08em"},children:"There is one stage at the venue. CXO Panel and Main Stage talks run sequentially through the day, not at the same time."}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:Af.map(r=>
158t.jsxs("div",{style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",borderLeft:`3px solid ${r.color}`,padding:"1.25rem"},children:[t.jsx("div",{className:"text-xs font-black tracking-wider uppercase mb-2",style:{fontFamily:it,color:r.color},children:r.title}),t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed mb-2",children:r.desc}),r.link&&t.jsx(bu,{to:r.link.path,className:"inline-block mt-3 text-xs font-black uppercase tracking-wider",style:{fontFamily:it,color:r.color,letterSpacing:"0.1em"},children:r.link.label})]},r.title))})]}),t.jsxs("div",{className:"mb-10",children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-1",style:{fontFamily:it,color:Xt},children:"PARALLEL ZONES · RUNNING ALONGSIDE THE STAGE"}),t.jsx("div",{className:"mb-4",style:{fontFamily:it,fontSize:"0.65rem",color:"rgba(255,255,255,0.45)",letterSpacing:"0.08em"},children:"These run in their own spaces throughout the day, alongside whatever is happening on stage."}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Nf.map(r=>t.jsxs("div",{style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",borderLeft:`3px solid ${r.color}`,padding:"1.25rem"},children:[t.jsx("div",{className:"text-xs font-black tracking-wider uppercase mb-2",style:{fontFamily:it,color:r.color},children:r.title}),t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed mb-2",children:r.desc}),r.tags&&t.jsx("div",{className:"flex flex-wrap gap-1 mt-2",children:r.tags.map(e=>t.jsx("span",{className:"text-xs px-2 py-0.5",style:{fontFamily:it,color:r.color,background:`${r.color}15`,border:`1px solid ${r.color}30`,letterSpacing:"0.05em"},children:e},e))})]},r.title))})]}),t.jsxs("div",{className:"mb-10",children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-1",style:{fontFamily:it,color:Xt},children:"HACKER VILLAGES"}),t.jsx("div",{className:"mb-4",style:{fontFamily:it,fontSize:"0.65rem",color:"rgba(255,255,255,0.45)",letterSpacing:"0.08em"},children:"3 villages confirmed for 6 September 2026 · Bug Bounty Village pending confirmation"}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-3",children:[{label:"Soldering Village",color:"#2dd4bf",confirmed:!0},{label:"Hardware Hacking Village",color:"#fb923c",confirmed:!0},{label:"Lock Picking Village",color:"#a78bfa",confirmed:!0},{label:"Bug Bounty Village",color:"#f87171"}].map(r=>t.jsxs("div",{style:{background:`${r.color}08`,border:`1px solid ${r.color}25`,borderLeft:`3px solid ${r.color}`,padding:"0.75rem 1rem"},children:[t.jsx("div",{style:{fontFamily:it,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.08em",color:r.color},children:r.label}),t.jsx("div",{style:{fontFamily:it,fontSize:"0.58rem",letterSpacing:"0.08em",marginTop:"0.3rem",color:r.confirmed?r.color:"rgba(255,255,255,0.38)"},children:r.confirmed?"â confirmed":"· pending confirmation"})]},r.label))})]}),t.jsxs("div",{className:"mb-10",children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-5",style:{fontFamily:it,color:Xt},children:"PRE-CONFERENCE PROGRAMME"}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Rf.map(r=>t.jsxs("div",{style:_f,children:[t.jsx("div",{className:"text-sm font-black tracking-wide uppercase mb-2",style:{fontFamily:it,color:Xt},children:r.label}),t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed",children:r.desc})]},r.label))})]}),t.jsxs("div",{className:"p-6 mb-6",style:{background:"rgba(34,211,238,0.04)",border:`1px solid ${Xt}25`,borderLeft:`3px solid ${Xt}`},children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-2",style:{fontFamily:it,color:Xt},children:"STATUS // LINEUP CONFIRMED"}),t.jsx("p",{className:"text-gray-100 text-sm leading-relaxed",children:"Conference confirmed for 6 September 2026. The Keynote, CXO Panel, and full Main Stage lineup are confirmed â see the Speakers page for every name and the Schedule page for exact timings."})]}),t.jsxs("div",{className:"mb-10",style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.85rem"},children:[t.jsx("span",{style:{fontFamily:it,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.2em",color:`${Xt}60`,textTransform:"uppercase"},children:"FOLLOW US"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem",flexWrap:"wrap",justifyContent:"center"},children:[t.jsx(Fr,{platform:"twitter",href:"https://twitter.com/BsidesIndore",label:"@BsidesIndore",size:"md"}),t.jsx(Fr,{platform:"linkedin",href:"https://www.linkedin.com/company/security-bsides-indore",label:"BSides Indore",size:"md"}),t.jsx(Fr,{platform:"instagram",href:"https://instagram.com/bsidesindore",label:"@bsidesindore",size:"md"}),t.jsx(Fr,{platform:"whatsapp",href:"https://chat.whatsapp.com/LqiB84oShPtCdNvsNieKyW",label:"Join Community",size:"md"})]})]}),t.jsx("div",{className:"text-center mt-12",children:t.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:t.jsx(Yo,{source:"events_cta"})})}),t.jsx("div",{className:"mt-12 text-center selectable",style:{fontFamily:'"Share Tech Mono","Courier New",monospace',fontSize:"0.85rem",color:"rgba(34,211,238,0.72)",letterSpacing:"0.15em"},children:"// END TRANSMISSION · BSI-2026"})]})});function Ff(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(Of,{}),t.jsx(rt,{})]})}const Ve='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',Te="#22d3ee",Pf={background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.1)",borderTop:`2px solid ${Te}`,padding:"1.5rem"},Bf=[{label:"GENERAL INQUIRIES",email:"[email protected]",desc:"Speaker questions, event details, and general collaboration requests.",color:Te},{label:"VOLUNTEER RECRUITMENT",email:"[email protected]",desc:"Join the core team as a volunteer, web dev, logistics, or on-ground operations.",color:"#4ade80"},{label:"SPONSORSHIP",email:"[email protected]",desc:"Partnership inquiries, sponsorship tiers, and visibility packages.",color:"#fb923c"},{label:"LEGAL & COMPLIANCE",email:"[email protected]",desc:"Formal agreements, documentation, and compliance-related transmissions.",color:"#f87171"}],$f=[{platform:"twitter",handle:"@BsidesIndore",href:"https://twitter.com/BsidesIndore"},{platform:"linkedin",handle:"BSides Indore",href:"https://www.linkedin.com/company/security-bsides-indore"},{platform:"instagram",handle:"@bsidesindore",href:"https://instagram.com/bsidesindore"},{platform:"whatsapp",handle:"Join Community",href:"https://chat.whatsapp.com/LqiB84oShPtCdNvsNieKyW"}],Lf=()=>t.jsx("div",{className:"min-h-screen text-white p-6 md:p-8",style:{background:"#080c14"},children:t.jsxs("div",{className:"max-w-4xl mx-auto",children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsx($t,{as:"h1",text:"CONTACT",className:"text-4xl md:text-5xl font-black text-white mb-2 tracking-widest uppercase",style:{fontFamily:Ve,textShadow:"0 0 30px rgba(34,211,238,0.3)"}}),t.jsx("p",{className:"text-gray-200 tracking-wide",style:{fontFamily:Ve,fontSize:"0.72rem",letterSpacing:"0.2em"},children:"UPLINK CHANNELS · BSI-2026"})]}),t.jsx(Vt,{bg:"#080c14",style:{margin:"0 auto 2rem",maxWidth:820}}),t.jsxs("div",{className:"mb-6 flex items-center justify-center gap-3",children:[t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",background:Te,flexShrink:0,display:"inline-block",boxShadow:`0 0 8px ${Te}`}}),t.jsx("span",{className:"text-gray-300 text-sm",style:{fontFamily:Ve,letterSpacing:"0.15em"},children:"INDORE, MADHYA PRADESH, INDIA"})]}),t.jsxs("div",{className:"mb-8",style:{overflow:"hidden",border:"1px solid rgba(34,211,238,0.2)",borderTop:`2px solid ${Te}`},children:[t.jsx("style",{children:` 159 @keyframes cntScan { 0%{top:-2px;opacity:0.7}
159 88%{opacity:0.3} 100%{top:100%;opacity:0} } 160 @keyframes cntBlink { 0%,48%,52%,100%{opacity:1} 50%{opacity:0} } 161 @keyframes cntSig { 0%,100%{opacity:1;box-shadow:0 0 6px #22d3ee} 50%{opacity:0.4;box-shadow:0 0 18px #22d3ee,0 0 36px rgba(34,211,238,0.3)} } 162 .cnt-map-link { transition: background 0.25s; } 163 .cnt-map-link:hover { background: rgba(34,211,238,0.07) !important; } 164 .cnt-map-link:hover .cnt-map-hint { opacity: 1 !important; transform: translateY(0) !important; } 165 @media (max-width: 767px) { 166 .cnt-map-container { height: 260px !important; } 167 .cnt-info-strip { grid-template-columns: 1fr !important; } 168 .cnt-info-col { border-right: none !important; border-bottom: 1px solid rgba(34,211,238,0.08) !important; } 169 } 170 `}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0.6rem 1.5rem",background:"rgba(34,211,238,0.06)",borderBottom:"1px solid rgba(34,211,238,0.12)"},children:[t.jsx("span",{style:{fontFamily:Ve,fontSize:"0.65rem",color:"rgba(34,211,238,0.55)",letterSpacing:"0.2em",textTransform:"uppercase"},children:"BSI-2026 · VENUE INTEL"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[t.jsx("span",{style:{width:7,height:7,borderRadius:"50%",background:Te,display:"inline-block",flexShrink:0,animation:"cntSig 2s ease-in-out infinite"}}),t.jsx("span",{style:{fontFamily:Ve,fontSize:"0.65rem",fontWeight:900,color:Te,letterSpacing:"0.18em"},children:"SIGNAL LOCKED"})]})]}),t.jsxs("div",{className:"cnt-map-container",style:{position:"relative",height:440,overflow:"hidden",background:"#020810"},children:[t.jsx("div",{style:{position:"absolute",left:"50%",transform:"translateX(-50%)",top:-160,display:"grid",gridTemplateColumns:"repeat(3, 256px)",gridTemplateRows:"repeat(3, 256px)",filter:"invert(0.92) hue-rotate(180deg) saturate(1.5) brightness(0.82) contrast(1.05)",pointerEvents:"none"},children:[14256,14257,14258].flatMap(r=>[23291,23292,23293].map(e=>t.jsx("img",{src:`https://tile.openstreetmap.org/15/${e}/${r}.png`,width:256,height:256,alt:"",style:{display:"block"},loading:"eager"},`${e}-${r}`)))}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:1,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(34,211,238,0.015) 3px, rgba(34,211,238,0.015) 4px)"}}),t.jsx("div",{style:{position:"absolute",left:0,right:0,height:2,zIndex:4,pointerEvents:"none",background:"linear-gradient(90deg, transparent 4%, rgba(34,211,238,0.35) 38%, rgba(34,211,238,0.6) 50%, rgba(34,211,238,0.35) 62%, transparent 96%)",boxShadow:"0 0 14px rgba(34,211,238,0.28), 0 0 4px rgba(34,211,238,0.55)",animation:"cntScan 6s linear infinite"}}),t.jsxs("div",{style:{position:"absolute",left:"53%",top:"50%",transform:"translate(-50%,-100%)",zIndex:6,pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"center"},children:[t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.6rem",fontWeight:900,color:"#fff",letterSpacing:"0.1em",background:"rgba(1,5,14,0.9)",border:`1px solid ${Te}`,padding:"3px 8px",whiteSpace:"nowrap",boxShadow:"0 0 10px rgba(34,211,238,0.4)"},children:"JAAL SABHA GRAH"}),t.jsx("div",{style:{width:2,height:12,background:Te,boxShadow:`0 0 6px ${Te}`}}),t.jsx("div",{style:{width:10,height:10,borderRadius:"50%",background:Te,boxShadow:`0 0 14px ${Te}, 0 0 30px rgba(34,211,238,0.5)`,animation:"cntSig 1.8s ease-in-out infinite"}})]}),[{top:12,left:12,borderTop:`2px solid ${Te}`,borderLeft:`2px solid ${Te}`},{top:12,right:12,borderTop:`2px solid ${Te}`,borderRight:`2px solid ${Te}`},{bottom:12,left:12,borderBottom:`2px solid ${Te}`,borderLeft:`2px solid ${Te}`},{bottom:12,right:12,borderBottom:`2px solid ${Te}`,borderRight:`2px solid ${Te}`}].map((r,e)=>t.jsx("div",{style:{position:"absolute",width:22,height:22,zIndex:6,pointerEvents:"none",...r}},e)),t.jsx("div",{style:{position:"absolute",bottom:14,left:16,zIndex:5,pointerEvents:"none",fontFamily:Ve,fontSize:"0.7rem",color:"rgba(34,211,238,0.65)",letterSpacing:"0.12em"},children:"22°43â²N · 75°51â²E · INDORE"}),t.jsx("a",{href:"https://maps.google.com/maps?q=Jaal+Sabha+Grah,+Indore,+Madhya+Pradesh",target:"_blank",rel:"noopener noreferrer",className:"cnt-map-link",title:"Open Jaal Sabha Grah in Google Maps",style:{position:"absolute",inset:0,zIndex:8,display:"block",cursor:"pointer",textDecoration:"none"},children:t.jsx("span",{className:"cnt-map-hint",style:{position:"absolute",bottom:12,right:14,fontFamily:Ve,fontSize:"0.6rem",fontWeight:900,color:Te,letterSpacing:"0.12em",textTransform:"uppercase",background:"rgba(1,5,14,0.9)",border:"1px solid rgba(34,211,238,0.4)",padding:"5px 12px",opacity:.7,transform:"translateY(4px)",transition:"opacity 0.25s, transform 0.25s",pointerEvents:"none",boxShadow:"0 0 8px rgba(34,211,238,0.2)"},children:"OPEN IN GOOGLE MAPS â"})})]}),t.jsxs("div",{className:"cnt-info-strip",style:{display:"grid",gridTemplateColumns:"minmax(0,1.8fr) minmax(0,2fr) minmax(0,1fr)",background:"rgba(1,4,12,0.97)",borderTop:"1px solid rgba(34,211,238,0.12)"},children:[t.jsxs("div",{className:"cnt-info-col",style:{padding:"1.5rem 2rem",borderRight:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.6rem",color:"rgba(34,211,238,0.45)",letterSpacing:"0.22em",marginBottom:"0.6rem",textTransform:"uppercase"},children:"CONFIRMED VENUE"}),t.jsx("div",{style:{fontFamily:Ve,fontSize:"1.9rem",fontWeight:900,color:"#fff",letterSpacing:"0.04em",lineHeight:1.1,textTransform:"uppercase"},children:"Jaal Sabha Grah"}),t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.75rem",color:Te,letterSpacing:"0.14em",marginTop:"0.5rem",textTransform:"uppercase",opacity:.8},children:"Indore · Madhya Pradesh"}),t.jsx("div",{style:{height:2,background:`linear-gradient(90deg, ${Te}
170, transparent)`,margin:"0.85rem 0",width:50}}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem"},children:[t.jsx("span",{style:{color:"#f59e0b",fontSize:"1rem"},children:"â
4.1"}),t.jsx("span",{style:{fontFamily:Ve,fontSize:"0.65rem",color:"rgba(255,255,255,0.4)",letterSpacing:"0.06em"},children:"478 Google reviews"})]})]}),t.jsxs("div",{className:"cnt-info-col",style:{padding:"1.5rem 2rem",borderRight:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.6rem",color:"rgba(34,211,238,0.45)",letterSpacing:"0.22em",marginBottom:"0.9rem",textTransform:"uppercase"},children:"Event Schedule"}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[{date:"05 SEPT 2026",label:"TECHNICAL TRAININGS",note:"Paid · Separate Ticket",venueNote:"Venue TBA · different from conference venue",color:"#f87171"},{date:"06 SEPT 2026",label:"MAIN CONFERENCE",note:"Talks · Villages · CTF",venueNote:void 0,color:"#fb923c"},{date:"06 SEPT 2026",label:"RESUME CLINIC",note:"Included with Pass",venueNote:void 0,color:Te}].map(r=>t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"110px 1fr",gap:"0.75rem",alignItems:"center",padding:"0.65rem 0.85rem",background:"rgba(255,255,255,0.025)",border:"1px solid rgba(255,255,255,0.05)",borderLeft:`3px solid ${r.color}`},children:[t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.7rem",fontWeight:900,color:r.color,letterSpacing:"0.06em"},children:r.date}),t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.72rem",fontWeight:900,color:"#fff",letterSpacing:"0.06em"},children:r.label}),t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.62rem",color:"rgba(255,255,255,0.38)",letterSpacing:"0.04em",marginTop:"0.15rem"},children:r.note}),r.venueNote&&t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.56rem",color:"rgba(255,255,255,0.3)",letterSpacing:"0.03em",marginTop:"0.1rem"},children:r.venueNote})]})]},r.label))})]}),t.jsxs("div",{style:{padding:"1.5rem 1.5rem",display:"flex",flexDirection:"column",justifyContent:"center",gap:"0.75rem"},children:[t.jsx("div",{style:{fontFamily:Ve,fontSize:"0.6rem",color:"rgba(34,211,238,0.45)",letterSpacing:"0.22em",textTransform:"uppercase"},children:"Geo Coordinates"}),t.jsxs("div",{style:{fontFamily:Ve,fontSize:"1rem",fontWeight:900,color:Te,letterSpacing:"0.08em",lineHeight:2},children:["22°43â²18â³N",t.jsx("br",{}),"75°51â²21â³E"]}),t.jsxs("div",{style:{fontFamily:Ve,fontSize:"0.6rem",color:"rgba(34,211,238,0.3)",letterSpacing:"0.1em",marginTop:"0.25rem"},children:["VENUE CONFIRMED ",t.jsx("span",{style:{animation:"cntBlink 0.9s step-end infinite"},children:"â"})]})]})]}),t.jsxs("a",{href:"https://maps.google.com/maps?q=Jaal+Sabha+Grah,+Indore,+Madhya+Pradesh",target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.75rem",fontFamily:Ve,fontSize:"0.8rem",fontWeight:900,color:Te,textDecoration:"none",letterSpacing:"0.2em",textTransform:"uppercase",padding:"1rem 2rem",borderTop:"1px solid rgba(34,211,238,0.15)",background:"rgba(34,211,238,0.04)",transition:"background 0.2s"},onMouseEnter:r=>r.currentTarget.style.background="rgba(34,211,238,0.1)",onMouseLeave:r=>r.currentTarget.style.background="rgba(34,211,238,0.04)",children:[t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",background:Te,flexShrink:0,boxShadow:`0 0 10px ${Te}`}}),"GET DIRECTIONS TO JAAL SABHA GRAH",t.jsx("span",{style:{opacity:.5},children:"â"})]})]}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3 md:gap-4 mb-8",children:Bf.map(r=>t.jsxs("div",{style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",borderLeft:`3px solid ${r.color}`,padding:"1.05rem"},children:[t.jsx("div",{className:"text-xs font-black tracking-wider uppercase mb-1",style:{fontFamily:Ve,color:r.color,opacity:.95},children:r.label}),t.jsx("a",{href:`mailto:${r.email}`,className:"block text-white font-bold mb-2 hover:underline",style:{fontFamily:Ve,fontSize:"0.85rem"},children:r.email}),t.jsx("p",{className:"text-gray-200 text-xs leading-relaxed",children:r.desc})]},r.label))}),t.jsxs("div",{className:"mb-8",style:Pf,children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-4",style:{fontFamily:Ve,color:Te},children:"THE SOCIAL GRID"}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:$f.map(r=>
170t.jsx(Fr,{platform:r.platform,href:r.href,label:r.handle,size:"md"},r.platform))})]}),t.jsxs("div",{className:"p-5",style:{background:"rgba(34,211,238,0.04)",border:`1px solid ${Te}25`,borderLeft:`3px solid ${Te}`,textAlign:"center"},children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-3",style:{fontFamily:Ve,color:Te},children:"FIND US ONLINE"}),t.jsx("img",{src:"/QR.png",alt:"BSides Indore, social directory QR code",loading:"lazy",decoding:"async",style:{width:120,height:120,margin:"0 auto 0.75rem",display:"block",imageRendering:"pixelated"}}),t.jsx("p",{className:"text-gray-200 text-xs",children:"Scan to access our complete social directory"})]})]})});function zf(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(Lf,{}),t.jsx(rt,{})]})}function eo({items:r,itemKey:e,itemsPerPage:n,columns:s,gap:i="1.25rem",accent:a,autoAdvanceMs:o=4e3,renderItem:l}){const[d,c]=y.useState(0),[u,h]=y.useState(!1),p=Math.max(1,Math.ceil(r.length/n)),m=s??n;return y.useEffect(()=>{d>=p&&c(0)},[p,d]),y.useEffect(()=>{if(u||p<=1)return;const f=setInterval(()=>c(g=>(g+1)%p),o);return()=>clearInterval(f)},[u,p,o]),t.jsxs("div",{children:[t.jsx("div",{style:{overflow:"hidden"},onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:t.jsx("div",{style:{display:"flex",transform:`translateX(-${d*100}%)`,transition:"transform 0.9s cubic-bezier(0.22, 1, 0.36, 1)",willChange:"transform"},children:Array.from({length:p},(f,g)=>t.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${m}, minmax(0, 1fr))`,gap:i,width:"100%",flexShrink:0},children:r.slice(g*n,g*n+n).map(v=>t.jsx("div",{children:l(v)},e(v)))},g))})}),p>1&&t.jsx("div",{className:"flex items-center justify-center gap-2 mt-5",children:Array.from({length:p},(f,g)=>t.jsx("button",{onClick:()=>c(g),"aria-label":`Show page ${g+1} of ${p}`,style:{width:g===d?20:7,height:7,borderRadius:999,background:g===d?a:"rgba(255,255,255,0.2)",border:"none",cursor:"pointer",padding:0,transition:"all 0.3s ease"}},g))})]})}const ge='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',O={cyan:"#22d3ee",amber:"#f59e0b"},to=[{text:"To Taxation & Investment, thank you for backing the CTF Arena from day one of X2. Community events like ours run on partners willing to bet early, and we don't take that lightly. Here's to building this together for many editions to come.",who:"BSides Indore, on Taxation & Investment · CTF Sponsor"},{text:"To Altered Security, thank you for putting real stakes behind our CTF winner's next step, a CRTP certification voucher that turns a good run on the scoreboard into something that shows up on a resume. Thank you for showing up for this community year after year. We're glad to keep growing alongside you.",who:"BSides Indore, on Altered Security · CTF Sponsor"},{text:"To CloudSEK, every attendee will wear your name around their neck all day, a small thing that means a lot to us. Thank you for standing behind BSides Indore again. We hope this is just the start of a long partnership.",who:"BSides Indore, on CloudSEK · Lanyard Sponsor"},{text:"To VigilOps, thank you for standing with this community as our Community Support partner. Support like yours rarely gets a stage of its own, but it's exactly what keeps an independent event like this one running. We're grateful to have you with us.",who:"BSides Indore, on VigilOps · Community Support Sponsor"}],Kl=[{tier:"Lanyard Sponsor",name:"CloudSEK",logo:"/media/past-sponsors/cloudsek.png",url:"https://cloudsek.com",description:"CloudSEK is a cybersecurity company that uses AI-powered graph intelligence to identify and disrupt attack paths before they become breaches, monitoring external attack surfaces and threat intelligence at scale.",whiteBg:!0},{tier:"CTF Sponsor",name:"Altered Security",logo:"/media/past-sponsors/altered-security.png",url:"https://www.alteredsecurity.com",description:'"CTF powered by Altered Security" on the scoreboard both days. Altered Security is a global leader in red team labs and cyber ranges, offering hands-on platforms, certifications, and bootcamps in Active Directory attacks, Azure penetration testing, and advanced red team tradecraft.',whiteBg:!1},{tier:"CTF Sponsor",name:"Taxation & Investment",logo:"/media/sponsors/taxation-investment.png",url:"https://www.linkedin.com/company/taxation-and-investment/about/",description:"Taxation & Investment has backed the CTF Arena at BSides Indore since day one of X2, supporting one of the eventâs most technically engaged spaces from the ground up.",whiteBg:!0}
170,{tier:"Community Support Sponsor",name:"VigilOps",logo:"/media/sponsors/vigilops.png",url:"https://vigilops.com/",description:"VigilOps is a cybersecurity firm specializing in penetration testing and vulnerability assessment, helping businesses identify and address security weaknesses across web, API, mobile, and infrastructure before threats can exploit them.",whiteBg:!1}],Df=[{src:"/media/community/ctf7.webp",label:"CTF7",href:"https://ctf7.com/"}],Mf=[{src:"/media/past-sponsors/altered-security.png",label:"Altered Security",href:"https://www.alteredsecurity.com"},{src:"/media/past-sponsors/cloudsek.png",label:"CloudSEK",href:"https://cloudsek.com"},{src:"/media/past-sponsors/hackthebox.webp",label:"Hack The Box",href:"https://www.hackthebox.com"},{src:"/media/past-sponsors/blackperl.png",label:"BlackPerl",href:"https://blackperldfir.com/"},{src:"/media/past-sponsors/offsec.webp",label:"OffSec",href:"https://www.offsec.com"}],ea=({children:r,accent:e=O.cyan})=>t.jsxs("div",{className:"border bg-black/60 backdrop-blur-sm p-8 relative",style:{borderColor:`${e}25`},children:[t.jsx("div",{className:"absolute top-0 left-0 w-40 h-px opacity-50",style:{background:`linear-gradient(to right, ${e}, transparent)`}}),r]}),ro=({text:r,accent:e=O.cyan})=>t.jsxs("div",{className:"mb-6",children:[t.jsx("span",{className:"text-sm md:text-base font-black tracking-[0.22em] uppercase",style:{fontFamily:ge,color:e,opacity:.9,textShadow:`0 0 18px ${e}25`},children:r}),t.jsx("div",{className:"mt-2 h-px w-16",style:{background:`${e}55`}})]}),Wf=()=>{St();const{isMobile:r,isTablet:e}=nn(),[n,s]=y.useState(0),[i,a]=y.useState(!0);y.useEffect(()=>{const l=setInterval(()=>{a(!1),setTimeout(()=>{s(d=>(d+1)%to.length),a(!0)},800)},5500);return()=>clearInterval(l)},[]),y.useEffect(()=>{const l=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",l&&(l.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",l&&(l.style.height="")}},[]);const o=()=>t.jsxs("div",{className:"relative overflow-hidden border",style:{borderColor:`${O.amber}30`},children:[t.jsx("div",{className:"absolute top-0 left-0 w-full h-px opacity-50",style:{background:`linear-gradient(to right, ${O.amber}80, transparent)`}}),t.jsx("div",{className:"absolute bottom-0 right-0 w-full h-px opacity-50",style:{background:`linear-gradient(to left, ${O.cyan}80, transparent)`}}),t.jsxs("div",{className:"p-10 text-center",children:[t.jsx("p",{className:"text-gray-200 text-sm mb-2 uppercase tracking-widest",style:{fontFamily:ge},children:"Ready?"}),t.jsx("h3",{className:`font-black uppercase text-white mb-3 ${r?"text-2xl":"text-3xl"}`,style:{fontFamily:ge},children:"LET'S TALK"}),t.jsx("p",{className:"text-gray-300 mb-8 max-w-sm mx-auto text-sm leading-relaxed",children:"Fill out the application and we'll respond within 48 hours. Or just email us directly."}),t.jsxs("div",{className:`flex ${r?"flex-col":"flex-row"} items-center justify-center gap-4`,children:[t.jsx("a",{href:"/sponsors/apply",className:"font-black uppercase tracking-widest text-black transition-opacity hover:opacity-90",style:{fontFamily:ge,backgroundColor:O.amber,padding:r?"0.9rem 2rem":"0.75rem 2rem",display:"block",textAlign:"center",width:r?"100%":void 0,minHeight:44,touchAction:"manipulation"},children:"BECOME A SPONSOR"}),t.jsx("a",{href:"/sponsors/call-for-sponsors",className:"font-black uppercase tracking-widest border transition-all hover:bg-white/5",style:{fontFamily:ge,color:O.cyan,borderColor:`${O.cyan}40`,padding:r?"0.9rem 2rem":"0.75rem 2rem",display:"block",textAlign:"center",width:r?"100%":void 0,minHeight:44,touchAction:"manipulation"},children:"VIEW TIERS"})]}),t.jsx("a",{href:"mailto:[email protected]",className:"text-xs mt-6 block",style:{fontFamily:ge,color:O.amber,textDecoration:"none",letterSpacing:"0.08em"},children:"[email protected]"})]})]});return t.jsxs("div",{className:"relative min-h-screen bg-black",children:[t.jsx("style",{children:` 171 @keyframes amberfloat { 172 0%, 100% { transform: translateY(0px); } 173 50% { transform: translateY(-6px); } 174 } 175 .spsr-card { 176 transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; 177 animation: amberfloat 3.4s ease-in-out infinite; 178 } 179 .spsr-card:hover { 180 animation: none; 181 transform: translateY(-3px); 182 } 183 .trust-tile { 184 transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease; 185 } 186 .trust-tile:hover { 187 border-color: rgba(34,211,238,0.5) !important; 188 box-shadow: 0 8px 24px rgba(34,211,238,0.15); 189 transform: translateY(-3px); 190 background: linear-gradient(160deg, rgba(34,211,238,0.12), rgba(34,211,238,0.03)) !important; 191 } 192 .trust-pill { 193 display: inline-flex; 194 align-items: center; 195 gap: 0.4rem; 196 font-size: 0.68rem; 197 font-weight: 900; 198 letter-spacing: 0.08em; 199 text-transform: uppercase; 200 text-decoration: none; 201 padding: 0.5rem 1rem; 202 border: 1px solid; 203 border-radius: 999px; 204 background: rgba(255,255,255,0.02); 205 transition: background 0.2s ease, transform 0.2s ease; 206 } 207 .trust-pill:hover { 208 background: rgba(255,255,255,0.06); 209 transform: translateY(-1px); 210 } 211 @keyframes scroll-cue-bounce { 212 0%, 100% { transform: translateY(0); } 213 50% { transform: translateY(7px); } 214 } 215 .scroll-cue-btn { 216 animation: scroll-cue-bounce 1.8s ease-in-out infinite; 217 transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; 218 } 219 .scroll-cue-btn:hover { 220 animation-play-state: paused; 221 border-color: rgba(34,211,238,0.9) !important; 222 background: rgba(34,211,238,0.15) !important; 223 box-shadow: 0 0 20px rgba(34,211,238,0.35); 224 } 225 `}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px)",backgroundSize:"40px 40px"}}),t.jsx("div",{className:"fixed top-0 right-0 w-96 h-96 pointer-events-none opacity-5 rounded-full blur-3xl",style:{background:O.amber,transform:"translate(30%, -30%)"}}),t.jsx("div",{className:"fixed bottom-0 left-0 w-96 h-96 pointer-events-none opacity-5 rounded-full blur-3xl",style:{background:O.cyan,transform:"translate(-30%, 30%)"}}),[["top-4 left-4","border-t-2 border-l-2"],["top-4 right-4","border-t-2 border-r-2"],["bottom-4 left-4","border-b-2 border-l-2"],["bottom-4 right-4","border-b-2 border-r-2"]].map(([l,d])=>t.jsx("div",{className:`fixed ${l} w-8 h-8 ${d} pointer-events-none`,style:{borderColor:`${O.cyan}30`}},l)),t.jsxs("div",{className:`relative z-10 ${r?"pt-28 px-4 pb-16":"pt-32 px-8 pb-20"} max-w-5xl mx-auto`,children:[t.jsxs("div",{className:"text-center mb-14",children:[t.jsxs("div",{className:"inline-flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"h-px w-10",style:{background:`linear-gradient(to right, transparent, ${O.amber}60)`}}),t.jsx("span",{className:"text-xs font-black tracking-[0.3em] uppercase",style:{fontFamily:ge,color:O.amber,opacity:.8},children:"BSides Indore 2026"}),t.jsx("div",{className:"h-px w-10",style:{background:`linear-gradient(to left, transparent, ${O.amber}60)`}})]}),t.jsx("div",{className:"block",children:t.jsx($t,{as:"h1",text:`WHY PARTNER${r?" ":` 226`}WITH US`,className:`font-black uppercase tracking-wider mb-4 whitespace-pre-line ${r?"text-3xl":"text-5xl"}`,style:{fontFamily:ge,color:"#fff",textShadow:`0 0 40px ${O.cyan}30`}})}),t.jsx("div",{className:"w-32 h-px mx-auto mb-6",style:{background:`linear-gradient(to right, transparent, ${O.cyan}60, transparent)`}}),t.jsx("p",{className:"text-gray-200 text-base max-w-xl mx-auto leading-relaxed",children:"After a massive first year, we are back to double down. BSides Indore is built to be the single intersection in Central India where every specialty meets: raw research and real-world execution, built for depth and genuine engagement."}),t.jsxs("div",{className:`flex ${r?"flex-col":"flex-row"} items-center justify-center gap-4 mt-8`,children:[t.jsx("a",{href:"/sponsors/apply",className:"font-black uppercase tracking-widest text-black transition-opacity hover:opacity-90",style:{fontFamily:ge,backgroundColor:O.amber,padding:r?"0.9rem 2rem":"0.75rem 2rem",display:"block",textAlign:"center",width:r?"100%":void 0,minHeight:44,touchAction:"manipulation"},children:"BECOME A SPONSOR"}),t.jsx("a",{href:"/sponsors/call-for-sponsors",className:"font-black uppercase tracking-widest border transition-all hover:bg-white/5",style:{fontFamily:ge,color:O.cyan,borderColor:`${O.cyan}40`,padding:r?"0.9rem 2rem":"0.75rem 2rem",display:"block",textAlign:"center",width:r?"100%":void 0,minHeight:44,touchAction:"manipulation"},children:"VIEW TIERS"})]})]}),t.jsx("div",{className:"mb-14",children:t.jsxs(ea,{accent:O.cyan,children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsxs("div",{className:"inline-flex items-center gap-3 mb-2",children:[t.jsx("div",{className:"h-px w-10",style:{background:`linear-gradient(to right, transparent, ${O.cyan}60)`}}),t.jsx("span",{className:"text-xs font-black tracking-[0.3em] uppercase",style:{fontFamily:ge,color:O.cyan,opacity:.85},children:"Partnering With Us"}),t.jsx("div",{className:"h-px w-10",style:{background:`linear-gradient(to left, transparent, ${O.cyan}60)`}})]}),t.jsx("div",{className:"font-black uppercase tracking-wide text-white text-lg md:text-xl",style:{fontFamily:ge,textShadow:`0 0 20px ${O.cyan}25`}
226,children:"X2 Sponsor Lineup"})]}),t.jsx("div",{style:{maxWidth:640,margin:"0 auto"},children:t.jsx(eo,{items:Kl,itemKey:l=>l.name,itemsPerPage:2,columns:2,accent:O.cyan,gap:r?"0.85rem":"1.25rem",renderItem:l=>t.jsx("a",{href:"#x2-sponsors",style:{textDecoration:"none",display:"block"},children:t.jsxs("div",{className:"trust-tile",style:{background:"linear-gradient(160deg, rgba(34,211,238,0.07), rgba(34,211,238,0.02))",border:"1px solid rgba(34,211,238,0.2)",borderRadius:8,padding:"1rem 0.85rem",display:"flex",flexDirection:"column",alignItems:"center",gap:"0.75rem",height:"100%"},children:[t.jsx("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",maxWidth:"100%",background:"#f8fafc",borderRadius:5,padding:"0.55rem 0.9rem"},children:t.jsx("img",{src:l.logo,alt:l.name,loading:"lazy",style:{maxWidth:140,maxHeight:46,width:"auto",height:"auto",objectFit:"contain",display:"block"}})}),t.jsx("div",{style:{fontFamily:ge,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.1em",color:O.cyan,textTransform:"uppercase",textAlign:"center",background:"rgba(34,211,238,0.1)",border:"1px solid rgba(34,211,238,0.25)",borderRadius:999,padding:"0.25rem 0.6rem",lineHeight:1.3},children:l.tier})]})})})}),t.jsxs("div",{className:"flex flex-col items-center mt-9 gap-4",children:[t.jsx("a",{href:"#x2-sponsors","aria-label":"Scroll down to see the full sponsor list",className:"scroll-cue-btn",style:{width:50,height:50,borderRadius:"50%",border:"1.5px solid rgba(34,211,238,0.5)",display:"flex",alignItems:"center",justifyContent:"center",color:O.cyan,textDecoration:"none",background:"rgba(34,211,238,0.06)"},children:t.jsx(Pu,{size:22,strokeWidth:2.5})}),t.jsx("span",{className:"text-xs font-black uppercase tracking-widest",style:{fontFamily:ge,color:O.cyan},children:"See Full Sponsor List"}),t.jsxs("a",{href:"#previous-sponsors",className:"trust-pill",style:{fontFamily:ge,color:O.amber,borderColor:"rgba(245,158,11,0.35)"},children:["X1 alumni ",t.jsx("span",{"aria-hidden":!0,children:"â"})]})]})]})}),t.jsx("div",{className:"mb-14",children:t.jsx(Vt,{bg:"#000",style:{margin:"0 auto",maxWidth:920},accent:O.amber})}),t.jsx("div",{className:"mb-10",children:t.jsxs(ea,{accent:O.amber,children:[t.jsx(ro,{text:"Event at a Glance",accent:O.amber}),t.jsx("div",{className:"grid gap-6",style:{gridTemplateColumns:r||e?"repeat(2, 1fr)":"repeat(4, 1fr)"},children:[{value:"X2",label:"Edition"},{value:"2 Days",label:"Training + Conference"},{value:"400+",label:"Expected Attendees"},{value:"100%",label:"Community-Run"}].map(l=>t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"font-black text-3xl mb-1.5",style:{fontFamily:ge,color:O.amber,textShadow:`0 0 20px ${O.amber}60`},children:l.value}),t.jsx("div",{className:"text-gray-300 text-xs uppercase tracking-wider",children:l.label})]},l.label))})]})}),t.jsx("div",{className:"mb-10",children:t.jsxs(ea,{children:[t.jsx(ro,{text:"Every Specialty, One Stage."}),t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed mb-6",children:"We close the gap between silos. Whether the room is talking malware, hardware, or the human element, it is all on one floor, no separate tickets, no separate crowds."}),t.jsx("div",{className:"grid gap-4",style:{gridTemplateColumns:r?"1fr":"repeat(2, 1fr)"},children:[{label:"Offensive & Defensive",desc:"Exploitation, bypasses, hardening, and detection."},{label:"Application & Cloud Security",desc:"Web, API, and cloud-native attack surfaces, where most real breaches actually happen."},{label:"Applied AI & Data Science",desc:"LLM security, ML pipeline attacks, and the AI tooling reshaping both sides of the fight."},{label:"Hardware & IoT Security",desc:"The physical layer and embedded systems, diving deep."},{label:"Cryptography & Privacy",desc:"Protocol-level research, privacy engineering, and the policy questions behind them."},{label:"Social Engineering",desc:"A dedicated space for the human side of security, a core chapter focus."},{label:"Malware & Intel",desc:"Breaking software frameworks and tracking real-world threats."},{label:"Purple & Research",desc:"Collaborative defense and independent technical research."}].map(l=>t.jsxs("div",{className:"flex items-start gap-3 py-3 border-b last:border-b-0",style:{borderColor:`${O.cyan}10`},children:[t.jsx("span",{className:"shrink-0 mt-1.5 w-1.5 h-1.5 rounded-full",style:{backgroundColor:O.cyan,boxShadow:`0 0 6px ${O.cyan}`}}),t.jsxs("div",{children:[t.jsx("div",{className:"text-white text-sm font-black uppercase tracking-wider mb-0.5",style:{fontFamily:ge},children:l.label}),t.jsx("div",{className:"text-gray-300 text-xs leading-relaxed",children:l.desc})]})]},l.label))})]})}),t.jsx("div",{className:"mb-10",children:t.jsxs(ea,{children:[t.jsx(ro,{text:"Substance Over Spectacle"}),t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed mb-6",children:"We don't sell logo spots. We build moments. The Hallway Track at BSides Indore is as valuable as anything on the main stage."}),t.jsx("div",{className:"grid gap-5",style:{gridTemplateColumns:r?"1fr":e?"repeat(2, 1fr)":"repeat(3, 1fr)"},children:[{title:"Real Conversations",desc:"Direct face time with practitioners who build and break things for a living, not event tourists."},{title:"Hands-on Villages",desc:"Hardware hacking, bug bounty, and social engineering zones where attendees get their hands dirty."},{title:"Resume Clinic",desc:"A dedicated resume clinic on Day 2. All pass holders are eligible. Top CTF finishers get their resumes fast-tracked to you, pre-screened by live competition. Resume reviews, mock interviews, direct talent access."}].map(l=>t.jsxs("div",{className:"border p-5",style:{borderColor:`${O.cyan}15`,background:`${O.cyan}04`},children:[t.jsx("div",{className:"font-black text-sm uppercase tracking-wider mb-3 text-white",style:{fontFamily:ge},children:l.title}),t.jsx("p",{className:"text-gray-300 text-sm leading-relaxed",children:l.desc})]}
226,l.title))})]})}),t.jsxs("div",{className:"mb-14",children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsx("h2",{className:`font-black uppercase tracking-wider text-white ${r?"text-xl":"text-2xl"}`,style:{fontFamily:ge},children:"3 REASONS TO PARTNER"}),t.jsx("div",{className:"w-20 h-px mx-auto mt-3",style:{background:`${O.amber}60`}})]}),t.jsx("div",{className:"grid gap-5",style:{gridTemplateColumns:r?"1fr":"repeat(3, 1fr)"},children:[{num:"01",title:"FULL-SPECTRUM REACH",body:"Malware analysts, hardware hackers, red teamers, blue teamers, every corner of security in one room. You meet them all without the conference-hopping."},{num:"02",title:"EARNED CREDIBILITY",body:"Security practitioners trust peers, not billboards. Being visible at BSides builds the kind of authentic reputation no ad campaign can manufacture."},{num:"03",title:"DIRECT TALENT ACCESS",body:"A dedicated Resume Clinic on Day 2. Every pass holder is eligible to participate. Top CTF finishers' resumes are fast-tracked to you. Pre-screened, high-signal talent without recruiter overhead."}].map((l,d)=>t.jsxs("div",{className:"border bg-black/60 p-6 relative group overflow-hidden",style:{borderColor:`${d===1?O.amber:O.cyan}25`},children:[t.jsx("div",{className:"text-5xl font-black mb-4 select-none glitch-num",style:{fontFamily:ge,color:d===1?O.amber:O.cyan},children:l.num}),t.jsx("div",{className:"font-black text-sm uppercase tracking-wider mb-3",style:{fontFamily:ge,color:d===1?O.amber:O.cyan},children:l.title}),t.jsx("p",{className:"text-gray-200 text-sm leading-relaxed",children:l.body}),t.jsx("div",{className:"absolute bottom-0 left-0 h-0.5 w-0 group-hover:w-full transition-all duration-500",style:{backgroundColor:d===1?O.amber:O.cyan}})]},l.num))})]}),t.jsxs("div",{id:"x2-sponsors",className:"mb-14",style:{scrollMarginTop:90},children:[t.jsx("div",{className:"text-center mb-8",children:t.jsxs("div",{className:"inline-flex items-center gap-3 mb-3",children:[t.jsx("div",{className:"h-px w-12",style:{background:`linear-gradient(to right, transparent, ${O.cyan}50)`}}),t.jsx("span",{className:`font-black uppercase tracking-[0.22em] ${r?"text-base":"text-lg"}`,style:{fontFamily:ge,color:O.cyan,textShadow:`0 0 18px ${O.cyan}30`},children:"SPONSORS · X2 EDITION"}),t.jsx("div",{className:"h-px w-12",style:{background:`linear-gradient(to left, transparent, ${O.cyan}50)`}})]})}),t.jsxs("div",{className:"mb-8 p-6",style:{background:`${O.amber}0a`,border:`1px solid ${O.amber}30`,borderLeft:`3px solid ${O.amber}`,minHeight:118},children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-3",style:{fontFamily:ge,color:O.amber},children:"With Gratitude"}),t.jsxs("div",{style:{opacity:i?1:0,transition:"opacity 0.8s ease-in-out"},children:[t.jsxs("p",{className:"text-gray-200 text-sm leading-relaxed m-0",style:{position:"relative"},children:[t.jsx("span",{style:{color:O.amber,opacity:.5},children:"â"}),to[n].text,t.jsx("span",{style:{color:O.amber,opacity:.5},children:"â"})]}),t.jsxs("p",{className:"text-xs mt-3 mb-0 uppercase tracking-widest",style:{fontFamily:ge,color:`${O.amber}99`},children:["â ",to[n].who]})]})]}),Kl.map(l=>t.jsxs("div",{className:"mb-10 text-center",children:[t.jsxs("div",{className:"mb-4",children:[t.jsxs("span",{className:"font-black uppercase tracking-[0.2em] text-sm",style:{fontFamily:ge,color:O.cyan},children:[l.tier.replace(/ Sponsor$/,"")," "]}),t.jsx("span",{className:"font-black uppercase tracking-[0.2em] text-sm",style:{fontFamily:ge,color:O.amber},children:"Sponsor"})]}),t.jsx("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",display:"block"},children:t.jsxs("div",{className:"spsr-card mx-auto",style:{background:"rgba(34,211,238,0.06)",border:"1px solid rgba(34,211,238,0.3)",borderTop:`2px solid ${O.cyan}`,padding:"1.75rem 1.5rem",maxWidth:460,display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},onMouseEnter:d=>{const c=d.currentTarget;c.style.borderColor="rgba(34,211,238,0.65)",c.style.boxShadow="0 0 24px rgba(34,211,238,0.22)",c.style.background="rgba(34,211,238,0.1)"},onMouseLeave:d=>{const c=d.currentTarget;c.style.borderColor="rgba(34,211,238,0.3)",c.style.boxShadow="",c.style.background="rgba(34,211,238,0.06)"},children:[t.jsx("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",maxWidth:"100%",background:l.whiteBg?"#fff":"transparent",borderRadius:6,padding:l.whiteBg?"1rem 1.75rem":"0.25rem 0"},children:t.jsx("img",{src:l.logo,alt:l.name,loading:"lazy",style:{maxWidth:230,maxHeight:96,width:"auto",height:"auto",objectFit:"contain",display:"block"}})}),l.description&&t.jsx("p",{className:"text-gray-300 text-sm leading-relaxed m-0",children:l.description}),t.jsxs("div",{style:{fontFamily:ge,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.1em",color:`${O.cyan}cc`},children:["Learn more : ",l.url.replace(/^https?:\/\//,"").replace(/\/$/,"")]})]})})]},l.name)),t.jsxs("p",{className:"text-center text-gray-400 text-sm mt-2",children:["More partners confirming soon."," ",t.jsx("a",{href:"/sponsors/apply",style:{color:O.amber,textDecoration:"underline"},children:"Want to lock in a tier?"})]})]}),t.jsxs("div",{className:"mb-14 text-center",children:[t.jsxs("div",{className:"inline-flex items-center gap-3 mb-3",children:[t.jsx("div",{className:"h-px w-12",style:{background:`linear-gradient(to right, transparent, ${O.cyan}50)`}}),t.jsx("span",{className:`font-black uppercase tracking-[0.22em] ${r?"text-base":"text-lg"}`,style:{fontFamily:ge,color:O.cyan,textShadow:`0 0 18px ${O.cyan}30`},children:"CTF PARTNER"}),t.jsx("div",{className:"h-px w-12",style:{background:`linear-gradient(to left, transparent, ${O.cyan}50)`}})]}),t.jsx("p",{className:"text-gray-300 text-sm max-w-xl mx-auto mb-8",children:"The platform powering our Capture The Flag competition."}),t.jsx("div",{style:{maxWidth:200,margin:"0 auto"},children:t.jsx(eo,{items:Df,itemKey:l=>l.src,itemsPerPage:1,columns:1,accent:O.cyan,renderItem:l=>t.jsx("a",{href:l.href,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",display:"inline-block"},children:t.jsxs("div",{className:"spsr-card",style:{background:"rgba(34,211,238,0.06)",border:"1px solid rgba(34,211,238,0.25)",borderTop:`2px solid ${O.cyan}`,padding:"1.5rem 2rem",display:"flex",flexDirection:"column",alignItems:"center",gap:"0.75rem"},onMouseEnter:d=>{const c=d.currentTarget;c.style.borderColor="rgba(34,211,238,0.6)",c.style.boxShadow="0 0 24px rgba(34,211,238,0.2)",c.style.background="rgba(34,211,238,0.1)"},onMouseLeave:d=>{const c=d.currentTarget;c.style.borderColor="rgba(34,211,238,0.25)",c.style.boxShadow="",c.style.background="rgba(34,211,238,0.06)"},children:[t.jsx("div",{style:{height:90,display:"flex",alignItems:"center",justifyContent:"center",width:"100%"},children:t.jsx("img",{src:l.src,alt:l.label,loading:"lazy",style:{maxWidth:"85%",maxHeight:72,width:"auto",height:"auto",objectFit:"contain",display:"block",margin:"0 auto"}})}),t.jsx("div",{style:{fontFamily:ge,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.15em",color:`${O.cyan}cc`,textTransform:"uppercase",textAlign:"center"},children:l.label})]})})})})]}),t.jsx("div",{className:"mb-14 text-center",children:t.jsx("a",{href:"/community",style:{display:"inline-flex",alignItems:"center",gap:"0.5rem",fontFamily:ge,fontSize:"0.75rem",fontWeight:900,letterSpacing:"0.12em",textTransform:"uppercase",color:"#000",background:O.cyan,textDecoration:"none",padding:"0.85rem 1.75rem",borderRadius:4,boxShadow:"0 0 24px rgba(34,211,238,0.35)"},children:"Meet Our Wider Community â"})}),t.jsxs("div",{id:"previous-sponsors",className:"mb-14",style:{scrollMarginTop:90},children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsxs("div",{className:"inline-flex items-center gap-3 mb-3",children:[t.jsx("div",{className:"h-px w-12",style:{background:`linear-gradient(to right, transparent, ${O.amber}50)`}}),t.jsx("span",{className:`font-black uppercase tracking-[0.22em] ${r?"text-base":"text-lg"}`,style:{fontFamily:ge,color:O.amber,textShadow:`0 0 18px ${O.amber}30`},children:"PREVIOUS SPONSORS · X1 EDITION"}),t.jsx("div",{className:"h-px w-12",style:{background:`linear-gradient(to left, transparent, ${O.amber}50)`}})]}),t.jsx("p",{className:"text-gray-300 text-sm max-w-xl mx-auto",children:"Organizations that powered BSides Indore X1. Thank y
226ou for believing in the mission."})]}),t.jsx(eo,{items:Mf,itemKey:l=>l.src,itemsPerPage:r?2:e?3:5,accent:O.amber,gap:"1.25rem",renderItem:l=>t.jsx("a",{href:l.href,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",display:"block"},children:t.jsxs("div",{className:"spsr-card",style:{background:"rgba(245,158,11,0.06)",border:"1px solid rgba(245,158,11,0.25)",borderTop:`2px solid ${O.amber}`,padding:"1.5rem 1rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.75rem"},onMouseEnter:d=>{const c=d.currentTarget;c.style.borderColor="rgba(245,158,11,0.6)",c.style.boxShadow="0 0 24px rgba(245,158,11,0.2)",c.style.background="rgba(245,158,11,0.1)"},onMouseLeave:d=>{const c=d.currentTarget;c.style.borderColor="rgba(245,158,11,0.25)",c.style.boxShadow="",c.style.background="rgba(245,158,11,0.06)"},children:[t.jsx("div",{style:{height:90,display:"flex",alignItems:"center",justifyContent:"center",width:"100%"},children:t.jsx("img",{src:l.src,alt:l.label,loading:"lazy",style:{maxWidth:"85%",maxHeight:72,width:"auto",height:"auto",objectFit:"contain",display:"block",margin:"0 auto",filter:"brightness(0.95) saturate(0.9)",transition:"filter 0.25s"},onMouseEnter:d=>{d.currentTarget.style.filter="brightness(1.1) saturate(1)"},onMouseLeave:d=>{d.currentTarget.style.filter="brightness(0.95) saturate(0.9)"}})}),t.jsx("div",{style:{fontFamily:ge,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.15em",color:`${O.amber}cc`,textTransform:"uppercase",textAlign:"center"},children:l.label})]})})})]}),t.jsx("div",{className:"mt-14",children:t.jsx(o,{})}),t.jsxs("div",{className:"mt-10 mb-4",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[t.jsx("div",{className:"h-px flex-1",style:{background:`${O.amber}20`}}),t.jsx("span",{className:"text-sm font-black tracking-[0.22em] uppercase",style:{fontFamily:ge,color:O.amber},children:"GET IN TOUCH"}),t.jsx("div",{className:"h-px flex-1",style:{background:`${O.amber}20`}})]}),t.jsxs("div",{className:`grid gap-5 ${r?"grid-cols-1":"grid-cols-2"}`,children:[t.jsxs("div",{className:"border p-6",style:{borderColor:`${O.amber}25`,background:"rgba(245,158,11,0.04)",borderLeft:`3px solid ${O.amber}`},children:[t.jsx("div",{className:"text-xs font-black tracking-[0.2em] uppercase mb-1",style:{fontFamily:ge,color:O.amber},children:"SPONSORSHIP LEAD · PRIMARY OUTREACH"}),t.jsx("div",{className:"text-white font-black text-base mb-1",style:{fontFamily:ge},children:"Vedant Jain"}),t.jsx("div",{className:"text-gray-400 text-xs mb-3",children:"OSCP · Senior Security Engineer · App, Cloud & AI Security"}),t.jsx("a",{href:"https://linkedin.com/in/ved-ant-jain",target:"_blank",rel:"noopener noreferrer",className:"text-xs font-black tracking-wider uppercase",style:{fontFamily:ge,color:O.cyan,textDecoration:"none",letterSpacing:"0.08em"},children:"linkedin.com/in/ved-ant-jain â"})]}),t.jsxs("div",{className:"border p-6",style:{borderColor:`${O.cyan}25`,background:"rgba(34,211,238,0.04)",borderLeft:`3px solid ${O.cyan}`},children:[t.jsx("div",{className:"text-xs font-black tracking-[0.2em] uppercase mb-1",style:{fontFamily:ge,color:O.cyan},children:"CHAPTER LEAD"}),t.jsx("div",{className:"text-white font-black text-base mb-1",style:{fontFamily:ge},children:"Prathmesh Dharkar"}),t.jsx("div",{className:"text-gray-400 text-xs mb-3",children:"Cyber Security Implementation & Ops Specialist · Offensive Security"}),t.jsx("a",{href:"https://linkedin.com/in/prathmeshdharkar",target:"_blank",rel:"noopener noreferrer",className:"text-xs font-black tracking-wider uppercase",style:{fontFamily:ge,color:O.cyan,textDecoration:"none",letterSpacing:"0.08em"},children:"linkedin.com/in/prathmeshdharkar â"})]})]}),t.jsx("div",{className:"text-center mt-5",children:t.jsx("a",{href:"mailto:[email protected]",style:{fontFamily:ge,color:O.amber,fontSize:"0.8rem",letterSpacing:"0.1em",textDecoration:"none",fontWeight:900},children:"[email protected]"})})]})]}),t.jsx(rt,{})]})},Be='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',K={cyan:"#22d3ee",cyanGlow:"rgba(34,211,238,0.35)",cyanDim:"rgba(34,211,238,0.08)",gold:"#fbbf24",goldGlow:"rgba(251,191,36,0.35)",violet:"#a78bfa",green:"#4ade80",orange:"#fb923c",bg:"#080c14",card:"rgba(255,255,255,0.04)",border:"rgba(255,255,255,0.1)"},Uf=` 227 @keyframes cfs-glitch { 228 0% { clip-path: inset(0 0 98% 0); transform: translate(-3px, 0); opacity: 0.9; } 229 5% { clip-path: inset(30% 0 50% 0); transform: translate(3px, 0); } 230 10% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 0); } 231 15% { clip-path: inset(10% 0 80% 0); transform: translate(2px, 0); } 232 20% { clip-path: inset(80% 0 5% 0); transform: translate(-3px, 0); } 233 25% { clip-path: inset(45% 0 45% 0); transform: translate(0, 0); } 234 30% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 1; } 235 100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 1; } 236 } 237 @keyframes cfs-glitch2 {
238 0% { clip-path: inset(50% 0 30% 0); transform: translate(4px, 0); opacity: 0.6; } 239 8% { clip-path: inset(20% 0 70% 0); transform: translate(-4px, 0); } 240 16% { clip-path: inset(70% 0 10% 0); transform: translate(3px, 0); } 241 24% { clip-path: inset(5% 0 85% 0); transform: translate(-2px, 0); } 242 30% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 0; } 243 100% { opacity: 0; } 244 } 245 246 .cfs-card { 247 border-radius: 10px; 248 border: 1px solid rgba(255,255,255,0.1); 249 background: rgba(255,255,255,0.04); 250 overflow: hidden; 251 transition: border-color 0.25s, box-shadow 0.25s; 252 } 253 .cfs-card:hover { 254 border-color: rgba(255,255,255,0.2); 255 box-shadow: 0 4px 32px rgba(0,0,0,0.5); 256 } 257 .cfs-card-gold { 258 border-radius: 12px; 259 border: 1px solid rgba(251,191,36,0.3); 260 background: rgba(251,191,36,0.04); 261 overflow: hidden; 262 transition: border-color 0.25s, box-shadow 0.25s; 263 } 264 .cfs-card-gold:hover { 265 border-color: rgba(251,191,36,0.5); 266 box-shadow: 0 4px 40px rgba(251,191,36,0.1); 267 } 268 .cfs-card-cyan { 269 border-radius: 10px; 270 border: 1px solid rgba(34,211,238,0.2); 271 background: rgba(34,211,238,0.04); 272 overflow: hidden; 273 transition: border-color 0.25s, box-shadow 0.25s; 274 } 275 .cfs-card-cyan:hover { 276 border-color: rgba(34,211,238,0.4); 277 box-shadow: 0 4px 32px rgba(34,211,238,0.08); 278 } 279 .cfs-card-violet { 280 border-radius: 10px; 281 border: 1px solid rgba(167,139,250,0.2); 282 background: rgba(167,139,250,0.04); 283 overflow: hidden; 284 transition: border-color 0.25s, box-shadow 0.25s; 285 } 286 .cfs-card-violet:hover { 287 border-color: rgba(167,139,250,0.4); 288 box-shadow: 0 4px 32px rgba(167,139,250,0.08); 289 } 290 .cfs-card-green { 291 border-radius: 10px; 292 border: 1px solid rgba(74,222,128,0.2); 293 background: rgba(74,222,128,0.04); 294 overflow: hidden; 295 transition: border-color 0.25s, box-shadow 0.25s; 296 } 297 .cfs-card-green:hover { 298 border-color: rgba(74,222,128,0.4); 299 box-shadow: 0 4px 32px rgba(74,222,128,0.08); 300 } 301 302 .cfs-tag { 303 font-size: 0.7rem; 304 font-weight: 900; 305 letter-spacing: 0.15em; 306 padding: 0.2rem 0.55rem; 307 border-radius: 4px; 308 border: 1px solid; 309 white-space: nowrap; 310 } 311 312 .cfs-perk-item { 313 display: flex; 314 align-items: flex-start; 315 gap: 0.6rem; 316 padding: 0.45rem 0; 317 border-bottom: 1px solid rgba(255,255,255,0.05); 318 font-size: 0.82rem; 319 font-family: system-ui, -apple-system, sans-serif; 320 color: #ffffff; 321 line-height: 1.5; 322 } 323 .cfs-perk-item:last-child { border-bottom: none; } 324 325 .cfs-tc-row { 326 display: flex; 327 align-items: flex-start; 328 gap: 1rem; 329 padding: 0.75rem 1rem; 330 border-left: 2px solid; 331 border-radius: 0 6px 6px 0; 332 background: rgba(255,255,255,0.025); 333 margin-bottom: 0.4rem; 334 transition: background 0.2s; 335 } 336 .cfs-tc-row:hover { background: rgba(255,255,255,0.045); } 337 338 .cfs-report-card { 339 border-radius: 8px; 340 border: 1px solid rgba(255,255,255,0.08); 341 background: rgba(255,255,255,0.03); 342 padding: 1rem 1.25rem; 343 transition: border-color 0.2s; 344 } 345 .cfs-report-card:hover { border-color: rgba(34,211,238,0.2); } 346`,Mn=({text:r,color:e})=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"1.75rem"},children:[t.jsx("div",{style:{height:1,flex:1,background:`linear-gradient(to right, ${e}50, transparent)`}}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem",padding:"0.45rem 1.1rem",borderRadius:6,border:`1px solid ${e}35`,background:`${e}10`},children:[t.jsx("span",{style:{width:7,height:7,borderRadius:"50%",backgroundColor:e,boxShadow:`0 0 8px ${e}`,display:"inline-block",flexShrink:0}}),t.jsx("span",{style:{fontFamily:Be,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.28em",color:e,textTransform:"uppercase"},children:r})]}),t.jsx("div",{style:{height:1,flex:1,background:`linear-gradient(to left, ${e}50, transparent)`}})]}),da=({text:r,accent:e})=>t.jsxs("div",{className:"cfs-perk-item",children:[t.jsx("span",{style:{width:7,height:7,borderRadius:"50%",flexShrink:0,marginTop:5,backgroundColor:e,boxShadow:`0 0 6px ${e}90`}}),r]}),pr=({tier:r,price:e,badge:n,desc:s,perks:i,accent:a,className:o,priceNote:l,px:d,py:c,isMobile:u,twoCol:h})=>t.jsxs("div",{className:o,style:{display:"flex",flexDirection:"column"},children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, ${a}, transparent)`,borderRadius:"10px 10px 0 0"}}),t.jsxs("div",{style:{padding:`${c} ${d}`,flex:1,display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"0.5rem",marginBottom:"0.5rem"},children:[t.jsx("span",{style:{fontFamily:Be,fontWeight:900,fontSize:"0.75rem",letterSpacing:"0.1em",color:"#ffffff"},children:r}),t.jsx("span",{className:"cfs-tag",style:{fontFamily:Be,color:a,borderColor:`${a}40`,background:`${a}10`},children:n})]}),t.jsx("div",{style:{fontFamily:Be,fontWeight:900,fontSize:u?"1.9rem":"2.2rem",color:a,lineHeight:1,marginBottom:"0.2rem"},children:e}),t.jsx("div",{style:{color:"rgba(255,255,255,0.65)",fontSize:"0.68rem",marginBottom:"0.75rem"},children:l??"USD · exclusive of taxes"}),t.jsx("p",{style:{color:"rgba(255,255,255,0.88)",fontSize:"0.8rem",lineHeight:1.65,marginBottom:"0.75rem"},children:s}),t.jsx("div",{style:{height:1,background:`${a}20`,marginBottom:"0.75rem"}}),t.jsx("div",{style:{flex:1,display:h?"grid":"block",gridTemplateColumns:h&&!u?"1fr 1fr":"1fr",gap:"0 1.5rem"},children:i.map(p=>t.jsx(da,{text:p,accent:a},p))})]})]}),Hf=()=>{const r=St(),{isMobile:e}=nn(),[n,s]=y.useState(!1);y.useEffect(()=>{const o=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",o&&(o.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",o&&(o.style.height="")}},[]),y.useEffect(()=>{const o=()=>s(window.scrollY>200);return window.addEventListener("scroll",o,{passive:!0}),()=>window.removeEventListener("scroll",o)},[]);const i=e?"1rem":"1.75rem",a=e?"1.25rem":"1.75rem";return t.jsxs("div",{style:{background:K.bg,minHeight:"100vh",color:"#fff"},children:[t.jsx("style",{children:Uf}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:`linear-gradient(rgba(34,211,238,0.03) 1px, transparent 1px), 347 linear-gradient(90deg, rgba(34,211,238,0.03) 1px, transparent 1px)`,backgroundSize:"56px 56px"}}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 80% 45% at 50% 0%, rgba(251,191,36,0.06) 0%, transparent 70%)"}}),[["top-4 left-4","border-t border-l"],["top-4 right-4","border-t border-r"],["bottom-4 left-4","border-b border-l"],["bottom-4 right-4","border-b border-r"]].map(([o,l])=>t.jsx("div",{className:`fixed ${o} w-6 h-6 ${l} pointer-events-none`,style:{borderColor:"rgba(34,211,238,0.2)"}},o)),t.jsxs("div",{className:"relative z-10 mx-auto",style:{maxWidth:960,padding:e?"5rem 1rem 3.5rem":"5rem 1.5rem 5rem",paddingBottom:n?e?"6rem":"6.5rem":void 0},children:[t.jsxs("div",{style:{textAlign:"center",marginBottom:e?"3rem":"4.5rem"},children:[t.jsx("span",{style:{fontFamily:Be,color:K.gold,fontSize:"0.62rem",letterSpacing:"0.28em",fontWeight:900,opacity:.8,display:"block",marginBottom:"0.85rem"},children:"BSIDES INDORE · X2 EDITION · 2026"}),t.jsx($t,{as:"h1",text:"CALL FOR SPONSORS",style:{fontFamily:Be,fontSize:e?"clamp(1.7rem, 6.5vw, 2.4rem)":"4rem",fontWeight:900,letterSpacing:"0.04em",lineHeight:1.05,color:"#ffffff",textShadow:`0 0 50px ${K.goldGlow}, 0 0 100px rgba(34,211,238,0.12)`,marginBottom:"1.25rem",textTransform:"uppercase"}}),t.jsx("div",{style:{height:2,width:60,background:`linear-gradient(to right, transparent, ${K.gold}, transparent)`,margin:"0 auto 1.25rem"}}),t.jsxs("p",{style:{color:"rgba(255,255,255,0.85)",maxWidth:560,margin:"0 auto",lineHeight:1.9,fontSize:"0.88rem",fontFamily:"system-ui, sans-serif"},children:["A practitioner-run security conference in the heart of Central India.",t.jsx("br",{}),"400+ attendees across two days: researchers, engineers, students, and hiring managers, all in one room. Real people who chose to be here."]})]}),t.jsx("div",{style:{margin:e?"0 0 2.75rem":"0 0 3.5rem"},children:t.jsx(Vt,{bg:K.bg,accent:K.gold,style:{margin:"0 auto",maxWidth:920,borderLeftColor:`${K.gold}66`}})}),t.jsxs("section",{style:{marginBottom:e?"3rem":"4rem"},children:[t.jsx(Mn,{text:"FLAGSHIP TIER",color:K.gold}),t.jsx("div",{className:"cfs-card-gold",style:{borderTopWidth:2,borderTopColor:K.gold,boxShadow:"0 0 60px rgba(251,191,36,0.08)"},children:t.jsx("div",{style:{padding:`${a} ${i}`},children:t.jsxs("div",{style:{display:"flex",flexDirection:e?"column":"row",gap:e?"1.5rem":"3rem",alignItems:"flex-start"},children:[t.jsxs("div",{style:{width:e?"100%":260,flexShrink:0},children:[t.jsx("div",{style:{display:"inline-block",fontFamily:Be,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.12em",padding:"0.3rem 0.7rem",background:K.gold,color:"#000",borderRadius:4,marginBottom:"1rem"},children:"FLAGSHIP"}),t.jsx("div",{style:{fontFamily:Be,fontWeight:900,fontSize:"1rem",letterSpacing:"0.12em",color:"#ffffff",marginBottom:"0.5rem"},children:"TITLE / GOLD SPONSOR"}),t.jsx("div",{style:{fontFamily:Be,fontWeight:900,fontSize:e?"2.6rem":"3.2rem",color:K.gold,textShadow:`0 0 30px ${K.goldGlow}`,lineHeight:1,marginBottom:"0.35rem"},children:"$2,500"}),t.jsx("div",{style:{color:"rgba(255,255,255,0.72)",fontSize:"0.72rem",marginBottom:"1.25rem"},children:"USD · exclusive of taxes"}),t.jsx("div",{style:{height:1,background:`${K.gold}25`,marginBottom:"1rem"}}),t.jsx("p",{style:{color:"rgba(255,255,255,0.88)",fontSize:"0.8rem",lineHeight:1.7},children:"Event identity partner: brand featured alongside BSides Indore X2 across all communications and assets. The only premium booth, opening address, and top placement everywhere."})]}),t.jsxs("div",{style:{flex:1},children:[t.jsx("div",{style:{fontFamily:Be,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.22em",color:"rgba(255,255,255,0.5)",marginBottom:"0.6rem",textTransform:"uppercase"},children:"BRAND PRESENCE"}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"1fr 1fr",gap:"0 2rem",marginBottom:"1.25rem"},children:["Brand featured alongside BSides Indore X2 in all event communications","Opening address on stage at the event","Logo on T-shirt chest (highest visibility wearable position)","Top logo placement across all print and digital assets","Logo on lanyards, banners, standees, and website","Premium booth at prime venue location (only booth at the event)","Full-page feature in event pamphlet"].map(o=>t.jsx(da,{text:o,accent:K.gold},o))}),t.jsx("div",{style:{fontFamily:Be,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.22em",color:"rgba(255,255,255,0.5)",marginBottom:"0.6rem",textTransform:"uppercase"},children:"ENGAGEMENT PERKS"}),["All social media campaigns and post-event recap branding","Priority access to the Resume Clinic talent pool, including top CTF finishers' resumes","Resume access through the Resume Clinic and CTF awards","Pass allocation: 2 Corporate passes + 1 Training Day pass + additional Training Day at preferred rate"].map(o=>t.jsx(da,{text:o,accent:K.gold},o))]})]})})})]}),t.jsxs("section",{style:{marginBottom:e?"3rem":"4rem"},children:[t.jsx(Mn,{text:"STANDARD TIERS",color:K.cyan}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"repeat(3, 1fr)",gap:"1rem"},children:[t.jsx(pr,{px:i,py:a,isMobile:e,tier:"SILVER SPONSOR",price:"$1,700",badge:"STANDARD",accent:K.cyan,className:"cfs-card-cyan",desc:"Stage backdrop logo + pamphlet + standard booth + standee. Solid all-round brand presence.",perks:["Logo on stage backdrop, visible behind every speaker","Standard booth at the event floor","Standee at event location","Half-page feature in event pamphlet","2 social media posts","Pass allocation: 2 Individual passes"]}),t.jsx(pr,{px:i,py:a,isMobile:e,tier:"NETWORKING PARTY",price:"$1,250",badge:"EXCLUSIVE",accent:K.violet,className:"cfs-card-violet",desc:'"Networking Party by [You]" with every attendee, speaker, and sponsor in one room. Own the closing social moment.',perks:["Closing party named with your brand on all invitations","Branding on party backdrop and event elements","Banners and standees at the party venue","Stage moment to address the room","Pass allocation: 2 Corporate passes"]}),t.jsx(pr,{px:i,py:a,isMobile:e,tier:"CAREER + CTF COMBO",price:"$1,100",badge:"COMBO",accent:K.orange,className:"cfs-card",desc:"Sponsor-branded CTF challenge + top 10 finishers' resumes + Resume Clinic access. Best for hiring CTF-grade engineers.",perks:['"CTF powered by [You]" on scoreboard and challenge platform',"Top 10 CTF finishers' resumes shared with your team","Prize naming and awards ceremony co-recognition","Priority resume access through the Resume Clinic","Pass allocation: 2 Corporate passes + Training Day access at preferred rate"]})]})]}),t.jsxs("section",{style:{marginBottom:e?"3rem":"4rem"},children:[t.jsx(Mn,{text:"BRAND VISIBILITY",color:K.violet}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"1fr 1fr",gap:"1rem"},children:[t.jsx(pr,{px:i,py:a,isMobile:e,tier:"LANYARD SPONSOR",price:"$900",badge:"WEARABLE",accent:K.violet,className:"cfs-card-violet",desc:"Logo on every attendee lanyard for both days. Highe
347st in-event impression count of any single asset.",perks:["Logo on all attendee lanyards, worn 100% of event duration","Quarter-page feature in event pamphlet","Pass allocation: 2 Corporate passes (includes Networking Party access)"]}),t.jsx(pr,{px:i,py:a,isMobile:e,tier:"T-SHIRT SPONSOR",price:"$850",badge:"BRANDED",accent:K.violet,className:"cfs-card-violet",desc:"Logo on every attendee T-shirt sleeve, worn for months after the event. Highest post-event brand longevity of any tier.",perks:["Logo on sleeve of every attendee T-shirt (400+ attendees)","Quarter-page feature in event pamphlet","Pass allocation: 2 Corporate passes (includes Networking Party access)"]}),t.jsx(pr,{px:i,py:a,isMobile:e,tier:"HIGH TEA SPONSOR",price:"$700",badge:"CATERING",accent:K.violet,className:"cfs-card-violet",desc:'"High Tea by [You]": every break is your moment. Best conversations at BSides happen over chai and snacks.',perks:["Branded signage at the High Tea station for both days","MC acknowledgment and shoutout at every break","Banners at tea area","Pass allocation: 2 Corporate passes (includes Networking Party access)"]}),t.jsx(pr,{px:i,py:a,isMobile:e,tier:"BRONZE SPONSOR",price:"$600",badge:"ENTRY",accent:K.cyan,className:"cfs-card-cyan",desc:"Website logo + pamphlet listing + standard booth + standee. Solid entry-level floor presence.",perks:["Standard booth at the event floor","Standee at event location","Listing in event pamphlet","1 dedicated social media post","Pass allocation: 2 Individual passes (to staff the booth)"]})]})]}),t.jsxs("section",{style:{marginBottom:e?"3rem":"4rem"},children:[t.jsx(Mn,{text:"TRACKS & ZONES",color:K.gold}),t.jsx("p",{style:{color:"rgba(255,255,255,0.6)",fontSize:"0.82rem",textAlign:"center",maxWidth:560,margin:"0 auto 2rem",lineHeight:1.75},children:"Own a specific track or zone at BSides Indore X2. Dedicated, high-engagement brand placement throughout the event."}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"repeat(3, 1fr)",gap:"1rem"},children:[t.jsx(pr,{px:i,py:a,isMobile:e,tier:"BUG BOUNTY TRACK",price:"$500",badge:"TRACK",accent:K.gold,className:"cfs-card",desc:"Brand on Bug Bounty zone + scoreboard, live hacking event for your platform. Best for reaching active security researchers.",perks:['"Bug bounty by [You]" on zone and scoreboard',"Live hacking event to promote your platform","Banners and standee at the Bug Bounty zone","Backdrop logo at zone entrance","Stage shoutout during awards","Pass allocation: 1 Corporate pass (includes Networking Party)"]}),t.jsx(pr,{px:i,py:a,isMobile:e,tier:"CTF TRACK",price:"$350",badge:"TRACK",accent:K.gold,className:"cfs-card",desc:'"CTF powered by [You]" on scoreboard both days + challenge naming rights. In front of the most technically engaged attendees.',perks:["Brand on CTF platform and live scoreboard for both days","Challenge naming rights","Backdrop logo at CTF zone","Stage shoutout during awards ceremony","Pass allocation: 1 Individual pass"]}),t.jsx(pr,{px:i,py:a,isMobile:e,tier:"VILLAGE PARTNER",price:"$350",badge:"VILLAGE",accent:K.gold,className:"cfs-card",desc:"Run a branded hands-on village zone. Your team owns the agenda inside it. Hardware, AI, Container Security, and more.",perks:["Run or co-brand a hands-on village","Your team controls the agenda and sessions inside","Logo on all village promotion material and entrance","Pass allocation: 2 Student passes + 1 Corporate pass"]})]})]}),t.jsxs("section",{style:{marginBottom:e?"3rem":"4rem"},children:[t.jsx(Mn,{text:"COMMUNITY & HIRING",color:K.green}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"1fr 1fr",gap:"1rem"},children:[t.jsx(pr,{px:i,py:a,isMobile:e,tier:"COMMUNITY SUPPORTER",price:"$100",badge:"SUPPORTER",accent:K.green,className:"cfs-card-green",desc:"Entry-level community backing. Name on the website supporters wall.",perks:["Name/logo on website supporters wall","Community recognition","Pass allocation: 1 Individual pass"]}),t.jsxs("div",{className:"cfs-card-green",style:{display:"flex",flexDirection:"column"},children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, ${K.green}, transparent)`,borderRadius:"10px 10px 0 0"}}),t.jsxs("div",{style:{padding:`${a} ${i}`,flex:1,display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"0.5rem",marginBottom:"0.5rem"},children:[t.jsx("span",{style:{fontFamily:Be,fontWeight:900,fontSize:"0.75rem",letterSpacing:"0.1em",color:"#ffffff"},children:"RESUME CLINIC & GUIDANCE"}),t.jsx("span",{className:"cfs-tag",style:{fontFamily:Be,color:K.green,borderColor:`${K.green}40`,background:`${K.green}10`},children:"HIRING"})]}),t.jsx("div",{style:{fontFamily:Be,fontWeight:900,fontSize:"2.2rem",color:K.green,lineHeight:1,marginBottom:"0.2rem"},children:"Free"}),t.jsx("div",{style:{color:"rgba(255,255,255,0.65)",fontSize:"0.68rem",marginBottom:"0.75rem"},children:"Free for hiring companies · direct access to 400+ attendees"}),t.jsx("p",{style:{color:"rgba(255,255,255,0.88)",fontSize:"0.8rem",lineHeight:1.65,marginBottom:"0.75rem"},children:"Free access to the Resume Clinic for all hiring companies with open cybersecurity roles."}),t.jsx("div",{style:{height:1,background:`${K.green}20`,marginBottom:"0.75rem"}}),["Free access to the Resume Clinic","Candidates share their CVs with you directly through the Resume Clinic, their choice, their intent","HR guidance sessions and soft skills support for students","1 social media post highlighting your open roles"].map(o=>t.jsx(da,{text:o,accent:K.green},o)),t.jsxs("div",{style:{marginTop:"0.75rem",padding:"0.6rem 0.85rem",background:`${K.green}10`,border:`1px solid ${K.green}30`,borderLeft:`3px solid ${K.green}`,fontSize:"0.78rem",lineHeight:1.5,color:"rgba(255,255,255,0.9)"},children:[t.jsx("strong",{style:{color:K.green,fontFamily:"inherit"},children:"1 complimentary HR pass"})," ","for a company representative who is actively hiring for security roles. This pass is the hiring company's access to meet candidates directly through the Resume Clinic."]})]})]})]})]}),t.jsxs("section",{style:{marginBottom:e?"3rem":"4rem"},children:[t.jsx(Mn,{text:"AFTER THE EVENT",color:K.cyan}),t.jsx("p",{style:{color:"rgba(255,255,255,0.85)",fontSize:"0.85rem",textAlign:"center",maxWidth:560,margin:"0 auto 0.75rem",lineHeight:1.75},children:"Sponsorship doesn't end when the venue empties. Every paid sponsor receives a structured post-event report within two weeks, delivered as a PDF + raw assets package."}),t.jsx("p",{style:{fontFamily:"monospace",fontSize:"0.75rem",color:"rgba(255,255,255,0.45)",textAlign:"center",margin:"0 auto 2rem",maxWidth:560},children:"// Reporting delivered to sponsor's primary contact"}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"repeat(3, 1fr)",gap:"0.75rem"},children:[{title:"ATTENDEE COUNT",body:"Total registrations and on-ground turnout, broken down by Day 01 (Trainings) and Day 02 (Conference)."},{title:"SOCIAL MEDIA METRICS",body:"Hashtag impressions, reach, and engagement across official BSides Indore channels, including sponsor-tagged posts."},{title:"PHOTO GALLERY",body:"Curated event photo set with sponsor-tagged photos shared directly. Open use rights for your own marketing."},{title:"SPONSOR VISIBILITY REPORT",body:"Documented logo placements, signage photos, MC mentions, and on-ground brand presence."},{title:"CTF PARTICIPATION STATS",body:"Total CTF participants, top-performing teams, and winners list. Useful signal for evaluating technical audience quality."},{title:"RESUME CLINIC STATS",body:"For Resume Clinic sponsors: aggregated resume submissions and candidate interest summary."}].map(o=>t.jsxs("div",{className:"cfs-report-card",children:[t.jsxs("div",{style:{fontFamily:Be,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.18em",color:K.cyan,marginBottom:"0.5rem"},children:["â ",o.title]}),t.jsx("p",{style:{color:"rgba(255,255,255,0.75)",fontSize:"0.78rem",lineHeight:1.65,margin:0},children:o.body})]},o.title))})]}),t.jsxs("section",{style:{marginBottom:e?"3rem":"4rem"},children:[t.jsx(Mn,{text:"TERMS & CONDITIONS",color:"rgba(255,255,255,0.4)"}),t.jsx("div",{children:[{text:"Speaking opportunities are allocated through a merit-based content review, independent of sponsorship. This ensures meaningful engagement and maintains audie
347nce trust.",tag:"MERIT-BASED STAGE",color:K.gold},{text:"Attendee contact information is not shared or sold. Any lead capture must be managed independently at sponsor booths, in compliance with applicable IT & privacy laws.",tag:"PRIVACY FIRST",color:K.gold},{text:"Full payment is required prior to the event to activate sponsorship benefits.",tag:"PAYMENT",color:K.gold},{text:"Sponsorship fees are non-refundable once the agreement is confirmed and payment is received.",tag:"NO REFUNDS",color:K.cyan},{text:"In case of a change in event dates, sponsorship benefits will be carried forward to the rescheduled event.",tag:"RESCHEDULING",color:K.cyan},{text:"All prices are in USD, exclusive of taxes. Applicable taxes will be added at the time of invoicing. INR equivalent available on request.",tag:"PRICING",color:K.cyan},{text:"Logos and brand materials must be submitted at least three weeks prior to the event for inclusion in promotions.",tag:"DEADLINE",color:"rgba(255,255,255,0.62)"},{text:"BSides Indore reserves the right to decline sponsorships that do not align with community values.",tag:"RIGHTS",color:"rgba(255,255,255,0.62)"},{text:"Sponsorship packages and benefits are subject to availability. Limited slots; early sponsors get priority placement.",tag:"AVAILABILITY",color:"rgba(255,255,255,0.62)"}].map((o,l)=>t.jsxs("div",{className:"cfs-tc-row",style:{borderLeftColor:o.color},children:[t.jsx("span",{style:{fontFamily:"monospace",fontSize:"0.72rem",color:"rgba(255,255,255,0.58)",flexShrink:0,marginTop:2,minWidth:20,textAlign:"right"},children:String(l+1).padStart(2,"0")}),t.jsxs("div",{style:{flex:1},children:[t.jsx("span",{style:{display:"inline-block",fontFamily:Be,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",color:o.color,background:`${o.color}14`,border:`1px solid ${o.color}30`,padding:"0.15rem 0.5rem",borderRadius:3,marginBottom:"0.3rem"},children:o.tag}),t.jsx("p",{style:{color:"rgba(255,255,255,0.8)",fontSize:"0.82rem",lineHeight:1.65,margin:0},children:o.text})]})]},l))})]}),t.jsxs("div",{style:{borderRadius:12,border:`1px solid ${K.cyan}30`,background:"linear-gradient(135deg, rgba(34,211,238,0.06) 0%, rgba(167,139,250,0.06) 100%)",overflow:"hidden",position:"relative"},children:[t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:1,background:`linear-gradient(to right, ${K.cyan}80, ${K.violet}80)`}}),t.jsxs("div",{style:{padding:e?"2.5rem 1.5rem":"3.5rem",textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:Be,fontSize:"0.6rem",letterSpacing:"0.3em",color:"rgba(255,255,255,0.5)",marginBottom:"0.75rem"},children:"READY TO PARTNER?"}),t.jsx($t,{as:"h3",text:"LET'S MAKE IT HAPPEN",style:{fontFamily:Be,fontWeight:900,fontSize:e?"1.6rem":"2.4rem",color:"#ffffff",letterSpacing:"0.05em",textShadow:`0 0 40px ${K.cyanGlow}`,marginBottom:"1rem",display:"inline-block"},glitchMinMs:6e4,glitchMaxMs:12e4}),t.jsx("p",{style:{color:"rgba(255,255,255,0.85)",maxWidth:440,margin:"0 auto 1.25rem",fontSize:"0.88rem",lineHeight:1.7},children:"Tell us which tier fits, or just reach out and we'll figure it out. We respond within 48 hours."}),t.jsx("p",{style:{color:"rgba(255,255,255,0.72)",fontSize:"0.72rem",letterSpacing:"0.12em",fontFamily:Be,marginBottom:"2rem",textTransform:"uppercase"},children:"X2 Edition · 5â6 September 2026 · Indore, India"}),t.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:e?"0.5rem":"1rem",marginBottom:"2rem",flexWrap:"wrap"},children:[["01","Email Us","Your Interest"],["02","We Send","Agreement"],["03","Secure","Your Slot"],["04","We Handle","Everything"]].map(([o,l,d])=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:e?"0.5rem":"1rem"},children:[t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("div",{style:{width:36,height:36,borderRadius:"50%",border:`1.5px solid ${K.gold}60`,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:Be,fontSize:"0.68rem",color:K.gold,margin:"0 auto 0.3rem"},children:o}),t.jsx("div",{style:{fontFamily:Be,fontSize:"0.6rem",color:"#fff",fontWeight:700},children:l}),t.jsx("div",{style:{fontFamily:Be,fontSize:"0.55rem",color:"rgba(255,255,255,0.5)"},children:d})]}),o!=="04"&&t.jsx("div",{style:{width:e?16:32,height:1,background:`${K.gold}40`}})]},o))}),t.jsxs("div",{style:{display:"flex",flexDirection:e?"column":"row",alignItems:"center",justifyContent:"center",gap:"0.75rem"},children:[t.jsx("button",{onClick:()=>r("/sponsors/apply"),style:{fontFamily:Be,background:K.cyan,color:"#000",padding:"0.85rem 2.2rem",fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",border:"none",cursor:"pointer",borderRadius:6,boxShadow:`0 0 24px ${K.cyanGlow}`,textTransform:"uppercase"},children:"APPLY NOW â"}),t.jsx("a",{href:"mailto:[email protected]?subject=BSides Indore 2026 - Sponsorship Enquiry",style:{fontFamily:Be,color:K.cyan,padding:"0.85rem 2.2rem",fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",border:`1px solid ${K.cyan}50`,cursor:"pointer",borderRadius:6,textDecoration:"none",textTransform:"uppercase"},children:"â EMAIL US"})]}),t.jsx("div",{style:{marginTop:"1.25rem",fontSize:"0.7rem",letterSpacing:"0.1em",fontFamily:Be},children:t.jsx("a",{href:"mailto:[email protected]",style:{color:K.cyan,textDecoration:"none"},children:"[email protected]"})})]})]})]}),n&&t.jsxs("div",{style:{position:"fixed",bottom:0,left:0,right:0,zIndex:100,background:"rgba(8,12,20,0.95)",borderTop:`1px solid ${K.cyan}40`,backdropFilter:"blur(12px)",display:"flex",alignItems:"center",justifyContent:"center",gap:"1rem",padding:e?"0.75rem 1rem":"0.875rem 2rem"},children:[t.jsx("span",{style:{fontFamily:Be,color:"rgba(255,255,255,0.55)",fontSize:"0.68rem",letterSpacing:"0.2em"},children:"READY TO PARTNER?"}),t.jsx("button",{onClick:()=>r("/sponsors/apply"),style:{fontFamily:Be,background:K.cyan,color:"#000",padding:e?"0.85rem 1.4rem":"0.55rem 1.6rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",border:"none",cursor:"pointer",borderRadius:5,boxSh
vendor: 10,036 bytes, line 347
347adow:`0 0 16px ${K.cyanGlow}`,textTransform:"uppercase",whiteSpace:"nowrap",minHeight:44,touchAction:"manipulation"},children:"BECOME A SPONSOR â"})]}),t.jsx(rt,{})]})};var Ri=r=>r.type==="checkbox",Zn=r=>r instanceof Date,Pt=r=>r==null;const Wd=r=>typeof r=="object";var ot=r=>!Pt(r)&&!Array.isArray(r)&&Wd(r)&&!Zn(r),Vf=r=>ot(r)&&r.target?Ri(r.target)?r.target.checked:r.target.value:r,Gf=r=>r.substring(0,r.search(/\.\d+(\.|$)/))||r,qf=(r,e)=>r.has(Gf(e)),Kf=r=>{const e=r.constructor&&r.constructor.prototype;return ot(e)&&e.hasOwnProperty("isPrototypeOf")},Jo=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function bt(r){let e;const n=Array.isArray(r),s=typeof FileList<"u"?r instanceof FileList:!1;if(r instanceof Date)e=new Date(r);else if(!(Jo&&(r instanceof Blob||s))&&(n||ot(r)))if(e=n?[]:{},!n&&!Kf(r))e=r;else for(const i in r)r.hasOwnProperty(i)&&(e[i]=bt(r[i]));else return r;return e}var La=r=>/^\w*$/.test(r),ht=r=>r===void 0,Xo=r=>Array.isArray(r)?r.filter(Boolean):[],Zo=r=>Xo(r.replace(/["|']|\]/g,"").split(/\.|\[/)),Y=(r,e,n)=>{if(!e||!ot(r))return n;const s=(La(e)?[e]:Zo(e)).reduce((i,a)=>Pt(i)?i:i[a],r);return ht(s)||s===r?ht(r[e])?n:r[e]:s},_r=r=>typeof r=="boolean",$e=(r,e,n)=>{let s=-1;const i=La(e)?[e]:Zo(e),a=i.length,o=a-1;for(;++s<a;){const l=i[s];let d=n;if(s!==o){const c=r[l];d=ot(c)||Array.isArray(c)?c:isNaN(+i[s+1])?{}:[]}if(l==="__proto__"||l==="constructor"||l==="prototype")return;r[l]=d,r=r[l]}};const Yl={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},kr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Hr={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Yf=B.createContext(null);Yf.displayName="HookFormContext";var Jf=(r,e,n,s=!0)=>{const i={defaultValues:e._defaultValues};for(const a in r)Object.defineProperty(i,a,{get:()=>{const o=a;return e._proxyFormState[o]!==kr.all&&(e._proxyFormState[o]=!s||kr.all),r[o]}});return i};const Xf=typeof window<"u"?B.useLayoutEffect:B.useEffect;var Pr=r=>typeof r=="string",Zf=(r,e,n,s,i)=>Pr(r)?(s&&e.watch.add(r),Y(n,r,i)):Array.isArray(r)?r.map(a=>(s&&e.watch.add(a),Y(n,a))):(s&&(e.watchAll=!0),n),No=r=>Pt(r)||!Wd(r);function jn(r,e,n=new WeakSet){if(No(r)||No(e))return r===e;if(Zn(r)&&Zn(e))return r.getTime()===e.getTime();const s=Object.keys(r),i=Object.keys(e);if(s.length!==i.length)return!1;if(n.has(r)||n.has(e))return!0;n.add(r),n.add(e);for(const a of s){const o=r[a];if(!i.includes(a))return!1;if(a!=="ref"){const l=e[a];if(Zn(o)&&Zn(l)||ot(o)&&ot(l)||Array.isArray(o)&&Array.isArray(l)?!jn(o,l,n):o!==l)return!1}}return!0}var Ud=(r,e,n,s,i)=>e?{...n[r],types:{...n[r]&&n[r].types?n[r].types:{},[s]:i||!0}}:{},di=r=>Array.isArray(r)?r:[r],Jl=()=>{let r=[];return{get observers(){return r},next:i=>{for(const a of r)a.next&&a.next(i)},subscribe:i=>(r.push(i),{unsubscribe:()=>{r=r.filter(a=>a!==i)}}),unsubscribe:()=>{r=[]}}},Wt=r=>ot(r)&&!Object.keys(r).length,Qo=r=>r.type==="file",Tr=r=>typeof r=="function",ka=r=>{if(!Jo)return!1;const e=r?r.ownerDocument:0;return r instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},Hd=r=>r.type==="select-multiple",el=r=>r.type==="radio",Qf=r=>el(r)||Ri(r),no=r=>ka(r)&&r.isConnected;function e0(r,e){const n=e.slice(0,-1).length;let s=0;for(;s<n;)r=ht(r)?s++:r[e[s++]];return r}function t0(r){for(const e in r)if(r.hasOwnProperty(e)&&!ht(r[e]))return!1;return!0}function lt(r,e){const n=Array.isArray(e)?e:La(e)?[e]:Zo(e),s=n.length===1?r:e0(r,n),i=n.length-1,a=n[i];return s&&delete s[a],i!==0&&(ot(s)&&Wt(s)||Array.isArray(s)&&t0(s))&<(r,n.slice(0,-1)),r}var Vd=r=>{for(const e in r)if(Tr(r[e]))return!0;return!1};function Ta(r,e={}){const n=Array.isArray(r);if(ot(r)||n)for(const s in r)Array.isArray(r[s])||ot(r[s])&&!Vd(r[s])?(e[s]=Array.isArray(r[s])?[]:{},Ta(r[s],e[s])):Pt(r[s])||(e[s]=!0);return e}function Gd(r,e,n){const s=Array.isArray(r);if(ot(r)||s)for(const i in r)Array.isArray(r[i])||ot(r[i])&&!Vd(r[i])?ht(e)||No(n[i])?n[i]=Array.isArray(r[i])?Ta(r[i],[]):{...Ta(r[i])}:Gd(r[i],Pt(e)?{}:e[i],n[i]):n[i]=!jn(r[i],e[i]);return n}var qs=(r,e)=>Gd(r,e,Ta(e));const Xl={value:!1,isValid:!1},Zl={value:!0,isValid:!0};var qd=r=>{if(Array.isArray(r)){if(r.length>1){const e=r.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:e,isValid:!!e.length}}return r[0].checked&&!r[0].disabled?r[0].attributes&&!ht(r[0].attributes.value)?ht(r[0].value)||r[0].value===""?Zl:{value:r[0].value,isValid:!0}:Zl:Xl}return Xl},Kd=(r,{valueAsNumber:e,valueAsDate:n,setValueAs:s})=>ht(r)?r:e?r===""?NaN:r&&+r:n&&Pr(r)?new Date(r):s?s(r):r;const Ql={isValid:!1,value:null};var Yd=r=>Array.isArray(r)?r.reduce((e,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:e,Ql):Ql;function ec(r){const e=r.ref;return Qo(e)?e.files:el(e)?Yd(r.refs).value:Hd(e)?[...e.selectedOptions].map(({value:n})=>n):Ri(e)?qd(r.refs).value:Kd(ht(e.value)?r.ref.value:e.value,r)}var r0=(r,e,n,s)=>{const i={};for(const a of r){const o=Y(e,a);o&&$e(i,a,o._f)}return{criteriaMode:n,names:[...r],fields:i,shouldUseNativeValidation:s}},Ea=r=>r instanceof RegExp,Ks=r=>ht(r)?r:Ea(r)?r.source:ot(r)?Ea(r.value)?r.value.source:r.value:r,tc=r=>({isOnSubmit:!r||r===kr.onSubmit,isOnBlur:r===kr.onBlur,isOnChange:r===kr.onChange,isOnAll:r===kr.all,isOnTouch:r===kr.onTouched});const rc="AsyncFunction";var n0=r=>!!r&&!!r.validate&&!!(Tr(r.validate)&&r.validate.constructor.name===rc||ot(r.validate)&&Object.values(r.validate).find(e=>e.constructor.name===rc)),s0=r=>r.mount&&(r.required||r.min||r.max||r.maxLength||r.minLength||r.pattern||r.validate),nc=(r,e,n)=>!n&&(e.watchAll||e.watch.has(r)||[...e.watch].some(s=>r.startsWith(s)&&/^\.\w+/.test(r.slice(s.length))));const ui=(r,e,n,s)=>{for(const i of n||Object.keys(r)){const a=Y(r,i);if(a){const{_f:o,...l}=a;if(o){if(o.refs&&o.refs[0]&&e(o.refs[0],i)&&!s)return!0;if(o.ref&&e(o.ref,o.name)&&!s)return!0;if(ui(l,e))break}else if(ot(l)&&ui(l,e))break}}};function sc(r,e,n){const s=Y(r,n);if(s||La(n))return{error:s,name:n};const i=n.split(".");for(;i.length;){const a=i.join("."),o=Y(e,a),l=Y(r,a);if(o&&!Array.isArray(o)&&n!==a)return{name:n};if(l&&l.type)return{name:a,error:l};if(l&&l.root&&l.root.type)return{name:`${a}.root`,error:l.root};i.pop()}return{name:n}}var i0=(r,e,n,s)=>{n(r);const{name:i,...a}=r;return Wt(a)||Object.keys(a).length>=Object.keys(e).length||Object.keys(a).find(o=>e[o]===(!s||kr.all))},a0=(r,e,n)=>!r||!e||r===e||di(r).some(s=>s&&(n?s===e:s.startsWith(e)||e.startsWith(s))),o0=(r,e,n,s,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(e||r):(n?s.isOnBlur:i.isOnBlur)?!r:(n?s.isOnChange:i.isOnChange)?r:!0,l0=(r,e)=>!Xo(Y(r,e)).length&<(r,e),c0=(r,e,n)=>{const s=di(Y(r,n));return $e(s,"root",e[n]),$e(r,n,s),r},ua=r=>Pr(r);function ic(r,e,n="validate"){if(ua(r)||Array.isArray(r)&&r.every(ua)||_r(r)&&!r)return{type:n,message:ua(r)?r:"",ref:e}}var bs=r=>ot(r)&&!Ea(r)?r:{value:r,message:""},ac=async(r,e,n,s,i,a)=>{const{ref:o,refs:l,required:d,maxLength:c,minLength:u,min:h,max:p,pattern:m,validate:f,name:g,valueAsNumber:v,mount:j}=r._f,x=Y(n,g);if(!j||e.has(g))return{};const w=l?l[0]:o,I=A=>{i&&w.reportValidity&&(w.setCustomValidity(_r(A)?"":A||""),w.reportValidity())},R={},L=el(o),P=Ri(o),pe=L||P,J=(v||Qo(o))&&ht(o.value)&&ht(x)||ka(o)&&o.value===""||x===""||Array.isArray(x)&&!x.length,he=Ud.bind(null,g,s,R),_=(A,E,F,xe=Hr.maxLength,ve=Hr.minLength)=>{const N=A?E:F;R[g]={type:A?xe:ve,message:N,ref:o,...he(A?xe:ve,N)}};if(a?!Array.isArray(x)||!x.length:d&&(!pe&&(J||Pt(x))||_r(x)&&!x||P&&!qd(l).isValid||L&&!Yd(l).isValid)){const{value:A,message:E}=ua(d)?{value:!!d,message:d}:bs(d);if(A&&(R[g]={type:Hr.required,message:E,ref:w,...he(Hr.required,E)},!s))return I(E),R}if(!J&&(!Pt(h)||!Pt(p))){let A,E;const F=bs(p),xe=bs(h);if(!Pt(x)&&!isNaN(x)){const ve=o.valueAsNumber||x&&+x;Pt(F.value)||(A=ve>F.value),Pt(xe.value)||(E=ve<xe.value)}else{const ve=o.valueAsDate||new Date(x),N=S=>new Date(new Date().toDateString()+" "+S),q=o.type=="time",te=o.type=="week";Pr(F.value)&&x&&(A=q?N(x)>N(F.value):te?x>F.value:ve>new Date(F.value)),Pr(xe.value)&&x&&(E=q?N(x)<N(xe.value):te?x<xe.value:ve<new Date(xe.value))}if((A||E)&&(_(!!A,F.message,xe.message,Hr.max,Hr.min),!s))return I(R[g].message),R}if((c||u)&&!J&&(Pr(x)||a&&Array.isArray(x))){const A=bs(c),E=bs(u),F=!Pt(A.value)&&x.length>+A.value,xe=!Pt(E.value)&&x.length<+E.value;if((F||xe)&&(_(F,A.message,E.message),!s))return I(R[g].message),R}if(m&&!J&&Pr(x)){const{value:A,message:E}=bs(m);if(Ea(A)&&!x.match(A)&&(R[g]={type:Hr.pattern,message:E,ref:o,...he(Hr.pattern,E)},!s))return I(E),R}if(f){if(Tr(f)){const A=await f(x,n),E=ic(A,w);if(E&&(R[g]={...E,...he(Hr.validate,E.message)},!s))return I(E.message),R}else if(ot(f)){let A={};for(const E in f){if(!Wt(A)&&!s)break;const F=ic(await f[E](x,n),w,E);F&&(A={...F,...he(E,F.message)},I(F.message),s&&(R[g]=A))}if(!Wt(A)&&(R[g]={ref:w,...A},!s))return R}}return I(!0),R};const d0={mode:kr.onSubmit,reValidateMode:kr.onChange,shouldFocusError:!0};function u0(r={}){let e={...d0,...r},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:Tr(e.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1},s={},i=ot(e.defaultValues)||ot(e.values)?bt(e.defaultValues||e.values)||{}:{},a=e.shouldUnregister?{}:bt(i),o={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},d,c=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let h={...u};const p={array:Jl(),state:Jl()},m=e.criteriaMode===kr.all,f=b=>k=>{clearTimeout(c),c=setTimeout(b,k)},g=async b=>{if(!e.disabled&&(u.isValid||h.isValid||b)){const k=e.resolver?Wt((await P()).errors):await J(s,!0);k!==n.isValid&&p.state.next({isValid:k})}},v=(b,k)=>{!e.disabled&&(u.isValidating||u.validatingFields||h.isValidating||h.validatingFields)&&((b||Array.from(l.mount)).forEac
vendor: 12,013 bytes, line 347
347h(T=>{T&&(k?$e(n.validatingFields,T,k):lt(n.validatingFields,T))}),p.state.next({validatingFields:n.validatingFields,isValidating:!Wt(n.validatingFields)}))},j=(b,k=[],T,U,M=!0,z=!0)=>{if(U&&T&&!e.disabled){if(o.action=!0,z&&Array.isArray(Y(s,b))){const G=T(Y(s,b),U.argA,U.argB);M&&$e(s,b,G)}if(z&&Array.isArray(Y(n.errors,b))){const G=T(Y(n.errors,b),U.argA,U.argB);M&&$e(n.errors,b,G),l0(n.errors,b)}if((u.touchedFields||h.touchedFields)&&z&&Array.isArray(Y(n.touchedFields,b))){const G=T(Y(n.touchedFields,b),U.argA,U.argB);M&&$e(n.touchedFields,b,G)}(u.dirtyFields||h.dirtyFields)&&(n.dirtyFields=qs(i,a)),p.state.next({name:b,isDirty:_(b,k),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else $e(a,b,k)},x=(b,k)=>{$e(n.errors,b,k),p.state.next({errors:n.errors})},w=b=>{n.errors=b,p.state.next({errors:n.errors,isValid:!1})},I=(b,k,T,U)=>{const M=Y(s,b);if(M){const z=Y(a,b,ht(T)?Y(i,b):T);ht(z)||U&&U.defaultChecked||k?$e(a,b,k?z:ec(M._f)):F(b,z),o.mount&&g()}},R=(b,k,T,U,M)=>{let z=!1,G=!1;const we={name:b};if(!e.disabled){if(!T||U){(u.isDirty||h.isDirty)&&(G=n.isDirty,n.isDirty=we.isDirty=_(),z=G!==we.isDirty);const Ae=jn(Y(i,b),k);G=!!Y(n.dirtyFields,b),Ae?lt(n.dirtyFields,b):$e(n.dirtyFields,b,!0),we.dirtyFields=n.dirtyFields,z=z||(u.dirtyFields||h.dirtyFields)&&G!==!Ae}if(T){const Ae=Y(n.touchedFields,b);Ae||($e(n.touchedFields,b,T),we.touchedFields=n.touchedFields,z=z||(u.touchedFields||h.touchedFields)&&Ae!==T)}z&&M&&p.state.next(we)}return z?we:{}},L=(b,k,T,U)=>{const M=Y(n.errors,b),z=(u.isValid||h.isValid)&&_r(k)&&n.isValid!==k;if(e.delayError&&T?(d=f(()=>x(b,T)),d(e.delayError)):(clearTimeout(c),d=null,T?$e(n.errors,b,T):lt(n.errors,b)),(T?!jn(M,T):M)||!Wt(U)||z){const G={...U,...z&&_r(k)?{isValid:k}:{},errors:n.errors,name:b};n={...n,...G},p.state.next(G)}},P=async b=>{v(b,!0);const k=await e.resolver(a,e.context,r0(b||l.mount,s,e.criteriaMode,e.shouldUseNativeValidation));return v(b),k},pe=async b=>{const{errors:k}=await P(b);if(b)for(const T of b){const U=Y(k,T);U?$e(n.errors,T,U):lt(n.errors,T)}else n.errors=k;return k},J=async(b,k,T={valid:!0})=>{for(const U in b){const M=b[U];if(M){const{_f:z,...G}=M;if(z){const we=l.array.has(z.name),Ae=M._f&&n0(M._f);Ae&&u.validatingFields&&v([U],!0);const Lt=await ac(M,l.disabled,a,m,e.shouldUseNativeValidation&&!k,we);if(Ae&&u.validatingFields&&v([U]),Lt[z.name]&&(T.valid=!1,k))break;!k&&(Y(Lt,z.name)?we?c0(n.errors,Lt,z.name):$e(n.errors,z.name,Lt[z.name]):lt(n.errors,z.name))}!Wt(G)&&await J(G,k,T)}}return T.valid},he=()=>{for(const b of l.unMount){const k=Y(s,b);k&&(k._f.refs?k._f.refs.every(T=>!no(T)):!no(k._f.ref))&&_e(b)}l.unMount=new Set},_=(b,k)=>!e.disabled&&(b&&k&&$e(a,b,k),!jn(S(),i)),A=(b,k,T)=>Zf(b,l,{...o.mount?a:ht(k)?i:Pr(b)?{[b]:k}:k},T,k),E=b=>Xo(Y(o.mount?a:i,b,e.shouldUnregister?Y(i,b,[]):[])),F=(b,k,T={})=>{const U=Y(s,b);let M=k;if(U){const z=U._f;z&&(!z.disabled&&$e(a,b,Kd(k,z)),M=ka(z.ref)&&Pt(k)?"":k,Hd(z.ref)?[...z.ref.options].forEach(G=>G.selected=M.includes(G.value)):z.refs?Ri(z.ref)?z.refs.forEach(G=>{(!G.defaultChecked||!G.disabled)&&(Array.isArray(M)?G.checked=!!M.find(we=>we===G.value):G.checked=M===G.value||!!M)}):z.refs.forEach(G=>G.checked=G.value===M):Qo(z.ref)?z.ref.value="":(z.ref.value=M,z.ref.type||p.state.next({name:b,values:bt(a)})))}(T.shouldDirty||T.shouldTouch)&&R(b,M,T.shouldTouch,T.shouldDirty,!0),T.shouldValidate&&te(b)},xe=(b,k,T)=>{for(const U in k){if(!k.hasOwnProperty(U))return;const M=k[U],z=b+"."+U,G=Y(s,z);(l.array.has(b)||ot(M)||G&&!G._f)&&!Zn(M)?xe(z,M,T):F(z,M,T)}},ve=(b,k,T={})=>{const U=Y(s,b),M=l.array.has(b),z=bt(k);$e(a,b,z),M?(p.array.next({name:b,values:bt(a)}),(u.isDirty||u.dirtyFields||h.isDirty||h.dirtyFields)&&T.shouldDirty&&p.state.next({name:b,dirtyFields:qs(i,a),isDirty:_(b,z)})):U&&!U._f&&!Pt(z)?xe(b,z,T):F(b,z,T),nc(b,l)&&p.state.next({...n,name:b}),p.state.next({name:o.mount?b:void 0,values:bt(a)})},N=async b=>{o.mount=!0;const k=b.target;let T=k.name,U=!0;const M=Y(s,T),z=Ae=>{U=Number.isNaN(Ae)||Zn(Ae)&&isNaN(Ae.getTime())||jn(Ae,Y(a,T,Ae))},G=tc(e.mode),we=tc(e.reValidateMode);if(M){let Ae,Lt;const zr=k.type?ec(M._f):Vf(b),Er=b.type===Yl.BLUR||b.type===Yl.FOCUS_OUT,zi=!s0(M._f)&&!e.resolver&&!Y(n.errors,T)&&!M._f.deps||o0(Er,Y(n.touchedFields,T),n.isSubmitted,we,G),Bn=nc(T,l,Er);$e(a,T,zr),Er?(M._f.onBlur&&M._f.onBlur(b),d&&d(0)):M._f.onChange&&M._f.onChange(b);const Cr=R(T,zr,Er),Di=!Wt(Cr)||Bn;if(!Er&&p.state.next({name:T,type:b.type,values:bt(a)}),zi)return(u.isValid||h.isValid)&&(e.mode==="onBlur"?Er&&g():Er||g()),Di&&p.state.next({name:T,...Bn?{}:Cr});if(!Er&&Bn&&p.state.next({...n}),e.resolver){const{errors:Dr}=await P([T]);if(z(zr),U){const Da=sc(n.errors,s,T),Mi=sc(Dr,s,Da.name||T);Ae=Mi.error,T=Mi.name,Lt=Wt(Dr)}}else v([T],!0),Ae=(await ac(M,l.disabled,a,m,e.shouldUseNativeValidation))[T],v([T]),z(zr),U&&(Ae?Lt=!1:(u.isValid||h.isValid)&&(Lt=await J(s,!0)));U&&(M._f.deps&&te(M._f.deps),L(T,Lt,Ae,Cr))}},q=(b,k)=>{if(Y(n.errors,k)&&b.focus)return b.focus(),1},te=async(b,k={})=>{let T,U;const M=di(b);if(e.resolver){const z=await pe(ht(b)?b:M);T=Wt(z),U=b?!M.some(G=>Y(z,G)):T}else b?(U=(await Promise.all(M.map(async z=>{const G=Y(s,z);return await J(G&&G._f?{[z]:G}:G)}))).every(Boolean),!(!U&&!n.isValid)&&g()):U=T=await J(s);return p.state.next({...!Pr(b)||(u.isValid||h.isValid)&&T!==n.isValid?{}:{name:b},...e.resolver||!b?{isValid:T}:{},errors:n.errors}),k.shouldFocus&&!U&&ui(s,q,b?M:l.mount),U},S=b=>{const k={...o.mount?a:i};return ht(b)?k:Pr(b)?Y(k,b):b.map(T=>Y(k,T))},H=(b,k)=>({invalid:!!Y((k||n).errors,b),isDirty:!!Y((k||n).dirtyFields,b),error:Y((k||n).errors,b),isValidating:!!Y(n.validatingFields,b),isTouched:!!Y((k||n).touchedFields,b)}),ae=b=>{b&&di(b).forEach(k=>lt(n.errors,k)),p.state.next({errors:b?n.errors:{}})},ce=(b,k,T)=>{const U=(Y(s,b,{_f:{}})._f||{}).ref,M=Y(n.errors,b)||{},{ref:z,message:G,type:we,...Ae}=M;$e(n.errors,b,{...Ae,...k,ref:U}),p.state.next({name:b,errors:n.errors,isValid:!1}),T&&T.shouldFocus&&U&&U.focus&&U.focus()},je=(b,k)=>Tr(b)?p.state.subscribe({next:T=>"values"in T&&b(A(void 0,k),T)}):A(b,k,!0),nt=b=>p.state.subscribe({next:k=>{a0(b.name,k.name,b.exact)&&i0(k,b.formState||u,za,b.reRenderRoot)&&b.callback({values:{...a},...n,...k,defaultValues:i})}}).unsubscribe,cr=b=>(o.mount=!0,h={...h,...b.formState},nt({...b,formState:h})),_e=(b,k={})=>{for(const T of b?di(b):l.mount)l.mount.delete(T),l.array.delete(T),k.keepValue||(lt(s,T),lt(a,T)),!k.keepError&<(n.errors,T),!k.keepDirty&<(n.dirtyFields,T),!k.keepTouched&<(n.touchedFields,T),!k.keepIsValidating&<(n.validatingFields,T),!e.shouldUnregister&&!k.keepDefaultValue&<(i,T);p.state.next({values:bt(a)}),p.state.next({...n,...k.keepDirty?{isDirty:_()}:{}}),!k.keepIsValid&&g()},an=({disabled:b,name:k})=>{(_r(b)&&o.mount||b||l.disabled.has(k))&&(b?l.disabled.add(k):l.disabled.delete(k))},Lr=(b,k={})=>{let T=Y(s,b);const U=_r(k.disabled)||_r(e.disabled);return $e(s,b,{...T||{},_f:{...T&&T._f?T._f:{ref:{name:b}},name:b,mount:!0,...k}}),l.mount.add(b),T?an({disabled:_r(k.disabled)?k.disabled:e.disabled,name:b}):I(b,!0,k.value),{...U?{disabled:k.disabled||e.disabled}:{},...e.progressive?{required:!!k.required,min:Ks(k.min),max:Ks(k.max),minLength:Ks(k.minLength),maxLength:Ks(k.maxLength),pattern:Ks(k.pattern)}:{},name:b,onChange:N,onBlur:N,ref:M=>{if(M){Lr(b,k),T=Y(s,b);const z=ht(M.value)&&M.querySelectorAll&&M.querySelectorAll("input,select,textarea")[0]||M,G=Qf(z),we=T._f.refs||[];if(G?we.find(Ae=>Ae===z):z===T._f.ref)return;$e(s,b,{_f:{...T._f,...G?{refs:[...we.filter(no),z,...Array.isArray(Y(i,b))?[{}]:[]],ref:{type:z.type,name:b}}:{ref:z}}}),I(b,!1,void 0,z)}else T=Y(s,b,{}),T._f&&(T._f.mount=!1),(e.shouldUnregister||k.shouldUnregister)&&!(qf(l.array,b)&&o.action)&&l.unMount.add(b)}}},on=()=>e.shouldFocusError&&ui(s,q,l.mount),Pn=b=>{_r(b)&&(p.state.next({disabled:b}),ui(s,(k,T)=>{const U=Y(s,T);U&&(k.disabled=U._f.disabled||b,Array.isArray(U._f.refs)&&U._f.refs.forEach(M=>{M.disabled=U._f.disabled||b}))},0,!1))},ds=(b,k)=>async T=>{let U;T&&(T.preventDefault&&T.preventDefault(),T.persist&&T.persist());let M=bt(a);if(p.state.next({isSubmitting:!0}),e.resolver){const{errors:z,values:G}=await P();n.errors=z,M=bt(G)}else await J(s);if(l.disabled.size)for(const z of l.disabled)lt(M,z);if(lt(n.errors,"root"),Wt(n.errors)){p.state.next({errors:{}});try{await b(M,T)}catch(z){U=z}}else k&&await k({...n.errors},T),on(),setTimeout(on);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Wt(n.errors)&&!U,submitCount:n.submitCount+1,errors:n.errors}),U)throw U},Oi=(b,k={})=>{Y(s,b)&&(ht(k.defaultValue)?ve(b,bt(Y(i,b))):(ve(b,k.defaultValue),$e(i,b,bt(k.defaultValue))),k.keepTouched||lt(n.touchedFields,b),k.keepDirty||(lt(n.dirtyFields,b),n.isDirty=k.defaultValue?_(b,bt(Y(i,b))):_()),k.keepError||(lt(n.errors,b),u.isValid&&g()),p.state.next({...n}))},Fi=(b,k={})=>{const T=b?bt(b):i,U=bt(T),M=Wt(b),z=M?i:U;if(k.keepDefaultValues||(i=T),!k.keepValues){if(k.keepDirtyValues){const G=new Set([...l.mount,...Object.keys(qs(i,a))]);for(const we of Array.from(G))Y(n.dirtyFields,we)?$e(z,we,Y(a,we)):ve(we,Y(z,we))}else{if(Jo&&ht(b))for(const G of l.mount){const we=Y(s,G);if(we&&we._f){const Ae=Array.isArray(we._f.refs)?we._f.refs[0]:we._f.ref;if(ka(Ae)){const Lt=Ae.closest("form");if(Lt){Lt.reset();break}}}}if(k.keepFieldsRef)for(const G of l.mount)ve(G,Y(z,G));else s={}}a=e.shouldUnregister?k.keepDefaultValues?bt(i):{}:bt(z),p.array.next({values:{...z}}),p.state.next({values:{...z}})}l={mount:k.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!u.isValid||!!k.keepIsValid||!!k.keepDirtyValues,o.watch=!!e.shouldUnregister,p.state.next({submitCount:k.keepSubmitCount?n.submitCount:0,isDirty:M?!1:k.keepDirty?n.isDirty:!!(k.keepDefaultValues&&!jn(b,i)),isSubmitted:k.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:M?{}:k.keepDirtyValues?k.keepDefaultValues&&a?qs(i,a):n.dirtyFields:k.keepDefaultValues&&b?qs(i,b):k.keepDirty?n.dirtyFields:{},touchedFields:k.keepTouched?n.touchedFields:{},errors:k.keepErrors?n.errors:{},isSubmitSuccessful:k.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Pi=(b,k)=>Fi(Tr(b)?b(a):b,k),Bi=(b,k={})=>{const T=Y(s,b),U=T&&T._f;if(U){const M=U.refs?U.refs[0]:U.ref;M.focus&&(M.focus(),k.shouldSelect&&Tr(M.select)&&M.select())}},za=b=>{n={...n,...b}},Li={control:{register:Lr,unregister:_e,getFieldState:H,handleSubmit:ds,setError:ce,_subscribe:nt,_runSchema:P,_focusError:on,_getWatch:A,_getDirty:_,_setValid:g,_setFieldArray:j,_setDisabledField:an,_setErrors:w,_getFieldArray:E,_reset:Fi,_resetDefaultValues:()=>Tr(e.defaultValues)&&e.defaultValues().then(b=>{Pi(b,e.resetOptions),p.state.next({isLoading:!1})}),_removeUnmounted:he,_disableForm:Pn,_subjects:p,_proxyFormState:u,get _fields(){return s},get _formValues(){return a},get _state(){return o},set _state(b){o=b},get _defaultValues(){return i},get _names(){return l},set _names(b){l=b},get _formState(){return n},get _options(){return e},set _options(b){e={...e,...b}}},subscribe:cr,trigger:te,register:Lr,handleSubmit:ds,watch:je,setValue:ve,getValues:S,reset:Pi,resetField:Oi,clearErrors:ae,unregister:_e,setError:ce,setFocus:Bi,getFieldState:H};return{...Li,formControl:Li}}function Jd(r={}){const e=B.useRef(void 0),n=B.useRef(void 0),[s,i]=B.useState({isDirty:!1,isValidating:!1,isLoading:Tr(r.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1,isReady:!1,defaultValues:Tr(r.defaultValues)?void 0:r.defaultValues});if(!e.current)if(r.formControl)e.current={...r.formControl,formState:s},r.defaultValues&&!Tr(r.defaultValues)&&r.formControl.reset(r.defaultValues,r.resetOptions);else{const{formControl:o,...l}=u0(r);e.current={...l,formState:s}}const a=e.current.control;return a._options=r,Xf(()=>{const o=a._subscribe({formState:a._proxyFormState,callback:()=>i({...a._formState}
vendor: 4,273 bytes, line 347
347),reRenderRoot:!0});return i(l=>({...l,isReady:!0})),a._formState.isReady=!0,o},[a]),B.useEffect(()=>a._disableForm(r.disabled),[a,r.disabled]),B.useEffect(()=>{r.mode&&(a._options.mode=r.mode),r.reValidateMode&&(a._options.reValidateMode=r.reValidateMode)},[a,r.mode,r.reValidateMode]),B.useEffect(()=>{r.errors&&(a._setErrors(r.errors),a._focusError())},[a,r.errors]),B.useEffect(()=>{r.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,r.shouldUnregister]),B.useEffect(()=>{if(a._proxyFormState.isDirty){const o=a._getDirty();o!==s.isDirty&&a._subjects.state.next({isDirty:o})}},[a,s.isDirty]),B.useEffect(()=>{r.values&&!jn(r.values,n.current)?(a._reset(r.values,{keepFieldsRef:!0,...a._options.resetOptions}),n.current=r.values,i(o=>({...o}))):a._resetDefaultValues()},[a,r.values]),B.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),e.current.formState=Jf(s,a),e.current}const oc=(r,e,n)=>{if(r&&"reportValidity"in r){const s=Y(n,e);r.setCustomValidity(s&&s.message||""),r.reportValidity()}},Xd=(r,e)=>{for(const n in e.fields){const s=e.fields[n];s&&s.ref&&"reportValidity"in s.ref?oc(s.ref,n,r):s.refs&&s.refs.forEach(i=>oc(i,n,r))}},h0=(r,e)=>{e.shouldUseNativeValidation&&Xd(r,e);const n={};for(const s in r){const i=Y(e.fields,s),a=Object.assign(r[s]||{},{ref:i&&i.ref});if(m0(e.names||Object.keys(r),s)){const o=Object.assign({},Y(n,s));$e(o,"root",a),$e(n,s,o)}else $e(n,s,a)}return n},m0=(r,e)=>r.some(n=>n.startsWith(e+"."));var p0=function(r,e){for(var n={};r.length;){var s=r[0],i=s.code,a=s.message,o=s.path.join(".");if(!n[o])if("unionErrors"in s){var l=s.unionErrors[0].errors[0];n[o]={message:l.message,type:l.code}}else n[o]={message:a,type:i};if("unionErrors"in s&&s.unionErrors.forEach(function(u){return u.errors.forEach(function(h){return r.push(h)})}),e){var d=n[o].types,c=d&&d[s.code];n[o]=Ud(o,e,n,i,c?[].concat(c,s.message):s.message)}r.shift()}return n},Zd=function(r,e,n){return n===void 0&&(n={}),function(s,i,a){try{return Promise.resolve(function(o,l){try{var d=Promise.resolve(r[n.mode==="sync"?"parse":"parseAsync"](s,e)).then(function(c){return a.shouldUseNativeValidation&&Xd({},a),{errors:{},values:n.raw?s:c}})}catch(c){return l(c)}return d&&d.then?d.then(void 0,l):d}(0,function(o){if(function(l){return Array.isArray(l?.errors)}(o))return{values:{},errors:h0(p0(o.errors,!a.shouldUseNativeValidation&&a.criteriaMode==="all"),a)};throw o}))}catch(o){return Promise.reject(o)}}},Ce;(function(r){r.assertEqual=i=>{};function e(i){}r.assertIs=e;function n(i){throw new Error}r.assertNever=n,r.arrayToEnum=i=>{const a={};for(const o of i)a[o]=o;return a},r.getValidEnumValues=i=>{const a=r.objectKeys(i).filter(l=>typeof i[i[l]]!="number"),o={};for(const l of a)o[l]=i[l];return r.objectValues(o)},r.objectValues=i=>r.objectKeys(i).map(function(a){return i[a]}),r.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&a.push(o);return a},r.find=(i,a)=>{for(const o of i)if(a(o))return o},r.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function s(i,a=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}r.joinValues=s,r.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Ce||(Ce={}));var lc;(function(r){r.mergeShapes=(e,n)=>({...e,...n})})(lc||(lc={}));const X=Ce.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),wn=r=>{switch(typeof r){case"undefined":return X.undefined;case"string":return X.string;case"number":return Number.isNaN(r)?X.nan:X.number;case"boolean":return X.boolean;case"function":return X.function;case"bigint":return X.bigint;case"symbol":return X.symbol;case"object":return Array.isArray(r)?X.array:r===null?X.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?X.promise:typeof Map<"u"&&r instanceof Map?X.map:typeof Set<"u"&&r instanceof Set?X.set:typeof Date<"u"&&r instanceof Date?X.date:X.object;default:return X.unknown}}
vendor: 16,336 bytes, line 347
347,$=Ce.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class rn extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(a){return a.message},s={_errors:[]},i=a=>{for(const o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)s._errors.push(n(o));else{let l=s,d=0;for(;d<o.path.length;){const c=o.path[d];d===o.path.length-1?(l[c]=l[c]||{_errors:[]},l[c]._errors.push(n(o))):l[c]=l[c]||{_errors:[]},l=l[c],d++}}};return i(this),s}static assert(e){if(!(e instanceof rn))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ce.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},s=[];for(const i of this.issues)if(i.path.length>0){const a=i.path[0];n[a]=n[a]||[],n[a].push(e(i))}else s.push(e(i));return{formErrors:s,fieldErrors:n}}get formErrors(){return this.flatten()}}rn.create=r=>new rn(r);const Ro=(r,e)=>{let n;switch(r.code){case $.invalid_type:r.received===X.undefined?n="Required":n=`Expected ${r.expected}, received ${r.received}`;break;case $.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(r.expected,Ce.jsonStringifyReplacer)}`;break;case $.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ce.joinValues(r.keys,", ")}`;break;case $.invalid_union:n="Invalid input";break;case $.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ce.joinValues(r.options)}`;break;case $.invalid_enum_value:n=`Invalid enum value. Expected ${Ce.joinValues(r.options)}, received '${r.received}'`;break;case $.invalid_arguments:n="Invalid function arguments";break;case $.invalid_return_type:n="Invalid function return type";break;case $.invalid_date:n="Invalid date";break;case $.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(n=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?n=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?n=`Invalid input: must end with "${r.validation.endsWith}"`:Ce.assertNever(r.validation):r.validation!=="regex"?n=`Invalid ${r.validation}`:n="Invalid";break;case $.too_small:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="bigint"?n=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:n="Invalid input";break;case $.too_big:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?n=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:n="Invalid input";break;case $.custom:n="Invalid input";break;case $.invalid_intersection_types:n="Intersection results could not be merged";break;case $.not_multiple_of:n=`Number must be a multiple of ${r.multipleOf}`;break;case $.not_finite:n="Number must be finite";break;default:n=e.defaultError,Ce.assertNever(r)}return{message:n}};let g0=Ro;function f0(){return g0}const y0=r=>{const{data:e,path:n,errorMaps:s,issueData:i}=r,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let l="";const d=s.filter(c=>!!c).slice().reverse();for(const c of d)l=c(o,{data:e,defaultError:l}).message;return{...i,path:a,message:l}};function V(r,e){const n=f0(),s=y0({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,n,n===Ro?void 0:Ro].filter(i=>!!i)});r.common.issues.push(s)}class rr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const s=[];for(const i of n){if(i.status==="aborted")return oe;i.status==="dirty"&&e.dirty(),s.push(i.value)}return{status:e.value,value:s}}static async mergeObjectAsync(e,n){const s=[];for(const i of n){const a=await i.key,o=await i.value;s.push({key:a,value:o})}return rr.mergeObjectSync(e,s)}static mergeObjectSync(e,n){const s={};for(const i of n){const{key:a,value:o}=i;if(a.status==="aborted"||o.status==="aborted")return oe;a.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(s[a.value]=o.value)}return{status:e.value,value:s}}}const oe=Object.freeze({status:"aborted"}),ii=r=>({status:"dirty",value:r}),lr=r=>({status:"valid",value:r}),cc=r=>r.status==="aborted",dc=r=>r.status==="dirty",$s=r=>r.status==="valid",Ca=r=>typeof Promise<"u"&&r instanceof Promise;var Z;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e?.message})(Z||(Z={}));class On{constructor(e,n,s,i){this._cachedPath=[],this.parent=e,this.data=n,this._path=s,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const uc=(r,e)=>{if($s(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new rn(r.common.issues);return this._error=n,this._error}}};function be(r){if(!r)return{};const{errorMap:e,invalid_type_error:n,required_error:s,description:i}=r;if(e&&(n||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(o,l)=>{const{message:d}=r;return o.code==="invalid_enum_value"?{message:d??l.defaultError}:typeof l.data>"u"?{message:d??s??l.defaultError}:o.code!=="invalid_type"?{message:l.defaultError}:{message:d??n??l.defaultError}},description:i}}class Se{get description(){return this._def.description}_getType(e){return wn(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:wn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new rr,ctx:{common:e.parent.common,data:e.data,parsedType:wn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(Ca(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const s=this.safeParse(e,n);if(s.success)return s.data;throw s.error}safeParse(e,n){const s={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:wn(e)},i=this._parseSync({data:e,path:s.path,parent:s});return uc(s,i)}"~validate"(e){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:wn(e)};if(!this["~standard"].async)try{const s=this._parseSync({data:e,path:[],parent:n});return $s(s)?{value:s.value}:{issues:n.common.issues}}catch(s){s?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(s=>$s(s)?{value:s.value}:{issues:n.common.issues})}async parseAsync(e,n){const s=await this.safeParseAsync(e,n);if(s.success)return s.data;throw s.error}async safeParseAsync(e,n){const s={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:wn(e)},i=this._parse({data:e,path:s.path,parent:s}),a=await(Ca(i)?i:Promise.resolve(i));return uc(s,a)}refine(e,n){const s=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,a)=>{const o=e(i),l=()=>a.addIssue({code:$.custom,...s(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(d=>d?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,n){return this._refinement((s,i)=>e(s)?!0:(i.addIssue(typeof n=="function"?n(s,i):n),!1))}_refinement(e){return new zs({schema:this,typeName:le.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Rn.create(this,this._def)}nullable(){return Ds.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return $r.create(this)}promise(){return Na.create(this,this._def)}or(e){return _a.create([this,e],this._def)}and(e){return Aa.create(this,e,this._def)}transform(e){return new zs({...be(this._def),schema:this,typeName:le.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new Bo({...be(this._def),innerType:this,defaultValue:n,typeName:le.ZodDefault})}brand(){return new D0({typeName:le.ZodBranded,type:this,...be(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new $o({...be(this._def),innerType:this,catchValue:n,typeName:le.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return tl.create(this,e)}readonly(){return Lo.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const b0=/^c[^\s-]{8,}$/i,x0=/^[0-9a-z]+$/,v0=/^[0-9A-HJKMNP-TV-Z]{26}$/i,w0=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,S0=/^[a-z0-9_-]{21}$/i,j0=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,k0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,T0=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,E0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let so;const C0=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,I0=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,_0=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,A0=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,N0=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,R0=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Qd="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",O0=new RegExp(`^${Qd}$`);function eu(r){let e="[0-5]\\d";r.precision?e=`${e}\\.\\d{${r.precision}}`:r.precision==null&&(e=`${e}(\\.\\d+)?`);const n=r.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function F0(r){return new RegExp(`^${eu(r)}$`)}function P0(r){let e=`${Qd}T${eu(r)}`;const n=[];return n.push(r.local?"Z?":"Z"),r.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function B0(r,e){return!!((e==="v4"||!e)&&C0.test(r)||(e==="v6"||!e)&&_0.test(r))}function $0(r,e){if(!j0.test(r))return!1;try{const[n]=r.split(".");if(!n)return!1;const s=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(s));return!(typeof i!="object"||i===null||"typ"in i&&i?.typ!=="JWT"||!i.alg||e&&i.alg!==e)}catch{return!1}}function L0(r,e){return!!((e==="v4"||!e)&&I0.test(r)||(e==="v6"||!e)&&A0.test(r))}class Nn extends Se{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==X.string){const a=this._getOrReturnCtx(e);return V(a,{code:$.invalid_type,expected:X.string,received:a.parsedType}),oe}const s=new rr;let i;for(const a of this._def.checks)if(a.kind==="min")e.data.length<a.value&&(i=this._getOrReturnCtx(e,i),V(i,{code:$.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),s.dirty());else if(a.kind==="max")e.data.length>a.value&&(i=this._getOrReturnCtx(e,i),V(i,{code:$.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),s.dirty());else if(a.kind==="length"){const o=e.data.length>a.value,l=e.data.length<a.value;(o||l)&&(i=this._getOrReturnCtx(e,i),o?V(i,{code:$.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):l&&V(i,{code:$.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),s.dirty())}else if(a.kind==="email")T0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"email",code:$.invali
vendor: 5,816 bytes, line 347
347d_string,message:a.message}),s.dirty());else if(a.kind==="emoji")so||(so=new RegExp(E0,"u")),so.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"emoji",code:$.invalid_string,message:a.message}),s.dirty());else if(a.kind==="uuid")w0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"uuid",code:$.invalid_string,message:a.message}),s.dirty());else if(a.kind==="nanoid")S0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"nanoid",code:$.invalid_string,message:a.message}),s.dirty());else if(a.kind==="cuid")b0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"cuid",code:$.invalid_string,message:a.message}),s.dirty());else if(a.kind==="cuid2")x0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"cuid2",code:$.invalid_string,message:a.message}),s.dirty());else if(a.kind==="ulid")v0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"ulid",code:$.invalid_string,message:a.message}),s.dirty());else if(a.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),V(i,{validation:"url",code:$.invalid_string,message:a.message}),s.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"regex",code:$.invalid_string,message:a.message}),s.dirty())):a.kind==="trim"?e.data=e.data.trim():a.kind==="includes"?e.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(e,i),V(i,{code:$.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),s.dirty()):a.kind==="toLowerCase"?e.data=e.data.toLowerCase():a.kind==="toUpperCase"?e.data=e.data.toUpperCase():a.kind==="startsWith"?e.data.startsWith(a.value)||(i=this._getOrReturnCtx(e,i),V(i,{code:$.invalid_string,validation:{startsWith:a.value},message:a.message}),s.dirty()):a.kind==="endsWith"?e.data.endsWith(a.value)||(i=this._getOrReturnCtx(e,i),V(i,{code:$.invalid_string,validation:{endsWith:a.value},message:a.message}),s.dirty()):a.kind==="datetime"?P0(a).test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{code:$.invalid_string,validation:"datetime",message:a.message}),s.dirty()):a.kind==="date"?O0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{code:$.invalid_string,validation:"date",message:a.message}),s.dirty()):a.kind==="time"?F0(a).test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{code:$.invalid_string,validation:"time",message:a.message}),s.dirty()):a.kind==="duration"?k0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"duration",code:$.invalid_string,message:a.message}),s.dirty()):a.kind==="ip"?B0(e.data,a.version)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"ip",code:$.invalid_string,message:a.message}),s.dirty()):a.kind==="jwt"?$0(e.data,a.alg)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"jwt",code:$.invalid_string,message:a.message}),s.dirty()):a.kind==="cidr"?L0(e.data,a.version)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"cidr",code:$.invalid_string,message:a.message}),s.dirty()):a.kind==="base64"?N0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"base64",code:$.invalid_string,message:a.message}),s.dirty()):a.kind==="base64url"?R0.test(e.data)||(i=this._getOrReturnCtx(e,i),V(i,{validation:"base64url",code:$.invalid_string,message:a.message}),s.dirty()):Ce.assertNever(a);return{status:s.value,value:e.data}}_regex(e,n,s){return this.refinement(i=>e.test(i),{validation:n,code:$.invalid_string,...Z.errToObj(s)})}_addCheck(e){return new Nn({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Z.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Z.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Z.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Z.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Z.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Z.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Z.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Z.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Z.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Z.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Z.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Z.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Z.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...Z.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...Z.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...Z.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...Z.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...Z.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...Z.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...Z.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...Z.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...Z.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...Z.errToObj(n)})}nonempty(e){return this.min(1,Z.errToObj(e))}trim(){return new Nn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Nn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Nn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}
vendor: 17,114 bytes, line 347
347get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Nn.create=r=>new Nn({checks:[],typeName:le.ZodString,coerce:r?.coerce??!1,...be(r)});function z0(r,e){const n=(r.toString().split(".")[1]||"").length,s=(e.toString().split(".")[1]||"").length,i=n>s?n:s,a=Number.parseInt(r.toFixed(i).replace(".","")),o=Number.parseInt(e.toFixed(i).replace(".",""));return a%o/10**i}class Ei extends Se{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==X.number){const a=this._getOrReturnCtx(e);return V(a,{code:$.invalid_type,expected:X.number,received:a.parsedType}),oe}let s;const i=new rr;for(const a of this._def.checks)a.kind==="int"?Ce.isInteger(e.data)||(s=this._getOrReturnCtx(e,s),V(s,{code:$.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:$.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:$.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?z0(e.data,a.value)!==0&&(s=this._getOrReturnCtx(e,s),V(s,{code:$.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(e.data)||(s=this._getOrReturnCtx(e,s),V(s,{code:$.not_finite,message:a.message}),i.dirty()):Ce.assertNever(a);return{status:i.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,Z.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Z.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Z.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Z.toString(n))}setLimit(e,n,s,i){return new Ei({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:s,message:Z.toString(i)}]})}_addCheck(e){return new Ei({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Z.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Z.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Z.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Z.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Z.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Z.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:Z.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Z.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Z.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Ce.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(n===null||s.value>n)&&(n=s.value):s.kind==="max"&&(e===null||s.value<e)&&(e=s.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Ei.create=r=>new Ei({checks:[],typeName:le.ZodNumber,coerce:r?.coerce||!1,...be(r)});class Ci extends Se{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==X.bigint)return this._getInvalidInput(e);let s;const i=new rr;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:$.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(s=this._getOrReturnCtx(e,s),V(s,{code:$.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?e.data%a.value!==BigInt(0)&&(s=this._getOrReturnCtx(e,s),V(s,{code:$.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):Ce.assertNever(a);return{status:i.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return V(n,{code:$.invalid_type,expected:X.bigint,received:n.parsedType}),oe}gte(e,n){return this.setLimit("min",e,!0,Z.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Z.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Z.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Z.toString(n))}setLimit(e,n,s,i){return new Ci({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:s,message:Z.toString(i)}]})}_addCheck(e){return new Ci({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Z.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Z.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Z.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Z.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Z.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ci.create=r=>new Ci({checks:[],typeName:le.ZodBigInt,coerce:r?.coerce??!1,...be(r)});class Oo extends Se{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==X.boolean){const s=this._getOrReturnCtx(e);return V(s,{code:$.invalid_type,expected:X.boolean,received:s.parsedType}),oe}return lr(e.data)}}Oo.create=r=>new Oo({typeName:le.ZodBoolean,coerce:r?.coerce||!1,...be(r)});class Ia extends Se{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==X.date){const a=this._getOrReturnCtx(e);return V(a,{code:$.invalid_type,expected:X.date,received:a.parsedType}),oe}if(Number.isNaN(e.data.getTime())){const a=this._getOrReturnCtx(e);return V(a,{code:$.invalid_date}),oe}const s=new rr;let i;for(const a of this._def.checks)a.kind==="min"?e.data.getTime()<a.value&&(i=this._getOrReturnCtx(e,i),V(i,{code:$.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),s.dirty()):a.kind==="max"?e.data.getTime()>a.value&&(i=this._getOrReturnCtx(e,i),V(i,{code:$.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),s.dirty()):Ce.assertNever(a);return{status:s.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Ia({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:Z.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:Z.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Ia.create=r=>new Ia({checks:[],coerce:r?.coerce||!1,typeName:le.ZodDate,...be(r)});class hc extends Se{_parse(e){if(this._getType(e)!==X.symbol){const s=this._getOrReturnCtx(e);return V(s,{code:$.invalid_type,expected:X.symbol,received:s.parsedType}),oe}return lr(e.data)}}hc.create=r=>new hc({typeName:le.ZodSymbol,...be(r)});class mc extends Se{_parse(e){if(this._getType(e)!==X.undefined){const s=this._getOrReturnCtx(e);return V(s,{code:$.invalid_type,expected:X.undefined,received:s.parsedType}),oe}return lr(e.data)}}mc.create=r=>new mc({typeName:le.ZodUndefined,...be(r)});class pc extends Se{_parse(e){if(this._getType(e)!==X.null){const s=this._getOrReturnCtx(e);return V(s,{code:$.invalid_type,expected:X.null,received:s.parsedType}),oe}return lr(e.data)}}pc.create=r=>new pc({typeName:le.ZodNull,...be(r)});class gc extends Se{constructor(){super(...arguments),this._any=!0}_parse(e){return lr(e.data)}}gc.create=r=>new gc({typeName:le.ZodAny,...be(r)});class fc extends Se{constructor(){super(...arguments),this._unknown=!0}_parse(e){return lr(e.data)}}fc.create=r=>new fc({typeName:le.ZodUnknown,...be(r)});class Fn extends Se{_parse(e){const n=this._getOrReturnCtx(e);return V(n,{code:$.invalid_type,expected:X.never,received:n.parsedType}),oe}}Fn.create=r=>new Fn({typeName:le.ZodNever,...be(r)});class yc extends Se{_parse(e){if(this._getType(e)!==X.undefined){const s=this._getOrReturnCtx(e);return V(s,{code:$.invalid_type,expected:X.void,received:s.parsedType}),oe}return lr(e.data)}}yc.create=r=>new yc({typeName:le.ZodVoid,...be(r)});class $r extends Se{_parse(e){const{ctx:n,status:s}=this._processInputParams(e),i=this._def;if(n.parsedType!==X.array)return V(n,{code:$.invalid_type,expected:X.array,received:n.parsedType}),oe;if(i.exactLength!==null){const o=n.data.length>i.exactLength.value,l=n.data.length<i.exactLength.value;(o||l)&&(V(n,{code:o?$.too_big:$.too_small,minimum:l?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),s.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(V(n,{code:$.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),s.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(V(n,{code:$.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),s.dirty()),n.common.async)return Promise.all([...n.data].map((o,l)=>i.type._parseAsync(new On(n,o,n.path,l)))).then(o=>rr.mergeArray(s,o));const a=[...n.data].map((o,l)=>i.type._parseSync(new On(n,o,n.path,l)));return rr.mergeArray(s,a)}get element(){return this._def.type}min(e,n){return new $r({...this._def,minLength:{value:e,message:Z.toString(n)}})}max(e,n){return new $r({...this._def,maxLength:{value:e,message:Z.toString(n)}})}length(e,n){return new $r({...this._def,exactLength:{value:e,message:Z.toString(n)}})}nonempty(e){return this.min(1,e)}}$r.create=(r,e)=>new $r({type:r,minLength:null,maxLength:null,exactLength:null,typeName:le.ZodArray,...be(e)});function ks(r){if(r instanceof tt){const e={};for(const n in r.shape){const s=r.shape[n];e[n]=Rn.create(ks(s))}return new tt({...r._def,shape:()=>e})}else return r instanceof $r?new $r({...r._def,type:ks(r.element)}):r instanceof Rn?Rn.create(ks(r.unwrap())):r instanceof Ds?Ds.create(ks(r.unwrap())):r instanceof os?os.create(r.items.map(e=>ks(e))):r}class tt extends Se{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Ce.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==X.object){const c=this._getOrReturnCtx(e);return V(c,{code:$.invalid_type,expected:X.object,received:c.parsedType}),oe}const{status:s,ctx:i}=this._processInputParams(e),{shape:a,keys:o}=this._getCached(),l=[];if(!(this._def.catchall instanceof Fn&&this._def.unknownKeys==="strip"))for(const c in i.data)o.includes(c)||l.push(c);const d=[];for(const c of o){const u=a[c],h=i.data[c];d.push({key:{status:"valid",value:c},value:u._parse(new On(i,h,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof Fn){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of l)d.push({key:{status:"valid",value:u},value:{status:"valid",value:i.data[u]}});else if(c==="strict")l.length>0&&(V(i,{code:$.unrecognized_keys,keys:l}),s.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of l){const h=i.data[u];d.push({key:{status:"valid",value:u},value:c._parse(new On(i,h,i.path,u)),alwaysSet:u in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of d){const h=await u.key,p=await u.value;c.push({key:h,value:p,alwaysSet:u.alwaysSet})}return c}).then(c=>rr.mergeObjectSync(s,c)):rr.mergeObjectSync(s,d)}get shape(){return this._def.shape()}strict(e){return Z.errToObj,new tt({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,s)=>{const i=this._def.errorMap?.(n,s).message??s.defaultError;return n.code==="unrecognized_keys"?{message:Z.errToObj(e).message??i}:{message:i}}}:{}})}strip(){return new tt({...this._def,unknownKeys:"strip"})}passthrough(){return new tt({...this._def,unknownKeys:"passthrough"})}extend(e){return new tt({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new tt({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:le.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new tt({...this._def,catchall:e})}pick(e){const n={};for(const s of Ce.objectKeys(e))e[s]&&this.shape[s]&&(n[s]=this.shape[s]);return new tt({...this._def,shape:()=>n})}omit(e){const n={};for(const s of Ce.objectKeys(this.shape))e[s]||(n[s]=this.shape[s]);return new tt({...this._def,shape:()=>n})}deepPartial(){return ks(this)}partial(e){const n={};for(const s of Ce.objectKeys(this.shape)){const i=this.shape[s];e&&!e[s]?n[s]=i:n[s]=i.optional()}return new tt({...this._def,shape:()=>n})}required(e){const n={};for(const s of Ce.objectKeys(this.shape))if(e&&!e[s])n[s]=this.shape[s];else{let a=this.shape[s];for(;a instanceof Rn;)a=a._def.innerType;n[s]=a}return new tt({...this._def,shape:()=>n})}keyof(){return tu(Ce.objectKeys(this.shape))}}tt.create=(r,e)=>new tt({shape:()=>r,unknownKeys:"strip",catchall:Fn.create(),typeName:le.ZodObject,...be(e)});tt.strictCreate=(r,e)=>new tt({shape:()=>r,unknownKeys:"strict",catchall:Fn.create(),typeName:le.ZodObject,...be(e)});tt.lazycreate=(r,e)=>new tt({shape:r,unknownKeys:"strip",catchall:Fn.create(),typeName:le.ZodObject,...be(e)});class _a extends Se{_parse(e){const{ctx:n}=this._processInputParams(e),s=this._def.options;function i(a){for(const l of a)if(l.result.status==="valid")return l.result;for(const l of a)if(l.result.status==="dirty")return n.common.issues.push(...l.ctx.common.issues),l.result;const o=a.map(l=>new rn(l.ctx.common.issues));return V(n,{code:$.invalid_union,unionErrors:o}),oe}if(n.common.async)return Promise.all(s.map(async a=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(i);{let a;const o=[];for(const d of s){const c={...n,common:{...n.common,issues:[]},parent:null},u=d._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!a&&(a={result:u,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const l=o.map(d=>new rn(d));return V(n,{code:$.invalid_union,unionErrors:l}),oe}}get options(){return this._def.options}}_a.create=(r,e)=>new _a({options:r,typeName:le.ZodUnion,...be(e)});function Fo(r,e){const n=wn(r),s=wn(e);if(r===e)return{valid:!0,data:r};if(n===X.object&&s===X.object){const i=Ce.objectKeys(e),a=Ce.objectKeys(r).filter(l=>i.indexOf(l)!==-1),o={...r,...e};for(const l of a){const d=Fo(r[l],e[l]);if(!d.valid)return{valid:!1};o[l]=d.data}return{valid:!0,data:o}}else if(n===X.array&&s===X.array){if(r.length!==e.length)return{valid:!1};const i=[];for(let a=0;a<r.length;a++){const o=r[a],l=e[a],d=Fo(o,l);if(!d.valid)return{valid:!1};i.push(d.data)}return{valid:!0,data:i}}else return n===X.date&&s===X.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class Aa extends Se{_parse(e){const{status:n,ctx:s}=this._processInputParams(e),i=(a,o)=>
vendor: 4,074 bytes, line 347
347{if(cc(a)||cc(o))return oe;const l=Fo(a.value,o.value);return l.valid?((dc(a)||dc(o))&&n.dirty(),{status:n.value,value:l.data}):(V(s,{code:$.invalid_intersection_types}),oe)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([a,o])=>i(a,o)):i(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}Aa.create=(r,e,n)=>new Aa({left:r,right:e,typeName:le.ZodIntersection,...be(n)});class os extends Se{_parse(e){const{status:n,ctx:s}=this._processInputParams(e);if(s.parsedType!==X.array)return V(s,{code:$.invalid_type,expected:X.array,received:s.parsedType}),oe;if(s.data.length<this._def.items.length)return V(s,{code:$.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),oe;!this._def.rest&&s.data.length>this._def.items.length&&(V(s,{code:$.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...s.data].map((o,l)=>{const d=this._def.items[l]||this._def.rest;return d?d._parse(new On(s,o,s.path,l)):null}).filter(o=>!!o);return s.common.async?Promise.all(a).then(o=>rr.mergeArray(n,o)):rr.mergeArray(n,a)}get items(){return this._def.items}rest(e){return new os({...this._def,rest:e})}}os.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new os({items:r,typeName:le.ZodTuple,rest:null,...be(e)})};class bc extends Se{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:s}=this._processInputParams(e);if(s.parsedType!==X.map)return V(s,{code:$.invalid_type,expected:X.map,received:s.parsedType}),oe;const i=this._def.keyType,a=this._def.valueType,o=[...s.data.entries()].map(([l,d],c)=>({key:i._parse(new On(s,l,s.path,[c,"key"])),value:a._parse(new On(s,d,s.path,[c,"value"]))}));if(s.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const d of o){const c=await d.key,u=await d.value;if(c.status==="aborted"||u.status==="aborted")return oe;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),l.set(c.value,u.value)}return{status:n.value,value:l}})}else{const l=new Map;for(const d of o){const c=d.key,u=d.value;if(c.status==="aborted"||u.status==="aborted")return oe;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),l.set(c.value,u.value)}return{status:n.value,value:l}}}}bc.create=(r,e,n)=>new bc({valueType:e,keyType:r,typeName:le.ZodMap,...be(n)});class Ii extends Se{_parse(e){const{status:n,ctx:s}=this._processInputParams(e);if(s.parsedType!==X.set)return V(s,{code:$.invalid_type,expected:X.set,received:s.parsedType}),oe;const i=this._def;i.minSize!==null&&s.data.size<i.minSize.value&&(V(s,{code:$.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&s.data.size>i.maxSize.value&&(V(s,{code:$.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const a=this._def.valueType;function o(d){const c=new Set;for(const u of d){if(u.status==="aborted")return oe;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}const l=[...s.data.values()].map((d,c)=>a._parse(new On(s,d,s.path,c)));return s.common.async?Promise.all(l).then(d=>o(d)):o(l)}min(e,n){return new Ii({...this._def,minSize:{value:e,message:Z.toString(n)}})}max(e,n){return new Ii({...this._def,maxSize:{value:e,message:Z.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}Ii.create=(r,e)=>new Ii({valueType:r,minSize:null,maxSize:null,typeName:le.ZodSet,...be(e)});class xc extends Se{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}xc.create=(r,e)=>new xc({getter:r,typeName:le.ZodLazy,...be(e)});class Po extends Se{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);
vendor: 5,447 bytes, line 347
347return V(n,{received:n.data,code:$.invalid_literal,expected:this._def.value}),oe}return{status:"valid",value:e.data}}get value(){return this._def.value}}Po.create=(r,e)=>new Po({value:r,typeName:le.ZodLiteral,...be(e)});function tu(r,e){return new Ls({values:r,typeName:le.ZodEnum,...be(e)})}class Ls extends Se{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),s=this._def.values;return V(n,{expected:Ce.joinValues(s),received:n.parsedType,code:$.invalid_type}),oe}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const n=this._getOrReturnCtx(e),s=this._def.values;return V(n,{received:n.data,code:$.invalid_enum_value,options:s}),oe}return lr(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return Ls.create(e,{...this._def,...n})}exclude(e,n=this._def){return Ls.create(this.options.filter(s=>!e.includes(s)),{...this._def,...n})}}Ls.create=tu;class vc extends Se{_parse(e){const n=Ce.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(e);if(s.parsedType!==X.string&&s.parsedType!==X.number){const i=Ce.objectValues(n);return V(s,{expected:Ce.joinValues(i),received:s.parsedType,code:$.invalid_type}),oe}if(this._cache||(this._cache=new Set(Ce.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const i=Ce.objectValues(n);return V(s,{received:s.data,code:$.invalid_enum_value,options:i}),oe}return lr(e.data)}get enum(){return this._def.values}}vc.create=(r,e)=>new vc({values:r,typeName:le.ZodNativeEnum,...be(e)});class Na extends Se{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==X.promise&&n.common.async===!1)return V(n,{code:$.invalid_type,expected:X.promise,received:n.parsedType}),oe;const s=n.parsedType===X.promise?n.data:Promise.resolve(n.data);return lr(s.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Na.create=(r,e)=>new Na({type:r,typeName:le.ZodPromise,...be(e)});class zs extends Se{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===le.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:s}=this._processInputParams(e),i=this._def.effect||null,a={addIssue:o=>{V(s,o),o.fatal?n.abort():n.dirty()},get path(){return s.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const o=i.transform(s.data,a);if(s.common.async)return Promise.resolve(o).then(async l=>{if(n.value==="aborted")return oe;const d=await this._def.schema._parseAsync({data:l,path:s.path,parent:s});return d.status==="aborted"?oe:d.status==="dirty"||n.value==="dirty"?ii(d.value):d});{if(n.value==="aborted")return oe;const l=this._def.schema._parseSync({data:o,path:s.path,parent:s});return l.status==="aborted"?oe:l.status==="dirty"||n.value==="dirty"?ii(l.value):l}}if(i.type==="refinement"){const o=l=>{const d=i.refinement(l,a);if(s.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(s.common.async===!1){const l=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return l.status==="aborted"?oe:(l.status==="dirty"&&n.dirty(),o(l.value),{status:n.value,value:l.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(l=>l.status==="aborted"?oe:(l.status==="dirty"&&n.dirty(),o(l.value).then(()=>({status:n.value,value:l.value}))))}if(i.type==="transform")if(s.common.async===!1){const o=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!$s(o))return oe;const l=i.transform(o.value,a);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:l}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(o=>$s(o)?Promise.resolve(i.transform(o.value,a)).then(l=>({status:n.value,value:l})):oe);Ce.assertNever(i)}}zs.create=(r,e,n)=>new zs({schema:r,typeName:le.ZodEffects,effect:e,...be(n)});zs.createWithPreprocess=(r,e,n)=>new zs({schema:e,effect:{type:"preprocess",transform:r},typeName:le.ZodEffects,...be(n)});class Rn extends Se{_parse(e){return this._getType(e)===X.undefined?lr(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Rn.create=(r,e)=>new Rn({innerType:r,typeName:le.ZodOptional,...be(e)});class Ds extends Se{_parse(e){return this._getType(e)===X.null?lr(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ds.create=(r,e)=>new Ds({innerType:r,typeName:le.ZodNullable,...be(e)});class Bo extends Se{_parse(e){const{ctx:n}=this._processInputParams(e);let s=n.data;return n.parsedType===X.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Bo.create=(r,e)=>new Bo({innerType:r,typeName:le.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...be(e)});class $o extends Se{_parse(e){const{ctx:n}=this._processInputParams(e),s={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return Ca(i)?i.then(a=>
vendor: 6,372 bytes, line 347
347({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new rn(s.common.issues)},input:s.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new rn(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}$o.create=(r,e)=>new $o({innerType:r,typeName:le.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...be(e)});class wc extends Se{_parse(e){if(this._getType(e)!==X.nan){const s=this._getOrReturnCtx(e);return V(s,{code:$.invalid_type,expected:X.nan,received:s.parsedType}),oe}return{status:"valid",value:e.data}}}wc.create=r=>new wc({typeName:le.ZodNaN,...be(r)});class D0 extends Se{_parse(e){const{ctx:n}=this._processInputParams(e),s=n.data;return this._def.type._parse({data:s,path:n.path,parent:n})}unwrap(){return this._def.type}}class tl extends Se{_parse(e){const{status:n,ctx:s}=this._processInputParams(e);if(s.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return a.status==="aborted"?oe:a.status==="dirty"?(n.dirty(),ii(a.value)):this._def.out._parseAsync({data:a.value,path:s.path,parent:s})})();{const i=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return i.status==="aborted"?oe:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:s.path,parent:s})}}static create(e,n){return new tl({in:e,out:n,typeName:le.ZodPipeline})}}class Lo extends Se{_parse(e){const n=this._def.innerType._parse(e),s=i=>($s(i)&&(i.value=Object.freeze(i.value)),i);return Ca(n)?n.then(i=>s(i)):s(n)}unwrap(){return this._def.innerType}}Lo.create=(r,e)=>new Lo({innerType:r,typeName:le.ZodReadonly,...be(e)});tt.lazycreate;var le;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(le||(le={}));const Ee=Nn.create,M0=Oo.create;Fn.create;const W0=$r.create,ru=tt.create;tt.strictCreate;_a.create;Aa.create;os.create;const Jt=Po.create,io=Ls.create;Na.create;Rn.create;Ds.create;const Tt='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',W={cyan:"#22d3ee",cyanBright:"#67e8f9",cyanGlow:"rgba(34,211,238,0.35)",cyanDim:"rgba(34,211,238,0.08)",violet:"#a78bfa",violetGlow:"rgba(167,139,250,0.3)",gold:"#fbbf24",goldGlow:"rgba(251,191,36,0.35)",green:"#4ade80",greenGlow:"rgba(74,222,128,0.3)",slate:"#94a3b8",bg:"#080c14",card:"rgba(255,255,255,0.04)",cardBorder:"rgba(255,255,255,0.1)",textPrimary:"#ffffff",textSecondary:"#ffffff",textMuted:"rgba(255,255,255,0.75)",textDim:"rgba(255,255,255,0.55)"},nu=[{group:"FLAGSHIP & STANDARD",color:W.gold,tiers:[{label:"Title / Gold Sponsor",price:"$2,500",badge:"FLAGSHIP",color:W.gold,glow:W.goldGlow,perks:["Opening address on stage at the event","Logo on T-shirt chest (highest visibility wearable)","Premium booth at prime venue location (only booth)","Full-page feature in event pamphlet","Priority Resume Clinic access, including top CTF finishers' resumes","2 Corporate passes + 1 Training Day pass"]},{label:"Silver Sponsor",price:"$1,700",badge:"STANDARD",color:W.cyan,glow:W.cyanGlow,perks:["Logo on stage backdrop, visible behind every speaker","Standard booth + standee at event floor","Half-page feature in event pamphlet","2 social media posts","2 Individual passes"]},{label:"Networking Party Sponsor",price:"$1,250",badge:"EXCLUSIVE",color:W.violet,glow:W.violetGlow,perks:["Closing party named with your brand on all invitations","Branding on party backdrop and event elements","Stage moment to address the room","2 Corporate passes"]}]},{group:"COMBO & EXPERIENCES",color:W.violet,tiers:[{label:"Career + CTF Combo",price:"$1,100",badge:"COMBO",color:W.violet,glow:W.violetGlow,perks:['"CTF powered by [You]" on scoreboard for both days',"Top 10 CTF finishers' resumes shared with your team","Priority resume access through the Resume Clinic","2 Corporate passes + Training Day access at preferred rate"]},{label:"Lanyard Sponsor",price:"$900",badge:"WEARABLE",color:W.violet,glow:W.violetGlow,perks:["Logo on all attendee lanyards, worn 100% of event","Quarter-page pamphlet","2 Corporate passes (incl. Party)"]},{label:"T-Shirt Sponsor",price:"$850",badge:"BRANDED",color:W.violet,glow:W.violetGlow,perks:["Logo on sleeve of every attendee T-shirt (400+)","Quarter-page pamphlet","2 Corporate passes (incl. Party)"]},{label:"High Tea Sponsor",price:"$700",badge:"CATERING",color:W.violet,glow:W.violetGlow,perks:['"High Tea by [You]": MC shoutout every break',"Branded signage at tea station for both days","2 Corporate passes"]},{label:"Bronze Sponsor",price:"$600",badge:"ENTRY",color:W.cyan,glow:W.cyanGlow,perks:["Standard booth + standee at event floor","Listing in event pamphlet","1 dedicated social post","2 Individual passes"]}]},{group:"TRACKS & ZONES",color:W.gold,tiers:[{label:"Bug Bounty Track",price:"$500",badge:"TRACK",color:W.gold,glow:W.goldGlow,perks:['"Bug bounty by [You]" on zone and scoreboard',"Live hacking event for your platform","Stage shoutout during awards","1 Corporate pass"]},{label:"CTF Track",price:"$350",badge:"TRACK",color:W.gold,glow:W.goldGlow,perks:["Brand on CTF platform & live scoreboard both days","Challenge naming rights","Stage shoutout during awards","1 Individual pass"]},{label:"Village Partner",price:"$350",badge:"VILLAGE",color:W.gold,glow:W.goldGlow,perks:["Run a branded hands-on village zone","Your team controls the agenda inside","2 Student passes + 1 Corporate pass"]}]},{group:"COMMUNITY & HIRING",color:W.green,tiers:[{label:"Community Supp
347orter",price:"$100",badge:"SUPPORTER",color:W.green,glow:W.greenGlow,perks:["Name/logo on website supporters wall","Community recognition","1 Individual pass"]},{label:"Resume Clinic & Guidance",price:"Free",badge:"HIRING",color:W.green,glow:W.greenGlow,perks:["Free access to the Resume Clinic","Candidates share CVs directly with you, their choice","HR guidance sessions for students","1 HR pass (must be actively hiring for security roles)"]}]}];nu.flatMap(r=>r.tiers);const U0=["Social Media (Twitter / LinkedIn)","Word of mouth / Community","Previous BSides Indore event","Email outreach","Website / Search","Other"],H0=ru({company_name:Ee().min(2,"Company name is required"),contact_name:Ee().min(2,"Contact name is required"),designation:Ee().optional(),country:Ee().optional(),email:Ee().email("Enter a valid email"),phone:Ee().optional(),website:Ee().url("Enter a valid URL").or(Jt("")).optional(),tier_interest:W0(Ee()).min(1,"Select at least one tier"),how_heard:Ee().optional(),message:Ee().min(10,"Minimum 10 characters"),honeypot:Ee().max(0)}),Ys=["COMPANY","CONTACT","TIER","DETAILS"],V0=["Tell us who you are","Who should we reach out to?","What suits your goals?","Anything we should know?"],G0=()=>{const r=St(),{isMobile:e}=nn(),[n,s]=y.useState(!1),[i,a]=y.useState(null),[o,l]=y.useState(0),[d,c]=y.useState(!1),[u,h]=y.useState(new Set(["MAIN TIERS"])),p=_=>{h(A=>{const E=new Set(A);return E.has(_)?E.delete(_):E.add(_),E})};y.useEffect(()=>{const _=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",_&&(_.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",_&&(_.style.height="")}},[]);const{register:m,handleSubmit:f,watch:g,setValue:v,trigger:j,formState:{errors:x,isSubmitting:w}}=Jd({resolver:Zd(H0),defaultValues:{honeypot:"",tier_interest:[]}}),I=g("tier_interest")||[],R=_=>{const A=I.includes(_)?I.filter(E=>E!==_):[...I,_];v("tier_interest",A,{shouldValidate:!0})},L=y.useCallback(async()=>{let _=!0;o===0&&(_=await j(["company_name","website"])),o===1&&(_=await j(["contact_name","email","phone"])),o===2&&(_=await j(["tier_interest"])),o===3&&(_=await j(["message"])),_&&(c(!0),setTimeout(()=>{l(A=>A+1),c(!1),window.scrollTo({top:0,behavior:"smooth"})},180))},[o,j]),P=()=>{c(!0),setTimeout(()=>{l(_=>_-1),c(!1),window.scrollTo({top:0,behavior:"smooth"})},180)},pe=async _=>{a(null);const A=[];_.designation?.trim()&&A.push(`Designation: ${_.designation.trim()}`),_.country?.trim()&&A.push(`Country: ${_.country.trim()}`);const E=A.length?`[${A.join(" | ")}] 348 349${_.message.trim()}`:_.message.trim(),{error:F}=await Ot.from("sponsorship_applications").insert({company_name:_.company_name.trim(),contact_name:_.contact_name.trim(),email:_.email.trim().toLowerCase(),phone:_.phone?.trim()||null,website:_.website?.trim()||null,tier_interest:_.tier_interest.join(", "),how_heard:_.how_heard||null,message:E});if(F){a("Something went wrong. Please try again or email [email protected]");return}s(!0),window.scrollTo({top:0,behavior:"smooth"})},J=o/Ys.length*100;return t.jsxs("div",{style:{backgroundColor:W.bg,minHeight:"100vh"},children:[t.jsx("style",{children:` 350 @keyframes sa-fade-in { 351 from { opacity: 0; transform: translateY(12px); } 352 to { opacity: 1; transform: translateY(0); } 353 } 354 @keyframes sa-fade-out { 355 from { opacity: 1; transform: translateY(0); } 356 to { opacity: 0; transform: translateY(-10px); } 357 } 358 @keyframes sa-pulse-ring { 359 0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.4); } 360 70% { box-shadow: 0 0 0 8px rgba(34,211,238,0); } 361 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } 362 } 363 .sa-step-in { animation: sa-fade-in 0.22s ease forwards; } 364 .sa-step-out { animation: sa-fade-out 0.18s ease forwards; } 365 366 .sa-input { 367 width: 100%; 368 background: rgba(255,255,255,0.1); 369 border: 1px solid rgba(255,255,255,0.3); 370 color: #ffffff; 371 font-size: 0.95rem; 372 padding: 0.85rem 1rem; 373 outline: none; 374 transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; 375 border-radius: 0; 376 } 377 .sa-input::placeholder { color: rgba(255,255,255,0.45); } 378 .sa-input:focus { 379 border-color: #22d3ee; 380 background: rgba(34,211,238,0.1); 381 box-shadow: 0 0 0 2px rgba(34,211,238,0.2); 382 } 383 .sa-input.error { border-color: rgba(248,113,113,0.7); } 384 .sa-input:-webkit-autofill, 385 .sa-input:-webkit-autofill:focus { 386 -webkit-box-shadow: 0 0 0 1000px #0d1220 inset !important; 387 -webkit-text-fill-color: #ffffff !important; 388 } 389 .sa-select { 390 appearance: none; 391 cursor: pointer; 392 } 393 .sa-tier-card { 394 position: relative; 395 cursor: pointer; 396 border: 1px solid rgba(255,255,255,0.1); 397 background: rgba(255,255,255,0.04); 398 padding: 1.1rem; 399 transition: border-color 0.2s, background 0.2s, transform 0.15s; 400 overflow: hidden; 401 } 402 .sa-tier-card:hover { 403 background: rgba(255,255,255,0.07); 404 border-color: rgba(255,255,255,0.18); 405 transform: translateY(-1px); 406 } 407 .sa-tier-card.selected { 408 background: rgba(34,211,238,0.09); 409 border-color: rgba(34,211,238,0.55); 410 } 411 .sa-tier-card.selected-gold { 412 background: rgba(251,191,36,0.1); 413 border-color: rgba(251,191,36,0.6); 414 } 415 .sa-tier-card.selected-violet { 416 background: rgba(167,139,250,0.1); 417 border-color: rgba(167,139,250,0.55); 418 } 419 .sa-tier-card.selected-green { 420 background: rgba(74,222,128,0.09); 421 border-color: rgba(74,222,128,0.5); 422 } 423 .sa-tier-card.selected-slate { 424 background: rgba(148,163,184,0.08); 425 border-color: rgba(148,163,184,0.5); 426 } 427 .sa-next-btn { 428 position: relative; 429 overflow: hidden; 430 transition: opacity 0.2s, box-shadow 0.2s; 431 } 432 .sa-next-btn:hover { opacity: 0.9; } 433 .sa-next-btn::after { 434 content: ''; 435 position: absolute; 436 inset: 0; 437 background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%); 438 opacity: 0; 439 transition: opacity 0.2s; 440 } 441 .sa-next-btn:hover::after { opacity: 1; } 442 `}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:`linear-gradient(rgba(34,211,238,0.03) 1px, transparent 1px), 443 linear-gradient(90deg, rgba(34,211,238,0.03) 1px, transparent 1px)`,backgroundSize:"56px 56px"}}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 70% 40% at 50% 0%, rgba(167,139,250,0.08) 0%, transparent 65%)"}}),t.jsx("div",{className:"fixed inset-0 pointer-events-none opacity-[0.025]",style:{backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.5) 2px, rgba(255,255,255,0.5) 3px)"}}),[["top-4 left-4","border-t border-l"],["top-4 right-4","border-t border-r"],["bottom-4 left-4","border-b border-l"],["bottom-4 right-4","border-b border-r"]].map(([_,A])=>t.jsx("div",{className:`fixed ${_} w-6 h-6 ${A} pointer-events-none`,style:{borderColor:`${W.cyan}25`}},_)),t.jsx("input",{...m("honeypot"),type:"text",tabIndex:-1,"aria-hidden":"true",style:{position:"absolute",left:"-9999px",width:1,height:1}}),t.jsx("div",{className:`relative z-10 mx-auto ${e?"pt-24 px-4 pb-20":"pt-20 px-6 pb-28"}`,style:{maxWidth:680},children:n?t.jsxs("div",{className:"sa-step-in text-center",style:{border:`1px solid ${W.cyan}30`,background:W.cyanDim,padding:e?"2.5rem 1.5rem":"4rem 3rem"},children:[t.jsx("div",{style:{width:64,height:64,margin:"0 auto 1.5rem",border:`2px solid ${W.cyan}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.8rem",color:W.cyan,boxShadow:`0 0 30px ${W.cyanGlow}`,animation:"sa-pulse-ring 2s infinite"},children:"â"}),t.jsx("h2",{style:{fontFamily:Tt,color:W.cyan,fontSize:"1.4rem",letterSpacing:"0.15em",marginBottom:"0.75rem"},children:"APPLICATION RECEIVED"}),t.jsx("p",{style:{color:W.textSecondary,marginBottom:"0.5rem",fontSize:"0.9rem"},children:"We'll review your application and reach out within 48 hours."}),t.jsx("p",{style:{color:W.textMuted,fontSize:"0.78rem",marginBottom:"2.5rem"},children:"A copy has been sent to your email."}),t.jsxs("div",{style:{display:"flex",gap:"0.75rem",justifyContent:"center",flexWrap:"wrap"},children:[t.jsx("button",{onClick:()=>r("/sponsors/call-for-sponsors"),style:{fontFamily:Tt,background:W.cyan,color:"#000",padding:e?"1rem 2rem":"0.7rem 1.8rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.12em",border:"none",cursor:"pointer",minHeight:44,touchAction:"manipulation"},children:"VIEW TIERS"}),t.jsx("button",{onClick:()=>r("/x2"),style:{fontFamily:Tt,color:W.cyan,background:"transparent",padding:e?"1rem 2rem":"0.7rem 1.8rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.12em",border:`1px solid ${W.cyan}30`,cursor:"pointer",minHeight:44,touchAction:"manipulation"},children:"HOME"})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{textAlign:"center",marginBottom:e?"2rem":"2.5rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.75rem",marginBottom:"0.75rem"},children:[t.jsx("div",{style:{height:1,width:40,background:`linear-gradient(to right, transparent, ${W.cyan}60)`}}),t.jsx("span",{style:{fontFamily:Tt,color:W.cyan,fontSize:"0.65rem",letterSpacing:"0.35em"},children:"BSIDES INDORE 2026"}),t.jsx("div",{style:{height:1,width:40,background:`linear-gradient(to left, transparent, ${W.cyan}60)`}})]}),t.jsx($t,{as:"h1",text:"SPONSOR APPLICATION",style:{fontFamily:Tt,color:"#fff",fontSize:e?"1.6rem":"2.2rem",fontWeight:900,letterSpacing:"0.05em",lineHeight:1,textShadow:`0 0 40px ${W.violetGlow}`,marginBottom:"0.5rem"}}),t.jsxs("p",{style:{color:W.textMuted,fontSize:"0.82rem"},children:["Questions? ",t.jsx("a",{href:"mailto:[email protected]",style:{color:W.cyan,textDecoration:"none"},children:"[email protected]"})]})]}),t.jsx("div",{style:{margin:e?"0 0 1.75rem":"0 0 2.25rem"},children:t.jsx(Vt,{bg:W.bg,accent:W.violet,style:{margin:"0 auto",maxWidth:920,borderLeftColor:`${W.violet}66`}})}),t.jsxs("div",{style:{marginBottom:e?"1.75rem":"2.25rem"},children:[t.jsx("div",{style:{height:2,background:"rgba(255,255,255,0.06)",marginBottom:"1rem",position:"relative"},children:t.jsx("div",{style:{height:"100%",width:`${J}%`,background:`linear-gradient(to right, ${W.violet}, ${W.cyan})`,transition:"width 0.4s cubic-bezier(0.4,0,0.2,1)",boxShadow:`0 0 10px ${W.cyanGlow}`}})}),t.jsx("div",{style:{display:"flex",justifyContent:"space-between"},children:Ys.map((_,A)=>{const E=A<o,F=A===o;return t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.35rem",flex:1},children:[t.jsx("div",{style:{width:28,height:28,border:`1px solid ${E||F?W.cyan:"rgba(255,255,255,0.35)"}`,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.65rem",fontWeight:900,fontFamily:Tt,color:E?"#000":F?W.cyan:"rgba(255,255,255,0.6)",background:E?W.cyan:"transparent",boxShadow:F?`0 0 12px ${W.cyanGlow}`:"none",transition:"all 0.3s"},children:E?"â":A+1}),!e&&t.jsx("span",{style:{fontFamily:Tt,fontSize:"0.55rem",letterSpacing:"0.12em",color:F?W.cyan:E?"#ffffff"
443:"rgba(255,255,255,0.6)",transition:"color 0.3s"},children:_})]},_)})})]}),t.jsxs("div",{style:{marginBottom:"1.5rem",padding:"0.9rem 1.1rem",background:"rgba(167,139,250,0.1)",border:"1px solid rgba(167,139,250,0.3)",borderLeft:`3px solid ${W.violet}`},children:[t.jsxs("div",{style:{fontFamily:Tt,fontSize:"0.6rem",letterSpacing:"0.25em",color:W.violet,marginBottom:"0.35rem",fontWeight:700},children:["STEP ",o+1," OF ",Ys.length,", ",Ys[o]]}),t.jsx("div",{style:{color:"#ffffff",fontSize:"0.88rem",fontWeight:500},children:V0[o]})]}),t.jsxs("form",{onSubmit:f(pe),noValidate:!0,children:[t.jsxs("div",{className:d?"sa-step-out":"sa-step-in",style:{background:"rgba(255,255,255,0.06)",border:"1px solid rgba(255,255,255,0.18)",padding:"1.75rem",marginBottom:"0.25rem"},children:[o===0&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1.25rem"},children:[t.jsx(Vr,{label:"Company / Organization",required:!0,error:x.company_name?.message,children:t.jsx("input",{...m("company_name"),placeholder:"Acme Security Pvt Ltd",className:"sa-input"})}),t.jsx(Vr,{label:"Website",error:x.website?.message,children:t.jsx("input",{...m("website"),placeholder:"https://yourcompany.com",type:"url",className:"sa-input"})}),t.jsx(ao,{icon:"ð",text:"Your data is never shared with third parties."})]}),o===1&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1.25rem"},children:[t.jsx(Vr,{label:"Full Name",required:!0,error:x.contact_name?.message,children:t.jsx("input",{...m("contact_name"),placeholder:"Rahul Sharma",className:"sa-input"})}),t.jsx(Vr,{label:"Designation",children:t.jsx("input",{...m("designation"),placeholder:"Head of Security / CISO / Marketing Lead",className:"sa-input"})}),t.jsx(Vr,{label:"Email Address",required:!0,error:x.email?.message,children:t.jsx("input",{...m("email"),placeholder:"[email protected]",type:"email",className:"sa-input"})}),t.jsx(Vr,{label:"Phone",error:x.phone?.message,children:t.jsx("input",{...m("phone"),placeholder:"+91 98765 43210",type:"tel",className:"sa-input"})}),t.jsx(Vr,{label:"Country",children:t.jsx("input",{...m("country"),placeholder:"India",className:"sa-input"})}),t.jsx(ao,{icon:"ð¨",text:"We reply within 48 hours. No spam, ever."})]}),o===2&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[t.jsx("p",{style:{color:"rgba(255,255,255,0.5)",fontSize:"0.75rem",marginBottom:"0.5rem",lineHeight:1.5},children:"Click a group to expand it, then select your preferred tier(s). You can pick from multiple groups."}),x.tier_interest&&t.jsx("div",{style:{color:"#f87171",fontSize:"0.75rem",padding:"0.5rem 0.75rem",marginBottom:"0.25rem",background:"rgba(248,113,113,0.08)",border:"1px solid rgba(248,113,113,0.25)"},children:x.tier_interest.message}),nu.map(_=>{const A=u.has(_.group),E=_.tiers.filter(F=>I.includes(F.label)).length;return t.jsxs("div",{style:{border:`1px solid ${A?_.color+"40":"rgba(255,255,255,0.1)"}`,borderRadius:6,overflow:"hidden",transition:"border-color 0.2s"},children:[t.jsxs("button",{type:"button",onClick:()=>p(_.group),style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0.85rem 1rem",background:A?`${_.color}0d`:"rgba(255,255,255,0.03)",border:"none",cursor:"pointer",transition:"background 0.2s"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.65rem"},children:[t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",flexShrink:0,backgroundColor:_.color,boxShadow:`0 0 6px ${_.color}`}}),t.jsx("span",{style:{fontFamily:Tt,fontSize:e?"0.7rem":"0.62rem",letterSpacing:"0.22em",color:_.color,fontWeight:700},children:_.group}),t.jsxs("span",{style:{fontSize:"0.68rem",color:"rgba(255,255,255,0.35)"},children:["(",_.tiers.length," options)"]})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.65rem"},children:[E>0&&t.jsxs("span",{style:{fontFamily:Tt,fontSize:e?"0.62rem":"0.55rem",letterSpacing:"0.1em",color:_.color,background:`${_.color}20`,border:`1px solid ${_.color}40`,padding:"0.15rem 0.45rem",borderRadius:3},children:[E," SELECTED"]}),t.jsx("span",{style:{color:"rgba(255,255,255,0.4)",fontSize:"0.75rem",transition:"transform 0.2s",display:"inline-block",transform:A?"rotate(180deg)":"rotate(0deg)"},children:"â¾"})]})]}),A&&t.jsx("div",{style:{padding:"0.75rem",borderTop:`1px solid ${_.color}20`},children:t.jsx("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"repeat(2, 1fr)",gap:"0.6rem"},children:_.tiers.map(F=>
443{const xe=I.includes(F.label),ve=xe?F.color===W.gold?"selected-gold":F.color===W.violet?"selected-violet":F.color===W.green?"selected-green":F.color===W.slate?"selected-slate":"selected":"";return t.jsxs("div",{className:`sa-tier-card ${ve}`,onClick:()=>R(F.label),style:xe?{boxShadow:`0 0 20px ${F.glow}`}:{},children:[t.jsx("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",marginBottom:"0.55rem"},children:t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[t.jsx("div",{style:{width:16,height:16,flexShrink:0,border:`1px solid ${xe?F.color:"rgba(255,255,255,0.2)"}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.6rem",fontWeight:900,color:F.color,background:xe?`${F.color}20`:"transparent",transition:"all 0.15s"},children:xe?"â":""}),t.jsx("span",{style:{fontFamily:Tt,fontSize:e?"0.65rem":"0.58rem",letterSpacing:"0.08em",color:F.color,background:`${F.color}15`,padding:"0.15rem 0.4rem"},children:F.badge})]})}),t.jsx("div",{style:{fontWeight:700,color:"#ffffff",fontSize:"0.82rem",marginBottom:"0.15rem",transition:"color 0.15s"},children:F.label}),F.price&&t.jsx("div",{style:{fontFamily:Tt,fontSize:"0.82rem",fontWeight:900,color:xe?F.color:`${F.color}80`,marginBottom:"0.55rem",transition:"color 0.15s"},children:F.price}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.2rem"},children:F.perks.map(N=>t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.4rem",fontSize:"0.7rem",color:xe?W.textSecondary:W.textMuted,transition:"color 0.15s",lineHeight:1.45},children:[t.jsx("span",{style:{color:F.color,flexShrink:0,marginTop:"0.1rem",opacity:xe?1:.7},children:"âº"}),N]},N))})]},F.label)})})})]},_.group)}),I.length>0&&t.jsxs("div",{style:{marginTop:"0.5rem",padding:"0.75rem 1rem",background:W.cyanDim,border:`1px solid ${W.cyan}25`,borderRadius:4},children:[t.jsxs("div",{style:{color:W.cyan,fontFamily:Tt,fontSize:"0.6rem",letterSpacing:"0.1em",marginBottom:"0.35rem"},children:[I.length," TIER",I.length>1?"S":""," SELECTED"]}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.35rem"},children:I.map(_=>t.jsxs("span",{style:{fontSize:"0.7rem",color:"#fff",background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.15)",padding:"0.2rem 0.55rem",borderRadius:3,display:"flex",alignItems:"center",gap:"0.35rem"},children:[_,t.jsx("span",{onClick:A=>{A.stopPropagation(),R(_)},style:{cursor:"pointer",color:"rgba(255,255,255,0.45)",fontSize:"0.65rem",lineHeight:1},children:"Ã"})]},_))})]}),t.jsx("p",{style:{color:"rgba(255,255,255,0.3)",fontSize:"0.7rem",textAlign:"center",marginTop:"0.25rem"},children:`Not sure? Pick "Custom / Not sure yet" and we'll figure it out together.`})]}),o===3&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1.25rem"},children:[t.jsx(Vr,{label:"How did you hear about BSides Indore?",error:x.how_heard?.message,children:t.jsxs("select",{...m("how_heard"),className:"sa-input sa-select",style:{color:"#ffffff"},children:[t.jsx("option",{value:"",style:{background:"#0d0d1a"},children:"Select..."}),U0.map(_=>t.jsx("option",{value:_,style:{background:"#0d0d1a"},children:_},_))]})}),t.jsx(Vr,{label:"Tell us about your goals",required:!0,error:x.message?.message,children:t.jsx("textarea",{...m("message"),rows:5,placeholder:"What are you hoping to get out of BSides Indore? Any questions or special requirements?",className:"sa-input",style:{resize:"none",scrollbarWidth:"thin",scrollbarColor:`${W.cyanGlow} transparent`}})}),i&&t.jsx("div",{style:{color:"#f87171",fontSize:"0.78rem",padding:"0.75rem 1rem",background:"rgba(248,113,113,0.06)",border:"1px solid rgba(248,113,113,0.25)"},children:i}),t.jsx(ao,{icon:"!",text:"If the form doesn't submit, try disabling Brave Shields or switching to Chrome/Firefox."})]})]}),t.jsxs("div",{style:{marginTop:"2rem",display:"flex",justifyContent:o>0?"space-between":"flex-end",alignItems:"center",gap:"0.75rem"},children:[o>0&&t.jsx("button",{type:"button",onClick:P,style:{fontFamily:Tt,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.35)",background:"transparent",border:"1px solid rgba(255,255,255,0.1)",padding:e?"0.85rem 1.4rem":"0.7rem 1.4rem",cursor:"pointer",minHeight:44,touchAction:"manipulation",transition:"color 0.2s, border-color 0.2s"},onMouseEnter:_=>{_.currentTarget.style.color="rgba(255,255,255,0.7)",_.currentTarget.style.borderColor="rgba(255,255,255,0.25)"},onMouseLeave:_=>{_.currentTarget.style.color="rgba(255,255,255,0.35)",_.currentTarget.style.borderColor="rgba(255,255,255,0.1)"},children:"â BACK"}),o<Ys.length-1?t.jsx("button",{type:"button",onClick:L,className:"sa-next-btn",style:{fontFamily:Tt,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",color:"#000",background:`linear-gradient(135deg, ${W.cyan}, ${W.cyanBright})`,border:"none",padding:e?"0.9rem 2.2rem":"0.8rem 2.2rem",cursor:"pointer",minHeight:44,touchAction:"manipulation",boxShadow:`0 0 24px ${W.cyanGlow}`},children:"NEXT â"}):t.jsx("button",{type:"submit",disabled:w,className:"sa-next-btn",style:{fontFamily:Tt,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",color:"#000",background:w?"rgba(255,255,255,0.2)":`linear-gradient(135deg, ${W.violet}, ${W.cyan})`,border:"none",padding:e?"0.9rem 2.2rem":"0.8rem 2.2rem",cursor:w?"not-allowed":"pointer",minHeight:44,touchAction:"manipulation",opacity:w?.6:1,boxShadow:w?"none":`0 0 28px ${W.violetGlow}`},children:w?"SUBMITTING...":"SUBMIT APPLICATION"})]})]})]})}),t.jsx(rt,{})]})},Vr=({label:r,required:e,error:n,children:s})=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"0.45rem"},children:[t.jsxs("label",{style:{fontFamily:Tt,fontSize:"0.65rem",letterSpacing:"0.18em",color:n?"#f87171":"#ffffff",fontWeight:700},children:[r.toUpperCase(),e&&t.jsx("span",{style:{color:"#22d3ee",marginLeft:4},children:"*"})]}),s,n&&t.jsxs("span",{style:{color:"#fca5a5",fontSize:"0.72rem",marginTop:"0.1rem",display:"flex",alignItems:"center",gap:"0.3rem"},children:[t.jsx("span",{style:{opacity:.7},children:"â "})," ",n]})]}),ao=({icon:r,text:e})=>
443t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.65rem",padding:"0.75rem 1rem",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.12)"},children:[t.jsx("span",{style:{fontSize:"0.8rem",flexShrink:0,color:"#22d3ee",opacity:.8},children:r}),t.jsx("p",{style:{fontSize:"0.75rem",lineHeight:1.55,margin:0,color:"rgba(255,255,255,0.75)"},dangerouslySetInnerHTML:{__html:e}})]}),ze='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',ha={pending:{label:"PENDING",color:"#f59e0b",bg:"rgba(245,158,11,0.1)"},contacted:{label:"CONTACTED",color:"#00ffff",bg:"rgba(0,255,255,0.1)"},approved:{label:"APPROVED",color:"#22c55e",bg:"rgba(34,197,94,0.1)"},rejected:{label:"REJECTED",color:"#f87171",bg:"rgba(248,113,113,0.1)"}},q0=({onLogin:r})=>{const[e,n]=y.useState(""),[s,i]=y.useState(""),[a,o]=y.useState(null),[l,d]=y.useState(!1),c=async u=>{u.preventDefault(),o(null),d(!0);const{error:h}=await Ot.auth.signInWithPassword({email:e,password:s});if(d(!1),h){o("Invalid credentials. Access denied.");return}r()};return t.jsxs("div",{className:"min-h-screen bg-black flex items-center justify-center px-4",children:[t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(0,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,255,0.04) 1px, transparent 1px)",backgroundSize:"40px 40px"}}),t.jsxs("div",{className:"relative z-10 w-full max-w-sm",children:[t.jsxs("div",{className:"border border-cyan-500/30 bg-black/90 p-8",style:{boxShadow:"0 0 60px rgba(0,255,255,0.08)"},children:[t.jsx("div",{className:"absolute -top-3 left-6 bg-black px-3",children:t.jsx("span",{className:"text-cyan-400/60 text-xs font-black tracking-widest uppercase",style:{fontFamily:ze},children:"[ RESTRICTED ACCESS ]"})}),t.jsxs("div",{className:"text-center mb-8",children:[t.jsx("div",{className:"text-cyan-400 font-black text-xl uppercase tracking-widest mb-1",style:{fontFamily:ze},children:"BSI PORTAL"}),t.jsx("div",{className:"text-gray-600 text-xs tracking-widest",style:{fontFamily:ze},children:"SPONSORS ADMIN, 2026"})]}),t.jsxs("form",{onSubmit:c,className:"space-y-4",children:[t.jsxs("div",{className:"flex flex-col gap-1.5",children:[t.jsx("label",{className:"text-gray-500 text-xs uppercase tracking-widest",style:{fontFamily:ze},children:"Email"}),t.jsx("input",{type:"email",value:e,onChange:u=>n(u.target.value),placeholder:"[email protected]",required:!0,autoComplete:"email",className:"bg-black border border-gray-700/60 text-gray-200 text-sm px-4 py-2.5 outline-none focus:border-cyan-500/60 transition-colors w-full"})]}),t.jsxs("div",{className:"flex flex-col gap-1.5",children:[t.jsx("label",{className:"text-gray-500 text-xs uppercase tracking-widest",style:{fontFamily:ze},children:"Password"}),t.jsx("input",{type:"password",value:s,onChange:u=>i(u.target.value),placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢",required:!0,autoComplete:"current-password",className:"bg-black border border-gray-700/60 text-gray-200 text-sm px-4 py-2.5 outline-none focus:border-cyan-500/60 transition-colors w-full"})]}),a&&t.jsx("div",{className:"text-red-400 text-xs border border-red-500/30 bg-red-900/10 px-3 py-2",children:a}),t.jsx("button",{type:"submit",disabled:l,className:"w-full py-3 font-black uppercase tracking-widest text-black bg-cyan-400 hover:bg-cyan-300 disabled:opacity-50 transition-colors mt-2",style:{fontFamily:ze},children:l?"AUTHENTICATING...":"ACCESS PORTAL"})]})]}),t.jsx("div",{className:"text-center mt-4",children:t.jsx("span",{className:"text-gray-700 text-xs tracking-widest",style:{fontFamily:ze},children:"AUTHORISED PERSONNEL ONLY"})})]})]})},K0=({app:r,onUpdate:e,onClose:n})=>{const[s,i]=y.useState(r.admin_notes||""),[a,o]=y.useState(!1),l=async u=>{o(!0),await e(r.id,{status:u,reviewed_at:new Date().toISOString()}),o(!1)},d=async()=>{o(!0),await e(r.id,{admin_notes:s}),o(!1)},c=ha[r.status];return t.jsx("div",{className:"fixed inset-0 z-50 bg-black/95 backdrop-blur-sm overflow-y-auto",children:t.jsxs("div",{className:"max-w-2xl mx-auto p-6 py-16",children:[t.jsxs("div",{className:"flex items-start justify-between mb-6",children:[t.jsxs("div",{children:[t.jsx("div",{className:"text-cyan-400 font-black text-xl uppercase tracking-widest",style:{fontFamily:ze},children:r.company_name}),t.jsxs("div",{className:"text-gray-500 text-xs mt-1",children:[r.contact_name," · ",r.email]})]}),t.jsx("button",{onClick:n,className:"text-gray-500 hover:text-gray-300 transition-colors text-2xl leading-none mt-1",children:"â"})]}),t.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[t.jsx("span",{className:"px-3 py-1 text-xs font-black tracking-widest uppercase",style:{fontFamily:ze,color:c.color,backgroundColor:c.bg,border:`1px solid ${c.color}40`},children:c.label}),t.jsx("span",{className:"text-gray-600 text-xs",children:new Date(r.created_at).toLocaleDateString("en-IN",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})})]}),t.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-6 border border-gray-800 p-5",children:[[{label:"TIER INTEREST",value:r.tier_interest},{label:"PHONE",value:r.phone||"-"},{label:"WEBSITE",value:r.website||"-"},{label:"HOW HEARD",value:r.how_heard||"-"}].map(u=>t.jsxs("div",{children:[t.jsx("div",{className:"text-gray-600 text-xs uppercase tracking-widest mb-1",style:{fontFamily:ze},children:u.label}),t.jsx("div",{className:"text-gray-200 text-sm break-all",children:u.value})]},u.label)),t.jsxs("div",{className:"col-span-2",children:[t.jsx("div",{className:"text-gray-600 text-xs uppercase tracking-widest mb-1",style:{fontFamily:ze},children:"MESSAGE"}),t.jsx("div",{className:"text-gray-300 text-sm leading-relaxed whitespace-pre-wrap",children:r.message||"-"})]})]}),t.jsxs("div",{className:"mb-6 border border-gray-800 p-5",children:[t.jsx("div",{className:"text-gray-500 text-xs uppercase tracking-widest mb-3",style:{fontFamily:ze}
443,children:"CHANGE STATUS"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:Object.keys(ha).map(u=>{const h=ha[u],p=r.status===u;return t.jsx("button",{onClick:()=>l(u),disabled:a||p,className:"px-4 py-1.5 text-xs font-black uppercase tracking-widest transition-all disabled:opacity-40",style:{fontFamily:ze,color:p?"#000":h.color,backgroundColor:p?h.color:"transparent",border:`1px solid ${h.color}60`},children:h.label},u)})})]}),t.jsxs("div",{className:"mb-6 border border-gray-800 p-5",children:[t.jsx("div",{className:"text-gray-500 text-xs uppercase tracking-widest mb-3",style:{fontFamily:ze},children:"ADMIN NOTES"}),t.jsx("textarea",{value:s,onChange:u=>i(u.target.value),rows:3,placeholder:"Internal notes (not visible to applicant)...",className:"w-full bg-black/80 border border-gray-700/60 text-gray-200 text-sm px-4 py-2.5 outline-none focus:border-cyan-500/60 transition-colors resize-none"}),t.jsx("button",{onClick:d,disabled:a,className:"mt-2 px-6 py-2 text-xs font-black uppercase tracking-widest text-black bg-cyan-400 hover:bg-cyan-300 disabled:opacity-50 transition-colors",style:{fontFamily:ze},children:a?"SAVING...":"SAVE NOTES"})]}),t.jsxs("div",{className:"flex gap-3",children:[t.jsx("a",{href:`mailto:${r.email}?subject=BSides Indore 2026, Sponsorship Application`,className:"px-5 py-2 text-xs font-black uppercase tracking-widest text-cyan-400 border border-cyan-400/40 hover:border-cyan-400 hover:bg-cyan-400/5 transition-all",style:{fontFamily:ze},children:"â REPLY"}),t.jsx("button",{onClick:n,className:"px-5 py-2 text-xs font-black uppercase tracking-widest text-gray-500 border border-gray-700 hover:border-gray-500 transition-all",style:{fontFamily:ze},children:"CLOSE"})]})]})})},Y0=()=>{const[r,e]=y.useState(null),[n,s]=y.useState([]),[i,a]=y.useState(!1),[o,l]=y.useState("all"),[d,c]=y.useState(null);y.useEffect(()=>{document.body.style.overflow="auto",document.body.style.height="auto",document.documentElement.style.height="auto";const g=document.getElementById("root");return g&&(g.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.documentElement.style.height="",g&&(g.style.height="")}},[]),y.useEffect(()=>{Ot.auth.getSession().then(({data:v})=>{e(!!v.session)});const{data:g}=Ot.auth.onAuthStateChange((v,j)=>{e(!!j)});return()=>g.subscription.unsubscribe()},[]);const u=y.useCallback(async()=>{a(!0);const{data:g}=await Ot.from("sponsorship_applications").select("*").order("created_at",{ascending:!1});s(g??[]),a(!1)},[]);y.useEffect(()=>{r&&u()},[r,u]);const h=async(g,v)=>{const{data:j}=await Ot.from("sponsorship_applications").update(v).eq("id",g).select().single();j&&(s(x=>x.map(w=>w.id===g?j:w)),c(x=>x?.id===g?j:x))},p=async()=>{await Ot.auth.signOut()};if(r===null)return t.jsx("div",{className:"min-h-screen bg-black flex items-center justify-center",children:t.jsx("div",{className:"text-cyan-400/50 text-xs tracking-widest animate-pulse",style:{fontFamily:ze},children:"INITIALISING..."})});if(!r)return t.jsx(q0,{onLogin:()=>e(!0)});const m=o==="all"?n:n.filter(g=>g.status===o),f={all:n.length,pending:n.filter(g=>g.status==="pending").length,contacted:n.filter(g=>g.status==="contacted").length,approved:n.filter(g=>g.status==="approved").length,rejected:n.filter(g=>g.status==="rejected").length};return t.jsxs("div",{className:"min-h-screen bg-black text-gray-200",children:[t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px)",backgroundSize:"40px 40px"}}),d&&t.jsx(K0,{app:d,onUpdate:h,onClose:()=>c(null)}),t.jsxs("div",{className:"relative z-10 max-w-6xl mx-auto px-6 pt-10 pb-20",children:[t.jsxs("div",{className:"flex items-center justify-between mb-10",children:[t.jsxs("div",{children:[t.jsx("div",{className:"text-cyan-400 font-black text-lg uppercase tracking-widest",style:{fontFamily:ze},children:"SPONSORS PORTAL"}),t.jsx("div",{className:"text-gray-600 text-xs tracking-wider mt-0.5",style:{fontFamily:ze},children:"BSides Indore 2026, Internal Dashboard"})]}),t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("button",{onClick:u,disabled:i,className:"px-4 py-2 text-xs font-black uppercase tracking-widest text-cyan-400 border border-cyan-400/30 hover:border-cyan-400/60 transition-all disabled:opacity-40",style:{fontFamily:ze},children:i?"LOADING...":"â» REFRESH"}),t.jsx("button",{onClick:p,className:"px-4 py-2 text-xs font-black uppercase tracking-widest text-red-400 border border-red-500/30 hover:border-red-400/60 transition-all",style:{fontFamily:ze},children:"LOGOUT"})]})]}
443),t.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-5 gap-3 mb-8",children:[["all","#00ffff","TOTAL"],["pending","#f59e0b","PENDING"],["contacted","#00ffff","CONTACTED"],["approved","#22c55e","APPROVED"],["rejected","#f87171","REJECTED"]].map(([g,v,j])=>t.jsxs("button",{onClick:()=>l(g),className:"border p-4 text-center transition-all hover:bg-white/5",style:{borderColor:o===g?v:`${v}25`,backgroundColor:o===g?`${v}10`:"transparent",boxShadow:o===g?`0 0 20px ${v}15`:"none"},children:[t.jsx("div",{className:"font-black text-2xl mb-1",style:{fontFamily:ze,color:v},children:f[g]}),t.jsx("div",{className:"text-gray-500 text-xs uppercase tracking-widest",style:{fontFamily:ze},children:j})]},g))}),i?t.jsx("div",{className:"text-center py-20 text-cyan-400/40 text-xs tracking-widest animate-pulse",style:{fontFamily:ze},children:"LOADING APPLICATIONS..."}):m.length===0?t.jsx("div",{className:"text-center py-20 border border-gray-800",children:t.jsxs("div",{className:"text-gray-600 text-sm",children:["No applications ",o!=="all"?`with status "${o}"`:"yet","."]})}):t.jsx("div",{className:"space-y-2",children:m.map(g=>{const v=ha[g.status];return t.jsxs("div",{onClick:()=>c(g),className:"flex items-center gap-4 border border-gray-800/80 bg-black/60 px-5 py-4 hover:border-cyan-500/30 hover:bg-white/[0.02] transition-all cursor-pointer group",children:[t.jsx("div",{className:"shrink-0 w-2 h-2 rounded-full",style:{backgroundColor:v.color,boxShadow:`0 0 8px ${v.color}`}}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-0.5",children:[t.jsx("span",{className:"text-gray-100 font-black text-sm group-hover:text-cyan-100 transition-colors",style:{fontFamily:ze},children:g.company_name}),t.jsx("span",{className:"text-gray-600 text-xs hidden sm:inline",children:"·"}),t.jsx("span",{className:"text-gray-500 text-xs hidden sm:inline truncate",children:g.contact_name})]}),t.jsx("div",{className:"text-gray-600 text-xs truncate",children:g.tier_interest})]}),t.jsx("span",{className:"shrink-0 px-2 py-0.5 text-xs font-black tracking-widest uppercase hidden sm:inline-block",style:{fontFamily:ze,color:v.color,backgroundColor:v.bg,border:`1px solid ${v.color}30`},children:v.label}),t.jsx("span",{className:"shrink-0 text-gray-600 text-xs hidden md:inline-block",children:new Date(g.created_at).toLocaleDateString("en-IN",{day:"numeric",month:"short"})}),t.jsx("span",{className:"shrink-0 text-gray-700 group-hover:text-cyan-400 transition-colors",children:"âº"})]},g.id)})})]})]})},Me='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',ta='"Share Tech Mono", "Courier New", monospace',D={cyan:"#22d3ee",cyanGlow:"rgba(34,211,238,0.35)",cyanDim:"rgba(34,211,238,0.08)",gold:"#fbbf24",goldGlow:"rgba(251,191,36,0.35)",violet:"#a78bfa",green:"#4ade80",red:"#f87171",bg:"#080c14"},J0=[{time:"08:00 â 09:00",tag:"REGISTRATION",tagColor:D.violet,title:"Registration & Badge Pickup"},{time:"09:00 â 09:05",tag:"OPENING",tagColor:"rgba(255,255,255,0.55)",title:"Opening / Welcome Address"},{time:"09:10 â 09:40",tag:"KEYNOTE",tagColor:D.gold,title:"Keynote Address",speaker:"Dhawal Shrivastava · Microsoft"},{time:"09:45 â 10:30",tag:"TALK 1",tagColor:D.cyan,title:"From Recon to Reputation: How Adversaries Weaponize Human Intelligence, Social Engineering, and Sock Puppets",speaker:"Eshan Singh"},{time:"10:35 â 11:20",tag:"TALK 2",tagColor:D.cyan,title:"Beyond the Internet: Practical Security of LoRa Mesh Networks with Meshtastic",speaker:"Abimel S B Kulumala"},{time:"11:25 â 12:10",tag:"TALK 3",tagColor:D.cyan,title:"Living Honeypots: AI Agents That Actively Deceive Attackers in Real Time",speaker:"Jaswanth R & Jerry Nissan Antony Marcelin"},{time:"12:15 â 13:00",tag:"TALK 4",tagColor:D.cyan,title:"The Trust Boundary Problem: Securing MCP in Production Agent Systems",speaker:"Thejes Sree Satheesh Kumar"},{time:"13:05 â 13:50",tag:"TALK 5",tagColor:D.cyan,title:"HoundMasker: Privacy-Preserving Attack Path Analysis for BloodHound in the LLM Era",speaker:"Abhisek Rajkumar"},{time:"13:55 â 14:30",tag:"LUNCH",tagColor:D.green,title:"Lunch Break"},{time:"14:35 â 15:20",tag:"TALK 6",tagColor:D.cyan,title:"You Can't Fix Everything: Engineering Risk Acceptance That Doesn't Rot",speaker:"Ritika Pandey"},{time:"15:25 â 16:10",tag:"TALK 7",tagColor:D.cyan,title:"The OSINT Odyssey: Tracking Across Air, Sea, and Spectrum",speaker:"Sagar Tiwari & Shubham Kumar"},{time:"16:15 â 17:00",tag:"TALK 8",tagColor:D.cyan,title:"Simulated â Validated: A Ransomware BAS Post-Mortem",speaker:"Nikhil Uday Jadhav"},{time:"17:05 â 17:50",tag:"TALK 9",tagColor:D.cyan,title:"Kernel-Native AI Security: Pre-
443Ingestion Input Inspection Using eBPF and Deep IAM Isolation for Multi User LLM Deployments",speaker:"Sangam Thakur & Sneh Soni"},{time:"17:55 â 18:30",tag:"PANEL",tagColor:D.gold,title:"CXO Panel Discussion",speaker:"Jafar Hasan, Sonika Bidyasar, Pravinkumar Jha, Deepak Rathore & Rohit Singh"},{time:"18:30 onwards",tag:"CLOSING",tagColor:D.violet,title:"Closing Remarks / Networking"},{time:"After closing",tag:"NETWORKING PARTY",tagColor:D.green,title:"Networking Party",speaker:"South Avenue Hostel, 4th Floor"}],X0=[{name:"Hardware Hacking Village",color:D.cyan,desc:"Analyze, reverse engineer, and secure embedded systems. Firmware dumps, JTAG, UART, and logic analysis â plus drone hacking, aerospace simulation hacking, and satellite hacking challenges."},{name:"Soldering Village",color:D.gold,desc:"Learn the art of precision electronics and hardware breakdown. Build a mini-kit, repair a device, or master a new technique."},{name:"Lock Picking Village",color:D.violet,desc:"Part of the Red Team track. Learn how red teaming and physical security work through hands-on lock picking and physical security bypass challenges."},{name:"Bug Bounty Village",color:"#f87171",desc:"Real-time Bug Bounty programs against active targets, live scoreboard.",pending:!0}],oo=[{text:"The only truly secure system is one that is powered off, cast in a block of concrete and sealed in a lead-lined room with armed guards.",author:"Gene Spafford"},{text:"Security is always excessive until it's not enough.",author:"Robbie Sinclair"},{text:"If you think technology can solve your security problems, then you don't understand the problems and you don't understand the technology.",author:"Bruce Schneier"},{text:"Hackers are breaking the systems for profit. Before, it was about intellectual curiosity and the pursuit of knowledge and thrill.",author:"Kevin Mitnick"},{text:"The quieter you become, the more you are able to hear.",author:"Kali Linux"},{text:"Privacy is not something that I'm merely entitled to, it's an absolute prerequisite.",author:"Marlon Brando"},{text:"There are two types of companies: those that have been hacked and those that don't know they've been hacked.",author:"John Chambers"},{text:"Amateurs hack systems, professionals hack people.",author:"Bruce Schneier"},{text:"The best defense is knowing how to think like an attacker.",author:"BSides Community"},{text:"Every system has a vulnerability. The question is whether you find it before they do.",author:"Anonymous Researcher"}],Z0=` 444 @keyframes sch-glitch { 445 0% { clip-path: inset(0 0 98% 0); transform: translate(-4px,0); opacity: 0.9; } 446 6% { clip-path: inset(30% 0 50% 0); transform: translate(4px,0); } 447 12% { clip-path: inset(65% 0 18% 0); transform: translate(-3px,0); } 448 18% { clip-path: inset(10% 0 80% 0); transform: translate(3px,0); } 449 24% { clip-path: inset(78% 0 8% 0); transform: translate(-4px,0); } 450 30% { clip-path: inset(0 0 0 0); transform: translate(0,0); opacity: 1; } 451 100% { clip-path: inset(0 0 0 0); transform: translate(0,0); opacity: 1; } 452 } 453 @keyframes sch-glitch2 { 454 0% { clip-path: inset(45% 0 35% 0); transform: translate(5px,0); opacity: 0.5; } 455 8% { clip-path: inset(15% 0 72% 0); transform: translate(-5px,0); } 456 16% { clip-path: inset(70% 0 12% 0); transform: translate(4px,0); } 457 24% { clip-path: inset(8% 0 82% 0); transform: translate(-3px,0); } 458 30% { clip-path: inset(0 0 0 0); transform: translate(0,0); opacity: 0; } 459 100% { opacity: 0; } 460 } 461 @keyframes sch-scanline { 462 0% { transform: translateY(-100%); } 463 100% { transform: translateY(100vh); } 464 } 465 @keyframes sch-blink { 466 0%, 49% { opacity: 1; } 467 50%,100% { opacity: 0; } 468 } 469 @keyframes sch-fade-quote { 470 0% { opacity: 0; transform: translateY(8px); } 471 15% { opacity: 1; transform: translateY(0); } 472 80% { opacity: 1; transform: translateY(0); } 473 100% { opacity: 0; transform: translateY(-6px); } 474 } 475 @keyframes sch-pulse-dot { 476 0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0.6); } 477 50% { box-shadow: 0 0 0 8px rgba(34,211,238,0); } 478 } 479 @keyframes sch-float { 480 0%, 100% { transform: translateY(0px); } 481 50% { transform: translateY(-6px); } 482 } 483 @keyframes sch-noise { 484 0% { background-position: 0 0; } 485 10% { background-position: -5% -10%; } 486 20% { background-position: -15% 5%; } 487 30% { background-position: 7% -25%; } 488 40% { background-position: 20% 25%; } 489 50% { background-position: -25% 10%; } 490 60% { background-position: 15% 5%; } 491 70% { background-position: 0 15%; } 492 80% { background-position: 25% 35%; } 493 90% { background-position: -10% 10%; } 494 100% { background-position: 0 0; } 495 } 496 497 .sch-heading { position: relative; display: inline-block; } 498 .sch-heading::before, .sch-heading::after { 499 content: attr(data-text); 500 position: absolute; inset: 0; font: inherit; pointer-events: none; opacity: 0; 501 } 502 .sch-heading.glitch::before { color: #22d3ee; animation: sch-glitch 0.7s steps(1) forwards; } 503 .sch-heading.glitch::after { color: #a78bfa; animation: sch-glitch2 0.7s steps(1) forwards; } 504 505 .sch-cursor { animation: sch-blink 1s step-end infinite; } 506 507 .sch-quote-anim { animation: sch-fade-quote 6s ease forwards; } 508 509 .sch-day-card { 510 border-radius: 10px; 511 border: 1px solid rgba(255,255,255,0.1); 512 background: rgba(255,255,255,0.03); 513 padding: 1.5rem; 514 transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; 515 } 516 .sch-day-card:hover { 517 border-color: rgba(255,255,255,0.18); 518 box-shadow: 0 4px 32px rgba(0,0,0,0.5); 519 transform: translateY(-2px); 520 } 521 522 .sch-tag { 523 font-size: 0.7rem; font-weight: 900; letter-spacing: 0.14em; 524 padding: 0.18rem 0.5rem; border-radius: 3px; border: 1px solid; white-space: nowrap; 525 } 526 @keyframes sch-ticker { 527 0% { transform: translateX(0); } 528 100% { transform: translateX(-50%); } 529 } 530 .sch-ticker-track { 531 display: flex; 532 width: max-content; 533 animation: sch-ticker 22s linear infinite; 534 } 535 .sch-ticker-fade { 536 animation: sch-fadein 0.6s ease forwards; 537 opacity: 0; 538 } 539 @keyframes sch-fadein { 540 from { opacity: 0; } 541 to { opacity: 1; } 542 } 543 @media (prefers-reduced-motion: reduce) { 544 .sch-heading::before, .sch-heading::after { animation: none !important; opacity: 0 !important; } 545 .sch-quote-anim { animation: none !important; opacity: 1 !important; } 546 .sch-ticker-track { animation: none !important; } 547 * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } 548 } 549`,Q0=()=>{const r=St(),{isMobile:e,isTablet:n}=nn(),[s,i]=y.useState(!1),[a,o]=y.useState(0),[l,d]=y.useState(0),[c,u]=y.useState(""),[h,p]=y.useState(!1),[m,f]=y.useState(!1),[g,v]=y.useState(!1),[j,x]=y.useState(""),[w,I]=y.useState(""),[R,L]=y.useState("idle"),[P,pe]=y.useState(""),J=y.useRef(null);y.useEffect(()=>{if(!g)return;const E=F=>{J.current&&!J.current.contains(F.target)&&v(!1)};return document.addEventListener("mousedown",E),()=>document.removeEventListener("mousedown",E)},[g]);const he=async E=>{if(E.preventDefault(),!j.trim())return;L("loading"),pe("");const{error:F}=await Ot.from("notify_signups").insert({email:j.trim().toLowerCase(),name:w.trim()||null,source:"schedule_cta"});F?(L(F.code==="23505"?"success":"error"),F.code!=="23505"&&pe("Something went wrong. Try again.")):L("success")},_="> SCHEDULE LOADING... DECRYPTING...";y.useEffect(()=>{let E=0;const F=setInterval(()=>{u(_.slice(0,E+1)),E++,E>=_.length&&(clearInterval(F),p(!0))},45);return()=>clearInterval(F)},[]),y.useEffect(()=>{if(!h)return;const E=setTimeout(()=>f(!0),600);return()=>clearTimeout(E)}
549,[h]),y.useEffect(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){i(!0);return}const E=()=>{i(!0),setTimeout(()=>i(!1),750)};E();const F=setInterval(E,7e3);return()=>clearInterval(F)},[]),y.useEffect(()=>{const E=setInterval(()=>{o(F=>(F+1)%oo.length),d(F=>F+1)},6e3);return()=>clearInterval(E)},[]),y.useEffect(()=>{const E=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",E&&(E.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",E&&(E.style.height="")}},[]);const A=oo[a];return t.jsxs("div",{style:{background:D.bg,minHeight:"100vh",color:"#fff",overflow:"hidden"},children:[t.jsx("style",{children:Z0}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:`linear-gradient(rgba(34,211,238,0.03) 1px, transparent 1px), 550 linear-gradient(90deg, rgba(34,211,238,0.03) 1px, transparent 1px)`,backgroundSize:"56px 56px"}}),t.jsx("div",{className:"fixed inset-0 pointer-events-none overflow-hidden",style:{zIndex:1},children:t.jsx("div",{style:{position:"absolute",left:0,right:0,height:2,background:"linear-gradient(to bottom, transparent, rgba(34,211,238,0.06), transparent)",animation:"sch-scanline 8s linear infinite"}})}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 70% 50% at 50% 40%, rgba(34,211,238,0.04) 0%, transparent 70%)"}}),[["top-4 left-4","border-t border-l"],["top-4 right-4","border-t border-r"],["bottom-4 left-4","border-b border-l"],["bottom-4 right-4","border-b border-r"]].map(([E,F])=>t.jsx("div",{className:`fixed ${E} w-8 h-8 ${F} pointer-events-none`,style:{borderColor:"rgba(34,211,238,0.25)"}},E)),t.jsxs("div",{className:"relative z-10 mx-auto",style:{maxWidth:860,padding:e?"5rem 1rem 3rem":"5rem 1.5rem 5rem"},children:[t.jsxs("div",{style:{fontFamily:ta,fontSize:e?"0.72rem":"0.82rem",color:D.green,letterSpacing:"0.05em",marginBottom:"2.5rem",minHeight:"1.4rem"},children:[c,!h&&t.jsx("span",{className:"sch-cursor",style:{color:D.green},children:"â"}),h&&t.jsx("span",{style:{color:D.green,marginLeft:8},children:"[ACCESS GRANTED]"})]}),m&&t.jsxs("div",{className:"sch-ticker-fade",style:{marginBottom:"2rem",overflow:"hidden",borderLeft:"2px solid rgba(251,191,36,0.4)",paddingLeft:"0.75rem",position:"relative"},children:[t.jsx("div",{style:{position:"absolute",left:"0.75rem",top:0,bottom:0,width:e?20:40,background:`linear-gradient(to right, ${D.bg}, transparent)`,zIndex:1,pointerEvents:"none"}}),t.jsx("div",{style:{position:"absolute",right:0,top:0,bottom:0,width:e?30:60,background:`linear-gradient(to left, ${D.bg}, transparent)`,zIndex:1,pointerEvents:"none"}}),t.jsx("div",{className:"sch-ticker-track",style:{fontFamily:ta,fontSize:e?"0.68rem":"0.7rem",letterSpacing:"0.08em",whiteSpace:"nowrap",color:"rgba(255,255,255,0.72)",animationDuration:"55s"},children:[0,1].map(E=>t.jsxs("span",{style:{paddingRight:"5rem"},children:[t.jsx("span",{style:{color:D.gold,fontWeight:900},children:">>> "}),t.jsx("span",{style:{color:"rgba(255,255,255,0.28)"},children:"[CLASSIFIED] "}),t.jsx("span",{style:{color:D.cyan},children:"SP34K3R_01"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#f87171"},children:"0DAY VULNERABILITY RESEARCH"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:D.cyan},children:"SP34K3R_02"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#f87171"},children:"HARDWARE HACKING"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:"#c084fc"},children:"VILLAGE_01"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#e879f9"},children:"LOCKPICKING VILLAGE"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:D.cyan},children:"SP34K3R_03"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#f87171"},children:"AUTOMOTIVE HACKING"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:"#c084fc"},children:"VILLAGE_02"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#e879f9"},children:"DRONE SECURITY LAB"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:D.cyan},children:"SP34K3R_04"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#f87171"},children:"SOCIAL ENGINEERING"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:"#c084fc"},children:"VILLAGE_03"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#e879f9"},children:"BUG BOUNTY ARENA"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:D.cyan},children:"SP34K3R_05"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#f87171"},children:"OSINT"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:"#c084fc"},children:"VILLAGE_04"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#e879f9"},children:"HARDWARE TEARDOWN"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:D.cyan},children:"SP34K3R_06"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#f87171"},children:"CLOUD EXPLOITATION"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:D.gold},children:"CISO_ROUNDTABLE"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#fbbf24"},children:"C-SUITE SECURITY LEADERS"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:D.cyan},children:"SP34K3R_07"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: "}),t.jsx("span",{style:{color:"#f87171"},children:"MALWARE REVERSE ENGINEERING"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:"#4ade80"},children:"ELITE_AGENT_9X"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: CLEARANCE: "}),t.jsx("span",{style:{color:"#4ade80"},children:"MAXIMUM"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.22)"},children:" :: IDENTITY: "}),t.jsx("span",{style:{color:"rgba(255,255,255,0.3)"},children:"ââââââââââ"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:"rgba(251,191,36,0.7)",fontWeight:900},children:"DOSSIERS DROP: Q2 2026"}),t.jsx("span",{style:{color:"rgba(255,255,255,0.18)"},children:" âââ "}),t.jsx("span",{style:{color:"rgba(255,255,255,0.25)"},children:"[END TRANSMISSION] "})]},E))})]}),t.jsxs("div",{style:{textAlign:"center",marginBottom:e?"2.5rem":"4rem"},children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.75rem",marginBottom:"1.25rem"},children:[t.jsx("div",{style:{height:1,width:40,background:`linear-gradient(to right, transparent, ${D.cyan}80)`}}),t.jsx("span",{style:{fontFamily:Me,color:D.cyan,fontSize:"0.7rem",letterSpacing:"0.32em",fontWeight:900},children:"BSIDES INDORE 2026"}),t.jsx("div",{style:{height:1,width:40,background:`linear-gradient(to left, transparent, ${D.cyan}80)`}})]}),t.jsx("h1",{"data-text":"SCHEDULE",className:`sch-heading${s?" glitch":""}`,style:{fontFamily:Me,fontSize:e?"3.5rem":"6rem",fontWeight:900,letterSpacing:"0.06em",lineHeight:1,color:"#ffffff",textShadow:`0 0 80px ${D.cyanGlow}, 0 0 160px rgba(34,211,238,0.08)`,marginBottom:"1.5rem",textTransform:"uppercase",display:"block"},children:"SCHEDULE"}),t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.6rem",padding:"0.45rem 1.25rem",border:`1px solid ${D.green}50`,borderRadius:4,background:`${D.green}0a`,marginBottom:"1.5rem"},children:[t.jsx("span",{style:{width:7,height:7,borderRadius:"50%",backgroundColor:D.green,boxShadow:`0 0 8px ${D.green}`,display:"inline-block",animation:"sch-pulse-dot 1.8s ease-in-out infinite"}}),t.jsx("span",{style:{fontFamily:Me,color:D.green,fontSize:"0.7rem",letterSpacing:"0.25em",fontWeight:900},children:"6 SEPTEMBER 2026 · SCHEDULE LIVE"})]}),t.jsx("p",{style:{color:"rgba(255,255,255,0.85)",maxWidth:480,margin:"0 auto",lineHeight:1.8,fontSize:"0.88rem"},children:"Registration, keynote, nine Main Stage talks and the CXO Panel â the full conference-day lineup for BSides Indore 2026. Villages, CTF and Bug Bounty run in parallel throughout."})]}),t.jsx("div",{style:{maxWidth:760,margin:`0 auto ${e?"3rem":"4rem"}`},children:t.jsxs("div",{className:"sch-day-card",children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, ${D.cyan}, transparent)`,borderRadius:"10px 10px 0 0",margin:"-1.5rem -1.5rem 1.25rem"}}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"0.75rem",flexWrap:"wrap",gap:"0.4rem"},children:[t.jsx("span",{style:{fontFamily:Me,fontSize:e?"0.68rem":"0.65rem",letterSpacing:"0.28em",color:D.cyan,fontWeight:900},children:"BSIDES INDORE 2026 · MAIN STAGE"}),t.jsx("span",{className:"sch-tag",style:{fontFamily:Me,color:D.green,borderColor:`${D.green}40`,background:`${D.green}10`},children:"6 SEPT 2026"})]}),t.jsx("div",{style:{fontFamily:Me,fontSize:e?"1rem":"1.2rem",fontWeight:900,color:"#ffffff",letterSpacing:"0.06em",marginBottom:"1rem"},children:"CONFERENCE DAY SCHEDULE"}),t.jsx("div",{style:{height:1,background:`${D.cyan}20`,marginBottom:"1.25rem"}}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.65rem"},children:J0.map((E,F)=>t.jsxs("div",{style:{display:"flex",flexDirection:e?"column":"row",gap:e?"0.3rem":"1rem",padding:"0.65rem 0.85rem",background:"rgba(255,255,255,0.02)",borderLeft:`3px solid ${E.tagColor}`,borderRadius:4},children:[t.jsx("div",{style:{flexShrink:0,width:e?"auto":150,fontFamily:ta,fontSize:"0.72rem",color:"rgba(255,255,255,0.55)",letterSpacing:"0.02em"},children:E.time}),t.jsxs("div",{style:{flex:1,minWidth:0},children:[t.jsx("span",{style:{fontFamily:Me,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.1em",color:E.tagColor,textTransform:"uppercase",display:"block",marginBottom:"0.25rem"},children:E.tag}),t.jsx("div",{style:{fontSize:"0.82rem",fontWeight:700,color:"rgba(255,255,255,0.92)",lineHeight:1.4},children:E.title}),E.speaker&&t.jsx("div",{style:{fontSize:"0.72rem",color:E.tagColor,marginTop:"0.2rem",fontFamily:Me,letterSpacing:"0.02em"},children:E.speaker})]})]},F))}),t.jsxs("div",{style:{marginTop:"1.25rem",paddingTop:"1rem",borderTop:`1px solid ${D.cyan}15`,fontSize:"0.74rem",color:"rgba(255,255,255,0.5)",lineHeight:1.6},children:["The Networking Party follows the closing remarks at South Avenue Hostel, 4th Floor, for Combo and Corporate pass holders. CTF Arena, Bug Bounty and Resume Clinic also run in parallel throughout the day â see"," ",t.jsx("span",{onClick:()=>r("/events"),style:{color:D.cyan,cursor:"pointer",textDecoration:"underline"},children:"Events"})," ","for details. Timings subject to change."]})]})}),t.jsx("div",{style:{maxWidth:760,margin:`0 auto ${e?"3rem":"4rem"}`},children:t.jsxs("div",{className:"sch-day-card",children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, ${D.violet}, transparent)`,borderRadius:"10px 10px 0 0",margin:"-1.5rem -1.5rem 1.25rem"}}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"0.75rem",flexWrap:"wrap",gap:"0.4rem"},children:[t.jsx("span",{style:{fontFamily:Me,fontSize:e?"0.68rem":"0.65rem",letterSpacing:"0.28em",color:D.violet,fontWeight:900},children:"HACKER VILLAGES"}),t.jsx("span",{className:"sch-tag",style:{fontFamily:Me,color:D.green,borderColor:`${D.green}40`,background:`${D.green}10`},children:"RUNNING ALL DAY"})]}),t.jsx("div",{style:{fontFamily:Me,fontSize:e?"1rem":"1.2rem",fontWeight:900,color:"#ffffff",letterSpacing:"0.06em",marginBottom:"0.5rem"},children:"08:00 â 18:30 · PARALLEL TO MAIN STAGE"}),t.jsx("div",{style:{height:1,background:`${D.violet}20`,marginBottom:"1.25rem"}}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"repeat(2, 1fr)",gap:"1rem"},children:X0.map(E=>t.jsxs("div",{style:{background:"rgba(255,255,255,0.02)",borderLeft:`3px solid ${E.color}`,borderRadius:4,padding:"0.85rem 1rem",opacity:E.pending?.6:1},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem",marginBottom:"0.4rem",flexWrap:"wrap"},children:[t.jsx("span",{style:{fontFamily:Me,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.06em",color:E.color,textTransform:"uppercase"},children:E.name}),E.pending&&t.jsx("span",{style:{fontFamily:Me,fontSize:"0.55rem",letterSpacing:"0.08em",color:"rgba(255,255,255,0.4)",textTransform:"uppercase"},children:"· pending confirmation"})]}),t.jsx("div",{style:{fontSize:"0.76rem",color:"rgba(255,255,255,0.75)",lineHeight:1.5},children:E.desc})]},E.name))})]})}),t.jsx("div",{style:{maxWidth:760,margin:`0 auto ${e?"3rem":"4rem"}`},children:t.jsxs("div",{className:"sch-day-card",children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, ${D.green}, transparent)`,borderRadius:"10px 10px 0 0",margin:"-1.5rem -1.5rem 1.25rem"}}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"0.75rem",flexWrap:"wrap",gap:"0.4rem"},children:[t.jsx("span",{style:{fontFamily:Me,fontSize:e?"0.68rem":"0.65rem",letterSpacing:"0.28em",color:D.green,fontWeight:900},children:"RESUME CLINIC & HIRING"}),t.jsx("span",{className:"sch-tag",style:{fontFamily:Me,color:D.green,borderColor:`${D.green}40`,background:`${D.green}10`},children:"RUNNING ALL DAY"})]}),t.jsx("div",{style:{fontFamily:Me,fontSize:e?"1rem":"1.2rem",fontWeight:900,color:"#ffffff",letterSpacing:"0.06em",marginBottom:"0.5rem"},children:"08:00 â 18:30 · PARALLEL TO MAIN STAGE"}),t.jsx("div",{style:{height:1,background:`${D.green}20`,marginBottom:"1.25rem"}}),t.jsxs("div",{style:{background:"rgba(255,255,255,0.02)",borderLeft:`3px solid ${D.green}`,borderRadius:4,padding:"0.85rem 1rem"},children:[t.jsx("div",{style:{fontSize:"0.8rem",color:"rgba(255,255,255,0.8)",lineHeight:1.6,marginBottom:"0.75rem"},children:"A dedicated resume clinic and hiring lounge, run by our sponsors throughout the day. Get your resume reviewed by security practitioners, meet companies that are hiring, and walk away with feedback you can act on."}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.5rem"},children:["1:1 Resume Reviews","Mock Interviews","Hiring Conversations"].map(E=>t.jsx("span",{className:"sch-tag",style:{fontFamily:Me,color:D.green,borderColor:`${D.green}40`,background:`${D.green}10`},children:E},E))})]})]})}),t.jsxs("div",{style:{border:"1px solid rgba(255,255,255,0.07)",borderLeft:`3px solid ${D.violet}`,borderRadius:"0 8px 8px 0",background:"rgba(167,139,250,0.04)",padding:e?"1.5rem 1.25rem":"2rem 2rem",marginBottom:e?"3rem":"4rem",minHeight:e?140:120,display:"flex",flexDirection:"column",justifyContent:"center",position:"relative",overflow:"hidden"},children:[t.jsx("div",{style:{position:"absolute",top:-10,left:16,fontSize:"6rem",color:`${D.violet}08`,fontFamily:"Georgia, serif",lineHeight:1,userSelect:"none",pointerEvents:"none"},children:'"'}),t.jsxs("div",{className:"sch-quote-anim",children:[t.jsxs("p",{style:{fontFamily:ta,fontSize:e?"0.8rem":"0.92rem",color:"rgba(255,255,255,0.85)",lineHeight:1.7,margin:"0 0 0.75rem",fontStyle:"italic"},children:['"',A.text,'"']}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[t.jsx("div",{style:{width:20,height:1,background:D.violet}}),t.jsx("span",{style:{fontFamily:Me,fontSize:"0.6rem",letterSpacing:"0.15em",color:D.violet,fontWeig
550ht:700},children:A.author})]})]},l),t.jsx("div",{style:{display:"flex",gap:"0.3rem",marginTop:"1rem"},children:oo.map((E,F)=>t.jsx("div",{style:{width:F===a?16:5,height:4,borderRadius:2,backgroundColor:F===a?D.violet:"rgba(255,255,255,0.12)",transition:"all 0.4s"}},F))})]}),t.jsxs("div",{style:{border:`1px solid ${D.cyan}25`,borderRadius:8,background:D.cyanDim,padding:"1.25rem 1.5rem",display:"flex",alignItems:"center",justifyContent:"space-between",flexDirection:e?"column":"row",gap:"1rem",marginBottom:"2.5rem"},children:[t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:Me,fontSize:"0.6rem",letterSpacing:"0.2em",color:D.cyan,fontWeight:900,marginBottom:"0.3rem"},children:"STAY IN THE LOOP"}),t.jsx("p",{style:{fontSize:"0.78rem",color:"rgba(255,255,255,0.85)",margin:0},children:"Speaker lineup, session tracks, and timings drop on our socials first."})]}),t.jsxs("div",{ref:J,style:{position:"relative",flexShrink:0},children:[t.jsx("button",{onClick:()=>{v(E=>!E),L("idle"),x(""),I(""),pe("")},style:{fontFamily:Me,background:D.cyan,color:"#000",padding:"0.65rem 1.5rem",fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.12em",borderRadius:5,border:"none",cursor:"pointer",whiteSpace:"nowrap"},children:"GET NOTIFIED â"}),g&&t.jsxs("div",{className:"bsi-dropdown-in",style:{position:"absolute",top:"calc(100% + 10px)",right:0,width:"min(290px, calc(100vw - 2rem))",zIndex:60,background:"rgba(6,10,18,0.98)",border:"1px solid rgba(34,211,238,0.25)",backdropFilter:"blur(20px)",borderRadius:8,overflow:"hidden",boxShadow:"0 12px 40px rgba(0,0,0,0.7), 0 0 0 1px rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{height:2,background:"linear-gradient(to right, #22d3ee, rgba(34,211,238,0.2))"}}),t.jsx("div",{style:{padding:"1.25rem"},children:R==="success"?t.jsxs("div",{style:{textAlign:"center",padding:"0.75rem 0"},children:[t.jsx("div",{style:{width:36,height:36,borderRadius:"50%",border:"2px solid #22d3ee",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 0.75rem",color:"#22d3ee",fontSize:"1rem",fontWeight:900},children:"â"}),t.jsx("div",{style:{fontFamily:Me,fontSize:"0.68rem",fontWeight:900,letterSpacing:"0.18em",color:"#22d3ee",marginBottom:"0.4rem"},children:"YOU'RE ON THE LIST"}),t.jsx("div",{style:{fontSize:"0.78rem",color:"rgba(255,255,255,0.5)",fontFamily:"system-ui, sans-serif",lineHeight:1.5},children:"We'll reach out before BSides Indore 2026."})]}):t.jsxs("form",{onSubmit:he,children:[t.jsxs("div",{style:{marginBottom:"1rem"},children:[t.jsx("div",{style:{fontFamily:Me,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.2em",color:"#22d3ee",marginBottom:"0.2rem"},children:"Stay in the loop"}),t.jsx("div",{style:{fontSize:"0.72rem",color:"rgba(255,255,255,0.68)",fontFamily:"system-ui, sans-serif"},children:"Get updates on BSides Indore 2026"})]}),t.jsx("input",{type:"text",placeholder:"Name (optional)",value:w,onChange:E=>I(E.target.value),style:{width:"100%",boxSizing:"border-box",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderRadius:4,padding:"0.5rem 0.75rem",color:"rgba(255,255,255,0.85)",fontSize:"0.82rem",fontFamily:"system-ui, sans-serif",marginBottom:"0.5rem",outline:"none"},onFocus:E=>E.currentTarget.style.borderColor="rgba(34,211,238,0.5)",onBlur:E=>E.currentTarget.style.borderColor="rgba(34,211,238,0.15)"}),t.jsx("input",{type:"email",placeholder:"Email address *",value:j,onChange:E=>x(E.target.value),required:!0,style:{width:"100%",boxSizing:"border-box",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderRadius:4,padding:"0.5rem 0.75rem",color:"rgba(255,255,255,0.85)",fontSize:"0.82rem",fontFamily:"system-ui, sans-serif",marginBottom:P?"0.4rem":"0.75rem",outline:"none"},onFocus:E=>E.currentTarget.style.borderColor="rgba(34,211,238,0.5)",onBlur:E=>E.currentTarget.style.borderColor="rgba(34,211,238,0.15)"}),P&&t.jsx("div",{style:{fontSize:"0.72rem",color:"#f87171",fontFamily:"system-ui, sans-serif",marginBottom:"0.5rem"},children:P}),t.jsx("button",{type:"submit",disabled:R==="loading",style:{width:"100%",fontFamily:Me,fontWeight:900,fontSize:"0.65rem",letterSpacing:"0.15em",curs
550or:"pointer",borderRadius:4,padding:"0.62rem",background:"#22d3ee",border:"none",color:"#000",opacity:R==="loading"?.6:1,boxShadow:"0 0 16px rgba(34,211,238,0.3)"},children:R==="loading"?"SUBMITTING...":"NOTIFY ME â"}),t.jsx("div",{style:{marginTop:"0.75rem",fontSize:"0.65rem",color:"rgba(255,255,255,0.25)",fontFamily:"system-ui, sans-serif",textAlign:"center"},children:"No spam. Unsubscribe anytime."})]})})]})]})]}),t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("p",{style:{color:"rgba(255,255,255,0.3)",fontFamily:Me,fontSize:"0.6rem",letterSpacing:"0.2em",marginBottom:"1rem"},children:"WANT IN ON THE ACTION?"}),t.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"0.75rem",flexDirection:e?"column":"row",alignItems:"center"},children:[t.jsx("button",{onClick:()=>r("/sponsors/apply"),style:{fontFamily:Me,background:D.cyan,color:"#000",padding:"0.8rem 2rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",border:"none",cursor:"pointer",borderRadius:6,boxShadow:`0 0 24px ${D.cyanGlow}`,textTransform:"uppercase"},children:"BECOME A SPONSOR â"}),t.jsx("button",{onClick:()=>r("/sponsors/call-for-sponsors"),style:{fontFamily:Me,color:D.cyan,padding:"0.8rem 2rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",border:`1px solid ${D.cyan}50`,background:"transparent",cursor:"pointer",borderRadius:6,textTransform:"uppercase"},children:"VIEW SPONSOR TIERS â"})]})]})]}),t.jsx(rt,{})]})},ey=[{src:"/media/x3/bg1.webp",alt:"The full BSides Indore X2 audience gathered for a group photograph in front of the main stage"},{src:"/media/x3/bg2.webp",alt:""},{src:"/media/x3/bg3.webp",alt:""},{src:"/media/x3/bg4.webp",alt:""},{src:"/media/x3/bg5.webp",alt:""}],ty=[t.jsxs(t.Fragment,{children:[t.jsx("b",{children:"X3"})," · Indore 2027"]}),t.jsx(t.Fragment,{children:"Call for papers opening soon"}),t.jsx(t.Fragment,{children:"Villages · CTF · Main stage"}),t.jsxs(t.Fragment,{children:[t.jsx("b",{children:"X2"})," · 6 Sept 2026 · Jaal Sabha Grah"]}),t.jsx(t.Fragment,{children:"Exploit knowledge · Defend innovate"}),t.jsxs(t.Fragment,{children:[t.jsx("b",{children:"X1"})," · 2023"]})],Sc="!<>-_\\/[]{}=+*^?#01",lo=({text:r})=>{const[e,n]=y.useState(r),s=y.useRef(null);y.useEffect(()=>()=>{s.current&&clearInterval(s.current)},[]);const i=()=>{if(s.current||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let a=0;const o=14;s.current=setInterval(()=>{a++,n(r.split("").map((l,d)=>l===" "||d<a/o*r.length?l:Sc[Math.floor(Math.random()*Sc.length)]).join("")),a>=o&&(clearInterval(s.current),s.current=null,n(r))},28)};return t.jsx("span",{"aria-hidden":"true",onPointerEnter:i,onFocus:i,children:e})},ry=()=>{const r=St(),e=y.useRef(null),n=y.useRef(null),[s,i]=y.useState(!1),[a,o]=y.useState(!1),[l,d]=y.useState(""),[c,u]=y.useState(""),[h,p]=y.useState("idle");y.useEffect(()=>(document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden",()=>{document.body.style.overflow="",document.documentElement.style.overflow=""}),[]),y.useEffect(()=>{let f=!1;const g=()=>{f||(f=!0,i(!0))};document.fonts?.ready&&document.fonts.ready.then(g).catch(g);const v=setTimeout(g,1200);return()=>clearTimeout(v)},[]),y.useEffect(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||!window.matchMedia("(hover: hover)").matches)return;let f=0;const g=v=>{f||(f=requestAnimationFrame(()=>{f=0;const j=e.current;if(!j)return;const x=(v.clientX/window.innerWidth-.5)*2,w=(v.clientY/window.innerHeight-.5)*2;j.style.setProperty("--px",`${(-x*16).toFixed(1)}px`),j.style.setProperty("--py",`${(-w*16).toFixed(1)}px`)}))};return window.addEventListener("pointermove",g,{passive:!0}),()=>{window.removeEventListener("pointermove",g),f&&cancelAnimationFrame(f)}},[]),y.useEffect(()=>{const f=n.current;if(!f)return;const g=f.getContext("2d");if(!g)return;const v=128,j=document.createElement("canvas");j.width=j.height=v;const x=j.getContext("2d"),w=()=>{const L=x.createImageData(v,v),P=L.data;for(let J=0;J<P.length;J+=4){const he=Math.random()*255|0;P[J]=P[J+1]=P[J+2]=he,P[J+3]=255}x.putImageData(L,0,0),f.width=Math.ceil(f.clientWidth),f.height=Math.ceil(f.clientHeight);const pe=g.createPattern(j,"repeat");pe&&(g.fillStyle=pe,g.fillRect(0,0,f.width,f.height))};w(),window.addEventListener("resize",w,{passive:!0});const R=window.matchMedia("(prefers-reduced-motion: reduce)").matches?0:window.setInterval(w,125);return()=>{window.removeEventListener("resize",w),R&&clearInterval(R)}},[]);const m=async f=>{if(f.preventDefault(),!c.trim())return;p("loading");const{error:g}=await Ot.from("notify_signups").insert({email:c.trim().toLowerCase(),name:l.trim()||null,source:"x3_landing"});p(!g||g.code==="23505"?"success":"error")};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` 551 .x3 { 552 --x3u: calc(clamp(360px, 100vw, 1760px) / 1600); 553 --ink:#17130f; --bone:#efece6; --muted:#8c8376; 554 --accent:#cc5024; --accent-lift:#e8652f; 555 --hairline:rgba(239,236,230,0.22); 556 --x3ease: cubic-bezier(0.65, 0.05, 0, 1); 557 --x3dur: 0.75s; 558 --display:"Archivo Black","Arial Black",Impact,sans-serif; 559 --body:"Archivo","Helvetica Neue",Arial,sans-serif; 560 --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace; 561 position:relative; min-height:100svh; overflow:hidden; isolation:isolate; 562 display:grid; grid-template-rows:auto 1fr auto; 563 padding:calc(var(--x3u)*34) calc(var(--x3u)*40); 564 background:var(--ink); color:var(--bone); font-family:var(--body); 565 } 566 .x3-bg { 567 position:absolute; inset:calc(var(--x3u)*-26); z-index:-3; 568 transform:translate3d(var(--px,0px),var(--py,0px),0); 569 transition:transform 1.1s var(--x3ease); 570 /* One filtered surface for the whole stack. Filtering each image 571 separately promoted five large composited layers, which some 572 GPU and driver combinations drop to black. */ 573 filter:grayscale(0.55) contrast(1.06) brightness(0.55) saturate(0.9); 574 background:var(--ink); 575 } 576 .x3-bg img { 577 position:absolute; inset:0; width:100%; height:100%; object-fit:cover; 578 opacity:0; animation:x3slide 34s var(--x3ease) infinite both; 579 } 580 /* The first frame holds until the animation takes over, so the hero is 581 never bare on load even if the animation is delayed or blocked. */ 582 .x3-bg img:nth-child(1){opacity:1;animation-delay:0s} 583 .x3-bg img:nth-child(2){animation-delay:6.8s} 584 .x3-bg img:nth-child(3){animation-delay:13.6s} 585 .x3-bg img:nth-child(4){animation-delay:20.4s} 586 .x3-bg img:nth-child(5){animation-delay:27.2s} 587 @keyframes x3slide { 588 0%{opacity:0;transform:translateX(6%) scale(1.09)} 589 2%{opacity:1} 20%{opacity:1} 590 23%{opacity:0;transform:translateX(-6%) scale(1.09)} 591 100%{opacity:0;transform:translateX(6%) scale(1.09)} 592 } 593 .x3-bg::after { 594 content:""; position:absolute; inset:0; 595 background: 596 radial-gradient(120% 90% at 50% 40%, rgba(204,80,36,0.22) 0%, transparent 60%), 597 linear-gradient(to bottom, rgba(23,19,15,0.72) 0%, rgba(23,19,15,0.55) 45%, rgba(23,19,15,0.92) 100%); 598 } 599 .x3-grain { 600 position:absolute; inset:0; z-index:-1; width:100%; height:100%; 601 pointer-events:none; 602 /* mix-blend-mode must stay 'normal'. On GPU-composited Chromium 603 (Brave, Chrome, Chromium) a blended full-viewport canvas over the 604 negative-z-index background composites the whole hero to black: 605 measured mean luminance 2.2/255 with 'overlay' and 5.4 with 606 'soft-light', against 30.0 with 'normal'. Firefox and s
606oftware 607 rendering are unaffected, which is why it only showed on some 608 machines. Opacity is lowered to keep the grain subtle without it. */ 609 mix-blend-mode:normal; opacity:.03; 610 } 611 .x3-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px} 612 .x3-mark img{display:block;height:max(34px, calc(var(--x3u)*52));width:auto} 613 .x3-cta{ 614 display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff; 615 font-family:var(--body);font-weight:700;font-size:max(11px, calc(var(--x3u)*13)); 616 letter-spacing:.1em;text-transform:uppercase; 617 padding:calc(var(--x3u)*14) calc(var(--x3u)*22); 618 border:none;border-radius:2px;cursor:pointer;white-space:nowrap; 619 position:relative;overflow:hidden;transition:transform var(--x3dur) var(--x3ease); 620 } 621 .x3-cta::before{ 622 content:"";position:absolute;inset:0;background:var(--accent-lift); 623 transform:scaleX(0);transform-origin:left; 624 transition:transform var(--x3dur) var(--x3ease); 625 } 626 .x3-cta:hover{transform:translateY(-2px)} 627 .x3-cta:hover::before{transform:scaleX(1)} 628 .x3-cta > span{position:relative;z-index:1} 629 .x3-actions{display:flex;align-items:center;gap:calc(var(--x3u)*12);flex-wrap:wrap;justify-content:flex-end} 630 .x3-ghost{ 631 display:inline-flex;align-items:center;gap:8px;background:rgba(23,19,15,.5); 632 backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px); 633 border:1px solid var(--hairline);color:var(--bone); 634 font-family:var(--mono);font-weight:600; 635 font-size:max(10.5px, calc(var(--x3u)*12)); 636 letter-spacing:.14em;text-transform:uppercase; 637 padding:calc(var(--x3u)*14) calc(var(--x3u)*20); 638 border-radius:2px;cursor:pointer;white-space:nowrap; 639 transition:border-color var(--x3dur) var(--x3ease),background var(--x3dur) var(--x3ease); 640 } 641 .x3-ghost:hover{border-color:var(--accent-lift);background:rgba(23,19,15,.72)} 642 .x3-centre{display:flex;flex-direction:column;justify-content:center;padding-block:calc(var(--x3u)*40)} 643 .x3-eyebrow{ 644 font-family:var(--mono);font-size:max(10px, calc(var(--x3u)*12));font-weight:600; 645 letter-spacing:.22em;text-transform:uppercase;color:var(--accent-lift); 646 margin:0 0 calc(var(--x3u)*20);display:flex;align-items:center;gap:10px; 647 } 648 .x3-eyebrow::before{ 649 content:"";width:calc(var(--x3u)*46);height:1px;background:var(--accent-lift); 650 flex-shrink:0;transform-origin:left;animation:x3rule var(--x3dur) var(--x3ease) .1s both; 651 } 652 @keyframes x3rule{from{transform:scaleX(0)}to{transform:scaleX(1)}} 653 .x3-wipe{position:relative;display:block;overflow:hidden} 654 .x3-wipe > .inner{display:block;opacity:0} 655 .x3-wipe::after{ 656 content:"";position:absolute;inset:0;background:var(--accent); 657 transform:scaleX(0);transform-origin:left; 658 } 659 .x3-play .x3-wipe > .inner{animation:x3show .01s linear var(--delay,0s) forwards} 660 .x3-play .x3-wipe::after{animation:x3sweep 1.05s var(--x3ease) var(--delay,0s) both} 661 @keyframes x3show{to{opacity:1}} 662 @keyframes x3sweep{ 663 0%{transform:scaleX(0);transform-origin:left} 664 48%{transform:scaleX(1);transform-origin:left} 665 52%{transform:scaleX(1);transform-origin:right} 666 100%{transform:scaleX(0);transform-origin:right} 667 } 668 .x3-title{ 669 font-family:var(--display);font-size:calc(var(--x3u)*300);line-height:.78; 670 letter-spacing:-.045em;text-transform:uppercase; 671 margin:0 0 calc(var(--x3u)*10);margin-left:calc(var(--x3u)*-18);color:var(--bone); 672 } 673 .x3-glitch{position:relative;display:inline-block} 674 .x3-glitch::before,.x3-glitch::after{ 675 content:attr(data-text);position:absolute;inset:0;font:inherit; 676 letter-spacing:inherit;pointer-events:none;user-select:none; 677 } 678 .x3-glitch::before{color:var(--accent-lift)} 679 .x3-glitch::after{color:#6fd6e0} 680 .x3-play .x3-glitch::before{animation:x3ga 7s steps(1) 1.5s infinite} 681 .x3-play .x3-glitch::after{animation:x3gb 7s steps(1) 1.5s infinite} 682 @keyframes x3ga{ 683 0%{clip-path:inset(88% 0 4% 0);transform:translate(-.035em,0);opacity:.85} 684 1.4%{clip-path:inset(18% 0 68% 0);transform:translate(.03em,0)} 685 2.8%{clip-path:inset(56% 0 32% 0);transform:translate(-.02em,0)} 686 4.2%{clip-path:inset(34% 0 58% 0);transform:translate(.028em,0)} 687 5.6%,100%{opacity:0;transform:none} 688 } 689 @keyframes x3gb{ 690 0%{clip-path:inset(42% 0 46% 0);transform:translate(.03em,0);opacity:.5} 691 1.8%{clip-path:inset(72% 0 16% 0);transform:translate(-.026em,0)} 692 3.6%{clip-path:inset(8% 0 82% 0);transform:translate(.02em,0)} 693 5.2%,100%{opacity:0;transform:none} 694 } 695 .x3-sub{ 696 font-family:var(--display);font-size:calc(var(--x3u)*54);line-height:1; 697 letter-spacing:-.015em;text-transform:uppercase;margin:0;color:var(--bone); 698 } 699 .x3-sub em{font-style:normal;color:var(--accent-lift)} 700 .x3-blurb{ 701 font-size:max(15px, calc(var(--x3u)*18));line-height:1.6;color:rgba(239,236,230,.78); 702 max-width:46ch;margin:calc(var(--x3u)*26) 0 0; 703 } 704 .x3-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap} 705 .x3-status{ 706 display:flex;background:rgba(23,19,15,.62); 707 backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px); 708 border:1px solid var(--hairline);margin:0; 709 clip-path:polygon(0 0,100% 0,100% 100%,calc(var(--x3u)*26) 100%,0 calc(100% - var(--x3u)*26)); 710 } 711 .x3-status > div{ 712 padding:calc(var(--x3u)*15) calc(var(--x3u)*24) calc(var(--x3u)*17); 713 border-right:1px solid var(--hairline); 714 } 715 .x3-status > div:last-child{border-right:none} 716 .x3-status dt{ 717 font-family:var(--mono);font-size:max(9px, calc(var(--x3u)*10));letter-spacing:.16em; 718 text-transform:uppercase;color:var(--muted);margin:0 0 calc(var(--x3u)*7); 719 } 720 .x3-status dd{ 721 margin:0;font-family:var(--display);font-size:max(15px, calc(var(--x3u)*22));line-height:1; 722 text-transform:uppercase;color:var(--bone);font-variant-numeric:tabular-nums; 723 } 724 .x3-status dd.on{color:var(--accent-lift)} 725 .x3-vault{ 726 font-family:var(--mono);font-size:max(10.5px, calc(var(--x3u)*12));letter-spacing:.14em; 727 text-transform:uppercase;color:rgba(239,236,230,.62); 728 background:none;border:none;border-bottom:1px solid var(--hairline); 729 display:inline-flex;align-items:center;gap:9px;
729cursor:pointer; 730 padding:calc(var(--x3u)*10) 0; 731 transition:color var(--x3dur) var(--x3ease),border-color var(--x3dur) var(--x3ease); 732 } 733 .x3-vault:hover{color:var(--bone);border-color:var(--accent-lift)} 734 .x3-ticker{ 735 position:absolute;left:0;right:0;bottom:0;border-top:1px solid var(--hairline); 736 background:rgba(23,19,15,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px); 737 overflow:hidden;padding:calc(var(--x3u)*9) 0;display:flex;white-space:nowrap; 738 } 739 .x3-ticker ul{ 740 display:flex;gap:calc(var(--x3u)*34);margin:0;padding:0 calc(var(--x3u)*17); 741 list-style:none;flex-shrink:0;animation:x3slidex 34s linear infinite; 742 } 743 .x3-ticker li{ 744 font-family:var(--mono);font-size:max(9.5px, calc(var(--x3u)*11));letter-spacing:.18em; 745 text-transform:uppercase;color:rgba(239,236,230,.55); 746 } 747 .x3-ticker li b{color:var(--accent-lift);font-weight:600} 748 @keyframes x3slidex{to{transform:translateX(-100%)}} 749 .x3-rise{opacity:0;transform:translateY(calc(var(--x3u)*22))} 750 .x3-play .x3-rise{animation:x3rise var(--x3dur) var(--x3ease) var(--delay,0s) both} 751 @keyframes x3rise{to{opacity:1;transform:none}} 752 .x3 a:focus-visible,.x3 button:focus-visible,.x3 input:focus-visible{ 753 outline:2px solid var(--accent-lift);outline-offset:3px; 754 } 755 @media (prefers-reduced-motion: reduce){ 756 .x3-bg{transition:none;transform:none} 757 .x3-bg img{animation:none;opacity:0;transform:scale(1.04)} 758 .x3-bg img:nth-child(1){opacity:1} 759 .x3-glitch::before,.x3-glitch::after, 760 .x3-play .x3-glitch::before,.x3-play .x3-glitch::after{animation:none;opacity:0} 761 .x3-rise,.x3-play .x3-rise{opacity:1;transform:none;animation:none} 762 .x3-wipe > .inner,.x3-play .x3-wipe > .inner{opacity:1;animation:none} 763 .x3-wipe::after,.x3-play .x3-wipe::after{display:none} 764 .x3-eyebrow::before{animation:none} 765 .x3-ticker ul{animation:none} 766 .x3-cta,.x3-cta::before{transition:none} 767 } 768 @media (min-width:721px) and (max-width:1100px){ 769 .x3-title{font-size:19vw} 770 .x3-sub{font-size:5vw} 771 } 772 @media (max-width:720px){ 773 .x3{padding:22px 18px calc(22px + 34px)} 774 .x3-mark img{height:38px} 775 .x3-cta{padding:11px 15px;letter-spacing:.08em} 776 .x3-ghost{padding:11px 13px;letter-spacing:.1em} 777 .x3-actions{gap:8px} 778 .x3-title{font-size:26vw;margin-left:-.05em} 779 .x3-sub{font-size:7.4vw} 780 .x3-bottom{flex-direction:column;align-items:stretch;gap:16px} 781 .x3-status{flex-direction:column} 782 .x3-status > div{border-right:none;border-bottom:1px solid var(--hairline)} 783 .x3-status > div:last-child{border-bottom:none} 784 .x3-vault{justify-content:flex-start} 785 } 786 `}),t.jsxs("div",{className:`x3${s?" x3-play":""}`,children:[t.jsx("div",{className:"x3-bg",ref:e,children:ey.map((f,g)=>t.jsx("img",{src:f.src,alt:f.alt,"aria-hidden":g>0||void 0,loading:g===0?"eager":"lazy"},f.src))}),t.jsx("canvas",{className:"x3-grain",ref:n,"aria-hidden":"true"}),t.jsxs("div",{className:"x3-top",children:[t.jsx("div",{className:"x3-mark x3-rise",style:{"--delay":".05s"},children:t.jsx("img",{src:"/bsindorelogo-wobg.png",alt:"BSides Indore"})}),t.jsxs("div",{className:"x3-actions",children:[t.jsx("button",{className:"x3-ghost x3-rise",style:{"--delay":".10s"},"aria-label":"Edition Vault",onClick:()=>r("/vault"),children:t.jsx(lo,{text:"â Edition Vault"})}),t.jsx("button",{className:"x3-cta x3-rise",style:{"--delay":".16s"},"aria-label":"Notify me",onClick:()=>o(f=>!f),"aria-expanded":a,children:t.jsx("span",{children:t.jsx(lo,{text:"Notify me"})})})]})]}),t.jsxs("div",{className:"x3-centre",children:[t.jsx("p",{className:"x3-eyebrow x3-rise",style:{"--delay":".12s"},children:"Third Edition · In development"}),t.jsx("h1",{className:"x3-title x3-wipe",style:{"--delay":".20s"},children:t.jsx("span",{className:"inner",children:t.jsx("span",{className:"x3-glitch","data-text":"X3",children:"X3"})})}),t.jsx("p",{className:"x3-sub x3-wipe",style:{"--delay":".38s"},children:t.jsxs("span",{className:"inner",children:["Indore ",t.jsx("em",{children:"2027"})]})}),t.jsx("p",{className:"x3-blurb x3-rise",style:{"--delay":".62s"},children:"India's community security conference returns to the cleanest city in the country. Dates, venue and the call for papers are being locked in now."}),a&&t.jsx("form",{onSubmit:m,style:{marginTop:"calc(var(--x3u)*22)",display:"flex",flexWrap:"wrap",gap:8,maxWidth:"calc(var(--x3u)*520)"},children:h==="success"?t.jsx("p",{style:{fontFamily:"var(--mono)",fontSize:"max(12px, calc(var(--x3u)*13))",color:"var(--accent-lift)",letterSpacing:".1em",textTransform:"uppercase",margin:0},children:"You're on the list. We'll mail you when X3 opens."}):t.jsxs(t.Fragment,{children:[t.jsx("input",{id:"x3-name",value:l,onCh
786ange:f=>d(f.target.value),placeholder:"Name (optional)",autoComplete:"name",style:jc}),t.jsx("input",{id:"x3-email",value:c,onChange:f=>u(f.target.value),placeholder:"[email protected]",type:"email",required:!0,autoComplete:"email",style:jc}),t.jsx("button",{type:"submit",disabled:h==="loading",className:"x3-cta",children:t.jsx("span",{children:h==="loading"?"Sendingâ¦":"Keep me posted"})}),h==="error"&&t.jsx("p",{style:{width:"100%",margin:0,fontFamily:"var(--mono)",fontSize:12,color:"#f87171"},children:"That didn't go through. Try again in a moment."})]})})]}),t.jsxs("div",{className:"x3-bottom",children:[t.jsxs("dl",{className:"x3-status x3-rise",style:{"--delay":".70s"},children:[t.jsxs("div",{children:[t.jsx("dt",{children:"Dates"}),t.jsx("dd",{children:"TBA"})]}),t.jsxs("div",{children:[t.jsx("dt",{children:"Venue"}),t.jsx("dd",{children:"Indore"})]}),t.jsxs("div",{children:[t.jsx("dt",{children:"Call for papers"}),t.jsx("dd",{className:"on",children:"Opening soon"})]})]}),t.jsx("button",{className:"x3-vault x3-rise",style:{"--delay":".70s"},"aria-label":"Edition Vault",onClick:()=>r("/vault"),children:t.jsx(lo,{text:"â Edition Vault"})})]}),t.jsx("div",{className:"x3-ticker","aria-hidden":"true",children:[0,1].map(f=>t.jsx("ul",{children:ty.map((g,v)=>t.jsx("li",{children:g},v))},f))})]})]})},jc={flex:"1 1 160px",minWidth:0,background:"rgba(23,19,15,.72)",border:"1px solid var(--hairline)",color:"var(--bone)",fontFamily:"var(--mono)",fontSize:"max(12px, calc(var(--x3u)*13))",padding:"calc(var(--x3u)*14) calc(var(--x3u)*14)",borderRadius:2},su=42,zo=1400,ny=zo/su;function sy(r){const[e,n]=y.useState({kb:0,nodes:0});return y.useEffect(()=>{if(!r)return;const s=setInterval(()=>{n({kb:Math.random()*200+80,nodes:Math.floor(Math.random()*40+100)})},80);return()=>clearInterval(s)},[r]),e}const iy=({visible:r,label:e="INITIALIZING CYBER WORLD"})=>{const[n,s]=y.useState(!1),[i,a]=y.useState(!1),o=y.useRef(null),l=sy(r);return y.useEffect(()=>(r?(a(!1),s(!0)):n&&(a(!0),o.current=setTimeout(()=>s(!1),400)),()=>{o.current&&clearTimeout(o.current)}),[r]),n?t.jsxs("div",{style:{position:"fixed",inset:0,zIndex:9999,background:"#050810",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"1.4rem",opacity:i?0:1,transition:"opacity 0.4s ease",fontFamily:'"Share Tech Mono", "Courier New", monospace',pointerEvents:"none"},children:[t.jsx("style",{children:` 787 @keyframes bsi-shock-seg { 788 0% { height: 3px; opacity: 0.12; } 789 45% { height: 24px; opacity: 1; } 790 55% { height: 24px; opacity: 1; } 791 100% { height: 3px; opacity: 0.12; } 792 } 793 @keyframes bsi-shock-glow { 794 0%, 100% { box-shadow: 0 0 4px #22d3ee, 0 0 10px rgba(34,211,238,0.3); } 795 50% { box-shadow: 0 0 8px #22d3ee, 0 0 24px rgba(34,211,238,0.8), 0 0 40px rgba(139,92,246,0.4); } 796 } 797 @keyframes bsi-scan-label { 798 0% { opacity: 0.5; } 799 50% { opacity: 1; } 800 100% { opacity: 0.5; } 801 } 802 `}),t.jsx("div",{style:{fontSize:"0.75rem",letterSpacing:"0.4em",color:"rgba(34,211,238,0.45)",textTransform:"uppercase",fontFamily:'"Orbitron", monospace',fontWeight:900},children:"BSides Indore 2026"}),t.jsx("div",{style:{display:"flex",alignItems:"flex-end",gap:"4px",height:"28px"},children:Array.from({length:su},(d,c)=>{const u=c%7===0;return t.jsx("div",{style:{width:"5px",borderRadius:"1px",background:u?"#a78bfa":"#22d3ee",animation:`bsi-shock-seg ${zo}ms ease-in-out infinite, 803 bsi-shock-glow ${zo}ms ease-in-out infinite`,animationDelay:`${c*ny}ms`,height:"3px",alignSelf:"flex-end"}},c)})}),t.jsxs("div",{style:{fontSize:"0.65rem",color:"rgba(34,211,238,0.38)",letterSpacing:"0.18em"},children:["SYNC: ",l.kb.toFixed(2)," KB/s  | NODES: ",l.nodes,"  | MATRICES: 64"]}),t.jsxs("div",{style:{fontSize:"0.7rem",color:"rgba(167,139,250,0.7)",letterSpacing:"0.22em",textTransform:"uppercase",animation:"bsi-scan-label 1.2s ease-in-out infinite"},children:["// ",e]}),t.jsx("div",{style:{position:"absolute",inset:0,backgroundImage:"linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px)",backgroundSize:"54px 54px",pointerEvents:"none"}}),t.jsx("div",{style:{position:"absolute",inset:0,backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px)",pointerEvents:"none"}}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:"2px",background:"linear-gradient(90deg, transparent 0%, #8b5cf6 30%, #22d3ee 70%, transparent 100%)",boxShadow:"0 0 20px rgba(34,211,238,0.6)"}})]}):null},co='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',ay=({topClass:r="top-20"})=>{const{isMobile:e}=nn();return e?null:t.jsx("div",{className:`fixed ${r} right-6 z-[560] pointer-events-auto`,children:t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsxs("div",{className:"group relative",children:[t.jsxs("a",{href:"https://forms.gle/y8Ggq1KFNWabZ4yg8",target:"_blank",rel:"noopener noreferrer","aria-label":"Volunteer Form",className:"flex items-center justify-center w-16 h-16 bg-red-600/30 border-2 border-red-500 text-red-300 hover:bg-red-500/50 hover:text-red-100 hover:border-red-300 transition-all duration-500 rounded-full backdrop-blur-md hover:scale-110 relative overflow-hidden",style:{boxShadow:"0 0 20px rgba(239,68,68,0.4), inset 0 0 20px rgba(239,68,68,0.1)"},children:[t.jsx("div",{className:"absolute inset-1 rounded-full bg-black/80 backdrop-blur-sm"}),t.jsx("span",{className:"text-3xl relative z-10",children:"ð"})]}),t.jsx("div",{className:"absolute right-20 top-1/2 transform -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-all duration-300 pointer-events-none",children:t.jsxs("div",{className:"bg-red-600/95 text-white px-6 py-3 rounded-xl backdrop-blur-md border-2 border-red-400 whitespace-nowrap font-black tracking-wider text-sm uppercase shadow-2xl relative",style:{fontFamily:co},children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"text-lg",children:"ð"}),t.jsx("span",{children:"VOLUNTEER FORM"})]}),t.jsx("div",{className:"absolute left-full top-1/2 transform -translate-y-1/2 w-0 h-0 border-l-8 border-l-red-600/95 border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent"})]})})]}),t.jsxs("div",{className:"group relative",children:[t.jsxs("a",{href:"https://forms.gle/2nS6T8DMsLdorJ2g9",target:"_blank",rel:"noopener noreferrer","aria-label":"Ambassador Program",className:"flex items-center justify-center w-16 h-16 bg-cyan-600/30 border-2 border-cyan-500 text-cyan-300 hover:bg-cyan-500/50 hover:text-cyan-100 hover:border-cyan-300 transition-all duration-500 rounded-full backdrop-blur-md hover:scale-110 relative overflow-hidden",style:{boxShadow:"0 0 20px rgba(6,182,212,0.4), inset 0 0 20px rgba(6,182,212,0.1)"},children:[t.jsx("div",{className:"absolute inset-1 rounded-full bg-black/80 backdrop-blur-sm"}),t.jsx("span",{className:"text-3xl relative z-10",children:"ð"})]}),t.jsx("div",{className:"absolute right-20 top-1/2 transform -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-all duration-300 pointer-events-none",children:t.jsxs("div",{className:"bg-cyan-600/95 text-white px-6 py-3 rounded-xl backdrop-blur-md border-2 border-cyan-400 whitespace-nowrap font-black tracking-wider text-sm uppercase shadow-2xl relative",style:{fontFamily:co},children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"text-lg",children:"ð"}),t.jsx("span",{children:"AMBASSADOR PROGRAM"})]}),t.jsx("div",{className:"absolute left-full top-1/2 transform -translate-y-1/2 w-0 h-0 border-l-8 border-l-cyan-600/95 border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent"})]})})]}),t.jsxs("div",{className:"group relative",children:[t.jsxs("a",{href:"https://chat.whatsapp.com/LqiB84oShPtCdNvsNieKyW",target:"_blank",rel:"noopener noreferrer","aria-label":"WhatsApp Community",className:"flex items-center justify-center w-16 h-16 bg-green-600/30 border-2 border-green-500 text-green-300 hover:bg-green-500/50 hover:text-green-100 hover:border-green-300 transition-all duration-500 rounded-full backdrop-blur-md hover:scale-110 relative overflow-hidden",style:{boxShadow:"0 0 20px rgba(37,211,102,0.4), inset 0 0 20px rgba(37,211,102,0.1)"},children:[t.jsx("div",{className:"absolute inset-1 rounded-full bg-black/80 backdrop-blur-sm"}),t.jsx("span",{className:"relative z-10",children:t.jsx(ja,{size:30})})]}),t.jsx("div",{className:"absolute right-20 top-1/2 transform -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-all duration-300 pointer-events-none",children:t.jsxs("div",{className:"bg-green-600/95 text-white px-5 py-4 rounded-xl backdrop-blur-md border-2 border-green-400 whitespace-nowrap font-black tracking-wider text-sm uppercase shadow-2xl relative flex flex-col items-center gap-2",style:{fontFamily:co},children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(ja,{size:16}),t.jsx("span",{children:"WHATSAPP COMMUNITY"})]}),t.jsx("img",{src:"/media/whatsapp-community-qr.png",alt:"Scan to join the BSides Indore WhatsApp community",className:"w-24 h-24 rounded bg-white p-1"}),t.jsx("span",{className:"text-[0.6rem] font-normal normal-case tracking-normal opacity-80",children:"Scan or click to join"}),t.jsx("div",{className:"absolute left-full top-1/2 transform -translate-y-1/2 w-0 h-0 border-l-8 border-l-green-600/95 border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent"})]})})]}),t.jsx("div",{className:"mt-2 text-center",children:t.jsx("div",{className:"bg-black/80 backdrop-blur-md border border-white/20 rounded-lg px-3 py-2 text-white text-xs font-bold tracking-wider up
803percase",children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsx("span",{className:"w-2 h-2 bg-green-400 rounded-full animate-pulse"}),t.jsx("span",{children:"JOIN US"})]})})})]})})},nr='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',kt='"Share Tech Mono","Courier New",monospace',ra="#22d3ee",Wn="#fbbf24",xs="#4ade80",oy=()=>{const r=St(),{isMobile:e,isTablet:n}=nn(),[s,i]=y.useState(!1),[a,o]=y.useState(!0),[l,d]=y.useState(!1),[c,u]=y.useState(""),[h,p]=y.useState(""),[m,f]=y.useState("idle");y.useEffect(()=>{const w=setInterval(()=>o(I=>!I),530);return()=>clearInterval(w)},[]);const g=()=>{s||(i(!0),setTimeout(()=>r("/x2"),900))},v=async w=>{if(w.preventDefault(),!h.trim())return;f("loading");const{error:I}=await Ot.from("notify_signups").insert({email:h.trim().toLowerCase(),name:c.trim()||null,source:"x3_vault"});f(!I||I.code==="23505"?"success":"error")},j=e?"1fr":n?"1fr 1fr":"repeat(3, 1fr)",x={boxSizing:"border-box",padding:e?"18px 18px 16px":"26px 24px 22px",display:"flex",flexDirection:"column",gap:e?"10px":"13px",minHeight:e?0:320,textAlign:"left"};return t.jsxs(t.Fragment,{children:[t.jsx(iy,{visible:s,label:"INITIALIZING CYBER WORLD"}),t.jsx(ay,{topClass:"top-32"}),t.jsx("style",{children:` 804 @keyframes vlt-glow { 0%,100%{text-shadow:0 0 12px rgba(0,217,255,.9),0 0 30px rgba(0,217,255,.4);opacity:1} 50%{text-shadow:0 0 24px rgba(0,217,255,1),0 0 60px rgba(120,0,255,.6);opacity:.85} } 805 @keyframes vlt-flicker { 0%,100%{opacity:.85} 92%{opacity:.85} 93%{opacity:.3} 94%{opacity:.85} 96%{opacity:.5} 97%{opacity:.85} } 806 @keyframes vlt-run { 0%{transform:translateX(-100%)} 100%{transform:translateX(320%)} } 807 @keyframes vlt-g1 { 808 0%{clip-path:inset(0 0 92% 0);transform:translate(-2px,0);opacity:.9} 809 5%{clip-path:inset(38% 0 44% 0);transform:translate(2px,0)} 810 10%{clip-path:inset(70% 0 14% 0);transform:translate(-1px,0)} 811 15%{clip-path:inset(12% 0 76% 0);transform:translate(2px,0)} 812 20%,100%{clip-path:inset(0 0 0 0);transform:translate(0,0);opacity:0} 813 } 814 @keyframes vlt-g2 { 815 0%{clip-path:inset(52% 0 30% 0);transform:translate(2px,0);opacity:.55} 816 8%{clip-path:inset(20% 0 66% 0);transform:translate(-2px,0)} 817 16%{clip-path:inset(66% 0 18% 0);transform:translate(1px,0)} 818 20%,100%{opacity:0} 819 } 820 .vlt-enter { animation: vlt-glow 1.6s ease-in-out infinite; } 821 .vlt-welcome { animation: vlt-flicker 5s ease-in-out infinite; } 822 .vlt-gl { position: relative; display: inline-block; } 823 .vlt-gl::before, .vlt-gl::after { content: attr(data-text); position: absolute; inset: 0; font: inherit; letter-spacing: inherit; pointer-events: none; } 824 .vlt-gl::before { color: ${Wn}; animation: vlt-g1 6s steps(1) infinite; } 825 .vlt-gl::after { color: #f87171; animation: vlt-g2 6s steps(1) infinite; } 826 .vlt-card { transition: border-color .25s, box-shadow .25s, transform .25s; } 827 .vlt-card-live:hover { border-color: rgba(34,211,238,.7) !important; box-shadow: 0 0 46px rgba(34,211,238,.16); transform: translateY(-3px); } 828 .vlt-notify:hover { background: rgba(251,191,36,.2) !important; color: #fff !important; } 829 `}),t.jsxs("div",{className:"fixed inset-0 z-50 overflow-y-auto",style:{background:"linear-gradient(135deg, #0a0014 0%, #0d0028 40%, #001a2e 100%)"},children:[t.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(0,200,255,0.07) 1px, transparent 1px),linear-gradient(90deg, rgba(0,200,255,0.07) 1px, transparent 1px)",backgroundSize:"60px 60px"}}),t.jsx("div",{className:"absolute pointer-events-none",style:{width:384,height:384,borderRadius:"50%",opacity:.2,top:"4%",left:"3%",background:"radial-gradient(circle, #8b00ff 0%, transparent 70%)"}}),t.jsx("div",{className:"absolute pointer-events-none",style:{width:320,height:320,borderRadius:"50%",opacity:.15,bottom:"8%",right:"5%",background:"radial-gradient(circle, #00d9ff 0%, transparent 70%)"}}),t.jsxs("div",{style:{position:"relative",zIndex:2,minHeight:"100svh",display:"flex",flexDirection:"column",padding:e?"20px 16px 24px":"30px 40px 26px",maxWidth:1500,margin:"0 auto"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",fontFamily:kt,fontSize:e?9:11,
829color:"rgba(34,211,238,0.4)",letterSpacing:"0.08em",gap:12},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:3},children:[t.jsx("span",{children:"SYS://BSIDES.INDORE"}),!e&&t.jsx("span",{children:"VER: 2027.0.0"})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:3,textAlign:"right"},children:[!e&&t.jsx("span",{children:"PROTOCOL: SECURE"}),t.jsxs("span",{children:["STATUS: ",t.jsx("span",{style:{color:xs},children:"ONLINE"})]})]})]}),t.jsxs("div",{style:{marginTop:e?12:18,fontFamily:kt,fontSize:e?10:12,color:xs,letterSpacing:"0.05em"},children:["> ARCHIVE INDEX MOUNTED... 3 EDITIONS FOUND",t.jsx("span",{style:{opacity:a?1:0},children:"â"})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",marginTop:e?10:14},children:[t.jsx("p",{className:"vlt-welcome",style:{margin:"0 0 10px",fontFamily:nr,fontSize:e?8:11,letterSpacing:"0.26em",textTransform:"uppercase",color:"rgba(0,217,255,0.72)"},children:"Welcome to the Cleanest City of India"}),t.jsx("img",{src:"/bsindorelogo-wobg.png",alt:"BSides Indore",style:{height:e?46:74,width:"auto",display:"block",filter:"drop-shadow(0 0 18px rgba(0,217,255,0.9)) drop-shadow(0 0 40px rgba(120,0,255,0.5))"}}),t.jsx("h1",{style:{margin:e?"10px 0 6px":"16px 0 8px",fontFamily:nr,fontSize:e?25:46,fontWeight:900,letterSpacing:"0.13em",color:"#fff",textShadow:"0 0 60px rgba(34,211,238,0.35)"},children:"EDITION VAULT"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12,width:"min(420px, 80vw)"},children:[t.jsx("span",{style:{width:7,height:7,borderRadius:"50%",background:"rgba(34,211,238,.6)"}}),t.jsx("span",{style:{flex:1,height:1,background:"rgba(34,211,238,.4)"}}),t.jsx("span",{style:{width:7,height:7,borderRadius:"50%",background:"rgba(34,211,238,.6)"}})]}),t.jsx("p",{style:{margin:"12px 0 0",fontFamily:kt,fontSize:e?10:12,letterSpacing:"0.14em",color:"rgba(255,255,255,0.45)"},children:"SELECT AN EDITION TO ENTER"})]}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:j,gap:e?14:28,marginTop:e?20:34,width:"100%",maxWidth:1196,marginLeft:"auto",marginRight:"auto"},children:[t.jsxs("div",{className:"vlt-card vlt-card-live",onClick:()=>r("/archive/x1"),role:"button",tabIndex:0,onKeyDown:w=>{(w.key==="Enter"||w.key===" ")&&r("/archive/x1")},style:{...x,cursor:"pointer",background:"rgba(34,211,238,.04)",border:"1px solid rgba(34,211,238,.22)",borderTop:`2px solid ${ra}`},children:[t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:10},children:[t.jsx("span",{style:{fontFamily:nr,fontSize:e?24:40,fontWeight:900,letterSpacing:".06em",color:"#fff"},children:"2023"}),t.jsx("span",{style:{fontFamily:kt,fontSize:e?9.5:12,letterSpacing:".16em",color:"rgba(34,211,238,.75)"},children:"EDITION 01 · X1"})]}),t.jsx("span",{style:{alignSelf:"flex-start",padding:"3px 9px",border:"1px solid rgba(74,222,128,.4)",background:"rgba(74,222,128,.1)",fontFamily:kt,fontSize:10,letterSpacing:".14em",color:xs},children:"â ACCESS GRANTED"}),t.jsx("div",{style:{height:1,background:"rgba(34,211,238,.15)"}}),t.jsx("div",{style:{fontFamily:nr,fontSize:13,fontWeight:700,letterSpacing:".1em",color:ra},children:"PHOTO ARCHIVE"}),t.jsx("p",{style:{margin:0,fontFamily:kt,fontSize:e?11.5:12.5,lineHeight:1.65,color:"rgba(255,255,255,.62)"},children:"The first BSides Indore. Photographs from the floor, the talks, and the people who started it."}),t.jsx("div",{className:"vlt-enter",style:{marginTop:"auto",paddingTop:10,fontFamily:nr,fontSize:15,letterSpacing:".08em",color:"#67e8f9"},children:"⺠पà¥à¤°à¤µà¥à¤¶ · ENTER â"})]}),t.jsxs("div",{className:"vlt-card vlt-card-live",onClick:g,role:"button",tabIndex:0,onKeyDown:w=>{(w.key==="Enter"||w.key===" ")&&g()},style:{...x,cursor:"pointer",background:"rgba(34,211,238,.07)",border:"1px solid rgba(34,211,238,.45)",borderTop:`2px solid ${ra}`,boxShadow:"0 0 40px rgba(34,211,238,.1)"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:10},children:[t.jsx("span",{style:{fontFamily:nr,fontSize:e?24:40,fontWeight:900,letterSpacing:".06em",color:"#fff",textShadow:"0 0 24px rgba(34,211,238,.5)"},children:"2026"}),t.jsx("span",{style:{fontFamily:kt,fontSize:e?9.5:12,letterSpacing:".16em",color:"rgba(34,211,238,.75)"},children:"EDITION 02 · X2"})]}),t.jsx("span",{style:{alignSelf:"flex-start",padding:"3px 9px",border:"1px solid rgba(74,222,128,.4)",background:"rgba(74,222,128,.1)",fontFamily:kt,fontSize:10,letterSpacing:".14em",color:xs},children:"â ACCESS GRANTED"}),t.jsx("div",{style:{height:1,background:"rgba(34,211,238,.15)"}}),t.jsx("div",{style:{fontFamily:nr,fontSize:13,fontWeight:700,letterSpacing:".1em",color:ra},children:"FULL SITE ARCHIVE"}),t.jsx("p",{style:{margin:0,fontFamily:kt,fontSize:e?11.5:12.5,lineHeight:1.65,color:"rgba(255,255,255,.68)"},children:"6 September 2026, Jaal Sabha Grah. Nine talks, the keynote, the CXO panel, villages and CTF. The complete site, preserved."}),t.jsx("div",{style:{marginTop:"auto",paddingTop:10},children:t.jsx("div",{className:"vlt-enter",style:{fontFamily:nr,fontSize:15,letterSpacing:".08em",color:"#67e8f9"},children:s?"> ENTERING...":"⺠पà¥à¤°à¤µà¥à¤¶ · ENTER â"})})]}),t.jsxs("div",{className:"vlt-card vlt-card-live",onClick:()=>r("/"),role:"button",tabIndex:0,onKeyDown:w=>{(w.key==="Enter"||w.key===" ")&&r("/")},style:{...x,cursor:"pointer",background:"rgba(251,191,36,.03)",border:"1px solid rgba(251,191,36,.3)",borderTop:"2px solid rgba(251,191,36,.6)"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:10},children:[t.jsx("span",{className:"vlt-gl","data-text":"2027",style:{fontFamily:nr,fontSize:e?24:40,fontWeight:900,letterSpacing:".06em",color:"#fff"},children:"2027"}),t.jsx("span",{style:{fontFamily:kt,fontSize:e?9.5:12,letterSpacing:".16em",color:"rgba(251,191,36,.75)"},children:"EDITION 03 · X3"})]}),t.jsx("span",{style:{alignSelf:"flex-start",padding:"3px 9px",border:"1px solid rgba(251,191,36,.45)",background:"rgba(251,191,36,.1)",fontFamily:kt,fontSize:10,letterSpacing:".14em",color:Wn},children:"[ IN DEVELOPMENT ]"}),t.jsx("div",{style:{height:1,background:"rgba(251,191,36,.15)"}}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:7,fontFamily:kt,fontSize:11.5,letterSpacing:".06em"},children:[["SITE","BUILDING",!0],["CALL FOR PAPERS","NOT OPEN",!1],["VENUE","TBA",!1],["DATES","TBA",!1]].map(([w,I,R])=>t.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[t.jsx("span",{style:{color:"rgba(255,255,255,.4)"},children:w}),t.jsx("span",{style:{color:R?Wn:"rgba(255,255,255,.6)"},children:I})]},w))}),t.jsx("div",{style:{height:3,background:"rgba(251,191,36,.12)",overflow:"hidden",position:"relative"},children:t.jsx("div",{style:{position:"absolute",top:0,left:0,width:"30%",height:"100%",background:`linear-gradient(to right, transparent, ${Wn}, transparent)`,animation:"vlt-run 2.6s linear infinite"}})}),t.jsx("div",{style:{marginTop:"auto",paddingTop:10},children:m==="success"?t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:nr,fontSize:11,fontWeight:900,letterSpacing:".18em",color:Wn,marginBottom:4},children:"YOU'RE ON THE LIST"}),t.jsx("div",{style:{fontFamily:kt,fontSize:11.5,color:"rgba(255,255,255,.5)"},children:"We will tell you when X3 opens."})]}):l?t.jsxs("form",{onSubmit:v,style:{display:"flex",flexDirection:"column",gap:7},children:[t.jsx("input",{value:c,onChange:w=>u(w.target.value),placeholder:"Name (optional)",style:{width:"100%",boxSizing:"border-box",padding:"9px 11px",background:"rgba(251,191,36,.05)",border:"1px solid rgba(251,191,36,.28)",color:"rgba(255,255,255,.9)",fontFamily:kt,fontSize:12,outline:"none"}}),t.jsx("input",{value:h,onChange:w=>p(w.target.value),type:"email",required:!0,placeholder:"Email address *",style:{width:"100%",boxSizing:"border-box",padding:"9px 11px",background:"rgba(251,191,36,.05)",border:"1px solid rgba(251,191,36,.28)",color:"rgba(255,255,255,.9)",fontFamily:kt,fontSize:12,outline:"none"}}),m==="error"&&t.jsx("p",{style:{margin:0,fontFamily:kt,fontSize:11,color:"#f87171"},children:"Something went wrong. Try again."}),t.jsx("button",{type:"submit",className:"vlt-notify",disabled:m==="loading",style:{width:"100%",height:44,background:"rgba(251,191,36,.12)",border:"1px solid rgba(251,191,36,.5)",color:Wn,fontFamily:nr,fontSize:12,fontWeight:700,letterSpacing:".16em",curs
829or:"pointer",opacity:m==="loading"?.6:1},children:m==="loading"?"SUBMITTING...":"NOTIFY ME â"})]}):t.jsx("div",{className:"vlt-enter",style:{fontFamily:nr,fontSize:15,letterSpacing:".08em",color:Wn},children:"⺠पà¥à¤°à¤µà¥à¤¶ · ENTER â"})})]})]}),t.jsxs("div",{style:{marginTop:"auto",paddingTop:18,display:"flex",alignItems:"flex-end",justifyContent:"space-between",gap:12,fontFamily:kt,fontSize:e?9:11,flexWrap:"wrap"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,color:xs},children:[t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",background:xs,display:"inline-block"}}),"STATUS: ONLINE"]}),t.jsxs("div",{style:{textAlign:"center",color:"rgba(255,255,255,.32)",lineHeight:1.6,flex:1},children:[t.jsxs("div",{style:{color:"rgba(34,211,238,.7)",marginBottom:3},children:["ROOT@BSIDES:~#",t.jsx("span",{style:{opacity:a?1:0},children:"â"})]}),t.jsx("div",{children:"© 2026 BSides Indore⢠| All Rights Reserved"})]}),!e&&t.jsxs("div",{style:{textAlign:"right",color:"rgba(34,211,238,.45)",lineHeight:1.6},children:[t.jsx("div",{children:"EXPLOIT.KNOWLEDGE"}),t.jsx("div",{children:"DEFEND.INNOVATE"}),t.jsx("div",{children:"0x2027.INDORE"})]})]})]}),t.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{opacity:.1,backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,200,255,0.08) 2px, rgba(0,200,255,0.08) 4px)"}})]})]})},ly=()=>(y.useEffect(()=>{document.body.style.overflow="",document.body.style.height="",document.documentElement.style.overflow="",document.documentElement.style.touchAction=""},[]),t.jsx(oy,{})),pt='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',Fe={cyan:"#22d3ee",cyanGlow:"rgba(34,211,238,0.35)",gold:"#fbbf24",bg:"#080c14"},dt="/",It=[{src:`${dt}gallery/mobile-community-page.webp`,caption:"The queue before the chaos",aspect:"portrait"},{src:`${dt}gallery/mobile-world-view.webp`,caption:"Yes, we all read the badge upside down",aspect:"portrait"},{src:`${dt}gallery/screenshot-04.webp`,caption:"Pretending to understand the talk",aspect:"portrait"},{src:`${dt}gallery/screenshot-05.webp`,caption:"Free WiFi password: itsnotpwned123",aspect:"portrait"},{src:`${dt}gallery/screenshot-06.webp`,caption:"CTF? More like Can't Think Further",aspect:"portrait"},{src:`${dt}gallery/screenshot-07.webp`,caption:"Every laptop here has stickers",aspect:"portrait"},{src:`${dt}gallery/screenshot-08.webp`,caption:"Networking, not the TCP/IP kind",aspect:"portrait"},{src:`${dt}gallery/screenshot-09.webp`,caption:"3 talks in and already questioning career choices",aspect:"portrait"},{src:`${dt}gallery/screenshot-10.webp`,caption:'The "I found a bug" face',aspect:"portrait"},{src:`${dt}gallery/screenshot-11.webp`,caption:"Socially engineering the snack table",aspect:"portrait"},{src:`${dt}gallery/screenshot-12.webp`,caption:"Vibes: hacker. Reality: google.com",aspect:"portrait"},{src:`${dt}gallery/screenshot-13.webp`,caption:'When the speaker says "demo time"',aspect:"portrait"},{src:`${dt}gallery/screenshot-14.webp`,caption:"Officially too cool for CVEs",aspect:"portrait"},{src:`${dt}gallery/screenshot-15.webp`,caption:"Indore x InfoSec, origin story",aspect:"portrait"},{src:`${dt}gallery/latest.webp`,caption:"Last seen: somewhere between talks",aspect:"portrait"}],cy=` 830 @keyframes glr-float { 831 0%, 100% { transform: translateY(0px); } 832 50% { transform: translateY(-6px); } 833 } 834 .glr-spsr-card { 835 transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; 836 animation: glr-float 3.4s ease-in-out infinite; 837 } 838 .glr-spsr-card:hover { 839 animation: none; 840 transform: translateY(-3px); 841 } 842 @keyframes glr-blink { 843 0%, 49% { opacity: 1; } 844 50%, 100% { opacity: 0; } 845 } 846 @keyframes glr-scanline { 847 0% { transform: translateY(-100%); } 848 100% { transform: translateY(100vh); } 849 } 850 851 .glr-card { 852 position: relative; 853 overflow: hidden; 854 border: 1px solid rgba(34,211,238,0.15); 855 border-radius: 6px; 856 cursor: pointer; 857 transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; 858 break-inside: avoid; 859 margin-bottom: 0.75rem; 860 } 861 .glr-card:hover { 862 border-color: rgba(34,211,238,0.6); 863 box-shadow: 0 0 20px rgba(34,211,238,0.2), 0 4px 24px rgba(0,0,0,0.5); 864 transform: translate(0, -2px); 865 } 866 .glr-card img { 867 display: block; 868 width: 100%; 869 height: auto; 870 filter: brightness(0.92) saturate(0.95); 871 transition: filter 0.25s; 872 } 873 .glr-card:hover img { 874 filter: brightness(1.08) saturate(1.15); 875 } 876 .glr-scanline-overlay { 877 position: absolute; 878 inset: 0; 879 pointer-events: none; 880 background: repeating-linear-gradient( 881 0deg, 882 transparent, 883 transparent 3px, 884 rgba(0,0,0,0.08) 3px, 885 rgba(0,0,0,0.08) 4px 886 ); 887 opacity: 0; 888 transition: opacity 0.2s; 889 border-radius: 6px; 890 } 891 .glr-card:hover .glr-scanline-overlay { opacity: 1; } 892 893 .glr-caption { 894 position: absolute; 895 bottom: 0; left: 0; right: 0; 896 padding: 0.6rem 0.75rem; 897 background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); 898 font-family: "Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace; 899 font-size: 0.6rem; 900 font-weight: 900; 901 letter-spacing: 0.15em; 902 color: rgba(255,255,255,0.85); 903 text-transform: uppercase; 904 opacity: 0; 905 transition: opacity 0.2s; 906 } 907 .glr-card:hover .glr-caption { opacity: 1; } 908 909 /* Lightbox */ 910 .glr-lb-prev, .glr-lb-next { 911 position: absolute; 912 top: 50%; 913 transform: translateY(-50%); 914 background: rgba(0,0,0,0.6); 915 border: 1px solid rgba(34,211,238,0.4); 916 color: #22d3ee; 917 font-size: 1.5rem; 918 width: 44px; height: 44px; 919 border-radius: 4px; 920 cursor: pointer; 921 display: flex; align-items: center; justify-content: center; 922 transition: background 0.2s, border-color 0.2s; 923 z-index: 2; 924 font-weight: 900; 925 } 926 .glr-lb-prev:hover, .glr-lb-next:hover { 927 background: rgba(34,211,238,0.15); 928 border-color: rgba(34,211,238,0.8); 929 }
930 .glr-lb-prev { left: -60px; } 931 .glr-lb-next { right: -60px; } 932 933 @media (max-width: 640px) { 934 .glr-lb-prev { left: 8px; } 935 .glr-lb-next { right: 8px; } 936 } 937`,dy=()=>{const r=St(),{isMobile:e,isTablet:n}=nn(),[s,i]=y.useState(null);y.useEffect(()=>{const l=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",l&&(l.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",l&&(l.style.height="")}},[]);const a=y.useCallback(l=>{s!==null&&(l.key==="Escape"&&i(null),l.key==="ArrowRight"&&i(d=>d!==null?(d+1)%It.length:null),l.key==="ArrowLeft"&&i(d=>d!==null?(d-1+It.length)%It.length:null))},[s]);y.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)),[a]);const o=e?1:n?2:3;return t.jsxs("div",{style:{background:Fe.bg,minHeight:"100vh",color:"#fff"},children:[t.jsx("style",{children:cy}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:`linear-gradient(rgba(34,211,238,0.03) 1px, transparent 1px), 938 linear-gradient(90deg, rgba(34,211,238,0.03) 1px, transparent 1px)`,backgroundSize:"56px 56px"}}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 80% 40% at 50% 0%, rgba(34,211,238,0.05) 0%, transparent 70%)"}}),[["top-4 left-4","border-t border-l"],["top-4 right-4","border-t border-r"],["bottom-4 left-4","border-b border-l"],["bottom-4 right-4","border-b border-r"]].map(([l,d])=>t.jsx("div",{className:`fixed ${l} w-6 h-6 ${d} pointer-events-none`,style:{borderColor:"rgba(34,211,238,0.2)"}},l)),t.jsxs("div",{className:"relative z-10 mx-auto",style:{maxWidth:1100,padding:e?"5rem 1rem 3.5rem":"5rem 2rem 5rem"},children:[t.jsxs("div",{style:{textAlign:"center",marginBottom:e?"3rem":"4rem"},children:[t.jsx("span",{style:{fontFamily:pt,color:Fe.cyan,fontSize:"0.62rem",letterSpacing:"0.28em",fontWeight:900,opacity:.8,display:"block",marginBottom:"0.85rem"},children:"BSIDES INDORE · 2023 · EDITION 01"}),t.jsx($t,{as:"h1",text:"X1 ARCHIVE",style:{fontFamily:pt,fontSize:e?"clamp(2rem, 8vw, 2.8rem)":"4.5rem",fontWeight:900,letterSpacing:"0.06em",color:"#ffffff",textShadow:`0 0 50px ${Fe.cyanGlow}, 0 0 100px rgba(34,211,238,0.1)`,marginBottom:"1rem",textTransform:"uppercase",display:"inline-block"},glitchMinMs:45e3,glitchMaxMs:105e3,glitchDurationMs:650}),t.jsx("div",{style:{height:2,width:60,background:`linear-gradient(to right, transparent, ${Fe.cyan}, transparent)`,margin:"0 auto 1.25rem"}}),t.jsx("p",{style:{color:"rgba(255,255,255,0.7)",fontSize:"0.85rem",lineHeight:1.75,fontFamily:"system-ui, sans-serif",maxWidth:520,margin:"0 auto"},children:"The first BSides Indore happened in 2023 and Indore's security community answered louder than anyone expected. This is what that day looked like."})]}),t.jsx("div",{style:{margin:e?"0 0 2.5rem":"0 0 3rem"},children:t.jsx(Vt,{bg:Fe.bg,style:{margin:"0 auto",maxWidth:980}})}),t.jsx("div",{style:{display:"flex",justifyContent:"center",gap:e?"1.5rem":"3rem",marginBottom:e?"2.5rem":"3.5rem",flexWrap:"wrap"},children:[{label:"Edition",value:"X1"},{label:"City",value:"Indore"},{label:"Year",value:"2023"}].map(l=>t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:pt,fontWeight:900,fontSize:e?"1.4rem":"1.8rem",color:Fe.cyan,textShadow:`0 0 20px ${Fe.cyanGlow}`,lineHeight:1},children:l.value}),t.jsx("div",{style:{fontFamily:pt,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.72)",textTransform:"uppercase",marginTop:"0.25rem"},children:l.label})]},l.label))}),t.jsxs("div",{style:{marginBottom:e?"2.5rem":"3.5rem"},children:[t.jsx("p",{style:{color:"rgba(255,255,255,0.75)",fontSize:"0.9rem",lineHeight:1.8,fontFamily:"system-ui, sans-serif",textAlign:"center",maxWidth:620,margin:"0 auto 2rem auto"},children:"BSides Indore X1 exceeded every expectation. The auditorium filled beyond capacity, practitioners came in to speak, and Indore's security community found its home. Real knowledge, real connections, real impact."}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"repeat(3, 1fr)",gap:"1rem"},children:[{num:"01",label:"COMMUNITY AT THE CORE",desc:"Students, professionals, and researchers came together under one roof. Every session was packed, every table full, every conversation alive with ideas and connections that lasted."},{num:"02",label:"LEARNING THAT STUCK",desc:"From cloud threat hunting to browser security and bug bounty walkthroughs, attendees left with real skills. The Lockpicking Village made hands-on learning impossible to forget."},{num:"03",label:"A PLATFORM THAT GREW",desc:"X1 established BSides Indore as Central India's premier security gathering. The connections made and the community built here are the foundation X2 stands on."}].map(l=>t.jsxs("div",{style:{border:"1px solid rgba(34,211,238,0.1)",borderRadius:6,padding:"1.25rem",background:"rgba(34,211,238,0.02)"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem",marginBottom:"0.5rem"},children:[t.jsx("span",{style:{fontFamily:pt,fontSize:"0.58rem",fontWeight:900,color:Fe.cyan,opacity:.7},children:l.num}),t.jsx("span",{style:{fontFamily:pt,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.85)",textTransform:"uppercase"},children:l.label})]}),t.jsx("p",{style:{color:"rgba(255,255,255,0.65)",fontSize:"0.8rem",lineHeight:1.65,fontFamily:"system-ui, sans-serif",margin:0},children:l.desc})]},l.num))})]}),t.jsxs("div",{style:{marginBottom:e?"2.5rem":"3.5rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"1.5rem"},children:[t.jsx("div",{style:{flex:1,height:1,background:"rgba(251,191,36,0.2)"}}),t.jsx("span",{style:{fontFamily:pt,fontSize:"1.1rem",fontWeight:900,letterSpacing:"0.22em",color:Fe.gold,textTransform:"uppercase",whiteSpace:"nowrap",textShadow:"0 0 18px rgba(251,191,36,0.4)"},children:"X1 SPONSORS"}),t.jsx("div",{style:{flex:1,height:1,background:"rgba(251,191,36,0.2)"}})]}),t.jsx("p",{style:{textAlign:"center",color:"rgba(255,255,255,0.55)",fontSize:"0.8rem",fontFamily:"system-ui, sans-serif",marginBottom:"1.5rem"},children:"These organizations made BSides Indore X1 possible."}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(160px, 200px))",justifyContent:"center",gap:"1rem"},children:[{src:`${dt}media/past-sponsors/altered-security.png`,label:"Altered Security",href:"https://www.alteredsecurity.com"},{src:`${dt}media/past-sponsors/cloudsek.png`,label:"CloudSEK",href:"https://cloudsek.com"},{src:`${dt}media/past-sponsors/hackthebox.webp`,label:"Hack The Box",href:"https://www.hackthebox.com"},{src:`${dt}media/past-sponsors/blackperl.png`,label:"BlackPerl",href:"https://blackperldfir.com/"},{src:`${dt}media/past-sponsors/offsec.webp`,label:"OffSec",href:"https://www.offsec.com"}].map((l,d)=>t.jsx("a",{href:l.href,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",display:"block"},children:t.jsxs("div",{className:"glr-spsr-card",style:{background:"rgba(251,191,36,0.05)",border:"1px solid rgba(251,191,36,0.2)",borderTop:`2px solid ${Fe.gold}`,padding:"1.25rem 1rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.6rem",borderRadius:4,animationDelay:`${d*.6}s`},onMouseEnter:c=>{const u=c.currentTarget;u.style.borderColor="rgba(251,191,36,0.6)",u.style.boxShadow="0 0 20px rgba(251,191,36,0.18)",u.style.background="rgba(251,191,36,0.09)"},onMouseLeave:c=>{const u=c.currentTarget;u.style.borderColor="rgba(251,191,36,0.2)",u.style.boxShadow="",u.style.background="rgba(251,191,36,0.05)"},children:[t.jsx("div",{style:{height:80,display:"flex",alignItems:"center",justifyContent:"center",width:"100%"},children:t.jsx("img",{src:l.src,alt:l.label,loading:"lazy",style:{maxWidth:"85%",maxHeight:64,width:"auto",height:"auto",objectFit:"contain",display:"block",margin:"0 auto",filter:"brightness(0.95) saturate(0.9)",transition:"filter 0.2s"},onMouseEnter:c=>{c.currentTarget.style.filter="brightness(1.1) saturate(1)"},onMouseLeave:c=>{c.currentTarget.style.filter="brightness(0.95) saturate(0.9)"}})}),t.jsx("div",{style:{fontFamily:pt,fontSize:"0.55rem",fontWeight:900,letterSpacing:"0.15em",color:`${Fe.gold}bb`,textTransform:"uppercase",textAlign:"center"},children:l.label})]})},l.src))})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:e?"2rem":"2.5rem"},children:[t.jsx("div",{style:{flex:1,height:1,background:"rgba(34,211,238,0.1)"}}),t.jsx("span",{style:{fontFamily:pt,fontSize:"0.55rem",fontWeight:900,letterSpacing:"0.28em",color:"rgba(255,255,255,0.58)",textTransform:"uppercase",whiteSpace:"nowrap"},children:"PHOTO ARCHIVE"}),t.jsx("div",{style:{flex:1,height:1,background:"rgba(34,211,238,0.1)"}})]}),It.length===0?t.jsx("div",{style:{textAlign:"center",padding:e?"3rem 1rem":"5rem 2rem"},children:t.jsxs("div",{style:{display:"inline-block",border:`1px solid ${Fe.cyan}40`,background:`${Fe.cyan}08`,borderRadius:8,padding:e?"2.5rem 2rem":"3.5rem 4rem",position:"relative",overflow:"hidden",maxWidth:520,width:"100%"},children:[t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:80,background:`linear-gradient(to bottom, ${Fe.cyan}08, transparent)`,animation:"glr-scanline 4s linear infinite",pointerEvents:"none"}}),t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",background:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(34,211,238,0.03) 3px, rgba(34,211,238,0.03) 4px)"}}),t.jsx("div",{style:{fontFamily:pt,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.3em",color:"rgba(255,255,255,0.62)",marginBottom:"1.25rem",textTransform:"uppercase"},children:"ACCESS LEVEL: PUBLIC"}),t.jsx("div",{style:{display:"inline-block",fontFamily:pt,fontSize:e?"1.4rem":"1.8rem",fontWeight:900,letterSpacing:"0.2em",color:Fe.cyan,textShadow:`0 0 20px ${Fe.cyanGlow}`,marginBottom:"1rem"},children:"[CLASSIFIED]"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.4rem",marginBottom:"1.5rem"},children:[t.jsx("span",{style:{fontFamily:pt,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.6)",textTransform:"uppercase"},children:"DECLASSIFICATION IN PROGRESS"}),t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",backgroundColor:Fe.cyan,boxShadow:`0 0 8px ${Fe.cyan}`,display:"inline-block",animation:"glr-blink 1.1s steps(1) infinite",flexShrink:0}})]}),t.jsx("p",{style:{color:"rgba(255,255,255,0.5)",fontSize:"0.82rem",lineHeight:1.7,fontFamily:"system-ui, sans-serif",margin:0},children:"X1 event footage is being processed and cleared for public release. Photos will appear here shortly."}),t.jsx("div",{style:{marginTop:"1.5rem",fontFamily:pt,fontSize:"0.58rem",letterSpacing:"0.2em",color:"rgba(255,255,255,0.2)",textTransform:"uppercase"},children:"ETA: INCOMING · STAND BY"})]})}):t.jsx("div",{style:{columns:o,columnGap:"0.75rem"},children:It.map((l,d)=>t.jsxs("div",{className:"glr-card",onClick:()=>i(d),role:"button",tabIndex:0,"aria-label":l.caption??`X1 archive photo ${d+1}`,onKeyDown:c=>{(c.key==="Enter"||c.key===" ")&&i(d)},children:[t.jsx("img",{src:l.src,alt:l.caption??`BSides Indore X1, photo ${d+1}`,loading:d<4?"eager":"lazy",decoding:"async",style:{aspectRatio:l.aspect==="portrait"?"3/4":"4/3",objectFit:"cover"},onError:c=>{const u=c.currentTarget;u.style.background="rgba(34,211,238,0.05)",u.style.minHeight="200px",u.removeAttribute("src")}}),t.jsx("div",{className:"glr-scanline-overlay"}),l.caption&&t.jsx("div",{className:"glr-caption",children:l.caption}),t.jsx("div",{style:{position:"absolute",top:6,right:6,width:14,height:14,borderTop:`2px solid ${Fe.cyan}`,borderRight:`2px solid ${Fe.cyan}`,opacity:.6,pointerEvents:"none"}})]},d))}),s!==null&&It[s]&&t.jsxs("div",{onClick:()=>i(null),style:{position:"fixed",inset:0,zIndex:9999,background:"rgba(0,0,0,0.95)",display:"flex",alignItems:"center",justifyContent:"center",backdropFilter:"blur(4px)"},children:[t.jsx("button",{onClick:()=>i(null),"aria-label":"Close",style:{position:"absolute",top:20,right:20,fontFamily:pt,fontWeight:900,fontSize:"0.7rem",letterSpacing:"0.15em",color:Fe.cyan,background:"rgba(0,0,0,0.7)",border:`1px solid ${Fe.cyan}50`,borderRadius:4,padding:"0.4rem 0.8rem",cursor:"pointer",zIndex:2,textTransform:"uppercase"},children:"CLOSE Ã"}),It[s].caption&&t.jsx("div",{style:{position:"absolute",top:20,left:"50%",transform:"translateX(-50%)",fontFamily:pt,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.6)",textTransform:"uppercase",zIndex:2},children:It[s].caption}),t.jsxs("div",{style:{position:"relative"},onClick:l=>l.stopPropagation(),children:[It.length>1&&t.jsx("button",{className:"glr-lb-prev","aria-label":"Previous",onClick:()=>i(l=>l!==null?(l-1+It.length)%It.length:null),children:"â¹"}),t.jsx("img",{src:It[s].src,alt:It[s].caption??`X1 photo ${s+1}`,decoding:"async",style:{maxWidth:"90vw",maxHeight:"88vh",border:`1px solid ${Fe.cyan}30`,borderRadius:6,boxShadow:"0 0 60px rgba(34,211,238,0.1), 0 20px 80px rgba(0,0,0,0.8)",display:"block"}}),It.length>1&&t.jsx("button",{className:"glr-lb-next","aria-label":"Next",onClick:()=>i(l=>l!==null?(l+1)%It.length:null),children:"âº"})]}
938),t.jsxs("div",{style:{position:"absolute",bottom:20,left:"50%",transform:"translateX(-50%)",fontFamily:pt,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.62)",textTransform:"uppercase",zIndex:2},children:[s+1," / ",It.length]})]}),t.jsxs("div",{style:{textAlign:"center",marginTop:e?"3rem":"4.5rem",paddingTop:"2rem",borderTop:"1px solid rgba(34,211,238,0.1)"},children:[t.jsx("p",{style:{fontFamily:pt,fontSize:"0.6rem",letterSpacing:"0.25em",color:"rgba(255,255,255,0.58)",marginBottom:"1rem",textTransform:"uppercase"},children:"X2 EDITION · COMING 2026"}),t.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"0.75rem",flexDirection:e?"column":"row",alignItems:"center"},children:[t.jsx("button",{onClick:()=>r("/schedule"),style:{fontFamily:pt,background:Fe.cyan,color:"#000",padding:"0.8rem 2rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",border:"none",cursor:"pointer",borderRadius:6,boxShadow:`0 0 24px ${Fe.cyanGlow}`,textTransform:"uppercase"},children:"X2 SCHEDULE â"}),t.jsx("button",{onClick:()=>r("/sponsors/call-for-sponsors"),style:{fontFamily:pt,color:Fe.cyan,padding:"0.8rem 2rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",border:`1px solid ${Fe.cyan}50`,background:"transparent",cursor:"pointer",borderRadius:6,textTransform:"uppercase"},children:"PARTNER WITH US â"})]})]})]}),t.jsx(rt,{})]})},gt='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',Pe={cyan:"#22d3ee",cyanGlow:"rgba(34,211,238,0.35)",gold:"#fbbf24",bg:"#080c14"},Q="/",_t=[{src:`${Q}gallery-x2/x2-51.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-52.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-08.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-16.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-45.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-04.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-01.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-02.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-03.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-09.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-39.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-05.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-12.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-34.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-13.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-30.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-29.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-33.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-31.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-18.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-32.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-20.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-35.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-43.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-36.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-44.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-42.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-49.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-48.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-47.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-07.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-40.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-25.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-10.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-11.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-21.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-26.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-23.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-19.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-24.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-27.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-14.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-22.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-17.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-15.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-28.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-50.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-37.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-38.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-06.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-46.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-41.webp`,aspect:"portrait"},{src:`${Q}gallery-x2/x2-53.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-54.webp`,aspect:"landscape"},{src:`${Q}gallery-x2/x2-55.webp`,aspect:"landscape"}],uy=` 939 @keyframes glr-float { 940 0%, 100% { transform: translateY(0px); } 941 50% { transform: translateY(-6px); } 942 } 943 .glr-spsr-card { 944 transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; 945 animation: glr-float 3.4s ease-in-out infinite; 946 } 947 .glr-spsr-card:hover { 948 animation: none; 949 transform: translateY(-3px); 950 } 951 @keyframes glr-blink { 952 0%, 49% { opacity: 1; } 953 50%, 100% { opacity: 0; } 954 } 955 @keyframes glr-scanline { 956 0% { transform: translateY(-100%); } 957 100% { transform: translateY(100vh); } 958 } 959 960 .glr-card { 961 position: relative; 962 overflow: hidden; 963 border: 1px solid rgba(34,211,238,0.15); 964 border-radius: 6px; 965 cursor: pointer; 966 transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; 967 } 968 .glr-card:hover { 969 border-color: rgba(34,211,238,0.6); 970 box-shadow: 0 0 20px rgba(34,211,238,0.2), 0 4px 24px rgba(0,0,0,0.5); 971 transform: translate(0, -2px); 972 } 973 .glr-card img { 974 display: block; 975 width: 100%; 976 height: auto; 977 filter: brightness(0.92) saturate(0.95); 978 transition: filter 0.25s; 979 } 980 .glr-card:hover img { 981 filter: brightness(1.08) saturate(1.15); 982 } 983 .glr-scanline-overlay { 984 position: absolute; 985 inset: 0; 986 pointer-events: none; 987 background: repeating-linear-gradient( 988 0deg, 989 transparent, 990 transparent 3px, 991 rgba(0,0,0,0.08) 3px, 992 rgba(0,0,0,0.08) 4px 993 ); 994 opacity: 0; 995 transition: opacity 0.2s; 996 border-radius: 6px; 997 } 998 .glr-card:hover .glr-scanline-overlay { opacity: 1; } 999 1000 .glr-caption { 1001 position: absolute; 1002 bottom: 0; left: 0; right: 0; 1003 padding: 0.6rem 0.75rem; 1004 background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); 1005 font-family: "Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace; 1006 font-size: 0.6rem; 1007 font-weight: 900; 1008 letter-spacing: 0.15em; 1009 color: rgba(255,255,255,0.85); 1010 text-transform: uppercase; 1011 opacity: 0; 1012 transition: opacity 0.2s; 1013 } 1014 .glr-card:hover .glr-caption { opacity: 1; } 1015 1016 /* Lightbox */ 1017 .glr-lb-prev, .glr-lb-next { 1018 position: absolute; 1019 top: 50%; 1020 transform: translateY(-50%); 1021 background: rgba(0,0,0,0.6); 1022 border: 1px solid rgba(34,211,238,0.4); 1023 color: #22d3ee; 1024 font-size: 1.5rem; 1025 width: 44px; height: 44px; 1026 border-radius: 4px; 1027 cursor: pointer; 1028 display: flex; align-items: center; justify-content: center; 1029 transition: background 0.2s, border-color 0.2s; 1030 z-index: 2; 1031 font-weight: 900; 1032 } 1033 .glr-lb-prev:hover, .glr-lb-next:hover { 1034 background: rgba(34,211,238,0.15); 1035 border-color: rgba(34,211,238,0.8); 1036 }
1037 .glr-lb-prev { left: -60px; } 1038 .glr-lb-next { right: -60px; } 1039 1040 @media (max-width: 640px) { 1041 .glr-lb-prev { left: 8px; } 1042 .glr-lb-next { right: 8px; } 1043 } 1044`,hy=()=>{const r=St(),{isMobile:e,isTablet:n}=nn(),[s,i]=y.useState(null);y.useEffect(()=>{const c=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",c&&(c.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",c&&(c.style.height="")}},[]);const a=y.useCallback(c=>{s!==null&&(c.key==="Escape"&&i(null),c.key==="ArrowRight"&&i(u=>u!==null?(u+1)%_t.length:null),c.key==="ArrowLeft"&&i(u=>u!==null?(u-1+_t.length)%_t.length:null))},[s]);y.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)),[a]);const[o,l]=y.useState(()=>typeof window<"u"&&window.innerWidth>=1440);y.useEffect(()=>{const c=()=>l(window.innerWidth>=1440);return window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[]);const d=e?1:n?2:o?4:3;return t.jsxs("div",{style:{background:Pe.bg,minHeight:"100vh",color:"#fff"},children:[t.jsx("style",{children:uy}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{backgroundImage:`linear-gradient(rgba(34,211,238,0.03) 1px, transparent 1px), 1045 linear-gradient(90deg, rgba(34,211,238,0.03) 1px, transparent 1px)`,backgroundSize:"56px 56px"}}),t.jsx("div",{className:"fixed inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 80% 40% at 50% 0%, rgba(34,211,238,0.05) 0%, transparent 70%)"}}),[["top-4 left-4","border-t border-l"],["top-4 right-4","border-t border-r"],["bottom-4 left-4","border-b border-l"],["bottom-4 right-4","border-b border-r"]].map(([c,u])=>t.jsx("div",{className:`fixed ${c} w-6 h-6 ${u} pointer-events-none`,style:{borderColor:"rgba(34,211,238,0.2)"}},c)),t.jsxs("div",{className:"relative z-10 mx-auto",style:{maxWidth:1100,padding:e?"5rem 1rem 3.5rem":"5rem 2rem 5rem"},children:[t.jsxs("div",{style:{textAlign:"center",marginBottom:e?"3rem":"4rem"},children:[t.jsx("span",{style:{fontFamily:gt,color:Pe.cyan,fontSize:"0.62rem",letterSpacing:"0.28em",fontWeight:900,opacity:.8,display:"block",marginBottom:"0.85rem"},children:"BSIDES INDORE · 2026 · EDITION 02"}),t.jsx($t,{as:"h1",text:"X2 ARCHIVE",style:{fontFamily:gt,fontSize:e?"clamp(2rem, 8vw, 2.8rem)":"4.5rem",fontWeight:900,letterSpacing:"0.06em",color:"#ffffff",textShadow:`0 0 50px ${Pe.cyanGlow}, 0 0 100px rgba(34,211,238,0.1)`,marginBottom:"1rem",textTransform:"uppercase",display:"inline-block"},glitchMinMs:45e3,glitchMaxMs:105e3,glitchDurationMs:650}),t.jsx("div",{style:{height:2,width:60,background:`linear-gradient(to right, transparent, ${Pe.cyan}, transparent)`,margin:"0 auto 1.25rem"}}),t.jsx("p",{style:{color:"rgba(255,255,255,0.7)",fontSize:"0.85rem",lineHeight:1.75,fontFamily:"system-ui, sans-serif",maxWidth:520,margin:"0 auto"},children:"The second edition ran across 5 and 6 September 2026: technical trainings at IPS College Vijay Nagar, then the conference at Jaal Sabha Grah with nine talks, a keynote, the CXO panel, the villages and the CTF."})]}),t.jsx("div",{style:{margin:e?"0 0 2.5rem":"0 0 3rem"},children:t.jsx(Vt,{bg:Pe.bg,style:{margin:"0 auto",maxWidth:980}})}),t.jsx("div",{style:{display:"flex",justifyContent:"center",gap:e?"1.5rem":"3rem",marginBottom:e?"2.5rem":"3.5rem",flexWrap:"wrap"},children:[{label:"Edition",value:"X2"},{label:"City",value:"Indore"},{label:"Year",value:"2026"}].map(c=>t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:gt,fontWeight:900,fontSize:e?"1.4rem":"1.8rem",color:Pe.cyan,textShadow:`0 0 20px ${Pe.cyanGlow}`,lineHeight:1},children:c.value}),t.jsx("div",{style:{fontFamily:gt,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.72)",textTransform:"uppercase",marginTop:"0.25rem"},children:c.label})]},c.label))}),t.jsxs("div",{style:{marginBottom:e?"2.5rem":"3.5rem"},children:[t.jsx("p",{style:{color:"rgba(255,255,255,0.75)",fontSize:"0.9rem",lineHeight:1.8,fontFamily:"system-ui, sans-serif",textAlign:"center",maxWidth:620,margin:"0 auto 2rem auto"},children:"One stage, four parallel zones and a full day of programme. The CFP closed, the lineup was set, and X2 ran from badge pickup at 08:00 through to the networking party."}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:e?"1fr":"repeat(3, 1fr)",gap:"1rem"},children:[{num:"01",label:"THE MAIN STAGE",desc:"A keynote from Dhawal Shrivastava of Microsoft, nine CFP-selected talks spanning OSINT, LoRa mesh, MCP security, eBPF and ransomware BAS, and a CXO panel of five security leaders to close the main stage."},{num:"02",label:"HANDS ON THE HARDWARE",desc:"Hardware Hacking, Soldering and Lock Picking villages ran all day alongside the stage, with the CTF Arena powered by Altered Security on the CTF7 platform."},{num:"03",label:"CAREERS AND COMMUNITY",desc:"A sponsor-run resume clinic and hiring lounge ran through the day. The week before, a pre-conference talk brought in Michael Dahn, founder of Security BSides. The day ended with the networking party."}].map(c=>t.jsxs("div",{style:{border:"1px solid rgba(34,211,238,0.1)",borderRadius:6,padding:"1.25rem",background:"rgba(34,211,238,0.02)"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem",marginBottom:"0.5rem"},children:[t.jsx("span",{style:{fontFamily:gt,fontSize:"0.58rem",fontWeight:900,color:Pe.cyan,opacity:.7},children:c.num}),t.jsx("span",{style:{fontFamily:gt,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.85)",textTransform:"uppercase"},children:c.label})]}),t.jsx("p",{style:{color:"rgba(255,255,255,0.65)",fontSize:"0.8rem",lineHeight:1.65,fontFamily:"system-ui, sans-serif",margin:0},children:c.desc})]},c.num))})]}),t.jsxs("div",{style:{marginBottom:e?"2.5rem":"3.5rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"1.5rem"},children:[t.jsx("div",{style:{flex:1,height:1,background:"rgba(251,191,36,0.2)"}}),t.jsx("span",{style:{fontFamily:gt,fontSize:"1.1rem",fontWeight:900,letterSpacing:"0.22em",color:Pe.gold,textTransform:"uppercase",whiteSpace:"nowrap",textShadow:"0 0 18px rgba(251,191,36,0.4)"},children:"X2 SPONSORS"}),t.jsx("div",{style:{flex:1,height:1,background:"rgba(251,191,36,0.2)"}})]}),t.jsx("p",{style:{textAlign:"center",color:"rgba(255,255,255,0.55)",fontSize:"0.8rem",fontFamily:"system-ui, sans-serif",marginBottom:"1.5rem"},children:"These organizations made BSides Indore X2 possible."}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(160px, 200px))",justifyContent:"center",gap:"1rem"},children:[{src:`${Q}media/past-sponsors/cloudsek.png`,label:"CloudSEK",href:"https://cloudsek.com"},{src:`${Q}media/past-sponsors/altered-security.png`,label:"Altered Security",href:"https://www.alteredsecurity.com"},{src:`${Q}media/sponsors/taxation-investment.png`,label:"Taxation & Investment",href:"https://www.linkedin.com/company/taxation-and-investment/about/"},{src:`${Q}media/sponsors/vigilops.png`,label:"VigilOps",href:"https://vigilops.com/"}].map((c,u)=>t.jsx("a",{href:c.href,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",display:"block"},children:t.jsxs("div",{className:"glr-spsr-card",style:{background:"rgba(251,191,36,0.05)",border:"1px solid rgba(251,191,36,0.2)",borderTop:`2px solid ${Pe.gold}`,padding:"1.25rem 1rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.6rem",borderRadius:4,animationDelay:`${u*.6}s`},onMouseEnter:h=>{const p=h.currentTarget;p.style.borderColor="rgba(251,191,36,0.6)",p.style.boxShadow="0 0 20px rgba(251,191,36,0.18)",p.style.background="rgba(251,191,36,0.09)"},onMouseLeave:h=>{const p=h.currentTarget;p.style.borderColor="rgba(251,191,36,0.2)",p.style.boxShadow="",p.style.background="rgba(251,191,36,0.05)"},children:[t.jsx("div",{style:{height:80,display:"flex",alignItems:"center",justifyContent:"center",width:"100%"},children:t.jsx("img",{src:c.src,alt:c.label,loading:"lazy",style:{maxWidth:"85%",maxHeight:64,width:"auto",height:"auto",objectFit:"contain",display:"block",margin:"0 auto",filter:"brightness(0.95) saturate(0.9)",transition:"filter 0.2s"},onMouseEnter:h=>{h.currentTarget.style.filter="brightness(1.1) saturate(1)"},onMouseLeave:h=>{h.currentTarget.style.filter="brightness(0.95) saturate(0.9)"}})}),t.jsx("div",{style:{fontFamily:gt,fontSize:"0.55rem",fontWeight:900,letterSpacing:"0.15em",color:`${Pe.gold}bb`,textTransform:"uppercase",textAlign:"center"},children:c.label})]})},c.src))})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:e?"2rem":"2.5rem"},children:[t.jsx("div",{style:{flex:1,height:1,background:"rgba(34,211,238,0.1)"}}),t.jsx("span",{style:{fontFamily:gt,fontSize:"0.55rem",fontWeight:900,letterSpacing:"0.28em",color:"rgba(255,255,255,0.58)",textTransform:"uppercase",whiteSpace:"nowrap"},children:"PHOTO ARCHIVE"}),t.jsx("div",{style:{flex:1,height:1,background:"rgba(34,211,238,0.1)"}})]}),_t.length===0?t.jsx("div",{style:{textAlign:"center",padding:e?"3rem 1rem":"5rem 2rem"},children:t.jsxs("div",{style:{display:"inline-block",border:`1px solid ${Pe.cyan}40`,background:`${Pe.cyan}08`,borderRadius:8,padding:e?"2.5rem 2rem":"3.5rem 4rem",position:"relative",overflow:"hidden",maxWidth:520,width:"100%"},children:[t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:80,background:`linear-gradient(to bottom, ${Pe.cyan}08, transparent)`,animation:"glr-scanline 4s linear infinite",pointerEvents:"none"}}),t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",background:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(34,211,238,0.03) 3px, rgba(34,211,238,0.03) 4px)"}}),t.jsx("div",{style:{fontFamily:gt,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.3em",color:"rgba(255,255,255,0.62)",marginBottom:"1.25rem",textTransform:"uppercase"},children:"ACCESS LEVEL: PUBLIC"}),t.jsx("div",{style:{display:"inline-block",fontFamily:gt,fontSize:e?"1.4rem":"1.8rem",fontWeight:900,letterSpacing:"0.2em",color:Pe.cyan,textShadow:`0 0 20px ${Pe.cyanGlow}`,marginBottom:"1rem"},children:"[CLASSIFIED]"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.4rem",marginBottom:"1.5rem"},children:[t.jsx("span",{style:{fontFamily:gt,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.6)",textTransform:"uppercase"},children:"DECLASSIFICATION IN PROGRESS"}),t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",backgroundColor:Pe.cyan,boxShadow:`0 0 8px ${Pe.cyan}`,display:"inline-block",animation:"glr-blink 1.1s steps(1) infinite",flexShrink:0}})]}),t.jsx("p",{style:{color:"rgba(255,255,255,0.5)",fontSize:"0.82rem",lineHeight:1.7,fontFamily:"system-ui, sans-serif",margin:0},children:"X2 event footage is being processed and cleared for public release. Photos will appear here shortly."}),t.jsx("div",{style:{marginTop:"1.5rem",fontFamily:gt,fontSize:"0.58rem",letterSpacing:"0.2em",color:"rgba(255,255,255,0.2)",textTransform:"uppercase"},children:"ETA: INCOMING · STAND BY"})]})}):t.jsx("div",{style:{display:"flex",gap:"0.75rem",alignItems:"flex-start",width:e?"100%":"min(1560px, 94vw)",marginLeft:e?0:"50%",transform:e?"none":"translateX(-50%)"},children:Array.from({length:d},(c,u)=>t.jsx("div",{style:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:"0.75rem"},children:_t.map((h,p)=>({photo:h,idx:p})).filter(({idx:h})=>h%d===u).map(({photo:h,idx:p})=>t.jsxs("div",{className:"glr-card",onClick:()=>i(p),role:"button",tabIndex:0,"aria-label":h.caption??`X2 archive photo ${p+1}`,onKeyDown:m=>{(m.key==="Enter"||m.key===" ")&&i(p)},children:[t.jsx("img",{src:h.src.replace(/\.webp$/,"-sm.webp"),alt:h.caption??`BSides Indore X2, photo ${p+1}`,loading:p<6?"eager":"lazy",decoding:"async",style:{aspectRatio:h.aspect==="portrait"?"3/4":"4/3",objectFit:"cover"},onError:m=>{const f=m.currentTarget;f.style.background="rgba(34,211,238,0.05)",f.style.minHeight="200px",f.removeAttribute("src")}}),t.jsx("div",{className:"glr-scanline-overlay"}),h.caption&&t.jsx("div",{className:"glr-caption",children:h.caption}),t.jsx("div",{style:{position:"absolute",top:6,right:6,width:14,height:14,borderTop:`2px solid ${Pe.cyan}`,borderRight:`2px solid ${Pe.cyan}`,opacity:.6,pointerEvents:"none"}})]},p))},u))}),s!==null&&_t[s]&&t.jsxs("div",{onClick:()=>i(null),style:{position:"fixed",inset:0,zIndex:9999,background:"rgba(0,0,0,0.95)",display:"flex",alignItems:"center",justifyContent:"center",backdropFilter:"blur(4px)"},children:[t.jsx("button",{onClick:()=>i(null),"aria-label":"Close",style:{position:"absolute",top:20,right:20,fontFamily:gt,fontWeight:900,fontSize:"0.7rem",letterSpacing:"0.15em",color:Pe.cyan,background:"rgba(0,0,0,0.7)",border:`1px solid ${Pe.cyan}50`,borderRadius:4,padding:"0.4rem 0.8rem",cursor:"pointer",zIndex:2,textTransform:"uppercase"},children:"CLOSE Ã"}),_t[s].caption&&t.jsx("div",{style:{position:"absolute",top:20,left:"50%",transform:"translateX(-50%)",fontFamily:gt,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.6)",textTransform:"uppercase",zIndex:2},children:_t[s].caption}),t.jsxs("div",{style:{position:"relative"},onClick:c=>c.stopPropagation(),children:[_t.length>1&&t.jsx("button",{className:"glr-lb-prev","aria-label":"Previous",onClick:()=>i(c=>c!==null?(c-1+_t.length)%_t.length:null),children:"â¹"}),t.jsx("img",{src:_t[s].src,alt:_t[s].caption??`X2 photo ${s+1}`,decoding:"async",style:{maxWidth:"90vw",maxHeight:"88vh",border:`1px solid ${Pe.cyan}30`,borderRadius:6,boxShadow:"0 0 60px rgba(34,211,238,0.1), 0 20px 80px rgba(0,0,0,0.8)",display:"block"}}),_t.length>1&&t.jsx("button",{className:"glr-lb-next","aria-label":"Next",onClick:()=>i(c=>c!==null?(c+1)%_t.length:null),children:"âº"})]}
1045),t.jsxs("div",{style:{position:"absolute",bottom:20,left:"50%",transform:"translateX(-50%)",fontFamily:gt,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.62)",textTransform:"uppercase",zIndex:2},children:[s+1," / ",_t.length]})]}),t.jsxs("div",{style:{textAlign:"center",marginTop:e?"3rem":"4.5rem",paddingTop:"2rem",borderTop:"1px solid rgba(34,211,238,0.1)"},children:[t.jsx("p",{style:{fontFamily:gt,fontSize:"0.6rem",letterSpacing:"0.25em",color:"rgba(255,255,255,0.58)",marginBottom:"1rem",textTransform:"uppercase"},children:"X2 EDITION · 5â6 SEPTEMBER 2026 · CONCLUDED"}),t.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"0.75rem",flexDirection:e?"column":"row",alignItems:"center"},children:[t.jsx("button",{onClick:()=>r("/schedule"),style:{fontFamily:gt,background:Pe.cyan,color:"#000",padding:"0.8rem 2rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",border:"none",cursor:"pointer",borderRadius:6,boxShadow:`0 0 24px ${Pe.cyanGlow}`,textTransform:"uppercase"},children:"X2 SCHEDULE â"}),t.jsx("button",{onClick:()=>r("/archive/x1"),style:{fontFamily:gt,color:Pe.cyan,padding:"0.8rem 2rem",fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",border:`1px solid ${Pe.cyan}50`,background:"transparent",cursor:"pointer",borderRadius:6,textTransform:"uppercase"},children:"X1 ARCHIVE â"})]})]})]}),t.jsx(rt,{})]})},Do='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',ma='"Courier New", "Share Tech Mono", monospace',tn="#22d3ee",my="#080c14",Gr=({children:r})=>t.jsx("h2",{style:{fontFamily:Do,fontSize:"0.78rem",fontWeight:700,letterSpacing:".2em",textTransform:"uppercase",color:tn,borderLeft:`3px solid ${tn}`,paddingLeft:"12px",margin:"2.5rem 0 1rem"},children:r}),qr=({children:r})=>t.jsx("div",{style:{color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.85,fontFamily:"Inter, sans-serif"},children:r}),Ye=({children:r})=>t.jsxs("div",{style:{display:"flex",gap:"0.75rem",marginBottom:"0.55rem"},children:[t.jsx("span",{style:{color:tn,fontFamily:ma,fontSize:"0.75rem",flexShrink:0,marginTop:"0.18rem"},children:"//"}),t.jsx("span",{children:r})]}),kc=({children:r,color:e=tn})=>t.jsx("div",{style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.18)",borderLeft:`3px solid ${e}`,borderRadius:"4px",padding:"1rem 1.25rem",margin:"1.25rem 0",color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.8,fontFamily:"Inter, sans-serif"},children:r});function py(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.overflow="",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:my,color:"#fff"},children:[t.jsx("div",{style:{borderBottom:"1px solid rgba(34,211,238,0.12)",padding:"5.5rem 2rem 2rem"},children:t.jsxs("div",{style:{maxWidth:900,margin:"0 auto"},children:[t.jsx("p",{style:{fontFamily:ma,fontSize:"0.65rem",color:"rgba(34,211,238,0.72)",letterSpacing:".2em",textTransform:"uppercase",marginBottom:"0.6rem"},children:"// BSides Indore 2026  · Policies"}),t.jsx("h1",{style:{fontFamily:Do,fontSize:"clamp(1.4rem, 4vw, 2rem)",fontWeight:900,color:tn,letterSpacing:".04em",marginBottom:"0.5rem"},children:"Code of Conduct"}),t.jsx("p",{style:{fontFamily:ma,fontSize:"0.7rem",color:"rgba(255,255,255,0.62)",letterSpacing:".1em"},children:"EFFECTIVE: 21 MARCH 2026  · APPLIES TO ALL PARTICIPANTS"})]})}),t.jsxs("div",{className:"selectable",style:{maxWidth:900,margin:"0 auto",padding:"1.5rem 2rem 5rem"},children:[t.jsx(Gr,{children:"Our Pledge"}),t.jsxs(qr,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:t.jsx("strong",{style:{color:tn},children:"Be Excellent to Each Other."})}),t.jsx("p",{style:{marginBottom:"1rem"},children:"BSides Indore 2026 is dedicated to providing a harassment-free conference experience for everyone, regardless of gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, nationality, religion, or technology choices."}),t.jsx("p",{children:"We do not tolerate harassment of conference participants in any form. This Code of Conduct applies at all conference venues, online spaces operated by BSides Indore, and any conference-related social events."})]}),t.jsx(Gr,{children:"Who This Applies To"}),t.jsxs(qr,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"Everyone present at BSides Indore is a participant and is bound by this Code of Conduct without exception:"}),t.jsx(Ye,{children:"Attendees"}),t.jsx(Ye,{children:"Speakers and presenters"}),t.jsx(Ye,{children:"Sponsors and their representatives"}),t.jsx(Ye,{children:"Volunteers and staff"}),t.jsx(Ye,{children:"Organisers"})]}),t.jsx(Gr,{children:"Unacceptable Behaviour"}),t.jsxs(qr,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"The following behaviours are unacceptable and will not be tolerated:"}),t.jsx(Ye,{children:"Offensive comments related to gender, gender identity, sexual orientation, disability, physical appearance, body size, race, ethnicity, nationality, or religion"}),t.jsx(Ye,{children:"Sexual or violent imagery in public spaces"}),t.jsx(Ye,{children:"Deliberate intimidation, threatening, or hostile behaviour directed at another person"}),t.jsx(Ye,{children:"Stalking or persistent unwanted following"}),t.jsx(Ye,{children:"Harassing photography or recording of any person without their explicit permission"}),t.jsx(Ye,{children:"Sustained disruption of talks, workshops, or other sessions"}),t.jsx(Ye,{children:"Unwelcome physical contact of any kind"}),t.jsx(Ye,{children:"Unwelcome sexual attention or advances"}),t.jsx(Ye,{children:"Heckling or jeering at speakers"}),t.jsx(Ye,{children:"Unauthorised access to, or deliberate interference with, any conference system, network, or infrastru
1045cture"})]}),t.jsx(Gr,{children:"Photography & Recording Policy"}),t.jsxs(qr,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"BSides Indore respects the privacy of all participants. Please follow these rules at all times:"}),t.jsx(Ye,{children:"Obtain explicit verbal permission before photographing or recording any individual, including people in the background of a shot"}),t.jsx(Ye,{children:"Posting photographs or videos of conference participants online requires their explicit consent"}),t.jsx(Ye,{children:"Respect immediately if anyone asks you to stop recording or to delete a photo"}),t.jsx(Ye,{children:"Certain sessions or areas may be designated no-photography zones. These restrictions must be followed without exception"})]}),t.jsx(Gr,{children:"Sponsor Conduct"}),t.jsx(qr,{children:t.jsx("p",{children:"All terms of this Code of Conduct apply equally to sponsors and their representatives. Sponsors may not use sexualised images, activities, or materials at their booths. Staff representing a sponsor at the conference (including booth staff) must comply with this Code of Conduct. Violations by sponsors carry the same consequences as violations by any other participant."})}),t.jsx(Gr,{children:"Reporting a Violation"}),t.jsxs(qr,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"If you are being harassed, witness harassment, or have any concern about the conduct of another participant, please report it immediately. Reports are treated confidentially."}),t.jsxs(kc,{children:[t.jsx("strong",{style:{color:tn,fontFamily:Do,fontSize:"0.7rem",letterSpacing:".1em"},children:"REPORT:"}),"Â Find any BSides Indore staff member on-site, or email"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:tn},children:"[email protected]"}),". Conference staff will be identifiable by their lanyards/badges."]}),t.jsx("p",{children:"We will take all reports seriously and respond promptly. If you do not feel safe approaching staff directly, you may also contact any organiser individually."})]}),t.jsx(Gr,{children:"Enforcement"}),t.jsxs(qr,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"Conference organisers reserve the right to take any action they deem necessary in response to a Code of Conduct violation, up to and including:"}),t.jsx(Ye,{children:"A formal warning, issued privately"}),t.jsx(Ye,{children:"Removal from the conference without a refund"}),t.jsx(Ye,{children:"A permanent ban from future BSides Indore events"}),t.jsx(Ye,{children:"Referral to local law enforcement where the behaviour constitutes a criminal offence"}),t.jsxs(kc,{color:"#fbbf24",children:[t.jsx("strong",{style:{color:"#fbbf24"},children:"Enforcement decisions by the BSides Indore organising team are final and n
1045ot subject to appeal."})," ","Participants asked to stop any behaviour are expected to comply immediately."]})]}),t.jsx(Gr,{children:"Jurisdiction"}),t.jsx(qr,{children:t.jsx("p",{children:"BSides Indore 2026 is held in Indore, Madhya Pradesh, India. The laws of India and the state of Madhya Pradesh apply to all activities at and related to the conference. Organisers may involve local law enforcement where conduct constitutes a criminal offence under Indian law."})}),t.jsx(Gr,{children:"Contact"}),t.jsx(qr,{children:t.jsxs("p",{children:["For Code of Conduct concerns, general enquiries, or feedback, email"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:tn},children:"[email protected]"}),"."]})}),t.jsx("div",{style:{marginTop:"3rem",paddingTop:"1.5rem",borderTop:"1px solid rgba(34,211,238,0.1)",fontFamily:ma,fontSize:"0.65rem",color:"rgba(255,255,255,0.58)",letterSpacing:".1em"},children:"BSIDES INDORE 2026  · CODE OF CONDUCT  · EFFECTIVE 21 MARCH 2026"})]}),t.jsx(rt,{})]})}const pa='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',ga='"Courier New", "Share Tech Mono", monospace',as="#22d3ee",gy="#080c14",pn=({children:r})=>t.jsx("h2",{style:{fontFamily:pa,fontSize:"0.78rem",fontWeight:700,letterSpacing:".2em",textTransform:"uppercase",color:as,borderLeft:`3px solid ${as}`,paddingLeft:"12px",margin:"2.5rem 0 1rem"},children:r}),gn=({children:r})=>t.jsx("div",{style:{color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.85,fontFamily:"Inter, sans-serif"},children:r}),zt=({children:r})=>t.jsxs("div",{style:{display:"flex",gap:"0.75rem",marginBottom:"0.55rem"},children:[t.jsx("span",{style:{color:as,fontFamily:ga,fontSize:"0.75rem",flexShrink:0,marginTop:"0.18rem"},children:"//"}),t.jsx("span",{children:r})]}),Tc=({children:r,color:e=as})=>t.jsx("div",{style:{background:"rgba(13,25,41,0.8)",border:"1px solid rgba(34,211,238,0.15)",borderLeft:`3px solid ${e}`,borderRadius:"4px",padding:"1rem 1.25rem",margin:"1rem 0 1.5rem",color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.8,fontFamily:"Inter, sans-serif"},children:r});function fy(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.overflow="",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:gy,color:"#fff"},children:[t.jsx("div",{style:{borderBottom:"1px solid rgba(34,211,238,0.12)",padding:"5.5rem 2rem 2rem"},children:t.jsxs("div",{style:{maxWidth:900,margin:"0 auto"},children:[t.jsx("p",{style:{fontFamily:ga,fontSize:"0.65rem",color:"rgba(34,211,238,0.72)",letterSpacing:".2em",textTransform:"uppercase",marginBottom:"0.6rem"},children:"// BSides Indore 2026  · Policies"}),t.jsx("h1",{style:{fontFamily:pa,fontSize:"clamp(1.4rem, 4vw, 2rem)",fontWeight:900,color:as,letterSpacing:".04em",marginBottom:"0.5rem"},children:"Refund Policy"}),t.jsx("p",{style:{fontFamily:ga,fontSize:"0.7rem",color:"rgba(255,255,255,0.62)",letterSpacing:".1em"},children:"EFFECTIVE: 21 MARCH 2026  · GOVERNED BY CONSUMER PROTECTION ACT 2019"})]})}),t.jsxs("div",{className:"selectable",style:{maxWidth:900,margin:"0 auto",padding:"1.5rem 2rem 5rem"},children:[t.jsx(pn,{children:"Overview"}),t.jsxs(gn,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"BSides Indore 2026 is a limited-capacity ticketed event. Tickets are issued on a per-person basis. Please read this policy carefully before purchasing. By completing a ticket purchase, you confirm that you have read and agreed to these terms."}),t.jsx("p",{children:"This policy is governed by the Consumer Protection Act 2019 and E-Commerce (Amendment) Rules 2024, applicable within the jurisdiction of Indore, Madhya Pradesh, India."})]}),t.jsx(pn,{children:"General Rule: No Refunds"}),t.jsx(gn,{children:t.jsxs(Tc,{color:"rgba(248,113,113,0.8)",children:[t.jsx("strong",{style:{color:"rgba(248,113,113,0.9)",fontFamily:pa,fontSize:"0.7rem",letterSpacing:".1em",display:"block",marginBottom:"0.5rem"},children:"ALL TICKETS ARE NON-REFUNDABLE"}),"Once purchased, tickets cannot be refunded under any circumstances initiated by the attendee. If you are unable to attend, the only available option is a ",t.jsx("strong",{children:"ticket transfer"})," to another person. No exceptions."]})}),t.jsx(pn,{children:"Ticket Transfer"}),t.jsxs(gn,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"If you cannot attend, you may transfer your ticket to another person at no additional cost:"}),t.jsxs(zt,{children:["Email ",t.jsx("a",{href:"mailto:[email protected]",style:{color:as},children:"[email protected]"})," with your order/ticket reference, and the full name and contact details of the new ticket holder"]}),t.jsxs(zt,{children:["Transfer requests must be submitted at least ",t.jsx("strong",{children:"48 hours before"})," the event"]}),t.jsx(zt,{children:"No-shows are not eligible for a transfer or refund after the event date has passed"})]}),t.jsx(pn,{children:"Counter Tickets"}),t.jsxs(gn,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"A limited number of tickets may be available for purchase at the venue on the day of the event:"}),t.jsxs(zt,{children:["Counter tickets are subject to availability and are ",t.jsx("strong",{children:"not guaranteed"})]}),t.jsxs(zt,{children:["Counter ticket prices will be ",t.jsx("strong",{children:"higher"})," than the standard online purchase price"]}),t.jsx(zt,{children:"Counter tickets are also non-refundable and non-transferable once purchased"}),t.jsx(zt,{children:"Online purchase in advance is strongly recommended to secure your seat at the lowest price"})]}),t.jsx(pn,{children:"Event Cancellation by Organiser"}),t.jsxs(gn,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"In the unlikely event that BSides Indore 2026 is cancelled by the organisers, we will make a best-effort attempt to initiate a refund:"}),t.jsx(zt,{children:"Ticket holders will be notified via the email address used at the time of purchase"}),t.jsxs(zt,{children:["We will attempt to initiate a refund to the original payment method; however, ",t.jsx("strong",{children:"platform and payment processing fees charged by the ticketing or payment provider will be deducted"})," from the refund amount and are non-recoverable"]}
1045),t.jsx(zt,{children:"Refund timelines depend on the ticketing platform and payment provider and are outside our direct control"}),t.jsx(zt,{children:"BSides Indore is not liable for travel, accommodation, or any other costs incurred by attendees in connection with the event"})]}),t.jsx(pn,{children:"Event Rescheduling"}),t.jsxs(gn,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"If BSides Indore 2026 is rescheduled to a different date or venue:"}),t.jsx(zt,{children:"Ticket holders will be notified promptly via email"}),t.jsxs(zt,{children:["Existing tickets will remain valid for the rescheduled date. ",t.jsx("strong",{children:"No refunds will be issued"})," for rescheduling"]}),t.jsx(zt,{children:"If you cannot attend the new date, a ticket transfer to another person is available per the transfer process above"})]}),t.jsx(pn,{children:"Code of Conduct Violations"}),t.jsx(gn,{children:t.jsxs(Tc,{color:"rgba(248,113,113,0.8)",children:[t.jsx("strong",{style:{color:"rgba(248,113,113,0.9)",fontFamily:pa,fontSize:"0.7rem",letterSpacing:".1em",display:"block",marginBottom:"0.5rem"},children:"NO REFUND FOR CODE OF CONDUCT VIOLATIONS"}),"Participants who are removed from the conference for violating the"," ",t.jsx("a",{href:"/code-of-conduct",style:{color:as},children:"Code of Conduct"})," ","are ",t.jsx("strong",{children:"not entitled to a refund"}),", regardless of the timing of removal. This decision is at the sole discretion of the BSides Indore organising team and is final."]})}),t.jsx(pn,{children:"Governing Law"}),t.jsx(gn,{children:t.jsxs("p",{children:["This Refund Policy is governed by the ",t.jsx("strong",{children:"Consumer Protection Act 2019"})," and the"," ",t.jsx("strong",{children:"E-Commerce (Amendment) Rules 2024"}),". Disputes arising from this policy are subject to the jurisdiction of the courts of Indore, Madhya Pradesh, India."]})}),t.jsx("div",{style:{marginTop:"3rem",paddingTop:"1.5rem",borderTop:"1px solid rgba(34,211,238,0.1)",fontFamily:ga,fontSize:"0.65rem",color:"rgba(255,255,255,0.58)",letterSpacing:".1em"},children:"BSIDES INDORE 2026  · REFUND POLICY  · EFFECTIVE 21 MARCH 2026"})]}),t.jsx(rt,{})]})}const iu='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',hi='"Courier New", "Share Tech Mono", monospace',Nt="#22d3ee",yy="#080c14",sr=({num:r,children:e})=>t.jsxs("h2",{style:{fontFamily:iu,fontSize:"0.78rem",fontWeight:700,letterSpacing:".2em",textTransform:"uppercase",color:Nt,borderLeft:`3px solid ${Nt}`,paddingLeft:"12px",margin:"2.5rem 0 1rem",display:"flex",gap:"0.75rem",alignItems:"baseline"},children:[t.jsx("span",{style:{color:"rgba(34,211,238,0.7)",fontFamily:hi,fontSize:"0.65rem"},children:r}),e]}),qt=({children:r})=>t.jsx("div",{style:{color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.85,fontFamily:"Inter, sans-serif"},children:r}),Re=({children:r})=>t.jsxs("div",{style:{display:"flex",gap:"0.75rem",marginBottom:"0.55rem"},children:[t.jsx("span",{style:{color:Nt,fontFamily:hi,fontSize:"0.75rem",flexShrink:0,marginTop:"0.18rem"},children:"//"}),t.jsx("span",{children:r})]}),na=({children:r})=>t.jsx("div",{style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.18)",borderLeft:`3px solid ${Nt}`,borderRadius:"4px",padding:"1rem 1.25rem",margin:"1.25rem 0",color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.8,fontFamily:"Inter, sans-serif"},children:r});function by(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.overflow="",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:yy,color:"#fff"},children:[t.jsx("div",{style:{borderBottom:"1px solid rgba(34,211,238,0.12)",padding:"5.5rem 2rem 2rem"},children:t.jsxs("div",{style:{maxWidth:900,margin:"0 auto"},children:[t.jsx("p",{style:{fontFamily:hi,fontSize:"0.65rem",color:"rgba(34,211,238,0.72)",letterSpacing:".2em",textTransform:"uppercase",marginBottom:"0.6rem"},children:"// BSides Indore 2026  · Policies"}),t.jsx("h1",{style:{fontFamily:iu,fontSize:"clamp(1.4rem, 4vw, 2rem)",fontWeight:900,color:Nt,letterSpacing:".04em",marginBottom:"0.5rem"},children:"Terms & Conditions"}),t.jsx("p",{style:{fontFamily:hi,fontSize:"0.7rem",color:"rgba(255,255,255,0.62)",letterSpacing:".1em"},children:"EFFECTIVE: 21 MARCH 2026  · INDIAN CONTRACT ACT 1872 + CONSUMER PROTECTION ACT 2019"})]})}),t.jsxs("div",{className:"selectable",style:{maxWidth:900,margin:"0 auto",padding:"1.5rem 2rem 5rem"},children:[t.jsx(qt,{children:t.jsx("p",{style:{marginTop:"0.5rem"},children:'These Terms and Conditions ("Terms") govern your participation in BSides Indore 2026, organised by the BSides Indore team ("we", "us", "organisers"). By purchasing a ticket, registering, or attending the event in any capacity, you confirm that you have read, understood, and agreed to these Terms in full.'})}),t.jsx(sr,{num:"01",children:"Acceptance of Terms"}),t.jsxs(qt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"Completing a ticket purchase or registration constitutes your full and unconditional acceptance of these Terms. If you do not agree with any part of these Terms, do not purchase a ticket or attend the event."}),t.jsxs("p",{children:["These Terms are in addition to, and do not replace, the"," ",t.jsx("a",{href:"/code-of-conduct",style:{color:Nt},children:"Code of Conduct"})," and"," ",t.jsx("a",{href:"/refund-policy",style:{color:Nt},children:"Refund Policy"}),", both of which form part of the agreement between the participant and BSides Indore."]})]}),t.jsx(sr,{num:"02",children:"Event Details"}),t.jsxs(qt,{children:[t.jsx(Re,{children:"Event: BSides Indore 2026 (X2 Edition)"}),t.jsx(Re,{children:"Date: 6 September 2026 (tentative)"}),t.jsx(Re,{children:"Location: Jaal Sabha Grah, Indore, Madhya Pradesh, India"}),t.jsxs(na,{children:["The organisers reserve the right to change the event date, time, or venue with reasonable prior notice. In the event of a significant rescheduling, ticket holders will be notified and offered options per the"," ",t.jsx("a",{href:"/refund-policy",style:{color:Nt},children:"Refund Policy"}),"."]})]}),t.jsx(sr,{num:"03",children:"Tickets"}),t.jsxs(qt,{children:[t.jsx(Re,{children:"Tickets are personal and issued to a named individual. They are non-transferable without prior written approval from the organisers."}),t.jsx(Re,{children:"Resale or transfer of tickets above face value is strictly prohibited."}),t.jsx(Re,{children:"Tickets obtained in violation of these Terms (including fraudulent purchase, scalping, or misrepresentation) may be cancelled without notice and without refund."}),t.jsx(Re,{children:"One ticket grants admission to one person for the event day. Tickets do not cover travel, accommodation, food, or any other ancillary costs."}),t.jsx(Re,{children:"Organisers reserve the right to verify identity at entry. Bring a valid photo ID."})]}),t.jsx(sr,{num:"04",children:"Photography, Video & Recording"}),t.jsxs(qt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:t.jsx("strong",{style:{color:Nt},children:"By BSides Indore:"})}),t.jsx(Re,{children:"The event may be photographed and/or filmed by or on behalf of BSides Indore for documentation, social media, and promotional purposes."}),t.jsx(Re,{children:"By attending, you consent to appearing in official BSides Indore event photography and video."}),t.jsxs(Re,{children:["Attendees who do not wish to be included in official media must notify the organisers in writing at ",t.jsx("a",{href:"mailto:[email protected]",style:{color:Nt},children:"[email protected]"})," before the event."]}),t.jsx("p",{style:{marginBottom:"1rem",marginTop:"1.2rem"},children:t.jsx("strong",{style:{color:Nt},children:"By Attendees:"})}),t.jsxs(Re,{children:["Attendees may photograph and record the event for personal, non-commercial use, subject to the photography rules in the ",t.jsx("a",{href:"/code-of-conduct",style:{color:Nt},children:"Code of Conduct"}),"."]}
1045),t.jsx(Re,{children:"Recording of sessions for commercial distribution, rebroadcast, or monetised publication requires explicit written permission from the speaker and BSides Indore."}),t.jsx(Re,{children:"Certain sessions or areas may be designated as no-recording zones. These restrictions are final and must be respected."})]}),t.jsx(sr,{num:"05",children:"Intellectual Property"}),t.jsxs(qt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"Talk content, slides, research, tools, and materials presented at BSides Indore belong to their respective speakers and contributors. BSides Indore does not claim ownership of speaker content."}),t.jsx("p",{children:"BSides Indore's own brand assets, logo, website, and event materials are the intellectual property of the BSides Indore organising team and may not be used without prior written permission."})]}),t.jsx(sr,{num:"06",children:"Limitation of Liability"}),t.jsxs(qt,{children:[t.jsx(na,{children:t.jsx("strong",{children:"BSides Indore, its organisers, volunteers, and staff are not liable for:"})}),t.jsx(Re,{children:"Personal injury, illness, or medical emergencies occurring at or in connection with the event"}),t.jsx(Re,{children:"Loss, theft, or damage to personal property at the event venue"}),t.jsx(Re,{children:"Indirect, consequential, or incidental losses of any kind arising from attendance"}),t.jsx(Re,{children:"Losses resulting from event cancellation, postponement, or changes to the programme"}),t.jsx(Re,{children:"Travel, accommodation, or other costs booked by attendees in anticipation of the event"}),t.jsx("p",{style:{marginTop:"1rem"},children:"Attendees are responsible for their own safety, health, belongings, and conduct throughout the event."})]}),t.jsx(sr,{num:"07",children:"Acceptable Use of Conference Systems"}),t.jsxs(qt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"BSides Indore provides conference Wi-Fi and may provide other technical resources. Use of these systems is subject to the following rules:"}),t.jsx(Re,{children:"Unauthorised access to, scanning of, or interference with any conference network, system, device, or infrastru
1045cture is strictly prohibited"}),t.jsx(Re,{children:"Interference with other participants' devices or network traffic is prohibited"}),t.jsx(Re,{children:"Any such behaviour will result in immediate removal from the event and may be referred to law enforcement under the Information Technology Act 2000"}),t.jsx(na,{children:"If a specific capture-the-flag (CTF) or challenge network is provided, the scope and rules will be communicated explicitly. Activity is only permitted within the stated scope."})]}),t.jsx(sr,{num:"08",children:"Code of Conduct"}),t.jsx(qt,{children:t.jsxs("p",{children:["All participants are required to comply with the"," ",t.jsx("a",{href:"/code-of-conduct",style:{color:Nt},children:"BSides Indore Code of Conduct"}),". Violations may result in immediate removal from the event without refund, and a ban from future events. The Code of Conduct forms an integral part of these Terms."]})}),t.jsx(sr,{num:"09",children:"Amendments"}),t.jsx(qt,{children:t.jsx("p",{children:"BSides Indore reserves the right to update or amend these Terms at any time. Material changes will be posted on this page with an updated effective date. Continued participation in the event after changes are posted constitutes acceptance of the revised Terms."})}),t.jsx(sr,{num:"10",children:"Governing Law & Dispute Resolution"}),t.jsxs(qt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"These Terms are governed by and construed in accordance with the laws of India, including the:"}),t.jsx(Re,{children:"Indian Contract Act, 1872"}),t.jsx(Re,{children:"Consumer Protection Act, 2019"}),t.jsx(Re,{children:"Information Technology Act, 2000"}),t.jsx("p",{style:{marginTop:"1rem"},children:"Any disputes arising from or in connection with these Terms shall be subject to the exclusive jurisdiction of the courts of Indore, Madhya Pradesh, India."})]}),t.jsx(sr,{num:"11",children:"Contact"}),t.jsx(qt,{children:t.jsxs("p",{children:["For questions regarding these Terms, contact us at:"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:Nt},children:"[email protected]"})," ","or"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:Nt},children:"[email protected]"})]})}),t.jsx(sr,{num:"12",children:"Resume Clinic & Data Practices"}),t.jsxs(qt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"The Resume Clinic on Conference Day is a voluntary programme open to all conference pass holders. Participation, as an attendee or as a hiring sponsor, is entirely at the individual's discretion."}),t.jsxs(Re,{children:["Attendees may voluntarily submit their resume or CV, along with their name and contact details, via a QR code at the Resume Clinic. This is collected only with explicit consent at the point of submission, and is used solely to share the resume with hiring sponsors participating in the Resume Clinic. See our ",t.jsx("a",{href:"/privacy-policy",style:{color:Nt},children:"Privacy Policy"})," for full details on retention and how to withdraw consent."]}),t.jsx(Re,{children:"Attendees choose whether to submit a resume at all. Attendees who do not submit are not shared with any employer. BSides Indore does not collect or distribute any other personal data beyond what is voluntarily submitted for this specific purpose."}),t.jsx(Re,{children:"Hiring sponsors granted access to submitted resumes may only use them for recruitment purposes related to BSides Indore 2026. Redistribution, use beyond the granted access period, or use for any purpose beyond recruitment is prohibited and constitutes grounds for immediate removal from the sponsorship programme."}),t.jsxs(na,{children:["The ",t.jsx("strong",{children:"1 complimentary HR pass"})," granted under the Resume Clinic & Guidance programme entitles one named company representative to Resume Clinic access, including access to submitted resumes, for recruitment purposes. The pass is available only to companies that are actively hiring for security roles. It does not grant any data access beyond the resumes voluntarily submitted through the Resume Clinic."]})]}),t.jsx("div",{style:{marginTop:"3rem",paddingTop:"1.5rem",borderTop:"1px solid rgba(34,211,238,0.1)",fontFamily:hi,fontSize:"0.65rem",color:"rgba(255,255,255,0.58)",letterSpacing:".1em"},children:"BSIDES INDORE 2026  · TERMS & CONDITIONS  · EFFECTIVE 21 MARCH 2026"})]}),t.jsx(rt,{})]})}const qn='"Orbitron", "Exo 2", "Rajdhani", "Share Tech Mono", monospace',Is='"Courier New", "Share Tech Mono", monospace',xt="#22d3ee",xy="#080c14",ir=({num:r,children:e})=>t.jsxs("h2",{style:{fontFamily:qn,fontSize:"0.78rem",fontWeight:700,letterSpacing:".2em",textTransform:"uppercase",color:xt,borderLeft:`3px solid ${xt}`,paddingLeft:"12px",margin:"2.5rem 0 1rem",display:"flex",gap:"0.75rem",alignItems:"baseline"},children:[t.jsx("span",{style:{color:"rgba(34,211,238,0.7)",fontFamily:Is,fontSize:"0.65rem"},children:r}),e]}),Kt=({children:r})=>t.jsx("div",{style:{color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.85,fontFamily:"Inter, sans-serif"},children:r}),Ir=({children:r})=>t.jsxs("div",{style:{display:"flex",gap:"0.75rem",marginBottom:"0.55rem"},children:[t.jsx("span",{style:{color:xt,fontFamily:Is,fontSize:"0.75rem",flexShrink:0,marginTop:"0.18rem"},children:"//"}),t.jsx("span",{children:r})]}),Un=({children:r,color:e=xt})=>t.jsx("div",{style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.18)",borderLeft:`3px solid ${e}`,borderRadius:"4px",padding:"1rem 1.25rem",margin:"1.25rem 0",color:"rgba(255,255,255,0.82)",fontSize:"0.9rem",lineHeight:1.8,fontFamily:"Inter, sans-serif"},children:r}),sa=({rows:r})=>t.jsx("div",{style:{overflowX:"auto",margin:"1rem 0 1.5rem"},children:t.jsx("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:"0.85rem",fontFamily:"Inter, sans-serif",color:"rgba(255,255,255,0.82)"},children:t.jsx("tbody",{children:r.map(([e,n],s)=>t.jsxs("tr",{style:{borderBottom:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("td",{style:{padding:"0.6rem 1rem 0.6rem 0",color:xt,fontFamily:Is,fontSize:"0.75rem",letterSpacing:".08em",textTransform:"uppercase",whiteSpace:"nowrap",verticalAlign:"top",minWidth:"180px"},children:e}),t.jsx("td",{style:{padding:"0.6rem 0",verticalAlign:"top"},children:n})]},s))})})});function vy(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.overflow="",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:xy,color:"#fff"},children:[t.jsx("div",{style:{borderBottom:"1px solid rgba(34,211,238,0.12)",padding:"5.5rem 2rem 2rem"},children:t.jsxs("div",{style:{maxWidth:900,margin:"0 auto"},children:[t.jsx("p",{style:{fontFamily:Is,fontSize:"0.65rem",color:"rgba(34,211,238,0.72)",letterSpacing:".2em",textTransform:"uppercase",marginBottom:"0.6rem"},children:"// BSides Indore 2026  · Policies"}),t.jsx("h1",{style:{fontFamily:qn,fontSize:"clamp(1.4rem, 4vw, 2rem)",fontWeight:900,color:xt,letterSpacing:".04em",marginBottom:"0.5rem"},children:"Privacy Policy"}),t.jsx("p",{style:{fontFamily:Is,fontSize:"0.7rem",color:"rgba(255,255,255,0.62)",letterSpacing:".1em"},children:"EFFECTIVE: 21 MARCH 2026  · IT ACT 2000 · SPDI RULES 2011 · DPDPA 2023"})]})}),t.jsxs("div",{className:"selectable",style:{maxWidth:900,margin:"0 auto",padding:"1.5rem 2rem 5rem"},children:[t.jsx(Kt,{children:t.jsxs("p",{style:{marginTop:"0.5rem"},children:['This Privacy Policy explains how BSides Indore ("we", "us", "our") collects, uses, stores, and protects personal data in connection with BSides Indore 2026 and the website at'," ",t.jsx("a",{href:"https://www.bsidesindore.in",style:{color:xt},children:"www.bsidesindore.in"}),". We are committed to protecting your privacy and handling your data responsibly and transparently."]})}),t.jsx(ir,{num:"01",children:"Who We Are"}),t.jsxs(Kt,{children:[t.jsx(sa,{rows:[["Organisation","BSides Indore (community-run conference)"],["Event","BSides Indore 2026, Indore, Madhya Pradesh, India"],["General contact","[email protected]"],["Grievance Officer","[email protected]"]]}),t.jsxs("p",{children:["As required under the Information Technology Act 2000 and SPDI Rules 2011, our Grievance Officer can be reached at"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:xt},children:"[email protected]"}),". Grievances are addressed within 30 days."]})]}),t.jsx(ir,{num:"02",children:"Data We Collect"}),t.jsxs(Kt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"We collect only the personal data necessary for operating the conference. The specific data depends on how you interact with us:"}),t.jsxs(Un,{children:[t.jsx("strong",{style:{color:xt,fontFamily:qn,fontSize:"0.7rem",letterSpacing:".08em"},children:"NOTIFY / WAITLIST SIGNUP"}),t.jsx("br",{}),"Email address only. Used solely to send event updates and notifications."]}),t.jsxs(Un,{children:[t.jsx("strong",{style:{color:xt,fontFamily:qn,fontSize:"0.7rem",letterSpacing:".08em"},children:"EVENT REGISTRATION & TICKETING"}),t.jsx("br",{}),"Full name and email address. Used to process your registration, send ticket confirmation, and communicate event logistics."]}),t.jsxs(Un,{children:[t.jsx("strong",{style:{color:xt,fontFamily:qn,fontSize:"0.7rem",letterSpacing:".08em"},children:"SPONSOR ENQUIRIES"}),t.jsx("br",{}),"Name, organisation, email address, and phone number (if provided). Used to respond to sponsorship applications and discussions."]}),t.jsxs(Un,{children:[t.jsx("strong",{style:{color:xt,fontFamily:qn,fontSize:"0.7rem",letterSpacing:".08em"}
1045,children:"WEBSITE USAGE (SERVER LOGS)"}),t.jsx("br",{}),"Standard server logs (IP address, browser type, pages visited, referrer). Retained briefly for security and operational purposes. Not linked to individual identities."]}),t.jsxs(Un,{color:"#4ade80",children:[t.jsx("strong",{style:{color:"#4ade80",fontFamily:qn,fontSize:"0.7rem",letterSpacing:".08em"},children:"RESUME CLINIC (QR CODE SUBMISSION)"}),t.jsx("br",{}),t.jsx("br",{}),"At the Resume Clinic, attendees may voluntarily submit their resume or CV, along with their name and contact details, via a QR code. This is collected only with your explicit consent at the point of submission, and is used solely to share your resume with hiring sponsors participating in the Resume Clinic. Submitted resumes are retained for ",t.jsx("strong",{children:"30 days after the conference"}),", then permanently deleted. You can withdraw consent or request deletion at any time by writing to"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:xt},children:"[email protected]"}),"."]})]}),t.jsx(ir,{num:"03",children:"Why We Collect It: Purpose of Processing"}),t.jsxs(Kt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"Each category of data is collected for a specific purpose:"}),t.jsx(sa,{rows:[["Email (notify signup)","Send event updates, schedule announcements, and access information"],["Name + email (registration)","Process event registration; communicate ticketing, schedule, and logistics"],["Sponsor enquiry data","Respond to sponsorship applications and arrange follow-up"],["Resume/CV (Resume Clinic)","Share with participating hiring sponsors for recruitment purposes, only if you opt in"],["Server logs","Maintain website security, diagnose technical issues"]]}),t.jsx("p",{children:"We do not use your data for automated profiling, behavioural advertising, or any purpose beyond those stated above."})]}),t.jsx(ir,{num:"04",children:"Who We Share Your Data With"}),t.jsxs(Kt,{children:[t.jsxs(Ir,{children:[t.jsx("strong",{children:"Supabase Inc."}),", our database and backend provider. Personal data entered on this website is stored in Supabase infrastructure. Supabase acts as a data processor on our behalf and is bound by its own"," ",t.jsx("a",{href:"https://supabase.com/privacy",style:{color:xt},target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"}),"."]}),t.jsxs(Ir,{children:[t.jsx("strong",{children:"Law enforcement / government authorities"}),": only when legally required to do so by applicable Indian law, and only to the minimum extent required."]}),t.jsxs(Un,{color:"#4ade80",children:[t.jsx("strong",{style:{color:"#4ade80"},children:"We do not sell, rent, or share your personal data with any third party for advertising, marketing, or commercial purposes."}),t.jsx("br",{}),t.jsx("br",{}),t.jsx("strong",{style:{color:"#4ade80"},children:"Resume Clinic:"})," ","if you choose to submit your resume via the Resume Clinic QR code, it is shared only with hiring sponsors participating in that programme, for recruitment purposes. If you do not submit a resume, no data from you is shared with any employer."]})]}),t.jsx(ir,{num:"05",children:"How Long We Retain Your Data"}),t.jsxs(Kt,{children:[t.jsx(sa,{rows:[["Notify signup email","Until you withdraw consent (unsubscribe). Deleted within 30 days of request."],["Registration data","Retained until 90 days after the event date, then permanently deleted."],["Sponsor enquiry data","Retained for up to 1 year from the date of the enquiry, then deleted."],["Resume/CV (Resume Clinic)","Retained for 30 days after the conference, then permanently deleted."],["Server logs","Typically 30â90 days, for operational and security purposes only."]]}),t.jsx("p",{children:"Once a retention period ends or processing purpose is fulfilled, data is permanently deleted from our systems, unless a legal obligation requires us to retain it longer."})]}),t.jsx(ir,{num:"06",children:"Your Rights"}),t.jsxs(Kt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"Under the Information Technology Act 2000 (SPDI Rules 2011) and the Digital Personal Data Protection Act 2023, you have the following rights in relation to your personal data:"}),t.jsxs(Ir,{children:[t.jsx("strong",{children:"Access:"})," Request a summary of the personal data we hold about you"]}),t.jsxs(Ir,{children:[t.jsx("strong",{children:"Correction:"})," Request correction of inaccurate or incomplete data"]}),t.jsxs(Ir,{children:[t.jsx("strong",{children:"Deletion:"}
1045)," Request deletion of your personal data (subject to any legal retention requirements)"]}),t.jsxs(Ir,{children:[t.jsx("strong",{children:"Withdrawal of consent:"})," Withdraw consent for email communications at any time"]}),t.jsxs(Ir,{children:[t.jsx("strong",{children:"Grievance redressal:"})," File a complaint with our Grievance Officer if you believe your data has been mishandled"]}),t.jsxs(Un,{children:["To exercise any of these rights, email"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:xt},children:"[email protected]"}),". We will respond within ",t.jsx("strong",{children:"30 days"})," of receiving your request, as required by law."]})]}),t.jsx(ir,{num:"07",children:"Security"}),t.jsxs(Kt,{children:[t.jsx("p",{children:"We implement reasonable technical and organisational security measures to protect your personal data against unauthorised access, disclosure, alteration, or destruction. Data is stored using Supabase's infrastructure, which maintains its own security certifications and practices."}),t.jsx("p",{style:{marginTop:"0.75rem"},children:"In the event of a data breach that affects your rights or personal data, we will notify affected individuals and the relevant authority without undue delay, as required under applicable Indian law."})]}),t.jsx(ir,{num:"08",children:"Cookies & Local Storage"}),t.jsxs(Kt,{children:[t.jsxs("p",{style:{marginBottom:"1rem"},children:["This website does ",t.jsx("strong",{children:"not"})," use third-party tracking cookies or advertising trackers."]}),t.jsxs("p",{children:["The website may use browser ",t.jsx("code",{style:{color:xt,fontSize:"0.85rem"},children:"localStorage"})," and"," ",t.jsx("code",{style:{color:xt,fontSize:"0.85rem"},children:"sessionStorage"})," for functional UI state only (for example, to remember whether you have already seen the landing page during the current session). This data never leaves your device and is not transmitted to our servers."]})]}),t.jsx(ir,{num:"09",children:"Children"}),t.jsx(Kt,{children:t.jsxs("p",{children:["BSides Indore 2026 is not directed at persons under 18 years of age. We do not knowingly collect or process personal data from minors. If you believe a minor has submitted data to us, please contact us at"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:xt},children:"[email protected]"})," ","and we will delete it promptly."]})}),t.jsx(ir,{num:"10",children:"Changes to This Policy"}),t.jsx(Kt,{children:t.jsx("p",{children:"We may update this Privacy Policy from time to time. When we do, the updated version will be published on this page with a revised effective date. We encourage you to review this page periodically. Continued use of the website or participation in the event after changes are posted constitutes acceptance of the revised policy."})}),t.jsx(ir,{num:"11",children:"Grievance Officer"}),t.jsxs(Kt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"As required under the Information Technology Act 2000 and the Information Technology (Reasonable Security Practices and Procedures and Sensitive Personal Data or Information) Rules, 2011 (SPDI Rules), we have designated a Grievance Officer for data privacy concerns:"}),t.jsx(sa,{rows:[["Role","Grievance Officer, BSides Indore"],["Email","[email protected]"],["Response","Complaints addressed within 30 days of receipt"]]}),t.jsx("p",{children:"You may also file a complaint with India's Data Protection Board once it is fully constituted under the Digital Personal Data Protection Act 2023."})]}),t.jsx(ir,{num:"12",children:"Governing Law"}),t.jsxs(Kt,{children:[t.jsx("p",{style:{marginBottom:"1rem"},children:"This Privacy Policy is governed by the laws of India, including:"}),t.jsx(Ir,{children:"Information Technology Act, 2000"}),t.jsx(Ir,{children:"Information Technology (Reasonable Security Practices and Procedures and Sensitive Personal Data or Information) Rules, 2011"}),t.jsx(Ir,{children:"Digital Personal Data Protection Act, 2023"}),t.jsx("p",{style:{marginTop:"1rem"},children:"Disputes are subject to the jurisdiction of the courts of Indore, Madhya Pradesh, India."})]}),t.jsx("div",{style:{marginTop:"3rem",paddingTop:"1.5rem",borderTop:"1px solid rgba(34,211,238,0.1)",fontFamily:Is,fontSize:"0.65rem",color:"rgba(255,255,255,0.58)",letterSpacing:".1em"},children:"BSIDES INDORE 2026  · PRIVACY POLICY  · EFFECTIVE 21 MARCH 2026"})]}),t.jsx(rt,{})]})}
1045const Mt='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',Qt='"Share Tech Mono","Courier New",monospace',er="#f59e0b",Js="#fde68a",Xs="#07080f",wy=[{name:"Sulabh Jain",title:"Head of AppSec Reviews, Asia Pacific",org:"Amazon",photo:"/media/team/sulabh-jain.jpg",bio:"Leading application security review programmes across the Asia Pacific region at Amazon, Sulabh brings deep expertise in secure architecture, threat modelling, and large-scale AppSec operations. His practitioner-first lens ensures that every submission to BSides Indore is evaluated against real-world security standards.",credentials:["APPLICATION SECURITY","THREAT MODELLING","SECURE ARCHITECTURE","APAC OPS"],linkedin:"https://www.linkedin.com/in/profile4sulabhjain/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"},companyLogo:"/company-logos/amazon-logo.png"},{name:"Dhawal Shrivastava",title:"Senior Security Assurance Engineering Lead",org:"Microsoft",photo:"/media/team/dhawal-shrivastava.jpg",bio:"A seasoned security assurance engineering leader at Microsoft, Dhawal brings a strategic perspective to security governance, risk, and programme execution at enterprise scale. His background spans product security, technical programme management, and cross-functional security delivery, ensuring every selected talk has genuine practitioner value.",credentials:["SECURITY GOVERNANCE","PRODUCT SECURITY","RISK & COMPLIANCE","PROGRAMME MGMT"],linkedin:"https://www.linkedin.com/in/dhawalshrivastava/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"},companyLogo:"/company-logos/microsoft-logo.png"},{name:"Sandeep Singh",title:"Senior Director, Security Strategy & Operations",org:"HackerOne",photo:"/media/team/sandeep-singh.jpg",bio:"13+ years across AppSec, penetration testing, cloud security, AI red teaming, and vulnerability disclosure. Leads product strategy for HackerOne's Bug Bounty, PTaaS, and AI Red Teaming solutions, driving the company's evolution into an AI-native Offensive Security platform. Former OWASP Delhi Chapter Leader, DEF CON & BSides speaker, OWASP 2025-26 CFP Reviewer, and active contributor to null, Recon Village, and BSides Delhi.",credentials:["AI SECURITY","BUG BOUNTY","OFFENSIVE SECURITY","OWASP CFP 2025-26","DEFCON SPEAKER"],linkedin:"https://www.linkedin.com/in/sandeeps1ngh/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"},companyLogo:"/company-logos/hackerone.jpg"},{name:"Madhu Akula",title:"Cloud Native Security Architect & Creator, Kubernetes Goat",org:"madhuakula.com",photo:"/media/team/madhu-akula.jpg",bio:"Creator of Kubernetes Goat, the intentionally vulnerable Kubernetes cluster used globally to learn and practise Kubernetes security. A DEF CON 24-32 and Black Hat USA, ASIA & EU speaker whose research has uncovered vulnerabilities in 200+ organisations including Google, Microsoft, and LinkedIn. Co-author of Security Automation with Ansible2, CKA & CKS & OSCP certified, and Advisory Council Member at Harvard Business Review.",credentials:["KUBERNETES GOAT CREATOR","DEFCON 24-32","BLACK HAT USA · ASIA · EU","CLOUD NATIVE SECURITY","CKA · CKS · OSCP","DEVSECOPS"],linkedin:"https://www.linkedin.com/in/madhuakula/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"}},{name:"Bishakha Jain",title:"Indian Cybersecurity Evangelist",org:"Women in Cloud · Cyber Security Global Alliance",photo:"/media/team/bishaka-jain.jpeg",bio:"Multi-award-winning cybersecurity practitioner and global community leader. Has held leadership and ambassadorial roles with Women in Cloud, WomenTech Network, WISE IBM, InfosecKids, and the Cyber Security Global Alliance. Through hands-on training, mentorship, and community building, she has reached over 150,000 individuals worldwide, including army veterans, law enforcement personnel, students, and executive professionals, championing cybersecurity awareness, workforce development, and opportunities for underrepresented talent.",credentials:["DIVERSITY ADVOCATE","WOMEN IN CLOUD","WOMENTECH NETWORK","150K+ MENTORED","COMMUNITY LEADER"],linkedin:"https://www.linkedin.com/in/bishakha-jain/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"}},{name:"Mohammad Arif",title:"Sr. Product Security Engineer",org:"California State University (M.S. Cybersecurity)",photo:"/media/team/arif-dp.jpeg",bio:"Specialising in application and cloud security with over 5 years of experience securing large-scale systems through CI/CD integration, threat modelling, and developer-centric security programmes. Currently pursuing a Master's in Cybersecurity at California State University with a focus on AI/ML security, bridging the gap between traditional Ap
1045pSec and emerging threats. A seasoned speaker and trainer who has presented at DEF CON, Black Hat, Seasides, and c0c0n. As a CFP reviewer and community volunteer, he prioritises technical depth and actionable insights, ensuring the community receives content that is both innovative and grounded in real-world practice.",credentials:["APPLICATION SECURITY","CLOUD SECURITY","AI/ML SECURITY","DEFCON SPEAKER","BLACK HAT SPEAKER","THREAT MODELLING"],linkedin:"https://www.linkedin.com/in/mohd--arif/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"}}],Sy=({member:r,index:e})=>t.jsxs("div",{style:{position:"relative",display:"grid",gridTemplateColumns:"340px 1fr",background:"linear-gradient(135deg, #0b0d15 0%, #090b12 60%, #0d0f18 100%)",border:"1px solid rgba(245,158,11,0.12)",borderLeft:`3px solid ${er}`,overflow:"hidden",transition:"box-shadow 0.4s, border-color 0.4s"},className:"cfp-member-card",onMouseEnter:n=>{const s=n.currentTarget;s.style.boxShadow="0 0 60px rgba(245,158,11,0.08), -6px 0 32px rgba(245,158,11,0.12)",s.style.borderColor="rgba(245,158,11,0.35)"},onMouseLeave:n=>{const s=n.currentTarget;s.style.boxShadow="none",s.style.borderColor="rgba(245,158,11,0.12)"},children:[t.jsx("div",{style:{position:"absolute",top:0,right:0,width:80,height:80,background:"linear-gradient(225deg, rgba(245,158,11,0.07) 0%, transparent 60%)",pointerEvents:"none",zIndex:0}}),t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",zIndex:0,backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(245,158,11,0.012) 6px, rgba(245,158,11,0.012) 7px)"}}),t.jsxs("div",{className:"cfp-photo-panel",style:{position:"relative",height:360,overflow:"hidden",background:"linear-gradient(160deg, #0f1118 0%, #07080f 100%)",borderRight:"1px solid rgba(245,158,11,0.08)"},children:[t.jsx("img",{src:r.photo,alt:r.name,onError:n=>{n.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center top",display:"block",filter:"brightness(0.88) contrast(1.05)",...r.photoStyle}}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:1,pointerEvents:"none",background:"radial-gradient(ellipse at 0% 60%, rgba(245,158,11,0.1) 0%, transparent 55%)"}}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:2,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px)"}}),t.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:"30%",zIndex:3,background:"linear-gradient(to top, #090b12 0%, transparent 100%)"}}),t.jsxs("div",{style:{position:"absolute",bottom:14,right:14,zIndex:4,fontFamily:Qt,fontSize:"0.55rem",color:"rgba(245,158,11,0.55)",letterSpacing:"0.14em"},children:["BOARD · 0",e+1]}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:1,zIndex:4,background:`linear-gradient(90deg, ${er} 0%, rgba(245,158,11,0.2) 60%, transparent 100%)`,boxShadow:"0 0 10px rgba(245,158,11,0.6)"}})]}),t.jsxs("div",{className:"cfp-info-panel",style:{position:"relative",zIndex:1,padding:"2.5rem 2.8rem",display:"flex",flexDirection:"column",justifyContent:"flex-start",gap:"1.2rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem"},children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:6,background:"rgba(245,158,11,0.07)",border:"1px solid rgba(245,158,11,0.25)",padding:"4px 12px"},children:[t.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:er,display:"inline-block",boxShadow:`0 0 8px ${er}`,animation:"goldPulse 2.4s ease-in-out infinite"}}),t.jsx("span",{style:{fontFamily:Mt,fontSize:"0.5rem",fontWeight:900,color:er,letterSpacing:"0.2em",textTransform:"uppercase"},children:"CFP REVIEW BOARD"})]}),t.jsx("div",{style:{fontFamily:Qt,fontSize:"0.5rem",color:"rgba(245,158,11,0.62)",letterSpacing:"0.12em"},children:"BSI-2026"})]}),t.jsxs("div",{className:"cfp-name-logo-row",style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem"},children:[t.jsx("div",{style:{fontFamily:Mt,fontSize:"clamp(1.3rem, 2vw, 1.75rem)",fontWeight:900,color:"#ffffff",letterSpacing:"0.1em",textTransform:"uppercase",lineHeight:1.15,textShadow:"0 0 40px rgba(245,158,11,0.15)"},children:r.name}),r.companyLogo&&t.jsx("div",{className:"cfp-logo-box",style:{background:"#ffffff",borderRadius:6,padding:"10px 22px",height:72,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,boxShadow:"0 0 24px rgba(245,158,11,0.25)"},children:t.jsx("img",{src:r.companyLogo,alt:r.org,style:{maxHeight:48,maxWidth:160,objectFit:"contain",display:"block"},onError:n=>{n.currentTarget.parentElement.style.display="none"}})})]}),t.jsxs("div",{style:{marginTop:"-0.4rem"},children:[t.jsx("div",{style:{height:1,width:48,background:`linear-gradient(90deg, ${er}, transparent)`,marginBottom:"0.6rem"}}),t.jsx("div",{style:{fontFamily:Qt,fontSize:"0.72rem",color:"rgba(245,158,11,0.85)",letterSpacing:"0.06em",marginBottom:"0.15rem",lineHeight:1.5},children:r.title}),t.jsx("div",{style:{fontFamily:Qt,fontSize:"0.62rem",color:"rgba(255,255,255,0.62)",letterSpacing:"0.08em"},children:r.org})]}),t.jsx("p",{style:{fontFamily:Qt,fontSize:"0.85rem",color:"rgba(255,255,255,0.82)",lineHeight:1.8,letterSpacing:"0.02em",margin:0,borderLeft:"2px s
1045olid rgba(245,158,11,0.18)",paddingLeft:"1rem"},children:r.bio}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"0.4rem"},children:[t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.4rem",alignItems:"center"},children:r.credentials.map(n=>t.jsx("span",{style:{fontFamily:Mt,fontSize:"0.6rem",fontWeight:900,color:"rgba(245,158,11,0.7)",letterSpacing:"0.12em",textTransform:"uppercase",background:"rgba(245,158,11,0.05)",border:"1px solid rgba(245,158,11,0.18)",padding:"4px 11px"},children:n},n))}),t.jsx("div",{style:{flexShrink:0},children:t.jsx(Us,{linkedin:r.linkedin,twitter:r.twitter})})]})]})]}),jy=()=>{const r=St();return t.jsxs("div",{className:"min-h-screen text-white",style:{background:Xs},children:[t.jsx("style",{children:` 1046 @keyframes goldPulse { 1047 0%,100% { opacity:1; box-shadow:0 0 8px #f59e0b; } 1048 50% { opacity:.55; box-shadow:0 0 16px #f59e0b, 0 0 32px rgba(245,158,11,.35); } 1049 } 1050 @media (max-width: 860px) { 1051 .cfp-member-card { grid-template-columns: 1fr !important; } 1052 .cfp-photo-panel { height: 280px !important; border-right: none !important; border-bottom: 1px solid rgba(245,158,11,0.08) !important; } 1053 .cfp-info-panel { padding: 1.25rem 1.5rem !important; } 1054 .cfp-name-logo-row { flex-wrap: wrap !important; } 1055 .cfp-logo-box { height: 52px !important; padding: 6px 14px !important; } 1056 .cfp-logo-box img { max-width: 100px !important; max-height: 36px !important; } 1057 } 1058 @media (max-width: 540px) { 1059 .cfp-pillars-grid { grid-template-columns: 1fr !important; } 1060 } 1061 `}),t.jsxs("div",{style:{position:"relative",padding:"4rem 2rem 3.5rem",background:`linear-gradient(180deg, #0a0b12 0%, ${Xs} 100%)`,borderBottom:"1px solid rgba(245,158,11,0.08)",overflow:"hidden"},children:[t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",backgroundImage:"linear-gradient(rgba(245,158,11,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(245,158,11,0.025) 1px, transparent 1px)",backgroundSize:"64px 64px"}}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:2,background:`linear-gradient(90deg, transparent 5%, ${er} 30%, ${er} 70%, transparent 95%)`,boxShadow:"0 0 20px rgba(245,158,11,0.6), 0 0 60px rgba(245,158,11,0.2)"}}),t.jsxs("div",{style:{maxWidth:"72rem",margin:"0 auto",position:"relative",zIndex:1,textAlign:"center"},children:[t.jsx($t,{as:"h1",text:"CFP REVIEW BOARD",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:Mt,textShadow:"0 0 40px rgba(245,158,11,0.2)"}}),t.jsx("p",{style:{fontFamily:Mt,fontSize:"0.72rem",fontWeight:900,color:"rgba(245,158,11,0.65)",letterSpacing:"0.22em",textTransform:"uppercase",margin:"0 0 1.75rem"},children:"MERIT-BASED · DOUBLE-BLIND · PRACTITIONER-LED"}),t.jsx("p",{style:{fontFamily:Qt,fontSize:"0.75rem",color:"rgba(255,255,255,0.72)",lineHeight:1.9,letterSpacing:"0.03em",margin:"0 auto 2.5rem",maxWidth:600},children:"Active security practitioners evaluating talk submissions for BSides Indore 2026. Every proposal is judged on technical merit alone, independent of speaker identity, sponsorship, or institutional affiliation."}),t.jsx("div",{className:"cfp-pillars-grid",style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"1px",background:"rgba(245,158,11,0.08)",border:"1px solid rgba(245,158,11,0.1)",width:"100%",maxWidth:640,margin:"0 auto"},children:[{icon:"â",heading:"Technical Rigour",body:"Evaluated on depth, originality, and real-world applicability."},{icon:"â",heading:"Double-Blind",body:"Speaker identity withheld throughout. Ideas judged on merit alone."},{icon:"â",heading:"Practitioner-Led",body:"Every reviewer is an active security professional, not a committee."}].map(e=>t.jsxs("div",{style:{padding:"1.4rem 1.5rem",background:Xs,textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:Mt,fontSize:"0.9rem",color:"rgba(245,158,11,0.65)",marginBottom:"0.5rem"},children:e.icon}),t.jsx("div",{style:{fontFamily:Mt,fontSize:"0.58rem",fontWeight:900,color:Js,letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:"0.4rem"},children:e.heading}),t.jsx("div",{style:{fontFamily:Qt,fontSize:"0.62rem",color:"rgba(255,255,255,0.65)",lineHeight:1.65,letterSpacing:"0.02em"},children:e.body})]},e.heading))})]})]}),t.jsx(Vt,{bg:Xs,accent:er,speedSeconds:40,style:{margin:"0 auto 2.5rem",maxWidth:820,borderLeftColor:"rgba(245,158,11,0.55)"}}),t.jsxs("div",{style:{padding:"4rem 2rem",maxWidth:"72rem",margin:"0 auto"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"3rem"},children:[t.jsx("div",{style:{height:1,flex:1,background:"rgba(245,158,11,0.08)"}}),t.jsx("span",{style:{fontFamily:Mt,fontSize:"0.52rem",fontWeight:900,color:"rgba(245,158,11,0.72)",letterSpacing:"0.25em",textTransform:"uppercase"},children:"SENIOR BOARD MEMBERS"}),t.jsx("div",{style:{height:1,flex:1,background:"rgba(245,158,11,0.08)"}})]}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"2rem"},children:wy.map((e,n)=>t.jsx(Sy,{member:e,index:n},e.name))}),t.jsx("div",{style:{marginTop:"4rem",height:1,background:"linear-gradient(90deg, transparent, rgba(245,158,11,0.12) 30%, rgba(245,158,11,0.12) 70%, transparent)"}})]}),t.jsx("div",{style:{padding:"3rem 2rem 4rem",background:"linear-gradient(180deg, transparent 0%, rgba(10,11,18,0.8) 100%)",borderTop:"1px solid rgba(245,158,11,0.06)"},children:t.jsxs("div",{style:{maxWidth:"72rem",margin:"0 auto"},children:[t.jsxs("div",{style:{marginBottom:"2.5rem"},children:[t.jsx("div",{style:{fontFamily:Mt,fontSize:"0.52rem",fontWeight:900,color:"rgba(245,158,11,0.72)",letterSpacing:"0.25em",textTransform:"uppercase",marginBottom:"0.6rem"},children:"HOW IT WORKS"}),t.jsx("h2",{style:{fontFamily:Mt,fontSize:"clamp(0.95rem, 2vw, 1.25rem)",fontWeight:900,color:"#ffffff",letterSpacing:"0.15em",textTransform:"uppercase",margin:0},children:"REVIEW PROCESS"})]}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"1px",background:"rgba(245,158,11,0.08)",border:"1px solid rgba(245,158,11,0.08)"},className:"cfp-process-grid",children:[t.jsx("style",{children:` 1062 @media (max-width: 768px) { .cfp-process-grid { grid-template-columns: repeat(2,1fr) !important; } } 1063 @media (max-width: 480px) { .cfp-process-grid { grid-template-columns: 1fr !important; } } 1064 `}),[{num:"01",title:"Submission",desc:"Proposals submitted via CFP portal. Anonymised before distribution to reviewers."},{num:"02",title:"Double-Blind Review",desc:"Each submission reviewed independently. Identity and affiliation withheld throughout."},{num:"03",title:"Scoring & Consensus",desc:"Board members score on merit, relevance, and technical depth. Edge cases resolved collaboratively."},{num:"04",title:"Final Programme",desc:"Top-scored talks shortlisted. Final programme shaped over a focused 2 to 3 week window."}].map(e=>t.jsxs("div",{style:{padding:"2rem 1.5rem",background:Xs},children:[t.jsx("div",{style:{fontFamily:Mt,fontSize:"1.4rem",fontWeight:900,color:"rgba(245,158,11,0.55)",letterSpacing:"0.04em",marginBottom:"0.85rem"},children:e.num}),t.jsx("div",{style:{fontFamily:Mt,fontSize:"0.62rem",fontWeight:900,color:Js,letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:"0.65rem"},children:e.title}),t.jsx("div",{style:{fontFamily:Qt,fontSize:"0.67rem",color:"rgba(255,255,255,0.68)",lineHeight:1.75,letterSpacing:"0.02em"},children:e.desc})]},e.num))]})]})}),t.jsxs("div",{style:{padding:"4rem 2rem",textAlign:"center",borderTop:"1px solid rgba(245,158,11,0.06)"},children:[t.jsx("div",{style:{fontFamily:Qt,fontSize:"0.55rem",color:"rgba(245,158,11,0.65)",letterSpacing:"0.2em",textTransform:"uppercase",marginBottom:"0.75rem"},children:"CALL FOR PAPERS · DATES COMING SOON"}),t.jsx("h2",{style:{fontFamily:Mt,fontSize:"clamp(1.1rem, 2.5vw, 1.5rem)",fontWeight:900,color:"#ffffff",letterSpacing:"0.15em",textTransform:"uppercase",margin:"0 0 1rem"},children:"Submit Your Talk"}),t.jsx("p",{style:{fontFamily:Qt,fontSize:"0.72rem",color:"rgba(255,255,255,0.68)",lineHeight:1.8,maxWidth:520,margin:"0 auto 2rem",letterSpacing:"0.02em"},children:"All submissions are evaluated on technical merit alone. Independent of sponsorship, institutional affiliation, or speaker history."}),t.jsxs("div",{style:{display:"inline-flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[t.jsx("button",{onClick:()=>r("/call-for-papers"),style:{display:"inline-flex",alignItems:"center",gap:"0.5rem",padding:"0.85rem 2.4rem",fontFamily:Mt,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.12em",textTransform:"uppercase",color:"#000",background:er,border:"none",borderRadius:4,cursor:"pointer",boxShadow:"0 0 24px rgba(245,158,11,0.4)",transition:"box-shadow 0.2s, transform 0.15s",animation:"cfp-cta-pulse 2.5s ease-in-out infinite"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-2px)",e.currentTarget.style.boxShadow="0 0 40px rgba(245,158,11,0.6)"},onMouseLeave:e=>{e.currentTarget.style.transform="none",e.currentTarget.style.boxShadow="0 0 24px rgba(245,158,11,0.4)"},children:"SUBMIT YOUR RESEARCH â"}),t.jsxs("div",{style:{display:"inline-flex",flexDirection:"column",alignItems:"center",gap:"0.35rem"},children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.4rem",fontFamily:Qt,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.18em",textTransform:"uppercase",color:er},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:er,boxShadow:`0 0 8px ${er}
1064`,display:"inline-block",animation:"cfp-blink 1.2s steps(1) infinite"}}),"CFP NOW OPEN"]}),t.jsxs("div",{style:{display:"inline-flex",gap:"1.5rem",fontFamily:Qt,fontSize:"0.55rem",letterSpacing:"0.12em",textTransform:"uppercase",color:"rgba(255,255,255,0.35)"},children:[t.jsxs("span",{children:["OPEN ",t.jsx("strong",{style:{color:Js},children:"16 MAY 2026"})]}),t.jsxs("span",{children:["CLOSE ",t.jsx("strong",{style:{color:Js},children:"11 JULY 2026"})]}),t.jsxs("span",{children:["NOTIFY ",t.jsx("strong",{style:{color:Js},children:"10 AUG 2026"})]})]})]})]}),t.jsx("style",{children:` 1065 @keyframes cfp-blink { 0%,49%{opacity:1} 50%,100%{opacity:0} } 1066 @keyframes cfp-cta-pulse { 0%,100%{box-shadow:0 0 24px rgba(245,158,11,0.4)} 50%{box-shadow:0 0 40px rgba(245,158,11,0.65)} } 1067 `}),t.jsx("div",{style:{marginTop:"3rem",fontFamily:Qt,fontSize:"0.8rem",color:"rgba(245,158,11,0.72)",letterSpacing:"0.18em"},children:"// CFP REVIEW BOARD · BSI-2026 · MERIT-BASED · DOUBLE-BLIND"})]})]})};function ky(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(jy,{}),t.jsx(rt,{})]})}const ye='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',qe='"Share Tech Mono","Courier New",monospace',ie="#22d3ee",Ke="#f59e0b",Zs="#080c14",uo=new Date("2026-07-11T18:29:59Z");function Ty(r){const[e,n]=y.useState(()=>{const s=r.getTime()-Date.now();if(s<=0)return null;const i=Math.floor(s/1e3);return{d:Math.floor(i/86400),h:Math.floor(i%86400/3600),m:Math.floor(i%3600/60),s:i%60}});return y.useEffect(()=>{const i=setInterval(()=>{const a=r.getTime()-Date.now();if(a<=0){n(null);return}const o=Math.floor(a/1e3);n({d:Math.floor(o/86400),h:Math.floor(o%86400/3600),m:Math.floor(o%3600/60),s:o%60})},1e3);return()=>clearInterval(i)},[r]),e}function fn({n:r,label:e}){return t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.25rem"},children:[t.jsx("div",{style:{fontFamily:qe,fontSize:"clamp(1.4rem, 4vw, 2rem)",fontWeight:900,color:Ke,background:"rgba(245,158,11,0.08)",border:"1px solid rgba(245,158,11,0.25)",borderRadius:4,padding:"0.35rem 0.65rem",minWidth:"2.8ch",textAlign:"center",textShadow:"0 0 14px rgba(245,158,11,0.5)"},children:String(r).padStart(2,"0")}),t.jsx("div",{style:{fontFamily:qe,fontSize:"0.45rem",letterSpacing:"0.18em",color:"rgba(245,158,11,0.55)",textTransform:"uppercase"},children:e})]})}const Ey=ru({speaker_name:Ee().min(2,"Name is required").max(200),email:Ee().email("Enter a valid email address").max(200),designation:Ee().max(200).optional().or(Jt("")),bio:Ee().min(30,"Please write at least a short bio (30 chars)").max(1e3),country:Ee().max(100).optional().or(Jt("")),linkedin_url:Ee().url("Enter a valid URL").max(500).optional().or(Jt("")),twitter_handle:Ee().max(200).optional().or(Jt("")),github_url:Ee().url("Enter a valid URL").max(500).optional().or(Jt("")),co_speaker_name:Ee().max(200).optional().or(Jt("")),co_speaker_email:Ee().email("Enter a valid co-speaker email").max(200).optional().or(Jt("")),talk_title:Ee().min(5,"Title is required").max(500),category:io(["cat1","cat2","cat3","cat4","cat5","cat6","cat7"],{required_error:"Select a category"}),abstract:Ee().min(100,"Abstract needs at least 100 characters").max(3e3),target_audience:Ee().max(1e3).optional().or(Jt("")),key_takeaways:Ee().max(2e3).optional().or(Jt("")),what_went_wrong:Ee().min(50,"Tell us what failed (min 50 characters)").max(3e3),the_pivot:Ee().min(50,"Describe the pivot (min 50 characters)").max(3e3),breakthrough_moment:Ee().min(50,"Describe the breakthrough (min 50 characters)").max(3e3),previous_talks:Ee().max(2e3).optional().or(Jt("")),research_publications:Ee().max(2e3).optional().or(Jt("")),first_time_speaker:M0().optional(),special_requirements:Ee().max(1e3).optional().or(Jt("")),display_preference:io(["real_name","handle","both"],{required_error:"Please select how to display your name"}),recording_consent:io(["yes","no"],{required_error:"Please indicate recording consent"}),honeypot:Ee().max(0,"Bot detected")}),Ec=[["speaker_name","email","bio","display_preference"],["linkedin_url","github_url","co_speaker_email"],["talk_title","category","abstract","recording_consent"],["what_went_wrong","the_pivot","breakthrough_moment"],[],[]],Cy=["WHO ARE YOU","YOUR PROFILES","THE TALK","THE JOURNEY","TRACK RECORD"],Qs=["WHO ARE YOU","YOUR PROFILES","THE TALK","THE JOURNEY","TRACK RECORD","REVIEW"],ho=[{id:"cat1",label:"Track 1",title:"Offensive Security & Vulnerability Research",desc:"Exploit development, 0-day discovery, red teaming, APT emulation, malware analysis & reverse engineering.",color:"#f87171"},{id:"cat2",label:"Track 2",title:"Defense, Detection Engineering & IR",desc:"Threat hunting, detection rules (Sigma/YARA), AD hardening, zero trust, blue/purple team operations.",color:ie}
1067,{id:"cat3",label:"Track 3",title:"Application & Cloud Security",desc:"Advanced web vulns, API security, cloud privilege escalation (AWS/Azure/GCP), DevSecOps & supply chain.",color:"#a78bfa"},{id:"cat4",label:"Track 4",title:"Applied AI, ML & Data Science",desc:"Weaponising LLMs, prompt injection, model poisoning, AI red teaming, data science for anomaly detection.",color:Ke},{id:"cat5",label:"Track 5",title:"Cyber-Physical, IoT & Industry Security",desc:"Automotive/CAN bus, hardware & embedded systems, ICS/OT/SCADA, medical IoT & critical infrastructure.",color:"#34d399"},{id:"cat6",label:"Track 6",title:"Cryptography, Privacy & Policy",desc:"Post-quantum crypto, ZKPs, de-anonymisation, privacy protocols, cyber law & data protection frameworks.",color:"#38bdf8"},{id:"cat7",label:"Track 7",title:"Human Element, Career & Community",desc:"Social engineering, OSINT, CISO strategy, security culture, career development & mental health in infosec.",color:"#c084fc"}];function Je(r){return typeof r!="string"?"":r.replace(/<[^>]*>/g,"").trim()}function Cc(r){return(r??"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,40)}function Ic(r){return r<1024?`${r} B`:r<1024*1024?`${(r/1024).toFixed(1)} KB`:`${(r/(1024*1024)).toFixed(1)} MB`}const au={width:"100%",boxSizing:"border-box",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.18)",borderRadius:4,padding:"0.65rem 0.9rem",color:"rgba(255,255,255,0.9)",fontSize:"0.88rem",fontFamily:"system-ui, sans-serif",outline:"none",transition:"border-color 0.2s, box-shadow 0.2s"},Iy={...au,resize:"vertical",minHeight:110,lineHeight:1.6},ou={display:"block",fontFamily:ye,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.2em",color:ie,textTransform:"uppercase",marginBottom:"0.35rem"},lu={fontSize:"0.72rem",color:"#f87171",fontFamily:"system-ui, sans-serif",marginTop:"0.3rem"},Mo={marginBottom:"1.25rem"};function Xe({label:r,error:e,children:n,hint:s}){return t.jsxs("div",{style:Mo,children:[t.jsx("label",{style:ou,children:r}),s&&t.jsx("div",{style:{fontSize:"0.72rem",color:"rgba(255,255,255,0.38)",fontFamily:"system-ui",marginBottom:"0.4rem"},children:s}),n,e&&t.jsx("div",{style:lu,children:e})]})}const gr=y.forwardRef(({onFocus:r,onBlur:e,...n},s)=>t.jsx("input",{ref:s,...n,style:au,onFocus:i=>{i.currentTarget.style.borderColor="rgba(34,211,238,0.55)",i.currentTarget.style.boxShadow="0 0 0 2px rgba(34,211,238,0.1)",r?.(i)},onBlur:i=>{i.currentTarget.style.borderColor="rgba(34,211,238,0.18)",i.currentTarget.style.boxShadow="none",e?.(i)}})),Kr=y.forwardRef(({onFocus:r,onBlur:e,...n},s)=>t.jsx("textarea",{ref:s,...n,style:Iy,onFocus:i=>{i.currentTarget.style.borderColor="rgba(34,211,238,0.55)",i.currentTarget.style.boxShadow="0 0 0 2px rgba(34,211,238,0.1)",r?.(i)},onBlur:i=>{i.currentTarget.style.borderColor="rgba(34,211,238,0.18)",i.currentTarget.style.boxShadow="none",e?.(i)}}));async function _y(r,e,n,s){const i="BSI-ACK-2026-X2";try{await fetch("https://bsidesindore.in/x2cfpack-a7f3d.php",{method:"POST",headers:{"Content-Type":"application/json","X-BSI-Secret":i},body:JSON.stringify({name:r,email:e,title:n,category:s})})}catch{}}const cu="bsi-cfp-submitted-at",Ay=24*60*60*1e3;function Ny(){try{const r=localStorage.getItem(cu);return r?Date.now()-parseInt(r)<Ay:!1}catch{return!1}}function Ry(){try{localStorage.setItem(cu,Date.now().toString())}catch{}}function Ze({label:r,value:e,truncate:n}){if(!e||e.trim()==="")return null;const s=n&&e.length>220?e.slice(0,220)+"â¦":e;return t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"160px 1fr",gap:"0.25rem 1rem",marginBottom:"0.7rem",alignItems:"start"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.35)",textTransform:"uppercase",paddingTop:"0.15rem"},children:r}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.8rem",color:"rgba(255,255,255,0.8)",lineHeight:1.6,whiteSpace:"pre-wrap",wordBreak:"break-word"},children:s})]})}function ei({title:r,color:e,children:n}){return t.jsxs("div",{style:{border:`1px solid ${e?e+"28":"rgba(34,211,238,0.12)"}`,borderLeft:`3px solid ${e??ie}`,borderRadius:4,padding:"1.25rem 1.25rem 0.5rem",marginBottom:"1.25rem",background:e?`${e}06`:"rgba(34,211,238,0.03)"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.56rem",fontWeight:900,letterSpacing:"0.25em",color:e??ie,textTransform:"uppercase",marginBottom:"1rem"},children:r}),n]})}const Oy=()=>{const r=St(),[e,n]=y.useState(!1),[s,i]=y.useState({}),[a,o]=y.useState(0),[l,d]=y.useState(!1),[c,u]=y.useState(""),[h]=y.useState(()=>Ny()),[p,m]=y.useState(null),[f,g]=y.useState(""),[v,j]=y.useState("idle"),{register:x,handleSubmit:w,trigger:I,watch:R,getValues:L,formState:{errors:P,isSubmitting:pe}}=Jd({resolver:Zd(Ey),defaultValues:{speaker_name:"",email:"",designation:"",bio:"",country:"",display_preference:void 0,linkedin_url:"",twitter_handle:"",github_url:"",co_speaker_name:"",co_speaker_email:"",talk_title:"",category:void 0,abstract:"",target_audience:"",key_takeaways:"",recording_consent:void 0,what_went_wrong:"",the_pivot:"",breakthrough_moment:"",previous_talks:"",research_publications:"",f
1067irst_time_speaker:!1,special_requirements:"",honeypot:""}}),J=Ty(uo),he=R("category"),_=S=>{const H=S.target.files?.[0];if(!H)return;const ae=50*1024*1024,ce=/\.(pdf|ppt|pptx|key|zip)$/i;if(H.size>ae){g("File exceeds 50 MB limit"),S.target.value="";return}if(!ce.test(H.name)){g("Allowed formats: PDF, PPT, PPTX, KEY, ZIP"),S.target.value="";return}g(""),m(H)},A=async()=>{const S=Ec[a];(S.length===0?!0:await I(S))&&o(ae=>ae+1)},E=()=>{u(""),o(S=>S-1)},F=S=>{const H=Object.keys(S),ae=Ec.findIndex(je=>je.some(nt=>H.includes(nt))),ce=ae>=0?` Check step ${ae+1}: ${Cy[ae]}.`:"";u(`Some fields need attention.${ce} Use â BACK to fix them before submitting.`)},xe=async S=>{if(Date.now()>=uo.getTime()){u("CFP submissions are closed. The deadline was 11 July 2026 at midnight IST. No further submissions are accepted.");return}u("");let H="";if(p){j("uploading");const ce=new Date().toISOString().replace(/[^0-9]/g,"").slice(0,14),je=p.name.match(/\.[^.]+$/)?.[0]??".pdf",nt=`${ce}_${Cc(S.speaker_name)}_${Cc(S.talk_title)}${je}`,{error:cr}=await Ot.storage.from("cfp-presentations").upload(`submissions/${nt}`,p,{upsert:!1});if(cr){j("idle"),u(`File upload failed: ${cr.message}. Remove the file and try again, or email [email protected]`);return}const{data:_e,error:an}=await Ot.storage.from("cfp-presentations").createSignedUrl(`submissions/${nt}`,60*60*24*365);if(an||!_e?.signedUrl){j("idle"),u("File uploaded but could not generate access link. Contact [email protected]");return}H=_e.signedUrl}j("submitting");const ae={speaker_name:Je(S.speaker_name),email:Je(S.email),designation:Je(S.designation),bio:Je(S.bio),country:Je(S.country),linkedin_url:Je(S.linkedin_url),twitter_handle:Je(S.twitter_handle),github_url:Je(S.github_url),co_speaker_name:Je(S.co_speaker_name),co_speaker_email:Je(S.co_speaker_email),talk_title:Je(S.talk_title),category:S.category,abstract:Je(S.abstract),target_audience:Je(S.target_audience),key_takeaways:Je(S.key_takeaways),what_went_wrong:Je(S.what_went_wrong),the_pivot:Je(S.the_pivot),breakthrough_moment:Je(S.breakthrough_moment),display_preference:S.display_preference,recording_consent:S.recording_consent,previous_talks:Je(S.previous_talks),research_publications:Je(S.research_publications),first_time_speaker:S.first_time_speaker?"Yes":"No",special_requirements:Je(S.special_requirements),presentation_url:H||"(not uploaded)",_gotcha:S.honeypot};try{const ce=await fetch("https://formspree.io/f/maqvrqzo",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(ae)}),je=await ce.json();ce.ok&&!je.error?(Ry(),d(!0),_y(Je(S.speaker_name),Je(S.email),Je(S.talk_title),S.category)):u(je.error??"Submission failed. Please try again or email [email protected]")}catch{u("Network error. Please try again or email [email protected]")}finally{j("idle")}},ve=[{id:"c1",text:"My talk is not a sales pitch, product demo, or vendor promotion of any kind."},{id:"c2",text:"My talk was not primarily written by AI; tools may have assisted, but the research, ideas, and insights are entirely my own."},{id:"c3",text:"I am submitting this proposal myself, not through a PR firm, marketing agency, or any third-party representative. Submissions from third parties are automatically rejected."},{id:"c4",text:"My talk will be delivered in English. All materials (abstract, bio, slides) are in English."},{id:"c5",text:"I can legally deliver this talk and it does not infringe any intellectual property, trademark, or copyright law."},{id:"c6",text:"I understand that if I exceed my allocated talk time, I will receive a Nerf dart to the leg, and I fully, unconditionally accept this consequence."},{id:"c7",text:"I understand that BSides Indore does NOT guarantee travel, accommodation, or meals. Speaker benefits depend entirely on sponsorship received and will be communicated at time of acceptance."},{id:"c8",text:"I have read and agree to the BSides Indore Code of Conduct."},{id:"c9",text:"I understand that failure stories, honest pivots, and hard-won lessons matter more here than polished wins. My submission reflects this."},{id:"c10",text:"I understand that once the CFP closes, no changes to my submission details will be accepted under any circumstances."}],N=ve.every(S=>s[S.id]);if(Date.now()>=uo.getTime()&&!l)return t.jsxs("div",{style:{minHeight:"100vh",background:Zs,color:"#fff"},children:[t.jsxs("div",{style:{textAlign:"center",padding:"clamp(5rem,12vw,8rem) 1.5rem 3.5rem",borderBottom:"1px solid rgba(255,255,255,0.06)"},children:[t.jsx("div",{style:{width:64,height:64,borderRadius:"50%",border:"2px s
1067olid #f87171",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 1.75rem",fontSize:"1.6rem",color:"#f87171"},children:"â"}),t.jsx("div",{style:{fontFamily:qe,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.3em",color:"rgba(248,113,113,0.65)",textTransform:"uppercase",marginBottom:"0.85rem"},children:"⸠CFP · BSI-2026"}),t.jsx("h1",{style:{fontFamily:ye,fontSize:"clamp(1.6rem, 6vw, 2.8rem)",fontWeight:900,color:"#f87171",textTransform:"uppercase",letterSpacing:"0.06em",marginBottom:"0.7rem",lineHeight:1.1},children:"SUBMISSIONS CLOSED"}),t.jsx("div",{style:{fontFamily:qe,fontSize:"0.62rem",letterSpacing:"0.2em",color:"rgba(255,255,255,0.28)",marginBottom:"2rem"},children:"CLOSED · 11 JULY 2026 · MIDNIGHT IST"}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.9rem",color:"rgba(255,255,255,0.6)",lineHeight:1.85,maxWidth:500,margin:"0 auto 0.75rem"},children:"The Call for Papers closed on 11 July 2026. The review board is now evaluating all proposals received."}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:"rgba(255,255,255,0.36)",lineHeight:1.75,maxWidth:460,margin:"0 auto 2.5rem"},children:"If you submitted a talk, watch your inbox â speaker notifications will go out after the review process is complete."}),t.jsxs("div",{style:{display:"flex",gap:"0.85rem",flexWrap:"wrap",justifyContent:"center"},children:[t.jsx("button",{onClick:()=>r("/cfp-review-board"),style:{fontFamily:ye,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:`1px solid ${ie}40`,color:ie,borderRadius:4,padding:"0.75rem 1.5rem",cursor:"pointer"},children:"REVIEW BOARD â"}),t.jsx("button",{onClick:()=>r("/call-for-papers/faq"),style:{fontFamily:ye,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:"1px solid rgba(255,255,255,0.12)",color:"rgba(255,255,255,0.45)",borderRadius:4,padding:"0.75rem 1.5rem",cursor:"pointer"},children:"CFP FAQ"})]})]}),t.jsxs("div",{style:{maxWidth:900,margin:"0 auto",padding:"3.5rem 1.5rem 5rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"2rem"},children:[t.jsx("div",{style:{width:3,height:20,background:ie,borderRadius:2,flexShrink:0}}),t.jsx("span",{style:{fontFamily:ye,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.28em",color:ie,textTransform:"uppercase"},children:"CFP TRACKS · BSI-2026"}),t.jsx("div",{style:{flex:1,height:1,background:"rgba(34,211,238,0.12)"}})]}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.45)",lineHeight:1.7,marginBottom:"2rem"},children:"These were the seven research tracks open for submission. The accepted talks from these categories will be announced after review."}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(260px, 1fr))",gap:"1rem"},children:ho.map(S=>t.jsxs("div",{style:{background:`${S.color}06`,border:`1px solid ${S.color}22`,borderLeft:`3px solid ${S.color}`,borderRadius:5,padding:"1.1rem 1.2rem"},children:[t.jsx("div",{style:{fontFamily:qe,fontSize:"0.48rem",fontWeight:900,letterSpacing:"0.2em",color:`${S.color}90`,textTransform:"uppercase",marginBottom:"0.4rem"},children:S.label}),t.jsx("div",{style:{fontFamily:ye,fontSize:"0.72rem",fontWeight:900,color:S.color,letterSpacing:"0.04em",marginBottom:"0.55rem",lineHeight:1.3},children:S.title}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.8rem",color:"rgba(255,255,255,0.55)",lineHeight:1.65,margin:0},children:S.desc})]},S.id))})]})]});if(h&&!l)return t.jsxs("div",{style:{minHeight:"100vh",background:Zs,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"5rem 1.5rem",textAlign:"center"},children:[t.jsx("div",{style:{width:56,height:56,borderRadius:"50%",border:`2px solid ${Ke}`,display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 1.5rem",fontSize:"1.4rem"},children:"â "}),t.jsx("h2",{style:{fontFamily:ye,fontSize:"clamp(1rem, 4vw, 1.5rem)",fontWeight:900,color:Ke,textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:"0.75rem"},children:"ALREADY SUBMITTED"}),t.jsx("p",{style:{fontFamily:qe,fontSize:"0.85rem",color:"rgba(255,255,255,0.5)",lineHeight:1.8,maxWidth:420,marginBottom:"0.5rem"},children:"You have already submitted a CFP from this device in the last 24 hours."}),t.jsx("p",{style:{fontFamily:qe,fontSize:"0.75rem",color:"rgba(255,255,255,0.3)",lineHeight:1.7,maxWidth:420,marginBottom:"0.5rem"}
1067,children:"Multiple proposals are welcome. Each must be submitted separately, and you can submit again after 24 hours."}),t.jsxs("p",{style:{fontFamily:qe,fontSize:"0.75rem",color:"rgba(255,255,255,0.3)",lineHeight:1.7,maxWidth:420,marginBottom:"2rem"},children:["If you believe this is an error, email us at ",t.jsx("strong",{style:{color:ie},children:"[email protected]"})]}),t.jsx("button",{onClick:()=>r("/x2"),style:{fontFamily:ye,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:`1px solid ${ie}`,borderRadius:4,color:ie,padding:"0.7rem 1.8rem",cursor:"pointer"},children:"â BACK TO HOME"})]});if(!e)return t.jsxs("div",{style:{minHeight:"100vh",background:Zs,color:"#fff"},children:[t.jsxs("div",{style:{textAlign:"center",padding:"clamp(5rem, 10vw, 7rem) 1.5rem 2rem",background:"linear-gradient(180deg, rgba(34,211,238,0.04) 0%, transparent 100%)",borderBottom:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{fontFamily:qe,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.35em",color:Ke,textTransform:"uppercase",marginBottom:"1rem"},children:"⸠CFP · BSI-2026 · OPEN NOW"}),t.jsx("h1",{style:{fontFamily:ye,fontSize:"clamp(1.6rem, 6vw, 3rem)",fontWeight:900,letterSpacing:"0.05em",color:"#fff",textTransform:"uppercase",marginBottom:"1.25rem",lineHeight:1.1},children:"CALL FOR PAPERS"}),t.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1.1rem"},children:t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.6rem",background:"rgba(245,158,11,0.12)",border:"1px solid rgba(245,158,11,0.45)",borderRadius:4,padding:"0.4rem 1.1rem"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:Ke,boxShadow:`0 0 8px ${Ke}`,flexShrink:0,animation:"cfp-gn-blink 1.2s steps(1) infinite",display:"inline-block"}}),t.jsx("span",{style:{fontFamily:qe,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.2em",color:Ke,textTransform:"uppercase"},children:"DEADLINE EXTENDED â 11 JULY 2026"})]})}),t.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"2rem",flexWrap:"wrap",fontFamily:qe,fontSize:"0.65rem",color:"rgba(255,255,255,0.4)",letterSpacing:"0.15em"},children:[t.jsxs("span",{children:["OPENS ",t.jsx("strong",{style:{color:"rgba(255,255,255,0.6)"},children:"16 MAY 2026"})]}),t.jsxs("span",{children:["CLOSES ",t.jsx("strong",{style:{color:Ke},children:"11 JULY 2026"})]}),t.jsxs("span",{children:["NOTIFY ",t.jsx("strong",{style:{color:ie},children:"STAY TUNED"})]})]}),J&&t.jsxs("div",{style:{marginTop:"1.75rem",display:"flex",justifyContent:"center",gap:"0.75rem",flexWrap:"wrap"},children:[t.jsx(fn,{n:J.d,label:"Days"}),t.jsx(fn,{n:J.h,label:"Hours"}),t.jsx(fn,{n:J.m,label:"Min"}),t.jsx(fn,{n:J.s,label:"Sec"})]})]}),t.jsxs("div",{style:{maxWidth:760,margin:"0 auto",padding:"clamp(2rem, 5vw, 3.5rem) 1.5rem 6rem"},children:[t.jsxs("div",{style:{marginBottom:"2.5rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.25em",color:ie,textTransform:"uppercase",marginBottom:"1rem"},children:"WHAT BSIDES INDORE IS"}),t.jsx("p",{style:{fontFamily:"system-ui",fontSize:"0.9rem",color:"rgba(255,255,255,0.7)",lineHeight:1.8,margin:"0 0 1rem"},children:"BSides Indore is a community-run security conference that brings together practitioners, researchers, students, and newcomers in an open, vendor-neutral space. We are part of the global Security BSides movement, a decentralised platform where the security community shapes the agenda, not sponsors."}),t.jsx("p",{style:{fontFamily:"system-ui",fontSize:"0.9rem",color:"rgba(255,255,255,0.7)",lineHeight:1.8,margin:0},children:`We keep it local, affordable, and honest. The talks that get selected here are often the ones that wouldn't make it past a corporate programme committee: the failures, the pivots, the "we had no idea what we were doing" stories that are frequently the most valuable. Everyone is welcome: first-timers and veterans alike. There are no speaker fees, no pay-for-play, and no sales pitches.`})]}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:"1rem",marginBottom:"2.5rem"},children:[t.jsxs("div",{style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderTop:`3px solid ${ie}`,borderRadius:4,padding:"1.25rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.2em",color:ie,textTransform:"uppercase",marginBottom:"0.85rem"},children:"What We Look For"}),["Talks centred on what FAILED, what you tried, and what you learned","Original research, novel techniques, real-world case studies","Anything from offensive/defensive to IoT, AI, policy, career. If you're passionate about it, we want it","First-time speakers are actively encouraged"].map((S,H)=>t.jsxs("div",{style:{display:"flex",gap:"0.6rem",marginBottom:"0.6rem",alignItems:"flex-start"},children:[t.jsx("span",{style:{color:ie,flexShrink:0,marginTop:"0.1rem"},children:"â¸"}),t.jsx("span",{style:{fontFamily:"system-ui",fontSize:"0.78rem",color:"rgba(255,255,255,0.65)",lineHeight:1.6},children:S})]},H))]}),t.jsxs("div",{style:{background:"rgba(248,113,113,0.04)",border:"1px solid rgba(248,113,113,0.15)",borderTop:"3px solid #f87171",borderRadius:4,padding:"1.25rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.2em",color:"#f87171",textTransform:"uppercase",marginBottom:"0.85rem"},children:"What We Will Not Accept"}),["Product or vendor pitches. No exceptions: sponsorship does not buy speaking rights","Submissions via PR firms, marketing agencies, or third parties","Talks primarily generated by AI","Non-English submissions","The same talk resubmitted without significant new content"].map((S,H)=>t.jsxs("div",{style:{display:"flex",gap:"0.6rem",marginBottom:"0.6rem",alignItems:"flex-start"},children:[t.jsx("span",{style:{color:"#f87171",flexShrink:0,marginTop:"0.1rem"},children:"â"}),t.jsx("span",{style:{fontFamily:"system-ui",fontSize:"0.78rem",color:"rgba(255,255,255,0.65)",lineHeight:1.6},children:S})]},H))]}),t.jsxs("div",{style:{background:"rgba(245,158,11,0.04)",border:"1px solid rgba(245,158,11,0.15)",borderTop:`3px solid ${Ke}`,borderRadius:4,padding:"1.25rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.2em",color:Ke,textTransform:"uppercase",marginBottom:"0.85rem"},children:"Speaker Benefits"}),["Complimentary conference access","Invitation to the Networking Party","Recognition across all BSides Indore channels"].map((S,H)=>t.jsxs("div",{style:{display:"flex",gap:"0.6rem",marginBottom:"0.6rem",alignItems:"flex-start"},children:[t.jsx("span",{style:{color:Ke,flexShrink:0,marginTop:"0.1rem"},children:"â"}),t.jsx("span",{style:{fontFamily:"system-ui",fontSize:"0.78rem",color:"rgba(255,255,255,0.65)",lineHeight:1.6},children:S})]},H)),t.jsx("div",{style:{marginTop:"0.85rem",padding:"0.65rem 0.75rem",background:"rgba(245,158,11,0.08)",border:"1px solid rgba(245,158,11,0.2)",borderRadius:4},children:t.jsxs("span",{style:{fontFamily:"system-ui",fontSize:"0.72rem",color:"rgba(255,255,255,0.5)",lineHeight:1.6},children:["BSides Indore does ",t.jsx("strong",{style:{color:Ke},children:"NOT"})," guarantee travel, accommodation, or meals. Any additional benefits depend on sponsorship received and are confirmed at acceptance."]})})]})]}),t.jsxs("div",{style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.07)",borderRadius:4,padding:"1.25rem",marginBottom:"2.5rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.4)",textTransform:"uppercase",marginBottom:"0.85rem"},children:"Format & Requirements"}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"0.5rem"},children:[["Duration","45 min (40 min talk + 5 to 15 min Q&A)"],["Language","English only. All materials must be in English"],["Recording","Talks are recorded by default. Opt out in the form"],["Changes","No changes allowed after CFP closes (11 July 2026)"],["Multiple proposals","Submit each proposal separately"],["Acceptance","Notifications: stay tuned. We notify all speakers"]].map(([S,H])=>t.jsxs("div",{style:{padding:"0.6rem 0",borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.48rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.3)",textTransform:"uppercase",marginBottom:"0.2rem"},children:S}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.78rem",color:"rgba(255,255,255,0.65)",lineHeight:1.5},children:H})]},S))})]}),t.jsxs("div",{style:{textAlign:"center",marginBottom:"2rem",padding:"0.85rem 1rem",background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.07)",borderRadius:4},children:[t.jsxs("span",{style:{fontFamily:"system-ui",fontSize:"0.8rem",color:"rgba(255,255,255,0.45)"},children:["Have questions before you start?"," "]}),t.jsx("a",{href:"/call-for-papers/faq",target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"system-ui",fontSize:"0.8rem",color:ie,textDecoration:"underline"},children:"Read the CFP FAQ â"})]}),t.jsxs("div",{style:{border:"1px solid rgba(34,211,238,0.2)",borderTop:`3px solid ${ie}`,borderRadius:4,padding:"1.5rem",marginBottom:"2rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.25em",color:ie,textTransform:"uppercase",marginBottom:"0.35rem"},children:"Pre-Requisites Checklist"}),t.jsx("p",{style:{fontFamily:"system-ui",fontSize:"0.78rem",color:"rgba(255,255,255,0.4)",lineHeight:1.6,marginBottom:"1.5rem"},children:"Read and check all items to proceed. By checking these you agree they are true and understand the expectations of BSides Indore."}),ve.map((S,H)=>t.jsxs("label",{style:{display:"flex",gap:"0.85rem",alignItems:"flex-start",cursor:"pointer",marginBottom:"1rem",padding:"0.75rem",background:s[S.id]?"rgba(34,211,238,0.05)":"transparent",border:`1px solid ${s[S.id]?"rgba(34,211,238,0.2)":"rgba(255,255,255,0.06)"}`,borderRadius:4,transition:"background 0.2s, border-color 0.2s"},children:[t.jsx("div",{style:{width:20,height:20,flexShrink:0,marginTop:1,border:`2px solid ${s[S.id]?ie:"rgba(255,255,255,0.2)"}`,borderRadius:3,background:s[S.id]?ie:"transparent",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.15s"},children:s[S.id]&&t.jsx("span",{style:{color:"#000",fontSize:"0.7rem",fontWeight:900,lineHeight:1},children:"â"})}),t.jsx("input",{type:"checkbox",checked:!!s[S.id],onChange:ae=>i(ce=>({...ce,[S.id]:ae.target.checked})),style:{display:"none"}}),t.jsx("span",{style:{fontFamily:"system-ui",fontSize:"0.82rem",color:s[S.id]?"rgba(255,255,255,0.8)":"rgba(255,255,255,0.55)",lineHeight:1.6,transition:"color 0.2s"},children:S.id==="c8"?t.jsxs(t.Fragment,{children:["I have read and agree to the"," ",t.jsx("a",{href:"/code-of-conduct",target:"_blank",rel:"noopener noreferrer",style:{color:ie,textDecoration:"underline"},onClick:ae=>ae.stopPropagation(),children:"BSides Indore Code of Conduct"}),"."]}):S.text}),t.jsx("span",{style:{marginLeft:"auto",flexShrink:0,fontFamily:qe,fontSize:"0.6rem",color:"rgba(255,255,255,0.2)",paddingTop:"0.15rem"},children:String(H+1).padStart(2,"0")})]},S.id))]}),t.jsx("button",{disabled:!N,onClick:()=>n(!0),style:{width:"100%",fontFamily:ye,fontSize:"0.75rem",fontWeight:900,letterSpacing:"0.2em",textTransform:"uppercase",background:N?ie:"rgba(255,255,255,0.06)",border:`1px solid ${N?ie:"rgba(255,255,255,0.1)"}`,borderRadius:4,color:N?"#000":"rgba(255,255,255,0.2)",padding:"1rem 2rem",cursor:N?"pointer":"default",boxShadow:N?"0 0 30px rgba(34,211,238,0.3)":"none",transition:"all 0.3s"},children:N?"I AGREE - START MY SUBMISSION â":`CHECK ALL ${ve.length}
1067 ITEMS TO CONTINUE`}),!N&&t.jsxs("p",{style:{textAlign:"center",fontFamily:qe,fontSize:"0.65rem",color:"rgba(255,255,255,0.25)",marginTop:"0.75rem"},children:[ve.filter(S=>s[S.id]).length," / ",ve.length," confirmed"]})]})]});if(l)return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:Py}),t.jsx("div",{style:{minHeight:"100vh",background:Zs,display:"flex",flexDirection:"column"},children:t.jsx("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",padding:"5rem 1.5rem 4rem"},children:t.jsxs("div",{style:{textAlign:"center",maxWidth:560},children:[t.jsx("div",{style:{width:72,height:72,borderRadius:"50%",border:`2px solid ${ie}`,display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 2rem",boxShadow:"0 0 30px rgba(34,211,238,0.3)",fontSize:"1.8rem"},children:"â"}),t.jsx("h1",{className:"cfp-glitch",style:{fontFamily:ye,fontSize:"clamp(1.2rem, 5vw, 2rem)",fontWeight:900,letterSpacing:"0.1em",color:ie,textTransform:"uppercase",marginBottom:"0.75rem"},children:"SUBMISSION RECEIVED"}),t.jsx("p",{style:{fontFamily:qe,fontSize:"0.85rem",color:"rgba(255,255,255,0.6)",lineHeight:1.8,marginBottom:"0.5rem"},children:"Your submission has been logged. We'll review it and be in touch."}),t.jsxs("p",{style:{fontFamily:qe,fontSize:"0.75rem",color:"rgba(255,255,255,0.35)",lineHeight:1.7,marginBottom:"2rem"},children:["CFP closes ",t.jsx("strong",{style:{color:Ke},children:"11 July 2026"}),". Speaker notifications: stay tuned."]}),t.jsxs("div",{style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(34,211,238,0.12)",padding:"1.25rem",marginBottom:"1rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.25em",color:ie,textTransform:"uppercase",marginBottom:"1rem"},children:"THE SOCIAL GRID"}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"0.75rem"},children:[{platform:"X / Twitter",handle:"@BsidesIndore",href:"https://twitter.com/BsidesIndore"},{platform:"LinkedIn",handle:"BSides Indore",href:"https://www.linkedin.com/company/security-bsides-indore"},{platform:"Instagram",handle:"@bsidesindore",href:"https://instagram.com/bsidesindore"},{platform:"WhatsApp",handle:"Join Community",href:"https://chat.whatsapp.com/LqiB84oShPtCdNvsNieKyW"}].map(S=>t.jsxs("a",{href:S.href,target:"_blank",rel:"noopener noreferrer",style:{display:"block",textAlign:"center",padding:"0.75rem 0.5rem",background:"rgba(255,255,255,0.04)",border:"1px solid rgba(34,211,238,0.12)",textDecoration:"none"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.45rem",fontWeight:900,letterSpacing:"0.12em",color:ie,textTransform:"uppercase",marginBottom:"0.3rem"},children:S.platform}),t.jsx("div",{style:{fontFamily:ye,fontSize:"0.55rem",color:"rgba(255,255,255,0.7)"},children:S.handle})]},S.platform))})]}),t.jsxs("div",{style:{padding:"1.25rem",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderLeft:`3px solid ${ie}`,textAlign:"center",marginBottom:"2rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.25em",color:ie,textTransform:"uppercase",marginBottom:"0.75rem"},children:"FIND US ONLINE"}),t.jsx("img",{src:"/QR.png",alt:"BSides Indore, social directory QR code",style:{width:120,height:120,margin:"0 auto 0.75rem",display:"block",imageRendering:"pixelated"}}),t.jsx("p",{style:{fontFamily:"system-ui",fontSize:"0.75rem",color:"rgba(255,255,255,0.55)",margin:0},children:"Scan to access our complete social directory"})]}),t.jsx("button",{onClick:()=>r("/x2"),style:{fontFamily:ye,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:`1px solid ${ie}`,borderRadius:4,color:ie,padding:"0.7rem 1.8rem",cursor:"pointer",transition:"background 0.2s, box-shadow 0.2s"},onMouseEnter:S=>{S.currentTarget.style.background="rgba(34,211,238,0.1)",S.currentTarget.style.boxShadow="0 0 16px rgba(34,211,238,0.2)"},onMouseLeave:S=>{S.currentTarget.style.background="transparent",S.currentTarget.style.boxShadow="none"},children:"â BACK TO HOME"})]})})})]});const q=L(),te=ho.find(S=>S.id===q.category);return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:Fy}),t.jsxs("div",{style:{minHeight:"100vh",background:Zs,color:"#fff"},children:[t.jsxs("div",{style:{textAlign:"center",padding:"clamp(5rem, 10vw, 7rem) 1.5rem 2rem",background:"linear-gradient(180deg, rgba(34,211,238,0.04) 0%, transparent 100%)",borderBottom:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{fontFamily:qe,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.35em",color:Ke,textTransform:"uppercase",marginBottom:"1rem"},children:"⸠CFP · BSI-2026 · OPEN NOW"}),t.jsx("h1",{style:{fontFamily:ye,fontSize:"clamp(1.6rem, 6vw, 3rem)",fontWeight:900,letterSpacing:"0.05em",color:"#fff",textTransform:"uppercase",marginBottom:"1.25rem",lineHeight:1.1},children:"CALL FOR PAPERS"}),t.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1.1rem"},children:t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.6rem",background:"rgba(245,158,11,0.12)",border:"1px solid rgba(245,158,11,0.45)",borderRadius:4,padding:"0.4rem 1.1rem"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:Ke,boxShadow:`0 0 8px ${Ke}`,flexShrink:0,animation:"cfp-gn-blink 1.2s steps(1) infinite",display:"inline-block"}}),t.jsx("span",{style:{fontFamily:qe,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.2em",color:Ke,textTransform:"uppercase"},children:"DEADLINE EXTENDED â 11 JULY 2026"})]})}),t.jsxs("p",{style:{fontFamily:qe,fontSize:"clamp(0.75rem, 2vw, 0.88rem)",color:"rgba(255,255,255,0.5)",maxWidth:540,margin:"0 auto 1.25rem",lineHeight:1.8},children:["Submit your research. Show the wins ",t.jsx("em",{children:"and"})," the failures.",t.jsx("br",{}),"The best talks start with a question no one else thought to ask."]}),t.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"2rem",flexWrap:"wrap",fontFamily:qe,fontSize:"0.65rem",color:"rgba(255,255,255,0.4)",letterSpacing:"0.15em"},children:[t.jsxs("span",{children:["OPENS ",t.jsx("strong",{style:{color:"rgba(255,255,255,0.6)"},children:"16 MAY 2026"})]}),t.jsxs("span",{children:["CLOSES ",t.jsx("strong",{style:{color:Ke},children:"11 JULY 2026"})]}),t.jsxs("span",{children:["NOTIFY ",t.jsx("strong",{style:{color:ie},children:"STAY TUNED"})]})]}),J&&t.jsxs("div",{style:{marginTop:"1.75rem",display:"flex",justifyContent:"center",gap:"0.75rem",flexWrap:"wrap"},children:[t.jsx(fn,{n:J.d,label:"Days"}),t.jsx(fn,{n:J.h,label:"Hours"}),t.jsx(fn,{n:J.m,label:"Min"}),t.jsx(fn,{n:J.s,label:"Sec"})]})]}),t.jsxs("div",{style:{maxWidth:720,margin:"0 auto",padding:"clamp(2rem, 5vw, 3.5rem) 1.5rem 5rem"},children:[t.jsx("div",{style:{display:"flex",alignItems:"flex-start",marginBottom:"2.5rem"},children:Qs.map((S,H)=>t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",flexShrink:0,width:52},children:[t.jsx("div",{style:{width:28,height:28,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:ye,fontSize:"0.6rem",fontWeight:900,background:H===a?ie:H<a?"rgba(34,211,238,0.18)":"rgba(255,255,255,0.05)",border:`2px solid ${H<=a?ie:"rgba(255,255,255,0.12)"}`,color:H===a?"#000":H<a?ie:"rgba(255,255,255,0.35)",transition:"all 0.3s"},children:H+1}),t.jsx("div",{style:{marginTop:"0.4rem",fontFamily:ye,fontSize:"0.48rem",fontWeight:900,letterSpacing:"0.08em",textTransform:"uppercase",textAlign:"center",lineHeight:1.3,color:H===a?ie:H<a?"rgba(34,211,238,0.45)":"rgba(255,255,255,0.25)",transition:"color 0.3s"},children:S})]},H),H<Qs.length-1&&t.jsx("div",{style:{flex:1,height:2,marginTop:13,alignSelf:"flex-start",background:H<a?ie:"rgba(34,211,238,0.12)",transition:"background 0.3s"}})]}))}),t.jsxs("div",{style:{marginBottom:"2rem"},children:[t.jsx("h2",{style:{fontFamily:ye,fontSize:"clamp(0.9rem, 3vw, 1.25rem)",fontWeight:900,letterSpacing:"0.1em",color:"#fff",textTransform:"uppercase",marginBottom:"0.35rem"},children:Qs[a]}),t.jsx("div",{style:{height:1,background:`linear-gradient(to right, ${ie}, transparent)`}})]}),t.jsxs("form",{onSubmit:w(xe,F),children:[a===0&&t.jsxs("div",{children:[t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(240px, 1fr))",gap:"0 1.25rem"},children:[t.jsx(Xe,{label:"Full Name *",error:P.speaker_name?.message,children:t.jsx(gr,{...x("speaker_name"),placeholder:"Your real name",autoComplete:"name"})}),t.jsx(Xe,{label:"Email Address *",error:P.email?.message,children:t.jsx(gr,{...x("email"),type:"email",placeholder:"[email protected]",autoComplete:"email"})})]}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(240px, 1fr))",gap:"0 1.25rem"},children:[t.jsx(Xe,{label:"Designation",error:P.designation?.message,children:t.jsx(gr,{...x("designation"),placeholder:"Security Researcher, Red Teamer, â¦"})}),t.jsx(Xe,{label:"Country",error:P.country?.message,children:t.jsx(gr,{...x("country"),placeholder:"India",autoComplete:"country-name"})})]}),t.jsx(Xe,{label:"Speaker Bio *",error:P.bio?.message,hint:"A short paragraph about you. This goes on the programme page if accepted.",children:t.jsx(Kr,{...x("bio"),rows:4,placeholder:"Who are you? What do you work on? What's your research background?"})}),t.jsx(Xe,{label:"Display Name Preference *",error:P.display_preference?.message,hint:"How should we refer to you on posters, social media, and the schedule?",children:t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem",marginTop:"0.25rem"},children:[{value:"real_name",label:"Real name only",desc:"e.g. Jane Doe"},{value:"handle",label:"Social handle only",desc:"e.g. @j4n3d0e"},{value:"both",label:"Both name and handle",desc:"e.g. Jane Doe (@j4n3d0e)"}].map(S=>{const H=R("display_preference")===S.value;return t.jsxs("label",{style:{display:"flex",alignItems:"center",gap:"0.75rem",cursor:"pointer",padding:"0.65rem 0.9rem",border:`1px solid ${H?"rgba(34,211,238,0.4)":"rgba(34,211,238,0.12)"}`,borderRadius:4,background:H?"rgba(34,211,238,0.07)":"transparent",transition:"all 0.15s"},children:[t.jsx("input",{type:"radio",value:S.value,...x("display_preference"),style:{display:"none"}}),t.jsx("div",{style:{width:16,height:16,borderRadius:"50%",flexShrink:0,border:`2px solid ${H?ie:"rgba(255,255,255,0.25)"}`,background:H?ie:"transparent",display:"flex",alignItems:"center",justifyContent:"center"},children:H&&t.jsx("div",{style:{width:6,height:6,borderRadius:"50%",background:"#000"}})}),t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.82rem",color:H?"#fff":"rgba(255,255,255,0.7)",lineHeight:1.3},children:S.label}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.7rem",color:"rgba(255,255,255,0.35)",marginTop:"0.1rem"},children:S.desc})]})]},S.value)})})})]}),a===1&&t.jsxs("div",{children:[t.jsx("div",{style:{padding:"0.85rem 1rem",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.1)",borderRadius:4,marginBottom:"1.75rem",fontFamily:qe,fontSize:"0.72rem",color:"rgba(255,255,255,0.45)",lineHeight:1.7},children:"All fields on this step are optional. Social links help us verify your background and feature you properly."}),t.jsx(Xe,{label:"LinkedIn URL",error:P.linkedin_url?.message,children:t.jsx(gr,{...x("linkedin_url"),placeholder:"https://linkedin.com/in/yourprofile",type:"url"})}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(240px, 1fr))",gap:"0 1.25rem"},children:[t.jsx(Xe,{label:"Twitter / X Handle",error:P.twitter_handle?.message,children:t.jsx(gr,{...x("twitter_handle"),placeholder:"@handle"})}),t.jsx(Xe,{label:"GitHub URL",error:P.github_url?.message,children:t.jsx(gr,{...x("github_url"),placeholder:"https://github.com/yourusername",type:"url"})})]}),t.jsx("div",{style:{height:1,background:"rgba(255,255,255,0.07)",margin:"1.5rem 0"}}),t.jsx("div",{style:{fontFamily:ye,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.35)",textTransform:"uppercase",marginBottom:"1rem"},children:"CO-SPEAKER (optional)"}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(240px, 1fr))",gap:"0 1.25rem"},children:[t.jsx(Xe,{label:"Co-Speaker Name",error:P.co_speaker_name?.message,children:t.jsx(gr,{...x("co_speaker_name"),placeholder:"Full name"})}),t.jsx(Xe,{label:"Co-Speaker Email",error:P.co_speaker_email?.message,children:t.jsx(gr,{...x("co_speaker_email"),type:"email",placeholder:"[email protected]"})})]})]}),a===2&&t.jsxs("div",{children:[t.jsx(Xe,{label:"Talk Title *",error:P.talk_title?.message,children:t.jsx(gr,{...x("talk_title"),placeholder:"Something that makes a reviewer sit up straight"})}),t.jsx(Xe,{label:"Category *",error:P.category?.message,children:t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"0.75rem",marginTop:"0.25rem"},children:ho.map(S=>{const H=he===S.id;return t.jsxs("label",{style:{display:"block",cursor:"pointer",border:`1px solid ${H?S.color:"rgba(255,255,255,0.1)"}`,borderRadius:4,padding:"0.85rem",background:H?`${S.color}12`:"transparent",transition:"border-color 0.2s, background 0.2s",boxShadow:H?`0 0 12px ${S.color}22`:"none"},children:[t.jsx("input",{type:"radio",value:S.id,...x("category"),style:{display:"none"}}),t.jsx("div",{style:{fontFamily:ye,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.15em",color:S.color,textTransform:"uppercase",marginBottom:"0.3rem"},children:S.label}),t.jsx("div",{style:{fontFamily:ye,fontSize:"0.62rem",fontWeight:900,color:H?"#fff":"rgba(255,255,255,0.7)",marginBottom:"0.4rem",lineHeight:1.3},children:S.title}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.68rem",color:"rgba(255,255,255,0.4)",lineHeight:1.5},children:S.desc})]},S.id)})})}),t.jsx(Xe,{label:"Abstract *",error:P.abstract?.message,hint:"What is this talk about? What problem does it address? Min 100 characters.",children:t.jsx(Kr,{...x("abstract"),rows:6,placeholder:"Describe your research, the problem space, your approach, and what attendees will learn."})}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(240px, 1fr))",gap:"0 1.25rem"},children:t.jsx(Xe,{label:"Target Audience",error:P.target_audience?.message,children:t.jsx(gr,{...x("target_audience"),placeholder:"e.g. Pentesters, DevSecOps, Blue Teamâ¦"})})}),t.jsx(Xe,{label:"Key Takeaways",error:P.key_takeaways?.message,hint:"3 bullet points of what attendees will walk away knowing.",children:t.jsx(Kr,{...x("key_takeaways"),rows:3,placeholder:`1. ⦠10682. ⦠10693. â¦`})}),t.jsx(Xe,{label:"Recording Consent *",error:P.recording_consent?.message,hint:"Talks are recorded by default and may be published after the event.",children:t.jsx("div",{style:{display:"flex",gap:"0.75rem",marginTop:"0.25rem",flexWrap:"wrap"},children:[{value:"yes",label:"Yes, record my talk",desc:"Talk can be recorded and published",accent:ie},{value:"no",label:"No, do not record",desc:"Live audience only, no recording published",accent:"#f87171"}].map(S=>{const H=R("recording_consent")===S.value;return t.jsxs("label",{style:{flex:"1 1 200px",display:"flex",alignItems:"center",gap:"0.75rem",cursor:"pointer",padding:"0.85rem 0.9rem",border:`1px solid ${H?S.accent+"66":"rgba(34,211,238,0.12)"}`,borderRadius:4,background:H?S.accent+"0f":"transparent",transition:"all 0.15s"},children:[t.jsx("input",{type:"radio",value:S.value,...x("recording_consent"),style:{display:"none"}}),t.jsx("div",{style:{width:16,height:16,borderRadius:"50%",flexShrink:0,border:`2px solid ${H?S.accent:"rgba(255,255,255,0.25)"}`,background:H?S.accent:"transparent",display:"flex",alignItems:"center",justifyContent:"center"},children:H&&t.jsx("div",{style:{width:6,height:6,borderRadius:"50%",background:"#000"}})}),t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.82rem",color:H?"#fff":"rgba(255,255,255,0.7)",lineHeight:1.3},children:S.label}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.7rem",color:"rgba(255,255,255,0.35)",marginTop:"0.1rem"},children:S.desc})]})]},S.value)})})})]}),a===3&&t.jsxs("div",{children:[t.jsxs("div",{style:{padding:"1rem 1.25rem",background:"rgba(245,158,11,0.06)",border:"1px solid rgba(245,158,11,0.2)",borderLeft:`3px solid ${Ke}`,borderRadius
1069:4,marginBottom:"2rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.2em",color:Ke,textTransform:"uppercase",marginBottom:"0.4rem"},children:"WHY THIS MATTERS"}),t.jsxs("p",{style:{fontFamily:"system-ui",fontSize:"0.8rem",color:"rgba(255,255,255,0.6)",lineHeight:1.7,margin:0},children:["Real research is messy. Every discovery starts with wrong assumptions, wasted weeks, and dead ends. We want to hear ",t.jsx("em",{children:"all of it"}),", not just the win. If you talk about wins, show us what made you pivot, what thought came in, or what changed that moved you closer to the answer. All fields are ",t.jsx("strong",{style:{color:Ke},children:"required"}),"."]})]}),t.jsx(Xe,{label:"WHAT FAILED?",error:P.what_went_wrong?.message,hint:"Dead ends, wrong assumptions, wasted weeks. Give us the raw version. Every research path has them.",children:t.jsx(Kr,{...x("what_went_wrong"),rows:5,placeholder:"What did you try that didn't work? What assumptions turned out to be wrong? How long did you chase the wrong lead?"})}),t.jsx(Xe,{label:"THE PIVOT",error:P.the_pivot?.message,hint:"What made you change direction? The moment, the person, or the signal that flipped your approach.",children:t.jsx(Kr,{...x("the_pivot"),rows:5,placeholder:"What triggered the change in direction? Was it a paper, a conversation, an anomaly in the data, a random thought at 2am?"})}),t.jsx(Xe,{label:"THE BREAKTHROUGH",error:P.breakthrough_moment?.message,hint:"What changed your thinking? The realization that moved you closer to the answer. What made it click?",children:t.jsx(Kr,{...x("breakthrough_moment"),rows:5,placeholder:"Describe the moment something clicked. What did you understand that you didn't before? How did that change what you tried next?"})})]}),a===4&&t.jsxs("div",{children:[t.jsx("div",{style:{padding:"0.85rem 1rem",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.1)",borderRadius:4,marginBottom:"1.75rem",fontFamily:qe,fontSize:"0.72rem",color:"rgba(255,255,255,0.45)",lineHeight:1.7},children:"All text fields on this step are optional, but help the review board calibrate your submission."}),t.jsx(Xe,{label:"Previous Talks",error:P.previous_talks?.message,hint:"Links to past talks, recordings, or slides. One link per line.",children:t.jsx(Kr,{...x("previous_talks"),rows:4,placeholder:`https://youtube.com/... 1070https://conference.example/slides/...`})}),t.jsx(Xe,{label:"Research Publications",error:P.research_publications?.message,hint:"CVEs, blog posts, papers, advisories. Anything that demonstrates your research.",children:t.jsx(Kr,{...x("research_publications"),rows:4,placeholder:`CVE-2025-XXXXX 1071https://blog.example/your-research...`})}),t.jsx("div",{style:Mo,children:t.jsxs("label",{style:{display:"flex",gap:"0.85rem",alignItems:"flex-start",cursor:"pointer",padding:"0.85rem 0.9rem",border:`1px solid ${R("first_time_speaker")?"rgba(34,211,238,0.3)":"rgba(34,211,238,0.12)"}`,borderRadius:4,background:R("first_time_speaker")?"rgba(34,211,238,0.05)":"transparent",transition:"all 0.15s"},children:[t.jsx("input",{type:"checkbox",...x("first_time_speaker"),style:{position:"absolute",opacity:0,width:0,height:0}}),t.jsx("div",{style:{width:18,height:18,flexShrink:0,marginTop:1,border:`2px solid ${R("first_time_speaker")?ie:"rgba(255,255,255,0.25)"}`,borderRadius:3,background:R("first_time_speaker")?ie:"transparent",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.15s"},children:R("first_time_speaker")&&t.jsx("span",{style:{color:"#000",fontSize:"0.65rem",fontWeight:900,lineHeight:1},children:"â"})}),t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.82rem",color:"rgba(255,255,255,0.8)",lineHeight:1.4},children:"This is my first time speaking at a conference"}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.72rem",color:"rgba(255,255,255,0.35)",marginTop:"0.2rem"},children:"First-timers get extra support during the review process."})]})]})}),t.jsx(Xe,{label:"Anything Else We Should Know?",error:P.special_requirements?.message,hint:"Accessibility needs, scheduling constraints, first-timer support requests. Max 1000 characters. Optional.",children:t.jsx(Kr,{...x("special_requirements"),rows:3,placeholder:"e.g. I use a wheelchair and will need stage accessibility. / I'm a first-time speaker and would appreciate a mentor. / I'm only available on Day 1."})}),t.jsxs("div",{style:Mo,children:[t.jsx("label",{style:ou,children:"PRESENTATION / SLIDES"}),t.jsx("div",{style:{fontSize:"0.72rem",color:"rgba(255,255,255,0.38)",fontFamily:"system-ui",marginBottom:"0.75rem"},children:"Upload your deck or draft slides. Accepted: PDF, PPT, PPTX, KEY, ZIP · Max 20 MB · Optional but encouraged."}),t.jsxs("label",{style:{display:"flex",alignItems:"center",gap:"0.85rem",border:`1px dashed ${p?ie:"rgba(34,211,238,0.25)"}`,borderRadius:4,padding:"1rem 1.25rem",background:p?"rgba(34,211,238,0.05)":"transparent",curs
1071or:"pointer",transition:"border-color 0.2s, background 0.2s"},children:[t.jsx("input",{type:"file",accept:".pdf,.ppt,.pptx,.key,.zip",onChange:_,style:{display:"none"}}),t.jsx("div",{style:{width:36,height:36,borderRadius:4,flexShrink:0,background:p?"rgba(34,211,238,0.12)":"rgba(255,255,255,0.04)",border:`1px solid ${p?ie:"rgba(255,255,255,0.1)"}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1rem"},children:p?"ð":"â¬"}),t.jsx("div",{children:p?t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{fontFamily:qe,fontSize:"0.8rem",color:ie,marginBottom:"0.2rem"},children:p.name}),t.jsxs("div",{style:{fontFamily:"system-ui",fontSize:"0.68rem",color:"rgba(255,255,255,0.4)"},children:[Ic(p.size)," · Click to replace"]})]}):t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.6rem",fontWeight:700,color:"rgba(255,255,255,0.6)",letterSpacing:"0.1em"},children:"CLICK TO UPLOAD"}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.68rem",color:"rgba(255,255,255,0.3)",marginTop:"0.15rem"},children:"PDF, PPT, PPTX, KEY or ZIP"})]})}),p&&t.jsx("button",{type:"button",onClick:S=>{S.preventDefault(),S.stopPropagation(),m(null),g("")},style:{marginLeft:"auto",background:"transparent",border:"none",color:"rgba(255,255,255,0.3)",cursor:"pointer",fontSize:"1rem",padding:"0.25rem",lineHeight:1,flexShrink:0},title:"Remove file",children:"â"})]}),f&&t.jsx("div",{style:lu,children:f})]}),t.jsx("input",{...x("honeypot"),type:"text","aria-hidden":"true",tabIndex:-1,style:{position:"absolute",opacity:0,pointerEvents:"none",width:0,height:0},autoComplete:"off"})]}),a===5&&t.jsxs("div",{children:[t.jsx("div",{style:{padding:"0.85rem 1rem",background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.1)",borderRadius:4,marginBottom:"1.75rem",fontFamily:qe,fontSize:"0.72rem",color:"rgba(255,255,255,0.55)",lineHeight:1.7},children:"Review your submission below. Use â BACK to edit any section. When you're ready, hit SUBMIT RESEARCH."}),t.jsxs(ei,{title:"Who Are You",children:[t.jsx(Ze,{label:"Full Name",value:q.speaker_name}),t.jsx(Ze,{label:"Email",value:q.email}),t.jsx(Ze,{label:"Designation",value:q.designation}),t.jsx(Ze,{label:"Country",value:q.country}),t.jsx(Ze,{label:"Bio",value:q.bio,truncate:!0}),t.jsx(Ze,{label:"Display As",value:q.display_preference==="real_name"?"Real name only":q.display_preference==="handle"?"Handle only":q.display_preference==="both"?"Both name and handle":void 0})]}),t.jsxs(ei,{title:"Profiles",children:[t.jsx(Ze,{label:"LinkedIn",value:q.linkedin_url}),t.jsx(Ze,{label:"Twitter / X",value:q.twitter_handle}),t.jsx(Ze,{label:"GitHub",value:q.github_url}),t.jsx(Ze,{label:"Co-Speaker",value:q.co_speaker_name?`${q.co_speaker_name} (${q.co_speaker_email})`:void 0}),!q.linkedin_url&&!q.twitter_handle&&!q.github_url&&!q.co_speaker_name&&t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.75rem",color:"rgba(255,255,255,0.25)",fontStyle:"italic"},children:"No social profiles added"})]}),t.jsxs(ei,{title:"The Talk",color:te?.color,children:[t.jsx(Ze,{label:"Title",value:q.talk_title}),t.jsx(Ze,{label:"Track",value:te?`${te.label}: ${te.title}`:void 0}),t.jsx(Ze,{label:"Abstract",value:q.abstract,truncate:!0}),t.jsx(Ze,{label:"Audience",value:q.target_audience}),t.jsx(Ze,{label:"Takeaways",value:q.key_takeaways,truncate:!0}),t.jsx(Ze,{label:"Recording",value:q.recording_consent==="yes"?"Consented to recording":q.recording_consent==="no"?"No recording":void 0})]}),t.jsxs(ei,{title:"The Journey",color:Ke,children:[t.jsx(Ze,{label:"What Failed?",value:q.what_went_wrong,truncate:!0}),t.jsx(Ze,{label:"The Pivot",value:q.the_pivot,truncate:!0}),t.jsx(Ze,{label:"Breakthrough",value:q.breakthrough_moment,truncate:!0})]}),t.jsxs(ei,{title:"Track Record",children:[t.jsx(Ze,{label:"Previous Talks",value:q.previous_talks,truncate:!0}),t.jsx(Ze,{label:"Publications",value:q.research_publications,truncate:!0}),q.first_time_speaker&&t.jsx(Ze,{label:"First-time Speaker",value:"Yes"}),t.jsx(Ze,{label:"Special Requests",value:q.special_requirements,truncate:!0}),p?t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"160px 1fr",gap:"0.25rem 1rem",marginBottom:"0.7rem"},children:[t.jsx("div",{style:{fontFamily:ye,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.35)",textTransform:"uppercase",paddingTop:"0.15rem"},children:"Presentation"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[t.jsx("span",{style:{fontSize:"0.9rem"},children:"ð"}),t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:qe,fontSize:"0.8rem",color:ie},children:p.name}),t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.68rem",color:"rgba(255,255,255,0.35)"},children:Ic(p.size)})]})]})]}):t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.75rem",color:"rgba(255,255,255,0.25)",fontStyle:"italic"},children:"No presentation uploaded"})]}),c&&t.jsx("div",{style:{padding:"0.85rem 1rem",background:"rgba(248,113,113,0.08)",border:"1px solid rgba(248,113,113,0.3)",borderRadius:4,marginBottom:"1rem",fontFamily:"system-ui",fontSize:"0.8rem",color:"#f87171",lineHeight:1.6},children:c})]}),t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"2.5rem",gap:"1rem"},children:[t.jsx("button",{type:"button",onClick:E,disabled:a===0,style:{fontFamily:ye,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:"1px solid rgba(255,255,255,0.15)",borderRadius:4,color:"rgba(255,255,255,0.45)",padding:"0.65rem 1.5rem",cursor:a===0?"default":"pointer",opacity:a===0?0:1,transition:"opacity 0.2s, color 0.2s, border-color 0.2s"},onMouseEnter:S=>{a>0&&(S.currentTarget.style.color="#fff",S.currentTarget.style.borderColor="rgba(255,255,255,0.35)")},onMouseLeave:S=>{S.currentTarget.style.color="rgba(255,255,255,0.45)",S.currentTarget.style.borderColor="rgba(255,255,255,0.15)"},children:"â BACK"}),a<Qs.length-1?t.jsx("button",{type:"button",onClick:A,style:{fontFamily:ye,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:ie,border:"none",borderRadius:4,color:"#000",padding:"0.7rem 2rem",cursor:"pointer",boxShadow:"0 0 20px rgba(34,211,238,0.25)",transition:"box-shadow 0.2s, transform 0.1s"},onMouseEnter:S=>{S.currentTarget.style.boxShadow="0 0 30px rgba(34,211,238,0.45)",S.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:S=>{S.currentTarget.style.boxShadow="0 0 20px rgba(34,211,238,0.25)",S.currentTarget.style.transform="none"},children:a===Qs.length-2?"REVIEW â":"NEXT â"},"next-btn"):t.jsx("button",{type:"submit",disabled:pe||v!=="idle",style:{fontFamily:ye,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:pe||v!=="idle"?"rgba(245,158,11,0.5)":Ke,border:"none",borderRadius:4,color:"#000",padding:"0.7rem 2rem",cursor:pe||v!=="idle"?"default":"pointer",boxShadow:"0 0 20px rgba(245,158,11,0.25)",transition:"box-shadow 0.2s, background 0.2s"},onMouseEnter:S=>{!pe&&v==="idle"&&(S.currentTarget.style.boxShadow="0 0 30px rgba(245,158,11,0.45)")},onMouseLeave:S=>{S.currentTarget.style.boxShadow="0 0 20px rgba(245,158,11,0.25)"},children:v==="uploading"?"UPLOADING FILEâ¦":v==="submitting"?"SUBMITTINGâ¦":"SUBMIT RESEARCH â"},"submit-btn")]})]})]})]})]})},Fy=` 1072 select option { background: #080c14; color: #fff; } 1073`,Py=` 1074 @keyframes cfp-glitch { 1075 0%,100% { text-shadow: 0 0 8px rgba(34,211,238,0.6); transform: none; } 1076 20% { text-shadow: -2px 0 rgba(239,68,68,0.7), 2px 0 rgba(34,211,238,0.7); transform: translateX(-1px); } 1077 40% { text-shadow: 2px 0 rgba(239,68,68,0.7), -2px 0 rgba(34,211,238,0.7); transform: translateX(1px); } 1078 60% { text-shadow: 0 0 8px rgba(34,211,238,0.6); transform: none; } 1079 } 1080 .cfp-glitch { animation: cfp-glitch 3s ease-in-out infinite; } 1081`;function By(){return y.useEffect(()=>{const r=document.getElementById("root");document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto")},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff"},children:[t.jsx(Oy,{}),t.jsx(rt,{})]})}const Hn='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',fa='"Share Tech Mono","Courier New",monospace',jr="#22d3ee",Wo="#f59e0b",$y="#080c14",Ly=[{title:"About the CFP",color:jr,items:[{q:"Who can submit a talk?",a:"Anyone. BSides Indore is open to practitioners, researchers, students, career-changers, and complete first-timers. We actively encourage people who have never spoken at a conference before. Your background, job title, or employer does not affect your chances. Only the quality and honesty of your research does."},{q:"When does the CFP open and close?",a:"The CFP opened on 16 May 2026 and closes on 11 July 2026 at midnight IST. Submissions after this deadline will not be considered under any circumstances."},{q:"How many proposals can I submit?",a:"As many as you like. Submit each proposal separately. Do not combine multiple talk ideas into a single submission."},{q:"Is there a submission fee?",a:"No. Submitting a talk is free. Attending BSides Indore requires a ticket. Tickets are paid and will be available to purchase soon."},{q:"Can I submit on behalf of a colleague?",a:"No. Submissions must be made by the speaker themselves. Proposals submitted via PR agencies, marketing teams, or any third-party representative are automatically rejected."}]},{title:"About Your Talk",color:"#a78bfa",items:[{q:"How long is a talk slot?",a:"45 minutes total: 40 minutes for your talk and at least 5 minutes for Q&A. The Q&A can extend up to 15 minutes if time allows. There is no lightning talk or workshop format this year."},{q:"Can I speak in Hindi or another language?",a:"No. All talks must be delivered in English. All materials (abstract, bio, slides) must also be in English."},{q:"My research is related to a product my company makes. Can I still submit?",a:"Yes, but only if the talk is genuinely research-driven and vendor-neutral in delivery. If the talk's primary purpose is to promote your product or company, it will be rejected. The distinction: sharing research you did while working at a company is fine; using a conference slot to sell something is not."},{q:"What topics are you looking for?",a:"We have 7 tracks: (1) Offensive Security & Vulnerability Research, (2) Defense, Detection Engineering & IR, (3) Application & Cloud Security, (4) Applied AI/ML Security, (5) Cyber-Physical, IoT & Industry Security, (6) Cryptography, Privacy & Policy, and (7) Human Element, Career & Community. If you're passionate about a security topic and can tie it to real research or real experience, submit it."},{q:"I want to talk about a failure. Is that acceptable?",a:"That is exactly what we want. Talks centred on what failed, what you tried, what you learned, and what you'd do differently are the talks BSides was built for. Polished win-stories are the easiest to reject; honest failure-stories are the hardest to ignore."},{q:"Do I need slides?",a:"Yes. Slides are required and must be presented as submitted. If you want to make changes after acceptance, those changes must be reviewed and approved by the BSides Indore Core Team before the event. Upload your draft deck during submission so reviewers can properly evaluate your proposal."}]},{title:"AI & Originality",color:Wo,items:[{q:"Can I use AI tools to help write my abstract or bio?",a:"Yes, tools may assist. What is not acceptable is a talk where the research, ideas, findings, and insights are primarily generated by AI rather than you. We can usually tell. If the abstract reads like a language model wrote it from scratch, it will be ranked lower or rejected outright."},{q:'What does "primarily written by AI" mean?',a:`If you did the research, had the ideas, and used AI to help structure or polish the language, that's fine. If you prompted an AI with "write me a CFP abstract about XYZ" and submitted the output unchanged, that's not. The test: could you answer detailed follow-up questions about your own research in a 20-minute c
1081onversation? If yes, you're fine.`}]},{title:"The Review Process",color:"#34d399",items:[{q:"How are talks reviewed?",a:"Submissions go through a blind review process conducted by the BSides Indore CFP Review Board. Reviewers assess submissions without knowing the speaker's identity, employer, or seniority. Talks are scored on originality, technical depth, relevance, and storytelling quality."},{q:"When will I hear back?",a:"Speaker notifications will be sent after the CFP closes on 11 July 2026. We notify all submitters, both accepted and rejected. Stay tuned to our social channels for the announcement timeline."},{q:"Can I change my submission after submitting?",a:"No. Once the CFP closes on 11 July 2026, no changes to submission details are permitted. Make sure your abstract, bio, and talk title are final before submitting."},{q:"I submitted but haven't received a confirmation email. What do I do?",a:t.jsxs(t.Fragment,{children:["Check your spam and junk folder first. Confirmation emails can take up to 24-48 hours to arrive. If you still have not received it after that window, email us at"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:jr,textDecoration:"underline"},children:"[email protected]"})," ","with your full name and talk title and we will verify your submission manually."]})}]},{title:"Speaker Benefits & Logistics",color:"#f87171",items:[{q:"Do speakers get paid or reimbursed for travel?",a:"BSides Indore does not guarantee speaker fees, travel reimbursement, or accommodation. Any additional benefits beyond complimentary conference access are strictly dependent on sponsorship received and will be communicated at the time of acceptance. We are a community-run conference and we're transparent about what we can and cannot promise."},{q:"What do accepted speakers receive?",a:"All accepted speakers receive complimentary conference access for all days of the event, an invitation to the Networking Party, and recognition across all BSides Indore channels (programme, social media, website)."},{q:"Where is the venue?",a:"Jaal Sabha Grah, Indore, Madhya Pradesh. The full venue address and event date will be confirmed and announced in Q2 2026."},{q:"What if I need to withdraw after being accepted?",a:t.jsxs(t.Fragment,{children:["Let us know as early as possible at"," ",t.jsx("a",{href:"mailto:[email protected]",style:{color:jr,textDecoration:"underline"},children:"[email protected]"})," ","so we can give another speaker the slot. We understand that circumstances change, so communicate early."]})},{q:"What happens if I go over my talk time?",a:"You will receive a Nerf dart to the leg. This is non-negotiable and was agreed to at submission. Please practise your timing."}]},{title:"Recording & Intellectual Property",color:"#38bdf8",items:[{q:"Will my talk be recorded?",a:"Yes, by default. Recordings may be published after the event. If you do not consent to being recorded, you can indicate this in the CFP submission form. This preference is honoured. We will not record you without consent."},{q:"Do I retain ownership of my research and content?",a:"Yes. BSides Indore does not claim any rights to your research, intellectual property, or content. We only ask for the right to record and publish the talk as delivered at the event (if consent is given)."},{q:"Can I present research that is under NDA or pending disclosure?",a:"Only if you have cleared it with all relevant parties before the event date. We cannot hold or delay publication of recordings for disclosure timelines. If your research involves coordinated disclosure that may not be complete before the conference, consider submitting a more general version of the talk."}]}];function zy({item:r}){const[e,n]=y.useState(!1);return t.jsxs("div",{style:{borderBottom:"1px solid rgba(255,255,255,0.06)",transition:"background 0.15s"},children:[t.jsxs("button",{onClick:()=>n(s=>!s),style:{width:"100%",textAlign:"left",background:"transparent",border:"none",padding:"1.1rem 0",cursor:"pointer",display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"1rem"},children:[t.jsx("span",{style:{fontFamily:"system-ui",fontSize:"0.88rem",color:e?"#fff":"rgba(255,255,255,0.75)",lineHeight:1.5,fontWeight:e?600:400,transition:"color 0.15s"},children:r.q}),t.jsx("span",{style:{fontFamily:fa,fontSize:"0.85rem",color:jr,flexShrink:0,marginTop:"0.05rem",transition:"transform 0.2s",transform:e?"rotate(45deg)":"none",display:"inline-block",lineHeight:1},children:"+"})]}),e&&t.jsx("div",{style:{fontFamily:"system-ui",fontSize:"0.83rem",color:"rgba(255,255,255,0.6)",lineHeight:1.8,paddingBottom:"1.1rem"},children:r.a})]})}function Dy(){const r=St();return y.useEffect(()=>(document.body.style.overflow="",document.body.style.height="",document.documentElement.style.overflow="",document.documentElement.style.touchAction="",document.title="CFP FAQ | BSides Indore 2026",()=>{document.title="BSides Indore 2026"}),[]),t.jsxs("div",{style:{minHeight:"100vh",background:$y,color:"#fff"},children:[t.jsxs("div",{style:{textAlign:"center",padding:"clamp(5rem, 10vw, 7rem) 1.5rem 2.5rem",background:"linear-gradient(180deg, rgba(34,211,238,0.04) 0%, transparent 100%)",borderBottom:"1px solid rgba(34,211,238,0.08)"},children:[t.jsx("div",{style:{fontFamily:fa,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.35em",color:Wo,textTransform:"uppercase",marginBottom:"1rem"},children:"⸠CFP · BSI-2026 · FAQ"}),t.jsx("h1",{style:{fontFamily:Hn,fontSize:"clamp(1.5rem, 5vw, 2.5rem)",fontWeight:900,letterSpacing:"0.05em",color:"#fff",textTransform:"uppercase",marginBottom:"0.75rem",lineHeight:1.1},children:"Frequently Asked Questions"}),t.jsxs("p",{style:{fontFamily:fa,fontSize:"clamp(0.72rem, 2vw, 0.85rem)",color:"rgba(255,255,255,0.45)",maxWidth:520,margin:"0 auto 2rem",lineHeight:1.8},children:["Everything you need to know before submitting.",t.jsx("br",{}),"Still have a question? Email ",t.jsx("a",{href:"mailto:[email protected]",style:{color:jr,textDecoration:"none"},children:"[email protected]"})]}),t.jsxs("div",{style:{display:"flex",gap:"0.75rem",justifyContent:"center",flexWrap:"wrap"},children:[t.jsx("button",{onClick:()=>r("/call-for-papers"),style:{fontFamily:Hn,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:jr,border:"none",borderRadius:4,color:"#000",padding:"0.65rem 1.5rem",cursor:"pointer",boxShadow:"0 0 20px rgba(34,211,238,0.3)"},children:"SUBMIT YOUR TALK â"}),t.jsx("button",{onClick:()=>r(-1),style:{fontFamily:Hn,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:"1px solid rgba(255,255,255,0.15)",borderRadius:4,color:"rgba(255,255,255,0.5)",padding:"0.65rem 1.5rem",cursor:"pointer"},children:"â BACK"})]})]}),t.jsxs("div",{style:{maxWidth:760,margin:"0 auto",padding:"clamp(2.5rem, 6vw, 4rem) 1.5rem 5rem"},children:[Ly.map(e=>t.jsxs("div",{style:{marginBottom:"3rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem",marginBottom:"1.25rem",paddingBottom:"0.75rem",borderBottom:`2px solid ${e.color}22`},children:[t.jsx("div",{style:{width:4,height:18,background:e.color,borderRadius:2,flexShrink:0}}),t.jsx("div",{style:{fontFamily:Hn,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.2em",color:e.color,textTransform:"uppercase"},children:e.title})]}),t.jsx("div",{style:{paddingLeft:"0.25rem"},children:e.items.map((n,s)=>t.jsx(zy,{item:n},s))})]},e.title)),t.jsxs("div",{style:{background:"rgba(34,211,238,0.04)",border:"1px solid rgba(34,211,238,0.15)",borderLeft:`3px solid ${jr}`,borderRadius:4,padding:"1.5rem",textAlign:"center",marginTop:"1rem"},children:[t.jsx("div",{style:{fontFamily:Hn,fontSize:"0.56rem",fontWeight:900,letterSpacing:"0.25em",color:jr,textTransform:"uppercase",marginBottom:"0.6rem"},children:"Still have a question?"}),t.jsx("p",{style:{fontFamily:"system-ui",fontSize:"0.82rem",color:"rgba(255,255,255,0.55)",lineHeight:1.7,margin:"0 0 1.25rem"},children:"If your question isn't answered above, email us and we'll get back to you."}),t.jsx("a",{href:"mailto:[email protected]",style:{display:"inline-block",fontFamily:Hn,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:`1px solid ${jr}`,borderRadius:4,color:jr,padding:"0.65rem 1.5rem",textDecoration:"none"},children:"[email protected] â"})]}),t.jsxs("div",{style:{textAlign:"center",marginTop:"3rem"},children:[t.jsxs("div",{style:{fontFamily:fa,fontSize:"0.72rem",color:"rgba(255,255,255,0.3)",marginBottom:"1rem"},children:["CFP closes ",t.jsx("strong",{style:{color:Wo},children:"11 July 2026"})]}),t.jsx("button",{onClick:()=>r("/call-for-papers"),style:{fontFamily:Hn,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.18em",textTransform:"uppercase",background:jr,border:"none",borderRadius:4,color:"#000",padding:"0.9rem 2.5rem",cursor:"pointer",boxShadow:"0 0 30px rgba(34,211,238,0.35)"},children:"I'M READY - SUBMIT MY TALK â"})]})]}),t.jsx(rt,{})]})}const mi="https://konfhub.com/security-bsides-indore",pi="https://www.secwiser.com/security-bsides-indore-2026",Vn="[email protected]",re='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',Ie='"Share Tech Mono","Courier New",monospace',My="#080c14",ct="#22d3ee",Qn="#f59e0b",Rt="#a78bfa",Ar="#34d399",Br={earlyBirdStart:new Date("2026-06-06T04:30:00Z"),earlyBirdEnd:new Date("2026-07-15T18:29:59Z"),standardEnd:new Date("2026-08-14T18:29:59Z"),finalEnd:new Date("2026-09-06T18:29:59Z")};function _c(r){return r<Br.earlyBirdStart?"coming-soon":r<=Br.earlyBirdEnd?"early-bird":r<=Br.standardEnd?"standard":r<=Br.finalEnd?"final":"concluded"}function Wy(r){return r==="coming-soon"?Br.earlyBirdStart:r==="early-bird"?Br.earlyBirdEnd:r==="standard"?Br.standardEnd:r==="final"?Br.finalEnd:null}
1081function Ht(r){return`â¹${r.toLocaleString("en-IN")}`}const Uo={student:{"early-bird":1199,standard:1499,final:1799},individual:{"early-bird":1999,standard:2499,final:2999},corporate:{"early-bird":3499,standard:3999,final:4999},training:{"early-bird":4999,standard:5499,final:5999}},Xr={"early-bird":5999,standard:6999,final:7999},gi={"coming-soon":"COMING SOON","early-bird":"EARLY BIRD",standard:"STANDARD",final:"FINAL SALE",concluded:"CLOSED"},vt={"coming-soon":ct,"early-bird":Ar,standard:ct,final:"#f87171",concluded:"rgba(255,255,255,0.4)"};function Uy(r){const e=()=>{if(!r)return null;const i=r.getTime()-Date.now();return i<=0?null:{d:Math.floor(i/864e5),h:Math.floor(i%864e5/36e5),m:Math.floor(i%36e5/6e4),s:Math.floor(i%6e4/1e3)}},[n,s]=y.useState(e);return y.useEffect(()=>{const i=setInterval(()=>s(e()),1e3);return()=>clearInterval(i)},[r]),n}function yn({n:r,label:e}){return t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:re,fontWeight:900,fontSize:"clamp(1.6rem,5vw,2.4rem)",color:"#fff",lineHeight:1,background:"rgba(34,211,238,0.08)",border:"1px solid rgba(34,211,238,0.25)",borderRadius:6,padding:"0.45rem 0.7rem",minWidth:56,textShadow:"0 0 24px rgba(34,211,238,0.5)"},children:String(r).padStart(2,"0")}),t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.55rem",color:"rgba(255,255,255,0.65)",letterSpacing:"0.15em",marginTop:"0.35rem",textTransform:"uppercase"},children:e})]})}function Hy({tier:r}){return r==="coming-soon"||r==="concluded"?null:t.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"0.3rem",fontFamily:re,fontSize:"0.48rem",fontWeight:900,letterSpacing:"0.18em",color:vt[r],background:`${vt[r]}18`,border:`1px solid ${vt[r]}40`,borderRadius:3,padding:"3px 10px",textTransform:"uppercase"},children:[t.jsx("span",{style:{width:4,height:4,borderRadius:"50%",background:vt[r],display:"inline-block",animation:"rg-blink 1.2s steps(1) infinite"}}),gi[r]]})}function ti({children:r,color:e=ct}){return t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"2.5rem"},children:[t.jsx("div",{style:{width:3,height:22,background:e,borderRadius:2,flexShrink:0}}),t.jsx("span",{style:{fontFamily:re,fontSize:"0.58rem",fontWeight:900,letterSpacing:"0.28em",color:e,textTransform:"uppercase"},children:r}),t.jsx("div",{style:{flex:1,height:1,background:`${e}18`}})]})}function Ac({q:r,a:e}){const[n,s]=y.useState(!1);return t.jsxs("div",{style:{borderBottom:"1px solid rgba(255,255,255,0.08)"},children:[t.jsxs("button",{onClick:()=>s(i=>!i),style:{width:"100%",textAlign:"left",background:"transparent",border:"none",padding:"1.1rem 0",cursor:"pointer",display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"1.25rem"},children:[t.jsx("span",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.9rem",color:n?"#fff":"rgba(255,255,255,0.82)",lineHeight:1.55,fontWeight:n?600:400,transition:"color 0.15s"},children:r}),t.jsx("span",{style:{fontFamily:Ie,fontSize:"1rem",color:ct,flexShrink:0,transition:"transform 0.2s",transform:n?"rotate(45deg)":"none",display:"inline-block",lineHeight:1,marginTop:"0.1rem"},children:"+"})]}),n&&t.jsx("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.72)",lineHeight:1.85,paddingBottom:"1.1rem"},children:e})]})}const Vy=` 1082 @keyframes rg-blink { 0%,49%{opacity:1}50%,100%{opacity:0} } 1083 @keyframes rg-pulse { 0%,100%{box-shadow:0 0 22px rgba(34,211,238,0.3)}50%{box-shadow:0 0 44px rgba(34,211,238,0.6)} } 1084 @keyframes rg-gpulse { 0%,100%{box-shadow:0 0 22px rgba(245,158,11,0.3)}50%{box-shadow:0 0 44px rgba(245,158,11,0.6)} } 1085 @keyframes rg-live-pulse{ 0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.85;transform:scale(1.01)} } 1086 @keyframes rg-popup-in { from{opacity:0;transform:translateY(18px) scale(0.97)} to{opacity:1;transform:translateY(0) scale(1)} } 1087 @keyframes rg-popup-out { from{opacity:1;transform:translateY(0)} to{opacity:0;transform:translateY(18px)} } 1088 .rg-cta { animation:rg-pulse 2.6s ease-in-out infinite; transition:transform 0.15s,box-shadow 0.2s!important; } 1089 .rg-cta:hover{ transform:translateY(-2px)!important; } 1090 .rg-gcta { animation:rg-gpulse 2.6s ease-in-out infinite; transition:transform 0.15s,box-shadow 0.2s!important; } 1091 .rg-gcta:hover{ transform:translateY(-2px)!important; } 1092 .rg-popup-in { animation:rg-popup-in 0.3s cubic-bezier(0.34,1.56,0.64,1) both; } 1093 .rg-popup-out{ animation:rg-popup-out 0.22s ease-in both; } 1094 @media(max-width:768px){ 1095 .rg-table th,.rg-table td{ padding:0.65rem 0.5rem!important; font-size:0.78rem!important; } 1096 } 1097`;function ia({tier:r,type:e,accent:n,title:s,tagline:i,benefits:a,note:o,popular:l}){const d=r!=="coming-soon"&&r!=="concluded",c=Uo[e],u=d?c[r]:c["early-bird"];return t.jsxs("div",{style:{position:"relative",background:l?"linear-gradient(160deg,#0f1020 0%,#0c0e1a 100%)":"linear-gradient(160deg,#0b0d15 0%,#090b12 100%)",border:`1px solid ${l?`${n}50`:`${n}22`}`,borderTop:`3px solid ${n}`,borderRadius:8,display:"flex",flexDirection:"column",boxShadow:l?`0 0 40px ${n}18`:"none"},children:[l&&t.jsx("div",{style:{position:"absolute",top:-12,left:"50%",transform:"translateX(-50%)",fontFamily:re,fontSize:"0.46rem",fontWeight:900,letterSpacing:"0.2em",color:"#000",background:n,padding:"3px 14px",borderRadius:20,textTransform:"uppercase",whiteSpace:"nowrap",boxShadow:`0 0 14px ${n}80`},children:"MOST POPULAR"}),t.jsxs("div",{style:{padding:"1.75rem 1.5rem",display:"flex",flexDirection:"column",flex:1},children:[t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",marginBottom:"1.25rem",gap:"0.75rem"},children:[t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:re,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.2em",color:n,textTransform:"uppercase",marginBottom:"0.4rem"},children:s}),t.jsx("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:"rgba(255,255,255,0.78)",lineHeight:1.45},children:i})]}),t.jsx(Hy,{tier:r})]}),t.jsx("div",{style:{marginBottom:"1.5rem"},children:r==="coming-soon"?t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.15em",color:"rgba(255,255,255,0.62)",textTransform:"uppercase",marginBottom:"0.4rem"},children:"STARTING FROM"}),t.jsx("div",{style:{fontFamily:re,fontSize:"clamp(1.8rem,5vw,2.4rem)",fontWeight:900,color:n,opacity:.7,lineHeight:1},children:Ht(c["early-bird"])}),t.jsx("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.75rem",color:"rgba(255,255,255,0.52)",marginTop:"0.4rem"},children:"Early Bird · opens 6 June 2026"})]}):r==="concluded"?t.jsx("div",{style:{fontFamily:re,fontSize:"1.5rem",fontWeight:900,color:"rgba(255,255,255,0.35)"},children:"CLOSED"}):t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{fontFamily:re,fontSize:"clamp(2rem,5vw,2.8rem)",fontWeight:900,color:n,lineHeight:1,marginBottom:"0.55rem",textShadow:`0 0 32px ${n}60`},children:Ht(u)}),(r==="early-bird"||r==="standard")&&(()=>{const h=r==="early-bird"?[{label:"Standard",from:"16 Jul",price:c.standard,delta:c.standard-u,c:"rgba(245,158,11,0.9)",dc:"rgba(245,158,11,0.65)",bg:"rgba(245,158,11,0.1)"},{label:"Final Sale",from:"15 Aug",price:c.final,delta:c.final-u,c:"rgba(248,113,113,0.8)",dc:"rgba(248,113,113,0.55)",bg:"rgba(248,113,113,0.08)"}]:[{label:"Final Sale",from:"15 Aug",price:c.final,delta:c.final-u,c:"rgba(248,113,113,0.85)",dc:"rgba(248,113,113,0.6)",bg:"rgba(248,113,113,0.1)"}];return t.jsxs("div",{style:{background:"rgba(255,255,255,0.025)",border:"1px solid rgba(255,255,255,0.07)",borderRadius:5,padding:"0.6rem 0.8rem"},children:[t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.44rem",letterSpacing:"0.2em",color:"rgba(255,255,255,0.28)",textTransform:"uppercase",marginBottom:"0.45rem"},children:"UPCOMING PRICE HIKES"}),h.map((p,m)=>t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:m<h.length-1?"0.32rem":0},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.35rem"},children:[t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.6rem",color:p.c,lineHeight:1},children:"â"}),t.jsx("span",{style:{fontFamily:re,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.1em",color:p.c,textTransform:"uppercase"},children:p.label}),t.jsxs("span",{style:{fontFamily:Ie,fontSize:"0.5rem",color:"rgba(255,255,255,0.35)"},children:["· from ",p.from]})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.4rem",flexShrink:0},children:[t.jsxs("span",{style:{fontFamily:Ie,fontSize:"0.5rem",color:p.dc,background:p.bg,borderRadius:3,padding:"1px 5px",whiteSpace:"nowrap"},children:["+",Ht(p.delta)]}),t.jsx("span",{style:{fontFamily:re,fontSize:"0.82rem",fontWeight:800,color:p.c},children:Ht(p.price)})]})]},p.label))]})})()]})}),t.jsx("div",{style:{height:1,background:`${n}18`,marginBottom:"1.25rem"}}),t.jsx("ul",{style:{listStyle:"none",padding:0,margin:"0 0 auto",flex:1},children:a.map(h=>
1097t.jsxs("li",{style:{display:"flex",alignItems:"flex-start",gap:"0.6rem",marginBottom:"0.6rem",fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.85)",lineHeight:1.5},children:[t.jsx("span",{style:{color:n,fontWeight:900,flexShrink:0,fontSize:"0.9rem"},children:"â"}),h]},h))}),o&&t.jsx("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.8rem",color:"rgba(255,255,255,0.72)",background:`${n}06`,border:`1px solid ${n}18`,borderRadius:4,padding:"0.7rem 0.9rem",marginTop:"1.1rem",lineHeight:1.75},children:o}),t.jsx("button",{onClick:()=>window.open(mi,"_blank"),disabled:!d,className:d?n===Qn?"rg-gcta":"rg-cta":"",style:{marginTop:"1.5rem",width:"100%",fontFamily:re,fontSize:"0.68rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",borderRadius:5,padding:"0.85rem",cursor:d?"pointer":"default",background:d?n:"transparent",border:d?"none":`1px solid ${n}40`,color:d?n===Rt?"#fff":"#000":`${n}`,opacity:d?1:.65},children:r==="coming-soon"?"OPENS 6 JUNE 2026":r==="concluded"?"REGISTRATION CLOSED":`GET ${s} PASS â`}),d&&t.jsxs("a",{href:pi,target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.35rem",marginTop:"0.65rem",textDecoration:"none"},children:[t.jsx("span",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:"rgba(255,255,255,0.5)"},children:"or buy via"}),t.jsx("img",{src:"/company-logos/secwiser-logo.png",alt:"",style:{width:18,height:18,borderRadius:4,display:"block"}}),t.jsx("span",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:"rgba(255,255,255,0.65)",fontWeight:600},children:"Secwiser â"})]})]})]})}function Gy({tier:r}){const e=r!=="coming-soon"&&r!=="concluded",n=e?r:"early-bird",s=Uo.individual[n],i=Uo.training[n],a=Xr[n],o=i+s;return t.jsx("div",{style:{background:"linear-gradient(160deg,#0f1020 0%,#0b0d18 100%)",border:`1px solid ${Rt}45`,borderTop:`3px solid ${Rt}`,borderRadius:8,display:"flex",flexDirection:"column",boxShadow:`0 0 44px ${Rt}1c`},children:t.jsxs("div",{style:{padding:"2rem 1.85rem",display:"flex",flexDirection:"column",flex:1},children:[t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",marginBottom:"1.1rem",gap:"0.75rem"},children:[t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:re,fontSize:"0.52rem",fontWeight:900,letterSpacing:"0.2em",color:Rt,textTransform:"uppercase",marginBottom:"0.4rem"},children:"Best Value · Both Days"}),t.jsx("div",{style:{fontFamily:re,fontSize:"clamp(1rem,3vw,1.25rem)",fontWeight:900,letterSpacing:"0.05em",color:"#fff",textTransform:"uppercase"},children:"Training + Conference"}),t.jsx("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.72)",marginTop:"0.3rem"},children:"5 Sept training and 6 Sept conference, in one ticket"})]}),e&&t.jsxs("div",{style:{fontFamily:re,fontSize:"0.5rem",fontWeight:900,color:Ar,background:"rgba(52,211,153,0.1)",border:"1px solid rgba(52,211,153,0.3)",borderRadius:3,padding:"4px 11px",textTransform:"uppercase",whiteSpace:"nowrap",flexShrink:0},children:["SAVE ",Ht(o-a)]})]}),t.jsxs("div",{style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.07)",borderRadius:5,padding:"0.95rem 1.1rem",marginBottom:"1.1rem"},children:[[{l:"Training Pass (5 Sept)",v:Ht(i)},{l:"Full Conference (6 Sept)",v:Ht(s)}].map(l=>t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.78)",marginBottom:"0.35rem"},children:[t.jsx("span",{children:l.l}),t.jsx("span",{style:{fontWeight:600},children:l.v})]},l.l)),t.jsx("div",{style:{height:1,background:"rgba(255,255,255,0.1)",margin:"0.55rem 0"}}),t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.52)"},children:[t.jsx("span",{children:"If bought separately"}),t.jsx("span",{style:{textDecoration:"line-through"},children:Ht(o)})]})]}),r==="coming-soon"?t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.6rem",color:"rgba(255,255,255,0.62)",letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:"0.35rem"},children:"STARTING FROM"}),t.jsx("div",{style:{fontFamily:re,fontSize:"clamp(1.8rem,5vw,2.4rem)",fontWeight:900,color:Rt,opacity:.7,marginBottom:"0.35rem"},children:Ht(Xr["early-bird"])}),t.jsx("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.52)"},children:"Opens 6 June 2026"})]}):r==="concluded"?t.jsx("div",{style:{fontFamily:re,fontSize:"1.5rem",fontWeight:900,color:"rgba(255,255,255,0.35)"},children:"CLOSED"}):t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{fontFamily:re,fontSize:"clamp(2rem,5vw,2.6rem)",fontWeight:900,color:Rt,textShadow:"0 0 28px rgba(167,139,250,0.5)",lineHeight:1,marginBottom:"0.4rem"},children:Ht(a)}),t.jsxs("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:Ar,marginBottom:"0.5rem",fontWeight:500},children:["Training + full conference in one ticket â save ",Ht(o-a)," vs buying separately."]}),r==="early-bird"||r==="standard"?(()=>{const l=r==="early-bird"?[{label:"Standard",from:"16 Jul",price:Xr.standard,delta:Xr.standard-a,c:"rgba(245,158,11,0.9)",dc:"rgba(245,158,11,0.65)",bg:"rgba(245,158,11,0.1)"},{label:"Final",from:"15 Aug",price:Xr.final,delta:Xr.final-a,c:"rgba(248,113,113,0.8)",dc:"rgba(248,113,113,0.55)",bg:"rgba(248,113,113,0.08)"}]:[{label:"Final",from:"15 Aug",price:Xr.final,delta:Xr.final-a,c:"rgba(248,113,113,0.85)",dc:"rgba(248,113,113,0.6)",bg:"rgba(248,113,113,0.1)"}];return t.jsxs("div",{style:{background:"rgba(255,255,255,0.025)",border:"1px solid rgba(255,255,255,0.07)",borderRadius:5,padding:"0.6rem 0.8rem",marginBottom:"0.85rem"},children:[t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.44rem",letterSpacing:"0.2em",color:"rgba(255,255,255,0.28)",textTransform:"uppercase",marginBottom:"0.45rem"},children:"UPCOMING PRICE HIKES"}
1097),l.map((d,c)=>t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:c<l.length-1?"0.32rem":0},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.35rem"},children:[t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.6rem",color:d.c,lineHeight:1},children:"â"}),t.jsxs("span",{style:{fontFamily:re,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.1em",color:d.c,textTransform:"uppercase"},children:[d.label," COMBO"]}),t.jsxs("span",{style:{fontFamily:Ie,fontSize:"0.5rem",color:"rgba(255,255,255,0.35)"},children:["· from ",d.from]})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.4rem",flexShrink:0},children:[t.jsxs("span",{style:{fontFamily:Ie,fontSize:"0.5rem",color:d.dc,background:d.bg,borderRadius:3,padding:"1px 5px",whiteSpace:"nowrap"},children:["+",Ht(d.delta)]}),t.jsx("span",{style:{fontFamily:re,fontSize:"0.82rem",fontWeight:800,color:d.c},children:Ht(d.price)})]})]},d.label))]})})():t.jsx("div",{style:{marginBottom:"0.85rem"}})]}),t.jsx("div",{style:{height:1,background:`${Rt}18`,marginBottom:"1.1rem"}}),t.jsx("ul",{style:{listStyle:"none",padding:0,margin:"0 0 auto",flex:1},children:["Full 1-day training (5 Sept) + completion certificate","Full conference access (6 Sept): all talks, workshops, villages & CTF","CXO Panel Discussion","Lunch + tea/coffee on both days","Welcome Kit for both days","Digital Participation Certificate","After-Party / Networking Dinner"].map(l=>t.jsxs("li",{style:{display:"flex",alignItems:"flex-start",gap:"0.6rem",marginBottom:"0.6rem",fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.85)",lineHeight:1.5},children:[t.jsx("span",{style:{color:Rt,fontWeight:900,flexShrink:0},children:"â"}),l]},l))}),t.jsx("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.6)",background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)",borderRadius:4,padding:"0.7rem 0.9rem",marginTop:"1.1rem",lineHeight:1.6},children:"Training is capped at 30 seats. Book early."}),t.jsx("button",{onClick:()=>window.open(mi,"_blank"),disabled:!e,style:{marginTop:"1.5rem",width:"100%",fontFamily:re,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",borderRadius:5,padding:"0.9rem",cursor:e?"pointer":"default",background:e?Rt:"transparent",border:e?"none":`1px solid ${Rt}40`,color:e?"#fff":Rt,opacity:e?1:.65},children:r==="coming-soon"?"OPENS 6 JUNE 2026":r==="concluded"?"CLOSED":"GET BOTH DAYS â"}),e&&t.jsxs("a",{href:pi,target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.35rem",marginTop:"0.65rem",textDecoration:"none"},children:[t.jsx("span",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:"rgba(255,255,255,0.5)"},children:"or buy via"}),t.jsx("img",{src:"/company-logos/secwiser-logo.png",alt:"",style:{width:18,height:18,borderRadius:4,display:"block"}}),t.jsx("span",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:"rgba(255,255,255,0.65)",fontWeight:600},children:"Secwiser â"})]})]})})}function qy({tier:r}){const[e,n]=y.useState(!1),[s,i]=y.useState(!1);y.useEffect(()=>{if(r!=="early-bird"&&r!=="standard"||sessionStorage.getItem("bsi-reg-urgency-seen"))return;const m=window.setTimeout(()=>n(!0),2500);return()=>window.clearTimeout(m)},[r]);const a=()=>{i(!0),sessionStorage.setItem("bsi-reg-urgency-seen","1"),window.setTimeout(()=>n(!1),230)},o=()=>{document.getElementById("passes")?.scrollIntoView({behavior:"smooth",block:"start"}),a()},l=r==="early-bird"?Br.earlyBirdEnd:Br.standardEnd,d=r==="early-bird"?"15 July":"14 August",c=r==="early-bird"?"Standard":"Final Sale",[u,h]=y.useState(null);if(y.useEffect(()=>{const m=()=>{const g=l.getTime()-Date.now();if(g<=0){h(null);return}h({d:Math.floor(g/864e5),h:Math.floor(g%864e5/36e5)})};m();const f=setInterval(m,6e4);return()=>clearInterval(f)},[l]),!e)return null;const p=vt[r];return t.jsxs("div",{className:s?"rg-popup-out":"rg-popup-in",style:{position:"fixed",bottom:"1.5rem",right:"1.5rem",zIndex:9999,width:"clamp(270px,90vw,330px)",background:"linear-gradient(160deg,#0f1020,#0a0c16)",border:`1px solid ${p}35`,borderTop:`2px solid ${p}`,borderRadius:10,boxShadow:`0 16px 56px rgba(0,0,0,0.65), 0 0 32px ${p}14`,padding:"1.4rem 1.4rem 1.1rem"},children:[t.jsx("button",{onClick:a,"aria-label":"Dismiss",style:{position:"absolute",top:"0.7rem",right:"0.8rem",background:"transparent",border:"none",cursor:"pointer",fontFamily:Ie,fontSize:"1.1rem",color:"rgba(255,255,255,0.3)",lineHeight:1,padding:0},children:"Ã"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.45rem",marginBottom:"0.7rem"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:Qn,display:"inline-block",animation:"rg-blink 1.2s steps(1) infinite",flexShrink:0}}),t.jsxs("span",{style:{fontFamily:re,fontSize:"0.54rem",fontWeight:900,letterSpacing:"0.2em",color:Qn,textTransform:"uppercase"},children:[gi[r]," PRICING ACTIVE"]})]}),t.jsxs("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.92rem",fontWeight:700,color:"#fff",lineHeight:1.35,marginBottom:"0.45rem"},children:["Prices go up on ",d]}),t.jsxs("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.6)",lineHeight:1.55,marginBottom:u?"1rem":"1.1rem"},children:[c," pricing begins after that. No promo codes, no extensions."]}),u!==null&&t.jsxs("div",{style:{display:"flex",alignItems:"flex-end",gap:"0.5rem",marginBottom:"1.1rem"},children:[t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:re,fontWeight:900,fontSize:"1.45rem",color:"#fff",background:`${p}12`,border:`1px solid ${p}28`,borderRadius:5,padding:"0.3rem 0.55rem",lineHeight:1,minWidth:46},children:String(u.d).padStart(2,"0")}),t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.46rem",color:"rgba(255,255,255,0.45)",letterSpacing:"0.12em",marginTop:"0.2rem",textTransform:"uppercase"},children:"Days"})]}),t.jsx("div",{style:{fontFamily:re,fontSize:"1.2rem",color:`${p}45`,paddingBottom:"1.05rem"},children:":"}),t.jsxs("div",{style:{textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:re,fontWeight:900,fontSize:"1.45rem",color:"#fff",background:`${p}12`,border:`1px solid ${p}28`,borderRadius:5,padding:"0.3rem 0.55rem",lineHeight:1,minWidth:46},children:String(u.h).padStart(2,"0")}),t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.46rem",color:"rgba(255,255,255,0.45)",letterSpacing:"0.12em",marginTop:"0.2rem",textTransform:"uppercase"},children:"Hrs"})]}),t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.58rem",color:"rgba(255,255,255,0.38)",letterSpacing:"0.04em",paddingBottom:"0.95rem"},children:" left at this rate"})]}),t.jsx("button",{onClick:o,style:{width:"100%",fontFamily:re,fontSize:"0.64rem",fontWeight:900,letterSpacing:"0.14em",textTransform:"uppercase",border:"none",borderRadius:6,padding:"0.8rem",cursor:"pointer",background:p,color:"#000",marginBottom:"0.55rem"},children:"SEE PASSES â"}),t.jsx("button",{onClick:a,style:{width:"100%",background:"transparent",border:"none",cursor:"pointer",fontFamily:"system-ui,sans-serif",fontSize:"0.76rem",color:"rgba(255,255,255,0.35)",padding:"0.25rem"},children:"I'll decide later"})]})}function Ky(){const r=St();y.useEffect(()=>(document.title="Register | BSides Indore X2 2026",document.body.style.overflow="",document.body.style.height="",document.documentElement.style.overflow="",document.documentElement.style.touchAction="",()=>{document.title="BSides Indore 2026"}),[]);const[e,n]=y.useState(()=>_c(new Date)),[s,i]=y.useState(!1);y.useEffect(()=>{const h=setInterval(()=>n(_c(new Date)),1e3);return()=>clearInterval(h)},[]);const a=Uy(Wy(e)),o=e!=="coming-soon"&&e!=="concluded",l=[{q:"Student Pass Policy",a:"Attendees registered under the Student Pass must present a valid and original college ID card for the current academic year (2026) at the registration desk. Photocopies, screenshots, or expired IDs will not be accepted. If the attendee does not possess a valid ID, they will be required to pay the difference for an Indiv
1097idual Pass at the registration desk. Distance learning institute IDs are not eligible."},{q:"Refund & Cancellation Policy",a:`All passes are non-refundable. Substitutions are allowed up to 7 days before the event by emailing ${Vn} with original ticket and substitute attendee details. BSides Indore reserves the right to cancel training if registrations fall below the minimum threshold. Affected attendees will be notified at least two weeks before the training date and refunded in full or offered a conference pass swap.`},{q:"Venue Policy",a:"Attendees will be notified of venue details and any updates via email prior to 30 days before the event. The organizer reserves the right to modify the event program, timing, or location. Any changes will not substantially reduce the benefits described for the participant."},{q:"Code of Conduct",a:t.jsxs(t.Fragment,{children:["All attendees, speakers, sponsors, trainers, and volunteers agree to follow the BSides Indore Code of Conduct."," ",t.jsx("button",{onClick:()=>r("/code-of-conduct"),style:{background:"none",border:"none",color:ct,cursor:"pointer",fontFamily:"inherit",fontSize:"inherit",padding:0,textDecoration:"underline"},children:"Read the full Code of Conduct"}),"."]})},{q:"Payment & Charges",a:"All prices are exclusive of payment gateway charges, which are added at checkout. GST if applicable. 100% advance payment is required at registration. No spot registrations at the venue unless explicitly announced."}],d=[{q:"What is the difference between the Training Pass and the Conference Pass?",a:"The Training Pass covers the 1-day instructor-led training on 5 September only. It does NOT include access to the main conference on 6 September. The Conference Pass (Student, Individual, or Corporate) covers the conference day on 6 September only. To attend both days, buy a Combo Pass."},{q:"Can I attend both the training and the conference?",a:`Yes. Buy the "Training + Conference â Both Days" pass. It bundles the 5 Sept training and full 6 Sept conference access in one ticket at a discount over buying both separately. Pricing starts at ${Ht(Xr["early-bird"])} (Early Bird) and rises each tier. Training is capped at 30 seats â buy early.`},{q:"Do I need a college ID for the Student Pass?",a:"Yes. A valid, original college ID for the current academic year (2026) is required at the registration desk. No photocopies, screenshots, or expired IDs. Distance learning institute IDs are not accepted. If you cannot produce a valid ID at the door, you will pay the difference to upgrade to an Individual Pass."},{q:"Is the CXO panel included in the Student Pass?",a:"Yes. The CXO Panel Discussion is included in the Student, Individual, and Corporate passes. It is not included in the standalone Training Pass."},{q:"Is the after-party / networking dinner included in my pass?",a:"The After-Party / Networking Dinner is included in the Corporate Pass and the Training + Conference Combo Pass. Student and Individual Pass holders are not included in the after-party."},{q:"Are refunds allowed if I cannot attend?",a:`All passes are non-refundable. You may substitute your ticket for another attendee up to 7 days before the event. Email ${Vn} with the original ticket and substitute attendee details.`}],c=[{label:"Conference Access (6 Sept)",s:!0,i:!0,c:!0,t:!1,combo:!0},{label:"All Talks & Tracks",s:!0,i:!0,c:!0,t:!1,combo:!0},{label:"Workshops / Villages / CTF",s:!0,i:!0,c:!0,t:!1,combo:!0},{label:"Lunch + Tea/Coffee (Conference Day)",s:!0,i:!0,c:!0,t:!1,combo:!0},{label:"Welcome Kit / Swag",s:!0,i:!0,c:!0,t:!0,combo:!0},{label:"Digital Participation Certificate",s:!0,i:!0,c:!0,t:!0,combo:!0},{label:"CXO Panel Discussion",s:!0,i:!0,c:!0,t:!1,combo:!0},{label:"After-Party / Networking Dinner",s:!1,i:!1,c:!0,t:!1,combo:!0},{label:"1-Day Training (5 Sept)",s:!1,i:!1,c:!1,t:!0,combo:!0},{label:"Training Lunch + Tea/Coffee",s:!1,i:!1,c:!1,t:!0,combo:!0},{label:"Training Completion Certificate",s:!1,i:!1,c:!1,t:!0,combo:!0}],u=[{label:"STUDENT",color:ct},{label:"INDIVIDUAL",color:Rt},{label:"CORPORATE",color:Qn},{label:"TRAINING",color:Ar},{label:"COMBOS",color:Rt}];return t.jsxs("div",{style:{background:My,minHeight:"100vh",color:"#fff"},children:[t.jsx("style",{children:Vy}),t.jsx(qy,{tier:e}),t.jsx("div",{style:{position:"fixed",inset:0,pointerEvents:"none",zIndex:0,backgroundImage:"linear-gradient(rgba(34,211,238,0.025) 1px,transparent 1px),linear-gradient(90deg,rgba(34,211,238,0.025) 1px,transparent 1px)",backgroundSize:"60px 60px"}}),t.jsxs("div",{style:{position:"relative",zIndex:1},children:[t.jsxs("div",{style:{padding:"clamp(5.5rem,12vw,8rem) 1.5rem clamp(3rem,6vw,4.5rem)",textAlign:"center",background:"linear-gradient(180deg,rgba(34,211,238,0.06) 0%,transparent 100%)",borderBottom:"1px solid rgba(34,211,238,0.1)",position:"relative",overflow:"hidden"},children:[t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:2,background:`linear-gradient(90deg,transparent 5%,${ct} 30%,${ct} 70%,transparent 95%)`,boxShadow:"0 0 28px rgba(34,211,238,0.7)"}}),t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.35em",color:Qn,textTransform:"uppercase",marginBottom:"0.85rem"},children:"⸠BSIDES INDORE X2 · REGISTRATION"}),t.jsx("h1",{style:{fontFamily:re,fontSize:"clamp(2rem,7vw,4rem)",fontWeight:900,letterSpacing:"0.04em",textTransform:"uppercase",color:"#fff",marginBottom:"0.6rem",lineHeight:1.05,textShadow:"0 0 80px rgba(34,211,238,0.2)"},children:"GET YOUR PASS"}),t.jsx("div",{style:{display:"flex",justifyContent:"center",gap:"0.75rem",flexWrap:"wrap",marginBottom:"2rem"},children:[{label:"CONFERENCE",value:"6 September 2026",color:ct},{label:"TRAINING",value:"5 September 2026",color:Ar},{label:"VENUE",value:"Jaal Sabha Grah, Indore",color:"rgba(255,255,255,0.55)"}].map(h=>t.jsxs("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.82rem",color:"rgba(255,255,255,0.78)",background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.1)",borderRadius:6,padding:"0.5rem 1.1rem"},children:[t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.6rem",fontWeight:900,letterSpacing:"0.14em",color:h.color,textTransform:"uppercase",marginRight:"0.5rem"},children:h.label}),h.value]},h.label))}),t.jsx("p",{style:{fontFamily:Ie,fontSize:"0.56rem",color:"rgba(255,255,255,0.32)",letterSpacing:"0.04em",marginTop:"-1.3rem",marginBottom:"1.75rem"},children:"Venue shown is for the conference. Training venue: IPS College Vijay Nagar Campus."}),t.jsx("div",{style:{display:"flex",justifyContent:"center",gap:"0.5rem",flexWrap:"wrap",marginBottom:"1.75rem"},children:[{key:"early-bird",label:"EARLY BIRD",dates:"6 Jun to 15 Jul",color:Ar,rgb:"52,211,153"},{key:"standard",label:"STANDARD",dates:"16 Jul to 14 Aug",color:ct,rgb:"34,211,238"},{key:"final",label:"FINAL SALE",dates:"15 Aug to 6 Sep",color:"#f87171",rgb:"248,113,113"}].map(h=>{const p=e===h.key;return t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.5rem",borderRadius:5,padding:"0.5rem 1rem",background:p?`rgba(${h.rgb},0.15)`:`rgba(${h.rgb},0.06)`,border:p?`1px solid rgba(${h.rgb},0.55)`:`1px solid rgba(${h.rgb},0.28)`,boxShadow:p?`0 0 16px rgba(${h.rgb},0.22)`:"none"},children:[p&&t.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:h.color,display:"inline-block",flexShrink:0,animation:"rg-blink 1.2s steps(1) infinite",boxShadow:`0 0 6px ${h.color}`}}),t.jsx("span",{style:{fontFamily:re,fontSize:"0.55rem",fontWeight:900,letterSpacing:"0.14em",textTransform:"uppercase",color:p?h.color:`rgba(${h.rgb},0.85)`},children:h.label}),t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.62rem",color:p?"rgba(255,255,255,0.88)":`rgba(${h.rgb},0.65)`,letterSpacing:"0.04em"},children:h.dates})]},h.key)})}),e==="coming-soon"&&a&&t.jsxs("div",{style:{marginBottom:"2rem"},children:[t.jsx("div",{style:{fontFamily:Ie,fontSize:"0.62rem",letterSpacing:"0.2em",color:"rgba(255,255,255,0.72)",textTransform:"uppercase",marginBottom:"0.85rem"},children:"Early Bird opens in"}),t.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"flex-start",ga
1097p:"0.75rem"},children:[t.jsx(yn,{n:a.d,label:"Days"}),t.jsx("div",{style:{fontFamily:re,fontSize:"1.8rem",color:"rgba(34,211,238,0.4)",paddingTop:"0.35rem"},children:":"}),t.jsx(yn,{n:a.h,label:"Hours"}),t.jsx("div",{style:{fontFamily:re,fontSize:"1.8rem",color:"rgba(34,211,238,0.4)",paddingTop:"0.35rem"},children:":"}),t.jsx(yn,{n:a.m,label:"Min"}),t.jsx("div",{style:{fontFamily:re,fontSize:"1.8rem",color:"rgba(34,211,238,0.4)",paddingTop:"0.35rem"},children:":"}),t.jsx(yn,{n:a.s,label:"Sec"})]})]}),o&&a&&t.jsxs("div",{style:{marginBottom:"1.5rem"},children:[t.jsxs("div",{style:{fontFamily:Ie,fontSize:"0.58rem",letterSpacing:"0.18em",color:"rgba(255,255,255,0.55)",textTransform:"uppercase",marginBottom:"0.6rem"},children:[gi[e]," ends in"]}),t.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"flex-start",gap:"0.6rem"},children:[t.jsx(yn,{n:a.d,label:"Days"}),t.jsx("div",{style:{fontFamily:re,fontSize:"1.6rem",color:"rgba(34,211,238,0.3)",paddingTop:"0.3rem"},children:":"}),t.jsx(yn,{n:a.h,label:"Hours"}),t.jsx("div",{style:{fontFamily:re,fontSize:"1.6rem",color:"rgba(34,211,238,0.3)",paddingTop:"0.3rem"},children:":"}),t.jsx(yn,{n:a.m,label:"Min"}),t.jsx("div",{style:{fontFamily:re,fontSize:"1.6rem",color:"rgba(34,211,238,0.3)",paddingTop:"0.3rem"},children:":"}),t.jsx(yn,{n:a.s,label:"Sec"})]})]}),o&&t.jsxs("div",{style:{marginBottom:"1.75rem"},children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.6rem",background:`${vt[e]}18`,border:`1px solid ${vt[e]}55`,borderRadius:6,padding:"0.55rem 1.4rem",marginBottom:"1rem",boxShadow:`0 0 24px ${vt[e]}30`,animation:"rg-live-pulse 2s ease-in-out infinite"},children:[t.jsx("span",{style:{width:8,height:8,borderRadius:"50%",background:vt[e],display:"inline-block",flexShrink:0,boxShadow:`0 0 10px ${vt[e]}`,animation:"rg-blink 1s steps(1) infinite"}}),t.jsxs("span",{style:{fontFamily:re,fontSize:"0.78rem",fontWeight:900,letterSpacing:"0.2em",color:vt[e],textTransform:"uppercase",textShadow:`0 0 16px ${vt[e]}80`},children:[gi[e]," IS LIVE"]})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.75rem"},children:[t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.75rem",justifyContent:"center",width:"100%"},children:[t.jsx("a",{href:mi,target:"_blank",rel:"noopener noreferrer",style:{width:"min(280px, 90vw)",display:"block"},children:t.jsx("button",{className:"rg-cta",style:{width:"100%",fontFamily:re,fontSize:"0.78rem",fontWeight:900,letterSpacing:"0.14em",textTransform:"uppercase",border:"none",borderRadius:6,padding:"1.05rem 1.5rem",cursor:"pointer",background:vt[e],color:"#000",boxShadow:`0 0 36px ${vt[e]}55`},children:"BUY ON KONFHUB â"})}),t.jsxs("div",{style:{position:"relative",width:"min(280px, 90vw)"},children:[t.jsx("span",{style:{position:"absolute",top:-11,right:-6,zIndex:1,background:"#fff",color:"#0a0a0a",fontFamily:re,fontSize:"0.56rem",fontWeight:900,letterSpacing:"0.06em",textTransform:"uppercase",whiteSpace:"nowrap",borderRadius:999,padding:"0.3rem 0.65rem",boxShadow:"0 0 14px rgba(255,255,255,0.55)",transform:"rotate(3deg)"},children:"Save more here"}),t.jsx("a",{href:pi,target:"_blank",rel:"noopener noreferrer",style:{width:"100%",display:"block"},children:t.jsxs("button",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:"0.6rem",fontFamily:re,fontSize:"0.78rem",fontWeight:900,letterSpacing:"0.14em",textTransform:"uppercase",borderRadius:6,padding:"0.85rem 1.5rem",cursor:"pointer",background:"transparent",border:`1px solid ${vt[e]}55`,color:"#fff"},children:[t.jsx("img",{src:"/company-logos/secwiser-logo.png",alt:"",style:{width:22,height:22,borderRadius:4,display:"block"}}),"BUY ON SECWISER â"]})})]})]}),t.jsx("a",{href:"#passes",style:{fontFamily:Ie,fontSize:"0.6rem",color:"rgba(255,255,255,0.45)",letterSpacing:"0.12em",textTransform:"uppercase",textDecoration:"none"},children:"or scroll to see all pass options â"})]})]}),!o&&t.jsx("div",{style:{display:"flex",gap:"0.75rem",justifyContent:"center",flexWrap:"wrap",marginBottom:"0.85rem"},children:e==="concluded"?t.jsx("div",{style:{fontFamily:re,fontSize:"0.8rem",color:"rgba(255,255,255,0.4)",letterSpacing:"0.2em"},children:"EVENT CONCLUDED · THANK YOU"}):t.jsx("div",{style:{fontFamily:re,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.18em",color:"rgba(255,255,255,0.5)",background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.12)",borderRadius:5,padding:"0.85rem 2rem"},children:"TICKETS OPEN 6 JUNE 2026"})}),o&&t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.4rem",flexWrap:"wrap"},children:[t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.56rem",color:"rgba(255,255,255,0.32)",letterSpacing:"0.08em"},children:"Secure checkout via"}),t.jsx("a",{href:mi,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:re,fontSize:"0.56rem",fontWeight:900,letterSpacing:"0.1em",color:"rgba(255,255,255,0.5)",textDecoration:"none",textTransform:"uppercase"},children:"KonfHub â"}),t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.56rem",color:"rgba(255,255,255,0.25)"},children:"or"}),t.jsx("a",{href:pi,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:re,fontSize:"0.56rem",fontWeight:900,letterSpacing:"0.1em",color:"rgba(255,255,255,0.5)",textDecoration:"none",textTransform:"uppercase"},children:"Secwiser â"})]})]}),t.jsxs("div",{style:{maxWidth:1140,margin:"0 auto",padding:"clamp(2.5rem,6vw,4.5rem) 1.5rem 5rem"},children:[t.jsxs("div",{id:"passes",style:{marginBottom:"4rem",scrollMarginTop:"5rem"},children:[t.jsx(ti,{children:"Conference Passes · 6 September 2026"}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.88rem",color:"rgba(255,255,255,0.62)",marginBottom:"2rem",lineHeight:1.7}
1097,children:"Full-day conference on 6 September. Choose the pass that fits you."}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(280px,1fr))",gap:"1.5rem",alignItems:"stretch",marginBottom:"0.85rem"},children:[t.jsx(ia,{tier:e,type:"student",accent:ct,title:"Student",tagline:"For enrolled students with a valid college ID",benefits:["All conference talks & tracks","Workshops, Villages & CTF","Lunch + Tea/Coffee on conference day","CXO Panel Discussion","Welcome Kit","Digital Participation Certificate"],note:"Student discount available â DM @bsidesindore on Instagram to claim your code. Valid college ID required at the registration desk."}),t.jsx(ia,{tier:e,type:"individual",accent:Rt,title:"Individual",tagline:"For working professionals and independent researchers",benefits:["All conference talks & tracks","Workshops, Villages & CTF","Lunch + Tea/Coffee on conference day","CXO Panel Discussion","Welcome Kit","Digital Participation Certificate"],popular:!0}),t.jsx(ia,{tier:e,type:"corporate",accent:Qn,title:"Corporate",tagline:"For company-funded or employer-sponsored attendees",benefits:["All conference talks & tracks","Workshops, Villages & CTF","Lunch + Tea/Coffee on conference day","CXO Panel Discussion","Welcome Kit","Digital Participation Certificate","After-Party / Networking Dinner"]})]}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.75rem",color:"rgba(255,255,255,0.48)",lineHeight:1.6},children:"All prices are exclusive of payment gateway charges added at checkout. GST if applicable."})]}),t.jsxs("div",{id:"training",style:{marginBottom:"4rem",scrollMarginTop:"5rem"},children:[t.jsx(ti,{color:Ar,children:"Training · 5 September 2026"}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.88rem",color:"rgba(255,255,255,0.62)",marginBottom:"2rem",lineHeight:1.7},children:"A separate full-day hands-on training on 5 September. Capped at 30 seats. Add the conference for just â¹1,000 more."}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(300px,1fr))",gap:"1.5rem",alignItems:"stretch",marginBottom:"0.85rem"},children:[t.jsx(ia,{tier:e,type:"training",accent:Ar,title:"Training Only",tagline:"5 September â standalone training day",benefits:["Full 1-day training session (5 Sept)","Training Lunch + Tea/Coffee","Welcome Kit","Training Completion Certificate"],note:"Hard cap: 30 seats. Does NOT include conference access on 6 Sept. Training venue: IPS College Vijay Nagar Campus, separate from the conference venue."}),t.jsx(Gy,{tier:e})]}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.75rem",color:"rgba(255,255,255,0.48)",lineHeight:1.6},children:"All prices are exclusive of payment gateway charges added at checkout. GST if applicable."})]}),t.jsxs("div",{style:{marginBottom:"4rem"},children:[t.jsxs("button",{onClick:()=>i(h=>!h),style:{display:"flex",alignItems:"center",gap:"0.75rem",width:"100%",background:"transparent",border:"1px solid rgba(34,211,238,0.22)",borderRadius:6,padding:"0.9rem 1.25rem",cursor:"pointer",marginBottom:s?"1.5rem":0,transition:"border-color 0.2s, background 0.2s"},onMouseEnter:h=>{h.currentTarget.style.borderColor="rgba(34,211,238,0.45)",h.currentTarget.style.background="rgba(34,211,238,0.04)"},onMouseLeave:h=>{h.currentTarget.style.borderColor="rgba(34,211,238,0.22)",h.currentTarget.style.background="transparent"},children:[t.jsx("span",{style:{fontFamily:re,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.18em",color:ct,textTransform:"uppercase",flex:1,textAlign:"left"},children:"Compare All Passes"}),t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.9rem",color:ct,transition:"transform 0.2s",transform:s?"rotate(45deg)":"none",display:"inline-block",lineHeight:1},children:"+"})]}),s&&t.jsx("div",{style:{overflowX:"auto",WebkitOverflowScrolling:"touch"},children:t.jsxs("table",{className:"rg-table",style:{width:"100%",minWidth:560,borderCollapse:"collapse"},children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{style:{textAlign:"left",padding:"0.85rem 1rem",fontFamily:re,fontSize:"0.7rem",letterSpacing:"0.12em",color:"rgba(255,255,255,0.78)",fontWeight:900,borderBottom:"2px s
1097olid rgba(255,255,255,0.12)",textTransform:"uppercase"},children:"BENEFIT"}),u.map(h=>t.jsx("th",{style:{textAlign:"center",padding:"0.85rem 1rem",fontFamily:re,fontSize:"0.65rem",letterSpacing:"0.1em",color:h.color,fontWeight:900,borderBottom:`2px solid ${h.color}40`,textTransform:"uppercase"},children:h.label},h.label))]})}),t.jsx("tbody",{children:c.map((h,p)=>t.jsxs("tr",{style:{background:p%2===0?"rgba(255,255,255,0.02)":"transparent"},children:[t.jsx("td",{style:{padding:"0.85rem 1rem",fontFamily:"system-ui,sans-serif",fontSize:"0.88rem",color:"rgba(255,255,255,0.85)",borderBottom:"1px solid rgba(255,255,255,0.06)"},children:h.label}),[h.s,h.i,h.c,h.t].map((m,f)=>t.jsx("td",{style:{textAlign:"center",padding:"0.85rem 1rem",borderBottom:"1px solid rgba(255,255,255,0.06)",fontSize:"1.05rem",fontWeight:900,color:m?Ar:"rgba(248,113,113,0.5)"},children:m?"â":"â"},f)),t.jsx("td",{style:{textAlign:"center",padding:"0.85rem 1rem",borderBottom:"1px solid rgba(255,255,255,0.06)",fontFamily:h.comboNote?"system-ui,sans-serif":void 0,fontSize:h.comboNote?"0.8rem":"1.05rem",fontWeight:h.comboNote?500:900,color:h.comboNote?Rt:h.combo?Ar:"rgba(248,113,113,0.5)"},children:h.comboNote?h.comboNote:h.combo?"â":"â"})]},h.label))})]})})]}),t.jsxs("div",{style:{marginBottom:"4rem"},children:[t.jsx(ti,{children:"Discounts"}),t.jsxs("div",{style:{position:"relative",overflow:"hidden",borderRadius:8,background:"linear-gradient(135deg, rgba(248,113,113,0.07) 0%, rgba(248,113,113,0.03) 100%)",border:"1px solid rgba(248,113,113,0.25)",borderTop:"3px solid #f87171",boxShadow:"0 0 40px rgba(248,113,113,0.08), 0 4px 24px rgba(0,0,0,0.5)"},children:[t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(248,113,113,0.025) 3px,rgba(248,113,113,0.025) 4px)"}}),t.jsx("div",{style:{position:"absolute",top:10,right:10,width:14,height:14,borderTop:"2px solid rgba(248,113,113,0.4)",borderRight:"2px solid rgba(248,113,113,0.4)",pointerEvents:"none"}}),t.jsx("div",{style:{position:"absolute",bottom:10,left:10,width:14,height:14,borderBottom:"2px solid rgba(248,113,113,0.25)",borderLeft:"2px solid rgba(248,113,113,0.25)",pointerEvents:"none"}}),t.jsxs("div",{style:{padding:"1.75rem 1.75rem 1.5rem",position:"relative",zIndex:1},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.75rem",marginBottom:"1.1rem",flexWrap:"wrap"},children:[t.jsx("div",{style:{fontFamily:re,fontSize:"0.65rem",fontWeight:900,letterSpacing:"0.18em",color:"#f87171",textTransform:"uppercase"},children:"Student Pass · Discount Codes"}),t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.35rem",fontFamily:Ie,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.15em",color:"#f87171",background:"rgba(248,113,113,0.1)",border:"1px solid rgba(248,113,113,0.3)",borderRadius:20,padding:"3px 10px",textTransform:"uppercase"},children:[t.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:"#f87171",display:"inline-block",boxShadow:"0 0 6px #f87171",animation:"rg-blink 1.2s steps(1) infinite"}}),"Limited Slots"]})]}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.92rem",color:"rgba(255,255,255,0.9)",lineHeight:1.8,margin:"0 0 0.55rem",fontWeight:500},children:"We are giving out a limited number of discount codes for the Student Pass. Not everyone will get one."}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.84rem",color:"rgba(255,255,255,0.62)",lineHeight:1.8,margin:"0 0 1.5rem"},children:"DM us on Instagram to claim your code before slots run out. First to reach us, first to get it."}),t.jsx("div",{style:{height:1,background:"rgba(248,113,113,0.12)",marginBottom:"1.25rem"}}),t.jsxs("div",{style:{display:"flex",gap:"0.75rem",flexWrap:"wrap"},children:[t.jsx("a",{href:"https://www.instagram.com/bsidesindore/",target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none"},children:t.jsx("button",{style:{fontFamily:re,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.14em",textTransform:"uppercase",background:"#f87171",border:"none",borderRadius:4,color:"#000",padding:"0.7rem 1.4rem",cursor:"pointer",boxShadow:"0 0 20px rgba(248,113,113,0.4)"},onMouseEnter:h=>{h.currentTarget.style.boxShadow="0 0 32px rgba(248,113,113,0.65)",h.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:h=>{h.currentTarget.style.boxShadow="0 0 20px rgba(248,113,113,0.4)",h.currentTarget.style.transform="none"},children:"DM ON INSTAGRAM â"})}),t.jsx("a",{href:`mailto:${Vn}?subject=Student Pass Discount Code`,style:{textDecoration:"none"},children:t.jsx("button",{style:{fontFamily:re,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.14em",textTransform:"uppercase",background:"transparent",border:"1px solid rgba(248,113,113,0.4)",borderRadius:4,color:"#f87171",padding:"0.7rem 1.4rem",cursor:"pointer"},onMouseEnter:h=>{h.currentTarget.style.background="rgba(248,113,113,0.08)",h.currentTarget.style.borderColor="rgba(248,113,113,0.65)"},onMouseLeave:h=>{h.currentTarget.style.background="transparent",h.currentTarget.style.borderColor="rgba(248,113,113,0.4)"},children:"EMAIL US â"})})]})]})]})]}),t.jsxs("div",{style:{marginBottom:"4rem"},children:[t.jsx(ti,{color:Qn,children:"Policies"}),t.jsx("div",{style:{width:"100%"},children:l.map(h=>t.jsx(Ac,{q:h.q,a:h.a},h.q))})]}),t.jsxs("div",{style:{marginBottom:"4rem"},children:[t.jsx(ti,{children:"Frequently Asked Questions"}),t.jsx("div",{style:{width:"100%"},children:d.map(h=>t.jsx(Ac,{q:h.q,a:h.a},h.q))})]}),t.jsx("div",{style:{textAlign:"center",padding:"3rem 1rem",borderTop:"1px solid rgba(34,211,238,0.1)"},children:o?t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.45rem",fontFamily:Ie,fontSize:"0.62rem",letterSpacing:"0.18em",color:vt[e],textTransform:"uppercase",marginBottom:"0.85rem"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:vt[e],boxShadow:`0 0 8px ${vt[e]}`,display:"inline-block",animation:"rg-blink 1.2s steps(1) infinite"}}),gi[e]," · Registration Open"]}),t.jsx("h2",{style:{fontFamily:re,fontSize:"clamp(1.1rem,3vw,1.6rem)",fontWeight:900,letterSpacing:"0.1em",textTransform:"uppercase",color:"#fff",marginBottom:"0.85rem"},children:"Secure Your Spot at BSides Indore X2"}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.65)",lineHeight:1.8,maxWidth:460,margin:"0 auto 2rem"},children:"250 to 350 attendees expected. Training capped at 30 seats. Don't wait."}),t.jsxs("div",{style:{display:"flex",gap:"0.75rem",justifyContent:"center",flexWrap:"wrap",marginBottom:"1rem"},children:[t.jsx("a",{href:mi,target:"_blank",rel:"noopener noreferrer",children:t.jsx("button",{className:"rg-cta",style:{fontFamily:re,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:ct,border:"none",borderRadius:5,color:"#000",padding:"0.9rem 2.5rem",cursor:"pointer",boxShadow:"0 0 32px rgba(34,211,238,0.4)"},children:"BUY ON KONFHUB â"})}),t.jsx("a",{href:pi,target:"_blank",rel:"noopener noreferrer",children:t.jsxs("button",{style:{display:"flex",alignItems:"center",gap:"0.5rem",fontFamily:re,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:`1px solid ${ct}50`,borderRadius:5,color:"#fff",padding:"0.9rem 1.8rem",cursor:"pointer"},children:[t.jsx("img",{src:"/company-logos/secwiser-logo.png",alt:"",style:{width:18,height:18,borderRadius:3,dis
1097play:"block"}}),"BUY ON SECWISER â"]})}),t.jsx("a",{href:`mailto:${Vn}`,children:t.jsx("button",{style:{fontFamily:re,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:`1px solid ${ct}50`,borderRadius:5,color:ct,padding:"0.9rem 2rem",cursor:"pointer"},children:"EMAIL US"})})]}),t.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.4rem",marginBottom:"1rem"},children:t.jsx("span",{style:{fontFamily:Ie,fontSize:"0.58rem",color:"rgba(255,255,255,0.3)",letterSpacing:"0.08em"},children:"Secure checkout · India's trusted event platforms"})}),t.jsxs("p",{style:{fontFamily:Ie,fontSize:"0.6rem",color:"rgba(255,255,255,0.35)",marginTop:"0.25rem"},children:["Questions? ",t.jsx("a",{href:`mailto:${Vn}`,style:{color:ct,textDecoration:"none"},children:Vn})]})]}):e==="concluded"?t.jsxs(t.Fragment,{children:[t.jsx("h2",{style:{fontFamily:re,fontSize:"1.4rem",fontWeight:900,color:"rgba(255,255,255,0.35)",letterSpacing:"0.12em",textTransform:"uppercase"},children:"Event Concluded. Thank You."}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",color:"rgba(255,255,255,0.4)",marginTop:"0.75rem"},children:"BSides Indore X2 is over. See you at X3."})]}):t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{fontFamily:re,fontSize:"0.8rem",fontWeight:900,letterSpacing:"0.2em",color:"rgba(255,255,255,0.45)",textTransform:"uppercase",marginBottom:"1rem"},children:"Registration Opens 6 June 2026"}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.55)",lineHeight:1.8,maxWidth:420,margin:"0 auto 1.5rem"},children:"Save the date. Early Bird pricing is available from day one."}),t.jsx("a",{href:`mailto:${Vn}`,children:t.jsx("button",{style:{fontFamily:re,fontSize:"0.68rem",fontWeight:900,letterSpacing:"0.15em",textTransform:"uppercase",background:"transparent",border:`1px solid ${ct}50`,borderRadius:5,color:ct,padding:"0.8rem 2rem",cursor:"pointer"},children:"QUESTIONS? EMAIL US â"})})]})})]})]}),t.jsx(rt,{})]})}const kn='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',Jn='"Share Tech Mono","Courier New",monospace',Qr="#a78bfa",Yy="#c4b5fd",aa="#07080f",Jy=[{name:"Prashant KV",title:"Staff Security & Threat Engineer · Co-Founder, Seasides",org:"Kohl's · OWASP Seasides",photo:"/media/team/prashant-v.jpg",bio:"Prashant KV is the co-founder of Seasides, a practitioner-led security conference held annually in Goa, known for bringing together some of India's sharpest security minds in an open, community-driven format. A Black Hat speaker with over 17 years of experience spanning AppSec, threat engineering, and offensive security, his advisory lens keeps BSides Indore anchored in real-world security craft. With an LNCT Bhopal background and deep roots in the regional security community, he brings both strategic vision and local context to the board.",credentials:["SEASIDES CO-FOUNDER","BLACK HAT SPEAKER","OSCP · CISSP","THREAT ENGINEERING","APPSEC"],linkedin:"https://www.linkedin.com/in/prashant-v-99018999/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"},companyLogo:"/company-logos/seasides-logo.png"},{name:"Anto Joseph",title:"Principal Security Engineer",org:"Eigen Labs",photo:"/media/team/anto-joseph.jpeg",bio:"Developer turned security researcher with deep expertise in applied cryptography, mechanism design, and AI security. Currently Principal Security Engineer at Eigen Labs, where he secures the deterministic AI inference stack and EigenLayer's core smart contract protocol. Previously Staff Blockchain Security Engineer at Coinbase, Product Security Engineer at Tinder, and Security Researcher at Intel's New Devices Group. Creator of open-source tools FuzzCube (distributed fuzzing on Kubernetes), Droid-FF (Android fuzzing), and Diff-Droid (dynamic instrumentation). Co-founded the first AI Village at DEF CON. Speaker and trainer at Black Hat (2016 to 2023), DEF CON (2016 to 2021), NullCon, BruCon, HITB, Hack In Paris, and over a dozen international security conferences across Europe and Asia.",credentials:["BLACK HAT SPEAKER 2016-2023","DEFCON AI VILLAGE CO-FOUNDER","EIGEN LABS","BLOCKCHAIN SECURITY","APPLIED CRYPTOGRAPHY","AI SECURITY"],linkedin:"https://www.linkedin.com/in/antojoseph/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"},companyLogo:"/company-logos/eigen-labs-logo.jpeg"},{name:"Karthik Beligiri",title:"Director, Microsoft Security Response Center",org:"Microsoft",photo:"/media/team/karthik-beligiri.jpeg",bio:"Director at Microsoft's Security Response Center (MSRC), overseeing security assurance and vulnerability management at global scale. A CISSP with nearly two decades of enterprise security leadership spanning IBM (Global Information Security Advisor for 12 years), Danske Bank (VP, Risk and Information Security), and Prudential UK (VP, Risk Management). One of the driving faces behind BlueHat Asia, Microsoft's flagship security research conference for the Asia-Pacific region, having helped bring it to Bengaluru and now Singapore, amplifying the APAC security research community's voice on the world stage.",credentials:["CISSP","MSRC · MICROSOFT","BLUEHAT ASIA","SECURITY ASSURANCE","VULNERABILITY MGMT","ENTERPRISE SECURITY"],linkedin:"https://www.linkedin.com/in/karthik-beligiri-cissp-9490ab54/",photoStyle:{transform:"none",objectFit:"cover",objectPosition:"center top"},companyLogo:"/company-logos/microsoft-logo.png"}],Xy=({member:r,index:e})=>t.jsxs("div",{style:{position:"relative",display:"grid",gridTemplateColumns:"340px 1fr",background:"linear-gradient(135deg, #0c0b15 0%, #09080f 60%, #0e0c18 100%)",border:"1px solid rgba(167,139,250,0.12)",borderLeft:`3px solid ${Qr}`,overflow:"hidden",transition:"box-shadow 0.4s, border-color 0.4s"},className:"adv-member-card",onMouseEnter:n=>{const s=n.currentTarget;s.style.boxShadow="0 0 60px rgba(167,139,250,0.08), -6px 0 32px rgba(167,139,250,0.12)",s.style.borderColor="rgba(167,139,250,0.35)"},onMouseLeave:n=>{const s=n.currentTarget;s.style.boxShadow="none",s.style.borderColor="rgba(167,139,250,0.12)"},children:[t.jsx("div",{style:{position:"absolute",top:0,right:0,width:80,height:80,background:"linear-gradient(225deg, rgba(167,139,250,0.07) 0%, transparent 60%)",pointerEvents:"none",zIndex:0}}),t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",zIndex:0,backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(167,139,250,0.012) 6px, rgba(167,139,250,0.012) 7px)"}}),t.jsxs("div",{className:"adv-photo-panel",style:{position:"relative",height:360,overflow:"hidden",background:"linear-gradient(160deg, #100f18 0%, #07080f 100%)",borderRight:"1px solid rgba(167,139,250,0.08)"},children:[t.jsx("img",{src:r.photo,alt:r.name,onError:n=>{n.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center top",display:"block",filter:"brightness(0.88) contrast(1.05)",...r.photoStyle}}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:1,pointerEvents:"none",background:"radial-gradient(ellipse at 0% 60%, rgba(167,139,250,0.1) 0%, transparent 55%)"}}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:2,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px)"}}),t.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:"30%",zIndex:3,background:"linear-gradient(to top, #09080f 0%, transparent 100%)"}}),t.jsxs("div",{style:{position:"absolute",bottom:14,right:14,zIndex:4,fontFamily:Jn,fontSize:"0.55rem",color:"rgba(167,139,250,0.55)",letterSpacing:"0.14em"},children:["ADVISORY · 0",e+1]}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:1,zIndex:4,background:`linear-gradient(90deg, ${Qr} 0%, rgba(167,139,250,0.2) 60%, transparent 100%)`,boxShadow:"0 0 10px rgba(167,139,250,0.6)"}})]}),t.jsxs("div",{className:"adv-info-panel",style:{position:"relative",zIndex:1,padding:"2.5rem 2.8rem",display:"flex",flexDirection:"column",justifyContent:"flex-start",ga
1097p:"1.2rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem"},children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:6,background:"rgba(167,139,250,0.07)",border:"1px solid rgba(167,139,250,0.25)",padding:"4px 12px"},children:[t.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:Qr,display:"inline-block",boxShadow:`0 0 8px ${Qr}`,animation:"vioPulse 2.4s ease-in-out infinite"}}),t.jsx("span",{style:{fontFamily:kn,fontSize:"0.5rem",fontWeight:900,color:Qr,letterSpacing:"0.2em",textTransform:"uppercase"},children:"ADVISORY BOARD"})]}),t.jsx("div",{style:{fontFamily:Jn,fontSize:"0.5rem",color:"rgba(167,139,250,0.62)",letterSpacing:"0.12em"},children:"BSI-2026"})]}),t.jsxs("div",{className:"adv-name-logo-row",style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem"},children:[t.jsx("div",{style:{fontFamily:kn,fontSize:"clamp(1.3rem, 2vw, 1.75rem)",fontWeight:900,color:"#ffffff",letterSpacing:"0.1em",textTransform:"uppercase",lineHeight:1.15,textShadow:"0 0 40px rgba(167,139,250,0.15)"},children:r.name}),r.companyLogo&&t.jsx("div",{className:"adv-logo-box",style:{background:"#ffffff",borderRadius:6,padding:"10px 22px",height:72,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,boxShadow:"0 0 24px rgba(167,139,250,0.25)"},children:t.jsx("img",{src:r.companyLogo,alt:r.org,style:{maxHeight:48,maxWidth:160,objectFit:"contain",display:"block"},onError:n=>{n.currentTarget.parentElement.style.display="none"}})})]}),t.jsxs("div",{style:{marginTop:"-0.4rem"},children:[t.jsx("div",{style:{height:1,width:48,background:`linear-gradient(90deg, ${Qr}, transparent)`,marginBottom:"0.6rem"}}),t.jsx("div",{style:{fontFamily:Jn,fontSize:"0.72rem",color:"rgba(167,139,250,0.85)",letterSpacing:"0.06em",marginBottom:"0.15rem",lineHeight:1.5},children:r.title}),t.jsx("div",{style:{fontFamily:Jn,fontSize:"0.62rem",color:"rgba(255,255,255,0.62)",letterSpacing:"0.08em"},children:r.org})]}),t.jsx("p",{style:{fontFamily:Jn,fontSize:"0.85rem",color:"rgba(255,255,255,0.82)",lineHeight:1.8,letterSpacing:"0.02em",margin:0,borderLeft:"2px solid rgba(167,139,250,0.18)",paddingLeft:"1rem"},children:r.bio}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"0.4rem"},children:[t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.4rem",alignItems:"center"},children:r.credentials.map(n=>t.jsx("span",{style:{fontFamily:kn,fontSize:"0.6rem",fontWeight:900,color:"rgba(167,139,250,0.7)",letterSpacing:"0.12em",textTransform:"uppercase",background:"rgba(167,139,250,0.05)",border:"1px solid rgba(167,139,250,0.18)",padding:"4px 11px"},children:n},n))}),t.jsx("div",{style:{flexShrink:0},children:t.jsx(Us,{linkedin:r.linkedin,twitter:r.twitter})})]})]})]}),Zy=()=>t.jsxs("div",{className:"min-h-screen text-white",style:{background:aa},children:[t.jsx("style",{children:` 1098 @keyframes vioPulse { 1099 0%,100% { opacity:1; box-shadow:0 0 8px #a78bfa; } 1100 50% { opacity:.55; box-shadow:0 0 16px #a78bfa, 0 0 32px rgba(167,139,250,.35); } 1101 } 1102 @media (max-width: 860px) { 1103 .adv-member-card { grid-template-columns: 1fr !important; } 1104 .adv-photo-panel { height: 280px !important; border-right: none !important; border-bottom: 1px solid rgba(167,139,250,0.08) !important; } 1105 .adv-info-panel { padding: 1.25rem 1.5rem !important; } 1106 .adv-name-logo-row { flex-wrap: wrap !important; } 1107 .adv-logo-box { height: 52px !important; padding: 6px 14px !important; } 1108 .adv-logo-box img { max-width: 100px !important; max-height: 36px !important; } 1109 } 1110 @media (max-width: 540px) { 1111 .adv-pillars-grid { grid-template-columns: 1fr !important; } 1112 } 1113 `}),t.jsxs("div",{style:{position:"relative",padding:"4rem 2rem 3.5rem",background:`linear-gradient(180deg, #0a0910 0%, ${aa} 100%)`,borderBottom:"1px solid rgba(167,139,250,0.08)",overflow:"hidden"},children:[t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",backgroundImage:"linear-gradient(rgba(167,139,250,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(167,139,250,0.025) 1px, transparent 1px)",backgroundSize:"64px 64px"}}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:2,background:`linear-gradient(90deg, transparent 5%, ${Qr} 30%, ${Qr} 70%, transparent 95%)`,boxShadow:"0 0 20px rgba(167,139,250,0.6), 0 0 60px rgba(167,139,250,0.2)"}}),t.jsxs("div",{style:{maxWidth:"72rem",margin:"0 auto",position:"relative",zIndex:1,textAlign:"center"},children:[t.jsx($t,{as:"h1",text:"ADVISORY BOARD",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:kn,textShadow:"0 0 40px rgba(167,139,250,0.2)"}}),t.jsx("p",{style:{fontFamily:kn,fontSize:"0.72rem",fontWeight:900,color:"rgba(167,139,250,0.65)",letterSpacing:"0.22em",textTransform:"uppercase",margin:"0 0 2.5rem"},children:"STRATEGIC OVERSIGHT · COMMUNITY-FIRST · PRACTITIONER-LED"}),t.jsx("div",{className:"adv-pillars-grid",style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"1px",background:"rgba(167,139,250,0.08)",border:"1px solid rgba(167,139,250,0.1)",width:"100%",maxWidth:640,margin:"0 auto"},children:[{icon:"â",heading:"Community First",body:"Built by practitioners, for practitioners. Every decision centres the security community above all else."},{icon:"â",heading:"Open Knowledge",body:"No paywalls, no gatekeeping. Talks, workshops, and villages are accessible to students and veterans alike."},{icon:"â",heading:"Regional Impact",body:"Rooted in Central India, bridging Indore's growing tech ecosystem with the national security community."}].map(r=>
1113t.jsxs("div",{style:{padding:"1.4rem 1.5rem",background:aa,textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:kn,fontSize:"0.9rem",color:"rgba(167,139,250,0.65)",marginBottom:"0.5rem"},children:r.icon}),t.jsx("div",{style:{fontFamily:kn,fontSize:"0.58rem",fontWeight:900,color:Yy,letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:"0.4rem"},children:r.heading}),t.jsx("div",{style:{fontFamily:Jn,fontSize:"0.62rem",color:"rgba(255,255,255,0.65)",lineHeight:1.65,letterSpacing:"0.02em"},children:r.body})]},r.heading))})]})]}),t.jsx(Vt,{bg:aa,accent:Qr,speedSeconds:40,style:{margin:"0 auto 2.5rem",maxWidth:820,borderLeftColor:"rgba(167,139,250,0.55)"}}),t.jsxs("div",{style:{padding:"2rem 2rem 4rem",maxWidth:"72rem",margin:"0 auto"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"3rem"},children:[t.jsx("div",{style:{height:1,flex:1,background:"rgba(167,139,250,0.08)"}}),t.jsx("span",{style:{fontFamily:kn,fontSize:"0.52rem",fontWeight:900,color:"rgba(167,139,250,0.72)",letterSpacing:"0.25em",textTransform:"uppercase"},children:"FOUNDING BOARD MEMBERS"}),t.jsx("div",{style:{height:1,flex:1,background:"rgba(167,139,250,0.08)"}})]}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"2rem"},children:Jy.map((r,e)=>t.jsx(Xy,{member:r,index:e},r.name))}),t.jsx("div",{style:{marginTop:"4rem",height:1,background:"linear-gradient(90deg, transparent, rgba(167,139,250,0.12) 30%, rgba(167,139,250,0.12) 70%, transparent)"}})]}),t.jsx("div",{style:{padding:"2rem",textAlign:"center",borderTop:"1px solid rgba(167,139,250,0.06)"},children:t.jsx("div",{style:{fontFamily:Jn,fontSize:"0.8rem",color:"rgba(167,139,250,0.72)",letterSpacing:"0.18em"},children:"// ADVISORY BOARD · BSI-2026 · STRATEGIC · ASYNC · PRACTITIONER-LED"})})]});function Qy(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(Zy,{}),t.jsx(rt,{})]})}const at='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',ya='"Share Tech Mono","Courier New",monospace',wt="#fb923c",Nc="#080c14",eb=10,tb=[{id:"cat1",label:"TRACK 1",title:"Offensive Security & Vulnerability Research",color:"#f87171"},{id:"cat2",label:"TRACK 2",title:"Defense, Detection Engineering & IR",color:"#22d3ee"}
1113,{id:"cat3",label:"TRACK 3",title:"Application & Cloud Security",color:"#a78bfa"},{id:"cat4",label:"TRACK 4",title:"Applied AI, ML & Data Science",color:"#f59e0b"},{id:"cat5",label:"TRACK 5",title:"Cyber-Physical, IoT & Industry Security",color:"#34d399"},{id:"cat6",label:"TRACK 6",title:"Cryptography, Privacy & Policy",color:"#38bdf8"},{id:"cat7",label:"TRACK 7",title:"Human Element, Career & Community",color:"#c084fc"}],fi=[{id:"eshan-singh",name:"Eshan Singh",company:"Security Consultant and Trainer",photo:"/media/speakers/eshan-singh.webp",photoPosition:"center top",linkedin:"https://www.linkedin.com/in/eshan-singh04/",title:"From Recon to Reputation: How Adversaries Weaponize Human Intelligence, Social Engineering, and Sock Puppets",trackId:"cat7"},{id:"abimel-kulumala",name:"Abimel S B Kulumala",company:"Lead Security Engineer, Cozmek Pvt Ltd",photo:"/media/speakers/abimel-s-b-kulumala.webp",linkedin:"https://www.linkedin.com/in/abimelsbk/",title:"Beyond the Internet: Practical Security of LoRa Mesh Networks with Meshtastic",trackId:"cat5"},{id:"jaswanth-r",name:"Jaswanth R",company:"Security Engineer, Zoho",photo:"/media/speakers/jaswanth-r.webp",linkedin:"https://www.linkedin.com/in/jaswanth-r-32b1b1217/",title:"Living Honeypots: AI Agents That Actively Deceive Attackers in Real Time",trackId:"cat2"},{id:"jerry-nissan",name:"Jerry Nissan Antony Marcelin",company:"Cyber Security Engineer, Control4",photo:"/media/speakers/jerry-nissan-antony-marcelin.webp",photoPosition:"center 20%",linkedin:"https://www.linkedin.com/in/jerrynissan/",title:"Living Honeypots: AI Agents That Actively Deceive Attackers in Real Time",trackId:"cat2"},{id:"abhisek-rajkumar",name:"Abhisek Rajkumar",company:"Security Consultant, NetSPI",photo:"/media/speakers/abhisek-rajkumar.webp",linkedin:"https://www.linkedin.com/in/abhisek-r/",title:"HoundMasker: Privacy-Preserving Attack Path Analysis for BloodHound in the LLM Era",trackId:"cat4"},{id:"ritika-pandey",name:"Ritika Pandey",company:"Risk Analyst, PhonePe",photo:"/media/speakers/ritika-pandey.webp",linkedin:"https://www.linkedin.com/in/ritika-pandey-20/",title:"You Can't Fix Everything: Engineering Risk Acceptance That Doesn't Rot",trackId:"cat7"},{id:"sagar-tiwari",name:"Sagar Tiwari",company:"Security Researcher and Conference Speaker",photo:"/media/team/sagar-tiwari.jpg",photoPosition:"center 15%",linkedin:"https://www.linkedin.com/in/sagar--tiwari--/",title:"The OSINT Odyssey: Tracking Across Air, Sea, and Spectrum",trackId:"cat7"},{id:"shubham-kumar",name:"Shubham Kumar",company:"Cybersecurity and OSINT Researcher, International Speaker and Trainer",photo:"/media/team/shubham-kumar.jpeg",photoPosition:"center 15%",linkedin:"https://www.linkedin.com/in/shubham--kumar--/",title:"The OSINT Odyssey: Tracking Across Air, Sea, and Spectrum",trackId:"cat7"},{id:"thejes-sree-satheesh-kumar",name:"Thejes Sree Satheesh Kumar",company:"Quality Analyst, MCP and AI Security Researcher, Thoughtworks",photo:"/media/speakers/thejes-sree-satheesh-kumar.webp",linkedin:"https://www.linkedin.com/in/thejes-sree-satheesh-kumar-83a817146/",title:"The Trust Boundary Problem: Securing MCP in Production Agent Systems.",trackId:"cat4"},{id:"nikhil-uday-jadhav",name:"Nikhil Uday Jadhav",company:"Security Researcher: BAS & Threat Hunting, Threatactix Pvt Ltd",photo:"/media/speakers/nikhil-uday-jadhav.webp",linkedin:"https://www.linkedin.com/in/nikhil-jadhav-bb2568225/",title:"Simulated â Validated: A Ransomware BAS Post-Mortem",trackId:"cat2"},{id:"sangam-thakur",name:"Sangam Thakur",company:"Security Manager, Forge Digital",photo:"/media/speakers/sangam-thakur.webp",photoPosition:"75% 20%",title:"Kernel-Native AI Security: Pre-
1113Ingestion Input Inspection Using eBPF and Deep IAM Isolation for Multi User LLM Deployments",trackId:"cat4"},{id:"sneh-soni",name:"Sneh Soni",company:"Red Teamer, Forge Digital",photo:"/media/speakers/sneh-soni.webp",photoPosition:"center 25%",linkedin:"https://www.linkedin.com/in/snehsoni01",title:"Kernel-Native AI Security: Pre-Ingestion Input Inspection Using eBPF and Deep IAM Isolation for Multi User LLM Deployments",trackId:"cat4"}],ba="#f59e0b",oa="#fbbf24",rl=[{id:"jafar-hasan",name:"Jafar Hasan",role:"Head of InfoSec, Appin Technology Lab · Director of Information Security, Webvillee Technology Pvt Ltd",photo:"/media/speakers/jafar-hasan.webp",photoPosition:"center 20%",linkedin:"https://www.linkedin.com/in/jaf4r/"},{id:"sonika-bidyasar",name:"Sonika Bidyasar",role:"VP, Risk & Strategy, Leadrat CRM · GRC, Information Security, AI Governance, Insider Risk & Cyber Risk Strategy",photo:"/media/speakers/sonika-bidyasar.webp",photoPosition:"center 15%",linkedin:"https://www.linkedin.com/in/sonikabidyasar/"},{id:"pravinkumar-jha",name:"Pravinkumar Jha",role:"Product & Cloud Security Leader",photo:"/media/speakers/pravinkumar-jha.webp",photoPosition:"center 15%",linkedin:"https://www.linkedin.com/in/jhapravin/"},{id:"deepak-rathore",name:"Deepak Rathore",role:"Director of Product Security, Hashgraph · Blockchain & Crypto Security Leader driving trust in L1, trading, custody, and DeFi ecosystems",photo:"/media/speakers/deepak-rathore.webp",linkedin:"https://www.linkedin.com/in/deepakrathore2k10"},{id:"rohit-singh",name:"Rohit Singh",role:"Cybersecurity Executive & Trainer",photo:"/media/speakers/rohit-singh.webp",photoPosition:"center 15%"}],rb={id:"dhawal-shrivastava",name:"Dhawal Shrivastava",role:"Senior Security Assurance Engineering Lead, Microsoft",photo:"/media/team/dhawal-shrivastava.jpg",photoPosition:"center top",linkedin:"https://www.linkedin.com/in/dhawalshrivastava/"},Rc="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#$%&";function nb(r){const[e,n]=y.useState("");return y.useEffect(()=>{const s=setInterval(()=>{n(Array.from({length:r},()=>Rc[Math.floor(Math.random()*Rc.length)]).join(""))},140);return()=>clearInterval(s)},[r]),e}const or=({pos:r})=>{const s={position:"absolute",width:18,height:18,opacity:.85,zIndex:10},i={tl:{top:0,left:0,borderTop:`2px solid ${wt}`,borderLeft:`2px solid ${wt}`},tr:{top:0,right:0,borderTop:`2px solid ${wt}`,borderRight:`2px solid ${wt}`},bl:{bottom:0,left:0,borderBottom:`2px solid ${wt}`,borderLeft:`2px solid ${wt}`},br:{bottom:0,right:0,borderBottom:`2px solid ${wt}`,borderRight:`2px solid ${wt}`}};return t.jsx("div",{style:{...s,...i[r]}})},sb=({speaker:r,track:e})=>t.jsxs("div",{className:"spk-card",style:{position:"relative",background:"linear-gradient(160deg, #170f08 0%, #080c14 100%)",border:"1px solid rgba(251,146,60,0.18)",clipPath:"polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%)",overflow:"hidden",transition:"border-color 0.3s, box-shadow 0.3s"},onMouseEnter:n=>{n.currentTarget.style.borderColor="rgba(251,146,60,0.5)",n.currentTarget.style.boxShadow="0 0 28px rgba(251,146,60,0.12), inset 0 0 20px rgba(251,146,60,0.03)"},onMouseLeave:n=>{n.currentTarget.style.borderColor="rgba(251,146,60,0.18)",n.currentTarget.style.boxShadow="none"},children:[t.jsx(or,{pos:"tl"}),t.jsx(or,{pos:"tr"}),t.jsx(or,{pos:"bl"}),t.jsx(or,{pos:"br"}),t.jsx("div",{style:{position:"absolute",top:0,right:0,width:0,height:0,borderStyle:"solid",borderWidth:"0 22px 22px 0",borderColor:"transparent rgba(251,146,60,0.32) transparent transparent",zIndex:2}}),t.jsxs("div",{style:{position:"relative",width:"100%",height:220,overflow:"hidden",background:"#040608"},children:[t.jsx("img",{src:r.photo,alt:r.name,onError:n=>{n.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:r.photoPosition??"center 20%",display:"block"}}),t.jsx("div",{className:"spk-scanline-overlay",style:{opacity:.5}}),t.jsx("div",{style:{position:"absolute",top:28,right:8,zIndex:3,fontFamily:at,fontSize:"0.5rem",color:"rgba(251,146,60,0.65)",letterSpacing:"0.1em"},children:"BSI-2026"})]}),t.jsxs("div",{style:{padding:"1rem 1.1rem 1.1rem",display:"flex",flexDirection:"column",minHeight:200},children:[t.jsx("h3",{style:{fontFamily:at,fontSize:"0.92rem",fontWeight:900,color:"#ffffff",letterSpacing:"0.06em",textTransform:"uppercase",margin:"0 0 0.45rem",lineHeight:1.25,textShadow:"0 0 12px rgba(255,255,255,0.15)",minHeight:"2.3rem",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:r.name}),r.company&&t.jsx("p",{style:{fontFamily:at,fontSize:"0.72rem",fontWeight:800,color:e.color,letterSpacing:"0.02em",lineHeight:1.4,margin:"0 0 0.6rem",textShadow:`0 0 14px ${e.color}55`},children:r.company}),t.jsx("div",{style:{borderLeft:`2px solid ${e.color}`,background:`${e.color}0c`,padding:"0.5rem 0.65rem",margin:"0.15rem 0 0"},children:t.jsx("p",{style:{fontFamily:at,fontSize:"0.76rem",fontWeight:700,color:"rgba(255,255,255,0.94)",letterSpacing:"0.01em",lineHeight:1.45,margin:0,display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},children:r.title})}),t.jsxs("div",{style:{marginTop:"auto",paddingTop:"0.75rem"},children:[t.jsx("div",{style:{height:1,background:"linear-gradient(to right, transparent, rgba(251,146,60,0.4) 30%, rgba(251,146,60,0.4) 70%, transparent)",marginBottom:"0.7rem"}}),t.jsx(Us,{linkedin:r.linkedin,showLabel:!1,size:"sm"})]})]})]}),Oc=({speaker:r,tagLabel:e="CXO Panel Speaker",accentColor:n=ba})=>t.jsxs("div",{className:"spk-card",style:{position:"relative",background:"linear-gradient(160deg, #170f08 0%, #080c14 100%)",border:`1px solid ${n}
111330`,clipPath:"polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%)",overflow:"hidden",transition:"border-color 0.3s, box-shadow 0.3s"},onMouseEnter:s=>{s.currentTarget.style.borderColor=`${n}80`,s.currentTarget.style.boxShadow=`0 0 28px ${n}20, inset 0 0 20px ${n}08`},onMouseLeave:s=>{s.currentTarget.style.borderColor=`${n}30`,s.currentTarget.style.boxShadow="none"},children:[t.jsx(or,{pos:"tl"}),t.jsx(or,{pos:"tr"}),t.jsx(or,{pos:"bl"}),t.jsx(or,{pos:"br"}),t.jsx("div",{style:{position:"absolute",top:0,right:0,width:0,height:0,borderStyle:"solid",borderWidth:"0 22px 22px 0",borderColor:`transparent ${n}55 transparent transparent`,zIndex:2}}),t.jsxs("div",{style:{position:"relative",width:"100%",height:220,overflow:"hidden",background:"#040608"},children:[r.photo?t.jsx("img",{src:r.photo,alt:r.name,onError:s=>{s.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:r.photoPosition??"center 20%",display:"block"}}):t.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},children:t.jsx("span",{style:{fontFamily:at,fontSize:"0.6rem",letterSpacing:"0.15em",color:`${n}55`},children:"PHOTO PENDING"})}),t.jsx("div",{className:"spk-scanline-overlay",style:{opacity:.5}}),t.jsx("div",{style:{position:"absolute",top:28,right:8,zIndex:3,fontFamily:at,fontSize:"0.5rem",color:`${n}a0`,letterSpacing:"0.1em"},children:"BSI-2026"})]}),t.jsxs("div",{style:{padding:"1rem 1.1rem 1.1rem",display:"flex",flexDirection:"column",minHeight:160},children:[t.jsx("div",{style:{alignSelf:"flex-start",padding:"3px 10px",marginBottom:"0.6rem",background:`${n}12`,border:`1px solid ${n}35`,fontFamily:at,fontSize:"0.58rem",fontWeight:700,color:n,letterSpacing:"0.15em",textTransform:"uppercase"},children:e}),t.jsx("h3",{style:{fontFamily:at,fontSize:"0.92rem",fontWeight:900,color:"#ffffff",letterSpacing:"0.06em",textTransform:"uppercase",margin:"0 0 0.5rem",lineHeight:1.25,textShadow:"0 0 12px rgba(255,255,255,0.15)"},children:r.name}),t.jsx("p",{style:{fontFamily:at,fontSize:"0.72rem",fontWeight:700,color:"rgba(255,255,255,0.75)",letterSpacing:"0.01em",lineHeight:1.5,margin:"0 0 0.6rem"},children:r.role}),r.linkedin&&t.jsx("div",{style:{marginTop:"auto",paddingTop:"0.6rem"},children:t.jsx(Us,{linkedin:r.linkedin,showLabel:!1,size:"sm"})})]})]}),ib=()=>{const r=nb(9);return t.jsxs("div",{className:"spk-card",style:{position:"relative",background:"linear-gradient(160deg, #170f08 0%, #080c14 100%)",border:"1px solid rgba(251,146,60,0.18)",clipPath:"polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%)",overflow:"hidden",transition:"border-color 0.3s, box-shadow 0.3s"},onMouseEnter:e=>{e.currentTarget.style.borderColor="rgba(251,146,60,0.5)",e.currentTarget.style.boxShadow="0 0 28px rgba(251,146,60,0.12), inset 0 0 20px rgba(251,146,60,0.03)"},onMouseLeave:e=>{e.currentTarget.style.borderColor="rgba(251,146,60,0.18)",e.currentTarget.style.boxShadow="none"},children:[t.jsx(or,{pos:"tl"}),t.jsx(or,{pos:"tr"}),t.jsx(or,{pos:"bl"}),t.jsx(or,{pos:"br"}),t.jsx("div",{style:{position:"absolute",top:0,right:0,width:0,height:0,borderStyle:"solid",borderWidth:"0 22px 22px 0",borderColor:"transparent rgba(251,146,60,0.32) transparent transparent",zIndex:2}}),t.jsxs("div",{style:{position:"relative",width:"100%",height:220,overflow:"hidden",background:"#040608",display:"flex",alignItems:"center",justifyContent:"center"},children:[t.jsx("div",{className:"spk-scanline-overlay"}),t.jsx("span",{style:{fontFamily:ya,fontSize:"0.62rem",letterSpacing:"0.1em",color:"rgba(251,146,60,0.3)"},children:r}),t.jsx("div",{style:{position:"absolute",fontFamily:at,fontSize:"1.15rem",fontWeight:900,letterSpacing:"0.15em",color:wt,textShadow:"0 0 18px rgba(251,146,60,0.55)"},children:"[ LOCKED ]"}),t.jsxs("div",{style:{position:"absolute",top:10,left:10,zIndex:3,display:"flex",alignItems:"center",gap:5,background:"rgba(8,12,20,0.75)",padding:"3px 7px",border:"1px solid rgba(251,146,60,0.3)"},children:[t.jsx("div",{style:{width:5,height:5,borderRadius:"50%",background:wt,boxShadow:`0 0 6px ${wt}`,animation:"spk-blink 1.4s steps(1) infinite"}}),t.jsx("span",{style:{fontFamily:at,fontSize:"0.55rem",color:wt,letterSpacing:"0.12em"},children:"TBA"})]}),t.jsx("div",{style:{position:"absolute",top:28,right:8,zIndex:3,fontFamily:at,fontSize:"0.5rem",color:"rgba(251,146,60,0.65)",letterSpacing:"0.1em"},children:"BSI-2026"})]}),t.jsxs("div",{style:{padding:"1rem 1.1rem 1.1rem",display:"flex",flexDirection:"column",height:148},children:[t.jsx("div",{style:{alignSelf:"flex-start",padding:"3px 10px",marginBottom:"0.55rem",background:"rgba(251,146,60,0.12)",border:"1px solid rgba(251,146,60,0.35)",fontFamily:at,fontSize:"0.6rem",fontWeight:700,color:wt,letterSpacing:"0.15em",textTransform:"uppercase"},children:"Speaker TBA"}),t.jsx("div",{style:{fontFamily:ya,fontSize:"0.68rem",color:"rgba(255,255,255,0.4)",letterSpacing:"0.03em",lineHeight:1.5},children:"Announcing soon"}),t.jsxs("div",{style:{marginTop:"auto",paddingTop:"0.75rem"},children:[t.jsx("div",{style:{height:1,background:"linear-gradient(to right, transparent, rgba(251,146,60,0.4) 30%, rgba(251,146,60,0.4) 70%, transparent)",marginBottom:"0.6rem"}}),t.jsx("div",{style:{fontFamily:ya,fontSize:"0.58rem",color:"rgba(255,255,255,0.25)",letterSpacing:"0.08em",textAlign:"center"},children:"DETAILS LOCKED"})]})]})]})},ab=({track:r})=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"1.25rem"},children:[t.jsx("div",{style:{width:3,height:20,background:r.color,borderRadius:2,flexShrink:0}}),t.jsxs("span",{style:{fontFamily:at,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",color:r.color,textTransform:"uppercase"},children:[r.label," · ",r.title]}),t.jsx("div",{style:{flex:1,height:1,background:`${r.color}25`}})]}),ob=()=>{const r=Math.max(eb-fi.length,0),e=Array.from({length:r},(s,i)=>fi.length+i+1),n=tb.map(s=>({track:s,speakers:fi.filter(i=>i.trackId===s.id)})).filter(s=>s.speakers.length>0);return t.jsxs("div",{className:"min-h-screen text-white p-8",style:{background:Nc},children:[t.jsx("style",{children:` 1114 @keyframes spk-grid-scroll { 1115 from { background-position: 0 0; } 1116 to { background-position: 0 60px; } 1117 } 1118 @keyframes spk-blink { 1119 0%, 49% { opacity: 1; } 1120 50%, 100% { opacity: 0.15; } 1121 }
1122 @keyframes spk-scanline { 1123 0% { transform: translateY(-100%); } 1124 100% { transform: translateY(220px); } 1125 } 1126 .spk-scanline-overlay { 1127 position: absolute; 1128 left: 0; right: 0; 1129 height: 40px; 1130 background: linear-gradient(to bottom, rgba(251,146,60,0.08), transparent); 1131 animation: spk-scanline 3.5s linear infinite; 1132 pointer-events: none; 1133 } 1134 `}),t.jsx("div",{"aria-hidden":"true",style:{position:"fixed",inset:0,backgroundImage:`linear-gradient(rgba(251,146,60,0.035) 1px, transparent 1px), 1135 linear-gradient(90deg, rgba(251,146,60,0.035) 1px, transparent 1px)`,backgroundSize:"60px 60px",animation:"spk-grid-scroll 8s linear infinite",pointerEvents:"none",zIndex:0}}),t.jsxs("div",{className:"max-w-6xl mx-auto",style:{position:"relative",zIndex:1},children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx($t,{as:"h1",text:"SPEAKERS",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:at,textShadow:"0 0 24px rgba(251,146,60,0.35)"}}),t.jsx("p",{className:"text-gray-400 tracking-wide",style:{fontFamily:at,fontSize:"0.72rem",letterSpacing:"0.2em"},children:"MAIN STAGE LINEUP, BSIDES INDORE 2026"})]}),t.jsx(Vt,{bg:Nc,accent:wt,style:{margin:"0 auto 2.5rem",maxWidth:820,borderLeftColor:"rgba(251,146,60,0.55)"}}),t.jsxs("div",{className:"mb-10 p-6",style:{background:"rgba(251,146,60,0.04)",border:"1px solid rgba(251,146,60,0.2)",borderLeft:`3px solid ${wt}`},children:[t.jsx("div",{className:"text-xs font-black tracking-widest uppercase mb-2",style:{fontFamily:at,color:wt},children:"STATUS // LINEUP CONFIRMED"}),t.jsx("p",{className:"text-gray-100 text-sm leading-relaxed m-0",children:"The CFP has closed. The Keynote, CXO Panel, and full Main Stage lineup for 6 September 2026 are confirmed below â see the Schedule page for exact timings."})]}),t.jsxs("div",{className:"mb-10",children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"1.25rem"},children:[t.jsx("div",{style:{width:3,height:20,background:oa,borderRadius:2,flexShrink:0}}),t.jsx("span",{style:{fontFamily:at,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",color:oa,textTransform:"uppercase"},children:"Keynote"}),t.jsx("div",{style:{flex:1,height:1,background:`${oa}25`}})]}),t.jsx("div",{style:{display:"flex",justifyContent:"center"},children:t.jsx("div",{style:{width:"100%",maxWidth:260},children:t.jsx(Oc,{speaker:rb,tagLabel:"Keynote Speaker",accentColor:oa})})})]}),t.jsxs("div",{className:"mb-10",children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"1.25rem"},children:[t.jsx("div",{style:{width:3,height:20,background:ba,borderRadius:2,flexShrink:0}}),t.jsx("span",{style:{fontFamily:at,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",color:ba,textTransform:"uppercase"},children:"CXO Panel"}),t.jsx("div",{style:{flex:1,height:1,background:`${ba}25`}})]}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(220px, 1fr))",gap:"1.5rem"},children:rl.map(s=>t.jsx(Oc,{speaker:s},s.id))})]}),n.map(({track:s,speakers:i})=>t.jsxs("div",{className:"mb-10",children:[t.jsx(ab,{track:s}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(220px, 1fr))",gap:"1.5rem"},children:i.map(a=>t.jsx(sb,{speaker:a,track:s},a.id))})]},s.id)),e.length>0&&t.jsxs("div",{className:"mb-10",children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"1.25rem"},children:[t.jsx("div",{style:{width:3,height:20,background:wt,borderRadius:2,flexShrink:0}}),t.jsx("span",{style:{fontFamily:at,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.15em",color:wt,textTransform:"uppercase"},children:"More To Be Revealed"}),t.jsx("div",{style:{flex:1,height:1,background:"rgba(251,146,60,0.15)"}})]}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(220px, 1fr))",gap:"1.5rem"},children:e.map(s=>t.jsx(ib,{},s))})]}),t.jsxs("div",{className:"text-center mt-12",children:[t.jsx("h2",{className:"text-2xl font-black text-white mb-3 tracking-wider up
1135percase",style:{fontFamily:at},children:"Want To Know First"}),t.jsx("p",{className:"text-gray-200 text-sm mb-6",children:"Get notified the moment the Main Stage lineup goes live"}),t.jsx("div",{className:"flex justify-center",children:t.jsx(Yo,{source:"speakers_cta"})})]}),t.jsx("div",{className:"mt-16 text-center",style:{fontFamily:ya,color:"rgba(251,146,60,0.72)",fontSize:"0.85rem",letterSpacing:"0.15em"},children:"// SPEAKER MANIFEST PENDING, BSI-2026"})]})]})};function lb(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(ob,{}),t.jsx(rt,{})]})}const Le='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',mt='"Share Tech Mono","Courier New",monospace',Dt="#f87171",Fc="#fecaca",ri="#07080f",du="https://konfhub.com/security-bsides-indore",uu="https://www.secwiser.com/security-bsides-indore-2026",cb=r=>{const e=parseInt(r.slice(1),16);return`${e>>16&255},${e>>8&255},${e&255}`},Pc=["#f87171","#22d3ee","#a78bfa"],Bc=["#fecaca","#a5f3fc","#ddd6fe"],db=[{title:"Operation Advanced OSINT: From Collection to Intelligence",subtitle:"Social, Geospatial & Signal Intelligence",provider:"FS0CIETY00",providerLogo:"/media/community/fs0ciety.jpg",trainers:[{name:"Shubham Kumar",bio:"Cybersecurity and OSINT researcher, international speaker, and trainer. Shubham has presented at the SANS OSINT Summit in both 2023 and 2024, alongside Hacktivity, EOCON, Phtlalks, BSides, and 20+ other global security conferences.",linkedin:"https://www.linkedin.com/in/shubham--kumar--/",photo:"/media/team/shubham-kumar.jpeg"},{name:"Sagar Tiwari",bio:"Security researcher and conference speaker who has presented at SANS ('23 & '24), Hacktivity, EOCON, BSides Mumbai (twice), BSides Dehradun, DEF CON DC 9111 (twice), and 20+ other national and international conferences.",linkedin:"https://www.linkedin.com/in/sagar--tiwari--/",photo:"/media/team/sagar-tiwari.jpg"}],stats:[{label:"STRUCTURE",value:"5 Modules + Capstone"},{label:"PRACTICAL",value:"6 Intensive Labs"},{label:"FORMAT",value:"Instructor-Led Training (ILT)"},{label:"LEVEL",value:"Operational / Advanced"}],blurb:"An intensive deep-dive into open-source intelligence tradecraft, progressing from foundational methodology through advanced social, geospatial, and signal-based techniques. Participants learn legal and ethical constraints, master tooling and automation, and execute real-world labs culminating in a timed capstone challenge.",topics:["OSINT","SOCINT","GEOINT","SIGNAL TRACKING","CAPSTONE"],modules:[{title:"OSINT Foundation & Collection Methodology",body:"Navigate the full OSINT lifecycle: Planning, Collection, Analysis, and Reporting. Understand legal boundaries and privacy considerations applicable across jurisdictions. Define target scope and construct a disciplined intelligence collection plan.",lab:"Build a scoped intelligence plan and source matrix for a defined target profile."},{title:"SOCINT & Digital Trace Analysis",body:"Leverage social-media data for behavioral analysis and persona discovery. Automate identity investigation using specialized tools such as Sherlock and WhatsMyName. Examine psychological indicators embedded within digital footprints.",lab:"Track and map an individual's online personas using automated tooling and document findings."},{title:"GEOINT & Imagery Analysis",body:"Conduct terrain and infrastructure analysis using Sentinel Hub satellite imagery and street-level sources. Detect temporal changes in target areas. Apply reverse-image search and AI-assisted verification workflows.",lab:"Geolocate a landmark from a set of provided images and produce a structured GEOINT report."},{title:"Signal & Asset Tracking",body:"Capture and interpret ADS-B (aircraft) and AIS (vessel) data feeds. Conduct vehicle OSINT using ALPR and VIN sources. Fuse live signal data with geospatial mapping platforms for a comprehensive operational picture compilation.",lab:"Map a live ADS-B or AIS feed and correlate findings with open-source vessel or flight logs."},{title:"Live-Feed Recon & Media Ingestion",body:"Discover public CCTV and webcam streams across open indices. Use RTSP and FFmpeg for automated multimedia collection at scale. Integrate live multimedia feeds into structured intelligence analysis workflows.",lab:"Build an FFmpeg pipeline to ingest and archive a public RTSP stream for analysis."},{title:"Capstone Challenge",body:"A timed, multi-domain scenario combining social, geospatial, signal, and blockchain OSINT. Participants must independently fuse data from all preceding modules to produce a unified, fully-sourced intelligence brief under realistic operational time pressure.",lab:"Execute a multi-domain investigation validating technical proficiency across all OSINT tradecraft areas."}],prerequisites:["Comfortable with basic networking concepts (TCP/IP fundamentals).","Willingness to follow structured, guided laboratory exercises.","Laptop (Windows/Linux/macOS) with administrative privileges and a modern browser installed."],tools:["Sherlock","WhatsMyName","Sentinel Hub","ADS-B","AIS","ALPR","RTSP","FFmpeg"]},{title:"Cyber Threat Intelligence & Threat Hunting Fundamentals",stats:[{label:"DURATION",value:"8 Hours · 1-Day Intensive Workshop"},{label:"FORMAT",value:"Hands-On Workshop"}],trainers:[{name:"Eshan Singh",bio:"Cyber Security Engineer with hands-on experience in vulnerability management and securing microservice architectures. Holds the Blue Team Level 1 certification (Security Blue Team) and an ISO 27001 Lead Auditor certification (CQI/IRCA). Leads the FOSS United Kanpur chapter, and serves as Volunteer & Ops Manager for DEF CON Delhi, where he has built and run CTF infrastru
1135cture for 500+ attendees.",linkedin:"https://www.linkedin.com/in/eshan-singh04/",photo:"/media/team/eshan-singh.jpeg",photoPosition:"center 62%"}],blurb:"Organizations face increasingly sophisticated cyber threats from cybercriminal groups, nation-state actors, ransomware operators, and advanced persistent threats (APTs). This hands-on workshop introduces participants to the fundamentals of Cyber Threat Intelligence (CTI), threat profiling, intelligence-driven defense, and threat hunting â combining intelligence analysis, threat actor profiling, IOC investigation, ATT&CK-based analysis, MISP integration, and practical threat hunting using real-world data.",topics:["THREAT INTEL","MITRE ATT&CK","MISP","THREAT HUNTING","IOC ANALYSIS"],modules:[{title:"Introduction to Cyber Threat Intelligence",body:"Covers what Cyber Threat Intelligence is, why it matters, and how it differs from raw information â framed against the modern threat landscape and the case for intelligence-driven security.",topics:["What is CTI?","Why CTI Matters","Intelligence vs Information","Intelligence-Driven Security","Modern Threat Landscape","Intelligence Types: Strategic, Operational, Tactical, Technical"],outcome:"Participants understand how intelligence supports cybersecurity operations."},{title:"Intelligence Cycle & IOC Analysis",body:"Walks through the full Intelligence Cycle â Requirements, Collection, Processing, Analysis, Dissemination, and Feedback â then puts it into practice with hands-on hash analysis, IOC correlation, and attribution concepts.",topics:["Intelligence Requirements","Collection","Processing","Analysis","Dissemination","Feedback","Hands-on: Working with Hashes, IOC Analysis, IOC Correlation, Threat Attribution Concepts"],outcome:"Participants learn how intelligence is generated and consumed."},{title:"Malware Intelligence & Threat Profiling",body:"Examines malware as an intelligence source â extraction techniques, threat actor profiling, campaign tracking, and attribution challenges â then extends into the APT lifecycle, campaign analysis, and threat actor tactics.",topics:["Malware as an Intelligence Source","Intelligence Extraction from Malware","Threat Actor Profiling","Campaign Tracking","Attribution Challenges","APT Lifecycle","Campaign Analysis","Threat Actor Tactics"],outcome:"Participants understand how to connect malware activity to threat actors and campaigns."},{title:"Threat Intelligence Frameworks",body:"Introduces the Pyramid of Pain and detection-prioritization thinking, intelligence maturity models, and the MITRE ATT&CK Framework â Tactics, Techniques, Procedures, and the ATT&CK Navigator.",topics:["Pyramid of Pain","Detection Prioritization","Intelligence Maturity Models","MITRE ATT&CK: Tactics, Techniques, Procedures, ATT&CK Navigator","Hands-on: Mapping IOCs and TTPs to ATT&CK"],outcome:"Participants can operationalize intelligence using ATT&CK."},{title:"Threat Feeds & MISP",body:"Surveys open-source and commercial threat-intelligence feeds and how to validate and enrich them, then introduces MISP â its events/attributes model, correlation engine, and intelligence-sharing workflow.",topics:["Open Source Intelligence (OSINT)","Commercial Threat Intelligence Feeds","Feed Validation & Enrichment","MISP: Events, Attributes, Correlation Engine, Intelligence Sharing","Hands-on: Importing and analyzing threat intelligence in MISP"],outcome:"Participants understand how organizations manage and share intelligence."},{title:"Threat Hunting Fundamentals",body:"Defines threat hunting and the shift from reactive to proactive security, covering hunting methodologies, hypothesis-driven hunting, the full Threat Hunting Lifecycle, and hunting-rule creation.",topics:["What is Threat Hunting?","Reactive vs Proactive Security","Hunting Methodologies","Hypothesis-Driven Hunting","Threat Hunting Lifecycle: Data Collection, Investigation, Validation, Reporting","Hunting Rule Creation: Detection Logic, Hunting Queries, IOC-Based Hunts"],outcome:"Participants learn how intelligence drives proactive investigations."},{title:"Intelligence-Driven Threat Hunting",body:"Applies intelligence to active hunting â tracking malicious infrastru
1135cture, domain and IP-reputation analysis, infrastructure pivoting, and threat correlation â through hands-on investigation of real-world malicious infrastructure.",topics:["Tracking Malicious Infrastructure","Domain Analysis","IP Reputation Analysis","Infrastructure Pivoting","Threat Correlation","Hands-on: Investigating real-world malicious infrastructure, tracking attacker activity"],outcome:"Participants perform practical threat hunting exercises."},{title:"Traffic Analysis & Intelligence Reporting",body:"Network-based threat hunting, traffic analysis methodology, identifying suspicious communications, and detecting command-and-control activity. Hands-on: analyzing malicious network traffic and extracting indicators and behaviors. Final exercise: build a complete Threat Intelligence Report â Executive Summary, Threat Overview, ATT&CK Mapping, IOC Summary, Threat Actor Assessment, and Detection Recommendations.",outcome:"Participants produce a professional threat intelligence report suitable for SOC and incident response teams."}],prerequisites:["Basic cybersecurity knowledge.","Familiarity with networking concepts.","Understanding of common cyber threats.","No prior CTI experience required."],tools:["MISP","VirusTotal","AlienVault OTX","AbuseIPDB","URLScan","Wireshark","Splunk (Concepts)","ELK Stack (Concepts)"],audience:["SOC Analysts","Threat Hunters","Incident Responders","Security Analysts","Threat Intelligence Analysts","Digital Forensics Practitioners","Security Operations Teams","Cybersecurity Students","Blue Team Professionals"]},{title:"AI Security Essentials: Hacking & Defending LLM Applications",subtitle:"Prompt Injection, Jailbreaks & Data Exfiltration",trainers:[{name:"Vedant Jain",bio:"Senior Security Engineer and BSides Indore Core Team member, focused on practical LLM red teaming and defense.",linkedin:"https://www.linkedin.com/in/ved-ant-jain/",photo:"/media/team/vedant.jpg",photoPosition:"center 68%",photoScale:1.55}],stats:[{label:"DURATION",value:"8 Hours · Full-Day Workshop"},{label:"FORMAT",value:"25% Lecture · 50% Hands-On Labs · 25% Review & Q&A"},{label:"LABS",value:"10 Progressive Hands-On Labs"}],blurb:"This comprehensive, hands-on training equips security professionals, pentesters, and AI developers with the practical skills needed to identify, exploit, and defend against critical vulnerabilities in Large Language Model (LLM) applications. With a focus on data protection and model security, participants progress from foundational concepts to advanced attack vectors in a structured lab environment, aligned to the OWASP Top 10 for LLM Applications, MITRE ATLAS, and AI Red Teaming principles.",topics:["PROMPT INJECTION","JAILBREAKS","DATA EXFILTRATION","RAG POISONING","AI RED TEAMING"],modules:[{title:"AI Security Fundamentals & Setup",body:"Level-sets all students and prepares the local lab environment â covering AI security risks and incidents, the OWASP LLM Top 10, and core concepts across LLMs, AI agents, prompt injection, and the expanded attack surface.",topics:["Why AI Security? â Risks & Incidents","OWASP LLM Top 10","Core Concepts: LLMs, AI Agents, Attack Surface"],lab:"Set up a local lab environment using a pre-configured Docker image (local LLM server, vector DB, testing tools) and verify access to a browser-based CTF platform."},{title:"Prompt Injection & Control Issues",body:"Covers direct and indirect prompt injection â how malicious inputs override system instructions â using real-world examples (Bing Chat Pirate, WebPilot plugin attacks), then progresses through a hands-on lab series.",topics:["Direct & Indirect Injection Theory","Lab 1: Direct Prompt Injection Basics","Lab 2: Indirect Injection via Web Content","Lab 3: Bypassing Basic Defenses (Encoding/Unicode)"],lab:"Override system instructions directly, inject via a webpage the LLM summarizes, and bypass filters using encoding/Unicode tricks.",outcome:"Defense discussion covers input sanitization, output validation, and privilege separation."},{title:"Jailbreaks & Safety Bypass",body:"Explores techniques to bypass AI safety guardrails â RL
1135HF, safety filters, and common jailbreak techniques such as DAN and persona modulation.",topics:["LLM Guardrails & RLHF","Lab 4: Classic Jailbreak Attempts","Lab 5: Creative Evasion (Roleplay & Hypotheticals)"],outcome:"Defense discussion covers robust system prompts and content monitoring."},{title:"Data Exfiltration & Model Security",body:"A deep dive into stealing data from and about the model itself â training data extraction via prompting, model inversion and membership inference attacks, and RAG poisoning as an exfiltration vector â framed against real business risk (IP theft, privacy violations, compliance breaches).",topics:["Data Leakage Vectors & Business Risk","Lab 6: Training Data Extraction","Lab 7: RAG Poisoning Attack","Lab 8: Model Extraction Basics"],outcome:"Defense workshop covers differential privacy, rate limiting, and output filtering."},{title:"Secure AI Lifecycle & Capstone",body:"Applies everything learned to secure an AI pipeline end-to-end â data collection, training, deployment, and monitoring â before a capstone challenge combining all preceding attack vectors.",topics:["Securing the AI Pipeline (Collection â Deployment â Monitoring)","Lab 9: Defensive Prompt Engineering","Lab 10: Mini AI Red Team Challenge (CTF-Style)"],outcome:"Closes with an overview of industry certification paths and next steps for continued AI red teaming."}],prerequisites:["Basic cybersecurity knowledge â designed for security professionals, pentesters, AI developers, and students.","A laptop with Docker installed (setup instructions provided in advance).","A modern web browser for the browser-based CTF platform."],tools:["Docker","Local LLM Server","Vector Database (RAG)","Browser-Based CTF Platform"],audience:["Security Professionals","Pentesters","AI Developers","Students with Basic Cybersecurity Knowledge"]}],ub=({m:r,i:e,accent:n,accentL:s,rgb:i})=>t.jsxs("div",{style:{background:`rgba(${i},0.03)`,border:`1px solid rgba(${i},0.1)`,borderLeft:`2px solid rgba(${i},0.3)`,padding:"1.1rem 1.4rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:"0.7rem",marginBottom:"0.7rem"},children:[t.jsx("span",{style:{fontFamily:Le,fontSize:"0.8rem",fontWeight:900,color:`rgba(${i},0.55)`},children:String(e+1).padStart(2,"0")}),t.jsx("span",{style:{fontFamily:Le,fontSize:"0.85rem",fontWeight:900,color:"#fff",letterSpacing:"0.03em",lineHeight:1.4},children:r.title})]}),r.body&&t.jsx("p",{style:{fontFamily:mt,fontSize:"0.85rem",color:"rgba(255,255,255,0.72)",lineHeight:1.8,margin:"0 0 0.9rem"},children:r.body}),r.topics&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.4rem",marginBottom:"0.9rem"},children:r.topics.map(a=>t.jsx("span",{style:{fontFamily:mt,fontSize:"0.68rem",color:"rgba(255,255,255,0.6)",background:"rgba(255,255,255,0.04)",padding:"3px 10px",border:"1px solid rgba(255,255,255,0.1)"},children:a},a))}),r.lab&&t.jsxs("div",{style:{display:"flex",gap:"0.6rem",alignItems:"baseline"},children:[t.jsx("span",{style:{fontFamily:Le,fontSize:"0.6rem",fontWeight:900,color:n,letterSpacing:"0.14em",flexShrink:0},children:"LAB"}),t.jsx("span",{style:{fontFamily:mt,fontSize:"0.82rem",color:s,lineHeight:1.7},children:r.lab})]}),r.outcome&&t.jsx("div",{style:{fontFamily:mt,fontSize:"0.78rem",fontStyle:"italic",color:"rgba(255,255,255,0.45)",marginTop:r.lab?"0.6rem":0},children:r.outcome})]}),hb=({trainer:r,i:e,accentL:n,rgb:s,borderBottom:i})=>{const a=r.name.split(" ").map(o=>o[0]).join("").slice(0,2).toUpperCase();return t.jsxs("div",{style:{position:"relative",flex:1,width:"100%",overflow:"hidden",background:"linear-gradient(160deg, #0f1118 0%, #07080f 100%)",borderBottom:i?`1px solid rgba(${s},0.12)`:void 0},children:[r.photo?t.jsx("img",{src:r.photo,alt:r.name,onError:o=>{o.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:r.photoPosition||"center 25%",display:"block",filter:"brightness(0.88) contrast(1.05)",transform:r.photoScale?`scale(${r.photoScale})`:void 0,transformOrigin:r.photoPosition||"center 25%"}}):t.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:Le,fontWeight:900,fontSize:"1.4rem",color:n},children:a}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:1,pointerEvents:"none",background:`radial-gradient(ellipse at 0% 60%, rgba(${s},0.16) 0%, transparent 55%)`}}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:2,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px)"}}),t.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:"34%",zIndex:3,background:"linear-gradient(to top, #07080f 0%, transparent 100%)"}}),t.jsx("div",{style:{position:"absolute",bottom:10,left:10,right:10,zIndex:4,fontFamily:Le,fontSize:"0.6rem",fontWeight:900,color:"#fff",letterSpacing:"0.02em",lineHeight:1.3},children:r.name}),t.jsxs("div",{style:{position:"absolute",top:8,right:8,zIndex:4,fontFamily:mt,fontSize:"0.5rem",color:`rgba(${s},0.65)`,letterSpacing:"0.1em"},children:["0",e+1]}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:1,zIndex:4,background:`linear-gradient(90deg, rgba(${s},0.7) 0%, rgba(${s},0.15) 80%, transparent 100%)`}})]})},mb=({course:r,index:e})=>{const[n,s]=y.useState(!1),i=Pc[e%Pc.length],a=Bc[e%Bc.length],o=cb(i),l={fontFamily:Le,fontSize:"0.6rem",fontWeight:900,color:`rgba(${o},0.75)`,letterSpacing:"0.2em",textTransform:"uppercase",marginBottom:"1rem"},d={fontFamily:Le,fontSize:"0.62rem",fontWeight:900,color:a,letterSpacing:"0.1em",textTransform:"uppercase",background:`rgba(${o},0.05)`,border:`1px solid rgba(${o},0.18)`,padding:"5px 12px"};return t.jsxs("div",{className:"trn-course-card",style:{position:"relative",background:`linear-gradient(135deg, rgba(${o},0.06) 0%, #0d0909 60%, rgba(${o},0.04) 100%)`,border:`1px solid rgba(${o},0.14)`,borderLeft:`3px solid ${i}`,overflow:"hidden"},children:[t.jsx("div",{style:{position:"absolute",top:0,right:0,width:80,height:80,background:`linear-gradient(225deg, rgba(${o},0.07) 0%, transparent 60%)`,pointerEvents:"none",zIndex:0}}),t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",zIndex:0,backgroundImage:`repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(${o},0.012) 6px, rgba(${o},0.012) 7px)`}}),t.jsxs("div",{className:"trn-card-grid",style:{display:"grid",gridTemplateColumns:"340px 1fr"},children:[t.jsxs("div",{className:`trn-photo-panel${r.trainers&&r.trainers.length>1?" trn-photo-panel--dual":""}`,style:{position:"relative",height:360,overflow:"hidden",background:"linear-gradient(160deg, #0f1118 0%, #07080f 100%)",borderRight:`1px solid rgba(${o},0.08)`},children:[r.trainers?t.jsx("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:r.trainers.map((c,u)=>t.jsx(hb,{trainer:c,i:u,accentL:a,rgb:o,borderBottom:u<r.trainers.length-1},c.name))}):r.providerLogo&&t.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",padding:"2rem"},children:t.jsx("img",{src:r.providerLogo,alt:r.provider,style:{maxWidth:"70%",maxHeight:"40%",objectFit:"contain"}})}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:1,zIndex:5,background:`linear-gradient(90deg, ${i} 0%, rgba(${o},0.2) 60%, transparent 100%)`,boxShadow:`0 0 10px rgba(${o},0.6)`}})]}),t.jsxs("div",{className:"trn-info-panel",style:{position:"relative",zIndex:1,padding:"2.5rem 2.8rem",display:"flex",flexDirection:"column",justifyContent:"flex-start",ga
1135p:"1.2rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.6rem"},children:[r.provider&&t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:6,background:`rgba(${o},0.07)`,border:`1px solid rgba(${o},0.25)`,padding:"4px 12px"},children:[t.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:i,display:"inline-block",boxShadow:`0 0 8px ${i}`}}),t.jsxs("span",{style:{fontFamily:Le,fontSize:"0.5rem",fontWeight:900,color:i,letterSpacing:"0.2em",textTransform:"uppercase"},children:["PROVIDED BY · ",r.provider]})]}),t.jsxs("div",{style:{fontFamily:mt,fontSize:"0.5rem",color:`rgba(${o},0.62)`,letterSpacing:"0.12em"},children:["TRAINING · 0",e+1]})]}),t.jsxs("div",{className:"trn-title-logo-row",style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem"},children:[t.jsx("div",{style:{fontFamily:Le,fontSize:"clamp(1.05rem, 1.6vw, 1.4rem)",fontWeight:900,color:"#ffffff",letterSpacing:"0.03em",textTransform:"uppercase",lineHeight:1.25,textShadow:`0 0 40px rgba(${o},0.15)`},children:r.title}),r.providerLogo&&t.jsx("div",{className:"trn-logo-box",style:{background:"#ffffff",borderRadius:6,padding:"8px",height:96,width:96,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,boxShadow:`0 0 24px rgba(${o},0.25)`},children:t.jsx("img",{src:r.providerLogo,alt:r.provider,style:{maxHeight:80,maxWidth:80,width:"100%",height:"100%",objectFit:"contain",display:"block"},onError:c=>{c.currentTarget.parentElement.style.display="none"}})})]}),t.jsxs("div",{style:{marginTop:"-0.4rem"},children:[t.jsx("div",{style:{height:1,width:48,background:`linear-gradient(90deg, ${i}, transparent)`,marginBottom:"0.6rem"}}),r.subtitle&&t.jsx("div",{style:{fontFamily:mt,fontSize:"0.72rem",color:a,letterSpacing:"0.06em",marginBottom:"0.5rem",lineHeight:1.5},children:r.subtitle}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"1.2rem"},children:r.stats.map(c=>t.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:"0.4rem"},children:[t.jsx("span",{style:{fontFamily:Le,fontSize:"0.55rem",color:`rgba(${o},0.6)`,letterSpacing:"0.1em"},children:c.label}),t.jsx("span",{style:{fontFamily:mt,fontSize:"0.62rem",color:"rgba(255,255,255,0.62)",letterSpacing:"0.04em"},children:c.value})]},c.label))})]}),t.jsx("p",{style:{fontFamily:mt,fontSize:"0.85rem",color:"rgba(255,255,255,0.82)",lineHeight:1.8,letterSpacing:"0.02em",margin:0,borderLeft:`2px solid rgba(${o},0.18)`,paddingLeft:"1rem"},children:r.blurb}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"0.4rem",flexWrap:"wrap"},children:[t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.4rem",alignItems:"center"},children:r.topics.map(c=>t.jsx("span",{style:d,children:c},c))}),r.trainers&&t.jsx("div",{style:{display:"flex",gap:"0.4rem",flexShrink:0},children:r.trainers.map(c=>t.jsx(Us,{linkedin:c.linkedin,size:"sm"},c.name))})]})]})]}),t.jsxs("div",{className:"trn-toggle-wrap",style:{padding:"0 2.8rem 2.4rem"},children:[t.jsxs("button",{onClick:()=>s(c=>!c),style:{display:"flex",alignItems:"center",gap:"0.6rem",background:n?`rgba(${o},0.08)`:"transparent",border:`1px solid ${n?`rgba(${o},0.35)`:`rgba(${o},0.2)`}`,cursor:"pointer",borderRadius:4,padding:"0.85rem 1.4rem",width:"100%",justifyContent:"space-between",transition:"background 0.18s, border-color 0.18s"},children:[t.jsx("span",{style:{fontFamily:Le,fontSize:"0.68rem",fontWeight:900,letterSpacing:"0.16em",textTransform:"uppercase",color:n?a:i,transition:"color 0.15s"},children:n?"HIDE FULL SYLLABUS":"VIEW FULL SYLLABUS"}),t.jsx("span",{style:{fontFamily:mt,fontSize:"1.15rem",color:i,flexShrink:0,transition:"transform 0.2s",transform:n?"rotate(45deg)":"none",display:"inline-block",lineHeight:1},children:"+"})]}),n&&t.jsxs("div",{style:{paddingTop:"2.4rem",display:"flex",flexDirection:"column",gap:"2.8rem"},children:[t.jsxs("div",{children:[t.jsx("div",{style:l,children:"Module-By-Module Syllabus"}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.6rem"},children:r.modules.map((c,u)=>t.jsx(ub,{m:c,i:u,accent:i,accentL:a,rgb:o},c.title))})]}),t.jsxs("div",{children:[t.jsx("div",{style:l,children:"Prerequisites"}),t.jsx("ul",{style:{margin:0,padding:0,listStyle:"none",display:"flex",flexDirection:"column",gap:"0.6rem"},children:r.prerequisites.map(c=>t.jsxs("li",{style:{display:"flex",gap:"0.7rem",alignItems:"flex-start"},children:[t.jsx("span",{style:{fontFamily:mt,fontSize:"0.78rem",fontWeight:700,color:i,flexShrink:0,marginTop:"0.15rem"},children:"â"}),t.jsx("span",{style:{fontFamily:mt,fontSize:"0.85rem",color:"rgba(255,255,255,0.68)",lineHeight:1.7},children:c})]},c))})]}),r.tools&&t.jsxs("div",{children:[t.jsx("div",{style:l,children:"Tools Covered"}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.5rem"},children:r.tools.map(c=>t.jsx("span",{style:d,children:c},c))})]}),r.audience&&t.jsxs("div",{children:[t.jsx("div",{style:l,children:"Who Should Attend"}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.5rem"}
1135,children:r.audience.map(c=>t.jsx("span",{style:d,children:c},c))})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:"1.2rem",background:`rgba(${o},0.05)`,border:`1px solid rgba(${o},0.18)`,borderRadius:6,padding:"1.1rem 1.5rem"},children:[t.jsxs("div",{children:[t.jsx("div",{style:{fontFamily:Le,fontSize:"0.7rem",fontWeight:900,color:"#fff",letterSpacing:"0.06em",textTransform:"uppercase",marginBottom:"0.3rem"},children:"Ready to attend?"}),t.jsx("div",{style:{fontFamily:mt,fontSize:"0.75rem",color:"rgba(255,255,255,0.55)"},children:"Seats are limited â secure your training pass now."})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.6rem",flexShrink:0},children:[t.jsx("a",{href:du,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none"},children:t.jsx("button",{style:{fontFamily:Le,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.12em",color:"#000",background:i,border:"none",borderRadius:4,padding:"0.85rem 1.8rem",textTransform:"uppercase",cursor:"pointer",boxShadow:`0 0 24px rgba(${o},0.4)`},children:"Buy on KonfHub â"})}),t.jsxs("a",{href:uu,target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.35rem",textDecoration:"none"},children:[t.jsx("span",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.5)"},children:"or buy via"}),t.jsx("img",{src:"/company-logos/secwiser-logo.png",alt:"",style:{width:16,height:16,borderRadius:3,display:"block"}}),t.jsx("span",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.65)",fontWeight:600},children:"Secwiser â"})]})]})]})]})]})]})},pb=()=>t.jsxs("div",{className:"min-h-screen text-white",style:{background:ri},children:[t.jsx("style",{children:` 1136 @keyframes rg-blink { 0%,49%{opacity:1} 50%,100%{opacity:0} } 1137 @media (max-width: 540px) { 1138 .trn-pillars-grid { grid-template-columns: 1fr !important; } 1139 } 1140 @media (max-width: 768px) { 1141 .trn-process-grid { grid-template-columns: repeat(2,1fr) !important; } 1142 } 1143 @media (max-width: 480px) { 1144 .trn-process-grid { grid-template-columns: 1fr !important; } 1145 } 1146 @media (max-width: 860px) { 1147 .trn-card-grid { grid-template-columns: 1fr !important; } 1148 .trn-photo-panel { height: 280px !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; } 1149 .trn-photo-panel.trn-photo-panel--dual { height: 380px !important; } 1150 .trn-info-panel { padding: 1.25rem 1.5rem !important; } 1151 } 1152 @media (max-width: 640px) { 1153 .trn-toggle-wrap { padding: 0 1.4rem 1.6rem !important; } 1154 .trn-title-logo-row { flex-wrap: wrap !important; } 1155 .trn-logo-box { height: 76px !important; width: 76px !important; padding: 6px !important; } 1156 .trn-logo-box img { max-width: 64px !important; max-height: 64px !important; } 1157 } 1158 `}),t.jsxs("div",{style:{position:"relative",padding:"4rem 2rem 3.5rem",background:`linear-gradient(180deg, #0c0a0a 0%, ${ri} 100%)`,borderBottom:"1px solid rgba(248,113,113,0.08)",overflow:"hidden"},children:[t.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",backgroundImage:"linear-gradient(rgba(248,113,113,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(248,113,113,0.025) 1px, transparent 1px)",backgroundSize:"64px 64px"}}),t.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:2,background:`linear-gradient(90deg, transparent 5%, ${Dt} 30%, ${Dt} 70%, transparent 95%)`,boxShadow:"0 0 20px rgba(248,113,113,0.6), 0 0 60px rgba(248,113,113,0.2)"}}),t.jsxs("div",{style:{maxWidth:"72rem",margin:"0 auto",position:"relative",zIndex:1,textAlign:"center"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:8,width:"fit-content",margin:"0 auto 1.5rem",background:"rgba(248,113,113,0.08)",border:"1px solid rgba(248,113,113,0.3)",padding:"5px 14px"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:Dt,boxShadow:`0 0 8px ${Dt}`}}),t.jsx("span",{style:{fontFamily:Le,fontSize:"0.55rem",fontWeight:900,color:Dt,letterSpacing:"0.18em",textTransform:"uppercase"},children:"5 SEPTEMBER 2026 · THREE TRACKS CONFIRMED"})]}),t.jsx($t,{as:"h1",text:"TRAININGS",className:"text-5xl font-black text-white mb-3 tracking-widest uppercase",style:{fontFamily:Le,textShadow:"0 0 40px rgba(248,113,113,0.2)"}}
1158),t.jsx("p",{style:{fontFamily:Le,fontSize:"0.72rem",fontWeight:900,color:"rgba(248,113,113,0.65)",letterSpacing:"0.22em",textTransform:"uppercase",margin:"0 0 1.75rem"},children:"HANDS-ON · INSTRUCTOR-LED · SEATS LIMITED"}),t.jsx("p",{style:{fontFamily:mt,fontSize:"0.75rem",color:"rgba(255,255,255,0.72)",lineHeight:1.9,letterSpacing:"0.03em",margin:"0 auto 0.6rem",maxWidth:600},children:"Full-day, instructor-led technical trainings on 5 September 2026, ahead of the main conference. Each session is capped at 30 seats. Tap a course below for the full module-by-module syllabus."}),t.jsx("p",{style:{fontFamily:mt,fontSize:"0.62rem",color:"rgba(255,255,255,0.38)",letterSpacing:"0.03em",margin:"0 auto 2.5rem",maxWidth:600},children:"Training venue: IPS College Vijay Nagar Campus â different from the conference venue."}),t.jsx("div",{className:"trn-pillars-grid",style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"1px",background:"rgba(248,113,113,0.08)",border:"1px solid rgba(248,113,113,0.1)",width:"100%",maxWidth:640,margin:"0 auto"},children:[{icon:"â",heading:"1-Day Format",body:"5 September 2026. Full day, hands-on, instructor-led labs."},{icon:"â",heading:"Capped Seats",body:"Each training is limited to 30 seats. Book early to secure a spot."},{icon:"â",heading:"Combo Discount",body:"Add the full conference day for just â¹1,000 more via the Combo Pass."}].map(r=>t.jsxs("div",{style:{padding:"1.4rem 1.5rem",background:ri,textAlign:"center"},children:[t.jsx("div",{style:{fontFamily:Le,fontSize:"0.9rem",color:"rgba(248,113,113,0.65)",marginBottom:"0.5rem"},children:r.icon}),t.jsx("div",{style:{fontFamily:Le,fontSize:"0.58rem",fontWeight:900,color:Fc,letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:"0.4rem"},children:r.heading}),t.jsx("div",{style:{fontFamily:mt,fontSize:"0.62rem",color:"rgba(255,255,255,0.65)",lineHeight:1.65,letterSpacing:"0.02em"},children:r.body})]},r.heading))})]})]}),t.jsx(Vt,{bg:ri,accent:Dt,speedSeconds:40,style:{margin:"0 auto 2.5rem",maxWidth:820,borderLeftColor:"rgba(248,113,113,0.55)"}}),t.jsxs("div",{style:{padding:"4rem 2rem",maxWidth:"72rem",margin:"0 auto"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"3rem"},children:[t.jsx("div",{style:{height:1,flex:1,background:"rgba(248,113,113,0.1)"}}),t.jsx("span",{style:{fontFamily:Le,fontSize:"0.85rem",fontWeight:900,color:"rgba(248,113,113,0.85)",letterSpacing:"0.2em",textTransform:"uppercase"},children:"COURSE LIST"}),t.jsx("div",{style:{height:1,flex:1,background:"rgba(248,113,113,0.1)"}})]}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"2.8rem"},children:db.map((r,e)=>t.jsx(mb,{course:r,index:e},r.title))}),t.jsx("div",{style:{marginTop:"4rem",height:1,background:"linear-gradient(90deg, transparent, rgba(248,113,113,0.12) 30%, rgba(248,113,113,0.12) 70%, transparent)"}})]}),t.jsx("div",{style:{padding:"3rem 2rem 4rem",background:"linear-gradient(180deg, transparent 0%, rgba(10,9,9,0.8) 100%)",borderTop:"1px solid rgba(248,113,113,0.06)"},children:t.jsxs("div",{style:{maxWidth:"72rem",margin:"0 auto"},children:[t.jsxs("div",{style:{marginBottom:"2.5rem"},children:[t.jsx("div",{style:{fontFamily:Le,fontSize:"0.52rem",fontWeight:900,color:"rgba(248,113,113,0.72)",letterSpacing:"0.25em",textTransform:"uppercase",marginBottom:"0.6rem"},children:"WHAT TO EXPECT"}),t.jsx("h2",{style:{fontFamily:Le,fontSize:"clamp(0.95rem, 2vw, 1.25rem)",fontWeight:900,color:"#ffffff",letterSpacing:"0.15em",textTransform:"uppercase",margin:0},children:"TRAINING FORMAT"})]}),t.jsx("div",{className:"trn-process-grid",style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"1px",background:"rgba(248,113,113,0.08)",border:"1px solid rgba(248,113,113,0.08)"},children:[{num:"01",title:"Registration",desc:"Sign in from 8:30 AM. Welcome kit and training materials handed out at the venue."},{num:"02",title:"Hands-On Labs",desc:"Full-day instructor-led session with practical labs, not just slides."},{num:"03",title:"Lunch & Breaks",desc:"Lunch and tea/coffee included for all training attendees."},{num:"04",title:"Certification",desc:"Training completion certificate issued digitally after the event."}].map(r=>
1158t.jsxs("div",{style:{padding:"2rem 1.5rem",background:ri},children:[t.jsx("div",{style:{fontFamily:Le,fontSize:"1.4rem",fontWeight:900,color:"rgba(248,113,113,0.55)",letterSpacing:"0.04em",marginBottom:"0.85rem"},children:r.num}),t.jsx("div",{style:{fontFamily:Le,fontSize:"0.62rem",fontWeight:900,color:Fc,letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:"0.65rem"},children:r.title}),t.jsx("div",{style:{fontFamily:mt,fontSize:"0.67rem",color:"rgba(255,255,255,0.68)",lineHeight:1.75,letterSpacing:"0.02em"},children:r.desc})]},r.num))})]})}),t.jsxs("div",{style:{padding:"4rem 2rem",textAlign:"center",borderTop:"1px solid rgba(248,113,113,0.1)"},children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.45rem",fontFamily:mt,fontSize:"0.62rem",letterSpacing:"0.18em",color:Dt,textTransform:"uppercase",marginBottom:"0.85rem"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:Dt,boxShadow:`0 0 8px ${Dt}`,display:"inline-block",animation:"rg-blink 1.2s steps(1) infinite"}}),"5 September 2026 · Capped at 30 Seats"]}),t.jsx("h2",{style:{fontFamily:Le,fontSize:"clamp(1.3rem, 3vw, 1.8rem)",fontWeight:900,color:"#fff",letterSpacing:"0.06em",textTransform:"uppercase",margin:"0 0 0.85rem"},children:"Secure your training seat"}),t.jsx("p",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.85rem",color:"rgba(255,255,255,0.65)",lineHeight:1.8,maxWidth:460,margin:"0 auto 2rem"},children:"All three training tracks are capped at 30 seats each. Book early to secure your spot."}),t.jsxs("div",{style:{display:"flex",gap:"0.75rem",justifyContent:"center",flexWrap:"wrap",marginBottom:"1rem"},children:[t.jsx("a",{href:du,target:"_blank",rel:"noopener noreferrer",children:t.jsx("button",{style:{fontFamily:Le,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",color:"#000",background:Dt,border:"none",borderRadius:5,padding:"0.9rem 2.5rem",textTransform:"uppercase",cursor:"pointer",boxShadow:"0 0 32px rgba(248,113,113,0.4)"},children:"BUY ON KONFHUB â"})}),t.jsx("a",{href:uu,target:"_blank",rel:"noopener noreferrer",children:t.jsxs("button",{style:{display:"flex",alignItems:"center",gap:"0.5rem",fontFamily:Le,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",color:"#fff",background:"transparent",border:`1px solid ${Dt}50`,borderRadius:5,padding:"0.9rem 1.8rem",textTransform:"uppercase",cursor:"pointer"},children:[t.jsx("img",{src:"/company-logos/secwiser-logo.png",alt:"",style:{width:18,height:18,borderRadius:3,display:"block"}}),"BUY ON SECWISER â"]})}),t.jsx("a",{href:"mailto:[email protected]",children:t.jsx("button",{style:{fontFamily:Le,fontSize:"0.72rem",fontWeight:900,letterSpacing:"0.15em",color:Dt,background:"transparent",border:`1px solid ${Dt}50`,borderRadius:5,padding:"0.9rem 2rem",textTransform:"uppercase",cursor:"pointer"},children:"EMAIL US"})})]}),t.jsx("div",{style:{fontFamily:mt,fontSize:"0.58rem",color:"rgba(255,255,255,0.3)",letterSpacing:"0.08em",marginBottom:"1rem"},children:"Secure checkout · India's trusted event platforms"}),t.jsxs("p",{style:{fontFamily:mt,fontSize:"0.6rem",color:"rgba(255,255,255,0.35)",marginTop:"0.25rem"},children:["Questions? ",t.jsx("a",{href:"mailto:[email protected]",style:{color:Dt,textDecoration:"none"},children:"[email protected]"})]})]})]});function gb(){return y.useEffect(()=>{const r=document.getElementById("root");return document.body.style.overflow="auto",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.height="auto",r&&(r.style.height="auto"),()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.height="",r&&(r.style.height="")}},[]),t.jsxs("div",{style:{minHeight:"100vh",background:"#080c14",color:"#fff",paddingTop:"4rem"},children:[t.jsx(pb,{}),t.jsx(rt,{})]})}const bn='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',ai='"Share Tech Mono","Courier New",monospace',yt="#22d3ee",vs="#f87171",fb="#4ade80",$c="#080c14",mo=[{text:"Information wants to be free.",attr:"- Stewart Brand, Hackers Conference 1984"}
1158,{text:"The quieter you become, the more you are able to hear.",attr:"- Kali Linux"},{text:"Hackers are the immune system of the information age.",attr:"- Dan Kaminsky"},{text:"The only secure system is one that's powered off, cast in concrete, and sealed in a lead-lined room, and even then I have my doubts.",attr:"- Gene Spafford"},{text:"Error 404: This page has been redacted by a three-letter agency.",attr:"- BSides Indore"},{text:"In the beginning was the command line.",attr:"- Neal Stephenson"},{text:"Privacy is not for the guilty. It's for everyone.",attr:"- Cypherpunk Manifesto ethos"},{text:"We are not breaking the law. We are finding the spaces between the laws.",attr:"- Underground hacker ethos"},{text:"There is no patch for human stupidity.",attr:"- Social engineering proverb"},{text:"Root is just a state of mind.",attr:"- #hacker, circa 2003"}];function yb(){const r=y.useRef(null);return y.useEffect(()=>{const e=r.current;if(!e)return;const n=e.getContext("2d");if(!n)return;const s=()=>{e.width=window.innerWidth,e.height=window.innerHeight};s(),window.addEventListener("resize",s);const i="ã¢ã¤ã¦ã¨ãªã«ãã¯ã±ã³ãµã·ã¹ã»ã½ã¿ããããããããããããããããã ã¡ã¢ã¤ã¦ã¨ã©ãªã«ã¬ãã¯ã²ã³0123456789ABCDEF<>{}[]|/\\;:",a=14;let o=Math.floor(e.width/a);const l=Array(o).fill(1),c=setInterval(()=>{for(n.fillStyle="rgba(8,12,20,0.05)",n.fillRect(0,0,e.width,e.height),n.fillStyle="rgba(74,222,128,0.18)",n.font=`${a}px ${ai}`,o=Math.floor(e.width/a);l.length<o;)l.push(Math.random()*e.height/a);for(let u=0;u<o;u++){const h=i[Math.floor(Math.random()*i.length)];n.fillText(h,u*a,l[u]*a),l[u]*a>e.height&&Math.random()>.975&&(l[u]=0),l[u]++}},50);return()=>{clearInterval(c),window.removeEventListener("resize",s)}}
1158,[]),t.jsx("canvas",{ref:r,style:{position:"absolute",inset:0,zIndex:0,opacity:.7,pointerEvents:"none"}})}function bb(){const r=ls(),e=St(),[n,s]=y.useState(0),[i,a]=y.useState(!0),[o,l]=y.useState(!1);y.useEffect(()=>{document.body.style.overflow="",document.body.style.height="",document.documentElement.style.overflow="",document.documentElement.style.touchAction=""},[]),y.useEffect(()=>{const u=setInterval(()=>{a(!1),setTimeout(()=>{s(h=>(h+1)%mo.length),a(!0)},400)},6e3);return()=>clearInterval(u)},[]);const d=r.pathname,c=mo[n];return t.jsxs("div",{style:{position:"fixed",inset:0,background:$c,overflow:"hidden",fontFamily:bn},children:[t.jsx("style",{children:` 1159 @keyframes glitch404 { 1160 0%,82%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); } 1161 84% { clip-path: inset(20% 0 60% 0); transform: translate(-4px, 0); color: ${vs}; } 1162 86% { clip-path: inset(60% 0 20% 0); transform: translate(4px, 0); color: ${yt}; } 1163 88% { clip-path: inset(40% 0 40% 0); transform: translate(-3px, 0); color: ${vs}; } 1164 90% { clip-path: inset(0 0 100% 0); transform: translate(0); } 1165 } 1166 @keyframes glitch404b { 1167 0%,84%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); } 1168 86% { clip-path: inset(50% 0 30% 0); transform: translate(3px, 0); color: ${yt}; } 1169 88% { clip-path: inset(10% 0 70% 0); transform: translate(-3px, 0); color: ${vs}; } 1170 90% { clip-path: inset(0 0 100% 0); transform: translate(0); } 1171 } 1172 @keyframes scanline { 1173 0% { transform: translateY(-100%); } 1174 100% { transform: translateY(100vh); } 1175 } 1176 @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } } 1177 @keyframes termIn1 { from { width: 0; } to { width: 100%; } } 1178 @keyframes termIn2 { 0%,40% { width: 0; } 100% { width: 100%; } } 1179 @keyframes termIn3 { 0%,65% { width: 0; } 100% { width: 100%; } } 1180 @keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } 1181 .term-line { overflow: hidden; white-space: nowrap; } 1182 .term-line-1 { animation: termIn1 0.8s steps(30,end) 0.3s both; } 1183 .term-line-2 { animation: termIn2 1.4s steps(30,end) 0.3s both; } 1184 .term-line-3 { animation: termIn3 2.0s steps(40,end) 0.3s both; } 1185 `}),t.jsx(yb,{}),t.jsx("div",{style:{position:"absolute",left:0,right:0,height:120,zIndex:2,pointerEvents:"none",background:"linear-gradient(to bottom, transparent, rgba(34,211,238,0.03), transparent)",animation:"scanline 6s linear infinite"}}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:2,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.13) 3px, rgba(0,0,0,0.13) 4px)"}}),t.jsx("div",{style:{position:"absolute",inset:0,zIndex:3,pointerEvents:"none",background:"radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.75) 100%)"}}),t.jsxs("div",{style:{position:"absolute",inset:0,zIndex:10,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"1.5rem"},children:[t.jsxs("div",{style:{position:"relative",background:"rgba(8,12,20,0.85)",border:"1px solid rgba(34,211,238,0.25)",borderTop:`2px solid ${yt}`,backdropFilter:"blur(12px)",padding:"clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 4rem)",maxWidth:640,width:"100%",boxShadow:"0 0 60px rgba(34,211,238,0.08), 0 0 120px rgba(34,211,238,0.04)"},children:[t.jsx("div",{style:{position:"absolute",top:0,left:0,width:16,height:16,borderTop:`2px solid ${yt}`,borderLeft:`2px solid ${yt}`,opacity:.6}}),t.jsx("div",{style:{position:"absolute",top:0,right:0,width:16,height:16,borderTop:`2px solid ${yt}`,borderRight:`2px solid ${yt}`,opacity:.6}}),t.jsx("div",{style:{position:"absolute",bottom:0,left:0,width:16,height:16,borderBottom:`2px solid ${yt}`,borderLeft:`2px solid ${yt}`,opacity:.4}}),t.jsx("div",{style:{position:"absolute",bottom:0,right:0,width:16,height:16,borderBottom:`2px solid ${yt}`,borderRight:`2px solid ${yt}`,opacity:.4}}),t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1.5rem"},children:[t.jsx("span",{style:{fontFamily:ai,fontSize:"0.6rem",color:"rgba(34,211,238,0.5)",letterSpacing:"0.2em"},children:"BSI://SYSTEM.ERROR"}),t.jsx("span",{style:{fontFamily:ai,fontSize:"0.6rem",color:vs,letterSpacing:"0.15em",animation:"blink 1.2s step-end infinite"},children:"â BREACH DETECTED"})]}),t.jsx("div",{style:{position:"relative",textAlign:"center",marginBottom:"0.5rem",lineHeight:1},children:t.jsxs("div",{style:{fontFamily:bn,fontSize:"clamp(5rem,15vw,8rem)",fontWeight:900,color:yt,letterSpacing:"-0.02em",textShadow:"0 0 40px rgba(34,211,238,0.4), 0 0 80px rgba(34,211,238,0.15)",position:"relative",display:"inline-block"},children:["404",t.jsx("span",{"aria-hidden":!0,style:{position:"absolute",inset:0,color:vs,fontFamily:bn,fontWeight:900,fontSize:"inherit",letterSpacing:"inherit",animation:"glitch404 3s infinite"},children:"404"}),t.jsx("span",{"aria-hidden":!0,style:{position:"absolute",inset:0,color:yt,fontFamily:bn,fontWeight:900,fontSize:"inherit",letterSpacing:"inherit",animation:"glitch404b 3s infinite"},children:"404"})]})}),t.jsx("div",{style:{textAlign:"center",marginBottom:"2rem"},children:t.jsx("span",{style:{fontFamily:bn,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.35em",color:"rgba(34,211,238,0.5)",textTransform:"uppercase"},children:"SIGNAL LOST · ROUTE CORRUPTED"})}),t.jsx("div",{style:{height:1,background:"rgba(34,211,238,0.15)",marginBottom:"1.5rem"}}),t.jsxs("div",{style:{fontFamily:ai,fontSize:"0.78rem",color:fb,marginBottom:"1.75rem",lineHeight:1.9},children:[t.jsxs("div",{className:"term-line term-line-1",children:[t.jsx("span",{style:{color:"rgba(74,222,128,0.4)"},children:"root@bsidesindore:~$"})," ",t.jsxs("span",{children:["resolve ",t.jsx("span",{style:{color:"rgba(34,211,238,0.7)"},children:d})]})]}),t.jsxs("div",{className:"term-line term-line-2",children:[t.jsx("span",{style:{color:vs},children:"ERR:"})," ",t.jsx("span",{style:{color:"rgba(255,255,255,0.7)"},children:"No route handler matched. Access denied."})]}),t.jsxs("div",{className:"term-line term-line-3",children:[t.jsx("span",{style:{color:"rgba(74,222,128,0.4)"},children:"root@bsidesindore:~$"})," ",t.jsx("span",{style:{animation:"blink 1s step-end infinite",color:yt},children:"â"})]})]}),t.jsx("div",{style:{height:1,background:"rgba(34,211,238,0.1)",marginBottom:"1.75rem"}}),t.jsx("div",{style:{minHeight:90,display:"flex",flexDirection:"column",justifyContent:"center",marginBottom:"2rem",padding:"0 0.5rem"},children:t.jsxs("div",{style:{opacity:i?1:0,transform:i?"translateY(0)":"translateY(6px)",transition:"opacity 0.4s ease, transform 0.4s ease"},children:[t.jsxs("p",{style:{fontFamily:ai,fontSize:"0.82rem",color:"rgba(255,255,255,0.75)",lineHeight:1.7,marginBottom:"0.6rem",fontStyle:"italic",textAlign:"center"},children:['"',c.text,'"']}),t.jsx("p",{style:{fontFamily:bn,fontSize:"0.55rem",color:"rgba(34,211,238,0.55)",letterSpacing:"0.15em",textAlign:"center",textTransform:"uppercase"},children:c.attr})]})}),t.jsx("div",{style:{display:"flex",justifyContent:"center",gap:"0.4rem",marginBottom:"2rem"},children:mo.map((u,h)=>t.jsx("div",{style:{width:h===n?16:5,height:5,borderRadius:3,background:h===n?yt:"rgba(34,211,238,0.2)",transition:"all 0.4s ease"}},h))}),t.jsx("div",{style:{display:"flex",justifyContent:"center"},children:t.jsx("button",{onClick:()=>e("/"),onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),style:{fontFamily:bn,fontSize:"0.7rem",fontWeight:900,letterSpacing:"0.25em",color:o?$c:yt,background:o?yt:"transparent",border:`1px solid ${o?yt:"rgba(34,211,238,0.4)"}`,padding:"0.75rem 2.5rem",cursor:"pointer",textTransform:"uppercase",boxShadow:o?"0 0 3
11850px rgba(34,211,238,0.4)":"none",transition:"all 0.2s ease"},children:"[ RETURN TO BASE ]"})})]}),t.jsx("div",{style:{marginTop:"1.5rem",fontFamily:bn,fontSize:"0.55rem",color:"rgba(34,211,238,0.3)",letterSpacing:"0.2em",textAlign:"center",textTransform:"uppercase"},children:"BSides Indore · bsidesindore.in · Community-Driven · Practitioner-Led"})]})]})}const Lc='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',ni='"Share Tech Mono","Courier New",monospace',po="bsi-reg-popup-seen",xb=["/register"],vb=new Date("2026-07-15T18:29:59Z"),wb=()=>{const r=St(),e=ls(),[n,s]=y.useState(!1),i=e.pathname==="/"||e.pathname==="/vault",[a,o]=y.useState(!1),l=y.useRef(!1),d=y.useRef(!1),c=y.useRef(!1),u=()=>{c.current||sessionStorage.getItem(po)||(c.current=!0,sessionStorage.setItem(po,"1"),s(!0),requestAnimationFrame(()=>setTimeout(()=>o(!0),30)))};y.useEffect(()=>{if(i||xb.some(L=>e.pathname.startsWith(L))||sessionStorage.getItem(po))return;l.current=!1,d.current=!1,c.current=!1;const x=setTimeout(()=>{l.current=!0,d.current&&u()},1e4),w=setTimeout(()=>u(),16e3),I=L=>{L.clientY<=4&&L.relatedTarget===null&&u()};document.addEventListener("mouseout",I);const R=()=>{const L=document.documentElement.scrollHeight-window.innerHeight;L>0&&window.scrollY/L>=.3&&(d.current=!0,l.current&&u(),window.removeEventListener("scroll",R))};return window.addEventListener("scroll",R,{passive:!0}),()=>{clearTimeout(x),clearTimeout(w),document.removeEventListener("mouseout",I),window.removeEventListener("scroll",R)}},[e.pathname,i]),y.useEffect(()=>{if(!n)return;const x=w=>{w.key==="Escape"&&p()};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[n]);const h=y.useRef(null),p=()=>{o(!1),h.current&&clearTimeout(h.current),h.current=setTimeout(()=>s(!1),320)},m=x=>{p(),setTimeout(()=>r(x),180)},f=vb.getTime()-Date.now(),g=f>0?Math.floor(f/864e5):0,v=f>0?Math.floor(f%864e5/36e5):0,j=f>0;return!n||i?null:t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` 1186 @keyframes bsi-pop-blink { 0%,49%{opacity:1}50%,100%{opacity:0} } 1187 @keyframes bsi-pop-cpulse { 0%,100%{box-shadow:0 0 18px rgba(34,211,238,0.35)}50%{box-shadow:0 0 36px rgba(34,211,238,0.72)} } 1188 .bsi-pop-reg { animation:bsi-pop-cpulse 2.5s ease-in-out infinite; transition:transform 0.15s,box-shadow 0.2s!important; } 1189 .bsi-pop-reg:hover { transform:translateY(-1px)!important; } 1190 .bsi-pop-scanlines { 1191 position:absolute; inset:0; pointer-events:none; z-index:0; 1192 background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,0,0,0.04) 2px,rgba(0,0,0,0.04) 4px); 1193 } 1194 @media(max-width:480px){ 1195 .bsi-pop-card{ right:0!important; left:0!important; bottom:0!important; border-radius:12px 12px 0 0!important; width:100%!important; } 1196 } 1197 `}),t.jsxs("div",{className:"bsi-pop-card",role:"dialog","aria-modal":"false","aria-label":"BSides Indore X2 · Register",style:{position:"fixed",bottom:"1.5rem",right:"1.5rem",zIndex:9999,width:"min(356px, calc(100vw - 2rem))",background:"#07080f",border:"1px solid rgba(34,211,238,0.28)",borderRadius:10,overflow:"hidden",boxShadow:"0 10px 56px rgba(0,0,0,0.85), 0 0 60px rgba(34,211,238,0.07)",opacity:a?1:0,transform:a?"translateY(0) scale(1)":"translateY(28px) scale(0.96)",transition:"opacity 0.32s ease, transform 0.32s ease"},children:[t.jsx("div",{style:{height:2,background:"linear-gradient(to right, transparent, #22d3ee 35%, #a78bfa 65%, transparent)"}}),t.jsx("div",{className:"bsi-pop-scanlines","aria-hidden":"true"}),t.jsx("button",{onClick:p,"aria-label":"Dismiss",style:{position:"absolute",top:"0.7rem",right:"0.7rem",zIndex:2,width:26,height:26,borderRadius:"50%",flexShrink:0,background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"rgba(255,255,255,0.45)",fontSize:"0.7rem",transition:"background 0.15s, color 0.15s"},onMouseEnter:x=>{x.currentTarget.style.background="rgba(248,113,113,0.15)",x.currentTarget.style.color="#f87171"},onMouseLeave:x=>{x.currentTarget.style.background="rgba(255,255,255,0.05)",x.currentTarget.style.color="rgba(255,255,255,0.45)"},children:"â"}),t.jsxs("div",{style:{padding:"1.2rem 1.2rem 1rem",position:"relative",zIndex:1},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.45rem",marginBottom:"0.85rem"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:"#22d3ee",boxShadow:"0 0 8px #22d3ee",display:"inline-block",animation:"bsi-pop-blink 1.2s steps(1) infinite",flexShrink:0}}),t.jsx("span",{style:{fontFamily:ni,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.24em",color:"#22d3ee",textTransform:"uppercase"},children:"BSI-2026 · REGISTRATION OPEN"})]}),t.jsx("div",{style:{fontFamily:Lc,fontSize:"clamp(0.88rem,3.5vw,1.05rem)",fontWeight:900,letterSpacing:"0.04em",color:"#fff",textTransform:"uppercase",lineHeight:1.2,marginBottom:"0.4rem"},children:"Secure your spot."}),t.jsxs("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.65)",lineHeight:1.65,marginBottom:"0.65rem"},children:["Conference ",t.jsx("strong",{style:{color:"#fff"},children:"6 Sept 2026"})," · Training ",t.jsx("strong",{style:{color:"#fff"},children:"5 Sept 2026"})," · Indore"]}),j?t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.4rem",background:"rgba(34,211,238,0.08)",border:"1px solid rgba(34,211,238,0.3)",borderRadius:4,padding:"0.3rem 0.65rem",marginBottom:"1rem"},children:[t.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:"#22d3ee",display:"inline-block",animation:"bsi-pop-blink 1s steps(1) infinite",flexShrink:0}}),t.jsxs("span",{style:{fontFamily:ni,fontSize:"0.48rem",fontWeight:900,letterSpacing:"0.18em",color:"#22d3ee",textTransform:"uppercase"},children:["â¡ EARLY BIRD ENDS IN ",g,"D ",v,"H · 15 JULY"]})]}):t.jsx("div",{style:{display:"flex",alignItems:"center",gap:"0.4rem",background:"rgba(167,139,250,0.08)",border:"1px solid rgba(167,139,250,0.25)",borderRadius:4,padding:"0.3rem 0.65rem",marginBottom:"1rem"},children:t.jsx("span",{style:{fontFamily:ni,fontSize:"0.48rem",fontWeight:900,letterSpacing:"0.18em",color:"#a78bfa",textTransform:"uppercase"},children:"STANDARD PRICING · REGISTRATION OPEN"})}),t.jsx("div",{style:{height:1,background:"rgba(255,255,255,0.07)",marginBottom:"0.9rem"}}),j&&t.jsxs("div",{style:{marginBottom:"0.85rem",textAlign:"center"},children:[t.jsxs("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.76rem",color:"rgba(255,255,255,0.48)",lineHeight:1.65},children:["Current rates are ",t.jsx("strong",{style:{color:"rgba(255,255,255,0.75)",fontWeight:600},children:"Early Bird only"})," â all passes go up by ",t.jsx("strong",{style:{color:"rgba(255,255,255,0.75)",fontWeight:600},children:"â¹300ââ¹1,000"})," after 15 July."]}),t.jsx("div",{style:{fontFamily:ni,fontSize:"0.46rem",color:"rgba(255,255,255,0.25)",letterSpacing:"0.1em",textTransform:"uppercase",marginTop:"0.3rem"},children:"No promo codes · No extensions"})]}),t.jsxs("button",{onClick:()=>m("/register"),className:"bsi-pop-reg",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.45rem",width:"100%",fontFamily:Lc,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.13em",textTransform:"uppercase",background:"#22d3ee",border:"none",borderRadius:5,color:"#000",padding:"0.75rem",cursor:"pointer",marginBottom:"0.85rem"},children:[t.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:"#000",opacity:.5,display:"inline-block",animation:"bsi-pop-blink 1.2s steps(1) infinite",flexShrink:0}}),"GET YOUR PASS â"]}),t.jsx("button",{onClick:p,style:{display:"block",width:"100%",background:"transparent",border:"none",cursor:"pointer",fontFamily:ni,fontSize:"0.5rem",letterSpacing:"0.14em",textTransform:"uppercase",color:"rgba(255,255,255,0.28)",textAlign:"center",transition:"color 0.2s"},onMouseEnter:x=>x.currentTarget.style.color="rgba(255,255,255,0.52)",onMouseLeave:x=>x.currentTarget.style.color="rgba(255,255,255,0.28)",children:"MAYBE LATER"})]})]})]})},zc='"Orbitron","Exo 2","Rajdhani","Share Tech Mono",monospace',Dc='"Share Tech Mono","Courier New",monospace',Yr="#fb923c",go="bsi-speaker-popup-seen",Sb=["/speakers"],Mc=[...rl.slice(0,2),...fi.slice(0,3)],jb=fi.length+rl.length,kb=()=>{const r=St(),e=ls(),[n,s]=y.useState(!1),[i,a]=y.useState(!1),o=e.pathname==="/"||e.pathname==="/vault",l=y.useRef(!1),d=y.useRef(!1),c=y.useRef(!1),u=()=>{c.current||sessionStorage.getItem(go)||(c.current=!0,sessionStorage.setItem(go,"1"),s(!0),requestAnimationFrame(()=>setTimeout(()=>a(!0),30)))};y.useEffect(()=>{if(o||Sb.some(j=>e.pathname.startsWith(j))||sessionStorage.getItem(go))return;l.current=!1,d.current=!1,c.current=!1;const f=setTimeout(()=>{l.current=!0,d.current&&u()},7e3),g=setTimeout(()=>u(),13e3),v=()=>{const j=document.documentElement.scrollHeight-window.innerHeight;j>0&&window.scrollY/j>=.2&&(d.current=!0,l.current&&u(),window.removeEventListener("scroll",v))};return window.addEventListener("scroll",v,{passive:!0}),()=>{clearTimeout(f),clearTimeout(g),window.removeEventListener("scroll",v)}},[e.pathname,o]),y.useEffect(()=>{if(!n)return;const f=g=>{g.key==="Escape"&&p()};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[n]);const h=y.useRef(null),p=()=>{a(!1),h.current&&clearTimeout(h.current),h.current=setTimeout(()=>s(!1),320)},m=()=>{p(),setTimeout(()=>r("/speakers"),180)};return!n||o?null:t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` 1198 @keyframes bsi-spk-blink { 0%,49%{opacity:1} 50%,100%{opacity:0}
1198 } 1199 .bsi-spk-cta { transition: transform 0.15s, box-shadow 0.2s !important; } 1200 .bsi-spk-cta:hover { transform: translateY(-1px) !important; } 1201 @media (max-width: 480px) { 1202 .bsi-spk-card { right: 0 !important; left: 0 !important; bottom: 0 !important; border-radius: 12px 12px 0 0 !important; width: 100% !important; } 1203 } 1204 `}),t.jsxs("div",{className:"bsi-spk-card",role:"dialog","aria-modal":"false","aria-label":"BSides Indore X2 · Speakers",style:{position:"fixed",bottom:"1.5rem",left:"1.5rem",zIndex:9999,width:"min(340px, calc(100vw - 2rem))",background:"#0c0a06",border:`1px solid ${Yr}48`,borderRadius:10,overflow:"hidden",boxShadow:`0 10px 56px rgba(0,0,0,0.85), 0 0 60px ${Yr}12`,opacity:i?1:0,transform:i?"translateY(0) scale(1)":"translateY(28px) scale(0.96)",transition:"opacity 0.32s ease, transform 0.32s ease"},children:[t.jsx("div",{style:{height:2,background:`linear-gradient(to right, transparent, ${Yr} 35%, #f59e0b 65%, transparent)`}}),t.jsx("button",{onClick:p,"aria-label":"Dismiss",style:{position:"absolute",top:"0.7rem",right:"0.7rem",zIndex:2,width:26,height:26,borderRadius:"50%",flexShrink:0,background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"rgba(255,255,255,0.45)",fontSize:"0.7rem",transition:"background 0.15s, color 0.15s"},onMouseEnter:f=>{f.currentTarget.style.background="rgba(248,113,113,0.15)",f.currentTarget.style.color="#f87171"},onMouseLeave:f=>{f.currentTarget.style.background="rgba(255,255,255,0.05)",f.currentTarget.style.color="rgba(255,255,255,0.45)"},children:"â"}),t.jsxs("div",{style:{padding:"1.2rem 1.2rem 1rem"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.45rem",marginBottom:"0.9rem"},children:[t.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:Yr,boxShadow:`0 0 8px ${Yr}`,display:"inline-block",animation:"bsi-spk-blink 1.2s steps(1) infinite",flexShrink:0}}),t.jsx("span",{style:{fontFamily:Dc,fontSize:"0.5rem",fontWeight:900,letterSpacing:"0.22em",color:Yr,textTransform:"uppercase"},children:"BSI-2026 · LINEUP REVEALING"})]}),t.jsx("div",{style:{display:"flex",marginBottom:"0.9rem"},children:Mc.map((f,g)=>t.jsx("div",{style:{width:46,height:46,borderRadius:"50%",border:"2px solid #0c0a06",outline:`1px solid ${Yr}55`,marginLeft:g===0?0:-14,overflow:"hidden",flexShrink:0,position:"relative",zIndex:Mc.length-g,background:"#1a1408"},children:t.jsx("img",{src:f.photo,alt:"",onError:v=>{v.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:f.photoPosition??"center 20%",display:"block"}})},f.id))}),t.jsxs("div",{style:{fontFamily:zc,fontSize:"clamp(0.88rem,3.5vw,1.02rem)",fontWeight:900,letterSpacing:"0.03em",color:"#fff",textTransform:"uppercase",lineHeight:1.25,marginBottom:"0.4rem"},children:[jb,"+ Speakers Confirmed"]}),t.jsxs("div",{style:{fontFamily:"system-ui,sans-serif",fontSize:"0.78rem",color:"rgba(255,255,255,0.65)",lineHeight:1.65,marginBottom:"1rem"},children:["Main Stage talks and the ",t.jsx("strong",{style:{color:"#fff"},children:"CXO Panel"})," for ",t.jsx("strong",{style:{color:"#fff"},children:"6 Sept 2026"})," are live and growing. See who's speaking."]}),t.jsx("button",{onClick:m,className:"bsi-spk-cta",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"0.45rem",width:"100%",fontFamily:zc,fontSize:"0.62rem",fontWeight:900,letterSpacing:"0.13em",textTransform:"uppercase",background:Yr,border:"none",borderRadius:5,color:"#000",padding:"0.75rem",cursor:"pointer",marginBottom:"0.85rem",boxShadow:`0 0 24px ${Yr}40`},children:"VIEW ALL SPEAKERS â"}),t.jsx("button",{onClick:p,style:{display:"block",width:"100%",background:"transparent",border:"none",cursor:"pointer",fontFamily:Dc,fontSize:"0.5rem",letterSpacing:"0.14em",textTransform:"uppercase",color:"rgba(255,255,255,0.28)",textAlign:"center",transition:"color 0.2s"},onMouseEnter:f=>f.currentTarget.style.color="rgba(255,255,255,0.52)",onMouseLeave:f=>f.currentTarget.style.color="rgba(255,255,255,0.28)",children:"MAYBE LATER"})]})]})]})},Tb=new wm,Eb=y.lazy(()=>gu(()=>import("./World-L0pjWoPh.js"),__vite__mapDeps([0,1,2,3,4])));function Cb(){const r=ls();return y.useEffect(()=>{window.gtag?.("event","page_view",{page_path:r.pathname+r.search,page_title:document.title})},[r.pathname,r.search]),null}const Ib=()=>{const r=ls(),e=r.pathname==="/x2",[n,s]=y.useState(!1);y.useEffect(()=>{e&&s(!0)},[e]),y.useEffect(()=>{const a=document.getElementById("root");
1204if(e){document.documentElement.setAttribute("data-world-active","true"),document.body.setAttribute("data-world-active","true");return}return document.documentElement.removeAttribute("data-world-active"),document.body.removeAttribute("data-world-active"),document.body.style.overflowY="scroll",document.body.style.overflowX="hidden",document.body.style.height="auto",document.body.style.touchAction="auto",document.documentElement.style.overflowY="scroll",document.documentElement.style.overflowX="hidden",document.documentElement.style.height="auto",a&&(a.style.height="auto"),()=>{document.body.style.overflowY="",document.body.style.overflowX="",document.body.style.height="",document.body.style.touchAction="",document.documentElement.style.overflowY="",document.documentElement.style.overflowX="",document.documentElement.style.height="",a&&(a.style.height="")}},[e]);const i=y.useMemo(()=>e||n,[e,n]);return t.jsxs(t.Fragment,{children:[t.jsx(Cb,{}),t.jsx(hf,{}),t.jsx(wb,{}),t.jsx(kb,{}),t.jsx(df,{}),i&&t.jsx("div",{style:{position:"fixed",inset:0,visibility:e?"visible":"hidden",pointerEvents:e?"auto":"none"},children:t.jsx(y.Suspense,{fallback:null,children:t.jsx(Eb,{isActive:e})})}),!e&&t.jsx("div",{className:"page-transition-overlay"},r.key),!e&&t.jsxs(vu,{children:[t.jsx(Oe,{path:"/about",element:t.jsx(wf,{})}),t.jsx(Oe,{path:"/team",element:t.jsx(Tf,{})}),t.jsx(Oe,{path:"/community",element:t.jsx(If,{})}),t.jsx(Oe,{path:"/events",element:t.jsx(Ff,{})}),t.jsx(Oe,{path:"/contact",element:t.jsx(zf,{})}),t.jsx(Oe,{path:"/sponsors",element:t.jsx(Wf,{})}),t.jsx(Oe,{path:"/sponsors/call-for-sponsors",element:t.jsx(Hf,{})}),t.jsx(Oe,{path:"/sponsors/apply",element:t.jsx(G0,{})}),t.jsx(Oe,{path:"/bsi-portal-2026",element:t.jsx(Y0,{})}),t.jsx(Oe,{path:"/",element:t.jsx(ry,{})}),t.jsx(Oe,{path:"/vault",element:t.jsx(ly,{})}),t.jsx(Oe,{path:"/schedule",element:t.jsx(Q0,{})}),t.jsx(Oe,{path:"/speakers",element:t.jsx(lb,{})}),t.jsx(Oe,{path:"/archive/x1",element:t.jsx(dy,{})}),t.jsx(Oe,{path:"/archive/x2",element:t.jsx(hy,{})}),t.jsx(Oe,{path:"/gallery",element:t.jsx(wu,{to:"/archive/x1",replace:!0})}),t.jsx(Oe,{path:"/cfp-review-board",element:t.jsx(ky,{})}),t.jsx(Oe,{path:"/call-for-papers",element:t.jsx(By,{})}),t.jsx(Oe,{path:"/call-for-papers/faq",element:t.jsx(Dy,{})}),t.jsx(Oe,{path:"/register",element:t.jsx(Ky,{})}),t.jsx(Oe,{path:"/advisory-board",element:t.jsx(Qy,{})}),t.jsx(Oe,{path:"/trainings",element:t.jsx(gb,{})}),t.jsx(Oe,{path:"/code-of-conduct",element:t.jsx(py,{})}),t.jsx(Oe,{path:"/refund-policy",element:t.jsx(fy,{})}),t.jsx(Oe,{path:"/terms-conditions",element:t.jsx(by,{})}),t.jsx(Oe,{path:"/privacy-policy",element:t.jsx(vy,{})}),t.jsx(Oe,{path:"*",element:t.jsx(bb,{})})]})]})},_b=()=>t.jsx(jm,{client:Tb,children:t.jsxs(Xh,{children:[t.jsx(bh,{}),t.jsx(Jh,{}),t.jsx(xu,{basename:"/",children:t.jsx(Ib,{})})]})});fu(document.getElementById("root")).render(t.jsx(_b,{}));export{gf as A,Cf as C,Of as E,ay as J,kf as T,nn as a,Lf as b,An as u};
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.