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/_Pavages_et_transformations-tBmEC4GG.js
import{E as cs,ag as os,r as h,q as t,aR as Ei,J as we,h as Si,F as Ue,a8 as v,a7 as $,K as ei,aE as le,_ as ss,be as as,R as g,b0 as ts,c as e,a5 as D,b4 as R,aK as d,a as ge,u as mi,I as Le,o as ii,Q as ui,C as de,L as bi,aM as hi,aa as ms,cp as Hi,b8 as Ki,m as pi,bu as wi,a_ as ls,a$ as Ji,y as ke,s as Yi,aQ as us}from"./index-hc8lvKav.js";import{i as C}from"./imagePointParTransformation-NKnGkboE.js";import{r as fi,t as Zi,s as Ui}from"./2dAnimation-xuB06sf5.js";import"./MatriceCarree-1qzwJiWf.js";import"./Polynome-vTUwDBL0.js";const ds=!0,ks="mathLive",As=!0,ys="AMCHybride";function xs(){cs.call(this),this.consigne="",this.nbQuestions=1,this.nbQuestionsModifiable=!1,this.nbCols=1,this.nbColsCorr=1,this.listeAvecNumerotation=!1,this.besoinFormulaire2Texte=["Choice of pavings",`Numbers separated by hyphens
Choice between 1 and 7
Choice 8 for a mix of all tilings`],this.sup2=8,this.nouvelleVersion=function(Q){this.listeQuestions=[],this.listeCorrections=[];const rs=os({max:7,defaut:8,melange:8,nbQuestions:this.nbQuestions,saisie:this.sup2}),T=[],k=[];this.level===3?this.sup=4:this.level===4?this.sup=3:this.level===5?this.sup=2:this.sup=1;const ns=[[5,5,4,0,4,4,0,4,30,0],[5,5,6,0,8,8,0,6,60,-9],[5,5,8,0,4,4,2,8,50,0],[5,5,4,0,6,4,0,6,50,5],[4,6,8,0,7,4,-1,4,50,10],[5,5,8,0,4,4,0,8,50,0],[5,5,4,0,3,2*Math.sin(Math.PI/3),2,4*Math.sin(Math.PI/3),20,0],[4,4,3,1,4,4,1,3,20,0]],c=[],ai=[];let gi,di,ki,I,W,V,ve,Me,Fe,P,_,j,qe,Ge,Ne,J,Oe,Y,Xe,Z,Ee,ti,li,ri,vi,Mi,Ti,Wi,Vi,zi,ni,ci,Qi,Ai,yi,xi,$i,Di,Ri,U,z,ee,re,Te,Pe,ne,_e,ce,B="",w="";const l=[],f=[],s=[],o=[];let Ae=[],Se;switch(this.sup){case 1:Se=0;break;case 2:Se=rs[0];break;case 3:Se=h(0,7);break;case 4:Se=0;break}Ae=ns[Se];const r=Ae[0],n=Ae[1];let je=Ae[2],Be=Ae[3],oe=Ae[4],me=Ae[5],ue=Ae[6],be=Ae[7];const Li=Ae[8],qi=Ae[9],ie=t(0,0);Se!==0&&Se!==6&&Se!==7?(U=Ei(t(je,Be),ie,qi,22/Li),z=Ei(t(oe,me),ie,qi,22/Li),ee=Ei(t(ue,be),ie,qi,22/Li),je=U.x,Be=U.y,oe=z.x,me=z.y,ue=ee.x,be=ee.y):(U=t(je,Be),z=t(oe,me),ee=t(ue,be));const Gi=je+oe-ue,Ni=Be+me-be,es=we(U,z),is=we(ee,z),Oi=oe+ue-je,Xi=me+be-Be;let se,ae,te,a=[0,0,0],p=!1,m,A,he,q=0,G=0,u,y,pe,N=0,O=0,b,x,fe,X=0,E=0,S,H,K,ye=0,xe=0,$e=0,De=0,Re=0,Ce=0,Pi=0,_i=0,ji=0,Bi=0,Fi=0,Ii=0;const He=Si(["S","T","L","W","R","G","E","F","G","K"]),si=Si(["S","T","L","W","R","G","E","F","G","K"],[He]),oi=Si(["S","T","L","W","R","G","E","F","G","K"],[He,si]),Ke=Math.min(-1,n*Oi),Je=Math.max(r*Gi+1,r*Gi+n*Oi+1),Ye=Math.min(-1,r*Ni),Ze=Math.max(r*Ni+n*Xi+1,n*Xi+1);for(let i=0;i<n;i++)for(let Ci=0;Ci<r;Ci++)se=new Ue(Math.round((Ci*Gi+i*Oi)*100),100),ae=new Ue(Math.round((Ci*Ni+i*Xi)*100),100),te=2*Ci+4*i*r,l.push([se,ae,te]),c[te]=v(ei(ie,U,z,ee),$(se,ae)),ai[te]=v(ei(ie,U,z,ee),$(se,ae)),f.push([se.sommeFraction(new Ue(Math.round(je*100),100)),ae.sommeFraction(new Ue(Math.round(Be*100),100)),te+1]),c[te+1]=v(le(ei(ie,U,z,ee),es,180),$(se,ae)),ai[te+1]=v(le(ei(ie,U,z,ee),es,180),$(se,ae)),o.push([se.sommeFraction(new Ue(Math.round(ue*100),100)),ae.sommeFraction(new Ue(Math.round(be*100),100)),te+2*r]),c[te+2*r]=v(le(ei(ie,U,z,ee),is,180),$(se,ae)),ai[te+2*r]=v(le(ei(ie,U,z,ee),is,180),$(se,ae)),s.push([se.sommeFraction(new Ue(Math.round(oe*100),100)),ae.sommeFraction(new Ue(Math.round(me*100),100)),te+2*r+1]),c[te+2*r+1]=v(v(ei(ie,U,z,ee),$(ie,z)),$(se,ae)),ai[te+2*r+1]=v(v(ei(ie,U,z,ee),$(ie,z)),$(se,ae));for(let i=0;i<c.length;i++)T.push(c[i],ss(i,as(c[i],"","center"),"medium","black",1,"middle",!1)),ai[i].color=g(ts("gray",50)),k.push(ai[i],ss(i,as(c[i],"","center"),"medium",ts("gray",50),1,"middle",!1));e.fenetreMathalea2d=[Ke,Ye,Je,Ze];let L,Ie,M,F,We,Ve,ze,Qe;switch(parseInt(this.sup)){case 1:for(m=h(0,r*n-1),A=l[m][2],ci=h(0,r*n-1,[m]),q=o[ci][0],G=o[ci][1],a=C(2,[l[m][0],l[m][1]],[q,G]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],s[i][0],.001)&&D(a[1],s[i][1],.001)){p=!0,S=l[i][2],Re=l[m][0],Ce=l[m][1],ve=Hi(t(Re,Ce),t(a[0],a[1])),ve.color=g(e.isAmc?"black":"green"),ve.epaisseur=2,ve.isVisible=!0,Ai=de(t(Re,Ce),we(t(Re,Ce),t(a[0],a[1])),e.isAmc?"black":"green"),yi=de(t(a[0],a[1]),we(t(Re,Ce),t(a[0],a[1])),e.isAmc?"black":"green"),Ai.epaisseur=2,Ai.pointilles=2,yi.epaisseur=2,yi.pointilles=2,k.push(bi(Ki(ve,1),we(t(Re,Ce),t(a[0],a[1])),t(Re,Ce),e.isAmc?"black":"green",.8,1)),c[A].couleurDeRemplissage=g(e.isAmc?"black":"green"),c[A].opaciteDeRemplissage=.6;break}p===!1&&(m=h(0,r*n-1),A=l[m][2],ci=h(0,r*n-1,[m]),q=o[ci][0],G=o[ci][1],a=C(2,[l[m][0],l[m][1]],[q,G]))}for(We=R(0)+" What is the number of the symmetrical figure of the figure "+d(`${A}`,e.isAmc?"black":"green")+` in $${pi("(d_1)",e.isAmc?"black":"green")}$ axis symmetry?`+ge(this,0,"width25 inline")+"<br>",B+=We,w+=R(0)+" The symmetrical figure of the figure "+d(`${A}`,e.isAmc?"black":"green")+` in axis symmetry $${pi("(d_1)",e.isAmc?"black":"green")}$ has the number ${d(S)}.<br>`,u=h(0,r*n-1),y=o[u][2],ni=h(0,r*n-1,[u]),N=l[ni][0],O=l[ni][1],a=C(1,[o[u][0],o[u][1]],[N,O]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],f[i][0],.001)&&D(a[1],f[i][1],.001)){p=!0,H=f[i][2],$e=o[u][0],De=o[u][1]-4,Me=Hi(t($e,De+4),t(a[0],a[1])),Me.color=g(e.isAmc?"black":"red"),Me.epaisseur=2,Me.isVisible=!0,xi=de(t($e,De+4),we(t($e,De+4),t(a[0],a[1])),e.isAmc?"black":"red"),$i=de(t(a[0],a[1]),we(t($e,De+4),t(a[0],a[1])),e.isAmc?"black":"red"),xi.epaisseur=2,xi.pointilles=2,$i.epaisseur=2,$i.pointilles=2,k.push(bi(Ki(Me,1),we(t($e,De+4),t(a[0],a[1])),t($e,De+4),e.isAmc?"black":"red",.8,1)),c[y].couleurDeRemplissage=g(e.isAmc?"black":"red"),c[y].opaciteDeRemplissage=.6;break}p===!1&&(u=h(0,r*n-1),y=o[u][2],ni=h(0,r*n-1,[u]),N=l[ni][0],O=l[ni][1],a=C(1,[o[u][0],o[u][1]],[N,O]))}for(Ve=R(1)+"What is the number of the symmetrical figure of the figure "+d(`${y}`,e.isAmc?"black":"red")+` in $${pi("(d_2)",e.isAmc?"black":"red")}$ axis symmetry?`+ge(this,1,"width25 inline")+"<br>",B+="<br>"+Ve,w+="<br>"+R(1)+" The symmetrical figure of the figure "+d(`${y}`,e.isAmc?"black":"red")+` in axis symmetry $${pi("(d_2)",e.isAmc?"black":"red")}$ has the number ${d(H)}.<br>`,b=h(0,r*n-1),x=s[b][2],Qi=h(0,4,Math.floor(b/5))*5,X=s[Qi][0],E=s[Qi][1],a=C(3,[s[b][0],s[b][1]],[X,E]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],s[i][0],.001)&&D(a[1],s[i][1],.001)){p=!0,K=f[i][2],ye=s[b][0],xe=s[b][1],Fe=Hi(t(ye,xe),t(a[0],a[1])),Fe.color=g(e.isAmc?"black":"blue"),Fe.epaisseur=2,Fe.isVisible=!0,Di=de(t(ye,xe),we(t(ye,xe),t(a[0],a[1])),e.isAmc?"black":"blue"),Ri=de(t(a[0],a[1]),we(t(ye,xe),t(a[0],a[1])),e.isAmc?"black":"blue"),Di.epaisseur=2,Di.pointilles=2,Ri.epaisseur=2,Ri.pointilles=2,k.push(bi(Ki(Fe,1),we(t(ye,xe),t(a[0],a[1])),t(ye,xe),e.isAmc?"black":"blue",.8,1)),c[x].couleurDeRemplissage=g(e.isAmc?"black":"blue"),c[x].opaciteDeRemplissage=.6;break}if(p===!1){b=h(0,r*n-1),x=s[b][2];const i=h(0,4,Math.floor(b/5))*5;X=s[i][0],E=s[i][1],a=C(3,[s[b][0],s[b][1]],[X,E])}}ze=R(2)+" What is the number of the symmetrical figure of the figure "+d(`${x}`,e.isAmc?"black":"blue")+` in $${pi("(d_3)",e.isAmc?"black":"blue")}$ axis symmetry?`+ge(this,2,"width25 inline")+"<br>",B+="<br>"+ze,w+="<br>"+R(2)+" The symmetrical figure of the figure "+d(`${x}`,e.isAmc?"black":"blue")+` in axis symmetry $${pi("(d_3)",e.isAmc?"black":"blue")}$ has the number ${d(K)}.<br>`,T.push(ve,Me,Fe),k.push(ve,Me,Fe,Ui(c[A],ve,`id="anim${Q}A" hard="2s" repeatcount="1"`),Ui(c[y],Me,`id="anim${Q}B" dur="2s" repeatcount="1"`),Ui(c[x],Fe,`id="anim${Q}C" dur="2s" repeatcount="1"`)),M=wi(ve,ls(t(e.fenetreMathalea2d[2],e.fenetreMathalea2d[3]))),F=wi(ve,Ji(t(e.fenetreMathalea2d[0],e.fenetreMathalea2d[1]))),M.x>F.x?(T.push(ke("(d_1)",M.x,M.y-2.5,e.isAmc?"black":"green",20,10,"",12)),k.push(ke("(d_1)",M.x,M.y-2.5,e.isAmc?"black":"green",20,10,"",12))):(T.push(ke("(d_1)",F.x+2.5,F.y,e.isAmc?"black":"green",20,10,"",12)),k.push(ke("(d_1)",F.x+2.5,F.y,e.isAmc?"black":"green",20,10,"",12))),M=wi(Me,ls(t(e.fenetreMathalea2d[0],e.fenetreMathalea2d[1]))),F=wi(Me,Ji(t(e.fenetreMathalea2d[0],e.fenetreMathalea2d[1]))),M.x>F.x?(T.push(ke("(d_2)",M.x,M.y+2.5,e.isAmc?"black":"red",20,10,"",12)),k.push(ke("(d_2)",M.x,M.y+2.5,e.isAmc?"black":"red",20,10,"",12))):M.x<F.x?(T.push(ke("(d_2)",F.x+2.5,F.y,e.isAmc?"black":"red",20,10,"",12)),k.push(ke("(d_2)",F.x+2.5,F.y,e.isAmc?"black":"red",20,10,"",12))):(T.push(ke("(d_2)",F.x+3.5,F.y+1,e.isAmc?"black":"red",20,10,"",12)),k.push(ke("(d_2)",F.x+3.5,F.y+1,e.isAmc?"black":"red",20,10,"",12))),M=wi(Fe,Ji(t(e.fenetreMathalea2d[2],e.fenetreMathalea2d[3]))),T.push(ke("(d_3)",M.x-2,M.y+1.5,e.isAmc?"black":"blue",20,10,"",12)),k.push(ke("(d_3)",M.x-2,M.y+1.5,e.isAmc?"black":"blue",20,10,"",12)),k.push(Ai,yi,xi,$i,Di,Ri),k.push(hi("OO",e.isAmc?"black":"green",Ai,yi)),k.push(hi("XX",e.isAmc?"black":"red",xi,$i)),k.push(hi("|||",e.isAmc?"black":"blue",Di,Ri)),Qe=ii({xmin:Ke,xmax:Je,ymin:Ye,ymax:Ze,pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1},T),B+=Qe,I=v(c[S],$(0,0)),I.couleurDeRemplissage=g(e.isAmc?"black":"green"),I.opaciteDeRemplissage=.3,W=v(c[H],$(0,0)),W.couleurDeRemplissage=g(e.isAmc?"black":"red"),W.opaciteDeRemplissage=.3,V=v(c[K],$(0,0)),V.couleurDeRemplissage=g(e.isAmc?"black":"blue"),V.opaciteDeRemplissage=.3,k.push(c[A],c[y],c[x],I,W,V),w+=ii({xmin:Ke,xmax:Je,ymin:Ye,ymax:Ze,pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1},k);break;case 2:for(m=h(0,r*n-1),A=l[m][2],he=h(0,r*n-1,m),q=(je+oe)/2+f[he][0]-je,G=(Be+me)/2+f[he][1]-Be,a=C(7,[s[m][0],s[m][1]],[q,G]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],f[i][0],.001)&&D(a[1],f[i][1],.001)){p=!0,S=f[i][2],Re=l[m][0],Ce=l[m][1],P=t(q,G,He,"left"),c[A].couleurDeRemplissage=g(e.isAmc?"black":"green"),c[A].opaciteDeRemplissage=.6;break}p===!1&&(m=h(0,r*n-1),A=l[m][2],he=h(0,r*n-1,m),q=(je+oe)/2+f[he][0]-je,G=(Be+me)/2+f[he][1]-Be,a=C(7,[s[m][0],s[m][1]],[q,G]))}for(We=R(0)+d(`What is the number of the symmetrical figure of the ${A} figure in the ${He} center symmetry?`,e.isAmc?"black":"green")+ge(this,0,"width25 inline")+"<br>",B+=We,w=R(0)+d(` The symmetrical figure of the ${A} figure in the ${He} center symmetry has the number ${S}.<br>`,e.isAmc?"black":"green"),u=h(0,r*n-1),y=o[u][2],pe=h(0,r*n-1,[u]),N=(ue+oe)/2+o[pe][0]-ue,O=(be+me)/2+o[pe][1]-be,a=C(7,[o[u][0],o[u][1]],[N,O]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],s[i][0],.001)&&D(a[1],s[i][1],.001)){p=!0,H=l[i][2],$e=l[u][0],De=l[u][1],_=t(N,O,si,"left"),c[y].couleurDeRemplissage=g(e.isAmc?"black":"red"),c[y].opaciteDeRemplissage=.6;break}p===!1&&(u=h(0,r*n-1),y=o[u][2],pe=h(0,r*n-1,[u]),N=(ue+oe)/2+o[pe][0]-ue,O=(be+me)/2+o[pe][1]-be,a=C(7,[o[u][0],o[u][1]],[N,O]))}for(Ve=R(1)+d(` What is the number of the symmetrical figure of the ${y} figure in the ${si} center symmetry?`,e.isAmc?"black":"red")+ge(this,1,"width25 inline")+"<br>",B+="<br>"+Ve,w+=R(1)+d(` The symmetrical figure of the ${y} figure in the ${si} center symmetry has the number ${H}.<br>`,e.isAmc?"black":"red"),b=h(0,r*n-1),x=s[b][2],fe=h(0,r*n-1,[b]),X=ue/2+s[fe][0],E=be/2+s[fe][1],a=C(7,[s[b][0]+oe,s[b][1]+me],[X,E]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],o[i][0],.001)&&D(a[1],o[i][1],.001)){p=!0,K=o[i][2],ye=l[b][0],xe=l[b][1],j=t(X,E,oi,"left"),c[x].couleurDeRemplissage=g(e.isAmc?"black":"blue"),c[x].opaciteDeRemplissage=.6;break}p===!1&&(b=h(0,r*n-1),x=s[b][2],fe=h(0,r*n-1,[b]),X=ue/2+s[fe][0],E=be/2+s[fe][1],a=C(7,[s[b][0]+oe,s[b][1]+me],[X,E]))}ze=R(2)+d(` What is the number of the symmetrical figure of the ${x} figure in the ${oi} center symmetry?`,e.isAmc?"black":"blue")+ge(this,2,"width25 inline")+"<br>",B+="<br>"+ze,w+=R(2)+d(` The symmetrical figure of the ${x} figure in the ${oi} center symmetry has the number ${K}.<br>`,e.isAmc?"black":"blue"),gi=mi(P,"red"),gi.epaisseur=2,gi.taille=2,di=mi(_,"red"),di.epaisseur=2,di.taille=2,ki=mi(j,"red"),ki.epaisseur=2,ki.taille=2,T.push(gi,di,ki,Le(P,"red"),Le(_,"red"),Le(j,"red")),k.push(gi,di,ki,Le(P,"red"),Le(_,"red"),Le(j,"red"),fi(c[A],P,180,`id="anim${Q}A" hard="2s" repeatcount="1"`),fi(c[y],_,180,`id="anim${Q}B" dur="2s" repeatcount="1"`),fi(c[x],j,180,`id="anim${Q}C" dur="2s" repeatcount="1"`)),Qe=ii({xmin:Ke,xmax:Je,ymin:Ye,ymax:Ze,pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1},T),B+=Qe,I=v(c[S],$(0,0)),I.couleurDeRemplissage=g(e.isAmc?"black":"green"),I.opaciteDeRemplissage=.3,W=v(c[H],$(0,0)),W.couleurDeRemplissage=g(e.isAmc?"black":"red"),W.opaciteDeRemplissage=.3,V=v(c[K],$(0,0)),V.couleurDeRemplissage=g(e.isAmc?"black":"blue"),V.opaciteDeRemplissage=.3,qe=ui(t(l[m][0],l[m][1]),P,180),J=de(t(l[m][0],l[m][1]),P),Oe=le(J,P,180),J.pointilles=2,Oe.pointilles=2,qe.pointilles=2,Ge=ui(t(o[u][0],o[u][1]),_,180),Y=de(t(o[u][0],o[u][1]),_),Xe=le(Y,_,180),Y.pointilles=2,Xe.pointilles=2,Ge.pointilles=2,Ne=ui(t(s[b][0],s[b][1]),j,180),Z=de(t(s[b][0],s[b][1]),j),Ee=le(Z,j,180),Z.pointilles=2,Ee.pointilles=2,Ne.pointilles=2,k.push(I,W,V,qe,Ge,Ne,J,Oe,Y,Xe,Z,Ee),w+=ii({xmin:Ke,xmax:Je,ymin:Ye,ymax:Ze,pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1},k);break;case 3:for(m=h(0,r*n-1),A=l[m][2],re=h(0,r*n-1),Te=h(0,r*n-1,[re]),Pi=f[Te][0].differenceFraction(f[re][0]),_i=f[Te][1].differenceFraction(f[re][1]),a=C(8,[l[m][0],l[m][1]],[0,0],[Pi,_i]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],l[i][0],.001)&&D(a[1],l[i][1],.001)){p=!0,S=l[i][2],Re=l[m][0],Ce=l[m][1],Wi=t(f[re][0],f[re][1]),vi=$(Wi,t(f[Te][0],f[Te][1])),ti=vi.representant(Wi),ti.color=g(e.isAmc?"black":"green"),ti.epaisseur=2,ti.pointilles=2,c[A].couleurDeRemplissage=g(e.isAmc?"black":"green"),c[A].opaciteDeRemplissage=.6;break}p===!1&&(m=h(0,r*n-1),A=l[m][2],re=h(0,r*n-1),Te=h(0,r*n-1,[re]),Pi=f[Te][0]-f[re][0],_i=f[Te][1]-f[re][1],a=C(8,[l[m][0],l[m][1]],[0,0],[Pi,_i]))}for(We=R(0)+d(` In the translation that transforms the ${f[re][2]} figure into the ${f[Te][2]} figure, what is the number of the image of the ${A} figure?`,e.isAmc?"black":"green")+ge(this,0,"width25 inline")+"<br>",B+=We,w=R(0)+d(` The image figure of the ${A} figure in the translation which transforms the ${f[re][2]} figure into the ${f[Te][2]} figure bears the number ${S}.<br>`,e.isAmc?"black":"green"),u=h(0,r*n-1),y=o[u][2],ne=h(0,r*n-1),_e=h(0,r*n-1,[ne]),ji=l[_e][0]-s[ne][0],Bi=l[_e][1]-s[ne][1],a=C(8,[o[u][0],o[u][1]],[0,0],[ji,Bi]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],f[i][0],.001)&&D(a[1],f[i][1],.001)){p=!0,H=f[i][2],$e=o[u][0],De=o[u][1],Vi=t(s[ne][0],s[ne][1]),Mi=$(Vi,t(l[_e][0],l[_e][1])),li=Mi.representant(Vi),li.color=g(e.isAmc?"black":"red"),li.epaisseur=2,li.pointilles=2,c[y].couleurDeRemplissage=g(e.isAmc?"black":"red"),c[y].opaciteDeRemplissage=.6;break}p===!1&&(u=h(0,r*n-1),y=o[u][2],ne=h(0,r*n-1),_e=h(0,r*n-1,[ne]),ji=l[_e][0]-s[ne][0],Bi=l[_e][1]-s[ne][1],a=C(8,[o[u][0],o[u][1]],[0,0],[ji,Bi]))}for(Ve=R(1)+d(` In the translation that transforms the ${s[ne][2]} figure into the ${l[_e][2]} figure, what is the number of the image of the ${y} figure?`,e.isAmc?"black":"red")+ge(this,1,"width25 inline")+"<br>",B+="<br>"+Ve,w+=R(1)+d(` The image figure of the ${y} figure in the translation which transforms the ${s[ne][2]} figure into the ${l[_e][2]} figure bears the number ${H}.<br>`,e.isAmc?"black":"red"),b=h(0,r*n-1),x=s[b][2],ce=h(0,r*n-1),Pe=h(0,r*n-1,[ce]),Fi=l[Pe][0]-s[ce][0],Ii=l[Pe][1]-s[ce][1],a=C(8,[s[b][0],s[b][1]],[0,0],[Fi,Ii]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],l[i][0],.001)&&D(a[1],l[i][1],.001)){p=!0,K=l[i][2],ye=s[b][0],xe=s[b][1],zi=t(s[ce][0],s[ce][1]),Ti=$(zi,t(l[Pe][0],l[Pe][1])),ri=Ti.representant(zi),ri.color=g(e.isAmc?"black":"blue"),ri.epaisseur=2,ri.pointilles=2,c[x].couleurDeRemplissage=g(e.isAmc?"black":"blue"),c[x].opaciteDeRemplissage=.6;break}p===!1&&(b=h(0,r*n-1),x=s[b][2],ce=h(0,r*n-1),Pe=h(0,r*n-1,[ce]),Fi=l[Pe][0]-s[ce][0],Ii=l[Pe][1]-s[ce][1],a=C(8,[s[b][0],s[b][1]],[0,0],[Fi,Ii]))}ze=R(2)+d(` In the translation that transforms the ${s[ce][2]} figure into the ${l[Pe][2]} figure, what is the number of the image of the ${x} figure?`,e.isAmc?"black":"blue")+ge(this,2,"width25 inline")+"<br>",B+="<br>"+ze,w+=R(2)+d(` The image figure of the ${x} figure in the translation which transforms the ${s[ce][2]} figure into the ${l[Pe][2]} figure bears the number ${K}.<br>`,e.isAmc?"black":"blue"),T.push(ti,li,ri),k.push(ti,li,ri,Zi(c[A],vi,`id="anim${Q}A" dur="2s" repeatcount="1"`),Zi(c[y],Mi,`id="anim${Q}B" dur="2s" repeatcount="1"`),Zi(c[x],Ti,`id="anim${Q}C" dur="2s" repeatcount="1"`)),Qe=ii({xmin:Ke,xmax:Je,ymin:Ye,ymax:Ze,pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1},T),B+=Qe,I=v(c[S],$(0,0)),I.couleurDeRemplissage=g(e.isAmc?"black":"green"),I.opaciteDeRemplissage=.3,W=v(c[H],$(0,0)),W.couleurDeRemplissage=g(e.isAmc?"black":"red"),W.opaciteDeRemplissage=.3,V=v(c[K],$(0,0)),V.couleurDeRemplissage=g(e.isAmc?"black":"blue"),V.opaciteDeRemplissage=.3,J=vi.representant(t(Re,Ce)),J.color=g(e.isAmc?"black":"green"),J.epaisseur=2,Y=Mi.representant(t($e,De)),Y.color=g(e.isAmc?"black":"red"),Y.epaisseur=2,Z=Ti.representant(t(ye,xe)),Z.color=g(e.isAmc?"black":"blue"),Z.epaisseur=2,k.push(I,W,V,J,Y,Z),w+=ii({xmin:Ke,xmax:Je,ymin:Ye,ymax:Ze,pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1},k);break;case 4:for(m=h(0,r*n-1),A=l[m][2],he=h(0,r*n-1,[m]),q=l[he][0],G=l[he][1],a=C(6,[f[m][0],f[m][1]],[q,G]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],o[i][0],.001)&&D(a[1],o[i][1],.001)){p=!0,S=o[i][2],Re=l[m][0],Ce=l[m][1],P=t(q,G,He,"above left"),c[A].couleurDeRemplissage=g(e.isAmc?"black":"green"),c[A].opaciteDeRemplissage=.6;break}p===!1&&(m=h(0,r*n-1),A=l[m][2],he=h(0,r*n-1,[m]),q=l[he][0],G=l[he][1],a=C(6,[f[m][0],f[m][1]],[q,G]))}for(We=R(0)+" What is the number of the figure image of the figure "+d(`${A}`,e.isAmc?"black":"green")+" in center rotation"+d(`${He}`,e.isAmc?"black":"green")+" and angle 90° clockwise?"+ge(this,0,"width25 inline")+"<br>",B+=We,w+=R(0)+" The figure image of the figure "+d(`${A}`,e.isAmc?"black":"green")+" in center rotation"+d(`${He}`,e.isAmc?"black":"green")+" and angle 90° clockwise bears the number"+d(`${S}`,"#f15929")+".<br>",u=h(0,r*n-1),y=o[u][2],pe=h(0,r*n-1,[u]),N=f[pe][0],O=f[pe][1],a=C(5,[o[u][0],o[u][1]],[N,O]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],4+s[i][0],.001)&&D(a[1],s[i][1],.001)){p=!0,H=s[i][2],$e=l[u][0],De=l[u][1],_=t(N,O,si,"above left"),c[y].couleurDeRemplissage=g(e.isAmc?"black":"red"),c[y].opaciteDeRemplissage=.6;break}p===!1&&(u=h(0,r*n-1),y=o[u][2],pe=h(0,r*n-1,[u]),N=f[pe][0],O=f[pe][1],a=C(5,[o[u][0],o[u][1]],[N,O]))}for(Ve=R(1)+" What is the number of the figure image of the figure "+d(`${y}`,e.isAmc?"black":"red")+" in center rotation"+d(`${si}`,e.isAmc?"black":"red")+" and angle 90° counterclockwise?"+ge(this,1,"width25 inline")+"<br>",B+="<br>"+Ve,w+="<br>"+R(1)+" The figure image of the figure "+d(`${y}`,e.isAmc?"black":"red")+" in center rotation"+d(`${si}`,e.isAmc?"black":"red")+" and angle 90° counterclockwise bears the number"+d(`${H}`,"#f15929")+".<br>",b=h(0,r*n-1),x=s[b][2],fe=h(0,r*n-1,[b]),X=f[fe][0],E=f[fe][1],a=C(6,[s[b][0],s[b][1]],[X,E]),p=!1;p===!1;){for(let i=0;i<r*n;i++)if(D(a[0],o[i][0],.001)&&D(a[1],4+o[i][1],.001)){p=!0,K=o[i][2],ye=l[b][0],xe=l[b][1],j=t(X,E,oi,"above left"),c[x].couleurDeRemplissage=g(e.isAmc?"black":"blue"),c[x].opaciteDeRemplissage=.6;break}p===!1&&(b=h(0,r*n-1),x=s[b][2],fe=h(0,r*n-1,[b]),X=f[fe][0],E=f[fe][1],a=C(6,[s[b][0],s[b][1]],[X,E]))}ze=R(2)+" What is the number of the figure image of the figure "+d(`${x}`,e.isAmc?"black":"blue")+" in center rotation"+d(`${oi}`,e.isAmc?"black":"blue")+" and angle 90° clockwise?"+ge(this,2,"width25 inline")+"<br>",B+="<br>"+ze,w+="<br>"+R(2)+" The figure image of the figure "+d(`${x}`,e.isAmc?"black":"blue")+" in center rotation"+d(`${oi}`,e.isAmc?"black":"blue")+" and angle 90° clockwise bears the number"+d(`${K}`,"#f15929")+".<br>",L=mi(P,e.isAmc?"black":"green"),Ie=Le(P,e.isAmc?"black":"green"),L.epaisseur=2,L.taille=4,T.push(L,Ie),k.push(L,Ie),L=mi(_,e.isAmc?"black":"red"),Ie=Le(_,e.isAmc?"black":"red"),L.epaisseur=2,L.taille=4,T.push(L,Ie),k.push(L,Ie),L=mi(j,e.isAmc?"black":"blue"),Ie=Le(j,e.isAmc?"black":"blue"),L.epaisseur=2,L.taille=4,T.push(L,Ie),k.push(L,Ie),k.push(fi(c[A],P,-90,`id="anim${Q}A" hard="2s" repeatcount="1"`),fi(c[y],_,90,`id="anim${Q}B" dur="2s" repeatcount="1"`),fi(c[x],j,-90,`id="anim${Q}C" dur="2s" repeatcount="1"`)),Qe=ii({xmin:Ke,xmax:Je,ymin:Ye,ymax:Ze,pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1},T),B+=Qe,I=v(c[S],$(0,0)),I.couleurDeRemplissage=g(e.isAmc?"black":"green"),I.opaciteDeRemplissage=.3,W=v(c[H],$(0,0)),W.couleurDeRemplissage=g(e.isAmc?"black":"red"),W.opaciteDeRemplissage=.3,V=v(c[K],$(0,0)),V.couleurDeRemplissage=g(e.isAmc?"black":"blue"),V.opaciteDeRemplissage=.3,qe=ui(t(l[m][0],l[m][1]),P,-90),J=de(t(l[m][0],l[m][1]),P,e.isAmc?"black":"green"),Oe=le(J,P,-90),J.pointilles=2,Oe.pointilles=2,Oe.color=g(e.isAmc?"black":"green"),qe.pointilles=2,qe.epaisseur=2,qe.color=g(e.isAmc?"black":"green"),Ge=ui(t(o[u][0],o[u][1]),_,90),Y=de(t(o[u][0],o[u][1]),_,e.isAmc?"black":"red"),Xe=le(Y,_,90),Y.pointilles=2,Xe.pointilles=2,Xe.color=g(e.isAmc?"black":"red"),Ge.pointilles=2,Ge.epaisseur=2,Ge.color=g(e.isAmc?"black":"red"),Ne=ui(t(s[b][0],s[b][1]),j,-90),Z=de(t(s[b][0],s[b][1]),j,e.isAmc?"black":"blue"),Ee=le(Z,j,-90),Z.pointilles=2,Ee.pointilles=2,Ee.color=g(e.isAmc?"black":"blue"),Ne.pointilles=2,Ne.epaisseur=2,Ne.color=g(e.isAmc?"black":"blue"),k.push(I,W,V,qe,Ge,Ne,J,Oe,Y,Xe,Z,Ee,bi(t(l[m][0],l[m][1]),P,le(t(l[m][0],l[m][1]),P,-90),e.isAmc?"black":"green",1,1),bi(t(o[u][0],o[u][1]),_,le(t(o[u][0],o[u][1]),_,90),e.isAmc?"black":"red",1,1),bi(t(s[b][0],s[b][1]),j,le(t(s[b][0],s[b][1]),j,-90),e.isAmc?"black":"blue",1,1),hi("|||",e.isAmc?"black":"green",J,Oe),hi("OO",e.isAmc?"black":"red",Y,Xe),hi("XXX",e.isAmc?"black":"blue",Z,Ee)),w+=ii(Object.assign({},ms(k),{pixelsParCm:15,scale:.3,optionsTikz:["every node/.style={scale=0.6}"],mainlevee:!1}),k);break}Yi(this,0,S),Yi(this,1,H),Yi(this,2,K),e.isHtml&&(w+="<br>",w+=`<button class="btn ui labeled icon button" style="margin:10px" onclick="document.getElementById('anim${Q}A').beginElement()"><i class="redo circle icon"></i>Relaunch green animation</button>`,w+=`<button class="btn ui labeled icon button" style="margin:10px" onclick="document.getElementById('anim${Q}B').beginElement()"><i class="redo circle icon"></i>Relaunch red animation</button>`,w+=`<button class="btn ui labeled icon button" style="margin:10px" onclick="document.getElementById('anim${Q}C').beginElement()"><i class="redo circle icon"></i>Relaunch blue animation</button>`),this.listeQuestions.push(B),this.listeCorrections.push(w),us(this),e.isAmc&&(this.autoCorrection[0]={enonce:Qe,options:{multicols:!0},propositions:[{type:"AMCNum",propositions:[{texte:w,statut:"",reponse:{texte:We,valeur:S,param:{digits:2,decimals:0,signe:!1,approx:0}}}]},{type:"AMCNum",propositions:[{texte:"",statut:"",reponse:{texte:Ve,valeur:H,param:{digits:2,decimals:0,signe:!1,approx:0}}}]},{type:"AMCNum",propositions:[{texte:"",statut:"",reponse:{texte:ze,valeur:K,param:{digits:2,decimals:0,signe:!1,approx:0}}}]}]})},this.besoinFormulaireNumerique=["Transformations",4,` 1: Axial symmetries
 2: Central symmetries
 3: Translations
 4: Rotations
 5: Homotheties
`]}export{As as amcReady,ys as amcType,xs as default,ds as interactifReady,ks as interactifType};
//# sourceMappingURL=_Pavages_et_transformations-tBmEC4GG.js.map