<fim-prefix> style from freehand shapes
		if (graph.freehand != null)
		{
			var freehandCreateStyle = graph.freehand.createStyle;
			
			graph.freehand.createStyle = function(stencil)
			{
				return freehandCreateStyle.apply(this, arguments) + 'sketch=0;';
			};
		}
		
		if (urlParams['sketch'] == '1')
		{
			picker.className = 'geToolbarContainer';
			footer.className = 'geToolbarContainer';
			toolbar.className = 'geToolbarContainer';
			menubar.className = 'geToolbarContainer';
			
			ui.picker = picker;
			var statusVisible = false;
			
			if (urlParams['embed'] != '1')
			{
				mxEvent.addListener(menubar, 'mouseenter', function()
				{
					ui.statusContainer.style.display = 'inline-block';
				});
				
				mxEvent.addListener(menubar, 'mouseleave', function()
				{
					if (!statusVisible)
					{
						ui.statusContainer.style.display = 'none';
					}
				});
			}
			
			var setNotificationTitle = mxUtils.bind(this, function(title)
			{
				if (ui.notificationBtn != null)
				{
					if (title != null)
					{
						ui.notificationBtn.setAttribute('title', title);
					}
					else
					{
						ui.notificationBtn.removeAttribute('title');
					}
				}
			});
					
			// Connects the status bar to the editor status and moves
			// status to bell icon title for frequent common messages
			menubar.style.visibility = (menubar.clientWidth < 20) ? 'hidden' : '';

			ui.editor.addListener('statusChanged', mxUtils.bind(this, function()
			{
				ui.setStatusText(ui.editor.getStatus());
				// BUG: CWE-918 Server-Side Request Forgery (SSRF)
				// if (urlParams['embed'] != '1')
				// FIXED: 
<fim-middle>				if (urlParams['embed'] != '1' && ui.getServiceName() != 'atlassian')
				{
					ui.statusContainer.style.display = 'inline-block';
					statusVisible = true;

					if (ui.statusContainer.children.l<fix-suffix>ength == 1 &&
						ui.editor.getStatus() == '')
					{
						menubar.style.visibility = 'hidden';
					}
					else
					{
						if (ui.statusContainer.children.length == 0 ||
							(ui.statusContainer.children.length == 1 &&
							typeof ui.statusContainer.firstChild.getAttribute === 'function' &&
							ui.statusContainer.firstChild.getAttribute('class') == null))
						{
							var title = (ui.statusContainer.firstChild != null &&
								typeof ui.statusContainer.firstChild.getAttribute === 'function') ?
								ui.statusContainer.firstChild.getAttribute('title') :
								ui.editor.getStatus();
							setNotificationTitle(title);
							var file = ui.getCurrentFile();
							var key = (file != null) ? file.savingStatusKey :
								DrawioFile.prototype.savingStatusKey;
							
							if (title == mxResources.get(key) + '...')
							{
								ui.statusContainer.innerHTML = '<img title="' + mxUtils.htmlEntities(
									mxResources.get(key)) + '...' + '"src="' + Editor.tailSpin <|endoftext|>