File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/CM003-EmMPripZ.js
import{E as d,ag as p,kf as m,aj as h,s as n,a as o,r as b,h as v,l as x}from"./index-ajJ0B2-K.js";const Q="Tables de multiplication et de divisions",T=!0,q="AMCNum",y=!0,g="mathLive",D="9db38",M="CM003";function F(r="2-3-4-5-6-7-8-9"){d.call(this),this.sup=r,this.sup2=1,this.consigne="Calculer.",this.spacing=2,this.tailleDiaporama=3,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.sup||(this.sup="2-3-4-5-6-7-8-9");const $=p({nbQuestions:this.nbQuestions,saisie:this.sup,defaut:9,max:9,min:2,enleveDoublons:!0}),u=m($,[2,3,4,5,6,7,8,9,10],this.nbQuestions),c=h(["classique","a_trous"],this.nbQuestions),f=h(["x","div"],this.nbQuestions);let a;for(let t=0,s,i,e,l;t<this.nbQuestions;t++)s=u[t][0],i=u[t][1],parseInt(this.sup2)===1?a="classique":parseInt(this.sup2)===2?a="a_trous":a=c[t],f[t]==="x"?a==="classique"?(e="$ "+s+" \\times "+i+" = $",n(this,t,s*i),this.interactif&&(e=`$${s} \\times ${i} = $`+o(this,t)),l="$ "+s+" \\times "+i+" = "+s*i+" $"):($.length>2?(b(1,2)===1?(e="$ "+s+" \\times \\ldots\\ldots = "+s*i+" $",this.interactif&&(e=`$ ${s} \\times $`+o(this,t)+`$ = ${s*i} $`)):(e="$ \\ldots\\ldots \\times "+i+" = "+s*i+" $",this.interactif&&(e=o(this,t)+`$ \\times ${i} = ${s*i} $`)),n(this,t,s)):(e="$ "+s+" \\times \\ldots\\ldots = "+s*i+" $",this.interactif&&(e=o(this,t)+`$ \\times ${i} = ${s*i} $`),n(this,t,i)),l="$ "+s+" \\times "+i+" = "+s*i+" $"):(a==="classique"?(e="$ "+s*i+" \\div "+i+" =$",n(this,t,s),this.interactif&&(e=`$${s*i} \\div ${i} = $`+o(this,t))):v([!0,!1])?(e=`$ ${s*i} \\div \\ldots\\ldots = ${s}$`,n(this,t,i),this.interactif&&(e=`$${s*i} \\div $`+o(this,t)+`$ = ${s}$`)):(e=`$ \\ldots\\ldots \\div ${i} = ${s}$`,n(this,t,s*i),this.interactif&&(e=o(this,t)+`$\\div ${i} = ${s}$`)),l=`$ ${s*i} \\div ${i} = ${s}$`),this.listeQuestions.push(e),this.listeCorrections.push(l);x(this)},this.besoinFormulaireTexte=["Choix des tables","Nombres séparés par des tirets"],this.besoinFormulaire2Numerique=["Style de questions",3,`1 : Classique
2: À trous
3: Mélangé`]}export{T as amcReady,q as amcType,F as default,y as interactifReady,g as interactifType,M as ref,Q as titre,D as uuid};
//# sourceMappingURL=CM003-EmMPripZ.js.map