File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/6N32-APF2bFWt.js
import{g,s as x}from"./reperes-MjYMQS1W.js";import{E as C,c as f,aj as y,h as a,r as t,i as Q,o as k,l as q,bj as d}from"./index-hc8lvKav.js";const F="Represent a fraction of the unit",N=!0,$="AMCHybride",w="c28e5",D="6N32";function H(){C.call(this),this.nbQuestions=5,this.consigne="Color a segment of length blue...",f.isHtml?this.spacingCorr=3.5:this.spacingCorr=2,f.isHtml?this.spacing=2:this.spacing=2,this.sup=1,this.sup2=1,this.nbCols=1,this.nbColsCorr=1,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];let r,l,c,u,i,m=[];this.sup<5?r=[parseInt(this.sup)]:r=[1,2,3,4],m=y(r,this.nbQuestions);for(let n=0,s,e,h,o,p,b=0;n<this.nbQuestions&&b<50;){switch(m[n]){case 1:s=a([4,5,6,10]),e=t(1,s-1);break;case 2:s=a([2,3,4]),s===3?e=t(3,2*s-1,s):e=t(3,2*s-1,s);break;case 3:s=a([4,5,6,10]),s===4?e=t(5,3*s-1,s):e=t(5,2*s-1,s);break;case 4:s=a([2,3,4,5,6,10]),s===2||s===4?e=t(s+1,3*s-1,s):e=t(s+1,2*s-1,s);break}s%3===0?i=12:s%5===0?i=10:i=8,h=Q(e,s),o=`$${h.texFraction}$ unit by taking ${i} tiles (or ${i} cm) for one unit.`,this.sup2<3?l=g(0,0,26,2,"gray",.7):l=d(),parseInt(this.sup2)===2?(u=.6,c=x(0,0,26,2)):(u=.5,c=d()),p=k({xmin:0,ymin:0,xmax:26,ymax:2,pixelsParCm:20,scale:u},h.representation(1,1,i,0,"segment","blue",0,1),l,c),f.isAmc&&(this.autoCorrection[n]={enonce:"here the question(s) is(are) asked",enonceAvant:!1,enonceAvantUneFois:!1,propositions:[{type:"AMCOpen",propositions:[{texte:p,statut:2,enonce:this.consigne.split(".")[0]+" "+o,pointilles:!1,sanscadre:!1}]}]}),this.listeQuestions.indexOf(o)===-1&&(this.listeQuestions.push(o),this.listeCorrections.push(p),n++),b++}q(this)},this.besoinFormulaireNumerique=["Type of questions",4,`1: Fraction less than 1
2: Halves, thirds and quarters
3: Quarters, fifths, sixths and tenths
4: All previous fractions between 1 and 2`],this.besoinFormulaire2Numerique=["Notebook type",2,`1: Notebook with small squares
2: Notebook with large squares (Seyes)`]}export{N as amcReady,$ as amcType,H as default,D as ref,F as titre,w as uuid};
//# sourceMappingURL=6N32-APF2bFWt.js.map