1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,546533,e=>{e.v({bubble:"legend-assistant-module__6XrMVq__bubble",bubbleBot:"legend-assistant-module__6XrMVq__bubbleBot",bubbleUser:"legend-assistant-module__6XrMVq__bubbleUser",clearBtn:"legend-assistant-module__6XrMVq__clearBtn",close:"legend-assistant-module__6XrMVq__close",composer:"legend-assistant-module__6XrMVq__composer",emblem:"legend-assistant-module__6XrMVq__emblem",field:"legend-assistant-module__6XrMVq__field",flag:"legend-assistant-module__6XrMVq__flag",flagDot:"legend-assistant-module__6XrMVq__flagDot",footnote:"legend-assistant-module__6XrMVq__footnote",greet:"legend-assistant-module__6XrMVq__greet",head:"legend-assistant-module__6XrMVq__head",launcher:"legend-assistant-module__6XrMVq__launcher",launcherDot:"legend-assistant-module__6XrMVq__launcherDot",notice:"legend-assistant-module__6XrMVq__notice",noticeDot:"legend-assistant-module__6XrMVq__noticeDot",panel:"legend-assistant-module__6XrMVq__panel",panelFoilTop:"legend-assistant-module__6XrMVq__panelFoilTop",routeCta:"legend-assistant-module__6XrMVq__routeCta",send:"legend-assistant-module__6XrMVq__send",thinking:"legend-assistant-module__6XrMVq__thinking",thread:"legend-assistant-module__6XrMVq__thread",vars:"legend-assistant-module__6XrMVq__vars",who:"legend-assistant-module__6XrMVq__who",whoSub:"legend-assistant-module__6XrMVq__whoSub",whoTitle:"legend-assistant-module__6XrMVq__whoTitle"})},983645,e=>{"use strict";var a=e.i(843476),t=e.i(271645),i=e.i(618566),n=e.i(918789),r=e.i(546533);let o={available:!1,conversationId:null,messages:[],greeting:null,limitedAccess:!1,loading:!1,sending:!1,error:null};async function s(e,a){let t=e.body?.getReader();if(!t)return;let i=new TextDecoder,n="";for(;;){let{done:e,value:r}=await t.read();if(e)break;let o=(n+=i.decode(r,{stream:!0})).split("\n\n");for(let e of(n=o.pop()??"",o)){let t=e.split("\n"),i="message",n="";for(let e of t)e.startsWith("event:")?i=e.slice(6).trim():e.startsWith("data:")&&(n+=e.slice(5).trim());if(n)try{a(i,JSON.parse(n))}catch{}}}}let d={em:({children:e})=>(0,a.jsx)("span",{style:{fontStyle:"normal",fontWeight:500},children:e}),a:({children:e})=>(0,a.jsx)("span",{children:e})};function l({open:e,onClose:c,currentRoute:u}){let g=(0,i.useRouter)(),{available:p,messages:h,greeting:b,limitedAccess:m,loading:f,sending:y,error:v,send:k,newChat:x}=function(e){let[a,i]=(0,t.useState)(o),n=(0,t.useRef)(!1),r=(0,t.useCallback)(async()=>{i(e=>({...e,loading:!0}));try{let e=await fetch("/api/legend-assistant/conversations",{method:"GET"});if(!e.ok)return void i(e=>({...e,loading:!1,available:!1}));let a=await e.json();i(e=>({...e,available:!0,loading:!1,limitedAccess:!0===a.limitedAccess,conversationId:a.conversation?.id??null,greeting:a.greeting??null,messages:(a.messages??[]).map(e=>({id:e.id,role:"user"===e.role?"user":"assistant",content:e.content,navigation:e.actionResult?.navigation??null}))}))}catch{i(e=>({...e,loading:!1,available:!1}))}},[]);(0,t.useEffect)(()=>{e&&!n.current&&(n.current=!0,r())},[e,r]);let d=(0,t.useCallback)(async(e,t)=>{let n=e.trim();if(!n||!a.conversationId||a.sending)return;let r={id:`u-${Date.now()}`,role:"user",content:n};i(e=>({...e,sending:!0,error:null,messages:[...e.messages,r]}));try{let e=await fetch(`/api/legend-assistant/conversations/${a.conversationId}/messages`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:n,route:t})});if(!e.ok){let a=429===e.status?"You've hit today's limit â try again later.":"Something went wrong. Please try again.";i(e=>({...e,sending:!1,error:a}));return}await s(e,(e,a)=>{"message"===e?i(e=>({...e,messages:[...e.messages,{id:`a-${Date.now()}`,role:"assistant",content:a.reply,navigation:a.navigation??null,action:a.action??null}]})):"error"===e&&i(e=>({...e,error:a.message??"Something went wrong."}))})}catch{i(e=>({...e,error:"Connection lost. Please try again."}))}finally{i(e=>({...e,sending:!1}))}},[a.conversationId,a.sending]),l=(0,t.useCallback)(async()=>{i({...o,available:!0,loading:!0}),await fetch("/api/legend-assistant/conversations",{method:"DELETE"}).catch(()=>{}),await r()},[r]);return{...a,send:d,newChat:l}}(e),[w,j]=(0,t.useState)(""),A=(0,t.useRef)(null),C=(0,t.useRef)(null);if((0,t.useEffect)(()=>
1{if(!e)return;let a=e=>{"Escape"===e.key&&c()};window.addEventListener("keydown",a);let t=setTimeout(()=>C.current?.focus(),60);return()=>{window.removeEventListener("keydown",a),clearTimeout(t)}},[e,c]),(0,t.useEffect)(()=>{A.current&&(A.current.scrollTop=A.current.scrollHeight)},[h,y]),!e)return null;let S=()=>{p&&!y&&w.trim()&&(j(""),k(w,u))};return(0,a.jsxs)("aside",{className:`${r.default.panel} ${r.default.vars}`,role:"complementary","aria-label":"Legend Assistant",children:[(0,a.jsx)("span",{className:r.default.panelFoilTop,"aria-hidden":!0}),(0,a.jsxs)("header",{className:r.default.head,children:[(0,a.jsx)("span",{className:r.default.emblem,"aria-hidden":!0,children:"â¦"}),(0,a.jsxs)("span",{className:r.default.who,children:[(0,a.jsx)("span",{className:r.default.whoTitle,children:"Legend Assistant"}),(0,a.jsx)("span",{className:r.default.whoSub,children:"here to help you get it done"})]}),(0,a.jsx)("button",{className:r.default.close,onClick:c,"aria-label":"Close assistant"})]}),p&&m&&(0,a.jsxs)("div",{className:r.default.notice,children:[(0,a.jsx)("span",{className:r.default.noticeDot,"aria-hidden":!0}),"Early access â the founding team is training the assistant. It'll open to everyone soon."]}),(0,a.jsxs)("div",{className:r.default.thread,ref:A,children:[f&&(0,a.jsx)("div",{className:r.default.thinking,children:"Openingâ¦"}),!f&&!p&&(0,a.jsx)("div",{className:r.default.greet,children:"The assistant isn't available right now."}),!f&&p&&b&&0===h.length&&(0,a.jsx)("div",{className:r.default.greet,children:b.text}),h.map(e=>(0,a.jsxs)("div",{className:`${r.default.bubble} ${"user"===e.role?r.default.bubbleUser:r.default.bubbleBot}`,children:["assistant"===e.role?(0,a.jsx)(n.default,{components:d,children:e.content}):e.content.split("\n").map((e,t)=>e.trim()?(0,a.jsx)("p",{children:e},t):null),"assistant"===e.role&&e.navigation&&(0,a.jsx)("button",{className:r.default.routeCta,onClick:()=>{g.push(e.navigation)},children:"Take me there â"}),"assistant"===e.role&&"submit_feedback"===e.action&&(0,a.jsxs)("span",{className:r.default.flag,children:[(0,a.jsx)("span",{className:r.default.flagDot})," Reported to the team"]}),"assistant"===e.role&&"teach_assistant"===e.action&&(0,a.jsxs)("span",{className:r.default.flag,children:[(0,a.jsx)("span",{className:r.default.flagDot})," Learned â I'll remember that"]})]},e.id)),y&&(0,a.jsx)("div",{className:r.default.thinking,children:"Thinkingâ¦"}),v&&(0,a.jsxs)("div",{className:r.default.flag,children:[(0,a.jsx)("span",{className:r.default.flagDot})," ",v]})]}),(0,a.jsxs)("div",{className:r.default.composer,children:[(0,a.jsx)("textarea",{ref:C,className:r.default.field,rows:1,placeholder:"Ask the assistant anythingâ¦",value:w,disabled:!p||y,onChange:e=>j(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),S())}}),(0,a.jsx)("button",{className:r.default.send,onClick:S,disabled:!p||y||!w.trim(),"aria-label":"Send",children:"â"})]}),(0,a.jsxs)("div",{className:r.default.footnote,children:[(0,a.jsx)("span",{children:"Guides you to the right tool â free"}),(0,a.jsx)("button",{className:r.default.clearBtn,onClick:()=>void x(),children:"New chat"})]})]})}let c=(0,t.createContext)({available:!1,open:!1,setOpen:()=>{}});e.s(["LegendAssistantProvider",0,function({children:e}){let n=(0,i.usePathname)(),[r,o]=(0,t.useState)(!1),[s,d]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return fetch("/api/legend-assistant/status",{method:"GET"}).then(async a=>{if(e)return;if(!a.ok)return void o(!1);let t=await a.json().catch(()=>null);o(t?.available===!0)}).catch(()=>{e||o(!1)}),()=>{e=!0}},[]),(0,t.useEffect)(()=>{if(s)return document.body.classList.add("la-assistant-docked"),()=>document.body.classList.remove("la-assistant-docked")},[s]),(0,a.jsxs)(c.Provider,{value:{available:r,open:s,setOpen:d},children:[e,r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{width:"0",height:"0",style:{position:"absolute",pointerEvents:"none",overflow:"hidden",width:0,height:0},"aria-hidden":!0,focusable:"false",children:(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{id:"brass-foil-v12x",filterUnits:"objectBoundingBox",x:"0",y:"0",width:"100%",height:"100%",children:[(0,a.jsx)("feTurbulence",{type:"turbulence",baseFrequency:"0.02 0.025",numOctaves:5,seed:42,result:"coarse"}),(0,a.jsx)("feTurbulence",{type:"fractalNoise",baseFrequency:"0.6 0.7",numOctaves:1,seed:11,result:"fine"}),(0,a.jsx)("feBlend",{in:"coarse",in2:"fine",mode:"screen",result:"turbulence"}),(0,a.jsx)("feSpecularLighting",{surfaceScale:9,specularConstant:1.6,specularExponent:30,lightingColor:"hsl(45, 92%, 88%)",in:"turbulence",result:"specular1",children:(0,a.jsx)("fePointLight",{x:-7e3,y:-7e3,z:4e3})}),(0,a.jsx)("feSpecularLighting",{surfaceScale:4,specularConstant:.55,specularExponent:14,lightingColor:"hsl(44, 84%, 92%)",in:"turbulence",result:"specular2",children:(0,a.jsx)("fePointLight",{x:-4200,y:-4200,z:2400})}),(0,a.jsx)("feBlend",{in:"specular1",in2:"specular2",mode:"screen",result:"combined-specular"}),(0,a.jsx)("feComposite",{in:"combined-specular",in2:"SourceGraphic",operator:"in",result:"composite"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"composite",mode:"soft-light",result:"lit"}),(0,a.jsx)("feColorMatrix",{in:"lit",type:"matrix",values:"1.22 0.14 0.04 0 0 0.18 1.20 0.10 0 0 0.06 0.16 0.40 0 0 0 0 0 1 0"})]})})}),(0,a.jsx)(l,{open:s,onClose:()=>d(!1),currentRoute:n??null})]})]})},"useLegendAssistant",0,function(){return(0,t.useContext)(c)}],983645)},498640,e=>{"use strict";var a=e.i(843476),t=e.i(921481),i=e.i(983645);e.s(["AssistantAskPill",0,function(){let{available:e,setOpen:n}=(0,i.useLegendAssistant)();return e?(0,a.jsxs)("button",{type:"button",onClick:()=>n(!0),"aria-label":"Open Legend Assistant",className:"inline-flex items-center gap-1.5",style:{padding:"6px 12px",border:"1px solid rgba(200,164,92,0.55)",background:"rgba(245,238,222,0.03)",cursor:"pointer",lineHeight:1},children:[(0,a.jsx)(t.FoilSparkleStar,{size:12}),(0,a.jsx)("span",{style:{fontSize:11,fontWeight:700,letterSpacing:"0.22em",textTransform:"uppercase"},children:(0,a.jsx)(t.FoilText,{style:{fontWeight:700},children:"Ask"})})]}):null}])},201627,e=>{"use strict";let a=(0,e.i(475254).default)("scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}
1],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);e.s(["Scissors",0,a],201627)},351717,626338,e=>{"use strict";var a=e.i(475254);let t=(0,a.default)("radio-tower",[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]]);e.s(["RadioTower",0,t],351717);let i=(0,a.default)("notebook-pen",[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]]);e.s(["NotebookPen",0,i],626338)},334981,e=>{"use strict";let a=(0,e.i(475254).default)("radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);e.s(["Radar",0,a],334981)},370903,184789,66805,e=>{"use strict";e.i(247167);var a=e.i(455711),t=e.i(398321),i=e.i(286536),n=e.i(178583),r=e.i(493886),o=e.i(155274),s=e.i(227516),d=e.i(473708),l=e.i(171245),c=e.i(852008),u=e.i(341240),g=e.i(263488),p=e.i(647780),h=e.i(817646),b=e.i(351717),m=e.i(16715),f=e.i(209912),y=e.i(203496),v=e.i(201627),k=e.i(555436),x=e.i(196421),w=e.i(929916),j=e.i(620278),A=e.i(25652),C=e.i(39312),S=e.i(607486),N=e.i(923102),_=e.i(373264),T=e.i(270756),B=e.i(931091),I=e.i(107899),M=e.i(779334),R=e.i(626338),E=e.i(486631),L=e.i(334981),z=e.i(63639),F=e.i(761911),P=e.i(278716),W=e.i(580555);let D=[{id:"plan",label:"Plan & Strategy",caption:"Shape the idea before the assets exist.",color:"sage",tools:[{id:"pitch",label:"Pitch Mode",icon:j.Target},{id:"manifesto",label:"Manifesto",icon:B.Megaphone},{id:"campaign-memory",label:"Campaign Memory",icon:T.Lock,badge:"NEW"},{id:"media-plan",label:"Media Planner",icon:h.PieChart}]},{id:"create",label:"Create & Produce",caption:"The agent team builds every asset, every format.",color:"amber",tools:[{id:"adlobs",label:"Slides",icon:E.Presentation},{id:"ads",label:"Digital Ads",icon:I.MousePointerClick},{id:"social",label:"Social Ads",icon:N.Instagram},{id:"billboards",label:"Billboards",icon:S.Building2},{id:"ooh-producer",label:"OOH Producer",icon:W.Factory,badge:"NEW"},{id:"video",label:"Video",icon:P.Video},{id:"fast-video",label:"Fast Video",icon:r.Film,badge:"NEW",flag:"fastVideo"},{id:"radio",label:"Radio",icon:z.Radio},{id:"sizzle",label:"Sizzle",icon:r.Film},{id:"art-director",label:"Art Director",icon:p.Palette},{id:"resize",label:"Resize",icon:t.Crop},{id:"bulk-ads",label:"Bulk Ads",icon:c.Layers}]},{id:"publish",label:"Publish & Own",caption:"Put it on the channels you control.",color:"copper",tools:[{id:"landing",label:"Landing Page",icon:_.LayoutGrid,flag:"landing"},{id:"pr",label:"PR",icon:M.Newspaper},{id:"blog",label:"Blog",icon:n.FileText}]},{id:"amplify",label:"Amplify & Reach",caption:"Earn the reach. Fuel the conversation.",color:"ember",tools:[{id:"influencer",label:"Influencers",icon:F.Users},{id:"journalists",label:"Journalists",icon:R.NotebookPen},{id:"keywords",label:"SEO",icon:k.Search},{id:"ai-search",label:"AEO",icon:L.Radar},{id:"activations",label:"Activations",icon:C.Zap}]}],G=D.flatMap(e=>e.tools.map(e=>e.label));e.s(["CAMPAIGN_CAPABILITY_LABELS",0,G,"CAMPAIGN_TOOL_GROUPS",0,D],184789);let O="Access depends on your plan. Generation may use Legend Credits.",q=[{id:"fast-video",title:"Fast Video",description:"Turn a selected ad, campaign, or direction into a short video spot.",outcome:"make",icon:r.Film,gradient:"amber",badge:"New",bring:"Your direction and optional brand, campaign, or visual references.",result:"A finished video spot with native speech, ready to download.",bestWhen:"You need a video from the work already in front of you.",creditNote:"Review the credit quote before generating.",recommended:!1,availabilityGate:"fastVideo",launch:{kind:"href",href:"/tools/fast-video"}},{id:"brand-memory",title:"Add Your Brand",description:"Give every agent a dependable brand foundation.",outcome:"plan",icon:p.Palette,gradient:"rose",bring:"Your website, brand name, or existing assets.",result:"A reusable Brand Memory for future work.",bestWhen:"You want every tool to start on-brand.",creditNote:O,capabilities:["Brand Assets","Brand Guidelines","Brand Casting","Brand Pulse","Brand Vault"],launch:{kind:"callback",key:"onBrandClick"}},{id:"visual-dna",title:"Visual DNA",description:"Extract a practical brand system from any live website.",outcome:"plan",icon:i.Eye,gradient:"sage",badge:"New",bring:"A public website URL.",result:"Colors, typography, assets, tokens, and a reusable brand foundation.",bestWhen:"You need a trustworthy brand starting point without manual setup.",creditNote:"Visual DNA analysis is free for signed-in members.",recommended:!1,launch:{kind:"href",href:"/tools/visual-dna"}},{id:"brand-logo-fetch",title:"Brand Logo Fetch",description:"Find and clean the right logo without a manual asset hunt.",outcome:"plan",icon:d.Image,gradient:"
1copper",bring:"A brand name or company domain.",result:"Clean vector logo variants ready for brand and campaign work.",bestWhen:"The brand mark is missing, low quality, or trapped in a raster file.",creditNote:"Fresh logo generation uses Legend Credits; access depends on your plan.",recommended:!1,launch:{kind:"href",href:"/tools/brand-logo-fetch"}},{id:"brand-reimagination",title:"Brand Reimagination",description:"Explore genuinely different design worlds with a creative Legend.",outcome:"plan",icon:p.Palette,gradient:"rose",badge:"Beta",bring:"An existing Brand Memory and a reason to evolve it.",result:"Three browsable brand worlds and a chosen design direction.",bestWhen:"The brand needs a meaningful overhaul rather than a cosmetic refresh.",creditNote:"Shown only while this capability is enabled for your account.",recommended:!1,availabilityGate:"brandReimagination",launch:{kind:"href",href:"/tools/brand-reimagination"}},{id:"discovery-iq",title:"Research Market",description:"Turn a campaign question into useful market evidence.",outcome:"plan",icon:k.Search,gradient:"copper",badge:"New",bring:"A product, audience, or campaign question.",result:"Audience, competitor, keyword, and market signals.",bestWhen:"You need evidence before choosing a direction.",creditNote:O,launch:{kind:"callback",key:"onDiscoveryIQClick"}},{id:"trends-for",title:"Spot Trends",description:"Find timely openings your campaign can credibly use.",outcome:"plan",icon:A.TrendingUp,gradient:"sage",badge:"New",bring:"A market, audience, or timely topic.",result:"Relevant trends and campaign openings.",bestWhen:"Timing and cultural relevance matter.",creditNote:O,launch:{kind:"href",href:"/trends-for"}},{id:"ad-strategist",title:"Get Strategies",description:"See distinct ways to solve the same business goal.",outcome:"plan",icon:j.Target,gradient:"sage",bring:"A brand, goal, audience, and offer.",result:"Three differentiated strategic directions.",bestWhen:"You know the objective but not the route.",creditNote:O,launch:{kind:"callback",key:"onAdStrategistClick"}},{id:"brief-builder",title:"Build a Brief",description:"Turn the assignment into a clear creative starting point.",outcome:"plan",icon:n.FileText,gradient:"copper",bring:"A goal, audience, offer, and constraints.",result:"A structured creative brief ready for ideation.",bestWhen:"You want alignment before making concepts.",creditNote:O,launch:{kind:"callback",key:"onBuildBriefClick"}},{id:"get-ads",title:"Fast Ads",description:"Create polished ad directions without assembling a workflow.",outcome:"make",icon:C.Zap,gradient:"amber",badge:"New",bring:"A brand, offer, audience, and format.",result:"Ready-to-refine ad concepts and creative.",bestWhen:"You need polished ads fast.",creditNote:O,launch:{kind:"callback",key:"onGetAdsClick"}},{id:"spotwright",title:"The Spotwright",description:"Describe the spot and let an agent team produce the finished ad.",outcome:"make",icon:r.Film,gradient:"amber",badge:"New",bring:"A video brief plus the brand, product, or cast to feature.",result:"Script, casting, storyboard, scenes, and an editable finished video ad.",bestWhen:"You want end-to-end video production instead of separate generators.",creditNote:"Available on paid plans. The plan shows spend before production.",recommended:!1,launch:{kind:"href",href:"/tools/video-agent"}},{id:"create-ideas",title:"Create Ideas",description:"Explore multiple campaign territories from one brief.",outcome:"make",icon:u.Lightbulb,gradient:"amber",badge:"Core",bring:"An approved brief and selected Legends.",result:"A saved deck of campaign ideas.",bestWhen:"You want breadth before committing.",creditNote:O,launch:{kind:"callback",key:"onCreateIdeasClick"}},{id:"art-director",title:"Art Director",description:"Generate and iterate on the visual expression of an idea.",outcome:"make",icon:p.Palette,gradient:"amber",badge:"New",bring:"A visual goal, prompt, or reference.",result:"Campaign visuals you can iterate.",bestWhen:"The idea is clear but the visual is not.",creditNote:O,launch:{kind:"callback",key:"onArtDirectorClick"}},{id:"cold-open",title:"The Cold Open",description:"Engineer outreach and test the winner before a prospect sees it.",outcome:"make",icon:g.Mail,gradient:"rose",badge:"Pro",bring:"Your offer, sender context, and a prospect.",result:"Four outreach archetypes plus a simulated-recipient winner.",bestWhen:"A high-value cold message needs evidence, not a first-draft guess.",creditNote:"Available on Creator and above and uses Legend Credits.",recommended:!1,launch:{kind:"href",href:"/tools/cold-open"}},{id:"give-it-to-a-legend",title:"Give It to a Legend",description:"Hand an ad you already have to a Legend for three better versions, judged blind.",outcome:"make",icon:o.Gavel,gradient:"amber",badge:"New",bring:"An ad you already have: the copy, and the image if there is one.",result:"The Legend's read, a mini-brief, three versions with visual direction, and a blind verdict.",bestWhen:"The draft exists and needs creative instinct, not another generator.",creditNote:"Uses Legend Credits per take; rendering a version as a finished ad is priced separately.",recommended:!1,launch:{kind:"href",href:"/tools/give-it-to-a-legend"}},{id:"reach",title:"Reach",description:"Create brand posts engineered and scored for organic reach.",outcome:"make",icon:b.RadioTower,gradient:"ember",badge:"Beta",bring:"A brand, platform, and topic.",result:"A c
1ast, written, visualized, and scored social post.",bestWhen:"Organic distribution matters as much as the post itself.",creditNote:"Shown only while Reach is enabled. Generation may use Legend Credits.",recommended:!1,availabilityGate:"reach",launch:{kind:"href",href:"/tools/reach"}},{id:"idea-sessions",title:"Idea Sessions",description:"Reopen the complete context of an earlier idea run.",outcome:"build",icon:s.History,gradient:"bronze",badge:"New",bring:"A saved idea run.",result:"The original brief, hired Legends, and full idea deck.",bestWhen:"You want to continue instead of starting over.",creditNote:"Opening saved work does not use credits. New generation may use Legend Credits.",launch:{kind:"href",href:"/ideas/sessions"}},{id:"campaign-ideas",title:"Campaign Ideas",description:"Expand one strong concept into a connected campaign.",outcome:"build",icon:f.Rocket,gradient:"amber",badge:"New",bring:"A strong existing idea.",result:"A multi-channel campaign direction.",bestWhen:"One idea needs to become a larger system.",creditNote:O,capabilities:G,launch:{kind:"callback",key:"onCampaignIdeasClick"}},{id:"legend-loop",title:"Legend Loop",description:"Hand off a business goal to an autonomous marketing department.",outcome:"build",icon:m.RefreshCw,gradient:"bronze",badge:"Beta",bring:"A business goal, cadence, brand, and approved spend ceiling.",result:"A scheduled plan that produces connected marketing work over time.",bestWhen:"You want the system to keep moving after a single campaign task.",creditNote:"Shown only when enabled for your account; spend is approved up front.",recommended:!1,availabilityGate:"legendLoop",launch:{kind:"href",href:"/tools/loop"}},{id:"remix-idea",title:"Remix Ideas",description:"Keep the useful core while changing the creative direction.",outcome:"build",icon:x.Shuffle,gradient:"rose",badge:"New",bring:"An idea plus a fresh direction.",result:"A revised concept with the useful core preserved.",bestWhen:"The idea is close, but not yet right.",creditNote:O,launch:{kind:"callback",key:"onRemixIdeaClick"}},{id:"ad-resizer",title:"Resize Ads",description:"Recompose proven creative for the placements you need.",outcome:"build",icon:t.Crop,gradient:"copper",badge:"New",bring:"A finished ad and target placements.",result:"Native variants for new formats.",bestWhen:"The creative works and needs platform adaptation.",creditNote:O,launch:{kind:"callback",key:"onAdResizerClick"}},{id:"shelf-appeal",title:"Shelf Appeal",description:"Turn real packshots and brand rules into exact ecommerce tiles.",outcome:"build",icon:c.Layers,gradient:"copper",badge:"Beta",bring:"A brand, SKU facts, and product packshots.",result:"Brand-faithful ecommerce tiles ready for a product catalog.",bestWhen:"Many SKUs need consistent, pixel-accurate merchandising.",creditNote:"A preview capability for eligible paid and brand-preview accounts.",recommended:!1,launch:{kind:"href",href:"/tools/shelf-appeal"}},{id:"bulk-ads-transformer",title:"Bulk Ads Transformer",description:"Turn one approved template into a controlled batch of variants.",outcome:"build",icon:c.Layers,gradient:"copper",badge:"New",bring:"An approved ad template and a spreadsheet of copy or markets.",result:"A downloadable batch of localized ad variations.",bestWhen:"One campaign must scale across locations, offers, or audiences.",creditNote:"Cost is shown before generation and depends on the requested batch.",recommended:!1,launch:{kind:"href",href:"/tools/bulk-ads-transformer"}},{id:"cutroom",title:"The Cutroom",description:"Refine an existing video by describing the edit in plain English.",outcome:"build",icon:v.Scissors,gradient:"bronze",badge:"Pro",bring:"A finished storyboard, video, or set of clips plus edit instructions.",result:"A revised final cut that preserves the produced work.",bestWhen:"The footage exists and the cutânot the conceptâneeds to change.",creditNote:"Included on paid plans; some rendering actions may use credits.",recommended:!1,launch:{kind:"href",href:"/tools/cutroom"}},{id:"media-planner",title:"Plan Your Media",description:"Turn campaign intent into an actionable channel plan.",outcome:"build",icon:h.PieChart,gradient:"sage",badge:"New",bring:"A campaign, budget, audience, and objective.",result:"A channel mix and allocation plan.",bestWhen:"You know what to say and need to decide where it runs.",creditNote:O,launch:{kind:"callback",key:"onMediaPlannerClick"}},{id:"focus-groups",title:"Run Focus Groups",description:"See how a target audience is likely to respond.",outcome:"prove",icon:a.Brain,gradient:"bronze",badge:"New",bring:"Ideas or creative plus a target audience.",result:"Synthetic audie
1nce reactions and decision signals.",bestWhen:"You need audience evidence before shipping.",creditNote:O,launch:{kind:"href",href:"/focus-groups"}},{id:"strategy-shootout",title:"Strategy Shoot-Out",description:"Put competing strategies in one room and decide with evidence.",outcome:"prove",icon:w.Swords,gradient:"rose",badge:"Pro",bring:"At least two strategies worth comparing.",result:"Audience and Legend judgments with a shared decision record.",bestWhen:"The team has options but no confident winner.",creditNote:"Available on paid plans; judging cost is shown before the run.",recommended:!1,launch:{kind:"href",href:"/tools/strategy-shootout"}},{id:"legend-jury",title:"Judge Ideas",description:"Compare competing concepts through expert creative lenses.",outcome:"prove",icon:y.Scale,gradient:"rose",badge:"New",bring:"Ideas you want compared.",result:"Legend verdicts, strengths, and a ranked direction.",bestWhen:"Several concepts are competing for the next investment.",creditNote:O,launch:{kind:"callback",key:"onLegendJuryClick"}},{id:"explore-gallery",title:"Get Inspired",description:"Study finished work before choosing your own direction.",outcome:"prove",icon:l.Images,gradient:"ember",bring:"A loose goal or an open mind.",result:"Examples from the creative gallery.",bestWhen:"You need reference points before choosing a direction.",creditNote:"Browsing does not use credits. Creation access depends on your plan and generation may use Legend Credits.",launch:{kind:"href",href:"/gallery"}}];function $(e){return{...e,get leavesPage(){return!!e.invoke.href}}}e.s(["STUDIO_TOOL_CATALOG",0,q,"STUDIO_TOOL_OUTCOMES",0,[{id:"plan",label:"Plan the right move",description:"Ground the work in your brand, audience, market, and brief."},{id:"make",label:"Make ads & ideas",description:"Move from a goal or brief to concepts and campaign visuals."},{id:"build",label:"Build out a winner",description:"Develop strong work into a complete, channel-ready campaign."},{id:"prove",label:"Prove what works",description:"Compare, validate, and learn from creative before you commit."}],"getAvailableStudioTools",0,function(e={}){return q.filter(a=>"fastVideo"===a.availabilityGate?!1!==e.fastVideoEnabled:"brandReimagination"===a.availabilityGate?!0===e.brandReimaginationEnabled:"legendLoop"===a.availabilityGate?!0===e.legendLoopEnabled:"reach"!==a.availabilityGate||!0===e.reachEnabled)}],370903);let V=[$({id:"setup-website",label:"Scan your website (Visual DNA)",hint:"Pull your palette, type, voice and logo straight from your live site",keywords:["website","url","visual dna","scan","domain","homepage","crawl","extract"],category:"setup",group:"Brand guide",invoke:{dialog:"settings"},onRamp:"website"}),$({id:"setup-guide-import",label:"Import your brand guidelines",hint:"Upload a brand book PDF, design files, fonts and swatches â one source of truth",keywords:["brand guide","guidelines","brand book","pdf","superextract","super extract","import","style guide"],category:"setup",group:"Brand guide",invoke:{tab:"overview",view:"guide",intent:"guidelines:import"},onRamp:"guide"}),$({id:"setup-guide-upload-legacy",label:"Upload a guidelines PDF (legacy)",hint:"The older single-PDF upload path",keywords:["guidelines","pdf","upload","legacy","brand guide"],category:"setup",group:"Brand guide",invoke:{tab:"overview",view:"guide",intent:"guidelines:upload-legacy"}}),$({id:"setup-fonts",label:"Add your fonts",hint:"Upload woff2/ttf/otf files, a folder or a ZIP; set display/body/accent roles",keywords:["fonts","typography","typeface","woff","ttf","otf","upload","family","letterforms"],category:"setup",group:"Fonts",invoke:{tab:"entities",view:"fonts",intent:"fonts:upload"},onRamp:"fonts"}),$({id:"setup-logos",label:"Add a logo",hint:"Upload your real marks â the ones every ad leads with",keywords:["logo","logos","mark","wordmark","lockup","brandmark","upload","svg"],category:"setup",group:"Logos",invoke:{tab:"entities",view:"logos",intent:"logos:add"},onRamp:"logo"}),$({id:"setup-cast-add",label:"Add an asset",hint:"Products, characters, scenes â generate, upload, or promote from your assets",keywords:["cast","entity","product","character","scene","add","generate","upload"],category:"setup",group:"Assets",invoke:{tab:"entities",view:"all",intent:"entities:add"}}),$({id:"setup-cast-extract-website",label:"Extract elements from your website",hint:"Sweep your site and assets for logos, products and art in one pass",keywords:["extract","website","brand candy","scrape","products","logos","advanced extraction"],category:"setup",group:"Assets",invoke:{tab:"entities",view:"all",intent:"entities:extract-website"}}),$({id:"setup-voice",label:"Add a brand voice",hint:"Audition and save named voices for audio auto-casting",keywords:["voice","audio","voiceover","narrator","elevenlabs","cast"],category:"setup",group:"Assets",invoke:{tab:"entities",view:"voices",intent:"voices:add"}}),$({id:"setup-assets",label:"Upload brand assets",hint:"Photography, packshots, documents and past work",keywords:["assets","upload","images","photos","pdf","documents","files","packshot"],category:"setup",group:"Assets",invoke:{tab:"entities",view:"photos",intent:"assets:upload"},onRamp:"assets"}),$({id:"connect-dam",label:"Connect a DAM (Brandfolder)",hint:"Mirror your Brandfolder library read-only â your DAM stays the source of truth",keywords:["dam","brandfolder","digital asset management","connect","sync","mirror","integration","library"],category:"setup",group:"Assets",invoke:{tab:"entities",view:"dam"}}),$({id:"setup-rules",label:"Set brand rules",hint:"Banned phrases, do & donât, compliance terms every Legend must obey",keywords:["rules","do","dont","don't","banned","phrases","compliance","guardrails"],category:"setup",group:"Rules & Memory",invoke:{tab:"overview",view:"rules",intent:"rules:add"},onRamp:"rules"}),$({id:"setup-memory",label:"Add a memory fact",hint:"Durable truths â âwe never discountâ, âweâre a nonprofitâ",keywords:["memory","fact","remember","one-liner","truth"],category:"setup",group:"Rules & Memory",invoke:{tab:"overview",view:"rules",intent:"memory:add"}}),$({id:"setup-research",label:"Generate brand research",hint:"A grounded market read that sharpens every strategy and brief",keywords:["research","market","generate","grounding","insights"],category:"setup",group:"Research",invoke:{dialog:"research"},onRamp:"research"}),$({id:"setup-identity",label:"Edit brand identity & website",hint:"Name, description and the website URL that powers Visual DNA",keywords:["settings","identity","name","description","website","domain","url"],category:"setup",group:"Settings",invoke:{dialog:"settings"},onRamp:"identity"}),$({id:"setup-adopt",label:"Pull in your existing work",hint:"Adopt campaigns and ideas you made before this brand existed",keywords:["adopt","pull in","link","existing","orphan","import work"],category:"setup",group:"Work",invoke:{tab:"campaigns"}}),$({id:"make-strategies",label:"Create strategies",hint:"Run strategy development with this brand preloaded",keywords:["strategy","strategies","create","ideas","campaign","get started"],category:"make",group:"Make",invoke:{launch:"createStrategies"}}),$({id:"make-import-campaign",label:"Import a campaign",hint:"Bring in a brief, deck, PDF or concept",keywords:["import","campaign","brief","deck","pdf","concept"],category:"make",group:"Make",invoke:{launch:"importCampaign"}}),$({id:"make-fast-social",label:"Run Fast Social",hint:"A month of on-brand social posts",keywords:["social","fast social","posts","instagram","linkedin"],category:"make",group:"Make",invoke:{href:e=>`/fast-social/new?brandId=${e}`}}),$({id:"make-brief",label:"Write a strategic brief",hint:"A brief built on your brand memory",keywords:["brief","strategic brief","creative brief"],category:"make",group:"Make",invoke:{href:e=>`/briefs/new?brandId=${e}`}}),$({id:"make-video-cast",label:"Turn a video into cast",hint:"Recombobulate a video into cast-able elements",keywords:["video","recombobulator","cast","extract"],category:"make",group:"Make",invoke:{href:(e,a)=>`/tools/recombobulator?brandId=${e}&brandName=${encodeURIComponent(a)}`}}),$({id:"make-shootout",label:"Run a Strategy Shoot-Out",hint:"Judge rival strategies head-to-head",keywords:["shootout","shoot-out","compare","strategies","judge"],category:"make",group:"Make",invoke:{href:e=>`/tools/strategy-shootout?brandId=${e}`}}),$({id:"make-resize",label:"Resize an ad",hint:"Re-plan any ad into any format",keywords:["resize","ad resizer","format","as
1pect ratio"],category:"make",group:"Make",invoke:{href:e=>`/tools/ad-resizer?brandId=${e}`}}),$({id:"make-reimagine",label:"Reimagine this brand",hint:"Explore a new design system for the brand",keywords:["reimagine","restyle","redesign","design system","brand reimagination"],category:"make",group:"Make",invoke:{href:e=>`/tools/brand-reimagination?brandId=${e}`}}),$({id:"manage-settings",label:"Brand settings",hint:"Identity, website, governance and the Brand Vault",keywords:["settings","governance","vault","official","lock","archive","delete"],category:"manage",group:"Settings",invoke:{dialog:"settings"}}),$({id:"manage-team",label:"Team & collaborators",hint:"Invite people and manage roles",keywords:["team","collaborators","invite","share","roles","members"],category:"manage",group:"Settings",invoke:{dialog:"collaborators"}}),$({id:"manage-cast",label:"Manage assets",hint:"Edit, favorite, archive and organize your brand assets",keywords:["cast","entities","assets","manage","edit","favorite","archive","library"],category:"manage",group:"Assets",invoke:{tab:"entities",view:"all"}}),$({id:"manage-design",label:"Design language",hint:"Layout deck, castable templates and logo-rendering preferences",keywords:["design","design language","templates","layout","design system"],category:"manage",group:"Design",invoke:{tab:"design"}}),$({id:"manage-favorites",label:"Favorites",hint:"Everything youâve starred across this brand",keywords:["favorites","starred","saved","keeper"],category:"manage",group:"Work",invoke:{tab:"favorites"}}),$({id:"manage-work",label:"See all the work",hint:"Campaigns, ideas, strategies, briefs, Fast Ads and Fast Social",keywords:["work","campaigns","ideas","history","ledger"],category:"manage",group:"Work",invoke:{tab:"campaigns"}}),$({id:"manage-campaign-memory",label:"Campaign Memory",hint:"The first-class campaigns room â every campaign with its own memory, locked or official â and the door to Lock & Load one",keywords:["campaign memory","lock","load","lock and load","official campaign","first-class","campaigns"],category:"manage",group:"Campaign Memory",invoke:{tab:"campaign-memory"}}),$({id:"campaign-memory-essence",label:"Campaign essence",hint:"Key lines, brief snapshots and do-not rules across your first-class campaigns",keywords:["campaign essence","key line","brief snapshot","do not rules","campaign memory"],category:"manage",group:"Campaign Memory",invoke:{tab:"campaign-memory",view:"essence"}}),$({id:"campaign-memory-design",label:"Campaign design systems",hint:"Which campaigns paint in their own design system and which inherit the brandâs",keywords:["campaign design system","campaign design","standalone design","campaign memory"],category:"manage",group:"Campaign Memory",invoke:{tab:"campaign-memory",view:"design"}}),$({id:"campaign-memory-cast",label:"Campaign cast",hint:"The products, scenes and characters each first-class campaign is allowed to cast",keywords:["campaign cast","assigned cast","pinned cast","campaign memory"],category:"manage",group:"Campaign Memory",invoke:{tab:"campaign-memory",view:"cast"}}),$({id:"campaign-memory-lock",label:"Lock & Official",hint:"Which campaigns are Locked & Loaded and which one is official",keywords:["lock and load","locked campaign","official campaign","campaign memory"],category:"manage",group:"Campaign Memory",invoke:{tab:"campaign-memory",view:"lock"}}),$({id:"intel-audiences",label:"Audiences",hint:"Ad-resonance targeting signals",keywords:["audiences","targeting","ad resonance","personas"],category:"intelligence",group:"Audience",invoke:{tab:"ad-resonance"}}),$({id:"intel-atlas",label:"Size up my audiences",hint:"Audience Atlas â cited TAM and stack-ranked sizing",keywords:["atlas","audience atlas","size","tam","market size"],category:"intelligence",group:"Audience",invoke:{tab:"audience-atlas"}}
1),$({id:"intel-focus-groups",label:"Focus groups",hint:"Test ideas on simulated audiences",keywords:["focus groups","audience iq","simulated","test","participants","evaluations"],category:"intelligence",group:"Audience",invoke:{tab:"audience-iq"}}),$({id:"intel-pulse",label:"Market Pulse (Spot Trends)",hint:"Read your market â an automated scan scores what your brand should act on",keywords:["pulse","scan","signals","market","spot trends","trends"],category:"intelligence",group:"Spot Trends",invoke:{tab:"pulse",view:"pulse"}}),$({id:"intel-signals",label:"Market Signals (Spot Trends)",hint:"Timely moments worth an ad â from the pulse or logged by you",keywords:["signals","signal queue","radar","spot trends","trends","market"],category:"intelligence",group:"Spot Trends",invoke:{tab:"pulse",view:"signals"}})];e.s(["BRAND_ACTIONS",0,V,"brandActionById",0,function(e){return V.find(a=>a.id===e)}],66805)},472120,926362,e=>{"use strict";var a=e.i(370903),t=e.i(66805),i=e.i(184789);let n={"studio:bulk-ads-transformer":{hidden:"refactor",note:"Suppressed pending refactoring review."},"product:frintz-ad-generator":{hidden:"private",note:"Private-label tool; excluded from Global Find."},"product:ooh-producer":{beta:!0,note:"Keep visible with Beta label."},"product:channels":{beta:!0,note:"Keep visible with Beta label."},"product:connections":{beta:!0,note:"Keep visible with Beta label."},"studio:reach":{beta:!0,note:"Keep visible with Beta label."},"studio:shelf-appeal":{beta:!0,note:"Keep visible with Beta label."},"studio:spotwright":{beta:!0,note:"Keep visible with Beta label."},"product:brand-canvas":{beta:!0,note:"Keep visible with Beta label (Steve, 2026-10-01)."},"studio:cold-open":{beta:!0,hidden:"private",note:"Private Beta; excluded from Global Find until approved for discovery."},"campaign:website-blueprint":{beta:!0,hidden:"private",note:"Private Beta; excluded from Global Find until approved for discovery."}},r={"studio:art-director":["image editing","edit image","edit photo","image editor","retouch","visual variations","art direction","ai art director"],"studio:ad-resizer":["aspect ratio","aspect ratio resizing","resize image","resize ad","ad resizer","square to vertical","reformat","portrait landscape","9:16","1:1","16:9"],"tool:recombobulator":["video recombination","recombine video","recombobulate","extract video elements","reusable characters","video to cast"],"studio:cutroom":["cutroom","video editing","edit video","trim clips","reorder scenes","recut footage"],"studio:spotwright":["spotwright","video agent","produce a video","storyboard","video ad production"],"studio:get-ads":["fast ads","auto ads","make ads","image ad generator"],"studio:campaign-ideas":["campaign it","expand an idea","complete campaign"],"studio:ad-strategist":["strategy","strategies","strategist","ad strategist","marketing strategy","strategic directions"],"studio:discovery-iq":["discovery iq","market research","competitor research"],"studio:brief-builder":["brief builder","creative brief","write brief"],"studio:brand-memory":["add brand","new brand","brand memory"],"studio:media-planner":["media planner","media planning","channel budget","media mix"],"studio:legend-jury":["legend jury","judge concepts","creative evaluation"],"studio:focus-groups":["focus group","audience testing","synthetic research"],"studio:bulk-ads-transformer":["bulk variations","localize ads","spreadsheet ads","batch ads"],"studio:shelf-appeal":["ecommerce tiles","product listing images","packshots","sku"],"studio:explore-gallery":["gallery","inspiration","examples"],"studio:cold-open":["cold open","cold email","outreach"],"campaign:adlobs":["presentation","slide deck","pitch deck"],"campaign:pr":["press release","public relations"],"campaign:blog":["blog post","article","content writing"],"campaign:keywords":["search engine optimization","keywords","organic search"],"campaign:ai-search":["answer engine optimization","ai visibility","ai search"],"campaign:radio":["audio ad","radio script","radio spot"],"campaign:sizzle":["sizzle reel","campaign film"],"campaign:landing":["landing page","website","web page"],"campaign:influencer":["influencer marketing","creator partnerships"],"campaign:journalists":["journalist outreach","earned media","press contacts"],"campaign:billboards":["out of home","ooh","outdoor advertising"]},o={"campaign:fast-video":"studio:fast-video","brand:manage-campaign-memory":"campaign:campaign-memory","campaign:media-plan":"studio:media-planner","campaign:bulk-ads":"studio:bul
1k-ads-transformer","brand:intel-focus-groups":"studio:focus-groups","brand:make-shootout":"studio:strategy-shootout","brand:make-fast-social":"product:fast-social","brand:make-brief":"studio:brief-builder","brand:make-strategies":"studio:ad-strategist","brand:setup-website":"studio:visual-dna","brand:setup-identity":"brand:manage-settings","brand:setup-adopt":"brand:manage-work","campaign:art-director":"studio:art-director","campaign:resize":"studio:ad-resizer","brand:make-resize":"studio:ad-resizer","brand:make-video-cast":"tool:recombobulator","brand:make-reimagine":"studio:brand-reimagination"};function s(e){return[e.id,...e.sourceIds].every(e=>!n[o[e]??e]?.hidden)}e.s(["getGlobalFindCatalog",0,function(e={}){return(function(e={}){let s=[],d=a=>!a.availabilityGate||({fastVideo:!0===e.fastVideoEnabled,brandReimagination:!0===e.brandReimaginationEnabled,legendLoop:!0===e.legendLoopEnabled,reach:!0===e.reachEnabled})[a.availabilityGate];for(let e of a.STUDIO_TOOL_CATALOG){if(!d(e))continue;let a=`studio:${e.id}`;s.push({id:a,title:e.title,description:e.description,aliases:r[a]??[],searchText:[e.bring,e.result,e.bestWhen].join(" "),group:"tools",context:"art-director"===e.id||"ad-resizer"===e.id?e.id:"brand-reimagination"===e.id?"brand":"none",sourceIds:[a]})}for(let a of(s.push({id:"tool:recombobulator",title:"Recombobulator",description:"Break a video into reusable cast elements for new creative.",aliases:r["tool:recombobulator"],searchText:"Extract products, characters, scenes and visual references from video.",group:"tools",context:"none",sourceIds:["tool:recombobulator"]}),t.BRAND_ACTIONS)){if("make-reimagine"===a.id&&!e.brandReimaginationEnabled||"intel-pulse"===a.id&&!e.pulseEnabled)continue;let t=`brand:${a.id}`;s.push({id:t,title:a.label,description:a.hint,aliases:a.keywords,searchText:`${a.group} ${a.hint}`,group:"brand",context:"brand",sourceIds:[t]})}for(let a of i.CAMPAIGN_TOOL_GROUPS)for(let t of a.tools){if("fastVideo"===t.flag&&!e.fastVideoEnabled||"landing"===t.flag&&!e.landingEnabled)continue;let i=`campaign:${t.id}`;s.push({id:i,title:t.label,description:`${t.label} inside a campaign. ${a.caption}`,aliases:r[i]??[],searchText:`${a.label} ${(r[i]??[]).join(" ")}`,group:"campaign",context:"campaign",sourceIds:[i]})}var l=s;let c=new Map(l.map(e=>[e.id,{...e,sourceIds:[...e.sourceIds]}]));for(let[e,a]of Object.entries(o)){let t=c.get(e),i=c.get(a);t&&i&&(i.sourceIds=[...new Set([...i.sourceIds,...t.sourceIds])],i.aliases=[...new Set([...i.aliases,t.title,...t.aliases])],i.searchText+=` ${t.searchText}`,c.delete(e))}return[...c.values()].map(e=>[e.id,...e.sourceIds].some(e=>{var a;return n[o[a=e]??a]?.beta})?{...e,beta:!0}:e)})(e).filter(s)}],472120);let d=new Set(["dashboard","app","brands","ideas","idea-page","idea-sessions","briefs","projects","discovery","strategies","campaign","fast-ads-v3","auto-ads","fast-social","social-posts","video-script","legend-jury","brand-reimagination","audience-atlas","media-center","channels","connections","distribute","ad-center","settings","profile","billing","admin","command-center","private-legends","my-private-legends","get-started","getting-started","ad-strategist","focus-groups","trends-for","gallery","ads-gallery","credits","subscription"]),l=new Set(["video-agent","loop","brand-memory","fast-video","give-it-to-a-legend","reach","visual-dna","cutroom","bulk-ads-transformer","fast-ads-legacy","quick-ideas","ad-strategist","discovery-iq","cold-open","shelf-appeal","call-sheet","io-surface","brand-logo-fetch","ai-ad-generator","brand-reimagination","recombobulator","art-director","campaign-it","font-dna","ad-resizer","ooh-producer","frintz-ad-generator","strategy-shootout","content-kits"]);e.s(["isGlobalFindSurface",0,function(e){if(!e||!e.startsWith("/")||e.startsWith("//"))return!1;let a=e.split(/[?#]/,1)[0].split("/").filter(Boolean);return!a.some(e=>["share","shared","present","viewer"].includes(e))&&("brands"!==a[0]||"guide"!==a[2])&&("academy"===a[0]?["courses","my-learning","learn"].includes(a[1]):"tools"===a[0]?1===a.length||l.has(a[1]):d.has(a[0]))}],926362)},588766,e=>{"use strict";var a=e.i(370903),t=e.i(184789),i=e.i(66805);let n={"product:discovery-history":"/dashboard?tab=discovery","product:strategies":"/dashboard?tab=strategies","product:briefs":"/dashboard?tab=briefs","product:ideas":"/dashboard?tab=ideas","product:campaigns":"/dashboard?tab=campaigns","product:fast-ads-history":"/dashboard?tab=fast-ads","product:fast-social-history":"/dashboard?tab=fast-social","product:judged":"/dashboard?tab=judged","product:projects":"/dashboard?tab=projects","product:shared":"/dashboard?tab=shared","product:collaborations":"/dashboard?tab=invitations","product:favorites":"/dashboard?tab=favorites","product:work-history":"/dashboard?tab=history","product:studio":"/dashboard","product:brands":"/brands","product:fast-social":"/fast-social/new","product:ooh-producer":"/tools/ooh-producer","product:frintz-ad-generator":"/tools/frintz-ad-generator","product:creative-legends":"/creative-legends","product:private-legends":"/my-private-legends","product:channels":"/channels","product:connections":"/connections","product:channels-performance":"/channels/performance","product:content-kits":"/tools/content-kits","product:brand-canvas":"/tools/brand-canvas","product:content-kit-libraries":"/tools/content-kits/brands","product:content-kit-analytics":"/tools/content-kits/analytics","product:settings":"/settings","product:profile":"/profile","product:subscription":"/profile?tab=subscription","product:payment-methods":"/profile?tab=billing","product:security":"/profile?tab=security","product:billing-history":"/billing/history","product:mcp-access":"/settings/mcp","product:academy-courses":"/academy/courses","product:my-learning":"/academy/my-learning"},r={onAdStrategistClick:"/get-started",onDiscoveryIQClick:"/dashboard?modal=discovery-iq",onCreateIdeasClick:"/dashboard?modal=create-ideas",onCampaignIdeasClick:"/dashboard?modal=campaign-ideas",onRemixIdeaClick:"/dashboard?modal=remix-idea",onBuildBriefClick:"/dashboard?modal=build-brief",onGetAdsClick:"/dashboard?modal=get-ads",onBrandClick:"/dashboard?modal=
1add-brand",onMediaPlannerClick:"/dashboard?modal=media-planner",onAdResizerClick:"/dashboard?modal=ad-resizer",onArtDirectorClick:"/dashboard?modal=art-director",onLegendJuryClick:"/dashboard?modal=legend-jury"},o=new Set(t.CAMPAIGN_TOOL_GROUPS.flatMap(e=>e.tools.map(e=>e.id)));function s(e){return"number"==typeof e&&Number.isSafeInteger(e)&&e>0}function d(e,a){let t=(0,i.brandActionById)(e);if(!t||!s(a.id))return!1;let n=t.invoke;return"make-reimagine"===t.id?!0===a.canEdit:"collaborators"===n.dialog?!0===a.canManage:!n.intent&&"settings"!==n.dialog&&"research"!==n.dialog&&"importCampaign"!==n.launch||!0===a.canEdit}function l(e,a,t){let i=t.campaign;return{kind:"chooser",chooser:a,capabilityId:e,fallbackHref:`/dashboard?modal=${a}`,...i&&s(i.landingPageId)?{contextOption:{href:"art-director"===a?`/idea-page/${i.landingPageId}/art-director`:`/idea-page/${i.landingPageId}?tab=resize`,label:i.title?.trim()||"Current campaign"}}:{}}}e.s(["canOpenGlobalFindBrandAction",0,d,"parseGlobalFindRouteContext",0,function(e){let a=e.match(/^\/brands\/([1-9]\d*)(?:\/|$)/);if(a&&s(Number(a[1])))return{brandId:Number(a[1])};let t=e.match(/^\/idea-page\/([1-9]\d*)(?:\/|$)/);return t&&s(Number(t[1]))?{landingPageId:Number(t[1])}:{}},"resolveGlobalFindLaunch",0,function e(t,c={}){let{id:u}=t;if(u.startsWith("product:")){let e=Object.hasOwn(n,u)?n[u]:void 0;return e&&(void 0===t.launchHref||t.launchHref===e)?{kind:"href",href:e}:null}if(u.startsWith("studio:")){let t=a.STUDIO_TOOL_CATALOG.find(e=>`studio:${e.id}`===u);return t?"brand-reimagination"===t.id?e({id:"brand:make-reimagine"},c):"art-director"===t.id||"ad-resizer"===t.id?l(u,t.id,c):"href"===t.launch.kind?{kind:"href",href:t.launch.href}:{kind:"href",href:r[t.launch.key]}:null}if(u.startsWith("brand:")){let e=(0,i.brandActionById)(u.slice(6));if(!e)return null;let a=c.brand;return a&&d(e.id,a)?e.invoke.href?{kind:"href",href:e.invoke.href(a.id,a.name)}:{kind:"brand-action",brandId:a.id,actionId:e.id,href:`/brands/${a.id}?action=${encodeURIComponent(e.id)}`}:{kind:"chooser",chooser:"brand",capabilityId:u}}if(u.startsWith("campaign:")){let e=u.slice(9);if(!o.has(e)&&"website-blueprint"!==e)return null;if("art-director"===e||"resize"===e)return l(u,"resize"===e?"ad-resizer":"art-director",c);let a=c.campaign;return a&&s(a.landingPageId)?"website-blueprint"===e?{kind:"href",href:`/idea-page/${a.landingPageId}/website-blueprint`}:{kind:"href",href:`/idea-page/${a.landingPageId}?tab=${encodeURIComponent(e)}`}:{kind:"chooser",chooser:"campaign",capabilityId:u}}if("tool:recombobulator"===u){let e=c.brand;return{kind:"href",href:e&&s(e.id)?`/tools/recombobulator?brandId=${e.id}&brandName=${encodeURIComponent(e.name)}`:"/tools/recombobulator"}}return null}],588766)},327909,645960,e=>{"use strict";e.s(["GlobalFindTrigger",()=>m],327909);var a=e.i(843476),t=e.i(555436),i=e.i(185043),n=e.i(921481),r=e.i(271645),o=e.i(770703),s=e.i(618566),d=e.i(551884),l=e.i(861738),c=e.i(472120),u=e.i(926362),g=e.i(588766);let p=(0,o.default)(()=>e.A(965273),{loadableGenerated:{modules:[28824]},ssr:!1}),h=(0,r.createContext)({enabled:!1,open:!1,openFind:()=>{},closeFind:()=>{},registerBrandScope:()=>()=>{}});function b(){return(0,r.useContext)(h)}function m({light:e=!1}){let{enabled:r,open:o,openFind:s}=b();return r?(0,a.jsxs)("button",{type:"button",onClick:s,"aria-label":"Find tools and features","aria-haspopup":"dialog","aria-expanded":o,"aria-keyshortcuts":"Meta+K Control+K",title:"Find tools and features (âK / Ctrl K)",className:"relative inline-flex shrink-0 items-center justify-center gap-2 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",style:{minWidth:44,minHeight:44,padding:"6px 10px",borderRadius:0,border:"1px solid rgba(200,164,92,0.34)",background:"transparent",color:e?i.INK_BODY:"rgba(245,238,222,0.92)",cursor:"pointer"},children:[(0,a.jsx)(t.Search,{size:16,strokeWidth:1.9,"aria-hidden":!0}),(0,a.jsx)("span",{className:"hidden xl:inline",style:{fontSize:11,fontWeight:700,letterSpacing:"0.1em"},children:"Find"}),(0,a.jsxs)("span",{"aria-hidden":!0,className:"pointer-events-none absolute -right-1 -top-2 isolate overflow-hidden",style:{padding:"2px 7px",borderRadius:0,border:"1px solid rgba(200,164,92,0.65)",boxShadow:"0 4px 12px -4px rgba(200,164,92,0.45)",color:"#100905",fontSize:"8.5px",lineHeight:"12px",fontWeight:800,letterSpacing:"0.16em",textTransform:"uppercase"},children:[(0,a.jsx)(n.FoilFillBg,{}),"New"]})]}):null}
1e.s(["GlobalFindProvider",0,function({children:e}){let{user:t,loading:i}=(0,d.useAuth)(),n=(0,s.usePathname)(),o=!i&&!!t?.id&&(0,u.isGlobalFindSurface)(n),[b,m]=(0,r.useState)(!1),[f,y]=(0,r.useState)(0),[v,k]=(0,r.useState)(()=>(0,c.getGlobalFindCatalog)()),[x,w]=(0,r.useState)(!1),[j,A]=(0,r.useState)([]),[C,S]=(0,r.useState)(null),N=(0,r.useRef)(null),_=(0,r.useRef)(null),T=(0,r.useCallback)(()=>m(!1),[]),B=(0,r.useCallback)(()=>{o&&(_.current=document.activeElement instanceof HTMLElement?document.activeElement:null,A((0,l.readStudioBrowserRecentWork)(t.id)),k((0,c.getGlobalFindCatalog)()),w(!1),y(e=>e+1),m(!0))},[o,t?.id]),I=(0,r.useCallback)(()=>!!o&&!!(0,l.clearStudioBrowserRecentWork)(t?.id)&&(A([]),!0),[o,t?.id]),M=(0,r.useCallback)(e=>{let a=Symbol("brand-scope");return N.current=a,S(e),()=>{N.current===a&&(N.current=null,S(null))}},[]);(0,r.useEffect)(()=>{m(!1),A([])},[n,t?.id]),(0,r.useEffect)(()=>{k((0,c.getGlobalFindCatalog)()),w(!1)},[o,t?.id]),(0,r.useEffect)(()=>{if(!o)return;let e=new AbortController;return fetch("/api/global-find/catalog",{signal:e.signal,cache:"no-store"}).then(async e=>e.ok?e.json():null).then(a=>{if(!e.signal.aborted){if(!Array.isArray(a?.capabilities)){k((0,c.getGlobalFindCatalog)()),w(!1);return}k(a.capabilities),w(!0===a.semanticAvailable)}}).catch(()=>{e.signal.aborted||(k((0,c.getGlobalFindCatalog)()),w(!1))}),()=>e.abort()},[o,t?.id,f]),(0,r.useEffect)(()=>{if(!o)return;let e=e=>{e.defaultPrevented||e.isComposing||e.repeat||e.altKey||"k"===e.key.toLowerCase()&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),e.stopPropagation(),b?T():B())};return document.addEventListener("keydown",e,!0),()=>document.removeEventListener("keydown",e,!0)},[o,b,B,T]);let R=(0,g.parseGlobalFindRouteContext)(n??""),E=R.brandId===C?.brand.id?C:null,L={...E?{brand:E.brand}:{},...R.landingPageId?{campaign:{landingPageId:R.landingPageId}}:{}},z=(0,r.useMemo)(()=>({enabled:o,open:o&&b,openFind:B,closeFind:T,registerBrandScope:M}),[o,b,B,T,M]);return(0,a.jsxs)(h.Provider,{value:z,children:[e,o&&b&&(0,a.jsx)(p,{capabilities:v,semanticAvailable:x,recent:j,onClearRecent:I,context:L,brandScope:E,onClose:T,onRestoreFocus:()=>{_.current?.isConnected&&_.current.focus()}})]})},"useGlobalFind",0,b],645960)},243322,e=>{"use strict";var a=e.i(843476),t=e.i(271645),i=e.i(174080);let n=(0,e.i(475254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var r=e.i(37727),o=e.i(921481);e.s(["BrassMobileNav",0,function({items:e,activeHref:s=null,footer:d}){let[l,c]=(0,t.useState)(!1),u=(0,t.useRef)(null),g=(0,t.useRef)(null),p=(0,t.useId)(),h=(0,t.useCallback)(()=>c(!1),[]),b=(0,t.useCallback)(()=>c(!0),[]);return(0,t.useEffect)(()=>{if(!l)return;let e=document.activeElement,a=document.body.style.overflow;document.body.style.overflow="hidden";let t=()=>Array.from(g.current?.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])')??[]).filter(e=>!e.hasAttribute("disabled")&&"true"!==e.getAttribute("aria-hidden"));requestAnimationFrame(()=>{let e=t();(e[0]??g.current)?.focus?.()});let i=e=>{if("Escape"===e.key){e.preventDefault(),c(!1);return}if("Tab"!==e.key)return;let a=t();if(0===a.length)return;let i=a[0],n=a[a.length-1],r=document.activeElement;if(!(r&&g.current?.contains(r))){e.preventDefault(),(e.shiftKey?n:i).focus();return}e.shiftKey&&r===i?(e.preventDefault(),n.focus()):e.shiftKey||r!==n||(e.preventDefault(),i.focus())};return document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i),document.body.style.overflow=a,(u.current??e)?.focus?.()}},[l]),(0,t.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia("(min-width: 1024px)"),a=()=>{e.matches&&c(!1)};return e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[]),(0,a.jsxs)("div",{className:"lg:hidden",children:[(0,a.jsx)("button",{ref:u,type:"button",onClick:b,"aria-haspopup":"dialog","aria-expanded":l,"aria-label":"Open navigation menu",className:"inline-flex items-center justify-center border-0 bg-transparent p-0 outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#C8A45C]",style:{width:44,height:44,color:"rgba(245,238,222,0.9)",cursor:"pointer",flexShrink:0},children:(0,a.jsx)(n,{size:22,strokeWidth:2,"aria-hidden":!0})}),l&&"u">typeof document?(0,i.createPortal)((0,a.jsxs)("div",{ref:g,role:"dialog","aria-modal":"true","aria-labelledby":p,tabIndex:-1,style:{position:"fixed",inset:0,zIndex:80,display:"flex",justifyContent:"flex-end"},children:[(0,a.jsx)("div",{"aria-hidden":!0,onClick:h,style:{position:"absolute",inset:0,background:"rgba(8,7,10,0.62)",backdropFilter:"blur(2px)"}}),(0,a.jsxs)("div",{style:{position:"relative",width:"min(100vw, 360px)",height:"100%",display:"flex",flexDirection:"column",background:"linear-gradient(180deg, rgba(24,17,12,0.99) 0%, rgba(8,7,10,0.99) 100%)",borderLeft:"1px solid rgba(200,164,92,0.42)",boxShadow:"0 28px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(245,238,222,0.06)",paddingTop:"env(safe-area-inset-top, 0px)",paddingBottom:"env(safe-area-inset-bottom, 0px)",paddingRight:"clamp(10px, 1.6vw, 22px)"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"14px 16px 12px 20px",borderBottom:"1px solid rgba(200,164,92,0.22)"},children:[(0,a.jsx)("span",{id:p,style:{fontSize:11,fontWeight:800,letterSpacing:"0.28em",textTransform:"uppercase",color:"rgba(200,164,92,0.92)"},children:(0,a.jsx)(o.FoilText,{style:{fontWeight:800},children:"Menu"})}),(0,a.jsx)("button",{type:"button",onClick:h,"aria-label":"Close navigation menu",className:"inline-flex items-center justify-center border-0 bg-transparent p-0 outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#C8A45C]",style:{width:44,height:44,color:"rgba(245,238,222,0.86)",cursor:"pointer"},children:(0,a.jsx)(r.X,{size:22,strokeWidth:2,"aria-hidden":!0})})]}),(0,a.jsx)("nav",{"aria-label":"Primary",style:{flex:1,overflowY:"auto",padding:"10px 12px 24px 16px",display:"flex",flexDirection:"column",gap:4},children:e.map(e=>{var t;let i=(t=e.href,!!s&&(s===t||"/"!==t&&s.startsWith(`${t}/`)));return(0,a.jsx)("a",{href:e.href,"aria-current":i?"page":void 0,onClick:h,style:{display:"flex",alignItems:"center",minHeight:48,padding:"12px 14px",textDecoration:"none",border:i?"1px solid rgba(200,164,92,0.55)":"1px solid transparent",borderBottom:i?"1px solid rgba(200,164,92,0.55)":"1px solid rgba(200,164,92,0.14)",background:i?"rgba(200,164,92,0.1)":"transparent",color:i?"rgba(200,164,92,0.98)":"rgba(245,238,222,0.86)",fontSize:13,fontWeight:i?700:600,letterSpacing:"0.2em",textTransform:"uppercase"},children:i?(0,a.jsx)(o.FoilText,{style:{fontWeight:700},children:e.label}):e.label},e.href)})}),d?(0,a.jsx)("div",{style:{padding:"14px 16px 18px 20px",borderTop:"1px solid rgba(200,164,92,0.22)"},children:d}):null]})]}),document.body):null]})}],243322)},750580,e=>{"use strict";e.s(["BrassHourNavBar",()=>l]);var a=e.i(843476),t=e.i(271645),i=e.i(522016),n=e.i(498640),r=e.i(327909),o=e.i(243322),s=e.i(921481);let d=[{label:"Studio",href:"/dashboard"},{label:"Brands",href:"/brands"},{label:"Gallery",href:"/ads-gallery"},{label:"Features",href:"/features"},{label:"Pricing",href:"/pricing"},{label:"Creative Legends",href:"/creative-legends"},{label:"Admin",href:"/admin"}];function l({activeHref:e="/creative-legends",editorial:i=!1,navItems:n=d,isAuthenticated:r=!1}={}){let[o,s]=(0,t.useState)(!i),[c,u]=(0,t.useState)(null);return(0,t.useEffect)(()=>
1{if(!i)return void s(!0);let e=()=>s(window.scrollY>80);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[i]),(0,t.useEffect)(()=>{if(!r)return void u(null);let e=!1,a=new AbortController;return fetch("/api/user",{credentials:"include",signal:a.signal}).then(async e=>e.ok?(await e.json()).user??null:null).then(a=>{e||u(a)}).catch(()=>{e||u(null)}),()=>{e=!0,a.abort()}},[r]),(0,a.jsx)("nav",{className:"sticky top-0",style:{zIndex:50,background:"rgba(8,7,10,0.84)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",borderBottom:"1px solid rgba(200,164,92,0.18)"},children:(0,a.jsxs)("div",{className:"relative",children:[i&&(0,a.jsx)(p,{activeHref:e,navItems:n,visible:!o,user:c,isAuthenticated:r}),(0,a.jsx)(h,{activeHref:e,navItems:n,visible:o,user:c,isAuthenticated:r})]})})}function c({gradientId:e}){return(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:e,x1:"3",y1:"5",x2:"43",y2:"41",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:"0%",stopColor:"#864513"}),(0,a.jsx)("stop",{offset:"14%",stopColor:"#EBB133"}),(0,a.jsx)("stop",{offset:"30%",stopColor:"#7F3C10"}),(0,a.jsx)("stop",{offset:"50%",stopColor:"#EFBB43"}),(0,a.jsx)("stop",{offset:"68%",stopColor:"#8E4E15"}),(0,a.jsx)("stop",{offset:"84%",stopColor:"#ECB13C"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#864513"})]})})}function u({compact:e=!1}){return(0,a.jsxs)(i.default,{href:"/signup",className:"inline-flex items-center justify-center",style:{position:"relative",isolation:"isolate",overflow:"hidden",minHeight:e?34:38,padding:e?"8px 14px":"9px 18px",border:"1px solid rgba(200,164,92,0.65)",textDecoration:"none",boxShadow:"0 8px 24px -12px rgba(200,164,92,0.45)"},children:[(0,a.jsx)(s.FoilFillBg,{}),(0,a.jsx)("span",{style:{color:"#100905",fontSize:e?10:11,fontWeight:800,letterSpacing:e?"0.24em":"0.3em",lineHeight:1,textShadow:"0 1px 0 rgba(255,224,160,0.36)",textTransform:"uppercase"},children:"Start"})]})}function g({user:e,isAuthenticated:n,size:r}){let o=(0,t.useId)().replace(/[^a-zA-Z0-9_-]/g,""),[d,l]=(0,t.useState)(!1),u=e?.avatarUrl?.trim()||"",p=function(e){let a=e?.fullName?.trim()||e?.email?.split("@")[0]?.trim()||"";if(!a)return"";let t=a.split(/\s+/).filter(Boolean);return t.length>1?`${t[0][0]??""}${t[1][0]??""}`.toUpperCase():a.slice(0,2).toUpperCase()}(e),h=!!u&&!d,b=r+2.5,m=(b-1.25)/2,f=`brass-home-avatar-ring-${o}`;(0,t.useEffect)(()=>
1{l(!1)},[u]);let y=(0,a.jsxs)("span",{"aria-hidden":!n,style:{position:"relative",width:b,height:b,display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:[(0,a.jsxs)("svg",{"aria-hidden":!0,width:b,height:b,viewBox:`0 0 ${b} ${b}`,style:{position:"absolute",inset:0},children:[(0,a.jsx)(c,{gradientId:f}),(0,a.jsx)("circle",{cx:b/2,cy:b/2,r:m,fill:"none",stroke:"rgba(245,238,222,0.1)",strokeWidth:1.25}),(0,a.jsx)("circle",{cx:b/2,cy:b/2,r:m,fill:"none",stroke:`url(#${f})`,strokeWidth:1.25,style:{filter:"drop-shadow(0 0 4px rgba(236,177,60,0.16))"}})]}),(0,a.jsx)("span",{style:{width:r,height:r,borderRadius:"50%",border:"none",background:h?"transparent":"radial-gradient(circle at 30% 24%, rgba(239,187,67,0.18) 0%, rgba(18,13,10,0.96) 68%)",boxShadow:h?"none":"0 0 16px rgba(236,177,60,0.1)",color:"rgba(245,238,222,0.86)",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,overflow:"hidden"},children:h?(0,a.jsx)("img",{src:u,alt:e?.fullName?`${e.fullName} profile`:"Profile",decoding:"async",referrerPolicy:"no-referrer",onError:()=>l(!0),style:{display:"block",width:"100%",height:"100%",objectFit:"cover"}}):p?(0,a.jsx)("span",{style:{fontSize:Math.max(10,Math.round(.33*r)),letterSpacing:"0.12em",fontWeight:800,lineHeight:1},children:(0,a.jsx)(s.FoilText,{style:{fontWeight:800},children:p})}):(0,a.jsx)("span",{"aria-hidden":!0,style:{width:.32*r,height:.32*r}})})]});return n?(0,a.jsx)(i.default,{href:"/profile","aria-label":"Open profile",className:"inline-flex items-center justify-center focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#C8A45C]",style:{textDecoration:"none",borderRadius:"50%"},children:y}):null}function p({activeHref:e,navItems:t,visible:o,user:d,isAuthenticated:l}){return(0,a.jsx)("div",{"aria-hidden":!o,style:{position:o?"relative":"absolute",top:0,left:0,right:0,opacity:+!!o,visibility:o?"visible":"hidden",pointerEvents:o?"auto":"none",transition:"opacity 240ms ease"},children:(0,a.jsxs)("div",{className:"relative px-6 lg:px-10",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center",style:{paddingTop:26,paddingBottom:18},children:[(0,a.jsx)("div",{className:"absolute hidden md:flex items-center",style:{left:"clamp(24px, 4vw, 56px)",top:14},children:(0,a.jsx)(i.default,{href:"/","aria-label":"Ad Legends home",className:"inline-flex items-center justify-center focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#C8A45C]",style:{width:92,height:52,textDecoration:"none",filter:"drop-shadow(0 0 14px rgba(200,164,92,0.24))"},children:(0,a.jsx)(s.EmblemAccent,{size:44})})}),(0,a.jsx)(i.default,{href:"/",className:"inline-block",style:{textDecoration:"none"},children:(0,a.jsx)("span",{style:{fontSize:"clamp(28px, 3.4vw, 44px)",letterSpacing:"0.28em",textTransform:"uppercase",fontWeight:800,lineHeight:1},children:(0,a.jsx)(s.FoilText,{style:{fontWeight:800},children:"Ad Legends"})})}),(0,a.jsx)("div",{className:"absolute hidden md:flex items-center gap-4",style:{right:"clamp(24px, 4vw, 56px)",top:22},children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.GlobalFindTrigger,{}),(0,a.jsx)(n.AssistantAskPill,{}),(0,a.jsx)(g,{user:d,isAuthenticated:l,size:36})]}):(0,a.jsx)(u,{})})]}),!l&&(0,a.jsx)("div",{className:"mb-3 flex justify-center md:hidden",children:(0,a.jsx)(u,{compact:!0})}),(0,a.jsx)("div",{className:"flex justify-center",style:{marginBottom:12},children:(0,a.jsx)(s.FoilRule,{className:"w-full max-w-[1200px]"})}),(0,a.jsx)("div",{className:"flex items-center justify-center flex-wrap",style:{paddingBottom:16,columnGap:32,rowGap:8},children:t.map(t=>{let n=t.href===e;return(0,a.jsxs)(i.default,{href:t.href,className:"relative",style:{fontSize:"12.5px",letterSpacing:"0.28em",textTransform:"uppercase",fontWeight:600,textDecoration:"none",paddingBottom:"4px"},children:[n?(0,a.jsx)(s.FoilText,{style:{fontWeight:700},children:t.label}):(0,a.jsx)("span",{style:{color:"rgba(245,238,222,0.78)"},children:t.label}
1),n&&(0,a.jsx)("span",{"aria-hidden":!0,className:"absolute left-0 right-0",style:{bottom:0,height:1,backgroundImage:"linear-gradient(90deg, transparent, rgba(200,164,92,0.85), transparent)"}})]},t.href)})})]})})}function h({activeHref:e,navItems:t,visible:d,user:l,isAuthenticated:c}){return(0,a.jsx)("div",{"aria-hidden":!d,style:{position:d?"relative":"absolute",top:0,left:0,right:0,opacity:+!!d,visibility:d?"visible":"hidden",pointerEvents:d?"auto":"none",transition:"opacity 240ms ease"},children:(0,a.jsx)("div",{className:"mx-auto max-w-[1400px]",style:{paddingLeft:"max(24px, calc(clamp(10px, 1.6vw, 22px) + 12px))",paddingRight:"max(24px, calc(clamp(10px, 1.6vw, 22px) + 12px))"},children:(0,a.jsxs)("div",{className:"flex items-center justify-between",style:{height:64},children:[(0,a.jsxs)(i.default,{href:"/","aria-label":"Ad Legends home",className:"inline-flex items-center gap-3",style:{textDecoration:"none"},children:[(0,a.jsx)(s.EmblemAccent,{size:28}),(0,a.jsx)("span",{className:"sr-only sm:not-sr-only lg:sr-only xl:not-sr-only",style:{fontSize:"17px",letterSpacing:"0.22em",textTransform:"uppercase",fontWeight:800,lineHeight:1},children:(0,a.jsx)(s.FoilText,{style:{fontWeight:800},children:"Ad Legends"})})]}),(0,a.jsx)("div",{className:"hidden lg:flex items-center gap-4 xl:gap-5",children:t.map(t=>{let n=t.href===e;return(0,a.jsxs)(i.default,{href:t.href,className:"relative",style:{fontSize:"12.5px",letterSpacing:"0.22em",textTransform:"uppercase",fontWeight:600,textDecoration:"none",paddingBottom:"4px"},children:[n?(0,a.jsx)(s.FoilText,{style:{fontWeight:700},children:t.label}):(0,a.jsx)("span",{style:{color:"rgba(245,238,222,0.78)"},children:t.label}),n&&(0,a.jsx)("span",{"aria-hidden":!0,className:"absolute left-0 right-0",style:{bottom:0,height:1,backgroundImage:"linear-gradient(90deg, transparent, rgba(200,164,92,0.85), transparent)"}})]},t.href)})}),(0,a.jsxs)("div",{className:"flex items-center gap-3 lg:gap-4",children:[c?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.GlobalFindTrigger,{}),(0,a.jsx)(n.AssistantAskPill,{}),(0,a.jsx)(g,{user:l,isAuthenticated:c,size:32})]}):(0,a.jsx)(u,{compact:!0}),(0,a.jsx)(o.BrassMobileNav,{items:t,activeHref:e})]})]})})})}},185043,e=>{"use strict";e.s(["CardPlate",()=>m,"CountBadge",()=>v,"EmblemDisc",()=>f,"FoilCtaPill",()=>k,"GOLD",()=>g,"INK",()=>d,"INK_BODY",()=>l,"INK_FAINT",()=>u,"INK_MUTED",()=>c,"InkEyebrow",()=>x,"LightFoilText",()=>p,"PillBadge",()=>y,"R3Shell",()=>b,"WARM",()=>s]);var a=e.i(843476),t=e.i(750580),i=e.i(921481),n=e.i(292401),r=e.i(350878),o=e.i(289554);let s={amber:{body:"#D4A04C",highlight:"#F2C871",halo:"rgba(212,160,76,0.45)",glyph:"#1A0F06"},copper:{body:"#B87333",highlight:"#E0935A",halo:"rgba(184,115,51,0.45)",glyph:"#1A0A04"},bronze:{body:"#8B5A2B",highlight:"#B17D45",halo:"rgba(139,90,43,0.4)",glyph:"#0F0703"},rose:{body:"#B0506B",highlight:"#D87090",halo:"rgba(176,80,107,0.4)",glyph:"#180809"},sage:{body:"#8B9466",highlight:"#B0BA86",halo:"rgba(139,148,102,0.38)",glyph:"#0E110A"},ember:{body:"#C5573D",highlight:"#E7785A",halo:"rgba(197,87,61,0.42)",glyph:"#1B0805"}},d="rgba(26,24,21,0.96)",l="rgba(26,24,21,0.7)",c="rgba(26,24,21,0.55)",u="rgba(26,24,21,0.42)",g="rgba(180,124,52,0.96)";function p({children:e,weight:t=700}){return(0,a.jsx)("span",{style:{display:"inline-block",filter:r.FOIL_TEXT_FILTER},children:(0,a.jsx)(i.FoilText,{style:{fontWeight:t},children:e})})}function h(){let e={position:"fixed",top:0,bottom:0,width:"clamp(10px, 1.6vw, 22px)",backgroundImage:i.BRASS_FOIL_EDGE_GRADIENT,filter:i.BRASS_FOIL_FILTER_URL,boxShadow:"0 0 24px rgba(200,164,92,0.18)",pointerEvents:"none",zIndex:5};return(0,a.jsxs)("div",{"aria-hidden":!0,children:[(0,a.jsx)("div",{style:{...e,left:0}}),(0,a.jsx)("div",{style:{...e,right:0}})]})}function b({children:e,nav:i,as:r}){let s=(0,o.usePageMainElement)(),d=r??s,l=(0,a.jsx)("div",{className:"relative",style:{background:"radial-gradient(ellipse at 8% 0%, rgba(200,164,92,0.07) 0%, transparent 55%)"},children:e});return(0,a.jsxs)(d,{style:{minHeight:"100vh",background:"#F0E5C4",color:"rgba(26,24,21,0.92)"},children:[(0,a.jsx)(n.default,{reactive:!0}),(0,a.jsx)(h,{}),void 0===i?(0,a.jsx)(t.BrassHourNavBar,{}):i,"main"===d?(0,a.jsx)(o.InsideMainLandmark,{children:l}):l]})}function m({children:e,className:t="",style:n,brackets:r=!0,bracketSize:o=18,bracketThickness:s=1,highlighted:d=!1}){return(0,a.jsxs)("div",{className:`relative ${t}`,style:{background:d?"linear-gradient(180deg, rgba(245,234,208,0.92) 0%, rgba(225,210,168,0.9
16) 100%)":"linear-gradient(180deg, rgba(251,245,232,0.9) 0%, rgba(245,235,210,0.82) 100%)",border:"1px solid rgba(200,164,92,0.28)",boxShadow:"0 1px 0 rgba(255,253,247,0.6) inset, 0 8px 24px -16px rgba(80,52,18,0.18)",...n},children:[r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.CornerBracket,{position:"tl",size:o,thickness:s}),(0,a.jsx)(i.CornerBracket,{position:"tr",size:o,thickness:s}),(0,a.jsx)(i.CornerBracket,{position:"bl",size:o,thickness:s}),(0,a.jsx)(i.CornerBracket,{position:"br",size:o,thickness:s})]}),e]})}function f({Icon:e,color:t,size:i=40,radius:n=10}){let r=s[t];return(0,a.jsx)("span",{className:"flex-shrink-0 flex items-center justify-center",style:{width:i,height:i,borderRadius:n,background:`linear-gradient(160deg, ${r.highlight} 0%, ${r.body} 65%, ${r.body} 100%)`,boxShadow:`0 8px 18px -6px ${r.halo}, inset 0 1px 0 rgba(255,255,255,0.22)`},children:(0,a.jsx)(e,{size:Math.round(.47*i),strokeWidth:1.9,style:{color:r.glyph}})})}function y({children:e,tone:t="ember"}){let i=s[t];return(0,a.jsx)("span",{style:{padding:"2px 7px",background:i.body,borderRadius:999,fontSize:"8.5px",letterSpacing:"0.16em",textTransform:"uppercase",fontWeight:800,color:"#100905"},children:e})}function v({children:e,color:t}){let i=s[t];return(0,a.jsx)("span",{style:{position:"absolute",top:-9,right:-12,minWidth:20,padding:"2px 7px",background:i.body,color:i.glyph,borderRadius:999,fontSize:"10px",fontWeight:800,letterSpacing:"0.01em",textAlign:"center",boxShadow:`0 4px 12px -4px ${i.halo}`,border:"1px solid rgba(255,253,247,0.5)"},children:e})}function k({children:e,Icon:t}){return(0,a.jsxs)("button",{type:"button",className:"inline-flex items-center gap-2.5",style:{padding:"12px 22px",backgroundImage:`url(${i.BRASS_FOIL_LARGE})`,backgroundSize:"cover",backgroundPosition:"center",boxShadow:"0 6px 22px -6px rgba(200,164,92,0.5)",border:"1px solid rgba(200,164,92,0.6)",borderRadius:6,cursor:"pointer"},children:[(0,a.jsx)(t,{size:15,strokeWidth:2.2,style:{color:"#100905"}}),(0,a.jsx)("span",{style:{fontSize:"11.5px",letterSpacing:"0.12em",fontWeight:800,color:"#100905",textShadow:"0 1px 1px rgba(80,52,18,0.4)"},children:e})]})}function x({children:e,style:t}){return(0,a.jsx)("span",{style:{fontSize:11,letterSpacing:"0.32em",textTransform:"uppercase",fontWeight:700,color:"rgba(26,24,21,0.5)",...t},children:e})}}]);
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.