1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,717521,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},495242,e=>{"use strict";e.s(["Pause",()=>t],495242);let t=(0,e.i(475254).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]])},431343,e=>{"use strict";e.s(["Play",()=>t],431343);let t=(0,e.i(475254).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},37727,e=>{"use strict";e.s(["X",()=>t],37727);let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},283086,e=>{"use strict";e.s(["Sparkles",()=>t],283086);let t=(0,e.i(475254).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},341240,e=>{"use strict";e.s(["Lightbulb",()=>t],341240);let t=(0,e.i(475254).default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},380024,e=>{"use strict";e.s(["ImageUp",()=>t],380024);let t=(0,e.i(475254).default)("image-up",[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]])},532253,e=>{"use strict";e.s(["Clapperboard",()=>t],532253);let t=(0,e.i(475254).default)("clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]])},763613,e=>{"use strict";e.s(["GalleryHorizontalEnd",()=>t],763613);let t=(0,e.i(475254).default)("gallery-horizontal-end",[["path",{d:"M2 7v10",key:"a2pl2d"}],["path",{d:"M6 5v14",key:"1kq3d7"}],["rect",{width:"12",height:"18",x:"10",y:"3",rx:"2",key:"13i7bc"}]])},915505,e=>{"use strict";e.s(["ArrowLeftRight",()=>t],915505);let t=(0,e.i(475254).default)("arrow-left-right",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]])},390519,e=>{"use strict";e.s(["Shirt",()=>t],390519);let t=(0,e.i(475254).default)("shirt",[["path",{d:"M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z",key:"1wgbhj"}]])},618975,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(475254).default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]])},87309,e=>{"use strict";e.s(["AudioLines",()=>t],87309);let t=(0,e.i(475254).default)("audio-lines",[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]])},493886,e=>{"use strict";e.s(["Film",()=>t],493886);let t=(0,e.i(475254).default)("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]])},733060,e=>{"use strict";e.s(["Wand2",()=>t],733060);let t=(0,e.i(475254).default)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]])},972080,e=>{"use strict";e.s(["ImagePlus",()=>t],972080);let t=(0,e.i(475254).default)("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]])},32095,e=>{"use strict";e.s(["GraduationCap",()=>t],32095);let t=(0,e.i(475254).default)("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]])},585883,e=>{"use strict";e.s(["Drama",()=>t],585883);let t=(0,e.i(475254).default)("drama",[["path",{d:"M10 11h.01",key:"d2at3l"}],["path",{d:"M14 6h.01",key:"k028ub"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6.5 13.1h.01",key:"1748ia"}],["path",{d:"M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3",key:"172yzv"}],["path",{d:"M17.4 9.9c-.8.8-2 .8-2.8 0",key:"1obv0w"}],["path",{d:"M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7",key:"rqjl8i"}],["path",{d:"M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4",key:"1mr6wy"}]])},852008,e=>{"use strict";e.s(["Layers",()=>t],852008);let t=(0,e.i(475254).default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},107972,e=>{"use strict";e.s(["VideoIcon",()=>t.default]);var t=e.i(618975)}
1,536026,968553,113065,e=>{"use strict";e.s(["MARKETPLACE_APPS",()=>Y],536026);var t,a,i=e.i(247167),r=e.i(763613),o=e.i(341240),n=e.i(915505),s=e.i(390519),l=e.i(283086),c=e.i(380024),d=e.i(107972),u=e.i(532253),p=e.i(87309);e.s(["Camera",()=>h],968553);let h=(0,e.i(475254).default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);var g=e.i(493886),y=e.i(733060),f=e.i(972080),m=e.i(32095),v=e.i(585883),w=e.i(852008);e.s(["COLLAGELY_ASPECTS",()=>E,"COLLAGELY_DEFAULT_ASPECT",()=>L,"COLLAGELY_DEFAULT_DURATION",()=>b,"COLLAGELY_DEFAULT_ENGINE",()=>P,"COLLAGELY_DEFAULT_LANGUAGE",()=>C,"COLLAGELY_DEFAULT_REFERENCE_ROLE",()=>T,"COLLAGELY_DEFAULT_STYLE",()=>G,"COLLAGELY_DURATIONS",()=>A,"COLLAGELY_ENABLED",()=>k,"COLLAGELY_ENGINES",()=>D,"COLLAGELY_LANGUAGES",()=>M,"COLLAGELY_MAX_REFERENCES",()=>I,"COLLAGELY_PROMPT_MAX_LENGTH",()=>_,"COLLAGELY_REFERENCE_LABEL_MAX_LENGTH",()=>O,"COLLAGELY_REFERENCE_MAX_BYTES",()=>j,"COLLAGELY_REFERENCE_ROLES",()=>S,"COLLAGELY_STYLES",()=>U],113065);let k=!0,A=[15,30,60],b=30,E=["9:16","16:9"],L="9:16",M=["en","es","fr","de","pt","hi"],C="en",_=1e5,S=["product","person","logo","other"],T="product",I=3,j=0xa00000,O=80,U=[{id:"american-retro",name:"American Retro",tagline:"50s ad-print optimism, halftone and tape",thumbnail:"/collagely/styles/american-retro.jpg"},{id:"electric-editorial",name:"Electric Editorial",tagline:"One bold ground, halftone cut-outs, room to breathe",thumbnail:"/collagely/styles/electric-editorial.jpg"},{id:"swiss-modern",name:"Swiss Modern",tagline:"Grid discipline, bold type, flat color",thumbnail:"/collagely/styles/swiss-modern.jpg"},{id:"punk-zine",name:"Punk Zine",tagline:"Xerox grit, ransom letters, torn edges",thumbnail:"/collagely/styles/punk-zine.jpg"},{id:"soviet-constructivist",name:"Constructivist",tagline:"Red-and-black diagonals, heroic geometry",thumbnail:"/collagely/styles/soviet-constructivist.jpg"},{id:"wpa-propaganda",name:"WPA Poster",tagline:"Depression-era poster grain and grandeur",thumbnail:"/collagely/styles/wpa-propaganda.jpg"},{id:"70s-groovy",name:"70s Groovy",tagline:"Warm psychedelia, rounded type, sunbursts",thumbnail:"/collagely/styles/70s-groovy.jpg"},{id:"chinese-ink",name:"Chinese Ink",tagline:"Brush wash, rice paper, vermilion seals",thumbnail:"/collagely/styles/chinese-ink.jpg"},{id:"atomic-age",name:"Atomic Age",tagline:"Mid-century starbursts and boomerang shapes",thumbnail:"/collagely/styles/atomic-age.jpg"},{id:"newsprint-editorial",name:"Newsprint",tagline:"Broadsheet clippings, ink smudge, columns",thumbnail:"/collagely/styles/newsprint-editorial.jpg"},{id:"gilded-deco",name:"Gilded Deco",tagline:"Gatsby gold leaf and geometric luxury",thumbnail:"/collagely/styles/gilded-deco.jpg"}
1],G="american-retro",D=["omni","kling","h3"],P="omni",x=[{id:"idealy",name:"Idealy",description:"Track content creators' best ideas",longDescription:"Discover and organize the best ideas from your favorite content creators. Keep track of innovative concepts and inspiration in one place.",icon:o.Lightbulb,gradient:"from-lime-400 to-lime-600",category:"productivity",rating:4.8,reviews:127,features:["Track unlimited content creators","Automatic idea extraction","Smart categorization","Export to notion and other tools"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/idealy.mp4"},{id:"swaply",name:"Swaply",description:"Swap faces in videos and images",longDescription:"Advanced AI-powered face swapping for videos and images. Create professional content with seamless face replacement technology.",icon:n.ArrowLeftRight,gradient:"from-red-400 to-red-600",category:"media",rating:4.9,reviews:234,features:["High-quality face swapping","Video and image support","Batch processing","Real-time preview"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/swaply.mp4"},{id:"mirrorly",name:"Mirrorly AI",description:"Make anyone talk. Great for ads.",longDescription:"Transform any image into a talking video with AI. Perfect for creating engaging advertisements and personalized content.",icon:l.Sparkles,gradient:"from-purple-400 to-purple-600",category:"ai",rating:4.7,reviews:189,features:["Text-to-speech synthesis","Realistic lip-sync","Multiple voice options","HD video output"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/mirrorly.mp4"},{id:"hires",name:"HiRes",description:"Upscale images to high resolution",longDescription:"The best AI-powered image upscaler. Transform low-resolution images into stunning high-resolution masterpieces with unparalleled quality.",icon:c.ImageUp,gradient:"from-yellow-300 via-yellow-400 to-yellow-500",category:"media",rating:4.9,reviews:312,features:["AI-powered upscaling","Up to 8x resolution increase","Preserves fine details","Batch processing support"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/hires.mp4"},{id:"motiontransfer",name:"Motion Transfer",description:"Transfer motion from video onto images",longDescription:"Transfer the motion from any video onto a still image to create stunning animated content. Perfect for bringing static images to life with realistic movement.",icon:y.Wand2,gradient:"from-violet-400 to-violet-600",category:"media",rating:4.8,reviews:145,features:["Video motion extraction","Image-to-video animation","High-quality output","Multiple format support"],videoUrl:"https://swayed-cdn.s3.us-east-1.amazonaws.com/tutorials/motion_transfer.mp4"},{id:"cliply",name:"Cliply",description:"Generate short comedy & drama films",longDescription:"Generate short comedy and drama films from your images and prompts. Pick a genre, supply reference images, and Cliply produces a polished short film clip ready to share.",icon:u.Clapperboard,gradient:"from-rose-400 via-rose-500 to-rose-600",category:"ai",rating:4.8,reviews:0,features:["Comedy & drama genres","Reference image to film","Multiple duration options","High-quality short film output"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/cliply.mp4"},{id:"slidely",name:"Slidely",description:"Paste a trending TikTok post, get a ready-to-post slideshow with your product",longDescription:"Drop a link to a trending TikTok post (TikTok links only, Instagram is not supported) and Slidely reverse-engineers the format: it analyzes why the post works, then generates a photo-slideshow kit featuring YOUR product â slide images with no baked-in text, editable overlay lines, a caption, and a posting checklist. Add an optional character picture so the same face fronts every slideshow.",icon:r.GalleryHorizontalEnd,gradient:"from-pink-400 to-pink-600",category:"ai",rating:4.8,reviews:0,features:["Trending-post format analysis with virality checkboxes","Slideshow images featuring your product (no baked-in text)","Editable overlay text with free AI rewrites","Caption, posting checklist, and one-click kit download"]},{id:"collagely",name:"Collagely",description:"Turn a topic into a paper-collage ad â posters, motion, voice, captions, done",longDescription:"Type what the ad is about and pick a look â American Retro, Swiss Modern, Punk Zine and seven more. Collagely writes the beats, builds a cut-paper poster for each one, sets them moving, narrates them and hands back a finished film. You see the whole plan and its exact price before a single credit moves.",icon:w.Layers,gradient:"from-yellow-400 via-yellow-500 to-amber-600",category:"ai",rating:4.8,reviews:0,features:["Ten paper-collage styles, from Swiss Modern to Punk Zine","Topic in, finished film out â no footage needed","Priced plan you approve before anything is charged","15 / 30 / 60s in 9:16, 16:9 or 1:1, narrated in six languages"],videoUrl:void 0},{id:"voicely",name:"Voicely",description:"Clone a voice and make it read your script",longDescription:"Upload a short voice sample and a script, and Voicely clones that voice to read your script aloud â ideal for narration, voiceovers, and dubbing.",icon:p.AudioLines,gradient:"from-purple-400 via-purple-500 to-purple-600",category:"media",rating:4.8,reviews:0,features:["Clone any voice from a short sample","Reads your script in that voice","Natural narration & voiceovers","Audio output ready to download"]},{id:"tryon",name:"Virtual Try-On",description:"Try clothes on anyone in a video",longDescription:"Upload a short video and a clothing image â AI replaces the clothes in the video with your chosen outfit. Perfect for fashion brands, e-commerce, and content creators.",icon:s.Shirt,gradient:"from-pink-400 to-rose-600",category:"ai",rating:4.8,reviews:92,features:["Video clothing replacement","Works with any clothing image","High-quality output","Perfect for e-commerce"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/tryon.mp4"},{id:"sharply",name:"Sharply",description:"Turn blurry videos into HD",longDescription:"Transform blurry videos into crystal-clear HD quality. The best video upscaling technology for professional content creators.",icon:d.VideoIcon,gradient:"from-indigo-400 to-indigo-600",category:"media",rating:4.8,reviews:267,features:["Blur-to-HD conversion","AI video enhancement","Stabilization included","Multiple format support"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/sharply.mp4"},{id:"restage",name:"ReStage",description:"Change video backgrounds with AI",longDescription:"Seamlessly restage videos with
1new backgrounds and environments. Perfect for content creators who need to change video contexts while maintaining natural movement.",icon:u.Clapperboard,gradient:"from-emerald-400 via-emerald-500 to-emerald-600",category:"ai",rating:4.8,reviews:156,features:["AI scene replacement","Natural environment blending","Video context transformation","Professional quality output"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/restage.mp4"},{id:"ugc-review",name:"UGC Review",description:"Generate AI UGC product review videos",longDescription:"Create authentic-looking user-generated content (UGC) review videos for your products. AI generates a realistic product review video from just a product image, perfect for ads and marketing.",icon:h,gradient:"from-cyan-400 via-cyan-500 to-cyan-600",category:"ai",categories:["ugc"],rating:4.9,reviews:178,features:["AI-generated UGC videos","Product image to video","Custom script support","Authentic review style"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/ugc-review.mp4"},{id:"ugc-mirror-review",name:"UGC Mirror Review",description:"Generate mirror-style UGC product videos",longDescription:"Create engaging mirror-style UGC videos showcasing your products. Perfect for beauty, fashion, and lifestyle brands looking for authentic mirror review content.",icon:d.VideoIcon,gradient:"from-rose-400 via-rose-500 to-rose-600",category:"ai",categories:["ugc"],rating:4.9,reviews:156,features:["Mirror-style UGC videos","Beauty & fashion optimized","Product showcase format","Lifestyle content creation"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/ugc-mirror.mp4"},{id:"ugc-with-broll",name:"UGC with B-Roll",description:"Generate UGC videos with B-roll footage",longDescription:"Create professional UGC videos enhanced with B-roll footage. Combines authentic user-generated style with high-quality supplementary footage for maximum engagement.",icon:g.Film,gradient:"from-fuchsia-400 via-fuchsia-500 to-fuchsia-600",category:"ai",categories:["ugc"],rating:4.8,reviews:143,features:["UGC with B-roll integration","Professional footage overlay","Enhanced storytelling","High engagement format"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/ugc-with-broll.mp4"},{id:"ugc-educational",name:"Educational",description:"Turn a product or a person into a teaching-style video",longDescription:"Make videos that explain, teach, or walk through your product. Drop in a product shot or a person plus a topic, and get an authentic educational-style clip that keeps people watching and builds trust.",icon:m.GraduationCap,gradient:"from-indigo-400 via-indigo-500 to-indigo-600",category:"ai",videoUrl:"https://swayed-cdn.s3.us-east-1.amazonaws.com/public/feed-006.mp4",categories:["ugc"],rating:4.8,reviews:0,features:["Educational-style UGC videos","Use a product or a person as the subject","Topic-driven scripts","Authentic teaching format"]},{id:"ugc-skit",name:"Skit",description:"Turn a product or a person into a comedy skit video",longDescription:"Make short comedic skit-style videos that entertain while they sell. Drop in a product shot or a person plus a premise, and get a funny, scroll-stopping UGC skit that keeps people watching and builds affinity.",icon:v.Drama,gradient:"from-purple-400 via-purple-500 to-purple-600",category:"ai",videoUrl:"https://swayed-cdn.s3.us-east-1.amazonaws.com/public/feed-009.mp4",categories:["ugc"],rating:4.8,reviews:0,features:["Comedy skit-style UGC videos","Use a product or a person as the subject","Premise-driven scripts","Entertaining, scroll-stopping format"]},{id:"videogenerator",name:"Video Generator",description:"Generate AI videos from text and images",longDescription:"Create stunning AI-generated videos using state-of-the-art models. Support for text-to-video and image-to-video with multiple AI providers.",icon:g.Film,gradient:"from-violet-400 to-indigo-600",category:"ai",rating:4.8,reviews:0,features:["Text-to-vi
1deo generation","Image-to-video with start frames","Multiple AI models (Seedance)","Multiple duration and aspect ratio options"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/videogenerator.mp4"},{id:"imagely",name:"Imagely",description:"Generate AI images from text and references",longDescription:"Create images with seven locked AI models â GPT Image 2.5, GPT Image 2, Seedream 5.0, Nano Banana 2/Pro, Z Image Turbo, Midjourney V7. Per-tier credit transparency in the picker; T2I and I2I supported.",icon:f.ImagePlus,gradient:"from-violet-400 to-fuchsia-600",category:"ai",rating:4.8,reviews:0,features:["Seven locked models with locked credit math","Text-to-image and image-to-image","Quality tiers per model (1K / 2K / 4K where supported)","Per-model credit transparency in the picker"],videoUrl:"https://swayed-files.s3.us-east-1.amazonaws.com/tutorials/imagely.mp4"},{id:"reaction",name:"Reaction",description:"Generate a selfie-style reaction video",longDescription:"Turn a character image â plus an optional product and a short prompt â into a ~5-second selfie-style reaction video where the reactor reacts and the video cuts away to your product. Perfect for authentic-feeling ads and social clips.",icon:l.Sparkles,gradient:"from-red-400 to-red-600",category:"ai",videoUrl:"https://swayed-cdn.s3.us-east-1.amazonaws.com/public/feed-008.mp4",categories:["ugc"],rating:4.8,reviews:0,features:["Character image input, optional product cutaway","Prompt-driven reaction","~5-second selfie-style video","Great for authentic ad content"]}],z=true,R=true,N=true,B=true,H=(null==(t=i.default.env.NEXT_PUBLIC_IDEALY_ENABLED)?void 0:t.toLowerCase())==="true",F=(null==(a=i.default.env.NEXT_PUBLIC_RESTAGE_ENABLED)?void 0:a.toLowerCase())==="true",Y=x.filter(e=>("ugc-with-broll"!==e.id||z)&&("ugc-educational"!==e.id||R)&&("ugc-skit"!==e.id||N)&&("reaction"!==e.id||B)&&("collagely"!==e.id||k)&&("idealy"!==e.id||H)&&("restage"!==e.id||F))},290571,e=>{"use strict";e.s(["__assign",()=>i,"__extends",()=>a,"__rest",()=>r,"__spreadArray",()=>o]);var t=function(e,a){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])})(e,a)};function a(e,a){if("function"!=typeof a&&null!==a)throw TypeError("Class extends value "+String(a)+" is not a constructor or null");function i(){this.constructor=e}t(e,a),e.prototype=null===a?Object.create(a):(i.prototype=a.prototype,new i)}var i=function(){return(i=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function r(e,t){var a={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(a[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(a[i[r]]=e[i[r]]);return a}Object.create;function o(e,t,a){if(a||2==arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},672464,639372,e=>{"use strict";let t,a;e.s(["Provider",()=>_,"useAtom",()=>D,"useAtomValue",()=>U,"useSetAtom",()=>G,"useStore",()=>C],672464);var i=e.i(271645);e.s(["atom",()=>w,"createStore",()=>b,"getDefaultStore",()=>E],639372);let r={get url(){return`file://${e.P("node_modules/jotai/esm/vanilla/internals.mjs")}`}},o=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,n=e=>"v"in e||"e"in e,s=e=>{if("e"in e)throw e.e;if((r.env?r.env.MODE:void 0)!=="production"&&!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v},l=new WeakMap,c=e=>{var t;return u(e)&&!!(null==(t=l.get(e))?void 0:t[0])},d=(e,t)=>{let a=l.get(e);if(!a){a=[!0,new Set],l.set(e,a);let t=()=>{a[0]=!1};e.then(t,t)}a[1].add(t)},u=e=>"function"==typeof(null==e?void 0:e.then),p=(e,t,a)=>{a.p.has(e)||(a.p.add(e),t.then(()=>{a.p.delete(e)},()=>{a.p.delete(e)}))},h=(e,t,a)=>{let i=a(e),r="v"in i,o=i.v;if(u(t))for(let r of i.d.keys())p(e,t,a(r));
1i.v=t,delete i.e,r&&Object.is(o,i.v)||(++i.n,u(o)&&(e=>{let t=l.get(e);(null==t?void 0:t[0])&&(t[0]=!1,t[1].forEach(e=>e()))})(o))},g=(e,t,a)=>{var i;let r=new Set;for(let t of(null==(i=a.get(e))?void 0:i.t)||[])a.has(t)&&r.add(t);for(let e of t.p)r.add(e);return r},y=Symbol(),f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new WeakMap,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new WeakMap,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Set,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new Set,f=arguments.length>5&&void 0!==arguments[5]?arguments[5]:new Set,m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},v=arguments.length>7&&void 0!==arguments[7]?arguments[7]:function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];return e.read(...a)},w=arguments.length>8&&void 0!==arguments[8]?arguments[8]:function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];return e.write(...a)},k=arguments.length>9&&void 0!==arguments[9]?arguments[9]:(e,t)=>{var a;return null==(a=e.unstable_onInit)?void 0:a.call(e,t)},A=arguments.length>10&&void 0!==arguments[10]?arguments[10]:(e,t)=>{var a;return null==(a=e.onMount)?void 0:a.call(e,t)};for(var b=arguments.length,E=Array(b>11?b-11:0),L=11;L<b;L++)E[L-11]=arguments[L];let M=E[0]||(t=>{if((r.env?r.env.MODE:void 0)!=="production"&&!t)throw Error("Atom is undefined or null");let a=e.get(t);return a||(a={d:new Map,p:new Set,n:0},e.set(t,a),null==k||k(t,G)),a}),C=E[1]||(()=>{let e=[],a=t=>{try{t()}catch(t){e.push(t)}};do{m.f&&a(m.f);let e=new Set,r=e.add.bind(e);i.forEach(e=>{var a;return null==(a=t.get(e))?void 0:a.l.forEach(r)}),i.clear(),f.forEach(r),f.clear(),l.forEach(r),l.clear(),e.forEach(a),i.size&&_()}while(i.size||f.size||l.size)if(e.length)throw AggregateError(e)}),_=E[2]||(()=>{let e=[],o=new WeakSet,n=new WeakSet,s=Array.from(i);for(;s.length;){let i=s[s.length-1],l=M(i);if(n.has(i)){s.pop();continue}if(o.has(i)){if(a.get(i)===l.n)e.push([i,l]);else if((r.env?r.env.MODE:void 0)!=="production"&&a.has(i))throw Error("[Bug] invalidated atom exists");n.add(i),s.pop();continue}for(let e of(o.add(i),g(i,l,t)))o.has(e)||s.push(e)}for(let t=e.length-1;t>=0;--t){let[r,o]=e[t],n=!1;for(let e of o.d.keys())if(e!==r&&i.has(e)){n=!0;break}n&&(S(r),j(r)),a.delete(r)}}),S=E[3]||(e=>{var l;let g,y,f=M(e);if(n(f)&&(t.has(e)&&a.get(e)!==f.n||Array.from(f.d).every(e=>{let[t,a]=e;return S(t).n===a})))return f;f.d.clear();let w=!0,k=()=>{t.has(e)&&(j(e),_(),C())},A=f.n;try{let a=v(e,a=>{var i;if(o(e,a)){let e=M(a);if(!n(e))if("init"in a)h(a,a.init,M);else throw Error("no atom init");return s(e)}let r=S(a);try{return s(r)}finally{f.d.set(a,r.n),c(f.v)&&p(e,f.v,r),null==(i=t.get(a))||i.t.add(e),w||k()}},{get signal(){return g||(g=new AbortController),g.signal},get setSelf(){return(r.env?r.env.MODE:void 0)==="production"||e.write||console.warn("setSelf function cannot be used with read-only atom"),!y&&e.write&&(y=function(){for(var t=arguments.length,a=Array(t),i=0;i<t;i++)a[i]=arguments[i];if((r.env?r.env.MODE:void 0)!=="production"&&w&&console.warn("setSelf function cannot be called in sync"),!w)try{return I(e,...a)}finally{_(),C()}}),y}});return h(e,a,M),u(a)&&(d(a,()=>null==g?void 0:g.abort()),a.then(k,k)),f}catch(e){return delete f.v,f.e=e,++f.n,f}finally{w=!1,A!==f.n&&a.get(e)===A&&(a.set(e,f.n),i.add(e),null==(l=m.c)||l.call(m,e))}}),T=E[4]||(e=>{let i=[e];for(;i.length;){let e=i.pop(),r=M(e);for(let o of g(e,r,t)){let e=M(o);a.set(o,e.n),i.push(o)}}}),I=E[5]||function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];let n=!0;try{return w(e,e=>s(S(e)),function(t){for(var a,r=arguments.length,s=Array(r>1?r-1:0),l=1;l<r;l++)s[l-1]=arguments[l];let c=M(t);try{if(!o(e,t))return I(t,...s);{if(!("init"in t))throw Error("atom not writable");let e=c.n,r=s[0];h(t,r,M),j(t),e!==c.n&&(i.add(t),null==(a=m.c)||a.call(m,t),T(t));return}}finally{n||(_(),C())}},...a)}finally{n=!1}},j=E[6]||(e=>{var a;let r=M(e),o=t.get(e);if(o&&!c(r.v)){for(let[t,n]of r.d)if(!o.d.has(t)){let r=M(t);O(t).t.add(e),o.d.add(t),n!==r.n&&(i.add(t),null==(a=m.c)||a.call(m,t),T(t))}for(let t of o.d||[])if(!r.d.has(t)){o.d.delete(t);let a=U(t);null==a||a.t.delete(e)}}}),O=E[7]||(e=>{var a;let i=M(e),r=t.get(e);if(!r){for(let t of(S(e),i.d.keys()))O(t).t.add(e);r={l:new Set,d:new Set(i.d.keys()),t:new Set},t.set(e,r),null==(a=m.m)||a.call(m,e),e.write&&l.add(()=>{let t=!0;try{let a=A(e,function(){for(var a=arguments.length,i=Array(a),r=0;r<a;r++)i[r]=arguments[r];try{return I(e,...i)}finally{t||(_(),C())}});a&&(r.u=()=>{t=!0;try{a()}finally{t=!1}})}finally{t=!1}})}return r}),U=E[8]||(e=>{var a;let i=M(e),r=t.get(e);if(r&&!r.l.size&&!Array.from(r.t).some(a=>{var i;return null==(i=t.get(a))?void 0:i.d.has(e)})){for(let o of(r.u&&f.add(r.u),r=void 0,t.delete(e),null==(a=m.u)||a.call(m,e),i.d.keys())){let t=U(o);null==t||t.t.delete(e)}return}return r}),G={get:e=>s(S(e)),set:function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];try{return I(e,...a)}finally{_(),C()}},sub:(e,t)=>{let a=O(e).l;return a.add(t),C(),()=>{a.delete(t),U(e),C()}}};return Object.defineProperty(G,y,{value:[e,t,a,i,l,f,m,v,w,k,A,M,C,_,S,T,I,j,O,U]}),G},m={get url(){return`file://${e.P("node_modules/jotai/esm/vanilla.mjs")}`}},v=0;function w(e,t){let a="atom".concat(++v),i={toString(){return(m.env?m.env.MODE:void 0)!=="production"&&this.debugLabel?a+":"+this.debugLabel:a}};return"function"==typeof e?i.read=e:(i.init=e,i.read=k,i.write=A),t&&(i.write=t),i}function k(e){return e(this)}function A(e,t,a){return t(this,"function"==typeof a?a(e(this)):a)}function b(){return t?t():f()}function E(){return a||(a=b(),(m.env?m.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=a),globalThis.__JOTAI_DEFAULT_STORE__!==a&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),a}let L={get url(){return`file://${e.P("node_modules/jotai/esm/react.mjs")}`}},M=(0,i.createContext)(void 0);function C(e){let t=(0,i.useContext)(M);return(null==e?void 0:e.store)||t||E()}function _(e){let{children:t,store:a}=e,r=(0,i.useRef)(void 0);return a||r.current||(r.current=b()),(0,i.createElement)(M.Provider,{value:a||r.current},t)}let S=e=>"function"==typeof(null==e?void 0:e.then),T=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},I=i.default.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw T(e),e}),j=new WeakMap,O=(e,t)=>{let a=j.get(e);return a||(a=new Promise((i,r)=>{let o=e,n=e=>t=>{o===e&&i(t)},s=e=>t=>{o===e&&r(t)},l=()=>{try{let e=t();S(e)?(j.set(e,a),o=e,e.then(n(e),s(e)),d(e,l)):i(e)}catch(e){r(e)}};e.then(n(e),s(e)),d(e,l)}),j.set(e,a)),a};function U(e,t){let{delay:a,unstable_promiseStatus:r=!i.default.use}=t||{},o=C(t),[[n,s,l],c]=(0,i.useReducer)(t=>{let a=o.get(e);return Object.is(t[0],a)&&t[1]===o&&t[2]===e?t:[a,o,e]},void 0,()=>[o.get(e),o,e]),d=n;if((s!==o||l!==e)&&(c(),d=o.get(e)),(0,i.useEffect)(()=>
1{let t=o.sub(e,()=>{if(r)try{let t=o.get(e);S(t)&&T(O(t,()=>o.get(e)))}catch(e){}if("number"==typeof a)return void setTimeout(c,a);c()});return c(),t},[o,e,a,r]),(0,i.useDebugValue)(d),S(d)){let t=O(d,()=>o.get(e));return r&&T(t),I(t)}return d}function G(e,t){let a=C(t);return(0,i.useCallback)(function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];if((L.env?L.env.MODE:void 0)!=="production"&&!("write"in e))throw Error("not writable atom");return a.set(e,...i)},[a,e])}function D(e,t){return[U(e,t),G(e,t)]}},876780,e=>{"use strict";e.s(["createCanvas",()=>a,"deleteCanvas",()=>s,"getCanvas",()=>r,"getCanvases",()=>i,"updateCanvas",()=>o,"updateCanvasMetadata",()=>n]);var t=e.i(248172);let a=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.post("/canvas",e)).data.data},i=async e=>{let a=(0,t.createAuthenticatedApi)(e);return(await a.get("/canvas")).data.data},r=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.get("/canvas/".concat(e))).data.data},o=async(e,a,i)=>{let r=(0,t.createAuthenticatedApi)(i);return(await r.put("/canvas/".concat(e),a)).data.data},n=async(e,a,i)=>{let r=(0,t.createAuthenticatedApi)(i);return(await r.put("/canvas/".concat(e),{metadata:a})).data.data},s=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);await i.delete("/canvas/".concat(e))}},858974,e=>{"use strict";e.s(["batchCreateNodes",()=>s,"batchDeleteNodes",()=>c,"batchUpdateNodes",()=>l,"cancelFileProcessing",()=>k,"checkAvatarJobStatus",()=>h,"checkHiResJobStatus",()=>m,"checkInfiniteClipsJobStatus",()=>v,"checkJobStatus",()=>p,"checkSharplyJobStatus",()=>f,"createFileNode",()=>w,"createMessageNode",()=>u,"createNode",()=>a,"createUrlNode",()=>d,"deleteNode",()=>n,"getNode",()=>r,"getNodesByCanvas",()=>i,"getSourceTranscription",()=>A,"updateNode",()=>o]);var t=e.i(248172);let a=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.post("/nodes",e)).data.data},i=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.get("/nodes?canvasId=".concat(e))).data.data},r=async(e,a,i)=>{let r=(0,t.createAuthenticatedApi)(a),o=i?"/nodes/".concat(e,"?canvasId=").concat(i):"/nodes/".concat(e);return(await r.get(o)).data.data},o=async(e,a,i,r)=>{if(null==r?void 0:r.keepalive){let t=await fetch("/api/nodes/".concat(e),{method:"PUT",headers:{"Content-Type":"application/json",...i&&{Authorization:"Bearer ".concat(i)}},body:JSON.stringify(a),keepalive:!0});if(!t.ok)throw Error((await t.json().catch(()=>({error:"Failed to update node"}))).error||"Failed to update node");return(await t.json()).data}let o=(0,t.createAuthenticatedApi)(i);return(await o.put("/nodes/".concat(e),a)).data.data},n=async(e,a,i,r)=>{if(null==r?void 0:r.keepalive){let t=await fetch("/api/nodes/".concat(e,"?canvasId=").concat(a),{method:"DELETE",headers:{"Content-Type":"application/json",...i&&{Authorization:"Bearer ".concat(i)}},keepalive:!0});if(!t.ok)throw Error((await t.json().catch(()=>({error:"Failed to delete node"}))).error||"Failed to delete node");return}let o=(0,t.createAuthenticatedApi)(i);await o.delete("/nodes/".concat(e,"?canvasId=").concat(a))},s=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.post("/nodes/batch",e)).data.data},l=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.put("/nodes/batch",e)).data.data},c=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);await i.post("/nodes/batch/delete",e)},d=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a,3e4);try{return(await i.post("/nodes/url",e)).data}catch(e){var r;if("ECONNABORTED"===e.code||(null==(r=e.message)?void 0:r.includes("timeout")))throw Error("Request timed out after 30 seconds");throw e}},u=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.post("/nodes/message",e)).data},p=async(e,a,i,r)=>{let o=(0,t.createAuthenticatedApi)(r);return(await o.get("/nodes/job/".concat(e,"?nodeId=").concat(a,"&canvasId=").concat(i))).data},h=async(e,a,i,r)=>{let o=(0,t.createAuthenticatedApi)(r||null),n=g(a)?"/mobile/job/".concat(e,"?appId=").concat(y(a)):"/generate/mirrorly/job/".concat(e).concat(a&&i?"?nodeId=".concat(a,"&canvasId=").concat(i):"");return(await o.get(n)).data},g=e=>!!e&&e.startsWith("mobile-"),y=e=>e.replace("mobile-","").replace("-node","").replace("-canvas",""),f=async(e,a,i,r)=>{let o=(0,t.createAuthenticatedApi)(r||null),n=g(a)?"/mobile/job/".concat(e,"?appId=").concat(y(a)):"/generate/sharply/job/".concat(e).concat(a&&i?"?nodeId=".concat(a,"&canvasId=").concat(i):"");return(await o.get(n)).data},m=async(e,a,i,r)=>{let o=(0,t.createAuthenticatedApi)(r||null),n=g(a)?"/mobile/job/".concat(e,"?appId=").concat(y(a)):"/generate/hires/job/".concat(e).concat(a&&i?"?nodeId=".concat(a,"&canvasId=").concat(i):"");return(await o.get(n)).data},v=async(e,a,i,r)=>{let o=(0,t.createAuthenticatedApi)(r||null),n=g(a)?"/mobile/job/".concat(e,"?appId=").concat(y(a)):"/generate/infiniteclips/job/".concat(e).concat(a&&i?"?nodeId=".concat(a,"&canvasId=").concat(i):"");return(await o.get(n)).data},w=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a,3e5);return(await i.post("/nodes/file",e,{headers:{"Content-Type":"multipart/form-data"},timeout:3e5})).data},k=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);await i.delete("/nodes/file?nodeId=".concat(e))},A=async(e,a)=>{let i=(0,t.createAuthenticatedApi)(a);return(await i.get("/sources/".concat(e))).data.data}},400953,e=>{"use strict";e.s(["creationHref",()=>i,"editorHref",()=>r,"parseCreationIntent",()=>
1a]);let t=new Set(["ugc-review","ugc-mirror-review","ugc-with-broll","ugc-educational","ugc-skit"]);function a(e){let a=e.get("kind"),i="ad"===a?"ugc":a;if("hook"===i)return{kind:"hook",appId:null,invalidStyle:!1,invalidProject:!1,canvasId:null};let r=e.get("style"),o=e.get("tool"),n=e.get("canvasId");return{kind:["ugc","image","video","hook"].includes(null!=i?i:"")?i:null,appId:r?t.has(r)?r:null:"image"===i?"imagely":"video"===i?"videogenerator":o,invalidStyle:!!(r&&!t.has(r)),invalidProject:!!(n&&!/^[a-zA-Z0-9_-]{1,128}$/.test(n)),canvasId:n&&/^[a-zA-Z0-9_-]{1,128}$/.test(n)?n:null}}function i(e,a,i,r){let o=new URLSearchParams;return o.set(t.has(a)?"style":"tool",a),i&&o.set("canvasId",i),r&&o.set("remix",r),"/".concat(e,"/create?").concat(o)}function r(e,t,a,i){let r=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=new URLSearchParams({canvasId:a,nodeId:i});return r&&o.set("edit","1"),"/".concat(e,"/app/").concat(encodeURIComponent(t),"?").concat(o)}}]);
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.