{"version":3,"sources":["block-sustainable.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,yBAAyBK,QAC5BD,EAAYE,KAAK,GAAIJ,aAAYK,OAC/BC,eAAgB,0BAEjBC,eAAe,wBAAyB,QACxCC,SAAQ,GAERC,MAAMV","file":"block-sustainable.js","sourcesContent":["jQuery(document).ready(function($) {\n var controller = new ScrollMagic.Controller();\n var scenesArray = [];\n\n if($('.wf-sustainable-block').length) {\n scenesArray.push(new ScrollMagic.Scene({\n triggerElement: '.wf-sustainable-block'\n })\n .setClassToggle('.wf-sustainable-block', 'show')\n .reverse(false)\n // .addIndicators()\n .addTo(controller)\n );\n }\n\n // if($('.wf-sustainable-block .tp-separator').length) {\n // scenesArray.push(new ScrollMagic.Scene({\n // triggerElement: '.tp-separator'\n // })\n // .setClassToggle('.tp-separator', 'show')\n // .reverse(false)\n // // .addIndicators()\n // .addTo(controller)\n // );\n // }\n\n // if($('.wf-sustainable-block .tp-container').length) {\n // $('.wf-sustainable-block .tp-container').each(function() {\n // var columnID = 'tp' + (Math.floor(Math.random() * 26) + Date.now());\n // $(this).attr('id', columnID);\n // });\n //\n // $('.wf-sustainable-block .tp-container').each(function() {\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"]}