PageSourceSearch

https://flux3.site/_next/static/chunks/436ee9974090640c.js

js flux3.site collected 2026-10-08 05:02:48 UTC 4,067 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,740857,e=>{"use strict";let t=(0,e.i(592583).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],740857)},410041,e=>{"use strict";var t=e.i(193685),l=e.i(126313),r=e.i(305084),s=e.i(948183),i=e.i(888205),a=e.i(965550),o=e.i(930780),n=e.i(541672),d=e.i(889709),c=e.i(741171),m=e.i(68831),x=e.i(399603);let u="rounded-lg border px-3 py-2 text-sm transition-colors cursor-pointer",h="border-[#12695A] bg-[#12695A] text-white",p="border-black/15 bg-white text-black hover:border-[#12695A] hover:text-[#12695A]";function b(e){let{turnstileSiteKey:b}=e,g=(0,r.useTranslations)("flux3.gallery"),f=(0,r.useTranslations)("flux3.inner"),[j,A]=(0,l.useState)(null),[y,T]=(0,l.useState)(""),[N,R]=(0,l.useState)(0),w=(0,l.useMemo)(()=>j?o.GALLERY_ITEMS.filter(e=>e.styleKey===j):o.GALLERY_ITEMS,[j]);return(0,t.jsxs)(c.default,{backHref:o.ROUTES.home,backLabel:f("backToGenerator"),title:g("h1"),subhead:g("lede"),cta:(0,t.jsxs)(a.PromoCtaLink,{fallbackHref:`#${o.GENERATE_ANCHOR}`,tenantSlug:o.TENANT_SLUG,content:"gallery-header",promoTargetUrl:o.PROMO_CTA_TARGET_URL,onClick:()=>(0,o.handleCtaClick)("gallery-header"),className:x.BTN_PRIMARY,children:[f("finalCta.generate"),(0,t.jsx)(i.ArrowRight,{size:16,"aria-hidden":"true"})]}),children:[(0,t.jsxs)(n.Band,{tone:"tint",label:g("h1"),children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 rounded-2xl border border-black/10 bg-white p-6 md:grid-cols-2 md:p-8",children:[(0,t.jsx)("p",{className:"text-[0.9375rem] leading-[1.7] text-[#5F6B69]",children:g("intro1")}),(0,t.jsx)("p",{className:"text-[0.9375rem] leading-[1.7] text-[#5F6B69]",children:g("intro2")})]}),(0,t.jsxs)("div",{role:"group","aria-label":g("filtersLabel"),className:"mt-10 flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:()=>A(null),"aria-pressed":null===j,className:`${u} ${null===j?h:p}`,children:g("filterAll")}),o.GALLERY_STYLE_KEYS.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>A(e),"aria-pressed":j===e,className:`${u} ${j===e?h:p}`,children:g(`filters.${e}`)},e))]}),(0,t.jsx)("div",{className:"mt-6 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",children:w.map(e=>{let l=g(`items.${e.id}.prompt`);return(0,t.jsxs)("figure",{className:`${x.CARD} m-0 p-4`,children:[(0,t.jsx)(s.default,{src:e.src,alt:g("itemAlt",{prompt:l}),width:640,height:640,unoptimized:!0,className:"aspect-square w-full rounded-xl object-cover"}),(0,t.jsx)("figcaption",{className:`${x.CARD_BODY} mt-4 flex-1`,children:l}),(0,t.jsxs)("button",{type:"button",onClick:()=>{var t,r;return t=e.id,void(T(l),R(e=>e+1),(0,o.trackEvent)("gallery_remix",{item:t}),null==(r=document.getElementById(o.GENERATE_ANCHOR))||r.scrollIntoView({behavior:"smooth",block:"start"}))},className:"mt-4 inline-flex w-fit cursor-pointer items-center gap-1 text-sm font-medium text-[#12695A] transition-colors hover:text-black",children:[g("remix"),(0,t.jsx)(i.ArrowRight,{size:14,"aria-hidden":"true"})]})]},e.id)})})]}),(0,t.jsxs)(n.Band,{tone:"white",children:[(0,t.jsx)(n.BandHead,{eyebrow:f("eyebrows.generator"),title:g("toolTitle"),intro:g("toolNote")}),N>0?(0,t.jsx)("p",{className:"mt-4 text-sm font-medium text-[#12695A]",role:"status","aria-live":"polite",children:g("remixed")}):null,(0,t.jsx)("div",{className:"mt-10",children:(0,t.jsx)(d.default,{turnstileSiteKey:b,defaultPrompt:y},`flux3-gallery-tool-${N}`)})]}),(0,t.jsxs)(n.Band,{tone:"tint",children:[(0,t.jsx)(n.BandHead,{eyebrow:f("eyebrows.prompts"),title:g("stylesTitle"),intro:g("stylesBody")}),(0,t.jsxs)("div",{className:`${x.CARD} mt-10`,children:[(0,t.jsx)("h3",{className:x.CARD_TITLE,children:g("promptTitle")}),(0,t.jsx)("p",{className:x.CARD_BODY,children:g("promptBody")})]})]}),(0,t.jsxs)(n.Band,{tone:"white",children:[(0,t.jsx)(n.BandHead,{eyebrow:f("eyebrows.explore"),title:g("closingTitle"),intro:g("closingBody")}),(0,t.jsx)(m.default,{})]})]})}e.s(["default",()=>b])}]);

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.