From ec8196389c99a1b284b27c8b5922bd4424f28759 Mon Sep 17 00:00:00 2001 From: llgoer Date: Sun, 10 May 2020 16:57:42 +0800 Subject: [PATCH] =?UTF-8?q?ckeditor=E5=8D=87=E7=BA=A7=E5=88=B04.15?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0dedepagebreak=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/ckeditor/CHANGES.md | 37 +- src/static/ckeditor/LICENSE.md | 4 +- src/static/ckeditor/adapters/jquery.js | 2 +- src/static/ckeditor/ckeditor.js | 2443 ++-- src/static/ckeditor/config.js | 2 + src/static/ckeditor/contents.css | 2 +- .../ckeditor/lang/_translationstatus.txt | 2 +- src/static/ckeditor/lang/af.js | 0 src/static/ckeditor/lang/ar.js | 0 src/static/ckeditor/lang/az.js | 0 src/static/ckeditor/lang/bg.js | 0 src/static/ckeditor/lang/bn.js | 0 src/static/ckeditor/lang/bs.js | 0 src/static/ckeditor/lang/ca.js | 0 src/static/ckeditor/lang/cs.js | 0 src/static/ckeditor/lang/cy.js | 0 src/static/ckeditor/lang/da.js | 0 src/static/ckeditor/lang/de-ch.js | 0 src/static/ckeditor/lang/de.js | 0 src/static/ckeditor/lang/el.js | 0 src/static/ckeditor/lang/en-au.js | 0 src/static/ckeditor/lang/en-ca.js | 0 src/static/ckeditor/lang/en-gb.js | 0 src/static/ckeditor/lang/en.js | 0 src/static/ckeditor/lang/eo.js | 0 src/static/ckeditor/lang/es-mx.js | 0 src/static/ckeditor/lang/es.js | 2 +- src/static/ckeditor/lang/et.js | 0 src/static/ckeditor/lang/eu.js | 0 src/static/ckeditor/lang/fa.js | 0 src/static/ckeditor/lang/fi.js | 0 src/static/ckeditor/lang/fo.js | 0 src/static/ckeditor/lang/fr-ca.js | 0 src/static/ckeditor/lang/fr.js | 0 src/static/ckeditor/lang/gl.js | 0 src/static/ckeditor/lang/gu.js | 0 src/static/ckeditor/lang/he.js | 0 src/static/ckeditor/lang/hi.js | 0 src/static/ckeditor/lang/hr.js | 0 src/static/ckeditor/lang/hu.js | 0 src/static/ckeditor/lang/id.js | 0 src/static/ckeditor/lang/is.js | 0 src/static/ckeditor/lang/it.js | 0 src/static/ckeditor/lang/ja.js | 0 src/static/ckeditor/lang/ka.js | 0 src/static/ckeditor/lang/km.js | 0 src/static/ckeditor/lang/ko.js | 0 src/static/ckeditor/lang/ku.js | 0 src/static/ckeditor/lang/lt.js | 0 src/static/ckeditor/lang/lv.js | 0 src/static/ckeditor/lang/mk.js | 0 src/static/ckeditor/lang/mn.js | 0 src/static/ckeditor/lang/ms.js | 0 src/static/ckeditor/lang/nb.js | 0 src/static/ckeditor/lang/nl.js | 0 src/static/ckeditor/lang/no.js | 0 src/static/ckeditor/lang/oc.js | 0 src/static/ckeditor/lang/pl.js | 0 src/static/ckeditor/lang/pt-br.js | 0 src/static/ckeditor/lang/pt.js | 0 src/static/ckeditor/lang/ro.js | 0 src/static/ckeditor/lang/ru.js | 0 src/static/ckeditor/lang/si.js | 0 src/static/ckeditor/lang/sk.js | 0 src/static/ckeditor/lang/sl.js | 0 src/static/ckeditor/lang/sq.js | 0 src/static/ckeditor/lang/sr-latn.js | 0 src/static/ckeditor/lang/sr.js | 0 src/static/ckeditor/lang/sv.js | 0 src/static/ckeditor/lang/th.js | 0 src/static/ckeditor/lang/tr.js | 0 src/static/ckeditor/lang/tt.js | 0 src/static/ckeditor/lang/ug.js | 0 src/static/ckeditor/lang/uk.js | 0 src/static/ckeditor/lang/vi.js | 0 src/static/ckeditor/lang/zh-cn.js | 0 src/static/ckeditor/lang/zh.js | 0 src/static/ckeditor/package-lock.json | 11305 ++++++++++++++++ .../plugins/a11yhelp/dialogs/a11yhelp.js | 2 +- .../dialogs/lang/_translationstatus.txt | 2 +- .../plugins/a11yhelp/dialogs/lang/af.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ar.js | 2 +- .../plugins/a11yhelp/dialogs/lang/az.js | 2 +- .../plugins/a11yhelp/dialogs/lang/bg.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ca.js | 2 +- .../plugins/a11yhelp/dialogs/lang/cs.js | 2 +- .../plugins/a11yhelp/dialogs/lang/cy.js | 2 +- .../plugins/a11yhelp/dialogs/lang/da.js | 2 +- .../plugins/a11yhelp/dialogs/lang/de-ch.js | 2 +- .../plugins/a11yhelp/dialogs/lang/de.js | 2 +- .../plugins/a11yhelp/dialogs/lang/el.js | 2 +- .../plugins/a11yhelp/dialogs/lang/en-au.js | 2 +- .../plugins/a11yhelp/dialogs/lang/en-gb.js | 2 +- .../plugins/a11yhelp/dialogs/lang/en.js | 2 +- .../plugins/a11yhelp/dialogs/lang/eo.js | 2 +- .../plugins/a11yhelp/dialogs/lang/es-mx.js | 2 +- .../plugins/a11yhelp/dialogs/lang/es.js | 2 +- .../plugins/a11yhelp/dialogs/lang/et.js | 2 +- .../plugins/a11yhelp/dialogs/lang/eu.js | 2 +- .../plugins/a11yhelp/dialogs/lang/fa.js | 2 +- .../plugins/a11yhelp/dialogs/lang/fi.js | 2 +- .../plugins/a11yhelp/dialogs/lang/fo.js | 2 +- .../plugins/a11yhelp/dialogs/lang/fr-ca.js | 2 +- .../plugins/a11yhelp/dialogs/lang/fr.js | 2 +- .../plugins/a11yhelp/dialogs/lang/gl.js | 2 +- .../plugins/a11yhelp/dialogs/lang/gu.js | 2 +- .../plugins/a11yhelp/dialogs/lang/he.js | 2 +- .../plugins/a11yhelp/dialogs/lang/hi.js | 2 +- .../plugins/a11yhelp/dialogs/lang/hr.js | 2 +- .../plugins/a11yhelp/dialogs/lang/hu.js | 2 +- .../plugins/a11yhelp/dialogs/lang/id.js | 2 +- .../plugins/a11yhelp/dialogs/lang/it.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ja.js | 2 +- .../plugins/a11yhelp/dialogs/lang/km.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ko.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ku.js | 2 +- .../plugins/a11yhelp/dialogs/lang/lt.js | 2 +- .../plugins/a11yhelp/dialogs/lang/lv.js | 2 +- .../plugins/a11yhelp/dialogs/lang/mk.js | 2 +- .../plugins/a11yhelp/dialogs/lang/mn.js | 2 +- .../plugins/a11yhelp/dialogs/lang/nb.js | 2 +- .../plugins/a11yhelp/dialogs/lang/nl.js | 2 +- .../plugins/a11yhelp/dialogs/lang/no.js | 2 +- .../plugins/a11yhelp/dialogs/lang/oc.js | 2 +- .../plugins/a11yhelp/dialogs/lang/pl.js | 2 +- .../plugins/a11yhelp/dialogs/lang/pt-br.js | 2 +- .../plugins/a11yhelp/dialogs/lang/pt.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ro.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ru.js | 2 +- .../plugins/a11yhelp/dialogs/lang/si.js | 2 +- .../plugins/a11yhelp/dialogs/lang/sk.js | 2 +- .../plugins/a11yhelp/dialogs/lang/sl.js | 2 +- .../plugins/a11yhelp/dialogs/lang/sq.js | 2 +- .../plugins/a11yhelp/dialogs/lang/sr-latn.js | 2 +- .../plugins/a11yhelp/dialogs/lang/sr.js | 2 +- .../plugins/a11yhelp/dialogs/lang/sv.js | 2 +- .../plugins/a11yhelp/dialogs/lang/th.js | 2 +- .../plugins/a11yhelp/dialogs/lang/tr.js | 2 +- .../plugins/a11yhelp/dialogs/lang/tt.js | 2 +- .../plugins/a11yhelp/dialogs/lang/ug.js | 2 +- .../plugins/a11yhelp/dialogs/lang/uk.js | 2 +- .../plugins/a11yhelp/dialogs/lang/vi.js | 2 +- .../plugins/a11yhelp/dialogs/lang/zh-cn.js | 2 +- .../plugins/a11yhelp/dialogs/lang/zh.js | 2 +- .../ckeditor/plugins/about/dialogs/about.js | 2 +- .../about/dialogs/hidpi/logo_ckeditor.png | Bin .../plugins/about/dialogs/logo_ckeditor.png | Bin .../ckeditor/plugins/adobeair/plugin.js | 2 +- src/static/ckeditor/plugins/ajax/plugin.js | 2 +- .../ckeditor/plugins/autocomplete/plugin.js | 2 +- .../plugins/autocomplete/skins/default.css | 2 +- .../ckeditor/plugins/autoembed/lang/ar.js | 0 .../ckeditor/plugins/autoembed/lang/az.js | 0 .../ckeditor/plugins/autoembed/lang/bg.js | 0 .../ckeditor/plugins/autoembed/lang/ca.js | 0 .../ckeditor/plugins/autoembed/lang/cs.js | 0 .../ckeditor/plugins/autoembed/lang/da.js | 0 .../ckeditor/plugins/autoembed/lang/de-ch.js | 0 .../ckeditor/plugins/autoembed/lang/de.js | 0 .../ckeditor/plugins/autoembed/lang/el.js | 0 .../ckeditor/plugins/autoembed/lang/en-au.js | 0 .../ckeditor/plugins/autoembed/lang/en.js | 0 .../ckeditor/plugins/autoembed/lang/eo.js | 0 .../ckeditor/plugins/autoembed/lang/es-mx.js | 0 .../ckeditor/plugins/autoembed/lang/es.js | 0 .../ckeditor/plugins/autoembed/lang/et.js | 0 .../ckeditor/plugins/autoembed/lang/eu.js | 0 .../ckeditor/plugins/autoembed/lang/fa.js | 0 .../ckeditor/plugins/autoembed/lang/fr.js | 0 .../ckeditor/plugins/autoembed/lang/gl.js | 0 .../ckeditor/plugins/autoembed/lang/hr.js | 0 .../ckeditor/plugins/autoembed/lang/hu.js | 0 .../ckeditor/plugins/autoembed/lang/it.js | 0 .../ckeditor/plugins/autoembed/lang/ja.js | 0 .../ckeditor/plugins/autoembed/lang/km.js | 0 .../ckeditor/plugins/autoembed/lang/ko.js | 0 .../ckeditor/plugins/autoembed/lang/ku.js | 0 .../ckeditor/plugins/autoembed/lang/lt.js | 0 .../ckeditor/plugins/autoembed/lang/lv.js | 0 .../ckeditor/plugins/autoembed/lang/mk.js | 0 .../ckeditor/plugins/autoembed/lang/nb.js | 0 .../ckeditor/plugins/autoembed/lang/nl.js | 0 .../ckeditor/plugins/autoembed/lang/oc.js | 0 .../ckeditor/plugins/autoembed/lang/pl.js | 0 .../ckeditor/plugins/autoembed/lang/pt-br.js | 0 .../ckeditor/plugins/autoembed/lang/pt.js | 0 .../ckeditor/plugins/autoembed/lang/ro.js | 0 .../ckeditor/plugins/autoembed/lang/ru.js | 0 .../ckeditor/plugins/autoembed/lang/sk.js | 0 .../ckeditor/plugins/autoembed/lang/sq.js | 0 .../plugins/autoembed/lang/sr-latn.js | 0 .../ckeditor/plugins/autoembed/lang/sr.js | 0 .../ckeditor/plugins/autoembed/lang/sv.js | 0 .../ckeditor/plugins/autoembed/lang/tr.js | 0 .../ckeditor/plugins/autoembed/lang/ug.js | 0 .../ckeditor/plugins/autoembed/lang/uk.js | 0 .../ckeditor/plugins/autoembed/lang/vi.js | 0 .../ckeditor/plugins/autoembed/lang/zh-cn.js | 0 .../ckeditor/plugins/autoembed/lang/zh.js | 0 .../ckeditor/plugins/autoembed/plugin.js | 2 +- .../ckeditor/plugins/autogrow/plugin.js | 2 +- .../ckeditor/plugins/autolink/plugin.js | 2 +- .../ckeditor/plugins/balloonpanel/plugin.js | 2 +- .../balloonpanel/skins/kama/balloonpanel.css | 2 +- .../skins/moono-lisa/balloonpanel.css | 2 +- .../skins/moono-lisa/images/close.png | Bin .../skins/moono-lisa/images/hidpi/close.png | Bin .../balloonpanel/skins/moono/balloonpanel.css | 2 +- .../balloonpanel/skins/moono/images/close.png | Bin .../skins/moono/images/hidpi/close.png | Bin .../ckeditor/plugins/balloontoolbar/plugin.js | 2 +- .../plugins/balloontoolbar/skins/default.css | 2 +- .../skins/kama/balloontoolbar.css | 2 +- .../skins/moono-lisa/balloontoolbar.css | 2 +- .../skins/moono/balloontoolbar.css | 2 +- src/static/ckeditor/plugins/bbcode/plugin.js | 2 +- .../plugins/clipboard/dialogs/paste.js | 2 +- .../ckeditor/plugins/cloudservices/plugin.js | 2 +- .../codesnippet/dialogs/codesnippet.js | 2 +- .../plugins/codesnippet/icons/codesnippet.png | Bin .../codesnippet/icons/hidpi/codesnippet.png | Bin .../ckeditor/plugins/codesnippet/lang/ar.js | 2 +- .../ckeditor/plugins/codesnippet/lang/az.js | 2 +- .../ckeditor/plugins/codesnippet/lang/bg.js | 2 +- .../ckeditor/plugins/codesnippet/lang/ca.js | 2 +- .../ckeditor/plugins/codesnippet/lang/cs.js | 2 +- .../ckeditor/plugins/codesnippet/lang/da.js | 2 +- .../plugins/codesnippet/lang/de-ch.js | 2 +- .../ckeditor/plugins/codesnippet/lang/de.js | 2 +- .../ckeditor/plugins/codesnippet/lang/el.js | 2 +- .../plugins/codesnippet/lang/en-au.js | 2 +- .../plugins/codesnippet/lang/en-gb.js | 2 +- .../ckeditor/plugins/codesnippet/lang/en.js | 2 +- .../ckeditor/plugins/codesnippet/lang/eo.js | 2 +- .../plugins/codesnippet/lang/es-mx.js | 2 +- .../ckeditor/plugins/codesnippet/lang/es.js | 2 +- .../ckeditor/plugins/codesnippet/lang/et.js | 2 +- .../ckeditor/plugins/codesnippet/lang/eu.js | 2 +- .../ckeditor/plugins/codesnippet/lang/fa.js | 2 +- .../ckeditor/plugins/codesnippet/lang/fi.js | 2 +- .../plugins/codesnippet/lang/fr-ca.js | 2 +- .../ckeditor/plugins/codesnippet/lang/fr.js | 2 +- .../ckeditor/plugins/codesnippet/lang/gl.js | 2 +- .../ckeditor/plugins/codesnippet/lang/he.js | 2 +- .../ckeditor/plugins/codesnippet/lang/hr.js | 2 +- .../ckeditor/plugins/codesnippet/lang/hu.js | 2 +- .../ckeditor/plugins/codesnippet/lang/id.js | 2 +- .../ckeditor/plugins/codesnippet/lang/it.js | 2 +- .../ckeditor/plugins/codesnippet/lang/ja.js | 2 +- .../ckeditor/plugins/codesnippet/lang/km.js | 2 +- .../ckeditor/plugins/codesnippet/lang/ko.js | 2 +- .../ckeditor/plugins/codesnippet/lang/ku.js | 2 +- .../ckeditor/plugins/codesnippet/lang/lt.js | 2 +- .../ckeditor/plugins/codesnippet/lang/lv.js | 2 +- .../ckeditor/plugins/codesnippet/lang/nb.js | 2 +- .../ckeditor/plugins/codesnippet/lang/nl.js | 2 +- .../ckeditor/plugins/codesnippet/lang/no.js | 2 +- .../ckeditor/plugins/codesnippet/lang/oc.js | 2 +- .../ckeditor/plugins/codesnippet/lang/pl.js | 2 +- .../plugins/codesnippet/lang/pt-br.js | 2 +- .../ckeditor/plugins/codesnippet/lang/pt.js | 2 +- .../ckeditor/plugins/codesnippet/lang/ro.js | 2 +- .../ckeditor/plugins/codesnippet/lang/ru.js | 2 +- .../ckeditor/plugins/codesnippet/lang/sk.js | 2 +- .../ckeditor/plugins/codesnippet/lang/sl.js | 2 +- .../ckeditor/plugins/codesnippet/lang/sq.js | 2 +- .../plugins/codesnippet/lang/sr-latn.js | 2 +- .../ckeditor/plugins/codesnippet/lang/sr.js | 2 +- .../ckeditor/plugins/codesnippet/lang/sv.js | 2 +- .../ckeditor/plugins/codesnippet/lang/th.js | 2 +- .../ckeditor/plugins/codesnippet/lang/tr.js | 2 +- .../ckeditor/plugins/codesnippet/lang/tt.js | 2 +- .../ckeditor/plugins/codesnippet/lang/ug.js | 2 +- .../ckeditor/plugins/codesnippet/lang/uk.js | 2 +- .../ckeditor/plugins/codesnippet/lang/vi.js | 2 +- .../plugins/codesnippet/lang/zh-cn.js | 2 +- .../ckeditor/plugins/codesnippet/lang/zh.js | 2 +- .../codesnippet/lib/highlight/CHANGES.md | 0 .../plugins/codesnippet/lib/highlight/LICENSE | 0 .../codesnippet/lib/highlight/README.ru.md | 0 .../lib/highlight/highlight.pack.js | 0 .../codesnippet/lib/highlight/styles/arta.css | 0 .../lib/highlight/styles/ascetic.css | 0 .../highlight/styles/atelier-dune.dark.css | 0 .../highlight/styles/atelier-dune.light.css | 0 .../highlight/styles/atelier-forest.dark.css | 0 .../highlight/styles/atelier-forest.light.css | 0 .../highlight/styles/atelier-heath.dark.css | 0 .../highlight/styles/atelier-heath.light.css | 0 .../styles/atelier-lakeside.dark.css | 0 .../styles/atelier-lakeside.light.css | 0 .../highlight/styles/atelier-seaside.dark.css | 0 .../styles/atelier-seaside.light.css | 0 .../lib/highlight/styles/brown_paper.css | 0 .../lib/highlight/styles/brown_papersq.png | Bin .../codesnippet/lib/highlight/styles/dark.css | 0 .../lib/highlight/styles/default.css | 0 .../lib/highlight/styles/docco.css | 0 .../codesnippet/lib/highlight/styles/far.css | 0 .../lib/highlight/styles/foundation.css | 0 .../lib/highlight/styles/github.css | 0 .../lib/highlight/styles/googlecode.css | 0 .../codesnippet/lib/highlight/styles/idea.css | 0 .../lib/highlight/styles/ir_black.css | 0 .../lib/highlight/styles/magula.css | 0 .../lib/highlight/styles/mono-blue.css | 0 .../lib/highlight/styles/monokai.css | 0 .../lib/highlight/styles/monokai_sublime.css | 0 .../lib/highlight/styles/obsidian.css | 0 .../lib/highlight/styles/paraiso.dark.css | 0 .../lib/highlight/styles/paraiso.light.css | 0 .../lib/highlight/styles/pojoaque.css | 0 .../lib/highlight/styles/pojoaque.jpg | Bin .../lib/highlight/styles/railscasts.css | 0 .../lib/highlight/styles/rainbow.css | 0 .../lib/highlight/styles/school_book.css | 0 .../lib/highlight/styles/school_book.png | Bin .../lib/highlight/styles/solarized_dark.css | 0 .../lib/highlight/styles/solarized_light.css | 0 .../lib/highlight/styles/sunburst.css | 0 .../highlight/styles/tomorrow-night-blue.css | 0 .../styles/tomorrow-night-bright.css | 0 .../styles/tomorrow-night-eighties.css | 0 .../lib/highlight/styles/tomorrow-night.css | 0 .../lib/highlight/styles/tomorrow.css | 0 .../codesnippet/lib/highlight/styles/vs.css | 0 .../lib/highlight/styles/xcode.css | 0 .../lib/highlight/styles/zenburn.css | 0 .../ckeditor/plugins/codesnippet/plugin.js | 2 +- .../plugins/codesnippetgeshi/plugin.js | 2 +- .../colordialog/dialogs/colordialog.css | 2 +- .../colordialog/dialogs/colordialog.js | 2 +- .../cursors/cursor-disabled.svg | 0 .../plugins/copyformatting/cursors/cursor.svg | 0 .../copyformatting/styles/copyformatting.css | 2 +- .../dedepagebreak/icons/dedepagebreak.png | Bin 0 -> 597 bytes .../ckeditor/plugins/dedepagebreak/plugin.js | 1 + .../devtools/lang/_translationstatus.txt | 2 +- .../ckeditor/plugins/devtools/lang/ar.js | 2 +- .../ckeditor/plugins/devtools/lang/az.js | 2 +- .../ckeditor/plugins/devtools/lang/bg.js | 2 +- .../ckeditor/plugins/devtools/lang/ca.js | 2 +- .../ckeditor/plugins/devtools/lang/cs.js | 2 +- .../ckeditor/plugins/devtools/lang/cy.js | 2 +- .../ckeditor/plugins/devtools/lang/da.js | 2 +- .../ckeditor/plugins/devtools/lang/de-ch.js | 2 +- .../ckeditor/plugins/devtools/lang/de.js | 2 +- .../ckeditor/plugins/devtools/lang/el.js | 2 +- .../ckeditor/plugins/devtools/lang/en-au.js | 2 +- .../ckeditor/plugins/devtools/lang/en-gb.js | 2 +- .../ckeditor/plugins/devtools/lang/en.js | 2 +- .../ckeditor/plugins/devtools/lang/eo.js | 2 +- .../ckeditor/plugins/devtools/lang/es-mx.js | 2 +- .../ckeditor/plugins/devtools/lang/es.js | 2 +- .../ckeditor/plugins/devtools/lang/et.js | 2 +- .../ckeditor/plugins/devtools/lang/eu.js | 2 +- .../ckeditor/plugins/devtools/lang/fa.js | 2 +- .../ckeditor/plugins/devtools/lang/fi.js | 2 +- .../ckeditor/plugins/devtools/lang/fr-ca.js | 2 +- .../ckeditor/plugins/devtools/lang/fr.js | 2 +- .../ckeditor/plugins/devtools/lang/gl.js | 2 +- .../ckeditor/plugins/devtools/lang/gu.js | 2 +- .../ckeditor/plugins/devtools/lang/he.js | 2 +- .../ckeditor/plugins/devtools/lang/hr.js | 2 +- .../ckeditor/plugins/devtools/lang/hu.js | 2 +- .../ckeditor/plugins/devtools/lang/id.js | 2 +- .../ckeditor/plugins/devtools/lang/it.js | 2 +- .../ckeditor/plugins/devtools/lang/ja.js | 2 +- .../ckeditor/plugins/devtools/lang/km.js | 2 +- .../ckeditor/plugins/devtools/lang/ko.js | 2 +- .../ckeditor/plugins/devtools/lang/ku.js | 2 +- .../ckeditor/plugins/devtools/lang/lt.js | 2 +- .../ckeditor/plugins/devtools/lang/lv.js | 2 +- .../ckeditor/plugins/devtools/lang/nb.js | 2 +- .../ckeditor/plugins/devtools/lang/nl.js | 2 +- .../ckeditor/plugins/devtools/lang/no.js | 2 +- .../ckeditor/plugins/devtools/lang/oc.js | 2 +- .../ckeditor/plugins/devtools/lang/pl.js | 2 +- .../ckeditor/plugins/devtools/lang/pt-br.js | 2 +- .../ckeditor/plugins/devtools/lang/pt.js | 2 +- .../ckeditor/plugins/devtools/lang/ro.js | 2 +- .../ckeditor/plugins/devtools/lang/ru.js | 2 +- .../ckeditor/plugins/devtools/lang/si.js | 2 +- .../ckeditor/plugins/devtools/lang/sk.js | 2 +- .../ckeditor/plugins/devtools/lang/sl.js | 2 +- .../ckeditor/plugins/devtools/lang/sq.js | 2 +- .../ckeditor/plugins/devtools/lang/sr-latn.js | 2 +- .../ckeditor/plugins/devtools/lang/sr.js | 2 +- .../ckeditor/plugins/devtools/lang/sv.js | 2 +- .../ckeditor/plugins/devtools/lang/tr.js | 2 +- .../ckeditor/plugins/devtools/lang/tt.js | 2 +- .../ckeditor/plugins/devtools/lang/ug.js | 2 +- .../ckeditor/plugins/devtools/lang/uk.js | 2 +- .../ckeditor/plugins/devtools/lang/vi.js | 2 +- .../ckeditor/plugins/devtools/lang/zh-cn.js | 2 +- .../ckeditor/plugins/devtools/lang/zh.js | 2 +- .../ckeditor/plugins/devtools/plugin.js | 2 +- .../plugins/dialog/dialogDefinition.js | 2 +- .../ckeditor/plugins/dialog/styles/dialog.css | 0 .../ckeditor/plugins/div/dialogs/div.js | 0 src/static/ckeditor/plugins/divarea/plugin.js | 2 +- .../plugins/docprops/dialogs/docprops.js | 2 +- .../plugins/docprops/icons/docprops-rtl.png | Bin .../plugins/docprops/icons/docprops.png | Bin .../docprops/icons/hidpi/docprops-rtl.png | Bin .../plugins/docprops/icons/hidpi/docprops.png | Bin .../ckeditor/plugins/docprops/lang/af.js | 0 .../ckeditor/plugins/docprops/lang/ar.js | 0 .../ckeditor/plugins/docprops/lang/az.js | 0 .../ckeditor/plugins/docprops/lang/bg.js | 0 .../ckeditor/plugins/docprops/lang/bn.js | 0 .../ckeditor/plugins/docprops/lang/bs.js | 0 .../ckeditor/plugins/docprops/lang/ca.js | 0 .../ckeditor/plugins/docprops/lang/cs.js | 0 .../ckeditor/plugins/docprops/lang/cy.js | 0 .../ckeditor/plugins/docprops/lang/da.js | 0 .../ckeditor/plugins/docprops/lang/de-ch.js | 0 .../ckeditor/plugins/docprops/lang/de.js | 0 .../ckeditor/plugins/docprops/lang/el.js | 0 .../ckeditor/plugins/docprops/lang/en-au.js | 0 .../ckeditor/plugins/docprops/lang/en-ca.js | 0 .../ckeditor/plugins/docprops/lang/en-gb.js | 0 .../ckeditor/plugins/docprops/lang/en.js | 0 .../ckeditor/plugins/docprops/lang/eo.js | 0 .../ckeditor/plugins/docprops/lang/es-mx.js | 0 .../ckeditor/plugins/docprops/lang/es.js | 0 .../ckeditor/plugins/docprops/lang/et.js | 0 .../ckeditor/plugins/docprops/lang/eu.js | 0 .../ckeditor/plugins/docprops/lang/fa.js | 0 .../ckeditor/plugins/docprops/lang/fi.js | 0 .../ckeditor/plugins/docprops/lang/fo.js | 0 .../ckeditor/plugins/docprops/lang/fr-ca.js | 0 .../ckeditor/plugins/docprops/lang/fr.js | 0 .../ckeditor/plugins/docprops/lang/gl.js | 0 .../ckeditor/plugins/docprops/lang/gu.js | 0 .../ckeditor/plugins/docprops/lang/he.js | 0 .../ckeditor/plugins/docprops/lang/hi.js | 0 .../ckeditor/plugins/docprops/lang/hr.js | 0 .../ckeditor/plugins/docprops/lang/hu.js | 0 .../ckeditor/plugins/docprops/lang/id.js | 0 .../ckeditor/plugins/docprops/lang/is.js | 0 .../ckeditor/plugins/docprops/lang/it.js | 0 .../ckeditor/plugins/docprops/lang/ja.js | 0 .../ckeditor/plugins/docprops/lang/ka.js | 0 .../ckeditor/plugins/docprops/lang/km.js | 0 .../ckeditor/plugins/docprops/lang/ko.js | 0 .../ckeditor/plugins/docprops/lang/ku.js | 0 .../ckeditor/plugins/docprops/lang/lt.js | 0 .../ckeditor/plugins/docprops/lang/lv.js | 0 .../ckeditor/plugins/docprops/lang/mk.js | 0 .../ckeditor/plugins/docprops/lang/mn.js | 0 .../ckeditor/plugins/docprops/lang/ms.js | 0 .../ckeditor/plugins/docprops/lang/nb.js | 0 .../ckeditor/plugins/docprops/lang/nl.js | 0 .../ckeditor/plugins/docprops/lang/no.js | 0 .../ckeditor/plugins/docprops/lang/oc.js | 0 .../ckeditor/plugins/docprops/lang/pl.js | 0 .../ckeditor/plugins/docprops/lang/pt-br.js | 0 .../ckeditor/plugins/docprops/lang/pt.js | 0 .../ckeditor/plugins/docprops/lang/ro.js | 0 .../ckeditor/plugins/docprops/lang/ru.js | 0 .../ckeditor/plugins/docprops/lang/si.js | 0 .../ckeditor/plugins/docprops/lang/sk.js | 0 .../ckeditor/plugins/docprops/lang/sl.js | 0 .../ckeditor/plugins/docprops/lang/sq.js | 0 .../ckeditor/plugins/docprops/lang/sr-latn.js | 0 .../ckeditor/plugins/docprops/lang/sr.js | 0 .../ckeditor/plugins/docprops/lang/sv.js | 0 .../ckeditor/plugins/docprops/lang/th.js | 0 .../ckeditor/plugins/docprops/lang/tr.js | 0 .../ckeditor/plugins/docprops/lang/tt.js | 0 .../ckeditor/plugins/docprops/lang/ug.js | 0 .../ckeditor/plugins/docprops/lang/uk.js | 0 .../ckeditor/plugins/docprops/lang/vi.js | 0 .../ckeditor/plugins/docprops/lang/zh-cn.js | 0 .../ckeditor/plugins/docprops/lang/zh.js | 0 .../ckeditor/plugins/docprops/plugin.js | 2 +- .../plugins/easyimage/dialogs/easyimagealt.js | 2 +- .../easyimage/icons/easyimagealigncenter.png | Bin .../easyimage/icons/easyimagealignleft.png | Bin .../easyimage/icons/easyimagealignright.png | Bin .../plugins/easyimage/icons/easyimagealt.png | Bin .../plugins/easyimage/icons/easyimagefull.png | Bin .../plugins/easyimage/icons/easyimageside.png | Bin .../easyimage/icons/easyimageupload.png | Bin .../icons/hidpi/easyimagealigncenter.png | Bin .../icons/hidpi/easyimagealignleft.png | Bin .../icons/hidpi/easyimagealignright.png | Bin .../easyimage/icons/hidpi/easyimagealt.png | Bin .../easyimage/icons/hidpi/easyimagefull.png | Bin .../easyimage/icons/hidpi/easyimageside.png | Bin .../easyimage/icons/hidpi/easyimageupload.png | Bin .../ckeditor/plugins/easyimage/lang/en.js | 2 +- .../ckeditor/plugins/easyimage/plugin.js | 2 +- .../plugins/easyimage/styles/easyimage.css | 2 +- .../ckeditor/plugins/embed/icons/embed.png | Bin .../plugins/embed/icons/hidpi/embed.png | Bin src/static/ckeditor/plugins/embed/plugin.js | 2 +- .../plugins/embedbase/dialogs/embedbase.js | 2 +- .../ckeditor/plugins/embedbase/lang/ar.js | 0 .../ckeditor/plugins/embedbase/lang/az.js | 0 .../ckeditor/plugins/embedbase/lang/bg.js | 0 .../ckeditor/plugins/embedbase/lang/ca.js | 0 .../ckeditor/plugins/embedbase/lang/cs.js | 0 .../ckeditor/plugins/embedbase/lang/da.js | 0 .../ckeditor/plugins/embedbase/lang/de-ch.js | 0 .../ckeditor/plugins/embedbase/lang/de.js | 0 .../ckeditor/plugins/embedbase/lang/en-au.js | 0 .../ckeditor/plugins/embedbase/lang/en.js | 0 .../ckeditor/plugins/embedbase/lang/eo.js | 0 .../ckeditor/plugins/embedbase/lang/es-mx.js | 0 .../ckeditor/plugins/embedbase/lang/es.js | 0 .../ckeditor/plugins/embedbase/lang/et.js | 0 .../ckeditor/plugins/embedbase/lang/eu.js | 0 .../ckeditor/plugins/embedbase/lang/fr.js | 0 .../ckeditor/plugins/embedbase/lang/gl.js | 0 .../ckeditor/plugins/embedbase/lang/hr.js | 0 .../ckeditor/plugins/embedbase/lang/hu.js | 0 .../ckeditor/plugins/embedbase/lang/id.js | 0 .../ckeditor/plugins/embedbase/lang/it.js | 0 .../ckeditor/plugins/embedbase/lang/ja.js | 0 .../ckeditor/plugins/embedbase/lang/ko.js | 0 .../ckeditor/plugins/embedbase/lang/ku.js | 0 .../ckeditor/plugins/embedbase/lang/lv.js | 0 .../ckeditor/plugins/embedbase/lang/nb.js | 0 .../ckeditor/plugins/embedbase/lang/nl.js | 0 .../ckeditor/plugins/embedbase/lang/oc.js | 0 .../ckeditor/plugins/embedbase/lang/pl.js | 0 .../ckeditor/plugins/embedbase/lang/pt-br.js | 0 .../ckeditor/plugins/embedbase/lang/pt.js | 0 .../ckeditor/plugins/embedbase/lang/ro.js | 0 .../ckeditor/plugins/embedbase/lang/ru.js | 0 .../ckeditor/plugins/embedbase/lang/sk.js | 0 .../ckeditor/plugins/embedbase/lang/sq.js | 0 .../plugins/embedbase/lang/sr-latn.js | 0 .../ckeditor/plugins/embedbase/lang/sr.js | 0 .../ckeditor/plugins/embedbase/lang/sv.js | 0 .../ckeditor/plugins/embedbase/lang/tr.js | 0 .../ckeditor/plugins/embedbase/lang/ug.js | 0 .../ckeditor/plugins/embedbase/lang/uk.js | 0 .../ckeditor/plugins/embedbase/lang/zh-cn.js | 0 .../ckeditor/plugins/embedbase/lang/zh.js | 0 .../ckeditor/plugins/embedbase/plugin.js | 2 +- .../embedsemantic/icons/embedsemantic.png | Bin .../icons/hidpi/embedsemantic.png | Bin .../ckeditor/plugins/embedsemantic/plugin.js | 2 +- .../plugins/emoji/assets/iconsall.png | Bin .../plugins/emoji/assets/iconsall.svg | 0 src/static/ckeditor/plugins/emoji/emoji.json | 0 .../plugins/emoji/icons/emojipanel.png | Bin .../plugins/emoji/icons/hidpi/emojipanel.png | Bin src/static/ckeditor/plugins/emoji/lang/en.js | 0 src/static/ckeditor/plugins/emoji/plugin.js | 2 +- .../ckeditor/plugins/emoji/skins/default.css | 0 .../ckeditor/plugins/find/dialogs/find.js | 2 +- .../ckeditor/plugins/flash/dialogs/flash.js | 2 +- .../plugins/flash/images/placeholder.png | Bin .../ckeditor/plugins/forms/dialogs/button.js | 2 +- .../plugins/forms/dialogs/checkbox.js | 2 +- .../ckeditor/plugins/forms/dialogs/form.js | 2 +- .../plugins/forms/dialogs/hiddenfield.js | 2 +- .../ckeditor/plugins/forms/dialogs/radio.js | 2 +- .../ckeditor/plugins/forms/dialogs/select.js | 2 +- .../plugins/forms/dialogs/textarea.js | 2 +- .../plugins/forms/dialogs/textfield.js | 2 +- .../plugins/forms/images/hiddenfield.gif | Bin src/static/ckeditor/plugins/icons.png | Bin 9655 -> 9802 bytes src/static/ckeditor/plugins/icons_hidpi.png | Bin 30276 -> 30366 bytes .../ckeditor/plugins/iframe/dialogs/iframe.js | 2 +- .../plugins/iframe/images/placeholder.png | Bin .../ckeditor/plugins/iframedialog/plugin.js | 2 +- .../ckeditor/plugins/image/dialogs/image.js | 2 +- .../ckeditor/plugins/image/images/noimage.png | Bin .../ckeditor/plugins/image2/dialogs/image2.js | 2 +- .../plugins/image2/icons/hidpi/image.png | Bin .../ckeditor/plugins/image2/icons/image.png | Bin src/static/ckeditor/plugins/image2/lang/af.js | 0 src/static/ckeditor/plugins/image2/lang/ar.js | 0 src/static/ckeditor/plugins/image2/lang/az.js | 0 src/static/ckeditor/plugins/image2/lang/bg.js | 0 src/static/ckeditor/plugins/image2/lang/bn.js | 0 src/static/ckeditor/plugins/image2/lang/bs.js | 0 src/static/ckeditor/plugins/image2/lang/ca.js | 0 src/static/ckeditor/plugins/image2/lang/cs.js | 0 src/static/ckeditor/plugins/image2/lang/cy.js | 0 src/static/ckeditor/plugins/image2/lang/da.js | 0 .../ckeditor/plugins/image2/lang/de-ch.js | 0 src/static/ckeditor/plugins/image2/lang/de.js | 0 src/static/ckeditor/plugins/image2/lang/el.js | 0 .../ckeditor/plugins/image2/lang/en-au.js | 0 .../ckeditor/plugins/image2/lang/en-ca.js | 0 .../ckeditor/plugins/image2/lang/en-gb.js | 0 src/static/ckeditor/plugins/image2/lang/en.js | 0 src/static/ckeditor/plugins/image2/lang/eo.js | 0 .../ckeditor/plugins/image2/lang/es-mx.js | 0 src/static/ckeditor/plugins/image2/lang/es.js | 0 src/static/ckeditor/plugins/image2/lang/et.js | 0 src/static/ckeditor/plugins/image2/lang/eu.js | 0 src/static/ckeditor/plugins/image2/lang/fa.js | 0 src/static/ckeditor/plugins/image2/lang/fi.js | 0 src/static/ckeditor/plugins/image2/lang/fo.js | 0 .../ckeditor/plugins/image2/lang/fr-ca.js | 0 src/static/ckeditor/plugins/image2/lang/fr.js | 0 src/static/ckeditor/plugins/image2/lang/gl.js | 0 src/static/ckeditor/plugins/image2/lang/gu.js | 0 src/static/ckeditor/plugins/image2/lang/he.js | 0 src/static/ckeditor/plugins/image2/lang/hi.js | 0 src/static/ckeditor/plugins/image2/lang/hr.js | 0 src/static/ckeditor/plugins/image2/lang/hu.js | 0 src/static/ckeditor/plugins/image2/lang/id.js | 0 src/static/ckeditor/plugins/image2/lang/is.js | 0 src/static/ckeditor/plugins/image2/lang/it.js | 0 src/static/ckeditor/plugins/image2/lang/ja.js | 0 src/static/ckeditor/plugins/image2/lang/ka.js | 0 src/static/ckeditor/plugins/image2/lang/km.js | 0 src/static/ckeditor/plugins/image2/lang/ko.js | 0 src/static/ckeditor/plugins/image2/lang/ku.js | 0 src/static/ckeditor/plugins/image2/lang/lt.js | 0 src/static/ckeditor/plugins/image2/lang/lv.js | 0 src/static/ckeditor/plugins/image2/lang/mk.js | 0 src/static/ckeditor/plugins/image2/lang/mn.js | 0 src/static/ckeditor/plugins/image2/lang/ms.js | 0 src/static/ckeditor/plugins/image2/lang/nb.js | 0 src/static/ckeditor/plugins/image2/lang/nl.js | 0 src/static/ckeditor/plugins/image2/lang/no.js | 0 src/static/ckeditor/plugins/image2/lang/oc.js | 0 src/static/ckeditor/plugins/image2/lang/pl.js | 0 .../ckeditor/plugins/image2/lang/pt-br.js | 0 src/static/ckeditor/plugins/image2/lang/pt.js | 0 src/static/ckeditor/plugins/image2/lang/ro.js | 0 src/static/ckeditor/plugins/image2/lang/ru.js | 0 src/static/ckeditor/plugins/image2/lang/si.js | 0 src/static/ckeditor/plugins/image2/lang/sk.js | 0 src/static/ckeditor/plugins/image2/lang/sl.js | 0 src/static/ckeditor/plugins/image2/lang/sq.js | 0 .../ckeditor/plugins/image2/lang/sr-latn.js | 0 src/static/ckeditor/plugins/image2/lang/sr.js | 0 src/static/ckeditor/plugins/image2/lang/sv.js | 0 src/static/ckeditor/plugins/image2/lang/th.js | 0 src/static/ckeditor/plugins/image2/lang/tr.js | 0 src/static/ckeditor/plugins/image2/lang/tt.js | 0 src/static/ckeditor/plugins/image2/lang/ug.js | 0 src/static/ckeditor/plugins/image2/lang/uk.js | 0 src/static/ckeditor/plugins/image2/lang/vi.js | 0 .../ckeditor/plugins/image2/lang/zh-cn.js | 0 src/static/ckeditor/plugins/image2/lang/zh.js | 0 src/static/ckeditor/plugins/image2/plugin.js | 2 +- .../ckeditor/plugins/imagebase/lang/en.js | 2 +- .../ckeditor/plugins/imagebase/plugin.js | 2 +- .../plugins/imagebase/styles/imagebase.css | 0 .../ckeditor/plugins/link/dialogs/anchor.js | 2 +- .../ckeditor/plugins/link/dialogs/link.js | 2 +- .../ckeditor/plugins/link/images/anchor.png | Bin .../plugins/link/images/hidpi/anchor.png | Bin .../plugins/liststyle/dialogs/liststyle.js | 2 +- .../magicline/images/hidpi/icon-rtl.png | Bin .../plugins/magicline/images/hidpi/icon.png | Bin .../plugins/magicline/images/icon-rtl.png | Bin .../plugins/magicline/images/icon.png | Bin .../plugins/mathjax/dialogs/mathjax.js | 2 +- .../plugins/mathjax/icons/hidpi/mathjax.png | Bin .../plugins/mathjax/icons/mathjax.png | Bin .../plugins/mathjax/images/loader.gif | Bin .../ckeditor/plugins/mathjax/lang/af.js | 0 .../ckeditor/plugins/mathjax/lang/ar.js | 0 .../ckeditor/plugins/mathjax/lang/az.js | 0 .../ckeditor/plugins/mathjax/lang/bg.js | 0 .../ckeditor/plugins/mathjax/lang/ca.js | 0 .../ckeditor/plugins/mathjax/lang/cs.js | 0 .../ckeditor/plugins/mathjax/lang/cy.js | 0 .../ckeditor/plugins/mathjax/lang/da.js | 0 .../ckeditor/plugins/mathjax/lang/de-ch.js | 0 .../ckeditor/plugins/mathjax/lang/de.js | 0 .../ckeditor/plugins/mathjax/lang/el.js | 0 .../ckeditor/plugins/mathjax/lang/en-au.js | 0 .../ckeditor/plugins/mathjax/lang/en-gb.js | 0 .../ckeditor/plugins/mathjax/lang/en.js | 0 .../ckeditor/plugins/mathjax/lang/eo.js | 0 .../ckeditor/plugins/mathjax/lang/es-mx.js | 0 .../ckeditor/plugins/mathjax/lang/es.js | 0 .../ckeditor/plugins/mathjax/lang/et.js | 0 .../ckeditor/plugins/mathjax/lang/eu.js | 0 .../ckeditor/plugins/mathjax/lang/fa.js | 0 .../ckeditor/plugins/mathjax/lang/fi.js | 0 .../ckeditor/plugins/mathjax/lang/fr.js | 0 .../ckeditor/plugins/mathjax/lang/gl.js | 0 .../ckeditor/plugins/mathjax/lang/he.js | 0 .../ckeditor/plugins/mathjax/lang/hr.js | 0 .../ckeditor/plugins/mathjax/lang/hu.js | 0 .../ckeditor/plugins/mathjax/lang/id.js | 0 .../ckeditor/plugins/mathjax/lang/it.js | 0 .../ckeditor/plugins/mathjax/lang/ja.js | 0 .../ckeditor/plugins/mathjax/lang/km.js | 0 .../ckeditor/plugins/mathjax/lang/ko.js | 0 .../ckeditor/plugins/mathjax/lang/ku.js | 0 .../ckeditor/plugins/mathjax/lang/lt.js | 0 .../ckeditor/plugins/mathjax/lang/lv.js | 0 .../ckeditor/plugins/mathjax/lang/nb.js | 0 .../ckeditor/plugins/mathjax/lang/nl.js | 0 .../ckeditor/plugins/mathjax/lang/no.js | 0 .../ckeditor/plugins/mathjax/lang/oc.js | 0 .../ckeditor/plugins/mathjax/lang/pl.js | 0 .../ckeditor/plugins/mathjax/lang/pt-br.js | 0 .../ckeditor/plugins/mathjax/lang/pt.js | 0 .../ckeditor/plugins/mathjax/lang/ro.js | 0 .../ckeditor/plugins/mathjax/lang/ru.js | 0 .../ckeditor/plugins/mathjax/lang/sk.js | 0 .../ckeditor/plugins/mathjax/lang/sl.js | 0 .../ckeditor/plugins/mathjax/lang/sq.js | 0 .../ckeditor/plugins/mathjax/lang/sr-latn.js | 0 .../ckeditor/plugins/mathjax/lang/sr.js | 0 .../ckeditor/plugins/mathjax/lang/sv.js | 0 .../ckeditor/plugins/mathjax/lang/tr.js | 0 .../ckeditor/plugins/mathjax/lang/tt.js | 0 .../ckeditor/plugins/mathjax/lang/ug.js | 0 .../ckeditor/plugins/mathjax/lang/uk.js | 0 .../ckeditor/plugins/mathjax/lang/vi.js | 0 .../ckeditor/plugins/mathjax/lang/zh-cn.js | 0 .../ckeditor/plugins/mathjax/lang/zh.js | 0 src/static/ckeditor/plugins/mathjax/plugin.js | 2 +- .../ckeditor/plugins/mentions/plugin.js | 2 +- .../plugins/pagebreak/images/pagebreak.gif | Bin .../plugins/pastefromgdocs/filter/default.js | 2 +- .../ckeditor/plugins/pastefromgdocs/plugin.js | 2 +- .../pastefromlibreoffice/filter/default.js | 11 + .../plugins/pastefromword/filter/default.js | 68 +- .../plugins/pastetools/filter/common.js | 35 +- .../plugins/pastetools/filter/image.js | 6 + .../ckeditor/plugins/pastetools/plugin.js | 9 - .../placeholder/dialogs/placeholder.js | 2 +- .../placeholder/icons/hidpi/placeholder.png | Bin .../plugins/placeholder/icons/placeholder.png | Bin .../ckeditor/plugins/placeholder/lang/af.js | 2 +- .../ckeditor/plugins/placeholder/lang/ar.js | 2 +- .../ckeditor/plugins/placeholder/lang/az.js | 2 +- .../ckeditor/plugins/placeholder/lang/bg.js | 2 +- .../ckeditor/plugins/placeholder/lang/ca.js | 2 +- .../ckeditor/plugins/placeholder/lang/cs.js | 2 +- .../ckeditor/plugins/placeholder/lang/cy.js | 2 +- .../ckeditor/plugins/placeholder/lang/da.js | 2 +- .../plugins/placeholder/lang/de-ch.js | 2 +- .../ckeditor/plugins/placeholder/lang/de.js | 2 +- .../ckeditor/plugins/placeholder/lang/el.js | 2 +- .../plugins/placeholder/lang/en-au.js | 2 +- .../plugins/placeholder/lang/en-gb.js | 2 +- .../ckeditor/plugins/placeholder/lang/en.js | 2 +- .../ckeditor/plugins/placeholder/lang/eo.js | 2 +- .../plugins/placeholder/lang/es-mx.js | 2 +- .../ckeditor/plugins/placeholder/lang/es.js | 2 +- .../ckeditor/plugins/placeholder/lang/et.js | 2 +- .../ckeditor/plugins/placeholder/lang/eu.js | 2 +- .../ckeditor/plugins/placeholder/lang/fa.js | 2 +- .../ckeditor/plugins/placeholder/lang/fi.js | 2 +- .../plugins/placeholder/lang/fr-ca.js | 2 +- .../ckeditor/plugins/placeholder/lang/fr.js | 2 +- .../ckeditor/plugins/placeholder/lang/gl.js | 2 +- .../ckeditor/plugins/placeholder/lang/he.js | 2 +- .../ckeditor/plugins/placeholder/lang/hr.js | 2 +- .../ckeditor/plugins/placeholder/lang/hu.js | 2 +- .../ckeditor/plugins/placeholder/lang/id.js | 2 +- .../ckeditor/plugins/placeholder/lang/it.js | 2 +- .../ckeditor/plugins/placeholder/lang/ja.js | 2 +- .../ckeditor/plugins/placeholder/lang/km.js | 2 +- .../ckeditor/plugins/placeholder/lang/ko.js | 2 +- .../ckeditor/plugins/placeholder/lang/ku.js | 2 +- .../ckeditor/plugins/placeholder/lang/lv.js | 2 +- .../ckeditor/plugins/placeholder/lang/nb.js | 2 +- .../ckeditor/plugins/placeholder/lang/nl.js | 2 +- .../ckeditor/plugins/placeholder/lang/no.js | 2 +- .../ckeditor/plugins/placeholder/lang/oc.js | 2 +- .../ckeditor/plugins/placeholder/lang/pl.js | 2 +- .../plugins/placeholder/lang/pt-br.js | 2 +- .../ckeditor/plugins/placeholder/lang/pt.js | 2 +- .../ckeditor/plugins/placeholder/lang/ro.js | 2 +- .../ckeditor/plugins/placeholder/lang/ru.js | 2 +- .../ckeditor/plugins/placeholder/lang/si.js | 2 +- .../ckeditor/plugins/placeholder/lang/sk.js | 2 +- .../ckeditor/plugins/placeholder/lang/sl.js | 2 +- .../ckeditor/plugins/placeholder/lang/sq.js | 2 +- .../plugins/placeholder/lang/sr-latn.js | 2 +- .../ckeditor/plugins/placeholder/lang/sr.js | 2 +- .../ckeditor/plugins/placeholder/lang/sv.js | 2 +- .../ckeditor/plugins/placeholder/lang/th.js | 2 +- .../ckeditor/plugins/placeholder/lang/tr.js | 2 +- .../ckeditor/plugins/placeholder/lang/tt.js | 2 +- .../ckeditor/plugins/placeholder/lang/ug.js | 2 +- .../ckeditor/plugins/placeholder/lang/uk.js | 2 +- .../ckeditor/plugins/placeholder/lang/vi.js | 2 +- .../plugins/placeholder/lang/zh-cn.js | 2 +- .../ckeditor/plugins/placeholder/lang/zh.js | 2 +- .../ckeditor/plugins/placeholder/plugin.js | 2 +- .../plugins/preview/images/pagebreak.gif | Bin 0 -> 99 bytes .../ckeditor/plugins/preview/preview.html | 0 .../plugins/preview/styles/screen.css | 10 + .../ckeditor/plugins/sharedspace/plugin.js | 2 +- .../showblocks/images/block_address.png | Bin .../showblocks/images/block_blockquote.png | Bin .../plugins/showblocks/images/block_div.png | Bin .../plugins/showblocks/images/block_h1.png | Bin .../plugins/showblocks/images/block_h2.png | Bin .../plugins/showblocks/images/block_h3.png | Bin .../plugins/showblocks/images/block_h4.png | Bin .../plugins/showblocks/images/block_h5.png | Bin .../plugins/showblocks/images/block_h6.png | Bin .../plugins/showblocks/images/block_p.png | Bin .../plugins/showblocks/images/block_pre.png | Bin .../ckeditor/plugins/smiley/dialogs/smiley.js | 2 +- .../plugins/smiley/images/angel_smile.gif | Bin .../plugins/smiley/images/angel_smile.png | Bin .../plugins/smiley/images/angry_smile.gif | Bin .../plugins/smiley/images/angry_smile.png | Bin .../plugins/smiley/images/broken_heart.gif | Bin .../plugins/smiley/images/broken_heart.png | Bin .../plugins/smiley/images/confused_smile.gif | Bin .../plugins/smiley/images/confused_smile.png | Bin .../plugins/smiley/images/cry_smile.gif | Bin .../plugins/smiley/images/cry_smile.png | Bin .../plugins/smiley/images/devil_smile.gif | Bin .../plugins/smiley/images/devil_smile.png | Bin .../smiley/images/embaressed_smile.gif | Bin .../smiley/images/embarrassed_smile.gif | Bin .../smiley/images/embarrassed_smile.png | Bin .../plugins/smiley/images/envelope.gif | Bin .../plugins/smiley/images/envelope.png | Bin .../ckeditor/plugins/smiley/images/heart.gif | Bin .../ckeditor/plugins/smiley/images/heart.png | Bin .../ckeditor/plugins/smiley/images/kiss.gif | Bin .../ckeditor/plugins/smiley/images/kiss.png | Bin .../plugins/smiley/images/lightbulb.gif | Bin .../plugins/smiley/images/lightbulb.png | Bin .../plugins/smiley/images/omg_smile.gif | Bin .../plugins/smiley/images/omg_smile.png | Bin .../plugins/smiley/images/regular_smile.gif | Bin .../plugins/smiley/images/regular_smile.png | Bin .../plugins/smiley/images/sad_smile.gif | Bin .../plugins/smiley/images/sad_smile.png | Bin .../plugins/smiley/images/shades_smile.gif | Bin .../plugins/smiley/images/shades_smile.png | Bin .../plugins/smiley/images/teeth_smile.gif | Bin .../plugins/smiley/images/teeth_smile.png | Bin .../plugins/smiley/images/thumbs_down.gif | Bin .../plugins/smiley/images/thumbs_down.png | Bin .../plugins/smiley/images/thumbs_up.gif | Bin .../plugins/smiley/images/thumbs_up.png | Bin .../plugins/smiley/images/tongue_smile.gif | Bin .../plugins/smiley/images/tongue_smile.png | Bin .../plugins/smiley/images/tounge_smile.gif | Bin .../images/whatchutalkingabout_smile.gif | Bin .../images/whatchutalkingabout_smile.png | Bin .../plugins/smiley/images/wink_smile.gif | Bin .../plugins/smiley/images/wink_smile.png | Bin .../sourcedialog/dialogs/sourcedialog.js | 2 +- .../icons/hidpi/sourcedialog-rtl.png | Bin .../sourcedialog/icons/hidpi/sourcedialog.png | Bin .../sourcedialog/icons/sourcedialog-rtl.png | Bin .../sourcedialog/icons/sourcedialog.png | Bin .../ckeditor/plugins/sourcedialog/lang/af.js | 0 .../ckeditor/plugins/sourcedialog/lang/ar.js | 0 .../ckeditor/plugins/sourcedialog/lang/az.js | 0 .../ckeditor/plugins/sourcedialog/lang/bg.js | 0 .../ckeditor/plugins/sourcedialog/lang/bn.js | 0 .../ckeditor/plugins/sourcedialog/lang/bs.js | 0 .../ckeditor/plugins/sourcedialog/lang/ca.js | 0 .../ckeditor/plugins/sourcedialog/lang/cs.js | 0 .../ckeditor/plugins/sourcedialog/lang/cy.js | 0 .../ckeditor/plugins/sourcedialog/lang/da.js | 0 .../plugins/sourcedialog/lang/de-ch.js | 0 .../ckeditor/plugins/sourcedialog/lang/de.js | 0 .../ckeditor/plugins/sourcedialog/lang/el.js | 0 .../plugins/sourcedialog/lang/en-au.js | 0 .../plugins/sourcedialog/lang/en-ca.js | 0 .../plugins/sourcedialog/lang/en-gb.js | 0 .../ckeditor/plugins/sourcedialog/lang/en.js | 0 .../ckeditor/plugins/sourcedialog/lang/eo.js | 0 .../plugins/sourcedialog/lang/es-mx.js | 0 .../ckeditor/plugins/sourcedialog/lang/es.js | 0 .../ckeditor/plugins/sourcedialog/lang/et.js | 0 .../ckeditor/plugins/sourcedialog/lang/eu.js | 0 .../ckeditor/plugins/sourcedialog/lang/fa.js | 0 .../ckeditor/plugins/sourcedialog/lang/fi.js | 0 .../ckeditor/plugins/sourcedialog/lang/fo.js | 0 .../plugins/sourcedialog/lang/fr-ca.js | 0 .../ckeditor/plugins/sourcedialog/lang/fr.js | 0 .../ckeditor/plugins/sourcedialog/lang/gl.js | 0 .../ckeditor/plugins/sourcedialog/lang/gu.js | 0 .../ckeditor/plugins/sourcedialog/lang/he.js | 0 .../ckeditor/plugins/sourcedialog/lang/hi.js | 0 .../ckeditor/plugins/sourcedialog/lang/hr.js | 0 .../ckeditor/plugins/sourcedialog/lang/hu.js | 0 .../ckeditor/plugins/sourcedialog/lang/id.js | 0 .../ckeditor/plugins/sourcedialog/lang/is.js | 0 .../ckeditor/plugins/sourcedialog/lang/it.js | 0 .../ckeditor/plugins/sourcedialog/lang/ja.js | 0 .../ckeditor/plugins/sourcedialog/lang/ka.js | 0 .../ckeditor/plugins/sourcedialog/lang/km.js | 0 .../ckeditor/plugins/sourcedialog/lang/ko.js | 0 .../ckeditor/plugins/sourcedialog/lang/ku.js | 0 .../ckeditor/plugins/sourcedialog/lang/lt.js | 0 .../ckeditor/plugins/sourcedialog/lang/lv.js | 0 .../ckeditor/plugins/sourcedialog/lang/mn.js | 0 .../ckeditor/plugins/sourcedialog/lang/ms.js | 0 .../ckeditor/plugins/sourcedialog/lang/nb.js | 0 .../ckeditor/plugins/sourcedialog/lang/nl.js | 0 .../ckeditor/plugins/sourcedialog/lang/no.js | 0 .../ckeditor/plugins/sourcedialog/lang/oc.js | 0 .../ckeditor/plugins/sourcedialog/lang/pl.js | 0 .../plugins/sourcedialog/lang/pt-br.js | 0 .../ckeditor/plugins/sourcedialog/lang/pt.js | 0 .../ckeditor/plugins/sourcedialog/lang/ro.js | 0 .../ckeditor/plugins/sourcedialog/lang/ru.js | 0 .../ckeditor/plugins/sourcedialog/lang/si.js | 0 .../ckeditor/plugins/sourcedialog/lang/sk.js | 0 .../ckeditor/plugins/sourcedialog/lang/sl.js | 0 .../ckeditor/plugins/sourcedialog/lang/sq.js | 0 .../plugins/sourcedialog/lang/sr-latn.js | 0 .../ckeditor/plugins/sourcedialog/lang/sr.js | 0 .../ckeditor/plugins/sourcedialog/lang/sv.js | 0 .../ckeditor/plugins/sourcedialog/lang/th.js | 0 .../ckeditor/plugins/sourcedialog/lang/tr.js | 0 .../ckeditor/plugins/sourcedialog/lang/tt.js | 0 .../ckeditor/plugins/sourcedialog/lang/ug.js | 0 .../ckeditor/plugins/sourcedialog/lang/uk.js | 0 .../ckeditor/plugins/sourcedialog/lang/vi.js | 0 .../plugins/sourcedialog/lang/zh-cn.js | 0 .../ckeditor/plugins/sourcedialog/lang/zh.js | 0 .../ckeditor/plugins/sourcedialog/plugin.js | 2 +- .../dialogs/lang/_translationstatus.txt | 2 +- .../plugins/specialchar/dialogs/lang/af.js | 2 +- .../plugins/specialchar/dialogs/lang/ar.js | 2 +- .../plugins/specialchar/dialogs/lang/az.js | 2 +- .../plugins/specialchar/dialogs/lang/bg.js | 2 +- .../plugins/specialchar/dialogs/lang/ca.js | 2 +- .../plugins/specialchar/dialogs/lang/cs.js | 2 +- .../plugins/specialchar/dialogs/lang/cy.js | 2 +- .../plugins/specialchar/dialogs/lang/da.js | 2 +- .../plugins/specialchar/dialogs/lang/de-ch.js | 2 +- .../plugins/specialchar/dialogs/lang/de.js | 2 +- .../plugins/specialchar/dialogs/lang/el.js | 2 +- .../plugins/specialchar/dialogs/lang/en-au.js | 2 +- .../plugins/specialchar/dialogs/lang/en-ca.js | 2 +- .../plugins/specialchar/dialogs/lang/en-gb.js | 2 +- .../plugins/specialchar/dialogs/lang/en.js | 2 +- .../plugins/specialchar/dialogs/lang/eo.js | 2 +- .../plugins/specialchar/dialogs/lang/es-mx.js | 2 +- .../plugins/specialchar/dialogs/lang/es.js | 2 +- .../plugins/specialchar/dialogs/lang/et.js | 2 +- .../plugins/specialchar/dialogs/lang/eu.js | 2 +- .../plugins/specialchar/dialogs/lang/fa.js | 2 +- .../plugins/specialchar/dialogs/lang/fi.js | 2 +- .../plugins/specialchar/dialogs/lang/fr-ca.js | 2 +- .../plugins/specialchar/dialogs/lang/fr.js | 2 +- .../plugins/specialchar/dialogs/lang/gl.js | 2 +- .../plugins/specialchar/dialogs/lang/he.js | 2 +- .../plugins/specialchar/dialogs/lang/hr.js | 2 +- .../plugins/specialchar/dialogs/lang/hu.js | 2 +- .../plugins/specialchar/dialogs/lang/id.js | 2 +- .../plugins/specialchar/dialogs/lang/it.js | 2 +- .../plugins/specialchar/dialogs/lang/ja.js | 2 +- .../plugins/specialchar/dialogs/lang/km.js | 2 +- .../plugins/specialchar/dialogs/lang/ko.js | 2 +- .../plugins/specialchar/dialogs/lang/ku.js | 2 +- .../plugins/specialchar/dialogs/lang/lt.js | 2 +- .../plugins/specialchar/dialogs/lang/lv.js | 2 +- .../plugins/specialchar/dialogs/lang/nb.js | 2 +- .../plugins/specialchar/dialogs/lang/nl.js | 2 +- .../plugins/specialchar/dialogs/lang/no.js | 2 +- .../plugins/specialchar/dialogs/lang/oc.js | 2 +- .../plugins/specialchar/dialogs/lang/pl.js | 2 +- .../plugins/specialchar/dialogs/lang/pt-br.js | 2 +- .../plugins/specialchar/dialogs/lang/pt.js | 2 +- .../plugins/specialchar/dialogs/lang/ro.js | 2 +- .../plugins/specialchar/dialogs/lang/ru.js | 2 +- .../plugins/specialchar/dialogs/lang/si.js | 2 +- .../plugins/specialchar/dialogs/lang/sk.js | 2 +- .../plugins/specialchar/dialogs/lang/sl.js | 2 +- .../plugins/specialchar/dialogs/lang/sq.js | 2 +- .../specialchar/dialogs/lang/sr-latn.js | 2 +- .../plugins/specialchar/dialogs/lang/sr.js | 2 +- .../plugins/specialchar/dialogs/lang/sv.js | 2 +- .../plugins/specialchar/dialogs/lang/th.js | 2 +- .../plugins/specialchar/dialogs/lang/tr.js | 2 +- .../plugins/specialchar/dialogs/lang/tt.js | 2 +- .../plugins/specialchar/dialogs/lang/ug.js | 2 +- .../plugins/specialchar/dialogs/lang/uk.js | 2 +- .../plugins/specialchar/dialogs/lang/vi.js | 2 +- .../plugins/specialchar/dialogs/lang/zh-cn.js | 2 +- .../plugins/specialchar/dialogs/lang/zh.js | 2 +- .../specialchar/dialogs/specialchar.js | 2 +- .../plugins/stylesheetparser/plugin.js | 2 +- .../ckeditor/plugins/table/dialogs/table.js | 2 +- .../ckeditor/plugins/tableresize/plugin.js | 2 +- .../tableselection/styles/tableselection.css | 0 .../plugins/tabletools/dialogs/tableCell.js | 2 +- .../plugins/templates/dialogs/templates.css | 2 +- .../plugins/templates/dialogs/templates.js | 2 +- .../plugins/templates/templates/default.js | 2 +- .../templates/templates/images/template1.gif | Bin .../templates/templates/images/template2.gif | Bin .../templates/templates/images/template3.gif | Bin .../ckeditor/plugins/textmatch/plugin.js | 2 +- .../ckeditor/plugins/textwatcher/plugin.js | 2 +- .../plugins/uicolor/dialogs/uicolor.css | 2 +- .../plugins/uicolor/dialogs/uicolor.js | 2 +- .../plugins/uicolor/icons/hidpi/uicolor.png | Bin .../plugins/uicolor/icons/uicolor.png | Bin .../uicolor/lang/_translationstatus.txt | 2 +- .../ckeditor/plugins/uicolor/lang/af.js | 2 +- .../ckeditor/plugins/uicolor/lang/ar.js | 2 +- .../ckeditor/plugins/uicolor/lang/az.js | 2 +- .../ckeditor/plugins/uicolor/lang/bg.js | 2 +- .../ckeditor/plugins/uicolor/lang/ca.js | 2 +- .../ckeditor/plugins/uicolor/lang/cs.js | 2 +- .../ckeditor/plugins/uicolor/lang/cy.js | 2 +- .../ckeditor/plugins/uicolor/lang/da.js | 2 +- .../ckeditor/plugins/uicolor/lang/de-ch.js | 2 +- .../ckeditor/plugins/uicolor/lang/de.js | 2 +- .../ckeditor/plugins/uicolor/lang/el.js | 2 +- .../ckeditor/plugins/uicolor/lang/en-au.js | 2 +- .../ckeditor/plugins/uicolor/lang/en-gb.js | 2 +- .../ckeditor/plugins/uicolor/lang/en.js | 2 +- .../ckeditor/plugins/uicolor/lang/eo.js | 2 +- .../ckeditor/plugins/uicolor/lang/es-mx.js | 2 +- .../ckeditor/plugins/uicolor/lang/es.js | 2 +- .../ckeditor/plugins/uicolor/lang/et.js | 2 +- .../ckeditor/plugins/uicolor/lang/eu.js | 2 +- .../ckeditor/plugins/uicolor/lang/fa.js | 2 +- .../ckeditor/plugins/uicolor/lang/fi.js | 2 +- .../ckeditor/plugins/uicolor/lang/fr-ca.js | 2 +- .../ckeditor/plugins/uicolor/lang/fr.js | 2 +- .../ckeditor/plugins/uicolor/lang/gl.js | 2 +- .../ckeditor/plugins/uicolor/lang/he.js | 2 +- .../ckeditor/plugins/uicolor/lang/hr.js | 2 +- .../ckeditor/plugins/uicolor/lang/hu.js | 2 +- .../ckeditor/plugins/uicolor/lang/id.js | 2 +- .../ckeditor/plugins/uicolor/lang/it.js | 2 +- .../ckeditor/plugins/uicolor/lang/ja.js | 2 +- .../ckeditor/plugins/uicolor/lang/km.js | 2 +- .../ckeditor/plugins/uicolor/lang/ko.js | 2 +- .../ckeditor/plugins/uicolor/lang/ku.js | 2 +- .../ckeditor/plugins/uicolor/lang/lv.js | 2 +- .../ckeditor/plugins/uicolor/lang/mk.js | 2 +- .../ckeditor/plugins/uicolor/lang/nb.js | 2 +- .../ckeditor/plugins/uicolor/lang/nl.js | 2 +- .../ckeditor/plugins/uicolor/lang/no.js | 2 +- .../ckeditor/plugins/uicolor/lang/oc.js | 2 +- .../ckeditor/plugins/uicolor/lang/pl.js | 2 +- .../ckeditor/plugins/uicolor/lang/pt-br.js | 2 +- .../ckeditor/plugins/uicolor/lang/pt.js | 2 +- .../ckeditor/plugins/uicolor/lang/ro.js | 2 +- .../ckeditor/plugins/uicolor/lang/ru.js | 2 +- .../ckeditor/plugins/uicolor/lang/si.js | 2 +- .../ckeditor/plugins/uicolor/lang/sk.js | 2 +- .../ckeditor/plugins/uicolor/lang/sl.js | 2 +- .../ckeditor/plugins/uicolor/lang/sq.js | 2 +- .../ckeditor/plugins/uicolor/lang/sr-latn.js | 2 +- .../ckeditor/plugins/uicolor/lang/sr.js | 2 +- .../ckeditor/plugins/uicolor/lang/sv.js | 2 +- .../ckeditor/plugins/uicolor/lang/tr.js | 2 +- .../ckeditor/plugins/uicolor/lang/tt.js | 2 +- .../ckeditor/plugins/uicolor/lang/ug.js | 2 +- .../ckeditor/plugins/uicolor/lang/uk.js | 2 +- .../ckeditor/plugins/uicolor/lang/vi.js | 2 +- .../ckeditor/plugins/uicolor/lang/zh-cn.js | 2 +- .../ckeditor/plugins/uicolor/lang/zh.js | 2 +- src/static/ckeditor/plugins/uicolor/plugin.js | 2 +- .../ckeditor/plugins/uploadfile/plugin.js | 2 +- .../ckeditor/plugins/widget/images/handle.png | Bin src/static/ckeditor/plugins/xml/plugin.js | 2 +- src/static/ckeditor/samples/css/samples.css | 2 +- .../ckeditor/samples/img/github-top.png | Bin src/static/ckeditor/samples/img/header-bg.png | Bin .../ckeditor/samples/img/header-separator.png | Bin src/static/ckeditor/samples/img/logo.png | Bin src/static/ckeditor/samples/img/logo.svg | 0 .../ckeditor/samples/img/navigation-tip.png | Bin src/static/ckeditor/samples/index.html | 4 +- src/static/ckeditor/samples/js/sample.js | 2 +- src/static/ckeditor/samples/js/sf.js | 2 +- src/static/ckeditor/samples/old/ajax.html | 4 +- src/static/ckeditor/samples/old/api.html | 4 +- src/static/ckeditor/samples/old/appendto.html | 4 +- .../samples/old/assets/inlineall/logo.png | Bin .../old/assets/outputxhtml/outputxhtml.css | 2 +- .../samples/old/assets/posteddata.php | 4 +- .../ckeditor/samples/old/assets/sample.jpg | Bin .../old/assets/uilanguages/languages.js | 2 +- .../samples/old/autogrow/autogrow.html | 4 +- .../ckeditor/samples/old/bbcode/bbcode.html | 4 +- .../samples/old/codesnippet/codesnippet.html | 4 +- .../ckeditor/samples/old/datafiltering.html | 4 +- .../samples/old/devtools/devtools.html | 4 +- .../samples/old/dialog/assets/my_dialog.js | 2 +- .../ckeditor/samples/old/dialog/dialog.html | 4 +- .../ckeditor/samples/old/divarea/divarea.html | 4 +- .../ckeditor/samples/old/divreplace.html | 4 +- .../samples/old/docprops/docprops.html | 4 +- .../samples/old/easyimage/easyimage.html | 4 +- .../ckeditor/samples/old/emoji/emoji.html | 4 +- .../samples/old/enterkey/enterkey.html | 4 +- .../assets/outputforflash/outputforflash.fla | Bin .../assets/outputforflash/outputforflash.swf | Bin .../assets/outputforflash/swfobject.js | 0 .../old/htmlwriter/outputforflash.html | 4 +- .../samples/old/htmlwriter/outputhtml.html | 4 +- .../samples/old/image2/assets/image1.jpg | Bin .../samples/old/image2/assets/image2.jpg | Bin .../ckeditor/samples/old/image2/image2.html | 4 +- src/static/ckeditor/samples/old/index.html | 4 +- .../ckeditor/samples/old/inlineall.html | 4 +- .../ckeditor/samples/old/inlinebycode.html | 4 +- .../ckeditor/samples/old/inlinetextarea.html | 4 +- src/static/ckeditor/samples/old/jquery.html | 4 +- .../samples/old/magicline/magicline.html | 4 +- .../ckeditor/samples/old/mathjax/mathjax.html | 4 +- .../samples/old/mentions/mentions.html | 4 +- .../samples/old/placeholder/placeholder.html | 4 +- src/static/ckeditor/samples/old/readonly.html | 4 +- .../ckeditor/samples/old/replacebyclass.html | 4 +- .../ckeditor/samples/old/replacebycode.html | 4 +- src/static/ckeditor/samples/old/sample.css | 2 +- src/static/ckeditor/samples/old/sample.js | 2 +- .../samples/old/sample_posteddata.php | 2 +- .../samples/old/sharedspace/sharedspace.html | 4 +- .../old/sourcedialog/sourcedialog.html | 4 +- .../old/stylesheetparser/assets/sample.css | 0 .../stylesheetparser/stylesheetparser.html | 4 +- src/static/ckeditor/samples/old/tabindex.html | 4 +- .../samples/old/tableresize/tableresize.html | 4 +- .../ckeditor/samples/old/toolbar/toolbar.html | 4 +- src/static/ckeditor/samples/old/uicolor.html | 4 +- .../ckeditor/samples/old/uicolor/uicolor.html | 4 +- .../ckeditor/samples/old/uilanguages.html | 4 +- .../samples/old/wysiwygarea/fullpage.html | 4 +- .../ckeditor/samples/old/xhtmlstyle.html | 4 +- .../toolbarconfigurator/css/fontello.css | 0 .../toolbarconfigurator/font/LICENSE.txt | 0 .../toolbarconfigurator/font/config.json | 0 .../toolbarconfigurator/font/fontello.eot | Bin .../toolbarconfigurator/font/fontello.svg | 0 .../toolbarconfigurator/font/fontello.ttf | Bin .../toolbarconfigurator/font/fontello.woff | Bin .../samples/toolbarconfigurator/index.html | 4 +- .../js/abstracttoolbarmodifier.js | 0 .../js/fulltoolbareditor.js | 0 .../toolbarconfigurator/js/toolbarmodifier.js | 0 .../js/toolbartextmodifier.js | 0 .../lib/codemirror/LICENSE | 0 .../lib/codemirror/codemirror.css | 0 .../lib/codemirror/codemirror.js | 0 .../lib/codemirror/javascript.js | 0 .../lib/codemirror/neo.css | 0 .../lib/codemirror/show-hint.css | 0 .../lib/codemirror/show-hint.js | 0 src/static/ckeditor/skins/kama/dialog.css | 2 +- src/static/ckeditor/skins/kama/dialog_ie.css | 2 +- src/static/ckeditor/skins/kama/dialog_ie7.css | 2 +- src/static/ckeditor/skins/kama/dialog_ie8.css | 2 +- .../ckeditor/skins/kama/dialog_iequirks.css | 2 +- src/static/ckeditor/skins/kama/editor.css | 4 +- src/static/ckeditor/skins/kama/editor_ie.css | 4 +- src/static/ckeditor/skins/kama/editor_ie7.css | 4 +- src/static/ckeditor/skins/kama/editor_ie8.css | 4 +- .../ckeditor/skins/kama/editor_iequirks.css | 4 +- src/static/ckeditor/skins/kama/icons.png | Bin 10020 -> 10177 bytes .../ckeditor/skins/kama/icons_hidpi.png | Bin 15675 -> 15767 bytes .../skins/kama/images/dialog_sides.gif | Bin .../skins/kama/images/dialog_sides.png | Bin .../skins/kama/images/dialog_sides_rtl.png | Bin .../ckeditor/skins/kama/images/mini.gif | Bin .../ckeditor/skins/kama/images/spinner.gif | Bin .../ckeditor/skins/kama/images/sprites.png | Bin .../skins/kama/images/sprites_ie6.png | Bin .../skins/kama/images/toolbar_start.gif | Bin src/static/ckeditor/skins/kama/readme.md | 2 +- src/static/ckeditor/skins/kama/skin.js | 2 +- .../ckeditor/skins/moono-lisa/dialog.css | 2 +- .../ckeditor/skins/moono-lisa/dialog_ie.css | 2 +- .../ckeditor/skins/moono-lisa/dialog_ie8.css | 2 +- .../skins/moono-lisa/dialog_iequirks.css | 2 +- .../ckeditor/skins/moono-lisa/editor.css | 4 +- .../skins/moono-lisa/editor_gecko.css | 4 +- .../ckeditor/skins/moono-lisa/editor_ie.css | 4 +- .../ckeditor/skins/moono-lisa/editor_ie8.css | 4 +- .../skins/moono-lisa/editor_iequirks.css | 4 +- .../ckeditor/skins/moono-lisa/icons.png | Bin 9655 -> 9802 bytes .../ckeditor/skins/moono-lisa/icons_hidpi.png | Bin 30276 -> 30366 bytes .../skins/moono-lisa/images/arrow.png | Bin .../skins/moono-lisa/images/close.png | Bin .../skins/moono-lisa/images/hidpi/close.png | Bin .../moono-lisa/images/hidpi/lock-open.png | Bin .../skins/moono-lisa/images/hidpi/lock.png | Bin .../skins/moono-lisa/images/hidpi/refresh.png | Bin .../skins/moono-lisa/images/lock-open.png | Bin .../ckeditor/skins/moono-lisa/images/lock.png | Bin .../skins/moono-lisa/images/refresh.png | Bin .../skins/moono-lisa/images/spinner.gif | Bin .../ckeditor/skins/moono-lisa/readme.md | 2 +- src/static/ckeditor/skins/moono/dialog.css | 2 +- src/static/ckeditor/skins/moono/dialog_ie.css | 2 +- .../ckeditor/skins/moono/dialog_ie7.css | 2 +- .../ckeditor/skins/moono/dialog_ie8.css | 2 +- .../ckeditor/skins/moono/dialog_iequirks.css | 2 +- src/static/ckeditor/skins/moono/editor.css | 4 +- .../ckeditor/skins/moono/editor_gecko.css | 4 +- src/static/ckeditor/skins/moono/editor_ie.css | 4 +- .../ckeditor/skins/moono/editor_ie7.css | 4 +- .../ckeditor/skins/moono/editor_ie8.css | 4 +- .../ckeditor/skins/moono/editor_iequirks.css | 4 +- src/static/ckeditor/skins/moono/icons.png | Bin 18714 -> 18909 bytes .../ckeditor/skins/moono/icons_hidpi.png | Bin 54043 -> 54148 bytes .../ckeditor/skins/moono/images/anchor.png | Bin .../ckeditor/skins/moono/images/arrow.png | Bin .../ckeditor/skins/moono/images/close.png | Bin .../skins/moono/images/hidpi/anchor.png | Bin .../skins/moono/images/hidpi/close.png | Bin .../skins/moono/images/hidpi/lock-open.png | Bin .../skins/moono/images/hidpi/lock.png | Bin .../skins/moono/images/hidpi/refresh.png | Bin .../ckeditor/skins/moono/images/lock-open.png | Bin .../ckeditor/skins/moono/images/lock.png | Bin .../ckeditor/skins/moono/images/refresh.png | Bin .../ckeditor/skins/moono/images/spinner.gif | Bin src/static/ckeditor/skins/moono/readme.md | 2 +- src/static/ckeditor/skins/moono/skin.js | 2 +- src/static/ckeditor/styles.js | 2 +- src/static/ckeditor/vendor/promise.js | 0 1226 files changed, 13248 insertions(+), 1879 deletions(-) mode change 100644 => 100755 src/static/ckeditor/CHANGES.md mode change 100644 => 100755 src/static/ckeditor/LICENSE.md mode change 100644 => 100755 src/static/ckeditor/adapters/jquery.js mode change 100644 => 100755 src/static/ckeditor/ckeditor.js mode change 100644 => 100755 src/static/ckeditor/contents.css mode change 100644 => 100755 src/static/ckeditor/lang/_translationstatus.txt mode change 100644 => 100755 src/static/ckeditor/lang/af.js mode change 100644 => 100755 src/static/ckeditor/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/lang/az.js mode change 100644 => 100755 src/static/ckeditor/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/lang/bn.js mode change 100644 => 100755 src/static/ckeditor/lang/bs.js mode change 100644 => 100755 src/static/ckeditor/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/lang/da.js mode change 100644 => 100755 src/static/ckeditor/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/lang/de.js mode change 100644 => 100755 src/static/ckeditor/lang/el.js mode change 100644 => 100755 src/static/ckeditor/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/lang/en-ca.js mode change 100644 => 100755 src/static/ckeditor/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/lang/en.js mode change 100644 => 100755 src/static/ckeditor/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/lang/es.js mode change 100644 => 100755 src/static/ckeditor/lang/et.js mode change 100644 => 100755 src/static/ckeditor/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/lang/fo.js mode change 100644 => 100755 src/static/ckeditor/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/lang/gu.js mode change 100644 => 100755 src/static/ckeditor/lang/he.js mode change 100644 => 100755 src/static/ckeditor/lang/hi.js mode change 100644 => 100755 src/static/ckeditor/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/lang/id.js mode change 100644 => 100755 src/static/ckeditor/lang/is.js mode change 100644 => 100755 src/static/ckeditor/lang/it.js mode change 100644 => 100755 src/static/ckeditor/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/lang/ka.js mode change 100644 => 100755 src/static/ckeditor/lang/km.js mode change 100644 => 100755 src/static/ckeditor/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/lang/mk.js mode change 100644 => 100755 src/static/ckeditor/lang/mn.js mode change 100644 => 100755 src/static/ckeditor/lang/ms.js mode change 100644 => 100755 src/static/ckeditor/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/lang/no.js mode change 100644 => 100755 src/static/ckeditor/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/lang/si.js mode change 100644 => 100755 src/static/ckeditor/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/lang/th.js mode change 100644 => 100755 src/static/ckeditor/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/lang/zh.js create mode 100755 src/static/ckeditor/package-lock.json mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/th.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/about/dialogs/about.js mode change 100644 => 100755 src/static/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png mode change 100644 => 100755 src/static/ckeditor/plugins/about/dialogs/logo_ckeditor.png mode change 100644 => 100755 src/static/ckeditor/plugins/adobeair/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/ajax/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/autocomplete/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/autocomplete/skins/default.css mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/mk.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/autoembed/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/autogrow/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/autolink/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/skins/kama/balloonpanel.css mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/skins/moono-lisa/balloonpanel.css mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/close.png mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/skins/moono-lisa/images/hidpi/close.png mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/skins/moono/balloonpanel.css mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/skins/moono/images/close.png mode change 100644 => 100755 src/static/ckeditor/plugins/balloonpanel/skins/moono/images/hidpi/close.png mode change 100644 => 100755 src/static/ckeditor/plugins/balloontoolbar/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/balloontoolbar/skins/default.css mode change 100644 => 100755 src/static/ckeditor/plugins/balloontoolbar/skins/kama/balloontoolbar.css mode change 100644 => 100755 src/static/ckeditor/plugins/balloontoolbar/skins/moono-lisa/balloontoolbar.css mode change 100644 => 100755 src/static/ckeditor/plugins/balloontoolbar/skins/moono/balloontoolbar.css mode change 100644 => 100755 src/static/ckeditor/plugins/bbcode/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/clipboard/dialogs/paste.js mode change 100644 => 100755 src/static/ckeditor/plugins/cloudservices/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/dialogs/codesnippet.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/icons/codesnippet.png mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/icons/hidpi/codesnippet.png mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/th.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/CHANGES.md mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/LICENSE mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/README.ru.md mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/arta.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/ascetic.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.light.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.light.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.light.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.light.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.light.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_paper.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_papersq.png mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/docco.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/far.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/foundation.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/github.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/googlecode.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/idea.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/ir_black.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/magula.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/mono-blue.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai_sublime.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/obsidian.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.light.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.jpg mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/railscasts.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/rainbow.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.png mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_dark.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_light.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/sunburst.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-blue.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-bright.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-eighties.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/vs.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/xcode.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/zenburn.css mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippet/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/codesnippetgeshi/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/colordialog/dialogs/colordialog.css mode change 100644 => 100755 src/static/ckeditor/plugins/colordialog/dialogs/colordialog.js mode change 100644 => 100755 src/static/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg mode change 100644 => 100755 src/static/ckeditor/plugins/copyformatting/cursors/cursor.svg mode change 100644 => 100755 src/static/ckeditor/plugins/copyformatting/styles/copyformatting.css create mode 100755 src/static/ckeditor/plugins/dedepagebreak/icons/dedepagebreak.png create mode 100755 src/static/ckeditor/plugins/dedepagebreak/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/_translationstatus.txt mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/gu.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/devtools/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/dialog/dialogDefinition.js mode change 100644 => 100755 src/static/ckeditor/plugins/dialog/styles/dialog.css mode change 100644 => 100755 src/static/ckeditor/plugins/div/dialogs/div.js mode change 100644 => 100755 src/static/ckeditor/plugins/divarea/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/dialogs/docprops.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/icons/docprops-rtl.png mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/icons/docprops.png mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/icons/hidpi/docprops-rtl.png mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/icons/hidpi/docprops.png mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/bn.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/bs.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/en-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/fo.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/gu.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/hi.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/is.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ka.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/mk.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/mn.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ms.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/th.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/docprops/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/dialogs/easyimagealt.js mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/easyimagealigncenter.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/easyimagealignleft.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/easyimagealignright.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/easyimagealt.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/easyimagefull.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/easyimageside.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/easyimageupload.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/hidpi/easyimagealigncenter.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/hidpi/easyimagealignleft.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/hidpi/easyimagealignright.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/hidpi/easyimagealt.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/hidpi/easyimagefull.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/hidpi/easyimageside.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/icons/hidpi/easyimageupload.png mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/easyimage/styles/easyimage.css mode change 100644 => 100755 src/static/ckeditor/plugins/embed/icons/embed.png mode change 100644 => 100755 src/static/ckeditor/plugins/embed/icons/hidpi/embed.png mode change 100644 => 100755 src/static/ckeditor/plugins/embed/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/dialogs/embedbase.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedbase/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/embedsemantic/icons/embedsemantic.png mode change 100644 => 100755 src/static/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png mode change 100644 => 100755 src/static/ckeditor/plugins/embedsemantic/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/assets/iconsall.png mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/assets/iconsall.svg mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/emoji.json mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/icons/emojipanel.png mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/icons/hidpi/emojipanel.png mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/emoji/skins/default.css mode change 100644 => 100755 src/static/ckeditor/plugins/find/dialogs/find.js mode change 100644 => 100755 src/static/ckeditor/plugins/flash/dialogs/flash.js mode change 100644 => 100755 src/static/ckeditor/plugins/flash/images/placeholder.png mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/button.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/checkbox.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/form.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/hiddenfield.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/radio.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/select.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/textarea.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/dialogs/textfield.js mode change 100644 => 100755 src/static/ckeditor/plugins/forms/images/hiddenfield.gif mode change 100644 => 100755 src/static/ckeditor/plugins/icons.png mode change 100644 => 100755 src/static/ckeditor/plugins/icons_hidpi.png mode change 100644 => 100755 src/static/ckeditor/plugins/iframe/dialogs/iframe.js mode change 100644 => 100755 src/static/ckeditor/plugins/iframe/images/placeholder.png mode change 100644 => 100755 src/static/ckeditor/plugins/iframedialog/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/image/dialogs/image.js mode change 100644 => 100755 src/static/ckeditor/plugins/image/images/noimage.png mode change 100644 => 100755 src/static/ckeditor/plugins/image2/dialogs/image2.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/icons/hidpi/image.png mode change 100644 => 100755 src/static/ckeditor/plugins/image2/icons/image.png mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/bn.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/bs.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/en-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/fo.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/gu.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/hi.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/is.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ka.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/mk.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/mn.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ms.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/th.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/image2/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/imagebase/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/imagebase/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/imagebase/styles/imagebase.css mode change 100644 => 100755 src/static/ckeditor/plugins/link/dialogs/anchor.js mode change 100644 => 100755 src/static/ckeditor/plugins/link/dialogs/link.js mode change 100644 => 100755 src/static/ckeditor/plugins/link/images/anchor.png mode change 100644 => 100755 src/static/ckeditor/plugins/link/images/hidpi/anchor.png mode change 100644 => 100755 src/static/ckeditor/plugins/liststyle/dialogs/liststyle.js mode change 100644 => 100755 src/static/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png mode change 100644 => 100755 src/static/ckeditor/plugins/magicline/images/hidpi/icon.png mode change 100644 => 100755 src/static/ckeditor/plugins/magicline/images/icon-rtl.png mode change 100644 => 100755 src/static/ckeditor/plugins/magicline/images/icon.png mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/dialogs/mathjax.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/icons/hidpi/mathjax.png mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/icons/mathjax.png mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/images/loader.gif mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/mathjax/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/mentions/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/pagebreak/images/pagebreak.gif mode change 100644 => 100755 src/static/ckeditor/plugins/pastefromgdocs/filter/default.js mode change 100644 => 100755 src/static/ckeditor/plugins/pastefromgdocs/plugin.js create mode 100755 src/static/ckeditor/plugins/pastefromlibreoffice/filter/default.js mode change 100644 => 100755 src/static/ckeditor/plugins/pastefromword/filter/default.js mode change 100644 => 100755 src/static/ckeditor/plugins/pastetools/filter/common.js create mode 100755 src/static/ckeditor/plugins/pastetools/filter/image.js delete mode 100644 src/static/ckeditor/plugins/pastetools/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/dialogs/placeholder.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/icons/hidpi/placeholder.png mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/icons/placeholder.png mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/th.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/placeholder/plugin.js create mode 100755 src/static/ckeditor/plugins/preview/images/pagebreak.gif mode change 100644 => 100755 src/static/ckeditor/plugins/preview/preview.html create mode 100755 src/static/ckeditor/plugins/preview/styles/screen.css mode change 100644 => 100755 src/static/ckeditor/plugins/sharedspace/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_address.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_blockquote.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_div.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_h1.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_h2.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_h3.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_h4.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_h5.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_h6.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_p.png mode change 100644 => 100755 src/static/ckeditor/plugins/showblocks/images/block_pre.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/dialogs/smiley.js mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/angel_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/angel_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/angry_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/angry_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/broken_heart.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/broken_heart.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/confused_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/confused_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/cry_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/cry_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/devil_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/devil_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/embaressed_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/embarrassed_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/embarrassed_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/envelope.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/envelope.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/heart.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/heart.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/kiss.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/kiss.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/lightbulb.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/lightbulb.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/omg_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/omg_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/regular_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/regular_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/sad_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/sad_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/shades_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/shades_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/teeth_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/teeth_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/thumbs_down.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/thumbs_down.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/thumbs_up.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/thumbs_up.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/tongue_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/tongue_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/tounge_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/wink_smile.gif mode change 100644 => 100755 src/static/ckeditor/plugins/smiley/images/wink_smile.png mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/icons/hidpi/sourcedialog-rtl.png mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/icons/hidpi/sourcedialog.png mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/icons/sourcedialog-rtl.png mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/icons/sourcedialog.png mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/bn.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/bs.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/en-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/fo.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/gu.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/hi.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/is.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ka.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/mn.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ms.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/th.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/sourcedialog/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/lt.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/th.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/specialchar/dialogs/specialchar.js mode change 100644 => 100755 src/static/ckeditor/plugins/stylesheetparser/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/table/dialogs/table.js mode change 100644 => 100755 src/static/ckeditor/plugins/tableresize/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/tableselection/styles/tableselection.css mode change 100644 => 100755 src/static/ckeditor/plugins/tabletools/dialogs/tableCell.js mode change 100644 => 100755 src/static/ckeditor/plugins/templates/dialogs/templates.css mode change 100644 => 100755 src/static/ckeditor/plugins/templates/dialogs/templates.js mode change 100644 => 100755 src/static/ckeditor/plugins/templates/templates/default.js mode change 100644 => 100755 src/static/ckeditor/plugins/templates/templates/images/template1.gif mode change 100644 => 100755 src/static/ckeditor/plugins/templates/templates/images/template2.gif mode change 100644 => 100755 src/static/ckeditor/plugins/templates/templates/images/template3.gif mode change 100644 => 100755 src/static/ckeditor/plugins/textmatch/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/textwatcher/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/dialogs/uicolor.css mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/dialogs/uicolor.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/icons/hidpi/uicolor.png mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/icons/uicolor.png mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/_translationstatus.txt mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/af.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ar.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/az.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/bg.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/cs.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/cy.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/da.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/de-ch.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/de.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/el.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/en-au.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/en-gb.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/en.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/eo.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/es-mx.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/es.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/et.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/eu.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/fa.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/fi.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/fr-ca.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/fr.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/gl.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/he.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/hr.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/hu.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/id.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/it.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ja.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/km.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ko.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ku.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/lv.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/mk.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/nb.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/nl.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/no.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/oc.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/pl.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/pt-br.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/pt.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ro.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ru.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/si.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/sk.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/sl.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/sq.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/sr-latn.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/sr.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/sv.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/tr.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/tt.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/ug.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/uk.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/vi.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/zh-cn.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/lang/zh.js mode change 100644 => 100755 src/static/ckeditor/plugins/uicolor/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/uploadfile/plugin.js mode change 100644 => 100755 src/static/ckeditor/plugins/widget/images/handle.png mode change 100644 => 100755 src/static/ckeditor/plugins/xml/plugin.js mode change 100644 => 100755 src/static/ckeditor/samples/css/samples.css mode change 100644 => 100755 src/static/ckeditor/samples/img/github-top.png mode change 100644 => 100755 src/static/ckeditor/samples/img/header-bg.png mode change 100644 => 100755 src/static/ckeditor/samples/img/header-separator.png mode change 100644 => 100755 src/static/ckeditor/samples/img/logo.png mode change 100644 => 100755 src/static/ckeditor/samples/img/logo.svg mode change 100644 => 100755 src/static/ckeditor/samples/img/navigation-tip.png mode change 100644 => 100755 src/static/ckeditor/samples/index.html mode change 100644 => 100755 src/static/ckeditor/samples/js/sample.js mode change 100644 => 100755 src/static/ckeditor/samples/js/sf.js mode change 100644 => 100755 src/static/ckeditor/samples/old/ajax.html mode change 100644 => 100755 src/static/ckeditor/samples/old/api.html mode change 100644 => 100755 src/static/ckeditor/samples/old/appendto.html mode change 100644 => 100755 src/static/ckeditor/samples/old/assets/inlineall/logo.png mode change 100644 => 100755 src/static/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css mode change 100644 => 100755 src/static/ckeditor/samples/old/assets/posteddata.php mode change 100644 => 100755 src/static/ckeditor/samples/old/assets/sample.jpg mode change 100644 => 100755 src/static/ckeditor/samples/old/assets/uilanguages/languages.js mode change 100644 => 100755 src/static/ckeditor/samples/old/autogrow/autogrow.html mode change 100644 => 100755 src/static/ckeditor/samples/old/bbcode/bbcode.html mode change 100644 => 100755 src/static/ckeditor/samples/old/codesnippet/codesnippet.html mode change 100644 => 100755 src/static/ckeditor/samples/old/datafiltering.html mode change 100644 => 100755 src/static/ckeditor/samples/old/devtools/devtools.html mode change 100644 => 100755 src/static/ckeditor/samples/old/dialog/assets/my_dialog.js mode change 100644 => 100755 src/static/ckeditor/samples/old/dialog/dialog.html mode change 100644 => 100755 src/static/ckeditor/samples/old/divarea/divarea.html mode change 100644 => 100755 src/static/ckeditor/samples/old/divreplace.html mode change 100644 => 100755 src/static/ckeditor/samples/old/docprops/docprops.html mode change 100644 => 100755 src/static/ckeditor/samples/old/easyimage/easyimage.html mode change 100644 => 100755 src/static/ckeditor/samples/old/emoji/emoji.html mode change 100644 => 100755 src/static/ckeditor/samples/old/enterkey/enterkey.html mode change 100644 => 100755 src/static/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla mode change 100644 => 100755 src/static/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf mode change 100644 => 100755 src/static/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js mode change 100644 => 100755 src/static/ckeditor/samples/old/htmlwriter/outputforflash.html mode change 100644 => 100755 src/static/ckeditor/samples/old/htmlwriter/outputhtml.html mode change 100644 => 100755 src/static/ckeditor/samples/old/image2/assets/image1.jpg mode change 100644 => 100755 src/static/ckeditor/samples/old/image2/assets/image2.jpg mode change 100644 => 100755 src/static/ckeditor/samples/old/image2/image2.html mode change 100644 => 100755 src/static/ckeditor/samples/old/index.html mode change 100644 => 100755 src/static/ckeditor/samples/old/inlineall.html mode change 100644 => 100755 src/static/ckeditor/samples/old/inlinebycode.html mode change 100644 => 100755 src/static/ckeditor/samples/old/inlinetextarea.html mode change 100644 => 100755 src/static/ckeditor/samples/old/jquery.html mode change 100644 => 100755 src/static/ckeditor/samples/old/magicline/magicline.html mode change 100644 => 100755 src/static/ckeditor/samples/old/mathjax/mathjax.html mode change 100644 => 100755 src/static/ckeditor/samples/old/mentions/mentions.html mode change 100644 => 100755 src/static/ckeditor/samples/old/placeholder/placeholder.html mode change 100644 => 100755 src/static/ckeditor/samples/old/readonly.html mode change 100644 => 100755 src/static/ckeditor/samples/old/replacebyclass.html mode change 100644 => 100755 src/static/ckeditor/samples/old/replacebycode.html mode change 100644 => 100755 src/static/ckeditor/samples/old/sample.css mode change 100644 => 100755 src/static/ckeditor/samples/old/sample.js mode change 100644 => 100755 src/static/ckeditor/samples/old/sample_posteddata.php mode change 100644 => 100755 src/static/ckeditor/samples/old/sharedspace/sharedspace.html mode change 100644 => 100755 src/static/ckeditor/samples/old/sourcedialog/sourcedialog.html mode change 100644 => 100755 src/static/ckeditor/samples/old/stylesheetparser/assets/sample.css mode change 100644 => 100755 src/static/ckeditor/samples/old/stylesheetparser/stylesheetparser.html mode change 100644 => 100755 src/static/ckeditor/samples/old/tabindex.html mode change 100644 => 100755 src/static/ckeditor/samples/old/tableresize/tableresize.html mode change 100644 => 100755 src/static/ckeditor/samples/old/toolbar/toolbar.html mode change 100644 => 100755 src/static/ckeditor/samples/old/uicolor.html mode change 100644 => 100755 src/static/ckeditor/samples/old/uicolor/uicolor.html mode change 100644 => 100755 src/static/ckeditor/samples/old/uilanguages.html mode change 100644 => 100755 src/static/ckeditor/samples/old/wysiwygarea/fullpage.html mode change 100644 => 100755 src/static/ckeditor/samples/old/xhtmlstyle.html mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/css/fontello.css mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/font/config.json mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/font/fontello.eot mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/font/fontello.svg mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/font/fontello.ttf mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/font/fontello.woff mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/index.html mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css mode change 100644 => 100755 src/static/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js mode change 100644 => 100755 src/static/ckeditor/skins/kama/dialog.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/dialog_ie.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/dialog_ie7.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/dialog_ie8.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/dialog_iequirks.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/editor.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/editor_ie.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/editor_ie7.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/editor_ie8.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/editor_iequirks.css mode change 100644 => 100755 src/static/ckeditor/skins/kama/icons.png mode change 100644 => 100755 src/static/ckeditor/skins/kama/icons_hidpi.png mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/dialog_sides.gif mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/dialog_sides.png mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/dialog_sides_rtl.png mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/mini.gif mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/spinner.gif mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/sprites.png mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/sprites_ie6.png mode change 100644 => 100755 src/static/ckeditor/skins/kama/images/toolbar_start.gif mode change 100644 => 100755 src/static/ckeditor/skins/kama/readme.md mode change 100644 => 100755 src/static/ckeditor/skins/kama/skin.js mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/dialog.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/dialog_ie.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/dialog_ie8.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/dialog_iequirks.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/editor.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/editor_gecko.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/editor_ie.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/editor_ie8.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/editor_iequirks.css mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/icons.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/icons_hidpi.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/arrow.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/close.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/hidpi/close.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/hidpi/lock.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/hidpi/refresh.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/lock-open.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/lock.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/refresh.png mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/images/spinner.gif mode change 100644 => 100755 src/static/ckeditor/skins/moono-lisa/readme.md mode change 100644 => 100755 src/static/ckeditor/skins/moono/dialog.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/dialog_ie.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/dialog_ie7.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/dialog_ie8.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/dialog_iequirks.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/editor.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/editor_gecko.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/editor_ie.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/editor_ie7.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/editor_ie8.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/editor_iequirks.css mode change 100644 => 100755 src/static/ckeditor/skins/moono/icons.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/icons_hidpi.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/anchor.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/arrow.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/close.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/hidpi/anchor.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/hidpi/close.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/hidpi/lock-open.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/hidpi/lock.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/hidpi/refresh.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/lock-open.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/lock.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/refresh.png mode change 100644 => 100755 src/static/ckeditor/skins/moono/images/spinner.gif mode change 100644 => 100755 src/static/ckeditor/skins/moono/readme.md mode change 100644 => 100755 src/static/ckeditor/skins/moono/skin.js mode change 100644 => 100755 src/static/ckeditor/styles.js mode change 100644 => 100755 src/static/ckeditor/vendor/promise.js diff --git a/src/static/ckeditor/CHANGES.md b/src/static/ckeditor/CHANGES.md old mode 100644 new mode 100755 index a26160b7..1699df0b --- a/src/static/ckeditor/CHANGES.md +++ b/src/static/ckeditor/CHANGES.md @@ -1,21 +1,50 @@ CKEditor 4 Changelog ==================== +## CKEditor 4.15 + +* [#3940](https://github.com/ckeditor/ckeditor4/issues/3940): Introduced `colorName` property for customizing foreground and background styles in [color button](https://ckeditor.com/cke4/addon/colorbutton) plugin via [colorButton_foreStyle](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_foreStyle) and [colorButton_backStyle](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_backStyle) configuration options. + ## CKEditor 4.14 +**Security Updates:** + +* Fixed XSS vulnerability in the HTML data processor reported by [Michał Bentkowski](https://twitter.com/securitymb) of Securitum. + + Issue summary: It was possible to execute XSS inside CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WYSIWYG mode or (i) copy the specially crafted HTML code, prepared by the attacker and (ii) paste it into CKEditor in WYSIWYG mode. + +* Fixed XSS vulnerability in the WebSpellChecker Dialog plugin reported by [Pham Van Khanh](https://twitter.com/rskvp93) from Viettel Cyber Security. + + Issue summary: It was possible to execute XSS using CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, then (iii) switch back to WYSIWYG mode, and (iv) preview CKEditor content outside CKEditor editable area. + +**An upgrade is highly recommended!** + New features: -* [#2583](https://github.com/ckeditor/ckeditor-dev/issues/2583): Changed [Emoji](https://ckeditor.com/cke4/addon/emoji) suggestion box to show matched emoji name instead of an ID. -* [#3748](https://github.com/ckeditor/ckeditor-dev/issues/3748): Improved [Color Button](https://ckeditor.com/cke4/addon/colorbutton) state to reflect selected editor content colors. +* [#2374](https://github.com/ckeditor/ckeditor4/issues/2374): Added support for pasting rich content from LibreOffice Writer with the [Paste from LibreOffice](https://ckeditor.com/cke4/addon/pastefromlibreoffice) plugin. +* [#2583](https://github.com/ckeditor/ckeditor4/issues/2583): Changed [emoji](https://ckeditor.com/cke4/addon/emoji) suggestion box to show the matched emoji name instead of an ID. +* [#3748](https://github.com/ckeditor/ckeditor4/issues/3748): Improved the [color button](https://ckeditor.com/cke4/addon/colorbutton) state to reflect the selected editor content colors. +* [#3661](https://github.com/ckeditor/ckeditor4/issues/3661): Improved the [Print](https://ckeditor.com/cke4/addon/print) plugin to respect styling rendered by the [Preview](https://ckeditor.com/cke4/addon/preview) plugin. +* [#3547](https://github.com/ckeditor/ckeditor4/issues/3547): Active [dialog](https://ckeditor.com/cke4/addon/dialog) tab now has the `aria-selected="true"` attribute. +* [#3441](https://github.com/ckeditor/ckeditor4/issues/3441): Improved [`widget.getClipboardHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-getClipboardHtml) support for dragging and dropping multiple [widgets](https://ckeditor.com/cke4/addon/widget). Fixed Issues: * [#3587](https://github.com/ckeditor/ckeditor4/issues/3587): [Edge, IE] Fixed: [Widget](https://ckeditor.com/cke4/addon/widget) with form input elements loses focus during typing. +* [#3705](https://github.com/ckeditor/ckeditor4/issues/3705): [Safari] Fixed: Safari incorrectly removes blocks with the [`editor.extractSelectedHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-extractSelectedHtml) method after selecting all content. +* [#1306](https://github.com/ckeditor/ckeditor4/issues/1306): Fixed: The [Font](https://ckeditor.com/cke4/addon/font) plugin creates nested HTML `` tags when reapplying the same font multiple times. +* [#3498](https://github.com/ckeditor/ckeditor4/issues/3498): Fixed: The editor throws an error during the copy operation when a [widget](https://ckeditor.com/cke4/addon/widget) is partially selected. +* [#2517](https://github.com/ckeditor/ckeditor4/issues/2517): [Chrome, Firefox, Safari] Fixed: Inserting a new image when the selection partially covers an existing [enhanced image](https://ckeditor.com/cke4/addon/image2) widget throws an error. +* [#3007](https://github.com/ckeditor/ckeditor4/issues/3007): [Chrome, Firefox, Safari] Fixed: Cannot modify the editor content once the selection is released over a [widget](https://ckeditor.com/cke4/addon/widget). +* [#3698](https://github.com/ckeditor/ckeditor4/issues/3698): Fixed: Cutting the selected text when a [widget](https://ckeditor.com/cke4/addon/widget) is partially selected merges paragraphs. API Changes: -* [#3387](https://github.com/ckeditor/ckeditor-dev/issues/3387): Added the [CKEDITOR.ui.richCombo#select](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_richCombo.html#method-select) method. -* [#3306](https://github.com/ckeditor/ckeditor-dev/issues/3306): Added new commands `textColor` and `bgColor` which applies the selected color choosen by the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin. +* [#3387](https://github.com/ckeditor/ckeditor4/issues/3387): Added the [CKEDITOR.ui.richCombo.select()](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_richCombo.html#method-select) method. +* [#3727](https://github.com/ckeditor/ckeditor4/issues/3727): Added new `textColor` and `bgColor` commands that apply the selected color chosen by the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin. +* [#3728](https://github.com/ckeditor/ckeditor4/issues/3728): Added new `font` and `fontSize` commands that apply the selected font style chosen by the [Font](https://ckeditor.com/cke4/addon/colorbutton) plugin. +* [#3842](https://github.com/ckeditor/ckeditor4/issues/3842): Added the [`editor.getSelectedRanges()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelectedRanges) alias. +* [#3775](https://github.com/ckeditor/ckeditor4/issues/3775): Widget [mask](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-mask) and [parts](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-parts) can now be refreshed dynamically via API calls. ## CKEditor 4.13.1 diff --git a/src/static/ckeditor/LICENSE.md b/src/static/ckeditor/LICENSE.md old mode 100644 new mode 100755 index 22ae688c..0d62ffa1 --- a/src/static/ckeditor/LICENSE.md +++ b/src/static/ckeditor/LICENSE.md @@ -2,7 +2,7 @@ Software License Agreement ========================== CKEditor - The text editor for Internet - https://ckeditor.com/ -Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. Licensed under the terms of any of the following licenses at your choice: @@ -37,7 +37,7 @@ done by developers outside of CKSource with their express permission. The following libraries are included in CKEditor under the MIT license (see Appendix D): -* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2019, CKSource - Frederico Knabben. +* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2020, CKSource - Frederico Knabben. * PicoModal (included in `samples/js/sf.js`) - Copyright (c) 2012 James Frasca. * CodeMirror (included in the samples) - Copyright (C) 2014 by Marijn Haverbeke and others. * ES6Promise - Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors. diff --git a/src/static/ckeditor/adapters/jquery.js b/src/static/ckeditor/adapters/jquery.js old mode 100644 new mode 100755 index ba745105..3aa2ffa0 --- a/src/static/ckeditor/adapters/jquery.js +++ b/src/static/ckeditor/adapters/jquery.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ (function(a){if("undefined"==typeof a)throw Error("jQuery should be loaded before CKEditor jQuery adapter.");if("undefined"==typeof CKEDITOR)throw Error("CKEditor should be loaded before CKEditor jQuery adapter.");CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a}, diff --git a/src/static/ckeditor/ckeditor.js b/src/static/ckeditor/ckeditor.js old mode 100644 new mode 100755 index 6170608b..4bd1a682 --- a/src/static/ckeditor/ckeditor.js +++ b/src/static/ckeditor/ckeditor.js @@ -2,1319 +2,1330 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -(function(){if(!window.CKEDITOR||!window.CKEDITOR.dom){window.CKEDITOR||(window.CKEDITOR=function(){var b=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,h={timestamp:"K3P7",version:"4.14.0 DEV",revision:"16c60f9c7",rnd:Math.floor(900*Math.random())+100,_:{pending:[],basePathSrcPattern:b},status:"unloaded",basePath:function(){var g=window.CKEDITOR_BASEPATH||"";if(!g)for(var a=document.getElementsByTagName("script"),f=0;fc.getListenerIndex(g)){c=c.listeners;f||(f=this);isNaN(l)&&(l=10);var n=this;d.fn=g;d.priority=l;for(var r=c.length-1;0<=r;r--)if(c[r].priority<=l)return c.splice(r+1,0,d),{removeListener:e};c.unshift(d)}return{removeListener:e}},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},f=0,k=function(){f=1};return function(l,d,e){var c=h(this)[l];l=a;var n=f;a=f=0;if(c){var r=c.listeners;if(r.length)for(var r=r.slice(0),t,q=0;qdocument.documentMode),mobile:-1a||f.quirks);f.gecko&&(h=b.match(/rv:([\d\.]+)/))&&(h=h[1].split("."),a=1E4*h[0]+100*(h[1]||0)+1*(h[2]||0));f.air&&(a=parseFloat(b.match(/ adobeair\/(\d+)/)[1]));f.webkit&&(a=parseFloat(b.match(/ applewebkit\/(\d+)/)[1]));f.version=a;f.isCompatible=!(f.ie&&7>a)&&!(f.gecko&&4E4>a)&&!(f.webkit&& -534>a);f.hidpi=2<=window.devicePixelRatio;f.needsBrFiller=f.gecko||f.webkit||f.ie&&10a;f.cssClass="cke_browser_"+(f.ie?"ie":f.gecko?"gecko":f.webkit?"webkit":"unknown");f.quirks&&(f.cssClass+=" cke_browser_quirks");f.ie&&(f.cssClass+=" cke_browser_ie"+(f.quirks?"6 cke_browser_iequirks":f.version));f.air&&(f.cssClass+=" cke_browser_air");f.iOS&&(f.cssClass+=" cke_browser_ios");f.hidpi&&(f.cssClass+=" cke_hidpi");return f}());"unloaded"==CKEDITOR.status&&function(){CKEDITOR.event.implementOn(CKEDITOR); +(function(){if(!window.CKEDITOR||!window.CKEDITOR.dom){window.CKEDITOR||(window.CKEDITOR=function(){var b=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,h={timestamp:"K4A8",version:"4.15.0 DEV",revision:"ec7639711",rnd:Math.floor(900*Math.random())+100,_:{pending:[],basePathSrcPattern:b},status:"unloaded",basePath:function(){var a=window.CKEDITOR_BASEPATH||"";if(!a)for(var e=document.getElementsByTagName("script"),g=0;gc.getListenerIndex(a)){c=c.listeners;g||(g=this);isNaN(l)&&(l=10);var n=this;d.fn=a;d.priority=l;for(var r=c.length-1;0<=r;r--)if(c[r].priority<=l)return c.splice(r+1,0,d),{removeListener:f};c.unshift(d)}return{removeListener:f}},once:function(){var e=Array.prototype.slice.call(arguments),a=e[1];e[1]=function(e){e.removeListener();return a.apply(this, +arguments)};return this.on.apply(this,e)},capture:function(){CKEDITOR.event.useCapture=1;var e=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return e},fire:function(){var e=0,a=function(){e=1},b=0,g=function(){b=1};return function(l,d,f){var c=h(this)[l];l=e;var n=b;e=b=0;if(c){var r=c.listeners;if(r.length)for(var r=r.slice(0),t,q=0;qdocument.documentMode),mobile:-1e||g.quirks);g.gecko&&(h=b.match(/rv:([\d\.]+)/))&&(h=h[1].split("."),e=1E4*h[0]+100*(h[1]||0)+1*(h[2]||0));g.air&&(e=parseFloat(b.match(/ adobeair\/(\d+)/)[1]));g.webkit&&(e=parseFloat(b.match(/ applewebkit\/(\d+)/)[1]));g.version=e;g.isCompatible=!(g.ie&&7>e)&&!(g.gecko&&4E4>e)&&!(g.webkit&& +534>e);g.hidpi=2<=window.devicePixelRatio;g.needsBrFiller=g.gecko||g.webkit||g.ie&&10e;g.cssClass="cke_browser_"+(g.ie?"ie":g.gecko?"gecko":g.webkit?"webkit":"unknown");g.quirks&&(g.cssClass+=" cke_browser_quirks");g.ie&&(g.cssClass+=" cke_browser_ie"+(g.quirks?"6 cke_browser_iequirks":g.version));g.air&&(g.cssClass+=" cke_browser_air");g.iOS&&(g.cssClass+=" cke_browser_ios");g.hidpi&&(g.cssClass+=" cke_hidpi");return g}());"unloaded"==CKEDITOR.status&&function(){CKEDITOR.event.implementOn(CKEDITOR); CKEDITOR.loadFullCore=function(){if("basic_ready"!=CKEDITOR.status)CKEDITOR.loadFullCore._load=1;else{delete CKEDITOR.loadFullCore;var b=document.createElement("script");b.type="text/javascript";b.src=CKEDITOR.basePath+"ckeditor.js";document.getElementsByTagName("head")[0].appendChild(b)}};CKEDITOR.loadFullCoreTimeout=0;CKEDITOR.add=function(b){(this._.pending||(this._.pending=[])).push(b)};(function(){CKEDITOR.domReady(function(){var b=CKEDITOR.loadFullCore,h=CKEDITOR.loadFullCoreTimeout;b&&(CKEDITOR.status= "basic_ready",b&&b._load?b():h&&setTimeout(function(){CKEDITOR.loadFullCore&&CKEDITOR.loadFullCore()},1E3*h))})})();CKEDITOR.status="basic_loaded"}();"use strict";CKEDITOR.VERBOSITY_WARN=1;CKEDITOR.VERBOSITY_ERROR=2;CKEDITOR.verbosity=CKEDITOR.VERBOSITY_WARN|CKEDITOR.VERBOSITY_ERROR;CKEDITOR.warn=function(b,h){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_WARN&&CKEDITOR.fire("log",{type:"warn",errorCode:b,additionalData:h})};CKEDITOR.error=function(b,h){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_ERROR&&CKEDITOR.fire("log", -{type:"error",errorCode:b,additionalData:h})};CKEDITOR.on("log",function(b){if(window.console&&window.console.log){var h=console[b.data.type]?b.data.type:"log",f=b.data.errorCode;if(b=b.data.additionalData)console[h]("[CKEDITOR] Error code: "+f+".",b);else console[h]("[CKEDITOR] Error code: "+f+".");console[h]("[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#"+f)}},null,null,999);CKEDITOR.dom={};(function(){function b(c,d,e){this._minInterval= -c;this._context=e;this._lastOutput=this._scheduledTimer=0;this._output=CKEDITOR.tools.bind(d,e||{});var a=this;this.input=function(){function c(){a._lastOutput=(new Date).getTime();a._scheduledTimer=0;a._call()}if(!a._scheduledTimer||!1!==a._reschedule()){var n=(new Date).getTime()-a._lastOutput;n/g,k=/|\s) /g,function(c,d){return d+"\x26nbsp;"}).replace(/ (?=<)/g,"\x26nbsp;")},getNextNumber:function(){var c=0;return function(){return++c}}(),getNextId:function(){return"cke_"+this.getNextNumber()},getUniqueId:function(){for(var c="e",d=0;8>d;d++)c+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return c},override:function(c,d){var e=d(c);e.prototype=c.prototype;return e},setTimeout:function(c,d,e,a,b){b||(b=window);e||(e= -b);return b.setTimeout(function(){a?c.apply(e,[].concat(a)):c.apply(e)},d||0)},throttle:function(c,d,e){return new this.buffers.throttle(c,d,e)},trim:function(){var c=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(d){return d.replace(c,"")}}(),ltrim:function(){var c=/^[ \t\n\r]+/g;return function(d){return d.replace(c,"")}}(),rtrim:function(){var c=/[ \t\n\r]+$/g;return function(d){return d.replace(c,"")}}(),indexOf:function(c,d){if("function"==typeof d)for(var e=0,a=c.length;eparseFloat(d); -e&&(d=d.replace("-",""));c.setStyle("width",d);d=c.$.clientWidth;return e?-d:d}return d}}(),repeat:function(c,d){return Array(d+1).join(c)},tryThese:function(){for(var c,d=0,e=arguments.length;dd;d++)c[d]=("0"+parseInt(c[d],10).toString(16)).slice(-2);return"#"+c.join("")})},normalizeHex:function(c){return c.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,function(c,d,e,a){c=d.toLowerCase();3==c.length&&(c=c.split(""),c=[c[0],c[0],c[1],c[1],c[2],c[2]].join(""));return"#"+c+a})},parseCssText:function(c, -d,e){var a={};e&&(c=(new CKEDITOR.dom.element("span")).setAttribute("style",c).getAttribute("style")||"");c&&(c=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(c)));if(!c||";"==c)return a;c.replace(/"/g,'"').replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(c,e,n){d&&(e=e.toLowerCase(),"font-family"==e&&(n=n.replace(/\s*,\s*/g,",")),n=CKEDITOR.tools.trim(n));a[e]=n});return a},writeCssText:function(c,d){var e,a=[];for(e in c)a.push(e+":"+c[e]);d&&a.sort();return a.join("; ")}, -objectCompare:function(c,d,e){var a;if(!c&&!d)return!0;if(!c||!d)return!1;for(a in c)if(c[a]!=d[a])return!1;if(!e)for(a in d)if(c[a]!=d[a])return!1;return!0},objectKeys:function(c){return CKEDITOR.tools.object.keys(c)},convertArrayToObject:function(c,d){var e={};1==arguments.length&&(d=!0);for(var a=0,b=c.length;ae;e++)c.push(Math.floor(256*Math.random()));for(e=0;eg)for(f=g;3>f;f++)b[f]=0;l[0]=(b[0]&252)>>2;l[1]=(b[0]&3)<<4|b[1]>>4;l[2]=(b[1]&15)<<2|(b[2]&192)>>6;l[3]=b[2]&63;for(f=0;4>f;f++)d=f<=g?d+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l[f]):d+"\x3d"}return d}, +{type:"error",errorCode:b,additionalData:h})};CKEDITOR.on("log",function(b){if(window.console&&window.console.log){var h=console[b.data.type]?b.data.type:"log",g=b.data.errorCode;if(b=b.data.additionalData)console[h]("[CKEDITOR] Error code: "+g+".",b);else console[h]("[CKEDITOR] Error code: "+g+".");console[h]("[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#"+g)}},null,null,999);CKEDITOR.dom={};(function(){function b(c,d,f){this._minInterval= +c;this._context=f;this._lastOutput=this._scheduledTimer=0;this._output=CKEDITOR.tools.bind(d,f||{});var a=this;this.input=function(){function c(){a._lastOutput=(new Date).getTime();a._scheduledTimer=0;a._call()}if(!a._scheduledTimer||!1!==a._reschedule()){var n=(new Date).getTime()-a._lastOutput;n/g,k=/|\s) /g,function(c,d){return d+"\x26nbsp;"}).replace(/ (?=<)/g,"\x26nbsp;")},getNextNumber:function(){var c=0;return function(){return++c}}(),getNextId:function(){return"cke_"+this.getNextNumber()},getUniqueId:function(){for(var c="e",d=0;8>d;d++)c+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return c},override:function(c,d){var a=d(c);a.prototype=c.prototype;return a},setTimeout:function(c,d,a,f,e){e||(e=window);a||(a= +e);return e.setTimeout(function(){f?c.apply(a,[].concat(f)):c.apply(a)},d||0)},throttle:function(c,d,a){return new this.buffers.throttle(c,d,a)},trim:function(){var c=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(d){return d.replace(c,"")}}(),ltrim:function(){var c=/^[ \t\n\r]+/g;return function(d){return d.replace(c,"")}}(),rtrim:function(){var c=/[ \t\n\r]+$/g;return function(d){return d.replace(c,"")}}(),indexOf:function(c,d){if("function"==typeof d)for(var a=0,f=c.length;aparseFloat(d); +a&&(d=d.replace("-",""));c.setStyle("width",d);d=c.$.clientWidth;return a?-d:d}return d}}(),repeat:function(c,d){return Array(d+1).join(c)},tryThese:function(){for(var c,d=0,a=arguments.length;dd;d++)c[d]=("0"+parseInt(c[d],10).toString(16)).slice(-2);return"#"+c.join("")})},normalizeHex:function(c){return c.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,function(c,d,a,n){c=d.toLowerCase();3==c.length&&(c=c.split(""),c=[c[0],c[0],c[1],c[1],c[2],c[2]].join(""));return"#"+c+n})},parseCssText:function(c, +d,a){var f={};a&&(c=(new CKEDITOR.dom.element("span")).setAttribute("style",c).getAttribute("style")||"");c&&(c=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(c)));if(!c||";"==c)return f;c.replace(/"/g,'"').replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(c,a,n){d&&(a=a.toLowerCase(),"font-family"==a&&(n=n.replace(/\s*,\s*/g,",")),n=CKEDITOR.tools.trim(n));f[a]=n});return f},writeCssText:function(c,d){var a,f=[];for(a in c)f.push(a+":"+c[a]);d&&f.sort();return f.join("; ")}, +objectCompare:function(c,d,a){var f;if(!c&&!d)return!0;if(!c||!d)return!1;for(f in c)if(c[f]!=d[f])return!1;if(!a)for(f in d)if(c[f]!=d[f])return!1;return!0},objectKeys:function(c){return CKEDITOR.tools.object.keys(c)},convertArrayToObject:function(c,d){var a={};1==arguments.length&&(d=!0);for(var f=0,e=c.length;fa;a++)c.push(Math.floor(256*Math.random()));for(a=0;al)for(g=l;3>g;g++)e[g]=0;b[0]=(e[0]&252)>>2;b[1]=(e[0]&3)<<4|e[1]>>4;b[2]=(e[1]&15)<<2|(e[2]&192)>>6;b[3]=e[2]&63;for(g=0;4>g;g++)d=g<=l?d+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(b[g]):d+"\x3d"}return d}, style:{parse:{_colors:{aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400", darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC", ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A", lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1", moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460", seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",windowtext:"windowtext",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"},_borderStyle:"none hidden dotted dashed solid double groove ridge inset outset".split(" "), -_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(c){var d={},e=this._findColor(c);e.length&&(d.color=e[0],CKEDITOR.tools.array.forEach(e,function(d){c=c.replace(d,"")}));if(c=CKEDITOR.tools.trim(c))d.unprocessed=c;return d},margin:function(c){return CKEDITOR.tools.style.parse.sideShorthand(c, -function(c){return c.match(/(?:\-?[\.\d]+(?:%|\w*)|auto|inherit|initial|unset|revert)/g)||["0px"]})},sideShorthand:function(c,d){function e(c){a.top=b[c[0]];a.right=b[c[1]];a.bottom=b[c[2]];a.left=b[c[3]]}var a={},b=d?d(c):c.split(/\s+/);switch(b.length){case 1:e([0,0,0,0]);break;case 2:e([0,1,0,1]);break;case 3:e([0,1,2,1]);break;case 4:e([0,1,2,3])}return a},border:function(c){return CKEDITOR.tools.style.border.fromCssRule(c)},_findColor:function(c){var d=[],e=CKEDITOR.tools.array,d=d.concat(c.match(this._rgbaRegExp)|| -[]),d=d.concat(c.match(this._hslaRegExp)||[]);return d=d.concat(e.filter(c.split(/\s+/),function(c){return c.match(/^\#[a-f0-9]{3}(?:[a-f0-9]{3})?$/gi)?!0:c.toLowerCase()in CKEDITOR.tools.style.parse._colors}))}}},array:{filter:function(c,d,e){var a=[];this.forEach(c,function(b,g){d.call(e,b,g,c)&&a.push(b)});return a},find:function(c,d,e){for(var a=c.length,b=0;bCKEDITOR.env.version&&(!c||"object"!==typeof c)){d=[];if("string"===typeof c)for(e=0;eCKEDITOR.env.version)for(b=0;bCKEDITOR.env.version&&(!c||"object"!==typeof c)){d=[];if("string"===typeof c)for(a=0;aCKEDITOR.env.version)for(e=0;eCKEDITOR.env.version&&(this.type==CKEDITOR.NODE_ELEMENT||this.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)&&a(g);return g},hasPrevious:function(){return!!this.$.previousSibling},hasNext:function(){return!!this.$.nextSibling},insertAfter:function(b){b.$.parentNode.insertBefore(this.$,b.$.nextSibling);return b},insertBefore:function(b){b.$.parentNode.insertBefore(this.$,b.$);return b},insertBeforeMe:function(b){this.$.parentNode.insertBefore(b.$,this.$); -return b},getAddress:function(b){for(var h=[],f=this.getDocument().$.documentElement,a=this;a&&a!=f;){var g=a.getParent();g&&h.unshift(this.getIndex.call(a,b));a=g}return h},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(b){function h(a,b){var g=b?a.getNext():a.getPrevious();return g&&g.type==CKEDITOR.NODE_TEXT?g.isEmpty()?h(g,b):g:null}var f=this,a=-1,g;if(!this.getParent()||b&&f.type==CKEDITOR.NODE_TEXT&&f.isEmpty()&& -!h(f)&&!h(f,!0))return-1;do if(!b||f.equals(this)||f.type!=CKEDITOR.NODE_TEXT||!g&&!f.isEmpty())a++,g=f.type==CKEDITOR.NODE_TEXT;while(f=f.getPrevious());return a},getNextSourceNode:function(b,h,f){if(f&&!f.call){var a=f;f=function(b){return!b.equals(a)}}b=!b&&this.getFirst&&this.getFirst();var g;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&f&&!1===f(this,!0))return null;b=this.getNext()}for(;!b&&(g=(g||this).getParent());){if(f&&!1===f(g,!0))return null;b=g.getNext()}return!b||f&&!1===f(b)?null:h&& -h!=b.type?b.getNextSourceNode(!1,h,f):b},getPreviousSourceNode:function(b,h,f){if(f&&!f.call){var a=f;f=function(b){return!b.equals(a)}}b=!b&&this.getLast&&this.getLast();var g;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&f&&!1===f(this,!0))return null;b=this.getPrevious()}for(;!b&&(g=(g||this).getParent());){if(f&&!1===f(g,!0))return null;b=g.getPrevious()}return!b||f&&!1===f(b)?null:h&&b.type!=h?b.getPreviousSourceNode(!1,h,f):b},getPrevious:function(b){var h=this.$,f;do f=(h=h.previousSibling)&& -10!=h.nodeType&&new CKEDITOR.dom.node(h);while(f&&b&&!b(f));return f},getNext:function(b){var h=this.$,f;do f=(h=h.nextSibling)&&new CKEDITOR.dom.node(h);while(f&&b&&!b(f));return f},getParent:function(b){var h=this.$.parentNode;return h&&(h.nodeType==CKEDITOR.NODE_ELEMENT||b&&h.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)?new CKEDITOR.dom.node(h):null},getParents:function(b){var h=this,f=[];do f[b?"push":"unshift"](h);while(h=h.getParent());return f},getCommonAncestor:function(b){if(b.equals(this))return this; -if(b.contains&&b.contains(this))return b;var h=this.contains?this:this.getParent();do if(h.contains(b))return h;while(h=h.getParent());return null},getPosition:function(b){var h=this.$,f=b.$;if(h.compareDocumentPosition)return h.compareDocumentPosition(f);if(h==f)return CKEDITOR.POSITION_IDENTICAL;if(this.type==CKEDITOR.NODE_ELEMENT&&b.type==CKEDITOR.NODE_ELEMENT){if(h.contains){if(h.contains(f))return CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING;if(f.contains(h))return CKEDITOR.POSITION_IS_CONTAINED+ -CKEDITOR.POSITION_FOLLOWING}if("sourceIndex"in h)return 0>h.sourceIndex||0>f.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:h.sourceIndexCKEDITOR.env.version&&(this.type==CKEDITOR.NODE_ELEMENT||this.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)&&e(a);return a},hasPrevious:function(){return!!this.$.previousSibling},hasNext:function(){return!!this.$.nextSibling},insertAfter:function(b){b.$.parentNode.insertBefore(this.$,b.$.nextSibling);return b},insertBefore:function(b){b.$.parentNode.insertBefore(this.$,b.$);return b},insertBeforeMe:function(b){this.$.parentNode.insertBefore(b.$,this.$); +return b},getAddress:function(b){for(var h=[],g=this.getDocument().$.documentElement,e=this;e&&e!=g;){var a=e.getParent();a&&h.unshift(this.getIndex.call(e,b));e=a}return h},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(b){function h(a,e){var b=e?a.getNext():a.getPrevious();return b&&b.type==CKEDITOR.NODE_TEXT?b.isEmpty()?h(b,e):b:null}var g=this,e=-1,a;if(!this.getParent()||b&&g.type==CKEDITOR.NODE_TEXT&&g.isEmpty()&& +!h(g)&&!h(g,!0))return-1;do if(!b||g.equals(this)||g.type!=CKEDITOR.NODE_TEXT||!a&&!g.isEmpty())e++,a=g.type==CKEDITOR.NODE_TEXT;while(g=g.getPrevious());return e},getNextSourceNode:function(b,h,g){if(g&&!g.call){var e=g;g=function(a){return!a.equals(e)}}b=!b&&this.getFirst&&this.getFirst();var a;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;b=this.getNext()}for(;!b&&(a=(a||this).getParent());){if(g&&!1===g(a,!0))return null;b=a.getNext()}return!b||g&&!1===g(b)?null:h&& +h!=b.type?b.getNextSourceNode(!1,h,g):b},getPreviousSourceNode:function(b,h,g){if(g&&!g.call){var e=g;g=function(a){return!a.equals(e)}}b=!b&&this.getLast&&this.getLast();var a;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;b=this.getPrevious()}for(;!b&&(a=(a||this).getParent());){if(g&&!1===g(a,!0))return null;b=a.getPrevious()}return!b||g&&!1===g(b)?null:h&&b.type!=h?b.getPreviousSourceNode(!1,h,g):b},getPrevious:function(b){var h=this.$,g;do g=(h=h.previousSibling)&& +10!=h.nodeType&&new CKEDITOR.dom.node(h);while(g&&b&&!b(g));return g},getNext:function(b){var h=this.$,g;do g=(h=h.nextSibling)&&new CKEDITOR.dom.node(h);while(g&&b&&!b(g));return g},getParent:function(b){var h=this.$.parentNode;return h&&(h.nodeType==CKEDITOR.NODE_ELEMENT||b&&h.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)?new CKEDITOR.dom.node(h):null},getParents:function(b){var h=this,g=[];do g[b?"push":"unshift"](h);while(h=h.getParent());return g},getCommonAncestor:function(b){if(b.equals(this))return this; +if(b.contains&&b.contains(this))return b;var h=this.contains?this:this.getParent();do if(h.contains(b))return h;while(h=h.getParent());return null},getPosition:function(b){var h=this.$,g=b.$;if(h.compareDocumentPosition)return h.compareDocumentPosition(g);if(h==g)return CKEDITOR.POSITION_IDENTICAL;if(this.type==CKEDITOR.NODE_ELEMENT&&b.type==CKEDITOR.NODE_ELEMENT){if(h.contains){if(h.contains(g))return CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING;if(g.contains(h))return CKEDITOR.POSITION_IS_CONTAINED+ +CKEDITOR.POSITION_FOLLOWING}if("sourceIndex"in h)return 0>h.sourceIndex||0>g.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:h.sourceIndex=document.documentMode||!h||(b=h+":"+ +this.$.createStyleSheet("");h.cssText=b}else{var g=new CKEDITOR.dom.element("style",this);g.append(new CKEDITOR.dom.text(b,this));this.getHead().append(g)}return h||g.$.sheet},createElement:function(b,h){var g=new CKEDITOR.dom.element(b,this);h&&(h.attributes&&g.setAttributes(h.attributes),h.styles&&g.setStyles(h.styles));return g},createText:function(b){return new CKEDITOR.dom.text(b,this)},focus:function(){this.getWindow().focus()},getActive:function(){var b;try{b=this.$.activeElement}catch(h){return null}return new CKEDITOR.dom.element(b)}, +getById:function(b){return(b=this.$.getElementById(b))?new CKEDITOR.dom.element(b):null},getByAddress:function(b,h){for(var g=this.$.documentElement,e=0;g&&e=document.documentMode||!h||(b=h+":"+ b);return new CKEDITOR.dom.nodeList(this.$.getElementsByTagName(b))},getHead:function(){var b=this.$.getElementsByTagName("head")[0];return b=b?new CKEDITOR.dom.element(b):this.getDocumentElement().append(new CKEDITOR.dom.element("head"),!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(b){this.$.open("text/html", "replace");CKEDITOR.env.ie&&(b=b.replace(/(?:^\s*]*?>)|^/i,'$\x26\n\x3cscript data-cke-temp\x3d"1"\x3e('+CKEDITOR.tools.fixDomain+")();\x3c/script\x3e"));this.$.write(b);this.$.close()},find:function(b){return new CKEDITOR.dom.nodeList(this.$.querySelectorAll(b))},findOne:function(b){return(b=this.$.querySelector(b))?new CKEDITOR.dom.element(b):null},_getHtml5ShivFrag:function(){var b=this.getCustomData("html5ShivFrag");b||(b=this.$.createDocumentFragment(),CKEDITOR.tools.enableHtml5Elements(b, !0),this.setCustomData("html5ShivFrag",b));return b}});CKEDITOR.dom.nodeList=function(b){this.$=b};CKEDITOR.dom.nodeList.prototype={count:function(){return this.$.length},getItem:function(b){return 0>b||b>=this.$.length?null:(b=this.$[b])?new CKEDITOR.dom.node(b):null},toArray:function(){return CKEDITOR.tools.array.map(this.$,function(b){return new CKEDITOR.dom.node(b)})}};CKEDITOR.dom.element=function(b,h){"string"==typeof b&&(b=(h?h.$:document).createElement(b));CKEDITOR.dom.domObject.call(this, -b)};CKEDITOR.dom.element.get=function(b){return(b="string"==typeof b?document.getElementById(b)||document.getElementsByName(b)[0]:b)&&(b.$?b:new CKEDITOR.dom.element(b))};CKEDITOR.dom.element.prototype=new CKEDITOR.dom.node;CKEDITOR.dom.element.createFromHtml=function(b,h){var f=new CKEDITOR.dom.element("div",h);f.setHtml(b);return f.getFirst().remove()};CKEDITOR.dom.element.setMarker=function(b,h,f,a){var g=h.getCustomData("list_marker_id")||h.setCustomData("list_marker_id",CKEDITOR.tools.getNextNumber()).getCustomData("list_marker_id"), -m=h.getCustomData("list_marker_names")||h.setCustomData("list_marker_names",{}).getCustomData("list_marker_names");b[g]=h;m[f]=1;return h.setCustomData(f,a)};CKEDITOR.dom.element.clearAllMarkers=function(b){for(var h in b)CKEDITOR.dom.element.clearMarkers(b,b[h],1)};CKEDITOR.dom.element.clearMarkers=function(b,h,f){var a=h.getCustomData("list_marker_names"),g=h.getCustomData("list_marker_id"),m;for(m in a)h.removeCustomData(m);h.removeCustomData("list_marker_names");f&&(h.removeCustomData("list_marker_id"), -delete b[g])};(function(){function b(a,d){return-1<(" "+a+" ").replace(m," ").indexOf(" "+d+" ")}function h(a){var d=!0;a.$.id||(a.$.id="cke_tmp_"+CKEDITOR.tools.getNextNumber(),d=!1);return function(){d||a.removeAttribute("id")}}function f(a,d){var e=CKEDITOR.tools.escapeCss(a.$.id);return"#"+e+" "+d.split(/,\s*/).join(", #"+e+" ")}function a(a){for(var d=0,e=0,c=k[a].length;eCKEDITOR.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&&a.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.rtrim(a.getText());)a=a.getPrevious();a&&a.is&&a.is("br")||(a=this.getDocument().createElement("br"),CKEDITOR.env.gecko&&a.setAttribute("type","_moz"),this.append(a))}},breakParent:function(a,d){var e=new CKEDITOR.dom.range(this.getDocument());e.setStartAfter(this);e.setEndAfter(a); -var c=e.extractContents(!1,d||!1),b;e.insertNode(this.remove());if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){for(e=new CKEDITOR.dom.element("div");b=c.getFirst();)b.$.style.backgroundColor&&(b.$.style.backgroundColor=b.$.style.backgroundColor),e.append(b);e.insertAfter(this);e.remove(!0)}else c.insertAfterNode(this)},contains:document.compareDocumentPosition?function(a){return!!(this.$.compareDocumentPosition(a.$)&16)}:function(a){var d=this.$;return a.type!=CKEDITOR.NODE_ELEMENT?d.contains(a.getParent().$): +this.$.text&&CKEDITOR.env.ie&&9>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&&a.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.rtrim(a.getText());)a=a.getPrevious();a&&a.is&&a.is("br")||(a=this.getDocument().createElement("br"),CKEDITOR.env.gecko&&a.setAttribute("type","_moz"),this.append(a))}},breakParent:function(a,d){var f=new CKEDITOR.dom.range(this.getDocument());f.setStartAfter(this);f.setEndAfter(a); +var c=f.extractContents(!1,d||!1),e;f.insertNode(this.remove());if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){for(f=new CKEDITOR.dom.element("div");e=c.getFirst();)e.$.style.backgroundColor&&(e.$.style.backgroundColor=e.$.style.backgroundColor),f.append(e);f.insertAfter(this);f.remove(!0)}else c.insertAfterNode(this)},contains:document.compareDocumentPosition?function(a){return!!(this.$.compareDocumentPosition(a.$)&16)}:function(a){var d=this.$;return a.type!=CKEDITOR.NODE_ELEMENT?d.contains(a.getParent().$): d!=a.$&&d.contains(a.$)},focus:function(){function a(){try{this.$.focus()}catch(d){}}return function(d){d?CKEDITOR.tools.setTimeout(a,100,this):a.call(this)}}(),getHtml:function(){var a=this.$.innerHTML;return CKEDITOR.env.ie?a.replace(/<\?[^>]*>/g,""):a},getOuterHtml:function(){if(this.$.outerHTML)return this.$.outerHTML.replace(/<\?[^>]*>/,"");var a=this.$.ownerDocument.createElement("div");a.appendChild(this.$.cloneNode(!0));return a.innerHTML},getClientRect:function(a){var d=CKEDITOR.tools.extend({}, -this.$.getBoundingClientRect());!d.width&&(d.width=d.right-d.left);!d.height&&(d.height=d.bottom-d.top);return a?CKEDITOR.tools.getAbsoluteRectPosition(this.getWindow(),d):d},setHtml:CKEDITOR.env.ie&&9>CKEDITOR.env.version?function(a){try{var d=this.$;if(this.getParent())return d.innerHTML=a;var e=this.getDocument()._getHtml5ShivFrag();e.appendChild(d);d.innerHTML=a;e.removeChild(d);return a}catch(c){this.$.innerHTML="";d=new CKEDITOR.dom.element("body",this.getDocument());d.$.innerHTML=a;for(d=d.getChildren();d.count();)this.append(d.getItem(0)); +this.$.getBoundingClientRect());!d.width&&(d.width=d.right-d.left);!d.height&&(d.height=d.bottom-d.top);return a?CKEDITOR.tools.getAbsoluteRectPosition(this.getWindow(),d):d},setHtml:CKEDITOR.env.ie&&9>CKEDITOR.env.version?function(a){try{var d=this.$;if(this.getParent())return d.innerHTML=a;var f=this.getDocument()._getHtml5ShivFrag();f.appendChild(d);d.innerHTML=a;f.removeChild(d);return a}catch(c){this.$.innerHTML="";d=new CKEDITOR.dom.element("body",this.getDocument());d.$.innerHTML=a;for(d=d.getChildren();d.count();)this.append(d.getItem(0)); return a}}:function(a){return this.$.innerHTML=a},setText:function(){var a=document.createElement("p");a.innerHTML="x";a=a.textContent;return function(d){this.$[a?"textContent":"innerText"]=d}}(),getAttribute:function(){var a=function(d){return this.$.getAttribute(d,2)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(d){switch(d){case "class":d="className";break;case "http-equiv":d="httpEquiv";break;case "name":return this.$.name;case "tabindex":return d=this.$.getAttribute(d, -2),0!==d&&0===this.$.tabIndex&&(d=null),d;case "checked":return d=this.$.attributes.getNamedItem(d),(d.specified?d.nodeValue:this.$.checked)?"checked":null;case "hspace":case "value":return this.$[d];case "style":return this.$.style.cssText;case "contenteditable":case "contentEditable":return this.$.attributes.getNamedItem("contentEditable").specified?this.$.getAttribute("contentEditable"):null}return this.$.getAttribute(d,2)}:a}(),getAttributes:function(a){var d={},e=this.$.attributes,c;a=CKEDITOR.tools.isArray(a)? -a:[];for(c=0;c=document.documentMode){var d=this.$.scopeName;"HTML"!=d&&(a=d.toLowerCase()+":"+a)}this.getName=function(){return a};return this.getName()},getValue:function(){return this.$.value},getFirst:function(a){var d=this.$.firstChild;(d=d&&new CKEDITOR.dom.node(d))&&a&&!a(d)&&(d=d.getNext(a));return d},getLast:function(a){var d=this.$.lastChild;(d=d&&new CKEDITOR.dom.node(d))&&a&&!a(d)&&(d=d.getPrevious(a));return d},getStyle:function(a){return this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]}, is:function(){var a=this.getName();if("object"==typeof arguments[0])return!!arguments[0][a];for(var d=0;dCKEDITOR.env.version&&this.is("a")){var e=this.getParent();e.type==CKEDITOR.NODE_ELEMENT&&(e=e.clone(),e.setHtml(d),d=e.getHtml(),e.setHtml(a),a=e.getHtml())}return d==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&&"hidden"!=this.getComputedStyle("visibility"),d,e;a&&CKEDITOR.env.webkit&&(d=this.getWindow(),!d.equals(CKEDITOR.document.getWindow())&&(e=d.$.frameElement)&&(a=(new CKEDITOR.dom.element(e)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1; -for(var a=this.getChildren(),d=0,e=a.count();dCKEDITOR.env.version?function(d){return"name"==d?!!this.$.name:a.call(this,d)}:a:function(d){return!!this.$.attributes.getNamedItem(d)}}(),hide:function(){this.setStyle("display","none")},moveChildren:function(a,d){var e=this.$;a=a.$;if(e!=a){var c;if(d)for(;c=e.lastChild;)a.insertBefore(e.removeChild(c),a.firstChild);else for(;c=e.firstChild;)a.appendChild(e.removeChild(c))}},mergeSiblings:function(){function a(d,e,c){if(e&&e.type==CKEDITOR.NODE_ELEMENT){for(var b= -[];e.data("cke-bookmark")||e.isEmptyInlineRemoveable();)if(b.push(e),e=c?e.getNext():e.getPrevious(),!e||e.type!=CKEDITOR.NODE_ELEMENT)return;if(d.isIdentical(e)){for(var g=c?d.getLast():d.getFirst();b.length;)b.shift().move(d,!c);e.moveChildren(d,!c);e.remove();g&&g.type==CKEDITOR.NODE_ELEMENT&&g.mergeSiblings()}}}return function(d){if(!1===d||CKEDITOR.dtd.$removeEmpty[this.getName()]||this.is("a"))a(this,this.getNext(),!0),a(this,this.getPrevious())}}(),show:function(){this.setStyles({display:"", -visibility:""})},setAttribute:function(){var a=function(a,e){this.$.setAttribute(a,e);return this};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(d,e){"class"==d?this.$.className=e:"style"==d?this.$.style.cssText=e:"tabindex"==d?this.$.tabIndex=e:"checked"==d?this.$.checked=e:"contenteditable"==d?a.call(this,"contentEditable",e):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&&CKEDITOR.env.secure?function(d,e){if("src"==d&&e.match(/^http:\/\//))try{a.apply(this, +a.getOuterHtml();if(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&this.is("a")){var f=this.getParent();f.type==CKEDITOR.NODE_ELEMENT&&(f=f.clone(),f.setHtml(d),d=f.getHtml(),f.setHtml(a),a=f.getHtml())}return d==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&&"hidden"!=this.getComputedStyle("visibility"),d,f;a&&CKEDITOR.env.webkit&&(d=this.getWindow(),!d.equals(CKEDITOR.document.getWindow())&&(f=d.$.frameElement)&&(a=(new CKEDITOR.dom.element(f)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1; +for(var a=this.getChildren(),d=0,f=a.count();dCKEDITOR.env.version?function(d){return"name"==d?!!this.$.name:a.call(this,d)}:a:function(a){return!!this.$.attributes.getNamedItem(a)}}(),hide:function(){this.setStyle("display","none")},moveChildren:function(a,d){var f=this.$;a=a.$;if(f!=a){var c;if(d)for(;c=f.lastChild;)a.insertBefore(f.removeChild(c),a.firstChild);else for(;c=f.firstChild;)a.appendChild(f.removeChild(c))}},mergeSiblings:function(){function a(d,f,c){if(f&&f.type==CKEDITOR.NODE_ELEMENT){for(var e= +[];f.data("cke-bookmark")||f.isEmptyInlineRemoveable();)if(e.push(f),f=c?f.getNext():f.getPrevious(),!f||f.type!=CKEDITOR.NODE_ELEMENT)return;if(d.isIdentical(f)){for(var b=c?d.getLast():d.getFirst();e.length;)e.shift().move(d,!c);f.moveChildren(d,!c);f.remove();b&&b.type==CKEDITOR.NODE_ELEMENT&&b.mergeSiblings()}}}return function(d){if(!1===d||CKEDITOR.dtd.$removeEmpty[this.getName()]||this.is("a"))a(this,this.getNext(),!0),a(this,this.getPrevious())}}(),show:function(){this.setStyles({display:"", +visibility:""})},setAttribute:function(){var a=function(a,f){this.$.setAttribute(a,f);return this};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(d,f){"class"==d?this.$.className=f:"style"==d?this.$.style.cssText=f:"tabindex"==d?this.$.tabIndex=f:"checked"==d?this.$.checked=f:"contenteditable"==d?a.call(this,"contentEditable",f):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&&CKEDITOR.env.secure?function(d,f){if("src"==d&&f.match(/^http:\/\//))try{a.apply(this, arguments)}catch(c){}else a.apply(this,arguments);return this}:a}(),setAttributes:function(a){for(var d in a)this.setAttribute(d,a[d]);return this},setValue:function(a){this.$.value=a;return this},removeAttribute:function(){var a=function(a){this.$.removeAttribute(a)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){"class"==a?a="className":"tabindex"==a?a="tabIndex":"contenteditable"==a&&(a="contentEditable");this.$.removeAttribute(a)}:a}(),removeAttributes:function(a){if(CKEDITOR.tools.isArray(a))for(var d= -0;dCKEDITOR.env.version?(a=Math.round(100*a),this.setStyle("filter",100<=a?"":"progid:DXImageTransform.Microsoft.Alpha(opacity\x3d"+a+")")):this.setStyle("opacity",a)},unselectable:function(){this.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select", -"none"));if(CKEDITOR.env.ie){this.setAttribute("unselectable","on");for(var a,d=this.getElementsByTag("*"),e=0,c=d.count();ef||0f?f:b);e&&(0>g||0g?g:c,0)},setState:function(a,d,e){d=d||"cke";switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(d+"_on");this.removeClass(d+ -"_off");this.removeClass(d+"_disabled");e&&this.setAttribute("aria-pressed",!0);e&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(d+"_disabled");this.removeClass(d+"_off");this.removeClass(d+"_on");e&&this.setAttribute("aria-disabled",!0);e&&this.removeAttribute("aria-pressed");break;default:this.addClass(d+"_off"),this.removeClass(d+"_on"),this.removeClass(d+"_disabled"),e&&this.removeAttribute("aria-pressed"),e&&this.removeAttribute("aria-disabled")}}, -getFrameDocument:function(){var a=this.$;try{a.contentWindow.document}catch(d){a.src=a.src}return a&&new CKEDITOR.dom.document(a.contentWindow.document)},copyAttributes:function(a,d){var e=this.$.attributes;d=d||{};for(var c=0;cCKEDITOR.env.version){var b=c.ownerDocument.createEventObject(),g;for(g in d)b[g]=d[g];c.fireEvent(e, -b)}else c[c[a]?a:e](d)},isDetached:function(){var a=this.getDocument(),d=a.getDocumentElement();return d.equals(this)||d.contains(this)?!CKEDITOR.env.ie||8CKEDITOR.env.version?(a=Math.round(100*a),this.setStyle("filter",100<=a?"":"progid:DXImageTransform.Microsoft.Alpha(opacity\x3d"+a+")")):this.setStyle("opacity",a)},unselectable:function(){this.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select", +"none"));if(CKEDITOR.env.ie){this.setAttribute("unselectable","on");for(var a,d=this.getElementsByTag("*"),f=0,c=d.count();fg||0g?g:e);f&&(0>b||0b?b:c,0)},setState:function(a,d,f){d=d||"cke";switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(d+"_on");this.removeClass(d+ +"_off");this.removeClass(d+"_disabled");f&&this.setAttribute("aria-pressed",!0);f&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(d+"_disabled");this.removeClass(d+"_off");this.removeClass(d+"_on");f&&this.setAttribute("aria-disabled",!0);f&&this.removeAttribute("aria-pressed");break;default:this.addClass(d+"_off"),this.removeClass(d+"_on"),this.removeClass(d+"_disabled"),f&&this.removeAttribute("aria-pressed"),f&&this.removeAttribute("aria-disabled")}}, +getFrameDocument:function(){var a=this.$;try{a.contentWindow.document}catch(d){a.src=a.src}return a&&new CKEDITOR.dom.document(a.contentWindow.document)},copyAttributes:function(a,d){var f=this.$.attributes;d=d||{};for(var c=0;cCKEDITOR.env.version){var e=c.ownerDocument.createEventObject(),b;for(b in d)e[b]=d[b];c.fireEvent(f, +e)}else c[c[a]?a:f](d)},isDetached:function(){var a=this.getDocument(),d=a.getDocumentElement();return d.equals(this)||d.contains(this)?!CKEDITOR.env.ie||8=x.getChildCount()?(x=x.getChild(C-1),E=!0):x=x.getChild(C):H=E=!0;w.type== -CKEDITOR.NODE_TEXT?m?D=!0:w.split(B):0ga)for(;Z;)Z=g(Z,N,!0);N=Y}m||h()}}function f(){var c=!1,a=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!0),e=CKEDITOR.dom.walker.bogus();return function(b){return d(b)||a(b)?!0:e(b)&&!c?c=!0:b.type==CKEDITOR.NODE_TEXT&&(b.hasAscendant("pre")||CKEDITOR.tools.trim(b.getText()).length)||b.type==CKEDITOR.NODE_ELEMENT&&!b.is(m)?!1:!0}}function a(c){var a=CKEDITOR.dom.walker.whitespaces(), -d=CKEDITOR.dom.walker.bookmark(1);return function(e){return d(e)||a(e)?!0:!c&&k(e)||e.type==CKEDITOR.NODE_ELEMENT&&e.is(CKEDITOR.dtd.$removeEmpty)}}function g(c){return function(){var a;return this[c?"getPreviousNode":"getNextNode"](function(c){!a&&e(c)&&(a=c);return d(c)&&!(k(c)&&c.equals(a))})}}var m={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,"var":1},k=CKEDITOR.dom.walker.bogus(), -l=/^[\t\r\n ]*(?: |\xa0)$/,d=CKEDITOR.dom.walker.editable(),e=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var c=new CKEDITOR.dom.range(this.root);c._setStartContainer(this.startContainer);c.startOffset=this.startOffset;c._setEndContainer(this.endContainer);c.endOffset=this.endOffset;c.collapsed=this.collapsed;return c},collapse:function(c){c?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer), +CKEDITOR.dom.document.prototype,!0,{find:1,findOne:1});(function(){function b(c,a){var d=this.range;if(this._.end)return null;if(!this._.start){this._.start=1;if(d.collapsed)return this.end(),null;d.optimize()}var f,e=d.startContainer;f=d.endContainer;var b=d.startOffset,g=d.endOffset,n,k=this.guard,h=this.type,l=c?"getPreviousSourceNode":"getNextSourceNode";if(!c&&!this._.guardLTR){var m=f.type==CKEDITOR.NODE_ELEMENT?f:f.getParent(),C=f.type==CKEDITOR.NODE_ELEMENT?f.getChild(g):f.getNext();this._.guardLTR= +function(c,a){return(!a||!m.equals(c))&&(!C||!c.equals(C))&&(c.type!=CKEDITOR.NODE_ELEMENT||!a||!c.equals(d.root))}}if(c&&!this._.guardRTL){var F=e.type==CKEDITOR.NODE_ELEMENT?e:e.getParent(),G=e.type==CKEDITOR.NODE_ELEMENT?b?e.getChild(b-1):null:e.getPrevious();this._.guardRTL=function(c,a){return(!a||!F.equals(c))&&(!G||!c.equals(G))&&(c.type!=CKEDITOR.NODE_ELEMENT||!a||!c.equals(d.root))}}var I=c?this._.guardRTL:this._.guardLTR;n=k?function(c,a){return!1===I(c,a)?!1:k(c,a)}:I;this.current?f=this.current[l](!1, +h,n):(c?f.type==CKEDITOR.NODE_ELEMENT&&(f=0=y.getChildCount()?(y=y.getChild(C-1),G=!0):y=y.getChild(C):H=G=!0;w.type== +CKEDITOR.NODE_TEXT?m?D=!0:w.split(B):0ha)for(;Y;)Y=b(Y,N,!0);N=X}m||k()}}function g(){var c=!1,a=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!0),f=CKEDITOR.dom.walker.bogus();return function(e){return d(e)||a(e)?!0:f(e)&&!c?c=!0:e.type==CKEDITOR.NODE_TEXT&&(e.hasAscendant("pre")||CKEDITOR.tools.trim(e.getText()).length)||e.type==CKEDITOR.NODE_ELEMENT&&!e.is(m)?!1:!0}}function e(c){var a=CKEDITOR.dom.walker.whitespaces(), +d=CKEDITOR.dom.walker.bookmark(1);return function(f){return d(f)||a(f)?!0:!c&&k(f)||f.type==CKEDITOR.NODE_ELEMENT&&f.is(CKEDITOR.dtd.$removeEmpty)}}function a(c){return function(){var a;return this[c?"getPreviousNode":"getNextNode"](function(c){!a&&f(c)&&(a=c);return d(c)&&!(k(c)&&c.equals(a))})}}var m={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,"var":1},k=CKEDITOR.dom.walker.bogus(), +l=/^[\t\r\n ]*(?: |\xa0)$/,d=CKEDITOR.dom.walker.editable(),f=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var c=new CKEDITOR.dom.range(this.root);c._setStartContainer(this.startContainer);c.startOffset=this.startOffset;c._setEndContainer(this.endContainer);c.endOffset=this.endOffset;c.collapsed=this.collapsed;return c},collapse:function(c){c?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer), this.startOffset=this.endOffset);this.collapsed=!0},cloneContents:function(c){var a=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,2,a,!1,"undefined"==typeof c?!0:c);return a},deleteContents:function(c){this.collapsed||h(this,0,null,c)},extractContents:function(c,a){var d=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,1,d,c,"undefined"==typeof a?!0:a);return d},equals:function(c){return this.startOffset===c.startOffset&&this.endOffset===c.endOffset&& -this.startContainer.equals(c.startContainer)&&this.endContainer.equals(c.endContainer)},createBookmark:function(c){function a(c){return c.getAscendant(function(c){var a;if(a=c.data&&c.data("cke-temp"))a=-1===CKEDITOR.tools.array.indexOf(["cke_copybin","cke_pastebin"],c.getAttribute("id"));return a},!0)}var d=this.startContainer,e=this.endContainer,b=this.collapsed,g,f,h,k;g=this.document.createElement("span");g.data("cke-bookmark",1);g.setStyle("display","none");g.setHtml("\x26nbsp;");c&&(h="cke_bm_"+ -CKEDITOR.tools.getNextNumber(),g.setAttribute("id",h+(b?"C":"S")));b||(f=g.clone(),f.setHtml("\x26nbsp;"),c&&f.setAttribute("id",h+"E"),k=this.clone(),a(e)&&(e=a(e),k.moveToPosition(e,CKEDITOR.POSITION_AFTER_END)),k.collapse(),k.insertNode(f));k=this.clone();a(d)&&(e=a(d),k.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START));k.collapse(!0);k.insertNode(g);f?(this.setStartAfter(g),this.setEndBefore(f)):this.moveToPosition(g,CKEDITOR.POSITION_AFTER_END);return{startNode:c?h+(b?"C":"S"):g,endNode:c?h+ -"E":f,serializable:c,collapsed:b}},createBookmark2:function(){function c(c){var a=c.container,e=c.offset,b;b=a;var g=e;b=b.type!=CKEDITOR.NODE_ELEMENT||0===g||g==b.getChildCount()?0:b.getChild(g-1).type==CKEDITOR.NODE_TEXT&&b.getChild(g).type==CKEDITOR.NODE_TEXT;b&&(a=a.getChild(e-1),e=a.getLength());if(a.type==CKEDITOR.NODE_ELEMENT&&0=c.offset&&(c.offset=b.getIndex(),c.container=b.getParent()))}}var d=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT, -!0);return function(d){var e=this.collapsed,b={container:this.startContainer,offset:this.startOffset},g={container:this.endContainer,offset:this.endOffset};d&&(c(b),a(b,this.root),e||(c(g),a(g,this.root)));return{start:b.container.getAddress(d),end:e?null:g.container.getAddress(d),startOffset:b.offset,endOffset:g.offset,normalized:d,collapsed:e,is2:!0}}}(),moveToBookmark:function(c){if(c.is2){var a=this.document.getByAddress(c.start,c.normalized),d=c.startOffset,e=c.end&&this.document.getByAddress(c.end, -c.normalized);c=c.endOffset;this.setStart(a,d);e?this.setEnd(e,c):this.collapse(!0)}else a=(d=c.serializable)?this.document.getById(c.startNode):c.startNode,c=d?this.document.getById(c.endNode):c.endNode,this.setStartBefore(a),a.remove(),c?(this.setEndBefore(c),c.remove()):this.collapse(!0)},getBoundaryNodes:function(){var c=this.startContainer,a=this.endContainer,d=this.startOffset,e=this.endOffset,b;if(c.type==CKEDITOR.NODE_ELEMENT)if(b=c.getChildCount(),b>d)c=c.getChild(d);else if(1>b)c=c.getPreviousSourceNode(); -else{for(c=c.$;c.lastChild;)c=c.lastChild;c=new CKEDITOR.dom.node(c);c=c.getNextSourceNode()||c}if(a.type==CKEDITOR.NODE_ELEMENT)if(b=a.getChildCount(),b>e)a=a.getChild(e).getPreviousSourceNode(!0);else if(1>b)a=a.getPreviousSourceNode();else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a)}c.getPosition(a)&CKEDITOR.POSITION_FOLLOWING&&(c=a);return{startNode:c,endNode:a}},getCommonAncestor:function(c,a){var d=this.startContainer,e=this.endContainer,d=d.equals(e)?c&&d.type==CKEDITOR.NODE_ELEMENT&& -this.startOffset==this.endOffset-1?d.getChild(this.startOffset):d:d.getCommonAncestor(e);return a&&!d.is?d.getParent():d},optimize:function(){var c=this.startContainer,a=this.startOffset;c.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=c.getLength()&&this.setStartAfter(c):this.setStartBefore(c));c=this.endContainer;a=this.endOffset;c.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=c.getLength()&&this.setEndAfter(c):this.setEndBefore(c))},optimizeBookmark:function(){var c=this.startContainer,a=this.endContainer;c.is&&c.is("span")&& -c.data("cke-bookmark")&&this.setStartAt(c,CKEDITOR.POSITION_BEFORE_START);a&&a.is&&a.is("span")&&a.data("cke-bookmark")&&this.setEndAt(a,CKEDITOR.POSITION_AFTER_END)},trim:function(c,a){var d=this.startContainer,e=this.startOffset,b=this.collapsed;if((!c||b)&&d&&d.type==CKEDITOR.NODE_TEXT){if(e)if(e>=d.getLength())e=d.getIndex()+1,d=d.getParent();else{var g=d.split(e),e=d.getIndex()+1,d=d.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(g,this.endOffset-this.startOffset):d.equals(this.endContainer)&& -(this.endOffset+=1)}else e=d.getIndex(),d=d.getParent();this.setStart(d,e);if(b){this.collapse(!0);return}}d=this.endContainer;e=this.endOffset;a||b||!d||d.type!=CKEDITOR.NODE_TEXT||(e?(e>=d.getLength()||d.split(e),e=d.getIndex()+1):e=d.getIndex(),d=d.getParent(),this.setEnd(d,e))},enlarge:function(c,a){function d(c){return c&&c.type==CKEDITOR.NODE_ELEMENT&&c.hasAttribute("contenteditable")?null:c}var e=new RegExp(/[^\s\ufeff]/);switch(c){case CKEDITOR.ENLARGE_INLINE:var b=1;case CKEDITOR.ENLARGE_ELEMENT:var g= -function(c,a){var d=new CKEDITOR.dom.range(k);d.setStart(c,a);d.setEndAt(k,CKEDITOR.POSITION_BEFORE_END);var d=new CKEDITOR.dom.walker(d),b;for(d.guard=function(c){return!(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary())};b=d.next();){if(b.type!=CKEDITOR.NODE_TEXT)return!1;G=b!=c?b.getText():b.substring(a);if(e.test(G))return!1}return!0};if(this.collapsed)break;var f=this.getCommonAncestor(),k=this.root,h,l,m,w,x,B=!1,C,G;C=this.startContainer;var E=this.startOffset;C.type==CKEDITOR.NODE_TEXT? -(E&&(C=!CKEDITOR.tools.trim(C.substring(0,E)).length&&C,B=!!C),C&&((w=C.getPrevious())||(m=C.getParent()))):(E&&(w=C.getChild(E-1)||C.getLast()),w||(m=C));for(m=d(m);m||w;){if(m&&!w){!x&&m.equals(f)&&(x=!0);if(b?m.isBlockBoundary():!k.contains(m))break;B&&"inline"==m.getComputedStyle("display")||(B=!1,x?h=m:this.setStartBefore(m));w=m.getPrevious()}for(;w;)if(C=!1,w.type==CKEDITOR.NODE_COMMENT)w=w.getPrevious();else{if(w.type==CKEDITOR.NODE_TEXT)G=w.getText(),e.test(G)&&(w=null),C=/[\s\ufeff]$/.test(G); -else if((w.$.offsetWidth>(CKEDITOR.env.webkit?1:0)||a&&w.is("br"))&&!w.data("cke-bookmark"))if(B&&CKEDITOR.dtd.$removeEmpty[w.getName()]){G=w.getText();if(e.test(G))w=null;else for(var E=w.$.getElementsByTagName("*"),J=0,H;H=E[J++];)if(!CKEDITOR.dtd.$removeEmpty[H.nodeName.toLowerCase()]){w=null;break}w&&(C=!!G.length)}else w=null;C&&(B?x?h=m:m&&this.setStartBefore(m):B=!0);if(w){C=w.getPrevious();if(!m&&!C){m=w;w=null;break}w=C}else m=null}m&&(m=d(m.getParent()))}C=this.endContainer;E=this.endOffset; -m=w=null;x=B=!1;C.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(C.substring(E)).length?B=!0:(B=!C.getLength(),E==C.getLength()?(w=C.getNext())||(m=C.getParent()):g(C,E)&&(m=C.getParent())):(w=C.getChild(E))||(m=C);for(;m||w;){if(m&&!w){!x&&m.equals(f)&&(x=!0);if(b?m.isBlockBoundary():!k.contains(m))break;B&&"inline"==m.getComputedStyle("display")||(B=!1,x?l=m:m&&this.setEndAfter(m));w=m.getNext()}for(;w;){C=!1;if(w.type==CKEDITOR.NODE_TEXT)G=w.getText(),g(w,0)||(w=null),C=/^[\s\ufeff]/.test(G);else if(w.type== -CKEDITOR.NODE_ELEMENT){if((0=f.getLength()?g.setStartAfter(f):(g.setStartBefore(f),d=0):g.setStartBefore(f));k&&k.type==CKEDITOR.NODE_TEXT&&(m?m>=k.getLength()?g.setEndAfter(k):(g.setEndAfter(k),l=0):g.setEndBefore(k));var g=new CKEDITOR.dom.walker(g),w=CKEDITOR.dom.walker.bookmark(),x=CKEDITOR.dom.walker.bogus();g.evaluator= -function(a){return a.type==(c==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var B;g.guard=function(a,d){if(b&&x(a)||w(a))return!0;if(c==CKEDITOR.SHRINK_ELEMENT&&a.type==CKEDITOR.NODE_TEXT||d&&a.equals(B)||!1===e&&a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary()||a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable"))return!1;d||a.type!=CKEDITOR.NODE_ELEMENT||(B=a);return!0};d&&(f=g[c==CKEDITOR.SHRINK_ELEMENT?"lastForward":"next"]())&&this.setStartAt(f,a?CKEDITOR.POSITION_AFTER_START: -CKEDITOR.POSITION_BEFORE_START);l&&(g.reset(),(g=g[c==CKEDITOR.SHRINK_ELEMENT?"lastBackward":"previous"]())&&this.setEndAt(g,a?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));return!(!d&&!l)}},insertNode:function(c){this.optimizeBookmark();this.trim(!1,!0);var a=this.startContainer,d=a.getChild(this.startOffset);d?c.insertBefore(d):a.append(c);c.getParent()&&c.getParent().equals(this.endContainer)&&this.endOffset++;this.setStartBefore(c)},moveToPosition:function(c,a){this.setStartAt(c, +this.startContainer.equals(c.startContainer)&&this.endContainer.equals(c.endContainer)},createBookmark:function(c){function a(c){return c.getAscendant(function(c){var a;if(a=c.data&&c.data("cke-temp"))a=-1===CKEDITOR.tools.array.indexOf(["cke_copybin","cke_pastebin"],c.getAttribute("id"));return a},!0)}var d=this.startContainer,f=this.endContainer,e=this.collapsed,b,g,k,h;b=this.document.createElement("span");b.data("cke-bookmark",1);b.setStyle("display","none");b.setHtml("\x26nbsp;");c&&(k="cke_bm_"+ +CKEDITOR.tools.getNextNumber(),b.setAttribute("id",k+(e?"C":"S")));e||(g=b.clone(),g.setHtml("\x26nbsp;"),c&&g.setAttribute("id",k+"E"),h=this.clone(),a(f)&&(f=a(f),h.moveToPosition(f,CKEDITOR.POSITION_AFTER_END)),h.collapse(),h.insertNode(g));h=this.clone();a(d)&&(f=a(d),h.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START));h.collapse(!0);h.insertNode(b);g?(this.setStartAfter(b),this.setEndBefore(g)):this.moveToPosition(b,CKEDITOR.POSITION_AFTER_END);return{startNode:c?k+(e?"C":"S"):b,endNode:c?k+ +"E":g,serializable:c,collapsed:e}},createBookmark2:function(){function c(c){var a=c.container,f=c.offset,e;e=a;var b=f;e=e.type!=CKEDITOR.NODE_ELEMENT||0===b||b==e.getChildCount()?0:e.getChild(b-1).type==CKEDITOR.NODE_TEXT&&e.getChild(b).type==CKEDITOR.NODE_TEXT;e&&(a=a.getChild(f-1),f=a.getLength());if(a.type==CKEDITOR.NODE_ELEMENT&&0=c.offset&&(c.offset=e.getIndex(),c.container=e.getParent()))}}var d=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT, +!0);return function(d){var f=this.collapsed,e={container:this.startContainer,offset:this.startOffset},b={container:this.endContainer,offset:this.endOffset};d&&(c(e),a(e,this.root),f||(c(b),a(b,this.root)));return{start:e.container.getAddress(d),end:f?null:b.container.getAddress(d),startOffset:e.offset,endOffset:b.offset,normalized:d,collapsed:f,is2:!0}}}(),moveToBookmark:function(c){if(c.is2){var a=this.document.getByAddress(c.start,c.normalized),d=c.startOffset,f=c.end&&this.document.getByAddress(c.end, +c.normalized);c=c.endOffset;this.setStart(a,d);f?this.setEnd(f,c):this.collapse(!0)}else a=(d=c.serializable)?this.document.getById(c.startNode):c.startNode,c=d?this.document.getById(c.endNode):c.endNode,this.setStartBefore(a),a.remove(),c?(this.setEndBefore(c),c.remove()):this.collapse(!0)},getBoundaryNodes:function(){var c=this.startContainer,a=this.endContainer,d=this.startOffset,f=this.endOffset,e;if(c.type==CKEDITOR.NODE_ELEMENT)if(e=c.getChildCount(),e>d)c=c.getChild(d);else if(1>e)c=c.getPreviousSourceNode(); +else{for(c=c.$;c.lastChild;)c=c.lastChild;c=new CKEDITOR.dom.node(c);c=c.getNextSourceNode()||c}if(a.type==CKEDITOR.NODE_ELEMENT)if(e=a.getChildCount(),e>f)a=a.getChild(f).getPreviousSourceNode(!0);else if(1>e)a=a.getPreviousSourceNode();else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a)}c.getPosition(a)&CKEDITOR.POSITION_FOLLOWING&&(c=a);return{startNode:c,endNode:a}},getCommonAncestor:function(c,a){var d=this.startContainer,f=this.endContainer,d=d.equals(f)?c&&d.type==CKEDITOR.NODE_ELEMENT&& +this.startOffset==this.endOffset-1?d.getChild(this.startOffset):d:d.getCommonAncestor(f);return a&&!d.is?d.getParent():d},optimize:function(){var c=this.startContainer,a=this.startOffset;c.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=c.getLength()&&this.setStartAfter(c):this.setStartBefore(c));c=this.endContainer;a=this.endOffset;c.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=c.getLength()&&this.setEndAfter(c):this.setEndBefore(c))},optimizeBookmark:function(){var c=this.startContainer,a=this.endContainer;c.is&&c.is("span")&& +c.data("cke-bookmark")&&this.setStartAt(c,CKEDITOR.POSITION_BEFORE_START);a&&a.is&&a.is("span")&&a.data("cke-bookmark")&&this.setEndAt(a,CKEDITOR.POSITION_AFTER_END)},trim:function(c,a){var d=this.startContainer,f=this.startOffset,e=this.collapsed;if((!c||e)&&d&&d.type==CKEDITOR.NODE_TEXT){if(f)if(f>=d.getLength())f=d.getIndex()+1,d=d.getParent();else{var b=d.split(f),f=d.getIndex()+1,d=d.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(b,this.endOffset-this.startOffset):d.equals(this.endContainer)&& +(this.endOffset+=1)}else f=d.getIndex(),d=d.getParent();this.setStart(d,f);if(e){this.collapse(!0);return}}d=this.endContainer;f=this.endOffset;a||e||!d||d.type!=CKEDITOR.NODE_TEXT||(f?(f>=d.getLength()||d.split(f),f=d.getIndex()+1):f=d.getIndex(),d=d.getParent(),this.setEnd(d,f))},enlarge:function(c,a){function d(c){return c&&c.type==CKEDITOR.NODE_ELEMENT&&c.hasAttribute("contenteditable")?null:c}var f=new RegExp(/[^\s\ufeff]/);switch(c){case CKEDITOR.ENLARGE_INLINE:var e=1;case CKEDITOR.ENLARGE_ELEMENT:var b= +function(c,a){var d=new CKEDITOR.dom.range(k);d.setStart(c,a);d.setEndAt(k,CKEDITOR.POSITION_BEFORE_END);var d=new CKEDITOR.dom.walker(d),e;for(d.guard=function(c){return!(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary())};e=d.next();){if(e.type!=CKEDITOR.NODE_TEXT)return!1;F=e!=c?e.getText():e.substring(a);if(f.test(F))return!1}return!0};if(this.collapsed)break;var g=this.getCommonAncestor(),k=this.root,h,l,m,w,y,B=!1,C,F;C=this.startContainer;var G=this.startOffset;C.type==CKEDITOR.NODE_TEXT? +(G&&(C=!CKEDITOR.tools.trim(C.substring(0,G)).length&&C,B=!!C),C&&((w=C.getPrevious())||(m=C.getParent()))):(G&&(w=C.getChild(G-1)||C.getLast()),w||(m=C));for(m=d(m);m||w;){if(m&&!w){!y&&m.equals(g)&&(y=!0);if(e?m.isBlockBoundary():!k.contains(m))break;B&&"inline"==m.getComputedStyle("display")||(B=!1,y?h=m:this.setStartBefore(m));w=m.getPrevious()}for(;w;)if(C=!1,w.type==CKEDITOR.NODE_COMMENT)w=w.getPrevious();else{if(w.type==CKEDITOR.NODE_TEXT)F=w.getText(),f.test(F)&&(w=null),C=/[\s\ufeff]$/.test(F); +else if((w.$.offsetWidth>(CKEDITOR.env.webkit?1:0)||a&&w.is("br"))&&!w.data("cke-bookmark"))if(B&&CKEDITOR.dtd.$removeEmpty[w.getName()]){F=w.getText();if(f.test(F))w=null;else for(var G=w.$.getElementsByTagName("*"),I=0,H;H=G[I++];)if(!CKEDITOR.dtd.$removeEmpty[H.nodeName.toLowerCase()]){w=null;break}w&&(C=!!F.length)}else w=null;C&&(B?y?h=m:m&&this.setStartBefore(m):B=!0);if(w){C=w.getPrevious();if(!m&&!C){m=w;w=null;break}w=C}else m=null}m&&(m=d(m.getParent()))}C=this.endContainer;G=this.endOffset; +m=w=null;y=B=!1;C.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(C.substring(G)).length?B=!0:(B=!C.getLength(),G==C.getLength()?(w=C.getNext())||(m=C.getParent()):b(C,G)&&(m=C.getParent())):(w=C.getChild(G))||(m=C);for(;m||w;){if(m&&!w){!y&&m.equals(g)&&(y=!0);if(e?m.isBlockBoundary():!k.contains(m))break;B&&"inline"==m.getComputedStyle("display")||(B=!1,y?l=m:m&&this.setEndAfter(m));w=m.getNext()}for(;w;){C=!1;if(w.type==CKEDITOR.NODE_TEXT)F=w.getText(),b(w,0)||(w=null),C=/^[\s\ufeff]/.test(F);else if(w.type== +CKEDITOR.NODE_ELEMENT){if((0=g.getLength()?b.setStartAfter(g):(b.setStartBefore(g),d=0):b.setStartBefore(g));k&&k.type==CKEDITOR.NODE_TEXT&&(l?l>=k.getLength()?b.setEndAfter(k):(b.setEndAfter(k),m=0):b.setEndBefore(k));var b=new CKEDITOR.dom.walker(b),w=CKEDITOR.dom.walker.bookmark(),y=CKEDITOR.dom.walker.bogus();b.evaluator= +function(a){return a.type==(c==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var B;b.guard=function(a,d){if(e&&y(a)||w(a))return!0;if(c==CKEDITOR.SHRINK_ELEMENT&&a.type==CKEDITOR.NODE_TEXT||d&&a.equals(B)||!1===f&&a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary()||a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable"))return!1;d||a.type!=CKEDITOR.NODE_ELEMENT||(B=a);return!0};d&&(g=b[c==CKEDITOR.SHRINK_ELEMENT?"lastForward":"next"]())&&this.setStartAt(g,a?CKEDITOR.POSITION_AFTER_START: +CKEDITOR.POSITION_BEFORE_START);m&&(b.reset(),(b=b[c==CKEDITOR.SHRINK_ELEMENT?"lastBackward":"previous"]())&&this.setEndAt(b,a?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));return!(!d&&!m)}},insertNode:function(c){this.optimizeBookmark();this.trim(!1,!0);var a=this.startContainer,d=a.getChild(this.startOffset);d?c.insertBefore(d):a.append(c);c.getParent()&&c.getParent().equals(this.endContainer)&&this.endOffset++;this.setStartBefore(c)},moveToPosition:function(c,a){this.setStartAt(c, a);this.collapse(!0)},moveToRange:function(c){this.setStart(c.startContainer,c.startOffset);this.setEnd(c.endContainer,c.endOffset)},selectNodeContents:function(c){this.setStart(c,0);this.setEnd(c,c.type==CKEDITOR.NODE_TEXT?c.getLength():c.getChildCount())},setStart:function(c,a){c.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[c.getName()]&&(a=c.getIndex(),c=c.getParent());this._setStartContainer(c);this.startOffset=a;this.endContainer||(this._setEndContainer(c),this.endOffset=a);b(this)},setEnd:function(c, a){c.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[c.getName()]&&(a=c.getIndex()+1,c=c.getParent());this._setEndContainer(c);this.endOffset=a;this.startContainer||(this._setStartContainer(c),this.startOffset=a);b(this)},setStartAfter:function(c){this.setStart(c.getParent(),c.getIndex()+1)},setStartBefore:function(c){this.setStart(c.getParent(),c.getIndex())},setEndAfter:function(c){this.setEnd(c.getParent(),c.getIndex()+1)},setEndBefore:function(c){this.setEnd(c.getParent(),c.getIndex())},setStartAt:function(c, a){switch(a){case CKEDITOR.POSITION_AFTER_START:this.setStart(c,0);break;case CKEDITOR.POSITION_BEFORE_END:c.type==CKEDITOR.NODE_TEXT?this.setStart(c,c.getLength()):this.setStart(c,c.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setStartBefore(c);break;case CKEDITOR.POSITION_AFTER_END:this.setStartAfter(c)}b(this)},setEndAt:function(c,a){switch(a){case CKEDITOR.POSITION_AFTER_START:this.setEnd(c,0);break;case CKEDITOR.POSITION_BEFORE_END:c.type==CKEDITOR.NODE_TEXT?this.setEnd(c, -c.getLength()):this.setEnd(c,c.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setEndBefore(c);break;case CKEDITOR.POSITION_AFTER_END:this.setEndAfter(c)}b(this)},fixBlock:function(c,a){var d=this.createBookmark(),e=this.document.createElement(a);this.collapse(c);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(e);e.trim();this.insertNode(e);var b=e.getBogus();b&&b.remove();e.appendBogus();this.moveToBookmark(d);return e},splitBlock:function(c,a){var d= -new CKEDITOR.dom.elementPath(this.startContainer,this.root),e=new CKEDITOR.dom.elementPath(this.endContainer,this.root),b=d.block,g=e.block,f=null;if(!d.blockLimit.equals(e.blockLimit))return null;"br"!=c&&(b||(b=this.fixBlock(!0,c),g=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),g||(g=this.fixBlock(!1,c)));d=b&&this.checkStartOfBlock();e=g&&this.checkEndOfBlock();this.deleteContents();b&&b.equals(g)&&(e?(f=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(g, -CKEDITOR.POSITION_AFTER_END),g=null):d?(f=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(b,CKEDITOR.POSITION_BEFORE_START),b=null):(g=this.splitElement(b,a||!1),b.is("ul","ol")||b.appendBogus()));return{previousBlock:b,nextBlock:g,wasStartOfBlock:d,wasEndOfBlock:e,elementPath:f}},splitElement:function(c,a){if(!this.collapsed)return null;this.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);var d=this.extractContents(!1,a||!1),e=c.clone(!1,a||!1);d.appendTo(e);e.insertAfter(c); -this.moveToPosition(c,CKEDITOR.POSITION_AFTER_END);return e},removeEmptyBlocksAtEnd:function(){function c(c){return function(e){return a(e)||d(e)||e.type==CKEDITOR.NODE_ELEMENT&&e.isEmptyInlineRemoveable()||c.is("table")&&e.is("caption")?!1:!0}}var a=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!1);return function(a){for(var d=this.createBookmark(),e=this[a?"endPath":"startPath"](),b=e.block||e.blockLimit,g;b&&!b.equals(e.root)&&!b.getFirst(c(b));)g=b.getParent(),this[a?"setEndAt": -"setStartAt"](b,CKEDITOR.POSITION_AFTER_END),b.remove(1),b=g;this.moveToBookmark(d)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},checkBoundaryOfElement:function(c,d){var e=d==CKEDITOR.START,b=this.clone();b.collapse(e);b[e?"setStartAt":"setEndAt"](c,e?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);b=new CKEDITOR.dom.walker(b);b.evaluator=a(e);return b[e? -"checkBackward":"checkForward"]()},checkStartOfBlock:function(){var c=this.startContainer,a=this.startOffset;CKEDITOR.env.ie&&a&&c.type==CKEDITOR.NODE_TEXT&&(c=CKEDITOR.tools.ltrim(c.substring(0,a)),l.test(c)&&this.trim(0,1));this.trim();c=new CKEDITOR.dom.elementPath(this.startContainer,this.root);a=this.clone();a.collapse(!0);a.setStartAt(c.block||c.blockLimit,CKEDITOR.POSITION_AFTER_START);c=new CKEDITOR.dom.walker(a);c.evaluator=f();return c.checkBackward()},checkEndOfBlock:function(){var c=this.endContainer, -a=this.endOffset;CKEDITOR.env.ie&&c.type==CKEDITOR.NODE_TEXT&&(c=CKEDITOR.tools.rtrim(c.substring(a)),l.test(c)&&this.trim(1,0));this.trim();c=new CKEDITOR.dom.elementPath(this.endContainer,this.root);a=this.clone();a.collapse(!1);a.setEndAt(c.block||c.blockLimit,CKEDITOR.POSITION_BEFORE_END);c=new CKEDITOR.dom.walker(a);c.evaluator=f();return c.checkForward()},getPreviousNode:function(c,a,d){var e=this.clone();e.collapse(1);e.setStartAt(d||this.root,CKEDITOR.POSITION_AFTER_START);d=new CKEDITOR.dom.walker(e); -d.evaluator=c;d.guard=a;return d.previous()},getNextNode:function(c,a,d){var e=this.clone();e.collapse();e.setEndAt(d||this.root,CKEDITOR.POSITION_BEFORE_END);d=new CKEDITOR.dom.walker(e);d.evaluator=c;d.guard=a;return d.next()},checkReadOnly:function(){function c(c,a){for(;c;){if(c.type==CKEDITOR.NODE_ELEMENT){if("false"==c.getAttribute("contentEditable")&&!c.data("cke-editable"))return 0;if(c.is("html")||"true"==c.getAttribute("contentEditable")&&(c.contains(a)||c.equals(a)))break}c=c.getParent()}return 1} +c.getLength()):this.setEnd(c,c.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setEndBefore(c);break;case CKEDITOR.POSITION_AFTER_END:this.setEndAfter(c)}b(this)},fixBlock:function(c,a){var d=this.createBookmark(),f=this.document.createElement(a);this.collapse(c);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(f);f.trim();this.insertNode(f);var e=f.getBogus();e&&e.remove();f.appendBogus();this.moveToBookmark(d);return f},splitBlock:function(c,a){var d= +new CKEDITOR.dom.elementPath(this.startContainer,this.root),f=new CKEDITOR.dom.elementPath(this.endContainer,this.root),e=d.block,b=f.block,g=null;if(!d.blockLimit.equals(f.blockLimit))return null;"br"!=c&&(e||(e=this.fixBlock(!0,c),b=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),b||(b=this.fixBlock(!1,c)));d=e&&this.checkStartOfBlock();f=b&&this.checkEndOfBlock();this.deleteContents();e&&e.equals(b)&&(f?(g=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(b, +CKEDITOR.POSITION_AFTER_END),b=null):d?(g=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START),e=null):(b=this.splitElement(e,a||!1),e.is("ul","ol")||e.appendBogus()));return{previousBlock:e,nextBlock:b,wasStartOfBlock:d,wasEndOfBlock:f,elementPath:g}},splitElement:function(c,a){if(!this.collapsed)return null;this.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);var d=this.extractContents(!1,a||!1),f=c.clone(!1,a||!1);d.appendTo(f);f.insertAfter(c); +this.moveToPosition(c,CKEDITOR.POSITION_AFTER_END);return f},removeEmptyBlocksAtEnd:function(){function c(c){return function(f){return a(f)||d(f)||f.type==CKEDITOR.NODE_ELEMENT&&f.isEmptyInlineRemoveable()||c.is("table")&&f.is("caption")?!1:!0}}var a=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!1);return function(a){for(var d=this.createBookmark(),f=this[a?"endPath":"startPath"](),e=f.block||f.blockLimit,b;e&&!e.equals(f.root)&&!e.getFirst(c(e));)b=e.getParent(),this[a?"setEndAt": +"setStartAt"](e,CKEDITOR.POSITION_AFTER_END),e.remove(1),e=b;this.moveToBookmark(d)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},checkBoundaryOfElement:function(c,a){var d=a==CKEDITOR.START,f=this.clone();f.collapse(d);f[d?"setStartAt":"setEndAt"](c,d?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);f=new CKEDITOR.dom.walker(f);f.evaluator=e(d);return f[d? +"checkBackward":"checkForward"]()},checkStartOfBlock:function(){var c=this.startContainer,a=this.startOffset;CKEDITOR.env.ie&&a&&c.type==CKEDITOR.NODE_TEXT&&(c=CKEDITOR.tools.ltrim(c.substring(0,a)),l.test(c)&&this.trim(0,1));this.trim();c=new CKEDITOR.dom.elementPath(this.startContainer,this.root);a=this.clone();a.collapse(!0);a.setStartAt(c.block||c.blockLimit,CKEDITOR.POSITION_AFTER_START);c=new CKEDITOR.dom.walker(a);c.evaluator=g();return c.checkBackward()},checkEndOfBlock:function(){var c=this.endContainer, +a=this.endOffset;CKEDITOR.env.ie&&c.type==CKEDITOR.NODE_TEXT&&(c=CKEDITOR.tools.rtrim(c.substring(a)),l.test(c)&&this.trim(1,0));this.trim();c=new CKEDITOR.dom.elementPath(this.endContainer,this.root);a=this.clone();a.collapse(!1);a.setEndAt(c.block||c.blockLimit,CKEDITOR.POSITION_BEFORE_END);c=new CKEDITOR.dom.walker(a);c.evaluator=g();return c.checkForward()},getPreviousNode:function(c,a,d){var f=this.clone();f.collapse(1);f.setStartAt(d||this.root,CKEDITOR.POSITION_AFTER_START);d=new CKEDITOR.dom.walker(f); +d.evaluator=c;d.guard=a;return d.previous()},getNextNode:function(c,a,d){var f=this.clone();f.collapse();f.setEndAt(d||this.root,CKEDITOR.POSITION_BEFORE_END);d=new CKEDITOR.dom.walker(f);d.evaluator=c;d.guard=a;return d.next()},checkReadOnly:function(){function c(c,a){for(;c;){if(c.type==CKEDITOR.NODE_ELEMENT){if("false"==c.getAttribute("contentEditable")&&!c.data("cke-editable"))return 0;if(c.is("html")||"true"==c.getAttribute("contentEditable")&&(c.contains(a)||c.equals(a)))break}c=c.getParent()}return 1} return function(){var a=this.startContainer,d=this.endContainer;return!(c(a,d)&&c(d,a))}}(),moveToElementEditablePosition:function(c,a){if(c.type==CKEDITOR.NODE_ELEMENT&&!c.isEditable(!1))return this.moveToPosition(c,a?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START),!0;for(var d=0;c;){if(c.type==CKEDITOR.NODE_TEXT){a&&this.endContainer&&this.checkEndOfBlock()&&l.test(c.getText())?this.moveToPosition(c,CKEDITOR.POSITION_BEFORE_START):this.moveToPosition(c,a?CKEDITOR.POSITION_AFTER_END: -CKEDITOR.POSITION_BEFORE_START);d=1;break}if(c.type==CKEDITOR.NODE_ELEMENT)if(c.isEditable())this.moveToPosition(c,a?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),d=1;else if(a&&c.is("br")&&this.endContainer&&this.checkEndOfBlock())this.moveToPosition(c,CKEDITOR.POSITION_BEFORE_START);else if("false"==c.getAttribute("contenteditable")&&c.is(CKEDITOR.dtd.$block))return this.setStartBefore(c),this.setEndAfter(c),!0;var b=c,g=d,f=void 0;b.type==CKEDITOR.NODE_ELEMENT&&b.isEditable(!1)&& -(f=b[a?"getLast":"getFirst"](e));g||f||(f=b[a?"getPrevious":"getNext"](e));c=f}return!!d},moveToClosestEditablePosition:function(c,a){var d,e=0,b,g,f=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];c?(d=new CKEDITOR.dom.range(this.root),d.moveToPosition(c,f[a?0:1])):d=this.clone();if(c&&!c.is(CKEDITOR.dtd.$block))e=1;else if(b=d[a?"getNextEditableNode":"getPreviousEditableNode"]())e=1,(g=b.type==CKEDITOR.NODE_ELEMENT)&&b.is(CKEDITOR.dtd.$block)&&"false"==b.getAttribute("contenteditable")? -(d.setStartAt(b,CKEDITOR.POSITION_BEFORE_START),d.setEndAt(b,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&&g&&b.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(d.setEnd(b,0),d.collapse()):d.moveToPosition(b,f[a?1:0]);e&&this.moveToRange(d);return!!e},moveToElementEditStart:function(c){return this.moveToElementEditablePosition(c)},moveToElementEditEnd:function(c){return this.moveToElementEditablePosition(c,!0)},getEnclosedNode:function(){var c=this.clone();c.optimize();if(c.startContainer.type!= -CKEDITOR.NODE_ELEMENT||c.endContainer.type!=CKEDITOR.NODE_ELEMENT)return null;var c=new CKEDITOR.dom.walker(c),a=CKEDITOR.dom.walker.bookmark(!1,!0),d=CKEDITOR.dom.walker.whitespaces(!0);c.evaluator=function(c){return d(c)&&a(c)};var e=c.next();c.reset();return e&&e.equals(c.previous())?e:null},getTouchedStartNode:function(){var c=this.startContainer;return this.collapsed||c.type!=CKEDITOR.NODE_ELEMENT?c:c.getChild(this.startOffset)||c},getTouchedEndNode:function(){var c=this.endContainer;return this.collapsed|| -c.type!=CKEDITOR.NODE_ELEMENT?c:c.getChild(this.endOffset-1)||c},getNextEditableNode:g(),getPreviousEditableNode:g(1),_getTableElement:function(c){c=c||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var a=this.getTouchedStartNode(),d=this.getTouchedEndNode(),e=a.getAscendant("table",!0),d=d.getAscendant("table",!0);return e&&!this.root.contains(e)?null:this.getEnclosedNode()?this.getEnclosedNode().getAscendant(c,!0):e&&d&&(e.equals(d)||e.contains(d)||d.contains(e))?a.getAscendant(c,!0):null},scrollIntoView:function(){var c= -new CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",this.document),a,d,e,b=this.clone();b.optimize();(e=b.startContainer.type==CKEDITOR.NODE_TEXT)?(d=b.startContainer.getText(),a=b.startContainer.split(b.startOffset),c.insertAfter(b.startContainer)):b.insertNode(c);c.scrollIntoView();e&&(b.startContainer.setText(d),a.remove());c.remove()},getClientRects:function(){function c(c,a){var d=CKEDITOR.tools.array.map(c,function(c){return c}),e=new CKEDITOR.dom.range(a.root),b,g, -f;a.startContainer instanceof CKEDITOR.dom.element&&(g=0===a.startOffset&&a.startContainer.hasAttribute("data-widget"));a.endContainer instanceof CKEDITOR.dom.element&&(f=(f=a.endOffset===(a.endContainer.getChildCount?a.endContainer.getChildCount():a.endContainer.length))&&a.endContainer.hasAttribute("data-widget"));g&&e.setStart(a.startContainer.getParent(),a.startContainer.getIndex());f&&e.setEnd(a.endContainer.getParent(),a.endContainer.getIndex()+1);if(g||f)a=e;e=a.cloneContents().find("[data-cke-widget-id]").toArray(); -if(e=CKEDITOR.tools.array.map(e,function(c){var d=a.root.editor;c=c.getAttribute("data-cke-widget-id");return d.widgets.instances[c].element}))return e=CKEDITOR.tools.array.map(e,function(c){var a;a=c.getParent().hasClass("cke_widget_wrapper")?c.getParent():c;b=this.root.getDocument().$.createRange();b.setStart(a.getParent().$,a.getIndex());b.setEnd(a.getParent().$,a.getIndex()+1);a=b.getClientRects();a.widgetRect=c.getClientRect();return a},a),CKEDITOR.tools.array.forEach(e,function(c){function a(b){CKEDITOR.tools.array.forEach(d, -function(a,g){var f=CKEDITOR.tools.objectCompare(c[b],a);f||(f=CKEDITOR.tools.objectCompare(c.widgetRect,a));f&&(Array.prototype.splice.call(d,g,c.length-b,c.widgetRect),e=!0)});e||(barguments.length||(this.range=a,this.forceBrBreak=0,this.enlargeBr=1,this.enforceRealBlocks=0,this._||(this._={}))}function h(a){var c=[];a.forEach(function(a){if("true"==a.getAttribute("contenteditable"))return c.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return c}function f(a,c,d,b){a:{null== -b&&(b=h(d));for(var g;g=b.shift();)if(g.getDtd().p){b={element:g,remaining:b};break a}b=null}if(!b)return 0;if((g=CKEDITOR.filter.instances[b.element.data("cke-filter")])&&!g.check(c))return f(a,c,d,b.remaining);c=new CKEDITOR.dom.range(b.element);c.selectNodeContents(b.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=g;a._.nestedEditable={element:b.element,container:d,remaining:b.remaining,iterator:c};return 1}function a(a,c,d){if(!c)return!1; -a=a.clone();a.collapse(!d);return a.checkBoundaryOfElement(c,d?CKEDITOR.START:CKEDITOR.END)}var g=/^[\r\n\t ]+$/,m=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.dom.walker.whitespaces(!0),l=function(a){return m(a)&&k(a)},d={dd:1,dt:1,li:1};b.prototype={getNextParagraph:function(e){var c,b,k,h,q;e=e||"p";if(this._.nestedEditable){if(c=this._.nestedEditable.iterator.getNextParagraph(e))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,c;this.activeFilter=this.filter;if(f(this,e, -this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(e);this._.nestedEditable=null}if(!this.range.root.getDtd()[e])return null;if(!this._.started){var p=this.range.clone();b=p.startPath();var u=p.endPath(),y=!p.collapsed&&a(p,b.block),v=!p.collapsed&&a(p,u.block,1);p.shrink(CKEDITOR.SHRINK_ELEMENT,!0);y&&p.setStartAt(b.block,CKEDITOR.POSITION_BEFORE_END);v&&p.setEndAt(u.block, -CKEDITOR.POSITION_AFTER_START);b=p.endContainer.hasAscendant("pre",!0)||p.startContainer.hasAscendant("pre",!0);p.enlarge(this.forceBrBreak&&!b||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);p.collapsed||(b=new CKEDITOR.dom.walker(p.clone()),u=CKEDITOR.dom.walker.bookmark(!0,!0),b.evaluator=u,this._.nextNode=b.next(),b=new CKEDITOR.dom.walker(p.clone()),b.evaluator=u,b=b.previous(),this._.lastNode=b.getNextSourceNode(!0,null,p.root),this._.lastNode&&this._.lastNode.type== -CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(this._.lastNode.getText())&&this._.lastNode.getParent().isBlockBoundary()&&(u=this.range.clone(),u.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),u.checkEndOfBlock()&&(u=new CKEDITOR.dom.elementPath(u.endContainer,u.root),this._.lastNode=(u.block||u.blockLimit).getNextSourceNode(!0))),this._.lastNode&&p.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=p.document.createText(""),this._.lastNode.insertAfter(b)),p=null);this._.started= -1;b=p}u=this._.nextNode;p=this._.lastNode;for(this._.nextNode=null;u;){var y=0,v=u.hasAscendant("pre"),A=u.type!=CKEDITOR.NODE_ELEMENT,z=0;if(A)u.type==CKEDITOR.NODE_TEXT&&g.test(u.getText())&&(A=0);else{var w=u.getName();if(CKEDITOR.dtd.$block[w]&&"false"==u.getAttribute("contenteditable")){c=u;f(this,e,c);break}else if(u.isBlockBoundary(this.forceBrBreak&&!v&&{br:1})){if("br"==w)A=1;else if(!b&&!u.getChildCount()&&"hr"!=w){c=u;k=u.equals(p);break}b&&(b.setEndAt(u,CKEDITOR.POSITION_BEFORE_START), -"br"!=w&&(this._.nextNode=u));y=1}else{if(u.getFirst()){b||(b=this.range.clone(),b.setStartAt(u,CKEDITOR.POSITION_BEFORE_START));u=u.getFirst();continue}A=1}}A&&!b&&(b=this.range.clone(),b.setStartAt(u,CKEDITOR.POSITION_BEFORE_START));k=(!y||A)&&u.equals(p);if(b&&!y)for(;!u.getNext(l)&&!k;){w=u.getParent();if(w.isBlockBoundary(this.forceBrBreak&&!v&&{br:1})){y=1;A=0;k||w.equals(p);b.setEndAt(w,CKEDITOR.POSITION_BEFORE_END);break}u=w;A=1;k=u.equals(p);z=1}A&&b.setEndAt(u,CKEDITOR.POSITION_AFTER_END); -u=this._getNextSourceNode(u,z,p);if((k=!u)||y&&b)break}if(!c){if(!b)return this._.docEndMarker&&this._.docEndMarker.remove(),this._.nextNode=null;c=new CKEDITOR.dom.elementPath(b.startContainer,b.root);u=c.blockLimit;y={div:1,th:1,td:1};c=c.block;!c&&u&&!this.enforceRealBlocks&&y[u.getName()]&&b.checkStartOfBlock()&&b.checkEndOfBlock()&&!u.equals(b.root)?c=u:!c||this.enforceRealBlocks&&c.is(d)?(c=this.range.document.createElement(e),b.extractContents().appendTo(c),c.trim(),b.insertNode(c),h=q=!0): +CKEDITOR.POSITION_BEFORE_START);d=1;break}if(c.type==CKEDITOR.NODE_ELEMENT)if(c.isEditable())this.moveToPosition(c,a?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),d=1;else if(a&&c.is("br")&&this.endContainer&&this.checkEndOfBlock())this.moveToPosition(c,CKEDITOR.POSITION_BEFORE_START);else if("false"==c.getAttribute("contenteditable")&&c.is(CKEDITOR.dtd.$block))return this.setStartBefore(c),this.setEndAfter(c),!0;var e=c,b=d,g=void 0;e.type==CKEDITOR.NODE_ELEMENT&&e.isEditable(!1)&& +(g=e[a?"getLast":"getFirst"](f));b||g||(g=e[a?"getPrevious":"getNext"](f));c=g}return!!d},moveToClosestEditablePosition:function(c,a){var d,f=0,e,b,g=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];c?(d=new CKEDITOR.dom.range(this.root),d.moveToPosition(c,g[a?0:1])):d=this.clone();if(c&&!c.is(CKEDITOR.dtd.$block))f=1;else if(e=d[a?"getNextEditableNode":"getPreviousEditableNode"]())f=1,(b=e.type==CKEDITOR.NODE_ELEMENT)&&e.is(CKEDITOR.dtd.$block)&&"false"==e.getAttribute("contenteditable")? +(d.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),d.setEndAt(e,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&&b&&e.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(d.setEnd(e,0),d.collapse()):d.moveToPosition(e,g[a?1:0]);f&&this.moveToRange(d);return!!f},moveToElementEditStart:function(c){return this.moveToElementEditablePosition(c)},moveToElementEditEnd:function(c){return this.moveToElementEditablePosition(c,!0)},getEnclosedNode:function(){var c=this.clone();c.optimize();if(c.startContainer.type!= +CKEDITOR.NODE_ELEMENT||c.endContainer.type!=CKEDITOR.NODE_ELEMENT)return null;var c=new CKEDITOR.dom.walker(c),a=CKEDITOR.dom.walker.bookmark(!1,!0),d=CKEDITOR.dom.walker.whitespaces(!0);c.evaluator=function(c){return d(c)&&a(c)};var f=c.next();c.reset();return f&&f.equals(c.previous())?f:null},getTouchedStartNode:function(){var c=this.startContainer;return this.collapsed||c.type!=CKEDITOR.NODE_ELEMENT?c:c.getChild(this.startOffset)||c},getTouchedEndNode:function(){var c=this.endContainer;return this.collapsed|| +c.type!=CKEDITOR.NODE_ELEMENT?c:c.getChild(this.endOffset-1)||c},getNextEditableNode:a(),getPreviousEditableNode:a(1),_getTableElement:function(c){c=c||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var a=this.getTouchedStartNode(),d=this.getTouchedEndNode(),f=a.getAscendant("table",!0),d=d.getAscendant("table",!0);return f&&!this.root.contains(f)?null:this.getEnclosedNode()?this.getEnclosedNode().getAscendant(c,!0):f&&d&&(f.equals(d)||f.contains(d)||d.contains(f))?a.getAscendant(c,!0):null},scrollIntoView:function(){var c= +new CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",this.document),a,d,f,e=this.clone();e.optimize();(f=e.startContainer.type==CKEDITOR.NODE_TEXT)?(d=e.startContainer.getText(),a=e.startContainer.split(e.startOffset),c.insertAfter(e.startContainer)):e.insertNode(c);c.scrollIntoView();f&&(e.startContainer.setText(d),a.remove());c.remove()},getClientRects:function(){function c(c,a){var d=CKEDITOR.tools.array.map(c,function(a){return a}),f=new CKEDITOR.dom.range(a.root),e,b, +g;a.startContainer instanceof CKEDITOR.dom.element&&(b=0===a.startOffset&&a.startContainer.hasAttribute("data-widget"));a.endContainer instanceof CKEDITOR.dom.element&&(g=(g=a.endOffset===(a.endContainer.getChildCount?a.endContainer.getChildCount():a.endContainer.length))&&a.endContainer.hasAttribute("data-widget"));b&&f.setStart(a.startContainer.getParent(),a.startContainer.getIndex());g&&f.setEnd(a.endContainer.getParent(),a.endContainer.getIndex()+1);if(b||g)a=f;f=a.cloneContents().find("[data-cke-widget-id]").toArray(); +if(f=CKEDITOR.tools.array.map(f,function(c){var d=a.root.editor;c=c.getAttribute("data-cke-widget-id");return d.widgets.instances[c].element}))return f=CKEDITOR.tools.array.map(f,function(a){var c;c=a.getParent().hasClass("cke_widget_wrapper")?a.getParent():a;e=this.root.getDocument().$.createRange();e.setStart(c.getParent().$,c.getIndex());e.setEnd(c.getParent().$,c.getIndex()+1);c=e.getClientRects();c.widgetRect=a.getClientRect();return c},a),CKEDITOR.tools.array.forEach(f,function(a){function c(e){CKEDITOR.tools.array.forEach(d, +function(c,b){var g=CKEDITOR.tools.objectCompare(a[e],c);g||(g=CKEDITOR.tools.objectCompare(a.widgetRect,c));g&&(Array.prototype.splice.call(d,b,a.length-e,a.widgetRect),f=!0)});f||(earguments.length||(this.range=a,this.forceBrBreak=0,this.enlargeBr=1,this.enforceRealBlocks=0,this._||(this._={}))}function h(a){var c=[];a.forEach(function(a){if("true"==a.getAttribute("contenteditable"))return c.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return c}function g(a,c,d,e){a:{null== +e&&(e=h(d));for(var b;b=e.shift();)if(b.getDtd().p){e={element:b,remaining:e};break a}e=null}if(!e)return 0;if((b=CKEDITOR.filter.instances[e.element.data("cke-filter")])&&!b.check(c))return g(a,c,d,e.remaining);c=new CKEDITOR.dom.range(e.element);c.selectNodeContents(e.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=b;a._.nestedEditable={element:e.element,container:d,remaining:e.remaining,iterator:c};return 1}function e(a,c,d){if(!c)return!1; +a=a.clone();a.collapse(!d);return a.checkBoundaryOfElement(c,d?CKEDITOR.START:CKEDITOR.END)}var a=/^[\r\n\t ]+$/,m=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.dom.walker.whitespaces(!0),l=function(a){return m(a)&&k(a)},d={dd:1,dt:1,li:1};b.prototype={getNextParagraph:function(f){var c,b,k,h,q;f=f||"p";if(this._.nestedEditable){if(c=this._.nestedEditable.iterator.getNextParagraph(f))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,c;this.activeFilter=this.filter;if(g(this,f, +this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(f);this._.nestedEditable=null}if(!this.range.root.getDtd()[f])return null;if(!this._.started){var p=this.range.clone();b=p.startPath();var v=p.endPath(),x=!p.collapsed&&e(p,b.block),u=!p.collapsed&&e(p,v.block,1);p.shrink(CKEDITOR.SHRINK_ELEMENT,!0);x&&p.setStartAt(b.block,CKEDITOR.POSITION_BEFORE_END);u&&p.setEndAt(v.block, +CKEDITOR.POSITION_AFTER_START);b=p.endContainer.hasAscendant("pre",!0)||p.startContainer.hasAscendant("pre",!0);p.enlarge(this.forceBrBreak&&!b||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);p.collapsed||(b=new CKEDITOR.dom.walker(p.clone()),v=CKEDITOR.dom.walker.bookmark(!0,!0),b.evaluator=v,this._.nextNode=b.next(),b=new CKEDITOR.dom.walker(p.clone()),b.evaluator=v,b=b.previous(),this._.lastNode=b.getNextSourceNode(!0,null,p.root),this._.lastNode&&this._.lastNode.type== +CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(this._.lastNode.getText())&&this._.lastNode.getParent().isBlockBoundary()&&(v=this.range.clone(),v.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),v.checkEndOfBlock()&&(v=new CKEDITOR.dom.elementPath(v.endContainer,v.root),this._.lastNode=(v.block||v.blockLimit).getNextSourceNode(!0))),this._.lastNode&&p.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=p.document.createText(""),this._.lastNode.insertAfter(b)),p=null);this._.started= +1;b=p}v=this._.nextNode;p=this._.lastNode;for(this._.nextNode=null;v;){var x=0,u=v.hasAscendant("pre"),A=v.type!=CKEDITOR.NODE_ELEMENT,z=0;if(A)v.type==CKEDITOR.NODE_TEXT&&a.test(v.getText())&&(A=0);else{var w=v.getName();if(CKEDITOR.dtd.$block[w]&&"false"==v.getAttribute("contenteditable")){c=v;g(this,f,c);break}else if(v.isBlockBoundary(this.forceBrBreak&&!u&&{br:1})){if("br"==w)A=1;else if(!b&&!v.getChildCount()&&"hr"!=w){c=v;k=v.equals(p);break}b&&(b.setEndAt(v,CKEDITOR.POSITION_BEFORE_START), +"br"!=w&&(this._.nextNode=v));x=1}else{if(v.getFirst()){b||(b=this.range.clone(),b.setStartAt(v,CKEDITOR.POSITION_BEFORE_START));v=v.getFirst();continue}A=1}}A&&!b&&(b=this.range.clone(),b.setStartAt(v,CKEDITOR.POSITION_BEFORE_START));k=(!x||A)&&v.equals(p);if(b&&!x)for(;!v.getNext(l)&&!k;){w=v.getParent();if(w.isBlockBoundary(this.forceBrBreak&&!u&&{br:1})){x=1;A=0;k||w.equals(p);b.setEndAt(w,CKEDITOR.POSITION_BEFORE_END);break}v=w;A=1;k=v.equals(p);z=1}A&&b.setEndAt(v,CKEDITOR.POSITION_AFTER_END); +v=this._getNextSourceNode(v,z,p);if((k=!v)||x&&b)break}if(!c){if(!b)return this._.docEndMarker&&this._.docEndMarker.remove(),this._.nextNode=null;c=new CKEDITOR.dom.elementPath(b.startContainer,b.root);v=c.blockLimit;x={div:1,th:1,td:1};c=c.block;!c&&v&&!this.enforceRealBlocks&&x[v.getName()]&&b.checkStartOfBlock()&&b.checkEndOfBlock()&&!v.equals(b.root)?c=v:!c||this.enforceRealBlocks&&c.is(d)?(c=this.range.document.createElement(f),b.extractContents().appendTo(c),c.trim(),b.insertNode(c),h=q=!0): "li"!=c.getName()?b.checkStartOfBlock()&&b.checkEndOfBlock()||(c=c.clone(!1),b.extractContents().appendTo(c),c.trim(),q=b.splitBlock(),h=!q.wasStartOfBlock,q=!q.wasEndOfBlock,b.insertNode(c)):k||(this._.nextNode=c.equals(p)?null:this._getNextSourceNode(b.getBoundaryNodes().endNode,1,p))}h&&(h=c.getPrevious())&&h.type==CKEDITOR.NODE_ELEMENT&&("br"==h.getName()?h.remove():h.getLast()&&"br"==h.getLast().$.nodeName.toLowerCase()&&h.getLast().remove());q&&(h=c.getLast())&&h.type==CKEDITOR.NODE_ELEMENT&& -"br"==h.getName()&&(!CKEDITOR.env.needsBrFiller||h.getPrevious(m)||h.getNext(m))&&h.remove();this._.nextNode||(this._.nextNode=k||c.equals(p)||!p?null:this._getNextSourceNode(c,1,p));return c},_getNextSourceNode:function(a,c,d){function b(a){return!(a.equals(d)||a.equals(g))}var g=this.range.root;for(a=a.getNextSourceNode(c,null,b);!m(a);)a=a.getNextSourceNode(c,null,b);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new b(this)}})();CKEDITOR.command=function(b,h){this.uiItems= -[];this.exec=function(a){if(this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAllowed())return!1;this.editorFocus&&b.focus();return!1===this.fire("exec")?!0:!1!==h.exec.call(this,b,a)};this.refresh=function(a,b){if(!this.readOnly&&a.readOnly)return!0;if(this.context&&!b.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&&!this.modes[a.mode]&&this.disable();return!1===this.fire("refresh",{editor:a,path:b})?!0:h.refresh&&!1!==h.refresh.apply(this, -arguments)};var f;this.checkAllowed=function(a){return a||"boolean"!=typeof f?f=b.activeFilter.checkFeature(this):f};CKEDITOR.tools.extend(this,h,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!h.context,state:CKEDITOR.TRISTATE_DISABLED});CKEDITOR.event.call(this)};CKEDITOR.command.prototype={enable:function(){this.state==CKEDITOR.TRISTATE_DISABLED&&this.checkAllowed()&&this.setState(this.preserveState&&"undefined"!=typeof this.previousState?this.previousState:CKEDITOR.TRISTATE_OFF)},disable:function(){this.setState(CKEDITOR.TRISTATE_DISABLED)}, +"br"==h.getName()&&(!CKEDITOR.env.needsBrFiller||h.getPrevious(m)||h.getNext(m))&&h.remove();this._.nextNode||(this._.nextNode=k||c.equals(p)||!p?null:this._getNextSourceNode(c,1,p));return c},_getNextSourceNode:function(a,c,d){function e(a){return!(a.equals(d)||a.equals(b))}var b=this.range.root;for(a=a.getNextSourceNode(c,null,e);!m(a);)a=a.getNextSourceNode(c,null,e);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new b(this)}})();CKEDITOR.command=function(b,h){this.uiItems= +[];this.exec=function(e){if(this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAllowed())return!1;this.editorFocus&&b.focus();return!1===this.fire("exec")?!0:!1!==h.exec.call(this,b,e)};this.refresh=function(e,a){if(!this.readOnly&&e.readOnly)return!0;if(this.context&&!a.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&&!this.modes[e.mode]&&this.disable();return!1===this.fire("refresh",{editor:e,path:a})?!0:h.refresh&&!1!==h.refresh.apply(this, +arguments)};var g;this.checkAllowed=function(e){return e||"boolean"!=typeof g?g=b.activeFilter.checkFeature(this):g};CKEDITOR.tools.extend(this,h,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!h.context,state:CKEDITOR.TRISTATE_DISABLED});CKEDITOR.event.call(this)};CKEDITOR.command.prototype={enable:function(){this.state==CKEDITOR.TRISTATE_DISABLED&&this.checkAllowed()&&this.setState(this.preserveState&&"undefined"!=typeof this.previousState?this.previousState:CKEDITOR.TRISTATE_OFF)},disable:function(){this.setState(CKEDITOR.TRISTATE_DISABLED)}, setState:function(b){if(this.state==b||b!=CKEDITOR.TRISTATE_DISABLED&&!this.checkAllowed())return!1;this.previousState=this.state;this.state=b;this.fire("state");return!0},toggleState:function(){this.state==CKEDITOR.TRISTATE_OFF?this.setState(CKEDITOR.TRISTATE_ON):this.state==CKEDITOR.TRISTATE_ON&&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:"config.js",autoUpdateElement:!0, -language:"",defaultLanguage:"en",contentsLangDirection:"",enterMode:CKEDITOR.ENTER_P,forceEnterMode:!1,shiftEnterMode:CKEDITOR.ENTER_BR,docType:"\x3c!DOCTYPE html\x3e",bodyId:"",bodyClass:"",fullPage:!1,height:200,contentsCss:CKEDITOR.getUrl("contents.css"),extraPlugins:"",removePlugins:"",protectedSource:[],tabIndex:0,width:"",baseFloatZIndex:1E4,blockedKeystrokes:[CKEDITOR.CTRL+66,CKEDITOR.CTRL+73,CKEDITOR.CTRL+85]};(function(){function b(a,c,d,b,e){var g,f;a=[];for(g in c){f=c[g];f="boolean"== -typeof f?{}:"function"==typeof f?{match:f}:J(f);"$"!=g.charAt(0)&&(f.elements=g);d&&(f.featureName=d.toLowerCase());var h=f;h.elements=k(h.elements,/\s+/)||null;h.propertiesOnly=h.propertiesOnly||!0===h.elements;var m=/\s*,\s*/,l=void 0;for(l in M){h[l]=k(h[l],m)||null;var n=h,w=I[l],u=k(h[I[l]],m),x=h[l],F=[],r=!0,v=void 0;u?r=!1:u={};for(v in x)"!"==v.charAt(0)&&(v=v.slice(1),F.push(v),u[v]=!0,r=!1);for(;v=F.pop();)x[v]=x["!"+v],delete x["!"+v];n[w]=(r?!1:u)||null}h.match=h.match||null;b.push(f); -a.push(f)}c=e.elements;e=e.generic;var B;d=0;for(b=a.length;d=--l&&(m&&CKEDITOR.document.getDocumentElement().removeStyle("cursor"), -c(b))},r=function(a,c){b[a]=1;var d=h[a];delete h[a];for(var e=0;e=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?e.$.onreadystatechange=function(){if("loaded"==e.$.readyState||"complete"==e.$.readyState)e.$.onreadystatechange=null,r(c,!0)}:(e.$.onload=function(){setTimeout(function(){e.$.onload= -null;e.$.onerror=null;r(c,!0)},0)},e.$.onerror=function(){e.$.onload=null;e.$.onerror=null;r(c,!1)}));e.appendTo(CKEDITOR.document.getHead())}}};m&&CKEDITOR.document.getDocumentElement().setStyle("cursor","wait");for(var q=0;q=--l&&(m&&CKEDITOR.document.getDocumentElement().removeStyle("cursor"), +c(e))},r=function(a,c){b[a]=1;var d=h[a];delete h[a];for(var f=0;f=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?d.$.onreadystatechange=function(){if("loaded"==d.$.readyState||"complete"==d.$.readyState)d.$.onreadystatechange=null,r(a,!0)}:(d.$.onload=function(){setTimeout(function(){d.$.onload= +null;d.$.onerror=null;r(a,!0)},0)},d.$.onerror=function(){d.$.onload=null;d.$.onerror=null;r(a,!1)}));d.appendTo(CKEDITOR.document.getHead())}}};m&&CKEDITOR.document.getDocumentElement().setStyle("cursor","wait");for(var q=0;q]+)>)|(?:!--([\S|\s]*?)--\x3e)|(?:([^\/\s>]+)((?:\s+[\w\-:.]+(?:\s*=\s*?(?:(?:"[^"]*")|(?:'[^']*')|[^\s"'\/>]+))?)*)[\S\s]*?(\/?)>))/g}};(function(){var b=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,h={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(f){for(var a,g,m=0,k;a=this._.htmlPartsRegex.exec(f);){g=a.index;if(g>m)if(m=f.substring(m,g),k)k.push(m);else this.onText(m);m=this._.htmlPartsRegex.lastIndex;if(g=a[1])if(g=g.toLowerCase(),k&&CKEDITOR.dtd.$cdata[g]&&(this.onCDATA(k.join("")),k=null),!k){this.onTagClose(g); -continue}if(k)k.push(a[0]);else if(g=a[3]){if(g=g.toLowerCase(),!/="/.test(g)){var l={},d,e=a[4];a=!!a[5];if(e)for(;d=b.exec(e);){var c=d[1].toLowerCase();d=d[2]||d[3]||d[4]||"";l[c]=!d&&h[c]?c:CKEDITOR.tools.htmlDecodeAttr(d)}this.onTagOpen(g,l,a);!k&&CKEDITOR.dtd.$cdata[g]&&(k=[])}}else if(g=a[2])this.onComment(g)}if(f.length>m)this.onText(f.substring(m,f.length))}}})();CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(b){this._.output.push("\x3c", +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(g){for(var e,a,m=0,k;e=this._.htmlPartsRegex.exec(g);){a=e.index;if(a>m)if(m=g.substring(m,a),k)k.push(m);else this.onText(m);m=this._.htmlPartsRegex.lastIndex;if(a=e[1])if(a=a.toLowerCase(),k&&CKEDITOR.dtd.$cdata[a]&&(this.onCDATA(k.join("")),k=null),!k){this.onTagClose(a); +continue}if(k)k.push(e[0]);else if(a=e[3]){if(a=a.toLowerCase(),!/="/.test(a)){var l={},d,f=e[4];e=!!e[5];if(f)for(;d=b.exec(f);){var c=d[1].toLowerCase();d=d[2]||d[3]||d[4]||"";l[c]=!d&&h[c]?c:CKEDITOR.tools.htmlDecodeAttr(d)}this.onTagOpen(a,l,e);!k&&CKEDITOR.dtd.$cdata[a]&&(k=[])}}else if(a=e[2])this.onComment(a)}if(g.length>m)this.onText(g.substring(m,g.length))}}})();CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(b){this._.output.push("\x3c", b)},openTagClose:function(b,h){h?this._.output.push(" /\x3e"):this._.output.push("\x3e")},attribute:function(b,h){"string"==typeof h&&(h=CKEDITOR.tools.htmlEncodeAttr(h));this._.output.push(" ",b,'\x3d"',h,'"')},closeTag:function(b){this._.output.push("\x3c/",b,"\x3e")},text:function(b){this._.output.push(b)},comment:function(b){this._.output.push("\x3c!--",b,"--\x3e")},write:function(b){this._.output.push(b)},reset:function(){this._.output=[];this._.indent=!1},getHtml:function(b){var h=this._.output.join(""); -b&&this.reset();return h}}});"use strict";(function(){CKEDITOR.htmlParser.node=function(){};CKEDITOR.htmlParser.node.prototype={remove:function(){var b=this.parent.children,h=CKEDITOR.tools.indexOf(b,this),f=this.previous,a=this.next;f&&(f.next=a);a&&(a.previous=f);b.splice(h,1);this.parent=null},replaceWith:function(b){var h=this.parent.children,f=CKEDITOR.tools.indexOf(h,this),a=b.previous=this.previous,g=b.next=this.next;a&&(a.next=b);g&&(g.previous=b);h[f]=b;b.parent=this.parent;this.parent=null}, -insertAfter:function(b){var h=b.parent.children,f=CKEDITOR.tools.indexOf(h,b),a=b.next;h.splice(f+1,0,this);this.next=b.next;this.previous=b;b.next=this;a&&(a.previous=this);this.parent=b.parent},insertBefore:function(b){var h=b.parent.children,f=CKEDITOR.tools.indexOf(h,b);h.splice(f,0,this);this.next=b;(this.previous=b.previous)&&(b.previous.next=this);b.previous=this;this.parent=b.parent},getAscendant:function(b){var h="function"==typeof b?b:"string"==typeof b?function(a){return a.name==b}:function(a){return a.name in -b},f=this.parent;for(;f&&f.type==CKEDITOR.NODE_ELEMENT;){if(h(f))return f;f=f.parent}return null},wrapWith:function(b){this.replaceWith(b);b.add(this);return b},getIndex:function(){return CKEDITOR.tools.indexOf(this.parent.children,this)},getFilterContext:function(b){return b||{}}}})();"use strict";CKEDITOR.htmlParser.comment=function(b){this.value=b;this._={isBlockLike:!1}};CKEDITOR.htmlParser.comment.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_COMMENT,filter:function(b, -h){var f=this.value;if(!(f=b.onComment(h,f,this)))return this.remove(),!1;if("string"!=typeof f)return this.replaceWith(f),!1;this.value=f;return!0},writeHtml:function(b,h){h&&this.filter(h);b.comment(this.value)}});"use strict";(function(){CKEDITOR.htmlParser.text=function(b){this.value=b;this._={isBlockLike:!1}};CKEDITOR.htmlParser.text.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(b,h){if(!(this.value=b.onText(h,this.value,this)))return this.remove(), +b&&this.reset();return h}}});"use strict";(function(){CKEDITOR.htmlParser.node=function(){};CKEDITOR.htmlParser.node.prototype={remove:function(){var b=this.parent.children,h=CKEDITOR.tools.indexOf(b,this),g=this.previous,e=this.next;g&&(g.next=e);e&&(e.previous=g);b.splice(h,1);this.parent=null},replaceWith:function(b){var h=this.parent.children,g=CKEDITOR.tools.indexOf(h,this),e=b.previous=this.previous,a=b.next=this.next;e&&(e.next=b);a&&(a.previous=b);h[g]=b;b.parent=this.parent;this.parent=null}, +insertAfter:function(b){var h=b.parent.children,g=CKEDITOR.tools.indexOf(h,b),e=b.next;h.splice(g+1,0,this);this.next=b.next;this.previous=b;b.next=this;e&&(e.previous=this);this.parent=b.parent},insertBefore:function(b){var h=b.parent.children,g=CKEDITOR.tools.indexOf(h,b);h.splice(g,0,this);this.next=b;(this.previous=b.previous)&&(b.previous.next=this);b.previous=this;this.parent=b.parent},getAscendant:function(b){var h="function"==typeof b?b:"string"==typeof b?function(e){return e.name==b}:function(e){return e.name in +b},g=this.parent;for(;g&&g.type==CKEDITOR.NODE_ELEMENT;){if(h(g))return g;g=g.parent}return null},wrapWith:function(b){this.replaceWith(b);b.add(this);return b},getIndex:function(){return CKEDITOR.tools.indexOf(this.parent.children,this)},getFilterContext:function(b){return b||{}}}})();"use strict";CKEDITOR.htmlParser.comment=function(b){this.value=b;this._={isBlockLike:!1}};CKEDITOR.htmlParser.comment.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_COMMENT,filter:function(b, +h){var g=this.value;if(!(g=b.onComment(h,g,this)))return this.remove(),!1;if("string"!=typeof g)return this.replaceWith(g),!1;this.value=g;return!0},writeHtml:function(b,h){h&&this.filter(h);b.comment(this.value)}});"use strict";(function(){CKEDITOR.htmlParser.text=function(b){this.value=b;this._={isBlockLike:!1}};CKEDITOR.htmlParser.text.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(b,h){if(!(this.value=b.onText(h,this.value,this)))return this.remove(), !1},writeHtml:function(b,h){h&&this.filter(h);b.text(this.value)}})})();"use strict";(function(){CKEDITOR.htmlParser.cdata=function(b){this.value=b};CKEDITOR.htmlParser.cdata.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(){},writeHtml:function(b){b.write(this.value)}})})();"use strict";CKEDITOR.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:!0,hasInlineStarted:!1}};(function(){function b(a){return a.attributes["data-cke-survive"]? -!1:"a"==a.name&&a.attributes.href||CKEDITOR.dtd.$removeEmpty[a.name]}var h=CKEDITOR.tools.extend({table:1,ul:1,ol:1,dl:1},CKEDITOR.dtd.table,CKEDITOR.dtd.ul,CKEDITOR.dtd.ol,CKEDITOR.dtd.dl),f={ol:1,ul:1},a=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),g={ul:"li",ol:"li",dl:"dd",table:"tbody",tbody:"tr",thead:"tr",tfoot:"tr",tr:"td"};CKEDITOR.htmlParser.fragment.fromHtml=function(m,k,l){function d(a){var c;if(0k;k++)if(h=g[k]){h=h.exec(b,a,this);if(!1===h)return null;if(h&&h!=a)return this.onNode(b,h);if(a.parent&&!a.name)break}return a},onNode:function(b,a){var g=a.type;return g==CKEDITOR.NODE_ELEMENT?this.onElement(b,a):g==CKEDITOR.NODE_TEXT? -new CKEDITOR.htmlParser.text(this.onText(b,a.value,a)):g==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(b,a.value,a)):null},onAttribute:function(b,a,g,h){return(g=this.attributesRules[g])?g.exec(b,h,a,this):h}}});CKEDITOR.htmlParser.filterRulesGroup=b;b.prototype={add:function(b,a,g){this.rules.splice(this.findIndex(a),0,{value:b,priority:a,options:g})},addMany:function(b,a,g){for(var h=[this.findIndex(a),0],k=0,l=b.length;k/g,"\x26gt;")+"\x3c/textarea\x3e");return"\x3ccke:encoded\x3e"+encodeURIComponent(a)+"\x3c/cke:encoded\x3e"})}function n(a){return a.replace(K,function(a,c){return decodeURIComponent(c)})}function r(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,function(a){return"\x3c!--"+A+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"--\x3e"})}function t(a){return CKEDITOR.tools.array.reduce(a.split(""),function(a,c){var d=c.toLowerCase(),b=c.toUpperCase(), -e=q(d);d!==b&&(e+="|"+q(b));return a+("("+e+")")},"")}function q(a){var c;c=a.charCodeAt(0);var d=c.toString(16);c={htmlCode:"\x26#"+c+";?",hex:"\x26#x0*"+d+";?",entity:{"\x3c":"\x26lt;","\x3e":"\x26gt;",":":"\x26colon;"}[a]};for(var b in c)c[b]&&(a+="|"+c[b]);return a}function p(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,function(a,c){return decodeURIComponent(c)})}function u(a,c){var d=c._.dataStore;return a.replace(/\x3c!--\{cke_protected\}([\s\S]+?)--\x3e/g,function(a, -c){return decodeURIComponent(c)}).replace(/\{cke_protected_(\d+)\}/g,function(a,c){return d&&d[c]||""})}function y(a,c){var d=[],b=c.config.protectedSource,e=c._.dataStore||(c._.dataStore={id:1}),g=/<\!--\{cke_temp(comment)?\}(\d*?)--\x3e/g,b=[/|$)/gi,//gi,//gi].concat(b);a=a.replace(/\x3c!--[\s\S]*?--\x3e/g,function(a){return"\x3c!--{cke_tempcomment}"+(d.push(a)-1)+"--\x3e"});for(var f=0;f]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=\/>]+))+\s*\/?>/g,function(a){return a.replace(/\x3c!--\{cke_protected\}([^>]*)--\x3e/g,function(a,c){e[e.id]=decodeURIComponent(c);return"{cke_protected_"+e.id++ +"}"})});return a= -a.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g,function(a,d,b,e){return"\x3c"+d+b+"\x3e"+u(p(e),c)+"\x3c/"+d+"\x3e"})}CKEDITOR.htmlDataProcessor=function(a){var d,g,f=this;this.editor=a;this.dataFilter=d=new CKEDITOR.htmlParser.filter;this.htmlFilter=g=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;d.addRules(B);d.addRules(C,{applyToAll:!0});d.addRules(b(a,"data"),{applyToAll:!0});g.addRules(G);g.addRules(E,{applyToAll:!0});g.addRules(b(a,"html"),{applyToAll:!0}); -a.on("toHtml",function(d){d=d.data;var b=d.dataValue,g,b=b.replace(F,""),b=y(b,a),b=c(b,I),b=e(b),b=c(b,M),b=b.replace(R,"$1cke:$2"),b=b.replace(N,"\x3ccke:$1$2\x3e\x3c/cke:$1\x3e"),b=b.replace(/(]*>)(\r\n|\n)/g,"$1$2$2"),b=b.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi,"$1data-cke-"+CKEDITOR.rnd+"-$2");g=d.context||a.editable().getName();var f;CKEDITOR.env.ie&&9>CKEDITOR.env.version&&"pre"==g&&(g="div",b="\x3cpre\x3e"+b+"\x3c/pre\x3e",f=1);g=a.document.createElement(g);g.setHtml("a"+b);b=g.getHtml().substr(1); -b=b.replace(new RegExp("data-cke-"+CKEDITOR.rnd+"-","ig"),"");f&&(b=b.replace(/^
|<\/pre>$/gi,""));b=b.replace(S,"$1$2");b=n(b);b=p(b);g=!1===d.fixForBody?!1:h(d.enterMode,a.config.autoParagraph);b=CKEDITOR.htmlParser.fragment.fromHtml(b,d.context,g);g&&(f=b,!f.children.length&&CKEDITOR.dtd[f.name][g]&&(g=new CKEDITOR.htmlParser.element(g),f.add(g)));d.dataValue=b},null,null,5);a.on("toHtml",function(c){c.data.filter.applyTo(c.data.dataValue,!0,c.data.dontFilter,c.data.enterMode)&&a.fire("dataFiltered")},
-null,null,6);a.on("toHtml",function(a){a.data.dataValue.filterChildren(f.dataFilter,!0)},null,null,10);a.on("toHtml",function(a){a=a.data;var c=a.dataValue,d=new CKEDITOR.htmlParser.basicWriter;c.writeChildrenHtml(d);c=d.getHtml(!0);a.dataValue=r(c)},null,null,15);a.on("toDataFormat",function(c){var d=c.data.dataValue;c.data.enterMode!=CKEDITOR.ENTER_BR&&(d=d.replace(/^
/i,""));c.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(d,c.data.context,h(c.data.enterMode,a.config.autoParagraph))}, -null,null,5);a.on("toDataFormat",function(a){a.data.dataValue.filterChildren(f.htmlFilter,!0)},null,null,10);a.on("toDataFormat",function(a){a.data.filter.applyTo(a.data.dataValue,!1,!0)},null,null,11);a.on("toDataFormat",function(c){var d=c.data.dataValue,b=f.writer;b.reset();d.writeChildrenHtml(b);d=b.getHtml(!0);d=p(d);d=u(d,a);c.data.dataValue=d},null,null,15)};CKEDITOR.htmlDataProcessor.prototype={toHtml:function(a,c,d,b){var e=this.editor,g,f,h,k;c&&"object"==typeof c?(g=c.context,d=c.fixForBody, -b=c.dontFilter,f=c.filter,h=c.enterMode,k=c.protectedWhitespaces):g=c;g||null===g||(g=e.editable().getName());return e.fire("toHtml",{dataValue:a,context:g,fixForBody:d,dontFilter:b,filter:f||e.filter,enterMode:h||e.enterMode,protectedWhitespaces:k}).dataValue},toDataFormat:function(a,c){var d,b,e;c&&(d=c.context,b=c.filter,e=c.enterMode);d||null===d||(d=this.editor.editable().getName());return this.editor.fire("toDataFormat",{dataValue:a,filter:b||this.editor.filter,context:d,enterMode:e||this.editor.enterMode}).dataValue}}; -var v=/(?: |\xa0)$/,A="{cke_protected}",z=CKEDITOR.dtd,w="caption colgroup col thead tfoot tbody".split(" "),x=CKEDITOR.tools.extend({},z.$blockLimit,z.$block),B={elements:{input:l,textarea:l}},C={attributeNames:[[/^on/,"data-cke-pa-on"],[/^srcdoc/,"data-cke-pa-srcdoc"],[/^data-cke-expando$/,""]],elements:{iframe:function(a){if(a.attributes&&a.attributes.src){var c=a.attributes.src.toLowerCase().replace(/[^a-z]/gi,"");if(0===c.indexOf("javascript")||0===c.indexOf("data"))a.attributes["data-cke-pa-src"]= -a.attributes.src,delete a.attributes.src}}}},G={elements:{embed:function(a){var c=a.parent;if(c&&"object"==c.name){var d=c.attributes.width,c=c.attributes.height;d&&(a.attributes.width=d);c&&(a.attributes.height=c)}},a:function(a){var c=a.attributes;if(!(a.children.length||c.name||c.id||a.attributes["data-cke-saved-name"]))return!1}}},E={elementNames:[[/^cke:/,""],[/^\?xml:namespace$/,""]],attributeNames:[[/^data-cke-(saved|pa)-/,""],[/^data-cke-.*/,""],["hidefocus",""]],elements:{$:function(a){var c= -a.attributes;if(c){if(c["data-cke-temp"])return!1;for(var d=["name","href","src"],b,e=0;eb?1:-1})},param:function(a){a.children=[];a.isEmpty=!0;return a},span:function(a){"Apple-style-span"== -a.attributes["class"]&&delete a.name},html:function(a){delete a.attributes.contenteditable;delete a.attributes["class"]},body:function(a){delete a.attributes.spellcheck;delete a.attributes.contenteditable},style:function(a){var c=a.children[0];c&&c.value&&(c.value=CKEDITOR.tools.trim(c.value));a.attributes.type||(a.attributes.type="text/css")},title:function(a){var c=a.children[0];!c&&k(a,c=new CKEDITOR.htmlParser.text);c.value=a.attributes["data-cke-title"]||""},input:d,textarea:d},attributes:{"class":function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g, -""))||!1}}};CKEDITOR.env.ie&&(E.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})});var J=/<(a|area|img|input|source)\b([^>]*)>/gi,H=/([\w-:]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,D=/^(href|src|name)$/i,M=/(?:])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,I=/(])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,K=/([^<]*)<\/cke:encoded>/gi,F=new RegExp("("+t("\x3ccke:encoded\x3e")+"(.*?)"+t("\x3c/cke:encoded\x3e")+ -")|("+t("\x3c")+t("/")+"?"+t("cke:encoded\x3e")+")","gi"),R=/(<\/?)((?:object|embed|param|html|body|head|title)([\s][^>]*)?>)/gi,S=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,N=/]*?)\/?>(?!\s*<\/cke:\1)/gi})();"use strict";CKEDITOR.htmlParser.element=function(b,h){this.name=b;this.attributes=h||{};this.children=[];var f=b||"",a=f.match(/^cke:(.*)/);a&&(f=a[1]);f=!!(CKEDITOR.dtd.$nonBodyContent[f]||CKEDITOR.dtd.$block[f]||CKEDITOR.dtd.$listItem[f]||CKEDITOR.dtd.$tableContent[f]|| -CKEDITOR.dtd.$nonEditable[f]||"br"==f);this.isEmpty=!!CKEDITOR.dtd.$empty[b];this.isUnknown=!CKEDITOR.dtd[b];this._={isBlockLike:f,hasInlineStarted:this.isEmpty||!f}};CKEDITOR.htmlParser.cssStyle=function(b){var h={};((b instanceof CKEDITOR.htmlParser.element?b.attributes.style:b)||"").replace(/"/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(b,a,g){"font-family"==a&&(g=g.replace(/["']/g,""));h[a.toLowerCase()]=g});return{rules:h,populate:function(b){var a=this.toString();a&& -(b instanceof CKEDITOR.dom.element?b.setAttribute("style",a):b instanceof CKEDITOR.htmlParser.element?b.attributes.style=a:b.style=a)},toString:function(){var b=[],a;for(a in h)h[a]&&b.push(a,":",h[a],";");return b.join("")}}};(function(){function b(a){return function(b){return b.type==CKEDITOR.NODE_ELEMENT&&("string"==typeof a?b.name==a:b.name in a)}}var h=function(a,b){a=a[0];b=b[0];return ab?1:0},f=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node, -{type:CKEDITOR.NODE_ELEMENT,add:f.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(a,b){var f=this,h,l;b=f.getFilterContext(b);if(!f.parent)a.onRoot(b,f);for(;;){h=f.name;if(!(l=a.onElementName(b,h)))return this.remove(),!1;f.name=l;if(!(f=a.onElement(b,f)))return this.remove(),!1;if(f!==this)return this.replaceWith(f),!1;if(f.name==h)break;if(f.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(f),!1;if(!f.name)return this.replaceWithChildren(), -!1}h=f.attributes;var d,e;for(d in h){for(l=h[d];;)if(e=a.onAttributeName(b,d))if(e!=d)delete h[d],d=e;else break;else{delete h[d];break}e&&(!1===(l=a.onAttribute(b,f,e,l))?delete h[e]:h[e]=l)}f.isEmpty||this.filterChildren(a,!1,b);return!0},filterChildren:f.filterChildren,writeHtml:function(a,b){b&&this.filter(b);var f=this.name,k=[],l=this.attributes,d,e;a.openTag(f,l);for(d in l)k.push([d,l[d]]);a.sortAttributes&&k.sort(h);d=0;for(e=k.length;dk;k++)if(h=a[k]){h=h.exec(b,e,this);if(!1===h)return null;if(h&&h!=e)return this.onNode(b,h);if(e.parent&&!e.name)break}return e},onNode:function(b,e){var a=e.type;return a==CKEDITOR.NODE_ELEMENT?this.onElement(b,e):a==CKEDITOR.NODE_TEXT? +new CKEDITOR.htmlParser.text(this.onText(b,e.value,e)):a==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(b,e.value,e)):null},onAttribute:function(b,e,a,h){return(a=this.attributesRules[a])?a.exec(b,h,e,this):h}}});CKEDITOR.htmlParser.filterRulesGroup=b;b.prototype={add:function(b,e,a){this.rules.splice(this.findIndex(e),0,{value:b,priority:e,options:a})},addMany:function(b,e,a){for(var h=[this.findIndex(e),0],k=0,l=b.length;k/g,"\x26gt;")+"\x3c/textarea\x3e");return"\x3ccke:encoded\x3e"+encodeURIComponent(a)+"\x3c/cke:encoded\x3e"})}function n(a){return a.replace(J,function(a,c){return decodeURIComponent(c)})}function r(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,function(a){return"\x3c!--"+u+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"--\x3e"})}function t(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,function(a,c){return decodeURIComponent(c)})} +function q(a,c){var d=c._.dataStore;return a.replace(/\x3c!--\{cke_protected\}([\s\S]+?)--\x3e/g,function(a,c){return decodeURIComponent(c)}).replace(/\{cke_protected_(\d+)\}/g,function(a,c){return d&&d[c]||""})}function p(a,c){var d=[],f=c.config.protectedSource,e=c._.dataStore||(c._.dataStore={id:1}),b=/<\!--\{cke_temp(comment)?\}(\d*?)--\x3e/g,f=[/|$)/gi,//gi,//gi].concat(f);a=a.replace(/\x3c!--[\s\S]*?--\x3e/g,function(a){return"\x3c!--{cke_tempcomment}"+ +(d.push(a)-1)+"--\x3e"});for(var g=0;g]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=\/>]+))+\s*\/?>/g,function(a){return a.replace(/\x3c!--\{cke_protected\}([^>]*)--\x3e/g,function(a, +c){e[e.id]=decodeURIComponent(c);return"{cke_protected_"+e.id++ +"}"})});return a=a.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g,function(a,d,f,e){return"\x3c"+d+f+"\x3e"+q(t(e),c)+"\x3c/"+d+"\x3e"})}var v;CKEDITOR.htmlDataProcessor=function(a){var d,e,g=this;this.editor=a;this.dataFilter=d=new CKEDITOR.htmlParser.filter;this.htmlFilter=e=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;d.addRules(y);d.addRules(B,{applyToAll:!0});d.addRules(b(a,"data"), +{applyToAll:!0});e.addRules(C);e.addRules(F,{applyToAll:!0});e.addRules(b(a,"html"),{applyToAll:!0});a.on("toHtml",function(d){d=d.data;var e=d.dataValue,b,e=v(e),e=p(e,a),e=c(e,M),e=f(e),e=c(e,D),e=e.replace(K,"$1cke:$2"),e=e.replace(R,"\x3ccke:$1$2\x3e\x3c/cke:$1\x3e"),e=e.replace(/(]*>)(\r\n|\n)/g,"$1$2$2"),e=e.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi,"$1data-cke-"+CKEDITOR.rnd+"-$2");b=d.context||a.editable().getName();var g;CKEDITOR.env.ie&&9>CKEDITOR.env.version&&"pre"==b&&(b="div", +e="\x3cpre\x3e"+e+"\x3c/pre\x3e",g=1);b=a.document.createElement(b);b.setHtml("a"+e);e=b.getHtml().substr(1);e=e.replace(new RegExp("data-cke-"+CKEDITOR.rnd+"-","ig"),"");g&&(e=e.replace(/^
|<\/pre>$/gi,""));e=e.replace(E,"$1$2");e=n(e);e=t(e);b=!1===d.fixForBody?!1:h(d.enterMode,a.config.autoParagraph);e=CKEDITOR.htmlParser.fragment.fromHtml(e,d.context,b);b&&(g=e,!g.children.length&&CKEDITOR.dtd[g.name][b]&&(b=new CKEDITOR.htmlParser.element(b),g.add(b)));d.dataValue=e},null,null,5);a.on("toHtml",
+function(c){c.data.filter.applyTo(c.data.dataValue,!0,c.data.dontFilter,c.data.enterMode)&&a.fire("dataFiltered")},null,null,6);a.on("toHtml",function(a){a.data.dataValue.filterChildren(g.dataFilter,!0)},null,null,10);a.on("toHtml",function(a){a=a.data;var c=a.dataValue,d=new CKEDITOR.htmlParser.basicWriter;c.writeChildrenHtml(d);c=d.getHtml(!0);a.dataValue=r(c)},null,null,15);a.on("toDataFormat",function(c){var d=c.data.dataValue;c.data.enterMode!=CKEDITOR.ENTER_BR&&(d=d.replace(/^
/i,"")); +c.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(d,c.data.context,h(c.data.enterMode,a.config.autoParagraph))},null,null,5);a.on("toDataFormat",function(a){a.data.dataValue.filterChildren(g.htmlFilter,!0)},null,null,10);a.on("toDataFormat",function(a){a.data.filter.applyTo(a.data.dataValue,!1,!0)},null,null,11);a.on("toDataFormat",function(c){var d=c.data.dataValue,f=g.writer;f.reset();d.writeChildrenHtml(f);d=f.getHtml(!0);d=t(d);d=q(d,a);c.data.dataValue=d},null,null,15)};CKEDITOR.htmlDataProcessor.prototype= +{toHtml:function(a,c,d,f){var e=this.editor,b,g,k,h;c&&"object"==typeof c?(b=c.context,d=c.fixForBody,f=c.dontFilter,g=c.filter,k=c.enterMode,h=c.protectedWhitespaces):b=c;b||null===b||(b=e.editable().getName());return e.fire("toHtml",{dataValue:a,context:b,fixForBody:d,dontFilter:f,filter:g||e.filter,enterMode:k||e.enterMode,protectedWhitespaces:h}).dataValue},toDataFormat:function(a,c){var d,f,e;c&&(d=c.context,f=c.filter,e=c.enterMode);d||null===d||(d=this.editor.editable().getName());return this.editor.fire("toDataFormat", +{dataValue:a,filter:f||this.editor.filter,context:d,enterMode:e||this.editor.enterMode}).dataValue}};var x=/(?: |\xa0)$/,u="{cke_protected}",A=CKEDITOR.dtd,z="caption colgroup col thead tfoot tbody".split(" "),w=CKEDITOR.tools.extend({},A.$blockLimit,A.$block),y={elements:{input:l,textarea:l}},B={attributeNames:[[/^on/,"data-cke-pa-on"],[/^srcdoc/,"data-cke-pa-srcdoc"],[/^data-cke-expando$/,""]],elements:{iframe:function(a){if(a.attributes&&a.attributes.src){var c=a.attributes.src.toLowerCase().replace(/[^a-z]/gi, +"");if(0===c.indexOf("javascript")||0===c.indexOf("data"))a.attributes["data-cke-pa-src"]=a.attributes.src,delete a.attributes.src}}}},C={elements:{embed:function(a){var c=a.parent;if(c&&"object"==c.name){var d=c.attributes.width,c=c.attributes.height;d&&(a.attributes.width=d);c&&(a.attributes.height=c)}},a:function(a){var c=a.attributes;if(!(a.children.length||c.name||c.id||a.attributes["data-cke-saved-name"]))return!1}}},F={elementNames:[[/^cke:/,""],[/^\?xml:namespace$/,""]],attributeNames:[[/^data-cke-(saved|pa)-/, +""],[/^data-cke-.*/,""],["hidefocus",""]],elements:{$:function(a){var c=a.attributes;if(c){if(c["data-cke-temp"])return!1;for(var d=["name","href","src"],f,e=0;ef? +1:-1})},param:function(a){a.children=[];a.isEmpty=!0;return a},span:function(a){"Apple-style-span"==a.attributes["class"]&&delete a.name},html:function(a){delete a.attributes.contenteditable;delete a.attributes["class"]},body:function(a){delete a.attributes.spellcheck;delete a.attributes.contenteditable},style:function(a){var c=a.children[0];c&&c.value&&(c.value=CKEDITOR.tools.trim(c.value));a.attributes.type||(a.attributes.type="text/css")},title:function(a){var c=a.children[0];!c&&k(a,c=new CKEDITOR.htmlParser.text); +c.value=a.attributes["data-cke-title"]||""},input:d,textarea:d},attributes:{"class":function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,""))||!1}}};CKEDITOR.env.ie&&(F.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})});var G=/<(a|area|img|input|source)\b([^>]*)>/gi,I=/([\w-:]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,H=/^(href|src|name)$/i,D=/(?:])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi, +M=/(])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,J=/([^<]*)<\/cke:encoded>/gi,K=/(<\/?)((?:object|embed|param|html|body|head|title)([\s][^>]*)?>)/gi,E=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,R=/]*?)\/?>(?!\s*<\/cke:\1)/gi;v=function(){function a(d){return CKEDITOR.tools.array.reduce(d.split(""),function(a,d){var f=d.toLowerCase(),e=d.toUpperCase(),b=c(f);f!==e&&(b+="|"+c(e));return a+("("+b+")")},"")}function c(a){var d;d=a.charCodeAt(0);var f=d.toString(16); +d={htmlCode:"\x26#"+d+";?",hex:"\x26#x0*"+f+";?",entity:{"\x3c":"\x26lt;","\x3e":"\x26gt;",":":"\x26colon;"}[a]};for(var e in d)d[e]&&(a+="|"+d[e]);return a}var d=new RegExp("("+a("\x3ccke:encoded\x3e")+"(.*?)"+a("\x3c/cke:encoded\x3e")+")|("+a("\x3c")+a("/")+"?"+a("cke:encoded\x3e")+")","gi"),f=new RegExp("(("+a("{cke_protected")+")(_[0-9]*)?"+a("}")+")","gi");return function(a){return a.replace(d,"").replace(f,"")}}()})();"use strict";CKEDITOR.htmlParser.element=function(b,h){this.name=b;this.attributes= +h||{};this.children=[];var g=b||"",e=g.match(/^cke:(.*)/);e&&(g=e[1]);g=!!(CKEDITOR.dtd.$nonBodyContent[g]||CKEDITOR.dtd.$block[g]||CKEDITOR.dtd.$listItem[g]||CKEDITOR.dtd.$tableContent[g]||CKEDITOR.dtd.$nonEditable[g]||"br"==g);this.isEmpty=!!CKEDITOR.dtd.$empty[b];this.isUnknown=!CKEDITOR.dtd[b];this._={isBlockLike:g,hasInlineStarted:this.isEmpty||!g}};CKEDITOR.htmlParser.cssStyle=function(b){var h={};((b instanceof CKEDITOR.htmlParser.element?b.attributes.style:b)||"").replace(/"/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g, +function(b,e,a){"font-family"==e&&(a=a.replace(/["']/g,""));h[e.toLowerCase()]=a});return{rules:h,populate:function(b){var e=this.toString();e&&(b instanceof CKEDITOR.dom.element?b.setAttribute("style",e):b instanceof CKEDITOR.htmlParser.element?b.attributes.style=e:b.style=e)},toString:function(){var b=[],e;for(e in h)h[e]&&b.push(e,":",h[e],";");return b.join("")}}};(function(){function b(e){return function(a){return a.type==CKEDITOR.NODE_ELEMENT&&("string"==typeof e?a.name==e:a.name in e)}}var h= +function(e,a){e=e[0];a=a[0];return ea?1:0},g=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:g.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(e,a){var b=this,g,h;a=b.getFilterContext(a);if(!b.parent)e.onRoot(a,b);for(;;){g=b.name;if(!(h=e.onElementName(a,g)))return this.remove(),!1;b.name=h;if(!(b=e.onElement(a,b)))return this.remove(), +!1;if(b!==this)return this.replaceWith(b),!1;if(b.name==g)break;if(b.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(b),!1;if(!b.name)return this.replaceWithChildren(),!1}g=b.attributes;var d,f;for(d in g){for(h=g[d];;)if(f=e.onAttributeName(a,d))if(f!=d)delete g[d],d=f;else break;else{delete g[d];break}f&&(!1===(h=e.onAttribute(a,b,f,h))?delete g[f]:g[f]=h)}b.isEmpty||this.filterChildren(e,!1,a);return!0},filterChildren:g.filterChildren,writeHtml:function(e,a){a&&this.filter(a);var b=this.name, +g=[],l=this.attributes,d,f;e.openTag(b,l);for(d in l)g.push([d,l[d]]);e.sortAttributes&&g.sort(h);d=0;for(f=g.length;dCKEDITOR.env.version||CKEDITOR.env.quirks))this.hasFocus&&(this.focus(),c());else if(this.hasFocus)this.focus(),a();else this.once("focus",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()};A.eol.detect(a,this);A.bogus.exclude(a);A.cell.shrink(a);a.fragment=a.range.cloneContents(); -A.tree.rebuild(a,this);A.eol.fix(a,this);return new CKEDITOR.dom.documentFragment(a.fragment.$)},extractHtmlFromRange:function(a,c){var d=z,b={range:a,doc:a.document},e=this.getHtmlFromRange(a);if(a.collapsed)return a.optimize(),e;a.enlarge(CKEDITOR.ENLARGE_INLINE,1);d.table.detectPurge(b);b.bookmark=a.createBookmark();delete b.range;var g=this.editor.createRange();g.moveToPosition(b.bookmark.startNode,CKEDITOR.POSITION_BEFORE_START);b.targetBookmark=g.createBookmark();d.list.detectMerge(b,this); -d.table.detectRanges(b,this);d.block.detectMerge(b,this);b.tableContentsRanges?(d.table.deleteRanges(b),a.moveToBookmark(b.bookmark),b.range=a):(a.moveToBookmark(b.bookmark),b.range=a,a.extractContents(d.detectExtractMerge(b)));a.moveToBookmark(b.targetBookmark);a.optimize();d.fixUneditableRangePosition(a);d.list.merge(b,this);d.table.purge(b,this);d.block.merge(b,this);if(c){d=a.startPath();if(b=a.checkStartOfBlock()&&a.checkEndOfBlock()&&d.block&&!a.root.equals(d.block)){a:{var b=d.block.getElementsByTag("span"), -g=0,f;if(b)for(;f=b.getItem(g++);)if(!r(f)){b=!0;break a}b=!1}b=!b}b&&(a.moveToPosition(d.block,CKEDITOR.POSITION_BEFORE_START),d.block.remove())}else d.autoParagraph(this.editor,a),t(a.startContainer)&&a.startContainer.appendBogus();a.startContainer.mergeSiblings();return e},setup:function(){var d=this.editor;this.attachListener(d,"beforeGetData",function(){var a=this.getData();this.is("textarea")||!1!==d.config.ignoreEmptyParagraph&&(a=a.replace(p,function(a,c){return c}));d.setData(a,null,1)}, -this);this.attachListener(d,"getSnapshot",function(a){a.data=this.getData(1)},this);this.attachListener(d,"afterSetData",function(){this.setData(d.getData(1))},this);this.attachListener(d,"loadSnapshot",function(a){this.setData(a.data,1)},this);this.attachListener(d,"beforeFocus",function(){var a=d.getSelection();(a=a&&a.getNative())&&"Control"==a.type||this.focus()},this);this.attachListener(d,"insertHtml",function(a){this.insertHtml(a.data.dataValue,a.data.mode,a.data.range)},this);this.attachListener(d, -"insertElement",function(a){this.insertElement(a.data)},this);this.attachListener(d,"insertText",function(a){this.insertText(a.data)},this);this.setReadOnly(d.readOnly);this.attachClass("cke_editable");d.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?this.attachClass("cke_editable_inline"):d.elementMode!=CKEDITOR.ELEMENT_MODE_REPLACE&&d.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||this.attachClass("cke_editable_themed");this.attachClass("cke_contents_"+d.config.contentsLangDirection);d.keystrokeHandler.blockedKeystrokes[8]= -+d.readOnly;d.keystrokeHandler.attach(this);this.on("blur",function(){this.hasFocus=!1},null,null,-1);this.on("focus",function(){this.hasFocus=!0},null,null,-1);if(CKEDITOR.env.webkit)this.on("scroll",function(){d._.previousScrollTop=d.editable().$.scrollTop},null,null,-1);if(CKEDITOR.env.edge&&14CKEDITOR.env.version?k.$.styleSheet.cssText=h:k.setText(h)):(h=e.appendStyleText(h),h=new CKEDITOR.dom.element(h.ownerNode||h.owningElement),g.setCustomData("stylesheet",h),h.data("cke-temp",1))}g=e.getCustomData("stylesheet_ref")||0;e.setCustomData("stylesheet_ref",g+1);this.setCustomData("cke_includeReadonly",!d.config.disableReadonlyStyling);this.attachListener(this,"click",function(a){a=a.data;var c= -(new CKEDITOR.dom.elementPath(a.getTarget(),this)).contains("a");c&&2!=a.$.button&&c.isReadOnly()&&a.preventDefault()});var l={8:1,46:1};this.attachListener(d,"key",function(a){if(d.readOnly)return!0;var c=a.data.domEvent.getKey(),b;a=d.getSelection();if(0!==a.getRanges().length){if(c in l){var e,g=a.getRanges()[0],f=g.startPath(),h,k,r,c=8==c;CKEDITOR.env.ie&&11>CKEDITOR.env.version&&(e=a.getSelectedElement())||(e=m(a))?(d.fire("saveSnapshot"),g.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START),e.remove(), -g.select(),d.fire("saveSnapshot"),b=1):g.collapsed&&((h=f.block)&&(r=h[c?"getPrevious":"getNext"](n))&&r.type==CKEDITOR.NODE_ELEMENT&&r.is("table")&&g[c?"checkStartOfBlock":"checkEndOfBlock"]()?(d.fire("saveSnapshot"),g[c?"checkEndOfBlock":"checkStartOfBlock"]()&&h.remove(),g["moveToElementEdit"+(c?"End":"Start")](r),g.select(),d.fire("saveSnapshot"),b=1):f.blockLimit&&f.blockLimit.is("td")&&(k=f.blockLimit.getAscendant("table"))&&g.checkBoundaryOfElement(k,c?CKEDITOR.START:CKEDITOR.END)&&(r=k[c? -"getPrevious":"getNext"](n))?(d.fire("saveSnapshot"),g["moveToElementEdit"+(c?"End":"Start")](r),g.checkStartOfBlock()&&g.checkEndOfBlock()?r.remove():g.select(),d.fire("saveSnapshot"),b=1):(k=f.contains(["td","th","caption"]))&&g.checkBoundaryOfElement(k,c?CKEDITOR.START:CKEDITOR.END)&&(b=1))}return!b}});d.blockless&&CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller&&this.attachListener(this,"keyup",function(c){c.data.getKeystroke()in l&&!this.getFirst(a)&&(this.appendBogus(),c=d.createRange(),c.moveToPosition(this, -CKEDITOR.POSITION_AFTER_START),c.select())});this.attachListener(this,"dblclick",function(a){if(d.readOnly)return!1;a={element:a.data.getTarget()};d.fire("doubleclick",a)});CKEDITOR.env.ie&&this.attachListener(this,"click",f);CKEDITOR.env.ie&&!CKEDITOR.env.edge||this.attachListener(this,"mousedown",function(a){var c=a.data.getTarget();c.is("img","hr","input","textarea","select")&&!c.isReadOnly()&&(d.getSelection().selectElement(c),c.is("input","textarea","select")&&a.data.preventDefault())});CKEDITOR.env.edge&& -this.attachListener(this,"mouseup",function(a){(a=a.data.getTarget())&&a.is("img")&&!a.isReadOnly()&&d.getSelection().selectElement(a)});CKEDITOR.env.gecko&&this.attachListener(this,"mouseup",function(a){if(2==a.data.$.button&&(a=a.data.getTarget(),!a.getAscendant("table")&&!a.getOuterHtml().replace(p,""))){var c=d.createRange();c.moveToElementEditStart(a);c.select(!0)}});CKEDITOR.env.webkit&&(this.attachListener(this,"click",function(a){a.data.getTarget().is("input","select")&&a.data.preventDefault()}), -this.attachListener(this,"mouseup",function(a){a.data.getTarget().is("input","textarea")&&a.data.preventDefault()}));CKEDITOR.env.webkit&&this.attachListener(d,"key",function(a){if(d.readOnly)return!0;var b=a.data.domEvent.getKey();if(b in l&&(a=d.getSelection(),0!==a.getRanges().length)){var b=8==b,e=a.getRanges()[0];a=e.startPath();if(e.collapsed)a:{var g=a.block;if(g&&e[b?"checkStartOfBlock":"checkEndOfBlock"]()&&e.moveToClosestEditablePosition(g,!b)&&e.collapsed){if(e.startContainer.type==CKEDITOR.NODE_ELEMENT){var f= -e.startContainer.getChild(e.startOffset-(b?1:0));if(f&&f.type==CKEDITOR.NODE_ELEMENT&&f.is("hr")){d.fire("saveSnapshot");f.remove();a=!0;break a}}e=e.startPath().block;if(!e||e&&e.contains(g))a=void 0;else{d.fire("saveSnapshot");var h;(h=(b?e:g).getBogus())&&h.remove();h=d.getSelection();f=h.createBookmarks();(b?g:e).moveChildren(b?e:g,!1);a.lastElement.mergeSiblings();c(g,e,!b);h.selectBookmarks(f);a=!0}}else a=!1}else b=e,h=a.block,e=b.endPath().block,h&&e&&!h.equals(e)?(d.fire("saveSnapshot"), -(g=h.getBogus())&&g.remove(),b.enlarge(CKEDITOR.ENLARGE_INLINE),b.deleteContents(),e.getParent()&&(e.moveChildren(h,!1),a.lastElement.mergeSiblings(),c(h,e,!0)),b=d.getSelection().getRanges()[0],b.collapse(1),b.optimize(),""===b.startContainer.getHtml()&&b.startContainer.appendBogus(),b.select(),a=!0):a=!1;if(!a)return;d.getSelection().scrollIntoView();d.fire("saveSnapshot");return!1}},this,null,100)}},getUniqueId:function(){var a;try{this._.expandoNumber=a=CKEDITOR.dom.domObject.prototype.getUniqueId.call(this)}catch(c){a= +c)},insertHtml:function(a,c,d){var b=this.editor;b.focus();b.fire("saveSnapshot");d||(d=b.getSelection().getRanges()[0]);v(this,c||"html",a,d);d.select();f(this);this.editor.fire("afterInsertHtml",{})},insertHtmlIntoRange:function(a,c,d){v(this,d||"html",a,c);this.editor.fire("afterInsertHtml",{intoRange:c})},insertElement:function(a,c){var d=this.editor;d.focus();d.fire("saveSnapshot");var b=d.activeEnterMode,d=d.getSelection(),g=a.getName(),g=CKEDITOR.dtd.$block[g];c||(c=d.getRanges()[0]);this.insertElementIntoRange(a, +c)&&(c.moveToPosition(a,CKEDITOR.POSITION_AFTER_END),g&&((g=a.getNext(function(a){return e(a)&&!q(a)}))&&g.type==CKEDITOR.NODE_ELEMENT&&g.is(CKEDITOR.dtd.$block)?g.getDtd()["#"]?c.moveToElementEditStart(g):c.moveToElementEditEnd(a):g||b==CKEDITOR.ENTER_BR||(g=c.fixBlock(!0,b==CKEDITOR.ENTER_DIV?"div":"p"),c.moveToElementEditStart(g))));d.selectRanges([c]);f(this)},insertElementIntoSelection:function(a){this.insertElement(a)},insertElementIntoRange:function(a,c){var f=this.editor,b=f.config.enterMode, +e=a.getName(),g=CKEDITOR.dtd.$block[e];if(c.checkReadOnly())return!1;c.deleteContents(1);c.startContainer.type==CKEDITOR.NODE_ELEMENT&&(c.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})?x(c):c.startContainer.is(CKEDITOR.dtd.$list)&&u(c));var h,k;if(g)for(;(h=c.getCommonAncestor(0,1))&&(k=CKEDITOR.dtd[h.getName()])&&(!k||!k[e]);)if(h.getName()in CKEDITOR.dtd.span){var g=c.splitElement(h),l=c.createBookmark();d(h);d(g);c.moveToBookmark(l)}else c.checkStartOfBlock()&&c.checkEndOfBlock()?(c.setStartBefore(h), +c.collapse(!0),h.remove()):c.splitBlock(b==CKEDITOR.ENTER_DIV?"div":"p",f.editable());c.insertNode(a);return!0},setData:function(a,c){c||(a=this.editor.dataProcessor.toHtml(a));this.setHtml(a);this.fixInitialSelection();"unloaded"==this.status&&(this.status="ready");this.editor.fire("dataReady")},getData:function(a){var c=this.getHtml();a||(c=this.editor.dataProcessor.toDataFormat(c));return c},setReadOnly:function(a){this.setAttribute("contenteditable",!a)},detach:function(){this.status="detached"; +this.editor.setData(this.editor.getData(),{internal:!0});this.clearListeners();try{this._.cleanCustomData()}catch(a){if(!CKEDITOR.env.ie||-2146828218!==a.number)throw a;}this.editor.fire("contentDomUnload");delete this.editor.document;delete this.editor.window;delete this.editor},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},fixInitialSelection:function(){function a(){var c=d.getDocument().$,f=c.getSelection(),b;a:if(f.anchorNode&&f.anchorNode==d.$)b=!0;else{if(CKEDITOR.env.webkit&& +(b=d.getDocument().getActive())&&b.equals(d)&&!f.anchorNode){b=!0;break a}b=void 0}b&&(b=new CKEDITOR.dom.range(d),b.moveToElementEditStart(d),c=c.createRange(),c.setStart(b.startContainer.$,b.startOffset),c.collapse(!0),f.removeAllRanges(),f.addRange(c))}function c(){var a=d.getDocument().$,f=a.selection,b=d.getDocument().getActive();"None"==f.type&&b.equals(d)&&(f=new CKEDITOR.dom.range(d),a=a.body.createTextRange(),f.moveToElementEditStart(d),f=f.startContainer,f.type!=CKEDITOR.NODE_ELEMENT&&(f= +f.getParent()),a.moveToElementText(f.$),a.collapse(!0),a.select())}var d=this;if(CKEDITOR.env.ie&&(9>CKEDITOR.env.version||CKEDITOR.env.quirks))this.hasFocus&&(this.focus(),c());else if(this.hasFocus)this.focus(),a();else this.once("focus",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()};A.eol.detect(a,this);A.bogus.exclude(a);A.cell.shrink(a);a.fragment=a.range.cloneContents(); +A.tree.rebuild(a,this);A.eol.fix(a,this);return new CKEDITOR.dom.documentFragment(a.fragment.$)},extractHtmlFromRange:function(a,c){var d=z,f={range:a,doc:a.document},b=this.getHtmlFromRange(a);if(a.collapsed)return a.optimize(),b;a.enlarge(CKEDITOR.ENLARGE_INLINE,1);d.table.detectPurge(f);f.bookmark=a.createBookmark();delete f.range;var e=this.editor.createRange();e.moveToPosition(f.bookmark.startNode,CKEDITOR.POSITION_BEFORE_START);f.targetBookmark=e.createBookmark();d.list.detectMerge(f,this); +d.table.detectRanges(f,this);d.block.detectMerge(f,this);f.tableContentsRanges?(d.table.deleteRanges(f),a.moveToBookmark(f.bookmark),f.range=a):(a.moveToBookmark(f.bookmark),f.range=a,a.extractContents(d.detectExtractMerge(f)));a.moveToBookmark(f.targetBookmark);a.optimize();d.fixUneditableRangePosition(a);d.list.merge(f,this);d.table.purge(f,this);d.block.merge(f,this);if(c){d=a.startPath();if(f=a.checkStartOfBlock()&&a.checkEndOfBlock()&&d.block&&!a.root.equals(d.block)){a:{var f=d.block.getElementsByTag("span"), +e=0,g;if(f)for(;g=f.getItem(e++);)if(!r(g)){f=!0;break a}f=!1}f=!f}f&&(a.moveToPosition(d.block,CKEDITOR.POSITION_BEFORE_START),d.block.remove())}else d.autoParagraph(this.editor,a),t(a.startContainer)&&a.startContainer.appendBogus();a.startContainer.mergeSiblings();return b},setup:function(){var a=this.editor;this.attachListener(a,"beforeGetData",function(){var c=this.getData();this.is("textarea")||!1!==a.config.ignoreEmptyParagraph&&(c=c.replace(p,function(a,c){return c}));a.setData(c,null,1)}, +this);this.attachListener(a,"getSnapshot",function(a){a.data=this.getData(1)},this);this.attachListener(a,"afterSetData",function(){this.setData(a.getData(1))},this);this.attachListener(a,"loadSnapshot",function(a){this.setData(a.data,1)},this);this.attachListener(a,"beforeFocus",function(){var c=a.getSelection();(c=c&&c.getNative())&&"Control"==c.type||this.focus()},this);this.attachListener(a,"insertHtml",function(a){this.insertHtml(a.data.dataValue,a.data.mode,a.data.range)},this);this.attachListener(a, +"insertElement",function(a){this.insertElement(a.data)},this);this.attachListener(a,"insertText",function(a){this.insertText(a.data)},this);this.setReadOnly(a.readOnly);this.attachClass("cke_editable");a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?this.attachClass("cke_editable_inline"):a.elementMode!=CKEDITOR.ELEMENT_MODE_REPLACE&&a.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||this.attachClass("cke_editable_themed");this.attachClass("cke_contents_"+a.config.contentsLangDirection);a.keystrokeHandler.blockedKeystrokes[8]= ++a.readOnly;a.keystrokeHandler.attach(this);this.on("blur",function(){this.hasFocus=!1},null,null,-1);this.on("focus",function(){this.hasFocus=!0},null,null,-1);if(CKEDITOR.env.webkit)this.on("scroll",function(){a._.previousScrollTop=a.editable().$.scrollTop},null,null,-1);if(CKEDITOR.env.edge&&14CKEDITOR.env.version?k.$.styleSheet.cssText=h:k.setText(h)):(h=f.appendStyleText(h),h=new CKEDITOR.dom.element(h.ownerNode||h.owningElement),b.setCustomData("stylesheet",h),h.data("cke-temp",1))}b=f.getCustomData("stylesheet_ref")||0;f.setCustomData("stylesheet_ref",b+1);this.setCustomData("cke_includeReadonly",!a.config.disableReadonlyStyling);this.attachListener(this,"click",function(a){a=a.data;var c= +(new CKEDITOR.dom.elementPath(a.getTarget(),this)).contains("a");c&&2!=a.$.button&&c.isReadOnly()&&a.preventDefault()});var l={8:1,46:1};this.attachListener(a,"key",function(c){if(a.readOnly)return!0;var d=c.data.domEvent.getKey(),f;c=a.getSelection();if(0!==c.getRanges().length){if(d in l){var b,e=c.getRanges()[0],g=e.startPath(),h,k,r,d=8==d;CKEDITOR.env.ie&&11>CKEDITOR.env.version&&(b=c.getSelectedElement())||(b=m(c))?(a.fire("saveSnapshot"),e.moveToPosition(b,CKEDITOR.POSITION_BEFORE_START),b.remove(), +e.select(),a.fire("saveSnapshot"),f=1):e.collapsed&&((h=g.block)&&(r=h[d?"getPrevious":"getNext"](n))&&r.type==CKEDITOR.NODE_ELEMENT&&r.is("table")&&e[d?"checkStartOfBlock":"checkEndOfBlock"]()?(a.fire("saveSnapshot"),e[d?"checkEndOfBlock":"checkStartOfBlock"]()&&h.remove(),e["moveToElementEdit"+(d?"End":"Start")](r),e.select(),a.fire("saveSnapshot"),f=1):g.blockLimit&&g.blockLimit.is("td")&&(k=g.blockLimit.getAscendant("table"))&&e.checkBoundaryOfElement(k,d?CKEDITOR.START:CKEDITOR.END)&&(r=k[d? +"getPrevious":"getNext"](n))?(a.fire("saveSnapshot"),e["moveToElementEdit"+(d?"End":"Start")](r),e.checkStartOfBlock()&&e.checkEndOfBlock()?r.remove():e.select(),a.fire("saveSnapshot"),f=1):(k=g.contains(["td","th","caption"]))&&e.checkBoundaryOfElement(k,d?CKEDITOR.START:CKEDITOR.END)&&(f=1))}return!f}});a.blockless&&CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller&&this.attachListener(this,"keyup",function(c){c.data.getKeystroke()in l&&!this.getFirst(e)&&(this.appendBogus(),c=a.createRange(),c.moveToPosition(this, +CKEDITOR.POSITION_AFTER_START),c.select())});this.attachListener(this,"dblclick",function(c){if(a.readOnly)return!1;c={element:c.data.getTarget()};a.fire("doubleclick",c)});CKEDITOR.env.ie&&this.attachListener(this,"click",g);CKEDITOR.env.ie&&!CKEDITOR.env.edge||this.attachListener(this,"mousedown",function(c){var d=c.data.getTarget();d.is("img","hr","input","textarea","select")&&!d.isReadOnly()&&(a.getSelection().selectElement(d),d.is("input","textarea","select")&&c.data.preventDefault())});CKEDITOR.env.edge&& +this.attachListener(this,"mouseup",function(c){(c=c.data.getTarget())&&c.is("img")&&!c.isReadOnly()&&a.getSelection().selectElement(c)});CKEDITOR.env.gecko&&this.attachListener(this,"mouseup",function(c){if(2==c.data.$.button&&(c=c.data.getTarget(),!c.getAscendant("table")&&!c.getOuterHtml().replace(p,""))){var d=a.createRange();d.moveToElementEditStart(c);d.select(!0)}});CKEDITOR.env.webkit&&(this.attachListener(this,"click",function(a){a.data.getTarget().is("input","select")&&a.data.preventDefault()}), +this.attachListener(this,"mouseup",function(a){a.data.getTarget().is("input","textarea")&&a.data.preventDefault()}));CKEDITOR.env.webkit&&this.attachListener(a,"key",function(d){if(a.readOnly)return!0;var f=d.data.domEvent.getKey();if(f in l&&(d=a.getSelection(),0!==d.getRanges().length)){var f=8==f,b=d.getRanges()[0];d=b.startPath();if(b.collapsed)a:{var e=d.block;if(e&&b[f?"checkStartOfBlock":"checkEndOfBlock"]()&&b.moveToClosestEditablePosition(e,!f)&&b.collapsed){if(b.startContainer.type==CKEDITOR.NODE_ELEMENT){var g= +b.startContainer.getChild(b.startOffset-(f?1:0));if(g&&g.type==CKEDITOR.NODE_ELEMENT&&g.is("hr")){a.fire("saveSnapshot");g.remove();d=!0;break a}}b=b.startPath().block;if(!b||b&&b.contains(e))d=void 0;else{a.fire("saveSnapshot");var h;(h=(f?b:e).getBogus())&&h.remove();h=a.getSelection();g=h.createBookmarks();(f?e:b).moveChildren(f?b:e,!1);d.lastElement.mergeSiblings();c(e,b,!f);h.selectBookmarks(g);d=!0}}else d=!1}else f=b,h=d.block,b=f.endPath().block,h&&b&&!h.equals(b)?(a.fire("saveSnapshot"), +(e=h.getBogus())&&e.remove(),f.enlarge(CKEDITOR.ENLARGE_INLINE),f.deleteContents(),b.getParent()&&(b.moveChildren(h,!1),d.lastElement.mergeSiblings(),c(h,b,!0)),f=a.getSelection().getRanges()[0],f.collapse(1),f.optimize(),""===f.startContainer.getHtml()&&f.startContainer.appendBogus(),f.select(),d=!0):d=!1;if(!d)return;a.getSelection().scrollIntoView();a.fire("saveSnapshot");return!1}},this,null,100)}},getUniqueId:function(){var a;try{this._.expandoNumber=a=CKEDITOR.dom.domObject.prototype.getUniqueId.call(this)}catch(c){a= this._&&this._.expandoNumber}return a}},_:{cleanCustomData:function(){this.removeClass("cke_editable");this.restoreAttrs();for(var a=this.removeCustomData("classes");a&&a.length;)this.removeClass(a.pop());if(!this.is("textarea")){var a=this.getDocument(),c=a.getHead();if(c.getCustomData("stylesheet")){var d=a.getCustomData("stylesheet_ref");--d?a.setCustomData("stylesheet_ref",d):(a.removeCustomData("stylesheet_ref"),c.removeCustomData("stylesheet").remove())}}}}});CKEDITOR.editor.prototype.editable= function(a){var c=this._.editable;if(c&&a)return 0;if(!arguments.length)return c;a?c=a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(c&&c.detach(),c=null);return this._.editable=c};CKEDITOR.on("instanceLoaded",function(a){var c=a.editor;c.on("insertElement",function(a){a=a.data;a.type==CKEDITOR.NODE_ELEMENT&&(a.is("input")||a.is("textarea"))&&("false"!=a.getAttribute("contentEditable")&&a.data("cke-editable",a.hasAttribute("contenteditable")?"true":"1"),a.setAttribute("contentEditable", -!1))});c.on("selectionChange",function(a){if(!c.readOnly){var d=c.getSelection();d&&!d.isLocked&&(d=c.checkDirty(),c.fire("lockSnapshot"),b(a),c.fire("unlockSnapshot"),!d&&c.resetDirty())}})});CKEDITOR.on("instanceCreated",function(a){var c=a.editor;c.on("mode",function(){var a=c.editable();if(a&&a.isInline()){var d=c.title;a.changeAttr("role","textbox");a.changeAttr("aria-multiline","true");a.changeAttr("aria-label",d);d&&a.changeAttr("title",d);var b=c.fire("ariaEditorHelpLabel",{}).label;if(b&& -(d=this.ui.space(this.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"top":"contents"))){var e=CKEDITOR.tools.getNextId(),b=CKEDITOR.dom.element.createFromHtml('\x3cspan id\x3d"'+e+'" class\x3d"cke_voice_label"\x3e'+b+"\x3c/span\x3e");d.append(b);a.changeAttr("aria-describedby",e)}}})});CKEDITOR.addCss(".cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}");n=CKEDITOR.dom.walker.whitespaces(!0);r=CKEDITOR.dom.walker.bookmark(!1,!0);t=CKEDITOR.dom.walker.empty(); -q=CKEDITOR.dom.walker.bogus();p=/(^|]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:]*>| |\u00A0| )?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi;u=function(){function c(a){return a.type==CKEDITOR.NODE_ELEMENT}function b(a,d){var e,g,f,h,k=[],l=d.range.startContainer;e=d.range.startPath();for(var l=m[l.getName()],n=0,r=a.getChildren(),v=r.count(),u=-1,y=-1,t=0,E=e.contains(m.$list);nCKEDITOR.env.version&&b.getChildCount()&&b.getFirst().remove())}return function(b){var e=b.startContainer,g=e.getAscendant("table",1),f=!1;d(g.getElementsByTag("td"));d(g.getElementsByTag("th"));g=b.clone();g.setStart(e,0);g= -a(g).lastBackward();g||(g=b.clone(),g.setEndAt(e,CKEDITOR.POSITION_BEFORE_END),g=a(g).lastForward(),f=!0);g||(g=e);g.is("table")?(b.setStartAt(g,CKEDITOR.POSITION_BEFORE_START),b.collapse(!0),g.remove()):(g.is({tbody:1,thead:1,tfoot:1})&&(g=c(g,"tr",f)),g.is("tr")&&(g=c(g,g.getParent().is("thead")?"th":"td",f)),(e=g.getBogus())&&e.remove(),b.moveToPosition(g,f?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();v=function(){function a(c){c=new CKEDITOR.dom.walker(c);c.guard=function(a, -c){if(c)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$list)||a.is(CKEDITOR.dtd.$listItem)};c.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.is(CKEDITOR.dtd.$listItem)};return c}return function(c){var d=c.startContainer,b=!1,e;e=c.clone();e.setStart(d,0);e=a(e).lastBackward();e||(e=c.clone(),e.setEndAt(d,CKEDITOR.POSITION_BEFORE_END),e=a(e).lastForward(),b=!0);e||(e=d);e.is(CKEDITOR.dtd.$list)?(c.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),c.collapse(!0),e.remove()): -((d=e.getBogus())&&d.remove(),c.moveToPosition(e,b?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END),c.select())}}();A={eol:{detect:function(a,c){var d=a.range,b=d.clone(),e=d.clone(),g=new CKEDITOR.dom.elementPath(d.startContainer,c),f=new CKEDITOR.dom.elementPath(d.endContainer,c);b.collapse(1);e.collapse();g.block&&b.checkBoundaryOfElement(g.block,CKEDITOR.END)&&(d.setStartAfter(g.block),a.prependEolBr=1);f.block&&e.checkBoundaryOfElement(f.block,CKEDITOR.START)&&(d.setEndBefore(f.block), -a.appendEolBr=1)},fix:function(a,c){var d=c.getDocument(),b;a.appendEolBr&&(b=this.createEolBr(d),a.fragment.append(b));!a.prependEolBr||b&&!b.getPrevious()||a.fragment.append(this.createEolBr(d),1)},createEolBr:function(a){return a.createElement("br",{attributes:{"data-cke-eol":1}})}},bogus:{exclude:function(a){var c=a.range.getBoundaryNodes(),d=c.startNode,c=c.endNode;!c||!q(c)||d&&d.equals(c)||a.range.setEndBefore(c)}},tree:{rebuild:function(a,c){var d=a.range,b=d.getCommonAncestor(),e=new CKEDITOR.dom.elementPath(b, -c),g=new CKEDITOR.dom.elementPath(d.startContainer,c),d=new CKEDITOR.dom.elementPath(d.endContainer,c),f;b.type==CKEDITOR.NODE_TEXT&&(b=b.getParent());if(e.blockLimit.is({tr:1,table:1})){var h=e.contains("table").getParent();f=function(a){return!a.equals(h)}}else if(e.block&&e.block.is(CKEDITOR.dtd.$listItem)&&(g=g.contains(CKEDITOR.dtd.$list),d=d.contains(CKEDITOR.dtd.$list),!g.equals(d))){var k=e.contains(CKEDITOR.dtd.$list).getParent();f=function(a){return!a.equals(k)}}f||(f=function(a){return!a.equals(e.block)&& -!a.equals(e.blockLimit)});this.rebuildFragment(a,c,b,f)},rebuildFragment:function(a,c,d,b){for(var e;d&&!d.equals(c)&&b(d);)e=d.clone(0,1),a.fragment.appendTo(e),a.fragment=e,d=d.getParent()}},cell:{shrink:function(a){a=a.range;var c=a.startContainer,d=a.endContainer,b=a.startOffset,e=a.endOffset;c.type==CKEDITOR.NODE_ELEMENT&&c.equals(d)&&c.is("tr")&&++b==e&&a.shrink(CKEDITOR.SHRINK_TEXT)}}};z=function(){function a(c,d){var b=c.getParent();if(b.is(CKEDITOR.dtd.$inline))c[d?"insertBefore":"insertAfter"](b)} -function c(d,b,e){a(b);a(e,1);for(var g;g=e.getNext();)g.insertAfter(b),b=g;t(d)&&d.remove()}function d(a,c){var b=new CKEDITOR.dom.range(a);b.setStartAfter(c.startNode);b.setEndBefore(c.endNode);return b}return{list:{detectMerge:function(a,c){var b=d(c,a.bookmark),e=b.startPath(),g=b.endPath(),f=e.contains(CKEDITOR.dtd.$list),h=g.contains(CKEDITOR.dtd.$list);a.mergeList=f&&h&&f.getParent().equals(h.getParent())&&!f.equals(h);a.mergeListItems=e.block&&g.block&&e.block.is(CKEDITOR.dtd.$listItem)&& -g.block.is(CKEDITOR.dtd.$listItem);if(a.mergeList||a.mergeListItems)b=b.clone(),b.setStartBefore(a.bookmark.startNode),b.setEndAfter(a.bookmark.endNode),a.mergeListBookmark=b.createBookmark()},merge:function(a,d){if(a.mergeListBookmark){var b=a.mergeListBookmark.startNode,e=a.mergeListBookmark.endNode,g=new CKEDITOR.dom.elementPath(b,d),f=new CKEDITOR.dom.elementPath(e,d);if(a.mergeList){var h=g.contains(CKEDITOR.dtd.$list),k=f.contains(CKEDITOR.dtd.$list);h.equals(k)||(k.moveChildren(h),k.remove())}a.mergeListItems&& -(g=g.contains(CKEDITOR.dtd.$listItem),f=f.contains(CKEDITOR.dtd.$listItem),g.equals(f)||c(f,b,e));b.remove();e.remove()}}},block:{detectMerge:function(a,c){if(!a.tableContentsRanges&&!a.mergeListBookmark){var d=new CKEDITOR.dom.range(c);d.setStartBefore(a.bookmark.startNode);d.setEndAfter(a.bookmark.endNode);a.mergeBlockBookmark=d.createBookmark()}},merge:function(a,d){if(a.mergeBlockBookmark&&!a.purgeTableBookmark){var b=a.mergeBlockBookmark.startNode,e=a.mergeBlockBookmark.endNode,g=new CKEDITOR.dom.elementPath(b, -d),f=new CKEDITOR.dom.elementPath(e,d),g=g.block,f=f.block;g&&f&&!g.equals(f)&&c(f,b,e);b.remove();e.remove()}}},table:function(){function a(d){var e=[],g,f=new CKEDITOR.dom.walker(d),h=d.startPath().contains(b),k=d.endPath().contains(b),l={};f.guard=function(a,f){if(a.type==CKEDITOR.NODE_ELEMENT){var n="visited_"+(f?"out":"in");if(a.getCustomData(n))return;CKEDITOR.dom.element.setMarker(l,a,n,1)}if(f&&h&&a.equals(h))g=d.clone(),g.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),e.push(g);else if(!f&&k&& -a.equals(k))g=d.clone(),g.setStartAt(k,CKEDITOR.POSITION_AFTER_START),e.push(g);else{if(n=!f)n=a.type==CKEDITOR.NODE_ELEMENT&&a.is(b)&&(!h||c(a,h))&&(!k||c(a,k));if(!n&&(n=f))if(a.is(b))var n=h&&h.getAscendant("table",!0),m=k&&k.getAscendant("table",!0),r=a.getAscendant("table",!0),n=n&&n.contains(r)||m&&m.contains(r);else n=void 0;n&&(g=d.clone(),g.selectNodeContents(a),e.push(g))}};f.lastForward();CKEDITOR.dom.element.clearAllMarkers(l);return e}function c(a,d){var b=CKEDITOR.POSITION_CONTAINS+ -CKEDITOR.POSITION_IS_CONTAINED,e=a.getPosition(d);return e===CKEDITOR.POSITION_IDENTICAL?!1:0===(e&b)}var b={td:1,th:1,caption:1};return{detectPurge:function(a){var c=a.range,d=c.clone();d.enlarge(CKEDITOR.ENLARGE_ELEMENT);var d=new CKEDITOR.dom.walker(d),e=0;d.evaluator=function(a){a.type==CKEDITOR.NODE_ELEMENT&&a.is(b)&&++e};d.checkForward();if(1]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:]*>| |\u00A0| )?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi;v=function(){function a(c){return c.type==CKEDITOR.NODE_ELEMENT}function c(d,f){var b,e,g,h,k=[],l=f.range.startContainer;b=f.range.startPath();for(var l=m[l.getName()],n=0,r=d.getChildren(),u=r.count(),v=-1,x=-1,t=0,G=b.contains(m.$list);nCKEDITOR.env.version&&f.getChildCount()&&f.getFirst().remove())}return function(f){var b=f.startContainer,e=b.getAscendant("table",1),g=!1;d(e.getElementsByTag("td"));d(e.getElementsByTag("th"));e=f.clone();e.setStart(b,0);e= +a(e).lastBackward();e||(e=f.clone(),e.setEndAt(b,CKEDITOR.POSITION_BEFORE_END),e=a(e).lastForward(),g=!0);e||(e=b);e.is("table")?(f.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),f.collapse(!0),e.remove()):(e.is({tbody:1,thead:1,tfoot:1})&&(e=c(e,"tr",g)),e.is("tr")&&(e=c(e,e.getParent().is("thead")?"th":"td",g)),(b=e.getBogus())&&b.remove(),f.moveToPosition(e,g?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();u=function(){function a(c){c=new CKEDITOR.dom.walker(c);c.guard=function(a, +c){if(c)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$list)||a.is(CKEDITOR.dtd.$listItem)};c.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.is(CKEDITOR.dtd.$listItem)};return c}return function(c){var d=c.startContainer,f=!1,b;b=c.clone();b.setStart(d,0);b=a(b).lastBackward();b||(b=c.clone(),b.setEndAt(d,CKEDITOR.POSITION_BEFORE_END),b=a(b).lastForward(),f=!0);b||(b=d);b.is(CKEDITOR.dtd.$list)?(c.setStartAt(b,CKEDITOR.POSITION_BEFORE_START),c.collapse(!0),b.remove()): +((d=b.getBogus())&&d.remove(),c.moveToPosition(b,f?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END),c.select())}}();A={eol:{detect:function(a,c){var d=a.range,f=d.clone(),b=d.clone(),e=new CKEDITOR.dom.elementPath(d.startContainer,c),g=new CKEDITOR.dom.elementPath(d.endContainer,c);f.collapse(1);b.collapse();e.block&&f.checkBoundaryOfElement(e.block,CKEDITOR.END)&&(d.setStartAfter(e.block),a.prependEolBr=1);g.block&&b.checkBoundaryOfElement(g.block,CKEDITOR.START)&&(d.setEndBefore(g.block), +a.appendEolBr=1)},fix:function(a,c){var d=c.getDocument(),f;a.appendEolBr&&(f=this.createEolBr(d),a.fragment.append(f));!a.prependEolBr||f&&!f.getPrevious()||a.fragment.append(this.createEolBr(d),1)},createEolBr:function(a){return a.createElement("br",{attributes:{"data-cke-eol":1}})}},bogus:{exclude:function(a){var c=a.range.getBoundaryNodes(),d=c.startNode,c=c.endNode;!c||!q(c)||d&&d.equals(c)||a.range.setEndBefore(c)}},tree:{rebuild:function(a,c){var d=a.range,f=d.getCommonAncestor(),b=new CKEDITOR.dom.elementPath(f, +c),e=new CKEDITOR.dom.elementPath(d.startContainer,c),d=new CKEDITOR.dom.elementPath(d.endContainer,c),g;f.type==CKEDITOR.NODE_TEXT&&(f=f.getParent());if(b.blockLimit.is({tr:1,table:1})){var h=b.contains("table").getParent();g=function(a){return!a.equals(h)}}else if(b.block&&b.block.is(CKEDITOR.dtd.$listItem)&&(e=e.contains(CKEDITOR.dtd.$list),d=d.contains(CKEDITOR.dtd.$list),!e.equals(d))){var k=b.contains(CKEDITOR.dtd.$list).getParent();g=function(a){return!a.equals(k)}}g||(g=function(a){return!a.equals(b.block)&& +!a.equals(b.blockLimit)});this.rebuildFragment(a,c,f,g)},rebuildFragment:function(a,c,d,f){for(var b;d&&!d.equals(c)&&f(d);)b=d.clone(0,1),a.fragment.appendTo(b),a.fragment=b,d=d.getParent()}},cell:{shrink:function(a){a=a.range;var c=a.startContainer,d=a.endContainer,f=a.startOffset,b=a.endOffset;c.type==CKEDITOR.NODE_ELEMENT&&c.equals(d)&&c.is("tr")&&++f==b&&a.shrink(CKEDITOR.SHRINK_TEXT)}}};z=function(){function a(c,d){var f=c.getParent();if(f.is(CKEDITOR.dtd.$inline))c[d?"insertBefore":"insertAfter"](f)} +function c(d,f,b){a(f);a(b,1);for(var e;e=b.getNext();)e.insertAfter(f),f=e;t(d)&&d.remove()}function d(a,c){var f=new CKEDITOR.dom.range(a);f.setStartAfter(c.startNode);f.setEndBefore(c.endNode);return f}return{list:{detectMerge:function(a,c){var f=d(c,a.bookmark),b=f.startPath(),e=f.endPath(),g=b.contains(CKEDITOR.dtd.$list),h=e.contains(CKEDITOR.dtd.$list);a.mergeList=g&&h&&g.getParent().equals(h.getParent())&&!g.equals(h);a.mergeListItems=b.block&&e.block&&b.block.is(CKEDITOR.dtd.$listItem)&& +e.block.is(CKEDITOR.dtd.$listItem);if(a.mergeList||a.mergeListItems)f=f.clone(),f.setStartBefore(a.bookmark.startNode),f.setEndAfter(a.bookmark.endNode),a.mergeListBookmark=f.createBookmark()},merge:function(a,d){if(a.mergeListBookmark){var f=a.mergeListBookmark.startNode,b=a.mergeListBookmark.endNode,e=new CKEDITOR.dom.elementPath(f,d),g=new CKEDITOR.dom.elementPath(b,d);if(a.mergeList){var h=e.contains(CKEDITOR.dtd.$list),k=g.contains(CKEDITOR.dtd.$list);h.equals(k)||(k.moveChildren(h),k.remove())}a.mergeListItems&& +(e=e.contains(CKEDITOR.dtd.$listItem),g=g.contains(CKEDITOR.dtd.$listItem),e.equals(g)||c(g,f,b));f.remove();b.remove()}}},block:{detectMerge:function(a,c){if(!a.tableContentsRanges&&!a.mergeListBookmark){var d=new CKEDITOR.dom.range(c);d.setStartBefore(a.bookmark.startNode);d.setEndAfter(a.bookmark.endNode);a.mergeBlockBookmark=d.createBookmark()}},merge:function(a,d){if(a.mergeBlockBookmark&&!a.purgeTableBookmark){var f=a.mergeBlockBookmark.startNode,b=a.mergeBlockBookmark.endNode,e=new CKEDITOR.dom.elementPath(f, +d),g=new CKEDITOR.dom.elementPath(b,d),e=e.block,g=g.block;e&&g&&!e.equals(g)&&c(g,f,b);f.remove();b.remove()}}},table:function(){function a(d){var b=[],e,g=new CKEDITOR.dom.walker(d),h=d.startPath().contains(f),k=d.endPath().contains(f),l={};g.guard=function(a,g){if(a.type==CKEDITOR.NODE_ELEMENT){var n="visited_"+(g?"out":"in");if(a.getCustomData(n))return;CKEDITOR.dom.element.setMarker(l,a,n,1)}if(g&&h&&a.equals(h))e=d.clone(),e.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),b.push(e);else if(!g&&k&& +a.equals(k))e=d.clone(),e.setStartAt(k,CKEDITOR.POSITION_AFTER_START),b.push(e);else{if(n=!g)n=a.type==CKEDITOR.NODE_ELEMENT&&a.is(f)&&(!h||c(a,h))&&(!k||c(a,k));if(!n&&(n=g))if(a.is(f))var n=h&&h.getAscendant("table",!0),m=k&&k.getAscendant("table",!0),r=a.getAscendant("table",!0),n=n&&n.contains(r)||m&&m.contains(r);else n=void 0;n&&(e=d.clone(),e.selectNodeContents(a),b.push(e))}};g.lastForward();CKEDITOR.dom.element.clearAllMarkers(l);return b}function c(a,d){var f=CKEDITOR.POSITION_CONTAINS+ +CKEDITOR.POSITION_IS_CONTAINED,b=a.getPosition(d);return b===CKEDITOR.POSITION_IDENTICAL?!1:0===(b&f)}var f={td:1,th:1,caption:1};return{detectPurge:function(a){var c=a.range,d=c.clone();d.enlarge(CKEDITOR.ENLARGE_ELEMENT);var d=new CKEDITOR.dom.walker(d),b=0;d.evaluator=function(a){a.type==CKEDITOR.NODE_ELEMENT&&a.is(f)&&++b};d.checkForward();if(1g&&e&&e.intersectsNode(d.$)){var f=[{node:b.anchorNode,offset:b.anchorOffset},{node:b.focusNode,offset:b.focusOffset}];b.anchorNode==d.$&&b.anchorOffset>g&&(f[0].offset-=g);b.focusNode==d.$&&b.focusOffset>g&&(f[1].offset-=g)}}d.setText(r(d.getText(),1));f&&(d=a.getDocument().$, -b=d.getSelection(),d=d.createRange(),d.setStart(f[0].node,f[0].offset),d.collapse(!0),b.removeAllRanges(),b.addRange(d),b.extend(f[1].node,f[1].offset))}}function r(a,c){return c?a.replace(A,function(a,c){return c?" ":""}):a.replace(v,"")}function t(a,c){var d=c&&CKEDITOR.tools.htmlEncode(c)||"\x26nbsp;",d=CKEDITOR.dom.element.createFromHtml('\x3cdiv data-cke-hidden-sel\x3d"1" data-cke-temp\x3d"1" style\x3d"'+(CKEDITOR.env.ie&&14>CKEDITOR.env.version?"display:none":"position:fixed;top:0;left:-1000px;width:0;height:0;overflow:hidden;")+ -'"\x3e'+d+"\x3c/div\x3e",a.document);a.fire("lockSnapshot");a.editable().append(d);var b=a.getSelection(1),e=a.createRange(),g=b.root.on("selectionchange",function(a){a.cancel()},null,null,0);e.setStartAt(d,CKEDITOR.POSITION_AFTER_START);e.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);b.selectRanges([e]);g.removeListener();a.fire("unlockSnapshot");a._.hiddenSelectionContainer=d}function q(a){var c={37:1,39:1,8:1,46:1};return function(d){var b=d.data.getKeystroke();if(c[b]){var e=a.getSelection().getRanges(), -g=e[0];1==e.length&&g.collapsed&&(b=g[38>b?"getPreviousEditableNode":"getNextEditableNode"]())&&b.type==CKEDITOR.NODE_ELEMENT&&"false"==b.getAttribute("contenteditable")&&(a.getSelection().fake(b),d.data.preventDefault(),d.cancel())}}}function p(a){for(var c=0;c=b.getLength()?h.setStartAfter(b):h.setStartBefore(b));e&&e.type==CKEDITOR.NODE_TEXT&&(f?h.setEndAfter(e):h.setEndBefore(e));b=new CKEDITOR.dom.walker(h);b.evaluator=function(b){if(b.type==CKEDITOR.NODE_ELEMENT&&b.isReadOnly()){var e=d.clone();d.setEndBefore(b);d.collapsed&&a.splice(c--,1);b.getPosition(h.endContainer)& -CKEDITOR.POSITION_CONTAINS||(e.setStartAfter(b),e.collapsed||a.splice(c+1,0,e));return!0}return!1};b.next()}}return a}var u="function"!=typeof window.getSelection,y=1,v=CKEDITOR.tools.repeat("​",7),A=new RegExp(v+"( )?","g"),z,w,x,B=CKEDITOR.dom.walker.invisible(1),C=function(){function a(c){return function(a){var d=a.editor.createRange();d.moveToClosestEditablePosition(a.selected,c)&&a.editor.getSelection().selectRanges([d]);return!1}}function c(a){return function(c){var d=c.editor,b=d.createRange(), -e;if(!d.readOnly)return(e=b.moveToClosestEditablePosition(c.selected,a))||(e=b.moveToClosestEditablePosition(c.selected,!a)),e&&d.getSelection().selectRanges([b]),d.fire("saveSnapshot"),c.selected.remove(),e||(b.moveToElementEditablePosition(d.editable()),d.getSelection().selectRanges([b])),d.fire("saveSnapshot"),!1}}var d=a(),b=a(1);return{37:d,38:d,39:b,40:b,8:c(),46:c(1)}}();CKEDITOR.on("instanceCreated",function(a){function c(){var a=d.getSelection();a&&a.removeAllRanges()}var d=a.editor;d.on("contentDom", -function(){function a(){x=new CKEDITOR.dom.selection(d.getSelection());x.lock()}function c(){f.removeListener("mouseup",c);r.removeListener("mouseup",c);var a=CKEDITOR.document.$.selection,d=a.createRange();"None"!=a.type&&d.parentElement()&&d.parentElement().ownerDocument==g.$&&d.select()}function b(a){var c,d;c=(c=this.document.getActive())?"input"===c.getName()||"textarea"===c.getName():!1;c||(c=this.getSelection(1),(d=e(c))&&!d.equals(h)&&(c.selectElement(d),a.data.preventDefault()))}function e(a){a= -a.getRanges()[0];return a?(a=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable")},!0))&&"false"===a.getAttribute("contenteditable")?a:null:null}var g=d.document,f=CKEDITOR.document,h=d.editable(),l=g.getBody(),r=g.getDocumentElement(),v=h.isInline(),y,x;CKEDITOR.env.gecko&&h.attachListener(h,"focus",function(a){a.removeListener();0!==y&&(a=d.getSelection().getNative())&&a.isCollapsed&&a.anchorNode==h.$&&(a=d.createRange(),a.moveToElementEditStart(h), -a.select())},null,null,-2);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){if(y&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){y=d._.previousActive&&d._.previousActive.equals(g.getActive());var a=null!=d._.previousScrollTop&&d._.previousScrollTop!=h.$.scrollTop;CKEDITOR.env.webkit&&y&&a&&(h.$.scrollTop=d._.previousScrollTop)}d.unlockSelection(y);y=0},null,null,-1);h.attachListener(h,"mousedown",function(){y=0});if(CKEDITOR.env.ie||CKEDITOR.env.gecko||v)u?h.attachListener(h, -"beforedeactivate",a,null,null,-1):h.attachListener(d,"selectionCheck",a,null,null,-1),h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusout":"blur",function(){var a=x&&(x.isFake||2>x.getRanges().length);CKEDITOR.env.gecko&&!v&&a||(d.lockSelection(x),y=1)},null,null,-1),h.attachListener(h,"mousedown",function(){y=0});if(CKEDITOR.env.ie&&!v){var t;h.attachListener(h,"mousedown",function(a){2==a.data.$.button&&((a=d.document.getSelection())&&a.getType()!=CKEDITOR.SELECTION_NONE||(t=d.window.getScrollPosition()))}); -h.attachListener(h,"mouseup",function(a){2==a.data.$.button&&t&&(d.document.$.documentElement.scrollLeft=t.x,d.document.$.documentElement.scrollTop=t.y);t=null});if("BackCompat"!=g.$.compatMode){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat){var p,w;r.on("mousedown",function(a){function c(a){a=a.data.$;if(p){var d=l.$.createTextRange();try{d.moveToPoint(a.clientX,a.clientY)}catch(b){}p.setEndPoint(0>w.compareEndPoints("StartToStart",d)?"EndToEnd":"StartToStart",d);p.select()}}function d(){r.removeListener("mousemove", -c);f.removeListener("mouseup",d);r.removeListener("mouseup",d);p.select()}a=a.data;if(a.getTarget().is("html")&&a.$.yCKEDITOR.env.version)r.on("mousedown",function(a){a.data.getTarget().is("html")&&(f.on("mouseup",c),r.on("mouseup",c))})}}h.attachListener(h,"selectionchange",m, -d);h.attachListener(h,"keyup",k,d);h.attachListener(h,"touchstart",k,d);h.attachListener(h,"touchend",k,d);CKEDITOR.env.ie&&h.attachListener(h,"keydown",b,d);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){d.forceNextSelectionCheck();d.selectionChange(1)});if(v&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var A;h.attachListener(h,"mousedown",function(){A=1});h.attachListener(g.getDocumentElement(),"mouseup",function(){A&&k.call(d);A=0})}else h.attachListener(CKEDITOR.env.ie? -h:g.getDocumentElement(),"mouseup",k,d);CKEDITOR.env.webkit&&h.attachListener(g,"keydown",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&&n(h)}},null,null,-1);h.attachListener(h,"keydown",q(d),null,null,-1)});d.on("setData",function(){d.unlockSelection();CKEDITOR.env.webkit&&c()});d.on("contentDomUnload",function(){d.unlockSelection()});if(CKEDITOR.env.ie9Compat)d.on("beforeDestroy",c,null,null,9);d.on("dataReady",function(){delete d._.fakeSelection; -delete d._.hiddenSelectionContainer;d.selectionChange(1)});d.on("loadSnapshot",function(){var a=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),c=d.editable().getLast(a);c&&c.hasAttribute("data-cke-hidden-sel")&&(c.remove(),CKEDITOR.env.gecko&&(a=d.editable().getFirst(a))&&a.is("br")&&a.getAttribute("_moz_editor_bogus_node")&&a.remove())},null,null,100);d.on("key",function(a){if("wysiwyg"==d.mode){var c=d.getSelection();if(c.isFake){var b=C[a.data.keyCode];if(b)return b({editor:d,selected:c.getSelectedElement(), +fixUneditableRangePosition:function(a){a.startContainer.getDtd()["#"]||a.moveToClosestEditablePosition(null,!0)},autoParagraph:function(a,c){var d=c.startPath(),f;k(a,d.block,d.blockLimit)&&(f=l(a))&&(f=c.document.createElement(f),f.appendBogus(),c.insertNode(f),c.moveToPosition(f,CKEDITOR.POSITION_AFTER_START))}}}()})();(function(){function b(a){return CKEDITOR.plugins.widget&&CKEDITOR.plugins.widget.isDomWidget(a)}function h(a,c){if(0===a.length||b(a[0].getEnclosedNode()))return!1;var d,f;if((d= +!c&&1===a.length)&&!(d=a[0].collapsed)){var e=a[0];d=e.startContainer.getAscendant({td:1,th:1},!0);var g=e.endContainer.getAscendant({td:1,th:1},!0);f=CKEDITOR.tools.trim;d&&d.equals(g)&&!d.findOne("td, th, tr, tbody, table")?(e=e.cloneContents(),d=e.getFirst()?f(e.getFirst().getText())!==f(d.getText()):!0):d=!1}if(d)return!1;for(f=0;fe&&b&&b.intersectsNode(d.$)){var g=[{node:f.anchorNode,offset:f.anchorOffset},{node:f.focusNode,offset:f.focusOffset}];f.anchorNode==d.$&&f.anchorOffset>e&&(g[0].offset-=e);f.focusNode==d.$&&f.focusOffset>e&&(g[1].offset-=e)}}d.setText(r(d.getText(),1));g&&(d=a.getDocument().$, +f=d.getSelection(),d=d.createRange(),d.setStart(g[0].node,g[0].offset),d.collapse(!0),f.removeAllRanges(),f.addRange(d),f.extend(g[1].node,g[1].offset))}}function r(a,c){return c?a.replace(A,function(a,c){return c?" ":""}):a.replace(u,"")}function t(a,c){var d=c&&CKEDITOR.tools.htmlEncode(c)||"\x26nbsp;",d=CKEDITOR.dom.element.createFromHtml('\x3cdiv data-cke-hidden-sel\x3d"1" data-cke-temp\x3d"1" style\x3d"'+(CKEDITOR.env.ie&&14>CKEDITOR.env.version?"display:none":"position:fixed;top:0;left:-1000px;width:0;height:0;overflow:hidden;")+ +'"\x3e'+d+"\x3c/div\x3e",a.document);a.fire("lockSnapshot");a.editable().append(d);var f=a.getSelection(1),b=a.createRange(),e=f.root.on("selectionchange",function(a){a.cancel()},null,null,0);b.setStartAt(d,CKEDITOR.POSITION_AFTER_START);b.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);f.selectRanges([b]);e.removeListener();a.fire("unlockSnapshot");a._.hiddenSelectionContainer=d}function q(a){var c={37:1,39:1,8:1,46:1};return function(d){var f=d.data.getKeystroke();if(c[f]){var b=a.getSelection().getRanges(), +e=b[0];1==b.length&&e.collapsed&&(f=e[38>f?"getPreviousEditableNode":"getNextEditableNode"]())&&f.type==CKEDITOR.NODE_ELEMENT&&"false"==f.getAttribute("contenteditable")&&(a.getSelection().fake(f),d.data.preventDefault(),d.cancel())}}}function p(a){for(var c=0;c=f.getLength()?h.setStartAfter(f):h.setStartBefore(f));b&&b.type==CKEDITOR.NODE_TEXT&&(g?h.setEndAfter(b):h.setEndBefore(b));f=new CKEDITOR.dom.walker(h);f.evaluator=function(f){if(f.type==CKEDITOR.NODE_ELEMENT&&f.isReadOnly()){var b=d.clone();d.setEndBefore(f);d.collapsed&&a.splice(c--,1);f.getPosition(h.endContainer)& +CKEDITOR.POSITION_CONTAINS||(b.setStartAfter(f),b.collapsed||a.splice(c+1,0,b));return!0}return!1};f.next()}}return a}var v="function"!=typeof window.getSelection,x=1,u=CKEDITOR.tools.repeat("​",7),A=new RegExp(u+"( )?","g"),z,w,y,B=CKEDITOR.dom.walker.invisible(1),C=function(){function a(c){return function(a){var d=a.editor.createRange();d.moveToClosestEditablePosition(a.selected,c)&&a.editor.getSelection().selectRanges([d]);return!1}}function c(a){return function(c){var d=c.editor,f=d.createRange(), +b;if(!d.readOnly)return(b=f.moveToClosestEditablePosition(c.selected,a))||(b=f.moveToClosestEditablePosition(c.selected,!a)),b&&d.getSelection().selectRanges([f]),d.fire("saveSnapshot"),c.selected.remove(),b||(f.moveToElementEditablePosition(d.editable()),d.getSelection().selectRanges([f])),d.fire("saveSnapshot"),!1}}var d=a(),f=a(1);return{37:d,38:d,39:f,40:f,8:c(),46:c(1)}}();CKEDITOR.on("instanceCreated",function(a){function c(){var a=d.getSelection();a&&a.removeAllRanges()}var d=a.editor;d.on("contentDom", +function(){function a(){y=new CKEDITOR.dom.selection(d.getSelection());y.lock()}function c(){g.removeListener("mouseup",c);r.removeListener("mouseup",c);var a=CKEDITOR.document.$.selection,d=a.createRange();"None"!=a.type&&d.parentElement()&&d.parentElement().ownerDocument==e.$&&d.select()}function f(a){var c,d;c=(c=this.document.getActive())?"input"===c.getName()||"textarea"===c.getName():!1;c||(c=this.getSelection(1),(d=b(c))&&!d.equals(h)&&(c.selectElement(d),a.data.preventDefault()))}function b(a){a= +a.getRanges()[0];return a?(a=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable")},!0))&&"false"===a.getAttribute("contenteditable")?a:null:null}var e=d.document,g=CKEDITOR.document,h=d.editable(),l=e.getBody(),r=e.getDocumentElement(),u=h.isInline(),x,y;CKEDITOR.env.gecko&&h.attachListener(h,"focus",function(a){a.removeListener();0!==x&&(a=d.getSelection().getNative())&&a.isCollapsed&&a.anchorNode==h.$&&(a=d.createRange(),a.moveToElementEditStart(h), +a.select())},null,null,-2);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){if(x&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){x=d._.previousActive&&d._.previousActive.equals(e.getActive());var a=null!=d._.previousScrollTop&&d._.previousScrollTop!=h.$.scrollTop;CKEDITOR.env.webkit&&x&&a&&(h.$.scrollTop=d._.previousScrollTop)}d.unlockSelection(x);x=0},null,null,-1);h.attachListener(h,"mousedown",function(){x=0});if(CKEDITOR.env.ie||CKEDITOR.env.gecko||u)v?h.attachListener(h, +"beforedeactivate",a,null,null,-1):h.attachListener(d,"selectionCheck",a,null,null,-1),h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusout":"blur",function(){var a=y&&(y.isFake||2>y.getRanges().length);CKEDITOR.env.gecko&&!u&&a||(d.lockSelection(y),x=1)},null,null,-1),h.attachListener(h,"mousedown",function(){x=0});if(CKEDITOR.env.ie&&!u){var t;h.attachListener(h,"mousedown",function(a){2==a.data.$.button&&((a=d.document.getSelection())&&a.getType()!=CKEDITOR.SELECTION_NONE||(t=d.window.getScrollPosition()))}); +h.attachListener(h,"mouseup",function(a){2==a.data.$.button&&t&&(d.document.$.documentElement.scrollLeft=t.x,d.document.$.documentElement.scrollTop=t.y);t=null});if("BackCompat"!=e.$.compatMode){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat){var p,w;r.on("mousedown",function(a){function c(a){a=a.data.$;if(p){var d=l.$.createTextRange();try{d.moveToPoint(a.clientX,a.clientY)}catch(f){}p.setEndPoint(0>w.compareEndPoints("StartToStart",d)?"EndToEnd":"StartToStart",d);p.select()}}function d(){r.removeListener("mousemove", +c);g.removeListener("mouseup",d);r.removeListener("mouseup",d);p.select()}a=a.data;if(a.getTarget().is("html")&&a.$.yCKEDITOR.env.version)r.on("mousedown",function(a){a.data.getTarget().is("html")&&(g.on("mouseup",c),r.on("mouseup",c))})}}h.attachListener(h,"selectionchange",m, +d);h.attachListener(h,"keyup",k,d);h.attachListener(h,"touchstart",k,d);h.attachListener(h,"touchend",k,d);CKEDITOR.env.ie&&h.attachListener(h,"keydown",f,d);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){d.forceNextSelectionCheck();d.selectionChange(1)});if(u&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var A;h.attachListener(h,"mousedown",function(){A=1});h.attachListener(e.getDocumentElement(),"mouseup",function(){A&&k.call(d);A=0})}else h.attachListener(CKEDITOR.env.ie? +h:e.getDocumentElement(),"mouseup",k,d);CKEDITOR.env.webkit&&h.attachListener(e,"keydown",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&&n(h)}},null,null,-1);h.attachListener(h,"keydown",q(d),null,null,-1)});d.on("setData",function(){d.unlockSelection();CKEDITOR.env.webkit&&c()});d.on("contentDomUnload",function(){d.unlockSelection()});if(CKEDITOR.env.ie9Compat)d.on("beforeDestroy",c,null,null,9);d.on("dataReady",function(){delete d._.fakeSelection; +delete d._.hiddenSelectionContainer;d.selectionChange(1)});d.on("loadSnapshot",function(){var a=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),c=d.editable().getLast(a);c&&c.hasAttribute("data-cke-hidden-sel")&&(c.remove(),CKEDITOR.env.gecko&&(a=d.editable().getFirst(a))&&a.is("br")&&a.getAttribute("_moz_editor_bogus_node")&&a.remove())},null,null,100);d.on("key",function(a){if("wysiwyg"==d.mode){var c=d.getSelection();if(c.isFake){var f=C[a.data.keyCode];if(f)return f({editor:d,selected:c.getSelectedElement(), selection:c,keyEvent:a})}}})});if(CKEDITOR.env.webkit)CKEDITOR.on("instanceReady",function(a){var c=a.editor;c.on("selectionChange",function(){var a=c.editable(),d=a.getCustomData("cke-fillingChar");d&&(d.getCustomData("ready")?(n(a),a.editor.fire("selectionCheck")):d.setCustomData("ready",1))},null,null,-1);c.on("beforeSetMode",function(){n(c.editable())},null,null,-1);c.on("getSnapshot",function(a){a.data&&(a.data=r(a.data))},c,null,20);c.on("toDataFormat",function(a){a.data.dataValue=r(a.data.dataValue)}, -null,null,0)});CKEDITOR.editor.prototype.selectionChange=function(a){(a?m:k).call(this)};CKEDITOR.editor.prototype.getSelection=function(a){return!this._.savedSelection&&!this._.fakeSelection||a?(a=this.editable())&&"wysiwyg"==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&&a.lock(),this._.savedSelection=a,!0):!1};CKEDITOR.editor.prototype.unlockSelection= -function(a){var c=this._.savedSelection;return c?(c.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 c=a;a=a.root}var d=a instanceof CKEDITOR.dom.element;this.rev=c?c.rev:y++;this.document=a instanceof CKEDITOR.dom.document?a:a.getDocument();this.root=d?a:this.document.getBody();this.isLocked=0;this._={cache:{}};if(c)return CKEDITOR.tools.extend(this._.cache,c._.cache),this.isFake=c.isFake,this.isLocked=c.isLocked,this;a=this.getNative();var b,e;if(a)if(a.getRangeAt)b= -(e=a.rangeCount&&a.getRangeAt(0))&&new CKEDITOR.dom.node(e.commonAncestorContainer);else{try{e=a.createRange()}catch(g){}b=e&&CKEDITOR.dom.element.get(e.item&&e.item(0)||e.parentElement())}if(!b||b.type!=CKEDITOR.NODE_ELEMENT&&b.type!=CKEDITOR.NODE_TEXT||!this.root.equals(b)&&!this.root.contains(b))this._.cache.type=CKEDITOR.SELECTION_NONE,this._.cache.startElement=null,this._.cache.selectedElement=null,this._.cache.selectedText="",this._.cache.ranges=new CKEDITOR.dom.rangeList;return this};var G= -{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:r,_createFillingCharSequenceNode:c,FILLING_CHAR_SEQUENCE:v});CKEDITOR.dom.selection.prototype={getNative:function(){return void 0!==this._.cache.nativeSel?this._.cache.nativeSel:this._.cache.nativeSel=u?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:u? -function(){var a=this._.cache;if(a.type)return a.type;var c=CKEDITOR.SELECTION_NONE;try{var d=this.getNative(),b=d.type;"Text"==b&&(c=CKEDITOR.SELECTION_TEXT);"Control"==b&&(c=CKEDITOR.SELECTION_ELEMENT);d.createRange().parentElement()&&(c=CKEDITOR.SELECTION_TEXT)}catch(e){}return a.type=c}:function(){var a=this._.cache;if(a.type)return a.type;var c=CKEDITOR.SELECTION_TEXT,d=this.getNative();if(!d||!d.rangeCount)c=CKEDITOR.SELECTION_NONE;else if(1==d.rangeCount){var d=d.getRangeAt(0),b=d.startContainer; -b==d.endContainer&&1==b.nodeType&&1==d.endOffset-d.startOffset&&G[b.childNodes[d.startOffset].nodeName.toLowerCase()]&&(c=CKEDITOR.SELECTION_ELEMENT)}return a.type=c},getRanges:function(){var a=u?function(){function a(c){return(new CKEDITOR.dom.node(c)).getIndex()}var c=function(c,d){c=c.duplicate();c.collapse(d);var b=c.parentElement();if(!b.hasChildNodes())return{container:b,offset:0};for(var e=b.children,g,f,h=c.duplicate(),k=0,l=e.length-1,n=-1,m,r;k<=l;)if(n=Math.floor((k+l)/2),g=e[n],h.moveToElementText(g), -m=h.compareEndPoints("StartToStart",c),0m)k=n+1;else return{container:b,offset:a(g)};if(-1==n||n==e.length-1&&0>m){h.moveToElementText(b);h.setEndPoint("StartToStart",c);h=h.text.replace(/(\r\n|\r)/g,"\n").length;e=b.childNodes;if(!h)return g=e[e.length-1],g.nodeType!=CKEDITOR.NODE_TEXT?{container:b,offset:e.length}:{container:g,offset:g.nodeValue.length};for(b=e.length;0d.length?this.selectElement(c):this.selectRanges(d))}},reset:function(){this._.cache={};this.isFake=0;var a=this.root.editor;if(a&&a._.fakeSelection)if(this.rev==a._.fakeSelection.rev){delete a._.fakeSelection; -var c=a._.hiddenSelectionContainer;if(c){var d=a.checkDirty();a.fire("lockSnapshot");c.remove();a.fire("unlockSnapshot");!d&&a.resetDirty()}delete a._.hiddenSelectionContainer}else CKEDITOR.warn("selection-fake-reset");this.rev=y++},selectElement:function(a){var c=new CKEDITOR.dom.range(this.root);c.setStartBefore(a);c.setEndAfter(a);this.selectRanges([c])},selectRanges:function(a){var d=this.root.editor,b=d&&d._.hiddenSelectionContainer;this.reset();if(b)for(var b=this.root,f,k=0;k]*>)[ \t\r\n]*/gi,"$1");f=f.replace(/([ \t\n\r]+| )/g," ");f=f.replace(/]*>/gi,"\n");if(CKEDITOR.env.ie){var h=a.getDocument().createElement("div");h.append(g);g.$.outerHTML="\x3cpre\x3e"+ -f+"\x3c/pre\x3e";g.copyAttributes(h.getFirst());g=h.getFirst().remove()}else g.setHtml(f);d=g}else f?d=r(b?[a.getHtml()]:c(a),d):a.moveChildren(d);d.replace(a);if(e){var b=d,k;(k=b.getPrevious(D))&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("pre")&&(e=n(k.getHtml(),/\n$/,"")+"\n\n"+n(b.getHtml(),/^\n/,""),CKEDITOR.env.ie?b.$.outerHTML="\x3cpre\x3e"+e+"\x3c/pre\x3e":b.setHtml(e),k.remove())}else b&&u(d)}function c(a){var c=[];n(a.getOuterHtml(),/(\S\s*)\n(?:\s|(]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi, -function(a,c,d){return c+"\x3c/pre\x3e"+d+"\x3cpre\x3e"}).replace(/([\s\S]*?)<\/pre>/gi,function(a,d){c.push(d)});return c}function n(a,c,d){var b="",e="";a=a.replace(/(^]+data-cke-bookmark.*?\/span>)|(]+data-cke-bookmark.*?\/span>$)/gi,function(a,c,d){c&&(b=c);d&&(e=d);return""});return b+a.replace(c,d)+e}function r(a,c){var d;1m)k=n+1;else return{container:f,offset:a(e)};if(-1==n||n==b.length-1&&0>m){h.moveToElementText(f);h.setEndPoint("StartToStart",c);h=h.text.replace(/(\r\n|\r)/g,"\n").length;b=f.childNodes;if(!h)return e=b[b.length-1],e.nodeType!=CKEDITOR.NODE_TEXT?{container:f,offset:b.length}:{container:e,offset:e.nodeValue.length};for(f=b.length;0f.length?this.selectElement(d):this.selectRanges(f))}},reset:function(){this._.cache={};this.isFake=0;var a=this.root.editor; +if(a&&a._.fakeSelection)if(this.rev==a._.fakeSelection.rev){delete a._.fakeSelection;var c=a._.hiddenSelectionContainer;if(c){var d=a.checkDirty();a.fire("lockSnapshot");c.remove();a.fire("unlockSnapshot");!d&&a.resetDirty()}delete a._.hiddenSelectionContainer}else CKEDITOR.warn("selection-fake-reset");this.rev=x++},selectElement:function(a){var c=new CKEDITOR.dom.range(this.root);c.setStartBefore(a);c.setEndAfter(a);this.selectRanges([c])},selectRanges:function(d){var b=this.root.editor,e=b&&b._.hiddenSelectionContainer; +this.reset();if(e)for(var e=this.root,g,k=0;k]*>)[ \t\r\n]*/gi,"$1");g=g.replace(/([ \t\n\r]+| )/g," ");g=g.replace(/]*>/gi,"\n");if(CKEDITOR.env.ie){var h=a.getDocument().createElement("div"); +h.append(e);e.$.outerHTML="\x3cpre\x3e"+g+"\x3c/pre\x3e";e.copyAttributes(h.getFirst());e=h.getFirst().remove()}else e.setHtml(g);d=e}else g?d=r(f?[a.getHtml()]:c(a),d):a.moveChildren(d);d.replace(a);if(b){var f=d,k;(k=f.getPrevious(D))&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("pre")&&(b=n(k.getHtml(),/\n$/,"")+"\n\n"+n(f.getHtml(),/^\n/,""),CKEDITOR.env.ie?f.$.outerHTML="\x3cpre\x3e"+b+"\x3c/pre\x3e":f.setHtml(b),k.remove())}else f&&v(d)}function c(a){var c=[];n(a.getOuterHtml(),/(\S\s*)\n(?:\s|(]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi, +function(a,c,d){return c+"\x3c/pre\x3e"+d+"\x3cpre\x3e"}).replace(/([\s\S]*?)<\/pre>/gi,function(a,d){c.push(d)});return c}function n(a,c,d){var f="",b="";a=a.replace(/(^]+data-cke-bookmark.*?\/span>)|(]+data-cke-bookmark.*?\/span>$)/gi,function(a,c,d){c&&(f=c);d&&(b=d);return""});return f+a.replace(c,d)+b}function r(a,c){var d;1=a?(m=g.createText(""),m.insertAfter(this)):(b=g.createText(""),b.insertAfter(m),b.remove()));return m},substring:function(b,h){return"number"!=typeof h?this.$.nodeValue.substr(b):this.$.nodeValue.substring(b,h)}});(function(){function b(b,a,g){var h=b.serializable,k=a[g?"endContainer":"startContainer"],l=g?"endOffset":"startOffset",d=h?a.document.getById(b.startNode):b.startNode;b=h? -a.document.getById(b.endNode):b.endNode;k.equals(d.getPrevious())?(a.startOffset=a.startOffset-k.getLength()-b.getPrevious().getLength(),k=b.getNext()):k.equals(b.getPrevious())&&(a.startOffset-=k.getLength(),k=b.getNext());k.equals(d.getParent())&&a[l]++;k.equals(b.getParent())&&a[l]++;a[g?"endContainer":"startContainer"]=k;return a}CKEDITOR.dom.rangeList=function(b){if(b instanceof CKEDITOR.dom.rangeList)return b;b?b instanceof CKEDITOR.dom.range&&(b=[b]):b=[];return CKEDITOR.tools.extend(b,h)}; -var h={createIterator:function(){var b=this,a=CKEDITOR.dom.walker.bookmark(),g=[],h;return{getNextRange:function(k){h=void 0===h?0:h+1;var l=b[h];if(l&&1c?-1:1}),g=0,f;gCKEDITOR.env.version?a[h].$.styleSheet.cssText+=f:a[h].$.innerHTML+=f}}var m={};CKEDITOR.skin= -{path:b,loadPart:function(a,c){CKEDITOR.skin.name!=CKEDITOR.skinName.split(",")[0]?CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(b()+"skin.js"),function(){f(a,c)}):f(a,c)},getPath:function(a){return CKEDITOR.getUrl(h(a))},icons:{},addIcon:function(a,c,d,b){a=a.toLowerCase();this.icons[a]||(this.icons[a]={path:c,offset:d||0,bgsize:b||"16px"})},getIconStyle:function(a,c,d,b,g){var f;a&&(a=a.toLowerCase(),c&&(f=this.icons[a+"-rtl"]),f||(f=this.icons[a]));a=d||f&&f.path||"";b=b||f&&f.offset;g=g||f&&f.bgsize|| -"16px";a&&(a=a.replace(/'/g,"\\'"));return a&&"background-image:url('"+CKEDITOR.getUrl(a)+"');background-position:0 "+b+"px;background-size:"+g+";"}};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{getUiColor:function(){return this.uiColor},setUiColor:function(b){var c=a(CKEDITOR.document);return(this.setUiColor=function(a){this.uiColor=a;var b=CKEDITOR.skin.chameleon,e="",f="";"function"==typeof b&&(e=b(this,"editor"),f=b(this,"panel"));a=[[d,a]];g([c],e,a);g(l,f,a)}).call(this,b)}});var k="cke_ui_color", -l=[],d=/\$color/g;CKEDITOR.on("instanceLoaded",function(b){if(!CKEDITOR.env.ie||!CKEDITOR.env.quirks){var c=b.editor;b=function(b){b=(b.data[0]||b.data).element.getElementsByTag("iframe").getItem(0).getFrameDocument();if(!b.getById("cke_ui_color")){var e=a(b);l.push(e);c.on("destroy",function(){l=CKEDITOR.tools.array.filter(l,function(a){return e!==a})});(b=c.getUiColor())&&g([e],CKEDITOR.skin.chameleon(c,"panel"),[[d,b]])}};c.on("panelShow",b);c.on("menuShow",b);c.config.uiColor&&c.setUiColor(c.config.uiColor)}})})(); -(function(){if(CKEDITOR.env.webkit)CKEDITOR.env.hc=!1;else{var b=CKEDITOR.dom.element.createFromHtml('\x3cdiv style\x3d"width:0;height:0;position:absolute;left:-10000px;border:1px solid;border-color:red blue"\x3e\x3c/div\x3e',CKEDITOR.document);b.appendTo(CKEDITOR.document.getHead());try{var h=b.getComputedStyle("border-top-color"),f=b.getComputedStyle("border-right-color");CKEDITOR.env.hc=!(!h||h!=f)}catch(a){CKEDITOR.env.hc=!1}b.remove()}CKEDITOR.env.hc&&(CKEDITOR.env.cssClass+=" cke_hc");CKEDITOR.document.appendStyleText(".cke{visibility:hidden;}"); -CKEDITOR.status="loaded";CKEDITOR.fireOnce("loaded");if(b=CKEDITOR._.pending)for(delete CKEDITOR._.pending,h=0;hh;h++){var k=h,l;l=parseInt(g[h],16);l=("0"+(0>a?0|l*(1+a): -0|l+(255-l)*a).toString(16)).slice(-2);g[k]=l}return"#"+g.join("")}}(),h={editor:new CKEDITOR.template("{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};] "), +this.type==CKEDITOR.STYLE_INLINE?g:this.type==CKEDITOR.STYLE_BLOCK?l:this.type==CKEDITOR.STYLE_OBJECT?m:null;return this.applyToRange(a)},removeFromRange:function(a){this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?e:this.type==CKEDITOR.STYLE_BLOCK?d:this.type==CKEDITOR.STYLE_OBJECT?k:null;return this.removeFromRange(a)},applyToObject:function(a){u(a,this)},checkActive:function(a,c){switch(this.type){case CKEDITOR.STYLE_BLOCK:return this.checkElementRemovable(a.block||a.blockLimit,!0,c);case CKEDITOR.STYLE_OBJECT:case CKEDITOR.STYLE_INLINE:for(var d= +a.elements,f=0,b;f=e?(m=a.createText(""),m.insertAfter(this)):(b=a.createText(""),b.insertAfter(m),b.remove()));return m},substring:function(b,h){return"number"!=typeof h?this.$.nodeValue.substr(b):this.$.nodeValue.substring(b,h)}});(function(){function b(b,e,a){var h=b.serializable,k=e[a?"endContainer":"startContainer"],l=a?"endOffset":"startOffset",d=h?e.document.getById(b.startNode):b.startNode;b=h? +e.document.getById(b.endNode):b.endNode;k.equals(d.getPrevious())?(e.startOffset=e.startOffset-k.getLength()-b.getPrevious().getLength(),k=b.getNext()):k.equals(b.getPrevious())&&(e.startOffset-=k.getLength(),k=b.getNext());k.equals(d.getParent())&&e[l]++;k.equals(b.getParent())&&e[l]++;e[a?"endContainer":"startContainer"]=k;return e}CKEDITOR.dom.rangeList=function(b){if(b instanceof CKEDITOR.dom.rangeList)return b;b?b instanceof CKEDITOR.dom.range&&(b=[b]):b=[];return CKEDITOR.tools.extend(b,h)}; +var h={createIterator:function(){var b=this,e=CKEDITOR.dom.walker.bookmark(),a=[],h;return{getNextRange:function(k){h=void 0===h?0:h+1;var l=b[h];if(l&&1c?-1:1}),e=0,g;eCKEDITOR.env.version?a[h].$.styleSheet.cssText+=g:a[h].$.innerHTML+=g}}var m={};CKEDITOR.skin= +{path:b,loadPart:function(a,c){CKEDITOR.skin.name!=CKEDITOR.skinName.split(",")[0]?CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(b()+"skin.js"),function(){g(a,c)}):g(a,c)},getPath:function(a){return CKEDITOR.getUrl(h(a))},icons:{},addIcon:function(a,c,d,b){a=a.toLowerCase();this.icons[a]||(this.icons[a]={path:c,offset:d||0,bgsize:b||"16px"})},getIconStyle:function(a,c,d,b,e){var g;a&&(a=a.toLowerCase(),c&&(g=this.icons[a+"-rtl"]),g||(g=this.icons[a]));a=d||g&&g.path||"";b=b||g&&g.offset;e=e||g&&g.bgsize|| +"16px";a&&(a=a.replace(/'/g,"\\'"));return a&&"background-image:url('"+CKEDITOR.getUrl(a)+"');background-position:0 "+b+"px;background-size:"+e+";"}};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{getUiColor:function(){return this.uiColor},setUiColor:function(f){var c=e(CKEDITOR.document);return(this.setUiColor=function(f){this.uiColor=f;var b=CKEDITOR.skin.chameleon,e="",g="";"function"==typeof b&&(e=b(this,"editor"),g=b(this,"panel"));f=[[d,f]];a([c],e,f);a(l,g,f)}).call(this,f)}});var k="cke_ui_color", +l=[],d=/\$color/g;CKEDITOR.on("instanceLoaded",function(f){if(!CKEDITOR.env.ie||!CKEDITOR.env.quirks){var c=f.editor;f=function(f){f=(f.data[0]||f.data).element.getElementsByTag("iframe").getItem(0).getFrameDocument();if(!f.getById("cke_ui_color")){var b=e(f);l.push(b);c.on("destroy",function(){l=CKEDITOR.tools.array.filter(l,function(a){return b!==a})});(f=c.getUiColor())&&a([b],CKEDITOR.skin.chameleon(c,"panel"),[[d,f]])}};c.on("panelShow",f);c.on("menuShow",f);c.config.uiColor&&c.setUiColor(c.config.uiColor)}})})(); +(function(){if(CKEDITOR.env.webkit)CKEDITOR.env.hc=!1;else{var b=CKEDITOR.dom.element.createFromHtml('\x3cdiv style\x3d"width:0;height:0;position:absolute;left:-10000px;border:1px solid;border-color:red blue"\x3e\x3c/div\x3e',CKEDITOR.document);b.appendTo(CKEDITOR.document.getHead());try{var h=b.getComputedStyle("border-top-color"),g=b.getComputedStyle("border-right-color");CKEDITOR.env.hc=!(!h||h!=g)}catch(e){CKEDITOR.env.hc=!1}b.remove()}CKEDITOR.env.hc&&(CKEDITOR.env.cssClass+=" cke_hc");CKEDITOR.document.appendStyleText(".cke{visibility:hidden;}"); +CKEDITOR.status="loaded";CKEDITOR.fireOnce("loaded");if(b=CKEDITOR._.pending)for(delete CKEDITOR._.pending,h=0;hh;h++){var k=h,l;l=parseInt(a[h],16);l=("0"+(0>e?0|l*(1+e): +0|l+(255-l)*e).toString(16)).slice(-2);a[k]=l}return"#"+a.join("")}}(),h={editor:new CKEDITOR.template("{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};] "), panel:new CKEDITOR.template(".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};] ")}; -return function(f,a){var g=b(f.uiColor,.4),g={id:"."+f.id,defaultBorder:b(g,-.2),toolbarElementsBorder:b(g,-.25),defaultBackground:g,lightBackground:b(g,.8),darkBackground:b(g,-.15),ckeButtonOn:b(g,.4),ckeResizer:b(g,-.4),ckeColorauto:b(g,.8),dialogBody:b(g,.7),dialogTab:b(g,.65),dialogTabSelected:"#FFF",dialogTabSelectedBorder:"#FFF",elementsPathColor:b(g,-.6),menubuttonHover:b(g,.1),menubuttonIcon:b(g,.5),menubuttonIconHover:b(g,.3)};return h[a].output(g).replace(/\[/g,"{").replace(/\]/g,"}")}}(); -CKEDITOR.plugins.add("dialogui",{onLoad:function(){var b=function(a){this._||(this._={});this._["default"]=this._.initValue=a["default"]||"";this._.required=a.required||!1;for(var b=[this._],c=1;carguments.length)){var f=b.call(this,e);f.labelId=CKEDITOR.tools.getNextId()+ -"_label";this._.children=[];var h={role:e.role||"presentation"};e.includeLabel&&(h["aria-labelledby"]=f.labelId);CKEDITOR.ui.dialog.uiElement.call(this,a,e,c,"div",null,h,function(){var c=[],b=e.required?" cke_required":"";"horizontal"!=e.labelLayout?c.push('\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" ',' id\x3d"'+f.labelId+'"',f.inputId?' for\x3d"'+f.inputId+'"':"",(e.labelStyle?' style\x3d"'+e.labelStyle+'"':"")+"\x3e",e.label,"\x3c/label\x3e",'\x3cdiv class\x3d"cke_dialog_ui_labeled_content"', -e.controlStyle?' style\x3d"'+e.controlStyle+'"':"",' role\x3d"presentation"\x3e',g.call(this,a,e),"\x3c/div\x3e"):(b={type:"hbox",widths:e.widths,padding:0,children:[{type:"html",html:'\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" id\x3d"'+f.labelId+'" for\x3d"'+f.inputId+'"'+(e.labelStyle?' style\x3d"'+e.labelStyle+'"':"")+"\x3e"+CKEDITOR.tools.htmlEncode(e.label)+"\x3c/label\x3e"},{type:"html",html:'\x3cspan class\x3d"cke_dialog_ui_labeled_content"'+(e.controlStyle?' style\x3d"'+e.controlStyle+ -'"':"")+"\x3e"+g.call(this,a,e)+"\x3c/span\x3e"}]},CKEDITOR.dialog._.uiElementBuilders.hbox.build(a,b,c));return c.join("")})}},textInput:function(a,e,c){if(!(3>arguments.length)){b.call(this,e);var g=this._.inputId=CKEDITOR.tools.getNextId()+"_textInput",f={"class":"cke_dialog_ui_input_"+e.type,id:g,type:e.type};e.validate&&(this.validate=e.validate);e.maxLength&&(f.maxlength=e.maxLength);e.size&&(f.size=e.size);e.inputStyle&&(f.style=e.inputStyle);var h=this,k=!1;a.on("load",function(){h.getInputElement().on("keydown", -function(a){13==a.data.getKeystroke()&&(k=!0)});h.getInputElement().on("keyup",function(c){13==c.data.getKeystroke()&&k&&(a.getButton("ok")&&setTimeout(function(){a.getButton("ok").click()},0),k=!1);h.bidi&&l.call(h,c)},null,null,1E3)});CKEDITOR.ui.dialog.labeledElement.call(this,a,e,c,function(){var a=['\x3cdiv class\x3d"cke_dialog_ui_input_',e.type,'" role\x3d"presentation"'];e.width&&a.push('style\x3d"width:'+e.width+'" ');a.push("\x3e\x3cinput ");f["aria-labelledby"]=this._.labelId;this._.required&& -(f["aria-required"]=this._.required);for(var c in f)a.push(c+'\x3d"'+f[c]+'" ');a.push(" /\x3e\x3c/div\x3e");return a.join("")})}},textarea:function(a,e,c){if(!(3>arguments.length)){b.call(this,e);var g=this,f=this._.inputId=CKEDITOR.tools.getNextId()+"_textarea",h={};e.validate&&(this.validate=e.validate);h.rows=e.rows||5;h.cols=e.cols||20;h["class"]="cke_dialog_ui_input_textarea "+(e["class"]||"");"undefined"!=typeof e.inputStyle&&(h.style=e.inputStyle);e.dir&&(h.dir=e.dir);if(g.bidi)a.on("load", -function(){g.getInputElement().on("keyup",l)},g);CKEDITOR.ui.dialog.labeledElement.call(this,a,e,c,function(){h["aria-labelledby"]=this._.labelId;this._.required&&(h["aria-required"]=this._.required);var a=['\x3cdiv class\x3d"cke_dialog_ui_input_textarea" role\x3d"presentation"\x3e\x3ctextarea id\x3d"',f,'" '],c;for(c in h)a.push(c+'\x3d"'+CKEDITOR.tools.htmlEncode(h[c])+'" ');a.push("\x3e",CKEDITOR.tools.htmlEncode(g._["default"]),"\x3c/textarea\x3e\x3c/div\x3e");return a.join("")})}},checkbox:function(a, -e,c){if(!(3>arguments.length)){var g=b.call(this,e,{"default":!!e["default"]});e.validate&&(this.validate=e.validate);CKEDITOR.ui.dialog.uiElement.call(this,a,e,c,"span",null,null,function(){var c=CKEDITOR.tools.extend({},e,{id:e.id?e.id+"_checkbox":CKEDITOR.tools.getNextId()+"_checkbox"},!0),b=[],f=CKEDITOR.tools.getNextId()+"_label",h={"class":"cke_dialog_ui_checkbox_input",type:"checkbox","aria-labelledby":f};k(c);e["default"]&&(h.checked="checked");"undefined"!=typeof c.inputStyle&&(c.style=c.inputStyle); -g.checkbox=new CKEDITOR.ui.dialog.uiElement(a,c,b,"input",null,h);b.push(' \x3clabel id\x3d"',f,'" for\x3d"',h.id,'"'+(e.labelStyle?' style\x3d"'+e.labelStyle+'"':"")+"\x3e",CKEDITOR.tools.htmlEncode(e.label),"\x3c/label\x3e");return b.join("")})}},radio:function(a,e,c){if(!(3>arguments.length)){b.call(this,e);this._["default"]||(this._["default"]=this._.initValue=e.items[0][1]);e.validate&&(this.validate=e.validate);var g=[],f=this;e.role="radiogroup";e.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this, -a,e,c,function(){for(var c=[],b=[],h=(e.id?e.id:CKEDITOR.tools.getNextId())+"_radio",l=0;larguments.length)){var g=b.call(this,e);e.validate&&(this.validate=e.validate);g.inputId=CKEDITOR.tools.getNextId()+"_select";CKEDITOR.ui.dialog.labeledElement.call(this,a,e,c,function(){var c=CKEDITOR.tools.extend({},e,{id:e.id?e.id+"_select":CKEDITOR.tools.getNextId()+"_select"},!0),b=[],f=[],h={id:g.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};b.push('\x3cdiv class\x3d"cke_dialog_ui_input_', -e.type,'" role\x3d"presentation"');e.width&&b.push('style\x3d"width:'+e.width+'" ');b.push("\x3e");void 0!==e.size&&(h.size=e.size);void 0!==e.multiple&&(h.multiple=e.multiple);k(c);for(var l=0,m;larguments.length)){void 0===e["default"]&&(e["default"]="");var g=CKEDITOR.tools.extend(b.call(this,e),{definition:e,buttons:[]});e.validate&&(this.validate=e.validate);a.on("load",function(){CKEDITOR.document.getById(g.frameId).getParent().addClass("cke_dialog_ui_input_file")});CKEDITOR.ui.dialog.labeledElement.call(this,a,e,c,function(){g.frameId=CKEDITOR.tools.getNextId()+"_fileInput";var a=['\x3ciframe frameborder\x3d"0" allowtransparency\x3d"0" class\x3d"cke_dialog_ui_input_file" role\x3d"presentation" id\x3d"', -g.frameId,'" title\x3d"',e.label,'" src\x3d"javascript:void('];a.push(CKEDITOR.env.ie?"(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"})()":"0");a.push(')"\x3e\x3c/iframe\x3e');return a.join("")})}},fileButton:function(a,e,c){var g=this;if(!(3>arguments.length)){b.call(this,e);e.validate&&(this.validate=e.validate);var f=CKEDITOR.tools.extend({},e),h=f.onClick;f.className=(f.className?f.className+" ":"")+"cke_dialog_ui_button";f.onClick=function(c){var b= -e["for"];c=h?h.call(this,c):!1;!1!==c&&("xhr"!==c&&a.getContentElement(b[0],b[1]).submit(),this.disable())};a.on("load",function(){a.getContentElement(e["for"][0],e["for"][1])._.buttons.push(g)});CKEDITOR.ui.dialog.button.call(this,a,f,c)}},html:function(){var a=/^\s*<[\w:]+\s+([^>]*)?>/,b=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,c=/\/$/;return function(g,f,h){if(!(3>arguments.length)){var k=[],l=f.html;"\x3c"!=l.charAt(0)&&(l="\x3cspan\x3e"+l+"\x3c/span\x3e");var m=f.focus;if(m){var y=this.focus; -this.focus=function(){("function"==typeof m?m:y).call(this);this.fire("focus")};f.isFocusable&&(this.isFocusable=this.isFocusable);this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,g,f,k,"span",null,null,"");k=k.join("").match(a);l=l.match(b)||["","",""];c.test(l[1])&&(l[1]=l[1].slice(0,-1),l[2]="/"+l[2]);h.push([l[1]," ",k[1]||"",l[2]].join(""))}}}(),fieldset:function(a,b,c,g,f){var h=f.label;this._={children:b};CKEDITOR.ui.dialog.uiElement.call(this,a,f,g,"fieldset",null,null,function(){var a= -[];h&&a.push("\x3clegend"+(f.labelStyle?' style\x3d"'+f.labelStyle+'"':"")+"\x3e"+h+"\x3c/legend\x3e");for(var d=0;db.getChildCount()?(new CKEDITOR.dom.text(a,CKEDITOR.document)).appendTo(b):b.getChild(0).$.nodeValue= -a;return this},getLabel:function(){var a=CKEDITOR.document.getById(this._.labelId);return!a||1>a.getChildCount()?"":a.getChild(0).getText()},eventProcessors:g},!0);CKEDITOR.ui.dialog.button.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{click:function(){return this._.disabled?!1:this.fire("click",{dialog:this._.dialog})},enable:function(){this._.disabled=!1;var a=this.getElement();a&&a.removeClass("cke_disabled")},disable:function(){this._.disabled=!0;this.getElement().addClass("cke_disabled")}, +return function(g,e){var a=b(g.uiColor,.4),a={id:"."+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:"#FFF",dialogTabSelectedBorder:"#FFF",elementsPathColor:b(a,-.6),menubuttonHover:b(a,.1),menubuttonIcon:b(a,.5),menubuttonIconHover:b(a,.3)};return h[e].output(a).replace(/\[/g,"{").replace(/\]/g,"}")}}(); +CKEDITOR.plugins.add("dialogui",{onLoad:function(){var b=function(a){this._||(this._={});this._["default"]=this._.initValue=a["default"]||"";this._.required=a.required||!1;for(var f=[this._],c=1;carguments.length)){var g=b.call(this,f);g.labelId=CKEDITOR.tools.getNextId()+ +"_label";this._.children=[];var h={role:f.role||"presentation"};f.includeLabel&&(h["aria-labelledby"]=g.labelId);CKEDITOR.ui.dialog.uiElement.call(this,a,f,c,"div",null,h,function(){var c=[],b=f.required?" cke_required":"";"horizontal"!=f.labelLayout?c.push('\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" ',' id\x3d"'+g.labelId+'"',g.inputId?' for\x3d"'+g.inputId+'"':"",(f.labelStyle?' style\x3d"'+f.labelStyle+'"':"")+"\x3e",f.label,"\x3c/label\x3e",'\x3cdiv class\x3d"cke_dialog_ui_labeled_content"', +f.controlStyle?' style\x3d"'+f.controlStyle+'"':"",' role\x3d"presentation"\x3e',e.call(this,a,f),"\x3c/div\x3e"):(b={type:"hbox",widths:f.widths,padding:0,children:[{type:"html",html:'\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" id\x3d"'+g.labelId+'" for\x3d"'+g.inputId+'"'+(f.labelStyle?' style\x3d"'+f.labelStyle+'"':"")+"\x3e"+CKEDITOR.tools.htmlEncode(f.label)+"\x3c/label\x3e"},{type:"html",html:'\x3cspan class\x3d"cke_dialog_ui_labeled_content"'+(f.controlStyle?' style\x3d"'+f.controlStyle+ +'"':"")+"\x3e"+e.call(this,a,f)+"\x3c/span\x3e"}]},CKEDITOR.dialog._.uiElementBuilders.hbox.build(a,b,c));return c.join("")})}},textInput:function(a,f,c){if(!(3>arguments.length)){b.call(this,f);var e=this._.inputId=CKEDITOR.tools.getNextId()+"_textInput",g={"class":"cke_dialog_ui_input_"+f.type,id:e,type:f.type};f.validate&&(this.validate=f.validate);f.maxLength&&(g.maxlength=f.maxLength);f.size&&(g.size=f.size);f.inputStyle&&(g.style=f.inputStyle);var h=this,k=!1;a.on("load",function(){h.getInputElement().on("keydown", +function(a){13==a.data.getKeystroke()&&(k=!0)});h.getInputElement().on("keyup",function(c){13==c.data.getKeystroke()&&k&&(a.getButton("ok")&&setTimeout(function(){a.getButton("ok").click()},0),k=!1);h.bidi&&l.call(h,c)},null,null,1E3)});CKEDITOR.ui.dialog.labeledElement.call(this,a,f,c,function(){var a=['\x3cdiv class\x3d"cke_dialog_ui_input_',f.type,'" role\x3d"presentation"'];f.width&&a.push('style\x3d"width:'+f.width+'" ');a.push("\x3e\x3cinput ");g["aria-labelledby"]=this._.labelId;this._.required&& +(g["aria-required"]=this._.required);for(var c in g)a.push(c+'\x3d"'+g[c]+'" ');a.push(" /\x3e\x3c/div\x3e");return a.join("")})}},textarea:function(a,f,c){if(!(3>arguments.length)){b.call(this,f);var e=this,g=this._.inputId=CKEDITOR.tools.getNextId()+"_textarea",h={};f.validate&&(this.validate=f.validate);h.rows=f.rows||5;h.cols=f.cols||20;h["class"]="cke_dialog_ui_input_textarea "+(f["class"]||"");"undefined"!=typeof f.inputStyle&&(h.style=f.inputStyle);f.dir&&(h.dir=f.dir);if(e.bidi)a.on("load", +function(){e.getInputElement().on("keyup",l)},e);CKEDITOR.ui.dialog.labeledElement.call(this,a,f,c,function(){h["aria-labelledby"]=this._.labelId;this._.required&&(h["aria-required"]=this._.required);var a=['\x3cdiv class\x3d"cke_dialog_ui_input_textarea" role\x3d"presentation"\x3e\x3ctextarea id\x3d"',g,'" '],c;for(c in h)a.push(c+'\x3d"'+CKEDITOR.tools.htmlEncode(h[c])+'" ');a.push("\x3e",CKEDITOR.tools.htmlEncode(e._["default"]),"\x3c/textarea\x3e\x3c/div\x3e");return a.join("")})}},checkbox:function(a, +f,c){if(!(3>arguments.length)){var e=b.call(this,f,{"default":!!f["default"]});f.validate&&(this.validate=f.validate);CKEDITOR.ui.dialog.uiElement.call(this,a,f,c,"span",null,null,function(){var c=CKEDITOR.tools.extend({},f,{id:f.id?f.id+"_checkbox":CKEDITOR.tools.getNextId()+"_checkbox"},!0),b=[],g=CKEDITOR.tools.getNextId()+"_label",h={"class":"cke_dialog_ui_checkbox_input",type:"checkbox","aria-labelledby":g};k(c);f["default"]&&(h.checked="checked");"undefined"!=typeof c.inputStyle&&(c.style=c.inputStyle); +e.checkbox=new CKEDITOR.ui.dialog.uiElement(a,c,b,"input",null,h);b.push(' \x3clabel id\x3d"',g,'" for\x3d"',h.id,'"'+(f.labelStyle?' style\x3d"'+f.labelStyle+'"':"")+"\x3e",CKEDITOR.tools.htmlEncode(f.label),"\x3c/label\x3e");return b.join("")})}},radio:function(a,f,c){if(!(3>arguments.length)){b.call(this,f);this._["default"]||(this._["default"]=this._.initValue=f.items[0][1]);f.validate&&(this.validate=f.validate);var e=[],g=this;f.role="radiogroup";f.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this, +a,f,c,function(){for(var c=[],b=[],h=(f.id?f.id:CKEDITOR.tools.getNextId())+"_radio",l=0;larguments.length)){var e=b.call(this,f);f.validate&&(this.validate=f.validate);e.inputId=CKEDITOR.tools.getNextId()+"_select";CKEDITOR.ui.dialog.labeledElement.call(this,a,f,c,function(){var c=CKEDITOR.tools.extend({},f,{id:f.id?f.id+"_select":CKEDITOR.tools.getNextId()+"_select"},!0),b=[],g=[],h={id:e.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};b.push('\x3cdiv class\x3d"cke_dialog_ui_input_', +f.type,'" role\x3d"presentation"');f.width&&b.push('style\x3d"width:'+f.width+'" ');b.push("\x3e");void 0!==f.size&&(h.size=f.size);void 0!==f.multiple&&(h.multiple=f.multiple);k(c);for(var l=0,m;larguments.length)){void 0===f["default"]&&(f["default"]="");var e=CKEDITOR.tools.extend(b.call(this,f),{definition:f,buttons:[]});f.validate&&(this.validate=f.validate);a.on("load",function(){CKEDITOR.document.getById(e.frameId).getParent().addClass("cke_dialog_ui_input_file")});CKEDITOR.ui.dialog.labeledElement.call(this,a,f,c,function(){e.frameId=CKEDITOR.tools.getNextId()+"_fileInput";var a=['\x3ciframe frameborder\x3d"0" allowtransparency\x3d"0" class\x3d"cke_dialog_ui_input_file" role\x3d"presentation" id\x3d"', +e.frameId,'" title\x3d"',f.label,'" src\x3d"javascript:void('];a.push(CKEDITOR.env.ie?"(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"})()":"0");a.push(')"\x3e\x3c/iframe\x3e');return a.join("")})}},fileButton:function(a,f,c){var e=this;if(!(3>arguments.length)){b.call(this,f);f.validate&&(this.validate=f.validate);var g=CKEDITOR.tools.extend({},f),h=g.onClick;g.className=(g.className?g.className+" ":"")+"cke_dialog_ui_button";g.onClick=function(c){var b= +f["for"];c=h?h.call(this,c):!1;!1!==c&&("xhr"!==c&&a.getContentElement(b[0],b[1]).submit(),this.disable())};a.on("load",function(){a.getContentElement(f["for"][0],f["for"][1])._.buttons.push(e)});CKEDITOR.ui.dialog.button.call(this,a,g,c)}},html:function(){var a=/^\s*<[\w:]+\s+([^>]*)?>/,b=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,c=/\/$/;return function(e,g,h){if(!(3>arguments.length)){var k=[],l=g.html;"\x3c"!=l.charAt(0)&&(l="\x3cspan\x3e"+l+"\x3c/span\x3e");var m=g.focus;if(m){var x=this.focus; +this.focus=function(){("function"==typeof m?m:x).call(this);this.fire("focus")};g.isFocusable&&(this.isFocusable=this.isFocusable);this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,e,g,k,"span",null,null,"");k=k.join("").match(a);l=l.match(b)||["","",""];c.test(l[1])&&(l[1]=l[1].slice(0,-1),l[2]="/"+l[2]);h.push([l[1]," ",k[1]||"",l[2]].join(""))}}}(),fieldset:function(a,b,c,e,g){var h=g.label;this._={children:b};CKEDITOR.ui.dialog.uiElement.call(this,a,g,e,"fieldset",null,null,function(){var a= +[];h&&a.push("\x3clegend"+(g.labelStyle?' style\x3d"'+g.labelStyle+'"':"")+"\x3e"+h+"\x3c/legend\x3e");for(var d=0;db.getChildCount()?(new CKEDITOR.dom.text(a,CKEDITOR.document)).appendTo(b):b.getChild(0).$.nodeValue= +a;return this},getLabel:function(){var a=CKEDITOR.document.getById(this._.labelId);return!a||1>a.getChildCount()?"":a.getChild(0).getText()},eventProcessors:a},!0);CKEDITOR.ui.dialog.button.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{click:function(){return this._.disabled?!1:this.fire("click",{dialog:this._.dialog})},enable:function(){this._.disabled=!1;var a=this.getElement();a&&a.removeClass("cke_disabled")},disable:function(){this._.disabled=!0;this.getElement().addClass("cke_disabled")}, isVisible:function(){return this.getElement().getFirst().isVisible()},isEnabled:function(){return!this._.disabled},eventProcessors:CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onClick:function(a,b){this.on("click",function(){b.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 a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&&b.$.focus()},0)},select:function(){var a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&&(b.$.focus(),b.$.select())},0)},accessKeyUp:function(){this.select()},setValue:function(a){if(this.bidi){var b=a&&a.charAt(0);(b="‪"==b?"ltr":"‫"==b?"rtl":null)&&(a=a.slice(1));this.setDirectionMarker(b)}a||(a="");return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply(this,arguments)}, -getValue:function(){var a=CKEDITOR.ui.dialog.uiElement.prototype.getValue.call(this);if(this.bidi&&a){var b=this.getDirectionMarker();b&&(a=("ltr"==b?"‪":"‫")+a)}return a},setDirectionMarker:function(a){var b=this.getInputElement();a?b.setAttributes({dir:a,"data-cke-dir-marker":a}):this.getDirectionMarker()&&b.removeAttributes(["dir","data-cke-dir-marker"])},getDirectionMarker:function(){return this.getInputElement().data("cke-dir-marker")},keyboardFocusable:!0},a,!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(a,b,c){var g=new CKEDITOR.dom.element("option",this.getDialog().getParentEditor().document),f=this.getInputElement().$;g.$.text=a;g.$.value=void 0===b||null===b?a:b;void 0===c||null===c?CKEDITOR.env.ie?f.add(g.$):f.add(g.$,null):f.add(g.$,c);return this},remove:function(a){this.getInputElement().$.remove(a); -return this},clear:function(){for(var a=this.getInputElement().$;0c-a;d--)if(this._.tabs[this._.tabIdList[d%a]][0].$.offsetHeight)return this._.tabIdList[d%a];return null}function f(){for(var a=this._.tabIdList.length,c=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId),d=c+1;dl.width-k.width-f?l.width-k.width+("rtl"==g.lang.dir?0:h[1]):e.x;k=e.y+h[0]l.height-k.height-f?l.height-k.height+h[2]:e.y;m=Math.floor(m);k=Math.floor(k);a.move(m,k,1);d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mousemove",c);CKEDITOR.document.removeListener("mouseup",d);if(CKEDITOR.env.ie6Compat){var a=G.getChild(0).getFrameDocument();a.removeListener("mousemove",c);a.removeListener("mouseup",d)}}var b=null,e=null,g=a.getParentEditor(), -f=g.config.dialog_magnetDistance,h=CKEDITOR.skin.margins||[0,0,0,0];"undefined"==typeof f&&(f=20);a.parts.title.on("mousedown",function(g){if(!a._.moved){var f=a._.element;f.getFirst().setStyle("position","absolute");f.removeStyle("display");a._.moved=!0;a.layout()}b={x:g.data.$.screenX,y:g.data.$.screenY};CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);e=a.getPosition();CKEDITOR.env.ie6Compat&&(f=G.getChild(0).getFrameDocument(),f.on("mousemove",c),f.on("mouseup",d));g.data.preventDefault()}, -a)}function r(a){function c(d){var n="rtl"==g.lang.dir,r=m.width,v=m.height,u=r+(d.data.$.screenX-l.x)*(n?-1:1)*(a._.moved?1:2),x=v+(d.data.$.screenY-l.y)*(a._.moved?1:2),y=a._.element.getFirst(),y=n&&parseInt(y.getComputedStyle("right"),10),w=a.getPosition();w.x=w.x||0;w.y=w.y||0;w.y+x>k.height&&(x=k.height-w.y);(n?y:w.x)+u>k.width&&(u=k.width-(n?y:w.x));x=Math.floor(x);u=Math.floor(u);if(e==CKEDITOR.DIALOG_RESIZE_WIDTH||e==CKEDITOR.DIALOG_RESIZE_BOTH)r=Math.max(b.minWidth||0,u-f);if(e==CKEDITOR.DIALOG_RESIZE_HEIGHT|| -e==CKEDITOR.DIALOG_RESIZE_BOTH)v=Math.max(b.minHeight||0,x-h);a.resize(r,v);a._.moved&&t(a,a._.position.x,a._.position.y);a._.moved||a.layout();d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mouseup",d);CKEDITOR.document.removeListener("mousemove",c);n&&(n.remove(),n=null);if(CKEDITOR.env.ie6Compat){var a=G.getChild(0).getFrameDocument();a.removeListener("mouseup",d);a.removeListener("mousemove",c)}}var b=a.definition,e=b.resizable;if(e!=CKEDITOR.DIALOG_RESIZE_NONE){var g= -a.getParentEditor(),f,h,k,l,m,n,r=CKEDITOR.tools.addFunction(function(b){function e(a){return a.isVisible()}m=a.getSize();var g=a.parts.contents,r=g.$.getElementsByTagName("iframe").length,v=!(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.quirks);r&&(n=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_dialog_resize_cover" style\x3d"height: 100%; position: absolute; width: 100%; left:0; top:0;"\x3e\x3c/div\x3e'),g.append(n));h=m.height-a.parts.contents.getFirst(e).getSize("height",v); -f=m.width-a.parts.contents.getFirst(e).getSize("width",1);l={x:b.screenX,y:b.screenY};k=CKEDITOR.document.getWindow().getViewPaneSize();CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);CKEDITOR.env.ie6Compat&&(g=G.getChild(0).getFrameDocument(),g.on("mousemove",c),g.on("mouseup",d));b.preventDefault&&b.preventDefault()});a.on("load",function(){var c="";e==CKEDITOR.DIALOG_RESIZE_WIDTH?c=" cke_resizer_horizontal":e==CKEDITOR.DIALOG_RESIZE_HEIGHT&&(c=" cke_resizer_vertical");c=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_resizer'+ -c+" cke_resizer_"+g.lang.dir+'" title\x3d"'+CKEDITOR.tools.htmlEncode(g.lang.common.resize)+'" onmousedown\x3d"CKEDITOR.tools.callFunction('+r+', event )"\x3e'+("ltr"==g.lang.dir?"◢":"◣")+"\x3c/div\x3e");a.parts.footer.append(c,1)});g.on("destroy",function(){CKEDITOR.tools.removeFunction(r)})}}function t(a,c,d){var b=a.parts.dialog.getParent().getClientSize(),e=a.getSize(),g=a._.viewportRatio,f=Math.max(b.width-e.width,0),b=Math.max(b.height-e.height,0);g.width=f?c/f:g.width;g.height=b?d/b:g.height; -a._.viewportRatio=g}function q(a){a.data.preventDefault(1)}function p(a){var c=a.config,d=CKEDITOR.skinName||a.config.skin,b=c.dialog_backgroundCoverColor||("moono-lisa"==d?"black":"white"),d=c.dialog_backgroundCoverOpacity,e=c.baseFloatZIndex,c=CKEDITOR.tools.genKey(b,d,e),g=I[c];CKEDITOR.document.getBody().addClass("cke_dialog_open");g?g.show():(e=['\x3cdiv tabIndex\x3d"-1" style\x3d"position: ',CKEDITOR.env.ie6Compat?"absolute":"fixed","; z-index: ",e,"; top: 0px; left: 0px; ","; width: 100%; height: 100%;", -CKEDITOR.env.ie6Compat?"":"background-color: "+b,'" class\x3d"cke_dialog_background_cover"\x3e'],CKEDITOR.env.ie6Compat&&(b="\x3chtml\x3e\x3cbody style\x3d\\'background-color:"+b+";\\'\x3e\x3c/body\x3e\x3c/html\x3e",e.push('\x3ciframe hidefocus\x3d"true" frameborder\x3d"0" id\x3d"cke_dialog_background_iframe" src\x3d"javascript:'),e.push("void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.write( '"+b+"' );document.close();")+"})())"),e.push('" style\x3d"position:absolute;left:0;top:0;width:100%;height: 100%;filter: progid:DXImageTransform.Microsoft.Alpha(opacity\x3d0)"\x3e\x3c/iframe\x3e')), -e.push("\x3c/div\x3e"),g=CKEDITOR.dom.element.createFromHtml(e.join("")),g.setOpacity(void 0!==d?d:.5),g.on("keydown",q),g.on("keypress",q),g.on("keyup",q),g.appendTo(CKEDITOR.document.getBody()),I[c]=g);a.focusManager.add(g);G=g;CKEDITOR.env.mac&&CKEDITOR.env.webkit||g.focus()}function u(a){CKEDITOR.document.getBody().removeClass("cke_dialog_open");G&&(a.focusManager.remove(G),G.hide())}function y(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,e=String.fromCharCode(a.data.$.keyCode); -(c=K[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+e])&&c.length&&(c=c[c.length-1],c.keydown&&c.keydown.call(c.uiElement,c.dialog,c.key),a.data.preventDefault())}function v(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,e=String.fromCharCode(a.data.$.keyCode);(c=K[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+e])&&c.length&&(c=c[c.length-1],c.keyup&&(c.keyup.call(c.uiElement,c.dialog,c.key),a.data.preventDefault()))}function A(a,c,d,b,e){(K[d]||(K[d]=[])).push({uiElement:a, -dialog:c,key:d,keyup:e||a.accessKeyUp,keydown:b||a.accessKeyDown})}function z(a){for(var c in K){for(var d=K[c],b=d.length-1;0<=b;b--)d[b].dialog!=a&&d[b].uiElement!=a||d.splice(b,1);0===d.length&&delete K[c]}}function w(a,c){a._.accessKeyMap[c]&&a.selectPage(a._.accessKeyMap[c])}function x(){}var B=CKEDITOR.tools.cssLength,C,G,E=!CKEDITOR.env.ie||CKEDITOR.env.edge,J='\x3cdiv class\x3d"cke_reset_all cke_dialog_container {editorId} {editorDialogClass} {hidpi}" dir\x3d"{langDir}" style\x3d"'+(E?"display:flex": -"")+'" lang\x3d"{langCode}" role\x3d"dialog" aria-labelledby\x3d"cke_dialog_title_{id}"\x3e\x3ctable class\x3d"cke_dialog '+CKEDITOR.env.cssClass+' cke_{langDir}" style\x3d"'+(E?"margin:auto":"position:absolute")+'" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd role\x3d"presentation"\x3e\x3cdiv class\x3d"cke_dialog_body" role\x3d"presentation"\x3e\x3cdiv id\x3d"cke_dialog_title_{id}" class\x3d"cke_dialog_title" role\x3d"presentation"\x3e\x3c/div\x3e\x3ca id\x3d"cke_dialog_close_button_{id}" class\x3d"cke_dialog_close_button" href\x3d"javascript:void(0)" title\x3d"{closeTitle}" role\x3d"button"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e\x3cdiv id\x3d"cke_dialog_tabs_{id}" class\x3d"cke_dialog_tabs" role\x3d"tablist"\x3e\x3c/div\x3e\x3ctable class\x3d"cke_dialog_contents" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd id\x3d"cke_dialog_contents_{id}" class\x3d"cke_dialog_contents_body" role\x3d"presentation"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd id\x3d"cke_dialog_footer_{id}" class\x3d"cke_dialog_footer" role\x3d"presentation"\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'; -CKEDITOR.dialog=function(a,c){function d(){var a=B._.focusList;a.sort(function(a,c){return a.tabIndex!=c.tabIndex?c.tabIndex-a.tabIndex:a.focusIndex-c.focusIndex});for(var c=a.length,b=0;bc.length)){var d=B._.currentFocusIndex;B._.tabBarMode&&0>a&&(d=0);try{c[d].getInputElement().$.blur()}catch(b){}var e=d,g=1c-a;d--)if(this._.tabs[this._.tabIdList[d%a]][0].$.offsetHeight)return this._.tabIdList[d%a];return null}function g(){for(var a=this._.tabIdList.length,c=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId),d=c+1;dl.width-k.width-g?l.width-k.width+("rtl"==e.lang.dir?0:h[1]):f.x;k=f.y+h[0]l.height-k.height-g?l.height-k.height+h[2]:f.y;n=Math.floor(n);k=Math.floor(k);a.move(n,k,1);d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mousemove",c);CKEDITOR.document.removeListener("mouseup",d);if(CKEDITOR.env.ie6Compat){var a=F.getChild(0).getFrameDocument();a.removeListener("mousemove",c);a.removeListener("mouseup",d)}}var b=null,f=null,e=a.getParentEditor(), +g=e.config.dialog_magnetDistance,h=CKEDITOR.skin.margins||[0,0,0,0];"undefined"==typeof g&&(g=20);a.parts.title.on("mousedown",function(e){if(!a._.moved){var g=a._.element;g.getFirst().setStyle("position","absolute");g.removeStyle("display");a._.moved=!0;a.layout()}b={x:e.data.$.screenX,y:e.data.$.screenY};CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);f=a.getPosition();CKEDITOR.env.ie6Compat&&(g=F.getChild(0).getFrameDocument(),g.on("mousemove",c),g.on("mouseup",d));e.data.preventDefault()}, +a)}function r(a){function c(d){var m="rtl"==e.lang.dir,r=n.width,u=n.height,y=r+(d.data.$.screenX-l.x)*(m?-1:1)*(a._.moved?1:2),x=u+(d.data.$.screenY-l.y)*(a._.moved?1:2),v=a._.element.getFirst(),v=m&&parseInt(v.getComputedStyle("right"),10),w=a.getPosition();w.x=w.x||0;w.y=w.y||0;w.y+x>k.height&&(x=k.height-w.y);(m?v:w.x)+y>k.width&&(y=k.width-(m?v:w.x));x=Math.floor(x);y=Math.floor(y);if(f==CKEDITOR.DIALOG_RESIZE_WIDTH||f==CKEDITOR.DIALOG_RESIZE_BOTH)r=Math.max(b.minWidth||0,y-g);if(f==CKEDITOR.DIALOG_RESIZE_HEIGHT|| +f==CKEDITOR.DIALOG_RESIZE_BOTH)u=Math.max(b.minHeight||0,x-h);a.resize(r,u);a._.moved&&t(a,a._.position.x,a._.position.y);a._.moved||a.layout();d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mouseup",d);CKEDITOR.document.removeListener("mousemove",c);m&&(m.remove(),m=null);if(CKEDITOR.env.ie6Compat){var a=F.getChild(0).getFrameDocument();a.removeListener("mouseup",d);a.removeListener("mousemove",c)}}var b=a.definition,f=b.resizable;if(f!=CKEDITOR.DIALOG_RESIZE_NONE){var e= +a.getParentEditor(),g,h,k,l,n,m,r=CKEDITOR.tools.addFunction(function(b){function f(a){return a.isVisible()}n=a.getSize();var e=a.parts.contents,r=e.$.getElementsByTagName("iframe").length,u=!(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.quirks);r&&(m=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_dialog_resize_cover" style\x3d"height: 100%; position: absolute; width: 100%; left:0; top:0;"\x3e\x3c/div\x3e'),e.append(m));h=n.height-a.parts.contents.getFirst(f).getSize("height",u); +g=n.width-a.parts.contents.getFirst(f).getSize("width",1);l={x:b.screenX,y:b.screenY};k=CKEDITOR.document.getWindow().getViewPaneSize();CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);CKEDITOR.env.ie6Compat&&(e=F.getChild(0).getFrameDocument(),e.on("mousemove",c),e.on("mouseup",d));b.preventDefault&&b.preventDefault()});a.on("load",function(){var c="";f==CKEDITOR.DIALOG_RESIZE_WIDTH?c=" cke_resizer_horizontal":f==CKEDITOR.DIALOG_RESIZE_HEIGHT&&(c=" cke_resizer_vertical");c=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_resizer'+ +c+" cke_resizer_"+e.lang.dir+'" title\x3d"'+CKEDITOR.tools.htmlEncode(e.lang.common.resize)+'" onmousedown\x3d"CKEDITOR.tools.callFunction('+r+', event )"\x3e'+("ltr"==e.lang.dir?"◢":"◣")+"\x3c/div\x3e");a.parts.footer.append(c,1)});e.on("destroy",function(){CKEDITOR.tools.removeFunction(r)})}}function t(a,c,d){var b=a.parts.dialog.getParent().getClientSize(),f=a.getSize(),e=a._.viewportRatio,g=Math.max(b.width-f.width,0),b=Math.max(b.height-f.height,0);e.width=g?c/g:e.width;e.height=b?d/b:e.height; +a._.viewportRatio=e}function q(a){a.data.preventDefault(1)}function p(a){var c=a.config,d=CKEDITOR.skinName||a.config.skin,b=c.dialog_backgroundCoverColor||("moono-lisa"==d?"black":"white"),d=c.dialog_backgroundCoverOpacity,f=c.baseFloatZIndex,c=CKEDITOR.tools.genKey(b,d,f),e=J[c];CKEDITOR.document.getBody().addClass("cke_dialog_open");e?e.show():(f=['\x3cdiv tabIndex\x3d"-1" style\x3d"position: ',CKEDITOR.env.ie6Compat?"absolute":"fixed","; z-index: ",f,"; top: 0px; left: 0px; ","; width: 100%; height: 100%;", +CKEDITOR.env.ie6Compat?"":"background-color: "+b,'" class\x3d"cke_dialog_background_cover"\x3e'],CKEDITOR.env.ie6Compat&&(b="\x3chtml\x3e\x3cbody style\x3d\\'background-color:"+b+";\\'\x3e\x3c/body\x3e\x3c/html\x3e",f.push('\x3ciframe hidefocus\x3d"true" frameborder\x3d"0" id\x3d"cke_dialog_background_iframe" src\x3d"javascript:'),f.push("void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.write( '"+b+"' );document.close();")+"})())"),f.push('" style\x3d"position:absolute;left:0;top:0;width:100%;height: 100%;filter: progid:DXImageTransform.Microsoft.Alpha(opacity\x3d0)"\x3e\x3c/iframe\x3e')), +f.push("\x3c/div\x3e"),e=CKEDITOR.dom.element.createFromHtml(f.join("")),e.setOpacity(void 0!==d?d:.5),e.on("keydown",q),e.on("keypress",q),e.on("keyup",q),e.appendTo(CKEDITOR.document.getBody()),J[c]=e);a.focusManager.add(e);F=e;CKEDITOR.env.mac&&CKEDITOR.env.webkit||e.focus()}function v(a){CKEDITOR.document.getBody().removeClass("cke_dialog_open");F&&(a.focusManager.remove(F),F.hide())}function x(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,f=String.fromCharCode(a.data.$.keyCode); +(c=K[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+f])&&c.length&&(c=c[c.length-1],c.keydown&&c.keydown.call(c.uiElement,c.dialog,c.key),a.data.preventDefault())}function u(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,f=String.fromCharCode(a.data.$.keyCode);(c=K[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+f])&&c.length&&(c=c[c.length-1],c.keyup&&(c.keyup.call(c.uiElement,c.dialog,c.key),a.data.preventDefault()))}function A(a,c,d,b,f){(K[d]||(K[d]=[])).push({uiElement:a, +dialog:c,key:d,keyup:f||a.accessKeyUp,keydown:b||a.accessKeyDown})}function z(a){for(var c in K){for(var d=K[c],b=d.length-1;0<=b;b--)d[b].dialog!=a&&d[b].uiElement!=a||d.splice(b,1);0===d.length&&delete K[c]}}function w(a,c){a._.accessKeyMap[c]&&a.selectPage(a._.accessKeyMap[c])}function y(){}var B=CKEDITOR.tools.cssLength,C,F,G=!CKEDITOR.env.ie||CKEDITOR.env.edge,I='\x3cdiv class\x3d"cke_reset_all cke_dialog_container {editorId} {editorDialogClass} {hidpi}" dir\x3d"{langDir}" style\x3d"'+(G?"display:flex": +"")+'" lang\x3d"{langCode}" role\x3d"dialog" aria-labelledby\x3d"cke_dialog_title_{id}"\x3e\x3ctable class\x3d"cke_dialog '+CKEDITOR.env.cssClass+' cke_{langDir}" style\x3d"'+(G?"margin:auto":"position:absolute")+'" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd role\x3d"presentation"\x3e\x3cdiv class\x3d"cke_dialog_body" role\x3d"presentation"\x3e\x3cdiv id\x3d"cke_dialog_title_{id}" class\x3d"cke_dialog_title" role\x3d"presentation"\x3e\x3c/div\x3e\x3ca id\x3d"cke_dialog_close_button_{id}" class\x3d"cke_dialog_close_button" href\x3d"javascript:void(0)" title\x3d"{closeTitle}" role\x3d"button"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e\x3cdiv id\x3d"cke_dialog_tabs_{id}" class\x3d"cke_dialog_tabs" role\x3d"tablist"\x3e\x3c/div\x3e\x3ctable class\x3d"cke_dialog_contents" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd id\x3d"cke_dialog_contents_{id}" class\x3d"cke_dialog_contents_body" role\x3d"presentation"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd id\x3d"cke_dialog_footer_{id}" class\x3d"cke_dialog_footer" role\x3d"presentation"\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'; +CKEDITOR.dialog=function(c,d){function e(){var a=B._.focusList;a.sort(function(a,c){return a.tabIndex!=c.tabIndex?c.tabIndex-a.tabIndex:a.focusIndex-c.focusIndex});for(var c=a.length,d=0;dc.length)){var d=B._.currentFocusIndex;B._.tabBarMode&&0>a&&(d=0);try{c[d].getInputElement().$.blur()}catch(b){}var f=d,e=1arguments.length)){var h=(b.call?b(c):b)||"div",k=["\x3c",h," "],l=(e&&e.call?e(c):e)||{},m=(g&&g.call?g(c):g)||{},n=(f&&f.call?f.call(this,a,c):f)||"",r=this.domId=m.id||CKEDITOR.tools.getNextId()+"_uiElement";c.requiredContent&&!a.getParentEditor().filter.check(c.requiredContent)&&(l.display="none",this.notAllowed=!0);m.id=r;var v={};c.type&&(v["cke_dialog_ui_"+c.type]=1);c.className&&(v[c.className]= -1);c.disabled&&(v.cke_disabled=1);for(var x=m["class"]&&m["class"].split?m["class"].split(" "):[],r=0;rCKEDITOR.env.version?"cke_dialog_ui_focused":"";c.on("focus",function(){a._.tabBarMode=!1;a._.hasFocus=!0;u.fire("focus");d&&this.addClass(d)});c.on("blur",function(){u.fire("blur"); -d&&this.removeClass(d)})}});CKEDITOR.tools.extend(this,c);this.keyboardFocusable&&(this.tabIndex=c.tabIndex||0,this.focusIndex=a._.focusList.push(this)-1,this.on("focus",function(){a._.currentFocusIndex=u.focusIndex}))}},hbox:function(a,c,d,b,e){if(!(4>arguments.length)){this._||(this._={});var g=this._.children=c,f=e&&e.widths||null,h=e&&e.height||null,k,l={role:"presentation"};e&&e.align&&(l.align=e.align);CKEDITOR.ui.dialog.uiElement.call(this,a,e||{type:"hbox"},b,"table",{},l,function(){var a= -['\x3ctbody\x3e\x3ctr class\x3d"cke_dialog_ui_hbox"\x3e'];for(k=0;karguments.length)){this._||(this._={});var g=this._.children=c,f=e&&e.width||null,h=e&&e.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,a,e||{type:"vbox"},b,"div",null,{role:"presentation"},function(){var c=['\x3ctable role\x3d"presentation" cellspacing\x3d"0" border\x3d"0" '];c.push('style\x3d"');e&&e.expand&&c.push("height:100%;"); -c.push("width:"+B(f||"100%"),";");CKEDITOR.env.webkit&&c.push("float:none;");c.push('"');c.push('align\x3d"',CKEDITOR.tools.htmlEncode(e&&e.align||("ltr"==a.getParentEditor().lang.dir?"left":"right")),'" ');c.push("\x3e\x3ctbody\x3e");for(var b=0;barguments.length)){var h=(b.call?b(c):b)||"div",k=["\x3c",h," "],l=(f&&f.call?f(c):f)||{},n=(e&&e.call?e(c):e)||{},m=(g&&g.call?g.call(this,a,c):g)||"",r=this.domId=n.id||CKEDITOR.tools.getNextId()+"_uiElement";c.requiredContent&&!a.getParentEditor().filter.check(c.requiredContent)&&(l.display="none",this.notAllowed=!0);n.id=r;var u={};c.type&&(u["cke_dialog_ui_"+c.type]=1);c.className&&(u[c.className]= +1);c.disabled&&(u.cke_disabled=1);for(var y=n["class"]&&n["class"].split?n["class"].split(" "):[],r=0;rCKEDITOR.env.version?"cke_dialog_ui_focused":"";c.on("focus",function(){a._.tabBarMode=!1;a._.hasFocus=!0;x.fire("focus");d&&this.addClass(d)});c.on("blur",function(){x.fire("blur"); +d&&this.removeClass(d)})}});CKEDITOR.tools.extend(this,c);this.keyboardFocusable&&(this.tabIndex=c.tabIndex||0,this.focusIndex=a._.focusList.push(this)-1,this.on("focus",function(){a._.currentFocusIndex=x.focusIndex}))}},hbox:function(a,c,d,b,f){if(!(4>arguments.length)){this._||(this._={});var e=this._.children=c,g=f&&f.widths||null,h=f&&f.height||null,k,l={role:"presentation"};f&&f.align&&(l.align=f.align);CKEDITOR.ui.dialog.uiElement.call(this,a,f||{type:"hbox"},b,"table",{},l,function(){var a= +['\x3ctbody\x3e\x3ctr class\x3d"cke_dialog_ui_hbox"\x3e'];for(k=0;karguments.length)){this._||(this._={});var e=this._.children=c,g=f&&f.width||null,h=f&&f.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,a,f||{type:"vbox"},b,"div",null,{role:"presentation"},function(){var c=['\x3ctable role\x3d"presentation" cellspacing\x3d"0" border\x3d"0" '];c.push('style\x3d"');f&&f.expand&&c.push("height:100%;"); +c.push("width:"+B(g||"100%"),";");CKEDITOR.env.webkit&&c.push("float:none;");c.push('"');c.push('align\x3d"',CKEDITOR.tools.htmlEncode(f&&f.align||("ltr"==a.getParentEditor().lang.dir?"left":"right")),'" ');c.push("\x3e\x3ctbody\x3e");for(var b=0;barguments.length)return this._.children.concat();a.splice||(a=[a]);return 2>a.length?this._.children[a[0]]:this._.children[a[0]]&&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,d){for(var b=c.children,e,g=[],f=[],h=0;harguments.length)return this._.children.concat();a.splice||(a=[a]);return 2>a.length?this._.children[a[0]]:this._.children[a[0]]&&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,d){for(var b=c.children,f,e=[],g=[],h=0;hk.length&&(f=b.document.createElement(b.config.enterMode==CKEDITOR.ENTER_P?"p":"div"),l=m.shift(),g.insertNode(f),f.append(new CKEDITOR.dom.text("",b.document)),g.moveToBookmark(l),g.selectNodeContents(f),g.collapse(!0),l=g.createBookmark(),k.push(f),m.unshift(l));d=k[0].getParent();g=[];for(l=0;la||(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,g=new CKEDITOR.dom.element("div");g.addClass("cke_notifications_area");g.setAttribute("id","cke_notifications_area_"+b.name);g.setStyle("z-index",a.baseFloatZIndex- -2);return g},_attachListeners:function(){var b=CKEDITOR.document.getWindow(),a=this.editor;b.on("scroll",this._uiBuffer.input);b.on("resize",this._uiBuffer.input);a.on("change",this._changeBuffer.input);a.on("floatingSpaceLayout",this._layout,this,null,20);a.on("blur",this._layout,this,null,20)},_removeListeners:function(){var b=CKEDITOR.document.getWindow(),a=this.editor;b.removeListener("scroll",this._uiBuffer.input);b.removeListener("resize",this._uiBuffer.input);a.removeListener("change",this._changeBuffer.input); -a.removeListener("floatingSpaceLayout",this._layout);a.removeListener("blur",this._layout)},_layout:function(){function b(){a.setStyle("left",y(v+h.width-n-r))}var a=this.element,g=this.editor,h=g.ui.contentsElement.getClientRect(),k=g.ui.contentsElement.getDocumentPosition(),l,d,e=a.getClientRect(),c,n=this._notificationWidth,r=this._notificationMargin;c=CKEDITOR.document.getWindow();var t=c.getScrollPosition(),q=c.getViewPaneSize(),p=CKEDITOR.document.getBody(),u=p.getDocumentPosition(),y=CKEDITOR.tools.cssLength; -n&&r||(c=this.element.getChild(0),n=this._notificationWidth=c.getClientRect().width,r=this._notificationMargin=parseInt(c.getComputedStyle("margin-left"),10)+parseInt(c.getComputedStyle("margin-right"),10));g.toolbar&&(l=g.ui.space("top"),d=l.getClientRect());l&&l.isVisible()&&d.bottom>h.top&&d.bottomt.y?a.setStyles({position:"fixed",top:0}):a.setStyles({position:"absolute", -top:y(k.y+h.height-e.height)});var v="fixed"==a.getStyle("position")?h.left:"static"!=p.getComputedStyle("position")?k.x-u.x:k.x;h.widtht.x+q.width?b():a.setStyle("left",y(v)):k.x+n+r>t.x+q.width?a.setStyle("left",y(v)):k.x+h.width/2+n/2+r>t.x+q.width?a.setStyle("left",y(v-k.x+t.x+q.width-n-r)):0>h.left+h.width-n-r?b():0>h.left+h.width/2-n/2?a.setStyle("left",y(v-k.x+t.x)):a.setStyle("left",y(v+h.width/2-n/2-r/2))}};CKEDITOR.plugins.notification=b})();(function(){var b='\x3ca id\x3d"{id}" class\x3d"cke_button cke_button__{name} cke_button_{state} {cls}"'+ +cy:1,da:1,de:1,"de-ch":1,el:1,en:1,"en-au":1,"en-gb":1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fo:1,fr:1,"fr-ca":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,"pt-br":1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,"sr-latn":1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,"zh-cn":1},init:function(b){var h=this;b.addCommand("a11yHelp",{exec:function(){var g=b.langCode,g=h.availableLangs[g]?g:h.availableLangs[g.replace(/-.*/,"")]?g.replace(/-.*/,""): +"en";CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(h.path+"dialogs/lang/"+g+".js"),function(){b.lang.a11yhelp=h.langEntries[g];b.openDialog("a11yHelp")})},modes:{wysiwyg:1,source:1},readOnly:1,canUndo:!1});b.setKeystroke(CKEDITOR.ALT+48,"a11yHelp");CKEDITOR.dialog.add("a11yHelp",this.path+"dialogs/a11yhelp.js");b.on("ariaEditorHelpLabel",function(g){g.data.label=b.lang.common.editorHelp})}})})();CKEDITOR.plugins.add("about",{requires:"dialog",init:function(b){var h=b.addCommand("about",new CKEDITOR.dialogCommand("about")); +h.modes={wysiwyg:1,source:1};h.canUndo=!1;h.readOnly=1;b.ui.addButton&&b.ui.addButton("About",{label:b.lang.about.dlgTitle,command:"about",toolbar:"about"});CKEDITOR.dialog.add("about",this.path+"dialogs/about.js")}});CKEDITOR.plugins.add("basicstyles",{init:function(b){var h=0,g=function(a,g,d,f){if(f){f=new CKEDITOR.style(f);var c=e[d];c.unshift(f);b.attachStyleStateChange(f,function(a){!b.readOnly&&b.getCommand(d).setState(a)});b.addCommand(d,new CKEDITOR.styleCommand(f,{contentForms:c}));b.ui.addButton&& +b.ui.addButton(a,{label:g,command:d,toolbar:"basicstyles,"+(h+=10)})}},e={bold:["strong","b",["span",function(a){a=a.styles["font-weight"];return"bold"==a||700<=+a}]],italic:["em","i",["span",function(a){return"italic"==a.styles["font-style"]}]],underline:["u",["span",function(a){return"underline"==a.styles["text-decoration"]}]],strike:["s","strike",["span",function(a){return"line-through"==a.styles["text-decoration"]}]],subscript:["sub"],superscript:["sup"]},a=b.config,m=b.lang.basicstyles;g("Bold", +m.bold,"bold",a.coreStyles_bold);g("Italic",m.italic,"italic",a.coreStyles_italic);g("Underline",m.underline,"underline",a.coreStyles_underline);g("Strike",m.strike,"strike",a.coreStyles_strike);g("Subscript",m.subscript,"subscript",a.coreStyles_subscript);g("Superscript",m.superscript,"superscript",a.coreStyles_superscript);b.setKeystroke([[CKEDITOR.CTRL+66,"bold"],[CKEDITOR.CTRL+73,"italic"],[CKEDITOR.CTRL+85,"underline"]])}});CKEDITOR.config.coreStyles_bold={element:"strong",overrides:"b"};CKEDITOR.config.coreStyles_italic= +{element:"em",overrides:"i"};CKEDITOR.config.coreStyles_underline={element:"u"};CKEDITOR.config.coreStyles_strike={element:"s",overrides:"strike"};CKEDITOR.config.coreStyles_subscript={element:"sub"};CKEDITOR.config.coreStyles_superscript={element:"sup"};(function(){function b(a,d,b,f){if(!a.isReadOnly()&&!a.equals(b.editable())){CKEDITOR.dom.element.setMarker(f,a,"bidi_processed",1);f=a;for(var e=b.editable();(f=f.getParent())&&!f.equals(e);)if(f.getCustomData("bidi_processed")){a.removeStyle("direction"); +a.removeAttribute("dir");return}f="useComputedState"in b.config?b.config.useComputedState:1;(f?a.getComputedStyle("direction"):a.getStyle("direction")||a.hasAttribute("dir"))!=d&&(a.removeStyle("direction"),f?(a.removeAttribute("dir"),d!=a.getComputedStyle("direction")&&a.setAttribute("dir",d)):a.setAttribute("dir",d),b.forceNextSelectionCheck())}}function h(a,d,b){var f=a.getCommonAncestor(!1,!0);a=a.clone();a.enlarge(b==CKEDITOR.ENTER_BR?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS); +if(a.checkBoundaryOfElement(f,CKEDITOR.START)&&a.checkBoundaryOfElement(f,CKEDITOR.END)){for(var e;f&&f.type==CKEDITOR.NODE_ELEMENT&&(e=f.getParent())&&1==e.getChildCount()&&!(f.getName()in d);)f=e;return f.type==CKEDITOR.NODE_ELEMENT&&f.getName()in d&&f}}function g(c){return{context:"p",allowedContent:{"h1 h2 h3 h4 h5 h6 table ul ol blockquote div tr p div li td":{propertiesOnly:!0,attributes:"dir"}},requiredContent:"p[dir]",refresh:function(a,c){var d=a.config.useComputedState,b,d=void 0===d||d; +if(!d){b=c.lastElement;for(var f=a.editable();b&&!(b.getName()in k||b.equals(f));){var e=b.getParent();if(!e)break;b=e}}b=b||c.block||c.blockLimit;b.equals(a.editable())&&(f=a.getSelection().getRanges()[0].getEnclosedNode())&&f.type==CKEDITOR.NODE_ELEMENT&&(b=f);b&&(d=d?b.getComputedStyle("direction"):b.getStyle("direction")||b.getAttribute("dir"),a.getCommand("bidirtl").setState("rtl"==d?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF),a.getCommand("bidiltr").setState("ltr"==d?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)); +d=(c.block||c.blockLimit||a.editable()).getDirection(1);d!=(a._.selDir||a.lang.dir)&&(a._.selDir=d,a.fire("contentDirChanged",d))},exec:function(d){var f=d.getSelection(),e=d.config.enterMode,g=f.getRanges();if(g&&g.length){for(var k={},l=f.createBookmarks(),g=g.createIterator(),x,u=0;x=g.getNextRange(1);){var A=x.getEnclosedNode();A&&(!A||A.type==CKEDITOR.NODE_ELEMENT&&A.getName()in m)||(A=h(x,a,e));A&&b(A,c,d,k);var z=new CKEDITOR.dom.walker(x),w=l[u].startNode,y=l[u++].endNode;z.evaluator=function(c){var d= +e==CKEDITOR.ENTER_P?"p":"div",b;if(b=(c?c.type==CKEDITOR.NODE_ELEMENT:!1)&&c.getName()in a){if(d=c.is(d))d=(d=c.getParent())?d.type==CKEDITOR.NODE_ELEMENT:!1;b=!(d&&c.getParent().is("blockquote"))}return!!(b&&c.getPosition(w)&CKEDITOR.POSITION_FOLLOWING&&(c.getPosition(y)&CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_CONTAINS)==CKEDITOR.POSITION_PRECEDING)};for(;A=z.next();)b(A,c,d,k);x=x.createIterator();for(x.enlargeBr=e!=CKEDITOR.ENTER_BR;A=x.getNextParagraph(e==CKEDITOR.ENTER_P?"p":"div");)b(A, +c,d,k)}CKEDITOR.dom.element.clearAllMarkers(k);d.forceNextSelectionCheck();f.selectBookmarks(l);d.focus()}}}}function e(a){var d=a==l.setAttribute,b=a==l.removeAttribute,f=/\bdirection\s*:\s*(.*?)\s*(:?$|;)/;return function(e,g){if(!this.isReadOnly()){var h;if(h=e==(d||b?"dir":"direction")||"style"==e&&(b||f.test(g))){a:{h=this;for(var k=h.getDocument().getBody().getParent();h;){if(h.equals(k)){h=!1;break a}h=h.getParent()}h=!0}h=!h}if(h&&(h=this.getDirection(1),k=a.apply(this,arguments),h!=this.getDirection(1)))return this.getDocument().fire("dirChanged", +this),k}return a.apply(this,arguments)}}var a={table:1,ul:1,ol:1,blockquote:1,div:1},m={},k={};CKEDITOR.tools.extend(m,a,{tr:1,p:1,div:1,li:1});CKEDITOR.tools.extend(k,m,{td:1});CKEDITOR.plugins.add("bidi",{init:function(a){function d(b,f,e,g,h){a.addCommand(e,new CKEDITOR.command(a,g));a.ui.addButton&&a.ui.addButton(b,{label:f,command:e,toolbar:"bidi,"+h})}if(!a.blockless){var b=a.lang.bidi;d("BidiLtr",b.ltr,"bidiltr",g("ltr"),10);d("BidiRtl",b.rtl,"bidirtl",g("rtl"),20);a.on("contentDom",function(){a.document.on("dirChanged", +function(d){a.fire("dirChanged",{node:d.data,dir:d.data.getDirection(1)})})});a.on("contentDirChanged",function(d){d=(a.lang.dir!=d.data?"add":"remove")+"Class";var b=a.ui.space(a.config.toolbarLocation);if(b)b[d]("cke_mixed_dir_content")})}}});for(var l=CKEDITOR.dom.element.prototype,d=["setStyle","removeStyle","setAttribute","removeAttribute"],f=0;fk.length&&(g=b.document.createElement(b.config.enterMode==CKEDITOR.ENTER_P?"p":"div"),l=m.shift(),a.insertNode(g),g.append(new CKEDITOR.dom.text("",b.document)),a.moveToBookmark(l),a.selectNodeContents(g),a.collapse(!0),l=a.createBookmark(),k.push(g),m.unshift(l));d=k[0].getParent();a=[];for(l=0;le||(this.notifications.splice(e,1),b.element.remove(),this.element.getChildCount()||(this._removeListeners(),this.element.remove()))},_createElement:function(){var b=this.editor,e=b.config,a=new CKEDITOR.dom.element("div");a.addClass("cke_notifications_area");a.setAttribute("id","cke_notifications_area_"+b.name);a.setStyle("z-index",e.baseFloatZIndex- +2);return a},_attachListeners:function(){var b=CKEDITOR.document.getWindow(),e=this.editor;b.on("scroll",this._uiBuffer.input);b.on("resize",this._uiBuffer.input);e.on("change",this._changeBuffer.input);e.on("floatingSpaceLayout",this._layout,this,null,20);e.on("blur",this._layout,this,null,20)},_removeListeners:function(){var b=CKEDITOR.document.getWindow(),e=this.editor;b.removeListener("scroll",this._uiBuffer.input);b.removeListener("resize",this._uiBuffer.input);e.removeListener("change",this._changeBuffer.input); +e.removeListener("floatingSpaceLayout",this._layout);e.removeListener("blur",this._layout)},_layout:function(){function b(){e.setStyle("left",x(u+h.width-n-r))}var e=this.element,a=this.editor,h=a.ui.contentsElement.getClientRect(),k=a.ui.contentsElement.getDocumentPosition(),l,d,f=e.getClientRect(),c,n=this._notificationWidth,r=this._notificationMargin;c=CKEDITOR.document.getWindow();var t=c.getScrollPosition(),q=c.getViewPaneSize(),p=CKEDITOR.document.getBody(),v=p.getDocumentPosition(),x=CKEDITOR.tools.cssLength; +n&&r||(c=this.element.getChild(0),n=this._notificationWidth=c.getClientRect().width,r=this._notificationMargin=parseInt(c.getComputedStyle("margin-left"),10)+parseInt(c.getComputedStyle("margin-right"),10));a.toolbar&&(l=a.ui.space("top"),d=l.getClientRect());l&&l.isVisible()&&d.bottom>h.top&&d.bottomt.y?e.setStyles({position:"fixed",top:0}):e.setStyles({position:"absolute", +top:x(k.y+h.height-f.height)});var u="fixed"==e.getStyle("position")?h.left:"static"!=p.getComputedStyle("position")?k.x-v.x:k.x;h.widtht.x+q.width?b():e.setStyle("left",x(u)):k.x+n+r>t.x+q.width?e.setStyle("left",x(u)):k.x+h.width/2+n/2+r>t.x+q.width?e.setStyle("left",x(u-k.x+t.x+q.width-n-r)):0>h.left+h.width-n-r?b():0>h.left+h.width/2-n/2?e.setStyle("left",x(u-k.x+t.x)):e.setStyle("left",x(u+h.width/2-n/2-r/2))}};CKEDITOR.plugins.notification=b})();(function(){var b='\x3ca id\x3d"{id}" class\x3d"cke_button cke_button__{name} cke_button_{state} {cls}"'+ (CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' title\x3d"{title}" tabindex\x3d"-1" hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasArrow}" aria-disabled\x3d"{ariaDisabled}"';CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(b+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(b+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var h="";CKEDITOR.env.ie&&(h='return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26'); var b=b+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" onclick\x3d"'+h+'CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{style}"')+'\x3e\x26nbsp;\x3c/span\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_button_label cke_button__{name}_label" aria-hidden\x3d"false"\x3e{label}\x3c/span\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_button_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e{arrowHtml}\x3c/a\x3e', -f=CKEDITOR.addTemplate("buttonArrow",'\x3cspan class\x3d"cke_button_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":"")+"\x3c/span\x3e"),a=CKEDITOR.addTemplate("button",b);CKEDITOR.plugins.add("button",{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_BUTTON,CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON="button";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(b,h){function k(){var a=b.mode;a&&(a=this.modes[a]?void 0!==l[a]?l[a]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,a=b.readOnly&&!this.readOnly?CKEDITOR.TRISTATE_DISABLED:a,this.setState(a),this.refresh&&this.refresh())}var l=null,d=CKEDITOR.env,e=this._.id=CKEDITOR.tools.getNextId(),c="",n=this.command,r,t,q;this._.editor=b;var p={id:e,button:this,editor:b,focus:function(){CKEDITOR.document.getById(e).focus()},execute:function(){this.button.click(b)}, -attach:function(a){this.button.attach(a)}},u=CKEDITOR.tools.addFunction(function(a){if(p.onkey)return a=new CKEDITOR.dom.event(a),!1!==p.onkey(p,a.getKeystroke())}),y=CKEDITOR.tools.addFunction(function(a){var c;p.onfocus&&(c=!1!==p.onfocus(p,new CKEDITOR.dom.event(a)));return c}),v=0;p.clickFn=r=CKEDITOR.tools.addFunction(function(){v&&(b.unlockSelection(1),v=0);p.execute();d.iOS&&b.focus()});this.modes?(l={},b.on("beforeModeUnload",function(){b.mode&&this._.state!=CKEDITOR.TRISTATE_DISABLED&&(l[b.mode]= -this._.state)},this),b.on("activeFilterChange",k,this),b.on("mode",k,this),!this.readOnly&&b.on("readOnly",k,this)):n&&(n=b.getCommand(n))&&(n.on("state",function(){this.setState(n.state)},this),c+=n.state==CKEDITOR.TRISTATE_ON?"on":n.state==CKEDITOR.TRISTATE_DISABLED?"disabled":"off");var A;if(this.directional)b.on("contentDirChanged",function(a){var c=CKEDITOR.document.getById(this._.id),d=c.getFirst();a=a.data;a!=b.lang.dir?c.addClass("cke_"+a):c.removeClass("cke_ltr").removeClass("cke_rtl");d.setAttribute("style", -CKEDITOR.skin.getIconStyle(A,"rtl"==a,this.icon,this.iconOffset))},this);n?(t=b.getCommandKeystroke(n))&&(q=CKEDITOR.tools.keystrokeToString(b.lang.common.keyboard,t)):c+="off";t=this.name||this.command;var z=null,w=this.icon;A=t;this.icon&&!/\./.test(this.icon)?(A=this.icon,w=null):(this.icon&&(z=this.icon),CKEDITOR.env.hidpi&&this.iconHiDpi&&(z=this.iconHiDpi));z?(CKEDITOR.skin.addIcon(z,z),w=null):z=A;c={id:e,name:t,iconName:A,label:this.label,cls:(this.hasArrow?"cke_button_expandable ":"")+(this.className|| -""),state:c,ariaDisabled:"disabled"==c?"true":"false",title:this.title+(q?" ("+q.display+")":""),ariaShortcut:q?b.lang.common.keyboardShortcut+" "+q.aria:"",titleJs:d.gecko&&!d.hc?"":(this.title||"").replace("'",""),hasArrow:"string"===typeof this.hasArrow&&this.hasArrow||(this.hasArrow?"true":"false"),keydownFn:u,focusFn:y,clickFn:r,style:CKEDITOR.skin.getIconStyle(z,"rtl"==b.lang.dir,w,this.iconOffset),arrowHtml:this.hasArrow?f.output():""};a.output(c,h);if(this.onRender)this.onRender();return p}, +g=CKEDITOR.addTemplate("buttonArrow",'\x3cspan class\x3d"cke_button_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":"")+"\x3c/span\x3e"),e=CKEDITOR.addTemplate("button",b);CKEDITOR.plugins.add("button",{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_BUTTON,CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON="button";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 h(){var c=a.mode;c&&(c=this.modes[c]?void 0!==l[c]?l[c]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,c=a.readOnly&&!this.readOnly?CKEDITOR.TRISTATE_DISABLED:c,this.setState(c),this.refresh&&this.refresh())}var l=null,d=CKEDITOR.env,f=this._.id=CKEDITOR.tools.getNextId(),c="",n=this.command,r,t,q;this._.editor=a;var p={id:f,button:this,editor:a,focus:function(){CKEDITOR.document.getById(f).focus()},execute:function(){this.button.click(a)}, +attach:function(a){this.button.attach(a)}},v=CKEDITOR.tools.addFunction(function(a){if(p.onkey)return a=new CKEDITOR.dom.event(a),!1!==p.onkey(p,a.getKeystroke())}),x=CKEDITOR.tools.addFunction(function(a){var c;p.onfocus&&(c=!1!==p.onfocus(p,new CKEDITOR.dom.event(a)));return c}),u=0;p.clickFn=r=CKEDITOR.tools.addFunction(function(){u&&(a.unlockSelection(1),u=0);p.execute();d.iOS&&a.focus()});this.modes?(l={},a.on("beforeModeUnload",function(){a.mode&&this._.state!=CKEDITOR.TRISTATE_DISABLED&&(l[a.mode]= +this._.state)},this),a.on("activeFilterChange",h,this),a.on("mode",h,this),!this.readOnly&&a.on("readOnly",h,this)):n&&(n=a.getCommand(n))&&(n.on("state",function(){this.setState(n.state)},this),c+=n.state==CKEDITOR.TRISTATE_ON?"on":n.state==CKEDITOR.TRISTATE_DISABLED?"disabled":"off");var A;if(this.directional)a.on("contentDirChanged",function(c){var d=CKEDITOR.document.getById(this._.id),b=d.getFirst();c=c.data;c!=a.lang.dir?d.addClass("cke_"+c):d.removeClass("cke_ltr").removeClass("cke_rtl");b.setAttribute("style", +CKEDITOR.skin.getIconStyle(A,"rtl"==c,this.icon,this.iconOffset))},this);n?(t=a.getCommandKeystroke(n))&&(q=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,t)):c+="off";t=this.name||this.command;var z=null,w=this.icon;A=t;this.icon&&!/\./.test(this.icon)?(A=this.icon,w=null):(this.icon&&(z=this.icon),CKEDITOR.env.hidpi&&this.iconHiDpi&&(z=this.iconHiDpi));z?(CKEDITOR.skin.addIcon(z,z),w=null):z=A;c={id:f,name:t,iconName:A,label:this.label,cls:(this.hasArrow?"cke_button_expandable ":"")+(this.className|| +""),state:c,ariaDisabled:"disabled"==c?"true":"false",title:this.title+(q?" ("+q.display+")":""),ariaShortcut:q?a.lang.common.keyboardShortcut+" "+q.aria:"",titleJs:d.gecko&&!d.hc?"":(this.title||"").replace("'",""),hasArrow:"string"===typeof this.hasArrow&&this.hasArrow||(this.hasArrow?"true":"false"),keydownFn:v,focusFn:x,clickFn:r,style:CKEDITOR.skin.getIconStyle(z,"rtl"==a.lang.dir,w,this.iconOffset),arrowHtml:this.hasArrow?g.output():""};e.output(c,b);if(this.onRender)this.onRender();return p}, setState:function(a){if(this._.state==a)return!1;this._.state=a;var b=CKEDITOR.document.getById(this._.id);return b?(b.setState(a,"cke_button"),b.setAttribute("aria-disabled",a==CKEDITOR.TRISTATE_DISABLED),this.hasArrow?b.setAttribute("aria-expanded",a==CKEDITOR.TRISTATE_ON):a===CKEDITOR.TRISTATE_ON?b.setAttribute("aria-pressed",!0):b.removeAttribute("aria-pressed"),!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 b(a){function b(){for(var c=f(),d=CKEDITOR.tools.clone(a.config.toolbarGroups)||h(a),e=0;ec.order?-1:0>a.order?1:a.order]+data-cke-bookmark[^<]*?<\/span>/ig, -"");g&&b(a,e)})}function x(){if("wysiwyg"==a.mode){var b=B("paste");a.getCommand("cut").setState(B("cut"));a.getCommand("copy").setState(B("copy"));a.getCommand("paste").setState(b);a.fire("pasteState",b)}}function B(b){var d=a.getSelection(),d=d&&d.getRanges()[0];if((a.readOnly||d&&d.checkReadOnly())&&b in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if("paste"==b)return CKEDITOR.TRISTATE_OFF;b=a.getSelection();d=b.getRanges();return b.getType()==CKEDITOR.SELECTION_NONE||1==d.length&&d[0].collapsed? -CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var C=CKEDITOR.plugins.clipboard,G=0,E=0;(function(){a.on("key",z);a.on("contentDom",d);a.on("selectionChange",x);if(a.contextMenu){a.contextMenu.addListener(function(){return{cut:B("cut"),copy:B("copy"),paste:B("paste")}});var b=null;a.on("menuShow",function(){b&&(b.removeListener(),b=null);var d=a.contextMenu.findItemByCommandName("paste");d&&d.element&&(b=d.element.on("touchend",function(){a._.forcePasteDialog=!0}))})}if(a.ui.addButton)a.once("instanceReady", -function(){a._.pasteButtons&&CKEDITOR.tools.array.forEach(a._.pasteButtons,function(b){if(b=a.ui.get(b))if(b=CKEDITOR.document.getById(b._.id))b.on("touchend",function(){a._.forcePasteDialog=!0})})})})();(function(){function b(d,e,g,f,h){var k=a.lang.clipboard[e];a.addCommand(e,g);a.ui.addButton&&a.ui.addButton(d,{label:k,command:e,toolbar:"clipboard,"+f});a.addMenuItems&&a.addMenuItem(e,{label:k,command:e,group:"clipboard",order:h})}b("Cut","cut",e("cut"),10,1);b("Copy","copy",e("copy"),20,4);b("Paste", -"paste",g(),30,8);a._.pasteButtons||(a._.pasteButtons=[]);a._.pasteButtons.push("Paste")})();a.getClipboardData=function(b,d){function e(a){a.removeListener();a.cancel();d(a.data)}function g(a){a.removeListener();a.cancel();d({type:h,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:"paste"})}var f=!1,h="auto";d||(d=b,b=null);a.on("beforePaste",function(a){a.removeListener();f=!0;h=a.data.type},null,null,1E3);a.on("paste",e,null,null,0);!1===A()&&(a.removeListener("paste",e),a._.forcePasteDialog&& -f&&a.fire("pasteDialog")?(a.on("pasteDialogCommit",g),a.on("dialogHide",function(a){a.removeListener();a.data.removeListener("pasteDialogCommit",g);a.data._.committed||d(null)})):d(null))}}function f(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^<]*$/g)&&!a.match(/^(
<\/div>|
[^<]*<\/div>)*$/gi))return"html"}else if(CKEDITOR.env.ie){if(!a.match(/^([^<]|)*$/gi)&&!a.match(/^(

([^<]|)*<\/p>|(\r\n))*$/gi))return"html"}else if(CKEDITOR.env.gecko){if(!a.match(/^([^<]|)*$/gi))return"html"}else return"html"; -return"htmlifiedtext"}function a(a,b){function d(a){return CKEDITOR.tools.repeat("\x3c/p\x3e\x3cp\x3e",~~(a/2))+(1==a%2?"\x3cbr\x3e":"")}b=b.replace(/(?!\u3000)\s+/g," ").replace(/> +/gi,"\x3cbr\x3e");b=b.replace(/<\/?[A-Z]+>/g,function(a){return a.toLowerCase()});if(b.match(/^[^<]$/))return b;CKEDITOR.env.webkit&&-1(
|)<\/div>)(?!$|(

(
|)<\/div>))/g,"\x3cbr\x3e").replace(/^(
(
|)<\/div>){2}(?!$)/g,"\x3cdiv\x3e\x3c/div\x3e"), -b.match(/
(
|)<\/div>/)&&(b="\x3cp\x3e"+b.replace(/(
(
|)<\/div>)+/g,function(a){return d(a.split("\x3c/div\x3e\x3cdiv\x3e").length+1)})+"\x3c/p\x3e"),b=b.replace(/<\/div>
/g,"\x3cbr\x3e"),b=b.replace(/<\/?div>/g,""));CKEDITOR.env.gecko&&a.enterMode!=CKEDITOR.ENTER_BR&&(CKEDITOR.env.gecko&&(b=b.replace(/^

$/,"\x3cbr\x3e")),-1){2,}/g,function(a){return d(a.length/4)})+"\x3c/p\x3e"));return k(a,b)}function g(a){function b(){var a= -{},c;for(c in CKEDITOR.dtd)"$"!=c.charAt(0)&&"div"!=c&&"span"!=c&&(a[c]=1);return a}var d={};return{get:function(e){return"plain-text"==e?d.plainText||(d.plainText=new CKEDITOR.filter(a,"br")):"semantic-content"==e?((e=d.semanticContent)||(e=new CKEDITOR.filter(a,{}),e.allow({$1:{elements:b(),attributes:!0,styles:!1,classes:!1}}),e=d.semanticContent=e),e):e?new CKEDITOR.filter(a,e):null}}}function m(a,b,d){b=CKEDITOR.htmlParser.fragment.fromHtml(b);var e=new CKEDITOR.htmlParser.basicWriter;d.applyTo(b, -!0,!1,a.activeEnterMode);b.writeHtml(e);return e.getHtml()}function k(a,b){a.enterMode==CKEDITOR.ENTER_BR?b=b.replace(/(<\/p>

)+/g,function(a){return CKEDITOR.tools.repeat("\x3cbr\x3e",a.length/7*2)}).replace(/<\/?p>/g,""):a.enterMode==CKEDITOR.ENTER_DIV&&(b=b.replace(/<(\/)?p>/g,"\x3c$1div\x3e"));return b}function l(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect="none"}function d(a){var d=CKEDITOR.plugins.clipboard;a.on("contentDom",function(){function e(d,g,f){g.select();b(a,{dataTransfer:f, -method:"drop"},1);f.sourceEditor.fire("saveSnapshot");f.sourceEditor.editable().extractHtmlFromRange(d);f.sourceEditor.getSelection().selectRanges([d]);f.sourceEditor.fire("saveSnapshot")}function g(e,f){e.select();b(a,{dataTransfer:f,method:"drop"},1);d.resetDragDataTransfer()}function f(b,d,e){var g={$:b.data.$,target:b.data.getTarget()};d&&(g.dragRange=d);e&&(g.dropRange=e);!1===a.fire(b.name,g)&&b.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());return a.getChildCount()} -var k=a.editable(),l=CKEDITOR.plugins.clipboard.getDropTarget(a),m=a.ui.space("top"),A=a.ui.space("bottom");d.preventDefaultDropOnElement(m);d.preventDefaultDropOnElement(A);k.attachListener(l,"dragstart",f);k.attachListener(a,"dragstart",d.resetDragDataTransfer,d,null,1);k.attachListener(a,"dragstart",function(b){d.initDragDataTransfer(b,a)},null,null,2);k.attachListener(a,"dragstart",function(){var b=d.dragRange=a.getSelection().getRanges()[0];CKEDITOR.env.ie&&10>CKEDITOR.env.version&&(d.dragStartContainerChildCount= -b?h(b.startContainer):null,d.dragEndContainerChildCount=b?h(b.endContainer):null)},null,null,100);k.attachListener(l,"dragend",f);k.attachListener(a,"dragend",d.initDragDataTransfer,d,null,1);k.attachListener(a,"dragend",d.resetDragDataTransfer,d,null,100);k.attachListener(l,"dragover",function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var c=a.data.getTarget();c&&c.is&&c.is("html")?a.data.preventDefault():CKEDITOR.env.ie&&CKEDITOR.plugins.clipboard.isFileApiSupported&&a.data.$.dataTransfer.types.contains("Files")&& -a.data.preventDefault()}});k.attachListener(l,"drop",function(b){if(!b.data.$.defaultPrevented&&(b.data.preventDefault(),!a.readOnly)){var e=b.data.getTarget();if(!e.isReadOnly()||e.type==CKEDITOR.NODE_ELEMENT&&e.is("html")){var e=d.getRangeAtDropPosition(b,a),g=d.dragRange;e&&f(b,g,e)}}},null,null,9999);k.attachListener(a,"drop",d.initDragDataTransfer,d,null,1);k.attachListener(a,"drop",function(b){if(b=b.data){var f=b.dropRange,h=b.dragRange,k=b.dataTransfer;k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL? -setTimeout(function(){d.internalDrop(h,f,k,a)},0):k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?e(h,f,k):g(f,k)}},null,null,9999)})}var e;CKEDITOR.plugins.add("clipboard",{requires:"dialog,notification,toolbar",init:function(c){function b(a){if(!a||p===a.id)return!1;var c=a.getTypes(),c=1===c.length&&"Files"===c[0];a=1===a.getFilesCount();return c&&a}var e,k=g(c);c.config.forcePasteAsPlainText?e="plain-text":c.config.pasteFilter?e=c.config.pasteFilter:!CKEDITOR.env.webkit||"pasteFilter"in -c.config||(e="semantic-content");c.pasteFilter=k.get(e);h(c);d(c);CKEDITOR.dialog.add("paste",CKEDITOR.getUrl(this.path+"dialogs/paste.js"));if(CKEDITOR.env.gecko){var l=["image/png","image/jpeg","image/gif"],p;c.on("paste",function(a){var d=a.data,e=d.dataTransfer;if(!d.dataValue&&"paste"==d.method&&b(e)&&(e=e.getFile(0),-1!=CKEDITOR.tools.indexOf(l,e.type))){var g=new FileReader;g.addEventListener("load",function(){a.data.dataValue='\x3cimg src\x3d"'+g.result+'" /\x3e';c.fire("paste",a.data)},!1); -g.addEventListener("abort",function(){c.fire("paste",a.data)},!1);g.addEventListener("error",function(){c.fire("paste",a.data)},!1);g.readAsDataURL(e);p=d.dataTransfer.id;a.stop()}},null,null,1)}c.on("paste",function(a){a.data.dataTransfer||(a.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!a.data.dataValue){var b=a.data.dataTransfer,d=b.getData("text/html");if(d)a.data.dataValue=d,a.data.type="html";else if(d=b.getData("text/plain"))a.data.dataValue=c.editable().transformPlainTextToHtml(d), -a.data.type="text"}},null,null,1);c.on("paste",function(a){var c=a.data.dataValue,b=CKEDITOR.dtd.$block;-1 <\/span>/gi," "),"html"!=a.data.type&&(c=c.replace(/]*>([^<]*)<\/span>/gi,function(a,c){return c.replace(/\t/g,"\x26nbsp;\x26nbsp; \x26nbsp;")})),-1/, -"")),c=c.replace(/(<[^>]+) class="Apple-[^"]*"/gi,"$1"));if(c.match(/^<[^<]+cke_(editable|contents)/i)){var d,e,g=new CKEDITOR.dom.element("div");for(g.setHtml(c);1==g.getChildCount()&&(d=g.getFirst())&&d.type==CKEDITOR.NODE_ELEMENT&&(d.hasClass("cke_editable")||d.hasClass("cke_contents"));)g=e=d;e&&(c=e.getHtml().replace(/
$/i,""))}CKEDITOR.env.ie?c=c.replace(/^ (?: |\r\n)?<(\w+)/g,function(c,d){return d.toLowerCase()in b?(a.data.preSniffing="html","\x3c"+d):c}):CKEDITOR.env.webkit?c=c.replace(/<\/(\w+)>


<\/div>$/, -function(c,d){return d in b?(a.data.endsWithEOL=1,"\x3c/"+d+"\x3e"):c}):CKEDITOR.env.gecko&&(c=c.replace(/(\s)
$/,"$1"));a.data.dataValue=c},null,null,3);c.on("paste",function(b){b=b.data;var d=c._.nextPasteType||b.type,e=b.dataValue,g,h=c.config.clipboard_defaultContentType||"html",l=b.dataTransfer.getTransferType(c)==CKEDITOR.DATA_TRANSFER_EXTERNAL,n=!0===c.config.forcePasteAsPlainText;g="html"==d||"html"==b.preSniffing?"html":f(e);delete c._.nextPasteType;"htmlifiedtext"==g&&(e=a(c.config,e)); -if("text"==d&&"html"==g)e=m(c,e,k.get("plain-text"));else if(l&&c.pasteFilter&&!b.dontFilter||n)e=m(c,e,c.pasteFilter);b.startsWithEOL&&(e='\x3cbr data-cke-eol\x3d"1"\x3e'+e);b.endsWithEOL&&(e+='\x3cbr data-cke-eol\x3d"1"\x3e');"auto"==d&&(d="html"==g||"html"==h?"html":"text");b.type=d;b.dataValue=e;delete b.preSniffing;delete b.startsWithEOL;delete b.endsWithEOL},null,null,6);c.on("paste",function(a){a=a.data;a.dataValue&&(c.insertHtml(a.dataValue,a.type,a.range),setTimeout(function(){c.fire("afterPaste")}, -0))},null,null,1E3);c.on("pasteDialog",function(a){setTimeout(function(){c.openDialog("paste",a.data)},0)})}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:CKEDITOR.env.ie&&16>CKEDITOR.env.version||CKEDITOR.env.iOS&&605>CKEDITOR.env.version?!1:!0,isCustomDataTypesSupported:!CKEDITOR.env.ie||16<=CKEDITOR.env.version,isFileApiSupported:!CKEDITOR.env.ie||9CKEDITOR.env.version||b.isInline()?b:a.document},fixSplitNodesAfterDrop:function(a,b,d,e){function g(a,c,d){var e=a;e.type==CKEDITOR.NODE_TEXT&&(e=a.getParent());if(e.equals(c)&&d!=c.getChildCount())return a=b.startContainer.getChild(b.startOffset-1),c=b.startContainer.getChild(b.startOffset),a&&a.type==CKEDITOR.NODE_TEXT&&c&&c.type==CKEDITOR.NODE_TEXT&&(d=a.getLength(),a.setText(a.getText()+c.getText()),c.remove(),b.setStart(a,d),b.collapse(!0)),!0}var f=b.startContainer;"number"==typeof e&&"number"== -typeof d&&f.type==CKEDITOR.NODE_ELEMENT&&(g(a.startContainer,f,d)||g(a.endContainer,f,e))},isDropRangeAffectedByDragRange:function(a,b){var d=b.startContainer,e=b.endOffset;return a.endContainer.equals(d)&&a.endOffset<=e||a.startContainer.getParent().equals(d)&&a.startContainer.getIndex()CKEDITOR.env.version&&this.fixSplitNodesAfterDrop(a,d,f.dragStartContainerChildCount,f.dragEndContainerChildCount);(l=this.isDropRangeAffectedByDragRange(a,d))||(k=a.createBookmark(!1));f=d.clone().createBookmark(!1);l&&(k=a.createBookmark(!1));a=k.startNode;d=k.endNode;l=f.startNode;d&&a.getPosition(l)&CKEDITOR.POSITION_PRECEDING&&d.getPosition(l)&CKEDITOR.POSITION_FOLLOWING&&l.insertBefore(a);a=g.createRange();a.moveToBookmark(k);h.extractHtmlFromRange(a,1);d=g.createRange(); -f.startNode.getCommonAncestor(h)||(f=g.getSelection().createBookmarks()[0]);d.moveToBookmark(f);b(g,{dataTransfer:e,method:"drop",range:d},1);g.fire("unlockSnapshot")},getRangeAtDropPosition:function(a,b){var d=a.data.$,e=d.clientX,g=d.clientY,f=b.getSelection(!0).getRanges()[0],h=b.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&&b.document.$.caretRangeFromPoint(e,g))d=b.document.$.caretRangeFromPoint(e,g),h.setStart(CKEDITOR.dom.node(d.startContainer),d.startOffset), -h.collapse(!0);else if(d.rangeParent)h.setStart(CKEDITOR.dom.node(d.rangeParent),d.rangeOffset),h.collapse(!0);else{if(CKEDITOR.env.ie&&8l&&!k;l++){if(!k)try{d.moveToPoint(e,g-l),k=!0}catch(m){}if(!k)try{d.moveToPoint(e,g+l),k=!0}catch(z){}}if(k){var w="cke-temp-"+(new Date).getTime();d.pasteHTML('\x3cspan id\x3d"'+w+'"\x3e​\x3c/span\x3e'); -var x=b.document.getById(w);h.moveToPosition(x,CKEDITOR.POSITION_BEFORE_START);x.remove()}else{var B=b.document.$.elementFromPoint(e,g),C=new CKEDITOR.dom.element(B),G;if(C.equals(b.editable())||"html"==C.getName())return f&&f.startContainer&&!f.startContainer.equals(b.editable())?f:null;G=C.getClientRect();e/i,bodyRegExp:/([\s\S]*)<\/body>/i,fragmentRegExp:/\s*\x3c!--StartFragment--\x3e|\x3c!--EndFragment--\x3e\s*/g, -data:{},files:[],nativeHtmlCache:"",normalizeType:function(a){a=a.toLowerCase();return"text"==a||"text/plain"==a?"Text":"url"==a?"URL":a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);this.id=this.getData(e);this.id||(this.id="Text"==e?"":"cke-"+CKEDITOR.tools.getUniqueId());b&&(this.sourceEditor=b,this.setData("text/html",b.getSelectedHtml(1)),"Text"==e||this.getData("text/plain")||this.setData("text/plain",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 d="text/html"==a&&b?this._.nativeHtmlCache:this._.data[a];if(void 0===d||null===d||""===d){if(this._.fallbackDataTransfer.isRequired())d=this._.fallbackDataTransfer.getData(a,b);else try{d=this.$.getData(a)||""}catch(e){d=""}"text/html"!=a||b||(d=this._stripHtml(d))}"Text"==a&&CKEDITOR.env.gecko&&this.getFilesCount()&&"file://"== -d.substring(0,7)&&(d="");if("string"===typeof d)var g=d.indexOf("\x3c/html\x3e"),d=-1!==g?d.substring(0,g+7):d;return d},setData:function(a,b){a=this._.normalizeType(a);"text/html"==a?(this._.data[a]=this._stripHtml(b),this._.nativeHtmlCache=b):this._.data[a]=b;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"URL"==a||"Text"==a)if("Text"==e&&"Text"==a&&(this.id=b),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,b);else try{this.$.setData(a,b)}catch(d){}},storeId:function(){"Text"!== -e&&this.setData(e,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(c){c=b._.normalizeType(c);var d=b.getData(c);"text/html"==c&&(b._.nativeHtmlCache=b.getData(c,!0),d=b._stripHtml(d));d&&(b._.data[c]=d)}if(this.$){var b=this,d,e;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(d=0;dc?u+c:b.width>c?u-a.left:u-a.right+b.width):fc?u-c:b.width>c?u-a.right+b.width:u-a.left);c=a.top;b.height- -a.topg?y-g:b.height>g?y-a.bottom+b.height:y-a.top);CKEDITOR.env.ie&&!CKEDITOR.env.edge&&((b=a=n.$.offsetParent&&new CKEDITOR.dom.element(n.$.offsetParent))&&"html"==b.getName()&&(b=b.getDocument().getBody()),b&&"rtl"==b.getComputedStyle("direction")&&(u=CKEDITOR.env.ie8Compat?u-2*n.getDocument().getDocumentElement().$.scrollLeft:u-(a.$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),k;(k=a.getCustomData("activePanel"))&&k.onHide&&k.onHide.call(this,1);a.setCustomData("activePanel",this); -n.setStyles({top:y+"px",left:u+"px"});n.setOpacity(1);l&&l()},this);d.isLoaded?a():d.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&&CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();e.element.focus();CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);this._.markFirst&&(CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){e.markFirstDisplayed?e.markFirstDisplayed():e._.markFirstDisplayed()},0):e.markFirstDisplayed?e.markFirstDisplayed(): -e._.markFirstDisplayed());this._.editor.fire("panelShow",this)},0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&&this.onShow.call(this)},reposition:function(){var b=this._.showBlockParams;this.visible&&this._.showBlockParams&&(this.hide(),this.showBlock.apply(this,b))},focus:function(){if(CKEDITOR.env.webkit){var b=CKEDITOR.document.getActive();b&&!b.equals(this._.iframe)&&b.$.blur()}(this._.lastFocused||this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var b= +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 b(a){function b(){for(var c=e(),d=CKEDITOR.tools.clone(a.config.toolbarGroups)||h(a),f=0;fc.order?-1:0>a.order?1:a.order]+data-cke-bookmark[^<]*?<\/span>/ig, +"");e&&b(a,f)})}function y(){if("wysiwyg"==a.mode){var d=B("paste");a.getCommand("cut").setState(B("cut"));a.getCommand("copy").setState(B("copy"));a.getCommand("paste").setState(d);a.fire("pasteState",d)}}function B(d){var b=a.getSelection(),b=b&&b.getRanges()[0];if((a.readOnly||b&&b.checkReadOnly())&&d in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if("paste"==d)return CKEDITOR.TRISTATE_OFF;d=a.getSelection();b=d.getRanges();return d.getType()==CKEDITOR.SELECTION_NONE||1==b.length&&b[0].collapsed? +CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var C=CKEDITOR.plugins.clipboard,F=0,G=0;(function(){a.on("key",z);a.on("contentDom",d);a.on("selectionChange",y);if(a.contextMenu){a.contextMenu.addListener(function(){return{cut:B("cut"),copy:B("copy"),paste:B("paste")}});var b=null;a.on("menuShow",function(){b&&(b.removeListener(),b=null);var d=a.contextMenu.findItemByCommandName("paste");d&&d.element&&(b=d.element.on("touchend",function(){a._.forcePasteDialog=!0}))})}if(a.ui.addButton)a.once("instanceReady", +function(){a._.pasteButtons&&CKEDITOR.tools.array.forEach(a._.pasteButtons,function(d){if(d=a.ui.get(d))if(d=CKEDITOR.document.getById(d._.id))d.on("touchend",function(){a._.forcePasteDialog=!0})})})})();(function(){function d(b,f,e,g,h){var k=a.lang.clipboard[f];a.addCommand(f,e);a.ui.addButton&&a.ui.addButton(b,{label:k,command:f,toolbar:"clipboard,"+g});a.addMenuItems&&a.addMenuItem(f,{label:k,command:f,group:"clipboard",order:h})}d("Cut","cut",f("cut"),10,1);d("Copy","copy",f("copy"),20,4);d("Paste", +"paste",e(),30,8);a._.pasteButtons||(a._.pasteButtons=[]);a._.pasteButtons.push("Paste")})();a.getClipboardData=function(d,b){function f(a){a.removeListener();a.cancel();b(a.data)}function e(a){a.removeListener();a.cancel();b({type:h,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:"paste"})}var g=!1,h="auto";b||(b=d,d=null);a.on("beforePaste",function(a){a.removeListener();g=!0;h=a.data.type},null,null,1E3);a.on("paste",f,null,null,0);!1===A()&&(a.removeListener("paste",f),a._.forcePasteDialog&& +g&&a.fire("pasteDialog")?(a.on("pasteDialogCommit",e),a.on("dialogHide",function(a){a.removeListener();a.data.removeListener("pasteDialogCommit",e);a.data._.committed||b(null)})):b(null))}}function g(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^<]*$/g)&&!a.match(/^(
<\/div>|
[^<]*<\/div>)*$/gi))return"html"}else if(CKEDITOR.env.ie){if(!a.match(/^([^<]|)*$/gi)&&!a.match(/^(

([^<]|)*<\/p>|(\r\n))*$/gi))return"html"}else if(CKEDITOR.env.gecko){if(!a.match(/^([^<]|)*$/gi))return"html"}else return"html"; +return"htmlifiedtext"}function e(a,d){function b(a){return CKEDITOR.tools.repeat("\x3c/p\x3e\x3cp\x3e",~~(a/2))+(1==a%2?"\x3cbr\x3e":"")}d=d.replace(/(?!\u3000)\s+/g," ").replace(/> +/gi,"\x3cbr\x3e");d=d.replace(/<\/?[A-Z]+>/g,function(a){return a.toLowerCase()});if(d.match(/^[^<]$/))return d;CKEDITOR.env.webkit&&-1(
|)<\/div>)(?!$|(

(
|)<\/div>))/g,"\x3cbr\x3e").replace(/^(
(
|)<\/div>){2}(?!$)/g,"\x3cdiv\x3e\x3c/div\x3e"), +d.match(/
(
|)<\/div>/)&&(d="\x3cp\x3e"+d.replace(/(
(
|)<\/div>)+/g,function(a){return b(a.split("\x3c/div\x3e\x3cdiv\x3e").length+1)})+"\x3c/p\x3e"),d=d.replace(/<\/div>
/g,"\x3cbr\x3e"),d=d.replace(/<\/?div>/g,""));CKEDITOR.env.gecko&&a.enterMode!=CKEDITOR.ENTER_BR&&(CKEDITOR.env.gecko&&(d=d.replace(/^

$/,"\x3cbr\x3e")),-1){2,}/g,function(a){return b(a.length/4)})+"\x3c/p\x3e"));return k(a,d)}function a(a){function d(){var a= +{},c;for(c in CKEDITOR.dtd)"$"!=c.charAt(0)&&"div"!=c&&"span"!=c&&(a[c]=1);return a}var b={};return{get:function(f){return"plain-text"==f?b.plainText||(b.plainText=new CKEDITOR.filter(a,"br")):"semantic-content"==f?((f=b.semanticContent)||(f=new CKEDITOR.filter(a,{}),f.allow({$1:{elements:d(),attributes:!0,styles:!1,classes:!1}}),f=b.semanticContent=f),f):f?new CKEDITOR.filter(a,f):null}}}function m(a,d,b){d=CKEDITOR.htmlParser.fragment.fromHtml(d);var f=new CKEDITOR.htmlParser.basicWriter;b.applyTo(d, +!0,!1,a.activeEnterMode);d.writeHtml(f);return f.getHtml()}function k(a,d){a.enterMode==CKEDITOR.ENTER_BR?d=d.replace(/(<\/p>

)+/g,function(a){return CKEDITOR.tools.repeat("\x3cbr\x3e",a.length/7*2)}).replace(/<\/?p>/g,""):a.enterMode==CKEDITOR.ENTER_DIV&&(d=d.replace(/<(\/)?p>/g,"\x3c$1div\x3e"));return d}function l(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect="none"}function d(a){var d=CKEDITOR.plugins.clipboard;a.on("contentDom",function(){function f(d,e,g){e.select();b(a,{dataTransfer:g, +method:"drop"},1);g.sourceEditor.fire("saveSnapshot");g.sourceEditor.editable().extractHtmlFromRange(d);g.sourceEditor.getSelection().selectRanges([d]);g.sourceEditor.fire("saveSnapshot")}function e(f,g){f.select();b(a,{dataTransfer:g,method:"drop"},1);d.resetDragDataTransfer()}function g(d,b,f){var e={$:d.data.$,target:d.data.getTarget()};b&&(e.dragRange=b);f&&(e.dropRange=f);!1===a.fire(d.name,e)&&d.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());return a.getChildCount()} +var k=a.editable(),l=CKEDITOR.plugins.clipboard.getDropTarget(a),m=a.ui.space("top"),A=a.ui.space("bottom");d.preventDefaultDropOnElement(m);d.preventDefaultDropOnElement(A);k.attachListener(l,"dragstart",g);k.attachListener(a,"dragstart",d.resetDragDataTransfer,d,null,1);k.attachListener(a,"dragstart",function(b){d.initDragDataTransfer(b,a)},null,null,2);k.attachListener(a,"dragstart",function(){var b=d.dragRange=a.getSelection().getRanges()[0];CKEDITOR.env.ie&&10>CKEDITOR.env.version&&(d.dragStartContainerChildCount= +b?h(b.startContainer):null,d.dragEndContainerChildCount=b?h(b.endContainer):null)},null,null,100);k.attachListener(l,"dragend",g);k.attachListener(a,"dragend",d.initDragDataTransfer,d,null,1);k.attachListener(a,"dragend",d.resetDragDataTransfer,d,null,100);k.attachListener(l,"dragover",function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var c=a.data.getTarget();c&&c.is&&c.is("html")?a.data.preventDefault():CKEDITOR.env.ie&&CKEDITOR.plugins.clipboard.isFileApiSupported&&a.data.$.dataTransfer.types.contains("Files")&& +a.data.preventDefault()}});k.attachListener(l,"drop",function(b){if(!b.data.$.defaultPrevented&&(b.data.preventDefault(),!a.readOnly)){var f=b.data.getTarget();if(!f.isReadOnly()||f.type==CKEDITOR.NODE_ELEMENT&&f.is("html")){var f=d.getRangeAtDropPosition(b,a),e=d.dragRange;f&&g(b,e,f)}}},null,null,9999);k.attachListener(a,"drop",d.initDragDataTransfer,d,null,1);k.attachListener(a,"drop",function(b){if(b=b.data){var g=b.dropRange,h=b.dragRange,k=b.dataTransfer;k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL? +setTimeout(function(){d.internalDrop(h,g,k,a)},0):k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?f(h,g,k):e(g,k)}},null,null,9999)})}var f;CKEDITOR.plugins.add("clipboard",{requires:"dialog,notification,toolbar",init:function(c){function b(a){if(!a||p===a.id)return!1;var c=a.getTypes(),c=1===c.length&&"Files"===c[0];a=1===a.getFilesCount();return c&&a}var f,k=a(c);c.config.forcePasteAsPlainText?f="plain-text":c.config.pasteFilter?f=c.config.pasteFilter:!CKEDITOR.env.webkit||"pasteFilter"in +c.config||(f="semantic-content");c.pasteFilter=k.get(f);h(c);d(c);CKEDITOR.dialog.add("paste",CKEDITOR.getUrl(this.path+"dialogs/paste.js"));if(CKEDITOR.env.gecko){var l=["image/png","image/jpeg","image/gif"],p;c.on("paste",function(a){var d=a.data,f=d.dataTransfer;if(!d.dataValue&&"paste"==d.method&&b(f)&&(f=f.getFile(0),-1!=CKEDITOR.tools.indexOf(l,f.type))){var e=new FileReader;e.addEventListener("load",function(){a.data.dataValue='\x3cimg src\x3d"'+e.result+'" /\x3e';c.fire("paste",a.data)},!1); +e.addEventListener("abort",function(){c.fire("paste",a.data)},!1);e.addEventListener("error",function(){c.fire("paste",a.data)},!1);e.readAsDataURL(f);p=d.dataTransfer.id;a.stop()}},null,null,1)}c.on("paste",function(a){a.data.dataTransfer||(a.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!a.data.dataValue){var d=a.data.dataTransfer,b=d.getData("text/html");if(b)a.data.dataValue=b,a.data.type="html";else if(b=d.getData("text/plain"))a.data.dataValue=c.editable().transformPlainTextToHtml(b), +a.data.type="text"}},null,null,1);c.on("paste",function(a){var c=a.data.dataValue,d=CKEDITOR.dtd.$block;-1 <\/span>/gi," "),"html"!=a.data.type&&(c=c.replace(/]*>([^<]*)<\/span>/gi,function(a,c){return c.replace(/\t/g,"\x26nbsp;\x26nbsp; \x26nbsp;")})),-1/, +"")),c=c.replace(/(<[^>]+) class="Apple-[^"]*"/gi,"$1"));if(c.match(/^<[^<]+cke_(editable|contents)/i)){var b,f,e=new CKEDITOR.dom.element("div");for(e.setHtml(c);1==e.getChildCount()&&(b=e.getFirst())&&b.type==CKEDITOR.NODE_ELEMENT&&(b.hasClass("cke_editable")||b.hasClass("cke_contents"));)e=f=b;f&&(c=f.getHtml().replace(/
$/i,""))}CKEDITOR.env.ie?c=c.replace(/^ (?: |\r\n)?<(\w+)/g,function(c,b){return b.toLowerCase()in d?(a.data.preSniffing="html","\x3c"+b):c}):CKEDITOR.env.webkit?c=c.replace(/<\/(\w+)>


<\/div>$/, +function(c,b){return b in d?(a.data.endsWithEOL=1,"\x3c/"+b+"\x3e"):c}):CKEDITOR.env.gecko&&(c=c.replace(/(\s)
$/,"$1"));a.data.dataValue=c},null,null,3);c.on("paste",function(a){a=a.data;var d=c._.nextPasteType||a.type,b=a.dataValue,f,h=c.config.clipboard_defaultContentType||"html",l=a.dataTransfer.getTransferType(c)==CKEDITOR.DATA_TRANSFER_EXTERNAL,n=!0===c.config.forcePasteAsPlainText;f="html"==d||"html"==a.preSniffing?"html":g(b);delete c._.nextPasteType;"htmlifiedtext"==f&&(b=e(c.config,b)); +if("text"==d&&"html"==f)b=m(c,b,k.get("plain-text"));else if(l&&c.pasteFilter&&!a.dontFilter||n)b=m(c,b,c.pasteFilter);a.startsWithEOL&&(b='\x3cbr data-cke-eol\x3d"1"\x3e'+b);a.endsWithEOL&&(b+='\x3cbr data-cke-eol\x3d"1"\x3e');"auto"==d&&(d="html"==f||"html"==h?"html":"text");a.type=d;a.dataValue=b;delete a.preSniffing;delete a.startsWithEOL;delete a.endsWithEOL},null,null,6);c.on("paste",function(a){a=a.data;a.dataValue&&(c.insertHtml(a.dataValue,a.type,a.range),setTimeout(function(){c.fire("afterPaste")}, +0))},null,null,1E3);c.on("pasteDialog",function(a){setTimeout(function(){c.openDialog("paste",a.data)},0)})}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:CKEDITOR.env.ie&&16>CKEDITOR.env.version||CKEDITOR.env.iOS&&605>CKEDITOR.env.version?!1:!0,isCustomDataTypesSupported:!CKEDITOR.env.ie||16<=CKEDITOR.env.version,isFileApiSupported:!CKEDITOR.env.ie||9CKEDITOR.env.version||d.isInline()?d:a.document},fixSplitNodesAfterDrop:function(a,d,b,f){function e(a,c,b){var f=a;f.type==CKEDITOR.NODE_TEXT&&(f=a.getParent());if(f.equals(c)&&b!=c.getChildCount())return a=d.startContainer.getChild(d.startOffset-1),c=d.startContainer.getChild(d.startOffset),a&&a.type==CKEDITOR.NODE_TEXT&&c&&c.type==CKEDITOR.NODE_TEXT&&(b=a.getLength(),a.setText(a.getText()+c.getText()),c.remove(),d.setStart(a,b),d.collapse(!0)),!0}var g=d.startContainer;"number"==typeof f&&"number"== +typeof b&&g.type==CKEDITOR.NODE_ELEMENT&&(e(a.startContainer,g,b)||e(a.endContainer,g,f))},isDropRangeAffectedByDragRange:function(a,d){var b=d.startContainer,f=d.endOffset;return a.endContainer.equals(b)&&a.endOffset<=f||a.startContainer.getParent().equals(b)&&a.startContainer.getIndex()CKEDITOR.env.version&&this.fixSplitNodesAfterDrop(a,d,g.dragStartContainerChildCount,g.dragEndContainerChildCount);(l=this.isDropRangeAffectedByDragRange(a,d))||(k=a.createBookmark(!1));g=d.clone().createBookmark(!1);l&&(k=a.createBookmark(!1));a=k.startNode;d=k.endNode;l=g.startNode;d&&a.getPosition(l)&CKEDITOR.POSITION_PRECEDING&&d.getPosition(l)&CKEDITOR.POSITION_FOLLOWING&&l.insertBefore(a);a=e.createRange();a.moveToBookmark(k);h.extractHtmlFromRange(a,1);d=e.createRange(); +g.startNode.getCommonAncestor(h)||(g=e.getSelection().createBookmarks()[0]);d.moveToBookmark(g);b(e,{dataTransfer:f,method:"drop",range:d},1);e.fire("unlockSnapshot")},getRangeAtDropPosition:function(a,d){var b=a.data.$,f=b.clientX,e=b.clientY,g=d.getSelection(!0).getRanges()[0],h=d.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&&d.document.$.caretRangeFromPoint(f,e))b=d.document.$.caretRangeFromPoint(f,e),h.setStart(CKEDITOR.dom.node(b.startContainer),b.startOffset), +h.collapse(!0);else if(b.rangeParent)h.setStart(CKEDITOR.dom.node(b.rangeParent),b.rangeOffset),h.collapse(!0);else{if(CKEDITOR.env.ie&&8l&&!k;l++){if(!k)try{b.moveToPoint(f,e-l),k=!0}catch(m){}if(!k)try{b.moveToPoint(f,e+l),k=!0}catch(z){}}if(k){var w="cke-temp-"+(new Date).getTime();b.pasteHTML('\x3cspan id\x3d"'+w+'"\x3e​\x3c/span\x3e'); +var y=d.document.getById(w);h.moveToPosition(y,CKEDITOR.POSITION_BEFORE_START);y.remove()}else{var B=d.document.$.elementFromPoint(f,e),C=new CKEDITOR.dom.element(B),F;if(C.equals(d.editable())||"html"==C.getName())return g&&g.startContainer&&!g.startContainer.equals(d.editable())?g:null;F=C.getClientRect();f/i,bodyRegExp:/([\s\S]*)<\/body>/i,fragmentRegExp:/\s*\x3c!--StartFragment--\x3e|\x3c!--EndFragment--\x3e\s*/g, +data:{},files:[],nativeHtmlCache:"",normalizeType:function(a){a=a.toLowerCase();return"text"==a||"text/plain"==a?"Text":"url"==a?"URL":a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);this.id=this.getData(f);this.id||(this.id="Text"==f?"":"cke-"+CKEDITOR.tools.getUniqueId());d&&(this.sourceEditor=d,this.setData("text/html",d.getSelectedHtml(1)),"Text"==f||this.getData("text/plain")||this.setData("text/plain",d.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,d){a=this._.normalizeType(a);var b="text/html"==a&&d?this._.nativeHtmlCache:this._.data[a];if(void 0===b||null===b||""===b){if(this._.fallbackDataTransfer.isRequired())b=this._.fallbackDataTransfer.getData(a,d);else try{b=this.$.getData(a)||""}catch(f){b=""}"text/html"!=a||d||(b=this._stripHtml(b))}"Text"==a&&CKEDITOR.env.gecko&&this.getFilesCount()&&"file://"== +b.substring(0,7)&&(b="");if("string"===typeof b)var e=b.indexOf("\x3c/html\x3e"),b=-1!==e?b.substring(0,e+7):b;return b},setData:function(a,d){a=this._.normalizeType(a);"text/html"==a?(this._.data[a]=this._stripHtml(d),this._.nativeHtmlCache=d):this._.data[a]=d;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"URL"==a||"Text"==a)if("Text"==f&&"Text"==a&&(this.id=d),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,d);else try{this.$.setData(a,d)}catch(b){}},storeId:function(){"Text"!== +f&&this.setData(f,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(c){c=d._.normalizeType(c);var b=d.getData(c);"text/html"==c&&(d._.nativeHtmlCache=d.getData(c,!0),b=d._stripHtml(b));b&&(d._.data[c]=b)}if(this.$){var d=this,b,f;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(b=0;bb?v+b:c.width>b?v-a.left:v-a.right+c.width):gb?v-b:c.width>b?v-a.right+c.width:v-a.left);b=a.top;c.height- +a.tope?x-e:c.height>e?x-a.bottom+c.height:x-a.top);CKEDITOR.env.ie&&!CKEDITOR.env.edge&&((c=a=n.$.offsetParent&&new CKEDITOR.dom.element(n.$.offsetParent))&&"html"==c.getName()&&(c=c.getDocument().getBody()),c&&"rtl"==c.getComputedStyle("direction")&&(v=CKEDITOR.env.ie8Compat?v-2*n.getDocument().getDocumentElement().$.scrollLeft:v-(a.$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),k;(k=a.getCustomData("activePanel"))&&k.onHide&&k.onHide.call(this,1);a.setCustomData("activePanel",this); +n.setStyles({top:x+"px",left:v+"px"});n.setOpacity(1);l&&l()},this);d.isLoaded?a():d.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&&CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();f.element.focus();CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);this._.markFirst&&(CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){f.markFirstDisplayed?f.markFirstDisplayed():f._.markFirstDisplayed()},0):f.markFirstDisplayed?f.markFirstDisplayed(): +f._.markFirstDisplayed());this._.editor.fire("panelShow",this)},0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&&this.onShow.call(this)},reposition:function(){var b=this._.showBlockParams;this.visible&&this._.showBlockParams&&(this.hide(),this.showBlock.apply(this,b))},focus:function(){if(CKEDITOR.env.webkit){var b=CKEDITOR.document.getActive();b&&!b.equals(this._.iframe)&&b.$.blur()}(this._.lastFocused||this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var b= this._.iframe.getFrameDocument().getActive();b&&b.is("a")&&(this._.lastFocused=b)},hide:function(b){if(this.visible&&(!this.onHide||!0!==this.onHide.call(this))){this.hideChild();CKEDITOR.env.gecko&&this._.iframe.getFrameDocument().$.activeElement.blur();this.element.setStyle("display","none");this.visible=0;this.element.getFirst().removeCustomData("activePanel");if(b=b&&this._.returnFocus)CKEDITOR.env.webkit&&b.type&&b.getWindow().$.focus(),b.focus();delete this._.lastFocused;this._.showBlockParams= -null;this._.editor.fire("panelHide",this)}},allowBlur:function(b){var a=this._.panel;void 0!==b&&(a.allowBlur=b);return a.allowBlur},showAsChild:function(b,a,g,h,k,l){if(this._.activeChild!=b||b._.panel._.offsetParentId!=g.getId())this.hideChild(),b.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=b,this._.focused=!1,b.showBlock(a,g,h,k,l),this.blur(),(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&setTimeout(function(){b.element.getChild(0).$.style.cssText+= -""},100)},hideChild:function(b){var a=this._.activeChild;a&&(delete a.onHide,delete this._.activeChild,a.hide(),b&&this.focus())}}});CKEDITOR.on("instanceDestroyed",function(){var b=CKEDITOR.tools.isEmpty(CKEDITOR.instances),a;for(a in h){var g=h[a];b?g.destroy():g.element.hide()}b&&(h={})})})();CKEDITOR.plugins.add("colorbutton",{requires:"panelbutton,floatpanel",init:function(b){function h(a){var d=a.name,h=a.type,l=a.title,t=a.order,q=a.commandName;a=a.contentTransformations||{};var p=new CKEDITOR.style(m["colorButton_"+ -h+"Style"]),u=CKEDITOR.tools.getNextId()+"_colorBox",y={type:h},v=new CKEDITOR.style(m["colorButton_"+h+"Style"],{color:"inherit"}),A;b.addCommand(q,{contextSensitive:!0,exec:function(a,b){if(!a.readOnly){var d=b.newStyle;a.removeStyle(v);a.focus();d&&a.applyStyle(d);a.fire("saveSnapshot")}},refresh:function(a,b){v.checkApplicable(b,a,a.activeFilter)?v.checkActive(b,a)?this.setState(CKEDITOR.TRISTATE_ON):this.setState(CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)}});b.ui.add(d, -CKEDITOR.UI_PANELBUTTON,{label:l,title:l,command:q,editorFocus:0,toolbar:"colors,"+t,allowedContent:p,requiredContent:p,contentTransformations:a,panel:{css:CKEDITOR.skin.getPath("editor"),attributes:{role:"listbox","aria-label":k.panelTitle}},onBlock:function(a,d){A=d;d.autoSize=!0;d.element.addClass("cke_colorblock");d.element.setHtml(f({type:h,colorBoxId:u,colorData:y,commandName:q}));d.element.getDocument().getBody().setStyle("overflow","hidden");CKEDITOR.ui.fire("ready",this);var c=d.keys,e="rtl"== -b.lang.dir;c[e?37:39]="next";c[40]="next";c[9]="next";c[e?39:37]="prev";c[38]="prev";c[CKEDITOR.SHIFT+9]="prev";c[32]="click"},onOpen:function(){var a=b.getSelection(),d=a&&a.getStartElement(),c=b.elementPath(d);if(c){d=c.block||c.blockLimit||b.document.getBody();do c=d&&d.getComputedStyle("back"==h?"background-color":"color")||"transparent";while("back"==h&&"transparent"==c&&d&&(d=d.getParent()));c&&"transparent"!=c||(c="#ffffff");!1!==m.colorButton_enableAutomatic&&this._.panel._.iframe.getFrameDocument().getById(u).setStyle("background-color", -c);if(d=a&&a.getRanges()[0]){for(var a=new CKEDITOR.dom.walker(d),e=d.collapsed?d.startContainer:a.next(),d="";e;){e.type!==CKEDITOR.NODE_ELEMENT&&(e=e.getParent());e=g(e.getComputedStyle("back"==h?"background-color":"color"));d=d||e;if(d!==e){d="";break}e=a.next()}"transparent"==d&&(d="");"fore"==h&&(y.automaticTextColor="#"+g(c));y.selectionColor=d?"#"+d:"";a=d;d=A._.getItems();for(e=0;e <\/span>/g,""),a.replace(/<.*?>/g,"")):a.getText()}function e(b,c){var f=b,h=/\s/g,k="p br ol ul li td th div caption body".split(" "), -m=!1,n=!1,r,p;do{for(r=g(f,c);!r&&f.getParent();){f=f.getParent();if(-1!==a(k,f.getName())){n=m=!0;break}r=g(f,c)}if(r&&r.getName&&-1!==a(k,r.getName())){m=!0;break}f=r}while(f&&f.getStyle&&("none"==f.getStyle("display")||!f.getText()));for(f||(f=b);f.type!==CKEDITOR.NODE_TEXT;)f=!m||c||n?f.getChild(0):f.getChild(f.getChildCount()-1);for(k=d(f);null!=(n=h.exec(k))&&(p=n.index,c););if("number"!==typeof p&&!m)return e(f,c);if(m)c?p=0:(h=/([\.\b]*$)/,p=(n=h.exec(k))?n.index:k.length);else if(c&&(p+= -1,p>k.length))return e(f);return{node:f,offset:p}}var c=/\b\w+\b/ig,f,h,m,q,p;m=q=p=b.startContainer;for(f=d(m);null!=(h=c.exec(f));)if(h.index+h[0].length>=b.startOffset)return b=h.index,c=h.index+h[0].length,0===h.index&&(h=e(m,!0),q=h.node,b=h.offset),c>=f.length&&(f=e(m),p=f.node,c=f.offset),{startNode:q,startOffset:b,endNode:p,endOffset:c};return null},_filterStyles:function(a){var b=CKEDITOR.tools.isEmpty,d=[],e,c;for(c=0;cb.group?1:a.orderb.order?1:0})}var h='\x3cspan class\x3d"cke_menuitem"\x3e\x3ca id\x3d"{id}" class\x3d"cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}" href\x3d"{href}" title\x3d"{title}" tabindex\x3d"-1" _cke_focus\x3d1 hidefocus\x3d"true" role\x3d"{role}" aria-label\x3d"{attrLabel}" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasPopup}" aria-disabled\x3d"{disabled}" {ariaChecked} draggable\x3d"false"', -f="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(h+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(h+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;" ondragstart\x3d"return false;"');CKEDITOR.env.ie&&(f='return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26');var h=h+(' onmouseover\x3d"CKEDITOR.tools.callFunction({hoverFn},{index});" onmouseout\x3d"CKEDITOR.tools.callFunction({moveOutFn},{index});" onclick\x3d"'+f+'CKEDITOR.tools.callFunction({clickFn},{index}); return false;"\x3e')+ -'\x3cspan class\x3d"cke_menubutton_inner"\x3e\x3cspan class\x3d"cke_menubutton_icon"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{iconStyle}"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"cke_menubutton_label"\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_voice_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e',a=CKEDITOR.addTemplate("menuItem",h),g=CKEDITOR.addTemplate("menuArrow", -'\x3cspan class\x3d"cke_menuarrow"\x3e\x3cspan\x3e{label}\x3c/span\x3e\x3c/span\x3e'),m=CKEDITOR.addTemplate("menuShortcut",'\x3cspan class\x3d"cke_menubutton_label cke_menubutton_shortcut"\x3e{shortcut}\x3c/span\x3e');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("editor")],level:this._.level- -1,block:{}}),e=d.block.attributes=d.attributes||{};!e.role&&(e.role="menu");this._.panelDefinition=d},_:{onShow:function(){var a=this.editor.getSelection(),b=a&&a.getStartElement(),d=this.editor.elementPath(),e=this._.listeners;this.removeAll();for(var c=0;cCKEDITOR.env.version?k.createText("\r"):k.createElement("br"),g.deleteContents(),g.insertNode(a),CKEDITOR.env.needsBrFiller?(k.createText("").insertAfter(a),m&&(u||p.blockLimit).appendBogus(),a.getNext().$.nodeValue="",g.setStartAt(a.getNext(), -CKEDITOR.POSITION_AFTER_START)):g.setStartAt(a,CKEDITOR.POSITION_AFTER_END)),g.collapse(!0),g.select(),g.scrollIntoView()):l(a,b,g,f)}}};m=CKEDITOR.plugins.enterkey;k=m.enterBr;l=m.enterBlock;d=/^h[1-6]$/})();(function(){function b(b,f){var a={},g=[],m={nbsp:" ",shy:"­",gt:"\x3e",lt:"\x3c",amp:"\x26",apos:"'",quot:'"'};b=b.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(b,d){var h=f?"\x26"+d+";":m[d];a[h]=f?m[d]:"\x26"+d+";";g.push(h);return""});b=b.replace(/,$/,"");if(!f&&b){b=b.split(","); -var k=document.createElement("div"),l;k.innerHTML="\x26"+b.join(";\x26")+";";l=k.innerHTML;k=null;for(k=0;kh&&(h=640);420>f&&(f=420);var g=parseInt((window.screen.height-f)/2,10),m=parseInt((window.screen.width- -h)/2,10);a=(a||"location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes")+",width\x3d"+h+",height\x3d"+f+",top\x3d"+g+",left\x3d"+m;var k=window.open("",null,a,!0);if(!k)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(" chrome/")&&(k.moveTo(m,g),k.resizeTo(h,f)),k.focus(),k.location.href=b}catch(l){window.open(b,null,a,!0)}return!0}});"use strict";(function(){function b(a){this.editor=a;this.loaders= -[]}function h(a,b,h){var l=a.config.fileTools_defaultFileName;this.editor=a;this.lang=a.lang;"string"===typeof b?(this.data=b,this.file=f(this.data),this.loaded=this.total=this.file.size):(this.data=null,this.file=b,this.total=this.file.size,this.loaded=0);h?this.fileName=h:this.file.name?this.fileName=this.file.name:(a=this.file.type.split("/"),l&&(a[0]=l),this.fileName=a.join("."));this.uploaded=0;this.responseData=this.uploadTotal=null;this.status="created";this.abort=function(){this.changeStatus("abort")}} -function f(b){var f=b.match(a)[1];b=b.replace(a,"");b=atob(b);var h=[],l,d,e,c;for(l=0;lh.status||299y.height-u.bottom?e("pin"):e("bottom"),c=y.width/2,c=b.floatSpacePreferRight?"right":0p.width?"rtl"==b.contentsLangDirection?"right":"left":c-u.left>u.right-c?"left":"right",p.width>y.width?(c="left",n=0):(n="left"==c?0y.width&&(c="left"==c?"right":"left",n=0)),d.setStyle(c,f(("pin"==l?x:z)+n+("pin"==l?0:"left"==c?A:-A)))):(l="pin",e("pin"),k(c))}}}();if(m){var l=new CKEDITOR.template('\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} '+ -CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"application" style\x3d"{style}"'+(a.title?' aria-labelledby\x3d"cke_{name}_arialbl"':" ")+"\x3e"+(a.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e':" ")+'\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{topId}" class\x3d"cke_top" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'),d=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(l.output({content:m, -id:a.id,langDir:a.lang.dir,langCode:a.langCode,name:a.name,style:"display:none;z-index:"+(b.baseFloatZIndex-1),topId:a.ui.spaceId("top"),voiceLabel:a.title}))),e=CKEDITOR.tools.eventsBuffer(500,k),c=CKEDITOR.tools.eventsBuffer(100,k);d.unselectable();d.on("mousedown",function(a){a=a.data;a.getTarget().hasAscendant("a",1)||a.preventDefault()});a.on("focus",function(b){k(b);a.on("change",e.input);h.on("scroll",c.input);h.on("resize",c.input)});a.on("blur",function(){d.hide();a.removeListener("change", -e.input);h.removeListener("scroll",c.input);h.removeListener("resize",c.input)});a.on("destroy",function(){h.removeListener("scroll",c.input);h.removeListener("resize",c.input);d.clearCustomData();d.remove()});a.focusManager.hasFocus&&d.show();a.focusManager.add(d,1)}}var h=CKEDITOR.document.getWindow(),f=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{init:function(a){a.on("loaded",function(){b(this)},null,null,20)}})})();CKEDITOR.plugins.add("listblock",{requires:"panel",onLoad:function(){var b= +null;this._.editor.fire("panelHide",this)}},allowBlur:function(b){var e=this._.panel;void 0!==b&&(e.allowBlur=b);return e.allowBlur},showAsChild:function(b,e,a,h,k,l){if(this._.activeChild!=b||b._.panel._.offsetParentId!=a.getId())this.hideChild(),b.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=b,this._.focused=!1,b.showBlock(e,a,h,k,l),this.blur(),(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&setTimeout(function(){b.element.getChild(0).$.style.cssText+= +""},100)},hideChild:function(b){var e=this._.activeChild;e&&(delete e.onHide,delete this._.activeChild,e.hide(),b&&this.focus())}}});CKEDITOR.on("instanceDestroyed",function(){var b=CKEDITOR.tools.isEmpty(CKEDITOR.instances),e;for(e in h){var a=h[e];b?a.destroy():a.element.hide()}b&&(h={})})})();CKEDITOR.plugins.add("colorbutton",{requires:"panelbutton,floatpanel",init:function(b){function h(c){var d=c.name,f=c.type,e=c.title,h=c.order,p=c.commandName;c=c.contentTransformations||{};var v=new CKEDITOR.style(k["colorButton_"+ +f+"Style"]),x=CKEDITOR.tools.getNextId()+"_colorBox",u={type:f},A=new CKEDITOR.style(k["colorButton_"+f+"Style"],{color:"inherit"}),z;b.addCommand(p,{contextSensitive:!0,exec:function(a,c){if(!a.readOnly){var d=c.newStyle;a.removeStyle(A);a.focus();d&&a.applyStyle(d);a.fire("saveSnapshot")}},refresh:function(a,c){A.checkApplicable(c,a,a.activeFilter)?A.checkActive(c,a)?this.setState(CKEDITOR.TRISTATE_ON):this.setState(CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)}});b.ui.add(d, +CKEDITOR.UI_PANELBUTTON,{label:e,title:e,command:p,editorFocus:0,toolbar:"colors,"+h,allowedContent:v,requiredContent:v,contentTransformations:c,panel:{css:CKEDITOR.skin.getPath("editor"),attributes:{role:"listbox","aria-label":l.panelTitle}},select:function(c){var d=k.colorButton_colors.split(",");c=CKEDITOR.tools.array.find(d,c);c=m(c);a(z,c);z._.markFirstDisplayed()},onBlock:function(a,c){z=c;c.autoSize=!0;c.element.addClass("cke_colorblock");c.element.setHtml(g({type:f,colorBoxId:x,colorData:u, +commandName:p}));c.element.getDocument().getBody().setStyle("overflow","hidden");CKEDITOR.ui.fire("ready",this);var d=c.keys,e="rtl"==b.lang.dir;d[e?37:39]="next";d[40]="next";d[9]="next";d[e?39:37]="prev";d[38]="prev";d[CKEDITOR.SHIFT+9]="prev";d[32]="click"},onOpen:function(){var c=b.getSelection(),d=c&&c.getStartElement(),e=b.elementPath(d);if(!e)return null;d=e.block||e.blockLimit||b.document.getBody();do e=d&&d.getComputedStyle("back"==f?"background-color":"color")||"transparent";while("back"== +f&&"transparent"==e&&d&&(d=d.getParent()));e&&"transparent"!=e||(e="#ffffff");!1!==k.colorButton_enableAutomatic&&this._.panel._.iframe.getFrameDocument().getById(x).setStyle("background-color",e);if(d=c&&c.getRanges()[0]){for(var c=new CKEDITOR.dom.walker(d),g=d.collapsed?d.startContainer:c.next(),d="";g;){g.type!==CKEDITOR.NODE_ELEMENT&&(g=g.getParent());g=m(g.getComputedStyle("back"==f?"background-color":"color"));d=d||g;if(d!==g){d="";break}g=c.next()}"transparent"==d&&(d="");"fore"==f&&(u.automaticTextColor= +"#"+m(e));u.selectionColor=d?"#"+d:"";a(z,d)}return e}})}function g(a){function d(a,c){var f={};a&&(f.color=a);c&&(f.colorName=c);f=!CKEDITOR.tools.isEmpty(f)&&new CKEDITOR.style(z,f);b.execCommand(m,{newStyle:f})}var f=a.type,g=a.colorBoxId,h=a.colorData,m=a.commandName;a=[];var v=k.colorButton_colors.split(","),x=k.colorButton_colorsPerRow||6,u=b.plugins.colordialog&&!1!==k.colorButton_enableMore,A=v.length+(u?2:1),z=b.config["colorButton_"+f+"Style"];z.childRule="back"==f?function(a){return e(a)}: +function(a){return!(a.is("a")||a.getElementsByTag("a").count())||e(a)};var w=CKEDITOR.tools.addFunction(function(a,c){b.focus();b.fire("saveSnapshot");"?"==a?b.getColorFromDialog(function(a){a&&d(a)},null,h):d(a&&"#"+a,c)});!1!==k.colorButton_enableAutomatic&&a.push('\x3ca class\x3d"cke_colorauto" _cke_focus\x3d1 hidefocus\x3dtrue title\x3d"',l.auto,'" draggable\x3d"false" ondragstart\x3d"return false;" onclick\x3d"CKEDITOR.tools.callFunction(',w,",null, null,'",f,"');return false;\" href\x3d\"javascript:void('", +l.auto,'\')" role\x3d"option" aria-posinset\x3d"1" aria-setsize\x3d"',A,'"\x3e\x3ctable role\x3d"presentation" cellspacing\x3d0 cellpadding\x3d0 width\x3d"100%"\x3e\x3ctr\x3e\x3ctd colspan\x3d"'+x+'" align\x3d"center"\x3e\x3cspan class\x3d"cke_colorbox" id\x3d"',g,'"\x3e\x3c/span\x3e',l.auto,"\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/a\x3e");a.push('\x3ctable role\x3d"presentation" cellspacing\x3d0 cellpadding\x3d0 width\x3d"100%"\x3e');for(g=0;g <\/span>/g,""),a.replace(/<.*?>/g,"")):a.getText()}function f(a,c){var g=a,h=/\s/g,k="p br ol ul li td th div caption body".split(" "),m=!1,n=!1,r,p;do{for(r=b(g,c);!r&&g.getParent();){g=g.getParent();if(-1!==e(k,g.getName())){n=m=!0;break}r=b(g,c)}if(r&&r.getName&&-1!==e(k,r.getName())){m=!0;break}g=r}while(g&&g.getStyle&& +("none"==g.getStyle("display")||!g.getText()));for(g||(g=a);g.type!==CKEDITOR.NODE_TEXT;)g=!m||c||n?g.getChild(0):g.getChild(g.getChildCount()-1);for(k=d(g);null!=(n=h.exec(k))&&(p=n.index,c););if("number"!==typeof p&&!m)return f(g,c);if(m)c?p=0:(h=/([\.\b]*$)/,p=(n=h.exec(k))?n.index:k.length);else if(c&&(p+=1,p>k.length))return f(g);return{node:g,offset:p}}var c=/\b\w+\b/ig,g,h,m,q,p;m=q=p=a.startContainer;for(g=d(m);null!=(h=c.exec(g));)if(h.index+h[0].length>=a.startOffset)return a=h.index,c= +h.index+h[0].length,0===h.index&&(h=f(m,!0),q=h.node,a=h.offset),c>=g.length&&(g=f(m),p=g.node,c=g.offset),{startNode:q,startOffset:a,endNode:p,endOffset:c};return null},_filterStyles:function(a){var b=CKEDITOR.tools.isEmpty,d=[],f,c;for(c=0;cd.group?1:a.order< +d.order?-1:a.order>d.order?1:0})}var h='\x3cspan class\x3d"cke_menuitem"\x3e\x3ca id\x3d"{id}" class\x3d"cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}" href\x3d"{href}" title\x3d"{title}" tabindex\x3d"-1" _cke_focus\x3d1 hidefocus\x3d"true" role\x3d"{role}" aria-label\x3d"{attrLabel}" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasPopup}" aria-disabled\x3d"{disabled}" {ariaChecked} draggable\x3d"false"',g="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(h+=' onkeypress\x3d"return false;"'); +CKEDITOR.env.gecko&&(h+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;" ondragstart\x3d"return false;"');CKEDITOR.env.ie&&(g='return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26');var h=h+(' onmouseover\x3d"CKEDITOR.tools.callFunction({hoverFn},{index});" onmouseout\x3d"CKEDITOR.tools.callFunction({moveOutFn},{index});" onclick\x3d"'+g+'CKEDITOR.tools.callFunction({clickFn},{index}); return false;"\x3e')+'\x3cspan class\x3d"cke_menubutton_inner"\x3e\x3cspan class\x3d"cke_menubutton_icon"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{iconStyle}"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"cke_menubutton_label"\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_voice_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e', +e=CKEDITOR.addTemplate("menuItem",h),a=CKEDITOR.addTemplate("menuArrow",'\x3cspan class\x3d"cke_menuarrow"\x3e\x3cspan\x3e{label}\x3c/span\x3e\x3c/span\x3e'),m=CKEDITOR.addTemplate("menuShortcut",'\x3cspan class\x3d"cke_menubutton_label cke_menubutton_shortcut"\x3e{shortcut}\x3c/span\x3e');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("editor")],level:this._.level-1,block:{}}),f=d.block.attributes=d.attributes||{};!f.role&&(f.role="menu");this._.panelDefinition=d},_:{onShow:function(){var a=this.editor.getSelection(),b=a&&a.getStartElement(),d=this.editor.elementPath(),f=this._.listeners;this.removeAll();for(var c=0;cCKEDITOR.env.version?g.createText("\r"):g.createElement("br"),b.deleteContents(),b.insertNode(a),CKEDITOR.env.needsBrFiller?(g.createText("").insertAfter(a), +k&&(v||m.blockLimit).appendBogus(),a.getNext().$.nodeValue="",b.setStartAt(a.getNext(),CKEDITOR.POSITION_AFTER_START)):b.setStartAt(a,CKEDITOR.POSITION_AFTER_END)),b.collapse(!0),b.select(),b.scrollIntoView()):l(a,c,b,e)}}};m=CKEDITOR.plugins.enterkey;k=m.enterBr;l=m.enterBlock;d=/^h[1-6]$/})();(function(){function b(b,g){var e={},a=[],m={nbsp:" ",shy:"­",gt:"\x3e",lt:"\x3c",amp:"\x26",apos:"'",quot:'"'};b=b.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(d,c){var b=g?"\x26"+c+";":m[c]; +e[b]=g?m[c]:"\x26"+c+";";a.push(b);return""});b=b.replace(/,$/,"");if(!g&&b){b=b.split(",");var k=document.createElement("div"),l;k.innerHTML="\x26"+b.join(";\x26")+";";l=k.innerHTML;k=null;for(k=0;kh&&(h=640);420>g&&(g=420);var a=parseInt((window.screen.height-g)/2,10),m=parseInt((window.screen.width- +h)/2,10);e=(e||"location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes")+",width\x3d"+h+",height\x3d"+g+",top\x3d"+a+",left\x3d"+m;var k=window.open("",null,e,!0);if(!k)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(" chrome/")&&(k.moveTo(m,a),k.resizeTo(h,g)),k.focus(),k.location.href=b}catch(l){window.open(b,null,e,!0)}return!0}});"use strict";(function(){function b(a){this.editor=a;this.loaders= +[]}function h(a,b,e){var h=a.config.fileTools_defaultFileName;this.editor=a;this.lang=a.lang;"string"===typeof b?(this.data=b,this.file=g(this.data),this.loaded=this.total=this.file.size):(this.data=null,this.file=b,this.total=this.file.size,this.loaded=0);e?this.fileName=e:this.file.name?this.fileName=this.file.name:(a=this.file.type.split("/"),h&&(a[0]=h),this.fileName=a.join("."));this.uploaded=0;this.responseData=this.uploadTotal=null;this.status="created";this.abort=function(){this.changeStatus("abort")}} +function g(a){var b=a.match(e)[1];a=a.replace(e,"");a=atob(a);var g=[],h,d,f,c;for(h=0;hg.status||299x.height-v.bottom?f("pin"):f("bottom"),c=x.width/2,c=a.floatSpacePreferRight?"right":0p.width?"rtl"==a.contentsLangDirection?"right":"left":c-v.left>v.right-c?"left":"right",p.width>x.width?(c="left",n=0):(n="left"==c?0x.width&&(c="left"==c?"right":"left",n=0)),d.setStyle(c,g(("pin"==l?y:z)+n+("pin"==l?0:"left"==c?A:-A)))):(l="pin",f("pin"),k(c))}}}();if(m){var l=new CKEDITOR.template('\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} '+ +CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"application" style\x3d"{style}"'+(b.title?' aria-labelledby\x3d"cke_{name}_arialbl"':" ")+"\x3e"+(b.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e':" ")+'\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{topId}" class\x3d"cke_top" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'),d=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(l.output({content:m, +id:b.id,langDir:b.lang.dir,langCode:b.langCode,name:b.name,style:"display:none;z-index:"+(a.baseFloatZIndex-1),topId:b.ui.spaceId("top"),voiceLabel:b.title}))),f=CKEDITOR.tools.eventsBuffer(500,k),c=CKEDITOR.tools.eventsBuffer(100,k);d.unselectable();d.on("mousedown",function(a){a=a.data;a.getTarget().hasAscendant("a",1)||a.preventDefault()});b.on("focus",function(a){k(a);b.on("change",f.input);h.on("scroll",c.input);h.on("resize",c.input)});b.on("blur",function(){d.hide();b.removeListener("change", +f.input);h.removeListener("scroll",c.input);h.removeListener("resize",c.input)});b.on("destroy",function(){h.removeListener("scroll",c.input);h.removeListener("resize",c.input);d.clearCustomData();d.remove()});b.focusManager.hasFocus&&d.show();b.focusManager.add(d,1)}}var h=CKEDITOR.document.getWindow(),g=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{init:function(e){e.on("loaded",function(){b(this)},null,null,20)}})})();CKEDITOR.plugins.add("listblock",{requires:"panel",onLoad:function(){var b= CKEDITOR.addTemplate("panel-list",'\x3cul role\x3d"presentation" class\x3d"cke_panel_list"\x3e{items}\x3c/ul\x3e'),h=CKEDITOR.addTemplate("panel-list-item",'\x3cli id\x3d"{id}" class\x3d"cke_panel_listItem" role\x3dpresentation\x3e\x3ca id\x3d"{id}_option" _cke_focus\x3d1 hidefocus\x3dtrue title\x3d"{title}" draggable\x3d"false" ondragstart\x3d"return false;" href\x3d"javascript:void(\'{val}\')" onclick\x3d"{onclick}CKEDITOR.tools.callFunction({clickFn},\'{val}\'); return false;" role\x3d"option"\x3e{text}\x3c/a\x3e\x3c/li\x3e'), -f=CKEDITOR.addTemplate("panel-list-group",'\x3ch1 id\x3d"{id}" draggable\x3d"false" ondragstart\x3d"return false;" class\x3d"cke_panel_grouptitle" role\x3d"presentation" \x3e{label}\x3c/h1\x3e'),a=/\'/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 f=b.attributes||(b.attributes={});(this.multiSelect=!!b.multiSelect)&& -(f["aria-multiselectable"]=!0);!f.role&&(f.role="listbox");this.base.apply(this,arguments);this.element.setAttribute("role",f.role);f=this.keys;f[40]="next";f[9]="next";f[38]="prev";f[CKEDITOR.SHIFT+9]="prev";f[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(f[13]="mouseup");this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var a=b.output({items:this._.pendingList.join("")});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(b,f,k){var l=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[b]=l;var d;d=CKEDITOR.tools.htmlEncodeAttr(b).replace(a,"\\'");b={id:l,val:d,onclick:CKEDITOR.env.ie?'return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26': -"",clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(k||b),text:f||b};this._.pendingList.push(h.output(b))},startGroup:function(a){this._.close();var b=CKEDITOR.tools.getNextId();this._.groups[a]=b;this._.pendingHtml.push(f.output({id:b,label:a}))},commit:function(){this._.close();this.element.appendHtml(this._.pendingHtml.join(""));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]))&&a.getNext();a&&(a.setStyle("display","none"),b&&"ul"==b.getName()&&b.setStyle("display","none"))},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle("display","none")},showAll:function(){var a=this._.items,b=this._.groups,f=this.element.getDocument(),h;for(h in a)f.getById(a[h]).setStyle("display","");for(var d in b)a=f.getById(b[d]),h=a.getNext(),a.setStyle("display",""),h&&"ul"==h.getName()&&h.setStyle("display", -"")},mark:function(a){this.multiSelect||this.unmarkAll();a=this._.items[a];var b=this.element.getDocument().getById(a);b.addClass("cke_selected");this.element.getDocument().getById(a+"_option").setAttribute("aria-selected",!0);this.onMark&&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 f=b.getById(a);f.removeClass("cke_selected");b.getById(a+"_option").removeAttribute("aria-selected"); -this.onUnmark&&this.onUnmark(f)},unmarkAll:function(){var a=this._.items,b=this.element.getDocument(),f;for(f in a){var h=a[f];b.getById(h).removeClass("cke_selected");b.getById(h+"_option").removeAttribute("aria-selected")}this.onUnmark&&this.onUnmark()},isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass("cke_selected")},focus:function(a){this._.focusIndex=-1;var b=this.element.getElementsByTag("a"),f,h=-1;if(a)for(f=this.element.getDocument().getById(this._.items[a]).getFirst();a= -b.getItem(++h);){if(a.equals(f)){this._.focusIndex=h;break}}else this.element.focus();f&&setTimeout(function(){f.focus()},0)}}})}});CKEDITOR.plugins.add("richcombo",{requires:"floatpanel,listblock,button",beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}});(function(){var b='\x3cspan id\x3d"{id}" class\x3d"cke_combo cke_combo__{name} {cls}" role\x3d"presentation"\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_combo_label"\x3e{label}\x3c/span\x3e\x3ca class\x3d"cke_combo_button" title\x3d"{title}" tabindex\x3d"-1"'+ +g=CKEDITOR.addTemplate("panel-list-group",'\x3ch1 id\x3d"{id}" draggable\x3d"false" ondragstart\x3d"return false;" class\x3d"cke_panel_grouptitle" role\x3d"presentation" \x3e{label}\x3c/h1\x3e'),e=/\'/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 e=b.attributes||(b.attributes={});(this.multiSelect=!!b.multiSelect)&& +(e["aria-multiselectable"]=!0);!e.role&&(e.role="listbox");this.base.apply(this,arguments);this.element.setAttribute("role",e.role);e=this.keys;e[40]="next";e[9]="next";e[38]="prev";e[CKEDITOR.SHIFT+9]="prev";e[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(e[13]="mouseup");this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var a=b.output({items:this._.pendingList.join("")});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,g){var l=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[a]=l;var d;d=CKEDITOR.tools.htmlEncodeAttr(a).replace(e,"\\'");a={id:l,val:d,onclick:CKEDITOR.env.ie?'return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26': +"",clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(g||a),text:b||a};this._.pendingList.push(h.output(a))},startGroup:function(a){this._.close();var b=CKEDITOR.tools.getNextId();this._.groups[a]=b;this._.pendingHtml.push(g.output({id:b,label:a}))},commit:function(){this._.close();this.element.appendHtml(this._.pendingHtml.join(""));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]))&&a.getNext();a&&(a.setStyle("display","none"),b&&"ul"==b.getName()&&b.setStyle("display","none"))},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle("display","none")},showAll:function(){var a=this._.items,b=this._.groups,e=this.element.getDocument(),g;for(g in a)e.getById(a[g]).setStyle("display","");for(var d in b)a=e.getById(b[d]),g=a.getNext(),a.setStyle("display",""),g&&"ul"==g.getName()&&g.setStyle("display", +"")},mark:function(a){this.multiSelect||this.unmarkAll();a=this._.items[a];var b=this.element.getDocument().getById(a);b.addClass("cke_selected");this.element.getDocument().getById(a+"_option").setAttribute("aria-selected",!0);this.onMark&&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 e=b.getById(a);e.removeClass("cke_selected");b.getById(a+"_option").removeAttribute("aria-selected"); +this.onUnmark&&this.onUnmark(e)},unmarkAll:function(){var a=this._.items,b=this.element.getDocument(),e;for(e in a){var g=a[e];b.getById(g).removeClass("cke_selected");b.getById(g+"_option").removeAttribute("aria-selected")}this.onUnmark&&this.onUnmark()},isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass("cke_selected")},focus:function(a){this._.focusIndex=-1;var b=this.element.getElementsByTag("a"),e,g=-1;if(a)for(e=this.element.getDocument().getById(this._.items[a]).getFirst();a= +b.getItem(++g);){if(a.equals(e)){this._.focusIndex=g;break}}else this.element.focus();e&&setTimeout(function(){e.focus()},0)}}})}});CKEDITOR.plugins.add("richcombo",{requires:"floatpanel,listblock,button",beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}});(function(){var b='\x3cspan id\x3d"{id}" class\x3d"cke_combo cke_combo__{name} {cls}" role\x3d"presentation"\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_combo_label"\x3e{label}\x3c/span\x3e\x3ca class\x3d"cke_combo_button" title\x3d"{title}" tabindex\x3d"-1"'+ (CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-haspopup\x3d"listbox"',h="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(b+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(b+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');CKEDITOR.env.ie&&(h='return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26');var b=b+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event,this);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" onclick\x3d"'+ -h+'CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan id\x3d"{id}_text" class\x3d"cke_combo_text cke_combo_inlinelabel"\x3e{label}\x3c/span\x3e\x3cspan class\x3d"cke_combo_open"\x3e\x3cspan class\x3d"cke_combo_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":CKEDITOR.env.air?"\x26nbsp;":"")+"\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e"),f=CKEDITOR.addTemplate("combo",b);CKEDITOR.UI_RICHCOMBO="richcombo";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&&a.parent.getDocument()||CKEDITOR.document;a.className="cke_combopanel";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("")},render:function(a,b){function h(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var b= -this.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;a.readOnly&&!this.readOnly&&(b=CKEDITOR.TRISTATE_DISABLED);this.setState(b);this.setValue("");b!=CKEDITOR.TRISTATE_DISABLED&&this.refresh&&this.refresh()}}var k=CKEDITOR.env,l,d,e="cke_"+this.id,c=CKEDITOR.tools.addFunction(function(b){d&&(a.unlockSelection(1),d=0);l.execute(b)},this),n=this;l={id:e,combo:this,focus:function(){CKEDITOR.document.getById(e).getChild(1).focus()},execute:function(b){var d=n._;if(d.state!=CKEDITOR.TRISTATE_DISABLED)if(n.createPanel(a), -d.on)d.panel.hide();else{n.commit();var c=n.getValue();c?d.list.mark(c):d.list.unmarkAll();d.panel.showBlock(n.id,new CKEDITOR.dom.element(b),4)}},clickFn:c};this._.listeners.push(a.on("activeFilterChange",h,this));this._.listeners.push(a.on("mode",h,this));this._.listeners.push(a.on("selectionChange",h,this));!this.readOnly&&this._.listeners.push(a.on("readOnly",h,this));var r=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(c, -b);break;default:l.onkey(l,d)}a.preventDefault()}),t=CKEDITOR.tools.addFunction(function(){l.onfocus&&l.onfocus()});d=0;l.keyDownFn=r;k={id:e,name:this.name||this.command,label:this.label,title:this.title,cls:this.className||"",titleJs:k.gecko&&!k.hc?"":(this.title||"").replace("'",""),keydownFn:r,focusFn:t,clickFn:c};f.output(k,b);if(this.onRender)this.onRender();return l},createPanel:function(a){if(!this._.panel){var b=this._.panelDefinition,f=this._.panelDefinition.block,h=b.parent||CKEDITOR.document.getBody(), -l="cke_combopanel__"+this.name,d=new CKEDITOR.ui.floatPanel(a,h,b),b=d.addListBlock(this.id,f),e=this;d.onShow=function(){this.element.addClass(l);e.setState(CKEDITOR.TRISTATE_ON);e._.on=1;e.editorFocus&&!a.focusManager.hasFocus&&a.focus();if(e.onOpen)e.onOpen()};d.onHide=function(b){this.element.removeClass(l);e.setState(e.modes&&e.modes[a.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);e._.on=0;if(!b&&e.onClose)e.onClose()};d.onEscape=function(){d.hide(1)};b.onClick=function(a,b){e.onClick&& -e.onClick.call(e,a,b);d.hide()};this._.panel=d;this._.list=b;d.getBlock(this.id).onHide=function(){e._.on=0;e.setState(CKEDITOR.TRISTATE_OFF)};this.init&&this.init()}},setValue:function(a,b){this._.value=a;var f=this.document.getById("cke_"+this.id+"_text");f&&(a||b?f.removeClass("cke_combo_inlinelabel"):(b=this.label,f.addClass("cke_combo_inlinelabel")),f.setText("undefined"!=typeof b?b:a))},getValue:function(){return this._.value||""},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,f){this._.items[a]=f||a;this._.list.add(a,b,f)},startGroup:function(a){this._.list.startGroup(a)},commit:function(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire("ready",this));this._.committed=1},setState:function(a){if(this._.state!=a){var b=this.document.getById("cke_"+this.id);b.setState(a,"cke_combo");a==CKEDITOR.TRISTATE_DISABLED? -b.setAttribute("aria-disabled",!0):b.removeAttribute("aria-disabled");this._.state=a}},getState:function(){return this._.state},enable:function(){this._.state==CKEDITOR.TRISTATE_DISABLED&&this.setState(this._.lastState)},disable:function(){this._.state!=CKEDITOR.TRISTATE_DISABLED&&(this._.lastState=this._.state,this.setState(CKEDITOR.TRISTATE_DISABLED))},destroy:function(){CKEDITOR.tools.array.forEach(this._.listeners,function(a){a.removeListener()});this._.listeners=[]},select:function(a){if(!CKEDITOR.tools.isEmpty(this._.items))for(var b in this._.items)if(a({value:b, -text:this._.items[b]})){this.setValue(b);break}}},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)}})();(function(){function b(b,a,g,m,k,l,d,e){var c=b.config,n=new CKEDITOR.style(d),r=k.split(";");k=[];for(var t={},q=0;qA.length)return!1;h=d.getParents(!0);for(m=0;mw;m++)p[m].indent+=h;h=CKEDITOR.plugins.list.arrayToList(p,c,null,a.config.enterMode,d.getDirection());if(!e.isIndent){var C;if((C=d.getParent())&&C.is("li"))for(var A=h.listNode.getChildren(), -G=[],t,m=A.count()-1;0<=m;m--)(t=A.getItem(m))&&t.is&&t.is("li")&&G.push(t)}h&&h.listNode.replace(d);if(G&&G.length)for(m=0;m(d+=c?1:-1))return;d=Math.min(d,b.length);d=Math.max(d,0);a.$.className=CKEDITOR.tools.ltrim(a.$.className.replace(this.classNameRegex,""));0d)return;d=Math.max(d,0);d=Math.ceil(d/f)*f;a.setStyle(b,d?d+(e.config.indentUnit||"px"):"");""=== -a.getAttribute("style")&&a.removeAttribute("style")}CKEDITOR.dom.element.setMarker(this.database,a,"indent_processed",1)}}function h(a,b){return"ltr"==(b||a.getComputedStyle("direction"))?"margin-left":"margin-right"}var f=CKEDITOR.dtd.$listItem,a=CKEDITOR.dtd.$list,g=CKEDITOR.TRISTATE_DISABLED,m=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add("indentblock",{requires:"indent",init:function(k){function l(){d.specificDefinition.apply(this,arguments);this.allowedContent={"div h1 h2 h3 h4 h5 h6 ol p pre ul":{propertiesOnly:!0, -styles:e?null:"margin-left,margin-right",classes:e||null}};this.contentTransformations=[["div: splitMarginShorthand"],["h1: splitMarginShorthand"],["h2: splitMarginShorthand"],["h3: splitMarginShorthand"],["h4: splitMarginShorthand"],["h5: splitMarginShorthand"],["h6: splitMarginShorthand"],["ol: splitMarginShorthand"],["p: splitMarginShorthand"],["pre: splitMarginShorthand"],["ul: splitMarginShorthand"]];this.enterBr&&(this.allowedContent.div=!0);this.requiredContent=(this.enterBr?"div":"p")+(e? -"("+e.join(",")+")":"{margin-left}");this.jobs={20:{refresh:function(a,b){var d=b.block||b.blockLimit;if(!d.is(f))var k=d.getAscendant(f),d=k&&b.contains(k)||d;d.is(f)&&(d=d.getParent());if(this.enterBr||this.getContext(b)){if(e){var k=e,d=d.$.className.match(this.classNameRegex),l=this.isIndent,k=d?l?d[1]!=k.slice(-1):!0:l;return k?m:g}return this.isIndent?m:d?CKEDITOR[0>=(parseInt(d.getStyle(h(d)),10)||0)?"TRISTATE_DISABLED":"TRISTATE_OFF"]:g}return g},exec:function(d){var f=d.getSelection(),f= -f&&f.getRanges()[0],g;if(g=d.elementPath().contains(a))b.call(this,g,e);else for(f=f.createIterator(),d=d.config.enterMode,f.enforceRealBlocks=!0,f.enlargeBr=d!=CKEDITOR.ENTER_BR;g=f.getNextParagraph(d==CKEDITOR.ENTER_P?"p":"div");)g.isReadOnly()||b.call(this,g,e);return!0}}}}var d=CKEDITOR.plugins.indent,e=k.config.indentClasses;d.registerCommands(k,{indentblock:new l(k,"indentblock",!0),outdentblock:new l(k,"outdentblock")});CKEDITOR.tools.extend(l.prototype,d.specificDefinition.prototype,{context:{div:1, -dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ul:1,ol:1,p:1,pre:1,table:1},classNameRegex:e?new RegExp("(?:^|\\s+)("+e.join("|")+")(?\x3d$|\\s)"):null})}})})();(function(){function b(a,b){b=void 0===b||b;var f;if(b)f=a.getComputedStyle("text-align");else{for(;!a.hasAttribute||!a.hasAttribute("align")&&!a.getStyle("text-align");){f=a.getParent();if(!f)break;a=f}f=a.getStyle("text-align")||a.getAttribute("align")||""}f&&(f=f.replace(/(?:-(?:moz|webkit)-)?(?:start|auto)/i,""));!f&&b&&(f="rtl"==a.getComputedStyle("direction")? -"right":"left");return f}function h(a,b,f){this.editor=a;this.name=b;this.value=f;this.context="p";b=a.config.justifyClasses;var h=a.config.enterMode==CKEDITOR.ENTER_P?"p":"div";if(b){switch(f){case "left":this.cssClassName=b[0];break;case "center":this.cssClassName=b[1];break;case "right":this.cssClassName=b[2];break;case "justify":this.cssClassName=b[3]}this.cssClassRegex=new RegExp("(?:^|\\s+)(?:"+b.join("|")+")(?\x3d$|\\s)");this.requiredContent=h+"("+this.cssClassName+")"}else this.requiredContent= -h+"{text-align}";this.allowedContent={"caption div h1 h2 h3 h4 h5 h6 p pre td th li":{propertiesOnly:!0,styles:this.cssClassName?null:"text-align",classes:this.cssClassName||null}};a.config.enterMode==CKEDITOR.ENTER_BR&&(this.allowedContent.div=!0)}function f(a){var b=a.editor,f=b.createRange();f.setStartBefore(a.data.node);f.setEndAfter(a.data.node);for(var h=new CKEDITOR.dom.walker(f),l;l=h.next();)if(l.type==CKEDITOR.NODE_ELEMENT)if(!l.equals(a.data.node)&&l.getDirection())f.setStartAfter(l),h= -new CKEDITOR.dom.walker(f);else{var d=b.config.justifyClasses;d&&(l.hasClass(d[0])?(l.removeClass(d[0]),l.addClass(d[2])):l.hasClass(d[2])&&(l.removeClass(d[2]),l.addClass(d[0])));d=l.getStyle("text-align");"left"==d?l.setStyle("text-align","right"):"right"==d&&l.setStyle("text-align","left")}}h.prototype={exec:function(a){var f=a.getSelection(),h=a.config.enterMode;if(f){for(var k=f.createBookmarks(),l=f.getRanges(),d=this.cssClassName,e,c,n=a.config.useComputedState,n=void 0===n||n,r=l.length-1;0<= -r;r--)for(e=l[r].createIterator(),e.enlargeBr=h!=CKEDITOR.ENTER_BR;c=e.getNextParagraph(h==CKEDITOR.ENTER_P?"p":"div");)if(!c.isReadOnly()){var t=c.getName(),q;q=a.activeFilter.check(t+"{text-align}");if((t=a.activeFilter.check(t+"("+d+")"))||q){c.removeAttribute("align");c.removeStyle("text-align");var p=d&&(c.$.className=CKEDITOR.tools.ltrim(c.$.className.replace(this.cssClassRegex,""))),u=this.state==CKEDITOR.TRISTATE_OFF&&(!n||b(c,!0)!=this.value);d&&t?u?c.addClass(d):p||c.removeAttribute("class"): -u&&q&&c.setStyle("text-align",this.value)}}a.focus();a.forceNextSelectionCheck();f.selectBookmarks(k)}},refresh:function(a,f){var h=f.block||f.blockLimit,k=h.getName(),l=h.equals(a.editable()),k=this.cssClassName?a.activeFilter.check(k+"("+this.cssClassName+")"):a.activeFilter.check(k+"{text-align}");l&&!CKEDITOR.dtd.$list[f.lastElement.getName()]?this.setState(CKEDITOR.TRISTATE_OFF):!l&&k?this.setState(b(h,this.editor.config.useComputedState)==this.value?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF): -this.setState(CKEDITOR.TRISTATE_DISABLED)}};CKEDITOR.plugins.add("justify",{init:function(a){if(!a.blockless){var b=new h(a,"justifyleft","left"),m=new h(a,"justifycenter","center"),k=new h(a,"justifyright","right"),l=new h(a,"justifyblock","justify");a.addCommand("justifyleft",b);a.addCommand("justifycenter",m);a.addCommand("justifyright",k);a.addCommand("justifyblock",l);a.ui.addButton&&(a.ui.addButton("JustifyLeft",{label:a.lang.common.alignLeft,command:"justifyleft",toolbar:"align,10"}),a.ui.addButton("JustifyCenter", -{label:a.lang.common.center,command:"justifycenter",toolbar:"align,20"}),a.ui.addButton("JustifyRight",{label:a.lang.common.alignRight,command:"justifyright",toolbar:"align,30"}),a.ui.addButton("JustifyBlock",{label:a.lang.common.justify,command:"justifyblock",toolbar:"align,40"}));a.on("dirChanged",f)}}})})();CKEDITOR.plugins.add("menubutton",{requires:"button,menu",onLoad:function(){var b=function(b){var f=this._,a=f.menu;f.state!==CKEDITOR.TRISTATE_DISABLED&&(f.on&&a?a.hide():(f.previousState= -f.state,a||(a=f.menu=new CKEDITOR.menu(b,{panel:{className:"cke_menu_panel",attributes:{"aria-label":b.lang.common.options}}}),a.onHide=CKEDITOR.tools.bind(function(){var a=this.command?b.getCommand(this.command).modes:this.modes;this.setState(!a||a[b.mode]?f.previousState:CKEDITOR.TRISTATE_DISABLED);f.on=0},this),this.onMenu&&a.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),f.on=1,setTimeout(function(){a.show(CKEDITOR.document.getById(f.id),4)},0)))};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button, -$:function(h){delete h.panel;this.base(h);this.hasArrow="menu";this.click=b},statics:{handler:{create:function(b){return new CKEDITOR.ui.menuButton(b)}}}})},beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler)}});CKEDITOR.UI_MENUBUTTON="menubutton";"use strict";(function(){CKEDITOR.plugins.add("language",{requires:"menubutton",init:function(b){var h=b.config.language_list||["ar:Arabic:rtl","fr:French","es:Spanish"],f=this,a=b.lang.language,g={},m,k,l,d;b.addCommand("language", -{allowedContent:"span[!lang,!dir]",requiredContent:"span[lang,dir]",contextSensitive:!0,exec:function(a,b){var d=g["language_"+b];if(d)a[d.style.checkActive(a.elementPath(),a)?"removeStyle":"applyStyle"](d.style)},refresh:function(a){this.setState(f.getCurrentLangElement(a)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)}});for(d=0;df.length)){c=f[f.length-1].getNext();g=e.createElement(this.type); -for(d.push(g);f.length;)d=f.shift(),a=e.createElement("li"),l=d,l.is("pre")||q.test(l.getName())||"false"==l.getAttribute("contenteditable")?d.appendTo(a):(d.copyAttributes(a),h&&d.getDirection()&&(a.removeStyle("direction"),a.removeAttribute("dir")),d.moveChildren(a),d.remove()),a.appendTo(g);h&&k&&g.setAttribute("dir",h);c?g.insertBefore(c):g.appendTo(b)}}function f(a,b,d){function c(d){if(!(!(l=k[d?"getFirst":"getLast"]())||l.is&&l.isBlockBoundary()||!(m=b.root[d?"getPrevious":"getNext"](CKEDITOR.dom.walker.invisible(!0)))|| -m.is&&m.isBlockBoundary({br:1})))a.document.createElement("br")[d?"insertBefore":"insertAfter"](l)}for(var e=CKEDITOR.plugins.list.listToArray(b.root,d),f=[],g=0;ge[g-1].indent+1){f=e[g-1].indent+ -1-e[g].indent;for(h=e[g].indent;e[g]&&e[g].indent>=h;)e[g].indent+=f,g++;g--}var k=CKEDITOR.plugins.list.arrayToList(e,d,null,a.config.enterMode,b.root.getAttribute("dir")).listNode,l,m;c(!0);c();k.replace(b.root);a.fire("contentDomInvalidated")}function a(a,b){this.name=a;this.context=this.type=b;this.allowedContent=b+" li";this.requiredContent=b}function g(a,b,d,c){for(var e,f;e=a[c?"getLast":"getFirst"](p);)(f=e.getDirection(1))!==b.getDirection(1)&&e.setAttribute("dir",f),e.remove(),d?e[c?"insertBefore": -"insertAfter"](d):b.append(e,c),d=e}function m(a){function b(d){var c=a[d?"getPrevious":"getNext"](r);c&&c.type==CKEDITOR.NODE_ELEMENT&&c.is(a.getName())&&(g(a,c,null,!d),a.remove(),a=c)}b();b(1)}function k(a){return a.type==CKEDITOR.NODE_ELEMENT&&(a.getName()in CKEDITOR.dtd.$block||a.getName()in CKEDITOR.dtd.$listItem)&&CKEDITOR.dtd[a.getName()]["#"]}function l(a,b,c){a.fire("saveSnapshot");c.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var e=c.extractContents();b.trim(!1,!0);var f=b.createBookmark(), -h=new CKEDITOR.dom.elementPath(b.startContainer),k=h.block,h=h.lastElement.getAscendant("li",1)||k,l=new CKEDITOR.dom.elementPath(c.startContainer),n=l.contains(CKEDITOR.dtd.$listItem),l=l.contains(CKEDITOR.dtd.$list);k?(k=k.getBogus())&&k.remove():l&&(k=l.getPrevious(r))&&t(k)&&k.remove();(k=e.getLast())&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("br")&&k.remove();(k=b.startContainer.getChild(b.startOffset))?e.insertBefore(k):b.startContainer.append(e);n&&(e=d(n))&&(h.contains(n)?(g(e,n.getParent(),n), -e.remove()):h.append(e));for(;c.checkStartOfBlock()&&c.checkEndOfBlock();){l=c.startPath();e=l.block;if(!e)break;e.is("li")&&(h=e.getParent(),e.equals(h.getLast(r))&&e.equals(h.getFirst(r))&&(e=h));c.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START);e.remove()}c=c.clone();e=a.editable();c.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);c=new CKEDITOR.dom.walker(c);c.evaluator=function(a){return r(a)&&!t(a)};(c=c.next())&&c.type==CKEDITOR.NODE_ELEMENT&&c.getName()in CKEDITOR.dtd.$list&&m(c);b.moveToBookmark(f); -b.select();a.fire("saveSnapshot")}function d(a){return(a=a.getLast(r))&&a.type==CKEDITOR.NODE_ELEMENT&&a.getName()in e?a:null}var e={ol:1,ul:1},c=CKEDITOR.dom.walker.whitespaces(),n=CKEDITOR.dom.walker.bookmark(),r=function(a){return!(c(a)||n(a))},t=CKEDITOR.dom.walker.bogus();CKEDITOR.plugins.list={listToArray:function(a,b,d,c,f){if(!e[a.getName()])return[];c||(c=0);d||(d=[]);for(var g=0,h=a.getChildCount();g=h.$.documentMode&&t.append(h.createText(" ")),t.append(m.listNode),m=m.nextIndex;else if(-1==I.indent&&!d&&g){e[g.getName()]?(t=I.element.clone(!1,!0),q!=g.getDirection(1)&&t.setAttribute("dir",q)):t=new CKEDITOR.dom.documentFragment(h); -var l=g.getDirection(1)!=q,K=I.element,F=K.getAttribute("class"),R=K.getAttribute("style"),S=t.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&(c!=CKEDITOR.ENTER_BR||l||R||F),N,Y=I.contents.length,U;for(g=0;gp.length)return!1;h=d.getParents(!0);for(m=0;mw;m++)z[m].indent+=h;h=CKEDITOR.plugins.list.arrayToList(z,c,null,a.config.enterMode,d.getDirection());if(!f.isIndent){var C;if((C=d.getParent())&&C.is("li"))for(var p=h.listNode.getChildren(), +F=[],t,m=p.count()-1;0<=m;m--)(t=p.getItem(m))&&t.is&&t.is("li")&&F.push(t)}h&&h.listNode.replace(d);if(F&&F.length)for(m=0;m(d+=c?1:-1))return;d=Math.min(d,b.length);d=Math.max(d,0);a.$.className=CKEDITOR.tools.ltrim(a.$.className.replace(this.classNameRegex,""));0d)return;d=Math.max(d,0);d=Math.ceil(d/e)*e;a.setStyle(b,d?d+(f.config.indentUnit||"px"):"");""=== +a.getAttribute("style")&&a.removeAttribute("style")}CKEDITOR.dom.element.setMarker(this.database,a,"indent_processed",1)}}function h(a,b){return"ltr"==(b||a.getComputedStyle("direction"))?"margin-left":"margin-right"}var g=CKEDITOR.dtd.$listItem,e=CKEDITOR.dtd.$list,a=CKEDITOR.TRISTATE_DISABLED,m=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add("indentblock",{requires:"indent",init:function(k){function l(){d.specificDefinition.apply(this,arguments);this.allowedContent={"div h1 h2 h3 h4 h5 h6 ol p pre ul":{propertiesOnly:!0, +styles:f?null:"margin-left,margin-right",classes:f||null}};this.contentTransformations=[["div: splitMarginShorthand"],["h1: splitMarginShorthand"],["h2: splitMarginShorthand"],["h3: splitMarginShorthand"],["h4: splitMarginShorthand"],["h5: splitMarginShorthand"],["h6: splitMarginShorthand"],["ol: splitMarginShorthand"],["p: splitMarginShorthand"],["pre: splitMarginShorthand"],["ul: splitMarginShorthand"]];this.enterBr&&(this.allowedContent.div=!0);this.requiredContent=(this.enterBr?"div":"p")+(f? +"("+f.join(",")+")":"{margin-left}");this.jobs={20:{refresh:function(b,d){var e=d.block||d.blockLimit;if(!e.is(g))var k=e.getAscendant(g),e=k&&d.contains(k)||e;e.is(g)&&(e=e.getParent());if(this.enterBr||this.getContext(d)){if(f){var k=f,e=e.$.className.match(this.classNameRegex),l=this.isIndent,k=e?l?e[1]!=k.slice(-1):!0:l;return k?m:a}return this.isIndent?m:e?CKEDITOR[0>=(parseInt(e.getStyle(h(e)),10)||0)?"TRISTATE_DISABLED":"TRISTATE_OFF"]:a}return a},exec:function(a){var d=a.getSelection(),d= +d&&d.getRanges()[0],g;if(g=a.elementPath().contains(e))b.call(this,g,f);else for(d=d.createIterator(),a=a.config.enterMode,d.enforceRealBlocks=!0,d.enlargeBr=a!=CKEDITOR.ENTER_BR;g=d.getNextParagraph(a==CKEDITOR.ENTER_P?"p":"div");)g.isReadOnly()||b.call(this,g,f);return!0}}}}var d=CKEDITOR.plugins.indent,f=k.config.indentClasses;d.registerCommands(k,{indentblock:new l(k,"indentblock",!0),outdentblock:new l(k,"outdentblock")});CKEDITOR.tools.extend(l.prototype,d.specificDefinition.prototype,{context:{div:1, +dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ul:1,ol:1,p:1,pre:1,table:1},classNameRegex:f?new RegExp("(?:^|\\s+)("+f.join("|")+")(?\x3d$|\\s)"):null})}})})();(function(){function b(b,a){a=void 0===a||a;var g;if(a)g=b.getComputedStyle("text-align");else{for(;!b.hasAttribute||!b.hasAttribute("align")&&!b.getStyle("text-align");){g=b.getParent();if(!g)break;b=g}g=b.getStyle("text-align")||b.getAttribute("align")||""}g&&(g=g.replace(/(?:-(?:moz|webkit)-)?(?:start|auto)/i,""));!g&&a&&(g="rtl"==b.getComputedStyle("direction")? +"right":"left");return g}function h(b,a,g){this.editor=b;this.name=a;this.value=g;this.context="p";a=b.config.justifyClasses;var h=b.config.enterMode==CKEDITOR.ENTER_P?"p":"div";if(a){switch(g){case "left":this.cssClassName=a[0];break;case "center":this.cssClassName=a[1];break;case "right":this.cssClassName=a[2];break;case "justify":this.cssClassName=a[3]}this.cssClassRegex=new RegExp("(?:^|\\s+)(?:"+a.join("|")+")(?\x3d$|\\s)");this.requiredContent=h+"("+this.cssClassName+")"}else this.requiredContent= +h+"{text-align}";this.allowedContent={"caption div h1 h2 h3 h4 h5 h6 p pre td th li":{propertiesOnly:!0,styles:this.cssClassName?null:"text-align",classes:this.cssClassName||null}};b.config.enterMode==CKEDITOR.ENTER_BR&&(this.allowedContent.div=!0)}function g(b){var a=b.editor,g=a.createRange();g.setStartBefore(b.data.node);g.setEndAfter(b.data.node);for(var h=new CKEDITOR.dom.walker(g),l;l=h.next();)if(l.type==CKEDITOR.NODE_ELEMENT)if(!l.equals(b.data.node)&&l.getDirection())g.setStartAfter(l),h= +new CKEDITOR.dom.walker(g);else{var d=a.config.justifyClasses;d&&(l.hasClass(d[0])?(l.removeClass(d[0]),l.addClass(d[2])):l.hasClass(d[2])&&(l.removeClass(d[2]),l.addClass(d[0])));d=l.getStyle("text-align");"left"==d?l.setStyle("text-align","right"):"right"==d&&l.setStyle("text-align","left")}}h.prototype={exec:function(e){var a=e.getSelection(),g=e.config.enterMode;if(a){for(var h=a.createBookmarks(),l=a.getRanges(),d=this.cssClassName,f,c,n=e.config.useComputedState,n=void 0===n||n,r=l.length-1;0<= +r;r--)for(f=l[r].createIterator(),f.enlargeBr=g!=CKEDITOR.ENTER_BR;c=f.getNextParagraph(g==CKEDITOR.ENTER_P?"p":"div");)if(!c.isReadOnly()){var t=c.getName(),q;q=e.activeFilter.check(t+"{text-align}");if((t=e.activeFilter.check(t+"("+d+")"))||q){c.removeAttribute("align");c.removeStyle("text-align");var p=d&&(c.$.className=CKEDITOR.tools.ltrim(c.$.className.replace(this.cssClassRegex,""))),v=this.state==CKEDITOR.TRISTATE_OFF&&(!n||b(c,!0)!=this.value);d&&t?v?c.addClass(d):p||c.removeAttribute("class"): +v&&q&&c.setStyle("text-align",this.value)}}e.focus();e.forceNextSelectionCheck();a.selectBookmarks(h)}},refresh:function(e,a){var g=a.block||a.blockLimit,h=g.getName(),l=g.equals(e.editable()),h=this.cssClassName?e.activeFilter.check(h+"("+this.cssClassName+")"):e.activeFilter.check(h+"{text-align}");l&&!CKEDITOR.dtd.$list[a.lastElement.getName()]?this.setState(CKEDITOR.TRISTATE_OFF):!l&&h?this.setState(b(g,this.editor.config.useComputedState)==this.value?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF): +this.setState(CKEDITOR.TRISTATE_DISABLED)}};CKEDITOR.plugins.add("justify",{init:function(b){if(!b.blockless){var a=new h(b,"justifyleft","left"),m=new h(b,"justifycenter","center"),k=new h(b,"justifyright","right"),l=new h(b,"justifyblock","justify");b.addCommand("justifyleft",a);b.addCommand("justifycenter",m);b.addCommand("justifyright",k);b.addCommand("justifyblock",l);b.ui.addButton&&(b.ui.addButton("JustifyLeft",{label:b.lang.common.alignLeft,command:"justifyleft",toolbar:"align,10"}),b.ui.addButton("JustifyCenter", +{label:b.lang.common.center,command:"justifycenter",toolbar:"align,20"}),b.ui.addButton("JustifyRight",{label:b.lang.common.alignRight,command:"justifyright",toolbar:"align,30"}),b.ui.addButton("JustifyBlock",{label:b.lang.common.justify,command:"justifyblock",toolbar:"align,40"}));b.on("dirChanged",g)}}})})();CKEDITOR.plugins.add("menubutton",{requires:"button,menu",onLoad:function(){var b=function(b){var g=this._,e=g.menu;g.state!==CKEDITOR.TRISTATE_DISABLED&&(g.on&&e?e.hide():(g.previousState= +g.state,e||(e=g.menu=new CKEDITOR.menu(b,{panel:{className:"cke_menu_panel",attributes:{"aria-label":b.lang.common.options}}}),e.onHide=CKEDITOR.tools.bind(function(){var a=this.command?b.getCommand(this.command).modes:this.modes;this.setState(!a||a[b.mode]?g.previousState:CKEDITOR.TRISTATE_DISABLED);g.on=0},this),this.onMenu&&e.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),g.on=1,setTimeout(function(){e.show(CKEDITOR.document.getById(g.id),4)},0)))};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button, +$:function(h){delete h.panel;this.base(h);this.hasArrow="menu";this.click=b},statics:{handler:{create:function(b){return new CKEDITOR.ui.menuButton(b)}}}})},beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler)}});CKEDITOR.UI_MENUBUTTON="menubutton";"use strict";(function(){CKEDITOR.plugins.add("language",{requires:"menubutton",init:function(b){var h=b.config.language_list||["ar:Arabic:rtl","fr:French","es:Spanish"],g=this,e=b.lang.language,a={},m,k,l,d;b.addCommand("language", +{allowedContent:"span[!lang,!dir]",requiredContent:"span[lang,dir]",contextSensitive:!0,exec:function(b,c){var d=a["language_"+c];if(d)b[d.style.checkActive(b.elementPath(),b)?"removeStyle":"applyStyle"](d.style)},refresh:function(a){this.setState(g.getCurrentLangElement(a)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)}});for(d=0;de.length)){d=e[e.length-1].getNext();g=f.createElement(this.type); +for(c.push(g);e.length;)c=e.shift(),a=f.createElement("li"),l=c,l.is("pre")||q.test(l.getName())||"false"==l.getAttribute("contenteditable")?c.appendTo(a):(c.copyAttributes(a),h&&c.getDirection()&&(a.removeStyle("direction"),a.removeAttribute("dir")),c.moveChildren(a),c.remove()),a.appendTo(g);h&&k&&g.setAttribute("dir",h);d?g.insertBefore(d):g.appendTo(b)}}function g(a,b,c){function d(c){if(!(!(l=k[c?"getFirst":"getLast"]())||l.is&&l.isBlockBoundary()||!(m=b.root[c?"getPrevious":"getNext"](CKEDITOR.dom.walker.invisible(!0)))|| +m.is&&m.isBlockBoundary({br:1})))a.document.createElement("br")[c?"insertBefore":"insertAfter"](l)}for(var f=CKEDITOR.plugins.list.listToArray(b.root,c),e=[],g=0;gf[g-1].indent+1){e=f[g-1].indent+ +1-f[g].indent;for(h=f[g].indent;f[g]&&f[g].indent>=h;)f[g].indent+=e,g++;g--}var k=CKEDITOR.plugins.list.arrayToList(f,c,null,a.config.enterMode,b.root.getAttribute("dir")).listNode,l,m;d(!0);d();k.replace(b.root);a.fire("contentDomInvalidated")}function e(a,b){this.name=a;this.context=this.type=b;this.allowedContent=b+" li";this.requiredContent=b}function a(a,b,c,d){for(var f,e;f=a[d?"getLast":"getFirst"](p);)(e=f.getDirection(1))!==b.getDirection(1)&&f.setAttribute("dir",e),f.remove(),c?f[d?"insertBefore": +"insertAfter"](c):b.append(f,d),c=f}function m(b){function c(d){var f=b[d?"getPrevious":"getNext"](r);f&&f.type==CKEDITOR.NODE_ELEMENT&&f.is(b.getName())&&(a(b,f,null,!d),b.remove(),b=f)}c();c(1)}function k(a){return a.type==CKEDITOR.NODE_ELEMENT&&(a.getName()in CKEDITOR.dtd.$block||a.getName()in CKEDITOR.dtd.$listItem)&&CKEDITOR.dtd[a.getName()]["#"]}function l(b,c,f){b.fire("saveSnapshot");f.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var e=f.extractContents();c.trim(!1,!0);var g=c.createBookmark(), +h=new CKEDITOR.dom.elementPath(c.startContainer),k=h.block,h=h.lastElement.getAscendant("li",1)||k,l=new CKEDITOR.dom.elementPath(f.startContainer),n=l.contains(CKEDITOR.dtd.$listItem),l=l.contains(CKEDITOR.dtd.$list);k?(k=k.getBogus())&&k.remove():l&&(k=l.getPrevious(r))&&t(k)&&k.remove();(k=e.getLast())&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("br")&&k.remove();(k=c.startContainer.getChild(c.startOffset))?e.insertBefore(k):c.startContainer.append(e);n&&(e=d(n))&&(h.contains(n)?(a(e,n.getParent(),n), +e.remove()):h.append(e));for(;f.checkStartOfBlock()&&f.checkEndOfBlock();){l=f.startPath();e=l.block;if(!e)break;e.is("li")&&(h=e.getParent(),e.equals(h.getLast(r))&&e.equals(h.getFirst(r))&&(e=h));f.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START);e.remove()}f=f.clone();e=b.editable();f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);f=new CKEDITOR.dom.walker(f);f.evaluator=function(a){return r(a)&&!t(a)};(f=f.next())&&f.type==CKEDITOR.NODE_ELEMENT&&f.getName()in CKEDITOR.dtd.$list&&m(f);c.moveToBookmark(g); +c.select();b.fire("saveSnapshot")}function d(a){return(a=a.getLast(r))&&a.type==CKEDITOR.NODE_ELEMENT&&a.getName()in f?a:null}var f={ol:1,ul:1},c=CKEDITOR.dom.walker.whitespaces(),n=CKEDITOR.dom.walker.bookmark(),r=function(a){return!(c(a)||n(a))},t=CKEDITOR.dom.walker.bogus();CKEDITOR.plugins.list={listToArray:function(a,b,c,d,e){if(!f[a.getName()])return[];d||(d=0);c||(c=[]);for(var g=0,h=a.getChildCount();g=h.$.documentMode&&t.append(h.createText(" ")),t.append(m.listNode),m=m.nextIndex;else if(-1==J.indent&&!c&&g){f[g.getName()]?(t=J.element.clone(!1,!0),q!=g.getDirection(1)&&t.setAttribute("dir",q)):t=new CKEDITOR.dom.documentFragment(h); +var l=g.getDirection(1)!=q,K=J.element,E=K.getAttribute("class"),R=K.getAttribute("style"),P=t.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&(d!=CKEDITOR.ENTER_BR||l||R||E),N,X=J.contents.length,U;for(g=0;gb&&aJ.version?" ":U,g=a.hotNode&&a.hotNode.getText()==f&&a.element.equals(a.hotNode)&&a.lastCmdDirection===!!b;d(a,function(d){g&& -a.hotNode&&a.hotNode.remove();d[b?"insertAfter":"insertBefore"](e);d.setAttributes({"data-cke-magicline-hot":1,"data-cke-magicline-dir":!!b});a.lastCmdDirection=!!b});J.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();a.line.detach()}return function(d){d=d.getSelection().getStartElement();var e;d=d.getAscendant(V,1);if(!p(a,d)&&d&&!d.equals(a.editable)&&!d.contains(a.editable)){(e=k(d))&&"false"==e.getAttribute("contenteditable")&&(d=e);a.element=d;e=g(a,d,!b);var h;n(e)&&e.is(a.triggers)&& -e.is(O)&&(!g(a,e,!b)||(h=g(a,e,!b))&&n(h)&&h.is(a.triggers))?c(e):(h=f(a,d),n(h)&&(g(a,h,!b)?(d=g(a,h,!b))&&n(d)&&d.is(a.triggers)&&c(h):c(h)))}}}()}}function c(a,b){if(!b||b.type!=CKEDITOR.NODE_ELEMENT||!b.$)return!1;var d=a.line;return d.wrap.equals(b)||d.wrap.contains(b)}function n(a){return a&&a.type==CKEDITOR.NODE_ELEMENT&&a.$}function r(a){if(!n(a))return!1;var b;(b=t(a))||(n(a)?(b={left:1,right:1,center:1},b=!(!b[a.getComputedStyle("float")]&&!b[a.getAttribute("align")])):b=!1);return b}function t(a){return!!{absolute:1, -fixed:1}[a.getComputedStyle("position")]}function q(a,b){return n(b)?b.is(a.triggers):null}function p(a,b){if(!b)return!1;for(var d=b.getParents(1),c=d.length;c--;)for(var e=a.tabuList.length;e--;)if(d[c].hasAttribute(a.tabuList[e]))return!0;return!1}function u(a,b,d){b=b[d?"getLast":"getFirst"](function(b){return a.isRelevant(b)&&!b.is(ga)});if(!b)return!1;z(a,b);return d?b.size.top>a.mouse.y:b.size.bottom -(a.inInlineMode?e.editable.top+e.editable.height/2:Math.min(e.editable.height,e.pane.height)/2),b=b[g?"getLast":"getFirst"](function(a){return!(Q(a)||T(a))});if(!b)return null;c(a,b)&&(b=a.line.wrap[g?"getPrevious":"getNext"](function(a){return!(Q(a)||T(a))}));if(!n(b)||r(b)||!q(a,b))return null;z(a,b);return!g&&0<=b.size.top&&m(d.y,0,b.size.top+f)?(a=a.inInlineMode||0===e.scroll.y?S:Y,new h([null,b,I,R,a])):g&&b.size.bottom<=e.pane.height&&m(d.y,b.size.bottom-f,e.pane.height)?(a=a.inInlineMode|| -m(b.size.bottom,e.pane.height-f,e.pane.height)?N:Y,new h([b,null,K,R,a])):null}function v(a){var b=a.mouse,d=a.view,c=a.triggerOffset,e=f(a);if(!e)return null;z(a,e);var c=Math.min(c,0|e.size.outerHeight/2),k=[],l,L;if(m(b.y,e.size.top-1,e.size.top+c))L=!1;else if(m(b.y,e.size.bottom-c,e.size.bottom+1))L=!0;else return null;if(r(e)||u(a,e,L)||e.getParent().is(Z))return null;var p=g(a,e,!L);if(p){if(p&&p.type==CKEDITOR.NODE_TEXT)return null;if(n(p)){if(r(p)||!q(a,p)||p.getParent().is(Z))return null; -k=[p,e][L?"reverse":"concat"]().concat([F,R])}}else e.equals(a.editable[L?"getLast":"getFirst"](a.isRelevant))?(w(a),L&&m(b.y,e.size.bottom-c,d.pane.height)&&m(e.size.bottom,d.pane.height-c,d.pane.height)?l=N:m(b.y,0,e.size.top+c)&&(l=S)):l=Y,k=[null,e][L?"reverse":"concat"]().concat([L?K:I,R,l,e.equals(a.editable[L?"getLast":"getFirst"](a.isRelevant))?L?N:S:Y]);return 0 in k?new h(k):null}function A(a,b,d,c){for(var e=b.getDocumentPosition(),f={},g={},h={},k={},l=P.length;l--;)f[P[l]]=parseInt(b.getComputedStyle.call(b, -"border-"+P[l]+"-width"),10)||0,h[P[l]]=parseInt(b.getComputedStyle.call(b,"padding-"+P[l]),10)||0,g[P[l]]=parseInt(b.getComputedStyle.call(b,"margin-"+P[l]),10)||0;d&&!c||x(a,c);k.top=e.y-(d?0:a.view.scroll.y);k.left=e.x-(d?0:a.view.scroll.x);k.outerWidth=b.$.offsetWidth;k.outerHeight=b.$.offsetHeight;k.height=k.outerHeight-(h.top+h.bottom+f.top+f.bottom);k.width=k.outerWidth-(h.left+h.right+f.left+f.right);k.bottom=k.top+k.outerHeight;k.right=k.left+k.outerWidth;a.inInlineMode&&(k.scroll={top:b.$.scrollTop, -left:b.$.scrollLeft});return C({border:f,padding:h,margin:g,ignoreScroll:d},k,!0)}function z(a,b,d){if(!n(b))return b.size=null;if(!b.size)b.size={};else if(b.size.ignoreScroll==d&&b.size.date>new Date-aa)return null;return C(b.size,A(a,b,d),{date:+new Date},!0)}function w(a,b){a.view.editable=A(a,a.editable,b,!0)}function x(a,b){a.view||(a.view={});var d=a.view;if(!(!b&&d&&d.date>new Date-aa)){var c=a.win,d=c.getScrollPosition(),c=c.getViewPaneSize();C(a.view,{scroll:{x:d.x,y:d.y,width:a.doc.$.documentElement.scrollWidth- -c.width,height:a.doc.$.documentElement.scrollHeight-c.height},pane:{width:c.width,height:c.height,bottom:c.height+d.y},date:+new Date},!0)}}function B(a,b,d,c){for(var e=c,f=c,g=0,k=!1,l=!1,m=a.view.pane.height,n=a.mouse;n.y+gc.left-e.x&&dc.top-e.y&&bCKEDITOR.env.version, -D=CKEDITOR.dtd,M={},I=128,K=64,F=32,R=16,S=4,N=2,Y=1,U=" ",Z=D.$listItem,ga=D.$tableContent,O=C({},D.$nonEditable,D.$empty),V=D.$block,aa=100,ba="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;",W=ba+"border-color:transparent;display:block;border-style:solid;",da="\x3cspan\x3e"+U+"\x3c/span\x3e";M[CKEDITOR.ENTER_BR]="br";M[CKEDITOR.ENTER_P]="p";M[CKEDITOR.ENTER_DIV]="div";h.prototype={set:function(a,b,d){this.properties= -a+b+(d||Y);return this},is:function(a){return(this.properties&a)==a}};var X=function(){function a(b,d){var c=b.$.elementFromPoint(d.x,d.y);return c&&c.nodeType?new CKEDITOR.dom.element(c):null}return function(b,d,e){if(!b.mouse)return null;var f=b.doc,g=b.line.wrap;e=e||b.mouse;var h=a(f,e);d&&c(b,h)&&(g.hide(),h=a(f,e),g.show());return!h||h.type!=CKEDITOR.NODE_ELEMENT||!h.$||J.ie&&9>J.version&&!b.boundary.equals(h)&&!b.boundary.contains(h)?null:h}}(),Q=CKEDITOR.dom.walker.whitespaces(),T=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT), -L=function(){function d(c){var f=c.element,g,h,k;if(!n(f)||f.contains(c.editable)||f.isReadOnly())return null;k=B(c,function(a,b){return!b.equals(a)},function(a,b){return X(a,!0,b)},f);g=k.upper;h=k.lower;if(b(c,g,h))return k.set(F,8);if(g&&f.contains(g))for(;!g.getParent().equals(f);)g=g.getParent();else g=f.getFirst(function(a){return e(c,a)});if(h&&f.contains(h))for(;!h.getParent().equals(f);)h=h.getParent();else h=f.getLast(function(a){return e(c,a)});if(!g||!h)return null;z(c,g);z(c,h);if(!m(c.mouse.y, -g.size.top,h.size.bottom))return null;for(var f=Number.MAX_VALUE,l,L,p,x;h&&!h.equals(g)&&(L=g.getNext(c.isRelevant));)l=Math.abs(a(c,g,L)-c.mouse.y),lb&&aI.version?" ":U,g=b.hotNode&&b.hotNode.getText()==e&&b.element.equals(b.hotNode)&&b.lastCmdDirection===!!c;d(b,function(d){g&& +b.hotNode&&b.hotNode.remove();d[c?"insertAfter":"insertBefore"](a);d.setAttributes({"data-cke-magicline-hot":1,"data-cke-magicline-dir":!!c});b.lastCmdDirection=!!c});I.ie||b.enterMode==CKEDITOR.ENTER_BR||b.hotNode.scrollIntoView();b.line.detach()}return function(d){d=d.getSelection().getStartElement();var e;d=d.getAscendant(V,1);if(!p(b,d)&&d&&!d.equals(b.editable)&&!d.contains(b.editable)){(e=k(d))&&"false"==e.getAttribute("contenteditable")&&(d=e);b.element=d;e=a(b,d,!c);var h;n(e)&&e.is(b.triggers)&& +e.is(O)&&(!a(b,e,!c)||(h=a(b,e,!c))&&n(h)&&h.is(b.triggers))?f(e):(h=g(b,d),n(h)&&(a(b,h,!c)?(d=a(b,h,!c))&&n(d)&&d.is(b.triggers)&&f(h):f(h)))}}}()}}function c(a,b){if(!b||b.type!=CKEDITOR.NODE_ELEMENT||!b.$)return!1;var c=a.line;return c.wrap.equals(b)||c.wrap.contains(b)}function n(a){return a&&a.type==CKEDITOR.NODE_ELEMENT&&a.$}function r(a){if(!n(a))return!1;var b;(b=t(a))||(n(a)?(b={left:1,right:1,center:1},b=!(!b[a.getComputedStyle("float")]&&!b[a.getAttribute("align")])):b=!1);return b}function t(a){return!!{absolute:1, +fixed:1}[a.getComputedStyle("position")]}function q(a,b){return n(b)?b.is(a.triggers):null}function p(a,b){if(!b)return!1;for(var c=b.getParents(1),d=c.length;d--;)for(var f=a.tabuList.length;f--;)if(c[d].hasAttribute(a.tabuList[f]))return!0;return!1}function v(a,b,c){b=b[c?"getLast":"getFirst"](function(b){return a.isRelevant(b)&&!b.is(ha)});if(!b)return!1;z(a,b);return c?b.size.top>a.mouse.y:b.size.bottom +(a.inInlineMode?f.editable.top+f.editable.height/2:Math.min(f.editable.height,f.pane.height)/2),b=b[g?"getLast":"getFirst"](function(a){return!(Q(a)||T(a))});if(!b)return null;c(a,b)&&(b=a.line.wrap[g?"getPrevious":"getNext"](function(a){return!(Q(a)||T(a))}));if(!n(b)||r(b)||!q(a,b))return null;z(a,b);return!g&&0<=b.size.top&&m(d.y,0,b.size.top+e)?(a=a.inInlineMode||0===f.scroll.y?P:X,new h([null,b,J,R,a])):g&&b.size.bottom<=f.pane.height&&m(d.y,b.size.bottom-e,f.pane.height)?(a=a.inInlineMode|| +m(b.size.bottom,f.pane.height-e,f.pane.height)?N:X,new h([b,null,K,R,a])):null}function u(b){var c=b.mouse,d=b.view,f=b.triggerOffset,e=g(b);if(!e)return null;z(b,e);var f=Math.min(f,0|e.size.outerHeight/2),k=[],l,L;if(m(c.y,e.size.top-1,e.size.top+f))L=!1;else if(m(c.y,e.size.bottom-f,e.size.bottom+1))L=!0;else return null;if(r(e)||v(b,e,L)||e.getParent().is(Y))return null;var p=a(b,e,!L);if(p){if(p&&p.type==CKEDITOR.NODE_TEXT)return null;if(n(p)){if(r(p)||!q(b,p)||p.getParent().is(Y))return null; +k=[p,e][L?"reverse":"concat"]().concat([E,R])}}else e.equals(b.editable[L?"getLast":"getFirst"](b.isRelevant))?(w(b),L&&m(c.y,e.size.bottom-f,d.pane.height)&&m(e.size.bottom,d.pane.height-f,d.pane.height)?l=N:m(c.y,0,e.size.top+f)&&(l=P)):l=X,k=[null,e][L?"reverse":"concat"]().concat([L?K:J,R,l,e.equals(b.editable[L?"getLast":"getFirst"](b.isRelevant))?L?N:P:X]);return 0 in k?new h(k):null}function A(a,b,c,d){for(var f=b.getDocumentPosition(),e={},g={},h={},k={},l=L.length;l--;)e[L[l]]=parseInt(b.getComputedStyle.call(b, +"border-"+L[l]+"-width"),10)||0,h[L[l]]=parseInt(b.getComputedStyle.call(b,"padding-"+L[l]),10)||0,g[L[l]]=parseInt(b.getComputedStyle.call(b,"margin-"+L[l]),10)||0;c&&!d||y(a,d);k.top=f.y-(c?0:a.view.scroll.y);k.left=f.x-(c?0:a.view.scroll.x);k.outerWidth=b.$.offsetWidth;k.outerHeight=b.$.offsetHeight;k.height=k.outerHeight-(h.top+h.bottom+e.top+e.bottom);k.width=k.outerWidth-(h.left+h.right+e.left+e.right);k.bottom=k.top+k.outerHeight;k.right=k.left+k.outerWidth;a.inInlineMode&&(k.scroll={top:b.$.scrollTop, +left:b.$.scrollLeft});return C({border:e,padding:h,margin:g,ignoreScroll:c},k,!0)}function z(a,b,c){if(!n(b))return b.size=null;if(!b.size)b.size={};else if(b.size.ignoreScroll==c&&b.size.date>new Date-aa)return null;return C(b.size,A(a,b,c),{date:+new Date},!0)}function w(a,b){a.view.editable=A(a,a.editable,b,!0)}function y(a,b){a.view||(a.view={});var c=a.view;if(!(!b&&c&&c.date>new Date-aa)){var d=a.win,c=d.getScrollPosition(),d=d.getViewPaneSize();C(a.view,{scroll:{x:c.x,y:c.y,width:a.doc.$.documentElement.scrollWidth- +d.width,height:a.doc.$.documentElement.scrollHeight-d.height},pane:{width:d.width,height:d.height,bottom:d.height+c.y},date:+new Date},!0)}}function B(a,b,c,d){for(var f=d,e=d,g=0,k=!1,l=!1,m=a.view.pane.height,n=a.mouse;n.y+gd.left-f.x&&cd.top-f.y&&aCKEDITOR.env.version, +D=CKEDITOR.dtd,M={},J=128,K=64,E=32,R=16,P=4,N=2,X=1,U=" ",Y=D.$listItem,ha=D.$tableContent,O=C({},D.$nonEditable,D.$empty),V=D.$block,aa=100,ba="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;",W=ba+"border-color:transparent;display:block;border-style:solid;",da="\x3cspan\x3e"+U+"\x3c/span\x3e";M[CKEDITOR.ENTER_BR]="br";M[CKEDITOR.ENTER_P]="p";M[CKEDITOR.ENTER_DIV]="div";h.prototype={set:function(a,b,c){this.properties= +a+b+(c||X);return this},is:function(a){return(this.properties&a)==a}};var Z=function(){function a(b,c){var d=b.$.elementFromPoint(c.x,c.y);return d&&d.nodeType?new CKEDITOR.dom.element(d):null}return function(b,d,f){if(!b.mouse)return null;var e=b.doc,g=b.line.wrap;f=f||b.mouse;var h=a(e,f);d&&c(b,h)&&(g.hide(),h=a(e,f),g.show());return!h||h.type!=CKEDITOR.NODE_ELEMENT||!h.$||I.ie&&9>I.version&&!b.boundary.equals(h)&&!b.boundary.contains(h)?null:h}}(),Q=CKEDITOR.dom.walker.whitespaces(),T=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT), +S=function(){function a(c){var f=c.element,g,h,k;if(!n(f)||f.contains(c.editable)||f.isReadOnly())return null;k=B(c,function(a,b){return!b.equals(a)},function(a,b){return Z(a,!0,b)},f);g=k.upper;h=k.lower;if(b(c,g,h))return k.set(E,8);if(g&&f.contains(g))for(;!g.getParent().equals(f);)g=g.getParent();else g=f.getFirst(function(a){return d(c,a)});if(h&&f.contains(h))for(;!h.getParent().equals(f);)h=h.getParent();else h=f.getLast(function(a){return d(c,a)});if(!g||!h)return null;z(c,g);z(c,h);if(!m(c.mouse.y, +g.size.top,h.size.bottom))return null;for(var f=Number.MAX_VALUE,l,L,p,y;h&&!h.equals(g)&&(L=g.getNext(c.isRelevant));)l=Math.abs(e(c,g,L)-c.mouse.y),l|<\/font>)/,b=//,"$\x26"+h).replace(/[^>]*(?=<\/title>)/,"$\x26 \x26mdash; "+f.lang.preview.preview);else{var g="\x3cbody ",k=f.document&&f.document.getBody();k&&(k.getAttribute("id")&&(g+='id\x3d"'+k.getAttribute("id")+'" '),k.getAttribute("class")&&(g+='class\x3d"'+k.getAttribute("class")+'" '));g+="\x3e";a=f.config.docType+ -'\x3chtml dir\x3d"'+f.config.contentsLangDirection+'"\x3e\x3chead\x3e'+h+"\x3ctitle\x3e"+f.lang.preview.preview+"\x3c/title\x3e"+CKEDITOR.tools.buildStyleHtml(f.config.contentsCss)+"\x3c/head\x3e"+g+f.getData()+"\x3c/body\x3e\x3c/html\x3e"}h=640;g=420;k=80;try{var l=window.screen,h=Math.round(.8*l.width),g=Math.round(.7*l.height),k=Math.round(.1*l.width)}catch(d){}if(!1===f.fire("contentPreview",f={dataValue:a}))return!1;var l="",e;CKEDITOR.env.ie&&(window._cke_htmlToLoad=f.dataValue,e="javascript:void( (function(){document.open();"+ -("("+CKEDITOR.tools.fixDomain+")();").replace(/\/\/.*?\n/g,"").replace(/parent\./g,"window.opener.")+"document.write( window.opener._cke_htmlToLoad );document.close();window.opener._cke_htmlToLoad \x3d null;})() )",l="");CKEDITOR.env.gecko&&(window._cke_htmlToLoad=f.dataValue,l=CKEDITOR.getUrl(b+"preview.html"));l=window.open(l,null,"toolbar\x3dyes,location\x3dno,status\x3dyes,menubar\x3dyes,scrollbars\x3dyes,resizable\x3dyes,width\x3d"+h+",height\x3d"+g+",left\x3d"+k);CKEDITOR.env.ie&&l&&(l.location= -e);CKEDITOR.env.ie||CKEDITOR.env.gecko||(e=l.document,e.open(),e.write(f.dataValue),e.close());return!0}};CKEDITOR.plugins.add("preview",{init:function(f){f.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&(b=this.path,f.addCommand("preview",h),f.ui.addButton&&f.ui.addButton("Preview",{label:f.lang.preview.preview,command:"preview",toolbar:"document,40"}))}})})();CKEDITOR.plugins.add("print",{init:function(b){b.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&(b.addCommand("print",CKEDITOR.plugins.print),b.ui.addButton&& -b.ui.addButton("Print",{label:b.lang.print.toolbar,command:"print",toolbar:"document,50"}))}});CKEDITOR.plugins.print={exec:function(b){CKEDITOR.env.gecko?b.window.$.print():b.document.$.execCommand("Print")},canUndo:!1,readOnly:1,modes:{wysiwyg:1}};CKEDITOR.plugins.add("removeformat",{init:function(b){b.addCommand("removeFormat",CKEDITOR.plugins.removeformat.commands.removeformat);b.ui.addButton&&b.ui.addButton("RemoveFormat",{label:b.lang.removeformat.toolbar,command:"removeFormat",toolbar:"cleanup,10"})}}); -CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(b){for(var h=b._.removeFormatRegex||(b._.removeFormatRegex=new RegExp("^(?:"+b.config.removeFormatTags.replace(/,/g,"|")+")$","i")),f=b._.removeAttributes||(b._.removeAttributes=b.config.removeFormatAttributes.split(",")),a=CKEDITOR.plugins.removeformat.filter,g=b.getSelection().getRanges().createIterator(),m=function(a){return a.type==CKEDITOR.NODE_ELEMENT},k=[],l;l=g.getNextRange();){var d=l.createBookmark();l=b.createRange(); -l.setStartBefore(d.startNode);d.endNode&&l.setEndAfter(d.endNode);l.collapsed||l.enlarge(CKEDITOR.ENLARGE_ELEMENT);var e=l.createBookmark(),c=e.startNode,n=e.endNode,r=function(d){for(var c=b.elementPath(d),e=c.elements,f=1,g;(g=e[f])&&!g.equals(c.block)&&!g.equals(c.blockLimit);f++)h.test(g.getName())&&a(b,g)&&d.breakParent(g)};r(c);if(n)for(r(n),c=c.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT);c&&!c.equals(n);)if(c.isReadOnly()){if(c.getPosition(n)&CKEDITOR.POSITION_CONTAINS)break;c=c.getNext(m)}else r= -c.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT),"img"==c.getName()&&c.data("cke-realelement")||c.hasAttribute("data-cke-bookmark")||!a(b,c)||(h.test(c.getName())?c.remove(1):(c.removeAttributes(f),b.fire("removeFormatCleanup",c))),c=r;e.startNode.remove();e.endNode&&e.endNode.remove();l.moveToBookmark(d);k.push(l)}b.forceNextSelectionCheck();b.getSelection().selectRanges(k)}}},filter:function(b,h){for(var f=b._.removeFormatFilters||[],a=0;ad.width&&(a.resize_minWidth=d.width);a.resize_minHeight>d.height&&(a.resize_minHeight=d.height);CKEDITOR.document.on("mousemove",h);CKEDITOR.document.on("mouseup",f);b.document&&(b.document.on("mousemove",h),b.document.on("mouseup",f));c.preventDefault&&c.preventDefault()});b.on("destroy",function(){CKEDITOR.tools.removeFunction(n)});b.on("uiSpace",function(a){if("bottom"==a.data.space){var d="";e&&!c&&(d=" cke_resizer_horizontal");!e&&c&&(d=" cke_resizer_vertical"); -var f='\x3cspan id\x3d"'+g+'" class\x3d"cke_resizer'+d+" cke_resizer_"+m+'" title\x3d"'+CKEDITOR.tools.htmlEncode(b.lang.common.resize)+'" onmousedown\x3d"CKEDITOR.tools.callFunction('+n+', event)"\x3e'+("ltr"==m?"◢":"◣")+"\x3c/span\x3e";"ltr"==m&&"ltr"==d?a.data.html+=f:a.data.html=f+a.data.html}},b,null,100);b.on("maximize",function(a){b.ui.space("resizer")[a.data==CKEDITOR.TRISTATE_ON?"hide":"show"]()})}}});(function(){var b={readOnly:1,modes:{wysiwyg:1,source:1},exec:function(b){if(b.fire("save")&& -(b=b.element.$.form))try{b.submit()}catch(f){b.submit.click&&b.submit.click()}}};CKEDITOR.plugins.add("save",{init:function(h){h.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&&(h.addCommand("save",b).startDisabled=!h.element.$.form,h.ui.addButton&&h.ui.addButton("Save",{label:h.lang.save.toolbar,command:"save",toolbar:"document,10"}))}})})();(function(){CKEDITOR.plugins.add("selectall",{init:function(b){b.addCommand("selectAll",{modes:{wysiwyg:1,source:1},exec:function(b){var f=b.editable();if(f.is("textarea"))b= -f.$,CKEDITOR.env.ie&&b.createTextRange?b.createTextRange().execCommand("SelectAll"):(b.selectionStart=0,b.selectionEnd=b.value.length),b.focus();else{if(f.is("body"))b.document.$.execCommand("SelectAll",!1,null);else{var a=b.createRange();a.selectNodeContents(f);a.select()}b.forceNextSelectionCheck();b.selectionChange()}},canUndo:!1});b.ui.addButton&&b.ui.addButton("SelectAll",{label:b.lang.selectall.toolbar,command:"selectAll",toolbar:"selection,10"})}})})();(function(){var b={readOnly:1,preserveState:!0, -editorFocus:!1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var f=this.state!=CKEDITOR.TRISTATE_ON||b.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&!b.focusManager.hasFocus?"removeClass":"attachClass";b.editable()[f]("cke_show_blocks")}}};CKEDITOR.plugins.add("showblocks",{onLoad:function(){var b="p div pre address blockquote h1 h2 h3 h4 h5 h6".split(" "),f,a,g,m,k=CKEDITOR.getUrl(this.path),l=!(CKEDITOR.env.ie&&9>CKEDITOR.env.version),d=l?":not([contenteditable\x3dfalse]):not(.cke_show_blocks_off)": -"",e,c;for(f=a=g=m="";e=b.pop();)c=b.length?",":"",f+=".cke_show_blocks "+e+d+c,g+=".cke_show_blocks.cke_contents_ltr "+e+d+c,m+=".cke_show_blocks.cke_contents_rtl "+e+d+c,a+=".cke_show_blocks "+e+d+"{background-image:url("+CKEDITOR.getUrl(k+"images/block_"+e+".png")+")}";CKEDITOR.addCss((f+"{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px}").concat(a,g+"{background-position:top left;padding-left:8px}",m+"{background-position:top right;padding-right:8px}"));l||CKEDITOR.addCss(".cke_show_blocks [contenteditable\x3dfalse],.cke_show_blocks .cke_show_blocks_off{border:none;padding-top:0;background-image:none}.cke_show_blocks.cke_contents_rtl [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_rtl .cke_show_blocks_off{padding-right:0}.cke_show_blocks.cke_contents_ltr [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_ltr .cke_show_blocks_off{padding-left:0}")}, -init:function(h){function f(){a.refresh(h)}if(!h.blockless){var a=h.addCommand("showblocks",b);a.canUndo=!1;h.config.startupOutlineBlocks&&a.setState(CKEDITOR.TRISTATE_ON);h.ui.addButton&&h.ui.addButton("ShowBlocks",{label:h.lang.showblocks.toolbar,command:"showblocks",toolbar:"tools,20"});h.on("mode",function(){a.state!=CKEDITOR.TRISTATE_DISABLED&&a.refresh(h)});h.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(h.on("focus",f),h.on("blur",f));h.on("contentDom",function(){a.state!=CKEDITOR.TRISTATE_DISABLED&& -a.refresh(h)})}}})})();(function(){var b={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var f=this.state==CKEDITOR.TRISTATE_ON?"attachClass":"removeClass";b.editable()[f]("cke_show_borders")}}};CKEDITOR.plugins.add("showborders",{modes:{wysiwyg:1},onLoad:function(){var b;b=(CKEDITOR.env.ie6Compat?[".%1 table.%2,",".%1 table.%2 td, .%1 table.%2 th","{","border : #d3d3d3 1px dotted","}"]:".%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;}".split(";")).join("").replace(/%2/g, -"cke_show_border").replace(/%1/g,"cke_show_borders ");CKEDITOR.addCss(b)},init:function(h){var f=h.addCommand("showborders",b);f.canUndo=!1;!1!==h.config.startupShowBorders&&f.setState(CKEDITOR.TRISTATE_ON);h.on("mode",function(){f.state!=CKEDITOR.TRISTATE_DISABLED&&f.refresh(h)},null,null,100);h.on("contentDom",function(){f.state!=CKEDITOR.TRISTATE_DISABLED&&f.refresh(h)});h.on("removeFormatCleanup",function(a){a=a.data;h.getCommand("showborders").state==CKEDITOR.TRISTATE_ON&&a.is("table")&&(!a.hasAttribute("border")|| -0>=parseInt(a.getAttribute("border"),10))&&a.addClass("cke_show_border")})},afterInit:function(b){var f=b.dataProcessor;b=f&&f.dataFilter;f=f&&f.htmlFilter;b&&b.addRules({elements:{table:function(a){a=a.attributes;var b=a["class"],f=parseInt(a.border,10);f&&!(0>=f)||b&&-1!=b.indexOf("cke_show_border")||(a["class"]=(b||"")+" cke_show_border")}}});f&&f.addRules({elements:{table:function(a){a=a.attributes;var b=a["class"];b&&(a["class"]=b.replace("cke_show_border","").replace(/\s{2}/," ").replace(/^\s+|\s+$/, -""))}}})}});CKEDITOR.on("dialogDefinition",function(b){var f=b.data.name;if("table"==f||"tableProperties"==f)if(b=b.data.definition,f=b.getContents("info").get("txtBorder"),f.commit=CKEDITOR.tools.override(f.commit,function(a){return function(b,f){a.apply(this,arguments);var h=parseInt(this.getValue(),10);f[!h||0>=h?"addClass":"removeClass"]("cke_show_border")}}),b=(b=b.getContents("advanced"))&&b.get("advCSSClasses"))b.setup=CKEDITOR.tools.override(b.setup,function(a){return function(){a.apply(this, -arguments);this.setValue(this.getValue().replace(/cke_show_border/,""))}}),b.commit=CKEDITOR.tools.override(b.commit,function(a){return function(b,f){a.apply(this,arguments);parseInt(f.getAttribute("border"),10)||f.addClass("cke_show_border")}})})})();CKEDITOR.plugins.add("smiley",{requires:"dialog",init:function(b){b.config.smiley_path=b.config.smiley_path||this.path+"images/";b.addCommand("smiley",new CKEDITOR.dialogCommand("smiley",{allowedContent:"img[alt,height,!src,title,width]",requiredContent:"img"})); +function(g){g=g.data.getTarget();g.is("div")&&g.hasClass("cke_pagebreak")&&b.getSelection().selectElement(g)})}))},afterInit:function(h){function g(a){CKEDITOR.tools.extend(a.attributes,b(h.lang.pagebreak.alt),!0);a.children.length=0}var e=h.dataProcessor,a=e&&e.dataFilter,e=e&&e.htmlFilter,m=/page-break-after\s*:\s*always/i,k=/display\s*:\s*none/i;e&&e.addRules({attributes:{"class":function(a,b){var f=a.replace("cke_pagebreak","");if(f!=a){var c=CKEDITOR.htmlParser.fragment.fromHtml('\x3cspan style\x3d"display: none;"\x3e\x26nbsp;\x3c/span\x3e').children[0]; +b.children.length=0;b.add(c);c=b.attributes;delete c["aria-label"];delete c.contenteditable;delete c.title}return f}}},{applyToAll:!0,priority:5});a&&a.addRules({elements:{div:function(a){if(a.attributes["data-cke-pagebreak"])g(a);else if(m.test(a.attributes.style)){var b=a.children[0];b&&"span"==b.name&&k.test(b.attributes.style)&&g(a)}}}})}});CKEDITOR.plugins.pagebreakCmd={exec:function(b){b.insertElement(CKEDITOR.plugins.pagebreak.createElement(b))},context:"div",allowedContent:{div:{styles:"!page-break-after"}, +span:{match:function(b){return(b=b.parent)&&"div"==b.name&&b.styles&&b.styles["page-break-after"]},styles:"display"}},requiredContent:"div{page-break-after}"};CKEDITOR.plugins.pagebreak={createElement:function(h){return h.document.createElement("div",{attributes:b(h.lang.pagebreak.alt)})}}})();(function(){function b(a,b){return CKEDITOR.tools.array.filter(a,function(a){return a.canHandle(b)}).sort(function(a,b){return a.priority===b.priority?0:a.priority-b.priority})}function h(a,b){var d=a.shift(); +d&&d.handle(b,function(){h(a,b)})}function g(a){var b=CKEDITOR.tools.array.reduce(a,function(a,b){return CKEDITOR.tools.array.isArray(b.filters)?a.concat(b.filters):a},[]);return CKEDITOR.tools.array.filter(b,function(a,f){return CKEDITOR.tools.array.indexOf(b,a)===f})}function e(b,e){var d=0,f,c;if(!CKEDITOR.tools.array.isArray(b)||0===b.length)return!0;f=CKEDITOR.tools.array.filter(b,function(b){return-1===CKEDITOR.tools.array.indexOf(a,b)});if(0=CKEDITOR.env.version;return!(CKEDITOR.env.webkit&&!CKEDITOR.env.chrome)&&!b},init:function(b){if(this.isSupportedEnvironment()){var h=CKEDITOR.plugins.getPath("pastetools"),g=this.path;b.pasteTools.register({priority:100, +filters:[CKEDITOR.getUrl(h+"filter/common.js"),CKEDITOR.getUrl(h+"filter/image.js"),CKEDITOR.getUrl(g+"filter/default.js")],canHandle:function(b){b=b.data;return(b=b.dataTransfer.getData("text/html",!0)||b.dataValue)?"libreoffice"===CKEDITOR.plugins.pastetools.getContentGeneratorName(b):!1},handle:function(e,a){var g=e.data,h=g.dataValue||CKEDITOR.plugins.pastetools.getClipboardData(g,"text/html");g.dontFilter=!0;h=CKEDITOR.pasteFilters.image(h,b,CKEDITOR.plugins.pastetools.getClipboardData(g,"text/rtf")); +g.dataValue=CKEDITOR.pasteFilters.libreoffice(h,b);!0===b.config.forcePasteAsPlainText&&(g.type="text");a()}})}}})})();(function(){CKEDITOR.plugins.add("pastefromword",{requires:"pastetools",init:function(b){function h(a){var b=CKEDITOR.plugins.pastefromword&&CKEDITOR.plugins.pastefromword.images,d,f=[];if(b&&a.editor.filter.check("img[src]")&&(d=b.extractTagsFromHtml(a.data.dataValue),0!==d.length&&(b=b.extractFromRtf(a.data.dataTransfer["text/rtf"]),0!==b.length&&(CKEDITOR.tools.array.forEach(b, +function(a){f.push(a.type?"data:"+a.type+";base64,"+CKEDITOR.tools.convertBytesToBase64(CKEDITOR.tools.convertHexStringToBytes(a.hex)):null)},this),d.length===f.length))))for(b=0;b|<\/font>)/,b=b?"microsoft"===b:d.test(a);return a&&(g||b)},handle:function(a,e){var d=a.data,f=CKEDITOR.plugins.pastetools.getClipboardData(d,"text/html"),c=CKEDITOR.plugins.pastetools.getClipboardData(d,"text/rtf"),f={dataValue:f,dataTransfer:{"text/rtf":c}};if(!1!==b.fire("pasteFromWord",f)||g){d.dontFilter=!0;if(g||!b.config.pasteFromWordPromptCleanup||confirm(b.lang.pastefromword.confirmCleanup))f.dataValue= +CKEDITOR.cleanWord(f.dataValue,b),b.fire("afterPasteFromWord",f),d.dataValue=f.dataValue,!0===b.config.forcePasteAsPlainText?d.type="text":CKEDITOR.plugins.clipboard.isCustomCopyCutSupported||"allow-word"!==b.config.forcePasteAsPlainText||(d.type="html");g=0;e()}}});if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported&&m)b.on("afterPasteFromWord",h)}})})();(function(){var b={canUndo:!1,async:!0,exec:function(b,g){var e=b.lang,a=CKEDITOR.tools.keystrokeToString(e.common.keyboard,b.getCommandKeystroke(CKEDITOR.env.ie? +b.commands.paste:this)),m=g&&"undefined"!==typeof g.notification?g.notification:!g||!g.from||"keystrokeHandler"===g.from&&CKEDITOR.env.ie,e=m&&"string"===typeof m?m:e.pastetext.pasteNotification.replace(/%1/,'\x3ckbd aria-label\x3d"'+a.aria+'"\x3e'+a.display+"\x3c/kbd\x3e");b.execCommand("paste",{type:"text",notification:m?e:!1})}};CKEDITOR.plugins.add("pastetext",{requires:"clipboard",init:function(h){var g=CKEDITOR.env.safari?CKEDITOR.CTRL+CKEDITOR.ALT+CKEDITOR.SHIFT+86:CKEDITOR.CTRL+CKEDITOR.SHIFT+ +86;h.addCommand("pastetext",b);h.setKeystroke(g,"pastetext");CKEDITOR.plugins.clipboard.addPasteButton(h,"PasteText",{label:h.lang.pastetext.button,command:"pastetext",toolbar:"clipboard,40"});if(h.config.forcePasteAsPlainText)h.on("beforePaste",function(b){"html"!=b.data.type&&(b.data.type="text")});h.on("pasteState",function(b){h.getCommand("pastetext").setState(b.data)})}})})();(function(){function b(b){var g=CKEDITOR.plugins.getPath("preview"),e=b.config,a=b.lang.preview.preview,m=function(){var a= +location.origin,b=location.pathname;if(!e.baseHref&&!CKEDITOR.env.gecko)return"";if(e.baseHref)return'\x3cbase href\x3d"{HREF}"\x3e'.replace("{HREF}",e.baseHref);b=b.split("/");b.pop();b=b.join("/");return'\x3cbase href\x3d"{HREF}"\x3e'.replace("{HREF}",a+b+"/")}();return e.fullPage?b.getData().replace(//,"$\x26"+m).replace(/[^>]*(?=<\/title>)/,"$\x26 \x26mdash; "+a):e.docType+'\x3chtml dir\x3d"'+e.contentsLangDirection+'"\x3e\x3chead\x3e'+m+"\x3ctitle\x3e"+a+"\x3c/title\x3e"+CKEDITOR.tools.buildStyleHtml(e.contentsCss)+ +'\x3clink rel\x3d"stylesheet" media\x3d"screen" href\x3d"'+g+'styles/screen.css"\x3e\x3c/head\x3e'+function(){var a="\x3cbody\x3e",e=b.document&&b.document.getBody();if(!e)return a;e.getAttribute("id")&&(a=a.replace("\x3e",' id\x3d"'+e.getAttribute("id")+'"\x3e'));e.getAttribute("class")&&(a=a.replace("\x3e",' class\x3d"'+e.getAttribute("class")+'"\x3e'));return a}()+b.getData()+"\x3c/body\x3e\x3c/html\x3e"}CKEDITOR.plugins.add("preview",{init:function(b){b.addCommand("preview",{modes:{wysiwyg:1}, +canUndo:!1,readOnly:1,exec:CKEDITOR.plugins.preview.createPreview});b.ui.addButton&&b.ui.addButton("Preview",{label:b.lang.preview.preview,command:"preview",toolbar:"document,40"})}});CKEDITOR.plugins.preview={createPreview:function(h){var g,e,a,m={dataValue:b(h)},k=window.screen;g=Math.round(.8*k.width);e=Math.round(.7*k.height);a=Math.round(.1*k.width);k=CKEDITOR.env.ie?"javascript:void( (function(){document.open();"+("("+CKEDITOR.tools.fixDomain+")();").replace(/\/\/.*?\n/g,"").replace(/parent\./g, +"window.opener.")+"document.write( window.opener._cke_htmlToLoad );document.close();window.opener._cke_htmlToLoad \x3d null;})() )":null;var l;l=CKEDITOR.plugins.getPath("preview");l=CKEDITOR.env.gecko?CKEDITOR.getUrl(l+"preview.html"):"";if(!1===h.fire("contentPreview",m))return!1;if(k||l)window._cke_htmlToLoad=m.dataValue;h=window.open(l,null,["toolbar\x3dyes,location\x3dno,status\x3dyes,menubar\x3dyes,scrollbars\x3dyes,resizable\x3dyes","width\x3d"+g,"height\x3d"+e,"left\x3d"+a].join());k&&h&& +(h.location=k);window._cke_htmlToLoad||(g=h.document,g.open(),g.write(m.dataValue),g.close());return new CKEDITOR.dom.window(h)}}})();(function(){CKEDITOR.plugins.add("print",{requires:"preview",init:function(b){b.addCommand("print",CKEDITOR.plugins.print);b.ui.addButton&&b.ui.addButton("Print",{label:b.lang.print.toolbar,command:"print",toolbar:"document,50"})}});CKEDITOR.plugins.print={exec:function(b){function h(){CKEDITOR.env.gecko?g.print():g.document.execCommand("Print");g.close()}b=CKEDITOR.plugins.preview.createPreview(b); +var g;if(b){g=b.$;if("complete"===g.document.readyState)return h();b.once("load",h)}},canUndo:!1,readOnly:1,modes:{wysiwyg:1}}})();CKEDITOR.plugins.add("removeformat",{init:function(b){b.addCommand("removeFormat",CKEDITOR.plugins.removeformat.commands.removeformat);b.ui.addButton&&b.ui.addButton("RemoveFormat",{label:b.lang.removeformat.toolbar,command:"removeFormat",toolbar:"cleanup,10"})}});CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(b){for(var h=b._.removeFormatRegex|| +(b._.removeFormatRegex=new RegExp("^(?:"+b.config.removeFormatTags.replace(/,/g,"|")+")$","i")),g=b._.removeAttributes||(b._.removeAttributes=b.config.removeFormatAttributes.split(",")),e=CKEDITOR.plugins.removeformat.filter,a=b.getSelection().getRanges().createIterator(),m=function(a){return a.type==CKEDITOR.NODE_ELEMENT},k=[],l;l=a.getNextRange();){var d=l.createBookmark();l=b.createRange();l.setStartBefore(d.startNode);d.endNode&&l.setEndAfter(d.endNode);l.collapsed||l.enlarge(CKEDITOR.ENLARGE_ELEMENT); +var f=l.createBookmark(),c=f.startNode,n=f.endNode,r=function(a){for(var c=b.elementPath(a),d=c.elements,f=1,g;(g=d[f])&&!g.equals(c.block)&&!g.equals(c.blockLimit);f++)h.test(g.getName())&&e(b,g)&&a.breakParent(g)};r(c);if(n)for(r(n),c=c.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT);c&&!c.equals(n);)if(c.isReadOnly()){if(c.getPosition(n)&CKEDITOR.POSITION_CONTAINS)break;c=c.getNext(m)}else r=c.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT),"img"==c.getName()&&c.data("cke-realelement")||c.hasAttribute("data-cke-bookmark")|| +!e(b,c)||(h.test(c.getName())?c.remove(1):(c.removeAttributes(g),b.fire("removeFormatCleanup",c))),c=r;f.startNode.remove();f.endNode&&f.endNode.remove();l.moveToBookmark(d);k.push(l)}b.forceNextSelectionCheck();b.getSelection().selectRanges(k)}}},filter:function(b,h){for(var g=b._.removeFormatFilters||[],e=0;ed.width&&(e.resize_minWidth=d.width);e.resize_minHeight> +d.height&&(e.resize_minHeight=d.height);CKEDITOR.document.on("mousemove",h);CKEDITOR.document.on("mouseup",g);b.document&&(b.document.on("mousemove",h),b.document.on("mouseup",g));a.preventDefault&&a.preventDefault()});b.on("destroy",function(){CKEDITOR.tools.removeFunction(n)});b.on("uiSpace",function(d){if("bottom"==d.data.space){var e="";f&&!c&&(e=" cke_resizer_horizontal");!f&&c&&(e=" cke_resizer_vertical");var g='\x3cspan id\x3d"'+a+'" class\x3d"cke_resizer'+e+" cke_resizer_"+m+'" title\x3d"'+ +CKEDITOR.tools.htmlEncode(b.lang.common.resize)+'" onmousedown\x3d"CKEDITOR.tools.callFunction('+n+', event)"\x3e'+("ltr"==m?"◢":"◣")+"\x3c/span\x3e";"ltr"==m&&"ltr"==e?d.data.html+=g:d.data.html=g+d.data.html}},b,null,100);b.on("maximize",function(a){b.ui.space("resizer")[a.data==CKEDITOR.TRISTATE_ON?"hide":"show"]()})}}});(function(){var b={readOnly:1,modes:{wysiwyg:1,source:1},exec:function(b){if(b.fire("save")&&(b=b.element.$.form))try{b.submit()}catch(g){b.submit.click&&b.submit.click()}}};CKEDITOR.plugins.add("save", +{init:function(h){h.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&&(h.addCommand("save",b).startDisabled=!h.element.$.form,h.ui.addButton&&h.ui.addButton("Save",{label:h.lang.save.toolbar,command:"save",toolbar:"document,10"}))}})})();(function(){CKEDITOR.plugins.add("selectall",{init:function(b){b.addCommand("selectAll",{modes:{wysiwyg:1,source:1},exec:function(b){var g=b.editable();if(g.is("textarea"))b=g.$,CKEDITOR.env.ie&&b.createTextRange?b.createTextRange().execCommand("SelectAll"):(b.selectionStart= +0,b.selectionEnd=b.value.length),b.focus();else{if(g.is("body"))b.document.$.execCommand("SelectAll",!1,null);else{var e=b.createRange();e.selectNodeContents(g);e.select()}b.forceNextSelectionCheck();b.selectionChange()}},canUndo:!1});b.ui.addButton&&b.ui.addButton("SelectAll",{label:b.lang.selectall.toolbar,command:"selectAll",toolbar:"selection,10"})}})})();(function(){var b={readOnly:1,preserveState:!0,editorFocus:!1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var g= +this.state!=CKEDITOR.TRISTATE_ON||b.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&!b.focusManager.hasFocus?"removeClass":"attachClass";b.editable()[g]("cke_show_blocks")}}};CKEDITOR.plugins.add("showblocks",{onLoad:function(){var b="p div pre address blockquote h1 h2 h3 h4 h5 h6".split(" "),g,e,a,m,k=CKEDITOR.getUrl(this.path),l=!(CKEDITOR.env.ie&&9>CKEDITOR.env.version),d=l?":not([contenteditable\x3dfalse]):not(.cke_show_blocks_off)":"",f,c;for(g=e=a=m="";f=b.pop();)c=b.length?",":"",g+=".cke_show_blocks "+ +f+d+c,a+=".cke_show_blocks.cke_contents_ltr "+f+d+c,m+=".cke_show_blocks.cke_contents_rtl "+f+d+c,e+=".cke_show_blocks "+f+d+"{background-image:url("+CKEDITOR.getUrl(k+"images/block_"+f+".png")+")}";CKEDITOR.addCss((g+"{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px}").concat(e,a+"{background-position:top left;padding-left:8px}",m+"{background-position:top right;padding-right:8px}"));l||CKEDITOR.addCss(".cke_show_blocks [contenteditable\x3dfalse],.cke_show_blocks .cke_show_blocks_off{border:none;padding-top:0;background-image:none}.cke_show_blocks.cke_contents_rtl [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_rtl .cke_show_blocks_off{padding-right:0}.cke_show_blocks.cke_contents_ltr [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_ltr .cke_show_blocks_off{padding-left:0}")}, +init:function(h){function g(){e.refresh(h)}if(!h.blockless){var e=h.addCommand("showblocks",b);e.canUndo=!1;h.config.startupOutlineBlocks&&e.setState(CKEDITOR.TRISTATE_ON);h.ui.addButton&&h.ui.addButton("ShowBlocks",{label:h.lang.showblocks.toolbar,command:"showblocks",toolbar:"tools,20"});h.on("mode",function(){e.state!=CKEDITOR.TRISTATE_DISABLED&&e.refresh(h)});h.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(h.on("focus",g),h.on("blur",g));h.on("contentDom",function(){e.state!=CKEDITOR.TRISTATE_DISABLED&& +e.refresh(h)})}}})})();(function(){var b={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var g=this.state==CKEDITOR.TRISTATE_ON?"attachClass":"removeClass";b.editable()[g]("cke_show_borders")}}};CKEDITOR.plugins.add("showborders",{modes:{wysiwyg:1},onLoad:function(){var b;b=(CKEDITOR.env.ie6Compat?[".%1 table.%2,",".%1 table.%2 td, .%1 table.%2 th","{","border : #d3d3d3 1px dotted","}"]:".%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;}".split(";")).join("").replace(/%2/g, +"cke_show_border").replace(/%1/g,"cke_show_borders ");CKEDITOR.addCss(b)},init:function(h){var g=h.addCommand("showborders",b);g.canUndo=!1;!1!==h.config.startupShowBorders&&g.setState(CKEDITOR.TRISTATE_ON);h.on("mode",function(){g.state!=CKEDITOR.TRISTATE_DISABLED&&g.refresh(h)},null,null,100);h.on("contentDom",function(){g.state!=CKEDITOR.TRISTATE_DISABLED&&g.refresh(h)});h.on("removeFormatCleanup",function(b){b=b.data;h.getCommand("showborders").state==CKEDITOR.TRISTATE_ON&&b.is("table")&&(!b.hasAttribute("border")|| +0>=parseInt(b.getAttribute("border"),10))&&b.addClass("cke_show_border")})},afterInit:function(b){var g=b.dataProcessor;b=g&&g.dataFilter;g=g&&g.htmlFilter;b&&b.addRules({elements:{table:function(b){b=b.attributes;var a=b["class"],g=parseInt(b.border,10);g&&!(0>=g)||a&&-1!=a.indexOf("cke_show_border")||(b["class"]=(a||"")+" cke_show_border")}}});g&&g.addRules({elements:{table:function(b){b=b.attributes;var a=b["class"];a&&(b["class"]=a.replace("cke_show_border","").replace(/\s{2}/," ").replace(/^\s+|\s+$/, +""))}}})}});CKEDITOR.on("dialogDefinition",function(b){var g=b.data.name;if("table"==g||"tableProperties"==g)if(b=b.data.definition,g=b.getContents("info").get("txtBorder"),g.commit=CKEDITOR.tools.override(g.commit,function(b){return function(a,g){b.apply(this,arguments);var h=parseInt(this.getValue(),10);g[!h||0>=h?"addClass":"removeClass"]("cke_show_border")}}),b=(b=b.getContents("advanced"))&&b.get("advCSSClasses"))b.setup=CKEDITOR.tools.override(b.setup,function(b){return function(){b.apply(this, +arguments);this.setValue(this.getValue().replace(/cke_show_border/,""))}}),b.commit=CKEDITOR.tools.override(b.commit,function(b){return function(a,g){b.apply(this,arguments);parseInt(g.getAttribute("border"),10)||g.addClass("cke_show_border")}})})})();CKEDITOR.plugins.add("smiley",{requires:"dialog",init:function(b){b.config.smiley_path=b.config.smiley_path||this.path+"images/";b.addCommand("smiley",new CKEDITOR.dialogCommand("smiley",{allowedContent:"img[alt,height,!src,title,width]",requiredContent:"img"})); b.ui.addButton&&b.ui.addButton("Smiley",{label:b.lang.smiley.toolbar,command:"smiley",toolbar:"insert,50"});CKEDITOR.dialog.add("smiley",this.path+"dialogs/smiley.js")}});CKEDITOR.config.smiley_images="regular_smile.png sad_smile.png wink_smile.png teeth_smile.png confused_smile.png tongue_smile.png embarrassed_smile.png omg_smile.png whatchutalkingabout_smile.png angry_smile.png angel_smile.png shades_smile.png devil_smile.png cry_smile.png lightbulb.png thumbs_down.png thumbs_up.png heart.png broken_heart.png kiss.png envelope.png".split(" "); -CKEDITOR.config.smiley_descriptions="smiley;sad;wink;laugh;frown;cheeky;blush;surprise;indecision;angry;angel;cool;devil;crying;enlightened;no;yes;heart;broken heart;kiss;mail".split(";");(function(){CKEDITOR.plugins.add("sourcearea",{init:function(h){function f(){var a=g&&this.equals(CKEDITOR.document.getActive());this.hide();this.setStyle("height",this.getParent().$.clientHeight+"px");this.setStyle("width",this.getParent().$.clientWidth+"px");this.show();a&&this.focus()}if(h.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var a= -CKEDITOR.plugins.sourcearea;h.addMode("source",function(a){var g=h.ui.space("contents").getDocument().createElement("textarea");g.setStyles(CKEDITOR.tools.extend({width:CKEDITOR.env.ie7Compat?"99%":"100%",height:"100%",resize:"none",outline:"none","text-align":"left"},CKEDITOR.tools.cssVendorPrefix("tab-size",h.config.sourceAreaTabSize||4)));g.setAttribute("dir","ltr");g.addClass("cke_source").addClass("cke_reset").addClass("cke_enable_context_menu");h.ui.space("contents").append(g);g=h.editable(new b(h, -g));g.setData(h.getData(1));CKEDITOR.env.ie&&(g.attachListener(h,"resize",f,g),g.attachListener(CKEDITOR.document.getWindow(),"resize",f,g),CKEDITOR.tools.setTimeout(f,0,g));h.fire("ariaWidget",this);a()});h.addCommand("source",a.commands.source);h.ui.addButton&&h.ui.addButton("Source",{label:h.lang.sourcearea.toolbar,command:"source",toolbar:"mode,10"});h.on("mode",function(){h.getCommand("source").setState("source"==h.mode?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)});var g=CKEDITOR.env.ie&&9== +CKEDITOR.config.smiley_descriptions="smiley;sad;wink;laugh;frown;cheeky;blush;surprise;indecision;angry;angel;cool;devil;crying;enlightened;no;yes;heart;broken heart;kiss;mail".split(";");(function(){CKEDITOR.plugins.add("sourcearea",{init:function(h){function g(){var b=a&&this.equals(CKEDITOR.document.getActive());this.hide();this.setStyle("height",this.getParent().$.clientHeight+"px");this.setStyle("width",this.getParent().$.clientWidth+"px");this.show();b&&this.focus()}if(h.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var e= +CKEDITOR.plugins.sourcearea;h.addMode("source",function(a){var e=h.ui.space("contents").getDocument().createElement("textarea");e.setStyles(CKEDITOR.tools.extend({width:CKEDITOR.env.ie7Compat?"99%":"100%",height:"100%",resize:"none",outline:"none","text-align":"left"},CKEDITOR.tools.cssVendorPrefix("tab-size",h.config.sourceAreaTabSize||4)));e.setAttribute("dir","ltr");e.addClass("cke_source").addClass("cke_reset").addClass("cke_enable_context_menu");h.ui.space("contents").append(e);e=h.editable(new b(h, +e));e.setData(h.getData(1));CKEDITOR.env.ie&&(e.attachListener(h,"resize",g,e),e.attachListener(CKEDITOR.document.getWindow(),"resize",g,e),CKEDITOR.tools.setTimeout(g,0,e));h.fire("ariaWidget",this);a()});h.addCommand("source",e.commands.source);h.ui.addButton&&h.ui.addButton("Source",{label:h.lang.sourcearea.toolbar,command:"source",toolbar:"mode,10"});h.on("mode",function(){h.getCommand("source").setState("source"==h.mode?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)});var a=CKEDITOR.env.ie&&9== CKEDITOR.env.version}}});var b=CKEDITOR.tools.createClass({base:CKEDITOR.editable,proto:{setData:function(b){this.setValue(b);this.status="ready";this.editor.fire("dataReady")},getData:function(){return this.getValue()},insertHtml:function(){},insertElement:function(){},insertText:function(){},setReadOnly:function(b){this[(b?"set":"remove")+"Attribute"]("readOnly","readonly")},detach:function(){b.baseProto.detach.call(this);this.clearCustomData();this.remove()}}})})();CKEDITOR.plugins.sourcearea= {commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:!1,readOnly:1,exec:function(b){"wysiwyg"==b.mode&&b.fire("saveSnapshot");b.getCommand("source").setState(CKEDITOR.TRISTATE_DISABLED);b.setMode("source"==b.mode?"wysiwyg":"source")},canUndo:!1}}};CKEDITOR.plugins.add("specialchar",{availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,"de-ch":1,el:1,en:1,"en-au":1,"en-ca":1,"en-gb":1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fr:1,"fr-ca":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,"pt-br":1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,"sr-latn":1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,"zh-cn":1},requires:"dialog",init:function(b){var h=this;CKEDITOR.dialog.add("specialchar",this.path+"dialogs/specialchar.js");b.addCommand("specialchar",{exec:function(){var f=b.langCode,f=h.availableLangs[f]?f:h.availableLangs[f.replace(/-.*/,"")]?f.replace(/-.*/,""):"en";CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(h.path+"dialogs/lang/"+f+".js"),function(){CKEDITOR.tools.extend(b.lang.specialchar, -h.langEntries[f]);b.openDialog("specialchar")})},modes:{wysiwyg:1},canUndo:!1});b.ui.addButton&&b.ui.addButton("SpecialChar",{label:b.lang.specialchar.toolbar,command:"specialchar",toolbar:"insert,50"})}});CKEDITOR.config.specialChars="! \x26quot; # $ % \x26amp; ' ( ) * + - . / 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;".split(" "); -(function(){CKEDITOR.plugins.add("stylescombo",{requires:"richcombo",init:function(b){var h=b.config,f=b.lang.stylescombo,a={},g=[],m=[];b.on("stylesSet",function(f){if(f=f.data.styles){for(var l,d,e,c=0,n=f.length;c=f)for(l=this.getNextSourceNode(b,CKEDITOR.NODE_ELEMENT);l;){if(l.isVisible()&&0===l.getTabIndex()){m=l;break}l=l.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT)}else for(l=this.getDocument().getBody().getFirst();l=l.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!a)if(!g&&l.equals(this)){if(g=!0,b){if(!(l=l.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;a=1}}else g&&!this.contains(l)&&(a=1);if(l.isVisible()&&!(0>(d=l.getTabIndex()))){if(a&&d==f){m= -l;break}d>f&&(!m||!k||d(l=d.getTabIndex())))if(0>=f){if(a&&0===l){m=d;break}l>k&& -(m=d,k=l)}else{if(a&&l==f){m=d;break}lk)&&(m=d,k=l)}}m&&m.focus()};CKEDITOR.plugins.add("table",{requires:"dialog",init:function(b){function h(a){return CKEDITOR.tools.extend(a||{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains("table",1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!b.blockless){var f=b.lang.table;b.addCommand("table",new CKEDITOR.dialogCommand("table",{context:"table",allowedContent:"table{width,height,border-collapse}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];td{border*,background-color,vertical-align,width,height}[colspan,rowspan];"+ -(b.plugins.dialogadvtab?"table"+b.plugins.dialogadvtab.allowedContent():""),requiredContent:"table",contentTransformations:[["table{width}: sizeToStyle","table[width]: sizeToAttribute"],["td: splitBorderShorthand"],[{element:"table",right:function(a){if(a.styles){var b;if(a.styles.border)b=CKEDITOR.tools.style.parse.border(a.styles.border);else if(CKEDITOR.env.ie&&8===CKEDITOR.env.version){var f=a.styles;f["border-left"]&&f["border-left"]===f["border-right"]&&f["border-right"]===f["border-top"]&& -f["border-top"]===f["border-bottom"]&&(b=CKEDITOR.tools.style.parse.border(f["border-top"]))}b&&b.style&&"solid"===b.style&&b.width&&0!==parseFloat(b.width)&&(a.attributes.border=1);"collapse"==a.styles["border-collapse"]&&(a.attributes.cellspacing=0)}}}]]}));b.addCommand("tableProperties",new CKEDITOR.dialogCommand("tableProperties",h()));b.addCommand("tableDelete",h({exec:function(a){var b=a.elementPath().contains("table",1);if(b){var f=b.getParent(),h=a.editable();1!=f.getChildCount()||f.is("td", -"th")||f.equals(h)||(b=f);a=a.createRange();a.moveToPosition(b,CKEDITOR.POSITION_BEFORE_START);b.remove();a.select()}}}));b.ui.addButton&&b.ui.addButton("Table",{label:f.toolbar,command:"table",toolbar:"insert,30"});CKEDITOR.dialog.add("table",this.path+"dialogs/table.js");CKEDITOR.dialog.add("tableProperties",this.path+"dialogs/table.js");b.addMenuItems&&b.addMenuItems({table:{label:f.menu,command:"tableProperties",group:"table",order:5},tabledelete:{label:f.deleteTable,command:"tableDelete",group:"table", -order:1}});b.on("doubleclick",function(a){a.data.element.is("table")&&(a.data.dialog="tableProperties")});b.contextMenu&&b.contextMenu.addListener(function(){return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF}})}}});(function(){function b(a,b){function d(a){return b?b.contains(a)&&a.getAscendant("table",!0).equals(b):!0}function c(a){var b=/^(?:td|th)$/;0c)c=f}return c}function m(a,d){for(var c=q(a)?a:b(a),e=c[0].getAscendant("table"),f=g(c,1),c=g(c),h=d?f:c,k=CKEDITOR.tools.buildTableMap(e),e=[],f=[],c=[],l=k.length,m=0;ml?new CKEDITOR.dom.element(h[0][l+1]):k&&-1!==h[0][k-1].cellIndex?new CKEDITOR.dom.element(h[0][k-1]):new CKEDITOR.dom.element(e.$.parentNode);m.length==a&&(c[0].moveToPosition(e,CKEDITOR.POSITION_AFTER_END),c[0].select(),e.remove());return k}function l(a,b){var d=a.getStartElement().getAscendant({td:1,th:1},!0);if(d){var c=d.clone();c.appendBogus();b?c.insertBefore(d):c.insertAfter(d)}}function d(a){if(a instanceof CKEDITOR.dom.selection){var c= -a.getRanges(),f=b(a),g=f[0]&&f[0].getAscendant("table"),h;a:{var k=0;h=f.length-1;for(var l={},m,n;m=f[k++];)CKEDITOR.dom.element.setMarker(l,m,"delete_cell",!0);for(k=0;m=f[k++];)if((n=m.getPrevious())&&!n.getCustomData("delete_cell")||(n=m.getNext())&&!n.getCustomData("delete_cell")){CKEDITOR.dom.element.clearAllMarkers(l);h=n;break a}CKEDITOR.dom.element.clearAllMarkers(l);k=f[0].getParent();(k=k.getPrevious())?h=k.getLast():(k=f[h].getParent(),h=(k=k.getNext())?k.getChild(0):null)}a.reset();for(a= -f.length-1;0<=a;a--)d(f[a]);h?e(h,!0):g&&(c[0].moveToPosition(g,CKEDITOR.POSITION_BEFORE_START),c[0].select(),g.remove())}else a instanceof CKEDITOR.dom.element&&(c=a.getParent(),1==c.getChildCount()?c.remove():a.remove())}function e(a,b){var d=a.getDocument(),c=CKEDITOR.document;CKEDITOR.env.ie&&10==CKEDITOR.env.version&&(c.focus(),d.focus());d=new CKEDITOR.dom.range(d);d["moveToElementEdit"+(b?"End":"Start")](a)||(d.selectNodeContents(a),d.collapse(b?!1:!0));d.select(!0)}function c(a,b,d){a=a[b]; -if("undefined"==typeof d)return a;for(b=0;a&&bf.length)||(g=a.getCommonAncestor())&&g.type==CKEDITOR.NODE_ELEMENT&&g.is("table"))return!1;a=f[0];g=a.getAscendant("table");var h=CKEDITOR.tools.buildTableMap(g),k=h.length,l=h[0].length,m=a.getParent().$.rowIndex,n=c(h,m,a),r;if(d){var q;try{var t=parseInt(a.getAttribute("rowspan"),10)||1;r=parseInt(a.getAttribute("colspan"), -10)||1;q=h["up"==d?m-t:"down"==d?m+t:m]["left"==d?n-r:"right"==d?n+r:n]}catch(H){return!1}if(!q||a.$==q)return!1;f["up"==d||"left"==d?"unshift":"push"](new CKEDITOR.dom.element(q))}d=a.getDocument();var D=m,t=q=0,M=!e&&new CKEDITOR.dom.documentFragment(d),I=0;for(d=0;d=l?a.removeAttribute("rowSpan"):a.$.rowSpan=q;q>=k?a.removeAttribute("colSpan"):a.$.colSpan=t;e=new CKEDITOR.dom.nodeList(g.$.rows);f=e.count();for(d=f-1;0<=d;d--)g=e.getItem(d),g.$.cells.length||(g.remove(),f++);return a}function r(a,d){var e=b(a);if(1< -e.length)return!1;if(d)return!0;var e=e[0],f=e.getParent(),g=f.getAscendant("table"),h=CKEDITOR.tools.buildTableMap(g),k=f.$.rowIndex,l=c(h,k,e),m=e.$.rowSpan,n;if(1l){f.insertBefore(new CKEDITOR.dom.element(r));break}else r=null;r||g.append(f)}else for(m=n=1,g=f.clone(),g.insertAfter(f),g.append(f=e.clone()),r=c(h,k),l=0;l=g)for(l=this.getNextSourceNode(b,CKEDITOR.NODE_ELEMENT);l;){if(l.isVisible()&&0===l.getTabIndex()){m=l;break}l=l.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT)}else for(l=this.getDocument().getBody().getFirst();l=l.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!e)if(!a&&l.equals(this)){if(a=!0,b){if(!(l=l.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;e=1}}else a&&!this.contains(l)&&(e=1);if(l.isVisible()&&!(0>(d=l.getTabIndex()))){if(e&&d==g){m= +l;break}d>g&&(!m||!k||d(l=d.getTabIndex())))if(0>=g){if(e&&0===l){m=d;break}l>k&& +(m=d,k=l)}else{if(e&&l==g){m=d;break}lk)&&(m=d,k=l)}}m&&m.focus()};CKEDITOR.plugins.add("table",{requires:"dialog",init:function(b){function h(b){return CKEDITOR.tools.extend(b||{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains("table",1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!b.blockless){var g=b.lang.table;b.addCommand("table",new CKEDITOR.dialogCommand("table",{context:"table",allowedContent:"table{width,height,border-collapse}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];td{border*,background-color,vertical-align,width,height}[colspan,rowspan];"+ +(b.plugins.dialogadvtab?"table"+b.plugins.dialogadvtab.allowedContent():""),requiredContent:"table",contentTransformations:[["table{width}: sizeToStyle","table[width]: sizeToAttribute"],["td: splitBorderShorthand"],[{element:"table",right:function(b){if(b.styles){var a;if(b.styles.border)a=CKEDITOR.tools.style.parse.border(b.styles.border);else if(CKEDITOR.env.ie&&8===CKEDITOR.env.version){var g=b.styles;g["border-left"]&&g["border-left"]===g["border-right"]&&g["border-right"]===g["border-top"]&& +g["border-top"]===g["border-bottom"]&&(a=CKEDITOR.tools.style.parse.border(g["border-top"]))}a&&a.style&&"solid"===a.style&&a.width&&0!==parseFloat(a.width)&&(b.attributes.border=1);"collapse"==b.styles["border-collapse"]&&(b.attributes.cellspacing=0)}}}]]}));b.addCommand("tableProperties",new CKEDITOR.dialogCommand("tableProperties",h()));b.addCommand("tableDelete",h({exec:function(b){var a=b.elementPath().contains("table",1);if(a){var g=a.getParent(),h=b.editable();1!=g.getChildCount()||g.is("td", +"th")||g.equals(h)||(a=g);b=b.createRange();b.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START);a.remove();b.select()}}}));b.ui.addButton&&b.ui.addButton("Table",{label:g.toolbar,command:"table",toolbar:"insert,30"});CKEDITOR.dialog.add("table",this.path+"dialogs/table.js");CKEDITOR.dialog.add("tableProperties",this.path+"dialogs/table.js");b.addMenuItems&&b.addMenuItems({table:{label:g.menu,command:"tableProperties",group:"table",order:5},tabledelete:{label:g.deleteTable,command:"tableDelete",group:"table", +order:1}});b.on("doubleclick",function(b){b.data.element.is("table")&&(b.data.dialog="tableProperties")});b.contextMenu&&b.contextMenu.addListener(function(){return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF}})}}});(function(){function b(a,b){function c(a){return b?b.contains(a)&&a.getAscendant("table",!0).equals(b):!0}function d(a){var b=/^(?:td|th)$/;0c)c=f}return c}function m(c,d){for(var f=q(c)?c:b(c),e=f[0].getAscendant("table"),g=a(f,1),f=a(f),h=d?g:f,k=CKEDITOR.tools.buildTableMap(e),e=[],g=[],f=[],l=k.length,m=0;ml?new CKEDITOR.dom.element(h[0][l+1]):k&&-1!==h[0][k-1].cellIndex?new CKEDITOR.dom.element(h[0][k-1]):new CKEDITOR.dom.element(f.$.parentNode);m.length==a&&(d[0].moveToPosition(f,CKEDITOR.POSITION_AFTER_END),d[0].select(),f.remove());return k}function l(a,b){var c=a.getStartElement().getAscendant({td:1,th:1},!0);if(c){var d=c.clone();d.appendBogus();b?d.insertBefore(c):d.insertAfter(c)}}function d(a){if(a instanceof CKEDITOR.dom.selection){var c= +a.getRanges(),e=b(a),g=e[0]&&e[0].getAscendant("table"),h;a:{var k=0;h=e.length-1;for(var l={},m,n;m=e[k++];)CKEDITOR.dom.element.setMarker(l,m,"delete_cell",!0);for(k=0;m=e[k++];)if((n=m.getPrevious())&&!n.getCustomData("delete_cell")||(n=m.getNext())&&!n.getCustomData("delete_cell")){CKEDITOR.dom.element.clearAllMarkers(l);h=n;break a}CKEDITOR.dom.element.clearAllMarkers(l);k=e[0].getParent();(k=k.getPrevious())?h=k.getLast():(k=e[h].getParent(),h=(k=k.getNext())?k.getChild(0):null)}a.reset();for(a= +e.length-1;0<=a;a--)d(e[a]);h?f(h,!0):g&&(c[0].moveToPosition(g,CKEDITOR.POSITION_BEFORE_START),c[0].select(),g.remove())}else a instanceof CKEDITOR.dom.element&&(c=a.getParent(),1==c.getChildCount()?c.remove():a.remove())}function f(a,b){var c=a.getDocument(),d=CKEDITOR.document;CKEDITOR.env.ie&&10==CKEDITOR.env.version&&(d.focus(),c.focus());c=new CKEDITOR.dom.range(c);c["moveToElementEdit"+(b?"End":"Start")](a)||(c.selectNodeContents(a),c.collapse(b?!1:!0));c.select(!0)}function c(a,b,c){a=a[b]; +if("undefined"==typeof c)return a;for(b=0;a&&be.length)||(g=a.getCommonAncestor())&&g.type==CKEDITOR.NODE_ELEMENT&&g.is("table"))return!1;a=e[0];g=a.getAscendant("table");var h=CKEDITOR.tools.buildTableMap(g),k=h.length,l=h[0].length,m=a.getParent().$.rowIndex,n=c(h,m,a),r;if(d){var q;try{var t=parseInt(a.getAttribute("rowspan"),10)||1;r=parseInt(a.getAttribute("colspan"), +10)||1;q=h["up"==d?m-t:"down"==d?m+t:m]["left"==d?n-r:"right"==d?n+r:n]}catch(H){return!1}if(!q||a.$==q)return!1;e["up"==d||"left"==d?"unshift":"push"](new CKEDITOR.dom.element(q))}d=a.getDocument();var D=m,t=q=0,M=!f&&new CKEDITOR.dom.documentFragment(d),J=0;for(d=0;d=l?a.removeAttribute("rowSpan"):a.$.rowSpan=q;q>=k?a.removeAttribute("colSpan"):a.$.colSpan=t;f=new CKEDITOR.dom.nodeList(g.$.rows);e=f.count();for(d=e-1;0<=d;d--)g=f.getItem(d),g.$.cells.length||(g.remove(),e++);return a}function r(a,d){var f=b(a);if(1< +f.length)return!1;if(d)return!0;var f=f[0],e=f.getParent(),g=e.getAscendant("table"),h=CKEDITOR.tools.buildTableMap(g),k=e.$.rowIndex,l=c(h,k,f),m=f.$.rowSpan,n;if(1l){e.insertBefore(new CKEDITOR.dom.element(r));break}else r=null;r||g.append(e)}else for(m=n=1,g=e.clone(),g.insertAfter(e),g.append(e=f.clone()),r=c(h,k),l=0;la);n++){k[m+n]||(k[m+n]=[]);for(var r=0;r=g)break}}return k};(function(){function b(a){return CKEDITOR.plugins.widget&&CKEDITOR.plugins.widget.isDomWidget(a)}function h(a,b){var c=a.getAscendant("table"), -e=b.getAscendant("table"),f=CKEDITOR.tools.buildTableMap(c),g=d(a),h=d(b),k=[],l={},m,n;c.contains(e)&&(b=b.getAscendant({td:1,th:1}),h=d(b));g>h&&(c=g,g=h,h=c,c=a,a=b,b=c);for(c=0;cn&&(c=m,m=n,n=c);for(c=g;c<=h;c++)for(g=m;g<=n;g++)e=new CKEDITOR.dom.element(f[c][g]),e.$&&!e.getCustomData("selected_cell")&&(k.push(e),CKEDITOR.dom.element.setMarker(l,e,"selected_cell",!0));CKEDITOR.dom.element.clearAllMarkers(l); -return k}function f(a){return(a=a.editable().findOne(".cke_table-faked-selection"))&&a.getAscendant("table")}function a(a,b){var d=a.editable().find(".cke_table-faked-selection"),c=a.editable().findOne("[data-cke-table-faked-selection-table]"),e;a.fire("lockSnapshot");a.editable().removeClass("cke_table-faked-selection-editor");for(e=0;eb.count()||(b=h(b.getItem(0),b.getItem(b.count()-1)),g(a,b))}function k(d,c,e){var f=y(d.getSelection(!0));c=c.is("table")?null:c;var k;(k=p.active&&!p.first)&&!(k=c)&&(k=d.getSelection().getRanges(),k=1CKEDITOR.env.version,l=a.blockless||CKEDITOR.env.ie?"span":"div",m,n,r,p;f.getById("cke_table_copybin")||(m=f.createElement(l),n=f.createElement(l),n.setAttributes({id:"cke_table_copybin","data-cke-temp":"1"}),m.setStyles({position:"absolute",width:"1px",height:"1px",overflow:"hidden"}),m.setStyle("ltr"==a.config.contentsLangDirection?"left":"right","-5000px"),m.setHtml(a.getSelectedHtml(!0)),a.fire("lockSnapshot"),n.append(m),a.editable().append(n),p=a.on("selectionChange",d, -null,null,0),k&&(r=h.scrollTop),g.selectNodeContents(m),g.select(),k&&(h.scrollTop=r),setTimeout(function(){n.remove();c.selectBookmarks(e);p.removeListener();a.fire("unlockSnapshot");b&&(a.extractSelectedHtml(),a.fire("saveSnapshot"))},100))}function r(a){var b=a.editor||a.sender.editor,d=b.getSelection();d.isInTable()&&(d.getRanges()[0]._getTableElement({table:1}).hasAttribute("data-cke-tableselection-ignored")||n(b,"cut"===a.name))}function t(a){this._reset();a&&this.setSelectedCells(a)}function q(a, -b,d){a.on("beforeCommandExec",function(d){-1!==CKEDITOR.tools.array.indexOf(b,d.data.name)&&(d.data.selectedCells=y(a.getSelection()))});a.on("afterCommandExec",function(c){-1!==CKEDITOR.tools.array.indexOf(b,c.data.name)&&d(a,c.data)})}var p={active:!1},u,y,v,A,z;t.prototype={};t.prototype._reset=function(){this.cells={first:null,last:null,all:[]};this.rows={first:null,last:null}};t.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("tr");this.rows.last=this.cells.last.getAscendant("tr")};t.prototype.getTableMap=function(){var a=v(this.cells.first),b;a:{b=this.cells.last;var c=b.getAscendant("table"),e=d(b),c=CKEDITOR.tools.buildTableMap(c),f;for(f=0;f=a)return;for(var c=this.cells.first.$.cellIndex,e=this.cells.last.$.cellIndex,f=d?[]:this.cells.all,g,h=0;h=c&&a.$.cellIndex<=e}),f=b?g.concat(f):f.concat(g);this.setSelectedCells(f)};t.prototype.insertColumn=function(a){function b(a){a=d(a);return a>=f&&a<=g}if("undefined"===typeof a)a=1;else if(0>= -a)return;for(var c=this.cells,e=c.all,f=d(c.first),g=d(c.last),c=0;cf)l[0].moveToElementEditablePosition(k?m:n,!k),h.selectRanges([l[0]]);else if(13!==f||13===g||g===CKEDITOR.SHIFT+ -13){for(e=0;eCKEDITOR.env.version)},onLoad:function(){u=CKEDITOR.plugins.tabletools;y=u.getSelectedCells;v=u.getCellColIndex;A=u.insertRow;z=u.insertColumn;CKEDITOR.document.appendStyleSheet(this.path+ -"styles/tableselection.css")},init:function(b){this.isSupportedEnvironment()&&(b.addContentsCss&&b.addContentsCss(this.path+"styles/tableselection.css"),b.on("contentDom",function(){var a=b.editable(),d=a.isInline()?a:b.document,f={editor:b};a.attachListener(d,"mousedown",e,null,f);a.attachListener(d,"mousemove",e,null,f);a.attachListener(d,"mouseup",e,null,f);a.attachListener(a,"dragstart",c);a.attachListener(b,"selectionCheck",l);CKEDITOR.plugins.tableselection.keyboardIntegration(b);CKEDITOR.plugins.clipboard&& -!CKEDITOR.plugins.clipboard.isCustomCopyCutSupported&&(a.attachListener(a,"cut",r),a.attachListener(a,"copy",r))}),b.on("paste",w.onPaste,w),q(b,"rowInsertBefore rowInsertAfter columnInsertBefore columnInsertAfter cellInsertBefore cellInsertAfter".split(" "),function(a,b){g(a,b.selectedCells)}),q(b,["cellMerge","cellMergeRight","cellMergeDown"],function(a,b){g(a,[b.commandData.cell])}),q(b,["cellDelete"],function(b){a(b,!0)}))}})})();(function(){CKEDITOR.plugins.add("templates",{requires:"dialog", -init:function(b){CKEDITOR.dialog.add("templates",CKEDITOR.getUrl(this.path+"dialogs/templates.js"));b.addCommand("templates",new CKEDITOR.dialogCommand("templates"));b.ui.addButton&&b.ui.addButton("Templates",{label:b.lang.templates.button,command:"templates",toolbar:"doctools,10"})}});var b={},h={};CKEDITOR.addTemplates=function(f,a){b[f]=a};CKEDITOR.getTemplates=function(f){return b[f]};CKEDITOR.loadTemplates=function(b,a){for(var g=[],m=0,k=b.length;m=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange());e?(f=0,this.editor.fire("saveSnapshot")):this.editor.fire("change");this.strokesRecorded[c]=f;this.previousKeyGroup=c},keyGroupChanged:function(b){return a.getKeyGroup(b)!= -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 f=this.editor;if(this.locked||"ready"!=f.status||"wysiwyg"!=f.mode)return!1;var h=f.editable();if(!h|| -"ready"!=h.status)return!1;h=this.snapshots;b||(b=new g(f));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&&f.fire("change");h.splice(this.index+1,h.length-this.index-1);h.length==this.limit&&h.shift();this.index=h.push(b)-1;this.currentImage=b;!1!==c&&this.refreshState();return!0},restoreImage:function(a){var b=this.editor,c;a.bookmarks&&(b.focus(),c=b.getSelection());this.locked={level:999};this.editor.loadSnapshot(a.contents); -a.bookmarks?c.selectBookmarks(a.bookmarks):CKEDITOR.env.ie&&(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("change")},getNextImage:function(a){var b=this.snapshots,c=this.currentImage,f;if(c)if(a)for(f=this.index-1;0<=f;f--){if(a=b[f],!c.equalsContent(a))return a.index=f,a}else for(f=this.index+1;f=this.undoManager.strokesLimit&&(this.undoManager.type(a.keyCode,!0),this.keyEventsStack.resetInputs())}},onKeyup:function(b){var e=this.undoManager;b=b.data.getKey();var c=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(b); -if(!(a.ieFunctionalKeysBug(b)&&this.lastKeydownImage&&this.lastKeydownImage.equalsContent(new g(e.editor,!0))))if(0e);n++){k[m+n]||(k[m+n]=[]);for(var r=0;r=a)break}}return k};(function(){function b(a){return CKEDITOR.plugins.widget&&CKEDITOR.plugins.widget.isDomWidget(a)}function h(a,b){var c=a.getAscendant("table"), +f=b.getAscendant("table"),e=CKEDITOR.tools.buildTableMap(c),g=d(a),h=d(b),k=[],l={},m,n;c.contains(f)&&(b=b.getAscendant({td:1,th:1}),h=d(b));g>h&&(c=g,g=h,h=c,c=a,a=b,b=c);for(c=0;cn&&(c=m,m=n,n=c);for(c=g;c<=h;c++)for(g=m;g<=n;g++)f=new CKEDITOR.dom.element(e[c][g]),f.$&&!f.getCustomData("selected_cell")&&(k.push(f),CKEDITOR.dom.element.setMarker(l,f,"selected_cell",!0));CKEDITOR.dom.element.clearAllMarkers(l); +return k}function g(a){return(a=a.editable().findOne(".cke_table-faked-selection"))&&a.getAscendant("table")}function e(a,b){var c=a.editable().find(".cke_table-faked-selection"),d=a.editable().findOne("[data-cke-table-faked-selection-table]"),f;a.fire("lockSnapshot");a.editable().removeClass("cke_table-faked-selection-editor");for(f=0;fc.count()||(c=h(c.getItem(0),c.getItem(c.count()-1)),a(b,c))}function k(c,d,f){var g=x(c.getSelection(!0));d=d.is("table")?null:d;var k;(k=p.active&&!p.first)&&!(k=d)&&(k=c.getSelection().getRanges(),k=1CKEDITOR.env.version,l=a.blockless||CKEDITOR.env.ie?"span":"div",m,n,r,p;e.getById("cke_table_copybin")||(m=e.createElement(l),n=e.createElement(l),n.setAttributes({id:"cke_table_copybin","data-cke-temp":"1"}),m.setStyles({position:"absolute",width:"1px",height:"1px",overflow:"hidden"}),m.setStyle("ltr"==a.config.contentsLangDirection?"left":"right","-5000px"),m.setHtml(a.getSelectedHtml(!0)),a.fire("lockSnapshot"),n.append(m),a.editable().append(n),p=a.on("selectionChange",c, +null,null,0),k&&(r=h.scrollTop),g.selectNodeContents(m),g.select(),k&&(h.scrollTop=r),setTimeout(function(){n.remove();d.selectBookmarks(f);p.removeListener();a.fire("unlockSnapshot");b&&(a.extractSelectedHtml(),a.fire("saveSnapshot"))},100))}function r(a){var b=a.editor||a.sender.editor,c=b.getSelection();c.isInTable()&&(c.getRanges()[0]._getTableElement({table:1}).hasAttribute("data-cke-tableselection-ignored")||n(b,"cut"===a.name))}function t(a){this._reset();a&&this.setSelectedCells(a)}function q(a, +b,c){a.on("beforeCommandExec",function(c){-1!==CKEDITOR.tools.array.indexOf(b,c.data.name)&&(c.data.selectedCells=x(a.getSelection()))});a.on("afterCommandExec",function(d){-1!==CKEDITOR.tools.array.indexOf(b,d.data.name)&&c(a,d.data)})}var p={active:!1},v,x,u,A,z;t.prototype={};t.prototype._reset=function(){this.cells={first:null,last:null,all:[]};this.rows={first:null,last:null}};t.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("tr");this.rows.last=this.cells.last.getAscendant("tr")};t.prototype.getTableMap=function(){var a=u(this.cells.first),b;a:{b=this.cells.last;var c=b.getAscendant("table"),f=d(b),c=CKEDITOR.tools.buildTableMap(c),e;for(e=0;e=a)return;for(var d=this.cells.first.$.cellIndex,f=this.cells.last.$.cellIndex,e=c?[]:this.cells.all,g,h=0;h=d&&a.$.cellIndex<=f}),e=b?g.concat(e):e.concat(g);this.setSelectedCells(e)};t.prototype.insertColumn=function(a){function b(a){a=d(a);return a>=e&&a<=g}if("undefined"===typeof a)a=1;else if(0>= +a)return;for(var c=this.cells,f=c.all,e=d(c.first),g=d(c.last),c=0;ce)l[0].moveToElementEditablePosition(k?m:n,!k),h.selectRanges([l[0]]);else if(13!==e||13===g||g===CKEDITOR.SHIFT+ +13){for(f=0;fCKEDITOR.env.version)},onLoad:function(){v=CKEDITOR.plugins.tabletools;x=v.getSelectedCells;u=v.getCellColIndex;A=v.insertRow;z=v.insertColumn;CKEDITOR.document.appendStyleSheet(this.path+ +"styles/tableselection.css")},init:function(b){this.isSupportedEnvironment()&&(b.addContentsCss&&b.addContentsCss(this.path+"styles/tableselection.css"),b.on("contentDom",function(){var a=b.editable(),d=a.isInline()?a:b.document,e={editor:b};a.attachListener(d,"mousedown",f,null,e);a.attachListener(d,"mousemove",f,null,e);a.attachListener(d,"mouseup",f,null,e);a.attachListener(a,"dragstart",c);a.attachListener(b,"selectionCheck",l);CKEDITOR.plugins.tableselection.keyboardIntegration(b);CKEDITOR.plugins.clipboard&& +!CKEDITOR.plugins.clipboard.isCustomCopyCutSupported&&(a.attachListener(a,"cut",r),a.attachListener(a,"copy",r))}),b.on("paste",w.onPaste,w),q(b,"rowInsertBefore rowInsertAfter columnInsertBefore columnInsertAfter cellInsertBefore cellInsertAfter".split(" "),function(b,c){a(b,c.selectedCells)}),q(b,["cellMerge","cellMergeRight","cellMergeDown"],function(b,c){a(b,[c.commandData.cell])}),q(b,["cellDelete"],function(a){e(a,!0)}))}})})();(function(){CKEDITOR.plugins.add("templates",{requires:"dialog", +init:function(b){CKEDITOR.dialog.add("templates",CKEDITOR.getUrl(this.path+"dialogs/templates.js"));b.addCommand("templates",new CKEDITOR.dialogCommand("templates"));b.ui.addButton&&b.ui.addButton("Templates",{label:b.lang.templates.button,command:"templates",toolbar:"doctools,10"})}});var b={},h={};CKEDITOR.addTemplates=function(g,e){b[g]=e};CKEDITOR.getTemplates=function(g){return b[g]};CKEDITOR.loadTemplates=function(b,e){for(var a=[],m=0,k=b.length;m=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange());b?(g=0,this.editor.fire("saveSnapshot")):this.editor.fire("change");this.strokesRecorded[c]=g;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(b,f,c){var e=this.editor;if(this.locked||"ready"!=e.status||"wysiwyg"!=e.mode)return!1;var g=e.editable();if(!g|| +"ready"!=g.status)return!1;g=this.snapshots;f||(f=new a(e));if(!1===f.contents)return!1;if(this.currentImage)if(f.equalsContent(this.currentImage)){if(b||f.equalsSelection(this.currentImage))return!1}else!1!==c&&e.fire("change");g.splice(this.index+1,g.length-this.index-1);g.length==this.limit&&g.shift();this.index=g.push(f)-1;this.currentImage=f;!1!==c&&this.refreshState();return!0},restoreImage:function(a){var b=this.editor,c;a.bookmarks&&(b.focus(),c=b.getSelection());this.locked={level:999};this.editor.loadSnapshot(a.contents); +a.bookmarks?c.selectBookmarks(a.bookmarks):CKEDITOR.env.ie&&(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("change")},getNextImage:function(a){var b=this.snapshots,c=this.currentImage,e;if(c)if(a)for(e=this.index-1;0<=e;e--){if(a=b[e],!c.equalsContent(a))return a.index=e,a}else for(e=this.index+1;e=this.undoManager.strokesLimit&&(this.undoManager.type(a.keyCode,!0),this.keyEventsStack.resetInputs())}},onKeyup:function(b){var f=this.undoManager;b=b.data.getKey();var c=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(b); +if(!(e.ieFunctionalKeysBug(b)&&this.lastKeydownImage&&this.lastKeydownImage.equalsContent(new a(f.editor,!0))))if(0=this.rect.right||a<=this.rect.top||a>=this.rect.bottom)&&this.hideVisible();(0>=b||b>=this.winTopPane.width||0>=a||a>=this.winTopPane.height)&&this.hideVisible()},this);c.attachListener(a,"resize",f);c.attachListener(a,"mode",k);a.on("destroy",k);this.lineTpl=(new CKEDITOR.template('\x3cdiv data-cke-lineutils-line\x3d"1" class\x3d"cke_reset_all" style\x3d"{lineStyle}"\x3e\x3cspan style\x3d"{tipLeftStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d"{tipRightStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e')).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({}, -m,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},g,{left:"0px","border-left-color":"red","border-width":"6px 0 6px 6px"},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},g,{right:"0px","border-right-color":"red","border-width":"6px 6px 6px 0"},this.tipCss,this.tipRightStyle,!0))})}function a(a){var b;if(b=a&&a.type==CKEDITOR.NODE_ELEMENT)b=!(k[a.getComputedStyle("float")]||k[a.getAttribute("align")]);return b&& -!l[a.getComputedStyle("position")]}CKEDITOR.plugins.add("lineutils");CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;CKEDITOR.LINEUTILS_INSIDE=4;b.prototype={start:function(a){var b=this,c=this.editor,f=this.doc,g,h,k,l,m=CKEDITOR.tools.eventsBuffer(50,function(){c.readOnly||"wysiwyg"!=c.mode||(b.relations={},(h=f.$.elementFromPoint(k,l))&&h.nodeType&&(g=new CKEDITOR.dom.element(h),b.traverseSearch(g),isNaN(k+l)||b.pixelSearch(g,k,l),a&&a(b.relations,k,l)))});this.listener=this.editable.attachListener(this.target, +"use strict";(function(){function b(a,b){CKEDITOR.tools.extend(this,{editor:a,editable:a.editable(),doc:a.document,win:a.window},b,!0);this.inline=this.editable.isInline();this.inline||(this.frame=this.win.getFrame());this.target=this[this.inline?"editable":"doc"]}function h(a,b){CKEDITOR.tools.extend(this,b,{editor:a},!0)}function g(b,f){var c=b.editable();CKEDITOR.tools.extend(this,{editor:b,editable:c,inline:c.isInline(),doc:b.document,win:b.window,container:CKEDITOR.document.getBody(),winTop:CKEDITOR.document.getWindow()}, +f,!0);this.hidden={};this.visible={};this.inline||(this.frame=this.win.getFrame());this.queryViewport();var e=CKEDITOR.tools.bind(this.queryViewport,this),g=CKEDITOR.tools.bind(this.hideVisible,this),h=CKEDITOR.tools.bind(this.removeAll,this);c.attachListener(this.winTop,"resize",e);c.attachListener(this.winTop,"scroll",e);c.attachListener(this.winTop,"resize",g);c.attachListener(this.win,"scroll",g);c.attachListener(this.inline?c:this.frame,"mouseout",function(a){var b=a.data.$.clientX;a=a.data.$.clientY; +this.queryViewport();(b<=this.rect.left||b>=this.rect.right||a<=this.rect.top||a>=this.rect.bottom)&&this.hideVisible();(0>=b||b>=this.winTopPane.width||0>=a||a>=this.winTopPane.height)&&this.hideVisible()},this);c.attachListener(b,"resize",e);c.attachListener(b,"mode",h);b.on("destroy",h);this.lineTpl=(new CKEDITOR.template('\x3cdiv data-cke-lineutils-line\x3d"1" class\x3d"cke_reset_all" style\x3d"{lineStyle}"\x3e\x3cspan style\x3d"{tipLeftStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d"{tipRightStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e')).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({}, +m,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},a,{left:"0px","border-left-color":"red","border-width":"6px 0 6px 6px"},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},a,{right:"0px","border-right-color":"red","border-width":"6px 6px 6px 0"},this.tipCss,this.tipRightStyle,!0))})}function e(a){var b;if(b=a&&a.type==CKEDITOR.NODE_ELEMENT)b=!(k[a.getComputedStyle("float")]||k[a.getAttribute("align")]);return b&& +!l[a.getComputedStyle("position")]}CKEDITOR.plugins.add("lineutils");CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;CKEDITOR.LINEUTILS_INSIDE=4;b.prototype={start:function(a){var b=this,c=this.editor,e=this.doc,g,h,k,l,m=CKEDITOR.tools.eventsBuffer(50,function(){c.readOnly||"wysiwyg"!=c.mode||(b.relations={},(h=e.$.elementFromPoint(k,l))&&h.nodeType&&(g=new CKEDITOR.dom.element(h),b.traverseSearch(g),isNaN(k+l)||b.pixelSearch(g,k,l),a&&a(b.relations,k,l)))});this.listener=this.editable.attachListener(this.target, "mousemove",function(a){k=a.data.$.clientX;l=a.data.$.clientY;m.input()});this.editable.attachListener(this.inline?this.editable:this.frame,"mouseout",function(){m.reset()})},stop:function(){this.listener&&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(b){var c=this.editor.createRange();c.moveToPosition(this.relations[b.uid].element, -a[b.type]);return c}}(),store:function(){function b(a,d,f){var g=a.getUniqueId();g in f?f[g].type|=d:f[g]={element:a,type:d}}return function(e,c){var f;c&CKEDITOR.LINEUTILS_AFTER&&a(f=e.getNext())&&f.isVisible()&&(b(f,CKEDITOR.LINEUTILS_BEFORE,this.relations),c^=CKEDITOR.LINEUTILS_AFTER);c&CKEDITOR.LINEUTILS_INSIDE&&a(f=e.getFirst())&&f.isVisible()&&(b(f,CKEDITOR.LINEUTILS_BEFORE,this.relations),c^=CKEDITOR.LINEUTILS_INSIDE);b(e,c,this.relations)}}(),traverseSearch:function(b){var e,c,f;do if(f=b.$["data-cke-expando"], -!(f&&f in this.relations)){if(b.equals(this.editable))break;if(a(b))for(e in this.lookups)(c=this.lookups[e](b))&&this.store(b,c)}while((!b||b.type!=CKEDITOR.NODE_ELEMENT||"true"!=b.getAttribute("contenteditable"))&&(b=b.getParent()))},pixelSearch:function(){function b(d,f,g,h,k){for(var l=0,m;k(g);){g+=h;if(25==++l)break;if(m=this.doc.$.elementFromPoint(f,g))if(m==d)l=0;else if(e(d,m)&&(l=0,a(m=new CKEDITOR.dom.element(m))))return m}}var e=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,b){return a.contains(b)}: -function(a,b){return!!(a.compareDocumentPosition(b)&16)};return function(c,e,f){var g=this.win.getViewPaneSize().height,h=b.call(this,c.$,e,f,-1,function(a){return 0this.rect.bottom)return!1;this.inline? +a[b.type]);return c}}(),store:function(){function a(b,c,d){var e=b.getUniqueId();e in d?d[e].type|=c:d[e]={element:b,type:c}}return function(b,c){var g;c&CKEDITOR.LINEUTILS_AFTER&&e(g=b.getNext())&&g.isVisible()&&(a(g,CKEDITOR.LINEUTILS_BEFORE,this.relations),c^=CKEDITOR.LINEUTILS_AFTER);c&CKEDITOR.LINEUTILS_INSIDE&&e(g=b.getFirst())&&g.isVisible()&&(a(g,CKEDITOR.LINEUTILS_BEFORE,this.relations),c^=CKEDITOR.LINEUTILS_INSIDE);a(b,c,this.relations)}}(),traverseSearch:function(a){var b,c,g;do if(g=a.$["data-cke-expando"], +!(g&&g in this.relations)){if(a.equals(this.editable))break;if(e(a))for(b in this.lookups)(c=this.lookups[b](a))&&this.store(a,c)}while((!a||a.type!=CKEDITOR.NODE_ELEMENT||"true"!=a.getAttribute("contenteditable"))&&(a=a.getParent()))},pixelSearch:function(){function a(c,d,g,h,k){for(var l=0,m;k(g);){g+=h;if(25==++l)break;if(m=this.doc.$.elementFromPoint(d,g))if(m==c)l=0;else if(b(c,m)&&(l=0,e(m=new CKEDITOR.dom.element(m))))return m}}var b=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,b){return a.contains(b)}: +function(a,b){return!!(a.compareDocumentPosition(b)&16)};return function(b,f,g){var h=this.win.getViewPaneSize().height,k=a.call(this,b.$,f,g,-1,function(a){return 0this.rect.bottom)return!1;this.inline? g.left=c.elementRect.left-this.rect.relativeX:(0[^<]*[^<]*e});0>f&&(f=a._.upcasts.length);a._.upcasts.splice(f, +e.removeListener()})});else d()},null,null,999),f.edit(),e.removeListener()):d()}},allowedContent:b.allowedContent,requiredContent:b.requiredContent,contentForms:b.contentForms,contentTransformations:b.contentTransformations})}function a(a,b){function c(a,d){var e=b.upcast.split(","),f,g;for(g=0;ge});0>f&&(f=a._.upcasts.length);a._.upcasts.splice(f, 0,[CKEDITOR.tools.bind(b,c),c.name,e])}var e=b.upcast,f=b.upcastPriority||10;e&&("string"==typeof e?d(c,b,f):d(e,b,f))}function m(a,b){a.focused=null;if(b.isInited()){var c=b.editor.checkDirty();a.fire("widgetBlurred",{widget:b});b.setFocused(!1);!c&&b.editor.resetDirty()}}function k(a){a=a.data;if("wysiwyg"==this.editor.mode){var b=this.editor.editable(),c=this.instances,d,e,f,g;if(b){for(d in c)c[d].isReady()&&!b.contains(c[d].wrapper)&&this.destroy(c[d],!0);if(a&&a.initOnlyNew)c=this.initOnAll(); -else{var k=b.find(".cke_widget_wrapper"),c=[];d=0;for(e=k.count();da.selected.length||M(c,"cut"===d.name)}var c=a.editor;c.on("contentDom",function(){var a=c.editable();a.attachListener(a, -"copy",b);a.attachListener(a,"cut",b)})}function B(a){function b(){a.fire("checkSelection")}var c=a.editor;c.on("selectionCheck",b);c.on("contentDom",function(){c.editable().attachListener(c,"key",function(){setTimeout(b,10)})});a.on("checkSelection",a.checkSelection,a);c.on("selectionChange",function(b){var d=(b=h.getNestedEditable(c.editable(),b.data.selection.getStartElement()))&&a.getByElement(b),e=a.widgetHoldingFocusedEditable;e?e===d&&e.focusedEditable.equals(b)||(u(a,e,null),d&&b&&u(a,d,b)): -d&&b&&u(a,d,b)});c.on("dataReady",function(){E(a).commit()});c.on("blur",function(){var b;(b=a.focused)&&m(a,b);(b=a.widgetHoldingFocusedEditable)&&u(a,b,null)})}function C(a){var b=a.editor,c={};b.on("toDataFormat",function(b){var f=CKEDITOR.tools.getNextNumber(),g=[];b.data.downcastingSessionId=f;c[f]=g;b.data.dataValue.forEach(function(b){var c=b.attributes,f;if("data-cke-widget-white-space"in c){f=d(b);var k=e(b);f.parent.attributes["data-cke-white-space-first"]&&(f.value=f.value.replace(/^ /g, -" "));k.parent.attributes["data-cke-white-space-last"]&&(k.value=k.value.replace(/ $/g," "))}if("data-cke-widget-id"in c){if(c=a.instances[c["data-cke-widget-id"]])f=b.getFirst(h.isParserWidgetElement),g.push({wrapper:b,element:f,widget:c,editables:{}}),"1"!=f.attributes["data-cke-widget-keep-attr"]&&delete f.attributes["data-widget"]}else if("data-cke-widget-editable"in c)return 0CKEDITOR.tools.indexOf(b,a)&&c.push(a);a=CKEDITOR.tools.indexOf(d,a);0<=a&&d.splice(a,1);return this},focus:function(a){e=a;return this}, -commit:function(){var f=a.focused!==e,g,h;a.editor.fire("lockSnapshot");for(f&&(g=a.focused)&&m(a,g);g=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,g),1),g.isInited()&&(h=g.editor.checkDirty(),g.setSelected(!1),!h&&g.editor.resetDirty());f&&e&&(h=a.editor.checkDirty(),a.focused=e,a.fire("widgetFocused",{widget:e}),e.setFocused(!0),!h&&a.editor.resetDirty());for(;g=c.pop();)b.push(g),g.setSelected(!0);a.editor.fire("unlockSnapshot")}}}function J(a){a&&a.addFilterRule(function(a){return a.replace(/\s*cke_widget_selected/g, -"").replace(/\s*cke_widget_focused/g,"").replace(/]*cke_widget_drag_handler_container[^>]*.*?<\/span>/gmi,"")})}function H(a,b,c){var d=0;b=I(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]&&(delete e[f],d=1);d&&a.setData("classes",e)}}function D(a){a.cancel()}function M(a,b){function c(){var b=a.getSelectedHtml(!0);if(a.widgets.focused)return a.widgets.focused.getClipboardHtml();a.once("toDataFormat",function(a){a.data.widgetsCopy=!0}, -null,null,-1);return a.dataProcessor.toDataFormat(b)}var d=a.widgets.focused,e,f,g;T.hasCopyBin(a)||(f=new T(a,{beforeDestroy:function(){!b&&d&&d.focus();g&&a.getSelection().selectBookmarks(g);e&&CKEDITOR.plugins.widgetselection.addFillers(a.editable())},afterDestroy:function(){b&&!a.readOnly&&(d?a.widgets.del(d):a.extractSelectedHtml(),a.fire("saveSnapshot"))}}),d||(e=CKEDITOR.env.webkit&&CKEDITOR.plugins.widgetselection.isWholeContentSelected(a.editable()),g=a.getSelection().createBookmarks(!0)), -f.handle(c()))}function I(a){return(a=(a=a.getDefinition().attributes)&&a["class"])?a.split(/\s+/):null}function K(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&&b.focusManager.focus(c)}function F(){CKEDITOR.env.gecko&&this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(),this.editor.selectionChange(1))}function R(a,b){S(a);N(a);Y(a);U(a);O(a);aa(a);ba(a);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)a.wrapper.on("dragstart", -function(b){var c=b.data.getTarget();h.getNestedEditable(a,c)||a.inline&&h.isDomDragHandler(c)||b.data.preventDefault()});a.wrapper.removeClass("cke_widget_new");a.element.addClass("cke_widget_element");a.on("key",function(b){b=b.data.keyCode;if(13==b)a.edit();else{if(b==CKEDITOR.CTRL+67||b==CKEDITOR.CTRL+88){M(a.editor,b==CKEDITOR.CTRL+88);return}if(b in Q||CKEDITOR.CTRL&b||CKEDITOR.ALT&b)return}return!1},null,null,999);a.on("doubleclick",function(b){a.edit()&&b.cancel()});if(b.data)a.on("data", -b.data);if(b.edit)a.on("edit",b.edit)}function S(a){(a.wrapper=a.element.getParent()).setAttribute("data-cke-widget-id",a.id)}function N(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 Y(a){var b=a.editables,c,d;a.editables={};if(a.editables)for(c in b)d=b[c],a.initEditable(c,"string"==typeof d?{selector:d}:d)}function U(a){if(!0===a.mask)Z(a);else if(a.mask){var b=new CKEDITOR.tools.buffers.throttle(250,ga,a),c=CKEDITOR.env.gecko?300:0,d,e; -a.on("focus",function(){b.input();d=a.editor.on("change",b.input);e=a.on("blur",function(){d.removeListener();e.removeListener()})});a.editor.on("instanceReady",function(){setTimeout(function(){b.input()},c)});a.editor.on("mode",function(){setTimeout(function(){b.input()},c)});if(CKEDITOR.env.gecko){var f=a.element.find("img");CKEDITOR.tools.array.forEach(f.toArray(),function(a){a.on("load",function(){b.input()})})}for(var g in a.editables)a.editables[g].on("focus",function(){a.editor.on("change", -b.input);e&&e.removeListener()}),a.editables[g].on("blur",function(){a.editor.removeListener("change",b.input)});b.input()}}function Z(a){var b=a.wrapper.findOne(".cke_widget_mask");b||(b=new CKEDITOR.dom.element("img",a.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_mask"}),a.wrapper.append(b));a.mask=b}function ga(){if(this.wrapper){this.maskPart=this.maskPart||this.mask;var a=this.parts[this.maskPart],b;if(a){b=this.wrapper.findOne(".cke_widget_partial_mask"); -b||(b=new CKEDITOR.dom.element("img",this.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_partial_mask"}),this.wrapper.append(b));this.mask=b;var c=b.$,d=a.$,e=!(c.offsetTop==d.offsetTop&&c.offsetLeft==d.offsetLeft);if(c.offsetWidth!=d.offsetWidth||c.offsetHeight!=d.offsetHeight||e)c=a.getParent(),d=CKEDITOR.plugins.widget.isDomWidget(c),b.setStyles({top:a.$.offsetTop+(d?0:c.$.offsetTop)+"px",left:a.$.offsetLeft+(d?0:c.$.offsetLeft)+"px",width:a.$.offsetWidth+ -"px",height:a.$.offsetHeight+"px"})}}}function O(a){if(a.draggable){var b=a.editor,c=a.wrapper.getLast(h.isDomDragHandlerContainer),d;c?d=c.findOne("img"):(c=new CKEDITOR.dom.element("span",b.document),c.setAttributes({"class":"cke_reset cke_widget_drag_handler_container",style:"background:rgba(220,220,220,0.5);background-image:url("+b.plugins.widget.path+"images/handle.png);display:none;"}),d=new CKEDITOR.dom.element("img",b.document),d.setAttributes({"class":"cke_reset cke_widget_drag_handler", -"data-cke-widget-drag-handler":"1",src:CKEDITOR.tools.transparentImageData,width:15,title:b.lang.widget.move,height:15,role:"presentation"}),a.inline&&d.setAttribute("draggable","true"),c.append(d),a.wrapper.append(c));a.wrapper.on("dragover",function(a){a.data.preventDefault()});a.wrapper.on("mouseenter",a.updateDragHandlerPosition,a);setTimeout(function(){a.on("data",a.updateDragHandlerPosition,a)},50);if(!a.inline&&(d.on("mousedown",V,a),CKEDITOR.env.ie&&9>CKEDITOR.env.version))d.on("dragstart", -function(a){a.data.preventDefault(!0)});a.dragHandlerContainer=c}}function V(a){function b(){var c;for(p.reset();c=h.pop();)c.removeListener();var d=k;c=a.sender;var e=this.repository.finder,f=this.repository.liner,g=this.editor,l=this.editor.editable();CKEDITOR.tools.isEmpty(f.visible)||(d=e.getRange(d[0]),this.focus(),g.fire("drop",{dropRange:d,target:d.startContainer}));l.removeClass("cke_widget_dragging");f.hideVisible();g.fire("dragend",{target:c})}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,g=f.editable(),h=[],k=[],l,m;this.repository._.draggedWidget=this;var n=c.greedySearch(),p=CKEDITOR.tools.eventsBuffer(50,function(){l=d.locate(n);k=d.sort(m,1);k.length&&(e.prepare(n,l),e.placeLine(k[0]),e.cleanup())});g.addClass("cke_widget_dragging");h.push(g.on("mousemove",function(a){m=a.data.$.clientY;p.input()}));f.fire("dragstart",{target:a.sender});h.push(f.document.once("mouseup",b,this));g.isInline()|| -h.push(CKEDITOR.document.once("mouseup",b,this))}}function aa(a){var b=null;a.on("data",function(){var a=this.data.classes,c;if(b!=a){for(c in b)a&&a[c]||this.removeClass(c);for(c in a)this.addClass(c);b=a}})}function ba(a){a.on("data",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("role","region");a.wrapper.setAttribute("aria-label",b)}},null,null,9999)}function W(a){a.element.data("cke-widget-data", -encodeURIComponent(JSON.stringify(a.data)))}function da(){function a(){}function b(a,c,d){return d&&this.checkElement(a)?(a=d.widgets.getByElement(a,!0))&&a.checkStyleActive(this):!1}function c(a){function b(a,c,d){for(var e=a.length,f=0;fa.selected.length||M(c,"cut"===d.name)}var c=a.editor;c.on("contentDom",function(){var a=c.editable(); +a.attachListener(a,"copy",b);a.attachListener(a,"cut",b)})}function B(a){function b(){var a=e.getSelection();if((a=(a&&a.getRanges())[0])&&!a.collapsed){var d=c(a.startContainer),f=c(a.endContainer);!d&&f?(a.setEndBefore(f.wrapper),a.select()):d&&!f&&(a.setStartAfter(d.wrapper),a.select())}}function c(a){return a?a.type==CKEDITOR.NODE_TEXT?c(a.getParent()):e.widgets.getByElement(a):null}function d(){a.fire("checkSelection")}var e=a.editor;e.on("selectionCheck",d);e.on("contentDom",function(){e.editable().attachListener(e, +"key",function(){setTimeout(d,10)})});if(!CKEDITOR.env.ie)a.on("checkSelection",b);a.on("checkSelection",a.checkSelection,a);e.on("selectionChange",function(b){var c=(b=h.getNestedEditable(e.editable(),b.data.selection.getStartElement()))&&a.getByElement(b),d=a.widgetHoldingFocusedEditable;d?d===c&&d.focusedEditable.equals(b)||(v(a,d,null),c&&b&&v(a,c,b)):c&&b&&v(a,c,b)});e.on("dataReady",function(){G(a).commit()});e.on("blur",function(){var b;(b=a.focused)&&m(a,b);(b=a.widgetHoldingFocusedEditable)&& +v(a,b,null)})}function C(a){var b=a.editor,c={};b.on("toDataFormat",function(b){var e=CKEDITOR.tools.getNextNumber(),g=[];b.data.downcastingSessionId=e;c[e]=g;b.data.dataValue.forEach(function(b){var c=b.attributes,e;if("data-cke-widget-white-space"in c){e=d(b);var k=f(b);e.parent.attributes["data-cke-white-space-first"]&&(e.value=e.value.replace(/^ /g," "));k.parent.attributes["data-cke-white-space-last"]&&(k.value=k.value.replace(/ $/g," "))}if("data-cke-widget-id"in c){if(c=a.instances[c["data-cke-widget-id"]])e= +b.getFirst(h.isParserWidgetElement),g.push({wrapper:b,element:e,widget:c,editables:{}}),"1"!=e.attributes["data-cke-widget-keep-attr"]&&delete e.attributes["data-widget"]}else if("data-cke-widget-editable"in c)return 0CKEDITOR.tools.indexOf(b,a)&&c.push(a);a=CKEDITOR.tools.indexOf(d,a);0<=a&&d.splice(a,1);return this},focus:function(a){e=a;return this},commit:function(){var f=a.focused!==e,g,h;a.editor.fire("lockSnapshot");for(f&&(g=a.focused)&&m(a,g);g=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,g),1),g.isInited()&&(h=g.editor.checkDirty(), +g.setSelected(!1),!h&&g.editor.resetDirty());f&&e&&(h=a.editor.checkDirty(),a.focused=e,a.fire("widgetFocused",{widget:e}),e.setFocused(!0),!h&&a.editor.resetDirty());for(;g=c.pop();)b.push(g),g.setSelected(!0);a.editor.fire("unlockSnapshot")}}}function I(a){a&&a.addFilterRule(function(a){return a.replace(/\s*cke_widget_selected/g,"").replace(/\s*cke_widget_focused/g,"").replace(/]*cke_widget_drag_handler_container[^>]*.*?<\/span>/gmi,"")})}function H(a,b,c){var d=0;b=J(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]&&(delete e[f],d=1);d&&a.setData("classes",e)}}function D(a){a.cancel()}function M(a,b){var c=a.widgets.focused,d,e,f;S.hasCopyBin(a)||(e=new S(a,{beforeDestroy:function(){!b&&c&&c.focus();f&&a.getSelection().selectBookmarks(f);d&&CKEDITOR.plugins.widgetselection.addFillers(a.editable())},afterDestroy:function(){b&&!a.readOnly&&(c?a.widgets.del(c):a.extractSelectedHtml(),a.fire("saveSnapshot"))}}),c||(d=CKEDITOR.env.webkit&& +CKEDITOR.plugins.widgetselection.isWholeContentSelected(a.editable()),f=a.getSelection().createBookmarks(!0)),e.handle(R(a)))}function J(a){return(a=(a=a.getDefinition().attributes)&&a["class"])?a.split(/\s+/):null}function K(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&&b.focusManager.focus(c)}function E(){CKEDITOR.env.gecko&&this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(), +this.editor.selectionChange(1))}function R(a){var b=a.getSelectedHtml(!0);if(a.widgets.focused)return a.widgets.focused.getClipboardHtml();a.once("toDataFormat",function(a){a.data.widgetsCopy=!0},null,null,-1);return a.dataProcessor.toDataFormat(b)}function P(a,b){N(a);X(a);U(a);Y(a);V(a);ba(a);W(a);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)a.wrapper.on("dragstart",function(b){var c=b.data.getTarget();h.getNestedEditable(a,c)||a.inline&&h.isDomDragHandler(c)||b.data.preventDefault()});a.wrapper.removeClass("cke_widget_new"); +a.element.addClass("cke_widget_element");a.on("key",function(b){b=b.data.keyCode;if(13==b)a.edit();else{if(b==CKEDITOR.CTRL+67||b==CKEDITOR.CTRL+88){M(a.editor,b==CKEDITOR.CTRL+88);return}if(b in T||CKEDITOR.CTRL&b||CKEDITOR.ALT&b)return}return!1},null,null,999);a.on("doubleclick",function(b){a.edit()&&b.cancel()});if(b.data)a.on("data",b.data);if(b.edit)a.on("edit",b.edit)}function N(a){(a.wrapper=a.element.getParent()).setAttribute("data-cke-widget-id",a.id)}function X(a,b){a.partSelectors||(a.partSelectors= +a.parts);if(a.parts){var c={},d,e;for(e in a.partSelectors)b||!a.parts[e]||"string"==typeof a.parts[e]?(d=a.wrapper.findOne(a.partSelectors[e]),c[e]=d):c[e]=a.parts[e];a.parts=c}}function U(a){var b=a.editables,c,d;a.editables={};if(a.editables)for(c in b)d=b[c],a.initEditable(c,"string"==typeof d?{selector:d}:d)}function Y(a){if(!0===a.mask)ha(a);else if(a.mask){var b=new CKEDITOR.tools.buffers.throttle(250,O,a),c=CKEDITOR.env.gecko?300:0,d,e;a.on("focus",function(){b.input();d=a.editor.on("change", +b.input);e=a.on("blur",function(){d.removeListener();e.removeListener()})});a.editor.on("instanceReady",function(){setTimeout(function(){b.input()},c)});a.editor.on("mode",function(){setTimeout(function(){b.input()},c)});if(CKEDITOR.env.gecko){var f=a.element.find("img");CKEDITOR.tools.array.forEach(f.toArray(),function(a){a.on("load",function(){b.input()})})}for(var g in a.editables)a.editables[g].on("focus",function(){a.editor.on("change",b.input);e&&e.removeListener()}),a.editables[g].on("blur", +function(){a.editor.removeListener("change",b.input)});b.input()}}function ha(a){var b=a.wrapper.findOne(".cke_widget_mask");b||(b=new CKEDITOR.dom.element("img",a.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_mask"}),a.wrapper.append(b));a.mask=b}function O(){if(this.wrapper){this.maskPart=this.maskPart||this.mask;var a=this.parts[this.maskPart],b;if(a&&"string"!=typeof a){b=this.wrapper.findOne(".cke_widget_partial_mask");b||(b=new CKEDITOR.dom.element("img", +this.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_partial_mask"}),this.wrapper.append(b));this.mask=b;var c=b.$,d=a.$,e=!(c.offsetTop==d.offsetTop&&c.offsetLeft==d.offsetLeft);if(c.offsetWidth!=d.offsetWidth||c.offsetHeight!=d.offsetHeight||e)c=a.getParent(),d=CKEDITOR.plugins.widget.isDomWidget(c),b.setStyles({top:a.$.offsetTop+(d?0:c.$.offsetTop)+"px",left:a.$.offsetLeft+(d?0:c.$.offsetLeft)+"px",width:a.$.offsetWidth+"px",height:a.$.offsetHeight+ +"px"})}}}function V(a){if(a.draggable){var b=a.editor,c=a.wrapper.getLast(h.isDomDragHandlerContainer),d;c?d=c.findOne("img"):(c=new CKEDITOR.dom.element("span",b.document),c.setAttributes({"class":"cke_reset cke_widget_drag_handler_container",style:"background:rgba(220,220,220,0.5);background-image:url("+b.plugins.widget.path+"images/handle.png);display:none;"}),d=new CKEDITOR.dom.element("img",b.document),d.setAttributes({"class":"cke_reset cke_widget_drag_handler","data-cke-widget-drag-handler":"1", +src:CKEDITOR.tools.transparentImageData,width:15,title:b.lang.widget.move,height:15,role:"presentation"}),a.inline&&d.setAttribute("draggable","true"),c.append(d),a.wrapper.append(c));a.wrapper.on("dragover",function(a){a.data.preventDefault()});a.wrapper.on("mouseenter",a.updateDragHandlerPosition,a);setTimeout(function(){a.on("data",a.updateDragHandlerPosition,a)},50);if(!a.inline&&(d.on("mousedown",aa,a),CKEDITOR.env.ie&&9>CKEDITOR.env.version))d.on("dragstart",function(a){a.data.preventDefault(!0)}); +a.dragHandlerContainer=c}}function aa(a){function b(){var c;for(p.reset();c=h.pop();)c.removeListener();var d=k;c=a.sender;var e=this.repository.finder,f=this.repository.liner,g=this.editor,l=this.editor.editable();CKEDITOR.tools.isEmpty(f.visible)||(d=e.getRange(d[0]),this.focus(),g.fire("drop",{dropRange:d,target:d.startContainer}));l.removeClass("cke_widget_dragging");f.hideVisible();g.fire("dragend",{target:c})}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,g=f.editable(),h=[],k=[],l,m;this.repository._.draggedWidget=this;var n=c.greedySearch(),p=CKEDITOR.tools.eventsBuffer(50,function(){l=d.locate(n);k=d.sort(m,1);k.length&&(e.prepare(n,l),e.placeLine(k[0]),e.cleanup())});g.addClass("cke_widget_dragging");h.push(g.on("mousemove",function(a){m=a.data.$.clientY;p.input()}));f.fire("dragstart",{target:a.sender});h.push(f.document.once("mouseup",b,this));g.isInline()||h.push(CKEDITOR.document.once("mouseup", +b,this))}}function ba(a){var b=null;a.on("data",function(){var a=this.data.classes,c;if(b!=a){for(c in b)a&&a[c]||this.removeClass(c);for(c in a)this.addClass(c);b=a}})}function W(a){a.on("data",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("role","region");a.wrapper.setAttribute("aria-label",b)}},null,null,9999)}function da(a){a.element.data("cke-widget-data",encodeURIComponent(JSON.stringify(a.data)))} +function Z(){function a(){}function b(a,c,d){return d&&this.checkElement(a)?(a=d.widgets.getByElement(a,!0))&&a.checkStyleActive(this):!1}function c(a){function b(a,c,d){for(var e=a.length,f=0;f)?(?:<(?:div|span)(?: style="[^"]+")?>)?]*data-cke-copybin-start="1"[^>]*>.?<\/span>([\s\S]+)]*data-cke-copybin-end="1"[^>]*>.?<\/span>(?:<\/(?:div|span)>)?(?:<\/(?:div|span)>)?$/i,Q={37:1,38:1,39:1,40:1,8:1,46:1};Q[CKEDITOR.SHIFT+121]=1; -var T=CKEDITOR.tools.createClass({$:function(a,b){this._.createCopyBin(a,b);this._.createListeners(b)},_:{createCopyBin:function(a){var b=a.document,c=CKEDITOR.env.edge&&16<=CKEDITOR.env.version,d=!a.blockless&&!CKEDITOR.env.ie||c?"div":"span",c=b.createElement(d),b=b.createElement(d);b.setAttributes({id:"cke_copybin","data-cke-temp":"1"});c.setStyles({position:"absolute",width:"1px",height:"1px",overflow:"hidden"});c.setStyle("ltr"==a.config.contentsLangDirection?"left":"right","-5000px");this.editor= -a;this.copyBin=c;this.container=b},createListeners:function(a){a&&(a.beforeDestroy&&(this.beforeDestroy=a.beforeDestroy),a.afterDestroy&&(this.afterDestroy=a.afterDestroy))}},proto:{handle:function(a){var b=this.copyBin,c=this.editor,d=this.container,e=CKEDITOR.env.ie&&9>CKEDITOR.env.version,f=c.document.getDocumentElement().$,g=c.createRange(),h=this,k=CKEDITOR.env.mac&&CKEDITOR.env.webkit,l=k?100:0,m=window.requestAnimationFrame&&!k?requestAnimationFrame:setTimeout,n,p,q;b.setHtml('\x3cspan data-cke-copybin-start\x3d"1"\x3e​\x3c/span\x3e'+ -a+'\x3cspan data-cke-copybin-end\x3d"1"\x3e​\x3c/span\x3e');c.fire("lockSnapshot");d.append(b);c.editable().append(d);n=c.on("selectionChange",D,null,null,0);p=c.widgets.on("checkSelection",D,null,null,0);e&&(q=f.scrollTop);g.selectNodeContents(b);g.select();e&&(f.scrollTop=q);return new CKEDITOR.tools.promise(function(a){m(function(){h.beforeDestroy&&h.beforeDestroy();d.remove();n.removeListener();p.removeListener();c.fire("unlockSnapshot");h.afterDestroy&&h.afterDestroy();a()},l)})}},statics:{hasCopyBin:function(a){return!!T.getCopyBin(a)}, -getCopyBin:function(a){return a.document.getById("cke_copybin")}}});CKEDITOR.plugins.widget=h;h.repository=b;h.nestedEditable=f})();(function(){function b(b,a,g){this.editor=b;this.notification=null;this._message=new CKEDITOR.template(a);this._singularMessage=g?new CKEDITOR.template(g):null;this._tasks=[];this._doneTasks=this._doneWeights=this._totalWeights=0}function h(b){this._weight=b||1;this._doneWeight=0;this._isCanceled=!1}CKEDITOR.plugins.add("notificationaggregator",{requires:"notification"}); -b.prototype={createTask:function(b){b=b||{};var a=!this.notification,g;a&&(this.notification=this._createNotification());g=this._addTask(b);g.on("updated",this._onTaskUpdate,this);g.on("done",this._onTaskDone,this);g.on("canceled",function(){this._removeTask(g)},this);this.update();a&&this.notification.show();return g},update:function(){this._updateNotification();this.isFinished()&&this.fire("finished")},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 b=this.getTaskCount(),a={current:this.getDoneTaskCount(),max:b,percentage:Math.round(100*this.getPercentage())};return(1==b&&this._singularMessage?this._singularMessage: -this._message).output(a)},_createNotification:function(){return new CKEDITOR.plugins.notification(this.editor,{type:"progress"})},_addTask:function(b){b=new h(b.weight);this._tasks.push(b);this._totalWeights+=b._weight;return b},_removeTask:function(b){var a=CKEDITOR.tools.indexOf(this._tasks,b);-1!==a&&(b._doneWeight&&(this._doneWeights-=b._doneWeight),this._totalWeights-=b._weight,this._tasks.splice(a,1),this.update())},_onTaskUpdate:function(b){this._doneWeights+=b.data;this.update()},_onTaskDone:function(){this._doneTasks+= -1;this.update()}};CKEDITOR.event.implementOn(b.prototype);h.prototype={done:function(){this.update(this._weight)},update:function(b){if(!this.isDone()&&!this.isCanceled()){b=Math.min(this._weight,b);var a=b-this._doneWeight;this._doneWeight=b;this.fire("updated",a);this.isDone()&&this.fire("done")}},cancel:function(){this.isDone()||this.isCanceled()||(this._isCanceled=!0,this.fire("canceled"))},isDone:function(){return this._weight===this._doneWeight},isCanceled:function(){return this._isCanceled}}; -CKEDITOR.event.implementOn(h.prototype);CKEDITOR.plugins.notificationAggregator=b;CKEDITOR.plugins.notificationAggregator.task=h})();"use strict";(function(){CKEDITOR.plugins.add("uploadwidget",{requires:"widget,clipboard,filetools,notificationaggregator",init:function(b){b.filter.allow("*[!data-widget,!data-cke-upload-id]")},isSupportedEnvironment:function(){return CKEDITOR.plugins.clipboard.isFileApiSupported}});CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools, -{addUploadWidget:function(b,h,f){var a=CKEDITOR.fileTools,g=b.uploadRepository,m=f.supportedTypes?10:20;if(f.fileToElement)b.on("paste",function(f){f=f.data;var l=b.widgets.registered[h],d=f.dataTransfer,e=d.getFilesCount(),c=l.loadMethod||"loadAndUpload",m,r;if(!f.dataValue&&e)for(r=0;r=a&&(a="0"+a);return String(a)} -function h(a){var g=new Date,g=[g.getFullYear(),g.getMonth()+1,g.getDate(),g.getHours(),g.getMinutes(),g.getSeconds()];f+=1;return"image-"+CKEDITOR.tools.array.map(g,b).join("")+"-"+f+"."+a}var f=0;CKEDITOR.plugins.add("uploadimage",{requires:"uploadwidget",onLoad:function(){CKEDITOR.addCss(".cke_upload_uploading img{opacity: 0.3}")},isSupportedEnvironment:function(){return CKEDITOR.plugins.clipboard.isFileApiSupported},init:function(a){if(this.isSupportedEnvironment()){var b=CKEDITOR.fileTools,f= -b.getUploadUrl(a.config,"image");f&&(b.addUploadWidget(a,"uploadimage",{supportedTypes:/image\/(jpeg|png|gif|bmp)/,uploadUrl:f,fileToElement:function(){var a=new CKEDITOR.dom.element("img");a.setAttribute("src","data:image/gif;base64,R0lGODlhDgAOAIAAAAAAAP///yH5BAAAAAAALAAAAAAOAA4AAAIMhI+py+0Po5y02qsKADs\x3d");return a},parts:{img:"img"},onUploading:function(a){this.parts.img.setAttribute("src",a.data)},onUploaded:function(a){var b=this.parts.img.$;this.replaceWith('\x3cimg src\x3d"'+a.url+'" width\x3d"'+ -(a.responseData.width||b.naturalWidth)+'" height\x3d"'+(a.responseData.height||b.naturalHeight)+'"\x3e')}}),a.on("paste",function(k){if(k.data.dataValue.match(/CKEDITOR.env.version&&f.enterMode!=CKEDITOR.ENTER_DIV&&b("div");if(CKEDITOR.env.webkit||CKEDITOR.env.ie&&10this.$.offsetHeight){var c=f.createRange();c[33==b?"moveToElementEditStart":"moveToElementEditEnd"](this);c.select(); -a.data.preventDefault()}});CKEDITOR.env.ie&&this.attachListener(l,"blur",function(){try{l.$.selection.empty()}catch(a){}});CKEDITOR.env.iOS&&this.attachListener(l,"touchend",function(){a.focus()});d=f.document.getElementsByTag("title").getItem(0);d.data("cke-title",d.getText());CKEDITOR.env.ie&&(f.document.$.title=this._.docTitle);CKEDITOR.tools.setTimeout(function(){"unloaded"==this.status&&(this.status="ready");f.fire("contentDom");this._.isPendingFocus&&(f.focus(),this._.isPendingFocus=!1);setTimeout(function(){f.fire("dataReady")}, -0)},0,this)}}function h(a){function b(){var d;a.editable().attachListener(a,"selectionChange",function(){var b=a.getSelection().getSelectedElement();b&&(d&&(d.detachEvent("onresizestart",f),d=null),b.$.attachEvent("onresizestart",f),d=b.$)})}function f(a){a.returnValue=!1}if(CKEDITOR.env.gecko)try{var h=a.document.$;h.execCommand("enableObjectResizing",!1,!a.config.disableObjectResizing);h.execCommand("enableInlineTableEditing",!1,!a.config.disableNativeTableHandles)}catch(d){}else CKEDITOR.env.ie&& -11>CKEDITOR.env.version&&a.config.disableObjectResizing&&b(a)}function f(){var a=[];if(8<=CKEDITOR.document.$.documentMode){a.push("html.CSS1Compat [contenteditable\x3dfalse]{min-height:0 !important}");var b=[],f;for(f in CKEDITOR.dtd.$removeEmpty)b.push("html.CSS1Compat "+f+"[contenteditable\x3dfalse]");a.push(b.join(",")+"{display:inline-block}")}else CKEDITOR.env.gecko&&(a.push("html{height:100% !important}"),a.push("img:-moz-broken{-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")); -a.push("html{cursor:text;*cursor:auto}");a.push("img,input,textarea{cursor:default}");return a.join("\n")}var a;CKEDITOR.plugins.add("wysiwygarea",{init:function(b){b.config.fullPage&&b.addFeature({allowedContent:"html head title; style [media,type]; body (*)[id]; meta link [*]",requiredContent:"body"});b.addMode("wysiwyg",function(f){function h(c){c&&c.removeListener();b.isDestroyed()||b.isDetached()||(b.editable(new a(b,d.$.contentWindow.document.body)),b.setData(b.getData(1),f))}var l="document.open();"+ -(CKEDITOR.env.ie?"("+CKEDITOR.tools.fixDomain+")();":"")+"document.close();",l=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie&&!CKEDITOR.env.edge?"javascript:void(function(){"+encodeURIComponent(l)+"}())":"",d=CKEDITOR.dom.element.createFromHtml('\x3ciframe src\x3d"'+l+'" frameBorder\x3d"0"\x3e\x3c/iframe\x3e');d.setStyles({width:"100%",height:"100%"});d.addClass("cke_wysiwyg_frame").addClass("cke_reset");l=b.ui.space("contents");l.append(d);var e=CKEDITOR.env.ie&&!CKEDITOR.env.edge||CKEDITOR.env.gecko; -if(e)d.on("load",h);var c=b.title,n=b.fire("ariaEditorHelpLabel",{}).label;c&&(CKEDITOR.env.ie&&n&&(c+=", "+n),d.setAttribute("title",c));if(n){var c=CKEDITOR.tools.getNextId(),r=CKEDITOR.dom.element.createFromHtml('\x3cspan id\x3d"'+c+'" class\x3d"cke_voice_label"\x3e'+n+"\x3c/span\x3e");l.append(r,1);d.setAttribute("aria-describedby",c)}b.on("beforeModeUnload",function(a){a.removeListener();r&&r.remove()});d.setAttributes({tabIndex:b.tabIndex,allowTransparency:"true"});!e&&h();b.fire("ariaWidget", -d)})}});CKEDITOR.editor.prototype.addContentsCss=function(a){var b=this.config,f=b.contentsCss;CKEDITOR.tools.isArray(f)||(b.contentsCss=f?[f]:[]);b.contentsCss.push(a)};a=CKEDITOR.tools.createClass({$:function(){this.base.apply(this,arguments);this._.frameLoadedHandler=CKEDITOR.tools.addFunction(function(a){CKEDITOR.tools.setTimeout(b,0,this,a)},this);this._.docTitle=this.getWindow().getFrame().getAttribute("title")},base:CKEDITOR.editable,proto:{setData:function(a,b){var h=this.editor;if(b)this.setHtml(a), -this.fixInitialSelection(),h.fire("dataReady");else{this._.isLoadingData=!0;h._.dataStore={id:1};var l=h.config,d=l.fullPage,e=l.docType,c=CKEDITOR.tools.buildStyleHtml(f()).replace(/