var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); jQuery(function($) { function isInfogramInViewport(el){ const rect = el[0].getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth) ) } function proccesInfograms(){ const $infogram_containers = $('.js-infogram-embed'); if( $infogram_containers.length > 0){ $infogram_containers.each(function() { if( !$( this ).hasClass( 'infogram-embed' ) && isInfogramInViewport( $( this ) ) ){ $( this ).addClass( "infogram-embed" ); if( window.InfogramEmbeds && window.InfogramEmbeds.initialized ){ if( window.InfogramEmbeds.process ){ window.InfogramEmbeds.process(); } }else{ let $scriptTags = $('script') let $infogramScript = document.createElement("script"); $infogramScript.setAttribute('async', 1); $infogramScript.setAttribute('id', 'infogram-async'); $infogramScript.setAttribute('src', 'https://webcf.waybackmachine.org/web/20210902101124/https://e.infogram.com/js/dist/embed-loader-min.js'); $infogramScript.setAttribute('type', 'text/javascript'); $scriptTags.first().prepend($infogramScript); } } }); } const $infogram_containers_v2 = $('.js-infogram-embed-v2'); if( $infogram_containers_v2.length > 0){ $infogram_containers_v2.each(function() { if( !$( this ).hasClass( 'infogram-embed-v2' ) && isInfogramInViewport( $( this ) ) ){ $( this ).addClass( "infogram-embed-v2" ); let $id = $( this ).attr('data-id') let $scriptTags = $('script') let $infogramScript = document.createElement("script"); $infogramScript.setAttribute('id', $id); $infogramScript.setAttribute('src', 'https://webcf.waybackmachine.org/web/20210902101124/https://e.infogram.com/js/dist/embed.js?LQf'); $infogramScript.setAttribute('type', 'text/javascript'); $( this ).append($infogramScript); } }); } } document.addEventListener("load", proccesInfograms, false); document.addEventListener("scroll", proccesInfograms, false); }); } /* FILE ARCHIVED ON 10:11:24 Sep 02, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 09:14:52 Nov 18, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.575 exclusion.robots: 0.029 exclusion.robots.policy: 0.018 esindex: 0.009 cdx.remote: 5.948 LoadShardBlock: 75.616 (3) PetaboxLoader3.datanode: 97.045 (5) load_resource: 103.007 PetaboxLoader3.resolve: 59.571 loaddict: 23.907 */