/** * Copyright 2026 aphrody-code * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { z } from "zod"; // ========================================== // 1. PLAYSTYLES SCHEMAS & DATA // ========================================== export const PlayStyleCategorySchema = z.enum([ "Scoring", "Passing", "Ball Control", "Defending", "Physical", "Goalkeeper", ]); export type PlayStyleCategory = z.infer; export const PlayStyleSchema = z.object({ id: z.string(), name_en: z.string(), name_fr: z.string(), category: PlayStyleCategorySchema, category_fr: z.string(), description_en: z.string(), description_fr: z.string(), regular_effect_en: z.string(), regular_effect_fr: z.string(), plus_effect_en: z.string(), plus_effect_fr: z.string(), key_attributes: z.array(z.string()), }); export type PlayStyle = z.infer; export const FC27_PLAYSTYLES: PlayStyle[] = [ // SCORING (TIR) { id: "finesse_shot", name_en: "Finesse Shot", name_fr: "Tir enroulé", category: "Scoring", category_fr: "Tir", description_en: "Performs finesse shots with enhanced curve, speed, and accuracy.", description_fr: "Exécute des tirs enroulés avec une précision, une courbure et une vitesse décuplées.", regular_effect_en: "Performs finesse shots faster with additional curve and improved accuracy.", regular_effect_fr: "Tirs enroulés déclenchés plus rapidement avec un effet brossé accru et une meilleure précision.", plus_effect_en: "Performs finesse shots significantly faster with maximum curve and exceptional accuracy.", plus_effect_fr: "Tirs enroulés ultra-rapides dotés d'une courbe maximale et d'une précision chirurgicale.", key_attributes: ["finishing", "curve", "longShots", "shotPower"], }, { id: "chip_shot", name_en: "Chip Shot", name_fr: "Ballon piqué", category: "Scoring", category_fr: "Tir", description_en: "Performs chip shots with elevated precision and optimal trajectory over keepers.", description_fr: "Exécute des ballons piqués au-dessus du gardien avec une trajectoire et une précision parfaites.", regular_effect_en: "Performs chip shots faster and with greater accuracy.", regular_effect_fr: "Déclenche les ballons piqués plus rapidement avec une trajectoire plus précise.", plus_effect_en: "Performs chip shots with extreme speed, pinpoint accuracy, and steep landing arcs.", plus_effect_fr: "Exécute des lobes supersoniques et millimétrés qui retombent instantanément sous la barre.", key_attributes: ["finishing", "curve", "composure"], }, { id: "power_shot", name_en: "Power Shot", name_fr: "Tir puissant", category: "Scoring", category_fr: "Tir", description_en: "Unleashes thunderous long-range strikes with reduced preparation time.", description_fr: "Décoche de lourdes frappes surpuissantes avec une animation d'armement accélérée.", regular_effect_en: "Performs power shots faster and with increased velocity.", regular_effect_fr: "Arme et déclenche les frappes puissantes plus rapidement avec une vitesse de balle accrue.", plus_effect_en: "Performs power shots much faster and with maximum shot speed.", plus_effect_fr: "Déclenche les tirs puissants quasi-instantanément avec une vitesse de balle cataclysmique.", key_attributes: ["shotPower", "longShots", "finishing"], }, { id: "power_header", name_en: "Power Header", name_fr: "Tête puissante", category: "Scoring", category_fr: "Tir", description_en: "Strikes headers with devastating power and unerring directional control.", description_fr: "Propulse des têtes d'une puissance dévastatrice et d'une précision remarquable.", regular_effect_en: "Performs headers with increased power and accuracy.", regular_effect_fr: "Reprend les têtes avec une force de frappe et une précision accrues.", plus_effect_en: "Performs headers with maximum power, lethal accuracy, and dominant downward trajectory.", plus_effect_fr: "Têtes ultra-puissantes imparables, piquées au sol ou logées en lucarne avec force maximale.", key_attributes: ["headingAccuracy", "jumping", "strength"], }, { id: "dead_ball", name_en: "Dead Ball", name_fr: "Coup de pied arrêté", category: "Scoring", category_fr: "Tir", description_en: "Set-piece specialist with extended trajectory lines, elevated curve, and pace.", description_fr: "Spécialiste des phases arrêtées bénéficiant d'une ligne de visée prolongée et d'un effet accru.", regular_effect_en: "Set pieces are delivered with increased speed, curve, and accuracy. Trajectory line is longer.", regular_effect_fr: "Coups francs et corners frappés plus vite, plus brossés avec une ligne de prévisualisation allongée.", plus_effect_en: "Set pieces are delivered with maximum speed, maximum curve, pinpoint precision, and maximum preview line length.", plus_effect_fr: "Coups de pied arrêtés aux trajectoires parfaites, vitesse et courbe maximales avec ligne de visée intégrale.", key_attributes: ["fkAccuracy", "curve", "shotPower", "crossing"], }, { id: "low_driven_shot", name_en: "Low Driven Shot", name_fr: "Tir à ras de terre", category: "Scoring", category_fr: "Tir", description_en: "Fires hard, low shots sliding underneath goalkeepers into the corners.", description_fr: "Décoche des frappes sèches au sol fusant sous le plongeon du gardien.", regular_effect_en: "Performs low driven shots with increased speed, reduced bounce, and better accuracy.", regular_effect_fr: "Frappes au ras du sol déclenchées plus promptement, sans rebond parasite et bien ciblées.", plus_effect_en: "Fires lightning-fast low driven shots with minimal spin, pinpoint corner placement, and high rebound velocity.", plus_effect_fr: "Frappes au sol chirurgicales, ultra-rapides et rasantes ne laissant aucun temps de réaction.", key_attributes: ["finishing", "shotPower", "composure"], }, // PASSING (PASSES) { id: "pinged_pass", name_en: "Pinged Pass", name_fr: "Passe appuyée", category: "Passing", category_fr: "Passes", description_en: "Delivers crisp, high-velocity ground passes that stick to teammates' feet.", description_fr: "Délivre des passes appuyées au sol ultra-rapides qui collent aux pieds du receveur.", regular_effect_en: "Ground passes travel faster without making them more difficult for the receiver to trap.", regular_effect_fr: "Les passes à ras de terre fusent à grande vitesse sans pénaliser le contrôle du receveur.", plus_effect_en: "Ground passes travel at maximum velocity with pinpoint accuracy and perfect first-touch cushioning.", plus_effect_fr: "Passes appuyées supersoniques traversant les lignes, absorbées sans accroc par le coéquipier.", key_attributes: ["shortPassing", "longPassing", "vision"], }, { id: "incisive_pass", name_en: "Incisive Pass", name_fr: "Passe incisive", category: "Passing", category_fr: "Passes", description_en: "Threads pinpoint through-balls through compact defensive corridors.", description_fr: "Transperce les lignes adverses avec des passes en profondeur millimétrées.", regular_effect_en: "Through passes are delivered with greater swerve and arrive accurately in space.", regular_effect_fr: "Passes en profondeur plus brossées et parfaitement dosées dans la course du partenaire.", plus_effect_en: "Through passes possess maximum curve, extreme precision, and ideal arrival timing.", plus_effect_fr: "Passes en profondeur d'une précision légendaire, contournant les défenseurs avec un effet idéal.", key_attributes: ["vision", "shortPassing", "curve"], }, { id: "long_ball_pass", name_en: "Long Ball Pass", name_fr: "Passe longue", category: "Passing", category_fr: "Passes", description_en: "Launches accurate aerial passes and diagonal switches over defensive blocks.", description_fr: "Délivre des transversales et des passes lobées précises au-dessus des blocs défensifs.", regular_effect_en: "Lobbed and lofted through passes travel faster and with improved accuracy.", regular_effect_fr: "Passes lobées et en profondeur aériennes plus rapides, plus tendues et plus précises.", plus_effect_en: "Lobbed passes are exceptionally fast, difficult to intercept, and land softly on target.", plus_effect_fr: "Ouvertures aériennes laser, impossibles à intercepter de la tête et amorties immédiatement.", key_attributes: ["longPassing", "vision"], }, { id: "tiki_taka", name_en: "Tiki Taka", name_fr: "Tiki Taka", category: "Passing", category_fr: "Passes", description_en: "Master of fluid, one-touch short passing combinations.", description_fr: "Maître du jeu rapide à une touche de balle et des combinaisons courtes en triangle.", regular_effect_en: "Executes difficult first-time ground passes with high accuracy, using backheels when appropriate.", regular_effect_fr: "Exécute des passes en une touche impeccables et utilise des talonnades opportunes.", plus_effect_en: "Executes instantaneous one-touch passes with surgical accuracy and minimal touch delay.", plus_effect_fr: "Enchaîne les passes en une touche à vitesse éclair avec une précision millimétrée absolue.", key_attributes: ["shortPassing", "vision", "reactions"], }, { id: "whipped_cross", name_en: "Whipped Cross", name_fr: "Centre brossé", category: "Passing", category_fr: "Passes", description_en: "Whips curling crosses with high pace and trajectory behind defender lines.", description_fr: "Enroule des centres tendus et brossés dans le dos de la ligne de défense.", regular_effect_en: "All crosses are delivered with high pace, curve, and accuracy into the danger zone.", regular_effect_fr: "Tous les centres sont brossés, rapides et déposés dans les zones dangereuses.", plus_effect_en: "Crosses are delivered with lethal curve, extreme pace, and surgical placement onto attacking heads.", plus_effect_fr: "Centres plongeants d'une violence et d'un effet diaboliques, contournant les gardiens et défenseurs.", key_attributes: ["crossing", "curve"], }, // BALL CONTROL (CONTRÔLE DU BALLON) { id: "first_touch", name_en: "First Touch", name_fr: "Contrôle", category: "Ball Control", category_fr: "Contrôle du ballon", description_en: "Traps high-velocity passes cleanly with instantaneous transition to dribbling.", description_fr: "Amortit les ballons les plus difficiles instantanément pour enchaîner sans perte de temps.", regular_effect_en: "Has minimal error when trapping the ball and transitions into dribbling faster.", regular_effect_fr: "Réduit les erreurs de contrôle et permet d'enchaîner en conduite plus promptement.", plus_effect_en: "Eliminates trapping error entirely; glues ball to foot instantly on any arrival velocity or height.", plus_effect_fr: "Contrôles parfaits systématiques, le cuir colle immédiatement au crampon quelle que soit la puissance.", key_attributes: ["ballControl", "agility", "reactions"], }, { id: "flair", name_en: "Flair", name_fr: "Dextérité", category: "Ball Control", category_fr: "Contrôle du ballon", description_en: "Executes creative, spontaneous passes and shots with flair and deception.", description_fr: "Exécute des gestes créatifs, passes aveugles, talonnades et frappes spontanées.", regular_effect_en: "Fancy passes and shots are performed with improved accuracy and higher animation frequency.", regular_effect_fr: "Passes et gestes de style réussis avec une meilleure précision et des animations fluidifiées.", plus_effect_en: "Fancy passes and shots are executed with maximal precision, breathtaking animations, and deceptive disguise.", plus_effect_fr: "Gestes d'anthologie, talonnades et extérieurs exécutés à perfection sans jamais trahir l'intention.", key_attributes: ["dribbling", "ballControl", "agility"], }, { id: "press_proven", name_en: "Press Proven", name_fr: "Résistance au pressing", category: "Ball Control", category_fr: "Contrôle du ballon", description_en: "Maintains possession under intense pressure by shielding and holding off challengers.", description_fr: "Garde le ballon sous forte pression adverse en utilisant le corps et le blindage.", regular_effect_en: "Keeps close control of the ball while jogging and can shield the ball effectively against opponents.", regular_effect_fr: "Garde la balle collée au pied au trot et protège efficacement son ballon au duel.", plus_effect_en: "Exceptional ball retention when pressed; nearly impossible to dispossess when shielding with body.", plus_effect_fr: "Inamovible sous le pressing, protège le ballon comme un roc tout en conservant une motricité totale.", key_attributes: ["strength", "ballControl", "balance"], }, { id: "rapid", name_en: "Rapid", name_fr: "Foulée rapide", category: "Ball Control", category_fr: "Contrôle du ballon", description_en: "Reaches high sprint speeds while dribbling, minimizing touch slowdown.", description_fr: "Atteint une vitesse de sprint maximale en conduite de balle sans ralentir lors des touches.", regular_effect_en: "Reaches a higher sprint speed when dribbling and has reduced chance of an error when knocking the ball ahead.", regular_effect_fr: "Accélère plus vite balle au pied et pousse le ballon sans risque de déviation.", plus_effect_en: "Reaches top sprint speed while sprinting with the ball; knock-aheads are exceptionally fast and controlled.", plus_effect_fr: "Conserve la vitesse d'un sprinteur même en dribblant; grands ponts et poussées de balle foudroyantes.", key_attributes: ["sprintSpeed", "acceleration", "dribbling"], }, { id: "technical", name_en: "Technical", name_fr: "Conduite technique", category: "Ball Control", category_fr: "Contrôle du ballon", description_en: "Glides past opponents using Controlled Sprint with precision turns and close touches.", description_fr: "Élimine les adversaires en sprint contrôlé (R1/RB) grâce à des touches de balle ultra-serrées.", regular_effect_en: "Reaches higher speed when performing Controlled Sprint and makes precision touches with greater agility.", regular_effect_fr: "Vitesse accrue lors du sprint contrôlé et changements de trajectoire fluides.", plus_effect_en: "Reaches near-sprint speed in Controlled Sprint, weaving through tight defenses with surgical turns.", plus_effect_fr: "Sprint contrôlé à vitesse phénoménale, virages à 90° et slalom instantané dans la défense.", key_attributes: ["dribbling", "agility", "balance"], }, { id: "trickster", name_en: "Trickster", name_fr: "Fantaisiste", category: "Ball Control", category_fr: "Contrôle du ballon", description_en: "Unlocks unique, flamboyant skill moves and flick-ups to humiliate defenders.", description_fr: "Débloque des gestes techniques flamboyants et des feintes de corps inédites.", regular_effect_en: "Grants the ability to perform unique flick skill moves and quick directional ball rolling.", regular_effect_fr: "Permet de réaliser des pichenettes et contrôles orientés exclusifs.", plus_effect_en: "Executes signature trickster moves at blazing speed, completely staggering defenders.", plus_effect_fr: "Débloque l'arsenal complet des jongles, râteaux et feintes acrobatiques avec une réactivité instantanée.", key_attributes: ["skillMoves", "agility", "dribbling"], }, // DEFENDING (DÉFENSE) { id: "block", name_en: "Block", name_fr: "Contre", category: "Defending", category_fr: "Défense", description_en: "Stretches limbs and throws body into shooting lanes to block shots and crosses.", description_fr: "Se jette dans la trajectoire des tirs et centres pour dévier les tentatives adverses.", regular_effect_en: "Increased reach when performing blocks and improved success rate of deflecting shots.", regular_effect_fr: "Allonge accrue lors des blocages et meilleur taux de déviation des frappes cadrées.", plus_effect_en: "Massive blocking reach; magnetically stops shots and retains deflection control away from attackers.", plus_effect_fr: "Allonge et réflexes de mur porteur; repousse les tirs les plus violents et sécurise le contre.", key_attributes: ["defensiveAwareness", "interceptions", "reactions"], }, { id: "bruiser", name_en: "Bruiser", name_fr: "Costaud", category: "Defending", category_fr: "Défense", description_en: "Uses sheer physical strength to muscle opponents off the ball in shoulder challenges.", description_fr: "Utilise sa force herculéenne pour bousculer les attaquants au duel d'épaule.", regular_effect_en: "Wins physical challenges with greater strength impact when engaging in contact.", regular_effect_fr: "Prend le dessus physiquement au duel à l'épaule et déséquilibre l'adversaire.", plus_effect_en: "Devastating physical power in tackles and shielding; routinely knocks opponents to the ground legally.", plus_effect_fr: "Impact physique colossale; terrasse les attaquants au contact et récupère le ballon net.", key_attributes: ["strength", "aggression", "standingTackle"], }, { id: "intercept", name_en: "Intercept", name_fr: "Interception", category: "Defending", category_fr: "Défense", description_en: "Sniffs out passing routes and cuts out passes with extended reach.", description_fr: "Lit les trajectoires de passes adverses et coupe les lignes avec une grande allonge.", regular_effect_en: "Increased reach and improved chances of retaining possession when intercepting passes.", regular_effect_fr: "Allonge accrue et meilleures chances de conserver le cuir lors d'une interception.", plus_effect_en: "Exceptional interception range; cleanly latches onto passing lanes and controls ball automatically.", plus_effect_fr: "Rayon d'interception maximal; aspire littéralement les passes et relance immédiatement.", key_attributes: ["interceptions", "reactions", "defensiveAwareness"], }, { id: "jockey", name_en: "Jockey", name_fr: "Foulée défensive", category: "Defending", category_fr: "Défense", description_en: "Mirrors attacker movement swiftly in defensive posture without losing balance.", description_fr: "Recule et temporise en position défensive (L2/LT) avec une vélocité et une fluidité optimales.", regular_effect_en: "Increased maximum speed of Sprint Jockey and improved transition speed from jockey to sprint.", regular_effect_fr: "Vitesse maximale augmentée en foulée défensive et reprise d'appui immédiate vers le sprint.", plus_effect_en: "Lightning-fast sprint jockeying; turns and tracks dribblers effortlessly with zero inertia delay.", plus_effect_fr: "Foulée défensive ultra-réactive; colle aux basques des meilleurs dribbleurs sans temps mort.", key_attributes: ["defensiveAwareness", "agility", "balance"], }, { id: "slide_tackle", name_en: "Slide Tackle", name_fr: "Tacle glissé", category: "Defending", category_fr: "Défense", description_en: "Executes clean, extended sliding tackles that trap the ball at the defender's feet.", description_fr: "Exécute des tacles glissés amples et précis qui bloquent le ballon au pied.", regular_effect_en: "Grants the ability to stop the ball directly at their feet when performing a slide tackle.", regular_effect_fr: "Permet de bloquer le ballon directement au bout du pied lors d'un tacle glissé.", plus_effect_en: "Greatly increased sliding distance and speed; vacuums the ball cleanly without committing fouls.", plus_effect_fr: "Allonge de glisse phénoménale, vitesse de tacle foudroyante et récupération propre dans les pieds.", key_attributes: ["slidingTackle", "defensiveAwareness", "aggression"], }, { id: "anticipate", name_en: "Anticipate", name_fr: "Anticipation", category: "Defending", category_fr: "Défense", description_en: "Known for pristine standing tackles that strip the ball cleanly without giving away rebounds.", description_fr: "Réputé pour ses tacles debout chirurgicaux qui confisquent le ballon sans contre favorable.", regular_effect_en: "Improved chances of a successful standing tackle and stopping the ball directly at the feet.", regular_effect_fr: "Taux de réussite élevé sur les tacles debout avec conservation du ballon immédiate.", plus_effect_en: "Significantly improved stand tackling; cleanly picks pockets with zero foul probability and immediate ball trap.", plus_effect_fr: "Tacle debout impérial de classe mondiale; subtilise le cuir sans concéder le moindre rebond.", key_attributes: ["standingTackle", "defensiveAwareness", "reactions"], }, // PHYSICAL (PHYSIQUE) { id: "acrobatic", name_en: "Acrobatic", name_fr: "Acrobatique", category: "Physical", category_fr: "Physique", description_en: "Performs volleys and overhead kicks with spectacular acrobatics and accuracy.", description_fr: "Réalise des bicyclettes, reprises de volée et ciseaux acrobatiques avec aisance.", regular_effect_en: "Performs volleys with improved accuracy and has access to acrobatic volley animations.", regular_effect_fr: "Reprises de volée plus précises avec déclenchement d'animations acrobatiques variées.", plus_effect_en: "Performs volleys with sensational accuracy, explosive acrobatic leaps, and lethal power.", plus_effect_fr: "Retournés et ciseaux magistraux exécutés avec une précision insolente et une puissance folle.", key_attributes: ["volleys", "agility", "jumping"], }, { id: "aerial", name_en: "Aerial", name_fr: "Combat aérien", category: "Physical", category_fr: "Physique", description_en: "Dominates aerial duels with immense vertical leap and physical positioning.", description_fr: "Règne dans les airs grâce à une détente verticale spectaculaire et un placement robuste.", regular_effect_en: "Performs higher jumps and has improved aerial physical presence in duels.", regular_effect_fr: "Détente plus haute et présence physique renforcée lors des duels de la tête.", plus_effect_en: "Performs monstrous vertical leaps with impenetrable aerial dominance against any challenger.", plus_effect_fr: "Détente de basketteur d'élite; écrase tout adversaire au duel aérien en défense comme en attaque.", key_attributes: ["jumping", "strength", "headingAccuracy"], }, { id: "trivela", name_en: "Trivela", name_fr: "Extérieur du pied", category: "Physical", category_fr: "Physique", description_en: "Passes and shoots using the outside of the foot with extreme curl and technique.", description_fr: "Frappe et passe de l'extérieur du pied avec une trajectoire fuyante ultra-brossée.", regular_effect_en: "Contextually triggers outside-of-the-foot passes and shots with reduced error.", regular_effect_fr: "Déclenche instinctivement des passes et tirs de l'extérieur du pied avec précision.", plus_effect_en: "Performs outside-of-the-foot passes and shots with exceptional curve, accuracy, and velocity.", plus_effect_fr: "Trivelas meurtriers d'une courbure spectaculaire, contournant les gardiens depuis l'angle de la surface.", key_attributes: ["curve", "shotPower", "longShots", "shortPassing"], }, { id: "relentless", name_en: "Relentless", name_fr: "Infatigable", category: "Physical", category_fr: "Physique", description_en: "High-end engine that recovers stamina rapidly during halftime and stoppage pauses.", description_fr: "Endurance de marathonien permettant de récupérer du souffle à la mi-temps et lors des arrêts.", regular_effect_en: "Reduces fatigue loss during play and increases stamina recovery during halftime.", regular_effect_fr: "Diminue l'épuisement durant le match et régénère une portion notable d'endurance à la pause.", plus_effect_en: "Greatly reduces stamina consumption throughout 90+ minutes; recovers almost full stamina at halftime.", plus_effect_fr: "Endurance quasi-infinie; permet de presser et sprinter sans relâche tout le match sans perte de stats.", key_attributes: ["stamina", "reactions"], }, { id: "quick_step", name_en: "Quick Step", name_fr: "Premier pas", category: "Physical", category_fr: "Physique", description_en: "Explodes off the mark with a sudden burst of acceleration when breaking into a sprint.", description_fr: "Dépose son vis-à-vis grâce à une impulsion foudroyante sur les premiers mètres de sprint.", regular_effect_en: "Accelerates faster during the initial burst of an Explosive Sprint.", regular_effect_fr: "Démarrage plus explosif sur les deux premières foulées lors de la pression du sprint.", plus_effect_en: "Significantly faster initial burst of sprint acceleration; leaves defenders standing still.", plus_effect_fr: "Démarrage supersonique instantané; dépose net n'importe quel défenseur sur la prise d'appui.", key_attributes: ["acceleration", "agility", "reactions"], }, { id: "long_throw", name_en: "Long Throw", name_fr: "Longue touche", category: "Physical", category_fr: "Physique", description_en: "Hurls throw-ins deep into the penalty box like a set-piece cross.", description_fr: "Propulse des touches surpuissantes directement au point de penalty.", regular_effect_en: "Performs throw-ins with increased distance and flatter, faster trajectory.", regular_effect_fr: "Effectue des touches plus lointaines avec une trajectoire plus tendue.", plus_effect_en: "Performs monstrous throw-ins reaching deep into the penalty area with maximum velocity.", plus_effect_fr: "Véritables corners à la main plongeant au cœur de la surface adverse avec force maximale.", key_attributes: ["strength"], }, // GOALKEEPER (GARDIEN DE BUT) { id: "far_throw", name_en: "Far Throw", name_fr: "Relance à la main longue", category: "Goalkeeper", category_fr: "Gardien de but", description_en: "Distributes the ball over long distances by hand to initiate rapid counter-attacks.", description_fr: "Relance à la main très loin et avec précision pour amorcer des contre-attaques éclair.", regular_effect_en: "Can throw the ball further and targets teammates towards the end of matches with higher accuracy.", regular_effect_fr: "Relance manuelle à plus longue distance avec une trajectoire tendue vers les ailiers.", plus_effect_en: "Can throw the ball exceptionally far with pinpoint trajectory past the midfield line.", plus_effect_fr: "Dégagement à la main supersonique dépassant la ligne médiane pour un ailier démarqué.", key_attributes: ["gkHandling", "vision"], }, { id: "footwork", name_en: "Footwork", name_fr: "Jeu au pied", category: "Goalkeeper", category_fr: "Gardien de but", description_en: "Uses legs and feet to pull off reflex saves against low shots and close-range attempts.", description_fr: "Utilise ses pieds et ses jambes pour repousser les tirs rasants et les frappes à bout portant.", regular_effect_en: "Frequently performs leg saves to stop low shots and has improved reactions when doing so.", regular_effect_fr: "Déclenche régulièrement des parades du pied sur les frappes basses avec de bons réflexes.", plus_effect_en: "Master of reflex foot saves; extends reach rapidly to kick away certain low goals.", plus_effect_fr: "Parades réflexes du pied exceptionnelles dignes des gardiens de handball, impénétrable au sol.", key_attributes: ["gkReflexes", "reactions"], }, { id: "cross_claimer", name_en: "Cross Claimer", name_fr: "Sortie aérienne", category: "Goalkeeper", category_fr: "Gardien de but", description_en: "Commands the penalty area on crosses and aerial balls with decisive exits.", description_fr: "S'impose avec autorité dans les airs sur les centres et coups de pied arrêtés.", regular_effect_en: "Goalkeeper comes out earlier and with better anticipation to claim crosses.", regular_effect_fr: "Anticipe les centres plus rapidement et sécurise la prise de balle dans le domaine aérien.", plus_effect_en: "Dominates the 18-yard box on all high balls; charges out aggressively with 100% catch security.", plus_effect_fr: "Souverain dans sa surface sur les ballons hauts; capte tous les centres sans relâcher.", key_attributes: ["gkPositioning", "gkHandling", "jumping"], }, { id: "rush_out", name_en: "Rush Out", name_fr: "Sortie rapide", category: "Goalkeeper", category_fr: "Gardien de but", description_en: "Closes down through balls and one-on-one angles with blistering rushing speed.", description_fr: "Sprint hors de sa ligne pour dégager les ballons en profondeur et réduire l'angle en duel.", regular_effect_en: "Accelerates faster and reaches higher speed when rushing out to meet incoming attackers.", regular_effect_fr: "Accélère plus vivement lors des sorties au-devant de l'attaquant lancé.", plus_effect_en: "Explodes out of the goalmouth at maximum speed, cutting off breakaways and closing angles immediately.", plus_effect_fr: "Sorties kamikazes ultra-rapides; réduit l'angle du duel en une fraction de seconde.", key_attributes: ["gkSpeed", "acceleration", "reactions"], }, { id: "far_reach", name_en: "Far Reach", name_fr: "Grande allonge", category: "Goalkeeper", category_fr: "Gardien de but", description_en: "Pulls off spectacular diving saves against shots targeted for the top and bottom corners.", description_fr: "Réalise des plongeons spectaculaires pour aller chercher les ballons logés dans les petits filets.", regular_effect_en: "Increased reach and diving extension when attempting saves against distant or top-corner shots.", regular_effect_fr: "Extension allongée lors des plongeons pour détourner les frappes lointaines bien placées.", plus_effect_en: "Unbelievable wingspan extension; claws balls out of top corners that would normally beat any keeper.", plus_effect_fr: "Allonge élastique phénoménale; sort les tirs téléguidés en pleine lucarne avec la main opposée.", key_attributes: ["gkDiving", "gkReflexes", "height"], }, { id: "deflector", name_en: "Deflector", name_fr: "Déviateur", category: "Goalkeeper", category_fr: "Gardien de but", description_en: "Directs parried saves away from danger zones into safe areas rather than back to attackers.", description_fr: "Dévie les frappes puissantes vers des zones sécurisées (ligne de touche) pour éviter les renards.", regular_effect_en: "Has better deflection control, pushing rebounds into wide or cleared areas.", regular_effect_fr: "Contrôle supérieur des renvois, claquant la balle loin des trajectoires d'autres attaquants.", plus_effect_en: "Exceptional deflection management; effortlessly pushes heavy strikes around posts or over the crossbar.", plus_effect_fr: "Maîtrise absolue des rebonds; détourne les frappes les plus violentes hors des limites du terrain.", key_attributes: ["gkReflexes", "gkHandling"], }, ]; // ========================================== // 2. POSITIONS & PLAYER ROLES (FC IQ) // ========================================== export const PositionCodeSchema = z.enum([ "GK", "CB", "LB", "RB", "LWB", "RWB", "CDM", "CM", "CAM", "LM", "RM", "LW", "RW", "CF", "ST", ]); export type PositionCode = z.infer; export const RoleFamiliaritySchema = z.enum(["Base", "Role+", "Role++"]); export type RoleFamiliarity = z.infer; export const PlayerRoleFocusSchema = z.enum([ "Defend", "Balanced", "Attack", "Build-Up", "Roaming", "Complete", "Sweeper", ]); export type PlayerRoleFocus = z.infer; export interface PlayerRoleDefinition { id: string; name_en: string; name_fr: string; description_en: string; description_fr: string; foci: PlayerRoleFocus[]; key_playstyles: string[]; } export interface PositionTaxonomyItem { code: PositionCode; name_en: string; name_fr: string; category: "Goalkeeper" | "Defense" | "Midfield" | "Attack"; secondary_positions: PositionCode[]; roles: PlayerRoleDefinition[]; } export const FC27_POSITIONS: PositionTaxonomyItem[] = [ { code: "GK", name_en: "Goalkeeper", name_fr: "Gardien de but", category: "Goalkeeper", secondary_positions: [], roles: [ { id: "goalkeeper", name_en: "Goalkeeper", name_fr: "Gardien classique", description_en: "Traditional shot stopper who prioritizes guarding the goal line and staying positioned between the posts.", description_fr: "Gardien traditionnel qui se concentre sur sa ligne de but et la parade pure.", foci: ["Defend", "Balanced"], key_playstyles: ["far_reach", "footwork", "deflector"], }, { id: "sweeper_keeper", name_en: "Sweeper Keeper", name_fr: "Gardien libéro", description_en: "Proactive keeper who rushes outside the box to clear through balls and acts as the 11th outfield player in build-up.", description_fr: "Gardien moderne et proactif qui anticipe loin de sa cage pour relancer et couper les ballons profonds.", foci: ["Balanced", "Sweeper"], key_playstyles: ["rush_out", "far_throw", "cross_claimer"], }, ], }, { code: "CB", name_en: "Centre Back", name_fr: "Défenseur central", category: "Defense", secondary_positions: ["LB", "RB", "CDM"], roles: [ { id: "defender", name_en: "Defender", name_fr: "Défenseur classique", description_en: "Stays back, holds the defensive line firmly, and focuses on fundamental tackling and aerial clearance.", description_fr: "Maintient strictement l'alignement défensif, évite les sorties risquées et assure le marquage.", foci: ["Defend"], key_playstyles: ["anticipate", "block", "aerial"], }, { id: "stopper", name_en: "Stopper", name_fr: "Stoppeur", description_en: "Steps aggressively out of the line to close down attackers, win early physical contact, and disrupt opposition buildup.", description_fr: "Sort agressivement de la ligne pour harceler l'attaquant dos au jeu et stopper net l'action.", foci: ["Defend"], key_playstyles: ["bruiser", "anticipate", "slide_tackle"], }, { id: "ball_playing_defender", name_en: "Ball-Playing Defender", name_fr: "Défenseur relanceur", description_en: "Confident distributor who initiates attacks from deep with line-breaking passes and composure under pressure.", description_fr: "Défenseur technique capable d'initier la construction par des passes tranchantes et précises.", foci: ["Defend", "Build-Up"], key_playstyles: ["long_ball_pass", "pinged_pass", "press_proven"], }, ], }, { code: "LB", name_en: "Left Back", name_fr: "Défenseur latéral gauche", category: "Defense", secondary_positions: ["LWB", "LM", "CB", "RB"], roles: [ { id: "fullback", name_en: "Fullback", name_fr: "Latéral classique", description_en: "Balances solid wide defending with calculated overlaps to provide crossing options on the flank.", description_fr: "Assure d'abord la solidité de son couloir puis apporte son soutien offensif avec mesure.", foci: ["Defend", "Balanced"], key_playstyles: ["jockey", "intercept", "whipped_cross"], }, { id: "falseback", name_en: "Falseback (Inverted Fullback)", name_fr: "Faux latéral (Inversé)", description_en: "Tucks inside into the half-spaces or central midfield during possession, forming a double pivot.", description_fr: "Repique à l'intérieur en phase de possession pour densifier le milieu de terrain en double pivot.", foci: ["Defend", "Build-Up"], key_playstyles: ["tiki_taka", "pinged_pass", "press_proven"], }, { id: "wingback", name_en: "Wingback", name_fr: "Piston", description_en: "Endlessly patrols the entire wing from box to box, providing width in attack and recovery speed in defense.", description_fr: "Arpente tout le couloir d'une surface à l'autre avec un gros volume de course et des centres répétés.", foci: ["Balanced", "Attack"], key_playstyles: ["relentless", "whipped_cross", "rapid"], }, { id: "attacking_wingback", name_en: "Attacking Wingback", name_fr: "Piston ultra-offensif", description_en: "Operates primarily as an auxiliary winger, overloading final thirds and delivering cutbacks.", description_fr: "Se projette continuellement aux avant-postes comme un ailier pour créer le surnombre.", foci: ["Attack"], key_playstyles: ["quick_step", "whipped_cross", "technical"], }, ], }, { code: "RB", name_en: "Right Back", name_fr: "Défenseur latéral droit", category: "Defense", secondary_positions: ["RWB", "RM", "CB", "LB"], roles: [ { id: "fullback", name_en: "Fullback", name_fr: "Latéral classique", description_en: "Balances solid wide defending with calculated overlaps on the right flank.", description_fr: "Défenseur de couloir rigoureux qui sélectionne ses montées avec soin.", foci: ["Defend", "Balanced"], key_playstyles: ["jockey", "intercept", "whipped_cross"], }, { id: "falseback", name_en: "Falseback (Inverted Fullback)", name_fr: "Faux latéral (Inversé)", description_en: "Tucks into midfield to control tempo and offer safe passing angles in early build-up.", description_fr: "Rentre dans l'axe à la relance pour sécuriser la possession et la transition.", foci: ["Defend", "Build-Up"], key_playstyles: ["tiki_taka", "pinged_pass", "intercept"], }, { id: "wingback", name_en: "Wingback", name_fr: "Piston", description_en: "Covers the right flank tirelessly with high-intensity running and accurate crossing.", description_fr: "Assure la largeur du jeu sur le flanc droit avec endurance et centres millimétrés.", foci: ["Balanced", "Attack"], key_playstyles: ["relentless", "whipped_cross", "rapid"], }, { id: "attacking_wingback", name_en: "Attacking Wingback", name_fr: "Piston ultra-offensif", description_en: "Drives into opponent penalty area to deliver final balls and cutbacks.", description_fr: "Attaquant de couloir supplémentaire débordant jusqu'à la ligne de but.", foci: ["Attack"], key_playstyles: ["quick_step", "whipped_cross", "technical"], }, ], }, { code: "LWB", name_en: "Left Wing Back", name_fr: "Piston gauche", category: "Defense", secondary_positions: ["LB", "LM"], roles: [ { id: "wingback", name_en: "Wingback", name_fr: "Piston", description_en: "Dynamo who provides continuous lateral presence and transition defense.", description_fr: "Piston dynamique animant le couloir gauche en 5-3-2 ou 3-5-2.", foci: ["Balanced", "Attack"], key_playstyles: ["relentless", "whipped_cross", "jockey"], }, { id: "attacking_wingback", name_en: "Attacking Wingback", name_fr: "Piston ultra-offensif", description_en: "Advanced flank runner who seeks underlaps and crosses inside the box.", description_fr: "Piston offensif percutant qui s'infiltre dans la surface adverse.", foci: ["Attack"], key_playstyles: ["quick_step", "whipped_cross", "first_touch"], }, ], }, { code: "RWB", name_en: "Right Wing Back", name_fr: "Piston droit", category: "Defense", secondary_positions: ["RB", "RM"], roles: [ { id: "wingback", name_en: "Wingback", name_fr: "Piston", description_en: "Dynamic right flank controller supporting both defensive recovery and wing attacks.", description_fr: "Maître du flanc droit à haute intensité physique.", foci: ["Balanced", "Attack"], key_playstyles: ["relentless", "whipped_cross", "jockey"], }, { id: "attacking_wingback", name_en: "Attacking Wingback", name_fr: "Piston ultra-offensif", description_en: "High-pressing, aggressive wide runner focused on offensive overload.", description_fr: "Piston offensif exploitant les espaces créés par les attaquants.", foci: ["Attack"], key_playstyles: ["quick_step", "whipped_cross", "rapid"], }, ], }, { code: "CDM", name_en: "Central Defensive Midfielder", name_fr: "Milieu défensif central", category: "Midfield", secondary_positions: ["CM", "CB"], roles: [ { id: "holding", name_en: "Holding", name_fr: "Sentinelle (Ancre)", description_en: "Shields the central defenders by intercepting passes and remaining disciplined in front of the backline.", description_fr: "Protège la charnière centrale, coupe les contres et maintient la discipline axiale.", foci: ["Defend", "Roaming"], key_playstyles: ["intercept", "anticipate", "bruiser"], }, { id: "centre_half", name_en: "Centre-Half (Half Back)", name_fr: "Demi-centre", description_en: "Drops between the centre backs during possession to form a temporary back three and resist press.", description_fr: "Décroche entre les deux centraux à la relance pour créer une ligne de 3.", foci: ["Defend"], key_playstyles: ["block", "anticipate", "long_ball_pass"], }, { id: "deep_lying_playmaker", name_en: "Deep-Lying Playmaker", name_fr: "Meneur de jeu reculé (Regista)", description_en: "Controls the tempo from deep, dictating play with long diagonals and crisp passes.", description_fr: "Métronome placé bas sur le terrain, distribuant des ouvertures chirurgicales.", foci: ["Defend", "Build-Up"], key_playstyles: ["long_ball_pass", "pinged_pass", "tiki_taka"], }, ], }, { code: "CM", name_en: "Central Midfielder", name_fr: "Milieu central", category: "Midfield", secondary_positions: ["CDM", "CAM", "LM", "RM"], roles: [ { id: "box_to_box", name_en: "Box-to-Box", name_fr: "Milieu relayeur (Box-to-Box)", description_en: "Tireless engine who impacts both penalty boxes with late runs, tackles, and transition energy.", description_fr: "Poumon de l'équipe présent dans les deux surfaces pour récupérer, orienter et conclure.", foci: ["Balanced"], key_playstyles: ["relentless", "intercept", "power_shot"], }, { id: "holding", name_en: "Holding", name_fr: "Sentinelle disciplinée", description_en: "Provides positional equilibrium in midfield, preventing opposition counter-attacks.", description_fr: "Garantit l'équilibre axial en restant en couverture lors des offensives.", foci: ["Defend"], key_playstyles: ["intercept", "anticipate", "press_proven"], }, { id: "deep_lying_playmaker", name_en: "Deep-Lying Playmaker", name_fr: "Meneur de jeu reculé", description_en: "Stationary quarterback who orchestrates attacking waves with varied passing ranges.", description_fr: "Distribue le jeu depuis une position basse avec une vision panoramique.", foci: ["Defend", "Build-Up"], key_playstyles: ["long_ball_pass", "pinged_pass", "incisive_pass"], }, { id: "playmaker", name_en: "Playmaker", name_fr: "Meneur de jeu relayeur", description_en: "Creative fulcrum searching for pockets of space between opposition lines.", description_fr: "Chef d'orchestre offensif qui s'infiltre dans les demi-espaces.", foci: ["Attack", "Roaming"], key_playstyles: ["incisive_pass", "tiki_taka", "technical"], }, { id: "half_winger", name_en: "Half-Winger (Mezzala)", name_fr: "Faux ailier (Mezzala)", description_en: "Drifts into wide channels during attacking phases to create crossing overloads with wingers.", description_fr: "Milieu excentré qui coulisse dans les couloirs pour créer des dédoublements.", foci: ["Balanced", "Attack"], key_playstyles: ["incisive_pass", "whipped_cross", "quick_step"], }, ], }, { code: "CAM", name_en: "Central Attacking Midfielder", name_fr: "Milieu offensif central", category: "Midfield", secondary_positions: ["CM", "CF", "LW", "RW"], roles: [ { id: "playmaker", name_en: "Playmaker", name_fr: "Meneur de jeu axial (Numéro 10)", description_en: "The classical maestro who unlocks defenses with killer final balls and visionary assists.", description_fr: "Le meneur pur qui distribue des caviars et déstabilise le bloc adverse.", foci: ["Balanced", "Roaming"], key_playstyles: ["incisive_pass", "tiki_taka", "flair"], }, { id: "shadow_striker", name_en: "Shadow Striker (Second Striker)", name_fr: "Attaquant de l'ombre (Neuf et demi)", description_en: "Makes explosive untracked runs past the striker directly into scoring positions.", description_fr: "S'engouffre dans la surface dans le dos de l'avant-centre pour marquer.", foci: ["Attack"], key_playstyles: ["finesse_shot", "quick_step", "power_shot"], }, { id: "half_winger", name_en: "Half-Winger (Mezzala)", name_fr: "Mezzala offensif", description_en: "Pulls wide into channels to destabilize fullbacks and combine with inverted wingers.", description_fr: "Occupe les ailes pour attirer les défenseurs et libérer l'axe.", foci: ["Balanced", "Attack"], key_playstyles: ["technical", "whipped_cross", "incisive_pass"], }, ], }, { code: "LM", name_en: "Left Midfielder", name_fr: "Milieu gauche", category: "Midfield", secondary_positions: ["LW", "LB", "LWB", "RM"], roles: [ { id: "winger", name_en: "Winger", name_fr: "Ailier classique de débordement", description_en: "Hugs the touchline, beats fullbacks on the outside, and whips dangerous crosses.", description_fr: "Reste collé à la ligne de touche pour éliminer en vitesse et centrer.", foci: ["Balanced", "Attack"], key_playstyles: ["rapid", "whipped_cross", "quick_step"], }, { id: "wide_midfielder", name_en: "Wide Midfielder", name_fr: "Milieu latéral travailleur", description_en: "Tactically disciplined wide player who tracks back to support the fullback and builds carefully.", description_fr: "Assure le repli défensif tout en participant à la construction propre.", foci: ["Defend", "Balanced"], key_playstyles: ["relentless", "jockey", "pinged_pass"], }, { id: "wide_playmaker", name_en: "Wide Playmaker", name_fr: "Meneur excentré", description_en: "Cuts inside onto stronger foot to act as an auxiliary playmaker and deliver diagonal balls.", description_fr: "Repique dans l'axe pour distribuer des ballons millimétrés.", foci: ["Attack"], key_playstyles: ["incisive_pass", "long_ball_pass", "technical"], }, { id: "inside_forward", name_en: "Inside Forward", name_fr: "Attaquant intérieur", description_en: "Direct goal-threat who attacks the box diagonally to unleash finesse or power shots.", description_fr: "Perce en diagonale vers le but pour frapper avec son pied fort.", foci: ["Balanced", "Attack"], key_playstyles: ["finesse_shot", "technical", "quick_step"], }, ], }, { code: "RM", name_en: "Right Midfielder", name_fr: "Milieu droit", category: "Midfield", secondary_positions: ["RW", "RB", "RWB", "LM"], roles: [ { id: "winger", name_en: "Winger", name_fr: "Ailier classique", description_en: "Uses pace to stretch defenses on the right flank and supply strikers with crosses.", description_fr: "Prend la profondeur sur l'aile droite pour adresser des centres tendus.", foci: ["Balanced", "Attack"], key_playstyles: ["rapid", "whipped_cross", "quick_step"], }, { id: "wide_midfielder", name_en: "Wide Midfielder", name_fr: "Milieu latéral travailleur", description_en: "Maintains team structure with solid workrate and measured flank progression.", description_fr: "Équilibre le bloc équipe avec un pressing rigoureux et un soutien défensif.", foci: ["Defend", "Balanced"], key_playstyles: ["relentless", "jockey", "shortPassing"], }, { id: "wide_playmaker", name_en: "Wide Playmaker", name_fr: "Meneur excentré", description_en: "Drifts inside to dictate tempo and pick out runners in the final third.", description_fr: "Décroche vers l'axe pour servir de point d'appui et orienter les offensives.", foci: ["Attack"], key_playstyles: ["incisive_pass", "tiki_taka", "curve"], }, { id: "inside_forward", name_en: "Inside Forward", name_fr: "Attaquant intérieur", description_en: "Infiltrates the penalty box from the right wing to finish attacks on goal.", description_fr: "Repique pour armer des tirs enroulés ou des frappes croisées au sol.", foci: ["Balanced", "Attack"], key_playstyles: ["finesse_shot", "technical", "rapid"], }, ], }, { code: "LW", name_en: "Left Winger", name_fr: "Ailier gauche", category: "Attack", secondary_positions: ["LM", "RW", "ST", "CAM"], roles: [ { id: "winger", name_en: "Winger", name_fr: "Ailier débordeur", description_en: "Blistering touchline dribbler who isolates defenders 1v1 and whips crosses.", description_fr: "Dribbleur explosif qui colle à la ligne pour centrer ou éliminer.", foci: ["Balanced", "Attack"], key_playstyles: ["rapid", "whipped_cross", "trickster"], }, { id: "inside_forward", name_en: "Inside Forward", name_fr: "Attaquant intérieur (Répiqueur)", description_en: "Primary goalscorer starting wide and carving open space for curling strikes.", description_fr: "Attaquant principal partant de l'aile pour enrouler dans le petit filet opposé.", foci: ["Balanced", "Attack"], key_playstyles: ["finesse_shot", "quick_step", "technical"], }, { id: "wide_playmaker", name_en: "Wide Playmaker", name_fr: "Meneur excentré", description_en: "Orchestrates attacks from the left channel with high technical vision.", description_fr: "Crée des décalages par la précision de ses passes et sa vista.", foci: ["Attack"], key_playstyles: ["incisive_pass", "tiki_taka", "first_touch"], }, ], }, { code: "RW", name_en: "Right Winger", name_fr: "Ailier droit", category: "Attack", secondary_positions: ["RM", "LW", "ST", "CAM"], roles: [ { id: "winger", name_en: "Winger", name_fr: "Ailier débordeur", description_en: "Direct speedster who exploits space behind fullbacks to deliver low balls and crosses.", description_fr: "Fusée de couloir qui déborde pour centrer au cordeau.", foci: ["Balanced", "Attack"], key_playstyles: ["rapid", "whipped_cross", "quick_step"], }, { id: "inside_forward", name_en: "Inside Forward", name_fr: "Attaquant intérieur", description_en: "Cuts inside onto stronger foot to unleash curling strikes or through-balls.", description_fr: "Repique sur son pied gauche pour enrouler ou combiner dans la boîte.", foci: ["Balanced", "Attack"], key_playstyles: ["finesse_shot", "technical", "quick_step"], }, { id: "wide_playmaker", name_en: "Wide Playmaker", name_fr: "Meneur excentré", description_en: "Connects midfield and forward lines with surgical diagonal distribution.", description_fr: "Combine dans les petits espaces et distribue les passes décisives.", foci: ["Attack"], key_playstyles: ["incisive_pass", "flair", "first_touch"], }, ], }, { code: "CF", name_en: "Centre Forward", name_fr: "Attaquant de soutien (Avant-centre)", category: "Attack", secondary_positions: ["ST", "CAM"], roles: [ { id: "false_9", name_en: "False 9", name_fr: "Faux 9 (Décrocheur)", description_en: "Drops deep into midfield to draw central defenders out of position, creating space for wingers.", description_fr: "Décroche dans le rond central pour aspirer la défense et lancer les ailiers.", foci: ["Build-Up"], key_playstyles: ["incisive_pass", "tiki_taka", "first_touch"], }, { id: "poacher", name_en: "Poacher", name_fr: "Renard des surfaces", description_en: "Obsessed with penalty box positioning; lurks on defensive shoulder for instant finishes.", description_fr: "Guette le moindre ballon traînant dans les 16 mètres pour marquer en un éclair.", foci: ["Attack"], key_playstyles: ["finesse_shot", "low_driven_shot", "power_shot"], }, { id: "target_forward", name_en: "Target Forward", name_fr: "Point d'appui (Pivot)", description_en: "Physical reference point who shields the ball and brings attacking runners into play.", description_fr: "Point d'ancrage physique qui joue dos au but et remise pour ses partenaires.", foci: ["Balanced", "Attack"], key_playstyles: ["bruiser", "aerial", "power_header"], }, ], }, { code: "ST", name_en: "Striker", name_fr: "Buteur (Avant-centre)", category: "Attack", secondary_positions: ["CF", "LW", "RW"], roles: [ { id: "advanced_forward", name_en: "Advanced Forward", name_fr: "Attaquant complet (Avancé)", description_en: "The complete modern number 9 who presses, makes channel runs, dribbles, and finishes emphatically.", description_fr: "Le buteur moderne par excellence: prend la profondeur, presse et concrétise sous tous les angles.", foci: ["Attack", "Complete"], key_playstyles: ["finesse_shot", "rapid", "power_shot"], }, { id: "poacher", name_en: "Poacher", name_fr: "Renard des surfaces", description_en: "Minimal involvement in buildup; lethal efficiency inside the 18-yard box.", description_fr: "Présent uniquement à la finition; convertit la moindre opportunité en but.", foci: ["Attack"], key_playstyles: ["finesse_shot", "low_driven_shot", "acrobatic"], }, { id: "target_forward", name_en: "Target Forward", name_fr: "Pivot physique (Point d'appui)", description_en: "Dominates aerial balls, shields with back to goal, and batters centre backs physically.", description_fr: "Domine dans les airs et protège le ballon pour faire monter le bloc équipe.", foci: ["Balanced", "Attack"], key_playstyles: ["aerial", "power_header", "bruiser"], }, { id: "false_9", name_en: "False 9", name_fr: "Faux 9", description_en: "Vacates the center forward zone to link midfield play, opening gaps for inside forwards.", description_fr: "Quitte l'axe pour participer à l'élaboration offensive et surprendre les axiaux.", foci: ["Build-Up"], key_playstyles: ["tiki_taka", "first_touch", "incisive_pass"], }, ], }, ]; // ========================================== // 3. ACCELERATE 2.0 TAXONOMY // ========================================== export interface AccelerateArchetype { id: string; name_en: string; name_fr: string; description_en: string; description_fr: string; requirements: { height_condition: string; agility_condition: string; acceleration_condition: string; strength_condition: string; sprint_condition: string; formula: string; }; } export const FC27_ACCELERATE_ARCHETYPES: AccelerateArchetype[] = [ { id: "explosive", name_en: "Explosive", name_fr: "Explosif", description_en: "Instant burst of lightning acceleration over the first 10-15 yards, ideal for small, agile dribblers.", description_fr: "Accélération fulgurante sur les premières foulées; idéal pour les petits gabarits agiles.", requirements: { height_condition: "<= 175 cm (5'9\")", agility_condition: ">= 80", acceleration_condition: ">= 80", strength_condition: "Any", sprint_condition: "Any", formula: "Agility - Strength >= 20", }, }, { id: "mostly_explosive", name_en: "Mostly Explosive", name_fr: "Plutôt explosif", description_en: "Very quick start off the mark with sustained burst slightly longer than pure explosive.", description_fr: "Démarrage très dynamique conservant une bonne cadence sur les 20 premiers mètres.", requirements: { height_condition: "<= 182 cm (6'0\")", agility_condition: ">= 70", acceleration_condition: ">= 80", strength_condition: "Any", sprint_condition: "Any", formula: "Agility - Strength >= 12 and < 20", }, }, { id: "controlled_explosive", name_en: "Controlled Explosive", name_fr: "Explosif contrôlé", description_en: "Balanced acceleration leaning slightly towards explosive burst in transition.", description_fr: "Profil équilibré avec un net bonus de vivacité sur le premier appui.", requirements: { height_condition: "<= 182 cm (6'0\")", agility_condition: ">= 65", acceleration_condition: ">= 70", strength_condition: "Any", sprint_condition: "Any", formula: "Agility - Strength >= 4 and < 12", }, }, { id: "controlled", name_en: "Controlled", name_fr: "Contrôlé", description_en: "Standard linear acceleration curve without extremes; default profile for most versatile players.", description_fr: "Courbe d'accélération progressive et équilibrée; archétype universel.", requirements: { height_condition: "Any", agility_condition: "Any", acceleration_condition: "Any", strength_condition: "Any", sprint_condition: "Any", formula: "Neither meets Explosive nor Lengthy thresholds (|Strength - Agility| < 4 or height mismatch)", }, }, { id: "controlled_lengthy", name_en: "Controlled Lengthy", name_fr: "Longue foulée contrôlée", description_en: "Athletic hybrid starting steady and hitting superior top-end sprint speeds over distance.", description_fr: "Profil athlétique hybride montant rapidement en puissance vers une vitesse de pointe élevée.", requirements: { height_condition: ">= 181 cm (5'11\")", agility_condition: "Any", acceleration_condition: "Any", strength_condition: ">= 65", sprint_condition: ">= 70", formula: "Strength - Agility >= 4 and < 12", }, }, { id: "mostly_lengthy", name_en: "Mostly Lengthy", name_fr: "Plutôt longue foulée", description_en: "Heavy momentum runner who catches and overtakes attackers on extended 30+ yard sprints.", description_fr: "Coureur puissant prenant l'ascendant sur les courses de longue distance.", requirements: { height_condition: ">= 183 cm (6'0\")", agility_condition: "Any", acceleration_condition: "Any", strength_condition: ">= 75", sprint_condition: ">= 75", formula: "Strength - Agility >= 12 and < 14", }, }, { id: "lengthy", name_en: "Lengthy", name_fr: "Longue foulée (Puissant)", description_en: "Monstrous top-end speed locomotive that eats up ground relentlessly over long distances.", description_fr: "Locomotive inarrêtable atteignant une vitesse de pointe maximale phénoménale sur grand espace.", requirements: { height_condition: ">= 188 cm (6'2\")", agility_condition: "Any", acceleration_condition: "Any", strength_condition: ">= 80", sprint_condition: ">= 80", formula: "Strength - Agility >= 14", }, }, ]; // ========================================== // 4. METADATA: WEAK FOOT, SKILL MOVES, RARITIES // ========================================== export interface WeakFootTier { stars: number; rating_name: string; shot_penalty_percentage: number; pass_penalty_percentage: number; description_en: string; description_fr: string; } export const FC27_WEAK_FOOT: WeakFootTier[] = [ { stars: 1, rating_name: "1 Star", shot_penalty_percentage: 80, pass_penalty_percentage: 75, description_en: "Nearly incapable of shooting or passing effectively with off foot.", description_fr: "Incapacité quasi-totale d'assurer un tir ou une passe avec le mauvais pied.", }, { stars: 2, rating_name: "2 Stars", shot_penalty_percentage: 60, pass_penalty_percentage: 50, description_en: "Weak off-foot output; high error margin on long passes and shots.", description_fr: "Mauvais pied très imprécis; risque élevé d'erreur sur les ouvertures et frappes.", }, { stars: 3, rating_name: "3 Stars", shot_penalty_percentage: 35, pass_penalty_percentage: 25, description_en: "Adequate for short passes and routine tap-ins; struggles on long-range efforts.", description_fr: "Acceptable pour les passes courtes et finitions simples; limité à distance.", }, { stars: 4, rating_name: "4 Stars", shot_penalty_percentage: 15, pass_penalty_percentage: 10, description_en: "Very dependable weak foot; slight loss in swerve and velocity.", description_fr: "Très fiable; légère baisse d'effet et de puissance imperceptible en match.", }, { stars: 5, rating_name: "5 Stars", shot_penalty_percentage: 0, pass_penalty_percentage: 0, description_en: "Fully ambidextrous; zero penalty on shots, passes, and curve with either foot.", description_fr: "Parfaitement ambidextre; aucune pénalité en puissance, précision ou effet.", }, ]; export interface SkillMoveTier { stars: number; rating_name: string; unlocked_moves: string[]; description_en: string; description_fr: string; } export const FC27_SKILL_MOVES: SkillMoveTier[] = [ { stars: 1, rating_name: "1 Star", unlocked_moves: ["Body Feint", "Ball Roll", "Low fake shot"], description_en: "Standard goalkeepers and non-technical defenders.", description_fr: "Gardiens de but et défenseurs non-techniques.", }, { stars: 2, rating_name: "2 Stars", unlocked_moves: ["Stepover", "Reverse Stepover", "Ball Roll Left/Right", "Drag Back"], description_en: "Basic directional changes and dribbling feints.", description_fr: "Passements de jambes et changements de direction simples.", }, { stars: 3, rating_name: "3 Stars", unlocked_moves: ["Heel Chop", "Roulette", "Fake Shot Stop", "Heel Flick", "Stun Feint"], description_en: "Competent technical outfield players.", description_fr: "Roulettes complètes, talonnades et feintes d'arrêt.", }, { stars: 4, rating_name: "4 Stars", unlocked_moves: [ "Berba Spin", "Heel to Heel Flick", "La Croqueta (Lane Change)", "Simple Rainbow Flick", "Scoop Turn", "Four Touch Turn", ], description_en: "Advanced playmakers, modern fullbacks, and versatile wingers.", description_fr: "Gestes de déstabilisation avancés (Croqueta, Berba spin, Scoop turn).", }, { stars: 5, rating_name: "5 Stars", unlocked_moves: [ "Elastico (Flip Flap)", "Reverse Elastico", "Advanced Rainbow Flick", "Hocus Pocus", "Sombrero Flick", "Rabona Fake", "Bolasie Flick", "Tornado Spin", "Ball Roll Scoop Turn", ], description_en: "Elite world-class dribblers and virtuosos.", description_fr: "Élite mondiale du dribble, gestes d'anthologie et éliminations instantanées.", }, ]; export interface CardRarityDefinition { id: string; name: string; category: "Standard" | "Performance" | "Icons & Heroes" | "Campaign & Promos" | "Live & Upgradable" | "Special"; description: string; is_special: boolean; has_dynamic_image: boolean; upgradable: boolean; } export const FC27_CARD_RARITIES: CardRarityDefinition[] = [ // Standard { id: "bronze_common", name: "Bronze Common", category: "Standard", description: "Base bronze player rated up to 64", is_special: false, has_dynamic_image: false, upgradable: false }, { id: "bronze_rare", name: "Bronze Rare", category: "Standard", description: "Rare bronze player with enhanced sub-attributes up to 64", is_special: false, has_dynamic_image: false, upgradable: false }, { id: "silver_common", name: "Silver Common", category: "Standard", description: "Base silver player rated 65-74", is_special: false, has_dynamic_image: false, upgradable: false }, { id: "silver_rare", name: "Silver Rare", category: "Standard", description: "Rare silver player rated 65-74", is_special: false, has_dynamic_image: false, upgradable: false }, { id: "gold_common", name: "Gold Common", category: "Standard", description: "Base gold card rated 75+", is_special: false, has_dynamic_image: false, upgradable: false }, { id: "gold_rare", name: "Gold Rare", category: "Standard", description: "Rare gold card rated 75+ with high tier attribute balance", is_special: false, has_dynamic_image: false, upgradable: false }, // Performance { id: "totw", name: "Team of the Week (TOTW / In-Form)", category: "Performance", description: "Weekly standout performers rewarded with stat boosts and extra PlayStyles", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "potm", name: "Player of the Month (POTM)", category: "Performance", description: "Official league award winners (Premier League, LaLiga, Serie A, etc.) via SBC", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "toty", name: "Team of the Year (TOTY)", category: "Performance", description: "Pinnacle calendar-year best XI with end-game 95+ ratings and 2x PlayStyle+", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "toty_honorable_mentions", name: "TOTY Honorable Mentions", category: "Performance", description: "Outstanding players narrowly missing the final TOTY XI", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "tots", name: "Team of the Season (TOTS)", category: "Performance", description: "Season-ending ultimate cards representing top league performers", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "tots_moments", name: "TOTS Moments", category: "Performance", description: "Celebrates individual match-winning heroics during the season", is_special: true, has_dynamic_image: true, upgradable: false }, // Icons & Heroes { id: "icon_base", name: "Base Icon", category: "Icons & Heroes", description: "Historic all-time legends with automatic chemistry contribution", is_special: true, has_dynamic_image: false, upgradable: false }, { id: "icon_campaign", name: "Campaign Icon (TOTY / Winter / Golazo)", category: "Icons & Heroes", description: "Thematic promo versions of footballing legends with boosted stats and double PlayStyle+", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "hero_base", name: "Base Hero", category: "Icons & Heroes", description: "Fan favorite legends tied to a specific league with +2 league chemistry", is_special: true, has_dynamic_image: false, upgradable: false }, { id: "hero_ucl", name: "UEFA Champions League Hero", category: "Icons & Heroes", description: "European knockout hero edition with upgraded stats", is_special: true, has_dynamic_image: true, upgradable: false }, // Live & Upgradable { id: "rttk", name: "Road to the Knockouts (RTTK)", category: "Live & Upgradable", description: "Dynamic cards upgrading based on European group stage wins and progression", is_special: true, has_dynamic_image: true, upgradable: true }, { id: "rttf", name: "Road to the Final (RTTF)", category: "Live & Upgradable", description: "Dynamic European knockout cards advancing to the UCL/UEL/UECL final", is_special: true, has_dynamic_image: true, upgradable: true }, { id: "fantasy_fc", name: "Fantasy FC", category: "Live & Upgradable", description: "Live items upgrading based on individual appearances, goals/clean sheets, and team results", is_special: true, has_dynamic_image: true, upgradable: true }, { id: "showdown", name: "Showdown", category: "Live & Upgradable", description: "Head-to-head match cards with +2 boost for winning team and +1 for draw", is_special: true, has_dynamic_image: true, upgradable: true }, // Campaign & Promos { id: "trailblazers", name: "Trailblazers", category: "Campaign & Promos", description: "Early season breakout stars receiving new PlayStyle+ based on form", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "centurions", name: "Centurions", category: "Campaign & Promos", description: "Honoring players with 100+ caps, goals, assists, or clean sheets", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "triple_threat", name: "Triple Threat", category: "Campaign & Promos", description: "Trios combining men's, women's, and hero players from the same club", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "radioactive", name: "Radioactive", category: "Campaign & Promos", description: "Players offering automatic +2 chemistry to club, league, and nation", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "ultimate_dynasties", name: "Ultimate Dynasties", category: "Campaign & Promos", description: "Cards celebrating family lineages in world football", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "winter_wildcards", name: "Winter Wildcards", category: "Campaign & Promos", description: "Festive promo featuring unexpected position changes and 5-star upgrades", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "future_stars", name: "Future Stars", category: "Campaign & Promos", description: "World's brightest under-23 prospects upgraded to their future prime potential", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "ultimate_birthday", name: "Ultimate Birthday", category: "Campaign & Promos", description: "Celebratory promo with double 5-star (Skill Moves & Weak Foot) upgrades", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "golazo", name: "Golazo", category: "Campaign & Promos", description: "Celebrates the greatest goalscorers in history with boosted shooting stats", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "shapeshifters", name: "Shapeshifters", category: "Campaign & Promos", description: "Radical position swaps (e.g. GK to ST, CB to CAM) completely transforming cards", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "end_of_an_era", name: "End of an Era (EOAE)", category: "Campaign & Promos", description: "Tribute cards honoring retiring legends or departing club icons", is_special: true, has_dynamic_image: true, upgradable: false }, { id: "flashback", name: "Flashback", category: "Campaign & Promos", description: "Rollback cards replicating a past peak season of a veteran player", is_special: true, has_dynamic_image: true, upgradable: false }, // Special { id: "evolution_in_progress", name: "Evolution (In Progress)", category: "Special", description: "Custom card undergoing in-game gameplay upgrades", is_special: true, has_dynamic_image: false, upgradable: true }, { id: "evolution_complete", name: "Evolution (Complete)", category: "Special", description: "Fully evolved custom card with upgraded stats, positions, and PlayStyles", is_special: true, has_dynamic_image: false, upgradable: false }, ]; // ========================================== // 5. MASTER TAXONOMY AGGREGATE // ========================================== export const FC27_TAXONOMY = { version: "27.1.0", season: "FC 27 (2026-2027)", game_engine: "Frostbite Next + EA SPORTS FC IQ 2.0", playstyles: FC27_PLAYSTYLES, positions: FC27_POSITIONS, accelerate_archetypes: FC27_ACCELERATE_ARCHETYPES, weak_foot: FC27_WEAK_FOOT, skill_moves: FC27_SKILL_MOVES, card_rarities: FC27_CARD_RARITIES, stats_dimensions: { outfield: [ { key: "pac", name: "Pace", sub_attributes: ["acceleration", "sprintSpeed"] }, { key: "sho", name: "Shooting", sub_attributes: ["positioning", "finishing", "shotPower", "longShots", "volleys", "penalties"] }, { key: "pas", name: "Passing", sub_attributes: ["vision", "crossing", "fkAccuracy", "shortPassing", "longPassing", "curve"] }, { key: "dri", name: "Dribbling", sub_attributes: ["agility", "balance", "reactions", "ballControl", "dribbling", "composure"] }, { key: "def", name: "Defending", sub_attributes: ["interceptions", "headingAccuracy", "defensiveAwareness", "standingTackle", "slidingTackle"] }, { key: "phy", name: "Physicality", sub_attributes: ["jumping", "stamina", "strength", "aggression"] }, ], goalkeeper: [ { key: "div", name: "Diving", sub_attributes: ["gkDiving"] }, { key: "han", name: "Handling", sub_attributes: ["gkHandling"] }, { key: "kic", name: "Kicking", sub_attributes: ["gkKicking"] }, { key: "ref", name: "Reflexes", sub_attributes: ["gkReflexes"] }, { key: "spd", name: "Speed", sub_attributes: ["gkSpeed"] }, { key: "pos", name: "Positioning", sub_attributes: ["gkPositioning"] }, ], }, }; // ========================================== // 8. EA OFFICIAL NUMERIC TAXONOMY MAPPINGS (FC 27) // ========================================== export const EA_POSITION_ID_MAP: Record = { 0: "GK", 2: "RWB", 3: "RB", 5: "CB", 7: "LB", 8: "LWB", 10: "CDM", 12: "RM", 14: "CM", 16: "LM", 18: "CAM", 21: "CF", 23: "RW", 25: "ST", 27: "LW", }; export const EA_PLAYSTYLE_ID_MAP: Record = { 0: { id: "finesse_shot", nameEn: "Finesse Shot", nameFr: "Tir enroulé" }, 1: { id: "chip_shot", nameEn: "Chip Shot", nameFr: "Ballon piqué" }, 2: { id: "power_shot", nameEn: "Power Shot", nameFr: "Tir puissant" }, 3: { id: "dead_ball", nameEn: "Dead Ball", nameFr: "Passeur décisif" }, 4: { id: "power_header", nameEn: "Power Header", nameFr: "Tête puissante" }, 5: { id: "incisive_pass", nameEn: "Incisive Pass", nameFr: "Passe incisive" }, 6: { id: "pinged_pass", nameEn: "Pinged Pass", nameFr: "Passe appuyée" }, 7: { id: "long_ball", nameEn: "Long Ball", nameFr: "Passe longue" }, 8: { id: "tiki_taka", nameEn: "Tiki Taka", nameFr: "Tiki-taka" }, 9: { id: "whipped_pass", nameEn: "Whipped Pass", nameFr: "Centre brossé" }, 10: { id: "jockey", nameEn: "Jockey", nameFr: "Contenir" }, 11: { id: "block", nameEn: "Block", nameFr: "Contre" }, 12: { id: "intercept", nameEn: "Intercept", nameFr: "Interception" }, 13: { id: "anticipate", nameEn: "Anticipate", nameFr: "Anticipation" }, 14: { id: "slide_tackle", nameEn: "Slide Tackle", nameFr: "Tacle glissé" }, 15: { id: "bruiser", nameEn: "Bruiser", nameFr: "Bousculeur" }, 16: { id: "technical", nameEn: "Technical", nameFr: "Technique" }, 17: { id: "rapid", nameEn: "Rapid", nameFr: "Rapide" }, 18: { id: "flair", nameEn: "Flair", nameFr: "Extérieur" }, 19: { id: "first_touch", nameEn: "First Touch", nameFr: "Premier contrôle" }, 20: { id: "trickster", nameEn: "Trickster", nameFr: "Magicien" }, 21: { id: "press_proven", nameEn: "Press Proven", nameFr: "Garde-fou" }, 22: { id: "quick_step", nameEn: "Quick Step", nameFr: "Foulée rapide" }, 23: { id: "relentless", nameEn: "Relentless", nameFr: "Infatigable" }, 24: { id: "trivela", nameEn: "Trivela", nameFr: "Extérieur du pied" }, 25: { id: "acrobatic", nameEn: "Acrobatic", nameFr: "Acrobatique" }, 26: { id: "long_throw", nameEn: "Long Throw", nameFr: "Longue touche" }, 27: { id: "aerial", nameEn: "Aerial", nameFr: "Duel aérien" }, 28: { id: "far_throw", nameEn: "Far Throw", nameFr: "Relance à la main" }, 29: { id: "footwork", nameEn: "Footwork", nameFr: "Jeu au pied" }, 30: { id: "cross_claimer", nameEn: "Cross Claimer", nameFr: "Sortie aérienne" }, 31: { id: "rush_out", nameEn: "Rush Out", nameFr: "Sortie rapide" }, 32: { id: "far_reach", nameEn: "Far Reach", nameFr: "Envergure" }, 33: { id: "deflector", nameEn: "Deflector", nameFr: "Déviation" }, 34: { id: "low_driven", nameEn: "Low Driven", nameFr: "Tir à ras de terre" }, 35: { id: "aerial_fortress", nameEn: "Aerial Fortress", nameFr: "Forteresse aérienne" }, 36: { id: "enforcer", nameEn: "Enforcer", nameFr: "Protecteur" }, 37: { id: "game_changer", nameEn: "Game Changer", nameFr: "Impact immédiat" }, 38: { id: "inventive", nameEn: "Inventive", nameFr: "Inventif" }, 39: { id: "precision_header", nameEn: "Precision Header", nameFr: "Tête précise" }, }; export const EA_BASE_ROLE_NAMES: Record = { 1: "GK Sweeper Keeper", 2: "GK Goalkeeper", 11: "CB Defender", 12: "CB Stopper", 13: "CB Ball Playing Defender", 48: "CB Wideback", 7: "LB Fullback", 8: "LB Falseback", 9: "LB Wingback", 10: "LB Attacking Wingback", 3: "RB Fullback", 4: "RB Falseback", 5: "RB Wingback", 6: "RB Attacking Wingback", 14: "CDM Holding", 15: "CDM Centre Half", 16: "CDM Deep Lying Playmaker", 17: "CDM Wide Half", 49: "CDM Box Crasher", 18: "CM Box to Box", 19: "CM Holding", 20: "CM Deep Lying Playmaker", 21: "CM Playmaker", 22: "CM Half Winger", 23: "LM Winger", 24: "LM Wide Midfielder", 25: "LM Wide Playmaker", 26: "LM Inside Forward", 27: "RM Winger", 28: "RM Wide Midfielder", 29: "RM Wide Playmaker", 30: "RM Inside Forward", 31: "CAM Playmaker", 32: "CAM Shadow Striker", 33: "CAM Half Winger", 34: "LW Winger", 35: "LW Inside Forward", 36: "LW Wide Playmaker", 37: "RW Winger", 38: "RW Inside Forward", 39: "RW Wide Playmaker", 40: "ST Advanced Forward", 41: "ST Poacher", 42: "ST Target Forward", 43: "ST False 9", }; export function decodeEaPlayStyleNames(ids: number[], isPlus: boolean = false): string[] { return ids .map((id) => { const entry = EA_PLAYSTYLE_ID_MAP[id]; if (!entry) return null; return isPlus ? `${entry.nameEn}+` : entry.nameEn; }) .filter((name): name is string => name !== null); } export function decodeEaRoleNames(roleIds: number[]): string[] { return roleIds .map((id) => { const isPlusPlus = id >= 100; const baseId = isPlusPlus ? id - 100 : id; const baseName = EA_BASE_ROLE_NAMES[baseId] || `Role ${baseId}`; return isPlusPlus ? `${baseName} ++` : `${baseName} +`; }) .filter(Boolean); } export function decodeEaPosition(positionId: number): string { return EA_POSITION_ID_MAP[positionId] || "CM"; }