1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ProcessScrollCanvas-C6by70FR.js","assets/vendor-react-BsIZDGja.js","assets/vendor-gsap-a3sj5zmn.js","assets/vendor-clerk-BIGLA9lg.js","assets/vendor-query-CoZHtb0k.js","assets/vendor-recharts-C4n2D9md.js","assets/StrategySandbox-T-WC0okx.js","assets/RhodeDeck-CRF9O2vH.js","assets/AdidasDeck-A1NOCBUH.js","assets/users-C2v03wsT.js","assets/createLucideIcon-BvKhkVn4.js","assets/zap-CeoDlq7A.js","assets/proxy-Cjx5t8I4.js","assets/GymsharkDeck-DxzhYNDr.js","assets/PanameraDeck-CN8O08mU.js","assets/TourSandbox-DcV58KG0.js","assets/DashboardMockup-P97QSblA.js","assets/RhodeStrategyModal-LTlOs5m_.js","assets/SignInPage-CKim3vIJ.js","assets/clerkAppearance-DFoB43Xb.js","assets/useNoIndex-DtkBmZww.js","assets/SignUpPage-DJYK4vuQ.js","assets/DashboardPage-BFoMYFBd.js","assets/skeleton-C9mvYMqi.js","assets/format-DhIxCKRC.js","assets/plus-BKuYJtMO.js","assets/loader-circle-Bqryf2xq.js","assets/trash-2-C1oDXksP.js","assets/HomePage-BJ97AayD.js","assets/trending-up-TLJyk8yN.js","assets/disc-C5wY3eDW.js","assets/chevron-down-BepMgxNz.js","assets/StudioPage-BIDRlV9W.js","assets/check-BDafCcBR.js","assets/ViewStrategyPage-D_TQBoGL.js","assets/pptxExport-CsUgrhm4.js","assets/arrow-left-BVKehLxH.js","assets/file-down-CvJyQ64t.js","assets/copy-D6INIqtj.js","assets/download-DL1j5n7t.js","assets/triangle-alert-DnQ7VUpf.js","assets/not-found-BinGDkSh.js","assets/DisciplinePage-1qbwMb0t.js","assets/PrivacyPage-BMuwWv7w.js","assets/LegalNav-eFI23xJa.js","assets/SecurityPage-CXxnx_V7.js","assets/TermsPage-2DUPOvMU.js","assets/CookiesPage-Dts3qYRF.js","assets/EulaPage-CF9CRbS6.js","assets/DisclaimerPage-BCfrtkre.js","assets/AcceptableUsePage-AhRlMIfI.js","assets/RefundPolicyPage--QxmHJS3.js","assets/PricingPage-xz_GoWYq.js","assets/TokensPage-BOl2KsgX.js","assets/ApiSettings-BrvwUOZk.js","assets/shield-CDLiVVk3.js","assets/VerifyEmailPage-3bUtTrPh.js","assets/ContactPage-C1G37Uhk.js","assets/IntegrationsGPT-dNxjNXaC.js","assets/DeleteAccountPage-D0dMtGQk.js","assets/credit-card-CDw-xk3g.js","assets/UseCasesMarketingPage-BOyG7AQg.js","assets/SampleDeckModal-DJonBJ-2.js","assets/UseCasesFoundersPage-CKfQ7AQQ.js","assets/UseCasePageTemplate-C3EnxnnN.js","assets/UseCasesFreelancePage-auLhmgwZ.js","assets/UseCasesAgenciesPage-DH27WXYt.js","assets/UseCasesCreativeDirectorsPage-zVi-W3T6.js","assets/UseCasesPRPage-C1ijKZnA.js","assets/UseCasesDesignersPage-BDOdLwRg.js","assets/AuthenticatedLayout-B4cXeN2Q.js","assets/search-DKR5VRY8.js","assets/AdminStrategyPage-ByhXwGCg.js","assets/AdminPanelPage-B1hNUeVs.js"])))=>i.map(i=>d[i]); 2import{r as p,e as n,i as Ss,d as js,R as M,k as Jr,a as Gr,l as Es}from"./vendor-react-BsIZDGja.js";import{u as Pn,a as On,p as Cs,C as Ts,d as Rs,b as As,S as er}from"./vendor-clerk-BIGLA9lg.js";import{u as Mn,a as De,Q as Is,b as Ps,c as Os}from"./vendor-query-CoZHtb0k.js";import{c as Ms}from"./vendor-recharts-C4n2D9md.js";import{g as fe,S as Yr}from"./vendor-gsap-a3sj5zmn.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function r(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(s){if(s.ep)return;s.ep=!0;const i=r(s);fetch(s.href,i)}})();const Fs="modulepreload",Ns=function(e){return"/"+e},tr={},oe=function(t,r,o){let s=Promise.resolve();if(r&&r.length>0){let d=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(l=>({status:"fulfilled",value:l}),l=>({status:"rejected",reason:l}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");s=d(r.map(u=>{if(u=Ns(u),u in tr)return;tr[u]=!0;const f=u.endsWith(".css"),l=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${l}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":Fs,f||(g.as="script"),g.crossOrigin="",g.href=u,c&&g.setAttribute("nonce",c),document.head.appendChild(g),f)return new Promise((h,x)=>{g.addEventListener("load",h),g.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return s.then(a=>{for(const c of a||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})},Kr="strite-theme";function Ls(e){e==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}function _s(){try{const e=localStorage.getItem(Kr);if(e==="light"||e==="dark")return e}catch{}return"dark"}function Bs(){const[e,t]=p.useState(_s);p.useEffect(()=>{Ls(e);try{localStorage.setItem(Kr,e)}catch{}},[e]);const r=p.useCallback(s=>{t(s)},[]),o=p.useCallback(()=>{t(s=>s==="dark"?"light":"dark")},[]);return{theme:e,isDark:e==="dark",toggle:o,setTheme:r}}const Xr=p.createContext(null);function Ds({children:e}){const t=Bs();return n.jsx(Xr.Provider,{value:t,children:e})}function ze(){const e=p.useContext(Xr);if(!e)throw new Error("useThemeContext must be used within <ThemeProvider>");return e}function zs(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var r,o,s,i,a=[],c="",d=e.split("/");for(d[0]||d.shift();s=d.shift();)r=s[0],r==="*"?(a.push(r),c+=s[1]==="?"?"(?:/(.*))?":"/(.*)"):r===":"?(o=s.indexOf("?",1),i=s.indexOf(".",1),a.push(s.substring(1,~o?o:~i?i:s.length)),c+=~o&&!~i?"(?:/([^/]+?))?":"/([^/]+?)",~i&&(c+=(~o?"?":"")+"\\"+s.substring(i))):c+="/"+s;return{keys:a,pattern:new RegExp("^"+c+(t?"(?=$|/)":"/?$"),"i")}}var pn={exports:{}},fn={};var nr;function Ws(){if(nr)return fn;nr=1;var e=Ss();function t(l,g){return l===g&&(l!==0||1/l===1/g)||l!==l&&g!==g}var r=typeof Object.is=="function"?Object.is:t,o=e.useState,s=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function c(l,g){var h=g(),x=o({inst:{value:h,getSnapshot:g}}),w=x[0].inst,y=x[1];return i(function(){w.value=h,w.getSnapshot=g,d(w)&&y({inst:w})},[l,h,g]),s(function(){return d(w)&&y({inst:w}),l(function(){d(w)&&y({inst:w})})},[l]),a(h),h}function d(l){var g=l.getSnapshot;l=l.value;try{var h=g();return!r(l,h)}catch{return!0}}function u(l,g){return g()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:c;return fn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,fn}var rr;function $s(){return rr||(rr=1,pn.exports=Ws()),pn.exports}var Hs=$s();const Us=js.useInsertionEffect,qs=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Qr=qs?p.useLayoutEffect:p.useEffect,Vs=Us||Qr,Fn=e=>{const t=p.useRef([e,(...r)=>t[0](...r)]).current;return Vs(()=>{t[0]=e}),t[1]},Js="popstate",Nn="pushState",Ln="replaceState",Gs="hashchange",or=[Js,Nn,Ln,Gs],Ys=e=>{for(const t of or)addEventListener(t,e);return()=>{for(const t of or)removeEventListener(t,e)}},Zr=(e,t)=>
2Hs.useSyncExternalStore(Ys,e,t),sr=()=>location.search,Ks=({ssrSearch:e}={})=>Zr(sr,e!=null?()=>e:sr),ir=()=>location.pathname,Xs=({ssrPath:e}={})=>Zr(ir,e!=null?()=>e:ir),Qs=(e,{replace:t=!1,state:r=null}={})=>history[t?Ln:Nn](r,"",e),Zs=(e={})=>[Xs(e),Qs],ar=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[ar]>"u"){for(const e of[Nn,Ln]){const t=history[e];history[e]=function(){const r=t.apply(this,arguments),o=new Event(e);return o.arguments=arguments,dispatchEvent(o),r}}Object.defineProperty(window,ar,{value:!0})}const ei=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",eo=(e="")=>e==="/"?"":e,ti=(e,t)=>e[0]==="~"?e.slice(1):eo(t)+e,ni=(e="",t)=>ei(vn(eo(e)),vn(t)),ri=e=>e[0]==="?"?e.slice(1):e,vn=e=>{try{return decodeURI(e)}catch{return e}},oi=e=>vn(ri(e)),to={hook:Zs,searchHook:Ks,parser:zs,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,t,r)=>e(t,r)},no=p.createContext(to),mt=()=>p.useContext(no),ro={},oo=p.createContext(ro),si=()=>p.useContext(oo),Mt=e=>{const[t,r]=e.hook(e);return[ni(e.base,t),Fn((o,s)=>e.aroundNav(r,ti(o,e.base),s))]},Ft=()=>Mt(mt()),yp=()=>{const e=mt();return oi(e.searchHook(e))},so=(e,t,r,o)=>{const{pattern:s,keys:i}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",o),a=s.exec(r)||[],[c,...d]=a;return c!==void 0?[!0,(()=>{const u=i!==!1?Object.fromEntries(i.map((l,g)=>[l,d[g]])):a.groups;let f={...d};return u&&Object.assign(f,u),f})(),...o?[c]:[]]:[!1,null]},io=({children:e,...t})=>{const r=mt(),o=t.hook?to:r;let s=o;const[i,a=t.ssrSearch??""]=t.ssrPath?.split("?")??[];i&&(t.ssrSearch=a,t.ssrPath=i),t.hrefs=t.hrefs??t.hook?.hrefs,t.searchHook=t.searchHook??t.hook?.searchHook;let c=p.useRef({}),d=c.current,u=d;for(let f in o){const l=f==="base"?o[f]+(t[f]??""):t[f]??o[f];d===u&&l!==u[f]&&(c.current=u={...u}),u[f]=l,(l!==o[f]||l!==s[f])&&(s=u)}return p.createElement(no.Provider,{value:s,children:e})},lr=({children:e,component:t},r)=>t?p.createElement(t,{params:r}):typeof e=="function"?e(r):e,ii=e=>{let t=p.useRef(ro);const r=t.current;return t.current=Object.keys(e).length!==Object.keys(r).length||Object.entries(e).some(([o,s])=>s!==r[o])?e:r},ee=({path:e,nest:t,match:r,...o})=>{const s=mt(),[i]=Mt(s),[a,c,d]=r??so(s.parser,e,i,t),u=ii({...si(),...c});if(!a)return null;const f=d?p.createElement(io,{base:d},lr(o,u)):lr(o,u);return p.createElement(oo.Provider,{value:u,children:f})},Ce=p.forwardRef((e,t)=>{const r=mt(),[o,s]=Mt(r),{to:i="",href:a=i,onClick:c,asChild:d,children:u,className:f,replace:l,state:g,transition:h,...x}=e,w=Fn(m=>{m.ctrlKey||m.metaKey||m.altKey||m.shiftKey||m.button!==0||(c?.(m),m.defaultPrevented||(m.preventDefault(),s(a,e)))}),y=r.hrefs(a[0]==="~"?a.slice(1):r.base+a,r);return d&&p.isValidElement(u)?p.cloneElement(u,{onClick:w,href:y}):p.createElement("a",{...x,onClick:w,href:y,className:f?.call?f(o===a):f,children:u,ref:t})}),ao=e=>Array.isArray(e)?e.flatMap(t=>ao(t&&t.type===p.Fragment?t.props.children:t)):[e],ai=({children:e,location:t})=>{const r=mt(),[o]=Mt(r);for(const s of ao(e)){let i=0;if(p.isValidElement(s)&&(i=so(r.parser,s.props.path,t||o,s.props.nest))[0])return p.cloneElement(s,{match:i})}return null},wn=e=>{const{to:t,href:r=t}=e,o=mt(),[,s]=Mt(o),i=Fn(()=>s(t||r,e)),{ssrContext:a}=o;return Qr(()=>{i()},[]),a&&(a.redirectTo=t),null};function li(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}const ci=e=>{switch(e){case"success":return pi;case"info":return gi;case"warning":return fi;case"error":return mi;default:return null}},di=Array(12).fill(0),ui=({visible:e,className:t})=>M.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},M.createElement("div",{className:"sonner-spinner"},di.map((r,o)=>M.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),pi=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),fi=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
2currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),gi=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),mi=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),hi=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},M.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),xi=()=>{const[e,t]=M.useState(document.hidden);return M.useEffect(()=>{const r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e};let kn=1;class yi{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;const{message:o,...s}=t,i=typeof t?.id=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:kn++,a=this.toasts.find(d=>d.id===i),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),a?this.toasts=this.toasts.map(d=>d.id===i?(this.publish({...d,...t,id:i,title:o}),{...d,...t,id:i,dismissible:c,title:o}):d):this.addToast({title:o,...s,dismissible:c,id:i}),i},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:t,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(o=>o({id:r.id,dismiss:!0}))}),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let o;r.loading!==void 0&&(o=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const s=Promise.resolve(t instanceof Function?t():t);let i=o!==void 0,a;const c=s.then(async u=>{if(a=["resolve",u],M.isValidElement(u))i=!1,this.create({id:o,type:"default",message:u});else if(vi(u)&&!u.ok){i=!1;const l=typeof r.error=="function"?await r.error(`HTTP error! status: ${u.status}`):r.error,g=typeof r.description=="function"?await r.description(`HTTP error! status: ${u.status}`):r.description,x=typeof l=="object"&&!M.isValidElement(l)?l:{message:l};this.create({id:o,type:"error",description:g,...x})}else if(u instanceof Error){i=!1;const l=typeof r.error=="function"?await r.error(u):r.error,g=typeof r.description=="function"?await r.description(u):r.description,x=typeof l=="object"&&!M.isValidElement(l)?l:{message:l};this.create({id:o,type:"error",description:g,...x})}else if(r.success!==void 0){i=!1;const l=typeof r.success=="function"?await r.success(u):r.success,g=typeof r.description=="function"?await r.description(u):r.description,x=typeof l=="object"&&!M.isValidElement(l)?l:{message:l};this.create({id:o,type:"success",description:g,...x})}}).catch(async u=>
vendor: 1,217 bytes, line 2
2{if(a=["reject",u],r.error!==void 0){i=!1;const f=typeof r.error=="function"?await r.error(u):r.error,l=typeof r.description=="function"?await r.description(u):r.description,h=typeof f=="object"&&!M.isValidElement(f)?f:{message:f};this.create({id:o,type:"error",description:l,...h})}}).finally(()=>{i&&(this.dismiss(o),o=void 0),r.finally==null||r.finally.call(r)}),d=()=>new Promise((u,f)=>c.then(()=>a[0]==="reject"?f(a[1]):u(a[1])).catch(f));return typeof o!="string"&&typeof o!="number"?{unwrap:d}:Object.assign(o,{unwrap:d})},this.custom=(t,r)=>{const o=r?.id||kn++;return this.create({jsx:t(o),id:o,...r}),o},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ee=new yi,bi=(e,t)=>{const r=t?.id||kn++;return Ee.addToast({title:e,...t,id:r}),r},vi=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",wi=bi,ki=()=>Ee.toasts,Si=()=>Ee.getActiveToasts(),bt=Object.assign(wi,{success:Ee.success,info:Ee.info,warning:Ee.warning,error:Ee.error,custom:Ee.custom,message:Ee.message,promise:Ee.promise,dismiss:Ee.dismiss,loading:Ee.loading},{getHistory:ki,getToasts:Si});li
vendor: 14,873 bytes, line 2
2("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
2zt(e){return e.label!==void 0}const ji=3,Ei="24px",Ci="16px",cr=4e3,Ti=356,Ri=14,Ai=45,Ii=200;function He(...e){return e.filter(Boolean).join(" ")}function Pi(e){const[t,r]=e.split("-"),o=[];return t&&o.push(t),r&&o.push(r),o}const Oi=e=>{var t,r,o,s,i,a,c,d,u;const{invert:f,toast:l,unstyled:g,interacting:h,setHeights:x,visibleToasts:w,heights:y,index:m,toasts:S,exp
vendor: 5,618 bytes, line 2
2anded:E,removeToast:I,defaultRichColors:B,closeButton:P,style:A,cancelButtonStyle:j,actionButtonStyle:V,className:C="",descriptionClassName:v="",duration:W,position:D,gap:T,expandByDefault:L,classNames:F,icons:N,closeButtonAriaLabel:O="Close toast"}=e,[_,k]=M.useState(null),[se,me]=M.useState(null),[q,K]=M.useState(!1),[U,X]=M.useState(!1),[ce,ie]=M.useState(!1),[le,Fe]=M.useState(!1),[Pe,ke]=M.useState(!1),[Se,We]=M.useState(0),[ln,cn]=M.useState(0),yt=M.useRef(l.duration||W||cr),dn=M.useRef(null),$e=M.useRef(null),_t=m===0,b=m+1<=w,R=l.type,Y=l.dismissible!==!1,Z=l.className||"",re=l.descriptionClassName||"",H=M.useMemo(()=>y.findIndex(Q=>Q.toastId===l.id)||0,[y,l.id]),J=M.useMemo(()=>{var Q;return(Q=l.closeButton)!=null?Q:P},[l.closeButton,P]),de=M.useMemo(()=>l.duration||W||cr,[l.duration,W]),ge=M.useRef(0),ue=M.useRef(0),be=M.useRef(0),ae=M.useRef(null),[ne,pe]=D.split("-"),je=M.useMemo(()=>y.reduce((Q,ye,we)=>we>=H?Q:Q+ye.height,0),[y,H]),Kn=xi(),vs=l.invert||f,un=R==="loading";ue.current=M.useMemo(()=>H*T+je,[H,je]),M.useEffect(()=>{yt.current=de},[de]),M.useEffect(()=>{K(!0)},[]),M.useEffect(()=>{const Q=$e.current;if(Q){const ye=Q.getBoundingClientRect().height;return cn(ye),x(we=>[{toastId:l.id,height:ye,position:l.position},...we]),()=>x(we=>we.filter(Re=>Re.toastId!==l.id))}},[x,l.id]),M.useLayoutEffect(()=>{if(!q)return;const Q=$e.current,ye=Q.style.height;Q.style.height="auto";const we=Q.getBoundingClientRect().height;Q.style.height=ye,cn(we),x(Re=>Re.find(ve=>ve.toastId===l.id)?Re.map(ve=>ve.toastId===l.id?{...ve,height:we}:ve):[{toastId:l.id,height:we,position:l.position},...Re])},[q,l.title,l.description,x,l.id,l.jsx,l.action,l.cancel]);const Ze=M.useCallback(()=>{X(!0),We(ue.current),x(Q=>Q.filter(ye=>ye.toastId!==l.id)),setTimeout(()=>{I(l)},Ii)},[l,I,x,ue]);M.useEffect(()=>{if(l.promise&&R==="loading"||l.duration===1/0||l.type==="loading")return;let Q;return E||h||Kn?(()=>{if(be.current<ge.current){const Re=new Date().getTime()-ge.current;yt.current=yt.current-Re}be.current=new Date().getTime()})():yt.current!==1/0&&(ge.current=new Date().getTime(),Q=setTimeout(()=>{l.onAutoClose==null||l.onAutoClose.call(l,l),Ze()},yt.current)),()=>clearTimeout(Q)},[E,h,l,R,Kn,Ze]),M.useEffect(()=>{l.delete&&(Ze(),l.onDismiss==null||l.onDismiss.call(l,l))},[Ze,l.delete]);function ws(){var Q;if(N?.loading){var ye;return M.createElement("div",{className:He(F?.loader,l==null||(ye=l.classNames)==null?void 0:ye.loader,"sonner-loader"),"data-visible":R==="loading"},N.loading)}return M.createElement(ui,{className:He(F?.loader,l==null||(Q=l.classNames)==null?void 0:Q.loader),visible:R==="loading"})}const ks=l.icon||N?.[R]||ci(R);var Xn,Qn;return M.createElement("li",{tabIndex:0,ref:$e,className:He(C,Z,F?.toast,l==null||(t=l.classNames)==null?void 0:t.toast,F?.default,F?.[R],l==null||(r=l.classNames)==null?void 0:r[R]),"data-sonner-toast":"","data-rich-colors":(Xn=l.richColors)!=null?Xn:B,"data-styled":!(l.jsx||l.unstyled||g),"data-mounted":q,"data-promise":!!l.promise,"data-swiped":Pe,"data-removed":U,"data-visible":b,"data-y-position":ne,"data-x-position":pe,"data-index":m,"data-front":_t,"data-swiping":ce,"data-dismissible":Y,"data-type":R,"data-invert":vs,"data-swipe-out":le,"data-swipe-direction":se,"data-expanded":!!(E||L&&q),"data-testid":l.testId,style:{"--index":m,"--toasts-before":m,"--z-index":S.length-m,"--offset":`${U?Se:ue.current}px`,"--initial-height":L?"auto":`${ln}px`,...A,...l.style},onDragEnd:()=>{ie(!1),k(null),ae.current=null},onPointerDown:Q=>{Q.button!==2&&(un||!Y||(dn.current=new Date,We(ue.current),Q.target.setPointerCapture(Q.pointerId),Q.target.tagName!=="BUTTON"&&(ie(!0),ae.current={x:Q.clientX,y:Q.clientY})))},onPointerUp:()=>{var Q,ye,we;if(le||!Y)return;ae.current=null;const Re=Number(((Q=$e.current)==null?void 0:Q.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Bt=Number(((ye=$e.current)==null?void 0:ye.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ve=new Date().getTime()-((we=dn.current)==null?void 0:we.getTime()),Oe=_==="x"?Re:Bt,Dt=Math.abs(Oe)/ve;if(Math.abs(Oe)>=Ai||Dt>.11){We(ue.current),l.onDismiss==null||l.onDismiss.call(l,l),me(_==="x"?Re>0?"right":"left":Bt>0?"down":"up"),Ze(),Fe(!0);return}else{var Ne,Le;(Ne=$e.current)==null||Ne.style.setProperty("--swipe-amount-x","0px"),(Le=$e.current)==null||Le.style.setProperty("--swipe-amount-y","0px")}ke(!1),ie(!1),k(null)},onPointerMove:Q=>{var ye,we,Re;if(!ae.current||!Y||((ye=window.getSelection())==null?void 0:ye.toString().length)>0)return;const ve=Q.clientY-ae.current.y,Oe=Q.clientX-ae.current.x;var Dt;const Ne=(Dt=e.swipeDirections)!=null?Dt:Pi(D);!_&&(Math.abs(Oe)>1||Math.abs(ve)>1)&&k(Math.abs(Oe)>Math.abs(ve)?"x":"y");let Le={x:0,y:0};const Zn=ut=>1/(1.5+Math.abs(ut)/20);if(_==="y"){if(Ne.includes("top")||Ne.includes("bottom"))if(Ne.includes("top")&&ve<0||Ne.includes("bottom")&&ve>0)Le.y=ve;else{const ut=ve*Zn(ve);Le.y=Math.abs(ut)<Math.abs(ve)?ut:ve}}else if(_==="x"&&(Ne.includes("left")||Ne.includes("right")))if(Ne.includes("left")&&Oe<0||Ne.includes("right")&&Oe>0)Le.x=Oe;else{const ut=Oe*Zn(Oe);Le.x=Math.abs(ut)<Math.abs(Oe)?ut:Oe}(Math.abs(Le.x)>0||Math.abs(Le.y)>0)&&ke(!0),(we=$e.current)==null||we.style.setProperty("--swipe-amount-x",`${Le.x}px`),(Re=$e.current)==null||Re.style.setProperty("--swipe-amount-y",`${Le.y}px`)}},J&&!l.jsx&&R!=="loading"?M.createElement("button",{"aria-label":O,"data-disabled":un,"data-close-button":!0,onClick:un||!Y?()=>{}:()=>{Ze(),l.onDismiss==null||l.onDismiss.call(l,l)},className:He(F?.closeButton,l==null||(o=l.classNames)==null?void 0:o.closeButton)}
vendor: 12,127 bytes, line 2
2,(Qn=N?.close)!=null?Qn:hi):null,(R||l.icon||l.promise)&&l.icon!==null&&(N?.[R]!==null||l.icon)?M.createElement("div",{"data-icon":"",className:He(F?.icon,l==null||(s=l.classNames)==null?void 0:s.icon)},l.promise||l.type==="loading"&&!l.icon?l.icon||ws():null,l.type!=="loading"?ks:null):null,M.createElement("div",{"data-content":"",className:He(F?.content,l==null||(i=l.classNames)==null?void 0:i.content)},M.createElement("div",{"data-title":"",className:He(F?.title,l==null||(a=l.classNames)==null?void 0:a.title)},l.jsx?l.jsx:typeof l.title=="function"?l.title():l.title),l.description?M.createElement("div",{"data-description":"",className:He(v,re,F?.description,l==null||(c=l.classNames)==null?void 0:c.description)},typeof l.description=="function"?l.description():l.description):null),M.isValidElement(l.cancel)?l.cancel:l.cancel&&zt(l.cancel)?M.createElement("button",{"data-button":!0,"data-cancel":!0,style:l.cancelButtonStyle||j,onClick:Q=>{zt(l.cancel)&&Y&&(l.cancel.onClick==null||l.cancel.onClick.call(l.cancel,Q),Ze())},className:He(F?.cancelButton,l==null||(d=l.classNames)==null?void 0:d.cancelButton)},l.cancel.label):null,M.isValidElement(l.action)?l.action:l.action&&zt(l.action)?M.createElement("button",{"data-button":!0,"data-action":!0,style:l.actionButtonStyle||V,onClick:Q=>{zt(l.action)&&(l.action.onClick==null||l.action.onClick.call(l.action,Q),!Q.defaultPrevented&&Ze())},className:He(F?.actionButton,l==null||(u=l.classNames)==null?void 0:u.actionButton)},l.action.label):null)};function dr(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Mi(e,t){const r={};return[e,t].forEach((o,s)=>{const i=s===1,a=i?"--mobile-offset":"--offset",c=i?Ci:Ei;function d(u){["top","right","bottom","left"].forEach(f=>{r[`${a}-${f}`]=typeof u=="number"?`${u}px`:u})}typeof o=="number"||typeof o=="string"?d(o):typeof o=="object"?["top","right","bottom","left"].forEach(u=>{o[u]===void 0?r[`${a}-${u}`]=c:r[`${a}-${u}`]=typeof o[u]=="number"?`${o[u]}px`:o[u]}):d(c)}),r}const Fi=M.forwardRef(function(t,r){const{id:o,invert:s,position:i="bottom-right",hotkey:a=["altKey","KeyT"],expand:c,closeButton:d,className:u,offset:f,mobileOffset:l,theme:g="light",richColors:h,duration:x,style:w,visibleToasts:y=ji,toastOptions:m,dir:S=dr(),gap:E=Ri,icons:I,containerAriaLabel:B="Notifications"}=t,[P,A]=M.useState([]),j=M.useMemo(()=>o?P.filter(q=>q.toasterId===o):P.filter(q=>!q.toasterId),[P,o]),V=M.useMemo(()=>Array.from(new Set([i].concat(j.filter(q=>q.position).map(q=>q.position)))),[j,i]),[C,v]=M.useState([]),[W,D]=M.useState(!1),[T,L]=M.useState(!1),[F,N]=M.useState(g!=="system"?g:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),O=M.useRef(null),_=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=M.useRef(null),se=M.useRef(!1),me=M.useCallback(q=>{A(K=>{var U;return(U=K.find(X=>X.id===q.id))!=null&&U.delete||Ee.dismiss(q.id),K.filter(({id:X})=>X!==q.id)})},[]);return M.useEffect(()=>Ee.subscribe(q=>{if(q.dismiss){requestAnimationFrame(()=>{A(K=>K.map(U=>U.id===q.id?{...U,delete:!0}:U))});return}setTimeout(()=>{Jr.flushSync(()=>{A(K=>{const U=K.findIndex(X=>X.id===q.id);return U!==-1?[...K.slice(0,U),{...K[U],...q},...K.slice(U+1)]:[q,...K]})})})}),[P]),M.useEffect(()=>{if(g!=="system"){N(g);return}if(g==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?N("dark"):N("light")),typeof window>"u")return;const q=window.matchMedia("(prefers-color-scheme: dark)");try{q.addEventListener("change",({matches:K})=>{N(K?"dark":"light")})}catch{q.addListener(({matches:U})=>{try{N(U?"dark":"light")}catch(X){console.error(X)}})}},[g]),M.useEffect(()=>{P.length<=1&&D(!1)},[P]),M.useEffect(()=>{const q=K=>{var U;if(a.every(ie=>K[ie]||K.code===ie)){var ce;D(!0),(ce=O.current)==null||ce.focus()}K.code==="Escape"&&(document.activeElement===O.current||(U=O.current)!=null&&U.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",q),()=>document.removeEventListener("keydown",q)},[a]),M.useEffect(()=>{if(O.current)return()=>{k.current&&(k.current.focus({preventScroll:!0}),k.current=null,se.current=!1)}},[O.current]),M.createElement("section",{ref:r,"aria-label":`${B} ${_}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},V.map((q,K)=>{var U;const[X,ce]=q.split("-");return j.length?M.createElement("ol",{key:q,dir:S==="auto"?dr():S,tabIndex:-1,ref:O,className:u,"data-sonner-toaster":!0,"data-sonner-theme":F,"data-y-position":X,"data-x-position":ce,style:{"--front-toast-height":`${((U=C[0])==null?void 0:U.height)||0}px`,"--width":`${Ti}px`,"--gap":`${E}px`,...w,...Mi(f,l)},onBlur:ie=>{se.current&&!ie.currentTarget.contains(ie.relatedTarget)&&(se.current=!1,k.current&&(k.current.focus({preventScroll:!0}),k.current=null))},onFocus:ie=>{ie.target instanceof HTMLElement&&ie.target.dataset.dismissible==="false"||se.current||(se.current=!0,k.current=ie.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{T||D(!1)},onDragEnd:()=>D(!1),onPointerDown:ie=>{ie.target instanceof HTMLElement&&ie.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},j.filter(ie=>!ie.position&&K===0||ie.position===q).map((ie,le)=>{var Fe,Pe;return M.createElement(Oi,{key:ie.id,icons:I,index:le,toast:ie,defaultRichColors:h,duration:(Fe=m?.duration)!=null?Fe:x,className:m?.className,descriptionClassName:m?.descriptionClassName,invert:s,visibleToasts:y,closeButton:(Pe=m?.closeButton)!=null?Pe:d,interacting:T,position:q,style:m?.style,unstyled:m?.unstyled,classNames:m?.classNames,cancelButtonStyle:m?.cancelButtonStyle,actionButtonStyle:m?.actionButtonStyle,closeButtonAriaLabel:m?.closeButtonAriaLabel,removeToast:me,toasts:j.filter(ke=>ke.position==ie.position),heights:C.filter(ke=>ke.position==ie.position),setHeights:v,expandByDefault:c,gap:E,expanded:W,swipeDirections:t.swipeDirections})})):null}))}),Ni=({...e})=>n.jsx(Fi,{theme:"dark",className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e});function Ye(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),r===!1||!s.defaultPrevented)return t?.(s)}}function ur(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lo(...e){return t=>{let r=!1;const o=e.map(s=>{const i=ur(s,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let s=0;s<o.length;s++){const i=o[s];typeof i=="function"?i():ur(e[s],null)}}}}function ht(...e){return p.useCallback(lo(...e),e)}function co(e,t=[]){let r=[];function o(i,a){const c=p.createContext(a),d=r.length;r=[...r,a];const u=l=>{const{scope:g,children:h,...x}=l,w=g?.[e]?.[d]||c,y=p.useMemo(()=>x,Object.values(x));return n.jsx(w.Provider,{value:y,children:h})};u.displayName=i+"Provider";function f(l,g){const h=g?.[e]?.[d]||c,x=p.useContext(h);if(x)return x;if(a!==void 0)return a;throw new Error(`\`${l}\` must be used within \`${i}\``)}return[u,f]}const s=()=>{const i=r.map(a=>p.createContext(a));return function(c){const d=c?.[e]||i;return p.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return s.scopeName=e,[o,Li(s,...t)]}function Li(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const o=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const a=o.reduce((c,{useScope:d,scopeName:u})=>{const l=d(i)[`__scope${u}`];return{...c,...l}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function _i(e){const t=Bi(e),r=p.forwardRef((o,s)=>{const{children:i,...a}=o,c=p.Children.toArray(i),d=c.find(zi);if(d){const u=d.props.children,f=c.map(l=>l===d?p.Children.count(u)>1?p.Children.only(null):p.isValidElement(u)?u.props.children:null:l);return n.jsx(t,{...a,ref:s,children:p.isValidElement(u)?p.cloneElement(u,void 0,f):null})}return n.jsx(t,{...a,ref:s,children:i})});return r.displayName=`${e}.Slot`,r}function Bi(e){const t=p.forwardRef((r,o)=>{const{children:s,...i}=r;if(p.isValidElement(s)){const a=$i(s),c=Wi(i,s.props);return s.type!==p.Fragment&&(c.ref=o?lo(o,a):a),p.cloneElement(s,c)}return p.Children.count(s)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var uo=Symbol("radix.slottable");function Di(e){const t=({children:r})=>n.jsx(n.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=uo,t}function zi(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===uo}function Wi(e,t){const r={...t};for(const o in t){const s=e[o],i=t[o];/^on[A-Z]/.test(o)?s&&i?r[o]=(...c)=>{const d=i(...c);return s(...c),d}:s&&(r[o]=s):o==="style"?r[o]={...s,...i}:o==="className"&&(r[o]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}function $i(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Hi=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],lt=Hi.reduce((e,t)=>{const r=_i(`Primitive.${t}`),o=p.forwardRef((s,i)=>{const{asChild:a,...c}=s,d=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),n.jsx(d,{...c,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ui(e,t){e&&Gr.flushSync(()=>e.dispatchEvent(t))}function tn(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...r)=>t.current?.(...r),[])}function qi(e,t=globalThis?.document){const r=tn(e);p.useEffect(()=>{const o=s=>{s.key==="Escape"&&r(s)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var Vi="DismissableLayer",Sn="dismissableLayer.update",Ji="dismissableLayer.pointerDownOutside",Gi="dismissableLayer.focusOutside",pr,po=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fo=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:a,onDismiss:c,...d}=e,u=p.useContext(po),[f,l]=p.useState(null),g=f?.ownerDocument??globalThis?.document,[,h]=p.useState({}),x=ht(t,A=>l(A)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=w.indexOf(y),S=f?w.indexOf(f):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,I=S>=m,B=Xi(A=>{const j=A.target,V=[...u.branches].some(C=>C.contains(j));!I||V||(s?.(A),a?.(A),A.defaultPrevented||c?.())},g),P=Qi(A=>{const j=A.target;[...u.branches].some(C=>C.contains(j))||(i?.(A),a?.(A),A.defaultPrevented||c?.())},g);return qi(A=>{S===u.layers.size-1&&(o?.(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},g),p.useEffect(()=>{if(f)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(pr=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),fr(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=pr)}},[f,g,r,u]),p.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),fr())},[f,u]),p.useEffect(()=>{const A=()=>h({});return document.addEventListener(Sn,A),()=>document.removeEventListener(Sn,A)},[]),n.jsx(lt.div,{...d,ref:x,style:{pointerEvents:E?I?"auto":"none":void 0,...e.style},onFocusCapture:Ye(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Ye(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Ye(e.onPointerDownCapture,B.onPointerDownCapture)})});fo.displayName=Vi;var Yi="DismissableLayerBranch",Ki=p.forwardRef((e,t)=>
vendor: 11,035 bytes, line 2
2{const r=p.useContext(po),o=p.useRef(null),s=ht(t,o);return p.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),n.jsx(lt.div,{...e,ref:s})});Ki.displayName=Yi;function Xi(e,t=globalThis?.document){const r=tn(e),o=p.useRef(!1),s=p.useRef(()=>{});return p.useEffect(()=>{const i=c=>{if(c.target&&!o.current){let d=function(){go(Ji,r,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=d,t.addEventListener("click",s.current,{once:!0})):d()}else t.removeEventListener("click",s.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function Qi(e,t=globalThis?.document){const r=tn(e),o=p.useRef(!1);return p.useEffect(()=>{const s=i=>{i.target&&!o.current&&go(Gi,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function fr(){const e=new CustomEvent(Sn);document.dispatchEvent(e)}function go(e,t,r,{discrete:o}){const s=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),o?Ui(s,i):s.dispatchEvent(i)}var jt=globalThis?.document?p.useLayoutEffect:()=>{};const Zi=["top","right","bottom","left"],it=Math.min,Ae=Math.max,Kt=Math.round,Wt=Math.floor,qe=e=>({x:e,y:e}),ea={left:"right",right:"left",bottom:"top",top:"bottom"};function jn(e,t,r){return Ae(e,it(t,r))}function Ke(e,t){return typeof e=="function"?e(t):e}function Xe(e){return e.split("-")[0]}function Tt(e){return e.split("-")[1]}function _n(e){return e==="x"?"y":"x"}function Bn(e){return e==="y"?"height":"width"}function Ue(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Dn(e){return _n(Ue(e))}function ta(e,t,r){r===void 0&&(r=!1);const o=Tt(e),s=Dn(e),i=Bn(s);let a=s==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Xt(a)),[a,Xt(a)]}function na(e){const t=Xt(e);return[En(e),t,En(t)]}function En(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const gr=["left","right"],mr=["right","left"],ra=["top","bottom"],oa=["bottom","top"];function sa(e,t,r){switch(e){case"top":case"bottom":return r?t?mr:gr:t?gr:mr;case"left":case"right":return t?ra:oa;default:return[]}}function ia(e,t,r,o){const s=Tt(e);let i=sa(Xe(e),r==="start",o);return s&&(i=i.map(a=>a+"-"+s),t&&(i=i.concat(i.map(En)))),i}function Xt(e){const t=Xe(e);return ea[t]+e.slice(t.length)}function aa(e){return{top:0,right:0,bottom:0,left:0,...e}}function mo(e){return typeof e!="number"?aa(e):{top:e,right:e,bottom:e,left:e}}function Qt(e){const{x:t,y:r,width:o,height:s}=e;return{width:o,height:s,top:r,left:t,right:t+o,bottom:r+s,x:t,y:r}}function hr(e,t,r){let{reference:o,floating:s}=e;const i=Ue(t),a=Dn(t),c=Bn(a),d=Xe(t),u=i==="y",f=o.x+o.width/2-s.width/2,l=o.y+o.height/2-s.height/2,g=o[c]/2-s[c]/2;let h;switch(d){case"top":h={x:f,y:o.y-s.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:l};break;case"left":h={x:o.x-s.width,y:l};break;default:h={x:o.x,y:o.y}}switch(Tt(t)){case"start":h[a]-=g*(r&&u?-1:1);break;case"end":h[a]+=g*(r&&u?-1:1);break}return h}async function la(e,t){var r;t===void 0&&(t={});const{x:o,y:s,platform:i,rects:a,elements:c,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:l="floating",altBoundary:g=!1,padding:h=0}=Ke(t,e),x=mo(h),y=c[g?l==="floating"?"reference":"floating":l],m=Qt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(y)))==null||r?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:d})),S=l==="floating"?{x:o,y:s,width:a.floating.width,height:a.floating.height}:a.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),I=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},B=Qt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:S,offsetParent:E,strategy:d}):S);return{top:(m.top-B.top+x.top)/I.y,bottom:(B.bottom-m.bottom+x.bottom)/I.y,left:(m.left-B.left+x.left)/I.x,right:(B.right-m.right+x.right)/I.x}}const ca=50,da=async(e,t,r)=>{const{placement:o="bottom",strategy:s="absolute",middleware:i=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:la},d=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:s}),{x:f,y:l}=hr(u,o,d),g=o,h=0;const x={};for(let w=0;w<i.length;w++){const y=i[w];if(!y)continue;const{name:m,fn:S}=y,{x:E,y:I,data:B,reset:P}=await S({x:f,y:l,initialPlacement:o,placement:g,strategy:s,middlewareData:x,rects:u,platform:c,elements:{reference:e,floating:t}});f=E??f,l=I??l,x[m]={...x[m],...B},P&&h<ca&&(h++,typeof P=="object"&&(P.placement&&(g=P.placement),P.rects&&(u=P.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:s}):P.rects),{x:f,y:l}=hr(u,g,d)),w=-1)}return{x:f,y:l,placement:g,strategy:s,middlewareData:x}},ua=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:s,rects:i,platform:a,elements:c,middlewareData:d}=t,{element:u,padding:f=0}=Ke(e,t)||{};if(u==null)return{};const l=mo(f),g={x:r,y:o},h=Dn(s),x=Bn(h),w=await a.getDimensions(u),y=h==="y",m=y?"top":"left",S=y?"bottom":"right",E=y?"clientHeight":"clientWidth",I=i.reference[x]+i.reference[h]-g[h]-i.floating[x],B=g[h]-i.reference[h],P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let A=P?P[E]:0;(!A||!await(a.isElement==null?void 0:a.isElement(P)))&&(A=c.floating[E]||i.floating[x]);const j=I/2-B/2,V=A/2-w[x]/2-1,C=it(l[m],V),v=it(l[S],V),W=C,D=A-w[x]-v,T=A/2-w[x]/2+j,L=jn(W,T,D),F=!d.arrow&&Tt(s)!=null&&T!==L&&i.reference[x]/2-(T<W?C:v)-w[x]/2<0,N=F?T<W?T-W:T-D:0;return{[h]:g[h]+N,data:{[h]:L,centerOffset:T-L-N,...F&&{alignmentOffset:N}},reset:F}}}),pa=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:s,middlewareData:i,rects:a,initialPlacement:c,platform:d,elements:u}=t,{mainAxis:f=!0,crossAxis:l=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:w=!0,...y}=Ke(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const m=Xe(s),S=Ue(c),E=Xe(c)===c,I=await(d.isRTL==null?void 0:d.isRTL(u.floating)),B=g||(E||!w?[Xt(c)]:na(c)),P=x!=="none";!g&&P&&B.push(...ia(c,w,x,I));const A=[c,...B],j=await d.detectOverflow(t,y),V=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&V.push(j[m]),l){const T=ta(s,a,I);V.push(j[T[0]],j[T[1]])}if(C=[...C,{placement:s,overflows:V}],!V.every(T=>T<=0)){var v,W;const T=(((v=i.flip)==null?void 0:v.index)||0)+1,L=A[T];if(L&&(!(l==="alignment"?S!==Ue(L):!1)||C.every(O=>Ue(O.placement)===S?O.overflows[0]>0:!0)))return{data:{index:T,overflows:C},reset:{placement:L}};let F=(W=C.filter(N=>N.overflows[0]<=0).sort((N,O)=>N.overflows[1]-O.overflows[1])[0])==null?void 0:W.placement;if(!F)switch(h){case"bestFit":{var D;const N=(D=C.filter(O=>{if(P){const _=Ue(O.placement);return _===S||_==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(_=>_>0).reduce((_,k)=>_+k,0)]).sort((O,_)=>O[1]-_[1])[0])==null?void 0:D[0];N&&(F=N);break}case"initialPlacement":F=c;break}if(s!==F)return{reset:{placement:F}}}return{}}}};function xr(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yr(e){return Zi.some(t=>e[t]>=0)}const fa=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:o}=t,{strategy:s="referenceHidden",...i}=Ke(e,t);switch(s){case"referenceHidden":{const a=await o.detectOverflow(t,{...i,elementContext:"reference"}),c=xr(a,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:yr(c)}}}case"escaped":{const a=await o.detectOverflow(t,{...i,altBoundary:!0}),c=xr(a,r.floating);return{data:{escapedOffsets:c,escaped:yr(c)}}}default:return{}}}}},ho=new Set(["left","top"]);async function ga(e,t){const{placement:r,platform:o,elements:s}=e,i=await(o.isRTL==null?void 0:o.isRTL(s.floating)),a=Xe(r),c=Tt(r),d=Ue(r)==="y",u=ho.has(a)?-1:1,f=i&&d?-1:1,l=Ke(t,e);let{mainAxis:g,crossAxis:h,alignmentAxis:x}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return c&&typeof x=="number"&&(h=c==="end"?x*-1:x),d?{x:h*f,y:g*u}:{x:g*u,y:h*f}}const ma=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:s,y:i,placement:a,middlewareData:c}=t,d=await ga(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:s+d.x,y:i+d.y,data:{...d,placement:a}}}}},ha=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:s,platform:i}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:m=>{let{x:S,y:E}=m;return{x:S,y:E}}},...u}=Ke(e,t),f={x:r,y:o},l=await i.detectOverflow(t,u),g=Ue(Xe(s)),h=_n(g);let x=f[h],w=f[g];if(a){const m=h==="y"?"top":"left",S=h==="y"?"bottom":"right",E=x+l[m],I=x-l[S];x=jn(E,x,I)}if(c){const m=g==="y"?"top":"left",S=g==="y"?"bottom":"right",E=w+l[m],I=w-l[S];w=jn(E,w,I)}const y=d.fn({...t,[h]:x,[g]:w});return{...y,data:{x:y.x-r,y:y.y-o,enabled:{[h]:a,[g]:c}}}}}},xa=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:s,rects:i,middlewareData:a}=t,{offset:c=0,mainAxis:d=!0,crossAxis:u=!0}=Ke(e,t),f={x:r,y:o},l=Ue(s),g=_n(l);let h=f[g],x=f[l];const w=Ke(c,t),y=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(d){const E=g==="y"?"height":"width",I=i.reference[g]-i.floating[E]+y.mainAxis,B=i.reference[g]+i.reference[E]-y.mainAxis;h<I?h=I:h>B&&(h=B)}if(u){var m,S;const E=g==="y"?"width":"height",I=ho.has(Xe(s)),B=i.reference[l]-i.floating[E]+(I&&((m=a.offset)==null?void 0:m[l])||0)+(I?0:y.crossAxis),P=i.reference[l]+i.reference[E]+(I?0:((S=a.offset)==null?void 0:S[l])||0)-(I?y.crossAxis:0);x<B?x=B:x>P&&(x=P)}return{[g]:h,[l]:x}}}},ya=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:s,rects:i,platform:a,elements:c}=t,{apply:d=()=>{},...u}=Ke(e,t),f=await a.detectOverflow(t,u),l=Xe(s),g=Tt(s),h=Ue(s)==="y",{width:x,height:w}=i.floating;let y,m;l==="top"||l==="bottom"?(y=l,m=g===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(m=l,y=g==="end"?"top":"bottom");const S=w-f.top-f.bottom,E=x-f.left-f.right,I=it(w-f[y],S),B=it(x-f[m],E),P=!t.middlewareData.shift;let A=I,j=B;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(j=E),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=S),P&&!g){const C=Ae(f.left,0),v=Ae(f.right,0),W=Ae(f.top,0),D=Ae(f.bottom,0);
2h?j=x-2*(C!==0||v!==0?C+v:Ae(f.left,f.right)):A=w-2*(W!==0||D!==0?W+D:Ae(f.top,f.bottom))}await d({...t,availableWidth:j,availableHeight:A});const V=await a.getDimensions(c.floating);return x!==V.width||w!==V.height?{reset:{rects:!0}}:{}}}};function nn(){return typeof window<"u"}function Rt(e){return xo(e)?(e.nodeName||"").toLowerCase():"#document"}function Ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ve(e){var t;return(t=(xo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xo(e){return nn()?e instanceof Node||e instanceof Ie(e).Node:!1}function _e(e){return nn()?e instanceof Element||e instanceof Ie(e).Element:!1}function Qe(e){return nn()?e instanceof HTMLElement||e instanceof Ie(e).HTMLElement:!1}function br(e){return!nn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ie(e).ShadowRoot}function Nt(e){const{overflow:t,overflowX:r,overflowY:o,display:s}=Be(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&s!=="inline"&&s!=="contents"}function ba(e){return/^(table|td|th)$/.test(Rt(e))}function rn(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const va=/transform|translate|scale|rotate|perspective|filter/,wa=/paint|layout|strict|content/,pt=e=>!!e&&e!=="none";let gn;function zn(e){const t=_e(e)?Be(e):e;return pt(t.transform)||pt(t.translate)||pt(t.scale)||pt(t.rotate)||pt(t.perspective)||!Wn()&&(pt(t.backdropFilter)||pt(t.filter))||va.test(t.willChange||"")||wa.test(t.contain||"")}function ka(e){let t=at(e);for(;Qe(t)&&!Et(t);){if(zn(t))return t;if(rn(t))return null;t=at(t)}return null}function Wn(){return gn==null&&(gn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),gn}function Et(e){return/^(html|body|#document)$/.test(Rt(e))}function Be(e){return Ie(e).getComputedStyle(e)}function on(e){return _e(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if(Rt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||br(e)&&e.host||Ve(e);return br(t)?t.host:t}function yo(e){const t=at(e);return Et(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qe(t)&&Nt(t)?t:yo(t)}function Ot(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const s=yo(e),i=s===((o=e.ownerDocument)==null?void 0:o.body),a=Ie(s);if(i){const c=Cn(a);return t.concat(a,a.visualViewport||[],Nt(s)?s:[],c&&r?Ot(c):[])}else return t.concat(s,Ot(s,[],r))}function Cn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bo(e){const t=Be(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const s=Qe(e),i=s?e.offsetWidth:r,a=s?e.offsetHeight:o,c=Kt(r)!==i||Kt(o)!==a;return c&&(r=i,o=a),{width:r,height:o,$:c}}function $n(e){return _e(e)?e:e.contextElement}function St(e){const t=$n(e);if(!Qe(t))return qe(1);const r=t.getBoundingClientRect(),{width:o,height:s,$:i}=bo(t);let a=(i?Kt(r.width):r.width)/o,c=(i?Kt(r.height):r.height)/s;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Sa=qe(0);function vo(e){const t=Ie(e);return!Wn()||!t.visualViewport?Sa:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ja(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ie(e)?!1:t}function gt(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect(),i=$n(e);let a=qe(1);t&&(o?_e(o)&&(a=St(o)):a=St(e));const c=ja(i,r,o)?vo(i):qe(0);let d=(s.left+c.x)/a.x,u=(s.top+c.y)/a.y,f=s.width/a.x,l=s.height/a.y;if(i){const g=Ie(i),h=o&&_e(o)?Ie(o):o;let x=g,w=Cn(x);for(;w&&o&&h!==x;){const y=St(w),m=w.getBoundingClientRect(),S=Be(w),E=m.left+(w.clientLeft+parseFloat(S.paddingLeft))*y.x,I=m.top+(w.clientTop+parseFloat(S.paddingTop))*y.y;d*=y.x,u*=y.y,f*=y.x,l*=y.y,d+=E,u+=I,x=Ie(w),w=Cn(x)}}return Qt({width:f,height:l,x:d,y:u})}function sn(e,t){const r=on(e).scrollLeft;return t?t.left+r:gt(Ve(e)).left+r}function wo(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-sn(e,r),s=r.top+t.scrollTop;return{x:o,y:s}}function Ea(e){let{elements:t,rect:r,offsetParent:o,strategy:s}=e;const i=s==="fixed",a=Ve(o),c=t?rn(t.floating):!1;if(o===a||c&&i)return r;let d={scrollLeft:0,scrollTop:0},u=qe(1);const f=qe(0),l=Qe(o);if((l||!l&&!i)&&((Rt(o)!=="body"||Nt(a))&&(d=on(o)),l)){const h=gt(o);u=St(o),f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}const g=a&&!l&&!i?wo(a,d):qe(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-d.scrollLeft*u.x+f.x+g.x,y:r.y*u.y-d.scrollTop*u.y+f.y+g.y}}function Ca(e){return Array.from(e.getClientRects())}function Ta(e){const t=Ve(e),r=on(e),o=e.ownerDocument.body,s=Ae(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Ae(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+sn(e);
vendor: 5,179 bytes, line 2
2const c=-r.scrollTop;return Be(o).direction==="rtl"&&(a+=Ae(t.clientWidth,o.clientWidth)-s),{width:s,height:i,x:a,y:c}}const vr=25;function Ra(e,t){const r=Ie(e),o=Ve(e),s=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,c=0,d=0;if(s){i=s.width,a=s.height;const f=Wn();(!f||f&&t==="fixed")&&(c=s.offsetLeft,d=s.offsetTop)}const u=sn(o);if(u<=0){const f=o.ownerDocument,l=f.body,g=getComputedStyle(l),h=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,x=Math.abs(o.clientWidth-l.clientWidth-h);x<=vr&&(i-=x)}else u<=vr&&(i+=u);return{width:i,height:a,x:c,y:d}}function Aa(e,t){const r=gt(e,!0,t==="fixed"),o=r.top+e.clientTop,s=r.left+e.clientLeft,i=Qe(e)?St(e):qe(1),a=e.clientWidth*i.x,c=e.clientHeight*i.y,d=s*i.x,u=o*i.y;return{width:a,height:c,x:d,y:u}}function wr(e,t,r){let o;if(t==="viewport")o=Ra(e,r);else if(t==="document")o=Ta(Ve(e));else if(_e(t))o=Aa(t,r);else{const s=vo(e);o={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Qt(o)}function ko(e,t){const r=at(e);return r===t||!_e(r)||Et(r)?!1:Be(r).position==="fixed"||ko(r,t)}function Ia(e,t){const r=t.get(e);if(r)return r;let o=Ot(e,[],!1).filter(c=>_e(c)&&Rt(c)!=="body"),s=null;const i=Be(e).position==="fixed";let a=i?at(e):e;for(;_e(a)&&!Et(a);){const c=Be(a),d=zn(a);!d&&c.position==="fixed"&&(s=null),(i?!d&&!s:!d&&c.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||Nt(a)&&!d&&ko(e,a))?o=o.filter(f=>f!==a):s=c,a=at(a)}return t.set(e,o),o}function Pa(e){let{element:t,boundary:r,rootBoundary:o,strategy:s}=e;const a=[...r==="clippingAncestors"?rn(t)?[]:Ia(t,this._c):[].concat(r),o],c=wr(t,a[0],s);let d=c.top,u=c.right,f=c.bottom,l=c.left;for(let g=1;g<a.length;g++){const h=wr(t,a[g],s);d=Ae(h.top,d),u=it(h.right,u),f=it(h.bottom,f),l=Ae(h.left,l)}return{width:u-l,height:f-d,x:l,y:d}}function Oa(e){const{width:t,height:r}=bo(e);return{width:t,height:r}}function Ma(e,t,r){const o=Qe(t),s=Ve(t),i=r==="fixed",a=gt(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=qe(0);function u(){d.x=sn(s)}if(o||!o&&!i)if((Rt(t)!=="body"||Nt(s))&&(c=on(t)),o){const h=gt(t,!0,i,t);d.x=h.x+t.clientLeft,d.y=h.y+t.clientTop}else s&&u();i&&!o&&s&&u();const f=s&&!o&&!i?wo(s,c):qe(0),l=a.left+c.scrollLeft-d.x-f.x,g=a.top+c.scrollTop-d.y-f.y;return{x:l,y:g,width:a.width,height:a.height}}function mn(e){return Be(e).position==="static"}function kr(e,t){if(!Qe(e)||Be(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ve(e)===r&&(r=r.ownerDocument.body),r}function So(e,t){const r=Ie(e);if(rn(e))return r;if(!Qe(e)){let s=at(e);for(;s&&!Et(s);){if(_e(s)&&!mn(s))return s;s=at(s)}return r}let o=kr(e,t);for(;o&&ba(o)&&mn(o);)o=kr(o,t);return o&&Et(o)&&mn(o)&&!zn(o)?r:o||ka(e)||r}const Fa=async function(e){const t=this.getOffsetParent||So,r=this.getDimensions,o=await r(e.floating);return{reference:Ma(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Na(e){return Be(e).direction==="rtl"}const La={convertOffsetParentRelativeRectToViewportRelativeRect:Ea,getDocumentElement:Ve,getClippingRect:Pa,getOffsetParent:So,getElementRects:Fa,getClientRects:Ca,getDimensions:Oa,getScale:St,isElement:_e,isRTL:Na};function jo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function _a(e,t){let r=null,o;const s=Ve(e);function i(){var c;clearTimeout(o),(c=r)==null||c.disconnect(),r=null}function a(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const u=e.getBoundingClientRect(),{left:f,top:l,width:g,height:h}=u;if(c||t(),!g||!h)return;const x=Wt(l),w=Wt(s.clientWidth-(f+g)),y=Wt(s.clientHeight-(l+h)),m=Wt(f),E={rootMargin:-x+"px "+-w+"px "+-y+"px "+-m+"px",threshold:Ae(0,it(1,d))||1};let I=!0;function B(P){const A=P[0].intersectionRatio;if(A!==d){if(!I)return a();A?a(!1,A):o=setTimeout(()=>{a(!1,1e-7)},1e3)}A===1&&!jo(u,e.getBoundingClientRect())&&a(),I=!1}try{r=new IntersectionObserver(B,{...E,root:s.ownerDocument})}catch{r=new IntersectionObserver(B,E)}r.observe(e)}return a(!0),i}function Ba(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,u=$n(e),f=s||i?[...u?Ot(u):[],...t?Ot(t):[]]:[];f.forEach(m=>{s&&m.addEventListener("scroll",r,{passive:!0}),i&&m.addEventListener("resize",r)});const l=u&&c?_a(u,r):null;let g=-1,h=null;a&&(h=new ResizeObserver(m=>{let[S]=m;S&&S.target===u&&h&&t&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var E;(E=h)==null||E.observe(t)})),r()}),u&&!d&&h.observe(u),t&&h.observe(t));let x,w=d?gt(e):null;d&&y();function y(){const m=gt(e);w&&!jo(w,m)&&r(),w=m,x=requestAnimationFrame(y)}return r(),()=>{var m;f.forEach(S=>{s&&S.removeEventListener("scroll",r),i&&S.removeEventListener("resize",r)}),l?.(),(m=h)==null||m.disconnect(),h=null,d&&cancelAnimationFrame(x)}}const Da=ma,za=ha,Wa=pa,$a=ya,Ha=fa,Sr=ua,Ua=xa,qa=(e,t,r)=>{const o=new Map,s={platform:La,...r},i={...s.platform,_c:o};return da(e,t,{...s,platform:i})};var Va=typeof document<"u",Ja=function(){},Gt=Va?p.useLayoutEffect:Ja;function Zt(e,t){if(e===t)return!0;
vendor: 4,386 bytes, line 2
2if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,o,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!Zt(e[o],t[o]))return!1;return!0}if(s=Object.keys(e),r=s.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,s[o]))return!1;for(o=r;o--!==0;){const i=s[o];if(!(i==="_owner"&&e.$$typeof)&&!Zt(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Eo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jr(e,t){const r=Eo(e);return Math.round(t*r)/r}function hn(e){const t=p.useRef(e);return Gt(()=>{t.current=e}),t}function Ga(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:s,elements:{reference:i,floating:a}={},transform:c=!0,whileElementsMounted:d,open:u}=e,[f,l]=p.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[g,h]=p.useState(o);Zt(g,o)||h(o);const[x,w]=p.useState(null),[y,m]=p.useState(null),S=p.useCallback(O=>{O!==P.current&&(P.current=O,w(O))},[]),E=p.useCallback(O=>{O!==A.current&&(A.current=O,m(O))},[]),I=i||x,B=a||y,P=p.useRef(null),A=p.useRef(null),j=p.useRef(f),V=d!=null,C=hn(d),v=hn(s),W=hn(u),D=p.useCallback(()=>{if(!P.current||!A.current)return;const O={placement:t,strategy:r,middleware:g};v.current&&(O.platform=v.current),qa(P.current,A.current,O).then(_=>{const k={..._,isPositioned:W.current!==!1};T.current&&!Zt(j.current,k)&&(j.current=k,Gr.flushSync(()=>{l(k)}))})},[g,t,r,v,W]);Gt(()=>{u===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,l(O=>({...O,isPositioned:!1})))},[u]);const T=p.useRef(!1);Gt(()=>(T.current=!0,()=>{T.current=!1}),[]),Gt(()=>{if(I&&(P.current=I),B&&(A.current=B),I&&B){if(C.current)return C.current(I,B,D);D()}},[I,B,D,C,V]);const L=p.useMemo(()=>({reference:P,floating:A,setReference:S,setFloating:E}),[S,E]),F=p.useMemo(()=>({reference:I,floating:B}),[I,B]),N=p.useMemo(()=>{const O={position:r,left:0,top:0};if(!F.floating)return O;const _=jr(F.floating,f.x),k=jr(F.floating,f.y);return c?{...O,transform:"translate("+_+"px, "+k+"px)",...Eo(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:_,top:k}},[r,c,F.floating,f.x,f.y]);return p.useMemo(()=>({...f,update:D,refs:L,elements:F,floatingStyles:N}),[f,D,L,F,N])}const Ya=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:o,padding:s}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?Sr({element:o.current,padding:s}).fn(r):{}:o?Sr({element:o,padding:s}).fn(r):{}}}},Ka=(e,t)=>{const r=Da(e);return{name:r.name,fn:r.fn,options:[e,t]}},Xa=(e,t)=>{const r=za(e);return{name:r.name,fn:r.fn,options:[e,t]}},Qa=(e,t)=>({fn:Ua(e).fn,options:[e,t]}),Za=(e,t)=>{const r=Wa(e);return{name:r.name,fn:r.fn,options:[e,t]}},el=(e,t)=>{const r=$a(e);return{name:r.name,fn:r.fn,options:[e,t]}},tl=(e,t)=>{const r=Ha(e);return{name:r.name,fn:r.fn,options:[e,t]}},nl=(e,t)=>{const r=Ya(e);return{name:r.name,fn:r.fn,options:[e,t]}};var rl="Arrow",Co=p.forwardRef((e,t)=>{const{children:r,width:o=10,height:s=5,...i}=e;return n.jsx(lt.svg,{...i,ref:t,width:o,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:n.jsx("polygon",{points:"0,0 30,0 15,10"})})});Co.displayName=rl;var ol=Co;function sl(e){const[t,r]=p.useState(void 0);return jt(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let a,c;if("borderBoxSize"in i){const d=i.borderBoxSize,u=Array.isArray(d)?d[0]:d;a=u.inlineSize,c=u.blockSize}else a=e.offsetWidth,c=e.offsetHeight;r({width:a,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var Hn="Popper",[To,Ro]=co(Hn),[il,Ao]=To(Hn),Io=e=>{const{__scopePopper:t,children:r}=e,[o,s]=p.useState(null);return n.jsx(il,{scope:t,anchor:o,onAnchorChange:s,children:r})};Io.displayName=Hn;var Po="PopperAnchor",Oo=p.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...s}=e,i=Ao(Po,r),a=p.useRef(null),c=ht(t,a),d=p.useRef(null);return p.useEffect(()=>{const u=d.current;d.current=o?.current||a.current,u!==d.current&&i.onAnchorChange(d.current)}),o?null:n.jsx(lt.div,{...s,ref:c})});Oo.displayName=Po;var Un="PopperContent",[al,ll]=To(Un),Mo=p.forwardRef((e,t)=>
vendor: 5,813 bytes, line 2
2{const{__scopePopper:r,side:o="bottom",sideOffset:s=0,align:i="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:l="partial",hideWhenDetached:g=!1,updatePositionStrategy:h="optimized",onPlaced:x,...w}=e,y=Ao(Un,r),[m,S]=p.useState(null),E=ht(t,ce=>S(ce)),[I,B]=p.useState(null),P=sl(I),A=P?.width??0,j=P?.height??0,V=o+(i!=="center"?"-"+i:""),C=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},v=Array.isArray(u)?u:[u],W=v.length>0,D={padding:C,boundary:v.filter(dl),altBoundary:W},{refs:T,floatingStyles:L,placement:F,isPositioned:N,middlewareData:O}=Ga({strategy:"fixed",placement:V,whileElementsMounted:(...ce)=>Ba(...ce,{animationFrame:h==="always"}),elements:{reference:y.anchor},middleware:[Ka({mainAxis:s+j,alignmentAxis:a}),d&&Xa({mainAxis:!0,crossAxis:!1,limiter:l==="partial"?Qa():void 0,...D}),d&&Za({...D}),el({...D,apply:({elements:ce,rects:ie,availableWidth:le,availableHeight:Fe})=>{const{width:Pe,height:ke}=ie.reference,Se=ce.floating.style;Se.setProperty("--radix-popper-available-width",`${le}px`),Se.setProperty("--radix-popper-available-height",`${Fe}px`),Se.setProperty("--radix-popper-anchor-width",`${Pe}px`),Se.setProperty("--radix-popper-anchor-height",`${ke}px`)}}),I&&nl({element:I,padding:c}),ul({arrowWidth:A,arrowHeight:j}),g&&tl({strategy:"referenceHidden",...D})]}),[_,k]=Lo(F),se=tn(x);jt(()=>{N&&se?.()},[N,se]);const me=O.arrow?.x,q=O.arrow?.y,K=O.arrow?.centerOffset!==0,[U,X]=p.useState();return jt(()=>{m&&X(window.getComputedStyle(m).zIndex)},[m]),n.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...L,transform:N?L.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[O.transformOrigin?.x,O.transformOrigin?.y].join(" "),...O.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:n.jsx(al,{scope:r,placedSide:_,onArrowChange:B,arrowX:me,arrowY:q,shouldHideArrow:K,children:n.jsx(lt.div,{"data-side":_,"data-align":k,...w,ref:E,style:{...w.style,animation:N?void 0:"none"}})})})});Mo.displayName=Un;var Fo="PopperArrow",cl={top:"bottom",right:"left",bottom:"top",left:"right"},No=p.forwardRef(function(t,r){const{__scopePopper:o,...s}=t,i=ll(Fo,o),a=cl[i.placedSide];return n.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:n.jsx(ol,{...s,ref:r,style:{...s.style,display:"block"}})})});No.displayName=Fo;function dl(e){return e!==null}var ul=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:o,middlewareData:s}=t,a=s.arrow?.centerOffset!==0,c=a?0:e.arrowWidth,d=a?0:e.arrowHeight,[u,f]=Lo(r),l={start:"0%",center:"50%",end:"100%"}[f],g=(s.arrow?.x??0)+c/2,h=(s.arrow?.y??0)+d/2;let x="",w="";return u==="bottom"?(x=a?l:`${g}px`,w=`${-d}px`):u==="top"?(x=a?l:`${g}px`,w=`${o.floating.height+d}px`):u==="right"?(x=`${-d}px`,w=a?l:`${h}px`):u==="left"&&(x=`${o.floating.width+d}px`,w=a?l:`${h}px`),{data:{x,y:w}}}});function Lo(e){const[t,r="center"]=e.split("-");return[t,r]}var bp=Io,pl=Oo,fl=Mo,gl=No,ml="Portal",_o=p.forwardRef((e,t)=>{const{container:r,...o}=e,[s,i]=p.useState(!1);jt(()=>i(!0),[]);const a=r||s&&globalThis?.document?.body;return a?Jr.createPortal(n.jsx(lt.div,{...o,ref:t}),a):null});_o.displayName=ml;function hl(e,t){return p.useReducer((r,o)=>t[r][o]??r,e)}var qn=e=>{const{present:t,children:r}=e,o=xl(t),s=typeof r=="function"?r({present:o.isPresent}):p.Children.only(r),i=ht(o.ref,yl(s));return typeof r=="function"||o.isPresent?p.cloneElement(s,{ref:i}):null};qn.displayName="Presence";function xl(e){const[t,r]=p.useState(),o=p.useRef(null),s=p.useRef(e),i=p.useRef("none"),a=e?"mounted":"unmounted",[c,d]=hl(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=$t(o.current);i.current=c==="mounted"?u:"none"},[c]),jt(()=>{const u=o.current,f=s.current;if(f!==e){const g=i.current,h=$t(u);e?d("MOUNT"):h==="none"||u?.display==="none"?d("UNMOUNT"):d(f&&g!==h?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,d]),jt(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,l=h=>{const w=$t(o.current).includes(CSS.escape(h.animationName));if(h.target===t&&w&&(d("ANIMATION_END"),!s.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},g=h=>{h.target===t&&(i.current=$t(o.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:p.useCallback(u=>{o.current=u?getComputedStyle(u):null,r(u)},[])}}function $t(e){return e?.animationName||"none"}function yl(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var bl=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),vl="VisuallyHidden",Bo=p.forwardRef((e,t)=>
vendor: 12,817 bytes, line 2
2n.jsx(lt.span,{...e,ref:t,style:{...bl,...e.style}}));Bo.displayName=vl;var wl=Bo,[an]=co("Tooltip",[Ro]),Vn=Ro(),Do="TooltipProvider",kl=700,Er="tooltip.open",[Sl,zo]=an(Do),Wo=e=>{const{__scopeTooltip:t,delayDuration:r=kl,skipDelayDuration:o=300,disableHoverableContent:s=!1,children:i}=e,a=p.useRef(!0),c=p.useRef(!1),d=p.useRef(0);return p.useEffect(()=>{const u=d.current;return()=>window.clearTimeout(u)},[]),n.jsx(Sl,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:p.useCallback(()=>{window.clearTimeout(d.current),a.current=!1},[]),onClose:p.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:c,onPointerInTransitChange:p.useCallback(u=>{c.current=u},[]),disableHoverableContent:s,children:i})};Wo.displayName=Do;var $o="Tooltip",[vp,Lt]=an($o),Tn="TooltipTrigger",jl=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,s=Lt(Tn,r),i=zo(Tn,r),a=Vn(r),c=p.useRef(null),d=ht(t,c,s.onTriggerChange),u=p.useRef(!1),f=p.useRef(!1),l=p.useCallback(()=>u.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",l),[l]),n.jsx(pl,{asChild:!0,...a,children:n.jsx(lt.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...o,ref:d,onPointerMove:Ye(e.onPointerMove,g=>{g.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),f.current=!0)}),onPointerLeave:Ye(e.onPointerLeave,()=>{s.onTriggerLeave(),f.current=!1}),onPointerDown:Ye(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",l,{once:!0})}),onFocus:Ye(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:Ye(e.onBlur,s.onClose),onClick:Ye(e.onClick,s.onClose)})})});jl.displayName=Tn;var Jn="TooltipPortal",[El,Cl]=an(Jn,{forceMount:void 0}),Ho=e=>{const{__scopeTooltip:t,forceMount:r,children:o,container:s}=e,i=Lt(Jn,t);return n.jsx(El,{scope:t,forceMount:r,children:n.jsx(qn,{present:r||i.open,children:n.jsx(_o,{asChild:!0,container:s,children:o})})})};Ho.displayName=Jn;var Ct="TooltipContent",Uo=p.forwardRef((e,t)=>{const r=Cl(Ct,e.__scopeTooltip),{forceMount:o=r.forceMount,side:s="top",...i}=e,a=Lt(Ct,e.__scopeTooltip);return n.jsx(qn,{present:o||a.open,children:a.disableHoverableContent?n.jsx(qo,{side:s,...i,ref:t}):n.jsx(Tl,{side:s,...i,ref:t})})}),Tl=p.forwardRef((e,t)=>{const r=Lt(Ct,e.__scopeTooltip),o=zo(Ct,e.__scopeTooltip),s=p.useRef(null),i=ht(t,s),[a,c]=p.useState(null),{trigger:d,onClose:u}=r,f=s.current,{onPointerInTransitChange:l}=o,g=p.useCallback(()=>{c(null),l(!1)},[l]),h=p.useCallback((x,w)=>{const y=x.currentTarget,m={x:x.clientX,y:x.clientY},S=Ol(m,y.getBoundingClientRect()),E=Ml(m,S),I=Fl(w.getBoundingClientRect()),B=Ll([...E,...I]);c(B),l(!0)},[l]);return p.useEffect(()=>()=>g(),[g]),p.useEffect(()=>{if(d&&f){const x=y=>h(y,f),w=y=>h(y,d);return d.addEventListener("pointerleave",x),f.addEventListener("pointerleave",w),()=>{d.removeEventListener("pointerleave",x),f.removeEventListener("pointerleave",w)}}},[d,f,h,g]),p.useEffect(()=>{if(a){const x=w=>{const y=w.target,m={x:w.clientX,y:w.clientY},S=d?.contains(y)||f?.contains(y),E=!Nl(m,a);S?g():E&&(g(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[d,f,a,u,g]),n.jsx(qo,{...e,ref:i})}),[Rl,Al]=an($o,{isInside:!1}),Il=Di("TooltipContent"),qo=p.forwardRef((e,t)=>{const{__scopeTooltip:r,children:o,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:a,...c}=e,d=Lt(Ct,r),u=Vn(r),{onClose:f}=d;return p.useEffect(()=>(document.addEventListener(Er,f),()=>document.removeEventListener(Er,f)),[f]),p.useEffect(()=>{if(d.trigger){const l=g=>{g.target?.contains(d.trigger)&&f()};return window.addEventListener("scroll",l,{capture:!0}),()=>window.removeEventListener("scroll",l,{capture:!0})}},[d.trigger,f]),n.jsx(fo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:l=>l.preventDefault(),onDismiss:f,children:n.jsxs(fl,{"data-state":d.stateAttribute,...u,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[n.jsx(Il,{children:o}),n.jsx(Rl,{scope:r,isInside:!0,children:n.jsx(wl,{id:d.contentId,role:"tooltip",children:s||o})})]})})});Uo.displayName=Ct;var Vo="TooltipArrow",Pl=p.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,s=Vn(r);return Al(Vo,r).isInside?null:n.jsx(gl,{...s,...o,ref:t})});Pl.displayName=Vo;function Ol(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,o,s,i)){case i:return"left";case s:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function Ml(e,t,r=5){const o=[];switch(t){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}function Fl(e){const{top:t,right:r,bottom:o,left:s}=e;return[{x:s,y:t},{x:r,y:t},{x:r,y:o},{x:s,y:o}]}function Nl(e,t){const{x:r,y:o}=e;let s=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const c=t[i],d=t[a],u=c.x,f=c.y,l=d.x,g=d.y;f>o!=g>o&&r<(l-u)*(o-f)/(g-f)+u&&(s=!s)}return s}function Ll(e){const t=e.slice();return t.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),_l(t)}function _l(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const s=e[o];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(s.y-a.y)>=(i.y-a.y)*(s.x-a.x))t.pop();else break}t.push(s)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const s=e[o];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(s.y-a.y)>=(i.y-a.y)*(s.x-a.x))r.pop();else break}r.push(s)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Bl=Wo,Dl=Ho,Jo=Uo;const zl=(e,t)=>{const r=new Array(e.length+t.length);for(let o=0;o<e.length;o++)r[o]=e[o];for(let o=0;o<t.length;o++)r[e.length+o]=t[o];return r},Wl=(e,t)=>({classGroupId:e,validator:t}),Go=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),en="-",Cr=[],$l="arbitrary..",Hl=e=>{const t=ql(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Ul(a);const c=a.split(en),d=c[0]===""&&c.length>1?1:0;return Yo(c,d,t)},getConflictingClassGroupIds:(a,c)=>{if(c){const d=o[a],u=r[a];return d?u?zl(u,d):d:u||Cr}return r[a]||Cr}}},Yo=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const s=e[t],i=r.nextPart.get(s);if(i){const u=Yo(e,t+1,i);if(u)return u}const a=r.validators;if(a===null)return;const c=t===0?e.join(en):e.slice(t).join(en),d=a.length;for(let u=0;u<d;u++){const f=a[u];if(f.validator(c))return f.classGroupId}},Ul=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),o=t.slice(0,r);return o?$l+o:void 0})(),ql=e=>{const{theme:t,classGroups:r}=e;return Vl(r,t)},Vl=(e,t)=>{const r=Go();for(const o in e){const s=e[o];Gn(s,r,o,t)}return r},Gn=(e,t,r,o)=>{const s=e.length;for(let i=0;i<s;i++){const a=e[i];Jl(a,t,r,o)}},Jl=(e,t,r,o)=>{if(typeof e=="string"){Gl(e,t,r);return}if(typeof e=="function"){Yl(e,t,r,o);return}Kl(e,t,r,o)},Gl=(e,t,r)=>{const o=e===""?t:Ko(t,e);o.classGroupId=r},Yl=(e,t,r,o)=>{if(Xl(e)){Gn(e(o),t,r,o);return}t.validators===null&&(t.validators=[]),t.validators.push(Wl(r,e))},Kl=(e,t,r,o)=>{const s=Object.entries(e),i=s.length;for(let a=0;a<i;a++){const[c,d]=s[a];Gn(d,Ko(t,c),r,o)}},Ko=(e,t)=>{let r=e;const o=t.split(en),s=o.length;for(let i=0;i<s;i++){const a=o[i];let c=r.nextPart.get(a);c||(c=Go(),r.nextPart.set(a,c)),r=c}return r},Xl=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Ql=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),o=Object.create(null);const s=(i,a)=>{r[i]=a,t++,t>e&&(t=0,o=r,r=Object.create(null))};return{get(i){let a=r[i];if(a!==void 0)return a;if((a=o[i])!==void 0)return s(i,a),a},set(i,a){i in r?r[i]=a:s(i,a)}}},Rn="!",Tr=":",Zl=[],Rr=(e,t,r,o,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:o,isExternal:s}),ec=e=>{const{prefix:t,experimentalParseClassName:r}=e;let o=s=>{const i=[];let a=0,c=0,d=0,u;const f=s.length;for(let w=0;w<f;w++){const y=s[w];if(a===0&&c===0){if(y===Tr){i.push(s.slice(d,w)),d=w+1;continue}if(y==="/"){u=w;continue}}y==="["?a++:y==="]"?a--:y==="("?c++:y===")"&&c--}const l=i.length===0?s:s.slice(d);let g=l,h=!1;l.endsWith(Rn)?(g=l.slice(0,-1),h=!0):l.startsWith(Rn)&&(g=l.slice(1),h=!0);const x=u&&u>d?u-d:void 0;return Rr(i,h,g,x)};if(t){const s=t+Tr,i=o;o=a=>a.startsWith(s)?i(a.slice(s.length)):Rr(Zl,!1,a,void 0,!0)}if(r){const s=o;o=i=>r({className:i,parseClassName:s})}return o},tc=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,o)=>{t.set(r,1e6+o)}),r=>{const o=[];let s=[];for(let i=0;i<r.length;i++){const a=r[i],c=a[0]==="[",d=t.has(a);c||d?(s.length>0&&(s.sort(),o.push(...s),s=[]),o.push(a)):s.push(a)}return s.length>0&&(s.sort(),o.push(...s)),o}},nc=e=>({cache:Ql(e.cacheSize),parseClassName:ec(e),sortModifiers:tc(e),...Hl(e)}),rc=/\s+/,oc=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s,sortModifiers:i}=t,a=[],c=e.trim().split(rc);let d="";for(let u=c.length-1;u>=0;u-=1){const f=c[u],{isExternal:l,modifiers:g,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:w}=r(f);if(l){d=f+(d.length>0?" "+d:d);continue}let y=!!w,m=o(y?x.substring(0,w):x);if(!m){if(!y){d=f+(d.length>0?" "+d:d);continue}if(m=o(x),!m){d=f+(d.length>0?" "+d:d);continue}y=!1}const S=g.length===0?"":g.length===1?g[0]:i(g).join(":"),E=h?S+Rn:S,I=E+m;if(a.indexOf(I)>-1)continue;a.push(I);const B=s(m,y);for(let P=0;P<B.length;++P){const A=B[P];a.push(E+A)}d=f+(d.length>0?" "+d:d)}return d},sc=(...e)=>{let t=0,r,o,s="";for(;t<e.length;)(r=e[t++])&&(o=Xo(r))&&(s&&(s+=" "),s+=o);return s},Xo=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Xo(e[o]))&&(r&&(r+=" "),r+=t);return r},ic=(e,...t)=>{let r,o,s,i;const a=d=>{const u=t.reduce((f,l)=>l(f),e());return r=nc(u),o=r.cache.get,s=r.cache.set,i=c,c(d)},c=d=>{const u=o(d);if(u)return u;const f=oc(d,r);return s(d,f),f};return i=a,(...d)=>i(sc(...d))},ac=[],he=e=>{const t=r=>r[e]||ac;return t.isThemeGetter=!0,t},Qo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Zo=/^\((?:(\w[\w-]*):)?(.+)\)$/i,lc=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,cc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dc=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,uc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,et=e=>lc.test(e),te=e=>!!e&&!Number.isNaN(Number(e)),tt=e=>!!e&&Number.isInteger(Number(e)),xn=e=>e.endsWith("%")&&te(e.slice(0,-1)),Je=e=>cc.test(e),es=()=>!0,gc=e=>dc.test(e)&&!uc.test(e),Yn=()=>!1,mc=e=>pc.test(e),hc=e=>fc.test(e),xc=e=>!z(e)&&!$(e),yc=e=>ct(e,rs,Yn),z=e=>Qo.test(e),ft=e=>ct(e,os,gc),Ar=e=>ct(e,Cc,te),bc=e=>ct(e,is,es),vc=e=>ct(e,ss,Yn),Ir=e=>ct(e,ts,Yn),wc=e=>ct(e,ns,hc),Ht=e=>ct(e,as,mc),$=e=>Zo.test(e),At=e=>xt(e,os),kc=e=>xt(e,ss),Pr=e=>xt(e,ts),Sc=e=>xt(e,rs),jc=e=>xt(e,ns),Ut=e=>xt(e,as,!0),Ec=e=>xt(e,is,!0),ct=(e,t,r)=>{const o=Qo.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},xt=(e,t,r=!1)=>{const o=Zo.exec(e);return o?o[1]?t(o[1]):r:!1},ts=e=>e==="position"||e==="percentage",ns=e=>e==="image"||e==="url",rs=e=>e==="length"||e==="size"||e==="bg-size",os=e=>e==="length",Cc=e=>e==="number",ss=e=>e==="family-name",is=e=>e==="number"||e==="weight",as=e=>e==="shadow",Tc=()=>{const e=he("color"),t=he("font"),r=he("text"),o=he("font-weight"),s=he("tracking"),i=he("leading"),a=he("breakpoint"),c=he("container"),d=he("spacing"),u=he("radius"),f=he("shadow"),l=he("inset-shadow"),g=he("text-shadow"),h=he("drop-shadow"),x=he("blur"),w=he("perspective"),y=he("aspect"),m=he("ease"),S=he("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...I(),$,z],P=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],j=()=>[$,z,d],V=()=>[et,"full","auto",...j()],C=()=>[tt,"none","subgrid",$,z],v=()=>["auto",{span:["full",tt,$,z]}
vendor: 7,092 bytes, line 2
2,tt,$,z],W=()=>[tt,"auto",$,z],D=()=>["auto","min","max","fr",$,z],T=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],F=()=>["auto",...j()],N=()=>[et,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],O=()=>[et,"screen","full","dvw","lvw","svw","min","max","fit",...j()],_=()=>[et,"screen","full","lh","dvh","lvh","svh","min","max","fit",...j()],k=()=>[e,$,z],se=()=>[...I(),Pr,Ir,{position:[$,z]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],q=()=>["auto","cover","contain",Sc,yc,{size:[$,z]}],K=()=>[xn,At,ft],U=()=>["","none","full",u,$,z],X=()=>["",te,At,ft],ce=()=>["solid","dashed","dotted","double"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>[te,xn,Pr,Ir],Fe=()=>["","none",x,$,z],Pe=()=>["none",te,$,z],ke=()=>["none",te,$,z],Se=()=>[te,$,z],We=()=>[et,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Je],breakpoint:[Je],color:[es],container:[Je],"drop-shadow":[Je],ease:["in","out","in-out"],font:[xc],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Je],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Je],shadow:[Je],spacing:["px",te],text:[Je],"text-shadow":[Je],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",et,z,$,y]}],container:["container"],columns:[{columns:[te,z,$,c]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:B()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{"inset-s":V(),start:V()}],end:[{"inset-e":V(),end:V()}],"inset-bs":[{"inset-bs":V()}],"inset-be":[{"inset-be":V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[tt,"auto",$,z]}],basis:[{basis:[et,"full","auto",c,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[te,et,"auto","initial","none",z]}],grow:[{grow:["",te,$,z]}],shrink:[{shrink:["",te,$,z]}],order:[{order:[tt,"first","last","none",$,z]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:v()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:v()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...T(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...T()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":T()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pbs:[{pbs:j()}],pbe:[{pbe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:F()}],mx:[{mx:F()}],my:[{my:F()}],ms:[{ms:F()}],me:[{me:F()}],mbs:[{mbs:F()}],mbe:[{mbe:F()}],mt:[{mt:F()}],mr:[{mr:F()}],mb:[{mb:F()}],ml:[{ml:F()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",..._()]}],"min-block-size":[{"min-block":["auto",..._()]}],"max-block-size":[{"max-block":["none",..._()]}],w:[{w:[c,"screen",...N()]}],"min-w":[{"min-w":[c,"screen","none",...N()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",r,At,ft]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Ec,bc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xn,z]}],"font-family":[{font:[kc,vc,t]}],"font-features":[{"font-features":[z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,$,z]}],"line-clamp":[{"line-clamp":[te,"none",$,Ar]}],leading:[{leading:[i,...j()]}],"list-image":[{"list-image":["none",$,z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",$,z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[te,"from-font","auto",$,ft]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[te,"auto",$,z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$,z]}
vendor: 7,051 bytes, line 2
2],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$,z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},tt,$,z],radial:["",$,z],conic:[tt,$,z]},jc,wc]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-bs":[{"border-bs":k()}],"border-color-be":[{"border-be":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[te,$,z]}],"outline-w":[{outline:["",te,At,ft]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",f,Ut,Ht]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",l,Ut,Ht]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[te,ft]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",g,Ut,Ht]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[te,$,z]}],"mix-blend":[{"mix-blend":[...ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ie()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[te]}],"mask-image-linear-from-pos":[{"mask-linear-from":le()}],"mask-image-linear-to-pos":[{"mask-linear-to":le()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":le()}],"mask-image-t-to-pos":[{"mask-t-to":le()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":le()}],"mask-image-r-to-pos":[{"mask-r-to":le()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":le()}],"mask-image-b-to-pos":[{"mask-b-to":le()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":le()}],"mask-image-l-to-pos":[{"mask-l-to":le()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":le()}],"mask-image-x-to-pos":[{"mask-x-to":le()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":le()}],"mask-image-y-to-pos":[{"mask-y-to":le()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[$,z]}],"mask-image-radial-from-pos":[{"mask-radial-from":le()}],"mask-image-radial-to-pos":[{"mask-radial-to":le()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[te]}],"mask-image-conic-from-pos":[{"mask-conic-from":le()}],"mask-image-conic-to-pos":[{"mask-conic-to":le()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",$,z]}],filter:[{filter:["","none",$,z]}],blur:[{blur:Fe()}],brightness:[{brightness:[te,$,z]}],contrast:[{contrast:[te,$,z]}],"drop-shadow":[{"drop-shadow":["","none",h,Ut,Ht]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",te,$,z]}],"hue-rotate":[{"hue-rotate":[te,$,z]}],invert:[{invert:["",te,$,z]}],saturate:[{saturate:[te,$,z]}],sepia:[{sepia:["",te,$,z]}],"backdrop-filter":[{"backdrop-filter":["","none",$,z]}],"backdrop-blur":[{"backdrop-blur":Fe()}],"backdrop-brightness":[{"backdrop-brightness":[te,$,z]}],"backdrop-contrast":[{"backdrop-contrast":[te,$,z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",te,$,z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[te,$,z]}],"backdrop-invert":[{"backdrop-invert":["",te,$,z]}],"backdrop-opacity":[{"backdrop-opacity":[te,$,z]}],"backdrop-saturate":[{"backdrop-saturate":[te,$,z]}],"backdrop-sepia":[{"backdrop-sepia":["",te,$,z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",$,z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[te,"initial",$,z]}
vendor: 6,157 bytes, line 2
2],ease:[{ease:["linear","initial",m,$,z]}],delay:[{delay:[te,$,z]}],animate:[{animate:["none",S,$,z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,$,z]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:Pe()}],"rotate-x":[{"rotate-x":Pe()}],"rotate-y":[{"rotate-y":Pe()}],"rotate-z":[{"rotate-z":Pe()}],scale:[{scale:ke()}],"scale-x":[{"scale-x":ke()}],"scale-y":[{"scale-y":ke()}],"scale-z":[{"scale-z":ke()}],"scale-3d":["scale-3d"],skew:[{skew:Se()}],"skew-x":[{"skew-x":Se()}],"skew-y":[{"skew-y":Se()}],transform:[{transform:[$,z,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:We()}],"translate-x":[{"translate-x":We()}],"translate-y":[{"translate-y":We()}],"translate-z":[{"translate-z":We()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$,z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mbs":[{"scroll-mbs":j()}],"scroll-mbe":[{"scroll-mbe":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pbs":[{"scroll-pbs":j()}],"scroll-pbe":[{"scroll-pbe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$,z]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[te,At,ft,Ar]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Rc=ic(Tc);function Ac(...e){return Rc(Ms(e))}const Ic=Bl,Pc=p.forwardRef(({className:e,sideOffset:t=4,...r},o)=>n.jsx(Dl,{children:n.jsx(Jo,{ref:o,sideOffset:t,className:Ac("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
2de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...r})}));Pc.displayName=Jo.displayName;const nt="#FF5C1A",Oc={role:"assistant",content:"Hey. I'm the Strite.ai assistant. Ask me anything about the platform, the disciplines, pricing, or how it works."};function Mc(){const{isDark:e}=ze(),t=C=>e?`rgba(255,255,255,${C})`:`rgba(26,5,0,${C})`,[r,o]=p.useState(!1),[s,i]=p.useState([Oc]),[a,c]=p.useState(""),[d,u]=p.useState(!1),[f,l]=p.useState(!1),g=p.useRef(null),h=p.useRef(null),x=p.useRef(null),[w,y]=p.useState(null),m=p.useRef(null),S=p.useCallback(()=>{const C=Math.min(400,window.innerWidth-40);return{x:window.innerWidth-C-20,y:68}},[]),E=w??S(),I=C=>{C.currentTarget.setPointerCapture(C.pointerId);const v=w??S();m.current={ox:v.x,oy:v.y,mx:C.clientX,my:C.clientY}},B=C=>{if(!m.current)return;const v=x.current?.offsetWidth??400,W=x.current?.offsetHeight??540,D=Math.max(0,Math.min(window.innerWidth-v,m.current.ox+C.clientX-m.current.mx)),T=Math.max(0,Math.min(window.innerHeight-W,m.current.oy+C.clientY-m.current.my));y({x:D,y:T})},P=C=>{C.currentTarget.releasePointerCapture(C.pointerId),m.current=null};p.useEffect(()=>{const C=()=>o(v=>!v);return window.addEventListener("strat-open-chat",C),()=>window.removeEventListener("strat-open-chat",C)},[]);const A=p.useCallback(()=>{g.current?.scrollIntoView({behavior:"smooth"})},[]);p.useEffect(()=>{r&&(A(),setTimeout(()=>h.current?.focus(),240))},[r,A]),p.useEffect(()=>{A()},[s,d,A]);const j=p.useCallback(async()=>{const C=a.trim();if(!C||d)return;const v={role:"user",content:C},W=[...s,v].slice(-20);i(W),c(""),u(!0);try{const D=W.filter(F=>F.role==="user"||F.role==="assistant").map(F=>({role:F.role,content:F.content})),T=await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:D})});if(!T.ok)throw new Error("API error");const L=await T.json();i(F=>[...F,{role:"assistant",content:L.reply}].slice(-20))}catch{i(D=>[...D,{role:"error",content:"Something went wrong. Try again."}].slice(-20))}finally{u(!1)}},[a,s,d]),V=C=>{C.key==="Enter"&&!C.shiftKey&&(C.preventDefault(),j())};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:` 3 @keyframes cwDot { 4 0%, 60%, 100% { transform: translateY(0); opacity: 0.35; } 5 30% { transform: translateY(-5px); opacity: 1; } 6 } 7 @keyframes cwFadeUp { 8 from { opacity: 0; transform: translateY(6px); } 9 to { opacity: 1; transform: translateY(0); } 10 } 11 @keyframes cwLive { 12 0%, 100% { opacity: 1; } 13 50% { opacity: 0.3; } 14 } 15 .cw-msg { animation: cwFadeUp 0.2s ease forwards; } 16 .cw-dot { animation: cwDot 1.1s ease-in-out infinite; } 17 .cw-dot:nth-child(2) { animation-delay: 0.18s; } 18 .cw-dot:nth-child(3) { animation-delay: 0.36s; } 19 .cw-scroll::-webkit-scrollbar { width: 3px; } 20 .cw-scroll::-webkit-scrollbar-track { background: transparent; } 21 .cw-scroll::-webkit-scrollbar-thumb { background: rgba(255,92,26,0.25); border-radius: 2px; } 22 .cw-input-dark::placeholder { color: rgba(255,255,255,0.22); } 23 .cw-input-light::placeholder { color: rgba(26,5,0,0.28); } 24 .cw-input:focus { outline: none; } 25 .cw-header { cursor: grab; } 26 .cw-header:active { cursor: grabbing; } 27 `}),n.jsxs("div",{ref:x,style:{position:"fixed",top:E.y,left:E.x,width:"min(400px, calc(100vw - 40px))",height:"min(540px, calc(100vh - 90px))",zIndex:9998,display:"flex",flexDirection:"column",borderRadius:14,overflow:"hidden",background:e?"#160A05":"#ffffff",border:"1px solid rgba(255,92,26,0.20)",boxShadow:r?e?"0 24px 64px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,92,26,0.06)":"0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,92,26,0.10)":"none",opacity:r?1:0,transform:r?"scale(1)":"scale(0.97)",pointerEvents:r?"auto":"none",transition:"opacity 0.22s cubic-bezier(0.34,1.1,0.64,1), transform 0.22s cubic-bezier(0.34,1.1,0.64,1)",transformOrigin:"top right",userSelect:m.current?"none":"auto"},children:[n.jsxs("div",{className:"cw-header",onPointerDown:I,onPointerMove:B,onPointerUp:P,onPointerCancel:P,style:{background:e?"#0D0200":"#f7f4f2",padding:"14px 16px 13px",display:"flex",alignItems:"center",justifyContent:"space-between",flexShrink:0,borderBottom:"1px solid rgba(255,92,26,0.14)",touchAction:"none"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[n.jsx("span",{style:{display:"inline-block",width:30,height:30,flexShrink:0,backgroundColor:"#FF5C1A",WebkitMaskImage:"url(/strite-icon-s.png)",WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center",maskImage:"url(/strite-icon-s.png)",maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center"}}),n.jsxs("div",{children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:7,marginBottom:3},children:[n.jsx("img",{src:"/strite-logo.png",alt:"Strite.ai",style:{height:11,width:"auto",filter:e?"none":"invert(1) sepia(1) saturate(3) hue-rotate(340deg) brightness(0.3)"}}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[n.jsx("div",{style:{width:5,height:5,borderRadius:"50%",background:"#4ADE80",boxShadow:"0 0 5px rgba(74,222,128,0.7)",animation:"cwLive 2s ease-in-out infinite",flexShrink:0}}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:9,letterSpacing:"0.15em",textTransform:"uppercase",color:"rgba(74,222,128,0.75)"},children:"Online"})]})]}),n.jsx("div",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:10,
27color:t(.4),letterSpacing:"0.06em",textTransform:"uppercase"},children:"Creative Strategy Assistant"})]})]}),n.jsx("button",{onClick:()=>o(!1),"aria-label":"Close chat",onPointerDown:C=>C.stopPropagation(),style:{width:28,height:28,borderRadius:6,background:t(.04),border:`1px solid ${t(.09)}`,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:t(.4),transition:"background 0.15s, color 0.15s"},onMouseEnter:C=>{C.currentTarget.style.background="rgba(255,92,26,0.14)",C.currentTarget.style.color=nt},onMouseLeave:C=>{C.currentTarget.style.background=t(.04),C.currentTarget.style.color=t(.4)},children:n.jsx("svg",{width:"11",height:"11",viewBox:"0 0 12 12",fill:"none",children:n.jsx("path",{d:"M2 2l8 8M10 2L2 10",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})})})]}),n.jsxs("div",{className:"cw-scroll",style:{flex:1,overflowY:"auto",padding:"16px 14px",display:"flex",flexDirection:"column",gap:10},children:[s.map((C,v)=>{const W=C.role==="user",D=C.role==="error",T=C.role==="assistant";return n.jsxs("div",{className:"cw-msg",style:{display:"flex",flexDirection:W?"row-reverse":"row",alignItems:"flex-end",gap:8},children:[T&&n.jsx("div",{style:{width:20,height:20,borderRadius:5,flexShrink:0,background:e?"#0D0200":"#f0ede8",border:"1px solid rgba(255,92,26,0.22)",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:2},children:n.jsx("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",children:n.jsx("path",{d:"M12 2L13.8 9.2L21 11L13.8 12.8L12 20L10.2 12.8L3 11L10.2 9.2L12 2Z",fill:nt})})}),n.jsx("div",{style:{maxWidth:"78%",fontSize:13,lineHeight:1.65,fontFamily:"'JetBrains Mono', monospace",wordBreak:"break-word",whiteSpace:"pre-wrap",padding:"10px 13px",borderRadius:W?"12px 12px 3px 12px":"12px 12px 12px 3px",...W?{background:nt,color:"#fff"}:D?{background:"rgba(220,38,38,0.10)",border:"1px solid rgba(220,38,38,0.22)",color:"rgba(255,180,180,0.9)"}:{background:e?"#0D0200":"#f7f4f2",border:`1px solid ${t(.08)}`,color:t(.85)}},children:C.content})]},v)}),d&&n.jsxs("div",{className:"cw-msg",style:{display:"flex",alignItems:"flex-end",gap:8},children:[n.jsx("div",{style:{width:20,height:20,borderRadius:5,flexShrink:0,background:e?"#0D0200":"#f0ede8",border:"1px solid rgba(255,92,26,0.22)",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:2},children:n.jsx("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",children:n.jsx("path",{d:"M12 2L13.8 9.2L21 11L13.8 12.8L12 20L10.2 12.8L3 11L10.2 9.2L12 2Z",fill:nt})})}),n.jsx("div",{style:{padding:"12px 14px",borderRadius:"12px 12px 12px 3px",background:e?"#0D0200":"#f7f4f2",border:`1px solid ${t(.08)}`,display:"flex",gap:5,alignItems:"center"},children:[0,1,2].map(C=>n.jsx("span",{className:"cw-dot",style:{width:5,height:5,borderRadius:"50%",background:nt,display:"inline-block",flexShrink:0}},C))})]}),n.jsx("div",{ref:g})]}),n.jsxs("div",{style:{borderTop:`1px solid ${t(.07)}`,padding:"10px 12px 12px",background:e?"#0D0200":"#f7f4f2",flexShrink:0},children:[n.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center",background:e?"#160A05":"#ffffff",border:`1px solid ${f?"rgba(255,92,26,0.50)":t(.1)}`,borderRadius:8,padding:"4px 4px 4px 12px",transition:"border-color 0.2s ease",boxShadow:f?"0 0 0 3px rgba(255,92,26,0.07)":"none"},children:[n.jsx("input",{ref:h,value:a,onChange:C=>c(C.target.value),onKeyDown:V,onFocus:()=>l(!0),onBlur:()=>l(!1),maxLength:1e3,placeholder:"Ask anything...",disabled:d,className:`cw-input ${e?"cw-input-dark":"cw-input-light"}`,style:{flex:1,background:"transparent",border:"none",outline:"none",fontSize:13,fontFamily:"'JetBrains Mono', monospace",color:t(.9),caretColor:nt,padding:"7px 0",opacity:d?.5:1}}),n.jsx("button",{onClick:()=>{j()},disabled:d||!a.trim(),"aria-label":"Send message",style:{width:34,height:34,borderRadius:6,flexShrink:0,background:a.trim()&&!d?nt:"rgba(255,92,26,0.10)",border:a.trim()&&!d?"none":"1px solid rgba(255,92,26,0.15)",cursor:a.trim()&&!d?"pointer":"default",display:"flex",alignItems:"center",justifyContent:"center",transition:"background 0.15s ease"},onMouseEnter:C=>{a.trim()&&!d&&(C.currentTarget.style.background="#E04A12")},onMouseLeave:C=>{a.trim()&&!d&&(C.currentTarget.style.background=nt)},children:n.jsx("svg",{width:"14",height:"14",viewBox:"0 0 15 15",fill:"none",children:n.jsx("path",{d:"M1.5 7.5h12M8 2l5.5 5.5L8 13",stroke:a.trim()&&!d?"white":"rgba(255,92,26,0.35)",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),n.jsx("div",{style:{display:"flex",justifyContent:"center",marginTop:8},children:n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:9,letterSpacing:"0.18em",color:t(.18),textTransform:"uppercase"},children:"Enter to send · STRITE.AI"})})]})]})]})}const Fc=.012,Nc=.08,Lc=55,_c=40;function Bc(e){const t=p.useRef(null),r=p.useRef(0),o=p.useRef(0);p.useRef(window.scrollY);const s=p.useCallback(()=>
27(t.current||(t.current=new AudioContext),t.current.state==="suspended"&&t.current.resume(),t.current),[]);p.useEffect(()=>{const c=()=>{const d=s();d.state==="suspended"&&d.resume()};return window.addEventListener("mousemove",c,{once:!0}),window.addEventListener("pointerdown",c,{once:!0}),window.addEventListener("touchstart",c,{once:!0}),window.addEventListener("keydown",c,{once:!0}),()=>{window.removeEventListener("mousemove",c),window.removeEventListener("pointerdown",c),window.removeEventListener("touchstart",c),window.removeEventListener("keydown",c)}},[s]);const i=p.useCallback(c=>{const d=performance.now();if(d-r.current<Lc)return;r.current=d;const u=s(),f=u.currentTime,l=Fc*(.5+c*.5),g=.016,h=Math.ceil(u.sampleRate*g),x=u.createBuffer(1,h,u.sampleRate),w=x.getChannelData(0);for(let I=0;I<h;I++)w[I]=Math.random()*2-1;const y=u.createBufferSource();y.buffer=x;const m=u.createBiquadFilter();m.type="highpass",m.frequency.value=6e3;const S=u.createBiquadFilter();S.type="lowpass",S.frequency.value=11e3;const E=u.createGain();E.gain.setValueAtTime(l,f),E.gain.exponentialRampToValueAtTime(1e-4,f+g),y.connect(m),m.connect(S),S.connect(E),E.connect(u.destination),y.start(f),y.stop(f+g+.002)},[s]),a=p.useCallback(()=>{const c=performance.now();if(c-o.current<_c)return;o.current=c;const d=s(),u=d.currentTime,f=.009,l=d.createOscillator();l.type="sine",l.frequency.setValueAtTime(3500,u),l.frequency.exponentialRampToValueAtTime(2800,u+f);const g=d.createGain();g.gain.setValueAtTime(Nc,u),g.gain.exponentialRampToValueAtTime(1e-4,u+f),l.connect(g),g.connect(d.destination),l.start(u),l.stop(u+f+.001)},[s]);p.useEffect(()=>{if(!e)return;const c=new WeakMap;let d=!1;const u=f=>{d||(d=!0,requestAnimationFrame(()=>{const l=f.target,g=l?l===document||l===document.documentElement?window.scrollY:l.scrollTop:window.scrollY,h=c.get(l??window)??g,x=Math.abs(g-h);c.set(l??window,g);const w=Math.min(x/55,1);x>2&&i(w),d=!1}))};return document.addEventListener("scroll",u,{passive:!0,capture:!0}),()=>document.removeEventListener("scroll",u,{capture:!0})},[e,i]),p.useEffect(()=>{if(!e)return;const c="a, button, [data-hover], [role='button']",d=u=>{u.target.closest(c)&&a()};return document.addEventListener("mouseover",d,{passive:!0}),()=>document.removeEventListener("mouseover",d)},[e,a]),p.useEffect(()=>()=>{const c=t.current;c&&c.state!=="closed"&&c.close().catch(()=>{}),t.current=null},[])}function Dc(){const[e,t]=p.useState(!0);return Bc(e),n.jsx("button",{onClick:()=>t(r=>!r),"aria-label":e?"Mute sound":"Unmute sound",title:e?"Sound on":"Sound off",style:{position:"fixed",bottom:"24px",right:"24px",zIndex:9999,cursor:"none",background:"rgba(255,92,26,0.08)",border:"1px solid rgba(255,92,26,0.20)",borderRadius:"50%",width:"36px",height:"36px",display:"flex",alignItems:"center",justifyContent:"center",opacity:e?1:.35,transition:"opacity 0.2s, background 0.2s, border-color 0.2s"},onMouseEnter:r=>{r.currentTarget.style.background="rgba(255,92,26,0.18)",r.currentTarget.style.borderColor="rgba(255,92,26,0.45)"},onMouseLeave:r=>{r.currentTarget.style.background="rgba(255,92,26,0.08)",r.currentTarget.style.borderColor="rgba(255,92,26,0.20)"},children:e?n.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"rgba(255,255,255,0.65)",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),n.jsx("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),n.jsx("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})]}):n.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"rgba(255,255,255,0.65)",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),n.jsx("line",{x1:"23",y1:"9",x2:"17",y2:"15"}),n.jsx("line",{x1:"17",y1:"9",x2:"23",y2:"15"})]})})}const yn="STRITE.AI â AI-powered creative strategy engine. From brief to Cannes in 90 seconds.",Or="STRITE.AI â Creative Strategy Engine",Mr="https://strite.ai/";function Me(e,t,r){let o=document.querySelector(e);if(!o){o=document.createElement("meta");const[s,i]=e.replace(/^\[|\]$/g,"").split('="');o.setAttribute(s,i.replace(/"$/,"")),document.head.appendChild(o)}o.setAttribute(t,r)}function Fr(e){let t=document.querySelector('link[rel="canonical"]');t||(t=document.createElement("link"),t.setAttribute("rel","canonical"),document.head.appendChild(t)),t.setAttribute("href",e)}function zc(e){p.useEffect(()=>{const t=document.title,r=document.querySelector('meta[name="description"]')?.getAttribute("content")??yn,o=document.querySelector('meta[property="og:title"]')?.getAttribute("content")??Or,s=document.querySelector('meta[property="og:description"]')?.getAttribute("content")??yn,i=document.querySelector('meta[property="og:url"]')?.getAttribute("content")??Mr,a=document.querySelector('meta[name="twitter:title"]')?.getAttribute("content")??Or,c=document.querySelector('meta[name="twitter:description"]')?.getAttribute("content")??yn,d=document.querySelector('link[rel="canonical"]')?.getAttribute("href")??Mr,u=e.ogTitle??e.title,f=e.ogDescription??e.description,l=e.twitterTitle??u,g=e.twitterDescription??f;return document.title=e.title,Me('meta[name="description"]',"content",e.description),Me('meta[property="og:title"]',"content",u),Me('meta[property="og:description"]',"content",f),Me('meta[property="og:url"]',"content",e.canonical),Me('meta[name="twitter:title"]',"content",l),Me('meta[name="twitter:description"]',"content",g),Fr(e.canonical),()=>{document.title=t,Me('meta[name="description"]',"content",r),Me('meta[property="og:title"]',"content",o),Me('meta[property="og:description"]',"content",s),Me('meta[property="og:url"]',"content",i),Me('meta[name="twitter:title"]',"content",a),Me('meta[name="twitter:description"]',"content",c),Fr(d)}},[e.title,e.description,e.canonical,e.ogTitle,e.ogDescription,e.t
27witterTitle,e.twitterDescription])}function Wc(){const e=p.useRef(null),t=p.useRef(null),r=p.useRef(null),o=p.useRef(null);return p.useEffect(()=>{const s=e.current,i=t.current,a=r.current,c=o.current;let d=-200,u=-200,f=-200,l=-200,g,h=0,x=!1;const w=A=>{d=A.clientX,u=A.clientY,x||(s.style.transform=`translate(${d-3}px,${u-3}px)`)};function y(){if(f+=(d-f)*.12,l+=(u-l)*.12,i.style.transform=`translate(${f-20}px,${l-20}px)`,x){h+=.055;const A=13;a.style.transform=`translate(${d+Math.cos(h)*A-3}px,${u+Math.sin(h)*A-3}px)`,c.style.transform=`translate(${d+Math.cos(h+Math.PI)*A-3}px,${u+Math.sin(h+Math.PI)*A-3}px)`}g=requestAnimationFrame(y)}y();const m=()=>{i.classList.add("cur-blob--hover")},S=()=>{i.classList.remove("cur-blob--hover")},E=()=>{x=!0,s.style.opacity="0",i.style.opacity="0",a.style.opacity="1",c.style.opacity="1"},I=()=>{x=!1,s.style.opacity="1",i.style.opacity="1",a.style.opacity="0",c.style.opacity="0"};function B(){document.querySelectorAll("a, button, [data-hover]").forEach(A=>{A.addEventListener("mouseenter",m),A.addEventListener("mouseleave",S)}),document.querySelectorAll("[data-headline]").forEach(A=>{A.addEventListener("mouseenter",E),A.addEventListener("mouseleave",I)})}B();const P=new MutationObserver(B);return P.observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("mousemove",w,{passive:!0}),()=>{cancelAnimationFrame(g),window.removeEventListener("mousemove",w),P.disconnect()}},[]),n.jsxs(n.Fragment,{children:[n.jsx("div",{ref:e,className:"cur-dot","aria-hidden":!0}),n.jsx("div",{ref:t,className:"cur-blob","aria-hidden":!0}),n.jsx("div",{ref:r,className:"cur-orbit","aria-hidden":!0}),n.jsx("div",{ref:o,className:"cur-orbit","aria-hidden":!0})]})}const It="'JetBrains Mono', monospace",vt="#FF5C1A";function $c(){return n.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[n.jsx("path",{d:"M9 2C9 2 13 5 13 8.5C13 11 11.2 12.8 9 13.5C6.8 12.8 5 11 5 8.5C5 5 9 2 9 2Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"}),n.jsx("path",{d:"M6.5 13L5.5 16M11.5 13L12.5 16",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),n.jsx("circle",{cx:"9",cy:"8.5",r:"1.5",fill:"currentColor",opacity:"0.8"})]})}function Hc(){return n.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:n.jsx("path",{d:"M10 2.5H7.5L4.5 10.5H8L6 16L15 8.5H11L13.5 2.5H10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round",strokeLinecap:"round"})})}function Uc(){return n.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[n.jsx("rect",{x:"2.5",y:"2.5",width:"5.5",height:"5.5",rx:"1.5",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("rect",{x:"10",y:"2.5",width:"5.5",height:"5.5",rx:"1.5",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("rect",{x:"2.5",y:"10",width:"5.5",height:"5.5",rx:"1.5",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("rect",{x:"10",y:"10",width:"5.5",height:"5.5",rx:"1.5",stroke:"currentColor",strokeWidth:"1.5"})]})}function qc(){return n.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[n.jsx("rect",{x:"2",y:"12",width:"3.5",height:"4",rx:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("rect",{x:"7.25",y:"8",width:"3.5",height:"8",rx:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("rect",{x:"12.5",y:"4",width:"3.5",height:"12",rx:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("path",{d:"M3.75 11.5L9 7.5L14.25 3.5",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round",opacity:"0.55"})]})}function Vc(){return n.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[n.jsx("circle",{cx:"9",cy:"9",r:"2.5",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("path",{d:"M9 2V4M9 14V16M2 9H4M14 9H16M4.22 4.22L5.64 5.64M12.36 12.36L13.78 13.78M13.78 4.22L12.36 5.64M5.64 12.36L4.22 13.78",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]})}function Jc(){return n.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[n.jsx("path",{d:"M3.5 14C3.5 14 5.5 10 9 10C12.5 10 14.5 14 14.5 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),n.jsx("path",{d:"M6 15.5C6 15.5 7.2 13 9 13C10.8 13 12 15.5 12 15.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",opacity:"0.55"}),n.jsx("circle",{cx:"9",cy:"6.5",r:"2",stroke:"currentColor",strokeWidth:"1.5"})]})}function Gc(){return n.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[n.jsx("path",{d:"M3 15L5.5 9L9 3L15 3L15 9L9 12.5L3 15Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"}),n.jsx("circle",{cx:"11.5",cy:"6.5",r:"1.5",fill:"currentColor",opacity:"0.75"}),n.jsx("path",{d:"M3 15L7 11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}const ls=[{label:"Founders",sub:"Strategy without the hire.",href:"/use-cases/founders",Icon:$c,color:"#FF6B35"},{label:"Freelancers",sub:"More clients, same you.",href:"/use-cases/freelance-strategists",Icon:Hc,color:"#FF9500"},{label:"Agencies",sub:"Pitch more, stress less.",href:"/use-cases/agencies",Icon:Uc,color:"#FF5C1A"},{label:"In-house Marketing",sub:"Campaign strategy, shipped.",href:"/use-cases/marketing",Icon:qc,color:"#FF3D00"},{label:"Creative Directors",sub:"Strategy before the brief.",href:"/use-cases/creative-directors",Icon:Vc,color:"#FF7043"},{label:"PR Teams",sub:"Control your narrative.",href:"/use-cases/pr",Icon:Jc,color:"#FF5722"},{label:"Designers",sub:"Direction, not vibes.",href:"/use-cases/designers",Icon:Gc,color:"#FF8C42"}];function Yc({currentPath:e,onClose:t,onMouseEnter:r,onMouseLeave:o}){const{isDark:s}=ze(),i=g=>s?`rgba(255,255,255,${g})`:`rgba(26,5,0,${g})`,a=s?"rgba(255,255,255,0.02)":"rgba(26,5,0,0.03)",c=s?"rgba(255,255,255,0.05)":"rgba(26,5,0,0.08)",d=s?"rgba(255,255,255,0.06)":"rgba(26,5,0,0.06)",u=s?"rgba(255,255,255,0.10)":"rgba(26,5,0,0.14)",f=s?"rgba(255,255,255,0.06)":"rgba(26,5,0,0.05)",l=s?"rgba(255,255,255,0.07)":"rgba(26,5,0,0.09)";return n.jsx("div",{onMouseEnter:r,onMouseLeave:o,style:{background:s?"#130400":"#ffffff",border:`1px solid ${s?"rgba(255,92,26,0.20)":"rgba(26,5,0,0.10)"}`,borderRadius:16,boxShadow:s?"0 32px 80px rgba(0,0,0,0.90), 0 0 0 1px rgba(255,255,255,0.03) inset, 0 -1px 0 rgba(255,92,26,0.12) inset":"0 16px 48px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06)",overflow:"hidden",
27width:820},children:n.jsxs("div",{style:{padding:"22px 24px 20px"},children:[n.jsx("div",{style:{marginBottom:18},children:n.jsx("p",{style:{fontFamily:It,fontSize:13,letterSpacing:"0.18em",textTransform:"uppercase",color:vt,fontWeight:400,margin:0},children:"Who is it for?"})}),n.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gridAutoRows:"1fr",gap:8},children:[ls.map(({label:g,sub:h,href:x,Icon:w,color:y})=>{const m=e===x;return n.jsx(Ce,{href:x,style:{display:"flex"},children:n.jsxs("div",{onClick:t,style:{padding:"14px 14px 13px",borderRadius:11,cursor:"pointer",border:`1px solid ${m?"rgba(255,92,26,0.30)":c}`,background:m?"rgba(255,92,26,0.10)":a,transition:"background 0.15s, border-color 0.15s, transform 0.15s",position:"relative",overflow:"hidden",display:"flex",flexDirection:"column",width:"100%"},onMouseEnter:S=>{const E=S.currentTarget;E.style.background=m?"rgba(255,92,26,0.16)":d,E.style.borderColor=m?"rgba(255,92,26,0.45)":u,E.style.transform="translateY(-1px)"},onMouseLeave:S=>{const E=S.currentTarget;E.style.background=m?"rgba(255,92,26,0.10)":a,E.style.borderColor=m?"rgba(255,92,26,0.30)":c,E.style.transform="translateY(0)"},children:[n.jsx("div",{style:{width:34,height:34,borderRadius:9,marginBottom:11,display:"flex",alignItems:"center",justifyContent:"center",background:m?`${y}28`:f,border:`1px solid ${m?`${y}40`:l}`,color:m?y:i(.55),transition:"all 0.15s"},children:n.jsx(w,{})}),n.jsx("p",{style:{fontFamily:It,fontSize:13,fontWeight:700,letterSpacing:"0.03em",color:m?vt:i(.88),margin:"0 0 5px",lineHeight:1.3,whiteSpace:"pre-line"},children:g.replace(" ",` 28`)}),n.jsx("p",{style:{fontFamily:It,fontSize:11,color:m?"rgba(255,92,26,0.55)":i(.38),margin:0,lineHeight:1.5,letterSpacing:"0.01em"},children:h}),m&&n.jsx("div",{style:{position:"absolute",top:10,right:10,width:6,height:6,borderRadius:"50%",background:vt,boxShadow:`0 0 8px ${vt}`}})]})},x)}),n.jsx(Ce,{href:"/sign-up",style:{display:"flex"},children:n.jsxs("div",{onClick:t,style:{padding:"14px 14px 13px",borderRadius:11,cursor:"pointer",border:"1px solid rgba(255,92,26,0.18)",background:"rgba(255,92,26,0.06)",transition:"background 0.15s, border-color 0.15s, transform 0.15s",display:"flex",flexDirection:"column",width:"100%"},onMouseEnter:g=>{const h=g.currentTarget;h.style.background="rgba(255,92,26,0.12)",h.style.borderColor="rgba(255,92,26,0.35)",h.style.transform="translateY(-1px)"},onMouseLeave:g=>{const h=g.currentTarget;h.style.background="rgba(255,92,26,0.06)",h.style.borderColor="rgba(255,92,26,0.18)",h.style.transform="translateY(0)"},children:[n.jsx("div",{style:{width:34,height:34,borderRadius:9,marginBottom:11,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255,92,26,0.15)",border:"1px solid rgba(255,92,26,0.25)"},children:n.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:n.jsx("path",{d:"M8 3V13M3 8H13",stroke:vt,strokeWidth:"1.8",strokeLinecap:"round"})})}),n.jsx("p",{style:{fontFamily:It,fontSize:13,fontWeight:700,color:vt,margin:"0 0 5px",lineHeight:1.3},children:"Get Started"}),n.jsx("p",{style:{fontFamily:It,fontSize:11,color:"rgba(255,92,26,0.50)",margin:0,lineHeight:1.5},children:"Try it free today."})]})})]})]})})}const Kc="#FF5C1A";function Nr(){return n.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("circle",{cx:"12",cy:"12",r:"5"}),n.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),n.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),n.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),n.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),n.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),n.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),n.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),n.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})}function Lr(){return n.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})}function Xc({transparentAtTop:e=!1,showCursor:t=!0}){const[r]=Ft(),{isSignedIn:o}=Pn(),{isDark:s,toggle:i}=ze(),[a,c]=p.useState(!1),[d,u]=p.useState(!e),[f,l]=p.useState(!1),g=p.useRef(null),[h,x]=p.useState(!1),w=()=>{g.current&&clearTimeout(g.current),l(!0)},y=()=>{g.current=setTimeout(()=>l(!1),140)};p.useEffect(()=>{if(!e)return;const T=()=>u(window.scrollY>80);return window.addEventListener("scroll",T,{passive:!0}),T(),()=>window.removeEventListener("scroll",T)},[e]),p.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]),p.useEffect(()=>{const T=L=>{L.key==="Escape"&&c(!1)};return document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)},[]);const m=s?"white":"#1A0500",S=s?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.55)",E=s?"rgba(255,255,255,0.12)":"rgba(26,5,0,0.14)",I=s?"rgba(13,2,0,0.88)":"rgba(255,255,255,0.93)",B=s?"rgba(255,255,255,0.05)":"rgba(26,5,0,0.09)",P=s?"none":"brightness(0)",A=s?"rgba(13,2,0,0.97)":"rgba(255,255,255,0.98)",j=s?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.55)",V=s?"white":"#1A0500",C=s?"#fff":"#1A0500",v=s?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.45)",W=s?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.45)",D=s?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.55)";return n.jsxs(n.Fragment,{children:[t&&n.jsx(Wc,{}),n.jsx("div",{style:{position:"fixed",inset:0,top:56,zIndex:48,background:"rgba(0,0,0,0.78)",pointerEvents:f?"auto":"none",opacity:f?1:0,transition:"opacity 0.22s ease"},onClick:()=>l(!1)}),n.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 flex items-center justify-center px-4 lg:px-12 transition-all duration-500",style:{height:56,background:d?I:"transparent",backdropFilter:d?"blur(20px)":"none",borderBottom:d?`1px solid ${B}`:"1px solid transparent"},children:[n.jsx("div",{className:"absolute left-4 lg:left-12",children:n.jsx(Ce,{href:"/",children:n.jsx("div",{className:"flex flex-col leading-none cursor-none","data-hover":!0,children:n.jsx("img",{src:"/strite-logo.png",alt:"Strite.ai",className:"h-[19px] md:h-[19px]",style:{width:"auto",filter:P,transition:"filter 0.3s"}})})})}),n.jsx("div",{className:"hidden lg:flex absolute left-1/2 -translate-x-1/2",children:n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsxs("div",{style:{position:"relative"},onMouseEnter:w,onMouseLeave:y,children:[n.jsxs("button",{"data-hover":!0,className:"px-4 py-1.5 rounded-full transition-colors duration-200 hover:bg-white/5 flex items-center gap-1",style:{cursor:"none",background:"none",border:"none"},children:[n.jsx("span",{className:"nav-tab font-['JetBrains_Mono'] text-[11px] uppercase tracking-[0.22em]",style:{color:m},children:"Use Cases"}),n.jsx("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",style:{opacity:.55,transition:"transform 0.2s",transform:f?"rotate(180deg)":"rotate(0deg)"},children:n.jsx("path",{d:"M1 1l4 4 4-4",stroke:m,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),f&&n.jsx("div",{style:{position:"absolute",top:"calc(100% + 8px)",left:"50%",transform:"translateX(-50%)",zIndex:100},children:n.jsx(Yc,{currentPath:r,onClose:()=>l(!1),onMouseEnter:w,onMouseLeave:y})})]}),[{label:"PRICING",href:"/pricing"},{label:"SIGN IN",href:"/sign-in"}].map(({label:T,href:L})=>n.jsx(Ce,{href:L,"data-hover":!0,children:n.jsx("span",{className:"nav-tab font-['JetBrains_Mono'] text-[11px] uppercase tracking-[0.22em] px-4 py-1.5 rounded-full transition-colors duration-200 hover:bg-black/5 block",style:{color:m},children:T})},T)),n.jsx("span",{className:"w-px h-3.5 mx-3",style:{background:E}}),n.jsxs("button",{className:"flex items-center gap-1.5 transition-all duration-200",onClick:()=>window.dispatchEvent(new CustomEvent("strat-open-chat")),style:{cursor:"none",background:"transparent",border:`1px solid ${v}`,borderRadius:6,padding:"5px 10px 5px 7px"},onMouseEnter:T=>{const L=T.currentTarget;L.style.borderColor="#FF5C1A",L.style.color="#FF5C1A",L.style.boxShadow="inset 0 0 0 1px #FF5C1A, 0 0 16px rgba(255,92,26,0.2)"},onMouseLeave:T=>{const L=T.currentTarget;L.style.borderColor=v,L.style.color=C,L.style.boxShadow=""},"aria-label":"Open AI assistant",children:[n.jsx("span",{style:{display:"inline-block",width:14,height:14,flexShrink:0,backgroundColor:C,WebkitMaskImage:"url(/strite-icon-s.png)",WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center",maskImage:"url(/strite-icon-s.png)",maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center"}}),n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.18em]",style:{fontSize:10,
28color:C,fontWeight:700},children:"Chat"})]})]})}),n.jsxs("div",{className:"absolute right-4 lg:right-12 flex items-center gap-2 lg:gap-3",children:[n.jsx("button",{onClick:i,"aria-label":s?"Switch to light mode":"Switch to dark mode",className:"flex items-center justify-center transition-all duration-200",style:{cursor:"none",background:"transparent",border:"none",padding:"6px",borderRadius:6,color:D},onMouseEnter:T=>{T.currentTarget.style.color="#FF5C1A"},onMouseLeave:T=>{T.currentTarget.style.color=D},"data-hover":!0,children:s?n.jsx(Nr,{}):n.jsx(Lr,{})}),!o&&n.jsx(Ce,{href:"/sign-up","data-hover":!0,className:"hidden lg:block",style:{opacity:1,pointerEvents:"auto",transition:"opacity 0.35s ease, transform 0.35s ease"},children:n.jsx("button",{className:"font-['JetBrains_Mono'] text-[10px] uppercase tracking-[0.26em] transition-all duration-300",style:{padding:"8px 20px",background:"transparent",border:`1px solid ${W}`,color:m,fontWeight:700,cursor:"none",letterSpacing:"0.26em",borderRadius:6},onMouseEnter:T=>{const L=T.currentTarget;L.style.borderColor="#FF5C1A",L.style.color="#FF5C1A",L.style.boxShadow="inset 0 0 0 1px #FF5C1A, 0 0 16px rgba(255,92,26,0.2)"},onMouseLeave:T=>{const L=T.currentTarget;L.style.borderColor=W,L.style.color=m,L.style.boxShadow=""},"data-hover":!0,children:"Start Free"})}),n.jsxs("button",{className:"lg:hidden flex flex-col gap-[5px] p-2 z-[60] relative",style:{cursor:"none"},onClick:()=>c(T=>!T),"aria-label":"Toggle menu",children:[n.jsx("span",{className:"block w-6 h-[1.5px] transition-all duration-300 origin-center",style:{background:V,transform:a?"translateY(6.5px) rotate(45deg)":""}}),n.jsx("span",{className:"block w-6 h-[1.5px] transition-all duration-300",style:{background:V,opacity:a?0:1}}),n.jsx("span",{className:"block w-6 h-[1.5px] transition-all duration-300 origin-center",style:{background:V,transform:a?"translateY(-6.5px) rotate(-45deg)":""}})]})]})]}),n.jsxs("div",{className:"fixed inset-0 z-40 flex flex-col items-center justify-center transition-all duration-500 lg:hidden",style:{background:A,backdropFilter:"blur(24px)",pointerEvents:a?"auto":"none",opacity:a?1:0},children:[n.jsxs("nav",{className:"flex flex-col items-center gap-8 relative z-10",children:[n.jsxs("div",{className:"flex flex-col items-center",children:[n.jsxs("button",{onClick:()=>x(T=>!T),style:{cursor:"none",background:"none",border:"none",padding:0,fontSize:"clamp(32px,9vw,52px)",transitionDelay:"0ms",transform:a?"translateY(0)":"translateY(20px)",opacity:a?1:0,transition:"transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.45s ease",display:"flex",alignItems:"center",gap:10},children:[n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase",style:{fontSize:"clamp(32px,9vw,52px)",color:m},children:"Use Cases"}),n.jsx("svg",{width:"18",height:"11",viewBox:"0 0 18 11",fill:"none",style:{opacity:.5,transition:"transform 0.25s",transform:h?"rotate(180deg)":"rotate(0deg)",flexShrink:0,marginTop:4},children:n.jsx("path",{d:"M1 1l8 8 8-8",stroke:m,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),n.jsx("div",{style:{maxHeight:h?500:0,overflow:"hidden",transition:"max-height 0.4s cubic-bezier(0.16,1,0.3,1)",display:"flex",flexDirection:"column",alignItems:"center",gap:2,marginTop:h?12:0},children:ls.map(({label:T,href:L})=>n.jsx(Ce,{href:L,onClick:()=>c(!1),children:n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase block text-center transition-colors hover:text-[#FF5C1A]",style:{fontSize:14,letterSpacing:"0.14em",color:j,padding:"7px 24px"},children:T})},L))})]}),[{label:"PRICING",href:"/pricing",delay:60},{label:"SIGN IN",href:"/sign-in",delay:120}].map(({label:T,href:L,delay:F})=>n.jsx(Ce,{href:L,onClick:()=>c(!1),children:n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase transition-colors hover:text-[#FF5C1A]",style:{fontSize:"clamp(32px,9vw,52px)",color:m,transitionDelay:a?`${F}ms`:"0ms",transform:a?"translateY(0)":"translateY(20px)",opacity:a?1:0,display:"block",transition:"transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.45s ease, color 0.2s"},children:T})},T)),n.jsx(Ce,{href:"/sign-up",onClick:()=>c(!1),className:"mt-6",children:n.jsx("button",{className:"font-['JetBrains_Mono'] uppercase text-base px-12 py-4 transition-all duration-300",style:{border:`1px solid ${Kc}`,background:"rgba(255,92,26,0.18)",backdropFilter:"blur(16px)",borderRadius:6,color:m},children:"START FREE"})}),n.jsxs("button",{className:"flex items-center gap-2 mt-2",onClick:()=>{c(!1),window.dispatchEvent(new CustomEvent("strat-open-chat"))},style:{background:"transparent",border:`1px solid ${v}`,borderRadius:6,padding:"12px 32px 12px 26px"},children:[n.jsx("span",{style:{display:"inline-block",width:16,height:16,flexShrink:0,backgroundColor:C,WebkitMaskImage:"url(/strite-icon-s.png)",WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center",maskImage:"url(/strite-icon-s.png)",maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center"}}),n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.22em]",style:{fontSize:13,color:C,fontWeight:700},children:"Chat"})]}),n.jsxs("button",{onClick:i,className:"flex items-center gap-2 mt-1",style:{background:"transparent",border:"none",color:S,cursor:"none"},children:[s?n.jsx(Nr,{}):n.jsx(Lr,{}),n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.22em]",style:{fontSize:11},children:s?"Light Mode":"Dark Mode"})]})]}),n.jsx("p",{className:"absolute bottom-8 font-['JetBrains_Mono'] text-[11px] uppercase tracking-[0.3em]",style:{color:s?"rgba(255,255,255,0.2)":"rgba(26,18,0,0.2)"},children:"STRITE.AI · AI Strategy Engine"})]})]})}const qt="#FF5C1A";function Qc({activePage:e}){const{isSignedIn:t}=Pn(),{isDark:r}=ze(),o=r?"#0D0200":"#ffffff",s=r?"rgba(255,255,255,0.45)":"rgba(26,5,0,0.52)",i=r?"rgba(255,255,255,0.20)":"rgba(26,5,0,0.22)",a=r?"rgba(255,255,255,0.28)":"rgba(26,5,0,0.30)",c=r?"rgba(255,255,255,0.08)":"rgba(26,5,0,0.08)",d=r?"#fff":"#1A0500",u=r?"#fff":"#1A0500";function f({label:g}){return n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontWeight:700,fontSize:12,textTransform:"uppercase",letterSpacing:"0.22em",color:qt,marginBottom:20,lineHeight:1},children:g})}function l({label:g,href:h,external:x}){const w={fontFamily:"'JetBrains Mono', monospace",fontSize:15,fontWeight:400,color:s,textDecoration:"none",display:"block",lineHeight:1,cursor:"pointer",transition:"color 0.15s"},y=S=>{S.currentTarget.style.color=u},m=S=>{S.currentTarget.style.color=s};return x?n.jsx("a",{href:h,target:"_blank",rel:"noopener noreferrer",style:w,onMouseEnter:y,onMouseLeave:m,children:g}):n.jsx(Ce,{href:h,children:n.jsx("span",{style:w,onMouseEnter:y,onMouseLeave:m,children:g})})}return n.jsxs("footer",{style:{background:o},children:[n.jsxs("div",{className:"footer-main-body",style:{maxWidth:1200,margin:"0 auto",padding:"80px 48px 100px",display:"flex",flexDirection:"row",gap:80,al
28ignItems:"flex-start"},children:[n.jsxs("div",{className:"footer-brand-col",style:{flex:"0 0 280px",display:"flex",flexDirection:"column",gap:20},children:[n.jsx(Ce,{href:"/",children:n.jsx("img",{src:"/strite-logo.png",alt:"Strite.ai",style:{height:22,width:"auto",cursor:"pointer",display:"block",filter:r?"none":"brightness(0)"}})}),n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:14,lineHeight:1.7,color:s,margin:0},children:"Strite.ai is the AI-powered engine for creative strategy. Paste a brief, get a full 16-card strategy deck in 90 seconds â ready to pitch to any client in the world."}),n.jsx("div",{style:{display:"flex",gap:18,alignItems:"center",marginTop:4},children:[{label:"X",href:"https://x.com/striteai"},{label:"IG",href:"https://instagram.com/strite.ai"},{label:"LI",href:"https://linkedin.com/company/strite-ai"}].map(g=>n.jsx("a",{href:g.href,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"'JetBrains Mono', monospace",fontWeight:700,fontSize:13,color:s,textDecoration:"none",transition:"color 0.15s"},onMouseEnter:h=>{h.currentTarget.style.color=qt},onMouseLeave:h=>{h.currentTarget.style.color=s},children:g.label},g.label))})]}),n.jsxs("div",{className:"footer-links-grid",style:{flex:1,display:"grid",gridTemplateColumns:"repeat(5, 1fr)",gap:40,alignItems:"start"},children:[n.jsxs("div",{children:[n.jsx(f,{label:"Product"}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[n.jsx(l,{label:"How It Works",href:"/#how-it-works"}),n.jsx(l,{label:"Pricing",href:"/#pricing"}),n.jsx(l,{label:"ChatGPT Plugin",href:"https://chatgpt.com/g/g-6a1aa85ead50819195b172807dff71d3-strite-ai-creative-strategy",external:!0}),n.jsx(l,{label:"Contact",href:"/contact"}),!t&&n.jsxs(n.Fragment,{children:[n.jsx(l,{label:"Sign In",href:"/sign-in"}),n.jsx(l,{label:"Start Free",href:"/sign-up"})]})]})]}),n.jsxs("div",{children:[n.jsx(f,{label:"Use Cases"}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[n.jsx(l,{label:"Founders",href:"/use-cases/founders"}),n.jsx(l,{label:"Freelancers",href:"/use-cases/freelance-strategists"}),n.jsx(l,{label:"Agencies",href:"/use-cases/agencies"}),n.jsx(l,{label:"In-house Marketing",href:"/use-cases/marketing"}),n.jsx(l,{label:"Creative Directors",href:"/use-cases/creative-directors"}),n.jsx(l,{label:"PR Teams",href:"/use-cases/pr"}),n.jsx(l,{label:"Designers",href:"/use-cases/designers"})]})]}),n.jsxs("div",{children:[n.jsx(f,{label:"Disciplines"}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[n.jsx(l,{label:"Brand Experience",href:"/discipline/brand-experience"}),n.jsx(l,{label:"Marketing",href:"/discipline/marketing"}),n.jsx(l,{label:"PR",href:"/discipline/pr"}),n.jsx(l,{label:"Audio Ads",href:"/discipline/audio-ads"}),n.jsx(l,{label:"TVC",href:"/discipline/tvc"}),n.jsx(l,{label:"Design",href:"/discipline/design"})]})]}),n.jsxs("div",{children:[n.jsx(f,{label:"Legal"}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[n.jsx(l,{label:"Privacy Policy",href:"/privacy"}),n.jsx(l,{label:"Terms of Service",href:"/terms"}),n.jsx(l,{label:"Security",href:"/security"}),n.jsx(l,{label:"Cookies",href:"/cookies"}),n.jsx(l,{label:"EULA",href:"/eula"}),n.jsx(l,{label:"Disclaimer",href:"/disclaimer"}),n.jsx(l,{label:"Acceptable Use",href:"/acceptable-use"}),n.jsx(l,{label:"Refund Policy",href:"/refund-policy"})]})]}),n.jsxs("div",{children:[n.jsx(f,{label:"Connect"}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[n.jsx(l,{label:"Instagram",href:"https://instagram.com/strite.ai",external:!0}),n.jsx(l,{label:"LinkedIn",href:"https://linkedin.com/company/strite-ai",external:!0}),n.jsx(l,{label:"Twitter / X",href:"https://x.com/striteai",external:!0})]})]})]})]}),n.jsxs("div",{className:"footer-bottom-bar",style:{borderTop:`1px solid ${c}`,maxWidth:1200,margin:"0 auto",padding:"28px 48px",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:16},children:[n.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"6px 20px"},children:[{label:"Privacy",href:"/privacy",key:"privacy"},{label:"Terms",href:"/terms",key:"terms"},{label:"Security",href:"/security",key:"security"},{label:"Cookies",href:"/cookies",key:"cookies"},{label:"EULA",href:"/eula",key:"eula"},{label:"Disclaimer",href:"/disclaimer",key:"disclaimer"},{label:"Acceptable Use",href:"/acceptable-use",key:"acceptable-use"},{label:"Refund Policy",href:"/refund-policy",key:"refund-policy"}].map(({label:g,href:h,key:x})=>n.jsx(Ce,{href:h,children:n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:11,textTransform:"uppercase",letterSpacing:"0.14em",color:e===x?qt:a,cursor:"pointer",transition:"color 0.15s"},onMouseEnter:w=>{w.currentTarget.style.color=d},onMouseLeave:w=>{w.currentTarget.style.color=e===x?qt:a},children:g})},g))}),n.jsx("p",{className:"footer-copyright",style:{fontFamily:"'JetBrains Mono', monospace",fontSize:11,textTransform:"uppercase",letterSpacing:"0.14em",color:i,margin:0,whiteSpace:"nowrap"},children:"© 2026 Strite.ai. All rights reserved."})]})]})}function Zc({data:e}){return n.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}})}function ed(){return null}const dt=(e,t=48)=>{const r=({style:o})=>n.jsx("img",{src:`/logos/${e}.svg`,alt:e,draggable:!1,style:{height:t,width:"auto",display:"block",userSelect:"none",...o}});return r.displayName=e,r},td=dt("adidas",88),nd=dt("apple",80),rd=dt("bmw",88),od=dt("cocacola",70),sd=dt("fedex",64),id=dt("ferrari",88),ad=dt("nike",60),ld=dt("volkswagen",88),_r=[{id:"adidas",logo:td},{id:"apple",logo:nd},{id:"bmw",logo:rd}
28,{id:"cocacola",logo:od},{id:"fedex",logo:sd},{id:"ferrari",logo:id},{id:"nike",logo:ad},{id:"volkswagen",logo:ld}],cd=new Set([204,205,304]),dd="application/json, application/problem+json";function cs(e){return typeof Request<"u"&&e instanceof Request}function ud(e,t){return t?t.toUpperCase():cs(e)?e.method.toUpperCase():"GET"}function pd(e){return typeof URL<"u"&&e instanceof URL}function fd(e){return typeof e=="string"?e:pd(e)?e.toString():e.url}function gd(...e){const t=new Headers;for(const r of e)r&&new Headers(r).forEach((o,s)=>{t.set(s,o)});return t}function ds(e){const t=e.get("content-type");return t?t.split(";",1)[0].trim().toLowerCase():null}function An(e){return e==="application/json"||!!e?.endsWith("+json")}function us(e){return!!(e&&(e.startsWith("text/")||e==="application/xml"||e==="text/xml"||e.endsWith("+xml")||e==="application/x-www-form-urlencoded"))}function ps(e,t){return!!(t==="HEAD"||cd.has(e.status)||e.headers.get("content-length")==="0"||e.body===null)}function fs(e){return e.charCodeAt(0)===65279?e.slice(1):e}function gs(e){const t=e.trimStart();return t.startsWith("{")||t.startsWith("[")}function Pt(e,t){if(!e||typeof e!="object")return;const r=e[t];if(typeof r!="string")return;const o=r.trim();return o===""?void 0:o}function md(e,t=300){return e.length>t?`${e.slice(0,t-1)}â¦`:e}function hd(e,t){const r=`HTTP ${e.status} ${e.statusText}`;if(typeof t=="string"){const a=t.trim();return a?`${r}: ${md(a)}`:r}const o=Pt(t,"title"),s=Pt(t,"detail"),i=Pt(t,"message")??Pt(t,"error_description")??Pt(t,"error");return o&&s?`${r}: ${o} â ${s}`:s?`${r}: ${s}`:i?`${r}: ${i}`:o?`${r}: ${o}`:r}class xd extends Error{name="ApiError";status;statusText;data;headers;response;method;url;constructor(t,r,o){super(hd(t,r)),Object.setPrototypeOf(this,new.target.prototype),this.status=t.status,this.statusText=t.statusText,this.data=r,this.headers=t.headers,this.response=t,this.method=o.method,this.url=t.url||o.url}}class yd extends Error{name="ResponseParseError";status;statusText;headers;response;method;url;rawBody;cause;constructor(t,r,o,s){super(`Failed to parse response from ${s.method} ${t.url||s.url} (${t.status} ${t.statusText}) as JSON`),Object.setPrototypeOf(this,new.target.prototype),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers,this.response=t,this.method=s.method,this.url=t.url||s.url,this.rawBody=r,this.cause=o}}async function bd(e,t){const r=await e.text(),o=fs(r);if(o.trim()==="")return null;try{return JSON.parse(o)}catch(s){throw new yd(e,r,s,t)}}async function vd(e,t){if(ps(e,t))return null;const r=ds(e.headers);if(r&&!An(r)&&!us(r))return typeof e.blob=="function"?e.blob():e.text();const o=await e.text(),s=fs(o);if(s.trim()==="")return null;if(An(r)||gs(s))try{return JSON.parse(s)}catch{return o}return o}function wd(e){const t=ds(e.headers);return An(t)?"json":us(t)||t==null?"text":"blob"}async function kd(e,t,r){if(ps(e,r.method))return null;switch(t==="auto"?wd(e):t){case"json":return bd(e,r);case"text":{const s=await e.text();return s===""?null:s}case"blob":if(typeof e.blob!="function")throw new TypeError('Blob responses are not supported in this runtime. Use responseType "json" or "text" instead.');return e.blob()}}async function Te(e,t={}){e=e;const{responseType:r="auto",headers:o,...s}=t,i=ud(e,s.method);if(s.body!=null&&(i==="GET"||i==="HEAD"))throw new TypeError(`customFetch: ${i} requests cannot have a body.`);const a=gd(cs(e)?e.headers:void 0,o);typeof s.body=="string"&&!a.has("content-type")&&gs(s.body)&&a.set("content-type","application/json"),r==="json"&&!a.has("accept")&&a.set("accept",dd);const c={method:i,url:fd(e)},d=await fetch(e,{...s,method:i,headers:a});if(!d.ok){const u=await vd(d,i);throw new xd(d,u,c)}return await kd(d,r,c)}const Sd=e=>{const t=new URLSearchParams;Object.entries(e||{}).forEach(([o,s])=>{s!==void 0&&t.append(o,s===null?"null":s.toString())});const r=t.toString();return r.length>0?`/api/strategies?${r}`:"/api/strategies"},jd=async(e,t)=>Te(Sd(e),{...t,method:"GET"}),Ed=e=>["/api/strategies",...e?[e]:[]],Cd=(e,t)=>{const{query:r,request:o}=t??{};return{queryKey:r?.queryKey??Ed(e),queryFn:({signal:a})=>jd(e,{signal:a,...o}),...r}};function wp(e,t){const r=Cd(e,t);return{...Mn(r),queryKey:r.queryKey}}const Td=()=>"/api/strategies",Rd=async(e,t)=>Te(Td(),{...t,method:"POST",headers:{"Content-Type":"application/json",...t?.headers},body:JSON.stringify(e)}),Ad=e=>{const t=["createStrategy"],{mutation:r,request:o}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:{...e,mutation:{...e.mutation,mutationKey:t}}:{mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{data:a}=i??{};return Rd(a,o)},...r}},kp=e=>De(Ad(e)),Id=e=>`/api/strategies/${e}`,Pd=async(e,t)=>Te(Id(e),{...t,method:"GET"}),Od=e=>[`/api/strategies/${e}`],Md=(e,t)=>{const{query:r,request:o}=t??{};return{queryKey:r?.queryKey??Od(e),queryFn:({signal:a})=>Pd(e,{signal:a,...o}),enabled:!!e,...r}};function Sp(e,t){const r=Md(e,t);return{...Mn(r),queryKey:r.queryKey}}const Fd=e=>`/api/strategies/${e}`,Nd=async(e,t)=>Te(Fd(e),{...t,method:"DELETE"}),Ld=e=>{const t=["deleteStrategy"],{mutation:r,request:o}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:{...e,mutation:{...e.mutation,mutationKey:t}}:{mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a}=i??{};return Nd(a,o)},...r}},jp=e=>De(Ld(e)),_d=e=>`/api/strategies/${e}/regenerate`,Bd=async(e,t,r)=>Te(_d(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),Dd=e=>{const t=["regenerateStrategy"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return Bd(a,c,o)},...r}},Ep=e=>De(Dd()),zd=e=>`/api/strategies/${e}/generate-video`,Wd=async(e,t,r)=>Te(zd(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),$d=e=>{const t=["generateStrategyVideo"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return Wd(a,c,o)},...r}},Cp=e=>De($d()),Hd=e=>`/api/strategies/${e}/upscale-image`,Ud=async(e,t,r)=>Te(Hd(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),qd=e=>{const t=["upscaleImage"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return Ud(a,c,o)},...r}},Tp=e=>De(qd()),Vd=e=>`/api/strategies/${e}/regenerate-image`,Jd=async(e,t,r)=>Te(Vd(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),Gd=e=>{const t=["regenerateImage"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return Jd(a,c,o)},...r}},Rp=e=>De(Gd()),Yd=e=>`/api/strategies/${e}/regenerate-cards`,Kd=async(e,t,r)=>Te(Yd(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),Xd=e=>{const t=["regenerateCards"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return Kd(a,c,o)},...r}},Ap=e=>De(Xd()),Qd=e=>`/api/strategies/${e}/revert-card`,Zd=async(e,t,r)=>Te(Qd(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),eu=e=>{const t=["revertCard"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return Zd(a,c,o)},...r}},Ip=e=>De(eu()),tu=e=>`/api/strategies/${e}/edit-field`,nu=async(e,t,r)=>Te(tu(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),ru=e=>{const t=["editStrategyField"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return nu(a,c,o)},...r}},Pp=e=>De(ru()),ou=e=>`/api/strategies/${e}/undo-edit`,su=async(e,t,r)=>Te(ou(e),{...r,method:"POST",headers:{"Content-Type":"application/json",...r?.headers},body:JSON.stringify(t)}),iu=e=>{const t=["undoStrategyFieldEdit"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:i=>{const{id:a,data:c}=i??{};return su(a,c,o)},...r}},Op=e=>De(iu()),au=e=>{const t=new URLSearchParams;Object.entries(e||{}
28).forEach(([o,s])=>{s!==void 0&&t.append(o,s===null?"null":s.toString())});const r=t.toString();return r.length>0?`/api/users/usage?${r}`:"/api/users/usage"},lu=async(e,t)=>Te(au(e),{...t,method:"GET"}),ms=e=>["/api/users/usage",...e?[e]:[]],cu=(e,t)=>{const{query:r,request:o}=t??{};return{queryKey:r?.queryKey??ms(e),queryFn:({signal:a})=>lu(e,{signal:a,...o}),...r}};function du(e,t){const r=cu(e,t);return{...Mn(r),queryKey:r.queryKey}}const uu=()=>"/api/users/onboarding-seen",pu=async e=>Te(uu(),{...e,method:"PATCH"}),fu=e=>{const t=["markOnboardingSeen"],{mutation:r,request:o}={mutation:{mutationKey:t},request:void 0};return{mutationFn:()=>pu(o),...r}},Mp=e=>De(fu());let Vt=null;function hs(){return Vt||(Vt=fetch("/api/dodo/products",{credentials:"include"}).then(e=>e.json()).catch(()=>(Vt=null,{subscriptions:{},creditPacks:[]}))),Vt}const In="strite_pending_checkout";function gu(e,t){localStorage.setItem(In,JSON.stringify({dodoKey:e,billing:t}))}function Fp(){const e=localStorage.getItem(In);if(!e)return null;localStorage.removeItem(In);try{return JSON.parse(e)}catch{return null}}async function xs(e,t,r,o,s){const a=await(await fetch("/api/dodo/checkout",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({productId:e,userId:s,email:o,successUrl:t,cancelUrl:r})})).json();a.checkoutUrl&&(window.location.href=a.checkoutUrl)}async function Br(e,t,r,o){const{subscriptions:s}=await hs(),i=s[e]?.[t];if(!i)return;const a=`${window.location.origin}/dashboard?checkout=success`,c=`${window.location.origin}/pricing`;await xs(i,a,c,r,o)}async function Np(e,t,r){const o=`${window.location.origin}/tokens?checkout=success`,s=`${window.location.origin}/tokens`;await xs(e,o,s,t,r)}const xe="#FF5C1A",Dr=[{tier:"Free",tagline:"Dip your toes in. No card needed.",tag:null,highlight:!1,enterprise:!1,monthlyPrice:0,annualTotal:0,freeForever:!0,inheritsFrom:null,baseFeatures:["55,000 Studio Credits / month","Full 16-card output","All 6 disciplines","Brief upload","Standard generation speed","Watermark on output"],addedFeatures:[],cta:"Start for Free",href:"/sign-up",external:!1,dodoKey:null},{tier:"Starter",tagline:"For strategists getting serious.",tag:null,highlight:!1,enterprise:!1,monthlyPrice:19,annualTotal:192,freeForever:!1,inheritsFrom:"Free",baseFeatures:[],addedFeatures:["110,000 Studio Credits / month","PPT export","Unlimited strategy history","No watermark","AI image generation","Image upscaling","AI video generation"],cta:"Get Starter",href:"/sign-up",external:!1,dodoKey:"starter"},{tier:"Creator",tagline:"For strategists who mean business.",tag:"MOST POPULAR",highlight:!0,enterprise:!1,monthlyPrice:49,annualTotal:499,freeForever:!1,inheritsFrom:"Starter",baseFeatures:[],addedFeatures:["300,000 Studio Credits / month","API + MCP access","Priority generation"],cta:"Go Creator",href:"/sign-up",external:!1,dodoKey:"creator"},{tier:"Pro",tagline:"For those who do this for a living.",tag:null,highlight:!1,enterprise:!1,monthlyPrice:99,annualTotal:999,freeForever:!1,inheritsFrom:"Creator",baseFeatures:[],addedFeatures:["750,000 Studio Credits / month","Early access to new features"],cta:"Go Pro",href:"/sign-up",external:!1,dodoKey:"pro"}],zr="LAUNCH30";function mu(){const{isDark:e}=ze(),t=i=>e?`rgba(255,255,255,${i})`:`rgba(26,5,0,${i})`,[r,o]=p.useState(!1),s=p.useCallback(()=>{navigator.clipboard.writeText(zr).then(()=>{o(!0),setTimeout(()=>o(!1),2500)}).catch(()=>{o(!0),setTimeout(()=>o(!1),2500)})},[]);return n.jsx("div",{className:"flex justify-center mb-10 px-2",children:n.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3 px-5 py-3 rounded-xl w-full sm:w-auto",style:{background:e?"rgba(255,255,255,0.04)":"rgba(26,5,0,0.04)",border:`1px solid ${t(.1)}`,maxWidth:640},children:[n.jsxs("div",{className:"flex items-center gap-2.5 flex-wrap justify-center",children:[n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.16em] text-center",style:{fontSize:11,color:t(.8)},children:"30% off â use code"}),n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.18em] px-2.5 py-1 rounded-lg",style:{fontSize:12,color:"#FF5C1A",background:"rgba(255,92,26,0.10)",border:"1px solid rgba(255,92,26,0.28)",fontWeight:700},children:zr})]}),n.jsx("div",{className:"hidden sm:block",style:{width:1,height:16,background:t(.12),flexShrink:0}}),n.jsx("div",{className:"block sm:hidden w-full",style:{height:1,background:t(.08)}}),n.jsx("button",{onClick:s,className:"flex items-center gap-2 px-4 py-2 rounded-lg font-['JetBrains_Mono'] uppercase tracking-[0.18em] transition-all duration-200 w-full sm:w-auto justify-center",style:{fontSize:11,background:r?"rgba(34,197,94,0.18)":"rgba(34,197,94,0.13)",border:`1px solid ${r?"rgba(34,197,94,0.60)":"rgba(34,197,94,0.38)"}`,color:r?"#4ade80":"#6ee7b7",cursor:"pointer",boxShadow:r?"0 0 16px rgba(34,197,94,0.20)":"none"},children:r?"â Copied!":"Copy code"})]})})}function hu({highlightStrategist:e=!1,billingOverride:t,onBillingChange:r}){const{isDark:o}=ze(),s=v=>o?`rgba(255,255,255,${v})`:`rgba(26,5,0,${v})`,[i,a]=p.useState("annual"),c=t??i,d=v=>{a(v),r?.(v)},{user:u,isSignedIn:f}=On(),[,l]=Ft(),{data:g,isLoading:h}=du({userId:u?.id??""},{query:{enabled:f&&!!u?.id,queryKey:ms({userId:u?.id??""})}}),x=g?.plan??(f?"free":null),w=p.useRef(null),[y,m]=p.useState(null);p.useEffect(()=>{if(!e)return;const v=w.current;if(!v)return;const W=setTimeout(()=>{v.scrollIntoView({behavior:"smooth",block:"center"}),v.style.transition="box-shadow 0.3s ease",v.style.boxShadow="0 0 0 2px #FF5C1A, 0 0 40px rgba(255,92,26,0.55), 0 0 80px rgba(255,92,26,0.25)";const D=setTimeout(()=>{v.style.boxShadow=""},2e3);return()=>clearTimeout(D)},400);return()=>clearTimeout(W)}
28,[e]);const S=v=>v==="starter"||v==="creator"||v==="pro",E=f&&S(x),I=Object.fromEntries(Dr.filter(v=>v.dodoKey&&!v.freeForever).map(v=>[v.dodoKey,{label:v.tier,monthly:`$${v.monthlyPrice}`,annual:`$${Math.floor(v.annualTotal/12)}`}])),B=async v=>{if(!v)return;if(!f){gu(v,c),l("/sign-in");return}let W=E;if(!x||x==="free")try{const D=await fetch(`/api/users/usage?userId=${encodeURIComponent(u?.id??"")}`,{credentials:"include"});if(D.ok){const T=await D.json();W=S(T.plan??"free")}}catch{}if(W){const{label:D,monthly:T,annual:L}=I[v];m({dodoKey:v,planLabel:D,price:c==="annual"?L:T,confirming:!1});return}await Br(v,c,u?.primaryEmailAddress?.emailAddress,u?.id??"")},P=async()=>{if(!y)return;const{dodoKey:v,planLabel:W}=y;m(T=>T?{...T,confirming:!0}:null);const D=bt.loading("Upgrading your planâ¦");try{const{subscriptions:T}=await hs(),L=T[v]?.[c],F=await fetch("/api/dodo/upgrade",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({newProductId:L})}),N=await F.json();if(bt.dismiss(D),m(null),!F.ok||!N.success){bt.error(N.error==="no_subscription"?"No active subscription found. Please contact support.":"Upgrade failed. Please try again or contact support."),N.error==="no_subscription"&&await Br(v,c,u?.primaryEmailAddress?.emailAddress,u?.id??"");return}bt.success(`Your plan has been upgraded to ${W}.`)}catch{bt.dismiss(D),m(T=>T?{...T,confirming:!1}:null),bt.error("Something went wrong. Please try again.")}},A=o?"rgba(255,255,255,0.035)":"#f7f4f2",j=o?"rgba(255,255,255,0.08)":"rgba(26,5,0,0.10)",V=o?"rgba(20,4,0,0.95)":"#ffffff",C=o?"#ffffff":"#1A0500";return n.jsxs("div",{className:"w-full",children:[n.jsx(mu,{}),n.jsxs("div",{className:"flex items-center justify-center gap-4 mb-14",children:[n.jsx("div",{className:"flex items-center p-1.5 rounded-full",style:{background:o?"rgba(255,255,255,0.06)":"rgba(26,5,0,0.06)",border:`1px solid ${s(.1)}`}
28,children:["monthly","annual"].map(v=>n.jsx("button",{onClick:()=>d(v),className:"relative flex items-center px-8 py-3 rounded-full font-['JetBrains_Mono'] uppercase transition-all duration-300",style:{fontSize:13,letterSpacing:"0.2em",background:c===v?xe:"transparent",color:c===v?"#fff":s(.45),cursor:"pointer"},children:v==="monthly"?"Monthly":"Annual"},v))}),c==="annual"&&n.jsx("span",{className:"font-['JetBrains_Mono'] text-[11px] uppercase tracking-[0.12em] px-3 py-1.5 rounded-full",style:{background:"rgba(34,197,94,0.15)",color:"#4ade80",border:"1px solid rgba(34,197,94,0.3)"},children:"Save 15% with annual billing"})]}),n.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-5 text-left items-start",children:Dr.map(v=>{const W=v.monthlyPrice,D=v.annualTotal!=null?Math.floor(v.annualTotal/12):null,T=v.monthlyPrice!=null&&v.annualTotal!=null?v.monthlyPrice*12-v.annualTotal:null,L=N=>(v.highlight,s(N)),F=()=>{if(v.external){window.location.href=v.href;return}if(v.dodoKey){if(f&&h)return;window.plausible?.("Pricing Click",{props:{plan:v.tier}}),B(v.dodoKey)}};return n.jsx("div",{ref:v.tier==="Creator"?w:void 0,className:"pricing-card relative flex flex-col rounded-2xl transition-all duration-300",style:{padding:v.highlight?"2px":void 0,background:v.highlight?`linear-gradient(135deg, ${xe}80, rgba(255,45,0,0.4) 50%, rgba(255,92,26,0.2))`:void 0,borderRadius:v.highlight?18:void 0},children:n.jsxs("div",{className:"flex flex-col flex-1 rounded-2xl",style:{padding:"28px",background:v.enterprise?"rgba(4,1,0,0.8)":v.highlight?V:A,border:v.highlight?"none":`1px solid ${v.enterprise?s(.06):j}`,borderTop:v.enterprise?"2px solid #FF5C1A":void 0,backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)"},children:[v.tag&&n.jsx("div",{className:"absolute -top-3.5 left-1/2 -translate-x-1/2 z-10",children:n.jsx("span",{className:"font-['JetBrains_Mono'] text-[9px] uppercase tracking-[0.3em] px-4 py-1.5 rounded-full whitespace-nowrap",style:{background:xe,color:"#fff"},children:v.tag})}),n.jsx("p",{className:"font-['JetBrains_Mono'] text-[10px] uppercase tracking-[0.32em] mb-2",style:{color:v.highlight?xe:s(.38)},children:v.tier}),n.jsx("p",{className:"font-['JetBrains_Mono'] text-[13px] leading-snug mb-6",style:{color:L(.5)},children:v.tagline}),v.freeForever?n.jsxs("div",{className:"mb-6",children:[n.jsx("p",{className:"font-['JetBrains_Mono'] font-bold uppercase leading-none mb-1",style:{fontSize:"clamp(34px,3vw,48px)",color:s(.9)},children:"Free"}),n.jsx("p",{className:"font-['JetBrains_Mono'] text-[11px] uppercase tracking-[0.15em]",style:{color:L(.32)},children:"Forever. No credit card."})]}):n.jsxs("div",{className:"mb-6",children:[c==="annual"?n.jsxs("div",{className:"flex items-start gap-3 mb-1",children:[n.jsxs("div",{children:[n.jsx("div",{className:"flex items-baseline gap-1",children:n.jsxs("span",{className:"font-['JetBrains_Mono'] line-through",style:{fontSize:18,color:L(.25),textDecorationColor:"rgba(255,92,26,0.5)"},children:["$",W]})}),n.jsxs("div",{className:"flex items-baseline gap-1.5",children:[n.jsxs("span",{className:"font-['JetBrains_Mono'] font-bold leading-none",style:{fontSize:"clamp(34px,3vw,48px)",color:s(.9)},children:["$",D]}),n.jsx("span",{className:"font-['JetBrains_Mono'] text-[12px] uppercase tracking-[0.12em]",style:{color:L(.4)},children:"/mo"})]})]}),T!=null&&T>0&&n.jsxs("span",{className:"font-['JetBrains_Mono'] text-[10px] uppercase tracking-[0.1em] px-2 py-1 rounded-lg mt-1 whitespace-nowrap",style:{background:"rgba(34,197,94,0.15)",color:"#4ade80",border:"1px solid rgba(34,197,94,0.3)"},children:["Save $",T]})]}):n.jsxs("div",{className:"flex items-baseline gap-1.5 mb-1",children:[n.jsxs("span",{className:"font-['JetBrains_Mono'] font-bold leading-none",style:{fontSize:"clamp(34px,3vw,48px)",color:s(.9)},children:["$",W]}),n.jsx("span",{className:"font-['JetBrains_Mono'] text-[12px] uppercase tracking-[0.12em]",style:{color:L(.4)},children:"/mo"})]}),n.jsx("p",{className:"font-['JetBrains_Mono'] text-[11px] uppercase tracking-[0.13em]",style:{color:L(.3)},children:c==="annual"?"Billed annually":"Billed monthly"})]}),n.jsx("div",{className:"mb-5",style:{height:1,background:v.highlight?"rgba(255,92,26,0.25)":s(.08)}}),n.jsxs("ul",{className:"flex flex-col gap-2.5 flex-1 mb-8",children:[v.inheritsFrom&&n.jsxs("li",{className:"font-['JetBrains_Mono'] text-[11px] uppercase tracking-[0.15em] mb-1",style:{color:v.highlight?`${xe}cc`:s(.32)},children:["Everything in ",v.inheritsFrom,", plus:"]}),(v.baseFeatures.length>0?v.baseFeatures:v.addedFeatures).map(N=>n.jsxs("li",{className:"flex items-start gap-2.5",children:[n.jsx("span",{className:"shrink-0 mt-0.5 font-['JetBrains_Mono'] text-[13px]",style:{color:xe},children:"â¦"}),n.jsx("span",{className:"font-['JetBrains_Mono'] leading-snug",style:{fontSize:13,color:L(.65)},children:N})]},N))]}),v.tier.toLowerCase()===x?n.jsx("div",{className:"w-full font-['JetBrains_Mono'] uppercase tracking-[0.18em] py-3.5 text-center rounded-lg",style:{fontSize:11,color:s(.38),background:o?"rgba(255,255,255,0.04)":"rgba(26,5,0,0.04)",border:`1px solid ${s(.
281)}`},children:"Current Plan"}):v.dodoKey?n.jsx("button",{onClick:F,className:"w-full font-['JetBrains_Mono'] font-bold uppercase tracking-wide py-3.5 transition-all duration-300",style:{fontSize:12,letterSpacing:"0.18em",background:v.highlight?xe:"transparent",border:`1px solid ${v.highlight?xe:s(.22)}`,color:v.highlight?"#fff":s(.8),borderRadius:8,cursor:"pointer",boxShadow:v.highlight?"0 0 30px rgba(255,92,26,0.3)":"none"},onMouseEnter:N=>{const O=N.currentTarget;v.highlight?(O.style.background="#FF2D00",O.style.boxShadow="0 0 50px rgba(255,92,26,0.55)"):(O.style.borderColor=xe,O.style.color=xe)},onMouseLeave:N=>{const O=N.currentTarget;v.highlight?(O.style.background=xe,O.style.boxShadow="0 0 30px rgba(255,92,26,0.3)"):(O.style.borderColor=s(.22),O.style.color=s(.8))},children:v.cta}):v.external?n.jsx("a",{href:v.href,children:n.jsx("button",{className:"w-full font-['JetBrains_Mono'] font-bold uppercase tracking-wide py-3.5 transition-all duration-300",style:{fontSize:12,letterSpacing:"0.18em",background:xe,border:`1px solid ${xe}`,color:"#fff",borderRadius:8,cursor:"pointer",boxShadow:"0 0 30px rgba(255,92,26,0.3)"},onMouseEnter:N=>{const O=N.currentTarget;O.style.background="#FF2D00",O.style.borderColor="#FF2D00",O.style.boxShadow="0 0 50px rgba(255,92,26,0.55)"},onMouseLeave:N=>{const O=N.currentTarget;O.style.background=xe,O.style.borderColor=xe,O.style.boxShadow="0 0 30px rgba(255,92,26,0.3)"},children:v.cta})}):n.jsx(Ce,{href:v.href,children:n.jsx("button",{className:"w-full font-['JetBrains_Mono'] font-bold uppercase tracking-wide py-3.5 transition-all duration-300",style:{fontSize:12,letterSpacing:"0.18em",background:"transparent",border:`1px solid ${s(.22)}`,color:s(.8),borderRadius:8,cursor:"pointer"},onMouseEnter:N=>{const O=N.currentTarget;O.style.borderColor=xe,O.style.color=xe},onMouseLeave:N=>{const O=N.currentTarget;O.style.borderColor=s(.22),O.style.color=s(.8)},children:v.cta})})]})},v.tier)})}),n.jsx("p",{className:"font-['JetBrains_Mono'] text-center mt-12",style:{fontSize:13,color:s(.28),letterSpacing:"0.05em",fontStyle:"italic"},children:"The methodology is the same across every plan. The difference is how much you use it."}),y&&n.jsx("div",{className:"fixed inset-0 z-[200] flex items-center justify-center px-4",style:{background:"rgba(0,0,0,0.75)",backdropFilter:"blur(6px)"},onClick:v=>{v.target===v.currentTarget&&!y.confirming&&m(null)},children:n.jsxs("div",{className:"w-full max-w-md flex flex-col gap-6",style:{background:o?"#110300":"#ffffff",border:"1px solid rgba(255,92,26,0.25)",borderRadius:16,padding:"36px 32px 32px",boxShadow:"0 0 60px rgba(255,92,26,0.15), 0 24px 48px rgba(0,0,0,0.6)"},children:[n.jsx("div",{style:{height:2,background:"linear-gradient(to right, #FF5C1A, rgba(255,92,26,0.2))",borderRadius:1,marginBottom:-8}}),n.jsxs("h2",{className:"font-['JetBrains_Mono'] uppercase leading-none",style:{fontSize:"clamp(22px,4vw,30px)",letterSpacing:"0.02em",color:C},children:["Upgrade to"," ",n.jsx("span",{style:{color:xe},children:y.planLabel})]}),n.jsxs("p",{className:"font-['JetBrains_Mono']",style:{fontSize:14,color:s(.52),lineHeight:1.8},children:["You will be charged a prorated amount today for the remainder of your billing cycle, then"," ",n.jsxs("span",{style:{color:s(.85)},children:[y.price,"/month"]})," from your next billing date."]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mt-2",children:[n.jsx("button",{disabled:y.confirming,onClick:P,className:"flex-1 font-['JetBrains_Mono'] uppercase py-3.5 transition-all duration-200",style:{fontSize:13,letterSpacing:"0.12em",background:y.confirming?"rgba(255,92,26,0.5)":xe,color:"#fff",borderRadius:8,border:"none",cursor:y.confirming?"not-allowed":"pointer"},children:y.confirming?"Processingâ¦":"Confirm Upgrade"}),n.jsx("button",{disabled:y.confirming,onClick:()=>m(null),className:"flex-1 font-['JetBrains_Mono'] uppercase py-3.5 transition-all duration-200",style:{fontSize:13,letterSpacing:"0.12em",background:"transparent",color:s(.5),borderRadius:8,border:`1px solid ${s(.12)}`,cursor:y.confirming?"not-allowed":"pointer"},children:"Cancel"})]})]})})]})}const ys=()=>typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(hover: none), (pointer: coarse)").matches,Lp=()=>ys()&&typeof window<"u"&&Math.min(window.innerWidth,window.innerHeight)>=600,xu=p.lazy(()=>oe(()=>import("./ProcessScrollCanvas-C6by70FR.js"),__vite__mapDeps([0,1,2,3,4,5])).then(e=>({default:e.ProcessScrollCanvas}))),yu=p.lazy(()=>oe(()=>import("./StrategySandbox-T-WC0okx.js"),__vite__mapDeps([6,1,7,8,9,10,11,12,13,14,3,4,5,2]))),bu=p.lazy(()=>oe(()=>import("./TourSandbox-DcV58KG0.js"),__vite__mapDeps([15,1,16,3,4,5,2]))),vu=p.lazy(()=>oe(()=>import("./RhodeStrategyModal-LTlOs5m_.js"),__vite__mapDeps([17,1]))),Wr=ys;fe.registerPlugin(Yr);const G="#FF5C1A",wu="#FF2D00",Ge="#FF5C1A";function ku({containerRef:e,p1Ref:t,p2Ref:r,p3Ref:o}){const s=p.useRef(null);return p.useEffect(()=>{const i=s.current,a=e.current;if(!i||!a)return;const c=840;let d,u=null;const f=()=>{const x=a.getBoundingClientRect();i.width=x.width,i.height=x.height};f();const l=new ResizeObserver(f);l.observe(a);const g=()=>{const x=a.getBoundingClientRect(),w=t.current?.getBoundingClientRect(),y=r.current?.getBoundingClientRect(),m=o.current?.getBoundingClientRect();if(!w||!y||!m)return null;const S=P=>P.left-x.left,E=P=>P.right-x.left,I=P=>P.top-x.top+P.height/2,B=P=>P.left-x.left+P.width/2;return{ax:E(w),ay:I(w),bx:S(y),by:I(y),cx_:E(y),cy_:I(y),dx:S(m),dy:I(m),pills:[w,y,m].map(P=>({cx:B(P),cy:I(P),hw:P.width/2,hh:P.height/2})),seg1len:S(y)-E(w),seg2len:S(m)-E(y)}},h=x=>{u||(u=x);const w=(x-u)%c/c,y=g();if(!y){d=requestAnimationFrame(h);return}const m=i.getContext("2d");m.clearRect(0,0,i.width,i.height);const{ax:S,ay:E,bx:I,by:B,cx_:P,cy_:A,dx:j,dy:V}=y,C=y.seg1len+y.seg2len,v=y.seg1len/C,W=q=>{if(q<=v){const U=v>0?q/v:0;return{x:S+U*(I-S),y:E+U*(B-E)}}const K=v<1?(q-v)/(1-v):0;return{x:P+K*(j-P),y:A+K*(V-A)}};m.save(),m.strokeStyle="rgba(255,92,26,0.12)",m.lineWidth=1;const{x:D,y:T}=W(0),{x:L,y:F}=W(v),{x:N,y:O}=W(1);m.beginPath(),m.moveTo(D,T),m.lineTo(L,F),m.stroke(),m.beginPath(),m.moveTo(W(v+.001).x,W(v+.001).y),m.lineTo(N,O),m.stroke(),m.restore(
28);const _=w,k=Math.max(0,w-.22),se=W(_),me=W(k);m.save(),m.strokeStyle="#FF5C1A",m.lineWidth=2,m.lineCap="round",m.shadowBlur=10,m.shadowColor="#FF5C1A",m.beginPath(),m.moveTo(me.x,me.y),m.lineTo(se.x,se.y),m.stroke(),m.restore(),d=requestAnimationFrame(h)};return d=requestAnimationFrame(h),()=>{cancelAnimationFrame(d),l.disconnect()}},[]),n.jsx("canvas",{ref:s,style:{position:"absolute",inset:0,pointerEvents:"none",zIndex:2}})}const ot="'JetBrains Mono', monospace";function wt({text:e,active:t,speed:r=14,delay:o=0}){const[s,i]=p.useState(0);p.useEffect(()=>{if(!t){i(0);return}let c;const d=setTimeout(()=>{let u=0;c=setInterval(()=>{u++,i(u),u>=e.length&&clearInterval(c)},r)},o);return()=>{clearTimeout(d),clearInterval(c)}},[t]);const a=s>=e.length;return n.jsxs("span",{style:{display:"inline-grid",gridTemplateAreas:'"a"',width:"100%"},children:[n.jsx("span",{style:{gridArea:"a",visibility:"hidden"},"aria-hidden":!0,children:e}),n.jsxs("span",{style:{gridArea:"a"},children:[e.slice(0,s),t&&!a&&n.jsx("span",{style:{animation:"chatCursorBlink 0.65s step-end infinite"},children:"â"})]})]})}function Yt(){return n.jsx("img",{src:"/strite-app-icon.png",alt:"Strite.ai",style:{width:26,height:26,borderRadius:"50%",objectFit:"cover",flexShrink:0}})}function bn(){const{isDark:e}=ze();return n.jsx("p",{style:{fontFamily:ot,fontSize:9,color:e?"rgba(255,255,255,0.22)":"rgba(26,5,0,0.30)",letterSpacing:"0.06em",marginBottom:4,margin:"0 0 4px"},children:"Strite.ai GPT"})}function Jt(){const{isDark:e}=ze();return n.jsxs("div",{style:{display:"flex",gap:11,alignItems:"center"},children:[n.jsx(Yt,{}),n.jsx("div",{style:{display:"flex",gap:4,alignItems:"center"},children:[0,1,2].map(t=>n.jsx("span",{style:{width:5,height:5,borderRadius:"50%",display:"inline-block",background:e?"rgba(255,255,255,0.4)":"rgba(26,5,0,0.30)",animation:`chatBounce 1.1s ease-in-out ${t*.16}s infinite`}},t))})]})}function Su(){const{isDark:e}=ze(),t=h=>e?`rgba(255,255,255,${h})`:`rgba(26,5,0,${h})`,r=p.useRef(null),[o,s]=p.useState(!1),[i,a]=p.useState(0),[c,d]=p.useState(!1),[u,f]=p.useState(!1),l=14e3;p.useEffect(()=>{const h=r.current;if(!h)return;const x=new IntersectionObserver(([w])=>{w.isIntersecting&&(s(!0),x.disconnect())},{threshold:.25});return x.observe(h),()=>x.disconnect()},[]),p.useEffect(()=>{if(!o)return;const h=[{t:0,fn:()=>a(1)},{t:1600,fn:()=>d(!0)},{t:2800,fn:()=>{d(!1),a(2)}},{t:3400,fn:()=>d(!0)},{t:5e3,fn:()=>{d(!1),a(3)}},{t:6200,fn:()=>d(!0)},{t:7300,fn:()=>{d(!1),a(4)}},{t:9e3,fn:()=>d(!0)},{t:10100,fn:()=>{d(!1),a(5)}},{t:10900,fn:()=>f(!0)},{t:12900,fn:()=>a(6)},{t:l-200,fn:()=>{a(0),d(!1),f(!1)}}];let x=[];const w=()=>{x=h.map(({t:m,fn:S})=>setTimeout(S,m))};w();const y=setInterval(()=>{x.forEach(clearTimeout),x=[],w()},l);return()=>{clearInterval(y),x.forEach(clearTimeout)}},[o]);const g=h=>({opacity:i>=h?1:0,transform:i>=h?"translateY(0)":"translateY(10px)",transition:"opacity 0.4s ease, transform 0.4s ease",pointerEvents:"none"});return n.jsxs("div",{ref:r,style:{display:"flex",flexDirection:"column",gap:8,padding:"18px 20px"},children:[n.jsxs("div",{style:{display:"flex",gap:11,alignItems:"flex-start",...g(1)},children:[n.jsx(Yt,{}),n.jsxs("div",{children:[n.jsx(bn,{}),n.jsx("p",{style:{fontFamily:ot,fontSize:12,color:t(.76),lineHeight:1.65,margin:0}
28,children:n.jsx(wt,{text:"Welcome. I'm your Strite.ai creative strategy engine. To get started, please paste your API key.",active:i>=1,speed:14})})]})]}),n.jsx("div",{style:{height:26,opacity:0,overflow:"hidden",flexShrink:0},children:n.jsx(Jt,{})}),n.jsx("div",{style:{display:"flex",justifyContent:"flex-end",...g(2)},children:n.jsx("div",{style:{fontFamily:ot,fontSize:12,color:"#fff",background:"rgba(255,92,26,0.16)",border:"1px solid rgba(255,92,26,0.26)",maxWidth:"75%",borderRadius:8,padding:"9px 14px",wordBreak:"break-all",lineHeight:1.5},children:n.jsx(wt,{text:"sk-str-â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢â¢jQ9X",active:i>=2,speed:22})})}),n.jsx("div",{style:{height:26,opacity:c&&i===2?1:0,transition:"opacity 0.18s",overflow:"hidden",flexShrink:0},children:n.jsx(Jt,{})}),n.jsxs("div",{style:{display:"flex",gap:11,alignItems:"flex-start",...g(3)},children:[n.jsx(Yt,{}),n.jsxs("div",{children:[n.jsx(bn,{}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:6},children:[n.jsx("span",{style:{color:"#22c55e",fontSize:11},children:"â"}),n.jsx("span",{style:{fontFamily:ot,fontSize:11,color:"#22c55e"},children:n.jsx(wt,{text:"Key verified. Connected to Strite.",active:i>=3,speed:14})})]}),n.jsx("p",{style:{fontFamily:ot,fontSize:12,color:t(.76),lineHeight:1.65,margin:0},children:n.jsx(wt,{text:"What discipline are we working in today?",active:i>=3,speed:14,delay:676})})]})]}),n.jsx("div",{style:{height:26,opacity:0,overflow:"hidden",flexShrink:0},children:n.jsx(Jt,{})}),n.jsx("div",{style:{display:"flex",justifyContent:"flex-end",...g(4)},children:n.jsx("div",{style:{fontFamily:ot,fontSize:12,color:"#fff",background:"rgba(255,92,26,0.16)",border:"1px solid rgba(255,92,26,0.26)",maxWidth:"75%",borderRadius:8,padding:"9px 14px",lineHeight:1.5},children:n.jsx(wt,{text:"Brand experience. Nike â new running shoe, targeting Gen Z athletes.",active:i>=4,speed:22})})}),n.jsx("div",{style:{height:26,opacity:c&&i===4?1:0,transition:"opacity 0.18s",overflow:"hidden",flexShrink:0},children:n.jsx(Jt,{})}),n.jsxs("div",{style:{display:"flex",gap:11,alignItems:"flex-start",...g(5)},children:[n.jsx(Yt,{}),n.jsxs("div",{style:{flex:1},children:[n.jsx(bn,{}),n.jsx("p",{style:{fontFamily:ot,fontSize:12,color:t(.76),lineHeight:1.65,marginBottom:10},children:n.jsx(wt,{text:"Generating your 16-card strategy deck for Nike...",active:i>=5,speed:14})}),n.jsx("div",{style:{width:"100%",height:1,background:t(.08),marginBottom:10,overflow:"hidden"},children:n.jsx("div",{style:{height:"100%",width:u?"100%":"0%",background:"linear-gradient(to right, #FF5C1A, #FF2D00)",transition:u?"width 1.8s ease-in-out":"none"}})}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:7,padding:"9px 12px",background:"rgba(34,197,94,0.06)",border:"1px solid rgba(34,197,94,0.16)",borderRadius:6,...g(6)},children:[n.jsx("span",{style:{color:"#22c55e",fontSize:11},children:"â"}),n.jsx("span",{style:{fontFamily:ot,fontSize:10,color:"#22c55e",letterSpacing:"0.04em"},children:"16 cards generated â strategy is live in your Strite dashboard."})]})]})]})]})}function ju({phase:e}){const t="'JetBrains Mono', monospace",{isDark:r}=ze(),o=p.useRef(null),[s,i]=p.useState(!1),[a,c]=p.useState(0),u=[7200,9800,8e3][e];p.useEffect(()=>{const _=o.current;if(!_)return;const k=new IntersectionObserver(([se])=>{se.isIntersecting&&(i(!0),k.disconnect())},{threshold:.15});return k.observe(_),()=>k.disconnect()},[]),p.useEffect(()=>{if(!s)return;let _;const k=performance.now(),se=me=>{c((me-k)%u),_=requestAnimationFrame(se)};return _=requestAnimationFrame(se),()=>cancelAnimationFrame(_)},[s,u]);const f=(_,k=1/0)=>a>=_&&a<k,l=(_,k=350)=>({opacity:a>=_?Math.min(1,(a-_)/k):0}),g=(_,k=420)=>({opacity:a>=_?Math.min(1,(a-_)/k):0,transform:a>=_?`translateY(${Math.max(0,12*(1-(a-_)/k))}px)`:"translateY(12px)"}),x={width:"100%",height:"100%",background:r?"#130500":"#ffffff",overflow:"hidden",position:"relative",padding:"18px 18px 0",boxSizing:"border-box",display:"flex",flexDirection:"column",gap:10,opacity:1},w={background:r?"rgba(13,2,0,0.88)":"#f7f4f2",border:`1px solid ${r?"rgba(255,255,255,0.10)":"rgba(26,5,0,0.10)"}`,borderRadius:9},y={background:r?"rgba(13,2,0,0.88)":"#f7f4f2",border:"1px solid rgba(255,92,26,0.45)",borderRadius:10},m=_=>r?`rgba(255,255,255,${_})`:`rgba(26,5,0,${_})`,S={animation:"methBlink 0.7s step-start infinite",color:Ge};if(e===0){const _="Nike â reconnect Gen-Z runners who switched to authentic brands. Identity > performance.",me=Math.max(0,Math.min(_.length,Math.floor((a-500)/24))),q=f(500,500+_.length*24),K=f(2700,3e3),U=f(2900),X=a<3e3?0:Math.min(148,148*(a-3e3)/650);return n.jsxs("div",{ref:o,style:{...x,gap:0,padding:"18px 18px 0"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:12,flexShrink:0,...l(80)},children:[n.jsx("span",{style:{fontFamily:t,fontSize:11,letterSpacing:"0.16em",textTransform:"uppercase",color:m(.28)},children:"Brief Analysis"}),U&&n.jsx("span",{style:{marginLeft:"auto",fontFamily:t,fontSize:10,
28color:Ge,background:"rgba(255,92,26,0.12)",border:"1px solid rgba(255,92,26,0.3)",borderRadius:4,padding:"2px 8px",letterSpacing:"0.12em",animation:"methPulse 1.5s ease-in-out infinite"},children:"PARSING"})]}),n.jsx("div",{style:{flex:1,overflow:"hidden",position:"relative"},children:n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,transform:`translateY(-${X}px)`,transition:"transform 0ms"},children:[n.jsxs("div",{style:{...w,padding:"14px 16px",...g(180)},children:[n.jsx("div",{style:{fontFamily:t,fontSize:10,letterSpacing:"0.18em",textTransform:"uppercase",color:m(.28),marginBottom:8},children:"Brief"}),n.jsxs("div",{style:{fontFamily:t,fontSize:12,lineHeight:1.7,color:m(.55),minHeight:58},children:[_.slice(0,me),q&&n.jsx("span",{style:S,children:"|"}),!q&&f(400,500)&&n.jsx("span",{style:S,children:"|"})]}),n.jsx("div",{style:{marginTop:12,display:"flex",justifyContent:"flex-end"},children:n.jsx("div",{style:{fontFamily:t,fontSize:11,letterSpacing:"0.12em",color:Ge,border:`1px solid rgba(255,92,26,${K?"0.80":"0.35"})`,borderRadius:6,padding:"5px 13px",background:K?"rgba(255,92,26,0.18)":"transparent",transform:K?"scale(0.93)":"scale(1)",boxShadow:K?"0 0 20px rgba(255,92,26,0.45)":"none",transition:"transform 0.1s, box-shadow 0.15s, background 0.12s"},children:"Analyse â"})})]}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[n.jsx("div",{style:{flex:1,height:1,background:m(.06)}}),n.jsx("span",{style:{fontFamily:t,fontSize:10,color:m(.2),letterSpacing:"0.12em"},children:"Parsed in 2.1s"}),n.jsx("div",{style:{flex:1,height:1,background:m(.06)}})]}),[{label:"Business Objective",val:"Reposition performance as a Gen-Z identity marker",hot:!1},{label:"Audience Insight",val:"They don't see shoes â they see who they are",hot:!0},{label:"Thematic Principle",val:"Authenticity over aspiration",hot:!1}].map((ce,ie)=>n.jsxs("div",{style:{border:`1px solid ${ce.hot?"rgba(255,92,26,0.40)":m(.08)}`,borderRadius:8,background:ce.hot?"rgba(255,92,26,0.07)":r?"rgba(13,2,0,0.88)":"#f7f4f2",padding:"10px 14px",display:"flex",flexDirection:"column",gap:5,...l(3400+ie*550)},children:[n.jsx("div",{style:{fontFamily:t,fontSize:9,letterSpacing:"0.20em",textTransform:"uppercase",color:ce.hot?Ge:m(.28)},children:ce.label}),n.jsx("div",{style:{fontFamily:t,fontSize:12,lineHeight:1.5,color:ce.hot?m(.8):m(.42)},children:ce.val})]},ie))]})})]})}if(e===1){const _="What drives this audience?",me=Math.max(0,Math.min(_.length,Math.floor((a-450)/55))),q=f(450,450+_.length*55),K=f(2e3);return n.jsxs("div",{ref:o,style:x,children:[n.jsxs("div",{style:{...w,padding:"11px 16px",display:"flex",alignItems:"center",gap:10,...g(200)},children:[n.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",style:{flexShrink:0,opacity:K?1:.4,transition:"opacity 0.3s",animation:K?"methPulse 1.2s ease-in-out 3":"none"},children:[n.jsx("circle",{cx:"7",cy:"7",r:"5",stroke:K?Ge:"rgba(255,255,255,0.28)",strokeWidth:"1.5"}),n.jsx("line",{x1:"11",y1:"11",x2:"14",y2:"14",stroke:K?Ge:"rgba(255,255,255,0.28)",strokeWidth:"1.5",strokeLinecap:"round"})]}),n.jsxs("span",{style:{fontFamily:t,fontSize:12,color:m(.5)},children:[_.slice(0,me),(q||f(300,450))&&n.jsx("span",{style:S,children:"|"})]})]}),n.jsx("div",{style:{display:"flex",flexDirection:"column",gap:9},children:[{action:"Mapped",detail:"14 behavioural signals across brief"},{action:"Surfaced",detail:"3 desire clusters with tension scores"},{action:"Identified",detail:"Core conflict: authenticity vs. aspiration"},{action:"Read",detail:"AudienceTruth.strategy"}].map((U,X)=>n.jsxs("div",{style:{display:"flex",gap:10,alignItems:"baseline",...l(2300+X*600)},children:[n.jsx("span",{style:{fontFamily:t,fontSize:11,color:Ge,minWidth:72,flexShrink:0},children:U.action}),n.jsx("span",{style:{fontFamily:t,fontSize:11,color:m(.32),overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:U.detail})]},X))}),n.jsxs("div",{style:{...y,padding:"16px 18px",display:"flex",flexDirection:"column",gap:12,...g(4800)},children:[n.jsx("div",{style:{fontFamily:t,fontSize:10,letterSpacing:"0.20em",textTransform:"uppercase",color:Ge},children:"Core Human Truth"}),[{k:"Behaviour",v:"Scrolling past every brand ad"},{k:"Desire",v:"Real belonging & cultural identity"},{k:"Conflict",v:"Can't trust branded content"}].map((U,X)=>n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,...l(5100+X*350)},children:[n.jsx("div",{style:{fontFamily:t,fontSize:9,letterSpacing:"0.16em",textTransform:"uppercase",color:m(.28)},children:U.k}),n.jsx("div",{style:{fontFamily:t,fontSize:13,color:m(.72),lineHeight:1.4},children:U.v})]},X))]})]})}const E=["Brand Voice","Tone of Voice","Platform Idea","Brand Archetype","Campaign Platf.","Cultural Ritual","Hero Message","Key Channel","Brand Experience","Story Hook","Content Format","Audience Segment","Brand Territory","Proof Point","Strategic Partner","Cultural Moment"],I="Reclaim the streets before the brand does",B=2,P=_=>280+Math.floor(_/4)*340+_%4*70,A=2350,j=48,V=Math.max(0,Math.min(I.length,Math.floor((a-A)/j))),C=f(A,A+I.length*j),v=f(2100,2260),W=f(2100),D=f(1700),T=D?Math.min(1,(a-1700)/380):0,L=78-20*T,F=8+15*T,N=D?a<2200?Math.min(1,(a-1700)/180):Math.max(0,1-(a-2200)/180):0,O=v?.65:1;return n.jsxs("div",{ref:o,style:{...x,padding:"18px 16px 0",position:"relative"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:2,...l(150)},children:[n.jsx("span",{style:{fontFamily:t,fontSize:11,letterSpacing:"0.16em",textTransform:"uppercase",color:m(.25)},children:"Strategy Platform"}
28),n.jsx("span",{style:{fontFamily:t,fontSize:10,color:m(.18),marginLeft:"auto"},children:"16 cards"})]}),n.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:7,flex:1},children:E.map((_,k)=>{const se=k===B;return n.jsxs("div",{style:{borderRadius:8,border:`1px solid ${se&&W?"rgba(255,92,26,0.70)":se?"rgba(255,92,26,0.42)":m(.08)}`,background:se&&W?"rgba(255,92,26,0.14)":se?"rgba(255,92,26,0.07)":r?"rgba(13,2,0,0.88)":"#f7f4f2",padding:"9px 9px",display:"flex",flexDirection:"column",gap:5,overflow:"hidden",transform:se&&v?"scale(0.93)":"scale(1)",boxShadow:se&&W?"0 0 18px rgba(255,92,26,0.30)":"none",transition:"transform 0.12s, background 0.2s, border-color 0.2s, box-shadow 0.25s",...l(P(k))},children:[n.jsx("div",{style:{fontFamily:t,fontSize:9,letterSpacing:"0.10em",textTransform:"uppercase",color:se?Ge:m(.32),lineHeight:1.3},children:_}),se?n.jsxs("div",{style:{fontFamily:t,fontSize:9,color:m(.55),lineHeight:1.4,minHeight:12},children:[I.slice(0,V),C&&n.jsx("span",{style:S,children:"|"})]}):n.jsx("div",{style:{height:1,background:m(.05),borderRadius:1}})]},k)})}),n.jsx("svg",{width:"18",height:"22",viewBox:"0 0 18 22",fill:"none",style:{position:"absolute",left:`${L}%`,top:`${F}%`,opacity:N,transform:`scale(${O})`,transformOrigin:"4px 4px",pointerEvents:"none",filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.7))",transition:"transform 0.1s",zIndex:10},children:n.jsx("path",{d:"M2 2 L2 17 L5.5 13.5 L8.5 20 L11 18.8 L8 12.5 L13 12.5 Z",fill:"white",stroke:"rgba(0,0,0,0.45)",strokeWidth:"1",strokeLinejoin:"round"})})]})}const Eu=[{num:"01",name:"FOUNDATION",tagline:"Who you're talking to and why it matters.",desc:"The bedrock of every deck. Client, audience, problem â locked down before a single idea is written.",cards:[{n:1,title:"Title Slide",sub:"Client · project · concept tagline"},{n:2,title:"Objectives",sub:"Three anchors for every decision"},{n:3,title:"Target Audience",sub:"Archetype, demographics & behaviours"},{n:4,title:"Problem & Insight",sub:"The business problem & human truth"}],bg:"#0D0200"},{num:"02",name:"STRATEGY",tagline:"The thinking that makes the work matter.",desc:"Strategic spine, differentiators, and the platform your creative hangs from. Where positioning becomes direction.",cards:[{n:5,title:"Strategic Pillars",sub:"The spine every decision runs through"},{n:6,title:"Key Differentiators",sub:"Three things only this brand can claim"},{n:7,title:"Creative Platform",sub:"The big idea and its worldview"},{n:8,title:"Creative Pillars",sub:"3â4 expressions of the platform"}],bg:"#100300"},{num:"03",name:"CREATIVE",tagline:"The ideas that stop the scroll.",desc:"From the line that defines the campaign to the visual and material world it inhabits. Where strategy becomes sensation.",cards:[{n:9,title:"The Tagline",sub:"One line. The whole campaign."},{n:10,title:"Visual Moodboard",sub:"6 directions, colour & AI references"},{n:11,title:"Material Moodboard",sub:"Textures, craft & tactile direction"},{n:12,title:"Experience Architecture",sub:"The full guest or viewer journey"}],bg:"#130400"},{num:"04",name:"EXECUTION",tagline:"How it ships, wins and gets remembered.",desc:"Bold activations, the showstopping hero moment, an audacious wildcard and every award category it deserves.",cards:[{n:13,title:"Key Activations",sub:"5â7 bold ideas, each with a hook"},{n:14,title:"The Peak Moment",sub:"The showstopper guests never forget"},{n:15,title:"Cannes Wildcard",sub:"The audacious idea built for a shortlist"},{n:16,title:"Award Categories",sub:"Every show this campaign should enter"}],bg:"#0D0200"}],$r=[{name:"ROB REILLY",title:"GLOBAL CHIEF CREATIVE OFFICER",company:"WPP",source:"Creative Salon, Cannes Lions 2025",quote:"It's the greatest tool that's ever been invented for creative people."},{name:"TOM BAKER",title:"CHIEF CREATIVE OFFICER",company:"&ABOVE",source:"Mad Tech Magazine, Cannes Lions 2025",quote:"Those who will lead the charge are those who stop seeing AI as a gimmick and treat it as a creative partner. AI extends creativity â not replaces it."},{name:"TIFFANY ROLFE",title:"GLOBAL CHIEF CREATIVE OFFICER",company:"R/GA",source:"Globe Media Group, Cannes Lions 2025",quote:"To get clients to embrace new tech, you must let them experiment."},{name:"DUSTIN TOMES",title:"CHIEF CREATIVE OFFICER",company:"TBWA\\CHIAT\\DAY",source:"Digiday, September 2025",quote:"If you don't take that mindset, you're gonna be left behind, no matter what level you're at."},{name:"JAN EUMANN",title:"EXECUTIVE CREATIVE DIRECTOR",company:"WOLFF OLINS",source:"Multiply, State of AI in the Creative Industry, 2025",quote:"We're clearly in one of the most transformational shifts in technology since the introduction of the computer."},{name:"JUDY JOHN",title:"GLOBAL CHIEF CREATIVE OFFICER",company:"EDELMA
28N",source:"Cannes Lions 2025, Titanium Lions Jury President",quote:"Every idea is the first domino. Find a problem no one else sees and solve it. Be ambitious. Stay curious."},{name:"MUSTAFA SULEYMAN",title:"CEO",company:"MICROSOFT AI",source:"Cannes Lions 2025, Debussy Theatre",quote:"The friction of producing an idea and getting my imaginative thought not just on paper, but to execution, is just going to completely collapse."},{name:"CHRISTIAN PIERRE",title:"GLOBAL CHIEF INTELLIGENCE OFFICER",company:"GUT",source:"Digiday, September 2025",quote:"Generative AI started as an experiment you had to sell in. Today, the client that is not using it feels like they are missing out. It is a 180 degree shift."},{name:"JERIAD ZOGHBY",title:"CHIEF COMMERCE STRATEGY OFFICER",company:"INTERPUBLIC GROUP",source:"Cannes Lions 2024 Official Wrap-Up Report",quote:"Without differentiation, the competitive middle is starting to swell."},{name:"CRAIG MILLER",title:"CHIEF CREATIVE OFFICER",company:"SCHAFER CONDON CARTER",source:"Digiday, September 2025",quote:"I'd rather have an art director spending time concepting and thinking as opposed to pushing pixels around."}],Hr=[{name:"DAVID DROGA",title:"CEO",company:"ACCENTURE SONG",source:"WARC, Cannes Lions Festival",quote:"If we don't embrace it, it is just going to sweep us to the side. That's why we want to get as many creative people testing and playing."},{name:"GREG HAHN",title:"CO-FOUNDER & CHIEF CREATIVE OFFICER",company:"MISCHIEF @ NO FIXED ADDRESS",source:"Campaign Brief, May 2025",quote:"At the moment, AI is great for data, research and churning out executions. But humans connect with judgement, instinct and emotion."},{name:"COLLEEN DECOURCY",title:"FORMER CHIEF CREATIVE OFFICER",company:"SNAP / WIEDEN+KENNEDY",source:"The Drum, Cannes Lions 2025",quote:"What's at risk with AI is not creativity. What's at risk is the size of the margins of the businesses built to wrap around creativity."},{name:"NICK LAW",title:"CREATIVE CHAIRPERSON",company:"ACCENTURE SONG",source:"LBBOnline, The Blueprint, 2026",quote:"The only people who think there's an algorithm for creativity are engineers."},{name:"JAMES KAPE",title:"FOUNDER",company:"OMSE",source:"Multiply, State of AI in the Creative Industry, 2025",quote:"AI has deeply embedded itself into everyday design tools, even when you're not actively seeking it out."},{name:"MIKE HAYWARD",title:"CHIEF CREATIVE OFFICER",company:"COPACINO FUJIKADO",source:"Digiday, August 2025",quote:"I've been in meetings where clients will go: 'ChatGPT just spit out this line.' That makes it more challenging to justify your value."},{name:"FAITH GARBOLINO",title:"CHIEF COMMERCIAL OFFICER",company:"JCDECAUX",source:"OAAA, Cannes Lions 2025",quote:"Creativity is still the most powerful driver of business growth â and now, AI is the accelerant."},{name:"CHRISTOPHER MCKEE",title:"EXECUTIVE CREATIVE DIRECTOR",company:"2045",source:"Mumbrella, 2025",quote:"They're not just talking about the future of creativity â they're actively building it, combining human ingenuity with AI to produce work that's smarter, faster, and more culturally connected."},{name:"TINA ALLAN",title:"GLOBAL PARTNER, HEAD OF DATA SCIENCE",company:"FCB",source:"Campaign Asia, 2022",quote:"We haven't paused for a moment to creatively apply magic to the machinery."},{name:"JON WILLIAMS",title:"CO-FOUNDER & CEO",company:"THE LIBERTY GUILD",source:"Digiday, September 2025",quote:"The narrative that came along with AI within the industry was threatening. My view on AI has changed fundamentally."}],Ur=[{value:"brand_experience",label:"Brand Experience & Events"},{value:"marketing",label:"Marketing"},{value:"pr",label:"PR"},{value:"audio_ads",label:"Audio Ads"},{value:"tvc",label:"TVC"},{value:"design",label:"Design"}];function Cu(){zc({title:"Strite.ai | AI Creative Strategy Engine",description:"STRITE.AI â AI-powered creative strategy engine. From brief to award-winning campaign deck in 90 seconds.",canonical:"https://strite.ai/",ogTitle:"STRITE.AI â Creative Strategy Engine",ogDescription:"AI-powered creative strategy engine. From brief to award-winning campaign deck in 90 seconds."});const{isSignedIn:e}=Pn(),{isDark:t}
28=ze(),r=t?"#0D0200":"#ffffff",o=t?"#ffffff":"#1A0500",s=b=>t?`rgba(255,255,255,${b})`:`rgba(26,5,0,${b})`,i=b=>t?`rgba(255,255,255,${b})`:`rgba(26,5,0,${Math.min(1,b+.38)})`,[a,c]=Ft(),[d,u]=p.useState(!1),[f,l]=p.useState(""),[g,h]=p.useState("marketing"),[x,w]=p.useState("type"),[y,m]=p.useState(null),[S,E]=p.useState(!1),[I,B]=p.useState(""),[P]=p.useState(()=>[...[{discipline:"brand_experience",label:"Dubai Fashion Spectacle",prompt:"Immersive brand experience for a luxury fashion house launching in Dubai. 3-night event. Think cultural spectacle, not a party."},{discipline:"marketing",label:"Challenger Brand Takeover",prompt:"Integrated campaign for a challenger beverage brand taking on the category leader. Gen Z audience. Low budget, Cannes ambition."},{discipline:"pr",label:"Sustainability Heat Campaign",prompt:"PR strategy for a sustainability brand entering the US market. Create cultural heat without a traditional media budget."},{discipline:"audio_ads",label:"Fintech Sonic Identity",prompt:"Audio branding suite for a new fintech app targeting millennials. Bold, ownable, nothing like the banking category."},{discipline:"tvc",label:"Luxury Car Film â Asia",prompt:"60-second TVC for a luxury car brand entering Southeast Asia. Emotion-first, product second. Global production values."},{discipline:"design",label:"Cultural Institution Rebrand",prompt:"Visual identity system for a cultural institution reimagining itself for a new generation. Editorial, not corporate."},{discipline:"brand_experience",label:"Gen Z Fintech Launch Event",prompt:"Brand experience strategy for a fintech app targeting Gen Z in three MENA cities. Social-first, IRL energy."},{discipline:"marketing",label:"Premium Coffee, India Entry",prompt:"Integrated campaign for a premium coffee brand entering India. 3-month window, tight budget, Cannes-level ambition."},{discipline:"tvc",label:"60-Second Global Beer Film",prompt:"60-second TVC for a heritage beer brand going global. One human truth. No product shots until the last frame."},{discipline:"design",label:"Challenger Bank Identity",prompt:"Brand identity system for a new challenger bank targeting underserved communities. Bold, trustworthy, nothing like a bank."},{discipline:"pr",label:"Luxury Watch Comeback",prompt:"PR strategy to reintroduce a legacy Swiss watch brand to a new generation. Make heritage feel urgent, not nostalgic."},{discipline:"audio_ads",label:"Global QSR Sonic Branding",prompt:"Sonic identity for a global fast-food chain refreshing its brand for streaming and social audio. Must work in 3 seconds."}]].sort(()=>Math.random()-.5).slice(0,5));p.useEffect(()=>{const b=["Nike launching a running shoe for Gen Z in Southeast Asia. Make it cultural, not commercial.","PR campaign for a sustainability brand entering the US. Low budget, Cannes-level ambition.","60-second TVC for a luxury car brand. Global audience. Emotion-first, product second.","Immersive brand experience for a fintech app launch targeting Gen Z. Think social-first.","Integrated campaign for a premium coffee brand entering India. 3-month window, tight budget.","Audio branding suite for a new challenger bank. Bold, memorable, nothing like the category."];let R=0,Y=0,Z=!1,re;function H(){const J=b[R];if(Z){if(Y--,B(J.slice(0,Y)),Y===0){Z=!1,R=(R+1)%b.length,re=setTimeout(H,600);return}re=setTimeout(H,18)}else{if(Y++,B(J.slice(0,Y)),Y===J.length){re=setTimeout(()=>{Z=!0,H()},2400);return}re=setTimeout(H,40)}}return re=setTimeout(H,900),()=>clearTimeout(re)},[]),p.useEffect(()=>{if(Wr())return;const b=V.current,R=C.current;if(!b||!R)return;const Y=R.getContext("2d"),Z=()=>{const{width:ae,height:ne}=b.getBoundingClientRect();R.width=ae,R.height=ne};Z(),window.addEventListener("resize",Z);const re=[];let H=-999,J=-999;const de=(ae,ne)=>{const pe=ae-H,je=ne-J;Math.sqrt(pe*pe+je*je)<10||(H=ae,J=ne,re.push({x:ae,y:ne,r:2,maxR:70+Math.random()*50,alpha:.55,speed:1.8+Math.random()*.8}),Math.random()>.4&&re.push({x:ae,y:ne,r:2,maxR:35+Math.random()*25,alpha:.35,speed:2.4+Math.random()*.6}),re.length>40&&re.splice(0,re.length-40))},ge=ae=>{const{left:ne,top:pe}=R.getBoundingClientRect();de(ae.clientX-ne,ae.clientY-pe)};b.addEventListener("mousemove",ge),v.current=()=>{const ae=R.width/2,ne=R.height/2;
28for(let pe=0;pe<5;pe++){const je=pe*12;re.push({x:ae,y:ne,r:2+je,maxR:180+pe*60,alpha:.7-pe*.1,speed:2.4-pe*.2})}};let ue;const be=()=>{Y.clearRect(0,0,R.width,R.height);for(let ae=re.length-1;ae>=0;ae--){const ne=re[ae];if(ne.r+=ne.speed,ne.speed*=.985,ne.alpha*=.955,ne.alpha<.015||ne.r>=ne.maxR){re.splice(ae,1);continue}const pe=ne.r/ne.maxR,je=ne.maxR>150;Y.lineWidth=je?Math.max(1,3*(1-pe)):Math.max(.4,1.6*(1-pe)),Y.strokeStyle=je?`rgba(255,180,80,${ne.alpha})`:`rgba(210,75,8,${ne.alpha})`,Y.beginPath(),Y.arc(ne.x,ne.y,ne.r,0,Math.PI*2),Y.stroke()}ue=requestAnimationFrame(be)};return ue=requestAnimationFrame(be),()=>{b.removeEventListener("mousemove",ge),window.removeEventListener("resize",Z),cancelAnimationFrame(ue)}},[]),p.useEffect(()=>{W.current=()=>{}},[]);function A(){if(x==="type"){if(!f.trim())return;const b=f.trim().slice(0,2e3);sessionStorage.setItem("strite_prefill",JSON.stringify({brief:b,discipline:g})),c(e?"/dashboard":"/compile")}else{if(!y)return;const b=new FileReader;b.onload=()=>{try{const Y=b.result.split(",")[1]??"";sessionStorage.setItem("strite_prefill",JSON.stringify({uploadMode:!0,fileData:Y,fileName:y.name,fileType:y.type||"application/octet-stream",discipline:g}))}catch{sessionStorage.setItem("strite_prefill",JSON.stringify({uploadMode:!0,discipline:g}))}c(e?"/studio":"/compile")},b.onerror=()=>{sessionStorage.setItem("strite_prefill",JSON.stringify({uploadMode:!0,discipline:g})),c(e?"/studio":"/compile")},b.readAsDataURL(y)}}const j=p.useRef({x:0,y:0}),V=p.useRef(null),C=p.useRef(null),v=p.useRef(null),W=p.useRef(null),D=p.useRef(null),T=p.useRef(null),L=b=>n.jsx("button",{"data-hover":!0,onClick:()=>{l(b.prompt),h(b.discipline),setTimeout(()=>document.getElementById("hero-brief-input")?.focus(),50)},className:"font-['JetBrains_Mono'] leading-tight text-[8.5px] md:text-[12px] tracking-[0.05em] md:tracking-[0.12em] px-2 py-1 md:px-[18px] md:py-[7px] uppercase",style:{color:"var(--lp-fg55)",background:"var(--lp-fg04)",border:"1px solid var(--lp-fg22)",borderRadius:6,cursor:"pointer",transition:"all 0.18s ease"},onMouseEnter:R=>{R.currentTarget.style.color="#FF5C1A",R.currentTarget.style.borderColor="rgba(255,92,26,0.45)",R.currentTarget.style.background="rgba(255,92,26,0.07)"},onMouseLeave:R=>{R.currentTarget.style.color="var(--lp-fg55)",R.currentTarget.style.borderColor="var(--lp-fg22)",R.currentTarget.style.background="var(--lp-fg04)"},children:b.label},b.label),F=p.useRef(null);p.useRef(null);const N=p.useRef(null),O=p.useRef(null),_=p.useRef(null),k=p.useRef(null),se=p.useRef(null);p.useRef(null);const me=p.useRef(null),q=p.useRef(null),K=p.useRef(null),U=p.useRef(null),X=p.useRef(null),ce=p.useRef(null),ie=p.useRef(null),[le,Fe]=p.useState({strategiesBuilt:47,cardsGenerated:752,users:63}),[Pe,ke]=p.useState(!1),[Se]=p.useState(Wr),[We,ln]=p.useState(0),[cn,yt]=p.useState("brand_experience"),[dn,$e]=p.useState(!1);p.useEffect(()=>{const b=R=>{j.current={x:R.clientX/window.innerWidth-.5,y:R.clientY/window.innerHeight-.5}};return window.addEventListener("mousemove",b,{passive:!0}),()=>window.removeEventListener("mousemove",b)},[]),p.useEffect(()=>{const b=()=>{ke(window.scrollY>window.innerHeight*.85)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]);const _t=p.useCallback(()=>{document.querySelectorAll(".tilt-card").forEach(b=>{b.addEventListener("mousemove",R=>{const Y=b.getBoundingClientRect(),Z=(R.clientX-Y.left)/Y.width-.5,re=(R.clientY-Y.top)/Y.height-.5;b.style.transform=`perspective(900px) rotateY(${Z*16}deg) rotateX(${-re*12}deg) translateZ(24px)`,b.style.boxShadow="0 0 50px rgba(255,92,26,0.25)"}),b.addEventListener("mouseleave",()=>{b.style.transform="",b.style.boxShadow=""})})},[]);return p.useEffect(()=>{const b=[],R=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(D.current&&!R){const H=D.current.querySelectorAll(".gsap-letter");fe.from(H,{y:90,opacity:0,rotateX:-30,stagger:.018,duration:.75,ease:"power3.out",delay:.3,clearProps:"all"})}if(T.current){const H=T.current.querySelectorAll(".marquee-inner");if(H[0]&&H[1]){const J=H[0].scrollWidth/2,de=H[1].scrollWidth/2,ge=fe.to(H[0],{x:-J,duration:26,ease:"none",repeat:-1}),ue=fe.fromTo(H[1],{x:-de},{x:0,duration:26,ease:"none",repeat:-1});b.push(()=>{ge.kill(),ue.kill()})}}if(_.current){const H=fe.to(_.current,{x:"-50%",duration:35,ease:"none",repeat:-1});b.push(()=>H.kill())}if(k.current){const H=fe.fromTo(k.current,{x:"-50%"},{x:0,duration:45,ease:"none",repeat:-1});b.push(()=>H.kill())}if(q.current){const H=fe.to(q.current,{x:"-50%",duration:18,ease:"none",repeat:-1});b.push(()=>H.kill())}if(se.current){const H=fe.to(se.current,{x:"-50%",duration:30,ease:"none",repeat:-1});me.current=H,b.push(()=>H.kill())}if(K.current){const H=K.current,J=Array.from(H.querySelectorAll(".meth-col"));fe.fromTo(J,{opacity:0,y:36},{opacity:1,y:0,stagger:.14,duration:.85,ease:"power3.out",scrollTrigger:{trigger:H,start:"top 72%"}});const de=Array.from(H.querySelectorAll(".meth-word"));de.length&&fe.fromTo(de,{clipPath:"inset(0 102% 0 0)",opacity:1},{clipPath:"inset(0 0% 0 0)",stagger:.09,duration:.65,ease:"power3.out",scrollTrigger:{trigger:H,start:"top 78%"}})}if(N.current){const H=Array.from(N.current.querySelectorAll(".stack-panel"));let J=0;const de=()=>{cancelAnimationFrame(J),J=requestAnimationFrame(()=>{const ge=N.current?.parentElement;if(!ge)return;const be=-ge.getBoundingClientRect().top,ae=window.innerHeight;H.forEach((ne,pe)=>{if(pe===0)return;const je=Math.max(0,Math.min(1,(be-(pe-1)*ae)/ae));ne.style.transform=`translate(-50%, calc(-50% + ${(1-je)*100}vh))`})})};window.addEventListener("scroll",de,{passive:!0}
28),b.push(()=>{window.removeEventListener("scroll",de),cancelAnimationFrame(J)})}{const H=Array.from(document.querySelectorAll(".tour-item"));if(H.length){const J=new IntersectionObserver(de=>{de.forEach(ge=>{if(!ge.isIntersecting)return;const ue=ge.target;ue.style.opacity="1",ue.style.transform="translateY(0)";const be=ue.querySelector(".tour-step"),ae=ue.querySelector(".tour-headline"),ne=ue.querySelector(".tour-desc");be&&(be.style.opacity="1",be.style.transform="translateY(0)"),ae&&(ae.style.opacity="1",ae.style.transform="translateY(0)"),ne&&(ne.style.opacity="1",ne.style.transform="translateY(0)"),J.unobserve(ue)})},{threshold:.18});H.forEach(de=>J.observe(de)),b.push(()=>J.disconnect())}}if(!R){const H=document.querySelector(".gsap-hero-badge"),J=document.querySelector(".gsap-hero-sub"),de=document.querySelector(".gsap-hero-ctas");H&&fe.from(H,{opacity:0,y:20,duration:.7,ease:"power2.out",delay:.5}),J&&fe.from(J,{opacity:0,y:26,duration:.75,ease:"power2.out",delay:.7}),de&&fe.from(de,{opacity:0,y:24,duration:.75,ease:"power2.out",delay:.65})}fe.utils.toArray(".reveal-up").forEach(H=>{fe.fromTo(H,{opacity:0,y:55},{opacity:1,y:0,duration:.95,ease:"power3.out",scrollTrigger:{trigger:H,start:"top 83%",once:!0}})});const Y=fe.utils.toArray(".faq-row");Y.length&&fe.fromTo(Y,{opacity:0,x:-80},{opacity:1,x:0,stagger:.14,duration:.8,ease:"power3.out",scrollTrigger:{trigger:Y[0],start:"top 80%",once:!0}});const Z=fe.utils.toArray(".pricing-card");if(Z.length&&fe.fromTo(Z,{opacity:0,y:90,scale:.96},{opacity:1,y:0,scale:1,stagger:.15,duration:.9,ease:"power3.out",scrollTrigger:{trigger:Z[0],start:"top 82%",once:!0}}),O.current){const H=O.current.querySelectorAll(".stat-box");H.length&&fe.fromTo(H,{opacity:0,y:60},{opacity:1,y:0,stagger:.16,duration:.8,ease:"power3.out",scrollTrigger:{trigger:O.current,start:"top 78%",once:!0}})}fe.utils.toArray(".scan-line").forEach(H=>{fe.fromTo(H,{scaleX:0},{scaleX:1,duration:1.1,ease:"power2.inOut",scrollTrigger:{trigger:H,start:"top 88%",once:!0}})}),_t();const re=setTimeout(()=>Yr.refresh(),120);return b.push(()=>clearTimeout(re)),()=>b.forEach(H=>H())},[_t]),p.useEffect(()=>{const b={strategiesBuilt:47,cardsGenerated:752,users:63},R=(J,de,ge=2e3)=>{const ue=performance.now(),be=ne=>Math.floor(ne).toLocaleString("en-US"),ae=ne=>{const pe=Math.min((ne-ue)/ge,1),je=1-Math.pow(1-pe,3);J.textContent=be(je*de),pe<1&&requestAnimationFrame(ae)};requestAnimationFrame(ae)},Y=J=>{O.current&&O.current.querySelectorAll("[data-live-stat]").forEach(de=>{const ge=de.dataset.liveStat;R(de,J[ge])})};let Z=!1,re=null;const H=new IntersectionObserver(([J])=>{!J.isIntersecting||Z||(Z=!0,H.disconnect(),re&&Y(re))},{threshold:.3});return O.current&&H.observe(O.current),fetch("/api/stats").then(J=>J.json()).then(J=>{console.log("Stats API response:",JSON.stringify(J)),console.log("strategiesBuilt:",J.strategiesBuilt,typeof J.strategiesBuilt),console.log("cardsGenerated:",J.cardsGenerated,typeof J.cardsGenerated),console.log("users:",J.users,typeof J.users);const de=document.getElementById("stat-users"),ge=document.getElementById("stat-strategies"),ue=document.getElementById("stat-cards");de&&(de.textContent=String(J.users||120)),ge&&(ge.textContent=String(J.strategiesBuilt||34)),ue&&(ue.textContent=String(J.cardsGenerated||544));const be={strategiesBuilt:J.strategiesBuilt??b.strategiesBuilt,cardsGenerated:J.cardsGenerated??b.cardsGenerated,users:J.users??b.users};Fe(be),re=be,Z&&Y(be)}).catch(J=>{console.log("Stats API error:",J.message),re=b,Z&&Y(b)}),()=>H.disconnect()},[]),n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"relative select-none",style:{cursor:Se?"auto":"none",background:r,overflowX:"clip",color:o},children:[n.jsx(Xc,{transparentAtTop:!0,showCursor:!Se}),n.jsxs("section",{ref:V,className:"relative min-h-screen overflow-hidden",style:{background:r},children:[!Se&&n.jsx("canvas",{ref:C,className:"absolute inset-0 w-full h-full pointer-events-none",style:{zIndex:5}}),n.jsx(ed,{}),n.jsx("div",{className:"hero-content-wrap absolute inset-0 z-[30] flex flex-col items-center justify-center text-center px-4 sm:px-8 md:px-14 lg:px-16 pt-48 pb-10 md:pb-[130px]",children:n.jsxs("div",{className:"gs
28ap-hero-ctas w-full flex flex-col items-center",style:{textAlign:"center"},children:[n.jsx("div",{className:"hero-mode-toggle",style:{display:"inline-flex",background:t?"rgba(10,3,1,0.75)":"rgba(26,5,0,0.08)",border:`1px solid ${t?"rgba(255,255,255,0.13)":"rgba(26,5,0,0.18)"}`,borderRadius:12,padding:4,gap:3,backdropFilter:"blur(24px)"},children:["type","upload"].map(b=>{const R=x===b;return n.jsx("button",{type:"button",onClick:()=>{w(b),v.current?.(),W.current?.()},style:{fontFamily:"'JetBrains Mono', monospace",fontSize:11,letterSpacing:"0.10em",textTransform:"uppercase",padding:"7px 18px",borderRadius:8,border:R?`1px solid ${G}`:"1px solid transparent",cursor:"none",transition:"background 0.18s, color 0.18s, box-shadow 0.18s",background:R?"rgba(255,92,26,0.18)":"transparent",color:R?G:t?"rgba(255,255,255,0.50)":"rgba(26,5,0,0.45)",fontWeight:R?700:400,boxShadow:R?"0 0 18px rgba(255,92,26,0.18)":"none",display:"flex",alignItems:"center",gap:8},children:b==="type"?"Type Brief":"Upload Brief"},b)})}),n.jsxs("h1",{className:"hero-headline mb-3",style:{fontFamily:"'Anton', sans-serif",fontSize:"clamp(66px,13.5vw,72px)",letterSpacing:"0.01em",lineHeight:.95,maxWidth:1e3,width:"100%",fontWeight:400,textTransform:"uppercase",textAlign:"center"},children:[n.jsx("span",{style:{color:o},children:"What will you "}),n.jsx("span",{style:{color:"#FF5C1A"},children:"pitch?"})]}),n.jsx("p",{className:"hero-subtitle font-['JetBrains_Mono'] mb-6",style:{fontSize:15,color:"var(--lp-fg55)",letterSpacing:"-0.01em",maxWidth:760,lineHeight:1.6},children:"Paste the brief. Get the pitch response in 90 seconds."}),n.jsxs("div",{style:{width:"100%",maxWidth:760},children:[n.jsxs("div",{className:"hero-card",style:{background:t?"#100806":"#f5f2ef",border:`1px solid ${t?"rgba(255,92,26,0.35)":"rgba(255,92,26,0.30)"}`,borderRadius:18,backdropFilter:"blur(28px)",boxShadow:t?"0 8px 80px rgba(0,0,0,0.55)":"0 4px 24px rgba(0,0,0,0.10)",textAlign:"left"},onClick:()=>document.getElementById("hero-brief-input")?.focus(),children:[x==="type"?n.jsx("textarea",{id:"hero-brief-input",value:f,onChange:b=>l(b.target.value),onKeyDown:b=>{b.key==="Enter"&&(b.metaKey||b.ctrlKey)&&A()},placeholder:I,rows:2,maxLength:2e3,className:"hero-textarea",style:{width:"100%",background:"transparent",border:"none",color:t?"#fff":"#1A0500",fontFamily:"'JetBrains Mono', monospace",lineHeight:1.75,padding:0,resize:"none",outline:"none",letterSpacing:"0.03em",display:"block",height:60,cursor:"text"}}):n.jsxs("div",{className:"hero-dropzone",onClick:b=>{b.stopPropagation(),document.getElementById("hero-file-input")?.click()},onDragOver:b=>{b.preventDefault(),E(!0)},onDragLeave:()=>E(!1),onDrop:b=>{b.preventDefault(),E(!1);const R=b.dataTransfer.files[0];R&&m(R)},style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:8,border:`1.5px dashed ${S?G:s(.18)}`,borderRadius:10,padding:"0 12px",cursor:"none",transition:"border-color 0.2s",background:S?"rgba(255,92,26,0.06)":"transparent"},children:[n.jsx("input",{id:"hero-file-input",type:"file",accept:".pdf,.doc,.docx,.txt",style:{display:"none"},onChange:b=>{const R=b.target.files?.[0];R&&m(R)}}),y?n.jsxs(n.Fragment,{children:[n.jsx("span",{style:{fontSize:20},children:"ð"}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:12,color:G,letterSpacing:"0.06em",textAlign:"center",wordBreak:"break-all"},children:y.name}),n.jsx("button",{type:"button",onClick:b=>{b.stopPropagation(),m(null)},style:{fontFamily:"'JetBrains Mono', monospace",fontSize:9,letterSpacing:"0.14em",textTransform:"uppercase",color:i(.35),background:"none",border:"none",cursor:"none"},children:"Remove"})]}):n.jsx("div",{className:"hero-dropzone-inner",children:n.jsxs("span",{className:"hero-dropzone-text",children:[n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",color:i(.4),letterSpacing:"0.06em",display:"block"},children:"Drop brief or tap to browse"}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",color:i(.22),letterSpacing:"0.14em",textTransform:"uppercase",display:"block",marginTop:3},children:"PDF · DOCX · TXT"})]})})]}),n.jsxs("div",{className:"hero-bottom-bar",children:[n.jsx("div",{className:"md:hidden",style:{flex:1},onClick:b=>b.stopPropagation(),children:n.jsx("select",{value:g,onChange:b=>h(b.target.value),style:{fontFamily:"'JetBrains Mono', monospace",textTransform:"uppercase",fontSize:11,letterSpacing:"0.14em",padding:"7px 32px 7px 14px",borderRadius:6,border:`1px solid ${G}`,background:t?"rgba(255,45,0,0.12)":"rgba(255,92,26,0.08)",color:t?"#fff":"#1A0500",width:"100%",outline:"none"},children:Ur.map(b=>n.jsx("option",{value:b.value,style:{background:"#1a0500",color:"#fff"},children:b.label},b.value))})}),n.jsx("div",{className:"hero-pills hidden md:flex",style:{gap:6,flexWrap:"wrap",flex:1},children:Ur.map(b=>{const R=g===b.value;return n.jsx("button",{type:"button",onClick:Y=>{Y.stopPropagation(),h(b.value)},style:{fontFamily:"'JetBrains Mono', monospace",textTransform:"uppercase",fontSize:11,letterSpacing:"0.14em",padding:"6px 14px",borderRadius:6,border:`1px solid ${R?G:t?"rgba(255,255,255,0.14)":"rgba(26,5,0,0.20)"}`,background:R?G:"transparent",color:R?"#000":t?"rgba(255,255,255,0.48)":"rgba(26,5,0,0.55)",cursor:"none",transition:"all 0.15s ease",whiteSpace:"nowrap",fontWeight:R?700:400},children:b.label},b.value)})}),n.jsx("button",{className:"hero-submit",onClick:b=>{b.stopPropagation(),A()}
28,disabled:x==="type"?!f.trim():!y,style:{width:42,height:42,borderRadius:"50%",background:(x==="type"?f.trim():y)?G:t?"rgba(255,255,255,0.07)":"rgba(26,5,0,0.08)",border:"none",color:(x==="type"?f.trim():y)?"#000":t?"rgba(255,255,255,0.22)":"rgba(26,5,0,0.35)",cursor:(x==="type"?f.trim():y)?"none":"default",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,fontSize:20,fontWeight:700,transition:"all 0.2s ease",boxShadow:(x==="type"?f.trim():y)?"0 0 28px rgba(255,92,26,0.55)":"none"},onMouseEnter:b=>{if(!(x==="type"?f.trim():y))return;const R=b.currentTarget;R.style.background=wu,R.style.boxShadow="0 0 44px rgba(255,92,26,0.75)",R.style.transform="scale(1.08)"},onMouseLeave:b=>{if(!(x==="type"?f.trim():y))return;const R=b.currentTarget;R.style.background=G,R.style.boxShadow="0 0 28px rgba(255,92,26,0.55)",R.style.transform="scale(1)"},children:"â"})]})]}),n.jsxs("div",{style:{marginTop:36,display:"flex",flexDirection:"column",alignItems:"center",gap:12},children:[n.jsx("p",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:11,letterSpacing:"0.22em",color:"var(--lp-fg45)",textTransform:"uppercase"},children:"Not sure where to start? Try one of these:"}),n.jsx("div",{className:"hero-chips-rows",style:{display:"flex",flexWrap:"wrap",justifyContent:"center",gap:8,width:"min(900px, 92vw)"},children:P.map(L)}),n.jsx("p",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:11,letterSpacing:"0.22em",color:"var(--lp-fg35)",marginTop:28,fontStyle:"italic",textTransform:"uppercase"},children:"Used by creative directors, brand managers, and agency leads"})]})]})]})}),n.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:340,pointerEvents:"none",zIndex:15,background:`linear-gradient(to bottom, transparent 0%, ${r} 100%)`}})]}),n.jsx("div",{className:"sandbox-section-wrap",style:{marginTop:0},children:n.jsx(p.Suspense,{fallback:null,children:n.jsx(yu,{})})}),n.jsxs("section",{className:"relative overflow-hidden py-10",style:{background:r,borderTop:"1px solid var(--lp-section-border)",borderBottom:"1px solid var(--lp-section-border)"},children:[n.jsx("p",{className:"reveal-up text-center font-['JetBrains_Mono'] text-[12px] uppercase tracking-[0.32em] mb-8",style:{color:o},children:"STRATEGIES BUILT FOR BRANDS LIKE THESE."}),n.jsx("div",{className:"relative",style:{WebkitMaskImage:"linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%)",maskImage:"linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%)"},children:n.jsx("div",{className:"overflow-hidden",children:n.jsx("div",{ref:se,className:"flex items-center",style:{gap:0,willChange:"transform",width:"max-content"},children:[..._r,..._r].map((b,R)=>n.jsx("div",{className:"flex items-center shrink-0 brand-logo-item",style:{padding:"0 clamp(32px,4vw,60px)"},children:n.jsx(b.logo,{})},R))})})})]}),n.jsx("div",{className:"overflow-hidden py-4 border-t",style:{background:r,borderColor:"rgba(255,92,26,0.28)"},children:n.jsx("div",{ref:q,className:"flex whitespace-nowrap",style:{willChange:"transform"},children:[1,2].map(b=>n.jsx("span",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.22em] shrink-0",style:{fontSize:12,color:"var(--lp-fg38)",paddingRight:80},children:"NO MORE WEAK DECKS · NO MORE WASTED PITCHES · NO MORE GENERIC STRATEGY · NO MORE EXCUSES · NO MORE WEAK DECKS · NO MORE WASTED PITCHES · NO MORE GENERIC STRATEGY · NO MORE EXCUSES · NO MORE WEAK DECKS · NO MORE WASTED PITCHES · NO MORE GENERIC STRATEGY · NO MORE EXCUSES · NO MORE WEAK DECKS · NO MORE WASTED PITCHES · NO MORE GENERIC STRATEGY · NO MORE EXCUSES ·"},b))})}),n.jsxs("section",{style:{background:r,position:"relative"},children:[n.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:100,background:`linear-gradient(to bottom, ${r}, transparent)`,pointerEvents:"none",zIndex:2}}),n.jsx("div",{style:{height:"400vh"},children:n.jsx("div",{ref:N,style:{position:"sticky",top:0,height:"100vh",overflow:"hidden",background:r},children:Eu.map((b,R)=>{const Y=[`linear-gradient(145deg, rgba(255,220,150,0.14) 0%, transparent 38%), 29 radial-gradient(ellipse 200% 130% at -18% 122%, #FFC050 0%, #E04010 38%, transparent 62%), 30 radial-gradient(ellipse 140% 140% at 58% 52%, #C82800 0%, transparent 60%), 31 #2A0800`,`linear-gradient(225deg, rgba(255,220,150,0.14) 0%, transparent 38%), 32 radial-gradient(ellipse 200% 130% at 118% 122%, #FFC050 0%, #E04010 38%, transparent 62%), 33 radial-gradient(ellipse 140% 140% at 42% 48%, #BE2000 0%, transparent 60%), 34 #260600`,`linear-gradient(45deg, rgba(255,220,150,0.14) 0%, transparent 38%), 35 radial-gradient(ellipse 200% 130% at 118% -18%, #FFC050 0%, #E04010 38%, transparent 62%), 36 radial-gradient(ellipse 140% 140% at 44% 54%, #BE2000 0%, transparent 60%), 37 #260600`,`linear-gradient(180deg, rgba(255,220,150,0.12) 0%, transparent 35%), 38 radial-gradient(ellipse 180% 110% at 50% 124%, #FFC050 0%, #E04010 40%, transparent 62%), 39 radial-gradient(ellipse 130% 130% at 50% 56%, #BE2000 0%, transparent 60%), 40 #260600`];return n.jsxs("div",{className:"stack-panel",style:{position:"absolute",top:"50%",left:"50%",transform:R===0?"translate(-50%, -50%)":"translate(-50%, calc(-50% + 100vh))",width:"min(990px, calc(100% - 2 * clamp(16px, 3vw, 48px)))",height:"clamp(432px,70vh,612px)",borderRadius:16,overflow:"hidden",display:"flex",border:"1px solid rgba(255,92,26,0.14)",boxShadow:R===0?t?"0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,92,26,0.06) inset":"0 12px 28px rgba(0,0,0,0.18), 0 0 0 1px rgba(26,5,0,0.06) inset":"none",zIndex:R+1},children:[n.jsxs("div",{className:"stack-panel-left",style:{flex:1,background:t?"#0f0200":"#ffffff",padding:"clamp(20px,3vw,36px)",display:"flex",flexDirection:"column",justifyContent:"space-between",minWidth:0},children:[n.jsxs("div",{children:[n.jsx("p",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:10,letterSpacing:"0.30em",textTransform:"uppercase",color:G,marginBottom:8},children:"Inside the Deck"}),n.jsxs("p",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:10,letterSpacing:"0.28em",textTransform:"uppercase",color:t?"rgba(255,255,255,0.35)":"rgba(26,5,0,0.40)"},children:[n.jsxs("span",{style:{color:G},children:[b.num," / 04"]})," ",b.name]})]}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:28},children:[n.jsxs("p",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:"clamp(13px,1.3vw,19px)",lineHeight:1.7,color:t?"rgba(255,255,255,0.88)":"rgba(26,5,0,0.90)",maxWidth:340},children:[b.tagline," ",n.jsx("span",{style:{color:t?"rgba(255,255,255,0.45)":"rgba(26,5,0,0.50)"},children:b.desc})]}),n.jsx(Ce,{href:"/sign-up",children:n.jsx("button",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:10,letterSpacing:"0.26em",textTransform:"uppercase",padding:"8px 18px",background:"transparent",color:t?"#fff":"rgba(26,5,0,0.80)",border:`1px solid ${t?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.40)"}`,borderRadius:6,cursor:"none",fontWeight:700,transition:"border-color 0.25s, color 0.25s, box-shadow 0.25s"},onMouseEnter:Z=>{const re=Z.currentTarget;re.style.borderColor=G,re.style.color=G,re.style.boxShadow=`inset 0 0 0 1px ${G}, 0 0 16px rgba(255,92,26,0.2)`},onMouseLeave:Z=>{const re=Z.currentTarget,H=document.documentElement.classList.contains("dark");re.style.borderColor=H?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.40)",re.style.color=H?"#fff":"rgba(26,5,0,0.80)",re.style.boxShadow=""},"data-hover":!0,children:"Start Free"})})]})]}),n.jsxs("div",{className:"stack-panel-right",style:{width:"42%",flexShrink:0,background:Y[R],position:"relative",overflow:"hidden",alignItems:"center",justifyContent:"center"},children:[n.jsx("div",{style:{position:"absolute",inset:0,zIndex:0,pointerEvents:"none",opacity:.22,mixBlendMode:"overlay",backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E")`,backgroundSize:"160px 160px"}}),n.jsx("div",{style:{background:t?"rgba(10,2,0,0.72)":"rgba(255,255,255,0.92)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",border:`1px solid ${t?"rgba(255,255,255,0.08)":"rgba(26,5,0,0.12)"}`,borderRadius:14,padding:"14px 18px",width:"clamp(170px,65%,260px
40)",display:"flex",flexDirection:"column",gap:0,position:"relative",zIndex:1},children:b.cards.map((Z,re)=>n.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"9px 0",borderBottom:re<b.cards.length-1?`1px solid ${t?"rgba(255,255,255,0.07)":"rgba(26,5,0,0.08)"}`:"none"},children:[n.jsxs("div",{children:[n.jsx("p",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:11,letterSpacing:"0.02em",color:t?"rgba(255,255,255,0.9)":"rgba(26,5,0,0.90)",lineHeight:1},children:Z.title}),n.jsx("p",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:9,color:t?"rgba(255,255,255,0.38)":"rgba(26,5,0,0.45)",marginTop:4,lineHeight:1.3},children:Z.sub})]}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono',monospace",fontSize:9,color:"rgba(255,92,26,0.55)",letterSpacing:"0.18em",flexShrink:0,marginLeft:12},children:String(Z.n).padStart(2,"0")})]},Z.n))})]})]},b.name)})})})]}),n.jsx(p.Suspense,{fallback:null,children:n.jsx(xu,{sectionId:"how-it-works",sectionRef:F})}),n.jsxs("div",{ref:U,style:{background:r,padding:"clamp(70px,10vh,120px) clamp(24px,6vw,80px) clamp(56px,8vh,100px)",position:"relative"},children:[n.jsx(ku,{containerRef:U,p1Ref:X,p2Ref:ce,p3Ref:ie}),n.jsxs("div",{style:{display:"flex",gap:10,position:"relative",zIndex:3},children:[n.jsx("div",{style:{flex:1,display:"flex",justifyContent:"center"},children:n.jsx("div",{ref:X,style:{fontFamily:"'JetBrains Mono', monospace",fontSize:"clamp(13px,1.1vw,16px)",letterSpacing:"0.12em",fontWeight:600,color:"var(--lp-fg55)",background:r,border:"1px solid var(--lp-fg12)",borderRadius:8,padding:"clamp(10px,1.2vh,14px) clamp(24px,2.5vw,36px)",whiteSpace:"nowrap"},children:"UNDERSTAND"})}),n.jsx("div",{style:{flex:1,display:"flex",justifyContent:"center"},children:n.jsx("div",{ref:ce,style:{fontFamily:"'JetBrains Mono', monospace",fontSize:"clamp(13px,1.1vw,16px)",letterSpacing:"0.12em",fontWeight:600,color:"var(--lp-fg80)",background:r,border:"1px solid rgba(255,92,26,0.40)",borderRadius:8,padding:"clamp(10px,1.2vh,14px) clamp(24px,2.5vw,36px)",whiteSpace:"nowrap"},children:"DEFINE"})}),n.jsx("div",{style:{flex:1,display:"flex",justifyContent:"center"},children:n.jsx("div",{ref:ie,style:{fontFamily:"'JetBrains Mono', monospace",fontSize:"clamp(13px,1.1vw,16px)",letterSpacing:"0.12em",fontWeight:600,color:"#fff",background:"linear-gradient(135deg, #FF5C1A 0%, #CC2200 100%)",borderRadius:8,padding:"clamp(10px,1.2vh,14px) clamp(24px,2.5vw,36px)",whiteSpace:"nowrap",boxShadow:"0 0 32px rgba(255,92,26,0.45)"},children:"SHAPE"})})]})]}),n.jsx("section",{ref:K,className:"pt-8 pb-0",style:{background:r,position:"relative",overflow:"hidden",padding:"0 clamp(22px,4.5vw,72px)"},children:n.jsx("div",{style:{maxWidth:1260,margin:"0 auto"},children:n.jsx("div",{style:{display:"flex",gap:24,alignItems:"stretch",height:"clamp(680px,82vh,920px)"},className:"meth-top-row",children:[{n:"01",label:"UNDERSTAND",title:"Deconstruct the brief.",body:"Most briefs are written wrong. Our engine breaks it into Business Objectives, Audience Insights, and Thematic Principles â the way a senior strategist would before ever touching a concept.",video:"/deconstruct-brief.mp4",img:"/meth-understand.png",bg:`radial-gradient(ellipse 220% 180% at 15% 95%, #D95218 0%, #8B2200 42%, transparent 66%), 41 radial-gradient(ellipse 200% 160% at 88% 92%, #C04020 0%, transparent 52%), 42 radial-gradient(ellipse 180% 160% at 50% 38%, #5C1200 0%, transparent 58%), 43 #1C0600`},{n:"02",label:"DEFINE",title:"Find the human truth.",body:"We find the single core insight â Behaviour + Desire + Conflict â that everything else is built on. The step most AI tools skip entirely.",video:"/human-truth.mp4",img:"/meth-define.png",bg:`radial-gradient(ellipse 200% 170% at 50% 98%, #D95218 0%, #8B2200 42%, transparent 66%), 44 radial-gradient(ellipse 170% 140% at 10% 85%, #C04020 0%, transparent 52%), 45 radial-gradient(ellipse 170% 140% at 90% 85%, #C04020 0%, transparent 52%), 46 radial-gradient(ellipse 160% 140% at 50% 32%, #5C1200 0%, transparent 58%), 47 #1C0600`},{n:"03",label:"SHAPE",title:"Build the platform.",body:"Strategy crystallises into a creative platform â mapping every dimension of the idea from concept to execution across any discipline.",video:"/build-platform.mp4",img:"/meth-shape.png",bg:`radial-gradient(ellipse 220% 180% at 88% 95%, #D95218 0%, #8B2200 42%, transparent 66%), 48 radial-gradient(ellipse 200% 160% at 12% 92%, #C04020 0%, transparent 52%), 49 radial-gradient(ellipse 180% 160% at 50% 38%, #5C1200 0%, transparent 58%), 50 #1C0600`}].map((b,R)=>n.jsxs("div",{className:"meth-col",style:{flex:1,minWidth:0,border:`1px solid ${t?"rgba(255,255,255,0.08)":"rgba(26,5,0,0.10)"}`,borderRadius:14,overflow:"hidden",display:"flex",flexDirection:"column",background:t?"#130300":"#f7f4f2",opacity:0}
50,children:[n.jsxs("div",{style:{padding:"clamp(18px,2vw,26px) clamp(18px,1.8vw,24px) clamp(56px,7vh,72px)",flex:"0 0 clamp(230px,28vh,300px)",overflow:"hidden",display:"flex",flexDirection:"column",gap:12,borderBottom:`1px solid ${t?"rgba(255,255,255,0.06)":"rgba(26,5,0,0.08)"}`},children:[n.jsx("p",{className:"font-['JetBrains_Mono'] uppercase",style:{fontSize:10,letterSpacing:"0.30em",color:G,margin:0,marginBottom:0},children:"The Methodology"}),n.jsxs("p",{className:"font-['JetBrains_Mono'] uppercase",style:{fontSize:10,letterSpacing:"0.24em",color:t?"rgba(255,255,255,0.30)":"rgba(26,5,0,0.40)",margin:0},children:[n.jsxs("span",{style:{color:G},children:["Phase ",b.n]})," · ",b.label]}),n.jsx("p",{className:"font-['JetBrains_Mono']",style:{fontSize:"clamp(15px,1.5vw,20px)",fontWeight:700,lineHeight:1.3,color:t?"#fff":"#1A0500",margin:0},children:b.title}),n.jsx("p",{className:"font-['JetBrains_Mono']",style:{fontSize:"clamp(11px,0.95vw,12px)",lineHeight:1.75,color:t?"rgba(255,255,255,0.45)":"rgba(26,5,0,0.55)",margin:0},children:b.body})]}),n.jsx("div",{style:{flex:1,position:"relative",overflow:"hidden"},children:n.jsx(ju,{phase:R})})]},R))})})}),n.jsx("div",{style:{background:r},children:n.jsx(p.Suspense,{fallback:null,children:n.jsx(bu,{})})}),n.jsx("section",{style:{background:r,padding:"24px clamp(22px,4.5vw,72px) 53px",position:"relative",overflow:"hidden"},children:n.jsx("div",{style:{maxWidth:1260,margin:"0 auto"},children:n.jsxs("div",{className:"reveal-up chatgpt-section-inner",style:{background:t?"rgba(255,255,255,0.03)":"rgba(26,5,0,0.02)",border:"1px solid rgba(255,92,26,0.14)",borderRadius:22,padding:"clamp(28px,5vh,64px) clamp(20px,5vw,70px)",boxShadow:t?"0 0 0 1px rgba(0,0,0,0.4) inset":"0 0 0 1px rgba(26,5,0,0.05) inset",display:"flex",alignItems:"stretch",gap:"clamp(32px,4.4vw,70px)",overflow:"hidden",position:"relative"},children:[n.jsxs("div",{className:"chatgpt-section-left",style:{flex:"0 0 38%",minWidth:0,position:"relative",zIndex:1,display:"flex",flexDirection:"column",justifyContent:"space-between",minHeight:"clamp(370px,50vh,546px)"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[n.jsx("img",{src:"/strite-app-icon.png",alt:"Strite.ai",style:{width:16,height:16,objectFit:"cover",borderRadius:4}}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:11,color:"var(--lp-fg20)"},children:"Ã"}),n.jsx("img",{src:"/chatgpt-icon.png",alt:"ChatGPT",style:{width:16,height:16,objectFit:"cover",borderRadius:4}}),n.jsx("span",{style:{width:1,height:10,background:"var(--lp-fg10)",display:"inline-block",margin:"0 4px"}}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:10,color:"var(--lp-fg35)",letterSpacing:"0.30em",textTransform:"uppercase"},children:"ChatGPT Integration"})]}),n.jsxs("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:"clamp(13px,1.54vw,18px)",lineHeight:1.65,margin:"40px 0",color:"var(--lp-fg40)"},children:[n.jsx("span",{style:{color:o,fontWeight:700},children:"Brief in chat. Strategy in 90. "}),"Your brief lives in ChatGPT. Your strategy deck lives in Strite. One conversation â 16 cards, straight to your dashboard. No new tools. Just results."]}),n.jsx("div",{style:{display:"flex",flexDirection:"column",borderTop:"1px solid var(--lp-fg06)",marginBottom:32},children:[{n:"01",label:"Get API key",sub:"Settings â API Access"},{n:"02",label:"Open the GPT",sub:"Search 'Strite.ai' in store"},{n:"03",label:"Brief + generate",sub:"60-second deck. Done."}].map((b,R)=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:20,padding:"14px 0",borderBottom:"1px solid var(--lp-fg06)"},children:[n.jsx("span",{style:{fontFamily:"'JetBrains Mono', sans-serif",fontSize:12,color:`${G}55`,letterSpacing:"0.08em",flexShrink:0,minWidth:26},children:b.n}),n.jsxs("div",{style:{flex:1},children:[n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:"clamp(10px,0.9vw,12px)",color:"var(--lp-fg55)",textTransform:"uppercase",letterSpacing:"0.14em",display:"block"},children:b.label}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:10,
50color:"var(--lp-fg28)",letterSpacing:"0.06em"},children:b.sub})]})]},R))}),n.jsxs("div",{style:{display:"flex",gap:10,flexWrap:"wrap"},children:[n.jsx("a",{href:"/integrations/chatgpt",style:{fontFamily:"'JetBrains Mono', monospace",fontSize:11,letterSpacing:"0.22em",textTransform:"uppercase",color:"white",background:G,border:`1px solid ${G}`,borderRadius:4,padding:"13px 24px",textDecoration:"none",display:"inline-block",transition:"background 0.2s, border-color 0.2s"},onMouseEnter:b=>{b.currentTarget.style.background="#FF2D00",b.currentTarget.style.borderColor="#FF2D00"},onMouseLeave:b=>{b.currentTarget.style.background=G,b.currentTarget.style.borderColor=G},children:"Set Up â"}),n.jsx("a",{href:"https://chatgpt.com/g/g-6a1aa85ead50819195b172807dff71d3-strite-ai-creative-strategy",target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"'JetBrains Mono', monospace",fontSize:11,letterSpacing:"0.22em",textTransform:"uppercase",color:o,background:"none",border:"1px solid var(--lp-fg35)",borderRadius:4,padding:"13px 24px",textDecoration:"none",display:"inline-block",transition:"color 0.2s, border-color 0.2s"},onMouseEnter:b=>{b.currentTarget.style.borderColor="var(--lp-fg55)"},onMouseLeave:b=>{b.currentTarget.style.borderColor="var(--lp-fg35)"},children:"Open in ChatGPT â"})]})]}),n.jsxs("div",{className:"chatgpt-section-right",style:{flex:1,minWidth:0,position:"relative",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[n.jsx("div",{className:"chatgpt-gradient-backdrop",style:{position:"absolute",inset:"-72px -80px -72px 0px",background:["radial-gradient(ellipse at 82% 95%, #D95218 0%, #8B2200 42%, transparent 65%)","radial-gradient(ellipse at 18% 90%, #C04020 0%, transparent 52%)","radial-gradient(ellipse at 82% 5%, #C84A18 0%, #7A1A00 40%, transparent 65%)","radial-gradient(ellipse at 18% 8%, #B03820 0%, transparent 52%)","radial-gradient(ellipse at 50% 50%, #3A0C00 0%, transparent 72%)","#1C0600"].join(", "),zIndex:0}}),n.jsxs("div",{className:"chatgpt-window",style:{position:"relative",zIndex:1,width:"100%",transform:"translateX(40px)",background:t?"#1A0800":"#f0ede8",borderRadius:12,border:`1px solid ${t?"rgba(255,255,255,0.08)":"rgba(26,5,0,0.12)"}`,boxShadow:t?["0 0 0 1px rgba(0,0,0,0.9)","0 0 80px rgba(255,92,26,0.12)"].join(", "):"0 4px 24px rgba(0,0,0,0.10)",overflow:"hidden"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",padding:"11px 16px",gap:7,background:t?"#120500":"#e4e0db",borderBottom:`1px solid ${t?"rgba(255,255,255,0.06)":"rgba(26,5,0,0.08)"}`,flexShrink:0},children:[n.jsx("span",{style:{width:12,height:12,borderRadius:"50%",background:"#FF5F57",display:"inline-block"}}),n.jsx("span",{style:{width:12,height:12,borderRadius:"50%",background:"#FFBD2E",display:"inline-block"}}),n.jsx("span",{style:{width:12,height:12,borderRadius:"50%",background:"#28C840",display:"inline-block"}}),n.jsxs("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",gap:7},children:[n.jsx("img",{src:"/strite-app-icon.png",alt:"Strite.ai",style:{width:11,height:11,borderRadius:2,opacity:.4}}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:10,color:t?"rgba(255,255,255,0.22)":"rgba(26,5,0,0.40)",letterSpacing:"0.12em"},children:"Strite.ai â Creative Strategy · GPT"})]})]}),n.jsx(Su,{})]})]})]})})}),n.jsxs("section",{className:"relative overflow-hidden py-10",style:{background:r},children:[n.jsxs("div",{className:"relative z-10 text-center px-8 mb-12 reveal-up",children:[n.jsx("p",{className:"font-['JetBrains_Mono'] font-bold text-[12px] uppercase tracking-[0.3em] mb-2",style:{color:G},children:"Creative Industry Leaders Want A.I."}),n.jsx("h2",{className:"mb-0 section-title-mobile",style:{fontFamily:"'Anton', sans-serif",fontSize:"clamp(36px,6vw,96px)",letterSpacing:"0.02em",textTransform:"uppercase",fontWeight:400,color:o},children:"We responded."})]}),n.jsxs("div",{className:"relative z-10",style:{WebkitMaskImage:"linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%)",maskImage:"linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%)"},children:[n.jsx("div",{className:"overflow-hidden mb-5",style:{paddingTop:10,paddingBottom:10,marginTop:-10,marginBottom:10},children:n.jsx("div",{ref:_,className:"flex",style:{gap:20,willChange:"transform"},children:[...$r,...$r].map((b,R)=>n.jsxs("div",{className:"testimonial-card",children:[n.jsxs("p",{className:"font-['JetBrains_Mono'] text-sm leading-relaxed mb-6 italic",style:{color:"var(--lp-fg80)",flex:1},children:[n.jsx("span",{style:{color:G},children:'"'}),b.quote,n.jsx("span",{style:{color:G},children:'"'})]}),n.jsx("div",{style:{height:1,background:"var(--lp-fg08)",marginBottom:16}}),n.jsx("div",{className:"flex items-start justify-between gap-4",children:n.jsxs("div",{children:[n.jsx("p",{className:"font-['JetBrains_Mono'] uppercase leading-none mb-1",style:{fontSize:15,color:o},children:b.name}),n.jsx("p",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.18em]",style:{fontSize:11,color:G},children:b.title}),n.jsx("p",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.15em] mt-0.5",style:{fontSize:11,color:"var(--lp-fg45)"},children:b.company})]})}),n.jsx("p",{className:"font-['JetBrains_Mono'] mt-3",style:{fontSize:10,
50color:"var(--lp-fg28)",letterSpacing:"0.05em"},children:b.source})]},R))})}),n.jsx("div",{className:"hidden md:block overflow-hidden",style:{paddingTop:10,paddingBottom:10,marginTop:-10,marginBottom:-10},children:n.jsx("div",{ref:k,className:"flex",style:{gap:20,willChange:"transform"},children:[...Hr,...Hr].map((b,R)=>n.jsxs("div",{className:"testimonial-card",children:[n.jsxs("p",{className:"font-['JetBrains_Mono'] text-sm leading-relaxed mb-6 italic",style:{color:"var(--lp-fg80)",flex:1},children:[n.jsx("span",{style:{color:G},children:'"'}),b.quote,n.jsx("span",{style:{color:G},children:'"'})]}),n.jsx("div",{style:{height:1,background:"var(--lp-fg08)",marginBottom:16}}),n.jsx("div",{className:"flex items-start justify-between gap-4",children:n.jsxs("div",{children:[n.jsx("p",{className:"font-['JetBrains_Mono'] uppercase leading-none mb-1",style:{fontSize:15,color:o},children:b.name}),n.jsx("p",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.18em]",style:{fontSize:11,color:G},children:b.title}),n.jsx("p",{className:"font-['JetBrains_Mono'] uppercase tracking-[0.15em] mt-0.5",style:{fontSize:11,color:"var(--lp-fg45)"},children:b.company})]})}),n.jsx("p",{className:"font-['JetBrains_Mono'] mt-3",style:{fontSize:10,color:"var(--lp-fg28)",letterSpacing:"0.05em"},children:b.source})]},R))})})]}),n.jsx("p",{className:"relative z-10 text-center mt-10 px-8 font-['JetBrains_Mono']",style:{fontSize:11,color:"var(--lp-fg35)",maxWidth:720,margin:"40px auto 0"},children:"All quotes are sourced from public interviews, industry publications, and conference appearances. These individuals have not endorsed Strite.ai and their views are their own."})]}),(()=>{const b=[{q:"What exactly is Strite.ai? How do I explain it to my team?",a:"Strite.ai is a creative strategy engine. You feed it a brief; it returns a 16-card strategy deck â problem, insight, platform, experience architecture â in about 90 seconds. Tell your team it isn't a writing tool. It's the strategic thinking layer that turns a blank page into a defensible point of view.",tag:"On what it actually is"},{q:"Is Strite.ai built for agencies our size?",a:"Whether you're a two-person studio or a global network, the bottleneck is the same: senior strategic thinking doesn't scale. Strite.ai gives every brief the rigour of a creative director â so a small team punches above its weight, and a large team stops burning senior hours on first drafts.",tag:"On agency scale"},{q:"Can't I just use ChatGPT for this?",a:"You can ask ChatGPT to write a strategy. You'll get words. Strite.ai runs a structured three-phase methodology â Understand, Define, Shape â the same process senior creative directors follow. The difference is the thinking behind the output, not just the output itself.",tag:"On methodology vs. prompts"},{q:"We already live in Gemini or Copilot â where does Strite.ai fit?",a:"Those are general assistants. Strite.ai is a specialist. Keep using them for email and notes â then bring the actual brief here when you need a structured strategic deck, not a paragraph. It sits at the top of your funnel, where the thinking happens.",tag:"On your existing stack"},{q:"What data does it run on? How is it better than what we have?",a:"It doesn't scrape a generic web model and hope. Every output is shaped by an encoded methodology built from award-winning creative strategy â the frameworks the best directors actually use. The advantage isn't more data. It's the right thinking applied to your brief.",tag:"On what powers it"},{q:"Is this just an AI that guesses?",a:"No. Every output is anchored to a proven strategic framework â Problem Statement, Human Insight, Strategic Platform, Experience Architecture. These aren't AI inventions. They're the foundations of award-winning creative strategy, encoded into an engine.",tag:"On strategic rigour"},{q:"Why would I trust AI with a real client brief?",a:"Because you're not trusting AI. You're using a tool built on the methodology of the best creative minds in the industry. Strite.ai gives you the strategic scaffold. You bring the creative judgment. Together, that beats a blank page every time.",tag:"On human + AI collaboration"},{q:"We're doing confidential client work â how do we know it's safe?",a:"Your briefs are yours. We don't train public models on your inputs, and your strategic work stays inside your account. You bring sensitive client context; Strite.ai treats it as exactly that â confidential.",tag:"On confidentiality"},{q:"We work in a hyper-niche category â can it still help?",a:"The methodology is category-agnostic, because great strategy is. Luxury fashion or industrial B2B, the questions are the same: what's the real problem, what's the human truth, what's the platform. You supply the context; the engine supplies the rigour.",tag:"On niche industries"},{q:"Who owns the work I create in Strite.ai?",a:"You do. Every deck, every strategic platform, every line you generate is y
50ours to pitch, refine, and sell. Strite.ai is the tool â the work, and the credit, belong to you and your client.",tag:"On ownership"}];return n.jsx("section",{className:"relative overflow-hidden",style:{background:r,padding:"80px clamp(24px,5vw,80px) 48px"},children:n.jsxs("div",{style:{maxWidth:900,margin:"0 auto",position:"relative",zIndex:1},children:[n.jsxs("div",{className:"text-center reveal-up",style:{marginBottom:56},children:[n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontWeight:700,fontSize:12,textTransform:"uppercase",letterSpacing:"0.30em",color:G,marginBottom:16},children:"Find Out More"}),n.jsxs("div",{className:"section-title-mobile",style:{fontSize:"clamp(20px,3.5vw,52px)",lineHeight:1.1},children:[n.jsx("span",{style:{fontFamily:"'Anton', sans-serif",textTransform:"uppercase",color:o},children:"FREQUENTLY ASKED "}),n.jsx("span",{style:{fontFamily:"'Anton', sans-serif",textTransform:"uppercase",color:G},children:"QUESTIONS."})]})]}),n.jsx("div",{style:{display:"flex",flexDirection:"column",gap:10},children:b.map((R,Y)=>{const Z=We===Y;return n.jsxs("div",{style:{background:Z?"rgba(255,92,26,0.05)":"var(--lp-fg03)",border:`1px solid ${Z?"rgba(255,92,26,0.22)":"var(--lp-fg07)"}`,borderRadius:14,overflow:"hidden",transition:"background 0.35s, border-color 0.35s",boxShadow:Z?"0 0 40px rgba(255,92,26,0.06)":"none"},children:[n.jsxs("button",{className:"text-left w-full flex items-center gap-5",style:{cursor:"none",background:"transparent",padding:"22px 28px"},onClick:()=>ln(Z?-1:Y),"data-hover":!0,"aria-expanded":Z,children:[n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:11,letterSpacing:"0.22em",color:Z?G:"var(--lp-fg18)",flexShrink:0,transition:"color 0.3s",minWidth:28},children:String(Y+1).padStart(2,"0")}),n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontWeight:700,fontSize:"clamp(12px,1.3vw,16px)",textTransform:"uppercase",letterSpacing:"0.05em",lineHeight:1.45,color:Z?o:"var(--lp-fg55)",flex:1,transition:"color 0.3s",margin:0},children:R.q}),n.jsx("span",{style:{color:G,fontSize:22,lineHeight:1,flexShrink:0,transform:Z?"rotate(45deg)":"rotate(0deg)",transition:"transform 0.35s",display:"inline-block"},children:"+"})]}),n.jsx("div",{style:{maxHeight:Z?500:0,overflow:"hidden",opacity:Z?1:0,transition:"max-height 0.5s ease, opacity 0.3s ease"},children:n.jsxs("div",{className:"faq-answer-body",style:{padding:"0 28px 28px",paddingLeft:"calc(28px + 28px + 20px)"},children:[n.jsxs("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:10,textTransform:"uppercase",letterSpacing:"0.30em",color:`${G}88`,marginBottom:14},children:[String(Y+1).padStart(2,"0")," â ",R.tag]}),n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:"clamp(13px,1.2vw,15px)",lineHeight:1.8,color:"var(--lp-fg55)",marginBottom:22},children:R.a}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14},children:[n.jsx("div",{style:{width:32,height:1,background:G,flexShrink:0}}),n.jsx("span",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:10,textTransform:"uppercase",letterSpacing:"0.25em",color:"var(--lp-fg45)"},children:"STRITE.AI â Built on proven methodology"})]})]})})]},Y)})})]})})})(),n.jsx("section",{id:"pricing",className:"relative overflow-hidden",style:{background:r,padding:"40px clamp(24px,5vw,80px) 48px"},children:n.jsxs("div",{className:"relative z-10 text-center w-full max-w-6xl mx-auto",children:[n.jsxs("div",{className:"reveal-up",style:{marginBottom:48},children:[n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontWeight:700,fontSize:12,textTransform:"uppercase",letterSpacing:"0.30em",color:G,marginBottom:16},children:"Simple, honest pricing"}),n.jsxs("div",{className:"pricing-section-title",style:{fontSize:"clamp(32px,6vw,96px)",lineHeight:1.05},children:[n.jsx("span",{style:{fontFamily:"'Anton', sans-serif",textTransform:"uppercase",color:o},children:"START FOR "}),n.jsx("span",{style:{fontFamily:"'Anton', sans-serif",textTransform:"uppercase",color:G},children:"FREE."})]})]}),n.jsx(hu,{})]})}),n.jsxs("section",{id:"cta-section",style:{background:r,padding:"48px 24px 0",overflow:"hidden"},children:[n.jsxs("div",{className:"cta-section-header",style:{textAlign:"center"},children:[n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:12,letterSpacing:"0.36em",color:G,marginBottom:20,textTransform:"uppercase"},children:"Ready when you are"}),n.jsxs("h2",{style:{fontFamily:"'Anton', sans-serif",fontSize:"clamp(40px,6vw,80px)",color:o,lineHeight:1.05,letterSpacing:"0.02em",fontWeight:400,textTransform:"uppercase",marginBottom:24},children:["Build your strategy.",n.jsx("br",{}),"Right now."]}),n.jsx("p",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:15,color:"var(--lp-fg45)",marginBottom:44},children:"Paste a brief. Get 16 cards. Ready to pitch."}),n.jsx("div",{style:{display:"flex",gap:14,justifyContent:"center",alignItems:"center"},children:n.jsx(Ce,{href:"/sign-up",children:n.jsx("button",{style:{fontFamily:"'JetBrains Mono', monospace",fontSize:12,letterSpacing:"0.16em",textTransform:"uppercase",background:G,color:"white",border:"none",borderRadius:8,padding:"13px 30px",cursor:"pointer"},children:"Start Free â"})})})]}),n.jsxs("div",{className:"cta-mockup",style:{maxWidth:1060,margin:"0 auto",position:"relative"},children:[n.jsx("div",{style:{position:"absolute",top:-80,left:"-10%",right:"-10%",height:240,background:`radial-gradient(ellipse at 50% 0%, rgba(255,92,26,${t?"0.10":"0.06"}) 0%, transparent 60%)`,filter:"blur(55px)",pointerEvents:"none",zIndex:0}}),n.jsx("div",{style:{position:"absolute",top:-24,left:-24,width:340,height:220,background:`radial-gradient(ellipse at 5% 5%, rgba(255,92,26,${t?"0.18":"0.08"}) 0%, transparent 62%)`,filter:"blur(38px)",pointerEvents:"none",zIndex:0}}),n.jsxs("div",{style:{display:"flex",gap:12,alignItems:"flex-start",position:"relative",zIndex:1,fontFamily:"'JetBrains Mono', monospace"},children:[n.jsxs("aside",{className:"cta-sidebar",style:{width:96,flexShrink:0,height:400,borderRadius:22,position:"relative",boxShadow:t?"inset 1px 0 0 rgba(255,92,26,0.55), inset 0 1px 0 rgba(255,92,26,0.55)":"0 2px 16px rgba(26,5,0,0.08), inset 1px 0 0 rgba(255,92,26,0.30), inset 0 1px 0 rgba(255,92,26,0.30)",background:t?"rgba(255,255,255,0.05)":"#f7f4f2",border:t?"none":"1px solid rgba(26,5,0,0.09)",backdropFilter:t?"blur(20px)":"none",WebkitBackdropFilter:t?"blur(20px)":"none",display:"flex",flexDirection:"column",overflow:"hidden"},children:[n.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"22px 12px",borderBottom:`1px solid ${t?"rgba(255,255,255,0.06)":"rgba(26,5,0,0.08)"}`,flexShrink:0},children:n.jsx("img",{src:"/strite-icon.png",alt:"Strite",style:{height:36,opacity:.85,filter:`drop-shadow(0 0 8px ${G}) drop-shadow(0 0 20px rgba(255,92,26,0.60))`}})}),n.jsx("div",{style:{display:"flex",justifyContent:"center",padding:"16px 12px 4px",flexShrink:0},children:n.jsx("div",{style:{padding:8,lineHeight:0,color:t?"rgba(255,255,255,0.28)":"rgba(26,5,0,0.28)",borderRadius:12},children:n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{width:22,height:22},children:[n.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),n.jsx("line",{x1:"9",x2:"9",y1:"4.5",y2:"19.5"}),n.jsx("path",{d:"m12 8 4 4-4 4"})]})})}),n.jsx("div",{style:{padding:"6px 12px",flexShrink:0},children:n.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:14,background:"rgba(255,92,26,0.10)",border:"1px solid rgba(255,92,26,0.45)",borderRadius:16,color:G,boxShadow:"0 0 14px rgba(255,92,26,0.38), 0 0 32px rgba(255,92,26,0.16)"},children:n.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",style:{filter:`drop-shadow(0 0 6px ${G}) drop-shadow(0 0 14px rgba(255,92,26,0.65))`},children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})})}),n.jsxs("div",{style:{flex:1,padding:"12px 12px 6px"},children:[n.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"13px 0",borderRadius:16,background:"rgba(255,92,26,0.12)"},children:n.jsx("span",{style:{color:G,lineHeight:0,filter:`drop-shadow(0 0 6px ${G}) drop-shadow(0 0 16px rgba(255,92,26,0.65))`},children:n.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[n.jsx("path",{d:"M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z"}),n.jsx("polyline",{points:"9 22 9 12 15 12 15 22"})]})})}),n.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"13px 0",borderRadius:16,marginTop:4},children:n.jsx("span",{style:{color:t?"rgba(255,255,255,0.35)":"rgba(26,5,0,0.30)",lineHeight:0},children:n.jsx("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:n.jsx("path",{d:"M22 19a2 2 0 01-2 2H4a2 2 0 01-2-2V5a2 2 0 012-2h5l2 3h9a2 2 0 012 2z"})})})}),n.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"13px 0",borderRadius:16,marginTop:4},children:n.jsx("span",{style:{color:t?"rgba(255,255,255,0.35)":"rgba(26,5,0,0.30)",lineHeight:0},children:n.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[n.jsx("line",{x1:"18",y1:"20",x2:"18",y2:"10"}),n.jsx("line",{x1:"12",y1:"20",x2:"12",y2:"4"}),n.jsx("line",{x1:"6",y1:"20",x2:"6",y2:"14"})]})})})]}),n.jsx("div",{style:{borderTop:`1px solid ${t?"rgba(255,255,255,0.06)":"rgba(26,5,0,0.08)"}`,padding:"14px 12px",flexShrink:0,display:"flex",justifyContent:"center"},children:n.jsx("div",{style:{width:44,height:44,borderRadius:"50%",background:`linear-gradient(135deg, ${G}, #8B1A00)`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:17,fontWeight:700,color:"white"},children:"A"})})]}),n.jsxs("div",{className:"cta-main-panel",style:{flex:1,height:400,borderRadius:22,position:"relative",boxShadow:t?"inset 1px 0 0 rgba(255,92,26,0.38), inset 0 1px 0 rgba(255,92,26,0.38)":"0 2px 16px rgba(26,5,0,0.08), inset 1px 0 0 rgba(255,92,26,0.20), inset 0 1px 0 rgba(255,92,26,0.20)",background:t?"rgba(255,255,255,0.03)":"#faf8f6",border:t?"none":"1px solid rgba(26,5,0,0.09)",backdropFilter:t?"blur(16px)":"none",WebkitBackdropFilter:t?"blur(16px)":"none",overflow:"hidden",display:"flex",flexDirection:"column"},children:[n.jsxs("div",{className:"cta-panel-greeting",style:{padding:"52px 64px 38px",borderBottom:`1px solid ${t?"rgba(255,255,255,0.04)":"rgba(26,5,0,0.07)"}`,flexShrink:0},children:[n.jsx("p",{style:{fontSize:16,letterSpacing:"0.28em",textTransform:"uppercase",color:t?"rgba(255,255,255,0.25)":"rgba(26,5,0,0.35)",marginBottom:12},children:"Projects"}),n.jsxs("p",{style:{fontSize:36,color:t?"rgba(255,255,255,0.55)":"rgba(26,5,0,0.65)",lineHeight:1.4,margin:0},children:["Ready to ",n.jsx("span",{style:{color:G},children:"build?"})]})]}),n.jsxs("div",{className:"cta-panel-content",style:{padding:"28px 64px"},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:22},children:[n.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:14},children:[n.jsx("span",{style:{fontSize:20,textTransform:"uppercase",color:t?"white":"rgba(26,5,0,0.90)",letterSpacing:"0.02em"},children:"All Projects"}),n.jsx("span",{style:{fontSize:15,color:t?"rgba(255,255,255,0.25)":"rgba(26,5,0,0.35)",letterSpacing:"0.18em"},children:"15 projects"})]}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"9px 16px",border:`1px solid ${t?"rgba(255,255,255,0.10)":"rgba(26,5,0,0.12)"}`,borderRadius:14,background:t?"rgba(255,255,255,0.04)":"rgba(26,5,0,0.04)",color:t?"rgba(255,255,255,0.5)":"rgba(26,5,0,0.45)",fontSize:14,letterSpacing:"0.14em",textTransform:"uppercase"},children:[n.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[n.jsx("line",{x1:"21",y1:"10",x2:"3",y2:"10"}),n.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),n.jsx("line",{x1:"21",y1:"18",x2:"3",y2:"18"})]}),"View"]}
50)]}),n.jsx("div",{style:{display:"flex",flexDirection:"column",gap:9},children:[{n:"01",title:"Nike Air Max â Summer Drop",client:"NIKE · BRAND EXPERIENCE",date:"Jun 28, 2026"},{n:"02",title:"Johnnie Walker Asia Launch",client:"DIAGEO · MARKETING",date:"Jun 22, 2026"},{n:"03",title:"Prada Digital Identity",client:"PRADA · DESIGN",date:"Jun 15, 2026"}].map(b=>n.jsxs("div",{style:{background:t?"rgba(255,255,255,0.04)":"rgba(26,5,0,0.04)",border:`1px solid ${t?"rgba(255,255,255,0.08)":"rgba(26,5,0,0.08)"}`,borderRadius:14,padding:"20px 26px",display:"flex",alignItems:"center",gap:20},children:[n.jsx("span",{style:{fontSize:18,color:`${G}60`,width:32,textAlign:"right",flexShrink:0,lineHeight:1},children:b.n}),n.jsxs("div",{style:{flex:1,minWidth:0},children:[n.jsx("p",{style:{fontSize:20,color:t?"rgba(255,255,255,0.88)":"rgba(26,5,0,0.88)",margin:0,lineHeight:1.3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:b.title}),n.jsx("p",{style:{fontSize:14,color:G,textTransform:"uppercase",letterSpacing:"0.18em",marginTop:5},children:b.client})]}),n.jsx("span",{style:{fontSize:13,color:t?"rgba(255,255,255,0.28)":"rgba(26,5,0,0.35)",flexShrink:0,letterSpacing:"0.12em",textTransform:"uppercase"},children:b.date})]},b.n))})]})]})]}),n.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:180,background:`linear-gradient(to bottom, transparent, ${t?"#0D0200":"#ffffff"})`,pointerEvents:"none",zIndex:10}}),n.jsx("div",{style:{position:"absolute",top:0,right:0,bottom:0,width:160,background:`linear-gradient(to right, transparent, ${t?"#0D0200":"#ffffff"})`,pointerEvents:"none",zIndex:10}})]})]}),n.jsx(Qc,{})]}),d&&n.jsx(p.Suspense,{fallback:null,children:n.jsx(vu,{onClose:()=>u(!1)})}),n.jsx(Zc,{data:[{"@context":"https://schema.org","@type":"Organization",name:"Strite.ai",url:"https://strite.ai",logo:"https://strite.ai/strite-logo.png",description:"AI-powered creative strategy engine. From brief to award-winning campaign deck in 90 seconds.",email:"[email protected]",sameAs:["https://instagram.com/strite.ai","https://linkedin.com/company/striteai","https://x.com/striteai"]},{"@context":"https://schema.org","@type":"WebSite",name:"Strite.ai",url:"https://strite.ai",description:"AI-powered creative strategy engine. Generate 16-card strategy decks for marketing, PR, TVC, audio ads, brand experience, and design in 90 seconds."}]})]})}const Tu=p.lazy(()=>oe(()=>import("./SignInPage-CKim3vIJ.js"),__vite__mapDeps([18,1,3,16,4,5,2,19,20]))),qr=p.lazy(()=>oe(()=>import("./SignUpPage-DJYK4vuQ.js"),__vite__mapDeps([21,1,3,16,4,5,2,19,20]))),Ru=p.lazy(()=>oe(()=>import("./DashboardPage-BFoMYFBd.js"),__vite__mapDeps([22,1,3,23,4,24,10,11,25,26,27,5,2]))),Au=p.lazy(()=>oe(()=>import("./HomePage-BJ97AayD.js"),__vite__mapDeps([28,1,3,10,29,11,30,31,5,24,25,4,2]))),Iu=p.lazy(()=>oe(()=>import("./StudioPage-BIDRlV9W.js"),__vite__mapDeps([32,1,3,4,5,31,10,33,12,2]))),Pu=p.lazy(()=>oe(()=>import("./ViewStrategyPage-D_TQBoGL.js"),__vite__mapDeps([34,1,4,35,3,23,10,36,37,26,12,33,38,9,11,29,39,31,40,5,2]))),Ou=p.lazy(()=>oe(()=>import("./not-found-BinGDkSh.js"),__vite__mapDeps([41,1,10,3,4,5,2]))),kt=p.lazy(()=>oe(()=>import("./DisciplinePage-1qbwMb0t.js"),__vite__mapDeps([42,1,3,4,5,2]))),Mu=p.lazy(()=>oe(()=>import("./PrivacyPage-BMuwWv7w.js"),__vite__mapDeps([43,1,44,3,4,5,2]))),Fu=p.lazy(()=>oe(()=>import("./SecurityPage-CXxnx_V7.js"),__vite__mapDeps([45,1,3,4,5,2]))),Nu=p.lazy(()=>oe(()=>import("./TermsPage-2DUPOvMU.js"),__vite__mapDeps([46,1,44,3,4,5,2]))),Lu=p.lazy(()=>oe(()=>import("./CookiesPage-Dts3qYRF.js"),__vite__mapDeps([47,1,44,3,4,5,2]))),_u=p.lazy(()=>oe(()=>import("./EulaPage-CF9CRbS6.js"),__vite__mapDeps([48,1,44,3,4,5,2]))),Bu=p.lazy(()=>oe(()=>import("./DisclaimerPage-BCfrtkre.js"),__vite__mapDeps([49,1,44,3,4,5,2]))),Du=p.lazy(()=>oe(()=>import("./AcceptableUsePage-AhRlMIfI.js"),__vite__mapDeps([50,1,44,3,4,5,2]))),zu=p.lazy(()=>oe(()=>import("./RefundPolicyPage--QxmHJS3.js"),__vite__mapDeps([51,1,44,3,4,5,2]))),Wu=p.lazy(()=>oe(()=>import("./PricingPage-xz_GoWYq.js"),__vite__mapDeps([52,1,3,4,5,2]))),$u=p.lazy(()=>oe(()=>import("./TokensPage-BOl2KsgX.js"),__vite__mapDeps([53,1,3,36,10,30,4,5,2]))),Hu=p.lazy(()=>oe(()=>import("./ApiSettings-BrvwUOZk.js"),__vite__mapDeps([54,1,3,36,10,55,11,33,38,27,4,5,2]))),Uu=p.lazy(()=>oe(()=>import("./VerifyEmailPage-3bUtTrPh.js"),__vite__mapDeps([56,1,3,20,4,5,2]))),qu=p.lazy(()=>oe(()=>import("./ContactPage-C1G37Uhk.js"),__vite__mapDeps([57,1,44,3,4,5,2]))),Vu=p.lazy(()=>oe(()=>import("./IntegrationsGPT-dNxjNXaC.js"),__vite__mapDeps([58,1,44,3,4,5,2]))),Ju=p.lazy(()=>oe(()=>import("./DeleteAccountPage-D0dMtGQk.js"),__vite__mapDeps([59,1,3,36,10,60,40,4,5,2]))),Gu=p.lazy(()=>oe(()=>import("./UseCasesMarketingPage-BOyG7AQg.js"),__vite__mapDeps([61,1,44,3,13,62,4,5,2]))),Yu=p.lazy(()=>oe(()=>import("./UseCasesFoundersPage-CKfQ7AQQ.js"),__vite__mapDeps([63,1,64,62,14,3,4,5,2]))),Ku=p.lazy(()=>oe(()=>import("./UseCasesFreelancePage-auLhmgwZ.js"),__vite__mapDeps([65,1,64,62,7,3,4,5,2]))),Xu=p.lazy(()=>oe(()=>import("./UseCasesAgenciesPage-DH27WXYt.js"),__vite__mapDeps([66,1,64,62,8,9,10,11,12,3,4,5,2]))),Qu=p.lazy(()=>oe(()=>import("./UseCasesCreativeDirectorsPage-zVi-W3T6.js"),__vite__mapDeps([67,1,64,62,14,3,4,5,2]))),Zu=p.lazy(()=>oe(()=>import("./UseCasesPRPage-C1ijKZnA.js"),__vite__mapDeps([68,1,64,62,13,3,4,5,2]))),ep=
50p.lazy(()=>oe(()=>import("./UseCasesDesignersPage-BDOdLwRg.js"),__vite__mapDeps([69,1,64,62,8,9,10,11,12,3,4,5,2]))),tp=p.lazy(()=>oe(()=>import("./AuthenticatedLayout-B4cXeN2Q.js"),__vite__mapDeps([70,1,3,4,71,10,25,31,30,11,60,55,27,5,2]))),np=p.lazy(()=>oe(()=>import("./AdminStrategyPage-ByhXwGCg.js"),__vite__mapDeps([72,1,35,26,10,40,37,3,4,5,2]))),rp=p.lazy(()=>oe(()=>import("./AdminPanelPage-B1hNUeVs.js"),__vite__mapDeps([73,1,35,10,71,26,40,31,39,3,4,5,2]))),bs=Cs(window.location.hostname,"pk_live_Y2xlcmsuc3RyaXRlLmFpJA"),st="/".replace(/\/$/,""),op="/api/__clerk";function Vr(e){return st&&e.startsWith(st)?e.slice(st.length)||"/":e}if(!bs)throw new Error("Missing VITE_CLERK_PUBLISHABLE_KEY in .env file");const sp={theme:Rs.shadcn,cssLayerName:"clerk",options:{logoPlacement:"inside",logoLinkUrl:st||"/",logoImageUrl:`${window.location.origin}${st}/logo.svg`},variables:{colorPrimary:"#FF5C1A",colorBackground:"#0D0200",colorForeground:"#FFFFFF",colorMutedForeground:"#A08070",colorInput:"rgba(255,255,255,0.04)",colorInputForeground:"#FFFFFF",colorNeutral:"#3A1505",colorDanger:"#ef4444",fontFamily:"'JetBrains Mono', monospace",borderRadius:"0px"},elements:{rootBox:"w-full flex justify-center",cardBox:{width:"440px",maxWidth:"100%",overflow:"hidden",border:"1px solid rgba(255,92,26,0.22)",background:"rgba(13,2,0,0.72)",backdropFilter:"blur(28px)",WebkitBackdropFilter:"blur(28px)",boxShadow:"0 0 80px rgba(196,74,26,0.12), inset 0 1px 0 rgba(255,255,255,0.06)"},card:"!shadow-none !border-0 !bg-transparent !rounded-none",footer:{boxShadow:"none",border:"none",background:"rgba(255,92,26,0.04)",borderTop:"1px solid rgba(255,92,26,0.12)"},headerTitle:{color:"#FFFFFF",textTransform:"uppercase",letterSpacing:"0.15em",fontWeight:"700"},headerSubtitle:{color:"#A08070"},socialButtonsBlockButtonText:"text-white",formFieldLabel:{color:"#A08070",textTransform:"uppercase",letterSpacing:"0.12em",fontSize:"10px"},footerActionLink:{color:"#FF5C1A"},footerActionText:{color:"#A08070"},dividerText:{color:"#A08070"},identityPreviewEditButton:{color:"#FF5C1A"},formFieldSuccessText:"text-white",alertText:"text-white",formButtonPrimary:{background:"#FF5C1A",color:"#fff",borderRadius:"0px",textTransform:"uppercase",letterSpacing:"0.12em"},formFieldInput:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,92,26,0.20)",color:"#fff",borderRadius:"10px",padding:"18px 18px",fontSize:"14px"},logoBox:"mb-2 flex justify-center",logoImage:"h-10 w-auto",socialButtonsBlockButton:{border:"1px solid rgba(255,92,26,0.18)",background:"rgba(255,255,255,0.03)",borderRadius:"0px"},footerAction:{background:"transparent",marginTop:"0"},dividerLine:{background:"rgba(255,92,26,0.15)"},alert:{background:"rgba(239,68,68,0.08)",border:"1px solid rgba(239,68,68,0.30)"},otpCodeFieldInput:{border:"1px solid rgba(255,92,26,0.20)",background:"rgba(255,255,255,0.05)",color:"#fff",borderRadius:"0px"},formFieldRow:"mb-4",main:"px-8 py-6"}};function ip(){const[e]=Ft();return p.useEffect(()=>{window.scrollTo(0,0)},[e]),null}const ap=new Is;function lp(){const{addListener:e}=As(),t=Os(),r=p.useRef(void 0);return p.useEffect(()=>e(({user:s})=>{const i=s?.id??null;r.current!==void 0&&r.current!==i&&t.clear(),r.current=i}),[e,t]),null}function cp(){const{isLoaded:e,isSignedIn:t}=On();return e&&t?n.jsx(wn,{to:"/studio"}):n.jsx(Cu,{})}function rt({component:e}){const{user:t,isLoaded:r}=On(),o=!r||!t||(t.emailAddresses.length>0?t.emailAddresses[0].verification?.status==="verified":!0);return n.jsxs(n.Fragment,{children:[n.jsx(er,{when:"signed-in",children:r&&!o?n.jsx(wn,{to:"/verify-email"}):n.jsx(tp,{children:n.jsx(e,{})})}),n.jsx(er,{when:"signed-out",children:n.jsx(wn,{to:"/"})})]})}function dp(){const[,e]=Ft();return n.jsx(Ts,{publishableKey:bs,proxyUrl:op,appearance:sp,signInUrl:`${st}/sign-in`,signUpUrl:`${st}/sign-up`,routerPush:t=>e(Vr(t)),routerReplace:t=>e(Vr(t),{replace:!0}),children:n.jsxs(Ps,{client:ap,children:[n.jsx(lp,{}),n.jsxs(Ic,{children:[n.jsx(p.Suspense,{fallback:null,children:n.jsxs(ai,{children:[n.jsx(ee,{path:"/",component:cp}),n.jsx(ee,{path:"/sign-in/*?",component:Tu}),n.jsx(ee,{path:"/sign-up/*?",component:()=>n.jsx(qr,{})}),n.jsx(ee,{path:"/compile/*?",component:()=>n.jsx(qr,{variant:"compile"})}),n.jsx(ee,{path:"/home",component:()=>n.jsx(rt,{component:Au})}),n.jsx(ee,{path:"/dashboard",component:()=>n.jsx(rt,{component:Ru})}),n.jsx(ee,{path:"/studio",component:()=>n.jsx(rt,{component:Iu})}),n.jsx(ee,{path:"/studio/:id",component:()=>n.jsx(rt,{component:Pu})}),n.jsx(ee,{path:"/admin/studio/:id",component:np}),n.jsx(ee,{path:"/admin/panel",component:()=>n.jsx(rt,{component:rp})}),n.jsx(ee,{path:"/discipline/marketing",component:()=>n.jsx(kt,{discipline:"marketing"})}),n.jsx(ee,{path:"/discipline/pr",component:()=>n.jsx(kt,{discipline:"pr"})}),n.jsx(ee,{path:"/discipline/tvc",component:()=>n.jsx(kt,{discipline:"tvc"})}),n.jsx(ee,{path:"/discipline/audio-ads",component:()=>n.jsx(kt,{discipline:"audio-ads"})}),n.jsx(ee,{path:"/discipline/brand-experience",component:()=>n.jsx(kt,{discipline:"brand-experience"})}),n.jsx(ee,{path:"/discipline/design",component:()=>n.jsx(kt,{discipline:"design"})}),n.jsx(ee,{path:"/privacy",component:Mu}),n.jsx(ee,{path:"/security",component:Fu}),n.jsx(ee,{path:"/terms",component:Nu}),n.jsx(ee,{path:"/cookies",component:Lu}),n.jsx(ee,{path:"/eula",component:_u}),n.jsx(ee,{path:"/disclaimer",component:Bu}),n.jsx(ee,{path:"/acceptable-use",component:Du}),n.jsx(ee,{path:"/refund-policy",component:zu}),n.jsx(ee,{path:"/pricing",component:Wu}),n.jsx(ee,{path:"/tokens",component:()=>n.jsx(rt,{component:$u})}),n.jsx(ee,{path:"/settings/api",component:()=>n.jsx(rt,{component:Hu})}),n.jsx(ee,{path:"/contact",component:qu}),n.jsx(ee,{path:"/integrations/chatgpt",component:Vu}),n.jsx(ee,{path:"/use-cases/marketing",component:Gu}),n.jsx(ee,{path:"/use-cases/founders",component:Yu}),n.jsx(ee,{path:"/use-cases/freelance-strategists",component:Ku}),n.jsx(ee,{path:"/use-cases/agencies",component:Xu}),n.jsx(ee,{path:"/use-cases/creative-directors",component:Qu}),n.jsx(ee,{path:"/use-cases/pr",component:Zu}),n.jsx(ee,{path:"/use-cases/designers",component:ep}),n.jsx(ee,{path:"/verify-email",component:Uu}),n.jsx(ee,{path:"/delete-account",component:()=>n.jsx(rt,{component:Ju})}),n.jsx(ee,{component:Ou})]})}),n.jsx(Dc,{}),n.jsx(Mc,{}),n.jsx(Ni,{})]})]})})}function up(){return n.jsx(Ds,{children:n.jsxs(io,{base:st,children:[n.jsx(ip,{}),n.jsx(dp,{})]})})}Es.createRoot(document.getElementById("root")).render(n.jsx(up,{}));export{Mp as $,pl as A,Pp as B,Wc as C,fo as D,Op as E,si as F,Sp as G,Ep as H,Cp as I,Rp as J,Tp as K,Ce as L,Ap as M,Ip as N,Pd as O,lt as P,zc as Q,bp as R,Qc as S,Zc as T,gu as U,bl as V,Xc as W,hu as X,hs as Y,Np as Z,Y
50c as _,du as a,oe as a0,Lp as a1,wp as b,jp as c,Ft as d,yp as e,Fp as f,ms as g,Ed as h,jt as i,lo as j,Ac as k,co as l,ht as m,_i as n,Br as o,tn as p,Ro as q,Ye as r,_o as s,bt as t,ze as u,fl as v,gl as w,ys as x,Od as y,kp as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.