from pptx.dml.color import RGBColor
from pptx.util import Inches

from services.ppt_generator.configs.standard_configs import (DefaultSettings,
                                                             SlideWorkArea)

"Sunbelt Specific LLM calls"


CIM_structure = """
    You should include the following slides. If you think more slides are required, add them:
    - Company Overview
    - Competitive Advantage
    - Competitors
    - Growth Opportunities
    - Products and Services - If more an than product segment, break out into a product overview slide and
    - Clients or Customers
    - Suppliers
    - Facility and Location
    - Ownership and Corporate Structure
    - Management Organization and Team
    - Industry Overview - Can be more than one slide, if needed split into many slides with a high level driving market overview and a more specific industry overview
    - Profit and Loss Statement
    - Balance Sheet
"""


class FirstChoice:
    "Sunbelt config"
    client: str = "FirstChoice"
    ppt_template: str = "ppt_templates/ppt_template.pptx"
    chroma_db = "FirstChoice"
    layout_choices = "./services/ppt_generator/layouts/first_choice/content_slide_layout_choices_v4.txt"
    slide_work_area: SlideWorkArea = SlideWorkArea(
        top=Inches(1.35), left=Inches(0.17), width=Inches(13.01), height=Inches(5.74)
    )
    default_settings: DefaultSettings = DefaultSettings(
        font="Calibri.ttf",
        font_size=16,
        font_color=RGBColor(0, 0, 0),
        light_font_color=RGBColor(255, 255, 255),
    )
    structure_recommendation = {"CIM": CIM_structure}
    client_type: str = "broker"
