1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,989240,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return s},requestIdleCallback:function(){return a}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},s="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},794453,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return v},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return b}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(481258),s=e.r(744066),l=e.r(449025),o=a._(e.r(588837)),d=s._(e.r(141988)),c=e.r(845026),u=e.r(933485),x=e.r(989240),p=new Map,m=new Set,f=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:s="",strategy:l="afterInteractive",onError:d,stylesheets:c}=e,x=n||t;if(x&&m.has(x))return;if(p.has(t)){m.add(x),p.get(t).then(r,d);return}let f=()=>{i&&i(),m.add(x)},h=document.createElement("script"),b=new Promise((e,t)=>{h.addEventListener("load",function(t){e(),r&&r.call(this,t),f()}),h.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});a?(h.innerHTML=a.__html||"",f()):s?(h.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",f()):t&&(h.src=t,p.set(t,b)),(0,u.setAttributesFromProps)(h,e),"worker"===l&&h.setAttribute("type","text/partytown"),h.setAttribute("data-nscript",l),c&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(c),document.body.appendChild(h)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,x.requestIdleCallback)(()=>f(e))}):f(e)}function b(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:a="afterInteractive",onError:s,stylesheets:u,...p}=e,{updateScripts:h,scripts:b,getIsSsr:g,appDir:v,nonce:w}=(0,d.useContext)(c.HeadManagerContext);w=p.nonce||w;let y=(0,d.useRef)(!1);(0,d.useEffect)(()=>{let e=t||n;y.current||(i&&e&&m.has(e)&&i(),y.current=!0)},[i,t,n]);let _=(0,d.useRef)(!1);if((0,d.useEffect)(()=>{if(!_.current){if("afterInteractive"===a)f(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,x.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,x.requestIdleCallback)(()=>f(e))}));_.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(h?(b[a]=(b[a]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:s,...p,nonce:w}]),h(b)):g&&g()?m.add(t||n):g&&!g()&&f({...e,nonce:w})),v){if(u&&u.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!n)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...p,id:t}])})`}});else return o.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin}),(0,l.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([n,{...p,id:t}])})`}});"afterInteractive"===a&&n&&o.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let v=g;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},861072,e=>{"use strict";var t=e.i(449025),n=e.i(648406),r=e.i(141988);function i({measurementId:e}){let t=(0,n.usePathname)(),i=(0,n.useSearchParams)();return(0,r.useEffect)(()=>{let n,r=i.toString(),a=r?`${t}?${r}`:t,s=!1,l=()=>{if(!s){if("function"!=typeof window.gtag){n=window.setTimeout(l,250);return}window.gtag("event","page_view",{page_path:a,page_location:window.location.href,send_to:e})}};return l(),()=>{s=!0,n&&window.clearTimeout(n)}},[e,t,i]),null}function a({measurementId:e}){return(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(i,{measurementId:e})})}e.s(["GoogleAnalyticsPageView",()=>a])},917702,e=>{"use strict";var t=e.i(141988);let n="__genflow_chunk_retry";function r({appVersion:e}){return(0,t.useEffect)(()=>{let t=()=>{document.documentElement.dataset.genflowChunkRecoveryReady="true";try{var t;window.sessionStorage.removeItem((t=window.location.pathname,`genflow:chunk-recovery:${e}:${t}`))}catch{}let r=new URL(window.location.href);r.searchParams.has(n)&&(r.searchParams.delete(n),window.history.replaceState(window.history.state,"",r.toString())),document.getElementById("genflow-chunk-recovery-dialog")?.remove(),document.getElementById("genflow-chunk-recovery-style")?.remove()};return"complete"===document.readyState?void t():(window.addEventListener("load",t,{once:!0}),()=>window.removeEventListener("load",t))},[e]),null}e.s(["ChunkLoadRecoveryReady",()=>r],917702)},353152,e=>{"use strict";var t=e.i(449025),n=e.i(141988),r=e.i(648406),i=e.i(461865),a=e.i(649638);e.i(460387);var s=e.i(517730),l=e.i(73043),o=e.i(545581);let d={all:["banner"],list:e=>[...d.all,"list",e]};var c=e.i(984807);let u="home_banner_modal_dismissed_signature";function x(e){return`console-home-2026-06-05-v3:${e.map(e=>[e.id,e.title,e.description,e.imageUrl,e.videoUrl,e.route].join("\x1f")).join("\x1e")}`}function p(e){let t=e?.match(/\/studio\/use\/([^/?#]+)/);return t?.[1]?decodeURIComponent(t[1]):void 0}function m(){let{t:e}=(0,s.useTranslation)(),m=(0,r.useRouter)(),f=(0,r.usePathname)(),h=(0,r.useSearchParams)(),{data:b}=function(e={}){return(0,l.useQuery)({queryKey:d.list(e),queryFn:()=>(0,o.getTrpcClient)().banner.list.query(e),staleTime:3e5})}({bannerType:"Modal"}),[g,v]=(0,n.useState)(!1),[w,y]=(0,n.useState)({index:0,key:0}),[_,j]=(0,n.useState)(0),[z,k]=(0,n.useState)(!1),[N,S]=(0,n.useState)(!1),C=w.index,T=(0,n.useRef)(b);T.current=b;let E=(0,n.useRef)(null),I=(0,n.useRef)((0,c.createProductAnalyticsSessionId)("home_banner")),P=(0,n.useRef)(!1),A=(0,n.useRef)([]),L=(0,n.useRef)([]),M=b?.[C],R=!!M?.videoUrl,q=h.get("tab"),O="/studio"===f&&(!q||"dashboard"===q),$=()=>{y(e=>({index:(e.index+1)%(T.current?.length??1),key:Date.now()}))};(0,n.useEffect)(()=>{k(!0)},[]),(0,n.useEffect)(()=>{if(!z||!O||!b?.length)return void v(!1);let e=x(b);if(E.current!==e){if(e&&function(){try{return localStorage.getItem(u)}catch{return null}}()===e){E.current=e,v(!1);return}I.current=(0,c.createProductAnalyticsSessionId)("home_banner"),P.current=!1,y({index:0,key:Date.now()}),E.current=e,v(!0)}},[z,O,b]),(0,n.useLayoutEffect)(()=>{let e;if(!g)return;let t=!1,n=()=>{void 0!==e&&(window.clearTimeout(e),e=void 0)};e=window.setTimeout(()=>{t||S(!0)},8500);let r=()=>(function(e){let t=T.current;if(!t?.[C])return!1;if(t[C].videoUrl){let t=A.current[C];return!!t&&(t.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA||t.videoWidth>0)&&(e(),S(!0),!0)}let n=L.current[C];return!!n?.complete&&n.naturalWidth>0&&(e(),S(!0),!0)})(n);return r()?()=>{t=!0,n()}:(S(!1),queueMicrotask(()=>{t||r()}),requestAnimationFrame(()=>{t||r()}),()=>{t=!0,n()})},[g,C,w.index,w.key,b]),(0,n.useEffect)(()=>{j(0);let e=A.current[C];e&&(e.currentTime=0)},[C]),(0,n.useEffect)(()=>{let e=A.current[C];e&&R&&N&&g&&e.play()},[C,R,N,g]),(0,n.useEffect)(()=>{if(!g)return;let e=e=>{"Escape"===e.key&&H("escape")};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]),(0,n.useEffect)(()=>{if(!g||!b?.length||R||!N)return;let e=setTimeout($,5e3);return()=>clearTimeout(e)},[g,w.index,w.key,b?.length,R,N]);let D=(e,t=!1)=>{let n=b?.[C];n&&!P.current&&(P.current=!0,(0,c.trackProductAnalyticsEvent)("home_banner_dismissed",{templateId:p(n.route),templateName:n.title,targetPath:n.route||void 0,properties:{bannerId:n.id,bannerTitle:n.title,bannerSessionId:I.current,bannerIndex:C,reason:e,persistDismissal:t}}))},U=()=>{let e=T.current;if(!e?.length)return!1;var t=x(e);try{localStorage.setItem(u,t)}catch{}return!0},H=(e="close")=>{D(e,U()),v(!1)};if(!O||!z||!g||!b?.length)return null;let F=b[C];return(0,t.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-3 sm:p-6",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-zinc-950/[0.34] backdrop-blur-[10px]",onClick:()=>H("backdrop")}),(0,t.jsxs)("div",{className:"gf-modal-panel relative flex w-full max-w-[1040px] max-h-[min(720px,calc(100dvh-28px))] flex-col overflow-hidden rounded-[30px] bg-white animate-in fade-in zoom-in-95 duration-300",children:[(0,t.jsx)("button",{onClick:()=>H("close_button"),className:"gf-close-button absolute right-4 top-4 z-40","aria-label":e("home_banner.close"),children:(0,t.jsx)(a.X,{className:"h-4 w-4"})}),(0,t.jsxs)("div",{className:"relative h-[min(470px,58dvh)] min-h-[300px] overflow-hidden rounded-[24px] bg-zinc-100 sm:min-h-[360px]",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(135deg,rgba(255,255,255,0.34),rgba(255,255,255,0.08)_46%,rgba(255,255,255,0.2))]"}),b.map((e,n)=>{let r=n===C;return(0,t.jsxs)("div",{className:`absolute inset-0 transition-opacity duration-500 ${r?"opacity-100 z-[9]":"opacity-0 z-[1]"}`,children:[e.videoUrl&&r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("video",{src:e.videoUrl,autoPlay:!0,muted:!0,playsInl
1ine:!0,loop:!0,preload:"metadata","aria-hidden":!0,className:"absolute inset-0 h-full w-full scale-110 object-cover opacity-[0.34] blur-2xl"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_50%_30%,rgba(255,255,255,0.18),rgba(255,255,255,0.28)_72%)]"}),(0,t.jsx)("video",{ref:e=>{A.current[n]=e},src:e.videoUrl,autoPlay:!0,muted:!0,playsInline:!0,preload:"metadata",onLoadedData:()=>S(!0),onError:()=>S(!0),onTimeUpdate:e=>{let t=e.currentTarget;t.duration&&j(t.currentTime/t.duration*100)},onEnded:()=>{$()},className:"relative h-full w-full object-contain"})]}):!e.videoUrl&&r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{src:e.imageUrl,alt:"","aria-hidden":!0,className:"absolute inset-0 h-full w-full scale-110 object-cover opacity-45 blur-2xl"}),(0,t.jsx)("img",{ref:e=>{L.current[n]=e},src:e.imageUrl,alt:e.title,decoding:"async",onLoad:()=>S(!0),onError:()=>S(!0),className:"relative h-full w-full object-contain"})]}):null,(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(180deg,rgba(9,9,11,0.02),rgba(9,9,11,0.2))]"})]},e.id)}),!N&&(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-[11]","aria-hidden":!0,children:(0,t.jsx)("div",{className:"h-full w-full animate-pulse bg-gradient-to-br from-zinc-100 via-zinc-50 to-zinc-200"})}),(0,t.jsxs)("div",{className:"absolute left-4 top-4 z-30 flex w-[min(330px,calc(100%-6rem))] items-center gap-3 rounded-full border border-white/45 bg-white/72 px-3 py-2 shadow-[0_18px_54px_-36px_rgba(0,0,0,0.72)] backdrop-blur-xl",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2 text-[11px] font-bold tabular-nums tracking-[0.12em] text-zinc-950/76",children:[(0,t.jsx)("span",{children:String(C+1).padStart(2,"0")}),(0,t.jsx)("span",{className:"h-px w-5 bg-zinc-950/18"}),(0,t.jsx)("span",{children:String(b.length).padStart(2,"0")})]}),(0,t.jsx)("div",{className:"flex min-w-0 flex-1 gap-1.5",children:b.map((n,r)=>{let i=r===C,a=r<C,s=!!n.videoUrl;return(0,t.jsx)("button",{type:"button",onClick:()=>{y({index:r,key:Date.now()})},"aria-label":e("home_banner.goto_slide_a11y",{current:r+1,total:b.length}),"aria-current":i,className:"group relative flex min-h-[18px] min-w-[24px] flex-1 items-center rounded-full px-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-400",children:(0,t.jsx)("span",{className:"relative block h-1.5 w-full overflow-hidden rounded-full bg-zinc-950/14 transition-colors group-hover:bg-zinc-950/22",children:i&&s?(0,t.jsx)("span",{className:"pointer-events-none block h-full rounded-full bg-zinc-950 transition-none",style:{width:N?`${_}%`:"0%"}}):(0,t.jsx)("span",{className:`pointer-events-none block h-full rounded-full bg-zinc-950 ${i?N?"animate-story-progress":"w-0":a?"w-full":"w-0"}`},i?`active-${r}-${N?w.key:"busy"}`:`inactive-${r}`)})},n.id)})})]})]}),(0,t.jsxs)("div",{className:"relative z-10 grid gap-6 px-5 py-5 sm:px-7 sm:py-6 md:grid-cols-[minmax(0,1fr)_minmax(280px,330px)] md:items-end",children:[(0,t.jsxs)("div",{className:"min-w-0 animate-in fade-in slide-in-from-bottom-2 duration-300",children:[(0,t.jsx)("h2",{className:"max-w-[16em] text-[30px] font-extrabold leading-[1.02] tracking-tight text-zinc-950 sm:text-[40px]",children:F.title}),(0,t.jsx)("p",{className:"mt-3 max-w-[48rem] text-[14px] font-medium leading-6 text-zinc-600 sm:text-[15px] sm:leading-7",children:F.description})]},`text-${C}`),(0,t.jsxs)("div",{className:"grid gap-2.5",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2.5",children:[(0,t.jsxs)("button",{onClick:()=>{let e=b?.[C];if(!e)return;v(!1);let t=e.route?.trim();if(!t)return;let n=function(e,t){if(!e||/^https?:\/\//i.test(e))return e;let[n="",r=""]=e.split("#",2),[i="",a=""]=n.split("?",2),s=new URLSearchParams(a);s.set("entry","home_banner"),s.set("bannerId",t.id);let l=s.toString();return`${i}${l?`?${l}`:""}${r?`#${r}`:""}`}(t,e);((0,c.trackProductAnalyticsEvent)("home_banner_try_clicked",{templateId:p(t),templateName:e.title,targetPath:n,properties:{bannerId:e.id,bannerTitle:e.title,bannerSessionId:I.current,bannerIndex:C,originalRoute:t}},{keepalive:!0}),/^https?:\/\//i.test(t))?window.location.assign(t):m.push(n)},className:"group inline-flex h-11 min-w-0 items-center justify-center gap-2 whitespace-nowrap rounded-full bg-zinc-950 px-4 text-[14px] font-extrabold text-white shadow-[0_16px_34px_-20px_rgba(15,23,42,0.8)] transition-colors hover:bg-zinc-800",children:[(0,t.jsx)("span",{className:"whitespace-nowrap",children:e("home_banner.try_it")}),(0,t.jsx)(i.ArrowRight,{className:"h-4 w-4 shrink-0 transition-transform group-hover:translate-x-0.5"})]}),(0,t.jsx)("button",{onClick:()=>H("later"),className:"inline-flex h-11 min-w-0 items-center justify-center whitespace-nowrap rounded-full border border-zinc-200 bg-white px-4 text-[14px] font-bold text-zinc-700 shadow-[0_12px_28px_-24px_rgba(15,23,42,0.65)] transition-colors hover:bg-zinc-50 hover:text-zinc-950",children:(0,t.jsx)("span",{className:"whitespace-nowrap",children:e("home_banner.later")})})]}),(0,t.jsx)("button",{onClick:()=>{D("do_not_show_again",U()),v(!1)},className:"inline-flex h-8 items-center justify-center whitespace-nowrap rounded-full text-[12px] font-bold text-zinc-400 transition-colors hover:text-zinc-950",children:(0,t.jsx)("span",{className:"whitespace-nowrap",children:e("home_banner.dont_show_again")})})]})]})]}),(0,t.jsx)("style",{children:` 2 @keyframes story-progress { 3 0% { width: 0%; } 4 100% { width: 100%; } 5 } 6 .animate-story-progress { 7 animation: story-progress 5000ms linear forwards; 8 } 9 `})]})}e.s(["HomeBannerModal",()=>m],353152)},524910,e=>{"use strict";var t=e.i(449025),n=e.i(141988),r=e.i(422898),i=e.i(90235),a=e.i(545828);function s(e,t){return e.searchParams.get(t)??void 0}function l(){return(0,n.useEffect)(()=>{let e=e=>{let t,n=e.target;if(!(n instanceof Element))return;let r=n.closest("a[href]");if(!(r instanceof HTMLAnchorElement))return;try{t=new URL(r.href)}catch{return}let i=s(t,"utm_campaign");("organic"===s(t,"utm_medium")||i?.startsWith("seo-"))&&(0,a.track)("seo_cta_click",{href:t.href,target_path:t.pathname,source_page:window.location.pathname,utm_source:s(t,"utm_source"),utm_medium:s(t,"utm_medium"),utm_campaign:i,utm_content:s(t,"utm_content"),link_text:r.textContent?.trim().replace(/\s+/g," ").slice(0,120)})};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),null}var o=e.i(194194),d=e.i(984807),c=e.i(386691);function u(){let{data:e}=c.api.auth.useSession(),t=e?.user,r="string"==typeof t?.id?t.id:void 0,i=t?.createdAt;return(0,n.useEffect)(()=>
9{if(!r)return;let e=(0,o.readPendingSocialSignUp)();if(!e)return;let t=Date.now();if(t-e.startedAt>18e5)return void(0,o.clearPendingSocialSignUp)();let n=function(e){if(e instanceof Date)return e.getTime();if("string"==typeof e||"number"==typeof e){let t=new Date(e).getTime();return Number.isFinite(t)?t:null}return null}(i),s=null===n?"register"===e.mode:n>=e.startedAt-12e4&&n<=t+6e5;if(((0,o.clearPendingSocialSignUp)(),s)&&!function(e,t){try{return"1"===window.localStorage.getItem(`genflow:social-sign-up:${e}:${t}`)}catch{return!1}}(e.provider,r)){(0,a.track)("sign_up",{method:e.provider,has_referral:!!e.hasReferral,...e.attribution}),(0,d.trackProductAnalyticsEvent)("sign_up",{properties:{method:e.provider,has_referral:!!e.hasReferral}});var l=e.provider;try{window.localStorage.setItem(`genflow:social-sign-up:${l}:${r}`,"1")}catch{}}},[i,r]),null}var x=e.i(751199),p=e.i(648406),m=e.i(805847);function f(){let e=(0,p.usePathname)();return(0,n.useEffect)(()=>{let e=()=>{let e=(0,r.getRouteLocaleLng)();document.documentElement.lang=(0,m.getHtmlLang)(e??"en")};e();let t=[window.setTimeout(e,0),window.setTimeout(e,250)],n=new MutationObserver(e);return n.observe(document.head,{attributes:!0,attributeFilter:["content"],
9childList:!0,subtree:!0}),r.default.on("languageChanged",e),()=>{for(let e of t)window.clearTimeout(e);n.disconnect(),r.default.off("languageChanged",e)}},[e]),null}var h=e.i(740264),b=e.i(32048),g=e.i(741077),v=e.i(93406),w=e.i(550775),y=e.i(148987),_=e.i(286904),j=e.i(435753);let z=(0,e.i(591762).default)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]]);e.i(460387);var k=e.i(517730),N=e.i(813917),S=e.i(73043),C=e.i(491050),T=e.i(545581),E=e.i(480689),I=e.i(233259);let P={all:["survey"],fetch:()=>[...P.all,"fetch"]};var A=e.i(975157);let L=[{src:"https://media.genflowai.io/genflow/development/2026-06-10/01ktrgas41y5367chz6kpw3yef.png",className:"left-0 top-3 w-[72%] rotate-[-2.5deg]"},{src:"https://media.genflowai.io/genflow/development/2026-06-10/01ktrgba8vbfvqxgrqvrdhbxnp.png",className:"right-0 top-0 w-[58%] rotate-[3deg]"}];function M(e){return`genflow:survey:skipped:${e}`}function R(e,t){return"Text"===e.type?"string"==typeof t&&t.trim().length>0:"SingleChoice"===e.type?"number"==typeof t||"object"==typeof t&&null!=t:"MultipleChoice"===e.type&&Array.isArray(t)&&t.length>0}function q({question:e,index:n,total:r,value:i,onChange:a,isAnswered:s}){let{t:l}=(0,k.useTranslation)(),o="group flex min-h-12 w-full shrink-0 items-center gap-3 rounded-[18px] border px-4 py-3 text-left text-[13px] font-semibold transition-[border-color,background-color,box-shadow,transform] duration-200 ease-out hover:-translate-y-0.5";return(0,t.jsxs)(g.motion.section,{initial:{opacity:0,x:24,scale:.985},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,x:-18,scale:.985},transition:{duration:.28,ease:[.16,1,.3,1]},className:"flex h-full min-h-[360px] flex-col overflow-hidden rounded-[30px] border border-zinc-200/70 bg-white p-5 shadow-[0_24px_70px_-54px_rgba(15,23,42,0.65)] ring-1 ring-black/[0.025] sm:p-6",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-start justify-between gap-4",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"mb-4 flex flex-wrap items-center gap-2",children:[(0,t.jsx)("span",{className:"rounded-full border border-zinc-200 bg-zinc-50 px-3 py-1 text-[11px] font-semibold text-zinc-500",children:l("hub.survey_step_count","{{current}} of {{total}}",{current:n+1,total:r})}),(0,t.jsx)("span",{className:(0,A.cn)("rounded-full px-3 py-1 text-[11px] font-semibold",e.required?"bg-rose-50 text-rose-500":"bg-zinc-100 text-zinc-500"),children:e.required?l("hub.survey_required","Required"):l("hub.survey_optional","Optional")})]}),(0,t.jsx)("h3",{className:"text-[22px] font-semibold leading-[1.18] tracking-tight text-zinc-950 sm:text-2xl",children:e.question})]}),(0,t.jsx)("span",{className:(0,A.cn)("mt-0.5 flex h-9 w-9 shrink-0 items-center justify-center rounded-full border transition-colors",s?"border-zinc-950 bg-zinc-950 text-white":"border-zinc-200 bg-zinc-50 text-zinc-300"),children:(0,t.jsx)(y.Check,{size:16,strokeWidth:2.5})})]}),(0,t.jsxs)("div",{className:"mt-7 min-h-0 flex-1 space-y-2.5 overflow-y-auto pr-1 [scrollbar-gutter:stable] [scrollbar-width:thin]",children:["Text"===e.type?(0,t.jsx)("textarea",{value:"string"==typeof i?i:"",onChange:e=>a(e.target.value),placeholder:l("hub.survey_text_placeholder","Share a sentence or tw
9o..."),className:"min-h-40 w-full resize-none rounded-[24px] border border-zinc-200 bg-zinc-50/70 px-4 py-3 text-[14px] font-medium leading-6 text-zinc-900 outline-none shadow-inner shadow-zinc-950/[0.025] transition-colors placeholder:text-zinc-400 focus:border-zinc-400 focus:bg-white"}):null,"SingleChoice"===e.type?e.options.map(e=>{let n="number"==typeof i&&i===e.value;return(0,t.jsxs)("button",{type:"button",onClick:()=>a(e.value),className:(0,A.cn)(o,n?"border-zinc-950 bg-zinc-950 text-white shadow-[0_16px_34px_-22px_rgba(15,23,42,0.9)]":"border-zinc-200 bg-white text-zinc-700 hover:border-zinc-300 hover:bg-zinc-50"),children:[(0,t.jsx)("span",{className:(0,A.cn)("flex h-5 w-5 shrink-0 items-center justify-center rounded-full border transition-colors",n?"border-white bg-white text-zinc-950":"border-zinc-300 bg-white text-transparent group-hover:border-zinc-400"),children:(0,t.jsx)(y.Check,{size:12,strokeWidth:3})}),(0,t.jsx)("span",{className:"min-w-0 flex-1 break-words leading-5",children:e.label})]},e.value)}):null,"MultipleChoice"===e.type?e.options.map(e=>{let n=Array.isArray(i)?i:[],r=n.includes(e.value);return(0,t.jsxs)("button",{type:"button",onClick:()=>{a(r?n.filter(t=>t!==e.value):[...n,e.value])},className:(0,A.cn)(o,r?"border-zinc-950 bg-zinc-950 text-white shadow-[0_16px_34px_-22px_rgba(15,23,42,0.9)]":"border-zinc-200 bg-white text-zinc-700 hover:border-zinc-300 hover:bg-zinc-50"),children:[(0,t.jsx)("span",{className:(0,A.cn)("flex h-5 w-5 shrink-0 items-center justify-center rounded-md border transition-colors",r?"border-white bg-white text-zinc-950":"border-zinc-300 bg-white text-transparent group-hover:border-zinc-400"),children:(0,t.jsx)(y.Check,{size:12,strokeWidth:3})}),(0,t.jsx)("span",{className:"min-w-0 flex-1 break-words leading-5",children:e.label})]},e.value)}):null]})]},e.id)}function O(){let e,{t:r}=(0,k.useTranslation)(),a=(0,p.usePathname)(),s="/studio"===a||a.startsWith("/studio/"),l=function(e=!0){let{data:t,isPending:n}=c.api.auth.useSession(),r=(0,E.useIsAuthSigningOut)(),i=!!t?.user;return(0,S.useQuery)({queryKey:P.fetch(),queryFn:()=>(0,T.getTrpcClient)().survey.fetch.query(),enabled:e&&i&&!n&&!r,staleTime:3e5})}(s),o=(e=(0,C.useQueryClient)(),(0,N.useMutation)({mutationFn:e=>(0,T.getTrpcClient)().survey.submit.mutate(e),onSuccess:()=>{e.invalidateQueries({queryKey:P.fetch()}),e.invalidateQueries({queryKey:I.userKeys.profile()})}})),d=l.data,[u,x]=(0,n.useState)({}),[m,f]=(0,n.useState)(0),[h,g]=(0,n.useState)(null),[y,O]=(0,n.useState)(null),$=(0,n.useRef)(null),D=(0,n.useCallback)(()=>{$.current&&(clearTimeout($.current),$.current=null)},[]);(0,n.useEffect)(()=>{d?.id&&(D(),x({}),f(0),O(null),g("1"===window.localStorage.getItem(M(d.id))?d.id:null))},[D,d?.id]),(0,n.useEffect)(()=>D,[D]);let U=d?.questions??[],H=U.length,F=Math.min(m,Math.max(H-1,0)),W=U[F]??null,B=W?u[W.id]:void 0,K=!!W&&R(W,B),Q=F>=H-1,V=!!W&&(!W.required||K),G=(0,n.useMemo)(()=>!!d&&0!==d.questions.length&&d.questions.every(e=>!e.required||R(e,u[e.id])),[u,d]),J=(0,n.useMemo)(()=>d?d.questions.filter(e=>R(e,u[e.id])).length:0,[u,d]),X=Math.round(J/Math.max(1,H)*100),Y=s&&!!d&&H>0&&!d?.hasSubmitted&&y!==d?.id&&h!==d?.id;(0,n.useEffect)(()=>{m!==F&&f(F)},[F,m]);let Z=(0,n.useCallback)(e=>{W&&(x(t=>({...t,[W.id]:e})),D(),"SingleChoice"!==W.type||Q||($.current=setTimeout(()=>{f(e=>Math.min(e+1,H-1)),$.current=null},240)))},[D,W,Q,H]);if(!d||0===H)return null;let ee=async()=>{if(G&&!o.isPending){D();try{await o.mutateAsync({surveyId:d.id,answers:u}),O(d.id),i.toast.success(r("hub.survey_submit_success","Thanks for the feedback."))}catch{i.toast.error(r("hub.survey_submit_error","Could not submit the survey. Please try again."))}}};return(0,t.jsx)(v.Dialog.Root,{open:Y,children:(0,t.jsxs)(v.Dialog.Portal,{children:[(0,t.jsx)(v.Dialog.Overlay,{className:"fixed inset-0 z-[320] bg-zinc-950/45 backdrop-blur-md data-[state=open]:animate-in data-[state=open]:fade-in-0"}),(0,t.jsxs)(v.Dialog.Content,{onOpenAutoFocus:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),className:"fixed left-1/2 top-1/2 z-[321] flex h-[min(760px,calc(100dvh-1.5rem))] w-[min(960px,calc(100vw-1.25rem))] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-[2.5rem] border-[6px] border-white bg-white p-0 text-zinc-950 shadow-[0_36px_110px_-30px_rgba(15,23,42,0.45)] outline-none ring-1 ring-black/[0.05] data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-bottom-4 data-[state=open]:duration-500",children:[(0,t.jsx)(v.Dialog.Title,{className:"sr-only",children:d.title}),(0,t.jsx)(v.Dialog.Description,{className:"sr-only",children:d.description}),(0,t.jsxs)("div",{className:"relative flex min-h-0 flex-1 overflow-hidden bg-[#fbfbfc]",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(135deg,rgba(255,255,255,0.98),rgba(250,250,251,0.92)_44%,rgba(245,246,248,0.96))]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-[0.42] [background-image:linear-gradient(115deg,rgba(24,24,27,0.045)_0,rgba(24,24,27,0)_28%),linear-gradient(to_bottom,rgba(255,255,255,0.78),rgba(255,255,255,0)_46%)]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute left-[34%] top-0 h-px w-1/2 bg-gradient-to-r from-transparent via-zinc-300/70 to-transparent"}),(0,t.jsxs)("div",{className:"relative grid h-full min-h-0 w-full grid-cols-1 overflow-y-auto md:grid-cols-[0.88fr_1.12fr] md:overflow-hidden",children:[(0,t.jsxs)("aside",{className:"relative flex min-h-0 flex-col justify-between overflow-y-auto overflow-x-hidden border-b border-zinc-200/70 bg-white/70 px-7 py-8 text-zinc-950 backdrop-blur-xl md:border-b-0 md:border-r md:px-9 md:py-10",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(160deg,rgba(255,255,255,0.88),rgba(244,244,245,0.72))]"}
9),(0,t.jsx)("div",{className:"absolute inset-x-10 top-16 h-px bg-gradient-to-r from-transparent via-zinc-300/70 to-transparent"}),(0,t.jsxs)("div",{className:"relative z-10",children:[(0,t.jsx)("h2",{className:"max-w-[24rem] break-words text-4xl font-semibold leading-[1.02] tracking-tight text-zinc-950 sm:text-5xl md:text-[3.1rem]",children:d.title}),(0,t.jsx)("p",{className:"mt-5 max-w-sm text-[14px] font-medium leading-6 text-zinc-500",children:d.description}),(0,t.jsxs)("div",{className:"relative mt-6 h-[128px] max-w-sm sm:h-[144px]","aria-hidden":"true",children:[L.map((e,n)=>(0,t.jsx)("div",{className:(0,A.cn)("group absolute overflow-hidden rounded-[24px] border border-white bg-white shadow-[0_24px_70px_-50px_rgba(15,23,42,0.82)] ring-1 ring-zinc-950/[0.04]",e.className,0===n?"z-10":"z-20"),children:(0,t.jsx)("div",{className:"aspect-[1.62] overflow-hidden",children:(0,t.jsx)("img",{src:e.src,alt:"",draggable:!1,className:"h-full w-full object-cover transition-transform duration-700 ease-[cubic-bezier(0.16,1,0.3,1)] group-hover:scale-105"})})},e.src)),(0,t.jsxs)("div",{className:"absolute bottom-0 left-5 z-30 w-[52%] overflow-hidden rounded-[20px] border border-zinc-200 bg-white/92 p-3 shadow-[0_22px_54px_-42px_rgba(15,23,42,0.72)] backdrop-blur-xl",children:[(0,t.jsx)("div",{className:"h-1.5 w-16 rounded-full bg-zinc-950"}),(0,t.jsx)("div",{className:"mt-2 h-1.5 w-24 rounded-full bg-zinc-200"}),(0,t.jsx)("div",{className:"mt-1.5 h-1.5 w-14 rounded-full bg-zinc-200"})]})]})]}),(0,t.jsxs)("div",{className:"relative z-10 mt-10",children:[(0,t.jsxs)("div",{className:"mb-4 rounded-[28px] border border-zinc-200 bg-white p-4 shadow-[0_18px_50px_-42px_rgba(15,23,42,0.55)]",children:[(0,t.jsxs)("div",{className:"mb-3 flex items-center justify-between text-[12px] font-semibold text-zinc-500",children:[(0,t.jsx)("span",{children:r("hub.survey_answered_count","{{count}} answered",{count:J})}),(0,t.jsx)("span",{children:r("hub.survey_total_count","{{count}} total",{count:H})})]}),(0,t.jsx)("div",{className:"h-2 overflow-hidden rounded-full bg-zinc-100",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-zinc-950 transition-all duration-500 ease-[cubic-bezier(0.16,1,0.3,1)]",style:{width:`${X}%`}})}),(0,t.jsxs)("div",{className:"mt-4 flex items-baseline justify-between",children:[(0,t.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-zinc-400",children:r("hub.survey_progress","Progress")}),(0,t.jsxs)("span",{className:"text-2xl font-semibold tracking-tight text-zinc-950",children:[X,"%"]})]})]}),(0,t.jsx)("p",{className:"text-[12px] leading-5 text-zinc-500",children:r("hub.survey_persistence_note","This prompt stays here until you submit feedback or choose to skip.")})]})]}),(0,t.jsxs)("div",{className:"relative flex min-h-[560px] flex-col overflow-hidden p-4 sm:p-5 md:min-h-0 md:p-6",children:[(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-4 rounded-full border border-zinc-200 bg-white/80 p-1.5 shadow-sm backdrop-blur-xl",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{D(),f(e=>Math.max(0,e-1))},disabled:0===F||o.isPending,className:"flex h-10 items-center gap-2 rounded-full px-4 text-[13px] font-semibold text-zinc-500 transition-colors hover:bg-zinc-100 hover:text-zinc-950 disabled:pointer-events-none disabled:opacity-35",children:[(0,t.jsx)(w.ArrowLeft,{size:15}),r("hub.survey_back","Back")]}),(0,t.jsx)("div",{className:"flex items-center gap-1.5 px-2",children:U.map((e,n)=>(0,t.jsx)("span",{className:(0,A.cn)("h-1.5 rounded-full transition-all duration-300",n===F?"w-8 bg-zinc-950":R(e,u[e.id])?"w-3 bg-zinc-500":"w-3 bg-zinc-200")},e.id))})]}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-hidden",children:(0,t.jsx)(b.AnimatePresence,{mode:"wait",children:W?(0,t.jsx)(q,{question:W,index:F,total:H,value:u[W.id],isAnswered:K,onChange:Z},W.id):null})}),(0,t.jsxs)("div",{className:"sticky bottom-0 mt-4 flex flex-col gap-2 rounded-[26px] border border-white/80 bg-white/88 p-2.5 shadow-[0_-18px_50px_-38px_rgba(15,23,42,0.6)] backdrop-blur-xl sm:flex-row",children:[(0,t.jsx)("button",{type:"button",onClick:()=>{D(),window.localStorage.setItem(M(d.id),"1"),g(d.id)},disabled:o.isPending,className:"h-12 rounded-2xl px-5 text-[13px] font-semibold text-zinc-500 transition-colors hover:bg-zinc-100 hover:text-zinc-950 disabled:pointer-events-none disabled:opacity-50 sm:w-36",children:r("hub.survey_ski
9p","Skip")}),Q?(0,t.jsxs)("button",{type:"button",onClick:()=>void ee(),disabled:!G||o.isPending,className:"flex h-12 flex-1 items-center justify-center gap-2 rounded-2xl bg-zinc-950 px-5 text-[13px] font-semibold text-white shadow-[0_18px_36px_-22px_rgba(15,23,42,0.85)] transition-[background-color,transform,opacity] hover:-translate-y-0.5 hover:bg-zinc-800 disabled:pointer-events-none disabled:translate-y-0 disabled:opacity-45",children:[o.isPending?(0,t.jsx)(j.Loader2,{size:16,className:"animate-spin"}):(0,t.jsx)(z,{size:16}),r("hub.survey_submit","Submit feedback")]}):(0,t.jsxs)("button",{type:"button",onClick:()=>{V&&!Q&&(D(),f(e=>Math.min(e+1,H-1)))},disabled:!V||o.isPending,className:"flex h-12 flex-1 items-center justify-center gap-2 rounded-2xl bg-zinc-950 px-5 text-[13px] font-semibold text-white shadow-[0_18px_36px_-22px_rgba(15,23,42,0.85)] transition-[background-color,transform,opacity] hover:-translate-y-0.5 hover:bg-zinc-800 disabled:pointer-events-none disabled:translate-y-0 disabled:opacity-45",children:[r("hub.survey_next","Next"),(0,t.jsx)(_.ChevronRight,{size:16})]})]})]})]})]})]})]})})}var $=e.i(582102),D=e.i(208945);let U="";function H({children:e,initialLng:i}){return(0,n.useEffect)(()=>{i&&i&&i!==U&&(U=i,r.default.isInitialized?r.default.language!==i&&r.default.changeLanguage(i):r.default.on("initialized",()=>{r.default.language!==i&&r.default.changeLanguage(i)}))},[i]),(0,t.jsx)($.ThemeProvider,{children:(0,t.jsxs)(h.QueryProvider,{children:[(0,t.jsx)(f,{}),(0,t.jsx)(l,{}),(0,t.jsx)(u,{}),(0,t.jsxs)(x.AuthDialogProvider,{children:[(0,t.jsx)(n.Suspense,{fallback:null,children:(0,t.jsx)(x.AuthUrlSync,{})}),e,(0,t.jsx)(O,{}),(0,t.jsx)(D.GlobalThemeToggle,{}),(0,t.jsx)(F,{})]})]})})}function F(){let{resolvedTheme:e}=(0,$.useTheme)();return(0,t.jsx)(i.Toaster,{theme:e,position:"top-center",offset:"1rem",mobileOffset:"1rem",toastOptions:{style:{maxWidth:"min(28rem, calc(100vw - 2rem))",width:"max-content",minWidth:0,boxSizing:"border-box",padding:"10px 18px",borderRadius:"16px"},className:"bg-white/95 dark:bg-zinc-900/95 backdrop-blur-xl border border-zinc-100 dark:border-white/10 shadow-[0_6px_24px_rgba(0,0,0,0.06)] dark:shadow-[0_12px_34px_rgba(0,0,0,0.34)] font-sans flex items-start justify-center gap-3",classNames:{content:"min-w-0 flex-1",title:"text-[14px] font-medium tracking-tight text-[#18181b] dark:text-zinc-100 m-0 leading-snug whitespace-normal break-words text-left",description:"text-[12px] text-zinc-500 dark:text-zinc-400 m-0 leading-snug mt-1 whitespace-normal break-words text-left",actionButton:"bg-purple-600 text-white !rounded-full text-xs font-semibold px-3 py-1",cancelButton:"bg-zinc-100 dark:bg-zinc-800 text-zinc-600 dark:text-zinc-300 !rounded-full text-xs font-medium px-3 py-1",success:"text-[#18181b] dark:text-zinc-100 [&>svg]:text-[#18181b] dark:[&>svg]:text-zinc-100 [&>svg]:fill-[#18181b] dark:[&>svg]:fill-zinc-100 [&>svg]:w-[18px] [&>svg]:h-[18px]",error:"text-rose-500 [&>svg]:text-[#ef4444] [&>svg]:w-[18px] [&>svg]:h-[18px]",warning:"text-amber-500 [&>svg]:text-[#f59e0b] [&>svg]:w-[18px] [&>svg]:h-[18px]",info:"text-purple-600 [&>svg]:text-[#8b5cf6] [&>svg]:w-[18px] [&>svg]:h-[18px]"}}})}e.s(["AppProviders",()=>H],524910)},202298,e=>{"use strict";var t=e.i(449025);e.i(600141);var n=e.i(141988),r=e.i(649638),i=e.i(47371);e.i(460387);var a=e.i(517730);function s(){let{t:e}=(0,a.useTranslation)(),s=function(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=async()=>{try{let e=await fetch(`/version.json?t=${Date.now()}`),n=await e.json();n.version&&"1790583805218"!==n.version&&t(!0)}catch(e){console.error("Failed to check app update:",e)}};setTimeout(e,5e3);let n=()=>{"visible"===document.visibilityState&&e()};document.addEventListener("visibilitychange",n);let r=setInterval(e,9e5);return()=>{document.removeEventListener("visibilitychange",n),clearInterval(r)}},[]),e}(),[l,o]=(0,n.useState)(!1),[d,c]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{o(!0)},[]),l&&s&&!d)?(0,t.jsx)("aside",{"aria-labelledby":"version-update-title","data-update-available":s||void 0,className:"pointer-events-none fixed inset-x-0 bottom-0 z-[90] flex justify-center px-2 pb-[max(0.5rem,env(safe-area-inset-bottom))] motion-safe:animate-in motion-safe:slide-in-from-bottom-4 motion-safe:fade-in motion-safe:duration-500 md:inset-x-auto md:right-5 md:bottom-5 md:w-[352px] md:p-0",children:(0,t.jsxs)("div",{className:"pointer-events-auto relative w-full max-w-[374px] overflow-hidden rounded-[18px] border border-zinc-200/90 bg-[#f8f7f4] text-zinc-950 shadow-[0_18px_48px_-28px_rgba(24,24,27,0.42),0_5px_16px_-13px_rgba(24,24,27,0.22)] dark:border-white/[0.10] dark:bg-[#18171b] dark:text-zinc-50 dark:shadow-[0_20px_56px_-26px_rgba(0,0,0,0.88)] md:max-w-[352px] md:rounded-[20px] md:shadow-[0_20px_56px_-30px_rgba(24,24,27,0.44),0_6px_18px_-14px_rgba(24,24,27,0.24)] md:dark:shadow-[0_22px_64px_-28px_rgba(0,0,0,0.90)]",children:[(0,t.jsxs)("div",{className:"relative h-[96px] overflow-hidden border-b border-zinc-200/70 bg-[#ebe8e2] dark:border-white/[0.07] dark:bg-[#242329] md:h-[128px]",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_12%,rgba(255,255,255,0.70),transparent_48%)] dark:bg-[radial-gradient(circle_at_50%_10%,rgba(255,255,255,0.045),transparent_48%)]"}),(0,t.jsx)(i.default,{src:"/assets/version-update-creative-kit.webp",alt:"",width:960,height:507,priority:!0,unoptimized:!0,"aria-hidden":"true",className:"absolute left-1/2 top-1/2 h-[90px] w-auto max-w-none -translate-x-1/2 -translate-y-[47%] object-contain drop-shadow-[0_10px_16px_rgba(54,45,37,0.16)] dark:brightness-[0.90] dark:contrast-[1.04] dark:drop-shadow-[0_12px_18px_rgba(0,0,0,0.40)] md:h-[118px] md:drop-shadow-[0_12px_18px_rgba(54,45,37,0.18)] md:dark:drop-shadow-[0_14px_20px_rgba(0,0,0,0.42)]"}),(0,t.jsx)("button",{type:"button",onClick:()=>c(!0),className:"absolute right-1.5 top-1.5 grid h-10 w-10 place-items-center text-zinc-500 transition-colors hover:text-zinc-950 focus-visible:rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-500/50 dark:text-zinc-400 dark:hover:text-white","aria-label":e("version_update.dismiss"),children:(0,t.jsx)(r.X,{className:"h-4 w-4",strokeWidth:2})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)_104px] items-end gap-3 p-3.5 md:block md:p-4",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h2",{id:"version-update-title",className:"text-[16px] font-semibold leading-[1.25] tracking-[-0.018em] md:text-[17px]",children:e("version_update.title")}),(0,t.jsx)("p",{className:"mt-1 line-clamp-2 text-[11px] leading-[1.5] text-zinc-600 dark:text-zinc-400 md:mt-1.5 md:block md:text-[12px] md:leading-[1.55]",children:e("version_update.description")})]}),(0,t.jsxs)("div",{className:"md:mt-3.5 md:grid md:grid-cols-[64px_minmax(0,1fr)] md:items-center md:gap-2.5",children:[(0,t.jsx)("button",{type:"button",onClick:()=>c(!0),className:"hidden min-h-10 rounded-xl px-2 text-[12px] font-medium text-zinc-500 transition-colors hover:bg-zinc-950/[0.04] hover:text-zinc-950 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-500/50 dark:text-zinc-400 dark:hover:bg-white/[0.06] dark:hover:text-white md:block",children:e("version_update.later")}),(0,t.jsx)("button",{type:"button",onClick:()=>window.location.reload(),className:"gf-neutral-primary min-h-11 w-full rounded-xl border border-zinc-950 bg-zinc-950 px-3 text-[12px] font-bold text-white shadow-[0_8px_18px_-12px_rgba(24,24,27,0.72)] transition-[transform,background-color] hover:bg-zinc-800 active:scale-[0.985] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-700 focus-visible:ring-offset-2 focus-visible:ring-offset-[#f8f7f4] dar
9k:focus-visible:ring-offset-[#18171b] md:min-h-10 md:px-4",children:e("version_update.refresh")})]})]})]})}):null}e.s(["VersionUpdatePrompt",()=>s],202298)}]);
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.