File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/P005-y5VdFXsR.js
import{E as b,bl as m,q as e,n as u,K as x,C as h,o as f}from"./index-hc8lvKav.js";import{g as c,c as g,e as y}from"./reperes-MjYMQS1W.js";const d="Decimal grids",P="P005",k="ad5f7";function E(){b.call(this),this.nbCols=1,this.sup=1,this.nbQuestionsModifiable=!1,this.nbQuestions=1,this.titre=d,this.nouvelleVersion=function(){this.contenu="";const s=[];let i,l,a,p,r,o="";if(parseInt(this.sup)===1)for(let n=0;n<5;n++){s.length=0,s.push(m(e(1,1),e(2,1))),s.push(u("= 1 unit",3.5,1.5)),s.push(c(15,-2,19,2,"black",1,4));for(let t=0;t<11;t++)l=e(0+t*1.1,-.5),a=e(1+t*1.1,-.5),p=e(1+t*1.1,.5),r=e(0+t*1.1,.5),s.push(x(l,a,p,r));s.push(h(e(11.5,.5),e(15,2),"gray")),s.push(h(e(11.5,-.5),e(15,-2),"gray")),i=h(12,0,15,0),i.styleExtremites="->",s.push(u("ZOOM",13.5,.4)),s.push(u("x4",13.5,-.4)),s.push(i),s.push(g(15,-2,19,2,"gray",1,.8)),s.push(y(15,-2,19,2,"gray",1,2)),s.push(g(11,-.5,12,.5,"gray",.8,.2)),s.push(y(11,-.5,12,.5,"gray",.8,.5)),o=f({xmin:-.5,ymin:-2.2,xmax:21,ymax:3,pixelsParCm:30,scale:.8},s),this.contenu+=o,this.contenu+="<br>"}else if(parseInt(this.sup)===2)for(let n=0;n<4;n++){s.length=0,s.push(m(e(1,1.5),e(2,1.5))),s.push(u("= 1 unit",3.5,2)),s.push(c(15,-2.5,20,2.5,"black",1,.5)),s.push(c(11,-.5,12,.5,"black",.3,.1));for(let t=0;t<11;t++)l=e(0+t*1.1,-.5),a=e(1+t*1.1,-.5),p=e(1+t*1.1,.5),r=e(0+t*1.1,.5),s.push(x(l,a,p,r));s.push(h(e(11.5,.5),e(15,2.5))),s.push(h(e(11.5,-.5),e(15,-2.5))),i=h(12,0,15,0),i.styleExtremites="->",s.push(u("ZOOM",13.5,.5)),s.push(u("x5",13.5,-.5)),s.push(i),o=f({xmin:-.5,ymin:-3,xmax:26,ymax:3,pixelsParCm:30,scale:.8},s),this.contenu+=o,this.contenu+="<br>"}else for(let n=0;n<3;n++){s.length=0;for(let t=0;t<11;t++)l=e(0+t*1.1,-.5),a=e(1+t*1.1,-.5),p=e(1+t*1.1,.5),r=e(0+t*1.1,.5),s.push(x(l,a,p,r));s.push(m(e(1,1.5),e(2,1.5))),s.push(u("= 1 unit",3.5,2)),s.push(h(e(11.5,.5),e(15,5))),s.push(h(e(11.5,-.5),e(15,-5))),i=h(12,0,15,0),i.styleExtremites="->",s.push(u("ZOOM",13.5,.5)),s.push(u("x10",13.5,-.5)),s.push(i),s.push(g(15,-5,25,5,"gray",.8,.2)),s.push(y(15,-5,25,5,"gray",.8,.5)),s.push(c(15,-5,25,5,"black",1,1)),s.push(c(11,-.5,12,.5,"black",.3,.1)),o=f({xmin:-.1,ymin:-5.5,xmax:26,ymax:5.5,pixelsParCm:25,scale:.7},s),this.contenu+=o,this.contenu+="<br>"}this.listeQuestions[0]=this.contenu},this.besoinFormulaireNumerique=["number of boxes",3,`1:10
2:100
3:1000`]}export{E as default,P as ref,d as titre,k as uuid};
//# sourceMappingURL=P005-y5VdFXsR.js.map