/**
 * 人物主页 - 类型配置
 * type 1: 科技领袖, type 2: 国会议员, type 3: 智库研究人员
 */

export const CHARACTER_CONFIG = {
	1: {
		// 科技领袖
		rootClass: "tech-leader",
		tabs: ["人物详情", "人物关系"],
		tabWidth: "50%",
		useImageProxy: false,
		headerTagType: "areaTag",
		wordCloudTitle: "科技观点",
		yearDefault: "全部",
		yearBuildMode: "dynamic",
		yearStaticOptions: [],
		showFundSource: false,
		resumeMode: "inline",
		resumeTitle: "生涯履历",
		resumeHeight: "1336px",
		companySectionTitle: "实体信息",
		basicInfoFields: [
			{ label: "出生日期：", key: "birthday", type: "text" },
			{ label: "国籍：", key: "country", type: "text" },
			{ label: "教育背景：", key: "educationList", type: "education", format: "school（major）" },
			{ label: "净资产：", key: "assets", type: "text" },
			{ label: "职业：", key: "positionTitle", type: "text" },
			{ label: "婚姻状况：", key: "marital", type: "text" },
			{ label: "出生地：", key: "birthPlace", type: "text" }
		],
		boxHeightRules: [
			{ condition: "undefined", value: "605px" },
			{ condition: "empty", value: "405px" },
			{ condition: "lte2", value: "505px" },
			{ condition: "default", value: "625px" }
		],
		useAreaTypeApi: true,
		fieldViewMode: "areaList",
		dialogTagPrefix: "#",
		dialogTagSuffix: " 相关领域标签",
		showRelevantSituation: false,
		historicalProposalType: null
	},
	2: {
		// 国会议员
		rootClass: "member-of-congress",
		tabs: ["人物详情", "历史提案", "人物关系"],
		tabWidth: "auto",
		useImageProxy: true,
		headerTagType: "inline",
		wordCloudTitle: "科技观点",
		yearDefault: "全部",
		yearBuildMode: "dynamic",
		yearStaticOptions: [],
		showFundSource: true,
		resumeMode: "inline",
		resumeTitle: "生涯履历",
		resumeHeight: "1556px",
		companySectionTitle: "实体信息",
		basicInfoFields: [
			{ label: "出生日期：", key: "birthday", type: "text" },
			{ label: "现任职位：", key: "positionTitle", type: "text" },
			{ label: "党派归属：", key: "party", type: "text" },
			{ label: "教育背景：", key: "educationList", type: "education", format: "school+major" },
			{ label: "代表州/选区：", key: "state", type: "text", titleClass: "address" },
			{ label: "政治立场：", key: "political", type: "text", contentClass: "long" },
			{ label: "出生地：", key: "birthPlace", type: "text" }
		],
		boxHeightRules: [
			{ condition: "undefined", value: "545px" },
			{ condition: "empty", value: "495px" },
			{ condition: "lte2", value: "445px" },
			{ condition: "default", value: "545px" }
		],
		useAreaTypeApi: false,
		fieldViewMode: "sessionStorage",
		dialogTagPrefix: "#",
		dialogTagSuffix: "相关领域标签",
		showRelevantSituation: false,
		historicalProposalType: "bill"
	},
	3: {
		// 智库研究人员
		rootClass: "think-tank-person",
		tabs: ["人物详情", "成果报告", "人物关系"],
		tabWidth: "auto",
		useImageProxy: false,
		headerTagType: "areaTag",
		wordCloudTitle: "核心观点",
		yearDefault: "全部",
		yearBuildMode: "dynamic",
		yearStaticOptions: [],
		showFundSource: false,
		resumeMode: "inline",
		resumeTitle: "生涯履历",
		resumeHeight: null,
		companySectionTitle: "实体信息",
		basicInfoFields: [
			{ label: "出生日期：", key: "birthday", type: "text" },
			{ label: "现任职位：", key: "positionTitle", type: "text" },
			{ label: "兼任职位：", key: "sideJob", type: "text" },
			{ label: "政策倾向：", key: "political", type: "text" },
			{ label: "国籍：", key: "country", type: "text" },
			{ label: "教育背景：", key: "educationList", type: "education", format: "school（major）" },
			{ label: "研究领域：", key: "industryList", type: "industry" }
		],
		boxHeightRules: [
			{ condition: "undefined", value: "625px" },
			{ condition: "empty", value: "425px" },
			{ condition: "lte2", value: "525px" },
			{ condition: "default", value: "625px" }
		],
		useAreaTypeApi: false,
		fieldViewMode: "sessionStorage",
		dialogTagPrefix: "",
		dialogTagSuffix: "",
		showRelevantSituation: false,
		historicalProposalType: "news"
	}
};
