PageSourceSearch

https://cdn.venngage.com/assets/js/homepage-ai-hero.config.js?v=26.38.0

js venngage.com collected 2026-09-24 07:25:04 UTC 33,664 bytes, 1,033 lines download raw bytes

1const DesignGenerationType = {
2  Card: "card",
3  Infograph: "infograph",
4  Chart: "chart",
5  Poster: "poster",
6  Flyer: "flyer",
7  Presentation: "presentation",
8  Report: "report",
9  Timeline: "timeline",
10  Resume: "resume",
11  BusinessCard: "businessCard",
12  BusinessPlan: "businessPlan",
13  Brochure: "brochure",
14  Proposal: "proposal",
15  Menu: "menu",
16  PitchDeck: "pitchDeck",
17  Invitation: "invitation",
18  LessonPlan: "lessonPlan",
19  Newsletter: "newsletter",
20  Schedule: "schedule",
21  Label: "label",
22  Catalog: "catalog",
23  PerformanceReview: "performanceReview",
24  BookCover: "bookCover",
25  Banner: "banner",
26  YoutubeBanner: "youtubeBanner",
27  InstagramPost: "instagramPost",
28  Wireframe: "wireframe",
29  Collage: "collage",
30  Diagram: "diagram",
31  FlowChart: "diagrams/flowchart",
32  Mindmap: "mindmap",
33  Logo: "logo",
34  Icon: "icon",
35  LetterHead: "letterHead",
36  DataInfograph: "dataInfograph",
37  GrantProposal: "grantProposal",
38  MoviePoster: "moviePoster",
39  GanttChart: "ganttChart",
40  CoverLetter: "coverLetter",
41  VennDiagram: "vennDiagram",
42  AlbumCover: "albumCover",
43  CaseStudy: "caseStudy",
44  VisionBoard: "visionBoard",
45  Roadmap: "roadmap",
46  PieChart: "pieChart",
47  Contract: "contract",
48  SwotAnalysis: "swotAnalysis",
49  MarketingPlan: "marketingPlan",
50  YearWrapped: "yearWrapped",
51  ConcertPoster: "concertPoster",
52  AdCreator: "adCreator",
53  Ebook: "ebook",
54  WhitePaper: "whitePaper",
55  ComparisonInfographic: "comparisonInfographic",
56  StandardOperatingProcedure: "standardOperatingProcedure",
57  Statistics: "statistics",
58  OnePager: "onePager",
59  CheatSheet: "cheatSheet",
60  Instructions: "instructions",
61};
62
63const GENERIC_SAMPLE_SUGGESTIONS = [
64  "Infographic about effective social marketing strategies",
65  "Poster for a corporate training workshop",
66  "Proposal outlining innovative product launch planning",
67];
68
69const SAMPLE_SUGGESTIONS = {
70  [DesignGenerationType.Infograph]: [
71    "Boost sales with effective social marketing strategies.",
72    "Innovative product launch planning for startups.",
73    "Effective branding strategies for small businesses.",
74  ],
75  [DesignGenerationType.Chart]: [
76    "Supply and demand chart",
77    "Healthy diet breakdown",
78    "States with the highest minimum wage",
79  ],
80  [DesignGenerationType.Poster]: [
81    "Raise awareness about climate change",
82    "Leadership summit for young entrepreneurs",
83    "Company annual celebration",
84  ],
85  [DesignGenerationType.Flyer]: [
86    "Create a flyer to raise awareness about mental health and the importance of self-care.",
87    "Design a flyer for a product launch event featuring new medical innovations.",
88    "Promote a volleyball playoff game at Riverstone Center with a creative flyer.",
89  ],
90  [DesignGenerationType.Presentation]: [
91    "The Evolution of Mobile Technology and Its Social Impact",
92    "Global Warming and Climate Change Mitigation",
93    "Smart Cities and the Future of Urban Living",
94  ],
95  [DesignGenerationType.Report]: [
96    "Annual Tech Industry Trends and Innovations",
97    "The Impact of Renewable Energy on Global Economies",
98    "Digital Marketing Strategies for Small Businesses",
99  ],
100  [DesignGenerationType.Timeline]: [
101    "The History of the Internet",
102    "The Development of Vaccines: A health-focused timeline",
103    "Fashion Through the Decades: A stylish timeline showcasing fashion trends",
104  ],
105  [DesignGenerationType.Resume]: [
106    "Professional resume for a Marketing Specialist applying to a tech company",
107    "Creative Designer resume highlighting graphic and UX skills",
108    "Modern Tech Professional resume emphasizing experience in software development",
109  ],
110  [DesignGenerationType.BusinessCard]: [
111    "My name is John Doe, Marketing Specialist",
112    "Jane Smith, Creative Designer",
113    "Alex Lee, Modern Tech Professional",
114  ],
115  [DesignGenerationType.BusinessPlan]: [
116    "Healthcare Startup Strategy Outline",
117    "Non-Profit Organization Fundraising Strategy",
118    "E-commerce Store Setup Guide",
119  ],
120  [DesignGenerationType.Invitation]: [
121    "Amy and Jame’s Wedding Ceremony",
122    "Sam’s 30th Birthday Party",
123    "Baby Shower Invitation",
124  ],
125  [DesignGenerationType.LessonPlan]: [
126    "Play the guitar, beginner level",
127    "Learn to cook, easy recipes for beginners",
128    "Painting with watercolors, basic techniques",
129  ],
130  [DesignGenerationType.Newsletter]: [
131    "Monthly Newsletter for a Tech Company, showcasing the latest updates",
132    "Weekly Newsletter for a Fashion Brand, highlighting new arrivals",
133    "Seasonal Newsletter for a Travel Agency, featuring holiday destinations",
134  ],
135  [DesignGenerationType.Brochure]: [
136    "Travel Agency Brochure, showcasing various travel destinations",
137    "Real Estate Brochure, highlighting available properties",
138    "Restaurant Menu Brochure, showcasing the restaurant’s menu",
139  ],
140  [DesignGenerationType.Proposal]: [
141    "Marketing Campaign Proposal for a new product launch",
142    "Business Partnership Proposal for a joint venture",
143    "Research Grant Proposal for a scientific study",
144  ],
145  [DesignGenerationType.Card]: [
146    "Anniversary card with 'Happy Anniversary' and space for a note.",
147    "Birthday card with 'Happy Birthday' ",
148    "Mother's Day card with a message for my mom.",
149  ],
150  [DesignGenerationType.Menu]: [
151    "Restaurant Menu, showcasing various dishes",
152    "Cafe Menu, highlighting coffee and pastry offerings",
153    "Bar Menu, showcasing cocktails and drinks",
154  ],
155  [DesignGenerationType.PitchDeck]: [
156    "Tech Startup Pitch Deck, showcasing the company’s vision and product",
157    "Investor Pitch Deck, highlighting financial projections and growth strategies",
158    "Product Launch Pitch Deck, showcasing the new product and market potential",
159  ],
160  [DesignGenerationType.Schedule]: [
161    "Weekly Work Schedule, with time slots for tasks and meetings",
162    "Fitness Class Schedule, showcasing different classes and timings",
163    "School Timetable, with subjects and class timings",
164  ],
165  [DesignGenerationType.Label]: [
166    "Organic tomatoes, fresh and natural",
167    "Homemade cookies named “Sweet Delights”",
168    "Handmade soap, lavender scented with avocado oil",
169  ],
170  [DesignGenerationType.Catalog]: [
171    "Fashion Catalog, showcasing the latest clothing trends",
172    "Furniture Catalog, highlighting new arrivals and bestsellers",
173    "Toy Catalog, featuring popular toys for kids",
174  ],
175  [DesignGenerationType.PerformanceReview]: [
176    "Employee Performance Review Form, quarterly evaluation",
177    "Manager Performance Review Template, annual assessment",
178    "Student Performance Review Report, semester evaluation",
179  ],
180  [DesignGenerationType.BookCover]: [
181    "Mystery Novel Book Cover, dark and intriguing",
182    "Romance Novel Book Cover, passionate and dreamy",
183    "Science Fiction Book Cover, futuristic and imaginative",
184  ],
185  [DesignGenerationType.Banner]: [
186    "Summer Sale Banner, bright and colorful",
187    "Back to School Banner, fun and educational",
188    "Holiday Promotion Banner, festive and inviting",
189  ],
190  [DesignGenerationType.YoutubeBanner]: [
191    "For Gaming Channel, featuring game characters and logos",
192    "Showcasing makeup and skincare products for beauty Channel",
193    "Travel Channel Banner, featuring scenic destinations and travel tips",
194  ],
195  [DesignGenerationType.InstagramPost]: [
196    "Fashion Post, showcasing the latest trends",
197    "Food Post, featuring delicious dishes",
198    "Travel Post, showcasing scenic destinations",
199  ],
200  [DesignGenerationType.Wireframe]: [
201    "E-commerce Website, showcasing product listings and checkout process",
202    "Social Media, featuring user profiles and news feed",
203    "Travel Blog, showcasing travel destinations and blog posts",
204  ],
205  [DesignGenerationType.Collage]: [
206    "Nature Collage, featuring flowers, trees, and landscapes",
207    "Show casing landmarks and travel destinations",
208    "Fashion collage highlighting clothing and accessories",
209  ],
210  [DesignGenerationType.Diagram]: [
211    "The Creative Process, from idea to execution",
212    "Business Process, from start to finish",
213    "Diagram for renewable, non-renewable, and sustainable energy sources",
214  ],
215  [DesignGenerationType.FlowChart]: [
216    "Customer Journey Map, from awareness to purchase",
217    "Project Management Flowchart, from planning to execution",
218    "Flowchart for decision-making process, from problem to solution",
219  ],
220  [DesignGenerationType.Mindmap]: [
221    "Creative Ideas Mind Map, brainstorming session",
222    "Business Strategy Mind Map, planning and execution",
223    "Mind Map for learning a new language, vocabulary and grammar",
224  ],
225  [DesignGenerationType.Logo]: [
226    "EV Car, flat style",
227    "Sushi Restaurant, minimalistic",
228    "Flower Shop, simple and elegant",
229  ],
230  [DesignGenerationType.Icon]: [
231    "A black chow chow with red hat",
232    "Puppy House, minimalistic",
233    "EV Car, flat style",
234  ],
235  [DesignGenerationType.LetterHead]: [
236    "Job application: Showcasing talent and dedication for your team",
237    "Thank you for your donation: Acknowledging your generosity and impact",
238    "Introducing our new division head: Leadership for a brighter future",
239  ],
240  [DesignGenerationType.GanttChart]: [
241    "Sales performance overview: Visualizing growth and key metrics",
242    "Market analysis: Insights driving business strategies",
243    "Annual revenue breakdown: Data-driven results for impactful decisions",
244  ],
245  [DesignGenerationType.DataInfograph]: [
246    "Sales performance overview: Visualizing growth and key metrics",
247    "Market analysis: Insights driving business strategies",
248    "Annual revenue breakdown: Data-driven results for impactful decisions",
249  ],
250  [DesignGenerationType.MoviePoster]: [
251    "Blockbuster reveal: Eye-catching visuals for an unforgettable premiere",
252    "Thrilling narrative: A poster that encapsulates suspense and intrigue",
253    "Epic adventure: Designing posters that bring cinematic worlds to life",
254  ],
255  [DesignGenerationType.GrantProposal]: [
256    "Funding impact assessment: Visualizing outcomes for sustainable change",
257    "Grant allocation breakdown: Data-driven strategies for measurable success",
258    "Research funding proposal: A clear path to innovative solutions",
259  ],
260  [DesignGenerationType.CoverLetter]: [
261    "Marketing Coordinator position at ABC Corp, highlighting your relevant experience and how it aligns with the company's values",
262    "Admission application to Greenwood University, explaining your academic background and relevant experiences",
263    "Referral letter for an HR manager position, mentioning your referral from Emily Bright, and highlighting your relevant skills and experiences",
264  ],
265  [DesignGenerationType.VennDiagram]: [
266    "Marketing strategy overlap: Online ads vs. social media outreach",
267    "Consumer behavior: Online shopping vs. in-store preferences",
268    "Project management: Agile vs. Waterfall methods comparison",
269  ],
270  [DesignGenerationType.AlbumCover]: [
271    "Psychedelic Rock: Wavy, trippy patterns, vibrant colors, cosmic imagery",
272    "Punk Rock: Torn posters, graffiti, rebellious symbol, urban decay",
273    "Jazz Fusion: Abstract shapes, instruments, earthy tones, minimalist design",
274  ],
275  [DesignGenerationType.CaseStudy]: [
276    "Implementing predictive maintenance in manufacturing: Key outcomes",
277    "Fraud detection strategies in financial services: Best practices",
278    "Optimizing hospital patient management systems: Challenges and solution",
279  ],
280  [DesignGenerationType.VisionBoard]: [
281    "Career Vision Board: Achieve milestones for professional growth",
282    "Home Renovation Vision Board: Ideas for cozy, modern spaces",
283    "Business Vision Board: Strategies for small business success",
284  ],
285  [DesignGenerationType.SwotAnalysis]: [
286    "Market SWOT Analysis: Assess competition and industry landscape",
287    "Product SWOT Analysis: Analyze new product launch potential",
288    "Brand SWOT Analysis: Identify branding opportunities and challenges",
289  ],
290  [DesignGenerationType.Roadmap]: [
291    "Business Roadmap: Plan growth strategies for the next year",
292    "Marketing Roadmap: Campaign strategy for boosting brand awareness",
293    "Product Roadmap: Feature rollout for a SaaS platform",
294  ],
295  [DesignGenerationType.PieChart]: [
296    "Budget Pie Chart: Visualize monthly expense distribution",
297    "Sales Pie Chart: Breakdown of revenue by product category",
298    "Market Share Pie Chart: Show competitors' market percentages",
299  ],
300  [DesignGenerationType.Contract]: [
301    "NDA: Protect confidential information between two companies",
302    "Freelance Contract: Contract for a freelance writer and a tech company",
303    "Software License: License agreement for a SaaS product",
304  ],
305  [DesignGenerationType.MarketingPlan]: [
306    "Social Media Marketing Plan: Strategy for platform engagement and growth",
307    "PPC Marketing Plan: Plan for paid search and display ads",
308    "Email Marketing Plan: Strategy for customer retention and conversion",
309  ],
310  [DesignGenerationType.ConcertPoster]: [
311    "Rock Concert Poster, featuring the band and event details",
312    "Jazz Concert Poster, showcasing the performers and venue",
313    "Pop Concert Poster, highlighting the headliner and opening acts",
314  ],
315  [DesignGenerationType.AdCreator]: [
316    "Event Ad, highlighting key details and featured guests",
317    "Sale Ad, promoting a limited-time discount or offer",
318    "Social Media Ad, driving engagement with a call to action",
319  ],
320  [DesignGenerationType.Ebook]: [
321    "Cookbook Ebook, featuring recipes and cooking tips",
322    "Fitness Ebook, showcasing workout routines and health tips",
323    "Self-Help Ebook, providing guidance and motivation",
324  ],
325  [DesignGenerationType.WhitePaper]: [
326    "Tech Industry White Paper, analyzing trends and innovations",
327    "Healthcare White Paper, discussing patient care and technology",
328    "Education White Paper, exploring new teaching methods and tools",
329  ],
330  [DesignGenerationType.ComparisonInfographic]: [
331    "Comparison between traditional marketing and digital marketing",
332    "Service comparison between Uber and Lyft",
333    "Brand comparison between Nike and Adidas",
334  ],
335  [DesignGenerationType.StandardOperatingProcedure]: [
336    "Standard Operating Procedure for a manufacturing process",
337    "Standard Operating Procedure for customer service handling",
338    "Standard Operating Procedure for quality assurance in production",
339  ],
340  [DesignGenerationType.Statistics]: [
341    "Sales statistics for the last quarter",
342    "Customer satisfaction statistics for the last year",
343    "Website traffic statistics for the last month",
344  ],
345  [DesignGenerationType.OnePager]: [
346    "One-pager for a new product launch",
347    "One-pager for a marketing campaign",
348    "One-pager for a business proposal",
349  ],
350  [DesignGenerationType.CheatSheet]: [
351    "Macroeconomics cheat sheet",
352    "Digital marketing strategies cheat sheet",
353    "Graphic design principles cheat sheet",
354  ],
355  [DesignGenerationType.Instructions]: [
356    "Instructions for assembling a piece of furniture",
357    "Instructions for setting up a new software application",
358    "Instructions for using a new kitchen appliance",
359  ],
360};
361
362const INFOGRAPHIC_CATEGORIES = [
363  {
364    label: "Auto",
365    value: "auto",
366    category: "infograph",
367    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
368    initialPrompt: "Create an infographic about ",
369  },
370  {
371    label: "Informational",
372    value: "informational",
373    category: "infograph",
374    subcategory: "informational",
375    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
376    initialPrompt: "Create an informational infographic about ",
377  },
378  {
379    label: "List",
380    value: "list",
381    category: "infograph",
382    subcategory: "list",
383    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
384    initialPrompt: "Create a list infographic about ",
385  },
386  {
387    label: "Process",
388    value: "process",
389    category: "infograph",
390    subcategory: "process",
391    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
392    initialPrompt: "Create a process infographic about ",
393  },
394  {
395    label: "Timeline",
396    value: "timeline",
397    category: "infograph",
398    subcategory: "timeline",
399    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
400    initialPrompt: "Create a timeline infographic about ",
401  },
402  {
403    label: "Comparison",
404    value: "comparison",
405    category: "comparisonInfographic",
406    subcategory: "auto",
407    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.ComparisonInfographic],
408    initialPrompt: "Create a comparison infographic about ",
409  },
410  {
411    label: "Statistical",
412    value: "statistical",
413    category: "infograph",
414    subcategory: "statistical",
415    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
416    initialPrompt: "Create a statistical infographic about ",
417  },
418];
419
420const DESIGN_CATEGORIES = [
421  {
422    label: "Auto",
423    value: "auto",
424    category: "auto",
425    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Poster],
426    initialPrompt: "Create a poster about ",
427  },
428  {
429    label: "Poster",
430    value: "poster",
431    category: "poster",
432    subcategory: "auto",
433    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Poster],
434    initialPrompt: "Create a poster about ",
435  },
436  {
437    label: "Collage",
438    value: "collage",
439    category: "collage",
440    subcategory: "auto",
441    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Collage],
442    initialPrompt: "Create a collage about ",
443  },
444  {
445    label: "Flyer",
446    value: "flyer",
447    category: "flyer",
448    subcategory: "auto",
449    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Flyer],
450    initialPrompt: "Create a flyer about ",
451  },
452  {
453    label: "Brochure",
454    value: "brochure",
455    category: "brochure",
456    subcategory: "auto",
457    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Brochure],
458    initialPrompt: "Create a brochure about ",
459  },
460  {
461    label: "Book Cover",
462    value: "book-cover",
463    category: "bookCover",
464    subcategory: "auto",
465    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.BookCover],
466    initialPrompt: "Create a book cover about ",
467  },
468  {
469    label: "Invitation",
470    value: "invitation",
471    category: "invitation",
472    subcategory: "auto",
473    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Invitation],
474    initialPrompt: "Create an invitation about ",
475  },
476  {
477    label: "Catalog",
478    value: "catalog",
479    category: "catalog",
480    subcategory: "auto",
481    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Catalog],
482    initialPrompt: "Create a catalog about ",
483  },
484  {
485    label: "Business Card",
486    value: "business-card",
487    category: "businessCard",
488    subcategory: "auto",
489    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.BusinessCard],
490    initialPrompt: "Create a business card about ",
491  },
492  {
493    label: "Menu",
494    value: "menu",
495    category: "menu",
496    subcategory: "auto",
497    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Menu],
498    initialPrompt: "Create a menu about ",
499  },
500  {
501    label: "Card",
502    value: "card",
503    category: "card",
504    subcategory: "auto",
505    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Card],
506    initialPrompt: "Create a card about ",
507  },
508  {
509    label: "Album Cover",
510    value: "album-cover",
511    category: "albumCover",
512    subcategory: "auto",
513    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.AlbumCover],
514    initialPrompt: "Create an album cover about ",
515  },
516  {
517    label: "Label",
518    value: "label",
519    category: "label",
520    subcategory: "auto",
521    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Label],
522    initialPrompt: "Create a label about ",
523  },
524  {
525    label: "Postcard",
526    value: "postcard",
527    category: "postcards",
528    subcategory: "auto",
529    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
530    initialPrompt: "Create a postcard about ",
531  },
532  {
533    label: "Coupon",
534    value: "coupon",
535    category: "coupons",
536    subcategory: "auto",
537    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
538    initialPrompt: "Create a coupon about ",
539  },
540];
541
542const SOCIAL_MEDIA_CATEGORIES = [
543  {
544    label: "Auto",
545    value: "auto",
546    category: "auto",
547    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
548    initialPrompt: "Create social media post about ",
549  },
550  {
551    label: "Banner",
552    value: "banner",
553    category: "banners",
554    subcategory: "auto",
555    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Banner],
556    initialPrompt: "Create a banner about ",
557  },
558  {
559    label: "Instagram",
560    value: "instagram-post",
561    category: "instagramPost",
562    subcategory: "auto",
563    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.InstagramPost],
564    initialPrompt: "Create an instagram post about ",
565  },
566  {
567    label: "LinkedIn",
568    value: "linkedin",
569    category: "social media",
570    subcategory: "linkedin",
571    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.InstagramPost],
572    initialPrompt: "Create a linkedin post about ",
573  },
574  {
575    label: "Facebook",
576    value: "facebook",
577    category: "social media",
578    subcategory: "facebook",
579    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.InstagramPost],
580    initialPrompt: "Create a facebook post about ",
581  },
582  {
583    label: "Carousel",
584    value: "carousel",
585    category: "social media",
586    subcategory: "carousels",
587    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.InstagramPost],
588    initialPrompt: "Create a carousel about ",
589  },
590];
591
592const REPORT_CATEGORIES = [
593  {
594    label: "Report",
595    value: "auto",
596    category: "report",
597    subcategory: "auto",
598    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Report],
599    initialPrompt: "Create a report about ",
600  },
601];
602
603const PRESENTATION_CATEGORIES = [
604  {
605    label: "Presentation",
606    value: "auto",
607    category: "presentations",
608    subcategory: "auto",
609    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Presentation],
610    initialPrompt: "Create a presentation about ",
611  },
612];
613
614const BROCHURE_CATEGORIES = [
615  {
616    label: "Brochure",
617    value: "auto",
618    category: "brochures",
619    subcategory: "auto",
620    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Brochure],
621    initialPrompt: "Create a brochure about ",
622  },
623];
624
625const FLOWCHART_CATEGORIES = [
626  {
627    label: "Flowchart",
628    value: "auto",
629    category: "diagrams/flowchart",
630    subcategory: "auto",
631    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.FlowChart],
632    initialPrompt: "Create a flowchart about ",
633  },
634];
635
636const RESUME_CATEGORIES = [
637  {
638    label: "Resume",
639    value: "auto",
640    category: "resumes",
641    subcategory: "auto",
642    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Resume],
643    initialPrompt: "Create a resume about ",
644  },
645];
646
647const FLYER_CATEGORIES = [
648  {
649    label: "Flyer",
650    value: "auto",
651    category: "flyers",
652    subcategory: "auto",
653    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Flyer],
654    initialPrompt: "Create a flyer about ",
655  },
656];
657
658const BOOK_COVER_CATEGORIES = [
659  {
660    label: "Book cover",
661    value: "auto",
662    category: "book-covers",
663    subcategory: "auto",
664    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.BookCover],
665    initialPrompt: "Create a book cover about ",
666  },
667];
668
669const NEWSLETTER_CATEGORIES = [
670  {
671    label: "Newsletter",
672    value: "auto",
673    category: "newsletters",
674    subcategory: "auto",
675    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Newsletter],
676    initialPrompt: "Create a newsletter about ",
677  },
678];
679
680const BANNER_CATEGORIES = [
681  {
682    label: "Banner",
683    value: "auto",
684    category: "banners",
685    subcategory: "auto",
686    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Banner],
687    initialPrompt: "Create a banner about ",
688  },
689];
690
691const DOCUMENT_CATEGORIES = [
692  {
693    label: "Auto",
694    value: "auto",
695    category: "auto",
696    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
697    initialPrompt: "Create a document about ",
698  },
699  {
700    label: "Report",
701    value: "report",
702    category: "report",
703    subcategory: "auto",
704    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Report],
705    initialPrompt: "Create a report about ",
706  },
707  {
708    label: "Presentation",
709    value: "presentation",
710    category: "presentation",
711    subcategory: "auto",
712    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Presentation],
713    initialPrompt: "Create a presentation about ",
714  },
715  {
716    label: "Ebook",
717    value: "ebook",
718    category: "ebook",
719    subcategory: "auto",
720    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Ebook],
721    initialPrompt: "Create an ebook about ",
722  },
723  {
724    label: "White paper",
725    value: "white-paper",
726    category: "whitePaper",
727    subcategory: "auto",
728    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.WhitePaper],
729    initialPrompt: "Create a white paper about ",
730  },
731  {
732    label: "Schedule",
733    value: "schedule",
734    category: "schedule",
735    subcategory: "auto",
736    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Schedule],
737    initialPrompt: "Create a schedule about ",
738  },
739  {
740    label: "Resume",
741    value: "resume",
742    category: "resume",
743    subcategory: "auto",
744    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Resume],
745    initialPrompt: "Create a resume about ",
746  },
747  {
748    label: "Letterhead",
749    value: "letter-head",
750    category: "letterHead",
751    subcategory: "auto",
752    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.LetterHead],
753    initialPrompt: "Create a letterhead about ",
754  },
755  {
756    label: "Contract",
757    value: "contract",
758    category: "contract",
759    subcategory: "auto",
760    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Contract],
761    initialPrompt: "Create a contract about ",
762  },
763];
764
765const PROPOSAL_CATEGORIES = [
766  {
767    label: "Auto",
768    value: "auto",
769    category: "auto",
770    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Proposal],
771    initialPrompt: "Create a proposal about ",
772  },
773  {
774    label: "Plans",
775    value: "plans",
776    category: "plans",
777    subcategory: "auto",
778    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.BusinessPlan],
779    initialPrompt: "Create a plan about ",
780  },
781  {
782    label: "Proposals",
783    value: "proposals",
784    category: "proposals",
785    subcategory: "auto",
786    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.BusinessPlan],
787    initialPrompt: "Create a proposal about ",
788  },
789  {
790    label: "Roadmap",
791    value: "roadmap",
792    category: "roadmaps",
793    subcategory: "auto",
794    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Roadmap],
795    initialPrompt: "Create a roadmap about ",
796  },
797];
798
799const CHART_CATEGORIES = [
800  {
801    label: "Auto",
802    value: "auto",
803    prefix: [],
804    category: "",
805    subcategory: "",
806    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Chart],
807    initialPrompt: "Create a chart about ",
808  },
809  {
810    label: "Pie",
811    value: "pie",
812    prefix: ["009"],
813    category: "charts",
814    subcategory: "pie chart",
815    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Chart],
816    initialPrompt: "Create a pie chart about ",
817  },
818  {
819    label: "Bar",
820    value: "bar",
821    prefix: ["012", "011"],
822    category: "charts",
823    subcategory: "bar chart",
824    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Chart],
825    initialPrompt: "Create a bar chart about ",
826  },
827  {
828    label: "Line",
829    value: "line",
830    prefix: ["010"],
831    category: "charts",
832    subcategory: "line chart",
833    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Chart],
834    initialPrompt: "Create a line chart about ",
835  },
836  {
837    label: "Curve graph",
838    value: "spline",
839    prefix: ["038"],
840    category: "charts",
841    subcategory: "line chart",
842    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Chart],
843    initialPrompt: "Create a spline chart about ",
844  },
845  {
846    label: "Wordcloud",
847    value: "wordcloud",
848    prefix: ["022"],
849    category: "charts",
850    subcategory: "wordcloud",
851    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Chart],
852    initialPrompt: "Create a word cloud about ",
853  },
854  {
855    label: "Scatterplot",
856    value: "scatterplot",
857    prefix: ["037"],
858    category: "charts",
859    subcategory: "scatterplot chart",
860    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Chart],
861    initialPrompt: "Create a scatterplot chart about ",
862  },
863  {
864    label: "Mindmap",
865    value: "mindmap",
866    category: "mind maps",
867    subcategory: "auto",
868    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Mindmap],
869    initialPrompt: "Create a mindmap about ",
870  },
871  {
872    label: "Diagram",
873    value: "diagram",
874    category: "diagrams",
875    subcategory: "auto",
876    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Diagram],
877    initialPrompt: "Create a diagram about ",
878  },
879];
880
881const HR_CATEGORIES = [
882  {
883    label: "Auto",
884    value: "auto",
885    category: "auto",
886    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
887    initialPrompt: "Create HR content about ",
888  },
889  {
890    label: "Newsletter",
891    value: "newsletter",
892    category: "newsletters",
893    subcategory: "auto",
894    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Newsletter],
895    initialPrompt: "Create a newsletter about ",
896  },
897  {
898    label: "Performance review",
899    value: "performance-review",
900    category: "reports",
901    subcategory: "human resources",
902    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.PerformanceReview],
903    initialPrompt: "Create a performance review about ",
904  },
905  {
906    label: "Certificate",
907    value: "certificate",
908    category: "certificates",
909    subcategory: "auto",
910    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
911    initialPrompt: "Create a certificate about ",
912  },
913  {
914    label: "Handbooks",
915    value: "handbooks",
916    category: "human resources",
917    subcategory: "handbooks",
918    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
919    initialPrompt: "Create a handbook about ",
920  },
921  {
922    label: "Offer Letters",
923    value: "offer-letters",
924    category: "human resources",
925    subcategory: "offer letters",
926    suggestions: SAMPLE_SUGGESTIONS[DesignGenerationType.Infograph],
927    initialPrompt: "Create an offer letter about ",
928  },
929];
930
931const CATEGORIES = [
932  {
933    label: "Auto",
934    value: "auto",
935    generateButtonLabel: "Generate design",
936  },
937  {
938    label: "Infographics",
939    value: "infographics",
940    subcategories: INFOGRAPHIC_CATEGORIES,
941    generateButtonLabel: "Generate infographic",
942  },
943  {
944    label: "Poster",
945    value: "posters",
946    subcategories: DESIGN_CATEGORIES,
947    generateButtonLabel: "Generate poster",
948  },
949  {
950    label: "Report",
951    value: "reports",
952    subcategories: REPORT_CATEGORIES,
953    generateButtonLabel: "Generate report",
954  },
955  {
956    label: "Presentation",
957    value: "presentations",
958    subcategories: PRESENTATION_CATEGORIES,
959    generateButtonLabel: "Generate presentation",
960  },
961  {
962    label: "Brochure",
963    value: "brochures",
964    subcategories: BROCHURE_CATEGORIES,
965    generateButtonLabel: "Generate brochure",
966  },
967  {
968    label: "FlowChart",
969    value: "diagrams/flowchart",
970    subcategories: FLOWCHART_CATEGORIES,
971    generateButtonLabel: "Generate flowchart",
972  },
973  {
974    label: "Resumes",
975    value: "resumes",
976    subcategories: RESUME_CATEGORIES,
977    generateButtonLabel: "Generate resume",
978  },
979  {
980    label: "Flyer",
981    value: "flyers",
982    subcategories: FLYER_CATEGORIES,
983    generateButtonLabel: "Generate flyer",
984  },
985  {
986    label: "Book cover",
987    value: "book-covers",
988    subcategories: BOOK_COVER_CATEGORIES,
989    generateButtonLabel: "Generate book cover",
990  },
991  {
992    label: "Newsletter",
993    value: "newsletters",
994    subcategories: NEWSLETTER_CATEGORIES,
995    generateButtonLabel: "Generate newsletter",
996  },
997  {
998    label: "Banner",
999    value: "banners",
1000    subcategories: BANNER_CATEGORIES,
1001    generateButtonLabel: "Generate banner",
1002  },
1003  {
1004    label: "Social media",
1005    value: "social-media",
1006    subcategories: SOCIAL_MEDIA_CATEGORIES,
1007    generateButtonLabel: "Generate post",
1008  },
1009  {
1010    label: "Documents",
1011    value: "white-papers",
1012    subcategories: DOCUMENT_CATEGORIES,
1013    generateButtonLabel: "Generate document",
1014  },
1015  {
1016    label: "Proposals",
1017    value: "proposals",
1018    subcategories: PROPOSAL_CATEGORIES,
1019    generateButtonLabel: "Generate proposal",
1020  },
1021  {
1022    label: "Charts",
1023    value: "charts",
1024    subcategories: CHART_CATEGORIES,
1025    generateButtonLabel: "Generate chart",
1026  },
1027  {
1028    label: "HR",
1029    value: "human-resources",
1030    subcategories: HR_CATEGORIES,
1031    generateButtonLabel: "Generate HR content",
1032  },
1033];

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.