File size: 1,684 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
export const SUPPORT_BLOG_ID = 9619154;
import {
	DIFM_FLOW,
	DIFM_FLOW_STORE,
	HUNDRED_YEAR_DOMAIN_FLOW,
	HUNDRED_YEAR_PLAN_FLOW,
	WEBSITE_DESIGN_SERVICES,
} from '@automattic/onboarding';
/**
 * Customizer: Mapping from Calypso panel slug to tuple of focus key and value.
 */
export const PANEL_MAPPINGS: Record< string, [ string, string ] > = {
	widgets: [ 'panel', 'widgets' ],
	fonts: [ 'section', 'jetpack_fonts' ],
	identity: [ 'section', 'title_tagline' ],
	'custom-css': [ 'section', 'jetpack_custom_css' ],
	amp: [ 'section', 'amp_design' ],
	menus: [ 'panel', 'nav_menus' ],
	homepage: [ 'section', 'static_front_page' ],
	jetpack_search: [ 'section', 'jetpack_search' ],
};

export const EMAIL_SUPPORT_LOCALES = [
	'en',
	'en-gb',
	'de',
	'de-at',
	'de-li',
	'de-lu',
	'de-ch',
	'es',
	'es-cl',
	'es-mx',
	'fr',
	'fr-ca',
	'fr-be',
	'fr-ch',
	'it',
	'it-ch',
	'ja',
	'nl',
	'nl-be',
	'nl-nl',
	'pt',
	'pt-pt',
	'pt-br',
	'sv',
	'sv-fi',
	'sv-se',
];

export const FLOWS_ZENDESK_INITIAL_MESSAGES = {
	[ DIFM_FLOW ]: 'User is purchasing DIFM plan.',
	[ DIFM_FLOW_STORE ]: 'User is purchasing DIFM store plan.',
	[ WEBSITE_DESIGN_SERVICES ]: 'User is purchasing DIFM website design services.',
	[ HUNDRED_YEAR_PLAN_FLOW ]: 'User is purchasing 100 year plan.',
	[ HUNDRED_YEAR_DOMAIN_FLOW ]: 'User is purchasing 100 year domain.',
};

export const FLOWS_ZENDESK_FLOWNAME = {
	[ DIFM_FLOW ]: 'messaging_flow_dotcom_difm',
	[ DIFM_FLOW_STORE ]: 'messaging_flow_dotcom_difm',
	[ WEBSITE_DESIGN_SERVICES ]: 'messaging_flow_dotcom_difm',
	[ HUNDRED_YEAR_PLAN_FLOW ]: 'messaging_flow_dotcom_100_year_plan',
	[ HUNDRED_YEAR_DOMAIN_FLOW ]: 'messaging_flow_dotcom_100_year_domain',
};