{"version":3,"sources":["block-scientifically-proven.js"],"names":["jQuery","document","ready","$","controller","ScrollMagic","Controller","scenesArray","length","push","Scene","triggerElement","setClassToggle","reverse","addTo"],"mappings":"AAAA,YAAAA,QAAOC,UAAUC,MAAM,SAASC,GAC9B,GAAIC,GAAa,GAAIC,aAAYC,WAC7BC,IAEDJ,GAAE,6BAA6BK,QAahCD,EAAYE,KAAK,GAAIJ,aAAYK,OAC/BC,eAAgB,wCAEjBC,eAAe,+EAAgF,QAC/FC,SAAQ,GAERC,MAAMV","file":"block-scientifically-proven.js","sourcesContent":["jQuery(document).ready(function($){\n var controller = new ScrollMagic.Controller();\n var scenesArray = [];\n\n if($('.wf-scientifically-proven').length) {\n\n // first scene to display the main section\n // scenesArray.push(new ScrollMagic.Scene({\n // triggerElement: '.wf-scientifically-proven'\n // })\n // .setClassToggle('.wf-scientifically-proven, .wf-scientifically-proven', 'show')\n // .reverse(false)\n // // .addIndicators()\n // .addTo(controller)\n // );\n\n // second scene to display the diamond shapes\n scenesArray.push(new ScrollMagic.Scene({\n triggerElement: '.wf-scientifically-proven .headline'\n })\n .setClassToggle('.wf-scientifically-proven .headline, .wf-scientifically-proven .callout-item', 'show')\n .reverse(false)\n // .addIndicators()\n .addTo(controller)\n );\n\n // $('.wf-scientifically-proven .callout-item').each(function() {\n //\n // console.log('#'+$(this).attr('id'));\n //\n // scenesArray.push(new ScrollMagic.Scene({\n // triggerElement: '#'+$(this).attr('id')\n // })\n // .setClassToggle('#'+$(this).attr('id'), 'show')\n // .reverse(false)\n // .addIndicators()\n // .addTo(controller)\n // );\n // });\n\n }\n});\n"]}