const slug = "tabbed-contents";

export const dashboardInfo = (info) => {
  const { version, isPremium, hasPro, licenseActiveNonce } = info;

  const proSuffix = isPremium ? ' Pro' : '';

  return {
    name: `Tabbed Contents Block${proSuffix}`,
    displayName: `Tabbed Contents Block${proSuffix} - Display Content in Tabbed Layout`,
    description:
      "Tabbed Contents Block lets you organize your WordPress content into clean, responsive tab sections. Easily add multiple tabs with custom titles and content including text, images, videos, or HTML. It helps reduce clutter, improves readability, and enhances user experience by allowing visitors to quickly access the information they need. Perfect for showcasing features, services, FAQs, or step-by-step guides in a structured way.",
    slug,
    version,
    isPremium,
    hasPro,
    displayOurPlugins: true,
    media: {
      logo: `https://ps.w.org/${slug}/assets/icon-128x128.png`,
      banner: `https://ps.w.org/${slug}/assets/banner-772x250.png`,
      thumbnail: `https://bplugins.com/wp-content/themes/b-technologies/assets/images/products/${slug}.png`,
      // proThumbnail: `https://bplugins.com/wp-content/themes/b-technologies/assets/images/products/${slug}-pro.png`,
      // video: 'https://youtu.be/n3B4SpbDS30',
      // isYoutube: true
    },
    pages: {
      org: `https://wordpress.org/plugins/${slug}/`,
      landing: `https://bplugins.com/products/${slug}/`,
      docs: `https://bplugins.com/docs/${slug}/`,
      pricing: `https://bplugins.com/products/${slug}/pricing`,
    },
    freemius: {
      product_id: 17493,
      plan_id: 29131,
      public_key: 'pk_787bec9e91498f40f1d0feddec7bc'
    },

    licenseActiveNonce,

    changelogs: [
      {
        version: '1.2.2 – 29 March 26',
        type: 'Update',
        list: [
          'Added advanced tabs layout',
          'Improved performance and stability',
          'freemium sdk updated to latest version'
        ]
      },
      {
        version: '1.2.1 – 1 March 26',
        type: 'Update',
        list: [
          'Dashboard menu item rename',
          'Added latest modern dashboard',
          'Resolved plugin update license prompt issue.'
        ]
      },
      {
        version: '1.2.0 – 22 Feb 26',
        type: 'New',
        list: [
          'Fixed: Some style customization.',
          'Update: Pro modal, Pro selector theme rename and upgrade the premium quality designed.',
          'New: Quick theme change options, Drag individual items to quickly adjust their position and customize the order as you like.'
        ]
      },
      {
        version: '1.1.9 – 15 Nov, 2025',
        type: 'update',
        list: [
          'freemius latest sdk version updated',
          'emo created for this plugin'
        ]
      },
    ],

    proFeatures: [
      'Select the theme of your choice to personalize your experience and give your website the look and feel that suits your style',
      'Hide/Show Tabbed Background: Easily toggle background visibility for tabbed sections with the Hide/Show Tabbed Background feature.',
      'Background On tabbed: Manage tab-specific backgrounds effortlessly with Background on Tabbed. Customize each tab for a dynamic user experience!',
      'Hide/Show Tabbed Icon: Toggle icons for each tab effortlessly with Hide/Show Tabbed Icon. Customize visibility for a clean and dynamic design!',
      'Hide/Show Tabbed Title: Easily toggle the visibility of tab titles with Hide/Show Tabbed Title for a cleaner, customized design!',
      'Responsive Settings: Optimize font size, alignment, and appearance for mobile, tablet, and desktop.',
      'Sortable Items: Drag individual items to quickly adjust their position and customize the order as you like.',
      'Exclusive smooth effects available only in Pro.'
    ],
    startButton: {
      label: 'Start Now',
      url: 'wp-admin/post-new.php?post_type=tabbed-contents'
    }
  }
}

export const demoInfo = {
  allInOneLabel: 'See All Demos',
  allInOneLink: 'https://bblockswp.com/demo/tabbed-contents/',
  demos: [
    {
      "title": "Default",
      "description": "Clean player with basic controls.",
      "url": "https://bblockswp.com/demo/tabbed-contents-default/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    },
    {
      "title": "Accent Line",
      "description": "Starts muted and plays automatically.",
      "url": "https://bblockswp.com/demo/tabbed-contents-accent-line/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    },
    {
      "title": "Sidebar Accent",
      "description": "Resize player to fit your layout.",
      "url": "https://bblockswp.com/demo/tabbed-contents-theme-two/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    },
    {
      "title": "Symbol Bar",
      "description": "Shows every available control option.",
      "url": "https://bblockswp.com/demo/tabbed-contents-theme-three/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    },
    {
      "title": "Wave Corner",
      "description": "Skip 2s and set preload behavior.",
      "url": "https://bblockswp.com/demo/tabbed-contents-theme-four/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    },
    {
      "title": "Title Focus",
      "description": "Loop tracks endlessly when enabled.",
      "url": "https://bblockswp.com/demo/tabbed-contents-theme-five/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    },
    {
      "title": "Sidebar title",
      "description": "Sleek modern Fusion skin design.",
      "url": "https://bblockswp.com/demo/tabbed-contents-theme-six/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    },
    {
      "title": "Tv Show",
      "description": "Sleek modern Fusion skin design.",
      "url": "https://bblockswp.com/demo/tabbed-contents-tv-show/",
      "icon": (<svg stroke='#000' fill='#000' strokeWidth='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'><path d='M5 9V7H7V9H5Z' fill='currentColor'></path><path d='M9 9H19V7H9V9Z' fill='currentColor'></path><path d='M5 15V17H7V15H5Z' fill='currentColor'></path><path d='M19 17H9V15H19V17Z' fill='currentColor'></path><path fillRule='evenodd' clipRule='evenodd' d='M1 6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V18C23 19.6569 21.6569 21 20 21H4C2.34315 21 1 19.6569 1 18V6ZM4 5H20C20.5523 5 21 5.44772 21 6V11H3V6C3 5.44772 3.44772 5 4 5ZM3 13V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V13H3Z' fill='currentColor'></path></svg>),
      "type": 'iframe'
    }
  ]
}

export const pricingInfo = {
  logo: `https://ps.w.org/${slug}/assets/icon-128x128.png`, // Optional
  pluginId: 17493,
  planId: 29131,
  licenses: [
    1,
    3,
    null
  ],
  button: {
    label: 'Buy Now ➜'
  },
  featured: {
    selected: 3, // choose from licenses item
  }
}