PageSourceSearch

https://www.imgkits.com/_nuxt/ai-collage-maker-Bj_ipB39-28.js

js imgkits.com collected 2026-10-01 10:16:35 UTC 48,893 bytes, 9 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./entry-CHUeTtkC-28.css"])))=>i.map(i=>d[i]);
2import{a as bt,f as vt,h as wt,d as yt,e as kt,u as Ct,b as W,_ as xt,n as Mt,o as $t,r as It,s as At}from"#entry";import Et from"./LandingPageCrumbs-DHOBVsHZ-28.js";import{c as St,a as be}from"./lazy-hydrated-component-BKoakcvi-28.js";/* empty css                *//* empty css                      */import{a0 as Tt,A as v,ab as Pt,r as p,w as qe,o as Lt,a as jt,c as i,a1 as d,e as t,a3 as H,a5 as o,ah as z,_ as I,ac as Y,z as c,af as A,a4 as V,ae as me,al as Ot,ag as Rt,aj as qt,a6 as M,U as zt,a2 as se,T as Nt,ak as Dt,m as ze,b as r}from"./core-i18n-CyPEAx0S-28.js";import Gt from"./uploadR2-DWNusVcw-28.js";import{u as Ft}from"./useMergedToolPageI18n-C637Rux_-28.js";import{E as Ne}from"./index-yTyz8uIX-28.js";import{_ as Bt}from"./_plugin-vue_export-helper-DlAUqK2U-28.js";import{P as Ut}from"./plus-C00uQsp_-28.js";import{c as Ht,L as De,C as Yt,a as Vt}from"./loader-circle-ZF98WL8l-28.js";import{S as Ge}from"./sparkles-Da51thd4-28.js";import{D as Wt,X as Fe}from"./x-CigOt3s0-28.js";import{R as Jt}from"./refresh-cw-DUP2ln-F-28.js";import{M as Qt}from"./maximize-2-C8HU1YCb-28.js";import{P as Kt,a as Xt}from"./play-COtBWbfR-28.js";import"./lazy-icons-BZs3_vKL-28.js";import"./util-lodash-EiWJhHUB-28.js";import"./index-CkyQ1o_L-28.js";import"./browser-lZT86YNU-28.js";const Zt=Ht("ImagesIcon",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]]),ea={meta_title:"AI Collage Maker - Combine Photos Online | Imgkits",meta_description:"Combine 2 to 10 photos into a polished AI collage. Use original, custom, or visual template modes and download a cohesive composition online in minutes.",meta_keywords:"AI collage maker, photo collage generator, combine photos, image collage online",schema_name:"AI Collage Maker",breadcrumb:"AI Collage Maker",badge:"AI-powered photo composition",title:"AI Collage Maker for Cohesive Photo Compositions",subtitle:"Upload 2 to 10 photos, choose Original, Custom, or Templates, and create a polished collage with optional photo enhancement.",carousel_alt_1:"Editorial travel photo collage with layered landscapes and journal details",carousel_alt_2:"Modern product photo collage arranged as a coordinated campaign board",carousel_alt_3:"Warm celebration photo collage with balanced portraits and keepsake details",carousel_prev_aria:"Show previous AI collage example",carousel_next_aria:"Show next AI collage example",carousel_go_to_aria:"Show AI collage example {n}",result_title:"Your AI collage",result_download:"Download",result_new:"Start over",result_image_alt:"Generated AI photo collage",result_open_aria:"Open generated collage preview",report_ai_content:"Report AI content",lightbox_dialog_aria:"Generated AI collage preview",lightbox_close_aria:"Close collage preview",lightbox_image_alt:"Full-size generated AI photo collage",feature_section_title_primary:"Combine",feature_section_title:"separate photos into one intentional composition",feature_section_subtitle:"Build a cohesive visual from multiple images without manually cropping, layering, and balancing every element.",feature1_title:"Bring 2 to 10 images together",feature1_description:"Mix portraits, product shots, travel photos, event moments, or visual references in one generation. AI interprets the full set and creates a single composition rather than a rigid tile grid.",feature1_image_alt:"Multiple source photos flowing into one cohesive AI collage",feature2_title:"Choose a template or describe your own style",feature2_description:"Start with the original composition, pick one of six visual templates, or describe a custom direction. Each mode can enhance lighting and color without intentionally reshaping people.",feature2_image_alt:"AI collage templates and custom style controls beside a finished collage",feature3_title:"Choose the canvas that fits the project",feature3_description:"Generate square, landscape, or portrait collages for social posts, mood boards, campaign concepts, event recaps, and digital keepsakes.",feature3_image_alt:"AI collage adapted to square landscape and portrait formats",testimony_section_title:"Creators use collages to turn photo sets into stories",testimony_section_subtitle:"Fictional examples based on common creative and marketing workflows.",testimony1_review:"I can turn a folder of campaign references into one clear mood board without spending the first hour arranging every crop.",testimony1_name:"Elena Marquez",testimony1_role:"Creative Producer",testimony2_review:"The portrait ratio is useful for combining event photos into a single social story that already feels composed.",testimony2_name:"Mateo Ruiz",testimony2_role:"Social Content Editor",testimony3_review:"I use it to explore how several product images might work together before building the final campaign layout.",testimony3_name:"Nia Okafor",testimony3_role:"Brand Designer",guidance_section_title:"How to Make an AI Photo Collage",guidance_section_subtitle:"Move from a group of source images to a downloadable collage in three focused steps.",step1_title:"Upload your photo set",step1_description:"Choose between 2 and 10 JPG, PNG, or WebP images. Clear photos with useful visual variety give AI more material for the final composition.",step1_image_alt:"Photo set uploaded to the AI collage maker",step2_title:"Cho
2ose mode, style, and canvas",step2_description:"Use Original, select a visual template, or describe a custom style, then choose square, landscape, or portrait output.",step2_image_alt:"Collage mode, visual template, enhancement, and canvas ratio choices",step3_title:"Generate and download",step3_description:"Create the collage, inspect the composition at full size, and download the finished image for your design workflow.",step3_image_alt:"Finished AI collage ready to preview and download",guidance_cta:"Create an AI collage",faq_section_title:"AI Collage Maker FAQ",faq1_question:"What is an AI collage maker?",faq1_answer:"An AI collage maker combines multiple source photos into one generated composition. It can interpret the images together and create a more integrated result than a fixed grid template.",faq2_question:"How many photos can I combine?",faq2_answer:"You can upload between 2 and 10 photos for each collage. The files can be JPG, PNG, or WebP and must be no larger than 10MB each.",faq3_question:"Which aspect ratios are available?",faq3_answer:"You can create a square 1:1 collage, a 3:2 landscape collage, or a 2:3 portrait collage.",faq4_question:"Does AI preserve every detail from my photos?",faq4_answer:"The source images guide the generated composition, but AI may reinterpret small details, edges, or backgrounds. Review the result carefully when exact identity or product details matter.",faq5_question:"What can I use an AI collage for?",faq5_answer:"AI collages work well for social posts, event recaps, campaign concepts, visual journals, mood boards, product stories, and personal keepsakes.",cta_title:"Turn your photo set into one polished composition",cta_subtitle:"Upload the images you want to combine, choose a format, and generate a cohesive AI collage online."},ta={aiCollageMaker:ea},aa={carousel_play_aria:"Play slideshow",carousel_pause_aria:"Pause slideshow",form_mode_label:"Collage mode",form_mode_original:"Original",form_mode_custom:"Custom",form_mode_templates:"Templates",form_upload_label:"Photos",form_upload_description:"Upload 2 to 10 JPG, PNG, or WebP images. Maximum file size: 10MB each.",form_choose_images:"Choose photos",form_drop_images:"or drop them here",form_add_images:"Add photos",form_clear_all:"Clear all",form_remove_image_aria:"Remove photo {n}",form_preview_alt:"Uploaded collage photo {n}",form_upload_input_aria:"Upload photos for the collage",form_photo_count:"{count} of {max} photos",form_enhance_label:"Enhance photos",form_enhance_description:"Harmonize lighting, exposure, and color while keeping people recognizable.",form_example_label:"Example",form_original_example_alt:"Example of an enhanced original photo collage",form_custom_example_alt:"Example of a collage created from a custom style description",form_template_label:"Choose a template",form_template_wood_frame:"Wood frame",form_template_newspaper:"Newspaper",form_template_playful:"Playful",form_template_polaroid:"Polaroid",form_template_scrapbook:"Scrapbook",form_template_film:"Film",form_custom_style_label:"Describe the style you want",form_custom_style_placeholder:"e.g. vintage travel scrapbook with warm tones",form_custom_style_description:"Describe any visual direction and AI will build a cohesive collage style.",form_ratio_label:"Aspect ratio",form_ratio_square:"1:1 square",form_ratio_landscape:"3:2 landscape",form_ratio_portrait:"2:3 portrait",form_usage_note:"This run uses {cost} credit. You have {n} remaining.",button_text:"Generate AI collage",form_generating_prefix:"Generating",form_hint_required_fields:"Add at least 2 photos before generating.",generating_title:"Creating your AI collage",generating_subtitle_default:"Balancing the photos into one composition...",progress_preparing:"Preparing your photo set...",progress_checking_style:"Checking your style description...",progress_uploading_images:"Uploading your photos...",progress_checking_photos:"Checking your uploaded photos...",progress_creating_task:"Starting the collage model...",progress_composing:"Composing the final collage...",toast_success:"Your AI collage is ready.",error_credit_deduction:"Credits could not be deducted. Please try again.",toast_error_generic:"Collage generation failed. Please try again.",error_too_few:"Upload at least 2 photos.",error_no_custom_style:"Describe the custom collage style you want.",error_content_policy:"This description may contain restricted content. Edit it and try again.",error_photo_policy:"One or more photos may contain restricted content. Choose different photos and try again.",error_too_many:"You can upload up to 10 photos.",error_file_too_large:"Each photo must be smaller than 10MB.",error_file_type:"Choose JPG, PNG, or WebP images.",error_upload_failed:"O
2ne or more photos could not be uploaded.",error_create_task:"The collage task could not be started.",error_generation_failed:"The AI collage could not be generated."},oa={aiCollageMaker:aa},la=["original","custom","templates"],sa="original",ra="wood_frame",ge=200,ia=2,Be="将上传的几张图拼成一张精美的拼贴图",Ue="Combine these photos into a polished, curated collage. Give it a refined, magazine-quality finish: gently harmonize the lighting, balance the exposure, and unify the color grading across all the photos so they look cohesive and professionally edited. Keep this refinement subtle and intentional — enhance only lighting, color and overall polish. Do NOT reshape faces, change features, or alter anyone's identity or the real content of the photos; keep every person clearly recognizable as themselves, just looking their best.",he="Combine these photos into a collage. CRITICAL — do NOT retouch or beautify anyone's appearance: keep every person's exact face, features, bone structure, skin texture, blemishes, wrinkles, expression and body proportions identical to the original photo. Do not smooth or airbrush skin, do not slim or reshape faces, do not make anyone look younger, thinner or more attractive. Preserve each person's true, unretouched appearance exactly as photographed.",na="Fit the entire composition inside the canvas with every provided photo fully visible and never cropped at the edges. Show each provided photo exactly once — never repeat, duplicate, mirror, or invent any photo or person. Adapt the arrangement to however many photos are given (1 to 4). The styled background (surface, paper, wall, or strip) fills the whole canvas edge to edge — do NOT add a plain white outer border or leave an empty margin around the whole design.",fe=[{id:"wood_frame",image:"/ai-collage-maker-assets/templates/wood_frame.webp",prompt:"Combine these photos into a gallery-wall photo collage where EACH photo sits inside its OWN individual rustic wooden picture frame. The separately-framed photos are arranged in a balanced grid, evenly spaced with small gaps between frames. Every frame is a complete solid border of warm natural wood with visible grain and a slight 3D depth/shadow. Backgroun
2d: a plain softly-lit cream neutral wall behind the framed photos, with gentle drop shadows under each frame. Warm, homey, classic gallery-wall mood. (The wooden frames are the intended design.)"},{id:"newspaper",image:"/ai-collage-maker-assets/templates/newspaper.webp",prompt:'Combine these photos into a photo collage laid out like a vintage newspaper lifestyle page — a bold serif masthead headline reading "MEMORIES" across the top, a short italic subtitle line beneath it, the photos arranged in a neat editorial grid below like a printed spread, and a thin ruled footer line at the very bottom. Background: an off-white newsprint paper surface with subtle texture and faint speckles. Add editorial accents in the margins only, never over faces: thin ruled lines, small typographic ornaments, short caption lines under photos. Classic black print typography, elegant and journalistic.'},{id:"playful",image:"/ai-collage-maker-assets/templates/playful.webp",prompt:"Combine these photos into a fun, playful photo collage — photos scattered at slight cheerful angles with a hand-drawn banner across the top. Background: a bright sunny yellow surface. Add colorful cartoon doodle stickers in the gaps only, never over faces: a smiling sun, fluffy clouds, hearts, stars, a little cactus, music notes and paw prints. Vibrant, cute and joyful."},{id:"polaroid",image:"/ai-collage-maker-assets/templates/polaroid.webp",prompt:"Combine these photos into a photo collage of classic white-bordered polaroid instant photos with the thick white strip at the bottom, slightly tilted and gently overlapping in a casual scattered arrangement. Background: a plain, clean, warm cream surface — minimal and uncluttered, no doodles or decorations. Nostalgic, casual, homey."},{id:"scrapbook",image:"/ai-collage-maker-assets/templates/scrapbook.webp",prompt:"Combine these photos into a handmade scrapbook photo collage — photos with torn white paper edges, layered and slightly overlapping on a scrapbook page, held with washi tape and paper corners. Background: a light cream scrapbook paper surface. Add handmade decorations in the gaps only, never over faces: small doodles, colorful washi-tape strips, paper clips, tiny handwritten-style scribbles and sticky notes. Crafty, personal, journal-like."},{id:"film",image:"/ai-collage-maker-assets/templates/film.webp",prompt:"Combine these photos into a photo collage arranged along a SINGLE horizontal 35mm film strip with sprocket-hole edges along the top and bottom. The strip contains EXACTLY one frame per provided photo — if 1 photo is given show a strip with a single frame, if 2 photos show 2 frames, if 4 photos show 4 frames. NEVER pad, repeat, or duplicate a photo to fill extra frames; the strip is only as long as the number of photos requires. Place the strip across the middle of the canvas. Backgroun
2d: a plain, clean, matte near-black surface above and below the strip — minimal, with only subtle fine film grain. No amber light leaks, no glows, no heavy cinematic overlays."}],He={original:"/ai-collage-maker-assets/examples/mode1_example.webp",custom:"/ai-collage-maker-assets/examples/mode3_display.webp"},ca=`You are a content safety reviewer. I will send you a short text describing a desired visual style for a photo collage. Review the text for ONLY these three objective harms:
31. Sexual, explicit, pornographic, or obscene content;
42. Violent, gory, cruel, or graphically harmful content;
53. Content that harms, sexualizes, endangers, or exploits children.
6
7Do NOT check for intellectual property, copyright, trademarks, brand names, logos, celebrities, or fictional characters — those are allowed and must pass.
8
9Return exactly one JSON object in the form {"pass": boolean}. If none of the three harms are present, pass must be true.`,da=(m,{enhance:P,templateId:J,customText:E})=>{if(m==="templates")return`${(fe.find(ie=>ie.id===J)||fe[0]).prompt} ${P?Ue:he} ${na}`;if(m==="custom"){const Q=P?Ue:he;return`Combine these photos into a photo collage. Desired style: "${E.trim()}". Interpret that into one coherent collage aesthetic using the same three layers a good template uses: 1. Style — the overall aesthetic, mood, color palette and finish for the requested style. 2. Background — a background surface that fits that style. 3. Decorations — tasteful accents that suit the style, placed in the gaps only, never over faces. If a branded or copyrighted style is requested, evoke its general aesthetic using generic, non-branded elements — no logos, no exact copyrighted characters. ${Q} Show each provided photo exactly once, fully visible and never cropped; never repeat or duplicate any photo or person; fill the frame with no plain outer border.`}return P?Be:`${Be} ${he}`},ua=St("components/Commen/FeatureSection.vue",()=>W(()=>import("./FeatureSection-rEMDpWBs-28.js"),__vite__mapDeps([0]),import.meta.url).then(m=>m.default||m)),pa=be("components/TestimonySection.vue",()=>W(()=>import("./TestimonySection-BiaRn5Ul-28.js"),__vite__mapDeps([0]),import.meta.url).then(m=>m.default||m)),ma=be("components/FAQSection.vue",()=>W(()=>import("./FAQSection-Czwo-BCE-28.js"),[],import.meta.url).then(m=>m.default||m)),ga=be("components/Commen/CTASection.vue",()=>W(()=>import("./CTASection-DMYVj1H3-28.js"),__vite__mapDeps([0]),import.meta.url).then(m=>m.default||m)),ha={class:"bg-gradient-to-b from-gray-50 to-gray-100 px-4 pb-12 pt-20 lg:px-8 lg:pb-16 lg:pt-24"},_a={class:"mx-auto w-full max-w-7xl"},fa={class:"mx-auto mb-8 max-w-3xl text-center"},ba={class:"mb-3 inline-block rounded-full bg-emerald-100 px-4 py-1 text-sm font-semibold text-emerald-800"},va={class:"mb-3 bg-gradient-to-r from-[#3155d5] via-[#c0266d] to-[#d97706] bg-clip-text pb-2 text-3xl font-bold text-transparent lg:text-5xl"},wa={class:"mx-auto max-w-3xl text-base leading-relaxed text-slate-600"},ya={id:"generator",class:"grid scroll-mt-24 gap-6 lg:grid-cols-[392px_minmax(0,1fr)] lg:items-center"},ka={class:"mb-1.5 text-xs font-semibold text-slate-800"},Ca={class:"grid grid-cols-3 rounded-lg bg-slate-100 p-1",role:"tablist"},xa=["aria-selected","onClick"],Ma={class:"mb-1.5 flex items-center justify-between gap-3"},$a={class:"block text-xs font-semibold text-slate-800"},Ia={class:"text-xs text-slate-600"},Aa={key:0,class:"grid grid-cols-4 gap-2 rounded-lg border border-slate-200 bg-slate-50 p-2.5"},Ea=["src","alt"],Sa=["aria-label","title","onClick"],Ta={key:0,class:"flex aspect-square cursor-pointer flex-col items-center justify-center rounded-md border-2 border-dashed border-slate-300 bg-white text-center hover:border-blue-600 hover:bg-blue-50"},Pa={class:"mt-1 text-[11px] font-semibold text-slate-700"},La=["aria-label"],ja={class:"text-sm font-semibold text-slate-800"},Oa={class:"mt-0.5 text-xs text-slate-600"},Ra=["aria-label"],qa={class:"mt-1.5 flex items-start justify-between gap-3"},za={class:"text-xs leading-relaxed text-slate-600"},Na={key:2,class:"mt-1 text-xs text-amber-700 animate-pulse"},Da={class:"flex cursor-pointer items-start justify-between gap-4 roun
9ded-lg border border-slate-200 bg-slate-50 px-3 py-2.5"},Ga={class:"block text-xs font-semibold text-slate-800"},Fa={class:"mt-0.5 block text-[11px] leading-relaxed text-slate-600"},Ba={key:0},Ua={class:"mb-1.5 text-xs font-semibold text-slate-800"},Ha=["src","alt"],Ya={key:1},Va={class:"mb-1.5 text-xs font-semibold text-slate-800"},Wa={class:"grid max-h-80 grid-cols-2 gap-2 overflow-y-auto pr-1"},Ja=["aria-pressed","onClick"],Qa=["src","alt"],Ka={class:"block truncate px-1 py-1 text-[11px] font-semibold text-slate-700"},Xa={key:2},Za={class:"mb-1.5 flex items-center justify-between gap-3"},eo={for:"collage-custom-style",class:"text-xs font-semibold text-slate-800"},to={class:"text-[11px] text-slate-500"},ao=["maxlength","placeholder"],oo={class:"mt-1 text-[11px] leading-relaxed text-slate-600"},lo={key:0,class:"mt-1 text-xs text-amber-700 animate-pulse"},so=["src","alt"],ro={id:"collage-ratio-label",class:"mb-1.5 text-xs font-semibold text-slate-800"},io={value:"1:1"},no={value:"3:2"},co={value:"2:3"},uo={class:"mt-auto pt-1"},po=["disabled"],mo={key:2},go={key:3},ho={key:0,class:"mt-1.5 text-center text-xs text-amber-700 animate-pulse"},_o={class:"mt-2 text-center text-xs text-slate-600"},fo={class:"w-full min-w-0 lg:self-center"},bo={key:0,class:"rounded-lg bg-white p-4 shadow-lg"},vo={class:"mb-3 flex flex-wrap items-center justify-between gap-2"},wo={class:"text-sm font-semibold text-slate-800"},yo={class:"flex flex-wrap gap-2"},ko=["aria-label"],Co=["src","alt"],xo={class:"absolute right-3 top-3 inline-flex h-10 w-10 items-center justify-center rounded-full bg-black/70 text-white opacity-0 transition-opacity group-hover:opacity-100 group-focus:opacity-100"},Mo={class:"mt-3 flex justify-end"},$o={key:1,class:"flex aspect-video w-full flex-col items-center justify-center rounded-lg bg-white p-8 text-center shadow-lg","aria-live":"polite"},Io={class:"text-lg font-semibold text-slate-900"},Ao={class:"mt-1 text-sm text-slate-600"},Eo=["srcset"],So=["srcset"],To=["src","alt","loading","fetchpriority"],Po={class:"absolute inset-0 flex items-center justify-between p-3 opacity-100 transition-opacity sm:opacity-0 sm:group-hover:opacity-100 sm:group-focus-within:opacity-100"},Lo=["aria-label"],jo=["aria-label"],Oo={class:"absolute bottom-2 left-1/2 flex -translate-x-1/2 gap-1 rounded-full bg-black/35 px-1.5 backdrop-blur-sm"},Ro=["aria-label","aria-current","onClick"],qo=["aria-label","title"],zo={class:"bg-slate-50 px-4 py-24 lg:px-8"},No={class:"mx-auto max-w-7xl"},Do={class:"mx-auto mb-12 max-w-3xl text-center"},Go={class:"text-3xl font-bold text-slate-900 lg:text-4xl"},Fo={class:"mt-4 text-base leading-relaxed text-slate-600 lg:text-lg"},Bo={key:0,class:"mt-3 text-sm text-slate-600"},Uo={class:"grid gap-6 md:grid-cols-3"},Ho={class:"aspect-video bg-slate-100"},Yo=["src","alt"],Vo={class:"p-5"},Wo={class:"inline-flex h-9 w-9 items-center justify-center rounded-full bg-emerald-100 text-sm font-bold text-emerald-800"},Jo={class:"mt-4 text-lg font-semibold text-slate-900"},Qo={class:"mt-2 text-sm leading-relaxed text-slate-600"},Ko={class:"mt-10 text-center"},Xo=["aria-label"],Zo=["aria-label","title"],el=["src","alt"],re=1,tl=2,_e=10,al=10*1024*1024,ol="https://public.imgkits.com/i18n_languages/imgkits/ai-collage-maker/1.0.0",ll="https://public.imgkits.com/i18n_languages/imgkits/ai-collage-maker-forms/1.0.0",sl="判断照片是否包含血腥、暴力或其他内容。如果照片违反规则,则返回 false,正常图片返回 true. 仅ä»
9…返回Boolean值",rl={__name:"ai-collage-maker",async setup(m){let P,J;const E=bt(),Q=vt(),ie=new Set(["image/jpeg","image/png","image/webp"]),ve=wt(),S={hero1:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_hero_1_sR5mH2JhhDZWK6z7hwwpZyMbJGRfTZJN.webp",hero2:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_hero_2_nExtaDmcTcd3RAmCz5zKNFpKYk6h4PC4.webp",hero3:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_hero_3_HxGXweXCSkyR4WCbKziifijYQKGphQfD.webp",feature1:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_feature_1_kiKQmd5y4JGFdF2EScNp2GQKDJQC6dBe.webp",feature2:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_feature_2_zyKh4sA7F5brCnkAicr522aFTnsirhbM.webp",feature3:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_feature_3_ESEZ8ct7BzH4PH3asxphzXCnbtSA3XEG.webp",step1:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_step_1_GYQQrQEjZXZ768m6Qj4p4wdJGSQXHTRT.webp",step2:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_step_2_BJDFbEtKStr5bGGB5i7QyHJWDdnRFTt5.webp",step3:"https://video.deletetweets.ai/asset_2026_08_14_ai_collage_maker_step_3_mniYidk68MC8jrMsK56CniXFpykcHwsZ.webp",avatar1:"https://video.deletetweets.ai/asset_2026_07_15_ai-vocal-remover-avatar-elena-marquez_xPnRzpRaExxscrmN4WbQhQj7.webp",avatar2:"https://video.deletetweets.ai/asset_2026_07_15_ai_video_upscaler_avatar_mateo_BJpGs6YfkdaGR3RPdbNC6D44dY7Pafra.webp",avatar3:"https://video.deletetweets.ai/asset_2026_07_15_ai3d_avatar_nia_okafor_dmEbcnkGT7EZmbEMG3ammncMZCwExD3c.webp"},we=(e,a)=>{try{const n=new URL(e);return n.protocol==="https:"?`${n.origin}/cdn-cgi/image/width=${a},quality=72,format=webp,fit=scale-down${n.pathname}`:e}catch{return e}},ye=yt(),{user:ke,canUseVideoCnt:Ce,jwt:K}=kt(ye),Ye=ze("loginModal"),Ve=ze("dialogPay"),{replicateFetch:We}=Mt(),xe=Tt(),{t:l,locale:X}=xe,Je=v(()=>["tr","ru"].includes(X.value)),Qe=zt(()=>W(()=>import("./AIContentReport-OXidGQRg-28.js"),[],import.meta.url));[P,J]=Pt(()=>Ft({blockKey:"aiCollageMaker",cacheKey:"ai-collage-maker",i18n:xe,locale:X,localMain:ta,localForms:oa,mainBase:ol,formBase:ll})),await P,J();const _=p([]),b=p(E.query.text?"custom":sa),Me=p({original:!0,custom:!0,templates:!0}),L=v({get:()=>Me.value[b.value],set:e=>{Me.value[b.value]=e}}),N=p(ra),T=p(typeof E.query.text=="string"?E.query.text.slice(0,ge):""),D=p(""),G=p("1:1"),y=p(""),Z=p(!1),$=p(!1),k=p(""),w=p(""),j=p(!1),F=v(()=>_.value.length>=tl),O=v(()=>[{id:1,image:S.hero1,alt:l("aiCollageMaker.carousel_alt_1")},{id:2,image:S.hero2,alt:l("aiCollageMaker.carousel_alt_2")},{id:3,image:S.hero3,alt:l("aiCollageMaker.carousel_alt_3")}]),C=p(0),ee=p(!1),x=p(!1),R=p(!1),ne=v(()=>x.value||R.value),B=v(()=>O.value[C.value]||O.value[0]),ce=v(()=>C.value===0&&!ee.value);let te,q,de=!1,$e=!1,Ie=!1;const Ke=v(()=>[1,2,3].map(e=>({title:l(`aiCollageMaker.feature${e}_title`),description:l(`aiCollageMaker.feature${e}_description`),imageSrc:S[`feature${e}`],imageAlt:l(`aiCollageMaker.feature${e}_image_alt`)}))),Xe=v(()=>[1,2,3].map(e=>({title:l(`aiCollageMaker.step${e}_title`),description:l(`aiCollageMaker.step${e}_description`),image:S[`step${e}`],alt:l(`aiCollageMaker.step${e}_image_alt`)}))),Ze=v(()=>[1,2,3].map(e=>({quote:l(`aiCollageMaker.testimony${e}_review`),name:l(`aiCollageMaker.testimony${e}_name`),role:l(`aiCollageMaker.testimony${e}_role`),avatar:S[`avatar${e}`],rating:5}))),et=v(()=>[1,2,3,4,5].map(e=>({question:l(`aiCollageMaker.faq${e}_question`),answer:l(`aiCollageMaker.faq${e}_answer`)}))),ue=e=>{e?.preview&&URL.revokeObjectURL(e.preview)},tt=e=>_.value.length+e.length>_e?(y.value=l("aiCollageMaker.error_too_many"),[]):e.some(a=>!ie.has(a.type))?(y.value=l("aiCollageMaker.error_file_type"),[]):e.some(a=>a.size>al)?(y.value=l("aiCollageMaker.error_file_too_large"),[]):e,Ae=e=>{const a=tt(Array.from(e||[]));a.length&&(y.value="",_.value.push(...a.map(n=>({id:`${n.name}-${n.size}-${n.lastModified}-${Math.random()}`,file:n,preview:URL.createObjectURL(n)}))),F.value&&(Z.value=!1))},Ee=e=>{Ae(e.target.files),e.target.value=""},at=e=>Ae(e.dataTransfer?.files),ot=e=>{const[a]=_.value.splice(e,1);ue(a)},Se=()=>{_.value.forEach(ue),_.value=[],y.value=""},lt=()=>{if(!$.value){if(!F.value){y.value=l("aiCollageMaker.error_too_few"),Z.value=!0;return}if(b.value==="custom"&&T.value.trim().length<ia){D.value=l("aiCollageMaker.error_no_custom_style");return}ct()}},st=e=>{if(typeof e!="string")return e;try{return JSON.parse(e)}catch{return null}},Te=e=>new Promise(a=>setTimeout(a,e)),rt=async e=>{try{const n=(await $fetch("https://ai.imgkits.com/api/chat/create",{method:"POST",headers:{Authorization:K.value?`Bearer ${K.value}`:"",Channel:"ai"},body:{payload:{messages:[{role:"system",content:sl},{role:"user",content:[{type:"image_url",image_url:{url:e}}]}]},top_p:.5}}))?.data?.jobId;if(!n)return!0;for(let g=0;g<30;g+=1){const f=await $fetch("https://ai.imgkits.com/api/chat/result",{method:"POST",headers:{Authorization:K.value?`Bearer ${K.value}`:"",Channel:"ai"},body:{jobId:n}});if(f?.data?.status===10){const h=f.data.result;return h==null?!0:String(h).toLowerCase()==="true"}if(f?.data?.status===-1||f?.data?.status==="failed")return!0;await Te(3e3)}}catch(a){console.warn("Collage photo safety review failed open:",a)}return!0},it=async e=>{for(let n=0;n<e.length;n+=3)if((await Promise.all(e.slice(n,n+3).map(rt))).some(f=>f!==!0))return!1;return!0},nt=async e=>{try{const n=(await $fetch("https://ai.imgkits.com/api/chat/create",{method:"POST",body:{payload:{messages:[{role:"system",content:ca},{role:"user",content:e}],temperature:0,response_format:{type:"json_object"}},model:"turbo0125"}}))?.data?.jobId;if(!n)return!0;for(let g=0;g<50;g+=1){const f=await $fetch("https://api.imgkits.com/api/chat/result",{method:"POST",body:{jobId:n}});if(f?.data?.status===10){const h=f.data.result;return(typeof h=="string"?JSON.parse(h):h)?.pass===!0}await Te(3e3)}}catch(a){console.warn("Custom collage style review failed open:",a)}return!0},ct=async()=>
9{if(!(!F.value||$.value)){if(!ke.value){Ye?.value?.open?.();return}if(Ce.value<re){Ve?.value?.open?.();return}$.value=!0,w.value="",k.value=l("aiCollageMaker.progress_preparing");try{if(b.value==="custom"&&(k.value=l("aiCollageMaker.progress_checking_style"),!await nt(T.value.trim())))throw new Error(l("aiCollageMaker.error_content_policy"));k.value=l("aiCollageMaker.progress_uploading_images");const e=[];for(const s of _.value){const u=await Gt(s.file,s.file.name,"ai_collage_maker");if(!u?.url)throw new Error(l("aiCollageMaker.error_upload_failed"));e.push(u.url)}if(k.value=l("aiCollageMaker.progress_checking_photos"),!await it(e))throw new Error(l("aiCollageMaker.error_photo_policy"));const n={prompt:da(b.value,{enhance:L.value,templateId:N.value,customText:T.value}),image_input:e,quality:"low",number_of_images:1,output_format:"png",aspect_ratio:G.value};k.value=l("aiCollageMaker.progress_creating_task");const f=st(await We.createSpecifyPrediction("openai","gpt-image-2",n))?.data;if(!f)throw new Error(l("aiCollageMaker.error_create_task"));k.value=l("aiCollageMaker.progress_composing");const h=await $t.getReplicateTask(f,120);if(!h?.success||!h.data)throw new Error(h?.message||l("aiCollageMaker.error_generation_failed"));const le=h.data;if(!await ye.addFreeUsageCnt(re,!1))throw new Error(l("aiCollageMaker.error_credit_deduction"));w.value=le,It({sum_key:"ai-collage-maker",title:l("aiCollageMaker.schema_name"),user_id:ke.value?.id||"",data:{model:"openai/gpt-image-2",mode:b.value,template:b.value==="templates"?N.value:"",enhance:L.value,image_count:_.value.length,aspect_ratio:G.value,credit_cost:re}}),Ne.success(l("aiCollageMaker.toast_success"))}catch(e){console.error("AI collage generation failed:",e),Ne.error(e?.message||l("aiCollageMaker.toast_error_generic"))}finally{$.value=!1,k.value=""}}},dt=()=>{w.value="",j.value=!1,G.value="1:1",D.value="",Se()},ut=async()=>{if(w.value)try{const e=await fetch(w.value);if(!e.ok)throw new Error;const a=await e.blob(),n=window.URL.createObjectURL(a),g=document.createElement("a");g.href=n,g.download="ai-collage.png",document.body.appendChild(g),g.click(),g.remove(),window.URL.revokeObjectURL(n)}catch{window.open(w.value,"_blank","noopener,noreferrer")}},Pe=()=>{ee.value=!0,C.value=(C.value+1)%O.value.length},pt=()=>{ee.value=!0,C.value=(C.value-1+O.value.length)%O.value.length};let U;const Le=()=>{q!==void 0&&(de?window.cancelIdleCallback?.(q):window.clearTimeout(q),q=void 0)},ae=()=>{Le(),U&&clearInterval(U),U=void 0},mt=()=>{ae(),ne.value||(U=At(Pe,6e3))},oe=()=>{if(Le(),!$e||!Ie||ne.value||U)return;const e=()=>{q=void 0,mt()};de=typeof window.requestIdleCallback=="function",q=de?window.requestIdleCallback(e,{timeout:2e3}):window.setTimeout(e,250)},gt=e=>{ee.value=!0,C.value=e,ae(),oe()},ht=()=>{x.value=!x.value,x.value||(R.value=!1)},je=e=>{e.matches&&(x.value=!0)},_t=()=>{ce.value&&($e=!0,oe())},pe=()=>{Ie=!0,oe()};qe(ne,e=>{e?ae():oe()}),qe(F,e=>{e&&(Z.value=!1,y.value="")}),Ct(()=>({title:l("aiCollageMaker.meta_title"),link:[{rel:"canonical",href:"https://www.imgkits.com/ai-collage-maker"}],meta:[{name:"description",content:l("aiCollageMaker.meta_description")},{name:"keywords",content:l("aiCollageMaker.meta_keywords")},{property:"og:site_name",content:"Imgkits"},{property:"og:title",content:l("aiCollageMaker.meta_title")},{property:"og:description",content:l("aiCollageMaker.meta_description")},{property:"og:image",content:S.hero1}],script:[{type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"WebApplication",name:l("aiCollageMaker.schema_name"),url:"https://www.imgkits.com/ai-collage-maker",applicationCategory:"DesignApplication",operatingSystem:"Web",description:l("aiCollageMaker.meta_description"),offers:{"@type":"Offer",price:"0",priceCurrency:"USD"}})}]}));const Oe=e=>{e.key==="Escape"&&(j.value=!1)};return Lt(()=>{te=window.matchMedia("(prefers-reduced-motion: reduce)"),te.matches&&(x.value=!0),te.addEventListener?.("change",je),document.readyState==="complete"?pe():window.addEventListener("load",pe,{once:!0}),window.addEventListener("keydown",Oe),E.query.text&&Q.replace({path:E.path})}),jt(()=>{ae(),te?.removeEventListener?.("change",je),window.removeEventListener("load",pe),window.removeEventListener("keydown",Oe),_.value.forEach(ue)}),(e,a)=>
9{const n=Et,g=ua,f=pa,h=xt,le=ma,Re=ga;return r(),i(I,null,[d(n,{"hydrate-never":"",items:[{title:e.$t("tabnewtitle.generate"),path:"/?tab=imggenerate"},{title:e.$t("aiCollageMaker.breadcrumb"),path:""}]},null,8,["items"]),t("main",null,[t("section",ha,[t("div",_a,[t("header",fa,[t("span",ba,o(e.$t("aiCollageMaker.badge")),1),t("h1",va,o(e.$t("aiCollageMaker.title")),1),t("p",wa,o(e.$t("aiCollageMaker.subtitle")),1)]),t("div",ya,[t("form",{class:"flex w-full flex-col gap-4 rounded-lg bg-white p-5 shadow-lg",onSubmit:z(lt,["prevent"])},[t("fieldset",null,[t("legend",ka,o(e.$t("aiCollageMaker.form_mode_label")),1),t("div",Ca,[(r(!0),i(I,null,Y(c(la),s=>(r(),i("button",{key:s,type:"button",role:"tab","aria-selected":b.value===s,class:V(["min-h-10 rounded-md px-2 py-2 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-fuchsia-600",b.value===s?"bg-white text-fuchsia-700 shadow-sm":"text-slate-600 hover:text-slate-900"]),onClick:u=>b.value=s},o(e.$t(`aiCollageMaker.form_mode_${s}`)),11,xa))),128))])]),t("div",null,[t("div",Ma,[t("label",$a,o(e.$t("aiCollageMaker.form_upload_label")),1),t("span",Ia,o(e.$t("aiCollageMaker.form_photo_count",{count:_.value.length,max:_e})),1)]),_.value.length?(r(),i("div",Aa,[(r(!0),i(I,null,Y(_.value,(s,u)=>(r(),i("div",{key:s.id,class:"group relative aspect-square overflow-hidden rounded-md bg-white"},[t("img",{src:s.preview,alt:e.$t("aiCollageMaker.form_preview_alt",{n:u+1}),class:"h-full w-full object-cover"},null,8,Ea),t("button",{type:"button",class:"absolute right-0 top-0 inline-flex h-10 w-10 items-center justify-center rounded-bl-lg bg-black/70 text-white hover:bg-rose-700 focus:outline-none focus:ring-2 focus:ring-white","aria-label":e.$t("aiCollageMaker.form_remove_image_aria",{n:u+1}),title:e.$t("aiCollageMaker.form_remove_image_aria",{n:u+1}),onClick:ft=>ot(u)},[d(c(Fe),{class:"h-4 w-4","aria-hidden":"true"})],8,Sa)]))),128)),_.value.length<_e?(r(),i("label",Ta,[d(c(Ut),{class:"h-5 w-5 text-blue-700","aria-hidden":"true"}),t("span",Pa,o(e.$t("aiCollageMaker.form_add_images")),1),t("input",{type:"file",multiple:"",accept:"image/jpeg,image/png,image/webp",class:"sr-only","aria-label":e.$t("aiCollageMaker.form_upload_input_aria"),onChange:Ee},null,40,La)])):A("",!0)])):(r(),i("label",{key:1,class:"flex min-h-32 cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-slate-300 bg-slate-50 px-4 py-4 text-center transition-colors hover:border-blue-600 hover:bg-blue-50",onDragover:a[0]||(a[0]=z(()=>{},["prevent"])),onDrop:z(at,["prevent"])},[d(c(Zt),{class:"mb-2 h-7 w-7 text-blue-700","aria-hidden":"true"}),t("span",ja,o(e.$t("aiCollageMaker.form_choose_images")),1),t("span",Oa,o(e.$t("aiCollageMaker.form_drop_images")),1),t("input",{type:"file",multiple:"",accept:"image/jpeg,image/png,image/webp",class:"sr-only","aria-label":e.$t("aiCollageMaker.form_upload_input_aria"),onChange:Ee},null,40,Ra)],32)),t("div",qa,[t("p",za,o(e.$t("aiCollageMaker.form_upload_description")),1),_.value.length?(r(),i("button",{key:0,type:"button",class:"flex-none text-xs font-semibold text-rose-700 hover:text-rose-800 focus:outline-none focus:underline",onClick:Se},o(e.$t("aiCollageMaker.form_clear_all")),1)):A("",!0)]),y.value?(r(),i("p",Na,o(y.value),1)):A("",!0)]),t("label",Da,[t("span",null,[t("span",Ga,o(e.$t("aiCollageMaker.form_enhance_label")),1),t("span",Fa,o(e.$t("aiCollageMaker.form_enhance_description")),1)]),t("span",{class:V(["relative mt-0.5 inline-flex h-6 w-11 flex-none items-center rounded-full transition-colors",L.value?"bg-fuchsia-600":"bg-slate-300"])},[me(t("input",{"onUpdate:modelValue":a[1]||(a[1]=s=>L.value=s),type:"checkbox",class:"sr-only"},null,512),[[Ot,L.value]]),t("span",{class:V(["h-5 w-5 rounded-full bg-white shadow-sm transition-transform",L.value?"translate-x-[22px]":"translate-x-0.5"])},null,2)],2)]),b.value==="original"?(r(),i("div",Ba,[t("p",Ua,o(e.$t("aiCollageMaker.form_example_label")),1),t("img",{src:c(He).original,alt:e.$t("aiCollageMaker.form_original_example_alt"),class:"mx-auto aspect-square w-full max-w-[280px] rounded-lg border border-slate-200 object-cover",width:"560",height:"560",loading:"lazy"},null,8,Ha)])):b.value==="templates"?(r(),i("fieldset",Ya,[t("legend",Va,o(e.$t("aiCollageMaker.form_template_label")),1),t("div",Wa,[(r(!0),i(I,null,Y(c(fe),s=>(r(),i("button",{key:s.id,type:"button",class:V(["overflow-hidden rounded-lg border-2 bg-white text-center transition focus:outline-none focus:ring-2 focus:ring-fuchsia-600",N.value===s.id?"border-fuchsia-600":"border-slate-200 hover:border-slate-400"]),"aria-pressed":N.value===s.id,onClick:u=>N.value=s.id},[t("img",{src:s.image,alt:e.$t(`aiCollageMaker.form_template_${s.id}`),class:"aspect-square w-full object-cover",width:"120",height:"120",loading:"lazy"},null,8,Qa),t("span",Ka,o(e.$t(`aiCollageMaker.form_template_${s.id}`)),1)],10,Ja))),128))])])):(r(),i("div",Xa,[t("div",Za,[t("label",eo,o(e.$t("aiCollageMaker.form_custom_style_label")),1),t("span",to,o(T.value.length)+"/"+o(c(ge)),1)]),me(t("textarea",{id:"collage-custom-style","onUpdate:modelValue":a[2]||(a[2]=s=>T.value=s),maxlength:c(ge),rows:"3",class:"w-full resize-none rounded-lg border border-slate-300 bg-white px-3 py-2.5 text-sm text-slate-800 placeholder:text-slate-400 focus:border-fuchsia-600 focus:outline-none focus:ring-1 focus:ring-fuchsia-600",placeholder:e.$t("aiCollageMaker.form_custom_style_placeholder"),onInput:a[3]||(a[3]=s=>D.value="")},null,40,ao),[[Rt,T.value]]),t("p",oo,o(e.$t("aiCollageMaker.form_custom_style_description")),1),D.value?(r(),i("p",lo,o(D.value),1)):A("",!0),t("img",{src:c(He).custom,alt:e.$t("aiCollageMaker.form_custom_example_alt"),class:"mx-auto mt-2 aspect-square w-full max-w-[280px] rounded-lg border border-slate-200 object-cover",width:"560",height:"560",loading:"lazy"},null,8,so)])),t("fieldset",null,[t("legend",ro,o(e.$t("aiCollageMaker.form_ratio_label")),1),me(t("select",{"onUpdate:modelValue":a[4]||(a[4]=s=>
9G.value=s),"aria-labelledby":"collage-ratio-label",class:"w-full rounded-lg border border-slate-300 bg-white px-3 py-2.5 text-sm font-medium text-slate-800 focus:border-blue-600 focus:outline-none focus:ring-1 focus:ring-blue-600"},[t("option",io,o(e.$t("aiCollageMaker.form_ratio_square")),1),t("option",no,o(e.$t("aiCollageMaker.form_ratio_landscape")),1),t("option",co,o(e.$t("aiCollageMaker.form_ratio_portrait")),1)],512),[[qt,G.value]])]),t("div",uo,[t("button",{type:"submit",disabled:$.value||b.value==="custom"&&!T.value.trim(),class:"inline-flex w-full items-center justify-center gap-2 rounded-lg bg-gradient-to-r from-[#d92d73] to-[#7c3aed] px-4 py-3 text-sm font-semibold text-white shadow-sm transition hover:from-[#be185d] hover:to-[#6d28d9] hover:shadow-md focus:outline-none focus:ring-2 focus:ring-fuchsia-700 focus:ring-offset-2 disabled:cursor-wait disabled:opacity-70"},[$.value?(r(),H(c(De),{key:0,class:"h-4 w-4 animate-spin","aria-hidden":"true"})):(r(),H(c(Ge),{key:1,class:"h-4 w-4","aria-hidden":"true"})),$.value?(r(),i("span",mo,o(e.$t("aiCollageMaker.form_generating_prefix"))+" "+o(k.value),1)):(r(),i("span",go,o(e.$t("aiCollageMaker.button_text")),1))],8,po),Z.value&&!F.value?(r(),i("p",ho,o(e.$t("aiCollageMaker.form_hint_required_fields")),1)):A("",!0),t("p",_o,o(e.$t("aiCollageMaker.form_usage_note",{cost:re,n:c(Ce)})),1)])],32),t("div",fo,[w.value?(r(),i("div",bo,[t("div",vo,[t("h2",wo,o(e.$t("aiCollageMaker.result_title")),1),t("div",yo,[t("button",{type:"button",class:"inline-flex min-h-10 items-center gap-1.5 rounded-lg bg-blue-700 px-3 py-2 text-xs font-semibold text-white hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",onClick:ut},[d(c(Wt),{class:"h-4 w-4","aria-hidden":"true"}),M(" "+o(e.$t("aiCollageMaker.result_download")),1)]),t("button",{type:"button",class:"inline-flex min-h-10 items-center gap-1.5 rounded-lg border border-slate-300 bg-white px-3 py-2 text-xs font-semibold text-slate-700 hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",onClick:dt},[d(c(Jt),{class:"h-4 w-4","aria-hidden":"true"}),M(" "+o(e.$t("aiCollageMaker.result_new")),1)])])]),t("button",{type:"button",class:"group relative flex aspect-video w-full items-center justify-center overflow-hidden rounded-lg bg-slate-100 focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":e.$t("aiCollageMaker.result_open_aria"),onClick:a[5]||(a[5]=s=>j.value=!0)},[t("img",{src:w.value,alt:e.$t("aiCollageMaker.result_image_alt"),class:"h-full w-full object-contain"},null,8,Co),t("span",xo,[d(c(Qt),{class:"h-4 w-4","aria-hidden":"true"})])],8,ko),t("div",Mo,[d(c(Qe),{"content-type":"ai-collage-maker","content-id":w.value||"",variant:"minimal","trigger-text":e.$t("aiCollageMaker.report_ai_content"),"trigger-class":"inline-flex items-center gap-2 rounded-full border border-rose-200 bg-white px-4 py-2 text-sm font-medium text-rose-700 shadow-sm hover:border-rose-300 hover:bg-rose-50"},null,8,["content-id","trigger-text"])])])):$.value?(r(),i("div",$o,[d(c(De),{class:"mb-5 h-14 w-14 animate-spin text-fuchsia-700","aria-hidden":"true"}),t("h2",Io,o(e.$t("aiCollageMaker.generating_title")),1),t("p",Ao,o(k.value||e.$t("aiCollageMaker.generating_subtitle_default")),1)])):(r(),i("div",{key:2,class:"group relative aspect-video w-full overflow-hidden rounded-lg bg-slate-100 shadow-xl",onMouseenter:a[6]||(a[6]=s=>R.value=!0),onMouseleave:a[7]||(a[7]=s=>R.value=!1),onFocusin:a[8]||(a[8]=s=>R.value=!0),onFocusout:a[9]||(a[9]=s=>R.value=!1)},[d(Nt,{name:"carousel-fade",mode:"out-in"},{default:se(()=>[(r(),i("picture",{key:B.value.id,class:"flex h-full w-full items-center justify-center"},[t("source",{media:"(max-width: 639px)",srcset:we(B.value.image,480),type:"image/webp"},null,8,Eo),t("source",{media:"(min-width: 640px)",srcset:we(B.value.image,960),type:"image/webp"},null,8,So),t("img",{src:B.value.image,alt:B.value.alt,class:"h-full w-full object-contain",width:"960",height:"540",loading:ce.value?"eager":"lazy",fetchpriority:ce.value?"high":"auto",onLoad:_t},null,40,To)]))]),_:1}),t("div",Po,[t("button",{type:"button",class:"inline-flex h-11 w-11 items-center justify-center rounded-full bg-white/95 text-slate-900 shadow-md hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-600","aria-label":e.$t("aiCollageMaker.carousel_prev_aria"),onClick:pt},[d(c(Yt),{class:"h-5 w-5","aria-hidden":"true"})],8,Lo),t("button",{type:"button",class:"inline-flex h-11 w-11 items-center justify-center rounded-full bg-white/95 text-slate-900 shadow-md hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-600","aria-label":e.$t("aiCollageMaker.carousel_next_aria"),onClick:Pe},[d(c(Vt),{class:"h-5 w-5","aria-hidden":"true"})],8,jo)]),t("div",Oo,[(r(!0),i(I,null,Y(O.value,(s,u)=>(r(),i("button",{key:u,type:"button",class:"inline-flex h-11 w-11 items-center justify-center rounded-full focus:outline-none focus:ring-2 focus:ring-white","aria-label":e.$t("aiCollageMaker.carousel_go_to_aria",{n:u+1}),"aria-current":u===C.value?"true":"false",onClick:ft=>gt(u)},[t("span",{class:V(["h-1.5 rounded-full bg-white transition-all",u===C.value?"w-5":"w-1.5 opacity-65"])},null,2)],8,Ro))),128))]),t("button",{type:"button",class:"absolute bottom-3 right-3 z-10 inline-flex h-11 w-11 items-center justify-center rounded-full bg-black/55 text-white shadow-md backdrop-blur-sm hover:bg-black/70 focus:outline-none focus:ring-2 focus:ring-white","aria-label":e.$t(x.value?"aiCollageMaker.carousel_play_aria":"aiCollageMaker.carousel_pause_aria"),title:e.$t(x.value?"aiCollageMaker.carousel_play_aria":"aiCollageMaker.carousel_pause_aria"),onClick:z(ht,["stop"])},[x.value?(r(),H(c(Kt),{key:0,class:"h-5 w-5","aria-hidden":"true"})):(r(),H(c(Xt),{key:1,class:"h-5 w-5","aria-hidden":"true"}))],8,qo)],32))])])])]),d(g,{"hydrate-on-visible":"","title-primary":e.$t("aiCollageMaker.feature_section_title_primary"),title:e.$t("aiCollageMaker.feature_section_title"),description:e.$t("aiCollageMaker.feature_section_subtitle"),"cta-text":e.$t("common.startButton"),"cta-link":"#generator",features:Ke.value},null,8,["title-primary","title","description","cta-text","features"]),d(f,{"hydrate-never":"",variant:"cards",title:e.$t("aiCollageMaker.testimony_section_title"),subtitle:e.$t("aiCollageMaker.testimony_section_subtitle"),items:Ze.value},null,8,["title","subtitle","items"]),t("section",zo,[t("div",No,[t("header",Do,[t("h2",Go,o(e.$t("aiCollageMaker.guidance_section_title")),1),t("p",Fo,o(e.$t("aiCollageMaker.guidance_section_subtitle")),1),Je.value?(r(),i("p",Bo,[c(X)==="tr"?(r(),i(I,{key:0},[a[14]||(a[14]=M(" Kolaj yerine AI tabanlı görsel birleştirme için ",-1)),d(h,{to:c(ve)("/ai-image-combiner"),class:"text-blue-600 hover:text-blue-800 hover:underline font-medium"},{default:se(()=>[...a[13]||(a[13]=[M("AI fotoğraf birleştirme",-1)])]),_:1},8,["to"]),a[15]||(a[15]=M(" aracımızı deneyin. ",-1))],64)):c(X)==="ru"?(r(),i(I,{key:1},[a[17]||(a[17]=M(" Для нейросетевого слияния вместо коллажей попробуйте наш инструмент ",-1)),d(h,{to:c(ve)("/ai-image-combiner"),class:"text-blue-600 hover:text-blue-800 hover:underline font-medium"},{default:se(()=>[...a[16]||(a[16]=[M("соединить фото с ИИ",-1)])]),_:1},8,["to"]),a[18]||(a[18]=M(". ",-1))],64)):A("",!0)])):A("",!0)]),t("div",Uo,[(r(!0),i(I,null,Y(Xe.value,(s,u)=>(r(),i("article",{key:s.title,class:"overflow-hidden rounded-lg border border-slate-200 bg-white shadow-sm"},[t("div",Ho,[t("img",{src:s.image,alt:s.alt,class:"h-full w-full object-contain",width:"800",height:"450",loading:"lazy"},null,8,Yo)]),t("div",Vo,[t("span",Wo,o(u+1),1),t("h3",Jo,o(s.title),1),t("p",Qo,o(s.description),1)])]))),128))]),t("div",Ko,[d(h,{to:"#generator",class:"inline-flex items-center gap-2 rounded-full bg-blue-700 px-5 py-2.5 text-sm font-semibold text-white hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"},{default:se(()=>[d(c(Ge),{class:"h-4 w-4","aria-hidden":"true"}),M(" "+o(e.$t("aiCollageMaker.guidance_cta")),1)]),_:1})])])]),d(le,{"hydrate-never":"",title:e.$t("aiCollageMaker.faq_section_title"),items:et.value},null,8,["title","items"]),d(Re,{"hydrate-never":"",title:e.$t("aiCollageMaker.cta_title"),description:e.$t("aiCollageMaker.cta_subtitle"),"cta-text":e.$t("common.joinButton"),"cta-link":"#generator"},null,8,["title","description","cta-text"])]),(r(),H(Dt,{to:"body"},[j.value?(r(),i("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black/85 p-4",role:"dialog","aria-modal":"true","aria-label":e.$t("aiCollageMaker.lightbox_dialog_aria"),onClick:a[12]||(a[12]=s=>j.value=!1)},[t("button",{type:"button",class:"absolute right-4 top-4 inline-flex h-11 w-11 items-center justify-center rounded-full bg-white/15 text-white hover:bg-white/25 focus:outline-none focus:ring-2 focus:ring-white","aria-label":e.$t("aiCollageMaker.lightbox_close_aria"),title:e.$t("aiCollageMaker.lightbox_close_aria"),onClick:a[10]||(a[10]=z(s=>j.value=!1,["stop"]))},[d(c(Fe),{class:"h-6 w-6","aria-hidden":"true"})],8,Zo),t("img",{src:w.value,alt:e.$t("aiCollageMaker.lightbox_image_alt"),class:"max-h-[90vh] max-w-[90vw] object-contain",onClick:a[11]||(a[11]=z(()=>{},["stop"]))},null,8,el)],8,Xo)):A("",!0)]))],64)}}},Al=Bt(rl,[["__scopeId","data-v-f375eaa2"]]);export{Al as default};

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.