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/P003-ZnGrDycm.js.map
{"version":3,"file":"P003-ZnGrDycm.js","sources":["../../src/exercices/profs/P003.js"],"sourcesContent":["import { droiteGraduee } from '../../lib/2d/reperes.js'\nimport Exercice from '../Exercice.js'\nimport { mathalea2d } from '../../modules/2dGeneralites.js'\nimport { gestionnaireFormulaireTexte, listeQuestionsToContenuSansNumero } from '../../modules/outils.js'\n\nexport const titre = 'Drawing graduated lines'\nexport const ref = 'P003'\nexport const uuid = 'ad5f5'\n\n/**\n * Pour imprimer des repères vierges pour les élèves.\n * @author Jean-Claude Lhote\n * référence : P003\n * publié le ?/2/2020\n * Réécrit le 14/08/2021 avec mathalea2d\n */\nexport default function FeuilleDAxesGradues () {\n  Exercice.call(this) // Héritage de la classe Exercice()\n  this.titre = titre\n  this.consigne = ''\n  this.nbQuestions = 1\n  this.nbQuestionsModifiable = true\n  this.nbCols = 1\n  this.nbColsCorr = 1\n  this.spacing = 3\n  this.sup = 10\n  this.consigneModifiable = false\n  this.nbQuestions = 4\n  // this.nbQuestionsModifiable = false\n  this.nbColsModifiable = false\n  this.nbColsCorrModifiable = false\n  this.spacingModifiable = false\n  this.spacingCorrModifiable = false\n  this.listePackages = ['tkz-euclide']\n  this.listeAvecNumerotation = false\n\n  this.nouvelleVersion = function () {\n    const pas = gestionnaireFormulaireTexte({ saisie: this.sup, min: 1, max: 10, defaut: 10, melange: 11, nbQuestions: this.nbQuestions, shuffle: false })\n    this.listeQuestions = []\n    this.listeCorrections = []\n    this.contenu = '' // Liste de questions\n    this.contenuCorrection = '' // Liste de questions corrigées\n\n    for (let i = 0, texte; i < this.nbQuestions; i++) {\n      texte = mathalea2d({ xmin: -0.5, ymin: -1, xmax: 20, ymax: 1 },\n        droiteGraduee({\n          Unite: 4,\n          Min: 0,\n          Max: 4.7,\n          x: 0,\n          y: 0,\n          thickSecDist: 1 / pas[i],\n          thickSec: true,\n          labelsPrincipaux: false,\n          thickDistance: 1\n        }))\n      this.listeQuestions.push(texte)\n    }\n    listeQuestionsToContenuSansNumero(this)\n  }\n  this.besoinFormulaireTexte = ['Number of shares', '1: unit\\n2: halves\\n3: thirds\\n4: quarters\\n5: fifths\\n6: sixths\\n7: sevenths\\n8: eighths\\n9: ninths\\n10: tenths\\n11: mixture']\n}\n"],"names":["titre","ref","uuid","FeuilleDAxesGradues","Exercice","pas","gestionnaireFormulaireTexte","i","texte","mathalea2d","droiteGraduee","listeQuestionsToContenuSansNumero"],"mappings":"oGAKY,MAACA,EAAQ,0BACRC,EAAM,OACNC,EAAO,QASL,SAASC,GAAuB,CAC7CC,EAAS,KAAK,IAAI,EAClB,KAAK,MAAQJ,EACb,KAAK,SAAW,GAChB,KAAK,YAAc,EACnB,KAAK,sBAAwB,GAC7B,KAAK,OAAS,EACd,KAAK,WAAa,EAClB,KAAK,QAAU,EACf,KAAK,IAAM,GACX,KAAK,mBAAqB,GAC1B,KAAK,YAAc,EAEnB,KAAK,iBAAmB,GACxB,KAAK,qBAAuB,GAC5B,KAAK,kBAAoB,GACzB,KAAK,sBAAwB,GAC7B,KAAK,cAAgB,CAAC,aAAa,EACnC,KAAK,sBAAwB,GAE7B,KAAK,gBAAkB,UAAY,CACjC,MAAMK,EAAMC,EAA4B,CAAE,OAAQ,KAAK,IAAK,IAAK,EAAG,IAAK,GAAI,OAAQ,GAAI,QAAS,GAAI,YAAa,KAAK,YAAa,QAAS,GAAO,EACrJ,KAAK,eAAiB,CAAE,EACxB,KAAK,iBAAmB,CAAE,EAC1B,KAAK,QAAU,GACf,KAAK,kBAAoB,GAEzB,QAASC,EAAI,EAAGC,EAAOD,EAAI,KAAK,YAAaA,IAC3CC,EAAQC,EAAW,CAAE,KAAM,IAAM,KAAM,GAAI,KAAM,GAAI,KAAM,CAAG,EAC5DC,EAAc,CACZ,MAAO,EACP,IAAK,EACL,IAAK,IACL,EAAG,EACH,EAAG,EACH,aAAc,EAAIL,EAAIE,CAAC,EACvB,SAAU,GACV,iBAAkB,GAClB,cAAe,CACzB,CAAS,CAAC,EACJ,KAAK,eAAe,KAAKC,CAAK,EAEhCG,EAAkC,IAAI,CACvC,EACD,KAAK,sBAAwB,CAAC,mBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAA+H,CACnL"}