const stateInit = { lacticBite: false, formula: { 18: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 17: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 16: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 15: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 14: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 13: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 12: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 11: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 21: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 22: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 23: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 24: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 25: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 26: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 27: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 28: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 48: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 47: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 46: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 45: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 44: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 43: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 42: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 41: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 31: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 32: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 33: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 34: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 35: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 36: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 37: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, 38: { dental_condition: { general: null, crown: { central: null, upper: null, lower: null, left: null, right: null, }, root: { central: null, left: null, right: null, }, }, tooth_mobility: null, }, }, }; const state = { lacticBite: true, formula: { ...JSON.parse(JSON.stringify(stateInit.formula)), 13: { dental_condition: { general: "О", crown: { ...stateInit.formula["13"].dental_condition.crown }, root: { ...stateInit.formula["13"].dental_condition.root }, }, tooth_mobility: 1, }, 12: { dental_condition: { general: "О", crown: { ...stateInit.formula["12"].dental_condition.crown }, root: { ...stateInit.formula["12"].dental_condition.root }, }, tooth_mobility: null, }, 11: { dental_condition: { general: "ИЗ", crown: { ...stateInit.formula["11"].dental_condition.crown, central: "К", }, root: { ...stateInit.formula["11"].dental_condition.root }, }, tooth_mobility: null, }, 25: { dental_condition: { general: "ИЗ", crown: { ...stateInit.formula["25"].dental_condition.crown }, root: { ...stateInit.formula["25"].dental_condition.root }, }, tooth_mobility: 3, }, 43: { dental_condition: { general: "О", crown: { ...stateInit.formula["43"].dental_condition.crown }, root: { ...stateInit.formula["43"].dental_condition.root }, }, tooth_mobility: 3, }, 42: { dental_condition: { general: "О", crown: { ...stateInit.formula["42"].dental_condition.crown }, root: { ...stateInit.formula["42"].dental_condition.root }, }, tooth_mobility: null, }, 41: { dental_condition: { general: "ИЗ", crown: { ...stateInit.formula["41"].dental_condition.crown }, root: { ...stateInit.formula["41"].dental_condition.root, left: "П" }, }, tooth_mobility: null, }, 35: { dental_condition: { general: "ИЗ", crown: { ...stateInit.formula["35"].dental_condition.crown }, root: { ...stateInit.formula["35"].dental_condition.root }, }, tooth_mobility: null, }, }, }; export default { stateInit, state, };