import { __ } from '@wordpress/i18n'; export const INPUT_VARIABLE_SUGGESTIONS = window?.surerank_globals?.input_variable_suggestions ?? null; export const ROBOTS_OPTIONS = [ { id: 'post_no_index', value: 'no', label: __( 'No index', 'surerank' ), description: __( 'Prevents search engines from listing your page in search results.', 'surerank' ), }, { id: 'post_no_follow', value: 'no', label: __( 'No follow', 'surerank' ), description: __( 'Tells search engines not to follow any links on your page.', 'surerank' ), }, { id: 'post_no_archive', value: 'no', label: __( 'No archive', 'surerank' ), description: __( 'Blocks search engines from storing a cached version of your page.', 'surerank' ), }, ]; export const getDefaultPageDescription = () => __( 'This content will be set as the meta description tag and may appear in search results. Keep it short and clearly explain what the page is about.', 'surerank' ); export const ADMIN_DASHBOARD_URL = window?.surerank_globals?.wp_dashboard_url ?? ''; export const DESCRIPTION_LENGTH = window?.surerank_globals?.description_length ?? 160; export const TITLE_LENGTH = window?.surerank_globals?.title_length ?? 60; export const URL_LENGTH = window?.surerank_globals?.url_length ?? 90; export const getSearchEnginePreviewInfoText = () => ( <> { __( 'View a preview of how your page may appear in search engine results. This preview is for guidance only and might not exactly match how search engines display your content.', 'surerank' ) }