-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathraptor.min.js
5 lines (5 loc) · 235 KB
/
raptor.min.js
1
2
3
4
5
!function(){function t(t,e,i){$o[t]=i,tn[t]=e}function e(e,i,o){if("undefined"==typeof $o[e])t(e,i,o);else{o=o||i;for(var n in o)$o[e][n]=o[n]}}function o(t){qo!==t&&(qo=t,pn.eachInstance(function(){this.localeChange()}))}function n(t,e){if("undefined"!=typeof $o[qo]&&"undefined"!=typeof $o[qo][t])return $o[qo][t];if("undefined"!=typeof $o[_o]&&"undefined"!=typeof $o[_o][t])return $o[_o][t];for(var i in tn)if("undefined"!=typeof $o[i][t])return $o[i][t];return e?!1:t}function a(t,e){if(!qo){var i=pn.persist("locale");i&&(qo=i)}if(qo||(qo="en"),t=n(t,e===!1),t===!1)return!1;if(e){for(var o in e)t=t.replace("{{"+o+"}}",e[o]);return t}return t}function r(t){if(!t||!t.id){var e;do e="ruid-"+Math.random().toString().replace(".","");while(document.getElementById(e));if(!t)return e;t.id=e}return t.id}function s(t,e){var i=document.createElement(e||"div");return i.innerHTML=t,i.children[0]}function l(t,e,i){t.classList.add(e),t.classList.remove(i)}function c(t){var e=0;do{if("BODY"===t.tagName)break;e+=t.offsetTop,t=t.offsetParent}while(t);return e}function u(t){"undefined"==typeof t.dataset.height&&(t.dataset.height=t.style.height,t.style.height=document.body.clientHeight+"px")}function p(t){"undefined"!=typeof t.dataset.height&&(t.style.height=t.dataset.height,delete t.dataset.height)}function d(t,e){var i=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector;return i.call(t,e)}function h(t,e,i){for(var o=t.querySelectorAll(e),n=[],a=0;a<o.length;a++){var r=o[a];do if(d(r,i))break;while(r=r.parentNode);r==t&&n.push(o[a])}return n}function A(t,e){try{if(localStorage){var i;return i=localStorage.raptor?JSON.parse(localStorage.raptor):{},i[t]=e,localStorage.raptor=JSON.stringify(i),!0}}catch(o){}return!1}function g(t,e){try{if(localStorage){var i;return i=localStorage.raptor?JSON.parse(localStorage.raptor):{},i[t]}}catch(o){}return e}function m(t){for(var e in t)this[e]=t[e]}function f(t,e){e?en[t]=e:delete en[t]}function b(t){var e=!1;for(var i in en)"function"==typeof en[i]?en[i]()&&(e=!0):en[i]&&(e=!0);if(e){var o="There are unsaved changes on this page. Are you sure you wish to navigate away?";return(t||window.event).returnValue=o,o}}function v(t){return t.charAt(0).toUpperCase()+t.slice(1)}function y(t,e){return t.replace(/([A-Z])/g,function(t){return(e||"-")+t.toLowerCase()})}function C(t,e){var i=t.toLowerCase().replace(/[^a-z0-9](.)/gi,function(t,e){return e.toUpperCase()});return e!==!1&&(i=v(i)),i}function w(t){return on[t]}function x(t,e){return t=t.replace(/tr\(['"]{1}(.*?)['"]{1}\)/g,function(t,e){return e=e.replace(/\\(.?)/g,function(t,e){switch(e){case"\\":return"\\";case"0":return"\x00";case"":return"";default:return e}}),a(e)}),e=an.extend({},this.options,e||{}),e=E(e),t=t.replace(/\{\{(.*?)\}\}/g,function(t,i){return e[i]})}function E(t,e,i){e=e?e+".":"";var o=5;i||(i=1);var n={};for(var a in t)if("object"==typeof t[a]&&o>i){var r=E(t[a],e+a,++i);for(var s in r)n[s]=r[s]}else n[e+a]=t[a];return n}function B(t){return!isNaN(t-0)&&null!==t}function k(t){return"string"==typeof t}function T(t){return t instanceof Array}function S(t){return t instanceof Node}function R(t){return S(t)?t.nodeType===Node.TEXT_NODE:I(t)?S(t[0]):!1}function I(t){return t instanceof jQuery}function D(t,e){return an(t).button(e)}function U(t,e){return an(t).button("option","text",!0),an(t).button("option","label",e)}function F(t,e){return an(t).button("option","icons",{primary:e})}function M(t){return an(t).button("option","disabled",!1)}function P(t){return!an(t).is(".ui-state-disabled")}function N(t){return an(t).button("option","disabled",!0)}function Q(t){return an(t).addClass("ui-state-highlight")}function L(t){return an(t).removeClass("ui-state-highlight")}function O(t,e){return an(t).menu(e)}function G(t,e){e.dialogClass="undefined"!=typeof e.dialogClass?e.dialogClass+" ui-dialog-fixed":"ui-dialog-fixed";var i=an(t).dialog(e);return i.parent().css({top:(parseInt(i.parent().css("top"))||0)-an(window).scrollTop()}),i.dialog("option","position","center"),i}function z(t){return an(t).dialog("open")}function H(t){return an(t).dialog("close")}function V(t,e){return an(t).tabs(e)}function Z(t){"success"==t.type&&(t.state="confirmation"),an.pnotify(an.extend({type:"success",styling:"jqueryui",history:!1},t))}function Y(t,e,i){return J(t,e),t=Vi(e),i(),rangy.getSelection().removeAllRanges(),t}function J(t,e){if(t){var i=Zi(e,t);return i.ranges&&rangy.getSelection().setRanges(i.ranges),i.element}return e}function W(t){t()}function K(){}function j(){}function X(t,e){for(var i in e){var o=e[i],n=!1;do if(n=an(t).find(i),n.length){n=an(n.get(0));var a=an(o).clone();a.html(n.html()),a.attr(ye(n)),n.replaceWith(a)}while(n.length)}}function q(t){an(t).unwrap()}function _(t,e){for(i=0;i<e.length;i++)an.trim(t.attr(e[i]))||t.removeAttr(e[i]),t.find("["+e[i]+"]").filter(function(){return""===an.trim(an(this).attr(e[i]))}).removeAttr(e[i])}function $(t){return t.contents().each(function(){this.nodeType==Node.COMMENT_NODE&&an(this).remove()}),t.children().each(function(){$(an(this))}),t}function te(t,e){var i;do i=!1,t.find(e.join(",")).each(function(){var t=an(this).html().replace(" "," ").trim();""===t&&(an(this).remove(),i=!0)});while(i);return t}function ee(t,e){for(var i=Pe(t),o=0,n=i.length;n>o;o++){var a=i[o].cloneNode(),r=document.createElement(e);r.appendChild(a),t.insertBefore(r,i[o]),t.removeChild(i[o])}}function ie(t,e){var i;do i=!1,an(t).find(e).each(function(){an(this).parent().is(e)&&(an(this).unwrap(),i=!0)});while(i)}function oe(t,e){for(var i=0;i<e.length;i++)t.find("["+e[i]+"]").removeAttr(e[i])}function ne(t,e){t.find(e.join(",")).contents().unwrap()}function ae(t){an(t).find(".rangySelectionBoundary").remove()}function re(t,e){var i,o=an("<div>").addClass("spacer");"top"===e.position?(i={position:"fixed",top:e.under?an(e.under).outerHeight():0,left:0,right:0},e.spacer&&(e.under?o.insertAfter(e.under):o.prependTo("body"))):"topLeft"===e.position?(i={position:"fixed",top:e.under?an(e.under).outerHeight():0,left:0},e.spacer&&(e.under?o.insertAfter(e.under):o.prependTo("body"))):"topRight"===e.position?(i={position:"fixed",top:e.under?an(e.under).outerHeight():0,right:0},e.spacer&&(e.under?o.insertAfter(e.under):o.prependTo("body"))):"bottom"===e.position?(i={position:"fixed",bottom:0,left:0,right:0},e.spacer&&o.appendTo("body")):"bottomLeft"===e.position?(i={position:"fixed",bottom:0,left:0},e.spacer&&o.appendTo("body")):"bottomRight"===e.position&&(i={position:"fixed",bottom:0,right:0},e.spacer&&o.appendTo("body"));var n=Wi(t,i);return o.css("height",t.outerHeight()),setTimeout(function(){o.css("height",t.outerHeight())},300),{dockedElement:t,spacer:o,styleState:n}}function se(t){return ji(t.dockedElement,t.styleState),t.spacer.remove(),t.dockedElement.detach()}function le(t,e,i){var o=e.wrap("<div>").parent(),n=Ki(o,e,{"float":"none",display:"block",clear:"none",position:"static",margin:0,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0,padding:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,outline:0,width:"auto",border:"none"}),a=Wi(t,{position:"static"});return o.prepend(t).addClass(i.wrapperClass?i.wrapperClass:""),{dockedElement:t,dockedTo:e,innerStyleState:n,dockedElementStyleState:a}}function ce(t){ji(t.dockedTo,t.innerStyleState),ji(t.dockedElement,t.dockedElementStyleState);var e=t.dockedElement.detach();return t.dockedTo.unwrap(),e}function ue(t,e){return t.children().each(function(){var t=an.map(this.attributes,function(t){return-1===an.inArray(t.name,e)?t.name:void 0}),i=an(this);an.each(t,function(t,e){i.removeAttr(e)}),element.removeAttributes(an(this),e)}),t}function pe(t){var e=1;t.siblings().each(function(){var t=an(this).css("z-index");!isNaN(t)&&t>e&&(e=t+1)}),t.css("z-index",e)}function de(t){return t.clone().wrap("<div/>").parent().html()}function he(t){return t.clone().wrap("<div/>").parent().text()}function Ae(t){return"block"===me(t.tagName)}function ge(t){var e=!1;return t.contents().each(function(){return!R(this)&&Ae(this)?void(e=!0):void 0}),e}function me(t){var e,i=document.createElement(t),o="getComputedStyle"in window;return document.body.appendChild(i),e=(o?window.getComputedStyle(i,""):i.currentStyle).display,document.body.removeChild(i),e}function fe(t,e){return-1!==an.inArray(an(t)[0].tagName.toLowerCase(),e)}function be(t,e,i){var o=t.parentNode;return o[0]===i[0]?t:fe(o,e)?t:be(o,e,i)}function ve(t){t=an(t);var e={top:Math.round(t.offset().top),left:Math.round(t.offset().left),width:Math.round(t.outerWidth()),height:Math.round(t.outerHeight())},i=an(window).scrollTop(),o=an(window).height(),n=i+o,a=Math.round(e.height+e.top);return i<e.top&&n>a?e:(i>e.top&&(e.top=i),e.height=a>n?n-e.top:o-(n-a),e)}function ye(t){for(var e=an(t).get(0).attributes,i={},o=0,n=e.length;n>o;o++)i[e[o].name]=e[o].value;return i}function Ce(t){for(var e={},i=window.getComputedStyle(t[0],null),o=0;o<i.length;o++)e[i.item(o)]=i.getPropertyValue(i.item(o));return e}function we(t,e){var i=new jQuery;oi();for(var o=0,n=t.length;n>o;o++){var a=an("<"+e+"/>").html(an(t[o]).html());t.html(a),i.push(a[0])}return ni(),i}function xe(t,e){an.each(e,function(e,i){an(t).css(e)===i?an(t).css(e,""):an(t).css(e,i)})}function Ee(t,e,i){for(var o in i)t.css(o,e.css(o)),e.css(o,i[o])}function Be(t){return t.is("img")||t.find("img").length?!1:/ /.test(t.html())?!1:""===t.text()}function ke(t,e){var i=an(e).offset(),o=an(e).outerHeight();an(t).css({top:i.top+o-an(window).scrollTop()+"px",left:i.left+"px"})}function Te(t,e){var i=an(t).parent();an(t).detach(),e(t),i.append(t)}function Se(t,e){for(;t.length>0&&t[0]!==e[0]&&(t[0].nodeType===Node.TEXT_NODE||"inline"===t.css("display"));)t=t.parent();return t[0]===e[0]?null:t}function Re(){for(var t="ruid-"+(new Date).getTime()+"-"+Math.floor(1e5*Math.random());an("#"+t).length;)t="ruid-"+(new Date).getTime()+"-"+Math.floor(1e5*Math.random());return t}function Ie(t,e){for(var i=[],o=t.length-1;o>=0;o--){var n=document.createElement(e);n.innerHTML=t[o].innerHTML,an.each(t[o].attributes,function(){an(n).attr(this.name,this.value)}),an(t[o]).after(n).remove(),i[o]=n}return an(i)}function De(t,e){if(t.outerHeight()>e.outerHeight()-20){var i=ve(e),o=e.offset();t.css({position:"absolute",top:o.top-t.outerHeight(),left:i.left+(i.width/2-t.outerWidth()/2)})}else{var i=ve(e);t.css({position:"absolute",top:i.top+(i.height/2-t.outerHeight()/2),left:i.left+(i.width/2-t.outerWidth()/2)})}}function Ue(t,e){for(var i="",o=0,n=t.childNodes.length;n>o;o++){var a=t.childNodes.item(o),r=a.nodeType===Node.TEXT_NODE?a.nodeValue:de(an(a));r&&(i+=r)}return e&&(i=an("<"+e+">"+i+"</"+e+">"),i.find("p").wrapInner("<"+e+"/>"),i.find("p > *").unwrap(),i=an("<div/>").html(i).html()),i}function Fe(t,e,i){for(var o=0,n=t.childNodes.length;n>o;o++){var a=t.childNodes.item(o),r=a.nodeType===Node.TEXT_NODE?a.nodeValue:an(a).html();r&&an("<"+i+"/>").html(an.trim(r)).insertBefore(e)}}function Me(t){for(;t.nodeType===Node.TEXT_NODE;)t=t.parentNode;return t}function Pe(t){for(var e=[],i=/^\s*$/,o=0,n=t.childNodes.length;n>o;o++)t.childNodes[o].nodeType==Node.TEXT_NODE&&(i.test(t.childNodes[o].nodeValue)||e.push(t.childNodes[o]));return e}function Ne(t,e){for(var i=t.parentNode;null!=i;){if(i==e)return!0;i=i.parentNode}return!1}function A(t,e){if(localStorage){var i;i=localStorage.raptor?JSON.parse(localStorage.raptor):{},i[t]=e,localStorage.raptor=JSON.stringify(i)}}function g(t){if(localStorage){var e;return e=localStorage.raptor?JSON.parse(localStorage.raptor):{},e[t]}}function Qe(t){t.setStartBefore(t.startContainer),t.setEndAfter(t.endContainer)}function Le(t,e){t.selectNode(an(e)[0])}function Oe(t,e){t.selectNodeContents(an(e).get(0))}function Ge(t,e){do{Qe(t);for(var i=0,o=e.length;o>i;i++)if(an(t.commonAncestorContainer).is(e[i]))return}while(t.commonAncestorContainer)}function ze(t,e){var i=[],o=an("<div/>").append(e)[0].childNodes;return t.deleteContents(),void 0===o.length||1===o.length?t.insertNode(o[0].cloneNode(!0)):an.each(o,function(e,o){i.unshift(o.cloneNode(!0)),t.insertNodeAtEnd(i[0])}),i}function He(t){var e=ei(t);return"string"==typeof e&&(e=e.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1")),Ji(e)}function Ve(t){return Me(t.startContainer)}function Ze(t){return Me(t.endContainer)}function Ye(t){return Me(t.commonAncestorContainer)}function Je(t){return t.startOffset===t.endOffset&&t.startContainer===t.endContainer}function We(t,e){var i=t.cloneRange();return i.selectNodeContents(e),i.containsRange(t)}function Ke(t,e){return t.containsNode(e)}function je(t,e){return t.containsNodeText(e)}function Xe(t){if(t.startContainer.data)for(;/\s/.test(t.startContainer.data.substr(t.startOffset,1));)t.setStart(t.startContainer,t.startOffset+1);if(t.endContainer.data)for(;t.endOffset>0&&/\s/.test(t.endContainer.data.substr(t.endOffset-1,1));)t.setEnd(t.endContainer,t.endOffset-1)}function qe(t,e){return rangy.serializeRange(t,!0,e)}function _e(t,e){for(var i=t.split("|"),o=[],n=0,a=i.length;a>n;n++)o[n]=rangy.deserializeRange(i[n],e);return o}function $e(t,e,i,o){var n=Ye(t);fe(n,o)||(n=be(n,o,i));var a=rangy.createRange();a.setStartBefore(n),a.setEnd(t.startContainer,t.startOffset);var r=a.cloneContents(),s=rangy.createRange();s.setStart(t.endContainer,t.endOffset),s.setEndAfter(n);var l=s.cloneContents(),c=de(an(Ue(r)));return c+=de(an(e).attr("data-replacement",!0)),c+=de(an(Ue(l))),c=an(c),an(n).replaceWith(c),c=c.parent().find("[data-replacement]").removeAttr("data-replacement"),c.prev().is(n.tagName.toLowerCase())&&!c.prev().html().trim()&&c.prev().remove(),c.next().is(n.tagName.toLowerCase())&&!c.next().html().trim()&&c.next().remove(),c}function ti(t,e,i,o){var n=Me(t.startContainer),a=Me(t.endContainer),r=Ye(t),s=fe(r,o),l=fe(n,o),c=fe(a,o);return s&&l&&c?ze(t,e):$e(t,e,i,o)}function ei(t){return Ue(t.cloneContents())}function ii(){var t=rangy.getSelection();return t.rangeCount>0?t.getRangeAt(0):null}function oi(t){(!nn||t)&&(nn=rangy.saveSelection())}function ni(){nn&&(rangy.restoreSelection(nn),nn=!1)}function ai(){nn&&rangy.removeMarkers(nn),nn=!1}function ri(){return nn!==!1}function si(t,e,i){e=e||rangy.getSelection();for(var o,n=0;o=e.getAllRanges()[n++];)t.call(i,o)}function li(t){rangy.getSelection().setSingleRange(t)}function ci(t,e){var i=[];return si(function(e){i=i.concat(ze(e,t))},e,this),i}function ui(t,e){e=e||rangy.getSelection();var i=rangy.createRange();i.selectNodeContents(t),e.setSingleRange(i)}function pi(t){var e=rangy.createRange();e.selectNode(t),rangy.getSelection().setSingleRange(e)}function di(t,e,i){e=e||rangy.getSelection(),e.removeAllRanges(),an(t).each(function(){var t=rangy.createRange();t.selectNodeContents(this),t.collapse(i),e.addRange(t)})}function hi(t,e){di(t,e,!1)}function Ai(t,e){di(t,e,!0)}function gi(t,e){e=e||rangy.getSelection();var i=Ti();e.removeAllRanges(),i.setEndAfter(t.get(0)),e.addRange(i)}function mi(t){return t=t||rangy.getSelection(),t.toHtml()}function fi(t,e){if(e=e||rangy.getSelection(),!ki())return new jQuery;var i,t=Ti();return i=t.commonAncestorContainer.nodeType===Node.TEXT_NODE?t.commonAncestorContainer.parentNode:t.commonAncestorContainer,an(i)}function bi(t){var e=new jQuery;return si(function(t){e.push(fi(t)[0])},t,this),e}function vi(){var t=rangy.getSelection();return null===t.anchorNode?null:t.isBackwards()?an(t.focusNode.nodeType===Node.TEXT_NODE?t.focusNode.parentElement:t.focusNode):(t.anchorNode||console.trace(),an(t.anchorNode.nodeType===Node.TEXT_NODE?t.anchorNode.parentElement:t.anchorNode))}function yi(){var t=rangy.getSelection();return null===t.anchorNode?null:an(t.isBackwards()?t.anchorNode.nodeType===Node.TEXT_NODE?t.anchorNode.parentElement:t.anchorNode:t.focusNode.nodeType===Node.TEXT_NODE?t.focusNode.parentElement:t.focusNode)}function Ci(){var t=rangy.getSelection(),e=t.isBackwards()?t.anchorNode:t.focusNode,i=t.isBackwards()?t.focusOffset:t.anchorOffset;if(i!==e.textContent.length)return!1;var o=e.nextSibling;return o&&""!==an(o).html()?!1:!0}function wi(){var t=rangy.getSelection(),e=t.isBackwards()?t.focusNode:t.anchorNode;if(t.isBackwards()?t.focusOffset:0!==t.anchorOffset)return!1;var i=e.previousSibling;return i&&""!==an(i).html()?!1:!0}function xi(){return""===rangy.getSelection().toHtml()}function Ei(t,e){e=e||{};var i=rangy.createCssClassApplier(e.classes||"",{normalize:!0,elementTagName:t,elementProperties:e.attributes||{}});si(function(o){if(He(o)){var n=an("<"+t+"/>").addClass(e.classes).attr(e.attributes||{}).append(Ue(o.cloneContents()));ze(o,n)}else i.toggleRange(o)},null,this)}function Bi(t,e,i){si(function(o){var n=fi(o);n.is(t)?n.attr(e):Ei(t,{classes:i,attributes:e})},null,this)}function ki(){return 0!==rangy.getSelection().rangeCount}function Ti(){return rangy.getSelection().getRangeAt(0)}function Si(t,e){e=e||rangy.getSelection();var i=i(),o=bi()[0],n=rangy.createRange();n.setStartBefore(o),n.setEnd(i.startContainer,i.startOffset);var a=n.cloneContents(),r=rangy.createRange();r.setStart(i.endContainer,i.endOffset),r.setEndAfter(o);var s=r.cloneContents(),l=de(an(Ue(a)));return l+=de(an(t).attr("data-replacement",!0)),l+=de(an(Ue(s))),l=an(l),an(o).replaceWith(l),l.parent().find("[data-replacement]").removeAttr("data-replacement")}function Ri(t,e,i){if(i=i||rangy.getSelection(),ki()){var o=vi()[0],n=yi()[0],a=bi()[0],r=fe(a,e),s=fe(o,e),l=fe(n,e);return r&&s&&l?ci(t):Si(t,i)}}function Ii(t,e){si(function(i){for(var o=an(i.commonAncestorContainer);o.length&&o[0]!==e[0]&&(o[0].nodeType===Node.TEXT_NODE||"inline"===o.css("display"));)o=o.parent();o[0]===e[0]&&"inline"!==e.css("display")&&(we(e,"div"),o=e.children().first()),xe(o,t)},null,this)}function Di(t,e,i){si(function(o){var n,a=Se(an(o.startContainer),e),r=Se(an(o.endContainer),e);if(a&&r){a.is(r)?n=a:a&&r&&(n=a.nextUntil(r).andSelf().add(r));for(var s=0,l=n.length;l>s;s++)t(n[s])}else t(we(e,i).get(0))})}function Ui(t,e,i,o){var n=!1,a=new jQuery;Di(function(e){if(a.push(e),!n)for(var i=0,o=t.length;o>i;i++)an(e).hasClass(t[i])||(n=!0)},i,o),an(a).removeClass(e.join(" ")),n?an(a).addClass(t.join(" ")):an(a).removeClass(t.join(" "))}function Fi(t,e){e=e||rangy.getSelection();for(var i=e.getAllRanges(),o=[],n=0,a=i.length;a>n;n++){var r=i[n].cloneRange();i[n].startContainer===t||Ne(i[n].startContainer,t)||r.setStart(t,0),i[n].endContainer===t||Ne(i[n].endContainer,t)||r.setEnd(t,t.childNodes.length),o.push(r)}e.setRanges(o)}function Mi(t,e){if(t=t||document.body,e=e||rangy.getSelection(),ki()){var i=Ti().cloneRange(),o=i.extractContents();""===Ue(o)&&(Oe(i,i.commonAncestorContainer),e.setSingleRange(i),o=i.extractContents()),o=an("<div/>").append(Ue(o)).html().replace(/(<\/?.*?>)/gi,function(t){return null!==t.match(/^<(img|object|param|embed|iframe)/)?t:""});for(var n=i.commonAncestorContainer;n&&n.parentNode!==t;)n=n.parentNode;if(n){i.setEndAfter(n);var a=i.extractContents();i.collapseAfter(n),i.insertNode(a),i.collapseAfter(n)}o=an.parseHTML(o),null!==o&&an(o.reverse()).each(function(){return an(this).is("img")?void i.insertNode(an(this).removeAttr("width height class style").get(0)):void i.insertNode(this)})}}function Pi(t,e,i,o){oi();var n="domTools"+Math.ceil(1e7*Math.random());si(function(t){var a=rangy.createCssClassApplier(o,{elementTagName:i});a.isAppliedToRange(t)?a.toggleSelection():rangy.createCssClassApplier(e,{elementTagName:n}).toggleSelection()},null,this),an(n).each(function(){an(this).replaceWith(an("<"+t+"/>").addClass(e).html(an(this).html()))}),ni()}function Ni(){var t=window.getSelection(),e=t.getRangeAt(0);if(e&&e.startContainer===e.endContainer&&e.startOffset===e.endOffset){for(var i=e.startOffset,o=e.startOffset;e.startContainer.data[i-1]&&!e.startContainer.data[i-1].match(/\s/);)i--;for(;e.startContainer.data[o]&&!e.startContainer.data[o].match(/\s/);)o++;e.setStart(e.startContainer,i),e.setEnd(e.startContainer,o),t.removeAllRanges(),t.addRange(e)}}function Qi(t,e,i){for(var o=rangy.getSelection().getAllRanges(),n=0,a=o.length;a>n;n++){var r=an(Me(o[n].startContainer));(i||!r.is(t)&&!r.is(e))&&(r=r.parentsUntil(e,t)),r=i?r.last():r.first(),1!==r.length||r.is(e)||o[n].setStart(r[0],0),r=an(Me(o[n].endContainer)),(i||!r.is(t)&&!r.is(e))&&(r=r.parentsUntil(e,t)),r=i?r.last():r.first(),1!==r.length||r.is(e)||o[n].setEnd(r[0],r[0].childNodes.length)}rangy.getSelection().setRanges(o)}function Li(){if(ki()){var t=Ti();Xe(t),li(t)}}function Oi(t,e){var i=new jQuery;return si(function(o){for(var n=o.startContainer;n.nodeType===Node.TEXT_NODE;)n=n.parentNode;for(var a=o.endContainer;a.nodeType===Node.TEXT_NODE;)a=a.parentNode;var r=function(){e.is(this)||i.push(this)};do{if(an(n).filter(t).each(r),e.is(n)||0!==i.length||an(n).parentsUntil(e,t).each(r),an(n).find(t).each(r),an(a).is(n))break;n=an(n).next()}while(n.length>0&&0===an(n).prevAll().has(a).length)}),i}function Gi(t,e,i){var o=Oi(e.join(","),i);if(o.length)oi(),Ie(o,t),ni();else{var n=i.get(0);n.innerHTML.trim()?(oi(),n.innerHTML="<"+t+">"+n.innerHTML+"</"+t+">",ni()):(n.innerHTML="<"+t+"> </"+t+">",ui(n.childNodes[0]))}}function zi(t,e){var i=!0;return si(function(o){var n=an(o.commonAncestorContainer).find("*");0!==an(o.commonAncestorContainer).parentsUntil(e,t).length||0!==n.length&&n.length===n.filter(t).length||(i=!1)}),i}function Hi(t){t=t||rangy.getSelection(),t.deleteFromDocument()}function Vi(t){var e=ii();return{element:t.clone(!0),ranges:e?qe(e,t.get(0)):null}}function Zi(t,e){t.replaceWith(e.element);var i=null;try{e.ranges&&(i=_e(e.ranges,e.element.get(0)))}catch(o){}return{element:e.element,ranges:i}}function Yi(t,e){allowed=[];for(var i=0;i<e.length;i++)e[i].match(/[a-z][a-z0-9]{0,}/g)&&allowed.push(e[i]);var o=/<\/?([a-z][a-z0-9]*)\b[^>]*\/?>/gi,n=/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi;return t.replace(n,"").replace(o,function(t,e){return allowed.indexOf(e.toLowerCase())>-1?t:""})}function Ji(t){return an(an.parseHTML(t)).is(":empty")}function Wi(t,e){var i=t.get(0),o={};for(var n in e)o[n]=i.style[n];for(n in e)t.css(n,e[n]);return o}function Ki(t,e,i){var o=e.get(0),n={};for(var a in i)n[a]=o.style[a];for(a in i)t.css(a,e.css(a)),e.css(a,i[a]);return n}function ji(t,e){for(var i in e)t.css(i,e[i]||"")}function Xi(t,e,i){i=i||{};for(var o=document.createElement("table");e--;)for(var n=o.insertRow(0),a=0;t>a;a++){var r=n.insertCell(0);i.placeHolder&&(r.innerHTML=i.placeHolder)}return o}function qi(t,e,i){return resizeTable(t,0,0,1,e,i||{})}function _i(t,e){resizeTable(t,0,0,-1,e)}function $i(t,e,i){var o=new GoogTable(t);return o.insertRow(e,i)}function to(t,e){resizeTable(t,-1,e,0,0)}function eo(t){for(var e,i,o,n,a=[],r=t.parentNode.parentNode.parentNode.tBodies[0].rows,s=0;s<r.length;s++){i=r[s].sectionRowIndex,i=s;for(var l=0;l<r[s].cells.length;l++){for(e=l;a[i]&&a[i][e];)e++;for(o=e;o<e+(r[s].cells[l].colSpan||1);++o)for(n=i;n<i+(r[s].cells[l].rowSpan||1);++n)a[n]||(a[n]=[]),a[n][o]=!0;if(t===r[s].cells[l])return{x:e,y:i}}}}function io(t,e){for(var i=t.tBodies[0].rows,o=0;o<i.length;o++)for(var n=0;n<i[o].cells.length;n++){var a=eo(i[o].cells[n]);if(a.x===e.x&&a.y===e.y)return i[o].cells[n]}return null}function oo(t,e,i){for(var o=Math.min(e.x,i.x),n=o,a=Math.min(e.y,i.y),r=Math.max(e.x,i.x),s=Math.max(e.y,i.y),l=[];s>=a;){for(;r>=n;){var c=io(t,{x:n,y:a});null!==c&&l.push(c),n++}n=o,a++}return l}function no(){}function ao(t,e,i,o,n){var a=new GoogTable(t);a.mergeCells(e,i,o,n)}function ro(){}function so(t,e,i){var o=new GoogTable(t);o.splitCell(e,i)}function lo(t){for(var e=0,i=t.rows.length;i>e;e++)if(t.rows[e].cells.length>0)return!1;return!0}function co(t){return t instanceof rangy.WrappedRange}function uo(t){return t instanceof rangy.WrappedSelection}function po(){if(void 0===rn){rn=!0,sn=/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent),sn&&(an("html").addClass("raptor-ios"),sn&&an(document).on("scroll",function(){setInterval(function(){an("body").css("height","+=1").css("height","-=1")},0)})),cn=/Firefox/i.test(navigator.userAgent),cn&&an("html").addClass("raptor-ff");var t=function(){var t=-1;return-1!=navigator.appVersion.indexOf("MSIE")&&(t=parseFloat(navigator.appVersion.split("MSIE")[1])),t}();un=-1!==t,un&&9>t&&(rn=!1,an(function(){var t=an("<div/>").addClass("raptor-unsupported").html('<div class="raptor-unsupported-overlay"></div><div class="raptor-unsupported-content"> It has been detected that you a using a browser that is not supported by Raptor, please use one of the following browsers: <ul> <li><a href="http://www.google.com/chrome">Google Chrome</a></li> <li><a href="http://www.firefox.com">Mozilla Firefox</a></li> <li><a href="http://windows.microsoft.com/ie">Internet Explorer</a></li> </ul> <div class="raptor-unsupported-input"> <button class="raptor-unsupported-close">Close</button> <input name="raptor-unsupported-show" type="checkbox" /> <label>Don\'t show this message again</label> </div><div>').appendTo("body"),e=function(t){var e=1;t.siblings().each(function(){var t=an(this).css("z-index");!isNaN(t)&&t>e&&(e=t+1)}),t.css("z-index",e)};e(t),t.find(".raptor-unsupported-close").click(function(){t.remove()})})),ln=void 0!==jQuery.hotkeys}return rn}function ho(t){this.name=t}function Ao(t,e){this.name=t;for(var i in e)this[i]=e[i]}function go(t,e){this.raptor=t,this.uiOrder=e}function mo(){ho.call(this,"toolbar"),this.wrapper=null}function fo(){ho.call(this,"hoverPanel"),this.hoverPanel=null,this.visible=!1}function bo(){ho.call(this,"elementHoverPanel"),this.elements="img",this.hoverPanel=null,this.visible=!1,this.target=null,this.enabled=!0}function vo(t){this.text=!1,this.label=null,this.icon=null,this.hotkey=null;for(var e in t)this[e]=t[e]}function yo(t){this.previewing=!1,this.previewTimer=null,this.options={preview:!0,previewTimeout:500},vo.call(this,t)}function Co(t){this.disable=!1,vo.call(this,t)}function wo(t){yo.call(this,t)}function xo(t){vo.call(this,t)}function Eo(t){wo.call(this,t)}function Bo(t){this.state=null,vo.call(this,t)}function ko(t){Bo.call(this,t),Co.call(this,t)}function To(t,e){this.menu=t,this.name=t.name,this.raptor=t.raptor,this.options=t.options,vo.call(this,e)}function So(t){this.menu=null,this.menuContent="",this.button=null;for(var e in t)this[e]=t[e]}function Ro(t){So.call(this,t)}function Io(){Ro.call(this,{name:"classMenu"})}function Do(){this.options={colors:{white:"#ffffff",black:"#000000",grey:"#999",blue:"#4f81bd",red:"#c0504d",green:"#9bbb59",purple:"#8064a2",orange:"#f79646"}},this.currentColor="automatic",Ro.call(this,{name:"colorMenuBasic"})}function Uo(t,e){this.options={dockToElement:!1,docked:!1,position:"top",spacer:!0,persist:!0,dockTo:null},this.dockState=!1,this.marker=!1,Ao.call(this,t||"dock",e)}function Fo(t){this.raptor=t,this.label=a("linkTypeDocumentLabel")}function Mo(t){this.raptor=t,this.label=a("linkTypeEmailLabel")}function Po(t){this.raptor=t,this.label=a("linkTypeExternalLabel")}function No(t){this.raptor=t,this.label=a("linkTypeInternalLabel")}function Qo(t,e){Ao.call(this,t||"noBreak",e)}function Lo(t,e){Ao.call(this,t||"normaliseLineBreaks",e)}function Oo(t,e){this.options={allowedTags:["h1","h2","h3","h4","h5","h6","ul","ol","li","blockquote","p","a","span","hr","br","strong","em","table","tr","td","th","tbody","thead","tfoot"],allowedAttributes:["href","title","colspan","rowspan"],allowedEmptyTags:["hr","br","td","th"],panels:["formatted-clean","plain-text","formatted-unclean","source"]},Ao.call(this,t||"paste",e)}function Go(t,e){this.options={content:a("placeholderPluginDefaultContent"),tag:"p",select:!0},Ao.call(this,t||"placeholder",e)}function zo(t,e){this.options={retain:!1,checkDirty:!0},Ao.call(this,t||"saveJson",e),this.size=null}function Ho(){Ro.call(this,{name:"snippetMenu"})}function Vo(t){xo.call(this,t)}function Zo(){So.call(this,{name:"tableCreate"})}function Yo(t,e){Ao.call(this,t||"tableSupport",e)}function Jo(){Ro.call(this,{name:"tagMenu"})}function Wo(t){wo.call(this,t)}function Ko(t,e){Ao.call(this,t||"toolTip",e)}function jo(t,e){Ao.call(this,t||"unsavedEditWarning",e)}var Xo=function(t){var e=t.url;t.data&&"POST"!==t.method||t.queryString?(e+="?"+Xo.prepare(t.data),t.data=void 0):"undefined"!=typeof t.data&&(t.data=Xo.prepare(t.data)),Xo.send(e,t.success,t.method||"GET",t.data,t.async,t.headers||{})};Xo.prepare=function(t){var e=[];for(var i in t)e.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return e.join("&")},Xo.send=function(t,e,i,o,n,a){var r=new XMLHttpRequest;r.open(i,t,n),r.onreadystatechange=function(){4==r.readyState&&e(r.responseText,r)},r.setRequestHeader("X-Requested-With","XMLHttpRequest"),"POST"==i&&r.setRequestHeader("Content-type","application/x-www-form-urlencoded");for(var s in a)r.setRequestHeader(s,a[s]);r.send(o)},Xo.get=function(t,e,i,o,n,a){Xo({url:t,data:e,success:i,async:o,headers:n,method:a||"GET"})},Xo.post=function(t,e,i,o,n,a){Xo({url:t,data:e,success:i,async:o,headers:n,method:a||"POST"})};var qo=null,_o="en",$o={},tn={};m.prototype.init=function(){};var en={};jQuery(window).on("beforeunload",b);var on={unsupported:'<div class="{{baseClass}}-unsupported-overlay"></div> <div class="{{baseClass}}-unsupported-content"> It has been detected that you a using a browser that is not supported by Raptor, please use one of the following browsers: <ul> <li><a href="http://www.google.com/chrome">Google Chrome</a></li> <li><a href="http://www.firefox.com">Mozilla Firefox</a></li> <li><a href="http://www.google.com/chromeframe">Internet Explorer with Chrome Frame</a></li> </ul> <div class="{{baseClass}}-unsupported-input"> <button class="{{baseClass}}-unsupported-close">Close</button> <input name="{{baseClass}}-unsupported-show" type="checkbox" /> <label>Don\'t show this message again</label> </div> <div>',"class-menu.item":'<li><a data-value="{{value}}">{{label}}</a></li>',"click-button-to-edit.button":"<button class=\"{{baseClass}}-button\">tr('clickButtonToEditPluginButton')</button>","color-menu-basic.automatic":'<li><a data-color="automatic"><div class="{{baseClass}}-swatch" style="display: none"></div> <span>tr(\'colorMenuBasicAutomatic\')</span></a></li>',"color-menu-basic.item":'<li><a data-color="{{className}}"><div class="{{baseClass}}-swatch" style="background-color: {{color}}"></div> <span>{{label}}</span></a></li>',"embed.dialog":'<div class="{{baseClass}}-panel-tabs ui-tabs ui-widget ui-widget-content ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a>tr(\'embedDialogTabCode\')</a></li> <li class="ui-state-default ui-corner-top"><a>tr(\'embedDialogTabPreview\')</a></li> </ul> <div class="{{baseClass}}-code-tab"> <p>tr(\'embedDialogTabCodeContent\')</p> <textarea></textarea> </div> <div class="{{baseClass}}-preview-tab" style="display: none"> <p>tr(\'embedDialogTabPreviewContent\')</p> <div class="{{baseClass}}-preview"></div> </div> </div>',"image-resize.dialog":'<div class="raptor-resize-image"> <div> <label for="{{baseClass}}-width">tr(\'imageResizeDialogWidth\')</label> <input class="form-text" id="{{baseClass}}-width" name="width" type="text" placeholder="tr(\'imageResizeDialogWidthPlaceHolder\')"/> </div> <div> <label for="{{baseClass}}-height">tr(\'imageResizeDialogHeight\')</label> <input class="form-text" id="{{baseClass}}-height" name="height" type="text" placeholder="tr(\'imageResizeDialogHeightPlaceHolder\')"/> </div> <div class="{{baseClass}}-lock-proportions-container"> <span class="{{baseClass}}-lock-proportions"> <span class="ui-button-text">Constrain proportions</span> <span class="ui-icon ui-icon-locked"></span> </span> </div> </div>',"insert-file.dialog":'<div> <div> <label class="form-label">tr(\'insertFileURLLabel\')</label> <input type="text" name="location" class="form-text" placeholder="tr(\'insertFileURLPlaceHolder\')"/> </div> <div> <label class="form-label">tr(\'insertFileNameLabel\')</label> <input type="text" name="name" class="form-text" placeholder="tr(\'insertFileNamePlaceHolder\')"/> </div> </div>',"link.dialog":'<div style="display:none" class="{{baseClass}}-panel"> <div class="{{baseClass}}-menu"> <p>tr(\'linkCreateDialogMenuHeader\')</p> <fieldset data-menu=""></fieldset> </div> <div class="{{baseClass}}-wrap"> <div class="{{baseClass}}-content" data-content=""></div> </div> </div>',"link.document":'<h2>tr(\'linkTypeDocumentHeader\')</h2> <fieldset> <label for="{{baseClass}}-document-href">tr(\'linkTypeDocumentLocationLabel\')</label> <input id="{{baseClass}}-document-href" value="http://" name="location" class="{{baseClass}}-document-href" type="text" placeholder="tr(\'linkTypeDocumentLocationPlaceHolder\')" /> </fieldset> <h2>tr(\'linkTypeDocumentNewWindowHeader\')</h2> <fieldset> <label for="{{baseClass}}-document-target"> <input id="{{baseClass}}-document-target" name="blank" type="checkbox" /> <span>tr(\'linkTypeDocumentNewWindowLabel\')</span> </label> </fieldset> tr(\'linkTypeDocumentInfo\')',"link.email":'<h2>tr(\'linkTypeEmailHeader\')</h2> <fieldset class="{{baseClass}}-email"> <label for="{{baseClass}}-email">tr(\'linkTypeEmailToLabel\')</label> <input id="{{baseClass}}-email" name="email" type="text" placeholder="tr(\'linkTypeEmailToPlaceHolder\')"/> </fieldset> <fieldset class="{{baseClass}}-email"> <label for="{{baseClass}}-email-subject">tr(\'linkTypeEmailSubjectLabel\')</label> <input id="{{baseClass}}-email-subject" name="subject" type="text" placeholder="tr(\'linkTypeEmailSubjectPlaceHolder\')"/> </fieldset>',"link.error":'<div style="display:none" class="ui-widget {{baseClass}}-error-message {{messageClass}}"> <div class="ui-state-error ui-corner-all"> <p> <span class="ui-icon ui-icon-alert"></span> {{message}} </p> </div> </div>',"link.external":'<h2>tr(\'linkTypeExternalHeader\')</h2> <fieldset> <label for="{{baseClass}}-external-href">tr(\'linkTypeExternalLocationLabel\')</label> <input id="{{baseClass}}-external-href" value="http://" name="location" class="{{baseClass}}-external-href" type="text" placeholder="tr(\'linkTypeExternalLocationPlaceHolder\')" /> </fieldset> <h2>tr(\'linkTypeExternalNewWindowHeader\')</h2> <fieldset> <label for="{{baseClass}}-external-target"> <input id="{{baseClass}}-external-target" name="blank" type="checkbox" /> <span>tr(\'linkTypeExternalNewWindowLabel\')</span> </label> </fieldset> tr(\'linkTypeExternalInfo\')',"link.file-url":'<h2>tr(\'Link to a document or other file\')</h2> <fieldset> <label for="{{baseClass}}-external-href">tr(\'Location\')</label> <input id="{{baseClass}}-external-href" value="http://" name="location" class="{{baseClass}}-external-href" type="text" placeholder="tr(\'Enter your URL\')" /> </fieldset> <h2>tr(\'New window\')</h2> <fieldset> <label for="{{baseClass}}-external-target"> <input id="{{baseClass}}-external-target" name="blank" type="checkbox" /> <span>tr(\'Check this box to have the file open in a new browser window\')</span> </label> </fieldset> <h2>tr(\'Not sure what to put in the box above?\')</h2> <ol> <li>tr(\'Ensure the file has been uploaded to your website\')</li> <li>tr(\'Open the uploaded file in your browser\')</li> <li>tr("Copy the file\'s URL from your browser\'s address bar and paste it into the box above")</li> </ol>',"link.internal":'<h2>tr(\'linkTypeInternalHeader\')</h2> <fieldset> <label for="{{baseClass}}-internal-href">tr(\'linkTypeInternalLocationLabel\') {{domain}}</label> <input id="{{baseClass}}-internal-href" value="" name="location" class="{{baseClass}}-internal-href" type="text" placeholder="tr(\'linkTypeInternalLocationPlaceHolder\')" /> </fieldset> <h2>tr(\'linkTypeInternalNewWindowHeader\')</h2> <fieldset> <label for="{{baseClass}}-internal-target"> <input id="{{baseClass}}-internal-target" name="blank" type="checkbox" /> <span>tr(\'linkTypeInternalNewWindowLabel\')</span> </label> </fieldset> tr(\'linkTypeInternalInfo\')',"link.label":'<label> <input type="radio" name="link-type" autocomplete="off"/> <span>{{label}}</span> </label>',"paste.dialog":'<div class="{{baseClass}}-panel ui-dialog-content ui-widget-content"> <div class="{{baseClass}}-panel-tabs ui-tabs ui-widget ui-widget-content ui-corner-all"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <li class="{{baseClass}}-tab-formatted-clean ui-state-default ui-corner-top ui-state-active ui-tabs-selected" style="display: none"><a>tr(\'pasteDialogFormattedCleaned\')</a></li> <li class="{{baseClass}}-tab-plain-text ui-state-default ui-corner-top" style="display: none"><a>tr(\'pasteDialogPlain\')</a></li> <li class="{{baseClass}}-tab-formatted-unclean ui-state-default ui-corner-top" style="display: none"><a>tr(\'pasteDialogFormattedUnclean\')</a></li> <li class="{{baseClass}}-tab-source ui-state-default ui-corner-top" style="display: none"><a>tr(\'pasteDialogSource\')</a></li> </ul> <div class="{{baseClass}}-tab {{baseClass}}-content-formatted-clean" style="display: none"> <div contenteditable="true" class="{{baseClass}}-area {{baseClass}}-markup"></div> </div> <div class="{{baseClass}}-tab {{baseClass}}-content-plain-text" style="display: none"> <div contenteditable="true" class="{{baseClass}}-area {{baseClass}}-plain"></div> </div> <div class="{{baseClass}}-tab {{baseClass}}-content-formatted-unclean" style="display: none"> <div contenteditable="true" class="{{baseClass}}-area {{baseClass}}-rich"></div> </div> <div class="{{baseClass}}-tab {{baseClass}}-content-source" style="display: none"> <div contenteditable="true" class="{{baseClass}}-area {{baseClass}}-source"></div> </div> </div> </div>',"snippet-menu.item":'<li><a data-name="{{name}}">{{name}}</a></li>',"special-characters.dialog":"<div> tr('specialCharactersHelp') <br/> <ul></ul> </div>","special-characters.tab-button":'<button data-setKey="{{setKey}}" data-charactersIndex="{{charactersIndex}}" title="{{description}}">{{htmlEntity}}</button>',"special-characters.tab-content":'<div id="{{baseClass}}-{{key}}"></div>',"special-characters.tab-li":'<li><a href="#{{baseClass}}-{{key}}">{{name}}</a></li>',"statistics.dialog":'<div> <ul> <li data-name="characters"></li> <li data-name="words"></li> <li data-name="sentences"></li> <li data-name="truncation"></li> </ul> </div>',"table.create-menu":'<table class="{{baseClass}}-menu"> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> </table>',"tag-menu.menu":"<li><a data-value=\"na\">tr('tagMenuTagNA')</a></li> <li><a data-value=\"p\">tr('tagMenuTagP')</a></li> <li><a data-value=\"h1\">tr('tagMenuTagH1')</a></li> <li><a data-value=\"h2\">tr('tagMenuTagH2')</a></li> <li><a data-value=\"h3\">tr('tagMenuTagH3')</a></li> <li><a data-value=\"h4\">tr('tagMenuTagH4')</a></li> <li><a data-value=\"div\">tr('tagMenuTagDiv')</a></li> <li><a data-value=\"pre\">tr('tagMenuTagPre')</a></li> <li><a data-value=\"address\">tr('tagMenuTagAddress')</a></li>","unsaved-edit-warning.warning":'<div class="{{baseClass}} ui-corner-tl"> <span class="ui-icon ui-icon-alert"></span> <span>tr(\'unsavedEditWarningText\')</span> </div>',"view-source.dialog":'<div class="{{baseClass}}-inner-wrapper"> <textarea></textarea> </div>',"lorem-ipsum.lorem-ipsum":"<h1>Sed erat aequius Triarium aliquid de dissensione nostra iudicare.</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si mala non sunt, iacet omnis ratio Peripateticorum. Sic enim censent, oportunitatis esse beate vivere. Cum id fugiunt, re eadem defendunt, quae Peripatetici, verba. <i>Istam voluptatem, inquit, Epicurus ignorat?</i> Ita fit cum gravior, tum etiam splendidior oratio. Expectoque quid ad id, quod quaerebam, respondeas. Maximas vero virtutes iacere omnis necesse est voluptate dominante. Duo Reges: constructio interrete. <a href='http://loripsum.net/' target='_blank'>Erat enim res aperta.</a> </p> <p>Cum id fugiunt, re eadem defendunt, quae Peripatetici, verba. Hic ambiguo ludimur. Quae quidem sapientes sequuntur duce natura tamquam videntes; Dic in quovis conventu te omnia facere, ne doleas. ALIO MODO. Qui enim existimabit posse se miserum esse beatus non erit. Haec bene dicuntur, nec ego repugno, sed inter sese ipsa pugnant. Nec lapathi suavitatem acupenseri Galloni Laelius anteponebat, sed suavitatem ipsam neglegebat; Hoc est non dividere, sed frangere. Potius ergo illa dicantur: turpe esse, viri non esse debilitari dolore, frangi, succumbere. <a href='http://loripsum.net/' target='_blank'>Quod vestri non item.</a> Quid est enim aliud esse versutum? </p> <h2>Profectus in exilium Tubulus statim nec respondere ausus;</h2> <p>Atque hoc loco similitudines eas, quibus illi uti solent, dissimillimas proferebas. Quae contraria sunt his, malane? <code>Eam tum adesse, cum dolor omnis absit;</code> Efficiens dici potest. Erat enim res aperta. <a href='http://loripsum.net/' target='_blank'>Traditur, inquit, ab Epicuro ratio neglegendi doloris.</a> Nonne videmus quanta perturbatio rerum omnium consequatur, quanta confusio? </p> <ol> <li>Ergo, si semel tristior effectus est, hilara vita amissa est?</li> <li>An vero displicuit ea, quae tributa est animi virtutibus tanta praestantia?</li> <li>Illa tamen simplicia, vestra versuta.</li> </ol> <ul> <li>Vide, quantum, inquam, fallare, Torquate.</li> <li>Ratio quidem vestra sic cogit.</li> <li>Atque hoc loco similitudines eas, quibus illi uti solent, dissimillimas proferebas.</li> <li>Istam voluptatem, inquit, Epicurus ignorat?</li> </ul> <h3>Dici enim nihil potest verius.</h3> <p>Et non ex maxima parte de tota iudicabis? Non minor, inquit, voluptas percipitur ex vilissimis rebus quam ex pretiosissimis. Omnes enim iucundum motum, quo sensus hilaretur. Varietates autem iniurasque fortunae facile veteres philosophorum praeceptis instituta vita superabat. Est enim tanti philosophi tamque nobilis audacter sua decreta defendere. Et ille ridens: Video, inquit, quid agas; At enim hic etiam dolore. Deinde disputat, quod cuiusque generis animantium statui deceat extremum. Beatus autem esse in maximarum rerum timore nemo potest. Rationis enim perfectio est virtus; Nemo igitur esse beatus potest. Hoc enim constituto in philosophia constituta sunt omnia. </p> <dl> <dt><dfn>Immo videri fortasse.</dfn></dt> <dd>Graecis hoc modicum est: Leonidas, Epaminondas, tres aliqui aut quattuor;</dd> <dt><dfn>Tubulo putas dicere?</dfn></dt> <dd>Honesta oratio, Socratica, Platonis etiam.</dd> <dt><dfn>Praeteritis, inquit, gaudeo.</dfn></dt> <dd>Et quidem saepe quaerimus verbum Latinum par Graeco et quod idem valeat;</dd> <dt><dfn>Scaevolam M.</dfn></dt> <dd>Cum autem venissemus in Academiae non sine causa nobilitata spatia, solitudo erat ea, quam volueramus.</dd> </dl> <h4>In schola desinis.</h4> <p>Tuo vero id quidem, inquam, arbitratu. <b>At, si voluptas esset bonum, desideraret.</b> Duo enim genera quae erant, fecit tria. Obsecro, inquit, Torquate, haec dicit Epicurus? </p> <blockquote cite='http://loripsum.net'> Atque haec contra Aristippum, qui eam voluptatem non modo summam, sed solam etiam ducit, quam omnes unam appellamus voluptatem. </blockquote> <pre> Idem fecisset Epicurus, si sententiam hanc, quae nunc Hieronymi est, coniunxisset cum Aristippi vetere sententia. Aut haec tibi, Torquate, sunt vituperanda aut patrocinium voluptatis repudiandum. </pre>","revisions.apply-dialog":"<div class=\"{{baseClass}}-apply-dialog\">tr('revisionsApplyDialogContent')</div>","revisions.dialog":'<div class="{{baseClass}}-inner-wrapper"></div>',"revisions.diff-dialog":'<div class="{{baseClass}}-diff"></div>',"revisions.table":'<table class="{{baseClass}}-table"> <thead> <tr> <th class="ui-widget-header">tr(\'revisionsCreated\')</th> <th class="ui-widget-header"></th> </thead> <tbody></tbody> </table>',"revisions.tr":'<tr> <td class="{{baseClass}}-updated"></td> <td class="{{baseClass}}-controls"></td> </tr>'};
e("en","English",{alignCenterTitle:"Align text center",alignJustifyTitle:"Align text justify",alignLeftTitle:"Align text left",alignRightTitle:"Align text right",cancelDialogCancelButton:"Continue Editing",cancelDialogContent:"Are you sure you want to cancel editing? All changes will be lost!",cancelDialogOKButton:"Cancel Editing",cancelDialogTitle:"Cancel Editing",cancelTitle:"Cancel editing",classMenuTitle:"Style picker",cleanBlockTitle:"Clean block",clearFormattingTitle:"Clear formatting",clickButtonToEditText:"Edit",clickButtonToEditTitle:null,closeTitle:"Close this toolbar",colorMenuBasicAutomatic:"Automatic",colorMenuBasicBlack:"Black",colorMenuBasicBlue:"Blue",colorMenuBasicGreen:"Green",colorMenuBasicGrey:"Grey",colorMenuBasicOrange:"Orange",colorMenuBasicPurple:"Purple",colorMenuBasicRed:"Red",colorMenuBasicTitle:"Change text color",colorMenuBasicWhite:"White",dockToElementTitle:"Dock/undock editor to element",dockToScreenTitle:"Dock/undock editor to screen",embedTitle:"Embed object",embedDialogTitle:"Embed Object",embedDialogTabCode:"Embed Code",embedDialogTabCodeContent:"Paste your embed code into the text area below:",embedDialogTabPreview:"Preview",embedDialogTabPreviewContent:"A preview of your embedded object is displayed below:",embedDialogOKButton:"Embed Object",embedDialogCancelButton:"Cancel",errorUINoName:'UI "{{ui}}" is invalid (must have a name property)',errorUINotObject:'UI "{{ui}}" is invalid (must be an object)',errorUIOverride:'UI "{{name}}" has already been registered, and will be overwritten',editPageDialogTitle:"Edit Page",editPageDialogOKButton:"Save",editPageDialogCancelButton:"Cancel",floatLeftTitle:"Align image to the left",floatNoneTitle:"Remove image align",floatRightTitle:"Align image to the right",fontFamilyMenuTitle:"Choose your font",fontFamilyMenuFontDefault:"Default Font",fontFamilyMenuFontArial:"Arial",fontFamilyMenuFontPalatino:"Palatino",fontFamilyMenuFontGeorgia:"Georgia",fontFamilyMenuFontTimes:"Times New Roman",fontFamilyMenuFontComicSans:"Comic Sans",fontFamilyMenuFontImpact:"Impact",fontFamilyMenuFontCourier:"Courier New",guidesTitle:"Show element guides",historyRedoTitle:"Redo",historyUndoTitle:"Undo",hrCreateTitle:"Insert Horizontal Rule",imageResizeDialogWidth:"Image width",imageResizeDialogHeight:"Image height",imageResizeDialogWidthPlaceHolder:"Width",imageResizeDialogHeightPlaceHolder:"Height",imageResizeDialogTitle:"Resize Image",imageResizeDialogOKButton:"Resize",imageResizeDialogCancelButton:"Cancel",imageResizeTitle:"Resize this image",insertFileTitle:"Insert file",insertFileDialogTitle:"Insert file",insertFileDialogOKButton:"Insert file",insertFileDialogCancelButton:"Cancel",insertFileURLLabel:"File URL",insertFileNameLabel:"File Name",insertFileURLPlaceHolder:"File URL...",insertFileNamePlaceHolder:"File Name...",languageMenuTitle:"Change Language",loremIpsumTitle:"Insert dummy text for testing",listOrderedTitle:"Ordered list",listUnorderedTitle:"Unordered list",linkCreateTitle:"Insert Link",linkRemoveTitle:"Remove Link",linkCreateDialogTitle:"Insert Link",linkCreateDialogOKButton:"Insert Link",linkCreateDialogCancelButton:"Cancel",linkCreateDialogMenuHeader:"Choose a link type",linkTypeEmailLabel:"Email address",linkTypeEmailHeader:"Link to an email address",linkTypeEmailToLabel:"Email:",linkTypeEmailToPlaceHolder:"Enter email address",linkTypeEmailSubjectLabel:"Subject (optional):",linkTypeEmailSubjectPlaceHolder:"Enter subject",linkTypeExternalLabel:"Page on another website",linkTypeExternalHeader:"Link to a page on another website",linkTypeExternalLocationLabel:"Location:",linkTypeExternalLocationPlaceHolder:"Enter a URL",linkTypeExternalNewWindowHeader:"New window",linkTypeExternalNewWindowLabel:"Check this box to have the link open in a new browser window/tab.",linkTypeExternalInfo:"<h2>Not sure what to put in the box above?</h2><ol> <li>Find the page on the web you want to link to.</li> <li>Copy the web address from your browser's address bar and paste it into the box above.</li></ol>",linkTypeDocumentLabel:"Document or other file",linkTypeDocumentHeader:"Link to a document or other file",linkTypeDocumentLocationLabel:"Location:",linkTypeDocumentLocationPlaceHolder:"Enter a URL",linkTypeDocumentNewWindowHeader:"New window",linkTypeDocumentNewWindowLabel:"Check this box to have the file open in a new browser window/tab.",linkTypeDocumentInfo:"<h2>Not sure what to put in the box above?</h2><ol> <li>Ensure the file has been uploaded to your website.</li> <li>Open the uploaded file in your browser.</li> <li>Copy the file's URL from your browser's address bar and paste it into the box above.</li></ol>",linkTypeInternalLabel:"Page on this website",linkTypeInternalHeader:"Link to a page on this website",linkTypeInternalLocationLabel:"",linkTypeInternalLocationPlaceHolder:"Enter a URI",linkTypeInternalNewWindowHeader:"New window",linkTypeInternalNewWindowLabel:"Check this box to have the link open in a new browser window/tab.",linkTypeInternalInfo:'<h2>Not sure what to put in the box above?</h2><ol> <li>Find the page on this site link to.</li> <li>Copy the web address from your browser\'s address bar, excluding "{{domain}}" and paste it into the box above.</li></ol>',logoTitle:"Learn More About the Raptor WYSIWYG Editor",navigateAway:"\nThere are unsaved changes on this page. \nIf you navigate away from this page you will lose your unsaved changes",pasteDialogTitle:"Paste",pasteDialogOKButton:"Insert",pasteDialogCancelButton:"Cancel",pasteDialogPlain:"Plain Text",pasteDialogFormattedCleaned:"Formatted & Cleaned",pasteDialogFormattedUnclean:"Formatted Unclean",pasteDialogSource:"Source Code",placeholderPluginDefaultContent:"<br/>",saveTitle:"Save content",saveNotConfigured:"Save has not been configured, or is disabled.",saveJsonFail:"Failed to save {{failed}} content block(s)",saveJsonSaved:"Successfully saved {{saved}} content block(s).",saveRestFail:"Failed to save {{failed}} content block(s).",saveRestPartial:"Saved {{saved}} out of {{failed}} content blocks.",saveRestSaved:"Successfully saved {{saved}} content block(s).",snippetMenuTitle:"Snippets",specialCharactersArrows:"Arrows",specialCharactersDialogOKButton:"OK",specialCharactersDialogTitle:"Insert Special Characters",specialCharactersGreekAlphabet:"Greek Alphabet",specialCharactersHelp:'Click a special character to add it. Click "OK" when done to close this dialog',specialCharactersMathematics:"Mathematics",specialCharactersSymbols:"Symbols",specialCharactersTitle:"Insert a special character",statisticsButtonCharacterOverLimit:"{{charactersRemaining}} characters over limit",statisticsButtonCharacterRemaining:"{{charactersRemaining}} characters remaining",statisticsButtonCharacters:"{{characters}} characters",statisticsDialogCharactersOverLimit:"{{characters}} characters, {{charactersRemaining}} over the recommended limit",statisticsDialogCharactersRemaining:"{{characters}} characters, {{charactersRemaining}} remaining",statisticsDialogNotTruncated:"Content will not be truncated",statisticsDialogOKButton:"Ok",statisticsDialogSentence:"{{sentences}} sentence",statisticsDialogSentences:"{{sentences}} sentences",statisticsDialogTitle:"Content Statistics",statisticsDialogTruncated:"Content contains more than {{limit}} characters and may be truncated",statisticsDialogWord:"{{words}} word",statisticsDialogWords:"{{words}} words",statisticsTitle:"Click to view statistics",imageSwapTitle:"Swap this image",tableCreateTitle:"Create table",tableDeleteColumnTitle:"Delete table column",tableDeleteRowTitle:"Delete table row",tableInsertColumnTitle:"Insert table column",tableInsertRowTitle:"Insert table row",tableMergeCellsTitle:"Merge table cells",tableSplitCellsTitle:"Split table cells",tagMenuTagH1:"Heading 1",tagMenuTagH2:"Heading 2",tagMenuTagH3:"Heading 3",tagMenuTagH4:"Heading 4",tagMenuTagNA:"N/A",tagMenuTagP:"Paragraph",tagMenuTagDiv:"Div",tagMenuTagPre:"Pre-formatted",tagMenuTagAddress:"Address",tagMenuTitle:"Change element style",tagTreeElementLink:"Select {{element}} element",tagTreeElementTitle:'Click to select the contents of the "{{element}}" element',tagTreeRoot:"root",tagTreeRootLink:"Select all editable content",tagTreeRootTitle:"Click to select all editable content",textBlockQuoteTitle:"Block quote",textBoldTitle:"Bold",textItalicTitle:"Italic",textStrikeTitle:"Strike through",textSubTitle:"Sub-script",textSuperTitle:"Super-script",textUnderlineTitle:"Underline",textSizeDecreaseTitle:"Decrease text size",textSizeIncreaseTitle:"Increase text size",unsavedEditWarningText:"There are unsaved changes on this page",revisionsText:"Revisions",revisionsTextEmpty:"No Revisions",revisionsTitle:null,revisionsCreated:"Created",revisionsApplyButtonTitle:"Rollback",revisionsApplyButtonText:"Rollback",revisionsAJAXFailed:"Failed to retrieve revisions",revisionsApplyButtonDialogCancelButton:"Cancel",revisionsApplyButtonDialogOKButton:"Rollback",revisionsApplyButtonDialogTitle:"Rollback Confirmation",revisionsApplyDialogContent:"This will replace the current content with the selected revision.<br/>The current content will be added as a revision, and will be visible in the revisions list for this block.",revisionsDialogCancelButton:"Cancel",revisionsDialogTitle:"View content revisions",revisionsButtonCurrent:"Current",revisionsButtonViewDiffText:"Differences",revisionsButtonViewDiffTitle:null,revisionsDiffButtonDialogCancelButton:"Close",revisionsDiffButtonDialogTitle:"View differences",revisionsDiffButtonTitle:"View differences",revisionsDiffButtonText:"View differences",revisionsLoading:"Loading revisions...",revisionsNone:"No revisions for this element",revisionsPreviewButtonTitle:"Preview",revisionsPreviewButtonText:"Preview",fileManagerDialogTitle:"File Manager",fileManagerTitle:"File Manager",rfmClose:"Close",rfmContinue:"Continue",rfmDeleteTitle:"Delete",rfmDownloadTitle:"Download",rfmEditTitle:"Edit",rfmFileActions:"Actions",rfmFileModificationTime:"Modified",rfmFileName:"Name",rfmFileSize:"Size",rfmFileType:"Type",rfmFilteredTotal:"Showing {{start}} to {{end}} of {{filteredTotal}} files",rfmFirst:"First",rfmHeadingDirectories:"Directories",rfmHeadingSearch:"Search",rfmHeadingTags:"Tags",rfmHeadingUpload:"Upload",rfmInsertTitle:"Insert",rfmLast:"Last",rfmRenameTitle:"Rename",rfmSearch:"Go",rfmTagDocument:"Document",rfmTagImage:"Image",rfmTotal:", filtered from {{total}}",rfmUpload:"Upload",rfmUploadBrowse:"Browse",rfmUploadDrop:"Drop Files Here",rfmUploadFileRemove:"Remove",rfmUploadOr:"or",rfmViewTitle:"View",imageEditorDialogCancelButton:"Cancel",imageEditorDialogOKButton:"Save",imageEditorDialogTitle:"Image Editor",imageEditorTitle:"Edit Image",rieApply:"Apply",rieBlurTitle:"Blur",rieBrightnessTitle:"Brightness/Contrast",rieCancel:"Cancel",rieCancelTitle:"Cancel",rieColorAdjustTitle:"Adjust Color",rieCropTitle:"Crop",rieDesaturateTitle:"Desaturate",rieFlipHTitle:"Flip Horizontally",rieFlipVTitle:"Flip Vertically",rieGlowTitle:"Glow",rieHslTitle:"Hue, Saturation, Lightness.",rieInvertTitle:"Invert",riePosterizeTitle:"Posterize",rieRedoTitle:"Redo",rieRemoveNoiseTitle:"Remove Noise",rieResizeTitle:"Resize",rieRevertTitle:"Revert",rieRotateLeftTitle:"Rotate Left",rieRotateRightTitle:"Rotate Right",rieSaveTitle:"Save",rieSaveTitle:"Save",rieSepiaTitle:"Sepia",rieSharpenTitle:"Sharpen",rieSolarizeTitle:"Solarize",rieUndoTitle:"Undo",rieUploadTitle:"Upload",rieActionColorAdjustRed:"Red",rieActionColorAdjustGreen:"Green",rieActionColorAdjustBlue:"Blue",rieActionBrightnessBrightness:"Brightness",rieActionBrightnessContrast:"Contrast",rieActionGlowAmount:"Glow Amount",rieActionGlowRadius:"Glow Radius",rieActionHsl:"Hue",rieActionHsl:"Saturation",rieActionHsl:"Lightness",rieActionPosterize:"Levels",viewSourceDialogCancelButton:"Close",viewSourceDialogOKButton:"Apply source code",viewSourceDialogTitle:"Content source code",viewSourceTitle:"View/edit source code"});var nn=!1,an=jQuery;an(function(){rangy.initialized||rangy.init(),an.isFunction(rangy.rangePrototype.insertNodeAtEnd)||(rangy.rangePrototype.insertNodeAtEnd=function(t){var e=this.cloneRange();e.collapse(!1),e.insertNode(t),e.detach(),this.setEndAfter(t)})}),an("html").click(function(){an(".ui-editor-selectmenu-visible").removeClass("ui-editor-selectmenu-visible")});var rn,sn,ln,cn,un;Object.create||(Object.create=function(t){function e(){}if(arguments.length>1)throw new Error("Object.create implementation only accepts the first parameter.");return e.prototype=t,new e}),"undefined"==typeof Node&&(Node={TEXT_NODE:3}),"".trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")});var pn={globalDefaults:{},defaults:{},enableHotkeys:!0,hotkeys:{},plugins:{},ui:{},layouts:{},presets:{},hoverPanels:{},instances:[],getInstances:function(){return this.instances},eachInstance:function(t){for(var e=0;e<this.instances.length;e++)t.call(this.instances[e],this.instances[e])},urlPrefix:"/raptor/",getTemplate:function(t,e){var i;if(this.templates[t])i=this.templates[t];else{var o=e||this.urlPrefix,n=t.split(".");o+=1===n.length?"templates/"+n[0]+".html":"plugins/"+n[0]+"/templates/"+n.splice(1).join("/")+".html",an.ajax({url:o,type:"GET",async:!1,timeout:15e3,error:function(){i=null},success:function(t){i=t}}),this.templates[t]=i}return i},isDirty:function(){for(var t=this.getInstances(),e=0;e<t.length;e++)if(t[e].isDirty())return!0;return!1},unloadWarning:function(){for(var t=this.getInstances(),e=0;e<t.length;e++)if(t[e].isDirty()&&t[e].isEditing()&&t[e].options.unloadWarning)return a("navigateAway")},registerUi:function(t){this.ui[t.name]=t},registerLayout:function(t){this.layouts[t.name]=t},registerPlugin:function(t){this.plugins[t.name]=t},registerPreset:function(t,e){this.presets[t.name]=t,e&&(this.defaults=t)},persist:function(t,e,i){return t=i?i+"."+t:t,void 0===e?g(t):A(t,e)}},dn=!1,hn={_init:function(){if(!this.element.attr("data-raptor-initialised")){this.element.attr("data-raptor-initialised",!0),-1===an.inArray(this,pn.instances)&&pn.instances.push(this);var t=this,e=this.persist("locale")||this.options.initialLocale;e&&(qo=e);var i=this.options;this.options=this.options.preset?an.extend(!0,{},pn.globalDefaults,pn.presets[this.options.preset],this.options):an.extend(!0,{},pn.globalDefaults,pn.defaults,this.options),i.layouts&&i.layouts.toolbar&&i.layouts.toolbar.uiOrder&&(this.options.layouts.toolbar.uiOrder=i.layouts.toolbar.uiOrder),this.element.attr("id")||this.element.attr("id",Re()),this.ready=!1,this.events={},this.plugins={},this.layouts={},this.templates=an.extend({},pn.templates),this.target=this.element,this.layout=null,this.previewState=null,this.pausedState=null,this.pausedScrollX=null,this.pausedScrollY=null,this.enabled=!1,this.initialised=!1,this.uiObjects={},this.hotkeys={},this.hotkeysSuspended=!1,this.options.enableHotkeys&&this.registerHotkey(this.hotkeys);for(var o in this.options.bind)this.bind(y(o),this.options.bind[o]);this.history=[],this.present=0,this.historyEnabled=!0,po()&&(this.setOriginalHtml(this.element.is(":input")?this.element.val():this.element.html()),this.historyPush(this.getOriginalHtml()),this.element.is(":input")&&this.replaceOriginal(),this.loadPlugins(),this.dirty=!1,this.previousContent=null,this.previousSelection=null,this.getElement().addClass("raptor-editable-block"),this.loadLayouts(),this.ready=!0,this.fire("ready"),this.options.autoEnable&&an(function(){t.enableEditing()}))}},attach:function(){this.bind("change",this.historyPush),this.getElement().on("click.raptor","img",function(t){pi(t.target),this.checkSelectionChange()}.bind(this)),this.getElement().on("focus.raptor",this.showLayout.bind(this)),this.target.on("mouseup.raptor",this.checkSelectionChange.bind(this)),this.target.on("input.raptor keyup.raptor mouseup.raptor",this.checkChangeDelayed.bind(this)),an(window).bind("beforeunload",pn.unloadWarning.bind(pn));var t=this;an(window).resize(function(){t.fire("resize")})},detach:function(){this.unbind("change"),this.getElement().off("click.raptor","img"),this.getElement().off("focus.raptor"),this.getElement().blur(),this.target.off("mouseup.raptor"),this.target.off("keyup.raptor")},localeChange:function(){if(!this.ready){var t;return t=function(){this.unbind("ready",t),this.localeChange()},void this.bind("ready",t)}this.actionPreviewRestore();var e=[];for(var i in this.layouts)this.layouts[i].isVisible()&&e.push(i);this.layoutsDestruct(),this.events={},this.plugins={},this.uiObjects={},this.hotkeys={},this.loadPlugins(),this.loadLayouts();for(var o=0;o<e.length;o++)this.layouts[e[o]].show();this.checkSelectionChange()},restoreFocus:function(){this.getElement().focus()},getElement:function(){return this.target},getNode:function(){return this.target[0]},getOriginalElement:function(){return this.element},replaceOriginal:function(){if(this.target.is(":input")){for(var t=an("<div/>").html(this.element.val()).insertBefore(this.element).attr("id",Re()).addClass(this.element.attr("class")).addClass(this.options.classes),e=Ce(this.element),i=0;i<this.options.replaceStyle.length;i++)t.css(this.options.replaceStyle[i],e[this.options.replaceStyle[i]]);this.element.hide(),this.bind("change",function(){this.getOriginalElement().is(":input")?this.getOriginalElement().val(this.getHtml()).trigger("input"):this.getOriginalElement().html(this.getHtml())}),this.target=t}},checkSelectionChange:function(){var t=rangy.serializeSelection(null,!1);this.previousSelection!==t&&this.fire("selectionChange"),this.previousSelection=t},checkChangeTimer:null,checkChangeCount:0,checkChangeDelayed:function(){null!==this.checkChangeTimer&&(clearTimeout(this.checkChangeTimer),this.checkChangeTimer=null),this.checkChangeCount++<10?this.checkChangeTimer=setTimeout(this.checkChange.bind(this),200):this.checkChange()},checkChange:function(){this.checkChangeCount=0;var t=this.getHtml(),e=this.dirty;this.dirty=this.originalHtml!==t,this.previousHtml!==t&&(this.previousHtml=t,this.fire("change",[t]),e!==this.dirty&&this.fire(this.dirty?"dirty":"cleaned"),this.checkSelectionChange())},change:function(){this.fire("change",[this.getHtml()])},destruct:function(){this.disableEditing(),this.fire("destroy"),this.events={},this.getElement().off(".raptor"),this.getOriginalElement().is(":input")&&(this.target.remove(),this.target=null,this.element.show()),this.layoutsDestruct()},actionPreview:function(t){this.actionPreviewRestore();try{var e=this.fire("selectionCustomise");e.length>0?this.previewState=Y(this.previewState,this.target,function(){for(var i=0,o=e.length;o>i;i++)rangy.getSelection().setSingleRange(e[i]),this.selectionConstrain(),t()}.bind(this)):(this.selectionConstrain(),this.previewState=Y(this.previewState,this.target,t)),this.checkSelectionChange()}catch(i){}},actionPreviewRestore:function(){this.previewState&&(this.target=J(this.previewState,this.target),this.previewState=null,this.checkSelectionChange())},actionApply:function(t){this.actionPreviewRestore();var e=this.stateSave();try{var i=this.fire("selectionCustomise");i.length>0?W(function(){for(var e=0,o=i.length;o>e;e++)rangy.getSelection().setSingleRange(i[e]),this.selectionConstrain(),W(t,this.history)}.bind(this),this.history):(this.selectionConstrain(),W(t,this.history)),this.checkChange()}catch(o){this.stateRestore(e)}},actionUndo:function(){},actionRedo:function(){},stateSave:function(){return this.selectionConstrain(),Vi(this.target)},stateRestore:function(t){var e=Zi(this.target,t),i=rangy.getSelection();this.target=e.element,null!==e.ranges&&(i.setRanges(e.ranges),i.refresh())},selectionConstrain:function(){Fi(this.target[0])},pause:function(){this.pausedState||(this.pausedState=this.stateSave(),this.suspendHotkeys(),this.pausedScrollX=window.scrollX,this.pausedScrollY=window.scrollY)},resume:function(){this.pausedState&&(this.stateRestore(this.pausedState),this.pausedState=null,this.resumeHotkeys(),this.restoreFocus(),window.scrollTo(this.pausedScrollX,this.pausedScrollY))},persist:function(t,e){return this.options.persistence?pn.persist(t,e,this.options.namespace):null},enableEditing:function(){if(!this.enabled){if(this.fire("enabling"),this.attach(),this.enabled=!0,this.getElement().addClass(this.options.baseClass+"-editing").addClass(this.options.classes),this.options.partialEdit?this.getElement().find(this.options.partialEdit).prop("contenteditable",!0):this.getElement().prop("contenteditable",!0),!this.initialised){this.initialised=!0;for(var t in this.plugins)this.plugins[t].enable();this.bindHotkeys(),this.getElement().closest("form").on("submit.raptor",function(){ae(this.getElement()),this.fire("change",[this.getHtml()])}.bind(this))}ae(this.getElement()),this.fire("enabled"),this.showLayout();var e=this.options.partialEdit?this.getElement().find("[contenteditable]")[0]:this.getNode();switch(this.options.autoSelect){case"all":ui(e);break;case"start":var i=an(e).find("*:first")[0];if(!i){ui(e);break}var o=rangy.createRange();o.setStartBefore(i),o.setEndBefore(i),li(o);break;case"end":var i=an(e).find("*:last")[0];if(!i){ui(e);break}ui(i);var o=rangy.createRange();o.setStartAfter(i),o.setEndAfter(i),li(o)}}},disableEditing:function(){this.enabled&&(this.detach(),this.enabled=!1,this.getElement().prop("contenteditable",!1).removeClass(this.options.baseClass+"-editing").removeClass(this.options.classes),rangy.getSelection().removeAllRanges(),this.fire("disabled"),this.options.reloadOnDisable&&!dn&&(dn=!0,window.location.reload()))},cancelEditing:function(){this.unify(function(t){t.stopEditing()})},stopEditing:function(){this.fire("cancel"),this.options.reloadOnDisable||this.resetHtml(),this.disableEditing(),this.dirty=!1,ai()},isEditing:function(){return this.enabled},isRoot:function(t){return this.getElement()[0]===an(t)[0]},unify:function(t,e){if(e!==!1&&t(this),this.options.unify){var i=this;pn.eachInstance(function(e){e!==i&&e.options.unify&&t(e)})}},getLayout:function(t){return this.layouts[t]},loadLayouts:function(){for(var t in this.options.layouts)"undefined"!=typeof pn.layouts[t]&&(this.layouts[t]=this.prepareComponent(pn.layouts[t],this.options.layouts[t],"layout").instance,this.layouts[t].hotkeys&&this.registerHotkey(this.layouts[t].hotkeys,null,this.layouts[t]))},layoutsDestruct:function(){for(var t in this.layouts)this.layouts[t].destruct()},prepareComponent:function(t,e,i){var o=an.extend({},t),n=an.extend({},o.options,this.options,{baseClass:this.options.baseClass+"-"+i+"-"+y(t.name)},e);o.raptor=this,o.options=n;var a=o.init();return{init:a,instance:o}},showLayout:function(){this.unify(function(t){t.fire("layoutHide")},!1),this.fire("layoutShow"),this.fire("resize"),"undefined"==typeof this.getElement().attr("tabindex")&&this.getElement().attr("tabindex",-1)},getTemplate:function(t,e){return this.templates[t]||(this.templates[t]=w(t,this.options.urlPrefix)),x(this.templates[t],e)},historyPush:function(){if(this.historyEnabled){var t=this.getHtml();t!==this.historyPeek()&&(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,this.fire("historyChange"))}},historyPeek:function(){return this.history.length?this.history[this.present]:null},historyBack:function(){this.present>0&&(this.present--,this.setHtml(this.history[this.present]),this.historyEnabled=!1,this.change(),this.historyEnabled=!0,this.fire("historyChange"))},historyForward:function(){this.present<this.history.length-1&&(this.present++,this.setHtml(this.history[this.present]),this.historyEnabled=!1,this.change(),this.historyEnabled=!0,this.fire("historyChange"))},registerHotkey:function(t,e){this.hotkeys[t]=e},bindHotkeys:function(){for(var t in this.hotkeys)this.getElement().on("keydown.raptor",t,function(t){if(this.isEditing()&&!this.hotkeysSuspended){var e=this.hotkeys[t.data]();e!==!1&&t.preventDefault()}}.bind(this))},suspendHotkeys:function(){this.hotkeysSuspended=!0},resumeHotkeys:function(){this.hotkeysSuspended=!1},isUiEnabled:function(t){return this.options.enableUi===!1&&"undefined"==typeof this.options.plugins[t]||this.options.plugins[t]===!1?!1:-1!==an.inArray(t,this.options.disabledUi)||-1!==an.inArray(t,this.options.disabledPlugins)?!1:!0},getUi:function(t){return this.uiObjects[t]},getPlugin:function(t){return this.uiObjects[t]||this.plugins[t]},loadPlugins:function(){var t=this;this.options.plugins||(this.options.plugins={});for(var e in pn.plugins)this.options.enablePlugins===!1&&"undefined"==typeof this.options.plugins[e]||this.options.plugins[e]===!1||-1===an.inArray(e,this.options.disabledUi)&&-1===an.inArray(e,this.options.disabledPlugins)&&(t.plugins[e]=this.prepareComponent(pn.plugins[e],t.options.plugins[e],"plugin").instance)},isDirty:function(){return this.dirty},getHtml:function(){return this.getElement().html()},clean:function(){this.actionApply(function(){ae(this.getElement())}.bind(this))},setHtml:function(t){this.getElement().html(t),this.fire("html"),this.checkChange()},resetHtml:function(){this.setHtml(this.getOriginalHtml()),this.fire("cleaned")},getOriginalHtml:function(){return this.originalHtml},saved:function(t){this.setOriginalHtml(this.getHtml()),this.dirty=!1,this.fire("saved",t),this.fire("cleaned")},setOriginalHtml:function(t){this.originalHtml=t},bind:function(t,e,i){for(var o=t.split(/,\s*/),n=0,a=o.length;a>n;n++)this.events[o[n]]||(this.events[o[n]]=[]),this.events[o[n]].push({context:i,callback:e})},unbind:function(t,e,i){for(var o=0,n=this.events[t].length;n>o;o++)this.events[t][o]&&this.events[t][o].callback===e&&this.events[t][o].context===i&&this.events[t].splice(o,1)},fire:function(t,e){var i=[];if(this.events[t])for(var o=0,n=this.events[t].length;n>o;o++){var a=this.events[t][o];if("undefined"!=typeof a&&"undefined"!=typeof a.callback){var r=a.callback.apply(a.context||this,e);"undefined"!=typeof r&&(i=i.concat(r))}}return i}};an.widget("ui.raptor",hn),an.fn.raptor.Raptor=pn,ho.prototype.init=function(){},ho.prototype.destruct=function(){},ho.prototype.isVisible=function(){return!1},ho.prototype.show=function(){},ho.prototype.hide=function(){},Ao.prototype.init=function(){},Ao.prototype.enable=function(){},go.prototype.appendTo=function(t,e){for(var i=0,o=this.uiOrder.length;o>i;i++){for(var n=an("<div/>").addClass(this.raptor.options.baseClass+"-layout-toolbar-group"),a=this.uiOrder[i],r=0,s=a.length;s>r;r++)if(this.raptor.isUiEnabled(a[r])&&pn.ui[a[r]]){var l=this.raptor.options.plugins[a[r]];if(l===!1)continue;var c=this.raptor.prepareComponent(pn.ui[a[r]],l,"ui");c.instance.layout=t,this.raptor.uiObjects[a[r]]=c.instance,I(c.init)&&(c.init.removeClass("ui-corner-all"),n.append(c.init))}n.children().length>0&&n.appendTo(e)}e.find(".ui-button:first-child").addClass("ui-corner-left"),e.find(".ui-button:last-child").addClass("ui-corner-right")},mo.prototype=Object.create(ho.prototype),mo.prototype.init=function(){this.raptor.bind("enabled",this.show.bind(this)),this.raptor.bind("disabled",this.hide.bind(this)),this.raptor.bind("layoutShow",this.show.bind(this)),this.raptor.bind("layoutHide",this.hide.bind(this)),an(window).resize(this.constrainPosition.bind(this))},mo.prototype.destruct=function(){this.wrapper&&(this.wrapper.remove(),this.wrapper=null),this.raptor.fire("toolbarDestroy")},mo.prototype.show=function(){this.isVisible()||(this.getElement().css("display",""),this.constrainPosition(),this.raptor.getElement().zIndex()>this.getElement().zIndex()?this.getElement().css("z-index",this.raptor.getElement().zIndex()+1):this.getElement().css("z-index",null),this.raptor.fire("toolbarShow"))},mo.prototype.hide=function(){this.isReady()&&(this.getElement().css("display","none"),this.raptor.fire("toolbarHide"))},mo.prototype.initDragging=function(){if(an.fn.draggable&&this.options.draggable&&!this.getElement().data("ui-draggable")){this.getElement().draggable({cancel:"a, button",cursor:"move",stop:this.constrainPosition.bind(this)}),this.getElement().css("position","fixed");var t=this.raptor.persist("position")||this.options.dialogPosition;t||(t=[10,10]),parseInt(t[0],10)+this.getElement().outerHeight()>an(window).height()&&(t[0]=an(window).height()-this.getElement().outerHeight()),parseInt(t[1],10)+this.getElement().outerWidth()>an(window).width()&&(t[1]=an(window).width()-this.getElement().outerWidth()),this.getElement().css({top:Math.abs(parseInt(t[0],10)),left:Math.abs(parseInt(t[1],10))})}},mo.prototype.enableDragging=function(){an.fn.draggable&&this.options.draggable&&this.getElement().data("ui-draggable")&&this.getElement().draggable("enable")},mo.prototype.disableDragging=function(){an.fn.draggable&&this.options.draggable&&this.getElement().is(".ui-draggable")&&this.getElement().draggable("disable").removeClass("ui-state-disabled")},mo.prototype.isReady=function(){return null!==this.wrapper},mo.prototype.isVisible=function(){return this.isReady()&&this.getElement().is(":visible")},mo.prototype.constrainPosition=function(){if(this.isVisible()){var t=parseInt(this.wrapper.css("left"))||-999,e=parseInt(this.wrapper.css("top"))||-999,i=this.wrapper.outerWidth(),o=this.wrapper.outerHeight(),n=an(window).width(),a=an(window).height(),r=Math.max(0,Math.min(t,n-i)),s=Math.max(0,Math.min(e,a-o));(r!==t||s!==e)&&this.wrapper.css({left:r,top:s}),this.raptor.persist("position",[this.wrapper.css("top"),this.wrapper.css("left")])}},mo.prototype.getElement=function(){if(null===this.wrapper){if(!this.options.uiOrder){this.options.uiOrder=[[]];for(var t in pn.ui)this.options.uiOrder[0].push(t)}var e=this.toolbar=an("<div/>").addClass(this.options.baseClass+"-toolbar"),i=this.toolbarWrapper=an("<div/>").addClass(this.options.baseClass+"-inner").addClass("ui-widget-content").mousedown(function(t){t.preventDefault()}).append(e),o=this.path=an("<div/>").addClass(this.options.baseClass+"-path").addClass("ui-widget-header"),n=this.wrapper=an("<div/>").addClass(this.options.baseClass+"-outer "+this.raptor.options.baseClass+"-layout").css("display","none").append(o).append(i),a=new go(this.raptor,this.options.uiOrder);a.appendTo(this,this.toolbar),an("<div/>").css("clear","both").appendTo(this.toolbar),an(function(){n.appendTo("body"),this.initDragging(),this.constrainPosition(!0),this.raptor.fire("layoutReady",[this.wrapper]),this.raptor.fire("toolbarReady",[this])}.bind(this))}return this.wrapper},pn.registerLayout(new mo),fo.prototype=Object.create(ho.prototype),fo.prototype.init=function(){this.raptor.bind("ready",this.ready.bind(this)),this.raptor.bind("enabled",this.enabled.bind(this))},fo.prototype.ready=function(){this.raptor.getElement().mouseenter(this.show.bind(this)).mouseleave(this.hide.bind(this))},fo.prototype.enabled=function(){this.getElement().hide()},fo.prototype.getElement=function(){if(null===this.hoverPanel){this.hoverPanel=an("<div/>").addClass(this.raptor.options.baseClass+"-layout "+this.options.baseClass).mouseleave(this.hide.bind(this));var t=new go(this.raptor,this.options.uiOrder);t.appendTo(this,this.hoverPanel),an(window).bind("scroll",this.position.bind(this)),this.hoverPanel.appendTo("body"),this.raptor.fire("layoutReady",[this.hoverPanel])}return this.hoverPanel},fo.prototype.show=function(){this.raptor.isEditing()||(this.visible=!0,this.getElement().show(),this.raptor.getElement().zIndex()>this.getElement().zIndex()?this.getElement().css("z-index",this.raptor.getElement().zIndex()+1):this.getElement().css("z-index",null),this.position(),this.raptor.getElement().addClass(this.raptor.options.baseClass+"-editable-block-hover"))},fo.prototype.hide=function(t){this.visible&&t&&(an.contains(this.getElement().get(0),t.relatedTarget)||t.relatedTarget!==this.getElement().get(0)&&this.getElement().get(0)!==an(t.relatedTarget).parent().get(0)&&(an.contains(this.raptor.getElement().get(0),t.relatedTarget)||t.relatedTarget!==this.raptor.getElement().get(0)&&(this.visible=!1,this.getElement().hide(),this.raptor.getElement().removeClass(this.raptor.options.baseClass+"-editable-block-hover"))))},fo.prototype.position=function(){if(this.visible){var t=ve(this.raptor.getElement());
this.getElement().css({top:t.top+(t.height/2-this.getElement().outerHeight()/2),left:t.left+(t.width/2-this.getElement().outerWidth()/2)})}},fo.prototype.destruct=function(){this.hoverPanel&&(this.hoverPanel.remove(),this.hoverPanel=null),this.visible=!1},pn.registerLayout(new fo),bo.prototype=Object.create(ho.prototype),bo.prototype.init=function(){this.raptor.bind("ready",this.ready.bind(this))},bo.prototype.ready=function(){this.raptor.getElement().on("mouseenter",this.options.elements,this.show.bind(this)).on("mouseleave",this.options.elements,this.hide.bind(this))},bo.prototype.getElement=function(){if(null===this.hoverPanel){this.hoverPanel=an("<div/>").addClass(this.raptor.options.baseClass+"-layout raptor-layout-hover-panel "+this.options.baseClass).mouseleave(this.hide.bind(this));var t=new go(this.raptor,this.options.uiOrder);t.appendTo(this,this.hoverPanel),an(window).bind("scroll",this.position.bind(this)),this.hoverPanel.appendTo("body"),this.raptor.fire("layoutReady",[this.hoverPanel])}return this.hoverPanel},bo.prototype.show=function(t){this.enabled&&this.raptor.isEditing()&&(this.target=t.target,this.visible=!0,De(this.getElement().show(),an(this.target)))},bo.prototype.hide=function(t){if(this.visible){if(t){if(an.contains(this.getElement().get(0),t.relatedTarget))return;if(t.relatedTarget===this.getElement().get(0))return;if(this.getElement().get(0)===an(t.relatedTarget).parent().get(0))return;if(an.contains(this.raptor.getElement().get(0),t.relatedTarget))return;if(t.relatedTarget===this.raptor.getElement().get(0))return}this.visible=!1,this.getElement().hide()}},bo.prototype.close=function(){this.visible&&(this.enabled=!1,this.visible=!1,this.getElement().hide(),setTimeout(function(){this.enabled=!0}.bind(this),1e3))},bo.prototype.position=function(){this.visible&&De(this.getElement(),an(this.target))},bo.prototype.destruct=function(){this.hoverPanel&&(this.hoverPanel.remove(),this.hoverPanel=null),this.visible=!1},pn.registerLayout(new bo),vo.prototype.init=function(){if("string"==typeof this.hotkey)this.raptor.registerHotkey(this.hotkey,this.action.bind(this));else if(T(this.hotkey))for(var t=0,e=this.hotkey.length;e>t;t++)this.raptor.registerHotkey(this.hotkey[t],this.action.bind(this));return this.getButton()},vo.prototype.getButton=function(){if(!this.button){var t=this.text||this.translate("Text",!1);this.button=an("<div>").html(t).addClass(this.options.baseClass).attr("title",this.getTitle()).click(this.click.bind(this)),D(this.button,{icons:{primary:this.getIcon()},text:t,label:this.label})}return this.button},vo.prototype.getTitle=function(){return this.title||this.translate("Title")},vo.prototype.getIcon=function(){return null===this.icon?"ui-icon-"+y(this.name):this.icon},vo.prototype.click=function(){P(this.button)&&this.raptor.actionApply(this.action.bind(this))},vo.prototype.translate=function(t,e){return a(this.name+t,e)},yo.prototype=Object.create(vo.prototype),yo.prototype.getButton=function(){return this.button||(this.button=vo.prototype.getButton.call(this).mouseenter(this.mouseEnter.bind(this)).mouseleave(this.mouseLeave.bind(this))),this.button},yo.prototype.applyPreview=function(){this.canPreview()&&(this.previewing=!0,this.raptor.actionPreview(this.action.bind(this)))},yo.prototype.endPreview=function(){null!==this.previewTimer&&(clearTimeout(this.previewTimer),this.previewTimer=null),this.previewing=!1},yo.prototype.mouseEnter=function(){this.canPreview()&&(this.endPreview(),this.options.previewTimeout!==!1?this.previewTimer=setTimeout(this.applyPreview.bind(this),this.options.previewTimeout):this.applyPreview())},yo.prototype.mouseLeave=function(){this.endPreview(),this.raptor.actionPreviewRestore()},yo.prototype.click=function(){return this.endPreview(),vo.prototype.click.apply(this,arguments)},yo.prototype.canPreview=function(){return this.options.preview},yo.prototype.isPreviewing=function(){return this.previewing},Co.prototype=Object.create(vo.prototype),Co.prototype.init=function(){return this.raptor.bind("selectionChange",this.selectionChange.bind(this)),vo.prototype.init.apply(this,arguments)},Co.prototype.selectionChange=function(){this.selectionToggle()?(Q(this.button),this.disable&&M(this.button)):(L(this.button),this.disable&&N(this.button))},wo.prototype=Object.create(yo.prototype),wo.prototype.init=function(){return this.raptor.bind("selectionChange",this.selectionChange.bind(this)),yo.prototype.init.apply(this,arguments)},wo.prototype.selectionChange=function(){this.selectionToggle()?this.isPreviewing()||Q(this.button):L(this.button)},xo.prototype=Object.create(yo.prototype),xo.prototype.init=function(){var t=yo.prototype.init.apply(this,arguments);return this.raptor.bind("selectionChange",this.selectionChange.bind(this)),t},xo.prototype.selectionChange=function(){this.isEnabled()?M(this.button):N(this.button)},xo.prototype.canPreview=function(){return yo.prototype.canPreview.call(this)&&this.isEnabled()},xo.prototype.isEnabled=function(){var t=ii();return t?!!this.getElement(t):!!this.previewing},xo.prototype.action=function(){si(function(t){var e=this.getElement(t);e&&this.applyToElement(e)}.bind(this))},Eo.prototype=Object.create(wo.prototype),Eo.prototype.action=function(){Ni(),this.raptor.selectionConstrain();for(var t=0,e=this.classes.length;e>t;t++){var i=rangy.createCssClassApplier(this.options.cssPrefix+this.classes[t],{elementTagName:this.tag||"span"});i.toggleSelection()}},Eo.prototype.selectionToggle=function(){for(var t=0,e=this.classes.length;e>t;t++){var i=rangy.createCssClassApplier(this.options.cssPrefix+this.classes[t],{elementTagName:this.tag||"span"});if(!i.isAppliedToSelection())return!1}return!0};var An={};Bo.prototype=Object.create(vo.prototype),Bo.prototype.action=function(){this.openDialog()},Bo.prototype.validateDialog=function(){return!0},Bo.prototype.openDialog=function(){this.raptor.pause(),z(this.getDialog())},Bo.prototype.onDialogClose=function(){An[this.name].instance.raptor.resume()},Bo.prototype.okButtonClick=function(){var t=An[this.name].instance.validateDialog();t===!0&&(H(An[this.name].dialog),An[this.name].instance.applyAction.call(An[this.name].instance,An[this.name].dialog))},Bo.prototype.closeDialog=function(){H(An[this.name].dialog)},Bo.prototype.cancelButtonClick=Bo.prototype.closeDialog,Bo.prototype.getOkButton=function(t){return{text:a(t+"DialogOKButton"),click:this.okButtonClick.bind(this),icons:{primary:"ui-icon-circle-check"}}},Bo.prototype.getCancelButton=function(t){return{text:a(t+"DialogCancelButton"),click:this.cancelButtonClick.bind(this),icons:{primary:"ui-icon-circle-close"}}},Bo.prototype.getDefaultDialogOptions=function(t){var e={modal:!0,resizable:!0,autoOpen:!1,title:a(t+"DialogTitle"),dialogClass:this.options.baseClass+"-dialog "+this.options.dialogClass,close:this.onDialogClose.bind(this),buttons:[]},i=this.getOkButton(t),o=this.getCancelButton(t);return"undefined"!=typeof i&&i!==!1&&e.buttons.push(i),"undefined"!=typeof o&&o!==!1&&e.buttons.push(o),e},Bo.prototype.getDialog=function(){return"undefined"==typeof An[this.name]&&(An[this.name]={dialog:an(this.getDialogTemplate())},G(An[this.name].dialog,an.extend(this.getDefaultDialogOptions(this.name),this.dialogOptions))),An[this.name].instance=this,An[this.name].dialog},ko.prototype=Object.create(Bo.prototype),ko.prototype.init=Co.prototype.init,ko.prototype.selectionChange=Co.prototype.selectionChange,To.prototype=Object.create(vo.prototype),To.prototype.click=function(t){this.menu.getMenu().is(":visible")?an(".raptor-menu").hide():this.menu.show(),t.preventDefault()},So.prototype.init=function(){this.setOptions();var t=this.getButton().init();return t.addClass("raptor-menu-button"),t},So.prototype.getButton=function(){return this.button||(this.button=new To(this)),this.button},So.prototype.setOptions=function(){this.options.title=a(this.name+"Title"),this.options.icon="ui-icon-"+this.name},So.prototype.getMenu=function(){return this.menu||(this.menu=an("<div>").addClass("ui-menu ui-widget ui-widget-content ui-corner-all "+this.options.baseClass+"-menu "+this.raptor.options.baseClass+"-menu").html(this.menuContent).css("position","fixed").hide().mousedown(function(t){t.preventDefault()}).children().appendTo("body")),this.menu},So.prototype.show=function(){an(".raptor-menu").hide(),ke(this.getMenu().toggle(),this.getButton().getButton())},an("html").click(function(t){an(t.target).hasClass("raptor-menu-button")||0!==an(t.target).closest(".raptor-menu-button").length||an(".raptor-menu").hide()}),So.prototype.getMenu=function(){return this.menu||(this.menu=an("<div>").addClass("ui-menu ui-widget ui-widget-content ui-corner-all "+this.options.baseClass+"-menu "+this.raptor.options.baseClass+"-menu").html(this.menuContent).css("position","fixed").hide().appendTo("body").mousedown(function(t){t.preventDefault()})),this.menu},Ro.prototype=Object.create(So.prototype),Ro.prototype.menuItemMouseDown=function(t){t.preventDefault()},Ro.prototype.menuItemClick=function(t){return U(this.button.button,an(t.target).html()),an(this.menu).closest("ul").hide(),!1},Ro.prototype.menuItemMouseEnter=function(){},Ro.prototype.menuItemMouseLeave=function(){},Ro.prototype.getMenu=function(){return this.menu||(this.menu=an("<ul>").addClass(this.options.baseClass+"-menu "+this.raptor.options.baseClass+"-menu").html(this.getMenuItems()).css("position","fixed").hide().find("a").mousedown(this.menuItemMouseDown.bind(this)).mouseenter(this.menuItemMouseEnter.bind(this)).mouseleave(this.menuItemMouseLeave.bind(this)).click(this.menuItemClick.bind(this)).end().appendTo("body"),O(this.menu)),this.menu},an.extend(pn,{Button:vo,CSSClassApplierButton:Eo,DialogButton:Bo,DialogToggleButton:ko,FilteredPreviewButton:xo,HoverPanelLayout:fo,Menu:So,MenuButton:To,PreviewButton:yo,PreviewToggleButton:wo,RaptorLayout:ho,RaptorPlugin:Ao,SelectMenu:Ro,TextAlignButton:Wo,ToggleButton:Co,ToolbarLayout:mo,UiGroup:go,aButton:D,aButtonActive:Q,aButtonDisable:N,aButtonEnable:M,aButtonInactive:L,aButtonIsEnabled:P,aButtonSetIcon:F,aButtonSetLabel:U,aDialog:G,aDialogClose:H,aDialogOpen:z,aMenu:O,aTabs:V,actionApply:W,actionPreview:Y,actionPreviewRestore:J,actionRedo:j,actionUndo:K,clean:ae,cleanEmptyAttributes:_,cleanEmptyElements:te,cleanRemoveComments:$,cleanReplaceElements:X,cleanUnnestElement:ie,cleanUnwrapElements:q,cleanWrapTextNodes:ee,dockToElement:le,dockToScreen:re,elementBringToTop:pe,elementChangeTag:Ie,elementClosestBlock:Se,elementContainsBlockElement:ge,elementDefaultDisplay:me,elementDetachedManip:Te,elementFirstInvalidElementOfValidParent:be,elementGetAttributes:ye,elementGetStyles:Ce,elementIsBlock:Ae,elementIsEmpty:Be,elementIsValid:fe,elementOuterHtml:de,elementOuterText:he,elementPositionUnder:ke,elementRemoveAttributes:ue,elementSwapStyles:Ee,elementToggleStyle:xe,elementUniqueId:Re,elementVisibleRect:ve,elementWrapInner:we,extendLocale:e,fragmentInsertBefore:Fe,fragmentToHtml:Ue,getLocalizedString:n,nodeFindParent:Me,nodeFindTextNodes:Pe,nodeIsChildOf:Ne,persistGet:g,persistSet:A,rangeContainsNode:Ke,rangeContainsNodeText:je,rangeDeserialize:_e,rangeEmptyTag:He,rangeExpandTo:Ge,rangeExpandToParent:Qe,rangeGet:ii,rangeGetCommonAncestor:Ye,rangeGetEndElement:Ze,rangeGetStartElement:Ve,rangeIsContainedBy:We,rangeIsEmpty:Je,rangeReplace:ze,rangeReplaceSplitInvalidTags:$e,rangeReplaceWithinValidTags:ti,rangeSelectElement:Le,rangeSelectElementContent:Oe,rangeSerialize:qe,rangeToHtml:ei,rangeTrim:Xe,registerLocale:t,selectionAtEndOfElement:Ci,selectionAtStartOfElement:wi,selectionChangeTags:Gi,selectionClearFormatting:Mi,selectionConstrain:Fi,selectionContains:zi,selectionDelete:Hi,selectionDestroy:ai,selectionEachBlock:Di,selectionEachRange:si,selectionExists:ki,selectionExpandTo:Qi,selectionExpandToWord:Ni,selectionFindWrappingAndInnerElements:Oi,selectionGetElement:fi,selectionGetElements:bi,selectionGetEndElement:yi,selectionGetHtml:mi,selectionGetStartElement:vi,selectionInverseWrapWithTagClass:Pi,selectionIsEmpty:xi,selectionRange:Ti,selectionReplace:ci,selectionReplaceSplittingSelectedElement:Si,selectionReplaceWithinValidTags:Ri,selectionRestore:ni,selectionSave:oi,selectionSaved:ri,selectionSelectEdge:di,selectionSelectEnd:hi,selectionSelectInner:ui,selectionSelectOuter:pi,selectionSelectStart:Ai,selectionSelectToEndOfElement:gi,selectionSet:li,selectionToggleBlockClasses:Ui,selectionToggleBlockStyle:Ii,selectionToggleWrapper:Ei,selectionTrim:Li,selectionWrapTagWithAttribute:Bi,setLocale:o,stateRestore:Zi,stateSave:Vi,stringHtmlStringIsEmpty:Ji,stringStripTags:Yi,styleRestoreState:ji,styleSwapState:Wi,styleSwapWithWrapper:Ki,tableCanMergeCells:no,tableCanSplitCells:ro,tableCellsInRange:oo,tableCreate:Xi,tableDeleteColumn:_i,tableDeleteRow:to,tableGetCellByIndex:io,tableGetCellIndex:eo,tableInsertColumn:qi,tableInsertRow:$i,tableMergeCells:ao,tableSplitCells:so,templateConvertTokens:x,templateGet:w,templateGetVariables:E,typeIsArray:T,typeIsElement:I,typeIsNode:S,typeIsNumber:B,typeIsRange:co,typeIsSelection:uo,typeIsString:k,typeIsTextNode:R,undockFromElement:ce,undockFromScreen:se}),window.Raptor=pn,pn.globalDefaults={layouts:{},plugins:{},ui:{},bind:{},namespace:null,unify:!0,persistence:!0,persistenceName:"uiEditor",unloadWarning:!0,autoEnable:!1,partialEdit:!1,autoSelect:"end",enablePlugins:!0,disabledPlugins:[],enableUi:!0,disabledUi:[],replace:!1,replaceStyle:["display","position","float","width","padding-left","padding-right","padding-top","padding-bottom","margin-left","margin-right","margin-top","margin-bottom"],baseClass:"raptor",cssPrefix:"cms-",draggable:!0},pn.registerPreset({name:"full",plugins:{imageSwap:{chooser:"insertFile"}},layouts:{toolbar:{uiOrder:[["logo"],["save","cancel"],["dockToScreen","dockToElement","guides"],["viewSource"],["historyUndo","historyRedo"],["alignLeft","alignCenter","alignJustify","alignRight"],["textBold","textItalic","textUnderline","textStrike"],["textSuper","textSub"],["listUnordered","listOrdered"],["hrCreate","textBlockQuote"],["textSizeDecrease","textSizeIncrease","fontFamilyMenu"],["clearFormatting","cleanBlock"],["linkCreate","linkRemove"],["embed","insertFile"],["floatLeft","floatNone","floatRight"],["colorMenuBasic"],["tagMenu"],["classMenu"],["snippetMenu","specialCharacters"],["tableCreate","tableInsertRow","tableDeleteRow","tableInsertColumn","tableDeleteColumn"],["languageMenu"],["statistics"]]},hoverPanel:{uiOrder:[["clickButtonToEdit"]]},elementHoverPanel:{elements:"img",uiOrder:[["imageResize","imageSwap","close"]]}}},!0),pn.registerPreset({name:"micro",layouts:{toolbar:{uiOrder:[["logo"],["save","cancel"],["dockToScreen","dockToElement"],["historyUndo","historyRedo"],["specialCharacters"],["languageMenu"],["statistics"]]},hoverPanel:{uiOrder:[["clickButtonToEdit","revisions"]]}},plugins:{placeholder:!1,paste:{panels:["plain-text"]},noBreak:{enabled:!0}}}),pn.registerPreset({name:"inline",classes:"raptor-editing-inline",autoEnable:!0,draggable:!1,unify:!1,unloadWarning:!1,reloadOnDisable:!0,plugins:{unsavedEditWarning:!1,dock:{dockToElement:!0,docked:!0,persist:!1}},layouts:{toolbar:{uiOrder:[["textBold","textItalic","textUnderline","textStrike"],["colorMenuBasic"],["textBlockQuote"],["listOrdered","listUnordered"],["textSizeDecrease","textSizeIncrease"],["linkCreate","linkRemove"]]}}}),pn.registerPreset({name:"full-premium",plugins:{imageSwap:{chooser:"fileManager"}},layouts:{toolbar:{uiOrder:[["logo"],["save","cancel","editPage"],["dockToScreen","dockToElement","guides"],["viewSource"],["historyUndo","historyRedo"],["alignLeft","alignCenter","alignJustify","alignRight"],["textBold","textItalic","textUnderline","textStrike"],["textSuper","textSub"],["listUnordered","listOrdered"],["hrCreate","textBlockQuote"],["textSizeDecrease","textSizeIncrease","fontFamilyMenu"],["clearFormatting","cleanBlock"],["linkCreate","linkRemove"],["embed","insertFile","fileManager","imageEditor"],["floatLeft","floatNone","floatRight"],["colorMenuBasic"],["tagMenu"],["classMenu"],["snippetMenu","specialCharacters","loremIpsum"],["tableCreate","tableInsertRow","tableDeleteRow","tableInsertColumn","tableDeleteColumn"],["languageMenu"],["statistics"]]},hoverPanel:{uiOrder:[["clickButtonToEdit","revisions"]]},elementHoverPanel:{elements:"img",uiOrder:[["imageResize","imageSwap","imageEditor","close"]]},imageEditor:{uiOrder:[["save","cancel"],["revert","upload"],["undo","redo"],["flipV","flipH","rotateLeft","rotateRight","resize","crop"],["blur","sharpen","desaturate","invert","sepia","solarize","brightness","colorAdjust","glow","hsl","posterize","removeNoise"]]},fileManager:{uiOrder:[["insert","rename","edit","delete","download","view"]]}}},!0),pn.registerUi(new Bo({name:"cancel",hotkey:"esc",dialogOptions:{width:500},action:function(){this.raptor.isDirty()?Bo.prototype.action.call(this):this.applyAction()},applyAction:function(){this.raptor.cancelEditing()},getDialogTemplate:function(){return an("<div>").html(a("cancelDialogContent"))}})),Io.prototype=Object.create(Ro.prototype),Io.prototype.init=function(){var t=Ro.prototype.init.call(this);return"object"==typeof this.options.classes&&Object.keys(this.options.classes).length>0?(this.raptor.bind("selectionChange",this.updateButton.bind(this)),t):void 0},Io.prototype.changeClass=function(t){Ui(t,[],this.raptor.getElement())},Io.prototype.menuItemClick=function(t){Ro.prototype.menuItemClick.apply(this,arguments),this.raptor.actionApply(function(){this.changeClass([an(t.currentTarget).data("value")])}.bind(this))},Io.prototype.menuItemMouseEnter=function(t){this.raptor.actionPreview(function(){this.changeClass([an(t.currentTarget).data("value")])}.bind(this))},Io.prototype.menuItemMouseLeave=function(){this.raptor.actionPreviewRestore()},Io.prototype.updateButton=function(){},Io.prototype.getMenuItems=function(){var t="";for(var e in this.options.classes)t+=this.raptor.getTemplate("class-menu.item",{label:e,value:this.options.classes[e]});return t},pn.registerUi(new Io),pn.registerUi(new yo({name:"cleanBlock",action:function(){var t=this.raptor.getElement();oe(t,["style"]),ne(t,["font","span:not([class])",".cms-color:has(.cms-color)",":header strong",":header b",":header strong"]),te(t,["b","big","em","i","small","span","strong",":not(:visible)"])}})),pn.registerUi(new yo({name:"clearFormatting",action:function(){Mi(this.raptor.getElement().get(0)),te(this.raptor.getElement(),["a","b","i","sub","sup","strong","em","big","small","p"]),ee(this.raptor.getElement()[0],"p")}})),pn.registerUi(new vo({name:"clickButtonToEdit",action:function(){this.raptor.enableEditing()}})),pn.registerUi(new vo({name:"close",click:function(){this.layout.close()}})),Do.prototype=Object.create(Ro.prototype),Do.prototype.init=function(){return this.raptor.bind("selectionChange",this.updateButton.bind(this)),this.updateButton(),Ro.prototype.init.apply(this,arguments)},Do.prototype.updateButton=function(){var t=bi()[0],e=this.getButton().getButton(),i=null,o=null;if(U(e,a("colorMenuBasicAutomatic")),F(e,!1),t){t=an(t);for(var n in this.options.colors)if(o=an(t).closest("."+this.options.cssPrefix+n),o.length){i=n;break}return i?(U(e,a("colorMenuBasic"+C(i))),F(e,"ui-icon-swatch"),void e.find(".ui-icon").css("background-color",o.css("color"))):void 0}},Do.prototype.changeColor=function(t,e){e&&(this.currentColor=t),this.raptor.actionApply(function(){if(Ni(),"automatic"===t)bi().parents("."+this.options.cssPrefix+"color").addBack().each(function(){var t=an(this).attr("class");if(null!==t&&"undefined"!=typeof t&&(t=t.match(/(cms-(.*?))( |$)/gi),null!==t&&"undefined"!=typeof t))for(var e=0,i=t.length;i>e;e++)an(this).removeClass(t[e].trim()),an(this).attr("class").trim()||an(this).contents().unwrap()});else{var e=Re();Ei("span",{classes:this.options.cssPrefix+"color "+this.options.cssPrefix+t,attributes:{id:e}});var i=an("#"+e);if(i.length){ui(i.removeAttr("id").get(0));var o;do o=an("#"+e),o.removeAttr("id");while(o.length)}}ne(this.raptor.getElement(),[".cms-color:has(.cms-color)"])}.bind(this))},Do.prototype.menuItemMouseEnter=function(t){this.raptor.actionPreview(function(){this.changeColor(an(t.currentTarget).data("color"))}.bind(this))},Do.prototype.menuItemMouseLeave=function(){this.raptor.actionPreviewRestore()},Do.prototype.menuItemClick=function(t){Ro.prototype.menuItemClick.apply(this,arguments),this.raptor.actionApply(function(){this.changeColor(an(t.currentTarget).data("color"),!0)}.bind(this))},Do.prototype.getMenuItems=function(){var t=this.raptor.getTemplate("color-menu-basic.automatic",this.options);for(var e in this.options.colors)t+=this.raptor.getTemplate("color-menu-basic.item",{color:this.options.colors[e],label:a("colorMenuBasic"+C(e)),className:e,baseClass:this.options.baseClass});return t},pn.registerUi(new Do),Uo.prototype=Object.create(Ao.prototype),Uo.prototype.init=function(){var t;this.options.persist&&(t=this.raptor.persist("docked")),"undefined"==typeof t&&(t=this.options.docked),"undefined"==typeof t&&(t=!1),t&&(this.raptor.bind("toolbarReady",function(){t&&this.toggleState()}.bind(this)),this.raptor.bind("toolbarHide",function(){this.dockState&&this.dockState.spacer&&(this.dockState.spacer.addClass(this.options.baseClass+"-hidden"),this.dockState.spacer.removeClass(this.options.baseClass+"-visible"))}.bind(this)),this.raptor.bind("toolbarShow",function(){this.dockState&&this.dockState.spacer&&(this.dockState.spacer.removeClass(this.options.baseClass+"-hidden"),this.dockState.spacer.addClass(this.options.baseClass+"-visible"))}.bind(this)),this.raptor.bind("toolbarDestroy",function(){this.dockState&&this.dockState.spacer&&this.dockState.spacer.remove()}.bind(this)))},Uo.prototype.toggleState=function(){return this.options.dockToElement?this.toggleDockToElement():this.toggleDockToScreen()},Uo.prototype.toggleDockToElement=function(){this.dockState?"undefined"!=typeof this.dockState.dockedTo?this.undockFromElement():(this.undockFromScreen(),this.dockToElement()):this.dockToElement()},Uo.prototype.dockToElement=function(){var t=this.options.dockTo?an(this.options.dockTo):this.raptor.getElement(),e=this.raptor.getLayout("toolbar").getElement();this.marker=an("<marker>").addClass(this.options.baseClass+"-marker").insertAfter(e),e.addClass(this.options.baseClass+"-docked-to-element"),this.dockState=le(e,t,{position:this.options.position,spacer:!1,wrapperClass:this.options.baseClass+"-inline-wrapper"}),this.activateButton(this.raptor.getPlugin("dockToElement")),this.raptor.persist("docked",!0)},Uo.prototype.undockFromElement=function(){this.marker.replaceWith(ce(this.dockState)),this.dockState=null,this.raptor.getLayout("toolbar").getElement().removeClass(this.options.baseClass+"-docked-to-element"),this.deactivateButton(this.raptor.getPlugin("dockToElement")),this.raptor.persist("docked",!1)},Uo.prototype.toggleDockToScreen=function(){this.dockState?"undefined"!=typeof this.dockState.dockedTo?(this.undockFromElement(),this.dockToScreen()):this.undockFromScreen():this.dockToScreen()},Uo.prototype.dockToScreen=function(){if(!this.dockState){var t=this.raptor.getLayout("toolbar");if(t.isReady()){var e=t.getElement();this.marker=an("<marker>").addClass(this.options.baseClass+"-marker").insertAfter(e),e.addClass(this.options.baseClass+"-docked"),t.disableDragging(),this.dockState=re(e,{position:this.options.position,spacer:this.options.spacer,under:this.options.under}),t.isVisible()||(this.dockState.spacer.removeClass(this.options.baseClass+"-visible"),this.dockState.spacer.addClass(this.options.baseClass+"-hidden")),this.activateButton(this.raptor.getPlugin("dockToScreen")),this.raptor.persist("docked",!0)}}},Uo.prototype.undockFromScreen=function(){if(this.dockState){var t=this.raptor.getLayout("toolbar"),e=se(this.dockState);this.marker.replaceWith(e),t.enableDragging(),t.constrainPosition(),this.dockState=null,e.removeClass(this.options.baseClass+"-docked"),this.deactivateButton(this.raptor.getPlugin("dockToScreen")),this.raptor.persist("docked",!1)}},Uo.prototype.deactivateButton=function(t){"undefined"!=typeof t&&"undefined"!=typeof t.button&&L(t.button)},Uo.prototype.activateButton=function(t){"undefined"!=typeof t&&"undefined"!=typeof t.button&&Q(t.button)},pn.registerPlugin(new Uo),pn.registerUi(new vo({name:"dockToScreen",action:function(){this.raptor.unify(function(t){t.plugins.dock.toggleDockToScreen()})}})),pn.registerUi(new vo({name:"dockToElement",action:function(){this.raptor.unify(function(t){t.plugins.dock.toggleDockToElement()})}})),pn.registerUi(new Bo({name:"embed",state:null,dialogOptions:{width:600,height:400},applyAction:function(t){this.raptor.actionApply(function(){ci(t.find("textarea").val())})},getDialogTemplate:function(){var t=an("<div>").html(this.raptor.getTemplate("embed.dialog",this.options));t.find("textarea").change(function(e){t.find("."+this.options.baseClass+"-preview").html(an(e.target).val())}.bind(this));var e=t.find("."+this.options.baseClass+"-panel-tabs");return e.find("li").click(function(){e.find("ul li").removeClass("ui-state-active").removeClass("ui-tabs-selected"),an(this).addClass("ui-state-active").addClass("ui-tabs-selected"),e.children("div").hide().eq(an(this).index()).show()}),t}})),pn.registerUi(new xo({name:"floatLeft",applyToElement:function(t){t.removeClass(this.options.cssPrefix+"float-right"),t.toggleClass(this.options.cssPrefix+"float-left"),_(t,["class"])},getElement:function(t){var e=an(t.commonAncestorContainer).find("img");return e.length?e:null}})),pn.registerUi(new xo({name:"floatNone",applyToElement:function(t){t.removeClass(this.options.cssPrefix+"float-right"),t.removeClass(this.options.cssPrefix+"float-left"),_(t,["class"])},getElement:function(t){var e=an(t.commonAncestorContainer).find("img");return e.length?e:null}})),pn.registerUi(new xo({name:"floatRight",applyToElement:function(t){t.removeClass(this.options.cssPrefix+"float-left"),t.toggleClass(this.options.cssPrefix+"float-right"),_(t,["class"])},getElement:function(t){var e=an(t.commonAncestorContainer).find("img");return e.length?e:null}})),pn.registerUi(new yo({name:"guides",action:function(){this.raptor.getElement().toggleClass(this.getClassName()),this.updateButtonState()},updateButtonState:function(){this.raptor.getElement().hasClass(this.getClassName())?Q(this.button):L(this.button)},init:function(){return this.raptor.bind("cancel",this.removeClass.bind(this)),this.raptor.bind("saved",this.removeClass.bind(this)),yo.prototype.init.call(this)},removeClass:function(){this.raptor.getElement().removeClass(this.getClassName())},getClassName:function(){return this.options.baseClass+"-visible"},mouseEnter:function(){yo.prototype.mouseEnter.call(this),this.updateButtonState()},mouseLeave:function(){yo.prototype.mouseLeave.call(this),this.updateButtonState()}})),pn.registerUi(new vo({name:"historyRedo",hotkey:["ctrl+y","ctrl+shift+z"],action:function(){this.raptor.historyForward()},init:function(){return this.raptor.bind("historyChange",this.historyChange.bind(this)),vo.prototype.init.apply(this,arguments),N(this.button),this.button},historyChange:function(){this.raptor.present<this.raptor.history.length-1?M(this.button):N(this.button)}})),pn.registerUi(new vo({name:"historyUndo",hotkey:"ctrl+z",action:function(){this.raptor.historyBack()},init:function(){return this.raptor.bind("historyChange",this.historyChange.bind(this)),vo.prototype.init.apply(this,arguments),N(this.button),this.button},historyChange:function(){0===this.raptor.present?N(this.button):M(this.button)}})),pn.registerUi(new yo({name:"hrCreate",action:function(){ci("<hr/>")}})),pn.registerUi(new Bo({name:"imageResize",proportional:!0,image:null,dialogOptions:{width:450},action:function(){var t=this.getDialog();this.image=r(this.layout.target),this.originalWidth=this.layout.target.width,this.originalHeight=this.layout.target.height,t.find("[name=width]").val(this.layout.target.width),t.find("[name=height]").val(this.layout.target.height),this.openDialog()},applyAction:function(){var t=this.getDialog(),e=t.find("[name=width]").val(),i=t.find("[name=height]").val();this.raptor.actionApply(function(){an("#"+this.image).css({width:e,height:i}).attr("width",e).attr("height",i),pi(an("#"+this.image)[0])}.bind(this))},getDialogTemplate:function(){var t=an("<div>").html(this.raptor.getTemplate("image-resize.dialog",this.options)),e=this;t.find("."+this.options.baseClass+"-lock-proportions").hover(function(){an(this).addClass("ui-state-hover")},function(){an(this).removeClass("ui-state-hover")}).click(function(){An[e.name].instance.proportional=!An[e.name].instance.proportional,an(this).find(".ui-icon").toggleClass("ui-icon-locked",e.proportional).toggleClass("ui-icon-unlocked",!e.proportional)});var i=t.find("[name=width]"),o=t.find("[name=height]");return i.on("input.raptor",function(){var t=parseInt(an(this).val());isNaN(t)||An[e.name].instance.proportional&&o.val(Math.round(Math.abs(An[e.name].instance.originalHeight/An[e.name].instance.originalWidth*t)))}),o.on("input.raptor",function(){var t=parseInt(an(this).val());isNaN(t)||An[e.name].instance.proportional&&i.val(Math.round(Math.abs(An[e.name].instance.originalWidth/An[e.name].instance.originalHeight*t)))}),t}})),pn.registerUi(new Bo({name:"insertFile",state:!1,imageTypes:["jpeg","jpg","png","gif"],options:{customAction:!1},action:function(t){return this.options.customAction&&this.options.customAction.call(this,t)!==!1?void 0:("undefined"!=typeof t?(this.getDialog().find("[name=location]").val(t.getAttribute("src")||t.getAttribute("href")),this.getDialog().find("[name=name]").val(t.innerHTML)):(this.getDialog().find("[name=location]").val(""),this.getDialog().find("[name=name]").val("")),this.openDialog())},applyAction:function(){var t=this.getDialog(),e=t.find("[name=location]").val(),i=t.find("[name=name]").val();this.raptor.actionApply(function(){this.insertFiles([{location:e,name:i}])}.bind(this))},getDialogTemplate:function(){return an(this.raptor.getTemplate("insert-file.dialog"))},getFileType:function(t){if("undefined"!=typeof t.extension)return t.extension.toLowerCase();var e=t.location.split(".");return e.length>0?e.pop().toLowerCase():"unknown"},isImage:function(t){return-1!==an.inArray(this.getFileType(t),this.imageTypes)},insertFiles:function(t){this.raptor.resume(),t.length&&this.raptor.actionApply(function(){1===t.length&&(this.isImage(t[0])&&an(mi()).is("img")||xi())?this.replaceFiles(t):this.linkFiles(t)}.bind(this))},linkFiles:function(t){Qi("a",this.raptor.getElement()),Li();var e=rangy.createApplier({tag:"a",attributes:{href:t[0].location.replace(/([^:])\/\//g,"$1/"),title:t[0].name,"class":this.options.cssPrefix+"file "+this.options.cssPrefix+this.getFileType(t[0])}});e.applyToSelection()},replaceFiles:function(t){for(var e=[],i=0;i<t.length;i++)e.push(this.prepareElement(t[i]));ci(e.join(", "))},prepareElement:function(t,e){return this.isImage(t)?this.prepareImage(t,this.options.cssPrefix+this.getFileType(t),e):this.prepareAnchor(t,this.options.cssPrefix+"file "+this.options.cssPrefix+this.getFileType(t),e)},prepareImage:function(t,e,i){return an("<div/>").html(an("<img/>").attr({src:t.location.replace(/([^:])\/\//g,"$1/"),title:i||t.name,"class":e})).html()},prepareAnchor:function(t,e,i){return an("<div/>").html(an("<a/>").attr({href:t.location.replace(/([^:])\/\//g,"$1/"),title:t.name,"class":e}).html(i||t.name)).html()}}));var gn,mn,fn,bn;pn.registerUi(new ko({name:"linkCreate",dialogOptions:{width:850},applyAction:function(){this.raptor.actionApply(function(){if(bn&&""!==bn.href.trim()){var t=window.getSelection().getRangeAt(0);if("A"!==t.commonAncestorContainer.tagName){Ni(),Qi("a",this.raptor.getElement()),Li();var e=rangy.createApplier({tag:"a",attributes:bn});e.applyToSelection(),te(this.raptor.getElement(),["a"])}else for(var i in bn)t.commonAncestorContainer.setAttribute(i,bn[i])}}.bind(this))},openDialog:function(){this.getDialog();var t=fi();if(t.is("a"))for(var e=0,i=mn.length;i>e;e++){var o=mn[e].updateInputs(t,fn.children("div:eq("+e+")"));o&&gn.find(":radio:eq("+e+")").trigger("click")}ko.prototype.openDialog.call(this)
},validateDialog:function(){var t=gn.find(":radio:checked").val();return bn=mn[t].getAttributes(fn.children("div:eq("+t+")")),bn!==!1},selectionToggle:function(){var t=fi();return t&&t.closest("a").length?!0:!1},getDialogTemplate:function(){var t=an(this.raptor.getTemplate("link.dialog",this.options));gn=t.find("[data-menu]"),fn=t.find("[data-content]"),mn=[new No(this.raptor),new Po(this.raptor),new Fo(this.raptor),new Mo(this.raptor)];for(var e=0,i=mn.length;i>e;e++)an(this.raptor.getTemplate("link.label",mn[e])).click(function(){fn.children("div").hide(),fn.children("div:eq("+an(this).index()+")").show()}).find(":radio").val(e).end().appendTo(gn),an("<div>").append(mn[e].getContent()).hide().appendTo(fn);return gn.find(":radio:first").prop("checked",!0),fn.children("div:first").show(),t}})),pn.registerUi(new wo({name:"linkRemove",disable:!0,action:function(){this.raptor.actionApply(function(){document.execCommand("unlink")}.bind(this))},selectionToggle:function(){var t=fi();return t&&t.closest("a").length?!0:!1}})),Fo.prototype=Object.create(Po.prototype),Fo.prototype.getContent=function(){return this.raptor.getTemplate("link.document",this.raptor.options)},Mo.prototype.getContent=function(){return this.raptor.getTemplate("link.email",this.raptor.options)},Mo.prototype.getAttributes=function(t){var e=t.find("[name=email]").val(),i=t.find("[name=subject]").val();return an.trim(i)&&(i="?Subject="+encodeURIComponent(i)),""===an.trim(e)?!1:{href:"mailto:"+e+i}},Mo.prototype.updateInputs=function(t,e){var i=!1;if(email="",subject="",href=t.attr("href"),0===href.indexOf("mailto:")){var o=href.indexOf("?Subject=");o>0?(email=href.substring(7,o),subject=href.substring(o+9)):(email=href.substring(7),subject=""),i=!0}return e.find("[name=email]").val(email),e.find("[name=subject]").val(subject),i},Po.prototype.getContent=function(){return this.raptor.getTemplate("link.external",this.raptor.options)},Po.prototype.getAttributes=function(t){var e=t.find("[name=location]").val(),i=t.find("[name=blank]").is(":checked"),o={href:e};return i&&(o.target="_blank"),"http://"===an.trim(o.href)?!1:o},Po.prototype.updateInputs=function(t,e){var i=!1,o=t.attr("href");return 0===o.indexOf("http://")?(e.find("[name=location]").val(o),i=!0):e.find("[name=location]").val("http://"),"_blank"===t.attr("target")?e.find("[name=blank]").prop("checked",!0):e.find("[name=blank]").prop("checked",!1),i},No.prototype.getContent=function(){return this.raptor.getTemplate("link.internal",{baseClass:this.raptor.options.baseClass,domain:window.location.protocol+"//"+window.location.host})},No.prototype.getAttributes=function(t){var e=t.find("[name=location]").val(),i=t.find("[name=blank]").is(":checked"),o={href:e};return i&&(o.target="_blank"),o},No.prototype.updateInputs=function(t,e){var i=t.attr("href");return e.find("[name=location]").val(-1===i.indexOf("http://")&&-1===i.indexOf("mailto:")?i:""),"_blank"===t.attr("target")?e.find("[name=blank]").prop("checked",!0):e.find("[name=blank]").prop("checked",!1),!1},pn.registerUi(new vo({name:"listOrdered",action:function(){document.execCommand("insertOrderedList")}})),pn.registerUi(new vo({name:"listUnordered",action:function(){document.execCommand("insertUnorderedList")}})),pn.registerUi(new vo({name:"logo",init:function(){var t=vo.prototype.init.apply(this,arguments);return t.find(".ui-button-icon-primary").css({"background-image":"url(//www.raptor-editor.com/logo/VERSION?json="+encodeURIComponent(JSON.stringify(this.raptor.options))+")"}),t},action:function(){window.open("http://www.raptor-editor.com/about/VERSION","_blank")}})),Qo.prototype=Object.create(Ao.prototype),Qo.prototype.init=function(){this.raptor.getElement().on("keypress.raptor",this.preventReturn.bind(this)),this.raptor.getElement().on("drop.raptor",this.preventDrop.bind(this))},Qo.prototype.preventReturn=function(t){return this.options.enabled&&13===t.which?!1:void 0},Qo.prototype.preventDrop=function(){return this.options.enabled},pn.registerPlugin(new Qo),Lo.prototype=Object.create(Ao.prototype),Lo.prototype.init=function(){this.raptor.registerHotkey("return",this.returnPressed.bind(this)),this.raptor.registerHotkey("shift+return",this.shiftReturnPressed.bind(this))},Lo.prototype.returnPressedList=function(t){var e=t.closest("li");if(!e.length)return!1;var i=e.closest("ul, ol"),o=i.get(0).tagName.toLowerCase(),n=!1;if(Be(e)){var a=e.next();a.length&&a.is("li")?(n=listBreakByReplacingSelection(o,"li",this.raptor.getElement(),"<p> </p>"),n&&ui(n.get(0))):(e.remove(),ui(an("<p> </p>").insertAfter(i).get(0)))}else n=listBreakAtSelection(o,"li",this.raptor.getElement()),n&&Ai(n.get(0));return!0},Lo.prototype.returnPressed=function(){var t=fi();return this.returnPressedList(t)?!0:!1},Lo.prototype.shiftReturnPressedList=function(t){if(t.closest("li").length){var e=t.closest("ul, ol").get(0).tagName.toLowerCase(),i=listBreakByReplacingSelection(e,"li",this.raptor.getElement(),"<p> </p>");return i&&ui(i.get(0)),!0}return!1},Lo.prototype.shiftReturnPressed=function(){var t=fi();return this.shiftReturnPressedList(t)?!0:!1},pn.registerPlugin(new Lo);var vn=!1,yn=null,Cn=null,wn=null;Oo.prototype=Object.create(Ao.prototype),Oo.prototype.enable=function(){this.raptor.getElement().on("paste.raptor",this.capturePaste.bind(this))},Oo.prototype.capturePaste=function(t){if(!wn){if(vn)return!1;oi();var e=this.raptor.getNode(),i=e.innerHTML;return e&&e.clipboardData&&t.clipboardData.getData?(e.innerHTML=/text\/html/.test(t.clipboardData.types)?t.clipboardData.getData("text/html"):/text\/plain/.test(t.clipboardData.types)?t.clipboardData.getData("text/plain"):"",this.waitForPasteData(e,i),t.stopPropagation(),t.preventDefault(),!1):(e.innerHTML="",this.waitForPasteData(e,i),!0)}},Oo.prototype.waitForPasteData=function(t,e){""!==t.innerHTML?this.processPaste(t,e):setTimeout(function(){this.waitForPasteData(t,e)}.bind(this),20)},Oo.prototype.processPaste=function(t,e){var i=t.innerHTML;t.innerHTML=e,this.showPasteDialog(i)},Oo.prototype.showPasteDialog=function(t){z(this.getDialog(this,t))},Oo.prototype.pasteContent=function(t){this.raptor.actionApply(function(){var e=Re();ni(),t=this.filterAttributes(t),t=this.filterChars(t),ci(an('<placeholder id="'+e+'">'+t+"</placeholder>"));var i=an("#"+e);ui(i.get(0)),oi(),i.contents().unwrap(),ni()}.bind(this))},Oo.prototype.getDialog=function(t,e){if(Cn=t,!yn){yn=an("<div>").html(this.raptor.getTemplate("paste.dialog",this.options));for(var i=0,o=this.options.panels.length;o>i;i++)yn.find("."+this.options.baseClass+"-tab-"+this.options.panels[i]).css("display",""),0===i&&yn.find("."+this.options.baseClass+"-content-"+this.options.panels[i]).css("display","");yn.find("."+this.options.baseClass+"-panel-tabs > div:visible:not(:first)").hide(),G(yn,{modal:!0,resizable:!0,autoOpen:!1,width:800,height:500,minWidth:700,minHeight:400,title:a("pasteDialogTitle"),dialogClass:this.options.baseClass+"-dialog",close:function(){vn=!1},buttons:[{text:a("pasteDialogOKButton"),click:function(){var t=yn.find("."+this.options.baseClass+"-area:visible");H(yn),Cn.pasteContent(t.html())}.bind(this),icons:{primary:"ui-icon-circle-check"}},{text:a("pasteDialogCancelButton"),click:function(){ai(),H(yn)},icons:{primary:"ui-icon-circle-close"}}]});var n=yn.find("."+this.options.baseClass+"-panel-tabs");n.find("li").click(function(){n.find("ul li").removeClass("ui-state-active").removeClass("ui-tabs-selected"),an(this).addClass("ui-state-active").addClass("ui-tabs-selected"),n.children("div").hide().eq(an(this).index()).show()})}return this.updateAreas(e),yn},Oo.prototype.filterAttributes=function(t){var e=[{regexp:/(<meta\s*[^>]*\s*>)|(<\s*link\s* href="file:[^>]*\s*>)|(<\/?\s*\w+:[^>]*\s*>)/gi,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[^>]*>)/gi,handler:""},{regexp:/(style="[^"]*mso-[^;][^"]*")|(style="margin:\s*[^;"]*;")/gi,handler:""},{regexp:/(?:<style([^>]*)>([\s\S]*?)<\/style>|<link\s+(?=[^>]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,handler:""},{regexp:/(<\s*script[^>]*>((.|\s)*?)<\\?\/\s*script\s*>)|(<\s*script\b([^<>]|\s)*>?)|(<[^>]*=(\s|)*[("|')]javascript:[^$1][(\s|.)]*[$1][^>]*>)/gi,handler:""}];return an.each(e,function(e,i){t=t.replace(i.regexp,i.handler)}),t},Oo.prototype.filterChars=function(t){var e=t;return e=e.replace(/[\u2018|\u2019|\u201A]/g,"'"),e=e.replace(/[\u201C|\u201D|\u201E]/g,'"'),e=e.replace(/\u2026/g,"..."),e=e.replace(/[\u2013|\u2014]/g,"-"),e=e.replace(/\u02C6/g,"^"),e=e.replace(/\u2039/g,"<"),e=e.replace(/\u203A/g,">"),e=e.replace(/[\u02DC|\u00A0]/g," ")},Oo.prototype.stripAttributes=function(t){t=an("<div/>").html(t);var e=this.options.allowedAttributes;return an(t.find("*")).each(function(){var t=[];an.each(this.attributes,function(i,o){-1===an.inArray(o.nodeName,e)&&t.push(o.nodeName)});for(var i=0;i<t.length;i++)an(this).attr(t[i],null)}),t.html()},Oo.prototype.stripEmpty=function(t){var e=an("<div/>").html(t),i=this.options.allowedEmptyTags;return e.find("*").filter(function(){return-1!==an.inArray(this.tagName.toLowerCase(),i)?!1:an(this).find(i.join(",")).length?!1:""===an.trim(an(this).text())}).remove(),e.html()},Oo.prototype.stripSpans=function(t){var e=an("<div/>").html(t);return e.find("span").each(function(){this.attributes.length||an(this).replaceWith(an(this).html())}),e.html()},Oo.prototype.updateAreas=function(t){var e=t;e=this.filterAttributes(e),e=this.filterChars(e),e=this.stripEmpty(e),e=this.stripAttributes(e),e=this.stripSpans(e),e=Yi(e,this.options.allowedTags);var i=an("<div/>").html(t).text(),o=t;yn.find("."+this.options.baseClass+"-markup").html(e),yn.find("."+this.options.baseClass+"-plain").html(i.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1<br/>$2")),yn.find("."+this.options.baseClass+"-rich").html(e),yn.find("."+this.options.baseClass+"-source").text(o)},an(document).on("keyup.raptor keydown.raptor",function(t){wn=t.shiftKey}),pn.registerPlugin(new Oo),Go.prototype=Object.create(Ao.prototype),Go.prototype.init=function(){this.raptor.bind("enabled",this.enabled.bind(this)),this.raptor.bind("change",this.check.bind(this))},Go.prototype.enabled=function(){this.check(this.raptor.getHtml())},Go.prototype.check=function(t){if(t=t.trim(),!t||"<br>"===t||"<div><br></div>"===t){var e=this.raptor.getNode(),i=document.createElement(this.options.tag);i.innerHTML=this.options.content,e.innerHTML="",e.appendChild(i),this.options.select&&ui(e.childNodes[0]),this.raptor.checkChange()}},pn.registerPlugin(new Go),pn.registerUi(new vo({name:"save",action:function(){this.getPlugin()?this.getPlugin().save():Z({text:a("saveNotConfigured"),type:"error"})},init:function(){if(null!==this.options.plugin){var t=vo.prototype.init.apply(this,arguments);return this.options.checkDirty!==!1&&(this.raptor.bind("dirty",this.dirty.bind(this)),this.raptor.bind("cleaned",this.clean.bind(this)),this.clean()),t}},getPlugin:function(){return this.raptor.getPlugin(this.options.plugin)},dirty:function(){M(this.button)},clean:function(){N(this.button)}})),zo.prototype=Object.create(Ao.prototype),pn.registerPlugin(new zo),zo.prototype.save=function(t){"undefined"!=typeof Un&&t!==!1&&Un.save(!1);var e={};this.raptor.unify(function(t){if(this.options.checkDirty===!1||t.isDirty()){t.clean();var i=t.getPlugin("saveJson"),o=i.options.id.call(i),n=t.getHtml();e[o]=i.options.data?i.options.data.call(this,n):n}}.bind(this));var i={};this.size=Object.keys(e).length,i[this.options.postName]=JSON.stringify(e),this.options.post&&(i=this.options.post.call(this,i)),an.ajax({type:this.options.type||"post",dataType:this.options.dataType||"json",url:this.options.url,data:i}).done(this.done.bind(this)).fail(this.fail.bind(this))},zo.prototype.done=function(t,e,i){this.raptor.unify(function(o){(!o.getPlugin("saveJson").options.checkDirty||o.isDirty())&&o.saved([t,e,i])});var o=a("saveJsonSaved",{saved:this.size});this.options.formatResponse&&(o=this.options.formatResponse.call(this,t,e,i)||o),Z({text:o,type:"success"}),this.options.retain||this.raptor.unify(function(t){t.disableEditing()})},zo.prototype.fail=function(t,e){this.raptor.fire("save-failed",[t.responseJSON||t.responseText,e,t]);var i=a("saveJsonFail",{failed:this.size});this.options.formatResponse&&(i=this.options.formatResponse.call(this,t.responseJSON||t.responseText,e,t)||i),Z({text:i,type:"error"})},Ho.prototype=Object.create(Ro.prototype),Ho.prototype.init=function(){var t=Ro.prototype.init.call(this);return"undefined"!=typeof this.options.snippets&&Object.keys(this.options.snippets).length>0?t:void 0},Ho.prototype.insertSnippet=function(t){ci(this.options.snippets[t])},Ho.prototype.menuItemMouseDown=function(t){this.raptor.actionApply(function(){this.insertSnippet(an(t.currentTarget).data("name"))}.bind(this))},Ho.prototype.menuItemMouseEnter=function(t){this.raptor.actionPreview(function(){this.insertSnippet(an(t.currentTarget).data("name"))}.bind(this))},Ho.prototype.menuItemMouseLeave=function(){this.raptor.actionPreviewRestore()},Ho.prototype.getMenuItems=function(){var t="";for(var e in this.options.snippets)t+=this.raptor.getTemplate("snippet-menu.item",{name:e});return t},pn.registerUi(new Ho);var xn=!1;pn.registerUi(new Bo({name:"specialCharacters",dialogOptions:{width:645},options:{setOrder:["symbols","mathematics","arrows","greekAlphabet"],characterSets:{symbols:{name:a("specialCharactersSymbols"),characters:[["<","<","less than"],[">",">","greater than"],["&","&","ampersand"],['"',""","quotation mark"],[" ","non-breaking space: ' '"],[" ","em space: ' '"],[" ","en space: ' '"],[" ","thin space: ''"],["—","em dash"],["–","en dash"],["−","minus"],["-","hyphen"],["‾","overbar space"],["¢","cent"],["£","pound"],["€","euro"],["§","section"],["†","dagger"],["‡","double dagger"],["‘","left single quotes"],["’","right single quotes"],["'","single quotes"],["☺","smiley face"],["★","black star"],["☆","white star"],["☐","check box"],["·","middle dot"],["•","bullet"],["©","copyright"],["®","registered"],["™","trade"],["¿","inverted question mark"],["¡","inverted exclamation mark"],["Å","Angström"],["…","ellipsis"],["⊕","earth"],["⊙","sun"],["♀","female"],["♂","male"],["♣","clubs or shamrock"],["♠","spades"],["♥","hearts or valentine"],["♦","diamonds"],["◊","diamond"]]},mathematics:{name:a("specialCharactersMathematics"),characters:[["<","less than"],["≤","less than or equal to"],[">","greater than"],["≥","greater than or equal to"],["≠","not equal"],["≈","approximately equal to"],["≡","identically equal to"],["≅","congruent to"],["∝","proportional"],["∴","therefore"],["∑","summation"],["∏","product"],["′","prime or minutes"],["″","double prime or seconds"],["Δ","delta"],["∇","del"],["∂","partial"],["∫","integral"],["·","middle dot"],["⋅","dot operator"],["•","bullet"],["−","minus sign"],["×","multipllcation sign"],["÷","division sign"],["⁄","fraction slash, (ordinary / \\)"],["±","plus or minus"],["°","degree sign"],["⌊","floor function"],["⌋","floor function"],["⌈","ceiling function"],["⌉","ceiling function"],["∗","asterisk operator, (ordinary *)"],["⊕","circled plus"],["⊗","circled times"],["º","masculine ordinal"],["⟨","bra"],["⟩","ket"],["∞","infinity"],["π","pi"],["½","half"],["ℵ","aleph"],["√","radical"],["∠","angle"],["⊥","perpendicular"],["ℜ","real"],["∈","is an element of"],["∉","not an element of"],["∅","null set"],["⊂","subset of"],["⊆","subset or or equal to"],["⊄","not a subset"],["∩","intersection"],["∪","union"],["∼","tilde operator (ordinary ~)"],["Ø","slash O"],["∧","logical and"],["Λ","lambda (and)"],["∨","logical or"],["¬","not sign"],["∼","tilde operator (ordinary ~)"],["→","right arrow"],["⇒","double right arrow"],["←","left arrow"],["⇐","left double arrow"],["↔","left right arrow"],["⇔","left right double arrow"]]},arrows:{name:a("specialCharactersArrows"),characters:[["↓","down arrow"],["⇓","down double arrow"],["↑","up arrow"],["⇑","up double arrow"],["↵","arriage return arrow"],["→","right arrow"],["⇒","double right arrow"],["←","left arrow"],["⇐","left double arrow"],["↔","left right arrow"],["⇔","left right double arrow"]]},greekAlphabet:{name:a("specialCharactersGreekAlphabet"),characters:[["α","alpha"],["β","beta"],["γ","gamma"],["δ","delta"],["ε","epsilon"],["ζ","zeta"],["η","eta"],["θ","theta"],["ι","iota"],["κ","kappa"],["λ","lambda"],["μ","mu"],["ν","nu"],["ξ","xi"],["ο","omicron"],["π","pi"],["ρ","rho"],["σ","sigma"],["τ","tau"],["υ","upsilon"],["φ","phi"],["χ","chi"],["ψ","psi"],["ω","omega"],["Α","alpha"],["Β","beta"],["Γ","gamma"],["Δ","delta"],["Ε","epsilon"],["Ζ","zeta"],["Η","eta"],["Θ","theta"],["Ι","iota"],["Κ","kappa"],["Λ","lambda"],["Μ","mu"],["Ν","nu"],["Ξ","xi"],["Ο","omicron"],["Π","pi"],["Ρ","rho"],["Σ","sigma"],["Τ","tau"],["Υ","upsilon"],["Φ","phi"],["Χ","chi"],["Ψ","psi"],["Ω","omega"]]}}},applyAction:function(){this.raptor.actionApply(function(){xn&&ci(xn),xn=!1})},getDialogTemplate:function(){for(var t,e,i,o,n=an(this.raptor.getTemplate("special-characters.dialog")).appendTo("body").hide(),a=0;a<this.options.setOrder.length;a++){t=this.options.setOrder[a],n.find("ul").append(this.raptor.getTemplate("special-characters.tab-li",{baseClass:this.options.baseClass,name:this.options.characterSets[t].name,key:t})),e=an(this.raptor.getTemplate("special-characters.tab-content",{baseClass:this.options.baseClass,key:t}));for(var r=[],s=0;s<this.options.characterSets[t].characters.length;s++)i=this.options.characterSets[t].characters[s],o=this.raptor.getTemplate("special-characters.tab-button",{htmlEntity:i[0],description:i[1],setKey:t,charactersIndex:s}),r.push(o);e.append(r.join("")),n.find("ul").after(e)}n.show();var l=this;return n.find("button").each(function(){D(an(this))}).click(function(){var t=an(this).attr("data-setKey"),e=an(this).attr("data-charactersIndex");xn=l.options.characterSets[t].characters[e][0],l.getOkButton(l.name).click.call(this)}),V(n),n},getCancelButton:function(){}}));pn.registerUi(new Bo({name:"statistics",options:{maximum:100,showCountInButton:!0},dialogOptions:{width:350},init:function(){return this.options.showCountInButton&&this.raptor.bind("change",this.updateButton.bind(this)),Bo.prototype.init.apply(this,arguments)},applyAction:function(){},getCancelButton:function(){},getCharacterCount:function(){return an("<div>").html(this.raptor.getHtml()).text().trim().length},getContent:function(){return an("<div>").html(this.raptor.getHtml()).text().trim()},updateButton:function(){var t=null,e=null,i=this.getCharacterCount();this.options.maximum?(t=this.options.maximum-i,e=t>=0?a("statisticsButtonCharacterRemaining",{charactersRemaining:t}):a("statisticsButtonCharacterOverLimit",{charactersRemaining:-1*t})):e=a("statisticsButtonCharacters",{characters:i}),U(this.button,e),this.options.maximum&&(0>t?this.button.addClass("ui-state-error").removeClass("ui-state-default"):t>=0&&15>=t?this.button.addClass("ui-state-highlight").removeClass("ui-state-error ui-state-default"):this.button.removeClass("ui-state-highlight ui-state-error").addClass("ui-state-default"))},getButton:function(){return this.button||(vo.prototype.getButton.call(this),D(this.button,{text:!0}),this.options.showCountInButton&&this.updateButton()),this.button},getDialogTemplate:function(){return an(this.raptor.getTemplate("statistics.dialog",this.options))},openDialog:function(){var t=this.getDialog(),e=this.getContent(),i=this.options.maximum?this.options.maximum-e.length:"∞";t.find("[data-name=truncation]").html(B(i)&&0>i?a("statisticsDialogTruncated",{limit:this.options.maximum}):a("statisticsDialogNotTruncated"));var o=e.split(" ").length;t.find("[data-name=words]").html(1===o?a("statisticsDialogWord",{words:o}):a("statisticsDialogWords",{words:o}));var n=e.split(". ").length;t.find("[data-name=sentences]").html(1===n?a("statisticsDialogSentence",{sentences:n}):a("statisticsDialogSentences",{sentences:n}));t.find("[data-name=characters]").html(i>=0||!B(i)?a("statisticsDialogCharactersRemaining",{characters:e.length,charactersRemaining:i}):a("statisticsDialogCharactersOverLimit",{characters:e.length,charactersRemaining:-1*i})),Bo.prototype.openDialog.call(this)}})),Vo.prototype=Object.create(xo.prototype),Vo.prototype.getElement=function(t){var e=an(t.commonAncestorContainer.parentNode).closest("td, th");return e.length&&!e.find(this.raptor.getElement()).length?e[0]:null},Zo.prototype=Object.create(So.prototype),Zo.prototype.createTable=function(t){this.raptor.actionApply(function(){ci(de(an(Xi(t.target.cellIndex+1,t.target.parentNode.rowIndex+1,{placeHolder:" "}))))})},Zo.prototype.highlight=function(t){var e=oo(this.menuTable.get(0),{x:0,y:0},{x:t.target.cellIndex,y:t.target.parentNode.rowIndex});this.highlightRemove(t),an(e).addClass(this.options.baseClass+"-menu-hover"),this.raptor.actionPreview(function(){ci(de(an(Xi(t.target.cellIndex+1,t.target.parentNode.rowIndex+1,{placeHolder:" "}))))})},Zo.prototype.highlightRemove=function(){this.menuTable.find("."+this.options.baseClass+"-menu-hover").removeClass(this.options.baseClass+"-menu-hover"),this.raptor.actionPreviewRestore()},Zo.prototype.getMenu=function(){return this.menu||(this.menuContent=this.raptor.getTemplate("table.create-menu",this.options),So.prototype.getMenu.call(this).on("click","td",this.createTable.bind(this)).on("mouseenter","td",this.highlight.bind(this)).mouseleave(this.highlightRemove.bind(this)),this.menuTable=this.menu.find("table:eq(0)")),this.menu},pn.registerUi(new Zo),pn.registerUi(new Vo({name:"tableDeleteColumn",applyToElement:function(t){var e,i=eo(t),o=t.parentNode.parentNode.parentNode;return _i(t.parentNode.parentNode.parentNode,i.x),lo(o)?void o.parentNode.removeChild(o):(e=io(o,i),!e&&i.x>0&&(e=io(o,{x:i.x-1,y:i.y})),void ui(e))}})),pn.registerUi(new Vo({name:"tableDeleteRow",applyToElement:function(t){var e,i=eo(t),o=t.parentNode.parentNode.parentNode;return to(t.parentNode.parentNode.parentNode,i.y),lo(o)?void o.parentNode.removeChild(o):(e=io(o,i),!e&&i.y>0&&(e=io(o,{x:i.x,y:i.y-1})),void ui(e))}})),pn.registerUi(new Vo({name:"tableInsertColumn",applyToElement:function(t){qi(t.parentNode.parentNode.parentNode,eo(t).x+1,{placeHolder:" "})}})),pn.registerUi(new Vo({name:"tableInsertRow",applyToElement:function(t){$i(t.parentNode.parentNode.parentNode,eo(t).y+1,{placeHolder:" "})}})),pn.registerUi(new vo({name:"tableMergeCells",action:function(){}})),pn.registerUi(new vo({name:"tableSplitCells",action:function(){}}));var En=!1,Bn=null;Yo.prototype=Object.create(Ao.prototype),Yo.prototype.init=function(){this.raptor.bind("selectionCustomise",this.selectionCustomise.bind(this)),this.raptor.registerHotkey("tab",this.tabToNextCell.bind(this)),this.raptor.registerHotkey("shift+tab",this.tabToPrevCell.bind(this)),this.raptor.getElement().on("mousedown","tbody td",this.cellMouseDown.bind(this)).on("mouseover","tbody td",this.cellMouseOver.bind(this)).mouseup(this.cellMouseUp.bind(this))},Yo.prototype.selectionCustomise=function(){var t,e=[];return an("."+this.options.baseClass+"-cell-selected").each(function(){t=rangy.createRange(),t.selectNodeContents(this),e.push(t)}),e},Yo.prototype.cellMouseDown=function(t){this.raptor.isEditing()&&(Bn=eo(t.target),null!==Bn&&(En=!0,an(t.target).closest("table").addClass(this.options.baseClass+"-selected")))},Yo.prototype.cellMouseUp=function(t){En=!1;var e=an(t.target).closest("td"),i=!1;if(e.length>0&&null!==Bn){var o=eo(e.get(0));(null===o||o.x==Bn.x&&o.y==Bn.y)&&(i=!0)}else i=!0;i&&(an("."+this.options.baseClass+"-selected").removeClass(this.options.baseClass+"-selected"),an("."+this.options.baseClass+"-cell-selected").removeClass(this.options.baseClass+"-cell-selected"))},Yo.prototype.cellMouseOver=function(t){if(En){var e=oo(an(t.target).closest("table").get(0),Bn,eo(t.target));an("."+this.options.baseClass+"-cell-selected").removeClass(this.options.baseClass+"-cell-selected"),an(e).addClass(this.options.baseClass+"-cell-selected"),rangy.getSelection().removeAllRanges()}},Yo.prototype.tabToNextCell=function(){var t=rangy.getSelection().getRangeAt(0),e=Ye(t),i=an(e).closest("td");if(0===i.length)return!1;var o=i.next("td");0===o.length&&(o=i.closest("tr").next("tr").find("td:first"),0===o.length&&(o=i.closest("tbody").find("td:first"))),Oe(t,o),rangy.getSelection().setSingleRange(t)},Yo.prototype.tabToPrevCell=function(){var t=rangy.getSelection().getRangeAt(0),e=Ye(t),i=an(e).closest("td");if(0===i.length)return!1;var o=i.prev("td");0===o.length&&(o=i.closest("tr").prev("tr").find("td:last"),0===o.length&&(o=i.closest("tbody").find("td:last"))),Oe(t,o),rangy.getSelection().setSingleRange(t)},pn.registerPlugin(new Yo),Jo.prototype=Object.create(Ro.prototype),Jo.prototype.init=function(){return this.raptor.bind("selectionChange",this.updateButton.bind(this)),Ro.prototype.init.apply(this,arguments)},Jo.prototype.changeTag=function(t){if("undefined"!=typeof t&&"na"!==t){var e=fi(),i=this.raptor.getElement();if(e&&!e.is(i)){var o=e.closest("td, li, #"+i.attr("id"));0!==o.length&&(i=o)}Gi(t,["h1","h2","h3","h4","h5","h6","p","div","pre","address"],i)}},Jo.prototype.menuItemClick=function(t){Ro.prototype.menuItemClick.apply(this,arguments),this.raptor.actionApply(function(){this.changeTag(an(t.currentTarget).data("value"))}.bind(this))},Jo.prototype.menuItemMouseEnter=function(t){this.raptor.actionPreview(function(){this.changeTag(an(t.currentTarget).data("value"))}.bind(this))},Jo.prototype.menuItemMouseLeave=function(){this.raptor.actionPreviewRestore()},Jo.prototype.updateButton=function(){var t=bi()[0],e=this.getButton().getButton();if(t){var i=t.tagName.toLowerCase(),o=this.getMenu().find("[data-value="+i+"]");o.length?U(e,o.html()):U(e,a("tagMenuTagNA"))}},Jo.prototype.getMenuItems=function(){return this.raptor.getTemplate("tag-menu.menu",this.options)},pn.registerUi(new Jo),Wo.prototype=Object.create(wo.prototype),Wo.prototype.action=function(){Ui([this.getClass()],[this.options.cssPrefix+"center",this.options.cssPrefix+"left",this.options.cssPrefix+"right",this.options.cssPrefix+"justify"],this.raptor.getElement(),"span"),this.selectionChange()},Wo.prototype.selectionToggle=function(){return rangy.getSelection().getAllRanges().length>0&&zi("."+this.getClass(),this.raptor.getElement())},pn.registerUi(new Wo({name:"alignCenter",getClass:function(){return this.options.cssPrefix+"center"}})),pn.registerUi(new Wo({name:"alignJustify",getClass:function(){return this.options.cssPrefix+"justify"}})),pn.registerUi(new Wo({name:"alignLeft",getClass:function(){return this.options.cssPrefix+"left"}})),pn.registerUi(new Wo({name:"alignRight",getClass:function(){return this.options.cssPrefix+"right"}})),pn.registerUi(new Eo({name:"textBold",hotkey:"ctrl+b",tag:"strong",classes:["bold"]})),pn.registerUi(new Eo({name:"textItalic",hotkey:"ctrl+i",tag:"em",classes:["italic"]})),pn.registerUi(new Eo({name:"textStrike",tag:"del",classes:["strike"]})),pn.registerUi(new vo({name:"textBlockQuote",action:function(){document.execCommand("formatBlock",!1,"<blockquote>")}})),pn.registerUi(new yo({name:"textSizeDecrease",action:function(){Ni(),this.raptor.selectionConstrain(),Pi("small",this.options.cssPrefix+"small","big",this.options.cssPrefix+"big"),this.raptor.getElement().find("small."+this.options.cssPrefix+"small:empty, big."+this.options.cssPrefix+"big:empty").remove()}})),pn.registerUi(new yo({name:"textSizeIncrease",action:function(){Ni(),this.raptor.selectionConstrain(),Pi("big",this.options.cssPrefix+"big","small",this.options.cssPrefix+"small"),this.raptor.getElement().find("small."+this.options.cssPrefix+"small:empty, big."+this.options.cssPrefix+"big:empty").remove()}})),pn.registerUi(new Eo({name:"textUnderline",hotkey:"ctrl+u",tag:"u",classes:["underline"]})),pn.registerUi(new Eo({name:"textSub",tag:"sub",classes:["sub"]})),pn.registerUi(new Eo({name:"textSuper",tag:"sup",classes:["sup"]})),Ko.prototype=Object.create(Ao.prototype),Ko.prototype.init=function(){this.raptor.bind("layoutReady",function(t){an(t).on("mouseover","[title]",function(){an(this).attr("data-title",an(this).attr("title")).removeAttr("title")})})},pn.registerPlugin(new Ko);var kn=0,Tn=null;jo.prototype=Object.create(Ao.prototype),jo.prototype.enable=function(){this.raptor.bind("dirty",this.show.bind(this)),this.raptor.bind("cleaned",this.hide.bind(this))},jo.prototype.show=function(){kn++,pe(this.getElement()),this.getElement().addClass(this.options.baseClass+"-visible")},jo.prototype.hide=function(){0===--kn&&this.getElement().removeClass(this.options.baseClass+"-visible")},jo.prototype.getElement=function(){if(!Tn){var t="raptor-plugin-unsaved-edit-warning-dirty";Tn=an(this.raptor.getTemplate("unsaved-edit-warning.warning",this.options)).mouseenter(function(){pn.eachInstance(function(e){e.isDirty()&&e.getElement().addClass(t)})}).mouseleave(function(){an("."+t).removeClass(t)}).appendTo("body")}return Tn},pn.registerPlugin(new jo),pn.registerUi(new Bo({name:"viewSource",dialogOptions:{width:600,height:400,minWidth:400,minHeight:400},applyAction:function(t){var e=t.find("textarea").val();this.raptor.actionApply(function(){this.raptor.setHtml(e),Ai(this.raptor.getElement().first()),this.raptor.checkSelectionChange()}.bind(this))},openDialog:function(){var t=this.getDialog().find("textarea");t.val(this.raptor.getHtml()),Bo.prototype.openDialog.call(this),t.select()},getDialogTemplate:function(){return an("<div>").html(this.raptor.getTemplate("view-source.dialog",this.options))}})),pn.registerUi(new yo({name:"loremIpsum",action:function(){ci(this.raptor.getTemplate("lorem-ipsum.lorem-ipsum"))}}));var Sn=new Bo({name:"revisionsApplyButton",action:function(){var t=this.getDialog(this);this.openDialog(t),z(t)},applyAction:function(){this.raptor.setHtml(this.options.revision.content),this.getSavePlugin().save()},getSavePlugin:function(){var t=this.raptor.getPlugin(this.options.plugins.save.plugin);return t},getDialogTemplate:function(){return an("<div>").html(this.raptor.getTemplate("revisions.apply-dialog",this.options))}});pn.registerUi(new Bo({name:"revisions",dialogOptions:{width:650,height:400,modal:!1},init:function(){var t=Bo.prototype.init.call(this);return"undefined"==typeof this.getUrl()&&(U(this.button,a("revisionsTextEmpty")),N(this.button)),t},openDialog:function(){var t=an("<p/>").html(a("revisionsLoading")).addClass(this.options.baseClass+"-loading-revisions");this.getDialogContentArea().html(t),this.state=this.raptor.stateSave(),this.raptor.getElement().removeClass(this.raptor.options.baseClass+"-editable-hover"),this.raptor.getElement().addClass(this.options.baseClass+"-reviewing"),this.getRevisions(this.renderRevisions.bind(this),this.displayAjaxError.bind(this)),Bo.prototype.openDialog.call(this)},closeDialog:function(){this.state=null,this.raptor.getElement().removeClass(this.options.baseClass+"-reviewing"),Bo.prototype.closeDialog.call(this)},getDialogContentArea:function(){return this.getDialog().find("> div")
},renderRevisions:function(t){if("undefined"==typeof t.revisions||!t.revisions||!t.revisions.length)return void this.displayNoRevisions();var e=t.revisions,i=this.getDialogContentArea().html(this.raptor.getTemplate("revisions.table",this.options)).find("tbody"),o=this.raptor.getTemplate("revisions.tr",this.options),n=[],r=null,s=null,l=null,c=an(o).find("."+this.options.baseClass+"-updated").html(new Date(parseInt(t.current.updated)).toLocaleString()).next().html(a("revisionsButtonCurrent")).parent().addClass(this.options.baseClass+"-current ui-state-highlight");n.push(c);for(var u=0;u<e.length;u++)r=an(o),l=e[u],r.data("revision",l).find("."+this.options.baseClass+"-updated").html(new Date(parseInt(l.updated)).toLocaleString()),s=r.find("."+this.options.baseClass+"-controls"),s.append(this.prepareRowButton("preview",l,t.current,Dn)),s.append(this.prepareRowButton("apply",l,t.current,Sn)),s.append(this.prepareRowButton("diff",l,t.current,In)),n.push(r);i.append(n)},prepareRowButton:function(t,e,i,o){var n=an.extend({},o);return n.raptor=this.raptor,n.options=an.extend({},this.options,{baseClass:this.options.baseClass+"-"+t+"-button",revision:e,current:i}),n.init()},displayAjaxError:function(){this.getDialogContentArea().text(a("revisionsAJAXFailed"))},displayNoRevisions:function(){this.getDialogContentArea().text(a("revisionsNone"))},getDialogTemplate:function(){return an("<div>").html(this.raptor.getTemplate("revisions.dialog",this.options))},getOkButton:function(){return!1},getHeaders:function(){return this.options.headers?this.options.headers.call(this):{}},getUrl:function(){return"string"==typeof this.options.url?this.options.url:an.isFunction(this.options.url)?this.options.url.call(this):void 0},getRevisions:function(t,e){an.ajax({dataType:"json",url:this.getUrl(),headers:this.getHeaders()}).done(function(e){t(e)}).fail(function(){e()})}}));var Rn={},In=new Bo({name:"revisionsDiffButton",diffTool:!1,dialogOptions:{width:450,height:400,modal:!1},init:function(){return Bo.prototype.init.apply(this,arguments)},action:function(){var t=this.getDialog(this);this.openDialog(t),z(t)},applyAction:function(){},getOkButton:function(){return!1},getDiffTool:function(){return this.diffTool||(this.diffTool=new diff_match_patch),this.diffTool},getDiff:function(){var t=this.options.revision.identifier+"-"+this.options.revision.updated;if("undefined"==typeof Rn[t]){var e=this.getDiffTool().diff_main(this.options.revision.content,this.options.current.content);this.getDiffTool().diff_cleanupSemantic(e),Rn[t]=this.getDiffTool().diff_prettyHtml(e)}return Rn[t]},openDialog:function(t){t.find("."+this.options.baseClass+"-diff").html(this.getDiff())},getDialogTemplate:function(){return an("<div>").html(this.raptor.getTemplate("revisions.diff-dialog",this.options))}}),Dn=new vo({name:"revisionsPreviewButton",init:function(){return this.raptor.bind("revisionsPreview",function(){L(this.button)}.bind(this)),vo.prototype.init.apply(this,arguments)},action:function(){this.raptor.getElement().html(this.options.revision.content),this.raptor.fire("revisionsPreview"),Q(this.button)}}),Un=function(t){this.layouts=[];for(var e in t)this[e]=t[e];this.saveUrl&&(Un.saveUrl=this.saveUrl),this.node.classList.add("raptor-section"),this.node.raptorSection=this,this.nodeItem=null,this.nodeLayoutPane=null;var i=JSON.parse(this.node.dataset.container);for(var e in i)this[e]=i[e];this.node.dataset.title=this.title||"Container",this.nodeUI=s(x(Un.templates.ui)),this.nodeAddMenu=this.nodeUI.getElementsByClassName("raptor-section-add-menu")[0],this.nodeLayoutMenu=this.nodeUI.getElementsByClassName("raptor-section-layout-menu")[0],this.nodePlaceholder=s(x(Un.templates.placeholder)),this.nodeAddSection=this.nodeUI.getElementsByClassName("raptor-section-add-item")[0],this.nodeEditSection=this.nodeUI.getElementsByClassName("raptor-section-edit")[0],this.nodeRemoveSection=this.nodeUI.getElementsByClassName("raptor-section-remove")[0],this.nodeClear=this.nodeUI.getElementsByClassName("raptor-section-clear")[0],this.nodeLayout=this.nodeUI.getElementsByClassName("raptor-section-add-layout")[0],this.nodeGuides=this.nodeUI.getElementsByClassName("raptor-section-guides")[0],this.nodeSave=this.nodeUI.getElementsByClassName("raptor-section-save")[0];var o=0;this.sortableOptions={connectWith:".raptor-section, .raptor-section-layout-pane",tolerance:"pointer",placeholder:"raptor-section-sortable-placeholder",cancel:"[contenteditable=true], :input",cursorAt:{left:-10,top:0},sort:function(t,e){e.helper.css("top",t.pageY-e.helper.parent().offset().top-o)},start:function(t,e){o=e.helper.position().top,Un.sorting=!0,Un.hideAllUI()}.bind(this),stop:function(t,e){Un.sorting=!1;for(var i=e.item[0].parentNode;!i.raptorSection;)i=i.parentNode;i.raptorSection.nodeItem=e.item[0]===document.elementFromPoint(t.clientX,t.clientY)?e.item[0]:null,i.raptorSection.showUI()}.bind(this)},this.sections.sort(function(t,e){return t.label.localeCompare(e.label)});for(var n=0,a=this.sections.length;a>n;n++){this.sections[n].choices&&console.log("Section insert via choice is deprecated.",this.sections[n]),this.sections[n].ajax&&console.log("Section insert via ajax is deprecated.",this.sections[n]),"function"!=typeof this.sections[n].insert&&console.log("Section insert via static HTML is deprecated.",this.sections[n]),this.sections[n].label=this.sections[n].label.replace(/ /g," ");var l=s(x(Un.templates.menuItem,this.sections[n]));l.addEventListener("click",this.hideMenu.bind(this)),l.raptorSectionItem=this.sections[n],this.nodeAddMenu.appendChild(l)}this.layoutInitMenu(),document.body.appendChild(this.nodeUI),document.body.appendChild(this.nodePlaceholder);for(var c=this.getItems(),n=0;n<c.length;n++)r(c[n]),this.itemBind(c[n],this.getItemDefinition(c[n].dataset.raptorSection)),c[n].raptorSectionItem=JSON.parse(c[n].dataset.raptorSection);for(var u=this.getLayouts(),n=0;n<u.length;n++)this.layoutBind(u[n],this.getLayoutDefinition(u[n].dataset.layout));O(an(this.nodeAddMenu),{select:this.menuAddItemSelect.bind(this)}),O(an(this.nodeLayoutMenu),{select:this.menuAddLayoutSelect.bind(this)}),D(this.nodeAddSection,{icons:{primary:"ui-icon-add"},text:!1}).removeClass("ui-corner-all"),D(this.nodeEditSection,{icons:{primary:"ui-icon-edit"},text:!1}).removeClass("ui-corner-all"),D(this.nodeRemoveSection,{icons:{primary:"ui-icon-remove"},text:!1}).removeClass("ui-corner-all"),D(this.nodeClear,{icons:{primary:"ui-icon-clear"},text:!1}).removeClass("ui-corner-all"),D(this.nodeLayout,{icons:{primary:"ui-icon-layout"},text:!1}).removeClass("ui-corner-all"),D(this.nodeGuides,{icons:{primary:"ui-icon-guides"},text:!1}).removeClass("ui-corner-all"),D(this.nodeSave,{icons:{primary:"ui-icon-save"},text:!1}).removeClass("ui-corner-all"),this.nodeAddSection.addEventListener("click",function(){this.toggleMenu(this.nodeAddMenu)}.bind(this)),this.nodeLayout.addEventListener("click",function(){this.toggleMenu(this.nodeLayoutMenu)}.bind(this)),this.nodeGuides.addEventListener("click",Un.toggleGuides),this.nodeSave.addEventListener("click",Un.save),this.mouseBind(),this.nodeEditSection.addEventListener("click",function(){if(this.nodeItem){var t=this.getItemDefinition(this.nodeItem.raptorSectionItem.name);"function"==typeof t.edit&&t.edit(this.createWidget(this.nodeItem))}}.bind(this)),this.nodeRemoveSection.addEventListener("click",function(){if(this.nodeItem)this.nodeItem.remove(),this.nodeItem=null,this.showUI();else if(this.nodeLayoutPane){var t=Un.findParentLayout(this.nodeLayoutPane,this.node);t.remove(),this.nodeLayoutPane=null,this.showUI()}}.bind(this)),this.nodeClear.addEventListener("click",this.clear.bind(this)),an(this.node).sortable(this.sortableOptions),Un.initialise(this)};Un.prototype=Object.create(Un),Un.prototype.itemBind=function(t,e){t.raptorSectionDefinition=e,this.mouseBindItem(t)},Un.prototype.layoutBind=function(t){t.classList.add("raptor-section-layout"),t.raptorSectionLayout=JSON.parse(t.dataset.raptorLayout);for(var e=t.querySelectorAll("[data-pane]"),i=0;i<e.length;i++)e[i].classList.add("raptor-section-layout-pane"),e[i].raptorSectionLayoutPane=JSON.parse(e[i].dataset.raptorLayoutPane),this.mouseBindLayoutPane(e[i]),an(e[i]).sortable(this.sortableOptions)},Un.prototype.layoutInitMenu=function(){if(!this.layouts||0===this.layouts.length)return void this.hideNode(this.nodeLayout);this.layouts.sort(function(t,e){return t.label.localeCompare(e.label)});for(var t=0,e=this.layouts.length;e>t;t++){var i=s(x(Un.templates.menuItem,this.layouts[t]));i.addEventListener("click",this.hideMenu.bind(this)),i.raptorSectionLayout=this.layouts[t],this.nodeLayoutMenu.appendChild(i)}},Un.prototype.menuAddItemSelect=function(t,e){this.hidePlaceholder();var i=t.currentTarget.raptorSectionItem,o=s(x(Un.templates.sectionItem,{content:e.item.text()}));this.itemBind(o,i),o.raptorSectionItem={name:i.name};var n=this.createWidget(o);this.insertNode(o),i.insert(n)},Un.prototype.createWidget=function(t){return{title:t.raptorSectionItem.title,properties:t.raptorSectionItem.properties,loading:function(e){t.innerHTML='<div class="raptor-section-placeholder ui-state-information">'+(e||"Loading...")+"</div>",t.dataset.title="Loading..."},error:function(e){t.innerHTML='<div class="raptor-section-placeholder ui-state-error">'+(e||"Widget error.")+"</div>",t.dataset.title="Error"},remove:function(){t.parentNode.removeChild(t)},save:function(e,i,o){t.innerHTML=e,t.raptorSectionItem.properties=i;for(var n in o)t.raptorSectionItem[n]=o[n];t.dataset.title=t.raptorSectionItem.title+" "+t.raptorSectionItem.titleSuffix;for(var a=t.getElementsByTagName("script"),r=0;r<a.length;r++)if(a[r].src){var s=document.createElement("script");s.setAttribute("type","text/javascript"),s.setAttribute("src",a[r].src),document.getElementsByTagName("head")[0].appendChild(s)}else!function(t){eval.call(this,t)}(a[r].innerText)}.bind(this)}},Un.prototype.menuAddLayoutSelect=function(t){this.hidePlaceholder();var e=t.currentTarget.raptorSectionLayout,i=s(e.layout);this.layoutBind(i,e),this.insertNode(i)},Un.prototype.insertNode=function(t){this.nodeItem?this.nodeItem.parentNode.insertBefore(t,this.nodeItem):this.nodeLayoutPane?this.nodeLayoutPane.appendChild(t):this.node.appendChild(t)},Un.prototype.clear=function(){this.nodeItem=null,this.nodeLayoutPane=null,this.node.innerHTML=""},Un.prototype.getItemDefinition=function(t){for(var e=0;e<this.sections.length;e++)if(this.sections[e].name===t)return this.sections[e];return null},Un.prototype.getLayoutDefinition=function(t){for(var e=0;e<this.layouts.length;e++)if(this.layouts[e].name===t)return this.layouts[e];return null},Un.prototype.hideUI=function(){this.hidePlaceholder(),this.hideNode(this.nodeUI),this.hideMenu()},Un.prototype.showUI=function(){Un.sorting||Un.menuVisible||(Un.hideAllUI(this),this.showNode(this.nodeUI))},Un.prototype.repositionUI=function(t){if(!Un.menuVisible){var e,i;i=this.nodeItem?an(this.nodeItem).offset().left+this.nodeItem.offsetWidth-parseInt(getComputedStyle(this.nodeItem).borderRightWidth):this.nodeLayoutPane?an(this.nodeLayoutPane).offset().left+this.nodeLayoutPane.offsetWidth-parseInt(getComputedStyle(this.nodeLayoutPane).borderRightWidth):an(this.node).offset().left+this.node.offsetWidth-parseInt(getComputedStyle(this.node).borderRightWidth),this.nodeUI.style.left="0px",i>document.body.offsetWidth-this.nodeUI.offsetWidth&&(i=document.body.offsetWidth-this.nodeUI.offsetWidth),e=t.pageY-this.nodeUI.offsetHeight/2,this.nodeUI.style.top=e+"px",this.nodeUI.style.left=i+"px",this.fadeUI(t)}},Un.prototype.fadeUI=function(t){var e=this.nodeUI.offsetWidth,i=this.nodeUI.offsetHeight;if(0!==e&&0!==i){var o=this.nodeUI.offsetLeft+e/2,n=this.nodeUI.offsetTop+i/2,a=Math.sqrt(Math.pow(o-t.pageX,2)+Math.pow(n-t.pageY,2));this.nodeUI.style.opacity=2*(1-Math.min(a/1e3,1))}},Un.prototype.getNode=function(){return this.node},Un.prototype.getItems=function(){return this.node.getElementsByClassName("raptor-section-item")},Un.prototype.querySelectorAllNested=function(t){for(var e=this.node.querySelectorAll(t),i=[],o=0;o<e.length;o++){var n=e[o];do if(n.dataset.container)break;while(n=n.parentNode);n==this.node&&i.push(e[o])}return i},Un.prototype.getLayouts=function(){return this.querySelectorAllNested("[data-layout]")},Un.prototype.getLayoutPanes=function(){return this.querySelectorAllNested("[data-pane]")},Un.prototype.serialize=function(){return this.querySelectorAllNested("[data-layout], .raptor-section-item")},Un.prototype.showPlaceholder=function(){this.insertNode(this.nodePlaceholder),this.showNode(this.nodePlaceholder)},Un.prototype.hidePlaceholder=function(){!Un.menuVisible&&this.nodePlaceholder&&(this.hideNode(this.nodePlaceholder),this.nodePlaceholder.parentNode&&this.nodePlaceholder.parentNode.removeChild(this.nodePlaceholder))},Un.prototype.hideMenu=function(){null!==Un.menuVisible&&(this.hideNode(Un.menuVisible),Un.menuVisible=null)},Un.prototype.showMenu=function(t){null===Un.menuVisible&&(this.hideMenu(),Un.menuVisible=t,this.showNode(t),this.repositionMenu(t))},Un.prototype.toggleMenu=function(t){Un.menuVisible===t?this.hideMenu():null!==Un.menuVisible?(this.hideMenu(),this.showMenu(t)):this.showMenu(t)},Un.prototype.repositionMenu=function(t){var e=t.parentNode.getElementsByClassName(t.dataset["for"])[0];t.style.top=e.offsetBottom+"px",t.style.left=e.offsetLeft+"px"},Un.templates={layoutDialog:'<div> <h1>Layouts</h1> <ul> <li><a href="#">Full Width</a></li> <li><a href="#">Right Sidebar</a></li> <li><a href="#">Left Sidebar</a></li> <li><a href="#">2 Column</a></li> <li><a href="#">3 Column</a></li> </ul> </div>',layoutItem:'<div class="raptor-section-layout" data-layout="">{{content}}</div>',menuItem:'<li><a class="raptor-section-menu-item">{{label}}</a></li>',pane:'<div class="raptor-section-pane"></div>',placeholder:'<div class="raptor-section-placeholder raptor-section-hidden ui-state-information ui-corner-all">Insert new item...</div>',sectionItem:'<div class="raptor-section-item">{{content}}</div>',sortablePlaceholder:'<div class="raptor-section-placeholder ui-state-information ui-corner-all">Move here...</div>',ui:'<div class="raptor-section-ui raptor-section-hidden ui-front ui-state-default ui-corner-all ui-front"> <button type="button" class="raptor-section-add-item ui-corner-left">Add Block</button> <button type="button" class="raptor-section-add-layout">Layout</button> <button type="button" class="raptor-section-edit">Edit</button> <button type="button" class="raptor-section-remove">Remove</button> <button type="button" class="raptor-section-clear">Clear</button> <button type="button" class="raptor-section-guides">Guides</button> <button type="button" class="raptor-section-save ui-corner-right">Save</button> <ul class="raptor-section-menu raptor-section-add-menu raptor-section-hidden" data-for="raptor-section-add-item"></ul> <ul class="raptor-section-menu raptor-section-layout-menu raptor-section-hidden" data-for="raptor-section-add-layout"></ul> </div>'},Un.initialised=!1,Un.instances=[],Un.sorting=!1,Un.saveUrl=null,Un.menuVisible=null,Un.state={},Un.initialise=function(t){Un.instances.push(t);var e=Un.getContainerSaveData(t);Un.state[e.id]=JSON.stringify(e),Un.initialised||(Un.initialised=!0,f("raptor-section",Un.isDirty),document.addEventListener("click",function(t){var e=t.target.raptorSection||t.target.raptorSectionItem||t.target.raptorSectionLayout||t.target.raptorSectionLayoutPane;if(e&&t.offsetY<0){var i=prompt("Rename "+t.target.dataset.title);i&&(e.title=i,t.target.dataset.title=i,e.titleSuffix&&(t.target.dataset.title+=" "+e.titleSuffix))}var o=t.target;do if(o.classList.contains("raptor-section-ui"))return;while((o=o.parentNode)&&o.classList);Un.hideAllUI()}),document.addEventListener("DOMContentLoaded",function(){g("RaptorSection.guides")&&document.body.classList.add("raptor-section-guide")}))},Un.isDirty=function(){for(var t=0;t<Un.instances.length;t++)if(containerSaveData=Un.getContainerSaveData(Un.instances[t]),Un.state[containerSaveData.id]!=JSON.stringify(containerSaveData))return!0;return!1},Un.hideAllUI=function(t){for(var e=0,i=Un.instances.length;i>e;e++)t!==Un.instances[e]&&Un.instances[e].hideUI()},Un.showNode=function(t){l(t,"raptor-section-visible","raptor-section-hidden")},Un.hideNode=function(t){l(t,"raptor-section-hidden","raptor-section-visible")},Un.toggleGuides=function(){document.body.classList.toggle("raptor-section-guide"),A("RaptorSection.guides",document.body.classList.contains("raptor-section-guide"))},Un.getContainerSaveData=function(t){var e=t.node,i=t.id;"function"==typeof i&&(i=i(t));for(var o={id:i,title:t.title==t.defaultTitle?null:t.title,items:[]},n=t.serialize(),a=0;a<n.length;a++){var r=Un.findParentLayoutPane(n[a],e),s=null;if(r&&(s=Un.findParentLayout(r,e)),n[a].raptorSectionLayoutIndex=a,n[a].raptorSectionItem)o.items.push(an.extend(n[a].raptorSectionItem,{layoutIndex:s?s.raptorSectionLayoutIndex:null,layoutPane:r?r.dataset.pane:null,type:"item",name:n[a].raptorSectionItem.name,title:n[a].raptorSectionItem.title==n[a].raptorSectionItem.defaultTitle?null:n[a].raptorSectionItem.title}));else if(n[a].raptorSectionLayout){for(var l={},c=h(n[a],"[data-pane]","[data-raptor-layout]"),u=0;u<c.length;u++)l[c[u].dataset.pane]=c[u].raptorSectionLayoutPane,l[c[u].dataset.pane].title==l[c[u].dataset.pane].defaultTitle&&(l[c[u].dataset.pane].title=null);o.items.push({layoutIndex:s?s.raptorSectionLayoutIndex:null,layoutPane:r?r.dataset.pane:null,type:"layout",name:n[a].raptorSectionLayout.name,title:n[a].raptorSectionLayout.title==n[a].raptorSectionLayout.defaultTitle?null:n[a].raptorSectionLayout.title,panes:l})}}return o},Un.getSaveData=function(){for(var t={},e=0;e<Un.instances.length;e++)containerSaveData=Un.getContainerSaveData(Un.instances[e]),t[containerSaveData.id]=containerSaveData;return t},Un.findParentLayoutPane=function(t,e){var i=t;do{if(i.raptorSectionLayoutPane)return i;i=i.parentNode}while(i&&i!=e)},Un.findParentLayout=function(t,e){var i=t;do{if(i.raptorSectionLayout)return i;i=i.parentNode}while(i&&i!=e)},Un.save=function(t){Un.saveUrl&&an.ajax({url:Un.saveUrl,method:"post",dataType:"json",data:{sections:JSON.stringify(Un.getSaveData())}}).done(function(t){if(t){for(var e=0,i=Un.instances.length;i>e;e++){var o=Un.instances[e].getItems(),n=Un.instances[e].id;"function"==typeof n&&(n=n(Un.instances[e]));for(var a=0;a<o.length;a++)"undefined"!=typeof t[n]&&"undefined"!=typeof t[n][a]&&(o[a].raptorSectionItem=t[n][a]);var r=Un.getContainerSaveData(Un.instances[e]);Un.state[r.id]=JSON.stringify(r)}Z({title:"Saved Sections",text:"Sucessfully saved all CMS sections on this page.",type:"success"})}else Z({title:"Save Failed",text:"Failed to save all CMS sections on this page.",type:"error"})}).error(function(){Z({title:"Save Failed",text:"Failed to save all CMS sections on this page.",type:"error"})}).always(function(){if(t!==!1){var e=!1;pn.eachInstance(function(t){!e&&t.isDirty()&&t.unify&&(t.getUi("save").getPlugin().save(!1),e=!0)})}})},jQuery.fn.raptorSection=function(t){return this.each(function(){new Un(an.extend({node:this},t))})},Un.prototype.mouseBind=function(){this.node.addEventListener("mouseover",function(t){this.mouseBlur(),this.showUI(),t.stopPropagation()}.bind(this)),this.node.addEventListener("mousemove",this.repositionUI.bind(this)),document.addEventListener("mousemove",this.fadeUI.bind(this)),this.nodeAddSection.addEventListener("mouseover",this.showPlaceholder.bind(this)),this.nodeLayout.addEventListener("mouseover",this.showPlaceholder.bind(this)),this.nodeAddSection.addEventListener("mouseout",this.hidePlaceholder.bind(this)),this.nodeLayout.addEventListener("mouseout",this.hidePlaceholder.bind(this)),this.nodeRemoveSection.addEventListener("mouseover",function(){if(u(document.body),this.nodeItem)this.hideNode(this.nodeItem);else if(this.nodeLayoutPane){var t=Un.findParentLayout(this.nodeLayoutPane,this.node);this.hideNode(t)}}.bind(this)),this.nodeRemoveSection.addEventListener("mouseout",function(t){if(!this.nodeRemoveSection.contains(t.toElement)){if(this.nodeItem)this.showNode(this.nodeItem);else if(this.nodeLayoutPane){var e=Un.findParentLayout(this.nodeLayoutPane,this.node);this.showNode(e)}p(document.body)}}.bind(this))},Un.prototype.mouseBindItem=function(t){t.addEventListener("mousemove",function(e){if(!e.raptorSectionHandled){var i;i=e.pageY-c(t)<t.offsetHeight/2?t:t.nextElementSibling,null===i?(this.mouseBlur(),this.showUI()):(e.raptorSectionHandled=!0,this.nodeItem!==i&&this.mouseFocusItem(i))}}.bind(this)),t.addEventListener("mouseover",function(t){t.stopPropagation()}.bind(this)),t.addEventListener("mouseout",function(t){var e=t.toElement||t.relatedTarget;e&&e.raptorSection&&this.mouseBlur()}.bind(this))},Un.prototype.mouseBindLayoutPane=function(t){t.addEventListener("mousemove",function(e){e.raptorSectionHandled||(e.raptorSectionHandled=!0,e.target.querySelector(".raptor-section-layout-pane")||this.nodeLayoutPane!==t&&this.mouseFocusLayoutPane(t))}.bind(this)),t.addEventListener("mouseover",function(t){t.stopPropagation()}.bind(this)),t.addEventListener("mouseout",function(t){var e=t.toElement||t.relatedTarget;if(e)do{if(e.raptorSection){this.mouseBlur();break}e=e.parentNode}while(e)}.bind(this))},Un.prototype.mouseFocusItem=function(t){Un.menuVisible||(this.mouseBlur(),this.nodeItem=t,this.nodeItem.classList.add("raptor-section-item-active"),this.showUI(),this.nodeItem.raptorSectionItem&&"function"==typeof this.getItemDefinition(this.nodeItem.raptorSectionItem.name).edit&&M(this.nodeEditSection),M(this.nodeRemoveSection))},Un.prototype.mouseFocusLayoutPane=function(t){Un.menuVisible||(this.mouseBlur(),this.nodeLayoutPane=t,this.nodeLayoutPane.classList.add("raptor-section-layout-pane-active"),this.showUI(),N(this.nodeEditSection),M(this.nodeRemoveSection))},Un.prototype.mouseBlur=function(){Un.menuVisible||(this.nodeItem?(this.nodeItem.classList.remove("raptor-section-item-active"),this.nodeItem=null):this.nodeLayoutPane&&(this.nodeLayoutPane.classList.remove("raptor-section-layout-pane-active"),this.nodeLayoutPane=null),N(this.nodeEditSection),N(this.nodeRemoveSection))},window.RaptorSection=Un}(),document.write('<style type="text/css">@media screen{.raptor-section-add-item .ui-icon,.raptor-section-add-layout .ui-icon,.raptor-section-clear .ui-icon,.raptor-section-edit .ui-icon,.raptor-section-guides .ui-icon,.raptor-section-remove .ui-icon,.raptor-section-save .ui-icon,.raptor-ui-align-center .ui-icon,.raptor-ui-align-justify .ui-icon,.raptor-ui-align-left .ui-icon,.raptor-ui-align-right .ui-icon,.raptor-ui-cancel .ui-icon,.raptor-ui-class-menu .ui-icon,.raptor-ui-clean-block .ui-icon,.raptor-ui-clear-formatting .ui-icon,.raptor-ui-click-button-to-edit .ui-icon,.raptor-ui-close .ui-icon,.raptor-ui-dock-to-element .ui-icon,.raptor-ui-dock-to-screen .ui-icon,.raptor-ui-embed .ui-icon,.raptor-ui-float-left .ui-icon,.raptor-ui-float-none .ui-icon,.raptor-ui-float-right .ui-icon,.raptor-ui-guides .ui-icon,.raptor-ui-history-redo .ui-icon,.raptor-ui-history-undo .ui-icon,.raptor-ui-hr-create .ui-icon,.raptor-ui-image-resize .ui-icon,.raptor-ui-insert-file .ui-icon,.raptor-ui-link-create .ui-icon,.raptor-ui-link-remove .ui-icon,.raptor-ui-list-ordered .ui-icon,.raptor-ui-list-unordered .ui-icon,.raptor-ui-lorem-ipsum .ui-icon,.raptor-ui-revisions .ui-icon,.raptor-ui-revisions-apply-button .ui-icon,.raptor-ui-revisions-diff-button .ui-icon,.raptor-ui-revisions-preview-button .ui-icon,.raptor-ui-save .ui-icon,.raptor-ui-snippet-menu .ui-icon,.raptor-ui-special-characters .ui-icon,.raptor-ui-statistics .ui-icon,.raptor-ui-table-create .ui-icon,.raptor-ui-table-delete-column .ui-icon,.raptor-ui-table-delete-row .ui-icon,.raptor-ui-table-insert-column .ui-icon,.raptor-ui-table-insert-row .ui-icon,.raptor-ui-table-merge-cells .ui-icon,.raptor-ui-table-split-cells .ui-icon,.raptor-ui-tag-menu .ui-icon,.raptor-ui-text-block-quote .ui-icon,.raptor-ui-text-bold .ui-icon,.raptor-ui-text-italic .ui-icon,.raptor-ui-text-size-decrease .ui-icon,.raptor-ui-text-size-increase .ui-icon,.raptor-ui-text-strike .ui-icon,.raptor-ui-text-sub .ui-icon,.raptor-ui-text-super .ui-icon,.raptor-ui-text-underline .ui-icon,.raptor-ui-view-source .ui-icon{width:16px;height:16px;display:block}.raptor-section-add-item .ui-icon:before,.raptor-section-add-layout .ui-icon:before,.raptor-section-clear .ui-icon:before,.raptor-section-edit .ui-icon:before,.raptor-section-guides .ui-icon:before,.raptor-section-remove .ui-icon:before,.raptor-section-save .ui-icon:before,.raptor-ui-align-center .ui-icon:before,.raptor-ui-align-justify .ui-icon:before,.raptor-ui-align-left .ui-icon:before,.raptor-ui-align-right .ui-icon:before,.raptor-ui-cancel .ui-icon:before,.raptor-ui-class-menu .ui-icon:before,.raptor-ui-clean-block .ui-icon:before,.raptor-ui-clear-formatting .ui-icon:before,.raptor-ui-click-button-to-edit .ui-icon:before,.raptor-ui-close .ui-icon:before,.raptor-ui-dock-to-element .ui-icon:before,.raptor-ui-dock-to-screen .ui-icon:before,.raptor-ui-embed .ui-icon:before,.raptor-ui-float-left .ui-icon:before,.raptor-ui-float-none .ui-icon:before,.raptor-ui-float-right .ui-icon:before,.raptor-ui-guides .ui-icon:before,.raptor-ui-history-redo .ui-icon:before,.raptor-ui-history-undo .ui-icon:before,.raptor-ui-hr-create .ui-icon:before,.raptor-ui-image-resize .ui-icon:before,.raptor-ui-insert-file .ui-icon:before,.raptor-ui-link-create .ui-icon:before,.raptor-ui-link-remove .ui-icon:before,.raptor-ui-list-ordered .ui-icon:before,.raptor-ui-list-unordered .ui-icon:before,.raptor-ui-lorem-ipsum .ui-icon:before,.raptor-ui-revisions .ui-icon:before,.raptor-ui-revisions-apply-button .ui-icon:before,.raptor-ui-revisions-diff-button .ui-icon:before,.raptor-ui-revisions-preview-button .ui-icon:before,.raptor-ui-save .ui-icon:before,.raptor-ui-snippet-menu .ui-icon:before,.raptor-ui-special-characters .ui-icon:before,.raptor-ui-statistics .ui-icon:before,.raptor-ui-table-create .ui-icon:before,.raptor-ui-table-delete-column .ui-icon:before,.raptor-ui-table-delete-row .ui-icon:before,.raptor-ui-table-insert-column .ui-icon:before,.raptor-ui-table-insert-row .ui-icon:before,.raptor-ui-table-merge-cells .ui-icon:before,.raptor-ui-table-split-cells .ui-icon:before,.raptor-ui-tag-menu .ui-icon:before,.raptor-ui-text-block-quote .ui-icon:before,.raptor-ui-text-bold .ui-icon:before,.raptor-ui-text-italic .ui-icon:before,.raptor-ui-text-size-decrease .ui-icon:before,.raptor-ui-text-size-increase .ui-icon:before,.raptor-ui-text-strike .ui-icon:before,.raptor-ui-text-sub .ui-icon:before,.raptor-ui-text-super .ui-icon:before,.raptor-ui-text-underline .ui-icon:before,.raptor-ui-view-source .ui-icon:before{display:none}.raptor-editing{outline:0}.raptor-editable-block-hover:not(.raptor-editing),.raptor-editable-block:hover:not(.raptor-editing){background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAQMAAAC2MCouAAAABlBMVEUAAACfn5/FQV4CAAAAAnRSTlMAG/z2BNQAAABPSURBVHhexc2xEYAgEAXRdQwILYFSKA1LsxRKIDRwOG8LMDb9++aO8tAvjps4qXMLaGNf5JglxyyEhWVBXpAfyCvyhrwjD74OySfy8dffFyMcWadc9txXAAAAAElFTkSuQmCC) 0 0}.raptor-editing-inline{width:600px;min-height:150px;padding:5px!important;background-color:#fff;border:1px solid #c1c1c1!important;border-top:none!important;color:#333;font-size:1em;text-shadow:none}.raptor-editing-inline *{text-shadow:inherit}.raptor-editing-inline :not(.cms-color){color:inherit}.raptor-unsupported{position:relative}.raptor-unsupported-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:#000;filter:alpha(Opacity=50);opacity:.5}.raptor-unsupported-content{position:fixed;top:50%;left:50%;margin:-200px 0 0 -300px;width:600px;height:400px}.raptor-unsupported-input{position:absolute;bottom:10px}.raptor-unsupported-content{padding:10px;background-color:#fff;border:1px solid #777}.raptor-layout-toolbar-outer{overflow:visible;position:fixed;font-size:12px;z-index:1300;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f7f7f7),color-stop(100%,#fafafa));background:-webkit-linear-gradient(#f7f7f7,#fafafa);background:-moz-linear-gradient(#f7f7f7,#fafafa);background:-o-linear-gradient(#f7f7f7,#fafafa);background:linear-gradient(#f7f7f7,#fafafa)}.raptor-layout-toolbar-outer *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.raptor-layout-toolbar-inner{border:1px solid #c1c1c1;border-top:none}.raptor-layout-toolbar-toolbar{padding:6px 0 0 5px;overflow:visible}.raptor-layout-toolbar-path{padding:5px}.raptor-layout-toolbar-group{float:left;margin-right:5px}.raptor-layout-toolbar-group .ui-button{padding:0;margin-top:0;margin-left:-1px;margin-bottom:5px;margin-right:0;height:32px;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.raptor-layout-toolbar-group .ui-button:hover{z-index:1}.raptor-layout-toolbar-group .ui-button-icon-only{width:32px}.raptor-layout-toolbar-group .ui-button-text-only .ui-button-text{padding:8px 16px 10px}.raptor-layout-toolbar-group .ui-button-text-icon-primary .ui-button-text{padding:8px 16px 10px 32px}.raptor-layout-hover-panel{z-index:1100;position:absolute}.raptor-layout-hover-panel .raptor-layout-toolbar-group:last-child{margin-right:0}.raptor-layout-hover-panel .raptor-layout-toolbar-group .ui-button{margin-bottom:0}.raptor-menu{z-index:1600;padding:6px}.raptor-menu .ui-menu-item:before{display:none}.raptor-menu .ui-menu-item a,.raptor-menu .ui-menu-item a:hover{white-space:pre;padding:3px 10px}.raptor-selectmenu{overflow:visible;position:relative}.raptor-selectmenu-button{text-align:left;padding:3px 18px 5px 5px!important;float:none!important}.raptor-selectmenu-button .ui-icon{position:absolute;right:1px;top:8px}.raptor-selectmenu-button .raptor-selectmenu-text{font-size:13px}.raptor-selectmenu-wrapper{position:relative}.raptor-selectmenu-button .ui-button-text{padding:0 25px 0 5px}.raptor-selectmenu-button .ui-icon{background-repeat:no-repeat}.raptor-selectmenu-menu{position:absolute;top:100%;left:0;right:auto;display:none;margin-top:-1px!important}.raptor-selectmenu-visible .raptor-selectmenu-menu{display:block;z-index:1}.raptor-selectmenu-menu-item{padding:5px;margin:3px;z-index:1;text-align:left;font-size:13px;font-weight:400!important;border:1px solid transparent;cursor:pointer;background-color:inherit}.raptor-selectmenu-button{background:#f5f5f5;border:1px solid #ccc}.raptor-ui-cancel .ui-icon,.raptor-ui-cancel.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAtFBMVEX///+nAABhAACnAACjAACCAACgAACHAACjAAByAAB1AAByAACDAACnAACCAACHAACgAACNAACbAACXAACMAACSAABfAACYAACRAACjAACbAAChAACqAACNAACcAACHAACqAADEERGsERHQERG+NjaiERHUTEzYERG4ERGlFBSfFRX/d3f6cnK0JSWoHh7qYmLkXFyvFRXmXl7vZ2fNRUX4cHDXT0/+dnbbU1O3Li7GPT26MTG2f8oMAAAAIXRSTlMASEjMzADMzAAASMxIAMwAAMzMzEjMzEhISABIzABISEg/DPocAAAAj0lEQVR4Xo3PVw6DMBBF0RgXTO+hBYhtILX3sv99RRpvgPcxVzp/M5syb7lYepxDABDeYcQ5wg+MAMhr3JOyJKfxTABqduuvjD37O6sBwjZ+f76/7TFuQw1VnhyGYZPklYagKbKLlDIrmkBDGq1hUaqhM4UQJpwOwFdK+a4LAbCdlWNTCgGwjLlhUQqZ8uofSk8NKY1Fm8EAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-class-menu .ui-icon,.raptor-ui-class-menu.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNJREFUeNpskn9MG2UYx7/3o7TlSgNLi1jciiA71jkt6UgAnQpdTMYMTkayLCQzWbIY3faHiQR1TP/TLJkxLsaYmDidM1kTBQqZEp1hKyMgGRMhYXTgoCBFFhmchZZe797X9zpK0O25e3Nv7r6f7/O8z3Ncz1ERRnDpG86t8d2tUuKRkwv8RO+Kn4hCSUFVfHy2TRuOfEooHdQIVglNI5BXnwF/fwsbW4cFi61ZjWadtMkylDD2xPOlKlmuwKKEhtyiXScI+OPr2nSEpT4Y6bdR8EccZZWVzidrqucxglAggLzaHeASJly+fAku607MeF97pa+0rCF3qs1tWxo1jJD9bQBc9xHxVKm/6YDFWeLT1BSXcTdlZUE0m6Elk0ipKt6f3QePx4NQKARd1zk5FIA7dAnirEJ3el2yx5Rl4YhV1/RUih2L428ND0RG+q/dfarq+fwd3kr3buF3fPfDNOTFrt8K1dtwhIaQZIlEZQ0DF8+edrC9YGQuLJHz6l49Uf7Hzd7JQnfRXva88nRVjbuxVEFx+ONf7iqTY+p1ihRwiABvGT04ZyzeGAMHV/TO+HnBZML+Y80VqeTa30TX0k0f6DzfE52aDAv99EN9kb6rCkJjQtcvpGdowCY+PZtTFXWNj68pCsxmqz1bsoOy68evzvX+eWfipnQDX+r36Ht8Ts6elVjsZ5UlFiXTBsykyMvfVmwTLGYtlUyqC3MzsaGrP81EB28P2qa5LtyjXzjcblc4EhlkcCtDiMhxFNr6j6ETBNo/O6OoOraywnVW+1/mJXQ4h0GToB+9UF/v+76zs4/BbzL5qsGI2BQ6RTBFEDROTViH5i1lsK/Bb8f4mXV4KAG0sE/RDPMfg0w85spBR6wWlNLty9Kc/6Xq6gzcyuC+zVoxz2HbXAEcTul+P/6h2+Px+L6LPT3v1Hk8nzwHdDO4+//JmIH0sCL8u6TIwWMffP66z+c7HdO04LPA6MOE4lj28Qde5sZ/PXvoRbu35ejL38RifJAQsgFveZTDlgJuk4H1jQcMFLXJ2/7123OJ5cQFQqyjGfCJcn4DXh8c/hVgAAYpUQUdUKm5AAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-clean-block .ui-icon,.raptor-ui-clean-block.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAoNJREFUeNqkU11Ik1EYfo6bm7WZW2r+MDNTZ9ZQcbYws0iNpiZEBF4UXWgXCXURXQQiBTYhgi4qRo0y+gEpNImauKVkhkzDNrxoCjrNZSSapnNLv+n2nc5HGmFJgQcezuGc93nPc877vIRSivUMYqwkEFIIeQQQsnzA5rP1FEe0BKXZP894Bm6AQiKGPsjDsLSEmpD/uCSX8e4JYOv9LJF+noNhb/ExrW8BBvE/yClmO824YbpaKUgwG6sjvy8gQVdwQNv4qNkeCK6tQMHiz7H5kMs1fKe1Rw7/xARKTl8+Gq4hX5496bR/nkINz8MiKAhliGCIYohjRF2YLCJnW2ZelrM8I6mlxYzCQj1arX4cTBzC4ZMXyhYD11soD074E3KrglwJkyl3S2WbZBvCI8OjE1JjlDGqqCXvojjg4bB5ZwKaO0NRUFAKq/U5CpOGIRKJYG2638AuOxHCZLT5PDP+NF3JvvhkbSY3y8eOdA+IvV9nsFGlxLf+MZRle2E2NyI/vxQvnXGYc88hEABhgEifSdw2O521dfSmyyjiZRFyxKSqIGK1Gu8bgTI5FgEfh3TFPBra+6BW70H5+dqGvBTUs2d8XKmCJVtDFqanHRd35GqKhxz9EFMRtmakwDc1C8oFoUjcglO7PNCdKW9i8beZ/C7BMr+qwDY6+/rpTeO1h3ZFlAJJOWqMD36CZ3IG0mg5Jj+48fjp3bdV+dTEwrtWeKt9YEnbTvy21y+q1ercIp59UHJWGsYcQ7B0tHUz99WFSdH+O+EPIzElHa5RKnWN2pQVVce1gz1OvHn3vpcPolYiwavV8Ws50SKVgD4wNdUt98ilEALLX5tp3d243gQ/BBgABJ4L2+7frOgAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-clear-formatting .ui-icon,.raptor-ui-clear-formatting.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wGGxcPH7KJ9wUAAAEKSURBVDjL3ZG9SgNBFIW/I76D1RIEazEIFitWNguxUPANUkUIKG4jYiEBC7WwUFJZiNssFvoOFipMFx/AoIVVEAvxB7w2MyBhV5Iq4IHLPecy9zBzBv4nJLUltQc5O1awXAE+gAnPhzMAFoE7YNzzoQ0WgBvg1vPBDSRNAl9m9gC4ebPpc+jkkADkkOTggi4KryFpV9KMpHgfXr/T1DJwGWxn4IIuM7iQdB1qDu73oPder9spuNDPYLZoeUrSZd9saQUej6DzUqvZCbhj2Pjr+pu/ZzuwnMLbc7Vqh+BCPyjIIAaefMVhuA69bhTZGnyuwlULXDeKrFWWQT+akDTAbfk3B90s+4WR4Acs5VZuyM1J1wAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-click-button-to-edit .ui-icon,.raptor-ui-click-button-to-edit.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABSlBMVEWymwFVVVWymgEKCgqtlQG2AQEDAwOvmQOokQKlfACgiQLTAQHiAQGFbwEICAgcHBwQEBDkAQF8ZwEGBgZbTwJ1YACIdwNbRwhhTA5VBQVACAhQUFDSAQFvBgbgAQEXFxcxCQlgBgaVgxW0AQHFAQEMDAxVVVWoAACkjQKpkgK8FRWbhQKhigKgAACwmgPkAQGJcwGPeQFVVVWlfACojQGAawGGcAG8cwOmfQCOeAGbdQCXcgDx5MB5YwF9aAGDBgaXgQKSfAKYggKOawG7pWLdzqBvWQF2YAB/cyyMegh7XgGlkVVnTgFnTgGslQNnYkFoTgFnTgFnTgFnTgGrlALy5sL29vbd3d3k02D/7oji0V3v3nH4aGjMzMzh0Fv864P4537r2mkAAAD/iIj043jj0l3m1WO7qjPk01/yXFzMu0Tfzljgz1rezVaqP1K6AAAAVXRSTlMAAEAAtwAAAAAAAAAAAAAAAAAAAAAAAAAAAABpPwCdgykAo0O5LySxwkSdw0UyQyvHRR8npshGAAAABmzvyke1AMVFOcD1w0cAsIXRljzAAJZJCQAA2U4xywAAALVJREFUeF41yNOaA0EUAOHTmUxo27axto1RzPW+/21y+uvUXf1gtVmcmk0uIKQaCfEUcAFIo7BIJSngAmSC4vA7Cz6vB2iqhDiSjsqg77FXK59SNOZHYD/5v0lzHAX607/HCscAf7nK5bUM8AdysaRjgD+TT04NW9j8x1etfryFZkvpj9udHYRAOA67e/s/vweHZoSuycjD2blwcXnlQLi2I9wKd/cPboQnQmH+/PL6hvBOKKwBNYghCPFyErUAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-close .ui-icon,.raptor-ui-close.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAtFBMVEX///+nAABhAACnAACjAACCAACgAACHAACjAAByAAB1AAByAACDAACnAACCAACHAACgAACNAACbAACXAACMAACSAABfAACYAACRAACjAACbAAChAACqAACNAACcAACHAACqAADEERGsERHQERG+NjaiERHUTEzYERG4ERGlFBSfFRX/d3f6cnK0JSWoHh7qYmLkXFyvFRXmXl7vZ2fNRUX4cHDXT0/+dnbbU1O3Li7GPT26MTG2f8oMAAAAIXRSTlMASEjMzADMzAAASMxIAMwAAMzMzEjMzEhISABIzABISEg/DPocAAAAj0lEQVR4Xo3PVw6DMBBF0RgXTO+hBYhtILX3sv99RRpvgPcxVzp/M5syb7lYepxDABDeYcQ5wg+MAMhr3JOyJKfxTABqduuvjD37O6sBwjZ+f76/7TFuQw1VnhyGYZPklYagKbKLlDIrmkBDGq1hUaqhM4UQJpwOwFdK+a4LAbCdlWNTCgGwjLlhUQqZ8uofSk8NKY1Fm8EAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-color-menu-basic-menu>div{min-width:100px}.raptor-ui-color-menu-basic-menu span{padding-left:2px}.raptor-ui-color-menu-basic .ui-icon-swatch,.raptor-ui-color-menu-basic-swatch{width:16px;height:16px;background-image:none;border:1px solid rgba(0,0,0,.35)}.raptor-ui-color-menu-basic-swatch{float:left}.raptor-plugin-dock-docked .raptor-layout-toolbar-path,.raptor-plugin-dock-docked-to-element .raptor-layout-toolbar-path{display:none}.raptor-plugin-dock-docked{line-height:0}.raptor-plugin-dock-visible{display:block}.raptor-plugin-dock-hidden{display:none}.raptor-ui-dock-to-screen .ui-icon,.raptor-ui-dock-to-screen.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAwFBMVEX///8NDQ1VVVVVVVVTU1M5OTlLS0tHR0dVVVVDQ0MfHx8vLy8+Pj40NDQPDw/Gxsa4uMTr6+vz8/O2xO0tT8Tv7++uut0lR7PBz/hcdcwiRKvp6emqt9s+XtbQ1ehHac1thuX5+fmptdzk5OT29vbh4eFXed/n5+fu7u7x8fGfrecoSq739/fCz/jFxcjLy8q4xu3KytbDzevb29vY2NjU1NPQ0M7P1eY1V7vBzvdkhuzHx8bFxcbg4ujFxczHx9F6WxVSAAAAEXRSTlMAhmZZWnNrbSJvfnhxdWTT046to6oAAACXSURBVHheZco1FsMwAATRTcxhkZnCzMz3v1WkyvbLb6YZ2Fq9oNmA3j2ezpft87X5fPc9HXhUAZN12QTI/HvBz4BbFWD2V5K7dFX6JmCNKKVxyMJYdmQBDhVi4DHGvIEQ1AFac0ICzhnnASHzFmDMplKyS1RmBtAmQyk/5CqkDTSjsbS4LlSiJtAg6k3fqQppAJ1aWQd/fntuHFvCkQDlAAAAAElFTkSuQmCC) 0 0!important}.raptor-plugin-dock-docked .raptor-layout-toolbar-inner{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;width:100%}.raptor-plugin-dock-docked .raptor-layout-toolbar-toolbar{text-align:center}.raptor-ui-dock-to-element .ui-icon,.raptor-ui-dock-to-element.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAsVBMVEX///9VVVUNDQ1VVVVVVVUvLy9TU1MfHx+4uMTGxsZBY+hAYuYREREPDw9BY+kiRK0lR7Wwvue9y/O5x/C+zPVcfuO4xe5CZMjBz/iywOgzVc81V7q0weoqTLAjRasrTcE7Xd1Qcte2xO3Azfa7yfHQ0M7Ly8rFxcbFxcy1wuvHx9HKyta/zPXp6enBzve2w+zY2Njb29vh4eHU1NPr6+tlh+3Hx8a5xu/FxcjCz/jn5+fv4craAAAADnRSTlMAZoZZInhaftPTwIBCZLWComUAAACBSURBVHheZcRVcgJRFADRJiNYMu5uuBPP/heWx9eF4lR1o2sjoelgTi/n98Xya/Wz3u4mJnw+gvD3XghtchRJC3G/F30MeeCJIIfSG4RXQjV8i6EC2++Eb4MTFSJyoO7StBaQbVw3uyqG6mBAcyqK5k8Zqz7GMLMsa/6ivN72xpN/8isdAjArQVYAAAAASUVORK5CYII=) 0 0!important}.raptor-plugin-dock-inline-wrapper{width:100%!important;padding:0!important;margin:0!important}.raptor-plugin-dock-docked-to-element-wrapper{font-size:inherit;color:inherit;font-family:inherit}.raptor-plugin-dock-docked-to-element-wrapper .raptor-layout-toolbar-outer{position:relative!important;top:auto!important;left:auto!important;border:0 none!important;padding:0!important;margin:0!important;z-index:auto!important;font-size:inherit!important;color:inherit!important;font-family:inherit!important;float:none!important;width:auto!important;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}.raptor-plugin-dock-docked-to-element-wrapper .raptor-layout-toolbar-outer .raptor-layout-toolbar-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}.raptor-plugin-dock-docked-to-element-wrapper .raptor-layout-toolbar-outer .raptor-layout-toolbar-toolbar .ui-widget-header{border-top:0;border-left:0;border-right:0}.raptor-plugin-dock-docked-element{margin:0!important;display:block;position:relative!important;top:auto!important;left:auto!important;border:0 none;padding:0;z-index:auto;font-size:inherit;color:inherit;font-family:inherit;float:none;width:auto;-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-box-ordinal-group:2;box-ordinal-group:2}.raptor-plugin-dock-docked-to-element .raptor-layout-toolbar-inner{border-top:1px solid #c1c1c1}.raptor-ui-embed .ui-icon,.raptor-ui-embed.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAxlBMVEX////////fNzfaMTHVLCzKISHFGxvvR0flPDzpSEjdMTH4Y2PaKyvtTk7PJibXIyOnLi7lQECkKyvSHR3mPj6eJCSUGhqRFxfqQkL0XFziOTmOFBSBBwehKCiHDQ3PFRWaISGXHR3wVlaECgqqMTGLEBDGHR365eW1ICDaXFz139/LDg7NLi6tNDTSKSnMNzd9AwP1TEy/Fhbwxsbqv7+7EhKzFBS6EBDonZ3akJDkhISxBwf8a2vLIiLPcHD88fH67+/fYGAnLmvBAAAAAXRSTlMAQObYZgAAAJtJREFUeF5Vx0WShFAUBMB631F3afdxd7v/pQaiN5C7BK4mgM3nxAahczfihIgrrfVTqs+qGN2qLMvHwy4tB6sOmWeMIXp7/jI9L8PCYowR0e/3xzVj1gLLiHNOg9OR82iJvBZC0GD/J0Sdo7B93+/78+737AKNK6Uker2UA7fBNlBKPdyos2CLWXI/ksywnr+MzNdoLyZa4HYC/3EAHWTN0A0YAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-embed-panel-tabs{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;-webkit-box-flex:1;-moz-box-flex:1;-ms-box-flex:1;box-flex:1}.raptor-ui-embed-panel-tabs .raptor-ui-embed-code-tab,.raptor-ui-embed-panel-tabs .raptor-ui-embed-preview-tab{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}.raptor-ui-embed-panel-tabs .raptor-ui-embed-code-tab p,.raptor-ui-embed-panel-tabs .raptor-ui-embed-preview-tab p{padding-top:10px}.raptor-ui-embed-panel-tabs .raptor-ui-embed-code-tab textarea,.raptor-ui-embed-panel-tabs .raptor-ui-embed-preview-tab 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}.raptor-ui-embed-dialog .ui-dialog-content{display:-webkit-box!important;display:-moz-box!important;display:box!important;width:100%!important;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.raptor-ui-float-left .ui-icon,.raptor-ui-float-left.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS5JREFUeNpi/P//PwMlgImBQsACY1zaIH4A6Bp7dAUzV31jnLHy22YgkxFqIQhf/vfvXymKAQ8eidtra35lYAQqY+FgZWBmZ2X49fk7AxvbX6DsN1+CLlgwn5khMECAwcLiL4OogiIDj6QEw9uLZ4AGfAVJ70BzAQg7ohigrnaP4cEDLoY3bzkYzL6/ZVA34ma4ev07w/sPv0HSHgRdoKICUvgR6IWPDK8evWb49+8iw/1bfxhevwYbsBfNdhC2BkkwwqLRxRhuFgM3HyMDrwAjw8vH/xj2nvuH1WZgIDKgGMDExLQNiz9xYWagASboBpAU/zAXsCCJ7SbCZjaghexAmgOIFUh2AXKyh7GRXTARiI2w2MoKVMwBtRVkOysQHwNiPxQXDFhmotgAgAADAKYzbYynfqX2AAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-float-none .ui-icon,.raptor-ui-float-none.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAkFBMVEUAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEAAADRrxbRsBYBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAACcegnCrQ6ffgqukQv+/GixkS3duyLhwyfkyizevSNRMDCigDLauC/y41DcuiLrzTTQrhWCYBiObSDErz3r4VvApCt4Vg6dewnDaH3NAAAAGHRSTlMAycfDxcu9v8HYu+DAwIm3uZnRkdDn7LIyy/h+AAAAWklEQVR4Xp2KRwqFMBQAYzfGXmPtvfx//9spgvAWQcRZzgx6gz6dGEDkQ1FWNRBN2/XZCMRvXtZtB4LSfxon6AHTsjVZUQWR5xz2cWfJxYR9eFf2MQnCCH3hAIfwBUXJe8YuAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-float-right .ui-icon,.raptor-ui-float-right.ui-state-hover .ui-icon{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!important}.raptor-ui-guides .ui-icon,.raptor-ui-guides.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUeNpi/P//PwNFAGQAIyMjDK9BYqNgXHqZ0MSYcFmEyxBGsClMTGS5+t+/fxg2biLGAGTXoBvATGoYkuUFGMDmhd2kGjL4vHCUUi9cIjcpnwPi2UAsBaXPQZPwOXxscD5Cy0xLSbUc3YDnJLue0uwMEGAA2O1APJOrHFQAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-guides-visible *{outline:1px dashed rgba(0,0,0,.5)}.raptor-ui-history-undo .ui-icon,.raptor-ui-history-undo.ui-state-hover .ui-icon{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!important}.raptor-ui-history-redo .ui-icon,.raptor-ui-history-redo.ui-state-hover .ui-icon{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!important}.raptor-ui-hr-create .ui-icon,.raptor-ui-hr-create.ui-state-hover .ui-icon{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!important}.raptor-ui-image-resize .ui-icon,.raptor-ui-image-resize.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABAlBMVEX///9TddoqTLAjRasiRK1ihOlOcNVYet9miO5QctdWeN05W9k4WthCZMgyVM0zVc9BY8ddf+VSdNk0VtE+YOM8Xt8rTcFCZOssTsBCZOolR7U1V7o1V9Nlh+1CZMj5/Pz9/v5BY+kiRK3y9/f///9cfuP2+vojRasrTcHu9fUqTLD1+vo1V7o7Xd0zVc8lR7VTmv9sqf9coP/v9v/I3uvV5/fb6v1BfIS33Opxp7BZkpv+///s9PRQctdVnP9CdahShbhlmMri7v+Qw/Ci1fuPvv+71/+JvcZJlf8pZW2Cs8yw0fx7rt692f+rz//A2v/c6/+01P8cV2A2aZwxdFNuoZMUoDQrAAAAHXRSTlMAAAAAAADAAMAAAAAAAMAAAMDAwADAAAAAwAAAACp/YQ8AAACvSURBVHhehcc1csNQAAXA98WMljFiNjMFmRnuf5VM4lGVwtst/nFdgeXJL54VXBdITYlUJDMFLMIdVzhiAaLqJYc7iaeKgNHpB3cn4+nk+ibodwyAorr+w+P788vrm9+lKICm897X93yxvJj1cpoGGCaKP+5X283tOo4YBmi2R+Xn6dn50+VVOWo3Ab1eZEc7WVHXAVvRhhVNsYGBUzuo1JwBEIathvxXudEKQ+z3A1iJGpAw1RqcAAAAAElFTkSuQmCC) 0 0!important}.raptor-resize-image{position:relative;min-width:300px}.raptor-resize-image .form-text{width:40%}.raptor-resize-image label{width:35%;display:inline-block}.raptor-resize-image .form-text,.raptor-resize-image label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.raptor-resize-image div{margin-bottom:1.25em;z-index:10;position:relative}.raptor-resize-image .raptor-ui-image-resize-lock-proportions-container{position:absolute;z-index:0}.raptor-ui-image-resize-lock-proportions-container{right:16%;top:19px;height:54px;width:40%;border-color:#ccc;border-width:1px 1px 1px 0;border-style:solid solid solid none}.raptor-ui-image-resize-lock-proportions{position:absolute;right:-21px;top:50%;margin-top:-21px;height:26px;width:26px;border:8px solid #ddd;-webkit-border-radius:39px;-moz-border-radius:39px;-ms-border-radius:39px;-o-border-radius:39px;border-radius:39px;-webkit-box-shadow:0 0 0 1px #fff inset;-moz-box-shadow:0 0 0 1px #fff inset;box-shadow:0 0 0 1px #fff inset;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#eaeaea),color-stop(100%,#fff));background:-webkit-linear-gradient(#eaeaea,#fff);background:-moz-linear-gradient(#eaeaea,#fff);background:-o-linear-gradient(#eaeaea,#fff);background:linear-gradient(#eaeaea,#fff)}.raptor-ui-image-resize-lock-proportions .ui-button-text{display:none}.raptor-ui-image-resize-lock-proportions .ui-icon{margin-left:-8px;margin-top:-8px;left:50%;top:50%;position:absolute;background-repeat:no-repeat}.raptor-ui-image-resize-lock-proportions.ui-state-hover{cursor:pointer;border-width:8px}.raptor-ui-insert-file .ui-icon,.raptor-ui-insert-file.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcVJREFUeNrEkz1rFFEUhp+587nzmY2JYXeNki1isWKihZ0gaGFjIULA3sYfEQikFVsrwTaF+gdsY2ljF4KdYuNmY9yM2bkz47kzECxlU3jgMncu87znPS9zrbquuUgpLljO1s7OI3n25+S/OWVZDt7u7r6ah36yvf3cKbW2Ksnh7ksLZYFriy1ZMw0mnrQjK5AzGXa4BKMe6Aq2btcY1tFaq1K+3Lhi4TmQCbAUwfef0HHbdxPz5BRuyKAbAzidgWEM6+iiaAT60T7rvTW6Ub/pfH0FVpJWKBdgeKl1cqZb0UZA2EZAVxUfPr3mYxDy8NZj7o3uN5aNI2M7L2AxhKJsz0LXjFG1AoURELWDwwMWsgX2Tt5wfPKV1eWr9BZXuZx26XjS2gpb2GtH+13VFI3AbKZKUTs7HvDjl8N07PFu8plOcEgURsRRTBzHJHFClqQi3GdtecCdaz6GPXcw7D3A8zx83ycMQ5IkJssSut1UlsBZRCohRJGL8hW6zs8d2JU4+LvqJuGSXNJTKpe9YjqtOToqCYKgaXJzVBkHtjMZjz3bdXn/4uk//j6mWY7tehjWyjY3n4mD4VwXSakv1n+/jX8EGAAI68BpoWbP4wAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-link-create .ui-icon,.raptor-ui-link-create.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAilBMVEX///8EBARUVFRUVFQEBARTU1MqKiwfHx5MTEzGxsZNTU1FRUWAgH8SEhJnZ2fd3d06Ojrg4ODIyMgODg4DAwMSEhLCwsGcnKXExNEvLy+ysrh+foMQEBBBQUEEBATJydeenqcDAwPT09OIiIjj4+OZmZl3d3fU1OPCwsHW1tXq6urr6+va2trGxsaRnmwcAAAAI3RSTlMAimdfRTOWgDXbAGXFj339cv3dAHtC3OP8bt+2cnuA/OMA+Akct2IAAABoSURBVHhetcVZFoIgGAbQ7wcVwyEKtBi01OZh/9urw2EJdV8ufkHmnDHG85RE2a7Wp812GGJtiaqvG1rOXws1dV9BzWKi2/3xfL1pErOCdT6YS2SCdxZdsdtfD8ci1UFnIxGNWUrjHz6V6QhqNdQf6wAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-link-remove .ui-icon,.raptor-ui-link-remove.ui-state-hover .ui-icon{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!important}.raptor-ui-link-create-panel .raptor-ui-link-create-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}.raptor-ui-link-create-panel .raptor-ui-link-create-menu p{font-weight:700;margin:12px 0 8px}.raptor-ui-link-create-panel .raptor-ui-link-create-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}.raptor-ui-link-create-panel .raptor-ui-link-create-menu fieldset label{display:block;margin-bottom:10px}.raptor-ui-link-create-panel .raptor-ui-link-create-menu fieldset label span{display:inline-block;width:150px;font-size:13px;vertical-align:top}.raptor-ui-link-create-panel .raptor-ui-link-create-menu fieldset,.raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset{border:none}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap{margin-left:200px;padding-left:20px;min-height:200px;position:relative}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap.raptor-ui-link-create-loading:after{content:Loading...;position:absolute;top:60px;left:200px;padding-left:20px}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap h2{margin:10px 0 0}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset{margin:2px 4px;padding:7px 4px;font-size:13px}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset input[type=text]{width:300px;padding:5px}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset input[type=text].raptor-document-href,.raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset input[type=text].raptor-external-href{width:400px}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset.raptor-email label{display:inline-block;width:140px}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset.raptor-email input{width:340px}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap ol li{list-style:decimal inside}.raptor-ui-link-create-panel .raptor-ui-link-create-wrap .raptor-ui-link-create-panel .raptor-ui-link-create-wrap fieldset #raptor-ui-link-create-external-target{vertical-align:middle}.raptor-ui-link-create-error-message div{padding:0 .7em}.raptor-ui-link-create-error-message div p{margin:0}.raptor-ui-link-create-error-message div p .ui-icon{margin-top:2px;float:left;margin-right:2px}.raptor-ui-list-unordered .ui-icon,.raptor-ui-list-unordered.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMlJREFUeNpi/P//PwNFAGQAIyNjGBCvgdIMxGKQXhaoORFlZWWBXV1dTED2KqjYGiBmRMJMaOwrQFwOc0EEEG+A0iS5gBFEMDExkeX9f//+MTAxUAhgBsQC8U4oTRKABWJ8Rkae84wZk5iB7MVQsW1IAYYLW8MCMRGID0Bp+gYiC46EhTPR4QrEdCA+A6VJT8pAcDMsLB3EuAniQP14BIiPAfEJID4FxGehqe8OED8B4vVgvVADioH4GZTGGWhYvUtpbqQ4JQIEGABjeFYu055ToAAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-list-ordered .ui-icon,.raptor-ui-list-ordered.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwNFAGQAIyNjIxCvAWJBIGYgFoP0skDNqQfidUDMiGT2GigfhpnQ2FeAuJwFSQMTmuNCiPEBTFMblF1CahAwgvzBxMREVvj9+/cP7oIuIN4Bpcl2gRMQJwFxDFRuG1KAYcVAF1jDojEBiGcAsQSp0QjzgiEQawLxSiibNoGInmqRE9J0IJaEYnNSXAAzYC4QNwJxIJLcEbRAYwZidiDmgOLTYPVIzgJpPgD2F45Aw+olqAFrgfg5EBeTagAjpdkZIMAAg/ZGwsH5qkAAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-logo{border:none!important;background:transparent!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important}.raptor-ui-logo .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyNjE5MjlDMjdFRkUxMUUyOUY4RjkzODc5OEQ0RTRCQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyNjE5MjlDMzdFRkUxMUUyOUY4RjkzODc5OEQ0RTRCQyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkIyNDkzQTBGN0RDQjExRTI5RjhGOTM4Nzk4RDRFNEJDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkIyNDkzQTEwN0RDQjExRTI5RjhGOTM4Nzk4RDRFNEJDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+fRcgAAAABzFJREFUeNrsVwtQVNcZ/u7dZR+siAILyPJaWECEgtNMRk0oIlIFwQeZpMamTTBqo2JriWmiMdWmvpsUNdhOYm0Tg0bbmhCxBtxFY3B8kIQWNBpgWdmFBQQUlceyj3v39r8LpmamOuNqZ9IZz8w393XOd79z/u/897+MIAj4rjQW36H2UMz/hRjpnR4sSx39rWtZaDAiJT04bXRiilaKz1r4MLr9CCFmpMtlQm28HB1NDmBJig+EIQ4mq/tbPKvOD927mLu0pwl5i2do4qaNl2t8pKw/x/GDnXbebKq50lLV4Gyj5zsIHQ9sZe7QNq1bHrdiYq52NMSM4OQBzi0Ge9RoiRCSMEs7aZajC8f29i+wW7st1ON1guF/IWaXMlFbGJ8RAVg44FZ+Eo+Ce+SawARh5vPqcChiw5sNFr1pt1lND64+SAPnZCQqCpf+gMfa18woq6RIhPgAahrOjPRgxBOCQO9t7wGau6CbGoGEx+THWI0UFic88EqM1cZ9g+TMCWvmpDEw7TNim64B87RNOPznSzAcaAFEf7K3aERBQf8RZ+1B3vKY79NV6QNZGf/gsJVZM6akFe22IeeIC/MNWvCtMcjkW5EV3gqjsZ3eLxkWwtw2kMIFQQ3TKQeWLo78Cd3J91qMOLGCraUK/6DQ38RND2eiYq7C5BTQoNFhRRWLV0wJcHAsLplcELp53BYvmC67ULzjDBncgsPlFih1EmROUDybmSjzToybvCiVSl9yuZxj3KZOnLGIBpUhM16LP3xxHorMRfj1CTXMDjcJZ4bNy5JXInwQm67FsiVkdLkMLxZN8ewTbax2clyE2rvdtHBraYBEplzLMCwYTkB09Di6a4RBr0d5+WHsXFeC3z8vx8qiOGCAEpmc5mWNxsW3z9N2v0LMJFDCoA0tyM6ToksaHtw/eVtAEtB7zysjl8sXyZS+CnHWAmn+YbKvZ/Zt7Z14ruBXcDs6MTVODoTTbVUc+qtUqNg9QHnYhKSeQSSxA0gK7wccg2iso066F1iR06swyZW+P5XKFPDjYrBnZR2y09ORMpGFfWgQ/X0mjKePQMrPtAAZ9F/zPkVHiR1pF4DI6HjgcSKIpuTSmozGqyH4ciAV0vhJIuezXoWJdws6w6bNmD0pA+pz9fjTxjrU1qzE03nvwN7FYP8bGWIUUPnUaWT3aYB4ovJJR3+zEv3CJ+gOrUN5SxOmFzfBbh8i2OG0C7HeieF4T4hw7Sa6A8agoCUKJQuO45B+KSU0M4UnGEcmHsDsPvKSirxCntJlK9H6xwYkMb8EFAYUFgfgnZeTkbalDhzHeTi93dpM/sYNONx4Dh+ajTBmPwpFp5JUhtHXmLbz1x1w+YZCP1EKvdaMVvYy5OPD0DqqGphTBb9IDu+9+iYm//wjMJQUWQKVuMzdxDB3qoGPflLpVodrGYVCgb8sXoz84AlIhgTb+Wps/Nsk2PddQBujQoirj0icUIUxGOyU4aKgQ63hKGR+Icj47afgeQ5Oh9MTpq62y8Ls3Bz2nsPEcS7xSyIXz194fy/+/upaVNy4gTXCo2g+0o7IsRzK3/2cdpfgyTPKMAn8lFHwZ0/i+thEzF/3obgSuH2ybp5zeRWmMf6jr9qHbMOElAF/tGULnnplNbayFJ4LofBJDsKymWHITI/AIyu247mSC7BJVFi+ZxZe2zUBH297Bm632zNW5HAQF3H2eCUmKipqX/0XZygTCwS3h/Ca/QZMV77EyfZqDBpMWL27DVUnLEjt2YyDL87DhrcTwZ08B+54DX6RI6BsfcHIeAF1xEWc+73yDLWAsrKyboncTxKl00EikeJ3BdPw/qldqPi4AntW78HBf+4dLiUfW4S31gdjl74LHTdTwPf2QhrAY8GGKgoND3OzEbyjn8/Pzw+GNxmYfNCbGuNbWl97lpJcHxmRh0KlAi6uQk7uDPy1/hB8qtcPk7BuNFrcyPC1Y27RTjxTUoH5r+s9Y/r6bkLkSE9PLy7OUfV6XULEpM5c/sScvLajHx1Eh7UNgREJqCulwqryZUiri/HSW83YOWUBNqUNIFZyBactPlDWbPZ4RYQ4Rhy7cOFCS2Bg4Pr7KjtpdYYojJmFgeqaffv3B3zd3I2t9UosCmpFiNIKxuzEkgwB9B2F1TgIDZUU1fpyfC+lCIYTxzFKKceKwsJrGo0m69A8v6H2rrv/St/RM8Nlwa0yV9DabLaKQwc+SDj7+SmcP3uSsnAnlj3ugj9tfoZqqxv+DIxNAmqESEQkZ2Hu3FxMmz6zUaVSZVes0pm/utSOz0wC/tFkvz8xI4Io/aLIam5cc1Z/bFRjSwe6rl3HoMvh6eunYBEbFgh/9ThMzcodiIqN30L9t+8ojBtCRzfMZhsqGxk02Jz3L+Y2UWPp8GNCNiGFMG7kUSeBihlUEj44XfvVdZfLBSflTgdlX4fDgSfzZsDbrf3wx/+hmP/W/i3AALMDE5j9eIuBAAAAAElFTkSuQmCC) 0 0;background-repeat:no-repeat;width:35px!important;height:35px!important;left:0!important;top:0!important;margin:0!important;padding:0!important}.raptor-plugin-paste-panel-tabs{width:100%;height:100%}.raptor-plugin-paste .ui-tabs a{outline:0}.raptor-plugin-paste-panel-tabs .raptor-plugin-paste-tab{border:1px solid #c2c2c2;overflow:scroll;height:80%}.raptor-plugin-paste-panel-tabs .raptor-plugin-paste-area{background-color:#fff;border:none;min-height:300px;min-width:90%;padding:2px}.raptor-plugin-paste-dialog .ui-dialog-content{overflow:hidden;width:100%!important;height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.raptor-ui-save .ui-icon,.raptor-ui-save.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNqkU71ugzAQPowtwdAdqRLK3odg6161a+cukZonoGrElgWWDqhb16oP0AfoytStirows0QRMj/unQsohAQi5aTD5vju4/Pd2VBKwTnG6cEYe8bl6s73P09Jel8ur3H5ruv6CUiBYRgfQRAosnrCyQhLOZTLG1ImpYQSA1VVjf7dNE0gLOV0R6AXlAMSk4uiGCUQ6ITdJzDpz0SQTxAoxlqVZo+gLEuQyDxFwIQAwg4IiPV3vYbL2WyUgDBHFbxG0Um9t237sIIkSeDYYGHbur3neQMCTgqoRWEYDToh8NyLxSO4rgtpmrY14D0CUsA5h80mh/n8QQdXq7CTTN/ILMtqa9AjEDjOGrTdSnAcRwdpr1unzB5BMweiGwY8tx/H8U+WZbmUSoPJlfr3NrZLgDkXujbNXaD9DfoLAt8OFRHPfb8X+sLcW+Pc6/wnwABHMdnKf4KT4gAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-snippet-menu .ui-icon,.raptor-ui-snippet-menu.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAUVBMVEX///8XODhUfn5PeXkwVVVUfn5JcXE5X19BaWkbPT2/0ND+///5/f3r9/fr+vry+vq2x8f+/v66y8vs9PTU5eXl9PT2+vrCcW7i7u6uv78zqiKT+FVrAAAACnRSTlMAgmdpd01sc29httCJoAAAAEhJREFUeF61yEcOgDAMBdFAup1GL/c/KOLLygngzW7UN+zYWQzNk2CN4dK9z+tbchihLqIGDJ+P8yJqRNljmLKJYjDi0EX1jwctjAPf3g65IAAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-special-characters .ui-icon,.raptor-ui-special-characters.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANRJREFUeNrUkz0KAjEQhZNFUAtxt9B7WC1Y2e45rDyAp1ms9yZrKXgD27VYsRELs76BF0nY+AOpHPhg5k3mEYZEd12nYiJRkRFtMPDcEs9vDGbMz+BmG8aYsAEjBWuwoIni8AHswMU7LUu0aK2FLSjBnLViXrLnzYR2kIMjaBytoZb/ssQryAJ6xt5XgwosQeFoBbWqdzqwA2EFaqeuqamPO6C4QdqCkdOSvJVe7+W6bogp2IMTmRBbSy/1bu064npiMHzzPiQe4I6Z11vQ//+ZngIMAFDvbrCjwfedAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-statistics .ui-icon,.raptor-ui-statistics.ui-state-hover .ui-icon{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!important}.raptor-plugin-table-support-selected ::-moz-selection,.raptor-plugin-table-support-selected ::selection{background:0 0}.raptor-plugin-table-support-cell-selected{background-color:Highlight}.raptor-ui-table-create-menu td{width:14px;height:14px;border:1px solid #000}.raptor-ui-table-create-menu .raptor-ui-table-create-menu-hover{border:1px solid red}.raptor-ui-table-create .ui-icon,.raptor-ui-table-create.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA81BMVEX///9Vf38LKytAZ2cpTU0wVVU0WlpLc3NVf39TfX04Xl4YOjoNLS08Y2NRenpEa2tOd3dHb2/C09NEzP+8zc31+fn6/Pzx9/fu9fXA0dHF1tbD1NRDy/73/Pzp9vbk9PSG0uz+//+I7v/p+fk0vO/5/f38/v7u+Pg9xfj0+/tCyv3r9/fm9fXx+fm+z8/H2Ng4wPOF6/w6wvU2vvE1vfCE6vvM2tpkzvU/x/rO3d29zs7J2tr///88w/Z/5fZ94/R64PF43u/K2dni8/PM3NxByfzQ3t6D0OmBzueAzOV+y+R8yeJ6x+B5xt94xd7I2NiF0utdtcIgAAAAEnRSTlMAZodwend1a01nc4Flcmhuam1CIHuOAAAAuElEQVR4Xl3KRZbCQBQAwM9EcGuXOO5u4+52/9PQLytCrQsKuYwCFK8zilCLsTd82fdvlvPVuh3XoNHFyXCx6d/eze8f2t0G5DvY2/2/vX98fn3//Hby0PRxEjGmGJOMEb8J9QH2oqvZq0bb6SUZ1MGamEGpolRSSiYWVHvpOGj0aEavCqWRGZwrziXnZFQCN0jHs0Z/ZgQuOGMzhFBCSCHI2AE7TIfSSJoR2lBuPZ1olaFykVGBc0fWbx5/ckww/gAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-table-insert-row .ui-icon,.raptor-ui-table-insert-row.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeZJREFUeNqcU0FrE0EU/mYyIaRoaNOQJlGSbjy0FuxR8VIoUcGDN4X+gUJ/QA899dBf0V76CwTBS6EVIsVLBQ8hLdbiRgrRCKE2JmmTNtmZvre7WVBEGx+83fd23vfN997MiuerqxBCPAOQxvBWU8YYkGderq2tD4umzZeUdhyOhaHHkw+ATwitdeB/yt8XRkFYoRyPQGrDFAKP7whsfzbuW2tyWt62gYLFJJ6/qQBcT1ipnH7fVeD4BDu2QV51Yb6dwfBu5I+iBPyuIbTnnDsmBsIK1fcIfAXwdq52sDwTD3rdOzzEg+npIN8tlUhBFoSV6ufDL7j5LvuVFbxI9ICmgTWmcFyvB/Ow0mlUarUgTycS4HpXweVY25zet+cdkrbx6em1T6CY2vIUnLdaxxhpFZmRYtydu/dP8MfdsqvAJWienORudJPz9KFIMfZevb2WApeg1xNK1qMidmAt6EWDlcI+qEvkQx1YqhP0/LuzaV+BTJRmOMgx4+tGFJ34CMotIBOP49b4OG7TwJrtNrLJJHITE5hMpfCj0RgokOqi22XC0OAY+R4UIsBRtRrcPLaybf+Scz1hQ+qU+iaLhMNhbE61/Q6JAZm/zoDrCRsRsdlZ7muRmPPD/kxSyooYDOV/7UqAAQBguExUpw0RrAAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-table-insert-column .ui-icon,.raptor-ui-table-insert-column.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABFFBMVEX///8LKytVf39TfX08Y2NVf393rpBLc3NHb29Reno4Xl5Od3c0WlopTU1AZ2dEa2swVVUYOjoNLS0wt0BEzP+8zc3x9/fu9fUrsDmG0uxDy/4xuEHp9vYcnSbI6cu9zs71+fn6/PwgoisHgQozu0QorDXr9/cwt0Dp+fnu+Pg0vO8WlB38/v7+//8kpzD5/f3k9PTx+fmI7v/3/PxCyv0utD3m9fX0+/vi8/P///943u/I2dl4xd6w5/u/8/tAyPu67vau5fpS6mNf0PpayvS95PEr4zy54O2F6/zX5OTb5+cg4DHP3t7X4+PT4uJkzvVd7W4W3idG6Fdl7nbQ4OB5xt/M3Nzg9f055UrT4OA1vfCE0eoavkAQAAAAFHRSTlMAh2Znck0aa21oc2p1enBud4Fl4L/CnmUAAADNSURBVHheZcpFUgRBAAXRDy3jSkm7y7gL7u6u978HXWwggtzk5kFZFanpWqpmVwBp4ycncMQkoNAnxmzvaOft4Piz0y8ApR6ZzM53oyja3+z0SkBuSIy7rxPzyTx72R7mgPyUTHTfn9/PfZ9O80BtSQx961I71G5cuqwB1XEmPC9+jD2PjquA3BbiYvA++HBpWwaKSSYYC04DxmhSBMqWELf2lX3tUqsM1BeZ4Lz70OWcLupAZSTEcxiGry4dVYBGa/23VgNorvytiX99A3lfH44tztyBAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-table-delete-row .ui-icon,.raptor-ui-table-delete-row.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfhJREFUeNqcU0FrE0EU/mbdEHpQJA1tk0hs4iGttIgUKhVvsaIWL2L/QMHizYvnFvoLehEKgtScPemt5lTQkkICxVaKNAElJEKJhhib1N2Z8b3Z7EJFAvHBx74H833zvfdmxeLq6gMAMQweda31W1spFX+9trYxKPvRysoT/tpKSqEpuVMESNGARAP8q97NXgTzjICU0lKaJQTmrwhsHWnzVYogga0ykE2xiId8BeDzzPMEXFfInsC7skba7kLXfkHzbYTbQ0T8piCUB66lvgDmGQHXdXsO4N1c7eDZ1UjQa+HwEDcmJoJ6e2+PHCTBvDMOFqMODuoWUuEwvhwfB/NIxWKo1OtBHYtGweev7+zsKt+BJGvjD+cwv76Or5kZVO4t9N1AlXCtVHpOvoueACn+PDlBaXkZNwsFfKB8YXa2/x6npmZe5XLkwHFMC41WC3ObmzhoC5Pn8vn+r6hWK9q+Ax7i6fYRNjo20q0O7pILv+e/wZGgudxfWnqa2d9/b5ED08Kb5hCSiRB+Ow7ikQgSw8O4RANrtdtIjozg8ugoxsfG8L3ZNEOkd3Dr0+Qk7NNu95y/Rn4H2TDwuVoNXh7Hx3L5TG0cE8+s8UejEQ6FQniZafe6IwXE+/bP55nHuTg/Pf2YlNOD/kyWZVWEEC+EP5j/jT8CDADTO03xCBe9dwAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-table-delete-column .ui-icon,.raptor-ui-table-delete-column.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABJlBMVEX///9Vf38LKytEFBRRenowVVVEa2sYOjp6AABHb28pTU00WlpTfX0LKyuKAABVf39AZ2dOd3cIKCg8Y2NLc3MNLS04Xl5jVlZDYGBzAABEzP+8zc29zs76/Pz1+flDy/7u9fXx9/e3MDC7MzP+///M3NyI7v/8/v7x+fm4MTH0+/uqJiblxsahHx/u+PiG0uyyLCylIyPk9PS1Ly/3/Pz5/f00vO9Cyv2uKSnp+fnp9vacHBye4vzm9fXr9/fT4OD6Z2fI7PmF6/zX5OSiICDX4+PH6/j8bW2a5/RAyPua3vhkzvX4YGCE0er+c3PQ4OD2+vrzUlKJ0ut5xt94xd543u/xTEw1vfD1WVn///+O1/HvR0fI2dmh7vvb5+fH19f/d3fi8/OZ9EmDAAAAGnRSTlMAZocAaHdugZltenVnAMxNcGoAcmtlc0REzGDVx0oAAADWSURBVHheTcrDYgRBAIThSgZrZZnuMde2FdvW+79Eum/7H6ouHxJ7uyWA6NtuUUB0iD44m1qWdf7Sd0Qg5RNvsP6qbqunT30/BWR6RL+4el/dHt8/PPYyQKhLvIaq2ratqrQbAuQy0Ruf36Xf0pFCyzKQLDKhaZ3rjqbRYhJI17nYNE+aC4XW00BuzoRpDpdD06TzHBAZc+FWLis/Ch1HAGnGhGG0XluGQWcSEG5zcVO7q7kKbYeBwOiPN3mesB0FgOw+Lx//iBfYZ4HYAU8IHgYF9jH8A8JjJyK0AUFIAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-table-merge-cells .ui-icon,.raptor-ui-table-merge-cells.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA81BMVEX///9Vf38LKytOd3c8Y2NLc3MwVVUpTU0YOjoNLS1Vf39TfX04Xl5RenpEa2tAZ2c0WlpHb29EzP/6/Pzu9fXA0dH5/f3r9/eG0uzk9PTp+fk0vO/1+fnx9/e8zc3u+PhDy/7F1tb0+/tCyv3C09M4wPP8/v7i8/O+z8/m9fXx+flhg+n+//8nSbg5W9o9xfi9zs73/PyI7v8mSK3D1NRCZMjJ2trp9vbH2Ng1vfA2vvE/x/qF6/w8w/Y6wvV94/R64PF43u+E6vt/5fZByfyF0uuD0OmBzuf///+AzOV+y+R8yeJ6x+B5xt94xd5kzvXK2dmu5BAUAAAAEnRSTlMAZodqcmt3eoFlTWdzaG5wdW1C/rgCAAAAtklEQVR4Xl3Kw7rDUBRA4d0b1TgIjdq2dYn3f5qeL5k0/QdrtCCbSshC7j0hB4UOcoPLur/dVVdLo1MAroZGwebUP++rh6NR40CQkft3vd0/Pr++f35lASpDNFIx9jCmGNvDChR95KqzRTvmF6HUYodpTk2TsrZKwDvRMZ6E/43B2OEhr7DDsrqWRVmVPJTn0dGLzcsgNtlBiEcIJcRuiiBp0eFNQtoY2JoEab3+RE9D5i0hA68e7McfFiRaMwIAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-table-split-cells .ui-icon,.raptor-ui-table-split-cells.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA8FBMVEX///9Vf38LKys8Y2MwVVU0WlpVf39TfX0YOjoNLS1Od3dAZ2dRenpEa2s4Xl5Lc3MpTU1Hb29EzP/6/Pzu9fXm9fW8zc35/f3k9PTp+fnu+Pjx9/f8/v7A0dH0+/tDy/7+///F1tY4wPOG0uz3/Pw9xfjp9vZCyv1CZMjx+fn1+fk0vO8mSK3r9/eI7v8nSbjJ2tqF0uuD0Ok1vfA2vvGAzOWBzuc/x/qF6/w8w/Y6wvV94/R64PF43u+E6vt/5fZByfzD1NTC09O+z8+9zs7///9hg+nH2Nji8/M5W9p+y+R8yeJ6x+B5xt94xd5kzvVtEZTHAAAAEnRSTlMAZodyd3VNZ4FlanBobnNrem0aKGmPAAAArUlEQVR4Xl3KRZLDMBQA0Z8xU0CSmR1mZoZhuv9t4rI2cV71soEv5PAgvOYIoEYobJ6W9fUmmU27kQqyhwbN1aF+3Ca7fdeToWSi8H88Wcy/vn9+/8wSVGpoUMU4xtjH2KhVQAtQWB29v1GBBko7PTqdFq2tAONkR49yGCj208N1h7R+EbhGdnxSDQ5YPT0IiQnxCTF0FspWdsTni3+9GVYZRPvjgS2C9JIjwbM7cpQh7ppJ8UgAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-tag-menu .ui-icon,.raptor-ui-tag-menu.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAU5JREFUeNpi/P//PwMlgAVEMDExNQIpbRL1Xv337189C5Sj29zcHPjnzx+4LMhlQAVg/PfvXzgNwuzs7AxdXV1McBcAAfPv378Zbt68+XblypVHYYYUFxf7gTRMmDBhE0zM0tLSWl1dXRikB+x6ZK8ANZ8EUv5QzPLp0yeGz58/w+TB4sePHz/JxsYG1wNzwbWmpiYQex5y+Pz8+ZMBGsgsSOLzZs2aBeJfQ5YoxRbA379/B/sZzYC1UMyALoEOWH/+/AUMPLALWPFGIy4DQEHEyMhAvgGMjCxAAxiJMwBLimRjZgaFNiNIjg1dEmowJBqxaDYHYg6QARBDGDigYgzoFjJhcdUKUJLQ1TUVg6QVZgY9PTMxkBhUDtUlIJNgzoGCZ9HRWZIg8b9/QbbAXMcITGgzngMZUsiuwGbABiC2whFmx4A4AMMASgBAgAEAx96Jw4UbHlsAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-align-left .ui-icon,.raptor-ui-align-left.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAItJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAjWYrEN2VYPbAZR1QUb0WxEZmPD1lR3wTYCttpSJQxg6mE0sgt2E/AzCLMBMTsQcwCxAskuQE722FwwEYiNsNjKClR8EUjH4w2DActMFBsAEGAAnS84DrgEl1wAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-align-right .ui-icon,.raptor-ui-align-right.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIxJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAvYjGYrMhuEHanugo0EbETH1jQPg714bGcGYhOqu2A3AT+DMBvQQnYgzQHECiS7ADnZw9j4wmA61J+sQMUcUFtBtrMC8TEg9kNxwYBlJooNAAgwAJo0OAu5XKT8AAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-align-center .ui-icon,.raptor-ui-align-center.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAI1JREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAlswGErjO2KrJiqLtiIw0Zc2JpmYbCTgM2WFIUBTD2MRnbBbgI2gzAbELMDMQcQK5DsAuRkj80FMDAFiI2RbGUFKuaA2noGiEOwhsGAZSaKDQAIMAB/BzgOq8akNwAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-align-justify .ui-icon,.raptor-ui-align-justify.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJFJREFUeNpi/P//PwMlgImBQsACN4mJqRFIaQExIxQzYWEzQfHlf//+lYL0McK8ADSAJJuBBqC6AAjWYrEN2VZkNgg7Ut0FGwnYiI6tqe6CbUTYCsPMQGxCdRfsJsJmNqCF7ECaA4gVSHYBcrKHsZFdMBGIjbDYygpUzAG1FWQ7KxAfA2I/FBcMWGai2ACAAAMAvPA4C7ttvJ4AAAAASUVORK5CYII=) 0 0!important}.raptor-ui-text-bold .ui-icon,.raptor-ui-text-bold.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKRJREFUeNpi/P//PwMlgImBQjDwBrCgmMbEpA2kGnGofQ3E9UD86t+/fzhdcBWIpwExMxQ3AHEIEK8BYgkgdsLrAih4A8SsaBYwQcWYiDGAEcmAbiwuJBiIIAPYoLgfiMuBeBmUXwHEXIQMYEIy4BUQXwDiy1C+HBBrEPKCDBCzwwwDpVRGRkZksU8ozkVOykCFVkBqOZ5oB3lpAoqe0bzAABBgANfuIyxmXKp/AAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-text-italic .ui-icon,.raptor-ui-text-italic.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH1JREFUeNpi/P//PwMlgImBQjDwBrBgmMgEN1MbiBvRpOv//ft3FUUEFIjImJGRERnrAPF6IO6BiaGrZyLCi6xAvJDcMLAA4j9AfJlcA/yBeCe5sWAExAJAfIKkWIAFJBAUATE7kM+M143ooQoEVkD8EA1b4Yy10bzAABBgAC7mS5rTXrDAAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-text-strike .ui-icon,.raptor-ui-text-strike.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL5JREFUeNpi/P//PwMlgImBQkCxASwopjHBzbMB4nQg5oTyrwKxNhAXAfGjf//+EXRBFhC/BOI0KAapYwZpxusCJPASquEdlD8FiHWwKWREjgUkL4gDcQ0QfwfiXqiBcIDsBXQD9hATcEADXOAckAEwzMjIiI4lgHgiEM8GYkmYOLIeXAZ4I2sA4vlQjGEArkBsAeJzQAUVYH8yMnIAKTmC6QAaHhpALALEPCBDoOJfgFQ5wVgYmnmBYgMAAgwAEGZWNyZpBykAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-text-block-quote .ui-icon,.raptor-ui-text-block-quote.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGVJREFUeNpi/P//PwMlgImBQjAcDWBhYZEA4r1AHA/EKHxiXQBS+BKIF+LgEzTAG4h3I0UvOh+/AUCFbECcDmROA2lC5mMzgAWLGDuUtsTBJ+iFeUDMC6Wx8VEA42hSptwAgAADAO3wKLgntfGkAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-text-size-increase .ui-icon,.raptor-ui-text-size-increase.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOhJREFUeNpi/P//PwMlgImBQkCxASxgU5gwzJkOpTORBZ2ilzO8+MjFwMIixnBhnTlOF8gD8U8gFoey4UBSyZooLzgD8Umo65xhgsYu5USHgS0QHwfiE1A2TtuxGaAIxL+B+AEQnwFiaagYg6Qi2AAHIP4PpbEa4AHEz4HYAIi/QL3hgSS/H4gfQmlELCAHNBBLQGlksenP7x9l4Bc3YMTnBRWogbZIuBOIZUFyW2b5EQwDVyA+giYPcionSA6U5Jc0yTK8vrUcVQU0L1gB8RMotkKSXoMkXgQT5BM3A+sDYcahn5kAAgwArro7Z1GYijsAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-text-size-decrease .ui-icon,.raptor-ui-text-size-decrease.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKxJREFUeNpi/P//PwMlgImBQjAMDGBBMY0Jbp4JEFcAcQcQnwEJpLa/Zfj27SvD+fPnGVhYxBgurDPH6wI9IP4DpRmMXcpJ9oIZELcBcRiaOCjOH0BpnAYoAbE6EE8EYnYgtjq7pxMm5wjE8lAapwFOQLwFiIuB+AQ0PBi2zvYHUQeAmBFKYxoATJWWQOwLxJJAfA6I5YE4FyT+9O5hBiSXwAHjaFKm3ACAAAMA85o8WKYZErQAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-text-underline .ui-icon,.raptor-ui-text-underline.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi/P//PwMlgImBQkCxASwopjExhQGpMCSheijdiCz279+/q3AeKAxgmJGREYSdgHgdlIaJ6SCLIevB5oXXUJe9RhK7gkUMZxgwAjEzlEYG2MRwGsCKRTErKQawYFHMQqwBn6G2qSCJGULFPmPYhpwSgdEIY6YCcTKa2rlAPBvEAEYjdgNAUYRMowOYWmQ9LFjUPSGQP2RwemFoZiaAAAMAlEI7bVBRJkoAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-text-sub .ui-icon,.raptor-ui-text-sub.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi/P//PwMlgImBQjDwBrDATWJCMWs6lM7Ep/nfv39YXSAPxL+AWALKJtkLLkB8EohZoWySDbAH4uNQQ+xJNUAJiH8DMT8QPwZiWagYDEwA4v1QGgJACQmEGRkZQTgXiI+i4VyoHAy7AfEaEBucCNEM2AzEKkiKu6BiYMuAdAYQLwZiKQwDgGAVED+E0iBgBeUjiy1HErMCWzyaFxgAAgwA5Gw9vTeiCqoAAAAASUVORK5CYII=) 0 0!important}.raptor-ui-text-super .ui-icon,.raptor-ui-text-super.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNpi/P//PwMlgImBQjDwBrCgmMaEYt50KJ0JpRuBWBuIrwJx/b9///C6QB6IfwGxBJQNAvVAPAkqRtALLkB8EohZoWwQiAbiICCuI8YAeyA+DjXEHiqmD8SaQLwIysYMAyhQAuLfQMwPxI+B2AkqVkZsLHgDsQYQTwXiVCBmg4phB6CUCMOMjIwgvBmIVaBsEO6CijEgY5geFAOAYBUQP4TSIGAF5SOLoVjMOJoXGAACDACTRz3jjn6PnwAAAABJRU5ErkJggg==) 0 0!important}.raptor-layout [data-title]:after{opacity:0;content:attr(data-title);display:block;position:absolute;top:100%;font-size:12px;font-weight:400;color:#fff;padding:11px 16px 7px;white-space:nowrap;text-shadow:none;overflow:visible;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;-webkit-transition:opacity .23s;-webkit-transition-delay:0s;-moz-transition:opacity .23s 0s;-o-transition:opacity .23s 0s;transition:opacity .23s 0s;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}.raptor-layout [data-title]:hover:after{opacity:1}.raptor-layout .raptor-select-element{position:relative}.raptor-layout .raptor-select-element:after{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}.raptor-plugin-unsaved-edit-warning{position:fixed;bottom:0;right:0;height:30px;line-height:30px;border:1px solid #D4D4D4;padding-right:7px;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}.raptor-plugin-unsaved-edit-warning .ui-icon{display:inline-block;float:left;margin:8px 5px 0}.raptor-plugin-unsaved-edit-warning-visible{filter:alpha(Opacity=100);opacity:1}.raptor-plugin-unsaved-edit-warning-dirty{outline:1px dotted #aaa;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAQMAAAC2MCouAAAABlBMVEUAAACfn5/FQV4CAAAAAnRSTlMAG/z2BNQAAABPSURBVHhexc2xEYAgEAXRdQwILYFSKA1LsxRKIDRwOG8LMDb9++aO8tAvjps4qXMLaGNf5JglxyyEhWVBXpAfyCvyhrwjD74OySfy8dffFyMcWadc9txXAAAAAElFTkSuQmCC)!important}.raptor-ui-view-source .ui-icon,.raptor-ui-view-source.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUeNpi/P//PwMlgImBQkCxAQwgLzAyMqLjMCCehsSfBhVDUQf2PhYDIoB4JhCLIYmJQcUiCBkQBcRzgFgci6vEoXJRuAyIAeIFODQjG7IAqhbFAAMg3gOlGQhguFp0FyQC8UoglgTx0QFUjSRUTSKuMEgG4nUghVgMkITKJROKhXQg3gbUI42kXxokBpUjGI0gDYVAfBzJABC7EFs6YBz6eYFiAwACDAADJlDtLE22CAAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-view-source-dialog .ui-dialog-content{overflow:visible}.raptor-ui-view-source-dialog textarea,.raptor-ui-view-source-inner-wrapper{width:100%;height:100%;min-height:200px}.raptor-ui-lorem-ipsum .ui-icon,.raptor-ui-lorem-ipsum.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPBJREFUeNpi/P//PwNFgJGRcQ0Qg2gGkGHEYpgeJqAZzJQ4gAWIWaHsaCYmpkggvRyILwFxOxAvAzkSiEHiVUDcBlV7GYh1wWqBztgJdQ4+OhaKMeRALmCDmoqPXgxlJ6HLMUE5RkC8BIiPQmlkRTBxLySxKzA1jCCnUBqNe2FRQg5mBhKgEH1BgQMYjwBpGyA+AhWbD8TnodEmgSSHrOYCEBuA1QINOA51DjZaEo8cmGaCJiYGLHQwEG/CIQenWYDpmhvIMAdiEH0NiKdCJfcA8VMgNgXiBVA5GLgKpbmRw+MROYHIjJYvjpFqAECAAQDLL1QeEMDiXQAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-revisions .ui-icon,.raptor-ui-revisions.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfRJREFUeNqMU89LAlEQnn27WiFUl0ASCbp0Cgm6dulWEHXoIF26Vv9Bh4Io6B5C5yDp1K1TUGQQCAqK1wLFyLIfaz9Eaddd++bxVhaxaGAc39uZ7/tmmKcRbHJ+niamp0nTNGq32xwXcD1Kve3CcZw7p9WSucby9nankI3/IyFyvLNzaCPJdl36dhxy8D2Xy9HR+fk6p8FvOd/oQpfM+Dpzmc1SCwAuCm0ARMNhqtfrdLq7e7i0ubmh8m81TwEbmNd+Y27ifF8sUn8gIHMPkskthD3jv8wrc3N0gvNYJEJR+Fkm8yFbcIEM+7Xn8uMjVapVSiSTkqlUKtFqPE4t2xYSgKfJQ3FRJJm5GLFpWT2Zr9Np6hOCbAUguAguBOags+s69RsGDQSDZJqmZH6DitTNDekoJCgMMIBlCTgZkCKBGECoBGIQXC5iP1jJQCjUYWaFnOsp6ABoSgF1gbD5mR0PwLJ0CWB7CuSPKu4CET5mXjgGfDfN4HM+T7IP7sebASf7I8/Ez7yXSFyNTE3tv5bLX03THO8o8NZY9/T4lPiZrUYj+1UoJFR3TfH+8CD7kUOEaz2U+JlrT08VFHJnHGvGXSo1PDY7G1STJPWiSAOjyyD8yHBWzLxNNWb2Hg+v8hD6+RyMxfbpD3MbjRdVWPHf/wgwAAuqSbfOGi3pAAAAAElFTkSuQmCC) 0 0!important}.raptor-ui-revisions-apply-button,.raptor-ui-revisions-preview-button{margin-right:10px}.raptor-ui-revisions-preview-button .ui-icon,.raptor-ui-revisions-preview-button.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAltJREFUeNqMUktoE1EUPW++SfNp1RowFFwoBRFEigtdBRUtLlzo3v9CkCoIQt2IguDKnbEKQpEq4gdKQRQUuigiuDNYCpaqdAo2NJNOM0kmv2ZmvG+SaSZQxQeHefPuvefdc95lqdvTaK+ThCT+vSjZ/QHXhTbzDIszE5DowA8OjF9PjVXrTdiOA9t24TgUc1vxBS2Hx9OLV2jL+O/O1BlwCF5CC2J9vQmzUkOhXINRrCBnWMjmy1jWSyiVK3gxenSM8oaJYNC/tYuAMQZBACRJgCyLUBQBoiiAn+tGAU8nP+H4oPqAWfotAjiCEkTeXIvE9Uj81WgA+/bspjtcJLfH8HG++tWPSXCdjT3VUjEj7diUxLbbua4jBQjcDgG14MvYjGR2PovMdw1lq6Ja5JXAPA8ctCG3OvBldMh8T4pk5MVTB/FTW46v6EZKzxvdEoIeOA5DrdbAWtGCvlqGUbDozEFWNzH3fOTG/rNphVLFIIHMJQQ96I2H0N8Xwd5dO6BKEiSxIyczMXLtwIW00kXQ6qBjZJHPw5qFlbyJ/GoJVrWO08eGkEz04dCl9LgsYCpoosxHjEvgT8tJYtEQohEVA8mt3hO+efvFKz5y+eFrVWSTddv9IJhLsxsm8utZ2we/E99I/u2Nqbj3aAqJ/i3VeCzyjpkahMzLOzCXvoE56xG/g7+RDB8ewtXzJyAKTLCNX9De3wd3JZx5dTeBZm2bRFlhSUZYVtAjy+hRFEQI0ZCCWEhFPKxClWmGKNeroVo+UWFCorA0lzt388ln/Mcq/F7I8RpC848AAwBUZQYbBk0VIwAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-revisions-apply-button .ui-icon,.raptor-ui-revisions-apply-button.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAqZJREFUeNp0k01IFVEUx/9z753XpCBqQWjfi1pE6quoiBA/yKWrei3a1KawTdGuRSCYYJt2hoGLEnsu0jZRmotQqJWRXyUiDWJBUanzevk+5vt27vQePMwOHObMnXN/55z/vaMlOjvbAdTiX3sd+L7p+z6qy2+BMdbMOZ8IgkALwxBFF5S0e7Crq8+jRCcI4JJPz8xgYHz8OkE08k+F5AmCfaZ3n3xOSnmJnkuMFpmkTQSC9Dx4to1MJoNn3d199K2Nkg5v2COguCWfz+2np3Acp8O28/ccx4YCaEzTwMl1IVAWi8GyLPQmk2irq3uwOD9/8ePcGHasJydV+1Wrg/j1e+mdbdv95BCe57EIwBioT4AgifZ25FwXumHg+dRU+qg1jYq1J6gmVzaJWdTuvDxqxA5A+K7LFYApgLICpIzClbm3OGgtNFY4KXezwF9XH5uRiK7rsuII2ASx0+vo6b6fsF0nEZJOktZXTBPDgy86CiCTeY7DlNS8AFGdqHEiYCgRSCDvesiTwFkaSwm8MDz8kKqfo22HmFsywmaIDAPQ2VMznNZ4FCuBk713cacl3lf/ZfKK2EinY6oXVhhBdcOkREhxGAEEAUTUL500TjU1gU4D5XRa78cGVsWP5WWrMh7v2eIm4kxF/vTTkZetqnLRFCQqSAV8P+AiY5qP6L1yK8CuxtqQNrcWOyiFaAT1g0CI4xemc7TWnF2fHc2uzaDmyDV8X+xHvTYEnSFXOkKpcdLEow6Yrhsgv1pVc/bkvoabSiy5t/5Gc0BHRgkiEjQS8i+oGCuw+k62HZqm3SYfInAD57r6YSZefbCqzh+rNDiPwdgGKGAY+JGAIc2gbkwm5xhRb7R5SdPYCVWNMV2mvr1pUbqs/Mxm2hr29OI/lrZl6o8AAwDbC1i/F0MeZgAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-revisions-diff-button .ui-icon,.raptor-ui-revisions-diff-button.ui-state-hover .ui-icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgpJREFUeNpiTGl7c4CRkdGeAQv4////wV+/fjosbpQBcTcBMRMQM0Kxl5Z1LgNjXMPT/yn+wtj0M2w7+pnh6eufB3/+/Olw7egkFDkt6zyGf//+MrB8+/YVyBVmmDlrFshKBjD8z8CQmZHB4GXNy7Bu3w/7Jy///tewzEYxAKQZ5EJGj6xz/6tStRjIAW2zrzGwfPnyBcyZPmMG1AVgzzNkZWWhKJ40eRLD/38Q+f///zEUFhQygPRCvQBxMj6Ql5uHIQbSy/L9+w8wZ9q0aRD/Q23JzckBi/fOPclw6/47rIYCY+8gy69ff8AcdCeDQOfMYww37709+OvjdYdv766iyHEJaTNwi+gyMCq5rDkA5NvjcPlBRsb/Dvf2hIHYh6HxD0sLlhpeW8EGMPz4cI3hx3tUGzgEtRk4BLQY2NkFwFH29s4SFHlhlRgGJiZmBhY+PhmG+3tDQWK7kUwH0Q66/kdAmh0YGH7tF1WLxxIGTAcZTcIugjnPr81AkZTUygBr/vv31/68OBUGVQUeDANymy4wsABNAecFaZ1sDAUgJ3o5SII1t7W3M/z7+5fhz98/DH/+/GVoaW4Geo+HgVFaJwvkFKwhKCBh6SAoZb0/JVSYQVGaFUO+esILsH/5gZgT6Io1yGEATOeBYEMkrRwMvdYvxWbBh+fHDsENgGomFvwD4u+gxAgQYABaINAvYKeykgAAAABJRU5ErkJggg==) 0 0!important}.raptor-ui-revisions-loading-revisions{text-align:center;padding:20px}.raptor-ui-revisions-table thead th{display:table-cell}.raptor-ui-revisions-table tbody tr.ui-state-hover{cursor:pointer}.raptor-ui-revisions-table tbody td{vertical-align:middle}.raptor-ui-revisions-table tbody td.raptor-ui-revisions-controls{white-space:pre}.raptor-ui-revisions-diff-button-diff{font-family:monospace}.raptor-ui-revisions-diff-button-diff del{background-color:#FFC8C8}.raptor-ui-revisions-diff-button-diff ins{background-color:#BEF0BE}.raptor-section-guide .raptor-section,.raptor-section-guide .raptor-section-item,.raptor-section-guide .raptor-section-layout,.raptor-section-guide .raptor-section-layout-pane{position:relative!important;margin-top:20px!important;margin-bottom:5px!important;padding-top:5px!important;padding-bottom:5px!important}.raptor-section-guide .raptor-section-item:before,.raptor-section-guide .raptor-section-layout-pane:before,.raptor-section-guide .raptor-section-layout:before,.raptor-section-guide .raptor-section:before{font-size:11px;font-family:"Courer New",monospace;color:#fff;padding:0 2px;position:absolute;height:15px;top:-17px;left:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:calc(100% - 3px);line-height:1}.raptor-section-guide .raptor-section-item{outline:1px solid #156108!important}.raptor-section-guide .raptor-section-item:before{content:attr(data-title);background-color:#156108;outline:1px solid #156108!important}.raptor-section-guide .raptor-section-layout-pane{outline:1px solid #1962ff!important}.raptor-section-guide .raptor-section-layout-pane:before{content:attr(data-title);background-color:#1962ff;outline:1px solid #1962ff!important}.raptor-section-guide .raptor-section-layout{outline:1px solid #002f94!important}.raptor-section-guide .raptor-section-layout:before{content:attr(data-title);background-color:#002f94;outline:1px solid #002f94!important}.raptor-section-guide .raptor-section{outline:1px solid #9f0d00!important}.raptor-section-guide .raptor-section:before{content:attr(data-title);background-color:#9f0d00;outline:1px solid #9f0d00!important}.raptor-section-guide .raptor-section-item:after,.raptor-section-guide .raptor-section-layout-pane:after,.raptor-section-guide .raptor-section-layout:after,.raptor-section-guide .raptor-section:after{content:" ";display:table;clear:both}.raptor-section-add-item .ui-icon,.raptor-section-add-layout .ui-icon,.raptor-section-clear .ui-icon,.raptor-section-edit .ui-icon,.raptor-section-guides .ui-icon,.raptor-section-remove .ui-icon,.raptor-section-save .ui-icon,.raptor-ui-align-center .ui-icon,.raptor-ui-align-justify .ui-icon,.raptor-ui-align-left .ui-icon,.raptor-ui-align-right .ui-icon,.raptor-ui-cancel .ui-icon,.raptor-ui-class-menu .ui-icon,.raptor-ui-clean-block .ui-icon,.raptor-ui-clear-formatting .ui-icon,.raptor-ui-click-button-to-edit .ui-icon,.raptor-ui-close .ui-icon,.raptor-ui-dock-to-element .ui-icon,.raptor-ui-dock-to-screen .ui-icon,.raptor-ui-embed .ui-icon,.raptor-ui-float-left .ui-icon,.raptor-ui-float-none .ui-icon,.raptor-ui-float-right .ui-icon,.raptor-ui-guides .ui-icon,.raptor-ui-history-redo .ui-icon,.raptor-ui-history-undo .ui-icon,.raptor-ui-hr-create .ui-icon,.raptor-ui-image-resize .ui-icon,.raptor-ui-insert-file .ui-icon,.raptor-ui-link-create .ui-icon,.raptor-ui-link-remove .ui-icon,.raptor-ui-list-ordered .ui-icon,.raptor-ui-list-unordered .ui-icon,.raptor-ui-lorem-ipsum .ui-icon,.raptor-ui-revisions .ui-icon,.raptor-ui-revisions-apply-button .ui-icon,.raptor-ui-revisions-diff-button .ui-icon,.raptor-ui-revisions-preview-button .ui-icon,.raptor-ui-save .ui-icon,.raptor-ui-snippet-menu .ui-icon,.raptor-ui-special-characters .ui-icon,.raptor-ui-statistics .ui-icon,.raptor-ui-table-create .ui-icon,.raptor-ui-table-delete-column .ui-icon,.raptor-ui-table-delete-row .ui-icon,.raptor-ui-table-insert-column .ui-icon,.raptor-ui-table-insert-row .ui-icon,.raptor-ui-table-merge-cells .ui-icon,.raptor-ui-table-split-cells .ui-icon,.raptor-ui-tag-menu .ui-icon,.raptor-ui-text-block-quote .ui-icon,.raptor-ui-text-bold .ui-icon,.raptor-ui-text-italic .ui-icon,.raptor-ui-text-size-decrease .ui-icon,.raptor-ui-text-size-increase .ui-icon,.raptor-ui-text-strike .ui-icon,.raptor-ui-text-sub .ui-icon,.raptor-ui-text-super .ui-icon,.raptor-ui-text-underline .ui-icon,.raptor-ui-view-source .ui-icon{filter:alpha(Opacity=85);opacity:.85}.raptor-section-add-item:hover .ui-icon,.raptor-section-add-layout:hover .ui-icon,.raptor-section-clear:hover .ui-icon,.raptor-section-edit:hover .ui-icon,.raptor-section-guides:hover .ui-icon,.raptor-section-remove:hover .ui-icon,.raptor-section-save:hover .ui-icon,.raptor-ui-align-center:hover .ui-icon,.raptor-ui-align-justify:hover .ui-icon,.raptor-ui-align-left:hover .ui-icon,.raptor-ui-align-right:hover .ui-icon,.raptor-ui-cancel:hover .ui-icon,.raptor-ui-class-menu:hover .ui-icon,.raptor-ui-clean-block:hover .ui-icon,.raptor-ui-clear-formatting:hover .ui-icon,.raptor-ui-click-button-to-edit:hover .ui-icon,.raptor-ui-close:hover .ui-icon,.raptor-ui-dock-to-element:hover .ui-icon,.raptor-ui-dock-to-screen:hover .ui-icon,.raptor-ui-embed:hover .ui-icon,.raptor-ui-float-left:hover .ui-icon,.raptor-ui-float-none:hover .ui-icon,.raptor-ui-float-right:hover .ui-icon,.raptor-ui-guides:hover .ui-icon,.raptor-ui-history-redo:hover .ui-icon,.raptor-ui-history-undo:hover .ui-icon,.raptor-ui-hr-create:hover .ui-icon,.raptor-ui-image-resize:hover .ui-icon,.raptor-ui-insert-file:hover .ui-icon,.raptor-ui-link-create:hover .ui-icon,.raptor-ui-link-remove:hover .ui-icon,.raptor-ui-list-ordered:hover .ui-icon,.raptor-ui-list-unordered:hover .ui-icon,.raptor-ui-lorem-ipsum:hover .ui-icon,.raptor-ui-revisions-apply-button:hover .ui-icon,.raptor-ui-revisions-diff-button:hover .ui-icon,.raptor-ui-revisions-preview-button:hover .ui-icon,.raptor-ui-revisions:hover .ui-icon,.raptor-ui-save:hover .ui-icon,.raptor-ui-snippet-menu:hover .ui-icon,.raptor-ui-special-characters:hover .ui-icon,.raptor-ui-statistics:hover .ui-icon,.raptor-ui-table-create:hover .ui-icon,.raptor-ui-table-delete-column:hover .ui-icon,.raptor-ui-table-delete-row:hover .ui-icon,.raptor-ui-table-insert-column:hover .ui-icon,.raptor-ui-table-insert-row:hover .ui-icon,.raptor-ui-table-merge-cells:hover .ui-icon,.raptor-ui-table-split-cells:hover .ui-icon,.raptor-ui-tag-menu:hover .ui-icon,.raptor-ui-text-block-quote:hover .ui-icon,.raptor-ui-text-bold:hover .ui-icon,.raptor-ui-text-italic:hover .ui-icon,.raptor-ui-text-size-decrease:hover .ui-icon,.raptor-ui-text-size-increase:hover .ui-icon,.raptor-ui-text-strike:hover .ui-icon,.raptor-ui-text-sub:hover .ui-icon,.raptor-ui-text-super:hover .ui-icon,.raptor-ui-text-underline:hover .ui-icon,.raptor-ui-view-source:hover .ui-icon{filter:alpha(Opacity=100);opacity:1}.raptor-section{min-height:10px}.raptor-section-ui{position:absolute;padding:5px;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f7f7f7),color-stop(100%,#fafafa));background:-webkit-linear-gradient(#f7f7f7,#fafafa);background:-moz-linear-gradient(#f7f7f7,#fafafa);background:-o-linear-gradient(#f7f7f7,#fafafa);background:linear-gradient(#f7f7f7,#fafafa)}.raptor-section-ui .ui-button{margin:0}.raptor-section-ui-inner{position:relative}.raptor-section-menu{position:absolute;top:36px}.raptor-section-visible{display:block}.raptor-section-hidden{display:none!important}.raptor-section-add-item .ui-icon,.raptor-section-add-item.ui-state-hover .ui-icon{width:16px;height:16px;display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYRJREFUeNqkU71KA0EQnt3EUxNsbRTEVrRaS4n4APoIgoXkNWx8iHSCzyDYCKJtLmBjIQiKYGGhRvF+N7vO7Nx5t0mssrDZ3ZuZb7/v24mw1sIso0k/6mQHBhsPfkRAj0LFKQQLXS8+1GCP3xlgsHIPEAmARVklWFBHe4eKGJ5dn/vgsfEZuKFRSoSB+QokjmPejGrFKeaM7BQAl4iBBBPmBOemKTiPyoIcV2MnPfAGJWS4IpEkSRiA2BHrKYaXAD3SXOnngizLwBjDAAD9sdoQZ7dZ6Ff7uweKNNON5SzPnc2Oqn+XUsLt3U2NAd6Q57mbTIDPw68hRFHE8nUO1nBxEAQlqz+A8PLqYkLf6vqaMg0Dr88v4URQOAkFADVJ3R/rzOzrBV15IMU2CPjXxNor4My4UXQLu43Q6PloDaR7nf8B6KafqmvMkuFnTE3VRO0GVokpANSeb5mHZ9uFrk9dfaT9MprYkmMAj7HPzUL4cfrEeylCT/835m612ctZ/86/AgwAeFDT7aictlMAAAAASUVORK5CYII=) 0 0!important}.raptor-section-add-item .ui-icon:before{display:none}.raptor-section-edit .ui-icon,.raptor-section-edit.ui-state-hover .ui-icon{width:16px;height:16px;display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABSlBMVEWymwFVVVWymgEKCgqtlQG2AQEDAwOvmQOokQKlfACgiQLTAQHiAQGFbwEICAgcHBwQEBDkAQF8ZwEGBgZbTwJ1YACIdwNbRwhhTA5VBQVACAhQUFDSAQFvBgbgAQEXFxcxCQlgBgaVgxW0AQHFAQEMDAxVVVWoAACkjQKpkgK8FRWbhQKhigKgAACwmgPkAQGJcwGPeQFVVVWlfACojQGAawGGcAG8cwOmfQCOeAGbdQCXcgDx5MB5YwF9aAGDBgaXgQKSfAKYggKOawG7pWLdzqBvWQF2YAB/cyyMegh7XgGlkVVnTgFnTgGslQNnYkFoTgFnTgFnTgFnTgGrlALy5sL29vbd3d3k02D/7oji0V3v3nH4aGjMzMzh0Fv864P4537r2mkAAAD/iIj043jj0l3m1WO7qjPk01/yXFzMu0Tfzljgz1rezVaqP1K6AAAAVXRSTlMAAEAAtwAAAAAAAAAAAAAAAAAAAAAAAAAAAABpPwCdgykAo0O5LySxwkSdw0UyQyvHRR8npshGAAAABmzvyke1AMVFOcD1w0cAsIXRljzAAJZJCQAA2U4xywAAALVJREFUeF41yNOaA0EUAOHTmUxo27axto1RzPW+/21y+uvUXf1gtVmcmk0uIKQaCfEUcAFIo7BIJSngAmSC4vA7Cz6vB2iqhDiSjsqg77FXK59SNOZHYD/5v0lzHAX607/HCscAf7nK5bUM8AdysaRjgD+TT04NW9j8x1etfryFZkvpj9udHYRAOA67e/s/vweHZoSuycjD2blwcXnlQLi2I9wKd/cPboQnQmH+/PL6hvBOKKwBNYghCPFyErUAAAAASUVORK5CYII=) 0 0!important}.raptor-section-edit .ui-icon:before{display:none}.raptor-section-remove .ui-icon,.raptor-section-remove.ui-state-hover .ui-icon{width:16px;height:16px;display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAtFBMVEX///+nAABhAACnAACjAACCAACgAACHAACjAAByAAB1AAByAACDAACnAACCAACHAACgAACNAACbAACXAACMAACSAABfAACYAACRAACjAACbAAChAACqAACNAACcAACHAACqAADEERGsERHQERG+NjaiERHUTEzYERG4ERGlFBSfFRX/d3f6cnK0JSWoHh7qYmLkXFyvFRXmXl7vZ2fNRUX4cHDXT0/+dnbbU1O3Li7GPT26MTG2f8oMAAAAIXRSTlMASEjMzADMzAAASMxIAMwAAMzMzEjMzEhISABIzABISEg/DPocAAAAj0lEQVR4Xo3PVw6DMBBF0RgXTO+hBYhtILX3sv99RRpvgPcxVzp/M5syb7lYepxDABDeYcQ5wg+MAMhr3JOyJKfxTABqduuvjD37O6sBwjZ+f76/7TFuQw1VnhyGYZPklYagKbKLlDIrmkBDGq1hUaqhM4UQJpwOwFdK+a4LAbCdlWNTCgGwjLlhUQqZ8uofSk8NKY1Fm8EAAAAASUVORK5CYII=) 0 0!important}.raptor-section-remove .ui-icon:before{display:none}.raptor-section-add-layout .ui-icon,.raptor-section-add-layout.ui-state-hover .ui-icon{width:16px;height:16px;display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARZJREFUeNqkUktqhEAQrdKKSDauk0Wu4cIzzAGydBNnE8jCuFIQvERm72W8RjbeIP41/RoCjuMwSedBQ1HV7/HqdXOe5wcieiAz1DKO42NRFB8m7CzLjjJNE6VpGpkIzPPMFMfxUYksyok+qJMkeVn39g7m4GIFhgulplUty6Ku62jd2wPugSvDMOiLIPwAAtveHsCVvu95fZmZqW1bWpZF19eAObhwoFfYCoRheDNY13XvLhxgt6ZpqCzL060Moih6FbXvmYBt29qBCggWrwo4joOs+MIB6t+EiLnOACpoiMjZK2x7ewCXgyB4U5a/TH6iCvFe6rqWqqpO2PkvgDvf99/Z87xntc+TiQP1Ep+MD/EffAswAIdz96wtUrFAAAAAAElFTkSuQmCC) 0 0!important}.raptor-section-add-layout .ui-icon:before{display:none}.raptor-section-guides .ui-icon,.raptor-section-guides.ui-state-hover .ui-icon{width:16px;height:16px;display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUeNpi/P//PwNFAGQAIyMjDK9BYqNgXHqZ0MSYcFmEyxBGsClMTGS5+t+/fxg2biLGAGTXoBvATGoYkuUFGMDmhd2kGjL4vHCUUi9cIjcpnwPi2UAsBaXPQZPwOXxscD5Cy0xLSbUc3YDnJLue0uwMEGAA2O1APJOrHFQAAAAASUVORK5CYII=) 0 0!important}.raptor-section-guides .ui-icon:before{display:none}.raptor-section-save .ui-icon,.raptor-section-save.ui-state-hover .ui-icon{width:16px;height:16px;display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNqkU71ugzAQPowtwdAdqRLK3odg6161a+cukZonoGrElgWWDqhb16oP0AfoytStirows0QRMj/unQsohAQi5aTD5vju4/Pd2VBKwTnG6cEYe8bl6s73P09Jel8ur3H5ruv6CUiBYRgfQRAosnrCyQhLOZTLG1ImpYQSA1VVjf7dNE0gLOV0R6AXlAMSk4uiGCUQ6ITdJzDpz0SQTxAoxlqVZo+gLEuQyDxFwIQAwg4IiPV3vYbL2WyUgDBHFbxG0Um9t237sIIkSeDYYGHbur3neQMCTgqoRWEYDToh8NyLxSO4rgtpmrY14D0CUsA5h80mh/n8QQdXq7CTTN/ILMtqa9AjEDjOGrTdSnAcRwdpr1unzB5BMweiGwY8tx/H8U+WZbmUSoPJlfr3NrZLgDkXujbNXaD9DfoLAt8OFRHPfb8X+sLcW+Pc6/wnwABHMdnKf4KT4gAAAABJRU5ErkJggg==) 0 0!important}.raptor-section-save .ui-icon:before{display:none}.raptor-section-clear .ui-icon,.raptor-section-clear.ui-state-hover .ui-icon{width:16px;height:16px;display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAipJREFUeNqMU0toE1EUvW/mZWbSTCaTT+uH2qgE7KZCwUXW7ixIFn42LgQ3Ki66M7iquikIihtFF7pQQXBlwI2b4lJwUxUkRFKjqfhJY4ckne/7OJM0OilDyYXH3Hvn3MO58+YgzjkEUSqVTtZqtX31eh08zwtaE/7JSpIkq6pKNU1z0um0reu6nUwmG5VK5WUAwrAd67ML2utHz6+s/d76M6nKyt6Mkvtp2N8cjyHLpcglDAFwmMkl0mfvPLs1nBOGia8EwZgRxu5KgAWEVQUnY6KAxyEQwiBxMKzffuIdM7fwgTBJGBupwPPEyXsvetM3HvbmEgolT1/Z+QlZVMZSEJdE+c07e+r08Xh76aL6cWPTxecWpK+mQ+1dFTDG+qwiQsL8bKy7JytajAO9fjm1mtTYumGg6YSM42FspIKeQ6ypHPpebzr64nJzXkBI7HZ59v0nU2ec050KcEjB/6aI5KX7DT2Twt7i8pe5/H7ZOnMi07Rc4vqvE2Fs5C0Qyp2lSzPGrw0rdvfaoQ/nT2VXCaI/orB45zcY5JwW8vHNBzePfO6anm17LJCOorCRK/Rrf1/TIV3C+lc28pONrDtMCo0V5+3KwaOdTgdqjIFpmtButwuEEFAUBXxDQSqVgpamBVhf0dVRgmq1KhWLRTAMAyzLAkIYtFo9cBzuE8TBd2OfwHcjlMvlf3NoaGffthcopYeDervXl43QQH3oyQVBWHNd93FQ/xVgAApZHj+O2++5AAAAAElFTkSuQmCC) 0 0!important}.raptor-section-clear .ui-icon:before{display:none}.raptor-section-ui .ui-button-icon-only{height:32px;width:32px;float:left;margin-left:-1px;z-index:2}.raptor-section-ui .ui-button-icon-only:hover{z-index:3}.raptor-section-ui .ui-button-icon-only:first-child{margin-left:0}.raptor-section-placeholder{padding:5px}.raptor-section-menu{min-width:160px}.raptor-section-sortable-placeholder{height:0!important;padding:0;margin:0;border-top:1px dashed #ff4136}.raptor-section-sortable-placeholder:after,.raptor-section-sortable-placeholder:before{position:relative;font-size:14px;font-family:"Courer New",monospace;font-weight:700;color:#ff4136;top:-9px;line-height:1}.raptor-section-sortable-placeholder:before{content:">";float:left;left:-10px}.raptor-section-sortable-placeholder:after{content:"<";float:right;right:-10px}}</style>');