/* French Stage 8: 8 chapters */
(() => {
const { mc, inp, ord } = window.QH;
const F = 'french';
const D = [['Complete every round', s => s.done]];
const fam = [['', 'mon père', 'my father', 'mohn pair'], ['', 'ma mère', 'my mother', 'mah mair'], ['', 'mon frère', 'my brother', 'mohn frair'], ['', 'ma sœur', 'my sister', 'mah sur'], ['', 'mon grand-père', 'my grandfather'], ['', 'ma grand-mère', 'my grandmother'], ['', 'mon chien', 'my dog'], ['', 'mon chat', 'my cat']];
const school = [['', 'les maths', 'maths'], ['', 'les sciences', 'science'], ['EN', "l'anglais", 'English'], ['', "l'art", 'art'], ['', "l'EPS", 'PE'], ['', 'la géographie', 'geography'], ['', "l'histoire", 'history'], ['', 'la musique', 'music']];
const hobbies = [['', 'jouer au foot', 'to play football'], ['', 'jouer de la guitare', 'to play the guitar'], ['', 'nager', 'to swim'], ['', 'lire', 'to read'], ['', 'jouer aux jeux vidéo', 'to play video games'], ['', 'faire du vélo', 'to go cycling'], ['', 'regarder la télé', 'to watch TV'], ['', 'danser', 'to dance']];
const town = [['', 'la banque', 'the bank'], ['', 'la gare', 'the train station'], ['', "l'hôpital", 'the hospital'], ['', 'le musée', 'the museum'], ['', 'le supermarché', 'the supermarket'], ['', 'la boulangerie', 'the bakery'], ['', 'la piscine', 'the swimming pool'], ['', 'la bibliothèque', 'the library']];
const weather = [['', 'il fait beau', "it's nice weather"], ['', 'il fait chaud', "it's hot"], ['', 'il fait froid', "it's cold"], ['', 'il pleut', "it's raining"], ['', 'il neige', "it's snowing"], ['', 'il y a du vent', "it's windy"], ['', 'il y a des nuages', "it's cloudy"], ['', 'il y a un orage', "there's a storm"]];
const food = [['', 'une pomme', 'an apple'], ['', 'du pain', 'bread'], ['', 'du fromage', 'cheese'], ['', 'du lait', 'milk'], ['', 'de la salade', 'salad'], ['', 'du poulet', 'chicken'], ['', 'des frites', 'chips / fries'], ['', "de l'eau", 'water']];
BOOK.push(
{ id: 'f1', subj: F, n: 1, title: 'Moi et ma famille', strand: 'Personal identity', codes: ['8FRt.01', '8FRg.01', '8FRg.12'],
  secs: [
    { n: '1.1', t: 'Ma famille: family words', w: 'frcards', cfg: { cards: fam }, intro: 'Flip each card to see and hear the French word. Mark the ones you know.', tasks: [['See all 8 cards', s => s.seen >= 8], ['Mark at least 5 as known', s => s.known >= 5]], extra: [['frlisten', { items: fam }, 'Listening game']],
      notice: [<>Use <b>mon</b> with masculine words (mon père) and <b>ma</b> with feminine words (ma mère).</>, <>For plurals use <b>mes</b>: mes parents, mes sœurs.</>, <>Before a vowel, use <b>mon</b> even for feminine words: mon amie.</>],
      check: [mc('"My sister" in French is…', ['mon sœur', 'ma sœur', 'mes sœur', 'ma frère'], 1, 'Sœur is feminine → ma.'), mc('"Mon père" means…', ['my mother', 'my father', 'my brother', 'my uncle'], 1, 'Père = father.')] },
    { n: '1.2', t: 'Être & avoir: describing people', w: 'frconj', cfg: { verbs: ['être', 'avoir'] }, intro: 'Tap each row to hear the verb. Then try the quick-fire quiz!', tasks: [['Look at both verbs', s => s.seen >= 2], ['Score 3 in the quiz', s => s.score >= 3]], extra: [['frbuild', { rounds: [{ en: 'I have a brother.', w: ["J'ai", 'un', 'frère.'] }, { en: 'My mother is tall.', w: ['Ma', 'mère', 'est', 'grande.'], tip: 'grande: feminine adjective' }, { en: 'I am twelve years old.', w: ["J'ai", 'douze', 'ans.'], tip: 'In French you HAVE an age: avoir + ans.' }, { en: 'We are friends.', w: ['Nous', 'sommes', 'amis.'] }] }, 'Build the sentence']],
      notice: [<><b>Être</b> (to be): je suis, tu es, il est, nous sommes, vous êtes, ils sont.</>, <><b>Avoir</b> (to have): j'ai, tu as, il a, nous avons, vous avez, ils ont.</>, <>Age uses <b>avoir</b>: <i>J'ai treize ans</i> = I am (have) thirteen years.</>],
      check: [inp('Complete: Nous ___ français. (être)', 'sommes', 'nous sommes'), mc('"I am 12 years old" is…', ['Je suis 12 ans', "J'ai 12 ans", 'Je a 12 ans', "J'es 12 ans"], 1, 'Age uses avoir.')] },
    { n: '1.3', t: 'Sounds of French', w: 'frsounds', intro: 'Tap each sound, then tap the words to hear them. Copy the sound out loud!', tasks: [['Hear words for 5 different sounds', s => s.sounds >= 5]], extra: [['speakset', { lang: 'french', set: 'family' }, 'Speaking coach: family']],
      notice: [<><b>ou</b> = "oo", <b>u</b> = "ee" with rounded lips, <b>oi</b> = "wa".</>, <><b>Nasal</b> sounds (on, an, in) come through the nose: don't say the n!</>, <>Final consonants are usually <b>silent</b>: petit, Paris.</>],
      check: [mc('How is "oi" in "moi" pronounced?', ['oy', 'wa', 'oh', 'ee'], 1, 'mwa'), mc('In "petit", the final t is…', ['loud', 'silent', 'like d', 'like s'], 1, 'Silent.')] },
  ],
  practice: [mc('"Ma grand-mère" means…', ['my grandmother', 'my mother', 'my aunt', 'my sister'], 0, 'grand-mère.'), inp('Complete: Il ___ un chien. (avoir)', 'a', 'il a'), mc('Which is correct?', ['mon mère', 'ma mère', 'mes mère', 'me mère'], 1, 'feminine.')],
  challenge: [mc('Translate: "We have two cats."', ['Nous sommes deux chats.', 'Nous avons deux chats.', 'Nous a deux chats.', 'Nous avez deux chats.'], 1, 'avoir → nous avons.'), mc('Why is it "mon amie" (my friend, female)?', ['It is a mistake', 'Amie starts with a vowel, so mon is used for sound', 'Amie is masculine', 'It is plural'], 1, 'Easier to say.'), inp('Write "my parents" in French.', 'mes parents', 'plural → mes.')],
  recap: { points: ['Family words with mon / ma / mes.', 'Être and avoir: the two most important verbs.', 'Age uses avoir. Watch for nasal and silent sounds.'], terms: [['être', 'to be'], ['avoir', 'to have'], ['mon / ma / mes', 'my (masc. / fem. / plural)']] } },

{ id: 'f2', subj: F, n: 2, title: 'Ma journée: daily routine', strand: 'Daily life', codes: ['8FRt.01', '8FRg.02'],
  secs: [
    { n: '2.1', t: 'Reflexive verbs', w: 'frroutine', intro: 'Slide through the day. Watch how the routine verbs change and hear the time in French.', tasks: [['See 6 different routine actions', s => s.seen >= 6]], extra: [['frbuild', { rounds: [{ en: 'I get up at seven o\'clock.', w: ['Je', 'me', 'lève', 'à', 'sept', 'heures.'] }, { en: 'I get dressed.', w: ['Je', "m'habille."] }, { en: 'He goes to bed at ten.', w: ['Il', 'se', 'couche', 'à', 'dix', 'heures.'] }, { en: 'We wake up early.', w: ['Nous', 'nous', 'réveillons', 'tôt.'] }] }, 'Build the routine']],
      notice: [<>Reflexive verbs have an extra pronoun: je <b>me</b> lève (I get myself up).</>, <>Pronouns: me, te, se, nous, vous, se. Before a vowel, me → <b>m'</b>.</>, <>Time: <b>à sept heures</b> (at 7), <b>et demie</b> (half past), <b>et quart</b> (quarter past).</>],
      check: [mc('"I wash" (myself) is…', ['je lave', 'je me lave', 'je se lave', 'me je lave'], 1, 'Reflexive pronoun me.'), inp('Complete: Tu ___ couches à 21h.', 'te', 'tu te couches')] },
    { n: '2.2', t: 'Telling the time', w: 'frlisten', cfg: { items: [['', 'une heure', '1:00'], ['', 'deux heures', '2:00'], ['', 'trois heures', '3:00'], ['', 'quatre heures', '4:00'], ['', 'cinq heures', '5:00'], ['', 'six heures', '6:00'], ['', 'sept heures', '7:00'], ['', 'huit heures', '8:00']] }, intro: 'Listen to the time in French and tap the right clock.', tasks: D, extra: [['speakset', { lang: 'french', set: 'family' }, 'Say your routine']],
      notice: [<><b>Il est … heures</b> = It is … o'clock.</>, <><b>et quart</b> = quarter past; <b>et demie</b> = half past; <b>moins le quart</b> = quarter to.</>, <><b>midi</b> = midday, <b>minuit</b> = midnight.</>],
      check: [mc('"Il est huit heures et demie" =', ['8:00', '8:15', '8:30', '8:45'], 2, 'et demie = half past.'), mc('"Midi" means…', ['midnight', 'midday', 'morning', 'evening'], 1, '12 pm.')] },
  ],
  practice: [inp('Complete: Elle ___ lève. (reflexive)', 'se', 'elle se lève'), mc('"Je m\'habille" means…', ['I get dressed', 'I eat', 'I wake up', 'I leave'], 0, 's\'habiller.'), mc('"et quart" means…', ['half past', 'quarter past', 'quarter to', 'o\'clock'], 1, 'quarter past.')],
  challenge: [mc('Translate: "We go to bed at half past nine."', ['Nous nous couchons à neuf heures et demie.', 'Nous couchons à neuf heures.', 'Nous se couchons à neuf et demie.', 'Je me couche à neuf heures.'], 0, 'nous nous + et demie.'), mc('Why is it "je m\'appelle" not "je me appelle"?', ['It is a mistake', 'me becomes m\' before a vowel', 'It is plural', 'It is past tense'], 1, 'Elision.'), inp('What is 7:15 in French? (sept heures …)', 'sept heures et quart', 'et quart.')],
  recap: { points: ['Reflexive verbs: me, te, se, nous, vous, se + verb.', 'Time: il est … heures (et quart / et demie / moins le quart).'], terms: [['se lever', 'to get up'], ['se coucher', 'to go to bed'], ['et demie', 'half past']] } },

{ id: 'f3', subj: F, n: 3, title: "À l'école: school & opinions", strand: 'School life', codes: ['8FRt.02', '8FRg.07', '8FRg.10'],
  secs: [
    { n: '3.1', t: 'School subjects', w: 'frcards', cfg: { cards: school }, intro: 'Flip the cards to learn the school subjects. Mark the ones you know.', tasks: [['See all 8 subjects', s => s.seen >= 8]], extra: [['frlisten', { items: school }, 'Listening game']],
      notice: [<>Subjects use <b>le / la / l' / les</b>: les maths, la musique, l'anglais.</>, <>Languages are written with a <b>small letter</b>: le français, l'anglais.</>, <>Ma matière préférée, c'est… = My favourite subject is…</>],
      check: [mc('"L\'histoire" is…', ['geography', 'history', 'science', 'art'], 1, 'histoire = history.'), mc('"Ma matière préférée" means…', ['my favourite subject', 'my teacher', 'my school', 'my class'], 0, 'favourite subject.')] },
    { n: '3.2', t: 'Giving & justifying opinions', w: 'fropinion', intro: 'Build opinions with reasons. Add "très" to make them stronger, then listen.', tasks: [['Make 5 different opinion sentences', s => s.made >= 5], ['Use "très"', s => s.intens]], extra: [['frbuild', { rounds: [{ en: 'I love art because it\'s fun.', w: ["J'adore", "l'art", 'parce', 'que', "c'est", 'amusant.'] }, { en: 'I hate maths because it\'s difficult.', w: ['Je', 'déteste', 'les', 'maths', 'parce', 'que', "c'est", 'difficile.'] }, { en: "I don't like history.", w: ['Je', "n'aime", 'pas', "l'histoire."], tip: 'ne … pas goes around the verb' }] }, 'Build opinions']],
      notice: [<>Opinions: <b>j'adore</b>, <b>j'aime</b>, <b>je n'aime pas</b>, <b>je déteste</b>.</>, <>Justify with <b>parce que c'est</b> + adjective.</>, <>Strengthen with <b>très</b> (very) or <b>assez</b> (quite).</>],
      check: [inp('"Because" in French is ___ ___.', 'parce que', 'parce que'), mc('"Je n\'aime pas" means…', ['I love', 'I like', "I don't like", 'I hate'], 2, 'ne … pas.')] },
    { n: '3.3', t: 'Comparatives', w: 'frcompare', intro: 'Compare animals using plus / moins / aussi … que, then find the biggest!', tasks: [['Use plus, moins and aussi', s => s.kinds >= 3], ['Make a superlative', (s) => s.seen && s.seen.includes('sup')]],
      notice: [<><b>plus … que</b> = more … than; <b>moins … que</b> = less … than; <b>aussi … que</b> = as … as.</>, <>Superlative: <b>le / la plus</b> + adjective = the most…</>, <>The adjective still <b>agrees</b>: la girafe est plus grand<b>e</b>.</>],
      check: [mc('"Plus grand que" means…', ['smaller than', 'bigger than', 'as big as', 'the biggest'], 1, 'more big than.'), mc('"Les sciences sont ___ intéressantes ___ les maths." (as … as)', ['plus … que', 'aussi … que', 'moins … que', 'très … que'], 1, 'aussi … que.')] },
  ],
  practice: [mc('"J\'adore la musique parce que c\'est ___." (positive)', ['nul', 'ennuyeux', 'génial', 'difficile'], 2, 'génial = great.'), mc('"Moins" means…', ['more', 'less', 'very', 'as'], 1, 'less.'), inp('Translate "very" into French.', 'très', 'très.')],
  challenge: [mc('Translate: "Science is more interesting than history."', ["Les sciences sont plus intéressantes que l'histoire.", "Les sciences sont moins intéressant que l'histoire.", "La science est aussi que l'histoire.", 'Les sciences intéressant.'], 0, 'plus … que + agreement.'), mc('Which opinion is justified?', ["J'aime l'art.", "J'aime l'art parce que c'est créatif.", "L'art.", "C'est l'art."], 1, 'parce que + reason.'), inp('"the most interesting" (masc.) in French: le plus ___', 'intéressant', 'le plus intéressant.')],
  recap: { points: ["Opinions: j'adore / j'aime / je n'aime pas / je déteste.", "Justify: parce que c'est + adjective.", 'Compare: plus / moins / aussi … que; superlative le / la plus.'], terms: [['parce que', 'because'], ['plus … que', 'more … than'], ['matière', 'school subject']] } },

{ id: 'f4', subj: F, n: 4, title: 'Mon temps libre: free time', strand: 'Free time', codes: ['8FRt.03', '8FRg.01', '8FRg.09'],
  secs: [
    { n: '4.1', t: 'Hobbies', w: 'frcards', cfg: { cards: hobbies }, intro: 'Flip the cards to learn free-time activities.', tasks: [['See all 8 hobbies', s => s.seen >= 8]], extra: [['frlisten', { items: hobbies }, 'Listening game']],
      notice: [<><b>jouer au</b> + sport (jouer au foot); <b>jouer de la</b> + instrument (jouer de la guitare).</>, <><b>faire du / de la</b> for many activities: faire du vélo.</>, <>Je joue, je fais, je regarde… to say what you do.</>],
      check: [mc('"I play the piano" is…', ['je joue au piano', 'je joue du piano', 'je fais piano', 'je piano'], 1, 'instrument → jouer de.'), mc('"Nager" means…', ['to run', 'to swim', 'to read', 'to dance'], 1, 'swim.')] },
    { n: '4.2', t: 'Present tense: -er, -ir, -re verbs', w: 'frconj', cfg: { verbs: ['parler', 'finir', 'vendre', 'faire'] }, intro: 'See how regular verbs follow a pattern. Then test yourself in the quiz!', tasks: [['Look at 3 verb types', s => s.seen >= 3], ['Score 4 in the quiz', s => s.score >= 4]],
      notice: [<>Take off -er / -ir / -re to find the <b>stem</b>, then add the ending.</>, <>-er: e, es, e, ons, ez, ent. -ir: is, is, it, issons, issez, issent. -re: s, s, –, ons, ez, ent.</>, <><b>Faire</b> is irregular: je fais, tu fais, il fait, nous faisons, vous faites, ils font.</>],
      check: [inp('Conjugate: nous (parler)', 'parlons', 'stem parl + ons.'), inp('Conjugate: il (finir)', 'finit', 'stem fin + it.')] },
    { n: '4.3', t: 'Modal verbs + infinitive', w: 'frmodal', intro: 'Combine pouvoir, vouloir and devoir with an activity. Try the negative too!', tasks: [['Use all 3 modal verbs', s => s.modals >= 3], ['Make a negative sentence', s => s.neg]],
      notice: [<><b>pouvoir</b> = can, <b>vouloir</b> = to want, <b>devoir</b> = must.</>, <>After a modal, the next verb stays in the <b>infinitive</b>: je peux <b>nager</b>.</>, <>Negative: je <b>ne</b> peux <b>pas</b> nager.</>],
      check: [mc('"I want to swim" is…', ['je veux nage', 'je veux nager', 'je voulez nager', 'je nager veux'], 1, 'modal + infinitive.'), mc('"Tu dois" means…', ['you can', 'you want', 'you must', 'you are'], 2, 'devoir = must.')] },
  ],
  practice: [inp('Conjugate: vous (finir)', 'finissez', 'fin + issez.'), mc('"Elle peut danser" means…', ['She wants to dance', 'She can dance', 'She must dance', 'She dances'], 1, 'pouvoir.'), mc('"Faire du vélo" =', ['to go cycling', 'to swim', 'to read', 'to sing'], 0, 'cycling.')],
  challenge: [mc('Translate: "We can\'t go to the cinema."', ['Nous ne pouvons pas aller au cinéma.', 'Nous pouvons ne pas aller cinéma.', 'Nous ne peut pas aller au cinéma.', 'Nous allons pas cinéma.'], 0, 'ne … pas + nous pouvons + infinitive.'), inp('Conjugate: ils (vendre)', 'vendent', 'vend + ent.'), mc('Which is correct?', ['je joue de foot', 'je joue au foot', 'je fais au foot', 'je joue du foot'], 1, 'sport → jouer au.')],
  recap: { points: ['jouer au (sport), jouer de (instrument), faire du (activity).', 'Regular -er / -ir / -re patterns.', 'Modal + infinitive; ne … pas around the modal.'], terms: [['pouvoir', 'can'], ['vouloir', 'to want'], ['devoir', 'must']] } },

{ id: 'f5', subj: F, n: 5, title: 'En ville: town & shopping', strand: 'Town', codes: ['8FRt.04', '8FRg.06', '8FRg.11'],
  secs: [
    { n: '5.1', t: 'Places in town', w: 'frcards', cfg: { cards: town }, intro: 'Flip the cards to learn places in town.', tasks: [['See all 8 places', s => s.seen >= 8]], extra: [['frlisten', { items: town }, 'Listening game']],
      notice: [<>Il y a… = There is / there are…</>, <><b>À gauche</b> = left, <b>à droite</b> = right, <b>tout droit</b> = straight on.</>, <>Où est… ? = Where is… ?</>],
      check: [mc('"La gare" is…', ['the bank', 'the station', 'the museum', 'the park'], 1, 'station.'), mc('"Tournez à gauche" means…', ['turn right', 'turn left', 'go straight on', 'stop'], 1, 'left.')] },
    { n: '5.2', t: 'à / de + the article', w: 'frarticle', intro: 'See how à and de combine with le, la, l\' and les. Some squash together!', tasks: [['Try 6 different combinations', s => s.seen >= 6], ['Make 3 contractions (au / aux / du / des)', s => s.contractions >= 3]],
      notice: [<>à + le = <b>au</b>; à + les = <b>aux</b>. (à la and à l' don't change.)</>, <>de + le = <b>du</b>; de + les = <b>des</b>.</>, <>Je vais <b>au</b> parc. Je reviens <b>du</b> marché.</>],
      check: [mc('"I go to the cinema (le cinéma)" =', ['je vais à le cinéma', 'je vais au cinéma', 'je vais du cinéma', 'je vais aux cinéma'], 1, 'à + le = au.'), mc('à + les = ?', ['à les', 'au', 'aux', 'des'], 2, 'aux.')] },
    { n: '5.3', t: 'At the café', w: 'frcafe', cfg: { scene: ' Au café', npc: 'Serveur:', steps: [
      { npc: 'Bonjour ! Vous désirez ?', npcE: 'Hello! What would you like?', hint: 'Order a hot chocolate politely', opts: ["Je voudrais un chocolat chaud, s'il vous plaît.", 'Je suis un chocolat chaud.', 'Donne chocolat !'] },
      { npc: 'Et avec ça ?', npcE: 'Anything else?', hint: 'Ask for a croissant', opts: ['Un croissant, aussi.', 'Je mange un croissant hier.', 'Croissant oui non.'] },
      { npc: 'Voilà. Ça fait cinq euros.', npcE: "Here you go. That's five euros.", hint: 'Thank the waiter', opts: ['Merci beaucoup !', 'Au revoir, cinq.', 'Je déteste les euros.'] },
      { npc: 'Merci ! Bonne journée !', npcE: 'Thanks! Have a good day!', hint: 'Say goodbye', opts: ['Au revoir, bonne journée !', 'Bonjour !', "Je m'appelle café."] } ] }, intro: 'Have a real conversation at a French café. Choose the right replies!', tasks: [['Complete the conversation', s => s.done]], extra: [['speakset', { lang: 'french', set: 'town' }, 'Speaking coach: town']],
      notice: [<><b>Je voudrais…</b> = I would like… (polite).</>, <><b>S'il vous plaît</b> = please (polite); <b>merci</b> = thank you.</>, <><b>C'est combien ?</b> / <b>Ça fait combien ?</b> = How much is it?</>],
      check: [mc('The polite way to order is…', ['Je veux', 'Je voudrais', 'Donne-moi', 'Je suis'], 1, 'Je voudrais.'), mc('"C\'est combien ?" means…', ['Where is it?', 'How much is it?', 'What is it?', 'Who is it?'], 1, 'Price.')] },
  ],
  practice: [mc('"La boulangerie" is…', ['the bakery', 'the library', 'the bank', 'the station'], 0, 'bakery.'), mc('de + le = ?', ['de le', 'du', 'des', 'au'], 1, 'du.'), mc('"Tout droit" means…', ['left', 'right', 'straight on', 'behind'], 2, 'straight on.')],
  challenge: [mc('Translate: "I\'m going to the shops (les magasins)."', ['Je vais à les magasins.', 'Je vais aux magasins.', 'Je vais au magasins.', 'Je vais des magasins.'], 1, 'à + les = aux.'), mc('Most polite way to ask for water:', ["De l'eau !", "Je voudrais de l'eau, s'il vous plaît.", "Je veux l'eau.", 'Eau.'], 1, 'Polite.'), inp('Translate "Where is the station?" (Où est …)', 'où est la gare', 'Où est la gare ?')],
  recap: { points: ['Places in town and directions.', 'à + le = au, à + les = aux; de + le = du, de + les = des.', 'Polite café language: je voudrais, s\'il vous plaît, merci.'], terms: [['je voudrais', 'I would like'], ['au / aux', 'to the (m. / pl.)'], ['à droite', 'on the right']] } },

{ id: 'f6', subj: F, n: 6, title: 'Les vacances: holidays & weather', strand: 'Holidays', codes: ['8FRt.05', '8FRg.03', '8FRg.04'],
  secs: [
    { n: '6.1', t: 'Weather', w: 'frcards', cfg: { cards: weather }, intro: 'Flip the cards to learn weather phrases.', tasks: [['See all 8 weather cards', s => s.seen >= 8]], extra: [['frlisten', { items: weather }, 'Listening game']],
      notice: [<><b>Il fait</b> + beau / chaud / froid.</>, <><b>Il pleut</b> (it rains), <b>il neige</b> (it snows).</>, <><b>Il y a</b> + du vent / des nuages / un orage.</>],
      check: [mc('"Il pleut" means…', ['it is sunny', 'it is raining', 'it is snowing', 'it is windy'], 1, 'rain.'), mc('"It\'s cold" =', ['il fait chaud', 'il fait froid', 'il neige', 'il pleut'], 1, 'froid.')] },
    { n: '6.2', t: 'Past, present & future', w: 'frtimeline', intro: 'Move along the timeline: yesterday, today, tomorrow. Watch how the verb changes.', tasks: [['Use all three tenses', s => s.tenses >= 3], ['Try 6 different combinations', s => s.seen >= 6]], extra: [['frbuild', { rounds: [{ en: 'Yesterday I played football.', w: ['Hier,', "j'ai", 'joué', 'au', 'foot.'] }, { en: 'Tomorrow I am going to swim.', w: ['Demain,', 'je', 'vais', 'nager.'] }, { en: 'Last summer I went to France.', w: ["L'été", 'dernier,', 'je', 'suis', 'allé', 'en', 'France.'], tip: 'aller uses être in the past' }] }, 'Build time sentences'], ['speakset', { lang: 'french', set: 'future' }, 'Speaking coach: past & future']],
      notice: [<><b>Passé composé</b> = avoir / être + past participle: j'ai joué, je suis allé(e).</>, <><b>Futur proche</b> = aller + infinitive: je vais jouer.</>, <>Verbs of movement (aller, arriver, partir…) use <b>être</b> in the past.</>],
      check: [mc('"Je vais manger" means…', ['I ate', 'I eat', 'I am going to eat', 'I want to eat'], 2, 'Futur proche.'), mc('Which uses ÊTRE in the passé composé?', ['manger', 'jouer', 'aller', 'regarder'], 2, 'Movement verb.')] },
  ],
  practice: [inp('Past participle of "manger"', 'mangé', '-er → é.'), mc('"Hier" means…', ['today', 'yesterday', 'tomorrow', 'now'], 1, 'yesterday.'), mc('"Il y a du vent" =', ["it's windy", "it's cloudy", "it's hot", "it's snowing"], 0, 'wind.')],
  challenge: [mc('Translate: "Last year we went to Paris."', ["L'année dernière, nous sommes allés à Paris.", "L'année dernière, nous avons allé à Paris.", 'Nous allons à Paris.', 'Nous allé Paris.'], 0, 'aller + être + agreement.'), mc('Which sentence is in the futur proche?', ["J'ai visité le musée.", 'Je visite le musée.', 'Je vais visiter le musée.', 'Je visitais le musée.'], 2, 'aller + infinitive.'), inp('Complete: Demain, je ___ jouer au tennis.', 'vais', 'aller → je vais.')],
  recap: { points: ['Weather: il fait…, il pleut, il neige, il y a…', 'Passé composé: avoir / être + past participle.', 'Futur proche: aller + infinitive.'], terms: [['hier', 'yesterday'], ['demain', 'tomorrow'], ['passé composé', 'the perfect (past) tense']] } },

{ id: 'f7', subj: F, n: 7, title: 'Manger et bouger: food & health', strand: 'Food & health', codes: ['8FRt.06', '8FRg.05', '8FRg.06'],
  secs: [
    { n: '7.1', t: 'Food & drink', w: 'frcards', cfg: { cards: food }, intro: 'Flip the cards to learn food words and the partitive (some).', tasks: [['See all 8 foods', s => s.seen >= 8]], extra: [['frlisten', { items: food }, 'Listening game']],
      notice: [<><b>du / de la / de l' / des</b> = some: du pain, de la salade, des frites.</>, <>After a negative, use <b>de</b>: je ne mange pas <b>de</b> viande.</>, <>Je mange / je bois… = I eat / I drink…</>],
      check: [mc('"Some cheese" (le fromage) =', ['de la fromage', 'du fromage', 'des fromage', 'de fromage'], 1, 'masculine → du.'), mc('"I don\'t eat meat" =', ['Je ne mange pas de viande.', 'Je ne mange pas de la viande.', 'Je mange pas viande.', 'Je ne viande.'], 0, 'Negative → de.')] },
    { n: '7.2', t: 'Adjective agreement', w: 'fragree', intro: 'Change the noun and adjective. Watch the ending change to agree, and see where it goes!', tasks: [['Try all 4 masculine/feminine × singular/plural forms', s => s.combos >= 4], ['Use an adjective before AND after the noun', s => s.before]],
      notice: [<>Adjectives <b>agree</b>: add <b>-e</b> for feminine, <b>-s</b> for plural.</>, <>Most go <b>after</b> the noun: une voiture <b>rouge</b>.</>, <><b>BAGS</b> adjectives go before: Beauty, Age, Goodness, Size (beau, petit, grand, bon).</>],
      check: [mc('"A small house" (la maison) =', ['une maison petit', 'une petite maison', 'une petit maison', 'une maison petits'], 1, 'BAGS → before, + e.'), mc('"Green cars" (les voitures, f.) =', ['les voitures vert', 'les voitures vertes', 'les vertes voitures', 'les voitures verts'], 1, 'fem. plural + es.')] },
  ],
  practice: [mc('"De l\'eau" means…', ['some water', 'the water', 'no water', 'a water'], 0, 'partitive.'), inp('Feminine of "grand"', 'grande', '+ e.'), mc('Where does "rouge" go?', ['before the noun', 'after the noun'], 1, 'Colours go after.')],
  challenge: [mc('Translate: "I eat some salad and some chips."', ['Je mange de la salade et des frites.', 'Je mange du salade et de frites.', 'Je mange la salade et les frites.', 'Je mange salade et frites.'], 0, 'de la + des.'), mc('Which is correct?', ['un chat noire', 'un noir chat', 'un chat noir', 'une chat noir'], 2, 'masc., after.'), mc('"Les belles maisons": why "belles"?', ['It\'s a mistake', 'beau → belle (fem.) + s (plural), and it is a BAGS adjective', 'It\'s masculine', 'It\'s a verb'], 1, 'Irregular agreement.')],
  recap: { points: ['Partitive: du / de la / de l\' / des; de after a negative.', 'Adjectives agree: +e (fem.), +s (pl.).', 'Most adjectives go after the noun; BAGS go before.'], terms: [['du / de la', 'some'], ['accord', 'agreement'], ['BAGS', 'Beauty, Age, Goodness, Size']] } },

{ id: 'f8', subj: F, n: 8, title: 'Le monde francophone', strand: 'Francophone world', codes: ['8FRt.07', '8FRg.10'],
  secs: [
    { n: '8.1', t: 'French around the world', w: 'frworld', intro: 'Tap the dots to visit French-speaking countries and learn a fact about each one.', tasks: [['Visit 6 countries', s => s.seen >= 6], ['Visit all 10', s => s.seen >= 10]],
      notice: [<>About <b>320 million</b> people speak French on <b>5 continents</b>.</>, <>French is spoken in Europe, Africa, the Americas and the Pacific.</>, <>Countries: <b>en</b> + feminine (en France), <b>au</b> + masculine (au Canada).</>],
      check: [mc('In which country is Québec?', ['France', 'Belgium', 'Canada', 'Senegal'], 2, 'Canada.'), mc('"I live in France" =', ["J'habite au France", "J'habite en France", "J'habite à France", "J'habite France"], 1, 'en + fem. country.')] },
    { n: '8.2', t: 'Longer sentences with connectives', w: 'frconnect', intro: 'Stretch a simple sentence into a super-sentence by adding connectives.', tasks: [['Build the 5-part super-sentence', s => s.len >= 5]], extra: [['sort', { bins: ['Connective', 'Not a connective'], items: [['mais', 0], ['parce que', 0], ['donc', 0], ['chien', 1], ['cependant', 0], ['grand', 1], ['et', 0], ['manger', 1]] }, 'Spot the connectives'], ['speakset', { lang: 'french', set: 'school' }, 'Speaking coach']],
      notice: [<>Connectives: <b>et</b> (and), <b>mais</b> (but), <b>parce que</b> (because), <b>donc</b> (so).</>, <>More advanced: <b>cependant</b> (however), <b>quand</b> (when), <b>où</b> (where).</>, <>Longer sentences with opinions and reasons score <b>higher</b>!</>],
      check: [mc('"Mais" means…', ['and', 'but', 'so', 'because'], 1, 'but.'), mc('"Donc" means…', ['so / therefore', 'but', 'when', 'and'], 0, 'so.')] },
  ],
  practice: [mc('"Cependant" =', ['however', 'because', 'and', 'when'], 0, 'however.'), mc('French is spoken in Senegal.', ['True', 'False'], 0, 'West Africa.'), mc('"Au Canada" uses au because Canada is…', ['feminine', 'masculine', 'plural', 'a city'], 1, 'masculine country.')],
  challenge: [mc('Translate: "I like French but it\'s difficult, so I practise."', ["J'aime le français mais c'est difficile, donc je pratique.", "J'aime français et difficile.", 'Je pratique le français.', "J'aime le français parce que facile."], 0, 'mais + donc.'), mc('Which is the longest, most developed sentence?', ["J'aime le sport.", "J'aime le sport parce que c'est amusant.", "J'aime le sport parce que c'est amusant, mais je n'aime pas le tennis donc je joue au foot.", 'Le sport.'], 2, 'Connectives + opinions.'), inp('How do you say "in Belgium" (la Belgique)?', 'en belgique', 'en + fem. country.')],
  recap: { points: ['French is spoken by about 320 million people on 5 continents.', 'en (fem. country), au (masc.), aux (pl.).', 'Use connectives to build longer, better sentences.'], terms: [['francophone', 'French-speaking'], ['mais / donc', 'but / so'], ['cependant', 'however']] } },
);
})();
