Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
var so=Object.defineProperty;var ao=(i,e,o)=>e in i?so(i,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[e]=o;var v=(i,e,o)=>ao(i,typeof e!="symbol"?e+"":e,o);import{j as t,r as P,m as I,A as Cn,M as lo,R as co}from"./vendor-motion-Ky7Dj8dt.js";import{r as _n}from"./vendor-react-D51TxQAi.js";import{g as nr}from"./vendor-gsap-SFc2wnMY.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function o(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(n){if(n.ep)return;n.ep=!0;const s=o(n);fetch(n.href,s)}})();var _r={},Xr=_n;_r.createRoot=Xr.createRoot,_r.hydrateRoot=Xr.hydrateRoot;var Gr="1.3.23";function In(i,e,o){return Math.max(i,Math.min(e,o))}function ho(i,e,o){return(1-o)*i+o*e}function uo(i,e,o,r){return ho(i,e,1-Math.exp(-o*r))}function po(i,e){return(i%e+e)%e}var fo=class{constructor(){v(this,"isRunning",!1);v(this,"value",0);v(this,"from",0);v(this,"to",0);v(this,"currentTime",0);v(this,"lerp");v(this,"duration");v(this,"easing");v(this,"onUpdate")}advance(i){var o;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=i;const r=In(0,this.currentTime/this.duration,1);e=r>=1;const n=e?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}else this.lerp?(this.value=uo(this.value,this.to,this.lerp*60,i),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(o=this.onUpdate)==null||o.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(i,e,{lerp:o,duration:r,easing:n,onStart:s,onUpdate:l}){this.from=this.value=i,this.to=e,this.lerp=o,this.duration=r,this.easing=n,this.currentTime=0,this.isRunning=!0,s==null||s(),this.onUpdate=l}};function go(i,e){let o;return function(...r){clearTimeout(o),o=setTimeout(()=>{o=void 0,i.apply(this,r)},e)}}var mo=class{constructor(i,e,{autoResize:o=!0,debounce:r=250}={}){v(this,"width",0);v(this,"height",0);v(this,"scrollHeight",0);v(this,"scrollWidth",0);v(this,"debouncedResize");v(this,"wrapperResizeObserver");v(this,"contentResizeObserver");v(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});v(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});v(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=i,this.content=e,o&&(this.debouncedResize=go(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var i,e;(i=this.wrapperResizeObserver)==null||i.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},Tn=class{constructor(){v(this,"events",{})}emit(i,...e){var r;const o=this.events[i]||[];for(let n=0,s=o.length;n{var o;this.events[i]=(o=this.events[i])==null?void 0:o.filter(r=>e!==r)}}off(i,e){var o;this.events[i]=(o=this.events[i])==null?void 0:o.filter(r=>e!==r)}destroy(){this.events={}}};const yo=100/6,Lt={passive:!1};function qr(i,e){return i===1?yo:i===2?e:1}var xo=class{constructor(i,e={wheelMultiplier:1,touchMultiplier:1}){v(this,"touchStart",{x:0,y:0});v(this,"lastDelta",{x:0,y:0});v(this,"window",{width:0,height:0});v(this,"emitter",new Tn);v(this,"onTouchStart",i=>{const{clientX:e,clientY:o}=i.targetTouches?i.targetTouches[0]:i;this.touchStart.x=e,this.touchStart.y=o,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:i})});v(this,"onTouchMove",i=>{const{clientX:e,clientY:o}=i.targetTouches?i.targetTouches[0]:i,r=-(e-this.touchStart.x)*this.options.touchMultiplier,n=-(o-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=o,this.lastDelta={x:r,y:n},this.emitter.emit("scroll",{deltaX:r,deltaY:n,event:i})});v(this,"onTouchEnd",i=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:i})});v(this,"onWheel",i=>{let{deltaX:e,deltaY:o,deltaMode:r}=i;const n=qr(r,this.window.width),s=qr(r,this.window.height);e*=n,o*=s,e*=this.options.wheelMultiplier,o*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:o,event:i})});v(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=i,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Lt),this.element.addEventListener("touchstart",this.onTouchStart,Lt),this.element.addEventListener("touchmove",this.onTouchMove,Lt),this.element.addEventListener("touchend",this.onTouchEnd,Lt)}on(i,e){return this.emitter.on(i,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,Lt),this.element.removeEventListener("touchstart",this.onTouchStart,Lt),this.element.removeEventListener("touchmove",this.onTouchMove,Lt),this.element.removeEventListener("touchend",this.onTouchEnd,Lt)}};const Jr=i=>Math.min(1,1.001-2**(-10*i));var bo=class{constructor({wrapper:i=window,content:e=document.documentElement,eventsTarget:o=i,smoothWheel:r=!0,syncTouch:n=!1,syncTouchLerp:s=.075,touchInertiaExponent:l=1.7,duration:a,easing:c,lerp:h=.1,infinite:g=!1,orientation:x="vertical",gestureOrientation:f=x==="horizontal"?"both":"vertical",touchMultiplier:p=1,wheelMultiplier:m=1,autoResize:M=!0,prevent:T,virtualScroll:H,overscroll:L=!0,autoRaf:X=!1,anchors:S=!1,autoToggle:ge=!1,allowNestedScroll:V=!1,__experimental__naiveDimensions:C=!1,naiveDimensions:we=C,stopInertiaOnNavigate:Ce=!1}={}){v(this,"_isScrolling",!1);v(this,"_isStopped",!1);v(this,"_isLocked",!1);v(this,"_preventNextNativeScrollEvent",!1);v(this,"_resetVelocityTimeout",null);v(this,"_rafId",null);v(this,"isTouching");v(this,"time",0);v(this,"userData",{});v(this,"lastVelocity",0);v(this,"velocity",0);v(this,"direction",0);v(this,"options");v(this,"targetScroll");v(this,"animatedScroll");v(this,"animate",new fo);v(this,"emitter",new Tn);v(this,"dimensions");v(this,"virtualScroll");v(this,"onScrollEnd",i=>{i instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&i.stopPropagation()});v(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});v(this,"onTransitionEnd",i=>{var e;(e=i.propertyName)!=null&&e.includes("overflow")&&i.target===this.rootElement&&this.checkOverflow()});v(this,"onClick",i=>{const e=i.composedPath().filter(r=>r instanceof HTMLAnchorElement&&r.href).map(r=>new URL(r.href)),o=new URL(window.location.href);if(this.options.anchors){const r=e.find(n=>o.host===n.host&&o.pathname===n.pathname&&n.hash);if(r){const n=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,s=`#${r.hash.split("#")[1]}`;this.scrollTo(s,n);return}}if(this.options.stopInertiaOnNavigate&&e.some(r=>o.host===r.host&&o.pathname!==r.pathname)){this.reset();return}});v(this,"onPointerDown",i=>{i.button===1&&this.reset()});v(this,"onVirtualScroll",i=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(i)===!1)return;const{deltaX:e,deltaY:o,event:r}=i;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:o,event:r}),r.ctrlKey||r.lenisStopPropagation)return;const n=r.type.includes("touch"),s=r.type.includes("wheel");this.isTouching=r.type==="touchstart"||r.type==="touchmove";const l=e===0&&o===0;if(this.options.syncTouch&&n&&r.type==="touchstart"&&l&&!this.isStopped&&!this.isLocked){this.reset();return}const a=this.options.gestureOrientation==="vertical"&&o===0||this.options.gestureOrientation==="horizontal"&&e===0;if(l||a)return;let c=r.composedPath();c=c.slice(0,c.indexOf(this.rootElement));const h=this.options.prevent,g=Math.abs(e)>=Math.abs(o)?"horizontal":"vertical";if(c.find(m=>{var M,T,H,L,X;return m instanceof HTMLElement&&(typeof h=="function"&&(h==null?void 0:h(m))||((M=m.hasAttribute)==null?void 0:M.call(m,"data-lenis-prevent"))||g==="vertical"&&((T=m.hasAttribute)==null?void 0:T.call(m,"data-lenis-prevent-vertical"))||g==="horizontal"&&((H=m.hasAttribute)==null?void 0:H.call(m,"data-lenis-prevent-horizontal"))||n&&((L=m.hasAttribute)==null?void 0:L.call(m,"data-lenis-prevent-touch"))||s&&((X=m.hasAttribute)==null?void 0:X.call(m,"data-lenis-prevent-wheel"))||this.options.allowNestedScroll&&this.hasNestedScroll(m,{deltaX:e,deltaY:o}))}))return;if(this.isStopped||this.isLocked){r.cancelable&&r.preventDefault();return}if(!(this.options.syncTouch&&n||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let x=o;this.options.gestureOrientation==="both"?x=Math.abs(o)>Math.abs(e)?o:e:this.options.gestureOrientation==="horizontal"&&(x=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&o<0))&&(r.lenisStopPropagation=!0),r.cancelable&&r.preventDefault();const f=n&&this.options.syncTouch,p=n&&r.type==="touchend";p&&(x=Math.sign(x)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+x,{programmatic:!1,...f?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});v(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const i=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-i,this.direction=Math.sign(this.animatedScroll-i),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});v(this,"raf",i=>{const e=i-(this.time||i);this.time=i,this.animate.advance(e*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))});window.lenisVersion=Gr,window.lenis||(window.lenis={}),window.lenis.version=Gr,x==="horizontal"&&(window.lenis.horizontal=!0),n===!0&&(window.lenis.touch=!0),(!i||i===document.documentElement)&&(i=window),typeof a=="number"&&typeof c!="function"?c=Jr:typeof c=="function"&&typeof a!="number"&&(a=1),this.options={wrapper:i,content:e,eventsTarget:o,smoothWheel:r,syncTouch:n,syncTouchLerp:s,touchInertiaExponent:l,duration:a,easing:c,lerp:h,infinite:g,gestureOrientation:f,orientation:x,touchMultiplier:p,wheelMultiplier:m,autoResize:M,prevent:T,virtualScroll:H,overscroll:L,autoRaf:X,anchors:S,autoToggle:ge,allowNestedScroll:V,naiveDimensions:we,stopInertiaOnNavigate:Ce},this.dimensions=new mo(i,e,{autoResize:M}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new xo(o,{touchMultiplier:p,wheelMultiplier:m}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(i,e){return this.emitter.on(i,e)}off(i,e){return this.emitter.off(i,e)}get overflow(){const i=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[i]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}setScroll(i){this.isHorizontal?this.options.wrapper.scrollTo({left:i,behavior:"instant"}):this.options.wrapper.scrollTo({top:i,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(i,{offset:e=0,immediate:o=!1,lock:r=!1,programmatic:n=!0,lerp:s=n?this.options.lerp:void 0,duration:l=n?this.options.duration:void 0,easing:a=n?this.options.easing:void 0,onStart:c,onComplete:h,force:g=!1,userData:x}={}){if((this.isStopped||this.isLocked)&&!g)return;let f=i,p=e;if(typeof f=="string"&&["top","left","start","#"].includes(f))f=0;else if(typeof f=="string"&&["bottom","right","end"].includes(f))f=this.limit;else{let m=null;if(typeof f=="string"?(m=document.querySelector(f),m||(f==="#top"?f=0:console.warn("Lenis: Target not found",f))):f instanceof HTMLElement&&(f!=null&&f.nodeType)&&(m=f),m){if(this.options.wrapper!==window){const S=this.rootElement.getBoundingClientRect();p-=this.isHorizontal?S.left:S.top}const M=m.getBoundingClientRect(),T=getComputedStyle(m),H=this.isHorizontal?Number.parseFloat(T.scrollMarginLeft):Number.parseFloat(T.scrollMarginTop),L=getComputedStyle(this.rootElement),X=this.isHorizontal?Number.parseFloat(L.scrollPaddingLeft):Number.parseFloat(L.scrollPaddingTop);f=(this.isHorizontal?M.left:M.top)+this.animatedScroll-(Number.isNaN(H)?0:H)-(Number.isNaN(X)?0:X)}}if(typeof f=="number"){if(f+=p,this.options.infinite){if(n){this.targetScroll=this.animatedScroll=this.scroll;const m=f-this.animatedScroll;m>this.limit/2?f-=this.limit:m<-this.limit/2&&(f+=this.limit)}}else f=In(0,f,this.limit);if(f===this.targetScroll){c==null||c(this),h==null||h(this);return}if(this.userData=x??{},o){this.animatedScroll=this.targetScroll=f,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),h==null||h(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}n||(this.targetScroll=f),typeof l=="number"&&typeof a!="function"?a=Jr:typeof a=="function"&&typeof l!="number"&&(l=1),this.animate.fromTo(this.animatedScroll,f,{duration:l,easing:a,lerp:s,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling="smooth",c==null||c(this)},onUpdate:(m,M)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=m-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=m,this.setScroll(this.scroll),n&&(this.targetScroll=m),M||this.emit(),M&&(this.reset(),this.emit(),h==null||h(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(i,{deltaX:e,deltaY:o}){const r=Date.now();i._lenis||(i._lenis={});const n=i._lenis;let s,l,a,c,h,g,x,f,p,m;if(r-(n.time??0)>2e3){n.time=Date.now();const V=window.getComputedStyle(i);if(n.computedStyle=V,s=["auto","overlay","scroll"].includes(V.overflowX),l=["auto","overlay","scroll"].includes(V.overflowY),h=["auto"].includes(V.overscrollBehaviorX),g=["auto"].includes(V.overscrollBehaviorY),n.hasOverflowX=s,n.hasOverflowY=l,!(s||l))return!1;x=i.scrollWidth,f=i.scrollHeight,p=i.clientWidth,m=i.clientHeight,a=x>p,c=f>m,n.isScrollableX=a,n.isScrollableY=c,n.scrollWidth=x,n.scrollHeight=f,n.clientWidth=p,n.clientHeight=m,n.hasOverscrollBehaviorX=h,n.hasOverscrollBehaviorY=g}else a=n.isScrollableX,c=n.isScrollableY,s=n.hasOverflowX,l=n.hasOverflowY,x=n.scrollWidth,f=n.scrollHeight,p=n.clientWidth,m=n.clientHeight,h=n.hasOverscrollBehaviorX,g=n.hasOverscrollBehaviorY;if(!(s&&a||l&&c))return!1;const M=Math.abs(e)>=Math.abs(o)?"horizontal":"vertical";let T,H,L,X,S,ge;if(M==="horizontal")T=Math.round(i.scrollLeft),H=x-p,L=e,X=s,S=a,ge=h;else if(M==="vertical")T=Math.round(i.scrollTop),H=f-m,L=o,X=l,S=c,ge=g;else return!1;return!ge&&(T>=H||T<=0)?!0:(L>0?T0)&&X&&S}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const i=this.options.wrapper;return this.isHorizontal?i.scrollX??i.scrollLeft:i.scrollY??i.scrollTop}get scroll(){return this.options.infinite?po(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(i){this._isScrolling!==i&&(this._isScrolling=i,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(i){this._isStopped!==i&&(this._isStopped=i,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(i){this._isLocked!==i&&(this._isLocked=i,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let i="lenis";return this.options.autoToggle&&(i+=" lenis-autoToggle"),this.isStopped&&(i+=" lenis-stopped"),this.isLocked&&(i+=" lenis-locked"),this.isScrolling&&(i+=" lenis-scrolling"),this.isScrolling==="smooth"&&(i+=" lenis-smooth"),i}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(i=>{this.rootElement.classList.add(i)})}cleanUpClassName(){for(const i of Array.from(this.rootElement.classList))(i==="lenis"||i.startsWith("lenis-"))&&this.rootElement.classList.remove(i)}};function Mn({size:i=200,opacity:e=.12,spinDuration:o="90s",reverse:r=!1,style:n={}}){const s=Array.from({length:8},(a,c)=>{const h=(c*45-90)*(Math.PI/180);return{x1:50+9*Math.cos(h),y1:50+9*Math.sin(h),x2:50+46*Math.cos(h),y2:50+46*Math.sin(h),mx:50+30*Math.cos(h),my:50+30*Math.sin(h)}}),l=Array.from({length:8},(a,c)=>{const h=(c*45-90+10)*Math.PI/180,g=(c*45-90+35)*Math.PI/180;return{x1:50+46*Math.cos(h),y1:50+46*Math.sin(h),x2:50+46*Math.cos(g),y2:50+46*Math.sin(g)}});return t.jsxs("svg",{width:i,height:i,viewBox:"0 0 100 100",style:{opacity:e,animation:`buddhist-spin ${o} linear infinite`,animationDirection:r?"reverse":"normal",color:"#F5C518",...n},children:[t.jsx("circle",{cx:"50",cy:"50",r:"47",fill:"none",stroke:"currentColor",strokeWidth:"1",opacity:"0.5"}),t.jsx("circle",{cx:"50",cy:"50",r:"46",fill:"none",stroke:"currentColor",strokeWidth:"2.4"}),l.map((a,c)=>t.jsx("path",{d:`M ${a.x1} ${a.y1} A 46 46 0 0 1 ${a.x2} ${a.y2}`,fill:"none",stroke:"currentColor",strokeWidth:"5",opacity:"0.3"},c)),t.jsx("circle",{cx:"50",cy:"50",r:"30",fill:"none",stroke:"currentColor",strokeWidth:"0.9"}),t.jsx("circle",{cx:"50",cy:"50",r:"9",fill:"none",stroke:"currentColor",strokeWidth:"2.4"}),t.jsx("circle",{cx:"50",cy:"50",r:"5",fill:"currentColor",opacity:"0.6"}),t.jsx("circle",{cx:"50",cy:"50",r:"2.5",fill:"currentColor"}),s.map((a,c)=>t.jsx("line",{x1:a.x1,y1:a.y1,x2:a.x2,y2:a.y2,stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"},c)),s.map((a,c)=>t.jsx("circle",{cx:a.mx,cy:a.my,r:"3",fill:"currentColor"},c))]})}function hr({size:i=200,opacity:e=.12,spin:o=!1,reverse:r=!1,style:n={}}){const s=Array.from({length:8},(c,h)=>h*45),l=Array.from({length:8},(c,h)=>h*45+22.5),a=Array.from({length:24},(c,h)=>h*15);return t.jsxs("svg",{width:i,height:i,viewBox:"0 0 100 100",style:{opacity:e,color:"#F5C518",animation:o?`buddhist-spin-slow ${typeof o=="string"?o:"180s"} linear infinite`:void 0,animationDirection:r?"reverse":"normal",...n},children:[s.map(c=>t.jsx("ellipse",{cx:"50",cy:"20",rx:"8",ry:"28",fill:"currentColor",fillOpacity:"0.55",transform:`rotate(${c}, 50, 50)`},c)),l.map(c=>t.jsx("ellipse",{cx:"50",cy:"28",rx:"6",ry:"20",fill:"currentColor",fillOpacity:"0.8",transform:`rotate(${c}, 50, 50)`},c)),a.map(c=>{const h=(c-90)*Math.PI/180;return t.jsx("circle",{cx:50+49*Math.cos(h),cy:50+49*Math.sin(h),r:"1.2",fill:"currentColor",fillOpacity:"0.5"},c)}),t.jsx("circle",{cx:"50",cy:"50",r:"11",fill:"currentColor"}),t.jsx("circle",{cx:"50",cy:"50",r:"7",fill:"currentColor",fillOpacity:"0.5"}),t.jsx("circle",{cx:"50",cy:"50",r:"3.5",fill:"#050A15"})]})}function vo({size:i=28,style:e={}}){return t.jsxs("svg",{width:i,height:i*1.8,viewBox:"0 0 40 72",style:{color:"#F5C518",...e},children:[t.jsx("path",{d:"M 20 3 C 30 10 37 26 37 40 C 37 56 30 66 20 69 C 10 66 3 56 3 40 C 3 26 10 10 20 3 Z",fill:"currentColor",fillOpacity:"0.7"}),t.jsx("line",{x1:"20",y1:"6",x2:"20",y2:"66",stroke:"currentColor",strokeWidth:"0.8",strokeOpacity:"0.4"})]})}function wo({size:i=32,style:e={}}){return t.jsxs("svg",{width:i,height:i*1.4,viewBox:"0 0 50 70",style:{color:"#F5C518",...e},children:[t.jsx("path",{d:"M 25 2 C 44 8 50 28 42 46 C 36 58 30 65 25 68 C 20 65 14 58 8 46 C 0 28 6 8 25 2 Z",fill:"currentColor",fillOpacity:"0.55"}),t.jsx("line",{x1:"25",y1:"5",x2:"25",y2:"65",stroke:"currentColor",strokeWidth:"1",strokeOpacity:"0.4"}),[20,32,44].map(o=>t.jsxs("g",{children:[t.jsx("line",{x1:"25",y1:o,x2:38,y2:o-5,stroke:"currentColor",strokeWidth:"0.7",strokeOpacity:"0.35"}),t.jsx("line",{x1:"25",y1:o,x2:12,y2:o-5,stroke:"currentColor",strokeWidth:"0.7",strokeOpacity:"0.35"})]},o))]})}const Ur="#8B5A0A",Kr="#A03868",ko=[{type:"petal",x:10,size:26,delay:0,dur:18,rot:20,color:Kr},{type:"leaf",x:35,size:28,delay:4.5,dur:22,rot:-15,color:Ur},{type:"petal",x:65,size:24,delay:2.2,dur:17,rot:50,color:Kr},{type:"leaf",x:88,size:26,delay:7,dur:20,rot:-25,color:Ur}];function So(){return t.jsx("div",{"aria-hidden":"true",style:{position:"fixed",inset:0,zIndex:0,pointerEvents:"none",overflow:"hidden"},children:ko.map((i,e)=>{const o=i.type==="petal"?vo:wo;return t.jsx("div",{style:{position:"absolute",bottom:"-80px",left:`${i.x}%`,animation:`buddhist-rise ${i.dur}s ${i.delay}s ease-in-out infinite`},children:t.jsx(o,{size:i.size,style:{transform:`rotate(${i.rot}deg)`,opacity:.45,color:i.color}})},e)})})}function Ye(){const i=Array.from({length:8},(e,o)=>{const r=(o*45-90)*(Math.PI/180);return{x1:16+3.5*Math.cos(r),y1:16+3.5*Math.sin(r),x2:16+14*Math.cos(r),y2:16+14*Math.sin(r)}});return t.jsxs("div",{"aria-hidden":"true",style:{display:"flex",alignItems:"center",justifyContent:"center",gap:16,padding:"0 24px",margin:"-32px 0",position:"relative",zIndex:1},children:[t.jsxs("div",{style:{flex:1,display:"flex",alignItems:"center",gap:12,justifyContent:"flex-end"},children:[t.jsx("div",{style:{height:1,flex:1,background:"linear-gradient(to right, transparent, rgba(175,110,20,0.35))"}}),[0,1,2].map(e=>t.jsx("div",{style:{width:3,height:3,borderRadius:"50%",background:`rgba(175,110,20,${.3+e*.15})`,flexShrink:0}},e))]}),t.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",style:{opacity:.55,animation:"buddhist-spin 30s linear infinite",flexShrink:0},children:[t.jsx("circle",{cx:"16",cy:"16",r:"14.5",fill:"none",stroke:"#C4860A",strokeWidth:"1.2"}),t.jsx("circle",{cx:"16",cy:"16",r:"9",fill:"none",stroke:"#C4860A",strokeWidth:"0.6"}),t.jsx("circle",{cx:"16",cy:"16",r:"3",fill:"none",stroke:"#C4860A",strokeWidth:"1.2"}),t.jsx("circle",{cx:"16",cy:"16",r:"1.2",fill:"#C4860A"}),i.map((e,o)=>t.jsx("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:"#C4860A",strokeWidth:"0.9",strokeLinecap:"round"},o))]}),t.jsxs("div",{style:{flex:1,display:"flex",alignItems:"center",gap:12},children:[[2,1,0].map(e=>t.jsx("div",{style:{width:3,height:3,borderRadius:"50%",background:`rgba(175,110,20,${.3+e*.15})`,flexShrink:0}},e)),t.jsx("div",{style:{height:1,flex:1,background:"linear-gradient(to left, transparent, rgba(175,110,20,0.35))"}})]})]})}/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jo=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zn=(...i)=>i.filter((e,o,r)=>!!e&&r.indexOf(e)===o).join(" ");/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var Co={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"};/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _o=P.forwardRef(({color:i="currentColor",size:e=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:n="",children:s,iconNode:l,...a},c)=>P.createElement("svg",{ref:c,...Co,width:e,height:e,stroke:i,strokeWidth:r?Number(o)*24/Number(e):o,className:zn("lucide",n),...a},[...l.map(([h,g])=>P.createElement(h,g)),...Array.isArray(s)?s:[s]]));/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const K=(i,e)=>{const o=P.forwardRef(({className:r,...n},s)=>P.createElement(_o,{ref:s,iconNode:e,className:zn(`lucide-${jo(i)}`,r),...n}));return o.displayName=`${i}`,o};/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Io=K("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const To=K("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ur=K("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Mo=K("CircleCheckBig",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const zo=K("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const An=K("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ao=K("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qe=K("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Eo=K("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Fo=K("Flower",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5",key:"14wa3c"}],["path",{d:"M12 7.5V9",key:"1oy5b0"}],["path",{d:"M7.5 12H9",key:"eltsq1"}],["path",{d:"M16.5 12H15",key:"vk5kw4"}],["path",{d:"M12 16.5V15",key:"k7eayi"}],["path",{d:"m8 8 1.88 1.88",key:"nxy4qf"}],["path",{d:"M14.12 9.88 16 8",key:"1lst6k"}],["path",{d:"m8 16 1.88-1.88",key:"h2eex1"}],["path",{d:"M14.12 14.12 16 16",key:"uqkrx3"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Do=K("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const No=K("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wo=K("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bo=K("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Lo=K("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const En=K("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ro=K("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Po=K("Mountain",[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Oo=K("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ho=K("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vo=K("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yo=K("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $o=K("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/** * @license lucide-react v0.395.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Pi=K("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Fn={en:{nav:{themes:"Themes",samples:"Samples",timeline:"Timeline",rules:"Rules",gallery:"Gallery",winners:"Winners",generateCard:"Generate Now with Dialog AI",generateFreeCard:"Generate Free Card with Dialog AI"},hero:{badgePrefix:"Powered by",title:"National AI Vesak Greeting Card Competition 2026",subtitle:"Where traditional spirituality meets the future of artificial intelligence. Create your digital masterpiece and share the light.",cta1:"Generate with Dialog AI",cta2:"Explore Themes ↓",ctaSubmit:"Submit Your Entry",checklistToggle:"What you'll need to submit"},about:{eyebrow:"The Initiative",title:"A National Celebration of AI & Culture",p1:"The National AI Vesak Greeting Card Competition 2026 is a collaborative initiative between Dialog Axiata PLC and the Government of Sri Lanka, celebrating the intersection of ancient Buddhist traditions and modern artificial intelligence.",p1bold:"National AI Vesak Greeting Card Competition 2026",p2:"This competition invites citizens across the nation to explore AI as a creative tool — generating beautiful, meaningful Vesak greeting cards that honor our heritage while embracing the future.",stat1:"Themes",stat2:"Prize Winners",stat3:"Certificates",stat4:"Creativity",dialogDesc:"Primary Organizer & Technology Partner",govDesc:"Endorsed by · Ministry of Buddhasasana Religious and Cultural Affairs",swarnavahiniDesc:"Media Partner"},themes:{eyebrow:"5 Themes · Infinite Creativity",title:"The Pillars of Vesak",subtitle:"Choose a theme that speaks to your heart. Let AI bring your vision to life.",items:[{title:"The Light of Vesak: From Darkness to Awakening",desc:"Vesak reminds us of the Buddha's birth, enlightenment, and passing away — a sacred moment that brings light to the hearts of millions. This theme invites participants to create Vesak cards that show the light of wisdom overcoming darkness, fear, and confusion. Designs may include Vesak lanterns, lamps, temples, Bodhi leaves, peaceful night skies, or symbolic images of awakening and hope."},{title:"Metta for All Beings: Compassion Without Boundaries",desc:"At the heart of Buddhism is Metta, or loving-kindness toward all living beings. This theme celebrates compassion, kindness, and goodwill that extend beyond family, community, religion, and nation. Participants are invited to create cards that express peace, harmony, care for others, respect for nature, and the wish that all beings may be happy and free from suffering."},{title:"Dana: The Joy of Giving",desc:"Vesak is a time when generosity comes alive through dansal, offerings, sharing, and acts of service. This theme focuses on Dana, the noble practice of giving with a pure heart. Participants may create Vesak cards that show the joy of helping others, feeding the hungry, sharing with strangers, caring for elders, or giving without expecting anything in return."},{title:"The Lotus Path: Purity Amidst the World",desc:"The lotus is a powerful Buddhist symbol. Though it rises from muddy water, it blooms beautifully and remains unstained. This theme invites participants to reflect on purity, inner strength, and spiritual growth. Designs may show lotus flowers, still water, morning light, Bodhi leaves, or peaceful scenes that represent the human journey toward goodness, wisdom, and serenity."},{title:"The Noble Path to Peace: Simplicity, Mindfulness, and Inner Calm",desc:"The Buddha's teaching shows a path toward peace through right understanding, right conduct, mindfulness, and compassion. This theme encourages participants to create Vesak cards that express calmness, simplicity, reflection, and inner peace. Designs may include meditation, quiet temple paths, Bodhi trees, lamps, gentle landscapes, or images that inspire people to live with wisdom and kindness."}]},samples:{eyebrow:"Get Inspired",title:"Sample Creations",subtitle:"Here are some examples of the kind of beautiful Vesak greeting cards you can create. Pick a theme and let your imagination guide you.",promptLabel:"Sample prompt:",comingSoon:"Sample image coming soon",tryPrompt:"Try this prompt with Dialog AI",items:[{theme:"Theme A — The Light of Vesak",prompt:"A glowing Vesak lantern floating against a serene night sky, golden light radiating from within, Buddhist temple silhouette in the background, lotus flowers in the foreground, soft watercolor style"},{theme:"Theme B — Metta for All Beings",prompt:"Hands of different people gently reaching toward each other, surrounded by blooming lotus flowers, warm golden light, peaceful sky, harmony and kindness, rich cultural details"},{theme:"Theme C — Dana: The Joy of Giving",prompt:"A joyful dansal scene, colorful offerings and flowers, elders and children sharing food under a Bodhi tree, vibrant warm tones, community celebration atmosphere"}]},howItWorks:{eyebrow:"Simple & Free",title:"How to Participate",cta:"Generate Now with Dialog AI",rulesLink:"View full rules & regulations",steps:[{title:"Create Your Vesak Greeting Card",desc:"Choose one of the 5 official Vesak themes that speaks to you. Create your Vesak greeting card your way — or try Dialog AI for a free, beautifully AI-powered creation.",hint:"Try now with Dialog AI"},{title:"Submit Your Entry",desc:"Download your creation and submit it through the official competition portal before the submission deadline.",hint:"Submit your entry"},{title:"Share & Enter",desc:"Share your Vesak card publicly on social media to officially enter the competition and spread the light of Vesak."}]},submit:{eyebrow:"Submission Portal · Opens 20 May 2026",title:"Ready to Create & Enter?",subtitle:"Join citizens across Sri Lanka in celebrating Vesak through art and creativity. It's free, open to all, and your creation could win a Dialog 5G smartphone.",cta:"Submit Your Entry",secondary:"Create with Dialog AI",note:"Portal opens 20 May 2026 · Free entry · Open to all Sri Lankans"},prizes:{eyebrow:"Rewards",title:"What You Can Win",topWinners:"Top 10 Winners",tba:"Prizes To Be Announced",tbaSub:"Ten outstanding entries will be selected by the National Judging Panel from Ministry of Buddhasasana Religious and Cultural Affairs"},timeline:{eyebrow:"Key Dates",title:"The Journey",statusLabels:{active:"Active",upcoming:"Upcoming",locked:"Coming Soon"},nodes:[{date:"20 May 2026",event:"Competition Launch & Portal Opens",detail:"The submission portal officially opens. Visit the official portal to submit your Vesak greeting card entry."},{date:"28 May 2026",event:"Submission Deadline",detail:"Last day to submit your Vesak greeting card. Ensure your entry is complete and submitted before the portal closes."},{date:"29 May 2026",event:"National Judging Panel Reviews",detail:"An esteemed national panel reviews all submissions based on creativity, cultural relevance, and artistic quality."},{date:"30 May 2026",event:"Winners Announced",detail:"Winners are revealed through official government and Dialog channels. Top 10 artworks and artist names will be proudly showcased."}]},rules:{eyebrow:"Official Rules",title:"Guidelines & Criteria",judgingIntro:"Submissions are evaluated by the National Judging Panel using the following weighted criteria:",criteria:[{label:"Creativity & Originality"},{label:"Vesak Cultural Relevance"},{label:"Artistic Quality"}],items:[{title:"Eligibility",content:"Open to all Sri Lankan citizens. No age restriction applies. Participation is completely free of charge."},{title:"How to Enter",content:"Choose one of the 5 official Vesak themes. Create your Vesak greeting card and submit it through the official competition portal. Download and share your entry to complete your registration."},{title:"Artwork Requirements",content:"Submissions may be created using any artistic tool or medium. Participants are warmly encouraged to try Dialog AI at ai.dialog.lk — a free platform that makes creating stunning AI artwork effortless. A maximum of one entry per theme per person is allowed (up to 5 entries total)."},{title:"Judging Criteria",content:null,special:"judging"},{title:"Intellectual Property",content:"By entering, participants grant Dialog Axiata PLC the right to use submitted artwork for promotional and archival purposes. Participants retain moral rights."},{title:"Disqualification",content:"Offensive, plagiarized, or duplicate content will be disqualified. Submissions must be original works created for this competition. All decisions by the organizing committee are final and binding."},{title:"Winner Notification",content:"Winners will be officially notified by the Government of Sri Lanka through designated official channels. Results will be publicly announced on Vesak Poya Day. Stay tuned to official government and Dialog communications for updates."}]},gallery:{eyebrow:"Competition Entries",title:"The Gallery",subtitle:"All submitted artworks will be displayed here after the submission period closes.",comingSoon:"Gallery Opens After Submissions Close",notice:"Submit your Vesak greeting card before the deadline to be featured in the official gallery.",cta:"Submit Your Entry Now"},winners:{eyebrow:"Hall of Fame",title:"The 2026 Winners",subtitle:"Winners will be announced on Vesak Poya Day. Stay tuned.",comingSoon:"Coming Soon",toBeAnnounced:"To Be Announced",notice:"After judging is complete, winning artworks and artist names will be proudly showcased here for the nation to celebrate.",placeLabels:{"1st":"1st Place","2nd":"2nd Place","3rd":"3rd Place"}},footer:{organizedBy:"Organized By",mediaPartner:"Media Partner",quickLinks:"Quick Links",connect:"Connect",legal:"Legal",govLabel:`Ministry of Buddhasasana Religious and Cultural Affairs`,links:["Themes","Timeline","Rules","Winners"],legalLinks:["Terms & Conditions","Privacy Policy","Cookie Policy"],copyright:"© 2026 Dialog Axiata PLC. All Rights Reserved. National AI Vesak Greeting Card Competition."}},si:{nav:{themes:"තේමා",samples:"නිදසුන්",timeline:"කාල සීමාව",rules:"නීති රෙගුලාසි",gallery:"ගැලරිය",winners:"ජයග්‍රාහකයින්",generateCard:"Dialog AI සමඟ නිර්මාණය කරන්න",generateFreeCard:"Dialog AI සමඟින් නොමිලේ කාඩ්පතක් සාදන්න"},hero:{badgePrefix:"බලගන්වන්නේ",title:"ජාතික AI වෙසක් සුබපැතුම් පත් තරගාවලිය 2026",subtitle:"අධ්‍යාත්මිකත්වයේ සහ කෘතිම බුද්ධියේ සුසංයෝගය.",cta1:"Dialog AI සමඟින් නිර්මාණය කරන්න",cta2:"තේමා ගවේෂණය ↓",ctaSubmit:"නිර්මාණය ඉදිරිපත් කරන්න",checklistToggle:"ඉදිරිපත් කිරීමට අවශ්‍ය දෑ"},about:{eyebrow:"වැඩසටහන",title:"AI සහ සංස්කෘතියේ ජාතික සැමරුම",p1:"ජාතික AI වෙසක් සුබපැතුම්පත් තරගාවලිය 2026 යනු Dialog Axiata PLC සහ ශ්‍රී ලංකා රජය එක්ව පවත්වනු ලබන වැඩසටහනකි. මෙහිදී පෞරාණික බෞද්ධ සම්ප්‍රදායන් සහ නවීන කෘතිම බුද්ධිය අතර ඇති සහසම්බන්ධය අගය කරනු ලබයි.",p1bold:"National AI Vesak Greeting Card Competition 2026",p2:"මෙම තරගාවලිය මගින් අපගේ උරුමයට ගරු කරමින් අනාගතය වැළඳගන්නා, අලංකාර සහ අර්ථවත් වෙසක් සුබපැතුම්පත් නිර්මාණය කිරීම සඳහා කෘතිම බුද්ධිය (AI) නිර්මාණාත්මක මෙවලමක් ලෙස ගවේෂණය කිරීමට රටපුරා සිටින පුරවැසියන්ට ආරාධනා කරයි.",stat1:"තේමා",stat2:"ජයග්‍රාහකයින්",stat3:"සහතික පත්‍ර",stat4:"නිර්මාණශීලිත්වය",dialogDesc:"ප්‍රධාන සංවිධායක සහ තාක්ෂණික හවුල්කරු",govDesc:"Endorsed by · Ministry of Buddhasasana Religious and Cultural Affairs",swarnavahiniDesc:"නිල මාධ්‍ය සහකරු"},themes:{eyebrow:"තේමා 5 · අසීමිත නිර්මාණශීලිත්වය",title:"වෙසක් උත්සවයේ පදනම",subtitle:"ඔබේ හදවතට වඩාත් සමීපතම තේමාව තෝරා ගන්න.ඔබේ දැක්ම යථාර්ථයක් කිරීමට AI තාක්ෂණයට ඉඩ දෙන්න.",items:[{title:"වෙසක් ආලෝකය: අඳුරෙන් මිදී",desc:"වෙසක් උත්සවය මගින් බුදුන් වහන්සේගේ තෙමඟුල සිහිපත් කෙරේ. ප්‍රඥාවේ ආලෝකය මගින් අන්ධකාරය, බිය සහ ව්‍යාකූලත්වය ජය ගන්නා ආකාරය නිරූපණය කරන වෙසක් සුබ පැතුම් පත් නිර්මාණය කිරීමට මෙම තේමාව යටතේ ඔබට හැකියාව ඇත. නිර්මාණ සඳහා වෙසක් කූඩු, පහන්, විහාරස්ථාන, බෝපත්, සාමකාමි රාත්‍රි අහස හෝ බලාපොරොත්තුවේ සහ පිබිදීමේ සංකේතාත්මක රූප භාවිතා කළ හැකිය."},{title:"සකල සත්වයා කෙරෙහි මෛත්‍රිය: සීමා මායිම් නැති කරුණාව",desc:"සියලු ජීවින් කෙරෙහි මෛත්‍රී වැඩිය යුතු බව බුදුදහමේ එන ඉගැන්වීමකි. පවුල, ආගම සහ ජාතිය මායිම් නොකරන කරුණාව සහ දයාව මෙම තේමාවෙන් නිරූපණය වේ. සාමය, සංහිඳියාව, සොබාදහමට ගරු කිරීම සහ සියලු සත්වයන් සුවපත් වේවා යන ප්‍රාර්ථනාව විදහා දක්වන නිර්මාණ මෙහිදී සිදු කළ හැකිය."},{title:"දානය: පරිත්‍යාගයෙන් සැනසීම",desc:"වෙසක් සමය යනු දන්දීම ඔස්සේ පරිත්‍යාගශීලිත්වය ඉස්මතු වන කාලයකි. පිරිසිදු සිතින් අන් අයට උපකාර කිරීම, කුසගින්නෙන් පෙළෙන්නන්ට ආහාර ලබා දීම, වැඩිහිටියන් රැකබලා ගැනීම හෝ කිසිදු ප්‍රතිලාභයක් අපේක්ෂා නොකර යමක් ලබා දීම මෙහිදී නිරූපණය කළ හැකිය."},{title:"මඩේ හටගෙන අලංකාරව පිපෙන නෙලුම් මල: පාරිශුද්ධත්වයේ සංකේතය",desc:"නෙලුම් මල බුදුදහමේ එන පාරිශුද්ධභාවය කියාදෙන සංකේතයයි. මඩ වතුරෙන් උපත ලැබුවද, එය කිසිදු කිලිටි වීමකින් තොරව අලංකාරව පිපෙයි. පාරිශුද්ධත්වය සහ ආධ්‍යාත්මික වර්ධනය පිළිබඳව මෙනෙහි කිරීමට මෙම තේමාව ඔබට ඇරයුම් කරයි. නෙලුම් මල්, නිසල ජලය, උදෑසන හිරු රැස් හෝ මිනිස් ජීවිතයේ යහපත් බව නිරූපණය වන දර්ශන නිර්මාණ සඳහා යොදා ගත හැකිය."},{title:"නිවීම කරා යන ආර්ය මාර්ගය: සරල බව, සතිය සහ ආධ්‍යාත්මික සුවය",desc:"නිවැරදි අවබෝධය, හික්මීම සහ මෛත්‍රිය ඔස්සේ නිවීම කරා යන මාර්ගය බුදුදහම පෙන්වා දෙයි. සන්සුන් බව, සරල බව සහ අභ්‍යන්තර නිවීම ප්‍රකාශ කරන වෙසක් සුබපැතුම්පත් නිර්මාණය කිරීමට මෙම තේමාව මගින් උනන්දු කරයි. භාවනාව, විහාරස්ථාන, පහන් ආදිය මෙන්ම මානව දයාව ඉස්මතු වන නිර්මාණ මෙහිදී සිදු කළ හැකිය."}]},samples:{eyebrow:"ආදර්ශ ලබාගන්න",title:"නිදසුන් නිර්මාණ",subtitle:"ඔබට නිර්මාණය කළ හැකි අලංකාර වෙසක් සුබපැතුම්පත් කිහිපයක් පහතින් දැක්වේ. තේමාවක් තෝරා ඔබේ නිර්මාණශීලිත්වය විදහා දක්වන්න.",promptLabel:"නිදසුන් විධානය (Prompt):",comingSoon:"නිදසුන් රූපය ඉක්මනින් බලාපොරොත්තු වන්න",tryPrompt:"Dialog AI සමඟ මෙම විධානය අත්හදා බලන්න",items:[{theme:"තේමාව A — වෙසක් ආලෝකය"},{theme:"තේමාව B — සකල සත්වයා කෙරෙහි මෙත්තාව"},{theme:"තේමා C — දානය: පරිත්‍යාගයේ ප්‍රීතිය"}]},howItWorks:{eyebrow:"සරල සහ සම්පූර්ණයෙන් නොමිලේ",title:"සහභාගී වන්නේ කෙසේද?",cta:"Dialog AI සමඟ නිර්මාණය කරන්න",rulesLink:"සම්පූර්ණ නීති සහ රෙගුලාසි බලන්න",steps:[{title:"ඔබේ වෙසක් සුබපැතුම්පත නිර්මාණය කරන්න",desc:"ලබා දී ඇති නිල වෙසක් තේමා 5 න් කැමති එකක් තෝරාගන්න. ඔබේම ක්‍රමයට වෙසක් සුබපැතුම්පත නිර්මාණය කරන්න — එසේත් නැතිනම් Dialog AI හරහා නොමිලේ අලංකාර නිර්මාණයක් සිදු කරන්න.",hint:"Dialog AI සමඟ දැන්ම අත්හදා බලන්න"},{title:"ඔබේ නිර්මාණය ඉදිරිපත් කරන්න",desc:"ඔබ නිර්මාණය කළ සුබපැතුම්පත බාගත (Download) කර, අවසන් දිනයට පෙර නිල තරග ද්වාරය හරහා ඉදිරිපත් කරන්න.",hint:"නිර්මාණය ඉදිරිපත් කරන්න"},{title:"බෙදාහදා ගෙන තරගයට එක්වන්න",desc:"ඔබේ වෙසක් සුබපැතුම්පත සමාජ මාධ්‍ය ඔස්සේ ප්‍රසිද්ධියේ බෙදාගන්න. එවිට ඔබ නිල වශයෙන් තරගයට ඇතුළත් වනු ඇත."}]},submit:{eyebrow:"ඉදිරිපත් කිරීමේ ද්වාරය · 20 May 2026 දින විවෘත වේ",title:"නිර්මාණය කර තරගයට එක්වීමට සූදානම්ද?",subtitle:"කලාව සහ නිර්මාණශීලිත්වය හරහා වෙසක් සැමරීමට සියලු ශ්‍රී ලාංකිකයන් සමඟ ඔබත් එක්වන්න. මෙම තරගය නොමිලේ පවත්වනු ලබන අතර ඔබ සැමට විවෘත වේ. ඔබගේ නිර්මාණයට Dialog 5G ස්මාර්ට් ජංගම දුරකථනයක් දිනා ගැනීමට ද අවස්ථාව ඇත.",cta:"ඔබේ නිර්මාණය ඉදිරිපත් කරන්න",secondary:"Dialog AI සමඟ සාදන්න",note:"Portal opens 20 May 2026 · සියලු ශ්‍රී ලාංකිකයන් සමඟ ඔබත් එක්වන්න. ඔබ සැමට විවෘත වේ."},prizes:{eyebrow:"ත්‍යාග",title:"ඔබට දිනාගත හැකි දේ",topWinners:"ජය ග්‍රාහකයන් 10",tba:"ත්‍යාග ළඟදීම නිවේදනය කෙරේ",tbaSub:"බුද්ධශාසන, ආගමික හා සංස්කෘතික කටයුතු අමාත්‍යාංශය විසින් පත්කරන තීරණ කමිටුව මඟින් විශිෂ්ඨතම නිර්මාණ දහය තෝරා ගනු ලැබේ."},timeline:{eyebrow:"වැදගත් දිනයන්",title:"තරගයේ ගමන් මග",statusLabels:{active:"සක්‍රීය",upcoming:"ඉදිරියට",locked:"ළඟදීම"},nodes:[{date:"20 May 2026",event:"තරගය ආරම්භ කිරීම සහ වෙබ් අඩවිය විවෘත කිරීම",detail:"ඉදිරිපත් කිරීමේ ද්වාරය නිල වශයෙන් විවෘත කෙරේ. ඔබේ වෙසක් සුබපැතුම්පත ඉදිරිපත් කිරීමට නිල ද්වාරයට පිවිසෙන්න."},{date:"28 May 2026",event:"නිර්මාණ ඉදිරිපත් කළ හැකි අවසන් දිනය",detail:"ඔබේ වෙසක් සුබපැතුම්පත ඉදිරිපත් කළ හැකි අවසන් දිනය මෙය වේ. ඔබගේ අයදුම්පත සම්පූර්ණ බව සහ ඉදිරිපත් කළ බව තහවුරු කරගන්න."},{date:"29 May 2026",event:"ජාතික විනිශ්චය මණ්ඩල සමාලෝචනය",detail:"නිර්මාණශීලිත්වය, සංස්කෘතික අදාළත්වය සහ කලාත්මක ගුණාත්මකභාවය මත පදනම්ව ජාතික විනිශ්චය මණ්ඩලයක් මඟින් ඉදිරිපත් කිරීම් සමාලෝචනය කරයි."},{date:"30 May 2026",event:"ජයග්‍රාහකයින් ප්‍රකාශයට පත් කිරීම",detail:"රජයේ සහ Dialog නිල නාලිකා ඔස්සේ ජයග්‍රාහකයින් ප්‍රකාශයට පත් කෙරේ. ජය ගත් කලා කෘති 10 සහ කලාකරුවන්ගේ නම් ගෞරවාන්විතව ප්‍රදර්ශනය කෙරේ."}]},rules:{eyebrow:"නීති රෙගුලාසි",title:"මාර්ගෝපදේශ සහ නිර්ණායක",judgingIntro:"පහත සඳහන් නිර්ණායක පදනම් කරගනිමින් ජාතික විනිශ්චය මණ්ඩලය විසින් නිර්මාණ ඇගයීමට ලක් කරනු ලැබේ:",criteria:[{label:"නිර්මාණශීලිත්වය සහ ස්වතන්ත්‍රභාවය (Originality)"},{label:"වෙසක් සංස්කෘතික අදාළත්වය"},{label:"කලාත්මක ගුණාත්මකභාවය"}],items:[{title:"සුදුසුකම්",content:"සියලුම ශ්‍රී ලාංකික පුරවැසියන් සඳහා විවෘතයි. වයස් සීමාවක් නොමැත. සහභාගී වීම සම්පූර්ණයෙන්ම නොමිලේ."},{title:"ඇතුළත් වන්නේ කෙසේද",content:"නිල වෙසක් තේමා 5 න් එකක් තෝරන්න. ඔබේ සුබ පැතුම් පත සාදා නිල තරඟ ද්වාරය හරහා ඉදිරිපත් කරන්න. ඔබේ ඇතුළත් කිරීම සම්පූර්ණ කිරීමට බාගත කර බෙදාගන්න."},{title:"නිර්මාණ අවශ්‍යතා",content:"ඕනෑම කලා මෙවලමක් හෝ මාධ්‍යයක් භාවිතයෙන් නිර්මාණ සිදු කළ හැකිය. පහසුවෙන් අලංකාර AI නිර්මාණ සිදු කළ හැකි ai.dialog.lk හි ඇති Dialog AI අත්හදා බැලීමටද ඔබට අවස්ථාව හිමි වේ. එක් පුද්ගලයෙකුට එක් තේමාවක් යටතේ ඉදිරිපත් කළ හැක්කේ එක් නිර්මාණයක් පමණි (උපරිම නිර්මාණ 5 ක් දක්වා)."},{title:"විනිශ්චය නිර්ණායක",content:null,special:"judging"},{title:"බුද්ධිමය දේපල",content:"ඇතුළත් වීමෙන්, සහභාගිවන්නන් ප්‍රවර්ධන සහ සංරක්ෂණ අරමුණු සඳහා ඉදිරිපත් කළ කලා කෘති භාවිතය සඳහා Dialog Axiata PLC ට අයිතිය ලබා දෙයි. සහභාගිවන්නන් සදාචාරාත්මක අයිතිවාසිකම් රඳවා ගනී."},{title:"තරඟයෙන් ඉවත් කිරීම",content:"අශෝභන, වෙනත් කෙනෙකුගෙන් ලබාගත් හෝ අනුකරණය කරන ලද නිර්මාණ තරගයෙන් ඉවත් කරනු ලැබේ. ඉදිරිපත් කරන නිර්මාණ මෙම තරගය සඳහාම නිපදවන ලද ස්වතන්ත්‍ර නිර්මාණ විය යුතුය. සංවිධාන කමිටුවේ තීරණය අවසන් තීරණය වේ."},{title:"ජයග්‍රාහකයින් දැනුම් දීම",content:"ජයග්‍රාහකයින් ශ්‍රී ලංකා රජය විසින් නිල නාලිකා හරහා දැනුම් දෙනු ලැබේ. ප්‍රතිඵල වෙසක් පොහොය දිනයේ ප්‍රසිද්ධියේ නිවේදනය කෙරේ. නිල රජයේ සහ Dialog නිවේදන සඳහා රැඳී සිටින්න."}]},gallery:{eyebrow:"තරගයේ නිර්මාණ",title:"ගැලරිය",subtitle:"නිර්මාණ ඉදිරිපත් කරන කාලසීමාව අවසන් වූ පසු, ඉදිරිපත් කරන ලද සියලුම නිර්මාණ මෙහි ප්‍රදර්ශනය කෙරෙනු ඇත.",comingSoon:"ඉදිරිපත් කිරීම් අවසන් වීමෙන් පසු ගැලරිය විවෘත වේ",notice:"නිල ගැලරියට ඇතුළත් වීම සඳහා අවසන් දිනයට පෙර ඔබේ වෙසක් සුබපැතුම්පත ඉදිරිපත් කරන්න.",cta:"දැන් ඇතුළත් කිරීම ඉදිරිපත් කරන්න"},winners:{eyebrow:"Hall of Fame",title:"2026 ජයග්‍රාහකයින්",subtitle:"වෙසක් පොහෝ දිනයේ ජයග්‍රාහකයින් නිවේදනය කරනු ලැබේ. රැඳී සිටින්න.",comingSoon:"ඉක්මන",toBeAnnounced:"නිවේදනය කෙරේ",notice:"විනිශ්චය සම්පූර්ණ වූ පසු, ජය ගත් කලා කෘති සහ කලාකරුවන්ගේ නම් ජාතිය සැමරීමට ගෞරවාන්විතව මෙහි ප්‍රදර්ශනය කෙරේ.",placeLabels:{"1st":"1 වැනි ස්ථානය","2nd":"2 වැනි ස්ථානය","3rd":"3 වැනි ස්ථානය"}},footer:{organizedBy:"සංවිධානය",mediaPartner:"මාධ්‍ය හවුල්කරු",quickLinks:"ඉක්මන් සබැඳි",connect:"සම්බන්ධ වන්න",legal:"නීතිමය",govLabel:`Ministry of Buddhasasana Religious and Cultural Affairs`,links:["තේමා","කාල රේඛාව","නීති රෙගුලාසි","ජයග්‍රාහකයන්"],legalLinks:["නියම සහ කොන්දේසි","පෞද්ගලිකත්ව ප්‍රතිපත්තිය","කුකී ප්‍රතිපත්තිය"],copyright:"© 2026 Dialog Axiata PLC. සියලු හිමිකම් ඇවිරිණි. ජාතික AI වෙසක් සුබපැතුම්පත් තරගාවලිය."}}},Dn=P.createContext();function Xo({children:i}){const[e,o]=P.useState("si"),r=n=>{const s=n.split(".");let l=Fn[e];for(const a of s){if(l==null)return n;l=l[a]}return l??n};return t.jsx(Dn.Provider,{value:{lang:e,setLang:o,t:r},children:i})}const rt=()=>P.useContext(Dn),Qr=[{key:"themes",href:"#themes"},{key:"samples",href:"#samples"},{key:"timeline",href:"#timeline"},{key:"rules",href:"#rules"}],Zr=(i,e)=>{e&&e();const o=document.querySelector(i);o&&o.scrollIntoView({behavior:"smooth"})};function Go(){const{lang:i,setLang:e,t:o}=rt(),[r,n]=P.useState(!1),[s,l]=P.useState(!1);P.useEffect(()=>{const c=()=>n(window.scrollY>100);return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),P.useEffect(()=>(document.body.style.overflow=s?"hidden":"",()=>{document.body.style.overflow=""}),[s]);const a=()=>l(!1);return t.jsxs(t.Fragment,{children:[t.jsx("header",{role:"banner",style:{position:"fixed",top:0,left:0,right:0,zIndex:1e3,transition:"background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease",background:r?"rgba(253,246,232,0.94)":"transparent",backdropFilter:r?"blur(20px)":"none",WebkitBackdropFilter:r?"blur(20px)":"none",borderBottom:`1px solid ${r?"rgba(175,110,20,0.15)":"transparent"}`},children:t.jsxs("nav",{role:"navigation","aria-label":"Main navigation",style:{maxWidth:"1280px",margin:"0 auto",padding:"0 24px",height:"72px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t.jsx("a",{href:"#hero","aria-label":"Go to top",onClick:c=>{c.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})},style:{display:"flex",alignItems:"center"},children:t.jsx("img",{src:"/logos/vesak-festival-Logo.png",alt:"National Vesak Festival Matara 2026",style:{height:60,objectFit:"contain"},onError:c=>{c.currentTarget.style.display="none"}})}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:32},className:"desktop-nav",children:[Qr.map(c=>t.jsx("a",{href:c.href,"aria-label":`Go to ${o(`nav.${c.key}`)}`,onClick:h=>{h.preventDefault(),Zr(c.href)},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.875rem",fontWeight:500,color:"#8B6040",transition:"color 0.2s",cursor:"pointer"},onMouseEnter:h=>h.target.style.color="#1C0800",onMouseLeave:h=>h.target.style.color="#8B6040",children:o(`nav.${c.key}`)},c.key)),t.jsx("div",{style:{width:1,height:14,background:"rgba(175,110,20,0.30)"},"aria-hidden":"true"}),t.jsx("a",{href:"/video","aria-label":"National AI Video Competition",style:{fontFamily:"Inter, sans-serif",fontSize:"0.875rem",fontWeight:600,color:"#C4860A",transition:"color 0.2s",display:"flex",alignItems:"center",gap:4,textDecoration:"none"},onMouseEnter:c=>c.currentTarget.style.color="#1C0800",onMouseLeave:c=>c.currentTarget.style.color="#C4860A",children:"National AI Video Competition"})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[t.jsx("div",{style:{display:"flex",alignItems:"center",background:"rgba(255,215,140,0.28)",border:"1px solid rgba(175,110,20,0.22)",borderRadius:100,padding:3},children:["en","si"].map(c=>t.jsx("button",{onClick:()=>e(c),style:{padding:"5px 12px",borderRadius:100,border:"none",cursor:"pointer",fontFamily:c==="si"?"'Noto Sans Sinhala', sans-serif":"JetBrains Mono, monospace",fontSize:"0.7rem",fontWeight:600,color:i===c?"#fff":"#8B6040",background:i===c?"linear-gradient(135deg,#C4860A,#D4580A)":"transparent",transition:"all 0.2s"},children:c==="en"?"EN":"සිං"},c))}),t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer","aria-label":"Generate your free AI Vesak card",className:"desktop-nav",style:{display:"inline-flex",alignItems:"center",gap:6,padding:"9px 22px",borderRadius:100,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.82rem",fontWeight:600,color:"#fff",background:"linear-gradient(135deg,#C25280,#A03868)",boxShadow:"0 0 20px rgba(194,82,128,0.30)",transition:"all 0.3s",textDecoration:"none"},onMouseEnter:c=>{c.currentTarget.style.transform="scale(1.05)",c.currentTarget.style.boxShadow="0 0 40px rgba(194,82,128,0.5)"},onMouseLeave:c=>{c.currentTarget.style.transform="",c.currentTarget.style.boxShadow="0 0 20px rgba(194,82,128,0.30)"},children:[o("nav.generateCard")," ",t.jsx(qe,{size:12})]}),t.jsx("button",{onClick:()=>l(c=>!c),"aria-label":s?"Close menu":"Open menu","aria-expanded":s,className:"mobile-nav",style:{width:42,height:42,display:"none",alignItems:"center",justifyContent:"center",color:"#1C0800",background:"rgba(255,215,140,0.28)",border:"1px solid rgba(175,110,20,0.18)",borderRadius:8},children:s?t.jsx(Pi,{size:20}):t.jsx(En,{size:20})})]})]})}),s&&t.jsxs("div",{role:"dialog","aria-label":"Mobile navigation",style:{position:"fixed",inset:0,zIndex:1001,background:"rgba(253,246,232,0.98)",backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 24px",height:72,borderBottom:"1px solid rgba(175,110,20,0.12)"},children:[t.jsx("a",{href:"#hero",onClick:c=>{c.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),a()},style:{display:"flex",alignItems:"center",textDecoration:"none"},children:t.jsx("img",{src:"/logos/vesak-festival-Logo.png",alt:"National Vesak Festival Matara 2026",style:{height:52,objectFit:"contain"},onError:c=>{c.currentTarget.style.display="none"}})}),t.jsx("button",{onClick:a,"aria-label":"Close menu",style:{width:42,height:42,display:"flex",alignItems:"center",justifyContent:"center",color:"#1C0800",background:"rgba(255,215,140,0.28)",border:"1px solid rgba(175,110,20,0.18)",borderRadius:8,cursor:"pointer"},children:t.jsx(Pi,{size:20})})]}),t.jsxs("nav",{style:{flex:1,overflowY:"auto",padding:"8px 0"},children:[Qr.map(c=>t.jsxs("a",{href:c.href,onClick:h=>{h.preventDefault(),Zr(c.href,a)},style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"18px 28px",fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1rem",fontWeight:600,color:"#1C0800",borderBottom:"1px solid rgba(175,110,20,0.08)",textDecoration:"none",transition:"background 0.15s, color 0.15s"},onMouseEnter:h=>{h.currentTarget.style.background="rgba(196,134,10,0.07)",h.currentTarget.style.color="#C4860A"},onMouseLeave:h=>{h.currentTarget.style.background="",h.currentTarget.style.color="#1C0800"},children:[o(`nav.${c.key}`),t.jsx("span",{style:{color:"#C4860A",fontSize:"1.1rem",lineHeight:1},children:"›"})]},c.key)),t.jsxs("a",{href:"/video",onClick:a,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"18px 28px",fontFamily:"Inter, sans-serif",fontSize:"1rem",fontWeight:600,color:"#C4860A",borderBottom:"1px solid rgba(175,110,20,0.08)",textDecoration:"none",transition:"background 0.15s"},onMouseEnter:c=>c.currentTarget.style.background="rgba(196,134,10,0.07)",onMouseLeave:c=>c.currentTarget.style.background="",children:["National AI Video Competition",t.jsx("span",{style:{fontSize:"1.1rem",lineHeight:1},children:"›"})]})]}),t.jsxs("div",{style:{padding:"20px 24px 36px",borderTop:"1px solid rgba(175,110,20,0.12)",display:"flex",flexDirection:"column",gap:12},children:[t.jsxs("a",{href:"https://forms.gle/M5QwL4D7zB1QCRKE6",target:"_blank",rel:"noopener noreferrer",onClick:a,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:8,padding:"14px 24px",borderRadius:100,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.9rem",fontWeight:600,color:"#fff",background:"linear-gradient(135deg,#C25280,#A03868)",textDecoration:"none"},children:[o("hero.ctaSubmit")," ",t.jsx(qe,{size:14})]}),t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer",onClick:a,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:8,padding:"14px 24px",borderRadius:100,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.9rem",fontWeight:600,color:"#C4860A",background:"rgba(196,134,10,0.10)",border:"1px solid rgba(196,134,10,0.25)",textDecoration:"none"},children:[o("nav.generateFreeCard")," ",t.jsx(qe,{size:14})]})]})]})]})}function qo(){const{lang:i,t:e}=rt(),o=i==="si"?{fontFamily:"'Noto Sans Sinhala', sans-serif"}:{};return t.jsxs("section",{id:"hero",style:{minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",padding:"100px 24px 80px",position:"relative",zIndex:1},children:[t.jsx("div",{className:"hero-lotus",style:{position:"absolute",top:"12%",left:"4%",zIndex:-1},children:t.jsx(hr,{size:180,opacity:.08,spin:"200s"})}),t.jsx("div",{className:"hero-lotus",style:{position:"absolute",top:"12%",right:"4%",zIndex:-1},children:t.jsx(hr,{size:180,opacity:.08,spin:"200s",reverse:!0})}),t.jsx(I.h1,{initial:{opacity:0,y:32},animate:{opacity:1,y:0},transition:{duration:.8,delay:.15},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"clamp(1.75rem, 5vw, 4rem)",fontWeight:900,lineHeight:1.15,maxWidth:960,marginBottom:18,background:"linear-gradient(135deg, #1C0800 0%, rgba(92,48,16,0.65) 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:e("hero.title")}),t.jsxs(I.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.6,delay:.75},style:{display:"flex",alignItems:"center",gap:11,marginBottom:26},className:"powered-badge",children:[t.jsx("span",{className:"powered-badge-text",style:{fontFamily:"Inter, sans-serif",fontSize:"0.88rem",color:"#8B6040",letterSpacing:"0.02em"},children:e("hero.badgePrefix")}),t.jsx("img",{src:"/logos/dialog-axiata-color.png",alt:"Dialog Axiata",className:"powered-badge-logo",style:{height:47,objectFit:"contain",opacity:.88},onError:r=>{r.currentTarget.style.display="none"}})]}),t.jsx(I.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.9},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"clamp(1rem, 2.5vw, 1.2rem)",color:"#8B6040",maxWidth:640,lineHeight:1.75,marginBottom:44},children:e("hero.subtitle")}),t.jsxs(I.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6,delay:1.1},style:{display:"flex",gap:14,flexWrap:"wrap",justifyContent:"center",alignItems:"center",marginBottom:28},children:[t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer","aria-label":"Generate your free AI Vesak greeting card",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:8,padding:"12px 26px",borderRadius:100,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.88rem",fontWeight:600,color:"#7A4200",background:"linear-gradient(135deg, rgba(196,134,10,0.22) 0%, rgba(212,88,10,0.14) 100%)",border:"1.5px solid rgba(196,134,10,0.45)",boxShadow:"0 2px 12px rgba(196,134,10,0.18)",transition:"all 0.3s ease",textDecoration:"none",...o},onMouseEnter:r=>{r.currentTarget.style.background="linear-gradient(135deg, rgba(196,134,10,0.32) 0%, rgba(212,88,10,0.22) 100%)",r.currentTarget.style.boxShadow="0 4px 20px rgba(196,134,10,0.30)"},onMouseLeave:r=>{r.currentTarget.style.background="linear-gradient(135deg, rgba(196,134,10,0.22) 0%, rgba(212,88,10,0.14) 100%)",r.currentTarget.style.boxShadow="0 2px 12px rgba(196,134,10,0.18)"},children:[e("hero.cta1")," ",t.jsx(qe,{size:14})]}),t.jsxs("a",{href:"https://forms.gle/M5QwL4D7zB1QCRKE6",target:"_blank",rel:"noopener noreferrer",className:"btn-primary",style:o,"aria-label":"Submit your Vesak greeting card",children:[e("hero.ctaSubmit")," ",t.jsx(qe,{size:16})]})]}),t.jsx("div",{style:{position:"absolute",bottom:36,left:"50%",transform:"translateX(-50%)",animation:"bounce-chevron 2s ease-in-out infinite",color:"#8B6040"},"aria-hidden":"true",children:t.jsx(ur,{size:26,strokeWidth:1.5})})]})}function Jo(){const i=Array.from({length:8},(e,o)=>{const r=(o*45-90)*(Math.PI/180);return{x1:10+2.5*Math.cos(r),y1:10+2.5*Math.sin(r),x2:10+8.5*Math.cos(r),y2:10+8.5*Math.sin(r)}});return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20","aria-hidden":"true",style:{display:"inline-block",verticalAlign:"middle",marginRight:8,animation:"buddhist-spin 12s linear infinite",opacity:.8},children:[t.jsx("circle",{cx:"10",cy:"10",r:"9",fill:"none",stroke:"#C4860A",strokeWidth:"0.9"}),t.jsx("circle",{cx:"10",cy:"10",r:"5.5",fill:"none",stroke:"#C4860A",strokeWidth:"0.5"}),t.jsx("circle",{cx:"10",cy:"10",r:"2.2",fill:"none",stroke:"#C4860A",strokeWidth:"0.9"}),t.jsx("circle",{cx:"10",cy:"10",r:"1",fill:"#C4860A"}),i.map((e,o)=>t.jsx("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:"#C4860A",strokeWidth:"0.7",strokeLinecap:"round"},o))]})}function et({eyebrow:i,title:e,subtitle:o,align:r="center"}){return t.jsxs("div",{className:"section-header",style:{textAlign:r},children:[i&&t.jsxs("span",{className:"eyebrow",style:{display:"inline-flex",alignItems:"center"},children:[t.jsx(Jo,{}),i]}),t.jsx("h2",{className:"section-title",children:e}),o&&t.jsx("p",{className:"section-subtitle",style:{margin:r==="center"?"0 auto":"0"},children:o})]})}const Uo=[{num:"01",icon:Ho,img:"/images/theme1.webp",accent:"#F5C518"},{num:"02",icon:Wo,img:"/images/theme2.webp",accent:"#E879A0"},{num:"03",icon:Do,img:"/images/theme3.webp",accent:"#FF8C00"},{num:"04",icon:Fo,img:"/images/theme4.webp",accent:"#6EE7B7"},{num:"05",icon:Po,img:"/images/theme5.webp",accent:"#93C5FD"}];function Ko({theme:i,index:e,lang:o,onClick:r}){const[n,s]=P.useState(!1);return t.jsx(I.button,{onClick:()=>r(i),onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.7,delay:e*.1},style:{background:"none",border:"none",padding:0,cursor:"pointer",textAlign:"left"},children:t.jsxs(I.div,{animate:{scale:n?1.04:1},transition:{duration:.3,ease:"easeOut"},style:{background:"rgba(255,215,140,0.22)",border:`1px solid ${n?i.accent+"88":"rgba(175,110,20,0.18)"}`,borderRadius:24,overflow:"hidden",transition:"border-color 0.3s",boxShadow:n?`0 8px 40px ${i.accent}22`:"none"},children:[t.jsxs("div",{style:{position:"relative",aspectRatio:"1/1",overflow:"hidden"},children:[t.jsx("img",{src:i.img,alt:`Theme ${i.num}: ${i.title}`,style:{width:"100%",height:"100%",objectFit:"cover",transition:"transform 0.6s ease",transform:n?"scale(1.08)":"scale(1)"}}),t.jsx(I.div,{animate:{opacity:n?1:0},transition:{duration:.25},style:{position:"absolute",inset:0,background:"linear-gradient(to top, rgba(28,8,0,0.65) 0%, transparent 55%)",display:"flex",alignItems:"flex-end",padding:"12px 14px"},children:t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.62rem",letterSpacing:"0.1em",color:"rgba(255,255,255,0.85)",textTransform:"uppercase"},children:"Click to read →"})}),t.jsx("div",{style:{position:"absolute",top:14,left:14,width:36,height:36,borderRadius:"50%",background:`linear-gradient(135deg, ${i.accent}, ${i.accent}bb)`,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"JetBrains Mono, monospace",fontSize:"0.7rem",fontWeight:700,color:"#050A15"},children:i.num})]}),t.jsxs("div",{style:{padding:"14px 16px 16px",display:"flex",alignItems:"center",gap:8},children:[t.jsx(i.icon,{size:15,strokeWidth:1.5,color:i.accent,style:{flexShrink:0},"aria-hidden":"true"}),t.jsx("h3",{style:{fontFamily:o==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"0.82rem",fontWeight:700,color:"#1C0800",lineHeight:1.3,flex:1,overflow:"hidden",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},children:i.title})]})]})})}function Qo({theme:i,lang:e,onClose:o}){return P.useEffect(()=>(document.body.style.overflow=i?"hidden":"",()=>{document.body.style.overflow=""}),[i]),_n.createPortal(t.jsx(Cn,{children:i&&t.jsxs(t.Fragment,{children:[t.jsx(I.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.25},onClick:o,style:{position:"fixed",inset:0,zIndex:9e3,background:"rgba(28,8,0,0.72)",backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)"}},"backdrop"),t.jsx("div",{style:{position:"fixed",inset:0,zIndex:9001,display:"flex",alignItems:"center",justifyContent:"center",padding:"24px",pointerEvents:"none"},children:t.jsxs(I.div,{initial:{opacity:0,scale:.88,y:40},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.92,y:20},transition:{duration:.35,ease:[.22,1,.36,1]},role:"dialog","aria-modal":"true","aria-label":i.title,className:"theme-modal-body",style:{pointerEvents:"all",position:"relative",maxHeight:"88vh",borderRadius:28,overflow:"hidden",background:"rgba(253,246,232,0.97)",border:`1px solid ${i.accent}55`,boxShadow:`0 32px 80px rgba(28,8,0,0.5), 0 0 0 1px ${i.accent}22`},children:[t.jsxs("div",{className:"theme-modal-image",children:[t.jsx("img",{src:i.img,alt:i.title,style:{width:"100%",height:"100%",objectFit:"cover"}}),t.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(90deg, transparent 60%, rgba(253,246,232,0.85) 100%)"}}),t.jsx("div",{style:{position:"absolute",top:20,left:20,width:44,height:44,borderRadius:"50%",background:`linear-gradient(135deg, ${i.accent}, ${i.accent}aa)`,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"JetBrains Mono, monospace",fontSize:"0.8rem",fontWeight:700,color:"#050A15",boxShadow:`0 4px 16px ${i.accent}55`},children:i.num})]}),t.jsxs("div",{className:"theme-modal-text",style:{flex:1,padding:"44px 40px 44px 36px",overflowY:"auto",display:"flex",flexDirection:"column",justifyContent:"center",gap:20},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[t.jsx(i.icon,{size:18,strokeWidth:1.5,color:i.accent,"aria-hidden":"true"}),t.jsxs("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.66rem",letterSpacing:"0.12em",textTransform:"uppercase",color:i.accent},children:["Theme ",i.num]})]}),t.jsx("h2",{style:{fontFamily:e==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"clamp(1.1rem, 2.5vw, 1.5rem)",fontWeight:800,color:"#1C0800",lineHeight:1.25},children:i.title}),t.jsx("p",{style:{fontFamily:e==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.95rem",color:"#5C3010",lineHeight:1.78},children:i.desc}),t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer",onClick:r=>r.stopPropagation(),style:{display:"inline-flex",alignItems:"center",gap:8,padding:"11px 24px",borderRadius:100,background:`linear-gradient(135deg, ${i.accent}, ${i.accent}cc)`,color:"#050A15",fontFamily:"Inter, sans-serif",fontSize:"0.82rem",fontWeight:700,textDecoration:"none",width:"fit-content",boxShadow:`0 4px 20px ${i.accent}44`,transition:"transform 0.2s"},onMouseEnter:r=>{r.currentTarget.style.transform="scale(1.04)"},onMouseLeave:r=>{r.currentTarget.style.transform="scale(1)"},children:["Try this theme with Dialog AI ",t.jsx(qe,{size:13})]})]}),t.jsx("button",{onClick:o,"aria-label":"Close theme detail",style:{position:"absolute",top:16,right:16,width:36,height:36,borderRadius:"50%",background:"rgba(28,8,0,0.10)",border:"1px solid rgba(28,8,0,0.12)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"#5C3010",transition:"background 0.2s"},onMouseEnter:r=>r.currentTarget.style.background="rgba(28,8,0,0.18)",onMouseLeave:r=>r.currentTarget.style.background="rgba(28,8,0,0.10)",children:t.jsx(Pi,{size:16})})]},"modal")})]})}),document.body)}function Zo(){const{lang:i,t:e}=rt(),o=e("themes.items"),r=Uo.map((l,a)=>({...l,...o[a]})),[n,s]=P.useState(null);return t.jsxs("section",{id:"themes",className:"section",style:{zIndex:1,position:"relative"},children:[t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:e("themes.eyebrow"),title:e("themes.title"),subtitle:e("themes.subtitle")}),t.jsx("div",{className:"themes-grid",children:r.map((l,a)=>t.jsx(Ko,{theme:l,index:a,lang:i,onClick:s},l.num))})]}),t.jsx(Qo,{theme:n,lang:i,onClose:()=>s(null)})]})}const es=["#F5C518","#E879A0","#FF8C00"];function ts({prompt:i}){const[e,o]=P.useState(!1),r=async n=>{n.preventDefault();try{await navigator.clipboard.writeText(i),o(!0),setTimeout(()=>o(!1),2e3)}catch{}};return t.jsxs("button",{onClick:r,"aria-label":"Copy prompt",style:{display:"flex",alignItems:"center",gap:5,background:"none",border:"none",cursor:"pointer",color:e?"#6EE7B7":"#8B6040",fontFamily:"Inter, sans-serif",fontSize:"0.72rem",padding:0,transition:"color 0.2s"},children:[e?t.jsx(To,{size:12}):t.jsx(Ao,{size:12}),e?"Copied!":"Copy prompt"]})}function is({item:i,index:e,lang:o}){const r=es[e],{t:n}=rt(),s=o==="si"?{fontFamily:"'Noto Sans Sinhala', sans-serif"}:{},[l,a]=P.useState(!1),[c,h]=P.useState(`/images/sample-${e+1}.webp`),[g,x]=P.useState(!1),f=()=>{x(!0)};return t.jsxs(I.div,{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),initial:{opacity:0,y:36},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.15},transition:{duration:.7,delay:e*.1},animate:{scale:l?1.04:1,y:l?-4:0},style:{borderRadius:20,border:`1px solid ${r}44`,background:"rgba(255,246,228,0.97)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",overflow:"hidden",display:"flex",flexDirection:"column",boxShadow:l?`0 16px 56px ${r}28, 0 4px 24px rgba(28,8,0,0.09)`:"0 4px 24px rgba(28,8,0,0.07)"},children:[t.jsxs("div",{style:{aspectRatio:"4/3",background:`linear-gradient(135deg, ${r}18 0%, rgba(28,8,0,0.05) 100%)`,borderBottom:`1px solid ${r}22`,position:"relative",overflow:"hidden"},children:[g?t.jsxs("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:12},children:[t.jsx(Bo,{size:40,color:r,strokeWidth:1.2,style:{opacity:.5}}),t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.65rem",letterSpacing:"0.1em",color:r,opacity:.7,textTransform:"uppercase"},children:n("samples.comingSoon")})]}):t.jsx("img",{src:c,alt:`Sample creation ${e+1}`,onError:f,style:{width:"100%",height:"100%",objectFit:"cover",display:"block"}}),t.jsx("div",{style:{position:"absolute",top:14,left:14,padding:"3px 10px",borderRadius:100,background:`${r}22`,border:`1px solid ${r}44`,fontFamily:"JetBrains Mono, monospace",fontSize:"0.62rem",fontWeight:700,color:r},children:String(e+1).padStart(2,"0")})]}),t.jsxs("div",{style:{padding:"20px 24px",display:"flex",flexDirection:"column",gap:14,flex:1},children:[t.jsxs("div",{style:{padding:"14px 16px",borderRadius:12,background:"rgba(253,243,220,0.98)",border:"1px solid rgba(175,110,20,0.22)",borderLeft:`3px solid ${r}`},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8},children:[t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.6rem",letterSpacing:"0.12em",textTransform:"uppercase",color:"#8B6040",...s},children:n("samples.promptLabel")}),t.jsx(ts,{prompt:i.prompt})]}),t.jsx("p",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.72rem",color:"#5C3010",lineHeight:1.6,display:"-webkit-box",WebkitLineClamp:4,WebkitBoxOrient:"vertical",overflow:"hidden"},children:i.prompt})]}),t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:6,padding:"9px 18px",borderRadius:100,background:`linear-gradient(135deg, ${r}22, ${r}11)`,border:`1px solid ${r}44`,fontFamily:o==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.78rem",fontWeight:600,color:r,textDecoration:"none",transition:"background 0.2s, border-color 0.2s",marginTop:"auto"},onMouseEnter:p=>{p.currentTarget.style.background=`${r}33`,p.currentTarget.style.borderColor=`${r}77`},onMouseLeave:p=>{p.currentTarget.style.background=`${r}22`,p.currentTarget.style.borderColor=`${r}44`},children:[n("samples.tryPrompt")," ",t.jsx(qe,{size:11})]})]})]})}function rs(){const{lang:i,t:e}=rt(),o=Fn.en.samples.items,r=e("samples.items").map((s,l)=>{var a;return{...s,prompt:(a=o[l])==null?void 0:a.prompt}}),n=P.useRef(null);return P.useEffect(()=>{const s=n.current;if(!s||!window.matchMedia("(max-width: 640px)").matches)return;let l=!1;const a=()=>{l=!0},c=()=>{setTimeout(()=>{l=!1},3e3)};s.addEventListener("touchstart",a,{passive:!0}),s.addEventListener("touchend",c,{passive:!0});const h=setInterval(()=>{var x;if(l)return;const g=s.scrollWidth-s.clientWidth;s.scrollLeft>=g-5?s.scrollTo({left:0,behavior:"smooth"}):s.scrollBy({left:(((x=s.children[0])==null?void 0:x.offsetWidth)??280)+16,behavior:"smooth"})},3e3);return()=>{clearInterval(h),s.removeEventListener("touchstart",a),s.removeEventListener("touchend",c)}},[]),t.jsx("section",{id:"samples",className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:e("samples.eyebrow"),title:e("samples.title"),subtitle:e("samples.subtitle")}),t.jsx("div",{className:"samples-grid",ref:n,children:r.map((s,l)=>t.jsx(is,{item:s,index:l,lang:i},s.theme))})]})})}const en=[{label:"Full Name",hint:"Your legal name as shown on your National Identity Card"},{label:"National Identity Number (NIC)",hint:"e.g., 200012345678 or 990123456V"},{label:"Contact Number",hint:"An active Sri Lankan mobile number"},{label:"File Name Format",hint:"Rename your file as [NIC]_Theme[A/B/C/D/E] — e.g., 200012345V_ThemeA",mono:!0}],ns=[$o,Yo,Oo],os=[{border:"rgba(232,121,160,0.4)",bg:"rgba(232,121,160,0.08)",bgHover:"rgba(232,121,160,0.18)",glow:"rgba(232,121,160,0.35)",iconColor:"#E879A0",numGradient:"linear-gradient(135deg,#E879A0,#F9A8D4)",hintColor:"#E879A0"},{border:"rgba(249,115,22,0.4)",bg:"rgba(249,115,22,0.08)",bgHover:"rgba(249,115,22,0.18)",glow:"rgba(249,115,22,0.35)",iconColor:"#F97316",numGradient:"linear-gradient(135deg,#F97316,#FB923C)",hintColor:"#F97316"},{border:"rgba(245,197,24,0.4)",bg:"rgba(245,197,24,0.08)",bgHover:"rgba(245,197,24,0.18)",glow:"rgba(245,197,24,0.35)",iconColor:"#F5C518",numGradient:"linear-gradient(135deg,#F5C518,#FF8C00)",hintColor:"#F5C518"}];function ss(){const{lang:i,t:e}=rt(),o=i==="si"?{fontFamily:"'Noto Sans Sinhala', sans-serif"}:{},r=e("howItWorks.steps"),[n,s]=P.useState(!1);return t.jsx("section",{id:"how-it-works",className:"section section-pink-glow",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:e("howItWorks.eyebrow"),title:e("howItWorks.title")}),t.jsxs("div",{style:{position:"relative"},children:[t.jsx("div",{style:{position:"absolute",top:36,left:"16.67%",right:"16.67%",height:1,background:"linear-gradient(90deg, #E879A0 0%, #F97316 50%, #F5C518 100%)",opacity:.3,pointerEvents:"none"},className:"desktop-only","aria-hidden":"true"}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(240px, 1fr))",gap:32},children:r.map((l,a)=>{const c=ns[a],h=os[a];return t.jsxs(I.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:a*.15},style:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:20},children:[t.jsxs("div",{style:{width:72,height:72,borderRadius:"50%",background:h.iconColor,border:"none",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",boxShadow:`0 4px 20px ${h.glow}`,transition:"all 0.3s"},onMouseEnter:g=>{g.currentTarget.style.transform="scale(1.08)",g.currentTarget.style.boxShadow=`0 8px 32px ${h.glow}`},onMouseLeave:g=>{g.currentTarget.style.transform="scale(1)",g.currentTarget.style.boxShadow=`0 4px 20px ${h.glow}`},children:[t.jsx(c,{size:28,strokeWidth:2,color:"#fff","aria-hidden":"true"}),t.jsx("div",{style:{position:"absolute",top:-6,right:-6,width:22,height:22,borderRadius:"50%",background:h.numGradient,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"JetBrains Mono, monospace",fontSize:"0.65rem",fontWeight:700,color:"#fff"},children:a+1})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"1.1rem",fontWeight:700,color:"#1C0800",marginBottom:10},children:l.title}),t.jsx("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.9rem",color:"#8B6040",lineHeight:1.65},children:l.desc}),a===0&&l.hint&&t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:4,fontSize:"0.78rem",fontWeight:600,marginTop:10,color:h.hintColor,opacity:.9,transition:"opacity 0.2s",fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",textDecoration:"none"},onMouseEnter:g=>g.currentTarget.style.opacity="1",onMouseLeave:g=>g.currentTarget.style.opacity="0.9",children:[l.hint," ",t.jsx(qe,{size:11})]}),a===1&&l.hint&&t.jsxs("a",{href:"#submit",onClick:g=>{var x;g.preventDefault(),(x=document.querySelector("#submit"))==null||x.scrollIntoView({behavior:"smooth"})},style:{display:"inline-flex",alignItems:"center",gap:4,fontSize:"0.78rem",fontWeight:600,marginTop:10,color:h.hintColor,opacity:.9,transition:"opacity 0.2s",fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",textDecoration:"none"},onMouseEnter:g=>g.currentTarget.style.opacity="1",onMouseLeave:g=>g.currentTarget.style.opacity="0.9",children:[l.hint," ",t.jsx(qe,{size:11})]})]})]},l.title)})})]}),t.jsxs(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},style:{textAlign:"center",marginTop:64,display:"flex",flexDirection:"column",alignItems:"center",gap:18},children:[t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer",className:"btn-primary","aria-label":"Generate your AI Vesak card with Dialog AI",style:o,children:[e("howItWorks.cta")," ",t.jsx(qe,{size:16})]}),t.jsxs("div",{style:{width:"100%",maxWidth:480},children:[t.jsxs("button",{onClick:()=>s(l=>!l),style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:8,padding:"11px 20px",borderRadius:100,background:"rgba(255,215,140,0.22)",border:"1px solid rgba(175,110,20,0.22)",cursor:"pointer",fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.82rem",fontWeight:600,color:"#8B6040",transition:"background 0.2s, color 0.2s"},onMouseEnter:l=>{l.currentTarget.style.background="rgba(255,215,140,0.38)",l.currentTarget.style.color="#5C3010"},onMouseLeave:l=>{l.currentTarget.style.background="rgba(255,215,140,0.22)",l.currentTarget.style.color="#8B6040"},children:[e("hero.checklistToggle"),t.jsx(I.span,{animate:{rotate:n?180:0},transition:{duration:.25},style:{display:"flex"},children:t.jsx(ur,{size:15})})]}),t.jsx(Cn,{children:n&&t.jsx(I.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3,ease:"easeInOut"},style:{overflow:"hidden"},children:t.jsx("div",{style:{marginTop:12,borderRadius:16,border:"1px solid rgba(175,110,20,0.20)",background:"rgba(255,246,224,0.88)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",overflow:"hidden"},children:en.map((l,a)=>t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12,padding:"14px 18px",borderBottom:a{var a;l.preventDefault(),(a=document.querySelector("#rules"))==null||a.scrollIntoView({behavior:"smooth"})},style:{display:"inline-flex",alignItems:"center",gap:6,color:"#64748B",fontSize:"0.82rem",fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",transition:"color 0.2s",textDecoration:"none"},onMouseEnter:l=>l.currentTarget.style.color="#94A3B8",onMouseLeave:l=>l.currentTarget.style.color="#64748B",children:[t.jsx(Eo,{size:13,strokeWidth:1.5}),e("howItWorks.rulesLink"),t.jsx(ur,{size:13})]})]})]})})}function as(){const{lang:i,t:e}=rt(),o=i==="si"?{fontFamily:"'Noto Sans Sinhala', sans-serif"}:{};return t.jsxs("section",{id:"submit",className:"section",style:{zIndex:1,position:"relative",overflow:"hidden"},children:[t.jsx(Mn,{size:500,opacity:.05,spinDuration:"90s",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",pointerEvents:"none",zIndex:0}}),t.jsx("div",{className:"container",style:{position:"relative",zIndex:1},children:t.jsxs(I.div,{initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.8},style:{textAlign:"center",padding:"clamp(48px, 8vw, 88px) clamp(24px, 6vw, 80px)",borderRadius:32,border:"1px solid rgba(196,134,10,0.25)",background:"linear-gradient(135deg, rgba(255,215,140,0.22) 0%, rgba(255,140,0,0.08) 100%)",backdropFilter:"blur(20px)",maxWidth:820,margin:"0 auto"},children:[t.jsx(I.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},children:t.jsx("span",{style:{display:"inline-block",fontFamily:"JetBrains Mono, monospace",fontSize:"0.7rem",letterSpacing:"0.18em",textTransform:"uppercase",color:"#C4860A",background:"rgba(196,134,10,0.10)",border:"1px solid rgba(196,134,10,0.25)",padding:"5px 16px",borderRadius:100,marginBottom:28,...o},children:e("submit.eyebrow")})}),t.jsx(I.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.15},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"clamp(1.8rem, 5vw, 3rem)",fontWeight:900,color:"#1C0800",lineHeight:1.15,marginBottom:24},children:e("submit.title")}),t.jsx(I.p,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.2},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"clamp(0.95rem, 2vw, 1.1rem)",color:"#5C3010",lineHeight:1.72,maxWidth:560,margin:"0 auto 44px"},children:e("submit.subtitle")}),t.jsxs(I.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6,delay:.28},style:{display:"flex",gap:14,flexWrap:"wrap",justifyContent:"center",alignItems:"center"},children:[t.jsxs("a",{href:"https://forms.gle/M5QwL4D7zB1QCRKE6",target:"_blank",rel:"noopener noreferrer",className:"btn-primary",style:o,"aria-label":"Submit your Vesak greeting card",children:[e("submit.cta")," ",t.jsx(qe,{size:16})]}),t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer",className:"btn-ghost",style:o,"aria-label":"Create your card with Dialog AI",children:[e("submit.secondary")," ",t.jsx(qe,{size:14})]})]}),t.jsxs(I.p,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6,delay:.38},style:{display:"flex",alignItems:"center",justifyContent:"center",gap:6,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"JetBrains Mono, monospace",fontSize:"0.7rem",letterSpacing:i==="si"?0:"0.06em",color:"#8B6040",marginTop:28},children:[t.jsx(Io,{size:13,strokeWidth:1.5}),e("submit.note")]})]})})]})}function ls(){const{lang:i,t:e}=rt();return t.jsx("section",{id:"prizes",className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:e("prizes.eyebrow"),title:e("prizes.title")}),t.jsxs(I.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.7},style:{maxWidth:640,margin:"0 auto",background:"rgba(255,240,210,0.75)",border:"1px solid rgba(245,197,24,0.4)",borderRadius:24,padding:"56px 40px",textAlign:"center",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",boxShadow:"0 0 80px rgba(245,197,24,0.15), 0 20px 60px rgba(0,0,0,0.4)"},children:[t.jsx("div",{style:{marginBottom:28,display:"flex",justifyContent:"center"},children:t.jsx(Vo,{size:72,strokeWidth:1.2,color:"#F5C518",style:{filter:"drop-shadow(0 0 20px rgba(245,197,24,0.5))"},"aria-hidden":"true"})}),t.jsx("div",{style:{display:"inline-flex",alignItems:"center",padding:"6px 22px",borderRadius:100,background:"linear-gradient(135deg,#F5C518,#FF8C00)",fontFamily:"JetBrains Mono, monospace",fontSize:"0.72rem",fontWeight:700,letterSpacing:"0.08em",color:"#050A15",marginBottom:28},children:e("prizes.topWinners")}),t.jsx("h3",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"1.5rem",fontWeight:700,color:"#1C0800",marginBottom:14},children:e("prizes.tba")}),t.jsx("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.9rem",color:"#8B6040",lineHeight:1.7,maxWidth:420,margin:"0 auto"},children:e("prizes.tbaSub")})]})]})})}function cs(i,e){for(var o=0;oc?(s=n,n=m,a=l,l=T):r?n+=m:n=s+(m-s)/(T-a)*(l-a)},x=function(){s=n=r?0:n,a=l=0},f=function(m){var M=a,T=s,H=Ai();return(m||m===0)&&m!==n&&g(m),l===a||H-a>h?0:(n+(r?T:-T))/((r?H:l)-M)*1e3};return{update:g,reset:x,getVelocity:f}},ji=function(e,o){return o&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},tn=function(e){var o=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(o)>=Math.abs(r)?o:r},Pn=function(){mi=je.core.globals().ScrollTrigger,mi&&mi.core&&hs()},On=function(e){return je=e||Ln(),!or&&je&&typeof document<"u"&&document.body&&(it=window,Pt=document,Ot=Pt.documentElement,gi=Pt.body,Wn=[it,Pt,Ot,gi],je.utils.clamp,Bn=je.core.context||function(){},Ut="onpointerenter"in gi?"pointer":"mouse",Nn=ne.isTouch=it.matchMedia&&it.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in it||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ft=ne.eventTypes=("ontouchstart"in Ot?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ot?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Rn=0},500),or=1),mi||Pn(),or};$e.op=fe;N.cache=0;var ne=function(){function i(o){this.init(o)}var e=i.prototype;return e.init=function(r){or||On(je)||console.warn("Please gsap.registerPlugin(Observer)"),mi||Pn();var n=r.tolerance,s=r.dragMinimum,l=r.type,a=r.target,c=r.lineHeight,h=r.debounce,g=r.preventDefault,x=r.onStop,f=r.onStopDelay,p=r.ignore,m=r.wheelSpeed,M=r.event,T=r.onDragStart,H=r.onDragEnd,L=r.onDrag,X=r.onPress,S=r.onRelease,ge=r.onRight,V=r.onLeft,C=r.onUp,we=r.onDown,Ce=r.onChangeX,w=r.onChangeY,me=r.onChange,_=r.onToggleX,wt=r.onToggleY,de=r.onHover,De=r.onHoverEnd,Ne=r.onMove,q=r.ignoreCheck,oe=r.isNormalizer,se=r.onGestureStart,d=r.onGestureEnd,he=r.onWheel,Yt=r.onEnable,At=r.onDisable,nt=r.onClick,kt=r.scrollSpeed,_e=r.capture,ae=r.allowClicks,We=r.lockAxis,Ie=r.onLockAxis;this.target=a=Ge(a)||Ot,this.vars=r,p&&(p=je.utils.toArray(p)),n=n||1e-9,s=s||0,m=m||1,kt=kt||1,l=l||"wheel,touch,pointer",h=h!==!1,c||(c=parseFloat(it.getComputedStyle(gi).lineHeight)||22);var Et,Be,Le,O,te,Xe,Je,u=this,Ue=0,St=0,Ft=r.passive||!g&&r.passive!==!1,Z=Vt(a,$e),jt=Vt(a,fe),Dt=Z(),$t=jt(),ye=~l.indexOf("touch")&&!~l.indexOf("pointer")&&ft[0]==="pointerdown",Nt=Ei(a),ie=a.ownerDocument||Pt,ct=[0,0,0],ot=[0,0,0],Ct=0,vi=function(){return Ct=Ai()},le=function(j,Y){return(u.event=j)&&p&&us(j.target,p)||Y&&ye&&j.pointerType!=="touch"||q&&q(j,Y)},Vi=function(){u._vx.reset(),u._vy.reset(),Be.pause(),x&&x(u)},_t=function(){var j=u.deltaX=tn(ct),Y=u.deltaY=tn(ot),y=Math.abs(j)>=n,z=Math.abs(Y)>=n;me&&(y||z)&&me(u,j,Y,ct,ot),y&&(ge&&u.deltaX>0&&ge(u),V&&u.deltaX<0&&V(u),Ce&&Ce(u),_&&u.deltaX<0!=Ue<0&&_(u),Ue=u.deltaX,ct[0]=ct[1]=ct[2]=0),z&&(we&&u.deltaY>0&&we(u),C&&u.deltaY<0&&C(u),w&&w(u),wt&&u.deltaY<0!=St<0&&wt(u),St=u.deltaY,ot[0]=ot[1]=ot[2]=0),(O||Le)&&(Ne&&Ne(u),Le&&(T&&Le===1&&T(u),L&&L(u),Le=0),O=!1),Xe&&!(Xe=!1)&&Ie&&Ie(u),te&&(he(u),te=!1),Et=0},oi=function(j,Y,y){ct[y]+=j,ot[y]+=Y,u._vx.update(j),u._vy.update(Y),h?Et||(Et=requestAnimationFrame(_t)):_t()},si=function(j,Y){We&&!Je&&(u.axis=Je=Math.abs(j)>Math.abs(Y)?"x":"y",Xe=!0),Je!=="y"&&(ct[2]+=j,u._vx.update(j,!0)),Je!=="x"&&(ot[2]+=Y,u._vy.update(Y,!0)),h?Et||(Et=requestAnimationFrame(_t)):_t()},Wt=function(j){if(!le(j,1)){j=ji(j,g);var Y=j.clientX,y=j.clientY,z=Y-u.x,k=y-u.y,A=u.isDragging;u.x=Y,u.y=y,(A||(z||k)&&(Math.abs(u.startX-Y)>=s||Math.abs(u.startY-y)>=s))&&(Le||(Le=A?2:1),A||(u.isDragging=!0),si(z,k))}},Xt=u.onPress=function(E){le(E,1)||E&&E.button||(u.axis=Je=null,Be.pause(),u.isPressed=!0,E=ji(E),Ue=St=0,u.startX=u.x=E.clientX,u.startY=u.y=E.clientY,u._vx.reset(),u._vy.reset(),Pe(oe?a:ie,ft[1],Wt,Ft,!0),u.deltaX=u.deltaY=0,X&&X(u))},W=u.onRelease=function(E){if(!le(E,1)){Re(oe?a:ie,ft[1],Wt,!0);var j=!isNaN(u.y-u.startY),Y=u.isDragging,y=Y&&(Math.abs(u.x-u.startX)>3||Math.abs(u.y-u.startY)>3),z=ji(E);!y&&j&&(u._vx.reset(),u._vy.reset(),g&&ae&&je.delayedCall(.08,function(){if(Ai()-Ct>300&&!E.defaultPrevented){if(E.target.click)E.target.click();else if(ie.createEvent){var k=ie.createEvent("MouseEvents");k.initMouseEvent("click",!0,!0,it,1,z.screenX,z.screenY,z.clientX,z.clientY,!1,!1,!1,!1,0,null),E.target.dispatchEvent(k)}}})),u.isDragging=u.isGesturing=u.isPressed=!1,x&&Y&&!oe&&Be.restart(!0),Le&&_t(),H&&Y&&H(u),S&&S(u,y)}},Gt=function(j){return j.touches&&j.touches.length>1&&(u.isGesturing=!0)&&se(j,u.isDragging)},dt=function(){return(u.isGesturing=!1)||d(u)},ht=function(j){if(!le(j)){var Y=Z(),y=jt();oi((Y-Dt)*kt,(y-$t)*kt,1),Dt=Y,$t=y,x&&Be.restart(!0)}},ut=function(j){if(!le(j)){j=ji(j,g),he&&(te=!0);var Y=(j.deltaMode===1?c:j.deltaMode===2?it.innerHeight:1)*m;oi(j.deltaX*Y,j.deltaY*Y,0),x&&!oe&&Be.restart(!0)}},qt=function(j){if(!le(j)){var Y=j.clientX,y=j.clientY,z=Y-u.x,k=y-u.y;u.x=Y,u.y=y,O=!0,x&&Be.restart(!0),(z||k)&&si(z,k)}},ai=function(j){u.event=j,de(u)},It=function(j){u.event=j,De(u)},wi=function(j){return le(j)||ji(j,g)&&nt(u)};Be=u._dc=je.delayedCall(f||.25,Vi).pause(),u.deltaX=u.deltaY=0,u._vx=Mr(0,50,!0),u._vy=Mr(0,50,!0),u.scrollX=Z,u.scrollY=jt,u.isDragging=u.isGesturing=u.isPressed=!1,Bn(this),u.enable=function(E){return u.isEnabled||(Pe(Nt?ie:a,"scroll",Tr),l.indexOf("scroll")>=0&&Pe(Nt?ie:a,"scroll",ht,Ft,_e),l.indexOf("wheel")>=0&&Pe(a,"wheel",ut,Ft,_e),(l.indexOf("touch")>=0&&Nn||l.indexOf("pointer")>=0)&&(Pe(a,ft[0],Xt,Ft,_e),Pe(ie,ft[2],W),Pe(ie,ft[3],W),ae&&Pe(a,"click",vi,!0,!0),nt&&Pe(a,"click",wi),se&&Pe(ie,"gesturestart",Gt),d&&Pe(ie,"gestureend",dt),de&&Pe(a,Ut+"enter",ai),De&&Pe(a,Ut+"leave",It),Ne&&Pe(a,Ut+"move",qt)),u.isEnabled=!0,u.isDragging=u.isGesturing=u.isPressed=O=Le=!1,u._vx.reset(),u._vy.reset(),Dt=Z(),$t=jt(),E&&E.type&&Xt(E),Yt&&Yt(u)),u},u.disable=function(){u.isEnabled&&(fi.filter(function(E){return E!==u&&Ei(E.target)}).length||Re(Nt?ie:a,"scroll",Tr),u.isPressed&&(u._vx.reset(),u._vy.reset(),Re(oe?a:ie,ft[1],Wt,!0)),Re(Nt?ie:a,"scroll",ht,_e),Re(a,"wheel",ut,_e),Re(a,ft[0],Xt,_e),Re(ie,ft[2],W),Re(ie,ft[3],W),Re(a,"click",vi,!0),Re(a,"click",wi),Re(ie,"gesturestart",Gt),Re(ie,"gestureend",dt),Re(a,Ut+"enter",ai),Re(a,Ut+"leave",It),Re(a,Ut+"move",qt),u.isEnabled=u.isPressed=u.isDragging=!1,At&&At(u))},u.kill=u.revert=function(){u.disable();var E=fi.indexOf(u);E>=0&&fi.splice(E,1),Mt===u&&(Mt=0)},fi.push(u),oe&&Ei(a)&&(Mt=u),u.enable(M)},ds(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();ne.version="3.15.0";ne.create=function(i){return new ne(i)};ne.register=On;ne.getAll=function(){return fi.slice()};ne.getById=function(i){return fi.filter(function(e){return e.vars.id===i})[0]};Ln()&&je.registerPlugin(ne);/*! * ScrollTrigger 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var b,ui,D,G,tt,$,Br,fr,Oi,Fi,_i,qi,Ae,yr,zr,He,rn,nn,pi,Hn,br,Vn,Oe,Ar,Yn,$n,Rt,Er,Lr,yi,Rr,Di,Fr,vr,Ji=1,Ee=Date.now,wr=Ee(),lt=0,Ii=0,on=function(e,o,r){var n=Ze(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+o+"Clamp"]=n,n?e.substr(6,e.length-7):e},sn=function(e,o){return o&&(!Ze(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},ps=function i(){return Ii&&requestAnimationFrame(i)},an=function(){return yr=1},ln=function(){return yr=0},xt=function(e){return e},Ti=function(e){return Math.round(e*1e5)/1e5||0},Xn=function(){return typeof window<"u"},Gn=function(){return b||Xn()&&(b=window.gsap)&&b.registerPlugin&&b},ii=function(e){return!!~Br.indexOf(e)},qn=function(e){return(e==="Height"?Rr:D["inner"+e])||tt["client"+e]||$["client"+e]},Jn=function(e){return Ht(e,"getBoundingClientRect")||(ii(e)?function(){return dr.width=D.innerWidth,dr.height=Rr,dr}:function(){return Tt(e)})},fs=function(e,o,r){var n=r.d,s=r.d2,l=r.a;return(l=Ht(e,"getBoundingClientRect"))?function(){return l()[n]}:function(){return(o?qn(s):e["client"+s])||0}},gs=function(e,o){return!o||~vt.indexOf(e)?Jn(e):function(){return dr}},bt=function(e,o){var r=o.s,n=o.d2,s=o.d,l=o.a;return Math.max(0,(r="scroll"+n)&&(l=Ht(e,r))?l()-Jn(e)()[s]:ii(e)?(tt[r]||$[r])-qn(n):e[r]-e["offset"+n])},Ui=function(e,o){for(var r=0;r0){for(n-=l,a=0;a=n)return r[a];return r[a-1]}else for(a=r.length,n+=l;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,s,l){l===void 0&&(l=.001);var a=o(n);return!s||Math.abs(a-n)r&&(n*=o/100),e=e.substr(0,r-1)),e=n+(e in mr?mr[e]*o:~e.indexOf("%")?parseFloat(e)*o/100:parseFloat(e)||0)}return e},er=function(e,o,r,n,s,l,a,c){var h=s.startColor,g=s.endColor,x=s.fontSize,f=s.indent,p=s.fontWeight,m=G.createElement("div"),M=ii(r)||Ht(r,"pinType")==="fixed",T=e.indexOf("scroller")!==-1,H=M?$:r.tagName==="IFRAME"?r.contentDocument.body:r,L=e.indexOf("start")!==-1,X=L?h:g,S="border-color:"+X+";font-size:"+x+";color:"+X+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return S+="position:"+((T||c)&&M?"fixed;":"absolute;"),(T||c||!M)&&(S+=(n===fe?Pr:Or)+":"+(l+parseFloat(f))+"px;"),a&&(S+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),m._isStart=L,m.setAttribute("class","gsap-marker-"+e+(o?" marker-"+o:"")),m.style.cssText=S,m.innerText=o||o===0?e+"-"+o:e,H.children[0]?H.insertBefore(m,H.children[0]):H.appendChild(m),m._offset=m["offset"+n.op.d2],ar(m,0,n,L),m},ar=function(e,o,r,n){var s={display:"block"},l=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,s[r.a+"Percent"]=n?-100:0,s[r.a]=n?"1px":0,s["border"+l+bi]=1,s["border"+a+bi]=0,s[r.p]=o+"px",b.set(e,s)},F=[],Dr={},Hi,hn=function(){return Ee()-lt>34&&(Hi||(Hi=requestAnimationFrame(zt)))},di=function(){(!Oe||!Oe.isPressed||Oe.startX>$.clientWidth)&&(N.cache++,Oe?Hi||(Hi=requestAnimationFrame(zt)):zt(),lt||ni("scrollStart"),lt=Ee())},kr=function(){$n=D.innerWidth,Yn=D.innerHeight},zi=function(e){N.cache++,(e===!0||!Ae&&!Vn&&!G.fullscreenElement&&!G.webkitFullscreenElement&&(!Ar||$n!==D.innerWidth||Math.abs(D.innerHeight-Yn)>D.innerHeight*.25))&&fr.restart(!0)},ri={},bs=[],Zn=function i(){return be(B,"scrollEnd",i)||Qt(!0)},ni=function(e){return ri[e]&&ri[e].map(function(o){return o()})||bs},Qe=[],eo=function(e){for(var o=0;os,a=n._startClamp&&n.start>=s;(l||a)&&n.setPositions(a?s-1:n.start,l?Math.max(a?s:n.start+1,s):n.end,!0)}),pn(!1),Fr=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),N.forEach(function(n){Fe(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),io(Lr,1),fr.pause(),ti++,Ve=2,zt(2),F.forEach(function(n){return Fe(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Ve=B.isRefreshing=!1,ni("refresh")},Nr=0,lr=1,Ri,zt=function(e){if(e===2||!Ve&&!Di){B.isUpdating=!0,Ri&&Ri.update(0);var o=F.length,r=Ee(),n=r-wr>=50,s=o&&F[0].scroll();if(lr=Nr>s?-1:1,Ve||(Nr=s),n&&(lt&&!yr&&r-lt>200&&(lt=0,ni("scrollEnd")),_i=wr,wr=r),lr<0){for(He=o;He-- >0;)F[He]&&F[He].update(0,n);lr=1}else for(He=0;He20),r-=r-V}if(m&&(c[m]=e||-.001,e<0&&(e=0)),l){var we=e+r,Ce=l._isStart;T="scroll"+n.d2,ar(l,we,n,Ce&&we>20||!Ce&&(x?Math.max($[T],tt[T]):l.parentNode[T])<=we+1),x&&(h=Tt(a),x&&(l.style[n.op.p]=h[n.op.p]-n.op.m-l._offset+pe))}return p&&L&&(T=Tt(L),p.seek(f),H=Tt(L),p._caScrollDist=T[n.p]-H[n.p],e=e/p._caScrollDist*f),p&&p.seek(M),p?e:Math.round(e)},js=/(webkit|moz|length|cssText|inset)/i,gn=function(e,o,r,n){if(e.parentNode!==o){var s=e.style,l,a;if(o===$){e._stOrig=s.cssText,a=at(e);for(l in a)!+l&&!js.test(l)&&a[l]&&typeof s[l]=="string"&&l!=="0"&&(s[l]=a[l]);s.top=r,s.left=n}else s.cssText=e._stOrig;b.core.getCache(e).uncache=1,o.appendChild(e)}},no=function(e,o,r){var n=o,s=n;return function(l){var a=Math.round(e());return a!==n&&a!==s&&Math.abs(a-n)>3&&Math.abs(a-s)>3&&(l=a,r&&r()),s=n,n=Math.round(l),n}},ir=function(e,o,r){var n={};n[o.p]="+="+r,b.set(e,n)},mn=function(e,o){var r=Vt(e,o),n="_scroll"+o.p2,s=function l(a,c,h,g,x){var f=l.tween,p=c.onComplete,m={};h=h||r();var M=no(r,h,function(){f.kill(),l.tween=0});return x=g&&x||0,g=g||a-h,f&&f.kill(),c[n]=a,c.inherit=!1,c.modifiers=m,m[n]=function(){return M(h+g*f.ratio+x*f.ratio*f.ratio)},c.onUpdate=function(){N.cache++,l.tween&&zt()},c.onComplete=function(){l.tween=0,p&&p.call(f)},f=l.tween=b.to(e,c),f};return e[n]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},ve(e,"wheel",r.wheelHandler),B.isTouch&&ve(e,"touchmove",r.wheelHandler),s},B=function(){function i(o,r){ui||i.register(b)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Er(this),this.init(o,r)}var e=i.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Ii){this.update=this.refresh=this.kill=xt;return}r=cn(Ze(r)||Mi(r)||r.nodeType?{trigger:r}:r,Zi);var s=r,l=s.onUpdate,a=s.toggleClass,c=s.id,h=s.onToggle,g=s.onRefresh,x=s.scrub,f=s.trigger,p=s.pin,m=s.pinSpacing,M=s.invalidateOnRefresh,T=s.anticipatePin,H=s.onScrubComplete,L=s.onSnapComplete,X=s.once,S=s.snap,ge=s.pinReparent,V=s.pinSpacer,C=s.containerAnimation,we=s.fastScrollEnd,Ce=s.preventOverlaps,w=r.horizontal||r.containerAnimation&&r.horizontal!==!1?$e:fe,me=!x&&x!==0,_=Ge(r.scroller||D),wt=b.core.getCache(_),de=ii(_),De=("pinType"in r?r.pinType:Ht(_,"pinType")||de&&"fixed")==="fixed",Ne=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],q=me&&r.toggleActions.split(" "),oe="markers"in r?r.markers:Zi.markers,se=de?0:parseFloat(at(_)["border"+w.p2+bi])||0,d=this,he=r.onRefreshInit&&function(){return r.onRefreshInit(d)},Yt=fs(_,de,w),At=gs(_,de),nt=0,kt=0,_e=0,ae=Vt(_,w),We,Ie,Et,Be,Le,O,te,Xe,Je,u,Ue,St,Ft,Z,jt,Dt,$t,ye,Nt,ie,ct,ot,Ct,vi,le,Vi,_t,oi,si,Wt,Xt,W,Gt,dt,ht,ut,qt,ai,It;if(d._startClamp=d._endClamp=!1,d._dir=w,T*=45,d.scroller=_,d.scroll=C?C.time.bind(C):ae,Be=ae(),d.vars=r,n=n||r.animation,"refreshPriority"in r&&(Hn=1,r.refreshPriority===-9999&&(Ri=d)),wt.tweenScroll=wt.tweenScroll||{top:mn(_,fe),left:mn(_,$e)},d.tweenTo=We=wt.tweenScroll[w.p],d.scrubDuration=function(y){Gt=Mi(y)&&y,Gt?W?W.duration(y):W=b.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Gt,paused:!0,onComplete:function(){return H&&H(d)}}):(W&&W.progress(1).kill(),W=0)},n&&(n.vars.lazy=!1,n._initted&&!d.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),d.animation=n.pause(),n.scrollTrigger=d,d.scrubDuration(x),Wt=0,c||(c=n.vars.id)),S&&((!Kt(S)||S.push)&&(S={snapTo:S}),"scrollBehavior"in $.style&&b.set(de?[$,tt]:_,{scrollBehavior:"auto"}),N.forEach(function(y){return Fe(y)&&y.target===(de?G.scrollingElement||tt:_)&&(y.smooth=!1)}),Et=Fe(S.snapTo)?S.snapTo:S.snapTo==="labels"?ys(n):S.snapTo==="labelsDirectional"?xs(n):S.directional!==!1?function(y,z){return Vr(S.snapTo)(y,Ee()-kt<500?0:z.direction)}:b.utils.snap(S.snapTo),dt=S.duration||{min:.1,max:2},dt=Kt(dt)?Fi(dt.min,dt.max):Fi(dt,dt),ht=b.delayedCall(S.delay||Gt/2||.1,function(){var y=ae(),z=Ee()-kt<500,k=We.tween;if((z||Math.abs(d.getVelocity())<10)&&!k&&!yr&&nt!==y){var A=(y-O)/Z,xe=n&&!me?n.totalProgress():A,R=z?0:(xe-Xt)/(Ee()-_i)*1e3||0,re=b.utils.clamp(-A,1-A,ci(R/2)*R/.185),Te=A+(S.inertia===!1?0:re),ee,U,J=S,pt=J.onStart,Q=J.onInterrupt,Ke=J.onComplete;if(ee=Et(Te,d),Mi(ee)||(ee=Te),U=Math.max(0,Math.round(O+ee*Z)),y<=te&&y>=O&&U!==y){if(k&&!k._initted&&k.data<=ci(U-y))return;S.inertia===!1&&(re=ee-A),We(U,{duration:dt(ci(Math.max(ci(Te-xe),ci(ee-xe))*.185/R/.05||0)),ease:S.ease||"power3",data:ci(U-y),onInterrupt:function(){return ht.restart(!0)&&Q&&li(d,Q)},onComplete:function(){d.update(),nt=ae(),n&&!me&&(W?W.resetTo("totalProgress",ee,n._tTime/n._tDur):n.progress(ee)),Wt=Xt=n&&!me?n.totalProgress():d.progress,L&&L(d),Ke&&li(d,Ke)}},y,re*Z,U-y-re*Z),pt&&li(d,pt,We.tween)}}else d.isActive&&nt!==y&&ht.restart(!0)}).pause()),c&&(Dr[c]=d),f=d.trigger=Ge(f||p!==!0&&p),It=f&&f._gsap&&f._gsap.stRevert,It&&(It=It(d)),p=p===!0?f:Ge(p),Ze(a)&&(a={targets:f,className:a}),p&&(m===!1||m===st||(m=!m&&p.parentNode&&p.parentNode.style&&at(p.parentNode).display==="flex"?!1:ce),d.pin=p,Ie=b.core.getCache(p),Ie.spacer?jt=Ie.pinState:(V&&(V=Ge(V),V&&!V.nodeType&&(V=V.current||V.nativeElement),Ie.spacerIsNative=!!V,V&&(Ie.spacerState=tr(V))),Ie.spacer=ye=V||G.createElement("div"),ye.classList.add("pin-spacer"),c&&ye.classList.add("pin-spacer-"+c),Ie.pinState=jt=tr(p)),r.force3D!==!1&&b.set(p,{force3D:!0}),d.spacer=ye=Ie.spacer,si=at(p),vi=si[m+w.os2],ie=b.getProperty(p),ct=b.quickSetter(p,w.a,pe),Sr(p,ye,si),$t=tr(p)),oe){St=Kt(oe)?cn(oe,dn):dn,u=er("scroller-start",c,_,w,St,0),Ue=er("scroller-end",c,_,w,St,0,u),Nt=u["offset"+w.op.d2];var wi=Ge(Ht(_,"content")||_);Xe=this.markerStart=er("start",c,wi,w,St,Nt,0,C),Je=this.markerEnd=er("end",c,wi,w,St,Nt,0,C),C&&(ai=b.quickSetter([Xe,Je],w.a,pe)),!De&&!(vt.length&&Ht(_,"fixedMarkers")===!0)&&(ms(de?$:_),b.set([u,Ue],{force3D:!0}),Vi=b.quickSetter(u,w.a,pe),oi=b.quickSetter(Ue,w.a,pe))}if(C){var E=C.vars.onUpdate,j=C.vars.onUpdateParams;C.eventCallback("onUpdate",function(){d.update(0,0,1),E&&E.apply(C,j||[])})}if(d.previous=function(){return F[F.indexOf(d)-1]},d.next=function(){return F[F.indexOf(d)+1]},d.revert=function(y,z){if(!z)return d.kill(!0);var k=y!==!1||!d.enabled,A=Ae;k!==d.isReverted&&(k&&(ut=Math.max(ae(),d.scroll.rec||0),_e=d.progress,qt=n&&n.progress()),Xe&&[Xe,Je,u,Ue].forEach(function(xe){return xe.style.display=k?"none":"block"}),k&&(Ae=d,d.update(k)),p&&(!ge||!d.isActive)&&(k?ws(p,ye,jt):Sr(p,ye,at(p),le)),k||d.update(k),Ae=A,d.isReverted=k)},d.refresh=function(y,z,k,A){if(!((Ae||!d.enabled)&&!z)){if(p&&y&<){ve(i,"scrollEnd",Zn);return}!Ve&&he&&he(d),Ae=d,We.tween&&!k&&(We.tween.kill(),We.tween=0),W&&W.pause(),M&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(Bt){return Bt.vars.immediateRender&&Bt.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),d.isReverted||d.revert(!0,!0),d._subPinOffset=!1;var xe=Yt(),R=At(),re=C?C.duration():bt(_,w),Te=Z<=.01||!Z,ee=0,U=A||0,J=Kt(k)?k.end:r.end,pt=r.endTrigger||f,Q=Kt(k)?k.start:r.start||(r.start===0||!f?0:p?"0 0":"0 100%"),Ke=d.pinnedContainer=r.pinnedContainer&&Ge(r.pinnedContainer,d),gt=f&&Math.max(0,F.indexOf(d))||0,ke=gt,Se,Me,Jt,Yi,ze,ue,mt,xr,$r,ki,yt,Si,$i;for(oe&&Kt(k)&&(Si=b.getProperty(u,w.p),$i=b.getProperty(Ue,w.p));ke-- >0;)ue=F[ke],ue.end||ue.refresh(0,1)||(Ae=d),mt=ue.pin,mt&&(mt===f||mt===p||mt===Ke)&&!ue.isReverted&&(ki||(ki=[]),ki.unshift(ue),ue.revert(!0,!0)),ue!==F[ke]&&(gt--,ke--);for(Fe(Q)&&(Q=Q(d)),Q=on(Q,"start",d),O=fn(Q,f,xe,w,ae(),Xe,u,d,R,se,De,re,C,d._startClamp&&"_startClamp")||(p?-.001:0),Fe(J)&&(J=J(d)),Ze(J)&&!J.indexOf("+=")&&(~J.indexOf(" ")?J=(Ze(Q)?Q.split(" ")[0]:"")+J:(ee=sr(J.substr(2),xe),J=Ze(Q)?Q:(C?b.utils.mapRange(0,C.duration(),C.scrollTrigger.start,C.scrollTrigger.end,O):O)+ee,pt=f)),J=on(J,"end",d),te=Math.max(O,fn(J||(pt?"100% 0":re),pt,xe,w,ae()+ee,Je,Ue,d,R,se,De,re,C,d._endClamp&&"_endClamp"))||-.001,ee=0,ke=gt;ke--;)ue=F[ke]||{},mt=ue.pin,mt&&ue.start-ue._pinPush<=O&&!C&&ue.end>0&&(Se=ue.end-(d._startClamp?Math.max(0,ue.start):ue.start),(mt===f&&ue.start-ue._pinPush=bt(_,w)))Se=at(p),Yi=w===fe,Jt=ae(),ot=parseFloat(ie(w.a))+U,!re&&te>1&&(yt=(de?G.scrollingElement||tt:_).style,yt={style:yt,value:yt["overflow"+w.a.toUpperCase()]},de&&at($)["overflow"+w.a.toUpperCase()]!=="scroll"&&(yt.style["overflow"+w.a.toUpperCase()]="scroll")),Sr(p,ye,Se),$t=tr(p),Me=Tt(p,!0),xr=De&&Vt(_,Yi?$e:fe)(),m?(le=[m+w.os2,Z+U+pe],le.t=ye,ke=m===ce?gr(p,w)+Z+U:0,ke&&(le.push(w.d,ke+pe),ye.style.flexBasis!=="auto"&&(ye.style.flexBasis=ke+pe)),xi(le),Ke&&F.forEach(function(Bt){Bt.pin===Ke&&Bt.vars.pinSpacing!==!1&&(Bt._subPinOffset=!0)}),De&&ae(ut)):(ke=gr(p,w),ke&&ye.style.flexBasis!=="auto"&&(ye.style.flexBasis=ke+pe)),De&&(ze={top:Me.top+(Yi?Jt-O:xr)+pe,left:Me.left+(Yi?xr:Jt-O)+pe,boxSizing:"border-box",position:"fixed"},ze[Zt]=ze["max"+bi]=Math.ceil(Me.width)+pe,ze[ei]=ze["max"+Hr]=Math.ceil(Me.height)+pe,ze[st]=ze[st+Bi]=ze[st+Ni]=ze[st+Li]=ze[st+Wi]="0",ze[ce]=Se[ce],ze[ce+Bi]=Se[ce+Bi],ze[ce+Ni]=Se[ce+Ni],ze[ce+Li]=Se[ce+Li],ze[ce+Wi]=Se[ce+Wi],Dt=Ss(jt,ze,ge),Ve&&ae(0)),n?($r=n._initted,br(1),n.render(n.duration(),!0,!0),Ct=ie(w.a)-ot+Z+U,_t=Math.abs(Z-Ct)>1,De&&_t&&Dt.splice(Dt.length-2,2),n.render(0,!0,!0),$r||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),br(0)):Ct=Z,yt&&(yt.value?yt.style["overflow"+w.a.toUpperCase()]=yt.value:yt.style.removeProperty("overflow-"+w.a));else if(f&&ae()&&!C)for(Me=f.parentNode;Me&&Me!==$;)Me._pinOffset&&(O-=Me._pinOffset,te-=Me._pinOffset),Me=Me.parentNode;ki&&ki.forEach(function(Bt){return Bt.revert(!1,!0)}),d.start=O,d.end=te,Be=Le=Ve?ut:ae(),!C&&!Ve&&(Be0?F.slice(0,z).reverse():F.slice(z+1);return(Ze(y)?k.filter(function(A){return A.vars.preventOverlaps===y}):k).filter(function(A){return d.direction>0?A.end<=O:A.start>=te})},d.update=function(y,z,k){if(!(C&&!k&&!y)){var A=Ve===!0?ut:d.scroll(),xe=y?0:(A-O)/Z,R=xe<0?0:xe>1?1:xe||0,re=d.progress,Te,ee,U,J,pt,Q,Ke,gt;if(z&&(Le=Be,Be=C?ae():A,S&&(Xt=Wt,Wt=n&&!me?n.totalProgress():R)),T&&p&&!Ae&&!Ji&<&&(!R&&OA+(A-Le)/(Ee()-_i)*T&&(R=.9999)),R!==re&&d.enabled){if(Te=d.isActive=!!R&&R<1,ee=!!re&&re<1,Q=Te!==ee,pt=Q||!!R!=!!re,d.direction=R>re?1:-1,d.progress=R,pt&&!Ae&&(U=R&&!re?0:R===1?1:re===1?2:3,me&&(J=!Q&&q[U+1]!=="none"&&q[U+1]||q[U],gt=n&&(J==="complete"||J==="reset"||J in n))),Ce&&(Q||gt)&&(gt||x||!n)&&(Fe(Ce)?Ce(d):d.getTrailing(Ce).forEach(function(Jt){return Jt.endAnimation()})),me||(W&&!Ae&&!Ji?(W._dp._time-W._start!==W._time&&W.render(W._dp._time-W._start),W.resetTo?W.resetTo("totalProgress",R,n._tTime/n._tDur):(W.vars.totalProgress=R,W.invalidate().restart())):n&&n.totalProgress(R,!!(Ae&&(kt||y)))),p){if(y&&m&&(ye.style[m+w.os2]=vi),!De)ct(Ti(ot+Ct*R));else if(pt){if(Ke=!y&&R>re&&te+1>A&&A+1>=bt(_,w),ge)if(!y&&(Te||Ke)){var ke=Tt(p,!0),Se=A-O;gn(p,$,ke.top+(w===fe?Se:0)+pe,ke.left+(w===fe?0:Se)+pe)}else gn(p,ye);xi(Te||Ke?Dt:$t),_t&&R<1&&Te||ct(ot+(R===1&&!Ke?Ct:0))}}S&&!We.tween&&!Ae&&!Ji&&ht.restart(!0),a&&(Q||X&&R&&(R<1||!vr))&&Oi(a.targets).forEach(function(Jt){return Jt.classList[Te||X?"add":"remove"](a.className)}),l&&!me&&!y&&l(d),pt&&!Ae?(me&&(gt&&(J==="complete"?n.pause().totalProgress(1):J==="reset"?n.restart(!0).pause():J==="restart"?n.restart(!0):n[J]()),l&&l(d)),(Q||!vr)&&(h&&Q&&li(d,h),Ne[U]&&li(d,Ne[U]),X&&(R===1?d.kill(!1,1):Ne[U]=0),Q||(U=R===1?1:3,Ne[U]&&li(d,Ne[U]))),we&&!Te&&Math.abs(d.getVelocity())>(Mi(we)?we:2500)&&(Ci(d.callbackAnimation),W?W.progress(1):Ci(n,J==="reverse"?1:!R,1))):me&&l&&!Ae&&l(d)}if(oi){var Me=C?A/C.duration()*(C._caScrollDist||0):A;Vi(Me+(u._isFlipped?1:0)),oi(Me)}ai&&ai(-A/C.duration()*(C._caScrollDist||0))}},d.enable=function(y,z){d.enabled||(d.enabled=!0,ve(_,"resize",zi),de||ve(_,"scroll",di),he&&ve(i,"refreshInit",he),y!==!1&&(d.progress=_e=0,Be=Le=nt=ae()),z!==!1&&d.refresh())},d.getTween=function(y){return y&&We?We.tween:W},d.setPositions=function(y,z,k,A){if(C){var xe=C.scrollTrigger,R=C.duration(),re=xe.end-xe.start;y=xe.start+re*y/R,z=xe.start+re*z/R}d.refresh(!1,!1,{start:sn(y,k&&!!d._startClamp),end:sn(z,k&&!!d._endClamp)},A),d.update()},d.adjustPinSpacing=function(y){if(le&&y){var z=le.indexOf(w.d)+1;le[z]=parseFloat(le[z])+y+pe,le[1]=parseFloat(le[1])+y+pe,xi(le)}},d.disable=function(y,z){if(y!==!1&&d.revert(!0,!0),d.enabled&&(d.enabled=d.isActive=!1,z||W&&W.pause(),ut=0,Ie&&(Ie.uncache=1),he&&be(i,"refreshInit",he),ht&&(ht.pause(),We.tween&&We.tween.kill()&&(We.tween=0)),!de)){for(var k=F.length;k--;)if(F[k].scroller===_&&F[k]!==d)return;be(_,"resize",zi),de||be(_,"scroll",di)}},d.kill=function(y,z){d.disable(y,z),W&&!z&&W.kill(),c&&delete Dr[c];var k=F.indexOf(d);k>=0&&F.splice(k,1),k===He&&lr>0&&He--,k=0,F.forEach(function(A){return A.scroller===d.scroller&&(k=1)}),k||Ve||(d.scroll.rec=0),n&&(n.scrollTrigger=null,y&&n.revert({kill:!1}),z||n.kill()),Xe&&[Xe,Je,u,Ue].forEach(function(A){return A.parentNode&&A.parentNode.removeChild(A)}),Ri===d&&(Ri=0),p&&(Ie&&(Ie.uncache=1),k=0,F.forEach(function(A){return A.pin===p&&k++}),k||(Ie.spacer=0)),r.onKill&&r.onKill(d)},F.push(d),d.enable(!1,!1),It&&It(d),n&&n.add&&!Z){var Y=d.update;d.update=function(){d.update=Y,N.cache++,O||te||d.refresh()},b.delayedCall(.01,d.update),Z=.01,O=te=0}else d.refresh();p&&vs()},i.register=function(r){return ui||(b=r||Gn(),Xn()&&window.document&&i.enable(),ui=Ii),ui},i.defaults=function(r){if(r)for(var n in r)Zi[n]=r[n];return Zi},i.disable=function(r,n){Ii=0,F.forEach(function(l){return l[n?"kill":"disable"](r)}),be(D,"wheel",di),be(G,"scroll",di),clearInterval(qi),be(G,"touchcancel",xt),be($,"touchstart",xt),Ki(be,G,"pointerdown,touchstart,mousedown",an),Ki(be,G,"pointerup,touchend,mouseup",ln),fr.kill(),Ui(be);for(var s=0;s0&&l.left+a0&&l.top+a=0&&Qe.splice(o,5),Qe.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),b.core.getCache(e),Er())}}):Qe};B.revert=function(i,e){return Yr(!i,e)};B.create=function(i,e){return new B(i,e)};B.refresh=function(i){return i?zi(!0):(ui||B.register())&&Qt(!0)};B.update=function(i){return++N.cache&&zt(i===!0?2:0)};B.clearScrollMemory=io;B.maxScroll=function(i,e){return bt(i,e?$e:fe)};B.getScrollFunc=function(i,e){return Vt(Ge(i),e?$e:fe)};B.getById=function(i){return Dr[i]};B.getAll=function(){return F.filter(function(i){return i.vars.id!=="ScrollSmoother"})};B.isScrolling=function(){return!!lt};B.snapDirectional=Vr;B.addEventListener=function(i,e){var o=ri[i]||(ri[i]=[]);~o.indexOf(e)||o.push(e)};B.removeEventListener=function(i,e){var o=ri[i],r=o&&o.indexOf(e);r>=0&&o.splice(r,1)};B.batch=function(i,e){var o=[],r={},n=e.interval||.016,s=e.batchMax||1e9,l=function(h,g){var x=[],f=[],p=b.delayedCall(n,function(){g(x,f),x=[],f=[]}).pause();return function(m){x.length||p.restart(!0),x.push(m.trigger),f.push(m),s<=x.length&&p.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&Fe(e[a])&&a!=="onRefreshInit"?l(a,e[a]):e[a];return Fe(s)&&(s=s(),ve(B,"refresh",function(){return s=e.batchMax()})),Oi(i).forEach(function(c){var h={};for(a in r)h[a]=r[a];h.trigger=c,o.push(B.create(h))}),o};var yn=function(e,o,r,n){return o>n?e(n):o<0&&e(0),r>n?(n-o)/(r-o):r<0?o/(o-r):1},jr=function i(e,o){o===!0?e.style.removeProperty("touch-action"):e.style.touchAction=o===!0?"auto":o?"pan-"+o+(ne.isTouch?" pinch-zoom":""):"none",e===tt&&i($,o)},rr={auto:1,scroll:1},Cs=function(e){var o=e.event,r=e.target,n=e.axis,s=(o.changedTouches?o.changedTouches[0]:o).target,l=s._gsap||b.core.getCache(s),a=Ee(),c;if(!l._isScrollT||a-l._isScrollT>2e3){for(;s&&s!==$&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(rr[(c=at(s)).overflowY]||rr[c.overflowX]));)s=s.parentNode;l._isScroll=s&&s!==r&&!ii(s)&&(rr[(c=at(s)).overflowY]||rr[c.overflowX]),l._isScrollT=a}(l._isScroll||n==="x")&&(o.stopPropagation(),o._gsapAllow=!0)},oo=function(e,o,r,n){return ne.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:o,onWheel:n=n&&Cs,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&ve(G,ne.eventTypes[0],bn,!1,!0)},onDisable:function(){return be(G,ne.eventTypes[0],bn,!0)}})},_s=/(input|label|select|textarea)/i,xn,bn=function(e){var o=_s.test(e.target.tagName);(o||xn)&&(e._gsapAllow=!0,xn=o)},Is=function(e){Kt(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var o=e,r=o.normalizeScrollX,n=o.momentum,s=o.allowNestedScroll,l=o.onRelease,a,c,h=Ge(e.target)||tt,g=b.core.globals().ScrollSmoother,x=g&&g.get(),f=Rt&&(e.content&&Ge(e.content)||x&&e.content!==!1&&!x.smooth()&&x.content()),p=Vt(h,fe),m=Vt(h,$e),M=1,T=(ne.isTouch&&D.visualViewport?D.visualViewport.scale*D.visualViewport.width:D.outerWidth)/D.innerWidth,H=0,L=Fe(n)?function(){return n(a)}:function(){return n||2.8},X,S,ge=oo(h,e.type,!0,s),V=function(){return S=!1},C=xt,we=xt,Ce=function(){c=bt(h,fe),we=Fi(Rt?1:0,c),r&&(C=Fi(0,bt(h,$e))),X=ti},w=function(){f._gsap.y=Ti(parseFloat(f._gsap.y)+p.offset)+"px",f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(f._gsap.y)+", 0, 1)",p.offset=p.cacheID=0},me=function(){if(S){requestAnimationFrame(V);var oe=Ti(a.deltaY/2),se=we(p.v-oe);if(f&&se!==p.v+p.offset){p.offset=se-p.v;var d=Ti((parseFloat(f&&f._gsap.y)||0)-p.offset);f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+d+", 0, 1)",f._gsap.y=d+"px",p.cacheID=N.cache,zt()}return!0}p.offset&&w(),S=!0},_,wt,de,De,Ne=function(){Ce(),_.isActive()&&_.vars.scrollY>c&&(p()>c?_.progress(1)&&p(c):_.resetTo("scrollY",c))};return f&&b.set(f,{y:"+=0"}),e.ignoreCheck=function(q){return Rt&&q.type==="touchmove"&&me()||M>1.05&&q.type!=="touchstart"||a.isGesturing||q.touches&&q.touches.length>1},e.onPress=function(){S=!1;var q=M;M=Ti((D.visualViewport&&D.visualViewport.scale||1)/T),_.pause(),q!==M&&jr(h,M>1.01?!0:r?!1:"x"),wt=m(),de=p(),Ce(),X=ti},e.onRelease=e.onGestureStart=function(q,oe){if(p.offset&&w(),!oe)De.restart(!0);else{N.cache++;var se=L(),d,he;r&&(d=m(),he=d+se*.05*-q.velocityX/.227,se*=yn(m,d,he,bt(h,$e)),_.vars.scrollX=C(he)),d=p(),he=d+se*.05*-q.velocityY/.227,se*=yn(p,d,he,bt(h,fe)),_.vars.scrollY=we(he),_.invalidate().duration(se).play(.01),(Rt&&_.vars.scrollY>=c||d>=c-1)&&b.to({},{onUpdate:Ne,duration:se})}l&&l(q)},e.onWheel=function(){_._ts&&_.pause(),Ee()-H>1e3&&(X=0,H=Ee())},e.onChange=function(q,oe,se,d,he){if(ti!==X&&Ce(),oe&&r&&m(C(d[2]===oe?wt+(q.startX-q.x):m()+oe-d[1])),se){p.offset&&w();var Yt=he[2]===se,At=Yt?de+q.startY-q.y:p()+se-he[1],nt=we(At);Yt&&At!==nt&&(de+=nt-At),p(nt)}(se||oe)&&zt()},e.onEnable=function(){jr(h,r?!1:"x"),B.addEventListener("refresh",Ne),ve(D,"resize",Ne),p.smooth&&(p.target.style.scrollBehavior="auto",p.smooth=m.smooth=!1),ge.enable()},e.onDisable=function(){jr(h,!0),be(D,"resize",Ne),B.removeEventListener("refresh",Ne),ge.kill()},e.lockAxis=e.lockAxis!==!1,a=new ne(e),a.iOS=Rt,Rt&&!p()&&p(1),Rt&&b.ticker.add(xt),De=a._dc,_=b.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:no(p,p(),function(){return _.pause()})},onUpdate:zt,onComplete:De.vars.onComplete}),a};B.sort=function(i){if(Fe(i))return F.sort(i);var e=D.pageYOffset||0;return B.getAll().forEach(function(o){return o._sortY=o.trigger?e+o.trigger.getBoundingClientRect().top:o.start+D.innerHeight}),F.sort(i||function(o,r){return(o.vars.refreshPriority||0)*-1e6+(o.vars.containerAnimation?1e6:o._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};B.observe=function(i){return new ne(i)};B.normalizeScroll=function(i){if(typeof i>"u")return Oe;if(i===!0&&Oe)return Oe.enable();if(i===!1){Oe&&Oe.kill(),Oe=i;return}var e=i instanceof ne?i:Is(i);return Oe&&Oe.target===e.target&&Oe.kill(),ii(e.target)&&(Oe=e),e};B.core={_getVelocityProp:Mr,_inputObserver:oo,_scrollers:N,_proxies:vt,bridge:{ss:function(){lt||ni("scrollStart"),lt=Ee()},ref:function(){return Ae}}};Gn()&&b.registerPlugin(B);nr.registerPlugin(B);const Ts=["upcoming","locked","locked","locked"],Ms={active:{Icon:Mo,color:"#22C55E",textColor:"#052e12",glow:"rgba(34,197,94,0.4)",pulse:!0},upcoming:{Icon:An,color:"#F5C518",textColor:"#3d2800",glow:"rgba(245,197,24,0.4)",pulse:!0},locked:{Icon:Lo,color:"#64748B",textColor:"#f8fafc",glow:"rgba(100,116,139,0.2)",pulse:!1}};function zs(){const{lang:i,t:e}=rt(),o=P.useRef(null),r=P.useRef(null),n=e("timeline.nodes"),s=e("timeline.statusLabels");return P.useEffect(()=>{const l=nr.context(()=>{window.innerWidth>=769?nr.fromTo(o.current,{scaleX:0},{scaleX:1,ease:"none",scrollTrigger:{trigger:r.current,start:"top 65%",end:"center center",scrub:1}}):nr.fromTo(o.current,{scaleY:0,transformOrigin:"top center"},{scaleY:1,ease:"none",scrollTrigger:{trigger:r.current,start:"top center",end:"bottom center",scrub:1}})},r);return()=>l.revert()},[]),t.jsx("section",{id:"timeline",className:"section",ref:r,style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:e("timeline.eyebrow"),title:e("timeline.title")}),t.jsxs("div",{className:"tl-track",children:[t.jsx("div",{className:"tl-line-bg","aria-hidden":"true"}),t.jsx("div",{className:"tl-line-wrap","aria-hidden":"true",children:t.jsx("div",{ref:o,className:"tl-line-anim"})}),n.map((l,a)=>{const c=Ts[a],{Icon:h,color:g,textColor:x,glow:f,pulse:p}=Ms[c],m=s[c],M=a%2===0,T=t.jsxs("div",{style:{background:"rgba(255,240,210,0.80)",border:`1px solid ${c==="locked"?"rgba(175,110,20,0.12)":"rgba(196,134,10,0.35)"}`,borderRadius:18,padding:"18px 20px",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",width:"100%"},children:[t.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:6,padding:"3px 10px",borderRadius:100,background:g,marginBottom:10},children:[t.jsx(h,{size:11,color:x,"aria-hidden":"true"}),t.jsx("span",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"JetBrains Mono, monospace",fontSize:"0.62rem",letterSpacing:i==="si"?"0":"0.08em",color:x},children:m})]}),t.jsx("div",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.7rem",color:"#F5C518",marginBottom:5},children:l.date}),t.jsx("h3",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"0.95rem",fontWeight:700,color:"#1C0800",marginBottom:7,lineHeight:1.3},children:l.event}),t.jsx("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.78rem",color:"#8B6040",lineHeight:1.6,margin:0},children:l.detail})]});return t.jsxs(I.div,{className:"tl-node",initial:{opacity:0,y:M?-24:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:a*.12},children:[t.jsxs("div",{className:"tl-zone-top",children:[M&&T,M&&t.jsx("div",{className:"tl-stem",style:{background:g}})]}),t.jsx("div",{className:"tl-dot",style:{background:g,boxShadow:`0 0 0 4px rgba(253,246,232,1), 0 0 20px ${f}`,animation:p?"pulse-dot 2s ease-in-out infinite":"none"},"aria-hidden":"true"}),t.jsxs("div",{className:"tl-zone-bot",children:[!M&&t.jsx("div",{className:"tl-stem",style:{background:g}}),!M&&T]})]},l.date)})]})]})})}const vn=[{pct:40,color:"#F5C518"},{pct:30,color:"#FF8C00"},{pct:30,color:"#CBD5E1"}];function As({pct:i,color:e,label:o,animate:r}){const s=2*Math.PI*44,l=r?i/100*s:0;return t.jsxs("div",{style:{textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",gap:12},children:[t.jsxs("svg",{width:"110",height:"110",viewBox:"0 0 110 110","aria-label":`${o}: ${i}%`,children:[t.jsx("circle",{cx:"55",cy:"55",r:44,fill:"none",stroke:"rgba(175,110,20,0.18)",strokeWidth:"8"}),t.jsx("circle",{cx:"55",cy:"55",r:44,fill:"none",stroke:e,strokeWidth:"8",strokeDasharray:s,strokeDashoffset:s-l,strokeLinecap:"round",transform:"rotate(-90 55 55)",style:{transition:r?"stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1)":"none"}}),t.jsxs("text",{x:"55",y:"60",textAnchor:"middle",fill:e,fontSize:"18",fontFamily:"JetBrains Mono, monospace",fontWeight:"700",children:[i,"%"]})]}),t.jsx("span",{style:{fontFamily:"Inter, sans-serif",fontSize:"0.8rem",color:"#8B6040",maxWidth:100,lineHeight:1.4},children:o})]})}function Es({judgingIntro:i,criteria:e,lang:o,title:r}){const n=P.useRef(null),[s,l]=P.useState(!1);return P.useEffect(()=>{const a=new IntersectionObserver(([c])=>{c.isIntersecting&&l(!0)},{threshold:.3});return n.current&&a.observe(n.current),()=>a.disconnect()},[]),t.jsxs(I.div,{ref:n,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.7},className:"judging-panel-inner",style:{gridColumn:"1 / -1",padding:"40px 48px",borderRadius:20,border:"1px solid rgba(245,197,24,0.30)",background:"linear-gradient(135deg, rgba(245,197,24,0.06) 0%, rgba(255,140,0,0.04) 100%)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:8},children:[t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.65rem",letterSpacing:"0.14em",textTransform:"uppercase",color:"#F5C518",background:"rgba(245,197,24,0.10)",padding:"3px 10px",borderRadius:6},children:"04"}),t.jsx("h3",{style:{fontFamily:o==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"1.15rem",fontWeight:700,color:"#1C0800"},children:r||"Judging Criteria"})]}),t.jsx("p",{style:{fontFamily:o==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.88rem",color:"#8B6040",lineHeight:1.65,marginBottom:36},children:i}),t.jsx("div",{className:"judging-panel-radials",style:{display:"flex",justifyContent:"center",gap:48,flexWrap:"wrap"},children:e.map((a,c)=>t.jsx(As,{pct:vn[c].pct,color:vn[c].color,label:a.label,animate:s},c))})]})}function Fs({item:i,index:e,lang:o,judgingIntro:r,criteria:n}){if(i.special==="judging")return t.jsx(Es,{judgingIntro:r,criteria:n,lang:o,title:i.title});const s=e===2;return t.jsxs(I.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6,delay:e%3*.08},style:{padding:"28px 32px",borderRadius:18,border:"1px solid rgba(175,110,20,0.18)",background:"rgba(255,215,140,0.14)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",display:"flex",flexDirection:"column",gap:12},children:[t.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12},children:[t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.65rem",letterSpacing:"0.14em",color:"#F5C518",background:"rgba(245,197,24,0.10)",padding:"3px 8px",borderRadius:6,flexShrink:0,marginTop:2},children:String(e+1).padStart(2,"0")}),t.jsx("h3",{style:{fontFamily:o==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"1rem",fontWeight:700,color:"#1C0800",lineHeight:1.3},children:i.title})]}),t.jsx("p",{style:{fontFamily:o==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.875rem",color:"#5C3010",lineHeight:1.72},children:i.content}),s&&t.jsxs("a",{href:"https://ai.dialog.lk",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:5,marginTop:4,fontFamily:o==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.78rem",fontWeight:600,color:"#C25280",textDecoration:"none",opacity:.88,transition:"opacity 0.2s"},onMouseEnter:l=>l.currentTarget.style.opacity="1",onMouseLeave:l=>l.currentTarget.style.opacity="0.88",children:["Try Dialog AI — free ",t.jsx(qe,{size:11})]})]})}function Ds(){const{lang:i,t:e}=rt(),o=e("rules.items"),r=e("rules.criteria"),n=e("rules.judgingIntro");return t.jsx("section",{id:"rules",className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:e("rules.eyebrow"),title:e("rules.title")}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(280px, 1fr))",gap:20,maxWidth:1100,margin:"0 auto"},children:o.map((s,l)=>t.jsx(Fs,{item:s,index:l,lang:i,judgingIntro:n,criteria:r},s.title))})]})})}Array.from({length:7},(i,e)=>({rank:e+4}));function Ns(){const{lang:i,t:e}=rt(),o=[{num:"5",label:e("about.stat1")},{num:"3",label:e("about.stat2")},{num:"10",label:e("about.stat3")},{num:"∞",label:e("about.stat4")}];return t.jsx("section",{id:"about",className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:e("about.eyebrow"),title:e("about.title"),align:"left"}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:64,alignItems:"center"},children:[t.jsxs(I.div,{initial:{opacity:0,x:-40},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.8},children:[t.jsxs("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1.05rem",color:"#5C3010",lineHeight:1.8,marginBottom:24},children:[t.jsx("strong",{style:{color:"#1C0800"},children:e("about.p1bold")})," ",e("about.p1").replace(e("about.p1bold"),"").trim()]}),t.jsx("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1.05rem",color:"#5C3010",lineHeight:1.8,marginBottom:40},children:e("about.p2")}),t.jsx("div",{style:{display:"flex",gap:12,flexWrap:"wrap"},children:o.map(r=>t.jsxs("div",{style:{padding:"16px 24px",borderRadius:14,border:"1px solid rgba(175,110,20,0.30)",background:"rgba(255,215,140,0.28)",textAlign:"center",minWidth:80},children:[t.jsx("div",{style:{fontFamily:"Playfair Display, serif",fontSize:"1.8rem",fontWeight:700,color:"#C4860A",lineHeight:1},children:r.num}),t.jsx("div",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.72rem",color:"#5C3010",marginTop:6,letterSpacing:"0.03em",fontWeight:500},children:r.label})]},r.label))})]}),t.jsx(I.div,{initial:{opacity:0,x:40},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.8,delay:.15},style:{display:"flex",flexDirection:"column",gap:12},children:[{src:"/logos/dialog-axiata-color.png",alt:"Dialog Axiata PLC",label:e("about.dialogDesc"),imgH:30},{src:"/logos/government-emblem.png",alt:"Government of Sri Lanka",label:e("about.govDesc"),imgH:44},{src:"/logos/swarnavahini-logo.png",alt:"Swarnavahini",label:e("about.swarnavahiniDesc"),imgH:36}].map(({src:r,alt:n,label:s,imgH:l})=>t.jsxs("div",{style:{padding:"14px 20px",borderRadius:14,border:"1px solid rgba(175,110,20,0.18)",background:"rgba(255,215,140,0.22)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",display:"flex",alignItems:"center",gap:16},children:[t.jsx("img",{src:r,alt:n,style:{height:l,objectFit:"contain",flexShrink:0},onError:a=>{a.target.style.display="none"}}),t.jsx("span",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.78rem",color:"#5C3010",lineHeight:1.4,fontWeight:500},children:s})]},n))})]})]})})}const wn=t.jsx("div",{style:{width:1,height:36,background:"rgba(175,110,20,0.20)"},"aria-hidden":"true"}),Cr={fontFamily:"JetBrains Mono, monospace",fontSize:"0.58rem",letterSpacing:"0.12em",textTransform:"uppercase",color:"#C4860A",fontWeight:600};function Ws(){const{lang:i,t:e}=rt();return t.jsxs("footer",{role:"contentinfo",style:{borderTop:"1px solid rgba(175,110,20,0.15)",padding:"32px 24px 24px",background:"rgba(250,240,212,0.96)",position:"relative",zIndex:1,display:"flex",flexDirection:"column",alignItems:"center",gap:20},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:32,flexWrap:"wrap",justifyContent:"center"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[t.jsx("span",{style:Cr,children:e("footer.organizedBy")}),t.jsx("img",{src:"/logos/dialog-axiata-color.png",alt:"Dialog Axiata PLC",style:{height:28,objectFit:"contain",opacity:.88},onError:o=>{o.currentTarget.style.display="none"}})]}),wn,t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[t.jsx("span",{style:Cr,children:"Endorsed By"}),t.jsx("img",{src:"/logos/government-emblem.png",alt:"Ministry of Buddhasasana Religious and Cultural Affairs",style:{height:36,objectFit:"contain",opacity:.88},onError:o=>{o.currentTarget.style.display="none"}})]}),wn,t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[t.jsx("span",{style:Cr,children:e("footer.mediaPartner")}),t.jsx("img",{src:"/logos/swarnavahini-logo.png",alt:"Swarnavahini",style:{height:28,objectFit:"contain",opacity:.88},onError:o=>{o.currentTarget.style.display="none"}})]})]}),t.jsx("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.78rem",color:"#8B6040"},children:e("footer.copyright")})]})}const Bs=!1,Ls=window.innerWidth<769;function Rs(){return P.useEffect(()=>{if(window.innerWidth<769)return;const i=new bo({duration:1.2,easing:r=>Math.min(1,1.001-Math.pow(2,-10*r)),smoothWheel:!0});function e(r){i.raf(r),requestAnimationFrame(e)}const o=requestAnimationFrame(e);return()=>{cancelAnimationFrame(o),i.destroy()}},[]),t.jsx(lo,{transition:Ls?{duration:.08,ease:"linear"}:void 0,children:t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{position:"fixed",inset:0,zIndex:-3,backgroundImage:"url(/images/backdrop.png)",backgroundSize:"cover",backgroundPosition:"center",backgroundAttachment:"scroll"}}),t.jsx("div",{style:{position:"fixed",inset:0,zIndex:-2,background:"rgba(253,246,232,0.58)"}}),t.jsx("div",{className:"buddhist-motifs-wrap","aria-hidden":"true",children:t.jsx(So,{})}),t.jsx(Go,{}),t.jsxs("main",{id:"main-content",children:[t.jsx(qo,{}),t.jsx(Ye,{}),t.jsx(Zo,{}),t.jsx(Ye,{}),t.jsx(rs,{}),t.jsx(Ye,{}),t.jsx(ss,{}),t.jsx(Ye,{}),t.jsx(as,{}),t.jsx(Ye,{}),t.jsx(ls,{}),t.jsx(Ye,{}),t.jsx(zs,{}),t.jsx(Ye,{}),t.jsx(Ds,{}),t.jsx(Ye,{}),Bs,t.jsx(Ns,{})]}),t.jsx(Ws,{})]})})}const kn={en:{nav:{back:"National AI Vesak Card Competition",title:"National AI Video Competition · 2026",about:"About",theme:"Theme",objectives:"Objectives",judging:"Judging"},hero:{title:"National Online Video Competition 2026",subtitle:'"550 ජාතක කථා" – AI Assisted Digital Vesak Creation Competition 2026',badgePrefix:"Powered by",organizedFor:"Organized in View of National Vesak Festival – Matara 2026",dateLabel:"Competition Period",dates:"20 May – 29 May 2026",cta:"Submit Your Video"},timeline:{eyebrow:"Competition Schedule",title:"Key Dates",nodes:[{date:"20 May 2026",event:"Submissions Open",detail:"Upload your Jathaka Story video to the online portal and be part of this historic digital Vesak celebration."},{date:"29 May 2026",event:"Submissions Close",detail:"Final deadline for all video entries. Ensure your submission meets all requirements before midnight."},{date:"1 June 2026",event:"Winners Announced",detail:"Top 10 videos selected for public LED Wall screening at the National Vesak Festival in Matara."}]},intro:{eyebrow:"About the Competition",title:"Celebrating Heritage Through Digital Creativity",paragraphs:[`In celebration of the sacred Vesak Festival and with the objective of promoting Buddhist values through modern digital creativity, a National Online Video Competition based on the "550 ජාතක කථා" (Jathaka Stories of the Buddha's Previous Lives) is proposed to be conducted island-wide in Sinhala language.`,"This initiative aims to inspire school students, youth, university students, digital creators, and the general public to creatively present the timeless teachings, virtues, and moral lessons found in the Jathaka stories using modern video production technologies, including Artificial Intelligence (AI), animation, cinematic storytelling, narration, and digital visual effects.","The competition is expected to be conducted fully online from 20th May 2026 to 30th May 2026, allowing nationwide participation through digital submission platforms."]},theme:{eyebrow:"Competition Theme",title:"Create Your Jathaka Story Video",body:"Participants are invited to create a 5–10 minute HD quality video based on any of the 550 Jathaka Stories, presented in Sinhala language. Videos may include:",requirementsLabel:"Video Requirements",specs:[{label:"5–10 Minutes",sub:"Video Duration"},{label:"HD Quality",sub:"Required Resolution"},{label:"Sinhala Language",sub:"Presentation Language"}],formats:["AI-generated visuals and animation","Digital storytelling","Voice narration and subtitles","Educational and cultural presentation styles","Creative cinematic interpretation while preserving Buddhist values and authenticity"]},objectives:{eyebrow:"Key Objectives",title:"Why This Competition Matters",list:["Promote Buddhist philosophy and moral values among younger generations","Encourage the use of modern digital technologies for cultural preservation","Introduce AI-assisted creative education aligned with Sri Lanka's digital future","Create engaging Vesak-related digital content for public viewing","Support national cultural and religious initiatives during Vesak"]},judging:{eyebrow:"Selection & Recognition",title:"How Winners Are Chosen",panelDesc:"A panel consisting of Buddhist scholars, media professionals, digital content creators, and education sector representatives will evaluate submissions based on:",criteria:["Authenticity and accuracy of the Jathaka story","Creativity and storytelling","Technical and visual quality","Educational and cultural value","Innovation in digital presentation"],prizeTitle:"Top 10 Videos Shown on a Big Digital LED Wall",prizeBody:"The Top 10 winning videos will be selected for public screening on a Digital LED Wall integrated with the Vesak Thorana during the National Vesak Festival in Matara. Certificates and special recognitions are expected to be awarded to outstanding participants."},significance:{eyebrow:"National Cultural Significance",title:"Where Tradition Meets Innovation",body:"This initiative combines Buddhist heritage with modern digital innovation, creating a unique platform where traditional values meet next-generation creative technology. The program is expected to attract wide participation and public engagement while enhancing the educational and cultural atmosphere of the National Vesak Festival."},cta:{title:"Ready to Create?",subtitle:"Submit your Jathaka Story video and be part of this historic digital Vesak celebration.",button:"Submissions Opening Soon",back:"Back to Image Competition"}},si:{nav:{back:"ජාතික AI වෙසක් කාඩ් තරඟාවලිය",title:"ජාතික AI වීඩියෝ තරඟාවලිය · 2026",about:"ගැන",theme:"තේමාව",objectives:"අරමුණු",judging:"ජය ලාභීන්"},hero:{title:"ජාතික මට්ටමේ අන්තර්ජාල වීඩියෝ තරඟාවලිය 2026",subtitle:'"පන්සිය පනස් ජාතක කතා" — කෘත්‍රිම බුද්ධි (AI) සහිත ඩිජිටල් වෙසක් නිර්මාණ තරඟාවලිය 2026',badgePrefix:"බලගන්වන්නේ",organizedFor:"ජාතික වෙසක් උත්සවය — මාතර 2026 නිමිත්තෙන් සංවිධානය කරනු ලබයි",dateLabel:"තරඟාවලි කාලය",dates:"මැයි 20 – මැයි 29, 2026",cta:"ඔබේ වීඩියෝව ඉදිරිපත් කරන්න"},timeline:{eyebrow:"තරඟාවලි කාලසටහන",title:"ප්‍රධාන දිනයන්",nodes:[{date:"මැයි 20, 2026",event:"ඉදිරිපත් කිරීම් ආරම්භ",detail:"ඔබේ ජාතක කතා වීඩියෝව ඔන්ලයින් ද්වාරය හරහා උඩුගත කර මෙම ඓතිහාසික ඩිජිටල් වෙසක් සැමරුමේ කොටස්කරුවෙකු වන්න."},{date:"මැයි 29, 2026",event:"ඉදිරිපත් කිරීම් අවසන්",detail:"සියලු වීඩියෝ ඉදිරිපත් කිරීම් සඳහා අවසාන දිනය. රාත්‍රී 12 ට පෙර ඔබේ ඉදිරිපත් කිරීම සම්පූර්ණ කරන්න."},{date:"ජූනි 1, 2026",event:"ජයග්‍රාහකයන් නිවේදනය",detail:"ජාතික වෙසක් උත්සවය — මාතර LED Wall දර්ශනය සඳහා හොඳම වීඩියෝ 10 තේරීම."}]},intro:{eyebrow:"තරඟාවලිය ගැන",title:"ඩිජිටල් නිර්මාණශීලිත්වය හරහා උරුමය සැමරීම",paragraphs:["ශ්‍රී සම්බුද්ධ ශාසනයේ අනාගත ධර්ම පණිවිඩ සහ ජාතක කතා තුළ අන්තර්ගත සදාකාලික සදාචාරමය වටිනාකම් නවීන ඩිජිටල් තාක්ෂණය හරහා නව පරපුරට සමීප කරවීමේ අරමුණින් පන්සිය පනස් ජාතක කතා පදනම් කරගත් ජාතික මට්ටමේ සිංහල භාෂා අන්තර්ජාල වීඩියෝ තරඟාවලියක් පැවැත්වීමට යෝජනා කර ඇත.","මෙම වැඩසටහන මගින් පාසල් සිසුන්, විශ්ව විද්‍යාල සිසුන්, තරුණ පරපුර, ඩිජිටල් නිර්මාණකරුවන් සහ මහජනතාව අතර බෞද්ධ සංස්කෘතිය හා සදාචාරාත්මක පණිවිඩ නවීන වීඩියෝ නිර්මාණ තාක්ෂණය ඔස්සේ ප්‍රචලිත කිරීම අරමුණු කරයි. තරඟයට ඉදිරිපත් කරන නිර්මාණ සඳහා කෘතිම බුද්ධිය (AI), සජීවීකරණ (Animation), සිනමාත්මක නිර්මාණය, හඬ පටිගත කිරීම, දෘශ්‍ය ප්‍රයෝග සහ ඩිජිටල් කලා ක්‍රම භාවිතා කළ හැකිය.","මෙම තරඟාවලිය 2026 මැයි 20 දින සිට 30 වන දින දක්වා සම්පූර්ණයෙන්ම අන්තර්ජාලය ඔස්සේ පැවැත්වීමට අපේක්ෂා කෙරේ."]},theme:{eyebrow:"තරඟ තේමාව",title:"ඔබේ ජාතක කතා වීඩියෝව නිර්මාණය කරන්න",body:"තරඟකරුවන් විසින් පන්සිය පනස් ජාතක කතා අතරින් තෝරා ගත් ඕනෑම ජාතක කතාවක් ඇසුරෙන් මිනිත්තු 5-10 අතර HD තත්ත්වයේ සිංහල වීඩියෝ නිර්මාණයක් ඉදිරිපත් කළ යුතුය. වීඩියෝ නිර්මාණ සඳහා පහත අංග භාවිතා කළ හැකිය:",requirementsLabel:"වීඩියෝ අවශ්‍යතා",specs:[{label:"මිනිත්තු 5–10",sub:"වීඩියෝ කාලය"},{label:"HD තත්ත්වය",sub:"රූප ගුණය"},{label:"සිංහල භාෂාව",sub:"ඉදිරිපත් කිරීමේ භාෂාව"}],formats:["AI මඟින් නිර්මාණය කළ දෘශ්‍ය හා සජීවිකරණ","ඩිජිටල් කතාන්දර නිර්මාණ","හඬ විස්තර හා උපසිරැසි","අධ්‍යාපනික හා සංස්කෘතික ඉදිරිපත් කිරීම්","බෞද්ධ සාරධර්ම ආරක්ෂා කරමින් නිර්මාණශීලී සිනමාත්මක ඉදිරිපත් කිරීම"]},objectives:{eyebrow:"ප්‍රධාන අරමුණු",title:"මෙම තරඟාවලිය වැදගත් වන්නේ ඇයි",list:["බෞද්ධ දර්ශනය හා සදාචාරමය වටිනාකම් නව පරපුර අතර ප්‍රචලිත කිරීම","සංස්කෘතික උරුමය සුරැකීම සඳහා නවීන ඩිජිටල් තාක්ෂණ භාවිතය ප්‍රවර්ධනය කිරීම","ශ්‍රී ලංකාවේ ඩිජිටල් අනාගතයට ගැළපෙන AI සහිත නිර්මාණාත්මක අධ්‍යාපනය දිරිගැන්වීම","වෙසක් උත්සවය වෙනුවෙන් මහජනතාවට ගුණාත්මක ඩිජිටල් අන්තර්ගත නිර්මාණය කිරීම","ජාතික ආගමික හා සංස්කෘතික වැඩසටහන් ශක්තිමත් කිරීම"]},judging:{eyebrow:"තේරීම සහ හඳුනාගැනීම",title:"ජයග්‍රාහකයන් තේරෙන්නේ කෙසේද",panelDesc:"බෞද්ධ විද්වත් මණ්ඩලයක්, මාධ්‍යවේදීන්, ඩිජිටල් නිර්මාණ විශේෂඥයන් සහ අධ්‍යාපන ක්ෂේත්‍ර නියෝජිතයන්ගෙන් සමන්විත විනිශ්චය මණ්ඩලයක් විසින් නිර්මාණ ඇගයීමට ලක් කෙරේ.",criteria:["ජාතක කථාවේ නිවැරදිභාවය හා සත්‍යතාව","නිර්මාණශීලීත්වය හා කතා ඉදිරිපත් කිරීම","තාක්ෂණික හා දෘශ්‍ය ගුණාත්මකභාවය","අධ්‍යාපනික හා සංස්කෘතික වටිනාකම","නවීන ඩිජිටල් ඉදිරිපත් කිරීමේ නව්‍යත්වය"],prizeTitle:"හොඳම වීඩියෝ 10 — ඩිජිටල් LED තිරයේ ප්‍රදර්ශනය",prizeBody:"තරඟයෙන් තෝරාගනු ලබන හොඳම වීඩියෝ 10 ජාතික වෙසක් උත්සවය — මාතර හි වෙසක් තොරණ සමඟ ස්ථාපිත කෙරෙන ඩිජිටල් LED තිරය මඟින් මහජන ප්‍රදර්ශනය සඳහා ඉදිරිපත් කිරීමට නියමිතය. එසේම, විශිෂ්ට දක්ෂතා දක්වන තරඟකරුවන් සඳහා සහතිකපත් හා විශේෂ ඇගයීම් පිරිනැමීමටද සැලසුම් කර ඇත."},significance:{eyebrow:"ජාතික හා සංස්කෘතික වැදගත්කම",title:"සම්ප්‍රදාය හා නවීනත්වය හමු වන ස්ථානය",body:"මෙම වැඩසටහන මඟින් ශ්‍රී ලංකාවේ බෞද්ධ සංස්කෘතික උරුමය නවීන ඩිජිටල් තාක්ෂණය සමඟ ඒකාබද්ධ කරමින්, සම්ප්‍රදායික වටිනාකම් සහ අනාගත තාක්ෂණය අතර සුවිශේෂී සම්බන්ධතාවයක් ගොඩනැගීමට අපේක්ෂා කෙරේ. ජාතික වෙසක් උත්සවයේ අධ්‍යාපනික, ආගමික හා සංස්කෘතික වටිනාකම් තවදුරටත් ශක්තිමත් කිරීමද මෙමඟින් බලාපොරොත්තු වේ."},cta:{title:"නිර්මාණය කිරීමට සූදානම්ද?",subtitle:"ඔබේ ජාතක කතා වීඩියෝව ඉදිරිපත් කර මෙම ඓතිහාසික ඩිජිටල් වෙසක් සැමරුමේ කොටස්කරුවෙකු වන්න.",button:"ඉදිරිපත් කිරීම් ඉක්මනින් ආරම්භ වේ",back:"රූප තරඟාවලිය වෙත ආපසු"}}},Ps=[An,Ro,No],hi={initial:{opacity:0,y:36},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.7}},Sn=[{key:"about",href:"#video-about"},{key:"theme",href:"#video-theme"},{key:"objectives",href:"#video-objectives"},{key:"judging",href:"#video-judging"}],jn=(i,e)=>{var o;e&&e(),(o=document.querySelector(i))==null||o.scrollIntoView({behavior:"smooth"})},Os=["upcoming","locked","locked"],Hs={upcoming:{color:"#C4860A",glow:"rgba(196,134,10,0.4)",pulse:!0},locked:{color:"#64748B",glow:"rgba(100,116,139,0.2)",pulse:!1}};function Vs({lang:i,setLang:e,c:o}){const[r,n]=P.useState(!1),[s,l]=P.useState(!1);P.useEffect(()=>{const h=()=>n(window.scrollY>60);return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),P.useEffect(()=>(document.body.style.overflow=s?"hidden":"",()=>{document.body.style.overflow=""}),[s]);const a=()=>l(!1),c=i==="si"?{fontFamily:"'Noto Sans Sinhala', sans-serif"}:{};return t.jsxs(t.Fragment,{children:[t.jsx("header",{style:{position:"fixed",top:0,left:0,right:0,zIndex:1e3,transition:"background 0.4s, backdrop-filter 0.4s, border-color 0.4s",background:r?"rgba(253,246,232,0.94)":"transparent",backdropFilter:r?"blur(20px)":"none",WebkitBackdropFilter:r?"blur(20px)":"none",borderBottom:`1px solid ${r?"rgba(175,110,20,0.15)":"transparent"}`},children:t.jsxs("nav",{style:{maxWidth:1280,margin:"0 auto",padding:"0 24px",height:72,display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t.jsx("a",{href:"/video",style:{display:"flex",alignItems:"center",textDecoration:"none"},children:t.jsx("img",{src:"/logos/vesak-festival-Logo.png",alt:"National Vesak Festival Matara 2026",style:{height:60,objectFit:"contain"},onError:h=>{h.currentTarget.style.display="none"}})}),t.jsxs("div",{className:"desktop-nav",style:{display:"flex",alignItems:"center",gap:28},children:[Sn.map(h=>t.jsx("a",{href:h.href,onClick:g=>{g.preventDefault(),jn(h.href)},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.875rem",fontWeight:500,color:"#8B6040",textDecoration:"none",transition:"color 0.2s",cursor:"pointer"},onMouseEnter:g=>g.currentTarget.style.color="#1C0800",onMouseLeave:g=>g.currentTarget.style.color="#8B6040",children:o.nav[h.key]},h.key)),t.jsx("div",{style:{width:1,height:14,background:"rgba(175,110,20,0.30)"},"aria-hidden":"true"}),t.jsx("a",{href:"/",style:{fontFamily:"Inter, sans-serif",fontSize:"0.875rem",fontWeight:600,color:"#C4860A",textDecoration:"none",transition:"color 0.2s"},onMouseEnter:h=>h.currentTarget.style.color="#1C0800",onMouseLeave:h=>h.currentTarget.style.color="#C4860A",children:t.jsx("span",{style:c,children:o.nav.back})})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[t.jsx("div",{style:{display:"flex",alignItems:"center",background:"rgba(255,215,140,0.28)",border:"1px solid rgba(175,110,20,0.22)",borderRadius:100,padding:3},children:["en","si"].map(h=>t.jsx("button",{onClick:()=>e(h),style:{padding:"5px 12px",borderRadius:100,border:"none",cursor:"pointer",fontFamily:h==="si"?"'Noto Sans Sinhala', sans-serif":"JetBrains Mono, monospace",fontSize:"0.7rem",fontWeight:600,color:i===h?"#fff":"#8B6040",background:i===h?"linear-gradient(135deg,#C4860A,#D4580A)":"transparent",transition:"all 0.2s"},children:h==="en"?"EN":"සිං"},h))}),t.jsx("button",{onClick:()=>l(h=>!h),"aria-label":s?"Close menu":"Open menu","aria-expanded":s,className:"mobile-nav",style:{width:42,height:42,display:"none",alignItems:"center",justifyContent:"center",color:"#1C0800",background:"rgba(255,215,140,0.28)",border:"1px solid rgba(175,110,20,0.18)",borderRadius:8},children:s?t.jsx(Pi,{size:20}):t.jsx(En,{size:20})})]})]})}),s&&t.jsxs("div",{role:"dialog","aria-label":"Mobile navigation",style:{position:"fixed",inset:0,zIndex:1001,background:"rgba(253,246,232,0.98)",backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",display:"flex",flexDirection:"column"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 24px",height:72,borderBottom:"1px solid rgba(175,110,20,0.12)"},children:[t.jsx("a",{href:"/video",style:{display:"flex",alignItems:"center",textDecoration:"none"},children:t.jsx("img",{src:"/logos/vesak-festival-Logo.png",alt:"National Vesak Festival Matara 2026",style:{height:52,objectFit:"contain"},onError:h=>{h.currentTarget.style.display="none"}})}),t.jsx("button",{onClick:a,"aria-label":"Close menu",style:{width:42,height:42,display:"flex",alignItems:"center",justifyContent:"center",color:"#1C0800",background:"rgba(255,215,140,0.28)",border:"1px solid rgba(175,110,20,0.18)",borderRadius:8,cursor:"pointer"},children:t.jsx(Pi,{size:20})})]}),t.jsxs("nav",{style:{flex:1,overflowY:"auto",padding:"8px 0"},children:[Sn.map(h=>t.jsxs("a",{href:h.href,onClick:g=>{g.preventDefault(),jn(h.href,a)},style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"18px 28px",fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1rem",fontWeight:600,color:"#1C0800",borderBottom:"1px solid rgba(175,110,20,0.08)",textDecoration:"none",transition:"background 0.15s, color 0.15s"},onMouseEnter:g=>{g.currentTarget.style.background="rgba(196,134,10,0.07)",g.currentTarget.style.color="#C4860A"},onMouseLeave:g=>{g.currentTarget.style.background="",g.currentTarget.style.color="#1C0800"},children:[o.nav[h.key],t.jsx("span",{style:{color:"#C4860A",fontSize:"1.1rem",lineHeight:1},children:"›"})]},h.key)),t.jsxs("a",{href:"/",onClick:a,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"18px 28px",fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1rem",fontWeight:600,color:"#C4860A",borderBottom:"1px solid rgba(175,110,20,0.08)",textDecoration:"none",transition:"background 0.15s"},onMouseEnter:h=>h.currentTarget.style.background="rgba(196,134,10,0.07)",onMouseLeave:h=>h.currentTarget.style.background="",children:[o.nav.back,t.jsx("span",{style:{fontSize:"1.1rem",lineHeight:1},children:"›"})]})]}),t.jsx("div",{style:{padding:"20px 24px 36px",borderTop:"1px solid rgba(175,110,20,0.12)"},children:t.jsxs("a",{href:"https://forms.gle/9diooAofxPYEuzWS8",target:"_blank",rel:"noopener noreferrer",onClick:a,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:8,padding:"14px 24px",borderRadius:100,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.9rem",fontWeight:600,color:"#fff",background:"linear-gradient(135deg,#C25280,#A03868)",textDecoration:"none"},children:[o.hero.cta," ",t.jsx(qe,{size:14})]})})]})]})}function Ys(){const{lang:i,setLang:e}=rt(),o=kn[i]||kn.en,r=i==="si"?{fontFamily:"'Noto Sans Sinhala', sans-serif"}:{};return P.useEffect(()=>{document.title="National AI Video Competition 2026 — Jathaka Katha · Dialog Axiata"},[]),t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{position:"fixed",inset:0,zIndex:-3,backgroundImage:"url(/images/backdrop.png)",backgroundSize:"cover",backgroundPosition:"center"}}),t.jsx("div",{style:{position:"fixed",inset:0,zIndex:-2,background:"rgba(253,246,232,0.58)"}}),t.jsx(Vs,{lang:i,setLang:e,c:o}),t.jsxs("main",{children:[t.jsxs("section",{style:{minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",padding:"120px 24px 80px",position:"relative",zIndex:1},children:[t.jsx("div",{className:"hero-lotus",style:{position:"absolute",top:"12%",left:"4%",zIndex:-1},children:t.jsx(hr,{size:180,opacity:.08,spin:"200s"})}),t.jsx("div",{className:"hero-lotus",style:{position:"absolute",top:"12%",right:"4%",zIndex:-1},children:t.jsx(hr,{size:180,opacity:.08,spin:"200s",reverse:!0})}),t.jsx(I.h1,{initial:{opacity:0,y:32},animate:{opacity:1,y:0},transition:{duration:.8,delay:.15},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"clamp(1.8rem, 5vw, 3.6rem)",fontWeight:900,lineHeight:1.15,maxWidth:900,marginBottom:18,background:"linear-gradient(135deg, #1C0800 0%, rgba(92,48,16,0.65) 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:o.hero.title}),t.jsxs(I.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.6,delay:.25},style:{display:"flex",flexDirection:"column",alignItems:"center",gap:8,marginBottom:18},className:"powered-badge",children:[t.jsx("span",{className:"powered-badge-text",style:{fontFamily:"Inter, sans-serif",fontSize:"0.88rem",color:"#8B6040",letterSpacing:"0.02em",alignSelf:"stretch",textAlign:"center"},children:o.hero.badgePrefix}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14},children:[t.jsx("div",{style:{display:"flex",justifyContent:"flex-end",minWidth:110},children:t.jsx("img",{src:"/logos/dialog-axiata-color.png",alt:"Dialog Axiata",className:"powered-badge-logo",style:{height:47,objectFit:"contain",opacity:.88},onError:n=>{n.currentTarget.style.display="none"}})}),t.jsx("span",{style:{fontFamily:"Inter, sans-serif",fontSize:"0.88rem",color:"#8B6040",letterSpacing:"0.02em"},children:"and"}),t.jsx("div",{style:{display:"flex",justifyContent:"flex-start",minWidth:110},children:t.jsx("img",{src:"/logos/mit-logo.png",alt:"MIT",style:{height:47,objectFit:"contain",opacity:.88},onError:n=>{n.currentTarget.style.display="none"}})})]})]}),t.jsx(I.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"clamp(0.95rem, 2.5vw, 1.15rem)",color:"#8B6040",maxWidth:680,lineHeight:1.75,marginBottom:10},children:o.hero.subtitle}),t.jsx(I.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.45},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.85rem",color:"#C4860A",fontWeight:500,marginBottom:36},children:o.hero.organizedFor}),t.jsx(I.div,{initial:{opacity:0,scale:.92},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.6},style:{marginBottom:18},children:t.jsx("a",{href:"https://forms.gle/9diooAofxPYEuzWS8",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",gap:10,padding:"16px 40px",borderRadius:100,minWidth:220,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1rem",fontWeight:600,color:"#fff",background:"linear-gradient(135deg, #C25280 0%, #9B3A68 100%)",boxShadow:"0 0 28px rgba(194,82,128,0.35), 0 4px 16px rgba(0,0,0,0.12)",textDecoration:"none",transition:"opacity 0.2s",...r},onMouseEnter:n=>n.currentTarget.style.opacity="0.88",onMouseLeave:n=>n.currentTarget.style.opacity="1",children:o.hero.cta})}),t.jsxs(I.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.75},style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.7rem",letterSpacing:"0.12em",textTransform:"uppercase",color:"#8B6040",marginBottom:0},children:[t.jsx("span",{style:r,children:o.hero.dateLabel})," · ",t.jsx("span",{style:r,children:o.hero.dates})]}),t.jsx("div",{style:{position:"absolute",bottom:36,left:"50%",transform:"translateX(-50%)",animation:"bounce-chevron 2s ease-in-out infinite",color:"#8B6040"},"aria-hidden":"true",children:t.jsx(ur,{size:26,strokeWidth:1.5})})]}),t.jsx(Ye,{}),t.jsx("section",{className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:o.timeline.eyebrow,title:o.timeline.title}),t.jsxs("div",{className:"tl-track",children:[t.jsx("div",{className:"tl-line-bg","aria-hidden":"true"}),o.timeline.nodes.map((n,s)=>{const l=Os[s],{color:a,glow:c,pulse:h}=Hs[l],g=s%2===0,x=t.jsxs("div",{style:{background:"rgba(255,240,210,0.80)",border:`1px solid ${l==="locked"?"rgba(175,110,20,0.12)":"rgba(196,134,10,0.35)"}`,borderRadius:18,padding:"18px 20px",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",width:"100%"},children:[t.jsx("div",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.7rem",color:"#C4860A",marginBottom:5},children:n.date}),t.jsx("h3",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"0.95rem",fontWeight:700,color:"#1C0800",marginBottom:7,lineHeight:1.3},children:n.event}),t.jsx("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.78rem",color:"#8B6040",lineHeight:1.6,margin:0},children:n.detail})]});return t.jsxs(I.div,{className:"tl-node",initial:{opacity:0,y:g?-24:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:s*.12},children:[t.jsxs("div",{className:"tl-zone-top",children:[g&&x,g&&t.jsx("div",{className:"tl-stem",style:{background:a}})]}),t.jsx("div",{className:"tl-dot",style:{background:a,boxShadow:`0 0 0 4px rgba(253,246,232,1), 0 0 20px ${c}`,animation:h?"pulse-dot 2s ease-in-out infinite":"none"},"aria-hidden":"true"}),t.jsxs("div",{className:"tl-zone-bot",children:[!g&&t.jsx("div",{className:"tl-stem",style:{background:a}}),!g&&x]})]},n.date)})]})]})}),t.jsx(Ye,{}),t.jsx("section",{id:"video-about",className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:o.intro.eyebrow,title:o.intro.title}),t.jsx("div",{style:{maxWidth:820,margin:"0 auto",display:"flex",flexDirection:"column",gap:20},children:o.intro.paragraphs.map((n,s)=>t.jsx(I.p,{initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.65,delay:s*.08},style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"clamp(0.95rem, 2vw, 1.05rem)",color:"#5C3010",lineHeight:1.9,margin:0,textAlign:"center"},children:n},n.slice(0,40)))})]})}),t.jsx(Ye,{}),t.jsx("section",{id:"video-theme",className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:o.theme.eyebrow,title:o.theme.title}),t.jsx(I.p,{...hi,style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1rem",color:"#5C3010",lineHeight:1.8,maxWidth:660,margin:"0 auto 44px",textAlign:"center"},children:o.theme.body}),t.jsx(I.div,{...hi,style:{display:"flex",flexWrap:"wrap",gap:16,justifyContent:"center",maxWidth:860,margin:"0 auto 40px"},children:o.theme.specs.map((n,s)=>{const l=Ps[s];return t.jsxs("div",{style:{flex:"1 1 200px",maxWidth:270,display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",padding:"28px 20px",borderRadius:20,background:"linear-gradient(135deg, #C25280, #A03868)",boxShadow:"0 8px 32px rgba(194,82,128,0.28)"},children:[t.jsx("div",{style:{width:52,height:52,borderRadius:"50%",marginBottom:14,flexShrink:0,background:"rgba(255,255,255,0.18)",display:"flex",alignItems:"center",justifyContent:"center"},children:t.jsx(l,{size:22,color:"#fff",strokeWidth:1.5})}),t.jsx("div",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Playfair Display, serif",fontSize:"1.25rem",fontWeight:700,color:"#fff",lineHeight:1.15,marginBottom:6},children:n.label}),t.jsx("div",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.75rem",color:"rgba(255,255,255,0.80)",fontWeight:500},children:n.sub})]},n.label)})}),t.jsx(I.div,{...hi,style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 340px), 1fr))",gap:10,maxWidth:860,margin:"0 auto"},children:o.theme.formats.map((n,s)=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14,padding:"14px 18px",borderRadius:14,background:"rgba(255,248,225,0.68)",border:"1px solid rgba(175,110,20,0.18)",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",...s===4?{gridColumn:"1 / -1"}:{}},children:[t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.7rem",fontWeight:700,color:"#C4860A",flexShrink:0,minWidth:22,textAlign:"center"},children:String(s+1).padStart(2,"0")}),t.jsx("div",{style:{width:1,height:26,background:"rgba(196,134,10,0.20)",flexShrink:0}}),t.jsx("span",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.88rem",color:"#2C1200",fontWeight:500,lineHeight:1.45},children:n})]},n))})]})}),t.jsx(Ye,{}),t.jsx("section",{id:"video-objectives",className:"section section-pink-glow",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:o.objectives.eyebrow,title:o.objectives.title}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:16,justifyContent:"center",maxWidth:960,margin:"0 auto"},children:o.objectives.list.map((n,s)=>t.jsxs(I.div,{initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.55,delay:s*.1},style:{flex:"0 1 280px",display:"flex",alignItems:"flex-start",gap:14,padding:"20px 22px",borderRadius:16,background:"rgba(255,248,225,0.48)",border:"1px solid rgba(175,110,20,0.24)",backdropFilter:"blur(18px)",WebkitBackdropFilter:"blur(18px)",boxShadow:"0 4px 24px rgba(175,110,20,0.07)"},children:[t.jsx("div",{style:{width:26,height:26,borderRadius:"50%",flexShrink:0,background:"linear-gradient(135deg,#C4860A,#D4580A)",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"JetBrains Mono, monospace",fontSize:"0.62rem",fontWeight:700,color:"#fff"},children:s+1}),t.jsx("p",{style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"0.88rem",color:"#5C3010",lineHeight:1.65,margin:0},children:n})]},n.text??n.title??s))})]})}),t.jsx(Ye,{}),t.jsx("section",{id:"video-judging",className:"section",style:{zIndex:1,position:"relative"},children:t.jsxs("div",{className:"container",children:[t.jsx(et,{eyebrow:o.judging.eyebrow,title:o.judging.title}),t.jsx(I.p,{...hi,style:{fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1rem",color:"#5C3010",lineHeight:1.8,maxWidth:660,margin:"0 auto 52px",textAlign:"center"},children:o.judging.panelDesc}),t.jsx(I.div,{...hi,style:{maxWidth:680,margin:"0 auto 60px"},children:o.judging.criteria.map((n,s)=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:28,padding:"22px 0",borderBottom:s{n.currentTarget.style.transform="scale(1.04)",n.currentTarget.style.boxShadow="0 0 40px rgba(194,82,128,0.55)"},onMouseLeave:n=>{n.currentTarget.style.transform="",n.currentTarget.style.boxShadow="0 0 24px rgba(194,82,128,0.35)"},children:o.cta.button}),t.jsx("a",{href:"/",style:{display:"inline-flex",alignItems:"center",padding:"15px 36px",borderRadius:100,fontFamily:i==="si"?"'Noto Sans Sinhala', sans-serif":"Inter, sans-serif",fontSize:"1rem",fontWeight:600,color:"#7A4200",background:"rgba(196,134,10,0.12)",border:"1.5px solid rgba(196,134,10,0.32)",textDecoration:"none",transition:"background 0.25s"},onMouseEnter:n=>{n.currentTarget.style.background="rgba(196,134,10,0.22)"},onMouseLeave:n=>{n.currentTarget.style.background="rgba(196,134,10,0.12)"},children:t.jsx("span",{style:r,children:o.cta.back})})]})]})})]})]}),t.jsxs("footer",{style:{borderTop:"1px solid rgba(175,110,20,0.15)",padding:"32px 24px 24px",background:"rgba(250,240,212,0.96)",position:"relative",zIndex:1,display:"flex",flexDirection:"column",alignItems:"center",gap:20},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:32,flexWrap:"wrap",justifyContent:"center"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.58rem",letterSpacing:"0.12em",textTransform:"uppercase",color:"#C4860A",fontWeight:600,alignSelf:"stretch",textAlign:"center"},children:"Organized By"}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[t.jsx("div",{style:{display:"flex",justifyContent:"flex-end",minWidth:80},children:t.jsx("img",{src:"/logos/dialog-axiata-color.png",alt:"Dialog Axiata PLC",style:{height:28,objectFit:"contain",opacity:.88},onError:n=>{n.currentTarget.style.display="none"}})}),t.jsx("span",{style:{fontFamily:"Inter, sans-serif",fontSize:"0.78rem",color:"#8B6040",letterSpacing:"0.02em"},children:"and"}),t.jsx("div",{style:{display:"flex",justifyContent:"flex-start",minWidth:80},children:t.jsx("img",{src:"/logos/mit-logo.png",alt:"MIT",style:{height:28,objectFit:"contain",opacity:.88},onError:n=>{n.currentTarget.style.display="none"}})})]})]}),t.jsx("div",{style:{width:1,height:36,background:"rgba(175,110,20,0.20)"},"aria-hidden":"true"}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.58rem",letterSpacing:"0.12em",textTransform:"uppercase",color:"#C4860A",fontWeight:600},children:"Endorsed By"}),t.jsx("img",{src:"/logos/government-emblem.png",alt:"Ministry of Buddhasasana Religious and Cultural Affairs",style:{height:36,objectFit:"contain",opacity:.88},onError:n=>{n.currentTarget.style.display="none"}})]}),t.jsx("div",{style:{width:1,height:36,background:"rgba(175,110,20,0.20)"},"aria-hidden":"true"}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[t.jsx("span",{style:{fontFamily:"JetBrains Mono, monospace",fontSize:"0.58rem",letterSpacing:"0.12em",textTransform:"uppercase",color:"#C4860A",fontWeight:600},children:"Media Partner"}),t.jsx("img",{src:"/logos/swarnavahini-logo.png",alt:"Swarnavahini",style:{height:28,objectFit:"contain",opacity:.88},onError:n=>{n.currentTarget.style.display="none"}})]})]}),t.jsx("p",{style:{fontFamily:"Inter, sans-serif",fontSize:"0.78rem",color:"#8B6040"},children:"© 2026 Dialog Axiata PLC · National Vesak Festival Matara · National AI Video Competition"})]})]})}class $s extends P.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?t.jsxs("div",{style:{minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:"#FDF6E8",color:"#1C0800",fontFamily:"Inter, system-ui, sans-serif",textAlign:"center",padding:"40px 24px"},children:[t.jsx("div",{style:{fontSize:"3rem",marginBottom:20},children:"🪔"}),t.jsx("h1",{style:{fontFamily:"Playfair Display, Georgia, serif",fontSize:"clamp(1.4rem, 4vw, 2rem)",fontWeight:700,marginBottom:12,color:"#1C0800"},children:"Something went wrong"}),t.jsx("p",{style:{color:"#8B6040",fontSize:"1rem",lineHeight:1.6,marginBottom:32,maxWidth:420},children:"An unexpected error occurred. Please refresh the page to continue."}),t.jsx("button",{onClick:()=>window.location.reload(),style:{padding:"14px 32px",borderRadius:100,background:"linear-gradient(135deg, #C25280, #A03868)",color:"#fff",fontFamily:"Inter, sans-serif",fontSize:"0.95rem",fontWeight:600,border:"none",cursor:"pointer",boxShadow:"0 4px 20px rgba(194,82,128,0.35)"},children:"Refresh Page"})]}):this.props.children}}const Xs=window.location.pathname.startsWith("/video");_r.createRoot(document.getElementById("root")).render(t.jsx(co.StrictMode,{children:t.jsx($s,{children:t.jsx(Xo,{children:Xs?t.jsx(Ys,{}):t.jsx(Rs,{})})})}));