HEX
Server: Apache
System: Linux vps.mmtprep.com 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Thu Aug 10 13:51:50 EDT 2023 x86_64
User: mmtprep (1001)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/canc3C14-TpDHRIjg.js.map
{"version":3,"file":"canc3C14-TpDHRIjg.js","sources":["../../src/exercices/can/c3/canc3C14.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport { miseEnEvidence } from '../../../lib/outils/embellissements'\nimport Exercice from '../../Exercice.js'\nimport { randint } from '../../../modules/outils.js'\nexport const titre = 'Connaître les tables de multiplication (avec des divisions)'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\nexport const amcType = 'AMCNum'\nexport const dateDePublication = '24/01/2023'\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*/\n\nexport const uuid = 'd61d9'\nexport const ref = 'canc3C14'\nexport default function TableDivisions () {\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\n  this.nouvelleVersion = function () {\n    switch (choice([1, 1, 2])) {\n      case 1:\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>$${c}\\\\div .... =${b}$`\n            this.correction = `$${c}\\\\div ${miseEnEvidence(a)} =${b}$`\n            this.canEnonce = 'Compléter.'\n            this.canReponseACompleter = `$${c}\\\\div .... =${b}$`\n            this.reponse = a\n          } else {\n            this.question = `Compléter :<br> $ .... \\\\div ${a}=${b}$`\n            this.correction = `$ ${miseEnEvidence(c)} \\\\div ${a}=${b}$`\n            this.canEnonce = 'Compléter.'\n            this.canReponseACompleter = `$ .... \\\\div ${a}=${b}$`\n            this.reponse = c\n          }\n        }\n        break\n\n      case 2:\n        { const a = randint(3, 9)\n          const b = randint(5, 9)\n          const c = a * b\n          this.reponse = b\n          this.question = `Calculer $${c} \\\\div ${a}$.`\n          this.correction = `$${c} \\\\div ${a}=${miseEnEvidence(b)}$`\n          this.canEnonce = this.question\n          this.canReponseACompleter = ''\n        }\n        break\n    }\n  }\n}\n"],"names":["titre","interactifReady","interactifType","amcReady","amcType","dateDePublication","uuid","ref","TableDivisions","Exercice","choice","a","randint","b","c","miseEnEvidence"],"mappings":"6DAIY,MAACA,EAAQ,8DACRC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GACXC,EAAU,SACVC,EAAoB,aAQpBC,EAAO,QACPC,EAAM,WACJ,SAASC,GAAkB,CACxCC,EAAS,KAAK,IAAI,EAClB,KAAK,aAAe,SACpB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,iBAAmB,mBAExB,KAAK,iBAAmB,mBAExB,KAAK,gBAAkB,UAAY,CACjC,OAAQC,EAAO,CAAC,EAAG,EAAG,CAAC,CAAC,EAAC,CACvB,IAAK,GACH,CAAE,MAAMC,EAAIC,EAAQ,EAAG,CAAC,EAChBC,EAAID,EAAQ,EAAG,EAAE,EACjBE,EAAIH,EAAIE,EACVH,EAAO,CAAC,GAAM,EAAK,CAAC,GACtB,KAAK,SAAW,oBAAoBI,CAAC,eAAeD,CAAC,IACrD,KAAK,WAAa,IAAIC,CAAC,SAASC,EAAeJ,CAAC,CAAC,KAAKE,CAAC,IACvD,KAAK,UAAY,aACjB,KAAK,qBAAuB,IAAIC,CAAC,eAAeD,CAAC,IACjD,KAAK,QAAUF,IAEf,KAAK,SAAW,gCAAgCA,CAAC,IAAIE,CAAC,IACtD,KAAK,WAAa,KAAKE,EAAeD,CAAC,CAAC,UAAUH,CAAC,IAAIE,CAAC,IAC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