// Coordinates System :
SetCoords(19374.656342325914,8879.030739449128,124.16414470471955,false,912,650);
// Geometry :
a=Expression("a","","","","32/pixel()","-153.54397509574483","70.78557791664194");
P1=Point("P1",-151.5732690049786,70.18255151554854);
P2=Point("P2",-150.64134215900737,70.17575059625395);
P3=Point("P3",-151.57873266362614,69.22014581497896);
P4=Point("P4",-150.63695688597608,69.25823250974047);
P5=Point("P5",-151.57078065557334,68.3142839884472);
P6=Point("P6",-150.6402940739678,68.3172047895765);
P16=Point("P16",-153.78559074148006,67.77343619980871);
P17=Point("P17",-146.7465215957255,70.60839310976938);
A=Point("A",-153.97888325806835,69.99630014057333);
cacher=Expression("cacher","","","","var bl_bfhjfecgifjib=function(){\nBLK_STL(\"AA\",\"setHidden\",[2]);\nBLK_STL(\"BB\",\"setHidden\",[2]);\nBLK_STL(\"CC\",\"setHidden\",[2]);\nBLK_STL(\"DD\",\"setHidden\",[2]);\nBLK_STL(\"EE\",\"setHidden\",[2]);\nBLK_STL(\"FF\",\"setHidden\",[2]);\nBLK_STL(\"abf\",\"setHidden\",[2]);\nBLK_STL(\"bcd\",\"setHidden\",[2]);\nBLK_STL(\"def\",\"setHidden\",[2]);\n};\nbl_bfhjfecgifjib()","-147.10089120947063","66.51703484198525");
C7=Circle1("C7",P1,"a");
C8=Circle1("C8",P2,"a");
C9=Circle1("C9",P3,"a");
C10=Circle1("C10",P4,"a");
C11=Circle1("C11",P5,"a");
C12=Circle1("C12",P6,"a");
blk_turtle_exp_P1=Expression("blk_turtle_exp_P1","","","","var bl_bjbeafagb=function(){\nTURTLE_INIT(\"P1\",P1);\nTURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('1'));\nreturn TURTLE_RESULT()\n};\nbl_bjbeafagb()","-155.63797735878396","71.10773211095564");
blk_turtle_exp_P2=Expression("blk_turtle_exp_P2","","","","var bl_cgagfahcj=function(){\nTURTLE_INIT(\"P2\",P2);\nTURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('2'));\nreturn TURTLE_RESULT()\n};\nbl_cgagfahcj()","-155.63797735878396","71.10773211095564");
blk_turtle_exp_P3=Expression("blk_turtle_exp_P3","","","","var bl_egfbefbcj=function(){\nTURTLE_INIT(\"P3\",P3);\nTURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('3'));\nreturn TURTLE_RESULT()\n};\nbl_egfbefbcj()","-155.63797735878396","71.10773211095564");
blk_turtle_exp_P4=Expression("blk_turtle_exp_P4","","","","var bl_gcbdeheg=function(){\nTURTLE_INIT(\"P4\",P4);\nTURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('4'));\nreturn TURTLE_RESULT()\n};\nbl_gcbdeheg()","-155.63797735878396","71.10773211095564");
blk_turtle_exp_P5=Expression("blk_turtle_exp_P5","","","","var bl_gaigbggfi=function(){\nTURTLE_INIT(\"P5\",P5);\nTURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('5'));\nreturn TURTLE_RESULT()\n};\nbl_gaigbggfi()","-155.63797735878396","71.10773211095564");
blk_turtle_exp_P6=Expression("blk_turtle_exp_P6","","","","var bl_fihjbabec=function(){\nTURTLE_INIT(\"P6\",P6);\nTURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('6'));\nreturn TURTLE_RESULT()\n};\nbl_fihjbabec()","-155.63797735878396","71.10773211095564");
blk_turtle_exp_P17=Expression("blk_turtle_exp_P17","","","","var bl_giifaicb=function(){\nTURTLE_INIT(\"P17\",P17);\n/**\n * Décrire cette fonction…\n */\nfunction create_banner() {\n if (!(GetCanvas()[\"comment_div\"])) {\n var blockly_var_div = (document.createElement(\"DIV\"));\n var blockly_var_lne = (blockly_var_div.style[\"cssText\"]=\"position:absolute;left:0px;top:0px;width:100%;height:70px;background:#007BBE;color:white;text-align:center;font-family:'Open Sans',sans-serif;pointer-events:none\");\n var blockly_var_div_inner = (document.createElement(\"DIV\"));\n blockly_var_lne = (blockly_var_div_inner.style[\"cssText\"]=\"position:relative;float:left;top:50%;left:50%;transform:translate(-50%,-50%)\");\n blockly_var_lne = (blockly_var_div.appendChild(blockly_var_div_inner));\n blockly_var_lne = (GetCanvas().getDocObject().parentNode.appendChild(blockly_var_div));\n blockly_var_lne = (GetCanvas()[\"comment_div\"]=blockly_var_div);\n }\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_height(blockly_local_height) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"height\"]=blockly_local_height+\"px\");\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_backgroundColor(blockly_local_color) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"background\"]=blockly_local_color);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_backgroundOpacity(blockly_local_opacity) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"opacity\"]=blockly_local_opacity);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_textColor(blockly_local_color) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"color\"]=blockly_local_color);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_textSize(blockly_local_size) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"font-size\"]=blockly_local_size+\"px\");\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction evaluate_TeX(blockly_local_txt) {\n var blockly_var_tab = (blockly_local_txt.split(\"$$\"));\n for (var blockly_var_i = 2 ; blockly_var_i <= blockly_var_tab.length ; blockly_var_i = blockly_var_i + 2){\n blockly_var_tab[blockly_var_i-1] = (function(){try{return GetCanvas().getDocObject().ownerDocument.defaultView.katex.renderToString(blockly_var_tab[blockly_var_i-1])}catch(e){return 0}}());\n };\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].firstChild.innerHTML=blockly_var_tab.join(\"\"));\n blockly_var_lne = (GetCanvas()[\"banner_comment\"]=blockly_local_txt);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_text(blockly_local_txt) {\n if (GetCanvas()[\"banner_comment\"]!==blockly_local_txt) {\n if (GetCanvas().getDocObject().ownerDocument.defaultView.$U.katexLoaded(evaluate_TeX,[blockly_local_txt])) {\n evaluate_TeX(blockly_local_txt);\n }\n }\n}\n\n\ncreate_banner();\nset_text(String(TURTLE_TEXT('Placer les jetons de telle façon que la somme des nombres inscrits aux trois sommets de n’importe quel triangle bleu soit la même .')));\nset_height(90);\nset_textColor(TURTLE_TEXT('#FFFFFF'));\nset_backgroundColor(TURTLE_TEXT('#007BBE'));\nset_backgroundOpacity(0.9);\nset_textSize(24);\nreturn TURTLE_RESULT()\n};\nbl_giifaicb()","-155.63797735878396","71.10773211095564");
AA=Expression("AA","","","","var bl_bfhjfecgifjic=function(){\nif (Math.times((d((P1),(A))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(A))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(A))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(A))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(A))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(A))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjic()","-147.74519959809803","69.73857678512238");
C=Point("C","A+[-cos(60),-sin(60)]*240/pixel()","0");
E=Point("E","A+[cos(60),-sin(60)]*240/pixel()","0");
C6=Circle1("C6",A,"a");
C13=Circle1("C13",A,"a");
blk_turtle_list_P1=List("blk_turtle_list_P1",blk_turtle_exp_P1);
blk_turtle_list_P2=List("blk_turtle_list_P2",blk_turtle_exp_P2);
blk_turtle_list_P3=List("blk_turtle_list_P3",blk_turtle_exp_P3);
blk_turtle_list_P4=List("blk_turtle_list_P4",blk_turtle_exp_P4);
blk_turtle_list_P5=List("blk_turtle_list_P5",blk_turtle_exp_P5);
blk_turtle_list_P6=List("blk_turtle_list_P6",blk_turtle_exp_P6);
blk_turtle_list_P17=List("blk_turtle_list_P17",blk_turtle_exp_P17);
EE=Expression("EE","","","","var bl_bfhjfecgifjic=function(){\nif (Math.times((d((P1),(E))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(E))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(E))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(E))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(E))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(E))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjic()","-146.61765991800002","69.49696113938708");
CC=Expression("CC","","","","var bl_bfhjfecgifjid=function(){\nif (Math.times((d((P1),(C))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(C))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(C))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(C))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(C))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(C))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjid()","-147.74519959809803","68.93319129933808");
S1=Segment("S1",A,C);
S2=Segment("S2",C,E);
S3=Segment("S3",E,A);
B=MidPoint("B",A,C);
D=MidPoint("D",C,E);
F=MidPoint("F",E,A);
C1=Circle1("C1",C,"a");
C3=Circle1("C3",E,"a");
C16=Circle1("C16",C,"a");
C18=Circle1("C18",E,"a");
FF=Expression("FF","","","","var bl_bfhjfecgifjid=function(){\nif (Math.times((d((P1),(F))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(F))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(F))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(F))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(F))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(F))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjid()","-146.61765991800002","69.09426839649493");
DD=Expression("DD","","","","var bl_bfhjfecgifjie=function(){\nif (Math.times((d((P1),(D))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(D))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(D))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(D))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(D))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(D))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjie()","-146.61765991800002","69.8191153337008");
BB=Expression("BB","","","","var bl_bfhjfecgifjie=function(){\nif (Math.times((d((P1),(B))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(B))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(B))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(B))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(B))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(B))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjie()","-147.74519959809803","69.33588404223022");
C2=Circle1("C2",D,"a");
C4=Circle1("C4",F,"a");
C5=Circle1("C5",B,"a");
p4=OrderedIntersection("p4",S1,C6,0);
p6=OrderedIntersection("p6",S1,C1,1);
P7=OrderedIntersection("P7",S2,C1,0);
P10=OrderedIntersection("P10",S2,C3,1);
P11=OrderedIntersection("P11",S3,C3,0);
P14=OrderedIntersection("P14",S3,C6,1);
Poly1=Polygon("Poly1","_A,_B,_F");
Poly2=Polygon("Poly2","_B,_C,_D");
Poly3=Polygon("Poly3","_F,_D,_E");
C14=Circle1("C14",B,"a");
C15=Circle1("C15",F,"a");
C17=Circle1("C17",D,"a");
def=Expression("def","","","","var bl_bfhjfecgifjie=function(){\nif (Math.plus(Math.plus((DD),(EE)),(FF)) > 0) {\n return ((Math.plus(Math.plus((DD),(EE)),(FF))));\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjie()","-148.87273927819598","67.56403597350482");
bcd=Expression("bcd","","","","var bl_bfhjfecgifjif=function(){\nif (Math.plus(Math.plus((CC),(DD)),(BB)) > 0) {\n return ((Math.plus(Math.plus((CC),(DD)),(BB))));\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjif()","-148.95327782677444","67.88619016781853");
abf=Expression("abf","","","","var bl_bfhjfecgifjif=function(){\nif (Math.plus(Math.plus((AA),(BB)),(FF)) > 0) {\n return ((Math.plus(Math.plus((AA),(BB)),(FF))));\n} else {\n return (-100);\n}\n};\nbl_bfhjfecgifjif()","-148.87273927819598","68.1278058135538");
p5=OrderedIntersection("p5",S1,C5,1);
P8=OrderedIntersection("P8",S2,C2,1);
P9=OrderedIntersection("P9",S2,C2,0);
P12=OrderedIntersection("P12",S3,C4,1);
P13=OrderedIntersection("P13",S3,C4,0);
P15=OrderedIntersection("P15",S1,C5,0);
blk_turtle_exp_P16=Expression("blk_turtle_exp_P16","","","","var bl_bdadbigej=function(){\nTURTLE_INIT(\"P16\",P16);\nTURTLE_FONT('Georgia',30,'italic','center');\nblockly_var_Idem = (abf) == (bcd) && (abf) == (def);\nblockly_var_Signes = Math.plus(Math.plus((abf),(bcd)),(def)) > 0;\nif (blockly_var_Signes && blockly_var_Idem) {\n TURTLE_COLOUR(39);\n TURTLE_PRINT(TURTLE_TEXT('Bravo !'));\n} else {\n TURTLE_COLOUR(6);\n TURTLE_PRINT(TURTLE_TEXT('Cherche encore !!!'));\n}\nreturn TURTLE_RESULT()\n};\nbl_bdadbigej()","-155.63797735878396","71.10773211095564");
blk_turtle_list_P16=List("blk_turtle_list_P16",blk_turtle_exp_P16);
// Styles :
STL(a,"c:#76056d;h:1;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MTtzOjEwO2Y6MzA=");
STL(P1,"c:#56ed34;s:9;l:-1;f:30;sp:1;fl:true;mg:[C,20],[D,20],[E,20],[B,20],[F,20],[A,20]");
STL(P2,"c:#f690a0;s:9;l:-1;f:30;sp:1;fl:true;mg:[C,20],[D,20],[E,20],[B,20],[F,20],[A,20]");
STL(P3,"c:#adadf6;s:8;l:-1;f:30;sp:1;fl:true;mg:[C,20],[D,20],[E,20],[B,20],[F,20],[A,20]");
STL(P4,"c:#efc870;s:9.5;l:-2;f:30;sp:1;fl:true;mg:[C,20],[D,20],[E,20],[B,20],[F,20],[A,20]");
STL(P5,"c:#f3be54;s:9;l:-1;f:30;sp:1;fl:true;mg:[C,20],[D,20],[E,20],[B,20],[F,20],[A,20]");
STL(P6,"c:#7fbdf9;s:9;l:-1;f:30;sp:1;fl:true;mg:[C,20],[D,20],[E,20],[B,20],[F,20],[A,20]");
STL(P16,"c:#f6e4bc;s:6;l:-2;f:30;sp:1;nmi:true;fl:true");
STL(P17,"c:#efc870;s:6;f:30;sp:2;fl:true");
STL(A,"c:#0000b2;h:1;s:6;sn:true;f:30;fl:true");
STL(cacher,"c:#ffffff;s:7;sn:true;f:16;p:2;nmi:true;cL:200;cPT:YzojNzgwMDEzO3M6MTA7ZjozMA==");
STL(C7,"c:#32d282;o:0.53;s:1;f:30;p:0;nmi:true");
STL(C8,"c:#cc1c37;o:0.45;s:1;f:30;p:0;nmi:true");
STL(C9,"c:#2626de;o:0.4;s:1;f:30;p:0;nmi:true");
STL(C10,"c:#ffe914;o:0.5;s:1;f:30;p:0;nmi:true");
STL(C11,"c:#b77e0c;o:0.53;s:1;f:30;p:0;nmi:true");
STL(C12,"c:#25e7e7;o:0.56;s:1;f:30;p:0;nmi:true");
STL(blk_turtle_exp_P1,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(blk_turtle_exp_P2,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(blk_turtle_exp_P3,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(blk_turtle_exp_P4,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(blk_turtle_exp_P5,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(blk_turtle_exp_P6,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(blk_turtle_exp_P17,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(AA,"c:#122157;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(C,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(E,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(C6,"c:#fcf7fc;o:1;s:2.5;l:-2;f:30;p:0;nmi:true");
STL(C13,"c:#cc223c;s:2.5;l:-1;f:30;p:0;nmi:true");
STL(blk_turtle_list_P1,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
STL(blk_turtle_list_P2,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
STL(blk_turtle_list_P3,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
STL(blk_turtle_list_P4,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
STL(blk_turtle_list_P5,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
STL(blk_turtle_list_P6,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
STL(blk_turtle_list_P17,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
STL(EE,"c:#4c1413;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(CC,"c:#171a59;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(S1,"c:#8e8a8e;h:1;s:3;f:24");
STL(S2,"c:#8e8a8e;h:1;s:3;f:24");
STL(S3,"c:#8e8a8e;h:1;s:3;f:24");
STL(B,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(D,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(F,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(C1,"c:#ffffff;o:0.96;s:2.5;l:-2;f:30;p:0;nmi:true");
STL(C3,"c:#f9f9f9;o:1;s:2.5;l:-2;f:30;p:0;nmi:true");
STL(C16,"c:#cc213c;s:2.5;l:-1;f:30;p:0;nmi:true");
STL(C18,"c:#cc213c;s:2.5;l:-1;f:30;p:0;nmi:true");
STL(FF,"c:#6a191f;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(DD,"c:#2e5c52;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(BB,"c:#1f773b;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(C2,"c:#ffffff;o:0.99;s:2.5;l:-2;f:30;p:0;nmi:true");
STL(C4,"c:#ffffff;o:0.99;s:2.5;l:-2;f:30;p:0;nmi:true");
STL(C5,"c:#ffffff;o:1;s:2.5;l:-2;f:30;p:0;nmi:true");
STL(p4,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(p6,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(P7,"c:#0000b2;h:1;s:6;f:30");
STL(P10,"c:#0000b2;h:1;s:6;f:30");
STL(P11,"c:#0000b2;h:1;s:6;f:30");
STL(P14,"c:#0000b2;h:1;s:6;f:30");
STL(Poly1,"c:#62a4e4;o:0.86;s:1;l:-4;f:30;nmi:true");
STL(Poly2,"c:#62a4e4;o:0.86;s:1;l:-4;f:30;nmi:true");
STL(Poly3,"c:#62a4e4;o:0.86;s:1;l:-4;f:30;nmi:true");
STL(C14,"c:#cc213c;s:2.5;l:-1;f:30;p:0;nmi:true");
STL(C15,"c:#cc213c;s:2.5;l:-1;f:30;p:0;nmi:true");
STL(C17,"c:#cc213c;s:2.5;l:-1;f:30;p:0;nmi:true");
STL(def,"c:#652064;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(bcd,"c:#765c3a;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(abf,"c:#7d395c;h:2;s:7;sn:true;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(p5,"c:#0000b2;h:1;s:6;sn:true;f:30");
STL(P8,"c:#0000b2;h:1;s:6;f:30");
STL(P9,"c:#0000b2;h:1;s:6;f:30");
STL(P12,"c:#0000b2;h:1;s:6;f:30");
STL(P13,"c:#0000b2;h:1;s:6;f:30");
STL(P15,"c:#0000b2;h:1;s:6;f:30");
STL(blk_turtle_exp_P16,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA=");
STL(blk_turtle_list_P16,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1");
SetCoordsStyle("isAxis:false;isGrid:true;isOx:true;isOy:true;isLockOx:false;isLockOy:false;centerZoom:false;onlyPositive:false;color:#111111;fontSize:18;axisWidth:1;gridWidth:0.1");
SetGeneralStyle("background-color:#ffffff;degree:true;dragmoveable:true");
// Blockly :
BLK(P1,{"onlogo":{"xml":"#0000007penUpturnLeft90moveBackwardpx15turnRight90Arial45normalcenter1","sync":"TURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('1'));"},"current":"onlogo"});
BLK(P2,{"onlogo":{"xml":"#0000007penUpturnLeft90moveBackwardpx15turnRight90Arial45normalcenter2","sync":"TURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('2'));"},"current":"onlogo"});
BLK(P3,{"onlogo":{"xml":"#0000007penUpturnLeft90moveBackwardpx15turnRight90Arial45normalcenter3","sync":"TURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('3'));"},"current":"onlogo"});
BLK(P4,{"onlogo":{"xml":"#0000007penUpturnLeft90moveBackwardpx15turnRight90Arial45normalcenter4","sync":"TURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('4'));"},"current":"onlogo"});
BLK(P5,{"onlogo":{"xml":"#0000007penUpturnLeft90moveBackwardpx15turnRight90Arial45normalcenter5","sync":"TURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('5'));"},"current":"onlogo"});
BLK(P6,{"onlogo":{"xml":"#0000007penUpturnLeft90moveBackwardpx15turnRight90Arial45normalcenter6","sync":"TURTLE_COLOUR(7);\nTURTLE_UP(true);\nTURTLE_TURN((90));\nTURTLE_MV(-15,true);\nTURTLE_TURN(-(90));\nTURTLE_FONT('Arial',45,'normal','center');\nTURTLE_PRINT(TURTLE_TEXT('6'));"},"current":"onlogo"});
BLK(P16,{"onlogo":{"xml":"Georgia30italiccenterIdemANDEQabfbcdEQabfdefSignesGTADDADDabfbcddef0ANDSignesIdem#33cc0039Bravo !#3333336Cherche encore !!!","sync":"TURTLE_FONT('Georgia',30,'italic','center');\nblockly_var_Idem = (abf) == (bcd) && (abf) == (def);\nblockly_var_Signes = Math.plus(Math.plus((abf),(bcd)),(def)) > 0;\nif (blockly_var_Signes && blockly_var_Idem) {\n TURTLE_COLOUR(39);\n TURTLE_PRINT(TURTLE_TEXT('Bravo !'));\n} else {\n TURTLE_COLOUR(6);\n TURTLE_PRINT(TURTLE_TEXT('Cherche encore !!!'));\n}","parents":["abf","bcd","def"]},"current":"onlogo"});
BLK(P17,{"onlogo":{"xml":"create_bannerDécrire cette fonction…GetCanvas()[\"comment_div\"]divdocument.createElement(\"DIV\")lneblockly_var_div.style[\"cssText\"]=\"position:absolute;left:0px;top:0px;width:100%;height:70px;background:#007BBE;color:white;text-align:center;font-family:'Open Sans',sans-serif;pointer-events:none\"div_innerdocument.createElement(\"DIV\")lneblockly_var_div_inner.style[\"cssText\"]=\"position:relative;float:left;top:50%;left:50%;transform:translate(-50%,-50%)\"lneblockly_var_div.appendChild(blockly_var_div_inner)lneGetCanvas().getDocObject().parentNode.appendChild(blockly_var_div)lneGetCanvas()[\"comment_div\"]=blockly_var_divset_heightDécrire cette fonction…lneGetCanvas()[\"comment_div\"].style[\"height\"]=blockly_local_height+\"px\"set_backgroundColorDécrire cette fonction…lneGetCanvas()[\"comment_div\"].style[\"background\"]=blockly_local_colorset_backgroundOpacityDécrire cette fonction…lneGetCanvas()[\"comment_div\"].style[\"opacity\"]=blockly_local_opacityset_textColorDécrire cette fonction…lneGetCanvas()[\"comment_div\"].style[\"color\"]=blockly_local_colorset_textSizeDécrire cette fonction…lneGetCanvas()[\"comment_div\"].style[\"font-size\"]=blockly_local_size+\"px\"evaluate_TeXDécrire cette fonction…tabblockly_local_txt.split(\"$$\")i2tab2tabifunction(){try{return GetCanvas().getDocObject().ownerDocument.defaultView.katex.renderToString(blockly_var_tab[blockly_var_i-1])}catch(e){return 0}}()lneGetCanvas()[\"comment_div\"].firstChild.innerHTML=blockly_var_tab.join(\"\")lneGetCanvas()[\"banner_comment\"]=blockly_local_txtset_textDécrire cette fonction…GetCanvas()[\"banner_comment\"]!==blockly_local_txtGetCanvas().getDocObject().ownerDocument.defaultView.$U.katexLoaded(evaluate_TeX,[blockly_local_txt])txtPlacer les jetons de telle façon que la somme des nombres inscrits aux trois sommets de n’importe quel triangle bleu soit la même .90#FFFFFF#007BBE0.924","sync":"/**\n * Décrire cette fonction…\n */\nfunction create_banner() {\n if (!(GetCanvas()[\"comment_div\"])) {\n var blockly_var_div = (document.createElement(\"DIV\"));\n var blockly_var_lne = (blockly_var_div.style[\"cssText\"]=\"position:absolute;left:0px;top:0px;width:100%;height:70px;background:#007BBE;color:white;text-align:center;font-family:'Open Sans',sans-serif;pointer-events:none\");\n var blockly_var_div_inner = (document.createElement(\"DIV\"));\n blockly_var_lne = (blockly_var_div_inner.style[\"cssText\"]=\"position:relative;float:left;top:50%;left:50%;transform:translate(-50%,-50%)\");\n blockly_var_lne = (blockly_var_div.appendChild(blockly_var_div_inner));\n blockly_var_lne = (GetCanvas().getDocObject().parentNode.appendChild(blockly_var_div));\n blockly_var_lne = (GetCanvas()[\"comment_div\"]=blockly_var_div);\n }\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_height(blockly_local_height) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"height\"]=blockly_local_height+\"px\");\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_backgroundColor(blockly_local_color) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"background\"]=blockly_local_color);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_backgroundOpacity(blockly_local_opacity) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"opacity\"]=blockly_local_opacity);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_textColor(blockly_local_color) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"color\"]=blockly_local_color);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_textSize(blockly_local_size) {\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].style[\"font-size\"]=blockly_local_size+\"px\");\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction evaluate_TeX(blockly_local_txt) {\n var blockly_var_tab = (blockly_local_txt.split(\"$$\"));\n for (var blockly_var_i = 2 ; blockly_var_i <= blockly_var_tab.length ; blockly_var_i = blockly_var_i + 2){\n blockly_var_tab[blockly_var_i-1] = (function(){try{return GetCanvas().getDocObject().ownerDocument.defaultView.katex.renderToString(blockly_var_tab[blockly_var_i-1])}catch(e){return 0}}());\n };\n var blockly_var_lne = (GetCanvas()[\"comment_div\"].firstChild.innerHTML=blockly_var_tab.join(\"\"));\n blockly_var_lne = (GetCanvas()[\"banner_comment\"]=blockly_local_txt);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction set_text(blockly_local_txt) {\n if (GetCanvas()[\"banner_comment\"]!==blockly_local_txt) {\n if (GetCanvas().getDocObject().ownerDocument.defaultView.$U.katexLoaded(evaluate_TeX,[blockly_local_txt])) {\n evaluate_TeX(blockly_local_txt);\n }\n }\n}\n\n\ncreate_banner();\nset_text(String(TURTLE_TEXT('Placer les jetons de telle façon que la somme des nombres inscrits aux trois sommets de n’importe quel triangle bleu soit la même .')));\nset_height(90);\nset_textColor(TURTLE_TEXT('#FFFFFF'));\nset_backgroundColor(TURTLE_TEXT('#007BBE'));\nset_backgroundOpacity(0.9);\nset_textSize(24);"},"current":"onlogo"});
BLK(cacher,{"oncompute":{"xml":"AA2BB2CC2DD2EE2FF2abf2bcd2def2","sync":"BLK_STL(\"AA\",\"setHidden\",[2]);\nBLK_STL(\"BB\",\"setHidden\",[2]);\nBLK_STL(\"CC\",\"setHidden\",[2]);\nBLK_STL(\"DD\",\"setHidden\",[2]);\nBLK_STL(\"EE\",\"setHidden\",[2]);\nBLK_STL(\"FF\",\"setHidden\",[2]);\nBLK_STL(\"abf\",\"setHidden\",[2]);\nBLK_STL(\"bcd\",\"setHidden\",[2]);\nBLK_STL(\"def\",\"setHidden\",[2]);"},"current":"oncompute"});
BLK(AA,{"oncompute":{"xml":"LTMULTIPLYP1Apixel11LTMULTIPLYP2Apixel12LTMULTIPLYP3Apixel13LTMULTIPLYP4Apixel14LTMULTIPLYP5Apixel15LTMULTIPLYP6Apixel16-100","sync":"if (Math.times((d((P1),(A))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(A))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(A))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(A))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(A))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(A))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}","parents":["P1","A","P2","P3","P4","P5","P6"]},"current":"oncompute"});
BLK(EE,{"oncompute":{"xml":"LTMULTIPLYP1Epixel11LTMULTIPLYP2Epixel12LTMULTIPLYP3Epixel13LTMULTIPLYP4Epixel14LTMULTIPLYP5Epixel15LTMULTIPLYP6Epixel16-100","sync":"if (Math.times((d((P1),(E))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(E))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(E))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(E))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(E))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(E))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}","parents":["P1","E","P2","P3","P4","P5","P6"]},"current":"oncompute"});
BLK(CC,{"oncompute":{"xml":"LTMULTIPLYP1Cpixel11LTMULTIPLYP2Cpixel12LTMULTIPLYP3Cpixel13LTMULTIPLYP4Cpixel14LTMULTIPLYP5Cpixel15LTMULTIPLYP6Cpixel16-100","sync":"if (Math.times((d((P1),(C))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(C))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(C))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(C))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(C))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(C))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}","parents":["P1","C","P2","P3","P4","P5","P6"]},"current":"oncompute"});
BLK(FF,{"oncompute":{"xml":"LTMULTIPLYP1Fpixel11LTMULTIPLYP2Fpixel12LTMULTIPLYP3Fpixel13LTMULTIPLYP4Fpixel14LTMULTIPLYP5Fpixel15LTMULTIPLYP6Fpixel16-100","sync":"if (Math.times((d((P1),(F))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(F))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(F))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(F))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(F))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(F))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}","parents":["P1","F","P2","P3","P4","P5","P6"]},"current":"oncompute"});
BLK(DD,{"oncompute":{"xml":"LTMULTIPLYP1Dpixel11LTMULTIPLYP2Dpixel12LTMULTIPLYP3Dpixel13LTMULTIPLYP4Dpixel14LTMULTIPLYP5Dpixel15LTMULTIPLYP6Dpixel16-100","sync":"if (Math.times((d((P1),(D))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(D))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(D))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(D))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(D))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(D))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}","parents":["P1","D","P2","P3","P4","P5","P6"]},"current":"oncompute"});
BLK(BB,{"oncompute":{"xml":"LTMULTIPLYP1Bpixel11LTMULTIPLYP2Bpixel12LTMULTIPLYP3Bpixel13LTMULTIPLYP4Bpixel14LTMULTIPLYP5Bpixel15LTMULTIPLYP6Bpixel16-100","sync":"if (Math.times((d((P1),(B))),(pixel())) < 1) {\n return (1);\n} else if (Math.times((d((P2),(B))),(pixel())) < 1) {\n return (2);\n} else if (Math.times((d((P3),(B))),(pixel())) < 1) {\n return (3);\n} else if (Math.times((d((P4),(B))),(pixel())) < 1) {\n return (4);\n} else if (Math.times((d((P5),(B))),(pixel())) < 1) {\n return (5);\n} else if (Math.times((d((P6),(B))),(pixel())) < 1) {\n return (6);\n} else {\n return (-100);\n}","parents":["P1","B","P2","P3","P4","P5","P6"]},"current":"oncompute"});
BLK(def,{"oncompute":{"xml":"GTADDADDDDEEFF0ADDADDDDEEFF-100","sync":"if (Math.plus(Math.plus((DD),(EE)),(FF)) > 0) {\n return ((Math.plus(Math.plus((DD),(EE)),(FF))));\n} else {\n return (-100);\n}","parents":["DD","EE","FF"]},"current":"oncompute"});
BLK(bcd,{"oncompute":{"xml":"GTADDADDCCDDBB0ADDADDCCDDBB-100","sync":"if (Math.plus(Math.plus((CC),(DD)),(BB)) > 0) {\n return ((Math.plus(Math.plus((CC),(DD)),(BB))));\n} else {\n return (-100);\n}","parents":["CC","DD","BB"]},"current":"oncompute"});
BLK(abf,{"oncompute":{"xml":"GTADDADDAABBFF0ADDADDAABBFF-100","sync":"if (Math.plus(Math.plus((AA),(BB)),(FF)) > 0) {\n return ((Math.plus(Math.plus((AA),(BB)),(FF))));\n} else {\n return (-100);\n}","parents":["AA","BB","FF"]},"current":"oncompute"});