File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/canc3C03-PEP3ctPq.js.map
{"version":3,"file":"canc3C03-PEP3ctPq.js","sources":["../../src/exercices/can/c3/canc3C03.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport { miseEnEvidence } from '../../../lib/outils/embellissements'\nimport Exercice from '../../deprecatedExercice.js'\nimport { randint } from '../../../modules/outils.js'\nexport const titre = 'Trouver le nombre dans une table de multiplication '\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\n\n/**\n * Modèle d'exercice très simple pour la course aux nombres\n * @author Gilles Mora\n * Référence\n * Date de publication\n*/\nexport const uuid = 'bdb11'\nexport const ref = 'canc3C03'\nexport default function TableMultiplicationTrous () {\n Exercice.call(this) // Héritage de la classe Exercice()\n this.typeExercice = 'simple' // Cette ligne est très importante pour faire faire un exercice simple !\n this.nbQuestions = 1\n this.tailleDiaporama = 2\n this.formatChampTexte = 'largeur15 inline'\n // Dans un exercice simple, ne pas mettre de this.listeQuestions = [] ni de this.consigne\n this.formatChampTexte = 'largeur15 inline'\n this.nouvelleVersion = function () {\n const a = randint(2, 9)\n const b = randint(4, 10)\n const c = a * b\n if (choice([true, false])) {\n this.question = `Compléter : <br>$${a}\\\\times .... =${c}$`\n this.correction = `$${a}\\\\times ${miseEnEvidence(b)} =${c}$`\n this.canEnonce = 'Compléter.'\n this.canReponseACompleter = `$${a}\\\\times .... =${c}$`\n } else {\n this.question = `Compléter :<br> $ .... \\\\times ${a}=${c}$`\n this.correction = `$ ${miseEnEvidence(b)} \\\\times ${a}=${c}$`\n this.canEnonce = 'Compléter.'\n this.canReponseACompleter = `$ .... \\\\times ${a}=${c}$`\n }\n this.reponse = b\n }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","uuid","ref","TableMultiplicationTrous","Exercice","a","randint","b","c","choice","miseEnEvidence"],"mappings":"6DAIY,MAACA,EAAQ,sDACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SAQVC,EAAO,QACPC,EAAM,WACJ,SAASC,GAA4B,CAClDC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,iBAAmB,mBAExB,KAAK,iBAAmB,mBACxB,KAAK,gBAAkB,UAAY,CACjC,MAAMC,EAAIC,EAAQ,EAAG,CAAC,EAChBC,EAAID,EAAQ,EAAG,EAAE,EACjBE,EAAIH,EAAIE,EACVE,EAAO,CAAC,GAAM,EAAK,CAAC,GACtB,KAAK,SAAW,oBAAoBJ,CAAC,iBAAiBG,CAAC,IACvD,KAAK,WAAa,IAAIH,CAAC,WAAWK,EAAeH,CAAC,CAAC,KAAKC,CAAC,IACzD,KAAK,UAAY,aACjB,KAAK,qBAAuB,IAAIH,CAAC,iBAAiBG,CAAC,MAEnD,KAAK,SAAW,kCAAkCH,CAAC,IAAIG,CAAC,IACxD,KAAK,WAAa,KAAKE,EAAeH,CAAC,CAAC,YAAYF,CAAC,IAAIG,CAAC,IAC1D,KAAK,UAAY,aACjB,KAAK,qBAAuB,kBAAkBH,CAAC,IAAIG,CAAC,KAEtD,KAAK,QAAUD,CAChB,CACH"}