{"version":3,"sources":["webpack:///./src/components/mathematics/Math11thGrade/sets3/Lesson.vue","webpack:///./src/components/mathematics/Math11thGrade/sets3/Boxes.js","webpack:///src/components/mathematics/Math11thGrade/quizSets/Lesson.vue","webpack:///./src/components/mathematics/Math11thGrade/sets3/Lesson.vue?bfec","webpack:///./src/components/mathematics/Math11thGrade/sets3/Lesson.vue?3938"],"names":["ref","attrs","staticClass","staticRenderFns","Boxes","box1","JXG","Options","point","showInfoBox","highlight","text","fixed","circle","image","cssDefaultStyle","graph","createSpace","options","layer","makeResponsive","placeTitle","placeLeftText","txt1","shuffle","placeShuffle","hoverMe","tap","placeTest","placeLogo","placeWhite","placeBCircles","placeCircles","posx_ed1","posy_ed1","sizeOk","size_ed","right_answer","i","maxSteps","radius","ax","ay","bx","by","cx","cy","wpol","hpol","color1","color2","current_colorA","current_colorB","current_colorC","current_colorAB","current_colorAC","current_colorBC","current_colorABC","current_colorUniverse","joinCurves","board","parents","attributes","curves","attr","copyAttributes","c","create","updateDataArray","length","this","dataX","dataY","concat","slice","bezierDegree","prepareUpdate","update","updateVisibility","updateRenderer","visible","anchorX","anchorY","CssStyle","fontSize","Math","round","canvasWidth","universe","fillOpacity","dash","strokeColor","strokeWidth","fillColor","highlightStrokeColor","highlightfillColor","p1","face","name","size","withLabel","label","canvasHeight","cssStyle","p2","a1","p3","p4","a2","p5","p6","a3","i1","i2","i3","i4","i5","i6","c1","c2","c3","c4","c5","c6","c7","c8","c9","AC","BC","AB","ABC","getMouseCoords","e","cPos","getCoordsTopLeftCorner","absPos","getPosition","dx","dy","Coords","COORDS_BY_SCREEN","colorThings","coords","el","canCreate","touchProperty","objects","isPoint","hasPoint","scrCoords","posx","usrCoords","posy","insideA","insideB","insideC","colorA","colorB","colorC","colorAB","colorAC","colorBC","colorABC","colorUniverse","pow","setAttribute","on","ok1","ok2","display","cross1","cross2","edliy11","edliy22","X","edliy33","edliy44","edliy1","edliy2","edliy3","edliy4","whiteEverything","solution1","solution2","solution3","solution4","solution5","shuffleit","setText","check_answer","setTimeout","hideOk","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newMath","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","meta","vmid","content","component"],"mappings":"mJAA4D,EAAU,W,IAAgBA,EAAI,KAAQ,EAAK,EAAI,S,OAAyO,iBAAK,IAAK,SAAiRC,GAAK,GAAC,+N,IAAC,MAAmB,kQAAE,MAAK,CAAOC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CACltB,mBACyC,IAAC,IAAqB,EAAe,Y,IAACA,OAAgB,EAAK,EAAI,MAAK,GAC5G,eAEF,YAAiBC,K,u5BC4BXC,EAAQ,CACVC,KAAM,WACJC,IAAIC,QAAQC,MAAMC,aAAY,EAC9BH,IAAIC,QAAQC,MAAME,WAAU,EAC5BJ,IAAIC,QAAQI,KAAKD,WAAU,EAC3BJ,IAAIC,QAAQI,KAAKC,OAAM,EAEvBN,IAAIC,QAAQM,OAAOH,WAAU,EAC7BJ,IAAIC,QAAQO,MAAMJ,WAAU,EAC5BJ,IAAIC,QAAQI,KAAKI,gBAAgB,qBACjC,IAAIC,EAAQC,gBAAa,GAAI,IAAK,GAAI,IACtCD,EAAME,QAAQC,MAAM,SAAS,GAE7BC,eAAeJ,GAEfK,eAAWL,EAAO,eAAgB,IAIlCM,eAAcN,GAAQ,EAAG,IAAK,kCAC9B,IAAIO,EAAOD,eAAcN,GAAQ,IAAK,IAAK,UAEvCQ,EAASC,eAAaT,GAC1BU,eAAQV,EAAOQ,EAAS,kBAAmB,GAAI,GAC/C,IAAIG,EAAKC,eAAUZ,EAAO,QAC1BU,eAAQV,EAAOW,EAAK,qBAAsB,GAAI,GAC9CE,eAAUb,GAEDc,eAAWd,GACVe,eAAcf,GACfgB,eAAahB,GAFtB,IAOIiB,GAAY,GACZC,EAAW,EACXC,EAAS,EACTC,EAAU,GAMVC,EAAe,EAEfC,EAAE,EACFC,EAAW,EAEXC,EAAS,IACTC,GAAM,EACNC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F,GAAOL,aAAa,CAACrF,SAAS,IAC9B2F,GAAON,aAAa,CAACrF,SAAS,IAC9B8G,YAAW,WAAW,OAAOC,IAAO,KAAW,MAIvD,SAASA,KACLxB,GAAIF,aAAa,CAACrF,SAAS,IAC3BwF,GAAIH,aAAa,CAACrF,SAAS,IAC3B0F,GAAOL,aAAa,CAACrF,SAAS,IAC9B2F,GAAON,aAAa,CAACrF,SAAS,IApExCxD,EAAQ8I,GAAG,QAAQ,WAAWqB,KAAYN,QAuEpC1J,EAAI2I,GAAG,QAAO,WAAYuB,UAIjBzL,ICjmBA,GACf8F,KAAA,cACA8F,QAAA,eAAAC,EAAA,KACA,KAAAC,OAAAC,OAAA,yBACA,IAAAC,EAAA,eACA,KAAAF,OAAAC,OAAA,yBAAAC,GACA,KAAAF,OAAAC,OAAA,wBAAAC,GACA,IAAAC,EAAA,CACA,CAAAD,MAAA,eAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,WACA,CAAAJ,MAAA,aAAAE,IAAA,oBAAAC,OAAA,kBAAAN,EAAAO,KAAA,SAEA,KAAAN,OAAAC,OAAA,2BAAAE,GACA,IAAAI,GAAA,EACA,KAAAP,OAAAC,OAAA,4BAAAM,GACA,IAAAC,GAAA,EACA,KAAAR,OAAAC,OAAA,yBAAAO,GACA,IAAAC,GAAA,EACA,KAAAT,OAAAC,OAAA,8BAAAQ,GACA,IAAAC,GAAA,EACA,KAAAV,OAAAC,OAAA,2BAAAS,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACA3M,EAAAC,QAEA4M,SAAA,CACAb,MAAA,eAEAc,KAAA,CACA,CAAAC,KAAA,cAAAjH,KAAA,cAAAkH,QAAA,+CCvE6X,I,YCOzXC,EAAY,eACd,EACA,EACAlN,GACA,EACA,KACA,KACA,MAIa,aAAAkN,E","file":"js/chunk-2d21ed85.8bc8eca1.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',{ref:\"intro\"},[_vm._v(\"\\n Venn Diagram\\n \")]),_c('p',[_vm._v(\"\\n A Venn diagram is a graphical way to represent sets, relationships amongst sets, and mathematical operations on sets. Below are some basic definitions.\\n \")]),_vm._m(0),_c('h3',{ref:\"pg\"},[_vm._v(\"\\n MagicGraph | Venn Diagram\\n \")]),_c('p',[_vm._v(\"\\n In this MagicGraph, you will learn about graphically representing sets using Venn diagrams.\\n Hover over a set definition to see it Venn diagram representation.\\n \")]),_c('v-responsive',[_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1\"}})])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('ul',{staticClass:\"a\"},[_c('li',[_c('h5',[_vm._v(\" Definition of a Set \")])]),_c('p',[_vm._v(\"\\n A set represents a collection of objects that share a common characteristics.\\n For example — A ={2, 4, 6, 8, 10, 12} represents the set of even numbers. Every element of this set is an even number. Let's take another example —\\n B ={3, 6, 9, 12, 15} represents the set of multiples of 3.\\n \")]),_c('li',[_c('h5',[_vm._v(\" Union of Sets \")])]),_c('p',[_vm._v(\"\\n The union of sets A and B is the set that contains all the elements of set A and that of set B — however the common elements are taken only once.\\n The union of sets A and B is written as A ⋃ B.\\n \")]),_c('li',[_c('h5',[_vm._v(\"Intersection of Sets \")])]),_c('p',[_vm._v(\"\\n The intersection of sets A and B is the set that contains the elements which are common to both A and B.\\n The intersection of sets A and B is written as A ⋂ B.\\n \")])])\n}]\n\nexport { render, staticRenderFns }","import {\r\n makeResponsive,\r\n placeTitle,\r\n placeImage,\r\n placeInput,\r\n placeSlider,\r\n hoverMe,\r\n placeRec,\r\n hiddenPt,\r\n fixedPt,\r\n clearInputFields,\r\n dragMe,\r\n placeArrow,\r\n placeGravity,\r\n placeText,\r\n placeLine,\r\n placePoint,\r\n placeGlider,\r\n placeRuler,\r\n placeLeftText,\r\n placeSliderSwitch,\r\n placeRightText,\r\n placeShuffle,\r\n placeTest,\r\n placeMiddleText,\r\n placeBoldText,\r\n placeLogo,\r\n placeQuestion,\r\n createSpace,\r\n placeWhite,\r\n placeBCircles,\r\n placeCircles\r\n} from '../Utils';\r\nconst Boxes = {\r\n box1: function () {\r\n JXG.Options.point.showInfoBox=false;\r\n JXG.Options.point.highlight=false;\r\n JXG.Options.text.highlight=false;\r\n JXG.Options.text.fixed=true;\r\n // JXG.Options.curve.highlight=false;\r\n JXG.Options.circle.highlight=false;\r\n JXG.Options.image.highlight=false;\r\n JXG.Options.text.cssDefaultStyle='fontFamily:Oswald;'\r\n var graph = createSpace(-10, 10, -10, 10);\r\n graph.options.layer['image']=10;\r\n //Make Responsive\r\n makeResponsive(graph);\r\n //Place Title\r\n placeTitle(graph, 'Venn Diagram', '');\r\n //\r\n //var question = placeQuestion(graph, function(){return 'The Coordinates of Point M are —'});\r\n\r\n placeLeftText(graph, -9, 7.5, 'Select regions that belong to ');\r\n var txt1 = placeLeftText(graph, -2.5, 7.5, 'A ⋃ B.');\r\n //Navigation\r\n var shuffle =placeShuffle(graph);\r\n hoverMe(graph, shuffle, 'Tap to Shuffle', -20, 0);\r\n var tap =placeTest(graph, 'left');\r\n hoverMe(graph, tap, 'Check Your Answer', -20, 0);\r\n placeLogo(graph);\r\n // ANSWERS\r\n var bck =placeWhite(graph);\r\n var show =placeBCircles(graph);\r\n var hide=placeCircles(graph);\r\n //Correct or erase function whiteEverithing ... !!!!\r\n //Variables\r\n var tx = -1;\r\n var ty = -10;\r\n var posx_ed1 = -10;\r\n var posy_ed1 = 9;\r\n var sizeOk = 1.0;\r\n var size_ed = 0.8;\r\n var size_tap = 1;\r\n var max_pages = 5;\r\n var current_page = 0;\r\n var pages = [];\r\n\r\n var right_answer = 0;\r\n\r\n let i=0;\r\n var maxSteps = 5;\r\n\r\n var radius = 2.5;\r\n var ax = -2;\r\n var ay = -1.5;\r\n var bx = 2;\r\n var by = -1.5;\r\n var cx = 0;\r\n var cy = 1.5;\r\n\r\n var wpol = 5;\r\n var hpol = 5;\r\n\r\n var color1 = '#ffffff';\r\n var color2 = '#FF3B3B ';\r\n var color4 = '#5B43FF ';\r\n\r\n var current_colorA = color1;\r\n var current_colorB = color1;\r\n var current_colorC = color1;\r\n\r\n var current_colorAB = color1;\r\n var current_colorAC = color1;\r\n var current_colorBC = color1;\r\n\r\n var current_colorABC = color1;\r\n\r\n var current_colorUniverse = color1;\r\n\r\n\r\n JXG.joinCurves = function(board, parents, attributes) {\r\n var curves = parents,\r\n attr = JXG.copyAttributes(attributes, board.options, 'curve'),\r\n c = board.create('curve', [[0], [0]], attr);\r\n\r\n c.updateDataArray = function() {\r\n var i = curves.length;\r\n\r\n // The paths have to be connected\r\n this.dataX = [];\r\n this.dataY = [];\r\n for (i = 0; i < curves.length; i++) {\r\n if (i < curves.length - 1) {\r\n this.dataX = this.dataX.concat(curves[i].dataX.slice(0,-1));\r\n this.dataY = this.dataY.concat(curves[i].dataY.slice(0,-1));\r\n } else {\r\n this.dataX = this.dataX.concat(curves[i].dataX);\r\n this.dataY = this.dataY.concat(curves[i].dataY);\r\n }\r\n }\r\n\r\n if (this.dataX.length<4) {\r\n this.bezierDegree = 1;\r\n } else {\r\n this.bezierDegree = curves[0].bezierDegree;\r\n }\r\n };\r\n c.prepareUpdate().update().updateVisibility().updateRenderer();\r\n return c;\r\n };\r\n\r\n //Tetxs\r\n var txt_A = graph.create('text', [ax, ay, 'A'],{visible: true, fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(18*graph.canvasWidth/500.)}},);\r\n var txt_B = graph.create('text', [bx, by, 'B'],{visible: true, fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(18*graph.canvasWidth/500.)}},);\r\n var txt_C = graph.create('text', [cx, cy, 'C'],{visible: true, fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(18*graph.canvasWidth/500.)}},);\r\n var txt_U = graph.create('text', [-4, 4, 'U'],{visible: true, fixed: true, anchorX: 'middle', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(18*graph.canvasWidth/500.)}},);\r\n //Polygon\r\n //var universe = graph.create('polygon', [[-wpol, -hpol], [wpol, -hpol], [wpol, hpol], [-wpol, hpol]], {visible: true, vertices:{visible:false, fixed:true}, borders:{visible:true, strokeColor: 'black', strokeWidth: 6, highlightStrokeColor: 'black'}, fillColor: color1, highlightfillColor: color1, highlightfillOpacity: 1.0, fillOpacity:1.0 , layer: 2});\r\n //var universe = placeCircle(graph, [0,0], [5, 0], 'black');\r\n var universe =graph.create('circle', [[0,0], [7, 0]], {fillOpacity:0.5, dash:1, strokeColor: 'black', strokeWidth: 1, fillColor:color1, layer: 2, highlightStrokeColor: 'black', highlightfillColor: color2})\r\n // Create two arcs (or circles)\r\n var p1 = graph.create('point', [ax, ay], {face:'o' , name:'p1', strokeColor: 'black', fillColor: '#5B43FF', size:3, withLabel:true, fixed:true, visible:false, label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var p2 = graph.create('point', [ax + radius, ay], {face:'o' , name:'p2', strokeColor: 'black', fillColor: 'red', size:3, withLabel:true, fixed:true, visible:false, label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var a1 = graph.create('circle', [p1,p2], {fillOpacity:0.75, strokeColor: 'black', dash:1, strokeWidth: 1, fillColor: color1, layer: 2, highlightStrokeColor: 'black', highlightfillColor: color1});\r\n\r\n var p3 = graph.create('point', [bx, by], {face:'o' , name:'p3', strokeColor: 'black', fillColor: '#5B43FF', size:3, withLabel:true, fixed:true, visible:false, label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var p4 = graph.create('point', [bx + radius, by], {face:'o' , name:'p4', strokeColor: 'black', fillColor: 'red', size:3, withLabel:true, fixed:true, visible:false, label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var a2 = graph.create('circle', [p3,p4], {fillOpacity:0.75, strokeColor: 'black', dash:1, strokeWidth: 1, fillColor: color1, layer: 2, highlightStrokeColor: 'black', highlightfillColor: color1});\r\n\r\n var p5 = graph.create('point', [cx, cy], {face:'o' , name:'p5', strokeColor: 'black', fillColor: '#5B43FF', size:3, withLabel:true, fixed:true, visible:false, label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var p6 = graph.create('point', [cx + radius, cy], {face:'o' , name:'p6', strokeColor: 'black', fillColor: 'red', size:3, withLabel:true, fixed:true, visible:false, label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var a3 = graph.create('circle', [p5,p6], {fillOpacity:0.75, strokeColor: 'black', dash:1, strokeWidth:1, fillColor: color1, layer: 2, highlightStrokeColor: 'black', highlightfillColor: color1});\r\n\r\n\r\n // Create two intersection points\r\n var i1 = graph.create('intersection', [a1,a2,1], {visible:false, name:'i1', label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var i2 = graph.create('intersection', [a1,a3,0], {visible:false, name:'i2', label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var i3 = graph.create('intersection', [a2,a3,1], {visible:false, name:'i3', label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var i4 = graph.create('intersection', [a1,a2,0], {visible:false, name:'i4', label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var i5 = graph.create('intersection', [a1,a3,1], {visible:false, name:'i5', label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n var i6 = graph.create('intersection', [a2,a3,0], {visible:false, name:'i6', label:{fontSize:function(){return 18*graph.canvasHeight/800}, cssStyle:'fontFamily:Oswald'}});\r\n\r\n\r\n // Create three arcs surrounding the intersection area\r\n var c1 = graph.create('arc', [p1, i2, i1], {visible:false, strokeColor: 'black', strokeWidth: 0});\r\n var c2 = graph.create('arc', [p3, i1, i3], {visible:false, strokeColor: 'black', strokeWidth: 0});\r\n var c3 = graph.create('arc', [p5, i3, i2], {visible:false, strokeColor: 'black', strokeWidth: 0});\r\n\r\n // Create three arcs surrounding the intersection area AC\r\n var c4 = graph.create('arc', [p1, i2, i5], {visible:false, strokeColor: 'black', strokeWidth: 0});\r\n var c5 = graph.create('arc', [p5, i5, i2], {visible:false, strokeColor: 'black', strokeWidth: 0})\r\n\r\n // Create three arcs surrounding the intersection area BC\r\n var c6 = graph.create('arc', [p3, i6, i3], {visible:false, strokeColor: 'black', strokeWidth: 0});\r\n var c7 = graph.create('arc', [p5, i3, i6], {visible:false, strokeColor: 'black', strokeWidth: 0})\r\n\r\n // Create three arcs surrounding the intersection area BC\r\n var c8 = graph.create('arc', [p1, i4, i1], {visible:false, strokeColor: 'black', strokeWidth: 0});\r\n var c9 = graph.create('arc', [p3, i1, i4], {visible:false, strokeColor: 'black', strokeWidth: 0})\r\n\r\n\r\n // Join the three arcs and fill the area.\r\n\r\n var AC = JXG.joinCurves(graph, [c4, c5],\r\n {fillColor:color1, fillOpacity:0.5, strokeColor: 'black', strokeWidth:1, dash:1\r\n });\r\n\r\n var BC = JXG.joinCurves(graph, [c7, c6],\r\n {fillColor:color1, fillOpacity:0.75, strokeColor: 'black', strokeWidth:1, dash:1\r\n });\r\n\r\n\r\n var AB = JXG.joinCurves(graph, [c9, c8],\r\n {fillColor:color1, fillOpacity:0.75, strokeColor: 'black', strokeWidth:1, dash:1\r\n });\r\n\r\n var ABC = JXG.joinCurves(graph, [c1, c2, c3],\r\n {fillColor:color1, fillOpacity:0.75, strokeColor: 'black', strokeWidth:1, dash:1\r\n });\r\n\r\n\r\n //Functions\r\n var getMouseCoords = function(e, i) {\r\n var cPos = graph.getCoordsTopLeftCorner(e, i),\r\n absPos = JXG.getPosition(e, i),\r\n dx = absPos[0]-cPos[0],\r\n dy = absPos[1]-cPos[1];\r\n\r\n return new JXG.Coords(JXG.COORDS_BY_SCREEN, [dx, dy], graph);\r\n }\r\n\r\n var colorThings = function(e) {\r\n var canCreate = true, i, coords, el;\r\n\r\n if (e[JXG.touchProperty]) {\r\n // index of the finger that is used to extract the coordinates\r\n i = 0;\r\n }\r\n coords = getMouseCoords(e, i);\r\n\r\n for (el in graph.objects) {\r\n if(JXG.isPoint(graph.objects[el]) && graph.objects[el].hasPoint(coords.scrCoords[1], coords.scrCoords[2])) {\r\n canCreate = false;\r\n break;\r\n }\r\n }\r\n\r\n if (canCreate) {\r\n\r\n var posx = coords.usrCoords[1];\r\n var posy = coords.usrCoords[2];\r\n\r\n insideA(posx, posy);\r\n insideB(posx, posy);\r\n insideC(posx, posy);\r\n\r\n colorA(posx, posy);\r\n colorB(posx, posy);\r\n colorC(posx, posy);\r\n\r\n colorAB(posx, posy);\r\n colorAC(posx, posy);\r\n colorBC(posx, posy);\r\n colorABC(posx, posy);\r\n\r\n colorUniverse(posx, posy)\r\n\r\n }\r\n }\r\n\r\n\r\n function insideA(posx, posy){\r\n if( Math.pow( (posx - ax) ,2) + Math.pow( (posy - ay) ,2) <= radius*radius ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function insideB(posx, posy){\r\n if( Math.pow( (posx - bx) ,2) + Math.pow( (posy - by) ,2) <= radius*radius ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function insideC(posx, posy){\r\n if( Math.pow( (posx - cx) ,2) + Math.pow( (posy - cy) ,2) <= radius*radius ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function colorA(posx, posy){\r\n if(insideA(posx, posy) == true && insideB(posx, posy) == false && insideC(posx, posy) == false){\r\n if(current_colorA == color2){\r\n a1.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorA = color1;\r\n }\r\n else{\r\n a1.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorA = color2;\r\n }\r\n }\r\n\r\n }\r\n\r\n function colorB(posx, posy){\r\n if(insideB(posx, posy) == true && insideA(posx, posy) == false && insideC(posx, posy) == false){\r\n if(current_colorB == color2){\r\n a2.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorB = color1;\r\n }\r\n else{\r\n a2.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorB = color2;\r\n }\r\n }\r\n }\r\n\r\n function colorC(posx, posy){\r\n if(insideC(posx, posy) == true && insideA(posx, posy) == false && insideB(posx, posy) == false){\r\n if(current_colorC == color2){\r\n a3.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorC = color1;\r\n }\r\n else{\r\n a3.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorC = color2;\r\n }\r\n }\r\n }\r\n\r\n function colorAB(posx, posy){\r\n if(insideA(posx, posy) == true && insideB(posx, posy) == true && insideC(posx, posy) == false){\r\n if(current_colorAB == color2){\r\n AB.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorAB = color1;\r\n }\r\n else{\r\n AB.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorAB = color2;\r\n }\r\n }\r\n }\r\n\r\n function colorAC(posx, posy){\r\n if(insideA(posx, posy) == true && insideB(posx, posy) == false && insideC(posx, posy) == true){\r\n if(current_colorAC == color2){\r\n AC.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorAC = color1;\r\n }\r\n else{\r\n AC.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorAC = color2;\r\n }\r\n }\r\n }\r\n\r\n function colorBC(posx, posy){\r\n if(insideA(posx, posy) == false && insideB(posx, posy) == true && insideC(posx, posy) == true){\r\n if(current_colorBC == color2){\r\n BC.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorBC = color1;\r\n }\r\n else{\r\n BC.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorBC = color2;\r\n }\r\n }\r\n }\r\n\r\n function colorABC(posx, posy){\r\n if(insideA(posx, posy) == true && insideB(posx, posy) == true && insideC(posx, posy) == true){\r\n if(current_colorABC == color2){\r\n ABC.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorABC = color1;\r\n }\r\n else{\r\n ABC.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorABC = color2;\r\n }\r\n }\r\n }\r\n\r\n function colorUniverse(posx, posy){\r\n if(insideA(posx, posy) == false && insideB(posx, posy) == false && insideC(posx, posy) == false && posx <= wpol && posx >= -wpol && posy <= hpol && posy >= -hpol){\r\n if(current_colorUniverse == color2){\r\n universe.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorUniverse = color1;\r\n }\r\n else{\r\n universe.setAttribute({fillColor:color2, highlightfillColor: color2});\r\n current_colorUniverse = color2;\r\n }\r\n }\r\n }\r\n\r\n\r\n graph.on('down', colorThings);\r\n\r\n //Images\r\n var ok1 = graph.create('image', ['/assets/thumbs-up.svg', [0,-6.5], [sizeOk, sizeOk]], {visible: false, fixed: true});\r\n var ok2 = graph.create('text', [1.25,-6.5+sizeOk/2.0, 'Great Job!'], {display:'internal',visible: false, fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(22*graph.canvasWidth/800.)}},);\r\n////////////////////////////////////////\r\n var cross1 = graph.create('image', ['/assets/cross.svg', [0,-6.5], [sizeOk, sizeOk]], {visible: false, fixed: true});\r\n var cross2 = graph.create('text', [1.25,-6.5+sizeOk/2.0 , 'Try Again!'], {display:'internal',visible: false, fixed: true, anchorX: 'left', anchorY: 'middle', CssStyle:'fontFamily:Oswald',fontSize:function(){return Math.round(22*graph.canvasWidth/800.)}},);\r\n //var tap = graph.create('image', ['/assets/test.svg', [5,7.5], [size_tap, size_tap]], {visible: true, fixed: true});\r\n\r\n var edliy11 = graph.create('image', ['/assets/edliy-grey.svg', [posx_ed1, posy_ed1], [size_ed, size_ed]], {visible: true, fixed: true});\r\n var edliy22 = graph.create('image', ['/assets/edliy-grey.svg', [function(){return edliy11.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: true, fixed: true});\r\n var edliy33 = graph.create('image', ['/assets/edliy-grey.svg', [function(){return edliy22.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: true, fixed: true});\r\n var edliy44 = graph.create('image', ['/assets/edliy-grey.svg', [function(){return edliy33.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: true, fixed: true});\r\n var edliy55 = graph.create('image', ['/assets/edliy-grey.svg', [function(){return edliy44.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: true, fixed: true});\r\n\r\n var edliy1 = graph.create('image', ['/assets/check.svg', [posx_ed1, posy_ed1], [size_ed, size_ed]], {visible: function(){if(right_answer > 0){return true}else{return false;}}, fixed: true});\r\n var edliy2 = graph.create('image', ['/assets/check.svg', [function(){return edliy1.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: function(){if(right_answer > 1){return true}else{return false;}}, fixed: true});\r\n var edliy3 = graph.create('image', ['/assets/check.svg', [function(){return edliy2.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: function(){if(right_answer > 2){return true}else{return false;}}, fixed: true});\r\n var edliy4 = graph.create('image', ['/assets/check.svg', [function(){return edliy3.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: function(){if(right_answer > 3){return true}else{return false;}}, fixed: true});\r\n var edliy5 = graph.create('image', ['/assets/check.svg', [function(){return edliy4.X() + size_ed*1.5}, posy_ed1], [size_ed, size_ed]], {visible: function(){if(right_answer > 4){return true}else{return false;}}, fixed: true});\r\n\r\n\r\n //Functions\r\n function whiteEverything(){\r\n\r\n if(current_colorA == color2){\r\n a1.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorA = color1;\r\n }\r\n if(current_colorB == color2){\r\n a2.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorB = color1;\r\n }\r\n if(current_colorC == color2){\r\n a3.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorC = color1;\r\n }\r\n if(current_colorAB == color2){\r\n AB.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorAB = color1;\r\n }\r\n if(current_colorAC == color2){\r\n AC.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorAC = color1;\r\n }\r\n if(current_colorBC == color2){\r\n BC.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorBC = color1;\r\n }\r\n if(current_colorABC == color2){\r\n ABC.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorABC = color1;\r\n }\r\n if(current_colorUniverse == color2){\r\n universe.setAttribute({fillColor:color1, highlightfillColor: color1});\r\n current_colorUniverse = color1;\r\n }\r\n }\r\n\r\n function solution1(){\r\n if(\r\n current_colorA == color2 &&\r\n current_colorB == color2 &&\r\n current_colorC == color1 &&\r\n current_colorAB == color2 &&\r\n current_colorAC == color2 &&\r\n current_colorBC == color2 &&\r\n current_colorABC == color2 &&\r\n current_colorUniverse == color1\r\n ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function solution2(){\r\n if(\r\n current_colorA == color1 &&\r\n current_colorB == color1 &&\r\n current_colorC == color1 &&\r\n current_colorAB == color1 &&\r\n current_colorAC == color1 &&\r\n current_colorBC == color1 &&\r\n current_colorABC == color2 &&\r\n current_colorUniverse == color1\r\n ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function solution3(){\r\n if(\r\n current_colorA == color2 &&\r\n current_colorB == color2 &&\r\n current_colorC == color2 &&\r\n current_colorAB == color2 &&\r\n current_colorAC == color2 &&\r\n current_colorBC == color1 &&\r\n current_colorABC == color1 &&\r\n current_colorUniverse == color2\r\n ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function solution4(){\r\n if(\r\n current_colorA == color2 &&\r\n current_colorB == color2 &&\r\n current_colorC == color1 &&\r\n current_colorAB == color2 &&\r\n current_colorAC == color1 &&\r\n current_colorBC == color2 &&\r\n current_colorABC == color1 &&\r\n current_colorUniverse == color1\r\n ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function solution5(){\r\n if(\r\n current_colorA == color1 &&\r\n current_colorB == color1 &&\r\n current_colorC == color1 &&\r\n current_colorAB == color1 &&\r\n current_colorAC == color2 &&\r\n current_colorBC == color2 &&\r\n current_colorABC == color2 &&\r\n current_colorUniverse == color1\r\n ){\r\n return true;\r\n }\r\n else{\r\n return false;\r\n }\r\n }\r\n\r\n function shuffleit()\r\n {\r\n if( i == 0)\r\n {\r\n txt1.setText('A ⋂ B ⋂ C.');\r\n }\r\n else if( i == 1)\r\n {\r\n txt1.setText('U - B ⋂ C.')\r\n }\r\n else if( i == 2)\r\n {\r\n\r\n txt1.setText('A ⋃ B - C ⋂ A.')\r\n }\r\n else if( i == 3)\r\n {\r\n txt1.setText('(A ⋂ C) ⋃ (B ⋂ C).')\r\n }\r\n else if( i == 4){\r\n txt1.setText('Good Job!')\r\n }\r\n else if( i == 5 )\r\n {\r\n txt1.setText('A ⋃ B.');\r\n }\r\n i = i+1;\r\n if (i > maxSteps)\r\n {\r\n i = maxSteps;\r\n }\r\n }\r\nshuffle.on('down', function(){shuffleit();whiteEverything()});\r\n////////////////////////////////////////////////////////////////\r\n function check_answer(){\r\n if( i == 0 && solution1() == true){\r\n\r\n right_answer = right_answer + 1;\r\n ok1.setAttribute({visible: true});\r\n ok2.setAttribute({visible: true});\r\n cross1.setAttribute({visible: false});\r\n cross2.setAttribute({visible: false});\r\n setTimeout(function(){return hideOk(true)} , 2000);\r\n }\r\n\r\n else if( i == 1 && solution2() == true){\r\n right_answer = right_answer + 1;\r\n ok1.setAttribute({visible: true});\r\n ok2.setAttribute({visible: true});\r\n cross1.setAttribute({visible: false});\r\n cross2.setAttribute({visible: false});\r\n\r\n setTimeout(function(){return hideOk(true)} , 2000);\r\n }\r\n else if( i == 2 && solution3() == true){\r\n right_answer = right_answer + 1;\r\n ok1.setAttribute({visible: true});\r\n ok2.setAttribute({visible: true});\r\n cross1.setAttribute({visible: false});\r\n cross2.setAttribute({visible: false});\r\n setTimeout(function(){return hideOk(true)} , 2000);\r\n }\r\n else if( i == 3 && solution4() == true){\r\n right_answer = right_answer + 1;\r\n ok1.setAttribute({visible: true});\r\n ok2.setAttribute({visible: true});\r\n cross1.setAttribute({visible: false});\r\n cross2.setAttribute({visible: false});\r\n setTimeout(function(){return hideOk(true)} , 2000);\r\n }\r\n else if( i == 4 && solution5() == true){\r\n right_answer = right_answer + 1;\r\n ok1.setAttribute({visible: true});\r\n ok2.setAttribute({visible: true});\r\n cross1.setAttribute({visible: false});\r\n cross2.setAttribute({visible: false});\r\n setTimeout(function(){return hideOk(true)} , 2000);\r\n }\r\n else if( i == 5 ){\r\n right_answer = 0;\r\n ok1.setAttribute({visible: true});\r\n ok2.setAttribute({visible: true});\r\n cross1.setAttribute({visible: false});\r\n cross2.setAttribute({visible: false});\r\n setTimeout(function(){return hideOk(true)} , 2000);\r\n }\r\n\r\n else{\r\n ok1.setAttribute({visible: false});\r\n ok2.setAttribute({visible: false});\r\n cross1.setAttribute({visible: true});\r\n cross2.setAttribute({visible: true});\r\n setTimeout(function(){return hideOk(false) } , 2000);\r\n }\r\n }\r\n\r\n function hideOk(){\r\n ok1.setAttribute({visible: false});\r\n ok2.setAttribute({visible: false});\r\n cross1.setAttribute({visible: false});\r\n cross2.setAttribute({visible: false});\r\n }\r\n\r\n tap.on('down',function(){ check_answer(); });\r\n\r\n },\r\n}\r\nexport default Boxes;\r\n","\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Lesson.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Lesson.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Lesson.vue?vue&type=template&id=737e33f3&\"\nimport script from \"./Lesson.vue?vue&type=script&lang=js&\"\nexport * from \"./Lesson.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}