import random
import traceback
import demistomock as demisto # noqa: F401
from CommonServerPython import * # noqa: F401
"""
*//////
,////////*. ..,.. ,,,.
////// ///// .&&&&@@@@@&&( /&&&&@@@&&&&&. @&&@@@@@@&&&& @@@@@&&&&@@@@@/ ,@&&@@@@@@@@@ ,@&&& %&&@*
/////, //////. &&&@. @&&&, #&&&( @&&( && /&&& ,@&&. &&&@&&&&
///// //////* &&&/ .@&&& .@&&% @&&&@@@&&&&@( /&&& ,@&&&&&&&&@ (&&&
,///// ////// *@&&%, ** (@&&&, /&&&@. @&&( .%&&&. /&&& ,@&&. &&&@,*@&&&.
,//////. ///, .%@&&&&&&&@( ,@@&&&&&&@%. @&&( #&&@/ /&&& ,@&&&&&&&&&&@ ,&&&&. .&&&@*
*///////*
,/////
.,,,,,, ,,,,,,. .,*//(///*,. .,*//(///*,. .,,,,,,,,. ,,,,,,,,,,,,,,,,.
/(((((/ /(((((* ./(((((((((((((((((* /(((((((((((((((((/, ,((((((((((, /((((((((((((((((((((,
((((((/ ((((((/ /((((((*. ./(((((* .((((((((*. ./(((((((* ((((((((((((. /((((/////////(((((((((
/(((((/ /(((((* ,(((((, , *(((((/ ,(((((( .(((((, *(((((. /((((/ ,(((((*
/((((((((((* (((((((/*,,. .(((((* .(((((* .(((((, ,(((((. /((((/ .(((((*
(((((((( ,((((((((((((((((/. ,(((((, /((((( .(((((* /((((( /((((/ ,((((((.
/((((((((((* ,/((((((((((((/ ,(((((, (((((/ .(((((//////////(((((. /((((((((((((((((((((/
*(((((/ /(((((* /(((((. ((((((. /(((((. .((((((((((((((((((((((. /(((((((((((((((((,
/(((((/ ((((((* ,((/*. ./((((( /((((((* ./((((((. (((((*............/((((( /((((/ .((((((.
/(((((/ .((((((* ,((((((((((((((((((((( /((((((((((((((((((((, (((((* /((((/ /((((/ .(((((/
((((((/ ((((((/ /(((((((((((((((. ,(((((((((((((/ .(((((* /((((( /((((/ *((((((
,*** .* *, ***, ,*, *, */* .** .* ,**** */* .* * .***, **** *. *, *. ,//. ***. ,* ,* .*/,
*/,/* /( (((( ,/,/* /* ( ,( (*/* ,/ (. (. */ ,(*(/ .(** ** (**(*/ ** /,.(((* */// */(
""" # noqa: E501
good_images = [
"https://raw.githubusercontent.com/demisto/content/10b88c87c2954c3b97108b3c07596fcf3cf128b7/Packs/ctf01/doc_files/F2.gif",
"https://raw.githubusercontent.com/demisto/content/10b88c87c2954c3b97108b3c07596fcf3cf128b7/Packs/ctf01/doc_files/F.gif",
"https://raw.githubusercontent.com/demisto/content/10b88c87c2954c3b97108b3c07596fcf3cf128b7/Packs/ctf01/doc_files/F3.gif",
"https://raw.githubusercontent.com/demisto/content/10b88c87c2954c3b97108b3c07596fcf3cf128b7/Packs/ctf01/doc_files/F4.gif",
]
bad_images = [
"https://raw.githubusercontent.com/demisto/content/9e0946e3f76ed1862c6e40ea79ab85a9449d7102/Packs/ctf01/doc_files/G2.gif",
"https://raw.githubusercontent.com/demisto/content/9e0946e3f76ed1862c6e40ea79ab85a9449d7102/Packs/ctf01/doc_files/G3.gif",
"https://raw.githubusercontent.com/demisto/content/9e0946e3f76ed1862c6e40ea79ab85a9449d7102/Packs/ctf01/doc_files/G4.gif",
"https://raw.githubusercontent.com/demisto/content/9e0946e3f76ed1862c6e40ea79ab85a9449d7102/Packs/ctf01/doc_files/G5.gif",
]
HTML_MESSAGE_1 = f"""