raptor-editor-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +19 -5
- data/lib/raptor_editor_rails/version.rb +2 -2
- data/vendor/assets/javascripts/raptor.light.min.js +302 -304
- data/vendor/assets/javascripts/raptor.min.js +180 -182
- metadata +4 -4
data/README.md
CHANGED
@@ -3,21 +3,25 @@
|
|
3
3
|
The simplest way to get [Raptor Editor](http://www.raptor-editor.com/) onto the
|
4
4
|
Asset Pipeline in your Rails applications.
|
5
5
|
|
6
|
+
## Version
|
7
|
+
|
8
|
+
Version 0.1.1 contains Raptor Editor 0.0.9-beta.
|
9
|
+
|
6
10
|
## Requirements
|
7
11
|
|
8
12
|
* [jQuery](http://jquery.com/),
|
9
13
|
* [jQuery UI](http://jqueryui.com/),
|
10
14
|
* a jQuery UI theme.
|
15
|
+
* [Rangy](http://code.google.com/p/rangy/) - [see below](#usage)
|
11
16
|
|
12
17
|
## Usage
|
13
18
|
|
14
19
|
raptor-editor-rails provides two Raptor Editor packages:
|
15
20
|
|
16
|
-
* `raptor.min.js` is
|
17
|
-
* `raptor.light.min.js` is Raptor Editor and
|
18
|
-
[Rangy](http://code.google.com/p/rangy/).
|
21
|
+
* `raptor.min.js` is Raptor Editor on its own
|
22
|
+
* `raptor.light.min.js` is Raptor Editor and Rangy
|
19
23
|
|
20
|
-
If by some chance you are already using Rangy then use `raptor.min`.
|
24
|
+
If, by some chance, you are already using Rangy then use `raptor.min`.
|
21
25
|
Otherwise, use `raptor.light.min`.
|
22
26
|
|
23
27
|
Add raptor-editor-rails to your `Gemfile`:
|
@@ -41,6 +45,15 @@ and jQuery UI:
|
|
41
45
|
//= require raptor.light.min # or raptor.min.js if you already have Rangy
|
42
46
|
```
|
43
47
|
|
48
|
+
You can now make elements of your site editable using:
|
49
|
+
|
50
|
+
```js
|
51
|
+
$("#my_editable_element").editor();
|
52
|
+
```
|
53
|
+
|
54
|
+
See the [Raptor Editor documentation](http://www.raptor-editor.com/demo) for
|
55
|
+
more information.
|
56
|
+
|
44
57
|
## Bugs, Issues and Feature Requests
|
45
58
|
|
46
59
|
Please raise an issue on
|
@@ -64,4 +77,5 @@ Raptor Editor is [distributed under GPL](http://www.raptor-editor.com/license).
|
|
64
77
|
https://github.com/PANmedia/Raptor/tags,
|
65
78
|
2. Update `RAPTOR_EDITOR_VERSION` in `lib/raptor_editor_rails/version.rb` (don't
|
66
79
|
include the "v" in the tag name),
|
67
|
-
3. Run `rake fetch` to automatically download the correct files
|
80
|
+
3. Run `rake fetch` to automatically download the correct files,
|
81
|
+
4. Update README.md with the latest version number.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! VERSION: 0.0.
|
1
|
+
/*! VERSION: 0.0.9 *//*
|
2
2
|
Rangy, a cross-browser JavaScript range and selection library
|
3
3
|
http://code.google.com/p/rangy/
|
4
4
|
|
@@ -44,246 +44,248 @@
|
|
44
44
|
Version: 1.2.3
|
45
45
|
Build date: 26 February 2012
|
46
46
|
*/
|
47
|
-
window.rangy=function(){function
|
48
|
-
(
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
for(var c=0,b=
|
53
|
-
b
|
54
|
-
|
55
|
-
rangy.createModule("DomUtil",function(
|
56
|
-
if(typeof
|
57
|
-
var
|
58
|
-
|
59
|
-
null}};
|
60
|
-
|
61
|
-
if(typeof
|
62
|
-
throw Error("getIframeWindow: No Document object found for iframe element");},getBody:function(
|
63
|
-
for(
|
64
|
-
rangy.createModule("DomRange",function(
|
65
|
-
b
|
66
|
-
|
67
|
-
|
68
|
-
this.so=a.startOffset;this.ec=a.endContainer;this.eo=a.endOffset;var
|
69
|
-
this[a];this.codeName=a;this.message="RangeException: "+this.codeName}function
|
70
|
-
}function
|
71
|
-
(
|
72
|
-
G(a.prototype)}function
|
73
|
-
O(
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
a.endContainer)}function P(a,c,
|
79
|
-
_last:null,isSingleCharacterDataNode:!1,reset:function(){this._current=null;this._next=this._first},hasNext:function(){return!!this._next},next:function(){var a=this._current=this._next;a&&(this._next=a!==this._last?a.nextSibling:null,
|
80
|
-
(a===this.sc||a===this.ec)?(
|
81
|
-
this.ec,x=this.eo);P(c,d,e,
|
82
|
-
detach:function(){this._current=this._next=this.nodes=null}};var K=[1,3,4,5,7,8,10],M=[2,9,11],L=[1,3,4,5,7,8,10,11],x=[1,3,4,5,7,8],O=
|
83
|
-
|
84
|
-
var
|
85
|
-
this);
|
86
|
-
|
87
|
-
this.startOffset)?-1:0<
|
88
|
-
var
|
89
|
-
|
90
|
-
|
91
|
-
this.startOffset)&&
|
92
|
-
this.cloneRange();
|
93
|
-
equals:function(a){return
|
94
|
-
a.startOffset===
|
95
|
-
rangy.createModule("WrappedRange",function(
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
function(){this.nativeRange.deleteContents();
|
100
|
-
var
|
101
|
-
|
102
|
-
|
103
|
-
(
|
104
|
-
|
105
|
-
var
|
106
|
-
function(){return"WrappedRange"};
|
47
|
+
window.rangy=function(){function b(a,c){var b=typeof a[c];return b==q||!!(b==v&&a[c])||"unknown"==b}function r(a,c){return!!(typeof a[c]==v&&a[c])}function o(a,c){return typeof a[c]!=n}function u(a){return function(c,b){for(var d=b.length;d--;)if(!a(c,b[d]))return!1;return!0}}function s(c){return c&&h(c,p)&&a(c,g)}function t(a){window.alert("Rangy not supported in your browser. Reason: "+a);c.initialized=!0;c.supported=!1}function f(){if(!c.initialized){var l,i=!1,g=!1;b(document,"createRange")&&
|
48
|
+
(l=document.createRange(),h(l,m)&&a(l,j)&&(i=!0),l.detach());if((l=r(document,"body")?document.body:document.getElementsByTagName("body")[0])&&b(l,"createTextRange"))l=l.createTextRange(),s(l)&&(g=!0);!i&&!g&&t("Neither Range nor TextRange are implemented");c.initialized=!0;c.features={implementsDomRange:i,implementsTextRange:g};i=e.concat(d);g=0;for(l=i.length;g<l;++g)try{i[g](c)}catch(A){r(window,"console")&&b(window.console,"log")&&window.console.log("Init listener threw an exception. Continuing.",
|
49
|
+
A)}}}function w(a){this.name=a;this.supported=this.initialized=!1}var v="object",q="function",n="undefined",j="startContainer,startOffset,endContainer,endOffset,collapsed,commonAncestorContainer,START_TO_START,START_TO_END,END_TO_START,END_TO_END".split(","),m="setStart,setStartBefore,setStartAfter,setEnd,setEndBefore,setEndAfter,collapse,selectNode,selectNodeContents,compareBoundaryPoints,deleteContents,extractContents,cloneContents,insertNode,surroundContents,cloneRange,toString,detach".split(","),
|
50
|
+
g="boundingHeight,boundingLeft,boundingTop,boundingWidth,htmlText,text".split(","),p="collapse,compareEndPoints,duplicate,getBookmark,moveToBookmark,moveToElementText,parentElement,pasteHTML,select,setEndPoint,getBoundingClientRect".split(","),h=u(b),l=u(r),a=u(o),c={version:"1.2.3",initialized:!1,supported:!0,util:{isHostMethod:b,isHostObject:r,isHostProperty:o,areHostMethods:h,areHostObjects:l,areHostProperties:a,isTextRange:s},features:{},modules:{},config:{alertOnWarn:!1,preferTextRange:!1}};
|
51
|
+
c.fail=t;c.warn=function(a){a="Rangy warning: "+a;c.config.alertOnWarn?window.alert(a):typeof window.console!=n&&typeof window.console.log!=n&&window.console.log(a)};({}).hasOwnProperty?c.util.extend=function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])}:t("hasOwnProperty not supported");var d=[],e=[];c.init=f;c.addInitListener=function(a){c.initialized?a(c):d.push(a)};var i=[];c.addCreateMissingNativeApiListener=function(a){i.push(a)};c.createMissingNativeApi=function(a){a=a||window;f();
|
52
|
+
for(var c=0,b=i.length;c<b;++c)i[c](a)};w.prototype.fail=function(a){this.initialized=!0;this.supported=!1;throw Error("Module '"+this.name+"' failed to load: "+a);};w.prototype.warn=function(a){c.warn("Module "+this.name+": "+a)};w.prototype.createError=function(a){return Error("Error in Rangy "+this.name+" module: "+a)};c.createModule=function(a,b){var d=new w(a);c.modules[a]=d;e.push(function(a){b(a,d);d.initialized=!0;d.supported=!0})};c.requireModules=function(a){for(var b=0,d=a.length,e,l;b<
|
53
|
+
d;++b){l=a[b];e=c.modules[l];if(!e||!(e instanceof w))throw Error("Module '"+l+"' not found");if(!e.supported)throw Error("Module '"+l+"' not supported");}};var A=!1,l=function(){A||(A=!0,c.initialized||f())};if(typeof window==n)t("No window found");else if(typeof document==n)t("No document found");else return b(document,"addEventListener")&&document.addEventListener("DOMContentLoaded",l,!1),b(window,"addEventListener")?window.addEventListener("load",l,!1):b(window,"attachEvent")?window.attachEvent("onload",
|
54
|
+
l):t("Window does not have required addEventListener or attachEvent method"),c}();
|
55
|
+
rangy.createModule("DomUtil",function(b,r){function o(b){for(var a=0;b=b.previousSibling;)a++;return a}function u(b,a){var c=[],d;for(d=b;d;d=d.parentNode)c.push(d);for(d=a;d;d=d.parentNode)if(h(c,d))return d;return null}function s(b,a,c){for(c=c?b:b.parentNode;c;){b=c.parentNode;if(b===a)return c;c=b}return null}function t(b){b=b.nodeType;return 3==b||4==b||8==b}function f(b,a){var c=a.nextSibling,d=a.parentNode;c?d.insertBefore(b,c):d.appendChild(b);return b}function w(b){if(9==b.nodeType)return b;
|
56
|
+
if(typeof b.ownerDocument!=m)return b.ownerDocument;if(typeof b.document!=m)return b.document;if(b.parentNode)return w(b.parentNode);throw Error("getDocument: no document found for node");}function v(b){return!b?"[No node]":t(b)?'"'+b.data+'"':1==b.nodeType?"<"+b.nodeName+(b.id?' id="'+b.id+'"':"")+">["+b.childNodes.length+"]":b.nodeName}function q(b){this._next=this.root=b}function n(b,a){this.node=b;this.offset=a}function j(b){this.code=this[b];this.codeName=b;this.message="DOMException: "+this.codeName}
|
57
|
+
var m="undefined",g=b.util;g.areHostMethods(document,["createDocumentFragment","createElement","createTextNode"])||r.fail("document missing a Node creation method");g.isHostMethod(document,"getElementsByTagName")||r.fail("document missing getElementsByTagName method");var p=document.createElement("div");g.areHostMethods(p,["insertBefore","appendChild","cloneNode"])||r.fail("Incomplete Element implementation");g.isHostProperty(p,"innerHTML")||r.fail("Element is missing innerHTML property");p=document.createTextNode("test");
|
58
|
+
g.areHostMethods(p,["splitText","deleteData","insertData","appendData","cloneNode"])||r.fail("Incomplete Text Node implementation");var h=function(b,a){for(var c=b.length;c--;)if(b[c]===a)return!0;return!1};q.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){var b=this._current=this._next,a;if(this._current){a=b.firstChild;if(!a)for(a=null;b!==this.root&&!(a=b.nextSibling);)b=b.parentNode;this._next=a}return this._current},detach:function(){this._current=this._next=this.root=
|
59
|
+
null}};n.prototype={equals:function(b){return this.node===b.node&this.offset==b.offset},inspect:function(){return"[DomPosition("+v(this.node)+":"+this.offset+")]"}};j.prototype={INDEX_SIZE_ERR:1,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INVALID_STATE_ERR:11};j.prototype.toString=function(){return this.message};b.dom={arrayContains:h,isHtmlNamespace:function(b){var a;return typeof b.namespaceURI==m||null===(a=b.namespaceURI)||"http://www.w3.org/1999/xhtml"==
|
60
|
+
a},parentElement:function(b){b=b.parentNode;return 1==b.nodeType?b:null},getNodeIndex:o,getNodeLength:function(b){var a;return t(b)?b.length:(a=b.childNodes)?a.length:0},getCommonAncestor:u,isAncestorOf:function(b,a,c){for(a=c?a:a.parentNode;a;){if(a===b)return!0;a=a.parentNode}return!1},getClosestAncestorIn:s,isCharacterDataNode:t,insertAfter:f,splitDataNode:function(b,a){var c=b.cloneNode(!1);c.deleteData(0,a);b.deleteData(a,b.length-a);f(c,b);return c},getDocument:w,getWindow:function(b){b=w(b);
|
61
|
+
if(typeof b.defaultView!=m)return b.defaultView;if(typeof b.parentWindow!=m)return b.parentWindow;throw Error("Cannot get a window object for node");},getIframeWindow:function(b){if(typeof b.contentWindow!=m)return b.contentWindow;if(typeof b.contentDocument!=m)return b.contentDocument.defaultView;throw Error("getIframeWindow: No Window object found for iframe element");},getIframeDocument:function(b){if(typeof b.contentDocument!=m)return b.contentDocument;if(typeof b.contentWindow!=m)return b.contentWindow.document;
|
62
|
+
throw Error("getIframeWindow: No Document object found for iframe element");},getBody:function(b){return g.isHostObject(b,"body")?b.body:b.getElementsByTagName("body")[0]},getRootContainer:function(b){for(var a;a=b.parentNode;)b=a;return b},comparePoints:function(b,a,c,d){var e;if(b==c)return a===d?0:a<d?-1:1;if(e=s(c,b,!0))return a<=o(e)?-1:1;if(e=s(b,c,!0))return o(e)<d?-1:1;a=u(b,c);b=b===a?a:s(b,a,!0);c=c===a?a:s(c,a,!0);if(b===c)throw Error("comparePoints got to case 4 and childA and childB are the same!");
|
63
|
+
for(a=a.firstChild;a;){if(a===b)return-1;if(a===c)return 1;a=a.nextSibling}throw Error("Should not be here!");},inspectNode:v,fragmentFromNodeChildren:function(b){for(var a=w(b).createDocumentFragment(),c;c=b.firstChild;)a.appendChild(c);return a},createIterator:function(b){return new q(b)},DomPosition:n};b.DOMException=j});
|
64
|
+
rangy.createModule("DomRange",function(b){function r(a,b){return 3!=a.nodeType&&(k.isAncestorOf(a,b.startContainer,!0)||k.isAncestorOf(a,b.endContainer,!0))}function o(a){return k.getDocument(a.startContainer)}function u(a,b,c){if(b=a._listeners[b])for(var d=0,e=b.length;d<e;++d)b[d].call(a,{target:a,args:c})}function s(a){return new J(a.parentNode,k.getNodeIndex(a))}function t(a){return new J(a.parentNode,k.getNodeIndex(a)+1)}function f(a,b,c){var d=11==a.nodeType?a.firstChild:a;k.isCharacterDataNode(b)?
|
65
|
+
c==b.length?k.insertAfter(a,b):b.parentNode.insertBefore(a,0==c?b:k.splitDataNode(b,c)):c>=b.childNodes.length?b.appendChild(a):b.insertBefore(a,b.childNodes[c]);return d}function w(a){for(var b,c,d=o(a.range).createDocumentFragment();c=a.next();){b=a.isPartiallySelectedSubtree();c=c.cloneNode(!b);b&&(b=a.getSubtreeIterator(),c.appendChild(w(b)),b.detach(!0));if(10==c.nodeType)throw new C("HIERARCHY_REQUEST_ERR");d.appendChild(c)}return d}function v(a,b,c){for(var d,e,c=c||{stop:!1};d=a.next();)if(a.isPartiallySelectedSubtree())if(!1===
|
66
|
+
b(d)){c.stop=!0;break}else{if(d=a.getSubtreeIterator(),v(d,b,c),d.detach(!0),c.stop)break}else for(d=k.createIterator(d);e=d.next();)if(!1===b(e)){c.stop=!0;return}}function q(a){for(var b;a.next();)a.isPartiallySelectedSubtree()?(b=a.getSubtreeIterator(),q(b),b.detach(!0)):a.remove()}function n(a){for(var b,c=o(a.range).createDocumentFragment(),d;b=a.next();){a.isPartiallySelectedSubtree()?(b=b.cloneNode(!1),d=a.getSubtreeIterator(),b.appendChild(n(d)),d.detach(!0)):a.remove();if(10==b.nodeType)throw new C("HIERARCHY_REQUEST_ERR");
|
67
|
+
c.appendChild(b)}return c}function j(a,b,c){var d=!(!b||!b.length),e,x=!!c;d&&(e=RegExp("^("+b.join("|")+")$"));var i=[];v(new g(a,!1),function(a){(!d||e.test(a.nodeType))&&(!x||c(a))&&i.push(a)});return i}function m(a){return"["+("undefined"==typeof a.getName?"Range":a.getName())+"("+k.inspectNode(a.startContainer)+":"+a.startOffset+", "+k.inspectNode(a.endContainer)+":"+a.endOffset+")]"}function g(a,b){this.range=a;this.clonePartiallySelectedTextNodes=b;if(!a.collapsed){this.sc=a.startContainer;
|
68
|
+
this.so=a.startOffset;this.ec=a.endContainer;this.eo=a.endOffset;var c=a.commonAncestorContainer;this.sc===this.ec&&k.isCharacterDataNode(this.sc)?(this.isSingleCharacterDataNode=!0,this._first=this._last=this._next=this.sc):(this._first=this._next=this.sc===c&&!k.isCharacterDataNode(this.sc)?this.sc.childNodes[this.so]:k.getClosestAncestorIn(this.sc,c,!0),this._last=this.ec===c&&!k.isCharacterDataNode(this.ec)?this.ec.childNodes[this.eo-1]:k.getClosestAncestorIn(this.ec,c,!0))}}function p(a){this.code=
|
69
|
+
this[a];this.codeName=a;this.message="RangeException: "+this.codeName}function h(a,b,c){this.nodes=j(a,b,c);this._next=this.nodes[0];this._position=0}function l(a){return function(b,c){for(var d,e=c?b:b.parentNode;e;){d=e.nodeType;if(k.arrayContains(a,d))return e;e=e.parentNode}return null}}function a(a,b){if(aa(a,b))throw new p("INVALID_NODE_TYPE_ERR");}function c(a){if(!a.startContainer)throw new C("INVALID_STATE_ERR");}function d(a,b){if(!k.arrayContains(b,a.nodeType))throw new p("INVALID_NODE_TYPE_ERR");
|
70
|
+
}function e(a,b){if(0>b||b>(k.isCharacterDataNode(a)?a.length:a.childNodes.length))throw new C("INDEX_SIZE_ERR");}function i(a,b){if(Q(a,!0)!==Q(b,!0))throw new C("WRONG_DOCUMENT_ERR");}function A(a){if(ba(a,!0))throw new C("NO_MODIFICATION_ALLOWED_ERR");}function y(a,b){if(!a)throw new C(b);}function F(a){return!!a.startContainer&&!!a.endContainer&&!(!k.arrayContains(M,a.startContainer.nodeType)&&!Q(a.startContainer,!0))&&!(!k.arrayContains(M,a.endContainer.nodeType)&&!Q(a.endContainer,!0))&&a.startOffset<=
|
71
|
+
(k.isCharacterDataNode(a.startContainer)?a.startContainer.length:a.startContainer.childNodes.length)&&a.endOffset<=(k.isCharacterDataNode(a.endContainer)?a.endContainer.length:a.endContainer.childNodes.length)}function z(a){c(a);if(!F(a))throw Error("Range error: Range is no longer valid after DOM mutation ("+a.inspect()+")");}function I(){}function G(a){a.START_TO_START=R;a.START_TO_END=V;a.END_TO_END=ca;a.END_TO_START=W;a.NODE_BEFORE=X;a.NODE_AFTER=Y;a.NODE_BEFORE_AND_AFTER=Z;a.NODE_INSIDE=S}function D(a){G(a);
|
72
|
+
G(a.prototype)}function E(a,b){return function(){z(this);var c=this.startContainer,d=this.startOffset,e=this.commonAncestorContainer,x=new g(this,!0);c!==e&&(c=k.getClosestAncestorIn(c,e,!0),d=t(c),c=d.node,d=d.offset);v(x,A);x.reset();e=a(x);x.detach();b(this,c,d,c,d);return e}}function H(x,i,h){function H(a,b){return function(e){c(this);d(e,K);d(O(e),M);e=(a?s:t)(e);(b?l:f)(this,e.node,e.offset)}}function l(a,b,c){var d=a.endContainer,e=a.endOffset;if(b!==a.startContainer||c!==a.startOffset){if(O(b)!=
|
73
|
+
O(d)||1==k.comparePoints(b,c,d,e))d=b,e=c;i(a,b,c,d,e)}}function f(a,b,c){var d=a.startContainer,e=a.startOffset;if(b!==a.endContainer||c!==a.endOffset){if(O(b)!=O(d)||-1==k.comparePoints(b,c,d,e))d=b,e=c;i(a,d,e,b,c)}}x.prototype=new I;b.util.extend(x.prototype,{setStart:function(b,d){c(this);a(b,!0);e(b,d);l(this,b,d)},setEnd:function(b,d){c(this);a(b,!0);e(b,d);f(this,b,d)},setStartBefore:H(!0,!0),setStartAfter:H(!1,!0),setEndBefore:H(!0,!1),setEndAfter:H(!1,!1),collapse:function(a){z(this);a?
|
74
|
+
i(this,this.startContainer,this.startOffset,this.startContainer,this.startOffset):i(this,this.endContainer,this.endOffset,this.endContainer,this.endOffset)},selectNodeContents:function(b){c(this);a(b,!0);i(this,b,0,b,k.getNodeLength(b))},selectNode:function(b){c(this);a(b,!1);d(b,K);var e=s(b),b=t(b);i(this,e.node,e.offset,b.node,b.offset)},extractContents:E(n,i),deleteContents:E(q,i),canSurroundContents:function(){z(this);A(this.startContainer);A(this.endContainer);var a=new g(this,!0),b=a._first&&
|
75
|
+
r(a._first,this)||a._last&&r(a._last,this);a.detach();return!b},detach:function(){h(this)},splitBoundaries:function(){z(this);var a=this.startContainer,b=this.startOffset,c=this.endContainer,d=this.endOffset,e=a===c;k.isCharacterDataNode(c)&&0<d&&d<c.length&&k.splitDataNode(c,d);k.isCharacterDataNode(a)&&0<b&&b<a.length&&(a=k.splitDataNode(a,b),e?(d-=b,c=a):c==a.parentNode&&d>=k.getNodeIndex(a)&&d++,b=0);i(this,a,b,c,d)},normalizeBoundaries:function(){z(this);var a=this.startContainer,b=this.startOffset,
|
76
|
+
c=this.endContainer,d=this.endOffset,e=function(a){var b=a.nextSibling;b&&b.nodeType==a.nodeType&&(c=a,d=a.length,a.appendData(b.data),b.parentNode.removeChild(b))},x=function(e){var x=e.previousSibling;if(x&&x.nodeType==e.nodeType){a=e;var i=e.length;b=x.length;e.insertData(0,x.data);x.parentNode.removeChild(x);a==c?(d+=b,c=a):c==e.parentNode&&(x=k.getNodeIndex(e),d==x?(c=e,d=i):d>x&&d--)}},h=!0;k.isCharacterDataNode(c)?c.length==d&&e(c):(0<d&&(h=c.childNodes[d-1])&&k.isCharacterDataNode(h)&&e(h),
|
77
|
+
h=!this.collapsed);h?k.isCharacterDataNode(a)?0==b&&x(a):b<a.childNodes.length&&(e=a.childNodes[b])&&k.isCharacterDataNode(e)&&x(e):(a=c,b=d);i(this,a,b,c,d)},collapseToPoint:function(b,d){c(this);a(b,!0);e(b,d);(b!==this.startContainer||d!==this.startOffset||b!==this.endContainer||d!==this.endOffset)&&i(this,b,d,b,d)}});D(x)}function N(a){a.collapsed=a.startContainer===a.endContainer&&a.startOffset===a.endOffset;a.commonAncestorContainer=a.collapsed?a.startContainer:k.getCommonAncestor(a.startContainer,
|
78
|
+
a.endContainer)}function P(a,b,c,d,e){var x=a.startContainer!==b||a.startOffset!==c,i=a.endContainer!==d||a.endOffset!==e;a.startContainer=b;a.startOffset=c;a.endContainer=d;a.endOffset=e;N(a);u(a,"boundarychange",{startMoved:x,endMoved:i})}function B(a){this.startContainer=a;this.startOffset=0;this.endContainer=a;this.endOffset=0;this._listeners={boundarychange:[],detach:[]};N(this)}b.requireModules(["DomUtil"]);var k=b.dom,J=k.DomPosition,C=b.DOMException;g.prototype={_current:null,_next:null,_first:null,
|
79
|
+
_last:null,isSingleCharacterDataNode:!1,reset:function(){this._current=null;this._next=this._first},hasNext:function(){return!!this._next},next:function(){var a=this._current=this._next;a&&(this._next=a!==this._last?a.nextSibling:null,k.isCharacterDataNode(a)&&this.clonePartiallySelectedTextNodes&&(a===this.ec&&(a=a.cloneNode(!0)).deleteData(this.eo,a.length-this.eo),this._current===this.sc&&(a=a.cloneNode(!0)).deleteData(0,this.so)));return a},remove:function(){var a=this._current,b,c;k.isCharacterDataNode(a)&&
|
80
|
+
(a===this.sc||a===this.ec)?(b=a===this.sc?this.so:0,c=a===this.ec?this.eo:a.length,b!=c&&a.deleteData(b,c-b)):a.parentNode&&a.parentNode.removeChild(a)},isPartiallySelectedSubtree:function(){return r(this._current,this.range)},getSubtreeIterator:function(){var a;if(this.isSingleCharacterDataNode)a=this.range.cloneRange(),a.collapse();else{a=new B(o(this.range));var b=this._current,c=b,d=0,e=b,x=k.getNodeLength(b);k.isAncestorOf(b,this.sc,!0)&&(c=this.sc,d=this.so);k.isAncestorOf(b,this.ec,!0)&&(e=
|
81
|
+
this.ec,x=this.eo);P(a,c,d,e,x)}return new g(a,this.clonePartiallySelectedTextNodes)},detach:function(a){a&&this.range.detach();this.range=this._current=this._next=this._first=this._last=this.sc=this.so=this.ec=this.eo=null}};p.prototype={BAD_BOUNDARYPOINTS_ERR:1,INVALID_NODE_TYPE_ERR:2};p.prototype.toString=function(){return this.message};h.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){this._current=this._next;this._next=this.nodes[++this._position];return this._current},
|
82
|
+
detach:function(){this._current=this._next=this.nodes=null}};var K=[1,3,4,5,7,8,10],M=[2,9,11],L=[1,3,4,5,7,8,10,11],x=[1,3,4,5,7,8],O=k.getRootContainer,Q=l([9,11]),ba=l([5,6,10,12]),aa=l([6,10,12]),$=document.createElement("style"),T=!1;try{$.innerHTML="<b>x</b>",T=3==$.firstChild.nodeType}catch(da){}b.features.htmlParsingConforms=T;var U="startContainer,startOffset,endContainer,endOffset,collapsed,commonAncestorContainer".split(","),R=0,V=1,ca=2,W=3,X=0,Y=1,Z=2,S=3;I.prototype={attachListener:function(a,
|
83
|
+
b){this._listeners[a].push(b)},compareBoundaryPoints:function(a,b){z(this);i(this.startContainer,b.startContainer);var c=a==W||a==R?"start":"end",d=a==V||a==R?"start":"end";return k.comparePoints(this[c+"Container"],this[c+"Offset"],b[d+"Container"],b[d+"Offset"])},insertNode:function(a){z(this);d(a,L);A(this.startContainer);if(k.isAncestorOf(a,this.startContainer,!0))throw new C("HIERARCHY_REQUEST_ERR");this.setStartBefore(f(a,this.startContainer,this.startOffset))},cloneContents:function(){z(this);
|
84
|
+
var a,b;if(this.collapsed)return o(this).createDocumentFragment();if(this.startContainer===this.endContainer&&k.isCharacterDataNode(this.startContainer))return a=this.startContainer.cloneNode(!0),a.data=a.data.slice(this.startOffset,this.endOffset),b=o(this).createDocumentFragment(),b.appendChild(a),b;b=new g(this,!0);a=w(b);b.detach();return a},canSurroundContents:function(){z(this);A(this.startContainer);A(this.endContainer);var a=new g(this,!0),b=a._first&&r(a._first,this)||a._last&&r(a._last,
|
85
|
+
this);a.detach();return!b},surroundContents:function(a){d(a,x);if(!this.canSurroundContents())throw new p("BAD_BOUNDARYPOINTS_ERR");var b=this.extractContents();if(a.hasChildNodes())for(;a.lastChild;)a.removeChild(a.lastChild);f(a,this.startContainer,this.startOffset);a.appendChild(b);this.selectNode(a)},cloneRange:function(){z(this);for(var a=new B(o(this)),b=U.length,c;b--;)c=U[b],a[c]=this[c];return a},toString:function(){z(this);var a=this.startContainer;if(a===this.endContainer&&k.isCharacterDataNode(a))return 3==
|
86
|
+
a.nodeType||4==a.nodeType?a.data.slice(this.startOffset,this.endOffset):"";var b=[],a=new g(this,!0);v(a,function(a){(3==a.nodeType||4==a.nodeType)&&b.push(a.data)});a.detach();return b.join("")},compareNode:function(a){z(this);var b=a.parentNode,c=k.getNodeIndex(a);if(!b)throw new C("NOT_FOUND_ERR");a=this.comparePoint(b,c);b=this.comparePoint(b,c+1);return 0>a?0<b?Z:X:0<b?Y:S},comparePoint:function(a,b){z(this);y(a,"HIERARCHY_REQUEST_ERR");i(a,this.startContainer);return 0>k.comparePoints(a,b,this.startContainer,
|
87
|
+
this.startOffset)?-1:0<k.comparePoints(a,b,this.endContainer,this.endOffset)?1:0},createContextualFragment:T?function(a){var b=this.startContainer,c=k.getDocument(b);if(!b)throw new C("INVALID_STATE_ERR");var d=null;1==b.nodeType?d=b:k.isCharacterDataNode(b)&&(d=k.parentElement(b));d=null===d||"HTML"==d.nodeName&&k.isHtmlNamespace(k.getDocument(d).documentElement)&&k.isHtmlNamespace(d)?c.createElement("body"):d.cloneNode(!1);d.innerHTML=a;return k.fragmentFromNodeChildren(d)}:function(a){c(this);
|
88
|
+
var b=o(this).createElement("body");b.innerHTML=a;return k.fragmentFromNodeChildren(b)},toHtml:function(){z(this);var a=o(this).createElement("div");a.appendChild(this.cloneContents());return a.innerHTML},intersectsNode:function(a,b){z(this);y(a,"NOT_FOUND_ERR");if(k.getDocument(a)!==o(this))return!1;var c=a.parentNode,d=k.getNodeIndex(a);y(c,"NOT_FOUND_ERR");var e=k.comparePoints(c,d,this.endContainer,this.endOffset),c=k.comparePoints(c,d+1,this.startContainer,this.startOffset);return b?0>=e&&0<=
|
89
|
+
c:0>e&&0<c},isPointInRange:function(a,b){z(this);y(a,"HIERARCHY_REQUEST_ERR");i(a,this.startContainer);return 0<=k.comparePoints(a,b,this.startContainer,this.startOffset)&&0>=k.comparePoints(a,b,this.endContainer,this.endOffset)},intersectsRange:function(a,b){z(this);if(o(a)!=o(this))throw new C("WRONG_DOCUMENT_ERR");var c=k.comparePoints(this.startContainer,this.startOffset,a.endContainer,a.endOffset),d=k.comparePoints(this.endContainer,this.endOffset,a.startContainer,a.startOffset);return b?0>=
|
90
|
+
c&&0<=d:0>c&&0<d},intersection:function(a){if(this.intersectsRange(a)){var b=k.comparePoints(this.startContainer,this.startOffset,a.startContainer,a.startOffset),c=k.comparePoints(this.endContainer,this.endOffset,a.endContainer,a.endOffset),d=this.cloneRange();-1==b&&d.setStart(a.startContainer,a.startOffset);1==c&&d.setEnd(a.endContainer,a.endOffset);return d}return null},union:function(a){if(this.intersectsRange(a,!0)){var b=this.cloneRange();-1==k.comparePoints(a.startContainer,a.startOffset,this.startContainer,
|
91
|
+
this.startOffset)&&b.setStart(a.startContainer,a.startOffset);1==k.comparePoints(a.endContainer,a.endOffset,this.endContainer,this.endOffset)&&b.setEnd(a.endContainer,a.endOffset);return b}throw new p("Ranges do not intersect");},containsNode:function(a,b){return b?this.intersectsNode(a,!1):this.compareNode(a)==S},containsNodeContents:function(a){return 0<=this.comparePoint(a,0)&&0>=this.comparePoint(a,k.getNodeLength(a))},containsRange:function(a){return this.intersection(a).equals(a)},containsNodeText:function(a){var b=
|
92
|
+
this.cloneRange();b.selectNode(a);var c=b.getNodes([3]);return 0<c.length?(b.setStart(c[0],0),a=c.pop(),b.setEnd(a,a.length),a=this.containsRange(b),b.detach(),a):this.containsNodeContents(a)},createNodeIterator:function(a,b){z(this);return new h(this,a,b)},getNodes:function(a,b){z(this);return j(this,a,b)},getDocument:function(){return o(this)},collapseBefore:function(a){c(this);this.setEndBefore(a);this.collapse(!1)},collapseAfter:function(a){c(this);this.setStartAfter(a);this.collapse(!0)},getName:function(){return"DomRange"},
|
93
|
+
equals:function(a){return B.rangesEqual(this,a)},isValid:function(){return F(this)},inspect:function(){return m(this)}};H(B,P,function(a){c(a);a.startContainer=a.startOffset=a.endContainer=a.endOffset=null;a.collapsed=a.commonAncestorContainer=null;u(a,"detach",null);a._listeners=null});b.rangePrototype=I.prototype;B.rangeProperties=U;B.RangeIterator=g;B.copyComparisonConstants=D;B.createPrototypeRange=H;B.inspect=m;B.getRangeDocument=o;B.rangesEqual=function(a,b){return a.startContainer===b.startContainer&&
|
94
|
+
a.startOffset===b.startOffset&&a.endContainer===b.endContainer&&a.endOffset===b.endOffset};b.DomRange=B;b.RangeException=p});
|
95
|
+
rangy.createModule("WrappedRange",function(b){function r(b,f,n,j){var m=b.duplicate();m.collapse(n);var g=m.parentElement();s.isAncestorOf(f,g,!0)||(g=f);if(!g.canHaveHTML)return new t(g.parentNode,s.getNodeIndex(g));var f=s.getDocument(g).createElement("span"),p,h=n?"StartToStart":"StartToEnd";do g.insertBefore(f,f.previousSibling),m.moveToElementText(f);while(0<(p=m.compareEndPoints(h,b))&&f.previousSibling);h=f.nextSibling;if(-1==p&&h&&s.isCharacterDataNode(h)){m.setEndPoint(n?"EndToStart":"EndToEnd",
|
96
|
+
b);if(/[\r\n]/.test(h.data)){g=m.duplicate();n=g.text.replace(/\r\n/g,"\r").length;for(n=g.moveStart("character",n);-1==g.compareEndPoints("StartToEnd",g);)n++,g.moveStart("character",1)}else n=m.text.length;g=new t(h,n)}else h=(j||!n)&&f.previousSibling,g=(n=(j||n)&&f.nextSibling)&&s.isCharacterDataNode(n)?new t(n,0):h&&s.isCharacterDataNode(h)?new t(h,h.length):new t(g,s.getNodeIndex(f));f.parentNode.removeChild(f);return g}function o(b,f){var n,j,m=b.offset,g=s.getDocument(b.node),p=g.body.createTextRange(),
|
97
|
+
h=s.isCharacterDataNode(b.node);h?(n=b.node,j=n.parentNode):(n=b.node.childNodes,n=m<n.length?n[m]:null,j=b.node);g=g.createElement("span");g.innerHTML="&#feff;";n?j.insertBefore(g,n):j.appendChild(g);p.moveToElementText(g);p.collapse(!f);j.removeChild(g);if(h)p[f?"moveStart":"moveEnd"]("character",m);return p}b.requireModules(["DomUtil","DomRange"]);var u,s=b.dom,t=s.DomPosition,f=b.DomRange;if(b.features.implementsDomRange&&(!b.features.implementsTextRange||!b.config.preferTextRange))(function(){function v(b){for(var g=
|
98
|
+
n.length,a;g--;)a=n[g],b[a]=b.nativeRange[a]}var q,n=f.rangeProperties,j;u=function(b){if(!b)throw Error("Range must be specified");this.nativeRange=b;v(this)};f.createPrototypeRange(u,function(b,g,a,c,d){var e=b.endContainer!==c||b.endOffset!=d;if(b.startContainer!==g||b.startOffset!=a||e)b.setEnd(c,d),b.setStart(g,a)},function(b){b.nativeRange.detach();b.detached=!0;for(var g=n.length,a;g--;)a=n[g],b[a]=null});q=u.prototype;q.selectNode=function(b){this.nativeRange.selectNode(b);v(this)};q.deleteContents=
|
99
|
+
function(){this.nativeRange.deleteContents();v(this)};q.extractContents=function(){var b=this.nativeRange.extractContents();v(this);return b};q.cloneContents=function(){return this.nativeRange.cloneContents()};q.surroundContents=function(b){this.nativeRange.surroundContents(b);v(this)};q.collapse=function(b){this.nativeRange.collapse(b);v(this)};q.cloneRange=function(){return new u(this.nativeRange.cloneRange())};q.refresh=function(){v(this)};q.toString=function(){return this.nativeRange.toString()};
|
100
|
+
var m=document.createTextNode("test");s.getBody(document).appendChild(m);var g=document.createRange();g.setStart(m,0);g.setEnd(m,0);try{g.setStart(m,1),q.setStart=function(b,g){this.nativeRange.setStart(b,g);v(this)},q.setEnd=function(b,g){this.nativeRange.setEnd(b,g);v(this)},j=function(b){return function(g){this.nativeRange[b](g);v(this)}}}catch(p){q.setStart=function(b,g){try{this.nativeRange.setStart(b,g)}catch(a){this.nativeRange.setEnd(b,g),this.nativeRange.setStart(b,g)}v(this)},q.setEnd=function(b,
|
101
|
+
g){try{this.nativeRange.setEnd(b,g)}catch(a){this.nativeRange.setStart(b,g),this.nativeRange.setEnd(b,g)}v(this)},j=function(b,g){return function(a){try{this.nativeRange[b](a)}catch(c){this.nativeRange[g](a),this.nativeRange[b](a)}v(this)}}}q.setStartBefore=j("setStartBefore","setEndBefore");q.setStartAfter=j("setStartAfter","setEndAfter");q.setEndBefore=j("setEndBefore","setStartBefore");q.setEndAfter=j("setEndAfter","setStartAfter");g.selectNodeContents(m);q.selectNodeContents=g.startContainer==
|
102
|
+
m&&g.endContainer==m&&0==g.startOffset&&g.endOffset==m.length?function(b){this.nativeRange.selectNodeContents(b);v(this)}:function(b){this.setStart(b,0);this.setEnd(b,f.getEndOffset(b))};g.selectNodeContents(m);g.setEnd(m,3);j=document.createRange();j.selectNodeContents(m);j.setEnd(m,4);j.setStart(m,2);q.compareBoundaryPoints=-1==g.compareBoundaryPoints(g.START_TO_END,j)&1==g.compareBoundaryPoints(g.END_TO_START,j)?function(b,g){g=g.nativeRange||g;b==g.START_TO_END?b=g.END_TO_START:b==g.END_TO_START&&
|
103
|
+
(b=g.START_TO_END);return this.nativeRange.compareBoundaryPoints(b,g)}:function(b,g){return this.nativeRange.compareBoundaryPoints(b,g.nativeRange||g)};b.util.isHostMethod(g,"createContextualFragment")&&(q.createContextualFragment=function(b){return this.nativeRange.createContextualFragment(b)});s.getBody(document).removeChild(m);g.detach();j.detach()})(),b.createNativeRange=function(b){return(b||document).createRange()};else if(b.features.implementsTextRange){u=function(b){this.textRange=b;this.refresh()};
|
104
|
+
u.prototype=new f(document);u.prototype.refresh=function(){var b,f,n=this.textRange;b=n.parentElement();var j=n.duplicate();j.collapse(!0);f=j.parentElement();j=n.duplicate();j.collapse(!1);n=j.parentElement();f=f==n?f:s.getCommonAncestor(f,n);f=f==b?f:s.getCommonAncestor(b,f);0==this.textRange.compareEndPoints("StartToEnd",this.textRange)?f=b=r(this.textRange,f,!0,!0):(b=r(this.textRange,f,!0,!1),f=r(this.textRange,f,!1,!1));this.setStart(b.node,b.offset);this.setEnd(f.node,f.offset)};f.copyComparisonConstants(u);
|
105
|
+
var w=function(){return this}();"undefined"==typeof w.Range&&(w.Range=u);b.createNativeRange=function(b){return(b||document).body.createTextRange()}}b.features.implementsTextRange&&(u.rangeToTextRange=function(b){if(b.collapsed)return o(new t(b.startContainer,b.startOffset),!0);var f=o(new t(b.startContainer,b.startOffset),!0),n=o(new t(b.endContainer,b.endOffset),!1),b=s.getDocument(b.startContainer).body.createTextRange();b.setEndPoint("StartToStart",f);b.setEndPoint("EndToEnd",n);return b});u.prototype.getName=
|
106
|
+
function(){return"WrappedRange"};b.WrappedRange=u;b.createRange=function(f){return new u(b.createNativeRange(f||document))};b.createRangyRange=function(b){return new f(b||document)};b.createIframeRange=function(f){return b.createRange(s.getIframeDocument(f))};b.createIframeRangyRange=function(f){return b.createRangyRange(s.getIframeDocument(f))};b.addCreateMissingNativeApiListener(function(f){f=f.document;if(typeof f.createRange=="undefined")f.createRange=function(){return b.createRange(this)};f=
|
107
107
|
f=null})});
|
108
|
-
rangy.createModule("WrappedSelection",function(
|
109
|
-
(b
|
110
|
-
!1;break a}
|
111
|
-
a._ranges.push(
|
112
|
-
[];this.win=
|
113
|
-
|
114
|
-
F=
|
115
|
-
|
116
|
-
b.close();var
|
117
|
-
|
118
|
-
this.isCollapsed){
|
119
|
-
|
120
|
-
J(this.nativeSelection,this.rangeCount-1))&&!
|
121
|
-
function(){try{this.docSelection.empty();if(this.docSelection.type!="None"){var a;if(this.anchorNode)a=
|
122
|
-
1;this.isCollapsed=this._ranges[0].collapsed;
|
123
|
-
"Control"?
|
124
|
-
typeof
|
125
|
-
for(;
|
126
|
-
|
127
|
-
|
128
|
-
this.addRange(
|
129
|
-
0,d=this._ranges.length;c<d;++c)if(this._ranges[c].containsNode(a,b))return true;return false};
|
130
|
-
b
|
131
|
-
rangy.createModule("CssClassApplier",function(
|
132
|
-
d=d?d.toString():"";c.detach();return""!=d}function
|
133
|
-
"class"!=
|
134
|
-
a
|
135
|
-
|
136
|
-
function
|
137
|
-
|
138
|
-
c,d){return c&&d?" ":""}return function(b,c){b.className&&(b.className=b.className.replace(RegExp("(?:^|\\s)"+c+"(?:\\s|$)"),a))}}(),
|
139
|
-
1==a.nodeType&&a.isContentEditable}:function(a){return!a||1!=a.nodeType||"false"==a.contentEditable?!1:"true"==a.contentEditable||
|
140
|
-
this.textNodes.length,b=0;a--;)b+=this.textNodes[a].length;return b},toString:function(){for(var a=[],b=0,c=this.textNodes.length;b<c;++b)a[b]="'"+this.textNodes[b].data+"'";return"[Merge("+a.join(",")+")]"}};var G=["elementTagName","ignoreWhiteSpace","applyToEditableOnly"],
|
141
|
-
this.cssClass)},getSelfOrAncestorWithClass:function(a){for(;a;){if(this.hasClass(a,this.cssClass))return a;a=a.parentNode}return null},isModifiable:function(a){return!this.applyToEditableOnly||
|
142
|
-
|
143
|
-
a.parentNode.insertBefore(b,a),b.appendChild(a))},isRemovable:function(a){var b;if(b=a.tagName.toLowerCase()==this.elementTagName)if(b=
|
144
|
-
[b]),b.setEndAfter(
|
145
|
-
|
146
|
-
|
147
|
-
return!0},isAppliedToSelection:function(a){for(var a=
|
148
|
-
elementHasNonClassAttributes:
|
149
|
-
rangy.createModule("SaveRestore",function(
|
150
|
-
|
151
|
-
!1),
|
152
|
-
|
153
|
-
!0),
|
154
|
-
rangy.createModule("Serializer",function(
|
155
|
-
|
156
|
-
if(!
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
(function(
|
163
|
-
"-=1")},0)});
|
164
|
-
|
165
|
-
|
166
|
-
["
|
167
|
-
this.element.
|
168
|
-
this.
|
169
|
-
this.
|
170
|
-
function(){this.element.is("input")?this.element.val(this.
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
!
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
this.
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
d.
|
204
|
-
b.
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
d
|
209
|
-
|
210
|
-
|
211
|
-
"imageresize.manually-resize-image":'<div>\n <fieldset>\n <label for="{{baseClass}}-width">_(\'Image width\')</label>\n <input id="{{baseClass}}-width" name="width" type="text" value="{{width}}" placeholder="_(\'Image width\')"/>\n </fieldset>\n <fieldset>\n <label for="{{baseClass}}-height">_(\'Image height\')</label>\n <input id="{{baseClass}}-height" name="height" type="text" value="{{height}}" placeholder="_(\'Image height\')"/>\n </fieldset>\n</div>',"viewsource.dialog":'<div style="display:none" class="{{baseClass}}-dialog">\n <div class="{{baseClass}}-plain-text" style="display:none">\n <textarea></textarea>\n </div>\n <div class="{{baseClass}}-highlighted" style="display:none">\n <pre id="{{baseClass}}-rainbow"><code data-language="html"></code></pre>\n </div>\n</div>\n',
|
108
|
+
rangy.createModule("WrappedSelection",function(b,r){function o(a){return(a||window).getSelection()}function u(a){return(a||window).document.selection}function s(a,b,c){var d=c?"end":"start",c=c?"start":"end";a.anchorNode=b[d+"Container"];a.anchorOffset=b[d+"Offset"];a.focusNode=b[c+"Container"];a.focusOffset=b[c+"Offset"]}function t(a){a.anchorNode=a.focusNode=null;a.anchorOffset=a.focusOffset=0;a.rangeCount=0;a.isCollapsed=!0;a._ranges.length=0}function f(d){var e;d instanceof a?(e=d._selectionNativeRange,e||
|
109
|
+
(e=b.createNativeRange(h.getDocument(d.startContainer)),e.setEnd(d.endContainer,d.endOffset),e.setStart(d.startContainer,d.startOffset),d._selectionNativeRange=e,d.attachListener("detach",function(){this._selectionNativeRange=null}))):d instanceof c?e=d.nativeRange:b.features.implementsDomRange&&d instanceof h.getWindow(d.startContainer).Range&&(e=d);return e}function w(a){var b=a.getNodes(),c;a:if(!b.length||1!=b[0].nodeType)c=!1;else{c=1;for(var d=b.length;c<d;++c)if(!h.isAncestorOf(b[0],b[c])){c=
|
110
|
+
!1;break a}c=!0}if(!c)throw Error("getSingleElementFromRange: range "+a.inspect()+" did not consist of a single element");return b[0]}function v(a,b){var d=new c(b);a._ranges=[d];s(a,d,!1);a.rangeCount=1;a.isCollapsed=d.collapsed}function q(a){a._ranges.length=0;if("None"==a.docSelection.type)t(a);else{var c=a.docSelection.createRange();if(c&&"undefined"!=typeof c.text)v(a,c);else{a.rangeCount=c.length;for(var d,e=h.getDocument(c.item(0)),i=0;i<a.rangeCount;++i)d=b.createRange(e),d.selectNode(c.item(i)),
|
111
|
+
a._ranges.push(d);a.isCollapsed=1==a.rangeCount&&a._ranges[0].collapsed;s(a,a._ranges[a.rangeCount-1],!1)}}}function n(a,b){for(var c=a.docSelection.createRange(),d=w(b),e=h.getDocument(c.item(0)),e=h.getBody(e).createControlRange(),i=0,g=c.length;i<g;++i)e.add(c.item(i));try{e.add(d)}catch(E){throw Error("addRange(): Element within the specified Range could not be added to control selection (does it have layout?)");}e.select();q(a)}function j(a,b,c){this.nativeSelection=a;this.docSelection=b;this._ranges=
|
112
|
+
[];this.win=c;this.refresh()}function m(a,b){for(var c=h.getDocument(b[0].startContainer),c=h.getBody(c).createControlRange(),d=0,e;d<rangeCount;++d){e=w(b[d]);try{c.add(e)}catch(i){throw Error("setRanges(): Element within the one of the specified Ranges could not be added to control selection (does it have layout?)");}}c.select();q(a)}function g(a,b){if(a.anchorNode&&h.getDocument(a.anchorNode)!==h.getDocument(b))throw new d("WRONG_DOCUMENT_ERR");}function p(b){var c=[],d=new e(b.anchorNode,b.anchorOffset),
|
113
|
+
i=new e(b.focusNode,b.focusOffset),g="function"==typeof b.getName?b.getName():"Selection";if("undefined"!=typeof b.rangeCount)for(var E=0,f=b.rangeCount;E<f;++E)c[E]=a.inspect(b.getRangeAt(E));return"["+g+"(Ranges: "+c.join(", ")+")(anchor: "+d.inspect()+", focus: "+i.inspect()+"]"}b.requireModules(["DomUtil","DomRange","WrappedRange"]);b.config.checkSelectionRanges=!0;var h=b.dom,l=b.util,a=b.DomRange,c=b.WrappedRange,d=b.DOMException,e=h.DomPosition,i,A,y=b.util.isHostMethod(window,"getSelection"),
|
114
|
+
F=b.util.isHostObject(document,"selection"),z=F&&(!y||b.config.preferTextRange);z?(i=u,b.isSelectionValid=function(a){var a=(a||window).document,b=a.selection;return"None"!=b.type||h.getDocument(b.createRange().parentElement())==a}):y?(i=o,b.isSelectionValid=function(){return!0}):r.fail("Neither document.selection or window.getSelection() detected.");b.getNativeSelection=i;var y=i(),I=b.createNativeRange(document),G=h.getBody(document),D=l.areHostObjects(y,l.areHostProperties(y,["anchorOffset","focusOffset"]));
|
115
|
+
b.features.selectionHasAnchorAndFocus=D;var E=l.isHostMethod(y,"extend");b.features.selectionHasExtend=E;var H="number"==typeof y.rangeCount;b.features.selectionHasRangeCount=H;var N=!1,P=!0;l.areHostMethods(y,["addRange","getRangeAt","removeAllRanges"])&&"number"==typeof y.rangeCount&&b.features.implementsDomRange&&function(){var a=document.createElement("iframe");a.frameBorder=0;a.style.position="absolute";a.style.left="-10000px";G.appendChild(a);var b=h.getIframeDocument(a);b.open();b.write("<html><head></head><body>12</body></html>");
|
116
|
+
b.close();var c=h.getIframeWindow(a).getSelection(),d=b.documentElement.lastChild.firstChild,b=b.createRange();b.setStart(d,1);b.collapse(true);c.addRange(b);P=c.rangeCount==1;c.removeAllRanges();var e=b.cloneRange();b.setStart(d,0);e.setEnd(d,2);c.addRange(b);c.addRange(e);N=c.rangeCount==2;b.detach();e.detach();G.removeChild(a)}();b.features.selectionSupportsMultipleRanges=N;b.features.collapsedNonEditableSelectionsSupported=P;var B=!1,k;G&&l.isHostMethod(G,"createControlRange")&&(k=G.createControlRange(),
|
117
|
+
l.areHostProperties(k,["item","add"])&&(B=!0));b.features.implementsControlRange=B;A=D?function(a){return a.anchorNode===a.focusNode&&a.anchorOffset===a.focusOffset}:function(a){return a.rangeCount?a.getRangeAt(a.rangeCount-1).collapsed:false};var J;l.isHostMethod(y,"getRangeAt")?J=function(a,b){try{return a.getRangeAt(b)}catch(c){return null}}:D&&(J=function(a){var c=h.getDocument(a.anchorNode),c=b.createRange(c);c.setStart(a.anchorNode,a.anchorOffset);c.setEnd(a.focusNode,a.focusOffset);if(c.collapsed!==
|
118
|
+
this.isCollapsed){c.setStart(a.focusNode,a.focusOffset);c.setEnd(a.anchorNode,a.anchorOffset)}return c});b.getSelection=function(a){var a=a||window,b=a._rangySelection,c=i(a),d=F?u(a):null;if(b){b.nativeSelection=c;b.docSelection=d;b.refresh(a)}else{b=new j(c,d,a);a._rangySelection=b}return b};b.getIframeSelection=function(a){return b.getSelection(h.getIframeWindow(a))};k=j.prototype;if(!z&&D&&l.areHostMethods(y,["removeAllRanges","addRange"])){k.removeAllRanges=function(){this.nativeSelection.removeAllRanges();
|
119
|
+
t(this)};var C=function(c,d){var e=a.getRangeDocument(d),e=b.createRange(e);e.collapseToPoint(d.endContainer,d.endOffset);c.nativeSelection.addRange(f(e));c.nativeSelection.extend(d.startContainer,d.startOffset);c.refresh()};k.addRange=H?function(d,e){if(B&&F&&this.docSelection.type=="Control")n(this,d);else if(e&&E)C(this,d);else{var i;if(N)i=this.rangeCount;else{this.removeAllRanges();i=0}this.nativeSelection.addRange(f(d));this.rangeCount=this.nativeSelection.rangeCount;if(this.rangeCount==i+1){if(b.config.checkSelectionRanges)(i=
|
120
|
+
J(this.nativeSelection,this.rangeCount-1))&&!a.rangesEqual(i,d)&&(d=new c(i));this._ranges[this.rangeCount-1]=d;s(this,d,L(this.nativeSelection));this.isCollapsed=A(this)}else this.refresh()}}:function(a,b){if(b&&E)C(this,a);else{this.nativeSelection.addRange(f(a));this.refresh()}};k.setRanges=function(a){if(B&&a.length>1)m(this,a);else{this.removeAllRanges();for(var b=0,c=a.length;b<c;++b)this.addRange(a[b])}}}else if(l.isHostMethod(y,"empty")&&l.isHostMethod(I,"select")&&B&&z)k.removeAllRanges=
|
121
|
+
function(){try{this.docSelection.empty();if(this.docSelection.type!="None"){var a;if(this.anchorNode)a=h.getDocument(this.anchorNode);else if(this.docSelection.type=="Control"){var b=this.docSelection.createRange();b.length&&(a=h.getDocument(b.item(0)).body.createTextRange())}if(a){a.body.createTextRange().select();this.docSelection.empty()}}}catch(c){}t(this)},k.addRange=function(a){if(this.docSelection.type=="Control")n(this,a);else{c.rangeToTextRange(a).select();this._ranges[0]=a;this.rangeCount=
|
122
|
+
1;this.isCollapsed=this._ranges[0].collapsed;s(this,a,false)}},k.setRanges=function(a){this.removeAllRanges();var b=a.length;b>1?m(this,a):b&&this.addRange(a[0])};else return r.fail("No means of selecting a Range or TextRange was found"),!1;k.getRangeAt=function(a){if(a<0||a>=this.rangeCount)throw new d("INDEX_SIZE_ERR");return this._ranges[a]};var K;if(z)K=function(a){var c;if(b.isSelectionValid(a.win))c=a.docSelection.createRange();else{c=h.getBody(a.win.document).createTextRange();c.collapse(true)}a.docSelection.type==
|
123
|
+
"Control"?q(a):c&&typeof c.text!="undefined"?v(a,c):t(a)};else if(l.isHostMethod(y,"getRangeAt")&&"number"==typeof y.rangeCount)K=function(a){if(B&&F&&a.docSelection.type=="Control")q(a);else{a._ranges.length=a.rangeCount=a.nativeSelection.rangeCount;if(a.rangeCount){for(var c=0,d=a.rangeCount;c<d;++c)a._ranges[c]=new b.WrappedRange(a.nativeSelection.getRangeAt(c));s(a,a._ranges[a.rangeCount-1],L(a.nativeSelection));a.isCollapsed=A(a)}else t(a)}};else if(D&&"boolean"==typeof y.isCollapsed&&"boolean"==
|
124
|
+
typeof I.collapsed&&b.features.implementsDomRange)K=function(a){var b;b=a.nativeSelection;if(b.anchorNode){b=J(b,0);a._ranges=[b];a.rangeCount=1;b=a.nativeSelection;a.anchorNode=b.anchorNode;a.anchorOffset=b.anchorOffset;a.focusNode=b.focusNode;a.focusOffset=b.focusOffset;a.isCollapsed=A(a)}else t(a)};else return r.fail("No means of obtaining a Range or TextRange from the user's selection was found"),!1;k.refresh=function(b){var c=b?this._ranges.slice(0):null;K(this);if(b){b=c.length;if(b!=this._ranges.length)return false;
|
125
|
+
for(;b--;)if(!a.rangesEqual(c[b],this._ranges[b]))return false;return true}};var M=function(a,b){var c=a.getAllRanges(),d=false;a.removeAllRanges();for(var e=0,i=c.length;e<i;++e)d||b!==c[e]?a.addRange(c[e]):d=true;a.rangeCount||t(a)};k.removeRange=B?function(a){if(this.docSelection.type=="Control"){for(var b=this.docSelection.createRange(),a=w(a),c=h.getDocument(b.item(0)),c=h.getBody(c).createControlRange(),d,e=false,i=0,g=b.length;i<g;++i){d=b.item(i);d!==a||e?c.add(b.item(i)):e=true}c.select();
|
126
|
+
q(this)}else M(this,a)}:function(a){M(this,a)};var L;!z&&D&&b.features.implementsDomRange?(L=function(a){var b=false;a.anchorNode&&(b=h.comparePoints(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)==1);return b},k.isBackwards=function(){return L(this)}):L=k.isBackwards=function(){return false};k.toString=function(){for(var a=[],b=0,c=this.rangeCount;b<c;++b)a[b]=""+this._ranges[b];return a.join("")};k.collapse=function(a,c){g(this,a);var d=b.createRange(h.getDocument(a));d.collapseToPoint(a,
|
127
|
+
c);this.removeAllRanges();this.addRange(d);this.isCollapsed=true};k.collapseToStart=function(){if(this.rangeCount){var a=this._ranges[0];this.collapse(a.startContainer,a.startOffset)}else throw new d("INVALID_STATE_ERR");};k.collapseToEnd=function(){if(this.rangeCount){var a=this._ranges[this.rangeCount-1];this.collapse(a.endContainer,a.endOffset)}else throw new d("INVALID_STATE_ERR");};k.selectAllChildren=function(a){g(this,a);var c=b.createRange(h.getDocument(a));c.selectNodeContents(a);this.removeAllRanges();
|
128
|
+
this.addRange(c)};k.deleteFromDocument=function(){if(B&&F&&this.docSelection.type=="Control"){for(var a=this.docSelection.createRange(),b;a.length;){b=a.item(0);a.remove(b);b.parentNode.removeChild(b)}this.refresh()}else if(this.rangeCount){a=this.getAllRanges();this.removeAllRanges();b=0;for(var c=a.length;b<c;++b)a[b].deleteContents();this.addRange(a[c-1])}};k.getAllRanges=function(){return this._ranges.slice(0)};k.setSingleRange=function(a){this.setRanges([a])};k.containsNode=function(a,b){for(var c=
|
129
|
+
0,d=this._ranges.length;c<d;++c)if(this._ranges[c].containsNode(a,b))return true;return false};k.toHtml=function(){var b="";if(this.rangeCount){for(var b=a.getRangeDocument(this._ranges[0]).createElement("div"),c=0,d=this._ranges.length;c<d;++c)b.appendChild(this._ranges[c].cloneContents());b=b.innerHTML}return b};k.getName=function(){return"WrappedSelection"};k.inspect=function(){return p(this)};k.detach=function(){this.win=this.anchorNode=this.focusNode=this.win._rangySelection=null};j.inspect=
|
130
|
+
p;b.Selection=j;b.selectionPrototype=k;b.addCreateMissingNativeApiListener(function(a){if(typeof a.getSelection=="undefined")a.getSelection=function(){return b.getSelection(this)};a=null})});
|
131
|
+
rangy.createModule("CssClassApplier",function(b,r){function o(a,b){return a.className&&RegExp("(?:^|\\s)"+b+"(?:\\s|$)").test(a.className)}function u(a,b){a.className?o(a,b)||(a.className+=" "+b):a.className=b}function s(a){return a.split(/\s+/).sort().join(" ")}function t(a,b){return s(a.className)==s(b.className)}function f(a){for(var b=a.parentNode;a.hasChildNodes();)b.insertBefore(a.firstChild,a);b.removeChild(a)}function w(a,b){var c=a.cloneRange();c.selectNodeContents(b);var d=c.intersection(a),
|
132
|
+
d=d?d.toString():"";c.detach();return""!=d}function v(a){return a.getNodes([3],function(b){return w(a,b)})}function q(a,b){if(a.attributes.length!=b.attributes.length)return!1;for(var c=0,d=a.attributes.length,e,i;c<d;++c)if(e=a.attributes[c],i=e.name,"class"!=i&&(i=b.attributes.getNamedItem(i),e.specified!=i.specified||e.specified&&e.nodeValue!==i.nodeValue))return!1;return!0}function n(a,b){for(var c=0,e=a.attributes.length,i;c<e;++c)if(i=a.attributes[c].name,(!b||!d.arrayContains(b,i))&&a.attributes[c].specified&&
|
133
|
+
"class"!=i)return!0;return!1}function j(a){var b;return a&&1==a.nodeType&&((b=a.parentNode)&&9==b.nodeType&&"on"==b.designMode||A(a)&&!A(a.parentNode))}function m(a){return(A(a)||1!=a.nodeType&&A(a.parentNode))&&!j(a)}function g(a){return a&&1==a.nodeType&&!y.test(i(a,"display"))}function p(a){if(0==a.data.length)return!0;if(F.test(a.data))return!1;switch(i(a.parentNode,"whiteSpace")){case "pre":case "pre-wrap":case "-moz-pre-wrap":return!1;case "pre-line":if(/[\r\n]/.test(a.data))return!1}return g(a.previousSibling)||
|
134
|
+
g(a.nextSibling)}function h(a,b,c,e){var i,g=0==c;if(d.isAncestorOf(b,a))return a;if(d.isCharacterDataNode(b))if(0==c)c=d.getNodeIndex(b),b=b.parentNode;else if(c==b.length)c=d.getNodeIndex(b)+1,b=b.parentNode;else throw r.createError("splitNodeAt should not be called with offset in the middle of a data node ("+c+" in "+b.data);if(d.isCharacterDataNode(b)?0==c?b.previousSibling:c==b.length?b.nextSibling:1:0<c&&c<b.childNodes.length){if(!i){i=b.cloneNode(!1);for(i.id&&i.removeAttribute("id");g=b.childNodes[c];)i.appendChild(g);
|
135
|
+
d.insertAfter(i,b)}return b==a?i:h(a,i.parentNode,d.getNodeIndex(i),e)}return a!=b?(i=b.parentNode,b=d.getNodeIndex(b),g||b++,h(a,i,b,e)):a}function l(a){var b=a?"nextSibling":"previousSibling";return function(c,d){var e=c.parentNode,i=c[b];if(i){if(i&&3==i.nodeType)return i}else if(d&&(i=e[b])&&1==i.nodeType&&e.tagName==i.tagName&&t(e,i)&&q(e,i))return i[a?"firstChild":"lastChild"];return null}}function a(a){this.firstTextNode=(this.isElementMerge=1==a.nodeType)?a.lastChild:a;this.textNodes=[this.firstTextNode]}
|
136
|
+
function c(a,b,c){this.cssClass=a;var d,e,i=null;if("object"==typeof b&&null!==b){c=b.tagNames;i=b.elementProperties;for(d=0;e=G[d++];)b.hasOwnProperty(e)&&(this[e]=b[e]);d=b.normalize}else d=b;this.normalize="undefined"==typeof d?!0:d;this.attrExceptions=[];d=document.createElement(this.elementTagName);this.elementProperties={};for(var g in i)i.hasOwnProperty(g)&&(D.hasOwnProperty(g)&&(g=D[g]),d[g]=i[g],this.elementProperties[g]=d[g],this.attrExceptions.push(g));this.elementSortedClassName=this.elementProperties.hasOwnProperty("className")?
|
137
|
+
s(this.elementProperties.className+" "+a):a;this.applyToAnyTagName=!1;a=typeof c;if("string"==a)"*"==c?this.applyToAnyTagName=!0:this.tagNames=c.toLowerCase().replace(/^\s\s*/,"").replace(/\s\s*$/,"").split(/\s*,\s*/);else if("object"==a&&"number"==typeof c.length){this.tagNames=[];d=0;for(a=c.length;d<a;++d)"*"==c[d]?this.applyToAnyTagName=!0:this.tagNames.push(c[d].toLowerCase())}else this.tagNames=[this.elementTagName]}b.requireModules(["WrappedSelection","WrappedRange"]);var d=b.dom,e=function(){function a(b,
|
138
|
+
c,d){return c&&d?" ":""}return function(b,c){b.className&&(b.className=b.className.replace(RegExp("(?:^|\\s)"+c+"(?:\\s|$)"),a))}}(),i;"undefined"!=typeof window.getComputedStyle?i=function(a,b){return d.getWindow(a).getComputedStyle(a,null)[b]}:"undefined"!=typeof document.documentElement.currentStyle?i=function(a,b){return a.currentStyle[b]}:r.fail("No means of obtaining computed style properties found");var A;(function(){A="boolean"==typeof document.createElement("div").isContentEditable?function(a){return a&&
|
139
|
+
1==a.nodeType&&a.isContentEditable}:function(a){return!a||1!=a.nodeType||"false"==a.contentEditable?!1:"true"==a.contentEditable||A(a.parentNode)}})();var y=/^inline(-block|-table)?$/i,F=/[^\r\n\t\f \u200B]/,z=l(!1),I=l(!0);a.prototype={doMerge:function(){for(var a=[],b,c,d=0,e=this.textNodes.length;d<e;++d)b=this.textNodes[d],c=b.parentNode,a[d]=b.data,d&&(c.removeChild(b),c.hasChildNodes()||c.parentNode.removeChild(c));return this.firstTextNode.data=a=a.join("")},getLength:function(){for(var a=
|
140
|
+
this.textNodes.length,b=0;a--;)b+=this.textNodes[a].length;return b},toString:function(){for(var a=[],b=0,c=this.textNodes.length;b<c;++b)a[b]="'"+this.textNodes[b].data+"'";return"[Merge("+a.join(",")+")]"}};var G=["elementTagName","ignoreWhiteSpace","applyToEditableOnly"],D={"class":"className"};c.prototype={elementTagName:"span",elementProperties:{},ignoreWhiteSpace:!0,applyToEditableOnly:!1,hasClass:function(a){return 1==a.nodeType&&d.arrayContains(this.tagNames,a.tagName.toLowerCase())&&o(a,
|
141
|
+
this.cssClass)},getSelfOrAncestorWithClass:function(a){for(;a;){if(this.hasClass(a,this.cssClass))return a;a=a.parentNode}return null},isModifiable:function(a){return!this.applyToEditableOnly||m(a)},isIgnorableWhiteSpaceNode:function(a){return this.ignoreWhiteSpace&&a&&3==a.nodeType&&p(a)},postApply:function(b,c,d){for(var e=b[0],i=b[b.length-1],g=[],f,h=e,A=i,p=0,l=i.length,y,m,j=0,n=b.length;j<n;++j)if(y=b[j],m=z(y,!d)){if(f||(f=new a(m),g.push(f)),f.textNodes.push(y),y===e&&(h=f.firstTextNode,
|
142
|
+
p=h.length),y===i)A=f.firstTextNode,l=f.getLength()}else f=null;if(b=I(i,!d))f||(f=new a(i),g.push(f)),f.textNodes.push(b);if(g.length){j=0;for(n=g.length;j<n;++j)g[j].doMerge();c.setStart(h,p);c.setEnd(A,l)}},createContainer:function(a){a=a.createElement(this.elementTagName);b.util.extend(a,this.elementProperties);u(a,this.cssClass);return a},applyToTextNode:function(a){var b=a.parentNode;1==b.childNodes.length&&d.arrayContains(this.tagNames,b.tagName.toLowerCase())?u(b,this.cssClass):(b=this.createContainer(d.getDocument(a)),
|
143
|
+
a.parentNode.insertBefore(b,a),b.appendChild(a))},isRemovable:function(a){var b;if(b=a.tagName.toLowerCase()==this.elementTagName)if(b=s(a.className)==this.elementSortedClassName){var c;a:{b=this.elementProperties;for(c in b)if(b.hasOwnProperty(c)&&a[c]!==b[c]){c=!1;break a}c=!0}b=c&&!n(a,this.attrExceptions)&&this.isModifiable(a)}return b},undoToTextNode:function(a,b,c){b.containsNode(c)||(a=b.cloneRange(),a.selectNode(c),a.isPointInRange(b.endContainer,b.endOffset)&&(h(c,b.endContainer,b.endOffset,
|
144
|
+
[b]),b.setEndAfter(c)),a.isPointInRange(b.startContainer,b.startOffset)&&(c=h(c,b.startContainer,b.startOffset,[b])));this.isRemovable(c)?f(c):e(c,this.cssClass)},applyToRange:function(a){a.splitBoundaries();var b=v(a);if(b.length){for(var c,d=0,e=b.length;d<e;++d)c=b[d],!this.isIgnorableWhiteSpaceNode(c)&&!this.getSelfOrAncestorWithClass(c)&&this.isModifiable(c)&&this.applyToTextNode(c);a.setStart(b[0],0);c=b[b.length-1];a.setEnd(c,c.length);this.normalize&&this.postApply(b,a,!1)}},applyToSelection:function(a){var a=
|
145
|
+
b.getSelection(a||window),c,d=a.getAllRanges();a.removeAllRanges();for(var e=d.length;e--;)c=d[e],this.applyToRange(c),a.addRange(c)},undoToRange:function(a){a.splitBoundaries();var b=v(a),c,d,e=b[b.length-1];if(b.length){for(var i=0,g=b.length;i<g;++i)c=b[i],(d=this.getSelfOrAncestorWithClass(c))&&this.isModifiable(c)&&this.undoToTextNode(c,a,d),a.setStart(b[0],0),a.setEnd(e,e.length);this.normalize&&this.postApply(b,a,!0)}},undoToSelection:function(a){var a=b.getSelection(a||window),c=a.getAllRanges(),
|
146
|
+
d;a.removeAllRanges();for(var e=0,i=c.length;e<i;++e)d=c[e],this.undoToRange(d),a.addRange(d)},getTextSelectedByRange:function(a,b){var c=b.cloneRange();c.selectNodeContents(a);var d=c.intersection(b),d=d?d.toString():"";c.detach();return d},isAppliedToRange:function(a){if(a.collapsed)return!!this.getSelfOrAncestorWithClass(a.commonAncestorContainer);for(var b=a.getNodes([3]),c=0,d;d=b[c++];)if(!this.isIgnorableWhiteSpaceNode(d)&&w(a,d)&&this.isModifiable(d)&&!this.getSelfOrAncestorWithClass(d))return!1;
|
147
|
+
return!0},isAppliedToSelection:function(a){for(var a=b.getSelection(a||window).getAllRanges(),c=a.length;c--;)if(!this.isAppliedToRange(a[c]))return!1;return!0},toggleRange:function(a){this.isAppliedToRange(a)?this.undoToRange(a):this.applyToRange(a)},toggleSelection:function(a){this.isAppliedToSelection(a)?this.undoToSelection(a):this.applyToSelection(a)},detach:function(){}};c.util={hasClass:o,addClass:u,removeClass:e,hasSameClasses:t,replaceWithOwnChildren:f,elementsHaveSameNonClassAttributes:q,
|
148
|
+
elementHasNonClassAttributes:n,splitNodeAt:h,isEditableElement:A,isEditingHost:j,isEditable:m};b.CssClassApplier=c;b.createCssClassApplier=function(a,b,d){return new c(a,b,d)}});
|
149
|
+
rangy.createModule("SaveRestore",function(b,r){function o(b,o){var n="selectionBoundary_"+ +new Date+"_"+(""+Math.random()).slice(2),j,m=f.getDocument(b.startContainer),g=b.cloneRange();g.collapse(o);j=m.createElement("span");j.id=n;j.style.lineHeight="0";j.style.display="none";j.className="rangySelectionBoundary";j.appendChild(m.createTextNode(w));g.insertNode(j);g.detach();return j}function u(b,f,n,j){(b=(b||document).getElementById(n))?(f[j?"setStartBefore":"setEndBefore"](b),b.parentNode.removeChild(b)):
|
150
|
+
r.warn("Marker element has been removed. Cannot restore selection.")}function s(b,f){return f.compareBoundaryPoints(b.START_TO_START,b)}function t(b,f){var n=(b||document).getElementById(f);n&&n.parentNode.removeChild(n)}b.requireModules(["DomUtil","DomRange","WrappedRange"]);var f=b.dom,w="\ufeff";b.saveSelection=function(f){var f=f||window,q=f.document;if(b.isSelectionValid(f)){var n=b.getSelection(f),j=n.getAllRanges(),m=[],g,p;j.sort(s);for(var h=0,l=j.length;h<l;++h)g=j[h],g.collapsed?(p=o(g,
|
151
|
+
!1),m.push({markerId:p.id,collapsed:!0})):(p=o(g,!1),g=o(g,!0),m[h]={startMarkerId:g.id,endMarkerId:p.id,collapsed:!1,backwards:1==j.length&&n.isBackwards()});for(h=l-1;0<=h;--h)g=j[h],g.collapsed?g.collapseBefore((q||document).getElementById(m[h].markerId)):(g.setEndBefore((q||document).getElementById(m[h].endMarkerId)),g.setStartAfter((q||document).getElementById(m[h].startMarkerId)));n.setRanges(j);return{win:f,doc:q,rangeInfos:m,restored:!1}}r.warn("Cannot save selection. This usually happens when the selection is collapsed and the selection document has lost focus.")};
|
152
|
+
b.restoreSelection=function(f,o){if(!f.restored){for(var n=f.rangeInfos,j=b.getSelection(f.win),m=[],g=n.length,p=g-1,h,l;0<=p;--p){h=n[p];l=b.createRange(f.doc);if(h.collapsed)if(h=(f.doc||document).getElementById(h.markerId)){h.style.display="inline";var a=h.previousSibling;a&&3==a.nodeType?(h.parentNode.removeChild(h),l.collapseToPoint(a,a.length)):(l.collapseBefore(h),h.parentNode.removeChild(h))}else r.warn("Marker element has been removed. Cannot restore selection.");else u(f.doc,l,h.startMarkerId,
|
153
|
+
!0),u(f.doc,l,h.endMarkerId,!1);1==g&&l.normalizeBoundaries();m[p]=l}1==g&&o&&b.features.selectionHasExtend&&n[0].backwards?(j.removeAllRanges(),j.addRange(m[0],!0)):j.setRanges(m);f.restored=!0}};b.removeMarkerElement=t;b.removeMarkers=function(b){for(var f=b.rangeInfos,n=0,j=f.length,m;n<j;++n)m=f[n],m.collapsed?t(b.doc,m.markerId):(t(b.doc,m.startMarkerId),t(b.doc,m.endMarkerId))}});
|
154
|
+
rangy.createModule("Serializer",function(b,r){function o(b,f){var f=f||[],h=b.nodeType,l=b.childNodes,a=l.length,c=[h,b.nodeName,a].join(":"),d="",e="";switch(h){case 3:d=b.nodeValue.replace(/</g,"<").replace(/>/g,">");break;case 8:d="<\!--"+b.nodeValue.replace(/</g,"<").replace(/>/g,">")+"--\>";break;default:d="<"+c+">",e="</>"}d&&f.push(d);for(h=0;h<a;++h)o(l[h],f);e&&f.push(e);return f}function u(b){b=o(b).join("");return j(b).toString(16)}function s(b,f,h){for(var l=[],a=b,h=h||m.getDocument(b).documentElement;a&&
|
155
|
+
a!=h;)l.push(m.getNodeIndex(a,!0)),a=a.parentNode;return l.join("/")+":"+f}function t(b,f,h){f?h||m.getDocument(f):f=(h||document).documentElement;for(var b=b.split(":"),h=b[0]?b[0].split("/"):[],l=h.length,a;l--;)if(a=parseInt(h[l],10),a<f.childNodes.length)f=f.childNodes[parseInt(h[l],10)];else throw r.createError("deserializePosition failed: node "+m.inspectNode(f)+" has no child with index "+a+", "+l);return new m.DomPosition(f,parseInt(b[1],10))}function f(f,p,h){h=h||b.DomRange.getRangeDocument(f).documentElement;
|
156
|
+
if(!m.isAncestorOf(h,f.commonAncestorContainer,!0))throw Error("serializeRange: range is not wholly contained within specified root node");f=s(f.startContainer,f.startOffset,h)+","+s(f.endContainer,f.endOffset,h);p||(f+="{"+u(h)+"}");return f}function w(f,p,h){p?h=h||m.getDocument(p):(h=h||document,p=h.documentElement);var f=/^([^,]+),([^,\{]+)({([^}]+)})?$/.exec(f),l=f[4],a=u(p);if(l&&l!==u(p))throw Error("deserializeRange: checksums of serialized range root node ("+l+") and target root node ("+
|
157
|
+
a+") do not match");l=t(f[1],p,h);p=t(f[2],p,h);h=b.createRange(h);h.setStart(l.node,l.offset);h.setEnd(p.node,p.offset);return h}function v(b,f,h){f?h||m.getDocument(f):f=(h||document).documentElement;b=/^([^,]+),([^,]+)({([^}]+)})?$/.exec(b)[3];return!b||b===u(f)}function q(g,p,h){for(var g=g||b.getSelection(),g=g.getAllRanges(),l=[],a=0,c=g.length;a<c;++a)l[a]=f(g[a],p,h);return l.join("|")}function n(f,p,h){p?h=h||m.getWindow(p):(h=h||window,p=h.document.documentElement);for(var f=f.split("|"),
|
158
|
+
l=b.getSelection(h),a=[],c=0,d=f.length;c<d;++c)a[c]=w(f[c],p,h.document);l.setRanges(a);return l}b.requireModules(["WrappedSelection","WrappedRange"]);("undefined"==typeof encodeURIComponent||"undefined"==typeof decodeURIComponent)&&r.fail("Global object is missing encodeURIComponent and/or decodeURIComponent method");var j=function(){var b=null;return function(f){for(var h=[],l=0,a=f.length,c;l<a;++l)c=f.charCodeAt(l),128>c?h.push(c):2048>c?h.push(c>>6|192,c&63|128):h.push(c>>12|224,c>>6&63|128,
|
159
|
+
c&63|128);f=-1;if(!b){for(var l=[],a=0,d;256>a;++a){d=a;for(c=8;c--;)d=1==(d&1)?d>>>1^3988292384:d>>>1;l[a]=d>>>0}b=l}l=b;a=0;for(c=h.length;a<c;++a)d=(f^h[a])&255,f=f>>>8^l[d];return(f^-1)>>>0}}(),m=b.dom;b.serializePosition=s;b.deserializePosition=t;b.serializeRange=f;b.deserializeRange=w;b.canDeserializeRange=v;b.serializeSelection=q;b.deserializeSelection=n;b.canDeserializeSelection=function(b,f,h){var l;f?l=h?h.document:m.getDocument(f):f=(h||window).document.documentElement;for(var b=b.split("|"),
|
160
|
+
h=0,a=b.length;h<a;++h)if(!v(b[h],f,l))return!1;return!0};b.restoreSelectionFromCookie=function(b){var b=b||window,f;a:{f=b.document.cookie.split(/[;,]/);for(var h=0,l=f.length,a;h<l;++h)if(a=f[h].split("="),"rangySerializedSelection"==a[0].replace(/^\s+/,"")&&(a=a[1])){f=decodeURIComponent(a.replace(/\s+$/,""));break a}f=null}f&&n(f,b.doc)};b.saveSelectionCookie=function(f,j){var f=f||window,j="object"==typeof j?j:{},h=j.expires?";expires="+j.expires.toUTCString():"",l=j.path?";path="+j.path:"",
|
161
|
+
a=j.domain?";domain="+j.domain:"",c=j.secure?";secure":"",d=q(b.getSelection(f));f.document.cookie=encodeURIComponent("rangySerializedSelection")+"="+encodeURIComponent(d)+h+l+a+c};b.getElementChecksum=u});
|
162
|
+
(function(b,r,o,u){function s(a,b,d){g[a]=d;p[a]=b;m||(m=a)}function t(a){m!==a&&(m=a,b.ui.editor.eachInstance(function(){this.reinit()}))}function f(a,b){m&&g[m]&&g[m][a]&&(a=g[m][a]);if(!b)return a;for(var d in b)a=a.replace("{{"+d+"}}",b[d]);return a}function w(a){if(h===u){h=!0;if(l=/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent))b("html").addClass(a.options.baseClass+"-ios"),l&&b(document).bind("scroll",function(){setInterval(function(){b("body").css("height","+=1").css("height",
|
163
|
+
"-=1")},0)});b.browser.mozilla&&b("html").addClass(a.options.baseClass+"-ff");if(b.browser.msie&&9>b.browser.version){h=!1;var c=b("<div/>").addClass(a.options.baseClass+"-unsupported").html(a.getTemplate("unsupported")).appendTo("body");v(c);c.find("."+a.options.baseClass+"-unsupported-close").click(function(){c.remove()})}}return h}function v(a){var c=1;a.siblings().each(function(){var a=b(this).css("z-index");!isNaN(a)&&a>c&&(c=a+1)});a.css("z-index",c)}function q(a){return a.clone().wrap("<div/>").parent().html()}
|
164
|
+
function n(a,c){for(var d="",e=0,i=a.childNodes.length;e<i;e++){var f=a.childNodes.item(e);(f=3===f.nodeType?f.nodeValue:q(b(f)))&&(d+=f)}c&&(d=b("<"+c+">"+d+"</"+c+">"),d.find("p").wrapInner("<"+c+"/>"),d.find("p > *").unwrap(),d=b("<div/>").html(d).html());return d}function j(a,b,d){for(var b=b||o.getSelection(),e,i=0;e=b.getAllRanges()[i++];)a.call(d,e)}var m=null,g={},p={};b(function(){o.initialized||o.init();b.isFunction(o.rangePrototype.insertNodeAtEnd)||(o.rangePrototype.insertNodeAtEnd=function(a){var b=
|
165
|
+
this.cloneRange();b.collapse(!1);b.insertNode(a);b.detach();this.setEndAfter(a)})});b("html").click(function(){b(".ui-editor-selectmenu-visible").removeClass("ui-editor-selectmenu-visible")});b.widget("ui.editor",{_init:function(){-1===b.inArray(this,b.ui.editor.instances)&&b.ui.editor.instances.push(this);var a=this;b.ui.editor.eachInstance(function(b){a!=b&&a.element.closest(b.element).length&&handleError("Nesting editors is unsupported",a.element,b.element)});this.options=b.extend({},b.ui.editor.defaults,
|
166
|
+
this.options);this.options.uiOrder=this.options.uiOrder||[["logo"],["save","cancel"],["dock","showGuides","clean"],["viewSource"],["undo","redo"],["alignLeft","alignCenter","alignJustify","alignRight"],["textBold","textItalic","textUnderline","textStrike"],["textSuper","textSub"],["listUnordered","listOrdered"],["hr","quoteBlock"],["fontSizeInc","fontSizeDec"],["clearFormatting"],["link","unlink"],["embed"],["floatLeft","floatNone","floatRight"],["tagMenu"],["i18n"],["raptorize"],["length"],["debugReinit",
|
167
|
+
"debugDestroy"]];this.element.attr("id")||this.element.attr("id",this.getUniqueId());this.ready=!1;this.events={};this.ui={};this.plugins={};this.templates=b.extend({},b.ui.editor.templates);this.path=this.toolbarWrapper=this.toolbar=this.wrapper=null;this.visible=this.enabled=!1;this.uiObjects={};for(var c in this.options.bind)this.bind(c,this.options.bind[c]);this.history=[];this.present=0;this.historyEnabled=!0;w(this)&&(this.cloneDomTools(),this.setOriginalHtml(this.element.is(":input")?this.element.val():
|
168
|
+
this.element.html()),this.options.replace&&(this.replaceOriginal(),this.options.replace=!1),this.attach(),this.loadPlugins(),this.dirty=!1,this.previousSelection=this.previousContent=null,this.ready=!0,this.fire("ready"),this.options.autoEnable&&b(function(){a.enableEditing();a.showToolbar()}))},attach:function(){this.bind("change",this.historyPush);this.bind("selectionChange",this.updateTagTree);this.bind("show",this.updateTagTree);var a=b.proxy(this.checkChange,this);this.getElement().find("img").bind("click."+
|
169
|
+
this.widgetName,b.proxy(function(a){this.selectOuter(a.target)},this));this.getElement().bind("mouseup."+this.widgetName,a);this.getElement().bind("keyup."+this.widgetName,a);b(r).bind("beforeunload",b.proxy(b.ui.editor.unloadWarning,b.ui.editor))},reinit:function(){if(this.ready){var a=this.enabled,b=this.visible;this.destruct();this._init();a&&this.enableEditing();b&&this.showToolbar()}else{var d;d=function(){this.unbind("ready",d);this.reinit()};this.bind("ready",d)}},getElement:function(){return this.target?
|
170
|
+
this.target:this.element},getOriginalElement:function(){return this.element},replaceOriginal:function(){if(!this.target){for(var a=b("<div/>").html(this.element.is(":input")?this.element.val():this.element.html()).insertBefore(this.element).attr("id",this.getUniqueId()).addClass(this.element.attr("class")),c=this.options.domTools.getStyles(this.element),d=0;d<this.options.replaceStyle.length;d++)a.css(this.options.replaceStyle[d],c[this.options.replaceStyle[d]]);this.element.hide();this.bind("change",
|
171
|
+
function(){this.element.is("input")?this.element.val(this.getHtml()):this.element.html(this.getHtml())});this.target=a}},cloneDomTools:function(){for(var a in this.options.domTools)this[a]||(this[a]=function(a){return function(){this.options.domTools.constrainSelection(this.getElement());var b=this.getHtml(),e=this.options.domTools[a].apply(this.options.domTools,arguments);b!==this.getHtml()&&this.change();return e}}(a))},checkChange:function(){var a=o.serializeSelection();this.previousSelection!==
|
172
|
+
a&&this.fire("selectionChange");this.previousSelection=a;var a=this.getCleanHtml(),b=this.dirty;this.dirty=this.getOriginalHtml()!==a;this.previousHtml!==a&&(this.previousHtml=a,this.change(),b!==this.dirty&&(this.dirty?this.fire("dirty"):this.fire("cleaned")))},change:function(){this.fire("change")},destruct:function(){this.hideToolbar();this.disableEditing();this.fire("destroy",!1);this.events={};this.getElement().unbind("."+this.widgetName);this.wrapper&&this.wrapper.remove()},destroy:function(){this.destruct();
|
173
|
+
b.Widget.prototype.destroy.call(this)},persist:function(a,c){return!this.options.persistence?null:b.ui.editor.persist(a,c,this.options.namespace)},enableEditing:function(){this.isToolbarLoaded()||this.loadToolbar();this.enabled||(this.enabled=!0,this.getElement().addClass(this.options.baseClass+"-editing"),this.options.partialEdit?this.getElement().find(this.options.partialEdit).attr("contenteditable",!0):this.getElement().attr("contenteditable",!0),this.execCommand("enableInlineTableEditing",!1,
|
174
|
+
!1),this.execCommand("styleWithCSS",!0,!0),this.fire("enabled"),this.fire("resize"))},disableEditing:function(){this.enabled&&(this.enabled=!1,this.getElement().attr("contenteditable",!1).removeClass(this.options.baseClass+"-editing"),o.getSelection().removeAllRanges(),this.fire("disabled"))},isEditing:function(){return this.enabled},updateTagTree:function(){if(this.isEditing()){var a=this,c="",d=[],e=0;j(function(i){var i=i.commonAncestorContainer,f;f=3===i.nodeType?b(i).parent():b(i);i=[];for(d.push(i);f[0]&&
|
175
|
+
!a.isRoot(f)&&"body"!==f[0].tagName.toLowerCase();)i.push(f),f=f.parent();i.reverse();c&&(c+=" | ");c+=this.getTemplate("root");for(f=0;f<i.length;f++)c+=this.getTemplate("tag",{element:i[f][0].tagName.toLowerCase(),data:"["+e+","+f+"]"});e++},null,this);c||(c=this.getTemplate("root"));this.path.html(c).find("a").click(function(){var c=b(this).data("ui-editor-selection");c?(a.selectOuter(d[c[0]][c[1]]),a.updateTagTree()):a.selectOuter(a.getElement())});this.fire("tagTreeUpdated")}},isRoot:function(a){return this.getElement()[0]===
|
176
|
+
b(a)[0]},unify:function(a,c){!1!==c&&a(this);if(this.options.unify)for(var d=b.ui.editor.getInstances(),e=0;e<d.length;e++)d[e]!==this&&d[e].options.unify&&a(d[e])},getUniqueId:function(){return b.ui.editor.getUniqueId()},loadMessages:function(){this.messages=b(this.getTemplate("messages")).appendTo(this.wrapper)},showMessage:function(a,c,d){var d=b.extend({},this.options.message,d),e;e={timer:null,editor:this,show:function(){this.element.slideDown();this.timer=r.setTimeout(function(){this.timer=
|
177
|
+
null;e.hide()},d.delay,this)},hide:function(){this.timer&&(r.clearTimeout(this.timer),this.timer=null);this.element.stop().slideUp(b.proxy(function(){b.isFunction(d.hide)&&d.hide.call(this);this.element.remove()},this))}};e.element=b(this.getTemplate("message",{type:a,message:c})).hide().appendTo(this.messages).find(".ui-editor-message-close").click(function(){e.hide()}).end();e.show();return e},showLoading:function(a,b){return this.showMessage("clock",a,b)},showInfo:function(a,b){return this.showMessage("info",
|
178
|
+
a,b)},showError:function(a,b){return this.showMessage("circle-close",a,b)},showConfirm:function(a,b){return this.showMessage("circle-check",a,b)},showWarning:function(a,b){return this.showMessage("alert",a,b)},loadToolbar:function(){var a=this.toolbar=b("<div/>").addClass(this.options.baseClass+"-toolbar"),a=this.toolbarWrapper=b("<div/>").addClass(this.options.baseClass+"-toolbar-wrapper").addClass("ui-widget-content").append(a),c=this.path=b("<div/>").addClass(this.options.baseClass+"-path").addClass("ui-widget-header").html(this.getTemplate("root")),
|
179
|
+
d=this.wrapper=b("<div/>").addClass(this.options.baseClass+"-wrapper").css("display","none").append(c).append(a);b.fn.draggable&&this.options.draggable&&(d.draggable({cancel:"a, button",cursor:"move",handle:".ui-editor-path",stop:b.proxy(function(){var a=this.persist("position",[d.css("top"),d.css("left")]);d.css({top:Math.abs(a[0]),left:Math.abs(a[1])})},this)}),d.css("position",""),(a=this.persist("position")||this.options.dialogPosition)||(a=[10,10]),parseInt(a[0],10)+d.outerHeight()>b(r).height()&&
|
180
|
+
(a[0]=b(r).height()-d.outerHeight()),parseInt(a[1],10)+d.outerWidth()>b(r).width()&&(a[1]=b(r).width()-d.outerWidth()),d.css({top:Math.abs(parseInt(a[0])),left:Math.abs(parseInt(a[1]))}),this.loadMessages());b(function(){d.appendTo("body")});this.loadUi()},isToolbarLoaded:function(){return null!==this.wrapper},showToolbar:function(a){this.isToolbarLoaded()||this.loadToolbar();if(!this.visible){this.options.unify&&this.hideOtherToolbars(!0);this.visible=!0;this.wrapper.css("display","");this.fire("resize");
|
181
|
+
"undefined"===typeof this.getElement().attr("tabindex")&&this.getElement().attr("tabindex",-1);if(a)if(a.select)a.select();else{var c=r.getSelection();c.removeAllRanges();c.addRange(a)}var d=this;b(function(){d.fire("show");d.getElement().focus()})}},hideToolbar:function(){this.visible&&(this.visible=!1,this.wrapper.hide(),this.fire("hide"),this.fire("resize"))},hideOtherToolbars:function(a){this.unify(function(b){b.hideToolbar(a)},!1)},isVisible:function(){return this.visible},getTemplate:function(a,
|
182
|
+
c){var d;d=this.templates[a]?this.templates[a]:b.ui.editor.getTemplate(a,this.options.urlPrefix);d=d.replace(/_\('(.*?)'\)/g,function(a,b){b=b.replace(/\\(.?)/g,function(a,b){switch(b){case "\\":return"\\";case "0":return"\x00";case "":return"";default:return b}});return f(b)});c=b.extend({},this.options,c||{});c=this.getTemplateVars(c);return d=d.replace(/\{\{(.*?)\}\}/g,function(a,b){return c[b]})},getTemplateVars:function(a,b,d){b=b?b+".":"";d||(d=1);var e={},i;for(i in a)if("object"===typeof a[i]&&
|
183
|
+
5>d){var f=this.getTemplateVars(a[i],b+i,++d),g;for(g in f)e[g]=f[g]}else e[b+i]=a[i];return e},historyPush:function(){this.historyEnabled&&this.getHtml()!==this.historyPeak()&&(this.present!==this.history.length-1&&(this.history=this.history.splice(0,this.present+1)),this.history.push(this.getHtml()),this.present=this.history.length-1)},historyPeak:function(){return!this.history.length?null:this.history[this.present]},historyBack:function(){0<this.present&&(this.present--,this.setHtml(this.history[this.present]),
|
184
|
+
this.historyEnabled=!1,this.change(),this.historyEnabled=!0)},historyForward:function(){this.present<this.history.length-1&&(this.present++,this.setHtml(this.history[this.present]),this.historyEnabled=!1,this.change(),this.historyEnabled=!0)},uiEnabled:function(a){return!1===this.options.enableUi&&"undefined"===typeof this.options.ui[a]||!1===this.options.ui[a]||-1!==b.inArray(a,this.options.disabledUi)?!1:!0},getUi:function(a){return this.uiObjects[a]},loadUi:function(){for(var a=0,c=this.options.uiOrder.length;a<
|
185
|
+
c;a++){for(var d=this.options.uiOrder[a],e=b("<div/>"),i=0,f=d.length;i<f;i++)if(this.uiEnabled(d[i])){var g=d[i].replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()});if(b.ui.editor.ui[d[i]]){var h=b.extend({},b.ui.editor.ui[d[i]]),g=b.extend(!0,{},this.options,{baseClass:this.options.baseClass+"-ui-"+g},h.options,this.options.ui[d[i]]);h.editor=this;h.options=g;h.ui=h.init(this,g);h.ui.init(d[i],this,g,h).appendTo(e);this.uiObjects[d[i]]=h}}e.addClass("ui-buttonset").addClass(this.options.baseClass+
|
186
|
+
"-buttonset");0<e.children().length&&e.appendTo(this.toolbar)}b("<div/>").css("clear","both").appendTo(this.toolbar)},uiButton:function(a){return b.extend({button:null,options:{},init:function(a,d,e,i){var g=a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()}),e=b.extend({},d.options,{baseClass:d.options.baseClass+"-"+g+"-button"},this.options,d.options.ui[a]);this.title||(this.title=f("Unnamed Button"));this.button=b("<div/>").html(this.label||this.title).addClass(e.baseClass).attr("name",
|
187
|
+
a).attr("title",this.title).val(a);e.classes&&this.button.addClass(e.classes);this.button.bind("mousedown."+i.editor.widgetName,function(a){a.preventDefault()});var h=this;this.button.bind("mouseup."+i.editor.widgetName,function(a){a.preventDefault();h.click.apply(i,arguments)});d.bind("destroy",b.proxy(function(){this.button.button("destroy").remove()},this));this.button.button({icons:{primary:this.icon||"ui-icon-"+g},disabled:e.disabled?!0:!1,text:this.text||!1,label:this.label||null});this.ready.call(i);
|
188
|
+
return this.button},disable:function(){this.button.button("option","disabled",!0)},enable:function(){this.button.button("option","disabled",!1)},ready:function(){},click:function(){}},a)},uiSelectMenu:function(a){return b.extend({select:null,selectMenu:null,button:null,menu:null,options:{},init:function(a,d){var e=this,i=a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()});b.extend({},d.options,{baseClass:d.options.baseClass+i+"-select-menu"},e.options,d.options.ui[a]);e.title||(e.title=f("Unnamed Select Menu"));
|
189
|
+
e.wrapper=b('<div class="ui-editor-selectmenu-wrapper"/>').append(e.select.hide());e.selectMenu=b('<div class="ui-editor-selectmenu"/>').appendTo(e.wrapper);e.menu=b('<div class="ui-editor-selectmenu-menu ui-widget-content ui-corner-bottom ui-corner-tr"/>').appendTo(e.wrapper);e.select.find("option").each(function(){b("<div/>").addClass("ui-editor-selectmenu-menu-item").addClass("ui-corner-all").html(b(this).html()).appendTo(e.menu).bind("mouseenter."+d.widgetName,function(){b(this).addClass("ui-state-focus")}).bind("mouseleave."+
|
190
|
+
d.widgetName,function(){b(this).removeClass("ui-state-focus")}).bind("mousedown."+d.widgetName,function(){return false}).bind("click."+d.widgetName,function(){var a=e.select.find("option").eq(b(this).index());e.select.val(a.val());e.update();e.wrapper.removeClass("ui-editor-selectmenu-visible");e.button.addClass("ui-corner-all").removeClass("ui-corner-top");e.change(e.select.val());return false})});var i=b("<div/>").addClass("ui-editor-selectmenu-text"),g=b("<div/>").addClass("ui-icon ui-icon-triangle-1-s");
|
191
|
+
e.button=b("<div/>").addClass("ui-editor-selectmenu-button ui-editor-selectmenu-button ui-button ui-state-default").attr("title",e.title).append(i).append(g).prependTo(e.selectMenu);e.button.bind("mousedown."+d.widgetName,function(){return false}).bind("click."+d.widgetName,function(){if(!b(this).hasClass("ui-state-disabled")){e.menu.css("min-width",e.button.outerWidth()+10);e.wrapper.toggleClass("ui-editor-selectmenu-visible");return false}}).bind("mouseenter."+d.widgetName,function(){b(this).hasClass("ui-state-disabled")||
|
192
|
+
b(this).addClass("ui-state-hover",b(this).hasClass("ui-state-disabled"))}).bind("mouseleave."+d.widgetName,function(){b(this).removeClass("ui-state-hover")});i=e.select.find("option[value="+e.select.val()+"]").html();e.button.find(".ui-editor-selectmenu-text").html(i);return e.wrapper},update:function(){var a=this.select.find("option[value="+this.select.val()+"]").html();this.button.find(".ui-editor-selectmenu-text").html(a)},val:function(){var a=this.select.val.apply(this.select,arguments);this.update();
|
193
|
+
return a},change:function(){}},a)},getPlugin:function(a){return this.plugins[a]},loadPlugins:function(){this.options.plugins||(this.options.plugins={});for(var a in b.ui.editor.plugins)if(!(!1===this.options.enablePlugins&&"undefined"===typeof this.options.plugins[a]||!1===this.options.plugins[a])&&-1===b.inArray(a,this.options.disabledPlugins)){var c=b.extend({},b.ui.editor.plugins[a]),d=a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()}),d=b.extend(!0,{},this.options,{baseClass:this.options.baseClass+
|
194
|
+
"-"+d},c.options,this.options.plugins[a]);c.editor=this;c.options=d;c.init(this,d);this.plugins[a]=c}},isDirty:function(){return this.dirty},getHtml:function(){var a=this.getElement().html(),a=b("<div/>").html(a);a.find(".rangySelectionBoundary").remove();return a=a.html()},getCleanHtml:function(){this.fire("clean");var a=this.getElement().html();this.fire("restore");a=b("<div/>").html(a);a.find(".rangySelectionBoundary").remove();return a=a.html()},setHtml:function(a){this.getElement().html(a);this.fire("html");
|
195
|
+
this.change()},resetHtml:function(){this.setHtml(this.getOriginalHtml());this.fire("cleaned")},getOriginalHtml:function(){return this.originalHtml},save:function(){var a=this.getCleanHtml();this.fire("save");this.setOriginalHtml(a);this.fire("saved");this.fire("cleaned");return a},setOriginalHtml:function(a){this.originalHtml=a},bind:function(a,c,d){var e=this.events;b.each(a.split(","),function(a,f){f=b.trim(f);e[f]||(e[f]=[]);e[f].push({context:d,callback:c})})},unbind:function(a,b,d){for(var e=
|
196
|
+
0,f=this.events[a].length;e<f;e++)this.events[a][e]&&this.events[a][e].callback===b&&this.events[a][e].context===d&&this.events[a].splice(e,1)},fire:function(a,c,d){d||this.fire("before:"+a,c,!0);if(this.events[a])for(var e=0,f=this.events[a].length;e<f;e++){var g=this.events[a][e];"undefined"!==typeof g.callback&&g.callback.call(g.context||this)}!1!==c&&b.ui.editor.fire(a);d||this.fire("after:"+a,c,!0)}});b.extend(b.ui.editor,{defaults:{plugins:{},ui:{},bind:{},domTools:{savedSelection:!1,saveSelection:function(){this.savedSelection=
|
197
|
+
o.saveSelection()},restoreSelection:function(){this.savedSelection&&(o.restoreSelection(this.savedSelection),this.savedSelection=!1)},constrainSelection:function(a,c){var a=b(a)[0],c=c||o.getSelection(),d;b(c.getAllRanges()).each(function(e,f){d=3===this.commonAncestorContainer.nodeType?b(f.commonAncestorContainer).parent()[0]:f.commonAncestorContainer;a!==d&&!b.contains(a,d)&&c.removeRange(f)})},getSelectedElements:function(a){var b=new jQuery;j(function(a){b.push(this.getSelectedElement(a)[0])},
|
198
|
+
a,this);return b},getSelectedElement:function(a){a=a||o.getSelection().getRangeAt(0);return b(3===a.commonAncestorContainer.nodeType?a.commonAncestorContainer.parentNode:a.commonAncestorContainer)},getSelectedHtml:function(a){a=a||o.getSelection();return a.toHtml()},getSelectionStartElement:function(){var a=o.getSelection();return a.isBackwards()?3===a.focusNode.nodeType?b(a.focusNode.parentElement):b(a.focusNode):3===a.anchorNode.nodeType?b(a.anchorNode.parentElement):b(a.anchorNode)},getSelectionEndElement:function(){var a=
|
199
|
+
o.getSelection();return a.isBackwards()?3===a.anchorNode.nodeType?b(a.anchorNode.parentElement):b(a.anchorNode):3===a.focusNode.nodeType?b(a.focusNode.parentElement):b(a.focusNode)},unwrapParentTag:function(a){this.getSelectedElements().each(function(){b(this).is(a)&&b(this).replaceWith(b(this).html())})},wrapTagWithAttribute:function(a,b,d){j(function(e){e=this.getSelectedElement(e);e.is(a)?e.attr(b):this.toggleWrapper(a,{classes:d,attributes:b})},null,this)},selectInner:function(a,c){c=c||o.getSelection();
|
200
|
+
c.removeAllRanges();b(a).focus().contents().each(function(){var a=o.createRange();a.selectNodeContents(this);c.addRange(a)})},selectOuter:function(a,c){c=c||o.getSelection();c.removeAllRanges();b(a).each(function(){var a=o.createRange();a.selectNode(this);c.addRange(a)}).focus()},selectEnd:function(a,c){c=c||o.getSelection();c.removeAllRanges();b(a).each(function(){var a=o.createRange();a.selectNodeContents(this);a.collapse();c.addRange(a)})},toggleWrapper:function(a,c){var c=c||{},d=o.createCssClassApplier(c.classes||
|
201
|
+
"",{normalize:!0,elementTagName:a,elementProperties:c.attributes||{}});j(function(e){this.rangeEmptyTag(e)?this.replaceRange(b("<"+a+"/>").addClass(c.classes).attr(c.attributes||{}).append(n(e.cloneContents())),e):d.toggleRange(e)},null,this)},rangeEmptyTag:function(a){a=a.cloneContents();a=n(a);"string"===typeof a&&(a=a.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1"));return b(a).is(":empty")?!0:!1},execCommand:function(a,b,d){try{document.execCommand(a,b,d)}catch(e){}},insertTag:function(a,c){j(function(c){c.insertNode(b("<"+
|
202
|
+
a+"/>")[0])},c,this)},insertTagAtEnd:function(a,c){j(function(c){c.insertNodeAtEnd(b("<"+a+"/>")[0])},c,this)},insertElement:function(a,c,d){j(function(d){b(a).each(function(){d.insertNode(!1===c?this:this.cloneNode(!0))})},d,this)},insertElementAtEnd:function(a,c,d){j(function(d){b(a).each(function(){d.insertNodeAtEnd(!1===c?this:this.cloneNode(!0))})},d,this)},toggleBlockStyle:function(a,c){j(function(d){for(d=b(d.commonAncestorContainer);d.length&&d[0]!==c[0]&&(3===d[0].nodeType||"inline"===d.css("display"));)d=
|
203
|
+
d.parent();d[0]===c[0]&&"inline"!==c.css("display")&&(this.wrapInner(c,"div"),d=c.children().first());this.toggleStyle(d,a)},null,this)},wrapInner:function(a,c){this.saveSelection();b(a).each(function(){var d=b("<"+c+"/>").html(b(this).html());a.html(d)});this.restoreSelection()},inverseWrapWithTagClass:function(a,c,d,e){this.saveSelection();var f="domTools"+Math.ceil(1E7*Math.random());j(function(a){var b=o.createCssClassApplier(e,{elementTagName:d});b.isAppliedToRange(a)?b.toggleSelection():o.createCssClassApplier(c,
|
204
|
+
{elementTagName:f}).toggleSelection()},null,this);b(f).each(function(){b(this).replaceWith(b("<"+a+"/>").addClass(c).html(b(this).html()))});this.restoreSelection()},toggleStyle:function(a,c){b.each(c,function(c,e){b(a).css(c)===e?b(a).css(c,""):b(a).css(c,e)})},getStyles:function(a){for(var b={},a=r.getComputedStyle(a[0],null),d=0;d<a.length;d++)b[a.item(d)]=a.getPropertyValue(a.item(d));return b},swapStyles:function(a,b,d){for(var e in d)a.css(e,b.css(e)),b.css(e,d[e])},replaceSelectionWithinValidTags:function(a,
|
205
|
+
b,d){var d=d||o.getSelection(),e=this.getSelectionStartElement()[0],f=this.getSelectionEndElement()[0],g=this.isElementValid(this.getSelectedElements()[0],b),e=this.isElementValid(e,b),b=this.isElementValid(f,b);g&&e&&b?this.replaceSelection(a):this.replaceSelectionSplittingSelectedElement(a,d)},replaceSelectionSplittingSelectedElement:function(a,c){var c=c||o.getSelection(),d=c.getRangeAt(0),e=this.getSelectedElements()[0],f=o.createRange();f.setStartBefore(e);f.setEnd(d.startContainer,d.startOffset);
|
206
|
+
var f=f.cloneContents(),g=o.createRange();g.setStart(d.endContainer,d.endOffset);g.setEndAfter(e);d=g.cloneContents();f=q(b(n(f)));f+=q(b(a));f+=q(b(n(d)));b(e).replaceWith(b(f))},replaceSelection:function(a,b){j(function(b){this.replaceRange(a,b)},b,this)},replaceRange:function(a,c){var d=b("<div/>").append(a)[0].childNodes;c.deleteContents();d.length===u||1===d.length?c.insertNode(d[0].cloneNode(!0)):b.each(d,function(a,b){c.insertNodeAtEnd(b.cloneNode(!0))})},insertDomFragmentBefore:function(a,
|
207
|
+
c,d){for(var e=0,f=a.childNodes.length;e<f;e++){var g=a.childNodes.item(e);(g=3===g.nodeType?g.nodeValue:b(g).html())&&b("<"+d+"/>").html(b.trim(g)).insertBefore(c)}},selectionExists:function(a){var b=!1;j(function(a){this.isEmpty(a)||(b=!0)},a,this);return b},isEmpty:function(a){return a.startOffset===a.endOffset&&a.startContainer===a.endContainer},isElementValid:function(a,c){return-1!==b.inArray(b(a)[0].tagName.toLowerCase(),c)},stripTags:function(a,b){allowed=[];for(var d=0;d<b.length;d++)b[d].match(/[a-z][a-z0-9]{0,}/g)&&
|
208
|
+
allowed.push(b[d]);return a.replace(/<\!--[\s\S]*?--\>|<\?(?:php)?[\s\S]*?\?>/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*\/?>/gi,function(a,b){return-1<allowed.indexOf(b.toLowerCase())?a:""})}},namespace:null,unify:!0,persistence:!0,persistenceName:"uiEditor",unloadWarning:!0,autoEnable:!1,partialEdit:!1,enablePlugins:!0,disabledPlugins:[],uiOrder:null,enableUi:!0,disabledUi:[],message:{delay:5E3},replace:!1,replaceStyle:"display,position,float,width,padding-left,padding-right,padding-top,padding-bottom,margin-left,margin-right,margin-top,margin-bottom".split(","),
|
209
|
+
baseClass:"ui-editor",cssPrefix:"cms-",draggable:!0},events:{},plugins:{},ui:{},instances:[],getInstances:function(){return this.instances},eachInstance:function(a){for(var b=0;b<this.instances.length;b++)a.call(this.instances[b],this.instances[b])},urlPrefix:"/jquery-raptor/",templates:{"paste.dialog":'<div class="ui-editor-paste-panel ui-dialog-content ui-widget-content">\n <div class="ui-editor-paste-panel-tabs ui-tabs ui-widget ui-widget-content ui-corner-all">\n <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">\n <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a>_(\'Plain Text\')</a></li>\n <li class="ui-state-default ui-corner-top"><a>_(\'Formatted & Cleaned\')</a></li>\n <li class="ui-state-default ui-corner-top"><a>_(\'Formatted Unclean\')</a></li>\n <li class="ui-state-default ui-corner-top"><a>_(\'Source Code\')</a></li>\n </ul>\n <label class="ui-editor-paste-synchronize-text" title="Synchronize changes to text across the three tabs">\n <input type="checkbox" value="synchronize" name="synchronizeText" class="synchronizeText"/>\n Synchronize\n </label>\n <div class="ui-editor-paste-plain-tab">\n <textarea class="ui-editor-paste-area ui-editor-paste-plain">{{plain}}</textarea>\n </div>\n <div class="ui-editor-paste-markup-tab" style="display: none">\n <div contenteditable="true" class="ui-editor-paste-area ui-editor-paste-markup">{{markup}}</div>\n </div>\n <div class="ui-editor-paste-rich-tab" style="display: none">\n <div contenteditable="true" class="ui-editor-paste-area ui-editor-paste-rich">{{html}}</div>\n </div>\n <div class="ui-editor-paste-source-tab" style="display: none">\n <textarea class="ui-editor-paste-area ui-editor-paste-source">{{html}}</textarea>\n </div>\n </div>\n</div>\n',
|
210
|
+
"imageresize.manually-resize-image":'<div>\n <fieldset>\n <label for="{{baseClass}}-width">_(\'Image width\')</label>\n <input id="{{baseClass}}-width" name="width" type="text" value="{{width}}" placeholder="_(\'Image width\')"/>\n </fieldset>\n <fieldset>\n <label for="{{baseClass}}-height">_(\'Image height\')</label>\n <input id="{{baseClass}}-height" name="height" type="text" value="{{height}}" placeholder="_(\'Image height\')"/>\n </fieldset>\n</div>',"viewsource.dialog":'<div style="display:none" class="{{baseClass}}-dialog">\n <div class="{{baseClass}}-plain-text">\n <textarea>{{source}}</textarea>\n </div>\n</div>\n',
|
212
211
|
"clicktoedit.message":'<div class="{{baseClass}}-message" style="opacity: 0;">_(\'Click to begin editing\')</div>\n',"length.dialog":"<div>\n <ul>\n <li>{{characters}}</li>\n <li>{{words}}</li>\n <li>{{sentences}}</li>\n <li>{{truncation}}</li>\n </ul>\n</div>\n","i18n.menu":'<select autocomplete="off" name="tag" class="ui-editor-tag-select">\n <option value="na">_(\'N/A\')</option>\n <option value="p">_(\'Paragraph\')</option>\n <option value="h1">_(\'Heading 1\')</option>\n <option value="h2">_(\'Heading 2\')</option>\n <option value="h3">_(\'Heading 3\')</option>\n <option value="div">_(\'Divider\')</option>\n</select>\n',
|
213
212
|
"link.label":'<label>\n <input class="{{classes}}" type="radio" value="{{type}}" name="link-type" autocomplete="off"/>\n <span>{{title}}</span>\n</label>\n',"link.email":'<h2>_(\'Link to an email address\')</h2>\n<fieldset class="{{baseClass}}-email">\n <label for="{{baseClass}}-email">_(\'Email\')</label>\n <input id="{{baseClass}}-email" name="email" type="text" placeholder="_(\'Enter email address\')"/>\n</fieldset>\n<fieldset class="{{baseClass}}-email">\n <label for="{{baseClass}}-email-subject">_(\'Subject (optional)\')</label>\n <input id="{{baseClass}}-email-subject" name="subject" type="text" placeholder="_(\'Enter subject\')"/>\n</fieldset>\n',
|
214
213
|
"link.error":'<div style="display:none" class="ui-widget {{baseClass}}-error-message {{messageClass}}">\n <div class="ui-state-error ui-corner-all"> \n <p>\n <span class="ui-icon ui-icon-alert"></span> \n {{message}}\n </p>\n </div>\n</div>',"link.dialog":'<div style="display:none" class="{{baseClass}}-panel">\n <div class="{{baseClass}}-menu">\n <p>_(\'Choose a link type:\')</p>\n <fieldset></fieldset>\n </div>\n <div class="{{baseClass}}-wrap">\n <div class="{{baseClass}}-content"></div>\n </div>\n</div>\n',
|
215
214
|
"link.file-url":'<h2>_(\'Link to a document or other file\')</h2>\n<fieldset>\n <label for="{{baseClass}}-external-href">_(\'Location\')</label>\n <input id="{{baseClass}}-external-href" value="http://" name="location" class="{{baseClass}}-external-href" type="text" placeholder="_(\'Enter your URL\')" />\n</fieldset>\n<h2>_(\'New window\')</h2>\n<fieldset>\n <label for="{{baseClass}}-external-target">\n <input id="{{baseClass}}-external-target" name="blank" type="checkbox" />\n <span>_(\'Check this box to have the file open in a new browser window\')</span>\n </label>\n</fieldset>\n<h2>_(\'Not sure what to put in the box above?\')</h2>\n<ol>\n <li>_(\'Ensure the file has been uploaded to your website\')</li>\n <li>_(\'Open the uploaded file in your browser\')</li>\n <li>_(\'Copy the file\'s URL from your browser\'s address bar and paste it into the box above\')</li>\n</ol>\n',
|
216
215
|
"link.external":'<h2>_(\'Link to a page on this or another website\')</h2>\n<fieldset>\n <label for="{{baseClass}}-external-href">_(\'Location\')</label>\n <input id="{{baseClass}}-external-href" value="http://" name="location" class="{{baseClass}}-external-href" type="text" placeholder="_(\'Enter your URL\')" />\n</fieldset>\n<h2>_(\'New window\')</h2>\n<fieldset>\n <label for="{{baseClass}}-external-target">\n <input id="{{baseClass}}-external-target" name="blank" type="checkbox" />\n <span>_(\'Check this box to have the link open in a new browser window\')</span>\n </label>\n</fieldset>\n<h2>_(\'Not sure what to put in the box above?\')</h2>\n<ol>\n <li>_(\'Find the page on the web you want to link to\')</li>\n <li>_(\'Copy the web address from your browser\'s address bar and paste it into the box above\')</li>\n</ol>\n',
|
217
216
|
"embed.dialog":'<div style="display:none" class="{{baseClass}}-dialog">\n <div class="ui-editor-embed-panel-tabs ui-tabs ui-widget ui-widget-content ui-corner-all">\n <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">\n <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a>_(\'Embed Code\')</a></li>\n <li class="ui-state-default ui-corner-top"><a>_(\'Preview\')</a></li>\n </ul>\n <div class="ui-editor-embed-code-tab">\n <p>_(\'Paste your embed code into the text area below.\')</p>\n <textarea></textarea>\n </div>\n <div class="ui-editor-preview-tab" style="display: none">\n <p>_(\'A preview of your embedded object is displayed below.\')</p>\n <div class="ui-editor-embed-preview"></div>\n </div>\n </div>\n</div>\n',
|
218
|
-
"cancel.dialog":"<div>\n _('Are you sure you want to stop editing?')\n <br/><br/>\n _('All changes will be lost!')\n</div>\n","tagmenu.menu":'<select autocomplete="off" name="tag" class="ui-editor-tag-select">\n <option value="na">_(\'N/A\')</option>\n <option value="p">_(\'Paragraph\')</option>\n <option value="h1">_(\'Heading 1\')</option>\n <option value="h2">_(\'Heading 2\')</option>\n <option value="h3">_(\'Heading 3\')</option>\n
|
219
|
-
|
220
|
-
|
221
|
-
messages:'<div class="{{baseClass}}-messages" />\n'},getTemplate:function(a,
|
222
|
-
"-"+Math.floor(1E5*Math.random());
|
223
|
-
defaultUi:{ui:null,editor:null,options:null,init:function(){},persist:function(a,b){return this.editor.persist(a,b)},bind:function(a,b,
|
224
|
-
b,
|
225
|
-
persist:function(a,b,
|
226
|
-
a.getElement())}})}},alignCenter:{init:function(a){return a.uiButton({title:f("Center Align"),click:function(){a.toggleBlockStyle({"text-align":"center"},a.getElement())}})}},alignRight:{init:function(a){return a.uiButton({title:f("Right Align"),click:function(){a.toggleBlockStyle({"text-align":"right"},a.getElement())}})}}});
|
217
|
+
"cancel.dialog":"<div>\n _('Are you sure you want to stop editing?')\n <br/><br/>\n _('All changes will be lost!')\n</div>\n","tagmenu.menu":'<select autocomplete="off" name="tag" class="ui-editor-tag-select">\n <option value="na">_(\'N/A\')</option>\n <option value="p">_(\'Paragraph\')</option>\n <option value="h1">_(\'Heading 1\')</option>\n <option value="h2">_(\'Heading 2\')</option>\n <option value="h3">_(\'Heading 3\')</option>\n</select>\n',"unsavededitwarning.warning":'<div title="_(\'This block contains unsaved changes\')" class="{{baseClass}}">\n <span class="ui-icon ui-icon-alert"></span>\n <span>There are unsaved edits on this page</span>\n</div>',
|
218
|
+
root:"<a href=\"javascript: // _('Select all editable content')\" \n class=\"{{baseClass}}-select-element\"\n title=\"_('Click to select all editable content')\">_('root')</a> \n",message:'<div class="{{baseClass}}-message-wrapper {{baseClass}}-message-{{type}}">\n <div class="ui-icon ui-icon-{{type}}" />\n <div class="{{baseClass}}-message">{{message}}</div>\n <div class="{{baseClass}}-message-close ui-icon ui-icon-circle-close"></div>\n</div>\n',tag:' > <a href="javascript: // _(\'Select {{element}} element\')" \n class="{{baseClass}}-select-element"\n title="_(\'Click to select the contents of the \'{{element}}\' element\')"\n data-ui-editor-selection="{{data}}">{{element}}</a> \n',
|
219
|
+
unsupported:'<div class="{{baseClass}}-unsupported-overlay"></div>\n<div class="{{baseClass}}-unsupported-content">\n It has been detected that you a using a browser that is not supported by Raptor, please\n use one of the following browsers:\n\n <ul>\n <li><a href="http://www.google.com/chrome">Google Chrome</a></li>\n <li><a href="http://www.firefox.com">Mozilla Firefox</a></li>\n <li><a href="http://www.google.com/chromeframe">Internet Explorer with Chrome Frame</a></li>\n </ul>\n\n <div class="{{baseClass}}-unsupported-input">\n <button class="{{baseClass}}-unsupported-close">Close</button>\n <input name="{{baseClass}}-unsupported-show" type="checkbox" />\n <label>Don\'t show this message again</label>\n </div>\n<div>',
|
220
|
+
messages:'<div class="{{baseClass}}-messages" />\n'},getTemplate:function(a,c){var d;if(this.templates[a])d=this.templates[a];else{var e=c||this.urlPrefix,f=a.split("."),e=1===f.length?e+("templates/"+f[0]+".html"):e+("plugins/"+f[0]+"/templates/"+f.splice(1).join("/")+".html");b.ajax({url:e,type:"GET",async:!1,timeout:15E3,error:function(){d=null},success:function(a){d=a}});this.templates[a]=d}return d},getUniqueId:function(){for(var a=b.ui.editor.defaults.baseClass+"-uid-"+(new Date).getTime()+
|
221
|
+
"-"+Math.floor(1E5*Math.random());b("#"+a).length;)a=b.ui.editor.defaults.baseClass+"-uid-"+(new Date).getTime()+"-"+Math.floor(1E5*Math.random());return a},isDirty:function(){for(var a=this.getInstances(),b=0;b<a.length;b++)if(a[b].isDirty())return!0;return!1},unloadWarning:function(){for(var a=this.getInstances(),b=0;b<a.length;b++)if(a[b].isDirty()&&a[b].isEditing()&&a[b].options.unloadWarning)return f("\nThere are unsaved changes on this page. \nIf you navigate away from this page you will lose your unsaved changes")},
|
222
|
+
defaultUi:{ui:null,editor:null,options:null,init:function(){},persist:function(a,b){return this.editor.persist(a,b)},bind:function(a,b,d){this.editor.bind(a,b,d||this)},unbind:function(a,b,d){this.editor.unbind(a,b,d||this)}},registerUi:function(a,c){if("string"===typeof a)this.ui[a]=b.extend({},this.defaultUi,c);else for(var d in a)this.registerUi(d,a[d])},defaultPlugin:{editor:null,options:null,init:function(){},persist:function(a,b){return this.editor.persist(a,b)},bind:function(a,b,d){this.editor.bind(a,
|
223
|
+
b,d||this)},unbind:function(a,b,d){this.editor.unbind(a,b,d||this)}},registerPlugin:function(a,c){if("string"===typeof a)this.plugins[a]=b.extend({},this.defaultPlugin,c);else for(var d in a)this.registerPlugin(d,a[d])},bind:function(a,b){this.events[a]||(this.events[a]=[]);this.events[a].push(b)},unbind:function(a){b.each(this.events,function(b){for(var d=0;d<this.length;d++)this[d]===a&&this.events[b].splice(d,1)})},fire:function(a){if(this.events[a])for(var b=0,d=this.events[a].length;b<d;b++)this.events[a][b].call(this)},
|
224
|
+
persist:function(a,b,d){a=d?d+"."+a:a;if(localStorage){d=localStorage.uiWidgetEditor?JSON.parse(localStorage.uiWidgetEditor):{};if(b===u)return d[a];d[a]=b;localStorage.uiWidgetEditor=JSON.stringify(d)}return b}});var h,l;b.ui.editor.registerUi({alignLeft:{init:function(a){return a.uiButton({title:f("Left Align"),click:function(){a.toggleBlockStyle({"text-align":"left"},a.getElement())}})}},alignJustify:{init:function(a){return a.uiButton({title:f("Justify"),click:function(){a.toggleBlockStyle({"text-align":"justify"},
|
225
|
+
a.getElement())}})}},alignCenter:{init:function(a){return a.uiButton({title:f("Center Align"),click:function(){a.toggleBlockStyle({"text-align":"center"},a.getElement())}})}},alignRight:{init:function(a){return a.uiButton({title:f("Right Align"),click:function(){a.toggleBlockStyle({"text-align":"right"},a.getElement())}})}}});b.ui.editor.registerUi({textBold:{init:function(a,b){return this.editor.uiButton({title:f("Bold"),click:function(){a.toggleWrapper("strong",{classes:b.classes||b.cssPrefix+"bold"})}})}},
|
227
226
|
textItalic:{init:function(a,b){return a.uiButton({title:f("Italic"),click:function(){a.toggleWrapper("em",{classes:b.classes||b.cssPrefix+"italic"})}})}},textUnderline:{init:function(a,b){return a.uiButton({title:f("Underline"),click:function(){a.toggleWrapper("u",{classes:b.classes||b.cssPrefix+"underline"})}})}},textStrike:{init:function(a,b){return a.uiButton({title:f("Strikethrough"),click:function(){a.toggleWrapper("del",{classes:b.classes||b.cssPrefix+"strike"})}})}},textSub:{init:function(a,
|
228
|
-
b){return a.uiButton({title:f("Sub script"),click:function(){a.toggleWrapper("sub",{classes:b.classes||b.cssPrefix+"sub"})}})}},textSuper:{init:function(a,b){return a.uiButton({title:f("Super script"),click:function(){a.toggleWrapper("sup",{classes:b.classes||b.cssPrefix+"super"})}})}}});
|
229
|
-
|
230
|
-
buttons:[{text:f("OK"),click:function(){a.cancel();
|
231
|
-
a.resetHtml();a.hideToolbar();a.disableEditing()})}}});
|
232
|
-
for(a=0;a<this.options.stripAttrContent.length;a++)
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
this.
|
244
|
-
this.
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
click:function(){a.
|
250
|
-
b.
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
this,c=this.
|
257
|
-
|
258
|
-
|
259
|
-
"
|
260
|
-
"
|
261
|
-
"
|
262
|
-
|
263
|
-
|
264
|
-
"
|
265
|
-
"
|
266
|
-
"
|
267
|
-
"
|
268
|
-
"
|
269
|
-
|
270
|
-
"
|
271
|
-
|
272
|
-
"
|
273
|
-
|
274
|
-
"
|
275
|
-
"
|
276
|
-
"
|
277
|
-
"
|
278
|
-
"
|
279
|
-
"
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
"
|
284
|
-
"
|
285
|
-
"
|
286
|
-
"
|
227
|
+
b){return a.uiButton({title:f("Sub script"),click:function(){a.toggleWrapper("sub",{classes:b.classes||b.cssPrefix+"sub"})}})}},textSuper:{init:function(a,b){return a.uiButton({title:f("Super script"),click:function(){a.toggleWrapper("sup",{classes:b.classes||b.cssPrefix+"super"})}})}}});b.ui.editor.registerUi({quoteBlock:{init:function(a,b){return a.uiButton({title:f("Blockquote"),icon:"ui-icon-quote",click:function(){a.toggleWrapper("blockquote",{classes:b.classes||b.cssPrefix+"blockquote"})}})}}});
|
228
|
+
b.ui.editor.registerUi({cancel:{init:function(a){return a.uiButton({name:"cancel",title:f("Cancel"),icons:{primary:"ui-icon-cancel"},dialog:null,click:function(){this.confirm()}})},confirm:function(){var a=this.editor.getPlugin("cancel"),c=this.editor;c.isDirty()?(this.dialog||(this.dialog=b(c.getTemplate("cancel.dialog"))),this.dialog.dialog({modal:!0,resizable:!1,title:f("Confirm Cancel Editing"),dialogClass:c.options.dialogClass+" "+c.options.baseClass,show:c.options.dialogShowAnimation,hide:c.options.dialogHideAnimation,
|
229
|
+
buttons:[{text:f("OK"),click:function(){a.cancel();b(this).dialog("close")}},{text:f("Cancel"),click:function(){b(this).dialog("close")}}],open:function(){var a=b(this).parent().find(".ui-dialog-buttonpane");a.find("button:eq(0)").button({icons:{primary:"ui-icon-circle-check"}});a.find("button:eq(1)").button({icons:{primary:"ui-icon-circle-close"}})},close:function(){b(this).dialog("destroy").remove()}})):a.cancel()}}});b.ui.editor.registerPlugin({cancel:{cancel:function(){this.editor.unify(function(a){a.fire("cancel");
|
230
|
+
a.resetHtml();a.hideToolbar();a.disableEditing()})}}});b.ui.editor.registerPlugin("clean",{options:{stripAttrs:["_moz_dirty"],stripAttrContent:{type:"_moz"},stripEmptyTags:"h1,h2,h3,h4,h5,h6,p,b,i,u,strong,em,big,small,div,span".split(","),stripEmptyAttrs:["class","id","style"],stripDomains:[{selector:"a",attributes:["href"]},{selector:"img",attributes:["src"]}]},init:function(a){a.bind("change",this.clean,this)},clean:function(){var a,c=this.editor;for(a=0;a<this.options.stripAttrs.length;a++)c.getElement().find("["+
|
231
|
+
this.options.stripAttrs[a]+"]").removeAttr(this.options.stripAttrs[a]);for(a=0;a<this.options.stripAttrContent.length;a++)c.getElement().find("["+a+'="'+this.options.stripAttrs[a]+'"]').removeAttr(this.options.stripAttrs[a]);for(a=0;a<this.options.stripEmptyTags.length;a++)c.getElement().find(this.options.stripEmptyTags[a]).filter(function(){if(""!==b.trim(b(this).html()))return!1;if(!b(this).hasClass("rangySelectionBoundary"))return!0;if(!1!==c.savedSelection)return!1}).remove();for(a=0;a<this.options.stripEmptyAttrs.length;a++){var d=
|
232
|
+
this.options.stripEmptyAttrs[a];c.getElement().find("["+this.options.stripEmptyAttrs[a]+"]").filter(function(){return""===b.trim(b(this).attr(d))}).removeAttr(this.options.stripEmptyAttrs[a])}var e=r.location.protocol+"//"+r.location.host,f="//"+r.location.host;for(a=0;a<this.options.stripDomains.length;a++){var g=this.options.stripDomains[a];this.editor.getElement().find(g.selector).each(function(){for(var a=0;a<g.attributes.length;a++){var c=b(this).attr(g.attributes[a]);"undefined"!==typeof c&&
|
233
|
+
(0===c.indexOf(e)?b(this).attr(g.attributes[a],c.substr(e.length)):0===c.indexOf(f)&&b(this).attr(g.attributes[a],c.substr(f.length)))}})}}});b.ui.editor.registerUi({clean:{init:function(a){return a.uiButton({title:f("Remove unnecessary markup from editor content"),click:function(){a.getPlugin("clean").clean()}})}}});b.ui.editor.registerUi({clearFormatting:{init:function(a){return this.editor.uiButton({title:f("Clear Formatting"),click:function(){var c=o.getSelection();if(0<c.rangeCount){var d=c.getRangeAt(0).cloneRange(),
|
234
|
+
e=d.extractContents();""==n(e)&&(a.expandToParent(d),c.setSingleRange(d),e=d.extractContents());e=b("<div/>").append(n(e)).text();for(c=d.commonAncestorContainer;c&&c.parentNode!=a.getElement().get(0);)c=c.parentNode;if(c){d.setEndAfter(c);var f=d.extractContents();d.collapseAfter(c);d.insertNode(f);d.collapseAfter(c)}d.insertNode(document.createTextNode(e))}a.checkChange()}})}}});b.ui.editor.registerPlugin("clickToEdit",{init:function(a,c){var d=this,e=b(a.getTemplate("clicktoedit.message",c)).appendTo("body"),
|
235
|
+
c=b.extend({},{obscureLinks:!1,position:{at:"center center",of:a.getElement(),my:"center center",using:function(a){b(this).css({position:"absolute",top:a.top,left:a.left})}}},c);this.selection=function(){var a;document.selection?a=document.selection.createRange():document.getSelection().rangeCount&&(a=document.getSelection().getRangeAt(0));return a};this.show=function(){a.isEditing()||(a.getElement().addClass(c.baseClass+"-highlight"),a.getElement().addClass(c.baseClass+"-hover"),e.position(c.position),
|
236
|
+
e.addClass(c.baseClass+"-visible"))};this.hide=function(){a.getElement().removeClass(c.baseClass+"-highlight");a.getElement().removeClass(c.baseClass+"-hover");e.removeClass(c.baseClass+"-visible")};this.edit=function(){d.hide();a.isEditing()||a.enableEditing();a.isVisible()||a.showToolbar(d.selection())};e.position(c.position);c.obscureLinks||(a.getElement().find("a").bind("mouseenter."+a.widgetName,d.hide),a.getElement().find("a").bind("mouseleave."+a.widgetName,d.show));a.getElement().bind("mouseenter."+
|
237
|
+
a.widgetName,d.show);a.getElement().bind("mouseleave."+a.widgetName,d.hide);a.getElement().bind("click."+a.widgetName,function(a){(c.obscureLinks||!b(a.target).is("a")&&!b(a.target).parents("a").length)&&d.edit()});a.bind("destroy",function(){e.remove();a.getElement().unbind("mouseenter."+a.widgetName,d.show);a.getElement().unbind("mouseleave."+a.widgetName,d.hide);a.getElement().unbind("click."+a.widgetName,d.edit)})}});b.ui.editor.registerPlugin("dock",{enabled:!1,docked:!1,topSpacer:null,bottomSpacer:null,
|
238
|
+
options:{docked:!1,dockToElement:!1,dockUnder:!1,persist:!0,persistID:null},init:function(){this.bind("show",this.show);this.bind("hide",this.hide);this.bind("disabled",this.disable);this.bind("destroy",this.destroy,this)},show:function(){this.enabled?this.isDocked()&&this.showSpacers():((this.loadState()||this.options.docked)&&this.dock(),this.enabled=!0)},hide:function(){this.hideSpacers();this.editor.toolbar.css("width","auto")},showSpacers:function(){!this.options.dockToElement&&this.editor.toolbar.is(":visible")&&
|
239
|
+
(this.topSpacer=b("<div/>").addClass(this.options.baseClass+"-top-spacer").height(this.editor.toolbar.outerHeight()).prependTo("body"),this.bottomSpacer=b("<div/>").addClass(this.options.baseClass+"-bottom-spacer").height(this.editor.path.outerHeight()).appendTo("body"),this.editor.fire("resize"))},hideSpacers:function(){this.topSpacer&&(this.topSpacer.remove(),this.topSpacer=null);this.bottomSpacer&&(this.bottomSpacer.remove(),this.bottomSpacer=null);this.editor.fire("resize")},swapStyle:function(a,
|
240
|
+
b,d){var e={},f;for(f in d)a.css(f,b.css(f)),e[f]=b.css(f),b.css(f,d[f]);return e},revertStyle:function(a,b){for(var d in b)a.css(d,b[d])},dockToElement:function(){var a=b("<div/>").insertBefore(this.editor.getElement()).addClass(this.options.baseClass+"-docked-to-element-wrapper");this.editor.wrapper.appendTo(a);this.previousStyle=this.swapStyle(a,this.editor.getElement(),{display:"block","float":"none",clear:"none",position:"static","margin-left":0,"margin-right":0,"margin-top":0,"margin-bottom":0,
|
241
|
+
outline:0,width:"auto"});a.css("width",a.width()+parseInt(this.editor.getElement().css("padding-left"),10)+parseInt(this.editor.getElement().css("padding-right"),10));this.editor.getElement().appendTo(this.editor.wrapper).addClass(this.options.baseClass+"-docked-element")},undockFromElement:function(){this.editor.getElement().insertAfter(this.editor.wrapper).removeClass(this.options.baseClass+"-docked-element");this.editor.wrapper.appendTo("body").removeClass(this.options.baseClass+"-docked-to-element")},
|
242
|
+
dockToBody:function(){var a=0;b(this.options.dockUnder).length&&(a=b(this.options.dockUnder).outerHeight());this.top=this.editor.toolbarWrapper.css("top");this.editor.toolbarWrapper.css("top",a);this.editor.wrapper.addClass(this.options.baseClass+"-docked");this.editor.messages.css("top",a+this.editor.toolbar.outerHeight())},undockFromBody:function(){this.editor.toolbarWrapper.css("top",this.top);this.editor.wrapper.removeClass(this.options.baseClass+"-docked");this.hideSpacers()},dock:function(){if(!this.docked){this.docked=
|
243
|
+
this.saveState(!0);this.options.dockToElement?this.dockToElement():this.dockToBody();var a=this.editor.wrapper.find("."+this.options.baseClass+"-button").button({icons:{primary:"ui-icon-pin-w"}});a.attr("title")?a.attr("title",this.getTitle()):a.attr("data-title",this.getTitle());this.editor.toolbar.find("."+this.editor.options.baseClass+"-inner").addClass("ui-widget-header");this.showSpacers()}},undock:function(){if(this.docked){this.docked=this.destroying?!1:this.saveState(!1);this.editor.toolbar.find("."+
|
244
|
+
this.editor.options.baseClass+"-inner").removeClass("ui-widget-header");var a=this.editor.wrapper.find("."+this.options.baseClass+"-button").button({icons:{primary:"ui-icon-pin-s"}});a.attr("title")?a.attr("title",this.getTitle()):a.attr("data-title",this.getTitle());this.options.dockToElement?this.undockFromElement():this.undockFromBody();this.editor.fire("resize")}},isDocked:function(){return this.docked},getTitle:function(){return this.isDocked()?f("Click to detach the toolbar"):f("Click to dock the toolbar")},
|
245
|
+
saveState:function(a){if(this.persist)return this.persistID?this.persist("docked:"+this.persistID,a):this.persist("docked",a),a},loadState:function(){return!this.persist?null:this.persistID?this.persist("docked:"+this.persistID):this.persist("docked")},disable:function(){this.hideSpacers()},destroy:function(){this.destroying=!0;this.undock()}});b.ui.editor.registerUi({dock:{init:function(a){return a.uiButton({title:a.getPlugin("dock").getTitle(),icon:a.getPlugin("dock").isDocked()?"ui-icon-pin-w":
|
246
|
+
"ui-icon-pin-s",click:function(){var b=a.getPlugin("dock");b.isDocked()?b.undock():b.dock();a.unify(function(a){b.isDocked()?a.getPlugin("dock").dock():a.getPlugin("dock").undock()})}})}}});b.ui.editor.registerUi({embed:{dialog:null,init:function(a){a.bind("hide",this.hide,this);return a.uiButton({icon:"ui-icon-youtube",title:f("Embed object"),click:function(){this.show()}})},hide:function(){this.dialog&&b(this.dialog).dialog("destroy").remove();this.dialog=null;b(this.ui.button).button("option",
|
247
|
+
"disabled",!1)},show:function(){if(!this.dialog){b(this.ui.button).button("option","disabled",!0);var a=this;a.editor.saveSelection();this.dialog=b(this.editor.getTemplate("embed.dialog"));this.dialog.dialog({modal:!1,width:600,height:400,resizable:!0,title:f("Paste Embed Code"),autoOpen:!0,dialogClass:a.options.baseClass+" "+a.options.dialogClass,buttons:[{text:f("Embed Object"),click:function(){a.editor.restoreSelection();a.editor.replaceSelection(b(this).find("textarea").val());b(this).dialog("close")}},
|
248
|
+
{text:f("Close"),click:function(){a.hide()}}],open:function(){var a=b(this).parent().find(".ui-dialog-buttonpane");a.find("button:eq(0)").button({icons:{primary:"ui-icon-circle-check"}});a.find("button:eq(1)").button({icons:{primary:"ui-icon-circle-close"}});var d=b(this).find(".ui-editor-embed-panel-tabs");d.find("ul li").click(function(){d.find("ul li").removeClass("ui-state-active").removeClass("ui-tabs-selected");b(this).addClass("ui-state-active").addClass("ui-tabs-selected");d.children("div").hide().eq(b(this).index()).show()});
|
249
|
+
var e=b(this).find(".ui-editor-embed-preview");b(this).find("textarea").change(function(){b(e).html(b(this).val())})},close:function(){a.hide()}})}}}});b.ui.editor.registerPlugin("emptyElement",{options:{tag:"<p/>"},init:function(){this.bind("change",this.change)},change:function(){var a=this;this.textNodes(this.editor.getElement()).each(function(){b(this).wrap(b(a.options.tag));a.editor.selectEnd(this)});this.editor.checkChange()},textNodes:function(a){return b(a).contents().filter(function(){return 3==
|
250
|
+
this.nodeType&&b.trim(this.nodeValue).length})}});b.ui.editor.registerUi({floatLeft:{init:function(a){return a.uiButton({title:f("Float Image Left"),click:function(){j(function(a){b(a.commonAncestorContainer).find("img").css("float","left")})}})}},floatRight:{init:function(a){return a.uiButton({title:f("Float Image Right"),click:function(){j(function(a){b(a.commonAncestorContainer).find("img").css("float","right")})}})}},floatNone:{init:function(a){return a.uiButton({title:f("Remove Image Float"),
|
251
|
+
click:function(){j(function(a){b(a.commonAncestorContainer).find("img").css("float","none")})}})}}});b.ui.editor.registerUi({fontSizeInc:{init:function(a,b){return a.uiButton({title:f("Increase Font Size"),click:function(){a.inverseWrapWithTagClass("big",b.cssPrefix+"big","small",b.cssPrefix+"small")}})}},fontSizeDec:{init:function(a,b){return a.uiButton({title:f("Decrease Font Size"),click:function(){a.inverseWrapWithTagClass("small",b.cssPrefix+"small","big",b.cssPrefix+"big")}})}}});b.ui.editor.registerUi({showGuides:{init:function(a,
|
252
|
+
b){a.bind("cancel",this.cancel,this);a.bind("destroy",this.cancel,this);return a.uiButton({title:f("Show Guides"),icon:"ui-icon-pencil",click:function(){a.getElement().toggleClass(b.baseClass+"-visible")}})},cancel:function(){this.editor.getElement().removeClass(this.options.baseClass+"-visible")}}});b.ui.editor.registerUi({undo:{init:function(a){a.bind("change",this.change,this);return a.uiButton({title:f("Step Back"),disabled:!0,click:function(){a.historyBack()}})},change:function(){0===this.editor.present?
|
253
|
+
this.ui.disable():this.ui.enable()}},redo:{init:function(a){a.bind("change",this.change,this);return this.ui=a.uiButton({title:f("Step Forward"),disabled:!0,click:function(){a.historyForward()}})},change:function(){this.editor.present===this.editor.history.length-1?this.ui.disable():this.ui.enable()}}});b.ui.editor.registerPlugin("hotkeys",{options:{actions:[{ui:"textBold",key:"b",label:f("ctrl + b")},{ui:"textItalic",key:"i",label:f("ctrl + i")},{ui:"textUnderline",key:"u",label:f("ctrl + u")},{ui:"undo",
|
254
|
+
key:"z",label:f("ctrl + z")},{ui:"redo",key:"y",label:f("ctrl + y")},{ui:"cancel",meta:!1,key:27,label:f("esc")},{ui:"save",key:"s",label:f("ctrl + s")}]},indexedActions:{},keyUpEventSignature:null,keyDownEventSignature:null,init:function(a){this.keyUpEventSignature="keyup."+this.options.baseClass;this.keyDownEventSignature="keydown."+this.options.baseClass;a.bind("enabled",this.enabled,this);a.bind("disabled",this.disabled,this)},disabled:function(){b(r).unbind(this.keyUpEventSignature);b(r).unbind(this.keyDownEventSignature);
|
255
|
+
this.indexedActions={}},enabled:function(){for(var a,c=0;c<this.options.actions.length;c++)if(a=this.options.actions[c],this.indexedActions[this.isNumeric(a.key)?a.key:a.key.charCodeAt(0)]=a,"undefined"!==typeof a.ui){var d=this.editor.getUi(a.ui);"undefined"!==typeof d&&d.ui.button.attr("title",d.ui.title+" ("+a.label+")")}var e=this;b(r).bind(this.keyDownEventSignature,function(a){e.actionForKeyCombination.call(e,a)&&a.preventDefault()});b(r).bind(this.keyUpEventSignature,function(a){var c=e.actionForKeyCombination.call(e,
|
256
|
+
a);c&&((b.isFunction(c.callback)?c.callback:function(){e.triggerUiAction(c.ui)}).call(e,a),a.preventDefault())})},actionForKeyCombination:function(a){var b=a.which;65<=b&&90>=b&&(b+=32);var d=this.indexedActions[b];if("undefined"===typeof d||!(!1===d.meta||a.ctrlKey||a.metaKey))return!1;a=!1;return(a=this.isNumeric(d.key)?b===d.key:String.fromCharCode(b).toLowerCase()===d.key)?d:!1},triggerUiAction:function(a,b){var d=this.editor.getUi(a);"undefined"!==typeof d&&d.ui.click.apply(d,b)},isNumeric:function(a){return!isNaN(a-
|
257
|
+
0)}});b.ui.editor.registerUi({hr:{init:function(a){return a.uiButton({title:f("Insert Horizontal Rule"),click:function(){a.replaceSelection("<hr/>")}})}}});b.ui.editor.registerUi({i18n:{init:function(a){var c=this,d=this.persist("locale");d&&t(d);var d=b('<select autocomplete="off" name="i18n"/>'),e;for(e in g){var i=b('<option value="'+e+'" class="'+e+'"/>');i.html(p[e]);m===e&&i.attr("selected","selected");d.append(i)}return a.uiSelectMenu({title:f("Change Language"),select:d,change:function(a){t(c.persist("locale",
|
258
|
+
a))}})}}});s("en","English",{"A preview of your embedded object is displayed below.":"A preview of your embedded object is displayed below.","Added link: {{link}}":"Added link: {{link}}","All changes will be lost!":"All changes will be lost!","Apply Source":"Apply Source","Are you sure you want to stop editing?":"Are you sure you want to stop editing?",Blockquote:"Blockquote",Bold:"Bold",Cancel:"Cancel","Center Align":"Center Align","Change HTML tag of selected element":"Change HTML tag of selected element",
|
259
|
+
"Change Language":"Change Language","Check this box to have the file open in a new browser window":"Check this box to have the file open in a new browser window","Check this box to have the link open in a new browser window":"Check this box to have the link open in a new browser window","Choose a link type:":"Choose a link type:","Click to begin editing":"Click to begin editing","Click to detach the toolbar":"Click to detach the toolbar","Click to dock the toolbar":"Click to dock the toolbar","Click to select all editable content":"Click to select all editable content",
|
260
|
+
"Click to select the contents of the '{{element}}' element":"Click to select the contents of the '{{element}}' element",Close:"Close","Confirm Cancel Editing":"Confirm Cancel Editing","Content Statistics":"Content Statistics","Content contains more than {{limit}} characters and may be truncated":"Content contains more than {{limit}} characters and may be truncated","Content will not be truncated":"Content will not be truncated","Copy the file's URL from your browser's address bar and paste it into the box above":"Copy the file's URL from your browser's address bar and paste it into the box above",
|
261
|
+
"Copy the web address from your browser's address bar and paste it into the box above":"Copy the web address from your browser's address bar and paste it into the box above","Decrease Font Size":"Decrease Font Size",Destroy:"Destroy",Divider:"Divider","Document or other file":"Document or other file","Edit Link":"Edit Link",Email:"Email","Email address":"Email address","Embed Code":"Embed Code","Embed Object":"Embed Object","Embed object":"Embed object","Ensure the file has been uploaded to your website":"Ensure the file has been uploaded to your website",
|
262
|
+
"Enter email address":"Enter email address","Enter subject":"Enter subject","Enter your URL":"Enter your URL","Failed to resize images (error {{error}})":"Failed to resize images (error {{error}})","Failed to save {{failed}} content block(s).":"Failed to save {{failed}} content block(s).","Find the page on the web you want to link to":"Find the page on the web you want to link to","Float Left":"Float Left","Float None":"Float None","Float Right":"Float Right","Formatted & Cleaned":"Formatted & Cleaned",
|
263
|
+
"Formatted Unclean":"Formatted Unclean","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Increase Font Size":"Increase Font Size",Initializing:"Initializing",Insert:"Insert","Insert Horizontal Rule":"Insert Horizontal Rule","Insert Link":"Insert Link","Insert Snippet":"Insert Snippet",Italic:"Italic",Justify:"Justify","Learn More About the Raptor WYSIWYG Editor":"Learn More About the Raptor WYSIWYG Editor","Left Align":"Left Align","Link to a document or other file":"Link to a document or other file",
|
264
|
+
"Link to a page on this or another website":"Link to a page on this or another website","Link to an email address":"Link to an email address",Location:"Location","N/A":"N/A","New window":"New window","No changes detected to save...":"No changes detected to save...","Not sure what to put in the box above?":"Not sure what to put in the box above?",OK:"OK","Open the uploaded file in your browser":"Open the uploaded file in your browser","Ordered List":"Ordered List","Page on this or another website":"Page on this or another website",
|
265
|
+
Paragraph:"Paragraph","Paste Embed Code":"Paste Embed Code","Paste your embed code into the text area below.":"Paste your embed code into the text area below.","Plain Text":"Plain Text",Preview:"Preview",Raptorize:"Raptorize",Reinitialise:"Reinitialise","Remaining characters before the recommended character limit is reached":"Remaining characters before the recommended character limit is reached","Remove Link":"Remove Link","Remove unnecessary markup from editor content":"Remove unnecessary markup from editor content",
|
266
|
+
"Resizing image(s)":"Resizing image(s)","Right Align":"Right Align",Save:"Save","Saved {{saved}} out of {{dirty}} content blocks.":"Saved {{saved}} out of {{dirty}} content blocks.","Saving changes...":"Saving changes...","Select all editable content":"Select all editable content","Select {{element}} element":"Select {{element}} element","Show Guides":"Show Guides","Source Code":"Source Code","Step Back":"Step Back","Step Forward":"Step Forward",Strikethrough:"Strikethrough","Sub script":"Sub script",
|
267
|
+
"Subject (optional)":"Subject (optional)","Successfully saved {{saved}} content block(s).":"Successfully saved {{saved}} content block(s).","Super script":"Super script","The URL does not look well formed":"The URL does not look well formed","The email address does not look well formed":"The email address does not look well formed",'The image "{{image}}" is too large for the element being edited.<br/>It has been resized with CSS.':'The image "{{image}}" is too large for the element being edited.<br/>It has been resized with CSS.',
|
268
|
+
'The image "{{image}}" is too large for the element being edited.<br/>It will be replaced with a resized copy when your edits are saved.':'The image "{{image}}" is too large for the element being edited.<br/>It will be replaced with a resized copy when your edits are saved.',"The url for the file you inserted doesn't look well formed":"The url for the file you inserted doesn't look well formed","The url for the link you inserted doesn't look well formed":"The url for the link you inserted doesn't look well formed",
|
269
|
+
"This block contains unsaved changes":"This block contains unsaved changes",Underline:"Underline","Unnamed Button":"Unnamed Button","Unnamed Select Menu":"Unnamed Select Menu","Unordered List":"Unordered List","Update Link":"Update Link","Updated link: {{link}}":"Updated link: {{link}}","View / Edit Source":"View / Edit Source","View Source":"View Source","\nThere are unsaved changes on this page. \nIf you navigate away from this page you will lose your unsaved changes":"\nThere are unsaved changes on this page. \nIf you navigate away from this page you will lose your unsaved changes",
|
270
|
+
"ctrl + b":"ctrl + b","ctrl + i":"ctrl + i","ctrl + s":"ctrl + s","ctrl + u":"ctrl + u","ctrl + y":"ctrl + y","ctrl + z":"ctrl + z",esc:"esc",root:"root","{{charactersRemaining}} characters over limit":"{{charactersRemaining}} characters over limit","{{charactersRemaining}} characters remaining":"{{charactersRemaining}} characters remaining","{{characters}} characters, {{charactersRemaining}} over the recommended limit":"{{characters}} characters, {{charactersRemaining}} over the recommended limit",
|
271
|
+
"{{characters}} characters, {{charactersRemaining}} remaining":"{{characters}} characters, {{charactersRemaining}} remaining","{{images}} image(s) have been replaced with resized versions":"{{images}} image(s) have been replaced with resized versions","{{sentences}} sentences":"{{sentences}} sentences","{{words}} word":"{{words}} word","{{words}} words":"{{words}} words"});s("fr","Fran\u00e7ais",{"A preview of your embedded object is displayed below.":"Un aper\u00e7u de votre objet int\u00e9gr\u00e9 est affich\u00e9 ci-dessous.",
|
272
|
+
"Added link: {{link}}":"Lien ajout\u00e9 : {{link}}","All changes will be lost!":"Toutes les modifications seront perdues !","Apply Source":"Appliquer la source","Are you sure you want to stop editing?":"\u00cates-vous s\u00fbr(e) de vouloir arr\u00eater la modification ?",Blockquote:"Citation",Bold:"Gras",Cancel:"Annuler","Center Align":"Aligner au centre","Change HTML tag of selected element":"Modifier la balise HTML de l'\u00e9l\u00e9ment s\u00e9lectionn\u00e9","Change Language":"Changer de langue",
|
273
|
+
"Check this box to have the file open in a new browser window":"Cochez cette case pour ouvrir le fichier dans une nouvelle fen\u00eatre de navigateur","Check this box to have the link open in a new browser window":"Cochez cette case pour ouvrir le lien dans une nouvelle fen\u00eatre de navigateur","Choose a link type:":"Choisissez un type de lien :","Click to begin editing":"Cliquer pour commencer la modification","Click to detach the toolbar":"Cliquer pour d\u00e9tacher la barre d'outils","Click to dock the toolbar":"Cliquer pour ancrer la barre d'outils",
|
274
|
+
"Click to select all editable content":"Cliquer pour s\u00e9lectionner tout le contenu modifiable","Click to select the contents of the '{{element}}' element":"Cliquer pour s\u00e9lectionner le contenu de l'\u00e9l\u00e9ment '{{element}}'",Close:"Fermer","Confirm Cancel Editing":"Confirmer l'annulation des modifications","Content Statistics":"Statistiques de contenu","Content contains more than {{limit}} characters and may be truncated":"Le contenu contient plus de {{limit}} caract\u00e8res et peut \u00eatre tronqu\u00e9",
|
275
|
+
"Content will not be truncated":"Le contenu ne sera pas tronqu\u00e9","Copy the file's URL from your browser's address bar and paste it into the box above":"Copiez l'URL du fichier depuis la barre d'adresse de votre navigateur et collez-la dans le champ ci-dessus","Copy the web address from your browser's address bar and paste it into the box above":"Copiez l'adresse web depuis la barre d'adresse de votre navigateur et collez-la dans le champ ci-dessus","Decrease Font Size":"Diminuer la taille de la police",
|
276
|
+
Destroy:"D\u00e9truire",Divider:"Div","Document or other file":"Document ou autre fichier","Edit Link":"Modifier le lien",Email:"E-mail","Email address":"Adresse e-mail","Embed Code":"Code int\u00e9gr\u00e9","Embed Object":"Int\u00e9grer l'objet","Embed object":"Object int\u00e9gr\u00e9","Ensure the file has been uploaded to your website":"V\u00e9rifiez que le fichier a \u00e9t\u00e9 transf\u00e9r\u00e9 vers votre site","Enter email address":"Saisir l'adresse e-mail","Enter subject":"Saisir le sujet",
|
277
|
+
"Enter your URL":"Saisir l'URL","Failed to resize images (error {{error}})":"\u00c9chec de redimensionnement des images (erreur {{error}})","Failed to save {{failed}} content block(s).":"\u00c9chec d'enregistrement du(des) bloc(s) de contenu {{failed}}.","Find the page on the web you want to link to":"Trouvez la page web que vous voulez lier","Float Left":"Flotter \u00e0 gauche","Float None":"Ne pas flotter","Float Right":"Flotter \u00e0 droite","Formatted & Cleaned":"Formatt\u00e9 & Nettoy\u00e9",
|
278
|
+
"Formatted Unclean":"Formatt\u00e9 non nettoy\u00e9","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Increase Font Size":"Augmenter la taille de la police",Initializing:"Initialisation",Insert:"Ins\u00e9rer","Insert Horizontal Rule":"Ins\u00e9rer une r\u00e8gle horizontale","Insert Link":"Ins\u00e9rer un lien","Insert Snippet":"Ins\u00e9rer un bout de code",Italic:"Italique",Justify:"Justifier","Learn More About the Raptor WYSIWYG Editor":"En savoir plus sur l'\u00e9diteur WYSIWYG Raptor",
|
279
|
+
"Left Align":"Aligner \u00e0 gauche","Link to a document or other file":"Lier un document ou un autre fichier","Link to a page on this or another website":"Lier une page ou un autre site","Link to an email address":"Lier une adresse e-mail",Location:"Emplacement","N/A":"N/A","New window":"Nouvelle fen\u00eatre","No changes detected to save...":"Aucune modification d\u00e9tect\u00e9e \u00e0 enregistrer...","Not sure what to put in the box above?":"Pas s\u00fbr(e) de savoir quoi mettre dans le champ ci-dessus ?",
|
280
|
+
OK:"OK","Open the uploaded file in your browser":"Ouvrir le fichier trasnf\u00e9r\u00e9 dans votre navigateur","Ordered List":"Liste ordonn\u00e9e","Page on this or another website":"Page sur ce site ou un autre site",Paragraph:"Paragraphe","Paste Embed Code":"Coller le code","Paste your embed code into the text area below.":"Collez votre code int\u00e9gr\u00e9 dans la zone de texte ci-dessous.","Plain Text":"Texte brut",Preview:"Aper\u00e7u",Raptorize:"Raptoriser",Reinitialise:"R\u00e9initialiser",
|
281
|
+
"Remaining characters before the recommended character limit is reached":"Caract\u00e8res restants avant que la limite de caract\u00e8re recommand\u00e9e ne soit atteinte","Remove Link":"Retirer le lien","Remove unnecessary markup from editor content":"Retirer le balisage non n\u00e9cessaire du contenu de l'\u00e9diteur","Resizing image(s)":"Redimensionnement de(s) image(s)","Right Align":"Aligner \u00e0 droite",Save:"Enregistrer","Saved {{saved}} out of {{dirty}} content blocks.":"{{saved}} enregistr\u00e9 sur {{dirty}} blocs de contenu.",
|
282
|
+
"Saving changes...":"Enregistrement des modifications...","Select all editable content":"S\u00e9lectionner tout le contenu modifiable","Select {{element}} element":"S\u00e9lectionner l'\u00e9l\u00e9ment {{element}}","Show Guides":"Afficher les guides","Source Code":"Code source","Step Back":"En arri\u00e8re","Step Forward":"En avant",Strikethrough:"Barr\u00e9","Sub script":"Indice","Subject (optional)":"Sujet (facultatif)","Successfully saved {{saved}} content block(s).":"{{saved}} bloc(s) de contenu enregistr\u00e9(s) avec succ\u00e8s.",
|
283
|
+
"Super script":"Exposant","The URL does not look well formed":"L'URL para\u00eet malform\u00e9e","The email address does not look well formed":"L'adresse e-mail para\u00eet malform\u00e9e",'The image "{{image}}" is too large for the element being edited.<br/>It has been resized with CSS.':"L'image \"{{image}}\" est trop grande pour l'\u00e9l\u00e9ment en cours de modification.<br/>Elle a \u00e9t\u00e9 redimensionn\u00e9e en CSS.",'The image "{{image}}" is too large for the element being edited.<br/>It will be replaced with a resized copy when your edits are saved.':"L'image \"{{image}}\" est trop grande pour l'\u00e9l\u00e9ment en cours de modification.<br/>Elle sera remplac\u00e9e par une copie redimensionn\u00e9e quand vos modifications seront enregistr\u00e9es.",
|
284
|
+
"The url for the file you inserted doesn't look well formed":"L'url du fichier que vous avez ins\u00e9r\u00e9 para\u00eet malform\u00e9e","The url for the link you inserted doesn't look well formed":"L'url du lien que vous avez ins\u00e9r\u00e9 para\u00eet malform\u00e9e","This block contains unsaved changes":"Ce bloc contient des modifications non enregistr\u00e9es",Underline:"Soulign\u00e9","Unnamed Button":"Boutton sans nom","Unnamed Select Menu":"Menu de s\u00e9lection sans nom","Unordered List":"Liste non ordonn\u00e9e",
|
285
|
+
"Update Link":"Mettre \u00e0 jour le lien","Updated link: {{link}}":"Lien mis \u00e0 jour : {{link}}","View / Edit Source":"Voir / Modifier la source","View Source":"Voir la source","\nThere are unsaved changes on this page. \nIf you navigate away from this page you will lose your unsaved changes":"\nIl y a des modifications non enregistr\u00e9es sur cette page. \nSi vous quittez cette page, vous perdrez vos modifications non enregistr\u00e9es","ctrl + b":"ctrl + b","ctrl + i":"ctrl + i","ctrl + s":"ctrl + s",
|
286
|
+
"ctrl + u":"ctrl + u","ctrl + y":"ctrl + y","ctrl + z":"ctrl + z",esc:"esc",root:"racine","{{charactersRemaining}} characters over limit":"{{charactersRemaining}} caract\u00e8res au-dessus de la limite","{{charactersRemaining}} characters remaining":"{{charactersRemaining}} caract\u00e8res restants","{{characters}} characters, {{charactersRemaining}} over the recommended limit":"{{characters}} caract\u00e8res, {{charactersRemaining}} au-dessus de la limite","{{characters}} characters, {{charactersRemaining}} remaining":"{{characters}} caract\u00e8res, {{charactersRemaining}} restants",
|
287
|
+
"{{images}} image(s) have been replaced with resized versions":"{{images}} image(s) a(ont) \u00e9t\u00e9 remplac\u00e9e(s) par une version redimensionn\u00e9e","{{sentences}} sentences":"{{sentences}} phrases","{{words}} word":"{{words}} mot","{{words}} words":"{{words}} mots"});s("zh_CN","\u7b80\u4f53\u4e2d\u6587",{"A preview of your embedded object is displayed below.":"A preview of your embedded object is displayed below.","Added link: {{link}}":"Added link: {{link}}","All changes will be lost!":"All changes will be lost!",
|
288
|
+
"Apply Source":"\u5e94\u7528\u6e90\u4ee3\u7801","Are you sure you want to stop editing?":"Are you sure you want to stop editing?",Blockquote:"\u5927\u6bb5\u5f15\u7528",Bold:"\u7c97\u4f53",Cancel:"\u53d6\u6d88","Center Align":"\u4e2d\u5fc3\u5bf9\u9f50\u6587\u672c","Change HTML tag of selected element":"Change HTML tag of selected element","Change Language":"\u6539\u53d8\u8bed\u8a00","Check this box to have the file open in a new browser window":"Check this box to have the file open in a new browser window",
|
287
289
|
"Check this box to have the link open in a new browser window":"Check this box to have the link open in a new browser window","Choose a link type:":"Choose a link type:","Click to begin editing":"Click to begin editing","Click to detach the toolbar":"Click to detach the toolbar","Click to dock the toolbar":"Click to dock the toolbar","Click to select all editable content":"Click to select all editable content","Click to select the contents of the '{{element}}' element":"Click to select the contents of the '{{element}}' element",
|
288
290
|
Close:"Close","Confirm Cancel Editing":"\u786e\u8ba4\u53d6\u6d88\u7f16\u8f91","Content Statistics":"Content Statistics","Content contains more than {{limit}} characters and may be truncated":"Content contains more than {{limit}} characters and may be truncated","Content will not be truncated":"Content will not be truncated","Copy the file's URL from your browser's address bar and paste it into the box above":"Copy the file's URL from your browser's address bar and paste it into the box above","Copy the web address from your browser's address bar and paste it into the box above":"Copy the web address from your browser's address bar and paste it into the box above",
|
289
291
|
"Decrease Font Size":"Decrease Font Size",Destroy:"Destroy",Divider:"Divider","Document or other file":"Document or other file","Edit Link":"Edit Link",Email:"Email","Email address":"\u7535\u5b50\u90ae\u4ef6","Embed Code":"Embed Code","Embed Object":"Embed Object","Embed object":"Embed object","Ensure the file has been uploaded to your website":"Ensure the file has been uploaded to your website","Enter email address":"Enter email address","Enter subject":"Enter subject","Enter your URL":"Enter your URL",
|
@@ -296,75 +298,71 @@ Paragraph:"Paragraph","Paste Embed Code":"Paste Embed Code","Paste your embed co
|
|
296
298
|
'The image "{{image}}" is too large for the element being edited.<br/>It will be replaced with a resized copy when your edits are saved.':'The image "{{image}}" is too large for the element being edited.<br/>It will be replaced with a resized copy when your edits are saved.',"The url for the file you inserted doesn't look well formed":"The url for the file you inserted doesn't look well formed","The url for the link you inserted doesn't look well formed":"The url for the link you inserted doesn't look well formed",
|
297
299
|
"This block contains unsaved changes":"This block contains unsaved changes",Underline:"\u4e0b\u5212\u7ebf","Unnamed Button":"Unnamed Button","Unnamed Select Menu":"Unnamed Select Menu","Unordered List":"Unordered List","Update Link":"Update Link","Updated link: {{link}}":"Updated link: {{link}}","View / Edit Source":"View / Edit Source","View Source":"View Source","\nThere are unsaved changes on this page. \nIf you navigate away from this page you will lose your unsaved changes":"\nThere are unsaved changes on this page. \nIf you navigate away from this page you will lose your unsaved changes",
|
298
300
|
"ctrl + b":"ctrl + b","ctrl + i":"ctrl + i","ctrl + s":"ctrl + s","ctrl + u":"ctrl + u","ctrl + y":"ctrl + y","ctrl + z":"ctrl + z",esc:"esc",root:"\u672c","{{charactersRemaining}} characters over limit":"{{charactersRemaining}} characters over limit","{{charactersRemaining}} characters remaining":"{{charactersRemaining}} characters remaining","{{characters}} characters, {{charactersRemaining}} over the recommended limit":"{{characters}} characters, {{charactersRemaining}} over the recommended limit",
|
299
|
-
"{{characters}} characters, {{charactersRemaining}} remaining":"{{characters}} characters, {{charactersRemaining}} remaining","{{images}} image(s) have been replaced with resized versions":"{{images}} image(s) have been replaced with resized versions","{{sentences}} sentences":"{{sentences}} sentences","{{words}} word":"{{words}} word","{{words}} words":"{{words}} words"});
|
300
|
-
|
301
|
-
this
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
this
|
307
|
-
|
308
|
-
{
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
b){var
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
this.
|
332
|
-
b
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
(a
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
"
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
this.
|
352
|
-
this)
|
353
|
-
|
354
|
-
this
|
355
|
-
|
356
|
-
|
357
|
-
this)).
|
358
|
-
|
359
|
-
|
360
|
-
b
|
361
|
-
|
362
|
-
(function(){
|
363
|
-
init:function(a){
|
364
|
-
|
365
|
-
i.attr("contenteditable",!0);Rainbow.color(b,"html",function(b){i.html(b);a.show();var g=function(){var a=m.getSelection();return a.rangeCount?a.getRangeAt(0):null},k="";i.bind("keydown",function(a){k=i.html();switch(a.keyCode){case 13:var b=g(),c=!1,d=document.createTextNode("\r\n");b&&(b.insertNode(d),b.setEndAfter(d),b.setStartAfter(d),c=m.getSelection(),c.setSingleRange(b),c=!0);c&&a.preventDefault();return!1;case 9:return b=g(),a=document.createTextNode(f.tab()),b&&(b.insertNode(a),c=m.getSelection(),
|
366
|
-
b.setEndAfter(a),b.setStartAfter(a),c.setSingleRange(b)),!1}});var l=!1;i.bind("keydown",function(){l=!0});i.bind("keyup",function(){l=!1;q.setTimeout(function(){if(!l){if(k==i.html())return!0;try{var b=f.untidyHtml(i.html());d("<div/>").html(b).html()==b&&c(a,b,f)}catch(g){console.log("error")}}},5E3)})})};c(a,b,this)}else d(a).find("textarea").val(d.trim(this.editor.getHtml())),d(a).find("."+this.options.baseClass+"-plain-text").show()},hide:function(){this.dialog&&d(this.dialog).dialog("destroy").remove();
|
367
|
-
this.dialog=null;d(this.ui.button).button("option","disabled",!1)},show:function(){if(!this.dialog){d(this.ui.button).button("option","disabled",!0);var a=this;this.dialog=d(this.editor.getTemplate("viewsource.dialog",{baseClass:a.options.baseClass}));this.dialog.dialog({modal:!1,width:600,height:400,resizable:!0,title:f("View Source"),autoOpen:!0,dialogClass:a.options.baseClass+" "+a.options.dialogClass,buttons:[{text:f("Apply Source"),click:function(){var b;a.highlightSource()?(b=d(this).find("."+
|
368
|
-
a.options.baseClass+"-highlighted pre code:first").html(),b=a.untidyHtml(b)):b=d(this).find("textarea").val();a.editor.setHtml(b);d(this).find("textarea").val(a.editor.getHtml())}},{text:f("Close"),click:function(){a.hide()}}],open:function(){var b=d(this).parent().find(".ui-dialog-buttonpane");b.find("button:eq(0)").button({icons:{primary:"ui-icon-circle-check"}});b.find("button:eq(1)").button({icons:{primary:"ui-icon-circle-close"}});a.prepareSource.call(a,this)},close:function(){a.hide()}})}}}})})(jQuery,
|
301
|
+
"{{characters}} characters, {{charactersRemaining}} remaining":"{{characters}} characters, {{charactersRemaining}} remaining","{{images}} image(s) have been replaced with resized versions":"{{images}} image(s) have been replaced with resized versions","{{sentences}} sentences":"{{sentences}} sentences","{{words}} word":"{{words}} word","{{words}} words":"{{words}} words"});b.ui.editor.registerPlugin("imageResize",{options:{allowOversizeImages:!1,manuallyResizingClass:"",resizeButtonClass:"",resizingClass:""},
|
302
|
+
init:function(a){this.options=b.extend(this.options,{manuallyResizingClass:this.options.baseClass+"-manually-resize",resizeButtonClass:this.options.baseClass+"-resize-button",resizingClass:this.options.baseClass+"-in-progress"});a.bind("enabled",this.bind,this)},bind:function(){this.options.allowOversizeImages||(this.addImageListeners(),this.editor.bind("change",this.scanForOversizedImages,this),this.editor.bind("save",this.save,this));this.editor.bind("destroy",this.cancel,this);this.editor.bind("cancel",
|
303
|
+
this.cancel,this);this.editor.getElement().on("mouseenter."+this.options.baseClass,"img",b.proxy(this.imageMouseEnter,this));this.editor.getElement().on("mouseleave."+this.options.baseClass,"img",b.proxy(this.imageMouseLeave,this))},unbind:function(){this.options.allowOversizeImages||(this.removeImageListeners(),this.editor.unbind("change",this.scanForOversizedImages,this));this.editor.getElement().off("mouseenter."+this.options.baseClass,"img");this.editor.getElement().off("mouseleave."+this.options.baseClass,
|
304
|
+
"img")},addImageListeners:function(){this.resized=b.proxy(this.imageResizedByUser,this);var a=this;this.editor.getElement().find("img").each(function(){this.addEventListener&&this.addEventListener("DOMAttrModified",a.resized,!1);this.attachEvent&&this.attachEvent("onpropertychange",a.resized)})},removeImageListeners:function(){var a=this;this.editor.getElement().find("img").each(function(){this.removeEventListener&&this.addEventListener("DOMAttrModified",a.resized,!1);this.detachEvent&&this.detachEvent("onpropertychange",
|
305
|
+
a.resized)})},imageResizedByUser:function(a){var c=b(a.target);c.is("img")&&c.attr("_moz_resizing")&&"style"==a.attrName&&a.newValue.match(/width|height/)&&this.editor.fire("change")},scanForOversizedImages:function(){var a=this.editor.getElement(),c=[];b(a.find("img")).each(function(){a.width()<b(this).outerWidth()&&c.push(b(this))});c.length&&this.resizeOversizedImages(c,a.width())},resizeOversizedImages:function(a,c){for(var d=b("<a>",{href:"",target:"_blank"}),e=0;e<a.length;e++){var f=a[e],g=
|
306
|
+
f.outerWidth();f.outerHeight();var h=Math.min(c/g),g=Math.round(Math.abs(h*(g-(f.outerWidth()-f.width()))));f.addClass(this.options.resizingClass);d=d.html(f.attr("title")||f.attr("src").substr(f.attr("src").lastIndexOf("/")+1)).attr("href",f.attr("src"));b(f).css({width:g});var j=this;this.showOversizeWarning(q(b(d)),{hide:function(){f.removeClass(j.options.resizingClass)}})}},cancel:function(){this.removeClasses();this.removeToolsButtons();this.unbind()},save:function(){this.removeClasses(this.options.resizingClass);
|
307
|
+
this.removeToolsButtons();this.unbind()},showOversizeWarning:function(a,b){this.editor.showInfo(f('The image "{{image}}" is too large for the element being edited.<br/>It will be replaced with a resized copy when your edits are saved.',{image:a}),b)},removeClasses:function(a){a||(a=[this.options.resizingClass,this.options.manuallyResizingClass]);b.isArray(a)||(a=[a]);for(var c=0;c<a.length;c++)this.editor.getElement().find("img."+a[c]).removeClass(a[c])},manuallyResizeImage:function(){this.removeToolsButtons();
|
308
|
+
var a=this.editor.getElement().find("img."+this.options.manuallyResizingClass),c=b(a).innerWidth(),d=b(a).innerHeight(),e="#"+this.options.baseClass+"-width",i="#"+this.options.baseClass+"-height",g=this,h=function(c){c=Math.round(c||b(e).val())+"px";b(a).css({width:c})},j=b(this.editor.getTemplate("imageresize.manually-resize-image",{width:c,height:d,baseClass:this.options.baseClass}));j.dialog({modal:!0,resizable:!1,title:f("Modify Image Size"),autoOpen:!0,buttons:[{text:f("Resize Image"),click:function(){h();
|
309
|
+
b(this).dialog("close")}},{text:f("Cancel"),click:function(){b(this).dialog("close")}}],close:function(){h(c);g.editor.checkChange();b(j).remove()},open:function(){var a=b(this).find(e),f=b(this).find(i);a.keyup(function(){f.val(Math.round(Math.abs(d/c*b(this).val())));h()});f.keyup(function(){a.val(Math.round(Math.abs(c/d*b(this).val())));h()})}})},displayToolsButtonRelativeToImage:function(a){var c=b("<button/>").appendTo("body").addClass(this.options.resizeButtonClass).button({text:!1,icons:{primary:"ui-icon-tools"}});
|
310
|
+
c.css({position:"absolute",left:b(a).position().left+b(a).innerWidth()-b(c).outerWidth()-10+"px",marginTop:"10px"}).click(b.proxy(this.manuallyResizeImage,this));b(a).before(c)},removeToolsButtons:function(){this.editor.getElement().find("."+this.options.resizeButtonClass).each(function(){b(this).remove()})},imageMouseEnter:function(a){b(a.target).addClass(this.options.manuallyResizingClass);this.displayToolsButtonRelativeToImage(a.target)},imageMouseLeave:function(a){b(a.relatedTarget).hasClass(this.options.resizeButtonClass)||
|
311
|
+
(b(a.target).removeClass(this.options.manuallyResizingClass),this.removeToolsButtons())}});b.ui.editor.registerUi({length:{ui:null,options:{length:150},init:function(a){a.bind("show",b.proxy(this.updateCount,this));a.bind("change",b.proxy(this.updateCount,this));return this.ui=this.editor.uiButton({title:f("Remaining characters before the recommended character limit is reached"),label:f("Initializing"),text:!0,icon:"ui-icon-dashboard",click:function(){this.showStatistics()}})},updateCount:function(){var a=
|
312
|
+
this.options.length-b("<div/>").html(this.editor.getCleanHtml()).text().length,c=this.ui.button,d=null,d=0<=a?f("{{charactersRemaining}} characters remaining",{charactersRemaining:a}):f("{{charactersRemaining}} characters over limit",{charactersRemaining:-1*a});c.button("option","label",d);c.button("option","text",!0);0>a?c.addClass("ui-state-error"):0<=a&&15>=a?c.addClass("ui-state-highlight").removeClass("ui-state-error"):c.removeClass("ui-state-highlight ui-state-error")},showStatistics:function(){this.processTemplate().dialog({modal:!0,
|
313
|
+
resizable:!1,title:f("Content Statistics"),dialogClass:this.editor.options.dialogClass+" "+this.editor.options.baseClass,show:this.editor.options.dialogShowAnimation,hide:this.editor.options.dialogHideAnimation,buttons:[{text:f("OK"),click:function(){b(this).dialog("close")}}],open:function(){b(this).parent().find(".ui-dialog-buttonpane").find("button:eq(0)").button({icons:{primary:"ui-icon-circle-check"}})},close:function(){b(this).dialog("destroy").remove()}})},processTemplate:function(){var a=
|
314
|
+
b("<div/>").html(this.editor.getCleanHtml()).text(),c=null,d=this.options.length-a.length,c=0>d?f("Content contains more than {{limit}} characters and may be truncated",{limit:this.options.length}):f("Content will not be truncated"),e=null,e=a.split(" ").length,e=1==e?f("{{words}} word",{words:e}):f("{{words}} words",{words:e}),i=null,i=a.split(". ").length,i=f("{{sentences}} sentences",{sentences:i}),g=null,g=0<=d?f("{{characters}} characters, {{charactersRemaining}} remaining",{characters:a.length,
|
315
|
+
charactersRemaining:d}):f("{{characters}} characters, {{charactersRemaining}} over the recommended limit",{characters:a.length,charactersRemaining:-1*d});return b(this.editor.getTemplate("length.dialog",{characters:g,words:e,sentences:i,truncation:c}))}}});b.ui.editor.registerPlugin("link",{visible:null,dialog:null,types:{},defaultLinkTypes:[{type:"external",title:f("Page on this or another website"),focusSelector:'input[name="location"]',init:function(){this.content=this.plugin.editor.getTemplate("link.external",
|
316
|
+
this.options);return this},show:function(a,b){var d=this;a.find('input[name="location"]').bind("keyup",function(){d.validate(a)});b&&(a.find('input[name="location"]').val(this.plugin.selectedElement.attr("href")).trigger("keyup"),"_blank"===this.plugin.selectedElement.attr("target")&&a.find('input[name="blank"]').attr("checked","checked"));return this},attributes:function(a){var b={href:a.find('input[name="location"]').val()};a.find('input[name="blank"]').is(":checked")&&(b.target="_blank");this.options.regexLink.test(b.href)||
|
317
|
+
this.plugin.editor.showWarning(f("The url for the link you inserted doesn't look well formed"));return b},validate:function(a){var c="."+this.options.baseClass+"-error-message-url",d=!0;this.options.regexLink.test(a.find('input[name="location"]').val())?a.find(c).has(":visible").hide():(a.find(c).size()||a.find('input[name="location"]').after(this.plugin.editor.getTemplate("link.error",b.extend({},this.options,{messageClass:this.options.baseClass+"-error-message-url",message:f("The URL does not look well formed")}))),
|
318
|
+
a.find(c).not(":visible").show(),d=!1);return d}},{type:"email",title:f("Email address"),focusSelector:'input[name="email"]',init:function(){this.content=this.plugin.editor.getTemplate("link.email",this.options);return this},show:function(a,b){var d=this;a.find('input[name="email"]').bind("keyup",function(){d.validate(a)});b&&(a.find('input[name="email"]').val(this.plugin.selectedElement.attr("href").replace(/(mailto:)|(\?Subject.*)/gi,"")).trigger("keyup"),/\?Subject\=/i.test(this.plugin.selectedElement.attr("href"))&&
|
319
|
+
a.find('input[name="subject"]').val(decodeURIComponent(this.plugin.selectedElement.attr("href").replace(/(.*\?Subject=)/i,""))));return this},attributes:function(a){var b={href:"mailto:"+a.find('input[name="email"]').val()};if(a=a.find('input[name="subject"]').val())b.href=b.href+"?Subject="+encodeURIComponent(a);return b},validate:function(a){var c="."+this.options.baseClass+"-error-message-email",d=!0;this.options.regexEmail.test(a.find('input[name="email"]').val())?a.find(c).has(":visible").hide():
|
320
|
+
(a.find(c).size()||a.find('input[name="email"]').after(this.plugin.editor.getTemplate("link.error",b.extend({},this.options,{messageClass:this.options.baseClass+"-error-message-email",message:f("The email address does not look well formed")}))),a.find(c).not(":visible").show(),d=!1);return d}},{type:"fileUrl",title:f("Document or other file"),focusSelector:'input[name="location"]',init:function(){this.content=this.plugin.editor.getTemplate("link.file-url",this.options);return this},show:function(a,
|
321
|
+
b){var d=this;a.find('input[name="location"]').bind("keyup",function(){d.validate(a)});b&&(a.find('input[name="location"]').val(this.plugin.selectedElement.attr("href")).trigger("click"),"_blank"===this.plugin.selectedElement.attr("target")&&a.find('input[name="blank"]').attr("checked","checked"));return this},attributes:function(a){var b={href:a.find('input[name="location"]').val()};a.find('input[name="blank"]').is(":checked")&&(b.target="_blank");this.options.regexLink.test(b.href)||this.plugin.editor.showWarning(f("The url for the file you inserted doesn't look well formed"));
|
322
|
+
return b},validate:function(a){var c="."+this.options.baseClass+"-error-message-file-url",d=!0;this.options.regexLink.test(a.find('input[name="location"]').val())?a.find(c).has(":visible").hide():(a.find(c).size()||a.find('input[name="location"]').after(this.plugin.editor.getTemplate("link.error",b.extend({},this.options,{messageClass:this.options.baseClass+"-error-message-file-url",message:f("The URL does not look well formed")}))),a.find(c).not(":visible").show(),d=!1);return d}}],init:function(a,
|
323
|
+
c){this.options=b.extend({},{panelAnimation:"fade",replaceTypes:!1,customTypes:[],typeDataName:"uiWidgetEditorLinkType",dialogWidth:750,dialogHeight:"auto",dialogMinWidth:670,regexLink:/^(http|https|ftp):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/i,regexEmail:/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/},c);a.bind("save",this.repairLinks,this);a.bind("cancel",this.cancel,this)},initTypes:function(){this.types=
|
324
|
+
{};for(var a={type:null,title:null,content:null,plugin:this,options:this.options,attributes:function(){},init:function(){return this},show:function(){},editing:function(a){if(a.attr("class"))for(var c=this.classes.split(/\s/gi),d=0;d<c.length;d++)if(c[d].trim()&&b(a).hasClass(c[d]))return!0;return!1},focusSelector:null,focus:function(){if(this.focusSelector){var a=b(this.focusSelector),c=a.val();a.val("");a.focus().val(c)}}},c=null,c=this.options.replaceTypes?this.options.customTypes:b.merge(this.defaultLinkTypes,
|
325
|
+
this.options.customTypes),d,e=0;e<c.length;e++)d=b.extend({},a,c[e],{classes:this.options.baseClass+"-"+c[e].type}).init(),this.types[d.type]=d},show:function(){if(!this.visible){this.selectedElement=this.editor.getSelectedElements().first();var a=this.selectedElement.is("a"),c=this.options,d=o.saveSelection(),e=this,i=this.dialog=b(this.editor.getTemplate("link.dialog",c)).appendTo("body");this.initTypes();var g=this.dialog.find("fieldset"),h;for(h in this.types)b(this.editor.getTemplate("link.label",
|
326
|
+
this.types[h])).appendTo(g);g.find('input[type="radio"]').bind("change."+this.editor.widgetName,function(){e.typeChange(e.types[b(this).val()],a)});i.dialog({autoOpen:!1,modal:!0,resizable:!0,width:c.dialogWidth,minWidth:c.dialogMinWidth,height:c.dialogHeight,title:a?f("Edit Link"):f("Insert Link"),dialogClass:c.baseClass+" "+c.dialogClass,buttons:[{text:a?f("Update Link"):f("Insert Link"),click:function(){o.restoreSelection(d);e.apply(a)?b(this).dialog("close"):d=o.saveSelection()}},{text:f("Cancel"),
|
327
|
+
click:function(){o.restoreSelection(d);b(this).dialog("close")}}],beforeopen:function(){e.dialog.find("."+e.options.baseClass+"-content").hide()},open:function(){e.visible=!0;var c=i.parent().find(".ui-dialog-buttonpane");c.find("button:eq(0)").button({icons:{primary:"ui-icon-circle-check"}});c.find("button:eq(1)").button({icons:{primary:"ui-icon-circle-close"}});var d=i.find('.ui-editor-link-menu input[type="radio"]');d.first().attr("checked","checked");var f=!1;if(a)for(var g in e.types)if(f=e.types[g].editing(e.selectedElement)){d.filter('[value="'+
|
328
|
+
g+'"]').attr("checked","checked");e.typeChange(e.types[g],a);break}(!a||a&&!f)&&e.typeChange(e.types[d.filter(":checked").val()],a);b(this).unbind("keyup."+e.editor.widgetName).bind("keyup."+e.editor.widgetName,function(a){13==a.keyCode&&(a=e.types[d.filter(":checked").val()],(!b.isFunction(a.validate)||a.validate(e.dialog.find("."+e.options.baseClass+"-content")))&&c.find("button:eq(0)").trigger("click"))})},close:function(){e.visible=!1;i.find("."+c.baseClass+"-content").hide();b(this).dialog("destroy")}}).dialog("open")}},
|
329
|
+
apply:function(a){var c=this.types[this.dialog.find('input[type="radio"]:checked').val()],d=c.attributes(this.dialog.find("."+this.options.baseClass+"-content"),a);if(!d)return!0;var e=q(b("<a>"+(d.title?d.title:d.href)+"</a>").attr(b.extend({},d,{target:"_blank"})));a?(this.selectedElement[0].className=this.selectedElement[0].className.replace(RegExp(this.options.baseClass+"-[a-zA-Z]+","g"),""),this.selectedElement.addClass(c.classes).attr(d),this.editor.showConfirm(f("Updated link: {{link}}",{link:e}))):
|
330
|
+
(this.editor.wrapTagWithAttribute("a",b.extend(d,{id:this.editor.getUniqueId()}),c.classes),this.editor.showConfirm(f("Added link: {{link}}",{link:e})),this.selectedElement=b("#"+d.id).removeAttr("id"));this.selectedElement.data(this.options.baseClass+"-href",d.href);return!0},typeChange:function(a,c){var d=this.dialog.find("."+this.options.baseClass+"-content"),e=d.closest("."+this.options.baseClass+"-wrap"),f=a.ajaxUri&&!this.types[a.type].content;f&&e.addClass(this.options.baseClass+"-loading");
|
331
|
+
var g=this;d.hide(this.options.panelAnimation,function(){f?b.ajax({url:a.ajaxUri,type:"get",success:function(f){d.html(f);g.types[a.type].content=f;e.removeClass(g.options.baseClass+"-loading");a.show(d,c);d.show(g.options.panelAnimation,b.proxy(a.focus,a))}}):(d.html(a.content),a.show(d,c),d.show(g.options.panelAnimation,b.proxy(a.focus,a)))})},remove:function(){this.editor.unwrapParentTag("a")},repairLinks:function(){var a=this;this.editor.getElement().find('a[class^="'+this.options.baseClass+'"]').each(function(){b(this).data(a.options.baseClass+
|
332
|
+
"-href")&&b(this).attr("href",b(this).data(a.options.baseClass+"-href"))})},cancel:function(){this.dialog&&b(this.dialog.dialog("close"))}});b.ui.editor.registerUi({link:{init:function(a){a.bind("selectionChange",this.change,this);return a.uiButton({title:f("Insert Link"),click:function(){a.getPlugin("link").show()}})},change:function(){this.editor.getSelectedElements().length?this.ui.enable():this.ui.disable()}},unlink:{init:function(a){a.bind("selectionChange",this.change,this);a.bind("show",this.change,
|
333
|
+
this);return a.uiButton({title:f("Remove Link"),click:function(){a.getPlugin("link").remove()}})},change:function(){this.editor.getSelectedElements().is("a")?this.ui.enable():this.ui.disable()}}});b.ui.editor.registerPlugin("list",{options:{},validParents:"blockquote,body,button,center,dd,div,fieldset,form,iframe,li,noframes,noscript,object,td,th".split(","),validChildren:"a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,dfn,em,font,i,iframe,img,input,kbd,label,map,object,p,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var".split(","),
|
334
|
+
toggleList:function(a){b(this.editor.getSelectedElements()).is("li")&&b(this.editor.getSelectedElements()).parent().is(a)?this.unwrapList():this.wrapList(a);this.editor.fire("selectionChange");this.editor.fire("change")},unwrapList:function(){this.editor.saveSelection();var a=[],c=[],d=this.editor.getSelectionStartElement(),e=this.editor.getSelectionEndElement();a.push(b(d).html());c.push(d);if(b(d)[0]!==b(e)[0]){var f=d;do f=b(f).next(),a.push(b(f).html()),c.push(f);while(b(f)[0]!==b(e)[0])}f=0===
|
335
|
+
b(d).prev().length;e=0===b(e).next().length;d=b(d).parent();for(listElementsIndex=0;listElementsIndex<c.length;listElementsIndex++)b(c[listElementsIndex]).remove();for(c=0;c<a.length;c++)d.parent().is("li")||(a[c]="<p>"+a[c]+"</p>");f&&e?(d.replaceWith(a.join("")),this.editor.restoreSelection(),this.editor.selectOuter(this.editor.getSelectedElements()[0])):(f?b(d).before(a.join("")):e?b(d).after(a.join("")):this.editor.replaceSelectionSplittingSelectedElement(a.join("")),this.editor.restoreSelection(),
|
336
|
+
this.editor.checkChange())},wrapList:function(a){this.editor.constrainSelection(this.editor.getElement());""===b.trim(this.editor.getSelectedHtml())&&this.editor.selectInner(this.editor.getSelectedElements());var c=b("<div>").html(this.editor.getSelectedHtml()),d=[],e=this;b(c).contents().each(function(){var a;a="block"===e.getElementDefaultDisplay(this.tagName)?e.editor.stripTags(b(this).html(),e.validChildren):e.editor.stripTags(q(b(this)),e.validChildren);a=b("<li>"+a+"</li>");""!==b.trim(a.text())&&
|
337
|
+
d.push(q(a))});c=this.options.baseClass+"-selection";a="<"+a+' class="'+c+'">'+d.join("")+"</"+a+">";this.editor.restoreSelection();var f=b(this.editor.getSelectedElements()[0]).parent(),g=this.editor.getElement()[0];f===g||this.editor.getSelectedElements()[0]===g?this.editor.replaceSelection(a):this.editor.replaceSelectionWithinValidTags(a,this.validParents);this.editor.selectInner(b(this.editor.getElement().find("."+c).removeClass(c)).find("li:first")[0]);this.editor.checkChange()},getElementDefaultDisplay:function(a){var b,
|
338
|
+
a=document.createElement(a);b="getComputedStyle"in r;document.body.appendChild(a);b=(b?r.getComputedStyle(a,""):a.currentStyle).display;document.body.removeChild(a);return b}});b.ui.editor.registerUi({listUnordered:{init:function(a){return a.uiButton({title:f("Unordered List"),click:function(){a.getPlugin("list").toggleList("ul")}})}},listOrdered:{init:function(a){return a.uiButton({title:f("Ordered List"),click:function(){a.getPlugin("list").toggleList("ol")}})}}});b.ui.editor.registerUi({logo:{ui:null,
|
339
|
+
init:function(){return this.ui=this.editor.uiButton({title:f("Learn More About the Raptor WYSIWYG Editor"),click:function(){r.open("http://www.jquery-raptor.com/about/editors/","_blank")},ready:function(){var a=function(c){var d=typeof c;if("object"!=d||null===c)return"string"==d&&(c='"'+c+'"'),""+c;var e=[],f=c&&b.isArray(c);b.each(c,function(b,c){d=typeof c;"string"==d?c='"'+c+'"':"object"==d&null!==c&&(c=a(c));e.push((f?"":'"'+b+'":')+(""+c))});return(f?"[":"{")+(""+e)+(f?"]":"}")},c={enableUi:this.options.enableUi,
|
340
|
+
enablePlugins:this.options.enablePlugins,disabledPlugins:a(this.options.disabledPlugins),ui:a(this.options.ui),t:(new Date).getTime()},d=[],e;for(e in c)d.push(e+"="+encodeURIComponent(c[e]));this.ui.button.find(".ui-button-icon-primary").css({"background-image":"url(http://www.jquery-raptor.com/logo/0.0.9?"+d.join("&")+")"})}})}}});b.ui.editor.registerPlugin("paste",{options:{allowedTags:"h1,h2,h3,h4,h5,h6,div,ul,ol,li,blockquote,p,a,span,hr,br".split(","),allowedAttributes:["href","title"],allowedEmptyTags:["hr",
|
341
|
+
"br"]},init:function(a,c){var d=!1,e=!1,g=this;a.getElement().bind("paste."+a.widgetName,b.proxy(function(){if(d)return!1;d=!0;a.saveSelection();b(".uiWidgetEditorPasteBin").length&&b(".uiWidgetEditorPasteBin").remove();b('<div class="uiWidgetEditorPasteBin" contenteditable="true" style="width: 1px; height: 1px; overflow: hidden; position: fixed; top: -1px;" />').appendTo("body");b(".uiWidgetEditorPasteBin").focus();r.setTimeout(function(){var h=b(".uiWidgetEditorPasteBin").html(),h=g.filterAttributes(h),
|
342
|
+
h=g.filterChars(h),h=g.stripEmpty(h),h=g.stripAttributes(h),h=g.editor.stripTags(h,g.options.allowedTags),h={plain:b("<div/>").html(b(".uiWidgetEditorPasteBin").html()).text(),markup:h,html:b(".uiWidgetEditorPasteBin").html()};e=b(a.getTemplate("paste.dialog",h));e.find(".ui-editor-paste-area").bind("keyup."+a.widgetname,function(){g.updateAreas(this,e)});b(e).dialog({modal:!0,width:650,height:500,resizable:!0,title:"Paste",position:"center",show:c.dialogShowAnimation,hide:c.dialogHideAnimation,dialogClass:c.baseClass+
|
343
|
+
" "+c.dialogClass,buttons:[{text:f("Insert"),click:function(){var c=null,c=b(this).find(".ui-editor-paste-area:visible"),c=c.hasClass("ui-editor-paste-plain")||c.hasClass("ui-editor-paste-source")?c.val():c.html(),c=g.filterAttributes(c),c=g.filterChars(c);a.restoreSelection();a.replaceSelection(c);d=!1;b(this).dialog("close")}},{text:f("Cancel"),click:function(){a.restoreSelection();d=!1;b(this).dialog("close")}}],open:function(){var a=b(this).find(".ui-editor-paste-panel-tabs");a.find("ul.ui-tabs-nav li").click(function(){a.find("ul.ui-tabs-nav li").removeClass("ui-state-active").removeClass("ui-tabs-selected");
|
344
|
+
b(this).addClass("ui-state-active").addClass("ui-tabs-selected");a.children("div").hide().eq(b(this).index()).show()});var c=e.parent().find(".ui-dialog-buttonpane");c.find("button:eq(0)").button({icons:{primary:"ui-icon-circle-check"}});c.find("button:eq(1)").button({icons:{primary:"ui-icon-circle-close"}})},close:function(){d=!1;b(this).dialog("destroy").remove()}});b(".uiWidgetEditorPasteBin").remove()},0);return!0},this))},filterAttributes:function(a){b.each([{regexp:/(<meta\s*[^>]*\s*>)|(<\s*link\s* href="file:[^>]*\s*>)|(<\/?\s*\w+:[^>]*\s*>)/gi,
|
345
|
+
handler:""},{regexp:/(class="Mso[^"]*")|(<\!--(.|\s){1,}?--\>)/gi,handler:""},{regexp:/(class="Apple-(style|converted)-[a-z]+\s?[^"]+")/,handle:""},{regexp:/id="internal-source-marker_[^"]+"|dir="[rtl]{3}"/,handle:""},{regexp:/(<p[^>]*>\s*(\ |\u00A0)*\s*<\/p[^>]*>)|(<p[^>]*>\s*<font[^>]*>\s*(\ |\u00A0)*\s*<\/\s*font\s*>\s<\/p[^>]*>)/ig,handler:""},{regexp:/(style="[^"]*mso-[^;][^"]*")|(style="margin:\s*[^;"]*;")/gi,handler:""},{regexp:/(?:<style([^>]*)>([\s\S]*?)<\/style>|<link\s+(?=[^>]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,
|
346
|
+
handler:""},{regexp:/(<\s*script[^>]*>((.|\s)*?)<\\?\/\s*script\s*>)|(<\s*script\b([^<>]|\s)*>?)|(<[^>]*=(\s|)*[("|')]javascript:[^$1][(\s|.)]*[$1][^>]*>)/ig,handler:""}],function(b,d){a=a.replace(d.regexp,d.handler)});return a},filterChars:function(a){a=a.replace(/[\u2018|\u2019|\u201A]/g,"'");a=a.replace(/[\u201C|\u201D|\u201E]/g,'"');a=a.replace(/\u2026/g,"...");a=a.replace(/[\u2013|\u2014]/g,"-");a=a.replace(/\u02C6/g,"^");a=a.replace(/\u2039/g,"<");a=a.replace(/\u203A/g,">");return a=a.replace(/[\u02DC|\u00A0]/g,
|
347
|
+
" ")},stripAttributes:function(a){var a=b("<div/>").html(a),c=this.options.allowedAttributes;b(a.find("*")).each(function(){var a=[];b.each(this.attributes,function(e,f){-1===b.inArray(f.nodeName,c)&&a.push(f.nodeName)});for(var e=0;e<a.length;e++)b(this).attr(a[e],null)});return a.html()},stripEmpty:function(a){var a=b("<div/>").html(a),c=this.options.allowedEmptyTags;a.find("*").filter(function(){return-1!==b.inArray(this.tagName.toLowerCase(),c)||b(this).find(c.join(",")).length?!1:""===b.trim(b(this).text())}).remove();
|
348
|
+
return a.html()},updateAreas:function(a,c){var d=c.find('.ui-editor-paste-synchronize-text input[type="checkbox"]'),e=b(a).is("textarea")?b(a).val():b(a).html();d.attr("checked")&&(b(a).hasClass("ui-editor-paste-plain")||c.find(".ui-editor-paste-plain").val(b("<div/>").html(e).text()),b(a).hasClass("ui-editor-paste-rich")||c.find(".ui-editor-paste-rich").html(e),b(a).hasClass("ui-editor-paste-source")||c.find(".ui-editor-paste-source").html(e),b(a).hasClass("ui-editor-paste-markup")||c.find(".ui-editor-paste-markup").html(this.stripAttributes(e)))}});
|
349
|
+
b.ui.editor.registerPlugin("placeholder",{init:function(a,c){c=b.extend({},{content:"[Your content here]",tag:"p",select:!0},c);this.show=function(){if(!b.trim(a.getElement().html())){var d=b(document.createElement(c.tag)).html(c.content);a.getElement().html(d);c.select&&a.selectInner(d)}};a.bind("show",this.show)}});b.ui.editor.registerPlugin("saveJson",{options:{id:{attr:"name"},postName:"content",showResponse:!1,appendId:!1,ajax:{url:"/",type:"post",cache:!1}},init:function(){},getId:function(){if("string"===
|
350
|
+
typeof this.options.id)return this.options.id;if("function"===typeof this.options.id)return this.options.id.apply(this,[this.editor.getOriginalElement()]);if(this.options.id.attr){var a=this.editor.getOriginalElement().attr(this.options.id.attr);if(a)return a}return null},getData:function(){var a={};a[this.getId()]=this.editor.save();return a},save:function(){this.message=this.editor.showLoading(f("Saving changes..."));var a={},c=0;this.editor.unify(function(d){d.isDirty()&&(c++,d=d.getPlugin("saveJson"),
|
351
|
+
b.extend(a,d.getData()))});this.dirty=c;this.requests=this.failed=this.saved=0;this.ajax(a)},done:function(a){this.options.multiple?this.saved++:this.saved=this.dirty;this.options.showResponse&&this.editor.showConfirm(a,{delay:1E3,hide:function(){this.editor.unify(function(a){a.disableEditing();a.hideToolbar()})}})},fail:function(a){this.options.multiple?this.failed++:this.failed=this.dirty;this.options.showResponse&&this.editor.showError(a.responseText)},always:function(){this.dirty===this.saved+
|
352
|
+
this.failed&&(this.options.showResponse||(0<this.failed&&0===this.saved?this.editor.showError(f("Failed to save {{failed}} content block(s).",this)):0<this.failed?this.editor.showError(f("Saved {{saved}} out of {{dirty}} content blocks.",this)):this.editor.showConfirm(f("Successfully saved {{saved}} content block(s).",this),{delay:1E3,hide:function(){this.editor.unify(function(a){a.disableEditing();a.hideToolbar()})}})),this.message.hide(),this.message=null)},ajax:function(a,c){var d=b.extend(!0,
|
353
|
+
{},this.options.ajax);b.isFunction(d.data)?d.data=d.data.apply(this,[c,a]):this.options.postName&&(d.data={},d.data[this.options.postName]=JSON.stringify(a));b.isFunction(d.url)&&(d.url=d.url.apply(this,[c]));this.requests++;b.ajax(d).done(b.proxy(this.done,this)).fail(b.proxy(this.fail,this)).always(b.proxy(this.always,this))}});b.ui.editor.registerPlugin("saveRest",{options:{showResponse:!1,ajax:{url:"/",type:"post",cache:!1}},init:function(){},getId:function(){if("string"===typeof this.options.id)return this.options.id;
|
354
|
+
if(this.options.id.attr){var a=this.editor.getOriginalElement().attr(this.options.id.attr);if(a)return a}return null},getData:function(){this.getId();this.editor.save();return this.editor.save()},save:function(){this.message=this.editor.showLoading(f("Saving changes..."));var a=this.requests=this.failed=this.saved=0;this.editor.unify(function(b){if(b.isDirty()){a++;var b=b.getPlugin("saveRest"),d=b.editor.save();b.ajax(d)}});this.dirty=a;0===a&&(this.message.hide(),this.editor.showInfo(f("No changes detected to save...")))},
|
355
|
+
done:function(a){this.options.multiple?this.saved++:this.saved=this.dirty;this.options.showResponse&&this.editor.showConfirm(a,{delay:1E3,hide:function(){this.editor.unify(function(a){a.disableEditing();a.hideToolbar()})}})},fail:function(a){this.options.multiple?this.failed++:this.failed=this.dirty;this.options.showResponse&&this.editor.showError(a.responseText)},always:function(){this.dirty===this.saved+this.failed&&(this.options.showResponse||(0<this.failed&&0===this.saved?this.editor.showError(f("Failed to save {{failed}} content block(s).",
|
356
|
+
this)):0<this.failed?this.editor.showError(f("Saved {{saved}} out of {{dirty}} content blocks.",this)):this.editor.showConfirm(f("Successfully saved {{saved}} content block(s).",this),{delay:1E3,hide:function(){this.editor.unify(function(a){a.disableEditing();a.hideToolbar()})}})),this.message.hide(),this.message=null)},ajax:function(a,c){var d=b.extend(!0,{},this.options.ajax);b.isFunction(d.data)?d.data=d.data.apply(this,[c,a]):this.options.postName&&(d.data={},d.data[this.options.postName]=JSON.stringify(a));
|
357
|
+
b.isFunction(d.url)&&(d.url=d.url.apply(this,[c]));this.requests++;b.ajax(d).done(b.proxy(this.done,this)).fail(b.proxy(this.fail,this)).always(b.proxy(this.always,this))}});b.ui.editor.registerUi({save:{options:{plugin:"saveJson"},init:function(a){return a.uiButton({title:f("Save"),icon:"ui-icon-save",click:function(){a.checkChange();a.getPlugin(this.options.plugin).save()}})}}});b.ui.editor.registerPlugin({snippet:{ids:[],enabled:!1,init:function(a,b){if(b.snippets){for(var d=0,e=b.snippets.length;d<
|
358
|
+
e;d++)this.createSnippet(b.snippets[d],a);a.bind("restore",this.createButtons,this);a.bind("save",this.disable,this);a.bind("cancel",this.disable,this);a.bind("enabled",this.enable,this);a.bind("disabled",this.disable,this)}},createSnippet:function(){},enable:function(){this.enabled=!0;this.createButtons()},disable:function(){this.removeButtons();this.enabled=!1},createButtons:function(){for(var a=this.editor,b=0,d=this.options.snippets.length;b<d;b++){var e=this.options.snippets[b];e.repeatable&&
|
359
|
+
this.createButton(e,a)}},createButton:function(a,c){if(this.enabled){var d=this,e=c.getUniqueId();this.ids.push(e);var f=b("<button/>").addClass(d.options.baseClass).addClass(d.options.baseClass+"-button").addClass(d.options.baseClass+"-button-"+a.name).addClass(e).text("Add").click(function(){d.insertSnippet.call(d,a,c,this)}),g=a.buttonAfter||c.getElement();b.isFunction(g)?g.call(this,f,a):f.insertAfter(g);b("."+e).button({icons:{primary:"ui-icon-plusthick"}})}},removeButtons:function(){if(this.enabled){for(var a=
|
360
|
+
0,c=this.ids.length;a<c;a++)b("."+this.ids[a]).remove();a=0;for(c=this.options.snippets.length;a<c;a++){var d=this.options.snippets[a];b.isFunction(d.clean)&&d.clean.call(d,this,this.editor)}}},insertSnippet:function(a,c,d){var e=b(a.template).html(),f=a.appendTo||c.getElement();b.isFunction(f)?f.call(this,e,a,d):b(e).appendTo(f);c.disableEditing();c.enableEditing()}}});b.ui.editor.registerUi({tagMenu:{validParents:"blockquote,body,button,center,dd,div,fieldset,form,iframe,li,noframes,noscript,object,td,th".split(","),
|
361
|
+
init:function(a){a.bind("selectionChange",this.change,this);a.bind("show",this.change,this);return a.uiSelectMenu({name:"tagMenu",title:f("Change HTML tag of selected element"),select:b(a.getTemplate("tagmenu.menu")),change:function(c){if(!("undefined"===typeof c||"na"===c)){var d=a.getElement()[0],e=a.getSelectedElements();if(!a.getSelectedHtml()||""===a.getSelectedHtml()){if(b(e)[0]===b(d)[0])return;a.saveSelection();d=b("<"+c+">").html(e.html());e.replaceWith(d);a.restoreSelection()}else{var e=
|
362
|
+
b(a.getSelectedElements()[0]).parent(),f=this.options.baseClass+"-selection",c=b("<"+c+">").html(a.getSelectedHtml()).addClass(f);e===d||a.getSelectedElements()[0]===d?a.replaceSelection(c):a.replaceSelectionWithinValidTags(c,this.validParents);a.selectInner(a.getElement().find("."+f).removeClass(f))}a.checkChange()}}})},change:function(){var a=this.editor.getSelectedElements()[0];a?(a=a.tagName.toLowerCase(),this.ui.select.find("option[value="+a+"]").length?this.ui.val(a):this.ui.val("na"),b(this.ui.button).toggleClass("ui-state-disabled",
|
363
|
+
this.editor.getElement()[0]===this.editor.getSelectedElements()[0])):b(this.ui.button).toggleClass("ui-state-disabled",!0)}}});b.ui.editor.registerPlugin("toolbarTip",{init:function(){b.browser.msie||this.bind("show, tagTreeUpdated",function(){b(".ui-editor-wrapper [title]").each(function(){b(this).attr("data-title",b(this).attr("title"));b(this).removeAttr("title")})})}});(function(){var a=null,c=0;b.ui.editor.registerPlugin("unsavedEditWarning",{init:function(d){var e=this;a||(a=b(d.getTemplate("unsavededitwarning.warning",
|
364
|
+
this.options)).attr("id",d.getUniqueId()).appendTo("body").bind("mouseenter."+d.widgetName,function(){b.ui.editor.eachInstance(function(a){a.isDirty()&&a.getElement().addClass(e.options.baseClass+"-dirty")})}).bind("mouseleave."+d.widgetName,function(){b("."+e.options.baseClass+"-dirty").removeClass(e.options.baseClass+"-dirty")}));d.bind("dirty",function(){c++;0<c&&(v(a),a.addClass(e.options.baseClass+"-visible"))});d.bind("cleaned",function(){c--;0===c&&a.removeClass(e.options.baseClass+"-visible")})}})})();
|
365
|
+
b.ui.editor.registerUi({viewSource:{init:function(a){return a.uiButton({title:f("View / Edit Source"),click:function(){this.show()}})},show:function(){var a=this,c=b(this.editor.getTemplate("viewsource.dialog",{baseClass:a.options.baseClass,source:a.editor.getHtml()})),d=this.ui.button;b(d).button("option","disabled",!0);c.dialog({modal:!1,width:600,height:400,resizable:!0,title:f("View Source"),autoOpen:!0,dialogClass:a.options.baseClass+" "+a.options.dialogClass,buttons:[{text:f("Apply Source"),
|
366
|
+
click:function(){var c=b(this).find("textarea").val();a.editor.setHtml(c);b(this).find("textarea").val(a.editor.getHtml())}},{text:f("Close"),click:function(){b(this).dialog("close")}}],open:function(){var a=b(this).parent().find(".ui-dialog-buttonpane");a.find("button:eq(0)").button({icons:{primary:"ui-icon-circle-check"}});a.find("button:eq(1)").button({icons:{primary:"ui-icon-circle-close"}})},close:function(){b(this).dialog("destroy").remove();b(d).button("option","disabled",!1);a.editor.checkChange()}})}}})})(jQuery,
|
369
367
|
window,rangy);
|
370
|
-
jQuery('<style type="text/css">.ui-editor-wrapper{overflow:visible;z-index:1001;position:fixed}.ui-editor-wrapper .ui-editor-toolbar{padding:6px 0 0 5px;overflow:visible}.ui-editor-wrapper .ui-editor-toolbar,.ui-editor-wrapper .ui-editor-toolbar *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui-editor-wrapper .ui-dialog-titlebar .ui-editor-element-path:first-child{margin-left:5px}.ui-editor-wrapper .ui-dialog-titlebar .ui-editor-element-path{min-width:10px;min-height:15px;display:inline-block}.ui-editor-dock-docked-to-element .ui-editor-toolbar{padding:5px 0 0 5px!important}.ui-editor-dock-docked-to-element .ui-editor-toolbar .ui-editor-group{margin:0 5px 5px 0}.ui-editor-dock-docked-element{display:block!important;border:0 none transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-wrapper textarea,.ui-editor-wrapper input{padding:5px}.ui-editor-wrapper .ui-dialog-content{font-size:13px}.ui-editor-wrapper textarea{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1}html body div.ui-dialog div.ui-dialog-titlebar a.ui-dialog-titlebar-close span.ui-icon{margin-top:0!important}.ui-editor-wrapper textarea,.ui-editor-wrapper input{border:1px solid #d4d4d4}.ui-editor-wrapper .ui-dialog-content{font-size:13px}html body div.ui-wrapper div.ui-dialog-titlebar a.ui-dialog-titlebar-close span.ui-icon{margin-top:0!important}.ui-editor-path{padding:5px;font-size:13px}.ui-editor-selectmenu{overflow:visible;position:relative}.ui-editor-selectmenu-button{text-align:left;padding:3px 18px 5px 5px!important}.ui-editor-selectmenu-button .ui-icon{position:absolute;right:1px;top:8px}.ui-editor-selectmenu-button .ui-selectmenu-text{font-size:13px}.ui-editor-selectmenu-wrapper{position:relative}.ui-editor-selectmenu-button .ui-button-text{padding:0 25px 0 5px}.ui-editor-selectmenu-button .ui-icon{background-repeat:no-repeat}.ui-editor-selectmenu-menu{position:absolute;top:100%;left:0;right:auto;display:none;margin-top:-1px!important}.ui-editor-selectmenu-visible .ui-editor-selectmenu-menu{display:block;z-index:1}.ui-editor-selectmenu-menu-item{padding:5px;margin:3px;z-index:1;text-align:left;font-size:13px;font-weight:normal!important;border:1px solid transparent;cursor:pointer;background-color:inherit}.ui-selectmenu-button{background:#f5f5f5;border:1px solid #ccc}.ui-editor-buttonset .ui-selectmenu-button:first-child{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-o-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;border-bottom-left-radius:5px}.ui-editor-buttonset .ui-selectmenu-button:last-child{-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-o-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;border-bottom-right-radius:5px}.ui-editor-buttonset .ui-editor-selectmenu-visible .ui-editor-selectmenu-button{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;border-bottom-right-radius:0}.ui-editor-buttonset{float:left;margin:0 5px 4px 0;display:inline-block}.ui-editor-buttonset>.ui-button{float:left;display:block;margin:0 -1px 0 0;font-size:13px}.ui-editor-buttonset .ui-button:hover{z-index:1}.ui-editor-buttonset .ui-editor-selectmenu{display:block}.ui-editor-buttonset .ui-editor-selectmenu .ui-button{margin:0 -1px 0 0}.ui-editor-ff .ui-editor-buttonset{float:none;vertical-align:top}.ui-editor-wrapper .ui-button{height:32px;margin-bottom:0;margin-top:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-wrapper .ui-button-icon-only{width:32px}.ui-editor-wrapper .ui-editor-buttonset>.ui-button{-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.ui-editor-wrapper .ui-editor-buttonset>.ui-button:first-child{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-o-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;border-bottom-left-radius:5px}.ui-editor-wrapper .ui-editor-buttonset>.ui-button:last-child{-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-o-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;border-bottom-right-radius:5px}.ui-button-icon-only .ui-button-text{display:none}.ui-editor-unsupported{position:relative}.ui-editor-unsupported-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:black;filter:alpha(opacity=50);opacity:.5}.ui-editor-unsupported-content{position:fixed;top:50%;left:50%;margin:-200px 0 0 -300px;width:600px;height:400px}.ui-editor-unsupported-input{position:absolute;bottom:10px}.ui-editor-unsupported-content{padding:10px;background-color:white;border:1px solid #777}.ui-editor-messages{margin:0}.ui-editor-messages .ui-editor-message-close{cursor:pointer;float:right}.ui-editor-messages .ui-icon{margin:0 0 3px 3px}.ui-editor-messages .ui-icon,.ui-editor-messages .ui-editor-message{display:inline-block;vertical-align:top}.ui-editor-messages .ui-editor-message-wrapper{padding:3px 3px 3px 1px;-webkit-box-shadow:inset 0 -1px 1px rgba(0,0,0,0.35),inset 0 1px 2px rgba(255,255,255,0.5);-moz-box-shadow:inset 0 -1px 1px rgba(0,0,0,0.35),inset 0 1px 2px rgba(255,255,255,0.5);box-shadow:inset 0 -1px 1px rgba(0,0,0,0.35),inset 0 1px 2px rgba(255,255,255,0.5)}.ui-editor-messages .ui-editor-message-wrapper:first-child{-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-o-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-o-border-top-left-radius:5px;border-top-left-radius:5px}.ui-editor-messages .ui-editor-message-wrapper:last-child{-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;border-bottom-left-radius:5px}.ui-editor-messages .ui-editor-message-circle-close{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmNWQ0YiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZhMWMxYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#ff5d4b),color-stop(100%,#fa1c1c));background:-webkit-linear-gradient(top,#ff5d4b,#fa1c1c);background:-moz-linear-gradient(top,#ff5d4b,#fa1c1c);background:-o-linear-gradient(top,#ff5d4b,#fa1c1c);background:-ms-linear-gradient(top,#ff5d4b,#fa1c1c);background:linear-gradient(top,#ff5d4b,#fa1c1c)}.ui-editor-messages .ui-editor-message-circle-check{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NkZWI4ZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2E1Yzk1NiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#cdeb8e),color-stop(100%,#a5c956));background:-webkit-linear-gradient(top,#cdeb8e,#a5c956);background:-moz-linear-gradient(top,#cdeb8e,#a5c956);background:-o-linear-gradient(top,#cdeb8e,#a5c956);background:-ms-linear-gradient(top,#cdeb8e,#a5c956);background:linear-gradient(top,#cdeb8e,#a5c956)}.ui-editor-messages .ui-editor-message-info{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2E5ZTRmNyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzBmYjRlNyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#a9e4f7),color-stop(100%,#0fb4e7));background:-webkit-linear-gradient(top,#a9e4f7,#0fb4e7);background:-moz-linear-gradient(top,#a9e4f7,#0fb4e7);background:-o-linear-gradient(top,#a9e4f7,#0fb4e7);background:-ms-linear-gradient(top,#a9e4f7,#0fb4e7);background:linear-gradient(top,#a9e4f7,#0fb4e7)}.ui-editor-messages .ui-editor-message-alert{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZDY1ZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZlYmYwNCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#ffd65e),color-stop(100%,#febf04));background:-webkit-linear-gradient(top,#ffd65e,#febf04);background:-moz-linear-gradient(top,#ffd65e,#febf04);background:-o-linear-gradient(top,#ffd65e,#febf04);background:-ms-linear-gradient(top,#ffd65e,#febf04);background:linear-gradient(top,#ffd65e,#febf04)}.ui-editor-messages .ui-editor-message-clock{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZiODNmYSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2U5M2NlYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#fb83fa),color-stop(100%,#e93cec));background:-webkit-linear-gradient(top,#fb83fa,#e93cec);background:-moz-linear-gradient(top,#fb83fa,#e93cec);background:-o-linear-gradient(top,#fb83fa,#e93cec);background:-ms-linear-gradient(top,#fb83fa,#e93cec);background:linear-gradient(top,#fb83fa,#e93cec)}.ui-editor-messages .ui-editor-message-clock .ui-icon.ui-icon-clock{background:transparent url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAOXRFWHRTb2Z0d2FyZQBBbmltYXRlZCBQTkcgQ3JlYXRvciB2MS42LjIgKHd3dy5waHBjbGFzc2VzLm9yZyl0zchKAAAAOnRFWHRUZWNobmljYWwgaW5mb3JtYXRpb25zADUuMi4xNzsgYnVuZGxlZCAoMi4wLjM0IGNvbXBhdGlibGUpCBSqhQAAAAhhY1RMAAAACAAAAAC5PYvRAAAAGmZjVEwAAAAAAAAAEAAAABAAAAAAAAAAAAA8A+gAAIIkGDIAAACsSURBVDiNtZLBCcMwDEUfJgOUjhAyQsmp9FA8TgfISj6F4gl66jSdIIf00G9wnLjYKf3w0Qch6Us2fMdVLMYx0haYRZsrMJEegZdiDj3gFFeT54jBiU2mO+XdVvdRyV0OYidVMEAH3AEPHGoboMKwuy+seYqLV9iNTpM90P7S6AQMitXogYnPHSbyz2SAC9HqQVigkW7If90z8FAsctCyvMvKQdpkSOzfxP/hDd++JCi8XmbFAAAAGmZjVEwAAAABAAAAEAAAABAAAAAAAAAAAAA8A+gAABlX8uYAAAC3ZmRBVAAAAAI4jaWQsQ3CQBAEB4cECFGCI1fiAlyFKwARWgSIeqjCNTh0gIjIkBw9gffFSfz74VlpdX/W3Xr3YBmlmIUSmMSoSGHee+CmGsMGaFU/cAecqnVh/95qpg0J/O0gCytgDRzUX4DnryIn5lwO6L7c6fxskRhMwkc4qj+TEcFjC9SqWcsj8x3GhMgu9LHmfUinvgKuYmWWp5BIyEFvBPuUAy9ibzAYgWEhUhQN8BCb2NALKY4q8wCrG7AAAAAaZmNUTAAAAAMAAAAQAAAAEAAAAAAAAAAAADwD6AAA9MEhDwAAAKhmZEFUAAAABDiNY2CgMTgNxTgBExLbh4GB4SCUxgeMcEkcZmBg+A+lcQETqBoTbJI+UM1ku4AiEATFZIEQBoi//kPZxIAAKEaJBYpACAm24wUSBORVGBgYUqA0BtjKAAmHrXg0f4aq+YxuiAQDIiD/Q/k8DAwMdVDMw8DAkIamJo2QCyYjKZ4MtfErlP8VlzeQw2AlkgErkbyBMwzQgRoDA8N+KMapAQDdvyovpG6D8gAAABpmY1RMAAAABQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZC1N1AAAAsWZkQVQAAAAGOI21kkEOgjAURF9YGBbGtYcwLowrwxk8BMcg3XACD9djGJaujKmLTkMRCiXEl0ympYX8+Xz4M62UpIjWR8DI59inDgzg5CkOwEs+YnMFmzhJOdwAK1UAZ+ANfLRewuJ75QAb/kKRvp/HmggVPxHWsAMu8hEN8JRPUdLnt9oP6HTYRc/uEsCVvnlO+wFGFYRJrKPLdU4FU5HCB0KsEt+DxZfBj+xDSo7vF9AbJ9PxYV81AAAAGmZjVEwAAAAHAAAAEAAAABAAAAAAAAAAAAA8A+gAAPSdgJwAAADDZmRBVAAAAAg4jaWSTQrCMBCFP6NIT5AjCF6gJ6jbUnoCL1biDTyF5AAueoZu3LkSrAtHTEJiIn3wmCTz92YILMQ64++BPTDKXQMH4AbcAZQTvAEasTFo4AqcxeowoAFmsSk1s8M+DChRMEnyFFNQAg10sWSFv49cESPUn+RRWFLE8N2DKe2axaIR/sU25eiAi9gUBt6zDzGnFad13nZCgAr/I1UxBdZRUAMPYV2iIETrdGudd28Hqx8FFHCU8wl4xoJeZnUrSRiyCSsAAAAaZmNUTAAAAAkAAAAQAAAAEAAAAAAAAAAAADwD6AAAGe6xwAAAALtmZEFUAAAACjiNpZJBCsIwEEWfpUsPULoSl55Beh4J7nqCHkDceR3pIaSr4Ak8Qq2L/khomlrig+FPhszwJy3EqYCHolq4F6UDBkWnWgbspN+CT7EwMAPuwFM67aUAem/IdIW952jQOeCXg1bN7ZyDNQRvsEkYkgNG+S1XcpHWKwacgatzlLLH2z/8vUJCf5wSaKQxToCVBjSM37jxaluFw+qOXeOgBF4KVzNqNkH3DAfGX7tXnsRREeUD4f8lQGjw+ycAAAAaZmNUTAAAAAsAAAAQAAAAEAAAAAAAAAAAADwD6AAA9HhiKQAAAJ9mZEFUAAAADDiNtZDLCcMwEEQfIUcXoDpCKgg6qIRUEtKB6wg6poDgalyFTj7YBw+2QyRlCc6DYVm0n9FCGQc8JFepWzgBN0WACIxS/NZ8BgYVD8pzA1ogKb5x3xSPyp0a4+YLSe/J4iBH0QF83uCvXKSFq2TBs97KH/Y1ZsdL+3IEgmJt86u0PTAfJlQGdKrprA6ekslBjl76mUYqMgFhpStJaQVr0gAAABpmY1RMAAAADQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZshBTAAAAu2ZkQVQAAAAOOI21kCEOwkAQRR8rKkkFCtmjkJ4ARTgBArViT4LjLJwBgUZUr8NBQlrR38Am3XYEvOTnT7PzuzO7IE8BHFWfgNdELwBLYCMH8EAr+VzIyUvgBlzkZaZ/D1zlCfXXba2+C93sVaNwK08ogUaHzcQEu9wE0O9e83kDEw7YAhG4K/ww5CoJFB52j8bwU6rcTLOJYYWo2kKywk9Zz5yvgCAfDb9nfhLoHztYJzhIpgnGOEv/owMnkSfarUXVlAAAAABJRU5ErkJggg==\') no-repeat center center}.ui-editor-align-left-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAItJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAjWYrEN2VYPbAZR1QUb0WxEZmPD1lR3wTYCttpSJQxg6mE0sgt2E/AzCLMBMTsQcwCxAskuQE722FwwEYiNsNjKClR8EUjH4w2DActMFBsAEGAAnS84DrgEl1wAAAAASUVORK5CYII=\') 0 0}.ui-editor-align-left-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-align-right-button .ui-icon{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIxJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAvYjGYrMhuEHanugo0EbETH1jQPg714bGcGYhOqu2A3AT+DMBvQQnYgzQHECiS7ADnZw9j4wmA61J+sQMUcUFtBtrMC8TEg9kNxwYBlJooNAAgwAJo0OAu5XKT8AAAAAElFTkSuQmCC\') 0 0}.ui-editor-align-right-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-align-center-button .ui-icon{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAI1JREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAlswGErjO2KrJiqLtiIw0Zc2JpmYbCTgM2WFIUBTD2MRnbBbgI2gzAbELMDMQcQK5DsAuRkj80FMDAFiI2RbGUFKuaA2noGiEOwhsGAZSaKDQAIMAB/BzgOq8akNwAAAABJRU5ErkJggg==\') 0 0}.ui-editor-align-center-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-align-justify-button .ui-icon{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJFJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAjWYrEN2VZkNgg7Ut0FGwnYiI6tqe6CbUTYCsPMQGxCdRfsJsJmNqCF7ECaA4gVSHYBcrKHsZFdMBGIjbDYygpUzAG1FWQ7KxAfA2I/FBcMWGai2ACAAAMAvPA4C7ttvJ4AAAAASUVORK5CYII=\') 0 0}.ui-editor-align-justify-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-bold-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKRJREFUeNpi/P//PwMlgImBQjDwBrCgmMbEpA2kGnGofQ3E9UD86t+/fzhdcBWIpwExMxQ3AHEIEK8BYgkgdsLrAih4A8SsaBYwQcWYiDGAEcmAbiwuJBiIIAPYoLgfiMuBeBmUXwHEXIQMYEIy4BUQXwDiy1C+HBBrEPKCDBCzwwwDpVRGRkZksU8ozkVOykCFVkBqOZ5oB3lpAoqe0bzAABBgANfuIyxmXKp/AAAAAElFTkSuQmCC\') 0 0}.ui-editor-text-bold-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-italic-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH1JREFUeNpi/P//PwMlgImBQjDwBrBgmMgEN1MbiBvRpOv//ft3FUUEFIjImJGRERnrAPF6IO6BiaGrZyLCi6xAvJDcMLAA4j9AfJlcA/yBeCe5sWAExAJAfIKkWIAFJBAUATE7kM+M143ooQoEVkD8EA1b4Yy10bzAABBgAC7mS5rTXrDAAAAAAElFTkSuQmCC\') 0 0}.ui-editor-text-italic-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-underline-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi/P//PwMlgImBQkCxASwopjExhQGpMCSheijdiCz279+/q3AeKAxgmJGREYSdgHgdlIaJ6SCLIevB5oXXUJe9RhK7gkUMZxgwAjEzlEYG2MRwGsCKRTErKQawYFHMQqwBn6G2qSCJGULFPmPYhpwSgdEIY6YCcTKa2rlAPBvEAEYjdgNAUYRMowOYWmQ9LFjUPSGQP2RwemFoZiaAAAMAlEI7bVBRJkoAAAAASUVORK5CYII=\') 0 0}.ui-editor-text-underline-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-strike-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL5JREFUeNpi/P//PwMlgImBQkCxASwopjHBzbMB4nQg5oTyrwKxNhAXAfGjf//+EXRBFhC/BOI0KAapYwZpxusCJPASquEdlD8FiHWwKWREjgUkL4gDcQ0QfwfiXqiBcIDsBXQD9hATcEADXOAckAEwzMjIiI4lgHgiEM8GYkmYOLIeXAZ4I2sA4vlQjGEArkBsAeJzQAUVYH8yMnIAKTmC6QAaHhpALALEPCBDoOJfgFQ5wVgYmnmBYgMAAgwAEGZWNyZpBykAAAAASUVORK5CYII=\') 0 0}.ui-editor-text-strike-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-sub-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi/P//PwMlgImBQjDwBrDATWJCMWs6lM7Ep/nfv39YXSAPxL+AWALKJtkLLkB8EohZoWySDbAH4uNQQ+xJNUAJiH8DMT8QPwZiWagYDEwA4v1QGgJACQmEGRkZQTgXiI+i4VyoHAy7AfEaEBucCNEM2AzEKkiKu6BiYMuAdAYQLwZiKQwDgGAVED+E0iBgBeUjiy1HErMCWzyaFxgAAgwA5Gw9vTeiCqoAAAAASUVORK5CYII=\') 0 0}.ui-editor-text-sub-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-super-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNpi/P//PwMlgImBQjDwBrCgmMaEYt50KJ0JpRuBWBuIrwJx/b9///C6QB6IfwGxBJQNAvVAPAkqRtALLkB8EohZoWwQiAbiICCuI8YAeyA+DjXEHiqmD8SaQLwIysYMAyhQAuLfQMwPxI+B2AkqVkZsLHgDsQYQTwXiVCBmg4phB6CUCMOMjIwgvBmIVaBsEO6CijEgY5geFAOAYBUQP4TSIGAF5SOLoVjMOJoXGAACDACTRz3jjn6PnwAAAABJRU5ErkJggg==\') 0 0}.ui-editor-text-super-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-quote-block-button .ui-icon-quote{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGVJREFUeNpi/P//PwMlgImBQjAcDWBhYZEA4r1AHA/EKHxiXQBS+BKIF+LgEzTAG4h3I0UvOh+/AUCFbECcDmROA2lC5mMzgAWLGDuUtsTBJ+iFeUDMC6Wx8VEA42hSptwAgAADAO3wKLgntfGkAAAAAElFTkSuQmCC\') 0 0}.ui-editor-quote-block-button:hover .ui-icon-quote{filter:alpha(opacity=100);opacity:1}.ui-editor-clean-button .ui-icon-clean{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABNVBMVEUAAAAAAAAgSocgSocgPnAAAABxcXFPT09YWFggSocgSocoToUbPXgSN3kyYZw0ZqT///8iUZkgSoc1Z6UiUJaJrNkwXpZIeLiOvO03a6s4b7JekNUjUpqCp9eNr9pSjeAwX5g2aqquxuV8otPB1euOsNv8/f6gveFgkdVnkMmbuuVfk9lkk9fK3Pbs8vmWtd5Vjs98odCHqNWkv+Jzms6Qt+xnmNuzyudVidS90u6hwe5mmuQtXKCow+OqxepNg82Xtd3C1Ox0m89vl8x3oNl4n9NSjuDi7PqlxO+MtOyWtt2fwO60y+dUjt5zm8/L2+9qneT3+f7g6/qDrelRi95snuWowuSfvOGPr9uwyeqRsdqUs9qat92OrtmDptN5ns9Rh8hqk8uXuehwnt1vl83e6vmZu+gBAK69AAAADXRSTlMbAKM01gogSSmAy7W1OP1GaAAAAM1JREFUeF5VzNN2A1EAQNE7TIrrsSe0Udu2zf//hHZWk672PO6HAySR/UmUwBjT9XyzeJlZuGpe60wE474TxxghhHEcOz4DzLcxRoZhJGT/AOcoiiKEOE9AZEGw291fOcpNdZeD74fEqKZ5lFLP0+YplIDAzBfXrTQKNyW3bEIhgV51QD5fyVv1fQir0zOzcxfW4tLaCGqkHoYWWR/BxubW9k5/7+PgcAjZ8JicnJKz82wC6gRstTu3d/cPj0/PcFIF6ZQMf5NTaaCAfylf1j4ecCeyzckAAAAASUVORK5CYII=\') 0 0}.ui-editor-clean-button:hover .ui-icon-clean{filter:alpha(opacity=100);opacity:1}.ui-editor-click-to-edit-message{padding:10px;border:1px solid #d4d4d4;font-size:13px;z-index:4000;color:#000;text-shadow:none;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px;background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YyZmZmMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RhZjJkNyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f2fff2),color-stop(100%,#daf2d7));background:-webkit-linear-gradient(top,#f2fff2,#daf2d7);background:-moz-linear-gradient(top,#f2fff2,#daf2d7);background:-o-linear-gradient(top,#f2fff2,#daf2d7);background:-ms-linear-gradient(top,#f2fff2,#daf2d7);background:linear-gradient(top,#f2fff2,#daf2d7);-webkit-box-shadow:0 2px 10px #ccc;-moz-box-shadow:0 2px 10px #ccc;box-shadow:0 2px 10px #ccc;-webkit-transition:opacity .5s 0s;-moz-transition:opacity .5s 0s;-ms-transition:opacity .5s 0s;-o-transition:opacity .5s 0s;transition:opacity .5s 0s;filter:alpha(opacity=0);opacity:0}.ui-editor-click-to-edit-visible{filter:alpha(opacity=100);opacity:1}.ui-editor-click-to-edit-highlight{cursor:pointer;outline:1px dotted rgba(0,0,0,0.5);-webkit-transition:all .5s 0s;-moz-transition:all .5s 0s;-ms-transition:all .5s 0s;-o-transition:all .5s 0s;transition:all .5s 0s}.ui-editor-debug-reinit-button .ui-icon-reload{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAqBJREFUeNqkU01PE2EQnrfdtmyLpbRNA/ULGyAhRi+NHkTk5sEEiRyMEi+evHszJh5I/AF613ho9EIwhEiMB4kSjQcWSDxgIAhJoZV26dd2t/v17jqzkoLGG5vM7rvzzPPsfOww13XhOJdAt8vPN0EIBEAQBPD5/UHGWALdnWgW2iO07H+40sL91APhH2ev4HOH+tJiZzoZCia7guXpj8XsnevprGX9yVQMM8i9K0jA2GI7A+9y3Uwo4I6Mj6aijToHzl2nXrNk27bBMDg0FQ7dcQFezeYljH6PlmsLuI4T8zF+e+zqqZ69ggaKZrH13WaxXDcUwm2LQ6xbgOKOCreu9WTfLuQVy3bSCBV8XoBpjmR6xYvFfKNflpuZTyuF1q+y8sHhXLINA7q6g/Byek06ERWgUlJh8EykHzkTxPUETMMYTcWCQ/Wqllnb3hct0/yM01nWVZUwePZiWcLnt0Vpd1NvmZCMBuL4PtwuwdL1S37GMqpuQaFUL+Mk5rllgeM41BuqeZH5/bmNzdJSbzQEiUggjJyBtgCqRVTDjqrc9c6YOjbRhlCHSON9YKMYGQpDrWVDh2F7mR2WoOsbezVdU30CdMXEGNY3abZ0rLcEVVkGpVqlPk0SRjEUS5y2gGUYX7byckURgnB66OxJ7MFD7MHkAQZ0Jh9hFEOxxDkUMM2ZrR/bMo+IsA3hjuzN4fPpvtQUjneJjM7kI4xiKJY4xGW0C9F7bwDrHvNHwk8T4zcutGz0hRjEQp4+1AwHGoYLosBgf3b+O1e1x9iPuUbu7uGfiEJzerUGu6+npwKDA8lm5lx8J54Ie2lWapr7c6tSWd+QwTSfYGPn/lqmoyKOpkn2yuoErKxeQdfgAbSO9hWXbAa/XDjKYcdd598CDAAkzn7JYhVZYAAAAABJRU5ErkJggg==\') 0 0}.ui-editor-debug-reinit-button:hover .ui-icon-reload{filter:alpha(opacity=100);opacity:1}.ui-editor-debug-destroy-button .ui-icon-close{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAtFBMVEX///+nAABhAACnAACjAACCAACgAACHAACjAAByAAB1AAByAACDAACnAACCAACHAACgAACNAACbAACXAACMAACSAABfAACYAACRAACjAACbAAChAACqAACNAACcAACHAACqAADEERGsERHQERG+NjaiERHUTEzYERG4ERGlFBSfFRX/d3f6cnK0JSWoHh7qYmLkXFyvFRXmXl7vZ2fNRUX4cHDXT0/+dnbbU1O3Li7GPT26MTG2f8oMAAAAIXRSTlMASEjMzADMzAAASMxIAMwAAMzMzEjMzEhISABIzABISEg/DPocAAAAj0lEQVR4Xo3PVw6DMBBF0RgXTO+hBYhtILX3sv99RRpvgPcxVzp/M5syb7lYepxDABDeYcQ5wg+MAMhr3JOyJKfxTABqduuvjD37O6sBwjZ+f76/7TFuQw1VnhyGYZPklYagKbKLlDIrmkBDGq1hUaqhM4UQJpwOwFdK+a4LAbCdlWNTCgGwjLlhUQqZ8uofSk8NKY1Fm8EAAAAASUVORK5CYII=\') 0 0}.ui-editor-debug-destroy-button:hover .ui-icon-close{filter:alpha(opacity=100);opacity:1}.ui-editor-dock-button .ui-icon-pin-s{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbFJREFUeNpi/P//PwMlgAVEPGNiIqTOBojz/zIwTHrPwHD4BZDzGGhxMhAzEWlRvtTy5SE/GRiKge61R5YgyoB/IHVPnzIoTprk/52BoRJoiDNBA5BCxuY3UN2vz58Znu7ZwyAaHOz+8f//RqC8OzEuAPtdcfbsgM937zJ8+fKFgePHDwa3sDBroKGt8EBEAo1ArAV1ARPQucwqs2f7vz14kOHH378MF/buPQ4S+wXEQPkauAG3EFHp7bBihTHDs2cMf4E2ffvwgQGmeeuyZWf+MDA0ATXs+I8eiP+gGBhNNTsjIs7+5+Vl+HTrFsOry5cZXr56xXB02bKjQM21QCU7sKaDRYiA2wE0RPJnamq2VVGR8adr1xi4uLkZPjMwsDJCNf/HagAjI8SA//95gRRb5pEjxnttbM6aeHsb87CwMED9DAZ/0QxAjgVmRkZGj+vXr0+wt7evWc3ENPfI1q1n2djYGP4TSsqMEBfYLV26tExXVzcfyF8NdM17oG33V69e3QKUO0vIAF1PT8+Y2NhYUDRuh7n0PyTEdzAQ4YKYHTt2TAEyz5OaGxkpzc4AAQYAvlOuK2pYar0AAAAASUVORK5CYII=\') 0 0}.ui-editor-dock-button:hover .ui-icon-pin-s{filter:alpha(opacity=100);opacity:1}.ui-editor-dock-button .ui-icon-pin-w{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wFFgA2AnOoAZ4AAAH4SURBVDjLtZNNaxNhFIXPfefNJJlkppFI09Ca1FiRMiDduCjWQltdtILdu1DcSkpx7UL6A1zGH+BKEFy5MkhErRvpwo+NSDEaaYyZSZNJJslkPl43XQQaaUA8u3M5PFwu5wL/KBo1FEC4DJALiN2jjAWIbcA5EVABzotkUu+ZJmvLsmQwJtcHA2oHQc8FXm8D9eE8HzafgThPpS5H19Zux4kmIqbJWL3OT/u+9LNWK1er1V8PgMMdwBsJ8AARtFoD6na1qK7PubFYTOOc9RqNQxEEX1ygswP4Jx6mDNw3Fhc/WVtb4uPy8uAx0YeHwMaoLBs1DBE9kzTtIJLJ4FQ6LQnghZVMFscCCIB8IeKB7/e6lYpjNZs2V1WeNk02FuApwAJA8xwnFHgeSUL4rmVJ3yIRfyzAFWA+Oj29EZqcvODYNveJEloisZnq9++NAkjD5gCY59nsnfjq6iafnT3bNQzJrtWQzeUm+p3OxQXbll8Cb45tYBGRKcucEd2Irq/fDC8tzSm5nKRMTSEUi3lcUXB1ZSV1RlVvPWLs2rEiaUIIDAbee+AtisWMUyqpRhAoiq7rLdtudvf2fsQlqWe02yQDr/7axEvAbml///uTcHjhqyxncjMz5zqO87th28+vu+47GWjfBdyxP61QKFA+nydVVQn/S38ATpHDEx6slP8AAAAASUVORK5CYII=\') 0 0}.ui-editor-dock-button:hover .ui-icon-pin-w{filter:alpha(opacity=100);opacity:1}.ui-editor-dock-docked{z-index:10000}.ui-editor-dock-docked .ui-editor-toolbar-wrapper{position:fixed;top:0;left:0;right:0;border-top:0;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-pack:center;-moz-box-pack:center;-ms-box-pack:center;box-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-box-align:center;box-align:center}.ui-editor-dock-docked .ui-editor-toolbar{text-align:center}.ui-editor-dock-docked .ui-editor-path{position:fixed;bottom:0;left:0;right:0}.ui-editor-ios .ui-editor-dock-docked .ui-editor-path{display:none}.ui-editor-dock-docked-to-element-wrapper{font-size:inherit;color:inherit;font-family:inherit}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper{position:relative!important;top:auto!important;left:auto!important;border:0 none;padding:0;margin:0;z-index:auto;width:100%;font-size:inherit;color:inherit;font-family:inherit;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-toolbar{margin:0;z-index:2;-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-box-ordinal-group:1;box-ordinal-group:1}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-toolbar .ui-widget-header{border-top:0;border-left:0;border-right:0}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-path{border:0 none;margin:0;-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-ms-box-ordinal-group:3;box-ordinal-group:3;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-messages{margin:0}.ui-editor-dock-docked-element{margin:0!important;display:block;z-index:1;-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-box-ordinal-group:2;box-ordinal-group:2}.ui-editor-dock-docked .ui-editor-messages{position:fixed;top:0;left:50%;margin:0 -400px 10px;padding:0;text-align:left}.ui-editor-dock-docked .ui-editor-messages .ui-editor-message-wrapper{width:800px}.ui-editor-dock-docked .ui-editor-messages .ui-editor-message-wrapper:first-child{-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-ms-border-top-right-radius:0;-o-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-ms-border-top-left-radius:0;-o-border-top-left-radius:0;border-top-left-radius:0}.ui-editor-embed-button .ui-icon-youtube{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAxlBMVEX////////fNzfaMTHVLCzKISHFGxvvR0flPDzpSEjdMTH4Y2PaKyvtTk7PJibXIyOnLi7lQECkKyvSHR3mPj6eJCSUGhqRFxfqQkL0XFziOTmOFBSBBwehKCiHDQ3PFRWaISGXHR3wVlaECgqqMTGLEBDGHR365eW1ICDaXFz139/LDg7NLi6tNDTSKSnMNzd9AwP1TEy/Fhbwxsbqv7+7EhKzFBS6EBDonZ3akJDkhISxBwf8a2vLIiLPcHD88fH67+/fYGAnLmvBAAAAAXRSTlMAQObYZgAAAJtJREFUeF5Vx0WShFAUBMB631F3afdxd7v/pQaiN5C7BK4mgM3nxAahczfihIgrrfVTqs+qGN2qLMvHwy4tB6sOmWeMIXp7/jI9L8PCYowR0e/3xzVj1gLLiHNOg9OR82iJvBZC0GD/J0Sdo7B93+/78+737AKNK6Uker2UA7fBNlBKPdyos2CLWXI/ksywnr+MzNdoLyZa4HYC/3EAHWTN0A0YAAAAAElFTkSuQmCC\') 0 0}.ui-editor-embed-button:hover .ui-icon-youtube{filter:alpha(opacity=100);opacity:1}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;height:100%;width:100%}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs>div{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs>div>p:first-child{padding-top:10px}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs>div textarea{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-flex:4;-moz-box-flex:4;-ms-box-flex:4;box-flex:4}.ui-editor-float-left-button .ui-icon-float-left{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS5JREFUeNpi/P//PwMlgImBQsACY1zaIH4A6Bp7dAUzV31jnLHy22YgkxFqIQhf/vfvXymKAQ8eidtra35lYAQqY+FgZWBmZ2X49fk7AxvbX6DsN1+CLlgwn5khMECAwcLiL4OogiIDj6QEw9uLZ4AGfAVJ70BzAQg7ohigrnaP4cEDLoY3bzkYzL6/ZVA34ma4ev07w/sPv0HSHgRdoKICUvgR6IWPDK8evWb49+8iw/1bfxhevwYbsBfNdhC2BkkwwqLRxRhuFgM3HyMDrwAjw8vH/xj2nvuH1WZgIDKgGMDExLQNiz9xYWagASboBpAU/zAXsCCJ7SbCZjaghexAmgOIFUh2AXKyh7GRXTARiI2w2MoKVMwBtRVkOysQHwNiPxQXDFhmotgAgAADAKYzbYynfqX2AAAAAElFTkSuQmCC\') 0 0}.ui-editor-float-left-button:hover .ui-icon-float-left{filter:alpha(opacity=100);opacity:1}.ui-editor-float-none-button .ui-icon-float-none{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAkFBMVEUAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEAAADRrxbRsBYBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAACcegnCrQ6ffgqukQv+/GixkS3duyLhwyfkyizevSNRMDCigDLauC/y41DcuiLrzTTQrhWCYBiObSDErz3r4VvApCt4Vg6dewnDaH3NAAAAGHRSTlMAycfDxcu9v8HYu+DAwIm3uZnRkdDn7LIyy/h+AAAAWklEQVR4Xp2KRwqFMBQAYzfGXmPtvfx//9spgvAWQcRZzgx6gz6dGEDkQ1FWNRBN2/XZCMRvXtZtB4LSfxon6AHTsjVZUQWR5xz2cWfJxYR9eFf2MQnCCH3hAIfwBUXJe8YuAAAAAElFTkSuQmCC\') 0 0}.ui-editor-float-none-button:hover .ui-icon-float-none{filter:alpha(opacity=100);opacity:1}.ui-editor-float-right-button .ui-icon-float-right{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS1JREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzZYRzBaaHcWE4kZGJ8aCe/0sHFAOAoB5d4avXfAwPH4swaGt+ZWAEGsnCwcrAzM7K8Ovzd3sMFwDBWpjNMPrK5b++C94yMwQGCDBYWPxlEFVQZOCRlGB4e/EMAzYDgtFdICr6kUFd7QfDgwdcDG/ecjCYfX/LoG7EzXD1+ncGeyNMAzYiuQDsCmHhf54qKr+BzI9AL3xkePXoNcO/fxcZ7t/6wwDzAyMsGoGBiDWUnQwR4tx8jAy8AowMLx//Y9h95g+GAdvQXIAPM//798+EKBfgAkADMMJgNxE2swEtZAfSHECsQLILkJM9jI3sgolAbITFVlagYg6orSDbWYH4GBD7obhgwDITxQYABBgAdBpg+9sXURwAAAAASUVORK5CYII=\') 0 0}.ui-editor-float-right-button:hover .ui-icon-float-right{filter:alpha(opacity=100);opacity:1}.ui-editor-font-size-inc-button .ui-icon-font-size-inc{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOhJREFUeNpi/P//PwMlgImBQkCxASxgU5gwzJkOpTORBZ2ilzO8+MjFwMIixnBhnTlOF8gD8U8gFoey4UBSyZooLzgD8Umo65xhgsYu5USHgS0QHwfiE1A2TtuxGaAIxL+B+AEQnwFiaagYg6Qi2AAHIP4PpbEa4AHEz4HYAIi/QL3hgSS/H4gfQmlELCAHNBBLQGlksenP7x9l4Bc3YMTnBRWogbZIuBOIZUFyW2b5EQwDVyA+giYPcionSA6U5Jc0yTK8vrUcVQU0L1gB8RMotkKSXoMkXgQT5BM3A+sDYcahn5kAAgwArro7Z1GYijsAAAAASUVORK5CYII=\') 0 0}.ui-editor-font-size-inc-button:hover .ui-icon-font-size-inc{filter:alpha(opacity=100);opacity:1}.ui-editor-font-size-dec-button .ui-icon-font-size-dec{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKxJREFUeNpi/P//PwMlgImBQjAMDGBBMY0Jbp4JEFcAcQcQnwEJpLa/Zfj27SvD+fPnGVhYxBgurDPH6wI9IP4DpRmMXcpJ9oIZELcBcRiaOCjOH0BpnAYoAbE6EE8EYnYgtjq7pxMm5wjE8lAapwFOQLwFiIuB+AQ0PBi2zvYHUQeAmBFKYxoATJWWQOwLxJJAfA6I5YE4FyT+9O5hBiSXwAHjaFKm3ACAAAMA85o8WKYZErQAAAAASUVORK5CYII=\') 0 0}.ui-editor-font-size-dec-button:hover .ui-icon-font-size-dec{filter:alpha(opacity=100);opacity:1}.ui-editor-show-guides-button .ui-icon-pencil{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUeNpi/P//PwNFAGQAIyMjDK9BYqNgXHqZ0MSYcFmEyxBGsClMTGS5+t+/fxg2biLGAGTXoBvATGoYkuUFGMDmhd2kGjL4vHCUUi9cIjcpnwPi2UAsBaXPQZPwOXxscD5Cy0xLSbUc3YDnJLue0uwMEGAA2O1APJOrHFQAAAAASUVORK5CYII=\') 0 0}.ui-editor-show-guides-button:hover .ui-icon-pencil{filter:alpha(opacity=100);opacity:1}.ui-editor-ui-show-guides-visible *{outline:1px dashed rgba(0,0,0,0.5)}.ui-editor-undo-button .ui-icon-undo{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe1JREFUeNrEUzFrFEEU/mazu7d3x8U9g0ROwkHEwrSrNmksJBxok1RRwUIEz0awFStZoqQw5B9ok1jYiRDBwl4PSaFJVLCMMfHWS7zb3ZndGd9ssgdXiVzhwGNnH+/75n3vm2FKKQyzDAy5zKmHLRSKRdiOA6tQgGlZDcrPUme3dcFBEPSLlZQQcZyFTFN8WZiGOUCnVCMRws9/4zD8BwkEFpz7N66c8vQJUbeLNEn+LuEQqxo8jv0716e8/f0UPIp0+n1OTbFLsUF1z+n7boAgA0eRf/em521tdeE4BuYunfa0OYehEMUJ3wt6Fza+7s4EkVwh3DJFLyPgYejfa0576+u/MsZe70g/tX8QRujSHDgXtpTpmOvarkjYrZ97Qg/xUTYDOv3B46U3rcnJMqRUUKaBtsXwzWDYJmfax1y0x07gx/FxfLbckd+1Wj0dYddI8vlcwhp1gcUnr/z55mXvbcfA99WXrVwjMwzGHNs0yiWbVSpFXqtVMTFxkrU+zOt55ENc04N7tvTCP9O86mn76D6cIzDSODYRhhUEnXFguy4/bs6gWr1IubN9F3KShHN8Wn6a3QNtZaFU0lvtZXAUm1LK13Jn5z7Vzw0Q9EmE0NvZDNnpoDw6OuC7voFUs0C19Uzif39MQxP8EWAA91//GdkHdYEAAAAASUVORK5CYII=\') 0 0}.ui-editor-undo-button:hover .ui-icon-undo{filter:alpha(opacity=100);opacity:1}.ui-editor-redo-button .ui-icon-redo{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAd9JREFUeNrEU89LG0EUfjP7KyvEGsRorRhoySGCuSyht0IPgicFQZCcvXsvHoP/Q8FDKZRCpQityKIHvZT2YI6t6MUfCJqQKpt1d7Ozu7N9O9vWhIIUcvDBt/OY4X3z3vfNkjiOoZ+g0GfIyaf46gtQSQJF0wQIvePN5nJiJYS8xmUzDAIz8H1gnQ74npcS3BeubYOm60lqCKQjm/89QhSG0HEcSG6tzo4bAWM1JJntGaE7UNQKcL6EaQkxknQfcS6Imk0GizOTxrvPx7Xf4pvdBAOc85VBnVTLU6OPhx8NZBVZUjmPIYpStNsMGo0I5l8+NT5sfxckggCFAYrFzyaHlo1yoYDdSs2WD9e2A/atC4wFooMkJBT79EqBF88Lxu7eYU0QMN+v5Eey1enSRKF1y6ULFoKFAFUDntMgwpsiDuAEMbgBhydDKmxtH9TRmdWUwPOWSsXi2Fmr7RyfNG6sa9vzbI+FHT+MI3730hbmjIwEcLTxSRSrup5qgH6Wvn39cd76ae9TSndw6wzRQNiSooQxiohjHij4Pqy379PiTMb86wJalL+6ZB+pLK9RSv+x0XddkQfrb9K2VdXssRHZk4M1mRDc6XXWsaw/aT15ibKimN3n5MF/pr4JfgkwANDA599q/NhJAAAAAElFTkSuQmCC\') 0 0}.ui-editor-redo-button:hover .ui-icon-redo{filter:alpha(opacity=100);opacity:1}.ui-editor-hr-button .ui-icon-hr{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXhJREFUeNpi/P//PwMTExMDEmgEYi0gZsSCrwJxNUzhv3//GBixGEA0ABnAgkV8LZqtTFDaF6aAX8KCwdBrA4QDckFq+1sGSUVrBkZGRqKwvEEhg2PyS7BeuAv07AsZXjw4BmJuQLIV5gImJLYrv7g53LlwA8TkLRgCi28wXDzQF/Dr10+G379/M/z58wfoz/9gfUxMrAzMzGwMsnr5DBwcvBgGHABiexBDyTiV4cuXTwxfv35j+PHjB9CQ/0BnszCwsHAysLHxIofVQSB2gBlgnxogAqREiI6B+ikf7ZFdcHD2hjf2X79+Zfj8+TNeF7Cz84K9wMrKdRDZAAcQ8fbJaYYndw4zYAsDHlFjBjZxKwyXwAPx1cMTDIdWxoKY+5BCHo7f31tp8VM9iUFQ0oaBQ9YBYQIoLo1dygmmA2QgIGHJoGhUCtaLLSkfweICVqA6diDNAcQKyJYTlRdAanCJY8sL04HYFM3WM0Acgs0QRlymEwsAAgwAwwCYinucCRoAAAAASUVORK5CYII=\') 0 0}.ui-editor-hr-button:hover .ui-icon-hr{filter:alpha(opacity=100);opacity:1}.ui-editor-wrapper .ui-editor-i18n-select{height:23px;top:-8px;text-align:left}.ui-editor-wrapper .ui-editor-i18n-select .ui-selectmenu-status{font-size:13px;line-height:10px}.ui-selectmenu-menu li a,.ui-selectmenu-status{line-height:12px}.ui-editor-wrapper .ui-editor-i18n-select .ui-selectmenu-item-icon{height:24px;width:24px}.ui-selectmenu-menu .ui-icon.ui-editor-i18n-en,.ui-editor-wrapper .ui-icon.ui-editor-i18n-en{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAIAAAD5gJpuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAflJREFUeNpinDRzn5qN3uFDt16+YWBg+Pv339+KGN0rbVP+//2rW5tf0Hfy/2+mr99+yKpyOl3Ydt8njEWIn8f9zj639NC7j78eP//8739GVUUhNUNuhl8//ysKeZrJ/v7z10Zb2PTQTIY1XZO2Xmfad+f7XgkXxuUrVB6cjPVXef78JyMjA8PFuwyX7gAZj97+T2e9o3d4BWNp84K1NzubTjAB3fH0+fv6N3qP/ir9bW6ozNQCijB8/8zw/TuQ7r4/ndvN5mZgkpPXiis3Pv34+ZPh5t23//79Rwehof/9/NDEgMrOXHvJcrllgpoRN8PFOwy/fzP8+gUlgZI/f/5xcPj/69e/37//AUX+/mXRkN555gsOG2xt/5hZQMwF4r9///75++f3nz8nr75gSms82jfvQnT6zqvXPjC8e/srJQHo9P9fvwNtAHmG4f8zZ6dDc3bIyM2LTNlsbtfM9OPHH3FhtqUz3eXX9H+cOy9ZMB2o6t/Pn0DHMPz/b+2wXGTvPlPGFxdcD+mZyjP8+8MUE6sa7a/xo6Pykn1s4zdzIZ6///8zMGpKM2pKAB0jqy4UE7/msKat6Jw5mafrsxNtWZ6/fjvNLW29qv25pQd///n+5+/fxDDVbcc//P/zx/36m5Ub9zL8+7t66yEROcHK7q5bldMBAgwADcRBCuVLfoEAAAAASUVORK5CYII=\') 0 0}.ui-selectmenu-menu .ui-icon.ui-editor-i18n-zh_CN,.ui-editor-wrapper .ui-icon.ui-editor-i18n-zh_CN{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAIAAAD5gJpuAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAFqSURBVHjaYrzOwPAPjJgYQEDAleHVbhADIvgHLPgHiQ0QQCxAlkR9NW8sw+cV/1gV/7Gb/hV4+vfzhj8Mv/78//Pn/+/f/8AkhH1t0yaAAAJp4I37zyz2lDfu79uqv/++/WYz+cuq/vvLxt8gdb+A5K9/v34B2SyyskBLAAII5JAva/7/+/z367a/f3/8ZuT9+//Pr78vQUrB6n4CSSj6/RuoASCAWEDO/fD3ddEfhv9/OE3/sKj8/n7k9/fDQNUIs/+DVf8HawAIIJCT/v38C3Hr95N/GDh/f94AVvT7N8RUBpjxQAVADQABBNLw/y/Ifwy/f/399ufTOpDBEPf8g5sN0QBEDAwAAQTWABEChgOSA9BVA00E2wAQQCANQBbEif/AzoCqgLkbbBYwWP/+//sXqBYggFhAkfL7D7OkJFCOCSj65zfUeFjwg8z++/ffX5AGoGKAAGI8jhSRyIw/SJH9D4aAYQoQYAA6rnMw1jU2vQAAAABJRU5ErkJggg==\') 0 0}.ui-editor-image-resize-in-progress{outline:1px dashed rgba(0,0,0,0.5)}.ui-editor-length-button .ui-icon-dashboard{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhFJREFUeNrEk7tv01AUxr/4kcRO7Fh1HghFgSAeYglDlIfUbGEBhaWoUxFiQWJGMDDyhzB2ZmANYmAoIvQPaIHIkVJjKyWkcdzYSR1zbhSGQhFDB47007333PN9V/cVCcMQ5wkO54wIxe+5q8Rt4gaRW+VsYo9oE1/+ZpAktjKZzL1arXatWCzmFEVhOYzH40m327U7nc7nwWDwhlLbxITN8SsDVvisXq9vtVqtuqZp2XK5HDcMg5vNZlylUon7vq+XSqXLi8WiYJqmTvWfiNkvg8e06gMqLDmOI5AIvV4P8/l8CeuzHMHn8/kcmeiWZQWk6zCD67quP280GuXNdlv4qKrwTk6WwpXoFNVqNTKdTtf6/X7C87wPzOAhrX4nCIK195KEp4aBtxyHKRm4roujozGdwQSO49LYx/7+VzIPeVEUOcsyh+wab9Ge0+SKGW3nhSzj5WiEoWlhMvHolKOIRmVIkgpZVhGPKxAEGdlsIc20zOASz/NSs9lkl4IwJuOJH+CVksDi2APPx0iYIgNlCTNYXy8hmdQkpmUGCfag2u134DgJipKGdqGAR6NjbKdVOAMbQRAiRsaCEKMaHru7XdYutRw95R+Hh0NXVTNIpXQy0KDrOVy8chOb34Z4XcjCMvZoO86p12bbBy7Tsv5dYoc4OAtFFM3BxkZ4xtzOSvvPuE98X7V//oX//ht/CjAAagzmsnB4V5cAAAAASUVORK5CYII=\') 0 0}.ui-editor-length-button:hover .ui-icon-dashboard{filter:alpha(opacity=100);opacity:1}.ui-editor-link-button .ui-icon-link{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAilBMVEX///8EBARUVFRUVFQEBARTU1MqKiwfHx5MTEzGxsZNTU1FRUWAgH8SEhJnZ2fd3d06Ojrg4ODIyMgODg4DAwMSEhLCwsGcnKXExNEvLy+ysrh+foMQEBBBQUEEBATJydeenqcDAwPT09OIiIjj4+OZmZl3d3fU1OPCwsHW1tXq6urr6+va2trGxsaRnmwcAAAAI3RSTlMAimdfRTOWgDXbAGXFj339cv3dAHtC3OP8bt+2cnuA/OMA+Akct2IAAABoSURBVHhetcVZFoIgGAbQ7wcVwyEKtBi01OZh/9urw2EJdV8ufkHmnDHG85RE2a7Wp812GGJtiaqvG1rOXws1dV9BzWKi2/3xfL1pErOCdT6YS2SCdxZdsdtfD8ci1UFnIxGNWUrjHz6V6QhqNdQf6wAAAABJRU5ErkJggg==\') 0 0}.ui-editor-link-button:hover .ui-icon-link{filter:alpha(opacity=100);opacity:1}.ui-editor-unlink-button .ui-icon-unlink{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA2FBMVEX///8WFhYvLy9LS0sEBAQODg4EBARNTU0DAwNVVVVUVFQtLS1nZ2cfHx46OjoSEhLGxsZTU1OAgH/T09NUVFQEBAQ6OjpMTEwvLy+4uMDCwsEQEBCvr7sSEhIEBAR+foMqKixFRUUEBARDQ0MBAQEBAQG5ucQiIiICAgIODg7Z2dlAQEBMTEwsLCxGRkYAAABPT0/e3t4mJiYqKiopKSlUVFQiIiJJSUkjIyNFRUU5OTkBAQEoKCi/v8zCws+qgFWFZkY7MSbc3Nzj4+Pm5ubOztzU1OTQ0N6IE/7FAAAAQ3RSTlMAAAAAigAAAAAAZwB9gACP2zPF+F9ocjVu39xy40KAtpZlRQBrUPx9AIb8AE8AAAAA/AAAAAAAAAAAAAAA/PwAAAD8PWHlxQAAALtJREFUeF5dzsVWxEAQheHqpGPEPeMWGXfcmQHe/42oC+ewmH95F1UfGWFyhZLQUBHlTvBxOp92gZP/DaN25Esp/ag9ukeUxa5p6qbpxpmHqGgNOtWm6gxahaIokwX1ht16ps3q7rAn9utrg7RxX6Z6KvtjbWJZGHTuuLLtw8P2f/CAWd4uGYNBqCpj5s1NM2cMPd3xc2D4EDDkIWCmj1NgSEHAlGUJDAnEmOfPr+8XxtDr27sQwHDA0GU/2RcVwEV78WkAAAAASUVORK5CYII=\') 0 0}.ui-editor-unlink-button:hover .ui-icon-unlink{filter:alpha(opacity=100);opacity:1}.ui-editor-link-panel .ui-editor-link-menu{height:100%;width:200px;float:left;border-right:1px dashed #d4d4d4;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-link-panel .ui-editor-link-menu p{font-weight:bold;margin:12px 0 8px}.ui-editor-link-panel .ui-editor-link-menu fieldset{-webkit-box-flex:2;-moz-box-flex:2;-ms-box-flex:2;box-flex:2;margin:2px 4px;padding:7px 4px;font-size:13px}.ui-editor-link-panel .ui-editor-link-menu fieldset label{display:block;margin-bottom:10px}.ui-editor-link-panel .ui-editor-link-menu fieldset label span{display:inline-block;width:150px;font-size:13px;vertical-align:top}.ui-editor-link-panel .ui-editor-link-menu fieldset,.ui-editor-link-panel .ui-editor-link-wrap fieldset{border:0}.ui-editor-link-panel .ui-editor-link-wrap{margin-left:200px;padding-left:20px;min-height:200px;position:relative}.ui-editor-link-panel .ui-editor-link-wrap.ui-editor-link-loading:after{content:\'Loading...\';position:absolute;top:60px;left:200px;padding-left:20px;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAOXRFWHRTb2Z0d2FyZQBBbmltYXRlZCBQTkcgQ3JlYXRvciB2MS42LjIgKHd3dy5waHBjbGFzc2VzLm9yZyl0zchKAAAAOnRFWHRUZWNobmljYWwgaW5mb3JtYXRpb25zADUuMi4xNzsgYnVuZGxlZCAoMi4wLjM0IGNvbXBhdGlibGUpCBSqhQAAAAhhY1RMAAAACAAAAAC5PYvRAAAAGmZjVEwAAAAAAAAAEAAAABAAAAAAAAAAAAA8A+gAAIIkGDIAAACsSURBVDiNtZLBCcMwDEUfJgOUjhAyQsmp9FA8TgfISj6F4gl66jSdIIf00G9wnLjYKf3w0Qch6Us2fMdVLMYx0haYRZsrMJEegZdiDj3gFFeT54jBiU2mO+XdVvdRyV0OYidVMEAH3AEPHGoboMKwuy+seYqLV9iNTpM90P7S6AQMitXogYnPHSbyz2SAC9HqQVigkW7If90z8FAsctCyvMvKQdpkSOzfxP/hDd++JCi8XmbFAAAAGmZjVEwAAAABAAAAEAAAABAAAAAAAAAAAAA8A+gAABlX8uYAAAC3ZmRBVAAAAAI4jaWQsQ3CQBAEB4cECFGCI1fiAlyFKwARWgSIeqjCNTh0gIjIkBw9gffFSfz74VlpdX/W3Xr3YBmlmIUSmMSoSGHee+CmGsMGaFU/cAecqnVh/95qpg0J/O0gCytgDRzUX4DnryIn5lwO6L7c6fxskRhMwkc4qj+TEcFjC9SqWcsj8x3GhMgu9LHmfUinvgKuYmWWp5BIyEFvBPuUAy9ibzAYgWEhUhQN8BCb2NALKY4q8wCrG7AAAAAaZmNUTAAAAAMAAAAQAAAAEAAAAAAAAAAAADwD6AAA9MEhDwAAAKhmZEFUAAAABDiNY2CgMTgNxTgBExLbh4GB4SCUxgeMcEkcZmBg+A+lcQETqBoTbJI+UM1ku4AiEATFZIEQBoi//kPZxIAAKEaJBYpACAm24wUSBORVGBgYUqA0BtjKAAmHrXg0f4aq+YxuiAQDIiD/Q/k8DAwMdVDMw8DAkIamJo2QCyYjKZ4MtfErlP8VlzeQw2AlkgErkbyBMwzQgRoDA8N+KMapAQDdvyovpG6D8gAAABpmY1RMAAAABQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZC1N1AAAAsWZkQVQAAAAGOI21kkEOgjAURF9YGBbGtYcwLowrwxk8BMcg3XACD9djGJaujKmLTkMRCiXEl0ympYX8+Xz4M62UpIjWR8DI59inDgzg5CkOwEs+YnMFmzhJOdwAK1UAZ+ANfLRewuJ75QAb/kKRvp/HmggVPxHWsAMu8hEN8JRPUdLnt9oP6HTYRc/uEsCVvnlO+wFGFYRJrKPLdU4FU5HCB0KsEt+DxZfBj+xDSo7vF9AbJ9PxYV81AAAAGmZjVEwAAAAHAAAAEAAAABAAAAAAAAAAAAA8A+gAAPSdgJwAAADDZmRBVAAAAAg4jaWSTQrCMBCFP6NIT5AjCF6gJ6jbUnoCL1biDTyF5AAueoZu3LkSrAtHTEJiIn3wmCTz92YILMQ64++BPTDKXQMH4AbcAZQTvAEasTFo4AqcxeowoAFmsSk1s8M+DChRMEnyFFNQAg10sWSFv49cESPUn+RRWFLE8N2DKe2axaIR/sU25eiAi9gUBt6zDzGnFad13nZCgAr/I1UxBdZRUAMPYV2iIETrdGudd28Hqx8FFHCU8wl4xoJeZnUrSRiyCSsAAAAaZmNUTAAAAAkAAAAQAAAAEAAAAAAAAAAAADwD6AAAGe6xwAAAALtmZEFUAAAACjiNpZJBCsIwEEWfpUsPULoSl55Beh4J7nqCHkDceR3pIaSr4Ak8Qq2L/khomlrig+FPhszwJy3EqYCHolq4F6UDBkWnWgbspN+CT7EwMAPuwFM67aUAem/IdIW952jQOeCXg1bN7ZyDNQRvsEkYkgNG+S1XcpHWKwacgatzlLLH2z/8vUJCf5wSaKQxToCVBjSM37jxaluFw+qOXeOgBF4KVzNqNkH3DAfGX7tXnsRREeUD4f8lQGjw+ycAAAAaZmNUTAAAAAsAAAAQAAAAEAAAAAAAAAAAADwD6AAA9HhiKQAAAJ9mZEFUAAAADDiNtZDLCcMwEEQfIUcXoDpCKgg6qIRUEtKB6wg6poDgalyFTj7YBw+2QyRlCc6DYVm0n9FCGQc8JFepWzgBN0WACIxS/NZ8BgYVD8pzA1ogKb5x3xSPyp0a4+YLSe/J4iBH0QF83uCvXKSFq2TBs97KH/Y1ZsdL+3IEgmJt86u0PTAfJlQGdKrprA6ekslBjl76mUYqMgFhpStJaQVr0gAAABpmY1RMAAAADQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZshBTAAAAu2ZkQVQAAAAOOI21kCEOwkAQRR8rKkkFCtmjkJ4ARTgBArViT4LjLJwBgUZUr8NBQlrR38Am3XYEvOTnT7PzuzO7IE8BHFWfgNdELwBLYCMH8EAr+VzIyUvgBlzkZaZ/D1zlCfXXba2+C93sVaNwK08ogUaHzcQEu9wE0O9e83kDEw7YAhG4K/ww5CoJFB52j8bwU6rcTLOJYYWo2kKywk9Zz5yvgCAfDb9nfhLoHztYJzhIpgnGOEv/owMnkSfarUXVlAAAAABJRU5ErkJggg==\') no-repeat left center}.ui-editor-link-panel .ui-editor-link-wrap h2{margin:10px 0 0}.ui-editor-link-panel .ui-editor-link-wrap fieldset{margin:2px 4px;padding:7px 4px;font-size:13px}.ui-editor-link-panel .ui-editor-link-wrap fieldset input[type=text]{width:400px}.ui-editor-link-panel .ui-editor-link-wrap fieldset.ui-editor-external-href{width:365px}.ui-editor-link-panel .ui-editor-link-wrap fieldset.ui-editor-link-email label{display:inline-block;width:115px}.ui-editor-link-panel .ui-editor-link-wrap fieldset.ui-editor-link-email input{width:340px}.ui-editor-link-panel .ui-editor-link-wrap ol li{list-style:decimal inside}.ui-editor-link-panel .ui-editor-link-wrap .ui-editor-link-panel .ui-editor-link-wrap fieldset #ui-editor-link-external-target{vertical-align:middle}.ui-editor-link-error-message div{padding:0 .7em}.ui-editor-link-error-message div p{margin:0}.ui-editor-link-error-message div p .ui-icon{margin-top:2px;float:left;margin-right:2px}.ui-editor-list-unordered-button .ui-icon-list-unordered{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMlJREFUeNpi/P//PwNFAGQAIyNjGBCvgdIMxGKQXhaoORFlZWWBXV1dTED2KqjYGiBmRMJMaOwrQFwOc0EEEG+A0iS5gBFEMDExkeX9f//+MTAxUAhgBsQC8U4oTRKABWJ8Rkae84wZk5iB7MVQsW1IAYYLW8MCMRGID0Bp+gYiC46EhTPR4QrEdCA+A6VJT8pAcDMsLB3EuAniQP14BIiPAfEJID4FxGehqe8OED8B4vVgvVADioH4GZTGGWhYvUtpbqQ4JQIEGABjeFYu055ToAAAAABJRU5ErkJggg==\') 0 0}.ui-editor-list-unordered-button:hover .ui-icon-list-unordered{filter:alpha(opacity=100);opacity:1}.ui-editor-list-ordered-button .ui-icon-list-ordered{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwNFAGQAIyNjIxCvAWJBIGYgFoP0skDNqQfidUDMiGT2GigfhpnQ2FeAuJwFSQMTmuNCiPEBTFMblF1CahAwgvzBxMREVvj9+/cP7oIuIN4Bpcl2gRMQJwFxDFRuG1KAYcVAF1jDojEBiGcAsQSp0QjzgiEQawLxSiibNoGInmqRE9J0IJaEYnNSXAAzYC4QNwJxIJLcEbRAYwZidiDmgOLTYPVIzgJpPgD2F45Aw+olqAFrgfg5EBeTagAjpdkZIMAAg/ZGwsH5qkAAAAAASUVORK5CYII=\') 0 0}.ui-editor-list-ordered-button:hover .ui-icon-list-ordered{filter:alpha(opacity=100);opacity:1}.ui-editor-paste-panel-tabs{height:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-paste .ui-tabs a{outline:0}.ui-editor-paste-panel-tabs{position:relative;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-paste-panel-tabs .ui-editor-paste-synchronize-text{height:25px;line-height:25px;position:absolute;right:0;top:0;width:100px}.ui-editor-paste-panel-tabs .ui-editor-paste-synchronize-text input{margin:0;padding:0;vertical-align:text-bottom}.ui-editor-paste-panel-tabs>div{overflow:auto;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-paste-panel-tabs>div>.ui-editor-paste-area{-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;display:-webkit-box;display:-moz-box;display:-ms-box;display:box}.ui-editor-raptorize-button .ui-icon-raptorize{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABDlBMVEX///9NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU0Y/iVtAAAAWXRSTlMA/v1mTvW+WQFF+nGpsyPlDhXL1GvZHduk48LslL2a7tadwee772kEfqD8+OGCXWJ2+bQ9pt7xCme4iQU4iNH0mCEPEd82Ocxj4De2HoMaq3MHZJsDeGwCG8H1fioAAAC1SURBVHheNchFlsMwEADRlmRkSDKmMDMMMjMz9P0vkifLrl194F3NW0qtugV5Wt1FHpnloGKRmr3TK96YDjiMxFGCONngcJ1De4GNDJqhvd2VkbzsY+eDw2efMTYsjRFxd4+DZx6ajC1xhXTTB560EyfWASJW2FEG3vGJElZOz4xzH6QLKLqMgpvbu3sxD+4jPBFJe05fBby9ly0S6ADxl4BviGjp5xd0Of0TUqaUEPs/kR1YA96IIUDtx93SAAAAAElFTkSuQmCC\') 0 0}.ui-editor-raptorize-button:hover .ui-icon-raptorize{filter:alpha(opacity=100);opacity:1}.ui-editor-save-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNqkU71ugzAQPowtwdAdqRLK3odg6161a+cukZonoGrElgWWDqhb16oP0AfoytStirows0QRMj/unQsohAQi5aTD5vju4/Pd2VBKwTnG6cEYe8bl6s73P09Jel8ur3H5ruv6CUiBYRgfQRAosnrCyQhLOZTLG1ImpYQSA1VVjf7dNE0gLOV0R6AXlAMSk4uiGCUQ6ITdJzDpz0SQTxAoxlqVZo+gLEuQyDxFwIQAwg4IiPV3vYbL2WyUgDBHFbxG0Um9t237sIIkSeDYYGHbur3neQMCTgqoRWEYDToh8NyLxSO4rgtpmrY14D0CUsA5h80mh/n8QQdXq7CTTN/ILMtqa9AjEDjOGrTdSnAcRwdpr1unzB5BMweiGwY8tx/H8U+WZbmUSoPJlfr3NrZLgDkXujbNXaD9DfoLAt8OFRHPfb8X+sLcW+Pc6/wnwABHMdnKf4KT4gAAAABJRU5ErkJggg==\') 0 0}.ui-editor-save-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-cancel-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAtFBMVEX///+nAABhAACnAACjAACCAACgAACHAACjAAByAAB1AAByAACDAACnAACCAACHAACgAACNAACbAACXAACMAACSAABfAACYAACRAACjAACbAAChAACqAACNAACcAACHAACqAADEERGsERHQERG+NjaiERHUTEzYERG4ERGlFBSfFRX/d3f6cnK0JSWoHh7qYmLkXFyvFRXmXl7vZ2fNRUX4cHDXT0/+dnbbU1O3Li7GPT26MTG2f8oMAAAAIXRSTlMASEjMzADMzAAASMxIAMwAAMzMzEjMzEhISABIzABISEg/DPocAAAAj0lEQVR4Xo3PVw6DMBBF0RgXTO+hBYhtILX3sv99RRpvgPcxVzp/M5syb7lYepxDABDeYcQ5wg+MAMhr3JOyJKfxTABqduuvjD37O6sBwjZ+f76/7TFuQw1VnhyGYZPklYagKbKLlDIrmkBDGq1hUaqhM4UQJpwOwFdK+a4LAbCdlWNTCgGwjLlhUQqZ8uofSk8NKY1Fm8EAAAAASUVORK5CYII=\') 0 0}.ui-editor-cancel-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-wrapper .ui-editor-selectmenu .ui-editor-selectmenu-button .ui-icon{text-align:left}.ui-editor-wrapper .ui-editor-selectmenu .ui-editor-selectmenu-button .ui-selectmenu-text{font-size:13px;line-height:22px}.ui-selectmenu-menu li a,.ui-selectmenu-status{line-height:12px}.ui-editor-wrapper [data-title]:after{opacity:0;content:attr(data-title);display:block;position:absolute;top:100%;font-size:12px;font-weight:normal;color:white;padding:11px 16px 7px;white-space:nowrap;overflow:visible;z-index:1000;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;-webkit-border-radius:9px 9px 2px 2px;-moz-border-radius:9px 9px 2px 2px;-ms-border-radius:9px 9px 2px 2px;-o-border-radius:9px 9px 2px 2px;border-radius:9px 9px 2px 2px;-webkit-transition:opacity .23s 0s;-moz-transition:opacity .23s 0s;-ms-transition:opacity .23s 0s;-o-transition:opacity .23s 0s;transition:opacity .23s 0s;background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSI1cHgiIHN0b3AtY29sb3I9InJnYmEoNDAsIDQwLCA0MCwgMCkiLz48c3RvcCBvZmZzZXQ9IjZweCIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\'),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(5px,rgba(40,40,40,0)),color-stop(6px,#282828),color-stop(100%,#282828)),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-webkit-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-moz-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-o-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-ms-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0}.ui-editor-wrapper [data-title]:hover:after{opacity:1}.ui-editor-wrapper .ui-editor-select-element{position:relative}.ui-editor-wrapper .ui-editor-select-element:after{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSI1cHgiIHN0b3AtY29sb3I9InJnYmEoNDAsIDQwLCA0MCwgMCkiLz48c3RvcCBvZmZzZXQ9IjZweCIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\'),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(5px,rgba(40,40,40,0)),color-stop(6px,#282828),color-stop(100%,#282828)),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-webkit-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-moz-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-o-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-ms-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0}.ui-editor-unsaved-edit-warning{position:fixed;bottom:0;right:0;height:30px;line-height:30px;border-radius:5px 0 0 0;border:1px solid #d4d4d4;padding-right:7px;background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VkZWNiZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#fffff2),color-stop(100%,#edecbd));background:-webkit-linear-gradient(top,#fffff2,#edecbd);background:-moz-linear-gradient(top,#fffff2,#edecbd);background:-o-linear-gradient(top,#fffff2,#edecbd);background:-ms-linear-gradient(top,#fffff2,#edecbd);background:linear-gradient(top,#fffff2,#edecbd);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0);opacity:0}.ui-editor-unsaved-edit-warning .ui-icon{display:inline-block;float:left;margin:8px 5px 0 5px}.ui-editor-unsaved-edit-warning-visible{filter:alpha(opacity=100);opacity:1}.ui-editor-view-source-button .ui-icon-view-source{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNpi/P//PwMlgImBQkCxAQwgLzAyMqLjMCCehsSfBhVDUQf2PhYDIoB4JhCLIYmJQcUiCBkQBcRzgFgci6vEoXJRuAyIAeIFODQjG7IAqhbFAAMg3gOlGQhguFp0FyQC8UoglgTx0QFUjSRUTSKuMEgG4nUghVgMkITKJROKhXQg3gbUI42kXxokBpUjGI0gDYVAfBzJABC7EFs6YBz6eYFiAwACDAADJlDtLE22CAAAAABJRU5ErkJggg==\') 0 0}.ui-editor-view-source-button:hover .ui-icon-view-source{filter:alpha(opacity=100);opacity:1}.ui-editor-ui-view-source .ui-editor-ui-view-source-dialog{overflow:auto}.ui-editor-ui-view-source-highlighted,.ui-editor-ui-view-source-plain-text{height:100%;width:100%;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-ui-view-source-dialog code,.ui-editor-ui-view-source-dialog textarea{white-space:pre-line;width:100%;height:100%;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}</style>').appendTo('head');
|
368
|
+
jQuery('<style type="text/css">.ui-editor-wrapper{overflow:visible;z-index:1001;position:fixed}.ui-editor-wrapper .ui-editor-toolbar{padding:6px 0 0 5px;overflow:visible}.ui-editor-wrapper .ui-editor-toolbar,.ui-editor-wrapper .ui-editor-toolbar *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui-editor-wrapper .ui-dialog-titlebar .ui-editor-element-path:first-child{margin-left:5px}.ui-editor-wrapper .ui-dialog-titlebar .ui-editor-element-path{min-width:10px;min-height:15px;display:inline-block}.ui-editor-dock-docked-to-element .ui-editor-toolbar{padding:5px 0 0 5px!important}.ui-editor-dock-docked-to-element .ui-editor-toolbar .ui-editor-group{margin:0 5px 5px 0}.ui-editor-dock-docked-element{display:block!important;border:0 none transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-wrapper textarea,.ui-editor-wrapper input{padding:5px}.ui-editor-wrapper .ui-dialog-content{font-size:13px}.ui-editor-wrapper textarea{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1}html body div.ui-dialog div.ui-dialog-titlebar a.ui-dialog-titlebar-close span.ui-icon{margin-top:0!important}.ui-editor-editing{outline:0}.ui-editor-wrapper textarea,.ui-editor-wrapper input{border:1px solid #d4d4d4}.ui-editor-wrapper .ui-dialog-content{font-size:13px}html body div.ui-wrapper div.ui-dialog-titlebar a.ui-dialog-titlebar-close span.ui-icon{margin-top:0!important}.ui-editor-path{padding:5px;font-size:13px}.ui-editor-selectmenu{overflow:visible;position:relative}.ui-editor-selectmenu-button{text-align:left;padding:3px 18px 5px 5px!important;float:none!important}.ui-editor-selectmenu-button .ui-icon{position:absolute;right:1px;top:8px}.ui-editor-selectmenu-button .ui-editor-selectmenu-text{font-size:13px}.ui-editor-selectmenu-wrapper{position:relative}.ui-editor-selectmenu-button .ui-button-text{padding:0 25px 0 5px}.ui-editor-selectmenu-button .ui-icon{background-repeat:no-repeat}.ui-editor-selectmenu-menu{position:absolute;top:100%;left:0;right:auto;display:none;margin-top:-1px!important}.ui-editor-selectmenu-visible .ui-editor-selectmenu-menu{display:block;z-index:1}.ui-editor-selectmenu-menu-item{padding:5px;margin:3px;z-index:1;text-align:left;font-size:13px;font-weight:normal!important;border:1px solid transparent;cursor:pointer;background-color:inherit}.ui-editor-selectmenu-button{background:#f5f5f5;border:1px solid #ccc}.ui-editor-buttonset .ui-editor-selectmenu-visible .ui-editor-selectmenu-button{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0}.ui-editor-buttonset{float:left;margin:0 5px 4px 0;display:inline-block}.ui-editor-buttonset>.ui-button{float:left;display:block;margin:0 -1px 0 0;font-size:13px}.ui-editor-buttonset .ui-button:hover{z-index:1}.ui-editor-buttonset .ui-editor-selectmenu{display:block}.ui-editor-buttonset .ui-editor-selectmenu .ui-button{margin:0 -1px 0 0}.ui-editor-ff .ui-editor-buttonset{float:none;vertical-align:top}.ui-editor-wrapper .ui-button{height:32px;margin-bottom:0;margin-top:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-wrapper .ui-button-icon-only{width:32px}.ui-editor-wrapper .ui-editor-buttonset>.ui-button{-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.ui-editor-wrapper .ui-editor-buttonset>.ui-button:first-child{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;border-bottom-left-radius:5px}.ui-editor-wrapper .ui-editor-buttonset>.ui-button:last-child{-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;border-bottom-right-radius:5px}.ui-button-icon-only .ui-button-text{display:none}.ui-editor-unsupported{position:relative}.ui-editor-unsupported-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:black;filter:alpha(opacity=50);opacity:.5}.ui-editor-unsupported-content{position:fixed;top:50%;left:50%;margin:-200px 0 0 -300px;width:600px;height:400px}.ui-editor-unsupported-input{position:absolute;bottom:10px}.ui-editor-unsupported-content{padding:10px;background-color:white;border:1px solid #777}.ui-editor-messages{margin:0}.ui-editor-messages .ui-editor-message-close{cursor:pointer;float:right}.ui-editor-messages .ui-icon{margin:0 0 3px 3px}.ui-editor-messages .ui-icon,.ui-editor-messages .ui-editor-message{display:inline-block;vertical-align:top}.ui-editor-messages .ui-editor-message-wrapper{padding:3px 3px 3px 1px;-webkit-box-shadow:inset 0 -1px 1px rgba(0,0,0,0.35),inset 0 1px 2px rgba(255,255,255,0.5);-moz-box-shadow:inset 0 -1px 1px rgba(0,0,0,0.35),inset 0 1px 2px rgba(255,255,255,0.5);box-shadow:inset 0 -1px 1px rgba(0,0,0,0.35),inset 0 1px 2px rgba(255,255,255,0.5)}.ui-editor-messages .ui-editor-message-wrapper:first-child{-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;border-top-left-radius:5px}.ui-editor-messages .ui-editor-message-wrapper:last-child{-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;border-bottom-left-radius:5px}.ui-editor-messages .ui-editor-message-circle-close{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmNWQ0YiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZhMWMxYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#ff5d4b),color-stop(100%,#fa1c1c));background:-webkit-linear-gradient(top,#ff5d4b,#fa1c1c);background:-moz-linear-gradient(top,#ff5d4b,#fa1c1c);background:-o-linear-gradient(top,#ff5d4b,#fa1c1c);background:linear-gradient(top,#ff5d4b,#fa1c1c)}.ui-editor-messages .ui-editor-message-circle-check{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NkZWI4ZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2E1Yzk1NiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#cdeb8e),color-stop(100%,#a5c956));background:-webkit-linear-gradient(top,#cdeb8e,#a5c956);background:-moz-linear-gradient(top,#cdeb8e,#a5c956);background:-o-linear-gradient(top,#cdeb8e,#a5c956);background:linear-gradient(top,#cdeb8e,#a5c956)}.ui-editor-messages .ui-editor-message-info{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2E5ZTRmNyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzBmYjRlNyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#a9e4f7),color-stop(100%,#0fb4e7));background:-webkit-linear-gradient(top,#a9e4f7,#0fb4e7);background:-moz-linear-gradient(top,#a9e4f7,#0fb4e7);background:-o-linear-gradient(top,#a9e4f7,#0fb4e7);background:linear-gradient(top,#a9e4f7,#0fb4e7)}.ui-editor-messages .ui-editor-message-alert{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZDY1ZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZlYmYwNCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#ffd65e),color-stop(100%,#febf04));background:-webkit-linear-gradient(top,#ffd65e,#febf04);background:-moz-linear-gradient(top,#ffd65e,#febf04);background:-o-linear-gradient(top,#ffd65e,#febf04);background:linear-gradient(top,#ffd65e,#febf04)}.ui-editor-messages .ui-editor-message-clock{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZiODNmYSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2U5M2NlYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#fb83fa),color-stop(100%,#e93cec));background:-webkit-linear-gradient(top,#fb83fa,#e93cec);background:-moz-linear-gradient(top,#fb83fa,#e93cec);background:-o-linear-gradient(top,#fb83fa,#e93cec);background:linear-gradient(top,#fb83fa,#e93cec)}.ui-editor-messages .ui-editor-message-clock .ui-icon.ui-icon-clock{background:transparent url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAOXRFWHRTb2Z0d2FyZQBBbmltYXRlZCBQTkcgQ3JlYXRvciB2MS42LjIgKHd3dy5waHBjbGFzc2VzLm9yZyl0zchKAAAAOnRFWHRUZWNobmljYWwgaW5mb3JtYXRpb25zADUuMi4xNzsgYnVuZGxlZCAoMi4wLjM0IGNvbXBhdGlibGUpCBSqhQAAAAhhY1RMAAAACAAAAAC5PYvRAAAAGmZjVEwAAAAAAAAAEAAAABAAAAAAAAAAAAA8A+gAAIIkGDIAAACsSURBVDiNtZLBCcMwDEUfJgOUjhAyQsmp9FA8TgfISj6F4gl66jSdIIf00G9wnLjYKf3w0Qch6Us2fMdVLMYx0haYRZsrMJEegZdiDj3gFFeT54jBiU2mO+XdVvdRyV0OYidVMEAH3AEPHGoboMKwuy+seYqLV9iNTpM90P7S6AQMitXogYnPHSbyz2SAC9HqQVigkW7If90z8FAsctCyvMvKQdpkSOzfxP/hDd++JCi8XmbFAAAAGmZjVEwAAAABAAAAEAAAABAAAAAAAAAAAAA8A+gAABlX8uYAAAC3ZmRBVAAAAAI4jaWQsQ3CQBAEB4cECFGCI1fiAlyFKwARWgSIeqjCNTh0gIjIkBw9gffFSfz74VlpdX/W3Xr3YBmlmIUSmMSoSGHee+CmGsMGaFU/cAecqnVh/95qpg0J/O0gCytgDRzUX4DnryIn5lwO6L7c6fxskRhMwkc4qj+TEcFjC9SqWcsj8x3GhMgu9LHmfUinvgKuYmWWp5BIyEFvBPuUAy9ibzAYgWEhUhQN8BCb2NALKY4q8wCrG7AAAAAaZmNUTAAAAAMAAAAQAAAAEAAAAAAAAAAAADwD6AAA9MEhDwAAAKhmZEFUAAAABDiNY2CgMTgNxTgBExLbh4GB4SCUxgeMcEkcZmBg+A+lcQETqBoTbJI+UM1ku4AiEATFZIEQBoi//kPZxIAAKEaJBYpACAm24wUSBORVGBgYUqA0BtjKAAmHrXg0f4aq+YxuiAQDIiD/Q/k8DAwMdVDMw8DAkIamJo2QCyYjKZ4MtfErlP8VlzeQw2AlkgErkbyBMwzQgRoDA8N+KMapAQDdvyovpG6D8gAAABpmY1RMAAAABQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZC1N1AAAAsWZkQVQAAAAGOI21kkEOgjAURF9YGBbGtYcwLowrwxk8BMcg3XACD9djGJaujKmLTkMRCiXEl0ympYX8+Xz4M62UpIjWR8DI59inDgzg5CkOwEs+YnMFmzhJOdwAK1UAZ+ANfLRewuJ75QAb/kKRvp/HmggVPxHWsAMu8hEN8JRPUdLnt9oP6HTYRc/uEsCVvnlO+wFGFYRJrKPLdU4FU5HCB0KsEt+DxZfBj+xDSo7vF9AbJ9PxYV81AAAAGmZjVEwAAAAHAAAAEAAAABAAAAAAAAAAAAA8A+gAAPSdgJwAAADDZmRBVAAAAAg4jaWSTQrCMBCFP6NIT5AjCF6gJ6jbUnoCL1biDTyF5AAueoZu3LkSrAtHTEJiIn3wmCTz92YILMQ64++BPTDKXQMH4AbcAZQTvAEasTFo4AqcxeowoAFmsSk1s8M+DChRMEnyFFNQAg10sWSFv49cESPUn+RRWFLE8N2DKe2axaIR/sU25eiAi9gUBt6zDzGnFad13nZCgAr/I1UxBdZRUAMPYV2iIETrdGudd28Hqx8FFHCU8wl4xoJeZnUrSRiyCSsAAAAaZmNUTAAAAAkAAAAQAAAAEAAAAAAAAAAAADwD6AAAGe6xwAAAALtmZEFUAAAACjiNpZJBCsIwEEWfpUsPULoSl55Beh4J7nqCHkDceR3pIaSr4Ak8Qq2L/khomlrig+FPhszwJy3EqYCHolq4F6UDBkWnWgbspN+CT7EwMAPuwFM67aUAem/IdIW952jQOeCXg1bN7ZyDNQRvsEkYkgNG+S1XcpHWKwacgatzlLLH2z/8vUJCf5wSaKQxToCVBjSM37jxaluFw+qOXeOgBF4KVzNqNkH3DAfGX7tXnsRREeUD4f8lQGjw+ycAAAAaZmNUTAAAAAsAAAAQAAAAEAAAAAAAAAAAADwD6AAA9HhiKQAAAJ9mZEFUAAAADDiNtZDLCcMwEEQfIUcXoDpCKgg6qIRUEtKB6wg6poDgalyFTj7YBw+2QyRlCc6DYVm0n9FCGQc8JFepWzgBN0WACIxS/NZ8BgYVD8pzA1ogKb5x3xSPyp0a4+YLSe/J4iBH0QF83uCvXKSFq2TBs97KH/Y1ZsdL+3IEgmJt86u0PTAfJlQGdKrprA6ekslBjl76mUYqMgFhpStJaQVr0gAAABpmY1RMAAAADQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZshBTAAAAu2ZkQVQAAAAOOI21kCEOwkAQRR8rKkkFCtmjkJ4ARTgBArViT4LjLJwBgUZUr8NBQlrR38Am3XYEvOTnT7PzuzO7IE8BHFWfgNdELwBLYCMH8EAr+VzIyUvgBlzkZaZ/D1zlCfXXba2+C93sVaNwK08ogUaHzcQEu9wE0O9e83kDEw7YAhG4K/ww5CoJFB52j8bwU6rcTLOJYYWo2kKywk9Zz5yvgCAfDb9nfhLoHztYJzhIpgnGOEv/owMnkSfarUXVlAAAAABJRU5ErkJggg==\') no-repeat center center}.ui-editor-align-left-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAItJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAjWYrEN2VYPbAZR1QUb0WxEZmPD1lR3wTYCttpSJQxg6mE0sgt2E/AzCLMBMTsQcwCxAskuQE722FwwEYiNsNjKClR8EUjH4w2DActMFBsAEGAAnS84DrgEl1wAAAAASUVORK5CYII=\') 0 0}.ui-editor-align-left-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-align-right-button .ui-icon{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIxJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAvYjGYrMhuEHanugo0EbETH1jQPg714bGcGYhOqu2A3AT+DMBvQQnYgzQHECiS7ADnZw9j4wmA61J+sQMUcUFtBtrMC8TEg9kNxwYBlJooNAAgwAJo0OAu5XKT8AAAAAElFTkSuQmCC\') 0 0}.ui-editor-align-right-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-align-center-button .ui-icon{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAI1JREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAlswGErjO2KrJiqLtiIw0Zc2JpmYbCTgM2WFIUBTD2MRnbBbgI2gzAbELMDMQcQK5DsAuRkj80FMDAFiI2RbGUFKuaA2noGiEOwhsGAZSaKDQAIMAB/BzgOq8akNwAAAABJRU5ErkJggg==\') 0 0}.ui-editor-align-center-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-align-justify-button .ui-icon{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJFJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAjWYrEN2VZkNgg7Ut0FGwnYiI6tqe6CbUTYCsPMQGxCdRfsJsJmNqCF7ECaA4gVSHYBcrKHsZFdMBGIjbDYygpUzAG1FWQ7KxAfA2I/FBcMWGai2ACAAAMAvPA4C7ttvJ4AAAAASUVORK5CYII=\') 0 0}.ui-editor-align-justify-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-bold-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKRJREFUeNpi/P//PwMlgImBQjDwBrCgmMbEpA2kGnGofQ3E9UD86t+/fzhdcBWIpwExMxQ3AHEIEK8BYgkgdsLrAih4A8SsaBYwQcWYiDGAEcmAbiwuJBiIIAPYoLgfiMuBeBmUXwHEXIQMYEIy4BUQXwDiy1C+HBBrEPKCDBCzwwwDpVRGRkZksU8ozkVOykCFVkBqOZ5oB3lpAoqe0bzAABBgANfuIyxmXKp/AAAAAElFTkSuQmCC\') 0 0}.ui-editor-text-bold-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-italic-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH1JREFUeNpi/P//PwMlgImBQjDwBrBgmMgEN1MbiBvRpOv//ft3FUUEFIjImJGRERnrAPF6IO6BiaGrZyLCi6xAvJDcMLAA4j9AfJlcA/yBeCe5sWAExAJAfIKkWIAFJBAUATE7kM+M143ooQoEVkD8EA1b4Yy10bzAABBgAC7mS5rTXrDAAAAAAElFTkSuQmCC\') 0 0}.ui-editor-text-italic-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-underline-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi/P//PwMlgImBQkCxASwopjExhQGpMCSheijdiCz279+/q3AeKAxgmJGREYSdgHgdlIaJ6SCLIevB5oXXUJe9RhK7gkUMZxgwAjEzlEYG2MRwGsCKRTErKQawYFHMQqwBn6G2qSCJGULFPmPYhpwSgdEIY6YCcTKa2rlAPBvEAEYjdgNAUYRMowOYWmQ9LFjUPSGQP2RwemFoZiaAAAMAlEI7bVBRJkoAAAAASUVORK5CYII=\') 0 0}.ui-editor-text-underline-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-strike-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL5JREFUeNpi/P//PwMlgImBQkCxASwopjHBzbMB4nQg5oTyrwKxNhAXAfGjf//+EXRBFhC/BOI0KAapYwZpxusCJPASquEdlD8FiHWwKWREjgUkL4gDcQ0QfwfiXqiBcIDsBXQD9hATcEADXOAckAEwzMjIiI4lgHgiEM8GYkmYOLIeXAZ4I2sA4vlQjGEArkBsAeJzQAUVYH8yMnIAKTmC6QAaHhpALALEPCBDoOJfgFQ5wVgYmnmBYgMAAgwAEGZWNyZpBykAAAAASUVORK5CYII=\') 0 0}.ui-editor-text-strike-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-sub-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi/P//PwMlgImBQjDwBrDATWJCMWs6lM7Ep/nfv39YXSAPxL+AWALKJtkLLkB8EohZoWySDbAH4uNQQ+xJNUAJiH8DMT8QPwZiWagYDEwA4v1QGgJACQmEGRkZQTgXiI+i4VyoHAy7AfEaEBucCNEM2AzEKkiKu6BiYMuAdAYQLwZiKQwDgGAVED+E0iBgBeUjiy1HErMCWzyaFxgAAgwA5Gw9vTeiCqoAAAAASUVORK5CYII=\') 0 0}.ui-editor-text-sub-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-text-super-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNpi/P//PwMlgImBQjDwBrCgmMaEYt50KJ0JpRuBWBuIrwJx/b9///C6QB6IfwGxBJQNAvVAPAkqRtALLkB8EohZoWwQiAbiICCuI8YAeyA+DjXEHiqmD8SaQLwIysYMAyhQAuLfQMwPxI+B2AkqVkZsLHgDsQYQTwXiVCBmg4phB6CUCMOMjIwgvBmIVaBsEO6CijEgY5geFAOAYBUQP4TSIGAF5SOLoVjMOJoXGAACDACTRz3jjn6PnwAAAABJRU5ErkJggg==\') 0 0}.ui-editor-text-super-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-quote-block-button .ui-icon-quote{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGVJREFUeNpi/P//PwMlgImBQjAcDWBhYZEA4r1AHA/EKHxiXQBS+BKIF+LgEzTAG4h3I0UvOh+/AUCFbECcDmROA2lC5mMzgAWLGDuUtsTBJ+iFeUDMC6Wx8VEA42hSptwAgAADAO3wKLgntfGkAAAAAElFTkSuQmCC\') 0 0}.ui-editor-quote-block-button:hover .ui-icon-quote{filter:alpha(opacity=100);opacity:1}.ui-editor-clean-button .ui-icon-clean{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABNVBMVEUAAAAAAAAgSocgSocgPnAAAABxcXFPT09YWFggSocgSocoToUbPXgSN3kyYZw0ZqT///8iUZkgSoc1Z6UiUJaJrNkwXpZIeLiOvO03a6s4b7JekNUjUpqCp9eNr9pSjeAwX5g2aqquxuV8otPB1euOsNv8/f6gveFgkdVnkMmbuuVfk9lkk9fK3Pbs8vmWtd5Vjs98odCHqNWkv+Jzms6Qt+xnmNuzyudVidS90u6hwe5mmuQtXKCow+OqxepNg82Xtd3C1Ox0m89vl8x3oNl4n9NSjuDi7PqlxO+MtOyWtt2fwO60y+dUjt5zm8/L2+9qneT3+f7g6/qDrelRi95snuWowuSfvOGPr9uwyeqRsdqUs9qat92OrtmDptN5ns9Rh8hqk8uXuehwnt1vl83e6vmZu+gBAK69AAAADXRSTlMbAKM01gogSSmAy7W1OP1GaAAAAM1JREFUeF5VzNN2A1EAQNE7TIrrsSe0Udu2zf//hHZWk672PO6HAySR/UmUwBjT9XyzeJlZuGpe60wE474TxxghhHEcOz4DzLcxRoZhJGT/AOcoiiKEOE9AZEGw291fOcpNdZeD74fEqKZ5lFLP0+YplIDAzBfXrTQKNyW3bEIhgV51QD5fyVv1fQir0zOzcxfW4tLaCGqkHoYWWR/BxubW9k5/7+PgcAjZ8JicnJKz82wC6gRstTu3d/cPj0/PcFIF6ZQMf5NTaaCAfylf1j4ecCeyzckAAAAASUVORK5CYII=\') 0 0}.ui-editor-clean-button:hover .ui-icon-clean{filter:alpha(opacity=100);opacity:1}.ui-editor-clear-formatting-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wGGxcPH7KJ9wUAAAEKSURBVDjL3ZG9SgNBFIW/I76D1RIEazEIFitWNguxUPANUkUIKG4jYiEBC7WwUFJZiNssFvoOFipMFx/AoIVVEAvxB7w2MyBhV5Iq4IHLPecy9zBzBv4nJLUltQc5O1awXAE+gAnPhzMAFoE7YNzzoQ0WgBvg1vPBDSRNAl9m9gC4ebPpc+jkkADkkOTggi4KryFpV9KMpHgfXr/T1DJwGWxn4IIuM7iQdB1qDu73oPder9spuNDPYLZoeUrSZd9saQUej6DzUqvZCbhj2Pjr+pu/ZzuwnMLbc7Vqh+BCPyjIIAaefMVhuA69bhTZGnyuwlULXDeKrFWWQT+akDTAbfk3B90s+4WR4Acs5VZuyM1J1wAAAABJRU5ErkJggg==\') 0 0}.ui-editor-clear-formatting-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-click-to-edit-message{padding:10px;border:1px solid #d4d4d4;font-size:13px;z-index:4000;color:#000;text-shadow:none;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px;background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YyZmZmMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RhZjJkNyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f2fff2),color-stop(100%,#daf2d7));background:-webkit-linear-gradient(top,#f2fff2,#daf2d7);background:-moz-linear-gradient(top,#f2fff2,#daf2d7);background:-o-linear-gradient(top,#f2fff2,#daf2d7);background:linear-gradient(top,#f2fff2,#daf2d7);-webkit-box-shadow:0 2px 10px #ccc;-moz-box-shadow:0 2px 10px #ccc;box-shadow:0 2px 10px #ccc;-webkit-transition:opacity .5s;-webkit-transition-delay:0s;-moz-transition:opacity .5s 0s;-o-transition:opacity .5s 0s;transition:opacity .5s 0s;filter:alpha(opacity=0);opacity:0}.ui-editor-click-to-edit-visible{filter:alpha(opacity=100);opacity:1}.ui-editor-click-to-edit-highlight{cursor:pointer;outline:1px dotted rgba(0,0,0,0.5);-webkit-transition:all .5s;-webkit-transition-delay:0s;-moz-transition:all .5s 0s;-o-transition:all .5s 0s;transition:all .5s 0s}.ui-editor-debug-reinit-button .ui-icon-reload{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAqBJREFUeNqkU01PE2EQnrfdtmyLpbRNA/ULGyAhRi+NHkTk5sEEiRyMEi+evHszJh5I/AF613ho9EIwhEiMB4kSjQcWSDxgIAhJoZV26dd2t/v17jqzkoLGG5vM7rvzzPPsfOww13XhOJdAt8vPN0EIBEAQBPD5/UHGWALdnWgW2iO07H+40sL91APhH2ev4HOH+tJiZzoZCia7guXpj8XsnevprGX9yVQMM8i9K0jA2GI7A+9y3Uwo4I6Mj6aijToHzl2nXrNk27bBMDg0FQ7dcQFezeYljH6PlmsLuI4T8zF+e+zqqZ69ggaKZrH13WaxXDcUwm2LQ6xbgOKOCreu9WTfLuQVy3bSCBV8XoBpjmR6xYvFfKNflpuZTyuF1q+y8sHhXLINA7q6g/Byek06ERWgUlJh8EykHzkTxPUETMMYTcWCQ/Wqllnb3hct0/yM01nWVZUwePZiWcLnt0Vpd1NvmZCMBuL4PtwuwdL1S37GMqpuQaFUL+Mk5rllgeM41BuqeZH5/bmNzdJSbzQEiUggjJyBtgCqRVTDjqrc9c6YOjbRhlCHSON9YKMYGQpDrWVDh2F7mR2WoOsbezVdU30CdMXEGNY3abZ0rLcEVVkGpVqlPk0SRjEUS5y2gGUYX7byckURgnB66OxJ7MFD7MHkAQZ0Jh9hFEOxxDkUMM2ZrR/bMo+IsA3hjuzN4fPpvtQUjneJjM7kI4xiKJY4xGW0C9F7bwDrHvNHwk8T4zcutGz0hRjEQp4+1AwHGoYLosBgf3b+O1e1x9iPuUbu7uGfiEJzerUGu6+npwKDA8lm5lx8J54Ie2lWapr7c6tSWd+QwTSfYGPn/lqmoyKOpkn2yuoErKxeQdfgAbSO9hWXbAa/XDjKYcdd598CDAAkzn7JYhVZYAAAAABJRU5ErkJggg==\') 0 0}.ui-editor-debug-reinit-button:hover .ui-icon-reload{filter:alpha(opacity=100);opacity:1}.ui-editor-debug-destroy-button .ui-icon-close{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAtFBMVEX///+nAABhAACnAACjAACCAACgAACHAACjAAByAAB1AAByAACDAACnAACCAACHAACgAACNAACbAACXAACMAACSAABfAACYAACRAACjAACbAAChAACqAACNAACcAACHAACqAADEERGsERHQERG+NjaiERHUTEzYERG4ERGlFBSfFRX/d3f6cnK0JSWoHh7qYmLkXFyvFRXmXl7vZ2fNRUX4cHDXT0/+dnbbU1O3Li7GPT26MTG2f8oMAAAAIXRSTlMASEjMzADMzAAASMxIAMwAAMzMzEjMzEhISABIzABISEg/DPocAAAAj0lEQVR4Xo3PVw6DMBBF0RgXTO+hBYhtILX3sv99RRpvgPcxVzp/M5syb7lYepxDABDeYcQ5wg+MAMhr3JOyJKfxTABqduuvjD37O6sBwjZ+f76/7TFuQw1VnhyGYZPklYagKbKLlDIrmkBDGq1hUaqhM4UQJpwOwFdK+a4LAbCdlWNTCgGwjLlhUQqZ8uofSk8NKY1Fm8EAAAAASUVORK5CYII=\') 0 0}.ui-editor-debug-destroy-button:hover .ui-icon-close{filter:alpha(opacity=100);opacity:1}.ui-editor-dock-button .ui-icon-pin-s{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbFJREFUeNpi/P//PwMlgAVEPGNiIqTOBojz/zIwTHrPwHD4BZDzGGhxMhAzEWlRvtTy5SE/GRiKge61R5YgyoB/IHVPnzIoTprk/52BoRJoiDNBA5BCxuY3UN2vz58Znu7ZwyAaHOz+8f//RqC8OzEuAPtdcfbsgM937zJ8+fKFgePHDwa3sDBroKGt8EBEAo1ArAV1ARPQucwqs2f7vz14kOHH378MF/buPQ4S+wXEQPkauAG3EFHp7bBihTHDs2cMf4E2ffvwgQGmeeuyZWf+MDA0ATXs+I8eiP+gGBhNNTsjIs7+5+Vl+HTrFsOry5cZXr56xXB02bKjQM21QCU7sKaDRYiA2wE0RPJnamq2VVGR8adr1xi4uLkZPjMwsDJCNf/HagAjI8SA//95gRRb5pEjxnttbM6aeHsb87CwMED9DAZ/0QxAjgVmRkZGj+vXr0+wt7evWc3ENPfI1q1n2djYGP4TSsqMEBfYLV26tExXVzcfyF8NdM17oG33V69e3QKUO0vIAF1PT8+Y2NhYUDRuh7n0PyTEdzAQ4YKYHTt2TAEyz5OaGxkpzc4AAQYAvlOuK2pYar0AAAAASUVORK5CYII=\') 0 0}.ui-editor-dock-button:hover .ui-icon-pin-s{filter:alpha(opacity=100);opacity:1}.ui-editor-dock-button .ui-icon-pin-w{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wFFgA2AnOoAZ4AAAH4SURBVDjLtZNNaxNhFIXPfefNJJlkppFI09Ca1FiRMiDduCjWQltdtILdu1DcSkpx7UL6A1zGH+BKEFy5MkhErRvpwo+NSDEaaYyZSZNJJslkPl43XQQaaUA8u3M5PFwu5wL/KBo1FEC4DJALiN2jjAWIbcA5EVABzotkUu+ZJmvLsmQwJtcHA2oHQc8FXm8D9eE8HzafgThPpS5H19Zux4kmIqbJWL3OT/u+9LNWK1er1V8PgMMdwBsJ8AARtFoD6na1qK7PubFYTOOc9RqNQxEEX1ygswP4Jx6mDNw3Fhc/WVtb4uPy8uAx0YeHwMaoLBs1DBE9kzTtIJLJ4FQ6LQnghZVMFscCCIB8IeKB7/e6lYpjNZs2V1WeNk02FuApwAJA8xwnFHgeSUL4rmVJ3yIRfyzAFWA+Oj29EZqcvODYNveJEloisZnq9++NAkjD5gCY59nsnfjq6iafnT3bNQzJrtWQzeUm+p3OxQXbll8Cb45tYBGRKcucEd2Irq/fDC8tzSm5nKRMTSEUi3lcUXB1ZSV1RlVvPWLs2rEiaUIIDAbee+AtisWMUyqpRhAoiq7rLdtudvf2fsQlqWe02yQDr/7axEvAbml///uTcHjhqyxncjMz5zqO87th28+vu+47GWjfBdyxP61QKFA+nydVVQn/S38ATpHDEx6slP8AAAAASUVORK5CYII=\') 0 0}.ui-editor-dock-button:hover .ui-icon-pin-w{filter:alpha(opacity=100);opacity:1}.ui-editor-dock-docked{z-index:10000}.ui-editor-dock-docked .ui-editor-toolbar-wrapper{position:fixed;top:0;left:0;right:0;border-top:0;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-pack:center;-moz-box-pack:center;-ms-box-pack:center;box-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-box-align:center;box-align:center}.ui-editor-dock-docked .ui-editor-toolbar{text-align:center}.ui-editor-dock-docked .ui-editor-path{position:fixed;bottom:0;left:0;right:0}.ui-editor-ios .ui-editor-dock-docked .ui-editor-path{display:none}.ui-editor-dock-docked-to-element-wrapper{font-size:inherit;color:inherit;font-family:inherit}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper{position:relative!important;top:auto!important;left:auto!important;border:0 none;padding:0;margin:0;z-index:auto;width:100%;font-size:inherit;color:inherit;font-family:inherit;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-toolbar{margin:0;z-index:2;-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-box-ordinal-group:1;box-ordinal-group:1}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-toolbar .ui-widget-header{border-top:0;border-left:0;border-right:0}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-path{border:0 none;margin:0;-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-ms-box-ordinal-group:3;box-ordinal-group:3;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}.ui-editor-dock-docked-to-element-wrapper .ui-editor-wrapper .ui-editor-messages{margin:0}.ui-editor-dock-docked-element{margin:0!important;display:block;z-index:1;-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-box-ordinal-group:2;box-ordinal-group:2}.ui-editor-dock-docked .ui-editor-messages{position:fixed;top:0;left:50%;margin:0 -400px 10px;padding:0;text-align:left}.ui-editor-dock-docked .ui-editor-messages .ui-editor-message-wrapper{width:800px}.ui-editor-dock-docked .ui-editor-messages .ui-editor-message-wrapper:first-child{-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;border-top-left-radius:0}.ui-editor-embed-button .ui-icon-youtube{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAxlBMVEX////////fNzfaMTHVLCzKISHFGxvvR0flPDzpSEjdMTH4Y2PaKyvtTk7PJibXIyOnLi7lQECkKyvSHR3mPj6eJCSUGhqRFxfqQkL0XFziOTmOFBSBBwehKCiHDQ3PFRWaISGXHR3wVlaECgqqMTGLEBDGHR365eW1ICDaXFz139/LDg7NLi6tNDTSKSnMNzd9AwP1TEy/Fhbwxsbqv7+7EhKzFBS6EBDonZ3akJDkhISxBwf8a2vLIiLPcHD88fH67+/fYGAnLmvBAAAAAXRSTlMAQObYZgAAAJtJREFUeF5Vx0WShFAUBMB631F3afdxd7v/pQaiN5C7BK4mgM3nxAahczfihIgrrfVTqs+qGN2qLMvHwy4tB6sOmWeMIXp7/jI9L8PCYowR0e/3xzVj1gLLiHNOg9OR82iJvBZC0GD/J0Sdo7B93+/78+737AKNK6Uker2UA7fBNlBKPdyos2CLWXI/ksywnr+MzNdoLyZa4HYC/3EAHWTN0A0YAAAAAElFTkSuQmCC\') 0 0}.ui-editor-embed-button:hover .ui-icon-youtube{filter:alpha(opacity=100);opacity:1}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;height:100%;width:100%}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs>div{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs>div>p:first-child{padding-top:10px}.ui-editor-ui-embed .ui-dialog-content .ui-editor-embed-panel-tabs>div textarea{display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-flex:4;-moz-box-flex:4;-ms-box-flex:4;box-flex:4}.ui-editor-float-left-button .ui-icon-float-left{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS5JREFUeNpi/P//PwMlgImBQsACY1zaIH4A6Bp7dAUzV31jnLHy22YgkxFqIQhf/vfvXymKAQ8eidtra35lYAQqY+FgZWBmZ2X49fk7AxvbX6DsN1+CLlgwn5khMECAwcLiL4OogiIDj6QEw9uLZ4AGfAVJ70BzAQg7ohigrnaP4cEDLoY3bzkYzL6/ZVA34ma4ev07w/sPv0HSHgRdoKICUvgR6IWPDK8evWb49+8iw/1bfxhevwYbsBfNdhC2BkkwwqLRxRhuFgM3HyMDrwAjw8vH/xj2nvuH1WZgIDKgGMDExLQNiz9xYWagASboBpAU/zAXsCCJ7SbCZjaghexAmgOIFUh2AXKyh7GRXTARiI2w2MoKVMwBtRVkOysQHwNiPxQXDFhmotgAgAADAKYzbYynfqX2AAAAAElFTkSuQmCC\') 0 0}.ui-editor-float-left-button:hover .ui-icon-float-left{filter:alpha(opacity=100);opacity:1}.ui-editor-float-none-button .ui-icon-float-none{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAkFBMVEUAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEAAADRrxbRsBYBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAACcegnCrQ6ffgqukQv+/GixkS3duyLhwyfkyizevSNRMDCigDLauC/y41DcuiLrzTTQrhWCYBiObSDErz3r4VvApCt4Vg6dewnDaH3NAAAAGHRSTlMAycfDxcu9v8HYu+DAwIm3uZnRkdDn7LIyy/h+AAAAWklEQVR4Xp2KRwqFMBQAYzfGXmPtvfx//9spgvAWQcRZzgx6gz6dGEDkQ1FWNRBN2/XZCMRvXtZtB4LSfxon6AHTsjVZUQWR5xz2cWfJxYR9eFf2MQnCCH3hAIfwBUXJe8YuAAAAAElFTkSuQmCC\') 0 0}.ui-editor-float-none-button:hover .ui-icon-float-none{filter:alpha(opacity=100);opacity:1}.ui-editor-float-right-button .ui-icon-float-right{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS1JREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzZYRzBaaHcWE4kZGJ8aCe/0sHFAOAoB5d4avXfAwPH4swaGt+ZWAEGsnCwcrAzM7K8Ovzd3sMFwDBWpjNMPrK5b++C94yMwQGCDBYWPxlEFVQZOCRlGB4e/EMAzYDgtFdICr6kUFd7QfDgwdcDG/ecjCYfX/LoG7EzXD1+ncGeyNMAzYiuQDsCmHhf54qKr+BzI9AL3xkePXoNcO/fxcZ7t/6wwDzAyMsGoGBiDWUnQwR4tx8jAy8AowMLx//Y9h95g+GAdvQXIAPM//798+EKBfgAkADMMJgNxE2swEtZAfSHECsQLILkJM9jI3sgolAbITFVlagYg6orSDbWYH4GBD7obhgwDITxQYABBgAdBpg+9sXURwAAAAASUVORK5CYII=\') 0 0}.ui-editor-float-right-button:hover .ui-icon-float-right{filter:alpha(opacity=100);opacity:1}.ui-editor-font-size-inc-button .ui-icon-font-size-inc{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOhJREFUeNpi/P//PwMlgImBQkCxASxgU5gwzJkOpTORBZ2ilzO8+MjFwMIixnBhnTlOF8gD8U8gFoey4UBSyZooLzgD8Umo65xhgsYu5USHgS0QHwfiE1A2TtuxGaAIxL+B+AEQnwFiaagYg6Qi2AAHIP4PpbEa4AHEz4HYAIi/QL3hgSS/H4gfQmlELCAHNBBLQGlksenP7x9l4Bc3YMTnBRWogbZIuBOIZUFyW2b5EQwDVyA+giYPcionSA6U5Jc0yTK8vrUcVQU0L1gB8RMotkKSXoMkXgQT5BM3A+sDYcahn5kAAgwArro7Z1GYijsAAAAASUVORK5CYII=\') 0 0}.ui-editor-font-size-inc-button:hover .ui-icon-font-size-inc{filter:alpha(opacity=100);opacity:1}.ui-editor-font-size-dec-button .ui-icon-font-size-dec{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKxJREFUeNpi/P//PwMlgImBQjAMDGBBMY0Jbp4JEFcAcQcQnwEJpLa/Zfj27SvD+fPnGVhYxBgurDPH6wI9IP4DpRmMXcpJ9oIZELcBcRiaOCjOH0BpnAYoAbE6EE8EYnYgtjq7pxMm5wjE8lAapwFOQLwFiIuB+AQ0PBi2zvYHUQeAmBFKYxoATJWWQOwLxJJAfA6I5YE4FyT+9O5hBiSXwAHjaFKm3ACAAAMA85o8WKYZErQAAAAASUVORK5CYII=\') 0 0}.ui-editor-font-size-dec-button:hover .ui-icon-font-size-dec{filter:alpha(opacity=100);opacity:1}.ui-editor-show-guides-button .ui-icon-pencil{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUeNpi/P//PwNFAGQAIyMjDK9BYqNgXHqZ0MSYcFmEyxBGsClMTGS5+t+/fxg2biLGAGTXoBvATGoYkuUFGMDmhd2kGjL4vHCUUi9cIjcpnwPi2UAsBaXPQZPwOXxscD5Cy0xLSbUc3YDnJLue0uwMEGAA2O1APJOrHFQAAAAASUVORK5CYII=\') 0 0}.ui-editor-show-guides-button:hover .ui-icon-pencil{filter:alpha(opacity=100);opacity:1}.ui-editor-ui-show-guides-visible *{outline:1px dashed rgba(0,0,0,0.5)}.ui-editor-undo-button .ui-icon-undo{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe1JREFUeNrEUzFrFEEU/mazu7d3x8U9g0ROwkHEwrSrNmksJBxok1RRwUIEz0awFStZoqQw5B9ok1jYiRDBwl4PSaFJVLCMMfHWS7zb3ZndGd9ssgdXiVzhwGNnH+/75n3vm2FKKQyzDAy5zKmHLRSKRdiOA6tQgGlZDcrPUme3dcFBEPSLlZQQcZyFTFN8WZiGOUCnVCMRws9/4zD8BwkEFpz7N66c8vQJUbeLNEn+LuEQqxo8jv0716e8/f0UPIp0+n1OTbFLsUF1z+n7boAgA0eRf/em521tdeE4BuYunfa0OYehEMUJ3wt6Fza+7s4EkVwh3DJFLyPgYejfa0576+u/MsZe70g/tX8QRujSHDgXtpTpmOvarkjYrZ97Qg/xUTYDOv3B46U3rcnJMqRUUKaBtsXwzWDYJmfax1y0x07gx/FxfLbckd+1Wj0dYddI8vlcwhp1gcUnr/z55mXvbcfA99WXrVwjMwzGHNs0yiWbVSpFXqtVMTFxkrU+zOt55ENc04N7tvTCP9O86mn76D6cIzDSODYRhhUEnXFguy4/bs6gWr1IubN9F3KShHN8Wn6a3QNtZaFU0lvtZXAUm1LK13Jn5z7Vzw0Q9EmE0NvZDNnpoDw6OuC7voFUs0C19Uzif39MQxP8EWAA91//GdkHdYEAAAAASUVORK5CYII=\') 0 0}.ui-editor-undo-button:hover .ui-icon-undo{filter:alpha(opacity=100);opacity:1}.ui-editor-redo-button .ui-icon-redo{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAd9JREFUeNrEU89LG0EUfjP7KyvEGsRorRhoySGCuSyht0IPgicFQZCcvXsvHoP/Q8FDKZRCpQityKIHvZT2YI6t6MUfCJqQKpt1d7Ozu7N9O9vWhIIUcvDBt/OY4X3z3vfNkjiOoZ+g0GfIyaf46gtQSQJF0wQIvePN5nJiJYS8xmUzDAIz8H1gnQ74npcS3BeubYOm60lqCKQjm/89QhSG0HEcSG6tzo4bAWM1JJntGaE7UNQKcL6EaQkxknQfcS6Imk0GizOTxrvPx7Xf4pvdBAOc85VBnVTLU6OPhx8NZBVZUjmPIYpStNsMGo0I5l8+NT5sfxckggCFAYrFzyaHlo1yoYDdSs2WD9e2A/atC4wFooMkJBT79EqBF88Lxu7eYU0QMN+v5Eey1enSRKF1y6ULFoKFAFUDntMgwpsiDuAEMbgBhydDKmxtH9TRmdWUwPOWSsXi2Fmr7RyfNG6sa9vzbI+FHT+MI3730hbmjIwEcLTxSRSrup5qgH6Wvn39cd76ae9TSndw6wzRQNiSooQxiohjHij4Pqy379PiTMb86wJalL+6ZB+pLK9RSv+x0XddkQfrb9K2VdXssRHZk4M1mRDc6XXWsaw/aT15ibKimN3n5MF/pr4JfgkwANDA599q/NhJAAAAAElFTkSuQmCC\') 0 0}.ui-editor-redo-button:hover .ui-icon-redo{filter:alpha(opacity=100);opacity:1}.ui-editor-hr-button .ui-icon-hr{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXhJREFUeNpi/P//PwMTExMDEmgEYi0gZsSCrwJxNUzhv3//GBixGEA0ABnAgkV8LZqtTFDaF6aAX8KCwdBrA4QDckFq+1sGSUVrBkZGRqKwvEEhg2PyS7BeuAv07AsZXjw4BmJuQLIV5gImJLYrv7g53LlwA8TkLRgCi28wXDzQF/Dr10+G379/M/z58wfoz/9gfUxMrAzMzGwMsnr5DBwcvBgGHABiexBDyTiV4cuXTwxfv35j+PHjB9CQ/0BnszCwsHAysLHxIofVQSB2gBlgnxogAqREiI6B+ikf7ZFdcHD2hjf2X79+Zfj8+TNeF7Cz84K9wMrKdRDZAAcQ8fbJaYYndw4zYAsDHlFjBjZxKwyXwAPx1cMTDIdWxoKY+5BCHo7f31tp8VM9iUFQ0oaBQ9YBYQIoLo1dygmmA2QgIGHJoGhUCtaLLSkfweICVqA6diDNAcQKyJYTlRdAanCJY8sL04HYFM3WM0Acgs0QRlymEwsAAgwAwwCYinucCRoAAAAASUVORK5CYII=\') 0 0}.ui-editor-hr-button:hover .ui-icon-hr{filter:alpha(opacity=100);opacity:1}.ui-editor-wrapper .ui-editor-i18n-select{height:23px;top:-8px;text-align:left}.ui-editor-wrapper .ui-editor-i18n-select .ui-editor-selectmenu-status{font-size:13px;line-height:10px}.ui-editor-selectmenu-menu li a,.ui-editor-selectmenu-status{line-height:12px}.ui-editor-wrapper .ui-editor-i18n-select .ui-editor-selectmenu-item-icon{height:24px;width:24px}.ui-editor-selectmenu-menu .ui-icon.ui-editor-i18n-en,.ui-editor-wrapper .ui-icon.ui-editor-i18n-en{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAIAAAD5gJpuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAflJREFUeNpinDRzn5qN3uFDt16+YWBg+Pv339+KGN0rbVP+//2rW5tf0Hfy/2+mr99+yKpyOl3Ydt8njEWIn8f9zj639NC7j78eP//8739GVUUhNUNuhl8//ysKeZrJ/v7z10Zb2PTQTIY1XZO2Xmfad+f7XgkXxuUrVB6cjPVXef78JyMjA8PFuwyX7gAZj97+T2e9o3d4BWNp84K1NzubTjAB3fH0+fv6N3qP/ir9bW6ozNQCijB8/8zw/TuQ7r4/ndvN5mZgkpPXiis3Pv34+ZPh5t23//79Rwehof/9/NDEgMrOXHvJcrllgpoRN8PFOwy/fzP8+gUlgZI/f/5xcPj/69e/37//AUX+/mXRkN555gsOG2xt/5hZQMwF4r9///75++f3nz8nr75gSms82jfvQnT6zqvXPjC8e/srJQHo9P9fvwNtAHmG4f8zZ6dDc3bIyM2LTNlsbtfM9OPHH3FhtqUz3eXX9H+cOy9ZMB2o6t/Pn0DHMPz/b+2wXGTvPlPGFxdcD+mZyjP8+8MUE6sa7a/xo6Pykn1s4zdzIZ6///8zMGpKM2pKAB0jqy4UE7/msKat6Jw5mafrsxNtWZ6/fjvNLW29qv25pQd///n+5+/fxDDVbcc//P/zx/36m5Ub9zL8+7t66yEROcHK7q5bldMBAgwADcRBCuVLfoEAAAAASUVORK5CYII=\') 0 0}.ui-editor-selectmenu-menu .ui-icon.ui-editor-i18n-zh_CN,.ui-editor-wrapper .ui-icon.ui-editor-i18n-zh_CN{background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAIAAAD5gJpuAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAFqSURBVHjaYrzOwPAPjJgYQEDAleHVbhADIvgHLPgHiQ0QQCxAlkR9NW8sw+cV/1gV/7Gb/hV4+vfzhj8Mv/78//Pn/+/f/8AkhH1t0yaAAAJp4I37zyz2lDfu79uqv/++/WYz+cuq/vvLxt8gdb+A5K9/v34B2SyyskBLAAII5JAva/7/+/z367a/f3/8ZuT9+//Pr78vQUrB6n4CSSj6/RuoASCAWEDO/fD3ddEfhv9/OE3/sKj8/n7k9/fDQNUIs/+DVf8HawAIIJCT/v38C3Hr95N/GDh/f94AVvT7N8RUBpjxQAVADQABBNLw/y/Ifwy/f/399ufTOpDBEPf8g5sN0QBEDAwAAQTWABEChgOSA9BVA00E2wAQQCANQBbEif/AzoCqgLkbbBYwWP/+//sXqBYggFhAkfL7D7OkJFCOCSj65zfUeFjwg8z++/ffX5AGoGKAAGI8jhSRyIw/SJH9D4aAYQoQYAA6rnMw1jU2vQAAAABJRU5ErkJggg==\') 0 0}.ui-editor-image-resize-in-progress{outline:1px dashed rgba(0,0,0,0.5)}.ui-editor-length-button .ui-icon-dashboard{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhFJREFUeNrEk7tv01AUxr/4kcRO7Fh1HghFgSAeYglDlIfUbGEBhaWoUxFiQWJGMDDyhzB2ZmANYmAoIvQPaIHIkVJjKyWkcdzYSR1zbhSGQhFDB47007333PN9V/cVCcMQ5wkO54wIxe+5q8Rt4gaRW+VsYo9oE1/+ZpAktjKZzL1arXatWCzmFEVhOYzH40m327U7nc7nwWDwhlLbxITN8SsDVvisXq9vtVqtuqZp2XK5HDcMg5vNZlylUon7vq+XSqXLi8WiYJqmTvWfiNkvg8e06gMqLDmOI5AIvV4P8/l8CeuzHMHn8/kcmeiWZQWk6zCD67quP280GuXNdlv4qKrwTk6WwpXoFNVqNTKdTtf6/X7C87wPzOAhrX4nCIK195KEp4aBtxyHKRm4roujozGdwQSO49LYx/7+VzIPeVEUOcsyh+wab9Ge0+SKGW3nhSzj5WiEoWlhMvHolKOIRmVIkgpZVhGPKxAEGdlsIc20zOASz/NSs9lkl4IwJuOJH+CVksDi2APPx0iYIgNlCTNYXy8hmdQkpmUGCfag2u134DgJipKGdqGAR6NjbKdVOAMbQRAiRsaCEKMaHru7XdYutRw95R+Hh0NXVTNIpXQy0KDrOVy8chOb34Z4XcjCMvZoO86p12bbBy7Tsv5dYoc4OAtFFM3BxkZ4xtzOSvvPuE98X7V//oX//ht/CjAAagzmsnB4V5cAAAAASUVORK5CYII=\') 0 0}.ui-editor-length-button:hover .ui-icon-dashboard{filter:alpha(opacity=100);opacity:1}.ui-editor-link-button .ui-icon-link{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAilBMVEX///8EBARUVFRUVFQEBARTU1MqKiwfHx5MTEzGxsZNTU1FRUWAgH8SEhJnZ2fd3d06Ojrg4ODIyMgODg4DAwMSEhLCwsGcnKXExNEvLy+ysrh+foMQEBBBQUEEBATJydeenqcDAwPT09OIiIjj4+OZmZl3d3fU1OPCwsHW1tXq6urr6+va2trGxsaRnmwcAAAAI3RSTlMAimdfRTOWgDXbAGXFj339cv3dAHtC3OP8bt+2cnuA/OMA+Akct2IAAABoSURBVHhetcVZFoIgGAbQ7wcVwyEKtBi01OZh/9urw2EJdV8ufkHmnDHG85RE2a7Wp812GGJtiaqvG1rOXws1dV9BzWKi2/3xfL1pErOCdT6YS2SCdxZdsdtfD8ci1UFnIxGNWUrjHz6V6QhqNdQf6wAAAABJRU5ErkJggg==\') 0 0}.ui-editor-link-button:hover .ui-icon-link{filter:alpha(opacity=100);opacity:1}.ui-editor-unlink-button .ui-icon-unlink{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA2FBMVEX///8WFhYvLy9LS0sEBAQODg4EBARNTU0DAwNVVVVUVFQtLS1nZ2cfHx46OjoSEhLGxsZTU1OAgH/T09NUVFQEBAQ6OjpMTEwvLy+4uMDCwsEQEBCvr7sSEhIEBAR+foMqKixFRUUEBARDQ0MBAQEBAQG5ucQiIiICAgIODg7Z2dlAQEBMTEwsLCxGRkYAAABPT0/e3t4mJiYqKiopKSlUVFQiIiJJSUkjIyNFRUU5OTkBAQEoKCi/v8zCws+qgFWFZkY7MSbc3Nzj4+Pm5ubOztzU1OTQ0N6IE/7FAAAAQ3RSTlMAAAAAigAAAAAAZwB9gACP2zPF+F9ocjVu39xy40KAtpZlRQBrUPx9AIb8AE8AAAAA/AAAAAAAAAAAAAAA/PwAAAD8PWHlxQAAALtJREFUeF5dzsVWxEAQheHqpGPEPeMWGXfcmQHe/42oC+ewmH95F1UfGWFyhZLQUBHlTvBxOp92gZP/DaN25Esp/ag9ukeUxa5p6qbpxpmHqGgNOtWm6gxahaIokwX1ht16ps3q7rAn9utrg7RxX6Z6KvtjbWJZGHTuuLLtw8P2f/CAWd4uGYNBqCpj5s1NM2cMPd3xc2D4EDDkIWCmj1NgSEHAlGUJDAnEmOfPr+8XxtDr27sQwHDA0GU/2RcVwEV78WkAAAAASUVORK5CYII=\') 0 0}.ui-editor-unlink-button:hover .ui-icon-unlink{filter:alpha(opacity=100);opacity:1}.ui-editor-link-panel .ui-editor-link-menu{height:100%;width:200px;float:left;border-right:1px dashed #d4d4d4;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-link-panel .ui-editor-link-menu p{font-weight:bold;margin:12px 0 8px}.ui-editor-link-panel .ui-editor-link-menu fieldset{-webkit-box-flex:2;-moz-box-flex:2;-ms-box-flex:2;box-flex:2;margin:2px 4px;padding:7px 4px;font-size:13px}.ui-editor-link-panel .ui-editor-link-menu fieldset label{display:block;margin-bottom:10px}.ui-editor-link-panel .ui-editor-link-menu fieldset label span{display:inline-block;width:150px;font-size:13px;vertical-align:top}.ui-editor-link-panel .ui-editor-link-menu fieldset,.ui-editor-link-panel .ui-editor-link-wrap fieldset{border:0}.ui-editor-link-panel .ui-editor-link-wrap{margin-left:200px;padding-left:20px;min-height:200px;position:relative}.ui-editor-link-panel .ui-editor-link-wrap.ui-editor-link-loading:after{content:\'Loading...\';position:absolute;top:60px;left:200px;padding-left:20px;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAOXRFWHRTb2Z0d2FyZQBBbmltYXRlZCBQTkcgQ3JlYXRvciB2MS42LjIgKHd3dy5waHBjbGFzc2VzLm9yZyl0zchKAAAAOnRFWHRUZWNobmljYWwgaW5mb3JtYXRpb25zADUuMi4xNzsgYnVuZGxlZCAoMi4wLjM0IGNvbXBhdGlibGUpCBSqhQAAAAhhY1RMAAAACAAAAAC5PYvRAAAAGmZjVEwAAAAAAAAAEAAAABAAAAAAAAAAAAA8A+gAAIIkGDIAAACsSURBVDiNtZLBCcMwDEUfJgOUjhAyQsmp9FA8TgfISj6F4gl66jSdIIf00G9wnLjYKf3w0Qch6Us2fMdVLMYx0haYRZsrMJEegZdiDj3gFFeT54jBiU2mO+XdVvdRyV0OYidVMEAH3AEPHGoboMKwuy+seYqLV9iNTpM90P7S6AQMitXogYnPHSbyz2SAC9HqQVigkW7If90z8FAsctCyvMvKQdpkSOzfxP/hDd++JCi8XmbFAAAAGmZjVEwAAAABAAAAEAAAABAAAAAAAAAAAAA8A+gAABlX8uYAAAC3ZmRBVAAAAAI4jaWQsQ3CQBAEB4cECFGCI1fiAlyFKwARWgSIeqjCNTh0gIjIkBw9gffFSfz74VlpdX/W3Xr3YBmlmIUSmMSoSGHee+CmGsMGaFU/cAecqnVh/95qpg0J/O0gCytgDRzUX4DnryIn5lwO6L7c6fxskRhMwkc4qj+TEcFjC9SqWcsj8x3GhMgu9LHmfUinvgKuYmWWp5BIyEFvBPuUAy9ibzAYgWEhUhQN8BCb2NALKY4q8wCrG7AAAAAaZmNUTAAAAAMAAAAQAAAAEAAAAAAAAAAAADwD6AAA9MEhDwAAAKhmZEFUAAAABDiNY2CgMTgNxTgBExLbh4GB4SCUxgeMcEkcZmBg+A+lcQETqBoTbJI+UM1ku4AiEATFZIEQBoi//kPZxIAAKEaJBYpACAm24wUSBORVGBgYUqA0BtjKAAmHrXg0f4aq+YxuiAQDIiD/Q/k8DAwMdVDMw8DAkIamJo2QCyYjKZ4MtfErlP8VlzeQw2AlkgErkbyBMwzQgRoDA8N+KMapAQDdvyovpG6D8gAAABpmY1RMAAAABQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZC1N1AAAAsWZkQVQAAAAGOI21kkEOgjAURF9YGBbGtYcwLowrwxk8BMcg3XACD9djGJaujKmLTkMRCiXEl0ympYX8+Xz4M62UpIjWR8DI59inDgzg5CkOwEs+YnMFmzhJOdwAK1UAZ+ANfLRewuJ75QAb/kKRvp/HmggVPxHWsAMu8hEN8JRPUdLnt9oP6HTYRc/uEsCVvnlO+wFGFYRJrKPLdU4FU5HCB0KsEt+DxZfBj+xDSo7vF9AbJ9PxYV81AAAAGmZjVEwAAAAHAAAAEAAAABAAAAAAAAAAAAA8A+gAAPSdgJwAAADDZmRBVAAAAAg4jaWSTQrCMBCFP6NIT5AjCF6gJ6jbUnoCL1biDTyF5AAueoZu3LkSrAtHTEJiIn3wmCTz92YILMQ64++BPTDKXQMH4AbcAZQTvAEasTFo4AqcxeowoAFmsSk1s8M+DChRMEnyFFNQAg10sWSFv49cESPUn+RRWFLE8N2DKe2axaIR/sU25eiAi9gUBt6zDzGnFad13nZCgAr/I1UxBdZRUAMPYV2iIETrdGudd28Hqx8FFHCU8wl4xoJeZnUrSRiyCSsAAAAaZmNUTAAAAAkAAAAQAAAAEAAAAAAAAAAAADwD6AAAGe6xwAAAALtmZEFUAAAACjiNpZJBCsIwEEWfpUsPULoSl55Beh4J7nqCHkDceR3pIaSr4Ak8Qq2L/khomlrig+FPhszwJy3EqYCHolq4F6UDBkWnWgbspN+CT7EwMAPuwFM67aUAem/IdIW952jQOeCXg1bN7ZyDNQRvsEkYkgNG+S1XcpHWKwacgatzlLLH2z/8vUJCf5wSaKQxToCVBjSM37jxaluFw+qOXeOgBF4KVzNqNkH3DAfGX7tXnsRREeUD4f8lQGjw+ycAAAAaZmNUTAAAAAsAAAAQAAAAEAAAAAAAAAAAADwD6AAA9HhiKQAAAJ9mZEFUAAAADDiNtZDLCcMwEEQfIUcXoDpCKgg6qIRUEtKB6wg6poDgalyFTj7YBw+2QyRlCc6DYVm0n9FCGQc8JFepWzgBN0WACIxS/NZ8BgYVD8pzA1ogKb5x3xSPyp0a4+YLSe/J4iBH0QF83uCvXKSFq2TBs97KH/Y1ZsdL+3IEgmJt86u0PTAfJlQGdKrprA6ekslBjl76mUYqMgFhpStJaQVr0gAAABpmY1RMAAAADQAAABAAAAAQAAAAAAAAAAAAPAPoAAAZshBTAAAAu2ZkQVQAAAAOOI21kCEOwkAQRR8rKkkFCtmjkJ4ARTgBArViT4LjLJwBgUZUr8NBQlrR38Am3XYEvOTnT7PzuzO7IE8BHFWfgNdELwBLYCMH8EAr+VzIyUvgBlzkZaZ/D1zlCfXXba2+C93sVaNwK08ogUaHzcQEu9wE0O9e83kDEw7YAhG4K/ww5CoJFB52j8bwU6rcTLOJYYWo2kKywk9Zz5yvgCAfDb9nfhLoHztYJzhIpgnGOEv/owMnkSfarUXVlAAAAABJRU5ErkJggg==\') no-repeat left center}.ui-editor-link-panel .ui-editor-link-wrap h2{margin:10px 0 0}.ui-editor-link-panel .ui-editor-link-wrap fieldset{margin:2px 4px;padding:7px 4px;font-size:13px}.ui-editor-link-panel .ui-editor-link-wrap fieldset input[type=text]{width:400px}.ui-editor-link-panel .ui-editor-link-wrap fieldset.ui-editor-external-href{width:365px}.ui-editor-link-panel .ui-editor-link-wrap fieldset.ui-editor-link-email label{display:inline-block;width:115px}.ui-editor-link-panel .ui-editor-link-wrap fieldset.ui-editor-link-email input{width:340px}.ui-editor-link-panel .ui-editor-link-wrap ol li{list-style:decimal inside}.ui-editor-link-panel .ui-editor-link-wrap .ui-editor-link-panel .ui-editor-link-wrap fieldset #ui-editor-link-external-target{vertical-align:middle}.ui-editor-link-error-message div{padding:0 .7em}.ui-editor-link-error-message div p{margin:0}.ui-editor-link-error-message div p .ui-icon{margin-top:2px;float:left;margin-right:2px}.ui-editor-list-unordered-button .ui-icon-list-unordered{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMlJREFUeNpi/P//PwNFAGQAIyNjGBCvgdIMxGKQXhaoORFlZWWBXV1dTED2KqjYGiBmRMJMaOwrQFwOc0EEEG+A0iS5gBFEMDExkeX9f//+MTAxUAhgBsQC8U4oTRKABWJ8Rkae84wZk5iB7MVQsW1IAYYLW8MCMRGID0Bp+gYiC46EhTPR4QrEdCA+A6VJT8pAcDMsLB3EuAniQP14BIiPAfEJID4FxGehqe8OED8B4vVgvVADioH4GZTGGWhYvUtpbqQ4JQIEGABjeFYu055ToAAAAABJRU5ErkJggg==\') 0 0}.ui-editor-list-unordered-button:hover .ui-icon-list-unordered{filter:alpha(opacity=100);opacity:1}.ui-editor-list-ordered-button .ui-icon-list-ordered{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwNFAGQAIyNjIxCvAWJBIGYgFoP0skDNqQfidUDMiGT2GigfhpnQ2FeAuJwFSQMTmuNCiPEBTFMblF1CahAwgvzBxMREVvj9+/cP7oIuIN4Bpcl2gRMQJwFxDFRuG1KAYcVAF1jDojEBiGcAsQSp0QjzgiEQawLxSiibNoGInmqRE9J0IJaEYnNSXAAzYC4QNwJxIJLcEbRAYwZidiDmgOLTYPVIzgJpPgD2F45Aw+olqAFrgfg5EBeTagAjpdkZIMAAg/ZGwsH5qkAAAAAASUVORK5CYII=\') 0 0}.ui-editor-list-ordered-button:hover .ui-icon-list-ordered{filter:alpha(opacity=100);opacity:1}.ui-editor-paste-panel-tabs{height:100%;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-paste .ui-tabs a{outline:0}.ui-editor-paste-panel-tabs{position:relative;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-paste-panel-tabs .ui-editor-paste-synchronize-text{height:25px;line-height:25px;position:absolute;right:0;top:0;width:100px}.ui-editor-paste-panel-tabs .ui-editor-paste-synchronize-text input{margin:0;padding:0;vertical-align:text-bottom}.ui-editor-paste-panel-tabs>div{overflow:auto;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-editor-paste-panel-tabs>div>textarea.ui-editor-paste-area{-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;display:-webkit-box;display:-moz-box;display:-ms-box;display:box}.ui-editor-raptorize-button .ui-icon-raptorize{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABDlBMVEX///9NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU1NTU0Y/iVtAAAAWXRSTlMA/v1mTvW+WQFF+nGpsyPlDhXL1GvZHduk48LslL2a7tadwee772kEfqD8+OGCXWJ2+bQ9pt7xCme4iQU4iNH0mCEPEd82Ocxj4De2HoMaq3MHZJsDeGwCG8H1fioAAAC1SURBVHheNchFlsMwEADRlmRkSDKmMDMMMjMz9P0vkifLrl194F3NW0qtugV5Wt1FHpnloGKRmr3TK96YDjiMxFGCONngcJ1De4GNDJqhvd2VkbzsY+eDw2efMTYsjRFxd4+DZx6ajC1xhXTTB560EyfWASJW2FEG3vGJElZOz4xzH6QLKLqMgpvbu3sxD+4jPBFJe05fBby9ly0S6ADxl4BviGjp5xd0Of0TUqaUEPs/kR1YA96IIUDtx93SAAAAAElFTkSuQmCC\') 0 0}.ui-editor-raptorize-button:hover .ui-icon-raptorize{filter:alpha(opacity=100);opacity:1}.ui-editor-save-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNqkU71ugzAQPowtwdAdqRLK3odg6161a+cukZonoGrElgWWDqhb16oP0AfoytStirows0QRMj/unQsohAQi5aTD5vju4/Pd2VBKwTnG6cEYe8bl6s73P09Jel8ur3H5ruv6CUiBYRgfQRAosnrCyQhLOZTLG1ImpYQSA1VVjf7dNE0gLOV0R6AXlAMSk4uiGCUQ6ITdJzDpz0SQTxAoxlqVZo+gLEuQyDxFwIQAwg4IiPV3vYbL2WyUgDBHFbxG0Um9t237sIIkSeDYYGHbur3neQMCTgqoRWEYDToh8NyLxSO4rgtpmrY14D0CUsA5h80mh/n8QQdXq7CTTN/ILMtqa9AjEDjOGrTdSnAcRwdpr1unzB5BMweiGwY8tx/H8U+WZbmUSoPJlfr3NrZLgDkXujbNXaD9DfoLAt8OFRHPfb8X+sLcW+Pc6/wnwABHMdnKf4KT4gAAAABJRU5ErkJggg==\') 0 0}.ui-editor-save-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-cancel-button .ui-icon{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAtFBMVEX///+nAABhAACnAACjAACCAACgAACHAACjAAByAAB1AAByAACDAACnAACCAACHAACgAACNAACbAACXAACMAACSAABfAACYAACRAACjAACbAAChAACqAACNAACcAACHAACqAADEERGsERHQERG+NjaiERHUTEzYERG4ERGlFBSfFRX/d3f6cnK0JSWoHh7qYmLkXFyvFRXmXl7vZ2fNRUX4cHDXT0/+dnbbU1O3Li7GPT26MTG2f8oMAAAAIXRSTlMASEjMzADMzAAASMxIAMwAAMzMzEjMzEhISABIzABISEg/DPocAAAAj0lEQVR4Xo3PVw6DMBBF0RgXTO+hBYhtILX3sv99RRpvgPcxVzp/M5syb7lYepxDABDeYcQ5wg+MAMhr3JOyJKfxTABqduuvjD37O6sBwjZ+f76/7TFuQw1VnhyGYZPklYagKbKLlDIrmkBDGq1hUaqhM4UQJpwOwFdK+a4LAbCdlWNTCgGwjLlhUQqZ8uofSk8NKY1Fm8EAAAAASUVORK5CYII=\') 0 0}.ui-editor-cancel-button:hover .ui-icon{filter:alpha(opacity=100);opacity:1}.ui-editor-wrapper .ui-editor-selectmenu .ui-editor-selectmenu-button .ui-icon{text-align:left}.ui-editor-wrapper .ui-editor-selectmenu .ui-editor-selectmenu-button .ui-editor-selectmenu-text{font-size:13px;line-height:22px}.ui-editor-selectmenu-menu li a,.ui-editor-selectmenu-status{line-height:12px}.ui-editor-wrapper [data-title]:after{opacity:0;content:attr(data-title);display:block;position:absolute;top:100%;font-size:12px;font-weight:normal;color:white;padding:11px 16px 7px;white-space:nowrap;text-shadow:none;overflow:visible;z-index:1000;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;-webkit-border-radius:9px 9px 2px 2px;-moz-border-radius:9px 9px 2px 2px;-ms-border-radius:9px 9px 2px 2px;-o-border-radius:9px 9px 2px 2px;border-radius:9px 9px 2px 2px;-webkit-transition:opacity .23s;-webkit-transition-delay:0s;-moz-transition:opacity .23s 0s;-o-transition:opacity .23s 0s;transition:opacity .23s 0s;background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSI1cHgiIHN0b3AtY29sb3I9InJnYmEoNDAsIDQwLCA0MCwgMCkiLz48c3RvcCBvZmZzZXQ9IjZweCIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\'),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(5px,rgba(40,40,40,0)),color-stop(6px,#282828),color-stop(100%,#282828)),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-webkit-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-moz-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:-o-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0;background:linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 10px 0}.ui-editor-wrapper [data-title]:hover:after{opacity:1}.ui-editor-wrapper .ui-editor-select-element{position:relative}.ui-editor-wrapper .ui-editor-select-element:after{background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSI1cHgiIHN0b3AtY29sb3I9InJnYmEoNDAsIDQwLCA0MCwgMCkiLz48c3RvcCBvZmZzZXQ9IjZweCIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzI4MjgyOCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\'),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(5px,rgba(40,40,40,0)),color-stop(6px,#282828),color-stop(100%,#282828)),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-webkit-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-moz-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:-o-linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0;background:linear-gradient(rgba(40,40,40,0) 5px,#282828 6px,#282828),url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAGAgMAAACKgJcSAAAADFBMVEUAAAAoKCgoKCgoKCj7f2xyAAAAA3RSTlMATLP00ibhAAAAJklEQVR4XgXAMRUAEBQF0GtSwK6KYrKpIIz5P4eBTcvSc808J/UBPj4IdoCAGiAAAAAASUVORK5CYII=\') no-repeat 3px 0}.ui-editor-unsaved-edit-warning{position:fixed;bottom:0;right:0;height:30px;line-height:30px;border-radius:5px 0 0 0;border:1px solid #d4d4d4;padding-right:7px;background:url(\'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmMiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VkZWNiZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==\');background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#fffff2),color-stop(100%,#edecbd));background:-webkit-linear-gradient(top,#fffff2,#edecbd);background:-moz-linear-gradient(top,#fffff2,#edecbd);background:-o-linear-gradient(top,#fffff2,#edecbd);background:linear-gradient(top,#fffff2,#edecbd);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0);opacity:0}.ui-editor-unsaved-edit-warning .ui-icon{display:inline-block;float:left;margin:8px 5px 0 5px}.ui-editor-unsaved-edit-warning-visible{filter:alpha(opacity=100);opacity:1}.ui-editor-unsaved-edit-warning-dirty{outline:1px dotted #aaa;background-image:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAQMAAAC2MCouAAAABlBMVEUAAACfn5/FQV4CAAAAAnRSTlMAG/z2BNQAAABPSURBVHhexc2xEYAgEAXRdQwILYFSKA1LsxRKIDRwOG8LMDb9++aO8tAvjps4qXMLaGNf5JglxyyEhWVBXpAfyCvyhrwjD74OySfy8dffFyMcWadc9txXAAAAAElFTkSuQmCC\')!important}.ui-editor-view-source-button .ui-icon-view-source{filter:alpha(opacity=85);opacity:.85;background:url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNpi/P//PwMlgImBQkCxAQwgLzAyMqLjMCCehsSfBhVDUQf2PhYDIoB4JhCLIYmJQcUiCBkQBcRzgFgci6vEoXJRuAyIAeIFODQjG7IAqhbFAAMg3gOlGQhguFp0FyQC8UoglgTx0QFUjSRUTSKuMEgG4nUghVgMkITKJROKhXQg3gbUI42kXxokBpUjGI0gDYVAfBzJABC7EFs6YBz6eYFiAwACDAADJlDtLE22CAAAAABJRU5ErkJggg==\') 0 0}.ui-editor-view-source-button:hover .ui-icon-view-source{filter:alpha(opacity=100);opacity:1}.ui-editor-ui-view-source .ui-editor-ui-view-source-dialog{overflow:auto}.ui-editor-ui-view-source-plain-text{height:100%;width:100%;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical}.ui-editor-ui-view-source-dialog textarea{white-space:pre-line;width:100%;height:100%;display:-webkit-box;display:-moz-box;display:-ms-box;display:box;-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-box-orient:vertical;box-orient:vertical;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}</style>').appendTo('head');
|