1(function()
2{
3	// Adds Cisco Safe stencils
4	Sidebar.prototype.addCiscoSafePalette = function()
5	{
6		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeArchitecture');
7		this.addCiscoSafeArchitecturePalette();
8		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeBusiness Icons');
9		this.addCiscoSafeBusinessIconsPalette();
10		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeCapability');
11		this.addCiscoSafeCapabilityPalette();
12		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeDesign');
13		this.addCiscoSafeDesignPalette();
14		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeIoT Things Icons');
15		this.addCiscoSafeIoTThingsIconsPalette();
16		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safePeople Places Things Icons');
17		this.addCiscoSafePeoplePlacesThingsIconsPalette();
18		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeSecurity Icons');
19		this.addCiscoSafeSecurityIconsPalette();
20		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeTechnology Icons');
21		this.addCiscoSafeTechnologyIconsPalette();
22		this.setCurrentSearchEntryLibrary('cisco_safe', 'cisco_safeThreat');
23		this.addCiscoSafeThreatPalette();
24		this.setCurrentSearchEntryLibrary();
25	};
26
27	Sidebar.prototype.addCiscoSafeArchitecturePalette = function()
28	{
29		var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#6ABD46;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
30	 	'points=[[0.085,0.085,0],[0.915,0.085,0],[0.915,0.915,0],[0.085,0.915,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
31		var gn = 'mxgraph.cisco_safe.architecture';
32		var dt = 'cisco safe architecture';
33
34		var w = 50;
35
36		this.addPaletteFunctions('cisco_safeArchitecture', 'Cisco Safe / Architecture', false,
37		[
38	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;',
39					 w, w, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')),
40	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;',
41					 w, w, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
42	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;',
43					 w, w, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')),
44	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;',
45					 w, w, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')),
46	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.actuator;',
47					 w, w, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
48	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.adaptive_security_appliance;',
49					 w, w, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
50	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.automated_system;',
51					 w, w, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')),
52	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.blade_server;',
53					 w, w, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
54	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.catalyst_switch;',
55					 w, w, '', 'Catalyst Switch', null, null, this.getTagsForStencil(gn, 'catalyst switch', dt).join(' ')),
56	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.cisco_appliance;',
57					 w, w, '', 'Cisco Appliance', null, null, this.getTagsForStencil(gn, 'cisco appliance', dt).join(' ')),
58	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;',
59					 w, w, '', 'Core Switch', null, null, this.getTagsForStencil(gn, 'core switch', dt).join(' ')),
60	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device1;',
61					 w, w, '', 'Corporate Device', null, null, this.getTagsForStencil(gn, 'corporate device', dt).join(' ')),
62	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.corporate_device;',
63					 w, w, '', 'Corporate Wireless Device', null, null, this.getTagsForStencil(gn, 'corporate wireless device', dt).join(' ')),
64	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ddos_protection_appliance;',
65					 w, w, '', 'DDOS Protection Appliance', null, null, this.getTagsForStencil(gn, 'ddos protection appliance', dt).join(' ')),
66	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;',
67					 w, w, '', 'Distribution Switch', null, null, this.getTagsForStencil(gn, 'distribution switch', dt).join(' ')),
68	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.email_security;',
69					 w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
70	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.endpoint_concentrator;',
71					 w, w, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
72	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.fabric_switch;',
73					 w, w, '', 'Fabric Switch', null, null, this.getTagsForStencil(gn, 'fabric switch', dt).join(' ')),
74	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_appliance;',
75					 w, w, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
76	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firepower_management_center;',
77					 w, w, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
78	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.firewall;',
79					 w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
80	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_collector;',
81					 w, w, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
82	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.flow_sensor;',
83					 w, w, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
84	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.generic_appliance;',
85					 w, w, '', 'Generic Appliance', null, null, this.getTagsForStencil(gn, 'generic appliance', dt).join(' ')),
86	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.identity_directory;',
87					 w, w, '', 'Identity Directory', null, null, this.getTagsForStencil(gn, 'identity directory', dt).join(' ')),
88	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;',
89					 w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
90	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.intrusion_detection;',
91					 w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')),
92	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.l3_switch;',
93					 w, w, '', 'L3 Switch', null, null, this.getTagsForStencil(gn, 'l3 switch', dt).join(' ')),
94	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_leaf_switch;',
95					 w, w, '', 'Leaf Switch', null, null, this.getTagsForStencil(gn, 'leaf switch', dt).join(' ')),
96	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.load_balancer;',
97					 w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
98	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.log_collector;',
99					 w, w, '', 'Log Collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
100	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mgmt_console;',
101					 w, w, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'mgmt management console', dt).join(' ')),
102	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mdm;',
103					 w, w, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
104	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.mobile;',
105					 w, w, '', 'Mobile', null, null, this.getTagsForStencil(gn, 'mobile', dt).join(' ')),
106	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.monitoring;',
107					 w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
108	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_1kv;',
109					 w, w, '', 'Nexus 1kv', null, null, this.getTagsForStencil(gn, 'nexus 1kv', dt).join(' ')),
110	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_data_center_switch;',
111					 w, w, '', 'Nexus Data Center Switch', null, null, this.getTagsForStencil(gn, 'nexus data center switch', dt).join(' ')),
112	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_fabric_switch;',
113					 w, w, '', 'Nexus Fabric Switch', null, null, this.getTagsForStencil(gn, 'nexus fabric switch', dt).join(' ')),
114	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.nexus_switch;',
115					 w, w, '', 'Nexus Switch', null, null, this.getTagsForStencil(gn, 'nexus switch', dt).join(' ')),
116	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.ntp;',
117					 w, w, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
118	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.phone;',
119					 w, w, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')),
120	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.policy;',
121					 w, w, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
122	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.radware_appliance;',
123					 w, w, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware appliance', dt).join(' ')),
124	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.router;',
125					 w, w, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
126	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sandbox_appliance;',
127					 w, w, '', 'Sandbox Appliance', null, null, this.getTagsForStencil(gn, 'sandbox appliance', dt).join(' ')),
128	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_controller;',
129					 w, w, '', 'SD Controller', null, null, this.getTagsForStencil(gn, 'sd controller', dt).join(' ')),
130	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan;',
131					 w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')),
132	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sd_wan_2;',
133					 w, w, '', 'SD WAN', null, null, this.getTagsForStencil(gn, 'sd wan wireless area network', dt).join(' ')),
134	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_dns;',
135					 w, w, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns domain name server', dt).join(' ')),
136	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.secure_server;',
137					 w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')),
138	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.sensor;',
139					 w, w, '', 'Sensor', null, null, this.getTagsForStencil(gn, 'sensor', dt).join(' ')),
140	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.server;',
141					 w, w, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
142	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.siem;',
143					 w, w, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
144	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.aci_spine_switch;',
145					 w, w, '', 'Spine Switch', null, null, this.getTagsForStencil(gn, 'spine switch', dt).join(' ')),
146	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.stacked_switch;',
147					 w, w, '', 'Stacked Switch', null, null, this.getTagsForStencil(gn, 'stacked switch', dt).join(' ')),
148	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.storage;',
149					 w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
150	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.switch;',
151					 w, w, '', 'Switch', null, null, this.getTagsForStencil(gn, 'switch', dt).join(' ')),
152	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tetration_analytics;',
153					 w, w, '', 'Tetration Analytics', null, null, this.getTagsForStencil(gn, 'tetration analytics', dt).join(' ')),
154	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.tls_appliance;',
155					 w, w, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
156	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.unified_access_switch;',
157					 w, w, '', 'Unified Access Switch', null, null, this.getTagsForStencil(gn, 'unified access switch', dt).join(' ')),
158	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.udp_director;',
159					 w, w, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
160	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.video_endpoint;',
161					 w, w, '', 'Video Endpoint', null, null, this.getTagsForStencil(gn, 'video endpoint', dt).join(' ')),
162	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vpn_concentrator;',
163					 w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn virtual private network concentrator', dt).join(' ')),
164	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.vulnerability_management;',
165					 w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
166	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall;',
167					 w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
168	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_application_firewall_2;',
169					 w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
170	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_filtering;',
171					 w, w, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
172	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.web_security;',
173					 w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
174	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wide_area_application_engine;',
175					 w, w, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
176	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_access_point;',
177					 w, w, '', 'Wireless Access Point', null, null, this.getTagsForStencil(gn, 'wireless access point', dt).join(' ')),
178	   		 this.createVertexTemplateEntry(s + 'compositeIcon;bgIcon=' + gn + '.generic_appliance;resIcon=' + gn + '.wireless_lan_controller;',
179					 w, w, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wireless lan controller', dt).join(' '))
180		]);
181	};
182
183	Sidebar.prototype.addCiscoSafeBusinessIconsPalette = function()
184	{
185		var w = 50;
186		var h = 50;
187		var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.business_icons.';
188		var gn = 'mxgraph.cisco_safe.business_icons';
189		var dt = 'cisco safe business';
190
191		this.addPaletteFunctions('cisco_safeBusiness Icons', 'Cisco Safe / Business Icons', false,
192		[
193	   		 this.createVertexTemplateEntry(s + 'icon1;',
194					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
195	   		 this.createVertexTemplateEntry(s + 'icon2;',
196					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
197	   		 this.createVertexTemplateEntry(s + 'icon3;',
198					 w * 0.9, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
199	   		 this.createVertexTemplateEntry(s + 'icon4;',
200					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
201	   		 this.createVertexTemplateEntry(s + 'icon5;',
202					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
203	   		 this.createVertexTemplateEntry(s + 'icon6;',
204					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
205	   		 this.createVertexTemplateEntry(s + 'icon7;',
206					 w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
207	   		 this.createVertexTemplateEntry(s + 'icon8;',
208					 w * 0.77, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
209	   		 this.createVertexTemplateEntry(s + 'icon9;',
210					 w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
211	   		 this.createVertexTemplateEntry(s + 'icon10;',
212					 w, h * 0.88, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
213	   		 this.createVertexTemplateEntry(s + 'icon11;',
214					 w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
215	   		 this.createVertexTemplateEntry(s + 'icon12;',
216					 w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
217	   		 this.createVertexTemplateEntry(s + 'icon13;',
218					 w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
219	   		 this.createVertexTemplateEntry(s + 'icon14;',
220					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
221	   		 this.createVertexTemplateEntry(s + 'icon15;',
222					 w * 0.76, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
223	   		 this.createVertexTemplateEntry(s + 'icon16;',
224					 w, h * 0.75, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
225	   		 this.createVertexTemplateEntry(s + 'icon17;',
226					 w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
227	   		 this.createVertexTemplateEntry(s + 'icon18;',
228					 w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
229	   		 this.createVertexTemplateEntry(s + 'icon19;',
230					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
231	   		 this.createVertexTemplateEntry(s + 'icon20;',
232					 w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
233	   		 this.createVertexTemplateEntry(s + 'icon21;',
234					 w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
235	   		 this.createVertexTemplateEntry(s + 'icon22;',
236					 w * 0.93, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
237	   		 this.createVertexTemplateEntry(s + 'icon23;',
238					 w * 0.87, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
239	   		 this.createVertexTemplateEntry(s + 'icon24;',
240					 w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
241	   		 this.createVertexTemplateEntry(s + 'icon25;',
242					 w, h * 0.81, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
243	   		 this.createVertexTemplateEntry(s + 'icon26;',
244					 w, h * 0.71, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
245	   		 this.createVertexTemplateEntry(s + 'icon27;',
246					 w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
247	   		 this.createVertexTemplateEntry(s + 'icon28;',
248					 w * 0.94, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
249	   		 this.createVertexTemplateEntry(s + 'icon29;',
250					 w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
251	   		 this.createVertexTemplateEntry(s + 'icon30;',
252					 w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
253		]);
254	};
255
256	Sidebar.prototype.addCiscoSafeCapabilityPalette = function()
257	{
258		var ptss = 'points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];';
259		var n2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
260			ptss + 'pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
261		var n3 = 'fillColor=#6ABD46;' + n2;
262		var n4 = 'fillColor=#999999;' + n2;
263		var n2 = 'fillColor=#28A8E0;' + n2;
264		var gn = 'mxgraph.cisco_safe.capability';
265		var dt = 'cisco safe capability';
266
267		var w = 43;
268
269		this.addPaletteFunctions('cisco_safeCapability', 'Cisco Safe / Capability', false,
270		[
271	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.access_control_using_trustsec;',
272					 w, w, '', 'Access Control Using TrustSec', null, null, this.getTagsForStencil(gn, 'access control using trustsec', dt).join(' ')),
273	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.analysis_correlation;',
274					 w, w, '', 'Analysis Correlation', null, null, this.getTagsForStencil(gn, 'analysis correlation', dt).join(' ')),
275	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anomaly_detection;',
276					 w, w, '', 'Anomaly Detection', null, null, this.getTagsForStencil(gn, 'anomaly detection', dt).join(' ')),
277	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_malware;',
278					 w, w, '', 'Anti-Malware', null, null, this.getTagsForStencil(gn, 'anti malware', dt).join(' ')),
279	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_spam;',
280					 w, w, '', 'Anti-Spam', null, null, this.getTagsForStencil(gn, 'anti spam', dt).join(' ')),
281	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.anti_virus;',
282					 w, w, '', 'Anti-Virus', null, null, this.getTagsForStencil(gn, 'anti virus', dt).join(' ')),
283	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;',
284					 w, w, '', 'Application', null, null, this.getTagsForStencil(gn, 'application', dt).join(' ')),
285	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_visibility_control;',
286					 w, w, '', 'Application Visibility Control', null, null, this.getTagsForStencil(gn, 'application visibility control', dt).join(' ')),
287	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.casb;',
288					 w, w, '', 'CASB', null, null, this.getTagsForStencil(gn, 'casb', dt).join(' ')),
289	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.client_based_security;',
290					 w, w, '', 'Client-Based Security', null, null, this.getTagsForStencil(gn, 'client based security', dt).join(' ')),
291	   		 this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.block;',
292					 w, w, '', 'Block', null, null, this.getTagsForStencil(gn, 'block', dt).join(' ')),
293	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.cloud_web_security;',
294					 w, w, '', 'Cloud Web Security', null, null, this.getTagsForStencil(gn, 'cloud web security', dt).join(' ')),
295	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.conference_bridge;',
296					 w, w, '', 'Conference Bridge', null, null, this.getTagsForStencil(gn, 'conference bridge', dt).join(' ')),
297	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;',
298					 w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
299	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.data_loss_prevention;',
300					 w, w, '', 'Data Loss Prevention', null, null, this.getTagsForStencil(gn, 'data loss prevention', dt).join(' ')),
301	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_profiling;',
302					 w, w, '', 'Device Profiling', null, null, this.getTagsForStencil(gn, 'device profiling', dt).join(' ')),
303	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.device_trajectory;',
304					 w, w, '', 'Device Trajectory', null, null, this.getTagsForStencil(gn, 'device trajectory', dt).join(' ')),
305	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.disk_encryption;',
306					 w, w, '', 'Disk Encryption', null, null, this.getTagsForStencil(gn, 'disk encryption', dt).join(' ')),
307	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.distributed_denial_of_service_protection;',
308					 w, w, '', 'Distributed Denial of Service Protection', null, null, this.getTagsForStencil(gn, 'distributed denial of service protection', dt).join(' ')),
309	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns;',
310					 w, w, '', 'DNS', null, null, this.getTagsForStencil(gn, 'dns', dt).join(' ')),
311	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.dns_security;',
312					 w, w, '', 'DNS Security', null, null, this.getTagsForStencil(gn, 'dns security', dt).join(' ')),
313	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_encryption;',
314					 w, w, '', 'Email Encryption', null, null, this.getTagsForStencil(gn, 'email encryption', dt).join(' ')),
315	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.email_security;',
316					 w, w, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
317	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.file_trajectory;',
318					 w, w, '', 'File Trajectory', null, null, this.getTagsForStencil(gn, 'file trajectory', dt).join(' ')),
319	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;',
320					 w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')),
321	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.firewall;',
322					 w, w, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
323	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.flow_analytics;',
324					 w, w, '', 'Flow Analytics', null, null, this.getTagsForStencil(gn, 'flow analytics', dt).join(' ')),
325	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization;',
326					 w, w, '', 'Identity Authorization', null, null, this.getTagsForStencil(gn, 'identity authorization', dt).join(' ')),
327	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.identity_authorization_alt;',
328					 w, w, '', 'Identity Authorization (alternative)', null, null, this.getTagsForStencil(gn, 'identity authorization alt alternative', dt).join(' ')),
329	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_detection;',
330					 w, w, '', 'Intrusion Detection', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
331	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.intrusion_prevention;',
332					 w, w, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion prevention', dt).join(' ')),
333	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;',
334					 w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')),
335	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network_virtual;',
336					 w, w, '', 'L2 L3 Network (virtual)', null, null, this.getTagsForStencil(gn, 'l2 l3 network virtual', dt).join(' ')),
337	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;',
338					 w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')),
339	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;',
340					 w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')),
341	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;',
342					 w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
343	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.logging_reporting;',
344					 w, w, '', 'Logging Reporting', null, null, this.getTagsForStencil(gn, 'logging reporting', dt).join(' ')),
345	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.malware_sandbox;',
346					 w, w, '', 'Malware Sandbox', null, null, this.getTagsForStencil(gn, 'malware sandbox', dt).join(' ')),
347	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.micro_segmentation;',
348					 w, w, '', 'Micro-Segmentation', null, null, this.getTagsForStencil(gn, 'micro segmentation', dt).join(' ')),
349	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.mobile_device_manager;',
350					 w, w, '', 'Mobile Device Manager', null, null, this.getTagsForStencil(gn, 'mobile device manager', dt).join(' ')),
351	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.multi_factor_identification;',
352					 w, w, '', 'Multi-Factor Identification', null, null, this.getTagsForStencil(gn, 'multi factor identification', dt).join(' ')),
353	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.monitoring;',
354					 w, w, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
355	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.policy_configuration;',
356					 w, w, '', 'Policy Configuration', null, null, this.getTagsForStencil(gn, 'policy configuration', dt).join(' ')),
357	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.posture_assessment;',
358					 w, w, '', 'Posture Assessment', null, null, this.getTagsForStencil(gn, 'posture assessment', dt).join(' ')),
359	   		 this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quarantine;',
360					 w, w, '', 'Quarantine', null, null, this.getTagsForStencil(gn, 'quarantine', dt).join(' ')),
361	   		 this.createVertexTemplateEntry(n3 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.remediate;',
362					 w, w, '', 'Remediate', null, null, this.getTagsForStencil(gn, 'remediate', dt).join(' ')),
363	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;',
364					 w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')),
365	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.server_based_security;',
366					 w, w, '', 'Server Based Security', null, null, this.getTagsForStencil(gn, 'server based security', dt).join(' ')),
367	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.tagging;',
368					 w, w, '', 'Tagging', null, null, this.getTagsForStencil(gn, 'tagging', dt).join(' ')),
369	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.ssl_tls_offload;',
370					 w, w, '', 'SSL TLS Offload', null, null, this.getTagsForStencil(gn, 'ssl tls offload', dt).join(' ')),
371	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;',
372					 w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
373	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.threat_intelligence;',
374					 w, w, '', 'Threat Intelligence', null, null, this.getTagsForStencil(gn, 'threat intelligence', dt).join(' ')),
375	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.time_synchronization;',
376					 w, w, '', 'Time Synchronization', null, null, this.getTagsForStencil(gn, 'time synchronization', dt).join(' ')),
377	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.user;',
378					 w, w, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
379	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;',
380					 w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')),
381	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtualized_capability;',
382					 w, w, '', 'Virtualized Capability', null, null, this.getTagsForStencil(gn, 'virtualized capability', dt).join(' ')),
383	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_firewall;',
384					 w, w, '', 'Virtual Firewall', null, null, this.getTagsForStencil(gn, 'virtual firewall', dt).join(' ')),
385	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_l2_switching;',
386					 w, w, '', 'Virtual L2 Switching', null, null, this.getTagsForStencil(gn, 'virtual l2 switching', dt).join(' ')),
387	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.virtual_private_network;',
388					 w, w, '', 'Virtual Private Network', null, null, this.getTagsForStencil(gn, 'virtual private network vpn', dt).join(' ')),
389	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;',
390					 w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')),
391	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vpn_concentrator;',
392					 w, w, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator virtual private network', dt).join(' ')),
393	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.vulnerability_management;',
394					 w, w, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
395	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_application_firewall;',
396					 w, w, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
397	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_reputation_filtering_dcs;',
398					 w, w, '', 'Web Reputation Filtering DCS', null, null, this.getTagsForStencil(gn, 'web reputation filtering dcs', dt).join(' ')),
399	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.web_security;',
400					 w, w, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
401	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;',
402					 w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')),
403	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_detection_system;',
404					 w, w, '', 'Wireless Intrusion Detection System', null, null, this.getTagsForStencil(gn, 'wireless intrusion detection system', dt).join(' ')),
405	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_intrusion_prevention_system;',
406					 w, w, '', 'Wireless Intrusion Prevention System', null, null, this.getTagsForStencil(gn, 'wireless intrusion prevention system', dt).join(' ')),
407	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_rogue_detection;',
408					 w, w, '', 'Wireless Rogue Detection', null, null, this.getTagsForStencil(gn, 'wireless rogue detection', dt).join(' ')),
409	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.routing;',
410					 w, w, '', 'Routing', null, null, this.getTagsForStencil(gn, 'routing', dt).join(' ')),
411	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_switching;',
412					 w, w, '', 'L2 Switching', null, null, this.getTagsForStencil(gn, 'l2 switching', dt).join(' ')),
413	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l3_switching;',
414					 w, w, '', 'L3 Switching', null, null, this.getTagsForStencil(gn, 'l3 switching', dt).join(' ')),
415	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.fabric_switching;',
416					 w, w, '', 'Fabric Switching', null, null, this.getTagsForStencil(gn, 'fabric switching', dt).join(' ')),
417	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.l2_l3_network;',
418					 w, w, '', 'L2 L3 Network', null, null, this.getTagsForStencil(gn, 'l2 l3 network', dt).join(' ')),
419	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.wireless_connection;',
420					 w, w, '', 'Wireless Connection', null, null, this.getTagsForStencil(gn, 'wireless connection', dt).join(' ')),
421	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application_optimization;',
422					 w, w, '', 'Application Optimization', null, null, this.getTagsForStencil(gn, 'application optimization', dt).join(' ')),
423	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.quality_of_service;',
424					 w, w, '', 'Quality of Service', null, null, this.getTagsForStencil(gn, 'quality of service', dt).join(' ')),
425	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.path_control;',
426					 w, w, '', 'Path Control', null, null, this.getTagsForStencil(gn, 'path control', dt).join(' ')),
427	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.database;',
428					 w, w, '', 'Database', null, null, this.getTagsForStencil(gn, 'database', dt).join(' ')),
429	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.storage;',
430					 w, w, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
431	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.secure_server;',
432					 w, w, '', 'Secure Server', null, null, this.getTagsForStencil(gn, 'secure server', dt).join(' ')),
433	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.voice;',
434					 w, w, '', 'Voice', null, null, this.getTagsForStencil(gn, 'voice', dt).join(' ')),
435	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video;',
436					 w, w, '', 'Video', null, null, this.getTagsForStencil(gn, 'video', dt).join(' ')),
437	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.load_balancer;',
438					 w, w, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
439	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.host_context;',
440					 w, w, '', 'Host Context', null, null, this.getTagsForStencil(gn, 'host context', dt).join(' ')),
441	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.application;',
442					 w, w, '', 'Business Application', null, null, this.getTagsForStencil(gn, 'business application', dt).join(' ')),
443	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.infrastructure_redundancy;',
444					 w, w, '', 'Infrastructure Redundancy', null, null, this.getTagsForStencil(gn, 'infrastructure redundancy', dt).join(' ')),
445	   		 this.createVertexTemplateEntry(n4 + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.standardized_system_images;',
446					 w, w, '', 'Standardized System Images', null, null, this.getTagsForStencil(gn, 'standardized_system_images', dt).join(' '))
447		]);
448	};
449
450	Sidebar.prototype.addCiscoSafeDesignPalette = function()
451	{
452		var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;' +
453			'points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];shape=mxgraph.cisco_safe.design.';
454		var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;pointerEvents=1;shape=mxgraph.cisco_safe.design.';
455		var n = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#A153A0;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
456		'points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
457		var gn = 'mxgraph.cisco_safe.design';
458		var dt = 'cisco safe design';
459
460		var w = 50;
461
462		this.addPaletteFunctions('cisco_safeDesign', 'Cisco Safe / Design', false,
463		[
464			this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_point;',
465				w, w * 0.9, '', 'Access Point', null, null, this.getTagsForStencil(gn, 'access point', dt).join(' ')),
466			this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.access_switch_2;',
467				w, w * 0.9, '', 'Access Switch', null, null, this.getTagsForStencil(gn, 'access switch', dt).join(' ')),
468	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller;',
469	   			w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
470	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_controller_2;',
471	   			w, w * 0.9, '', 'ACI Controller', null, null, this.getTagsForStencil(gn, 'aci controller', dt).join(' ')),
472	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_leaf_switch;',
473	   			w, w * 0.9, '', 'ACI Leaf Switch', null, null, this.getTagsForStencil(gn, 'aci leaf switch', dt).join(' ')),
474	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.aci_spine_switch;',
475	   			w, w * 0.9, '', 'ACI Spine Switch', null, null, this.getTagsForStencil(gn, 'aci spine switch', dt).join(' ')),
476			this.createVertexTemplateEntry(s2 + 'actor_1;',
477				w * 0.47, w, '', 'Actor (female)', null, null, this.getTagsForStencil(gn, 'actor female', dt).join(' ')),
478			this.createVertexTemplateEntry(s2 + 'actor_2;',
479				w * 0.38, w, '', 'Actor (male)', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
480			this.createVertexTemplateEntry(s2 + 'actuator;',
481				w, w * 0.9, '', 'Actuator', null, null, this.getTagsForStencil(gn, 'actuator', dt).join(' ')),
482	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance;',
483				w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
484			this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.adaptive_security_appliance_2;',
485				w, w * 0.9, '', 'Adaptive Security Appliance', null, null, this.getTagsForStencil(gn, 'adaptive security appliance', dt).join(' ')),
486	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.automated_system;',
487	   			w, w * 0.9, '', 'Automated System', null, null, this.getTagsForStencil(gn, 'automated system', dt).join(' ')),
488	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server;',
489	   			w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
490	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blade_server_2;',
491		   		w, w * 0.9, '', 'Blade Server', null, null, this.getTagsForStencil(gn, 'blade server', dt).join(' ')),
492			this.createVertexTemplateEntry(s + 'blank_device;',
493				w, w * 0.9, '', 'Blank Device', null, null, this.getTagsForStencil(gn, 'blank device', dt).join(' ')),
494	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.blank_service;',
495				w, w * 0.9, '', 'Blank Service', null, null, this.getTagsForStencil(gn, 'blank service', dt).join(' ')),
496	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.call_manager;',
497				w, w * 0.9, '', 'Call Manager', null, null, this.getTagsForStencil(gn, 'call manager', dt).join(' ')),
498	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_data_center_switch;',
499				w, w * 0.9, '', 'Catalyst Data Center Switch', null, null, this.getTagsForStencil(gn, 'catalyst data center switch', dt).join(' ')),
500	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.catalyst_switch_stack;',
501				w, w * 0.9, '', 'Catalyst Switch Stack', null, null, this.getTagsForStencil(gn, 'catalyst switch stack', dt).join(' ')),
502	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_amp;',
503				w, w * 0.9, '', 'Cisco Amp', null, null, this.getTagsForStencil(gn, 'cisco amp amplifier', dt).join(' ')),
504	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_anyconnect;',
505	   			w, w * 0.9, '', 'Cisco AnyConnect', null, null, this.getTagsForStencil(gn, 'cisco anyconnect', dt).join(' ')),
506	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.cisco_cloud_web_security;',
507	   			w, w * 0.9, '', 'Cisco Cloud Web Security', null, null, this.getTagsForStencil(gn, 'cisco cloud web security', dt).join(' ')),
508	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.client_firewall;',
509				w, w * 0.9, '', 'Client Firewall', null, null, this.getTagsForStencil(gn, 'client firewall', dt).join(' ')),
510	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l3_switch;',
511				w, w * 0.9, '', 'Core Switch', null, null, this.getTagsForStencil(gn, 'core switch', dt).join(' ')),
512	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.corporate_device;',
513				w, w * 0.9, '', 'Corporate Device', null, null, this.getTagsForStencil(gn, 'corporate device', dt).join(' ')),
514	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.corporate_device;',
515				w, w * 0.9, '', 'Corporate Wireless Device', null, null, this.getTagsForStencil(gn, 'corporate device_2', dt).join(' ')),
516	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ddos_protection;',
517				w, w * 0.9, '', 'DDOS Protection', null, null, this.getTagsForStencil(gn, 'ddos protection', dt).join(' ')),
518	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ddos_protection_2;',
519				w, w * 0.9, '', 'DDOS Protection', null, null, this.getTagsForStencil(gn, 'ddos protection', dt).join(' ')),
520	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.distribution_switch;',
521	   			w, w * 0.9, '', 'Distribution Switch', null, null, this.getTagsForStencil(gn, 'distribution switch', dt).join(' ')),
522	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.email_security;',
523	   			w, w * 0.9, '', 'Email Security', null, null, this.getTagsForStencil(gn, 'email security', dt).join(' ')),
524	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.encryption_offload;',
525	   			w, w * 0.9, '', 'Encryption Offload', null, null, this.getTagsForStencil(gn, 'encryption offload', dt).join(' ')),
526	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.endpoint_concentrator;',
527	   			w, w * 0.9, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
528	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.endpoint_concentrator_2;',
529	   			w, w * 0.9, '', 'Endpoint Concentrator', null, null, this.getTagsForStencil(gn, 'endpoint concentrator', dt).join(' ')),
530	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.fabric_switch;',
531	   			w, w * 0.9, '', 'Fabric Switch', null, null, this.getTagsForStencil(gn, 'fabric switch', dt).join(' ')),
532	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_appliance;',
533	   			w, w * 0.9, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
534	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_appliance_2;',
535	   			w, w * 0.9, '', 'Firepower Appliance', null, null, this.getTagsForStencil(gn, 'firepower appliance', dt).join(' ')),
536	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_management_center;',
537	   			w, w * 0.9, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
538	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firepower_management_center_2;',
539	   			w, w * 0.9, '', 'Firepower Management Center', null, null, this.getTagsForStencil(gn, 'firepower management center', dt).join(' ')),
540	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firewall;',
541	   			w, w * 0.9, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
542	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.firewall_2;',
543	   			w, w * 0.9, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
544	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_collector;',
545	   			w, w * 0.9, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
546	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_collector_2;',
547	   			w, w * 0.9, '', 'Flow Collector', null, null, this.getTagsForStencil(gn, 'flow collector', dt).join(' ')),
548	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_sensor;',
549	   			w, w * 0.9, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
550	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.flow_sensor_2;',
551	   			w, w * 0.9, '', 'Flow Sensor', null, null, this.getTagsForStencil(gn, 'flow sensor', dt).join(' ')),
552	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.intrusion_detection;',
553	   			w, w * 0.9, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
554	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.intrusion_prevention_2;',
555	   			w, w * 0.9, '', 'Intrusion Prevention', null, null, this.getTagsForStencil(gn, 'intrusion detection', dt).join(' ')),
556	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.identity_directory;',
557	   			w, w * 0.9, '', 'Identity Directory', null, null, this.getTagsForStencil(gn, 'identity directory', dt).join(' ')),
558	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l2_switch;',
559	   			w, w * 0.9, '', 'L2 Switch', null, null, this.getTagsForStencil(gn, 'l2 switch', dt).join(' ')),
560	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.l3_switch;',
561	   			w, w * 0.9, '', 'L3 Switch', null, null, this.getTagsForStencil(gn, 'l3 switch', dt).join(' ')),
562	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.load_balancer;',
563	   			w, w * 0.9, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
564	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.load_balancer_2;',
565	   			w, w * 0.9, '', 'Load Balancer', null, null, this.getTagsForStencil(gn, 'load balancer', dt).join(' ')),
566	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.log_collector;',
567	   			w, w * 0.9, '', 'Log collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
568	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.log_collector_2;',
569	   			w, w * 0.9, '', 'Log collector', null, null, this.getTagsForStencil(gn, 'log collector', dt).join(' ')),
570	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mgmt_console;',
571	   			w, w * 0.9, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'management console', dt).join(' ')),
572	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mgmt_console_2;',
573	   			w, w * 0.9, '', 'Management Console', null, null, this.getTagsForStencil(gn, 'management console', dt).join(' ')),
574	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mdm;',
575	   			w, w * 0.9, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
576	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mdm_2;',
577	   			w, w * 0.9, '', 'MDM', null, null, this.getTagsForStencil(gn, 'mdm', dt).join(' ')),
578	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.mobile_device;',
579	   			w, w * 0.9, '', 'Mobile Device', null, null, this.getTagsForStencil(gn, 'mobile device', dt).join(' ')),
580	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.monitoring;',
581	   			w, w * 0.9, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
582	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.monitoring_2;',
583	   			w, w * 0.9, '', 'Monitoring', null, null, this.getTagsForStencil(gn, 'monitoring', dt).join(' ')),
584	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ms_active_directory;',
585	   			w, w * 0.9, '', 'MS Active Directory', null, null, this.getTagsForStencil(gn, 'ms active directory', dt).join(' ')),
586	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ms_active_directory_2;',
587	   			w, w * 0.9, '', 'MS Active Directory', null, null, this.getTagsForStencil(gn, 'ms active directory', dt).join(' ')),
588	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_1kv;',
589	   			w, w * 0.9, '', 'Nexus 1kv', null, null, this.getTagsForStencil(gn, 'nexus 1kv', dt).join(' ')),
590	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_data_center_switch;',
591	   			w, w * 0.9, '', 'Nexus Data Center Switch', null, null, this.getTagsForStencil(gn, 'nexus data center switch', dt).join(' ')),
592	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_fabric_switch;',
593	   			w, w * 0.9, '', 'Nexus Fabric Switch', null, null, this.getTagsForStencil(gn, 'nexus fabric switch', dt).join(' ')),
594	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.nexus_switch;',
595	   			w, w * 0.9, '', 'Nexus Switch', null, null, this.getTagsForStencil(gn, 'nexus switch', dt).join(' ')),
596	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ntp;',
597	   			w, w * 0.9, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
598	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.ntp_2;',
599	   			w, w * 0.9, '', 'NTP', null, null, this.getTagsForStencil(gn, 'ntp', dt).join(' ')),
600	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.phone;',
601	   			w, w * 0.9, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')),
602	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.policy;',
603	   			w, w * 0.9, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
604	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.policy_2;',
605	   			w, w * 0.9, '', 'Policy', null, null, this.getTagsForStencil(gn, 'policy', dt).join(' ')),
606	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.radware;',
607	   			w, w * 0.9, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware', dt).join(' ')),
608	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.radware_2;',
609	   			w, w * 0.9, '', 'Radware Appliance', null, null, this.getTagsForStencil(gn, 'radware', dt).join(' ')),
610	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.router;',
611	   			w, w * 0.9, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
612	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.router_2;',
613				w, w * 0.9, '', 'Router', null, null, this.getTagsForStencil(gn, 'router', dt).join(' ')),
614	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sd_wan;',
615	   			w, w * 0.9, '', 'SD-WAN', null, null, this.getTagsForStencil(gn, 'sd wan', dt).join(' ')),
616	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sd_wan_2;',
617	   			w, w * 0.9, '', 'SD-WAN', null, null, this.getTagsForStencil(gn, 'sd wan', dt).join(' ')),
618	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.secure_dns;',
619	   			w, w * 0.9, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns', dt).join(' ')),
620	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.secure_dns_2;',
621	   			w, w * 0.9, '', 'Secure DNS', null, null, this.getTagsForStencil(gn, 'secure dns', dt).join(' ')),
622	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.sensor;',
623	   			w, w * 0.9, '', 'Sensor', null, null, this.getTagsForStencil(gn, 'sensor', dt).join(' ')),
624	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_1;',
625	   			w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
626	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_3;',
627	   			w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
628	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_2;',
629	   			w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
630	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.server_4;',
631	   			w, w * 0.9, '', 'Server', null, null, this.getTagsForStencil(gn, 'server', dt).join(' ')),
632	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.siem;',
633	   			w, w * 0.9, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
634	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.siem_2;',
635	   			w, w * 0.9, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
636	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.storage_1;',
637	   			w, w * 0.9, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
638	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.storage;',
639	   			w, w * 0.9, '', 'Storage', null, null, this.getTagsForStencil(gn, 'storage', dt).join(' ')),
640	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.switch_stack;',
641	   			w, w * 0.9, '', 'Switch Stack', null, null, this.getTagsForStencil(gn, 'switch stack', dt).join(' ')),
642	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.tetration_agent;',
643	   			w, w * 0.9, '', 'Tetration Agent', null, null, this.getTagsForStencil(gn, 'tetration agent', dt).join(' ')),
644	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.tls_appliance;',
645	   			w, w * 0.9, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
646	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.encryption_offload;',
647	   			w, w * 0.9, '', 'TLS Appliance', null, null, this.getTagsForStencil(gn, 'tls appliance', dt).join(' ')),
648	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.udp_director;',
649	   			w, w * 0.9, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
650	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.udp_director_2;',
651	   			w, w * 0.9, '', 'UDP Director', null, null, this.getTagsForStencil(gn, 'udp director', dt).join(' ')),
652	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.user;',
653	   			w, w, '', 'User', null, null, this.getTagsForStencil(gn, 'user', dt).join(' ')),
654	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.users;',
655	   			w, w, '', 'Users', null, null, this.getTagsForStencil(gn, 'users', dt).join(' ')),
656	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=ellipse;resIcon=' + gn + '.video_endpoint;',
657	   			w, w, '', 'Video Endpoint', null, null, this.getTagsForStencil(gn, 'video endpoint', dt).join(' ')),
658	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.virtual_secure_server;',
659	   			w, w * 0.9, '', 'Virtual Secure Server', null, null, this.getTagsForStencil(gn, 'virtual secure server', dt).join(' ')),
660	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vload_balancer;',
661	   			w, w * 0.9, '', 'vLoad Balancer', null, null, this.getTagsForStencil(gn, 'vload balancer', dt).join(' ')),
662	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vpn_concentrator;',
663	   			w, w * 0.9, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator', dt).join(' ')),
664	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vpn_concentrator_2;',
665	   			w, w * 0.9, '', 'VPN Concentrator', null, null, this.getTagsForStencil(gn, 'vpn concentrator', dt).join(' ')),
666	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vulnerability_management;',
667	   			w, w * 0.9, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
668	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vulnerability_management_2;',
669	   			w, w * 0.9, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
670	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwaf_security;',
671	   			w, w * 0.9, '', 'vWAF Security', null, null, this.getTagsForStencil(gn, 'vwaf security', dt).join(' ')),
672	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vweb_security;',
673	   			w, w * 0.9, '', 'vWeb Security', null, null, this.getTagsForStencil(gn, 'vweb security', dt).join(' ')),
674	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwlan_controller;',
675	   			w, w * 0.9, '', 'vWLAN Controller', null, null, this.getTagsForStencil(gn, 'vwlan controller', dt).join(' ')),
676	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_application_firewall;',
677	   			w, w * 0.9, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
678	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_application_firewall_2;',
679	   			w, w * 0.9, '', 'Web Application Firewall', null, null, this.getTagsForStencil(gn, 'web application firewall', dt).join(' ')),
680	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_filtering;',
681	   			w, w * 0.9, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
682	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_filtering_2;',
683	   			w, w * 0.9, '', 'Web Filtering', null, null, this.getTagsForStencil(gn, 'web filtering', dt).join(' ')),
684	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.web_security;',
685	   			w, w * 0.9, '', 'Web Security', null, null, this.getTagsForStencil(gn, 'web security', dt).join(' ')),
686	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wide_area_application_engine;',
687	   			w, w * 0.9, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
688	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wide_area_application_engine_2;',
689	   			w, w * 0.9, '', 'Wide Area Application Engine', null, null, this.getTagsForStencil(gn, 'wide area application engine', dt).join(' ')),
690	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wireless_corporate_device;',
691	   			w, w * 0.9, '', 'Wireless Corporate Device', null, null, this.getTagsForStencil(gn, 'wireless corporate device', dt).join(' ')),
692	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wireless_switch;',
693	   			w, w * 0.9, '', 'Wireless Switch', null, null, this.getTagsForStencil(gn, 'wireless switch', dt).join(' ')),
694	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.wlan_controller;',
695	   			w, w * 0.9, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wlan wireless lan controller', dt).join(' ')),
696	   		this.createVertexTemplateEntry(n + 'compositeIcon;bgIcon=' + gn + '.blank_device;resIcon=' + gn + '.vwlan_controller;',
697	   			w, w * 0.9, '', 'Wireless LAN Controller', null, null, this.getTagsForStencil(gn, 'wlan wireless lan controller', dt).join(' '))
698		]);
699	};
700
701	Sidebar.prototype.addCiscoSafeIoTThingsIconsPalette = function()
702	{
703		var w = 50;
704		var h = 50;
705		var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.iot_things_icons.';
706		var gn = 'mxgraph.cisco_safe.iot_things_icons';
707		var dt = 'cisco safe iot things icons internet';
708
709		var sc = 1;
710		var w2 = sc * 50;
711
712		this.addPaletteFunctions('cisco_safeIoT Things Icons', 'Cisco Safe / IoT Things Icons', false,
713		[
714	   		 this.createVertexTemplateEntry(s + 'icon1;',
715					 w * 0.97, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
716	   		 this.createVertexTemplateEntry(s + 'icon2;',
717					 w, h * 0.96, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
718	   		 this.createVertexTemplateEntry(s + 'icon3;',
719					 w, h * 0.48, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
720	   		 this.createVertexTemplateEntry(s + 'icon4;',
721					 w, h * 0.78, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
722	   		 this.createVertexTemplateEntry(s + 'icon5;',
723					 w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
724	   		 this.createVertexTemplateEntry(s + 'icon6;',
725					 w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
726	   		 this.createVertexTemplateEntry(s + 'icon7;',
727					 w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
728	   		 this.createVertexTemplateEntry(s + 'icon8;',
729					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
730	   		 this.createVertexTemplateEntry(s + 'icon9;',
731					 w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
732	   		 this.createVertexTemplateEntry(s + 'icon10;',
733					 w * 0.5, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
734	   		 this.createVertexTemplateEntry(s + 'icon11;',
735					 w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
736	   		 this.createVertexTemplateEntry(s + 'icon12;',
737					 w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
738	   		 this.createVertexTemplateEntry(s + 'icon13;',
739					 w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
740	   		 this.createVertexTemplateEntry(s + 'icon14;',
741					 w * 0.37, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
742	   		 this.createVertexTemplateEntry(s + 'icon15;',
743					 w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
744	   		 this.createVertexTemplateEntry(s + 'icon16;',
745					 w, h * 0.92, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
746	   		 this.createVertexTemplateEntry(s + 'icon17;',
747					 w * 0.7, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
748	   		 this.createVertexTemplateEntry(s + 'icon18;',
749					 w, h * 0.75, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
750	   		 this.createVertexTemplateEntry(s + 'icon19;',
751					 w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
752	   		 this.createVertexTemplateEntry(s + 'icon20;',
753					 w * 0.91, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
754	   		 this.createVertexTemplateEntry(s + 'icon21;',
755					 w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
756	   		 this.createVertexTemplateEntry(s + 'icon22;',
757					 w, h * 0.73, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
758	   		 this.createVertexTemplateEntry(s + 'icon23;',
759					 w, h * 0.9, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
760	   		 this.createVertexTemplateEntry(s + 'icon24;',
761					 w, h * 0.87, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
762	   		 this.createVertexTemplateEntry(s + 'icon25;',
763					 w, h * 0.22, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
764	   		 this.createVertexTemplateEntry(s + 'icon26;',
765					 w, h * 0.63, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
766	   		 this.createVertexTemplateEntry(s + 'icon27;',
767					 w, h * 0.5, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
768	   		 this.createVertexTemplateEntry(s + 'icon28;',
769					 w, h * 0.74, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
770	   		 this.createVertexTemplateEntry(s + 'icon29;',
771					 w, h * 0.74, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
772	   		 this.createVertexTemplateEntry(s + 'icon30;',
773					 w, h * 0.71, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
774	   		 this.createVertexTemplateEntry(s + 'icon31;',
775					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
776	   		 this.createVertexTemplateEntry(s + 'icon32;',
777					 w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
778	   		 this.createVertexTemplateEntry(s + 'icon33;',
779					 w, h * 0.78, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
780	   		 this.createVertexTemplateEntry(s + 'icon34;',
781					 w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
782	   		 this.createVertexTemplateEntry(s + 'icon35;',
783					 w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
784	   		 this.createVertexTemplateEntry(s + 'icon36;',
785					 w * 0.53, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
786	   		 this.createVertexTemplateEntry(s + 'icon37;',
787					 w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
788	   		 this.createVertexTemplateEntry(s + 'icon38;',
789					 w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
790	   		 this.createVertexTemplateEntry(s + 'icon39;',
791					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
792	   		 this.createVertexTemplateEntry(s + 'icon40;',
793					 w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
794	   		 this.createVertexTemplateEntry(s + 'icon41;',
795					 w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
796	   		 this.createVertexTemplateEntry(s + 'icon42;',
797					 w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
798	   		 this.createVertexTemplateEntry(s + 'icon43;',
799					 w * 0.96, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
800	   		 this.createVertexTemplateEntry(s + 'icon44;',
801					 w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
802	   		 this.createVertexTemplateEntry(s + 'icon45;',
803					 w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
804	   		 this.createVertexTemplateEntry(s + 'icon46;',
805					 w, h * 0.83, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
806	   		 this.createVertexTemplateEntry(s + 'icon47;',
807					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
808	   		 this.createVertexTemplateEntry(s + 'icon48;',
809					 w * 0.43, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
810		]);
811	};
812
813	Sidebar.prototype.addCiscoSafePeoplePlacesThingsIconsPalette = function()
814	{
815		var w = 50;
816		var h = 50;
817		var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.people_places_things_icons.';
818		var gn = 'mxgraph.cisco_safe.people_places_things_icons';
819		var dt = 'cisco safe people places things';
820
821		var sc = 1;
822		var w2 = sc * 50;
823
824		this.addPaletteFunctions('cisco_safePeople Places Things Icons', 'Cisco Safe / People, Places, Things Icons', false,
825		[
826	   		 this.createVertexTemplateEntry(s + 'icon1;',
827					 w * 0.93, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
828	   		 this.createVertexTemplateEntry(s + 'icon2;',
829					 w, h * 0.82, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
830	   		 this.createVertexTemplateEntry(s + 'icon3;',
831					 w, h * 0.97, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
832	   		 this.createVertexTemplateEntry(s + 'icon4;',
833					 w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
834	   		 this.createVertexTemplateEntry(s + 'icon5;',
835					 w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
836	   		 this.createVertexTemplateEntry(s + 'icon6;',
837					 w, h * 0.87, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
838	   		 this.createVertexTemplateEntry(s + 'icon7;',
839					 w * 0.98, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
840	   		 this.createVertexTemplateEntry(s + 'icon8;',
841					 w * 0.39, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
842	   		 this.createVertexTemplateEntry(s + 'icon9;',
843					 w, h * 0.9, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
844	   		 this.createVertexTemplateEntry(s + 'icon10;',
845					 w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
846	   		 this.createVertexTemplateEntry(s + 'icon11;',
847					 w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
848		]);
849	};
850
851	Sidebar.prototype.addCiscoSafeSecurityIconsPalette = function()
852	{
853		var w = 50;
854		var h = 50;
855		var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.security_icons.';
856		var gn = 'mxgraph.cisco_safe.security_icons';
857		var dt = 'cisco safe security';
858
859		var sc = 1;
860		var w2 = sc * 50;
861
862		this.addPaletteFunctions('cisco_safeSecurity Icons', 'Cisco Safe / Security Icons', false,
863		[
864	   		 this.createVertexTemplateEntry(s + 'ngips;',
865					 w * 0.71, h * 0.85, '', 'NGIPS', null, null, this.getTagsForStencil(gn, 'ngips', dt).join(' ')),
866	   		 this.createVertexTemplateEntry(s + 'ngfw;',
867					 w * 1.05, h * 0.92, '', 'NGFW', null, null, this.getTagsForStencil(gn, 'ngfw', dt).join(' ')),
868	   		 this.createVertexTemplateEntry(s + 'ise;',
869					 w * 0.49, h * 0.69, '', 'ISE', null, null, this.getTagsForStencil(gn, 'ise', dt).join(' ')),
870	   		 this.createVertexTemplateEntry(s + 'ids;',
871					 w * 0.92, h * 0.71, '', 'IDS', null, null, this.getTagsForStencil(gn, 'ids', dt).join(' ')),
872	   		 this.createVertexTemplateEntry(s + 'nba;',
873					 w * 0.89, h * 0.67, '', 'NBA', null, null, this.getTagsForStencil(gn, 'nba', dt).join(' ')),
874	   		 this.createVertexTemplateEntry(s + 'nac;',
875					 w, h, '', 'NAC', null, null, this.getTagsForStencil(gn, 'nac', dt).join(' ')),
876	   		 this.createVertexTemplateEntry(s + 'iam;',
877					 w * 0.75, h * 0.94, '', 'IAM', null, null, this.getTagsForStencil(gn, 'iam', dt).join(' ')),
878	   		 this.createVertexTemplateEntry(s + 'amp;',
879					 w, h, '', 'AMP', null, null, this.getTagsForStencil(gn, 'amp', dt).join(' ')),
880	   		 this.createVertexTemplateEntry(s + 'utm;',
881					 w * 1.04, h * 0.23, '', 'UTM', null, null, this.getTagsForStencil(gn, 'utm', dt).join(' ')),
882	   		 this.createVertexTemplateEntry(s + 'firewall;',
883					 w * 0.99, h * 0.7, '', 'Firewall', null, null, this.getTagsForStencil(gn, 'firewall', dt).join(' ')),
884	   		 this.createVertexTemplateEntry(s + 'vulnerability_management;',
885					 w, h, '', 'Vulnerability Management', null, null, this.getTagsForStencil(gn, 'vulnerability management', dt).join(' ')),
886	   		 this.createVertexTemplateEntry(s + 'log_management;',
887					 w * 0.6, h * 0.75, '', 'Log Management', null, null, this.getTagsForStencil(gn, 'log management', dt).join(' ')),
888	   		 this.createVertexTemplateEntry(s + 'application_control;',
889					 w, h, '', 'Application Control', null, null, this.getTagsForStencil(gn, 'application control', dt).join(' ')),
890	   		 this.createVertexTemplateEntry(s + 'virtual;',
891					 w, h, '', 'Virtual', null, null, this.getTagsForStencil(gn, 'virtual', dt).join(' ')),
892	   		 this.createVertexTemplateEntry(s + 'siem;',
893					 w, h * 0.81, '', 'SIEM', null, null, this.getTagsForStencil(gn, 'siem', dt).join(' ')),
894	   		 this.createVertexTemplateEntry(s + 'antivirus;',
895					 w, h * 0.65, '', 'Antivirus', null, null, this.getTagsForStencil(gn, 'antivirus', dt).join(' ')),
896	   		 this.createVertexTemplateEntry(s + 'patch_management;',
897					 w, h * 0.78, '', 'Patch Management', null, null, this.getTagsForStencil(gn, 'patch management', dt).join(' ')),
898	   		 this.createVertexTemplateEntry(s + 'inspection_forensics;',
899					 w, h * 0.77, '', 'Inspection / Forensics', null, null, this.getTagsForStencil(gn, 'inspection forensics', dt).join(' ')),
900	   		 this.createVertexTemplateEntry(s + 'malware_sandbox;',
901					 w, h * 0.62, '', 'Malware Sandbox', null, null, this.getTagsForStencil(gn, 'malware sandbox', dt).join(' ')),
902	   		 this.createVertexTemplateEntry(s + 'ddos;',
903					 w, h, '', 'DDoS', null, null, this.getTagsForStencil(gn, 'ddos', dt).join(' ')),
904	   		 this.createVertexTemplateEntry(s + 'talos;',
905					 w * 1.86, h * 0.43, '', 'Talos', null, null, this.getTagsForStencil(gn, 'talos', dt).join(' ')),
906	   		 this.createVertexTemplateEntry(s + 'services;',
907					 w, h * 0.92, '', 'Services', null, null, this.getTagsForStencil(gn, 'services', dt).join(' ')),
908	   		 this.createVertexTemplateEntry(s + 'vpn;',
909					 w * 0.86, h, '', 'VPN', null, null, this.getTagsForStencil(gn, 'vpn', dt).join(' ')),
910	   		 this.createVertexTemplateEntry(s + 'email;',
911					 w, h * 0.71, '', 'Email', null, null, this.getTagsForStencil(gn, 'email', dt).join(' ')),
912	   		 this.createVertexTemplateEntry(s + 'web;',
913					 w, h, '', 'Web', null, null, this.getTagsForStencil(gn, 'web', dt).join(' ')),
914	   		 this.createVertexTemplateEntry(s + 'virtual_deployment;',
915					 w, h * 0.89, '', 'Virtual Deployment', null, null, this.getTagsForStencil(gn, 'virtual deployment', dt).join(' ')),
916	   		 this.createVertexTemplateEntry(s + 'cloud_based;',
917					 w, h * 0.63, '', 'Cloud Based', null, null, this.getTagsForStencil(gn, 'cloud based', dt).join(' ')),
918	   		 this.createVertexTemplateEntry(s + 'cloud_based_management;',
919					 w, h * 0.78, '', 'Cloud Based Management', null, null, this.getTagsForStencil(gn, 'cloud based management', dt).join(' ')),
920	   		 this.createVertexTemplateEntry(s + 'trustsec;',
921					 w * 0.83, h, '', 'Trustsec', null, null, this.getTagsForStencil(gn, 'trustsec', dt).join(' ')),
922	   		 this.createVertexTemplateEntry(s + 'retrospective_security;',
923					 w, h * 0.96, '', 'Retrospective Security', null, null, this.getTagsForStencil(gn, 'retrospective security', dt).join(' ')),
924	   		 this.createVertexTemplateEntry(s + 'apic;',
925					 w, h * 0.81, '', 'APIC', null, null, this.getTagsForStencil(gn, 'apic', dt).join(' ')),
926	   		 this.createVertexTemplateEntry(s + 'waf;',
927					 w * 0.8, h, '', 'WAF', null, null, this.getTagsForStencil(gn, 'waf', dt).join(' ')),
928	   		 this.createVertexTemplateEntry(s + 'icon1;',
929					 w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
930	   		 this.createVertexTemplateEntry(s + 'icon2;',
931					 w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
932	   		 this.createVertexTemplateEntry(s + 'icon3;',
933					 w * 0.78, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
934	   		 this.createVertexTemplateEntry(s + 'icon4;',
935					 w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
936	   		 this.createVertexTemplateEntry(s + 'icon5;',
937					 w * 0.82, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
938	   		 this.createVertexTemplateEntry(s + 'icon6;',
939					 w * 0.95, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
940	   		 this.createVertexTemplateEntry(s + 'icon7;',
941					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
942	   		 this.createVertexTemplateEntry(s + 'icon8;',
943					 w * 0.85, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
944	   		 this.createVertexTemplateEntry(s + 'icon9;',
945					 w * 0.68, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
946	   		 this.createVertexTemplateEntry(s + 'icon10;',
947					 w, h * 0.62, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
948	   		 this.createVertexTemplateEntry(s + 'icon11;',
949					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
950	   		 this.createVertexTemplateEntry(s + 'icon12;',
951					 w * 0.84, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
952	   		 this.createVertexTemplateEntry(s + 'icon13;',
953					 w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
954	   		 this.createVertexTemplateEntry(s + 'icon14;',
955					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
956	   		 this.createVertexTemplateEntry(s + 'icon15;',
957					 w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
958	   		 this.createVertexTemplateEntry(s + 'icon16;',
959					 w, h * 0.47, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
960	   		 this.createVertexTemplateEntry(s + 'icon17;',
961					 w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
962	   		 this.createVertexTemplateEntry(s + 'icon18;',
963					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
964	   		 this.createVertexTemplateEntry(s + 'icon19;',
965					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
966	   		 this.createVertexTemplateEntry(s + 'icon20;',
967					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
968	   		 this.createVertexTemplateEntry(s + 'icon21;',
969					 w * 0.87, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
970	   		 this.createVertexTemplateEntry(s + 'icon22;',
971					 w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
972	   		 this.createVertexTemplateEntry(s + 'icon23;',
973					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
974	   		 this.createVertexTemplateEntry(s + 'icon24;',
975					 w * 0.89, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
976	   		 this.createVertexTemplateEntry(s + 'icon25;',
977					 w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
978	   		 this.createVertexTemplateEntry(s + 'icon26;',
979					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
980	   		 this.createVertexTemplateEntry(s + 'icon27;',
981					 w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
982	   		 this.createVertexTemplateEntry(s + 'icon28;',
983					 w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
984	   		 this.createVertexTemplateEntry(s + 'icon29;',
985					 w * 0.92, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
986	   		 this.createVertexTemplateEntry(s + 'icon30;',
987					 w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
988	   		 this.createVertexTemplateEntry(s + 'icon31;',
989					 w, h * 0.86, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
990	   		 this.createVertexTemplateEntry(s + 'icon32;',
991					 w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
992	   		 this.createVertexTemplateEntry(s + 'icon33;',
993					 w * 0.99, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
994	   		 this.createVertexTemplateEntry(s + 'icon34;',
995					 w, h * 0.91, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
996	   		 this.createVertexTemplateEntry(s + 'icon35;',
997					 w, h * 0.57, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
998	   		 this.createVertexTemplateEntry(s + 'icon36;',
999					 w, h * 0.98, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1000	   		 this.createVertexTemplateEntry(s + 'icon37;',
1001					 w * 0.81, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1002	   		 this.createVertexTemplateEntry(s + 'icon38;',
1003					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1004	   		 this.createVertexTemplateEntry(s + 'icon39;',
1005					 w * 0.72, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1006	   		 this.createVertexTemplateEntry(s + 'icon40;',
1007					 w, h * 0.66, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
1008		]);
1009	};
1010
1011	Sidebar.prototype.addCiscoSafeTechnologyIconsPalette = function()
1012	{
1013		var w = 50;
1014		var h = 50;
1015		var s = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#282828;strokeColor=none;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.technology_icons.';
1016		var gn = 'mxgraph.cisco_safe.technology_icons';
1017		var dt = 'cisco safe technology';
1018
1019		var sc = 1;
1020		var w2 = sc * 50;
1021
1022		this.addPaletteFunctions('cisco_safeTechnology Icons', 'Cisco Safe / Technology Icons', false,
1023		[
1024	   		 this.createVertexTemplateEntry(s + 'icon1;',
1025					 w, h * 0.65, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1026	   		 this.createVertexTemplateEntry(s + 'icon2;',
1027					 w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1028	   		 this.createVertexTemplateEntry(s + 'icon3;',
1029					 w, h * 0.86, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1030	   		 this.createVertexTemplateEntry(s + 'icon4;',
1031					 w, h * 0.99, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1032	   		 this.createVertexTemplateEntry(s + 'icon5;',
1033					 w, h * 0.76, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1034	   		 this.createVertexTemplateEntry(s + 'icon6;',
1035					 w * 0.58, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1036	   		 this.createVertexTemplateEntry(s + 'icon7;',
1037					 w * 0.69, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1038	   		 this.createVertexTemplateEntry(s + 'icon8;',
1039					 w * 0.91, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1040	   		 this.createVertexTemplateEntry(s + 'icon9;',
1041					 w * 0.78, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1042	   		 this.createVertexTemplateEntry(s + 'icon10;',
1043					 w, h * 0.82, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1044	   		 this.createVertexTemplateEntry(s + 'icon11;',
1045					 w, h * 0.76, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1046	   		 this.createVertexTemplateEntry(s + 'icon12;',
1047					 w * 0.79, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1048	   		 this.createVertexTemplateEntry(s + 'icon13;',
1049					 w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1050	   		 this.createVertexTemplateEntry(s + 'icon14;',
1051					 w, h * 0.77, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1052	   		 this.createVertexTemplateEntry(s + 'icon15;',
1053					 w, h * 0.89, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1054	   		 this.createVertexTemplateEntry(s + 'icon16;',
1055					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1056	   		 this.createVertexTemplateEntry(s + 'icon17;',
1057					 w, h * 0.85, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1058	   		 this.createVertexTemplateEntry(s + 'icon18;',
1059					 w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1060	   		 this.createVertexTemplateEntry(s + 'icon19;',
1061					 w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1062	   		 this.createVertexTemplateEntry(s + 'icon20;',
1063					 w, h * 0.84, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1064	   		 this.createVertexTemplateEntry(s + 'icon21;',
1065					 w * 0.86, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1066	   		 this.createVertexTemplateEntry(s + 'icon22;',
1067					 w, h * 0.56, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1068	   		 this.createVertexTemplateEntry(s + 'icon23;',
1069					 w, h * 0.47, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1070	   		 this.createVertexTemplateEntry(s + 'icon24;',
1071					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1072	   		 this.createVertexTemplateEntry(s + 'icon25;',
1073					 w, h * 0.69, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1074	   		 this.createVertexTemplateEntry(s + 'icon26;',
1075					 w, h * 0.81, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1076	   		 this.createVertexTemplateEntry(s + 'icon27;',
1077					 w, h * 0.7, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1078	   		 this.createVertexTemplateEntry(s + 'icon28;',
1079					 w, h * 0.43, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' ')),
1080	   		 this.createVertexTemplateEntry(s + 'icon29;',
1081					 w, h, '', '', null, null, this.getTagsForStencil(gn, '', dt).join(' '))
1082		]);
1083	};
1084
1085	Sidebar.prototype.addCiscoSafeThreatPalette = function()
1086	{
1087		var w = 50;
1088		var h = 50;
1089		var n2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;sketch=0;html=1;fillColor=#F06650;strokeColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;align=center;' +
1090		'points=[];pointerEvents=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.cisco_safe.";
1091		var gn = 'mxgraph.cisco_safe.threat';
1092		var dt = 'cisco safe threat ';
1093
1094		var sc = 1;
1095		var w2 = sc * 50;
1096
1097		this.addPaletteFunctions('cisco_safeThreat', 'Cisco Safe / Threat', false,
1098		[
1099	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a1;',
1100					 w2 * 0.98, w2, '', 'Threat A1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1101	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a2;',
1102					 w2 * 0.98, w2, '', 'Threat A2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1103	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a3;',
1104					 w2 * 0.98, w2, '', 'Threat A3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1105	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a4;',
1106					 w2 * 0.98, w2, '', 'Threat A4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1107	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a5;',
1108					 w2 * 0.98, w2, '', 'Threat A5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1109	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a6;',
1110					 w2 * 0.98, w2, '', 'Threat A6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1111	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a7;',
1112					 w2 * 0.98, w2, '', 'Threat A7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1113	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat1;resIcon=' + gn + '.threat_a8;',
1114					 w2 * 0.98, w2, '', 'Threat A8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1115	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b1;',
1116					 w2 * 0.63, w2, '', 'Threat B1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1117	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b2;',
1118					 w2 * 0.63, w2, '', 'Threat B2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1119	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b3;',
1120					 w2 * 0.63, w2, '', 'Threat B3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1121	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b4;',
1122					 w2 * 0.63, w2, '', 'Threat B4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1123	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b5;',
1124					 w2 * 0.63, w2, '', 'Threat B5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1125	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b6;',
1126					 w2 * 0.63, w2, '', 'Threat B6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1127	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b7;',
1128					 w2 * 0.63, w2, '', 'Threat B7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1129	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat2;resIcon=' + gn + '.threat_b8;',
1130					 w2 * 0.63, w2, '', 'Threat B8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1131	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c1;',
1132					 w2, w2 * 0.81, '', 'Threat C1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1133	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c2;',
1134					 w2, w2 * 0.81, '', 'Threat C2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1135	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c3;',
1136					 w2, w2 * 0.81, '', 'Threat C3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1137	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c4;',
1138					 w2, w2 * 0.81, '', 'Threat C4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1139	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c5;',
1140					 w2, w2 * 0.81, '', 'Threat C5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1141	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c6;',
1142					 w2, w2 * 0.81, '', 'Threat C6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1143	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c7;',
1144					 w2, w2 * 0.81, '', 'Threat C7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1145	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat3;resIcon=' + gn + '.threat_c8;',
1146					 w2, w2 * 0.81, '', 'Threat C8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1147	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d1;',
1148					 w2 * 0.93, w2, '', 'Threat D1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1149	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d2;',
1150					 w2 * 0.93, w2, '', 'Threat D2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1151	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d3;',
1152					 w2 * 0.93, w2, '', 'Threat D3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1153	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d4;',
1154					 w2 * 0.93, w2, '', 'Threat D4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1155	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d5;',
1156					 w2 * 0.93, w2, '', 'Threat D5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1157	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d6;',
1158					 w2 * 0.93, w2, '', 'Threat D6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1159	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d7;',
1160					 w2 * 0.93, w2, '', 'Threat D7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1161	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat4;resIcon=' + gn + '.threat_d8;',
1162					 w2 * 0.93, w2, '', 'Threat D8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1163	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e1;',
1164					 w2, w2 * 0.94, '', 'Threat E1', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1165	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e2;',
1166					 w2, w2 * 0.94, '', 'Threat E2', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1167	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e3;',
1168					 w2, w2 * 0.94, '', 'Threat E3', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1169	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e4;',
1170					 w2, w2 * 0.94, '', 'Threat E4', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1171	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e5;',
1172					 w2, w2 * 0.94, '', 'Threat E5', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1173	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e6;',
1174					 w2, w2 * 0.94, '', 'Threat E6', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1175	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e7;',
1176					 w2, w2 * 0.94, '', 'Threat E7', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' ')),
1177	   		 this.createVertexTemplateEntry(n2 + 'compositeIcon;bgIcon=threat5;resIcon=' + gn + '.threat_e8;',
1178					 w2, w2 * 0.94, '', 'Threat E8', null, null, this.getTagsForStencil(gn, 'threat', dt).join(' '))
1179		]);
1180	};
1181})();
1182