{"version":3,"file":"homepage.js","sourceRoot":"homepage-debug.js","sources":["0"],"sourcesContent":["(function($, psw){\n\n 'use strict';\n\n // == Configuration ===========\n\n // The sets of \"You choose _____, we take care of ______\" - make sure that each variable doesn't take more than one line on mobile.\n // Commas and periods will be added in\n var heroSets = [\n [\"the messaging technology\", \"the messages\"],\n [\"the hosting\", \"keeping data intact\"],\n [\"the persistence\", \"data consistency\"],\n [\"the message serializer\", \"message delivery\"],\n [\"the business problem\", \"message orchestration\"],\n [\"a cloud or on-premises stack\", \"the plumbing\"]\n ];\n var changeEveryMs = 3500;\n\n // == Implementation =============\n\n heroSets.forEach(function (set) {\n set[0] += ',';\n set[1] += '.';\n });\n\n $(function () {\n\n var $elements = [$('.you-choose'), $('.we-take')];\n var currentIndex = 0;\n\n function nextSet() {\n\n currentIndex = (currentIndex + 1) % heroSets.length;\n var next = heroSets[currentIndex];\n\n $elements.forEach(function ($el, i) {\n\n var nextText = next[i];\n $el.hide().text(nextText);\n\n setTimeout(function () {\n $el.show();\n }, 100);\n });\n }\n\n setInterval(nextSet, changeEveryMs);\n });\n\n}(jQuery, window.psw));"],"names":["$","psw","heroSets","changeEveryMs","forEach","set","$elements","currentIndex","nextSet","length","next","$el","i","nextText","hide","text","setTimeout","show","setInterval","jQuery","window"],"mappings":"CAAC,SAASA,EAAGC,GAET,aAMA,IAAIC,EAAW,CACX,CAAC,2BAA4B,gBAC7B,CAAC,cAAe,uBAChB,CAAC,kBAAmB,oBACpB,CAAC,yBAA0B,oBAC3B,CAAC,uBAAwB,yBACzB,CAAC,+BAAgC,iBAErC,IAAIC,EAAgB,KAIpBD,EAASE,QAAQ,SAAUC,GACvBA,EAAI,IAAM,IACVA,EAAI,IAAM,GACd,CAAC,EAEDL,EAAE,WAEE,IAAIM,EAAY,CAACN,EAAE,aAAa,EAAGA,EAAE,UAAU,GAC/C,IAAIO,EAAe,EAEnB,SAASC,IAELD,GAAgBA,EAAe,GAAKL,EAASO,OAC7C,IAAIC,EAAOR,EAASK,GAEpBD,EAAUF,QAAQ,SAAUO,EAAKC,GAE7B,IAAIC,EAAWH,EAAKE,GACpBD,EAAIG,KAAK,EAAEC,KAAKF,CAAQ,EAExBG,WAAW,WACPL,EAAIM,KAAK,CACb,EAAG,GAAG,CACV,CAAC,CACL,CAEAC,YAAYV,EAASL,CAAa,CACtC,CAAC,CAEL,GAAEgB,OAAQC,OAAOnB,GAAI"}