<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(function(){
if (window.YLOPO_WIDGETS.allTeamMembers !== undefined) {
	return
}
window.YLOPO_WIDGETS.allTeamMembers = [];
waitFor(function(){
	return window.YLOPO_WIDGETS &amp;&amp; YLOPO_WIDGETS.fullSiteNav &amp;&amp; YLOPO_WIDGETS.fullSiteNav.length &gt; 0
},function(hasSiteNav){
	if (!hasSiteNav){
		console.log("No site nav")
		return
	}

	var allTeams = window.YLOPO_WIDGETS.fullSiteNav.filter(function(o){
		if (o.collection &amp;&amp; o.collection.typeName === 'team' &amp;&amp; o.collection.itemCount &gt; 0){
			return true
		}
	}).map(function(o){
		return new Promise(function(resolve, reject){
			$.ajax({
				url: o.collection.fullUrl+'?format=json',
				dataType: 'jsonp',
				success: function(data){
					if (data.items){
						data.items.forEach(function(item){
							item.collectionTitle = data.collection.navigationTitle || data.collection.title;
							item.collectionFullUrl = data.collection.fullUrl;
							item.collectionId = data.collection.id;
						})
					} else {
						data.items = [];
					}
					resolve(data);
				},
				error: function(err){
					console.log(err);
					resolve({
						items: []
					});
				}
			});
		});
	});

	Promise.all(allTeams).then(function(teams){
		window.YLOPO_WIDGETS.allTeamMembers = teams.reduce(function(a,o){
			a = a.concat(o.items);
			return a;
		},[]);

		window.YLOPO_WIDGETS.allTeamMembers = window.YLOPO_WIDGETS.allTeamMembers.filter(function(o){
			return o &amp;&amp; o.customContent &amp;&amp; o.customContent.customType === "teamMember"
		});

		if (window.YLOPO_WIDGETS.allTeamMembers.length === 0){
			window.YLOPO_WIDGETS.allTeamMembers._empty = true;
		}
	});


});

})();
</pre></body></html>