(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88143,(e,t,r)=>{"use strict";function i({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:s,objectFit:n}){let a=r?40*r:e,l=i?40*i:t,o=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===n?"xMidYMid":"cover"===n?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},87690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={VALID_LOADERS:function(){return n},imageConfigDefault:function(){return a}};for(var s in i)Object.defineProperty(r,s,{enumerable:!0,get:i[s]});let n=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},8927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return c}}),e.r(33525);let i=e.r(43369),s=e.r(88143),n=e.r(87690),a=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:u,className:h,quality:m,width:f,height:p,fill:x=!1,style:g,overrideSrc:b,onLoad:w,onLoadingComplete:v,placeholder:y="empty",blurDataURL:j,fetchPriority:N,decoding:_="async",layout:P,objectFit:S,objectPosition:C,lazyBoundary:E,lazyRoot:O,...k},R){var I;let A,M,z,{imgConf:$,showAltText:T,blurComplete:D,defaultLoader:L}=R,W=$||n.imageConfigDefault;if("allSizes"in W)A=W;else{let e=[...W.deviceSizes,...W.imageSizes].sort((e,t)=>e-t),t=W.deviceSizes.sort((e,t)=>e-t),r=W.qualities?.sort((e,t)=>e-t);A={...W,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===L)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let F=k.loader||L;delete k.loader,delete k.srcSet;let B="__next_img_default"in F;if(B){if("custom"===A.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=F;F=t=>{let{config:r,...i}=t;return e(i)}}if(P){"fill"===P&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(g={...g,...e});let r={responsive:"100vw",fill:"100vw"}[P];r&&!t&&(t=r)}let U="",G=o(f),q=o(p);if((I=e)&&"object"==typeof I&&(l(I)||void 0!==I.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(M=t.blurWidth,z=t.blurHeight,j=j||t.blurDataURL,U=t.src,!x)if(G||q){if(G&&!q){let e=G/t.width;q=Math.round(t.height*e)}else if(!G&&q){let e=q/t.height;G=Math.round(t.width*e)}}else G=t.width,q=t.height}let X=!c&&!d&&("lazy"===u||void 0===u);(!(e="string"==typeof e?e:U)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,X=!1),A.unoptimized&&(r=!0),B&&!A.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let H=o(m),V=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:C}:{},T?{}:{color:"transparent"},g),Y=D||"empty"===y?null:"blur"===y?`url("data:image/svg+xml;charset=utf-8,${(0,s.getImageBlurSvg)({widthInt:G,heightInt:q,blurWidth:M,blurHeight:z,blurDataURL:j||"",objectFit:V.objectFit})}")`:`url("${y}")`,K=a.includes(V.objectFit)?"fill"===V.objectFit?"100% 100%":"cover":V.objectFit,J=Y?{backgroundSize:K,backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function({config:e,src:t,unoptimized:r,width:s,quality:n,sizes:a,loader:l}){if(r){let e=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let r=t.includes("?")?"&":"?";t=`${t}${r}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:c}=function({deviceSizes:e,allSizes:t},r,i){if(i){let r=/(^|\s)(1?\d?\d)vw/g,s=[];for(let e;e=r.exec(i);)s.push(parseInt(e[2]));if(s.length){let r=.01*Math.min(...s);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,s,a),d=o.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:o.map((r,i)=>`${l({config:e,src:t,quality:n,width:r})} ${"w"===c?r:i+1}${c}`).join(", "),src:l({config:e,src:t,quality:n,width:o[d]})}}({config:A,src:e,unoptimized:r,width:G,quality:H,sizes:t,loader:F}),Z=X?"lazy":u;return{props:{...k,loading:Z,fetchPriority:N,width:G,height:q,decoding:_,className:h,style:{...V,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:b||Q.src},meta:{unoptimized:r,preload:d||c,placeholder:y,fill:x}}}},98879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let i=e.r(71645),s="undefined"==typeof window,n=s?()=>{}:i.useLayoutEffect,a=s?()=>{}:i.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let e=i.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return s&&(t?.mountedInstances?.add(e.children),l()),n(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),n(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return p},defaultHead:function(){return u}};for(var s in i)Object.defineProperty(r,s,{enumerable:!0,get:i[s]});let n=e.r(55682),a=e.r(90809),l=e.r(43476),o=a._(e.r(71645)),c=n._(e.r(98879)),d=e.r(42732);function u(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let m=["name","httpEquiv","charSet","itemProp"];function f(e){let t,r,i,s;return e.reduce(h,[]).reverse().concat(u().reverse()).filter((t=new Set,r=new Set,i=new Set,s={},e=>{let n=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?n=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?n=!1:r.add(e.type);break;case"meta":for(let t=0,r=m.length;t{let r=e.key||t;return o.default.cloneElement(e,{key:r})})}let p=function({children:e}){let t=(0,o.useContext)(d.HeadManagerContext);return(0,l.jsx)(c.default,{reduceComponentsToState:f,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return n}});let i=e.r(55682)._(e.r(71645)),s=e.r(87690),n=i.default.createContext(s.imageConfigDefault)},65856,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return i}});let i=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,r)=>{"use strict";function i(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let i=e.r(70965),s=e.r(43369);function n({config:e,src:t,width:r,quality:n}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let a=(0,i.findClosestQuality)(n,e),l=(0,s.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${a}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}n.__next_img_default=!0;let a=n},85437,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let i=e.r(55682),s=e.r(90809),n=e.r(43476),a=s._(e.r(71645)),l=i._(e.r(74080)),o=i._(e.r(25633)),c=e.r(8927),d=e.r(87690),u=e.r(18556);e.r(33525);let h=e.r(65856),m=i._(e.r(35420)),f=e.r(18581),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function x(e,t,r,i,s,n,a){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&s(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let i=!1,s=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>i,isPropagationStopped:()=>s,persist:()=>{},preventDefault:()=>{i=!0,t.preventDefault()},stopPropagation:()=>{s=!0,t.stopPropagation()}})}i?.current&&i.current(e)}}))}function g(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,a.forwardRef)(({src:e,srcSet:t,sizes:r,height:i,width:s,decoding:l,className:o,style:c,fetchPriority:d,placeholder:u,loading:h,unoptimized:m,fill:p,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:v,setShowAltText:y,sizesInput:j,onLoad:N,onError:_,...P},S)=>{let C=(0,a.useCallback)(e=>{e&&(_&&(e.src=e.src),e.complete&&x(e,u,b,w,v,m,j))},[e,u,b,w,v,_,m,j]),E=(0,f.useMergedRef)(S,C);return(0,n.jsx)("img",{...P,...g(d),loading:h,width:s,height:i,decoding:l,"data-nimg":p?"fill":"1",className:o,style:c,sizes:r,srcSet:t,src:e,ref:E,onLoad:e=>{x(e.currentTarget,u,b,w,v,m,j)},onError:e=>{y(!0),"empty"!==u&&v(!0),_&&_(e)}})});function w({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,r),null):(0,n.jsx)(o.default,{children:(0,n.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(h.RouterContext),i=(0,a.useContext)(u.ImageConfigContext),s=(0,a.useMemo)(()=>{let e=p||i||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),s=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:s,localPatterns:"undefined"==typeof window?i?.localPatterns:e.localPatterns}},[i]),{onLoad:l,onLoadingComplete:o}=e,f=(0,a.useRef)(l);(0,a.useEffect)(()=>{f.current=l},[l]);let x=(0,a.useRef)(o);(0,a.useEffect)(()=>{x.current=o},[o]);let[g,v]=(0,a.useState)(!1),[y,j]=(0,a.useState)(!1),{props:N,meta:_}=(0,c.getImgProps)(e,{defaultLoader:m.default,imgConf:s,blurComplete:g,showAltText:y});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{...N,unoptimized:_.unoptimized,placeholder:_.placeholder,fill:_.fill,onLoadRef:f,onLoadingCompleteRef:x,setBlurComplete:v,setShowAltText:j,sizesInput:e.sizes,ref:t}),_.preload?(0,n.jsx)(w,{isAppRouter:!r,imgAttributes:N}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return d},getImageProps:function(){return c}};for(var s in i)Object.defineProperty(r,s,{enumerable:!0,get:i[s]});let n=e.r(55682),a=e.r(8927),l=e.r(85437),o=n._(e.r(35420));function c(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=l.Image},57688,(e,t,r)=>{t.exports=e.r(94909)},45678,e=>{"use strict";var t=e.i(43476),r=e.i(22016),i=e.i(57688),s=e.i(71645),n=e.i(75157),a=e.i(18566),l=e.i(42296),o=e.i(46932),c=e.i(88653),d=e.i(92161),u=e.i(37727);function h(){let[e,h]=(0,s.useState)(!1),[m,f]=(0,s.useState)(!1),[p,x]=(0,s.useState)(null),[g,b]=(0,s.useState)(null),[w,v]=(0,s.useState)({left:0,width:0}),[y,j]=(0,s.useState)(!1),N=(0,s.useRef)(null),_=(0,s.useRef)([]),P=(0,a.usePathname)();(0,s.useEffect)(()=>{let e=()=>{h(window.scrollY>20)};return window.addEventListener("scroll",e),(async()=>{try{let e=await fetch("/api/auth/check");if(e.ok){let t=await e.json();f(t.authenticated)}}catch(e){}})(),()=>window.removeEventListener("scroll",e)},[]),(0,s.useEffect)(()=>{let e=null!==p?p:g;if(null!==e&&_.current[e]&&N.current){let t=_.current[e],r=N.current;if(t){let e=t.getBoundingClientRect(),i=r.getBoundingClientRect();v({left:e.left-i.left-4,width:e.width})}}},[p,g]);let S=[{name:"Models",href:"/#models"},{name:"Features",href:"/#features"},{name:"Pricing",href:"/#pricing"},{name:"Docs",href:"/docs"},{name:"Status",href:"/status"}];return(0,s.useEffect)(()=>{let e=()=>{let e=S.findIndex(e=>e.href.startsWith("/#")?"/"===P&&window.location.hash===e.href.substring(1):P===e.href);b(-1!==e?e:null)};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[P]),(0,s.useEffect)(()=>(y?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[y]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed left-0 right-0 z-50 flex justify-center pt-4 px-4 transition-all duration-300 pointer-events-none",style:{top:"var(--announcement-height, 0px)"},children:(0,t.jsxs)("nav",{className:(0,n.cn)("pointer-events-auto flex items-center justify-center w-full max-w-5xl rounded-2xl px-4 py-3 border transition-all duration-500 relative",e?"shadow-[0_8px_30px_rgb(0,0,0,0.12)] bg-[#08090a]/90 backdrop-blur-xl border-white/10":"bg-transparent border-transparent"),children:[(0,t.jsx)(r.default,{href:"/",className:"absolute left-4 flex items-center gap-2 group shrink-0 transition-opacity hover:opacity-80",onClick:()=>{b(null),j(!1),window.location.hash&&window.history.pushState("",document.title,window.location.pathname)},children:(0,t.jsx)("div",{className:"relative w-8 h-8 flex items-center justify-center",children:(0,t.jsx)(i.default,{src:"/logo-symbol.png",alt:"Lora API",width:32,height:32,className:"object-contain"})})}),(0,t.jsxs)("div",{ref:N,className:"hidden md:flex items-center gap-1 bg-[#08090a]/60 backdrop-blur-xl p-1 rounded-full border border-white/10 relative",onMouseLeave:()=>x(null),children:[(null!==p||null!==g)&&(0,t.jsx)(o.motion.div,{className:"absolute top-1 bottom-1 bg-white rounded-full",initial:!1,animate:{left:w.left,width:w.width},transition:{type:"spring",stiffness:400,damping:35,mass:.6}}),S.map((e,i)=>{let s=g===i,n=p===i||s&&null===p;return(0,t.jsx)(r.default,{ref:e=>{_.current[i]=e},href:e.href,onClick:()=>{e.href.startsWith("/#")&&setTimeout(()=>{b(i)},100)},onMouseEnter:()=>x(i),className:"relative z-10 px-4 py-1.5 text-sm rounded-full transition-colors duration-200",style:{color:n?"#08090a":"#9ca3af",fontWeight:s?500:400},children:e.name},e.name)})]}),(0,t.jsxs)("div",{className:"absolute right-4 flex items-center gap-3 shrink-0",children:[m?(0,t.jsx)(r.default,{href:"/customer/dashboard",className:"px-3 py-2 text-xs sm:text-sm font-medium text-white bg-white/5 border border-white/10 rounded-lg hover:bg-white/10 transition-colors",children:"Dashboard"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{href:"/customer/login",className:"hidden sm:block text-sm text-gray-400 hover:text-white transition-colors px-2",children:"Log In"}),(0,t.jsx)(r.default,{href:"/customer/register",className:"hidden sm:block",children:(0,t.jsx)(l.MagneticButton,{variant:"primary",className:"px-3 py-2 sm:px-4 sm:py-2 text-xs sm:text-sm",children:"Get API Key"})})]}),(0,t.jsx)("button",{onClick:()=>j(!y),className:"md:hidden p-2 text-gray-400 hover:text-white transition-colors rounded-lg hover:bg-white/5","aria-label":"Toggle menu",children:y?(0,t.jsx)(u.X,{className:"w-5 h-5"}):(0,t.jsx)(d.Menu,{className:"w-5 h-5"})})]})]})}),(0,t.jsx)(c.AnimatePresence,{children:y&&(0,t.jsxs)(o.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-40 md:hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:()=>j(!1)}),(0,t.jsxs)(o.motion.div,{initial:{y:-20,opacity:0},animate:{y:0,opacity:1},exit:{y:-20,opacity:0},transition:{duration:.2,delay:.05},className:"absolute top-20 left-4 right-4 bg-[#0c0d0f] border border-white/10 rounded-2xl shadow-2xl overflow-hidden",children:[(0,t.jsx)("div",{className:"p-4 space-y-1",children:S.map(e=>(0,t.jsx)(r.default,{href:e.href,onClick:()=>j(!1),className:"block px-4 py-3 text-sm text-gray-300 hover:text-white hover:bg-white/5 rounded-xl transition-colors",children:e.name},e.name))}),!m&&(0,t.jsxs)("div",{className:"p-4 pt-0 space-y-2 border-t border-white/5 mt-1",children:[(0,t.jsx)(r.default,{href:"/customer/login",onClick:()=>j(!1),className:"block w-full px-4 py-3 text-sm text-center text-gray-300 hover:text-white border border-white/10 rounded-xl transition-colors",children:"Log In"}),(0,t.jsx)(r.default,{href:"/customer/register",onClick:()=>j(!1),className:"block w-full px-4 py-3 text-sm text-center font-medium text-black bg-white rounded-xl hover:bg-white/90 transition-colors",children:"Get API Key"})]}),m&&(0,t.jsx)("div",{className:"p-4 pt-0 border-t border-white/5 mt-1",children:(0,t.jsx)(r.default,{href:"/customer/dashboard",onClick:()=>j(!1),className:"block w-full px-4 py-3 text-sm text-center font-medium text-black bg-white rounded-xl hover:bg-white/90 transition-colors",children:"Dashboard"})})]})]})})]})}e.s(["default",()=>h])},13642,e=>{"use strict";var t=e.i(43476),r=e.i(22016),i=e.i(57688);let s=(0,e.i(75254).default)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);var n=e.i(98919),a=e.i(42009),l=e.i(71645),o=e.i(88840);function c(){let[e,c]=(0,l.useState)(""),[d,u]=(0,l.useState)(!1),h=(0,o.useToastHelpers)(),m=async t=>{if(t.preventDefault(),e){u(!0);try{if(!(await fetch("/api/customer/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})})).ok)throw Error("Failed to subscribe");c(""),h.success("Subscribed!","You have been added to our newsletter.")}catch(e){h.error("Failed to subscribe","Please try again later.")}finally{u(!1)}}};return(0,t.jsxs)("footer",{className:"border-t border-white/5 bg-[#08090a] pt-20 pb-12 relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute top-0 left-1/4 w-[500px] h-[500px] bg-indigo-500/5 rounded-full blur-[120px] pointer-events-none"}),(0,t.jsx)("div",{className:"absolute bottom-0 right-1/4 w-[500px] h-[500px] bg-purple-500/5 rounded-full blur-[120px] pointer-events-none"}),(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 relative z-10",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-12 gap-12 mb-16",children:[(0,t.jsxs)("div",{className:"lg:col-span-4 space-y-8",children:[(0,t.jsxs)(r.default,{href:"/",className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 flex items-center justify-center",children:(0,t.jsx)(i.default,{src:"/logo-symbol.png",alt:"Lora API",width:40,height:40,className:"object-contain"})}),(0,t.jsx)("span",{className:"text-xl font-bold tracking-tight text-white",children:"Lora API"})]}),(0,t.jsx)("p",{className:"text-white/50 text-sm leading-relaxed max-w-sm",children:"The world's first unified AI gateway. Access global intelligence networks through a single, high-performance API."}),(0,t.jsxs)("form",{onSubmit:m,className:"relative max-w-sm",children:[(0,t.jsx)("input",{type:"email",placeholder:"Enter your email",value:e,onChange:e=>c(e.target.value),className:"w-full pl-4 pr-24 py-3 rounded-xl bg-white/5 border border-white/10 text-white placeholder-white/30 focus:outline-none focus:border-white/20 transition-colors text-sm"}),(0,t.jsx)("button",{type:"submit",disabled:d,className:"absolute right-1.5 top-1.5 bottom-1.5 px-4 rounded-lg bg-white text-black text-xs font-semibold hover:bg-white/90 transition-colors disabled:opacity-50",children:d?"...":"Subscribe"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-4 pt-4 border-t border-white/5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-lg bg-emerald-500/5 border border-emerald-500/10",children:[(0,t.jsx)(n.Shield,{className:"w-3.5 h-3.5 text-emerald-400"}),(0,t.jsx)("span",{className:"text-[10px] font-medium text-emerald-400",children:"SOC 2 Type II"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-lg bg-blue-500/5 border border-blue-500/10",children:[(0,t.jsx)(a.Award,{className:"w-3.5 h-3.5 text-blue-400"}),(0,t.jsx)("span",{className:"text-[10px] font-medium text-blue-400",children:"GDPR Compliant"})]})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-2 space-y-6",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:"Platform"}),(0,t.jsxs)("ul",{className:"space-y-3",children:[(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/#models",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Models"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/#pricing",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Pricing"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/docs",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Documentation"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/status",className:"text-sm text-white/50 hover:text-white transition-colors",children:"System Status"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/changelog",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Changelog"})})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-2 space-y-6",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:"Company"}),(0,t.jsxs)("ul",{className:"space-y-3",children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://loratech.dev/about",className:"text-sm text-white/50 hover:text-white transition-colors",children:"About"})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://loratech.dev/blog",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Blog"})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://loratech.dev/careers",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Careers"})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://loratech.dev/contact",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Contact"})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"mailto:support@loratech.dev",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Support"})})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-2 space-y-6",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:"Legal"}),(0,t.jsxs)("ul",{className:"space-y-3",children:[(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/privacy",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Privacy Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/terms",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Terms of Service"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/cookies",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Cookies Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/acceptable-use",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Acceptable Use"})}),(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/security",className:"text-sm text-white/50 hover:text-white transition-colors",children:"Security"})})]})]})]}),(0,t.jsxs)("div",{className:"border-t border-white/5 pt-8 flex flex-col md:flex-row items-center justify-between gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,t.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-emerald-500"})]}),(0,t.jsx)("span",{className:"text-xs text-white/40 font-mono",children:"ALL SYSTEMS OPERATIONAL"})]}),(0,t.jsx)("p",{className:"text-xs text-white/30 hidden md:block",children:"© 2026 Lora Technologies Inc. All rights reserved."}),(0,t.jsx)("div",{className:"flex items-center gap-4",children:(0,t.jsx)("a",{href:"https://github.com/loratech",target:"_blank",rel:"noopener noreferrer",className:"p-2 rounded-lg bg-white/5 hover:bg-white/10 text-white/60 hover:text-white transition-colors",children:(0,t.jsx)(s,{className:"w-4 h-4"})})}),(0,t.jsx)("p",{className:"text-xs text-white/30 md:hidden",children:"© 2026 Lora Technologies Inc."})]})]})]})}e.s(["default",()=>c],13642)},92205,e=>{"use strict";var t=e.i(43476),r=e.i(18566);function i({children:e,navbar:i,footer:s}){let n=(0,r.usePathname)(),a=n?.startsWith("/customer"),l=n?.startsWith("/docs"),o=n?.startsWith("/admin"),c="/"===n,d=a||o;return(0,t.jsxs)(t.Fragment,{children:[!d&&i,(0,t.jsx)("main",{className:`flex-grow ${!d&&!c?"pt-16":""}`,children:e}),!(a||o||l)&&s]})}e.s(["default",()=>i])},32549,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(18566);function s({children:e}){let s=(0,i.usePathname)(),n=(0,i.useRouter)(),[a,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)(!0);return((0,r.useEffect)(()=>{(async()=>{if(!s)return;let e=s.replace(/\/$/,""),t=e.startsWith("/customer"),r=e.startsWith("/admin"),i="/customer/login"===e||"/customer/register"===e||"/customer/pending-approval"===e||e.startsWith("/customer/docs"),a="/admin/secure-portal"===e||e.startsWith("/admin/auth");if(t&&i||r&&a||!t&&!r){l(!0),c(!1);return}try{let e="";if(t?e="/api/customer/dashboard":r&&(e="/api/admin/dashboard"),e){await fetch(e,{method:"HEAD",credentials:"include"});let i=await fetch(e,{credentials:"include"});401===i.status||403===i.status?(t&&n.push("/customer/login"),r&&n.push("/admin/secure-portal"),l(!1)):(i.ok,l(!0))}else l(!0)}catch(e){console.error("Auth check failed",e),l(!0)}finally{c(!1)}})()},[s,n]),o)?(0,t.jsx)("div",{className:"flex items-center justify-center min-h-screen bg-[#08090a] text-white",children:(0,t.jsx)("div",{className:"w-8 h-8 border-2 border-emerald-500 border-t-transparent rounded-full animate-spin"})}):a?(0,t.jsx)(t.Fragment,{children:e}):null}e.s(["default",()=>s])},6803,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(46932),s=e.i(88653),n=e.i(37727),a=e.i(83086),l=e.i(72520),o=e.i(22016);function c({id:e,message:c,link:d,linkText:u="Learn more",variant:h="gradient",dismissible:m=!0}){let[f,p]=(0,r.useState)(!1),[x,g]=(0,r.useState)(!1),b=(0,r.useRef)(null);return((0,r.useEffect)(()=>{g(!0),localStorage.getItem(`announcement-${e}`)||p(!0)},[e]),(0,r.useEffect)(()=>{if(!b.current)return;let e=()=>{if(b.current&&f){let e=b.current.offsetHeight;document.documentElement.style.setProperty("--announcement-height",`${e}px`)}else document.documentElement.style.removeProperty("--announcement-height")},t=new ResizeObserver(e);return t.observe(b.current),e(),()=>{t.disconnect(),document.documentElement.style.removeProperty("--announcement-height")}},[f,x]),x)?(0,t.jsx)(s.AnimatePresence,{children:f&&(0,t.jsxs)(i.motion.div,{ref:b,initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:`relative overflow-hidden ${{default:"bg-white/5 border-b border-white/10",gradient:"bg-gradient-to-r from-indigo-500/10 via-purple-500/10 to-pink-500/10 border-b border-white/10",highlight:"bg-gradient-to-r from-emerald-500/20 to-blue-500/20 border-b border-emerald-500/20"}[h]}`,children:[(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 py-2.5 flex items-center justify-center gap-3 text-sm",children:[(0,t.jsx)(i.motion.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:400},children:(0,t.jsx)(a.Sparkles,{className:"w-4 h-4 text-amber-400"})}),(0,t.jsx)("span",{className:"text-white/80 text-center",children:c}),d&&(0,t.jsxs)(o.default,{href:d,className:"inline-flex items-center gap-1 text-white font-medium hover:text-indigo-300 transition-colors group",children:[u,(0,t.jsx)(l.ArrowRight,{className:"w-3.5 h-3.5 group-hover:translate-x-0.5 transition-transform"})]}),m&&(0,t.jsx)("button",{onClick:()=>{p(!1),localStorage.setItem(`announcement-${e}`,"dismissed"),document.documentElement.style.removeProperty("--announcement-height")},className:"absolute right-4 p-1 rounded-lg hover:bg-white/10 transition-colors","aria-label":"Dismiss announcement",children:(0,t.jsx)(n.X,{className:"w-4 h-4 text-white/40 hover:text-white/60"})})]}),(0,t.jsx)(i.motion.div,{className:"absolute bottom-0 left-0 h-px bg-gradient-to-r from-transparent via-white/30 to-transparent",initial:{width:0,x:"-100%"},animate:{width:"100%",x:"100%"},transition:{duration:3,repeat:1/0,ease:"linear"}})]})}):null}e.s(["default",()=>c])}]);