PageSourceSearch

https://www.letstalkmonmouthshire.co.uk/_next/static/chunks/c925c46d.7a83b9d92f2920ef.js

js letstalkmonmouthshire.co.uk collected 2026-09-29 03:18:49 UTC 926,684 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e7a7727f-ea12-461d-8a8b-0ef441331dcf",e._sentryDebugIdIdentifier="sentry-dbid-e7a7727f-ea12-461d-8a8b-0ef441331dcf")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19827],{62393:function(e,t,n){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,n,a){if("string"!=typeof e)return new t.Bootstrap(e,n,a);var r=document.querySelectorAll(e);n&&n.iframe_document&&(r=n.iframe_document.querySelectorAll(e));for(var o=[],i=0;i<r.length;i++){var s=r[i]["data-froala.editor"];s?o.push(s):o.push(new t.Bootstrap(r[i],n,a))}return 1==o.length?o[0]:o}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return -1<n}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var n=Object(e),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},writable:!0,configurable:!0}),function(){var e=/^\s*:scope/gi,t=/,\s*:scope/gi,n=document.createElement("div");function a(a,r){var o=a[r];a[r]=function(a){var r,i=!1,s=!1;if(a&&(a.match(e)||a.match(t))){this.parentNode||(n.appendChild(this),s=!0);var l=this.parentNode;return this.id||(this.id="rootedQuerySelector_id_".concat((new Date).getTime()),i=!0),r=o.call(l,a.replace(e,"#".concat(this.id)).replace(t,",#".concat(this.id))),i&&(this.id=""),s&&n.removeChild(this),r}return o.call(this,a)}}try{n.querySelectorAll(":scope *")}catch(e){a(Element.prototype,"querySelector"),a(Element.prototype,"querySelectorAll"),a(HTMLElement.prototype,"querySelector"),a(HTMLElement.prototype,"querySelectorAll")}}(),"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){if("Element"in e){var t="classList",n="prototype",a=e.Element[n],r=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return -1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new s("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","The token must not contain space characters.");return i.call(e,t)},c=function(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],a=0,r=n.length;a<r;a++)this.push(n[a]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},d=c[n]=[],f=function(){return new c(this)};if(s[n]=Error[n],d.item=function(e){return this[e]||null},d.contains=function(e){return~l(this,e+"")},d.add=function(){for(var e,t=arguments,n=0,a=t.length,r=!1;~l(this,e=t[n]+"")||(this.push(e),r=!0),++n<a;);r&&this._updateClassName()},d.remove=function(){var e,t,n=arguments,a=0,r=n.length,o=!1;do for(t=l(this,e=n[a]+"");~t;)this.splice(t,1),o=!0,t=l(this,e);
vendor: 8,947 bytes, line 1
1while(++a<r);o&&this._updateClassName()},d.toggle=function(e,t){var n=this.contains(e),a=n?!0!==t&&"remove":!1!==t&&"add";return a&&this[a](e),!0===t||!1===t?t:!n},d.replace=function(e,t){var n=l(e+"");~n&&(this.splice(n,1,t),this._updateClassName())},d.toString=function(){return this.join(" ")},r.defineProperty){var p={get:f,enumerable:!0,configurable:!0};try{r.defineProperty(a,t,p)}catch(e){void 0!==e.number&&-0x7ff5ec54!==e.number||(p.enumerable=!1,r.defineProperty(a,t,p))}}else r[n].__defineGetter__&&a.__defineGetter__(t,f)}}(self),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,a=arguments.length;for(n=0;n<a;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var n=this.toString().split(" "),a=n.indexOf(e+"");~a&&(n=n.slice(a),this.remove.apply(this,n),this.add(t),this.add.apply(this,n.slice(1)))}),e=null}()),t.RegisterPlugins=function(e){for(var n=0;n<e.length;n++)e[n].call(t)},Object.assign(t,{DEFAULTS:{initOnClick:!1,pluginsEnabled:null},MODULES:{},PLUGINS:{},VERSION:"3.2.1",INSTANCES:[],OPTS_MAPPING:{},SHARED:{},ID:0}),t.MODULES.node=function(e){var n=e.$;function a(e){return e&&"IFRAME"!==e.tagName?Array.prototype.slice.call(e.childNodes||[]):[]}function r(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&0<=t.BLOCK_TAGS.indexOf(e.tagName.toLowerCase())}function o(e){var t={},n=e.attributes;if(n)for(var a=0;a<n.length;a++){var r=n[a];t[r.nodeName]=r.value}return t}function i(e){for(var t="",n=o(e),a=Object.keys(n).sort(),r=0;r<a.length;r++){var i=a[r],s=n[i];0>s.indexOf("'")&&0<=s.indexOf('"')?t+=" ".concat(i,"='").concat(s,"'"):(0<=s.indexOf('"')&&0<=s.indexOf("'")&&(s=s.replace(/"/g,"&quot;")),t+=" ".concat(i,'="').concat(s,'"'))}return t}function s(t){return t===e.el}return{isBlock:r,isEmpty:function(n,o){if(!n)return!0;if(n.querySelector("table"))return!1;var i=a(n);1===i.length&&r(i[0])&&(i=a(i[0]));for(var s=!1,l=0;l<i.length;l++){var c=i[l];if(!(o&&e.node.hasClass(c,"fr-marker")||c.nodeType===Node.TEXT_NODE&&0===c.textContent.length)){if("BR"!==c.tagName&&0<(c.textContent||"").replace(/\u200B/gi,"").replace(/\n/g,"").length||s)return!1;"BR"===c.tagName&&(s=!0)}}return!(n.querySelectorAll(t.VOID_ELEMENTS.join(",")).length-n.querySelectorAll("br").length||n.querySelector("".concat(e.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||1<n.querySelectorAll(t.BLOCK_TAGS.join(",")).length||n.querySelector("".concat(e.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),":not(.fr-marker)")))},blockParent:function(t){for(;t&&t.parentNode!==e.el&&(!t.parentNode||!e.node.hasClass(t.parentNode,"fr-inner"));)if(r(t=t.parentNode))return t;return null},deepestParent:function(n,a,o){if(void 0===a&&(a=[]),void 0===o&&(o=!0),a.push(e.el),0<=a.indexOf(n.parentNode)||n.parentNode&&e.node.hasClass(n.parentNode,"fr-inner")||n.parentNode&&0<=t.SIMPLE_ENTER_TAGS.indexOf(n.parentNode.tagName)&&o)return null;for(;0>a.indexOf(n.parentNode)&&n.parentNode&&!e.node.hasClass(n.parentNode,"fr-inner")&&(0>t.SIMPLE_ENTER_TAGS.indexOf(n.parentNode.tagName)||!o)&&(!r(n)||r(n.parentNode))&&(!r(n)||!r(n.parentNode)||!o);)n=n.parentNode;return n},rawAttributes:o,attributes:i,clearAttributes:function(e){for(var t=e.attributes,n=t.length-1;0<=n;n--){var a=t[n];e.removeAttribute(a.nodeName)}},openTagString:function(e){return"<".concat(e.tagName.toLowerCase()).concat(i(e),">")},closeTagString:function(e){return"</".concat(e.tagName.toLowerCase(),">")},isFirstSibling:function t(n,a){void 0===a&&(a=!0);for(var r=n.previousSibling;r&&a&&e.node.hasClass(r,"fr-marker");)r=r.previousSibling;return!r||r.nodeType===Node.TEXT_NODE&&""===r.textContent&&t(r)},isLastSibling:function t(n,a){void 0===a&&(a=!0);for(var r=n.nextSibling;r&&a&&e.node.hasClass(r,"fr-marker");)r=r.nextSibling;return!r||r.nodeType===Node.TEXT_NODE&&""===r.textContent&&t(r)},isList:function(e){return!!e&&0<=["UL","OL"].indexOf(e.tagName)},isLink:function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&"a"===e.tagName.toLowerCase()},isElement:s,contents:a,isVoid:function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&0<=t.VOID_ELEMENTS.indexOf((e.tagName||"").toLowerCase())},hasFocus:function(t){return t===e.doc.activeElement&&(!e.doc.hasFocus||e.doc.hasFocus())&&!!(s(t)||t.type||t.href||~t.tabIndex)},isEditable:function(e){return(!e.getAttribute||"false"!==e.getAttribute("contenteditable"))&&0>["STYLE","SCRIPT"].indexOf(e.tagName)},isDeletable:function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("class")&&0<=(e.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function(e,t){return e instanceof n&&(e=e.get(0)),e&&e.classList&&e.classList.contains(t)},filter:function(t){return e.browser.msie?t:{acceptNode:t}}}},Object.assign(t.DEFAULTS,{htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","script","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video","wbr"],htmlRemoveTags:["script","style"],htmlAllowedAttrs:["accept","accept-charset","accesskey","action","align","allowfullscreen","allowtransparency","alt","async","autocomplete","autofocus","autoplay","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","frameborder","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","mozallowfullscreen","multiple","muted","name","novalidate","open","optimum","pattern","ping","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","webkitallowfullscreen","width","wrap"],htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),t.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"},t.MODULES.clean=function(e){var n,a,r,o,i=e.$,s=[];function l(e){var t=e.replace(/;;/gi,";");return";"!==(t=t.replace(/^;/gi,"")).charAt(t.length)&&(t+=";"),t}function c(t){var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var a=n.match(r),i=null;"style"===n&&e.opts.htmlAllowedStyleProps.length&&(i=t[n].match(o)),a&&i?t[n]=l(i.join(";")):a&&("style"!==n||i)||delete t[n]}for(var s="",c=Object.keys(t).sort(),d=0;d<c.length;d++)0>t[n=c[d]].indexOf('"')?s+=" ".concat(n,'="').concat(t[n],'"'):s+=" ".concat(n,"='").concat(t[n],"'");return s}function d(t,n){var a,r=document.implementation.createHTMLDocument("Froala DOC").createElement("DIV");i(r).append(t);var o="";if(r){var s=e.node.contents(r);for(a=0;a<s.length;a++)n(s[a]);for(s=e.node.contents(r),a=0;a<s.length;a++)o+=function t(n,a){if(n.nodeType===Node.COMMENT_NODE)return"\x3c!--".concat(n.nodeValue,"--\x3e");if(n.nodeType===Node.TEXT_NODE)return a?n.textContent.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):n.textContent.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00A0/g,"&nbsp;").replace(/\u0009/g,"");if(n.nodeType!==Node.ELEMENT_NODE||n.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(n.tagName))return n.outerHTML;if(n.nodeType===Node.ELEMENT_NODE&&"svg"===n.tagName){var r=document.createElement("div"),o=n.cloneNode(!0);return r.appendChild(o),r.innerHTML}if("IFRAME"===n.tagName)return n.outerHTML.replace(/&lt;/g,"<").replace(/&gt;/g,">");var i=n.childNodes;if(0===i.length)return n.outerHTML;for(var s="",l=0;l<i.length;l++)"PRE"===n.tagName&&(a=!0),s+=t(i[l],a);
1return e.node.openTagString(n)+s+e.node.closeTagString(n)}(s[a])}return o}function f(t,n,a){var r=(s=[],t=t.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,function(e){return s.push(e),"[FROALA.EDITOR.SCRIPT ".concat(s.length-1,"]")}).replace(/<noscript\b[^<]*(?:(?!<\/noscript>)<[^<]*)*<\/noscript>/gi,function(e){return s.push(e),"[FROALA.EDITOR.NOSCRIPT ".concat(s.length-1,"]")}).replace(/<meta((?:[\w\W]*?)) http-equiv="/g,'<meta$1 data-fr-http-equiv="').replace(/<img((?:[\w\W]*?)) src="/g,'<img$1 data-fr-src="')),o=null;return e.opts.fullPage&&(r=e.html.extractNode(t,"body")||(0<=t.indexOf("<body")?"":t),a&&(o=e.html.extractNode(t,"head")||"")),r=d(r,n),o&&(o=d(o,n)),(function(t,n,a){if(e.opts.fullPage){var r=e.html.extractDoctype(a),o=c(e.html.extractNodeAttrs(a,"html"));n=null===n?e.html.extractNode(a,"head")||"<title></title>":n;var i=c(e.html.extractNodeAttrs(a,"head")),s=c(e.html.extractNodeAttrs(a,"body"));return"".concat(r,"<html").concat(o,"><head").concat(i,">").concat(n,"</head><body").concat(s,">").concat(t,"</body></html>")}return t})(r,o,t).replace(/\[FROALA\.EDITOR\.SCRIPT ([\d]*)\]/gi,function(t,n){return 0<=e.opts.htmlRemoveTags.indexOf("script")?"":s[parseInt(n,10)]}).replace(/\[FROALA\.EDITOR\.NOSCRIPT ([\d]*)\]/gi,function(t,n){return 0<=e.opts.htmlRemoveTags.indexOf("noscript")?"":s[parseInt(n,10)].replace(/&lt;/g,"<").replace(/&gt;/g,">")}).replace(/<img((?:[\w\W]*?)) data-fr-src="/g,'<img$1 src="')}function p(t){var n=e.doc.createElement("DIV");return n.innerText=t,n.textContent}return{_init:function(){e.opts.fullPage&&i.merge(e.opts.htmlAllowedTags,["head","title","style","link","base","body","html","meta"])},html:function(s,c,d,u){void 0===c&&(c=[]),void 0===d&&(d=[]),void 0===u&&(u=!1);var h,g=i.merge([],e.opts.htmlAllowedTags);for(h=0;h<c.length;h++)0<=g.indexOf(c[h])&&g.splice(g.indexOf(c[h]),1);var m=i.merge([],e.opts.htmlAllowedAttrs);for(h=0;h<d.length;h++)0<=m.indexOf(d[h])&&m.splice(m.indexOf(d[h]),1);return m.push("data-fr-.*"),m.push("fr-.*"),n=RegExp("^".concat(g.join("$|^"),"$"),"gi"),r=RegExp("^".concat(m.join("$|^"),"$"),"gi"),a=RegExp("^".concat(e.opts.htmlRemoveTags.join("$|^"),"$"),"gi"),o=e.opts.htmlAllowedStyleProps.length?RegExp("((^|;|\\s)".concat(e.opts.htmlAllowedStyleProps.join(":.+?(?=;|$))|((^|;|\\s)"),":.+?(?=(;)|$))"),"gi"):null,s=f(s,function i(s){for(var c=e.node.contents(s),d=0;d<c.length;d++)c[d].nodeType!==Node.TEXT_NODE&&i(c[d]);!function(i){if(!("SPAN"===i.tagName&&0<=(i.getAttribute("class")||"").indexOf("fr-marker"))){if("PRE"===i.tagName&&0<=(c=(s=i).innerHTML).indexOf("\n")&&(s.innerHTML=c.replace(/\n/g,"<br>")),i.nodeType===Node.ELEMENT_NODE&&(i.getAttribute("data-fr-src")&&0!==i.getAttribute("data-fr-src").indexOf("blob:")&&i.setAttribute("data-fr-src",e.helpers.sanitizeURL(p(i.getAttribute("data-fr-src")))),i.getAttribute("href")&&i.setAttribute("href",e.helpers.sanitizeURL(p(i.getAttribute("href")))),i.getAttribute("src")&&i.setAttribute("src",e.helpers.sanitizeURL(p(i.getAttribute("src")))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(i.tagName)&&(i.innerHTML=i.innerHTML.trim())),!e.opts.pasteAllowLocalImages&&i.nodeType===Node.ELEMENT_NODE&&"IMG"===i.tagName&&i.getAttribute("data-fr-src")&&0===i.getAttribute("data-fr-src").indexOf("file://"))return i.parentNode.removeChild(i);if(i.nodeType===Node.ELEMENT_NODE&&t.HTML5Map[i.tagName]&&""===e.node.attributes(i)){var s,c,d=t.HTML5Map[i.tagName],f="<".concat(d,">").concat(i.innerHTML,"</").concat(d,">");i.insertAdjacentHTML("beforebegin",f),(i=i.previousSibling).parentNode.removeChild(i.nextSibling)}if(e.opts.htmlAllowComments||i.nodeType!==Node.COMMENT_NODE)if(i.tagName&&i.tagName.match(a))"STYLE"==i.tagName&&e.helpers.isMac()&&function(){for(var e,t=i.innerHTML.trim(),n=[],a=/{([^}]+)}/g;e=a.exec(t);)n.push(e[1]);for(var r=function(e){var a=t.substring(0,t.indexOf("{")).trim();i.parentNode.querySelectorAll(a).forEach(function(t){t.removeAttribute("class"),t.setAttribute("style",n[e])}),t=t.substring(t.indexOf("}")+1)},o=0;-1!=t.indexOf("{");o++)r(o)}(),i.parentNode.removeChild(i);else if(i.tagName&&!i.tagName.match(n))"svg"===i.tagName?i.parentNode.removeChild(i):e.browser.safari&&"path"===i.tagName&&i.parentNode&&"svg"===i.parentNode.tagName||(i.outerHTML=i.innerHTML);else{var u=i.attributes;if(u)for(var h=u.length-1;0<=h;h--){var g=u[h],m=g.nodeName.match(r),v=null;"style"===g.nodeName&&e.opts.htmlAllowedStyleProps.length&&(v=g.value.match(o)
1),m&&v?g.value=l(v.join(";")):m&&("style"!==g.nodeName||v)||i.removeAttribute(g.nodeName)}}else 0!==i.data.indexOf("[FROALA.EDITOR")&&i.parentNode.removeChild(i)}}(s)},!0)},toHTML5:function(){var n=e.el.querySelectorAll(Object.keys(t.HTML5Map).join(","));if(n.length){var a=!1;e.el.querySelector(".fr-marker")||(e.selection.save(),a=!0);for(var r=0;r<n.length;r++)""===e.node.attributes(n[r])&&i(n[r]).replaceWith("<".concat(t.HTML5Map[n[r].tagName],">").concat(n[r].innerHTML,"</").concat(t.HTML5Map[n[r].tagName],">"));a&&e.selection.restore()}},tables:function(){!function(){for(var t=e.el.querySelectorAll("tr"),n=0;n<t.length;n++){for(var a=t[n].children,r=!0,o=0;o<a.length;o++)if("TH"!==a[o].tagName){r=!1;break}if(!1!==r&&0!==a.length){for(var i=t[n];i&&"TABLE"!==i.tagName&&"THEAD"!==i.tagName;)i=i.parentNode;var s=i;"THEAD"!==s.tagName&&(s=e.doc.createElement("THEAD"),i.insertBefore(s,i.firstChild)),s.appendChild(t[n])}}}()},lists:function(){!function(){var t,n=[];do{if(n.length){var a=n[0],r=e.doc.createElement("ul");a.parentNode.insertBefore(r,a);do{var o=a;a=a.nextSibling,r.appendChild(o)}while(a&&"LI"===a.tagName)}n=[];for(var i=e.el.querySelectorAll("li"),s=0;s<i.length;s++)t=i[s],e.node.isList(t.parentNode)||n.push(i[s])}while(0<n.length)}(),function(){for(var t=e.el.querySelectorAll("ol + ol, ul + ul"),n=0;n<t.length;n++){var a=t[n];if(e.node.isList(a.previousSibling)&&e.node.openTagString(a)===e.node.openTagString(a.previousSibling)){for(var r=e.node.contents(a),o=0;o<r.length;o++)a.previousSibling.appendChild(r[o]);a.parentNode.removeChild(a)}}}(),function(){for(var t=e.el.querySelectorAll("ul, ol"),n=0;n<t.length;n++)for(var a=e.node.contents(t[n]),r=null,o=a.length-1;0<=o;o--)"LI"!==a[o].tagName&&"UL"!=a[o].tagName&&"OL"!=a[o].tagName?(r||(r=i(e.doc.createElement("LI"))).insertBefore(a[o]),r.prepend(a[o])):r=null}(),function(){var t,n,a;do{n=!1;var r=e.el.querySelectorAll("li:empty");for(t=0;t<r.length;t++)r[t].parentNode.removeChild(r[t]);var o=e.el.querySelectorAll("ul, ol");for(t=0;t<o.length;t++)(a=o[t]).querySelector("LI")||(n=!0,a.parentNode.removeChild(a))}while(!0===n)}(),function(){for(var t=e.el.querySelectorAll("ul > ul, ol > ol, ul > ol, ol > ul"),n=0;n<t.length;n++){var a=t[n],r=a.previousSibling;r&&("LI"===r.tagName?r.appendChild(a):i(a).wrap("<li></li>"))}}(),function(){for(var t=e.el.querySelectorAll("li > ul, li > ol"),n=0;n<t.length;n++){var a=t[n];if(a.nextSibling){var r=a.nextSibling,o=i(e.doc.createElement("LI"));i(a.parentNode).after(o.get(0));do{var s=r;r=r.nextSibling,o.append(s)}while(r)}}}(),function(){for(var t=e.el.querySelectorAll("li > ul, li > ol"),n=0;n<t.length;n++){var a=t[n];if(e.node.isFirstSibling(a))i(a).before("<br/>");else if(a.previousSibling&&"BR"===a.previousSibling.tagName){for(var r=a.previousSibling.previousSibling;r&&e.node.hasClass(r,"fr-marker");)r=r.previousSibling;r&&"BR"!==r.tagName&&i(a.previousSibling).remove()}}}(),function(){for(var t=e.el.querySelectorAll("li:empty"),n=0;n<t.length;n++)i(t[n]).remove()}()},invisibleSpaces:function(t){return t.replace(/\u200b/g,"").length===t.length?t:e.clean.exec(t,function t(n){if(n.nodeType===Node.ELEMENT_NODE&&n.getAttribute("class")&&0<=n.getAttribute("class").indexOf("fr-marker"))return!1;var a,r=e.node.contents(n),o=[];for(a=0;a<r.length;a++)r[a].nodeType!==Node.ELEMENT_NODE||e.node.isVoid(r[a])?r[a].nodeType===Node.TEXT_NODE&&(r[a].textContent=r[a].textContent.replace(/\u200b/g,"")):r[a].textContent.replace(/\u200b/g,"").length!==r[a].textContent.length&&t(r[a]);if(n.nodeType===Node.ELEMENT_NODE&&!e.node.isVoid(n)&&(n.normalize(),r=e.node.contents(n),o=n.querySelectorAll(".fr-marker"),r.length-o.length==0)){for(a=0;a<r.length;a++)if(r[a].nodeType===Node.ELEMENT_NODE&&0>(r[a].getAttribute("class")||"").indexOf("fr-marker"))return!1;for(a=0;a<o.length;a++)n.parentNode.insertBefore(o[a].cloneNode(!0),n);return n.parentNode.removeChild(n),!1}})},exec:f}},t.XS=0,t.SM=1,t.MD=2,t.LG=3,t.LinkRegExCommon="[".concat("a-z\\u0080-\\u009f\\u00a1-\\uffff0-9-_\\.","]{1,}"),t.LinkRegExEnd="((:[0-9]{1,5})|)(((\\/|\\?|#)[a-z\\u00a1-\\uffff0-9@?\\|!^=%&amp;\\/~+#-\\'*-_{}
1]*)|())",t.LinkRegExTLD="((".concat(t.LinkRegExCommon,")(\\.(com|net|org|edu|mil|gov|co|biz|info|me|dev)))"),t.LinkRegExHTTP="((ftp|http|https):\\/\\/".concat(t.LinkRegExCommon,")"),t.LinkRegExAuth="((ftp|http|https):\\/\\/[\\u0021-\\uffff]{1,}@".concat(t.LinkRegExCommon,")"),t.LinkRegExWWW="(www\\.".concat(t.LinkRegExCommon,"\\.[a-z0-9-]{2,24})"),t.LinkRegEx="(".concat(t.LinkRegExTLD,"|").concat(t.LinkRegExHTTP,"|").concat(t.LinkRegExWWW,"|").concat(t.LinkRegExAuth,")").concat(t.LinkRegExEnd),t.LinkProtocols=["mailto","tel","sms","notes","data"],t.MAIL_REGEX=/.+@.+\..+/i,t.MODULES.helpers=function(n){var a,r=n.$;function o(){return/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&!l()}function i(){return/(Android)/g.test(navigator.userAgent)&&!l()}function s(){return/(Blackberry)/g.test(navigator.userAgent)}function l(){return/(Windows Phone)/gi.test(navigator.userAgent)}var c=null;return{_init:function(){n.browser=function(){var e,t,n={},a=(t=-1,"Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,null!==RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,null!==RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1))),t);if(0<a)n.msie=!0;else{var r=navigator.userAgent.toLowerCase(),o=/(edge)[ /]([\w.]+)/.exec(r)||/(chrome)[ /]([\w.]+)/.exec(r)||/(webkit)[ /]([\w.]+)/.exec(r)||/(opera)(?:.*version|)[ /]([\w.]+)/.exec(r)||/(msie) ([\w.]+)/.exec(r)||0>r.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(r)||[],i=o[1]||"";o[2],o[1]&&(n[i]=!0),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0)}return n.msie&&(n.version=a),n}()},isIOS:o,isMac:function(){return null===c&&(c=0<=navigator.platform.toUpperCase().indexOf("MAC")),c},isAndroid:i,isBlackberry:s,isWindowsPhone:l,isMobile:function(){return i()||o()||s()},isEmail:function(e){return!/^(https?:|ftps?:|)\/\//i.test(e)&&t.MAIL_REGEX.test(e)},requestAnimationFrame:function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}},getPX:function(e){return parseInt(e,10)||0},screenSize:function(){try{var e=r(".fr-box").width();if(e<768)return t.XS;if(768<=e&&e<992)return t.SM;if(992<=e&&e<1200)return t.MD;if(1200<=e)return t.LG}catch(e){return t.LG}},isTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch},sanitizeURL:function(e){return/^(https?:|ftps?:|)\/\//i.test(e)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(e)||RegExp("^(".concat(t.LinkProtocols.join("|"),"):"),"i").test(e)?e:e=encodeURIComponent(e).replace(/%23/g,"#").replace(/%2F/g,"/").replace(/%25/g,"%").replace(/mailto%3A/gi,"mailto:").replace(/file%3A/gi,"file:").replace(/sms%3A/gi,"sms:").replace(/tel%3A/gi,"tel:").replace(/notes%3A/gi,"notes:").replace(/data%3Aimage/gi,"data:image").replace(/blob%3A/gi,"blob:").replace(/%3A(\d)/gi,":$1").replace(/webkit-fake-url%3A/gi,"webkit-fake-url:").replace(/%3F/g,"?").replace(/%3D/g,"=").replace(/%26/g,"&").replace(/&amp;/g,"&").replace(/%2C/g,",").replace(/%3B/g,";").replace(/%2B/g,"+").replace(/%40/g,"@").replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%7B/g,"{").replace(/%7D/g,"}")},isArray:function(t){return t&&!Object.prototype.propertyIsEnumerable.call(t,"length")&&"object"===e(t)&&"number"==typeof t.length},RGBToHex:function(e){function t(e){return"0".concat(parseInt(e,10).toString(16)).slice(-2)}try{return e&&"transparent"!==e?/^#[0-9A-F]{6}$/i.test(e)?e:(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/),"#".concat(t(e[1])).concat(t(e[2])).concat(t(e[3])).toUpperCase()):""}catch(e){return null}},HEXtoRGB:function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,a){return t+t+n+n+a+a});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?"rgb(".concat(parseInt(t[1],16),", ").concat(parseInt(t[2],16),", ").concat(parseInt(t[3],16),")"):""},isURL:function(e){return!!/^(https?:|ftps?:|)\/\//i.test(e)&&(e=String(e).replace(/</g,"%3C").replace(/>/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20"),RegExp("^".concat(t.LinkRegExHTTP).concat(t.LinkRegExEnd,"$"),"gi").test(e))},getAlignment:function(e){e.css||(e=r(e));var t=(e.css("text-align")||"").replace(/-(.*)-/g,"");if(0>["left","right","justify","center"].indexOf(t)){if(!a){var o=r('<div dir="'.concat("rtl"===n.opts.direction?"rtl":"auto",'" style="text-align: ').concat(n.$el.css("text-align"),'; position: fixed; left: -3000px;"><span id="s1">.</span><span id="s2">.</span></div>'));r("body").first().append(o);var i=o.find("#s1").get(0).getBoundingClientRect().left,s=o.find("#s2").get(0).getBoundingClientRect().left;o.remove(),a=i<s?"left":"right"}t=a}return t},scrollTop:function(){return n.o_win.pageYOffset?n.o_win.pageYOffset:n.o_doc.documentElement&&n.o_doc.documentElement.scrollTop?n.o_doc.documentElement.scrollTop:n.o_doc.body.scrollTop?n.o_doc.body.scrollTop:0},scrollLeft:function(){return n.o_win.pageXOffset?n.o_win.pageXOffset:n.o_doc.documentElement&&n.o_doc.documentElement.scrollLeft?n.o_doc.documentElement.scrollLeft:n.o_doc.body.scrollLeft?n.o_doc.body.scrollLeft:0},isInViewPort:function(e){var t=e.getBoundingClientRect();return 0<=(t={top:Math.round(t.top),bottom:Math.round(t.bottom)}).top&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)||t.top<=0&&t.bottom>=(window.innerHeight||document.documentElement.clientHeight)}}},t.MODULES.events=function(e){var n,a=e.$,r={};function o(n){if(void 0===n&&(n=!0),!e.$wp||(e.helpers.isIOS()&&e.$win.get(0).focus(),e.core.hasFocus()))return!1;if(!e.core.hasFocus()&&n){var r=e.$win.scrollTop();if(e.browser.msie&&e.$box&&e.$box.css("position","fixed"),e.browser.msie&&e.$wp&&e.$wp.css("overflow","visible"),e.browser.msie&&e.$sc&&e.$sc.css("position","fixed"),l(
vendor: 6,004 bytes, line 1
1),e.el.focus(),e.events.trigger("focus"),s(),e.browser.msie&&e.$sc&&e.$sc.css("position",""),e.browser.msie&&e.$box&&e.$box.css("position",""),e.browser.msie&&e.$wp&&e.$wp.css("overflow","auto"),r!==e.$win.scrollTop()&&e.$win.scrollTop(r),!e.selection.info(e.el).atStart)return!1}if(!e.core.hasFocus()||0<e.$el.find(".fr-marker").length)return!1;if(e.selection.info(e.el).atStart&&e.selection.isCollapsed()&&null!==e.html.defaultTag()){var o=e.markers.insert();if(o&&!e.node.blockParent(o)){a(o).remove();var i=e.$el.find(e.html.blockTagsQuery()).get(0);i&&(a(i).prepend(t.MARKERS),e.selection.restore())}else o&&a(o).remove()}}var i=!1;function s(){n=!0}function l(){n=!1}function c(t,n,a){var o,i=t.split(" ");if(1<i.length){for(var s=0;s<i.length;s++)c(i[s],n,a);return!0}void 0===a&&(a=!1),o=0!==t.indexOf("shared.")?(r[t]=r[t]||[],r[t]):(e.shared._events[t]=e.shared._events[t]||[],e.shared._events[t]),a?o.unshift(n):o.push(n)}var d=[];function f(t,n,a,r,o){"function"==typeof a&&(o=r,r=a,a=!1);var i=o?e.shared.$_events:d,s=o?e.sid:e.id,l="".concat(n.trim().split(" ").join(".ed".concat(s," ")),".ed").concat(s);a?t.on(l,a,r):t.on(l,r),i.push([t,l])}function p(e){for(var t=0;t<e.length;t++)e[t][0].off(e[t][1])}function u(t,n,a){if(!e.edit.isDisabled()||a){var o,i;if(0!==t.indexOf("shared."))o=r[t];else{if(0<e.shared.count)return!1;o=e.shared._events[t]}if(o){for(var s=0;s<o.length;s++)if(!1===(i=o[s].apply(e,n)))return!1}return(!e.opts.events||!e.opts.events[t]||!1!==(i=e.opts.events[t].apply(e,n)))&&i}}function h(){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&delete r[e]}function g(){for(var t in e.shared._events)Object.prototype.hasOwnProperty.call(e.shared._events,t)&&delete e.shared._events[t]}return{_init:function(){e.shared.$_events=e.shared.$_events||[],e.shared._events={},e.helpers.isMobile()?(e._mousedown="touchstart",e._mouseup="touchend",e._move="touchmove",e._mousemove="touchmove"):(e._mousedown="mousedown",e._mouseup="mouseup",e._move="",e._mousemove="mousemove"),f(e.$el,"click mouseup mousemove mousedown touchstart touchend dragenter dragover dragleave dragend drop dragstart",function(e){u(e.type,[e])}),c("mousedown",function(){for(var n=0;n<t.INSTANCES.length;n++)t.INSTANCES[n]!==e&&t.INSTANCES[n].popups&&t.INSTANCES[n].popups.areVisible()&&t.INSTANCES[n].$el.find(".fr-marker").remove()}),f(e.$win,e._mousedown,function(e){u("window.mousedown",[e]),s()}),f(e.$win,e._mouseup,function(e){u("window.mouseup",[e])}),f(e.$win,"cut copy keydown keyup touchmove touchend",function(e){u("window.".concat(e.type),[e])}),f(e.$doc,"dragend drop",function(e){u("document.".concat(e.type),[e])}),f(e.$el,"keydown keypress keyup input",function(e){u(e.type,[e])}),f(e.$el,"focus",function(e){n&&(o(!1),!1===i&&u(e.type,[e]))}),f(e.$el,"blur",function(e){n&&!0===i&&(u(e.type,[e]),s())}),f(e.$el,"mousedown",'[contenteditable="true"]',function(){l(),e.$el.blur()}),c("focus",function(){i=!0}),c("blur",function(){i=!1}),s(),f(e.$el,"cut copy paste beforepaste",function(e){u(e.type,[e])}),c("destroy",h),c("shared.destroy",g)},on:c,trigger:u,bindClick:function(t,n,r){f(t,e._mousedown,n,function(t){var n;e.edit.isDisabled()||(n=a(t.currentTarget),e.edit.isDisabled()||e.node.hasClass(n.get(0),"fr-disabled")?t.preventDefault():"mousedown"===t.type&&1!==t.which||(e.helpers.isMobile()||t.preventDefault(),(e.helpers.isAndroid()||e.helpers.isWindowsPhone())&&0===n.parents(".fr-dropdown-menu").length&&(t.preventDefault(),t.stopPropagation()),n.addClass("fr-selected"),e.events.trigger("commands.mousedown",[n])))},!0),f(t,"".concat(e._mouseup," ").concat(e._move),n,function(t){e.edit.isDisabled()||function(t,n){var r=a(t.currentTarget);if(e.edit.isDisabled()||e.node.hasClass(r.get(0),"fr-disabled"))return t.preventDefault();if(("mouseup"!==t.type||1===t.which)&&(e.button.getButtons(".fr-selected",!0).get(0)!=r.get(0)||e.node.hasClass(r.get(0),"fr-selected")))if("touchmove"!==t.type){if(t.stopPropagation(),t.stopImmediatePropagation(),t.preventDefault(),!e.node.hasClass(r.get(0),"fr-selected"))return e.button.getButtons(".fr-selected",!0).removeClass("fr-selected");if(e.button.getButtons(".fr-selected",!0).removeClass("fr-selected"),r.data("dragging")||r.attr("disabled"))return r.removeData("dragging");var o=r.data("timeout");o&&(clearTimeout(o),r.removeData("timeout")),n.apply(e,[t])}else r.data("timeout")||r.data("timeout",setTimeout(function(){r.data("dragging",!0)},100))}(t,r)},!0),f(t,"mousedown click mouseup",n,function(t){e.edit.isDisabled()||t.stopPropagation()},!0),c("window.mouseup",function(){e.edit.isDisabled()||(t.find(n).removeClass("fr-selected"),s())}),f(t,"mouseover",n,function(){a(this).hasClass("fr-options")&&a(this).prev(".fr-btn").addClass("fr-btn-hover"),a(this).next(".fr-btn").hasClass("fr-options")&&a(this).next(".fr-btn").addClass("fr-btn-hover")}),f(t,"mouseout",n,function(){a(this).hasClass("fr-options")&&a(this).prev(".fr-btn").removeClass("fr-btn-hover"),a(this).next(".fr-btn").hasClass("fr-options")&&a(this).next(".fr-btn").removeClass("fr-btn-hover")})},disableBlur:l,enableBlur:s,blurActive:function(){return n},focus:o,chainTrigger:function(t,n,a){if(!e.edit.isDisabled()||a){var o,i;if(0!==t.indexOf("shared."))o=r[t];else{if(0<e.shared.count)return!1;o=e.shared._events[t]}if(o)for(var s=0;s<o.length;s++)void 0!==(i=o[s].apply(e,[n]))&&(n=i);return e.opts.events&&e.opts.events[t]&&void 0!==(i=e.opts.events[t].apply(e,[n]))&&(n=i),n}},$on:f,$off:function(){p(d),d=[],0===e.shared.count&&(p(e.shared.$_events),e.shared.$_events=[])}}},Object.assign(t.DEFAULTS,{indentMargin:20}),t.COMMANDS={bold:{title:"Bold",toggle:!0,refresh:function(e){var t=this.format.is("strong");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},italic:{title:"Italic",toggle:!0,refresh:function(e){var t=this.format.is("em");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},underline:{title:"Underline",toggle:!0,refresh:function(e){var t=this.format.is("u");e.toggleClass("fr-active",t).attr("aria-pressed",t)}}
vendor: 22,614 bytes, line 1
1,strikeThrough:{title:"Strikethrough",toggle:!0,refresh:function(e){var t=this.format.is("s");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},subscript:{title:"Subscript",toggle:!0,refresh:function(e){var t=this.format.is("sub");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},superscript:{title:"Superscript",toggle:!0,refresh:function(e){var t=this.format.is("sup");e.toggleClass("fr-active",t).attr("aria-pressed",t)}},outdent:{title:"Decrease Indent"},indent:{title:"Increase Indent"},undo:{title:"Undo",undo:!1,forcedRefresh:!0,disabled:!0},redo:{title:"Redo",undo:!1,forcedRefresh:!0,disabled:!0},insertHR:{title:"Insert Horizontal Line"},clearFormatting:{title:"Clear Formatting"},selectAll:{title:"Select All",undo:!1},moreText:{title:"More Text",undo:!1},moreParagraph:{title:"More Paragraph",undo:!1},moreRich:{title:"More Rich",undo:!1},moreMisc:{title:"More Misc",undo:!1}},t.RegisterCommand=function(e,n){t.COMMANDS[e]=n},t.MODULES.commands=function(e){var n=e.$;function a(t){return e.html.defaultTag()&&(t="<".concat(e.html.defaultTag(),">").concat(t,"</").concat(e.html.defaultTag(),">")),t}var r={bold:function(){s("bold","strong")},subscript:function(){e.format.is("sup")&&e.format.remove("sup"),s("subscript","sub")},superscript:function(){e.format.is("sub")&&e.format.remove("sub"),s("superscript","sup")},italic:function(){s("italic","em")},strikeThrough:function(){s("strikeThrough","s")},underline:function(){s("underline","u")},undo:function(){e.undo.run()},redo:function(){e.undo.redo()},indent:function(){l(1)},outdent:function(){l(-1)},show:function(){e.opts.toolbarInline&&e.toolbar.showInline(null,!0)},insertHR:function(){e.selection.remove();var r="";e.core.isEmpty()&&(r=a(r="<br>")),e.html.insert('<hr id="fr-just" class="fr-just">'.concat(r));var o,i=e.$el.find("hr#fr-just").length?e.$el.find("hr#fr-just"):e.$el.find(".fr-just");if(i.removeAttr("id"),i.removeAttr("class"),0===i.next().length){var s=e.html.defaultTag();s?i.after(n(e.doc.createElement(s)).append("<br>").get(0)):i.after("<br>")}i.prev().is("hr")?o=e.selection.setAfter(i.get(0),!1):i.next().is("hr")?o=e.selection.setBefore(i.get(0),!1):e.selection.setAfter(i.get(0),!1)||e.selection.setBefore(i.get(0),!1),o||void 0===o||(r=a(r="".concat(t.MARKERS,"<br>")),i.after(r)),e.selection.restore()},clearFormatting:function(){e.format.remove()},selectAll:function(){e.doc.execCommand("selectAll",!1,!1)},moreText:function(e){o(e)},moreParagraph:function(e){o(e)},moreRich:function(e){o(e)},moreMisc:function(e){o(e)}};function o(t){var n,a;n=e.$tb.find("[data-cmd=".concat(t,"]")),a=e.$tb.find('.fr-more-toolbar[data-name="'.concat(n.attr("data-group-name"),'"]')),e.$tb.find(".fr-open").not(n).removeClass("fr-open"),n.toggleClass("fr-open"),e.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible"),e.$tb.find(".fr-expanded").not(a).length?(e.$tb.find(".fr-expanded").toggleClass("fr-expanded"),a.toggleClass("fr-expanded")):(a.toggleClass("fr-expanded"),e.$box.toggleClass("fr-toolbar-open"),e.$tb.toggleClass("fr-toolbar-open")),e.toolbar.setMoreToolbarsHeight()}function i(a,o){if(!1!==e.events.trigger("commands.before",n.merge([a],o||[]))){var i=t.COMMANDS[a]&&t.COMMANDS[a].callback||r[a],s=!0,l=!1;t.COMMANDS[a]&&(void 0!==t.COMMANDS[a].focus&&(s=t.COMMANDS[a].focus),void 0!==t.COMMANDS[a].accessibilityFocus&&(l=t.COMMANDS[a].accessibilityFocus)),(!e.core.hasFocus()&&s&&!e.popups.areVisible()||!e.core.hasFocus()&&l&&e.accessibility.hasFocus())&&e.events.focus(!0),t.COMMANDS[a]&&!1!==t.COMMANDS[a].undo&&(e.$el.find(".fr-marker").length&&(e.events.disableBlur(),e.selection.restore()),e.undo.saveStep()),i&&i.apply(e,n.merge([a],o||[])),e.events.trigger("commands.after",n.merge([a],o||[])),t.COMMANDS[a]&&!1!==t.COMMANDS[a].undo&&e.undo.saveStep()}}function s(t,n){e.format.toggle(n)}function l(t){e.selection.save(),e.html.wrap(!0,!0,!0,!0),e.selection.restore();for(var a=e.selection.blocks(),r=0;r<a.length;r++)if("LI"!==a[r].tagName||"LI"!==a[r].parentNode.tagName){var o=n(a[r]);"LI"!=a[r].tagName&&"LI"==a[r].parentNode.tagName&&(o=n(a[r].parentNode));var i="rtl"===e.opts.direction||"rtl"===o.css("direction")?"margin-right":"margin-left",s=e.helpers.getPX(o.css(i));if(o.width()<2*e.opts.indentMargin&&0<t)continue;o.css(i,Math.max(s+t*e.opts.indentMargin,0)||""),o.removeClass("fr-temp-div")}e.selection.save(),e.html.unwrap(),e.selection.restore()}var c={};for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(c[d]=function(e){return function(){i(e)}}(d));return Object.assign(c,{exec:i,_init:function(){e.events.on("keydown",function(t){var n=e.selection.element();if(n&&"HR"===n.tagName&&!e.keys.isArrow(t.which))return t.preventDefault(),!1}),e.events.on("keyup",function(a){var r=e.selection.element();if(r&&"HR"===r.tagName){if(a.which===t.KEYCODE.ARROW_LEFT||a.which===t.KEYCODE.ARROW_UP){if(r.previousSibling)return e.node.isBlock(r.previousSibling)?e.selection.setAtEnd(r.previousSibling):n(r).before(t.MARKERS),e.selection.restore(),!1}else if((a.which===t.KEYCODE.ARROW_RIGHT||a.which===t.KEYCODE.ARROW_DOWN)&&r.nextSibling)return e.node.isBlock(r.nextSibling)?e.selection.setAtStart(r.nextSibling):n(r).after(t.MARKERS),e.selection.restore(),!1}}),e.events.on("mousedown",function(e){if(e.target&&"HR"===e.target.tagName)return e.preventDefault(),e.stopPropagation(),!1}),e.events.on("mouseup",function(){var a=e.selection.element();a===e.selection.endElement()&&a&&"HR"===a.tagName&&(a.nextSibling&&(e.node.isBlock(a.nextSibling)?e.selection.setAtStart(a.nextSibling):n(a).after(t.MARKERS)),e.selection.restore())})}})},t.MODULES.cursorLists=function(e){var n=e.$;function a(e){for(var t=e;"LI"!==t.tagName;)t=t.parentNode;return t}function r(t){for(var n=t;!e.node.isList(n);)n=n.parentNode;return n}return{_startEnter:function(o){var i,s=a(o),l=s.nextSibling,c=s.previousSibling,d=e.html.defaultTag();if(e.node.isEmpty(s,!0)&&l){for(var f="",p="",u=o.parentNode;!e.node.isList(u)&&u.parentNode&&("LI"!==u.parentNode.tagName||u.parentNode===s);)f=e.node.openTagString(u)+f,p+=e.node.closeTagString(u),u=u.parentNode;f=e.node.openTagString(u)+f,p+=e.node.closeTagString(u);var h="";for(h=u.parentNode&&"LI"===u.parentNode.tagName?"".concat(p,"<li>").concat(t.MARKERS,"<br>").concat(f):d?"".concat(p,"<").concat(d,">").concat(t.MARKERS,"<br></").concat(d,">").concat(f):"".concat(p+t.MARKERS,"<br>").concat(f);0>["UL","OL"].indexOf(u.tagName)||u.parentNode&&"LI"===u.parentNode.tagName;)u=u.parentNode;n(s).replaceWith('<span id="fr-break"></span>');var g=e.node.openTagString(u)+n(u).html()+e.node.closeTagString(u);g=g.replace(/<span id="fr-break"><\/span>/g,h),n(u).replaceWith(g),e.$el.find("li:empty").remove()}else if(c&&l||!e.node.isEmpty(s,!0)){for(var m="<br>",v=o.parentNode;v&&"LI"!==v.tagName;)m=e.node.openTagString(v)+m+e.node.closeTagString(v),v=v.parentNode;n(s).before("<li>".concat(m,"</li>")),n(o).remove()}else if(c){i=r(s);for(var b="".concat(t.MARKERS,"<br>"),C=o.parentNode;C&&"LI"!==C.tagName;)b=e.node.openTagString(C)+b+e.node.closeTagString(C),C=C.parentNode;i.parentNode&&"LI"===i.parentNode.tagName?n(i.parentNode).after("<li>".concat(b,"</li>")):d?n(i).after("<".concat(d,">").concat(b,"</").concat(d,">")):n(i).after(b),n(s).remove()}else(i=r(s)).parentNode&&"LI"===i.parentNode.tagName?l?n(i.parentNode).before("".concat(e.node.openTagString(s)+t.MARKERS,"<br></li>")):n(i.parentNode).after("".concat(e.node.openTagString(s)+t.MARKERS,"<br></li>")):d?n(i).before("<".concat(d,">").concat(t.MARKERS,"<br></").concat(d,">")):n(i).before("".concat(t.MARKERS,"<br>")),n(s).remove()},_middleEnter:function(r){for(var o=a(r),i="",s=r,l="",c="",d=!1;s!==o;){var f="A"===(s=s.parentNode).tagName&&e.cursor.isAtEnd(r,s)?"fr-to-remove":"";d||s==o||e.node.isBlock(s)||(d=!0,l+=t.INVISIBLE_SPACE),l=e.node.openTagString(n(s).clone().addClass(f).get(0))+l,c=e.node.closeTagString(s)+c}i=c+i+l+t.MARKERS+(e.opts.keepFormatOnDelete?t.INVISIBLE_SPACE:""),n(r).replaceWith('<span id="fr-break"></span>');var p=e.node.openTagString(o)+n(o).html()+e.node.closeTagString(o);p=p.replace(/<span id="fr-break"><\/span>/g,i),n(o).replaceWith(p)},_endEnter:function(r){for(var o=a(r),i=t.MARKERS,s="",l=r,c=!1;l!==o;)if(!(l=l.parentNode).classList.contains("fr-img-space-wrap")&&!l.classList.contains("fr-img-space-wrap2")){var d="A"===l.tagName&&e.cursor.isAtEnd(r,l)?"fr-to-remove":"";c||l===o||e.node.isBlock(l)||(c=!0,s+=t.INVISIBLE_SPACE),s=e.node.openTagString(n(l).clone().addClass(d).get(0))+s,i+=e.node.closeTagString(l)}var f=s+i;n(r).remove(),n(o).after(f)},_backspace:function(o){var i=a(o),s=i.previousSibling;if(s){s=n(s).find(e.html.blockTagsQuery()).get(-1)||s,n(o).replaceWith(t.MARKERS);var l=e.node.contents(s);l.length&&"BR"===l[l.length-1].tagName&&n(l[l.length-1]).remove(),n(i).find(e.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===i&&n(this).replaceWith(n(this).html()+(e.node.isEmpty(this)?"":"<br>"))});for(var c,d=e.node.contents(i)[0];d&&!e.node.isList(d);)c=d.nextSibling,n(s).append(d),d=c;for(s=i.previousSibling;d;)c=d.nextSibling,n(s).append(d),d=c;1<(l=e.node.contents(s)).length&&"BR"===l[l.length-1].tagName&&n(l[l.length-1]).remove(),n(i).remove()}else{var f=r(i);if(n(o).replaceWith(t.MARKERS),f.parentNode&&"LI"===f.parentNode.tagName){var p=f.previousSibling;e.node.isBlock(p)?(n(i).find(e.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===i&&n(this).replaceWith(n(this).html()+(e.node.isEmpty(this)?"":"<br>"))}),n(p).append(n(i).html())):n(f).before(n(i).html())}else{var u=e.html.defaultTag();u&&0===n(i).find(e.html.blockTagsQuery()).length?n(f).before("<".concat(u,">").concat(n(i).html(),"</").concat(u,">")):n(f).before(n(i).html())}n(i).remove(),e.html.wrap(),0===n(f).find("li").length&&n(f).remove()}},_del:function(r){var o,i=a(r),s=i.nextSibling;if(s){(o=e.node.contents(s)).length&&"BR"===o[0].tagName&&n(o[0]).remove(),n(s).find(e.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===s&&n(this).replaceWith(n(this).html()+(e.node.isEmpty(this)?"":"<br>"))});for(var l,c=r,d=e.node.contents(s)[0];d&&!e.node.isList(d);)l=d.nextSibling,n(c).after(d),c=d,d=l;for(;d;)l=d.nextSibling,n(i).append(d),d=l;n(r).replaceWith(t.MARKERS),n(s).remove()}else{for(var f=i;!f.nextSibling&&f!==e.el;)f=f.parentNode;if(f===e.el)return!1;if(f=f.nextSibling,e.node.isBlock(f))0>t.NO_DELETE_TAGS.indexOf(f.tagName)&&(n(r).replaceWith(t.MARKERS),(o=e.node.contents(i)).length&&"BR"===o[o.length-1].tagName&&n(o[o.length-1]).remove(),n(i).append(n(f).html()),n(f).remove());else for((o=e.node.contents(i)).length&&"BR"===o[o.length-1].tagName&&n(o[o.length-1]).remove(),n(r).replaceWith(t.MARKERS);f&&!e.node.isBlock(f)&&"BR"!==f.tagName;)n(i).append(n(f)),f=f.nextSibling}}}},t.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"],t.SIMPLE_ENTER_TAGS=["TH","TD","LI","DL","DT","FORM"],t.MODULES.cursor=function(e){var n=e.$;function a(t){return!!t&&(!!e.node.isBlock(t)||(t.nextSibling&&t.nextSibling.nodeType===Node.TEXT_NODE&&0===t.nextSibling.textContent.replace(/\u200b/g,"").length?a(t.nextSibling):!(t.nextSibling&&(!t.previousSibling||"BR"!==t.nextSibling.tagName||t.nextSibling.nextSibling))&&a(t.parentNode)))}function r(t){return!!t&&(!!e.node.isBlock(t)||(t.previousSibling&&t.previousSibling.nodeType===Node.TEXT_NODE&&0===t.previousSibling.textContent.replace(/\u200b/g,"").length?r(t.previousSibling):!t.previousSibling&&(!(t.previousSibling||!e.node.hasClass(t.parentNode,"fr-inner"))||r(t.parentNode))))}function o(t,n){return!!t&&t!==e.$wp.get(0)&&(t.previousSibling&&t.previousSibling.nodeType===Node.TEXT_NODE&&0===t.previousSibling.textContent.replace(/\u200b/g,"").length?o(t.previousSibling,n):!t.previousSibling&&(t.parentNode===n||o(t.parentNode,n)))}function i(t,n){return!!t&&t!==e.$wp.get(0)&&(t.nextSibling&&t.nextSibling.nodeType===Node.TEXT_NODE&&0===t.nextSibling.textContent.replace(/\u200b/g,"").length?i(t.nextSibling,n):!(t.nextSibling&&(!t.previousSibling||"BR"!==t.nextSibling.tagName||t.nextSibling.nextSibling))&&(t.parentNode===n||i(t.parentNode,n)))}function s(t){return 0<n(t).parentsUntil(e.$el,"LI").length&&0===n(t).parentsUntil("LI","TABLE").length}function l(e,t){var n=RegExp("".concat(t?"^":"","(([\\uD83C-\\uDBFF\\uDC00-\\uDFFF]+\\u200D)*[\\uD83C-\\uDBFF\\uDC00-\\uDFFF]{2})").concat(t?"":"$"),"i"),a=e.match(n);return a?a[0].length:1}function c(a){for(var r,o=a;!o.previousSibling;)if(o=o.parentNode,e.node.isElement(o))return!1;if(o=o.previousSibling,!e.node.isBlock(o)&&e.node.isEditable(o)){for(r=e.node.contents(o);o.nodeType!==Node.TEXT_NODE&&!e.node.isDeletable(o)&&r.length&&e.node.isEditable(o);)o=r[r.length-1],r=e.node.contents(o);if(o.nodeType===Node.TEXT_NODE){var i=o.textContent,s=i.length;if(i.length&&"\n"===i[i.length-1])return o.textContent=i.substring(0,s-2),0===o.textContent.length&&o.parentNode.removeChild(o),c(a);e.opts.tabSpaces&&i.length>=e.opts.tabSpaces&&0===i.substr(i.length-e.opts.tabSpaces,i.length-1).replace(/ /g,"").replace(RegExp(t.UNICODE_NBSP,"g"),"").length&&(s=i.length-e.opts.tabSpaces+1),o.textContent=i.substring(0,s-l(i)),e.opts.htmlUntouched&&!a.nextSibling&&o.textContent.length&&" "===o.textContent[o.textContent.length-1]&&(o.textContent=o.textContent.substring(0,o.textContent.length-1)+t.UNICODE_NBSP);var d=i.length!==o.textContent.length;if(0===o.textContent.length)if(d&&e.opts.keepFormatOnDelete)n(o).after(t.INVISIBLE_SPACE+t.MARKERS);else if(0!==i.length&&e.node.isBlock(o.parentNode))n(o).after(t.MARKERS);else if((2!=o.parentNode.childNodes.length||o.parentNode!=a.parentNode)&&1!=o.parentNode.childNodes.length||e.node.isBlock(o.parentNode)||e.node.isElement(o.parentNode)||!e.node.isDeletable(o.parentNode)){for(;!e.node.isElement(o.parentNode)&&e.node.isEmpty(o.parentNode)&&0>t.NO_DELETE_TAGS.indexOf(o.parentNode.tagName);){var f=o;o=o.parentNode,f.parentNode.removeChild(f)}n(o).after(t.MARKERS),e.node.isElement(o.parentNode)&&!a.nextSibling&&o.previousSibling&&"BR"===o.previousSibling.tagName&&n(a).after("<br>"),o.parentNode.removeChild(o)}else n(o.parentNode).after(t.MARKERS),n(o.parentNode).remove();else n(o).after(t.MARKERS)}else e.node.isDeletable(o)?(n(o).after(t.MARKERS),n(o).remove()):a.nextSibling&&"BR"===a.nextSibling.tagName&&e.node.isVoid(o)&&"BR"!==o.tagName?(n(a.nextSibling).remove(),n(a).replaceWith(t.MARKERS)):!1!==e.events.trigger("node.remove",[n(o)])&&(n(o).after(t.MARKERS),n(o).remove())}else if(0>t.NO_DELETE_TAGS.indexOf(o.tagName)&&(e.node.isEditable(o)||e.node.isDeletable(o)))if(e.node.isDeletable(o))n(a).replaceWith(t.MARKERS),n(o).remove();else if(e.node.isEmpty(o)&&!e.node.isList(o))n(o).remove(),n(a).replaceWith(t.MARKERS);else{for(e.node.isList(o)&&(o=n(o).find("li").last().get(0)),(r=e.node.contents(o))&&"BR"===r[r.length-1].tagName&&n(r[r.length-1]).remove(),r=e.node.contents(o);r&&e.node.isBlock(r[r.length-1]);)o=r[r.length-1],r=e.node.contents(o);n(o).append(t.MARKERS);for(var p=a;!p.previousSibling;)p=p.parentNode;for(;p&&"BR"!==p.tagName&&!e.node.isBlock(p);){var u=p;p=p.nextSibling,n(o).append(u)}p&&"BR"===p.tagName&&n(p).remove(),n(a).remove()}else a.nextSibling&&"BR"===a.nextSibling.tagName&&n(a.nextSibling).remove();return!0}function d(a){var r=0<n(a).parentsUntil(e.$el,"BLOCKQUOTE").length,o=e.node.deepestParent(a,[],!r);if(o&&"BLOCKQUOTE"===o.tagName){var i=e.node.deepestParent(a,[n(a).parentsUntil(e.$el,"BLOCKQUOTE").get(0)]);i&&i.nextSibling&&(o=i)}if(null!==o){var s,l=o.nextSibling;if(e.node.isBlock(o)&&(e.node.isEditable(o)||e.node.isDeletable(o))&&l&&0>t.NO_DELETE_TAGS.indexOf(l.tagName))if(e.node.isDeletable(l))n(l).remove(),n(a).replaceWith(t.MARKERS);else if(e.node.isBlock(l)&&e.node.isEditable(l))if(e.node.isList(l))if(e.node.isEmpty(o,!0))n(o).remove(),n(l).find("li").first().prepend(t.MARKERS);else{var c=n(l).find("li").first();"BLOCKQUOTE"===o.tagName&&(s=e.node.contents(o)).length&&e.node.isBlock(s[s.length-1])&&(o=s[s.length-1]),0===c.find("ul, ol").length&&(n(a).replaceWith(t.MARKERS),c.find(e.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===c.get(0)&&n(this).replaceWith(n(this).html()+(e.node.isEmpty(this)?"":"<br>"))}),n(o).append(e.node.contents(c.get(0))),c.remove(),0===n(l).find("li").length&&n(l).remove())}else{if((s=e.node.contents(l)).length&&"BR"===s[0].tagName&&n(s[0]).remove(),"BLOCKQUOTE"!==l.tagName&&"BLOCKQUOTE"===o.tagName)for(s=e.node.contents(o);s.length&&e.node.isBlock(s[s.length-1]);)o=s[s.length-1],s=e.node.contents(o);else if("BLOCKQUOTE"===l.tagName&&"BLOCKQUOTE"!==o.tagName)for(s=e.node.contents(l);s.length&&e.node.isBlock(s[0]);)l=s[0],s=e.node.contents(l);n(a).replaceWith(t.MARKERS),n(o).append(l.innerHTML),n(l).remove()}else{for(n(a).replaceWith(t.MARKERS);l&&"BR"!==l.tagName&&!e.node.isBlock(l)&&e.node.isEditable(l);){var d=l;l=l.nextSibling,n(o).append(d)}l&&"BR"===l.tagName&&e.node.isEditable(l)&&n(l).remove()}}}function f(){for(var t=e.el.querySelectorAll("blockquote:empty"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n])}function p(a,r,o){var s,l=e.node.deepestParent(a,[],!o);if(l&&"BLOCKQUOTE"===l.tagName)return i(a,l)?(s=e.html.defaultTag(),r?n(a).replaceWith("<br>"+t.MARKERS):s?n(l).after("<".concat(s,">").concat(t.MARKERS,"<br></").concat(s,">")):n(l).after("".concat(t.MARKERS,"<br>")),n(a).remove()):u(a,r,o),!1;if(null===l)(s=e.html.defaultTag())&&e.node.isElement(a.parentNode)?n(a).replaceWith("<".concat(s,">").concat(t.MARKERS,"<br></").concat(s,">")):!a.previousSibling||n(a.previousSibling).is("br")||a.nextSibling?n(a).replaceWith("<br>".concat(t.MARKERS)):n(a).replaceWith("<br>".concat(t.MARKERS,"<br>"));else{var c=a,d="";"PRE"!=l.tagName||a.nextSibling||(r=!0),e.node.isBlock(l)&&!r||(d="<br/>");var f,p="",h="",g="",m="";(s=e.html.defaultTag())&&e.node.isBlock(l)&&(g="<".concat(s,">"),m="</".concat(s,">"),l.tagName===s.toUpperCase()&&(g=e.node.openTagString(n(l).clone().removeAttr("id").get(0))));do if(c=c.parentNode,!r||c!==l||r&&!e.node.isBlock(l))if(p+=e.node.closeTagString(c),c===l&&e.node.isBlock(l))h=g+h;else{var v=("A"===c.tagName||e.node.hasClass(c,"fa"))&&i(a,c)?"fr-to-remove":"";h=e.node.openTagString(n(c).clone().addClass(v).get(0))+h}while(c!==l);d=p+d+h+(a.parentNode===l&&e.node.isBlock(l)?"":t.INVISIBLE_SPACE)+t.MARKERS,e.node.isBlock(l)&&!n(l).find("*").last().is("br")&&n(l).append("<br/>"),n(a).after('<span id="fr-break"></span>'),n(a).remove(),l.nextSibling&&!e.node.isBlock(l.nextSibling)||e.node.isBlock(l)||n(l).after("<br>"),f=(f=!r&&e.node.isBlock(l)?e.node.openTagString(l)+n(l).html()+m:e.node.openTagString(l)+n(l).html()+e.node.closeTagString(l)).replace(/<span id="fr-break"><\/span>/g,d),n(l).replaceWith(f)}}function u(a,r,s){var l=e.node.deepestParent(a,[],!s);if(null===l)e.html.defaultTag()&&a.parentNode===e.el?n(a).replaceWith("<".concat(e.html.defaultTag(),">").concat(t.MARKERS,"<br></").concat(e.html.defaultTag(),">")):(a.nextSibling&&!e.node.isBlock(a.nextSibling)||n(a).after("<br>"),n(a).replaceWith("<br>".concat(t.MARKERS)));else if(a.previousSibling&&"IMG"==a.previousSibling.tagName||a.nextSibling&&"IMG"==a.nextSibling.tagName)n(a).replaceWith("<"+e.html.defaultTag()+">"+t.MARKERS+"<br></"+e.html.defaultTag()+">");else{var c=a,d="";"PRE"===l.tagName&&(r=!0),e.node.isBlock(l)&&!r||(d="<br>");var f="",p="";do{var u=c;if(c=c.parentNode,"BLOCKQUOTE"===l.tagName&&e.node.isEmpty(u)&&!e.node.hasClass(u,"fr-marker")&&n(u).contains(a)&&n(u).after(a),"BLOCKQUOTE"!==l.tagName||!i(a,c)&&!o(a,c))if(r&&c===l&&(!r||e.node.isBlock(l)))"BLOCKQUOTE"==l.tagName&&r&&(p=f="");else{f+=e.node.closeTagString(c);var h="A"==c.tagName&&i(a,c)||e.node.hasClass(c,"fa")?"fr-to-remove":"";p=e.node.openTagString(n(c).clone().addClass(h).removeAttr("id").get(0))+p}}while(c!==l);var g=l===a.parentNode&&e.node.isBlock(l)||a.nextSibling;if("BLOCKQUOTE"===l.tagName)if(a.previousSibling&&e.node.isBlock(a.previousSibling)&&a.nextSibling&&"BR"===a.nextSibling.tagName&&(n(a.nextSibling).after(a),a.nextSibling&&"BR"===a.nextSibling.tagName&&n(a.nextSibling).remove()),r)d=f+d+t.MARKERS+p;else{var m=e.html.defaultTag();d="".concat(f+d+(m?"<".concat(m,">"):"")+t.MARKERS,"<br>").concat(m?"</".concat(m,">"):"").concat(p)}else d=f+d+p+(g?"":t.INVISIBLE_SPACE)+t.MARKERS;n(a).replaceWith('<span id="fr-break"></span>');var v=e.node.openTagString(l)+n(l).html()+e.node.closeTagString(l);v=v.replace(/<span id="fr-break"><\/span>/g,d),n(l).replaceWith(v)}}return{enter:function(l){var c=e.markers.insert();if(!c)return!0;for(var d=c.parentNode;d&&!e.node.isElement(d);){if("false"===d.getAttribute("contenteditable"))return n(c).replaceWith(t.MARKERS),e.selection.restore(),!1;if("true"===d.getAttribute("contenteditable"))break;d=d.parentNode}e.el.normalize();var f=!1;0<n(c).parentsUntil(e.$el,"BLOCKQUOTE").length&&(f=!0),n(c).parentsUntil(e.$el,"TD, TH").length&&(f=!1),a(c)?!s(c)||l||f?p(c,l,f):e.cursorLists._endEnter(c):r(c)?!s(c)||l||f?function a(r,s,l){var c,d=e.node.deepestParent(r,[],!l);if(d&&"TABLE"===d.tagName)return n(d).find("td, th").first().prepend(r),a(r,s,l);if(d&&"BLOCKQUOTE"===d.tagName)if(o(r,d)){if(!s)return(c=e.html.defaultTag())?n(d).before("<".concat(c,">").concat(t.MARKERS,"<br></").concat(c,">")):n(d).before("".concat(t.MARKERS,"<br>")),n(r).remove(),!1}else i(r,d)?p(r,s,!0):u(r,s,!0);if(null===d)(c=e.html.defaultTag())&&e.node.isElement(r.parentNode)?n(r).replaceWith("<".concat(c,">").concat(t.MARKERS,"<br></").concat(c,">")):n(r).replaceWith("<br>".concat(t.MARKERS));else{if(e.node.isBlock(d))if("PRE"===d.tagName&&(s=!0),s)n(r).remove(),n(d).prepend("<br>".concat(t.MARKERS));else if(r.nextSibling&&"IMG"==r.nextSibling.tagName||r.nextSibling&&r.nextSibling.nextElementSibling&&"IMG"==r.nextSibling.nextElementSibling)n(r).replaceWith("<"+e.html.defaultTag()+">"+t.MARKERS+"<br></"+e.html.defaultTag()+">");else{if(e.node.isEmpty(d,!0))return p(r,s,l);if(e.opts.keepFormatOnDelete){for(var f=r,h=t.INVISIBLE_SPACE;f!==d&&!e.node.isElement(f);)f=f.parentNode,h=e.node.openTagString(f)+h+e.node.closeTagString(f);n(d).before(h)}else n(d).before("".concat(e.node.openTagString(n(d).clone().removeAttr("id").get(0)),"<br>").concat(e.node.closeTagString(d)))}else n(d).before("<br>");n(r).remove()}}(c,l,f):e.cursorLists._startEnter(c):!s(c)||l||f?u(c,l,f):e.cursorLists._middleEnter(c),e.$el.find(".fr-to-remove").each(function(){for(var t=e.node.contents(this),a=0;a<t.length;a++)t[a].nodeType===Node.TEXT_NODE&&(t[a].textContent=t[a].textContent.replace(/\u200B/g,""));n(this).replaceWith(this.innerHTML)}),e.html.fillEmptyBlocks(!0),e.opts.htmlUntouched||(e.html.cleanEmptyTags(),e.clean.lists(),e.spaces.normalizeAroundCursor()),e.selection.restore(
1)},backspace:function(){var i=!1,d=e.markers.insert();if(!d)return!0;for(var p=d.parentNode;p&&!e.node.isElement(p);){if("false"===p.getAttribute("contenteditable"))return n(d).replaceWith(t.MARKERS),e.selection.restore(),!1;if(p.innerText.length&&"true"===p.getAttribute("contenteditable"))break;p=p.parentNode}e.el.normalize();var u=d.previousSibling;if(u){var h=u.textContent;h&&h.length&&8203===h.charCodeAt(h.length-1)&&(1===h.length?n(u).remove():u.textContent=u.textContent.substr(0,h.length-l(h)))}return a(d)?s(d)&&o(d,n(d).parents("li").first().get(0))?e.cursorLists._backspace(d):i=c(d):r(d)?s(d)&&o(d,n(d).parents("li").first().get(0))?e.cursorLists._backspace(d):function(a){for(var r=0<n(a).parentsUntil(e.$el,"BLOCKQUOTE").length,o=e.node.deepestParent(a,[],!r),i=o;o&&!o.previousSibling&&"BLOCKQUOTE"!==o.tagName&&o.parentElement!==e.el&&!e.node.hasClass(o.parentElement,"fr-inner")&&0>t.SIMPLE_ENTER_TAGS.indexOf(o.parentElement.tagName);)o=o.parentElement;if(o&&"BLOCKQUOTE"===o.tagName){var s=e.node.deepestParent(a,[n(a).parentsUntil(e.$el,"BLOCKQUOTE").get(0)]);s&&s.previousSibling&&(i=o=s)}if(null!==o){var l,c=o.previousSibling;if(e.node.isBlock(o)&&e.node.isEditable(o))if(c&&0>t.NO_DELETE_TAGS.indexOf(c.tagName)){if(e.node.isDeletable(c))n(c).remove(),n(a).replaceWith(t.MARKERS);else if(e.node.isEditable(c))if(e.node.isBlock(c))if(e.node.isEmpty(c)&&!e.node.isList(c))n(c).remove(),n(a).after(e.opts.keepFormatOnDelete?t.INVISIBLE_SPACE:"");else{if(e.node.isList(c)&&(c=n(c).find("li").last().get(0)),(l=e.node.contents(c)).length&&"BR"===l[l.length-1].tagName&&n(l[l.length-1]).remove(),"BLOCKQUOTE"===c.tagName&&"BLOCKQUOTE"!==o.tagName)for(l=e.node.contents(c);l.length&&e.node.isBlock(l[l.length-1]);)c=l[l.length-1],l=e.node.contents(c);else if("BLOCKQUOTE"!==c.tagName&&"BLOCKQUOTE"===i.tagName)for(l=e.node.contents(i);l.length&&e.node.isBlock(l[0]);)i=l[0],l=e.node.contents(i);if(e.node.isEmpty(o))n(a).remove(),e.selection.setAtEnd(c,!0);else{n(a).replaceWith(t.MARKERS);var d=c.childNodes;e.node.isBlock(d[d.length-1])?n(d[d.length-1]).append(i.innerHTML):n(c).append(i.innerHTML)}n(i).remove(),e.node.isEmpty(o)&&n(o).remove()}else n(a).replaceWith(t.MARKERS),"BLOCKQUOTE"===o.tagName&&c.nodeType===Node.ELEMENT_NODE?n(c).remove():(n(c).after(e.node.isEmpty(o)?"":n(o).html()),n(o).remove(),"BR"===c.tagName&&n(c).remove())}else c||(o&&"BLOCKQUOTE"===o.tagName&&0===n(o).text().replace(/\u200B/g,"").length?n(o).remove():e.node.isEmpty(o)&&o.parentNode&&e.node.isEditable(o.parentNode)&&o.parentNode!=e.el&&n(o.parentNode).remove())}}(d):i=c(d),n(d).remove(),f(),e.html.fillEmptyBlocks(!0),e.opts.htmlUntouched||(e.html.cleanEmptyTags(),e.clean.lists(),e.spaces.normalizeAroundCursor()),e.selection.restore(),i},del:function(){var o=e.markers.insert();if(!o)return!1;if(e.el.normalize(),a(o))if(s(o))if(0===n(o).parents("li").first().find("ul, ol").length)e.cursorLists._del(o);else{var i=n(o).parents("li").first().find("ul, ol").first().find("li").first();(i=i.find(e.html.blockTagsQuery()).get(-1)||i).prepend(o),e.cursorLists._backspace(o)}else d(o);else r(o),function(r){for(var o,i=r;!i.nextSibling;)if(i=i.parentNode,e.node.isElement(i))return!1;if("BR"===(i=i.nextSibling).tagName&&e.node.isEditable(i)){if(i.nextSibling){if(e.node.isBlock(i.nextSibling)&&e.node.isEditable(i.nextSibling)){if(!(0>t.NO_DELETE_TAGS.indexOf(i.nextSibling.tagName)))return n(i).remove();n((i=i.nextSibling).previousSibling).remove()}}
1else if(a(i))return s(r)?e.cursorLists._del(r):e.node.deepestParent(i)&&((!e.node.isEmpty(e.node.blockParent(i))||0>(e.node.blockParent(i).nextSibling&&t.NO_DELETE_TAGS.indexOf(e.node.blockParent(i).nextSibling.tagName)))&&n(i).remove(),d(r))}if(!e.node.isBlock(i)&&e.node.isEditable(i)){for(o=e.node.contents(i);i.nodeType!==Node.TEXT_NODE&&o.length&&!e.node.isDeletable(i)&&e.node.isEditable(i);)i=o[0],o=e.node.contents(i);i.nodeType===Node.TEXT_NODE?(n(i).before(t.MARKERS),i.textContent.length&&(i.textContent=i.textContent.substring(l(i.textContent,!0),i.textContent.length))):e.node.isDeletable(i)?(n(i).before(t.MARKERS),n(i).remove()):!1!==e.events.trigger("node.remove",[n(i)])&&(n(i).before(t.MARKERS),n(i).remove()),n(r).remove()}else if(0>t.NO_DELETE_TAGS.indexOf(i.tagName)&&(e.node.isEditable(i)||e.node.isDeletable(i)))if(e.node.isDeletable(i))n(r).replaceWith(t.MARKERS),n(i).remove();else if(e.node.isList(i))r.previousSibling?(n(i).find("li").first().prepend(r),e.cursorLists._backspace(r)):(n(i).find("li").first().prepend(t.MARKERS),n(r).remove());else if((o=e.node.contents(i))&&"BR"===o[0].tagName&&n(o[0]).remove(),o&&"BLOCKQUOTE"===i.tagName){var c=o[0];for(n(r).before(t.MARKERS);c&&"BR"!==c.tagName;){var f=c;c=c.nextSibling,n(r).before(f)}c&&"BR"===c.tagName&&n(c).remove()}else n(r).after(n(i).html()).after(t.MARKERS),n(i).remove()}(o);n(o).remove(),f(),e.html.fillEmptyBlocks(!0),e.opts.htmlUntouched||(e.html.cleanEmptyTags(),e.clean.lists()),e.spaces.normalizeAroundCursor(),e.selection.restore()},isAtEnd:i,isAtStart:o}},t.MODULES.data=function(e){function t(t){return t&&"block"!==t.css("display")||t&&0===e.helpers.getPX(t.css("height"))?(t.remove(),!0):!(!t||"absolute"!==t.css("position")&&"fixed"!==t.css("position")||(t.remove(),0))}function n(t){return t&&0===e.$box.find(t).length}function a(){if(10<h&&(e[u("0ppecjvc==")](),setTimeout(function(){l.FE=null},10)),!e.$box)return!1;e.$wp.prepend(u(u(f))),s=(i=e.$wp.find("> div").first()).find("> a"),"rtl"===e.opts.direction&&i.css("left","auto").css("right",0).attr("direction","rtl"),h++}function r(e){for(var t=[u("9qqG-7amjlwq=="),u("KA3B3C2A6D1D5H5H1A3=="),u("3B9B3B5F3C4G3E3=="),u("QzbzvxyB2yA-9m=="),u("ji1kacwmgG5bc=="),u("nmA-13aogi1A3c1jd=="),u("BA9ggq=="),u("emznbjbH3fij=="),u("tkC-22d1qC-13sD1wzF-7=="),u("tA3jjf=="),u("1D1brkm==")],n=0;n<t.length;n++)if(String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e.endsWith(t[n]))return!0;return!1}function o(){var e=u(d),t=u("tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==").split(".");return window.parent.document.querySelector(e)&&window[t[1]][t[2]]}var i,s,l=e.$,c="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2FC1A3NB2IF1HE1TH4WB8eB-11zVG2F3I3yYB5ZG4CB2DA15CC5AD3F1A1KG1oLA10B1A6wQF1H3vgale2C4F4XA2qc2A5D5B3pepmriKB3OE1HD1fUC10pjD-11E-11TB4YJ3bC-16zE-11yc1B2CE2BC3jhjKC1pdA-21OA6C1D5B-8vF4QA11pD6sqf1C3lldA-16BD4A2H3qoEA7bB-16rmNH5H1F1vSB7RE2A3TH4YC5A5b1A4d1B3whepyAC3AA2zknC3mbgf1SC4WH4PD8TC5ZB2C3H3jb2A5ZA2EF2aoFC5qqHC4B1H1zeGA7UA5RF4TA29TA6ZC4d1C3hyWA10A3rBB2E3decorationRD3QC10UD3E6E6ZD2F3F3fme2E5uxxrEC9C3E4fB-11azhHB1LD7D6VF4VVTPC6b1C4TYG3qzDD6B3B3AH4I2H2kxbHE1JD1yihfd1QD6WB1D4mhrc1B5rvFG3A14A7cDA2OC1AA1JB5zC-16KA6WB4C-8wvlTB5A5lkZB2C2C7zynBD2D2bI-7C-21d1HE2cubyvPC8A6VB3aroxxZE4C4F4e1I2BE1WjdifH1H4A14NA1GB1YG-10tWA3A14A9sVA2C5XH2A29b2A6gsleGG2jaED2D-13fhE1OA8NjwytyTD4e1sc1D-16ZC3B5C-9e1C2FB6EFF5B2C2JH4E1C2tdLE5A3UG4G-7b2D3B4fA-9oh1G3kqvB4AG3ibnjcAC6D2B1cDA9KC2QA6bRC4VA30RB8hYB2A4A-8h1A21A2B2==",d="MekC-11nB-8tIzpD7pewxvzC6mD-16xerg1==",f="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2EE1MA2ND1KD1IE4cA-21pSD2D5ve1G3h1A8b1E5ZC3CD2FA16mC5OC5E1hpnG1NA10B1D7hkUD4I-7b2C3C5nXD2E3F3whidEC2EH3GI2mJE2E2bxci1WA10VC7pllSG2F3A7xd1A4ZC3DB2aaeGA2DE4H2E1j1ywD-13FD1A3VE4WA3D8C6wuc1A2hf1B5B7vnrrjA1B9ic1mpbD1oMB1iSB7rWC4RI4G-7upB6jd1A2F3H2EA4FD3kDF4A2moc1anJD1TD4VI4b2C7oeQF4c1E3XC7ZA3C3G3uDB2wGB6D1JC4D1JD4C1hTE6QC5pH4pD3C-22D7c1A3textAA4gdlB2mpozkmhNC1mrxA3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10u
1LH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==",p=function(){for(var e=0,t=document.domain,n=t.split("."),a="_gd".concat((new Date).getTime());e<n.length-1&&-1===document.cookie.indexOf("".concat(a,"=").concat(a));)t=n.slice(-1-++e).join("."),document.cookie="".concat(a,"=").concat(a,";domain=").concat(t,";");return document.cookie="".concat(a,"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=").concat(t,";"),(t||"").replace(/(^\.*)|(\.*$)/g,"")}(),u=function(e){if(!e)return e;for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".indexOf(e[0]),a=1;a<e.length-2;a++){for(var r=function(e){for(var t=e.toString(),n=0,a=0;a<t.length;a++)n+=parseInt(t.charAt(a),10);return 10<n?n%9+1:n}(++n),o=e.charCodeAt(a),i="";/[0-9-]/.test(e[a+1]);)i+=e[++a];t+=String.fromCharCode(o=function(e,t,n){for(var a=Math.abs(n);0<a--;)e-=t;return n<0&&(e+=123),e}(o,r,i=parseInt(i,10)||0)^n-1&31)}return t},h=0;return{_init:function(){var d=e.opts.key||[""],h=u("ziRA1E3B9pA5B-11D-11xg1A3ZB5D1D4B-11ED2EG2pdeoC1clIH4wB-22yQD5uF4YE3E3A9==");"string"==typeof d&&(d=[d]);for(var g,m,v=(e.ul=!0,!1),b=0,C=0;C<d.length;C++){var E=4===(m=(u(d[C])||"").split("|")).length&&"V3"===m[0]?[m[1],m[3],m[2]]:[null,null,""],y=E[2];if(y===u(u("LGnD1KNZf1CPBYCAZB-8F3UDSLLSG1VFf1A3C2=="))||0<=y.indexOf(p,y.length-p.length)||r(p)||o()){if(null!==(g=E[1])&&!(0==g.indexOf("TRIAL")?new Date(g=new Date(g.replace(/TRIAL/,"")))<new Date&&(c="7D4YH4fkhHB3pqDC3H2E1fkMD1IB1NF1D3QD9wB5rxqlh1A8c2B4ZA3FD2AA6FB5EB3jJG4D2J-7aC-21GB6PC5RE4TC11QD6XC4XE3XH3mlvnqjbaOA2OC2BE6A1fmI-7ujwbc1G5f1F3e1C11mXF4owBG3E1yD1E4F1D2D-8B-8C-7yC-22HD1MF5UE4cWA3D8D6a1B2C3H3a3I3sZA4B3A2akfwEB3xHD5D1F1wIC11pA-16xdxtVI2C9A6YC4a1A2F3B2GA6B4C3lsjyJB1eMA1D-11MF5PE4ja1D3D7byrf1C3e1C7D-16lwqAF3H2A1B-21wNE1MA1OG1HB2A-16tSE5UD4RB3icRA4F-10wtwzBB3E1C3CC2DA8LA2LA1EB1kdH-8uVB7decorg1J2B7B6qjrqGI2J1C6ijehIB1hkemC-13hqkrH4H-7QD6XF5XF3HLNAC3CB2aD2CD2KB10B4ycg1A-8KA4H4B11jVB5TC4yqpB-21pd1E4pedzGB6MD5B3ncB-7MA4LD2JB6PD5uH-8TB9C7YD5XD2E3I3jmiDB3zeimhLD8E2F2JC1H-9ivkPC5lG-10SB1D3H3A-21rc1A3d1E3fsdqwfGA2KA1OrC-22LA6D1B4afUB16SC7AitC-8qYA11fsxcajGA15avjNE2A-9h1hDB16B9tPC1C5F5UC1G3B8d2A5d1D4RnHJ3C3JB5D3ucMG1yzD-17hafjC-8VD3yWC6e1YD2H3ZE2C8C5oBA3H3D2vFA4WzJC4C2i1A-65fNB8afWA1H4A26mvkC-13ZB3E3h1A21BC4eFB2GD2AA5ghqND2A2B2==",1):new Date(g)<new Date(u("lC4B3A3B2B5A1C2E4G1A2==")))||!(0<(p||"").length)||r(p)||o()){e.ul=!1;break}v=!0,f=c,b=E[0]||-1}}var T=new Image;!0===e.ul&&(a(),T.src=v?"".concat(u(h),"e=").concat(b):"".concat(u(h),"u")),!0===e.ul&&(e.events.on("contentChanged",function(){(t(i)||t(s)||n(i)||n(s))&&a()}),e.events.on("html.get",function(e){return e+u("qD2H-9G3ioD-17qA1tE1B-8qI3A4hA-13C-11E2C1njfldD1E6pg1C-8sC3hfbkcD2G3stC-22gqgB3G2B-7vtoA4nweeD1A31A15B9uC-16A1F5dkykdc1B8dE-11bA3F2D3A9gd1E7F2tlI-8H-7vtxB2A5B2C3B2F2B5A6ldbyC4iqC-22D-17E-13mA3D2dywiB3oxlvfC1H4C2TjqbzlnI3ntB4E3qA2zaqsC6D3pmnkoE3C6D5wvuE3bwifdhB6hch1E4xibD-17dmrC1rG-7pntnF6nB-8F1D2A11C8plrkmF2F3MC-16bocqA2WwA-21ayeA1C4d1isC-22rD-13D6DfjpjtC2E6hB2G2G4A-7D2==")})),e.events.on("html.set",function(){var t=e.el.querySelector('[data-f-id="pbf"]');t&&l(t).remove()}),e.events.on("destroy",function(){i&&i.length&&i.remove()},!0)}}},t.MODULES.edit=function(e){function t(){if(e.browser.mozilla)try{e.doc.execCommand("enableObjectResizing",!1,"false"),e.doc.execCommand("enableInlineTableEditing",!1,"false")}catch(e){}if(e.browser.msie)try{e.doc.body.addEventListener("mscontrolselect",function(e){return e.srcElement.focus(),!1})}catch(e){}}var n=!1;return{_init:function(){e.events.on("focus",function(){n?e.edit.off():e.edit.on()})},on:function(){e.$wp?(e.$el.attr("contenteditable",!0),e.$el.removeClass("fr-disabled").attr("aria-disabled",!1),t()):e.$el.is("a")&&e.$el.attr("contenteditable",!0),e.events.trigger("edit.on",[],!0),n=!1},off:function(){e.events.disableBlur(),e.$wp?(e.$el.attr("contenteditable",!1),e.$el.addClass("fr-disabled").attr("aria-disabled",!0)):e.$el.is("a")&&e.$el.attr("contenteditable",!1),e.events.trigger("edit.off"),e.events.enableBlur(),n=!0},disableDesign:t,isDisabled:function(){return n}}},t.MODULES.format=function(e){var n=e.$;function a(e,t){var n="<".concat(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(n+=" ".concat(a,'="').concat(t[a],'"'));return n+">"}function r(e,t){var n=e;for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(n+="id"===a?"#".concat(t[a]):"class"===a?".".concat(t[a]):"[".concat(a,'="').concat(t[a],'"]'));return n}function o(e,t){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function i(t,r,o){if(t){for(;t.nodeType===Node.COMMENT_NODE;)t=t.nextSibling;
vendor: 4,299 bytes, line 1
1if(t){if(e.node.isBlock(t)&&"HR"!==t.tagName)return e.node.hasClass(t.firstChild,"fr-marker")?i(t.firstChild.nextSibling,r,o):i(t.firstChild,r,o),!1;var s=n(e.doc.createElement(r));s.attr(o),s.insertBefore(t);for(var l=t;l&&!n(l).is(".fr-marker")&&0===n(l).find(".fr-marker").length&&"UL"!==l.tagName&&"OL"!==l.tagName;){var c=l;if(e.node.isBlock(l)&&"HR"!==t.tagName)return i(l.firstChild,r,o),!1;l=l.nextSibling,s.append(c)}if(l){if(n(l).find(".fr-marker").length||"UL"===l.tagName||"OL"===l.tagName)i(l.firstChild,r,o);else if(e.browser.mozilla&&e.node.hasClass(l,"fr-marker")){var d,f=e.selection.blocks(),p=f.length;for(d=0;d<p;d++)f[d]!=l.parentNode&&f[d].childNodes.length&&f[d].childNodes[0]!=l.parentNode&&(l=f[d].childNodes[1]||f[d].childNodes[0],(s=n(a(r,o)).insertBefore(l)).append(l))}}else{for(var u=s.get(0).parentNode;u&&!u.nextSibling&&!e.node.isElement(u);)u=u.parentNode;if(u){var h=u.nextSibling;h&&(e.node.isBlock(h)?"HR"===h.tagName?i(h.nextSibling,r,o):i(h.firstChild,r,o):i(h,r,o))}}s.is(":empty")&&s.remove()}}}function s(s,l){if(void 0===l&&(l={}),l.style&&delete l.style,e.selection.isCollapsed())e.markers.insert(),e.$el.find(".fr-marker").replaceWith(a(s,l)+t.INVISIBLE_SPACE+t.MARKERS+"</".concat(s,">")),e.selection.restore();else{e.selection.save(),i(e.$el.find('.fr-marker[data-type="true"]').length&&e.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling,s,l);do for(d=e.$el.find("".concat(r(s,l)," > ").concat(r(s,l))),c=0;c<d.length;c++)d[c].outerHTML=d[c].innerHTML;while(d.length);e.el.normalize();var c,d,f=e.el.querySelectorAll(".fr-marker");for(c=0;c<f.length;c++){var p=n(f[c]);!0===p.data("type")?o(p.get(0).nextSibling,r(s,l))&&p.next().prepend(p):o(p.get(0).previousSibling,r(s,l))&&p.prev().append(p)}e.selection.restore()}}function l(t,n,a,i){if(!i){var s=!1;if(!0===t.data("type"))for(;e.node.isFirstSibling(t.get(0))&&!t.parent().is(e.$el)&&!t.parent().is("ol")&&!t.parent().is("ul");)t.parent().before(t),s=!0;else if(!1===t.data("type"))for(;e.node.isLastSibling(t.get(0))&&!t.parent().is(e.$el)&&!t.parent().is("ol")&&!t.parent().is("ul");)t.parent().after(t),s=!0;if(s)return!0}if(t.parents(n).length||void 0===n){var l,c="",d="",f=t.parent();if(f.is(e.$el)||e.node.isBlock(f.get(0)))return!1;for(;!(e.node.isBlock(f.parent().get(0))||void 0!==n&&o(f.get(0),r(n,a)));)c+=e.node.closeTagString(f.get(0)),d=e.node.openTagString(f.get(0))+d,f=f.parent();var p=t.get(0).outerHTML;return t.replaceWith('<span id="mark"></span>'),l=f.html().replace(/<span id="mark"><\/span>/,c+e.node.closeTagString(f.get(0))+d+p+c+e.node.openTagString(f.get(0))+d),f.replaceWith(e.node.openTagString(f.get(0))+l+e.node.closeTagString(f.get(0))),!0}return!1}function c(a,i){void 0===i&&(i={}),i.style&&delete i.style;var s=e.selection.isCollapsed();e.selection.save();for(var c=!0;c;){c=!1;for(var d=e.$el.find(".fr-marker"),f=0;f<d.length;f++){var p=n(d[f]),u=null;if(p.attr("data-cloned")||s||(u=p.clone().removeClass("fr-marker").addClass("fr-clone"),p.data("type")&&"true"===p.data("type").toString()?p.attr("data-cloned",!0).after(u):p.attr("data-cloned",!0).before(u)),l(p,a,i,s)){c=!0;break}}}!function t(a,i,s,l){for(var c=e.node.contents(a.get(0)),d=0;d<c.length;d++){var f=c[d];if(f.innerHTML&&8203==f.innerHTML.charCodeAt()&&f.tagName.toLocaleLowerCase()==s&&(f.outerHTML=f.innerHTML),e.node.hasClass(f,"fr-marker"))i=(i+1)%2;else if(i)if(0<n(f).find(".fr-marker").length)i=t(n(f),i,s,l);else{for(var p=n(f).find(s||"*:not(br)"),u=p.length-1;0<=u;u--){var h=p[u];e.node.isBlock(h)||e.node.isVoid(h)||void 0!==s&&!o(h,r(s,l))?e.node.isBlock(h)&&void 0===s&&"TABLE"!==f.tagName&&e.node.clearAttributes(h):e.node.hasClass(h,"fr-clone")||(h.outerHTML=h.innerHTML)}void 0===s&&f.nodeType===Node.ELEMENT_NODE&&!e.node.isVoid(f)||o(f,r(s,l))?e.node.isBlock(f)||e.node.hasClass(f,"fr-clone")||(f.outerHTML=f.innerHTML):void 0===s&&f.nodeType===Node.ELEMENT_NODE&&e.node.isBlock(f)&&"TABLE"!==f.tagName&&e.node.clearAttributes(f)}else 0<n(f).find(".fr-marker").length&&(i=t(n(f),i,s,l))}return i}(e.$el,0,a,i),s||(e.$el.find(".fr-marker").remove(),e.$el.find(".fr-clone").removeClass("fr-clone").addClass("fr-marker")),s&&e.$el.find(".fr-marker").before(t.INVISIBLE_SPACE).after(t.INVISIBLE_SPACE),e.html.cleanEmptyTags(),e.el.normalize(),e.selection.restore(
1);var h=e.win.getSelection()&&e.win.getSelection().anchorNode;if(h){var g=e.node.blockParent(h),m=!!h.textContent.replace(/\u200B/g,"").length,v=e.win.getSelection().getRangeAt(0),b=v.startOffset,C=v.endOffset;e.selection.text().replace(/\u200B/g,"").length||function e(t,n){if(t&&n){if(t.isSameNode(n)?t.textContent=t.textContent.replace(/\u200B(?=.*\u200B)/g,""):t.nodeType===Node.TEXT_NODE&&(t.textContent=t.textContent.replace(/\u200B/g,"")),!t.childNodes.length)return!1;Array.isArray(t.childNodes)&&t.childNodes.forEach(function(t){e(t,n)})}}(g,h);var E=e.win.getSelection().getRangeAt(0);if(h.nodeType===Node.TEXT_NODE){if(!m||!e.selection.text().length&&b===C){var y=h.textContent.search(/\u200B/g)+1;if(e.browser.msie){var T=e.doc.createRange();e.selection.get().removeAllRanges(),T.setStart(h,y),T.setEnd(h,y),e.selection.get().addRange(T)}else E.setStart(h,y),E.setEnd(h,y)}}else{var A=n(h).contents().filter(function(e){return e.nodeType===Node.TEXT_NODE&&0<=e.textContent.search(/\u200B/g)});if(A){var L=A.text().search(/\u200B/g)+1;E.setStart(A.get(0),L),E.setEnd(A.get(0),L)}}}}function d(a,r){var o,s,c,d,p=null;if(e.selection.isCollapsed()){e.markers.insert();var u=(s=e.$el.find(".fr-marker")).parent();if(e.node.openTagString(u.get(0))==='<span style="'.concat(a,": ").concat(u.css(a),';">')){if(e.node.isEmpty(u.get(0)))p=n(e.doc.createElement("span")).attr("style","".concat(a,": ").concat(r,";
1")).html("".concat(t.INVISIBLE_SPACE).concat(t.MARKERS)),u.replaceWith(p);else{var h={};h["style*"]="".concat(a,":"),l(s,"span",h,!0),s=e.$el.find(".fr-marker"),r?(p=n(e.doc.createElement("span")).attr("style","".concat(a,": ").concat(r,";")).html("".concat(t.INVISIBLE_SPACE).concat(t.MARKERS)),s.replaceWith(p)):s.replaceWith(t.INVISIBLE_SPACE+t.MARKERS)}e.html.cleanEmptyTags()}else e.node.isEmpty(u.get(0))&&u.is("span")?(s.replaceWith(t.MARKERS),u.css(a,r)):(p=n('<span style="'.concat(a,": ").concat(r,';">').concat(t.INVISIBLE_SPACE).concat(t.MARKERS,"</span>")),s.replaceWith(p));p&&f(p,a,r)}else{if(e.selection.save(),null===r||"color"===a&&0<e.$el.find(".fr-marker").parents("u, a").length){var g=e.$el.find(".fr-marker");for(o=0;o<g.length;o++)if(!0===(s=n(g[o])).data("type")||"true"===s.data("type"))for(;e.node.isFirstSibling(s.get(0))&&!s.parent().is(e.$el)&&!e.node.isElement(s.parent().get(0))&&!e.node.isBlock(s.parent().get(0));)s.parent().before(s);else for(;e.node.isLastSibling(s.get(0))&&!s.parent().is(e.$el)&&!e.node.isElement(s.parent().get(0))&&!e.node.isBlock(s.parent().get(0));)s.parent().after(s)}for(var m=e.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling;m.firstChild;)m=m.firstChild;var v={class:"fr-unprocessed"};for(r&&(v.style="".concat(a,": ").concat(r,";")),i(m,"span",v),e.$el.find(".fr-marker + .fr-unprocessed").each(function(){n(this).prepend(n(this).prev())}),e.$el.find(".fr-unprocessed + .fr-marker").each(function(){n(this).prev().append(n(this))}),(r||"").match(/\dem$/)&&e.$el.find("span.fr-unprocessed").removeClass("fr-unprocessed");0<e.$el.find("span.fr-unprocessed").length;){if((p=e.$el.find("span.fr-unprocessed").first().removeClass("fr-unprocessed")).parent().get(0).normalize(),p.parent().is("span")&&1===p.parent().get(0).childNodes.length){p.parent().css(a,r);var b=p;p=p.parent(),b.replaceWith(b.html())}var C=p.find("span");for(o=C.length-1;0<=o;o--)c=C[o],d=void 0,(d=n(c)).css(a,""),""===d.attr("style")&&d.replaceWith(d.html());f(p,a,r)}}!function(){for(;0<e.$el.find(".fr-split:empty").length;)e.$el.find(".fr-split:empty").remove();e.$el.find(".fr-split").removeClass("fr-split"),e.$el.find('[style=""]').removeAttr("style"),e.$el.find('[class=""]').removeAttr("class"),e.html.cleanEmptyTags();for(var t,a=e.$el.find("span"),r=a.length-1;0<=r;r--){var o=a[r];o.attributes&&0!==o.attributes.length||n(o).replaceWith(o.innerHTML)}e.el.normalize();var i=e.$el.find("span[style] + span[style]");for(t=0;t<i.length;t++){var s=n(i[t]),c=n(i[t]).prev();s.get(0).previousSibling===c.get(0)&&e.node.openTagString(s.get(0))===e.node.openTagString(c.get(0))&&(s.prepend(c.html()),c.remove())}e.$el.find("span[style] span[style]").each(function(){if(0<=n(this).attr("style").indexOf("font-size")){var e=n(this).parents("span[style]");0<=e.attr("style").indexOf("background-color")&&(n(this).attr("style","".concat(n(this).attr("style"),";").concat(e.attr("style"))),l(n(this),"span[style]",{},!1))}}),e.el.normalize(),e.selection.restore()}()}function f(t,a,r){var o,i,s=t.parentsUntil(e.$el,"span[style]"),l=[];for(o=s.length-1;0<=o;o--)0===n(i=s[o]).attr("style").indexOf("".concat(a,":"))||0<=n(i).attr("style").indexOf(";".concat(a,":"))||0<=n(i).attr("style").indexOf("; ".concat(a,":"))||l.push(s[o]);if((s=s.not(l)).length){for(var c="",d="",f="",p="",u=t.get(0);n(u=u.parentNode).addClass("fr-split"),c+=e.node.closeTagString(u),d=e.node.openTagString(n(u).clone().addClass("fr-split").get(0))+d,s.get(0)!==u&&(f+=e.node.closeTagString(u),p=e.node.openTagString(n(u).clone().addClass("fr-split").get(0))+p),s.get(0)!==u;);var h="".concat(c+e.node.openTagString(n(s.get(0)).clone().css(a,r||"").get(0))+p+t.css(a,"").get(0).outerHTML+f,"</span>").concat(d);t.replaceWith('<span id="fr-break"></span>');var g=s.get(0).outerHTML;n(s.get(0)).replaceWith(g.replace(/<span id="fr-break"><\/span>/g,function(){return h}))}}function p(t,n){void 0===n&&(n={}),n.style&&delete n.style;var a=e.selection.ranges(0),i=a.startContainer;if(i.nodeType===Node.ELEMENT_NODE&&0<i.childNodes.length&&i.childNodes[a.startOffset]&&(i=i.childNodes[a.startOffset]),!a.collapsed&&i.nodeType===Node.TEXT_NODE&&a.startOffset===(i.textContent||"").length){for(;!e.node.isBlock(i.parentNode)&&!i.nextSibling;)i=i.parentNode;i.nextSibling&&(i=i.nextSibling)}for(var s=i;s&&s.nodeType===Node.ELEMENT_NODE&&!o(s,r(t,n));)s=s.firstChild;if(s&&s.nodeType===Node.ELEMENT_NODE&&o(s,r(t,n)))return!0;var l=i;for(l&&l.nodeType!==Node.ELEMENT_NODE&&(l=l.parentNode);l&&l.nodeType===Node.ELEMENT_NODE&&l!==e.el&&!o(l,r(t,n));)l=l.parentNode;return!(!l||l.nodeType!==Node.ELEMENT_NODE||l===e.el||!o(l,r(t,n)))}return{is:p,toggle:function(e,t){p(e,t)?c(e,t):s(e,t)},apply:s,remove:c,applyStyle:d,removeStyle:function(e){d(e,null)}}},t.MODULES.spaces=function(e){function n(n,a){var r=n.previousSibling,o=n.nextSibling,i=n.textContent,s=n.parentNode,l=[t.ENTER_P,t.ENTER_DIV,t.ENTER_BR];if(!e.html.isPreformatted(s)){a&&(i=i.replace(/[\f\n\r\t\v ]{2,}/g," "),(!o||"BR"===o.tagName||e.node.isBlock(o))&&(e.node.isBlock(s)||e.node.isLink(s)&&!s.nextSibling||e.node.isElement(s))&&(i=i.replace(/[\f\n\r\t\v ]{1,}$/g,"")),(!r||"BR"===r.tagName||e.node.isBlock(r))&&(e.node.isBlock(s)||e.node.isLink(s)&&!s.previousSibling||e.node.isElement(s))&&(i=i.replace(/^[\f\n\r\t\v ]{1,}/g,"")),(e.node.isBlock(o)||e.node.isBlock(r))&&(i=i.replace(/^[\f\n\r\t\v ]{1,}
vendor: 11,538 bytes, line 1
1/g,""))," "===i&&(r&&e.node.isVoid(r)||o&&e.node.isVoid(o))&&!(r&&o&&e.node.isVoid(r)||o&&r&&e.node.isVoid(o))&&(i="")),(!r&&e.node.isBlock(o)||!o&&e.node.isBlock(r))&&e.node.isBlock(s)&&s!==e.el&&(i=i.replace(/^[\f\n\r\t\v ]{1,}/g,"")),a||(i=i.replace(RegExp(t.UNICODE_NBSP,"g")," "));for(var c="",d=0;d<i.length;d++)32!=i.charCodeAt(d)||0!==d&&32!=c.charCodeAt(d-1)||(e.opts.enter!==t.ENTER_BR&&e.opts.enter!==t.ENTER_DIV||!(r&&"BR"===r.tagName||o&&"BR"===o.tagName))&&(r&&o&&e.node.isVoid(r)||r&&o&&e.node.isVoid(o))?c+=i[d]:c+=t.UNICODE_NBSP;(!o||o&&e.node.isBlock(o)||o&&o.nodeType===Node.ELEMENT_NODE&&e.win.getComputedStyle(o)&&"block"===e.win.getComputedStyle(o).display)&&(!e.node.isVoid(r)||r&&-1!==["P","DIV","BR"].indexOf(r.tagName)&&-1!==l.indexOf(e.opts.enter))&&(c=c.replace(/ $/,t.UNICODE_NBSP)),!r||e.node.isVoid(r)||e.node.isBlock(r)||1!==(c=c.replace(/^\u00A0([^ $])/," $1")).length||160!==c.charCodeAt(0)||!o||e.node.isVoid(o)||e.node.isBlock(o)||e.node.hasClass(r,"fr-marker")&&e.node.hasClass(o,"fr-marker")||(c=" "),a||(c=c.replace(/([^ \u00A0])\u00A0([^ \u00A0])/g,"$1 $2")),n.textContent!==c&&(n.textContent=c)}}function a(t,a){if(void 0!==t&&t||(t=e.el),void 0===a&&(a=!1),!t.getAttribute||"false"!==t.getAttribute("contenteditable")){if(t.nodeType===Node.TEXT_NODE)n(t,a);else if(t.nodeType===Node.ELEMENT_NODE)for(var r=e.doc.createTreeWalker(t,NodeFilter.SHOW_TEXT,e.node.filter(function(t){for(var n=t.parentNode;n&&n!==e.el;){if("STYLE"===n.tagName||"IFRAME"===n.tagName||"PRE"===n.tagName)return!1;n=n.parentNode}return null!==t.textContent.match(/([ \u00A0\f\n\r\t\v]{2,})|(^[ \u00A0\f\n\r\t\v]{1,})|([ \u00A0\f\n\r\t\v]{1,}$)/g)&&!e.node.hasClass(t.parentNode,"fr-marker")}),!1);r.nextNode();)n(r.currentNode,a)}}return{normalize:a,normalizeAroundCursor:function(){for(var t=[],n=e.el.querySelectorAll(".fr-marker"),r=0;r<n.length;r++){for(var o=null,i=e.node.blockParent(n[r]),s=(o=i||n[r]).nextSibling,l=o.previousSibling;s&&"BR"===s.tagName;)s=s.nextSibling;for(;l&&"BR"===l.tagName;)l=l.previousSibling;o&&0>t.indexOf(o)&&t.push(o),l&&0>t.indexOf(l)&&t.push(l),s&&0>t.indexOf(s)&&t.push(s)}for(var c=0;c<t.length;c++)a(t[c])}}},t.START_MARKER='<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;">'.concat(t.INVISIBLE_SPACE="&#8203;","</span>"),t.END_MARKER='<span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;">'.concat(t.INVISIBLE_SPACE,"</span>"),t.MARKERS=t.START_MARKER+t.END_MARKER,t.MODULES.markers=function(e){var n=e.$;function a(){if(!e.$wp)return null;try{var a=e.selection.ranges(0),r=a.commonAncestorContainer;if(r!==e.el&&!e.$el.contains(r))return null;var o=a.cloneRange(),i=a.cloneRange();o.collapse(!0);var s=n(e.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html(t.INVISIBLE_SPACE).get(0);if(o.insertNode(s),s=e.$el.find("span.fr-marker").get(0)){for(var l=s.nextSibling;l&&l.nodeType===Node.TEXT_NODE&&0===l.textContent.length;)n(l).remove(),l=e.$el.find("span.fr-marker").get(0).nextSibling;return e.selection.clear(),e.selection.get().addRange(i),s}return null}catch(e){}}function r(){e.$el.find(".fr-marker").remove()}return{place:function(a,r,o){var i,s,l;try{var c,d=a.cloneRange();if(d.collapse(r),d.insertNode(((c=n(e.doc.createElement("SPAN"))).addClass("fr-marker").attr("data-id",o).attr("data-type",r).attr("style","display: ".concat(e.browser.safari?"none":"inline-block","; line-height: 0;")).html(t.INVISIBLE_SPACE),c.get(0))),!0===r)for(l=(i=e.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(o,'"]')).get(0)).nextSibling;l&&l.nodeType===Node.TEXT_NODE&&0===l.textContent.length;)n(l).remove(),l=i.nextSibling;if(!0===r&&!a.collapsed){for(;!e.node.isElement(i.parentNode)&&!l;)n(i.parentNode).after(i),l=i.nextSibling;if(l&&l.nodeType===Node.ELEMENT_NODE&&e.node.isBlock(l)&&"HR"!==l.tagName){for(s=[l];l=s[0],(s=e.node.contents(l))[0]&&e.node.isBlock(s[0]););n(l).prepend(n(i))}}if(!1===r&&!a.collapsed){if((l=(i=e.$el.find('span.fr-marker[data-type="false"][data-id="'.concat(o,'"]')).get(0)).previousSibling)&&l.nodeType===Node.ELEMENT_NODE&&e.node.isBlock(l)&&"HR"!==l.tagName){for(s=[l];l=s[s.length-1],(s=e.node.contents(l))[s.length-1]&&e.node.isBlock(s[s.length-1]););n(l).append(n(i))}(i.parentNode&&0<=["TD","TH"].indexOf(i.parentNode.tagName)||!i.previousSibling&&e.node.isBlock(i.parentElement))&&i.parentNode.previousSibling&&!i.previousSibling&&n(i.parentNode.previousSibling).append(i)}var f=e.$el.find('span.fr-marker[data-type="'.concat(r,'"][data-id="').concat(o,'"]')).get(0);return f&&(f.style.display="none"),f}catch(e){return null}},insert:a,split:function(){e.selection.isCollapsed()||e.selection.remove();var t=e.$el.find(".fr-marker").get(0);if(t||(t=a()),!t)return null;var r=e.node.deepestParent(t);if(r||(r=e.node.blockParent(t))&&"LI"!==r.tagName&&(r=null),r)if(e.node.isBlock(r)&&e.node.isEmpty(r))"LI"!==r.tagName||r.parentNode.firstElementChild!==r||e.node.isEmpty(r.parentNode)?n(r).replaceWith('<span class="fr-marker"></span>'):n(r).append('<span class="fr-marker"></span>');else if(e.cursor.isAtStart(t,r))n(r).before('<span class="fr-marker"></span>'),n(t).remove();else if(e.cursor.isAtEnd(t,r))n(r).after('<span class="fr-marker"></span>'),n(t).remove();else{for(var o=t,i="",s="";o=o.parentNode,i+=e.node.closeTagString(o),s=e.node.openTagString(o)+s,o!==r;);n(t).replaceWith('<span id="fr-break"></span>');var l=e.node.openTagString(r)+n(r).html()+e.node.closeTagString(r);l=l.replace(/<span id="fr-break"><\/span>/g,"".concat(i,'<span class="fr-marker"></span>').concat(s)),n(r).replaceWith(l)}return e.$el.find(".fr-marker").get(0)},insertAtPoint:function(t){var n,o=t.clientX,i=t.clientY;r();var s=null;if(void 0!==e.doc.caretPositionFromPoint?(n=e.doc.caretPositionFromPoint(o,i),(s=e.doc.createRange()).setStart(n.offsetNode,n.offset),s.setEnd(n.offsetNode,n.offset)):void 0!==e.doc.caretRangeFromPoint&&(n=e.doc.caretRangeFromPoint(o,i),(s=e.doc.createRange()).setStart(n.startContainer,n.startOffset),s.setEnd(n.startContainer,n.startOffset)),null!==s&&void 0!==e.win.getSelection){var l=e.win.getSelection();l.removeAllRanges(),l.addRange(s)}else if(void 0!==e.doc.body.createTextRange)try{(s=e.doc.body.createTextRange()).moveToPoint(o,i);var c=s.duplicate();c.moveToPoint(o,i),s.setEndPoint("EndToEnd",c),s.select()}catch(e){return!1}a()},remove:r}},t.MODULES.selection=function(e){var n=e.$;function a(){var t="";return e.win.getSelection?t=e.win.getSelection():e.doc.getSelection?t=e.doc.getSelection():e.doc.selection&&(t=e.doc.selection.createRange().text),t.toString()}function r(){return e.win.getSelection?e.win.getSelection():e.doc.getSelection?e.doc.getSelection():e.doc.selection.createRange()}function o(t){var n=r(),a=[];if(n&&n.getRangeAt&&n.rangeCount){a=[];for(var o=0;o<n.rangeCount;o++)a.push(n.getRangeAt(o))}else a=e.doc.createRange?[e.doc.createRange()]:[];return void 0!==t?a[t]:a}function i(){var e=r();try{e.removeAllRanges?e.removeAllRanges():e.empty?e.empty():e.clear&&e.clear()}catch(e){}}function s(e,t){var n=e;return n.nodeType===Node.ELEMENT_NODE&&0<n.childNodes.length&&n.childNodes[t]&&(n=n.childNodes[t]),n.nodeType===Node.TEXT_NODE&&(n=n.parentNode),n}function l(){if(e.$wp){e.markers.remove();var t,a,r=o(),i=[];for(a=0;a<r.length;a++)if(r[a].startContainer!==e.doc||e.browser.msie){var s=(t=r[a]).collapsed,l=e.markers.place(t,!0,a),c=e.markers.place(t,!1,a);if(void 0!==l&&l||!s||(n(".fr-marker").remove(),e.selection.setAtEnd(e.el)),e.el.normalize(),e.browser.safari&&!s)try{(t=e.doc.createRange()).setStartAfter(l),t.setEndBefore(c),i.push(t)}catch(e){}}if(e.browser.safari&&i.length)for(e.selection.clear(),a=0;a<i.length;a++)e.selection.get().addRange(i[a])}}function c(){var t,a=e.el.querySelectorAll('.fr-marker[data-type="true"]');if(!e.$wp)return e.markers.remove(),!1;if(0===a.length)return!1;if(e.browser.msie||e.browser.edge)for(t=0;t<a.length;t++)a[t].style.display="inline-block";e.core.hasFocus()||e.browser.msie||e.browser.webkit||e.$el.focus(),i();var o=r();for(t=0;t<a.length;t++){var s=n(a[t]).data("id"),l=a[t],c=e.doc.createRange(),f=e.$el.find('.fr-marker[data-type="false"][data-id="'.concat(s,'"]'));(e.browser.msie||e.browser.edge)&&f.css("display","inline-block");var p=null;if(0<f.length){f=f[0];try{for(var u=!1,h=l.nextSibling,g=null;h&&h.nodeType===Node.TEXT_NODE&&0===h.textContent.length;)h=(g=h).nextSibling,n(g).remove();for(var m=f.nextSibling;m&&m.nodeType===Node.TEXT_NODE&&0===m.textContent.length;)m=(g=m).nextSibling,n(g).remove();if(l.nextSibling===f||f.nextSibling===l){for(var v=l.nextSibling===f?l:f,b=v===l?f:l,C=v.previousSibling;C&&C.nodeType===Node.TEXT_NODE&&0===C.length;)C=(g=C).previousSibling,n(g).remove();if(C&&C.nodeType===Node.TEXT_NODE)for(;C&&C.previousSibling&&C.previousSibling.nodeType===Node.TEXT_NODE;)C.previousSibling.textContent+=C.textContent,C=C.previousSibling,n(C.nextSibling).remove();for(var E=b.nextSibling;E&&E.nodeType===Node.TEXT_NODE&&0===E.length;)E=(g=E).nextSibling,n(g).remove();if(E&&E.nodeType===Node.TEXT_NODE)for(;E&&E.nextSibling&&E.nextSibling.nodeType===Node.TEXT_NODE;)E.nextSibling.textContent=E.textContent+E.nextSibling.textContent,E=E.nextSibling,n(E.previousSibling).remove();if(C&&(e.node.isVoid(C)||e.node.isBlock(C))&&(C=null),E&&(e.node.isVoid(E)||e.node.isBlock(E))&&(E=null),C&&E&&C.nodeType===Node.TEXT_NODE&&E.nodeType===Node.TEXT_NODE){n(l).remove(),n(f).remove();var y=C.textContent.length;C.textContent+=E.textContent,n(E).remove(),e.opts.htmlUntouched||e.spaces.normalize(C),c.setStart(C,y),c.setEnd(C,y),u=!0}else!C&&E&&E.nodeType===Node.TEXT_NODE?(n(l).remove(),n(f).remove(),e.opts.htmlUntouched||e.spaces.normalize(E),p=n(e.doc.createTextNode("​")).get(0),n(E).before(p),c.setStart(E,0),c.setEnd(E,0),u=!0):!E&&C&&C.nodeType===Node.TEXT_NODE&&(n(l).remove(),n(f).remove(),e.opts.htmlUntouched||e.spaces.normalize(C),p=n(e.doc.createTextNode("​")).get(0),n(C).after(p),c.setStart(C,C.textContent.length),c.setEnd(C,C.textContent.length),u=!0)}if(!u){var T=void 0,A=void 0;A=(e.browser.chrome||e.browser.edge)&&l.nextSibling===f?(T=d(f,c,!0)||c.setStartAfter(f),d(l,c,!1)||c.setEndBefore(l)):(l.previousSibling===f&&(f=(l=f).nextSibling),f.nextSibling&&"BR"===f.nextSibling.tagName||!f.nextSibling&&e.node.isBlock(l.previousSibling)||l.previousSibling&&"BR"===l.previousSibling.tagName||(l.style.display="inline",f.style.display="inline",p=n(e.doc.createTextNode("​")).get(0)),T=d(l,c,!0)||n(l).before(p)&&c.setStartBefore(l),d(f,c,!1)||n(f).after(p)&&c.setEndAfter(f)),"function"==typeof T&&T(),"function"==typeof A&&A()}}catch(e){}}p&&n(p).remove();try{o.addRange(c)}catch(e){}}e.markers.remove()}function d(t,a,r){var o,i=t.previousSibling,s=t.nextSibling;return i&&s&&i.nodeType===Node.TEXT_NODE&&s.nodeType===Node.TEXT_NODE?(o=i.textContent.length,r?(s.textContent=i.textContent+s.textContent,n(i).remove(),n(t).remove(),e.opts.htmlUntouched||e.spaces.normalize(s),function(){a.setStart(s,o)}):(i.textContent+=s.textContent,n(s).remove(),n(t).remove(),e.opts.htmlUntouched||e.spaces.normalize(i),function(){a.setEnd(i,o)})):i&&!s&&i.nodeType===Node.TEXT_NODE?(o=i.textContent.length,r?(e.opts.htmlUntouched||e.spaces.normalize(i),function(){a.setStart(i,o)}):(e.opts.htmlUntouched||e.spaces.normalize(i),function(){a.setEnd(i,o)})):!(!s||i||s.nodeType!==Node.TEXT_NODE)&&(r?(e.opts.htmlUntouched||e.spaces.normalize(s),function(){a.setStart(s,0)}):(e.opts.htmlUntouched||e.spaces.normalize(s),function(){a.setEnd(s,0)}
vendor: 4,669 bytes, line 1
1))}function f(){for(var e=o(),t=0;t<e.length;t++)if(!e[t].collapsed)return!1;return!0}function p(t){var n,a,r=!1,o=!1;if(e.win.getSelection){var i=e.win.getSelection();i.rangeCount&&((a=(n=i.getRangeAt(0)).cloneRange()).selectNodeContents(t),a.setEnd(n.startContainer,n.startOffset),r=u(a),a.selectNodeContents(t),a.setStart(n.endContainer,n.endOffset),o=u(a))}else e.doc.selection&&"Control"!==e.doc.selection.type&&((a=(n=e.doc.selection.createRange()).duplicate()).moveToElementText(t),a.setEndPoint("EndToStart",n),r=u(a),a.moveToElementText(t),a.setEndPoint("StartToEnd",n),o=u(a));return{atStart:r,atEnd:o}}function u(e){return""===e.toString().replace(/[\u200B-\u200D\uFEFF]/g,"")}function h(){return 0===n(this).find("fr-inner").length}function g(){try{if(!e.$wp)return!1;for(var t=o(0).commonAncestorContainer;t&&!e.node.isElement(t);)t=t.parentNode;return!!e.node.isElement(t)}catch(e){return!1}}function m(n,a){if(!n||0<n.getElementsByClassName("fr-marker").length)return!1;for(var r=n.firstChild;r&&(e.node.isBlock(r)||a&&!e.node.isVoid(r)&&r.nodeType===Node.ELEMENT_NODE);)r=(n=r).firstChild;n.innerHTML=t.MARKERS+n.innerHTML}function v(n,a){if(!n||0<n.getElementsByClassName("fr-marker").length)return!1;for(var r=n.lastChild;r&&(e.node.isBlock(r)||a&&!e.node.isVoid(r)&&r.nodeType===Node.ELEMENT_NODE);)r=(n=r).lastChild;var o=e.doc.createElement("SPAN");for(o.setAttribute("id","fr-sel-markers"),o.innerHTML=t.MARKERS;n.parentNode&&e.opts.htmlAllowedEmptyTags&&0<=e.opts.htmlAllowedEmptyTags.indexOf(n.tagName.toLowerCase());)n=n.parentNode;n.appendChild(o);var i=n.querySelector("#fr-sel-markers");i.outerHTML=i.innerHTML}return{text:a,get:r,ranges:o,clear:i,element:function(){var t=r();try{if(t.rangeCount){var i,s=o(0),l=s.startContainer;if(e.node.isElement(l)&&0===s.startOffset&&l.childNodes.length)for(;l.childNodes.length&&l.childNodes[0].nodeType===Node.ELEMENT_NODE;)l=l.childNodes[0];if(l.nodeType===Node.TEXT_NODE&&s.startOffset===(l.textContent||"").length&&l.nextSibling&&(l=l.nextSibling),l.nodeType===Node.ELEMENT_NODE){var c=!1;if(0<l.childNodes.length&&l.childNodes[s.startOffset]){for(i=l.childNodes[s.startOffset];i&&i.nodeType===Node.TEXT_NODE&&0===i.textContent.length;)i=i.nextSibling;if(i&&i.textContent.replace(/\u200B/g,"")===a().replace(/\u200B/g,"")&&(l=i,c=!0),!c&&1<l.childNodes.length&&0<s.startOffset&&l.childNodes[s.startOffset-1]){for(i=l.childNodes[s.startOffset-1];i&&i.nodeType===Node.TEXT_NODE&&0===i.textContent.length;)i=i.nextSibling;i&&i.textContent.replace(/\u200B/g,"")===a().replace(/\u200B/g,"")&&(l=i,c=!0)}}else!s.collapsed&&l.nextSibling&&l.nextSibling.nodeType===Node.ELEMENT_NODE&&(i=l.nextSibling)&&i.textContent.replace(/\u200B/g,"")===a().replace(/\u200B/g,"")&&(l=i,c=!0);!c&&0<l.childNodes.length&&n(l.childNodes[0]).text().replace(/\u200B/g,"")===a().replace(/\u200B/g,"")&&0>["BR","IMG","HR"].indexOf(l.childNodes[0].tagName)&&(l=l.childNodes[0])}for(;l.nodeType!==Node.ELEMENT_NODE&&l.parentNode;)l=l.parentNode;for(var d=l;d&&"HTML"!==d.tagName;){if(d===e.el)return l;d=n(d).parent()[0]}}}catch(e){}return e.el},endElement:function(){var t=r();try{if(t.rangeCount){var i,s=o(0),l=s.endContainer;if(l.nodeType===Node.ELEMENT_NODE){var c=!1;0<l.childNodes.length&&l.childNodes[s.endOffset]&&n(l.childNodes[s.endOffset]).text()===a()?(l=l.childNodes[s.endOffset],c=!0):!s.collapsed&&l.previousSibling&&l.previousSibling.nodeType===Node.ELEMENT_NODE?(i=l.previousSibling)&&i.textContent.replace(/\u200B/g,"")===a().replace(/\u200B/g,"")&&(l=i,c=!0):!s.collapsed&&0<l.childNodes.length&&l.childNodes[s.endOffset]&&(i=l.childNodes[s.endOffset].previousSibling).nodeType===Node.ELEMENT_NODE&&i&&i.textContent.replace(/\u200B/g,"")===a().replace(/\u200B/g,"")&&(l=i,c=!0),!c&&0<l.childNodes.length&&n(l.childNodes[l.childNodes.length-1]).text()===a()&&0>["BR","IMG","HR"].indexOf(l.childNodes[l.childNodes.length-1].tagName)&&(l=l.childNodes[l.childNodes.length-1])}for(l.nodeType===Node.TEXT_NODE&&0===s.endOffset&&l.previousSibling&&l.previousSibling.nodeType===Node.ELEMENT_NODE&&(l=l.previousSibling);l.nodeType!==Node.ELEMENT_NODE&&l.parentNode;)l=l.parentNode;for(var d=l;d&&"HTML"!==d.tagName;){if(d===e.el)return l;d=n(d).parent()[0]}}}catch(e){}return e.el},save:l,restore:c,isCollapsed:f,isFull:function(){if(f())return!1;e.selection.save();var t,n=e.el.querySelectorAll("td, th, img, br");for(t=0;t<n.length;t++)(n[t].nextSibling||"IMG"===n[t].tagName)&&(n[t].innerHTML='<span class="fr-mk" style="display: none;">&nbsp;</span>'.concat(n[t].innerHTML));var a=!1,r=p(e.el);for(r.atStart&&r.atEnd&&(a=!0),n=e.el.querySelectorAll(".fr-mk"),t=0;t<n.length;t++)n[t].parentNode.removeChild(n[t]);
1return e.selection.restore(),a},inEditor:g,remove:function(){if(f())return!0;l();var a,r=e.$el.find('.fr-marker[data-type="true"]');for(a=0;a<r.length;a++)for(var o=r[a];!(function(e){for(var t=e.previousSibling;t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;){var a=t;t=t.previousSibling,n(a).remove()}return t}(o)||e.node.isBlock(o.parentNode)||e.$el.is(o.parentNode)||e.node.hasClass(o.parentNode,"fr-inner"));)n(o.parentNode).before(o);var i=e.$el.find('.fr-marker[data-type="false"]');for(a=0;a<i.length;a++){for(var s=i[a];!(function(e){for(var t=e.nextSibling;t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;){var a=t;t=t.nextSibling,n(a).remove()}return t}(s)||e.node.isBlock(s.parentNode)||e.$el.is(s.parentNode)||e.node.hasClass(s.parentNode,"fr-inner"));)n(s.parentNode).after(s);s.parentNode&&e.node.isBlock(s.parentNode)&&e.node.isEmpty(s.parentNode)&&!e.$el.is(s.parentNode)&&!e.node.hasClass(s.parentNode,"fr-inner")&&e.opts.keepFormatOnDelete&&n(s.parentNode).after(s)}if(function(){for(var t=e.$el.find(".fr-marker"),a=0;a<t.length;a++)if(n(t[a]).parentsUntil('.fr-element, [contenteditable="true"]','[contenteditable="false"]').length)return!1;return!0}()){!function t(a,r){var o=e.node.contents(a.get(0));0<=["TD","TH"].indexOf(a.get(0).tagName)&&1===a.find(".fr-marker").length&&(e.node.hasClass(o[0],"fr-marker")||"BR"==o[0].tagName&&e.node.hasClass(o[0].nextElementSibling,"fr-marker"))&&a.attr("data-del-cell",!0);for(var i=0;i<o.length;i++){var s=o[i];e.node.hasClass(s,"fr-marker")?r=(r+1)%2:r?0<n(s).find(".fr-marker").length?r=t(n(s),r):0>["TD","TH"].indexOf(s.tagName)&&!e.node.hasClass(s,"fr-inner")?!e.opts.keepFormatOnDelete||0<e.$el.find("[data-first]").length||e.node.isVoid(s)?n(s).remove():function t(a,r){void 0===r&&(r=!0);var o=n(a).html();o&&o.replace(/\u200b/g,"").length!==o.length&&n(a).html(o.replace(/\u200b/g,""));for(var i=e.node.contents(a),s=0;s<i.length;s++)i[s].nodeType!==Node.ELEMENT_NODE?n(i[s]).remove():(t(i[s],0===s),0===s&&(r=!1));if(a.nodeType===Node.TEXT_NODE){var l=n(document.createElement("span")).attr("data-first","true").attr("data-text","true");n(a)[0].replaceWith(l[0])}else r&&n(a).attr("data-first",!0)}(s):e.node.hasClass(s,"fr-inner")?0===n(s).find(".fr-inner").length?n(s).html("<br>"):n(s).find(".fr-inner").filter(h).html("<br>"):(n(s).empty(),n(s).attr("data-del-cell",!0)):0<n(s).find(".fr-marker").length&&(r=t(n(s),r))}return r}(e.$el,0);var d=e.$el.find('[data-first="true"]');if(d.length)e.$el.find(".fr-marker").remove(),d.append(t.INVISIBLE_SPACE+t.MARKERS).removeAttr("data-first"),d.attr("data-text")&&d.replaceWith(d.html());else for(e.$el.find("table").filter(function(){return 0<n(this).find("[data-del-cell]").length&&n(this).find("[data-del-cell]").length===n(this).find("td, th").length}).remove(),e.$el.find("[data-del-cell]").removeAttr("data-del-cell"),r=e.$el.find('.fr-marker[data-type="true"]'),a=0;a<r.length;a++){var p=r[a],u=p.nextSibling,g=e.$el.find('.fr-marker[data-type="false"][data-id="'.concat(n(p).data("id"),'"]')).get(0);if(g){if(p&&(!u||u!==g)){var m=e.node.blockParent(p),v=e.node.blockParent(g),b=!1,C=!1;if(m&&0<=["UL","OL"].indexOf(m.tagName)&&(m=null,b=!0),v&&0<=["UL","OL"].indexOf(v.tagName)&&(v=null,C=!0),n(p).after(g),m!==v)if(null!==m||b)if(null!==v||C||0!==n(m).parentsUntil(e.$el,"table").length)m&&v&&0===n(m).parentsUntil(e.$el,"table").length&&0===n(v).parentsUntil(e.$el,"table").length&&!n(m).contains(v)&&!n(v).contains(m)&&(n(m).append(n(v).html()),n(v).remove());else{for(u=m;!u.nextSibling&&u.parentNode!==e.el;)u=u.parentNode;for(u=u.nextSibling;u&&"BR"!==u.tagName;){var E=u.nextSibling;n(m).append(u),u=E}u&&"BR"===u.tagName&&n(u).remove()}else{var y=e.node.deepestParent(p);y?(n(y).after(n(v).html()),n(v).remove()):0===n(v).parentsUntil(e.$el,"table").length&&(n(p).next().after(n(v).html()),n(v).remove())}}}else g=n(p).clone().attr("data-type",!1),n(p).after(g)}}e.$el.find("li:empty").remove(),e.opts.keepFormatOnDelete||e.html.fillEmptyBlocks(),e.html.cleanEmptyTags(!0),e.opts.htmlUntouched||(e.clean.lists(),e.$el.find("li:empty").append("<br>"),e.spaces.normalize());var T=e.$el.find(".fr-marker").last().get(0),A=e.$el.find(".fr-marker").first().get(0);void 0!==T&&void 0!==A&&!T.nextSibling&&A.previousSibling&&"BR"===A.previousSibling.tagName&&e.node.isElement(T.parentNode)&&e.node.isElement(A.parentNode)&&e.$el.append("<br>"),c()},blocks:function(){var t,a,i=[],l=r();if(g()&&l.rangeCount){var c=o();for(t=0;t<c.length;t++){var d=c[t],f=s(d.startContainer,d.startOffset),p=s(d.endContainer,d.endOffset);(e.node.isBlock(f)||e.node.hasClass(f,"fr-inner"))&&0>i.indexOf(f)&&i.push(f),(a=e.node.blockParent(f))&&0>i.indexOf(a)&&i.push(a);for(var u=[],h=f;h!==p&&h!==e.el;)0>u.indexOf(h)&&h.children&&h.children.length?(u.push(h),h=h.children[0]):h.nextSibling?h=h.nextSibling:h.parentNode&&u.push(h=h.parentNode),e.node.isBlock(h)&&0>u.indexOf(h)&&0>i.indexOf(h)&&(h!==p||0<d.endOffset)&&i.push(h);
vendor: 5,047 bytes, line 1
1e.node.isBlock(p)&&0>i.indexOf(p)&&0<d.endOffset&&i.push(p),(a=e.node.blockParent(p))&&0>i.indexOf(a)&&i.push(a)}}for(t=i.length-1;0<t;t--)n(i[t]).find(i).length&&i.splice(t,1);return i},info:p,setAtEnd:v,setAtStart:m,setBefore:function(a,r){void 0===r&&(r=!0);for(var o=a.previousSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)o=o.previousSibling;return o?(e.node.isBlock(o)?v(o):"BR"===o.tagName?n(o).before(t.MARKERS):n(o).after(t.MARKERS),!0):!!r&&(e.node.isBlock(a)?m(a):n(a).before(t.MARKERS),!0)},setAfter:function(a,r){void 0===r&&(r=!0);for(var o=a.nextSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)o=o.nextSibling;return o?(e.node.isBlock(o)?m(o):n(o).before(t.MARKERS),!0):!!r&&(e.node.isBlock(a)?v(a):n(a).after(t.MARKERS),!0)},rangeElement:s}},Object.assign(t.DEFAULTS,{language:null}),t.LANGUAGE={},t.MODULES.language=function(e){var n;return{_init:function(){t.LANGUAGE&&(n=t.LANGUAGE[e.opts.language]),n&&n.direction&&(e.opts.direction=n.direction)},translate:function(e){return n&&n.translation[e]&&n.translation[e].length?n.translation[e]:e}}},Object.assign(t.DEFAULTS,{placeholderText:"Type something"}),t.MODULES.placeholder=function(e){var t=e.$;function n(){e.$placeholder||(e.$placeholder=t(e.doc.createElement("SPAN")).addClass("fr-placeholder"),e.$wp.append(e.$placeholder));var n=e.opts.iframe?e.$iframe.prev().outerHeight(!0):e.$el.prev().outerHeight(!0),a=0,r=0,o=0,i=0,s=0,l=0,c=e.node.contents(e.el),d=t(e.selection.element()).css("text-align");if(c.length&&c[0].nodeType===Node.ELEMENT_NODE){var f=t(c[0]);(0<e.$wp.prev().length||0<e.$el.prev().length)&&e.ready&&(a=e.helpers.getPX(f.css("margin-top")),i=e.helpers.getPX(f.css("padding-top")),r=e.helpers.getPX(f.css("margin-left")),o=e.helpers.getPX(f.css("margin-right")),s=e.helpers.getPX(f.css("padding-left")),l=e.helpers.getPX(f.css("padding-right"))),e.$placeholder.css("font-size",f.css("font-size")),e.$placeholder.css("line-height",f.css("line-height"))}else e.$placeholder.css("font-size",e.$el.css("font-size")),e.$placeholder.css("line-height",e.$el.css("line-height"));e.$wp.addClass("show-placeholder"),e.$placeholder.css({marginTop:Math.max(e.helpers.getPX(e.$el.css("margin-top")),a)+(n||0),paddingTop:Math.max(e.helpers.getPX(e.$el.css("padding-top")),i),paddingLeft:Math.max(e.helpers.getPX(e.$el.css("padding-left")),s),marginLeft:Math.max(e.helpers.getPX(e.$el.css("margin-left")),r),paddingRight:Math.max(e.helpers.getPX(e.$el.css("padding-right")),l),marginRight:Math.max(e.helpers.getPX(e.$el.css("margin-right")),o),textAlign:d}).text(e.language.translate(e.opts.placeholderText||e.$oel.attr("placeholder")||"")),e.$placeholder.html(e.$placeholder.text().replace(/\n/g,"<br>"))}function a(){e.$wp.removeClass("show-placeholder")}function r(){if(!e.$wp)return!1;e.core.isEmpty()?n():a()}return{_init:function(){if(!e.$wp)return!1;e.events.on("init input keydown keyup contentChanged initialized",r)},show:n,hide:a,refresh:r,isVisible:function(){return!e.$wp||e.node.hasClass(e.$wp.get(0),"show-placeholder")}}},t.UNICODE_NBSP=String.fromCharCode(160),t.VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],t.BLOCK_TAGS=["address","article","aside","audio","blockquote","canvas","details","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul","video"],Object.assign(t.DEFAULTS,{htmlAllowedEmptyTags:["textarea","a","iframe","object","video","style","script",".fa",".fr-emoticon",".fr-inner","path","line","hr"],htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),t.MODULES.html=function(e){var n=e.$;function a(){return e.opts.enter===t.ENTER_P?"p":e.opts.enter===t.ENTER_DIV?"div":e.opts.enter===t.ENTER_BR?null:void 0}function r(t,n){return!(!t||t===e.el)&&(n?-1!=["PRE","SCRIPT","STYLE"].indexOf(t.tagName)||r(t.parentNode,n):-1!==["PRE","SCRIPT","STYLE"].indexOf(t.tagName))}function o(n){var a,r=[],o=[];if(n){var s=e.el.querySelectorAll(".fr-marker");for(a=0;a<s.length;a++){var l=e.node.blockParent(s[a])||s[a];if(l){var c=l.nextSibling,d=l.previousSibling;l&&0>o.indexOf(l)&&e.node.isBlock(l)&&o.push(l),d&&e.node.isBlock(d)&&0>o.indexOf(d)&&o.push(d),c&&e.node.isBlock(c)&&0>o.indexOf(c)&&o.push(c)}}}else o=e.el.querySelectorAll(i());var f=i();for(f+=",".concat(t.VOID_ELEMENTS.join(",")),f+=", .fr-inner",f+=",".concat(e.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"),a=o.length-1;0<=a;a--)if(!(o[a].textContent&&0<o[a].textContent.replace(/\u200B|\n/g,"").length||0<o[a].querySelectorAll(f).length)){for(var p=e.node.contents(o[a]),u=!1,h=0;h<p.length;h++)if(p[h].nodeType!==Node.COMMENT_NODE&&p[h].textContent&&0<p[h].textContent.replace(/\u200B|\n/g,"").length){u=!0;break}u||r.push(o[a])}return r}function i(){return t.BLOCK_TAGS.join(", ")}
vendor: 2,663 bytes, line 1
1function s(a){var r,o,i=n.merge([],t.VOID_ELEMENTS);i=n.merge(i,e.opts.htmlAllowedEmptyTags),i=void 0===a?n.merge(i,t.BLOCK_TAGS):n.merge(i,t.NO_DELETE_TAGS),r=e.el.querySelectorAll("*:empty:not(".concat(i.join("):not("),"):not(.fr-marker):not(template)"));do{o=!1;for(var s=0;s<r.length;s++)0!==r[s].attributes.length&&void 0===r[s].getAttribute("href")||(r[s].parentNode.removeChild(r[s]),o=!0);r=e.el.querySelectorAll("*:empty:not(".concat(i.join("):not("),"):not(.fr-marker):not(template)"))}while(r.length&&o)}function l(t,n){var r=a();if(n&&(r="div"),r){for(var o=e.doc.createDocumentFragment(),i=null,s=!1,l=t.firstChild,c=!1;l;){var d=l.nextSibling;if(l.nodeType===Node.ELEMENT_NODE&&(e.node.isBlock(l)||0<=e.opts.htmlDoNotWrapTags.indexOf(l.tagName.toLowerCase())&&!e.node.hasClass(l,"fr-marker")))i=null,o.appendChild(l.cloneNode(!0));else if(l.nodeType!==Node.ELEMENT_NODE&&l.nodeType!==Node.TEXT_NODE)i=null,o.appendChild(l.cloneNode(!0));else if("BR"===l.tagName)null===i?(i=e.doc.createElement(r),c=!0,n&&(i.setAttribute("class","fr-temp-div"),i.setAttribute("data-empty",!0)),i.appendChild(l.cloneNode(!0)),o.appendChild(i)):!1===s&&(i.appendChild(e.doc.createElement("br")),n&&(i.setAttribute("class","fr-temp-div"),i.setAttribute("data-empty",!0))),i=null;else{var f=l.textContent;l.nodeType!==Node.TEXT_NODE||0<f.replace(/\n/g,"").replace(/(^ *)|( *$)/g,"").length||f.replace(/(^ *)|( *$)/g,"").length&&0>f.indexOf("\n")?(null===i&&(i=e.doc.createElement(r),c=!0,n&&i.setAttribute("class","fr-temp-div"),o.appendChild(i),s=!1),i.appendChild(l.cloneNode(!0)),s||e.node.hasClass(l,"fr-marker")||l.nodeType===Node.TEXT_NODE&&0===f.replace(/ /g,"").length||(s=!0)):c=!0}l=d}c&&(t.innerHTML="",t.appendChild(o))}}function c(e,t){for(var n=e.length-1;0<=n;n--)l(e[n],t)}function d(t,n,a,r,o){if(!e.$wp)return!1;void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===a&&(a=!1),void 0===r&&(r=!1),void 0===o&&(o=!1);var i=e.$wp.scrollTop();l(e.el,t),r&&c(e.el.querySelectorAll(".fr-inner"),t),n&&c(e.el.querySelectorAll("td, th"),t),a&&c(e.el.querySelectorAll("blockquote"),t),o&&c(e.el.querySelectorAll("li"),t),i!==e.$wp.scrollTop()&&e.$wp.scrollTop(i)}function f(t){if(void 0===t&&(t=e.el),t&&0<=["SCRIPT","STYLE","PRE"].indexOf(t.tagName))return!1;for(var n=e.doc.createTreeWalker(t,NodeFilter.SHOW_TEXT,e.node.filter(function(e){return null!==e.textContent.match(/([ \n]{2,})|(^[ \n]{1,})|([ \n]{1,}$)/g)}),!1);n.nextNode();){var a=n.currentNode;if(!r(a.parentNode,!0)){var o=e.node.isBlock(a.parentNode)||e.node.isElement(a.parentNode),i=a.textContent.replace(/(?!^)( ){2,}(?!$)/g," ").replace(/\n/g," ").replace(/^[ ]{2,}/g," ").replace(/[ ]{2,}$/g," ");
vendor: 10,612 bytes, line 1
1if(o){var s=a.previousSibling,l=a.nextSibling;s&&l&&" "===i?i=e.node.isBlock(s)&&e.node.isBlock(l)?"":" ":(s||(i=i.replace(/^ */,"")),l||(i=i.replace(/ *$/,"")))}a.textContent=i}}}function p(e,t,n){var a=RegExp(t,"gi").exec(e);return a?a[n]:null}function u(e){var t=e.doctype,n="<!DOCTYPE html>";return t&&(n="<!DOCTYPE ".concat(t.name).concat(t.publicId?' PUBLIC "'.concat(t.publicId,'"'):"").concat(!t.publicId&&t.systemId?" SYSTEM":"").concat(t.systemId?' "'.concat(t.systemId,'"'):"",">")),n}function h(n){var a=n.parentNode;if(a&&(e.node.isBlock(a)||e.node.isElement(a))&&0>["TD","TH"].indexOf(a.tagName)){for(var r=n.previousSibling,o=n.nextSibling;r&&(r.nodeType===Node.TEXT_NODE&&0===r.textContent.replace(/\n|\r/g,"").length||e.node.hasClass(r,"fr-tmp"));)r=r.previousSibling;if(o)return!1;r&&a&&"BR"!==r.tagName&&!e.node.isBlock(r)&&!o&&0<a.textContent.replace(/\u200B/g,"").length&&0<r.textContent.length&&!e.node.hasClass(r,"fr-marker")&&(e.el===a&&!o&&e.opts.enter===t.ENTER_BR&&e.browser.msie||n.parentNode.removeChild(n))}else!a||e.node.isBlock(a)||e.node.isElement(a)||n.previousSibling||n.nextSibling||!e.node.isDeletable(n.parentNode)||h(n.parentNode)}function g(){e.opts.htmlUntouched||(s(),d(),f(),e.spaces.normalize(null,!0),e.html.fillEmptyBlocks(),e.clean.lists(),e.clean.tables(),e.clean.toHTML5(),e.html.cleanBRs()),e.selection.restore(),m(),e.placeholder.refresh()}function m(){e.node.isEmpty(e.el)&&(null!==a()?e.el.querySelector(i())||e.el.querySelector("".concat(e.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||(e.core.hasFocus()?(e.$el.html("<".concat(a(),">").concat(t.MARKERS,"<br/></").concat(a(),">")),e.selection.restore()):e.$el.html("<".concat(a(),"><br/></").concat(a(),">"))):e.el.querySelector("*:not(.fr-marker):not(br)")||(e.core.hasFocus()?(e.$el.html("".concat(t.MARKERS,"<br/>")),e.selection.restore()):e.$el.html("<br/>")))}function v(e,t){return p(e,"<".concat(t,"[^>]*?>([\\w\\W]*)</").concat(t,">"),1)}function b(t,a){var r=n("<div ".concat(p(t,"<".concat(a,"([^>]*?)>"),1)||"",">"));return e.node.rawAttributes(r.get(0))}function C(e){return(p(e,"<!DOCTYPE([^>]*?)>",0)||"<!DOCTYPE html>").replace(/\n/g," ").replace(/ {2,}/g," ")}function E(t,n){e.opts.htmlExecuteScripts?t.html(n):t.get(0).innerHTML=n}function y(t){if(e.events.trigger("html.processGet",[t]),t&&t.getAttribute&&""===t.getAttribute("class")&&t.removeAttribute("class"),t&&t.getAttribute&&""===t.getAttribute("style")&&t.removeAttribute("style"),t&&t.nodeType===Node.ELEMENT_NODE){var n,a=t.querySelectorAll('[class=""],[style=""]');for(n=0;n<a.length;n++){var r=a[n];""===r.getAttribute("class")&&r.removeAttribute("class"),""===r.getAttribute("style")&&r.removeAttribute("style")}if("BR"===t.tagName)h(t);else{var o=t.querySelectorAll("br");for(n=0;n<o.length;n++)h(o[n])}}}function T(e,t){return e[3]-t[3]}function A(){for(var t=e.el.querySelectorAll("input, textarea"),n=0;n<t.length;n++)"checkbox"!==t[n].type&&"radio"!==t[n].type||(t[n].checked?t[n].setAttribute("checked",t[n].checked):e.$(t[n]).removeAttr("checked")),t[n].getAttribute("value")&&t[n].setAttribute("value",t[n].value)}function L(t){var n=e.doc.createElement("div");return n.innerHTML=t,null!==n.querySelector(i())}function x(t){var a=null;if(void 0===t&&(a=e.selection.element()),e.opts.keepFormatOnDelete)return!1;var r,o,i=a?(a.textContent.match(/\u200B/g)||[]).length-a.querySelectorAll(".fr-marker").length:0;if((e.el.textContent.match(/\u200B/g)||[]).length-e.el.querySelectorAll(".fr-marker").length===i)return!1;do{o=!1,r=e.el.querySelectorAll("*:not(.fr-marker)");for(var s=0;s<r.length;s++){var l=r[s];if(a!==l){var c=l.textContent;0===l.children.length&&1===c.length&&8203===c.charCodeAt(0)&&"TD"!==l.tagName&&(n(l).remove(),o=!0)}}}while(o)}function S(){x(),e.placeholder&&setTimeout(e.placeholder.refresh,0)}return{defaultTag:a,isPreformatted:r,emptyBlocks:o,emptyBlockTagsQuery:function(){return"".concat(t.BLOCK_TAGS.join(":empty, "),":empty")},blockTagsQuery:i,fillEmptyBlocks:function(n){var a=o(n);e.node.isEmpty(e.el)&&e.opts.enter===t.ENTER_BR&&a.push(e.el);for(var r=0;r<a.length;r++){var i=a[r];"false"===i.getAttribute("contenteditable")||i.querySelector("".concat(e.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||e.node.isVoid(i)||"TABLE"!==i.tagName&&"TBODY"!==i.tagName&&"TR"!==i.tagName&&"UL"!==i.tagName&&"OL"!==i.tagName&&i.appendChild(e.doc.createElement("br"))}if(e.browser.msie&&e.opts.enter===t.ENTER_BR){var s=e.node.contents(e.el);s.length&&s[s.length-1].nodeType===Node.TEXT_NODE&&e.$el.append("<br>")}},cleanEmptyTags:s,cleanWhiteTags:x,cleanBlankSpaces:f,blocks:function(){return e.$el.get(0).querySelectorAll(i())},getDoctype:u,set:function(t){var a=e.clean.html((t||"").trim(),[],[],e.opts.fullPage),r=RegExp("%3A//","g"),o=a.replace(r,"://");if(e.opts.fullPage){var i,s,l=v(o,"body")||(0<=o.indexOf("<body")?"":o),c=b(o,"body"),d=v(o,"head")||"<title></title>",f=b(o,"head"),p=n("<div>");p.append(d).contents().each(function(){(this.nodeType===Node.COMMENT_NODE||0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName))&&this.parentNode.removeChild(this)});var u=p.html().trim();d=n("<div>").append(d).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?"\x3c!--".concat(this.nodeValue,"--\x3e"):0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName)?this.outerHTML:""}).toArray().join("");var h=C(o),m=b(o,"html");E(e.$el,"".concat(u,"\n").concat(l)),e.node.clearAttributes(e.el),e.$el.attr(c),e.$el.addClass("fr-view"),e.$el.attr("spellcheck",e.opts.spellcheck),e.$el.attr("dir",e.opts.direction),E(e.$head,d),e.node.clearAttributes(e.$head.get(0)),e.$head.attr(f),e.node.clearAttributes(e.$html.get(0)),e.$html.attr(m),e.iframe_document.doctype.parentNode.replaceChild((i=e.iframe_document,(s=h.match(/<!DOCTYPE ?([^ ]*) ?([^ ]*) ?"?([^"]*)"? ?"?([^"]*)"?>/i))?i.implementation.createDocumentType(s[1],s[3],s[4]):i.implementation.createDocumentType("html")),e.iframe_document.doctype)}else E(e.$el,o);var y=e.edit.isDisabled();e.edit.on(),e.core.injectStyle(e.opts.iframeDefaultStyle+e.opts.iframeStyle),g(),e.opts.useClasses||(e.$el.find("[fr-original-class]").each(function(){this.setAttribute("class",this.getAttribute("fr-original-class")),this.removeAttribute("fr-original-class")}),e.$el.find("[fr-original-style]").each(function(){this.setAttribute("style",this.getAttribute("fr-original-style")),this.removeAttribute("fr-original-style")})),y&&e.edit.off(),e.events.trigger("html.set"),e.events.trigger("charCounter.update")},syncInputs:A,get:function(t,n){if(!e.$wp)return e.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var a="";e.events.trigger("html.beforeGet");var r,o,i=[],s={},l=[];if(A(),!e.opts.useClasses&&!n){var c=RegExp("^".concat(e.opts.htmlIgnoreCSSProperties.join("$|^"),"$"),"gi");for(r=0;r<e.doc.styleSheets.length;r++){var d=void 0,f=0;try{d=e.doc.styleSheets[r].cssRules,e.doc.styleSheets[r].ownerNode&&"STYLE"===e.doc.styleSheets[r].ownerNode.nodeType&&(f=1)}catch(e){}if(d){for(var p=0,h=d.length;p<h;p++)if(d[p].selectorText&&0<d[p].style.cssText.length){var g=d[p].selectorText.replace(/body |\.fr-view /g,"").replace(/::/g,":"),m=void 0;try{m=e.el.querySelectorAll(g)}catch(e){m=[]}for(o=0;o<m.length;o++){!m[o].getAttribute("fr-original-style")&&m[o].getAttribute("style")?(m[o].setAttribute("fr-original-style",m[o].getAttribute("style")),i.push(m[o])):m[o].getAttribute("fr-original-style")||(m[o].setAttribute("fr-original-style",""),i.push(m[o])),s[m[o]]||(s[m[o]]={});for(var v=1e3*f+function(e){var t;return(t=/:not\(([^)]*)\)/g).test(e)&&(e=e.replace(t,"     $1 ")),100*(e.match(/(#[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(\[[^]]+\])/g)||[]).length+10*(e.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(e.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(e.match(/(:[^\s+>~.[:]+)/g)||[]).length+(e.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length+((e=(e=e.replace(/[*\s+>~]/g," ")).replace(/[#.]/g," ")).match(/([^\s+>~.[:]+)/g)||[]).length}(d[p].selectorText),b=d[p].style.cssText.split(";"),C=0;C<b.length;C++){var E=b[C].trim().split(":")[0];if(E&&!E.match(c)&&(s[m[o]][E]||(s[m[o]][E]=0)<=(m[o].getAttribute("fr-original-style")||"").indexOf("".concat(E,":"))&&(s[m[o]][E]=1e4),v>=s[m[o]][E]&&(s[m[o]][E]=v,b[C].trim().length))){var L=b[C].trim().split(":");L.splice(0,1),l.push([m[o],E.trim(),L.join(":").trim(),v])}}}}}}for(l.sort(T),r=0;r<l.length;r++){var x=l[r];x[0].style[x[1]]=x[2]}for(r=0;r<i.length;r++)if(i[r].getAttribute("class")&&(i[r].setAttribute("fr-original-class",i[r].getAttribute("class")),i[r].removeAttribute("class")),0<(i[r].getAttribute("fr-original-style")||"").trim().length){var S=i[r].getAttribute("fr-original-style").split(";");for(o=0;o<S.length;o++)if(0<S[o].indexOf(":")){var w=S[o].split(":"),R=w[0];w.splice(0,1),i[r].style[R.trim()]=w.join(":").trim()}}}if(e.node.isEmpty(e.el))e.opts.fullPage&&(a=u(e.iframe_document)+"<html".concat(e.node.attributes(e.$html.get(0)),">").concat(e.$html.find("head").get(0).outerHTML,"<body></body></html>"));else if(void 0===t&&(t=!1),e.opts.fullPage){a=u(e.iframe_document),e.$el.removeClass("fr-view");var _=e.opts.heightMin,M=e.opts.height,O=e.opts.heightMax;e.opts.heightMin=null,e.opts.height=null,e.opts.heightMax=null,e.size.refresh(),a+="<html".concat(e.node.attributes(e.$html.get(0)),">").concat(e.$html.html(),"</html>"),e.opts.heightMin=_,e.opts.height=M,e.opts.heightMax=O,e.size.refresh(),e.$el.addClass("fr-view")}else a=e.$el.html();if(!e.opts.useClasses&&!n)for(r=0;r<i.length;r++)i[r].getAttribute("fr-original-class")&&(i[r].setAttribute("class",i[r].getAttribute("fr-original-class")),i[r].removeAttribute("fr-original-class")),null!==i[r].getAttribute("fr-original-style")&&void 0!==i[r].getAttribute("fr-original-style")?(0!==i[r].getAttribute("fr-original-style").length?i[r].setAttribute("style",i[r].getAttribute("fr-original-style")):i[r].removeAttribute("style"),i[r].removeAttribute("fr-original-style")):i[r].removeAttribute("style");e.opts.fullPage&&(a=(a=(a=(a=(a=(a=(a=(a=a.replace(/<style data-fr-style="true">(?:[\w\W]*?)<\/style>/g,"")).replace(/<link([^>]*)data-fr-style="true"([^>]*)>/g,"")).replace(/<style(?:[\w\W]*?)class="firebugResetStyles"(?:[\w\W]*?)>(?:[\w\W]*?)<\/style>/g,"")).replace(/<body((?:[\w\W]*?)) spellcheck="true"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>")).replace(/<body((?:[\w\W]*?)) contenteditable="(true|false)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>
1")).replace(/<body((?:[\w\W]*?)) dir="([\w]*)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>")).replace(/<body((?:[\w\W]*?))class="([\w\W]*?)(fr-rtl|fr-ltr)([\w\W]*?)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,'<body$1class="$2$4"$5>$6</body>')).replace(/<body((?:[\w\W]*?)) class=""((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>")),e.opts.htmlSimpleAmpersand&&(a=a.replace(/&amp;/gi,"&")),e.events.trigger("html.afterGet"),t||(a=a.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,"")),a=e.clean.invisibleSpaces(a),a=e.clean.exec(a,y);var k=e.events.chainTrigger("html.get",a);return"string"==typeof k&&(a=k),a=(a=a.replace(/<pre(?:[\w\W]*?)>(?:[\w\W]*?)<\/pre>/g,function(e){return e.replace(/<br>/g,"\n")})).replace(/<meta((?:[\w\W]*?)) data-fr-http-equiv="/g,'<meta$1 http-equiv="')},getSelected:function(){var t,a,r="";if(void 0!==e.win.getSelection){e.browser.mozilla&&(e.selection.save(),1<e.$el.find('.fr-marker[data-type="false"]').length&&(e.$el.find('.fr-marker[data-type="false"][data-id="0"]').remove(),e.$el.find('.fr-marker[data-type="false"]:last').attr("data-id","0"),e.$el.find(".fr-marker").not('[data-id="0"]').remove()),e.selection.restore());for(var o=e.selection.ranges(),i=0;i<o.length;i++){var s=document.createElement("div");s.appendChild(o[i].cloneContents()),function(t,a){for(;a&&(a.nodeType===Node.TEXT_NODE||!e.node.isBlock(a))&&!e.node.isElement(a)&&!e.node.hasClass(a,"fr-inner");)a&&a.nodeType!==Node.TEXT_NODE&&n(t).wrapInner(e.node.openTagString(a)+e.node.closeTagString(a)),a=a.parentNode;a&&t.innerHTML===a.innerHTML?t.innerHTML=a.outerHTML:-1!=a.innerText.indexOf(t.innerHTML)&&(t.innerHTML=e.node.openTagString(a)+a.innerHTML+e.node.closeTagString(a))}(s,(a=t=void 0,a=null,e.win.getSelection?(t=e.win.getSelection())&&t.rangeCount&&(a=t.getRangeAt(0).commonAncestorContainer).nodeType!==Node.ELEMENT_NODE&&(a=a.parentNode):(t=e.doc.selection)&&"Control"!==t.type&&(a=t.createRange().parentElement()),null!==a&&(0<=n(a).parents().toArray().indexOf(e.el)||a===e.el)?a:null)),0<n(s).find(".fr-element").length&&(s=e.el),r+=s.innerHTML}}else void 0!==e.doc.selection&&"Text"===e.doc.selection.type&&(r=e.doc.selection.createRange().htmlText);return r},insert:function(t,a,r){if(e.selection.isCollapsed()||e.selection.remove(),o=a?t:e.clean.html(t),0>t.indexOf('class="fr-marker"')&&(i=o,(s=e.doc.createElement("div")).innerHTML=i,e.selection.setAtEnd(s,!0),o=s.innerHTML),e.node.isEmpty(e.el)&&!e.opts.keepFormatOnDelete&&L(o))e.el.innerHTML=o;else{var o,i,s,l=e.markers.insert();if(l){e.node.isLastSibling(l)&&n(l).parent().hasClass("fr-deletable")&&n(l).insertAfter(n(l).parent());var c=e.node.blockParent(l);if((L(o)||r)&&(e.node.deepestParent(l)||c&&"LI"===c.tagName)){if(c&&"LI"===c.tagName&&(o=function(t){if(!e.html.defaultTag())return t;var a=e.doc.createElement("div");a.innerHTML=t;for(var r=a.querySelectorAll(":scope > ".concat(e.html.defaultTag())),o=r.length-1;0<=o;o--){var i=r[o];e.node.isBlock(i.previousSibling)||(i.previousSibling&&!e.node.isEmpty(i)&&n("<br>").insertAfter(i.previousSibling),i.outerHTML=i.innerHTML)}return a.innerHTML}(o)),!(l=e.markers.split()))return!1;l.outerHTML=o}else l.outerHTML=o}else e.el.innerHTML+=o}g(),e.keys.positionCaret(),e.events.trigger("html.inserted")},wrap:d,unwrap:function(){e.$el.find("div.fr-temp-div").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&n(this).before("<br>"),n(this).attr("data-empty")||!this.nextSibling||e.node.isBlock(this.nextSibling)&&!n(this.nextSibling).hasClass("fr-temp-div")?n(this).replaceWith(n(this).html()):n(this).replaceWith("".concat(n(this).html(),"<br>"))}),e.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter(function(){return""===n(this).attr("class")}).removeAttr("class")},escapeEntities:function(e){return e.replace(/</gi,"&lt;").replace(/>/gi,"&gt;").replace(/"/gi,"&quot;").replace(/'/gi,"&#39;")},checkIfEmpty:m,extractNode:v,extractNodeAttrs:b,extractDoctype:C,cleanBRs:function(){for(var t=e.el.getElementsByTagName("br"),n=0;n<t.length;n++)h(t[n])},_init:function(){e.events.$on(e.$el,"mousemove","span.fr-word-select",function(e){var t=window.getSelection();t=window.getSelection();var n=document.createRange();n.selectNodeContents(e.target),t.removeAllRanges(),t.addRange(n)}),e.$wp&&(e.events.on("mouseup",S),e.events.on("keydown",S),e.events.on("contentChanged",m))},_setHtml:E}},t.ENTER_P=0,t.ENTER_DIV=1,t.ENTER_BR=2,t.KEYCODE={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,FF_SEMICOLON:59,FF_EQUALS:61,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_
1SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,FF_HYPHEN:173,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,HYPHEN:189,PERIOD:190,SLASH:191,APOSTROPHE:192,TILDE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,IME:229},Object.assign(t.DEFAULTS,{enter:t.ENTER_P,multiLine:!0,tabSpaces:0}),t.MODULES.keys=function(e){var n,a,r,o=e.$,i=!1;function s(t){if(e.selection.isCollapsed())if(0>["INPUT","BUTTON","TEXTAREA"].indexOf(t.target&&t.target.tagName)&&e.cursor.backspace(),e.helpers.isIOS()){var n=e.selection.ranges(0);n.deleteContents(),n.insertNode(document.createTextNode("​")),e.selection.get().modify("move","forward","character")}else 0>["INPUT","BUTTON","TEXTAREA"].indexOf(t.target&&t.target.tagName)&&t.preventDefault(),t.stopPropagation();else t.preventDefault(),t.stopPropagation(),e.selection.remove();e.placeholder.refresh()}function l(t){0>["INPUT","BUTTON","TEXTAREA"].indexOf(t.target&&t.target.tagName)&&t.preventDefault(),t.stopPropagation(),""===e.selection.text()&&(e.selection.isCollapsed()||"IMG"!=e.selection.element().tagName)?e.cursor.del():e.selection.remove(),e.placeholder.refresh()}function c(){if(e.browser.mozilla&&e.selection.isCollapsed()&&!i){var t=e.selection.ranges(0),n=t.startContainer,a=t.startOffset;n&&n.nodeType===Node.TEXT_NODE&&a<=n.textContent.length&&0<a&&32===n.textContent.charCodeAt(a-1)&&(e.selection.save(),e.spaces.normalize(),e.selection.restore())}}function d(){e.selection.isFull()&&setTimeout(function(){var n=e.html.defaultTag();n?e.$el.html("<".concat(n,">").concat(t.MARKERS,"<br/></").concat(n,">")):e.$el.html("".concat(t.MARKERS,"<br/>")),e.selection.restore(),e.placeholder.refresh(),e.button.bulkRefresh(),e.undo.saveStep()},0)}function f(){i=!1}function p(){i=!1}function u(){var n=e.html.defaultTag();n?e.$el.html("<".concat(n,">").concat(t.MARKERS,"<br/></").concat(n,">")):e.$el.html("".concat(t.MARKERS,"<br/>")),e.selection.restore()}function h(e,t){if((-1<e.innerHTML.indexOf("<span")||-1<e.parentElement.innerHTML.indexOf("<span")||-1<e.parentElement.parentElement.innerHTML.indexOf("<span"))&&(e.classList.contains("fr-img-space-wrap")||e.parentElement.classList.contains("fr-img-space-wrap")||e.parentElement.parentElement.classList.contains("fr-img-space-wrap"))){if(o(e.parentElement).is("p")){var n=e.parentElement.innerHTML;return(n=n.replace(/<br>/g,"")).length<1?e.parentElement.insertAdjacentHTML("afterbegin","&nbsp;"):"&nbsp;"!=n&&" "!=n&&"Backspace"==t.key?s(t):"&nbsp;"!=n&&" "!=n&&"Delete"==t.key&&l(t),!0}if(o(e).is("p")){var a=e.innerHTML.replace(/<br>/g,"");return a.length<1?e.insertAdjacentHTML("afterbegin","&nbsp;"):"&nbsp;"!=a&&" "!=a&&"Backspace"==t.key?s(t):"&nbsp;"!=a&&" "!=a&&"Delete"==t.key&&l(t),!0}}return!1}function g(a){var r=e.selection.element();if(r&&0<=["INPUT","TEXTAREA"].indexOf(r.tagName)||a&&C(a.which))return!0;e.events.disableBlur();var o=a.which;if(16===o)return!0;if((n=o)===t.KEYCODE.IME)return i=!0;i=!1;var c=E(o)&&!b(a)&&!a.altKey,d=o===t.KEYCODE.BACKSPACE||o===t.KEYCODE.DELETE;if((e.selection.isFull()&&!e.opts.keepFormatOnDelete&&!e.placeholder.isVisible()||d&&e.placeholder.isVisible()&&e.opts.keepFormatOnDelete)&&(c||d)&&(u(),!E(o)))return a.preventDefault(),!0;if(o===t.KEYCODE.ENTER)a.shiftKey||r.classList.contains("fr-inner")||r.parentElement.classList.contains("fr-inner")?(a.preventDefault(),a.stopPropagation(),e.opts.multiLine&&(e.selection.isCollapsed()||e.selection.remove(),e.cursor.enter(!0))):e.opts.multiLine?(e.helpers.isIOS()||(a.preventDefault(),a.stopPropagation()),e.selection.isCollapsed()||e.selection.remove(),e.cursor.enter()):(a.preventDefault(),a.stopPropagation());else if(o===t.KEYCODE.BACKSPACE&&(a.metaKey||a.ctrlKey))setTimeout(function(){e.events.disableBlur(),e.events.focus()},0);else if(o!==t.KEYCODE.BACKSPACE||b(a)||a.altKey)if(o!==t.KEYCODE.DELETE||b(a)||a.altKey||a.shiftKey)o===t.KEYCODE.SPACE?function(n){var a=e.selection.element
1();if(!e.helpers.isMobile()&&a&&"A"===a.tagName){n.preventDefault(),n.stopPropagation(),e.selection.isCollapsed()||e.selection.remove();var r=e.markers.insert();if(r){var o=r.previousSibling;!r.nextSibling&&r.parentNode&&"A"===r.parentNode.tagName?(r.parentNode.insertAdjacentHTML("afterend","&nbsp;".concat(t.MARKERS)),r.parentNode.removeChild(r)):(o&&o.nodeType===Node.TEXT_NODE&&1===o.textContent.length&&160===o.textContent.charCodeAt(0)?o.textContent+=" ":r.insertAdjacentHTML("beforebegin","&nbsp;"),r.outerHTML=t.MARKERS),e.selection.restore()}}}(a):o===t.KEYCODE.TAB?function(t){if(0<e.opts.tabSpaces)if(e.selection.isCollapsed()){e.undo.saveStep(),t.preventDefault(),t.stopPropagation();for(var n="",a=0;a<e.opts.tabSpaces;a++)n+="&nbsp;";e.html.insert(n),e.placeholder.refresh(),e.undo.saveStep()}else t.preventDefault(),t.stopPropagation(),t.shiftKey?e.commands.outdent():e.commands.indent()}(a):b(a)||!E(a.which)||e.selection.isCollapsed()||a.ctrlKey||a.altKey||e.selection.remove();else{if(h(r,a))return a.preventDefault(),void a.stopPropagation();e.placeholder.isVisible()?(e.opts.keepFormatOnDelete||u(),a.preventDefault(),a.stopPropagation()):l(a)}else{if(h(r,a))return a.preventDefault(),void a.stopPropagation();e.placeholder.isVisible()?(e.opts.keepFormatOnDelete||u(),a.preventDefault(),a.stopPropagation()):s(a)}e.events.enableBlur()}function m(){var t;if(!e.$wp)return!0;e.opts.height||e.opts.heightMax?(t=e.position.getBoundingRect().top,(e.helpers.isIOS()||e.helpers.isAndroid())&&(t-=e.helpers.scrollTop()),e.opts.iframe&&(t+=e.$iframe.offset().top),t>e.$wp.offset().top-e.helpers.scrollTop()+e.$wp.height()-20&&e.$wp.scrollTop(t+e.$wp.scrollTop()-(e.$wp.height()+e.$wp.offset().top)+e.helpers.scrollTop()+20)):(t=e.position.getBoundingRect().top,e.opts.toolbarBottom&&(t+=e.opts.toolbarStickyOffset),(e.helpers.isIOS()||e.helpers.isAndroid())&&(t-=e.helpers.scrollTop()),e.opts.iframe&&(t+=e.$iframe.offset().top,t-=e.helpers.scrollTop()),(t+=e.opts.toolbarStickyOffset)>e.o_win.innerHeight-20&&o(e.o_win).scrollTop(t+e.helpers.scrollTop()-e.o_win.innerHeight+20),t=e.position.getBoundingRect().top,e.opts.toolbarBottom||(t-=e.opts.toolbarStickyOffset),(e.helpers.isIOS()||e.helpers.isAndroid())&&(t-=e.helpers.scrollTop()),e.opts.iframe&&(t+=e.$iframe.offset().top,t-=e.helpers.scrollTop()),t<100&&o(e.o_win).scrollTop(t+e.helpers.scrollTop()-100))}function v(a){var r=e.selection.element();if(r&&0<=["INPUT","TEXTAREA"].indexOf(r.tagName)||(a&&0===a.which&&n&&(a.which=n),e.helpers.isAndroid()&&e.browser.mozilla))return!0;if(i)return!1;if(a&&e.helpers.isIOS()&&a.which===t.KEYCODE.ENTER&&e.doc.execCommand("undo"),!e.selection.isCollapsed()||a&&(a.which===t.KEYCODE.META||a.which===t.KEYCODE.CTRL)||a&&C(a.which))return!0;if(a&&!e.helpers.isIOS()&&(a.which===t.KEYCODE.ENTER||a.which===t.KEYCODE.BACKSPACE||37<=a.which&&a.which<=40&&!e.browser.msie))try{m()}catch(e){}var o=e.selection.element();!function(e){if(!e)return!1;var t=e.innerHTML;return!!((t=t.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(t)&&0<t.replace(/\u200B/gi,"").length)}(o)||e.node.hasClass(o,"fr-marker")||"IFRAME"===o.tagName||e.helpers.isIOS()&&0!==((o.textContent||"").match(/[\u3041-\u3096\u30A0-\u30FF\u4E00-\u9FFF\u3130-\u318F\uAC00-\uD7AF]/gi)||[]).length||(e.selection.save(),function(t){for(var n=e.doc.createTreeWalker(t,NodeFilter.SHOW_TEXT,e.node.filter(function(e){return/\u200B/gi.test(e.textContent)}),!1);n.nextNode();){var a=n.currentNode;a.textContent=a.textContent.replace(/\u200B/gi,"")}}(o),e.selection.restore())}function b(e){if(-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}function C(e){if(e>=t.KEYCODE.ARROW_LEFT&&e<=t.KEYCODE.ARROW_DOWN)return!0}function E(n){if(n>=t.KEYCODE.ZERO&&n<=t.KEYCODE.NINE||n>=t.KEYCODE.NUM_ZERO&&n<=t.KEYCODE.NUM_MULTIPLY||n>=t.KEYCODE.A&&n<=t.KEYCODE.Z||e.browser.webkit&&0===n)return!0;switch(n){case t.KEYCODE.SPACE:case t.KEYCODE.QUESTION_MARK:case t.KEYCODE.NUM_PLUS:case t.KEYCODE.NUM_MINUS:case t.KEYCODE.NUM_PERIOD:case t.
1KEYCODE.NUM_DIVISION:case t.KEYCODE.SEMICOLON:case t.KEYCODE.FF_SEMICOLON:case t.KEYCODE.DASH:case t.KEYCODE.EQUALS:case t.KEYCODE.FF_EQUALS:case t.KEYCODE.COMMA:case t.KEYCODE.PERIOD:case t.KEYCODE.SLASH:case t.KEYCODE.APOSTROPHE:case t.KEYCODE.SINGLE_QUOTE:case t.KEYCODE.OPEN_SQUARE_BRACKET:case t.KEYCODE.BACKSLASH:case t.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function y(n){var o=n.which;if(b(n)||37<=o&&o<=40||!E(o)&&o!==t.KEYCODE.DELETE&&o!==t.KEYCODE.BACKSPACE&&o!==t.KEYCODE.ENTER&&o!==t.KEYCODE.IME)return!0;a||(r=e.snapshot.get(),e.undo.canDo()||e.undo.saveStep()),clearTimeout(a),a=setTimeout(function(){a=null,e.undo.saveStep()},Math.max(250,e.opts.typingTimer))}function T(t){var n=t.which;if(b(t)||37<=n&&n<=40)return!0;r&&a?(e.undo.saveStep(r),r=null):void 0!==n&&0!==n||r||a||e.undo.saveStep()}function A(t){if(t&&"BR"===t.tagName)return!1;try{return 0===(t.textContent||"").length&&t.querySelector&&!t.querySelector(":scope > br")||t.childNodes&&1===t.childNodes.length&&t.childNodes[0].getAttribute&&("false"===t.childNodes[0].getAttribute("contenteditable")||e.node.hasClass(t.childNodes[0],"fr-img-caption"))}catch(e){return!1}}function L(n){var a=e.el.childNodes,r=e.html.defaultTag(),o=e.node.blockParent(e.selection.blocks()[0]);return o&&"TR"==o.tagName&&void 0==o.getAttribute("contenteditable")&&(o=o.closest("table")),!e.node.isEditable(n.target)||o&&"false"===o.getAttribute("contenteditable")?e.toolbar.disable():e.toolbar.enable(),!(!n.target||n.target===e.el)||0===a.length||void(a[0].offsetHeight+a[
10].offsetTop<=n.offsetY?A(a[a.length-1])&&(r?e.$el.append("<".concat(r,">").concat(t.MARKERS,"<br></").concat(r,">")):e.$el.append("".concat(t.MARKERS,"<br>")),e.selection.restore(),m()):n.offsetY<=10&&A(a[0])&&(r?e.$el.prepend("<".concat(r,">").concat(t.MARKERS,"<br></").concat(r,">")):e.$el.prepend("".concat(t.MARKERS,"<br>")),e.selection.restore(),m()))}function x(){a&&clearTimeout(a)}return{_init:function(){e.events.on("keydown",y),e.events.on("input",c),e.events.on("mousedown",p),e.events.on("keyup input",T),e.events.on("keypress",f),e.events.on("keydown",g),e.events.on("keyup",v),e.events.on("destroy",x),e.events.on("html.inserted",v),e.events.on("cut",d),e.opts.multiLine&&e.events.on("click",L)},ctrlKey:b,isCharacter:E,isArrow:C,forceUndo:function(){a&&(clearTimeout(a),e.undo.saveStep(),r=null)},isIME:function(){return i},isBrowserAction:function(e){var n=e.which;return b(e)||n===t.KEYCODE.F5},positionCaret:m}},Object.assign(t.DEFAULTS,{pastePlain:!1,pasteDeniedTags:["colgroup","col","meta"],pasteDeniedAttrs:["class","id"],pasteAllowedStyleProps:[".*"],pasteAllowLocalImages:!1}),t.MODULES.paste=function(e){var n,a,r,o,i=e.$;function s(t,n){try{e.win.localStorage.setItem("fr-copied-html",t),e.win.localStorage.setItem("fr-copied-text",n)}catch(e){}}function l(t){var n=e.html.getSelected();s(n,i(e.doc.createElement("div")).html(n).text()),"cut"===t.type&&(e.undo.saveStep(),setTimeout(function(){e.selection.save(),e.html.wrap(),e.selection.restore(),e.events.focus(),e.undo.saveStep()},0))}var c=!1;function d(t){if("INPUT"===t.target.nodeName&&"text"===t.target.type)return!0;if(e.edit.isDisabled()||f(t.target)||c)return!1;if(t.originalEvent&&(t=t.originalEvent),!1===e.events.trigger("paste.before",[t]))return t.preventDefault(),!1;if(t&&t.clipboardData&&t.clipboardData.getData){var o,s="",l=t.clipboardData.types;if(e.helpers.isArray(l))for(var d=0;d<l.length;d++)s+="".concat(l[d],";");else s=l;if(n="",/text\/rtf/.test(s)&&(a=t.clipboardData.getData("text/rtf")),/text\/html/.test(s)&&!e.browser.safari?n=t.clipboardData.getData("text/html"):/text\/rtf/.test(s)&&e.browser.safari?n=a:/public.rtf/.test(s)&&e.browser.safari&&(n=t.clipboardData.getData("text/rtf")),""!==n)return u(),t.preventDefault&&(t.stopPropagation(),t.preventDefault()),!1;n=null}return e.selection.save(),e.events.disableBlur(),n=null,r?(r.html(""),e.browser.edge&&e.opts.iframe&&e.$el.append(r)):(r=i('<div contenteditable="true" style="position: fixed; top: 0; left: -9999px; height: 100%; width: 0; word-break: break-all; overflow:hidden; z-index: 2147483647; line-height: 140%; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; user-select: text;" tabIndex="-1"></div>'),e.browser.webkit||e.browser.mozilla?(r.css("top",e.$sc.scrollTop()),e.$el.after(r)):e.browser.edge&&e.opts.iframe?e.$el.append(r):e.$box.after(r),e.events.on("destroy",function(){r.remove()})),e.helpers.isIOS()&&e.$sc&&(o=e.$sc.scrollTop()),e.opts.iframe&&e.$el.attr("contenteditable","false"),r.focus(),e.helpers.isIOS()&&e.$sc&&e.$sc.scrollTop(o),e.win.setTimeout(u,1),!1}function f(e){return e&&"false"===e.contentEditable}function p(r){if(r.originalEvent&&(r=r.originalEvent),f(r.target))return!1;if(r&&r.dataTransfer&&r.dataTransfer.getData){var s="",l=r.dataTransfer.types;if(e.helpers.isArray(l))for(var c=0;c<l.length;c++)s+="".concat(l[c],";");else s=l;if(n="",/text\/rtf/.test(s)&&(a=r.dataTransfer.getData("text/rtf")),/text\/html/.test(s)?n=r.dataTransfer.getData("text/html"):/text\/rtf/.test(s)&&e.browser.safari?n=a:/text\/plain/.test(s)&&!this.browser.mozilla&&(n=e.html.escapeEntities(r.dataTransfer.getData("text/plain")).replace(/\n/g,"<br>")),""!==n){e.keys.forceUndo(),o=e.snapshot.get(),e.selection.save(),e.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper");var d=e.markers.insertAtPoint(r);if(e.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),e.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),e.selection.restore(),e.selection.remove(),e.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),!1!==d)return i(e.el.querySelector(".fr-marker")).replaceWith(t.MARKERS),e.selection.restore(
1),u(),r.preventDefault&&(r.stopPropagation(),r.preventDefault()),!1}else n=null}}function u(){e.opts.iframe&&e.$el.attr("contenteditable","true"),e.browser.edge&&e.opts.iframe&&e.$box.after(r),o||(e.keys.forceUndo(),o=e.snapshot.get()),n||(n=r.get(0).innerHTML,e.selection.restore(),e.events.enableBlur());var t=n.match(/(class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument|LibreOffice)/gi),a=e.events.chainTrigger("paste.beforeCleanup",n);a&&"string"==typeof a&&(n=a),(!t||t&&!1!==e.events.trigger("paste.wordPaste",[n]))&&g(n,t)}function h(e){for(var t="",n=0;n++<e;)t+="&nbsp;";return t}function g(n,a,r){var s,l=null,c=null;if(0<=n.toLowerCase().indexOf("<body")){var d="";0<=n.indexOf("<style")&&(d=n.replace(/[.\s\S\w\W<>]*(<style[^>]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1")),n=(n=d+n.replace(/[.\s\S\w\W<>]*<body[^>]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1")).replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}var f=!1;0<=n.indexOf('id="docs-internal-guid')&&(n=n.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),f=!0),0<=n.indexOf('content="Sheets"')&&(n=n.replace(/width:0px;/g,""));var p=!1;if(!a)if((p=function(t){var n=null;try{n=e.win.localStorage.getItem("fr-copied-text")}catch(e){}return!(!n||i("<div>").html(t).text().replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")!==n.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")&&i("<div>").html(t).text().replace(/\s/g,"")!==n.replace(/\s/g,""))}(n))&&(n=e.win.localStorage.getItem("fr-copied-html")),p)n=e.clean.html(n,e.opts.pasteDeniedTags,e.opts.pasteDeniedAttrs);else{var u=e.opts.htmlAllowedStyleProps;e.opts.htmlAllowedStyleProps=e.opts.pasteAllowedStyleProps,e.opts.htmlAllowComments=!1,n=(n=(n=n.replace(/<span class="Apple-tab-span">\s*<\/span>/g,h(e.opts.tabSpaces||4))).replace(/<span class="Apple-tab-span" style="white-space:pre">(\t*)<\/span>/g,function(t,n){return h(n.length*(e.opts.tabSpaces||4))})).replace(/\t/g,h(e.opts.tabSpaces||4)),n=e.clean.html(n,e.opts.pasteDeniedTags,e.opts.pasteDeniedAttrs),e.opts.htmlAllowedStyleProps=u,e.opts.htmlAllowComments=!0,n=(n=(n=v(n)).replace(/\r/g,"")).replace(/^ */g,"").replace(/ *$/g,"")}!a||e.wordPaste&&r||(0===(n=n.replace(/^\n*/g,"").replace(/^ /g,"")).indexOf("<colgroup>")&&(n="<table>".concat(n,"</table>")),n=v(n=function(t){t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(/<p(.*?)class="?'?MsoListParagraph"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ul><li>$3</li></ul>")).replace(/<p(.*?)class="?'?NumberedText"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li>$3</li></ol>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ul><li$3>$5</li>")).replace(/<p(.*?)class="?'?NumberedTextCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?NumberedTextCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListBullet"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ul>")).replace(/<p(.*?)class="?'?NumberedTextCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ol>")).replace(/<span([^<]*?)style="?'?mso-list:Ignore"?'?([\s\S]*?)>([\s\S]*?)<span/gi,"<span><span")).replace(/<!--\[if !supportLists\]-->([\s\S]*?)<!--\[endif\]-->/gi,"")).replace(/<!\[if !supportLists\]>([\s\S]*?)<!\[endif\]>/gi,"")).replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ")).replace(/<!--[\s\S]*?-->/gi,"")).replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>
vendor: 7,033 bytes, line 1
1/gi,"");var n,a,r=["style","script","applet","embed","noframes","noscript"];for(n=0;n<r.length;n++){var o=RegExp("<".concat(r[n],".*?").concat(r[n],"(.*?)>"),"gi");t=t.replace(o,"")}for(t=(t=(t=t.replace(/&nbsp;/gi," ")).replace(/<td([^>]*)><\/td>/g,"<td$1><br></td>")).replace(/<th([^>]*)><\/th>/g,"<th$1><br></th>");(t=(a=t).replace(/<[^/>][^>]*><\/[^>]+>/gi,""))!==a;);t=(t=t.replace(/<lilevel([^1])([^>]*)>/gi,'<li data-indent="true"$2>')).replace(/<lilevel1([^>]*)>/gi,"<li$1>"),t=(t=(t=e.clean.html(t,e.opts.pasteDeniedTags,e.opts.pasteDeniedAttrs)).replace(/<a>(.[^<]+)<\/a>/gi,"$1")).replace(/<br> */g,"<br>");var i=e.o_doc.createElement("div");i.innerHTML=t;var s=i.querySelectorAll("li[data-indent]");for(n=0;n<s.length;n++){var l=s[n],c=l.previousElementSibling;if(c&&"LI"===c.tagName){var d=c.querySelector(":scope > ul, :scope > ol");d||(d=document.createElement("ul"),c.appendChild(d)),d.appendChild(l)}else l.removeAttribute("data-indent")}return e.html.cleanBlankSpaces(i),t=i.innerHTML}(n))),e.opts.pastePlain&&!p&&(n=function(t){var n,a=null,r=e.doc.createElement("div");r.innerHTML=t;var o=r.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(n=0;n<o.length;n++)(a=o[n]).outerHTML="<".concat(e.html.defaultTag()||"DIV",">").concat(a.innerHTML,"</").concat(e.html.defaultTag()||"DIV",">");for(n=(o=r.querySelectorAll("*:not(".concat("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img".split(",").join("):not("),")"))).length-1;0<=n;n--)(a=o[n]).outerHTML=a.innerHTML;return function t(n){for(var a=e.node.contents(n),r=0;r<a.length;r++)a[r].nodeType!==Node.TEXT_NODE&&a[r].nodeType!==Node.ELEMENT_NODE?a[r].parentNode.removeChild(a[r]):t(a[r])}(r),r.innerHTML}(n));var g=e.events.chainTrigger("paste.afterCleanup",n);if("string"==typeof g&&(n=g),""!==n){var m=e.o_doc.createElement("div");0<=(m.innerHTML=n).indexOf("<body>")?(e.html.cleanBlankSpaces(m),e.spaces.normalize(m,!0)):e.spaces.normalize(m);var b=m.getElementsByTagName("span");for(s=b.length-1;0<=s;s--){var C=b[s];0===C.attributes.length&&(C.outerHTML=C.innerHTML)}if(!0===e.opts.linkAlwaysBlank){var E=m.getElementsByTagName("a");for(s=E.length-1;0<=s;s--){var y=E[s];y.getAttribute("target")||y.setAttribute("target","_blank")}}var T=e.selection.element(),A=!1;if(T&&i(T).parentsUntil(e.el,"ul, ol").length&&(A=!0),A){var L=m.children;1===L.length&&0<=["OL","UL"].indexOf(L[0].tagName)&&(L[0].outerHTML=L[0].innerHTML)}if(!f){var x=m.getElementsByTagName("br");for(s=x.length-1;0<=s;s--){var S=x[s];e.node.isBlock(S.previousSibling)&&S.parentNode.removeChild(S)}}if(e.opts.enter===t.ENTER_BR)for(s=(l=m.querySelectorAll("p, div")).length-1;0<=s;s--)0===(c=l[s]).attributes.length&&(c.outerHTML=c.innerHTML+(c.nextSibling&&!e.node.isEmpty(c)?"<br>":""));else if(e.opts.enter===t.ENTER_DIV)for(s=(l=m.getElementsByTagName("p")).length-1;0<=s;s--)0===(c=l[s]).attributes.length&&(c.outerHTML="<div>".concat(c.innerHTML,"</div>"));else e.opts.enter===t.ENTER_P&&1===m.childNodes.length&&"P"===m.childNodes[0].tagName&&0===m.childNodes[0].attributes.length&&(m.childNodes[0].outerHTML=m.childNodes[0].innerHTML);n=m.innerHTML,p&&(n=function(n){var a,r=e.o_doc.createElement("div");r.innerHTML=n;for(var o=r.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(t.VOID_ELEMENTS.join("):not("),"):not(").concat(e.opts.htmlAllowedEmptyTags.join("):not("),")"));o.length;){for(a=0;a<o.length;a++)o[a].parentNode.removeChild(o[a]);o=r.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(t.VOID_ELEMENTS.join("):not("),"):not(").concat(e.opts.htmlAllowedEmptyTags.join("):not("),")"))}return r.innerHTML}(n)),e.html.insert(n,!0)}e.events.trigger("paste.after"),e.undo.saveStep(o),o=null,e.undo.saveStep()}function m(e){for(var t=e.length-1;0<=t;t--)e[t].attributes&&e[t].attributes.length&&e.splice(t,1);return e}function v(t){var n,a=e.o_doc.createElement("div");a.innerHTML=t;for(var r=m(Array.prototype.slice.call(a.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));r.length;){var o=r[r.length-1];if(e.html.defaultTag()&&"div"!==e.html.defaultTag())o.querySelector(e.html.blockTagsQuery())?o.outerHTML=o.innerHTML:o.outerHTML="<".concat(e.html.defaultTag(),">").concat(o.innerHTML,"</").concat(e.html.defaultTag(),">");else{var i=o.querySelectorAll("*");i.length&&("BR"===i[i.length-1].tagName||0!==o.innerText.length)?!i.length||"BR"!==i[i.length-1].tagName||i[i.length-1].nextSibling?o.outerHTML=o.innerHTML+(o.nextSibling?"<br>":""):o.outerHTML=o.innerHTML:o.outerHTML=o.innerHTML+(o.nextSibling?"<br>":"")}r=m(Array.prototype.slice.call(a.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")))}for(r=m(Array.prototype.slice.call(a.querySelectorAll("div:not([style])")));r.length;){for(n=0;n<r.length;n++){var s=r[n],l=s.innerHTML.replace(/\u0009/gi,"").trim();s.outerHTML=l}r=m(Array.prototype.slice.call(a.querySelectorAll("div:not([style])")))}return a.innerHTML}function b(){e.el.removeEventListener("copy",l),e.el.removeEventListener("cut",l),e.el.removeEventListener("paste",d)}return{_init:function(){e.el.addEventListener("copy",l),e.el.addEventListener("cut",l),e.el.addEventListener("paste",d,{capture:!0}),e.events.on("drop",p),e.browser.msie&&e.browser.version<11&&(e.events.on("mouseup",function(e){2===e.button&&(setTimeout(function(){c=!1},50),c=!0)},!0),e.events.on("beforepaste",d)),e.events.on("destroy",b)},cleanEmptyTagsAndDivs:v,getRtfClipboard:function(){return a},saveCopiedText:s,clean:g}},Object.assign(t.DEFAULTS,{shortcutsEnabled:[],shortcutsHint:!0}),t.SHORTCUTS_MAP={},t.RegisterShortcut=function(e,n,a,r,o,i){t.SHORTCUTS_MAP[(o?"^":"")+(i?"@":"")+e]={cmd:n,val:a,letter:r,shift:o,option:i},t.DEFAULTS.shortcutsEnabled.push(n)},t.RegisterShortcut(t.KEYCODE.E,"show",null,"E",!1,!1),t.RegisterShortcut(t.KEYCODE.B,"bold",null,"B",!1,!1),t.RegisterShortcut(t.KEYCODE.I,"italic",null,"I",!1,!1),t.RegisterShortcut(t.KEYCODE.U,"underline",null,"U",!1,!1),t.RegisterShortcut(t.KEYCODE.S,"strikeThrough",null,"S",!1,!1),t.RegisterShortcut(t.KEYCODE.CLOSE_SQUARE_BRACKET,"indent",null,"]",!1,!1),t.RegisterShortcut(t.KEYCODE.OPEN_SQUARE_BRACKET,"outdent",null,"[",!1,!1),t.RegisterShortcut(t.KEYCODE.Z,"undo",null,"Z",!1,!1),t.RegisterShortcut(t.KEYCODE.Z,"redo",null,"Z",!0,!1),t.RegisterShortcut(t.KEYCODE.Y,"redo",null,"Y",!1,!1),t.MODULES.shortcuts=function(e){var n=null,a=!1;function r(n){if(!e.core.hasFocus())return!0;var r=n.which,o=-1!==navigator.userAgent.indexOf("Mac OS X")?n.metaKey:n.ctrlKey;if("keyup"===n.type&&a&&r!==t.KEYCODE.META)return a=!1;"keydown"===n.type&&(a=!1);var i=(n.shiftKey?"^":"")+(n.altKey?"@":"")+r,s=e.node.blockParent(e.selection.blocks()[0]);if(s&&"TR"==s.tagName&&void 0==s.getAttribute("contenteditable")&&(s=s.closest("table")),o&&t.SHORTCUTS_MAP[i]&&(!s||"false"!==s.getAttribute("contenteditable"))){var l=t.SHORTCUTS_MAP[i].cmd;
1if(l&&0<=e.opts.shortcutsEnabled.indexOf(l)){var c=t.SHORTCUTS_MAP[i].val;if(!1===e.events.trigger("shortcut",[n,l,c]))return a=!0,!1;if(l&&(e.commands[l]||t.COMMANDS[l]&&t.COMMANDS[l].callback))return n.preventDefault(),n.stopPropagation(),"keydown"===n.type&&((e.commands[l]||t.COMMANDS[l].callback)(),a=!0),!1}}}return{_init:function(){e.events.on("keydown",r,!0),e.events.on("keyup",r,!0)},get:function(a){if(!e.opts.shortcutsHint)return null;if(!n)for(var r in n={},t.SHORTCUTS_MAP)Object.prototype.hasOwnProperty.call(t.SHORTCUTS_MAP,r)&&0<=e.opts.shortcutsEnabled.indexOf(t.SHORTCUTS_MAP[r].cmd)&&(n["".concat(t.SHORTCUTS_MAP[r].cmd,".").concat(t.SHORTCUTS_MAP[r].val||"")]={shift:t.SHORTCUTS_MAP[r].shift,option:t.SHORTCUTS_MAP[r].option,letter:t.SHORTCUTS_MAP[r].letter});var o=n[a];return o?(e.helpers.isMac()?String.fromCharCode(8984):"".concat(e.language.translate("Ctrl"),"+"))+(o.shift?e.helpers.isMac()?String.fromCharCode(8679):"".concat(e.language.translate("Shift"),"+"):"")+(o.option?e.helpers.isMac()?String.fromCharCode(8997):"".concat(e.language.translate("Alt"),"+"):"")+o.letter:null}}},t.MODULES.snapshot=function(e){function t(t){var n=[];if(!t.parentNode)return[];for(;!e.node.isElement(t);)n.push(function(e){for(var t=e.parentNode.childNodes,n=0,a=null,r=0;r<t.length;r++){if(a){var o=t[r].nodeType===Node.TEXT_NODE&&""===t[r].textContent,i=a.nodeType===Node.TEXT_NODE&&t[r].nodeType===Node.TEXT_NODE,s=a.nodeType===Node.TEXT_NODE&&""===a.textContent;o||i||s||n++}if(t[r]===e)return n;a=t[r]}}(t)),t=t.parentNode;return n.reverse()}function n(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;){var n=e.previousSibling;n&&n.nodeType===Node.TEXT_NODE&&(t+=n.textContent.length),e=n}return t}function a(t){for(var n=e.el,a=0;a<t.length;a++)n=n.childNodes[t[a]];return n}return{get:function(){var a,r={};if(e.events.trigger("snapshot.before"),r.html=(e.$wp?e.$el.html():e.$oel.get(0).outerHTML).replace(/ style=""/g,""),r.ranges=[],e.$wp&&e.selection.inEditor()&&e.core.hasFocus())for(var o=e.selection.ranges(),i=0;i<o.length;i++)r.ranges.push({scLoc:t((a=o[i]).startContainer),scOffset:n(a.startContainer,a.startOffset),ecLoc:t(a.endContainer),ecOffset:n(a.endContainer,a.endOffset)});return e.events.trigger("snapshot.after",[r]),r},restore:function(t){e.$el.html()!==t.html&&(e.opts.htmlExecuteScripts?e.$el.html(t.html):e.el.innerHTML=t.html);var n=e.selection.get();e.selection.clear(),e.events.focus(!0);for(var r=0;r<t.ranges.length;r++)!function(t,n){try{var r=a(n.scLoc),o=n.scOffset,i=a(n.ecLoc),s=n.ecOffset,l=e.doc.createRange();l.setStart(r,o),l.setEnd(i,s),t.addRange(l)}catch(e){}}(n,t.ranges[r])},equal:function(t,n){return t.html===n.html&&(!e.core.hasFocus()||JSON.stringify(t.ranges)===JSON.stringify(n.ranges))}}},t.MODULES.undo=function(e){function n(n){var a=n.which;e.keys.ctrlKey(n)&&(a===t.KEYCODE.Z&&n.shiftKey&&n.preventDefault(),a===t.KEYCODE.Z&&n.preventDefault())}var a=null;function r(){if(e.undo_stack&&!e.undoing)for(;e.undo_stack.length>e.undo_index;)e.undo_stack.pop()}function o(){e.undo_index=0,e.undo_stack=[]}function i(){e.undo_stack=[]}return{_init:function(){o(),e.events.on("initialized",function(){a=(e.$wp?e.$el.html():e.$oel.get(0).outerHTML).replace(/ style=""/g,"")}),e.events.on("blur",function(){e.el.querySelector(".fr-dragging")||e.undo.saveStep()}),e.events.on("keydown",n),e.events.on("destroy",i)},run:function(){if(1<e.undo_index){e.undoing=!0;var t=e.undo_stack[--e.undo_index-1];clearTimeout(e._content_changed_timer),e.snapshot.restore(t),a=t.html,e.popups.hideAll(),e.toolbar.enable(),e.events.trigger("contentChanged"),e.events.trigger("commands.undo"),e.undoing=!1}},redo:function(){if(e.undo_index<e.undo_stack.length){e.undoing=!0;var t=e.undo_stack[e.undo_index++];clearTimeout(e._content_changed_timer),e.snapshot.restore(t),a=t.html,e.popups.hideAll(),e.toolbar.enable(),e.events.trigger("contentChanged"),e.events.trigger("commands.redo"),e.undoing=!1}},canDo:function(){return!(0===e.undo_stack.length||e.undo_index<=1)},canRedo:function(){return e.undo_index!==e.undo_stack.length},dropRedo:r,reset:o,saveStep:function(t){!e.undo_stack||e.undoing||e.el.querySelector(".fr-marker")||(void 0===t?(t=e.snapshot.get(),e.undo_stack[e.undo_index-1]&&e.snapshot.equal(e.undo_stack[e.undo_index-1],t)||(r(),e.undo_stack.push(t),e.undo_index++,t.html!==a&&(e.events.trigger("contentChanged"),a=t.html))):(r(),0<e.undo_index?e.undo_stack[e.undo_index-1]=t:(e.undo_stack.push(t),e.undo_index++)))}}},Object.assign(t.DEFAULTS,{height:null,heightMax:null,heightMin:null,width:null}),t.MODULES.size=function(e){function t(){n(),e.opts.height&&e.$el.css("minHeight",e.opts.height-e.helpers.getPX(e.$el.css("padding-top"))-e.helpers.getPX(e.$el.css("padding-bottom"))),e.$iframe.height(e.$el.outerHeight(!0))}function n(){e.opts.heightMin?e.$el.css("minHeight",e.opts.heightMin):e.$el.css("minHeight",""),e.opts.heightMax?(e.$wp.css("maxHeight",e.opts.heightMax),e.$wp.css("overflow","auto")):(e.$wp.css("maxHeight",""),e.$wp.css("overflow","")),e.opts.height?(e.$wp.css("height",e.opts.height),e.$wp.css("overflow","auto"),e.$el.css("minHeight",e.opts.height-e.helpers.getPX(e.$el.css("padding-top"))-e.helpers.getPX(e.$el.css("padding-bottom")))):(e.$wp.css("height",""),e.opts.heightMin||e.$el.css("minHeight",""),e.opts.heightMax||e.$wp.css("overflow","")),e.opts.width&&e.$box.width(e.opts.width)}return{_init:function(){if(!e.$wp)return!1;n(),e.$iframe&&(e.events.on("keyup keydown",function(){setTimeout(t,0)},!0),e.events.on("commands.after html.set init initialized paste.after",t))},syncIframe:t,refresh:n}},Object.assign(t.DEFAULTS,{documentReady:!1,editorClass:null,typingTimer:500,iframe:!1,requestWithCORS:!0,requestWithCredentials:!1,requestHeaders:{},useClasses:!0,spellcheck:!0,iframeDefaultStyle:'html{margin:0px;height:auto;}body{height:auto;padding:20px;background:transparent;color:#000000;position:relative;z-index: 2;-webkit-user-select:auto;margin:0px;overflow:hidden;min-height:20px;}body:after{content:"";display:block;clear:both;}body::-moz-selection{background:#b5d6fd;color:#000;}body::selection{background:#b5d6fd;color:#000;}',iframeStyle:"",iframeStyleFiles:[],direction:"auto",zIndex:1,tabIndex:null,disableRightClick:!1,scrollableContainer:"body",keepFormatOnDelete:!1,theme:null}),t.MODULES.core=function(e){var n=e.$;return{_init:function(){if(t.INSTANCES.push(e),e.drag_support={filereader:"u">typeof FileReader,formdata:!!e.win.FormData,progress:"upload"in new XMLHttpRequest},e.$wp){(function(){if(e.$box.addClass("fr-box".concat(e.opts.editorClass?" ".concat(e.opts.editorClass):"")),e.$box.attr("role","application"),e.$wp.addClass("fr-wrapper"),e.opts.documentReady&&e.$box.addClass("fr-document"),e.opts.iframe||e.$el.addClass("fr-element fr-view"),e.opts.iframe){e.$iframe.addClass("fr-iframe"),e.$el.addClass("fr-view");for(var t=0;t<e.o_doc.styleSheets.length;t++){var n=void 0;try{n=e.o_doc.styleSheets[t].cssRules}catch(e){}if(n)for(var a=0,r=n.length;a<r;a++)!n[a].selectorText||0!==n[a].selectorText.indexOf(".fr-view")&&0!==n[a].selectorText.indexOf(".fr-element")||0<n[a].style.cssText.length&&(0===n[a].selectorText.indexOf(".fr-view")?e.opts.iframeStyle+="".concat(n[a].selectorText.replace(/\.fr
vendor: 16,771 bytes, line 1
1-view/g,"body"),"{").concat(n[a].style.cssText,"}"):e.opts.iframeStyle+="".concat(n[a].selectorText.replace(/\.fr-element/g,"body"),"{").concat(n[a].style.cssText,"}"))}}"auto"!==e.opts.direction&&e.$box.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(e.opts.direction)),e.$el.attr("dir",e.opts.direction),e.$wp.attr("dir",e.opts.direction),1<e.opts.zIndex&&e.$box.css("z-index",e.opts.zIndex),e.opts.theme&&e.$box.addClass("".concat(e.opts.theme,"-theme")),e.opts.tabIndex=e.opts.tabIndex||e.$oel.attr("tabIndex"),e.opts.tabIndex&&e.$el.attr("tabIndex",e.opts.tabIndex)})(),e.html.set(e._original_html),e.$el.attr("spellcheck",e.opts.spellcheck),e.helpers.isMobile()&&(e.$el.attr("autocomplete",e.opts.spellcheck?"on":"off"),e.$el.attr("autocorrect",e.opts.spellcheck?"on":"off"),e.$el.attr("autocapitalize",e.opts.spellcheck?"on":"off")),e.opts.disableRightClick&&e.events.$on(e.$el,"contextmenu",function(e){if(2===e.button)return e.preventDefault(),e.stopPropagation(),!1});try{e.doc.execCommand("styleWithCSS",!1,!1)}catch(e){}}"TEXTAREA"===e.$oel.get(0).tagName&&(e.events.on("contentChanged",function(){e.$oel.val(e.html.get())}),e.events.on("form.submit",function(){e.$oel.val(e.html.get())}),e.events.on("form.reset",function(){e.html.set(e._original_html)}),e.$oel.val(e.html.get())),e.helpers.isIOS()&&e.events.$on(e.$doc,"selectionchange",function(){e.$doc.get(0).hasFocus()||e.$win.get(0).focus()}),e.events.trigger("init"),e.opts.autofocus&&!e.opts.initOnClick&&e.$wp&&e.events.on("initialized",function(){e.events.focus(!0)})},destroy:function(t){"TEXTAREA"===e.$oel.get(0).tagName&&e.$oel.val(t),e.$box&&e.$box.removeAttr("role"),e.$wp&&("TEXTAREA"===e.$oel.get(0).tagName?(e.$el.html(""),e.$wp.html(""),e.$box.replaceWith(e.$oel),e.$oel.show()):(e.$wp.replaceWith(t),e.$el.html(""),e.$box.removeClass("fr-view fr-ltr fr-box ".concat(e.opts.editorClass||"")),e.opts.theme&&e.$box.addClass("".concat(e.opts.theme,"-theme")))),this.$wp=null,this.$el=null,this.el=null,this.$box=null},isEmpty:function(){return e.node.isEmpty(e.el)},getXHR:function(t,n){var a=new XMLHttpRequest;for(var r in a.open(n,t,!0),e.opts.requestWithCredentials&&(a.withCredentials=!0),e.opts.requestHeaders)Object.prototype.hasOwnProperty.call(e.opts.requestHeaders,r)&&a.setRequestHeader(r,e.opts.requestHeaders[r]);return a},injectStyle:function(t){if(e.opts.iframe){e.$head.find("style[data-fr-style], link[data-fr-style]").remove(),e.$head.append('<style data-fr-style="true">'.concat(t,"</style>"));for(var a=0;a<e.opts.iframeStyleFiles.length;a++){var r=n('<link data-fr-style="true" rel="stylesheet" href="'.concat(e.opts.iframeStyleFiles[a],'">'));r.get(0).addEventListener("load",e.size.syncIframe),e.$head.append(r)}}},hasFocus:function(){return e.browser.mozilla&&e.helpers.isMobile()?e.selection.inEditor():e.node.hasFocus(e.el)||0<e.$el.find("*:focus").length},sameInstance:function(t){if(!t)return!1;var n=t.data("instance");return!!n&&n.id===e.id}}},t.POPUP_TEMPLATES={"text.edit":"[_EDIT_]"},t.RegisterTemplate=function(e,n){t.POPUP_TEMPLATES[e]=n},t.MODULES.popups=function(e){var n,a=e.$;e.shared.popups||(e.shared.popups={});var r,o=e.shared.popups;function i(t,n){n.isVisible()||(n=e.$sc),n.is(o[t].data("container"))||(o[t].data("container",n),n.append(o[t]))}function s(t){var n;t.find(".fr-upload-progress").addClass("fr-height-set"),t.find(".fr-upload-progress").removeClass("fr-height-auto"),e.popups.get("filesManager.insert").removeClass("fr-height-auto"),t.find(".fr-files-upload-layer").hasClass("fr-active")&&(n=1),t.find(".fr-files-by-url-layer").hasClass("fr-active")&&(n=2),t.find(".fr-files-embed-layer").hasClass("fr-active")&&(n=3),t.find(".fr-upload-progress-layer").get(0).clientHeight+10<t.find(".fr-upload-progress").get(0).clientHeight&&t.find(".fr-upload-progress").addClass("fr-height-auto"),400<t[0].clientHeight&&(t[0].childNodes[4].style.height="".concat(t[0].clientHeight-(t[0].childNodes[0].clientHeight+t[0].childNodes[n].clientHeight)-80,"px"))}var l=2e3;function c(){a(this).toggleClass("fr-not-empty",!0)}function d(){var e=a(this);e.toggleClass("fr-not-empty",""!==e.val())}function f(t){return o[t]&&e.node.hasClass(o[t],"fr-active")&&e.core.sameInstance(o[t])||!1}function p(e){for(var t in o)if(Object.prototype.hasOwnProperty.call(o,t)&&f(t)&&(void 0===e||o[t].data("instance")===e))return o[t];return!1}function u(t){var n=null;if(n="string"!=typeof t?t:o[t],"filesManager.insert"===t&&void 0!==e.filesManager&&e.filesManager.isChildWindowOpen())return!1;if(n&&e.node.hasClass(n,"fr-active")&&(n.removeClass("fr-active fr-above"),e.events.trigger("popups.hide.".concat(t)),e.$tb&&(1<e.opts.zIndex?e.$tb.css("zIndex",e.opts.zIndex+1):e.$tb.css("zIndex","")),e.events.disableBlur(),n.find("input, textarea, button").each(function(){this===this.ownerDocument.activeElement&&this.blur()}),n.find("input, textarea").attr("disabled","disabled"),r))for(var i=0;i<r.length;i++)a(r[i]).removeClass("fr-btn-active-popup")}function h(e){for(var t in void 0===e&&(e=[]),o)Object.prototype.hasOwnProperty.call(o,t)&&0>e.indexOf(t)&&u(t)}function g(){e.shared.exit_flag=!0}function m(){e.shared.exit_flag=!1}function v(){return e.shared.exit_flag}function b(n){var r=o[n];return{_windowResize:function(){var t=r.data("instance")||e;!t.helpers.isMobile()&&r.isVisible()&&(t.events.disableBlur(),t.popups.hide(n),t.events.enableBlur())},_inputFocus:function(t){var n=r.data("instance")||e,o=a(t.currentTarget);if(o.is("input:file")&&o.closest(".fr-layer").addClass("fr-input-focus"),t.preventDefault(),t.stopPropagation(),setTimeout(function(){n.events.enableBlur()},100),n.helpers.isMobile()){var i=a(n.o_win).scrollTop();setTimeout(function(){a(n.o_win).scrollTop(i)},0)}},_inputBlur:function(t){var n=r.data("instance")||e,o=a(t.currentTarget);o.is("input:file")&&o.closest(".fr-layer").removeClass("fr-input-focus"),document.activeElement!==this&&a(this).isVisible()&&(n.events.blurActive()&&n.events.trigger("blur"),n.events.enableBlur())},_editorKeydown:function(a){var o=r.data("instance")||e;o.keys.ctrlKey(a)||a.which===t.KEYCODE.ALT||a.which===t.KEYCODE.ESC||(f(n)&&r.findVisible(".fr-back").length?o.button.exec(r.findVisible(".fr-back").first()):a.which!==t.KEYCODE.ALT&&o.popups.hide(n))},_preventFocus:function(t){var n=r.data("instance")||e,o=t.originalEvent?t.originalEvent.target||t.originalEvent.originalTarget:null;"mouseup"===t.type||a(o).is(":focus")||n.events.disableBlur(),"mouseup"!==t.type||a(o).hasClass("fr-command")||0<a(o).parents(".fr-command").length||a(o).hasClass("fr-dropdown-content")||e.button.hideActiveDropdowns(r),(e.browser.safari||e.browser.mozilla)&&"mousedown"===t.type&&a(o).is("input[type=file]")&&n.events.disableBlur();var i="input, textarea, button, select, label, .fr-command";if(o&&!a(o).is(i)&&0===a(o).parents(i).length)return t.stopPropagation(),!1;o&&a(o).is(i)&&t.stopPropagation(),m()},_editorMouseup:function(){r.isVisible()&&v()&&0<r.findVisible("input:focus, textarea:focus, button:focus, select:focus").length&&e.events.disableBlur()},_windowMouseup:function(t){if(!e.core.sameInstance(r))return!0;var a=r.data("instance")||e;r.isVisible()&&v()&&(t.stopPropagation(),a.markers.remove(),a.popups.hide(n),m())},_windowKeydown:function(a){if(!e.core.sameInstance(r))return!0;var o=r.data("instance")||e,i=a.which;if(t.KEYCODE.ESC===i){if(o.popups.isVisible(n)&&o.opts.toolbarInline)return a.stopPropagation(),o.popups.isVisible(n)&&(r.findVisible(".fr-back").length?(o.button.exec(r.findVisible(".fr-back").first()),o.accessibility.focusPopupButton(r)):r.findVisible(".fr-dismiss").length?o.button.exec(r.findVisible(".fr-dismiss").first()):(o.popups.hide(n),o.toolbar.showInline(null,!0),o.accessibility.focusPopupButton(r))),!1;if(o.popups.isVisible(n))return r.findVisible(".fr-back").length?(o.button.exec(r.findVisible(".fr-back").first),o.accessibility.focusPopupButton(r)):r.findVisible(".fr-dismiss").length?o.button.exec(r.findVisible(".fr-dismiss").first()):(o.popups.hide(n),o.accessibility.focusPopupButton(r)),!1}},_repositionPopup:function(){if(!e.opts.height&&!e.opts.heightMax||e.opts.toolbarInline)return!0;if(e.$wp&&f(n)&&r.parent().get(0)===e.$sc.get(0)){var t=r.offset().top-e.$wp.offset().top,a=e.$wp.outerHeight();e.node.hasClass(r.get(0),"fr-above")&&(t+=r.outerHeight()),a<t||t<0?r.addClass("fr-hidden"):r.removeClass("fr-hidden")}}}}function C(t,n){e.events.on("mouseup",t._editorMouseup,!0),e.$wp&&e.events.on("keydown",t._editorKeydown),e.events.on("focus",function(){o[n].removeClass("focused")}),e.events.on("blur",function(){p()&&e.markers.remove(),e.helpers.isMobile()?o[n].hasClass("focused")?(h(),o[n].removeClass("focused")):o[n].addClass("focused"):o[n].find("iframe").length||h()}),e.$wp&&!e.helpers.isMobile()&&e.events.$on(e.$wp,"scroll.popup".concat(n),t._repositionPopup),e.events.on("window.mouseup",t._windowMouseup,!0),e.events.on("window.keydown",t._windowKeydown,!0),o[n].data("inst".concat(e.id),!0),e.events.on("destroy",function(){e.core.sameInstance(o[n])&&(a("body").first().append(o[n]),o[n].removeClass("fr-active"))},!0)}function E(){var e=a(this).prev().children().first();e.attr("checked",!e.attr("checked"))}function y(){for(var e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var t=o[e];t&&(t.html("").removeData().remove(),o[e]=null)}o=[]}return e.shared.exit_flag=!1,{_init:function(){n=window.innerHeight,e.events.on("shared.destroy",y,!0),e.events.on("window.mousedown",g),e.events.on("window.touchmove",m),e.events.$on(a(e.o_win),"scroll",m),e.events.on("mousedown",function(t){p()&&(t.stopPropagation(),e.$el.find(".fr-marker").remove(),g(),e.events.disableBlur())})},create:function(n,r){var i=function(n,r){var i,s=function(n,a){var r=t.POPUP_TEMPLATES[n];if(!r)return null;for(var o in"function"==typeof r&&(r=r.apply(e)),a)Object.prototype.hasOwnProperty.call(a,o)&&(r=r.replace("[_".concat(o.toUpperCase(),"_]"),a[o]));return r}(n,r),l=a(e.doc.createElement("DIV"));if(!s)return"filesManager.insert"===n?l.addClass("fr-popup fr-files-manager fr-empty"):l.addClass("fr-popup fr-empty"),(i=a("body").first()).append(l),l.data("container",i),o[n]=l;"filesManager.insert"===n?l.addClass("fr-popup fr-files-manager".concat(e.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(e.opts.toolbarInline?" fr-inline":"")):l.addClass("fr-popup".concat(e.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(e.opts.toolbarInline?" fr-inline":"")),l.html(s),e.opts.theme&&l.addClass("".concat(e.opts.theme,"-theme")),1<e.opts.zIndex&&(!e.opts.editInPopup&&e.$tb?e.$tb.css("z-index",e.opts.zIndex+2):l.css("z-index",e.opts.zIndex+2)),"auto"!==e.opts.direction&&l.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(e.opts.direction)),l.find("input, textarea").attr("dir",e.opts.direction).attr("disabled","disabled"),(i=a("body").first()).append(l),l.data("container",i);var c=(o[n]=l).find(".fr-color-hex-layer");if(0<c.length){var d=e.helpers.getPX(l.find(".fr-color-set > span").css("width")),f=e.helpers.getPX(c.css("paddingLeft")),p=e.helpers.getPX(c.css("paddingRight"));c.css("width",d*e.opts.colorsStep+f+p)}return e.button.bindCommands(l,!1),l}(n,r),s=b(n);C(s,n),e.events.$on(i,"mousedown mouseup touchstart touchend touch","*",s._preventFocus,!0),e.events.$on(i,"focus","input, textarea, button, select",s._inputFocus,!0),e.events.$on(i,"blur","input, textarea, button, select",s._inputBlur,!0);var l=i.find("input, textarea");return function(e){for(var t=0;t<e.length;t++){var n=a(e[t]);0===n.next().length&&n.attr("placeholder")&&(n.after('<label for="'.concat(n.attr("id"),'">').concat(n.attr("placeholder"),"</label>")),n.attr("placeholder",""))}}(l),e.events.$on(l,"focus",c),e.events.$on(l,"blur change",d),e.events.$on(i,"click",".fr-checkbox + label",E),e.accessibility.registerPopup(n),e.helpers.isIOS()&&e.events.$on(i,"touchend","label",function(){a("#".concat(a(this).attr("for"))).prop("checked",function(e,t){return!t})},!0),e.events.$on(a(e.o_win),"resize",s._windowResize,!0),"filesManager.insert"===n&&o["filesManager.insert"].css("zIndex",0x7ffffff9),i},get:function(t){var n=o[t];return n&&!n.data("inst".concat(e.id))&&C(b(t),t),n},show:function(t,n,a,s,l){if(f(t)||(p()&&0<e.$el.find(".fr-marker").length?(e.events.disableBlur(),e.selection.restore()):p()||(e.events.disableBlur(),e.events.focus(),e.events.enableBlur())),h([t]),!o[t])return!1;var c,d=e.button.getButtons(".fr-dropdown.fr-active");d.removeClass("fr-active").attr("aria-expanded",!1).parents(".fr-toolbar").css("zIndex","").find("> .fr-dropdown-wrapper").css("height",""),d.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),o[t].data("instance",e),e.$tb&&e.$tb.data("instance",e);var u=f(t);o[t].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var g=o[t].data("container");if((c=g).isVisible()||(c=e.$sc),c.contains([o[t].get(0)])||c.append(o[t]),e.opts.toolbarInline&&g&&e.$tb&&g.get(0)===e.$tb.get(0)&&(i(t,e.$sc),a=e.$tb.offset().top-e.helpers.getPX(e.$tb.css("margin-top")),n=e.$tb.offset().left+e.$tb.outerWidth()/2,e.node.hasClass(e.$tb.get(0),"fr-above")&&a&&(a+=e.$tb.outerHeight()),s=0),g=o[t].data("container"),e.opts.iframe&&!s&&!u){var v=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),C=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));n&&(n-=e.$iframe.offset().left+C),a&&(a-=e.$iframe.offset().top+v)}g.is(e.$tb)?e.$tb.css("zIndex",(e.opts.zIndex||1)+4):o[t].css("zIndex",(e.opts.zIndex||1)+3),e.opts.toolbarBottom&&g&&e.$tb&&g.get(0)===e.$tb.get(0)&&(o[t].addClass("fr-above"),a&&(a-=o[t].outerHeight())),l&&(n-=o[t].width()/2),n+o[t].outerWidth()>e.$sc.offset().left+e.$sc.width()&&(n-=n+o[t].outerWidth()-e.$sc.offset().left-e.$sc.width()),n<e.$sc.offset().left&&"rtl"===e.opts.direction&&(n=e.$sc.offset().left),o[t].removeClass("fr-active"),e.position.at(n,a,o[t],s||0),o[t].addClass("fr-active"),u||e.accessibility.focusPopup(o[t]),e.opts.toolbarInline&&e.toolbar.hide(),e.$tb&&(r=e.$tb.find(".fr-btn-active-popup")),e.events.trigger("popups.show.".concat(t)),b(t)._repositionPopup(),m()},hide:u,onHide:function(t,n){e.events.on("popups.hide.".concat(t),n)},hideAll:h,setContainer:i,refresh:function(t){o[t].data("instance",e),e.events.trigger("popups.refresh.".concat(t));for(var n=o[t].find(".fr-command"),r=0;r<n.length;r++){var i=a(n[r]);0===i.parents(".fr-dropdown-menu").length&&e.button.refresh(i)}},onRefresh:function(t,n){e.events.on("popups.refresh.".concat(t),n)},onShow:function(t,n){e.events.on("popups.show.".concat(t),n)},isVisible:f,setFileListHeight:s,areVisible:p,setPopupDimensions:function(t,a){a&&t.find(".fr-upload-progress-layer").get(0).clientHeight<l&&(t.find(".fr-upload-progress").addClass("fr-height-auto"),e.popups.get("filesManager.insert").addClass("fr-height-auto"),t.find(".fr-upload-progress").removeClass("fr-height-set"),l=2e3),t.get(0).clientHeight>window.innerHeight/2&&(window.innerWidth<500?t.get(0).clientHeight>.6*n&&s(t):400<t.get(0).clientHeight&&s(t),l=t.find(".fr-upload-progress-layer").get(0).clientHeight);var r=window.innerWidth;switch(!0){case r<=320:t.width(200);break;case r<=420:t.width(250);break;case r<=520:t.width(300);break;case r<=720:t.width(400);break;case 720<r:t.width(530)}}}},t.MODULES.accessibility=function(e){var n=e.$,a=!0;function r(t){for(var a=e.$el.find('[contenteditable="true"]'),r=!1,o=0;a.get(o);)n(a.get(o)).is(":focus")&&(r=!0),o++;t&&t.length&&!r&&(t.data("blur-event-set")||t.parents(".fr-popup").length||(e.events.$on(t,"blur",function(){var n=t.parents(".fr-toolbar, .fr-popup").data("instance")||e;n.events.blurActive()&&!e.core.hasFocus()&&n.events.trigger("blur"),setTimeout(function(){n.events.enableBlur()},100)},!0),t.data("blur-event-set",!0)),(t.parents(".fr-toolbar, .fr-popup").data("instance")||e).events.disableBlur(),t.get(0).focus(),e.shared.$f_el=t)}function o(e,t){var n=f(p(e))[t?"last":"first"]();if(n.length)return r(n),!0}function i(t){return t.is("input, textarea, select")&&l(),e.events.disableBlur(),t.get(0).focus(),!0}function s(t,a){var r=t.find("input, textarea, button, select").filter(function(){return n(this).isVisible()}).not(":disabled");if((r=a?r.last():r.first()).length)return i(r);if(e.shared.with_kb){var o=t.findVisible(".fr-active-item").first();if(o.length)return i(o);var s=t.findVisible("[tabIndex]").first();if(s.length)return i(s)}}function l(){0===e.$el.find(".fr-marker").length&&e.core.hasFocus()&&e.selection.save()}function c(){var t=e.popups.areVisible();if(t){var n=t.find(".fr-buttons");return n.find("button:focus, .fr-group span:focus").length?!o(t.data("instance").$tb):!o(n)}return!o(e.$tb)}function d(){var t=null;return e.shared.$f_el.is(".fr-dropdown.fr-active")?t=e.shared.$f_el:e.shared.$f_el.closest(".fr-dropdown-menu").prev().is(".fr
1-dropdown.fr-active")&&(t=e.shared.$f_el.closest(".fr-dropdown-menu").prev()),t}function f(t){for(var a=-1,r=0;r<t.length;r++)n(t[r]).hasClass("fr-open")&&(a=r);var o=t.index(e.$tb.find(".fr-more-toolbar.fr-expanded > button.fr-command").first());if(0<o&&-1!==a){var i=t.slice(o,t.length),s=(t=t.slice(0,o)).slice(0,a+1),l=t.slice(a+1,t.length);t=s;for(var c=0;c<i.length;c++)t.push(i[c]);for(var d=0;d<l.length;d++)t.push(l[d])}return t}function p(e){return e.findVisible("button:not(.fr-disabled), .fr-group span.fr-command").filter(function(e){var t=n(e).parents(".fr-more-toolbar");return 0===t.length||0<t.length&&t.hasClass("fr-expanded")})}function u(t,a,i){if(e.shared.$f_el){var l,c=d();c&&(e.button.click(c),e.shared.$f_el=c);var u=f(p(t)),h=u.index(e.shared.$f_el);return 0===h&&!i||h===u.length-1&&i?(a&&(t.parent().is(".fr-popup")&&(l=!s(t.parent().children().not(".fr-buttons"),!i)),!1===l&&(e.shared.$f_el=null)),a&&!1===l||o(t,!i)):r(n(u.get(h+(i?1:-1)))),!1}}function h(t){if(e.shared.$f_el){var n;if(e.shared.$f_el.is(".fr-dropdown.fr-active"))return r(n=t?e.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").first():e.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").last()),!1;if(e.shared.$f_el.is("a.fr-command"))return(n=t?e.shared.$f_el.closest("li").nextAllVisible().first().find(".fr-command:not(.fr-disabled)").first():e.shared.$f_el.closest("li").prevAllVisible().first().find(".fr-command:not(.fr-disabled)").first()).length||(n=t?e.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").first():e.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").last()),r(n),!1}}function g(){if(e.shared.$f_el){if(e.shared.$f_el.hasClass("fr-dropdown"))e.button.click(e.shared.$f_el);else if(e.shared.$f_el.is("button.fr-back")){e.opts.toolbarInline&&(e.events.disableBlur(),e.events.focus());var t=e.popups.areVisible(e);t&&(e.shared.with_kb=!1),e.button.click(e.shared.$f_el),b(t)}else{if(e.events.disableBlur(),e.button.click(e.shared.$f_el),e.shared.$f_el.attr("data-group-name")){var n=e.$tb.find('.fr-more-toolbar[data-name="'.concat(e.shared.$f_el.attr("data-group-name"),'"]')),a=e.shared.$f_el;n.hasClass("fr-expanded")&&(a=n.findVisible("button:not(.fr-disabled)").first()),a&&r(a)}else if(e.shared.$f_el.attr("data-popup")){var o=e.popups.areVisible(e);o&&o.data("popup-button",e.shared.$f_el)}else if(e.shared.$f_el.attr("data-modal")){var i=e.modals.areVisible(e);i&&i.data("modal-button",e.shared.$f_el)}e.shared.$f_el=null}return!1}}function m(){e.shared.$f_el&&(e.events.disableBlur(),e.shared.$f_el.blur(),e.shared.$f_el=null),!1!==e.events.trigger("toolbar.focusEditor")&&(e.events.disableBlur(),e.$el.get(0).focus(),e.events.focus())}function v(t){t&&t.length&&(e.events.$on(t,"keydown",function(a){if(!n(a.target).is("a.fr-command, button.fr-command, .fr-group span.fr-command"))return!0;var r=t.parents(".fr-popup").data("instance")||t.data("instance")||e;e.shared.with_kb=!0;var o=r.accessibility.exec(a,t);return e.shared.with_kb=!1,o},!0),e.events.$on(t,"mouseenter","[tabIndex]",function(r){var o=t.parents(".fr-popup").data("instance")||t.data("instance")||e;if(!a)return r.stopPropagation(),void r.preventDefault();var i=n(r.currentTarget);o.shared.$f_el&&o.shared.$f_el.not(i)&&o.accessibility.focusEditor()},!0),e.$tb&&e.events.$on(e.$tb,"transitionend",".fr-more-toolbar",function(){e.shared.$f_el=n(document.activeElement)}))}function b(e){var t=e.data("popup-button");t&&setTimeout(function(){r(t),e.data("popup-button",null)},0)}function C(t){var n=e.popups.areVisible(t);n&&n.data("popup-button",null)}function E(n){var a=-1!==navigator.userAgent.indexOf("Mac OS X")?n.metaKey:n.ctrlKey;if(n.which!==t.KEYCODE.F10||a||n.shiftKey||!n.altKey)return!0;e.shared.with_kb=!0;var r=e.popups.areVisible(e),o=!1;return r&&(o=s(r.children().not(".fr-buttons"))),o||c(),e.shared.with_kb=!1,n.preventDefault(),n.stopPropagation(),!1}return{_init:function(){e.$wp?e.events.on("keydown",E,!0):e.events.$on(e.$win,"keydown",E,!0),e.events.on("mousedown",function(t){C(e),e.shared.$f_el&&e.el.isSameNode(e.shared.$f_el[0])&&(e.accessibility.restoreSelection(),t.stopPropagation(),e.events.disableBlur(),e.shared.$f_el=null)},!0),e.events.on("blur",function(){e.shared.$f_el=null,C(e)},!0)},registerPopup:function(r){var i,l=e.popups.get(r),c=(i=e.popups.get(r),{_tiKeydown:function(a){var l=i.data("instance")||e;if(!1===l.events.trigger("popup.tab",[a]))return!1;var c=a.which,d=i.find(":focus").first();if(t.KEYCODE.TAB===c){a.preventDefault();var f=i.children().not(".fr-buttons"),p=f.findVisible("input, textarea, button, select").not(".fr-no-touch input, .fr-no-touch textarea, .fr-no-touch button, .fr-no-touch select, :disabled").toArray(),u=p.indexOf(this)+(a.shiftKey?-1:1);if(0<=u&&u<p.length)return l.events.disableBlur(),n(p[u]).focus(),a.stopPropagation(),!1;var h=i.find(".fr-buttons");if(h.length&&o(h,!!a.shiftKey)||s(f))return a.stopPropagation(),!1}else{if(t.KEYCODE.ENTER!==c||!a.target||"TEXTAREA"===a.target.tagName)return t.KEYCODE.ESC===c?(a.preventDefault(),a.stopPropagation(),l.accessibility.restoreSelection(),l.popups.isVisible(r)&&i.findVisible(".fr-back").length?(l.opts.toolbarInline&&(l.events.disableBlur(),l.events.focus()),l.button.exec(i.findVisible(".fr-back").first()),b(i)):l.popups.isVisible(r)&&i.findVisible(".fr-dismiss").length?l.button.exec(i.findVisible(".fr-dismiss").first()):(l.popups.hide(r),l.opts.toolbarInline&&l.toolbar.showInline(null,!0),b(i)),!1):t.KEYCODE.SPACE===c&&(d.is(".fr
1-submit")||d.is(".fr-dismiss"))?(a.preventDefault(),a.stopPropagation(),l.events.disableBlur(),l.button.exec(d),!0):l.keys.isBrowserAction(a)||d.is("input[type=text], textarea")||t.KEYCODE.SPACE===c&&(d.is(".fr-link-attr")||d.is("input[type=file]"))?void a.stopPropagation():(a.stopPropagation(),a.preventDefault(),!1);var g=null;0<i.findVisible(".fr-submit").length?g=i.findVisible(".fr-submit").first():i.findVisible(".fr-dismiss").length&&(g=i.findVisible(".fr-dismiss").first()),g&&(a.preventDefault(),a.stopPropagation(),l.events.disableBlur(),l.button.exec(g))}},_tiMouseenter:function(){C(i.data("instance")||e)}});v(l.find(".fr-buttons")),e.events.$on(l,"mouseenter","tabIndex",c._tiMouseenter,!0),e.events.$on(l.children().not(".fr-buttons"),"keydown","[tabIndex]",c._tiKeydown,!0),e.popups.onHide(r,function(){(l.data("instance")||e).accessibility.restoreSelection()}),e.popups.onShow(r,function(){a=!1,setTimeout(function(){a=!0},0)})},registerToolbar:v,focusToolbarElement:r,focusToolbar:o,focusContent:s,focusPopup:function(t){var n=t.children().not(".fr-buttons");n.data("mouseenter-event-set")||(e.events.$on(n,"mouseenter","[tabIndex]",function(r){var o=t.data("instance")||e;if(!a)return r.stopPropagation(),void r.preventDefault();var i=n.find(":focus").first();i.length&&!i.is("input, button, textarea, select")&&(o.events.disableBlur(),i.blur(),o.events.disableBlur(),o.events.focus())}),n.data("mouseenter-event-set",!0)),!s(n)&&e.shared.with_kb&&o(t.find(".fr-buttons"))},focusModal:function(t){e.core.hasFocus()||(e.events.disableBlur(),e.events.focus()),e.accessibility.saveSelection(),e.events.disableBlur(),e.el.blur(),e.selection.clear(),e.events.disableBlur(),e.shared.with_kb?t.find(".fr-command[tabIndex], [tabIndex]").first().focus():t.find("[tabIndex]").first().focus()},focusEditor:m,focusPopupButton:b,focusModalButton:function(e){var t=e.data("modal-button");t&&setTimeout(function(){r(t),e.data("modal-button",null)},0)},hasFocus:function(){return null!==e.shared.$f_el},exec:function(n,a){var o=-1!==navigator.userAgent.indexOf("Mac OS X")?n.metaKey:n.ctrlKey,i=n.which,s=!1;return i!==t.KEYCODE.TAB||o||n.shiftKey||n.altKey?i!==t.KEYCODE.ARROW_RIGHT||o||n.shiftKey||n.altKey?i!==t.KEYCODE.TAB||o||!n.shiftKey||n.altKey?i!==t.KEYCODE.ARROW_LEFT||o||n.shiftKey||n.altKey?i!==t.KEYCODE.ARROW_UP||o||n.shiftKey||n.altKey?i!==t.KEYCODE.ARROW_DOWN||o||n.shiftKey||n.altKey?i!==t.KEYCODE.ENTER&&i!==t.KEYCODE.SPACE||o||n.shiftKey||n.altKey?i!==t.KEYCODE.ESC||o||n.shiftKey||n.altKey?i!==t.KEYCODE.F10||o||n.shiftKey||!n.altKey||(s=c()):s=function(t){if(e.shared.$f_el){var n=d();return n?(e.button.click(n),r(n)):t.parent().findVisible(".fr-back").length?(e.shared.with_kb=!1,e.opts.toolbarInline&&(e.events.disableBlur(),e.events.focus()),e.button.exec(t.parent().findVisible(".fr-back")).first(),b(t.parent())):e.shared.$f_el.is("button, .fr-group span")&&(t.parent().is(".fr-popup")?(e.accessibility.restoreSelection(),e.shared.$f_el=null,!1!==e.events.trigger("toolbar.esc")&&(e.popups.hide(t.parent()),e.opts.toolbarInline&&e.toolbar.showInline(null,!0),b(t.parent()))):m()),!1}}(a):s=g():s=e.shared.$f_el&&e.shared.$f_el.is(".fr-dropdown:not(.fr-active)")?g():h(!0):s=h():s=u(a,void 0):s=u(a,!0):s=u(a,void 0,!0):s=u(a,!0,!0),e.shared.$f_el||void 0!==s||(s=!0),!s&&e.keys.isBrowserAction(n)&&(s=!0),!!s||(n.preventDefault(),n.stopPropagation(),!1)},saveSelection:l,restoreSelection:function(){e.$el.find(".fr-marker").length&&(e.events.disableBlur(),e.selection.restore(),e.events.enableBlur())}}},Object.assign(t.DEFAULTS,{tooltips:!0}),t.MODULES.tooltip=function(e){var t=e.$;function n(){e.helpers.isMobile()||e.$tooltip&&e.$tooltip.removeClass("fr-visible").css("left","-3000px").css("position","fixed")}function a(n,a){if(!e.helpers.isMobile()&&(n.data("title")||n.data("title",n.attr("title")),n.data("title"))){e.$tooltip||e.opts.tooltips&&!e.helpers.isMobile()&&(e.shared.$tooltip?e.$tooltip=e.shared.$tooltip:(e.shared.$tooltip=t(e.doc.createElement("DIV")).addClass("fr-tooltip"),e.$tooltip=e.shared.$tooltip,e.opts.theme&&e.$tooltip.addClass("".concat(e.opts.theme,"-theme")),t(e.o_doc).find("body").first().append(e.$tooltip)),e.events.on("shared.destroy",function(){e.$tooltip.html("").removeData().remove(),e.$tooltip=null},!0)),n.removeAttr("title"),e.$tooltip.text(e.language.translate(n.data("title"))),e.$tooltip.addClass("fr-visible");var r=n.offset().left+(n.outerWidth()-e.$tooltip.outerWidth())/2;r<0&&(r=0),r+e.$tooltip.outerWidth()>t(e.o_win).width()&&(r=t(e.o_win).width()-e.$tooltip.outerWidth()),void 0===a&&(a=e.opts.toolbarBottom),n.offset().top-t(window).scrollTop()+n.outerHeight()+10>=t(window).height()&&(a=!0);var o=a?n.offset().top-e.$tooltip.height():n.offset().top+n.outerHeight();e.$tooltip.css("position",""),e.$tooltip.css("left",r),e.$tooltip.css("top",Math.ceil(o)),"static"!==t(e.o_doc).find("body").first().css("position")?(e.$tooltip.css("margin-left",-t(e.o_doc).find("body").first().offset().left),e.$tooltip.css("margin-top",-t(e.o_doc).find("body").first().offset().top)):(e.$tooltip.css("margin-left",""),e.$tooltip.css("margin-top",""))}}return{hide:n,to:a,bind:function(r,o,i){e.opts.tooltips&&!e.helpers.isMobile()&&(e.events.$on(r,"mouseover",o,function(n){e.node.hasClass(n.currentTarget,"fr-disabled")||e.edit.isDisabled()||a(t(n.currentTarget),i)}
vendor: 6,568 bytes, line 1
1,!0),e.events.$on(r,"mouseout ".concat(e._mousedown," ").concat(e._mouseup),o,function(){n()},!0))}}},t.TOOLBAR_VISIBLE_BUTTONS=3,t.MODULES.button=function(e){var n=e.$,a=[];(e.opts.toolbarInline||e.opts.toolbarContainer)&&(e.shared.buttons||(e.shared.buttons=[]),a=e.shared.buttons);var r=[];function o(e,t,a){for(var r=n(),o=0;o<e.length;o++){var i=n(e[o]);if(i.is(t)&&(r=r.add(i)),a&&i.is(".fr-dropdown")){var s=i.next().find(t);r=r.add(s)}}return r}function i(t,i){var s,l=n();if(!t)return l;for(s in l=(l=l.add(o(a,t,i))).add(o(r,t,i)),e.shared.popups)if(Object.prototype.hasOwnProperty.call(e.shared.popups,s)){var c=e.shared.popups[s].children().find(t);l=l.add(c)}for(s in e.shared.modals)if(Object.prototype.hasOwnProperty.call(e.shared.modals,s)){var d=e.shared.modals[s].$modal.find(t);l=l.add(d)}return l}function s(e){e.addClass("fr-blink"),setTimeout(function(){e.removeClass("fr-blink")},500);for(var t=e.data("cmd"),n=[];void 0!==e.data("param".concat(n.length+1));)n.push(e.data("param".concat(n.length+1)));var a=i(".fr-dropdown.fr-active");a.length&&(a.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),a.prev(".fr-expanded").removeClass("fr-expanded"),a.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","")),e.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(t,n)}function l(a){var r=a.parents(".fr-popup, .fr-toolbar").data("instance");if(0===a.parents(".fr-popup").length&&a.data("popup")&&!a.hasClass("fr-btn-active-popup")&&a.addClass("fr-btn-active-popup"),0!==a.parents(".fr-popup").length||a.data("popup")||r.popups.hideAll(),r.popups.areVisible()&&!r.popups.areVisible(r)){for(var o=0;o<t.INSTANCES.length;o++)t.INSTANCES[o]!==r&&t.INSTANCES[o].popups&&t.INSTANCES[o].popups.areVisible()&&t.INSTANCES[o].$el.find(".fr-marker").remove();r.popups.hideAll()}e.node.hasClass(a.get(0),"fr-dropdown")?function(a){var r,o,s=a.next(),l=e.node.hasClass(a.get(0),"fr-active"),c=i(".fr-dropdown.fr-active").not(a),d=a.parents(".fr-toolbar, .fr-popup").data("instance")||e;d.helpers.isIOS()&&!d.el.querySelector(".fr-marker")&&(d.selection.save(),d.selection.clear(),d.selection.restore()),s.parents(".fr-more-toolbar").addClass("fr-overflow-visible");var f=0,p=0,u=s.find("> .fr-dropdown-wrapper");if(!l){var h=a.data("cmd");s.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),t.COMMANDS[h]&&t.COMMANDS[h].refreshOnShow&&t.COMMANDS[h].refreshOnShow.apply(d,[a,s]),s.css("left",a.offset().left-a.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-("rtl"===e.opts.direction?s.width()-a.outerWidth():0)),s.addClass("test-height"),f=s.outerHeight(),p=e.helpers.getPX(u.css("max-height")),s.removeClass("test-height"),s.css("top","").css("bottom","");var g=a.outerHeight()/10;if(!e.opts.toolbarBottom&&s.offset().top+a.outerHeight()+f<n(e.o_doc).height())s.css("top",a.position().top+a.outerHeight()-g);else{var m=0,v=a.parents(".fr-more-toolbar");0<v.length&&(m=v.first().height()),s.css("bottom",a.parents(".fr-popup, .fr-toolbar").first().height()-m-a.position().top)}}a.addClass("fr-blink").toggleClass("fr-active"),a.hasClass("fr-options")&&a.prev().toggleClass("fr-expanded"),a.hasClass("fr-active")?(s.attr("aria-hidden",!1),a.attr("aria-expanded",!0),r=f,(o=p)<=r&&u.parent().css("overflow","auto"),u.css("height",Math.min(r,o))):(s.attr("aria-hidden",!0).css("overflow",""),a.attr("aria-expanded",!1),u.css("height","")),setTimeout(function(){a.removeClass("fr-blink")},300),s.css("margin-left",""),s.offset().left+s.outerWidth()>e.$sc.offset().left+e.$sc.width()&&s.css("margin-left",-(s.offset().left+s.outerWidth()-e.$sc.offset().left-e.$sc.width())),s.offset().left<e.$sc.offset().left&&"rtl"===e.opts.direction&&s.css("margin-left",e.$sc.offset().left),c.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),c.prev(".fr-expanded").removeClass("fr-expanded"),c.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),0!==a.parents(".fr-popup").length||e.opts.toolbarInline||(e.node.hasClass(a.get(0),"fr-active")?e.$tb.css("zIndex",(e.opts.zIndex||1)+4):e.$tb.css("zIndex",""));var b=s.find("a.fr-command.fr-active").first();e.helpers.isMobile()||(b.length?(e.accessibility.focusToolbarElement(b),u.scrollTop(Math.abs(b.parents(".fr-dropdown-content").offset().top-b.offset().top)-b.offset().top)):(e.accessibility.focusToolbarElement(a),u.scrollTop(0)))}(a):(s(a),t.COMMANDS[a.data("cmd")]&&!1!==t.COMMANDS[a.data("cmd")].refreshAfterCallback&&r.button.bulkRefresh())}function c(e){l(n(e.currentTarget))}function d(e){var t=e.find(".fr-dropdown.fr-active");t.length&&(t.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),t.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),t.prev().removeClass("fr-expanded"))}function f(e){e.preventDefault(),e.stopPropagation()}function p(t){if(t.stopPropagation(),!e.helpers.isMobile())return!1}function u(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length?arguments[2]:void 0;if(e.helpers.isMobile()&&!1===n.showOnMobile)return"";var r=n.displaySelection;"function"==typeof r&&(r=r(e));var o="";if("options"!==n.type)if(r){var i="function"==typeof n.defaultSelection?n.defaultSelection(e):n.defaultSelection;o='<span style="width:'.concat(n.displaySelectionWidth||100,'px">').concat(e.language.translate(i||n.title),"</span>")}else o=e.icon.create(n.icon||t)+'<span class="fr-sr-only">'.concat(e.language.translate(n.title)||"","</span>");var s=n.popup?' data-popup="true"':"",l=n.modal?' data-modal="true"':"",c=e.shortcuts.get("".concat(t,"."));c=c?" (".concat(c,")"):"";var d="".concat(t,"-").concat(e.id),f="dropdown-menu-".concat(d),p='<button id="'.concat(d,'"').concat(n.more_btn?' data-group-name="'.concat(d,'" '):"",'type="button" tabIndex="-1" role="button"').concat(n.toggle?' aria-pressed="false"':"").concat("dropdown"===n.type||"options"===n.type?' aria-controls="'.concat(f,'" aria-expanded="false" aria-haspopup="true"'):"").concat(n.disabled?' aria-disabled="true"':"",' title="').concat(e.language.translate(n.title)||"").concat(c,'" class="fr-command fr-btn').concat("dropdown"===n.type||"options"==n.type?" fr-dropdown":"").concat("options"==n.type?" fr-options":"").concat("more"==n.type?" fr-more":"").concat(n.displaySelection?" fr-selection":"").concat(n.back?" fr-back":"").concat(n.disabled?" fr-
1disabled":"").concat(a?"":" fr-hidden",'" data-cmd="').concat(t,'"').concat(s).concat(l,">").concat(o,"</button>");if("dropdown"===n.type||"options"===n.type){var h='<div id="'.concat(f,'" class="fr-dropdown-menu" role="listbox" aria-labelledby="').concat(d,'" aria-hidden="true"><div class="fr-dropdown-wrapper" role="presentation"><div class="fr-dropdown-content" role="presentation">');h+=function(t,n){var a="";if(n.html)"function"==typeof n.html?a+=n.html.call(e):a+=n.html;else{var r=n.options;for(var o in"function"==typeof r&&(r=r()),a+='<ul class="fr-dropdown-list" role="presentation">',r)if(Object.prototype.hasOwnProperty.call(r,o)){var i=e.shortcuts.get("".concat(t,".").concat(o));i=i?'<span class="fr-shortcut">'.concat(i,"</span>"):"",a+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="'.concat("options"===n.type?t.replace(/Options/g,""):t,'" data-param1="').concat(o,'" title="').concat(r[o],'">').concat(e.language.translate(r[o]),"</a></li>")}a+="</ul>"}return a}(t,n),p+=h+="</div></div></div>"}return n.hasOptions&&n.hasOptions.apply(e)&&(p='<div class="fr-btn-wrap">'.concat(p," ").concat(u(t+"Options",Object.assign({},n,{type:"options",hasOptions:!1}),a),"  </div>")),p}function h(a){var r=e.$tb&&e.$tb.data("instance")||e;if(!1===e.events.trigger("buttons.refresh"))return!0;setTimeout(function(){for(var o=r.selection.inEditor()&&r.core.hasFocus(),i=0;i<a.length;i++){var s=n(a[i]),l=s.data("cmd");0===s.parents(".fr-popup").length?o||t.COMMANDS[l]&&t.COMMANDS[l].forcedRefresh?r.button.refresh(s):e.node.hasClass(s.get(0),"fr-dropdown")||(s.removeClass("fr-active"),s.attr("aria-pressed")&&s.attr("aria-pressed",!1)):s.parents(".fr-popup").isVisible()&&r.button.refresh(s)}},0)}function g(){h(a),h(r)}function m(){a=[],r=[]}e.shared.popup_buttons||(e.shared.popup_buttons=[]),r=e.shared.popup_buttons;var v=null;function b(){clearTimeout(v),v=setTimeout(g,50)}return{_init:function(){e.opts.toolbarInline?e.events.on("toolbar.show",g):(e.events.on("mouseup",b),e.events.on("keyup",b),e.events.on("blur",b),e.events.on("focus",b),e.events.on("contentChanged",b),e.helpers.isMobile()&&e.events.$on(e.$doc,"selectionchange",g)),e.events.on("shared.destroy",m)},build:u,buildList:function(n,a){for(var r="",o=0;o<n.length;o++){var i=n[o],s=t.COMMANDS[i];s&&void 0!==s.plugin&&0>e.opts.pluginsEnabled.indexOf(s.plugin)||(s?r+=u(i,s,void 0===a||0<=a.indexOf(i)):"|"===i?r+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':"-"===i&&(r+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>'))}return r},buildGroup:function(n){var a="",r="";for(var o in n){var i=n[o];if(i.buttons){for(var s="",l="",c=0,d="left",f=t.TOOLBAR_VISIBLE_BUTTONS,p=0;p<i.buttons.length;p++){var h=i.buttons[p],g=t.COMMANDS[h];g||("|"==h?s+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':"-"==h&&(s+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>')),!g||g&&void 0!==g.plugin&&0>e.opts.pluginsEnabled.indexOf(g.plugin)||(void 0!==n[o].align&&(d=n[o].align),void 0!==n[o].buttonsVisible&&(f=n[o].buttonsVisible),n.showMoreButtons&&f<=c?l+=u(h,g,!0):s+=u(h,g,!0),c++)}if(n.showMoreButtons&&f<c){var m=t.COMMANDS[o];m.more_btn=!0,s+=u(o,m,!0)}a+='<div class="fr-btn-grp fr-float-'.concat(d,'">').concat(s,"</div>"),n.showMoreButtons&&0<l.length&&(r+='<div class="fr-more-toolbar" data-name="'.concat(o+"-"+e.id,'">').concat(l,"</div>"))}}return e.opts.toolbarBottom?"".concat(r,'<div class="fr-newline"></div>').concat(a):"".concat(a,'<div class="fr-newline"></div>').concat(r)},bindCommands:function(o,i){e.events.bindClick(o,".fr-command:not(.fr-disabled)",c),e.events.$on(o,"".concat(e._mousedown," ").concat(e._mouseup," ").concat(e._move),".fr-dropdown-menu",f,!0),e.events.$on(o,"".concat(e._mousedown," ").concat(e._mouseup," ").concat(e._move),".fr-dropdown-menu .fr-dropdown-wrapper",p,!0);var s=o.get(0).ownerDocument,l="defaultView"in s?s.defaultView:s.parentWindow;function u(a){(!a||a.type===e._mouseup&&a.target!==n("html").get(0)||"keydown"===a.type&&(e.keys.isCharacter(a.which)&&!e.keys.ctrlKey(a)||a.which===t.KEYCODE.ESC))&&d(o)}
vendor: 5,633 bytes, line 1
1e.events.$on(n(l),"".concat(e._mouseup," resize keydown"),u,!0),e.opts.iframe&&e.events.$on(e.$win,e._mouseup,u,!0),e.node.hasClass(o.get(0),"fr-popup")?n.merge(r,o.find(".fr-btn").toArray()):n.merge(a,o.find(".fr-btn").toArray()),e.tooltip.bind(o,".fr-btn, .fr-title",i)},refresh:function(n){var a,r=n.parents(".fr-popup, .fr-toolbar").data("instance")||e,o=n.data("cmd");e.node.hasClass(n.get(0),"fr-dropdown")?a=n.next():(n.removeClass("fr-active"),n.attr("aria-pressed")&&n.attr("aria-pressed",!1)),t.COMMANDS[o]&&t.COMMANDS[o].refresh?t.COMMANDS[o].refresh.apply(r,[n,a]):e.refresh[o]&&r.refresh[o](n,a)},bulkRefresh:g,exec:s,click:l,hideActiveDropdowns:d,addButtons:function(e){for(var t=0;t<e.length;t++)a.push(e)},getButtons:i,getPosition:function(t){var n=t.offset().left,a=e.opts.toolbarBottom?10:t.outerHeight()-10;return{left:n,top:t.offset().top+a}}}},t.ICON_TEMPLATES={font_awesome:'<i class="fa fa-[NAME]" aria-hidden="true"></i>',font_awesome_5:'<i class="fas fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5r:'<i class="far fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5l:'<i class="fal fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5b:'<i class="fab fa-[FA5NAME]" aria-hidden="true"></i>',text:'<span style="text-align: center;">[NAME]</span>',image:"<img src=[SRC] alt=[ALT] />",svg:'<svg class="fr-svg" focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="[PATH]"/></svg>',empty:" "},t.ICONS={bold:{NAME:"bold",SVG_KEY:"bold"},italic:{NAME:"italic",SVG_KEY:"italic"},underline:{NAME:"underline",SVG_KEY:"underline"},strikeThrough:{NAME:"strikethrough",SVG_KEY:"strikeThrough"},subscript:{NAME:"subscript",SVG_KEY:"subscript"},superscript:{NAME:"superscript",SVG_KEY:"superscript"},cancel:{NAME:"cancel",SVG_KEY:"cancel"},color:{NAME:"tint",SVG_KEY:"textColor"},outdent:{NAME:"outdent",SVG_KEY:"outdent"},indent:{NAME:"indent",SVG_KEY:"indent"},undo:{NAME:"rotate-left",FA5NAME:"undo",SVG_KEY:"undo"},redo:{NAME:"rotate-right",FA5NAME:"redo",SVG_KEY:"redo"},insert:{NAME:"insert",SVG_KEY:"insert"},insertAll:{NAME:"insertAll",SVG_KEY:"insertAll"},insertHR:{NAME:"minus",SVG_KEY:"horizontalLine"},clearFormatting:{NAME:"eraser",SVG_KEY:"clearFormatting"},selectAll:{NAME:"mouse-pointer",SVG_KEY:"selectAll"},minimize:{NAME:"minimize",SVG_KEY:"minimize"},moreText:{NAME:"ellipsis-v",SVG_KEY:"textMore"},moreParagraph:{NAME:"ellipsis-v",SVG_KEY:"paragraphMore"},moreRich:{NAME:"ellipsis-v",SVG_KEY:"insertMore"},moreMisc:{NAME:"ellipsis-v",SVG_KEY:"more"}},t.DefineIconTemplate=function(e,n){t.ICON_TEMPLATES[e]=n},t.DefineIcon=function(e,n){t.ICONS[e]=n},Object.assign(t.DEFAULTS,{iconsTemplate:"svg"}),t.MODULES.icon=function(e){return{create:function(n){var a=null,r=t.ICONS[n];if(void 0!==r){var o=r.template||t.ICON_DEFAULT_TEMPLATE||e.opts.iconsTemplate;o&&o.apply&&(o=o.apply(e)),r.FA5NAME||(r.FA5NAME=r.NAME),"svg"!==o||r.PATH||(r.PATH=t.SVG[r.SVG_KEY]||""),o&&(o=t.ICON_TEMPLATES[o])&&(a=o.replace(/\[([a-zA-Z0-9]*)\]/g,function(e,t){return"NAME"===t?r[t]||n:r[t]}))}return a||n},getTemplate:function(n){var a=t.ICONS[n],r=e.opts.iconsTemplate;return void 0!==a?r=a.template||t.ICON_DEFAULT_TEMPLATE||e.opts.iconsTemplate:r},getFileIcon:function(e){var n=t.FILEICONS[e];return void 0!==n?n:e}}},t.SVG={add:"M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6V13z",advancedImageEditor:"M3,17v2h6v-2H3z M3,5v2h10V5H3z M13,21v-2h8v-2h-8v-2h-2v6H13z M7,9v2H3v2h4v2h2V9H7z M21,13v-2H11v2H21z M15,9h2V7h4V5h-4  V3h-2V9z",alignCenter:"M9,18h6v-2H9V18z M6,11v2h12v-2H6z M3,6v2h18V6H3z",alignJustify:"M3,18h18v-2H3V18z M3,11v2h18v-2H3z M3,6v2h18V6H3z",alignLeft:"M3,18h6v-2H3V18z M3,11v2h12v-2H3z M3,6v2h18V6H3z",alignRight:"M15,18h6v-2h-6V18z M9,11v2h12v-2H9z M3,6v2h18V6H3z",anchors:"M16,4h-4H8C6.9,4,6,4.9,6,6v4v10l6-2.6l6,2.6V10V6C18,4.9,17.1,4,16,4z M16,17l-4-1.8L8,17v-7V6h4h4v4V17z",autoplay:"M 7.570312 0.292969 C 7.542969 0.292969 7.515625 0.292969 7.488281 0.296875 C 7.203125 0.324219 6.984375 0.539062 6.980469 0.792969 L 6.925781 3.535156 C 2.796875 3.808594 -0.0078125 6.425781 -0.0859375 10.09375 C -0.121094 11.96875 0.710938 13.6875 2.265625 14.921875 C 3.769531 16.117188 5.839844 16.796875 8.097656 16.828125 C 8.140625 16.828125 12.835938 16.898438 13.035156 16.886719 C 15.171875 16.796875 17.136719 16.128906 18.558594 15.003906 C 20.066406 13.816406 20.882812 12.226562 20.917969 10.40625 C 20.960938 8.410156 20.023438 6.605469 18.289062 5.335938 C 18.214844 5.277344 18.128906 5.230469 18.035156 5.203125 C 17.636719 5.074219 17.222656 5.199219 17 5.476562 L 15.546875 7.308594 C 15.304688 7.609375 15.363281 8.007812 15.664062 8.265625 C 16.351562 8.851562 16.707031 9.625 16.6875 10.5 C 16.652344 12.25 15.070312 13.390625 12.757812 13.535156 C 12.59375 13.539062 8.527344 13.472656 8.164062 13.464844 C 5.703125 13.429688 4.101562 12.191406 4.140625 10.3125 C 4.175781 8.570312 5.132812 7.46875 6.847656 7.199219 L 6.796875 9.738281 C 6.792969 9.992188 7 10.214844 7.285156 10.253906 C 7.3125 10.257812 7.339844 10.257812 7.367188 10.257812 C 7.503906 10.261719 7.632812 10.222656 7.738281 10.148438 L 14.039062 5.785156 C 14.171875 5.691406 14.253906 5.558594 14.253906 5.410156 C 14.257812 5.261719 14.1875 5.125 14.058594 5.027344 L 7.941406 0.414062 C 7.835938 0.335938 7.707031 0.292969 7.570312 0.292969 ",back:"M20 11L7.83 11 11.425 7.405 10.01 5.991 5.416 10.586 5.414 10.584 4 11.998 4.002 12 4 12.002 5.414 13.416 5.416 13.414 10.01 18.009 11.425 16.595 7.83 13 20 13 20 13 20 11 20 11Z",backgroundColor:"M9.91752,12.24082l7.74791-5.39017,1.17942,1.29591-6.094,7.20747L9.91752,12.24082M7.58741,12.652l4.53533,4.98327a.93412.93412,0,0,0,1.39531-.0909L2
10.96943,8.7314A.90827.90827,0,0,0,20.99075,7.533l-2.513-2.76116a.90827.90827,0,0,0-1.19509-.09132L7.809,11.27135A.93412.93412,0,0,0,7.58741,12.652ZM2.7939,18.52772,8.41126,19.5l1.47913-1.34617-3.02889-3.328Z",blockquote:"M10.31788,5l.93817,1.3226A12.88271,12.88271,0,0,0,8.1653,9.40125a5.54242,5.54242,0,0,0-.998,3.07866v.33733q.36089-.04773.66067-.084a4.75723,4.75723,0,0,1,.56519-.03691,2.87044,2.87044,0,0,1,2.11693.8427,2.8416,2.8416,0,0,1,.8427,2.09274,3.37183,3.37183,0,0,1-.8898,2.453A3.143,3.143,0,0,1,8.10547,19,3.40532,3.40532,0,0,1,5.375,17.7245,4.91156,4.91156,0,0,1,4.30442,14.453,9.3672,9.3672,0,0,1,5.82051,9.32933,14.75716,14.75716,0,0,1,10.31788,5Zm8.39243,0,.9369,1.3226a12.88289,12.88289,0,0,0-3.09075,3.07865,5.54241,5.54241,0,0,0-.998,3.07866v.33733q.33606-.04773.63775-.084a4.91773,4.91773,0,0,1,.58938-.03691,2.8043,2.8043,0,0,1,2.1042.83,2.89952,2.89952,0,0,1,.80578,2.10547,3.42336,3.42336,0,0,1-.86561,2.453A3.06291,3.06291,0,0,1,16.49664,19,3.47924,3.47924,0,0,1,13.742,17.7245,4.846,4.846,0,0,1,12.64721,14.453,9.25867,9.25867,0,0,1,14.17476,9.3898,15.26076,15.26076,0,0,1,18.71031,5Z",bold:"M15.25,11.8h0A3.68,3.68,0,0,0,17,9a3.93,3.93,0,0,0-3.86-4H6.65V19h7a3.74,3.74,0,0,0,3.7-3.78V15.1A3.64,3.64,0,0,0,15.25,11.8ZM8.65,7h4.2a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61,2.23,2.23,0,0,1-.63.09H8.65Zm4.6,10H8.65V13h4.6a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61A2.23,2.23,0,0,1,13.25,17Z",cancel:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",cellBackgroun
1d:"M16.6,12.4L7.6,3.5L6.2,4.9l2.4,2.4l-5.2,5.2c-0.6,0.6-0.6,1.5,0,2.1l5.5,5.5c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4  l5.5-5.5C17.2,14,17.2,13,16.6,12.4z M5.2,13.5L10,8.7l4.8,4.8H5.2z M19,15c0,0-2,2.2-2,3.5c0,1.1,0.9,2,2,2s2-0.9,2-2  C21,17.2,19,15,19,15z",cellBorderColor:"M22,22H2v2h20V22z",cellOptions:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M9.5,6.5h5V9h-5V6.5z M8,17.5H4  c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z   M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4  c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0V9z",cellStyle:"M20,19.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L12.3,17h3.8l1.7-3.5l1.4,3.5H23L20,19.9z M20,5H4C2.9,5,2,5.9,2,7v10  c0,1.1,0.9,2,2,2h7.5l-0.6-0.6L10,17.5H9.5V15h5.4l1.1-2.3v-2.2h4.5v3H20l0.6,1.5H22V7C22,5.9,21.1,5,20,5z M3.5,7  c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0.1,0h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M4,17.5c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0-0.1v-2H8v2.5H4  z M14.5,9h-5V6.5h5V9z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0.1V9z",clearFormatting:"M11.48,10.09l-1.2-1.21L8.8,7.41,6.43,5,5.37,6.1,8.25,9,4.66,19h2l1.43-4h5.14l1.43,4h2l-.89-2.51L18.27,19l1.07-1.06L14.59,13.2ZM8.8,13l.92-2.56L12.27,13Zm.56-7.15L9.66,5h2l1.75,4.9Z",close:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",codeView:"M9.4,16.6,4.8,12,9.4,7.4,8,6,2,12l6,6Zm5.2,0L19.2,12,14.6,7.4,16,6l6,6-6,6Z",cogs:"M18.877 12.907a6.459 6.459 0 0 0 0 -1.814l1.952 -1.526a0.468 0.468 0 0 0 0.111 -0.593l-1.851 -3.2a0.461 0.461 0 0 0 -0.407 -0.231 0.421 0.421 0 0 0 -0.157 0.028l-2.3 0.925a6.755 6.755 0 0 0 -1.563 -0.907l-0.352 -2.452a0.451 0.451 0 0 0 -0.453 -0.388h-3.7a0.451 0.451 0 0 0 -0.454 0.388L9.347 5.588A7.077 7.077 0 0 0 7.783 6.5l-2.3 -0.925a0.508 0.508 0 0 0 -0.166 -0.028 0.457 0.457 0 0 0 -0.4 0.231l-1.851 3.2a0.457 0.457 0 0 0 0.111 0.593l1.952 1.526A7.348 7.348 0 0 0 5.063 12a7.348 7.348 0 0 0 0.064 0.907L3.175 14.433a0.468 0.468 0 0 0 -0.111 0.593l1.851 3.2a0.461 0.461 0 0 0 0.407 0.231 0.421 0.421 0 0 0 0.157 -0.028l2.3 -0.925a6.74 6.74 0 0 0 1.564 0.907L9.7 20.864a0.451 0.451 0 0 0 0.454 0.388h3.7a0.451 0.451 0 0 0 0.453 -0.388l0.352 -2.452a7.093 7.093 0 0 0 1.563 -0.907l2.3 0.925a0.513 0.513 0 0 0 0.167 0.028 0.457 0.457 0 0 0 0.4 -0.231l1.851 -3.2a0.468 0.468 0 0 0 -0.111 -0.593Zm-0.09 2.029l-0.854 1.476 -2.117 -0.852 -0.673 0.508a5.426 5.426 0 0 1 -1.164 0.679l-0.795 0.323 -0.33 2.269h-1.7l-0.32 -2.269 -0.793 -0.322a5.3 5.3 0 0 1 -1.147 -0.662L8.2 15.56l-2.133 0.86 -0.854 -1.475 1.806 -1.411 -0.1 -0.847c-0.028 -0.292 -0.046 -0.5 -0.046 -0.687s0.018 -0.4 0.045 -0.672l0.106 -0.854L5.217 9.064l0.854 -1.475 2.117 0.851 0.673 -0.508a5.426 5.426 0 0 1 1.164 -0.679l0.8 -0.323 0.331 -2.269h1.7l0.321 2.269 0.792 0.322a5.3 5.3 0 0 1 1.148 0.661l0.684 0.526 2.133 -0.859 0.853 1.473 -1.8 1.421 0.1 0.847a5 5 0 0 1 0.046 0.679c0 0.193 -0.018 0.4 -0.045 0.672l-0.106 0.853ZM12 14.544A2.544 2.544 0 1 1 14.546 12 2.552 2.552 0 0 1 12 14.544Z",columns:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4  c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M20.5,17  c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0  V9z",edit:"M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0  c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z",exitFullscreen:"M5,16H8v3h2V14H5ZM8,8H5v2h5V5H8Zm6,11h2V16h3V14H14ZM16,8V5H14v5h5V8Z",fileInsert:"M 8.09375 12.75 L 5.90625 12.75 C 5.542969 12.75 5.25 12.394531 5.25 11.953125 L 5.25 6.375 L 2.851562 6.375 C 2.367188 6.375 2.121094 5.660156 2.464844 5.242188 L 6.625 0.1875 C 6.832031 -0.0585938 7.167969 -0.0585938 7.371094 0.1875 L 11.535156 5.242188 C 11.878906 5.660156 11.632812 6.375 11.148438 6.375 L 8.75 6.375 L 8.75 11.953125 C 8.75 12.394531 8.457031 12.75 8.09375 12.75 Z M 14 12.484375 L 14 16.203125 C 14 16.644531 13.707031 17 13.34375 17 L 0.65625 17 C 0.292969 17 0 16.644531 0 16.203125 L 0 12.484375 C 0 12.042969 0.292969 11.6875 0.65625 11.6875 L 4.375 11.6875 L 4.375 11.953125 C 4.375 12.980469 5.0625 13.8125 5.90625 13.8125 L 8.09375 13.8125 C 8.9375 13.8125 9.625 12.980469 9.625 11.953125 L 9.625 11.6875 L 13.34375 11.6875 C 13.707031 11.6875 14 12.042969 14 12.484375 Z M 10.609375 15.40625 C 10.609375 15.039062 10.363281 14.742188 10.0625 14.742188 C 9.761719 14.742188 9.515625 15.039062 9.515625 15.40625 C 9.515625 15.773438 9.761719 16.070312 10.0625 16.070312 C 10.363281 16.070312 10.609375 15.773438 10.609375 15.40625 Z M 12.359375 15.40625 C 12.359375 15.039062 12.113281 14.742188 11.8125 14.742188 C 11.511719 14.742188 11.265625 15.039062 11.265625 15.40625 C 11.265625 15.773438 11.511719 16.070312 11.8125 16.070312 C 12.113281 16.070312 12.359375 15.773438 12.359375 15.40625 Z M 12.359375 15.40625 ",fileManager:"M 0 5.625 L 20.996094 5.625 L 21 15.75 C 21 16.371094 20.410156 16.875 19.6875 16.875 L 1.3125 16.875 C 0.585938 16.875 0 16.371094 0 15.75 Z M 0 5.625 M 21 4.5 L 0 4.5 L 0 2.25 C 0 1.628906 0.585938 1.125 1.3125 1.125 L 6.921875 1.125 C 7.480469 1.125 8.015625 1.316406 8.40625 1.652344 L 9.800781 2.847656 C 10.195312 3.183594 10.730469 3.375 11.289062 3.375 L 19.6875 3.375 C 20.414062 3.375 21 3.878906 21 4.5 Z M 21 4.5
vendor: 18,312 bytes, line 1
1",fontAwesome:"M18.99018,13.98212V7.52679c-.08038-1.21875-1.33929-.683-1.33929-.683-2.933,1.39282-4.36274.61938-5.85938.15625a6.23272,6.23272,0,0,0-2.79376-.20062l-.00946.004A1.98777,1.98777,0,0,0,7.62189,5.106a.984.984,0,0,0-.17517-.05432c-.02447-.0055-.04882-.01032-.0736-.0149A.9565.9565,0,0,0,7.1908,5H6.82539a.9565.9565,0,0,0-.18232.0368c-.02472.00458-.04907.0094-.07348.01484a.985.985,0,0,0-.17523.05438,1.98585,1.98585,0,0,0-.573,3.49585v9.394A1.004,1.004,0,0,0,6.82539,19H7.1908a1.00406,1.00406,0,0,0,1.00409-1.00409V15.52234c3.64221-1.09827,5.19709.64282,7.09888.57587a5.57291,5.57291,0,0,0,3.25446-1.05805A1.2458,1.2458,0,0,0,18.99018,13.98212Z",fontFamily:"M16,19h2L13,5H11L6,19H8l1.43-4h5.14Zm-5.86-6L12,7.8,13.86,13Z",fontSize:"M20.75,19h1.5l-3-10h-1.5l-3,10h1.5L17,16.5h3Zm-3.3-4,1.05-3.5L19.55,15Zm-5.7,4h2l-5-14h-2l-5,14h2l1.43-4h5.14ZM5.89,13,7.75,7.8,9.61,13Z",fullscreen:"M7,14H5v5h5V17H7ZM5,10H7V7h3V5H5Zm12,7H14v2h5V14H17ZM14,5V7h3v3h2V5Z",help:"M11,17h2v2h-2V17z M12,5C9.8,5,8,6.8,8,9h2c0-1.1,0.9-2,2-2s2,0.9,2,2c0,2-3,1.7-3,5v1h2v-1c0-2.2,3-2.5,3-5  C16,6.8,14.2,5,12,5z",horizontalLine:"M5,12h14 M19,11H5v2h14V11z",imageAltText:"M19,7h-6v12h-2V7H5V5h6h2h6V7z",imageCaption:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z   M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z M22,22H2v2h20V22z",imageClass:"M9.5,13.4l-2.9-2.9h3.8L12.2,7l1.4,3.5h3.8l-3,2.9l0.9,3.6L12,15.1L8.8,17L9.5,13.4z M22,6v12c0,1.1-0.9,2-2,2H4  c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,6H4v12h16V8.8V6z",imageDisplay:"M3,5h18v2H3V5z M13,9h8v2h-8V9z M13,13h8v2h-8V13z M3,17h18v2H3V17z M3,9h8v6H3V9z",imageManager:"M20,6h-7l-2-2H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M20,18H4V6h6.2l2,2H20V18z   M18,16l-3.8-5H14l-2.9,3.8L9,12.1L6,16H18z M10,9.5C10,8.7,9.3,8,8.5,8S7,8.7,7,9.5S7.7,11,8.5,11S10,10.3,10,9.5z",imageSize:"M16.9,4c-0.3,0-0.5,0.2-0.8,0.3L3.3,13c-0.9,0.6-1.1,1.9-0.5,2.8l2.2,3.3c0.4,0.7,1.2,1,2,0.8c0.3,0,0.5-0.2,0.8-0.3  L20.7,11c0.9-0.6,1.1-1.9,0.5-2.8l-2.2-3.3C18.5,4.2,17.7,3.9,16.9,4L16.9,4z M16.9,9.9L18.1,9l-2-2.9L17,5.6c0.1,0,0.1-0.1,0.2-0.1  c0.2,0,0.4,0,0.5,0.2L19.9,9c0.2,0.2,0.1,0.5-0.1,0.7L7,18.4c-0.1,0-0.1,0.1-0.2,0.1c-0.2,0-0.4,0-0.5-0.2L4.1,15  c-0.2-0.2-0.1-0.5,0.1-0.7L5,13.7l2,2.9l1.2-0.8l-2-2.9L7.5,12l1.1,1.7l1.2-0.8l-1.1-1.7l1.2-0.8l2,2.9l1.2-0.8l-2-2.9l1.2-0.8  l1.1,1.7l1.2-0.8l-1.1-1.7L14.9,7L16.9,9.9z",indent:"M3,9v6l3-3L3,9z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",inlineClass:"M9.9,13.313A1.2,1.2,0,0,1,9.968,13H6.277l1.86-5.2,1.841,5.148A1.291,1.291,0,0,1,11.212,12h.426l-2.5-7h-2l-5,14h2l1.43-4H9.9Zm2.651,6.727a2.884,2.884,0,0,1-.655-2.018v-2.71A1.309,1.309,0,0,1,13.208,14h3.113a3.039,3.039,0,0,1,2,1.092s1.728,1.818,2.964,2.928a1.383,1.383,0,0,1,.318,1.931,1.44,1.44,0,0,1-.19.215l-3.347,3.31a1.309,1.309,0,0,1-1.832.258h0a1.282,1.282,0,0,1-.258-.257l-1.71-1.728Zm2.48-3.96a.773.773,0,1,0,.008,0Z",inlineStyle:"M11.88,15h.7l.7-1.7-3-8.3h-2l-5,14h2l1.4-4Zm-4.4-2,1.9-5.2,1.9,5.2ZM15.4,21.545l3.246,1.949-.909-3.637L20.72,17H16.954l-1.429-3.506L13.837,17H10.071l2.857,2.857-.779,3.637Z",insert:"M13.889,11.611c-0.17,0.17-0.443,0.17-0.612,0l-3.189-3.187l-3.363,3.36c-0.171,0.171-0.441,0.171-0.612,0c-0.172-0.169-0.172-0.443,0-0.611l3.667-3.669c0.17-0.17,0.445-0.172,0.614,0l3.496,3.493C14.058,11.167,14.061,11.443,13.889,11.611 M18.25,10c0,4.558-3.693,8.25-8.25,8.25c-4.557,0-8.25-3.692-8.25-8.25c0-4.557,3.693-8.25,8.25-8.25C14.557,1.75,18.25,5.443,18.25,10 M17.383,10c0-4.07-3.312-7.382-7.383-7.382S2.618,5.93,2.618,10S5.93,17.381,10,17.381S17.383,14.07,17.383,10",insertEmbed:"M20.73889,15.45929a3.4768,3.4768,0,0,0-5.45965-.28662L9.5661,12.50861a3.49811,3.49811,0,0,0-.00873-1.01331l5.72174-2.66809a3.55783,3.55783,0,1,0-.84527-1.81262L8.70966,9.6839a3.50851,3.50851,0,1,0,.0111,4.63727l5.7132,2.66412a3.49763,3.49763,0,1,0,6.30493-1.526ZM18.00745,5.01056A1.49993,1.49993,0,1,1,16.39551,6.3894,1.49994,1.49994,0,0,1,18.00745,5.01056ZM5.99237,13.49536a1.49989,1.49989,0,1,1,1.61194-1.37878A1.49982,1.49982,0,0,1,5.99237,13.49536Zm11.78211,5.494a1.49993,1.49993,0,1,1,1.61193-1.37885A1.49987,1.49987,0,0,1,17.77448,18.98932Z",insertFile:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z",insertImage:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z   M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z",insertLink:"M11,17H7A5,5,0,0,1,7,7h4V9H7a3,3,0,0,0,0,6h4ZM17,7H13V9h4a3,3,0,0,1,0,6H13v2h4A5,5,0,0,0,17,7Zm-1,4H8v2h8Z",insertMore:"M16.5,13h-6v6h-2V13h-6V11h6V5h2v6h6Zm5,4.5A1.5,1.5,0,1,1,20,16,1.5,1.5,0,0,1,21.5,17.5Zm0-4A1.5,1.5,0,1,1,20,12,1.5,1.5,0,0,1,21.5,13.5Zm0-4A1.5,1.5,0,1,1,20,8,1.5,1.5,0,0,1,21.5,9.5Z",insertTable:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M9.5,13.5v-3  h5v3H9.5z M14.5,15v2.5h-5V15H14.5z M9.5,9V6.5h5V9H9.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M3.5,17  v-2H8v2.5H4C3.7,17.5,3.5,17.3,3.5,17z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M16,9V6.5h4  c0.3,0,0.5,0.2,0.5,0.5v2H16z",insertVideo:"M15,8v8H5V8H15m2,2.5V7a1,1,0,0,0-1-1H4A1,1,0,0,0,3,7V17a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V13.5l2.29,2.29A1,1,0,0,0,21,15.08V8.91a1,1,0,0,0-1.71-.71Z",upload:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",uploadFiles:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",italic:"M11.76,9h2l-2.2,10h-2Zm1.68-4a1,1,0,1,0,1,1,1,1,0,0,0-1-1Z",search:"M15.5 14h-0.79l-0.28 -0.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09 -0.59 4.23 -1.57l0.27 0.28v0.79l5 4.99L20.49 19l-4.99 -5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",lineHeight:"M6.25,7h2.5L5.25,3.5,1.75,7h2.5V17H1.75l3.5,3.5L8.75,17H6.25Zm4-2V7h12V5Zm0,14h12V17h-12Zm0-6h12V11h-12Z",linkStyles:"M19,17.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L11.3,15h3.8l1.7-3.5l1.4,3.5H22L19,17.9z M20,12c0,0.3-0.1,0.7-0.2,1h2.1  c0.1-0.3,0.1-0.6,0.1-1c0-2.8-2.2-5-5-5h-4v2h4C18.7,9,20,10.3,20,12z M14.8,11H8v2h3.3h2.5L14.8,11z M9.9,16.4L8.5,15H7  c-1.7,0-3-1.3-3-3s1.3-3,3-3h4V7H7c-2.8,0-5,2.2-5,5s2.2,5,5,5h3.5L9.9,16.4z",mention:"M12.4,5c-4.1,0-7.5,3.4-7.5,7.5S8.3,20,12.4,20h3.8v-1.5h-3.8c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6v1.1  c0,0.6-0.5,1.2-1.1,1.2s-1.1-0.6-1.1-1.2v-1.1c0-2.1-1.7-3.8-3.8-3.8s-3.7,1.7-3.7,3.8s1.7,3.8,3.8,3.8c1,0,2-0.4,2.7-1.1  c0.5,0.7,1.3,1.1,2.2,1.1c1.5,0,2.6-1.2,2.6-2.7v-1.1C19.9,8.4,16.6,5,12.4,5z M12.4,14.7c-1.2,0-2.3-1-2.3-2.2s1-2.3,2.3-2.3  s2.3,1,2.3,2.3S13.6,14.7,12.4,14.7z",minimize:"M5,12h14 M19,11H5v2h14V11z",more:"M13.5,17c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,16.2,13.5,17z M13.5,12c0,0.8-0.7,1.5-1.5,1.5 s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,11.2,13.5,12z M13.5,7c0,0.8-0.7,1.5-1.5,1.5S10.5,7.8,10.5,7s0.7-1.5,1.5-1.5 S13.5,6.2,13.5,7z",openLink:"M17,17H7V7h3V5H7C6,5,5,6,5,7v10c0,1,1,2,2,2h10c1,0,2-1,2-2v-3h-2V17z M14,5v2h1.6l-5.8,5.8l1.4,1.4L17,8.4V10h2V5H14z",orderedList:"M2.5,16h2v.5h-1v1h1V18h-2v1h3V15h-3Zm1-7h1V5h-2V6h1Zm-1,2H4.3L2.5,13.1V14h3V13H3.7l1.8-2.1V10h-3Zm5-5V8h14V6Zm0,12h14V16H7.5Zm0-5h14V11H7.5Z",outdent:"M3,12l3,3V9L3,12z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",pageBreaker:"M3,9v6l3-3L3,9z M21,9H8V4h2v3h9V4h2V9z M21,20h-2v-3h-9v3H8v-5h13V20z M11,13H8v-2h3V13z M16,13h-3v-2h3V13z M21,13h-3v-2  h3V13z",paragraphFormat:"M10.15,5A4.11,4.11,0,0,0,6.08,8.18,4,4,0,0,0,10,13v6h2V7h2V19h2V7h2V5ZM8,9a2,2,0,0,1,2-2v4A2,2,0,0,1,8,9Z",paragraphMore:"M7.682,5a4.11,4.11,0,0,0-4.07,3.18,4,4,0,0,0,3.11,4.725h0l.027.005a3.766,3.766,0,0,0,.82.09v6h2V7h2V19h2V7h2V5ZM5.532,9a2,2,0,0,1,2-2v4A2,2,0,0,1,5.532,9Zm14.94,8.491a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,17.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,13.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,9.491Z",paragraphStyle:"M4,9c0-1.1,0.9-2,2-2v4C4.9,11,4,10.1,4,9z M16.7,20.5l3.2,1.9L19,18.8l3-2.9h-3.7l-1.4-3.5L15.3,16h-3.8l2.9,2.9l-0.9,3.6  L16.7,20.5z M10,17.4V19h1.6L10,17.4z M6.1,5c-1.9,0-3.6,1.3-4,3.2c-0.5,2.1,0.8,4.2,2.9,4.7c0,0,0,0,0,0h0.2C5.5,13,5.8,13,6,13v6  h2V7h2v7h2V7h2V5H6.1z",pdfExport:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z M16.3,13.5  c-0.2-0.6-1.1-0.8-2.6-0.8c-0.1,0-0.1,0-0.2,0c-0.3-0.3-0.8-0.9-1-1.2c-0.2-0.2-0.3-0.3-0.4-0.6c0.2-0.7,0.2-1,0.3-1.5  c0.1-0.9,0-1.6-0.2-1.8c-0.4-0.2-0.7-0.2-0.9-0.2c-0.1,0-0.3,0.2-0.7,0.7c-0.2,0.7-0.1,1.8,0.6,2.8c-0.2,0.8-0.7,1.6-1,2.4  c-0.8,0.2-1.5,0.7-1.9,1.1c-0.7,0.7-0.9,1.1-0.7,1.6c0,0.3,0.2,0.6,0.7,0.6c0.3-0.1,0.3-0.2,0.7-0.3c0.6-0.3,1.2-1.7,1.7-2.4  c0.8-0.2,1.7-0.3,2-0.3c0.1,0,0.3,0,0.6,0c0.8,0.8,1.2,1.1,1.8,1.2c0.1,0,0.2,0,0.3,0c0.3,0,0.8-0.1,1-0.6  C16.4,14.1,16.4,13.9,16.3,13.5z M8.3,15.7c-0.1,0.1-0.2,0.1-0.2,0.1c0-0.1,0-0.3,0.6-0.8c0.2-0.2,0.6-0.3,0.9-0.7  C9,15,8.6,15.5,8.3,15.7z M11.3,9c0-0.1,0.1-0.2,0.1-0.2S11.6,9,11.5,10c0,0.1,0,0.3-0.1,0.7C11.3,10.1,11,9.5,11.3,9z M10.9,13.1  c0.2-0.6,0.6-1,0.7-1.5c0.1,0.1,0.1,0.1,0.2,0.2c0.1,0.2,0.3,0.7,0.7,0.9C12.2,12.8,11.6,13,10.9,13.1z M15.2,14.1  c-0.1,0-0.1,0-0.2,0c-0.2,0-0.7-0.2-1-0.7c1.1,0,1.6,0.2,1.6,0.6C15.5,14.1,15.4,14.1,15.2,14.1z",print:"M16.1,17c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1s-0.4,1-1,1C16.5,18,16.1,17.6,16.1,17z M22,15v4c0,1.1-0.9,2-2,2H4  c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2h1V5c0-1.1,0.9-2,2-2h7.4L19,7.6V13h1C21.1,13,22,13.9,22,15z M7,13h10V9h-4V5H7V13z M20,15H4  v4h16V15z",redo:"M13.6,9.4c1.7,0.3,3.2,0.9,4.6,2L21,8.5v7h-7l2.7-2.7C13,10.1,7.9,11,5.3,14.7c-0.2,0.3-0.4,0.5-0.5,0.8L3,14.6  C5.1,10.8,9.3,8.7,13.6,9.4z",removeTable:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",insertAll:"M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 ",remove:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",replaceImage:"M16,5v3H4v2h12v3l4-4L16,5z M8,19v-3h12v-2H8v-3l-4,4L8,19z",row:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M16,6.5h4  c0.3,0,0.5,0.2,0.5,0.5v2H16V6.5z M9.5,6.5h5V9h-5V6.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.5  v-2H8V17.5z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z",selectAll:"M5,7h2V5C5.9,5,5,5.9,5,7z M5,11h2V9H5V11z M9,19h2v-2H9V19z M5,11h2V9H5V11z M15,5h-2v2h2V5z M17,5v2h2C19,5.9,18.1,5,17,5  z M7,19v-2H5C5,18.1,5.9,19,7,19z M5,15h2v-2H5V15z M11,5H9v2h2V5z M13,19h2v-2h-2V19z M17,11h2V9h-2V11z M17,19c1.1,0,2-0.9,2-2h-2  V19z M17,11h2V9h-2V11z M17,15h2v-2h-2V15z M13,19h2v-2h-2V19z M13,7h2V5h-2V7z M9,15h6V9H9V15z M11,11h2v2h-2V11z",smile:"M11.991,3A9,9,0,1,0,21,12,8.99557,8.99557,0,0,0,11.991,3ZM12,19a7,7,0,1,1,7-7A6.99808,6.99808,0,0,1,12,19Zm3.105-5.2h1.503a4.94542,4.94542,0,0,1-9.216,0H8.895a3.57808,3.57808,0,0,0,6.21,0ZM7.5,9.75A1.35,1.35,0,1,1,8.85,11.1,1.35,1.35,0,0,1,7.5,9.75Zm6.3,0a1.35,1.35,0,1,1,1.35,1.35A1.35,1.35,0,0,1,13.8,9.75Z",spellcheck:"M19.1,13.6l-5.6,5.6l-2.7-2.7l-1.4,1.4l4.1,4.1l7-7L19.1,13.6z M10.8,13.7l2.7,2.7l0.8-0.8L10.5,5h-2l-5,14h2l1.4-4h2.6  L10.8,13.7z M9.5,7.8l1.9,5.2H7.6L9.5,7.8z",star:"M12.1,7.7l1,2.5l0.4,0.9h1h2.4l-2.1,2l-0.6,0.6l0.2,0.9l0.6,2.3l-2.2-1.3L12,15.2l-0.8,0.5L9,17l0.5-2.5l0.1-0.8L9,13.1  l-2-2h2.5h0.9l0.4-0.8L12.1,7.7 M12.2,4L9.5,9.6H3.4L8,14.2L6.9,20l5.1-3.1l5.3,3.1l-1.5-5.8l4.8-4.6h-6.1L12.2,4L12.2,4z",strikeThrough:"M3,12.20294H21v1.5H16.63422a3.59782,3.59782,0,0,1,.34942,1.5929,3.252,3.252,0,0,1-1.31427,2.6997A5.55082,5.55082,0,0,1,12.20251,19a6.4421,6.4421,0,0,1-2.62335-.539,4.46335,4.46335,0,0,1-1.89264-1.48816,3.668,3.668,0,0,1-.67016-2.15546V14.704h.28723v-.0011h.34149v.0011H9.02v.11334a2.18275,2.18275,0,0,0,.85413,1.83069,3.69,3.69,0,0,0,2.32836.67926,3.38778,3.38778,0,0,0,2.07666-.5462,1.73346,1.73346,0,0,0,.7013-1.46655,1.69749,1.69749,0,0,0-.647-1.43439,3.00525,3.00525,0,0,0-.27491-.17725H3ZM16.34473,7.05981A4.18163,4.18163,0,0,0,14.6236,5.5462,5.627,5.627,0,0,0,12.11072,5,5.16083,5.16083,0,0,0,8.74719,6.06213,3.36315,3.36315,0,0,0,7.44006,8.76855a3.22923,3.22923,0,0,0,.3216,1.42786h2.59668c-.08338-.05365-.18537-.10577-.25269-.16064a1.60652,1.60652,0,0,1-.65283-1.30036,1.79843,1.79843,0,0,1,.68842-1.5108,3.12971,3.12971,0,0,1,1.96948-.55243,3.04779,3.04779,0,0,1,2.106.6687,2.35066,2.35066,0,0,1,.736,1.83258v.11341h2.00317V9.17346A3.90013,3.90013,0,0,0,16.34473,7.05981Z",subscript:"M10.4,12l3.6,3.6L12.6,17L9,13.4L5.4,17L4,15.6L7.6,12L4,8.4L5.4,7L9,10.6L12.6,7L14,8.4L10.4,12z M18.31234,19.674  l1.06812-1.1465c0.196-0.20141,0.37093-0.40739,0.5368-0.6088c0.15975-0.19418,0.30419-0.40046,0.432-0.617  c0.11969-0.20017,0.21776-0.41249,0.29255-0.6334c0.07103-0.21492,0.10703-0.43986,0.10662-0.66621  c0.00297-0.28137-0.04904-0.56062-0.1531-0.82206c-0.09855-0.24575-0.25264-0.46534-0.45022-0.6416  c-0.20984-0.18355-0.45523-0.32191-0.72089-0.40646c-0.63808-0.19005-1.3198-0.17443-1.94851,0.04465  c-0.28703,0.10845-0.54746,0.2772-0.76372,0.49487c-0.20881,0.20858-0.37069,0.45932-0.47483,0.73548  c-0.10002,0.26648-0.15276,0.54838-0.15585,0.833l-0.00364,0.237H17.617l0.00638-0.22692  c0.00158-0.12667,0.01966-0.25258,0.05377-0.37458c0.03337-0.10708,0.08655-0.20693,0.15679-0.29437  c0.07105-0.08037,0.15959-0.14335,0.25882-0.1841c0.22459-0.08899,0.47371-0.09417,0.7018-0.01458  c0.0822,0.03608,0.15559,0.08957,0.21509,0.15679c0.06076,0.07174,0.10745,0.15429,0.13761,0.24333  c0.03567,0.10824,0.05412,0.22141,0.05469,0.33538c-0.00111,0.08959-0.0118,0.17881-0.0319,0.26612  c-0.02913,0.10428-0.07076,0.20465-0.124,0.29893c-0.07733,0.13621-0.1654,0.26603-0.26338,0.38823  c-0.13438,0.17465-0.27767,0.34226-0.42929,0.50217l-2.15634,2.35315V21H21v-1.326H18.31234z",superscript:"M10.4,12,14,15.6,12.6,17,9,13.4,5.4,17,4,15.6,7.6,12,4,8.4,5.4,7,9,10.6,12.6,7,14,8.4Zm8.91234-3.326,1.06812-1.1465c.196-.20141.37093-.40739.5368-.6088a4.85745,4.85745,0,0,0,.432-.617,3.29,3.29,0,0,0,.29255-.6334,2.11079,2.11079,0,0,0,.10662-.66621,2.16127,2.16127,0,0,0-.1531-.82206,1.7154,1.7154,0,0,0-.45022-.6416,2.03,2.03,0,0,0-.72089-.40646,3.17085,3.17085,0,0,0-1.94851.04465,2.14555,2.14555,0,0,0-.76372.49487,2.07379,2.07379,0,0,0-.47483.73548,2.446,2.446,0,0,0-.15585.833l-.00364.237H18.617L18.62338,5.25a1.45865,1.45865,0,0,1,.05377-.37458.89552.89552,0,0,1,.15679-.29437.70083.70083,0,0,1,.25882-.1841,1.00569,1.00569,0,0,1,.7018-.01458.62014.62014,0,0,1,.21509.15679.74752.74752,0,0,1,.13761.24333,1.08893,1.08893,0,0,1,.05469.33538,1.25556,1.25556,0,0,1-.0319.26612,1.34227,1.34227,0,0,1-.124.29893,2.94367,2.94367,0,0,1-.26338.38823,6.41629,6.41629,0,0,1-.42929.50217L17.19709,8.92642V10H22V8.674Z",symbols:"M15.77493,16.98885a8.21343,8.21343,0,0,0,1.96753-2.57651,7.34824,7.34824,0,0,0,.6034-3.07618A6.09092,6.09092,0,0,0,11.99515,5a6.13347,6.13347,0,0,0-4.585,1.79187,6.417,6.417,0,0,0-1.756,4.69207,6.93955,6.93955,0,0,0,.622,2.97415,8.06587,8.06587,0,0,0,1.949,2.53076H5.41452V19h5.54114v-.04331h-.00147V16.84107a5.82825,5.82825,0,0,1-2.2052-2.2352A6.40513,6.40513,0,0,1,7.97672,11.447,4.68548,4.68548,0,0,1,9.07785,8.19191a3.73232,3.73232,0,0,1,2.9173-1.22462,3.76839,3.76839,0,0,1,2.91241,1.21489,4.482,4.482,0,0,1,1.11572,3.154,6.71141,6.71141,0,0,1-.75384,3.24732,5.83562,5.83562,0,0,1-2.22357,2.25759v2.11562H13.0444V19h5.54108V16.98885Z",tags:"M8.9749 7.47489a1.5 1.5 0 1 1 -1.5 1.5A1.5 1.5 0 0 1 8.9749 7.47489Zm3.78866 -3.12713L16.5362 8.12041l0.33565 0.33564 2.77038 2.77038a2.01988 2.01988 0 0 1 0.59 1.42 1.95518 1.95518 0 0 1 -0.5854 1.40455l0.00044 0.00043 -5.59583 5.59583 -0.00043 -0.00044a1.95518 1.95518 0 0 1 -1.40455 0.5854 1.98762 1.98762 0 0 1 -1.41 -0.58L8.45605 16.87185l-0.33564 -0.33565L4.35777 12.77357a1.99576 1.99576 0 0 1 -0.59 -1.42V9.36358l0 -3.59582a2.00579 2.00579 0 0 1 2 -2l3.59582 0h1.98995A1.98762 1.98762 0 0 1 12.76356 4.34776ZM15.46186 9.866l-0.33564 -0.33564L11.36359 5.76776H5.76776v5.59583L9.866 15.46186l2.7794 2.7794 5.5878 -5.60385 -0.001 -0.001Z",tableHeader:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4  l0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M14.5,17.5h-5V15h5V17.5z M14.5,13.5h-5v-3h5V13.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5l0,0  H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9h-4.4H16h-1.5h-5H8H7.9H3.5V7c0-0.3,0.2-0.5,0.4-0.5l0,0h4l0,0h8.2l0,0H20  c0.3,0,0.5,0.2,0.5,0.4l0,0V9z",table
1Style:"M20.0171,19.89752l.9,3.6-3.2-1.9-3.3,1.9.8-3.6-2.9-2.9h3.8l1.7-3.5,1.4,3.5h3.8ZM20,5H4A2.00591,2.00591,0,0,0,2,7V17a2.00591,2.00591,0,0,0,2,2h7.49115l-.58826-.58826L9.99115,17.5H9.5V14.9975h5.36511L16,12.66089V10.5h4.5v3h-.52783l.599,1.4975H22V7A2.00591,2.00591,0,0,0,20,5ZM3.5,7A.4724.4724,0,0,1,4,6.5H8V9H3.5Zm0,3.5H8v3H3.5Zm.5,7a.4724.4724,0,0,1-.5-.5V15H8v2.5Zm10.5-4h-5v-3h5Zm0-4.5h-5V6.5h5Zm6,0H16V6.5h4a.4724.4724,0,0,1,.5.5Z",textColor:"M15.2,13.494s-3.6,3.9-3.6,6.3a3.65,3.65,0,0,0,7.3.1v-.1C18.9,17.394,15.2,13.494,15.2,13.494Zm-1.47-1.357.669-.724L12.1,5h-2l-5,14h2l1.43-4h2.943A24.426,24.426,0,0,1,13.726,12.137ZM11.1,7.8l1.86,5.2H9.244Z",textMore:"M13.55,19h2l-5-14h-2l-5,14h2l1.4-4h5.1Zm-5.9-6,1.9-5.2,1.9,5.2Zm12.8,4.5a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,17.5Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,13.5Zm0-4A1.5,1.5,0,1,1,18.95,8,1.5,1.5,0,0,1,20.45,9.5Z",underline:"M19,20v2H5V20Zm-3-6.785a4,4,0,0,1-5.74,3.4A3.75,3.75,0,0,1,8,13.085V5.005H6v8.21a6,6,0,0,0,8,5.44,5.851,5.851,0,0,0,4-5.65v-8H16ZM16,5v0h2V5ZM8,5H6v0H8Z",undo:"M10.4,9.4c-1.7,0.3-3.2,0.9-4.6,2L3,8.5v7h7l-2.7-2.7c3.7-2.6,8.8-1.8,11.5,1.9c0.2,0.3,0.4,0.5,0.5,0.8l1.8-0.9  C18.9,10.8,14.7,8.7,10.4,9.4z",unlink:"M14.4,11l1.6,1.6V11H14.4z M17,7h-4v1.9h4c1.7,0,3.1,1.4,3.1,3.1c0,1.3-0.8,2.4-1.9,2.8l1.4,1.4C21,15.4,22,13.8,22,12  C22,9.2,19.8,7,17,7z M2,4.3l3.1,3.1C3.3,8.1,2,9.9,2,12c0,2.8,2.2,5,5,5h4v-1.9H7c-1.7,0-3.1-1.4-3.1-3.1c0-1.6,1.2-2.9,2.8-3.1  L8.7,11H8v2h2.7l2.3,2.3V17h1.7l4,4l1.4-1.4L3.4,2.9L2,4.3z",unorderedList:"M4,10.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,10.5,4,10.5z M4,5.5C3.2,5.5,2.5,6.2,2.5,7  S3.2,8.5,4,8.5S5.5,7.8,5.5,7S4.8,5.5,4,5.5z M4,15.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,15.5,4,15.5z   M7.5,6v2h14V6H7.5z M7.5,18h14v-2h-14V18z M7.5,13h14v-2h-14V13z",verticalAlignBottom:"M16,13h-3V3h-2v10H8l4,4L16,13z M3,19v2h18v-2H3z",verticalAlignMiddle:"M3,11v2h18v-2H3z M8,18h3v3h2v-3h3l-4-4L8,18z M16,6h-3V3h-2v3H8l4,4L16,6z",verticalAlignTop:"M8,11h3v10h2V11h3l-4-4L8,11z M21,5V3H3v2H21z"},t
vendor: 100,814 bytes, line 1
1.FILEICONS={docIcon:{extension:".doc",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.617188 46.875 C 13.234375 46.875 16.160156 43.929688 16.160156 40.292969 C 16.160156 36.695312 13.234375 33.75 9.617188 33.75 L 7.402344 33.75 C 6.820312 33.75 6.371094 34.199219 6.371094 34.78125 L 6.371094 45.84375 C 6.371094 46.335938 6.714844 46.757812 7.191406 46.855469 L 7.402344 46.875 Z M 9.617188 44.792969 L 8.453125 44.792969 L 8.453125 35.832031 L 9.617188 35.832031 C 12.089844 35.832031 14.078125 37.835938 14.078125 40.292969 C 14.078125 42.789062 12.089844 44.773438 9.617188 44.792969 Z M 24.816406 46.875 C 26.539062 46.875 28.191406 46.085938 29.296875 44.867188 C 30.460938 43.648438 31.191406 41.980469 31.191406 40.125 C 31.191406 38.269531 30.460938 36.617188 29.296875 35.382812 C 28.191406 34.144531 26.539062 33.375 24.816406 33.375 C 23.015625 33.375 21.367188 34.144531 20.222656 35.382812 C 19.058594 36.617188 18.367188 38.269531 18.367188 40.125 C 18.367188 41.980469 19.058594 43.648438 20.222656 44.867188 C 21.367188 46.085938 23.015625 46.875 24.816406 46.875 Z M 24.816406 44.738281 C 23.617188 44.738281 22.566406 44.230469 21.777344 43.386719 C 20.992188 42.582031 20.503906 41.398438 20.503906 40.125 C 20.503906 38.851562 20.992188 37.667969 21.777344 36.84375 C 22.566406 36 23.617188 35.511719 24.816406 35.511719 C 25.941406 35.511719 26.992188 36 27.777344 36.84375 C 28.546875 37.667969 29.054688 38.851562 29.054688 40.125 C 29.054688 41.398438 28.546875 42.582031 27.777344 43.386719 C 26.992188 44.230469 25.941406 44.738281 24.816406 44.738281 Z M 39.996094 46.875 C 41.648438 46.875 43.148438 46.332031 44.328125 45.414062 C 44.777344 45.054688 44.851562 44.382812 44.515625 43.914062 C 44.140625 43.460938 43.445312 43.386719 43.015625 43.707031 C 42.171875 44.382812 41.160156 44.738281 39.996094 44.738281 C 38.703125 44.738281 37.503906 44.210938 36.621094 43.386719 C 35.777344 42.5625 35.253906 41.398438 35.253906 40.125 C 35.253906 38.851562 35.777344 37.726562 36.621094 36.863281 C 37.503906 36.039062 38.703125 35.511719 39.996094 35.511719 C 41.160156 35.511719 42.191406 35.867188 43.015625 36.542969 C 43.445312 36.882812 44.140625 36.804688 44.515625 36.335938 C 44.851562 35.867188 44.777344 35.210938 44.328125 34.835938 C 43.148438 33.917969 41.648438 33.375 39.996094 33.375 C 36.246094 33.394531 33.132812 36.414062 33.117188 40.125 C 33.132812 43.855469 36.246094 46.875 39.996094 46.875 Z M 39.996094 46.875 "/>\n      </g>'},gifIcon:{extension:".gif",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.394531 46.875 C 18.988281 46.875 20.46875 46.332031 21.648438 45.414062 C 21.835938 45.28125 21.949219 45.132812 22.003906 44.960938 L 22.003906 44.945312 C 22.023438 44.90625 22.023438 44.886719 22.042969 44.851562 C 22.0625 44.738281 22.097656 44.664062 22.097656 44.53125 L 22.097656 40.386719 C 22.097656 39.789062 21.613281 39.335938 21.011719 39.335938 L 17.28125 39.335938 C 16.699219 39.335938 16.210938 39.789062 16.210938 40.386719 C 16.210938 40.96875 16.699219 41.457031 17.28125 41.457031 L 19.960938 41.457031 L 19.960938 44.023438 C 19.210938 44.457031 18.332031 44.738281 17.394531 44.738281 C 16.042969 44.738281 14.863281 44.230469 14.019531 43.367188 C 13.136719 42.523438 12.613281 41.382812 12.613281 40.144531 C 12.613281 38.867188 13.136719 37.726562 14.019531 36.882812 C 14.863281 36.019531 16.042969 35.511719 17.394531 35.511719 C 18.519531 35.511719 19.550781 35.90625 20.355469 36.523438 C 20.824219 36.898438 21.519531 36.804688 21.875 36.355469 C 22.230469 35.886719 22.15625 35.195312 21.667969 34.835938 C 20.503906 33.917969 18.988281 33.375 17.394531 33.375 C 13.585938 33.375 10.472656 36.375 10.472656 40.144531 C 10.472656 43.894531 13.585938 46.875 17.394531 46.875 Z M 26.945312 46.875 C 27.507812 46.875 27.996094 46.425781 27.996094 45.84375 L 27.996094 34.78125 C 27.996094 34.199219 27.507812 33.75 26.945312 33.75 C 26.363281 33.75 25.914062 34.199219 25.914062 34.78125 L 25.914062 45.84375 C 25.914062 46.425781 26.363281 46.875 26.945312 46.875 Z M 33.066406 46.875 C 33.648438 46.875 34.117188 46.40625 34.117188 45.84375 L 34.117188 41.34375 L 38.488281 41.34375 C 39.050781 41.34375 39.519531 40.875 39.519531 40.292969 C 39.519531 39.75 39.050781 39.261719 38.488281 39.261719 L 34.117188 39.261719 L 34.117188 35.832031 L 39.199219 35.832031 C 39.742188 35.832031 40.230469 35.363281 40.230469 34.78125 C 40.230469 34.21875 39.742188 33.75 39.199219 33.75 L 33.066406 33.75 C 32.488281 33.75 32.035156 34.21875 32.035156 34.78125 L 32.035156 45.84375 C 32.035156 46.40625 32.488281 46.875 33.066406 46.875 Z M 33.066406 46.875 "/>\n      </g>'},jpegIcon:{extension:".jpeg",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9 43.75 C 11.140625 43.75 12.890625 42.015625 12.890625 39.875 L 12.890625 33.671875 C 12.890625 33.1875 12.5 32.8125 12.03125 32.8125 C 11.546875 32.8125 11.15625 33.1875 11.15625 33.671875 L 11.15625 39.875 C 11.15625 41.046875 10.1875 42.015625 9 42.015625 C 8.046875 42.015625 7.234375 41.390625 6.953125 40.53125 C 6.8125 40.078125 6.328125 39.828125 5.859375 39.984375 C 5.421875 40.109375 5.15625 40.59375 5.3125 41.0625 C 5.8125 42.625 7.28125 43.75 9 43.75 Z M 15.640625 43.75 C 16.125 43.75 16.515625 43.359375 16.515625 42.890625 L 16.515625 39.5 L 18.4375 39.5 C 20.296875 39.5 21.796875 38 21.796875 36.171875 C 21.796875 34.3125 20.296875 32.8125 18.4375 32.8125 L 15.640625 32.8125 C 15.171875 32.8125 14.78125 33.1875 14.78125 33.671875 L 14.78125 42.890625 C 14.78125 43.359375 15.171875 43.75 15.640625 43.75 Z M 18.4375 37.765625 L 16.515625 37.765625 L 16.515625 34.546875 L 18.4375 34.546875 C 19.34375 34.546875 20.046875 35.265625 20.0625 36.171875 C 20.046875 37.046875 19.34375 37.765625 18.4375 37.765625 Z M 29.234375 43.75 C 29.6875 43.75 30.09375 43.359375 30.09375 42.890625 C 30.09375 42.40625 29.6875 42.015625 29.234375 42.015625 L 25 42.015625 L 25 39.140625 L 28.640625 39.140625 C 29.109375 39.140625 29.5 38.75 29.5 38.265625 C 29.5 37.8125 29.109375 37.40625 28.640625 37.40625 L 25 37.40625 L 25 34.546875 L 29.234375 34.546875 C 29.6875 34.546875 30.09375 34.15625 30.09375 33.671875 C 30.09375 33.1875 29.6875 32.8125 29.234375 32.8125 L 24.125 32.8125 C 23.640625 32.8125 23.265625 33.1875 23.265625 33.671875 L 23.265625 42.890625 C 23.265625 43.359375 23.640625 43.75 24.125 43.75 C 24.125 43.75 24.140625 43.734375 24.140625 43.734375 C 24.140625 43.734375 24.140625 43.75 24.171875 43.75 Z M 37.1875 43.75 C 38.515625 43.75 39.75 43.296875 40.734375 42.53125 C 40.890625 42.421875 40.984375 42.296875 41.03125 42.15625 L 41.03125 42.140625 C 41.046875 42.109375 41.046875 42.09375 41.0625 42.0625 C 41.078125 41.96875 41.109375 41.90625 41.109375 41.796875 L 41.109375 38.34375 C 41.109375 37.914062 40.8125 37.578125 40.410156 37.492188 L 40.203125 37.46875 L 37.09375 37.46875 C 36.609375 37.46875 36.203125 37.84375 36.203125 38.34375 C 36.203125 38.828125 36.609375 39.234375 37.09375 39.234375 L 39.328125 39.234375 L 39.328125 41.375 C 38.703125 41.734375 37.96875 41.96875 37.1875 41.96875 C 36.0625 41.96875 35.078125 41.546875 34.375 40.828125 C 33.640625 40.125 33.203125 39.171875 33.203125 38.140625 C 33.203125 37.078125 33.640625 36.125 34.375 35.421875 C 35.078125 34.703125 36.0625 34.28125 37.1875 34.28125 C 38.125 34.28125 38.984375 34.609375 39.65625 35.125 C 40.046875 35.4375 40.625 35.359375 40.921875 34.984375 C 41.21875 34.59375 41.15625 34.015625 40.75 33.71875 C 39.78125 32.953125 38.515625 32.5 37.1875 32.5 C 34.015625 32.5 31.421875 35 31.421875 38.140625 C 31.421875 41.265625 34.015625 43.75 37.1875 43.75 Z M 37.1875 43.75 "/>\n      </g>'},logIcon:{extension:".log",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.542969 46.875 C 14.085938 46.875 14.574219 46.40625 14.574219 45.84375 C 14.574219 45.261719 14.085938 44.792969 13.542969 44.792969 L 8.460938 44.792969 L 8.460938 34.78125 C 8.460938 34.21875 7.992188 33.75 7.410156 33.75 C 6.828125 33.75 6.378906 34.21875 6.378906 34.78125 L 6.378906 45.84375 C 6.378906 46.40625 6.828125 46.875 7.410156 46.875 Z M 21.742188 46.875 C 23.46875 46.875 25.117188 46.085938 26.222656 44.867188 C 27.386719 43.648438 28.117188 41.980469 28.117188 40.125 C 28.117188 38.269531 27.386719 36.617188 26.222656 35.382812 C 25.117188 34.144531 23.46875 33.375 21.742188 33.375 C 19.941406 33.375 18.292969 34.144531 17.148438 35.382812 C 15.984375 36.617188 15.292969 38.269531 15.292969 40.125 C 15.292969 41.980469 15.984375 43.648438 17.148438 44.867188 C 18.292969 46.085938 19.941406 46.875 21.742188 46.875 Z M 21.742188 44.738281 C 20.542969 44.738281 19.492188 44.230469 18.703125 43.386719 C 17.917969 42.582031 17.429688 41.398438 17.429688 40.125 C 17.429688 38.851562 17.917969 37.667969 18.703125 36.84375 C 19.492188 36 20.542969 35.511719 21.742188 35.511719 C 22.867188 35.511719 23.917969 36 24.703125 36.84375 C 25.472656 37.667969 25.980469 38.851562 25.980469 40.125 C 25.980469 41.398438 25.472656 42.582031 24.703125 43.386719 C 23.917969 44.230469 22.867188 44.738281 21.742188 44.738281 Z M 37.300781 46.875 C 38.894531 46.875 40.375 46.332031 41.558594 45.414062 C 41.746094 45.28125 41.855469 45.132812 41.914062 44.960938 L 41.914062 44.945312 L 41.949219 44.851562 C 41.96875 44.738281 42.007812 44.664062 42.007812 44.53125 L 42.007812 40.386719 C 42.007812 39.789062 41.519531 39.335938 40.917969 39.335938 L 37.1875 39.335938 C 36.605469 39.335938 36.121094 39.789062 36.121094 40.386719 C 36.121094 40.96875 36.605469 41.457031 37.1875 41.457031 L 39.871094 41.457031 L 39.871094 44.023438 C 39.121094 44.457031 38.238281 44.738281 37.300781 44.738281 C 35.949219 44.738281 34.769531 44.230469 33.925781 43.367188 C 33.042969 42.523438 32.519531 41.382812 32.519531 40.144531 C 32.519531 38.867188 33.042969 37.726562 33.925781 36.882812 C 34.769531 36.019531 35.949219 35.511719 37.300781 35.511719 C 38.425781 35.511719 39.457031 35.90625 40.261719 36.523438 C 40.730469 36.898438 41.425781 36.804688 41.78125 36.355469 C 42.136719 35.886719 42.0625 35.195312 41.574219 34.835938 C 40.414062 33.917969 38.894531 33.375 37.300781 33.375 C 33.496094 33.375 30.382812 36.375 30.382812 40.144531 C 30.382812 43.894531 33.496094 46.875 37.300781 46.875 Z M 37.300781 46.875 "/>\n      </g>'},movIcon:{extension:".mov",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 15.472656 46.875 C 16.035156 46.875 16.523438 46.40625 16.523438 45.84375 L 16.523438 34.78125 C 16.523438 34.289062 16.152344 33.882812 15.679688 33.777344 L 15.472656 33.75 L 15.453125 33.75 C 15.117188 33.75 14.816406 33.898438 14.609375 34.179688 L 10.878906 39.355469 L 7.148438 34.179688 C 6.960938 33.898438 6.625 33.75 6.324219 33.75 L 6.265625 33.75 C 5.703125 33.75 5.234375 34.21875 5.234375 34.78125 L 5.234375 45.84375 C 5.234375 46.40625 5.703125 46.875 6.265625 46.875 C 6.847656 46.875 7.316406 46.40625 7.316406 45.84375 L 7.316406 37.949219 L 10 41.699219 C 10.203125 41.980469 10.523438 42.132812 10.859375 42.132812 L 10.898438 42.132812 C 11.234375 42.132812 11.535156 41.980469 11.742188 41.699219 L 14.441406 37.949219 L 14.441406 45.84375 C 14.441406 46.40625 14.890625 46.875 15.472656 46.875 Z M 25.460938 46.875 C 27.1875 46.875 28.835938 46.085938 29.941406 44.867188 C 31.105469 43.648438 31.835938 41.980469 31.835938 40.125 C 31.835938 38.269531 31.105469 36.617188 29.941406 35.382812 C 28.835938 34.144531 27.1875 33.375 25.460938 33.375 C 23.660156 33.375 22.011719 34.144531 20.867188 35.382812 C 19.703125 36.617188 19.011719 38.269531 19.011719 40.125 C 19.011719 41.980469 19.703125 43.648438 20.867188 44.867188 C 22.011719 46.085938 23.660156 46.875 25.460938 46.875 Z M 25.460938 44.738281 C 24.261719 44.738281 23.210938 44.230469 22.421875 43.386719 C 21.636719 42.582031 21.148438 41.398438 21.148438 40.125 C 21.148438 38.851562 21.636719 37.667969 22.421875 36.84375 C 23.210938 36 24.261719 35.511719 25.460938 35.511719 C 26.585938 35.511719 27.636719 36 28.421875 36.84375 C 29.191406 37.667969 29.699219 38.851562 29.699219 40.125 C 29.699219 41.398438 29.191406 42.582031 28.421875 43.386719 C 27.636719 44.230469 26.585938 44.738281 25.460938 44.738281 Z M 38.683594 46.855469 L 38.71875 46.855469 C 38.777344 46.835938 38.8125 46.820312 38.871094 46.820312 C 38.886719 46.800781 38.886719 46.800781 38.90625 46.800781 C 38.964844 46.78125 39.019531 46.726562 39.058594 46.707031 L 39.09375 46.6875 L 39.207031 46.59375 C 39.226562 46.574219 39.226562 46.574219 39.246094 46.539062 L 39.339844 46.425781 C 39.355469 46.425781 39.355469 46.425781 39.355469 46.40625 C 39.394531 46.367188 39.414062 46.292969 39.433594 46.257812 L 44.0625 35.304688 C 44.269531 34.800781 44.027344 34.179688 43.5 33.976562 C 42.996094 33.75 42.375 33.992188 42.152344 34.519531 L 38.496094 43.199219 L 34.839844 34.519531 C 34.613281 33.992188 34.011719 33.75 33.507812 33.976562 C 32.964844 34.179688 32.71875 34.800781 32.945312 35.304688 L 37.539062 46.257812 C 37.574219 46.292969 37.613281 46.367188 37.632812 46.40625 C 37.632812 46.425781 37.652344 46.425781 37.652344 46.425781 C 37.667969 46.460938 37.707031 46.5 37.746094 46.539062 C 37.746094 46.574219 37.761719 46.574219 37.761719 46.59375 C 37.820312 46.632812 37.855469 46.648438 37.894531 46.6875 L 37.914062 46.6875 C 37.96875 46.726562 38.042969 46.78125 38.082031 46.800781 L 38.101562 46.800781 C 38.101562 46.800781 38.121094 46.800781 38.121094 46.820312 C 38.15625 46.820312 38.230469 46.835938 38.269531 46.855469 L 38.308594 46.855469 L 38.402344 46.871094 L 38.496094 46.875 C 38.550781 46.875 38.605469 46.875 38.683594 46.855469 Z M 38.683594 46.855469 "/>\n      </g>'},ogvIcon:{extension:".ogv",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 11.511719 46.875 C 13.238281 46.875 14.886719 46.085938 15.996094 44.867188 C 17.15625 43.648438 17.886719 41.980469 17.886719 40.125 C 17.886719 38.269531 17.15625 36.617188 15.996094 35.382812 C 14.886719 34.144531 13.238281 33.375 11.511719 33.375 C 9.714844 33.375 8.0625 34.144531 6.917969 35.382812 C 5.757812 36.617188 5.0625 38.269531 5.0625 40.125 C 5.0625 41.980469 5.757812 43.648438 6.917969 44.867188 C 8.0625 46.085938 9.714844 46.875 11.511719 46.875 Z M 11.511719 44.738281 C 10.3125 44.738281 9.261719 44.230469 8.476562 43.386719 C 7.6875 42.582031 7.199219 41.398438 7.199219 40.125 C 7.199219 38.851562 7.6875 37.667969 8.476562 36.84375 C 9.261719 36 10.3125 35.511719 11.511719 35.511719 C 12.636719 35.511719 13.6875 36 14.476562 36.84375 C 15.246094 37.667969 15.75 38.851562 15.75 40.125 C 15.75 41.398438 15.246094 42.582031 14.476562 43.386719 C 13.6875 44.230469 12.636719 44.738281 11.511719 44.738281 Z M 27.25 46.875 C 28.84375 46.875 30.324219 46.332031 31.507812 45.414062 C 31.695312 45.28125 31.804688 45.132812 31.863281 44.960938 L 31.863281 44.945312 C 31.882812 44.90625 31.882812 44.886719 31.898438 44.851562 C 31.917969 44.738281 31.957031 44.664062 31.957031 44.53125 L 31.957031 40.386719 C 31.957031 39.789062 31.46875 39.335938 30.867188 39.335938 L 27.136719 39.335938 C 26.554688 39.335938 26.070312 39.789062 26.070312 40.386719 C 26.070312 40.96875 26.554688 41.457031 27.136719 41.457031 L 29.820312 41.457031 L 29.820312 44.023438 C 29.070312 44.457031 28.1875 44.738281 27.25 44.738281 C 25.898438 44.738281 24.71875 44.230469 23.875 43.367188 C 22.992188 42.523438 22.46875 41.382812 22.46875 40.144531 C 22.46875 38.867188 22.992188 37.726562 23.875 36.882812 C 24.71875 36.019531 25.898438 35.511719 27.25 35.511719 C 28.375 35.511719 29.40625 35.90625 30.210938 36.523438 C 30.679688 36.898438 31.375 36.804688 31.730469 36.355469 C 32.085938 35.886719 32.011719 35.195312 31.523438 34.835938 C 30.363281 33.917969 28.84375 33.375 27.25 33.375 C 23.445312 33.375 20.332031 36.375 20.332031 40.144531 C 20.332031 43.894531 23.445312 46.875 27.25 46.875 Z M 40.191406 46.855469 L 40.230469 46.855469 C 40.285156 46.835938 40.324219 46.820312 40.378906 46.820312 C 40.398438 46.800781 40.398438 46.800781 40.417969 46.800781 C 40.472656 46.78125 40.53125 46.726562 40.566406 46.707031 C 40.605469 46.6875 40.605469 46.6875 40.605469 46.6875 L 40.71875 46.59375 C 40.738281 46.574219 40.738281 46.574219 40.753906 46.539062 L 40.847656 46.425781 C 40.867188 46.425781 40.867188 46.425781 40.867188 46.40625 C 40.90625 46.367188 40.925781 46.292969 40.941406 46.257812 L 45.574219 35.304688 C 45.78125 34.800781 45.535156 34.179688 45.011719 33.976562 C 44.503906 33.75 43.886719 33.992188 43.660156 34.519531 L 40.003906 43.199219 L 36.347656 34.519531 C 36.125 33.992188 35.523438 33.75 35.019531 33.976562 C 34.472656 34.179688 34.230469 34.800781 34.457031 35.304688 L 39.050781 46.257812 C 39.085938 46.292969 39.125 46.367188 39.144531 46.40625 C 39.144531 46.425781 39.160156 46.425781 39.160156 46.425781 C 39.179688 46.460938 39.21875 46.5 39.253906 46.539062 C 39.253906 46.574219 39.273438 46.574219 39.273438 46.59375 C 39.332031 46.632812 39.367188 46.648438 39.40625 46.6875 L 39.425781 46.6875 C 39.480469 46.726562 39.554688 46.78125 39.59375 46.800781 L 39.613281 46.800781 C 39.613281 46.800781 39.628906 46.800781 39.628906 46.820312 C 39.667969 46.820312 39.742188 46.835938 39.78125 46.855469 L 39.816406 46.855469 L 39.910156 46.871094 L 40.003906 46.875 C 40.0625 46.875 40.117188 46.875 40.191406 46.855469 Z M 40.191406 46.855469 "/>\n      </g>'},pngIcon:{extension:".png",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.523438 46.875 C 8.105469 46.875 8.574219 46.40625 8.574219 45.84375 L 8.574219 41.773438 L 10.878906 41.773438 C 13.109375 41.773438 14.910156 39.976562 14.910156 37.78125 C 14.910156 35.550781 13.109375 33.75 10.878906 33.75 L 7.523438 33.75 C 6.960938 33.75 6.492188 34.199219 6.492188 34.78125 L 6.492188 45.84375 C 6.492188 46.40625 6.960938 46.875 7.523438 46.875 Z M 10.878906 39.695312 L 8.574219 39.695312 L 8.574219 35.832031 L 10.878906 35.832031 C 11.964844 35.832031 12.808594 36.695312 12.828125 37.78125 C 12.808594 38.832031 11.964844 39.695312 10.878906 39.695312 Z M 26.75 46.875 C 27.3125 46.875 27.78125 46.40625 27.78125 45.84375 L 27.78125 34.949219 C 27.78125 34.40625 27.3125 33.9375 26.75 33.9375 C 26.1875 33.9375 25.738281 34.40625 25.738281 34.949219 L 25.738281 42.675781 L 19.679688 34.292969 C 19.363281 33.84375 18.722656 33.75 18.253906 34.070312 C 17.972656 34.273438 17.824219 34.613281 17.84375 34.929688 L 17.84375 45.84375 C 17.84375 46.40625 18.292969 46.875 18.875 46.875 C 19.417969 46.875 19.886719 46.40625 19.886719 45.84375 L 19.886719 38.0625 L 25.886719 46.386719 C 25.90625 46.425781 25.941406 46.460938 25.980469 46.5 C 26.167969 46.726562 26.449219 46.875 26.75 46.875 Z M 38.082031 46.875 C 39.675781 46.875 41.15625 46.332031 42.339844 45.414062 C 42.527344 45.28125 42.636719 45.132812 42.695312 44.960938 L 42.695312 44.945312 C 42.714844 44.90625 42.714844 44.886719 42.730469 44.851562 C 42.75 44.738281 42.789062 44.664062 42.789062 44.53125 L 42.789062 40.386719 C 42.789062 39.789062 42.300781 39.335938 41.699219 39.335938 L 37.96875 39.335938 C 37.386719 39.335938 36.902344 39.789062 36.902344 40.386719 C 36.902344 40.96875 37.386719 41.457031 37.96875 41.457031 L 40.652344 41.457031 L 40.652344 44.023438 C 39.902344 44.457031 39.019531 44.738281 38.082031 44.738281 C 36.730469 44.738281 35.550781 44.230469 34.707031 43.367188 C 33.824219 42.523438 33.300781 41.382812 33.300781 40.144531 C 33.300781 38.867188 33.824219 37.726562 34.707031 36.882812 C 35.550781 36.019531 36.730469 35.511719 38.082031 35.511719 C 39.207031 35.511719 40.238281 35.90625 41.042969 36.523438 C 41.511719 36.898438 42.207031 36.804688 42.5625 36.355469 C 42.917969 35.886719 42.84375 35.195312 42.355469 34.835938 C 41.195312 33.917969 39.675781 33.375 38.082031 33.375 C 34.277344 33.375 31.164062 36.375 31.164062 40.144531 C 31.164062 43.894531 34.277344 46.875 38.082031 46.875 Z M 38.082031 46.875 "/>\n      </g>'},txtIcon:{extension:".txt",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 12.847656 46.875 C 13.429688 46.875 13.878906 46.425781 13.878906 45.84375 L 13.878906 35.832031 L 16.859375 35.832031 C 17.421875 35.832031 17.890625 35.34375 17.890625 34.78125 C 17.890625 34.199219 17.421875 33.75 16.859375 33.75 L 8.855469 33.75 C 8.273438 33.75 7.824219 34.199219 7.824219 34.78125 C 7.824219 35.34375 8.273438 35.832031 8.855469 35.832031 L 11.816406 35.832031 L 11.816406 45.84375 C 11.816406 46.425781 12.285156 46.875 12.847656 46.875 Z M 29.019531 46.875 C 29.222656 46.875 29.429688 46.800781 29.617188 46.667969 C 30.085938 46.351562 30.160156 45.695312 29.84375 45.242188 L 26.28125 40.367188 L 29.84375 35.53125 C 30.160156 35.0625 30.085938 34.425781 29.617188 34.105469 C 29.148438 33.75 28.53125 33.84375 28.175781 34.332031 L 25.023438 38.644531 L 21.855469 34.332031 C 21.535156 33.84375 20.878906 33.75 20.429688 34.105469 C 19.960938 34.425781 19.867188 35.0625 20.1875 35.53125 L 23.75 40.367188 L 20.1875 45.242188 C 19.867188 45.695312 19.960938 46.351562 20.429688 46.667969 C 20.597656 46.800781 20.804688 46.875 21.03125 46.875 C 21.347656 46.875 21.648438 46.707031 21.855469 46.445312 L 25.023438 42.113281 L 28.175781 46.445312 C 28.378906 46.707031 28.679688 46.875 29.019531 46.875 Z M 37.464844 46.875 C 38.042969 46.875 38.496094 46.425781 38.496094 45.84375 L 38.496094 35.832031 L 41.476562 35.832031 C 42.039062 35.832031 42.507812 35.34375 42.507812 34.78125 C 42.507812 34.199219 42.039062 33.75 41.476562 33.75 L 33.46875 33.75 C 32.886719 33.75 32.4375 34.199219 32.4375 34.78125 C 32.4375 35.34375 32.886719 35.832031 33.46875 35.832031 L 36.433594 35.832031 L 36.433594 45.84375 C 36.433594 46.425781 36.902344 46.875 37.464844 46.875 Z M 37.464844 46.875 "/>\n      </g>'},webmIcon:{extension:".webm",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.195312 43.734375 L 7.242188 43.734375 C 7.273438 43.71875 7.304688 43.703125 7.367188 43.703125 C 7.367188 43.6875 7.382812 43.6875 7.382812 43.6875 L 7.398438 43.6875 C 7.429688 43.671875 7.476562 43.625 7.523438 43.59375 L 7.554688 43.59375 C 7.585938 43.5625 7.617188 43.53125 7.648438 43.515625 C 7.648438 43.5 7.664062 43.5 7.664062 43.46875 L 7.757812 43.375 C 7.757812 43.375 7.757812 43.359375 7.773438 43.359375 C 7.789062 43.328125 7.820312 43.265625 7.835938 43.21875 L 9.882812 38.375 L 11.929688 43.21875 C 11.945312 43.265625 11.960938 43.328125 11.992188 43.359375 C 11.992188 43.359375 11.992188 43.375 12.023438 43.375 L 12.085938 43.46875 C 12.101562 43.5 12.101562 43.5 12.117188 43.515625 C 12.148438 43.53125 12.179688 43.5625 12.226562 43.59375 L 12.242188 43.59375 C 12.273438 43.625 12.320312 43.671875 12.382812 43.6875 C 12.398438 43.6875 12.398438 43.6875 12.414062 43.703125 C 12.445312 43.703125 12.476562 43.71875 12.523438 43.734375 L 12.570312 43.734375 L 12.640625 43.746094 L 12.710938 43.75 C 12.773438 43.75 12.820312 43.75 12.867188 43.734375 L 12.898438 43.734375 C 12.945312 43.71875 12.992188 43.703125 13.023438 43.703125 C 13.023438 43.6875 13.039062 43.6875 13.039062 43.6875 L 13.054688 43.6875 C 13.117188 43.671875 13.148438 43.625 13.195312 43.59375 L 13.210938 43.59375 C 13.242188 43.5625 13.289062 43.53125 13.320312 43.515625 C 13.320312 43.5 13.335938 43.5 13.335938 43.46875 C 13.367188 43.4375 13.398438 43.40625 13.414062 43.375 C 13.414062 43.375 13.429688 43.359375 13.429688 43.359375 C 13.460938 43.328125 13.492188 43.265625 13.507812 43.21875 L 17.335938 34.109375 C 17.523438 33.6875 17.320312 33.171875 16.898438 33 C 16.445312 32.8125 15.945312 33.015625 15.757812 33.453125 L 12.710938 40.6875 L 10.695312 35.890625 C 10.539062 35.546875 10.210938 35.359375 9.882812 35.359375 C 9.539062 35.359375 9.210938 35.546875 9.070312 35.890625 L 7.054688 40.6875 L 3.992188 33.453125 C 3.820312 33.015625 3.304688 32.8125 2.882812 33 C 2.429688 33.171875 2.242188 33.6875 2.414062 34.109375 L 6.257812 43.21875 C 6.289062 43.265625 6.304688 43.328125 6.335938 43.359375 L 6.335938 43.375 C 6.367188 43.40625 6.382812 43.4375 6.414062 43.46875 C 6.429688 43.5 6.429688 43.5 6.445312 43.515625 C 6.492188 43.53125 6.507812 43.5625 6.554688 43.59375 L 6.570312 43.59375 C 6.601562 43.625 6.664062 43.671875 6.710938 43.6875 C 6.726562 43.6875 6.726562 43.6875 6.742188 43.703125 C 6.773438 43.703125 6.804688 43.71875 6.851562 43.734375 L 6.898438 43.734375 L 6.976562 43.746094 L 7.054688 43.75 C 7.101562 43.75 7.148438 43.75 7.195312 43.734375 Z M 25.179688 43.75 C 25.632812 43.75 26.039062 43.359375 26.039062 42.890625 C 26.039062 42.40625 25.632812 42.015625 25.179688 42.015625 L 20.945312 42.015625 L 20.945312 39.140625 L 24.585938 39.140625 C 25.054688 39.140625 25.445312 38.75 25.445312 38.265625 C 25.445312 37.8125 25.054688 37.40625 24.585938 37.40625 L 20.945312 37.40625 L 20.945312 34.546875 L 25.179688 34.546875 C 25.632812 34.546875 26.039062 34.15625 26.039062 33.671875 C 26.039062 33.1875 25.632812 32.8125 25.179688 32.8125 L 20.070312 32.8125 C 19.585938 32.8125 19.210938 33.1875 19.210938 33.671875 L 19.210938 42.890625 C 19.210938 43.359375 19.585938 43.75 20.070312 43.75 C 20.070312 43.75 20.085938 43.734375 20.085938 43.734375 C 20.085938 43.734375 20.085938 43.75 20.117188 43.75 Z M 31.539062 43.75 C 33.382812 43.75 34.882812 42.25 34.882812 40.390625 C 34.882812 39.203125 34.242188 38.15625 33.304688 37.5625 C 33.679688 37.0625 33.898438 36.453125 33.898438 35.78125 C 33.898438 34.140625 32.570312 32.8125 30.929688 32.8125 L 28.710938 32.8125 C 28.242188 32.8125 27.851562 33.1875 27.851562 33.671875 L 27.851562 42.890625 C 27.851562 43.359375 28.242188 43.75 28.710938 43.75 L 28.757812 43.734375 C 28.757812 43.734375 28.757812 43.75 28.773438 43.75 Z M 30.929688 37.046875 L 29.585938 37.046875 L 29.585938 34.546875 L 30.929688 34.546875 C 31.617188 34.546875 32.164062 35.09375 32.164062 35.78125 C 32.164062 36.46875 31.617188 37.046875 30.929688 37.046875 Z M 31.539062 42.015625 L 29.585938 42.015625 L 29.585938 38.78125 L 31.539062 38.78125 C 32.429688 38.796875 33.148438 39.5 33.148438 40.390625 C 33.148438 41.296875 32.429688 42 31.539062 42.015625 Z M 45.664062 43.75 C 46.132812 43.75 46.539062 43.359375 46.539062 42.890625 L 46.539062 33.671875 C 46.539062 33.269531 46.242188 32.9375 45.859375 32.839844 L 45.664062 32.8125 L 45.648438 32.8125 C 45.367188 32.8125 45.117188 32.9375 44.945312 33.171875 L 41.835938 37.484375 L 38.726562 33.171875 C 38.570312 32.9375 38.289062 32.8125 38.039062 32.8125 L 37.992188 32.8125 C 37.523438 32.8125 37.132812 33.203125 37.132812 33.671875 L 37.132812 42.890625 C 37.132812 43.359375 37.523438 43.75 37.992188 43.75 C 38.476562 43.75 38.867188 43.359375 38.867188 42.890625 L 38.867188 36.3125 L 41.101562 39.4375 C 41.273438 39.671875 41.539062 39.796875 41.820312 39.796875 L 41.851562 39.796875 C 42.132812 39.796875 42.382812 39.671875 42.554688 39.4375 L 44.804688 36.3125 L 44.804688 42.890625 C 44.804688 43.359375 45.179688 43.75 45.664062 43.75 Z M 45.664062 43.75 "/>\n      </g>'},webpIcon:{extension:".webp",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.234375 43.734375 L 9.28125 43.734375 C 9.3125 43.71875 9.34375 43.703125 9.40625 43.703125 L 9.414062 43.6875 C 9.421875 43.6875 9.421875 43.6875 9.4375 43.6875 C 9.46875 43.671875 9.515625 43.625 9.5625 43.59375 L 9.59375 43.59375 C 9.625 43.5625 9.65625 43.53125 9.6875 43.515625 C 9.6875 43.5 9.703125 43.5 9.703125 43.46875 L 9.796875 43.375 C 9.796875 43.375 9.796875 43.359375 9.8125 43.359375 C 9.828125 43.328125 9.859375 43.265625 9.875 43.21875 L 11.921875 38.375 L 13.96875 43.21875 C 13.984375 43.265625 14 43.328125 14.03125 43.359375 C 14.03125 43.359375 14.03125 43.375 14.0625 43.375 L 14.125 43.46875 C 14.140625 43.5 14.140625 43.5 14.15625 43.515625 L 14.203125 43.546875 L 14.265625 43.59375 C 14.265625 43.59375 14.265625 43.59375 14.28125 43.59375 C 14.3125 43.625 14.359375 43.671875 14.421875 43.6875 C 14.4375 43.6875 14.4375 43.6875 14.453125 43.703125 C 14.484375 43.703125 14.515625 43.71875 14.5625 43.734375 L 14.609375 43.734375 L 14.679688 43.746094 L 14.75 43.75 C 14.8125 43.75 14.859375 43.75 14.90625 43.734375 L 14.9375 43.734375 C 14.984375 43.71875 15.03125 43.703125 15.0625 43.703125 C 15.0625 43.6875 15.078125 43.6875 15.078125 43.6875 L 15.09375 43.6875 C 15.15625 43.671875 15.1875 43.625 15.234375 43.59375 L 15.25 43.59375 C 15.28125 43.5625 15.328125 43.53125 15.359375 43.515625 C 15.359375 43.5 15.375 43.5 15.375 43.46875 C 15.40625 43.4375 15.4375 43.40625 15.453125 43.375 L 15.46875 43.359375 C 15.5 43.328125 15.53125 43.265625 15.546875 43.21875 L 19.375 34.109375 C 19.5625 33.6875 19.359375 33.171875 18.9375 33 C 18.484375 32.8125 17.984375 33.015625 17.796875 33.453125 L 14.75 40.6875 L 12.734375 35.890625 C 12.578125 35.546875 12.25 35.359375 11.921875 35.359375 C 11.578125 35.359375 11.25 35.546875 11.109375 35.890625 L 9.09375 40.6875 L 6.03125 33.453125 C 5.859375 33.015625 5.34375 32.8125 4.921875 33 C 4.46875 33.171875 4.28125 33.6875 4.453125 34.109375 L 8.296875 43.21875 C 8.328125 43.265625 8.34375 43.328125 8.375 43.359375 L 8.375 43.375 C 8.40625 43.40625 8.421875 43.4375 8.453125 43.46875 C 8.46875 43.5 8.46875 43.5 8.484375 43.515625 L 8.539062 43.546875 L 8.59375 43.59375 C 8.59375 43.59375 8.59375 43.59375 8.609375 43.59375 C 8.640625 43.625 8.703125 43.671875 8.75 43.6875 C 8.765625 43.6875 8.765625 43.6875 8.78125 43.703125 C 8.8125 43.703125 8.84375 43.71875 8.890625 43.734375 L 8.9375 43.734375 L 9.015625 43.746094 L 9.09375 43.75 C 9.140625 43.75 9.1875 43.75 9.234375 43.734375 Z M 27.21875 43.75 C 27.671875 43.75 28.078125 43.359375 28.078125 42.890625 C 28.078125 42.40625 27.671875 42.015625 27.21875 42.015625 L 22.984375 42.015625 L 22.984375 39.140625 L 26.625 39.140625 C 27.09375 39.140625 27.484375 38.75 27.484375 38.265625 C 27.484375 37.8125 27.09375 37.40625 26.625 37.40625 L 22.984375 37.40625 L 22.984375 34.546875 L 27.21875 34.546875 C 27.671875 34.546875 28.078125 34.15625 28.078125 33.671875 C 28.078125 33.1875 27.671875 32.8125 27.21875 32.8125 L 22.109375 32.8125 C 21.625 32.8125 21.25 33.1875 21.25 33.671875 L 21.25 42.890625 C 21.25 43.359375 21.625 43.75 22.109375 43.75 L 22.125 43.734375 C 22.125 43.734375 22.125 43.75 22.15625 43.75 Z M 33.578125 43.75 C 35.421875 43.75 36.921875 42.25 36.921875 40.390625 C 36.921875 39.203125 36.28125 38.15625 35.34375 37.5625 C 35.71875 37.0625 35.9375 36.453125 35.9375 35.78125 C 35.9375 34.140625 34.609375 32.8125 32.96875 32.8125 L 30.75 32.8125 C 30.28125 32.8125 29.890625 33.1875 29.890625 33.671875 L 29.890625 42.890625 C 29.890625 43.359375 30.28125 43.75 30.75 43.75 C 30.765625 43.75 30.765625 43.734375 30.796875 43.734375 C 30.796875 43.734375 30.796875 43.75 30.8125 43.75 Z M 32.96875 37.046875 L 31.625 37.046875 L 31.625 34.546875 L 32.96875 34.546875 C 33.65625 34.546875 34.203125 35.09375 34.203125 35.78125 C 34.203125 36.46875 33.65625 37.046875 32.96875 37.046875 Z M 33.578125 42.015625 L 31.625 42.015625 L 31.625 38.78125 L 33.578125 38.78125 C 34.46875 38.796875 35.1875 39.5 35.1875 40.390625 C 35.1875 41.296875 34.46875 42 33.578125 42.015625 Z M 40.03125 43.75 C 40.515625 43.75 40.90625 43.359375 40.90625 42.890625 L 40.90625 39.5 L 42.828125 39.5 C 44.6875 39.5 46.1875 38 46.1875 36.171875 C 46.1875 34.3125 44.6875 32.8125 42.828125 32.8125 L 40.03125 32.8125 C 39.5625 32.8125 39.171875 33.1875 39.171875 33.671875 L 39.171875 42.890625 C 39.171875 43.359375 39.5625 43.75 40.03125 43.75 Z M 42.828125 37.765625 L 40.90625 37.765625 L 40.90625 34.546875 L 42.828125 34.546875 C 43.734375 34.546875 44.4375 35.265625 44.453125 36.171875 C 44.4375 37.046875 43.734375 37.765625 42.828125 37.765625 Z M 42.828125 37.765625 "/>\n      </g>'},wmvIcon:{extension:".wmv",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.484375 43.734375 L 8.53125 43.734375 C 8.5625 43.71875 8.59375 43.703125 8.65625 43.703125 L 8.664062 43.6875 C 8.671875 43.6875 8.671875 43.6875 8.6875 43.6875 C 8.71875 43.671875 8.765625 43.625 8.8125 43.59375 L 8.84375 43.59375 C 8.875 43.5625 8.90625 43.53125 8.9375 43.515625 C 8.9375 43.5 8.953125 43.5 8.953125 43.46875 L 9.046875 43.375 C 9.046875 43.375 9.046875 43.359375 9.0625 43.359375 C 9.078125 43.328125 9.109375 43.265625 9.125 43.21875 L 11.171875 38.375 L 13.21875 43.21875 C 13.234375 43.265625 13.25 43.328125 13.28125 43.359375 C 13.28125 43.359375 13.28125 43.375 13.3125 43.375 L 13.375 43.46875 C 13.390625 43.5 13.390625 43.5 13.40625 43.515625 L 13.453125 43.546875 L 13.515625 43.59375 C 13.515625 43.59375 13.515625 43.59375 13.53125 43.59375 C 13.5625 43.625 13.609375 43.671875 13.671875 43.6875 C 13.6875 43.6875 13.6875 43.6875 13.703125 43.703125 C 13.734375 43.703125 13.765625 43.71875 13.8125 43.734375 L 13.859375 43.734375 L 13.929688 43.746094 L 14 43.75 C 14.0625 43.75 14.109375 43.75 14.15625 43.734375 L 14.1875 43.734375 C 14.234375 43.71875 14.28125 43.703125 14.3125 43.703125 C 14.3125 43.6875 14.328125 43.6875 14.328125 43.6875 L 14.34375 43.6875 C 14.40625 43.671875 14.4375 43.625 14.484375 43.59375 L 14.5 43.59375 C 14.53125 43.5625 14.578125 43.53125 14.609375 43.515625 C 14.609375 43.5 14.625 43.5 14.625 43.46875 C 14.65625 43.4375 14.6875 43.40625 14.703125 43.375 L 14.71875 43.359375 C 14.75 43.328125 14.78125 43.265625 14.796875 43.21875 L 18.625 34.109375 C 18.8125 33.6875 18.609375 33.171875 18.1875 33 C 17.734375 32.8125 17.234375 33.015625 17.046875 33.453125 L 14 40.6875 L 11.984375 35.890625 C 11.828125 35.546875 11.5 35.359375 11.171875 35.359375 C 10.828125 35.359375 10.5 35.546875 10.359375 35.890625 L 8.34375 40.6875 L 5.28125 33.453125 C 5.109375 33.015625 4.59375 32.8125 4.171875 33 C 3.71875 33.171875 3.53125 33.6875 3.703125 34.109375 L 7.546875 43.21875 C 7.578125 43.265625 7.59375 43.328125 7.625 43.359375 L 7.625 43.375 C 7.65625 43.40625 7.671875 43.4375 7.703125 43.46875 C 7.71875 43.5 7.71875 43.5 7.734375 43.515625 L 7.789062 43.546875 L 7.84375 43.59375 C 7.84375 43.59375 7.84375 43.59375 7.859375 43.59375 C 7.890625 43.625 7.953125 43.671875 8 43.6875 C 8.015625 43.6875 8.015625 43.6875 8.03125 43.703125 C 8.0625 43.703125 8.09375 43.71875 8.140625 43.734375 L 8.1875 43.734375 L 8.265625 43.746094 L 8.34375 43.75 C 8.390625 43.75 8.4375 43.75 8.484375 43.734375 Z M 29.03125 43.75 C 29.5 43.75 29.90625 43.359375 29.90625 42.890625 L 29.90625 33.671875 C 29.90625 33.269531 29.609375 32.9375 29.226562 32.839844 L 29.03125 32.8125 L 29.015625 32.8125 C 28.734375 32.8125 28.484375 32.9375 28.3125 33.171875 L 25.203125 37.484375 L 22.09375 33.171875 C 21.9375 32.9375 21.65625 32.8125 21.40625 32.8125 L 21.359375 32.8125 C 20.890625 32.8125 20.5 33.203125 20.5 33.671875 L 20.5 42.890625 C 20.5 43.359375 20.890625 43.75 21.359375 43.75 C 21.84375 43.75 22.234375 43.359375 22.234375 42.890625 L 22.234375 36.3125 L 24.46875 39.4375 C 24.640625 39.671875 24.90625 39.796875 25.1875 39.796875 L 25.21875 39.796875 C 25.5 39.796875 25.75 39.671875 25.921875 39.4375 L 28.171875 36.3125 L 28.171875 42.890625 C 28.171875 43.359375 28.546875 43.75 29.03125 43.75 Z M 37.015625 43.734375 L 37.0625 43.734375 C 37.09375 43.71875 37.125 43.703125 37.1875 43.703125 L 37.195312 43.6875 C 37.203125 43.6875 37.203125 43.6875 37.21875 43.6875 C 37.25 43.671875 37.296875 43.625 37.34375 43.59375 L 37.375 43.59375 C 37.40625 43.5625 37.4375 43.53125 37.46875 43.515625 C 37.46875 43.5 37.484375 43.5 37.484375 43.46875 L 37.578125 43.375 C 37.578125 43.375 37.578125 43.359375 37.59375 43.359375 C 37.609375 43.328125 37.640625 43.265625 37.65625 43.21875 L 39.703125 38.375 L 41.75 43.21875 C 41.765625 43.265625 41.78125 43.328125 41.8125 43.359375 C 41.8125 43.359375 41.8125 43.375 41.84375 43.375 L 41.90625 43.46875 C 41.921875 43.5 41.921875 43.5 41.9375 43.515625 L 41.984375 43.546875 L 42.046875 43.59375 C 42.046875 43.59375 42.046875 43.59375 42.0625 43.59375 C 42.09375 43.625 42.140625 43.671875 42.203125 43.6875 C 42.21875 43.6875 42.21875 43.6875 42.234375 43.703125 C 42.265625 43.703125 42.296875 43.71875 42.34375 43.734375 L 42.390625 43.734375 L 42.460938 43.746094 L 42.53125 43.75 C 42.59375 43.75 42.640625 43.75 42.6875 43.734375 L 42.71875 43.734375 C 42.765625 43.71875 42.8125 43.703125 42.84375 43.703125 C 42.84375 43.6875 42.859375 43.6875 42.859375 43.6875 L 42.875 43.6875 C 42.9375 43.671875 42.96875 43.625 43.015625 43.59375 L 43.03125 43.59375 C 43.0625 43.5625 43.109375 43.53125 43.140625 43.515625 C 43.140625 43.5 43.15625 43.5 43.15625 43.46875 C 43.1875 43.4375 43.21875 43.40625 43.234375 43.375 L 43.25 43.359375 C 43.28125 43.328125 43.3125 43.265625 43.328125 43.21875 L 47.15625 34.109375 C 47.34375 33.6875 47.140625 33.171875 46.71875 33 C 46.265625 32.8125 45.765625 33.015625 45.578125 33.453125 L 42.53125 40.6875 L 40.515625 35.890625 C 40.359375 35.546875 40.03125 35.359375 39.703125 35.359375 C 39.359375 35.359375 39.03125 35.546875 38.890625 35.890625 L 36.875 40.6875 L 33.8125 33.453125 C 33.640625 33.015625 33.125 32.8125 32.703125 33 C 32.25 33.171875 32.0625 33.6875 32.234375 34.109375 L 36.078125 43.21875 C 36.109375 43.265625 36.125 43.328125 36.15625 43.359375 L 36.15625 43.375 C 36.1875 43.40625 36.203125 43.4375 36.234375 43.46875 C 36.25 43.5 36.25 43.5 36.265625 43.515625 L 36.320312 43.546875 L 36.375 43.59375 C 36.375 43.59375 36.375 43.59375 36.390625 43.59375 C 36.421875 43.625 36.484375 43.671875 36.53125 43.6875 C 36.546875 43.6875 36.546875 43.6875 36.5625 43.703125 C 36.59375 43.703125 36.625 43.71875 36.671875 43.734375 L 36.71875 43.734375 L 36.796875 43.746094 L 36.875 43.75 C 36.921875 43.75 36.96875 43.75 37.015625 43.734375 Z M 37.015625 43.734375 "/>\n      </g>'},xlsIcon:{extension:".xls",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.21875 46.875 C 17.425781 46.875 17.632812 46.800781 17.820312 46.667969 C 18.289062 46.351562 18.363281 45.695312 18.042969 45.242188 L 14.480469 40.367188 L 18.042969 35.53125 C 18.363281 35.0625 18.289062 34.425781 17.820312 34.105469 C 17.351562 33.75 16.730469 33.84375 16.375 34.332031 L 13.226562 38.644531 L 10.054688 34.332031 C 9.738281 33.84375 9.082031 33.75 8.632812 34.105469 C 8.164062 34.425781 8.070312 35.0625 8.386719 35.53125 L 11.949219 40.367188 L 8.386719 45.242188 C 8.070312 45.695312 8.164062 46.351562 8.632812 46.667969 C 8.800781 46.800781 9.007812 46.875 9.230469 46.875 C 9.550781 46.875 9.851562 46.707031 10.054688 46.445312 L 13.226562 42.113281 L 16.375 46.445312 C 16.582031 46.707031 16.882812 46.875 17.21875 46.875 Z M 29.351562 46.875 C 29.894531 46.875 30.382812 46.40625 30.382812 45.84375 C 30.382812 45.261719 29.894531 44.792969 29.351562 44.792969 L 24.269531 44.792969 L 24.269531 34.78125 C 24.269531 34.21875 23.800781 33.75 23.21875 33.75 C 22.636719 33.75 22.1875 34.21875 22.1875 34.78125 L 22.1875 45.84375 C 22.1875 46.335938 22.53125 46.757812 23.007812 46.855469 L 23.222656 46.875 Z M 37.28125 46.855469 C 38.613281 46.855469 39.832031 46.460938 40.75 45.789062 C 41.6875 45.113281 42.363281 44.082031 42.363281 42.882812 C 42.363281 42.300781 42.195312 41.738281 41.914062 41.289062 C 41.480469 40.59375 40.804688 40.105469 40.039062 39.730469 C 39.289062 39.375 38.40625 39.132812 37.449219 38.945312 L 37.414062 38.945312 C 36.398438 38.757812 35.554688 38.457031 35.070312 38.117188 C 34.824219 37.949219 34.65625 37.78125 34.5625 37.632812 C 34.46875 37.480469 34.429688 37.332031 34.429688 37.105469 C 34.429688 36.710938 34.636719 36.300781 35.144531 35.925781 C 35.648438 35.550781 36.398438 35.289062 37.242188 35.289062 C 38.386719 35.289062 39.304688 35.851562 40.261719 36.488281 C 40.710938 36.789062 41.3125 36.65625 41.59375 36.207031 C 41.894531 35.773438 41.761719 35.175781 41.332031 34.875 C 40.375 34.257812 39.042969 33.375 37.242188 33.375 C 36.023438 33.375 34.882812 33.730469 34 34.367188 C 33.136719 35.007812 32.5 35.980469 32.5 37.105469 C 32.5 37.667969 32.648438 38.195312 32.929688 38.644531 C 33.34375 39.300781 33.960938 39.769531 34.675781 40.105469 C 35.386719 40.445312 36.210938 40.667969 37.09375 40.835938 L 37.132812 40.835938 C 38.238281 41.042969 39.15625 41.363281 39.699219 41.71875 C 39.980469 41.90625 40.148438 42.09375 40.261719 42.28125 C 40.375 42.46875 40.429688 42.636719 40.429688 42.882812 C 40.429688 43.351562 40.1875 43.820312 39.625 44.230469 C 39.0625 44.644531 38.21875 44.925781 37.28125 44.925781 C 35.949219 44.945312 34.523438 44.15625 33.699219 43.480469 C 33.289062 43.144531 32.667969 43.199219 32.332031 43.613281 C 32.011719 44.023438 32.070312 44.644531 32.480469 44.980469 C 33.550781 45.824219 35.257812 46.835938 37.28125 46.855469 Z M 37.28125 46.855469 "/>\n      </g>'},xlsxIcon:{extension:".xlsx",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.070312 43.75 C 13.242188 43.75 13.414062 43.6875 13.570312 43.578125 C 13.960938 43.3125 14.023438 42.765625 13.757812 42.390625 L 10.789062 38.328125 L 13.757812 34.296875 C 14.023438 33.90625 13.960938 33.375 13.570312 33.109375 C 13.179688 32.8125 12.664062 32.890625 12.367188 33.296875 L 9.742188 36.890625 L 7.101562 33.296875 C 6.835938 32.890625 6.289062 32.8125 5.914062 33.109375 C 5.523438 33.375 5.445312 33.90625 5.710938 34.296875 L 8.679688 38.328125 L 5.710938 42.390625 C 5.445312 42.765625 5.523438 43.3125 5.914062 43.578125 C 6.054688 43.6875 6.226562 43.75 6.414062 43.75 C 6.679688 43.75 6.929688 43.609375 7.101562 43.390625 L 9.742188 39.78125 L 12.367188 43.390625 C 12.539062 43.609375 12.789062 43.75 13.070312 43.75 Z M 23.179688 43.75 C 23.632812 43.75 24.039062 43.359375 24.039062 42.890625 C 24.039062 42.40625 23.632812 42.015625 23.179688 42.015625 L 18.945312 42.015625 L 18.945312 33.671875 C 18.945312 33.203125 18.554688 32.8125 18.070312 32.8125 C 17.585938 32.8125 17.210938 33.203125 17.210938 33.671875 L 17.210938 42.890625 C 17.210938 43.359375 17.585938 43.75 18.070312 43.75 Z M 29.789062 43.734375 C 30.898438 43.734375 31.914062 43.40625 32.679688 42.84375 C 33.460938 42.28125 34.023438 41.421875 34.023438 40.421875 C 34.023438 39.9375 33.882812 39.46875 33.648438 39.09375 C 33.289062 38.515625 32.726562 38.109375 32.085938 37.796875 C 31.460938 37.5 30.726562 37.296875 29.929688 37.140625 L 29.898438 37.140625 C 29.054688 36.984375 28.351562 36.734375 27.945312 36.453125 C 27.742188 36.3125 27.601562 36.171875 27.523438 36.046875 C 27.445312 35.921875 27.414062 35.796875 27.414062 35.609375 C 27.414062 35.28125 27.585938 34.9375 28.007812 34.625 C 28.429688 34.3125 29.054688 34.09375 29.757812 34.09375 C 30.710938 34.09375 31.476562 34.5625 32.273438 35.09375 C 32.648438 35.34375 33.148438 35.234375 33.382812 34.859375 C 33.632812 34.5 33.523438 34 33.164062 33.75 C 32.367188 33.234375 31.257812 32.5 29.757812 32.5 C 28.742188 32.5 27.789062 32.796875 27.054688 33.328125 C 26.335938 33.859375 25.804688 34.671875 25.804688 35.609375 C 25.804688 36.078125 25.929688 36.515625 26.164062 36.890625 C 26.507812 37.4375 27.023438 37.828125 27.617188 38.109375 C 28.210938 38.390625 28.898438 38.578125 29.632812 38.71875 L 29.664062 38.71875 C 30.585938 38.890625 31.351562 39.15625 31.804688 39.453125 C 32.039062 39.609375 32.179688 39.765625 32.273438 39.921875 C 32.367188 40.078125 32.414062 40.21875 32.414062 40.421875 C 32.414062 40.8125 32.210938 41.203125 31.742188 41.546875 C 31.273438 41.890625 30.570312 42.125 29.789062 42.125 C 28.679688 42.140625 27.492188 41.484375 26.804688 40.921875 C 26.460938 40.640625 25.945312 40.6875 25.664062 41.03125 C 25.398438 41.375 25.445312 41.890625 25.789062 42.171875 C 26.679688 42.875 28.101562 43.71875 29.789062 43.734375 Z M 43.179688 43.75 C 43.351562 43.75 43.523438 43.6875 43.679688 43.578125 C 44.070312 43.3125 44.132812 42.765625 43.867188 42.390625 L 40.898438 38.328125 L 43.867188 34.296875 C 44.132812 33.90625 44.070312 33.375 43.679688 33.109375 C 43.289062 32.8125 42.773438 32.890625 42.476562 33.296875 L 39.851562 36.890625 L 37.210938 33.296875 C 36.945312 32.890625 36.398438 32.8125 36.023438 33.109375 C 35.632812 33.375 35.554688 33.90625 35.820312 34.296875 L 38.789062 38.328125 L 35.820312 42.390625 C 35.554688 42.765625 35.632812 43.3125 36.023438 43.578125 C 36.164062 43.6875 36.335938 43.75 36.523438 43.75 C 36.789062 43.75 37.039062 43.609375 37.210938 43.390625 L 39.851562 39.78125 L 42.476562 43.390625 C 42.648438 43.609375 42.898438 43.75 43.179688 43.75 Z M 43.179688 43.75 "/>\n      </g>'},zipIcon:{extension:".zip",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.175781 46.875 C 20.855469 46.875 21.402344 46.351562 21.402344 45.671875 C 21.402344 44.992188 20.855469 44.445312 20.175781 44.445312 L 13.132812 44.445312 L 21.183594 33.488281 L 21.183594 33.445312 C 21.203125 33.421875 21.226562 33.378906 21.25 33.335938 C 21.269531 33.3125 21.269531 33.289062 21.292969 33.269531 C 21.3125 33.203125 21.3125 33.179688 21.335938 33.136719 C 21.335938 33.09375 21.378906 33.070312 21.378906 33.007812 C 21.378906 32.984375 21.378906 32.960938 21.402344 32.917969 L 21.402344 32.679688 C 21.402344 32.632812 21.402344 32.613281 21.378906 32.546875 C 21.378906 32.503906 21.378906 32.480469 21.335938 32.4375 C 21.335938 32.414062 21.3125 32.371094 21.3125 32.304688 C 21.292969 32.285156 21.269531 32.242188 21.269531 32.21875 C 21.25 32.195312 21.226562 32.152344 21.203125 32.109375 C 21.183594 32.066406 21.160156 32.042969 21.117188 32.023438 C 21.09375 32 21.074219 31.957031 21.050781 31.933594 C 21.03125 31.914062 21.007812 31.867188 20.964844 31.847656 C 20.941406 31.824219 20.941406 31.804688 20.898438 31.78125 L 20.875 31.78125 C 20.832031 31.757812 20.8125 31.738281 20.765625 31.714844 C 20.746094 31.695312 20.722656 31.648438 20.65625 31.648438 L 20.570312 31.605469 L 20.4375 31.585938 C 20.417969 31.585938 20.375 31.5625 20.351562 31.5625 L 10.75 31.5625 C 10.070312 31.5625 9.546875 32.085938 9.546875 32.765625 C 9.546875 33.421875 10.070312 33.992188 10.75 33.992188 L 17.8125 33.992188 L 9.785156 44.972656 L 9.765625 44.972656 C 9.742188 45.015625 9.71875 45.058594 9.699219 45.082031 C 9.699219 45.101562 9.675781 45.148438 9.632812 45.167969 C 9.632812 45.210938 9.609375 45.257812 9.609375 45.277344 C 9.589844 45.320312 9.589844 45.367188 9.566406 45.386719 L 9.566406 45.496094 C 9.546875 45.539062 9.546875 45.585938 9.546875 45.648438 L 9.546875 45.738281 C 9.546875 45.78125 9.566406 45.824219 9.566406 45.890625 C 9.566406 45.933594 9.589844 45.957031 9.589844 45.976562 L 9.632812 46.109375 C 9.632812 46.152344 9.675781 46.175781 9.699219 46.21875 C 9.699219 46.242188 9.71875 46.261719 9.742188 46.328125 C 9.765625 46.351562 9.785156 46.394531 9.808594 46.414062 C 9.828125 46.4375 9.851562 46.460938 9.894531 46.480469 L 9.9375 46.542969 L 9.984375 46.589844 C 10.003906 46.613281 10.027344 46.632812 10.046875 46.632812 L 10.046875 46.65625 C 10.070312 46.679688 10.09375 46.679688 10.136719 46.699219 C 10.179688 46.722656 10.222656 46.742188 10.246094 46.742188 C 10.265625 46.789062 10.289062 46.789062 10.3125 46.808594 C 10.375 46.808594 10.421875 46.832031 10.464844 46.832031 C 10.484375 46.851562 10.507812 46.851562 10.53125 46.851562 L 10.648438 46.871094 Z M 26.214844 46.875 C 26.871094 46.875 27.4375 46.351562 27.4375 45.671875 L 27.4375 32.765625 C 27.4375 32.085938 26.871094 31.5625 26.214844 31.5625 C 25.535156 31.5625 25.011719 32.085938 25.011719 32.765625 L 25.011719 45.671875 C 25.011719 46.351562 25.535156 46.875 26.214844 46.875 Z M 32.734375 46.875 C 33.410156 46.875 33.957031 46.328125 33.957031 45.671875 L 33.957031 40.925781 L 36.648438 40.925781 C 39.25 40.925781 41.351562 38.824219 41.351562 36.265625 C 41.351562 33.664062 39.25 31.5625 36.648438 31.5625 L 32.734375 31.5625 C 32.078125 31.5625 31.53125 32.085938 31.53125 32.765625 L 31.53125 45.671875 C 31.53125 46.328125 32.078125 46.875 32.734375 46.875 Z M 36.648438 38.496094 L 33.957031 38.496094 L 33.957031 33.992188 L 36.648438 33.992188 C 37.917969 33.992188 38.902344 34.996094 38.921875 36.265625 C 38.902344 37.492188 37.917969 38.496094 36.648438 38.496094 Z M 36.648438 38.496094 "/>\n      </g>'},docxIcon:{extension:".docx",path:'<g id="surface9" clip-path="url(#clip1)">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      </g>\n      </defs>\n      <g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <use xlink:href="#surface9" mask="url(#mask0)"/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.789062 43.75 C 9.589844 43.75 10.988281 43.269531 11.984375 42.304688 C 12.980469 41.339844 13.476562 39.984375 13.476562 38.234375 C 13.476562 36.496094 12.980469 35.144531 11.984375 34.179688 C 10.988281 33.214844 9.589844 32.734375 7.789062 32.734375 L 4.695312 32.734375 C 4.394531 32.734375 4.15625 32.816406 3.984375 32.984375 C 3.8125 33.152344 3.726562 33.386719 3.726562 33.6875 L 3.726562 42.796875 C 3.726562 43.097656 3.8125 43.332031 3.984375 43.5 C 4.15625 43.667969 4.394531 43.75 4.695312 43.75 Z M 7.664062 42.109375 L 5.742188 42.109375 L 5.742188 34.375 L 7.664062 34.375 C 10.195312 34.375 11.460938 35.660156 11.460938 38.234375 C 11.460938 40.816406 10.195312 42.109375 7.664062 42.109375 Z M 20.414062 43.890625 C 21.476562 43.890625 22.402344 43.660156 23.1875 43.203125 C 23.972656 42.746094 24.582031 42.089844 25.007812 41.234375 C 25.433594 40.378906 25.648438 39.378906 25.648438 38.234375 C 25.648438 37.089844 25.4375 36.089844 25.015625 35.242188 C 24.59375 34.394531 23.988281 33.738281 23.203125 33.28125 C 22.417969 32.824219 21.488281 32.59375 20.414062 32.59375 C 19.339844 32.59375 18.410156 32.824219 17.617188 33.28125 C 16.824219 33.738281 16.21875 34.394531 15.796875 35.242188 C 15.375 36.089844 15.164062 37.089844 15.164062 38.234375 C 15.164062 39.378906 15.378906 40.378906 15.804688 41.234375 C 16.230469 42.089844 16.839844 42.746094 17.625 43.203125 C 18.410156 43.660156 19.339844 43.890625 20.414062 43.890625 Z M 20.414062 42.28125 C 19.394531 42.28125 18.597656 41.933594 18.03125 41.234375 C 17.464844 40.535156 17.179688 39.535156 17.179688 38.234375 C 17.179688 36.933594 17.464844 35.933594 18.03125 35.242188 C 18.597656 34.550781 19.394531 34.203125 20.414062 34.203125 C 21.425781 34.203125 22.214844 34.550781 22.78125 35.242188 C 23.347656 35.933594 23.632812 36.933594 23.632812 38.234375 C 23.632812 39.535156 23.347656 40.535156 22.78125 41.234375 C 22.214844 41.933594 21.425781 42.28125 20.414062 42.28125 Z M 32.601562 43.890625 C 33.289062 43.890625 33.933594 43.789062 34.539062 43.585938 C 35.144531 43.382812 35.679688 43.089844 36.148438 42.703125 C 36.285156 42.597656 36.378906 42.488281 36.429688 42.367188 C 36.480469 42.246094 36.507812 42.109375 36.507812 41.953125 C 36.507812 41.722656 36.445312 41.53125 36.320312 41.375 C 36.195312 41.21875 36.042969 41.140625 35.867188 41.140625 C 35.753906 41.140625 35.644531 41.160156 35.539062 41.203125 C 35.433594 41.246094 35.332031 41.296875 35.226562 41.359375 C 34.746094 41.683594 34.316406 41.910156 33.9375 42.046875 C 33.558594 42.183594 33.144531 42.25 32.695312 42.25 C 31.613281 42.25 30.792969 41.910156 30.234375 41.234375 C 29.675781 40.558594 29.398438 39.558594 29.398438 38.234375 C 29.398438 36.921875 29.675781 35.925781 30.234375 35.25 C 30.792969 34.574219 31.613281 34.234375 32.695312 34.234375 C 33.164062 34.234375 33.589844 34.300781 33.976562 34.429688 C 34.363281 34.558594 34.777344 34.792969 35.226562 35.125 C 35.445312 35.269531 35.660156 35.34375 35.867188 35.34375 C 36.042969 35.34375 36.195312 35.265625 36.320312 35.109375 C 36.445312 34.953125 36.507812 34.761719 36.507812 34.53125 C 36.507812 34.363281 36.480469 34.222656 36.429688 34.109375 C 36.378906 33.996094 36.285156 33.886719 36.148438 33.78125 C 35.679688 33.394531 35.144531 33.101562 34.539062 32.898438 C 33.933594 32.695312 33.289062 32.59375 32.601562 32.59375 C 31.539062 32.59375 30.609375 32.824219 29.8125 33.28125 C 29.015625 33.738281 28.402344 34.394531 27.976562 35.242188 C 27.550781 36.089844 27.335938 37.089844 27.335938 38.234375 C 27.335938 39.378906 27.550781 40.378906 27.976562 41.234375 C 28.402344 42.089844 29.015625 42.746094 29.8125 43.203125 C 30.609375 43.660156 31.539062 43.890625 32.601562 43.890625 Z M 46.132812 43.84375 C 46.382812 43.84375 46.605469 43.75 46.796875 43.5625 C 46.988281 43.375 47.085938 43.15625 47.085938 42.90625 C 47.085938 42.707031 47.003906 42.511719 46.835938 42.3125 L 43.445312 38.15625 L 46.710938 34.171875 C 46.867188 34.003906 46.945312 33.808594 46.945312 33.578125 C 46.945312 33.328125 46.847656 33.113281 46.65625 32.929688 C 46.464844 32.746094 46.242188 32.65625 45.992188 32.65625 C 45.730469 32.65625 45.507812 32.769531 45.320312 33 L 42.273438 36.765625 L 39.226562 33 C 39.027344 32.769531 38.800781 32.65625 38.539062 32.65625 C 38.289062 32.65625 38.070312 32.746094 37.882812 32.929688 C 37.695312 33.113281 37.601562 33.328125 37.601562 33.578125 C 37.601562 33.808594 37.679688 34.003906 37.835938 34.171875 L 41.101562 38.15625 L 37.695312 42.3125 C 37.539062 42.5 37.460938 42.699219 37.460938 42.90625 C 37.460938 43.15625 37.558594 43.371094 37.75 43.554688 C 37.941406 43.738281 38.164062 43.828125 38.414062 43.828125 C 38.675781 43.828125 38.898438 43.71875 39.085938 43.5 L 42.273438 39.5625 L 45.445312 43.5 C 45.644531 43.730469 45.871094 43.84375 46.132812 43.84375 Z M 46.132812 43.84375 "/>\n      </g>'},jpgIcon:{extension:".jpg",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <use xlink:href="#surface9" mask="url(#mask0)"/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.789062 47.007812 L 9.488281 46.960938 C 12.214844 46.757812 13.578125 45.277344 13.578125 42.523438 L 13.578125 32.742188 C 13.578125 32.320312 13.453125 31.980469 13.195312 31.726562 C 12.941406 31.472656 12.59375 31.34375 12.15625 31.34375 C 11.734375 31.34375 11.394531 31.472656 11.140625 31.726562 C 10.886719 31.980469 10.757812 32.320312 10.757812 32.742188 L 10.757812 42.523438 C 10.757812 43.238281 10.605469 43.769531 10.296875 44.117188 C 9.992188 44.46875 9.539062 44.660156 8.941406 44.6875 L 8.242188 44.730469 C 7.847656 44.761719 7.558594 44.867188 7.378906 45.046875 C 7.195312 45.230469 7.105469 45.496094 7.105469 45.847656 C 7.105469 46.664062 7.667969 47.050781 8.789062 47.007812 Z M 18.304688 47.007812 C 18.742188 47.007812 19.089844 46.878906 19.34375 46.625 C 19.597656 46.367188 19.726562 46.023438 19.726562 45.585938 L 19.726562 40.882812 L 23.640625 40.882812 C 25.289062 40.882812 26.574219 40.464844 27.492188 39.632812 C 28.410156 38.804688 28.871094 37.644531 28.871094 36.15625 C 28.871094 34.667969 28.410156 33.511719 27.492188 32.6875 C 26.574219 31.863281 25.289062 31.453125 23.640625 31.453125 L 18.261719 31.453125 C 17.839844 31.453125 17.507812 31.570312 17.265625 31.804688 C 17.023438 32.035156 16.90625 32.363281 16.90625 32.789062 L 16.90625 45.585938 C 16.90625 46.023438 17.03125 46.367188 17.289062 46.625 C 17.542969 46.878906 17.882812 47.007812 18.304688 47.007812 Z M 23.292969 38.714844 L 19.726562 38.714844 L 19.726562 33.640625 L 23.292969 33.640625 C 25.230469 33.640625 26.203125 34.488281 26.203125 36.179688 C 26.203125 37.871094 25.230469 38.714844 23.292969 38.714844 Z M 38.605469 47.070312 C 39.320312 47.070312 40.0625 47.011719 40.835938 46.898438 C 41.609375 46.78125 42.285156 46.621094 42.871094 46.414062 C 43.410156 46.242188 43.765625 46.015625 43.941406 45.738281 C 44.117188 45.460938 44.203125 44.988281 44.203125 44.316406 L 44.203125 39.613281 C 44.203125 39.292969 44.101562 39.03125 43.898438 38.835938 C 43.695312 38.640625 43.425781 38.539062 43.089844 38.539062 L 39.21875 38.539062 C 38.867188 38.539062 38.59375 38.628906 38.398438 38.804688 C 38.199219 38.976562 38.101562 39.226562 38.101562 39.546875 C 38.101562 39.867188 38.199219 40.117188 38.398438 40.289062 C 38.59375 40.464844 38.867188 40.554688 39.21875 40.554688 L 41.6875 40.554688 L 41.6875 44.425781 C 40.699219 44.703125 39.707031 44.839844 38.714844 44.839844 C 35.390625 44.839844 33.726562 42.945312 33.726562 39.152344 C 33.726562 37.300781 34.132812 35.90625 34.941406 34.964844 C 35.75 34.023438 36.949219 33.554688 38.539062 33.554688 C 39.238281 33.554688 39.867188 33.644531 40.421875 33.828125 C 40.972656 34.007812 41.574219 34.324219 42.214844 34.777344 C 42.390625 34.894531 42.542969 34.980469 42.671875 35.03125 C 42.804688 35.082031 42.949219 35.105469 43.109375 35.105469 C 43.359375 35.105469 43.570312 34.996094 43.746094 34.777344 C 43.921875 34.558594 44.007812 34.289062 44.007812 33.96875 C 44.007812 33.75 43.96875 33.558594 43.886719 33.398438 C 43.808594 33.238281 43.679688 33.078125 43.503906 32.917969 C 42.191406 31.808594 40.507812 31.257812 38.453125 31.257812 C 36.90625 31.257812 35.5625 31.574219 34.425781 32.207031 C 33.289062 32.84375 32.410156 33.753906 31.789062 34.941406 C 31.171875 36.128906 30.859375 37.535156 30.859375 39.152344 C 30.859375 40.800781 31.171875 42.21875 31.789062 43.40625 C 32.410156 44.597656 33.304688 45.503906 34.46875 46.132812 C 35.636719 46.757812 37.015625 47.070312 38.605469 47.070312 Z M 38.605469 47.070312 "/>\n      </g>'},mp3Icon:{extension:".mp3",path:'<g id="surface9" clip-path="url(#clip1)">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 43.828125 43.710938 C 43.605469 44.28125 43.273438 44.804688 42.84375 45.265625 C 42.40625 45.730469 41.867188 46.113281 41.242188 46.398438 C 40.597656 46.699219 39.851562 46.855469 39.027344 46.855469 C 38.328125 46.855469 37.703125 46.757812 37.160156 46.570312 C 36.609375 46.378906 36.160156 46.136719 35.769531 45.839844 C 35.386719 45.550781 35.050781 45.210938 34.796875 44.832031 C 34.570312 44.507812 34.394531 44.195312 34.265625 43.890625 C 34.140625 43.59375 34.054688 43.335938 33.996094 43.101562 C 33.792969 42.261719 34.304688 41.417969 35.140625 41.210938 C 35.980469 41.007812 36.828125 41.519531 37.03125 42.355469 C 37.039062 42.390625 37.066406 42.488281 37.144531 42.671875 C 37.191406 42.777344 37.265625 42.914062 37.371094 43.0625 C 37.4375 43.160156 37.53125 43.257812 37.65625 43.351562 C 37.792969 43.453125 37.972656 43.542969 38.195312 43.625 C 38.332031 43.667969 38.59375 43.730469 39.027344 43.730469 C 39.390625 43.730469 39.695312 43.675781 39.925781 43.566406 C 40.1875 43.445312 40.398438 43.300781 40.558594 43.132812 C 40.71875 42.957031 40.839844 42.773438 40.914062 42.578125 C 40.996094 42.371094 41.03125 42.195312 41.03125 42.023438 C 41.03125 41.789062 41 41.585938 40.921875 41.398438 C 40.871094 41.257812 40.785156 41.148438 40.660156 41.039062 C 40.515625 40.910156 40.296875 40.792969 40.011719 40.699219 C 39.6875 40.59375 39.253906 40.539062 38.738281 40.535156 C 37.882812 40.527344 37.1875 39.832031 37.1875 38.972656 L 37.1875 38.832031 C 37.1875 37.984375 37.859375 37.292969 38.699219 37.265625 C 39.070312 37.257812 39.398438 37.195312 39.679688 37.101562 C 39.921875 37.011719 40.121094 36.902344 40.273438 36.773438 C 40.40625 36.652344 40.507812 36.519531 40.582031 36.359375 C 40.652344 36.210938 40.6875 36.027344 40.6875 35.8125 C 40.6875 35.523438 40.644531 35.289062 40.574219 35.125 C 40.5 34.96875 40.414062 34.847656 40.304688 34.757812 C 40.1875 34.660156 40.042969 34.582031 39.867188 34.53125 C 39.402344 34.386719 38.878906 34.398438 38.480469 34.542969 C 38.289062 34.617188 38.121094 34.714844 37.976562 34.84375 C 37.820312 34.984375 37.695312 35.148438 37.59375 35.339844 C 37.484375 35.550781 37.40625 35.773438 37.367188 36.039062 C 37.230469 36.890625 36.429688 37.472656 35.574219 37.335938 C 34.722656 37.195312 34.140625 36.398438 34.28125 35.542969 C 34.378906 34.9375 34.5625 34.378906 34.835938 33.871094 C 35.109375 33.355469 35.464844 32.898438 35.890625 32.519531 C 36.320312 32.132812 36.824219 31.828125 37.382812 31.617188 C 38.433594 31.226562 39.667969 31.199219 40.78125 31.539062 C 41.351562 31.714844 41.863281 31.992188 42.308594 32.355469 C 42.777344 32.753906 43.148438 33.242188 43.414062 33.824219 C 43.679688 34.402344 43.8125 35.070312 43.8125 35.8125 C 43.8125 36.476562 43.679688 37.097656 43.421875 37.660156 C 43.25 38.046875 43.023438 38.394531 42.746094 38.707031 C 43.242188 39.148438 43.609375 39.671875 43.835938 40.261719 C 44.046875 40.804688 44.15625 41.398438 44.15625 42.023438 C 44.15625 42.578125 44.046875 43.148438 43.828125 43.710938 Z M 31.445312 38.492188 C 31.148438 39.140625 30.734375 39.703125 30.199219 40.164062 C 29.6875 40.605469 29.078125 40.957031 28.390625 41.199219 C 27.71875 41.4375 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.859375 24.296875 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.859375 21.875 45 L 21.875 32.8125 C 21.875 31.945312 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.667969 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.03125 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.28125 L 14.015625 43.140625 C 14.007812 43.164062 13.996094 43.191406 13.984375 43.214844 C 13.71875 43.777344 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.9375 44.117188 11.375 43.777344 11.109375 43.214844 L 11.082031 43.160156 L 9.339844 39.101562 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.1875 L 12.527344 39.09375 L 15.59375 32.207031 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.167969 31.261719 C 18.03125 31.261719 18.730469 31.960938 18.730469 32.824219 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.136719 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.136719 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/>\n      </g>\n      </defs>\n      <g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <use xlink:href="#surface9" mask="url(#mask0)"/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 28.257812 34.902344 C 27.835938 34.550781 27.140625 34.375 26.191406 34.375 L 25 34.375 L 25 38.4375 L 26.191406 38.4375 C 26.621094 38.4375 27.007812 38.375 27.34375 38.253906 C 27.667969 38.140625 27.929688 37.992188 28.148438 37.804688 C 28.34375 37.632812 28.492188 37.4375 28.601562 37.195312 C 28.710938 36.964844 28.757812 36.703125 28.757812 36.40625 C 28.757812 35.324219 28.382812 35.003906 28.257812 34.902344 "/>\n      <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 11.34125 13.57875 C 11.345 13.5925 11.3525 13.62375 11.36375 13.67375 C 11.3775 13.7225 11.3975 13.78125 11.42625 13.85 C 11.45375 13.9175 11.49375 13.9875 11.54625 14.0625 C 11.5975 14.13875 11.66625 14.20875 11.75 14.27125 C 11.83375 14.33625 11.9375 14.38875 12.0575 14.43125 C 12.1775 14.4725 12.32 14.49375 12.4875 14.49375 C 12.67875 14.49375 12.845 14.46125 12.9875 14.39375 C 13.13 14.32875 13.24875 14.245 13.34375 14.1425 C 13.43875 14.0425 13.51125 13.93 13.55875 13.8075 C 13.6075 13.6825 13.63125 13.56375 13.63125 13.4475 C 13.63125 13.31125 13.6075 13.1825 13.5625 13.065 C 13.515 12.9475 13.4425 12.845 13.3425 12.7575 C 13.2425 12.67 13.115 12.6 12.96 12.55 C 12.805 12.49875 12.6175 12.4725 12.4 12.4725 L 12.4 12.42625 C 12.57 12.42 12.72375 12.3925 12.8625 12.34375 C 13.0025 12.29625 13.11875 12.2275 13.21625 12.14375 C 13.31375 12.05875 13.3875 11.96 13.44125 11.845 C 13.4925 11.7275 13.52 11.60125 13.52 11.46 C 13.52 11.29375 13.4925 11.1525 13.43875 11.0325 C 13.38375 10.91375 13.31125 10.81625 13.21875 10.74 C 13.1275 10.66375 13.0225 10.6075 12.90375 10.5725 C 12.78625 10.535 12.66375 10.5175 12.5375 10.5175 C 12.395 10.5175 12.26125 10.54 12.14 10.58625 C 12.0175 10.6325 11.91 10.69625 11.81875 10.77875 C 11.72625 10.8625 11.64875 10.96 11.5875 11.07375 C 11.5275 11.18875 11.48625 11.315 11.4625 11.45375 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.475 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/>\n      </g>'},mp4Icon:{extension:".mp4",path:'<g id="surface6" clip-path="url(#clip1)">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 36.898438 40.625 L 40.625 35.480469 L 40.625 40.625 Z M 28.761719 36.40625 C 28.761719 36.703125 28.707031 36.964844 28.605469 37.195312 C 28.496094 37.433594 28.347656 37.632812 28.148438 37.804688 C 27.929688 37.992188 27.667969 38.144531 27.34375 38.257812 C 27.003906 38.375 26.621094 38.4375 26.191406 38.4375 L 25 38.4375 L 25 34.375 L 26.191406 34.375 C 27.140625 34.375 27.835938 34.554688 28.253906 34.902344 C 28.378906 35.007812 28.761719 35.324219 28.761719 36.40625 Z M 44.6875 43.75 L 43.75 43.75 L 43.75 45.3125 C 43.75 46.175781 43.050781 46.875 42.1875 46.875 C 41.324219 46.875 40.625 46.175781 40.625 45.3125 L 40.625 43.75 L 34.066406 43.75 C 33.199219 43.75 32.503906 43.050781 32.503906 42.1875 L 32.503906 41.875 C 32.503906 41.546875 32.605469 41.226562 32.800781 40.957031 L 39.363281 31.898438 C 39.660156 31.492188 40.128906 31.25 40.628906 31.25 L 42.1875 31.25 C 43.050781 31.25 43.75 31.949219 43.75 32.8125 L 43.75 40.625 L 44.6875 40.625 C 45.550781 40.625 46.25 41.324219 46.25 42.1875 C 46.25 43.050781 45.550781 43.75 44.6875 43.75 Z M 31.445312 38.492188 C 31.148438 39.140625 30.730469 39.703125 30.195312 40.167969 C 29.6875 40.605469 29.082031 40.957031 28.390625 41.203125 C 27.71875 41.441406 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.863281 24.300781 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.863281 21.875 45 L 21.875 32.8125 C 21.875 31.949219 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.671875 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.027344 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.6875 L 14.035156 43.105469 C 14.019531 43.144531 14.003906 43.179688 13.984375 43.214844 C 13.71875 43.78125 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.941406 44.117188 11.378906 43.78125 11.113281 43.214844 C 11.097656 43.183594 11.078125 43.152344 11.066406 43.125 L 9.339844 39.484375 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.191406 L 9.355469 32.226562 L 12.523438 38.90625 L 15.578125 32.242188 C 15.585938 32.226562 15.597656 32.210938 15.605469 32.191406 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.164062 31.261719 C 18.027344 31.261719 18.726562 31.960938 18.726562 32.824219 L 18.726562 45.210938 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/>\n      </g>\n      </defs>\n      <g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <use xlink:href="#surface6" mask="url(#mask0)"/>\n      <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 14.3 13.5 L 10.90125 13.5 L 10.90125 13.4 L 13.00125 10.5 L 13.5 10.5 L 13.5 14.5 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.47625 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/>\n      </g>'},oggIcon:{extension:".ogg",path:'<g id="surface9" clip-path="url(#clip1)">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/>\n      </g>\n      </defs>\n      <g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/>\n      <use xlink:href="#surface9" mask="url(#mask0)"/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);
vendor: 2,573 bytes, line 1
1fill-opacity:1;" d="M 8.976562 47.070312 C 10.464844 47.070312 11.757812 46.75 12.859375 46.109375 C 13.960938 45.46875 14.808594 44.550781 15.40625 43.351562 C 16.003906 42.15625 16.304688 40.757812 16.304688 39.152344 C 16.304688 37.550781 16.007812 36.152344 15.417969 34.964844 C 14.828125 33.777344 13.980469 32.859375 12.882812 32.21875 C 11.78125 31.578125 10.480469 31.257812 8.976562 31.257812 C 7.472656 31.257812 6.167969 31.578125 5.0625 32.21875 C 3.953125 32.859375 3.101562 33.777344 2.511719 34.964844 C 1.921875 36.152344 1.625 37.550781 1.625 39.152344 C 1.625 40.757812 1.925781 42.15625 2.523438 43.351562 C 3.121094 44.550781 3.972656 45.46875 5.070312 46.109375 C 6.171875 46.75 7.472656 47.070312 8.976562 47.070312 Z M 8.976562 44.820312 C 7.546875 44.820312 6.433594 44.332031 5.640625 43.351562 C 4.847656 42.375 4.449219 40.976562 4.449219 39.152344 C 4.449219 37.332031 4.847656 35.933594 5.640625 34.964844 C 6.433594 33.996094 7.546875 33.507812 8.976562 33.507812 C 10.390625 33.507812 11.496094 33.996094 12.289062 34.964844 C 13.085938 35.933594 13.484375 37.332031 13.484375 39.152344 C 13.484375 40.976562 13.085938 42.375 12.289062 43.351562 C 11.496094 44.332031 10.390625 44.820312 8.976562 44.820312 Z M 26.410156 47.070312 C 27.125 47.070312 27.871094 47.011719 28.640625 46.898438 C 29.414062 46.78125 30.09375 46.621094 30.675781 46.414062 C 31.214844 46.242188 31.574219 46.015625 31.75 45.738281 C 31.921875 45.460938 32.011719 44.988281 32.011719 44.316406 L 32.011719 39.613281 C 32.011719 39.292969 31.910156 39.03125 31.703125 38.835938 C 31.5 38.640625 31.230469 38.539062 30.894531 38.539062 L 27.023438 38.539062 C 26.671875 38.539062 26.398438 38.628906 26.203125 38.804688 C 26.007812 38.976562 25.90625 39.226562 25.90625 39.546875 C 25.90625 39.867188 26.007812 40.117188 26.203125 40.289062 C 26.398438 40.464844 26.671875 40.554688 27.023438 40.554688 L 29.496094 40.554688 L 29.496094 44.425781 C 28.503906 44.703125 27.511719 44.839844 26.519531 44.839844 C 23.195312 44.839844 21.53125 42.945312 21.53125 39.152344 C 21.53125 37.300781 21.9375 35.90625 22.746094 34.964844 C 23.554688 34.023438 24.753906 33.554688 26.34375 33.554688 C 27.046875 33.554688 27.671875 33.644531 28.226562 33.828125 C 28.78125 34.007812 29.378906 34.324219 30.019531 34.777344 C 30.195312 34.894531 30.347656 34.980469 30.480469 35.03125 C 30.609375 35.082031 30.757812 35.105469 30.917969 35.105469 C 31.164062 35.105469 31.375 34.996094 31.550781 34.777344 C 31.726562 34.558594 31.8125 34.289062 31.8125 33.96875 C 31.8125 33.75 3
vendor: 7,442 bytes, line 1
11.773438 33.558594 31.695312 33.398438 C 31.613281 33.238281 31.484375 33.078125 31.3125 32.917969 C 30 31.808594 28.3125 31.257812 26.257812 31.257812 C 24.710938 31.257812 23.371094 31.574219 22.234375 32.207031 C 21.09375 32.84375 20.214844 33.753906 19.597656 34.941406 C 18.976562 36.128906 18.667969 37.535156 18.667969 39.152344 C 18.667969 40.800781 18.976562 42.21875 19.597656 43.40625 C 20.214844 44.597656 21.109375 45.503906 22.277344 46.132812 C 23.441406 46.757812 24.820312 47.070312 26.410156 47.070312 Z M 42.445312 47.070312 C 43.160156 47.070312 43.902344 47.011719 44.675781 46.898438 C 45.449219 46.78125 46.128906 46.621094 46.710938 46.414062 C 47.25 46.242188 47.609375 46.015625 47.78125 45.738281 C 47.957031 45.460938 48.046875 44.988281 48.046875 44.316406 L 48.046875 39.613281 C 48.046875 39.292969 47.941406 39.03125 47.738281 38.835938 C 47.535156 38.640625 47.265625 38.539062 46.929688 38.539062 L 43.058594 38.539062 C 42.707031 38.539062 42.433594 38.628906 42.238281 38.804688 C 42.039062 38.976562 41.941406 39.226562 41.941406 39.546875 C 41.941406 39.867188 42.039062 40.117188 42.238281 40.289062 C 42.433594 40.464844 42.707031 40.554688 43.058594 40.554688 L 45.53125 40.554688 L 45.53125 44.425781 C 44.539062 44.703125 43.546875 44.839844 42.554688 44.839844 C 39.230469 44.839844 37.566406 42.945312 37.566406 39.152344 C 37.566406 37.300781 37.972656 35.90625 38.78125 34.964844 C 39.589844 34.023438 40.789062 33.554688 42.378906 33.554688 C 43.078125 33.554688 43.707031 33.644531 44.261719 33.828125 C 44.816406 34.007812 45.414062 34.324219 46.054688 34.777344 C 46.230469 34.894531 46.382812 34.980469 46.515625 35.03125 C 46.644531 35.082031 46.792969 35.105469 46.953125 35.105469 C 47.199219 35.105469 47.410156 34.996094 47.585938 34.777344 C 47.761719 34.558594 47.847656 34.289062 47.847656 33.96875 C 47.847656 33.75 47.808594 33.558594 47.726562 33.398438 C 47.648438 33.238281 47.519531 33.078125 47.34375 32.917969 C 46.03125 31.808594 44.347656 31.257812 42.292969 31.257812 C 40.746094 31.257812 39.40625 31.574219 38.265625 32.207031 C 37.128906 32.84375 36.25 33.753906 35.632812 34.941406 C 35.011719 36.128906 34.703125 37.535156 34.703125 39.152344 C 34.703125 40.800781 35.011719 42.21875 35.632812 43.40625 C 36.25 44.597656 37.144531 45.503906 38.3125 46.132812 C 39.476562 46.757812 40.855469 47.070312 42.445312 47.070312 Z M 42.445312 47.070312 "/>\n      </g>'},pdfIcon:{extension:".pdf",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.59375 25 L 39.4375 25 C 41.476562 25.003906 43.484375 25.472656 45.3125 26.375 L 45.3125 15.375 C 45.347656 14.191406 44.867188 13.054688 44 12.25 L 34.625 2.875 C 33.875 2.003906 32.773438 1.523438 31.625 1.5625 L 6.625 1.5625 C 5.589844 1.5625 4.75 2.402344 4.75 3.4375 L 4.75 26.375 C 6.566406 25.480469 8.566406 25.007812 10.59375 25 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.71875 L 42.15625 12.5 L 34.53125 12.5 C 34.480469 12.511719 34.425781 12.511719 34.375 12.5 Z M 6.25 25.71875 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.300781 13.980469 32.316406 15.253906 33.75 15.625 C 33.957031 15.675781 34.167969 15.675781 34.375 15.625 L 43.75 15.625 L 43.75 25.71875 C 44.859375 26.09375 45.910156 26.621094 46.875 27.28125 L 46.875 15.375 C 46.964844 13.722656 46.3125 12.117188 45.09375 11 L 35.71875 1.625 C 34.648438 0.523438 33.160156 -0.0664062 31.625 0 L 6.625 0 C 5.703125 -0.015625 4.8125 0.339844 4.152344 0.984375 C 3.496094 1.632812 3.125 2.515625 3.125 3.4375 L 3.125 27.28125 C 4.09375 26.625 5.144531 26.101562 6.25 25.71875 Z M 6.25 25.71875 "/>\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.625 28.125 C 6.335938 28.117188 4.136719 29.023438 2.515625 30.640625 C 0.898438 32.261719 -0.0078125 34.460938 0 36.75 L 0 41.375 C 0 46.136719 3.863281 50 8.625 50 L 41.375 50 C 46.132812 49.984375 49.984375 46.132812 50 41.375 L 50 36.75 C 50 31.988281 46.136719 28.125 41.375 28.125 Z M 8.625 28.125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 14.40625 41.78125 L 12.09375 41.78125 L 12.09375 45.84375 C 12.003906 46.351562 11.5625 46.726562 11.046875 46.726562 C 10.53125 46.726562 10.089844 46.351562 10 45.84375 L 10 34.78125 C 10 34.210938 10.460938 33.75 11.03125 33.75 L 14.40625 33.75 C 15.925781 33.617188 17.390625 34.351562 18.191406 35.648438 C 18.992188 36.945312 18.992188 38.585938 18.191406 39.882812 C 17.390625 41.179688 15.925781 41.914062 14.40625 41.78125 Z M 12.09375 39.6875 L 14.40625 39.6875 C 15.152344 39.78125 15.882812 39.4375 16.289062 38.804688 C 16.691406 38.171875 16.691406 37.359375 16.289062 36.726562 C 15.882812 36.09375 15.152344 35.75 14.40625 35.84375 L 12.09375 35.84375 Z M 12.09375 39.6875 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.3125 45.84375 L 20.3125 34.78125 C 20.3125 34.210938 20.773438 33.75 21.34375 33.75 L 23.5625 33.75 C 27.1875 33.75 30.125 36.6875 30.125 40.3125 C 30.125 43.9375 27.1875 46.875 23.5625 46.875 L 21.34375 46.875 C 20.773438 46.875 20.3125 46.414062 20.3125 45.84375 Z M 22.40625 44.78125 L 23.5625 44.78125 C 26.03125 44.78125 28.03125 42.78125 28.03125 40.3125 C 28.03125 37.84375 26.03125 35.84375 23.5625 35.84375 L 22.40625 35.84375 Z M 22.40625 44.78125 "/>\n      <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 33.1875 45.84375 L 33.1875 34.78125 C 33.183594 34.476562 33.3125 34.1875 33.542969 33.992188 C 33.769531 33.792969 34.074219 33.703125 34.375 33.75 L 40.625 33.75 C 41.132812 33.839844 41.507812 34.28125 41.507812 34.796875 C 41.507812 35.3125 41.132812 35.753906 40.625 35.84375 L 35.25 35.84375 L 35.25 39.28125 L 39.625 39.28125 C 40.195312 39.28125 40.65625 39.742188 40.65625 40.3125 C 40.65625 40.882812 40.195312 41.34375 39.625 41.34375 L 35.25 41.34375 L 35.25 45.84375 C 35.257812 46.359375 34.882812 46.796875 34.375 46.875 C 34.074219 46.921875 33.769531 46.832031 33.542969 46.632812 C 33.3125 46.4375 33.183594 46.148438 33.1875 45.84375 Z M 33.1875 45.84375 "/>\n      </g>'},defaultIcon:{extension:".default",path:'<g id="surface1">\n      <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 3.117188 44.777344 C 1.394531 44.777344 0 43.386719 0 41.671875 L 0 3.484375 C 0 1.769531 1.394531 0.378906 3.117188 0.378906 L 25.792969 0.378906 C 27.164062 0.304688 28.5 0.808594 29.480469 1.765625 L 37.980469 10.230469 C 39.144531 11.242188 39.769531 12.730469 39.683594 14.265625 L 39.683594 41.671875 C 39.683594 43.386719 38.289062 44.777344 36.5625 44.777344 Z M 25.511719 3.203125 L 3.117188 3.203125 C 2.960938 3.203125 2.832031 3.328125 2.832031 3.484375 L 2.832031 41.671875 C 2.832031 41.828125 2.960938 41.957031 3.117188 41.957031 L 36.5625 41.957031 C 36.679688 41.949219 36.785156 41.867188 36.820312 41.757812 L 36.820312 14.492188 L 28.34375 14.492188 C 28.160156 14.539062 27.964844 14.539062 27.777344 14.492188 C 26.480469 14.15625 25.554688 13.007812 25.511719 11.671875 Z M 28.34375 4.640625 L 28.34375 11.671875 C 28.390625 11.683594 28.441406 11.683594 28.488281 11.671875 L 35.402344 11.671875 Z M 28.34375 4.640625 "/>\n      </g>'}},
vendor: 1,414 bytes, line 1
1t.MODULES.modals=function(e){var n=e.$;e.shared.modals||(e.shared.modals={});var a,r=e.shared.modals;function o(){for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)){var t=r[e];t&&t.$modal&&t.$modal.removeData().remove()}a&&a.removeData().remove(),r={}}function i(t,o){if(r[t]){var i=r[t].$modal,s=i.data("instance")||e;s.events.enableBlur(),i.hide(),a.hide(),n(s.o_doc).find("body").first().removeClass("prevent-scroll fr-mobile"),i.removeClass("fr-active"),o||(s.accessibility.restoreSelection(),s.events.trigger("modals.hide"))}}function s(t){var n;if("string"==typeof t){if(!r[t])return;n=r[t].$modal}else n=t;return n&&e.node.hasClass(n,"fr-active")&&e.core.sameInstance(n)||!1}return{_init:function(){e.events.on("shared.destroy",o,!0)},get:function(e){return r[e]},create:function(o,s,l){if(s='<div class="fr-modal-head-line">'.concat(s,"</div>"),e.shared.$overlay||(e.shared.$overlay=n(e.doc.createElement("DIV")).addClass("fr-overlay"),n("body").first().append(e.shared.$overlay)),a=e.shared.$overlay,e.opts.theme&&a.addClass("".concat(e.opts.theme,"-theme")),!r[o]){var c,d,f,p,u=(c=s,d='<div tabIndex="-1" class="fr-modal'.concat(e.opts.theme?" ".concat(e.opts.theme,"-theme"):"",'"><div class="fr-modal-wrapper">'),f='<button title="'.concat(e.language.translate("Cancel"),'" class="fr-command fr-btn fr-modal-close"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 24 24">
1<path d="').concat(t.SVG.close,'"/></svg></button>'),d+='<div class="fr-modal-head">'.concat(c).concat(f,"</div>"),d+='<div tabIndex="-1" class="fr-modal-body">'.concat(l,"</div>"),d+="</div></div>",(p=n(e.doc.createElement("DIV"))).html(d),p.find("> .fr-modal"));r[o]={$modal:u,$head:u.find(".fr-modal-head"),$body:u.find(".fr-modal-body")},e.helpers.isMobile()||u.addClass("fr-desktop"),n("body").first().append(u),e.events.$on(u,"click",".fr-modal-close",function(){i(o)},!0),r[o].$body.css("margin-top",r[o].$head.outerHeight()),e.events.$on(u,"keydown",function(a){var r=a.which;return r===t.KEYCODE.ESC?(i(o),e.accessibility.focusModalButton(u),!1):!(!n(a.currentTarget).is("input[type=text], textarea")&&r!==t.KEYCODE.ARROW_UP&&r!==t.KEYCODE.ARROW_DOWN&&!e.keys.isBrowserAction(a)&&(a.preventDefault(),a.stopPropagation(),1))},!0),i(o,!0)}return r[o]},show:function(t){if(r[t]){var o=r[t].$modal;o.data("instance",e),o.show(),a.show(),n(e.o_doc).find("body").first().addClass("prevent-scroll"),e.helpers.isMobile()&&n(e.o_doc).find("body").first().addClass("fr-mobile"),o.addClass("fr-active"),e.accessibility.focusModal(o)}},hide:i,resize:function(t){if(r[t]){var n=r[t],a=n.$modal,o=n.$body,i=e.o_win.innerHeight,s=a.find(".fr-modal-wrapper"),l=i-s.outerHeight(!0)+(s.height()-(o.outerHeight(!0)-o.height())),c="auto";l<o.get(0).scrollHeight&&(c=l),o.height(c)}},isVisible:s,areVisible:function(e){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&s(t)&&(void 0===e||r[t].$modal.data("instance")===e))return r[t].$modal;return!1}}},t.MODULES.position=function(e){var t=e.$;function n(){var t=e.selection.ranges(0).getBoundingClientRect();if(0===t.top&&0===t.left&&0===t.width||0===t.height){var n=!1;0===e.$el.find(".fr-marker").length&&(e.selection.save(),n=!0);var a=e.$el.find(".fr-marker").first();a.css("display","inline"),a.css("line-height","");var r=a.offset(),o=a.outerHeight();a.css("display","none"),a.css("line-height",0),(t={}).left=r&&r.left,t.width=0,t.height=o,t.top=r&&r.top-(e.helpers.isMobile()&&!e.helpers.isIOS()||e.opts.iframe?0:e.helpers.scrollTop()),t.right=1,t.bottom=1,t.ok=!0,n&&e.selection.restore()}return t}function a(t,n,a,r){var o,i,s=a.data("container");if(!s||"BODY"===s.get(0).tagName&&"static"===s.css("position")||(t&&(t-=s.offset().left),n&&(n-=s.offset().top),"BODY"!==s.get(0).tagName?(t&&(t+=s.get(0).scrollLeft),n&&(n+=s.get(0).scrollTop)):"absolute"===s.css("position")&&(t&&(t+=s.position().left),n&&(n+=s.position().top))),e.opts.iframe&&s&&e.$tb&&s.get(0)!==e.$tb.get(0)){var l=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),c=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));t&&(t+=e.$iframe.offset().left+c),n&&(n+=e.$iframe.offset().top+l)}var d=((o=t)+(i=a.outerWidth(!0))>e.$sc.get(0).clientWidth-10&&(o=e.$sc.get(0).clientWidth-i-10),o<0&&(o=10),o);t&&a.css("left",d),n&&a.css("top",function(t,n,a){var r=t.outerHeight(!0);if(!e.helpers.isMobile()&&e.$tb&&t.parent().get(0)!==e.$tb.get(0)){var o=t.parent().offset().top,i=n-r-(a||0);t.parent().get(0)===e.$sc.get(0)&&(o-=t.parent().position().top);var s=e.$sc.get(0).clientHeight;o+n+r>e.$sc.offset().top+s&&0<t.parent().offset().top+i&&0<i?i>e.$wp.scrollTop()&&(n=i,t.addClass("fr-above")):t.removeClass("fr-above")}return n}(a,n,r))}function r(){if(e._stickyElements)for(var n=0;n<e._stickyElements.length;n++)!function(n){if(n.offsetWidth){var a=t(n),r=a.outerHeight(),o=a.data("sticky-position"),i=t("body"===e.opts.scrollableContainer?e.o_win:e.opts.scrollableContainer).outerHeight(),s=0,l=0;"body"!==e.opts.scrollableContainer&&(s=e.$sc.offset().top,l=t(e.o_win).outerHeight()-s-i);var c="body"===e.opts.scrollableContainer?e.helpers.scrollTop():s,d=a.is(".fr-sticky-on");a.data("sticky-parent")||a.data("sticky-parent",a.parent());var f=a.data("sticky-parent"),p=f.offset().top,u=f.outerHeight();if(a.data("sticky-offset")?e.$box.find(".fr-sticky-dummy").css("height","".concat(r,"px")):(a.data("sticky-offset",!0),a.after('<div class="fr-sticky-dummy" style="height: '.concat(r,'px;"></div>'))),!o){var h="auto"!==a.css("top")||"auto"!==a.css("bottom");h||a.css("position","fixed"),o={top:e.node.hasClass(a.get(0),"fr-top"),bottom:e.node.hasClass(a.get(0),"fr-bottom")},h||a.css("position",""),a.data("sticky-position",o),a.data("top",e.node.hasClass(a.get(0),"fr-top")?a.css("top"):"auto"),a.data("bottom",e.node.hasClass(a.get(0),"fr-bottom")?a.css("bottom"):"auto")}var g=e.helpers.getPX(a.data("top")),m=e.helpers.getPX(a.data("bottom")),v=o.top&&p<c+g&&c+g<=p+u-r&&(e.helpers.isInViewPort(e.$sc.get(0))||"body"===e.opts.scrollableContainer),b=o.bottom&&p+r<c+i-m&&c+i-m<p+u;if(v||b){var C=f.get(0).offsetWidth-f.get(0).clientWidth;a.css("width","".concat(f.get(0).getBoundingClientRect().width-C,"px")),d||(a.addClass("fr-sticky-on"),a.removeClass("fr-sticky-off"),a.css("top")&&("auto"!==a.data("top")?a.css("top",e.helpers.getPX(a.data("top"))+s):a.data("top","auto")),a.css("bottom")&&("auto"!==a.data("bottom")?a.css("bottom",e.helpers.getPX(a.data("bottom"))+l):a.css("bottom","auto")))}else e.node.hasClass(a.get(0),"fr-sticky-off")||(a.css("width",""),a.removeClass("fr-sticky-on"),a.addClass("fr-sticky-off"),a.css("top")&&"auto"!==a.data("top")&&o.top&&a.css("top",0),a.css("bottom")&&"auto"!==a.data("bottom")&&o.bottom&&a.css("bottom",0))}}(e._stickyElements[n])}return{_init:function(){e._stickyElements=[],e.helpers.isIOS()?(function n(){if(e.helpers.requestAnimationFrame()(n),!1!==e.events.trigger("position.refresh"))for(var a=0;a<e._stickyElements.length;
1a++)!function(n){var a=t(n),r=a.is(".fr-sticky-on"),o=a.data("sticky-top"),i=a.data("sticky-scheduled");if(void 0===o){a.data("sticky-top",0);var s=t('<div class="fr-sticky-dummy" style="height: '.concat(a.outerHeight(),'px;"></div>'));e.$box.prepend(s)}else e.$box.find(".fr-sticky-dummy").css("height",a.outerHeight());if(e.core.hasFocus()||0<e.$tb.findVisible("input:focus").length){var l=e.helpers.scrollTop(),c=Math.min(Math.max(l-e.$tb.parent().offset().top,0),e.$tb.parent().outerHeight()-a.outerHeight());if(c!==o&&c!==i&&(clearTimeout(a.data("sticky-timeout")),a.data("sticky-scheduled",c),a.outerHeight()<l-e.$tb.parent().offset().top&&a.addClass("fr-opacity-0"),a.data("sticky-timeout",setTimeout(function(){var t=Math.min(Math.max(e.helpers.scrollTop()-e.$tb.parent().offset().top,0),e.$tb.parent().outerHeight()-a.outerHeight());0<t&&"BODY"===e.$tb.parent().get(0).tagName&&(t+=e.$tb.parent().position().top),t!==o&&(a.css("top",Math.max(t,0)),a.data("sticky-top",t),a.data("sticky-scheduled",t)),a.removeClass("fr-opacity-0")},100))),!r){var d=e.$tb.parent(),f=d.get(0).offsetWidth-d.get(0).clientWidth;a.css("top","0"),a.width(d.width()-f),a.addClass("fr-sticky-on"),e.$box.addClass("fr-sticky-box")}}else clearTimeout(t(n).css("sticky-timeout")),a.css("top","0"),a.css("position",""),a.css("width",""),a.data("sticky-top",0),a.removeClass("fr-sticky-on"),e.$box.removeClass("fr-sticky-box")}(e._stickyElements[a])}(),e.events.$on(t(e.o_win),"scroll",function(){if(e.core.hasFocus())for(var n=0;n<e._stickyElements.length;n++){var a=t(e._stickyElements[n]),r=a.parent(),o=e.helpers.scrollTop();a.outerHeight()<o-r.offset().top&&(a.addClass("fr-opacity-0"),a.data("sticky-top",-1),a.data("sticky-scheduled",-1))}},!0)):("body"!==e.opts.scrollableContainer&&e.events.$on(t(e.opts.scrollableContainer),"scroll",r,!0),e.events.$on(t(e.o_win),"scroll",r,!0),e.events.$on(t(e.o_win),"resize",r,!0),e.events.on("initialized",r),e.events.on("focus",r),e.events.$on(t(e.o_win),"resize","textarea",r,!0)),e.events.on("destroy",function(){e._stickyElements=[]})},forSelection:function(t){var r=n();t.css({top:0,left:0});var o=r.top+r.height,i=r.left+r.width/2-t.get(0).offsetWidth/2+e.helpers.scrollLeft();e.opts.iframe||(o+=e.helpers.scrollTop()),a(i,o,t,r.height)},addSticky:function(t){t.addClass("fr-sticky"),e.helpers.isIOS()&&t.addClass("fr-sticky-ios"),t.removeClass("fr-sticky"),e._stickyElements.push(t.get(0))},refresh:r,at:a,getBoundingRect:n}},t.MODULES.refresh=function(e){var t=e.$;function n(e,t){e.toggleClass("fr-disabled",t).attr("aria-disabled",t)}function a(n){var a,r,o,i,s,l=e.$tb.find('.fr-more-toolbar[data-name="'.concat(n.attr("data-group-name"),'"]')),c=(a=0,(r=l.find("> .fr-command, > .fr-btn-wrap")).each(function(e,n){a+=t(n).outerWidth()}),i=e.helpers.getPX(t(r[0]).css("margin-left")),s=e.helpers.getPX(t(r[0]).css("margin-right")),(o="rtl"===e.opts.direction?e.$tb.outerWidth()-n.offset().left+e.$tb.offset().left-(a+n.outerWidth()+r.length*(i+s))/2:n.offset().left-e.$tb.offset().left-(a-n.outerWidth()+r.length*(i+s))/2)+a+r.length*(i+s)>e.$tb.outerWidth()&&(o-=(a+r.length*(i+s)-n.outerWidth())/2),o<0&&(o=0),o);"rtl"===e.opts.direction?l.css("padding-right",c):l.css("padding-left",c)}return{undo:function(t){n(t,!e.undo.canDo())},redo:function(t){n(t,!e.undo.canRedo())}
vendor: 4,580 bytes, line 1
1,outdent:function(a){if(e.node.hasClass(a.get(0),"fr-no-refresh"))return!1;for(var r=e.selection.blocks(),o=0;o<r.length;o++){var i="rtl"===e.opts.direction||"rtl"===t(r[o]).css("direction")?"margin-right":"margin-left";if("LI"===r[o].tagName||"LI"===r[o].parentNode.tagName||0<e.helpers.getPX(t(r[o]).css(i)))return n(a,!1),!0}n(a,!0)},indent:function(t){if(e.node.hasClass(t.get(0),"fr-no-refresh"))return!1;for(var a=e.selection.blocks(),r=0;r<a.length;r++){for(var o=a[r].previousSibling;o&&o.nodeType===Node.TEXT_NODE&&0===o.textContent.length;)o=o.previousSibling;if("LI"!==a[r].tagName||o)return n(t,!1),!0;n(t,!0)}},moreText:a,moreParagraph:a,moreMisc:a,moreRich:a}},Object.assign(t.DEFAULTS,{attribution:!0,toolbarBottom:!1,toolbarButtons:null,toolbarButtonsXS:null,toolbarButtonsSM:null,toolbarButtonsMD:null,toolbarContainer:null,toolbarInline:!1,toolbarSticky:!0,toolbarStickyOffset:0,toolbarVisibleWithoutSelection:!1}),t.TOOLBAR_BUTTONS={moreText:{buttons:["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","textColor","backgroundColor","inlineClass","inlineStyle","clearFormatting"]},moreParagraph:{buttons:["alignLeft","alignCenter","formatOLSimple","alignRight","alignJustify","formatOL","formatUL","paragraphFormat","paragraphStyle","lineHeight","outdent","indent","quote"]},moreRich:{buttons:["insertLink","insertFiles","insertImage","insertVideo","insertTable","emoticons","fontAwesome","specialCharacters","embedly","insertFile","insertHR"]},moreMisc:{buttons:["undo","redo","fullscreen","print","getPDF","spellChecker","selectAll","html","help"],align:"right",buttonsVisible:2}},t.TOOLBAR_BUTTONS_MD=null,(t.TOOLBAR_BUTTONS_SM={}).moreText=Object.assign({},t.TOOLBAR_BUTTONS.moreText,{buttonsVisible:2}),t.TOOLBAR_BUTTONS_SM.moreParagraph=Object.assign({},t.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:2}),t.TOOLBAR_BUTTONS_SM.moreRich=Object.assign({},t.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:2}),t.TOOLBAR_BUTTONS_SM.moreMisc=Object.assign({},t.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),(t.TOOLBAR_BUTTONS_XS={}).moreText=Object.assign({},t.TOOLBAR_BUTTONS.moreText,{buttonsVisible:0}),t.TOOLBAR_BUTTONS_XS.moreParagraph=Object.assign({},t.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:0}),t.TOOLBAR_BUTTONS_XS.moreRich=Object.assign({},t.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:0}),t.TOOLBAR_BUTTONS_XS.moreMisc=Object.assign({},t.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),t.POWERED_BY='<a id="logo" href="https://froala.com/wysiwyg-editor" target="_blank" title="Froala WYSIWYG HTML Editor"><span>Powered by</span><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 822.8 355.33"><defs><style>.fr-logo{fill:#b1b2b7;}</style></defs><title>Froala</title><path class="fr-logo" d="M123.58,78.65A16.16,16.16,0,0,0,111.13,73H16.6C7.6,73,0,80.78,0,89.94V128.3a16.45,16.45,0,0,0,32.9,0V104.14h78.5A15.63,15.63,0,0,0,126.87,91.2,15.14,15.14,0,0,0,123.58,78.65Z"/><path class="fr-logo" d="M103.54,170a16.05,16.05,0,0,0-11.44-4.85H15.79A15.81,15.81,0,0,0,0,180.93v88.69a16.88,16.88,0,0,0,5,11.92,16,16,0,0,0,11.35,4.7h.17a16.45,16.45,0,0,0,16.41-16.6v-73.4H92.2A15.61,15.61,0,0,0,107.89,181,15.1,15.1,0,0,0,103.54,170Z"/><path class="fr-logo" d="M233,144.17c-5.29-6.22-16-7.52-24.14-7.52-16.68,0-28.72,7.71-36.5,23.47v-5.67a16.15,16.15,0,1,0-32.3,0v115.5a16.15,16.15,0,1,0,32.3,0v-38.7c0-19.09,3.5-63.5,35.9-63.5a44.73,44.73,0,0,1,5.95.27h.12c12.79,1.2,20.06-2.73,21.6-11.69C236.76,151.48,235.78,147.39,233,144.17Z"/><path class="fr-logo" d="M371.83,157c-13.93-13.11-32.9-20.33-53.43-20.33S279,143.86,265.12,157c-14.67,13.88-22.42,32.82-22.42,54.77,0,21.68,8,41.28,22.4,55.2,13.92,13.41,32.85,20.8,53.3,20.8s39.44-7.38,53.44-20.79c14.55-13.94,22.56-33.54,22.56-55.21S386.39,170.67,371.83,157Zm-9.73,54.77c0,25.84-18.38,44.6-43.7,44.6s-43.7-18.76-43.7-44.6c0-25.15,18.38-43.4,43.7-43.4S362.1,186.59,362.1,211.74Z"/><path class="fr-logo" d="M552.7,138.14a16.17,16.17,0,0,0-16,16.3v1C526.41,143.85,509,136.64,490,136.64c-19.83,0-38.19,7.24-51.69,20.4C424,171,416.4,190,416.4,212c0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,552.7,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C513.73,168.34,536.4,183.55,536.4,211.74Z"/><path class="fr-logo" d="M623.5,61.94a16.17,16.17,0,0,0-16,16.3v191.7a16.15,16.15,0,1,0,32.3,0V78.24A16.32,16.32,0,0,0,623.5,61.94Z"/><path class="fr-logo" d="M806.5,138.14a16.17,16.17,0,0,0-16,16.3v1c-10.29-11.
163-27.74-18.84-46.7-18.84-19.83,0-38.19,7.24-51.69,20.4-14.33,14-21.91,33-21.91,55,0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,806.5,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C767.53,168.34,790.2,183.55,790.2,211.74Z"/></svg></a>',t.MODULES.toolbar=function(n){var a,r=n.$,o=[];function i(t){var n={};if(Array.isArray(t)){if(!Array.isArray(t[0])){for(var a=[],r=[],o=0;o<t.length;o++)"|"===t[o]||"-"===t[o]?(0<r.length&&a.push(r),r=[]):r.push(t[o]);0<r.length&&a.push(r),t=a}t.forEach(function(e,t){n["group".concat(t+1)]={buttons:e}}),n.showMoreButtons=!1}else"object"!==e(t)||Array.isArray(t)||((n=t).showMoreButtons=!0);return n}function s(){return o[a=n.helpers.screenSize()]}function l(){for(var e=n.$tb.find(".fr-more-toolbar"),t="",a=0;a<e.length;a++){var o=r(e[a]);o.hasClass("fr-expanded")?function(){var e=n.helpers.getPX(o.css("padding-left")),a=o.find("> .fr-command, > .fr-btn-wrap"),i=r(a[0]),s=n.helpers.getPX(i.css("margin-left")),l=n.helpers.getPX(i.css("margin-right")),c=n.helpers.getPX(i.css("margin-top")),d=n.helpers.getPX(i.css("margin-bottom"));if(a.each(function(t,n){e+=r(n).outerWidth()+s+l}),n.$tb.outerWidth()<e){var f=Math.floor(e/n.$tb.outerWidth());e+=f*(e/o[0].childElementCount),f=Math.ceil(e/n.$tb.outerWidth());var p=(n.helpers.getPX(i.css("height"))+c+d)*f;o.css("height",p),t=p}}():o.css("height","")}n.$tb.css("padding-bottom",t)}function c(){if(a!==n.helpers.screenSize()){var e=s(),o=r(),i=r();for(var c in n.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").addClass("fr-hidden"),function(){for(var e=n.$tb.find(".fr-btn-grp, .fr-more-toolbar"),t=function(t){var n=r(e[t]);n.children().each(function(e,t){n.before(t)}),n.remove()},a=0;a<e.length;a++)t(a)}(),e){var d=e[c];if(d.buttons){var f=void 0,p=0,u=3,h=r('<div class="fr-btn-grp fr-float-'.concat(e[c].align?e[c].align:"left",'"></div>'));e.showMoreButtons&&(f=r('<div class="fr-more-toolbar"></div>').data("name","".concat(c,"-").concat(n.id)));for(var g=0;g<d.buttons.length;g++){void 0!==d.buttonsVisible&&(u=d.buttonsVisible);var m=n.$tb.find('> .fr-command[data-cmd="'+d.buttons[g]+'"], > div.fr-btn-wrap > .fr-command[data-cmd="'+d.buttons[g]+'"]'),v=null;n.node.hasClass(m.next().get(0),"fr-dropdown-menu")&&(v=m.next()),n.node.hasClass(m.next().get(0),"fr-options")&&(m.removeClass("fr-hidden"),m.next().removeClass("fr-hidden"),m=m.parent()),m.removeClass("fr-hidden"),e.showMoreButtons&&u<=p?(f.append(m),v&&f.append(v)):(h.append(m),v&&h.append(v)),p++}if(e.showMoreButtons&&u<p){var b=n.$tb.find('.fr-command[data-cmd="'.concat(c,'"]'));if(0<b.length)b.removeClass("fr-hidden fr-open");else{var C=t.COMMANDS[c];C.more_btn=!0,b=r(n.button.build(c,C,!0)),n.button.addButtons(b)}h.append(b)}o.push(h),e.showMoreButtons&&i.push(f)}}n.opts.toolbarBottom?(n.$tb.append(i),n.$tb.find(".fr-newline").remove(),n.$tb.append('<div class="fr-newline"></div>'),n.$tb.append(o)):(n.$tb.append(o),n.$tb.find(".fr-newline").remove(),n.$tb.append('<div class="fr-newline"></div>'),n.$tb.append(i)),n.$tb.removeClass("fr-toolbar-open"),n.$box.removeClass("fr-toolbar-open"),n.events.trigger("codeView.toggle")}l()}function d(e,a){setTimeout(function(){(!e||e.which!=t.KEYCODE.ESC)&&n.selection.inEditor()&&n.core.hasFocus()&&!n.popups.areVisible()&&"false"!=r(n.selection.blocks()[0]).closest("table").attr("contenteditable")&&(n.opts.toolbarVisibleWithoutSelection||!n.selection.isCollapsed()&&!n.keys.isIME()||a)&&(n.$tb.data("instance",n),!1!==n.events.trigger("toolbar.show",[e])&&(n.$tb.show(),n.opts.toolbarContainer||n.position.forSelection(n.$tb),1<n.opts.zIndex?n.$tb.css("z-index",n.opts.zIndex+1):n.$tb.css("z-index",null)))},0)}function f(e){return(!e||"blur"!==e.type||document.activeElement!==n.el)&&(!(!e||"keydown"!==e.type||!n.keys.ctrlKey(e))||!!n.button.getButtons(".fr-dropdown.fr-active").next().find(n.o_doc.activeElement).length||void(!1!==n.events.trigger("toolbar.hide")&&n.$tb.hide()))}o[t.XS]=i(n.opts.toolbarButtonsXS||n.opts.toolbarButtons||t.TOOLBAR_BUTTONS_XS||t.TOOLBAR_BUTTONS||[]),o[t.SM]=i(n.opts.toolbarButtonsSM||n.opts.toolbarButtons||t.TOOLBAR_BUTTONS_SM||t.TOOLBAR_BUTTONS||[]),o[t.MD]=i(n.opts.toolbarButtonsMD||n.opts.toolbarButtons||t.TOOLBAR_BUTTONS_MD||t.TOOLBAR_BUTTONS||[]),o[t.LG]=i(n.opts.toolbarButtons||t.TOOLBAR_BUTTONS||[]);var p=null;function u(e){clearTimeout(p),e&&e.which===t.KEYCODE.ESC||(p=setTimeout(d,n.opts.typingTimer))}function h(){n.events.on("window.mousedown",f),n.events.on("keydown",f),n.events.on("blur",f),n.events.$on(n.$tb,"transitionend",".fr-more-toolbar",function(){n.position.forSelection(n.$tb)}),n.helpers.isMobile()||n.events.on("window.mouseup",d),n.helpers.isMobile()?n.helpers.isIOS()||(n.events.on("window.touchend",d),n.browser.mozilla&&setInterval(d,200)):n.events.on("window.keyup",u),n.events.on("keydown",function(e){e&&e.which===t.KEYCODE.ESC&&f()}),n.events.on("keydown",function(e){if(e.which===t.KEYCODE.ALT)return e.stopPropagation(),!1},!0),n.events.$on(n.$wp,"scroll.toolbar",d),n.events.on("commands.after",d),n.helpers.isMobile()&&(n.events.$on(n.$doc,"selectionchange",u),n.events.$on(n.$doc,"orientationchange",d))}function g(){n.$tb.html("").removeData().remove(),n.$tb=null,n.$second_tb&&(n.$second_tb.html("").removeData().remove(),n.$second_tb=null)}function m(){n.$box.removeClass("fr-top fr-bottom fr-inline fr-basic"),n.$box.find(".fr-sticky-dummy").remove()}function v(){var e;n.opts.theme&&n.$tb.addClass("".concat(n.opts.theme,"-theme")),1<n.opts.zIndex&&n.$tb.css("z-index",n.opts.zIndex+1),"auto"!==n.opts.direction&&n.$tb.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(n.opts.direction)),n.helpers.isMobile()?n.$tb.addClass("fr-mobile"):n.$tb.addClass("fr-desktop"),n.opts.toolbarContainer?(n.opts.toolbarInline&&(h(),f()),n.opts.toolbarBottom?n.$tb.addClass("fr-bottom"):n.$tb.addClass("fr-top")):n.opts.toolbarInline?(n.$sc.append(n.$tb),n.$tb.data("container",n.$sc),n.$tb.addClass("fr-inline"),h(),n.opts.toolbarBottom=!1):(n.opts.toolbarBottom&&!n.helpers.isIOS()?(n.$box.append(n.$tb),n.$tb.addClass("fr-bottom"),n.$box.addClass("fr-bottom")):(n.opts.toolbarBottom=!1,n.$box.prepend(n.$tb),n.$tb.addClass("fr-top"),n.$box.addClass("fr-top")),n.$tb.addClass("fr-basic"),n.opts.toolbarSticky&&(n.opts.toolbarStickyOffset&&(n.opts.toolbarBottom?n.$tb.css("bottom",n.opts.toolbarStickyOffset):n.$tb.css("top",n.opts.toolbarStickyOffset)),n.position.addSticky(n.$tb))),e=n.button.buildGroup(s()),n.$tb.append(e),l(),n.button.bindCommands(n.$tb),n.events.$on(r(n.o_win),"resize",c),n.events.$on(r(n.o_win),"orientationchange",c),n.accessibility.registerToolbar(n.$tb),n.events.$on(n.$tb,"".concat(n._mousedown," ").concat(n._mouseup),function(e){var t=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;if(t&&"INPUT"!==t.tagName&&!n.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1},!0),n.helpers.isMobile()&&n.events.$on(n.$tb,"click",function(){n.$el.focus()}),n.events.$on(n.$tb,"transitionend",".fr-more-toolbar",function(){n.$box.hasClass("fr-fullscreen")&&(n.opts.height=n.o_win.innerHeight-(n.opts.toolbarInline?0:n.$tb.outerHeight()+(n.$second_tb?n.$second_tb.outerHeight():0)),n.size.refresh())})}var b=!1;return{_init:function(){if(n.$sc=r(n.opts.scrollableContainer).first(),!n.$wp)return!1;n.opts.toolbarInline||n.opts.toolbarBottom||(n.$second_tb=r(n.doc.createElement("div")).attr("class","second-toolbar"),n.$box.append(n.$second_tb),(!1!==n.ul||n.opts.attribution)&&n.$second_tb.prepend(t.POWERED_BY)),n.opts.toolbarContainer?(n.shared.$tb?(n.$tb=n.shared.$tb,n.opts.toolbarInline&&h()):(n.shared.$tb=r(n.doc.createElement("DIV")),n.shared.$tb.addClass("fr-toolbar"),n.$tb=n.shared.$tb,r(n.opts.toolbarContainer).append(n.$tb),v(),n.$tb.data("instance",n)),n.opts.toolbarInline?n.$box.addClass("fr-inline"):n.$box.addClass("fr-basic"),n.events.on("focus",function(){n.$tb.data("instance",n)},!0),n.opts.toolbarInline=!1):n.opts.toolbarInline?(n.$box.addClass("fr-inline"),n.shared.$tb?(n.$tb=n.shared.$tb,h()):(n.shared.$tb=r(n.doc.createElement("DIV")),n.shared.$tb.addClass("fr-toolbar"),n.$tb=n.shared.$tb,v())):(n.$box.addClass("fr-basic"),n.$tb=r(n.doc.createElement("DIV")),n.$tb.addClass("fr-toolbar"),v(),n.$tb.data("instance",n)),n.events.on("destroy",m,!0),n.events.on(n.opts.toolbarInline||n.opts.toolbarContainer?"shared.destroy":"destroy",g,!0),n.events.on("edit.on",function(){n.$tb.removeClass("fr-disabled").removeAttr("aria-disabled")}),n.events.on("edit.off",function(){n.$tb.addClass("fr-disabled").attr("aria-disabled",!0)}),n.events.on("shortcut",function(e,t,a){var r;
1if(t&&!a?r=n.$tb.find('.fr-command[data-cmd="'.concat(t,'"]')):t&&a&&(r=n.$tb.find('.fr-command[data-cmd="'.concat(t,'"][data-param1="').concat(a,'"]'))),r.length&&(e.preventDefault(),e.stopPropagation(),r.parents(".fr-toolbar").data("instance",n),"keydown"===e.type))return n.button.exec(r),!1})},hide:f,show:function(){if(!1===n.events.trigger("toolbar.show"))return!1;n.$tb.show()},showInline:d,disable:function(){!b&&n.$tb&&(n.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").addClass("fr-disabled fr-no-refresh").attr("aria-disabled",!0),b=!0)},enable:function(){b&&n.$tb&&(n.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").removeClass("fr-disabled fr-no-refresh").attr("aria-disabled",!1),b=!1),n.button.bulkRefresh()},setMoreToolbarsHeight:l}};var a=["scroll","wheel","touchmove","touchstart","touchend"],r=["webkit","moz","ms","o"],o=["transitionend"],i=document.createElement("div").style,s=["Webkit","Moz","ms","O","css","style"],l={visibility:"hidden",display:"block"},c=["focus","blur","click"],d={},f=function(e,t){return{altKey:e.altKey,bubbles:e.bubbles,cancelable:e.cancelable,changedTouches:e.changedTouches,ctrlKey:e.ctrlKey,detail:e.detail,eventPhase:e.eventPhase,metaKey:e.metaKey,pageX:e.pageX,pageY:e.pageY,shiftKey:e.shiftKey,view:e.view,char:e.char,key:e.key,keyCode:e.keyCode,button:e.button,buttons:e.buttons,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,pointerId:e.pointerId,pointerType:e.pointerType,screenX:e.screenX,screenY:e.screenY,targetTouches:e.targetTouches,toElement:e.toElement,touches:e.touches,type:e.type,which:e.which,target:e.target,currentTarget:t,originalEvent:e,stopPropagation:function(){e.stopPropagation()},stopImmediatePropagation:function(){e.stopImmediatePropagation()},preventDefault:function(){-1===a.indexOf(e.type)&&e.preventDefault()}}},p=function(e,t){return function(n){var a,r=n.target;if(t)for(t=h(t);r&&r!==this;)r.matches&&r.matches(h(t))&&e.call(r,f(n,r)),r=r.parentNode;else((a=r).ownerDocument&&a.ownerDocument.body.contains(a)||"#document"===a.nodeName||"HTML"===a.nodeName||a===window)&&e.call(r,f(n,r))}},u=function(e,t){return new m(e,t)},h=function(e){return e&&"string"==typeof e?e.replace(/^\s*>/g,":scope >").replace(/,\s*>/g,", :scope >"):e},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType};u.fn=u.prototype={constructor:u,length:0,contains:function(e){if(!e)return!1;if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(this.contains(e[t])&&this!=e[t])return!0;return!1}for(var n=0;n<this.length;n++)for(var a=e;a;){if(a==this[n]||a[0]&&a[0].isEqualNode(this[n]))return!0;a=a.parentNode}return!1},findVisible:function(e){for(var t=this.find(e),n=t.length-1;0<=n;n--)u(t[n]).isVisible()||t.splice(n,1);return t},formatParams:function(e){return"".concat(Object.keys(e).map(function(t){return"".concat(t,"=").concat(encodeURIComponent(e[t]))}).join("&"))||""},ajax:function(e){var t=new XMLHttpRequest,n=this.formatParams(e.data);for(var a in"GET"===e.method.toUpperCase()&&(e.url=n?e.url+"?"+n:e.url),t.open(e.method,e.url,!0),e.withCredentials&&(t.withCredentials=!0),e.crossDomain&&t.setRequestHeader("Access-Control-Allow-Origin","*"),e.headers)Object.prototype.hasOwnProperty.call(e.headers,a)&&t.setRequestHeader(a,e.headers[a]);Object.prototype.hasOwnProperty.call(e.headers,"Content-Type")||("json"===e.dataType?t.setRequestHeader("Content-Type","application/json"):t.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8")),t.onload=function(){if(200==t.status){var n=t.responseText;"json"===e.dataType&&(n=JSON.parse(n)),e.done(n,t.status,t)}else e.fail(t)},t.send(n)},prevAll:function(){var e=u();if(!this[0])return e;for(var t=this[0];t&&t.previousSibling;)t=t.previousSibling,e.push(t);return e},index:function(e){return e?"string"==typeof e?[].indexOf.call(u(e),this[0]):[].indexOf.call(this,e.length?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},isVisible:function(){return!!this[0]&&!!(this[0].offsetWidth||this[0].offsetHeight||this[0].getClientRects().length)},toArray:function(){return[].slice.call(this)},get:function(e){return null==e?[].slice.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=u.merge(this.constructor(),e);
vendor: 6,724 bytes, line 1
1return t.prevObject=this,t},wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=u(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){if("string"==typeof e){for(var t=e.split(" "),n=0;n<t.length&&0===t[n].trim().length;)n++;if(n<t.length&&(u(e).length&&t[n].trim()===u(e)[0].tagName&&(e=document.createElement(t[n].trim())),n++),"string"!=typeof e)for(var a=u(e);n<t.length;n++){t[n]=t[n].trim();var r=t[n].split("=");a.attr(r[0],r[1].replace('"',""))}}for(;!this[0].firstChild&&this[0].firstChild!==e;)e.appendChild(this[0].firstChild)},wrap:function(e){var t=g(e);return this.each(function(n){u(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){this.nodeName&&this.nodeName.toLowerCase()===name.toLowerCase()||u(this).replaceWith(this.childNodes)})},grep:function(e,t,n){for(var a=[],r=0,o=e.length,i=!n;r<o;r++)!t(e[r],r)!==i&&a.push(e[r]);return a},map:function(e){return this.pushStack(u.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack([].slice.apply(this,arguments))},each:function(e){if(this.length)for(var t=0;t<this.length&&!1!==e.call(this[t],t,this[t]);t++);return this},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},empty:function(){for(var e=0;e<this.length;e++)this[e].innerHTML=""},contents:function(){for(var e=u(),t=0;t<this.length;t++)for(var n=this[t].childNodes,a=0;a<n.length;a++)e.push(n[a]);return e},attr:function(t,n){if("object"===e(t)){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&null!==t[a]&&this.attr(a,t[a]);return this}if(void 0===n)return 0!==this.length&&(this[0].getAttribute||"checked"===t)?"checked"===t?this[0].checked:"tagName"===t?this[0].tagName:this[0].getAttribute(t):void 0;if("checked"===t)for(var r=0;r<this.length;r++)this[r].checked=n;else if("tagName"===t)for(var o=0;o<this.length;o++)this[o].tagName=n;else for(var i=0;i<this.length;i++)this[i].setAttribute(t,n);return this},removeAttr:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute&&this[t].removeAttribute(e);return this},hide:function(){return this.css("display","none"),this},show:function(){return this.css("display","block"),this},focus:function(){return this.length&&this[0].focus(),this},blur:function(){return this.length&&this[0].blur(),this},data:function(t,n){if(void 0!==n){for(var a=0;a<this.length;a++)"object"!==e(this[a]["data-"+t]=n)&&"function"!=typeof n&&this[a].setAttribute&&this[a].setAttribute("data-"+t,n);return this}if(void 0!==n)return this.attr("data-"+t,n);if(0!==this.length)for(var r=0;r<this.length;r++){var o=this[r]["data-"+t];if(null==o&&this[r].getAttribute&&(o=this[r].getAttribute("data-"+t)),void 0!==o&&null!=o)return o}},removeData:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute&&this[t].removeAttribute("data-"+e),this[t]["data-"+e]=null;return this},getCorrectStyleName:function(e){if(!d[e]){var t;e in i&&(t=e);for(var n=e[0].toUpperCase()+e.slice(1),a=s.length;a--;)(e=s[a]+n)in i&&(t=e);d[e]=t}return d[e]},css:function(e,t){if(void 0!==t){if(0===this.length)return this;("string"!=typeof t||""===t.trim()||isNaN(t))&&"number"!=typeof t||!/(margin)|(padding)|(height)|(width)|(top)|(left)|(right)|(bottom)/gi.test(e)||/(line-height)/gi.test(e)||(t+="px");for(var n=0;n<this.length;n++)e=u(this).getCorrectStyleName(e),this[n].style[e]=t;return this}if("string"==typeof e){if(0===this.length)return;var a=this[0].ownerDocument||document,r=a.defaultView||a.parentWindow;return e=u(this).getCorrectStyleName(e),r.getComputedStyle(this[0])[e]}for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&this.css(o,e[o]);return this},toggleClass:function(e,t){if(1<e.split(" ").length){for(var n=e.split(" "),a=0;a<n.length;a++)this.toggleClass(n[a],t);return this}for(var r=0;r<this.length;r++)void 0===t?this[r].classList.contains(e)?this[r].classList.remove(e):this[r].classList.add(e):t?this[r].classList.contains(e)||this[r].classList.add(e):this[r].classList.contains(e)&&this[r].classList.remove(e);return this},addClass:function(e){if(0===e.length)return this;if(1<e.split(" ").length){for(var t=e.split(" "),n=0;n<t.length;n++)this.addClass(t[n]);return this}for(var a=0;a<this.length;a++)this[a].classList.add(e);return this},removeClass:function(e){if(1<e.split(" ").length){for(var t=e.split(" "),n=0;n<t.length;n++)t[n]=t[n].trim(),t[n].length&&this.removeClass(t[n]);return this}for(var a=0;a<this.length;a++)e.length&&this[a].classList.remove(e);return this},getClass:function(e){return e.getAttribute&&e.getAttribute("class")||""},stripAndCollapse:function(e){return(e.match(/[^\x20\t\r\n\f]+/g)||[]).join(" ")},hasClass:function(e){var t,n,a=0;for(t=" "+e+" ";n=this[a++];)if(1===n.nodeType&&-1<(" "+u(this).stripAndCollapse(u(this).getClass(n))+" ").indexOf(t))return!0;return!1},scrollTop:function(e){if(void 0===e)return 0===this.length?void 0:this[0]===document?document.documentElement.scrollTop:this[0].scrollTop;for(var t=0;t<this.length;t++)this[t]===document?window.scrollTo(document.documentElement.scrollLeft,e):this[t].scrollTop=e},scrollLeft:function(e){if(void 0===e)return 0===this.length?void 0:this[0]===document?document.documentElement.scrollLeft:this[0].scrollLeft;for(var t=0;t<this.length;t++)this[t]===document?window.scrollTo(e,document.documentElement.scrollTop):this[t].scrollLeft=e},on:function(e,t,n){if(1<e.split(" ").length){for(var i=e.split(" "),s=0;s<i.length;s++)if(-1!==o.indexOf(e))for(var l=0;l<r.length;l++)this.on(r[l]+e[0].toUpperCase()+e.slice(1),t,n);else this.on(i[s],t,n);return this}n="function"==typeof t?p(t,null):p(n,t);for(var c=0;c<this.length;c++){var d=u(this[c]);d.data("events")||d.data("events",[]),d.data("events").push([e,n]);var f=e.split(".");f=f[0],0<=a.indexOf(f)?d.get(0).addEventListener(f,n,{passive:!0}):d.get(0).addEventListener(f,n)}},off:function(e){if(1<e.split(" ").length){for(var t=e.split(" "),n=0;n<t.length;n++)this.off(t[n]);return this}for(var a=0;a<this.length;a++){var r=u(this[a]);if(r.data("events")){var o=e.split(".");o=o[0];for(var i=r.data("events")||[],s=i.length-1;0<=s;s--){var l=i[s];l[0]==e&&(r.get(0).removeEventListener(o,l[1]),i.splice(s,1))}}}},trigger:function(e){for(var t=0;t<this.length;t++){var n=void 0;"function"==typeof Event?n=0<=e.search(/^mouse/g)?new MouseEvent(e,{view:window,cancelable:!0,bubbles:!0}):new Event(e):0<=e.search(/^mouse/g)?(n=document.createEvent("MouseEvents")).initMouseEvent(e,!0,!0,window,0,0,0,0,0,!1,!1,
vendor: 4,820 bytes, line 1
1!1,!1,0,null):(n=document.createEvent("Event")).initEvent(e,!0,!0),0<=c.indexOf(e)&&"function"==typeof this[t][e]?this[t][e]():this[t].dispatchEvent(n)}},triggerHandler:function(){},val:function(e){if(void 0===e)return this[0].value;for(var t=0;t<this.length;t++)this[t].value=e;return this},siblings:function(){return u(this[0]).parent().children().not(this)},find:function(t){var n=u();if("string"!=typeof t){for(var a=0;a<t.length;a++)for(var r=0;r<this.length;r++)if(this[r]!==t[a]&&u(this[r]).contains(t[a])){n.push(t[a]);break}return n}t=h(t);for(var o=0;o<this.length;o++)if(this[o].querySelectorAll){var i,s=[];t&&"string"==typeof t?s=this[o].querySelectorAll(t):(i=t,("object"===("u"<typeof HTMLElement?"undefined":e(HTMLElement))?i instanceof HTMLElement:i&&"object"===e(i)&&null!==i&&1===i.nodeType&&"string"==typeof i.nodeName)&&(s=[t]));for(var l=0;l<s.length;l++)n.push(s[l])}return n},children:function(){for(var e=u(),t=0;t<this.length;t++)for(var n=this[t].children,a=0;a<n.length;a++)e.push(n[a]);return e},not:function(e){if("string"==typeof e)for(var t=this.length-1;0<=t;t--)this[t].matches(e)&&this.splice(t,1);else if(e instanceof u){for(var n=this.length-1;0<=n;n--)for(var a=0;a<e.length;a++)if(this[n]===e[a]){this.splice(n,1);break}}else for(var r=this.length-1;0<=r;r--)this[r]===e[0]&&this.splice(r,1);return this},add:function(e){for(var t=0;t<e.length;t++)this.push(e[t]);return this},closest:function(e){for(var t=0;t<this.length;t++){var n=this[t].closest&&this[t].closest(e);if(n)return u(n)}return u()},html:function(e){if(void 0===e)return 0===this.length?void 0:this[0].innerHTML;if("string"==typeof e)for(var t=0;t<this.length;t++){this[t].innerHTML=e;for(var n=this[t].children,a=this[t].ownerDocument||document,r=0;r<n.length;r++)if("SCRIPT"===n[r].tagName){var o=a.createElement("script");o.innerHTML=n[r].innerHTML,a.head.appendChild(o).parentNode.removeChild(o)}}else{this[0].innerHTML="",this.append(e[0]);var i=this[0].ownerDocument||document;if("SCRIPT"===e[0].tagName){var s=i.createElement("script");s.innerHTML=e[0].innerHTML,i.head.appendChild(s).parentNode.removeChild(s)}}return this},text:function(e){if(!e)return this.length?this[0].textContent:"";for(var t=0;t<this.length;t++)this[t].textContent=e},after:function(e){if(e)if("string"==typeof e)for(var t=0;t<this.length;t++){var n=this[t];if(n.nodeType!=Node.ELEMENT_NODE){var a=n.ownerDocument.createElement("SPAN");u(n).after(a),u(a).after(e).remove()}else n.insertAdjacentHTML("afterend",e)}else{var r=this[0];if(r.nextSibling)if(e instanceof u)for(var o=0;o<e.length;o++)r.nextSibling.parentNode.insertBefore(e[o],r.nextSibling);else r.nextSibling.parentNode.insertBefore(e,r.nextSibling);else u(r.parentNode).append(e)}return this},clone:function(e){for(var t=u(),n=0;n<this.length;n++)t.push(this[n].cloneNode(e));return t},replaceWith:function(e){if("string"==typeof e)for(var t=0;t<this.length;t++)this[t].parentNode&&(this[t].outerHTML=e);else if(e.length)for(var n=0;n<this.length;n++)this.replaceWith(e[n]);else this.after(e).remove()},insertBefore:function(e){return u(e).before(this[0]),this},before:function(e){if(e instanceof u){for(var t=0;t<e.length;t++)this.before(e[t]);return this}if(e)if("string"==typeof e)for(var n=0;n<this.length;n++){var a=this[n];if(a.nodeType!=Node.ELEMENT_NODE){var r=a.ownerDocument.createElement("SPAN");u(a).before(r),u(r).before(e).remove()}else a.parentNode&&a.insertAdjacentHTML("beforebegin",e)}else{var o=this[0];if(o.parentNode)if(e instanceof u)for(var i=0;i<e.length;i++)o.parentNode.insertBefore(e[i],o);else o.parentNode.insertBefore(e,o)}return this},append:function(e){if(0==this.length)return this;if("string"==typeof e)for(var t=0;t<this.length;t++){var n=this[t],a=n.ownerDocument.createElement("SPAN");u(n).append(a),u(a).after(e).remove()}else if(e instanceof u||Array.isArray(e))for(var r=0;r<e.length;r++)this.append(e[r]);else"function"!=typeof e&&this[0].appendChild(e);return this},prepend:function(e){if(0==this.length)return this;if("string"==typeof e)for(var t=0;t<this.length;t++){var n=this[t],a=n.ownerDocument.createElement("SPAN");u(n).prepend(a),u(a).before(e).remove()}else if(e instanceof u)for(var r=0;r<e.length;r++)this.prepend(e[r]);else{var o=this[0];o.firstChild?o.firstChild?o.insertBefore(e,o.firstChild):o.appendChild(e):u(o).append(e)}return this},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},prev:function(){return this.length&&this[0].previousElementSibling?u(this[0].previousElementSibling):u()},next:function(){return this.length&&this[0].nextElementSibling?u(this[0].nextElementSibling):u()},nextAllVisible:function(){return this.next()},prevAllVisible:function(){return this.prev()},outerHeight:function(e){if(0!==this.length){var t=this[0];
vendor: 4,810 bytes, line 1
1if(t===t.window)return t.innerHeight;var n={},a=this.isVisible();if(!a)for(var r in l)n[r]=t.style[r],t.style[r]=l[r];var o=t.offsetHeight;if(e&&(o+=parseInt(u(t).css("marginTop"))+parseInt(u(t).css("marginBottom"))),!a)for(var i in l)t.style[i]=n[i];return o}},outerWidth:function(e){if(0!==this.length){var t=this[0];if(t===t.window)return t.outerWidth;var n={},a=this.isVisible();if(!a)for(var r in l)n[r]=t.style[r],t.style[r]=l[r];var o=t.offsetWidth;if(e&&(o+=parseInt(u(t).css("marginLeft"))+parseInt(u(t).css("marginRight"))),!a)for(var i in l)t.style[i]=n[i];return o}},width:function(e){if(void 0===e)return this[0]instanceof HTMLDocument?this[0].body.offsetWidth:this[0].offsetWidth;this[0].style.width=e+"px"},height:function(e){var t=this[0];if(void 0===e){if(t instanceof HTMLDocument){var n=t.documentElement;return Math.max(t.body.scrollHeight,n.scrollHeight,t.body.offsetHeight,n.offsetHeight,n.clientHeight)}return t.offsetHeight}t.style.height=e+"px"},is:function(e){return 0!==this.length&&("string"==typeof e&&this[0].matches?this[0].matches(e):e instanceof u?this[0]==e[0]:this[0]==e)},parent:function(){return 0===this.length?u():u(this[0].parentNode)},parents:function(e){for(var t=u(),n=0;n<this.length;n++)for(var a=this[n].parentNode;a&&a!=document&&a.matches;)e?a.matches(e)&&t.push(a):t.push(a),a=a.parentNode;return t},parentsUntil:function(e,t){var n=u();e instanceof u&&0<e.length&&(e=e[0]);for(var a=0;a<this.length;a++)for(var r=this[a].parentNode;r&&r!=document&&r.matches&&r!=e&&this[a]!=e&&("string"!=typeof e||!r.matches(e));)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentNode;return n},insertAfter:function(e){var t=e.parent()[0];t&&t.insertBefore(this[0],e[0].nextElementSibling)},filter:function(e){var t=u();if("function"==typeof e)for(var n=0;n<this.length;n++)e.call(this[n],this[n])&&t.push(this[n]);else if("string"==typeof e)for(var a=0;a<this.length;a++)this[a].matches(e)&&t.push(this[a]);return t},offset:function(){var e=this[0].getBoundingClientRect(),t=this[0].ownerDocument.defaultView;return{top:e.top+t.pageYOffset,left:e.left+t.pageXOffset}},position:function(){return{left:this[0].offsetLeft,top:this[0].offsetTop}},push:[].push,splice:[].splice},u.extend=function(e){e=e||{};for(var t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e},u.merge=function(e,t){for(var n=+t.length,a=0,r=e.length;a<n;a++)e[r++]=t[a];return e.length=r,e},u.map=function(e,t,n){var a,r,o=0,i=[];if(Array.isArray(e))for(a=e.length;o<a;o++)null!=(r=t(e[o],o,n))&&i.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&i.push(r);return[].concat.apply([],i)};var m=function(e,t){if(!e)return this;if("string"==typeof e&&"<"===e[0]){var n=document.createElement("DIV");return n.innerHTML=e,u(n.firstElementChild)}if(t=t instanceof u?t[0]:t,"string"!=typeof e)return e instanceof u?e:(this[0]=e,this.length=1,this);e=h(e);for(var a=(t||document).querySelectorAll(e),r=0;r<a.length;r++)this[r]=a[r];return this.length=a.length,this};function v(){this.doc=this.$el.get(0).ownerDocument,this.win="defaultView"in this.doc?this.doc.defaultView:this.doc.parentWindow,this.$doc=u(this.doc),this.$win=u(this.win),this.opts.pluginsEnabled||(this.opts.pluginsEnabled=Object.keys(t.PLUGINS)),this.opts.initOnClick?(this.load(t.MODULES),this.$el.on("touchstart.init",function(){u(this).data("touched",!0)}),this.$el.on("touchmove.init",function(){u(this).removeData("touched")}),this.$el.on("mousedown.init touchend.init dragenter.init focus.init",(function(e){if("touchend"===e.type&&!this.$el.data("touched"))return!0;if(1===e.which||!e.which){this.$el.off("mousedown.init touchstart.init touchmove.init touchend.init dragenter.init focus.init"),this.load(t.MODULES),this.load(t.PLUGINS);var n=e.originalEvent&&e.originalEvent.originalTarget;if(n&&"IMG"===n.tagName&&u(n).trigger("mousedown"),void 0===this.ul&&this.destroy(),"touchend"===e.type&&this.image&&e.originalEvent&&e.originalEvent.target&&u(e.originalEvent.target).is("img")){var a=this;setTimeout(function(){a.image.edit(u(e.originalEvent.target))},100)}this.ready=!0,this.events.trigger("initialized")}}).bind(this)),this.events.trigger("initializationDelayed")):(this.load(t.MODULES),this.load(t.PLUGINS),u(this.o_win).scrollTop(this.c_scroll),void 0===this.ul&&this.destroy(),this.ready=!0,this.events.trigger("initialized"))}if(m.prototype=u.prototype,t.Bootstrap=function(n,a,r){this.id=++t.ID,this.$=u;var o={};"function"==typeof a&&(r=a,a={}),r&&(a.events||(a.events={}),a.events.initialized=r),a&&a.documentReady&&(o.toolbarButtons=[["fullscreen","undo","redo","getPDF","print"],["bold","italic","underline","textColor","backgroundColor","clearFormatting"],["alignLeft","alignCenter","alignRight","alignJustify"],["formatO
1L","formatUL","indent","outdent"],["paragraphFormat"],["fontFamily"],["fontSize"],["insertLink","insertImage","quote"]],o.paragraphFormatSelection=!0,o.fontFamilySelection=!0,o.fontSizeSelection=!0,o.placeholderText="",o.quickInsertEnabled=!1,o.charCounterCount=!1),this.opts=Object.assign({},Object.assign({},t.DEFAULTS,o,"object"===e(a)&&a));var i=JSON.stringify(this.opts);t.OPTS_MAPPING[i]=t.OPTS_MAPPING[i]||this.id,this.sid=t.OPTS_MAPPING[i],t.SHARED[this.sid]=t.SHARED[this.sid]||{},this.shared=t.SHARED[this.sid],this.shared.count=(this.shared.count||0)+1,this.$oel=u(n),this.$oel.data("froala.editor",this),this.o_doc=n.ownerDocument,this.o_win="defaultView"in this.o_doc?this.o_doc.defaultView:this.o_doc.parentWindow,this.c_scroll=u(this.o_win).scrollTop(),this._init()},t.Bootstrap.prototype._init=function(){var e=this.$oel.get(0).tagName;this.$oel.closest("label").length;var t=(function(){"TEXTAREA"!==e&&(this._original_html=this._original_html||this.$oel.html()),this.$box=this.$box||this.$oel,this.opts.fullPage&&(this.opts.iframe=!0),this.opts.iframe?(this.$iframe=u('<iframe src="about:blank" frameBorder="0">'),this.$wp=u("<div></div>"),this.$box.html(this.$wp),this.$wp.append(this.$iframe),this.$iframe.get(0).contentWindow.document.open(),this.$iframe.get(0).contentWindow.document.write("<!DOCTYPE html>"),this.$iframe.get(0).contentWindow.document.write("<html><head></head><body></body></html>"),this.$iframe.get(0).contentWindow.document.close(),this.iframe_document=this.$iframe.get(0).contentWindow.document,this.$el=u(this.iframe_document.querySelector("body")),this.el=this.$el.get(0),this.$head=u(this.iframe_document.querySelector("head")),this.$html=u(this.iframe_document.querySelector("html"))):(this.$el=u(this.o_doc.createElement("DIV")),this.el=this.$el.get(0),this.$wp=u(this.o_doc.createElement("DIV")).append(this.$el),this.$box.html(this.$wp)),setTimeout(v.bind(this),0)}).bind(this),n=(function(){this.$box=u("<div>"),this.$oel.before(this.$box).hide(),this._original_html=this.$oel.val();var e=this;this.$oel.parents("form").on("submit.".concat(this.id),function(){e.events.trigger("form.submit")}),this.$oel.parents("form").on("reset.".concat(this.id),function(){e.events.trigger("form.reset")}),t()}).bind(this),a=(function(){this.$el=this.$oel,this.el=this.$el.get(0),this.$el.attr("contenteditable",!0).css("outline","none").css("display","inline-block"),this.opts.multiLine=!1,this.opts.toolbarInline=!1,setTimeout(v.bind(this),0)}).bind(this),r=(function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,setTimeout(v.bind(this),0)}).bind(this),o=(function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,this.$oel.on("click.popup",function(e){e.preventDefault()}),setTimeout(v.bind(this),0)}).bind(this);this.opts.editInPopup?o():"TEXTAREA"===e?n():"A"===e?a():"IMG"===e?r():"BUTTON"===e||"INPUT"===e?(this.opts.editInPopup=!0,this.opts.toolbarInline=!1,o()):t()},t.Bootstrap.prototype.load=function(e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(this[n]||t.PLUGINS[n]&&0>this.opts.pluginsEnabled.indexOf(n))continue;if(this[n]=new e[n](this),this[n]._init&&(this[n]._init(),this.opts.initOnClick&&"core"===n))return!1}},t.Bootstrap.prototype.destroy=function(){this.destrying=!0,this.shared.count--,this.events&&this.events.$off();var e=this.html&&this.html.get();if(this.opts.iframe&&(this.events.disableBlur(),this.win.focus(),this.events.enableBlur()),this.events&&(this.events.trigger("destroy",[],!0),this.events.trigger("shared.destroy",[],!0)),0===this.shared.count){for(var n in this.shared)Object.prototype.hasOwnProperty.call(this.shared,n)&&(this.shared[n]=null,t.SHARED[this.sid][n]=null);delete t.SHARED[this.sid]}this.$oel.parents("form").off(".".concat(this.id)),this.$oel.off("click.popup"),this.$oel.removeData("froala.editor"),this.$oel.off("froalaEditor"),this.core&&this.core.destroy(e),t.INSTANCES.splice(t.INSTANCES.indexOf(this),1)},t.PLUGINS.align=function(e){var t=e.$;return{apply:function(n){var a=e.selection.element();if(t(a).parents(".fr-img-caption").length)t(a).css("text-align",n);else{e.selection.save(),e.html.wrap(!0,!0,!0,!0),e.selection.restore(
vendor: 9,148 bytes, line 1
1);for(var r=e.selection.blocks(),o=0;o<r.length;o++)t(r[o]).css("text-align",n).removeClass("fr-temp-div"),""===t(r[o]).attr("class")&&t(r[o]).removeAttr("class"),""===t(r[o]).attr("style")&&t(r[o]).removeAttr("style");e.selection.save(),e.html.unwrap(),e.selection.restore()}},refresh:function(n){var a=e.selection.blocks();if(a.length){var r=e.helpers.getAlignment(t(a[0]));n.find("> *").first().replaceWith(e.icon.create("align-".concat(r)))}},refreshOnShow:function(n,a){var r=e.selection.blocks();if(r.length){var o=e.helpers.getAlignment(t(r[0]));a.find('a.fr-command[data-param1="'.concat(o,'"]')).addClass("fr-active").attr("aria-selected",!0)}},refreshForToolbar:function(n){var a=e.selection.blocks();if(a.length){var r=e.helpers.getAlignment(t(a[0]));r=r.charAt(0).toUpperCase()+r.slice(1),"align".concat(r)===n.attr("data-cmd")&&n.addClass("fr-active")}}}},t.DefineIcon("align",{NAME:"align-left",SVG_KEY:"alignLeft"}),t.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),t.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),t.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),t.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),t.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.align.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="align"data-param1="\n        '.concat(a,'" title="').concat(this.language.translate(n[a]),'">').concat(this.icon.create("align-".concat(a)),'<span class="fr-sr-only">\n        ').concat(this.language.translate(n[a]),"</span></a></li>"));return e+"</ul>"},callback:function(e,t){this.align.apply(t)},refresh:function(e){this.align.refresh(e)},refreshOnShow:function(e,t){this.align.refreshOnShow(e,t)},plugin:"align"}),t.RegisterCommand("alignLeft",{type:"button",icon:"align-left",title:"Align Left",callback:function(){this.align.apply("left")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),t.RegisterCommand("alignRight",{type:"button",icon:"align-right",title:"Align Right",callback:function(){this.align.apply("right")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),t.RegisterCommand("alignCenter",{type:"button",icon:"align-center",title:"Align Center",callback:function(){this.align.apply("center")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),t.RegisterCommand("alignJustify",{type:"button",icon:"align-justify",title:"Align Justify",callback:function(){this.align.apply("justify")},refresh:function(e){this.align.refreshForToolbar(e)},plugin:"align"}),Object.assign(t.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),t.PLUGINS.charCounter=function(e){var n,a=e.$,r=function(){return(e.el.textContent||"").replace(/\u200B/g,"").length};function o(n){if(e.opts.charCounterMax<0||r()<e.opts.charCounterMax)return!0;var a=n.which;return!(!e.keys.ctrlKey(n)&&e.keys.isCharacter(a)||a===t.KEYCODE.IME)||(n.preventDefault(),n.stopPropagation(),e.events.trigger("charCounter.exceeded"),!1)}function i(t){return e.opts.charCounterMax<0||a("<div>").html(t).text().length+r()<=e.opts.charCounterMax?t:(e.events.trigger("charCounter.exceeded"),"")}function s(){if(e.opts.charCounterCount){var t=r()+(0<e.opts.charCounterMax?"/"+e.opts.charCounterMax:"");n.text("".concat(e.language.translate("Characters")," : ").concat(t)),e.opts.toolbarBottom&&n.css("margin-bottom",e.$tb.outerHeight(!0));var a=e.$wp.get(0).offsetWidth-e.$wp.get(0).clientWidth;0<=a&&("rtl"==e.opts.direction?n.css("margin-left",a):n.css("margin-right",a))}}return{_init:function(){return!!e.$wp&&!!e.opts.charCounterCount&&((n=a(document.createElement("span")).attr("class","fr-counter")).css("bottom",e.$wp.css("border-bottom-width")),e.$second_tb&&e.$second_tb.append(n),e.events.on("keydown",o,!0),e.events.on("paste.afterCleanup",i),e.events.on("keyup contentChanged input",function(){e.events.trigger("charCounter.update")}),e.events.on("charCounter.update",s),e.events.trigger("charCounter.update"),void e.events.on("destroy",function(){a(e.o_win).off("resize.char".concat(e.id)),n.removeData().remove(),n=null}))},count:r}},t.PLUGINS.codeBeautifier=function(){var e,t,n={};function a(e,t){var n={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},a={"@media":!0,"@supports":!0,"@document":!0};t=t||{},e=(e=e||"").replace(/\r\n|[\r\u2028\u2029]/g,"\n");var r=t.indent_size||4,o=t.indent_char||" ",i=void 0===t.selector_separator_newline||t.selector_separator_newline,s=void 0!==t.end_with_newline&&t.end_with_newline,l=void 0===t.newline_between_rules||t.newline_between_rules,c=t.eol?t.eol:"\n";"string"==typeof r&&(r=parseInt(r,10)),t.indent_with_tabs&&(o="	",r=1),c=c.replace(/\\r/,"\r").replace(/\\n/,"\n");var d,f=/^\s+$/,p=-1,u=0;function h(){return(d=e.charAt(++p))||""}function g(t){var n,a=p;return t&&v(),n=e.charAt(p+1)||"",p=a-1,h(),n}function m(t){for(var n=p;h();)if("\\"===d)h();else if(-1!==t.indexOf(d)||"\n"===d)break;return e.substring(n,p+1)}function v(){for(var e="";f.test(g());)h(),e+=d;return e}function b(t){var n=p;for(t="/"===g(),h();h();){if(!t&&"*"===d&&"/"===g()){h();break}if(t&&"\n"===d)return e.substring(n,p)}return e.substring(n,p)+d}function C(t){return e.substring(p-t.length,p).toLowerCase()===t}for(var E,y,T,A=e.match(/^[\t ]*/)[0],L=Array(r+1).join(o),x=0,S=0,w={"{":function(e){w.singleSpace(),R.push(e),w.newLine()},"}":function(e){w.newLine(),R.push(e),w.newLine()},_lastCharWhitespace:function(){return f.test(R[R.length-1])},newLine:function(e){R.length&&(e||"\n"===R[R.length-1]||w.trim(),R.push("\n"),A&&R.push(A))},singleSpace:function(){R.length&&!w._lastCharWhitespace()&&R.push(" ")},preserveSingleSpace:function(){E&&w.singleSpace()},trim:function(){for(;w._lastCharWhitespace();)R.pop()}},R=[],_=!1,M=!1,O=!1,k="",N="";;){var I=function(){var e="";for(d&&f.test(d)&&(e=d);f.test(h());)e+=d;return e}();E=""!==I;var D=-1!==I.indexOf("\n");if(N=k,!(k=d))break;if("/"===d&&"*"===g()){var B=0===x;(D||B)&&w.newLine(),R.push(b()),w.newLine(),B&&w.newLine(!0)}else if("/"===d&&"/"===g())D||"{"===N||w.trim(),w.singleSpace(),R.push(b()),w.newLine();else if("@"===d){w.preserveSingleSpace(),R.push(d);var F=(y=p,T=m(": , {}()[]/='\""),p=y-1,h(),T);F.match(/[ :]$/)&&(h(),F=m(": ").replace(/\s$/,""),R.push(F),w.singleSpace()),(F=F.replace(/\s$/,""))in n&&(S+=1,F in a&&(O=!0))}else"#"===d&&"{"===g()?(w.preserveSingleSpace(),R.push(m("}"))):"{"===d?"}"===g(!0)?(v(),h(),w.singleSpace(),R.push("{}"),w.newLine(),l&&0===x&&w.newLine(!0)):(x++,A+=L,w["{"](d),_=O?(O=!1,S<x):S<=x):"}"===d?(x--,A=A.slice(0,-r),w["}"](d),M=_=!1,S&&S--,l&&0===x&&w.newLine(!0)):":"===d?(v(),!_&&!O||C("&")||function(){for(var t=0,n=p+1;n<e.length;n++){var a=e.charAt(n);if("{"===a)return!0;if("("===a)t+=1;else if(")"===a){if(0===t)return!1;t-=1}else if(" "===a||"}"===a)break}return!1}()?":"===g()?(h(),R.push("::")):R.push(":"):(M=!0,R.push(":"),w.singleSpace())):'"'===d||"'"===d?(w.preserveSingleSpace(),R.push(m(d))):" "===d?(M=!1,R.push(d),w.newLine()):"("===d?C("url")?(R.push(d),v(),h()&&(")"!==d&&'"'!==d&&"'"!==d?R.push(m(")")):p--)):(u++,w.preserveSingleSpace(),R.push(d),v()):")"===d?(R.push(d),u--):","===d?(R.push(d),v(),i&&!M&&u<1?w.newLine():w.singleSpace()):("]"===d||("["===d?w.preserveSingleSpace():"="===d?(v(),d="="):w.preserveSingleSpace()),R.push(d))}var $="";return A&&($+=A),$+=R.join("").replace(/[\r\n\t ]+$/,""),s&&($+="\n"),"\n"!=c&&($=$.replace(/[\n]/g,c)),$}function r(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function o(e){return e.replace(/^\s+|\s+$/g,"")}function i(e,t){return new h(e,t).beautify()}e=new RegExp("[".concat("\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-Ô§Ô±-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬá
1³®-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-á¾´á¾¶-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-á¿´á¿¶-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ï¹´ï¹¶-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ","]")),t=new RegExp("[".concat("\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-Ô§Ô±-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-á¾´á¾¶-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-á¿´á¿¶-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ï¹´ï¹¶-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"," ").concat("̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-Û¨Û»-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-à §à ©-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-à­ à­¦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_","]")),n.newline=/[\n\r\u2028\u2029]/,n.lineBreak=new RegExp("\r\n|".concat(n.newline.source)),n.allLineBreaks=RegExp(n.lineBreak.source,"g"),n.isIdentifierStart=function(t){return t<65?36===t||64===t:t<91||(t<97?95===t:t<123||170<=t&&e.test(String.fromCharCode(t)))},n.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||170<=e&&t.test(String.fromCharCode(e))))};var s="BlockStatement",l="Statement",c="ObjectLiteral",d="ArrayLiteral",f="ForInitializer",p="Conditional",u="Expression";function h(e,t){var a,i,h,g,v,C,E,y,T,A,L,x,S,w=[],R="";function _(e,t){var n=0;return e&&(n=e.indentation_level,!a.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:a.get_line_number(),ternary_depth:0}}for(x={TK_START_EXPR:function(){U();var e=u;if("["===g.text){if("TK_WORD"===v||")"===y.last_text)return"TK_RESERVED"===v&&r(y.last_text,h.line_starters)&&(a.space_before_token=!0),F(e),D(),B(),void(S.space_in_paren&&(a.space_before_token=!0));e=d,y.mode===d&&("["!==y.last_text&&(","!==y.last_text||"]"!==C&&"}"!==C)||S.keep_array_indentation||N())}else"TK_RESERVED"===v&&"for"===y.last_text?e=f:"TK_RESERVED"===v&&r(y.last_text,["if","while"])&&(e=p);" "===y.last_text||"TK_START_BLOCK"===v?N():"TK_END_EXPR"===v||"TK_START_EXPR"===v||"TK_END_BLOCK"===v||"."===y.last_text?k(g.wanted_newline):"TK_RESERVED"===v&&"("===g.text||"TK_WORD"===v||"TK_OPE
1RATOR"===v?"TK_RESERVED"===v&&("function"===y.last_word||"typeof"===y.last_word)||"*"===y.last_text&&"function"===C?S.space_after_anon_function&&(a.space_before_token=!0):"TK_RESERVED"!==v||!r(y.last_text,h.line_starters)&&"catch"!==y.last_text||S.space_before_conditional&&(a.space_before_token=!0):a.space_before_token=!0,"("===g.text&&"TK_RESERVED"===v&&"await"===y.last_word&&(a.space_before_token=!0),"("===g.text&&("TK_EQUALS"!==v&&"TK_OPERATOR"!==v||H()||k()),F(e),D(),S.space_in_paren&&(a.space_before_token=!0),B()},TK_END_EXPR:function(){for(;y.mode===l;)P();y.multiline_frame&&k("]"===g.text&&y.mode===d&&!S.keep_array_indentation),S.space_in_paren&&("TK_START_EXPR"!==v||S.space_in_empty_paren?a.space_before_token=!0:(a.trim(),a.space_before_token=!1)),"]"===g.text&&S.keep_array_indentation?(D(),P()):(P(),D()),a.remove_redundant_indentation(T),y.do_while&&T.mode===p&&(T.mode=u,y.do_block=!1,y.do_while=!1)},TK_START_BLOCK:function(){var e=z(1),t=z(2);t&&(":"===t.text&&r(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||r(e.text,["get","set"])&&r(t.type,["TK_WORD","TK_RESERVED"]))?r(C,["class","interface"])?F(s):F(c):F(s);var n=!e.comments_before.length&&"}"===e.text&&"function"===y.last_word&&"TK_END_EXPR"===v;"expand"===S.brace_style||"none"===S.brace_style&&g.wanted_newline?"TK_OPERATOR"!==v&&(n||"TK_EQUALS"===v||"TK_RESERVED"===v&&K(y.last_text)&&"else"!==y.last_text)?a.space_before_token=!0:N(!1,!0):"TK_OPERATOR"!==v&&"TK_START_EXPR"!==v?"TK_START_BLOCK"===v?N():a.space_before_token=!0:T.mode===d&&","===y.last_text&&("}"===C?a.space_before_token=!0:N()),D(),B()},TK_END_BLOCK:function(){for(;y.mode===l;)P();var e="TK_START_BLOCK"===v;"expand"===S.brace_style?e||N():e||(y.mode===d&&S.keep_array_indentation?(S.keep_array_indentation=!1,N(),S.keep_array_indentation=!0):N()),P(),D()},TK_WORD:W,TK_RESERVED:W,TK_SEMICOLON:function(){for(U()&&(a.space_before_token=!1);y.mode===l&&!y.if_block&&!y.do_block;)P();D()},TK_STRING:function(){U()||"TK_RESERVED"===v||"TK_WORD"===v?a.space_before_token=!0:"TK_COMMA"===v||"TK_START_EXPR"===v||"TK_EQUALS"===v||"TK_OPE
1RATOR"===v?H()||k():N(),D()},TK_EQUALS:function(){U(),y.declaration_statement&&(y.declaration_assignment=!0),a.space_before_token=!0,D(),a.space_before_token=!0},TK_OPERATOR:function(){if(U(),"TK_RESERVED"===v&&K(y.last_text))return a.space_before_token=!0,void D();if("*"===g.text&&"TK_DOT"===v)return void D();if(":"===g.text&&y.in_case)return y.case_body=!0,B(),D(),N(),void(y.in_case=!1);if("::"===g.text)return void D();"TK_OPERATOR"===v&&k();var e=!0,t=!0;r(g.text,["--","++","!","~"])||r(g.text,["-","+"])&&(r(v,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(y.last_text,h.line_starters)||","===y.last_text)?(t=e=!1,g.wanted_newline&&("--"===g.text||"++"===g.text)&&N(!1,!0)," "===y.last_text&&$(y.mode)&&(e=!0),"TK_RESERVED"===v?e=!0:"TK_END_EXPR"===v?e="]"!==y.last_text||"--"!==g.text&&"++"!==g.text:"TK_OPERATOR"===v&&(e=r(g.text,["--","-","++","+"])&&r(y.last_text,["--","-","++","+"]),r(g.text,["+","-"])&&r(y.last_text,["--","++"])&&(t=!0)),y.mode!==s&&y.mode!==l||"{"!==y.last_text&&" "!==y.last_text||N()):":"===g.text?0===y.ternary_depth?e=!1:y.ternary_depth-=1:"?"===g.text?y.ternary_depth+=1:"*"===g.text&&"TK_RESERVED"===v&&"function"===y.last_text&&(t=e=!1),a.space_before_token=a.space_before_token||e,D(),a.space_before_token=t},TK_COMMA:function(){y.declaration_statement?($(y.parent.mode)&&(y.declaration_assignment=!1),D(),y.declaration_assignment?N(y.declaration_assignment=!1,!0):(a.space_before_token=!0,S.comma_first&&k())):(D(),y.mode===c||y.mode===l&&y.parent.mode===c?(y.mode===l&&P(),N()):(a.space_before_token=!0,S.comma_first&&k()))},TK_BLOCK_COMMENT:function(){if(a.raw)return a.add_raw_token(g),void(g.directives&&"end"===g.directives.preserve&&(S.test_output_raw||(a.raw=!1)));if(g.directives)return N(!1,!0),D(),"start"===g.directives.preserve&&(a.raw=!0),void N(!1,!0);if(!n.newline.test(g.text)&&!g.wanted_newline)return a.space_before_token=!0,D(),void(a.space_before_token=!0);var e,t=function(e){e=e.replace(/\x0d/g,"");var t,n=[];for(t=e.indexOf("\n");-1!==t;)n.push(e.substring(0,t)),t=(e=e.substring(t+1)).indexOf("\n");return e.length&&n.push(e),n}(g.text),r=!1,i=!1,s=g.whitespace_before,l=s.length;for(N(!1,!0),1<t.length&&(!function(e){for(var t=0;t<e.length;t++)if("*"!==o(e[t]).charAt(0))return!1;return!0}(t.slice(1))?function(e,t){for(var n,a=0,r=e.length;a<r;a++)if((n=e[a])&&0!==n.indexOf(t))return!1;return!0}(t.slice(1),s)&&(i=!0):r=!0),D(t[0]),e=1;e<t.length;e++)N(!1,!0),r?D(" ".concat(t[e].replace(/^\s+/g,""))):i&&t[e].length>l?D(t[e].substring(l)):a.add_token(t[e]);N(!1,!0)},TK_COMMENT:function(){g.wanted_newline?N(!1,!0):a.trim(!0),a.space_before_token=!0,D(),N(!1,!0)},TK_DOT:function(){U(),"TK_RESERVED"===v&&K(y.last_text)?a.space_before_token=!0:k(")"===y.last_text&&S.break_chained_methods),D()},TK_UNKNOWN:function(){D(),"\n"===g.text[g.text.length-1]&&N()},TK_EOF:function(){for(;y.mode===l;)P()}},S={},void 0!==(t=t||{}).braces_on_own_line&&(S.brace_style=t.braces_on_own_line?"expand":"collapse"),S.brace_style=t.brace_style?t.brace_style:S.brace_style?S.brace_style:"collapse","expand-strict"===S.brace_style&&(S.brace_style="expand"),S.indent_size=t.indent_size?parseInt(t.indent_size,10):4,S.indent_char=t.indent_char?t.indent_char:" ",S.eol=t.eol?t.eol:"\n",S.preserve_newlines=void 0===t.preserve_newlines||t.preserve_newlines,S.break_chained_methods=void 0!==t.break_chained_methods&&t.break_chained_methods,S.max_preserve_newlines=void 0===t.max_preserve_newlines?0:parseInt(t.max_preserve_newlines,10),S.space_in_paren=void 0!==t.space_in_paren&&t.space_in_paren,S.space_in_empty_paren=void 0!==t.space_in_empty_paren&&t.space_in_empty_paren,S.jslint_happy=void 0!==t.jslint_happy&&t.jslint_happy,S.space_after_anon_function=void 0!==t.space_after_anon_function&&t.space_after_anon_function,S.keep_array_indentation=void 0!==t.keep_array_indentation&&t.keep_array_indentation,S.space_before_conditional=void 0===t.space_before_conditional||t.space_before_conditional,S.unescape_strings=void 0!==t.unescape_strings&&t.unescape_strings,S.wrap_line_length=void 0===t.wrap_line_length?0:parseInt(t.wrap_line_length,10),S.e4x=void 0!==t.e4x&&t.e4x,S.end_with_newline=void 0!==t.end_with_newline&&t.end_with_newline,S.comma_first=void 0!==t.comma_first&&t.comma_first,S.test_output_raw=void 0!==t.test_output_raw&&t.test_output_raw,S.jslint_happy&&(S.space_after_anon_function=!0),t.indent_with_tabs&&(S.indent_char="	",S.indent_size=1),S.eol=S.eol.replace(/\\r/,"\r").replace(/\\n
1/,"\n"),E="";0<S.indent_size;)E+=S.indent_char,S.indent_size-=1;var M=0;if(e&&e.length){for(;" "===e.charAt(M)||"	"===e.charAt(M);)R+=e.charAt(M),M+=1;e=e.substring(M)}function O(e){var t=e.newlines;if(S.keep_array_indentation&&y.mode===d)for(var n=0;n<t;n+=1)N(0<n);else if(S.max_preserve_newlines&&t>S.max_preserve_newlines&&(t=S.max_preserve_newlines),S.preserve_newlines&&1<e.newlines){N();for(var a=1;a<t;a+=1)N(!0)}x[(g=e).type]()}function k(e){e=void 0!==e&&e,!a.just_added_newline()&&(S.preserve_newlines&&g.wanted_newline||e?N(!1,!0):S.wrap_line_length&&a.current_line.get_character_count()+g.text.length+ +!!a.space_before_token>=S.wrap_line_length&&N(!1,!0))}function N(e,t){if(!t&&" "!==y.last_text&&","!==y.last_text&&"="!==y.last_text&&"TK_OPERATOR"!==v)for(;y.mode===l&&!y.if_block&&!y.do_block;)P();a.add_new_line(e)&&(y.multiline_frame=!0)}function I(){a.just_added_newline()&&(S.keep_array_indentation&&y.mode===d&&g.wanted_newline?(a.current_line.push(g.whitespace_before),a.space_before_token=!1):a.set_indent(y.indentation_level)&&(y.line_indent_level=y.indentation_level))}function D(e){a.raw?a.add_raw_token(g):(S.comma_first&&"TK_COMMA"===v&&a.just_added_newline()&&","===a.previous_line.last()&&(a.previous_line.pop(),I(),a.add_token(","),a.space_before_token=!0),e=e||g.text,I(),a.add_token(e))}function B(){y.indentation_level+=1}function F(e){T=y?(A.push(y),y):_(null,e),y=_(T,e)}function $(e){return r(e,[u,f,p])}function P(){0<A.length&&(T=y,y=A.pop(),T.mode===l&&a.remove_redundant_indentation(T))}function H(){return y.parent.mode===c&&y.mode===l&&(":"===y.last_text&&0===y.ternary_depth||"TK_RESERVED"===v&&r(y.last_text,["get","set"]))}function U(){return!!("TK_RESERVED"===v&&r(y.last_text,["const","let","const"])&&"TK_WORD"===g.type||"TK_RESERVED"===v&&"do"===y.last_text||"TK_RESERVED"===v&&"return"===y.last_text&&!g.wanted_newline||"TK_RESERVED"===v&&"else"===y.last_text&&("TK_RESERVED"!==g.type||"if"!==g.text)||"TK_END_EXPR"===v&&(T.mode===f||T.mode===p)||"TK_WORD"===v&&y.mode===s&&!y.in_case&&"--"!==g.text&&"++"!==g.text&&"function"!==C&&"TK_WORD"!==g.type&&"TK_RESERVED"!==g.type||y.mode===c&&(":"===y.last_text&&0===y.ternary_depth||"TK_RESERVED"===v&&r(y.last_text,["get","set"])))&&(F(l),B(),"TK_RESERVED"===v&&r(y.last_text,["const","let","const"])&&"TK_WORD"===g.type&&(y.declaration_statement=!0),H()||k("TK_RESERVED"===g.type&&r(g.text,["do","for","if","while"])),!0)}function K(e){return r(e,["case","return","do","if","throw","else"])}function z(e){var t=i+(e||0);return t<0||t>=w.length?null:w[t]}function W(){if("TK_RESERVED"===g.type&&y.mode!==c&&r(g.text,["set","get"])&&(g.type="TK_WORD"),"TK_RESERVED"===g.type&&y.mode===c&&":"===z(1).text&&(g.type="TK_WORD"),U()||!g.wanted_newline||$(y.mode)||"TK_OPERATOR"===v&&"--"!==y.last_text&&"++"!==y.last_text||"TK_EQUALS"===v||!S.preserve_newlines&&"TK_RESERVED"===v&&r(y.last_text,["const","let","const","set","get"])||N(),y.do_block&&!y.do_while){if("TK_RESERVED"===g.type&&"while"===g.text)return a.space_before_token=!0,D(),a.space_before_token=!0,void(y.do_while=!0);N(),y.do_block=!1}if(y.if_block)if(y.else_block||"TK_RESERVED"!==g.type||"else"!==g.text){for(;y.mode===l;)P();y.if_block=!1,y.else_block=!1}else y.else_block=!0;"TK_RESERVED"===g.type&&("case"===g.text||"default"===g.text&&y.in_case_statement)?(N(),(y.case_body||S.jslint_happy)&&(0<y.indentation_level&&(!y.parent||y.indentation_level>y.parent.indentation_level)&&(y.indentation_level-=1),y.case_body=!1),D(),y.in_case=!0,y.in_case_statement=!0):("TK_RESERVED"===g.type&&"function"===g.text&&((r(y.last_text,["}"," "])||a.just_added_newline()&&!r(y.last_text,["[","{",":","=",","]))&&(a.just_added_blankline()||g.comments_before.length||(N(),N(!0))),"TK_RESERVED"===v||"TK_WORD"===v?"TK_RESERVED"===v&&r(y.last_text,["get","set","new","return","export","async"])||"TK_RESERVED"===v&&"default"===y.last_text&&"export"===C?a.space_before_token=!0:N():"TK_OPERATOR"===v||"="===y.last_text?a.space_before_token=!0:!y.multiline_frame&&($(y.mode)||y.mode===d)||N()),"TK_COMMA"!==v&&"TK_START_EXPR"!==v&&"TK_EQUALS"!==v&&"TK_OPE
1RATOR"!==v||H()||k(),"TK_RESERVED"===g.type&&r(g.text,["function","get","set"]))?(D(),y.last_word=g.text):((L="NONE","TK_END_BLOCK"===v?"TK_RESERVED"===g.type&&r(g.text,["else","catch","finally"])?"expand"===S.brace_style||"end-expand"===S.brace_style||"none"===S.brace_style&&g.wanted_newline?L="NEWLINE":(L="SPACE",a.space_before_token=!0):L="NEWLINE":"TK_SEMICOLON"===v&&y.mode===s?L="NEWLINE":"TK_SEMICOLON"===v&&$(y.mode)?L="SPACE":"TK_STRING"===v?L="NEWLINE":"TK_RESERVED"===v||"TK_WORD"===v||"*"===y.last_text&&"function"===C?L="SPACE":"TK_START_BLOCK"===v?L="NEWLINE":"TK_END_EXPR"===v&&(a.space_before_token=!0,L="NEWLINE"),"TK_RESERVED"===g.type&&r(g.text,h.line_starters)&&")"!==y.last_text&&(L="else"===y.last_text||"export"===y.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===g.type&&r(g.text,["else","catch","finally"]))?"TK_END_BLOCK"!==v||"expand"===S.brace_style||"end-expand"===S.brace_style||"none"===S.brace_style&&g.wanted_newline?N():(a.trim(!0),"}"!==a.current_line.last()&&N(),a.space_before_token=!0):"NEWLINE"===L?"TK_RESERVED"===v&&K(y.last_text)?a.space_before_token=!0:"TK_END_EXPR"!==v?"TK_START_EXPR"===v&&"TK_RESERVED"===g.type&&r(g.text,["const","let","const"])||":"===y.last_text||("TK_RESERVED"===g.type&&"if"===g.text&&"else"===y.last_text?a.space_before_token=!0:N()):"TK_RESERVED"===g.type&&r(g.text,h.line_starters)&&")"!==y.last_text&&N():y.multiline_frame&&y.mode===d&&","===y.last_text&&"}"===C?N():"SPACE"===L&&(a.space_before_token=!0),D(),y.last_word=g.text,"TK_RESERVED"===g.type&&"do"===g.text&&(y.do_block=!0),"TK_RESERVED"===g.type&&"if"===g.text&&(y.if_block=!0))}v="TK_START_BLOCK",C="",(a=new m(E,R)).raw=S.test_output_raw,A=[],F(s),this.beautify=function(){var t,n;for(w=(h=new b(e,S,E)).tokenize(),i=0;t=z();){for(var r=0;r<t.comments_before.length;r++)O(t.comments_before[r]);O(t),C=y.last_text,v=t.type,y.last_text=t.text,i+=1}return n=a.get_code(),S.end_with_newline&&(n+="\n"),"\n"!=S.eol&&(n=n.replace(/[\n]/g,S.eol)),n}}function g(e){var t=0,n=-1,a=[],r=!0;this.set_indent=function(a){t=e.baseIndentLength+a*e.indent_length,n=a},this.get_character_count=function(){return t},this.is_empty=function(){return r},this.last=function(){return this._empty?null:a[a.length-1]},this.push=function(e){a.push(e),t+=e.length,r=!1},this.pop=function(){var e=null;return r||(e=a.pop(),t-=e.length,r=0===a.length),e},this.remove_indent=function(){0<n&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)a.pop(),t-=1;r=0===a.length},this.toString=function(){var t="";return this._empty||(0<=n&&(t=e.indent_cache[n]),t+=a.join("")),t}}function m(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var n=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new g(this),n.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return n.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0)},this.get_code=function(){return n.join("\n").replace(/[\r\n\t ]+$/,"")},this.set_indent=function(e){if(1<n.length){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_redundant_indentation=function(e){if(!e.multiline_frame&&e.mode!==f&&e.mode!==p)for(var t=e.start_line_index,a=n.length;t<a;)n[t].remove_indent(),t++},this.trim=function(a){for(a=void 0!==a&&a,this.current_line.trim(e,t);a&&1<n.length&&this.current_line.is_empty();)n.pop(),this.current_line=n[n.length-1],this.current_line.trim();this.previous_line=1<n.length?n[n.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){return!!this.just_added_newline()&&(1===n.length||n[n.length-2].is_empty())}}var v=function(e,t,n,a,r,o){this.type=e,this.text=t,this.comments_before=[],this.newlines=n||0,this.wanted_newline=0<n,this.whitespace_before=a||"",this.parent=null,this.directives=null};function b(e,t,a){var i="\n\r	 ".split(""),s=/[0-9]/,l=/[01234567]/,c=/[0123456789abcdefABCDEF]/,d="+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! ~ , : ? ^ ^= |= :: =>".split(" ");
vendor: 18,621 bytes, line 1
1this.line_starters="continue,try,throw,return,const,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var f,p,u,h,g,m,b=this.line_starters.concat(["do","in","else","get","set","new","catch","finally","typeof","yield","async","await"]),C=/([\s\S]*?)((?:\*\/)|$)/g,E=/([^\n\r\u2028\u2029]*)/g,y=/\/\* beautify( \w+[:]\w+)+ \*\//g,T=/ (\w+)[:](\w+)/g,A=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,L=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function x(){var a,x,S=[];if(f=0,p="",m<=g)return["","TK_EOF"];x=h.length?h[h.length-1]:new v("TK_START_BLOCK","{");var w=e.charAt(g);for(g+=1;r(w,i);){if(n.newline.test(w)?"\n"===w&&"\r"===e.charAt(g-2)||(f+=1,S=[]):S.push(w),m<=g)return["","TK_EOF"];w=e.charAt(g),g+=1}if(S.length&&(p=S.join("")),s.test(w)){var R=!0,_=!0,M=s;for("0"===w&&g<m&&/[Xxo]/.test(e.charAt(g))?(_=R=!1,w+=e.charAt(g),g+=1,M=/[o]/.test(e.charAt(g))?l:c):(w="",g-=1);g<m&&M.test(e.charAt(g));)w+=e.charAt(g),g+=1,R&&g<m&&"."===e.charAt(g)&&(w+=e.charAt(g),g+=1,R=!1),_&&g<m&&/[Ee]/.test(e.charAt(g))&&(w+=e.charAt(g),(g+=1)<m&&/[+-]/.test(e.charAt(g))&&(w+=e.charAt(g),g+=1),R=_=!1);return[w,"TK_WORD"]}if(n.isIdentifierStart(e.charCodeAt(g-1))){if(g<m)for(;n.isIdentifierChar(e.charCodeAt(g))&&(w+=e.charAt(g),(g+=1)!==m););return"TK_DOT"===x.type||"TK_RESERVED"===x.type&&r(x.text,["set","get"])||!r(w,b)?[w,"TK_WORD"]:"in"===w?[w,"TK_OPERATOR"]:[w,"TK_RESERVED"]}if("("===w||"["===w)return[w,"TK_START_EXPR"];if(")"===w||"]"===w)return[w,"TK_END_EXPR"];if("{"===w)return[w,"TK_START_BLOCK"];if("}"===w)return[w,"TK_END_BLOCK"];if(" "===w)return[w,"TK_SEMICOLON"];if("/"===w){var O="";if("*"===e.charAt(g)){C.lastIndex=g+=1;var k=C.exec(e);O="/*".concat(k[0]),g+=k[0].length;var N=function(e){if(!e.match(y))return null;var t={};T.lastIndex=0;for(var n=T.exec(e);n;)t[n[1]]=n[2],n=T.exec(e);return t}(O);return N&&"start"===N.ignore&&(A.lastIndex=g,O+=(k=A.exec(e))[0],g+=k[0].length),[O=O.replace(n.lineBreak,"\n"),"TK_BLOCK_COMMENT",N]}if("/"===e.charAt(g)){E.lastIndex=g+=1;var I=E.exec(e);return O="//".concat(I[0]),g+=I[0].length,[O,"TK_COMMENT"]}}if("`"===w||"'"===w||'"'===w||("/"===w||t.e4x&&"<"===w&&e.slice(g-1).match(/^<([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])(\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{.*?}))*\s*(\/?)\s*>/))&&("TK_RESERVED"===x.type&&r(x.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===x.type&&")"===x.text&&x.parent&&"TK_RESERVED"===x.parent.type&&r(x.parent.text,["if","while","for"])||r(x.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var D=w,B=!1,F=!1;if(a=w,"/"===D)for(var $=!1;g<m&&(B||$||e.charAt(g)!==D)&&!n.newline.test(e.charAt(g));)a+=e.charAt(g),B?B=!1:(B="\\"===e.charAt(g),"["===e.charAt(g)?$=!0:"]"===e.charAt(g)&&($=!1)),g+=1;else if(t.e4x&&"<"===D){var P=/<(\/?)([-a-zA-Z:0-9_.]+|{[^{}]*}|!\[CDATA\[[\s\S]*?\]\])(\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{.*?}))*\s*(\/?)\s*>/g,H=e.slice(g-1),U=P.exec(H);if(U&&0===U.index){for(var K=U[2],z=0;U;){var W=!!U[1],V=U[2],G=!!U[U.length-1]||"![CDATA["===V.slice(0,8);if(V!==K||G||(W?--z:++z),z<=0)break;U=P.exec(H)}var Y=U?U.index+U[0].length:H.length;return H=H.slice(0,Y),g+=Y-1,[H=H.replace(n.lineBreak,"\n"),"TK_STRING"]}}else for(;g<m&&(B||e.charAt(g)!==D&&("`"===D||!n.newline.test(e.charAt(g))));)(B||"`"===D)&&n.newline.test(e.charAt(g))?("\r"===e.charAt(g)&&"\n"===e.charAt(g+1)&&(g+=1),a+="\n"):a+=e.charAt(g),B=B?("x"!==e.charAt(g)&&"u"!==e.charAt(g)||(F=!0),!1):"\\"===e.charAt(g),g+=1;if(F&&t.unescape_strings&&(a=function(e){for(var t,n=!1,a="",r=0,o="",i=0;n||r<e.length;)if(t=e.charAt(r),r++,n){if(n=!1,"x"===t)o=e.substr(r,2),r+=2;else{if("u"!==t){a+="\\".concat(t);continue}o=e.substr(r,4),r+=4}if(!o.match(/^[0123456789abcdefABCDEF]+$/))return e;if(0<=(i=parseInt(o,16))&&i<32){a+="x"===t?"\\x".concat(o):"\\u".concat(o);continue}if(34===i||39===i||92===i)a+="\\".concat(String.fromCharCode(i));else{if("x"===t&&126<i&&i<=255)return e;a+=String.fromCharCode(i)}}else"\\"===t?n=!0:a+=t;return a}(a)),g<m&&e.charAt(g)===D&&(a+=D,g+=1,"/"===D))for(;g<m&&n.isIdentifierStart(e.charCodeAt(g));)a+=e.charAt(g),g+=1;return[a,"TK_STRING"]}if("#"===w){if(0===h.length&&"!"===e.charAt(g)){for(a=w;g<m&&"\n"!==w;)a+=w=e.charAt(g),g+=1;return["".concat(o(a),"\n"),"TK_UNKNOWN"]}var j="#";if(g<m&&s.test(e.charAt(g))){for(;j+=w=e.charAt(g),(g+=1)<m&&"#"!==w&&"="!==w;);return"#"===w||("["===e.charAt(g)&&"]"===e.charAt(g+1)?(j+="[]",g+=2):"{"===e.charAt(g)&&"}"===e.charAt(g+1)&&(j+="{}",g+=2)),[j,"TK_WORD"]}}if("<"===w&&("?"===e.charAt(g)||"%"===e.charAt(g))){L.lastIndex=g-1;var q=L.exec(e);if(q)return w=q[0],g+=w.length-1,[w=w.replace(n.lineBreak,"\n"),"TK_STRING"]}if("<"===w&&"\x3c!--"===e.substring(g-1,g+3)){for(g+=3,w="\x3c!--";!n.newline.test(e.charAt(g))&&g<m;)w+=e.charAt(g),g++;return u=!0,[w,"TK_COMMENT"]}if("-"===w&&u&&"--\x3e"===e.substring(g-1,g+2))return u=!1,g+=2,["--\x3e","TK_COMMENT"];if("."===w)return[w,"TK_DOT"];if(r(w,d)){for(;g<m&&r(w+e.charAt(g),d)&&(w+=e.charAt(g),!(m<=(g+=1))););return","===w?[w,"TK_COMMA"]:"="===w?[w,"TK_EQUALS"]:[w,"TK_OPERATOR"]}return[w,"TK_UNKNOWN"]}this.tokenize=function(){var t,n,a;m=e.length,g=0,u=!1,h=[];for(var r=null,o=[],i=[];!n||"TK_EOF"!==n.type;){for(t=new v((a=x())[1],a[0],f,p);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=a[2]),i.push(t),t=new v((a=x())[1],a[0],f,p);i.length&&(t.comments_before=i,i=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,o.push(r),r=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&r&&("]"===t.text&&"["===r.text||")"===t.text&&"("===r.text||"}"===t.text&&"{"===r.text)&&(t.parent=r.parent,r=o.pop()),h.push(t),n=t}return h}}return{run:function(e,t){function n(e){return e.replace(/\s+$/g,"")}for(void 0!==(t=t||{}).wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),o=void 0!==t.indent_inner_html&&t.indent_inner_html,s=void 0===t.indent_size?4:parseInt(t.indent_size,10),l=void 0===t.indent_char?" ":t.indent_char,d=void 0===t.brace_style?"collapse":t.brace_style,c=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),f=t.unformatted||["a","span","img","bdo","em","strong","dfn","code","samp","kbd","const","cite","abbr","acronym","q","sub","sup","tt","i","b","big","small","u","s","strike","font","ins","del","address","pre"],u=(p=void 0===t.preserve_newlines||t.preserve_newlines)?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,h=void 0!==t.indent_handlebars&&t.indent_handlebars,g=void 0===t.wrap_attributes?"auto":t.wrap_attributes,m=void 0===t.wrap_attributes_indent_size?s:parseInt(t.wrap_attributes_indent_size,10)||s,v=void 0!==t.end_with_newline&&t.end_with_newline,b=Array.isArray(t.extra_liners)?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),t.indent_with_tabs&&(l="	",s=1),(r=new function(){return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=o,this.Utils={whitespace:"\n\r	 ".split(""),single_token:"br,input,link,meta,source,!doctype,basefont,base,area,hr,wbr,param,img,isindex,embed".split(","),extra_liners:b,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(;0<e.length;e++)if(!this.Utils.in_array(e.charAt(0),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(e=this.input.charAt(this.pos),this.Utils.in_array(e,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(e,this.Utils.whitespace);)p&&"\n"===e&&this.newlines<=u&&(this.newlines+=1),this.pos++,e=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(e){this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e)):(this.line_char_count++,e.push(" "))},this.get_content=function(){for(var e="",t=[];"<"!=this.input.charAt(this.pos);){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(this.traverse_whitespace())this.space_or_wrap(t);else{if(h){var n=this.input.substr(this.pos,3);if("{{#"===n||"{{/"===n)break;if("{{!"===n)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}e=this.input.charAt(this.pos),this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=RegExp("</".concat(e,"\\s*>"),"igm");n.lastIndex=this.pos;var a=n.exec(this.input),r=a?a.index:this.input.length;return this.pos<r&&(t=this.input.substring(this.pos,r),this.pos=r),t},this.record_tag=function(e){this.tags["".concat(e,"count")]?this.tags["".concat(e,"count")]++:this.tags["".concat(e,"count")]=1,this.tags[e+this.tags["".concat(e,"count")]]=this.indent_level,this.tags[e+this.tags["".concat(e,"count")]+"parent"]=this.tags.parent,this.tags.parent=e+this.tags["".concat(e,"count")]},this.retrieve_tag=function(e){if(this.tags["".concat(e,"count")]){for(var t=this.tags.parent;t&&e+this.tags["".concat(e,"count")]!==t;)t=this.tags["".concat(t,"parent")];t&&(this.indent_level=this.tags[e+this.tags["".concat(e,"count")]],this.tags.parent=this.tags[t+"parent"]),delete this.tags[e+this.tags["".concat(e,"count")]+"parent"],delete this.tags[e+this.tags["".concat(e,"count")]],1===this.tags["".concat(e,"count")]?delete this.tags["".concat(e,"count")]:this.tags["".concat(e,"count")]--}},this.indent_to_tag=function(e){if(this.tags["".concat(e,"count")]){for(var t=this.tags.parent;t&&e+this.tags["".concat(e,"count")]!==t;)t=this.tags["".concat(t,"parent")];t&&(this.indent_level=this.tags[e+this.tags["".concat(e,"count")]])}},this.get_tag=function(e){var t,n,a="",r=[],o="",i=!1,s=!0,c=this.pos,d=this.line_char_count;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=c,this.line_char_count=d),r.length?r.join(""):["","TK_EOF"];if(a=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(a,this.Utils.whitespace))i=!0;else{if("'"!==a&&'"'!==a||(a+=this.get_unformatted(a),i=!0),"="===a&&(i=!1),r.length&&"="!=r[r.length-1]&&">"!=a&&i){if(this.space_or_wrap(r),i=!1,!s&&"force"===g&&"/"!=a){this.print_newline(!0,r),this.print_indentation(r);for(var p=0;p<m;p++)r.push(l)}for(var u=0;u<r.length;u++)if(" "===r[u]){s=!1;break}}if(h&&"<"===n&&a+this.input.charAt(this.pos)==="{{"&&(a+=this.get_unformatted("}}"),r.length&&" "!=r[r.length-1]&&"<"!=r[r.length-1]&&(a=" ".concat(a)),i=!0),"<"!==a||n||(t=this.pos-1,n="<"),h&&!n&&2<=r.length&&"{"===r[r.length-1]&&"{"===r[r.length-2]&&(t="#"===a||"/"===a||"!"===a?this.pos-3:this.pos-2,n="{"),this.line_char_count++,r.push(a),r[1]&&("!"===r[1]||"?"===r[1]||"%"===r[1])||h&&r[1]&&"{"===r[1]&&r[2]&&"!"===r[2]){r=[this.get_comment(t)];break}if(h&&"{"===n&&2<r.length&&"}"===r[r.length-2]&&"}"===r[r.length-1])break}}while(">"!=a);var v,b,C=r.join("");v=-1!=C.indexOf(" ")?C.indexOf(" "):"{"===C[0]?C.indexOf("}"):C.indexOf(">"),b="<"!==C[0]&&h?"#"===C[2]?3:2:1;var E=C.substring(b,v).toLowerCase();return"/"===C.charAt(C.length-2)||this.Utils.in_array(E,this.Utils.single_token)?e||(this.tag_type="SINGLE"):h&&"{"===C[0]&&"else"===E?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(E,f)?(o=this.get_unformatted("</".concat(E,">"),C),r.push(o),this.pos,this.tag_type="SINGLE"):"script"===E&&(-1===C.search("type")||-1<C.search("type")&&-1<C.search(/\b(text|application)\/(x-)?(javascript|ecmascript|jscript|livescript)/))?e||(this.record_tag(E),this.tag_type="SCRIPT"):"style"===E&&(-1===C.search("type")||-1<C.search("type")&&-1<C.search("text/css"))?e||(this.record_tag(E),this.tag_type="STYLE"):"!"===E.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===E.charAt(0)?(this.retrieve_tag(E.substring(1)),this.tag_type="END"):(this.record_tag(E),"html"!=E.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(r),this.Utils.in_array(E,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!=this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=c,this.line_char_count=d),r.join("")},this.get_comment=function(e){var t="",n=">",a=!1;this.pos=e;var r=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&((t+=r)[t.length-1]!==n[n.length-1]||-1==t.indexOf(n));)!a&&t.length<10&&(0===t.indexOf("<![if")?(n="<![endif]>",a=!0):0===t.indexOf("<![cdata[")?(n="]]>",a=!0):0===t.indexOf("<![")?(n="]>",a=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",a=!0):0===t.indexOf("{{!")?(n="}}",a=!0):0===t.indexOf("<?")?(n="?>",a=!0):0===t.indexOf("<%")&&(n="%>",a=!0)),r=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(e,t){if(t&&-1!=t.toLowerCase().indexOf(e))return"";var n="",a="",r=0,o=!0;do{if(this.pos>=this.input.length)break;if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace)){if(!o){this.line_char_count--;continue}if("\n"===n||"\r"===n){a+="\n",this.line_char_count=0;continue}}a+=n,this.line_char_count++,o=!0,h&&"{"===n&&a.length&&"{"===a[a.length-2]&&(r=(a+=this.get_unformatted("}}")).length)}while(-1===a.toLowerCase().indexOf(e,r));return a},this.get_token=function(){if("TK_TAG_SCRIPT"!==this.last_token&&"TK_TAG_STYLE"!==this.last_token)return"CONTENT"===this.current_mode?"string"!=typeof(e=this.get_content())?e:[e,"TK_CONTENT"]:"TAG"===this.current_mode?"string"!=typeof(e=this.get_tag())?e:[e,"TK_TAG_".concat(this.tag_type)]:void 0;var e,t=this.last_token.substr(7);return"string"!=typeof(e=this.get_contents_to(t))?e:[e,"TK_".concat(t)]},this.get_full_indent=function(e){return(e=this.indent_level+e||0)<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!=e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(n&&!this.Utils.in_array(n,t))},this.printer=function(e,t,a,r,o){this.input=e||"",this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=a,this.brace_style=o,this.indent_level=0,this.wrap_line_length=r;for(var i=this.line_char_count=0;i<this.indent_size;i++)this.indent_string+=this.indent_character;this.print_newline=function(e,t){this.line_char_count=0,t&&t.length&&(e||"\n"!=t[t.length-1])&&("\n"!=t[t.length-1]&&(t[t.length-1]=n(t[t.length-1])),t.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(e){this.is_whitespace(e)&&!this.output.length||((e||""!==e)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),e=e.replace(/^\s+/g,"")),this.print_token_raw(e))},this.print_token_raw=function(e){0<this.newlines&&(e=n(e)),e&&""!==e&&(1<e.length&&"\n"===e[e.length-1]?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t<this.newlines;t++)this.print_newline(0<t,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){0<this.indent_level&&this.indent_level--}},this}).printer(e,l,s,c,d);;){var r,o,s,l,c,d,f,p,u,h,g,m,v,b,C=r.get_token();if(r.token_text=C[0],r.token_type=C[1],"TK_EOF"===r.token_type)break;switch(r.token_type){case"TK_TAG_START":r.print_newline(!1,r.output),r.print_token(r.token_text),r.indent_content&&(r.indent(),r.indent_content=!1),r.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":r.print_newline(!1,r.output),r.print_token(r.token_text),r.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===r.last_token&&""===r.last_text){var E=r.token_text.match(/\w+/)[0],y=null;r.output.length&&(y=r.output[r.output.length-1].match(/(?:<|{{#)\/?\s*(\w+)/)),null!==y&&(y[1]==E||r.Utils.in_array(y[1],f))||r.print_newline(!1,r.output)}r.print_token(r.token_text),r.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var T=r.token_text.match(/^\s*<([a-z-]+)/i);T&&r.Utils.in_array(T[1],f)||r.print_newline(!1,r.output),r.print_token(r.token_text),r.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":r.print_token(r.token_text),r.indent_content&&(r.indent(),r.indent_content=!1),r.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":r.print_token(r.token_text),r.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==r.token_text){r.print_newline(!1,r.output);var A=r.token_text,L=void 0,x=1;"TK_SCRIPT"===r.token_type?L=i:"TK_STYLE"===r.token_type&&(L=a),"keep"===t.indent_scripts?x=0:"separate"===t.indent_scripts&&(x=-r.indent_level);var S=r.get_full_indent(x);if(L)A=L(A.replace(/^\s*/,S),t);else{var w=A.match(/^\s*/)[0].match(/[^\n\r]*$/)[0].split(r.indent_string).length-1,R=r.get_full_indent(x-w);A=A.replace(/^\s*/,S).replace(/\r\n|\r|\n/g,"\n"+R).replace(/\s+$/,"")}A&&(r.print_token_raw(A),r.print_newline(!0,r.output))}r.current_mode="TAG";break;default:""!==r.token_text&&r.print_token(r.token_text)}r.last_token=r.token_type,r.last_text=r.token_text}var _=r.output.join("").replace(/[\r\n\t ]+$/,"");return v&&(_+="\n"),_}}},Object.assign(t.DEFAULTS,{codeMirror:window.CodeMirror,codeMirrorOptions:{lineNumbers:!0,tabMode:"indent",indentWithTabs:!0,lineWrapping:!0,mode:"text/html",tabSize:2},codeBeautifierOptions:{end_with_newline:!0,indent_inner_html:!0,extra_liners:["p","h1","h2","h3","h4","h5","h6","blockquote","pre","ul","ol","table","dl"],brace_style:"expand",indent_char:"	",indent_size:1,wrap_line_length:0},codeViewKeepActiveButtons:["fullscreen"]}),t.PLUGINS.codeView=function(e){var t,n,a=e.$,r=function(){return e.$box.hasClass("fr-code-view")};function o(){return n?n.getValue():t.val()}function i(){r()&&(n&&n.setSize(null,e.opts.height?e.opts.height:"auto"),e.opts.heightMin||e.opts.height?(e.$box.find(".CodeMirror-scroll, .CodeMirror-gutters").css("min-height",e.opts.heightMin||e.opts.height),t.css("height",e.opts.height)):e.$box.find(".CodeMirror-scroll, .CodeMirror-gutters").css("min-height",""))}var s,l=!1;function c(){r()&&e.events.trigger("blur")}function d(){r()&&l&&e.events.trigger("focus")}function f(u){void 0===u&&(u=!r());
1var h,g=e.$tb.find('.fr-command[data-cmd="html"]');u?(e.popups.hideAll(),function(u){t||(t=a('<textarea class="fr-code" tabIndex="-1">'),e.$wp.append(t),t.attr("dir",e.opts.direction),e.$box.hasClass("fr-basic")||(s=a('<a data-cmd="html" title="Code View" class="fr-command fr-btn html-switch'.concat(e.helpers.isMobile()?"":" fr-desktop",'" role="button" tabIndex="-1"><i class="fa fa-code"></i></button>')),e.$box.append(s),e.events.bindClick(e.$box,"a.html-switch",function(){e.events.trigger("commands.before",["html"]),f(!1),e.events.trigger("commands.after",["html"])})),g=function(){return!r()},e.events.on("buttons.refresh",g),e.events.on("copy",g,!0),e.events.on("cut",g,!0),e.events.on("paste",g,!0),e.events.on("destroy",p,!0),e.events.on("html.set",function(){r()&&f(!0)}),e.events.on("codeView.update",i),e.events.on("codeView.toggle",function(){e.$box.hasClass("fr-code-view")&&f()}),e.events.on("form.submit",function(){r()&&(e.html.set(o()),e.events.trigger("contentChanged",[],!0))},!0),!n&&e.opts.codeMirror?((n=e.opts.codeMirror.fromTextArea(t.get(0),e.opts.codeMirrorOptions)).on("blur",c),n.on("focus",d)):(e.events.$on(t,"keydown keyup change input",function(){e.opts.height?this.removeAttribute("rows"):(this.rows=1,0===this.value.length?this.style.height="auto":this.style.height="".concat(this.scrollHeight,"px"))}),e.events.$on(t,"blur",c),e.events.$on(t,"focus",d))),e.undo.saveStep(),e.html.cleanEmptyTags(),e.html.cleanWhiteTags(!0),e.core.hasFocus()&&(e.core.isEmpty()||(e.selection.save(),e.$el.find('.fr-marker[data-type="true"]').first().replaceWith('<span class="fr-tmp fr-sm">F</span>'),e.$el.find('.fr-marker[data-type="false"]').last().replaceWith('<span class="fr-tmp fr-em">F</span>')));var h=e.html.get(!1,!0);e.$el.find("span.fr-tmp").remove(),e.$box.toggleClass("fr-code-view",!0);var g,m,v,b=!1;if(e.core.hasFocus()&&(b=!0,e.events.disableBlur(),e.$el.blur()),h=(h=h.replace(/<span class="fr-tmp fr-sm">F<\/span>/,"FROALA-SM")).replace(/<span class="fr-tmp fr-em">F<\/span>/,"FROALA-EM"),e.codeBeautifier&&!h.includes("fr-embedly")&&(h=e.codeBeautifier.run(h,e.opts.codeBeautifierOptions)),n){m=h.indexOf("FROALA-SM"),(v=h.indexOf("FROALA-EM"))<m?m=v:v-=9;var C=(h=h.replace(/FROALA-SM/g,"").replace(/FROALA-EM/g,"")).substring(0,m).length-h.substring(0,m).replace(/\n/g,"").length,E=h.substring(0,v).length-h.substring(0,v).replace(/\n/g,"").length;m=h.substring(0,m).length-h.substring(0,h.substring(0,m).lastIndexOf("\n")+1).length,v=h.substring(0,v).length-h.substring(0,h.substring(0,v).lastIndexOf("\n")+1).length,n.setSize(null,e.opts.height?e.opts.height:"auto"),e.opts.heightMin&&e.$box.find(".CodeMirror-scroll").css("min-height",e.opts.heightMin),n.setValue(h),l=!b,n.focus(),l=!0,n.setSelection({line:C,ch:m},{line:E,ch:v}),n.refresh(),n.clearHistory()}else{m=h.indexOf("FROALA-SM"),v=h.indexOf("FROALA-EM")-9,e.opts.heightMin&&t.css("min-height",e.opts.heightMin),e.opts.height&&t.css("height",e.opts.height),e.opts.heightMax&&t.css("max-height",e.opts.height||e.opts.heightMax),t.val(h.replace(/FROALA-SM/g,"").replace(/FROALA-EM/g,"")).trigger("change");var y=a(e.o_doc).scrollTop();l=!b,t.focus(),l=!0,t.get(0).setSelectionRange(m,v),a(e.o_doc).scrollTop(y)}e.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(u).filter(function(){return 0>e.opts.codeViewKeepActiveButtons.indexOf(a(this).data("cmd"))}).addClass("fr-disabled").attr("aria-disabled",!0),u.addClass("fr-active").attr("aria-pressed",!0),!e.helpers.isMobile()&&e.opts.toolbarInline&&e.toolbar.hide()}(g)):(e.$box.toggleClass("fr-code-view",!1),h=o(),e.html.set(h),e.$el.blur(),e.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").not(g).removeClass("fr-disabled").attr("aria-disabled",!1),g.removeClass("fr-active").attr("aria-pressed",!1),e.selection.setAtStart(e.el),e.selection.restore(),e.placeholder.refresh(),e.undo.saveStep(),e.events.trigger("codeView.update"))}function p(){r()&&f(!1),n&&n.toTextArea(),t.val("").removeData().remove(),t=null,s&&(s.remove(),s=null)}return{_init:function(){if(e.events.on("focus",function(){var t;
1e.opts.toolbarContainer&&(t=e.$tb.find('.fr-command[data-cmd="html"]'),r()?(e.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(t).filter(function(){return 0>e.opts.codeViewKeepActiveButtons.indexOf(a(this).data("cmd"))}).addClass("fr-disabled").attr("aria-disabled",!1),t.addClass("fr-active").attr("aria-pressed",!1)):(e.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").not(t).removeClass("fr-disabled").attr("aria-disabled",!1),t.removeClass("fr-active").attr("aria-pressed",!1)))}),!e.$wp)return!1},toggle:f,isActive:r,get:o}},t.RegisterCommand("html",{title:"Code View",undo:!1,focus:!1,forcedRefresh:!0,toggle:!0,callback:function(){this.codeView.toggle()},plugin:"codeView"}),t.DefineIcon("html",{NAME:"code",SVG_KEY:"codeView"}),Object.assign(t.POPUP_TEMPLATES,{"textColor.picker":"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]","backgroundColor.picker":"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(t.DEFAULTS,{colorsText:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsBackground:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],colorsStep:7,colorsHEXInput:!0,colorsButtons:["colorsBack","|","-"]}),t.PLUGINS.colors=function(e){var n=e.$,a='<div class="fr-color-hex-layer fr-active fr-layer" id="fr-color-hex-layer- \n  '.concat(e.id,'"><div class="fr-input-line"><input maxlength="7" id="[ID]"\n  type="text" placeholder="').concat(e.language.translate("HEX Color"),'" \n  tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button \n  type="button" class="fr-command fr-submit" data-cmd="[COMMAND]" tabIndex="2" role="button">\n  ').concat(e.language.translate("OK"),"</button></div></div>");function r(t){for(var n="text"===t?e.opts.colorsText:e.opts.colorsBackground,a='<div class="fr-color-set fr-'.concat(t,'-color fr-selected-set">'),r=0;r<n.length;r++)0!==r&&r%e.opts.colorsStep==0&&(a+="<br>"),"REMOVE"!==n[r]?a+='<span class="fr-command fr-select-color" style="background:'.concat(n[r],';" \n        tabIndex="-1" aria-selected="false" role="button" data-cmd="apply').concat(t,'Color" \n        data-param1="').concat(n[r],'"><span class="fr-sr-only"> ').concat(e.language.translate("Color")).concat(n[r]," \n        &nbsp;&nbsp;&nbsp;</span></span>"):a+='<span class="fr-command fr-select-color" data-cmd="apply'.concat(t,'Color"\n         tabIndex="-1" role="button" data-param1="REMOVE" \n         title="').concat(e.language.translate("Clear Formatting"),'">').concat(e.icon.create("remove"),' \n        <span class="fr-sr-only"> ').concat(e.language.translate("Clear Formatting")," </span></span>");return"".concat(a,"</div>")}function o(t){"REMOVE"!==t?e.format.applyStyle("background-color",e.helpers.HEXtoRGB(t)):e.format.removeStyle("background-color"),e.popups.hide("backgroundColor.picker")}function i(t){"REMOVE"!==t?e.format.applyStyle("color",e.helpers.HEXtoRGB(t)):e.format.removeStyle("color"),e.popups.hide("textColor.picker")}return{showColorsPopup:function(o){var i,s,l,c,d,f,p=e.$tb.find('.fr-command[data-cmd="'.concat(o,'"]')),u=e.popups.get("".concat(o,".picker"));if(u||(i="",e.opts.toolbarInline&&0<e.opts.colorsButtons.length&&(i+='<div class="fr-buttons fr-colors-buttons fr-tabs">\n        '.concat(e.button.buildList(e.opts.colorsButtons),"\n        </div>")),l="",s="textColor"===o?(e.opts.colorsHEXInput&&(l=a.replace(/\[ID\]/g,"fr-color-hex-layer-text-".concat(e.id)).replace(/\[COMMAND\]/g,"customTextColor")),{buttons:i,text_colors:r("text"),custom_color:l}):(e.opts.colorsHEXInput&&(l=a.replace(/\[ID\]/g,"fr-color-hex-layer-background-".concat(e.id)).replace(/\[COMMAND\]/g,"customBackgroun
1dColor")),{buttons:i,background_colors:r("background"),custom_color:l}),d=c=e.popups.create("".concat(o,".picker"),s),f="".concat(o,".picker"),e.events.on("popup.tab",function(a){var r=n(a.currentTarget);if(!e.popups.isVisible(f)||!r.is("span"))return!0;var o=a.which,i=!0;if(t.KEYCODE.TAB===o){var s=d.find(".fr-buttons");i=!e.accessibility.focusToolbar(s,!!a.shiftKey)}else if(t.KEYCODE.ARROW_UP===o||t.KEYCODE.ARROW_DOWN===o||t.KEYCODE.ARROW_LEFT===o||t.KEYCODE.ARROW_RIGHT===o){if(r.is("span.fr-select-color")){var l=r.parent().find("span.fr-select-color"),c=l.index(r),p=e.opts.colorsStep,u=Math.floor(l.length/p),h=Math.floor(c/p)*p+c%p,g=u*p;t.KEYCODE.ARROW_UP===o?h=((h-p)%g+g)%g:t.KEYCODE.ARROW_DOWN===o?h=(h+p)%g:t.KEYCODE.ARROW_LEFT===o?h=((h-1)%g+g)%g:t.KEYCODE.ARROW_RIGHT===o&&(h=(h+1)%g);var m=n(l.get(h));e.events.disableBlur(),m.focus(),i=!1}}else t.KEYCODE.ENTER===o&&(e.button.exec(r),i=!1);return!1===i&&(a.preventDefault(),a.stopPropagation()),i},!0),u=c),!u.hasClass("fr-active"))if(e.popups.setContainer("".concat(o,".picker"),e.$tb),function(t){var a,r,o,i,s=e.popups.get("".concat(t,"Color.picker")),l=n(e.selection.element());i="background"===t?"background-color":"color";var c=s.find(".fr-".concat(t,"-color .fr-select-color"));for(c.find(".fr-selected-color").remove(),c.removeClass("fr-active-item"),c.not('[data-param1="REMOVE"]').attr("aria-selected",!1);l.get(0)!==e.el;){if("transparent"!==l.css(i)&&"rgba(0, 0, 0, 0)"!==l.css(i)){var d=s.find(".fr-".concat(t,'-color .fr-select-color[data-param1="').concat(e.helpers.RGBToHex(l.css(i)),'"]'));d.append('<span class="fr-selected-color" aria-hidden="true"></span>'),d.addClass("fr-active-item").attr("aria-selected",!0);break}l=l.parent()}(r=(a=e.popups.get("".concat(t,"Color.picker"))).find(".fr-".concat(t,"-color .fr-active-item")).attr("data-param1"))||(r=""),(o=a.find(".fr-color-hex-layer input")).length&&n(o.val(r).input).trigger("change")}("textColor"===o?"text":"background"),p.isVisible()){var h=e.button.getPosition(p),g=h.left,m=h.top;e.popups.show("".concat(o,".picker"),g,m,p.outerHeight())}else e.position.forSelection(u),e.popups.show("".concat(o,".picker"))},background:o,customColor:function(t){var n=e.popups.get("".concat(t,"Color.picker")).find(".fr-color-hex-layer input");if(n.length){var a=n.val();"background"===t?o(a):i(a)}},text:i,back:function(){e.popups.hide("textColor.picker"),e.popups.hide("backgroundColor.picker"),e.toolbar.showInline()}}},t.DefineIcon("textColor",{NAME:"tint",SVG_KEY:"textColor"}),t.RegisterCommand("textColor",{title:"Text Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("textColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("textColor.picker")):this.colors.showColorsPopup("textColor")}}),t.RegisterCommand("applytextColor",{undo:!0,callback:function(e,t){this.colors.text(t)}}),t.RegisterCommand("customTextColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("text")}}),t.DefineIcon("backgroundColor",{NAME:"paint-brush",SVG_KEY:"backgroundColor"}),t.RegisterCommand("backgroundColor",{title:"Background Color",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("backgroundColor.picker")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("backgroundColor.picker")):this.colors.showColorsPopup("backgroundColor")}}),t.RegisterCommand("applybackgroundColor",{undo:!0,callback:function(e,t){this.colors.background(t)}}),t.RegisterCommand("customBackgroundColor",{title:"OK",undo:!0,callback:function(){this.colors.customColor("background")}}),t.DefineIcon("colorsBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("colorsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),t.DefineIcon("remove",{NAME:"eraser",SVG_KEY:"remove"}),Object.assign(t.DEFAULTS,{dragInline:!0}),t.PLUGINS.draggable=function(e){var n=e.$;function a(t){return!(!t.originalEvent||!t.originalEvent.target||t.originalEvent.target.nodeType!==Node.TEXT_NODE)||(t.target&&"A"===t.target.tagName&&1===t.target.childNodes.length&&"IMG"===t.target.childNodes[0].tagName&&(t.target=t.target.childNodes[0]),n(t.target).hasClass("fr-draggable")?(e.undo.canDo()||e.undo.saveStep(),e.o
vendor: 4,105 bytes, line 1
1pts.dragInline?e.$el.attr("contenteditable",!0):e.$el.attr("contenteditable",!1),e.opts.toolbarInline&&e.toolbar.hide(),n(t.target).addClass("fr-dragging"),e.browser.msie||e.browser.edge||e.selection.clear(),void t.originalEvent.dataTransfer.setData("text","Froala")):(t.preventDefault(),!1))}var r,o=function(t){return!(t&&("HTML"===t.tagName||"BODY"===t.tagName||e.node.isElement(t)))};function i(t,n,a){if(e.opts.iframe){var o=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),i=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));t+=e.$iframe.offset().top+o,n+=e.$iframe.offset().left+i}r.offset().top!==t&&r.css("top",t),r.offset().left!==n&&r.css("left",n),r.width()!==a&&r.css("width",a)}function s(a){a.originalEvent.dataTransfer.dropEffect="move",e.opts.dragInline?(!function(){for(var e=null,n=0;n<t.INSTANCES.length;n++)if((e=t.INSTANCES[n].$el.find(".fr-dragging")).length)return e.get(0)}()||e.browser.msie||e.browser.edge)&&a.preventDefault():(a.preventDefault(),function(a){var s=e.doc.elementFromPoint(a.originalEvent.pageX-e.win.pageXOffset,a.originalEvent.pageY-e.win.pageYOffset);if(!o(s)){for(var l=0,c=s;!o(c)&&c===s&&0<a.originalEvent.pageY-e.win.pageYOffset-l;)l++,c=e.doc.elementFromPoint(a.originalEvent.pageX-e.win.pageXOffset,a.originalEvent.pageY-e.win.pageYOffset-l);(!o(c)||r&&0===e.$el.find(c).length&&c!==r.get(0))&&(c=null);for(var d=0,f=s;!o(f)&&f===s&&a.originalEvent.pageY-e.win.pageYOffset+d<n(e.doc).height();)d++,f=e.doc.elementFromPoint(a.originalEvent.pageX-e.win.pageXOffset,a.originalEvent.pageY-e.win.pageYOffset+d);(!o(f)||r&&0===e.$el.find(f).length&&f!==r.get(0))&&(f=null),s=null===f&&c?c:f&&null===c?f:f&&c?l<d?c:f:null}if(!n(s).hasClass("fr-drag-helper"))if(s&&!e.node.isBlock(s)&&(s=e.node.blockParent(s)),s&&0<=["TD","TH","TR","THEAD","TBODY"].indexOf(s.tagName)&&(s=n(s).parents("table").get(0)),s&&0<=["LI"].indexOf(s.tagName)&&(s=n(s).parents("UL, OL").get(0)),s&&!n(s).hasClass("fr-drag-helper")){r||(t.$draggable_helper||(t.$draggable_helper=n(document.createElement("div")).attr("class","fr-drag-helper")),r=t.$draggable_helper,e.events.on("shared.destroy",function(){r.html("").removeData().remove(),r=null},!0)),p=a.originalEvent.pageY<n(s).offset().top+n(s).outerHeight()/2;var p,u=n(s),h=0;p||0!==u.next().length?(p||(u=u.next()),"before"===r.data("fr-position")&&u.is(r.data("fr-tag"))||(0<u.prev().length&&(h=parseFloat(u.prev().css("margin-bottom"))||0),h=Math.max(h,parseFloat(u.css("margin-top"))||0),i(u.offset().top-h/2-e.$box.offset().top,u.offset().left-e.win.pageXOffset-e.$box.offset().left,u.width()),r.data("fr-position","before"))):"after"===r.data("fr-position")&&u.is(r.data("fr-tag"))||(h=parseFloat(u.css("margin-bottom"))||0,i(u.offset().top+n(s).height()+h/2-e.$box.offset().top,u.offset().left-e.win.pageXOffset-e.$box.offset().left,u.width()),r.data("fr-position","after")),r.data("fr-tag",u),r.addClass("fr-visible"),e.$box.append(r)}else r&&0<e.$box.find(r).length&&r.removeClass("fr-visible")}(a))}function l(t){t.originalEvent.dataTransfer.dropEffect="move",e.opts.dragInline||t.preventDefault()}function c(t){e.$el.attr("contenteditable",!0);var n=e.$el.find(".fr-dragging");r&&r.hasClass("fr-visible")&&e.$box.find(r).length?d(t):n.length&&(t.preventDefault(),t.stopPropagation()),r&&e.$box.find(r).length&&r.removeClass("fr-visible"),n.removeClass("fr-dragging")}function d(a){var o,i;e.$el.attr("contenteditable",!0);for(var s=0;s<t.INSTANCES.length;s++)if((o=t.INSTANCES[s].$el.find(".fr-dragging")).length){i=t.INSTANCES[s];break}if(o.length){if(a.preventDefault(),a.stopPropagation(),r&&r.hasClass("fr-visible")&&e.$box.find(r).length)r.data("fr-tag")[r.data("fr-position")]('<span class="fr-marker"></span>'),r.removeClass("fr-visible");else if(!1===e.markers.insertAtPoint(a.originalEvent))return!1;if(o.removeClass("fr-dragging"),!1===(o=e.events.chainTrigger("element.beforeDrop",o)))return!1;var l=o;if((o.parent().is("A")&&1===o.parent().get(0).childNodes.length&&(l=o.parent()),e.core.isEmpty())?e.events.focus():(e.$el.find(".fr-marker").replaceWith(t.MARKERS),e.selection.restore(
1)),i===e||e.undo.canDo()||e.undo.saveStep(),e.core.isEmpty())e.$el.html(l);else{var c=e.markers.insert();0===l.find(c).length?n(c).replaceWith(l):0===o.find(c).length&&n(c).replaceWith(o),o.after(t.MARKERS),e.selection.restore()}return e.popups.hideAll(),e.selection.save(),e.$el.find(e.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").not(e.opts.htmlAllowedEmptyTags.join(",")).remove(),e.html.wrap(),e.html.fillEmptyBlocks(),e.selection.restore(),e.undo.saveStep(),e.opts.iframe&&e.size.syncIframe(),i!==e&&(i.popups.hideAll(),i.$el.find(i.html.emptyBlockTagsQuery()).not("TD, TH, LI, .fr-inner").remove(),i.html.wrap(),i.html.fillEmptyBlocks(),i.undo.saveStep(),i.events.trigger("element.dropped"),i.opts.iframe&&i.size.syncIframe()),e.events.trigger("element.dropped",[l]),!1}r&&r.removeClass("fr-visible"),e.undo.canDo()||e.undo.saveStep(),setTimeout(function(){e.undo.saveStep()},0)}function f(t){if(t&&"DIV"===t.tagName&&e.node.hasClass(t,"fr-drag-helper"))t.parentNode.removeChild(t);else if(t&&t.nodeType===Node.ELEMENT_NODE)for(var n=t.querySelectorAll("div.fr-drag-helper"),a=0;a<n.length;a++)n[a].parentNode.removeChild(n[a])}return{_init:function(){e.opts.enter===t.ENTER_BR&&(e.opts.dragInline=!0),e.events.on("dragstart",a,!0),e.events.on("dragover",s,!0),e.events.on("dragenter",l,!0),e.events.on("document.dragend",c,!0),e.events.on("document.drop",c,!0),e.events.on("drop",d,!0),e.events.on("html.processGet",f)}}},Object.assign(t.DEFAULTS,{editInPopup:!1}),t.MODULES.editInPopup=function(e){return{_init:function(){var t;e.opts.editInPopup&&(t={edit:'<div id="fr-text-edit-'.concat(e.id,'" class="fr-layer fr-text-edit-layer"><div class="fr-input-line"><input type="text" placeholder="').concat(e.language.translate("Text"),'" tabIndex="1"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="updateText" tabIndex="2">').concat(e.language.translate("Update"),"</button></div></div>")},e.popups.create("text.edit",t),e.events.$on(e.$el,e._mouseup,function(){setTimeout(function(){var t,n;n=e.popups.get("text.edit"),t="INPUT"===e.el.tagName?e.$el.attr("placeholder"):e.$el.text(),n.find("input").val(t).trigger("change"),e.popups.setContainer("text.edit",e.$sc),e.popups.show("text.edit",e.$el.offset().left+e.$el.outerWidth()/2,e.$el.offset().top+e.$el.outerHeight(),e.$el.outerHeight())},10)}))},update:function(){var t=e.popups.get("text.edit").find("input").val();0===t.length&&(t=e.opts.placeholderText),"INPUT"===e.el.tagName?e.$el.attr("placeholder",t):e.$el.text(t),e.events.trigger("contentChanged"),e.popups.hide("text.edit")}}},t.RegisterCommand("updateText",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}}),Object.assign(t.POPUP_TEMPLATES,{emoticons:"[_BUTTONS_][_CUSTOM_LAYER_]"}),Object.assign(t.DEFAULTS,{emoticonsSet:[{id:"people",name:"Smileys & People",code:"1f600",emoticons:[{code:"1f600",desc:"Grinning face"},{code:"1f601",desc:"Grinning Face with Smiling Eyes"},{code:"1f602",desc:"Face with Tears of Joy"},{code:"1f603",desc:"Smiling Face with Open Mouth"},{code:"1f604",desc:"Smiling Face with Open Mouth and Smiling Eyes"},{code:"1f605",desc:"Smiling Face with Open Mouth and Cold Sweat"},{code:"1f606",desc:"Smiling Face with Open Mouth and Tightly-Closed Eyes"},{code:"1f609",desc:"Winking Face"},{code:"1f60a",desc:"Smiling Face with Smiling Eyes"},{code:"1f608",desc:"Face Savouring Delicious Food"},{code:"1f60e",desc:"Smiling Face with Sunglasses"},{code:"1f60d",desc:"Smiling Face with Heart-Shaped Eyes"},{code:"1f618",desc:"Face Throwing a Kiss"},{code:"1f617",desc:"Kissing Face"},{code:"1f619",desc:"Kissing Face with Smiling Eyes"},{code:"1f61a",desc:"Kissing Face with Closed Eyes"},{code:"263a",desc:"White Smiling Face"},{code:"1f642",desc:"Slightly Smiling Face"},{code:"1f610",desc:"Neutral Face"},{code:"1f611",desc:"Expressionless Face"},{code:"1f636",desc:"Face Without Mouth"},{code:"1f60f",desc:"Smirking Face"},{code:"1f623",desc:"Persevering Face"},{code:"1f625",desc:"Disappointed but Relieved Face"},{code:"1f62e",desc:"Face with Open Mouth"},{code:"1f62f",desc:"Hushed Face"},{code:"1f62a",desc:"Sleepy Face"},{code:"1f62b",desc:"Tired Face"},{code:"1f634",desc:"Sleeping Face"},{code:"1f60c",desc:"Relieved Face"},{code:"1f61b",desc:"Face with Stuck-out Tongue"},{code:"1f61c",desc:"Face with Stuck-out Tongue and Winking Eye"},{code:"1f61d",desc:"Face with Stuck-out Tongue and Tightly-Closed Eyes"},{code:"1f612",desc:"Unamused Face"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f613",desc:"Face with Cold Sweat"},{code:"1f614",desc:"Pensive Face"},{code:"1f615",desc:"Confused Face"},{code:"1f632",desc:"Astonished  Face"},{code:"1f616",desc:"Confounded Face"},{code:"1f61e",desc:"Disappointed Face"},{code:"1f61f",desc:"Worried Face"},{code:"1f624",desc:"Face with Look of Triumph"},{code:"1f622",desc:"Crying Face"},{code:"1f62d",desc:"Loudly Crying Face"},{code:"1f626",desc:"Frowning Face with Open Mouth"}
1,{code:"1f627",desc:"Anguished Face"},{code:"1f628",desc:"Fearful Face"},{code:"1f629",desc:"Weary Face"},{code:"1f62c",desc:"Grimacing Face"},{code:"1f630",desc:"Face with Open Mouth and Cold Sweat"},{code:"1f631",desc:"Face Screaming in Fear"},{code:"1f633",desc:"Flushed Face"},{code:"1f635",desc:"Dizzy Face"},{code:"1f621",desc:"Pouting Face"},{code:"1f620",desc:"Angry Face"},{code:"1f637",desc:"Face with Medical Mask"},{code:"1f607",desc:"Smiling Face with Halo"},{code:"1f608",desc:"Smiling Face with Horns"},{code:"1f47f",desc:"Imp"},{code:"1f479",desc:"Japanese Ogre"},{code:"1f47a",desc:"Japanese Goblin"},{code:"1f480",desc:"Skull"},{code:"1f47b",desc:"Ghost"},{code:"1f47d",desc:"Extraterrestrial Alien"},{code:"1f47e",desc:"Alien Monster"},{code:"1f4a9",desc:"Pile of Poo"},{code:"1f63a",desc:"Smiling Cat Face with Open Mouth"},{code:"1f638",desc:"Grinning Cat Face with Smiling Eyes"},{code:"1f639",desc:"Cat Face with Tears of Joy"},{code:"1f63b",desc:"Smiling Cat Face with Heart-Shaped Eyes"},{code:"1f63c",desc:"Cat Face with Wry Smile"},{code:"1f63d",desc:"Kissing Cat Face with Closed Eyes"},{code:"1f640",desc:"Weary Cat Face"},{code:"1f63f",desc:"Crying Cat Face"},{code:"1f63e",desc:"Pouting Cat Face"},{code:"1f648",desc:"See-No-Evil Monkey"},{code:"1f649",desc:"Hear-No-Evil Monkey"},{code:"1f64a",desc:"Speak-No-Evil Monkey"},{code:"1f476",desc:"Baby"},{code:"1f466",desc:"Boy"},{code:"1f467",desc:"Girl"},{code:"1f468",desc:"Man"},{code:"1f469",desc:"Woman"},{code:"1f474",desc:"Older Man"},{code:"1f475",desc:"Older Woman"},{code:"1f46e",desc:"Police Officer"},{code:"1f482",desc:" Guardsman"},{code:"1f477",desc:" Construction Worker"},{code:"1f478",desc:"Princess"},{code:"1f473",desc:"Man with Turban"},{code:"1f472",desc:"Man with Gua Pi Mao"},{code:"1f471",desc:"Person with Blond Hair"},{code:"1f470",desc:"Bride with Veil"},{code:"1f47c",desc:"Baby Angel"},{code:"1f385",desc:"Father Christmas"},{code:"1f64e",desc:"Person with Pouting Face"},{code:"1f645",desc:"Face with No Good Gesture"},{code:"1f646",desc:"Face with Ok Gesture"},{code:"1f481",desc:"Information Desk Person"},{code:"1f64b",desc:"Happy Person Raising One Hand"},{code:"1f647",desc:"Person Bowing Deeply"},{code:"1f486",desc:"Face Massage"},{code:"1f487",desc:"Haircut"},{code:"1f6b6",desc:"Pedestrian"},{code:"1f3c3",desc:"Runner"},{code:"1f483",desc:"Dancer"},{code:"1f46f",desc:"Woman with Bunny Ears"},{code:"1f6c0",desc:"Bath"},{code:"1f464",desc:"Bust in Silhouette"},{code:"1f465",desc:"Busts in Silhouette"},{code:"1f3c7",desc:"Horse Racing"},{code:"1f3c2",desc:" Snowboarder"},{code:"1f3c4",desc:" Surfer"},{code:"1f6a3",desc:" Rowboat"},{code:"1f3ca",desc:" Swimmer"},{code:"1f6b4",desc:" Bicyclist"},{code:"1f6b5",desc:"Mountain Bicyclist"},{code:"1f46b",desc:" Man and Woman Holding Hands"},{code:"1f46c",desc:"Two Men Holding Hands"},{code:"1f46d",desc:"Two Women Holding Hands"},{code:"1f48f",desc:"Kiss"},{code:"1f468-2764-1f48b-1f468",uCode:"\uD83D\uDC68‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68",desc:"Man Kiss Man"},{code:"1f469-2764-1f48b-1f469",uCode:"\uD83D\uDC69‍❤️‍\uD83D\uDC69",desc:"Woman Kiss Woman"},{code:"1f491",desc:"Couple with Heart"},{code:"1f468-2764-1f468",uCode:"\uD83D\uDC68‍❤️‍\uD83D\uDC68",desc:"Man Heart Man"},{code:"1f469-2764-1f469",uCode:"\uD83D\uDC69‍❤️‍\uD83D\uDC
vendor: 7,332 bytes, line 1
169",desc:"Woman Heart Woman"},{code:"1f46a",desc:"Family"},{code:"1f468",desc:"Man Woman Boy"},{code:"1f468-1f469-1f467",desc:"Man Woman Girl"},{code:"1f468-1f469-1f467-1f466",desc:"Man Woman Girl Boy"},{code:"1f468-1f469-1f466-1f466",desc:"Man Woman Boy Boy"},{code:"1f468-1f469-1f467-1f467",desc:"Man Woman Girl Girl"},{code:"1f468-1f468-1f466",desc:"Man Man Boy"},{code:"1f468-1f468-1f467",desc:"Man Man Girl"},{code:"1f468-1f468-1f467-1f466",desc:"Man Man Girl Boy"},{code:"1f468-1f468-1f466-1f466",desc:"Man Man Boy Boy"},{code:"1f469-1f469-1f466",desc:"Woman Woman Boy"},{code:"1f469-1f469-1f467",desc:"Woman Woman Girl"},{code:"1f469-1f469-1f467-1f466",desc:"Woman Woman Girl Boy"},{code:"1f469-1f469-1f467-1f467",desc:"Woman Woman Girl Girl"},{code:"1f4aa",desc:"Flexed Biceps"},{code:"1f448",desc:"White Left Pointing Backhand Index"},{code:"1f449",desc:"White Right Pointing Backhand Index"},{code:"1f446",desc:"White Up Pointing Backhand Index"},{code:"1f447",desc:"White Down Pointing Backhand Index"},{code:"270c",desc:"Victory Hand"},{code:"270b",desc:"Raised Hand"},{code:"1f44c",desc:"Ok Hand Sign"},{code:"1f44d",desc:"Thumbs Up Sign"},{code:"1f44e",desc:"Thumbs Down Sign"},{code:"270a",desc:"Raised Fist"},{code:"1f44a",desc:"Fisted Hand Sign"},{code:"1f44b",desc:"Waving Hand Sign"},{code:"1f44f",desc:"Clapping Hands Sign"},{code:"1f450",desc:"Open  Hands Sign"},{code:"1f64c",desc:"Person Raising Both Hands in Celebration"},{code:"1f64f",desc:"Person with Folded Hands"},{code:"1f485",desc:"Nail Polish"},{code:"1f442",desc:"Ear"},{code:"1f443",desc:"Nose"},{code:"1f463",desc:"Footprints"},{code:"1f440",desc:"Eyes"},{code:"1f445",desc:"Tongue"},{code:"1f444",desc:"Mouth"},{code:"1f48b",desc:"Kiss Mark"},{code:"1f498",desc:"Heart with Arrow"},{code:"2764",desc:"Heavy Black Heart"},{code:"1f493",desc:"Heavy Black Heart"},{code:"1f494",desc:"Broken Heart"},{code:"1f495",desc:"Two Hearts"},{code:"1f496",desc:"Sparkling Hearts"},{code:"1f497",desc:"Growing Hearts"},{code:"1f499",desc:"Blue Heart"},{code:"1f49a",desc:"Green Heart"},{code:"1f49b",desc:"Yellow Heart"},{code:"1f49c",desc:"Purple Heart"},{code:"1f49d",desc:"Heart with Ribbon"},{code:"1f49e",desc:"Revolving Hearts"},{code:"1f49f",desc:"Heart Decoration"},{code:"1f48c",desc:"Love Letter"},{code:"1f4a4",desc:"Sleeping Symbol"},{code:"1f4a2",desc:"Anger Symbol"},{code:"1f4a3",desc:"Bomb"},{code:"1f4a5",desc:"Collision Symbol"},{code:"1f4a6",desc:"Splashing Sweat Symbol"},{code:"1f4a8",desc:"Dash Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ab",desc:"Dizzy Symbol"},{code:"1f4ac",desc:"Speech Balloon"},{code:"1f4ad",desc:"Thought Balloon"},{code:"1f453",desc:"Eyeglasses"},{code:"1f454",desc:"Necktie"},{code:"1f455",desc:"T-Shirt"},{code:"1f456",desc:"Jeans"},{code:"1f457",desc:"Dress"},{code:"1f458",desc:"Kimono"},{code:"1f459",desc:"Bikini"},{code:"1f45a",desc:"Womans Clothes"},{code:"1f45b",desc:"Purse"},{code:"1f45c",desc:"Handbag"},{code:"1f45d",desc:"Pouch"},{code:"1f392",desc:"School Satchel"},{code:"1f45e",desc:"Mans Shoe"},{code:"1f45f",desc:"Athletic Shoe"},{code:"1f460",desc:"High-Heeled Shoe"},{code:"1f461",desc:"Womans Sandal"},{code:"1f462",desc:"Womans Boots"},{code:"1f451",desc:"Crown"},{code:"1f452",desc:"Womans Hat"},{code:"1f462",desc:"Top Hat"},{code:"1f393",desc:"Graduation Cap"},{code:"1f484",desc:"Lipstick"},{code:"1f48d",desc:"Ring"},{code:"1f48e",desc:"Gem Stone"}]},{id:"nature",name:"Animals & Nature",code:"1F435",emoticons:[{code:"1F435",desc:"Monkey Face"},{code:"1F412",desc:"Monkey"},{code:"1F436",desc:"Dog Face"},{code:"1F415",desc:"Dog"},{code:"1F429",desc:"Poodle"},{code:"1F43A",desc:"Wolf Face"},{code:"1F431",desc:"Cat Face"},{code:"1F408",desc:"Cat"},{code:"1F42F",desc:"Tiger Face"},{code:"1F405",desc:"Tiger"},{code:"1F406",desc:"Leopard"},{code:"1F434",desc:"Horse Face"},{code:"1F40E",desc:"Horse"},{code:"1F42E",desc:"Cow Face"},{code:"1F402",desc:"Ox"},{code:"1F403",desc:"Water Buffalo"},{code:"1F404",desc:"Cow"},{code:"1F437",desc:"Pig Face"},{code:"1F416",desc:"Pig"},{code:"1F417",desc:"Boar"},{code:"1F43D",desc:"Pig Nose"},{code:"1F40F",desc:"Ram"},{code:"1F411",desc:"Sheep"},{code:"1F410",desc:"Goat"},{code:"1F42A",desc:"Dromedary Camel"},{code:"1F42B",desc:"Bactrian Camel"},{code:"1F418",desc:"Elephant"},{code:"1F42D",desc:"Mouse Face"},{code:"1F401",desc:"Mouse"},{code:"1F400",desc:"Rat"},{code:"1F439",desc:"Hamster Face"},{code:"1F430",desc:"Rabbit Face"},{code:"1F407",desc:"Rabbit"},{code:"1F43B",desc:"Bear Face"},{code:"1F428",desc:"Koala"},{code:"1F43C",desc:"Panda Face"},{code:"1F43E",desc:"Paw Prints"},{code:"1F414",desc:"Chicken"},{code:"1F413",desc:"Rooster"},{code:"1F423",desc:"Hatching Chick"},{code:"1F424",desc:"Baby Chick"},{code:"1F425",desc:"Front-Facing Baby Chick"},{code:"1F426",desc:"Bird"},{code:"1F427",desc:"Penguin"},{code:"1F438",desc:"Frog Face"},{code:"1F40A",desc:"Crocodile"},{code:"1F422",desc:"Turtle"},{code:"1F40D",desc:"Snake"},{code:"1F432",desc:"Dragon Face"},{code:"1F409",desc:"Dragon"},{code:"1F433",desc:"Spouting Whale"},{code:"1F40B",desc:"Whale"},{code:"1F42C",desc:"Dolphin"},{code:"1F41F",desc:"Fish"},{code:"1F420",desc:"Tropical Fish"},{code:"1F421",desc:"Blowfish"},{code:"1F419",desc:"Octopus"},{code:"1F41A",desc:"Spiral Shell"},{code:"1F40C",desc:"Snail"},{code:"1F41B",desc:"Bug"},{code:"1F41C",desc:"Ant"},{code:"1F41D",desc:"Honeybee"},{code:"1F41E",desc:"Lady Beetle"},{code:"1F490",desc:"Bouquet"},{code:"1F338",desc:"Cherry Blossom"},{code:"1F4AE",desc:"White Flower"},{code:"1F339",desc:"Rose"},{code:"1F33A",desc:"Hibiscus"},{code:"1F33B",desc:"Sunflower"},{code:"1F33C",desc:"Blossom"},{code:"1F337",desc:"Tulip"},{code:"1F331",desc:"Seedling"},{code:"1F332",desc:"Evergreen Tree"},{code:"1F333",desc:"Deciduous Tree"},{code:"1F334",desc:"Palm Tree"},{code:"1F335",desc:"Cactus"},{code:"1F33E",desc:"Ear of Rice"},{code:"1F33F",desc:"Herb"},{code:"2618",desc:"Four Leaf Clover"},{code:"1F341",desc:"Maple Leaf"},{code:"1F342",desc:"Fallen Leaf"},{code:"1F343",desc:"Leaf Fluttering in Wind"}]},{id:"foods",name:"Food & Drink",code:"1F347",emoticons:[{code:"1F347",desc:"Grapes"},{code:"1F348",desc:"Melon"},{code:"1F349",desc:"Watermelon"},{code:"1F34A",desc:"Tangerine"},{code:"1F34B",desc:"Lemon"},{code:"1F34C",desc:"Banana"},{code:"1F34D",desc:"Pineapple"},{code:"1F34E",desc:"Red Apple"},{code:"1F34F",desc:"Green Apple"},{code:"1F350",desc:"Pear"},{code:"1F351",desc:"Peach"},{code:"1F352",desc:"Cherries"},{code:"1F353",desc:"Strawberry"},{code:"1F345",desc:"Tomato"},{code:"1F346",desc:"Aubergine"},{code:"1F33D",desc:"Ear of Maize"},{code:"1F344",desc:"Mushroom"},{code:"1F330",desc:"Chestnut"},{code:"1F35E",desc:"Bread"},{code:"1F356",desc:"Meat on Bone"},{code:"1F357",desc:"Poultry Leg"},{code:"1F354",desc:"Hamburger"},{code:"1F35F",desc:"French Fries"},{code:"1F355",desc:"Slice of Pizza"},{code:"1F373",desc:"Cooking"},{code:"1F372",desc:"Pot of Food"},{code:"1F371",desc:"Bento Box"},{code:"1F358",desc:"Rice Cracker"},{code:"1F359",desc:"Rice Ball"},{code:"1F35A",desc:"Cooked Rice"},{code:"1F35B",desc:"Curry and Rice"},{code:"1F35C",desc:"Steaming Bowl"},{code:"1F35D",desc:"Spaghetti"},{code:"1F360",desc:"Roasted Sweet Potato"},{code:"1F362",desc:"Oden"},{code:"1F363",desc:"Sushi"},{code:"1F364",desc:"Fried Shrimp"},{code:"1F365",desc:"Fish Cake with Swirl Design"}
vendor: 22,209 bytes, line 1
1,{code:"1F361",desc:"Dango"},{code:"1F366",desc:"Soft Ice Cream"},{code:"1F367",desc:"Shaved Ice"},{code:"1F368",desc:"Ice Cream"},{code:"1F369",desc:"Doughnut"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday Cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate Bar"},{code:"1F36C",desc:"Candy"},{code:"1F36D",desc:"Lollipop"},{code:"1F36E",desc:"Custard"},{code:"1F36F",desc:"Honey Pot"},{code:"1F37C",desc:"Baby Bottle"},{code:"2615",desc:"Hot Beverage"},{code:"1F375",desc:"Teacup Without Handle"},{code:"1F376",desc:"Sake Bottle and Cup"},{code:"1F377",desc:"Wine Glass"},{code:"1F378",desc:"Cocktail Glass"},{code:"1F379",desc:"Tropical Drink"},{code:"1F37A",desc:"Beer Mug"},{code:"1F37B",desc:"Clinking Beer Mugs"},{code:"1F374",desc:"Fork and Knife"},{code:"1F52A",desc:"Hocho"}]},{id:"activity",name:"Activities",code:"1f383",emoticons:[{code:"1f383",desc:" Jack-O-Lantern"},{code:"1f384",desc:"Christmas Tree"},{code:"1f386",desc:" Fireworks"},{code:"1f387",desc:"Firework Sparkler"},{code:"2728",desc:" Sparkles"},{code:"1f388",desc:"Balloon"},{code:"1f389",desc:"Party Popper"},{code:"1f38a",desc:"Confetti Ball"},{code:"1f38b",desc:"Tanabata Tree"},{code:"1f38d",desc:"Pine Decoration"},{code:"1f38e",desc:"Japanese Dolls"},{code:"1f38f",desc:"Carp Streamer"},{code:"1f390",desc:"Wind Chime"},{code:"1f391",desc:"Moon Viewing Ceremony"},{code:"1f380",desc:"Ribbon"},{code:"1f381",desc:"Wrapped Present"},{code:"1f3ab",desc:"Ticket"},{code:"1f3c6",desc:"Trophy"},{code:"1f388",desc:"Balloon"},{code:"26bd",desc:"Soccer Ball"},{code:"26be",desc:"Baseball"},{code:"1f3c0",desc:"Basketball and Hoop"},{code:"1f3c8",desc:"American Football"},{code:"1f3c9",desc:"Rugby Football"},{code:"1f3be",desc:"Tennis Racquet and Ball"},{code:"1f3b1",desc:"Billiards"},{code:"1f3b3",desc:"Bowling"},{code:"1f3af",desc:"Direct Hit"},{code:"26f3",desc:"Flag in Hole"},{code:"1f3a3",desc:"Fishing Pole and Fish"},{code:"1f3bd",desc:"Running Shirt with Sash"},{code:"1f3bf",desc:"Ski and Ski Boot"},{code:"1f3ae",desc:"Video Game"},{code:"1f3b2",desc:"Game Die"},{code:"2660",desc:"Black Spade Suit"},{code:"2665",desc:"Black Heart SuiT"},{code:"2666",desc:"Black Diamond Suit"},{code:"2663",desc:"Black Club Suit"},{code:"1f0cf",desc:"Playing Card Black Joker"},{code:"1f004",desc:"Mahjong Tile Red Dragon"},{code:"1f3b4",desc:"Flower Playing Cards"}]},{id:"places",name:"Travel & Places",code:"1f30d",emoticons:[{code:"1f30d",desc:"Earth Globe Europe-Africa"},{code:"1f30e",desc:"Earth Globe Americas"},{code:"1f30f",desc:"Earth Globe Asia-Australia"},{code:"1f310",desc:"Globe with Meridians"},{code:"1f5fe",desc:"Silhouette of Japan"},{code:"1f30b",desc:"Volcano"},{code:"1f5fb",desc:"Mount Fuji"},{code:"1f3e0",desc:"House Building"},{code:"1f3e1",desc:"House with Garden"},{code:"1f3e2",desc:"Office Building"},{code:"1f3e3",desc:"Japanese Post Office"},{code:"1f3e4",desc:"European Post Office"},{code:"1f3e5",desc:"Hospital"},{code:"1f3e6",desc:"Bank"},{code:"1f3e8",desc:"Hotel"},{code:"1f3e9",desc:"Love Hotel"},{code:"1f3ea",desc:"Convenience Store"},{code:"1f3eb",desc:"School"},{code:"1f3ec",desc:"Department Store"},{code:"1f3ed",desc:"Factory"},{code:"1f3ef",desc:"Japanese Castle"},{code:"1f3f0",desc:"European Castle"},{code:"1f492",desc:"Wedding"},{code:"1f5fc",desc:"Tokyo Tower"},{code:"1f5fd",desc:"Statue of Liberty"},{code:"26ea",desc:"Church"},{code:"26f2",desc:"Fountain"},{code:"26fa",desc:"Tent"},{code:"1f301",desc:"Foggy"},{code:"1f303",desc:"Night with Stars"},{code:"1f304",desc:"Sunrise over Mountains"},{code:"1f305",desc:"Sunrise"},{code:"1f306",desc:"Cityscape at Dusk"},{code:"1f307",desc:"Sunset over Buildings"},{code:"1f309",desc:"Bridge at Night"},{code:"2668",desc:"Hot Springs"},{code:"1f30c",desc:"Milky Way"},{code:"1f3a0",desc:"Carousel Horse"},{code:"1f3a1",desc:"Ferris Wheel"},{code:"1f3a2",desc:"Roller Coaster"},{code:"1f488",desc:"Barber Pole"},{code:"1f3aa",desc:"Circus Tent"},{code:"1f3ad",desc:"Performing Arts"},{code:"1f3a8",desc:"Artist Palette"},{code:"1f3b0",desc:"Slot Machine"},{code:"1f682",desc:"Steam Locomotive"},{code:"1f683",desc:"Railway Car"},{code:"1f684",desc:"High-Speed Train"},{code:"1f685",desc:"High-Speed Train with Bullet Nose"},{code:"1f686",desc:"Train"},{code:"1f687",desc:"Metro"},{code:"1f688",desc:"Light Rail"},{code:"1f689",desc:"Station"},{code:"1f68a",desc:"Tram"},{code:"1f69d",desc:"Monorail"},{code:"1f69e",desc:"Mountain Railway"},{code:"1f68b",desc:"Tram Car"},{code:"1f68c",desc:"Bus"},{code:"1f68d",desc:"Oncoming Bus"},{code:"1f68e",desc:"Trolleybus"},{code:"1f690",desc:"Minibus"},{code:"1f691",desc:"Ambulance"},{code:"1f692",desc:"Fire Engine"},{code:"1f693",desc:"Police Car"},{code:"1f694",desc:"Oncoming Police Car"},{code:"1f695",desc:"Taxi"},{code:"1f695",desc:"Oncoming Taxi"},{code:"1f697",desc:"Automobile"},{code:"1f698",desc:"Oncoming Automobile"},{code:"1f699",desc:"Recreational Vehicle"},{code:"1f69a",desc:"Delivery Truck"},{code:"1f69b",desc:"Articulated Lorry"},{code:"1f69c",desc:"Tractor"},{code:"1f6b2",desc:"Bicycle"},{code:"1f68f",desc:"Bus Stop"},{code:"26fd",desc:"Fuel Pump"},{code:"1f6a8",desc:"Police Cars Revolving Light"},{code:"1f6a5",desc:"Horizontal Traffic Light"},{code:"1f6a6",desc:"Vertical Traffic Light"},{code:"1f6a7",desc:"Construction Sign"},{code:"2693",desc:"Anchor"},{code:"26f5",desc:"Sailboat"},{code:"1f6a4",desc:"Speedboat"},{code:"1f6a2",desc:"Ship"},{code:"2708",desc:"Airplane"},{code:"1f4ba",desc:"Seat"},{code:"1f681",desc:"Helicopter"},{code:"1f69f",desc:"Suspension Railway"},{code:"1f6a0",desc:"Mountain Cableway"},{code:"1f6a1",desc:"Aerial Tramway"},{code:"1f680",desc:"Rocket"},{code:"1f6aa",desc:"Door"},{code:"1f6bd",desc:"Toilet"},{code:"1f6bf",desc:"Shower"},{code:"1f6c1",desc:"Bathtub"},{code:"231b",desc:"Hourglass"},{code:"23f3",desc:"Hourglass with Flowing Sand"},{code:"231a",desc:"Watch"},{code:"23f0",desc:"Alarm Clock"},{code:"1f55b",desc:"Clock Face Twelve Oclock"},{code:"1f567",desc:"Clock Face Twelve-Thirty"},{code:"1f550",desc:"Clock Face One Oclock"},{code:"1f55c",desc:"Clock Face One-thirty"},{code:"1f551",desc:"Clock Face Two Oclock"},{code:"1f55d",desc:"Clock Face Two-thirty"},{code:"1f552",desc:"Clock Face Three Oclock"},{code:"1f55e",desc:"Clock Face Three-thirty"},{code:"1f553",desc:"Clock Face Four Oclock"},{code:"1f55f",desc:"Clock Face Four-thirty"},{code:"1f554",desc:"Clock Face Five Oclock"},{code:"1f560",desc:"Clock Face Five-thirty"},{code:"1f555",desc:"Clock Face Six Oclock"},{code:"1f561",desc:"Clock Face Six-thirty"},{code:"1f556",desc:"Clock Face Seven Oclock"},{code:"1f562",desc:"Clock Face Seven-thirty"},{code:"1f557",desc:"Clock Face Eight Oclock"},{code:"1f563",desc:"Clock Face Eight-thirty"},{code:"1f558",desc:"Clock Face Nine Oclock"},{code:"1f564",desc:"Clock Face Nine-thirty"},{code:"1f559",desc:"Clock Face Ten Oclock"},{code:"1f565",desc:"Clock Face Ten-thirty"},{code:"1f55a",desc:"Clock Face Eleven Oclock"},{code:"1f566",desc:"Clock Face Eleven-thirty"},{code:"1f311",desc:"New Moon Symbol"},{code:"1f312",desc:"Waxing Crescent Moon Symbol"},{code:"1f313",desc:"First Quarter Moon Symbol"},{code:"1f314",desc:"Waxing Gibbous Moon Symbol"},{code:"1f315",desc:"Full Moon Symbol"},{code:"1f316",desc:"Waning Gibbous Moon Symbol"},{code:"1f317",desc:"Last Quarter Moon Symbol"},{code:"1f318",desc:"Waning Crescent Moon Symbol"},{code:"1f319",desc:"Crescent Moon"},{code:"1f31a",desc:"New Moon with Face"},{code:"1f31b",desc:"First Quarter Moon with Face"},{code:"1f31c",desc:"Last Quarter Moon with Face"},{code:"2600",desc:"Black Sun with Rays"},{code:"1f31d",desc:"Full Moon with Face"},{code:"1f31e",desc:"Sun with Face"},{code:"2b50",desc:"White Medium Star"},{code:"1f31f",desc:"Glowing Star"},{code:"1f320",desc:"Shooting Star"},{code:"2601",desc:"Cloud"},{code:"26c5",desc:"Sun Behind Cloud"},{code:"1f300",desc:"Cyclone"},{code:"1f308",desc:"Rainbow"},{code:"1f302",desc:"Closed Umbrella"},{code:"2614",desc:"Umbrella with Rain Drops"},{code:"26a1",desc:"High Voltage Sign"},{code:"2744",desc:"Snowflake"},{code:"2603",desc:"Snowman Without Snow"},{code:"1f525",desc:"Fire"},{code:"1f4a7",desc:"Droplet"},{code:"1F30A",desc:"Water Wave"}]},{id:"objects",name:"Objects",code:"1F507",emoticons:[{code:"1F507",desc:"Speaker with Cancellation Stroke"},{code:"1F508",desc:"Speaker"},{code:"1F509",desc:"Speaker with One Sound Wave"},{code:"1F50A",desc:"Speaker with Three Sound Wave"},{code:"1F4E2",desc:"Public Address Loudspeaker"},{code:"1F4E3",desc:"Cheering Megaphone"},{code:"1F4EF",desc:"Postal Horn"},{code:"1F514",desc:"Bell"},{code:"1F515",desc:"Bell with Cancellation Stroke"},{code:"1F3BC",desc:"Musical Score"},{code:"1F3B5",desc:"Musical Note"},{code:"1F3B6",desc:"Multiple Musical Notes"},{code:"1F3A4",desc:"Microphone"},{code:"1F3A7",desc:"Headphone"},{code:"1F4FB",desc:"Radio"},{code:"1F3B7",desc:"Saxophone"},{code:"1F3B8",desc:"Guitar"},{code:"1F3B9",desc:"Musical Keyboard"},{code:"1F3BA",desc:"Trumpet"},{code:"1F3BB",desc:"Violin"},{code:"1F4F1",desc:"Mobile Phone"},{code:"1F4F2",desc:"Mobile Phone with Rightwards Arrow at Left"},{code:"260E",desc:"Black Telephone"},{code:"1F4DE",desc:"Telephone Receiver"},{code:"1F4DF",desc:"Pager"},{code:"1F4E0",desc:"Fax Machine"},{code:"1F50B",desc:"Battery"},{code:"1F50C",desc:"Electric Plug"},{code:"1F4BB",desc:"Personal Computer"},{code:"1F4BD",desc:"Minidisc"},{code:"1F4BE",desc:"Floppy Disk"},{code:"1F4BF",desc:"Optical Disk"},{code:"1F4C0",desc:"Dvd"},{code:"1F3A5",desc:"Movie Camera"},{code:"1F3AC",desc:"Clapper Board"},{code:"1F4FA",desc:"Television"},{code:"1F4F7",desc:"Camera"},{code:"1F4F9",desc:"Video Camera"},{code:"1F4FC",desc:"Videocassette"},{code:"1F50D",desc:"Left-Pointing Magnifying Glass"},{code:"1F50E",desc:"Right-Pointing Magnifying Glass"},{code:"1F52C",desc:"Microscope"},{code:"1F52D",desc:"Telelscope"},{code:"1F4E1",desc:"Satellite Antenna"},{code:"1F4A1",desc:"Electric Light Bulb"},{code:"1F526",desc:"Electric Torch"},{code:"1F3EE",desc:"Izakaya Lantern"},{code:"1F4D4",desc:"Notebook with Decorative Cover"},{code:"1F4D5",desc:"Closed Book"},{code:"1F4D6",desc:"Open Book"},{code:"1F4D7",desc:"Green Book"},{code:"1F4D8",desc:"Blue Book"},{code:"1F4D9",desc:"Orange Book"},{code:"1F4DA",desc:"Books"},{code:"1F4D3",desc:"Notebook"},{code:"1F4D2",desc:"Ledger"},{code:"1F4C3",desc:"Curl"},{code:"1F4DC",desc:"Scroll"},{code:"1F4C4",desc:"Page Facing Up"},{code:"1F4F0",desc:"Newspaper"},{code:"1F4D1",desc:"Bookmark Tabs"},{code:"1F516",desc:"Bookmark"},{code:"1F4B0",desc:"Money Bag"},{code:"1F4B4",desc:"Banknote with Yen Sign"},{code:"1F4B5",desc:"Banknote with Dollar Sign"},{code:"1F4B6",desc:"Banknote with Euro Sign"},{code:"1F4B7",desc:"Banknote with Pound Sign"},{code:"1F4B8",desc:"Money with Wings"},{code:"1F4B3",desc:"Credit Card"},{code:"1F4B9",desc:"Chart with Upwards Trend and Yen Sign"},{code:"1F4B1",desc:"Currency Exchange"},{code:"1F4B2",desc:"Heavy Dollar Sign"},{code:"2709",desc:"Envelope"},{code:"1F4E7",desc:"E-Mail Symbol"},{code:"1F4E8",desc:"Incoming Envelope"},{code:"1F4E9",desc:"Envelope with Downwards Arrow Above"},{code:"1F4E4",desc:"Outbox Tray"},{code:"1F4E5",desc:"Inbox Tray"},{code:"1F4E6",desc:"Package"},{code:"1F4BE",desc:"Closed Mailbox with Raised Flag"},{code:"1F4EA",desc:"Closed Mailbox with Lowered Flag"},{code:"1F4EC",desc:"Open Mailbox with Raised Flag"},{code:"1F4ED",desc:"Open Mailbox with Lowered Flag"},{code:"1F5F3",desc:"Postbox"},{code:"270F",desc:"Pencil"},{code:"2712",desc:"Black Nib"},{code:"1F4DD",desc:"Memo"},{code:"1F4BC",desc:"Briefcase"},{code:"1F4C1",desc:"File Folder"},{code:"1F4C2",desc:"Open File Folder"},{code:"1F4C5",desc:"Calender"},{code:"1F4C6",desc:"Tear-off Calender"},{code:"1F4C7",desc:"Card Index"},{code:"1F4C8",desc:"Chart with Upwards Trend"},{code:"1F4C9",desc:"Chart with Downwards Trend"},{code:"1F4CA",desc:"Bar Chart"},{code:"1F4CB",desc:"Clipboard"},{code:"1F4CC",desc:"Pushpin"},{code:"1F4CD",desc:"Round Pushpin"},{code:"1F4CE",desc:"Paperclip"},{code:"1F4CF",desc:"Straight Ruler"},{code:"1F4D0",desc:"Triangular Ruler"},{code:"2702",desc:"Black Scissors"},{code:"1F512",desc:"Lock"},{code:"1F513",desc:"Open Lock"},{code:"1F50F",desc:"Lock with Ink Pen"},{code:"1F510",desc:"Closed Lock with Key"},{code:"1F511",desc:"Key"},{code:"1F528",desc:"Hammer"},{code:"1F52B",desc:"Pistol"},{code:"1F527",desc:"Wrench"},{code:"1F529",desc:"Nut and Bolt"},{code:"1F517",desc:"Link Symbol"},{code:"1F489",desc:"Syringe"},{code:"1F48A",desc:"Pill"},{code:"1F6AC",desc:"Smoking Symbol"},{code:"1F5FF",desc:"Moyai"},{code:"1F52E",desc:"Crystal Ball"}]},{id:"symbols",name:"Symbols",code:"1F3E7",emoticons:[{code:"1F3E7",desc:"Automated Teller Machine"},{code:"1F6AE",desc:"Put Litter in Its Place Symbol"},{code:"1F6B0",desc:"Potable Water Symbol"},{code:"267F",desc:"Wheelchair Symbol"},{code:"1F6B9",desc:"Mens Symbol"},{code:"1F6BA",desc:"Womens Symbol"},{code:"1F6BB",desc:"Restroom"},{code:"1F6BC",desc:"Baby Symbol"},{code:"1F6BE",desc:"Water Closet"},{code:"1F6C2",desc:"Passport Control"},{code:"1F6C3",desc:"Customs"},{code:"1F6C4",desc:"Baggage Claim"},{code:"1F6C5",desc:"Left Luggage"},{code:"26A0",desc:"Warning Sign"},{code:"1F6B8",desc:"Children Crossing"},{code:"26D4",desc:"No Entry"},{code:"1F6AB",desc:"No Entry Sign"},{code:"1F6B3",desc:"No Bicycles"},{code:"1F6AD",desc:"No Smoking Symbol"},{code:"1F6AF",desc:"Do Not Litter Symbol"},{code:"1F6B1",desc:"Non-Potable Water Symbol"},{code:"1F6B7",desc:"No Pedestrians"},{code:"1F4F5",desc:"No Mobile Phones"},{code:"1F51E",desc:"No One Under Eighteen Symbol"},{code:"2B06",desc:"Upwards Black Arrow"},{code:"2197",desc:"North East Arrow"},{code:"27A1",desc:"Black Rightwards Arrow"},{code:"2198",desc:"South East Arrow"},{code:"2B07",desc:"Downwards Black Arrow"},{code:"2199",desc:"South West Arrow"},{code:"2B05",desc:"Leftwards Black Arrow"},{code:"2196",desc:"North West Arrow"},{code:"2195",desc:"Up Down Arrow"},{code:"2194",desc:"Left Right Arrow"},{code:"21A9",desc:"Leftwards Arrow with Hook"},{code:"21AA",desc:"Rightwards Arrow with Hook"},{code:"2934",desc:"Arrow Pointing Rightwards Then Curving Upwards"},{code:"2935",desc:"Arrow Pointing Rightwards Then Curving Downwards"},{code:"1F503",desc:"Clockwise Downwards and Upwards Open Circle Arrows"},{code:"1F504",desc:"Anticlockwise Downwards and Upwards Open Circle Arrows"},{code:"1F519",desc:"Back with Leftwards Arrow Above"},{code:"1F51A",desc:"End with Leftwards Arrow Above"},{code:"1F51B",desc:"On with Exclamation Mark with Left Right Arrow Above"},{code:"1F51C",desc:"Soon with Rightwards Arrow Above"},{code:"1F51D",desc:"Top with Upwards Arrow Above"},{code:"1F52F",desc:"Six Pointed Star with Middle Dot"},{code:"2648",desc:"Aries"},{code:"2649",desc:"Taurus"},{code:"264A",desc:"Gemini"},{code:"264B",desc:"Cancer"},{code:"264C",desc:"Leo"},{code:"264D",desc:"Virgo"},{code:"264E",desc:"Libra"},{code:"264F",desc:"Scorpius"},{code:"2650",desc:"Sagittarius"},{code:"2651",desc:"Capricorn"},{code:"2652",desc:"Aquarius"},{code:"2653",desc:"Pisces"},{code:"26CE",desc:"Ophiuchus"},{code:"1F500",desc:"Twisted Rightwards Arrows"},{code:"1F501",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows"},{code:"1F502",desc:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay"},{code:"25B6",desc:"Black Right-Pointing Triangle"},{code:"23E9",desc:"Black Right-Pointing Double Triangle"},{code:"25C0",desc:"Black Left-Pointing Triangle"},{code:"23EA",desc:"Black Left-Pointing Double Triangle"},{code:"1F53C",desc:"Up-Pointing Small Red Triangle"},{code:"23EB",desc:"Black Up-Pointing Double Triangle"},{code:"1F53D",desc:"Down-Pointing Small Red Triangle"},{code:"23EC",desc:"Black Down-Pointing Double Triangle"},{code:"1F3A6",desc:"Cinema"},{code:"1F505",desc:"Low Brightness Symbol"},{code:"1F506",desc:"High Brightness Symbol"},{code:"1F4F6",desc:"Antenna with Bars"},{code:"1F4F3",desc:"Vibration Mode"},{code:"1F4F4",desc:"Mobile Phone off"},{code:"267B",desc:"Black Universal Recycling Symbol"},{code:"1F531",desc:"Trident Emblem"},{code:"1F4DB",desc:"Name Badge"},{code:"1F530",desc:"Japanese Symbol for Beginner"},{code:"2B55",desc:"Heavy Large Circle"},{code:"2705",desc:"White Heavy Check Mark"},{code:"2611",desc:"Ballot Box with Check"},{code:"2714",desc:"Heavy Check Mark"},{code:"2716",desc:"Heavy Multiplication X"},{code:"274C",desc:"Cross Mark"},{code:"274E",desc:"Negative Squared Cross Mark"},{code:"2795",desc:"Heavy Plus Sign"},{code:"2796",desc:"Heavy Minus Sign"},{code:"2797",desc:"Heavy Division Sign"},{code:"27B0",desc:"Curly Loop"},{code:"27BF",desc:"Double Curly Loop"},{code:"303D",desc:"Part Alternation Mark"},{code:"2733",desc:"Eight Spoked Asterisk"},{code:"2734",desc:"Eight Pointed Black Star"},{code:"2747",desc:"Sparkle"},{code:"203C",desc:"Double Exclamation Mark"},{code:"2049",desc:"Exclamation Question Mark"},{code:"2753",desc:"Black Question Mark Ornament"},{code:"2754",desc:"White Question Mark Ornament"},{code:"2755",desc:"White Exclamation Mark Ornament"},{code:"2757",desc:"Heavy Exclamation Mark Symbol"},{code:"3030",desc:"Wavy Dash"},{code:"2122",desc:"Trade Mark Sign"},{code:"1F51F",desc:"Keycap Ten"},{code:"1F4AF",desc:"Hundred Points Symbol"},{code:"1F520",desc:"Input Symbol for Latin Capital Letters"},{code:"1F521",desc:"Input Symbol for Latin Small Letters"},{code:"1F522",desc:"Input Symbol for Numbers"},{code:"1F523",desc:"Input Symbol for Symbols"},{code:"1F524",desc:"Input Symbol for Latin Letters"},{code:"1F170",desc:"Negative Squared Latin Capital Letter a"},{code:"1F18E",desc:"Negative Squared Ab"},{code:"1F171",desc:"Negative Squared Latin Capital Letter B"},{code:"1F191",desc:"Squared Cl"},{code:"1F192",desc:"Squared Cool"},{code:"1F193",desc:"Squared Free"},{code:"2139",desc:"Information Source"},{code:"1F194",desc:"Squared Id"},{code:"24C2",desc:"Circled Latin Capital Letter M"},{code:"1F195",desc:"Squared New"},{code:"1F196",desc:"Squared Ng"},{code:"1F17E",desc:"Negative Squared Latin Capital Letter O"},{code:"1F197",desc:"Squared Ok"},{code:"1F17F",desc:"Negative Squared Latin Capital Letter P"},{code:"1F198",desc:"Squared Sos"},{code:"1F199",desc:"Squared Up with Exclamation Mark"},{code:"1F19A",desc:"Squared Vs"},{code:"1F201",desc:"Squared Katakana Koko"},{code:"1F202",desc:"Squared Katakana Sa"},{code:"1F237",desc:"Squared Cjk Unified Ideograph-6708"},{code:"1F236",desc:"Squared Cjk Unified Ideograph-6709"},{code:"1F22F",desc:"Squared Cjk Unified Ideograph-6307"},{code:"1F250",desc:"Circled Ideograph Advantage"},{code:"1F239",desc:"Squared Cjk Unified Ideograph-5272"},{code:"1F21A",desc:"Squared Cjk Unified Ideograph-7121"},{code:"1F232",desc:"Squared Cjk Unified Ideograph-7981"},{code:"1F251",desc:"Circled Ideograph Accept"},{code:"1F238",desc:"Squared Cjk Unified Ideograph-7533"},{code:"1F234",desc:"Squared Cjk Unified Ideograph-5408"},{code:"1F233",desc:"Squared Cjk Unified Ideograph-7a7a"},{code:"3297",desc:"Circled Ideograph Congratulation"},{code:"3299",desc:"Circled Ideograph Secret"},{code:"1F23A",desc:"Squared Cjk Unified Ideograph-55b6"},{code:"1F235",desc:"Squared Cjk Unified Ideograph-6e80"},{code:"25AA",desc:"Black Small Square"},{code:"25AB",desc:"White Small Square"},{code:"25FB",desc:"White Medium Square"},{code:"25FC",desc:"Black Medium Square"},{code:"25FD",desc:"White Medium Small Square"},{code:"25FE",desc:"Black Medium Small Square"},{code:"2B1B",desc:"Black Large Square"},{code:"2B1C",desc:"White Large Square"},{code:"1F536",desc:"Large Orange Diamond"},{code:"1F537",desc:"Large Blue Diamond"},{code:"1F538",desc:"Small Orange Diamond"},{code:"1F539",desc:"Small Blue Diamond"},{code:"1F53A",desc:"Up-Pointing Red Triangle"},{code:"1F53B",desc:"Down-Pointing Red Triangle"},{code:"1F4A0",desc:"Diamond Shape with a Dot Inside"},{code:"1F518",desc:"Radio Button"},{code:"1F532",desc:"Black Square Button"},{code:"1F533",desc:"White Square Button"},{code:"26AA",desc:"Medium White Circle"},{code:"26AB",desc:"Medium Black Circle"},{code:"1F534",desc:"Large Red Circle"},{code:"1F535",desc:"Large Blue Circle"}]},{id:"flags",name:"Flags",code:"1F3C1",emoticons:[{code:"1f3c1",desc:"Chequered Flag"},{code:"1f1e8-1f1f3",desc:"China Flag"},{code:"1f38c",desc:"Crossed Flags"},{code:"1f1e9-1f1ea",desc:"Germany Flag"},{code:"1f1ea-1f1f8",desc:"Spain Flag"},{code:"1f1e6-1f1e8",desc:"Ascension Island Flag"},{code:"1f1e6-1f1e9",desc:"Andorra Flag"},{code:"1f1e6-1f1ea",desc:"United Arab Emirates Flag"},{code:"1f1e6-1f1eb",desc:"Afghanistan Flag"},{code:"1f1e6-1f1ec",desc:"Antigua & Barbuda Flag"},{code:"1f1e6-1f1ee",desc:"Anguilla Flag"},{code:"1f1e6-1f1f1",desc:"Albania Flag"},{code:"1f1e6-1f1f2",desc:"Armenia Flag"},{code:"1f1e6-1f1f4",desc:"Angola Flag"},{code:"1f1e6-1f1f6",desc:"Antarctica Flag"},{code:"1f1e6-1f1f7",desc:"Argentina Flag"},{code:"1f1e6-1f1f8",desc:"American Samoa Flag"},{code:"1f1e6-1f1f9",desc:"Austria Flag"},{code:"1f1e6-1f1fa",desc:"Australia Flag"},{code:"1f1e6-1f1fc",desc:"Aruba Flag"},{code:"1f1e6-1f1fd",desc:"\xc5land Islands Flag"},{code:"1f1e6-1f1ff",desc:"Azerbaijan Flag"},{code:"1f1e7-1f1e7",desc:"Barbados Flag"},{code:"1f1e7-1f1e9",desc:"Bangladesh Flag"},{code:"1f1e7-1f1ea",desc:"Belgium Flag"},{code:"1f1e7-1f1eb",desc:"Burkina Faso Flag"},{code:"1f1e7-1f1ec",desc:"Bulgaria Flag"},{code:"1f1e7-1f1ed",desc:"Bahrain Flag"},{code:"1f1e7-1f1ee",desc:"Burundi Flag"},{code:"1f1e7-1f1ef",desc:"Benin Flag"},{code:"1f1e7-1f1f1",desc:"St. Barth\xe9lemy Flag"},{code:"1f1e7-1f1f2",desc:"Bermuda Flag"},{code:"1f1e7-1f1f4",desc:"Bolivia Flag"},{code:"1f1e7-1f1f6",desc:"Caribbean Netherlands Flag"},{code:"1f1e7-1f1f7",desc:"Brazil Flag"},{code:"1f1e7-1f1f8",desc:"Bahamas Flag"},{code:"1f1e7-1f1f9",desc:"Bhutan Flag"},{code:"1f1e7-1f1fb",desc:"Bouvet Island Flag"},{code:"1f1e7-1f1fc",desc:"Botswana Flag"},{code:"1f1e7-1f1fe",desc:"Belarus Flag"},{code:"1f1e7-1f1ff",desc:"Belize Flag"},{code:"1f1e8-1f1e6",desc:"Canada Flag"},{code:"1f1e8-1f1e8",desc:"Cocos (keeling) Islands Flag"},{code:"1f1e8-1f1e9",desc:"Congo - Kinshasa Flag"},{code:"1f1e8-1f1eb",desc:"Central African Republic Flag"},{code:"1f1e8-1f1ec",desc:"Congo - Brazzaville Flag"},{code:"1f1e8-1f1ed",desc:"Switzerland Flag"},{code:"1f1e8-1f1ee",desc:"C\xf4te D
1’
vendor: 9,154 bytes, line 1
1ivoire Flag"},{code:"1f1e8-1f1f0",desc:"Cook Islands Flag"},{code:"1f1e8-1f1f1",desc:"Chile Flag"},{code:"1f1e8-1f1f2",desc:"Cameroon Flag"},{code:"1f1e8-1f1f4",desc:"Colombia Flag"},{code:"1f1e8-1f1f7",desc:"Costa Rica Flag"},{code:"1f1e8-1f1fa",desc:"Cuba Flag"},{code:"1f1e8-1f1fb",desc:"Cape Verde Flag"},{code:"1f1e8-1f1fc",desc:"Cura\xe7ao Flag"},{code:"1f1e8-1f1fd",desc:"Christmas Island Flag"},{code:"1f1e8-1f1fe",desc:"Cyprus Flag"},{code:"1f1e8-1f1ff",desc:'Czechia Flag"'},{code:"1f1e9-1f1ec",desc:"Diego Garcia Flag"},{code:"1f1e9-1f1ef",desc:"Djibouti Flag"},{code:"1f1e9-1f1f0",desc:"Denmark Flag"},{code:"1f1e9-1f1f2",desc:"Dominica Flag"},{code:"1f1e9-1f1f4",desc:"Dominican Republic Flag"},{code:"1f1e9-1f1ff",desc:"Algeria Flag"},{code:"1f1ea-1f1e6",desc:"Ceuta & Melilla Flag"},{code:"1f1ea-1f1e8",desc:"Ecuador Flag"},{code:"1f1ea-1f1ea",desc:"Estonia Flag"},{code:"1f1ea-1f1ec",desc:"Egypt Flag"},{code:"1f1ea-1f1ed",desc:"Western Sahara Flag"},{code:"1f1ea-1f1f7",desc:"Eritrea Flag"},{code:"1f1ea-1f1f9",desc:"Ethiopia Flag"},{code:"1f1ea-1f1fa",desc:"European Union Flag"},{code:"1f1eb-1f1ee",desc:"Finland Flag"},{code:"1f1eb-1f1ef",desc:"Fiji Flag"},{code:"1f1eb-1f1f0",desc:"Falkland Islands Flag"},{code:"1f1eb-1f1f2",desc:"Micronesia Flag"},{code:"1f1eb-1f1f4",desc:"Faroe Islands Flag"},{code:"1f1ec-1f1e6",desc:"Gabon Flag"},{code:"1f1ec-1f1e9",desc:"Grenada Flag"},{code:"1f1ec-1f1ea",desc:"Georgia Flag"},{code:"1f1ec-1f1eb",desc:"French Guiana Flag"},{code:"1f1ec-1f1ec",desc:"Guernsey Flag"},{code:"1f1ec-1f1ed",desc:"Ghana Flag"},{code:"1f1ec-1f1ee",desc:"Gibraltar Flag"},{code:"1f1ec-1f1f1",desc:"Greenland Flag"},{code:"1f1ec-1f1f2",desc:"Gambia Flag"},{code:"1f1ec-1f1f3",desc:"Guinea Flag"},{code:"1f1ec-1f1f5",desc:"Guadeloupe Flag"},{code:"1f1ec-1f1f6",desc:"Equatorial Guinea Flag"},{code:"1f1ec-1f1f7",desc:"Greece Flag"},{code:"1f1ec-1f1f8",desc:"South Georgia & South Sandwich Islands Flag"},{code:"1f1ec-1f1f9",desc:"Guatemala Flag"},{code:"1f1ec-1f1fa",desc:"Guam Flag"},{code:"1f1ec-1f1fc",desc:"Guinea-Bissau Flag"},{code:"1f1ec-1f1fe",desc:"Guyana Flag"},{code:"1f1ed-1f1f0",desc:"Hong Kong Sar China Flag"},{code:"1f1ed-1f1f2",desc:"Heard & Mcdonald Islands Flag"},{code:"1f1ed-1f1f3",desc:"Honduras Flag"},{code:"1f1ed-1f1f7",desc:"Croatia Flag"},{code:"1f1ed-1f1f9",desc:"Haiti Flag"},{code:"1f1ed-1f1fa",desc:"Hungary Flag"},{code:"1f1ee-1f1e8",desc:"Canary Islands Flag"},{code:"1f1ee-1f1e9",desc:"Indonesia Flag"},{code:"1f1ee-1f1ea",desc:"Ireland Flag"},{code:"1f1ee-1f1f1",desc:"Israel Flag"},{code:"1f1ee-1f1f2",desc:"Isle of Man Flag"},{code:"1f1ee-1f1f3",desc:"India Flag"},{code:"1f1ee-1f1f4",desc:"British Indian Ocean Territory Flag"},{code:"1f1ee-1f1f6",desc:"Iraq Flag"},{code:"1f1ee-1f1f7",desc:"Iran Flag"},{code:"1f1ee-1f1f8",desc:"Iceland Flag"},{code:"1f1ef-1f1ea",desc:"Jersey Flag"},{code:"1f1ef-1f1f2",desc:"Jamaica Flag"},{code:"1f1ef-1f1f4",desc:"Jordan Flag"},{code:"1f1f0-1f1ea",desc:"Kenya Flag"},{code:"1f1f0-1f1ec",desc:"Kyrgyzstan Flag"},{code:"1f1f0-1f1ed",desc:"Cambodia Flag"},{code:"1f1f0-1f1ee",desc:"Kiribati Flag"},{code:"1f1f0-1f1f2",desc:"Comoros Flag"},{code:"1f1f0-1f1f3",desc:"St. Kitts & Nevis Flag"},{code:"1f1f0-1f1f5",desc:"North Korea Flag"},{code:"1f1f0-1f1fc",desc:"Kuwait Flag"},{code:"1f1f0-1f1fe",desc:"Cayman Islands Flag"},{code:"1f1f0-1f1ff",desc:"Kazakhstan Flag"},{code:"1f1f1-1f1e6",desc:"Laos Flag"},{code:"1f1f1-1f1e7",desc:"Lebanon Flag"},{code:"1f1f1-1f1e8",desc:"St. Lucia Flag"},{code:"1f1f1-1f1ee",desc:"Liechtenstein Flag"},{code:"1f1f1-1f1f0",desc:"Sri Lanka Flag"},{code:"1f1f1-1f1f7",desc:"Liberia Flag"},{code:"1f1f1-1f1f8",desc:"Lesotho Flag"},{code:"1f1f1-1f1f9",desc:"Lithuania Flag"},{code:"1f1f1-1f1fa",desc:"Luxembourg Flag"},{code:"1f1f1-1f1fb",desc:"Latvia Flag"},{code:"1f1f1-1f1fe",desc:"Libya Flag"},{code:"1f1f2-1f1e6",desc:"Morocco Flag"},{code:"1f1f2-1f1e8",desc:"Monaco Flag"},{code:"1f1f2-1f1e9",desc:"Moldova Flag"},{code:"1f1f2-1f1ea",desc:"Montenegro Flag"},{code:"1f1f2-1f1eb",desc:"St. Martin Flag"},{code:"1f1f2-1f1ec",desc:"Madagascar Flag"},{code:"1f1f2-1f1ed",desc:"Marshall Islands Flag"},{code:"1f1f2-1f1f0",desc:"Macedonia Flag"},{code:"1f1f2-1f1f1",desc:"Mali Flag"},{code:"1f1f2-1f1f2",desc:"Myanmar (burma) Flag"},{code:"1f1f2-1f1f3",desc:"Mongolia Flag"},{code:"1f1f2-1f1f4",desc:"Macau Sar China Flag"},{code:"1f1f2-1f1f5",desc:"Northern Mariana Islands Flag"},{code:"1f1f2-1f1f6",desc:"Martinique Flag"},{code:"1f1f2-1f1f7",desc:"Mauritania Flag"},{code:"1f1f2-1f1f8",desc:"Montserrat Flag"},{code:"1f1f2-1f1f9",desc:"Malta Flag"},{code:"1f1f2-1f1fa",desc:"Mauritius Flag"},{code:"1f1f2-1f1fb",desc:"Maldives Flag"},{code:"1f1f2-1f1fc",desc:"Malawi Flag"},{code:"1f1f2-1f1fd",desc:"Mexico Flag"},{code:"1f1f2-1f1fe",desc:"Malaysia Flag"},{code:"1f1f2-1f1ff",desc:"Mozambique Flag"},{code:"1f1f3-1f1e6",desc:"Namibia Flag"},{code:"1f1f3-1f1e8",desc:"New Caledonia Flag"},{code:"1f1f3-1f1ea",desc:"Niger Flag"},{code:"1f1f3-1f1eb",desc:"Norfolk Island Flag"},{code:"1f1f3-1f1ec",desc:"Nigeria Flag"},{code:"1f1f3-1f1ee",desc:"Nicaragua Flag"},{code:"1f1f3-1f1f1",desc:"Netherlands Flag"},{code:"1f1f3-1f1f4",desc:"Norway Flag"},{code:"1f1f3-1f1f5",desc:"Nepal Flag"},{code:"1f1f3-1f1f7",desc:"Nauru Flag"},{code:"1f1f3-1f1fa",desc:"Niue Flag"},{code:"1f1f3-1f1ff",desc:"New Zealand Flag"},{code:"1f1f4-1f1f2",desc:"Oman Flag"},{code:"1f1f8-1f1ff",desc:"Swaziland Flag"},{code:"1f1f5-1f1e6",desc:"Panama Flag"},{code:"1f1f5-1f1ea",desc:"Peru Flag"},{code:"1f1f5-1f1eb",desc:"French Polynesia Flag"},{code:"1f1f5-1f1ec",desc:"Papua New Guinea Flag"},{code:"1f1f5-1f1ed",desc:"Philippines Flag"},{code:"1f1f5-1f1f0",desc:"Pakistan Flag"},{code:"1f1f5-1f1f1",desc:"Poland Flag"},{code:"1f1f5-1f1f2",desc:"St. Pierre & Miquelon  Flag"},{code:"1f1f5-1f1f3",desc:"Pitcairn Islands Flag"},{code:"1f1f5-1f1f7",desc:"Puerto Rico Flag"},{code:"1f1f5-1f1f8",desc:"Palestinian Territories Flag"},{code:"1f1f5-1f1f9",desc:"Portugal Flag"},{code:"1f1f5-1f1fc",desc:"Palau Flag"},{code:"1f1f5-1f1fe",desc:"Paraguay Flag"},{code:"1f1f6-1f1e6",desc:"Qatar Flag"},{code:"1f1f7-1f1ea",desc:"R\xe9union Flag"},{code:"1f1f7-1f1f4",desc:"Romania Flag"},{code:"1f1f7-1f1f8",desc:"Serbia Flag"},{code:"1f1f7-1f1fc",desc:"Rwanda Flag"},{code:"1f1f8-1f1e6",desc:"Saudi Arabia Flag"},{code:"1f1f8-1f1e7",desc:"Solomon Islands Flag"},{code:"1f1f8-1f1e8",desc:"Seychelles Flag"},{code:"1f1f8-1f1e9",desc:"Sudan Flag"},{code:"1f1f8-1f1ea",desc:"Sweden Flag"},{code:"1f1f8-1f1ec",desc:"Singapore Flag"},{code:"1f1f8-1f1ee",desc:"Slovenia Flag"},{code:"1f1f8-1f1ed",desc:"St. Helena  Flag"},{code:"1f1f8-1f1ef",desc:"Svalbard & Jan Mayen  Flag"},{code:"1f1f8-1f1f1",desc:"Sierra Leone Flag"},{code:"1f1f8-1f1f2",desc:"San Marino Flag"},{code:"1f1f8-1f1f3",desc:"Senegal Flag"},{code:"1f1f8-1f1f4",desc:"Somalia Flag"},{code:"1f1f8-1f1f7",desc:"Suriname Flag"},{code:"1f1f8-1f1f8",desc:"South Sudan  Flag"},{code:"1f1f8-1f1f9",desc:"S\xe3o Tom\xe9 & Pr\xedncipe Flag"},{code:"1f1f8-1f1fb",desc:"El Salvador Flag"},{code:"1f1f8-1f1fd",desc:"Sint Maarten Flag"},{code:"1f1f8-1f1fe",desc:"Syria Flag"},{code:"1f1f9-1f1e6",desc:"Tristan Da Cunha Flag"},{code:"1f1f9-1f1e8",desc:"Turks & Caicos Islands  Flag"},{code:"1f1f9-1f1eb",desc:"French Southern Territories Flag"},{code:"1f1f9-1f1ec",desc:"Togo Flag"},{code:"1f1f9-1f1ed",desc:"Thailand Flag"},{code:"1f1f9-1f1ef",desc:"Tajikistan Flag"},{code:"1f1f9-1f1f0",desc:"Tokelau Flag"},{code:"1f1f9-1f1f1",desc:"Timor-Leste Flag"},{code:"1f1f9-1f1f2",desc:"Turkmenistan Flag"},{code:"1f1f9-1f1f3",desc:"Tunisia Flag"},{code:"1f1f9-1f1f4",desc:"Tonga Flag"},{code:"1f1f9-1f1f7",desc:"Turkey Flag"},{code:"1f1f9-1f1f9",desc:"Trinidad & Tobago Flag"},{code:"1f1f9-1f1fb",desc:"Tuvalu Flag"},{code:"1f1f9-1f1fc",desc:"Taiwan Flag"},{code:"1f1f9-1f1ff",desc:"Tanzania Flag"},{code:"1f1fa-1f1e6",desc:"Ukraine City  Flag"},{code:"1f1fa-1f1ec",desc:"Uganda Flag"},{code:"1f1fa-1f1f2",desc:"U.s. Outlying Islands  Flag"},{code:"1f1fa-1f1fe",desc:"Uruguay  Flag"},{code:"1f1fa-1f1ff",desc:"Uzbekistan Flag"},{code:"1f1fb-1f1e6",desc:"Vatican City  Flag"},{code:"1f1fb-1f1e8",desc:"St. Vincent & Grenadines Flag"},{code:"1f1fb-1f1ea",desc:"Venezuela Flag"},{code:"1f1fb-1f1ec",desc:"British Virgin Islands Flag"},{code:"1f1fb-1f1ee",desc:"U.s. Virgin Islands Flag"},{code:"1f1fb-1f1f3",desc:"Vietnam Flag"},{code:"1f1fc-1f1f8",desc:"Samoa Flag"},{code:"1f1fb-1f1fa",desc:"Vanuatu Flag"},{code:"1f1fc-1f1eb",desc:'"Wallis & Futuna Flag'},{code:"1f1fd-1f1f0",desc:"Kosovo Flag"},{code:"1f1fe-1f1ea",desc:"Yemen Flag"},{code:"1f1fe-1f1f9",desc:"Mayotte Flag"},{code:"1f1ff-1f1e6",desc:"South Africa Flag"},{code:"1f1ff-1f1f2",desc:"Zambia Flag"},{code:"1f1ff-1f1fc",desc:"Zimbabwe Flag"},{code:"1f1eb-1f1f7",desc:"France Flag"},{code:"1f1ec-1f1e7",desc:"United Kingdom  Flag"},{code:"1f1ee-1f1f9",desc:"Italy Flag"},{code:"1f1ef-1f1f5",desc:"Japan Flag"},{code:"1f1f0-1f1f7",desc:"South Korea Flag"},{code:"1f1f7-1f1fa",desc:"Russia Flag"},{code:"1F6A9",desc:"Triangular Flag on Post"},{code:"1f1fa-1f1f8",desc:"United States Flag"}]}],emoticonsButtons:["emoticonsBack","|"],emoticonsUseImage:!0}),
1t.PLUGINS.emoticons=function(e){var n=e.$,a=e.opts.emoticonsSet,r=a&&a[0],o="";function i(){if(!e.selection.isCollapsed())return!1;var t=e.selection.element(),n=e.selection.endElement();if(t&&e.node.hasClass(t,"fr-emoticon"))return t;if(n&&e.node.hasClass(n,"fr-emoticon"))return n;var a=e.selection.ranges(0),r=a.startContainer;if(r.nodeType==Node.ELEMENT_NODE&&0<r.childNodes.length&&0<a.startOffset){var o=r.childNodes[a.startOffset-1];if(e.node.hasClass(o,"fr-emoticon"))return o}return!1}function s(){var t,n,o,i;return"".concat((t=r,'<div class="fr-buttons fr-tabs fr-tabs-scroll">\n                        '.concat((n="",a.forEach(function(a){var r={image:a.code.toLowerCase()},o={elementClass:a.id===t.id?"fr-active fr-active-tab":"",emoticonsUnicodeClass:e.opts.emoticonsUseImage?"":"fr-tabs-unicode",title:e.language.translate(a.name),dataCmd:"setEmoticonCategory",dataParam1:a.id,image:e.opts.emoticonsUseImage?'<img src="https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/'.concat(r.image,'.svg"/>'):"&#x".concat(r.image,";")};n+='<button class="fr-command fr-btn '.concat(o.elementClass," ").concat(o.emoticonsUnicodeClass,'" \n      title="').concat(o.title,'" data-cmd="').concat(o.dataCmd,'" data-param1="').concat(o.dataParam1,'">\n       ').concat(o.image," </button>")}),n),"\n                        </div>")),"\n                      ").concat((o=r,'\n        <div class="fr-icon-container fr-emoticon-container">\n            '.concat((i="",o.emoticons.forEach(function(t){var n=t.code.split("-").reduce(function(e,t){return e?"".concat(e,"&zwj;&#x").concat(t.toLowerCase(),";"):"&#x".concat(t.toLowerCase(),";")},""),a={image:t.code.toLowerCase(),compiledCode:t.uCode?t.uCode:n},r={dataParam1:t.code.toLowerCase(),dataParam2:a.compiledCode,title:e.language.translate(t.desc),image:e.opts.emoticonsUseImage?'<img src="https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/'.concat(a.image,'.svg"/>'):"".concat(a.compiledCode),desc:e.language.translate(t.desc)};i+='<span class="fr-command fr-emoticon fr-icon" role="button" \n      data-cmd="insertEmoticon" data-param1="'.concat(r.dataParam1,'" \n      data-param2="').concat(r.dataParam2,'"  title="').concat(r.title,'" >\n      ').concat(r.image,'<span class="fr-sr-only">').concat(r.desc,"&nbsp;&nbsp;&nbsp;</span></span>")}),i),"\n        </div>\n        ")),"\n                      ").concat(e.opts.emoticonsUseImage?'<p style="font-size: 12px; text-align: center; padding: 0 5px;">Emoji free by <a class="fr-link" tabIndex="-1" href="http://emojione.com/" target="_blank" rel="nofollow noopener noreferrer" role="link" aria-label="Open Emoji One website.">Emoji One</a></p>':"")}return{_init:function(){var a=function(){for(var t=e.el.querySelectorAll(".fr-emoticon:not(.fr-deletable)"),n=0;n<t.length;n++)t[n].className+=" fr-deletable"};a(),e.events.on("html.set",a),e.events.on("keydown",function(a){if(e.keys.isCharacter(a.which)&&e.selection.inEditor()){var r=e.selection.ranges(0),o=i();e.node.hasClass(o,"fr-emoticon-img")&&o&&(0===r.startOffset&&e.selection.element()===o?n(o).before(t.MARKERS+t.INVISIBLE_SPACE):n(o).after(t.INVISIBLE_SPACE+t.MARKERS),e.selection.restore())}}),e.events.on("keyup",function(a){for(var r=e.el.querySelectorAll(".fr-emoticon"),o=0;o<r.length;o++)void 0!==r[o].textContent&&0===r[o].textContent.replace(/\u200B/gi,"").length&&n(r[o]).remove();if(!(a.which>=t.KEYCODE.ARROW_LEFT&&a.which<=t.KEYCODE.ARROW_DOWN)){var s=i();e.node.hasClass(s,"fr-emoticon-img")&&(n(s).append(t.MARKERS),e.selection.restore())}})},insert:function(a,r){var o=i(),s=e.selection.ranges(0);o?(0===s.startOffset&&e.selection.element()===o?n(o).before(t.MARKERS+t.INVISIBLE_SPACE):0<s.startOffset&&e.selection.element()===o&&s.commonAncestorContainer.parentNode.classList.contains("fr-emoticon")&&n(o).after(t.INVISIBLE_SPACE+t.MARKERS),e.selection.restore(),e.html.insert('<span class="fr-emoticon fr-deletable'.concat(r?" fr-emoticon-img":"",'"').concat(r?' style="background: url('.concat(r,');"'):"",">").concat(r?"&nbsp;":a,"</span>&nbsp;").concat(t.MARKERS),!0)):e.html.insert('<span class="fr-emoticon fr-deletable'.concat(r?" fr-emoticon-img":"",'"').concat(r?' style="background: url('.concat(r,');"'):"",">").concat(r?"&nbsp;":a,"</span>&nbsp;"),!0)},setEmoticonCategory:function(t){r=a.filter(function(e){return e.id===t})[0],e.popups.get("emoticons").html(o+s())},showEmoticonsPopup:function(){var a,r,i,l=e.popups.get("emoticons");if(l||(e.opts.toolbarInline&&0<e.opts.emoticonsButtons.length&&(o='<div class="fr-buttons fr-emoticons-buttons fr-tabs">'.concat(e.button.buildList(e.opts.emoticonsButtons),"</div>")),a={buttons:o,custom_layer:s()},i=r=e.popups.create("emoticons",a),e.events.on("popup.tab",function(a){var r=n(a.currentTarget);if(!e.popups.isVisible("emoticons")||!r.is("span, a"))return!0;var o,s,l,c=a.which;if(t.KEYCODE.TAB==c){if(r.is("span.fr-emoticon")&&a.shiftKey||r.is("a")&&!a.shift
1Key){var d=i.find(".fr-buttons");o=!e.accessibility.focusToolbar(d,!!a.shiftKey)}if(!1!==o){var f=i.find("span.fr-emoticon:focus").first().concat(i.findVisible(" div.fr-tabs").first().concat(i.find("a")));r.is("span.fr-emoticon")&&(f=f.not("span.fr-emoticon:not(:focus)")),s=f.index(r),s=a.shiftKey?((s-1)%f.length+f.length)%f.length:(s+1)%f.length,l=f.get(s),e.events.disableBlur(),l.focus(),o=!1}}else if(t.KEYCODE.ARROW_UP==c||t.KEYCODE.ARROW_DOWN==c||t.KEYCODE.ARROW_LEFT==c||t.KEYCODE.ARROW_RIGHT==c){if(r.is("span.fr-emoticon")){var p=r.parent().find("span.fr-emoticon");s=p.index(r);var u=e.opts.emoticonsStep,h=Math.floor(p.length/u),g=s%u,m=Math.floor(s/u)*u+g,v=h*u;t.KEYCODE.ARROW_UP==c?m=((m-u)%v+v)%v:t.KEYCODE.ARROW_DOWN==c?m=(m+u)%v:t.KEYCODE.ARROW_LEFT==c?m=((m-1)%v+v)%v:t.KEYCODE.ARROW_RIGHT==c&&(m=(m+1)%v),l=n(p.get(m)),e.events.disableBlur(),l.focus(),o=!1}}else t.KEYCODE.ENTER==c&&(r.is("a")?r[0].click():e.button.exec(r),o=!1);return!1===o&&(a.preventDefault(),a.stopPropagation()),o},!0),l=r),!l.hasClass("fr-active")){e.popups.refresh("emoticons"),e.popups.setContainer("emoticons",e.$tb);var c=e.$tb.find('.fr-command[data-cmd="emoticons"]'),d=e.button.getPosition(c),f=d.left,p=d.top;e.popups.show("emoticons",f,p,c.outerHeight())}},back:function(){e.popups.hide("emoticons"),e.toolbar.showInline()}}},t.DefineIcon("emoticons",{NAME:"smile-o",FA5NAME:"smile",SVG_KEY:"smile"}),t.RegisterCommand("emoticons",{title:"Emoticons",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("emoticons")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("emoticons")):this.emoticons.showEmoticonsPopup()},plugin:"emoticons"}),t.RegisterCommand("insertEmoticon",{callback:function(e,t,n){this.emoticons.insert(n,this.opts.emoticonsUseImage?"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/".concat(t,".svg"):null),this.popups.hide("emoticons")}}),t.RegisterCommand("setEmoticonCategory",{undo:!1,focus:!1,callback:function(e,t){this.emoticons.setEmoticonCategory(t)}}),t.DefineIcon("emoticonsBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("emoticonsBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}}),Object.assign(t.DEFAULTS,{entities:"&quot;&#39;&iexcl;&cent;&pound;&curren;&yen;&brvbar;&sect;&uml;&copy;&ordf;&laquo;&not;&shy;&reg;&macr;&deg;&plusmn;&sup2;&sup3;&acute;&micro;&para;&middot;&cedil;&sup1;&ordm;&raquo;&frac14;&frac12;&frac34;&iquest;&Agrave;&Aacute;&Acirc;&Atilde;&Auml;&Aring;&AElig;&Ccedil;&Egrave;&Eacute;&Ecirc;&Euml;&Igrave;&Iacute;&Icirc;&Iuml;&ETH;&Ntilde;&Ograve;&Oacute;&Ocirc;&Otilde;&Ouml;&times;&Oslash;&Ugrave;&Uacute;&Ucirc;&Uuml;&Yacute;&THORN;&szlig;&agrave;&aacute;&acirc;&atilde;&auml;&aring;&aelig;&ccedil;&egrave;&eacute;&ecirc;&euml;&igrave;&iacute;&icirc;&iuml;&eth;&ntilde;&ograve;&oacute;&ocirc;&otilde;&ouml;&divide;&oslash;&ugrave;&uacute;&ucirc;&uuml;&yacute;&thorn;&yuml;&OElig;&oelig;&Scaron;&scaron;&Yuml;&fnof;&circ;&tilde;&Alpha;&Beta;&Gamma;&Delta;&Epsilon;&Zeta;&Eta;&Theta;&Iota;&Kappa;&Lambda;&Mu;&Nu;&Xi;&Omicron;&Pi;&Rho;&Sigma;&Tau;&Upsilon;&Phi;&Chi;&Psi;&Omega;&alpha;&beta;&gamma;&delta;&epsilon;&zeta;&eta;&theta;&iota;&kappa;&lambda;&mu;&nu;&xi;&omicron;&pi;&rho;&sigmaf;&sigma;&tau;&upsilon;&phi;&chi;&psi;&omega;&thetasym;&upsih;&piv;&ensp;&emsp;&thinsp;&zwnj;&zwj;&lrm;&rlm;&ndash;&mdash;&lsquo;&rsquo;&sbquo;&ldquo;&rdquo;&bdquo;&dagger;&Dagger;&bull;&hellip;&permil;&prime;&Prime;&lsaquo;&rsaquo;&oline;&frasl;&euro;&image;&weierp;&real;&trade;&alefsym;&larr;&uarr;&rarr;&darr;&harr;&crarr;&lArr;&uArr;&rArr;&dArr;&hArr;&forall;&part;&exist;&empty;&nabla;&isin;&notin;&ni;&prod;&sum;&minus;&lowast;&radic;&prop;&infin;&ang;&and;&or;&cap;&cup;&int;&there4;&sim;&cong;&asymp;&ne;&equiv;&le;&ge;&sub;&sup;&nsub;&sube;&supe;&oplus;&otimes;&perp;&sdot;&lceil;&rceil;&lfloor;&rfloor;&lang;&rang;&loz;&spades;&clubs;&hearts;&diams;"}),t.PLUGINS.entities=function(e){var t,n,a=e.$;function r(e){var a=e.textContent;if(a.match(t)){for(var r="",o=0;o<a.length;o++)n[a[o]]?r+=n[a[o]]:r+=a[o];e.textContent=r}}var o=function(t){return 0===t.length?"":e.clean.exec(t,function t(n){if(n&&0<=["STYLE","SCRIPT","svg","IFRAME"].indexOf(n.tagName))return!0;
1for(var a=e.node.contents(n),o=0;o<a.length;o++)a[o].nodeType===Node.TEXT_NODE?r(a[o]):t(a[o]);return n.nodeType===Node.TEXT_NODE&&r(n),!1}).replace(/\&amp;/g,"&")};return{_init:function(){e.opts.htmlSimpleAmpersand||(e.opts.entities="".concat(e.opts.entities,"&amp;"));var r=a(document.createElement("div")).html(e.opts.entities).text(),i=e.opts.entities.split(";");n={},t="";for(var s=0;s<r.length;s++){var l=r.charAt(s);n[l]="".concat(i[s],";"),t+="\\".concat(l+(s<r.length-1?"|":""))}t=RegExp("(".concat(t,")"),"g"),e.events.on("html.get",o,!0)}}},Object.assign(t.POPUP_TEMPLATES,{"file.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_PROGRESS_BAR_]"}),Object.assign(t.DEFAULTS,{fileUpload:!0,fileUploadURL:null,fileUploadParam:"file",fileUploadParams:{},fileUploadToS3:!1,fileUploadToAzure:!1,fileUploadMethod:"POST",fileMaxSize:0xa00000,fileAllowedTypes:["*"],fileInsertButtons:["fileBack","|"],fileUseSelectedText:!1}),t.PLUGINS.file=function(e){var n,a=e.$,r={};function o(){var t=e.popups.get("file.insert");t||(t=m()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-file-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),s(e.language.translate("Uploading"),0)}function i(t){var n=e.popups.get("file.insert");n&&(n.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),n.find(".fr-file-progress-bar-layer").removeClass("fr-active"),n.find(".fr-buttons").show(),t&&(e.events.focus(),e.popups.hide("file.insert")))}function s(t,n){var a=e.popups.get("file.insert");if(a){var r=a.find(".fr-file-progress-bar-layer");r.find("h3").text(t+(n?" ".concat(n,"%"):"")),r.removeClass("fr-error"),n?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(n,"%"))):r.find("div").addClass("fr-indeterminate")}}function l(t,n,a){e.edit.on(),e.events.focus(!0),e.selection.restore(),e.opts.fileUseSelectedText&&e.selection.text().length&&(n=e.selection.text()),e.html.insert('<a href="'.concat(t,'" target="_blank" id="fr-inserted-file" class="fr-file">').concat(n,"</a>"));var r=e.$el.find("#fr-inserted-file");r.removeAttr("id"),e.popups.hide("file.insert"),e.undo.saveStep(),C(),e.events.trigger("file.inserted",[r,a])}function c(t,n,r){var o,i=this.status,s=this.response,c=this.responseXML,d=this.responseText;try{if(e.opts.fileUploadToS3||e.opts.fileUploadToAzure)if(201===i){if(e.opts.fileUploadToAzure){if(!1===e.events.trigger("file.uploadedToAzure",[this.responseURL,r,s],!0))return e.edit.on(),!1;o=n}else o=function(t){try{var n=a(t).find("Location").text(),r=a(t).find("Key").text();return!1===e.events.trigger("file.uploadedToS3",[n,r,t],!0)?(e.edit.on(),!1):n}catch(e){return p(4,t),!1}}(c);o&&l(o,t,s||c)}else p(4,s||c);else if(200<=i&&i<300){var f=function(t){try{if(!1===e.events.trigger("file.uploaded",[t],!0))return e.edit.on(),!1;var n=JSON.parse(t);return n.link?n:(p(2,t),!1)}catch(e){return p(4,t),!1}}(d);f&&l(f.link,t,s||d)}else p(3,s||d)}catch(e){p(4,s||d)}}function d(){p(4,this.response||this.responseText||this.responseXML)}function f(t){if(t.lengthComputable){var n=t.loaded/t.total*100|0;s(e.language.translate("Uploading"),n)}}function p(t,n){var a,i,s;e.edit.on(),a=e.language.translate("Something went wrong. Please try again."),o(),(i=e.popups.get("file.insert").find(".fr-file-progress-bar-layer")).addClass("fr-error"),(s=i.find("h3")).text(a),e.events.disableBlur(),s.focus(),e.events.trigger("file.error",[{code:t,message:r[t]},n])}function u(){e.edit.on(),i(!0)}function h(t){if(void 0!==t&&0<t.length){if(!1===e.events.trigger("file.beforeUpload",[t]))return!1;var n,a=t[0];if(!(null!==e.opts.fileUploadURL&&"https://i.froala.com/upload"!==e.opts.fileUploadURL||e.opts.fileUploadToS3||e.opts.fileUploadToAzure))return(r=new FileReader).onload=function(){for(var t=r.result,n=atob(r.result.split(",")[1]),o=[],i=0;i<n.length;i++)o.push(n.charCodeAt(i));t=window.URL.createObjectURL(new Blob([new Uint8Array(o)],{type:a.type})),e.file.insert(t,a.name,null)},o(),r.readAsDataURL(a),!1;if(a.size>e.opts.fileMaxSize)return p(5),!1;if(0>e.opts.fileAllowedTypes.indexOf("*")&&0>e.opts.fileAllowedTypes.indexOf(a.type.replace(/file\//g,"")))return p(6),!1;if(e.drag_support.formdata&&(n=e.drag_support.formdata?new FormData:null),n){if
vendor: 4,671 bytes, line 1
1(!1!==e.opts.fileUploadToS3)for(i in n.append("key",e.opts.fileUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),n.append("success_action_status","201"),n.append("X-Requested-With","xhr"),n.append("Content-Type",a.type),e.opts.fileUploadToS3.params)e.opts.fileUploadToS3.params.hasOwnProperty(i)&&n.append(i,e.opts.fileUploadToS3.params[i]);for(i in e.opts.fileUploadParams)e.opts.fileUploadParams.hasOwnProperty(i)&&n.append(i,e.opts.fileUploadParams[i]);n.append(e.opts.fileUploadParam,a);var r,i,s,l,h=e.opts.fileUploadURL;e.opts.fileUploadToS3&&(h=e.opts.fileUploadToS3.uploadURL?e.opts.fileUploadToS3.uploadURL:"https://".concat(e.opts.fileUploadToS3.region,".amazonaws.com/").concat(e.opts.fileUploadToS3.bucket));var g=e.opts.fileUploadMethod;e.opts.fileUploadToAzure&&(s=h=e.opts.fileUploadToAzure.uploadURL?"".concat(e.opts.fileUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(e.opts.fileUploadToAzure.account,".blob.core.windows.net/").concat(e.opts.fileUploadToAzure.container,"/").concat(a.name)),e.opts.fileUploadToAzure.SASToken&&(h+=e.opts.fileUploadToAzure.SASToken),g="PUT");var m=e.core.getXHR(h,g);if(e.opts.fileUploadToAzure){var v=(new Date).toUTCString();if(!e.opts.fileUploadToAzure.SASToken&&e.opts.fileUploadToAzure.accessKey){var b=e.opts.fileUploadToAzure.account,C=e.opts.fileUploadToAzure.container;if(e.opts.fileUploadToAzure.uploadURL){var E=e.opts.fileUploadToAzure.uploadURL.split("/");C=E.pop(),b=E.pop().split(".")[0]}var y="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(v,"\nx-ms-version:2019-07-07"),T=encodeURI("/"+b+"/"+C+"/"+a.name),A=g+"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+y+"\n"+T,L=e.cryptoJSPlugin.cryptoJS.HmacSHA256(A,e.cryptoJSPlugin.cryptoJS.enc.Base64.parse(e.opts.fileUploadToAzure.accessKey)).toString(e.cryptoJSPlugin.cryptoJS.enc.Base64),x="SharedKey "+b+":"+L;l=L,m.setRequestHeader("Authorization",x)}for(i in m.setRequestHeader("x-ms-version","2019-07-07"),m.setRequestHeader("x-ms-date",v),m.setRequestHeader("Content-Type",a.type),m.setRequestHeader("x-ms-blob-type","BlockBlob"),e.opts.fileUploadParams)e.opts.fileUploadParams.hasOwnProperty(i)&&m.setRequestHeader(i,e.opts.fileUploadParams[i]);for(i in e.opts.fileUploadToAzure.params)e.opts.fileUploadToAzure.params.hasOwnProperty(i)&&m.setRequestHeader(i,e.opts.fileUploadToAzure.params[i])}m.onload=function(){c.call(m,a.name,s,l)},m.onerror=d,m.upload.onprogress=f,m.onabort=u,o();var S=e.popups.get("file.insert");S&&(S.off("abortUpload"),S.on("abortUpload",function(){4!==m.readyState&&m.abort()})),m.send(e.opts.fileUploadToAzure?a:n)}}}function g(){i()}function m(t){if(t)return e.popups.onHide("file.insert",g),!0;e.opts.fileUpload||e.opts.fileInsertButtons.splice(e.opts.fileInsertButtons.indexOf("fileUpload"),1),n='<div class="fr-buttons fr-tabs">'.concat(e.button.buildList(e.opts.fileInsertButtons),"</div>");var n,r="";e.opts.fileUpload&&(r='<div class="fr-file-upload-layer fr-layer fr-active" id="fr-file-upload-layer-'.concat(e.id,'"><strong>').concat(e.language.translate("Drop file"),"</strong><br>(").concat(e.language.translate("or click"),')<div class="fr-form"><input type="file" name="').concat(e.opts.fileUploadParam,'" accept="').concat(0<=e.opts.fileAllowedTypes.indexOf("*")?"/":"").concat(e.opts.fileAllowedTypes.join(", ").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-file-upload-layer-').concat(e.id,'" role="button"></div></div>'));var o={buttons:n,upload_layer:r,progress_bar:'<div class="fr-file-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="fileDismissError" tabIndex="2" role="button">OK</button></div></div>'},i=e.popups.create("file.insert",o);return e.events.$on(i,"dragover dragenter",".fr-file-upload-layer",function(){return a(this).addClass("fr-drop"),!1},!0),e.events.$on(i,"dragleave dragend",".fr-file-upload-layer",function(){return a(this).removeClass("fr-drop"),!1},!0),e.events.$on(i,"drop",".fr-file-upload-layer",function(t){t.preventDefault(),t.stopPropagation(),a(this).removeClass("fr-drop");var n=t.originalEvent.dataTransfer;n&&n.files&&(i.data("instance")||e).file.upload(n.files)},!0),e.helpers.isIOS()&&e.events.$on(i,"touchstart",'.fr-file-upload-layer input[type="file"]',function(){a(this).trigger("click")}),e.events.$on(i,"change",'.fr-file-upload-layer input[type="file"]',function(){if(this.files){var t=i.data("instance")||e;t.events.disableBlur(),i.find("input:focus").blur(),t.events.enableBlur(),t.file.upload(this.files)}a(this).val("")},!0),i}
1function v(t){e.node.hasClass(t,"fr-file")}function b(n){var a=n.originalEvent.dataTransfer;if(a&&a.files&&a.files.length){var r=a.files[0];if(r&&void 0!==r.type){if(0>r.type.indexOf("image")){if(!e.opts.fileUpload)return n.preventDefault(),n.stopPropagation(),!1;e.markers.remove(),e.markers.insertAtPoint(n.originalEvent),e.$el.find(".fr-marker").replaceWith(t.MARKERS),e.popups.hideAll();var i=e.popups.get("file.insert");return i||(i=m()),e.popups.setContainer("file.insert",e.$sc),e.popups.show("file.insert",n.originalEvent.pageX,n.originalEvent.pageY),o(),h(a.files),n.preventDefault(),n.stopPropagation(),!1}}else 0>r.type.indexOf("image")&&(n.preventDefault(),n.stopPropagation())}}function C(){var t,a=Array.prototype.slice.call(e.el.querySelectorAll("a.fr-file")),r=[];for(t=0;t<a.length;t++)r.push(a[t].getAttribute("href"));if(n)for(t=0;t<n.length;t++)0>r.indexOf(n[t].getAttribute("href"))&&e.events.trigger("file.unlink",[n[t]]);n=a}return r[1]="File cannot be loaded from the passed link.",r[2]="No link in upload response.",r[3]="Error during file upload.",r[4]="Parsing response failed.",r[5]="File is too large.",r[6]="File file type is invalid.",r[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",{_init:function(){e.events.on("drop",b),e.events.$on(e.$win,"keydown",function(n){var a=n.which,r=e.popups.get("file.insert");r&&a===t.KEYCODE.ESC&&r.trigger("abortUpload")}),e.events.on("destroy",function(){var t=e.popups.get("file.insert");t&&t.trigger("abortUpload")}),e.events.on("link.beforeRemove",v),e.$wp&&(C(),e.events.on("contentChanged",C)),m(!0)},showInsertPopup:function(){var t=e.$tb.find('.fr-command[data-cmd="insertFile"]'),n=e.popups.get("file.insert");if(n||(n=m()),i(),!n.hasClass("fr-active"))if(e.popups.refresh("file.insert"),e.popups.setContainer("file.insert",e.$tb),t.isVisible){var a=e.button.getPosition(t),r=a.left,o=a.top;e.popups.show("file.insert",r,o,t.outerHeight())}else e.position.forSelection(n),e.popups.show("file.insert")},upload:h,insert:l,back:function(){e.events.disableBlur(),e.selection.restore(),e.events.enableBlur(),e.popups.hide("file.insert"),e.toolbar.showInline()},hideProgressBar:i}},t.DefineIcon("insertFile",{NAME:"file-o",FA5NAME:"file",SVG_KEY:"insertFile"}),t.RegisterCommand("insertFile",{title:"Upload File",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("file.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("file.insert")):this.file.showInsertPopup()},plugin:"file"}),t.DefineIcon("fileBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("fileBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.file.back()},refresh:function(e){this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),t.RegisterCommand("fileDismissError",{title:"OK",callback:function(){this.file.hideProgressBar(!0)}}),Object.assign(t.POPUP_TEMPLATES,{"filesManager.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_PROGRESS_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(t.DEFAULTS,{filesInsertButtons:["imageBack","|","filesUpload","filesByURL","filesEmbed"],filesInsertButtons2:["deleteAll","insertAll","cancel","minimize"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,filesManagerUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,filesManagerUploadParam:"file",filesManagerUploadParams:{},googleOptions:{},filesManagerUploadToS3:!1,filesManagerUploadToAzure:!1,filesManagerUploadMethod:"POST",filesManagerMaxSize:0xa00000,filesManagerAllowedTypes:["*"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr
1-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),t.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'<iframe width="640" height="360" src="{url}&wmode=opaque" frameborder="0" allowfullscreen></iframe>',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vidyard"}],t.VIDEO_EMBED_REGEX=/^\W*((<iframe(.|\n)*>(\s|\n)*<\/iframe>)|(<embed(.|\n)*>))\W*$/i,t.IMAGE_EMBED_REGEX=/^\W*((<img(.|\n)*>(\s|\n)*))\W*$/i,t.PLUGINS.filesManager=function(n){var a,r,o,i,s,l,c,d,f=n.$,p=!1,u=!1,h=new Map,g=new Map,m=new Map,v=new Map,b=new Map,C=new Map,E=0,y=[],T=-1,A=[],L=0,x=["file","image","imageTUI","video"],S=["video/avi","video/mpeg","video/x-ms-wmv"],w={};function R(){var e=n.popups.get("filesManager.insert"),t=e.find(".fr-files-by-url-layer input");t.val(""),e.find(".fr-files-embed-layer textarea").val("").trigger("change"),t.trigger("change")}function _(e){n.hasOwnProperty("imageTUI")||(c="fr-disabled"),C.forEach(function(e,t){U(t)}),M()?(l=n.popups.get("filesManager.insert"))||(l=eN()):(l=n.popups.get("filesManager.insert"))||(o='<div class="fr-buttons fr-tabs">'.concat(n.button.buildList(n.opts.fileInsertButtons),"</div>"),i="<div style= 'padding:10px'>\n    <div class = 'fr-message'><h3 style ='font-size: 16px; margin: 10px 10px;font-weight: normal;'>".concat(n.language.translate((a="",a=(t=[],x.forEach(function(e){0>n.opts.pluginsEnabled.indexOf(e)&&t.push(e.charAt(0).toUpperCase()+e.slice(1))}),r=t).join(", "),1<r.length?a+=" plugin are":a+=" plugin is",a+" not enabled. Do you want to enable?")),"</h3></div>\n    <div style='text-align:right;'>\n      <button class='fr-trim-button fr-plugins-enable'>").concat(n.language.translate("Enable"),"</button>               \n      <button class='fr-trim-button fr-plugins-cancel'>").concat(n.language.translate("Cancel"),"</button>\n    </div>"),eS(s=n.popups.create("filesManager.insert",{buttons:o,upload_layer:i,by_url_layer:"",embed_layer:"",upload_progress_layer:"",progress_bar:""})),l=s);
1var t,a,r,o,i,s,l,d=n.$tb.find('.fr-command[data-cmd="insertFiles"]');if(W(),e||!l.hasClass("fr-active"))if(e||K(),n.popups.refresh("filesManager.insert"),n.popups.setContainer("filesManager.insert",n.$tb),d.isVisible()){var f=n.button.getPosition(d,h.size),p=f.left,u=f.top;n.popups.show("filesManager.insert",p,u,d.outerHeight())}else n.position.forSelection(l),n.popups.show("filesManager.insert");n.popups.setPopupDimensions(l),M()&&n.popups.setFileListHeight(l),l.find(".fr-upload-progress")&&0==h.size&&l.find(".fr-upload-progress").addClass("fr-none")}function M(){var e=!0;return x.forEach(function(t){0>n.opts.pluginsEnabled.indexOf(t)&&(e=!1)}),e}function O(){W()}function k(){if(i||function(){var e;if(n.shared.$image_resizer?(i=n.shared.$image_resizer,l=n.shared.$img_overlay,n.events.on("destroy",function(){f("body").first().append(i.removeClass("fr-active"))},!0)):(n.shared.$image_resizer=f(document.createElement("div")).attr("class","fr-image-resizer"),i=n.shared.$image_resizer,n.events.$on(i,"mousedown",function(e){e.stopPropagation()},!0),n.opts.imageResize&&(i.append(N("nw")+N("ne")+N("sw")+N("se")),n.shared.$img_overlay=f(document.createElement("div")).attr("class","fr-image-overlay"),l=n.shared.$img_overlay,f(e=i.get(0).ownerDocument).find("body").first().append(l))),n.events.on("shared.destroy",function(){i.html("").removeData().remove(),i=null,n.opts.imageResize&&(l.remove(),l=null)},!0),n.helpers.isMobile()||n.events.$on(f(n.o_win),"resize",function(){a&&!a.hasClass("fr-uploading")?eq(!0):a&&(k(),replace(),z(!1))}),n.opts.imageResize){e=i.get(0).ownerDocument,n.events.$on(i,n._mousedown,".fr-handler",D),n.events.$on(f(e),n._mousemove,B),n.events.$on(f(e.defaultView||e.parentWindow),n._mouseup,F),n.events.$on(l,"mouseleave",F);var r=1,o=null,s=0;n.events.on("keydown",function(e){if(a){var i=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,l=e.which;(l!==o||200<e.timeStamp-s)&&(r=1),(l==t.KEYCODE.EQUALS||n.browser.mozilla&&l==t.KEYCODE.FF_EQUALS)&&i&&!e.altKey?r=eU.call(this,e,1,1,r):(l==t.KEYCODE.HYPHEN||n.browser.mozilla&&l==t.KEYCODE.FF_HYPHEN)&&i&&!e.altKey?r=eU.call(this,e,2,-1,r):n.keys.ctrlKey(e)||l!=t.KEYCODE.ENTER||(a.before("<br>"),eg(a)),o=l,s=e.timeStamp}},!0),n.events.on("keyup",function(){r=1})}}(),!a)return!1;var e=n.$wp||n.$sc;e.append(i),i.data("instance",n);var r=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),o=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);o-=n.helpers.getPX(e.css("border-left-width")),r-=n.helpers.getPX(e.css("border-top-width")),n.$el.is("img")&&n.$sc.is("body")&&(o=r=0);var s=e1();e0()&&(s=s.find(".fr-img-wrap"));var c=0,d=0;n.opts.iframe&&(c=n.helpers.getPX(n.$wp.find(".fr-iframe").css("padding-top")),d=n.helpers.getPX(n.$wp.find(".fr-iframe").css("padding-left"))),i.css("top",(n.opts.iframe?s.offset().top+c:s.offset().top+r)-1).css("left",(n.opts.iframe?s.offset().left+d:s.offset().left+o)-1).css("width",s.get(0).getBoundingClientRect().width).css("height",s.get(0).getBoundingClientRect().height).addClass("fr-active")}function N(e){return'<div class="fr-handler fr-h'.concat(e,'"></div>')}function I(e){e0()?a.parents(".fr-img-caption").css("width",e):a.css("width",e)}function D(e){if(!n.core.sameInstance(i))return!0;if(e.preventDefault(),e.stopPropagation(),n.$el.find("img.fr-error").left)return!1;n.undo.canDo()||n.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var r=n.$oel.get(0).ownerDocument,o=r.defaultView||r.parentWindow,c=!1;try{c=o.location!=o.parent.location&&!(o.$&&o.$.FE)}catch(e){}c&&o.frameElement&&(t+=n.helpers.getPX(f(o.frameElement).offset().left)+o.frameElement.clientLeft)}(s=f(this)).data("start-x",t),s.data("start-width",a.width()),s.data("start-height",a.height());var d=a.width();n.opts.imageResizeWithPercent&&(d=(d/f(a.parentsUntil(n.$el,n.html.blockTagsQuery()).get(0)||n.el).outerWidth()*100).toFixed(2)+"%"),I(d),l.show(),n.popups.hideAll(),eQ()}function B(e){if(!n.core.sameInstance(i))return!0;if(s&&a){if(e.preventDefault(),n.$el.find("img.fr-error").left)return!1;var t,r=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!r)return!1;var o=r-s.data("start-x"),l=s.data("start-width");if((s.hasClass("fr-hnw")||s.hasClass("fr-hsw"))&&(o=0-o),n.opts.imageResizeWithPercent){var c=a.parentsUntil(n.$el,n.html.blockTagsQuery()).get(0)||n.el;l=((l+o)/f(c).outerWidth()*100).toFixed(2),n.opts.imageRoundPercent&&(l=Math.round(l)),I("".concat(l,"%")),(t=e0()?(n.helpers.getPX(a.parents(".fr-img-caption").css("width"))/f(c).outerWidth()*100).toFixed(2):(n.helpers.getPX(a.css("width"))/f(c).outerWidth()*100).toFixed(2))===l||n.opts.imageRoundPercent||I("".concat(t,"%")),a.css("height","").removeAttr("height")}else l+o>=n.opts.imageMinWidth&&(I(l+o),t=e0()?n.helpers.getPX(a.parents(".fr-img-caption").css("width")):n.helpers.getPX(a.css("width"))),t!==l+o&&I(t),((a.attr("style")||"").match(/(^height:)|(; *height:)/)||a.attr("height"))&&(a.css("height",s.data("start-height")*a.width()/s.data("start-width")),a.removeAttr("height"));k(),n.events.trigger("image.resize",[a])}}function F(e){if(!n.core.sameInstance(i))return!0;
vendor: 1,543 bytes, line 1
1if(s&&a){if(e&&e.stopPropagation(),n.$el.find("img.fr-error").left)return!1;s=null,l.hide(),k(),n.undo.saveStep(),n.events.trigger("image.resizeEnd",[a])}else i.removeClass("fr-active")}function $(){C.forEach(function(e,t){var a=n.popups.get("filesManager.insert");a.find(".fr-checkbox-file-"+t).get(0).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t)&&(document.getElementById("fr-file-autoplay-button-"+t).disabled=!0,document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.add("fr-checkbox-disabled"),document.getElementById("fr-file-autoplay-button-"+t).parentElement.classList.remove("fr-files-checkbox")),a.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),a.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled")})}function P(e,t,r,o){n.edit.on(),a&&a.addClass("fr-error"),w[e]?(3!=e&&2!=e&&4!=e||ep(100,o,!0),C.set(o,w[e]),$(),C.forEach(function(e,t){n.popups.get("filesManager.insert"),document.getElementById("fr-file-edit-button-".concat(t))&&(document.getElementById("fr-file-edit-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-view-button-".concat(t)).classList.add("fr-disabled"),document.getElementById("fr-file-insert-button-".concat(t)).classList.add("fr-disabled"))}),Y(n.language.translate(w[e]),o)):Y(n.language.translate("Something went wrong. Please try again."),o),!a&&r&&eK(r),n.events.trigger("filesManager.error",[{code:e,message:w[e]},t,r])}function H(){var e=n.popups.get("filesManager.insert"),t=e.find('.fr
1-command[data-cmd="insertAll"]'),a=e.find('.fr-command[data-cmd="deleteAll"]'),r=!0;b.forEach(function(e,t,n){b.get(t)&&(r=!1)}),r?t.addClass("fr-disabled"):t.removeClass("fr-disabled"),r?a.addClass("fr-disabled"):a.removeClass("fr-disabled")}function U(e){g.get(e)&&g.get(e).link&&n.events.trigger("filesManager.removed",[g.get(e).link]);var t=n.popups.get("filesManager.insert");void 0!==t.find(".fr-file-"+e).get(0)&&(t.find(".fr-file-"+e).get(0).outerHTML=""),g.delete(e),h.delete(e),b.delete(e),H(),0==h.size&&(L=0),C.delete(e),n.popups.setPopupDimensions(t,!0),n.opts.toolbarBottom?_(!0):n.popups.setPopupDimensions(t),t.find(".fr-upload-progress")&&0==h.size&&t.find(".fr-upload-progress").addClass("fr-none")}function K(){for(var e=n.popups.get("filesManager.insert"),t=e.find(".fr-insert-checkbox"),a=0;a<t.length;a++)t.get(a).children.target.checked=!1,e.find(".fr-file-"+t.get(a).id.split("-").pop()).get(0).classList.add("fr-unchecked");if(o)document.getElementById("fr-file-autoplay-button-".concat(o))&&(document.getElementById("fr-file-autoplay-button-".concat(o)).checked=!1),A=A.filter(function(e){return e!=o});else{for(var r=e.find(".fr-file-autoplay-button"),i=0;i<r.length;i++)r.get(i).checked=!1;A=[]}b=new Map,H()}function z(e){var t=n.popups.get("filesManager.insert");if(t||(t=eN()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-files-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),a){var r=e1();n.popups.setContainer("filesManager.insert",n.$sc);var o=r.offset().left,i=r.offset().top+r.height();n.popups.show("filesManager.insert",o,i,r.outerHeight())}void 0===e&&V(n.language.translate("Uploading"),0)}function W(e){var t=n.popups.get("filesManager.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-files-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||n.$el.find("img.fr-error").length)){if(n.events.focus(),n.$el.find("img.fr-error").length&&(n.$el.find("img.fr-error").remove(),n.undo.saveStep(),n.undo.run(),n.undo.dropRedo()),!n.$wp&&a){var r=a;eq(!0),n.selection.setAfter(r.get(0)),n.selection.restore()}n.popups.hide("filesManager.insert")}}function V(e,t){var a=n.popups.get("filesManager.insert");if(a){var r=a.find(".fr-files-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function G(e){z();var t=n.popups.get("filesManager.insert").find(".fr-files-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),n.events.disableBlur(),a.focus()}function Y(e,t){var a=n.popups.get("filesManager.insert"),r=a.find(".fr-upload-progress-layer"),o=a.find(".fr-file-".concat(t));r.addClass("fr-error"),o.find("h5").text(e)}w[1]="File cannot be loaded from the passed link.",w[2]="No link in upload response.",w[3]="Error during file upload.",w[4]="Parsing response failed.",w[5]="File is too large.",w[6]="File type is invalid.",w[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",w[8]="File is corrupted.",w[9]="Error during file loading.",w[10]="File upload cancelled";var j,q,X,Z,Q,J,ee,et,en,ea,er="";function eo(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function ei(e){for(n.helpers.isMobile()&&(Q=event.touches[0].clientX,J=event.touches[0].clientY),Z=e.target;!Z.classList.contains(er);)Z=Z.parentElement;Z.classList.contains(er)&&!Z.classList.contains("fr-unchecked")?n.helpers.isMobile()&&Z.classList.add("drag-sort-active"):Z=void 0}function es(e){if(void 0!==Z){if(n.helpers.isMobile())for(a=Q,r=J,t=event.target;!t.classList.contains(er);)t=t.parentElement;else a=event.clientX,r=event.clientY;!n.helpers.isMobile()&&(n.browser.safari||n.browser.mozilla)&&(a=q,r=X);for(var t,a,r,o=document.elementFromPoint(a,r);o&&!o.classList.contains(er);)o=o.parentElement;o&&!o.classList.contains(er)?o=void 0:o&&Z!==o&&function(e,t){var n,a,r=e.parentNode,o=t.parentNode;if(!(!r||!o||r.isEqualNode(t)||o.isEqualNode(e))){for(var i=0;i<r.children.length;i++)r.children[i].isEqualNode(e)&&(n=i);for(var i=0;i<o.children.length;i++)o.children[i].isEqualNode(t)&&(a=i);r.isEqualNode(o)&&n<a&&a++,r.insertBefore(t,r.children[n]),o.insertBefore(e,o.children[a])}}(Z,o),n.helpers.isMobile()&&(t.classList.remove("fr-hovered-over-file"),o.classList.remove("fr-hovered-over-file"))}}function el(e){var t,a,r=n.popups.get("filesManager.insert");
1r.find(".fr-upload-progress-layer").hasClass("fr-active")||r.find(".fr-upload-progress-layer").addClass("fr-active"),r.find(".fr-upload-progress").removeClass("fr-none");var o=h.get(e),i=function(e){var t,a={weekday:"long",year:"numeric",month:"long",day:"numeric"};try{t=e.toLocaleDateString(n.opts.language?n.opts.language:void 0,a)}catch(n){t=e.toLocaleDateString(void 0,a)}return t+""}(new Date),s=b.get(e)?"":"fr-unchecked ",l="\n        <div id='fr-file-".concat(e,"' class='fr-file-list-item fr-file-").concat(e," ").concat(s,"' draggable = \"").concat(!s,'" >\n        <div class=\'fr-file-item-left\' >\n\n    \n            <div class="fr-file-item-insert-checkbox fr-files-checkbox-line">\n            ').concat(n.helpers.isMobile()?"<div id='fr-pick-".concat(e,"}' class='dot'>\n            </div>"):"",'\n            <div id="checkbox-key-').concat(e,'" class="fr-files-checkbox fr-insert-checkbox  fr-checkbox-').concat(e,'">\n            <input name="target" class="fr-insert-attr fr-checkbox-file-').concat(e,' fr-file-insert-check" data-cmd="fileInsertCheckbox"\n             data-checked="_blank" type="checkbox" id="fr-link-target-').concat(n.id,'" tabIndex="0" />\n            <span>').concat('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>','\n            </span>\n        </div>\n                <label id="fr-label-target-').concat(n.id,"\"></label>\n            </div>\n    \n            <div class='fr-file-item-icon fr-file-item-icon-").concat(e,"' >\n                <img src='https://secure.webtoolhub.com/static/resources/icons/set112/f2afb6f7.png' alt='Image preview' class='thumbnail-padding' height='36px' width='36px' />\n            </div>\n\n            <div class='fr-file-item-description' >\n                <div class='fr-file-name fr-files-manager-tooltip'>\n                   ").concat((t=o.name,null==a&&(a="..."),t.length>20?t.substring(0,20-a.length)+a:t),'\n                      <span class="').concat(20<o.name.length?"tooltiptext":"fr-none",'">').concat(o.name,"\n                      </span>\n                 </div>\n                 <div class='fr-file-details'>\n                 <div class='fr-file-date'>").concat(i,"\n                 </div>\n \n                 <div class='fr-file-size'>\n                     ").concat(function(e){if(0==e)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024));return" | "+ +(e/Math.pow(1024,t)).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]}(o.size),"\n                 </div>\n                 </div>\n\n                  <div class='fr-file-error'>\n                    <h5 class='fr-file-error-h5'></h5>\n                 </div>\n             </div>\n    \n        </div>\n\n        <div class='fr-file-item-right fr-file-item-right-").concat(e,"'>")+ef(e)+"</div>\n    </div>";r.find(".fr-upload-progress-layer")[0].innerHTML=l+r.find(".fr-upload-progress-layer")[0].innerHTML,h.forEach(function(e,t,n){b.get(t)&&r.find("input.fr-insert-attr.fr-checkbox-file-".concat(t))[0].setAttribute("checked",null)}),A.forEach(function(e){document.getElementById("fr-file-autoplay-button-"+e).checked=!0}),ed(e,o),W(),n.opts.toolbarBottom?_(!0):n.popups.setPopupDimensions(r),er="fr-file-list-item",j=document.getElementsByClassName("fr-file-list-item"),Array.prototype.map.call(j,function(e){if(e.addEventListener("dragover",function(e){e.preventDefault(),e.stopPropagation(),q=e.pageX,X=e.pageY;var t=document.getElementById("filesList");X+20>t.getBoundingClientRect().bottom&&eo(t,0,10),X-20<t.getBoundingClientRect().top&&eo(t,0,-10)},!1),n.helpers.isMobile()&&e.getElementsByClassName("dot")[0].addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation();for(var t=e.target;t&&!t.classList.contains(er);)t=t.parentElement;for(var n=document.elementFromPoint(e.targetTouches[0].clientX,e.targetTouches[0].clientY);n&&!n.classList.contains(er);)n=n.parentElement;var a=document.getElementsByClassName("fr-hovered-over-file");Array.prototype.forEach.call(a,function(e){e.classList.remove("fr-hovered-over-file")}
1),n&&!t.classList.contains("fr-unchecked")&&n.classList.add("fr-hovered-over-file");var r=document.getElementById("filesList");e.targetTouches[0].clientY+5>r.getBoundingClientRect().bottom&&eo(r,0,5),e.targetTouches[0].clientY-5<r.getBoundingClientRect().top&&eo(r,0,-5)},!1),e.ondrag=ei,e.ondragend=es,n.helpers.isMobile()){var t=e.getElementsByClassName("dot");t[0].addEventListener("touchmove",ei,!1),t[0].addEventListener("touchend",es,!1)}})}function ec(e){switch(e){case"application/msword":return n.icon.getFileIcon("docIcon");case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return n.icon.getFileIcon("docxIcon");case"image/gif":return n.icon.getFileIcon("gifIcon");case"image/jpeg":return n.icon.getFileIcon("jpegIcon");case"image/jpeg":return n.icon.getFileIcon("jpgIcon");case"type/text":return n.icon.getFileIcon("logIcon");case"video/quicktime":return n.icon.getFileIcon("movIcon");case"audio/mp3":case"audio/mpeg":return n.icon.getFileIcon("mp3Icon");case"video/mp4":return n.icon.getFileIcon("mp4Icon");case"audio/ogg":return n.icon.getFileIcon("oggIcon");case"video/ogg":return n.icon.getFileIcon("ogvIcon");case"application/pdf":return n.icon.getFileIcon("pdfIcon");case"image/png":return n.icon.getFileIcon("pngIcon");case"text/plain":return n.icon.getFileIcon("txtIcon");case"video/webm":return n.icon.getFileIcon("webmIcon");case"image/webp":return n.icon.getFileIcon("webpIcon");case"video/x-ms-wmv":return n.icon.getFileIcon("wmvIcon");case"application/vnd.ms-excel":return n.icon.getFileIcon("xlsIcon");case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return n.icon.getFileIcon("xlsxIcon");case"application/x-zip-compressed":case"application/zip":return n.icon.getFileIcon("zipIcon");default:return n.icon.getFileIcon("defaultIcon")}}function ed(e,t,a){var r=n.popups.get("filesManager.insert"),o=r.find(".fr-file-item-icon-"+e).get(0);if(eR(eE(t))&&"image/gif"!=eE(t)&&"image/webp"!=eE(t)){"a"!=o.children[0].localName&&(o.innerHTML="<a target='_blank' href=''>"+o.innerHTML+"</a>"),r.find(".fr-file-item-icon-"+e).get(0).children[0].children[0];var i=new FileReader;if(null!=a&&a&&(t.name=h.get(e).name,h.set(e,t)),i.onloadend=function(){r.find(".fr-file-item-icon-"+e).get(0).children[0].children[0].src=i.result;for(var n=atob(i.result.split(",")[1]),a=[],o=0;o<n.length;o++)a.push(n.charCodeAt(o));r.find(".fr-file-item-icon-"+e).get(0).children[0].href=window.URL.createObjectURL(new Blob([new Uint8Array(a)],{type:eE(t)})),r.find(".fr-file-item-icon-"+e).get(0).classList.add("file-item-thumbnail-hover")},t)i.readAsDataURL(t);else{var s=ec(eE(t));o.innerHTML='<svg height="40px" width="40px" viewBox="0 0 55 5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n        '.concat(s.path,"\n        </svg>")}}else{var l=ec(eE(t));o.innerHTML='<svg height="40px" width="40px" viewBox="0 0 55 55" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n      '.concat(l.path,"\n      </svg>")}}function ef(e){var t="";if(eM(eE(h.get(e)))){var a="fr-files-checkbox",r="";ek(eE(h.get(e)))||(a="fr-checkbox-disabled",r="disabled"),t='\n      <div class="fr-files-checkbox-line align-autoplay">\n      <div id="checkbox-key-'.concat(e,'" class="').concat(a," fr-autoplay-checkbox  fr-checkbox-").concat(e,'">  \n                   \n      <input type="checkbox" id="fr-file-autoplay-button-').concat(e,'" class="fr-file-button-').concat(e,' fr-file-autoplay-button" data-title="Edit" data-param1="').concat(e,'" role="button" ').concat(r,"/>\n\n      <span>").concat('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>'," </span>\n      </div>      \n      <label  class='fr-autoplay-checkbox-label'>Autoplay </label>\n      </div>")}var o="application/msword",i="application/vnd.openxmlformats-officedocument.wordprocessingml.document",s="";return!eO(eE(h.get(e)))&&ek(eE(h.get(e)))||(c="fr-disabled"),eM(eE(h.get(e)))&&(c="fr-disabled"),e_(eE(h.get(e)))&&(c="fr-disabled",eE(h.get(e))!=o&&eE(h.get(e))!=i||n.opts.googleOptions&&!n.helpers.isMobile()&&n.opts.googleOptions.API_KEY&&n.opts.googleOptions.CLIENT_ID&&(c=""),"text/plain"!=eE(h.get(e))&&eE(h.get(e))!=o&&"application/pdf"!=eE(h.get(e))&&eE(h.get(e))!=i&&"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"!=eE(h.get(e))&&"application/vnd.ms-excel"!=eE(h.get(e))&&"type/text"!=eE(h.get(e))||(s="")),"video/url"===eE(h.get(e))&&(c="fr-disabled"),t+='<div class=\'fr-file-item-action-buttons\' >\n                <button type="button" id="fr-file-insert-button-'.concat(e,'" class=" fr-doc-edit-').concat(e," fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n                fr-file-button-").concat(e," fr-file-insert-button-").concat(e,' fr-file-insert-button" data-cmd="imageInsertByUpload" data-title="Insert" data-param1="').concat(e,'" tabIndex="2" role="button">\n                <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-5 0 28 28" xlmns = "http://w3.org/200/svg"><path d = \'M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 \'></path></svg>\n                </button>\n\n                <button type="button" id="fr-file-edit-button-').concat(e,'" class=" fr-doc-edit-').concat(e," ").concat(c," fr-img-icon fr-btn fr-command fr-submit \n                fr-file-action-icons fr-file-edit-button-").concat(e," fr-file-button-").concat(e,' fr-file-edit-button" data-cmd="editImage" data-title="Edit" data-param1="').concat(e,'" role="button">\n                <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "0 4 25 25" xlmns = "http://w3.org/200/svg"><path d = \'M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0  c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z\'></path></svg>\n                </button>
1\n                \n                <span class="fr-file-view-').concat(e,'"><button type="button" id="fr-file-view-button-').concat(e,'" class=" fr-doc-edit-').concat(e," ").concat(s," fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n                fr-file-view-button-").concat(e,' fr-file-view-button" data-cmd="viewImage" data-title="View" data-param1="').concat(e,'" tabIndex="2" role="button">\n                <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "15 19 21 21" xlmns = "http://w3.org/200/svg"> <path style="fill:none;stroke-width:0.9077;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 19.086094 16.541466 C 16.185625 16.541466 14.318281 19.447115 14.318281 19.447115 L 14.318281 19.555288 C 14.318281 19.555288 16.176719 22.475962 19.077187 22.475962 C 21.977656 22.475962 23.847969 19.576322 23.847969 19.576322 L 23.847969 19.465144 C 23.847969 19.465144 21.989531 16.541466 19.086094 16.541466 Z M 19.07125 21.024639 C 18.248906 21.024639 17.583906 20.357572 17.583906 19.53726 C 17.583906 18.716947 18.248906 18.04988 19.07125 18.04988 C 19.890625 18.04988 20.555625 18.716947 20.555625 19.53726 C 20.555625 20.357572 19.890625 21.024639 19.07125 21.024639 Z M 19.07125 21.024639 " transform="matrix(1.315789,0,0,1.3,0,0)"/></svg></button></span>\n\n                <button type="button" id="fr-file-delete-button-').concat(e,'" class=" fr-doc-edit-').concat(e," fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons\n                fr-file-button-").concat(e,' fr-file-delete-button" data-cmd="deleteImage" data-title="Delete" data-param1="').concat(e,'" role="button">\n                <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-2 3 30 30" xlmns = "http://w3.org/200/svg"><path d = \'M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z\'></path></svg>\n                </button>\n                 \n            </div>\n            <div id="user_area-').concat(e,"\" style=\"display: none;\">\n            \n              <div id=\"file_container\"></div>\n\n              <div style='display:block;text-align: center; margin-left:50%; id='edit-file-loader' class='fr-file-loader'></div>\n\n          </div> \n            ")}function ep(e,t,a){var r=n.popups.get("filesManager.insert");if(!a&&e<=100){r.find(".fr-checkbox-file-"+t).get(0).disabled=!0,r.find(".fr-checkbox-"+t).get(0).classList.remove("fr-files-checkbox"),r.find(".fr-checkbox-"+t).get(0).classList.add("fr-checkbox-disabled");var o=r.find(".fr-file-progress-circle-"+t),i=r.find(".fr-file-upload-percent-"+t);return 50<e?o.get(0).setAttribute("class","fr-file-progress-circle-"+t+" progress-circle p"+Math.floor(e)+" over50"):o.get(0).setAttribute("class","fr-file-progress-circle-"+t+" progress-circle p"+Math.floor(e)),i.get(0).innerHTML=Math.floor(e)+"%",void eu(t,e,a)}a&&(r.find(".fr-checkbox-file-"+t).get(0).disabled=!1,r.find(".fr-checkbox-"+t).get(0).classList.remove("fr-checkbox-disabled"),r.find(".fr-checkbox-"+t).get(0).classList.add("fr-files-checkbox"),r.find(".fr-file-item-right-"+t).get(0).innerHTML=ef(t),eu(t,100,a))}function eu(e,t,a){var r=n.popups.get("filesManager.insert");r.find(".fr-progress-bar").removeClass("fr-none").addClass("fr-display-block"),r.find(".fr-upload-progress").hasClass("fr-height-set")&&n.popups.setFileListHeight(r);var o=0;v.set(e,t),v.forEach(function(e,t){o+=e}),o/=v.size,100==t&&a&&E++,r.find('.fr-command[data-cmd="filesUpload"]').addClass("fr-disabled"),r.find('.fr-command[data-cmd="filesByURL"]').addClass("fr-disabled"),r.find('.fr-command[data-cmd="filesEmbed"]').addClass("fr-disabled"),r.find(".fr-progress-bar").get(0).style.width=o+"%",E==v.size&&(r.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),v=new Map,E=0,r.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),r.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),r.find('.fr
1-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"))}function eh(e,t){W(),n.popups.get("filesManager.insert").find(".fr-upload-progress-layer").addClass("fr-active"),e.forEach(function(r,o){eR(eE(r))&&n.opts.imageUploadRemoteUrls&&n.opts.imageCORSProxy&&n.opts.imageUpload?ex(r,e,a,t[o]):g.set(t[o],r)})}function eg(e){(function(e){if("false"==f(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable")||e&&"touchend"==e.type&&ea)return!0;if(e&&n.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;for(var r=0;r<t.INSTANCES.length;r++)t.INSTANCES[r]!=n&&t.INSTANCES[r].events.trigger("image.hideResizer");n.toolbar.disable(),e&&(e.stopPropagation(),e.preventDefault()),n.helpers.isMobile()&&(n.events.disableBlur(),n.$el.blur(),n.events.enableBlur()),n.opts.iframe&&n.size.syncIframe(),a=f(this),k(),n.browser.msie?(n.popups.areVisible()&&n.events.disableBlur(),n.win.getSelection&&(n.win.getSelection().removeAllRanges(),n.win.getSelection().addRange(n.doc.createRange()))):n.selection.clear(),n.helpers.isIOS()&&(n.events.disableBlur(),n.$el.blur()),n.button.bulkRefresh(),n.events.trigger("video.hideResizer")}).call(e.get(0))}function em(){var e=f(this);e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),(0==y.length||0<y.length&&y.length==T)&&(d=e),"VIDEO"==e.get(0).tagName||"AUDIO"==e.get(0).tagName?n.selection.setAfter(e.parent()):n.selection.setAfter(e),n.undo.saveStep(),n.events.trigger("filesManager.loaded",[e]),eb(y)}function ev(){var e,t=Array.prototype.slice.call(n.el.querySelectorAll("video, .fr-video > *")),a=[];for(e=0;e<t.length;e++)a.push(t[e].getAttribute("src")),f(t[e]).toggleClass("fr-draggable",n.opts.videoMove),""===t[e].getAttribute("class")&&t[e].removeAttribute("class"),""===t[e].getAttribute("style")&&t[e].removeAttribute("style");if(ee)for(e=0;e<ee.length;e++)0>a.indexOf(ee[e].getAttribute("src"))&&n.events.trigger("video.removed",[f(ee[e])]);ee=t}function eb(e){if(null!=e){if(0==e.length)return void(null!=d&&("VIDEO"==d.get(0).tagName?n.video._editVideo(d.parent()):"IMG"==d.get(0).tagName?n.image.edit(d):d.trigger("click"),n.toolbar.disable()));ey(e.shift(),e)}}function eC(e){var t,o,i,s=!1;if(eM(eE(g.get(e))))n.trimVideoPlugin.trimVideo(h.get(e),e,h),s=!0;else if(eR(eE(g.get(e)))){var l=g.get(e).link,c=n.o_doc.createElement("img");c.src=l,a=c,r=e,n.imageTUI.launch(n,!1,e),s=!0}else e_(eE(g.get(e)))&&(en=function(e){var t,r=["https://www.googleapis.com/discovery/v1/apis/drive/v2/rest"],o="-------314159265358979323846",i="\r\n--"+o+"\r\n",s="\r\n--"+o+"--",l=(document.getElementById(e.authorizeButton),document.getElementById(e.userArea));function c(){gapi.client.init({apiKey:e.apiKey,clientId:e.clientId,discoveryDocs:r,scope:"https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive.appdata"}).then(function(){gapi.auth2.getAuthInstance().isSignedIn.listen(d),d(gapi.auth2.getAuthInstance().isSignedIn.get()),gapi.auth2.getAuthInstance().isSignedIn.get()&&(void 0===gapi.auth.getToken()||void 0!==gapi.auth.getToken().access_token)?p():Promise.resolve(gapi.auth2.getAuthInstance().sign
1In()).then(function(){p()})},function(t){e.events.onError(t)})}function d(e){e&&(l.style.display="block")}function f(r){var o=gapi.auth.getToken().access_token,i=t,s=new XMLHttpRequest;s.open("get","https://docs.google.com/feeds/download/documents/export/Export?id="+i+"&format=docx&access_token="+o),s.responseType="arraybuffer",s.onload=function(){var t=new Blob([new Uint8Array(this.response)],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}),r=h.get(e.fileIndex);t.name=r.name,t.lastModified=r.lastModified,t.lastModifiedDate=r.lastModifiedDate,h.set(e.fileIndex,t),n.filesManager.upload(t,g,a,e.fileIndex),m()},s.send()}function p(t){for(var n,a,r=e.fileIndex,l=document.getElementsByClassName("fr-doc-edit-".concat(r)),c=0;c<l.length;c++)l[c].setAttribute("disabled",!0),l[c].classList.add("fr-disabled");var d=e.file;d?(n=u,(a=new FileReader).readAsArrayBuffer(d),a.onload=function(t){for(var r={title:d.name,mimeType:"application/vnd.google-apps.document"},l="",c=new Uint8Array(a.result),f=c.byteLength,p=0;p<f;p++)l+=String.fromCharCode(c[p]);var u=btoa(l),h=i+"Content-Type: application/json; charset=UTF-8\r\n\r\n"+JSON.stringify(r)+i+"Content-Type: application/octet-stream\r\nContent-Transfer-Encoding: base64\r\n\r\n"+u+s,g=gapi.client.request({path:"/upload/drive/v2/files",method:"POST",params:{uploadType:"multipart",fields:"id,title,mimeType,userPermission,editable,copyable,shared,fileSize"},headers:{"Content-Type":'multipart/related; boundary="'+o+'"',"Content-Length":h.Length},body:h});n||(n=function(e){}),g.execute(function(t,a){t.error?e.events.onError(t.error):n(t)})}):e.events.onInvalidFile("File is not selected")}function u(e){t=e.id;var a="https://docs.google.com/document/d/"+e.id+"/edit",r=n.o_doc.body,o=n.o_doc.createElement("div");o.setAttribute("id","editDocContainer"),o.style.cssText="position: fixed; top: 0;left: 0;padding: 0;width: 100%;height: 100%;background: rgba(255,255,255,1);z-index: 9998;display:block",o.innerHTML='<div style="margin-top:25px; text-align:center"><label>Sign Out : </label><input type="checkbox" id ="markSignOut" role="button"/>  <button id="signout_button"  class="fr-trim-button" >Save </button> <button id="cancel_file_edit" class="fr-trim-button">Cancel</button></div>  <iframe title="Edit your file" frameBorder="0" width="100%" height="700px" src="'+a+'"></iframe>',r.appendChild(o),document.getElementById("signout_button").onclick=f,document.getElementById("cancel_file_edit").onclick=m}function m(){document.getElementById("markSignOut").checked&&gapi.auth2.getAuthInstance().signOut().then(function(){gapi.auth.getToken()&&(gapi.auth.getToken().access_token=void 0)});var t=document.getElementById("editDocContainer");t.parentNode.removeChild(t),document.getElementById("user_area-".concat(e.fileIndex))&&(document.getElementById("user_area-".concat(e.fileIndex)).style.display="none"),function(e){for(var t=document.getElementsByClassName("fr-doc-edit-".concat(e)),n=0;n<t.length;n++)t[n].removeAttribute("disabled"),t[n].classList.remove("fr-disabled")}(e.fileIndex)}e.events||(e.events={}),e.events.onInvalidFile=e.events.onInvalidFile||function(e){},e.events.onError=e.events.onError||function(e){};var v={};return v.handleClientLoad=function(){gapi.load("client:auth2",c)},v}({apiKey:n.opts.googleOptions.API_KEY,clientId:n.opts.googleOptions.CLIENT_ID,authorizeButton:"authorize_button-".concat(e),signoutButton:"signout_button",userArea:"user_area-".concat(e),fileInput:"file_input",fileIndex:e,file:h.get(e),fileContainer:"file_container",loadingText:"File is being uploaded...",events:{onInvalidFile:function(e){},onError:function(e){}}}),t=["https://apis.google.com/js/api.js"],o=function(){},i=function(e,t){var n=document.createElement("script");n.src=e,n.onload=function(){this.onload=function(){},en.handleClientLoad()},n.onreadystatechange=function(){"complete"===this.readyState&&this.onload()},(document.getElementsByTagName("head")[0]||document.body).appendChild(n)},function e(){0!=t.length?i(t.shift(),e):o&&o()}());s&&(p=!0)}function eE(e){if(""!=e.type)return e.type;var t,n=/(?:\.([^.]+))?$/.exec(e.name)[1];return[[".doc","application/msword"],[".docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],[".gif","image/gif"],[".jpeg","image/jpeg"],[".jpg","image/jpeg"],[".txt","text/plain"],[".log","type/text"],[".mov","video/quicktime"],[".mp3","audio/mpeg"],[".mp4","video/mp4"],[".ogg","audio/ogg"],[".ogv","video/ogg"],[".pdf","application/pdf"],[".png","image/png"],[".webm","video/webm"],[".webp","image/webp"],[".wmv","video/x-ms-wmv"],[".xls","application/vnd.ms-excel"],[".xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],[".zip","application/x-zip-compressed"]].forEac
1h(function(e,a){e[0]==".".concat(n)&&(t=e[1])}),t}function ey(e,t){if(e_(eE(g.get(e)))||!ek(eE(g.get(e)))){var a=g.get(e).link,r=g.get(e).text;!r&&h.get(e)&&h.get(e).name&&(r=h.get(e).name);var i=g.get(e).response;(n.edit.on(),n.events.focus(!0),n.selection.restore(),n.opts.fileUseSelectedText&&n.selection.text().length&&(r=n.selection.text()),a.endsWith(".pdf")||a.endsWith(".txt"))?eT('<iframe src="'.concat(a,'" title="').concat(r,'" width="”100%”" height="”100%”" class="fr-file"></iframe>'),!0):n.html.insert('<a href="'.concat(a,'" target="_blank" id="fr-inserted-file" class="fr-file">').concat(r,"</a>"));var s=n.$el.find("#fr-inserted-file");s.removeAttr("id"),n.undo.saveStep(),function(){var e,t=Array.prototype.slice.call(n.el.querySelectorAll("a.fr-file")),a=[];for(e=0;e<t.length;e++)a.push(t[e].getAttribute("href"));if(et)for(e=0;e<et.length;e++)0>a.indexOf(et[e].getAttribute("href"))&&n.events.trigger("file.unlink",[et[e]]);et=t}(),n.selection.clear(),n.selection.setAfter(s),n.events.trigger("file.inserted",[s,i]),eb(t)}if(eR(eE(g.get(e)))&&ek(eE(g.get(e)))){var l=g.get(e).link,c=g.get(e).sanitize,d=g.get(e).data,p=g.get(e).$existing_img,u=g.get(e).response;p&&"string"==typeof p&&(p=n.$(p)),n.edit.off(),V(n.language.translate("Loading image")),c&&(l=n.helpers.sanitizeURL(l));var m=new Image;m.onload=function(){var e,t;if(p){n.undo.canDo()||p.hasClass("fr-uploading")||n.undo.saveStep();var a=p.data("fr-old-src");p.data("fr-image-pasted")&&(a=null),n.$wp?((e=p.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),a&&p.attr("src",a),p.replaceWith(e)):e=p;for(var r=e.get(0).attributes,o=0;o<r.length;o++){var i=r[o];0===i.nodeName.indexOf("data-")&&e.removeAttr(i.nodeName)}if(void 0!==d)for(t in d)d.hasOwnProperty(t)&&"link"!=t&&e.attr("data-".concat(t),d[t]);e.on("load",em),e.attr("src",l),n.edit.on(),n.undo.saveStep(),n.events.disableBlur(),n.$el.blur(),n.events.trigger(a?"image.replaced":"image.inserted",[e,u])}else e=function(e,t,a){var r,o=f(document.createElement("img")).attr("src",e);if(t&&void 0!==t)for(r in t)t.hasOwnProperty(r)&&"link"!=r&&(" data-".concat(r,'="').concat(t[r],'"'),o.attr("data-".concat(r),t[r]));var i=n.opts.imageDefaultWidth;i&&"auto"!=i&&(i=n.opts.imageResizeWithPercent?"100%":"".concat(i,"px")),o.attr("style",i?"width: ".concat(i,";"):""),eJ(o,n.opts.imageDefaultDisplay,n.opts.imageDefaultAlign),o.on("load",a),o.on("error",a),n.edit.on(),n.events.focus(!0),n.selection.restore(),n.undo.saveStep(),n.opts.imageSplitHTML?n.markers.split():n.markers.insert(),n.html.wrap();var s=n.$el.find(".fr-marker");return s.length?(s.parent().is("hr")&&s.parent().after(s),n.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent()),s.replaceWith(o)):n.$el.append(o),o}(l,d,em),n.undo.saveStep(),n.events.disableBlur(),n.$el.blur(),n.events.trigger("image.inserted",[e,u])},m.onerror=function(){P(1,null,null,e),eb(t)},m.src=l}if((eM(eE(g.get(e)))||eO(eE(g.get(e))))&&ek(eE(g.get(e))))if(o=e,"video/url"==eE(g.get(e))){var v,C,E=!1;if(void 0!==document.getElementById("fr-file-autoplay-button-"+e)&&(E=document.getElementById("fr-file-autoplay-button-"+e).checked),E&&void 0!==g.get(e)&&-1<g.get(e).video.indexOf("iframe")&&0>g.get(e).video.indexOf("autoplay=1")){var y=g.get(e).video.substring(g.get(e).video.indexOf("src")+3),T="&";0>(y=(y=y.substring(y.indexOf('"')+1)).substring(0,y.indexOf('"'))).indexOf("?")&&(T="?"),g.get(e).video=g.get(e).video.replace(y,y+=T+"autoplay=1")}else!E&&g.get(e).video.indexOf(!1)&&(-1<g.get(e).video.indexOf("&autoplay=1")&&(g.get(e).video=g.get(e).video.replace("&autoplay=1","")),-1<g.get(e).video.indexOf("?autoplay=1")&&(g.get(e).video=g.get(e).video.replace("?autoplay=1","")));n.events.focus(!0),n.selection.restore(),n.html.insert('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'.concat(g.get(e).video,"</span>"),!1,n.opts.videoSplitHTML),n.popups.hide("filesManager.insert");var L=n.$el.find(".fr-jiv");L.removeClass("fr-jiv"),L.toggleClass("fr-rv",n.opts.videoResponsive),v=n.opts.videoDefaultDisplay,C=n.opts.videoDefaultAlign,!n.opts.htmlUntouched&&n.opts.useClasses?(L.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),L.addClass("fr-fv".concat(C[0]," fr-dv").concat(v[0]))):"inline"==v?(L.css({display:"inline-block"}),"center"==C?L.css({float:"none"}):"left"==C?L.css({float:"left"}):L.css({float:"right"})):(L.css({display:"block",clear:"both"}),"left"==C?L.css({textAlign:"left"}):"right"==C?L.css({textAlign:"right"}):L.css({textAlign:"center"})),L.toggleClass("fr-draggable",n.opts.videoMove),n.events.trigger("video.inserted",[L]),em.call(L)}else{var x=g.get(e).link,S=g.get(e).sanitize,w=g.get(e).data,R=g.get(e).$existing_img,_=g.get(e).response;n.edit.off(),S&&(x=n.helpers.sanitizeURL(x)),function(){var t,a;if(R){n.undo.canDo()||R.find("video").hasClass("fr-uploading")||n.undo.saveStep();var r=R.find("video").data("fr-old-src"),o=R.data("fr-replaced");R.data("fr-replaced",!1),n.$wp?((t=R.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),t.find("video").off("
1canplay"),r&&R.find("video").attr("src",r),R.replaceWith(t)):t=R;for(var i=t.find("video").get(0).attributes,s=0;s<i.length;s++){var l=i[s];0===l.nodeName.indexOf("data-")&&t.find("video").removeAttr(l.nodeName)}if(void 0!==w)for(a in w)w.hasOwnProperty(a)&&"link"!=a&&t.find("video").attr("data-".concat(a),w[a]);t.find("video").on("canplay",em),t.find("video").attr("src",x),n.edit.on(),ev(),n.undo.saveStep(),n.$el.blur(),n.events.trigger(o?"video.replaced":"video.inserted",[t,_])}else t=function(e,t,a,r,o){var i,s="";if(t&&void 0!==t)for(i in t)t.hasOwnProperty(i)&&"link"!=i&&(s+=" data-".concat(i,'="').concat(t[i],'"'));var l,c=n.opts.videoDefaultWidth;if(c&&"auto"!=c&&(c="".concat(c,"px")),eO(r))l=f(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+n.opts.videoDefaultDisplay[0]+("center"!=n.opts.videoDefaultAlign?" fr-fv"+n.opts.videoDefaultAlign[0]:"")).html('<audio src="'+e+'" '+s+" controls>"+n.language.translate("Your browser does not support HTML5 video.")+"</audio>");else{var d="";document.getElementById("fr-file-autoplay-button-"+o).checked&&(d="autoplay"),l=f(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+n.opts.videoDefaultDisplay[0]+("center"!=n.opts.videoDefaultAlign?" fr-fv"+n.opts.videoDefaultAlign[0]:"")).html('<video src="'+e+'" '+s+(c?' style="width: '+c+';" ':"")+d+"  controls>"+n.language.translate("Your browser does not support HTML5 video.")+"</video>")}l.toggleClass("fr-draggable",n.opts.videoMove),n.edit.on(),n.events.focus(!0),n.selection.restore(),n.undo.saveStep(),n.opts.videoSplitHTML?n.markers.split():n.markers.insert(),n.html.wrap();var p=n.$el.find(".fr-marker");n.node.isLastSibling(p)&&p.parent().hasClass("fr-deletable")&&p.insertAfter(p.parent()),p.replaceWith(l);var u="";return u=eO(r)?"audio":"video",l.find(u).get(0).readyState>l.find(u).get(0).HAVE_FUTURE_DATA||n.helpers.isIOS()?a.call(l.find(u).get(0)):(l.find(u).on("canplaythrough load",a),l.find(u).on("error",a)),l}(x,w,em,eE(g.get(e)),e),ev(),n.undo.saveStep(),n.events.trigger("video.inserted",[t,_])}()}n.popups.hide("filesManager.insert"),b.delete(e);var M=n.popups.get("filesManager.insert");M.find("input.fr-insert-attr.fr-checkbox-file-".concat(e))[0].checked=!1,M.find(".fr-file-"+e).get(0).classList.add("fr-unchecked"),H(),document.getElementById("fr-file-autoplay-button-"+e)&&(document.getElementById("fr-file-autoplay-button-"+e).checked=!1),A=A.filter(function(t){return t!=e})}function eT(e,r){t.VIDEO_EMBED_REGEX.test(e)?(s="video",l=n.opts.videoSplitHTML):t.IMAGE_EMBED_REGEX.test(e)&&(s="image",l=n.opts.imageSplitHTML),n.events.focus(!0),n.selection.restore();var o,i,s,l,c=!1;a&&(eK(),c=!0),n.html.insert('<span id="fr-inserted-file" contenteditable="true" draggable="true" class="fr-'.concat(s,' fr-jiv fr-deletable">').concat(e,"</span>"),!1,l),n.popups.hide("filesManager.insert");var f=n.$el.find(".fr-jiv");f.removeClass("fr-jiv"),"video"==s&&(f.toggleClass("fr-rv",n.opts.videoResponsive),o=n.opts.videoDefaultDisplay,i=n.opts.videoDefaultAlign,!n.opts.htmlUntouched&&n.opts.useClasses?(f.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),f.addClass("fr-fv".concat(i[0]," fr-dv").concat(o[0]))):"inline"==o?(f.css({display:"inline-block"}),"center"==i?f.css({float:"none"}):"left"==i?f.css({float:"left"}):f.css({float:"right"})):(f.css({display:"block",clear:"both"}),"left"==i?f.css({textAlign:"left"}):"right"==i?f.css({textAlign:"right"}):f.css({textAlign:"center"})),f.toggleClass("fr-draggable",n.opts.videoMove),n.events.trigger(c?"video.replaced":"video.inserted",[f])),"image"==s&&(eJ(f,n.opts.imageDefaultDisplay,n.opts.imageDefaultAlign),f.find("img").removeClass("fr-dii"),f.find("img").addClass("fr-dib"),f.toggleClass("fr-draggable",n.opts.imageMove),n.events.trigger(c?"image.replaced":"image.inserted",[f])),r&&(d=f,n.selection.clear(),n.toolbar.disable(),n.video._editVideo(d))}function eA(e,t){try{if(!1===n.events.trigger("filesManager.uploaded",[e],!0))return n.edit.on(),!1;var a=JSON.parse(e);return a.link?a:(P(2,e,null,t),!1)}catch(n){return P(4,e,null,t),!1}}function eL(e,t){try{var a=f(e).find("Location").text(),r=f(e).find("Key").text();return!1===n.events.trigger("filesManager.uploadedToS3",[a,r,e],!0)?(n.edit.on(),!1):a}catch(n){return P(4,e,null,t),!1}}function ex(e,t,r,o){if(-1<S.indexOf(eE(e))||!eE(e))return P(6,null,null,o),!1;if(!1===n.events.trigger("filesManager.beforeUpload",[t]))return!1;if(!(null!==n.opts.filesManagerUploadURL&&"https://i.froala.com/upload"!=n.opts.filesManagerUploadURL||n.opts.filesManagerUploadToS3||n.opts.filesManagerUploadToAzure))return(i=new FileReader).onload=function(){var t=i.result;if(0>i.result.indexOf("svg+xml")){for(var n=atob(i.result.split(",")[1]),a=[],r=0;r<n.length;r++)a.push(n.charCodeAt(r));if(t=window.URL.createObjectURL(new Blob([new Uint8Array(a)],{type:eE(e)})),eR(eE(e))){var s={link:t,sanitize:!1,data:null,$existing_img:void 0,response:null,type:eE(e)};g.set(o,s)}if(e_(eE(e))){var l={link:t,text:e.name,response:null,type:eE(e)};g.set(o,l)}if(eM(eE(e))||eO(eE(e))){var c={link:t,sanitize:!1,data:null,$existing_img:void 0,type:eE(e)};g.set(o,c)}}},i.readAsDataURL(e),!1;if(eR(eE(e))&&(e.name||(e.name=(new Date).getTime()+"."+(eE(e)||"image/jpeg").replace(/image\//g,""))),e.size>n.opts.filesManagerMaxSize)return P(5,null,null,o),!1;if(0>n.opts.filesManagerAllowedTypes.indexOf("*")&&0>n.opts.filesManagerAllowedTypes.indexOf(eE(e)))return P(6,null,null,o),!1;if(isNaN(o)||(n.popups.get("filesManager.insert").find(".fr-file-item-right-"+o).get(0).innerHTML='<div class=\'fr-file-item-action-buttons\' >\n    <button type="button" id="fr-file-cancel-upload-button-'.concat(o,'" class="fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n    fr-file-button-').concat(o,' fr-file-cancel-upload-button" data-cmd="cancelUpload" data-title="Cancel" data-param1="').concat(o,'" role="button">\n    <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-2 3 30 30" xlmns = "http://w3.org/200/svg"><path d = \'M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.
16,5.6L17.6,5L19,6.4L13.4,12z\'></path></svg>\n    </button>\n\n    <button type="button" id="fr-upload-delete-button-').concat(o,'" class="fr-img-icon fr-btn fr-command fr-submit fr-file-action-icons \n    fr-file-button-').concat(o,' fr-upload-delete-button" data-cmd="deleteUpload" data-title="Delete" data-param1="').concat(o,'" role="button">\n    <svg style=\'margin:0px !important; opacity:0.9\' class = "fr-svg" focusable="false" width="16px" height="16px" viewBox = "-2 3 30 30" xlmns = "http://w3.org/200/svg"><path d = \'M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z\'></path></svg>\n    </button>\n\n    <div class=\'progress-circle p0 fr-file-progress-circle-').concat(o,"'>\n                  <span class='fr-file-upload-percent-").concat(o," fr-file-upload-percent'>0%</span>\n                  <div class='left-half-clipper'>\n                    <div class='first50-bar'></div>\n                    <div class='value-bar'></div>\n                  </div>\n                </div>\n            </div>"),v.set(o,0)),n.drag_support.formdata&&(s=n.drag_support.formdata?new FormData:null),s){if(!1!==n.opts.filesManagerUploadToS3)for(l in s.append("key",n.opts.filesManagerUploadToS3.keyStart+(new Date).getTime()+"-"+(e.name||"untitled")),s.append("success_action_status","201"),s.append("X-Requested-With","xhr"),s.append("Content-Type",eE(e)),n.opts.filesManagerUploadToS3.params)n.opts.filesManagerUploadToS3.params.hasOwnProperty(l)&&s.append(l,n.opts.filesManagerUploadToS3.params[l]);for(l in n.opts.filesManagerUploadParams)n.opts.filesManagerUploadParams.hasOwnProperty(l)&&s.append(l,n.opts.filesManagerUploadParams[l]);s.append(n.opts.filesManagerUploadParam,e,e.name);var i,s,l,c,d,f=n.opts.filesManagerUploadURL;n.opts.filesManagerUploadToS3&&(f=n.opts.filesManagerUploadToS3.uploadURL?n.opts.filesManagerUploadToS3.uploadURL:"https://".concat(n.opts.filesManagerUploadToS3.region,".amazonaws.com/").concat(n.opts.filesManagerUploadToS3.bucket)),n.opts.filesManagerUploadToAzure&&(c=f=n.opts.filesManagerUploadToAzure.uploadURL?"".concat(n.opts.filesManagerUploadToAzure.uploadURL,"/").concat(e.name):encodeURI("https://".concat(n.opts.filesManagerUploadToAzure.account,".blob.core.windows.net/").concat(n.opts.filesManagerUploadToAzure.container,"/").concat(e.name)),n.opts.filesManagerUploadToAzure.SASToken&&(f+=n.opts.filesManagerUploadToAzure.SASToken),n.opts.filesManagerUploadMethod="PUT");var p=n.core.getXHR(f,n.opts.filesManagerUploadMethod);if(n.opts.filesManagerUploadToAzure){var u=(new Date).toUTCString();if(!n.opts.filesManagerUploadToAzure.SASToken&&n.opts.filesManagerUploadToAzure.accessKey){var h=n.opts.filesManagerUploadToAzure.account,b=n.opts.filesManagerUploadToAzure.container;if(n.opts.filesManagerUploadToAzure.uploadURL){var E=n.opts.filesManagerUploadToAzure.uploadURL.split("/");b=E.pop(),h=E.pop().split(".")[0]}var y="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(u,"\nx-ms-version:2019-07-07"),T=encodeURI("/"+h+"/"+b+"/"+e.name),A=n.opts.filesManagerUploadMethod+"\n\n\n"+e.size+"\n\n"+eE(e)+"\n\n\n\n\n\n\n"+y+"\n"+T,L=n.cryptoJSPlugin.cryptoJS.HmacSHA256(A,n.cryptoJSPlugin.cryptoJS.enc.Base64.parse(n.opts.filesManagerUploadToAzure.accessKey)).toString(n.cryptoJSPlugin.cryptoJS.enc.Base64),x="SharedKey "+h+":"+L;d=L,p.setRequestHeader("Authorization",x)}for(l in p.setRequestHeader("x-ms-version","2019-07-07"),p.setRequestHeader("x-ms-date",u),p.setRequestHeader("Content-Type",eE(e)),p.setRequestHeader("x-ms-blob-type","BlockBlob"),n.opts.filesManagerUploadParams)n.opts.filesManagerUploadParams.hasOwnProperty(l)&&p.setRequestHeader(l,n.opts.filesManagerUploadParams[l]);for(l in n.opts.filesManagerUploadToAzure.params)n.opts.filesManagerUploadToAzure.params.hasOwnProperty(l)&&p.setRequestHeader(l,n.opts.filesManagerUploadToAzure.params[l])}p.onload=function(){e_(eE(e))?(function(e,t,a,r,o){var i,s=this.status,l=this.response,c=this.responseXML,d=this.responseText;try{if(n.opts.filesManagerUploadToS3||n.opts.filesManagerUploadToAzure)if(201===s){if(n.opts.filesManagerUploadToAzure){if(!1===n.events.trigger("filesManager.uploadedToAzure",[this.responseURL,o,l],!0))return n.edit.on(),!1;i=r}else i=eL(c,t);if(i){var f={link:i,text:e,response:l,type:a};g.set(t,f)}}else P(4,l||c,null,t);else if(200<=s&&s<300){var p=eA(d,t);if(p){var u={link:p.link,text:e,response:l,type:a};g.set(t,u)}}else P(3,l||d,null,t)}catch(e){P(4,l||d,null,t)}}).call(p,e.name,o,eE(e),c,d):(function(e,t,a,r,o){var i,s=this.status,l=this.response,c=this.responseXML,d=this.responseText;try{if(n.opts.filesManagerUploadToS3||n.opts.filesManagerUploadToAzure)if(201==s){
1if(n.opts.filesManagerUploadToAzure){if(!1===n.events.trigger("filesManager.uploadedToAzure",[this.responseURL,o,l],!0))return n.edit.on(),!1;i=r}else i=eL(c,t);if(i){var f={link:i,sanitize:!1,data:[],$existing_img:e,response:l||c,type:a};g.set(t,f)}}else P(4,l||c,e,t);else if(200<=s&&s<300){var p=eA(d,t);if(p){var u={link:p.link,sanitize:!1,data:p,$existing_img:e,response:l||c,type:a};g.set(t,u)}}else P(3,l||d,e,t)}catch(n){P(4,l||d,e,t)}}).call(p,a,o,eE(e),c,d),C.has(o)||ep(100,o,!0)},p.onerror=function(){P(4,this.response||this.responseText||this.responseXML,null,o)},p.upload.onprogress=function(e){e.lengthComputable&&ep(e.loaded/e.total*100|0,o,!1)},p.onabort=function(e){P(10,e,a,o)},p.send(n.opts.filesManagerUploadToAzure?e:s),m.set(o,p)}}function eS(e){n.events.$on(e,"click",".fr-upload-progress-layer",function(e){if(n.helpers.isMobile())return e.stopPropagation(),!1},!0),n.events.$on(e,"dragover dragenter",".fr-upload-progress-layer",function(e){e.preventDefault();for(var t=0;t<e.originalEvent.dataTransfer.types.length;t++)"Files"==e.originalEvent.dataTransfer.types[t]&&(e.originalEvent.dataTransfer.dropEffect="none");return!1},!0),n.events.$on(e,"dragleave dragend",".fr-upload-progress-layer",function(e){return e.preventDefault(),!1},!0),n.events.$on(e,"dragover dragenter",".fr-files-upload-layer",function(e){return f(this).addClass("fr-drop"),(n.browser.msie||n.browser.edge)&&e.preventDefault(),!1},!0),n.events.$on(e,"dragleave dragend",".fr-files-upload-layer",function(e){return f(this).removeClass("fr-drop"),(n.browser.msie||n.browser.edge)&&e.preventDefault(),!1},!0),n.events.$on(e,"click",".fr-insert-checkbox",function(t){if(this.classList.contains("fr-checkbox-disabled"))return this.children.target.disabled=!0,void(this.children.target.checked=!1);var n=parseInt(this.id.split("-").pop());b.set(n,this.children.target.checked);for(var a=e.find('.fr-command[data-cmd="insertAll"]'),r=e.find('.fr
1-command[data-cmd="deleteAll"]'),o=e.find('input.fr-file-insert-check[type="checkbox"]'),i=o.length,s=!0,l=0;l<i;l++)1==o[l].checked&&(s=!1);(s?a.addClass("fr-disabled"):a.removeClass("fr-disabled"),s?r.addClass("fr-disabled"):r.removeClass("fr-disabled"),this.children.target.checked)?(e.find(".fr-file-"+this.id.split("-").pop()).get(0).setAttribute("draggable","true"),e.find(".fr-file-"+this.id.split("-").pop()).get(0).classList.remove("fr-unchecked")):(this.id.split("-").pop(),e.find(".fr-file-"+this.id.split("-").pop()).get(0).setAttribute("draggable","false"),e.find(".fr-file-"+this.id.split("-").pop()).get(0).classList.add("fr-unchecked"))}),n.events.$on(e,"click",".fr-file-insert-button",function(e){this.classList.contains("fr-disabled")||ey(parseInt(this.id.split("-").pop()))}),n.events.$on(e,"click",".fr-file-autoplay-button",function(e){this.parentNode.classList.contains("fr-checkbox-disabled")?(this.disabled=!0,this.checked=!1):ew(parseInt(this.id.split("-").pop()))}),n.events.$on(e,"click",".fr-file-edit-button",function(t){var n=parseInt(this.id.split("-").pop());e.find(".fr-file-edit-button-".concat(n)).hasClass("fr-disabled")||eC(n)}),n.events.$on(e,"click",".fr-file-view-button",function(t){var a=parseInt(this.id.split("-").pop());e.find(".fr-file-view-button-".concat(a)).hasClass("fr-disabled")||function(e){if(!ek(eE(g.get(e)))){var t=g.get(e).link,a=g.get(e).link;if(h.get(e)&&h.get(e).name?a=h.get(e).name:g.get(e).text&&(a=g.get(e).text),0===t.indexOf("blob:")&&n.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(h.get(e),a);else{var r=document.createElement("a");r.href=t,r.download=a,r.click()}return}var o=n.popups.get("filesManager.insert");if(0<o.find(".fr-file-view-image-"+e).length)o.find(".fr-file-view-image-"+e)[0].remove();else{for(var i,s=o.find(".fr-file-view"),l=0;l<s.length;l++)s.get(l).remove();var c=o.find(".fr-file-view-"+e);if(eR(eE(g.get(e)))){var d='<div class="fr-file-view-modal">\n              <div class="fr-file-view-modal-content">\n              <div class="fr-file-view-close">&times;</div> \n                <img src="'+g.get(e).link+"\" class ='fr-file-view-image'/>\n                </div>\n              </div>";c[0].innerHTML=d+c[0].innerHTML}else if(eM(eE(g.get(e)))){if(g.get(e).hasOwnProperty("video")){var f=g.get(e).video.substring(g.get(e).video.indexOf("src")+3),p=f.substring(f.indexOf('"')+1);p=p.substring(0,p.indexOf('"')),i='<div class="fr-file-view-modal">\n        <div class="fr-file-view-modal-content ">\n          <div class="fr-file-view-close">&times;</div> \n          <iframe width="640" height="360" src="'.concat(p+"&autoplay=1",'" frameborder="0" class = "fr-file-view-image"></iframe>\n        </div>\n      </div>')}else i='<div class="fr-file-view-modal">\n          <div class="fr-file-view-modal-content ">\n            <div class="fr-file-view-close">&times;</div> \n            <video controls src="'+g.get(e).link+"\"  class ='fr-file-view-image' autoplay></video>\n          </div>\n        </div>";c[0].innerHTML=i+c[0].innerHTML}else if(eO(eE(g.get(e)))){var u='<div class="fr-file-view-modal">\n        <div class="fr-file-view-modal-content ">\n          <div  class="fr-file-view-close">&times;</div> \n          <audio controls="controls"  class =\'fr-file-view-image\' autoplay>\n\n          <source src="'.concat(g.get(e).link,'" type="').concat(eE(g.get(e)),'" />\n\n            Your browser does not support the audio element.\n          </audio>\n        </div>\n      </div>');c[0].innerHTML=u+c[0].innerHTML}else if(e_(eE(g.get(e)))){var m=g.get(e).link,v=g.get(e).text;if(m.endsWith(".pdf")||m.endsWith(".txt")){var b='<div class="fr-file-view-modal">	\n              <div class="fr-file-view-modal-content " >	\n              <div class="fr-file-view-close">&times;</div> 	\n              <iframe src="'.concat(m,"\" style='background-color: white;' height='50%' width='50%' title=\"").concat(v,'" class="fr-file fr-file-view-image"></iframe>	\n            </div>	\n            </div>');c[0].innerHTML=b+c[0].innerHTML}else if(0===m.indexOf("blob:")&&n.browser.msie&&window.navigator&&window.navigator.msSaveBlob)window.navigator.msSaveBlob(h.get(e),v);else{var C=document.createElement("a");C.href=m,C.download=v,C.click()}}}}(a)}),n.events.$on(e,"click",".fr-file-delete-button",function(e){U(parseInt(this.id.split("-").pop()))}),n.events.$on(e,"click",".fr-file-cancel-upload-button",function(e){var t,a;t=parseInt(this.id.split("-").pop()),(a=n.popups.get("filesManager.insert")).find(".fr-file-item-right-"+t).get(0).innerHTML=ef(t),m.get(t).abort(),eu(t,100,!0),a.find(".fr-checkbox-file-"+t).get(0).disabled=!0}),n.events.$on(e,"click",".fr-upload-delete-button",function(e){var t;t=parseInt(this.id.split("-").pop()),0!=m.get(t).readyState&&(m.get(t).abort(),eu(t,100,!0),m.delete(t)),U(t)}),n.events.$on(e,"click",".fr-file-view-close",function(t){e.find(".fr-file-view-modal").get(0).outerHTML=""}),n.events.$on(e,"click",".fr-plugins-enable",function(e){x.forEach(function(e){0>n.opts.pluginsEnabled.indexOf(e)&&n.opts.pluginsEnabled.push(e)}),function(e){for(var a in e)if(!n[a]){if(t.PLUGINS[a]&&0>n.opts.pluginsEnabled.indexOf(a))continue;n[a]=new e[a](n),n[a]._init&&n[a]._init()}}(t.PLUGINS),n.popups.get("filesManager.insert").get(0).outerHTML="",eN(),_(!0)}),n.events.$on(e,"click",".fr-plugins-cancel",function(e){n.popups.hide("filesManager.insert")}),n.events.$on(e,"drop",".fr-upload-progress",function(e){e.preventDefault(),e.stopPropagation()}),n.events.$on(e,"drop",".fr-files-upload-layer",function(t){t.preventDefault(),t.stopPropagation(),f(this).removeClass("fr-drop");var r=t.originalEvent.dataTransfer;if(r&&r.files){var o=e.data("instance")||n;o.events.disableBlur();for(var i=[],s=0;s<r.files.length;s++){var l=L;h.set(l,r.files[s]),el(l),b.set(l,!1),i.push(l),L++}for(var c=0;c<i.length;c++)o.filesManager.upload(h.get(i[c]),r.files,a,i[c]);o.events.enableBlur()}},!0),n.helpers.isIOS()&&n.events.$on(e,"touchstart",'.fr-files-upload-layer input[type="file"]',function(){f(this).trigger("click")},!0),n.events.$on(e,"change",'.fr-files-upload-layer input[type="file"]',function(){if(this.files){var t=e.data("instance")||n;t.events.disableBlur(),e.find("input:focus").blur(),t.events.enableBlur();var r=[];if(void 0!==this.files&&0<this.files.length){for(var o=0;o<this.files.length;o++){var i=L;h.set(i,this.files[o]),el(i),b.set(i,!1),++L,r.push(i)}for(var s=0;s<r.length;s++)t.filesManager.upload(h.get(r[s]),this.files,a,r[s])}}f(this).val("")},!0)}function ew(e){document.getElementById("fr-file-autoplay-button-"+e).checked?A.push(e):A=A.filter(function(t){return t!=e})}function eR(e){return e&&"image"===e.split("/")[0]}function e_(e){return e&&"image"!=e.split("/")[0]&&e&&"video"!=e.split("/")[0]&&e&&"audio"!=e.split("/")[0]}function eM(e){return e&&"video"===e.split("/")[0]}function eO(e){return e&&"audio"===e.split("/")[0]}function ek(e){if(("audio/ogg"==e||"video/ogg"==e||"image/webp"==e||"video/webm"==e)&&(n.browser.msie||n.browser.edge||n.browser.safari||n.helpers.isMobile()&&("audio/ogg"==e||"video/ogg"==e||!n.helpers.isAndroid()&&!n.browser.chrome)))return!1;return!0}function eN(e){if(e)return n.popups.onRefresh("filesManager.insert",R),n.popups.onHide("filesManager.insert",O),!0;var t,r,o="";n.opts.imageUpload||-1===n.opts.filesInsertButtons.indexOf("filesUpload")||n.opts.imageInsertButtons.splice(n.opts.filesInsertButtons.indexOf("filesUpload"),1);var i=n.button.buildList(n.opts.filesInsertButtons),s=n.button.buildList(n.opts.filesInsertButtons2);""!==i&&(o='<div class="fr-buttons fr-tabs">'.concat(i,'<span class="fr-align-right">').concat(s,"</span></div>"));var l=n.opts.filesInsertButtons.indexOf("filesUpload"),c=n.opts.filesInsertButtons.indexOf("filesByURL"),d=n.opts.filesInsertButtons.indexOf("filesEmbed"),f="";
vendor: 2,485 bytes, line 1
10<=l&&(t=" fr-active",0<=c&&c<l&&(t=""),f='<div class="fr-files-upload-layer'.concat(t,' fr-layer " id="fr-files-upload-layer-').concat(n.id,'"><div style="display:flex"><div class="fr-upload-section"><div class = \'fr-blue-decorator\'><div class = \'fr-cloud-icon\'><svg class = "fr-svg" focusable="false" width="26px" height="26px" viewBox = "0 0 24 24" xlmns = "http://w3.org/200/svg"><path d = \'M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z\'></path></svg></div>Drag & Drop One or More Files<br><div class="decorated"><span> OR </span></div> Click Browse Files </div> </div><div class="fr-form"><input type="file" accept="').concat(n.opts.filesManagerAllowedTypes.join(",").toLowerCase(),'" tabIndex="-1" aria - labelledby="fr-files-upload-layer-').concat(n.id,'"role="button" multiple></div> </div></div>'));var p="";0<=d&&(t=" fr-active",(l<d&&0<=l||c<d&&0<=c)&&(t=""),p='<div class="fr-files-embed-layer fr-layer'.concat(t,'" id="fr-files-embed-layer-').concat(n.id,'"><div class="fr-input-line padding-top-15"><textarea data-gramm_editor="false" style=\'height:60px\' id="fr-files-embed-layer-text').concat(n.id,'" type="text" placeholder="').concat(n.language.translate("Embedded Code"),'" tabIndex="1" aria-required="true" rows="5"></textarea></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="insertEmbed" tabIndex="2" role="button">').concat(n.language.translate("Insert"),"</button></div></div>"));var u="";0<=c&&(t=" fr-active",0<=l&&l<c&&(t=""),u='<div class="fr-files-by-url-layer'.concat(t,' fr-layer" id="fr-files-by-url-layer-').concat(n.id,'"><div class="fr-input-line fr-by-url-padding"><input id="fr-files-by-url-layer-text-').concat(n.id,'" type="text" placeholder="http://" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="filesInsertByURL" tabIndex="2" role="button">').concat(n.language.translate("Add"),"</button></div></div>"));var h={buttons:o,upload_layer:f,by_url_layer:u,embed_layer:p,upload_progress_layer:"<
1div class = ' fr-margin-16 fr-upload-progress' id=\"fr-upload-progress-layer-".concat(n.id,"\" ><div  class='fr-progress-bar-style'><div class='fr-progress-bar fr-none'></div></div><div id='filesList' class = 'fr-upload-progress-layer fr-layer'></div></div>"),progress_bar:'<div class="fr-files-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="filesDismissError" tabIndex="2" role="button">OK</button></div></div>'};return 1<=n.opts.imageInsertButtons.length&&(r=n.popups.create("filesManager.insert",h)),n.$wp&&n.events.$on(n.$wp,"scroll",function(){a&&n.popups.isVisible("filesManager.insert")&&replace()}),eS(r),n.popups.setPopupDimensions(r),r}function eI(e){var t=e.split("/").pop();if(t.split(".").length<2){var n=new Date;return t+"-"+n.getDate()+"/"+(n.getMonth()+1)+"/"+n.getFullYear()}return t}function eD(){a&&n.popups.get("image.alt").find("input").val(a.attr("alt")||"").trigger("change")}function eB(){var e=n.popups.get("image.alt");e||(e=eF()),W(),n.popups.refresh("image.alt"),n.popups.setContainer("image.alt",n.$sc);var t=e1();e0()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();n.popups.show("image.alt",a,r,t.outerHeight(),!0)}function eF(e){if(e)return n.popups.onRefresh("image.alt",eD),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(n.button.buildList(n.opts.imageAltButtons),"</div>"),alt_layer:'<div class="fr-image-alt-layer fr-layer fr-active" id="fr-image-alt-layer-'.concat(n.id,'"><div class="fr-input-line"><input id="fr-image-alt-layer-text-').concat(n.id,'" type="text" placeholder="').concat(n.language.translate("Alternative Text"),'" tabIndex="1"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetAlt" tabIndex="2" role="button">').concat(n.language.translate("Update"),"</button></div></div>")},r=n.popups.create("image.alt",t);return n.$wp&&n.events.$on(n.$wp,"scroll.image-alt",function(){a&&n.popups.isVisible("image.alt")&&eB()}),r}function e$(){var e=n.popups.get("image.size");if(a)if(e0()){var t=a.parent();t.get(0).style.width||(t=a.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(a.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(a.get(0).style.height).trigger("change")}function eP(){var e=n.popups.get("image.size");e||(e=eH()),W(),n.popups.refresh("image.size"),n.popups.setContainer("image.size",n.$sc);var t=e1();e0()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();n.popups.show("image.size",a,r,t.outerHeight(),!0)}function eH(e){if(e)return n.popups.onRefresh("image.size",e$),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(n.button.buildList(n.opts.imageSizeButtons),"</div>"),size_layer:'<div class="fr-image-size-layer fr-layer fr-active" id="fr-image-size-layer-'.concat(n.id,'"><div class="fr-image-group"><div class="fr-input-line"><input id="fr-image-size-layer-width-\'').concat(n.id,'" type="text" name="width" placeholder="').concat(n.language.translate("Width"),'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-image-size-layer-height').concat(n.id,'" type="text" name="height" placeholder="').concat(n.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetSize" tabIndex="2" role="button">').concat(n.language.translate("Update"),"</button></div></div>")},r=n.popups.create("image.size",t);return n.$wp&&n.events.$on(n.$wp,"scroll.image-size",function(){a&&n.popups.isVisible("image.size")&&eP()}),r}function eU(e,t,n,a){return e.pageX=t,D.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,a)),B.call(this,e),F.call(this,e),++a}function eK(e){(e=e||e1())&&!1!==n.events.trigger("image.beforeRemove",[e])&&(n.popups.hideAll(),eq(!0),n.undo.canDo()||n.undo.saveStep(),e.get(0)==n.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(n.selection.setBefore(e.get(0).parentNode)||n.selection.setAfter(e.get(0).parentNode)||e.parent().after(t.MARKERS),f(e.get(0).parentNode).remove()):(n.selection.setBefore(e.get(0))||n.selection.setAfter(e.get(0))||e.after(t.MARKERS),e.remove()),n.html.fillEmptyBlocks(),n.selection.restore(
1)),n.undo.saveStep())}function ez(e){var r=e.which;if(a&&(r==t.KEYCODE.BACKSPACE||r==t.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),eK(),!1;if(a&&r==t.KEYCODE.ESC){var o=a;return eq(!0),n.selection.setAfter(o.get(0)),n.selection.restore(),e.preventDefault(),!1}if(!a||r!=t.KEYCODE.ARROW_LEFT&&r!=t.KEYCODE.ARROW_RIGHT)return a&&r===t.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),eq(!0),!1):a&&r!=t.KEYCODE.F10&&!n.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var i=a.get(0);return eq(!0),r==t.KEYCODE.ARROW_LEFT?n.selection.setBefore(i):n.selection.setAfter(i),n.selection.restore(),e.preventDefault(),!1}function eW(e){if(!1===n.events.trigger("image.beforePasteUpload",[e]))return!1;a=f(e),k(),replace(),z(),a.on("load",function(){var e=[];k(),f(n.popups.get("filesManager.insert").get(0)).find("div.fr-active.fr-error").length<1&&z(),f(this).data("events").find(function(t){"load"===t[0]&&e.push(t)}),e.length<=1&&f(this).off("load")});for(var t=f(e).attr("src").split(","),r=atob(t[1]),o=[],i=0;i<r.length;i++)o.push(r.charCodeAt(i));ex([new Blob([new Uint8Array(o)],{type:t[0].replace(/data\:/g,"").replace(/;base64/g,"")})],a)}function eV(){n.opts.imagePaste?n.$el.find("img[data-fr-image-pasted]").each(function(e,t){if(n.opts.imagePasteProcess){var a=n.opts.imageDefaultWidth;a&&"auto"!=a&&(a+=n.opts.imageResizeWithPercent?"%":"px"),f(t).css("width",a).removeClass("fr-dii fr-dib fr-fir fr-fil"),eJ(f(t),n.opts.imageDefaultDisplay,n.opts.imageDefaultAlign)}if(0===t.src.indexOf("data:"))eW(t);else if(0===t.src.indexOf("blob:")||0===t.src.indexOf("http")&&n.opts.imageUploadRemoteUrls&&n.opts.imageCORSProxy){var r=new Image;r.crossOrigin="Anonymous",r.onload=function(){var e,a=n.o_doc.createElement("CANVAS"),r=a.getContext("2d");a.height=this.naturalHeight,a.width=this.naturalWidth,r.drawImage(this,0,0),setTimeout(function(){eW(t)},0),e=2e3<this.naturalWidth||1500<this.naturalHeight?"jpeg":"png",t.src=a.toDataURL("image/".concat(e))},r.src=(0===t.src.indexOf("blob:")?"":"".concat(n.opts.imageCORSProxy,"/"))+t.src}else 0!==t.src.indexOf("http")||0===t.src.indexOf("https://mail.google.com/mail")?(n.selection.save(),f(t).remove(),n.selection.restore()):f(t).removeAttr("data-fr-image-pasted")}):n.$el.find("img[data-fr-image-pasted]").remove()}function eG(e){var t=e.target.result,a=n.opts.imageDefaultWidth;a&&"auto"!=a&&(a+=n.opts.imageResizeWithPercent?"%":"px"),n.undo.saveStep(),n.html.insert('<img data-fr-image-pasted="true" src="'.concat(t,'"').concat(a?' style="width: '.concat(a,';"'):"",">"));var r=n.$el.find('img[data-fr-image-pasted="true"]');r&&eJ(r,n.opts.imageDefaultDisplay,n.opts.imageDefaultAlign),n.events.trigger("paste.after")}function eY(e){if(e&&e.clipboardData&&e.clipboardData.items){var t,n,a=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))a=e.clipboardData.items[0].getAsFile();else for(var r=0;r<e.clipboardData.items.length&&!(a=e.clipboardData.items[r].getAsFile());r++);if(a)return t=a,(n=new FileReader).onload=eG,n.readAsDataURL(t),!1}}function ej(e){return e.replace(/<img /gi,'<img data-fr-image-pasted="true" ')}function eq(e){a&&(eX||!0===e)&&(n.toolbar.enable(),i&&i.removeClass("fr-active"),n.popups.hide("image.edit"),a=null,eQ(),s=null,l&&l.hide())}var eX=!1;function eZ(){eX=!0}function eQ(){eX=!1}function eJ(e,t,a){!n.opts.htmlUntouched&&n.opts.useClasses?(e.removeClass("fr-fil fr-fir fr-dib fr-dii"),a&&e.addClass("fr-fi".concat(a[0])),t&&e.addClass("fr-di".concat(t[0]))):"inline"==t?(e.css({display:"inline-block",verticalAlign:"bottom",margin:n.opts.imageDefaultMargin}),"center"==a?e.css({float:"none",marginBottom:"",marginTop:"",maxWidth:"calc(100% - ".concat(2*n.opts.imageDefaultMargin,"px)"),textAlign:"center"}):"left"==a?e.css({float:"left",marginLeft:0,maxWidth:"calc(100% - ".concat(n.opts.imageDefaultMargin,"px)"),textAlign:"left"}):e.css({float:"right",marginRight:0,maxWidth:"calc(100% - ".concat(n.opts.imageDefaultMargin,"px)"),textAlign:"right"})):"block"==t&&(e.css({display:"block",float:"none",verticalAlign:"top",margin:"".concat(n.opts.imageDefaultMargin,"px auto"),textAlign:"center"}),"left"==a?e.css({marginLeft:0,textAlign:"left"}):"right"==a&&e.css({marginRight:0,textAlign:"right"}))}function e1(){return e0()?a.parents(".fr-img-caption").first():a}function e0(){return!!a&&0<a.parents(".fr-img-caption").length}return{_init:function(){var e;n.helpers.isMobile()&&n.events.$on(f(n.o_win),"orientationchange",function(){setTimeout(function(){_(!0)},100)}),n.events.$on(n.$el,n._mousedown,"IMG"==n.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==f(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;n.helpers.isMobile()||n.selection.clear(),u=!0,n.popups.areVisible()&&n.events.disableBlur(),n.browser.msie&&(n.events.disableBlur(),n.$el.attr("contenteditable",!1)),n.draggable||"touchstart"==e.type||e.preventDefault(),e.stopPropagation()}),n.events.$on(n.$el,n._mousedown,".fr-img-caption .fr-inner",function(e){n.core.hasFocus()||n.events.focus(),e.stopPropagation()}),n.events.$on(n.$el,"paste",".fr-img-caption .fr-inner",function(e){n.toolbar.hide(),e.stopPropagation()}),n.events.$on(n.$el,n._mouseup,"IMG"==n.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==f(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;u&&(u=!1,e.stopPropagation(),n.browser.msie&&(n.$el.attr("contenteditable",!0),n.events.enableBlur()))}),n.events.on("keyup",function(e){if(e.shiftKey&&""===n.selection.text().replace(/\n/g,"")&&n.keys.isArrow(e.which)){var t=n.selection.element
vendor: 4,302 bytes, line 1
1(),a=n.selection.endElement();t&&"IMG"==t.tagName?eg(f(t)):a&&"IMG"==a.tagName&&eg(f(a))}},!0),n.events.on("window.mousedown",eZ),n.events.on("window.touchmove",eQ),n.events.on("mouseup window.mouseup",function(){if(a)return eq(),!1;eQ()}),n.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&eq()}),n.events.on("image.resizeEnd",function(){n.opts.iframe&&n.size.syncIframe()}),n.events.on("blur image.hideResizer commands.undo commands.redo element.dropped",function(){eq((u=!1,!0))}),n.events.on("modals.hide",function(){a&&n.selection.clear()}),n.events.on("image.resizeEnd",function(){n.win.getSelection&&eg(a)}),n.opts.imageAddNewLine&&n.events.on("image.inserted",function(e){var a=e.get(0);for(a.nextSibling&&"BR"===a.nextSibling.tagName&&(a=a.nextSibling);a&&!n.node.isElement(a);)a=n.node.isLastSibling(a)?a.parentNode:null;n.node.isElement(a)&&(n.opts.enter===t.ENTER_BR?e.after("<br>"):f(n.node.blockParent(e.get(0))).after("<".concat(n.html.defaultTag(),"><br></").concat(n.html.defaultTag(),">")))}),"IMG"==n.el.tagName&&n.$el.addClass("fr-view"),n.helpers.isMobile()&&(n.events.$on(n.$el,"touchstart","IMG"==n.el.tagName?null:'img:not([contenteditable="false"])',function(){ea=!1}),n.events.$on(n.$el,"touchmove",function(){ea=!0})),n.$wp?(n.events.on("window.keydown keydown",ez,!0),n.events.on("keyup",function(e){if(a&&e.which==t.KEYCODE.ENTER)return!1},!0),n.events.$on(n.$el,"keydown",function(){var e=n.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&n.node.isLastSibling(e))&&(e=e.parentNode),n.node.hasClass(e,"fr-inner")||(n.node.hasClass(e,"fr-img-caption")||(e=f(e).parents(".fr-img-caption").get(0)),n.node.hasClass(e,"fr-img-caption")&&(f(e).after(t.INVISIBLE_SPACE+t.MARKERS),n.selection.restore()))})):n.events.$on(n.$win,"keydown",ez),n.events.on("toolbar.esc",function(){if(a){if(n.$wp)n.events.disableBlur(),n.events.focus();else{var e=a;eq(!0),n.selection.setAfter(e.get(0)),n.selection.restore()}return!1}},!0),n.events.on("toolbar.focusEditor",function(){if(a)return!1},!0),n.events.on("window.cut window.copy",function(e){if(a&&n.popups.isVisible("image.edit")&&!n.popups.get("image.edit").find(":focus").length){var r=e1();e0()?(r.before(t.START_MARKER),r.after(t.END_MARKER),n.selection.restore(),n.paste.saveCopiedText(r.get(0).outerHTML,r.text())):n.paste.saveCopiedText(a.get(0).outerHTML,a.attr("alt")),"copy"==e.type?setTimeout(function(){eg(a)}):(eq(!0),n.undo.saveStep(),setTimeout(function(){n.undo.saveStep()},0))}},!0),n.browser.msie&&n.events.on("keydown",function(e){if(!n.selection.isCollapsed()||!a)return!0;var r=e.which;r==t.KEYCODE.C&&n.keys.ctrlKey(e)?n.events.trigger("window.copy"):r==t.KEYCODE.X&&n.keys.ctrlKey(e)&&n.events.trigger("window.cut")}),n.events.$on(f(n.o_win),"keydown",function(e){var n=e.which;if(a&&n==t.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),n.events.$on(n.$win,"keydown",function(e){var n=e.which;a&&a.hasClass("fr-uploading")&&n==t.KEYCODE.ESC&&a.trigger("abortUpload")}),n.events.on("destroy",function(){a&&a.hasClass("fr-uploading")&&a.trigger("abortUpload")}),n.events.on("paste.before",eY),n.events.on("paste.beforeCleanup",ej),n.events.on("paste.after",eV),n.events.on("html.processGet",function e(t){if(t&&"IMG"==t.tagName){if(n.node.hasClass(t,"fr-uploading")||n.node.hasClass(t,"fr-error")?t.parentNode.removeChild(t):n.node.hasClass(t,"fr-draggable")&&t.classList.remove("fr-draggable"),t.parentNode&&t.parentNode.parentNode&&n.node.hasClass(t.parentNode.parentNode,"fr-img-caption")){var a=t.parentNode.parentNode;a.removeAttribute("contenteditable"),a.removeAttribute("draggable"),a.classList.remove("fr-draggable");var r=t.nextSibling;r&&r.removeAttribute("contenteditable")}}else if(t&&t.nodeType==Node.ELEMENT_NODE)for(var o=t.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),i=0;i<o.length;i++)e(o[i])}),n.opts.imageOutputSize&&n.events.on("html.beforeGet",function(){e=n.el.querySelectorAll("img");for(var t=0;t<e.length;t++){var a=e[t].style.width||f(e[t]).width(),r=e[t].style.height||f(e[t]).height();a&&e[t].setAttribute("width","".concat(a).replace(/px/,"")),r&&e[t].setAttribute("height","".concat(r).replace(/px/,""))}}),n.opts.iframe&&n.events.on("image.loaded",n.size.syncIframe),n.events.$on(f(n.o_win),"orientationchange.
1image",function(){setTimeout(function(){a&&eg(a)},100)}),function(e){if(e)return n.$wp&&n.events.$on(n.$wp,"scroll.image-edit",function(){a&&n.popups.isVisible("image.edit")&&n.events.disableBlur()});var t="";if(0<n.opts.imageEditButtons.length){var r={buttons:t+='<div class="fr-buttons"> \n        '.concat(n.button.buildList(n.opts.imageEditButtons),"\n        </div>")};n.popups.create("image.edit",r)}}(!0),eN(!0),eH(!0),eF(!0),n.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return eK(e),!1}),n.events.on("popups.hide.filesManager.insert",function(e){n.filesManager.minimizePopup(o)})},showInsertPopup:_,showLayer:function(e){var t,r,o=n.popups.get("filesManager.insert");if(a||n.opts.toolbarInline){if(a){var i=e1();e0()&&(i=i.find(".fr-img-wrap")),r=i.offset().top+i.outerHeight(),t=i.offset().left}}else{var s=n.$tb.find('.fr-command[data-cmd="insertFiles"]');t=s.offset().left,r=s.offset().top+(n.opts.toolbarBottom?10:s.outerHeight()-10)}!a&&n.opts.toolbarInline&&(r=o.offset().top-n.helpers.getPX(o.css("margin-top")),o.hasClass("fr-above")&&(r+=o.outerHeight())),o.find(".fr-layer").removeClass("fr-active"),o.find(".fr-".concat(e,"-layer")).addClass("fr-active"),o.find(".fr-upload-progress-layer").addClass("fr-active"),n.popups.show("filesManager.insert",t,r,a?a.outerHeight():0),n.accessibility.focusPopup(o)},refreshUploadButton:function(e){var t=n.popups.get("filesManager.insert");t&&t.find(".fr-files-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function(e){var t=n.popups.get("filesManager.insert");t&&t.find(".fr-files-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:ex,insertByURL:function(){for(var e,r=n.popups.get("filesManager.insert").find(".fr-files-by-url-layer input"),o=r.val().trim().split(/[ ,]+/),i=[],s=0,l=0;l<o.length;l++)e=o[l],RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)&&(i[s]=o[l],s++);if(0!=i.length){if(0<r.val().trim().length&&0<i.length){var c=[],d=[],f=L,p=i.length;i.forEach(function(e,r){if(0==e.trim().length)L==f+--p&&eh(c,d);else{W(),z(),V(n.language.translate("Loading file(s)"));var o=e.trim(),i=function(e){if(void 0===e)return e;var a=null;if(/^http/.test(e)||(e="https://".concat(e)),n.helpers.isURL(e))for(var r=0;r<t.VIDEO_PROVIDERS.length;r++){var o=t.VIDEO_PROVIDERS[r];if(o.test_regex.test(e)&&new RegExp(n.opts.videoAllowedProviders.join("|")).test(o.provider)){a=e.replace(o.url_regex,o.url_text),a=o.html.replace(/\{url\}/,a);break}}return a}(o);if(i){var s={link:o,name:o,type:"video/url",size:2,video:i};h.set(f+r,s),el(f+r),W(),z(),V(n.language.translate("Loading file(s)")),g.set(f+r,s),++L==f+p&&eh(c,d)}else{var l=new XMLHttpRequest;l.onload=function(){if(200==this.status){var e=new Blob([this.response],{type:this.response.type||""});e.name=eI(o),e.link=o,eR(this.response.type)?(e.sanitize=!0,e.existing_image=a):e_(this.response.type)&&(e.text=eI(o)),c.push(e),d.push(f+r),h.set(f+r,e),el(f+r),(-1<S.indexOf(eE(e))||!eE(e))&&P(6,null,null,f+r)}else{var t=new Blob([this.response],{type:this.response.type||" "});t.name=eI(o),t.link=o,h.set(f+r,t),el(f+r),P(1,this.response,a,f+r)}W(),z(),V(n.language.translate("Loading file(s)")),++L==f+p&&eh(c,d)},l.onerror=function(){var e={link:o,name:eI(o),size:0,type:""};P(9,this.response,a,f+r);var t=L;h.set(t,e),el(t),W(),z(),V(n.language.translate("Loading file(s)")),++L==f+p&&eh(c,d)},l.open("GET","".concat(n.opts.imageCORSProxy,"/").concat(o),!0),l.responseType="blob",l.send()}}}),r.val(""),r.blur()}}else G(n.language.translate("Url entered is invalid. Please try again."))},insertAllFiles:function(){y=[];var e=n.popups.get("filesManager.insert");T=-1,d=null,e.find(".fr-insert-checkbox").toArray().forEach(function(e,t,n){e.children.target.checked&&(y.push(parseInt(e.id.split("-").pop())),eR(g.get(parseInt(e.id.split("-").pop())).type)&&-1==T&&(T=t))}),eb(y),H()},deleteAllFiles:function(){n.popups.get("filesManager.insert").find(".fr-insert-checkbox").toArray().forEac
1h(function(e,t,n){if(e.children.target.checked){var a=parseInt(e.id.split("-").pop());m.has(a)&&m.delete(a),U(a)}}),H()},get:function(){return a},getEl:e1,insert:ey,showProgressBar:z,remove:eK,hideProgressBar:W,applyStyle:function(t,r,o){if(void 0===r&&(r=n.opts.imageStyles),void 0===o&&(o=n.opts.imageMultipleStyles),!a)return!1;var i=e1();if(!o){var s=Object.keys(r);s.splice(s.indexOf(t),1),i.removeClass(s.join(" "))}"object"==e(r[t])?(i.removeAttr("style"),i.css(r[t].style)):i.toggleClass(t),eg(a)},showAltPopup:eB,showSizePopup:eP,setAlt:function(e){if(a){var t=n.popups.get("image.alt");a.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),eg(a)}},setSize:function(e,t){if(a){var r=n.popups.get("image.size");e=e||r.find('input[name="width"]').val()||"",t=t||r.find('input[name="height"]').val()||"";var o=/^[\d]+((px)|%)*$/g;a.removeAttr("width").removeAttr("height"),e.match(o)?a.css("width",e):a.css("width",""),t.match(o)?a.css("height",t):a.css("height",""),e0()&&(a.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(o)?a.parents(".fr-img-caption").css("width",e):a.parents(".fr-img-caption").css("width",""),t.match(o)?a.parents(".fr-img-caption").css("height",t):a.parents(".fr-img-caption").css("height","")),r&&r.find("input:focus").blur(),eg(a)}},toggleCaption:function(){var e;if(a&&!e0()){(e=a).parent().is("a")&&(e=a.parent());var r,o,i=a.parents("ul")&&0<a.parents("ul").length?a.parents("ul"):a.parents("ol")&&0<a.parents("ol").length?a.parents("ol"):[];if(0<i.length){var s=i.find("li").length,l=a.parents("li"),c=document.createElement("li");s-1===l.index()&&(i.append(c),c.innerHTML="&nbsp;")}e.attr("style")&&(o=-1<(r=e.attr("style").split(":")).indexOf("width")?r[r.indexOf("width")+1].replace(";",""):"");var d=n.opts.imageResizeWithPercent?(-1<o.indexOf("px")?null:o)||"100%":a.width()+"px";e.wrap('<div class="fr-img-space-wrap"><span '+(n.browser.mozilla?"":'contenteditable="false"')+'class="fr-img-caption '+a.attr("class")+'" style="'+(n.opts.useClasses?"":e.attr("style"))+'" draggable="false"></span><p class="fr-img-space-wrap2">&nbsp;</p></div>'),e.wrap('<span class="fr-img-wrap"></span>'),a.after('<span class="fr-inner"'.concat(n.browser.mozilla?"":' contenteditable="true"',">").concat(t.START_MARKER).concat(n.language.translate("Image Caption")).concat(t.END_MARKER,"</span>")),a.removeAttr("class").removeAttr("style").removeAttr("width"),a.parents(".fr-img-caption").css("width",d),eq(!0),n.selection.restore()}else e=e1(),a.insertAfter(e),a.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),eg(a)},refreshEmbedButton:function(e){var t=n.popups.get("filesManager.insert");t&&t.find(".fr-files-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},insertEmbed:function(e){void 0===e&&(e=n.popups.get("filesManager.insert").find(".fr-files-embed-layer textarea").val()||""),0!==e.length&&(t.VIDEO_EMBED_REGEX.test(e)||t.IMAGE_EMBED_REGEX.test(e))?eT(e):(G(n.language.translate("Something went wrong. Please try again.")),t.VIDEO_EMBED_REGEX.test(e)&&n.events.trigger("video.codeError",[e]))},hasCaption:e0,exitEdit:eq,edit:eg,cancelFileInsert:function(){this.file_manager_dialog_open=!1,m.forEach(function(e,t){4!=e.readyState&&(e.abort(),U(t))});var e=n.popups.get("filesManager.insert");e.find(".fr-progress-bar").removeClass("fr-display-block").addClass("fr-none"),e.find('.fr-command[data-cmd="filesUpload"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesByURL"]').removeClass("fr-disabled"),e.find('.fr-command[data-cmd="filesEmbed"]').removeClass("fr-disabled"),E=0,m=new Map,v=new Map,K(),n.popups.hide("filesManager.insert")},minimizePopup:function(e){this.file_manager_dialog_open=!1,n.popups.hide("filesManager.insert"),K()},editImage:eC,saveImage:function(e){var t=g.get(r);t.link=window.URL.createObjectURL(new Blob(e,{type:"image/png"})),g.set(r,t)},_showErrorMessage:G,_showFileErrorMessage:Y,getFileThumbnail:ed,deleteFile:U,checkAutoplay:ew,checkInsertAllState:H,_disableInsertCheckbox:$,_getFileType:eE,isChildWindowOpen:function(){return p},setChildWindowState:function(e){void 0!==e&&(p=e)}
1,resetAllFilesCheckbox:K}},t.DefineIcon("insertFiles",{NAME:"image",SVG_KEY:"fileManager"}),t.RegisterShortcut(t.KEYCODE.P,"insertFiles",null,"P"),t.RegisterCommand("insertFiles",{title:"Insert Files",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("filesManager.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("filesManager.insert")):this.filesManager.showInsertPopup()},plugin:"filesManager"}),t.DefineIcon("cloudIcon",{NAME:"cloudIcon",SVG_KEY:"uploadFiles"}),t.DefineIcon("filesUpload",{NAME:"uploadFiles",SVG_KEY:"uploadFiles"}),t.RegisterCommand("filesUpload",{title:"Upload Files",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-upload")},refresh:function(e){this.filesManager.refreshUploadButton(e)}}),t.DefineIcon("filesByURL",{NAME:"link",SVG_KEY:"insertLink"}),t.RegisterCommand("filesByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-by-url")},refresh:function(e){this.filesManager.refreshByURLButton(e)}}),t.DefineIcon("filesEmbed",{NAME:"code",SVG_KEY:"codeView"}),t.RegisterCommand("filesEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.showLayer("files-embed")},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),t.DefineIcon("insertAll",{NAME:"insertAll",SVG_KEY:"fileInsert"}),t.RegisterCommand("insertAll",{title:"Insert",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.insertAllFiles()}}),t.DefineIcon("deleteAll",{NAME:"remove",SVG_KEY:"remove"}),t.RegisterCommand("deleteAll",{title:"Delete",undo:!1,focus:!1,toggle:!0,disabled:!0,callback:function(){this.filesManager.deleteAllFiles()}}),t.DefineIcon("cancel",{NAME:"cancel",SVG_KEY:"cancel"}),t.RegisterCommand("cancel",{title:"Cancel",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.cancelFileInsert()},refresh:function(e){}}),t.DefineIcon("minimize",{NAME:"minimize",SVG_KEY:"minimize"}),t.RegisterCommand("minimize",{title:"Minimize",undo:!1,focus:!1,toggle:!0,callback:function(){this.filesManager.minimizePopup("image.insert",!0)},refresh:function(e){this.filesManager.refreshEmbedButton(e)}}),t.RegisterCommand("filesInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.filesManager.insertByURL()},refresh:function(e){e.text(this.language.translate("Add"))}}),t.RegisterCommand("imageInsertByUpload",{title:"Insert",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),t.RegisterCommand("viewImage",{title:"View Image",undo:!0,refreshAfterCallback:!1,callback:function(e,t){},refresh:function(e){}}),t.RegisterCommand("insertEmbed",{undo:!0,focus:!0,callback:function(){this.filesManager.insertEmbed(),this.popups.get("filesManager.insert").find("textarea")[0].value="",this.popups.get("filesManager.insert").find("textarea").removeClass("fr-not-empty")}}),t.RegisterCommand("filesDismissError",{title:"OK",undo:!1,callback:function(){this.filesManager.hideProgressBar(!0)}}),t.PLUGINS.cryptoJSPlugin=function(e){var t,a,r,o,i,s,l,c,d,f,p,u,h,g,m,v,b,C,E,y,T,A,L,x,S,w,R,_,M,O,k,N,I,D,B,F,$,P,H,U,K,z,W,V,G,Y,j,q,X,Z,Q,J,ee,et,en,ea,er,eo,ei,es,el,ec,ed,ef,ep,eu,eh,eg,em,ev,eb,eC,eE,ey,eT=eT||function(e,t){if("u">typeof window&&window.crypto&&(a=window.crypto),!a&&"u">typeof window&&window.msCrypto&&(a=window.msCrypto),!a&&void 0!==n.g&&n.g.crypto&&(a=n.g.crypto),!a)try{a=n(63426)}catch(e){}var a,r=function(){if(a){if("function"==typeof a.getRandomValues)try{return a.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof a.randomBytes)try{return a.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},s=i.lib={},l=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.a
vendor: 6,033 bytes, line 1
1pply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=l.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,n=e.words,a=this.sigBytes,r=e.sigBytes;if(this.clamp(),a%4)for(var o=0;o<r;o++){var i=n[o>>>2]>>>24-o%4*8&255;t[a+o>>>2]|=i<<24-(a+o)%4*8}else for(o=0;o<r;o+=4)t[a+o>>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=0xffffffff<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new c.init(t,e)}}),d=i.enc={},f=d.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,a=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;a.push((o>>>4).toString(16)),a.push((15&o).toString(16))}return a.join("")},parse:function(e){for(var t=e.length,n=[],a=0;a<t;a+=2)n[a>>>3]|=parseInt(e.substr(a,2),16)<<24-a%8*4;return new c.init(n,t/2)}},p=d.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,a=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;a.push(String.fromCharCode(o))}return a.join("")},parse:function(e){for(var t=e.length,n=[],a=0;a<t;a++)n[a>>>2]|=(255&e.charCodeAt(a))<<24-a%4*8;return new c.init(n,t)}},u=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,a=this._data,r=a.words,o=a.sigBytes,i=this.blockSize,s=o/(4*i),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*i,d=e.min(4*l,o);if(l){for(var f=0;f<l;f+=i)this._doProcessBlock(r,f);n=r.splice(0,l),a.sigBytes-=d}return new c.init(n,d)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(s.Hasher=h.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),i.algo={});return i}(Math);return m=eT.lib.WordArray,eT.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,a=this._map;e.clamp();for(var r=[],o=0;o<n;o+=3)for(var i=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)r.push(a.charAt(i>>>6*(3-s)&63));var l=a.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(e){var t=e.length,n=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var r=0;r<n.length;r++)a[n.charCodeAt(r)]=r}var o=n.charAt(64);if(o){var i=e.indexOf(o);-1!==i&&(t=i)}for(var s=t,l=a,c=[],d=0,f=0;f<s;f++)if(f%4){var p=l[e.charCodeAt(f-1)]<<f%4*2|l[e.charCodeAt(f)]>>>6-f%4*2;c[d>>>2]|=p<<24-d%4*8,d++}return m.create(c,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(e){for(var t=eT.lib,n=t.WordArray,a=t.Hasher,r=eT.algo,o=[],i=0;i<64;i++)o[i]=0x100000000*e.abs(e.sin(i+1))|0;var s=r.MD5=a.extend({_doReset:function(){this._hash=new n.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var a=t+n,r=e[a];e[a]=0xff00ff&(r<<8|r>>>24)|0xff00ff00&(r<<24|r>>>8)}var i=this._hash.words,s=e[t+0],p=e[t+1],u=e[t+2],h=e[t+3],g=e[t+4],m=e[t+5],v=e[t+6],b=e[t+7],C=e[t+8],E=e[t+9],y=e[t+10],T=e[t+11],A=e[t+12],L=e[t+13],x=e[t+14],S=e[t+15],w=i[0],R=i[1],_=i[2],M=i[3];R=f(R=f(R=f(R=f(R=d(R=d(R=d(R=d(R=c(R=c(R=c(R=c(R=l(R=l(R=l(R=l(R,_=l(_,M=l(M,w=l(w,R,_,M,s,7,o[0]),R,_,p,12,o[1]),w,R,u,17,o[2]),M,w,h,22,o[3]),_=l(_,M=l(M,w=l(w,R,_,M,g,7,o[4]),R,_,m,12,o[5]),w,R,v,17,o[6]),M,w,b,22,o[7]),_=l(_,M=l(M,w=l(w,R,_,M,C,7,o[8]),R,_,E,12,o[9]),w,R,y,17,o[10]),M,w,T,22,o[11]),_=l(_,M=l(M,w=l(w,R,_,M,A,7,o[12]),R,_,L,12,o[13]),w,R,x,17,o[14]),M,w,S,22,o[15]),_=c(_,M=c(M,w=c(w,R,_,M,p,5,o[16]),R,_,v,9,o[17]),w,R,T,14,o[18]),M,w,s,20,o[19]),_=c(_,M=c(M,w=c(w,R,_,M,m,5,o[20]),R,_,y,9,o[21]),w,R,S,14,o[22]),M,w,g,20,o[23]),_=c(_,M=c(M,w=c(w,R,_,M,E,5,o[24]),R,_,x,9,o[25]),w,R,h,14,o[26]),M,w,C,20,o[27]),_=c(_,M=c(M,w=c(w,R,_,M,L,5,o[28]),R,_,u,9,o[29]),w,R,b,14,o[30]),M,w,A,20,o[31]),_=d(_,M=d(M,w=d(w,R,_,M,m,4,o[32]),R,_,C,11,o[33]),w,R,T,16,o[34]),M,w,x,23,o[35]),_=d(_,M=d(M,w=d(w,R,_,M,p,4,o[36]),R,_,g,11,o[37]),w,R,b,16,o[38]),M,w,y,23,o[39]),_=d(_,M=d(M,w=d(w,R,_,M,L,4,o[40]),R,_,s,11,o[41]),w,R,h,16,o[42]),M,w,v,23,o[43]),_=d(_,M=d(M,w=d(w,R,_,M,E,4,o[44]),R,_,A,11,o[45]),w,R,S,16,o[46]),M,w,u,23,o[47]),_=f(_,M=f(M,w=f(w,R,_,M,s,6,o[48]),R,_,b,10,o[49]),w,R,x,15,o[50]),M,w,m,21,o[51]),_=f(_,M=f(M,w=f(w,R,_,M,A,6,o[52]),R,_,h,10,o[53]),w,R,y,15,o[54]),M,w,p,21,o[55]),_=f(_,M=f(M,w=f(w,R,_,M,C,6,o[56]),R,_,S,10,o[57]),w,R,v,15,o[58]),M,w,L,21,o[59]),_=f(_,M=f(M,w=f(w,R,_,M,g,6,o[60]),R,_,T,10,o[61]),w,R,u,15,o[62]),M,w,E,21,o[63]),i[0]=i[0]+w|0,i[1]=i[1]+R|0,i[2]=i[2]+_|0,i[3]=i[3]+M|0},_doFinalize:function(){var t=this._data,n=t.words,a=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var o=e.floor(a/0x100000000);n[15+(r+64>>>9<<4)]=0xff00ff&(o<<8|o>>>24)|0xff00ff00&(o<<24|o>>>8),n[14+(r+64>>>9<<4)]=0xff00ff&(a<<8|a>>>24)|0xff00ff00&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var i=this._hash,s=i.words,l=0;l<4;l++){var c=s[l];
1s[l]=0xff00ff&(c<<8|c>>>24)|0xff00ff00&(c<<24|c>>>8)}return i},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,a,r,o,i){var s=e+(t&n|~t&a)+r+i;return(s<<o|s>>>32-o)+t}function c(e,t,n,a,r,o,i){var s=e+(t&a|n&~a)+r+i;return(s<<o|s>>>32-o)+t}function d(e,t,n,a,r,o,i){var s=e+(t^n^a)+r+i;return(s<<o|s>>>32-o)+t}function f(e,t,n,a,r,o,i){var s=e+(n^(t|~a))+r+i;return(s<<o|s>>>32-o)+t}eT.MD5=a._createHelper(s),eT.HmacMD5=a._createHmacHelper(s)}(Math),b=(v=eT.lib).WordArray,C=v.Hasher,E=eT.algo,y=[],T=E.SHA1=C.extend({_doReset:function(){this._hash=new b.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var n=this._hash.words,a=n[0],r=n[1],o=n[2],i=n[3],s=n[4],l=0;l<80;l++){if(l<16)y[l]=0|e[t+l];else{var c=y[l-3]^y[l-8]^y[l-14]^y[l-16];y[l]=c<<1|c>>>31}var d=(a<<5|a>>>27)+s+y[l];d+=l<20?0x5a827999+(r&o|~r&i):l<40?0x6ed9eba1+(r^o^i):l<60?(r&o|r&i|o&i)-0x70e44324:(r^o^i)-0x359d3e2a,s=i,i=o,o=r<<30|r>>>2,r=a,a=d}n[0]=n[0]+a|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;return t[a>>>5]|=128<<24-a%32,t[14+(a+64>>>9<<4)]=Math.floor(n/0x100000000),t[15+(a+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=C.clone.call(this);return e._hash=this._hash.clone(),e}}),eT.SHA1=C._createHelper(T),eT.HmacSHA1=C._createHmacHelper(T),function(e){var t=eT.lib,n=t.WordArray,a=t.Hasher,r=eT.algo,o=[],i=[];function s(e){return 0x100000000*(e-(0|e))|0}for(var l=2,c=0;c<64;)(function(t){for(var n=e.sqrt(t),a=2;a<=n;a++)if(!(t%a))return!1;return!0})(l)&&(c<8&&(o[c]=s(e.pow(l,.5))),i[c]=s(e.pow(l,1/3)),c++),l++;var d=[],f=r.SHA256=a.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,a=n[0],r=n[1],o=n[2],s=n[3],l=n[4],c=n[5],f=n[6],p=n[7],u=0;u<64;u++){if(u<16)d[u]=0|e[t+u];else{var h=d[u-15],g=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,m=d[u-2],v=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;d[u]=g+d[u-7]+v+d[u-16]}var b=a&r^a&o^r&o,C=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),E=p+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&c^~l&f)+i[u]+d[u];p=f,f=c,c=l,l=s+E|0,s=o,o=r,r=a,a=E+(C+b)|0}n[0]=n[0]+a|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0,n[5]=n[5]+c|0,n[6]=n[6]+f|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,a=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(a/0x100000000),n[15+(r+64>>>9<<4)]=a,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});eT.SHA256=a._createHelper(f),eT.HmacSHA256=a._createHmacHelper(f)}(Math),function(){var e=eT.lib.WordArray,t=eT.enc;function n(e){return e<<8&0xff00ff00|e>>>8&0xff00ff}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,a=[],r=0;r<n;r+=2){var o=t[r>>>2]>>>16-r%4*8&65535;a.push(String.fromCharCode(o))}return a.join("")},parse:function(t){for(var n=t.length,a=[],r=0;r<n;r++)a[r>>>1]|=t.charCodeAt(r)<<16-r%2*16;return e.create(a,2*n)}},t.Utf16LE={stringify:function(e){for(var t=e.words,a=e.sigBytes,r=[],o=0;o<a;o+=2){var i=n(t[o>>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(i))}return r.join("")},parse:function(t){for(var a=t.length,r=[],o=0;o<a;o++)r[o>>>1]|=n(t.charCodeAt(o)<<16-o%2*16);return e.create(r,2*a)}}}(),function(){if("function"==typeof ArrayBuffer){var e=eT.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"u">typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,a=[],r=0;r<n;r++)a[r>>>2]|=e[r]<<24-r%4*8;t.call(this,a,n)}else t.apply(this,arguments)}).prototype=e}}(),function(e){var t=eT.lib,n=t.WordArray,a=t.Hasher,r=eT.algo,o=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),i=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),s=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),c=n.create([0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e]),d=n.create([0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0]),f=r.RIPEMD160=a.extend({_doReset:function(){this._hash=n.create([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var n,a,r,f,u,h,g,m,v=0;v<16;v++){var b=t+v,C=e[b];e[b]=0xff00ff&(C<<8|C>>>24)|0xff00ff00&(C<<24|C>>>8)}var E,y,T,A,L,x,S,w,R,_,M,O=this._hash.words,k=c.words,N=d.words,I=o.words,D=i.words,B=s.words,F=l.words;for(x=E=O[0],S=y=O[1],w=T=O[2],R=A=O[3],_=L=O[4],v=0;v<80;v+=1){M=(M=p(M=(E+e[t+I[v]]|0)+(v<16?(y^T^A)+k[0]:v<32?((n=y)&T|~n&A)+k[1]:v<48?((y|~T)^A)+k[2]:v<64?(a=y,r=T,(a&(f=A)|r&~f)+k[3]):(y^(T|~A))+k[4])|0,B[v]))+L|0,E=L,L=A,A=p(T,10),T=y,y=M,M=(M=p(M=(x+e[t+D[v]]|0)+(v<16?(S^(w|~R))+N[0]:v<32?(u=S,h=w,(u&(g=R)|h&~g)+N[1]):v<48?((S|~w)^R)+N[2]:v<64?((m=S)&w|~m&R)+N[3]:(S^w^R)+N[4])|0,F[v]))+_|0,x=_,_=R,R=p(w,10),w=S,S=M}M=O[1]+T+R|0,O[1]=O[2]+A+_|0,O[2]=O[3]+L+x|0,O[3]=O[4]+E+S|0,O[4]=O[0]+y+w|0,O[0]=M},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;t[a>>>5]|=128<<24-a%32,t[14+(a+64>>>9<<4)]=0xff00ff&(n<<8|n>>>24)|0xff00ff00&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,o=r.words,i=0;i<5;i++){var s=o[i];o[i]=0xff00ff&(s<<8|s>>>24)|0xff00ff00&(s<<24|s>>>8)}return r},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t){return e<<t|e>>>32-t}eT.RIPEMD160=a._createHelper(f),eT.HmacRIPEMD160=a._createHmacHelper(f)}(Math),A=eT.lib.Base,L=eT.enc.Utf8,eT.algo.HMAC=A.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=L.parse(t));var n=e.blockSize,a=4*n;t.sigBytes>a&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),o=this._iKey=t.clone(),i=r.words,s=o.words,l=0;l<n;l++)i[l]^=0x5c5c5c5c,s[l]^=0x36363636;r.sigBytes=o.sigBytes=a,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}}),S=(x=eT.lib).Base,w=x.WordArray,_=(R=eT.algo).SHA1,M=R.HMAC,O=R.PBKDF2=S.extend({cfg:S.extend({keySize:4,hasher:_,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,a=M.create(n.hasher,e),r=w.create(),o=w.create([1]),i=r.words,s=o.words,l=n.keySize,c=n.iterations;i.length<l;){var d=a.update(t).finalize(o);a.reset();for(var f=d.words,p=f.length,u=d,h=1;h<c;h++){u=a.finalize(u),a.reset();for(var g=u.words,m=0;m<p;m++)f[m]^=g[m]}r.concat(d),s[0]++}
vendor: 5,798 bytes, line 1
1return r.sigBytes=4*l,r}}),eT.PBKDF2=function(e,t,n){return O.create(n).compute(e,t)},N=(k=eT.lib).Base,I=k.WordArray,B=(D=eT.algo).MD5,F=D.EvpKDF=N.extend({cfg:N.extend({keySize:4,hasher:B,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,a=this.cfg,r=a.hasher.create(),o=I.create(),i=o.words,s=a.keySize,l=a.iterations;i.length<s;){n&&r.update(n),n=r.update(e).finalize(t),r.reset();for(var c=1;c<l;c++)n=r.finalize(n),r.reset();o.concat(n)}return o.sigBytes=4*s,o}}),eT.EvpKDF=function(e,t,n){return F.create(n).compute(e,t)},$=eT.lib.WordArray,H=(P=eT.algo).SHA256,U=P.SHA224=H.extend({_doReset:function(){this._hash=new $.init([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4])},_doFinalize:function(){var e=H._doFinalize.call(this);return e.sigBytes-=4,e}}),eT.SHA224=H._createHelper(U),eT.HmacSHA224=H._createHmacHelper(U),z=(K=eT.lib).Base,W=K.WordArray,(V=eT.x64={}).Word=z.extend({init:function(e,t){this.high=e,this.low=t}}),V.WordArray=z.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],a=0;a<t;a++){var r=e[a];n.push(r.high),n.push(r.low)}return W.create(n,this.sigBytes)},clone:function(){for(var e=z.clone.call(this),t=e.words=this.words.slice(0),n=t.length,a=0;a<n;a++)t[a]=t[a].clone();return e}}),function(e){var t=eT.lib,n=t.WordArray,a=t.Hasher,r=eT.x64.Word,o=eT.algo,i=[],s=[],l=[];!function(){for(var e=1,t=0,n=0;n<24;n++){i[e+5*t]=(n+1)*(n+2)/2%64;var a=(2*e+3*t)%5;e=t%5,t=a}for(e=0;e<5;e++)for(t=0;t<5;t++)s[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,c=0;c<24;c++){for(var d=0,f=0,p=0;p<7;p++){if(1&o){var u=(1<<p)-1;u<32?f^=1<<u:d^=1<<u-32}128&o?o=o<<1^113:o<<=1}l[c]=r.create(d,f)}}();for(var c=[],d=0;d<25;d++)c[d]=r.create();var f=o.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new r.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,a=this.blockSize/2,r=0;r<a;r++){var o=e[t+2*r],d=e[t+2*r+1];o=0xff00ff&(o<<8|o>>>24)|0xff00ff00&(o<<24|o>>>8),d=0xff00ff&(d<<8|d>>>24)|0xff00ff00&(d<<24|d>>>8),(R=n[r]).high^=d,R.low^=o}for(var f=0;f<24;f++){for(var p=0;p<5;p++){for(var u=0,h=0,g=0;g<5;g++)u^=(R=n[p+5*g]).high,h^=R.low;var m=c[p];m.high=u,m.low=h}for(p=0;p<5;p++){var v=c[(p+4)%5],b=c[(p+1)%5],C=b.high,E=b.low;for(u=v.high^(C<<1|E>>>31),h=v.low^(E<<1|C>>>31),g=0;g<5;g++)(R=n[p+5*g]).high^=u,R.low^=h}for(var y=1;y<25;y++){var T=(R=n[y]).high,A=R.low,L=i[y];h=L<32?(u=T<<L|A>>>32-L,A<<L|T>>>32-L):(u=A<<L-32|T>>>64-L,T<<L-32|A>>>64-L);var x=c[s[y]];x.high=u,x.low=h}var S=c[0],w=n[0];for(S.high=w.high,S.low=w.low,p=0;p<5;p++)for(g=0;g<5;g++){var R=n[y=p+5*g],_=c[y],M=c[(p+1)%5+5*g],O=c[(p+2)%5+5*g];R.high=_.high^~M.high&O.high,R.low=_.low^~M.low&O.low}R=n[0];var k=l[f];R.high^=k.high,R.low^=k.low}},_doFinalize:function(){var t=this._data,a=t.words,r=(this._nDataBytes,8*t.sigBytes),o=32*this.blockSize;a[r>>>5]|=1<<24-r%32,a[(e.ceil((r+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*a.length,this._process();for(var i=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],d=0;d<l;d++){var f=i[d],p=f.high,u=f.low;p=0xff00ff&(p<<8|p>>>24)|0xff00ff00&(p<<24|p>>>8),u=0xff00ff&(u<<8|u>>>24)|0xff00ff00&(u<<24|u>>>8),c.push(u),c.push(p)}return new n.init(c,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});eT.SHA3=a._createHelper(f),eT.HmacSHA3=a._createHmacHelper(f)}(Math),function(){var e=eT.lib.Hasher,t=eT.x64,n=t.Word,a=t.WordArray,r=eT.algo;function o(){return n.create.apply(n,arguments)}for(var i=[o(0x428a2f98,0xd728ae22),o(0x71374491,0x23ef65cd),o(0xb5c0fbcf,0xec4d3b2f),o(0xe9b5dba5,0x8189dbbc),o(0x3956c25b,0xf348b538),o(0x59f111f1,0xb605d019),o(0x923f82a4,0xaf194f9b),o(0xab1c5ed5,0xda6d8118),o(0xd807aa98,0xa3030242),o(0x12835b01,0x45706fbe),o(0x243185be,0x4ee4b28c),o(0x550c7dc3,0xd5ffb4e2),o(0x72be5d74,0xf27b896f),o(0x80deb1fe,0x3b1696b1),o(0x9bdc06a7,0x25c71235),o(0xc19bf174,0xcf692694),o(0xe49b69c1,0x9ef14ad2),o(0xefbe4786,0x384f25e3),o(0xfc19dc6,0x8b8cd5b5),o(0x240ca1cc,0x77ac9c65),o(0x2de92c6f,0x592b0275),o(0x4a7484aa,0x6ea6e483),o(0x5cb0a9dc,0xbd41fbd4),o(0x76f988da,0x831153b5),o(0x983e5152,0xee66dfab),o(0xa831c66d,0x2db43210),o(0xb00327c8,0x98fb213f),o(0xbf597fc7,0xbeef0ee4),o(0xc6e00bf3,0x3da88fc2),o(0xd5a79147,0x930aa725),o(0x6ca6351,0xe003826f),o(0x14292967,0xa0e6e70),o(0x27b70a85,0x46d22ffc),o(0x2e1b2138,0x5c26c926),o(0x4d2c6dfc,0x5ac42aed),o(0x53380d13,0x9d95b3df),o(0x650a7354,0x8baf63de),o(0x766a0abb,0x3c77b2a8),o(0x81c2c92e,0x47edaee6),o(0x92722c85,0x1482353b),o(0xa2bfe8a1,0x4cf10364),o(0xa81a664b,0xbc423001),o(0xc24b8b70,0xd0f89791),o(0xc76c51a3,0x654be30),o(0xd192e819,0xd6ef5218),o(0xd6990624,0x5565a910),o(0xf40e3585,0x5771202a),o(0x106aa070,0x32bbd1b8),o(0x19a4c116,0xb8d2d0c8),o(0x1e376c08,0x5141ab53),o(0x2748774c,0xdf8eeb99),o(0x34b0bcb5,0xe19b48a8),o(0x391c0cb3,0xc5c95a63),o(0x4ed8aa4a,0xe3418acb),o(0x5b9cca4f,0x7763e373),o(0x682e6ff3,0xd6b2b8a3),o(0x748f82ee,0x5defb2fc),o(0x78a5636f,0x43172f60),o(0x84c87814,0xa1f0ab72),o(0x8cc70208,0x1a6439ec),o(0x90befffa,0x23631e28),o(0xa4506ceb,0xde82bde9),o(0xbef9a3f7,0xb2c67915),o(0xc67178f2,0xe372532b),o(0xca273ece,0xea26619c),o(0xd186b8c7,0x21c0c207),o(0xeada7dd6,0xcde0eb1e),o(0xf57d4f7f,0xee6ed178),o(0x6f067aa,0x72176fba),o(0xa637dc5,0xa2c898a6),o(0x113f9804,0xbef90dae),o(0x1b710b35,0x131c471b),o(0x28db77f5,0x23047d84),o(0x32caab7b,0x40c72493),o(0x3c9ebe0a,0x15c9bebc),o(0x431d67c4,0x9c100d4c),o(0x4cc5d4be,0xcb3e42b6),o(0x597f299c,0xfc657e2a),o(0x5fcb6fab,0x3ad6faec),o(0x6c44198c,0x4a475817)],s=[],l=0;l<80;l++)s[l]=o();var c=r.SHA512=e.extend({_doReset:function(){this._hash=new a.init([new n.init(0x6a09e66
vendor: 7,689 bytes, line 1
17,0xf3bcc908),new n.init(0xbb67ae85,0x84caa73b),new n.init(0x3c6ef372,0xfe94f82b),new n.init(0xa54ff53a,0x5f1d36f1),new n.init(0x510e527f,0xade682d1),new n.init(0x9b05688c,0x2b3e6c1f),new n.init(0x1f83d9ab,0xfb41bd6b),new n.init(0x5be0cd19,0x137e2179)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,a=n[0],r=n[1],o=n[2],l=n[3],c=n[4],d=n[5],f=n[6],p=n[7],u=a.high,h=a.low,g=r.high,m=r.low,v=o.high,b=o.low,C=l.high,E=l.low,y=c.high,T=c.low,A=d.high,L=d.low,x=f.high,S=f.low,w=p.high,R=p.low,_=u,M=h,O=g,k=m,N=v,I=b,D=C,B=E,F=y,$=T,P=A,H=L,U=x,K=S,z=w,W=R,V=0;V<80;V++){var G,Y,j=s[V];if(V<16)Y=j.high=0|e[t+2*V],G=j.low=0|e[t+2*V+1];else{var q=s[V-15],X=q.high,Z=q.low,Q=(X>>>1|Z<<31)^(X>>>8|Z<<24)^X>>>7,J=(Z>>>1|X<<31)^(Z>>>8|X<<24)^(Z>>>7|X<<25),ee=s[V-2],et=ee.high,en=ee.low,ea=(et>>>19|en<<13)^(et<<3|en>>>29)^et>>>6,er=(en>>>19|et<<13)^(en<<3|et>>>29)^(en>>>6|et<<26),eo=s[V-7],ei=eo.high,es=eo.low,el=s[V-16],ec=el.high,ed=el.low;j.high=Y=(Y=(Y=Q+ei+ +((G=J+es)>>>0<J>>>0))+ea+ +((G+=er)>>>0<er>>>0))+ec+ +((G+=ed)>>>0<ed>>>0),j.low=G}var ef,ep=F&P^~F&U,eu=$&H^~$&K,eh=_&O^_&N^O&N,eg=M&k^M&I^k&I,em=(_>>>28|M<<4)^(_<<30|M>>>2)^(_<<25|M>>>7),ev=(M>>>28|_<<4)^(M<<30|_>>>2)^(M<<25|_>>>7),eb=(F>>>14|$<<18)^(F>>>18|$<<14)^(F<<23|$>>>9),eC=($>>>14|F<<18)^($>>>18|F<<14)^($<<23|F>>>9),eE=i[V],ey=eE.high,eT=eE.low,eA=z+eb+ +((ef=W+eC)>>>0<W>>>0),eL=ev+eg;z=U,W=K,U=P,K=H,P=F,H=$,F=D+(eA=(eA=(eA=eA+ep+ +((ef+=eu)>>>0<eu>>>0))+ey+ +((ef+=eT)>>>0<eT>>>0))+Y+ +((ef+=G)>>>0<G>>>0))+ +(($=B+ef|0)>>>0<B>>>0)|0,D=N,B=I,N=O,I=k,O=_,k=M,_=eA+(em+eh+ +(eL>>>0<ev>>>0))+ +((M=ef+eL|0)>>>0<ef>>>0)|0}h=a.low=h+M,a.high=u+_+ +(h>>>0<M>>>0),m=r.low=m+k,r.high=g+O+ +(m>>>0<k>>>0),b=o.low=b+I,o.high=v+N+ +(b>>>0<I>>>0),E=l.low=E+B,l.high=C+D+ +(E>>>0<B>>>0),T=c.low=T+$,c.high=y+F+ +(T>>>0<$>>>0),L=d.low=L+H,d.high=A+P+ +(L>>>0<H>>>0),S=f.low=S+K,f.high=x+U+ +(S>>>0<K>>>0),R=p.low=R+W,p.high=w+z+ +(R>>>0<W>>>0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;return t[a>>>5]|=128<<24-a%32,t[30+(a+128>>>10<<5)]=Math.floor(n/0x100000000),t[31+(a+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});eT.SHA512=e._createHelper(c),eT.HmacSHA512=e._createHmacHelper(c)}(),Y=(G=eT.x64).Word,j=G.WordArray,X=(q=eT.algo).SHA512,Z=q.SHA384=X.extend({_doReset:function(){this._hash=new j.init([new Y.init(0xcbbb9d5d,0xc1059ed8),new Y.init(0x629a292a,0x367cd507),new Y.init(0x9159015a,0x3070dd17),new Y.init(0x152fecd8,0xf70e5939),new Y.init(0x67332667,0xffc00b31),new Y.init(0x8eb44a87,0x68581511),new Y.init(0xdb0c2e0d,0x64f98fa7),new Y.init(0x47b5481d,0xbefa4fa4)])},_doFinalize:function(){var e=X._doFinalize.call(this);return e.sigBytes-=16,e}}),eT.SHA384=X._createHelper(Z),eT.HmacSHA384=X._createHmacHelper(Z),eT.lib.Cipher||(J=(Q=eT.lib).Base,ee=Q.WordArray,et=Q.BufferedBlockAlgorithm,(en=eT.enc).Utf8,ea=en.Base64,er=eT.algo.EvpKDF,eo=Q.Cipher=et.extend({cfg:J.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){et.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?eh:ep}return function(t){return{encrypt:function(n,a,r){return e(a).encrypt(t,n,a,r)},decrypt:function(n,a,r){return e(a).decrypt(t,n,a,r)}}}}()}),Q.StreamCipher=eo.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),ei=eT.mode={},es=Q.BlockCipherMode=J.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),el=ei.CBC=function(){var e=es.extend();function t(e,t,n){var a,r=this._iv;r?(a=r,this._iv=void 0):a=this._prevBlock;for(var o=0;o<n;o++)e[t+o]^=a[o]}return e.Encryptor=e.extend({processBlock:function(e,n){var a=this._cipher,r=a.blockSize;t.call(this,e,n,r),a.encryptBlock(e,n),this._prevBlock=e.slice(n,n+r)}}),e.Decryptor=e.extend({processBlock:function(e,n){var a=this._cipher,r=a.blockSize,o=e.slice(n,n+r);a.decryptBlock(e,n),t.call(this,e,n,r),this._prevBlock=o}}),e}(),ec=(eT.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,a=n-e.sigBytes%n,r=a<<24|a<<16|a<<8|a,o=[],i=0;i<a;i+=4)o.push(r);var s=ee.create(o,a);e.concat(s)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},Q.BlockCipher=eo.extend({cfg:eo.cfg.extend({mode:el,padding:ec}),reset:function(){eo.reset.call(this);var e,t=this.cfg,n=t.iv,a=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=a.createEncryptor:(e=a.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(a,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),ed=Q.CipherParams=J.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),ef=(eT.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?ee.create([0x53616c74,0x65645f5f]).concat(n).concat(t):t).toString(ea)},parse:function(e){var t,n=ea.parse(e),a=n.words;return 0x53616c74==a[0]&&0x65645f5f==a[1]&&(t=ee.create(a.slice(2,4)),a.splice(0,4),n.sigBytes-=16),ed.create({ciphertext:n,salt:t})}},ep=Q.SerializableCipher=J.extend({cfg:J.extend({format:ef}),encrypt:function(e,t,n,a){a=this.cfg.extend(a);var r=e.createEncryptor(n,a),o=r.finalize(t),i=r.cfg;return ed.create({ciphertext:o,key:n,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:a.format})},decrypt:function(e,t,n,a){return a=this.cfg.extend(a),t=this._parse(t,a.format),e.createDecryptor(n,a).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),eu=(eT.kdf={}).OpenSSL={execute:function(e,t,n,a){a||(a=ee.random(8));var r=er.create({keySize:t+n}).compute(e,a),o=ee.create(r.words.slice(t),4*n);return r.sigBytes=4*t,ed.create({key:r,iv:o,salt:a})}},eh=Q.PasswordBasedCipher=ep.extend({cfg:ep.cfg.extend({kdf:eu}),encrypt:function(e,t,n,a){var r=(a=this.cfg.extend(a)).kdf.execute(n,e.keySize,e.ivSize);a.iv=r.iv;var o=ep.encrypt.call(this,e,t,r.key,a);return o.mixIn(r),o},decrypt:function(e,t,n,a){a=this.cfg.extend(a),t=this._parse(t,a.format);var r=a.kdf.execute(n,e.keySize,e.ivSize,t.salt);return a.iv=r.iv,ep.decrypt.call(this,e,t,r.key,a)}})),eT.mode.CFB=function(){var e=eT.lib.BlockCipherMode.extend();function t(e,t,n,a){var r,o=this._iv;o?(r=o.slice(0),this._iv=void 0):r=this._prevBlock,a.encryptBlock(r,0);for(var i=0;i<n;i++)e[t+i]^=r[i]}return e.Encryptor=e.extend({processBlock:function(e,n){var a=this._cipher,r=a.blockSize;t.call(this,e,n,r,a),this._prevBlock=e.slice(n,n+r)}}),e.Decryptor=e.extend({processBlock:function(e,n){var a=this._cipher,r=a.blockSize,o=e.slice(n,n+r);t.call(this,e,n,r,a),this._prevBlock=o}}),e}(),eT.mode.ECB=((eg=eT.lib.BlockCipherMode.extend()).Encryptor=eg.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),eg.Decryptor=eg.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),eg),eT.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,a=4*t,r=
1a-n%a,o=n+r-1;e.clamp(),e.words[o>>>2]|=r<<24-o%4*8,e.sigBytes+=r},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},eT.pad.Iso10126={pad:function(e,t){var n=4*t,a=n-e.sigBytes%n;e.concat(eT.lib.WordArray.random(a-1)).concat(eT.lib.WordArray.create([a<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},eT.pad.Iso97971={pad:function(e,t){e.concat(eT.lib.WordArray.create([0x80000000],1)),eT.pad.ZeroPadding.pad(e,t)},unpad:function(e){eT.pad.ZeroPadding.unpad(e),e.sigBytes--}},eT.mode.OFB=(ev=(em=eT.lib.BlockCipherMode.extend()).Encryptor=em.extend({processBlock:function(e,t){var n=this._cipher,a=n.blockSize,r=this._iv,o=this._keystream;r&&(o=this._keystream=r.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var i=0;i<a;i++)e[t+i]^=o[i]}}),em.Decryptor=ev,em),eT.pad.NoPadding={pad:function(){},unpad:function(){}},eb=eT.lib.CipherParams,eC=eT.enc.Hex,eT.format.Hex={stringify:function(e){return e.ciphertext.toString(eC)},parse:function(e){var t=eC.parse(e);return eb.create({ciphertext:t})}},t=eT.lib.BlockCipher,a=eT.algo,r=[],o=[],i=[],s=[],l=[],c=[],d=[],f=[],p=[],u=[],!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,a=0;for(t=0;t<256;t++){var h=a^a<<1^a<<2^a<<3^a<<4;h=h>>>8^255&h^99,r[n]=h;var g=e[o[h]=n],m=e[g],v=e[m],b=257*e[h]^0x1010100*h;i[n]=b<<24|b>>>8,s[n]=b<<16|b>>>16,l[n]=b<<8|b>>>24,c[n]=b,b=0x1010101*v^65537*m^257*g^0x1010100*n,d[h]=b<<24|b>>>8,f[h]=b<<16|b>>>16,p[h]=b<<8|b>>>24,u[h]=b,n?(n=g^e[e[e[v^g]]],a^=e[e[a]]):n=a=1}}(),h=[0,1,2,4,8,16,32,64,128,27,54],g=a.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,a=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],i=0;i<a;i++)i<n?o[i]=t[i]:(c=o[i-1],i%n?6<n&&i%n==4&&(c=r[c>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c]):c=(r[(c=c<<8|c>>>24)>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c])^h[i/n|0]<<24,o[i]=o[i-n]^c);for(var s=this._invKeySchedule=[],l=0;l<a;l++){if(i=a-l,l%4)var c=o[i];else c=o[i-4];s[l]=l<4||i<=4?c:d[r[c>>>24]]^f[r[c>>>16&255]]^p[r[c>>>8&255]]^u[r[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,i,s,l,c,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,d,f,p,u,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,a,r,o,i,s){for(var l=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],f=e[t+2]^n[2],p=e[t+3]^n[3],u=4,h=1;h<l;h++){var g=a[c>>>24]^r[d>>>16&255]^o[f>>>8&255]^i[255&p]^n[u++],m=a[d>>>24]^r[f>>>16&255]^o[p>>>8&255]^i[255&c]^n[u++],v=a[f>>>24]^r[p>>>16&255]^o[c>>>8&255]^i[255&d]^n[u++],b=a[p>>>24]^r[c>>>16&255]^o[d>>>8&255]^i[255&f]^n[u++];c=g,d=m,f=v,p=b}g=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&p])^n[u++],m=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^n[u++],v=(s[f>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[u++],b=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^n[u++],e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=b},keySize:8}),eT.AES=t._createHelper(g),function(){var e=eT.lib,t=e.WordArray,n=e.BlockCipher,a=eT.algo,r=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],i=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],s=[{0:8421888,0x10000000:32768,0x20000000:8421378,0x30000000:2,0x40000000:512,0x50000000:8421890,0x60000000:8389122,0x70000000:8388608,0x80000000:514,0x90000000:8389120,0xa0000000:33280,0xb0000000:8421376,0xc0000000:32770,0xd0000000:8388610,0xe0000000:0,0xf0000000:33282,0x8000000:0,0x18000000:8421890,0x28000000:33282,0x38000000:32768,0x48000000:8421888,0x58000000:512,0x68000000:8421378,0x78000000:2,0x88000000:8389120,0x98000000:33280,0xa8000000:8421376,0xb8000000:8389122,0xc8000000:8388610,0xd8000000:32770,0xe8000000:514,0xf8000000:8388608,1:32768,0x10000001:2,0x20000001:8421888,0x30000001:8388608,0x40000001:8421378,0x50000001:33280,0x60000001:512,0x70000001:8389122,0x80000001:8421890,0x90000001:8421376,0xa0000001:8388610,0xb0000001:33282,0xc0000001:514,0xd0000001:8389120,0xe0000001:32770,0xf0000001:0,0x8000001:8421890,0x18000001:8421376,0x28000001:8388608,0x38000001:512,0x48000001:32768,0x58000001:8388610,0x68000001:2,0x78000001:33282,0x88000001:32770,0x98000001:8389122,0xa8000001:514,0xb8000001:8421888,0xc8000001:8389120,0xd8000001:0,0xe8000001:33280,0xf8000001:8421378},{0:0x40084010,0x1000000:16384,0x2000000:524288,0x3000000:0x40080010,0x4000000:0x40000010,0x5000000:0x40084000,0x6000000:0x40004000,0x7000000:16,0x8000000:540672,0x9000000:0x40004010,0xa000000:0x40000000,0xb000000:540688,0xc000000:524304,0xd000000:0,0xe000000:16400,0xf000000:0x40080000,8388608:0x40004000,0x1800000:540688,0x2800000:16,0x3800000:0x40004010,0x4800000:0x40084010,0x5800000:0x40000000,0x6800000:524288,0x7800000:0x40080010,0x8800000:524304,0x9800000:0,0xa800000:16384,0xb800000:0x40080000,0xc800000:0x40000010,0xd800000:540672,0xe800000:0x40084000,0xf800000:16400,0x10000000:0,0x11000000:0x40080010,0x12000000:0x40004010,0x13000000:0x40084000,0x14000000:0x40080000,0x15000000:16,0x16000000:540688,0x17000000:16384,0x18000000:16400,0x19000000:524288,0x1a000000:524304,0x1b000000:0x40000010,0x1c000000:540672,0x1d000000:0x40004000,0x1e000000:0x40000000,0x1f000000:0x40084010,0x10800000:540688,0x11800000:524288,0x12800000:0x40080000,0x13800000:16384,0x14800000:0x40004000,0x15800000:0x40084010,0x16800000:16,0x17800000:0x40000000,0x18800000:0x40084000,0x19800000:0x40000010,0x1a800000:0x40004010,0x1b800000:524304,0x1c800000:0,0x1d800000:16400,0x1e800000:0x40080010,0x1f800000:540672},{0:260,1048576:0,2097152:0x4000100,3145728:65796,4194304:65540,5242880:0x4000004,6291456:0x4010104,7340032:0x4010000,8388608:0x4000000,9437184:0x4010100,0xa00000:65792,0xb00000:0x4010004,0
vendor: 5,800 bytes, line 1
1xc00000:0x4000104,0xd00000:65536,0xe00000:4,0xf00000:256,524288:0x4010100,1572864:0x4010004,2621440:0,3670016:0x4000100,4718592:0x4000004,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,0xa80000:0x4010000,0xb80000:65796,0xc80000:65792,0xd80000:0x4000104,0xe80000:0x4010104,0xf80000:0x4000000,0x1000000:0x4010100,0x1100000:65540,0x1200000:65536,0x1300000:0x4000100,0x1400000:256,0x1500000:0x4010104,0x1600000:0x4000004,0x1700000:0,0x1800000:0x4000104,0x1900000:0x4000000,0x1a00000:4,0x1b00000:65792,0x1c00000:0x4010000,0x1d00000:260,0x1e00000:65796,0x1f00000:0x4010004,0x1080000:0x4000000,0x1180000:260,0x1280000:0x4010100,0x1380000:0,0x1480000:65540,0x1580000:0x4000100,0x1680000:256,0x1780000:0x4010004,0x1880000:65536,0x1980000:0x4010104,0x1a80000:65796,0x1b80000:0x4000004,0x1c80000:0x4000104,0x1d80000:0x4010000,0x1e80000:4,0x1f80000:65792},{0:0x80401000,65536:0x80001040,131072:4198464,196608:0x80400000,262144:0,327680:4198400,393216:0x80000040,458752:4194368,524288:0x80000000,589824:4194304,655360:64,720896:0x80001000,786432:0x80400040,851968:4160,917504:4096,983040:0x80401040,32768:0x80001040,98304:64,163840:0x80400040,229376:0x80001000,294912:4198400,360448:0x80401040,425984:0,491520:0x80400000,557056:4096,622592:0x80401000,688128:4194304,753664:4160,819200:0x80000000,884736:4194368,950272:4198464,1015808:0x80000040,1048576:4194368,1114112:4198400,1179648:0x80000040,1245184:0,1310720:4160,1376256:0x80400040,1441792:0x80401000,1507328:0x80001040,1572864:0x80401040,1638400:0x80000000,1703936:0x80400000,1769472:4198464,1835008:0x80001000,1900544:4194304,1966080:64,2031616:4096,1081344:0x80400000,1146880:0x80401040,1212416:0,1277952:4198400,1343488:4194368,1409024:0x80000000,1474560:0x80001040,1540096:64,1605632:0x80000040,1671168:4096,1736704:0x80001000,1802240:0x80400040,1867776:4160,1933312:0x80401000,1998848:4194304,2064384:4198464},{0:128,4096:0x1040000,8192:262144,12288:0x20000000,16384:0x20040080,20480:0x1000080,24576:0x21000080,28672:262272,32768:0x1000000,36864:0x20040000,40960:0x20000080,45056:0x21040080,49152:0x21040000,53248:0,57344:0x1040080,61440:0x21000000,2048:0x1040080,6144:0x21000080,10240:128,14336:0x1040000,18432:262144,22528:0x20040080,26624:0x21040000,30720:0x20000000,34816:0x20040000,38912:0,43008:0x21040080,47104:0x1000080,51200:0x20000080,55296:0x21000000,59392:0x1000000,63488:262272,65536:262144,69632:128,73728:0x20000000,77824:0x21000080,81920:0x1000080,86016:0x21040000,90112:0x20040080,94208:0x1000000,98304:0x21040080,102400:0x21000000,106496:0x1040000,110592:0x20040000,114688:262272,118784:0x20000080,122880:0,126976:0x1040080,67584:0x21000080,71680:0x1000000,75776:0x1040000,79872:0x20040080,83968:0x20000000,88064:0x1040080,92160:128,96256:0x21040000,100352:262272,104448:0x21040080,108544:0,112640:0x21000000,116736:0x1000080,120832:262144,124928:0x20040000,129024:0x20000080},{0:0x10000008,256:8192,512:0x10200000,768:0x10202008,1024:0x10002000,1280:2097152,1536:2097160,1792:0x10000000,2048:0,2304:0x10002008,2560:2105344,2816:8,3072:0x10200008,3328:2105352,3584:8200,3840:0x10202000,128:0x10200000,384:0x10202008,640:8,896:2097152,1152:2105352,1408:0x10000008,1664:0x10002000,1920:8200,2176:2097160,2432:8192,2688:0x10002008,2944:0x10200008,3200:0,3456:0x10202000,3712:2105344,3968:0x10000000,4096:0x10002000,4352:0x10200008,4608:0x10202008,4864:8200,5120:2097152,5376:0x10000000,5632:0x10000008,5888:2105344,6144:2105352,6400:0,6656:8,6912:0x10200000,7168:8192,7424:0x10002008,7680:0x10202000,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:0x10000008,5248:0x10002000,5504:8200,5760:0x10202008,6016:0x10200000,6272:0x10202000,6528:0x10200008,6784:8192,7040:2105352,7296:2097160,7552:0,7808:0x10000000,8064:0x10002008},{0:1048576,16:0x2000401,32:1024,48:1049601,64:0x2100401,80:0,96:1,112:0x2100001,128:0x2000400,144:1048577,160:0x2000001,176:0x2100400,192:0x2100000,208:1025,224:1049600,240:0x2000000,8:0x2100001,24:0,40:0x2000401,56:0x2100400,72:1048576,88:0x2000001,104:0x2000000,120:1025,136:1049601,152:0x2000400,168:0x2100000,184:1048577,200:1024,216:0x2100401,232:1,248:1049600,256:0x2000000,272:1048576,288:0x2000401,304:0x2100001,320:1048577,336:0x2000400,352:0x2100400,368:1049601,384:1025,400:0x2100401,416:1049600,432:1,448:0,464:0x2100000,480:0x2000001,496:1024,264:1049600,280:0x2000401,296:0x2100001,312:1,328:0x2000000,344:1048576,360:1025,376:0x2100400,392:0x2000001,408:0x2100000,424:0,440:0x2100401,456:1049601,472:1024,488:0x2000400,504:1048577},{0:0x8000820,1:131072,2:0x8000000,3:32,4:131104,5:0x8020820,6:0x8020800,7:2048,8:0x8020000,9:0x8000800,10:133120,11:0x8020020,12:2080,13:0,14:0x8000020,15:133152,0x80000000:2048,0x80000001:0x8020820,0x80000002:0x8000820,0x80000003:0x8000000,0x80000004:0x8020000,0x80000005:133120,0x80000006:133152,0x80000007:32,0x80000008:0x8000020,0x80000009:2080,0x8000000a:131104,0x8000000b:0x8020800,0x8000000c:0,0x8000000d:0x8020020,0x8000000e:0x8000800,0x8000000f:131072,16:133152,17:0x8020800,18:32,19:2048,20:0x8000800,21:0x8000020,22:0x8020020,23:131072,24:0,25:131104,26:0x8020000,27:0x8000820,28:0x8020820,29:133120,30:2080,31:0x8000000,0x80000010:131072,0x80000011:2048,0x80000012:0x8020020,0x80000013:133152,0x80000014:32,0x80000015:0x8020000,0x80000016:0x8000000,0x80000017:0x8000820,0x80000018:0x8020820,0x80000019:0x8000020,0x8000001a:0x8000800,0x8000001b:0,0x8000001c:133120,0x8000001d:2080,0x8000001e:131104,0x8000001f:0x8020800}],l=[0xf8000001,0x1f800000,0x1f80000,2064384,129024,8064,504,0x8000001f],c=a.DES=n.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var a=r[n]-1;t[n]=e[a>>>5]>>>31-a%32&1}for(var s=this._subKeys=[],l=0;l<16;l++){var c=s[l]=[],d=i[l];for(n=0;n<24;n++)c[n/6|0]|=t[(o[n]-1+d)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(o[n+24]-1+d)%28]<<31-n%6;for(n=1,c[0]=c[0]<<1|c[0]>>>31;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;
1c[7]=c[7]<<5|c[7]>>>27}var f=this._invSubKeys=[];for(n=0;n<16;n++)f[n]=s[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,0xf0f0f0f),d.call(this,16,65535),f.call(this,2,0x33333333),f.call(this,8,0xff00ff),d.call(this,1,0x55555555);for(var a=0;a<16;a++){for(var r=n[a],o=this._lBlock,i=this._rBlock,c=0,p=0;p<8;p++)c|=s[p][((i^r[p])&l[p])>>>0];this._lBlock=i,this._rBlock=o^c}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,d.call(this,1,0x55555555),f.call(this,8,0xff00ff),f.call(this,2,0x33333333),d.call(this,16,65535),d.call(this,4,0xf0f0f0f),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function f(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}eT.DES=n._createHelper(c);var p=a.TripleDES=n.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=e.slice(0,2),a=e.length<4?e.slice(0,2):e.slice(2,4),r=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=c.createEncryptor(t.create(n)),this._des2=c.createEncryptor(t.create(a)),this._des3=c.createEncryptor(t.create(r))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});eT.TripleDES=n._createHelper(p)}(),function(){var e=eT.lib.StreamCipher,t=eT.algo,n=t.RC4=e.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,a=this._S=[],r=0;r<256;r++)a[r]=r;r=0;for(var o=0;r<256;r++){var i=r%n,s=t[i>>>2]>>>24-i%4*8&255;o=(o+a[r]+s)%256;var l=a[r];a[r]=a[o],a[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,a=0,r=0;r<4;r++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,a|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,a}eT.RC4=e._createHelper(n);var r=t.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var e=this.cfg.drop;0<e;e--)a.call(this)}});eT.RC4Drop=e._createHelper(r)}(),eT.mode.CTRGladman=function(){var e=eT.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,a=255&e;255===t?(t=0,255===n?(n=0,255===a?a=0:++a):++n):++t,e=0+(t<<16)+(n<<8)+a}else e+=0x1000000;return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var a,r=this._cipher,o=r.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),0===((a=s)[0]=t(a[0]))&&(a[1]=t(a[1]));var l=s.slice(0);r.encryptBlock(l,0);for(var c=0;c<o;c++)e[n+c]^=l[c]}});return e.Decryptor=n,e}(),function(){var e=eT.lib.StreamCipher,t=eT.algo,n=[],a=[],r=[],o=t.Rabbit=e.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=0xff00ff&(e[n]<<8|e[n]>>>24)|0xff00ff00&(e[n]<<24|e[n]>>>8);var a=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,0xffff0000&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,0xffff0000&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,0xffff0000&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,0xffff0000&e[3]|65535&e[0]];for(n=this._b=0;n<4;n++)i.call(this);for(n=0;n<8;n++)r[n]^=a[n+4&7];if(t){var o=t.words,s=o[0],l=o[1],c=0xff00ff&(s<<8|s>>>24)|0xff00ff00&(s<<24|s>>>8),d=0xff00ff&(l<<8|l>>>24)|0xff00ff00&(l<<24|l>>>8),f=c>>>16|0xffff0000&d,p=d<<16|65535&c;for(r[0]^=c,r[1]^=f,r[2]^=d,r[3]^=p,r[4]^=c,r[5]^=f,r[6]^=d,r[7]^=p,n=0;n<4;n++)i.call(this)}},_doProcessBlock:function(e,t){var a=this._X;i.call(this),n[0]=a[0]^a[5]>>>16^a[3]<<16,n[1]=a[2]^a[7]>>>16^a[5]<<16,n[2]=a[4]^a[1]>>>16^a[7]<<16,n[3]=a[6]^a[3]>>>16^a[1]<<16;for(var r=0;r<4;r++)n[r]=0xff00ff&(n[r]<<8|n[r]>>>24)|0xff00ff00&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function i(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];for(t[0]=t[0]+0x4d34d34d+this._b|0,t[1]=t[1]+0xd34d34d3+ +(t[0]>>>0<a[0]>>>0)|0,t[2]=t[2]+0x34d34d34+ +(t[1]>>>0<a[1]>>>0)|0,t[3]=t[3]+0x4d34d34d+ +(t[2]>>>0<a[2]>>>0)|0,t[4]=t[4]+0xd34d34d3+ +(t[3]>>>0<a[3]>>>0)|0,t[5]=t[5]+0x34d34d34+ +(t[4]>>>0<a[4]>>>0)|0,t[6]=t[6]+0x4d34d34d+ +(t[5]>>>0<a[5]>>>0)|0,t[7]=t[7]+0xd34d34d3+ +(t[6]>>>0<a[6]>>>0)|0,this._b=+(t[7]>>>0<a[7]>>>0),n=0;n<8;n++){var o=e[n]+t[n],i=65535&o,s=o>>>16,l=((i*i>>>17)+i*s>>>15)+s*s,c=((0xffff0000&o)*o|0)+((65535&o)*o|0);r[n]=l^c}e[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,e[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,e[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,e[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,e[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,e[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,e[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,e[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}eT.Rabbit=e._createHelper(o)}(),eT.mode.CTR=(ey=(eE=eT.lib.BlockCipherMode.extend()).Encryptor=eE.extend({processBlock:function(e,t){var n=this._cipher,a=n.blockSize,r=this._iv,o=this._counter;r&&(o=this._counter=r.slice(0),this._iv=void 0);var i=o.slice(0);n.encryptBlock(i,0),o[a-1]=o[a-1]+1|0;for(var s=0;s<a;s++)e[t+s]^=i[s]}}),eE.Decryptor=ey,eE),function(){var e=eT.lib.StreamCipher,t=eT.algo,n=[],a=[],r=[],o=t.RabbitLegacy=e.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,0xffff0000&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,0xffff0000&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,0xffff0000&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,0xffff0000&e[3]|65535&e[0]],r=this._b=0;r<4;r++)i.call(this);for(r=0;r<8;r++)a[r]^=n[r+4&7];if(t){var o=t.words,s=o[0],l=o[1],c=0xff00ff&(s<<8|s>>>24)|0xff00ff00&(s<<24|s>>>8),d=0xff00ff&(l<<8|l>>>24)|0xff00ff00&(l<<24|l>>>8),f=c>>>16|0xffff0000&d,p=d<<16|65535&c;for(a[0]^=c,a[1]^=f,a[2]^=d,a[3]^=p,a[4]^=c,a[5]^=f,a[6]^=d,a[7]^=p,r=0;r<4;r++)i.call(this)}},_doProcessBlock:function(e,t){var a=this._X;i.call(this),n[0]=a[0]^a[5]>>>16^a[3]<<16,n[1]=a[2]^a[7]>>>16^a[5]<<16,n[2]=a[4]^a[1]>>>16^a[7]<<16,n[3]=a[6]^a[3]>>>16^a[1]<<16;for(var r=0;r<4;r++)n[r]=0xff00ff&(n[r]<<8|n[r]>>>24)|0xff00ff00&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function i(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];for(t[0]=t[0]+0x4d34d34d+this._b|0,t[1]=t[1]+0xd34d34d3+ +(t[0]>>>0<a[0]>>>0)|0,t[2]=t[2]+0x34d34d34+ +(t[1]>>>0<a[1]>>>0)|0,t[3]=t[3]+0x4d34d34d+ +(t[2]>>>0<a[2]>>>0)|0,t[4]=t[4]+0xd34d34d3+ +(t[3]>>>0<a[3]>>>0)|0,t[5]=t[5]+0x34d34d34+ +(t[4]>>>0<a[4]>>>0)|0,t[6]=t[6]+0x4d34d34d+ +(t[5]>>>0<a[5]>>>0)|0,t[7]=t[7]+0xd34d34d3+ +(t[6]>>>0<a[6]>>>0)|0,this._b=+(t[7]>>>0<a[7]>>>0),n=0;n<8;n++){var o=e[n]+t[n],i=65535&o,s=o>>>16,l=((i*i>>>17)+i*s>>>15)+s*s,c=((0xffff0000&o)*o|0)+((65535&o)*o|0);r[n]=l^c}e[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,e[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,e[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,e[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,e[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,e[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,e[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,e[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}eT.RabbitLegacy=e._createHelper(o)}(),eT.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;0<=n;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},{init:function(){},cryptoJS:eT}},Object.assign(t.DEFAULTS,{fontFamily:{"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif,-webkit-standard":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},fontFamilySelection:!1,fontFamilyDefaultSelection:"Font Family"}),t.PLUGINS.fontFamily=function(e){var t=e.$;function n(e){var n=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'| /g,"").split(",");return t(this).grep(n,function(e){return 0<e.length})}
1function a(){var a=n(t(e.selection.element()).css("font-family")),r=[];for(var o in e.opts.fontFamily)if(e.opts.fontFamily.hasOwnProperty(o)){var i=function(e,t){for(var n=0;n<e.length;n++)for(var a=0;a<t.length;a++)if(e[n].toLowerCase()===t[a].toLowerCase())return[n,a];return null}(a,n(o));i&&r.push([o,i])}return 0===r.length?null:(r.sort(function(e,t){var n=e[1][0]-t[1][0];return 0===n?e[1][1]-t[1][1]:n}),r[0][0])}return{apply:function(t){e.format.applyStyle("font-family",t)},refreshOnShow:function(e,t){t.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),t.find('.fr-command[data-param1="'.concat(a(),'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function(n){if(e.opts.fontFamilySelection){var r=t(e.selection.element()).css("font-family").replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,"").replace(/"|'|/g,"").split(",");n.find("> span").text(e.opts.fontFamily[a()]||r[0]||e.language.translate(e.opts.fontFamilyDefaultSelection))}}}},t.RegisterCommand("fontFamily",{type:"dropdown",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.fontFamily;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="fontFamily" data-param1="'.concat(n,'" \n        style="font-family: ').concat(n,'" title="').concat(t[n],'">').concat(t[n],"</a></li>"));return e+"</ul>"},title:"Font Family",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:"fontFamily"}),t.DefineIcon("fontFamily",{NAME:"font",SVG_KEY:"fontFamily"}),Object.assign(t.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12",fontSizeUnit:"px"}),t.PLUGINS.fontSize=function(e){var t=e.$;return{apply:function(t){e.format.applyStyle("font-size",t)},refreshOnShow:function(n,a){var r=t(e.selection.element()).css("font-size");"pt"===e.opts.fontSizeUnit&&(r="".concat(Math.round(72*parseFloat(r,10)/96),"pt")),a.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),a.find('.fr-command[data-param1="'.concat(r,'"]')).addClass("fr-active").attr("aria-selected",!0)},refresh:function(n){if(e.opts.fontSizeSelection){var a=e.helpers.getPX(t(e.selection.element()).css("font-size"));"pt"===e.opts.fontSizeUnit&&(a="".concat(Math.round(72*parseFloat(a,10)/96),"pt")),n.find("> span").text(a)}}}},t.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(e){return e.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(e){return e.opts.fontSizeDefaultSelection},html:function(){for(var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.fontSize,n=0;n<t.length;n++){var a=t[n];e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="fontSize" data-param1="'.concat(a).concat(this.opts.fontSizeUnit,'" title="').concat(a,'">').concat(a,"</a></li>")}return e+"</ul>"},callback:function(e,t){this.fontSize.apply(t)},refresh:function(e){this.fontSize.refresh(e)},refreshOnShow:function(e,t){this.fontSize.refreshOnShow(e,t)},plugin:"fontSize"}),t.DefineIcon("fontSize",{NAME:"text-height",SVG_KEY:"fontSize"}),Object.assign(t.POPUP_TEMPLATES,{"forms.edit":"[_BUTTONS_]","forms.update":"[_BUTTONS_][_TEXT_LAYER_]"}),Object.assign(t.DEFAULTS,{formEditButtons:["inputStyle","inputEdit"],formStyles:{"fr-rounded":"Rounded","fr-large":"Large"},formMultipleStyles:!0,formUpdateButtons:["inputBack","|"]}),t.PLUGINS.forms=function(e){var t,n=e.$;function a(t){e.selection.clear(),n(this).data("mousedown",!0)}function r(e){n(this).data("mousedown")&&(e.stopPropagation(),n(this).removeData("mousedown"),l(t=this)),e.preventDefault()}function o(){e.$el.find("input, textarea, button").removeData("mousedown")}function i(){n(this).removeData("mousedown")}function s(){return t||null}function l(a){if(-1==["checkbox","radio"].indexOf(a.type)){var r,o,i,c=e.popups.get("forms.edit");c||(r="",0<e.opts.formEditButtons.length&&(r='<div class="fr-buttons">'.concat(e.button.buildList(e.opts.formEditButtons),"</div>")),o={buttons:r},i=e.popups.create("forms.edit",o),e.$wp&&e.events.$on(e.$wp,"scroll.link-edit",function(){s()&&e.popups.isVisible("forms.edit")&&l(s())}),c=i);var d=n(t=a);e.popups.refresh("forms.edit"),e.popups.setContainer("forms.edit",e.$sc);var f=d.offset().left+d.outerWidth()/2,p=d.offset().top+d.outerHeight();e.popups.show("forms.edit",f,p,d.outerHeight())}}function c(){var t=e.popups.get("forms.update"),a=s();if(a){var r=n(a);r.is("button")?t.find('input[type="text"][name="text"]').val(r.text()):r.is("input[type=button]")||r.is("input[type=submit]")||r.is("input[type=reset]")?t.find('input[type="text"][name="text"]').val(r.val()):t.find('input[type="text"][name="text"]').val(r.attr("placeholder"))}t.find('input[type="text"][name="text"]').trigger("change")}function d(){t=null}function f(t){if(t)return e.popups.onRefresh("forms.update",c),e.popups.onHide("forms.update",d),!0;var n="";1<=e.opts.formUpdateButtons.length&&(n='<div class="fr-buttons">'.concat(e.button.buildList(e.opts.formUpdateButtons),"</div>"));var a=0,r={buttons:n,text_layer:'<div class="fr-forms-text-layer fr-layer fr-active"> \n    <div class="fr-input-line">
1<input name="text" type="text" placeholder="Text" tabIndex=" '.concat(++a,' "></div>\n    <div class="fr-action-buttons"><button class="fr-command fr-submit" data-cmd="updateInput" href="#" tabIndex="').concat(2,'" type="button">').concat(e.language.translate("Update"),"</button></div></div>")};return e.popups.create("forms.update",r)}return{_init:function(){e.events.$on(e.$el,e._mousedown,"input, textarea, button",a),e.events.$on(e.$el,e._mouseup,"input, textarea, button",r),e.events.$on(e.$el,"touchmove","input, textarea, button",i),e.events.$on(e.$el,e._mouseup,o),e.events.$on(e.$win,e._mouseup,o),f(!0),e.events.$on(e.$el,"submit","form",function(e){return e.preventDefault(),!1})},updateInput:function(){var t=e.popups.get("forms.update"),a=s();if(a){var r=n(a),o=t.find('input[type="text"][name="text"]').val()||"";r.is("button")?o.length?r.text(o):r.text("​"):-1!=["button","submit","reset"].indexOf(a.type)?r.attr("value",o):r.attr("placeholder",o),e.popups.hide("forms.update"),l(a)}},getInput:s,applyStyle:function(t,a,r){void 0===a&&(a=e.opts.formStyles),void 0===r&&(r=e.opts.formMultipleStyles);var o=s();if(!o)return!1;if(!r){var i=Object.keys(a);i.splice(i.indexOf(t),1),n(o).removeClass(i.join(" "))}n(o).toggleClass(t)},showUpdatePopup:function(){var t=s();if(t){var a=n(t),r=e.popups.get("forms.update");r||(r=f()),e.popups.isVisible("forms.update")||e.popups.refresh("forms.update"),e.popups.setContainer("forms.update",e.$sc);var o=a.offset().left+a.outerWidth()/2,i=a.offset().top+a.outerHeight();e.popups.show("forms.update",o,i,a.outerHeight())}},showEditPopup:l,back:function(){e.events.disableBlur(),e.selection.restore(),e.events.enableBlur();var t=s();t&&e.$wp&&("BUTTON"===t.tagName&&e.selection.restore(),l(t))}}},t.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),t.DefineIcon("inputStyle",{NAME:"magic",SVG_KEY:"inlineStyle"}),t.RegisterCommand("inputStyle",{title:"Style",type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list">',t=this.opts.formStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li><a class="fr-command" tabIndex="-1" data-cmd="inputStyle" data-param1="'.concat(n,'">').concat(this.language.translate(t[n]),"</a></li>"));return e+"</ul>"},callback:function(e,t){var n=this.forms.getInput();n&&(this.forms.applyStyle(t),this.forms.showEditPopup(n))},refreshOnShow:function(e,t){var n=this.$,a=this.forms.getInput();if(a){var r=n(a);t.find(".fr-command").each(function(){var e=n(this).data("param1");n(this).toggleClass("fr-active",r.hasClass(e))})}}}),t.DefineIcon("inputEdit",{NAME:"edit",SVG_KEY:"edit"}),t.RegisterCommand("inputEdit",{title:"Edit Button",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),t.DefineIcon("inputBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("inputBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),t.RegisterCommand("updateInput",{undo:!1,focus:!1,title:"Update",callback:function(){this.forms.updateInput()}}),t.PLUGINS.fullscreen=function(e){var t,n,a,r,o=e.$,i=function(){return e.$box.hasClass("fr-fullscreen")};function s(){if(e.helpers.isIOS()&&e.core.hasFocus())return e.$el.blur(),setTimeout(c,250),!1;t=e.helpers.scrollTop(),e.$box.toggleClass("fr-fullscreen"),o("body").first().toggleClass("fr-fullscreen"),e.helpers.isMobile()&&(e.$tb.data("parent",e.$tb.parent()),e.$box.prepend(e.$tb),e.$tb.data("sticky-dummy")&&e.$tb.after(e.$tb.data("sticky-dummy"))),n=e.opts.height,a=e.opts.heightMax,r=e.opts.z_index,e.opts.height=e.o_win.innerHeight-(e.opts.toolbarInline?0:e.$tb.outerHeight()+(e.$second_tb?e.$second_tb.outerHeight():0)),e.opts.zIndex=0x7ffffff9,e.opts.heightMax=null,e.size.refresh(),e.opts.toolbarInline&&e.toolbar.showInline();for(var i=e.$box.parent();!i.first().is("body");)i.addClass("fr-fullscreen-wrapper"),i=i.parent();e.opts.toolbarContainer&&e.$box.prepend(e.$tb),e.events.trigger("charCounter.update"),e.events.trigger("codeView.update"),e.$win.trigger("scroll")}function l(){if(e.helpers.isIOS()&&e.core.hasFocus())return e.$el.blur(),setTimeout(c,250),!1;e.$box.toggleClass("fr-fullscreen"),o("body").first().toggleClass("fr-fullscreen"),e.$tb.data("parent")&&e.$tb.data("parent").prepend(e.$tb),e.$tb.data("sticky-dummy")&&e.$tb.after(e.$tb.data("sticky-dummy")),e.opts.height=n,e.opts.heightMax=a,e.opts.zIndex=r,e.
1size.refresh(),o(e.o_win).scrollTop(t),e.opts.toolbarInline&&e.toolbar.showInline(),e.events.trigger("charCounter.update"),e.opts.toolbarSticky&&e.opts.toolbarStickyOffset&&(e.opts.toolbarBottom?e.$tb.css("bottom",e.opts.toolbarStickyOffset).data("bottom",e.opts.toolbarStickyOffset):e.$tb.css("top",e.opts.toolbarStickyOffset).data("top",e.opts.toolbarStickyOffset));for(var i=e.$box.parent();!i.first().is("body");)i.removeClass("fr-fullscreen-wrapper"),i=i.parent();e.opts.toolbarContainer&&o(e.opts.toolbarContainer).append(e.$tb),o(e.o_win).trigger("scroll"),e.events.trigger("codeView.update")}function c(){i()?l():s(),d(e.$tb.find('.fr-command[data-cmd="fullscreen"]'));var t=e.$tb.find('.fr-command[data-cmd="moreText"]'),n=e.$tb.find('.fr-command[data-cmd="moreParagraph"]'),a=e.$tb.find('.fr-command[data-cmd="moreRich"]'),r=e.$tb.find('.fr-command[data-cmd="moreMisc"]');t.length&&e.refresh.moreText(t),n.length&&e.refresh.moreParagraph(n),a.length&&e.refresh.moreRich(a),r.length&&e.refresh.moreMisc(r)}function d(t){var n=i();t.toggleClass("fr-active",n).attr("aria-pressed",n),t.find("> *").not(".fr-sr-only").replaceWith(n?e.icon.create("fullscreenCompress"):e.icon.create("fullscreen"))}return{_init:function(){if(!e.$wp)return!1;e.events.$on(o(e.o_win),"resize",function(){i()&&(l(),s())}),e.events.on("toolbar.hide",function(){if(i()&&e.helpers.isMobile())return!1}),e.events.on("position.refresh",function(){if(e.helpers.isIOS())return!i()}),e.events.on("destroy",function(){i()&&l()},!0)},toggle:c,refresh:d,isActive:i}},t.RegisterCommand("fullscreen",{title:"Fullscreen",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:"fullscreen"}),t.DefineIcon("fullscreen",{NAME:"expand",SVG_KEY:"fullscreen"}),t.DefineIcon("fullscreenCompress",{NAME:"compress",SVG_KEY:"exitFullscreen"}),Object.assign(t.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),t.PLUGINS.help=function(e){var t,n=e.$,a="help";return{_init:function(){},show:function(){if(!t){var r="<h4>".concat(e.language.translate("Shortcuts"),"</h4>"),o=function(){for(var t='<div class="fr-help-modal">',n=0;n<e.opts.helpSets.length;n++){var a=e.opts.helpSets[n],r="<table>";r+="<thead><tr><th>".concat(e.language.translate(a.title),"</th></tr></thead>"),r+="<tbody>";for(var o=0;o<a.commands.length;o++){var i=a.commands[o];r+="<tr>",r+="<td>".concat(e.language.translate(i.desc),"</td>"),r+="<td>".concat(i.val.replace("OSkey",e.helpers.isMac()?"&#8984;":"Ctrl+"),"</td>"),r+="</tr>"}t+=r+="</tbody></table>"}
vendor: 6,995 bytes, line 1
1return t+"</div>"}();t=e.modals.create(a,r,o).$modal,e.events.$on(n(e.o_win),"resize",function(){e.modals.resize(a)})}e.modals.show(a),e.modals.resize(a)},hide:function(){e.modals.hide(a)}}},t.DefineIcon("help",{NAME:"question",SVG_KEY:"help"}),t.RegisterShortcut(t.KEYCODE.SLASH,"help",null,"/"),t.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1}),Object.assign(t.POPUP_TEMPLATES,{"image.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]","image.edit":"[_BUTTONS_]","image.alt":"[_BUTTONS_][_ALT_LAYER_]","image.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(t.DEFAULTS,{imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageAlign","imageCaption","imageRemove","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageStyle","imageAlt","imageSize"],imageAltButtons:["imageBack","|"],imageSizeButtons:["imageBack","|"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:"https://cors-anywhere.froala.com",imageUploadRemoteUrls:!0,imageUploadParam:"file",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:"POST",imageMaxSize:0xa00000,imageAllowedTypes:["jpeg","jpg","png","gif","webp"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:"center",imageDefaultDisplay:"block",imageSplitHTML:!1,imageStyles:{"fr-rounded":"Rounded","fr-bordered":"Bordered","fr-shadow":"Shadow"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),t.PLUGINS.image=function(n){var a,r,o,i,s,l,c=n.$,d=!1,f={};function p(){var e=n.popups.get("image.insert").find(".fr-image-by-url-layer input");e.val(""),a&&e.val(a.attr("src")),e.trigger("change")}function u(){var e=n.popups.get("image.edit");if(e||(e=L()),e){var t=ef();ep()&&(t=t.find(".fr-img-wrap")),n.popups.setContainer("image.edit",n.$sc),n.popups.refresh("image.edit");var r=t.offset().left+t.outerWidth()/2,o=t.offset().top+t.outerHeight();a.hasClass("fr-uploading")?x():n.popups.show("image.edit",r,o,t.outerHeight(),!0)}}function h(){S()}function g(){for(var e,t="IMG"==n.el.tagName?[n.el]:n.el.querySelectorAll("img"),a=0;a<t.length;a++){var r=c(t[a]);!n.opts.htmlUntouched&&n.opts.useClasses?((n.opts.imageDefaultAlign||n.opts.imageDefaultDisplay)&&(0<(e=r).parents(".fr-img-caption").length&&(e=e.parents(".fr-img-caption").first()),e.hasClass("fr-dii")||e.hasClass("fr-dib")||(e.addClass("fr-fi".concat(es(e)[0])),e.addClass("fr-di".concat(el(e)[0])),e.css("margin",""),e.css("float",""),e.css("display",""),e.css("z-index",""),e.css("position",""),e.css("overflow",""),e.css("vertical-align",""))),n.opts.imageTextNear||(0<r.parents(".fr-img-caption").length?r.parents(".fr-img-caption").first().removeClass("fr-dii").addClass("fr-dib"):r.removeClass("fr-dii").addClass("fr-dib"))):n.opts.htmlUntouched||n.opts.useClasses||(n.opts.imageDefaultAlign||n.opts.imageDefaultDisplay)&&function(e){0<e.parents(".fr-img-caption").length&&(e=e.parents(".fr-img-caption").first());var t=e.hasClass("fr-dib")?"block":e.hasClass("fr-dii")?"inline":null,n=e.hasClass("fr-fil")?"left":e.hasClass("fr-fir")?"right":es(e);ei(e,t,n),e.removeClass("fr-dib fr-dii fr-fir fr-fil")}(r),n.opts.iframe&&r.on("load",n.size.syncIframe)}}function m(e){void 0===e&&(e=!0);var t,a=Array.prototype.slice.call(n.el.querySelectorAll("img")),r=[];for(t=0;t<a.length;t++)if(r.push(a[t].getAttribute("src")),c(a[t]).toggleClass("fr-draggable",n.opts.imageMove),""===a[t].getAttribute("class")&&a[t].removeAttribute("class"),""===a[t].getAttribute("style")&&a[t].removeAttribute("style"),a[t].parentNode&&a[t].parentNode.parentNode&&n.node.hasClass(a[t].parentNode.parentNode,"fr-img-caption")){var o=a[t].parentNode.parentNode;n.browser.mozilla||o.setAttribute("contenteditable",!1),o.setAttribute("draggable",!1),o.classList.add("fr-draggable");var i=a[t].nextSibling;i&&!n.browser.mozilla&&i.setAttribute("contenteditable",!0)}if(s)for(t=0;t<s.length;t++)0>r.indexOf(s[t].getAttribute("src"))&&n.events.trigger("image.removed",[c(s[t])]);if(s&&e){var l=[];for(t=0;t<s.length;t++)l.push(s[t].getAttribute("src"));for(t=0;t<a.length;t++)0>l.indexOf(a[t].getAttribute("src"))&&n.events.trigger("image.loaded",[c(a[t])])}s=a}function v(){if(r||function(){var e;if(n.shared.$image_resizer?(r=n.shared.$image_resizer,i=n.shared.$img_overlay,n.events.on("destroy",function(){c("body").first().append(r.removeClass("fr-active"))},!0)):(n.shared.$image_resizer=c(document.createElement("div")).attr("class","fr-image-resizer"),r=n.shared.$image_resizer,n.events.$on(r,"mousedown",function(e){e.stopPropagation()},!0),n.opts.imageResize&&(r.append(b("nw")+b("ne")+b("sw")+b("se")),n.shared.$img_overlay=c(document.createElement("div")).attr("class","fr-image-overlay"),i=n.shared.$img_overlay,c(e=r.get(0).ownerDocument).find("body").first().append(i))),n.events.on("shared.destroy",function(){r.html("").removeData().remove(),r=null,n.opts.imageResize&&(i.remove(),i=null)},!0),n.helpers.isMobile()||n.events.$on(c(n.o_win),"resize",function(){a&&!a.hasClass("fr-uploading")?en(!0):a&&(v(),ec(),x(!1))}),n.opts.imageResize){e=r.get(0).ownerDocument,n.events.$on(r,n._mousedown,".fr-handler",E),n.events.$on(c(e),n._mousemove,y),n.events.$on(c(e.defaultView||e.parentWindow),n._mouseup,T),n.events.$on(i,"mouseleave",T);var o=1,s=null,l=0;n.events.on("keydown",function(e){if(a){var r=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,i=e.which;(i!==s||200<e.timeStamp-l)&&(o=1),(i==t.KEYCODE.EQUALS||n.browser.mozilla&&i==t.KEYCODE.FF_EQUALS)&&r&&!e.altKey?o=Y.call(this,e,1,1,o):(i==t.KEYCODE.HYPHEN||n.browser.mozilla&&i==t.KEYCODE.FF_HYPHEN)&&r&&!e.altKey?o=Y.call(this,e,2,-1,o):n.keys.ctrlKey(e)||i!=t.KEYCODE.ENTER||(a.before("<br>"),_(a)),s=i,l=e.timeStamp}},!0),n.events.on("keyup",function(){o=1})}}(),!a)return!1;var e=n.$wp||n.$sc;e.append(r),r.data("instance",n);var o=e.scrollTop()-("static"!=e.css("position")?e.offset().top:0),s=e.scrollLeft()-("static"!=e.css("position")?e.offset().left:0);s-=n.helpers.getPX(e.css("border-left-width")),o-=n.helpers.getPX(e.css("border-top-width")),n.$el.is("img")&&n.$sc.is("body")&&(s=o=0);var l=ef();ep()&&(l=l.find(".fr-img-wrap"));var d=0,f=0;n.opts.iframe&&(d=n.helpers.getPX(n.$wp.find(".fr-iframe").css("padding-top")),f=n.helpers.getPX(n.$wp.find(".fr-iframe").css("padding-left"))),r.css("top",(n.opts.iframe?l.offset().top+d:l.offset().top+o)-1).css("left",(n.opts.iframe?l.offset().left+f:l.offset().left+s)-1).css("width",l.get(0).getBoundingClientRect().width).css("height",l.get(0).getBoundingClientRect().height).addClass("fr-active")}function b(e){return'<div class="fr-handler fr-h'.concat(e,'"></div>')}function C(e){ep()?a.parents(".fr-img-caption").css("width",e):a.css("width",e)}function E(e){if(!n.core.sameInstance(r))return!0;
vendor: 4,836 bytes, line 1
1if(e.preventDefault(),e.stopPropagation(),n.$el.find("img.fr-error").left)return!1;n.undo.canDo()||n.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if("mousedown"==e.type){var s=n.$oel.get(0).ownerDocument,l=s.defaultView||s.parentWindow,d=!1;try{d=l.location!=l.parent.location&&!(l.$&&l.$.FE)}catch(e){}d&&l.frameElement&&(t+=n.helpers.getPX(c(l.frameElement).offset().left)+l.frameElement.clientLeft)}(o=c(this)).data("start-x",t),o.data("start-width",a.width()),o.data("start-height",a.height());var f=a.width();n.opts.imageResizeWithPercent&&(f=(f/c(a.parentsUntil(n.$el,n.html.blockTagsQuery()).get(0)||n.el).outerWidth()*100).toFixed(2)+"%"),C(f),i.show(),n.popups.hideAll(),eo()}function y(e){if(!n.core.sameInstance(r))return!0;if(o&&a){if(e.preventDefault(),n.$el.find("img.fr-error").left)return!1;var t,i=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!i)return!1;var s=i-o.data("start-x"),l=o.data("start-width");if((o.hasClass("fr-hnw")||o.hasClass("fr-hsw"))&&(s=0-s),n.opts.imageResizeWithPercent){var d=a.parentsUntil(n.$el,n.html.blockTagsQuery()).get(0)||n.el;l=((l+s)/c(d).outerWidth()*100).toFixed(2),n.opts.imageRoundPercent&&(l=Math.round(l)),C("".concat(l,"%")),(t=ep()?(n.helpers.getPX(a.parents(".fr-img-caption").css("width"))/c(d).outerWidth()*100).toFixed(2):(n.helpers.getPX(a.css("width"))/c(d).outerWidth()*100).toFixed(2))===l||n.opts.imageRoundPercent||C("".concat(t,"%")),a.css("height","").removeAttr("height")}else l+s>=n.opts.imageMinWidth&&(C(l+s),t=ep()?n.helpers.getPX(a.parents(".fr-img-caption").css("width")):n.helpers.getPX(a.css("width"))),t!==l+s&&C(t),((a.attr("style")||"").match(/(^height:)|(; *height:)/)||a.attr("height"))&&(a.css("height",o.data("start-height")*a.width()/o.data("start-width")),a.removeAttr("height"));v(),n.events.trigger("image.resize",[a])}}function T(e){if(!n.core.sameInstance(r))return!0;if(o&&a){if(e&&e.stopPropagation(),n.$el.find("img.fr-error").left)return!1;o=null,i.hide(),v(),u(),n.undo.saveStep(),n.events.trigger("image.resizeEnd",[a])}else r.removeClass("fr-active")}function A(e,t,r){n.edit.on(),a&&a.addClass("fr-error"),f[e]?R(n.language.translate(f[e])):R(n.language.translate("Something went wrong. Please try again.")),!a&&r&&j(r),n.events.trigger("image.error",[{code:e,message:f[e]},t,r])}function L(e){if(e)return n.$wp&&n.events.$on(n.$wp,"scroll.image-edit",function(){a&&n.popups.isVisible("image.edit")&&(n.events.disableBlur(),u())}),!0;var t="";if(0<n.opts.imageEditButtons.length){var r={buttons:t+='<div class="fr-buttons"> \n        '.concat(n.button.buildList(n.opts.imageEditButtons),"\n        </div>")};return n.popups.create("image.edit",r)}return!1}function x(e){var t=n.popups.get("image.insert");if(t||(t=H()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),a){var r=ef();n.popups.setContainer("image.insert",n.$sc);var o=r.offset().left,i=r.offset().top+r.height();n.popups.show("image.insert",o,i,r.outerHeight())}void 0===e&&w(n.language.translate("Uploading"),0)}function S(e){var t=n.popups.get("image.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-image-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||n.$el.find("img.fr-error").length)){if(n.events.focus(),n.$el.find("img.fr-error").length&&(n.$el.find("img.fr-error").remove(),n.undo.saveStep(),n.undo.run(),n.undo.dropRedo()),!n.$wp&&a){var r=a;en(!0),n.selection.setAfter(r.get(0)),n.selection.restore()}n.popups.hide("image.insert")}}function w(e,t){var a=n.popups.get("image.insert");if(a){var r=a.find(".fr-image-progress-bar-layer");r.find("h3").text(e+(t?" ".concat(t,"%"):"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(t,"%"))):r.find("div").addClass("fr-indeterminate")}}function R(e){x();var t=n.popups.get("image.insert").find(".fr-image-progress-bar-layer");t.addClass("fr-error");var a=t.find("h3");a.text(e),n.events.disableBlur(),a.focus()}function _(e){et.call(e.get(0))}function M(){var e=c(this);n.popups.hide("image.insert"),e.removeClass("fr-uploading"),e.next().is("br")&&e.next().remove(),_(e),n.events.trigger("image.loaded",[e])}function O(e,t,a,r,o){r&&"string"==typeof r&&(r=n.$(r)),n.edit.off(),w(n.language.translate("Loading image")),t&&(e=n.helpers.sanitizeURL(e));var i=new Image;i.onload=function(){var t,i;if(r){n.undo.canDo()||r.hasClass("fr-uploading")||n.undo.saveStep();var s=r.data("fr-old-src");r.data("fr-image-pasted")&&(s=null),n.$wp?((t=r.clone().removeData("fr-old-src").removeClass("fr-uploading").removeAttr("data-fr-image-pasted")).off("load"),s&&r.attr("src",s),r.replaceWith(t)):t=r;
1for(var l=t.get(0).attributes,c=0;c<l.length;c++){var d=l[c];0===d.nodeName.indexOf("data-")&&t.removeAttr(d.nodeName)}if(void 0!==a)for(i in a)a.hasOwnProperty(i)&&"link"!=i&&t.attr("data-".concat(i),a[i]);t.on("load",M),t.attr("src",e),n.edit.on(),m(!1),n.undo.saveStep(),n.events.disableBlur(),n.$el.blur(),n.events.trigger(s?"image.replaced":"image.inserted",[t,o])}else t=D(e,a,M),m(!1),n.undo.saveStep(),n.events.disableBlur(),n.$el.blur(),n.events.trigger("image.inserted",[t,o])},i.onerror=function(){A(1)},x(n.language.translate("Loading image")),i.src=e}function k(e,t,a){w(n.language.translate("Loading image"));var r,o=this.status,i=this.response,s=this.responseXML,l=this.responseText;try{if(n.opts.imageUploadToS3||n.opts.imageUploadToAzure)if(201==o){if(n.opts.imageUploadToAzure){if(!1===n.events.trigger("image.uploadedToAzure",[this.responseURL,a,i],!0))return n.edit.on(),!1;r=t}else r=function(e){try{var t=c(e).find("Location").text(),a=c(e).find("Key").text();return!1===n.events.trigger("image.uploadedToS3",[t,a,e],!0)?(n.edit.on(),!1):t}catch(t){return A(4,e),!1}}(s);r&&O(r,!1,[],e,i||s)}else A(4,i||s,e);else if(200<=o&&o<300){var d=function(e){try{if(!1===n.events.trigger("image.uploaded",[e],!0))return n.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(A(2,e),!1)}catch(t){return A(4,e),!1}}(l);d&&O(d.link,!1,d,e,i||l)}else A(3,i||l,e)}catch(t){A(4,i||l,e)}}function N(){A(4,this.response||this.responseText||this.responseXML)}function I(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;w(n.language.translate("Uploading"),t)}}function D(e,t,a){var r,o=c(document.createElement("img")).attr("src",e);if(t&&void 0!==t)for(r in t)t.hasOwnProperty(r)&&"link"!=r&&(" data-".concat(r,'="').concat(t[r],'"'),o.attr("data-".concat(r),t[r]));var i=n.opts.imageDefaultWidth;i&&"auto"!=i&&(i=n.opts.imageResizeWithPercent?"100%":"".concat(i,"px")),o.attr("style",i?"width: ".concat(i,";"):""),ei(o,n.opts.imageDefaultDisplay,n.opts.imageDefaultAlign),o.on("load",a),o.on("error",a),n.edit.on(),n.events.focus(!0),n.selection.restore(),n.undo.saveStep(),n.opts.imageSplitHTML?n.markers.split():n.markers.insert(),n.html.wrap();var s=n.$el.find(".fr-marker");return s.length?(s.parent().is("hr")&&s.parent().after(s),n.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent()),s.replaceWith(o)):n.$el.append(o),n.selection.clear(),o}function B(){n.edit.on(),S(!0)}function F(e,t){if(void 0!==e&&0<e.length){if(!1===n.events.trigger("image.beforeUpload",[e,t]))return!1;var r,o=e[0];if(!(null!==n.opts.imageUploadURL&&"https://i.froala.com/upload"!=n.opts.imageUploadURL||n.opts.imageUploadToS3||n.opts.imageUploadToAzure))return i=t||a,(s=new FileReader).onload=function(){var e=s.result;if(0>s.result.indexOf("svg+xml")){for(var t=atob(s.result.split(",")[1]),a=[],r=0;r<t.length;r++)a.push(t.charCodeAt(r));e=window.URL.createObjectURL(new Blob([new Uint8Array(a)],{type:o.type})),i&&i.data("fr-old-src",i.attr("src")),n.image.insert(e,!1,null,i)}},x(),s.readAsDataURL(o),!1;if(o.name||(o.name=(new Date).getTime()+"."+(o.type||"image/jpeg").replace(/image\//g,"")),o.size>n.opts.imageMaxSize)return A(5),!1;if(0>n.opts.imageAllowedTypes.indexOf(o.type.replace(/image\//g,"")))return A(6),!1;if(n.drag_support.formdata&&(r=n.drag_support.formdata?new FormData:null),r){if(!1!==n.opts.imageUploadToS3)for(l in r.append("key",n.opts.imageUploadToS3.keyStart+(new Date).getTime()+"-"+(o.name||"untitled")),r.append("success_action_status","201"),r.append("X-Requested-With","xhr"),r.append("Content-Type",o.type),n.opts.imageUploadToS3.params)n.opts.imageUploadToS3.params.hasOwnProperty(l)&&r.append(l,n.opts.imageUploadToS3.params[l]);for(l in n.opts.imageUploadParams)n.opts.imageUploadParams.hasOwnProperty(l)&&r.append(l,n.opts.imageUploadParams[l]);r.append(n.opts.imageUploadParam,o,o.name);var i,s,l,d,f,p=n.opts.imageUploadURL,u=n.opts.imageUploadMethod;n.opts.imageUploadToS3&&(p=n.opts.imageUploadToS3.uploadURL?n.opts.imageUploadToS3.uploadURL:"https://".concat(n.opts.imageUploadToS3.region,".amazonaws.com/").concat(n.opts.imageUploadToS3.bucket)),n.opts.imageUploadToAzure&&(d=p=n.opts.imageUploadToAzure.uploadURL?"".concat(n.opts.imageUploadToAzure.uploadURL,"/").concat(o.name):encodeURI("https://".concat(n.opts.imageUploadToAzure.account,".blob.core.windows.net/").concat(n.opts.imageUploadToAzure.container,"/").concat(o.name)),n.opts.imageUploadToAzure.SASToken&&(p+=n.opts.imageUploadToAzure.SASToken),u="PUT");var h=n.core.getXHR(p,u);if(n.opts.imageUploadToAzure){var g=(new Date).toUTCString();if(!n.opts.imageUploadToAzure.SASToken&&n.opts.imageUploadToAzure.accessKey){var m=n.opts.imageUploadToAzure.account,b=n.opts.imageUploadToAzure.container;if(n.opts.imageUploadToAzure.uploadURL){var C=n.opts.imageUploadToAzure.uploadURL.split("/");b=C.pop(),m=C.pop().split(".")[0]}var E="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(g,"\nx-ms-version:2019-07-07"),y=encodeURI("/"+m+"/"+b+"/"+o.name),T=u+"\n\n\n"+o.size+"\n\n"+o.type+"\n\n\n\n\n\n\n"+E+"\n"+y,L=n.cryptoJSPlugin.cryptoJS.HmacSHA256(T,n.cryptoJSPlugin.cryptoJS.enc.Base64.parse(n.opts.imageUploadToAzure.accessKey)).toString(n.cryptoJSPlugin.cryptoJS.enc.Base64),S="SharedKey "+m+":"+L;f=L,h.setRequestHeader("Authorization",S)}for(l in h.setRequestHeader("x-ms-version","2019-07-07"),h.setRequestHeader("x-ms-date",g),h.setRequestHeader("Content-Type",o.type),h.setRequestHeader("x-ms-blob-type","BlockBlob"),n.opts.imageUploadParams)n.opts.imageUploadParams.hasOwnProperty(l)&&h.setRequestHeader(l,n.opts.imageUploadParams[l]);for(l in n.opts.imageUploadToAzure.params)n.opts.imageUploadToAzure.params.hasOwnProperty(l)&&h.setRequestHeader(l,n.opts.imageUploadToAzure.params[l])}var w=r,R=t||a,M=d,O=f;function F(){var e=c(this);e.off("load"),e.addClass("fr-uploading"),e.next().is("br")&&e.next().remove(),n.placeholder.refresh(),_(e),v(),x(),n.edit.off(),h.onload=function(){k.call(h,e,M,O)},h.onerror=N,h.upload.onprogress=I,h.onabort=B,c(e.off("abortUpload")).on("abortUpload",function(){4!=h.readyState&&(h.abort(),R?(R.attr("src",R.data("fr-old-src")),R.removeClass("fr-uploading")):e.remove(),en(!0))}),h.send(n.opts.imageUploadToAzure?o:w)}var $=new FileReader;$.onload=function(){var e=$.result;if(0>$.result.indexOf("svg+xml")){for(var t=atob($.result.split(",")[1]),a=[],r=0;r<t.length;r++)a.push(t.charCodeAt(r));e=window.URL.createObjectURL(new Blob([new Uint8Array(a)],{type:"image/jpeg"}))}R?(R.on("load",F),R.on("error",function(){F(),c(this).off("error")}),n.edit.on(),n.undo.saveStep(),R.data("fr-old-src",R.attr("src")),R.attr("src",e)):D(e,null,F)}
vendor: 12,188 bytes, line 1
1,$.readAsDataURL(o)}}}function $(e){if(e.is("img")&&0<e.parents(".fr-img-caption").length)return e.parents(".fr-img-caption")}function P(e){var a=e.originalEvent.dataTransfer;if(a&&a.files&&a.files.length){var r=a.files[0];if(r&&r.type&&-1!==r.type.indexOf("image")&&0<=n.opts.imageAllowedTypes.indexOf(r.type.replace(/image\//g,""))){if(!n.opts.imageUpload)return e.preventDefault(),e.stopPropagation(),!1;n.markers.remove(),n.markers.insertAtPoint(e.originalEvent),n.$el.find(".fr-marker").replaceWith(t.MARKERS),0===n.$el.find(".fr-marker").length&&n.selection.setAtEnd(n.el),n.popups.hideAll();var o=n.popups.get("image.insert");o||(o=H()),n.popups.setContainer("image.insert",n.$sc);var i=e.originalEvent.pageX,s=e.originalEvent.pageY;if(n.opts.iframe){var l=n.helpers.getPX(n.$wp.find(".fr-iframe").css("padding-top")),c=n.helpers.getPX(n.$wp.find(".fr-iframe").css("padding-left"));s+=n.$iframe.offset().top+l,i+=n.$iframe.offset().left+c}return n.popups.show("image.insert",i,s),x(),0<=n.opts.imageAllowedTypes.indexOf(r.type.replace(/image\//g,""))?(en(!0),F(a.files)):A(6),e.preventDefault(),e.stopPropagation(),!1}}}function H(e){if(e)return n.popups.onRefresh("image.insert",p),n.popups.onHide("image.insert",h),!0;var t,r,o,i="";n.opts.imageUpload||-1===n.opts.imageInsertButtons.indexOf("imageUpload")||n.opts.imageInsertButtons.splice(n.opts.imageInsertButtons.indexOf("imageUpload"),1);var s=n.button.buildList(n.opts.imageInsertButtons);""!==s&&(i='<div class="fr-buttons fr-tabs">'.concat(s,"</div>"));var l=n.opts.imageInsertButtons.indexOf("imageUpload"),d=n.opts.imageInsertButtons.indexOf("imageByURL"),f="";0<=l&&(r=" fr-active",0<=d&&d<l&&(r=""),f='<div class="fr-image-upload-layer'.concat(r,' fr-layer" id="fr-image-upload-layer-').concat(n.id,'"><strong>').concat(n.language.translate("Drop image"),"</strong><br>(").concat(n.language.translate("or click"),')<div class="fr-form"><input type="file" accept="image/').concat(n.opts.imageAllowedTypes.join(", image/").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-image-upload-layer-').concat(n.id,'" role="button"></div></div>'));var u="";0<=d&&(r=" fr-active",0<=l&&l<d&&(r=""),u='<div class="fr-image-by-url-layer'.concat(r,' fr-layer" id="fr-image-by-url-layer-').concat(n.id,'"><div class="fr-input-line"><input id="fr-image-by-url-layer-text-').concat(n.id,'" type="text" placeholder="http://" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageInsertByURL" tabIndex="2" role="button">').concat(n.language.translate("Insert"),"</button></div></div>"));var g={buttons:i,upload_layer:f,by_url_layer:u,progress_bar:'<div class="fr-image-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="imageDismissError" tabIndex="2" role="button">OK</button></div></div>'};return 1<=n.opts.imageInsertButtons.length&&(o=n.popups.create("image.insert",g)),n.$wp&&n.events.$on(n.$wp,"scroll",function(){a&&n.popups.isVisible("image.insert")&&ec()}),t=o,n.events.$on(t,"dragover dragenter",".fr-image-upload-layer",function(e){return c(this).addClass("fr-drop"),(n.browser.msie||n.browser.edge)&&e.preventDefault(),!1},!0),n.events.$on(t,"dragleave dragend",".fr-image-upload-layer",function(e){return c(this).removeClass("fr-drop"),(n.browser.msie||n.browser.edge)&&e.preventDefault(),!1},!0),n.events.$on(t,"drop",".fr-image-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),c(this).removeClass("fr-drop");var a=e.originalEvent.dataTransfer;if(a&&a.files){var r=t.data("instance")||n;r.events.disableBlur(),r.image.upload(a.files),r.events.enableBlur()}},!0),n.helpers.isIOS()&&n.events.$on(t,"touchstart",'.fr-image-upload-layer input[type="file"]',function(){c(this).trigger("click")},!0),n.events.$on(t,"change",'.fr-image-upload-layer input[type="file"]',function(){if(this.files){var e=t.data("instance")||n;e.events.disableBlur(),t.find("input:focus").blur(),e.events.enableBlur(),e.image.upload(this.files,a)}c(this).val("")},!0),o}function U(){a&&n.popups.get("image.alt").find("input").val(a.attr("alt")||"").trigger("change")}function K(){var e=n.popups.get("image.alt");e||(e=z()),S(),n.popups.refresh("image.alt"),n.popups.setContainer("image.alt",n.$sc);var t=ef();ep()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();n.popups.show("image.alt",a,r,t.outerHeight(),!0)}function z(e){if(e)return n.popups.onRefresh("image.alt",U),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(n.button.buildList(n.opts.imageAltButtons),"</div>"),alt_layer:'<div class="fr-image-alt-layer fr-layer fr-active" id="fr-image-alt-layer-'.concat(n.id,'"><div class="fr-input-line"><input id="fr-image-alt-layer-text-').concat(n.id,'" type="text" placeholder="').concat(n.language.translate("Alternative Text"),'" tabIndex="1"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetAlt" tabIndex="2" role="button">').concat(n.language.translate("Update"),"</button></div></div>")},r=n.popups.create("image.alt",t);return n.$wp&&n.events.$on(n.$wp,"scroll.image-alt",function(){a&&n.popups.isVisible("image.alt")&&K()}),r}function W(){var e=n.popups.get("image.size");if(a)if(ep()){var t=a.parent();t.get(0).style.width||(t=a.parent().parent()),e.find('input[name="width"]').val(t.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height).trigger("change")}else e.find('input[name="width"]').val(a.get(0).style.width).trigger("change"),e.find('input[name="height"]').val(a.get(0).style.height).trigger("change")}function V(){var e=n.popups.get("image.size");e||(e=G()),S(),n.popups.refresh("image.size"),n.popups.setContainer("image.size",n.$sc);var t=ef();ep()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();n.popups.show("image.size",a,r,t.outerHeight(),!0)}function G(e){if(e)return n.popups.onRefresh("image.size",W),!0;var t={buttons:'<div class="fr-buttons fr-tabs">'.concat(n.button.buildList(n.opts.imageSizeButtons),"</div>"),size_layer:'<div class="fr-image-size-layer fr-layer fr-active" id="fr-image-size-layer-'.concat(n.id,'"><div class="fr-image-group"><div class="fr-input-line"><input id="fr-image-size-layer-width-\'').concat(n.id,'" type="text" name="width" placeholder="').concat(n.language.translate("Width"),'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-image-size-layer-height').concat(n.id,'" type="text" name="height" placeholder="').concat(n.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="imageSetSize" tabIndex="2" role="button">').concat(n.language.translate("Update"),"</button></div></div>")},r=n.popups.create("image.size",t);return n.$wp&&n.events.$on(n.$wp,"scroll.image-size",function(){a&&n.popups.isVisible("image.size")&&V()}),r}function Y(e,t,n,a){return e.pageX=t,E.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,a)),y.call(this,e),T.call(this,e),++a}function j(e){(e=e||ef())&&!1!==n.events.trigger("image.beforeRemove",[e])&&(n.popups.hideAll(),ed(),en(!0),n.undo.canDo()||n.undo.saveStep(),e.get(0)==n.el?e.removeAttr("src"):(e.get(0).parentNode&&"A"==e.get(0).parentNode.tagName?(n.selection.setBefore(e.get(0).parentNode)||n.selection.setAfter(e.get(0).parentNode)||e.parent().after(t.MARKERS),c(e.get(0).parentNode).remove()):(n.selection.setBefore(e.get(0))||n.selection.setAfter(e.get(0))||e.after(t.MARKERS),e.remove()),n.html.fillEmptyBlocks(),n.selection.restore()),n.undo.saveStep())}function q(e){var r=e.which;if(a&&(r==t.KEYCODE.BACKSPACE||r==t.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),j(),!1;if(a&&r==t.KEYCODE.ESC){var o=a;return en(!0),n.selection.setAfter(o.get(0)),n.selection.restore(),e.preventDefault(),!1}if(!a||r!=t.KEYCODE.ARROW_LEFT&&r!=t.KEYCODE.ARROW_RIGHT)return a&&r===t.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),en(!0),!1):a&&r!=t.KEYCODE.F10&&!n.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var i=a.get(0);return en(!0),r==t.KEYCODE.ARROW_LEFT?n.selection.setBefore(i):n.selection.setAfter(i),n.selection.restore(),e.preventDefault(),!1}function X(e){if(!1===n.events.trigger("image.beforePasteUpload",[e]))return!1;a=c(e),v(),u(),ec(),x(),a.on("load",function(){var e=[];v(),c(n.popups.get("image.insert").get(0)).find("div.fr-active.fr-error").length<1&&x(),c(this).data("events").find(function(t){"load"===t[0]&&e.push(t)}),e.length<=1&&c(this).off("load")});for(var t=c(e).attr("src").split(","),r=atob(t[1]),o=[],i=0;i<r.length;i++)o.push(r.charCodeAt(i));F([new Blob([new Uint8Array(o)],{type:t[0].replace(/data\:/g,"").replace(/;base64/g,"")})],a)}function Z(){n.opts.imagePaste?n.$el.find("img[data-fr-image-pasted]").each(function(e,t){if(n.opts.imagePasteProcess){var a=n.opts.imageDefaultWidth;a&&"auto"!=a&&(a+=n.opts.imageResizeWithPercent?"%":"px"),c(t).css("width",a).removeClass("fr-dii fr-dib fr-fir fr-fil"),ei(c(t),n.opts.imageDefaultDisplay,n.opts.imageDefaultAlign)}if(0===t.src.indexOf("data:"))X(t);else if(0===t.src.indexOf("blob:")||0===t.src.indexOf("http")&&n.opts.imageUploadRemoteUrls&&n.opts.imageCORSProxy){var r=new Image;r.crossOrigin="Anonymous",r.onload=function(){var e,a=n.o_doc.createElement("CANVAS"),r=a.getContext("2d");a.height=this.naturalHeight,a.width=this.naturalWidth,r.drawImage(this,0,0),setTimeout(function(){X(t)},0),e=2e3<this.naturalWidth||1500<this.naturalHeight?"jpeg":"png",t.src=a.toDataURL("image/".concat(e))},r.src=(0===t.src.indexOf("blob:")?"":"".concat(n.opts.imageCORSProxy,"/"))+t.src}else 0!==t.src.indexOf("http")||0===t.src.indexOf("https://mail.google.com/mail")?(n.selection.save(),c(t).remove(),n.selection.restore()):c(t).removeAttr("data-fr-image-pasted")}):n.$el.find("img[data-fr-image-pasted]").remove()}function Q(e){var t=e.target.result,a=n.opts.imageDefaultWidth;a&&"auto"!=a&&(a+=n.opts.imageResizeWithPercent?"%":"px"),n.undo.saveStep(),n.html.insert('<img data-fr-image-pasted="true" src="'.concat(t,'"').concat(a?' style="width: '.concat(a,';"'):"",">"));var r=n.$el.find('img[data-fr-image-pasted="true"]');r&&ei(r,n.opts.imageDefaultDisplay,n.opts.imageDefaultAlign),n.events.trigger("paste.after")}function J(e){if(e&&e.clipboardData&&e.clipboardData.items){var t,n,a=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,"text/rtf")||e.clipboardData.getData("text/rtf"))a=e.clipboardData.items[0].getAsFile();else for(var r=0;r<e.clipboardData.items.length&&!(a=e.clipboardData.items[r].getAsFile());r++);if(a)return t=a,(n=new FileReader).onload=Q,n.readAsDataURL(t),!1}}function ee(e){return e.replace(/<img /gi,'<img data-fr-image-pasted="true" ')}function et(e){if("false"==c(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable")||e&&"touchend"==e.type&&l)return!0;if(e&&n.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;for(var r=0;r<t.INSTANCES.length;r++)t.INSTANCES[r]!=n&&t.INSTANCES[r].events.trigger("image.hideResizer");n.toolbar.disable(),e&&(e.stopPropagation(),e.preventDefault()),n.helpers.isMobile()&&(n.events.disableBlur(),n.$el.blur(),n.events.enableBlur()),n.opts.iframe&&n.size.syncIframe(),a=c(this),ed(),v(),u(),n.browser.msie?(n.popups.areVisible()&&n.events.disableBlur(),n.win.getSelection&&(n.win.getSelection().removeAllRanges(),n.win.getSelection().addRange(n.doc.createRange()))):n.selection.clear(),n.helpers.isIOS()&&(n.events.disableBlur(),n.$el.blur()),n.button.bulkRefresh(),n.events.trigger("video.hideResizer")}function en(e){a&&(ea||!0===e)&&(n.toolbar.enable(),r.removeClass("fr-active"),n.popups.hideAll(),a=null,eo(),o=null,i&&i.hide())}f[1]="Image cannot be loaded from the passed link.",f[2]="No link in upload response.",f[3]="Error during file upload.",f[4]="Parsing response failed.",f[5]="File is too large.",f[6]="Image file type is invali
1d.",f[7]="Files can be uploaded only to same domain in IE 8 and IE 9.";var ea=(f[8]="Image file is corrupted.",!1);function er(){ea=!0}function eo(){ea=!1}function ei(e,t,a){!n.opts.htmlUntouched&&n.opts.useClasses?(e.removeClass("fr-fil fr-fir fr-dib fr-dii"),a&&e.addClass("fr-fi".concat(a[0])),t&&e.addClass("fr-di".concat(t[0]))):"inline"==t?(e.css({display:"inline-block",verticalAlign:"bottom",margin:n.opts.imageDefaultMargin}),"center"==a?e.css({float:"none",marginBottom:"",marginTop:"",maxWidth:"calc(100% - ".concat(2*n.opts.imageDefaultMargin,"px)"),textAlign:"center"}):"left"==a?e.css({float:"left",marginLeft:0,maxWidth:"calc(100% - ".concat(n.opts.imageDefaultMargin,"px)"),textAlign:"left"}):e.css({float:"right",marginRight:0,maxWidth:"calc(100% - ".concat(n.opts.imageDefaultMargin,"px)"),textAlign:"right"})):"block"==t&&(e.css({display:"block",float:"none",verticalAlign:"top",margin:"".concat(n.opts.imageDefaultMargin,"px auto"),textAlign:"center"}),"left"==a?e.css({marginLeft:0,textAlign:"left"}):"right"==a&&e.css({marginRight:0,textAlign:"right"}))}function es(e){if(void 0===e&&(e=ef()),e){if(e.hasClass("fr-fil"))return"left";if(e.hasClass("fr-fir"))return"right";if(e.hasClass("fr-dib")||e.hasClass("fr-dii"))return"center";var t=e.css("float");if(e.css("float","none"),"block"==e.css("display")){if(e.css("float",""),e.css("float")!=t&&e.css("float",t),0===parseInt(e.css("margin-left"),10))return"left";if(0===parseInt(e.css("margin-right"),10))return"right"}else{if(e.css("float",""),e.css("float")!=t&&e.css("float",t),"left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function el(e){void 0===e&&(e=ef());var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function ec(){var e=n.popups.get("image.insert");e||(e=H()),n.popups.isVisible("image.insert")||(S(),n.popups.refresh("image.insert"),n.popups.setContainer("image.insert",n.$sc));var t=ef();ep()&&(t=t.find(".fr-img-wrap"));var a=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();n.popups.show("image.insert",a,r,t.outerHeight(!0),!0)}function ed(){if(a){n.events.disableBlur(),n.selection.clear();var e=n.doc.createRange();e.selectNode(a.get(0)),n.browser.msie&&e.collapse(!0),n.selection.get().addRange(e),n.events.enableBlur()}}function ef(){return ep()?a.parents(".fr-img-caption").first():a}function ep(){return!!a&&0<a.parents(".fr-img-caption").length}function eu(e){for(var t=document.createDocumentFragment();e.firstChild;){var n=e.removeChild(e.firstChild);t.appendChild(n)}e.parentNode.replaceChild(t,e)}return{_init:function(){var e;n.events.$on(n.$el,n._mousedown,"IMG"==n.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==c(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;n.helpers.isMobile()||n.selection.clear(),d=!0,n.popups.areVisible()&&n.events.disableBlur(),n.browser.msie&&(n.events.disableBlur(),n.$el.attr("contenteditable",!1)),n.draggable||"touchstart"==e.type||e.preventDefault(),e.stopPropagation()}),n.events.$on(n.$el,n._mousedown,".fr-img-caption .fr-inner",function(e){n.core.hasFocus()||n.events.focus(),e.stopPropagation()}),n.events.$on(n.$el,"paste",".fr-img-caption .fr-inner",function(e){n.toolbar.hide(),e.stopPropagation()}),n.events.$on(n.$el,n._mouseup,"IMG"==n.el.tagName?null:'img:not([contenteditable="false"])',function(e){if("false"==c(this).parents("contenteditable").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;d&&(d=!1,e.stopPropagation(),n.browser.msie&&(n.$el.attr("contenteditable",!0),n.events.enableBlur()))}),n.events.on("keyup",function(e){if(e.shiftKey&&""===n.selection.text().replace(/\n/g,"")&&n.keys.isArrow(e.which)){var t=n.selection.element(),a=n.selection.endElement();t&&"IMG"==t.tagName?_(c(t)):a&&"IMG"==a.tagName&&_(c(a))}},!0),n.events.on("drop",P),n.events.on("element.beforeDrop",$),n.events.on("mousedown window.mousedown",er),n.events.on("window.touchmove",eo),n.events.on("mouseup window.mouseup",function(){if(a)return en(),!1;eo()}),n.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&en()}),n.events.on("image.resizeEnd",function(){n.opts.iframe&&n.size.syncIframe()}),n.events.on("blur image.hideResizer commands.undo commands.redo element.dropped",function(){en((d=!1,!0))}),n.events.on("modals.hide",function(){a&&(ed(),n.selection.clear())}),n.events.on("image.resizeEnd",function(){n.win.getSelection&&_(
vendor: 14,960 bytes, line 1
1a)}),n.opts.imageAddNewLine&&n.events.on("image.inserted",function(e){var a=e.get(0);for(a.nextSibling&&"BR"===a.nextSibling.tagName&&(a=a.nextSibling);a&&!n.node.isElement(a);)a=n.node.isLastSibling(a)?a.parentNode:null;n.node.isElement(a)&&(n.opts.enter===t.ENTER_BR?e.after("<br>"):c(n.node.blockParent(e.get(0))).after("<".concat(n.html.defaultTag(),"><br></").concat(n.html.defaultTag(),">")))}),"IMG"==n.el.tagName&&n.$el.addClass("fr-view"),n.events.$on(n.$el,n.helpers.isMobile()&&!n.helpers.isWindowsPhone()?"touchend":"click","IMG"==n.el.tagName?null:'img:not([contenteditable="false"])',et),n.helpers.isMobile()&&(n.events.$on(n.$el,"touchstart","IMG"==n.el.tagName?null:'img:not([contenteditable="false"])',function(){l=!1}),n.events.$on(n.$el,"touchmove",function(){l=!0})),n.$wp?(n.events.on("window.keydown keydown",q,!0),n.events.on("keyup",function(e){if(a&&e.which==t.KEYCODE.ENTER)return!1},!0),n.events.$on(n.$el,"keydown",function(){var e=n.selection.element();(e.nodeType===Node.TEXT_NODE||"BR"==e.tagName&&n.node.isLastSibling(e))&&(e=e.parentNode),n.node.hasClass(e,"fr-inner")||(n.node.hasClass(e,"fr-img-caption")||(e=c(e).parents(".fr-img-caption").get(0)),n.node.hasClass(e,"fr-img-caption")&&(c(e).after(t.INVISIBLE_SPACE+t.MARKERS),n.selection.restore()))})):n.events.$on(n.$win,"keydown",q),n.events.on("toolbar.esc",function(){if(a){if(n.$wp)n.events.disableBlur(),n.events.focus();else{var e=a;en(!0),n.selection.setAfter(e.get(0)),n.selection.restore()}return!1}},!0),n.events.on("toolbar.focusEditor",function(){if(a)return!1},!0),n.events.on("window.cut window.copy",function(e){if(a&&n.popups.isVisible("image.edit")&&!n.popups.get("image.edit").find(":focus").length){var r=ef();ep()?(r.before(t.START_MARKER),r.after(t.END_MARKER),n.selection.restore(),n.paste.saveCopiedText(r.get(0).outerHTML,r.text())):(ed(),n.paste.saveCopiedText(a.get(0).outerHTML,a.attr("alt"))),"copy"==e.type?setTimeout(function(){_(a)}):(en(!0),n.undo.saveStep(),setTimeout(function(){n.undo.saveStep()},0))}},!0),n.browser.msie&&n.events.on("keydown",function(e){if(!n.selection.isCollapsed()||!a)return!0;var r=e.which;r==t.KEYCODE.C&&n.keys.ctrlKey(e)?n.events.trigger("window.copy"):r==t.KEYCODE.X&&n.keys.ctrlKey(e)&&n.events.trigger("window.cut")}),n.events.$on(c(n.o_win),"keydown",function(e){var n=e.which;if(a&&n==t.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),n.events.$on(n.$win,"keydown",function(e){var n=e.which;a&&a.hasClass("fr-uploading")&&n==t.KEYCODE.ESC&&a.trigger("abortUpload")}),n.events.on("destroy",function(){a&&a.hasClass("fr-uploading")&&a.trigger("abortUpload")}),n.events.on("paste.before",J),n.events.on("paste.beforeCleanup",ee),n.events.on("paste.after",Z),n.events.on("html.set",g),n.events.on("html.inserted",g),g(),n.events.on("destroy",function(){s=[]}),n.events.on("html.processGet",function e(t){if(t&&"IMG"==t.tagName){if(n.node.hasClass(t,"fr-uploading")||n.node.hasClass(t,"fr-error")?t.parentNode.removeChild(t):n.node.hasClass(t,"fr-draggable")&&t.classList.remove("fr-draggable"),t.parentNode&&t.parentNode.parentNode&&n.node.hasClass(t.parentNode.parentNode,"fr-img-caption")){var a=t.parentNode.parentNode;a.removeAttribute("contenteditable"),a.removeAttribute("draggable"),a.classList.remove("fr-draggable");var r=t.nextSibling;r&&r.removeAttribute("contenteditable")}}else if(t&&t.nodeType==Node.ELEMENT_NODE)for(var o=t.querySelectorAll("img.fr-uploading, img.fr-error, img.fr-draggable"),i=0;i<o.length;i++)e(o[i])}),n.opts.imageOutputSize&&n.events.on("html.beforeGet",function(){e=n.el.querySelectorAll("img");for(var t=0;t<e.length;t++){var a=e[t].style.width||c(e[t]).width(),r=e[t].style.height||c(e[t]).height();a&&e[t].setAttribute("width","".concat(a).replace(/px/,"")),r&&e[t].setAttribute("height","".concat(r).replace(/px/,""))}}),n.opts.iframe&&n.events.on("image.loaded",n.size.syncIframe),n.$wp&&(m(),n.events.on("contentChanged",m)),n.events.$on(c(n.o_win),"orientationchange.image",function(){setTimeout(function(){a&&_(a)},100)}),L(!0),H(!0),G(!0),z(!0),n.events.on("node.remove",function(e){if("IMG"==e.get(0).tagName)return j(e),!1})},showInsertPopup:function(){var e=n.$tb.find('.fr-command[data-cmd="insertImage"]'),t=n.popups.get("image.insert");if(t||(t=H()),S(),!t.hasClass("fr-active"))if(n.popups.refresh("image.insert"),n.popups.setContainer("image.insert",n.$tb),e.isVisible()){var a=n.button.getPosition(e),r=a.left,o=a.top;n.popups.show("image.insert",r,o,e.outerHeight())}else n.position.forSelection(t),n.popups.show("image.insert")},showLayer:function(e){var t,r,o=n.popups.get("image.insert");if(a||n.opts.toolbarInline){if(a){var i=ef();ep()&&(i=i.find(".fr-img-wrap")),r=i.offset().top+i.outerHeight(),t=i.offset().left}}else{var s=n.$tb.find('.fr-command[data-cmd="insertImage"]');t=s.offset().left,r=s.offset().top+(n.opts.toolbarBottom?10:s.outerHeight()-10)}!a&&n.opts.toolbarInline&&(r=o.offset().top-n.helpers.getPX(o.css("margin-top")),o.hasClass("fr-above")&&(r+=o.outerHeight())),o.find(".fr-layer").removeClass("fr-active"),o.find(".fr-".concat(e,"-layer")).addClass("fr-active"),n.popups.show("image.insert",t,r,a?a.outerHeight():0),n.accessibility.focusPopup(o)},refreshUploadButton:function(e){var t=n.popups.get("image.insert");t&&t.find(".fr-image-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshByURLButton:function(e){var t=n.popups.get("image.insert");t&&t.find(".fr-image-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:F,insertByURL:function(){var e=n.popups.get("image.insert").find(".fr-image-by-url-layer input");if(0<e.val().length){x(),w(n.language.translate("Loading image"));var t=e.val().trim();if(n.opts.imageUploadRemoteUrls&&n.opts.imageCORSProxy&&n.opts.imageUpload){var r=new XMLHttpRequest;r.onload=function(){200==this.status?F([new Blob([this.response],{type:this.response.type||"image/png"})],a):A(1)},r.onerror=function(){O(t,!0,[],a)},r.open("GET","".concat(n.opts.imageCORSProxy,"/").concat(t),!0),r.responseType="blob",r.send()}else O(t,!0,[],a);e.val(""),e.blur()}},align:function(e){var t=ef();t.removeClass("fr-fir fr-fil"),!n.opts.htmlUntouched&&n.opts.useClasses?"left"==e?t.addClass("fr-fil"):"right"==e&&t.addClass("fr-fir"):ei(t,el(),e),ed(),v(),u(),n.selection.clear()},refreshAlign:function(e){a&&e.find("> *").first().replaceWith(n.icon.create("image-align-".concat(es())))},refreshAlignOnShow:function(e,t){a&&t.find('.fr-command[data-param1="'.concat(es(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function(e){var t=ef();t.removeClass("fr-dii fr-dib"),!n.opts.htmlUntouched&&n.opts.useClasses?"inline"==e?t.addClass("fr-dii"):"block"==e&&t.addClass("fr-dib"):ei(t,e,es()),ed(),v(),u(),n.selection.clear()},refreshDisplayOnShow:function(e,t){a&&t.find('.fr-command[data-param1="'.concat(el(),'"]')).addClass("fr-active").attr("aria-selected",!0)},replace:ec,back:function(){a?(n.events.disableBlur(),c(".fr-popup input:focus").blur(),_(a)):(n.events.disableBlur(),n.selection.restore(),n.events.enableBlur(),n.popups.hide("image.insert"),n.toolbar.showInline())},get:function(){return a},getEl:ef,insert:O,showProgressBar:x,remove:j,hideProgressBar:S,applyStyle:function(t,r,o){if(void 0===r&&(r=n.opts.imageStyles),void 0===o&&(o=n.opts.imageMultipleStyles),!a)return!1;var i=ef();if(!o){var s=Object.keys(r);s.splice(s.indexOf(t),1),i.removeClass(s.join(" "))}"object"==e(r[t])?(i.removeAttr("style"),i.css(r[t].style)):i.toggleClass(t),_(a)},showAltPopup:K,showSizePopup:V,setAlt:function(e){if(a){var t=n.popups.get("image.alt");a.attr("alt",e||t.find("input").val()||""),t.find("input:focus").blur(),_(a)}},setSize:function(e,t){if(a){var r=n.popups.get("image.size");e=e||r.find('input[name="width"]').val()||"",t=t||r.find('input[name="height"]').val()||"";var o=/^[\d]+((px)|%)*$/g;a.removeAttr("width").removeAttr("height"),e.match(o)?a.css("width",e):a.css("width",""),t.match(o)?a.css("height",t):a.css("height",""),ep()&&(a.parents(".fr-img-caption").removeAttr("width").removeAttr("height"),e.match(o)?a.parents(".fr-img-caption").css("width",e):a.parents(".fr-img-caption").css("width",""),t.match(o)?a.parents(".fr-img-caption").css("height",t):a.parents(".fr-img-caption").css("height","")),r&&r.find("input:focus").blur(),_(a)}},toggleCaption:function(){var e;if(a&&!ep()){(e=a).parent().is("a")&&(e=a.parent());var r,o,i=a.parents("ul")&&0<a.parents("ul").length?a.parents("ul"):a.parents("ol")&&0<a.parents("ol").length?a.parents("ol"):[];if(0<i.length){var s=i.find("li").length,l=a.parents("li"),c=document.createElement("li");s-1===l.index()&&(i.append(c),c.innerHTML="&nbsp;")}e.attr("style")?o=-1<(r=e.attr("style").split(":")).indexOf("width")?r[r.indexOf("width")+1].replace(";",""):"":e.attr("width")&&(o=e.attr("width"));var d=n.opts.imageResizeWithPercent?(-1<o.indexOf("px")?null:o)||"100%":a.width()+"px";e.wrap('<div class="fr-img-space-wrap"><span '+(n.browser.mozilla?"":'contenteditable="false"')+'class="fr-img-caption '+a.attr("class")+'" style="'+(n.opts.useClasses?"":e.attr("style"))+'" draggable="false"></span><p class="fr-img-space-wrap2">&nbsp;</p></div>'),e.wrap('<span class="fr-img-wrap"></span>'),a.after('<span class="fr-inner"'.concat(n.browser.mozilla?"":' contenteditable="true"',">").concat(t.START_MARKER).concat(n.language.translate("Image Caption")).concat(t.END_MARKER,"</span>")),a.removeAttr("class").removeAttr("style").removeAttr("width"),a.parents(".fr-img-caption").css("width",d),1<a.parents(".fr-img-space-wrap").length&&(eu(document.querySelector(".fr-img-space-wrap")),eu(document.querySelector(".fr-img-space-wrap2"))),en(!0),n.selection.restore()}else{if(e=ef(),a.insertBefore(e),null!==e[0].querySelector("a")){for(var f,p=e[0].querySelector("a"),u=document.createElement("a"),h=0,g=p.attributes,m=g.length;h<m;h++)f=g[h],u.setAttribute(f.nodeName,f.nodeValue);a.wrap(u)}a.attr("class",e.attr("class").replace("fr-img-caption","")).attr("style",e.attr("style")),e.remove(),1<a.parents(".fr-img-space-wrap").length&&(eu(document.querySelector(".fr-img-space-wrap")),eu(document.querySelector(".fr-img-space-wrap2"))),_(a)}},hasCaption:ep,exitEdit:en,edit:_}},t.DefineIcon("insertImage",{NAME:"image",SVG_KEY:"insertImage"}),t.RegisterShortcut(t.KEYCODE.P,"insertImage",null,"P"),t.RegisterCommand("insertImage",{title:"Insert Image",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("image.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("image.insert")):this.image.showInsertPopup()},plugin:"image"}),t.DefineIcon("imageUpload",{NAME:"upload",SVG_KEY:"upload"}),t.RegisterCommand("imageUpload",{title:"Upload Image",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer("image-upload")},refresh:function(e){this.image.refreshUploadButton(e)}}),t.DefineIcon("imageByURL",{NAME:"link",SVG_KEY:"insertLink"}),t.RegisterCommand("imageByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer("image-by-url")},refresh:function(e){this.image.refreshByURLButton(e)}}),t.RegisterCommand("imageInsertByURL",{title:"Insert Image",undo:!0,refreshAfterCallback:!1,callback:function(){this.image.insertByURL()},refresh:function(e){this.image.get()?e.text(this.language.translate("Replace")):e.text(this.language.translate("Insert"))}}),t.DefineIcon("imageDisplay",{NAME:"star",SVG_KEY:"imageDisplay"}),t.RegisterCommand("imageDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.image.display(t)},refresh:function(e){this.opts.imageTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.image.refreshDisplayOnShow(e,t)}}),t.DefineIcon("image-align",{NAME:"align-left",SVG_KEY:"alignLeft"}),t.DefineIcon("image-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),t.DefineIcon("image-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),t.DefineIcon("image-align-center",{NAME:"align-justify",SVG_KEY:"alignCenter"}),t.DefineIcon("imageAlign",{NAME:"align-justify",SVG_KEY:"alignJustify"}),t.RegisterCommand("imageAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.imageAlign.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="imageAlign" data-param1="'.concat(a,'" title="').concat(this.language.translate(n[a]),'">').concat(this.icon.create("image-align-".concat(a)),'<span class="fr-sr-only">').concat(this.language.translate(n[a]),"</span></a></li>"));return e+"</ul>"},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),t.DefineIcon("imageReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),t.RegisterCommand("imageReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),t.DefineIcon("imageRemove",{NAME:"trash",SVG_KEY:"remove"}),t.RegisterCommand("imageRemove",{title:"Remove",callback:function(){this.image.remove()}}),t.DefineIcon("imageBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("imageBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$,this.image.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),t.RegisterCommand("imageDismissError",{title:"OK",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),t.DefineIcon("imageStyle",{NAME:"magic",SVG_KEY:"imageClass"}),t.RegisterCommand("imageStyle",{title:"Style",type:"dropdown",html:function(){var t='<ul class="fr-dropdown-list" role="presentation">',n=this.opts.imageStyles;for(var a in n)if(n.hasOwnProperty(a)){var r=n[a];"object"==e(r)&&(r=r.title),t+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="imageStyle" data-param1="'.concat(a,'">').concat(this.language.translate(r),"</a></li>")}return t+"</ul>"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,a=this.image.getEl();a&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),t.DefineIcon("imageAlt",{NAME:"info",SVG_KEY:"imageAltText"}),t.RegisterCommand("imageAlt",{undo:!1,focus:!1,popup:!0,title:"Alternative Text",callback:function(){this.image.showAltPopup()}}),t.RegisterCommand("imageSetAlt",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),t.DefineIcon("imageSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}
1),t.RegisterCommand("imageSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.image.showSizePopup()}}),t.RegisterCommand("imageSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),t.DefineIcon("imageCaption",{NAME:"commenting",FA5NAME:"comment-alt",SVG_KEY:"imageCaption"}),t.RegisterCommand("imageCaption",{undo:!0,focus:!1,title:"Image Caption",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass("fr-active",this.image.hasCaption())}}),Object.assign(t.DEFAULTS,{imageManagerLoadURL:"https://i.froala.com/load-files",imageManagerLoadMethod:"get",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:"",imageManagerDeleteMethod:"post",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),t.PLUGINS.imageManager=function(e){var n,a,r,o,i,s,l,c,d,f,p,u=e.$,h="image_manager",g={};function m(){var e=u(window).outerWidth();return e<768?2:e<1200?3:4}function v(){i.empty();for(var e=0;e<p;e++)i.append('<div class="fr-list-column"></div>')}function b(){if(d<l.length&&(i.outerHeight()<=r.outerHeight()+e.opts.imageManagerScrollOffset||r.scrollTop()+e.opts.imageManagerScrollOffset>i.outerHeight()-r.outerHeight())){c++;for(var t=e.opts.imageManagerPageSize*(c-1);t<Math.min(l.length,e.opts.imageManagerPageSize*c);t++)!function(t){var n=new Image,r=u(document.createElement("div")).attr("class","fr-image-container fr-empty fr-image-"+f++).attr("data-loading",e.language.translate("Loading")+"..").attr("data-deleting",e.language.translate("Deleting")+"..");T(!1),n.onload=function(){r.height(Math.floor(r.width()/n.width*n.height));var o=u(document.createElement("img"));if(t.thumb)o.attr("src",t.thumb);else{if(S(14,t),!t.url)return S(15,t),!1;o.attr("src",t.url)}if(t.url&&o.attr("data-url",t.url),t.tag)if(a.find(".fr-modal-more.fr-not-available").removeClass("fr-not-available"),a.find(".fr-modal-tags").show(),0<=t.tag.indexOf(",")){for(var i=t.tag.split(","),l=0;l<i.length;l++)i[l]=i[l].trim(),0===s.find('a[title="'.concat(i[l],'"]')).length&&s.append('<a role="button" title="'.concat(i[l],'">').concat(i[l],"</a>"));o.attr("data-tag",i.join())}else 0===s.find('a[title="'.concat(t.tag.trim(),'"]')).length&&s.append('<a role="button" title="'.concat(t.tag.trim(),'">').concat(t.tag.trim(),"</a>")),o.attr("data-tag",t.tag.trim());for(var c in t.name&&o.attr("alt",t.name),t)t.hasOwnProperty(c)&&"thumb"!==c&&"url"!==c&&"tag"!==c&&o.attr("data-".concat(c),t[c]);r.append(o).append(u(e.icon.create("imageManagerDelete")).addClass("fr-delete-img").attr("title",e.language.translate("Delete"))).append(u(e.icon.create("imageManagerInsert")).addClass("fr-insert-img").attr("title",e.language.translate("Insert"))),s.find(".fr-selected-tag").each(function(e,t){M(o,t.text)||r.hide()}),o.on("load",function(){r.removeClass("fr-empty"),r.height("auto"),d++,y(E(parseInt(o.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1)),T(!1),d%e.opts.imageManagerPageSize==0&&b()}),e.events.trigger("imageManager.imageLoaded",[o])},n.onerror=function(){d++,r.remove(),y(E(parseInt(r.attr("class").match(/fr-image-(\d+)/)[1],10)+1)),S(10,t),d%e.opts.imageManagerPageSize==0&&b()},n.src=t.thumb||t.url,C().append(r)}(l[t])}}function C(){var e,t;return i.find(".fr-list-column").each(function(n,a){var r=u(a);0===n?(t=r.outerHeight(),e=r):r.outerHeight()<t&&(t=r.outerHeight(),e=r)}),e}function E(e){void 0===e&&(e=0);for(var t=[],n=f-1;e<=n;n--){var a=i.find(".fr-image-".concat(n));a.length&&(t.push(a),u(document.createElement("div")).attr("id","fr-image-hidden-container").append(a),i.find(".fr-image-".concat(n)).remove())}return t}function y(e){for(var t=e.length-1;0<=t;t--)C().append(e[t])}function T(t){if(void 0===t&&(t=!0),!n.isVisible())return!0;var a=m();if(a!==p){p=a;var r=E();v(),y(r)}e.modals.resize(h),t&&b()}function A(e){for(var t,n=e[0].attributes,a=n.length,r={};a--;)n[a]&&0===(t=n[a].name).indexOf("data-")&&"url"!==(t=t.slice(5))&&"tag"!==t&&(r[t]=n[a].value);return r}function L(t){var a=u(t.currentTarget).siblings("img"),r=n.data("instance")||e,o=n.data("current-image");if(e.modals.hide(h),r.image.showProgressBar(),o)o.data("fr-old-src",o.attr("src")),o.trigger("click");
1else{r.events.focus(!0),r.selection.restore();var i=r.position.getBoundingRect(),s=i.left+i.width/2+u(e.doc).scrollLeft(),l=i.top+i.height+u(e.doc).scrollTop();r.popups.setContainer("image.insert",e.$sc),r.popups.show("image.insert",s,l)}r.image.insert(a.data("url"),!1,A(a),o)}function x(t){var a=u(t.currentTarget).siblings("img");confirm(e.language.translate("Are you sure? Image will be deleted."))&&(e.opts.imageManagerDeleteURL?!1!==e.events.trigger("imageManager.beforeDeleteImage",[a])&&(a.parent().addClass("fr-image-deleting"),u(this).ajax({method:e.opts.imageManagerDeleteMethod,url:e.opts.imageManagerDeleteURL,data:Object.assign(Object.assign({src:a.attr("src")},A(a)),e.opts.imageManagerDeleteParams),crossDomain:e.opts.requestWithCORS,withCredentials:e.opts.requestWithCredentials,headers:e.opts.requestHeaders,done:function(t,r,o){e.events.trigger("imageManager.imageDeleted",[t]);var i=E(parseInt(a.parent().attr("class").match(/fr-image-(\d+)/)[1],10)+1);a.parent().remove(),y(i),n.find("#fr-modal-tags > a").each(function(){0===n.find('#fr-image-list [data-tag*="'.concat(u(this).text(),'"]')).length&&u(this).removeClass("fr-selected-tag").hide()}),R(),T(!0)},fail:function(e){S(21,e.response||e.responseText)}})):S(22))}function S(t,n){10<=t&&t<20?o.hide():20<=t&&t<30&&u(".fr-image-deleting").removeClass("fr-image-deleting"),e.events.trigger("imageManager.error",[{code:t,message:g[t]},n])}function w(){var e=a.find(".fr-modal-head-line").outerHeight(),t=s.outerHeight();a.toggleClass("fr-show-tags"),a.hasClass("fr-show-tags")?(a.css("height",e+t),r.css("marginTop",e+t),s.find("a").css("opacity",1)):(a.css("height",e),r.css("marginTop",e),s.find("a").css("opacity",0))}function R(){var e=s.find(".fr-selected-tag");0<e.length?(i.find("img").parents().show(),e.each(function(e,t){i.find("img").each(function(e,n){var a=u(n);M(a,t.text)||a.parent().hide()})})):i.find("img").parents().show(),y(E()),b()}function _(t){t.preventDefault();var n=u(t.currentTarget);n.toggleClass("fr-selected-tag"),e.opts.imageManagerToggleTags&&n.siblings("a").removeClass("fr-selected-tag"),R()}function M(e,t){for(var n=(e.attr("data-tag")||"").split(","),a=0;a<n.length;a++)if(n[a]===t)return!0;return!1}return g[10]="Image cannot be loaded from the passed link.",g[11]="Error during load images request.",g[12]="Missing imageManagerLoadURL option.",g[13]="Parsing load response failed.",g[14]="Missing image thumb.",g[15]="Missing image URL.",g[21]="Error during delete image request.",g[22]="Missing imageManagerDeleteURL option.",{require:["image"],_init:function(){if(!e.$wp&&"IMG"!==e.el.tagName)return!1},show:function(){if(!n){var g,C='<button class="fr-command fr-btn fr-modal-more fr-not-available" id="fr-modal-more-'.concat(e.sid,'"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24""><path d="').concat(t.SVG.tags,'"/></svg></button><h4 data-text="true">').concat(e.language.translate("Manage Images"),'</h4></div>\n      <div class="fr-modal-tags" id="fr-modal-tags">');g=(e.opts.imageManagerPreloader?'<img class="fr-preloader" id="fr-preloader" alt="'.concat(e.language.translate("Loading"),'.." src="').concat(e.opts.imageManagerPreloader,'" style="display: none;">'):'<span class="fr-preloader" id="fr-preloader" style="display: none;">'.concat(e.language.translate("Loading"),"</span>"))+'<div class="fr-image-list" id="fr-image-list"></div>';var E=e.modals.create(h,C,g);n=E.$modal,a=E.$head,r=E.$body}n.data("current-image",e.image.get()),e.modals.show(h),o||(o=n.find("#fr-preloader"),i=n.find("#fr-image-list"),s=n.find("#fr-modal-tags"),p=m(),v(),a.css("height",a.find(".fr-modal-head-line").outerHeight()),e.events.$on(u(e.o_win),"resize",function(){T(!!l)}),e.events.bindClick(i,".fr-insert-img",L),e.events.bindClick(i,".fr-delete-img",x),e.helpers.isMobile()&&(e.events.bindClick(i,"div.fr-image-container",function(e){n.find(".fr-mobile-selected").removeClass("fr-mobile-selected"),u(e.currentTarget).addClass("fr-mobile-selected")}),n.on(e._mousedown,function(){n.find(".fr-mobile-selected").removeClass("fr-mobile-selected")})),n.on(e._mousedown+" "+e._mouseup,function(e){e.stopPropagation()}),n.on(e._mousedown,"*",function(){e.events.disableBlur()}),r.on("scroll",b),e.events.bindClick(n,"button#fr-modal-more-".concat(e.sid),w),e.events.bindClick(s,"a",_)),function(){o.show(),i.find(".fr-list-column").empty(),e.opts.imageManagerLoadURL?u(this).ajax({url:e.opts.imageManagerLoadURL,method:e.opts.imageManagerLoadMethod,data:e.opts.imageManagerLoadParams,crossDomain:e.opts.requestWithCORS,withCredentials:e.opts.requestWithCredentials,headers:e.opts.requestHeaders,done:function(t,n,a){e.events.trigger("imageManager.imagesLoaded",[t]),function(e,t){try{i.find(".fr-list-column").empty(),f=d=c=0,l=JSON.parse(e),b()}catch(e){S(13,t)}}(t,a.response),o.hide()}
vendor: 5,703 bytes, line 1
1,fail:function(e){S(11,e.response||e.responseText)}}):S(12)}()},hide:function(){e.modals.hide(h)}}},!t.PLUGINS.image)throw Error("Image manager plugin requires image plugin.");return t.DEFAULTS.imageInsertButtons.push("imageManager"),t.RegisterCommand("imageManager",{title:"Browse",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:"imageManager"}),t.DefineIcon("imageManager",{NAME:"folder",SVG_KEY:"imageManager"}),t.DefineIcon("imageManagerInsert",{NAME:"plus",SVG_KEY:"add"}),t.DefineIcon("imageManagerDelete",{NAME:"trash",SVG_KEY:"remove"}),Object.assign(t.DEFAULTS,{inlineClasses:{"fr-class-code":"Code","fr-class-highlighted":"Highlighted","fr-class-transparency":"Transparent"}}),t.PLUGINS.inlineClass=function(e){var t=e.$;return{apply:function(t){e.format.toggle("span",{class:t})},refreshOnShow:function(n,a){a.find(".fr-command").each(function(){var n=t(this).data("param1"),a=e.format.is("span",{class:n});t(this).toggleClass("fr-active",a).attr("aria-selected",a)})}}},t.RegisterCommand("inlineClass",{type:"dropdown",title:"Inline Class",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.inlineClasses;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="inlineClass" data-param1="'.concat(n,'" title="').concat(t[n],'">').concat(t[n],"</a></li>"));return e+"</ul>"},callback:function(e,t){this.inlineClass.apply(t)},refreshOnShow:function(e,t){this.inlineClass.refreshOnShow(e,t)},plugin:"inlineClass"}),t.DefineIcon("inlineClass",{NAME:"tag",SVG_KEY:"inlineClass"}),Object.assign(t.DEFAULTS,{inlineStyles:{"Big Red":"font-size: 20px; color: red;","Small Blue":"font-size: 14px; color: blue;"}}),t.PLUGINS.inlineStyle=function(e){return{apply:function(t){for(var n=t.split(";"),a=0;a<n.length;a++){var r=n[a].split(":");n[a].length&&2==r.length&&e.format.applyStyle(r[0].trim(),r[1].trim())}}}},t.RegisterCommand("inlineStyle",{type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.inlineStyles;for(var n in t)if(t.hasOwnProperty(n)){var a=t[n]+(-1===t[n].indexOf("display:block;")?" display:block;":"");e+='<li role="presentation"><span style="'.concat(a,'" role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="inlineStyle" data-param1="').concat(t[n],'" title="').concat(this.language.translate(n),'">').concat(this.language.translate(n),"</a></span></li>")}return e+"</ul>"},title:"Inline Style",callback:function(e,t){this.inlineStyle.apply(t)},plugin:"inlineStyle"}),t.DefineIcon("inlineStyle",{NAME:"paint-brush",SVG_KEY:"inlineStyle"}),Object.assign(t.DEFAULTS,{lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly","img"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),t.PLUGINS.lineBreaker=function(e){var n,a,r,o=e.$;function i(t,a){var r,i,s,l,c,d,f,p;if(null==t)c=(l=a.parent()).offset().top,r=(f=a.offset().top)-Math.min((f-c)/2,e.opts.lineBreakerOffset),s=l.outerWidth(),i=l.offset().left;else if(null==a)(d=(l=t.parent()).offset().top+l.outerHeight())<(p=t.offset().top+t.outerHeight())&&(d=(l=o(l).parent()).offset().top+l.outerHeight()),r=p+Math.min(Math.abs(d-p)/2,e.opts.lineBreakerOffset),s=l.outerWidth(),i=l.offset().left;else{l=t.parent();var u=t.offset().top+t.height(),h=a.offset().top;if(h<u)return!1;r=(u+h)/2,s=l.outerWidth(),i=l.offset().left}if(e.opts.iframe){var g=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),m=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));i+=e.$iframe.offset().left-e.helpers.scrollLeft()+m,r+=e.$iframe.offset().top-e.helpers.scrollTop()+g}e.$box.append(n),n.css("top",r-e.win.pageYOffset),n.css("left",i-e.win.pageXOffset),n.css("width",s),n.data("tag1",t),n.data("tag2",a),n.addClass("fr-visible").data("instance",e)}function s(t){if(t){var n=o(t);if(0===e.$el.find(n).length)return null;if(t.nodeType!=Node.TEXT_NODE&&n.is(e.opts.lineBreakerTags.join(",")))return n;if(0<n.parents(e.opts.lineBreakerTags.join(",")).length)return t=n.parents(e.opts.lineBreakerTags.join(",")).get(0),0!==e.$el.find(o(t)).length&&o(t).is(e.opts.lineBreakerTags.join(","))?o(t):null}return null}function l(t,n){var a=e.doc.elementFromPoint(t,n);return a&&!o(a).closest(".fr-line-breaker").length&&!e.node.isElement(a)&&a!=e.$wp.get(0)&&function(t){if(void 0!==t.inFroalaWrapper)return t.inFroalaWrapper;for(var n=t;t.parentNode&&t.parentNode!==e.$wp.get(0);)t=t.parentNode;return n.inFroalaWrapper=t.parentNode==e.$wp.get(0),n.inFroalaWrapper}(a)?a:null}function c(t,n,a){for(var r=a,o=null;r<=e.opts.lineBreakerOffset&&!o;)(o=l(t,n-r))||(o=l(t,n+r)),r+=a;return o}function d(t,n,a){for(var r=null,o=100;!r&&t>e.$box.offset().left&&t<e.$box.offset().left+e.$box.outerWidth()&&0<o;)(r=l(t,n))||(r=c(t,n,5)),"left"==a?t-=e.opts.lineBreakerHorizontalOffset:t+=e.opts.lineBreakerHorizontalOffset,o-=e.opts.lineBreakerHorizontalOffset;return r}function f(t){var a=r=null,o=null,l=e.doc.elementFromPoint(t.pageX-e.win.pageXOffset,t.pageY-e.win.pageYOffset);(a=l&&("HTML"==l.tagName||"BODY"==l.tagName||e.node.isElement(l)||0<=(l.getAttribute("class")||"").indexOf("fr-line-breaker"))?((o=c(t.pageX-e.win.pageXOffset,t.pageY-e.win.pageYOffset,1))||(o=d(t.pageX-e.win.pageXOffset-e.opts.lineBreakerHorizontalOffset,t.pageY-e.win.pageYOffset,"left")),o||(o=d(t.pageX-e.win.pageXOffset+e.opts.lineBreakerHorizontalOffset,t.pageY-e.win.pageYOffset,"right")),s(o)):s(l))?function(t,a){var r,o,l=t.offset().top,c=t.offset().top+t.outerHeight();if(Math.abs(c-a)<=e.opts.lineBreakerOffset||Math.abs(a-l)<=e.opts.lineBreakerOffset)if(Math.abs(c-a)<Math.abs(a-l)){for(var d=(o=t.get(0)).nextSibling;
1d&&d.nodeType==Node.TEXT_NODE&&0===d.textContent.length;)d=d.nextSibling;if(!d)return i(t,null);if(r=s(d))return i(t,r)}else{if(!(o=t.get(0)).previousSibling)return i(null,t);if(r=s(o.previousSibling))return i(r,t)}n.removeClass("fr-visible").removeData("instance")}(a,t.pageY):e.core.sameInstance(n)&&n.removeClass("fr-visible").removeData("instance")}function p(t){return!(n.hasClass("fr-visible")&&!e.core.sameInstance(n))&&(e.popups.areVisible()||e.el.querySelector(".fr-selected-cell")?(n.removeClass("fr-visible"),!0):void(!1!==a||e.edit.isDisabled()||(r&&clearTimeout(r),r=setTimeout(f,30,t))))}function u(){r&&clearTimeout(r),n&&n.hasClass("fr-visible")&&n.removeClass("fr-visible").removeData("instance")}var h=function(){a=!0,u()},g=function(){a=!1};function m(a){a.preventDefault();var r=n.data("instance")||e;n.removeClass("fr-visible").removeData("instance");var o=n.data("tag1"),i=n.data("tag2"),s=e.html.defaultTag();null==o?s&&"TD"!=i.parent().get(0).tagName&&0===i.parents(s).length?i.before("<".concat(s,">").concat(t.MARKERS,"<br></").concat(s,">")):i.before("".concat(t.MARKERS,"<br>")):s&&"TD"!=o.parent().get(0).tagName&&0===o.parents(s).length?o.after("<".concat(s,">").concat(t.MARKERS,"<br></").concat(s,">")):o.after("".concat(t.MARKERS,"<br>")),r.selection.restore(),e.toolbar.enable()}return{_init:function(){if(!e.$wp)return!1;e.shared.$line_breaker||(e.shared.$line_breaker=o(document.createElement("div")).attr("class","fr-line-breaker").html('<a class="fr-floating-btn" role="button" tabIndex="-1" title="'.concat(e.language.translate("Break"),'"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="17" y="7" width="2" height="8"/><rect x="10" y="13" width="7" height="2"/><path d="M10.000,10.000 L10.000,18.013 L5.000,14.031 L10.000,10.000 Z"/></svg></a>'))),n=e.shared.$line_breaker,e.events.on("shared.destroy",function(){n.html("").removeData().remove(),n=null},!0),e.events.on("destroy",function(){n.removeData("instance").removeClass("fr-visible"),o("body").first().append(n),clearTimeout(r)},!0),e.events.$on(n,"mousemove",function(e){e.stopPropagation()},!0),e.events.bindClick(n,"a",m),a=!1,e.events.$on(e.$win,"mousemove",p),e.events.$on(o(e.win),"scroll",u),e.events.on("popups.show.table.edit",u),e.events.on("commands.after",u),e.events.$on(o(e.win),"mousedown",h),e.events.$on(o(e.win),"mouseup",g)}}},Object.assign(t.DEFAULTS,{lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"}}),t.PLUGINS.lineHeight=function(e){var t=e.$;return{_init:function(){},apply:function(n){e.selection.save(),e.html.wrap(!0,!0,!0,!0),e.selection.restore();var a=e.selection.blocks();a.length&&t(a[0]).parent().is("td")&&e.format.applyStyle("line-height",n.toString()),e.selection.save();for(var r=0;r<a.length;r++)t(a[r]).css("line-height",n),""===t(a[r]).attr("style")&&t(a[r]).removeAttr("style");e.html.unwrap(),e.selection.restore()},refreshOnShow:function(n,a){var r=e.selection.blocks();if(r.length){var o=t(r[0]);a.find(".fr-command").each(function(){var e=t(this).data("param1"),n=o.attr("style"),a=0<=(n||"").indexOf("line-height: "+e+";");if(n){var r=n.substring(n.indexOf("line-height")),i=r.substr(0,r.indexOf(";")),s=i&&i.split(":")[1];s&&s.length||"Default"!==o.text()||(a=!0)}n&&-1!==n.indexOf("line-height")||""!==e||(a=!0),t(this).toggleClass("fr-active",a).attr("aria-selected",a)})}}}},t.RegisterCommand("lineHeight",{type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.lineHeights;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command '.concat(n,'" tabIndex="-1" role="option" data-cmd="lineHeight" data-param1="').concat(t[n],'" title="').concat(this.language.translate(n),'">').concat(this.language.translate(n),"</a></li>"));return e+"</ul>"},title:"Line Height",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:"lineHeight"}),t.DefineIcon("lineHeight",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"lineHeight"}),Object.assign(t.POPUP_TEMPLATES,{"link.edit":"[_BUTTONS_]","link.insert":"[_BUTTONS_][_INPUT_LAYER_]"}),Object.assign(t.DEFAULTS,{linkEditButtons:["linkOpen","linkStyle","linkEdit","linkRemove"],linkInsertButtons:["linkBack","|","linkList"],linkAttributes:{}
vendor: 4,249 bytes, line 1
1,linkAutoPrefix:"http://",linkStyles:{"fr-green":"Green","fr-strong":"Thick"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:"Froala",href:"https://froala.com",target:"_blank"},{text:"Google",href:"https://google.com",target:"_blank"},{displayText:"Facebook",href:"https://facebook.com"}],linkText:!0}),t.PLUGINS.link=function(e){var n=e.$;function a(){var t=e.image?e.image.get():null;if(t||!e.$wp)return"A"==e.el.tagName?e.el:t&&t.get(0).parentNode&&"A"==t.get(0).parentNode.tagName?t.get(0).parentNode:void 0;var a=e.selection.ranges(0).commonAncestorContainer;try{a&&(a.contains&&a.contains(e.el)||!e.el.contains(a)||e.el==a)&&(a=null)}catch(e){a=null}if(a&&"A"===a.tagName)return a;var r=e.selection.element(),o=e.selection.endElement();"A"==r.tagName||e.node.isElement(r)||(r=n(r).parentsUntil(e.$el,"a").first().get(0)),"A"==o.tagName||e.node.isElement(o)||(o=n(o).parentsUntil(e.$el,"a").first().get(0));try{o&&(o.contains&&o.contains(e.el)||!e.el.contains(o)||e.el==o)&&(o=null)}catch(e){o=null}try{r&&(r.contains&&r.contains(e.el)||!e.el.contains(r)||e.el==r)&&(r=null)}catch(e){r=null}return o&&o==r&&"A"==o.tagName?(e.browser.msie||e.helpers.isMobile())&&(e.selection.info(r).atEnd||e.selection.info(r).atStart)?null:r:null}function r(){var t,n,a,r,o=e.image?e.image.get():null,i=[];if(o)"A"==o.get(0).parentNode.tagName&&i.push(o.get(0).parentNode);else if(e.win.getSelection){var s=e.win.getSelection();if(s.getRangeAt&&s.rangeCount){r=e.doc.createRange();for(var l=0;l<s.rangeCount;++l)if((n=(t=s.getRangeAt(l)).commonAncestorContainer)&&1!=n.nodeType&&(n=n.parentNode),n&&"a"==n.nodeName.toLowerCase())i.push(n);else{a=n.getElementsByTagName("a");for(var c=0;c<a.length;++c)r.selectNodeContents(a[c]),1>r.compareBoundaryPoints(t.END_TO_START,t)&&-1<r.compareBoundaryPoints(t.START_TO_END,t)&&i.push(a[c])}}}else if(e.doc.selection&&"Control"!=e.doc.selection.type)if("a"==(n=(t=e.doc.selection.createRange()).parentElement()).nodeName.toLowerCase())i.push(n);else{a=n.getElementsByTagName("a"),r=e.doc.body.createTextRange();for(var d=0;d<a.length;++d)r.moveToElementText(a[d]),-1<r.compareEndPoints("StartToEnd",t)&&1>r.compareEndPoints("EndToStart",t)&&i.push(a[d])}return i}function o(r){if(e.core.hasFocus()){if(i(),r&&"keyup"===r.type&&(r.altKey||r.which==t.KEYCODE.ALT))return!0;setTimeout(function(){if(!r||r&&(1==r.which||"mouseup"!=r.type)){var o=a(),i=e.image?e.image.get():null;if(o&&!i){if(e.image){var s=e.node.contents(o);if(1==s.length&&"IMG"==s[0].tagName){var l=e.selection.ranges(0);return 0===l.startOffset&&0===l.endOffset?n(o).before(t.MARKERS):n(o).after(t.MARKERS),e.selection.restore(),!1}}r&&r.stopPropagation(),function t(r){var o,i,s,l=e.popups.get("link.edit");l||(o="",1<=e.opts.linkEditButtons.length&&("A"==e.el.tagName&&0<=e.opts.linkEditButtons.indexOf("linkRemove")&&e.opts.linkEditButtons.splice(e.opts.linkEditButtons.indexOf("linkRemove"),1),o='<div class="fr-buttons">'.concat(e.button.buildList(e.opts.linkEditButtons),"</div>")),i={buttons:o},s=e.popups.create("link.edit",i),e.$wp&&e.events.$on(e.$wp,"scroll.link-edit",function(){a()&&e.popups.isVisible("link.edit")&&t(a())}),l=s);var c=n(r);e.popups.isVisible("link.edit")||e.popups.refresh("link.edit"),e.popups.setContainer("link.edit",e.$sc);var d=c.offset().left+c.outerWidth()/2,f=c.offset().top+c.outerHeight();e.popups.show("link.edit",d,f,c.outerHeight(),!0)}(o)}}},100*!!e.helpers.isIOS())}}function i(){e.popups.hide("link.edit")}function s(){var t=e.popups.get("link.insert"),r=a();if(r){var o,i,s=n(r),l=t.find('input.fr-link-attr[type="text"]'),c=t.find('input.fr-link-attr[type="checkbox"]');for(o=0;o<l.length;o++)(i=n(l[o])).val(s.attr(i.attr("name")||""));for(c.attr("checked",!1),o=0;o<c.length;o++)i=n(c[o]),s.attr(i.attr("name"))==i.data("checked")&&i.attr("checked",!0);t.find('input.fr-link-attr[type="text"][name="text"]').val(s.text())}else t.find('input.fr-link-attr[type="text"]').val(""),t.find('input.fr-link-attr[type="checkbox"]').attr("checked",!1),t.find('input.fr-link-attr[type="text"][name="text"]').val(e.selection.text());t.find("input.fr-link-attr").trigger("change"),(e.image?e.image.get():null)?t.find('.fr
1-link-attr[name="text"]').parent().hide():t.find('.fr-link-attr[name="text"]').parent().show()}function l(t){if(t)return e.popups.onRefresh("link.insert",s),!0;var n="";1<=e.opts.linkInsertButtons.length&&(n='<div class="fr-buttons fr-tabs">'.concat(e.button.buildList(e.opts.linkInsertButtons),"</div>"));var a="",r=0;for(var o in a='<div class="fr-link-insert-layer fr-layer fr-active" id="fr-link-insert-layer-'.concat(e.id,'">')+'<div class="fr-input-line"><input id="fr-link-insert-layer-url-'.concat(e.id,'" name="href" type="text" class="fr-link-attr" placeholder="').concat(e.language.translate("URL"),'" tabIndex="').concat(++r,'"></div>'),e.opts.linkText&&(a+='<div class="fr-input-line"><input id="fr-link-insert-layer-text-'.concat(e.id,'" name="text" type="text" class="fr-link-attr" placeholder="').concat(e.language.translate("Text"),'" tabIndex="').concat(++r,'"></div>')),e.opts.linkAttributes)if(e.opts.linkAttributes.hasOwnProperty(o)){var i=e.opts.linkAttributes[o];a+='<div class="fr-input-line"><input name="'.concat(o,'" type="text" class="fr-link-attr" placeholder="').concat(e.language.translate(i),'" tabIndex="').concat(++r,'"></div>')}e.opts.linkAlwaysBlank||(a+='<div class="fr-checkbox-line"><span class="fr-checkbox"><input name="target" class="fr-link-attr" data-checked="_blank" type="checkbox" id="fr-link-target-'.concat(e.id,'" tabIndex="').concat(++r,'"><span>').concat('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>','</span></span><label id="fr-label-target-').concat(e.id,'">').concat(e.language.translate("Open in new tab"),"</label></div>"));var l={buttons:n,input_layer:a+='<div class="fr-action-buttons"><button class="fr-command fr-submit" role="button" data-cmd="linkInsert" href="#" tabIndex="'.concat(++r,'" type="button">').concat(e.language.translate("Insert"),"</button></div></div>")},c=e.popups.create("link.insert",l);return e.$wp&&e.events.$on(e.$wp,"scroll.link-insert",function(){(e.image?e.image.get():null)&&e.popups.isVisible("link.insert")&&f(),e.popups.isVisible("link.insert")&&d()}),c}function c(i,s,l){if(void 0===l&&(l={}),!1===e.events.trigger("link.beforeInsert",[i,s,l]))return!1;var c=e.image?e.image.get():null;c||"A"==e.el.tagName?"A"==e.el.tagName&&e.$el.focus():(e.selection.restore(),e.popups.hide("link.insert"));var d=i;if(e.opts.linkConvertEmailAddress&&e.helpers.isEmail(i)&&!/^mailto:.*/i.test(i)&&(i="mailto:".concat(i)),""===e.opts.linkAutoPrefix||RegExp("^("+t.LinkProtocols.join("|")+"):.","i").test(i)||/^data:image.*/i.test(i)||/^(https?:|ftps?:|file:|)\/\//i.test(i)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(i)||0>["/","{","[","#","(","."].indexOf((i||"")[0])&&(i=e.opts.linkAutoPrefix+e.helpers.sanitizeURL(i)),i=e.helpers.sanitizeURL(i),e.opts.linkAlwaysBlank&&(l.target="_blank"),e.opts.linkAlwaysNoFollow&&(l.rel="nofollow"),e.helpers.isEmail(d)&&(l.target=null,l.rel=null),"_blank"==l.target?(e.opts.linkNoOpener&&(l.rel?l.rel+=" noopener":l.rel="noopener"),e.opts.linkNoReferrer&&(l.rel?l.rel+=" noreferrer":l.rel="noreferrer")):null==l.target&&(l.rel?l.rel=l.rel.replace(/noopener/,"").replace(/noreferrer/,""):l.rel=null),s=s||"",i===e.opts.linkAutoPrefix)return e.popups.get("link.insert").find('input[name="href"]').addClass("fr-error"),e.events.trigger("link.bad",[d]),!1;var f,p=a();if(p){if((f=n(p)).attr("href",i),0<s.length&&f.text()!=s&&!c){for(var u=f.get(0);1===u.childNodes.length&&u.childNodes[0].nodeType==Node.ELEMENT_NODE;)u=u.childNodes[0];n(u).text(s)}for(var h in c||f.prepend(t.START_MARKER).append(t.END_MARKER),l)l[h]?f.attr(h,l[h]):f.removeAttr(h);c||e.selection.restore()}else{c?(c.wrap('<a href="'.concat(i,'"></a>')),e.image.hasCaption()&&c.parent().append(c.parents(".fr-img-caption").find(".fr-inner"))):(e.format.remove("a"),e.selection.isCollapsed()?(s=0===s.length?d:s,e.html.insert('<a href="'.concat(i,'">').concat(t.START_MARKER).concat(s.replace(/&/g,"&amp;").replace(/</,"&lt;",">","&gt;")).concat(t.END_MARKER,"</a>
1")),e.selection.restore()):0<s.length&&s!=e.selection.text().replace(/\n/g,"")?(e.selection.remove(),e.html.insert('<a href="'.concat(i,'">').concat(t.START_MARKER).concat(s.replace(/&/g,"&amp;")).concat(t.END_MARKER,"</a>")),e.selection.restore()):(!function(){if(!e.selection.isCollapsed()){e.selection.save();for(var t=e.$el.find(".fr-marker").addClass("fr-unprocessed").toArray();t.length;){var a=n(t.pop());a.removeClass("fr-unprocessed");var r=e.node.deepestParent(a.get(0));if(r){for(var o=a.get(0),i="",s="";o=o.parentNode,e.node.isBlock(o)||(i+=e.node.closeTagString(o),s=e.node.openTagString(o)+s),o!=r;);var l=e.node.openTagString(a.get(0))+a.html()+e.node.closeTagString(a.get(0));a.replaceWith('<span id="fr-break"></span>');var c=r.outerHTML;r.outerHTML=c=(c=c.replace(/<span id="fr-break"><\/span>/g,i+l+s)).replace(s+i,"")}t=e.$el.find(".fr-marker.fr-unprocessed").toArray()}e.html.cleanEmptyTags(),e.selection.restore()}}(),e.format.apply("a",{href:i})));for(var g=r(),m=0;m<g.length;m++)(f=n(g[m])).attr(l),f.removeAttr("_moz_dirty");1==g.length&&e.$wp&&!c&&(n(g[0]).prepend(t.START_MARKER).append(t.END_MARKER),e.selection.restore())}if(c){var v=e.popups.get("link.insert");v&&v.find("input:focus").blur(),e.image.edit(c)}else o()}function d(){i();var t=a();if(t){var r=e.popups.get("link.insert");r||(r=l()),e.popups.isVisible("link.insert")||(e.popups.refresh("link.insert"),e.selection.save(),e.helpers.isMobile()&&(e.events.disableBlur(),e.$el.blur(),e.events.enableBlur())),e.popups.setContainer("link.insert",e.$sc);var o=(e.image?e.image.get():null)||n(t),s=o.offset().left+o.outerWidth()/2,c=o.offset().top+o.outerHeight();e.popups.show("link.insert",s,c,o.outerHeight(),!0)}}function f(){var t=e.image?e.image.getEl():null;if(t){var n=e.popups.get("link.insert");e.image.hasCaption()&&(t=t.find(".fr-img-wrap")),n||(n=l()),s(),e.popups.setContainer("link.insert",e.$sc);var a=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();e.popups.show("link.insert",a,r,t.outerHeight(),!0)}}return{_init:function(){e.events.on("keyup",function(e){e.which!=t.KEYCODE.ESC&&o(e)}),e.events.on("window.mouseup",o),e.events.$on(e.$el,"click","a",function(t){e.edit.isDisabled()&&t.preventDefault()}),e.helpers.isMobile()&&e.events.$on(e.$doc,"selectionchange",o),l(!0),"A"==e.el.tagName&&e.$el.addClass("fr-view"),e.events.on("toolbar.esc",function(){if(e.popups.isVisible("link.edit"))return e.events.disableBlur(),e.events.focus(),!1},!0)},remove:function(){var t=a(),r=e.image?e.image.get():null;if(!1===e.events.trigger("link.beforeRemove",[t]))return!1;r&&t?(r.unwrap(),e.image.edit(r)):t&&(e.selection.save(),n(t).replaceWith(n(t).html()),e.selection.restore(),i())},showInsertPopup:function(){var t=e.$tb.find('.fr-command[data-cmd="insertLink"]'),n=e.popups.get("link.insert");if(n||(n=l()),!n.hasClass("fr-active"))if(e.popups.refresh("link.insert"),e.popups.setContainer("link.insert",e.$tb||e.$sc),t.isVisible()){var a=e.button.getPosition(t),r=a.left,o=a.top;e.popups.show("link.insert",r,o,t.outerHeight())}else e.position.forSelection(n),e.popups.show("link.insert")},usePredefined:function(t){var a,r,o=e.opts.linkList[t],i=e.popups.get("link.insert"),s=i.find('input.fr-link-attr[type="text"]'),l=i.find('input.fr-link-attr[type="checkbox"]');for(o.rel&&(i.rel=o.rel),r=0;r<s.length;r++)o[(a=n(s[r])).attr("name")]?(a.val(o[a.attr("name")]),a.toggleClass("fr-not-empty",!0)):"text"!=a.attr("name")&&a.val("");for(r=0;r<l.length;r++)(a=n(l[r])).attr("checked",a.data("checked")==o[a.attr("name")]);e.accessibility.focusPopup(i)},insertCallback:function(){var t,a,r=e.popups.get("link.insert"),o=r.find('input.fr-link-attr[type="text"]'),i=r.find('input.fr-link-attr[type="checkbox"]'),s=(o.filter('[name="href"]').val()||"").trim(),l=e.opts.linkText?o.filter('[name="text"]').val():"",d={};for(a=0;a<o.length;a++)0>["href","text"].indexOf((t=n(o[a])).attr("name"))&&(d[t.attr("name")]=t.val());for(a=0;a<i.length;a++)(t=n(i[a])).is(":checked")?d[t.attr("name")]=t.data("checked"):d[t.attr("name")]=t.data("unchecked")||null;r.rel&&(d.rel=r.rel);var f=e.helpers.scrollTop();c(s,l,d),n(e.o_win).scrollTop(f)},insert:c,update:d,get:a,allSelected:r,back:function(){e.image&&e.image.get()?e.image.back():(e.events.disableBlur(),e.selection.restore(
vendor: 5,483 bytes, line 1
1),e.events.enableBlur(),a()&&e.$wp?(e.selection.restore(),i(),o()):"A"==e.el.tagName?(e.$el.focus(),o()):(e.popups.hide("link.insert"),e.toolbar.showInline()))},imageLink:f,applyStyle:function(t,r,i){void 0===i&&(i=e.opts.linkMultipleStyles),void 0===r&&(r=e.opts.linkStyles);var s=a();if(!s)return!1;if(!i){var l=Object.keys(r);l.splice(l.indexOf(t),1),n(s).removeClass(l.join(" "))}n(s).toggleClass(t),o()}}},t.DefineIcon("insertLink",{NAME:"link",SVG_KEY:"insertLink"}),t.RegisterShortcut(t.KEYCODE.K,"insertLink",null,"K"),t.RegisterCommand("insertLink",{title:"Insert Link",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("link.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("link.insert")):this.link.showInsertPopup()},plugin:"link"}),t.DefineIcon("linkOpen",{NAME:"external-link",FA5NAME:"external-link-alt",SVG_KEY:"openLink"}),t.RegisterCommand("linkOpen",{title:"Open Link",undo:!1,refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},callback:function(){var e=this.link.get();e&&(-1!==e.href.indexOf("mailto:")?this.o_win.open(e.href).close():(e.target||(e.target="_self"),this.browser.msie||this.browser.edge?this.o_win.open(e.href,e.target):this.o_win.open(e.href,e.target,"noopener")),this.popups.hide("link.edit"))},plugin:"link"}),t.DefineIcon("linkEdit",{NAME:"edit",SVG_KEY:"edit"}),t.RegisterCommand("linkEdit",{title:"Edit Link",undo:!1,refreshAfterCallback:!1,popup:!0,callback:function(){this.link.update()},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),t.DefineIcon("linkRemove",{NAME:"unlink",SVG_KEY:"unlink"}),t.RegisterCommand("linkRemove",{title:"Unlink",callback:function(){this.link.remove()},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),t.DefineIcon("linkBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("linkBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.link.back()},refresh:function(e){var t=this.link.get()&&this.doc.hasFocus();(this.image?this.image.get():null)||t||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))},plugin:"link"}),t.DefineIcon("linkList",{NAME:"search",SVG_KEY:"search"}),t.RegisterCommand("linkList",{title:"Choose Link",type:"dropdown",focus:!1,undo:!1,refreshAfterCallback:!1,html:function(){for(var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.linkList,n=0;n<t.length;n++)e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="linkList" data-param1="'.concat(n,'">').concat(t[n].displayText||t[n].text,"</a></li>");return e+"</ul>"},callback:function(e,t){this.link.usePredefined(t)},plugin:"link"}),t.RegisterCommand("linkInsert",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate("Update")):e.text(this.language.translate("Insert"))},plugin:"link"}),t.DefineIcon("imageLink",{NAME:"link",SVG_KEY:"insertLink"}),t.RegisterCommand("imageLink",{title:"Insert Link",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass("fr-separator")&&t.removeClass("fr-hidden"),e.addClass("fr-hidden")):((t=e.prev()).hasClass("fr-separator")&&t.addClass("fr-hidden"),e.removeClass("fr-hidden"))},plugin:"link"}),t.DefineIcon("linkStyle",{NAME:"magic",SVG_KEY:"linkStyles"}),t.RegisterCommand("linkStyle",{title:"Style",type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.linkStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="linkStyle" data-param1="'.concat(n,'">').concat(this.language.translate(t[n]),"</a></li>"));return e+"</ul>"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,a=this.link.get();if(a){var r=n(a);t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=r.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}},refresh:function(e){this.link.get()?e.removeClass("fr-hidden"):e.addClass("fr-hidden")},plugin:"link"}),Object.assign(t.DEFAULTS,{listAdvancedTypes:!0}),t.PLUGINS.lists=function(e){var n=e.$;function a(e){return'<span class="fr-open-'.concat(e.toLowerCase(),'"></span>')}function r(e){return'<span class="fr-close-'.concat(e.toLowerCase(),'"></span>')}function o(t){for(o=t.length-1;0<=o;o--)for(i=o-1;0<=i;i--)if(n(t[i]).find(t[o]).length||t[i]==t[o]){t.splice(o,1);break}var o,i,s=[];for(o=0;o<t.length;o++){var l=n(t[o]),c=t[o].parentNode,d=l.attr("class");if(l.before(r(c.tagName)),"LI"==c.parentNode.tagName)l.before(r("LI")),l.after(a("LI"));else{var f="";d&&(f+=' class="'.concat(d,'"'));var p="rtl"==e.opts.direction||"rtl"==l.css("direction")?"margin-right":"margin-left";e.helpers.getPX(n(c).css(p))&&0<=(n(c).attr("style")||"").indexOf("".concat(p,":"))&&(f+=' style="'.concat(p,":").concat(e.helpers.getPX(n(c).css(p)),'px;"')),e.html.defaultTag()&&0===l.find(e.html.blockTagsQuery()).length&&l.wrapInner(e.html.defaultTag()+f),e.node.isEmpty(l.get(0),!0)||0!==l.find(e.html.blockTagsQuery()).length||l.append("<br>
1"),l.append(a("LI")),l.prepend(r("LI"))}l.after(a(c.tagName)),"LI"==c.parentNode.tagName&&(c=c.parentNode.parentNode),0>s.indexOf(c)&&s.push(c)}for(o=0;o<s.length;o++){var u=n(s[o]),h=u.html();h=(h=h.replace(/<span class="fr-close-([a-z]*)"><\/span>/g,"</$1>")).replace(/<span class="fr-open-([a-z]*)"><\/span>/g,"<$1>"),u.replaceWith(e.node.openTagString(u.get(0))+h+e.node.closeTagString(u.get(0)))}e.$el.find("li:empty").remove(),e.$el.find("ul:empty, ol:empty").remove(),e.clean.lists(),e.html.wrap()}function i(t){e.selection.save();for(var a=0;a<t.length;a++){var r=t[a].previousSibling;if(r){var o=n(t[a]).find("> ul, > ol").last().get(0);if(o){var i=n(document.createElement("li"));n(o).prepend(i);for(var s=e.node.contents(t[a])[0];s&&!e.node.isList(s);){var l=s.nextSibling;i.append(s),s=l}n(r).append(n(o)),n(t[a]).remove()}else{var c=n(r).find("> ul, > ol").last().get(0);if(c)n(c).append(n(t[a]));else{var d=n("<".concat(t[a].parentNode.tagName,">"));n(r).append(d),d.append(n(t[a]))}}}}e.clean.lists(),e.selection.restore()}function s(t){e.selection.save(),o(t),e.selection.restore()}function l(t){if("indent"==t||"outdent"==t){var n=!1,a=e.selection.blocks(),r=[],o=a[0].previousSibling||a[0].parentElement;if("outdent"==t){if("LI"==o.tagName||"LI"!=o.parentNode.tagName)return}else if(!a[0].previousSibling||"LI"!=a[0].previousSibling.tagName)return;for(var l=0;l<a.length;l++)"LI"==a[l].tagName?(n=!0,r.push(a[l])):"LI"==a[l].parentNode.tagName&&(n=!0,r.push(a[l].parentNode));n&&("indent"==t?i(r):s(r))}}return{_init:function(){e.events.on("commands.after",l),e.events.on("keydown",function(n){if(n.which==t.KEYCODE.TAB){for(var a=e.selection.blocks(),r=[],o=0;o<a.length;o++)"LI"==a[o].tagName?r.push(a[o]):"LI"==a[o].parentNode.tagName&&r.push(a[o].parentNode);if(1<r.length||r.length&&(e.selection.info(r[0]).atStart||e.node.isEmpty(r[0])))return n.preventDefault(),n.stopPropagation(),n.shiftKey?s(r):i(r),!1}},!0)},format:function(t,a){var r,i;for(e.html.syncInputs(),e.selection.save(),e.html.wrap(!0,!0,!0,!0),e.selection.restore(),i=e.selection.blocks(),r=0;r<i.length;r++)"LI"!=i[r].tagName&&"LI"==i[r].parentNode.tagName&&(i[r]=i[r].parentNode);for(e.selection.save(),!function(e,t){for(var n=!0,a=0;a<e.length;a++){if("LI"!=e[a].tagName)return!1;e[a].parentNode.tagName!=t&&(n=!1)}return n}(i,t)?function(t,a){!function(t,a){for(var r=[],o=0;o<t.length;o++){var i=t[o].parentNode;"LI"==t[o].tagName&&i.tagName!=a&&0>r.indexOf(i)&&r.push(i)}for(var s=r.length-1;0<=s;s--){var l=n(r[s]);l.replaceWith("<".concat(a.toLowerCase()," ").concat(e.node.attributes(l.get(0)),">").concat(l.html(),"</").concat(a.toLowerCase(),">"))}}(t,a);var r,o=e.html.defaultTag(),i=null;t.length&&(r="rtl"==e.opts.direction||"rtl"==n(t[0]).css("direction")?"margin-right":"margin-left");for(var s=0;s<t.length;s++)if("TD"!=t[s].tagName&&"TH"!=t[s].tagName&&"LI"!=t[s].tagName){var l=e.helpers.getPX(n(t[s]).css(r))||0;(t[s].style.marginLeft=null)===i&&(i=l);var c=0<i?"<".concat(a,' style="').concat(r,": ").concat(i,'px ">'):"<".concat(a,">"),d="</".concat(a,">");for(l-=i;0<l/e.opts.indentMargin;)c+="</".concat(a,">"),d+=d,l-=e.opts.indentMargin;o&&t[s].tagName.toLowerCase()==o?n(t[s]).replaceWith("".concat(c,"<li").concat(e.node.attributes(t[s]),">").concat(n(t[s]).html(),"</li>").concat(d)):n(t[s]).wrap("".concat(c,"<li></li>").concat(d))}e.clean.lists()}(i,t):a||o(i),e.html.unwrap(),e.selection.restore(),a=a||"default",i=e.selection.blocks(),r=0;r<i.length;r++)"LI"!=i[r].tagName&&"LI"==i[r].parentNode.tagName&&(i[r]=i[r].parentNode);for(r=0;r<i.length;r++)"LI"==i[r].tagName&&(n(i[r].parentNode).css("list-style-type","default"===a?"":a),0===(n(i[r].parentNode).attr("style")||"").length&&n(i[r].parentNode).removeAttr("style"))},refresh:function(t,a){var r=n(e.selection.element());if(r.get(0)!=e.el){var o=r.get(0);(o="LI"!=o.tagName&&o.firstElementChild&&"LI"!=o.firstElementChild.tagName?r.parents("li").get(0):"LI"==o.tagName||o.firstElementChild?o.firstElementChild&&"LI"==o.firstElementChild.tagName?r.get(0).firstChild:r.get(0):r.parents("li").get(0))&&o.parentNode.tagName==a&&e.el.contains(o.parentNode)&&t.addClass("fr-active")}}}},t.DefineIcon("formatOLSimple",{NAME:"list-ol",SVG_KEY:"orderedList"}),t.RegisterCommand("formatOLSimple",{title:"Ordered List",type:"button",options:{default:"Default",circle:"Circle",disc:"Disc",square:"Square"},refresh:function(e){this.lists.refresh(e,"OL")},callback:function(e,t){this.lists.format("OL",t)},plugin:"lists"}),t.RegisterCommand("formatUL",{title:"Unordered List",type:"button",hasOptions:function(){return this.opts.listAdvancedTypes},options:{default:"Default",circle:"Circle",disc:"Disc",square:"Square"},refresh:function(e){this.lists.refresh(e,"UL")},callback:function(e,t){this.lists.format("UL",t)},plugin:"lists"}),t.RegisterCommand("formatOL",{title:"Ordered List",hasOptions:function(){return this.opts.listAdvancedTypes},options:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},refresh:function(e){this.lists.refresh(e,"OL")},callback:function(e,t){this.lists.format("OL",t)},plugin:"lists"}),t.DefineIcon("formatUL",{NAME:"list-ul",SVG_KEY:"unorderedList"}),t.DefineIcon("formatOL",{NAME:"list-ol",SVG_KEY:"orderedList"}),Object.assign(t.DEFAULTS,{paragraphFormat:{N:"Normal",H1:"Heading 1",H2:"Heading 2",H3:"Heading 3",H4:"Heading 4",PRE:"Code"},paragraphFormatSelection:!1,paragraphDefaultSelection:"Paragraph Format"}),t.PLUGINS.paragraphFormat=function(e){var t=e.$;return{apply:function(n){"N"==n&&(n=e.html.defaultTag()),e.selection.save(),e.html.wrap(!0,!0,!e.opts.paragraphFormat.BLOCKQUOTE,!0,!0),e.selection.restore(
1);var a,r,o,i,s,l=e.selection.blocks();e.selection.save(),e.$el.find("pre").attr("skip",!0);for(var c=0;c<l.length;c++)if(l[c].tagName!=n&&!e.node.isList(l[c])){var d=t(l[c]);"LI"==l[c].tagName?function(n,a){var r=e.html.defaultTag();if(a&&a.toLowerCase()!=r)if(0<n.find("ul, ol").length){var o=t("<"+a+">");n.prepend(o);for(var i=e.node.contents(n.get(0))[0];i&&0>["UL","OL"].indexOf(i.tagName);){var s=i.nextSibling;o.append(i),i=s}}else n.html("<"+a+">"+n.html()+"</"+a+">")}(d,n):"LI"==l[c].parentNode.tagName&&l[c]?(i=n,s=e.html.defaultTag(),i&&i.toLowerCase()!=s||(i='div class="fr-temp-div"'),d.replaceWith(t("<"+i+">").html(d.html()))):0<=["TD","TH"].indexOf(l[c].parentNode.tagName)?(r=n,o=e.html.defaultTag(),r||(r='div class="fr-temp-div"'+(e.node.isEmpty(d.get(0),!0)?' data-empty="true"':"")),r.toLowerCase()==o?(e.node.isEmpty(d.get(0),!0)||d.append("<br/>"),d.replaceWith(d.html())):d.replaceWith(t("<"+r+">").html(d.html()))):((a=n)||(a='div class="fr-temp-div"'+(e.node.isEmpty(d.get(0),!0)?' data-empty="true"':"")),("H1"==a||"H2"==a||"H3"==a||"H4"==a||"H5"==a)&&e.node.attributes(d.get(0)).includes("font-size:")?d.replaceWith(t("<"+a+" "+e.node.attributes(d.get(0)).replace(/font-size:[0-9]+px;?/,"")+">").html(d.html()).removeAttr("data-empty")):d.replaceWith(t("<"+a+" "+e.node.attributes(d.get(0))+">").html(d.html()).removeAttr("data-empty")))}e.$el.find('pre:not([skip="true"]) + pre:not([skip="true"])').each(function(){t(this).prev().append("<br>"+t(this).html()),t(this).remove()}),e.$el.find("pre").removeAttr("skip"),e.html.unwrap(),e.selection.restore()},refreshOnShow:function(t,n){var a=e.selection.blocks();if(a.length){var r=a[0],o="N",i=e.html.defaultTag();r.tagName.toLowerCase()!=i&&r!=e.el&&(o=r.tagName),n.find('.fr-command[data-param1="'+o+'"]').addClass("fr-active").attr("aria-selected",!0)}else n.find('.fr-command[data-param1="N"]').addClass("fr-active").attr("aria-selected",!0)},refresh:function(t){if(e.opts.paragraphFormatSelection){var n=e.selection.blocks();if(n.length){var a=n[0],r="N",o=e.html.defaultTag();a.tagName.toLowerCase()!=o&&a!=e.el&&(r=a.tagName),0<=["LI","TD","TH"].indexOf(r)&&(r="N"),t.find(">span").text(e.language.translate(e.opts.paragraphFormat[r]))}else t.find(">span").text(e.language.translate(e.opts.paragraphFormat.N))}}}},t.RegisterCommand("paragraphFormat",{type:"dropdown",displaySelection:function(e){return e.opts.paragraphFormatSelection},defaultSelection:function(e){return e.language.translate(e.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.paragraphFormat;for(var n in t)if(t.hasOwnProperty(n)){var a=this.shortcuts.get("paragraphFormat."+n);a=a?'<span class="fr-shortcut">'+a+"</span>":"",e+='<li role="presentation"><'+("N"==n?this.html.defaultTag()||"DIV":n)+' style="padding: 0 !important; margin: 0 !important;" role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="paragraphFormat" data-param1="'+n+'" title="'+this.language.translate(t[n])+'">'+this.language.translate(t[n])+"</a></"+("N"==n?this.html.defaultTag()||"DIV":n)+"></li>"}return e+"</ul>"},title:"Paragraph Format",callback:function(e,t){this.paragraphFormat.apply(t)},refresh:function(e){this.paragraphFormat.refresh(e)},refreshOnShow:function(e,t){this.paragraphFormat.refreshOnShow(e,t)},plugin:"paragraphFormat"}),t.DefineIcon("paragraphFormat",{NAME:"paragraph",SVG_KEY:"paragraphFormat"}
1),Object.assign(t.DEFAULTS,{paragraphStyles:{"fr-text-gray":"Gray","fr-text-bordered":"Bordered","fr-text-spaced":"Spaced","fr-text-uppercase":"Uppercase"},paragraphMultipleStyles:!0}),t.PLUGINS.paragraphStyle=function(e){var t=e.$;return{_init:function(){},apply:function(n,a,r){void 0===a&&(a=e.opts.paragraphStyles),void 0===r&&(r=e.opts.paragraphMultipleStyles);var o="";r||((o=Object.keys(a)).splice(o.indexOf(n),1),o=o.join(" ")),e.selection.save(),e.html.wrap(!0,!0,!0,!0),e.selection.restore();var i=e.selection.blocks();e.selection.save();for(var s=t(i[0]).hasClass(n),l=0;l<i.length;l++)t(i[l]).removeClass(o).toggleClass(n,!s),t(i[l]).hasClass("fr-temp-div")&&t(i[l]).removeClass("fr-temp-div"),""===t(i[l]).attr("class")&&t(i[l]).removeAttr("class");e.html.unwrap(),e.selection.restore()},refreshOnShow:function(n,a){var r=e.selection.blocks();if(r.length){var o=t(r[0]);a.find(".fr-command").each(function(){var e=t(this).data("param1"),n=o.hasClass(e);t(this).toggleClass("fr-active",n).attr("aria-selected",n)})}}}},t.RegisterCommand("paragraphStyle",{type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.paragraphStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command '.concat(n,'" tabIndex="-1" role="option" data-cmd="paragraphStyle" data-param1="').concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+"</ul>"},title:"Paragraph Style",callback:function(e,t){this.paragraphStyle.apply(t)},refreshOnShow:function(e,t){this.paragraphStyle.refreshOnShow(e,t)},plugin:"paragraphStyle"}),t.DefineIcon("paragraphStyle",{NAME:"magic",SVG_KEY:"paragraphStyle"}),Object.assign(t.DEFAULTS,{html2pdf:window.html2pdf}),t.PLUGINS.print=function(e){return{run:function(){!function(t){var n=e.html.get(),a=null;e.shared.print_iframe?a=e.shared.print_iframe:((a=document.createElement("iframe")).name="fr-print",a.style.position="fixed",a.style.top="0",a.style.left="-9999px",a.style.height="100%",a.style.width="0",a.style.overflow="hidden",a.style["z-index"]="2147483647",a.style.tabIndex="-1",e.events.on("shared.destroy",function(){a.remove()}),e.shared.print_iframe=a);try{document.body.removeChild(a)}catch(e){}document.body.appendChild(a),a.addEventListener("load",function e(){t(),a.removeEventListener("load",e)});var r=a.contentWindow;r.document.open(),r.document.write("<!DOCTYPE html><html "+(e.opts.documentReady?'style="margin: 0; padding: 0;"':"")+"><head><title>"+document.title+"</title>"),Array.prototype.forEach.call(document.querySelectorAll("style"),function(e){e=e.cloneNode(!0),r.document.write(e.outerHTML)});var o=document.querySelectorAll("link[rel=stylesheet]");Array.prototype.forEach.call(o,function(e){var t=document.createElement("link");t.rel=e.rel,t.href=e.href,t.media="print",t.type="text/css",t.media="all",r.document.write(t.outerHTML)}
1),r.document.write('</head><body style="height:auto;text-align: '+("rtl"==e.opts.direction?"right":"left")+"; direction: "+e.opts.direction+"; "+(e.opts.documentReady?" padding: 2cm; width: 17cm; margin: 0;":"")+'"><div class="fr-view">'),r.document.write(n),r.document.write("</div></body></html>"),r.document.close()}(function(){setTimeout(function(){e.events.disableBlur(),window.frames["fr-print"].focus(),window.frames["fr-print"].print(),e.$win.get(0).focus(),e.events.disableBlur(),e.events.focus()},0)})},toPDF:function(){e.opts.html2pdf&&(e.$el.css("text-align","left"),e.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(e.el).save(),setTimeout(function(){e.$el.css("text-align","")},100))}}},t.DefineIcon("print",{NAME:"print",SVG_KEY:"print"}),t.RegisterCommand("print",{title:"Print",undo:!1,focus:!1,plugin:"print",callback:function(){this.print.run()}}),t.DefineIcon("getPDF",{NAME:"file-pdf-o",FA5NAME:"file-pdf",SVG_KEY:"pdfExport"}),t.RegisterCommand("getPDF",{title:"Download PDF",type:"button",focus:!1,undo:!1,callback:function(){this.print.toPDF()}}),Object.assign(t.DEFAULTS,{quickInsertButtons:["image","video","embedly","table","ul","ol","hr"],quickInsertTags:["p","div","h1","h2","h3","h4","h5","h6","pre","blockquote"],quickInsertEnabled:!0}),t.QUICK_INSERT_BUTTONS={},t.DefineIcon("quickInsert",{SVG_KEY:"add",template:"svg"}),t.RegisterQuickInsertButton=function(e,n){t.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},n)},t.RegisterQuickInsertButton("image",{icon:"insertImage",requiredPlugin:"image",title:"Insert Image",undo:!1,callback:function(){var e=this.$;this.shared.$qi_image_input||(this.shared.$qi_image_input=e(document.createElement("input")).attr("accept","image/"+this.opts.imageAllowedTypes.join(", image/").toLowerCase()).attr("name","quickInsertImage".concat(this.id)).attr("style","display: none;").attr("type","file"),e("body").first().append(this.shared.$qi_image_input),this.events.$on(this.shared.$qi_image_input,"change",function(){var t=e(this).data("inst");this.files&&(t.quickInsert.hide(),t.image.upload(this.files)),e(this).val("")},!0)),this.$qi_image_input=this.shared.$qi_image_input,this.helpers.isMobile()&&this.selection.save(),this.events.disableBlur(),this.$qi_image_input.data("inst",this)[0].click()}}),t.RegisterQuickInsertButton("video",{icon:"insertVideo",requiredPlugin:"video",title:"Insert Video",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of the video you want to insert."));e&&this.video.insertByURL(e)}}),t.RegisterQuickInsertButton("embedly",{icon:"embedly",requiredPlugin:"embedly",title:"Embed URL",undo:!1,callback:function(){var e=prompt(this.language.translate("Paste the URL of any web content you want to insert."));e&&this.embedly.add(e)}}),t.RegisterQuickInsertButton("table",{icon:"insertTable",requiredPlugin:"table",title:"Insert Table",callback:function(){this.table.insert(2,2)}}),t.RegisterQuickInsertButton("ol",{icon:"formatOL",requiredPlugin:"lists",title:"Ordered List",callback:function(){this.lists.format("OL")}}),t.RegisterQuickInsertButton("ul",{icon:"formatUL",requiredPlugin:"lists",title:"Unordered List",callback:function(){this.lists.format("UL")}}),t.RegisterQuickInsertButton("hr",{icon:"insertHR",title:"Insert Horizontal Line",callback:function(){this.commands.insertHR()}}),t.PLUGINS.quickInsert=function(e){var n,a,r=e.$;function o(o){var i,s,d;if((i=o.offset().top-e.$box.offset().top,s=(e.$iframe&&e.$iframe.offset().left||0)+o.offset().left<n.outerWidth()?o.offset().left+n.outerWidth():0-n.outerWidth(),e.opts.enter!=t.ENTER_BR)?d=(n.outerHeight()-o.outerHeight())/2:(r(document.createElement("span")).html(t.INVISIBLE_SPACE).insertAfter(o),d=(n.outerHeight()-o.next().outerHeight())/2,o.next().remove()),e.opts.iframe){var f=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top"));i+=e.$iframe.offset().top+f}n.hasClass("fr-on")&&0<=i&&a.css("top",i-d),0<=i&&i-Math.abs(d)<=e.$box.outerHeight()-o.outerHeight()?(n.hasClass("fr-hidden")&&(n.hasClass("fr-on")&&l(),n.removeClass("fr-hidden")),n.css("top",i-d)):n.hasClass("fr-visible")&&(n.addClass("fr-hidden"),c()),n.css("left",s)}
vendor: 15,843 bytes, line 1
1function i(){if(e.core.hasFocus()){var f,p=e.selection.element();if(e.opts.enter==t.ENTER_BR||e.node.isBlock(p)||(p=e.node.blockParent(p)),e.opts.enter==t.ENTER_BR&&!e.node.isBlock(p)){var u=e.node.deepestParent(p);u&&(p=u)}p&&(e.opts.enter!=t.ENTER_BR&&e.node.isEmpty(p)&&0<=e.opts.quickInsertTags.indexOf(p.tagName.toLowerCase())||e.opts.enter==t.ENTER_BR&&("BR"==p.tagName&&(!p.previousSibling||"BR"==p.previousSibling.tagName||e.node.isBlock(p.previousSibling))||e.node.isEmpty(p)&&(!p.previousSibling||"BR"==p.previousSibling.tagName||e.node.isBlock(p.previousSibling))&&(!p.nextSibling||"BR"==p.nextSibling.tagName||e.node.isBlock(p.nextSibling))))?n&&n.data("tag").is(r(p))&&n.hasClass("fr-on")?c():e.selection.isCollapsed()&&(f=r(p),n||(e.shared.$quick_insert||(e.shared.$quick_insert=r(document.createElement("div")).attr("class","fr-quick-insert").html('<a class="fr-floating-btn" role="button" tabIndex="-1" title="'.concat(e.language.translate("Quick Insert"),'">').concat(e.icon.create("quickInsert"),"</a>"))),n=e.shared.$quick_insert,e.tooltip.bind(e.$box,".fr-quick-insert > a.fr-floating-btn"),e.events.on("destroy",function(){r("body").first().append(n.removeClass("fr-on")),a&&(c(),r("body").first().append(a.css("left",-9999).css("top",-9999)))},!0),e.events.on("shared.destroy",function(){n.html("").removeData().remove(),n=null,a&&(a.html("").removeData().remove(),a=null)},!0),e.events.on("commands.before",s),e.events.on("commands.after",function(){e.popups.areVisible()||i()}),e.events.bindClick(e.$box,".fr-quick-insert > a",l),e.events.bindClick(e.$box,".fr-qi-helper > a.fr-btn",function(n){var a=r(n.currentTarget).data("cmd");if(!1===e.events.trigger("quickInsert.commands.before",[a]))return!1;t.QUICK_INSERT_BUTTONS[a].callback.apply(e,[n.currentTarget]),t.QUICK_INSERT_BUTTONS[a].undo&&e.undo.saveStep(),e.events.trigger("quickInsert.commands.after",[a]),e.quickInsert.hide()}),e.events.$on(e.$wp,"scroll",d),e.events.$on(e.$tb,"transitionend",".fr-more-toolbar",d)),n.hasClass("fr-on")&&c(),e.$box.append(n),o(f),n.data("tag",f),n.addClass("fr-visible")):s()}}function s(){n&&(n.hasClass("fr-on")&&c(),n.removeClass("fr-visible fr-on"),n.css("left",-9999).css("top",-9999))}function l(o){if(o&&o.preventDefault(),n.hasClass("fr-on")&&!n.hasClass("fr-hidden"))c();else{if(!e.shared.$qi_helper){for(var i=e.opts.quickInsertButtons,s='<div class="fr-qi-helper">',l=0,d=0;d<i.length;d++){var f=t.QUICK_INSERT_BUTTONS[i[d]];f&&(!f.requiredPlugin||t.PLUGINS[f.requiredPlugin]&&0<=e.opts.pluginsEnabled.indexOf(f.requiredPlugin))&&(s+='<a class="fr-btn fr-floating-btn" role="button" title="'.concat(e.language.translate(f.title),'" tabIndex="-1" data-cmd="').concat(i[d],'" style="transition-delay: ').concat(.025*l++,'s;">').concat(e.icon.create(f.icon),"</a>"))}s+="</div>",e.shared.$qi_helper=r(s),e.tooltip.bind(e.shared.$qi_helper,"a.fr-btn"),e.events.$on(e.shared.$qi_helper,"mousedown",function(e){e.preventDefault()},!0)}a=e.shared.$qi_helper,e.$box.append(a),setTimeout(function(){a.css("top",parseFloat(n.css("top"))),a.css("left",parseFloat(n.css("left"))+n.outerWidth()),a.find("a").addClass("fr-size-1"),n.addClass("fr-on")},10)}}function c(){var t=e.$box.find(".fr-qi-helper");t.length&&function(){for(var e=t.find("a"),a=0;a<e.length;a++)!function(n){setTimeout(function(){t.children().eq(e.length-1-n).removeClass("fr-size-1")},25*n)}(a);setTimeout(function(){t.css("left",-9999),n&&!n.hasClass("fr-hidden")&&n.removeClass("fr-on")},25*a)}()}function d(){n.hasClass("fr-visible")&&o(n.data("tag"))}return{_init:function(){if(!e.$wp||!e.opts.quickInsertEnabled)return!1;e.popups.onShow("image.edit",s),e.events.on("mouseup",i),e.helpers.isMobile()&&e.events.$on(r(e.o_doc),"selectionchange",i),e.events.on("blur",s),e.events.on("keyup",i),e.events.on("keydown",function(){setTimeout(function(){i()},0)})},hide:s}},t.PLUGINS.quote=function(e){var t=e.$;return{apply:function(n){e.selection.save(),e.html.wrap(!0,!0,!0,!0),e.selection.restore(),"increase"==n?function(){var n,a=e.selection.blocks();for(n=0;n<a.length;n++)a[n]=function(t){for(;t.parentNode&&t.parentNode!=e.el;)t=t.parentNode;return t}(a[n]);e.selection.save();var r=t(document.createElement("blockquote"));for(r.insertBefore(a[0]),n=0;n<a.length;n++)r.append(a[n]);e.html.unwrap(),e.selection.restore()}():"decrease"==n&&function(){var n,a=e.selection.blocks();for(n=0;n<a.length;n++)"BLOCKQUOTE"!=a[n].tagName&&(a[n]=t(a[n]).parentsUntil(e.$el,"BLOCKQUOTE").get(0));for(e.selection.save(),n=0;n<a.length;n++)a[n]&&t(a[n]).replaceWith(a[n].innerHTML);e.html.unwrap(),e.selection.restore()}()}}},t.RegisterShortcut(t.KEYCODE.SINGLE_QUOTE,"quote","increase","'"),t.RegisterShortcut(t.KEYCODE.SINGLE_QUOTE,"quote","decrease","'",!0),t.RegisterCommand("quote",{title:"Quote",type:"dropdown",html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t={increase:"Increase",decrease:"Decrease"};for(var n in t)if(t.hasOwnProperty(n)){var a=this.shortcuts.get("quote.".concat(n));e+='<li role="presentation"><a class="fr-command fr-active '.concat(n,'" tabIndex="-1" role="option" data-cmd="quote" data-param1="').concat(n,'" title="').concat(t[n],'">').concat(this.language.translate(t[n])).concat(a?'<span class="fr-shortcut">'.concat(a,"</span>"):"","</a></li>")}return e+"</ul>"},callback:function(e,t){this.quote.apply(t)},plugin:"quote"}),t.DefineIcon("quote",{NAME:"quote-left",SVG_KEY:"blockquote"}),Object.assign(t.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:"body",saveMethod:"POST"}),t.PLUGINS.save=function(e){var t=e.$,n=null,a=null,r=!1,o={};function i(t,n){e.events.trigger("save.error",[{code:t,message:o[t]},n])}function s(n){void 0===n&&(n=e.html.get());var r=n,o=e.events.trigger("save.before",[n]);if(!1===o)return!1;if("string"==typeof o&&(n=o),e.opts.saveURL){var s={};for(var l in e.opts.saveParams)if(e.opts.saveParams.hasOwnProperty(l)){var c=e.opts.saveParams[l];s[l]="function"==typeof c?c.call(this):c}var d={};d[e.opts.saveParam]=n,t(this).ajax({method:e.opts.saveMethod,url:e.opts.saveURL,data:Object.assign(d,s),crossDomain:e.opts.requestWithCORS,withCredentials:e.opts.requestWithCredentials,headers:e.opts.requestHeaders,done:function(t,n,o){a=r,e.events.trigger("save.after",[t])},fail:function(e){i(2,e.response||e.responseText)}})}else i(1)}function l(){clearTimeout(n),n=setTimeout(function(){var t=e.html.get();(a!=t||r)&&(r=!1,s(a=t))},0)}return o[1]="Missing saveURL option.",o[2]="Something went wrong during save.",{_init:function(){if(e.opts.letteringClass)for(var t=e.opts.letteringClass,r=e.$el.find(".".concat(t)).length,o=0;o<r;o++)e.$el.find(".".concat(t))[o].innerHTML=e.$el.find(".".concat(t))[o].innerText.replace(/([\w'-]+|[?.",])/g,"<span class = 'fr-word-select'>$1</span>");e.opts.saveInterval&&(a=e.html.get(),e.events.on("contentChanged",function(){setTimeout(l,e.opts.saveInterval)}),e.events.on("keydown destroy",function(){clearTimeout(n)}))},save:s,reset:function(){l(),r=!1},force:function(){r=!0}}},t.DefineIcon("save",{NAME:"floppy-o",FA5NAME:"save"}),t.RegisterCommand("save",{title:"Save",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:"save"}),Object.assign(t.DEFAULTS,{specialCharactersSets:[{title:"Latin",char:"&iexcl;",list:[{char:"&iexcl;",desc:"INVERTED EXCLAMATION MARK"},{char:"&cent;",desc:"CENT SIGN"},{char:"&pound;",desc:"POUND SIGN"},{char:"&curren;",desc:"CURRENCY SIGN"},{char:"&yen;",desc:"YEN SIGN"},{char:"&brvbar;",desc:"BROKEN BAR"},{char:"&sect;",desc:"SECTION SIGN"},{char:"&uml;",desc:"DIAERESIS"},{char:"&copy;",desc:"COPYRIGHT SIGN"},{char:"&trade;",desc:"TRADEMARK SIGN"},{char:"&ordf;",desc:"FEMININE ORDINAL INDICATOR"},{char:"&laquo;",desc:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"},{char:"&not;",desc:"NOT SIGN"},{char:"&reg;",desc:"REGISTERED SIGN"},{char:"&macr;",desc:"MACRON"},{char:"&deg;",desc:"DEGREE SIGN"},{char:"&plusmn;",desc:"PLUS-MINUS SIGN"},{char:"&sup2;",desc:"SUPERSCRIPT TWO"},{char:"&sup3;",desc:"SUPERSCRIPT THREE"},{char:"&acute;",desc:"ACUTE ACCENT"},{char:"&micro;",desc:"MICRO SIGN"},{char:"&para;",desc:"PILCROW SIGN"},{char:"&middot;",desc:"MIDDLE DOT"},{char:"&cedil;",desc:"CEDILLA"},{char:"&sup1;",desc:"SUPERSCRIPT ONE"},{char:"&ordm;",desc:"MASCULINE ORDINAL INDICATOR"},{char:"&raquo;",desc:"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"},{char:"&frac14;",desc:"VULGAR FRACTION ONE QUARTER"},{char:"&frac12;",desc:"VULGAR FRACTION ONE HALF"},{char:"&frac34;",desc:"VULGAR FRACTION THREE QUARTERS"},{char:"&iquest;",desc:"INVERTED QUESTION MARK"},{char:"&Agrave;",desc:"LATIN CAPITAL LETTER A WITH GRAVE"},{char:"&Aacute;",desc:"LATIN CAPITAL LETTER A WITH ACUTE"},{char:"&Acirc;",desc:"LATIN CAPITAL LETTER A WITH CIRCUMFLEX"},{char:"&Atilde;",desc:"LATIN CAPITAL LETTER A WITH TILDE"},{char:"&Auml;",desc:"LATIN CAPITAL LETTER A WITH DIAERESIS "},{char:"&Aring;",desc:"LATIN CAPITAL LETTER A WITH RING ABOVE"},{char:"&AElig;",desc:"LATIN CAPITAL LETTER AE"},{char:"&Ccedil;",desc:"LATIN CAPITAL LETTER C WITH CEDILLA"},{char:"&Egrave;",desc:"LATIN CAPITAL LETTER E WITH GRAVE"},{char:"&Eacute;",desc:"LATIN CAPITAL LETTER E WITH ACUTE"},{char:"&Ecirc;",desc:"LATIN CAPITAL LETTER E WITH CIRCUMFLEX"},{char:"&Euml;",desc:"LATIN CAPITAL LETTER E WITH DIAERESIS"},{char:"&Igrave;",desc:"LATIN CAPITAL LETTER I WITH GRAVE"},{char:"&Iacute;",desc:"LATIN CAPITAL LETTER I WITH ACUTE"},{char:"&Icirc;",desc:"LATIN CAPITAL LETTER I WITH CIRCUMFLEX"},{char:"&Iuml;",desc:"LATIN CAPITAL LETTER I WITH DIAERESIS"},{char:"&ETH;",desc:"LATIN CAPITAL LETTER ETH"},{char:"&Ntilde;",desc:"LATIN CAPITAL LETTER N WITH TILDE"},{char:"&Ograve;",desc:"LATIN CAPITAL LETTER O WITH GRAVE"},{char:"&Oacute;",desc:"LATIN CAPITAL LETTER O WITH ACUTE"},{char:"&Ocirc;",desc:"LATIN CAPITAL LETTER O WITH CIRCUMFLEX"},{char:"&Otilde;",desc:"LATIN CAPITAL LETTER O WITH TILDE"},{char:"&Ouml;",desc:"LATIN CAPITAL LETTER O WITH DIAERESIS"},{char:"&times;",desc:"MULTIPLICATION SIGN"},{char:"&Oslash;",desc:"LATIN CAPITAL LETTER O WITH STROKE"},{char:"&Ugrave;",desc:"LATIN CAPITAL LETTER U WITH GRAVE"},{char:"&Uacute;",desc:"LATIN CAPITAL LETTER U WITH ACUTE"},{char:"&Ucirc;",desc:"LATIN CAPITAL LETTER U WITH CIRCUMFLEX"},{char:"&Uuml;",desc:"LATIN CAPITAL LETTER U WITH DIAERESIS"},{char:"&Yacute;",desc:"LATIN CAPITAL LETTER Y WITH ACUTE"},{char:"&THORN;",desc:"LATIN CAPITAL LETTER THORN"},{char:"&szlig;",desc:"LATIN SMALL LETTER SHARP S"},{char:"&agrave;",desc:"LATIN SMALL LETTER A WITH GRAVE"},{char:"&aacute;",desc:"LATIN SMALL LETTER A WITH ACUTE "},{char:"&acirc;",desc:"LATIN SMALL LETTER A WITH CIRCUMFLEX"},{char:"&atilde;",desc:"LATIN SMALL LETTER A WITH TILDE"},{char:"&auml;",desc:"LATIN SMALL LETTER A WITH DIAERESIS"},{char:"&aring;",desc:"LATIN SMALL LETTER A WITH RING ABOVE"},{char:"&aelig;",desc:"LATIN SMALL LETTER AE"},{char:"&ccedil;",desc:"LATIN SMALL LETTER C WITH CEDILLA"},{char:"&egrave;",desc:"LATIN SMALL LETTER E WITH GRAVE"},{char:"&eacute;",desc:"LATIN SMALL LETTER E WITH ACUTE"},{char:"&ecirc;",desc:"LATIN SMALL LETTER E WITH CIRCUMFLEX"},{char:"&euml;",desc:"LATIN SMALL LETTER E WITH DIAERESIS"},{char:"&igrave;",desc:"LATIN SMALL LETTER I WITH GRAVE"},{char:"&iacute;",desc:"LATIN SMALL LETTER I WITH ACUTE"},{char:"&icirc;",desc:"LATIN SMALL LETTER I WITH CIRCUMFLEX"},{char:"&iuml;",desc:"LATIN SMALL LETTER I WITH DIAERESIS"},{char:"&eth;",desc:"LATIN SMALL LETTER ETH"},{char:"&ntilde;",desc:"LATIN SMALL LETTER N WITH TILDE"},{char:"&ograve;",desc:"LATIN SMALL LETTER O WITH GRAVE"},{char:"&oacute;",desc:"LATIN SMALL LETTER O WITH ACUTE"},{char:"&ocirc;",desc:"LATIN SMALL LETTER O WITH CIRCUMFLEX"},{char:"&otilde;",desc:"LATIN SMALL LETTER O WITH TILDE"},{char:"&ouml;",desc:"LATIN SMALL LETTER O WITH DIAERESIS"},{char:"&divide;",desc:"DIVISION SIGN"},{char:"&oslash;",desc:"LATIN SMALL LETTER O WITH STROKE"},{char:"&ugrave;",desc:"LATIN SMALL LETTER U WITH GRAVE"},{char:"&uacute;",desc:"LATIN SMALL LETTER U WITH ACUTE"},{char:"&ucirc;",desc:"LATIN SMALL LETTER U WITH CIRCUMFLEX"},{char:"&uuml;",desc:"LATIN SMALL LETTER U WITH DIAERESIS"},{char:"&yacute;",desc:"LATIN SMALL LETTER Y WITH ACUTE"},{char:"&thorn;",desc:"LATIN SMALL LETTER THORN"},{char:"&yuml;",desc:"LATIN SMALL LETTER Y WITH DIAERESIS"}]},{title:"Greek",char:"&Alpha;",list:[{char:"&Alpha;",desc:"GREEK CAPITAL LETTER ALPHA"},{char:"&Beta;",desc:"GREEK CAPITAL LETTER BETA"},{char:"&Gamma;",desc:"GREEK CAPITAL LETTER GAMMA"},{char:"&Delta;",desc:"GREEK CAPITAL LETTER DELTA"},{char:"&Epsilon;",desc:"GREEK CAPITAL LETTER EPSILON"},{char:"&Zeta;",desc:"GREEK CAPITAL LETTER ZETA"},{char:"&Eta;",desc:"GREEK CAPITAL LETTER ETA"},{char:"&Theta;",desc:"GREEK CAPITAL LETTER THETA"},{char:"&Iota;",desc:"GREEK CAPITAL LETTER IOTA"},{char:"&Kappa;",desc:"GREEK CAPITAL LETTER KAPPA"},{char:"&Lambda;",desc:"GREEK CAPITAL LETTER LAMBDA"},{char:"&Mu;",desc:"GREEK CAPITAL LETTER MU"},{char:"&Nu;",desc:"GREEK CAPITAL LETTER NU"},{char:"&Xi;",desc:"GREEK CAPITAL LETTER XI"},{char:"&Omicron;",desc:"GREEK CAPITAL LETTER OMICRON"},{char:"&Pi;",desc:"GREEK CAPITAL LETTER PI"},{char:"&Rho;",desc:"GREEK CAPITAL LETTER RHO"},{char:"&Sigma;",desc:"GREEK CAPITAL LETTER SIGMA"},{char:"&Tau;",desc:"GREEK CAPITAL LETTER TAU"},{char:"&Upsilon;",desc:"GREEK CAPITAL LETTER UPSILON"},{char:"&Phi;",desc:"GREEK CAPITAL LETTER PHI"},{char:"&Chi;",desc:"GREEK CAPITAL LETTER CHI"},{char:"&Psi;",desc:"GREEK CAPITAL LETTER PSI"},{char:"&Omega;",desc:"GREEK CAPITAL LETTER OMEGA"},{char:"&alpha;",desc:"GREEK SMALL LETTER ALPHA"},{char:"&beta;",desc:"GREEK SMALL LETTER BETA"},{char:"&gamma;",desc:"GREEK SMALL LETTER GAMMA"},{char:"&delta;",desc:"GREEK SMALL LETTER DELTA"},{char:"&epsilon;",desc:"GREEK SMALL LETTER EPSILON"},{char:"&zeta;",desc:"GREEK SMALL LETTER ZETA"},{char:"&eta;",desc:"GREEK SMALL LETTER ETA"},{char:"&theta;",desc:"GREEK SMALL LETTER THETA"},{char:"&iota;",desc:"GREEK SMALL LETTER IOTA"},{char:"&kappa;",desc:"GREEK SMALL LETTER KAPPA"},{char:"&lambda;",desc:"GREEK SMALL LETTER LAMBDA"},{char:"&mu;",desc:"GREEK SMALL LETTER MU"},{char:"&nu;",desc:"GREEK SMALL LETTER NU"},{char:"&xi;",desc:"GREEK SMALL LETTER XI"},{char:"&omicron;",desc:"GREEK SMALL LETTER OMICRON"},{char:"&pi;",desc:"GREEK SMALL LETTER PI"},{char:"&rho;",desc:"GREEK SMALL LETTER RHO"},{char:"&sigmaf;",desc:"GREEK SMALL LETTER FINAL SIGMA"},{char:"&sigma;",desc:"GREEK SMALL LETTER SIGMA"},{char:"&tau;",desc:"GREEK SMALL LETTER TAU"},{char:"&upsilon;",desc:"GREEK SMALL LETTER UPSILON"},{char:"&phi;",desc:"GREEK SMALL LETTER PHI"},{char:"&chi;",desc:"GREEK SMALL LETTER CHI"},{char:"&psi;",desc:"GREEK SMALL LETTER PSI"},{char:"&omega;",desc:"GREEK SMALL LETTER OMEGA"},{char:"&thetasym;",desc:"GREEK THETA SYMBOL"},{char:"&upsih;",desc:"GREEK UPSILON WITH HOOK SYMBOL"},{char:"&straightphi;",desc:"GREEK PHI SYMBOL"},{char:"&piv;",desc:"GREEK PI SYMBOL"},{char:"&Gammad;",desc:"GREEK LETTER DIGAMMA"},{char:"&gammad;",desc:"GREEK SMALL LETTER DIGAMMA"},{char:"&varkappa;",desc:"GREEK KAPPA SYMBOL"},{char:"&varrho;",desc:"GREEK RHO SYMBOL"},{char:"&straightepsilon;",desc:"GREEK LUNATE EPSILON SYMBOL"},{char:"&backepsilon;",desc:"GREEK REVERSED LUNATE EPSILON SYMBOL"}]},{title:"Cyrillic",char:"&#x400",list:[{char:"&#x400",desc:"CYRILLIC CAPITAL LETTER IE WITH GRAVE"},{char:"&#x401",desc:"CYRILLIC CAPITAL LETTER IO"},{char:"&#x402",desc:"CYRILLIC CAPITAL LETTER DJE"},{char:"&#x403",desc:"CYRILLIC CAPITAL LETTER GJE"},{char:"&#x404",desc:"CYRILLIC CAPITAL LETTER UKRAINIAN IE"},{char:"&#x405",desc:"CYRILLIC CAPITAL LETTER DZE"},{char:"&#x406",desc:"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I"},{char:"&#x407",desc:"CYRILLIC CAPITAL LETTER YI"},{char:"&#x408",desc:"CYRILLIC CAPITAL LETTER JE"},{char:"&#x409",desc:"CYRILLIC CAPITAL LETTER LJE"},{char:"&#x40A",desc:"CYRILLIC CAPITAL LETTER NJE"},{char:"&#x40B",desc:"CYRILLIC CAPITAL LETTER TSHE"}
1,{char:"&#x40C",desc:"CYRILLIC CAPITAL LETTER KJE"},{char:"&#x40D",desc:"CYRILLIC CAPITAL LETTER I WITH GRAVE"},{char:"&#x40E",desc:"CYRILLIC CAPITAL LETTER SHORT U"},{char:"&#x40F",desc:"CYRILLIC CAPITAL LETTER DZHE"},{char:"&#x410",desc:"CYRILLIC CAPITAL LETTER A"},{char:"&#x411",desc:"CYRILLIC CAPITAL LETTER BE"},{char:"&#x412",desc:"CYRILLIC CAPITAL LETTER VE"},{char:"&#x413",desc:"CYRILLIC CAPITAL LETTER GHE"},{char:"&#x414",desc:"CYRILLIC CAPITAL LETTER DE"},{char:"&#x415",desc:"CYRILLIC CAPITAL LETTER IE"},{char:"&#x416",desc:"CYRILLIC CAPITAL LETTER ZHE"},{char:"&#x417",desc:"CYRILLIC CAPITAL LETTER ZE"},{char:"&#x418",desc:"CYRILLIC CAPITAL LETTER I"},{char:"&#x419",desc:"CYRILLIC CAPITAL LETTER SHORT I"},{char:"&#x41A",desc:"CYRILLIC CAPITAL LETTER KA"},{char:"&#x41B",desc:"CYRILLIC CAPITAL LETTER EL"},{char:"&#x41C",desc:"CYRILLIC CAPITAL LETTER EM"},{char:"&#x41D",desc:"CYRILLIC CAPITAL LETTER EN"},{char:"&#x41E",desc:"CYRILLIC CAPITAL LETTER O"},{char:"&#x41F",desc:"CYRILLIC CAPITAL LETTER PE"},{char:"&#x420",desc:"CYRILLIC CAPITAL LETTER ER"},{char:"&#x421",desc:"CYRILLIC CAPITAL LETTER ES"},{char:"&#x422",desc:"CYRILLIC CAPITAL LETTER TE"},{char:"&#x423",desc:"CYRILLIC CAPITAL LETTER U"},{char:"&#x424",desc:"CYRILLIC CAPITAL LETTER EF"},{char:"&#x425",desc:"CYRILLIC CAPITAL LETTER HA"},{char:"&#x426",desc:"CYRILLIC CAPITAL LETTER TSE"},{char:"&#x427",desc:"CYRILLIC CAPITAL LETTER CHE"},{char:"&#x428",desc:"CYRILLIC CAPITAL LETTER SHA"},{char:"&#x429",desc:"CYRILLIC CAPITAL LETTER SHCHA"},{char:"&#x42A",desc:"CYRILLIC CAPITAL LETTER HARD SIGN"},{char:"&#x42B",desc:"CYRILLIC CAPITAL LETTER YERU"},{char:"&#x42C",desc:"CYRILLIC CAPITAL LETTER SOFT SIGN"},{char:"&#x42D",desc:"CYRILLIC CAPITAL LETTER E"},{char:"&#x42E",desc:"CYRILLIC CAPITAL LETTER YU"},{char:"&#x42F",desc:"CYRILLIC CAPITAL LETTER YA"},{char:"&#x430",desc:"CYRILLIC SMALL LETTER A"},{char:"&#x431",desc:"CYRILLIC SMALL LETTER BE"},{char:"&#x432",desc:"CYRILLIC SMALL LETTER VE"},{char:"&#x433",desc:"CYRILLIC SMALL LETTER GHE"},{char:"&#x434",desc:"CYRILLIC SMALL LETTER DE"},{char:"&#x435",desc:"CYRILLIC SMALL LETTER IE"},{char:"&#x436",desc:"CYRILLIC SMALL LETTER ZHE"},{char:"&#x437",desc:"CYRILLIC SMALL LETTER ZE"},{char:"&#x438",desc:"CYRILLIC SMALL LETTER I"},{char:"&#x439",desc:"CYRILLIC SMALL LETTER SHORT I"},{char:"&#x43A",desc:"CYRILLIC SMALL LETTER KA"},{char:"&#x43B",desc:"CYRILLIC SMALL LETTER EL"},{char:"&#x43C",desc:"CYRILLIC SMALL LETTER EM"},{char:"&#x43D",desc:"CYRILLIC SMALL LETTER EN"},{char:"&#x43E",desc:"CYRILLIC SMALL LETTER O"},{char:"&#x43F",desc:"CYRILLIC SMALL LETTER PE"},{char:"&#x440",desc:"CYRILLIC SMALL LETTER ER"},{char:"&#x441",desc:"CYRILLIC SMALL LETTER ES"},{char:"&#x442",desc:"CYRILLIC SMALL LETTER TE"},{char:"&#x443",desc:"CYRILLIC SMALL LETTER U"},{char:"&#x444",desc:"CYRILLIC SMALL LETTER EF"},{char:"&#x445",desc:"CYRILLIC SMALL LETTER HA"},{char:"&#x446",desc:"CYRILLIC SMALL LETTER TSE"},{char:"&#x447",desc:"CYRILLIC SMALL LETTER CHE"},{char:"&#x448",desc:"CYRILLIC SMALL LETTER SHA"},{char:"&#x449",desc:"CYRILLIC SMALL LETTER SHCHA"},{char:"&#x44A",desc:"CYRILLIC SMALL LETTER HARD SIGN"},{char:"&#x44B",desc:"CYRILLIC SMALL LETTER YERU"},{char:"&#x44C",desc:"CYRILLIC SMALL LETTER SOFT SIGN"},{char:"&#x44D",desc:"CYRILLIC SMALL LETTER E"},{char:"&#x44E",desc:"CYRILLIC SMALL LETTER YU"},{char:"&#x44F",desc:"CYRILLIC SMALL LETTER YA"},{char:"&#x450",desc:"CYRILLIC SMALL LETTER IE WITH GRAVE"},{char:"&#x451",desc:"CYRILLIC SMALL LETTER IO"},{char:"&#x452",desc:"CYRILLIC SMALL LETTER DJE"},{char:"&#x453",desc:"CYRILLIC SMALL LETTER GJE"},{char:"&#x454",desc:"CYRILLIC SMALL LETTER UKRAINIAN IE"},{char:"&#x455",desc:"CYRILLIC SMALL LETTER DZE"},{char:"&#x456",desc:"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I"},{char:"&#x457",desc:"CYRILLIC SMALL LETTER YI"},{char:"&#x458",desc:"CYRILLIC SMALL LETTER JE"},{char:"&#x459",desc:"CYRILLIC SMALL LETTER LJE"},{char:"&#x45A",desc:"CYRILLIC SMALL LETTER NJE"},{char:"&#x45B",desc:"CYRILLIC SMALL LETTER TSHE"},{char:"&#x45C",desc:"CYRILLIC SMALL LETTER KJE"},{char:"&#x45D",desc:"CYRILLIC SMALL LETTER I WITH GRAVE"},{char:"&#x45E",desc:"CYRILLIC SMALL LETTER SHORT U"},{char:"&#x45F",desc:"CYRILLIC SMALL LETTER DZHE"}]},{title:"Punctuation",char:"&ndash;",list:[{char:"&ndash;",desc:"EN DASH"},{char:"&mdash;",desc:"EM DASH"},{char:"&lsquo;",desc:"LEFT SINGLE QUOTATION MARK"},{char:"&rsquo;",desc:"RIGHT SINGLE QUOTATION MARK"},{char:"&sbquo;",desc:"SINGLE LOW-9 QUOTATION MARK"},{char:"&ldquo;",desc:"LEFT DOUBLE QUOTATION MARK"},{char:"&rdquo;",desc:"RIGHT DOUBLE QUOTATION MARK"},{char:"&bdquo;",desc:"DOUBLE LOW-9 QUOTATION MARK"},{char:"&dagger;",desc:"DAGGER"},{char:"&Dagger;",desc:"DOUBLE DAGGER"},{char:"&bull;",desc:"BULLET"},{char:"&hellip;",desc:"HORIZONTAL ELLIPSIS"},{char:"&permil;",desc:"PER MILLE SIGN"},{char:"&prime;",desc:"PRIME"},{char:"&Prime;",desc:"DOUBLE PRIME"},{char:"&lsaquo;",desc:"SINGLE LEFT-POINTING ANGLE QUOTATION MARK"},{char:"&rsaquo;",desc:"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"},{char:"&oline;",desc:"OVERLINE"},{char:"&frasl;
1",desc:"FRACTION SLASH"}]},{title:"Currency",char:"&#x20A0",list:[{char:"&#x20A0",desc:"EURO-CURRENCY SIGN"},{char:"&#x20A1",desc:"COLON SIGN"},{char:"&#x20A2",desc:"CRUZEIRO SIGN"},{char:"&#x20A3",desc:"FRENCH FRANC SIGN"},{char:"&#x20A4",desc:"LIRA SIGN"},{char:"&#x20A5",desc:"MILL SIGN"},{char:"&#x20A6",desc:"NAIRA SIGN"},{char:"&#x20A7",desc:"PESETA SIGN"},{char:"&#x20A8",desc:"RUPEE SIGN"},{char:"&#x20A9",desc:"WON SIGN"},{char:"&#x20AA",desc:"NEW SHEQEL SIGN"},{char:"&#x20AB",desc:"DONG SIGN"},{char:"&#x20AC",desc:"EURO SIGN"},{char:"&#x20AD",desc:"KIP SIGN"},{char:"&#x20AE",desc:"TUGRIK SIGN"},{char:"&#x20AF",desc:"DRACHMA SIGN"},{char:"&#x20B0",desc:"GERMAN PENNY SYMBOL"},{char:"&#x20B1",desc:"PESO SIGN"},{char:"&#x20B2",desc:"GUARANI SIGN"},{char:"&#x20B3",desc:"AUSTRAL SIGN"},{char:"&#x20B4",desc:"HRYVNIA SIGN"},{char:"&#x20B5",desc:"CEDI SIGN"},{char:"&#x20B6",desc:"LIVRE TOURNOIS SIGN"},{char:"&#x20B7",desc:"SPESMILO SIGN"},{char:"&#x20B8",desc:"TENGE SIGN"},{char:"&#x20B9",desc:"INDIAN RUPEE SIGN"}]},{title:"Arrows",char:"&#x2190",list:[{char:"&#x2190",desc:"LEFTWARDS ARROW"},{char:"&#x2191",desc:"UPWARDS ARROW"},{char:"&#x2192",desc:"RIGHTWARDS ARROW"},{char:"&#x2193",desc:"DOWNWARDS ARROW"},{char:"&#x2194",desc:"LEFT RIGHT ARROW"},{char:"&#x2195",desc:"UP DOWN ARROW"},{char:"&#x2196",desc:"NORTH WEST ARROW"},{char:"&#x2197",desc:"NORTH EAST ARROW"},{char:"&#x2198",desc:"SOUTH EAST ARROW"},{char:"&#x2199",desc:"SOUTH WEST ARROW"},{char:"&#x219A",desc:"LEFTWARDS ARROW WITH STROKE"}
1,{char:"&#x219B",desc:"RIGHTWARDS ARROW WITH STROKE"},{char:"&#x219C",desc:"LEFTWARDS WAVE ARROW"},{char:"&#x219D",desc:"RIGHTWARDS WAVE ARROW"},{char:"&#x219E",desc:"LEFTWARDS TWO HEADED ARROW"},{char:"&#x219F",desc:"UPWARDS TWO HEADED ARROW"},{char:"&#x21A0",desc:"RIGHTWARDS TWO HEADED ARROW"},{char:"&#x21A1",desc:"DOWNWARDS TWO HEADED ARROW"},{char:"&#x21A2",desc:"LEFTWARDS ARROW WITH TAIL"},{char:"&#x21A3",desc:"RIGHTWARDS ARROW WITH TAIL"},{char:"&#x21A4",desc:"LEFTWARDS ARROW FROM BAR"},{char:"&#x21A5",desc:"UPWARDS ARROW FROM BAR"},{char:"&#x21A6",desc:"RIGHTWARDS ARROW FROM BAR"},{char:"&#x21A7",desc:"DOWNWARDS ARROW FROM BAR"},{char:"&#x21A8",desc:"UP DOWN ARROW WITH BASE"},{char:"&#x21A9",desc:"LEFTWARDS ARROW WITH HOOK"},{char:"&#x21AA",desc:"RIGHTWARDS ARROW WITH HOOK"},{char:"&#x21AB",desc:"LEFTWARDS ARROW WITH LOOP"},{char:"&#x21AC",desc:"RIGHTWARDS ARROW WITH LOOP"},{char:"&#x21AD",desc:"LEFT RIGHT WAVE ARROW"},{char:"&#x21AE",desc:"LEFT RIGHT ARROW WITH STROKE"},{char:"&#x21AF",desc:"DOWNWARDS ZIGZAG ARROW"},{char:"&#x21B0",desc:"UPWARDS ARROW WITH TIP LEFTWARDS"},{char:"&#x21B1",desc:"UPWARDS ARROW WITH TIP RIGHTWARDS"},{char:"&#x21B2",desc:"DOWNWARDS ARROW WITH TIP LEFTWARDS"},{char:"&#x21B3",desc:"DOWNWARDS ARROW WITH TIP RIGHTWARDS"},{char:"&#x21B4",desc:"RIGHTWARDS ARROW WITH CORNER DOWNWARDS"},{char:"&#x21B5",desc:"DOWNWARDS ARROW WITH CORNER LEFTWARDS"},{char:"&#x21B6",desc:"ANTICLOCKWISE TOP SEMICIRCLE ARROW"},{char:"&#x21B7",desc:"CLOCKWISE TOP SEMICIRCLE ARROW"},{char:"&#x21B8",desc:"NORTH WEST ARROW TO LONG BAR"},{char:"&#x21B9",desc:"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR"},{char:"&#x21BA",desc:"ANTICLOCKWISE OPEN CIRCLE ARROW"},{char:"&#x21BB",desc:"CLOCKWISE OPEN CIRCLE ARROW"},{char:"&#x21BC",desc:"LEFTWARDS HARPOON WITH BARB UPWARDS"},{char:"&#x21BD",desc:"LEFTWARDS HARPOON WITH BARB DOWNWARDS"},{char:"&#x21BE",desc:"UPWARDS HARPOON WITH BARB RIGHTWARDS"},{char:"&#x21BF",desc:"UPWARDS HARPOON WITH BARB LEFTWARDS"},{char:"&#x21C0",desc:"RIGHTWARDS HARPOON WITH BARB UPWARDS"},{char:"&#x21C1",desc:"RIGHTWARDS HARPOON WITH BARB DOWNWARDS"},{char:"&#x21C2",desc:"DOWNWARDS HARPOON WITH BARB RIGHTWARDS"},{char:"&#x21C3",desc:"DOWNWARDS HARPOON WITH BARB LEFTWARDS"},{char:"&#x21C4",desc:"RIGHTWARDS ARROW OVER LEFTWARDS ARROW"},{char:"&#x21C5",desc:"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW"},{char:"&#x21C6",desc:"LEFTWARDS ARROW OVER RIGHTWARDS ARROW"},{char:"&#x21C7",desc:"LEFTWARDS PAIRED ARROWS"},{char:"&#x21C8",desc:"UPWARDS PAIRED ARROWS"},{char:"&#x21C9",desc:"RIGHTWARDS PAIRED ARROWS"},{char:"&#x21CA",desc:"DOWNWARDS PAIRED ARROWS"},{char:"&#x21CB",desc:"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON"},{char:"&#x21CC",desc:"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON"},{char:"&#x21CD",desc:"LEFTWARDS DOUBLE ARROW WITH STROKE"},{char:"&#x21CE",desc:"LEFT RIGHT DOUBLE ARROW WITH STROKE"},{char:"&#x21CF",desc:"RIGHTWARDS DOUBLE ARROW WITH STROKE"},{char:"&#x21D0",desc:"LEFTWARDS DOUBLE ARROW"},{char:"&#x21D1",desc:"UPWARDS DOUBLE ARROW"},{char:"&#x21D2",desc:"RIGHTWARDS DOUBLE ARROW"},{char:"&#x21D3",desc:"DOWNWARDS DOUBLE ARROW"},{char:"&#x21D4",desc:"LEFT RIGHT DOUBLE ARROW"},{char:"&#x21D5",desc:"UP DOWN DOUBLE ARROW"},{char:"&#x21D6",desc:"NORTH WEST DOUBLE ARROW"},{char:"&#x21D7",desc:"NORTH EAST DOUBLE ARROW"},{char:"&#x21D8",desc:"SOUTH EAST DOUBLE ARROW"},{char:"&#x21D9",desc:"SOUTH WEST DOUBLE ARROW"},{char:"&#x21DA",desc:"LEFTWARDS TRIPLE ARROW"},{char:"&#x21DB",desc:"RIGHTWARDS TRIPLE ARROW"},{char:"&#x21DC",desc:"LEFTWARDS SQUIGGLE ARROW"},{char:"&#x21DD",desc:"RIGHTWARDS SQUIGGLE ARROW"},{char:"&#x21DE",desc:"UPWARDS ARROW WITH DOUBLE STROKE"},{char:"&#x21DF",desc:"DOWNWARDS ARROW WITH DOUBLE STROKE"},{char:"&#x21E0",desc:"LEFTWARDS DASHED ARROW"},{char:"&#x21E1",desc:"UPWARDS DASHED ARROW"},{char:"&#x21E2",desc:"RIGHTWARDS DASHED ARROW"},{char:"&#x21E3",desc:"DOWNWARDS DASHED ARROW"},{char:"&#x21E4",desc:"LEFTWARDS ARROW TO BAR"},{char:"&#x21E5",desc:"RIGHTWARDS ARROW TO BAR"},{char:"&#x21E6",desc:"LEFTWARDS WHITE ARROW"},{char:"&#x21E7",desc:"UPWARDS WHITE ARROW"},{char:"&#x21E8",desc:"RIGHTWARDS WHITE ARROW"},{char:"&#x21E9",desc:"DOWNWARDS WHITE ARROW"},{char:"&#x21EA",desc:"UPWARDS WHITE ARROW FROM BAR"},{char:"&#x21EB",desc:"UPWARDS WHITE ARROW ON PEDESTAL"},{char:"&#x21EC",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR"},{char:"&#x21ED",desc:"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR"}
1,{char:"&#x21EE",desc:"UPWARDS WHITE DOUBLE ARROW"},{char:"&#x21EF",desc:"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL"},{char:"&#x21F0",desc:"RIGHTWARDS WHITE ARROW FROM WALL"},{char:"&#x21F1",desc:"NORTH WEST ARROW TO CORNER"},{char:"&#x21F2",desc:"SOUTH EAST ARROW TO CORNER"},{char:"&#x21F3",desc:"UP DOWN WHITE ARROW"},{char:"&#x21F4",desc:"RIGHT ARROW WITH SMALL CIRCLE"},{char:"&#x21F5",desc:"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW"},{char:"&#x21F6",desc:"THREE RIGHTWARDS ARROWS"},{char:"&#x21F7",desc:"LEFTWARDS ARROW WITH VERTICAL STROKE"},{char:"&#x21F8",desc:"RIGHTWARDS ARROW WITH VERTICAL STROKE"},{char:"&#x21F9",desc:"LEFT RIGHT ARROW WITH VERTICAL STROKE"},{char:"&#x21FA",desc:"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{char:"&#x21FB",desc:"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE"},{char:"&#x21FC",desc:"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE"},{char:"&#x21FD",desc:"LEFTWARDS OPEN-HEADED ARROW"},{char:"&#x21FE",desc:"RIGHTWARDS OPEN-HEADED ARROW"},{char:"&#x21FF",desc:"LEFT RIGHT OPEN-HEADED ARROW"}]},{title:"Math",char:"&forall;",list:[{char:"&forall;",desc:"FOR ALL"},{char:"&part;",desc:"PARTIAL DIFFERENTIAL"},{char:"&exist;",desc:"THERE EXISTS"},{char:"&empty;",desc:"EMPTY SET"},{char:"&nabla;",desc:"NABLA"},{char:"&isin;",desc:"ELEMENT OF"},{char:"&notin;",desc:"NOT AN ELEMENT OF"},{char:"&ni;",desc:"CONTAINS AS MEMBER"},{char:"&prod;",desc:"N-ARY PRODUCT"},{char:"&sum;",desc:"N-ARY SUMMATION"},{char:"&minus;",desc:"MINUS SIGN"},{char:"&lowast;",desc:"ASTERISK OPERATOR"},{char:"&radic;",desc:"SQUARE ROOT"},{char:"&prop;",desc:"PROPORTIONAL TO"},{char:"&infin;",desc:"INFINITY"},{char:"&ang;",desc:"ANGLE"},{char:"&and;",desc:"LOGICAL AND"},{char:"&or;",desc:"LOGICAL OR"},{char:"&cap;",desc:"INTERSECTION"},{char:"&cup;",desc:"UNION"},{char:"&int;",desc:"INTEGRAL"},{char:"&there4;",desc:"THEREFORE"},{char:"&sim;",desc:"TILDE OPERATOR"},{char:"&cong;",desc:"APPROXIMATELY EQUAL TO"},{char:"&asymp;",desc:"ALMOST EQUAL TO"},{char:"&ne;",desc:"NOT EQUAL TO"},{char:"&equiv;",desc:"IDENTICAL TO"},{char:"&le;",desc:"LESS-THAN OR EQUAL TO"},{char:"&ge;",desc:"GREATER-THAN OR EQUAL TO"},{char:"&sub;",desc:"SUBSET OF"},{char:"&sup;",desc:"SUPERSET OF"},{char:"&nsub;",desc:"NOT A SUBSET OF"},{char:"&sube;",desc:"SUBSET OF OR EQUAL TO"},{char:"&supe;",desc:"SUPERSET OF OR EQUAL TO"},{char:"&oplus;",desc:"CIRCLED PLUS"},{char:"&otimes;",desc:"CIRCLED TIMES"},{char:"&perp;",desc:"UP TACK"}]},{title:"Misc",char:"&spades;",list:[{char:"&spades;",desc:"BLACK SPADE SUIT"},{char:"&clubs;",desc:"BLACK CLUB SUIT"},{char:"&hearts;",desc:"BLACK HEART SUIT"},{char:"&diams;",desc:"BLACK DIAMOND SUIT"},{char:"&#x2669",desc:"QUARTER NOTE"},{char:"&#x266A",desc:"EIGHTH NOTE"},{char:"&#x266B",desc:"BEAMED EIGHTH NOTES"},{char:"&#x266C",desc:"BEAMED SIXTEENTH NOTES"},{char:"&#x266D",desc:"MUSIC FLAT SIGN"},{char:"&#x266E",desc:"MUSIC NATURAL SIGN"},{char:"&#x2600",desc:"BLACK SUN WITH RAYS"},{char:"&#x2601",desc:"CLOUD"},{char:"&#x2602",desc:"UMBRELLA"},{char:"&#x2603",desc:"SNOWMAN"},{char:"&#x2615",desc:"HOT BEVERAGE"},{char:"&#x2618",desc:"SHAMROCK"},{char:"&#x262F",desc:"YIN YANG"},{char:"&#x2714",desc:"HEAVY CHECK MARK"},{char:"&#x2716",desc:"HEAVY MULTIPLICATION X"},{char:"&#x2744",desc:"SNOWFLAKE"},{char:"&#x275B",desc:"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"},{char:"&#x275C",desc:"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"},{char:"&#x275D",desc:"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"},{char:"&#x275E",desc:"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"},{char:"&#x2764",desc:"HEAVY BLACK HEART"}]}],specialCharButtons:["specialCharBack","|"]}),Object.assign(t.POPUP_TEMPLATES,{specialCharacters:"[_BUTTONS_][_CUSTOM_LAYER_]"}),t.PLUGINS.specialCharacters=function(e){var n=e.$,a=e.opts.specialCharactersSets[0],r=e.opts.specialCharactersSets,o="";function i(){var e,t,n;return'\n        <div class="fr-buttons fr-tabs fr-tabs-scroll">\n          '.concat((e=a,t="",r.forEach(function(n){var a={elementClass:n.title===e.title?"fr-active fr-active-tab":"",title:n.title,dataParam1:n.title,desc:n.char};t+='<button class="fr-command fr-btn fr-special-character-category '.concat(a.elementClass,'" title="').concat(a.title,'" data-cmd="setSpecialCharacterCategory" data-param1="').concat(a.dataParam1,'"><span>
1').concat(a.desc,"</span></button>")}),t),'\n        </div>\n        <div class="fr-icon-container fr-sc-container">\n          ').concat((n="",a.list.forEach(function(e){var t={dataParam1:e.char,title:e.desc,splCharValue:e.char};n+='<span class="fr-command fr-special-character fr-icon" role="button" \n      data-cmd="insertSpecialCharacter" data-param1="'.concat(t.dataParam1,'" \n      title="').concat(t.title,'">').concat(t.splCharValue,"</span>")}),n),"\n        </div>")}return{setSpecialCharacterCategory:function(t){a=r.filter(function(e){return e.title===t})[0],e.popups.get("specialCharacters").html(o+i())},showSpecialCharsPopup:function(){var a,r,s,l=e.popups.get("specialCharacters");if(l||(e.opts.toolbarInline&&0<e.opts.specialCharButtons.length&&(o='<div class="fr-buttons fr-tabs">'.concat(e.button.buildList(e.opts.specialCharButtons),"</div>")),a={buttons:o,custom_layer:i()},s=r=e.popups.create("specialCharacters",a),e.events.on("popup.tab",function(a){var r=n(a.currentTarget);if(!e.popups.isVisible("specialCharacters")||!r.is("span, a"))return!0;var o,i,l,c=a.which;if(t.KEYCODE.TAB==c){if(r.is("span.fr-icon")&&a.shiftKey||r.is("a")&&!a.shiftKey){var d=s.find(".fr-buttons");o=!e.accessibility.focusToolbar(d,!!a.shiftKey)}if(!1!==o){var f=s.find("span.fr-icon:focus").first().concat(s.findVisible(" span.fr-icon").first().concat(s.find("a")));r.is("span.fr-icon")&&(f=f.not("span.fr-icon:not(:focus)")),i=f.index(r),i=a.shiftKey?((i-1)%f.length+f.length)%f.length:(i+1)%f.length,l=f.get(i),e.events.disableBlur(),l.focus(),o=!1}}else if(t.KEYCODE.ARROW_UP==c||t.KEYCODE.ARROW_DOWN==c||t.KEYCODE.ARROW_LEFT==c||t.KEYCODE.ARROW_RIGHT==c){if(r.is("span.fr-icon")){var p=r.parent().find("span.fr-icon");i=p.index(r);var u=Math.floor(p.length/11),h=i%11,g=11*Math.floor(i/11)+h,m=11*u;t.KEYCODE.ARROW_UP==c?g=((g-11)%m+m)%m:t.KEYCODE.ARROW_DOWN==c?g=(g+11)%m:t.KEYCODE.ARROW_LEFT==c?g=((g-1)%m+m)%m:t.KEYCODE.ARROW_RIGHT==c&&(g=(g+1)%m),l=n(p.get(g)),e.events.disableBlur(),l.focus(),o=!1}}else t.KEYCODE.ENTER==c&&(r.is("a")?r[0].click():e.button.exec(r),o=!1);return!1===o&&(a.preventDefault(),a.stopPropagation()),o},!0),l=r),!l.hasClass("fr-active")){e.popups.refresh("specialCharacters"),e.popups.setContainer("specialCharacters",e.$tb);var c=e.$tb.find('.fr-command[data-cmd="specialCharacters"]'),d=e.button.getPosition(c),f=d.left,p=d.top;e.popups.show("specialCharacters",f,p,outerHeight)}},back:function(){e.popups.hide("specialCharacters"),e.toolbar.showInline()}}},t.DefineIcon("specialCharacters",{NAME:"dollar-sign",SVG_KEY:"symbols"}),t.RegisterCommand("specialCharacters",{title:"Special Characters",icon:"specialCharacters",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:"specialCharacters",showOnMobile:!0,callback:function(){this.popups.isVisible("specialCharacters")?(this.$el.find(".fr-marker")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("specialCharacters")):this.specialCharacters.showSpecialCharsPopup()}}),t.RegisterCommand("insertSpecialCharacter",{callback:function(e,t){this.undo.saveStep(),this.html.insert(t),this.undo.saveStep(),this.popups.hide("specialCharacters")}}),t.RegisterCommand("setSpecialCharacterCategory",{undo:!1,focus:!1,callback:function(e,t){this.specialCharacters.setSpecialCharacterCategory(t)}}),t.DefineIcon("specialCharBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("specialCharBack",{title:"Back",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}}),Object.assign(t.POPUP_TEMPLATES,{"table.insert":"[_BUTTONS_][_ROWS_COLUMNS_]","table.edit":"[_BUTTONS_]","table.colors":"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]"}),Object.assign(t.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:["tableHeader","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackgroun
1d","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],tableInsertButtons:["tableBack","|"],tableResizer:!0,tableDefaultWidth:"100%",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:["tableBack","|"],tableColors:["#61BD6D","#1ABC9C","#54ACD2","#2C82C9","#9365B8","#475577","#CCCCCC","#41A85F","#00A885","#3D8EB9","#2969B0","#553982","#28324E","#000000","#F7DA64","#FBA026","#EB6B56","#E25041","#A38F84","#EFEFEF","#FFFFFF","#FAC51C","#F37934","#D14841","#B8312F","#7C706B","#D1D5D8","REMOVE"],tableColorsStep:7,tableCellStyles:{"fr-highlighted":"Highlighted","fr-thick":"Thick"},tableStyles:{"fr-dashed-borders":"Dashed Borders","fr-alternate-rows":"Alternate Rows"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),t.PLUGINS.table=function(e){var n,a,r,o,i,s,l,c=e.$;function d(){var t=y();if(t){var n=e.popups.get("table.edit");if(n||(n=h()),n){e.popups.setContainer("table.edit",e.$sc);var a=R(t),r=a.left+(a.right-a.left)/2,o=a.bottom;e.popups.show("table.edit",r,o,a.bottom-a.top,!0),e.edit.isDisabled()&&(1<j().length&&e.toolbar.disable(),e.$el.removeClass("fr-no-selection"),e.edit.on(),e.button.bulkRefresh(),e.selection.setAtEnd(e.$el.find(".fr-selected-cell").last().get(0)),e.selection.restore())}}}function f(){0===j().length&&e.toolbar.enable()}function p(n){if(n)return e.popups.onHide("table.insert",function(){e.popups.get("table.insert").find('.fr-table-size .fr-select-table-size > span[data-row="1"][data-col="1"]').trigger("mouseover")}),!0;var a="";0<e.opts.tableInsertButtons.length&&(a='<div class="fr-buttons fr-tabs">'.concat(e.button.buildList(e.opts.tableInsertButtons),"</div>"));var r={buttons:a,rows_columns:function(){for(var t='<div class="fr-table-size"><div class="fr-table-size-info">1 &times; 1</div><div class="fr-select-table-size">',n=1;n<=e.opts.tableInsertMaxSize;n++){for(var a=1;a<=e.opts.tableInsertMaxSize;a++){var r="inline-block";2<n&&!e.helpers.isMobile()&&(r="none");var o="fr-table-cell ";1==n&&1==a&&(o+=" hover"),t+='<span class="fr-command '.concat(o,'" tabIndex="-1" data-cmd="tableInsert" data-row="').concat(n,'" data-col="').concat(a,'" data-param1="').concat(n,'" data-param2="').concat(a,'" style="display: ').concat(r,';" role="button"><span></span><span class="fr-sr-only">').concat(n," &times; ").concat(a,"&nbsp;&nbsp;&nbsp;</span></span>")}t+='<div class="new-line"></div>'}
vendor: 6,498 bytes, line 1
1return t+"</div></div>"}()},o=e.popups.create("table.insert",r);return e.events.$on(o,"mouseover",".fr-table-size .fr-select-table-size .fr-table-cell",function(e){u(c(e.currentTarget))},!0),e.events.$on(o,"focus","[tabIndex]",function(e){u(c(e.currentTarget))}),e.events.on("popup.tab",function(n){var a=c(n.currentTarget);if(!e.popups.isVisible("table.insert")||!a.is("span, a"))return!0;var r,o=n.which;if(t.KEYCODE.ARROW_UP==o||t.KEYCODE.ARROW_DOWN==o||t.KEYCODE.ARROW_LEFT==o||t.KEYCODE.ARROW_RIGHT==o){if(a.is("span.fr-table-cell")){var i=a.parent().find("span.fr-table-cell"),s=i.index(a),l=e.opts.tableInsertMaxSize,d=s%l,f=Math.floor(s/l);t.KEYCODE.ARROW_UP==o?f=Math.max(0,f-1):t.KEYCODE.ARROW_DOWN==o?f=Math.min(e.opts.tableInsertMaxSize-1,f+1):t.KEYCODE.ARROW_LEFT==o?d=Math.max(0,d-1):t.KEYCODE.ARROW_RIGHT==o&&(d=Math.min(e.opts.tableInsertMaxSize-1,d+1));var p=f*l+d,h=c(i.get(p));u(h),e.events.disableBlur(),h.focus(),r=!1}}else t.KEYCODE.ENTER==o&&(e.button.exec(a),r=!1);return!1===r&&(n.preventDefault(),n.stopPropagation()),r},!0),o}function u(t){var n=t.data("row");null!==n&&(n=parseInt(n));var a=t.data("col");null!==a&&(a=parseInt(a));var r=t.parent();r.siblings(".fr-table-size-info").html("".concat(n," &times; ").concat(a)),r.find("> span").removeClass("hover fr-active-item");for(var o=1;o<=e.opts.tableInsertMaxSize;o++)for(var i=0;i<=e.opts.tableInsertMaxSize;i++){var s=r.find('> span[data-row="'.concat(o,'"][data-col="').concat(i,'"]'));o<=n&&i<=a?s.addClass("hover"):o<=n+1||o<=2&&!e.helpers.isMobile()?s.css("display","inline-block"):2<o&&!e.helpers.isMobile()&&s.css("display","none")}t.addClass("fr-active-item")}function h(t){if(t)return e.popups.onHide("table.edit",f),!0;if(0<e.opts.tableEditButtons.length){var n={buttons:'<div class="fr-buttons">'.concat(e.button.buildList(e.opts.tableEditButtons),"</div>")},a=e.popups.create("table.edit",n);return e.events.$on(e.$wp,"scroll.table-edit",function(){e.popups.isVisible("table.edit")&&d()}),a}return!1}function g(){if(0<j().length){var t=q();e.selection.setBefore(t.get(0))||e.selection.setAfter(t.get(0)),e.selection.restore(),e.popups.hide("table.edit"),t.remove(),e.toolbar.enable()}}function m(t){var n=q();if(0<n.length){if(0<e.$el.find("th.fr-selected-cell").length&&"above"==t)return;var a,r,o,i=y(),s=w(i);if(null==s)return;r="above"==t?s.min_i:s.max_i;var l="<tr>";for(a=0;a<i[r].length;a++)if("below"==t&&r<i.length-1&&i[r][a]==i[r+1][a]||"above"==t&&0<r&&i[r][a]==i[r-1][a]){if(0===a||0<a&&i[r][a]!=i[r][a-1]){var f=c(i[r][a]);f.attr("rowspan",parseInt(f.attr("rowspan"),10)+1)}}else l+='<td style="'+c(i[r][a]).attr("style")+'" ><br></td>';l+="</tr>",o=0<e.$el.find("th.fr-selected-cell").length&&"below"==t?c(n.find("tbody").not(n.find("> table tbody"))):c(n.find("tr").not(n.find("> table tr")).get(r)),"below"==t?"TBODY"==o.attr("tagName")?o.prepend(l):o[0].parentNode&&o[0].insertAdjacentHTML("afterend",l):"above"==t&&(o.before(l),e.popups.isVisible("table.edit")&&d())}}function v(e,t,n){var a,r,o,i,s,l=0,c=y(n);if(e<(t=Math.min(t,c[0].length-1))){for(r=e;r<=t;r++)if(!(e<r&&c[0][r]==c[0][r-1])&&1<(i=Math.min(parseInt(c[0][r].getAttribute("colspan"),10)||1,t-e+1))&&c[0][r]==c[0][r+1]){for(l=i-1,a=1;a<c.length;a++)if(c[a][r]!=c[a-1][r]){for(o=r;o<r+i;o++)if(1<(s=parseInt(c[a][o].getAttribute("colspan"),10)||1)&&c[a][o]==c[a][o+1])o+=l=Math.min(l,s-1);else if(!(l=Math.max(0,l-1)))break;if(!l)break}}}l&&C(c,l,"colspan",0,c.length-1,e,t)}function b(e,t,n){var a,r,o,i,s,l=0,c=y(n);if(e<(t=Math.min(t,c.length-1))){for(a=e;a<=t;a++)if(!(e<a&&c[a][0]==c[a-1][0])&&1<(i=Math.min(parseInt(c[a][0].getAttribute("rowspan"),10)||1,t-e+1))&&c[a][0]==c[a+1][0]){for(l=i-1,r=1;r<c[0].length;r++)if(c[a][r]!=c[a][r-1]){for(o=a;o<a+i;o++)if(1<(s=parseInt(c[o][r].getAttribute("rowspan"),10)||1)&&c[o][r]==c[o+1][r])o+=l=Math.min(l,s-1);else if(!(l=Math.max(0,l-1)))break;if(!l)break}}}l&&C(c,l,"rowspan",e,t,0,c[0].length-1)}function C(e,t,n,a,r,o,i){var s,l,c;for(s=a;s<=r;s++)for(l=o;l<=i;l++)a<s&&e[s][l]==e[s-1][l]||o<l&&e[s][l]==e[s][l-1]||1<(c=parseInt(e[s][l].getAttribute(n),10)||1)&&(1<c-t?e[s][l].setAttribute(n,c-t):e[s][l].removeAttribute(n))}function E(t){var n=e.$el.find(".fr-selected-cell");"REMOVE"!=t?n.css("background-color",e.helpers.HEXtoRGB(t)):n.css("background-color",""),d()}function y(e){var t=[];return null==(e=e||null)&&0<j().length&&(e=q()),e&&e.findVisible("tr").not(e.find("> table tr")).each(function(e,n){var a=c(n),r=0;a.find("> th, > td").each(function(n,a){for(var o=c(a),i=parseInt(o.attr("colspan"),10)||1,s=parseInt(o.attr("rowspan"),10)||1,l=e;l<e+s;l++)for(var d=r;d<r+i;d++)t[l]||(t[l]=[]),t[l][d]?r++:t[l][d]=a;r+=i})}),t}function T(e,t){for(var n=0;n<t.length;n++)for(var a=0;a<t[n].length;a++)if(t[n][a]==e)return{row:n,col:a}}function A(e,t,n){for(var a=e+1,r=t+1;a<n.length;){if(n[a][t]!=n[e][t]){a--;break}a++}for(a==n.length&&a--;r<n[e].length;){if(n[e][r]!=n[e][t]){r--;break}r++}return r==n[e].length&&r--,{row:a,col:r}}function L(){e.el.querySelector(".fr-cell-fixed")&&e.el.querySelector(".fr-cell-fixed").classList.remove("fr-cell-fixed"),e.el.querySelector(".fr-cell-handler")&&e.el.querySelector(".fr-cell-handler").classList.remove("fr-cell-handler")}function x(){var t=e.$el.find(".fr-selected-cell");0<t.length&&t.each(function(){var e=c(this);e.removeClass("fr-selected-cell"),""===e.attr("class")&&e.removeAttr("class")}),L()}function S(){e.events.disableBlur(),e.selection.clear(),e.$el.addClass("fr-no-selection"),e.$el.blur(),e.events.enableBlur()}function w(t){var n=e.$el.find(".fr-selected-cell");if(0<n.length){var a,r=t.length,o=0,i=t[0].length,s=0;for(a=0;a<n.length;a++){var l=T(n[a],t),c=A(l.row,l.col,t);r=Math.min(l.row,r),o=Math.max(c.row,o),i=Math.min(l.col,i),s=Math.max(c.col,s)}return{min_i:r,max_i:o,min_j:i,max_j:s}}return null}function R(e){var t=w(e);if(null!=t){var n=c(e[t.min_i][t.min_j]),a=c(e[t.min_i][t.max_j]),r=c(e[t.max_i][t.min_j]);return{left:n.length&&n.offset().left,right:a.length&&a.offset().left+a.outerWidth(),top:n.length&&n.offset().top,bottom:r.length&&r.offset().top+r.outerHeight()}}}function _(t,n){if(c(t).is(n))x(),c(t).addClass("fr-selected-cell");else{S(),e.edit.off();var a=y(),r=T(t,a),o=T(n,a),i=function e(t,n,a,r,o){var i,s,l,d,f=t,p=n,u=a,h=r;for(i=f;i<=p;i++)(1<(parseInt(c(o[i][u]).attr("rowspan"),10)||1)||1<(parseInt(c(o[i][u]).attr("colspan"),10)||1))&&(d=A((l=T(o[i][u],o)).row,l.col,o),f=Math.min(l.row,f),p=Math.max(d.row,p),u=Math.min(l.col,u),h=Math.max(d.col,h)),(1<(p
vendor: 20,636 bytes, line 1
1arseInt(c(o[i][h]).attr("rowspan"),10)||1)||1<(parseInt(c(o[i][h]).attr("colspan"),10)||1))&&(d=A((l=T(o[i][h],o)).row,l.col,o),f=Math.min(l.row,f),p=Math.max(d.row,p),u=Math.min(l.col,u),h=Math.max(d.col,h));for(s=u;s<=h;s++)(1<(parseInt(c(o[f][s]).attr("rowspan"),10)||1)||1<(parseInt(c(o[f][s]).attr("colspan"),10)||1))&&(d=A((l=T(o[f][s],o)).row,l.col,o),f=Math.min(l.row,f),p=Math.max(d.row,p),u=Math.min(l.col,u),h=Math.max(d.col,h)),(1<(parseInt(c(o[p][s]).attr("rowspan"),10)||1)||1<(parseInt(c(o[p][s]).attr("colspan"),10)||1))&&(d=A((l=T(o[p][s],o)).row,l.col,o),f=Math.min(l.row,f),p=Math.max(d.row,p),u=Math.min(l.col,u),h=Math.max(d.col,h));return f==t&&p==n&&u==a&&h==r?{min_i:t,max_i:n,min_j:a,max_j:r}:e(f,p,u,h,o)}(Math.min(r.row,o.row),Math.max(r.row,o.row),Math.min(r.col,o.col),Math.max(r.col,o.col),a);x(),t.classList.add("fr-cell-fixed"),n.classList.add("fr-cell-handler");for(var s=i.min_i;s<=i.max_i;s++)for(var l=i.min_j;l<=i.max_j;l++)c(a[s][l]).addClass("fr-selected-cell")}}function M(t){var n=null,a=c(t.target);return"TD"==t.target.tagName||"TH"==t.target.tagName?n=t.target:0<a.closest("th",a.closest("thead")[0]).length?n=a.closest("th",a.closest("thead")[0]).get(0):0<a.closest("td",a.closest("tr")[0]).length&&(n=a.closest("td",a.closest("tr")[0]).get(0)),-1===e.$el.html.toString().search(n)?null:n}function O(){x(),e.popups.hide("table.edit")}function k(t){var n=M(t);if("false"==c(n).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;if(0<j().length&&!n&&O(),!e.edit.isDisabled()||e.popups.isVisible("table.edit")){if(1!=t.which||1==t.which&&e.helpers.isMac()&&t.ctrlKey)(3==t.which||1==t.which&&e.helpers.isMac()&&t.ctrlKey)&&n&&O();else if(o=!0,n){0<j().length&&!t.shiftKey&&O(),t.stopPropagation(),e.events.trigger("image.hideResizer"),e.events.trigger("video.hideResizer"),r=!0;var a=n.tagName.toLowerCase();t.shiftKey&&0<e.$el.find("".concat(a,".fr-selected-cell")).length?c(e.$el.find("".concat(a,".fr-selected-cell")).closest("table")).is(c(n).closest("table"))?_(i,n):S():((e.keys.ctrlKey(t)||t.shiftKey)&&(1<j().length||0===c(n).find(e.selection.element()).length&&!c(n).is(e.selection.element()))&&S(),i=n,0<e.opts.tableEditButtons.length&&_(i,i))}}}function N(t){if(!e.edit.isDisabled()&&e.popups.areVisible())return!0;if(r||e.$tb.is(t.target)||e.$tb.is(c(t.target).closest(".fr-toolbar"))||(0<j().length&&e.toolbar.enable(),x()),!(1!=t.which||1==t.which&&e.helpers.isMac()&&t.ctrlKey)&&(o=!1,r&&(r=!1,M(t)||1!=j().length?0<j().length&&(e.selection.isCollapsed()?d():(x(),e.edit.on())):x()),l)){l=!1,n.removeClass("fr-moving"),e.$el.removeClass("fr-no-selection"),e.edit.on();var a=parseFloat(n.css("left"))+e.opts.tableResizerOffset+e.$wp.offset().left;e.opts.iframe&&(a-=e.$iframe.offset().left),n.data("release-position",a),n.removeData("max-left"),n.removeData("max-right"),function(){var t=n.data("origin"),a=n.data("release-position");if(t!==a){var r=n.data("first"),o=n.data("second"),i=n.data("table"),s=i.outerWidth();if(e.undo.canDo()||e.undo.saveStep(),null!=r&&null!=o){var l,d,f,p=y(i),u=[],h=[],g=[],m=[];for(l=0;l<p.length;l++)d=c(p[l][r]),f=c(p[l][o]),u[l]=d.outerWidth(),g[l]=f.outerWidth(),h[l]=u[l]/s*100,m[l]=g[l]/s*100;for(l=0;l<p.length;l++)if(d=c(p[l][r]),f=c(p[l][o]),p[l][r]!=p[l][o]){var v=(h[l]*(u[l]+a-t)/u[l]).toFixed(4);d.css("width",v+"%"),f.css("width",(h[l]+m[l]-v).toFixed(4)+"%")}}else{var b,C=i.parent(),E=s/C.width()*100,T=(parseInt(i.css("margin-left"),10)||0)/C.width()*100,A=(parseInt(i.css("margin-right"),10)||0)/C.width()*100;"rtl"==e.opts.direction&&0===o||"rtl"!=e.opts.direction&&0!==o?(b=(s+a-t)/s*E,i.css("margin-right","calc(100% - ".concat(Math.round(b).toFixed(4),"% - ").concat(Math.round(T).toFixed(4),"%)"))):("rtl"==e.opts.direction&&0!==o||"rtl"!=e.opts.direction&&0===o)&&(b=(s-a+t)/s*E,i.css("margin-left","calc(100% - ".concat(Math.round(b).toFixed(4),"% - ").concat(Math.round(A).toFixed(4),"%)"))),i.css("width","".concat(Math.round(b).toFixed(4),"%"))}e.selection.restore(),e.undo.saveStep(),e.events.trigger("table.resized",[i.get(0)])}n.removeData("origin"),n.removeData("release-position"),n.removeData("first"),n.removeData("second"),n.removeData("table")}(),$()}j().length||(e.$el.removeClass("fr-no-selection"),e.edit.on())}function I(t){if(e.events.$on(c("input"),"click",X),!0===r&&0<e.opts.tableEditButtons.length){if(c(t.currentTarget).closest("table").is(q())&&("TD"==t.currentTarget.tagName&&0===e.$el.find("th.fr-selected-cell").length||"TH"==t.currentTarget.tagName&&0===e.$el.find("td.fr-selected-cell").length))return void _(i,t.currentTarget);S()}}function D(t,n,a,r){for(var o,i=n;i!=e.el&&"TD"!=i.tagName&&"TH"!=i.tagName&&("up"==r?o=i.previousElementSibling:"down"==r&&(o=i.nextElementSibling),!o);)i=i.parentNode;"TD"==i.tagName||"TH"==i.tagName?function(t,n){for(var a=t;a&&"TABLE"!=a.tagName&&a.parentNode!=e.el;)a=a.parentNode;if(a&&"TABLE"==a.tagName){var r=y(c(a));"up"==n?B(T(t,r),a,r):"down"==n&&F(T(t,r),a,r)}}(i,r):o&&("up"==r&&e.selection.setAtEnd(o),"down"==r&&e.selection.setAtStart(o))}function B(t,n,a){0<t.row?e.selection.setAtEnd(a[t.row-1][t.col]):D(0,n,0,"up")}function F(t,n,a){var r=parseInt(a[t.row][t.col].getAttribute("rowspan"),10)||1;t.row<a.length-r?e.selection.setAtStart(a[t.row+r][t.col]):D(0,n,0,"down")}function $(){n&&(n.find("div").css("opacity",0),n.css("top",0),n.css("left",0),n.css("height",0),n.find("div").css("height",0),n.hide())}function P(){a&&a.removeClass("fr-visible").css("left","-9999px")}function H(t){s=null;var r=e.doc.elementFromPoint(t.pageX-e.win.pageXOffset,t.pageY-e.win.pageYOffset);e.opts.tableResizer&&(!e.popups.areVisible()||e.popups.areVisible()&&e.popups.isVisible("table.edit"))&&function(t,a){var r=c(a),o=r.closest("table"),i=o.parent();if(a&&"TD"!=a.tagName&&"TH"!=a.tagName&&(0<r.closest("td").length?a=r.closest("td"):0<r.closest("th").length&&(a=r.closest("th"))),a&&("TD"==a.tagName||"TH"==a.tagName)){if(r=c(a),0===e.$el.find(r).length)return;var s=r.offset().left-1,d=s+r.outerWidth();if(Math.abs(t.pageX-s)<=e.opts.tableResizerOffset||Math.abs(d-t.pageX)<=e.opts.tableResizerOffset){var f,p,u,h,g,m=y(o),v=T(a,m),b=A(v.row,v.col,m),C=o.offset().top,E=o.outerHeight()-1;"rtl"!=e.opts.direction?t.pageX-s<=e.opts.tableResizerOffset?(u=s,0<v.col?(h=s-K(v.col-1,m)+e.opts.tableResizingLimit,g=s+K(v.col,m)-e.opts.tableResizingLimit,f=v.col-1,p=v.col):(f=null,p=0,h=o.offset().left-1-parseInt(o.css("margin-left"),10),g=o.offset().left-1+o.width()-m[0].length*e.opts.tableResizingLimit)):d-t.pageX<=e.opts.tableResizerOffset&&(u=d,b.col<m[b.row].length&&m[b.row][b.col+1]?(h=d-K(b.col,m)+e.opts.tableResizingLimit,g=d+K(b.col+1,m)-e.opts.tableResizingLimit,f=b.col,p=b.col+1):(f=b.col,p=null,h=o.offset().left-1+m[0].length*e.opts.tableResizingLimit,g=i.offset().left-1+i.width()+parseFloat(i.css("padding-left")))):d-t.pageX<=e.opts.tableResizerOffset?(u=d,0<v.col?(h=d-K(v.col,m)+e.opts.tableResizingLimit,g=d+K(v.col-1,m)-e.opts.tableResizingLimit,f=v.col,p=v.col-1):(f=null,p=0,h=o.offset().left+m[0].length*e.opts.tableResizingLimit,g=i.offset().left-1+i.width()+parseFloat(i.css("padding-left")))):t.pageX-s<=e.opts.tableResizerOffset&&(u=s,b.col<m[b.row].length&&m[b.row][b.col+1]?(h=s-K(b.col+1,m)+e.opts.tableResizingLimit,g=s+K(b.col,m)-e.opts.tableResizingLimit,f=b.col+1,p=b.col):(f=b.col,p=null,h=i.offset().left+parseFloat(i.css("padding-left")),g=o.offset().left-1+o.width()-m[0].length*e.opts.tableResizingLimit)),n||(e.shared.$table_resizer||(e.shared.$table_resizer=c(document.createElement("div")).attr("class","fr-table-resizer").html("<div></div>")),n=e.shared.$table_resizer,e.events.$on(n,"mousedown",function(t){return!e.core.sameInstance(n)||(0<j().length&&O(),1==t.which?(e.selection.save(),l=!0,n.addClass("fr-moving"),S(),e.edit.off(),n.find("div").css("opacity",1),!1):void 0)}),e.events.$on(n,"mousemove",function(t){if(!e.core.sameInstance(n))return!0;l&&(e.opts.iframe&&(t.pageX-=e.$iframe.offset().left),W(t))}),e.events.on("shared.destroy",function(){n.html("").removeData().remove(),n=null},!0),e.events.on("destroy",function(){e.$el.find(".fr-selected-cell").removeClass("fr-selected-cell"),c("body").first().append(n.hide())},!0)),n.data("table",o),n.data("first",f),n.data("second",p),n.data("instance",e),e.$wp.append(n);var L=u-e.win.pageXOffset-e.opts.tableResizerOffset-e.$wp.offset().left,x=C-e.$wp.offset().top+e.$wp.scrollTop();if(e.opts.iframe){var w=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),R=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));L+=e.$iframe.offset().left+R,x+=e.$iframe.offset().top+w,h+=e.$iframe.offset().left,g+=e.$iframe.offset().left}n.data("max-left",h),n.data("max-right",g),n.data("origin",u-e.win.pageXOffset),n.css("top",x),n.css("left",L),n.css("height",E),n.find("div").css("height",E),n.css("padding-left",e.opts.tableResizerOffset),n.css("padding-right",e.opts.tableResizerOffset),n.show()}else e.core.sameInstance(n)&&$()}else n&&r.get(0)!=n.get(0)&&r.parent().get(0)!=n.get(0)&&e.core.sameInstance(n)&&$()}(t,r),!e.opts.tableInsertHelper||e.popups.areVisible()||e.$tb.hasClass("fr-inline")&&e.$tb.isVisible()||function(t,n){if(0===j().length){var r,o,i;if(n&&("HTML"==n.tagName||"BODY"==n.tagName||e.node.isElement(n)))for(r=1;r<=e.opts.tableInsertHelperOffset;r++){if(c(o=e.doc.elementFromPoint(t.pageX-e.win.pageXOffset,t.pageY-e.win.pageYOffset+r)).hasClass("fr-tooltip"))return!0;if(o&&("TH"==o.tagName||"TD"==o.tagName||"TABLE"==o.tagName)&&(c(o).parents(".fr-wrapper").length||e.opts.iframe)&&"false"!=c(o).closest("table").attr("contenteditable"))return function(t,n){if(!e.$box.find(".fr-line-breaker").isVisible()){a||G(),e.$box.append(a),a.data("instance",e);var r,o=c(n).find("tr").first(),i=t.pageX,s=0,l=0;if(e.opts.iframe){var d=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),f=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));s+=e.$iframe.offset().left-e.helpers.scrollLeft()+f,l+=e.$iframe.offset().top-e.helpers.scrollTop()+d}o.find("th, td").each(function(){var t=c(this);return t.offset().left<=i&&i<t.offset().left+t.outerWidth()/2?(r=parseInt(a.find("a").css("width"),10),a.css("top",l+t.offset().top-e.$box.offset().top-r-5),a.css("left",s+t.offset().left-e.$box.offset().left-r/2),a.data("selected-cell",t),a.data("position","before"),a.addClass("fr-visible"),!1):t.offset().left+t.outerWidth()/2<=i&&i<t.offset().left+t.outerWidth()?(r=parseInt(a.find("a").css("width"),10),a.css("top",l+t.offset().top-e.$box.offset().top-r-5),a.css("left",s+t.offset().left-e.$box.offset().left+t.outerWidth()-r/2),a.data("selected-cell",t),a.data("position","after"),a.addClass("fr-visible"),!1):void 0})}}(t,c(o).closest("table")),!0;if(c(i=e.doc.elementFromPoint(t.pageX-e.win.pageXOffset+r,t.pageY-e.win.pageYOffset)).hasClass("fr-tooltip"))return!0;if(i&&("TH"==i.tagName||"TD"==i.tagName||"TABLE"==i.tagName)&&(c(i).parents(".fr-wrapper").length||e.opts.iframe)&&"false"!=c(i).closest("table").attr("contenteditable"))return function(t,n){if(!e.$box.find(".fr-line-breaker").isVisible()){a||G(),e.$box.append(a),a.data("instance",e);var r,o=c(n),i=t.pageY,s=0,l=0;if(e.opts.iframe){var d=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),f=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"));s+=e.$iframe.offset().left-e.helpers.scrollLeft()+f,l+=e.$iframe.offset().top-e.helpers.scrollTop()+d}o.find("tr").each(function(){var t=c(this);return t.offset().top<=i&&i<t.offset().top+t.outerHeight()/2?(r=parseInt(a.find("a").css("width"),10),a.css("top",l+t.offset().top-e.$box.offset().top-r/2),a.css("left",s+t.offset().left-e.$box.offset().left-r-5),a.data("selected-cell",t.find("td").first()),a.data("position","above"),a.addClass("fr-visible"),!1):t.offset().top+t.outerHeight()/2<=i&&i<t.offset().top+t.outerHeight()?(r=parseInt(a.find("a").css("width"),10),a.css("top",l+t.offset().top-e.$box.offset().top+t.outerHeight()-r/2),a.css("left",s+t.offset().left-e.$box.offset().left-r-5),a.data("selected-cell",t.find("td").first()),a.data("position","below"),a.addClass("fr-visible"),!1):void 0})}}(t,c(i).closest("table")),!0}e.core.sameInstance(a)&&P()}}(t,r)}function U(){if(l){var t=n.data("table").offset().top-e.win.pageYOffset;if(e.opts.iframe){var a=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top"));t+=e.$iframe.offset().top-e.helpers.scrollTop()+a}n.css("top",t)}}function K(e,t){var n,a=c(t[0][e]).outerWidth();for(n=1;n<t.length;n++)a=Math.min(a,c(t[n][e]).outerWidth());return a}function z(e,t,n){var a,r=0;for(a=e;a<=t;a++)r+=K(a,n);return r}function W(t){if(1<j().length&&o&&S(),!1===o&&!1===r&&!1===l)s&&clearTimeout(s),e.edit.isDisabled()&&!e.popups.isVisible("table.edit")||(s=setTimeout(H,30,t));else if(l){var a=t.pageX-e.win.pageXOffset;e.opts.iframe&&(a+=e.$iframe.offset().left);var i=n.data("max-left"),c=n.data("max-right");i<=a&&a<=c?n.css("left",a-e.opts.tableResizerOffset-e.$wp.offset().left):a<i&&parseFloat(n.css("left"),10)>i-e.opts.tableResizerOffset?n.css("left",i-e.opts.tableResizerOffset-e.$wp.offset().left):c<a&&parseFloat(n.css("left"),10)<c-e.opts.tableResizerOffset&&n.css("left",c-e.opts.tableResizerOffset-e.$wp.offset().left)}else o&&P()}function V(n){e.node.isEmpty(n.get(0))?n.prepend(t.MARKERS):n.prepend(t.START_MARKER).append(t.END_MARKER)}function G(){e.shared.$ti_helper||(e.shared.$ti_helper=c(document.createElement("div")).attr("class","fr-insert-helper").html('<a class="fr-floating-btn" role="button" tabIndex="-1" title="'.concat(e.language.translate("Insert"),'"><svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M22,16.75 L16.75,16.75 L16.75,22 L15.25,22.000 L15.25,16.75 L10,16.75 L10,15.25 L15.25,15.25 L15.25,10 L16.75,10 L16.75,15.25 L22,15.25 L22,16.75 Z"/></svg></a>')),e.events.bindClick(e.shared.$ti_helper,"a",function(){var t=a.data("selected-cell"),n=a.data("position"),r=a.data("instance")||e;"before"==n||"after"==n?(e.undo.saveStep(),t.addClass("fr-selected-cell"),r.table.insertColumn(n),t.removeClass("fr-selected-cell"),e.undo.saveStep()):"above"==n?(e.undo.saveStep(),t.addClass("fr-selected-cell"),r.table.insertRow(n),t.removeClass("fr-selected-cell"),e.undo.saveStep()):"below"==n&&(e.undo.saveStep(),t.addClass("fr-selected-cell"),r.table.insertRow(n),t.removeClass("fr-selected-cell"),e.undo.saveStep()),P()}),e.events.on("shared.destroy",function(){e.shared.$ti_helper.html("").removeData().remove(),e.shared.$ti_helper=null},!0),e.events.$on(e.shared.$ti_helper,"mousemove",function(e){e.stopPropagation()},!0),e.events.$on(c(e.o_win),"scroll",function(){P()},!0),e.events.$on(e.$wp,"scroll",function(){P()},!0)),a=e.shared.$ti_helper,e.events.on("destroy",function(){a=null}),e.tooltip.bind(e.$box,".fr-insert-helper > a.fr-floating-btn")}function Y(){i=null,clearTimeout(s)}function j(){return e.el.querySelectorAll(".fr-selected-cell")}function q(){var t=j();if(t.length){for(var n=t[0];n&&"TABLE"!=n.tagName&&n.parentNode!=e.el;)n=n.parentNode;return n&&"TABLE"==n.tagName?c(n):c([])}return c([])}function X(e){r=!1}return{_init:function(){if(!e.$wp)return!1;if(!e.helpers.isMobile()){l=r=o=!1,e.events.$on(e.$el,"mousedown",k),e.popups.onShow("image.edit",function(){x(),r=o=!1}),e.popups.onShow("link.edit",function(){x(),r=o=!1}),e.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&x()}),e.events.$on(e.$el,"mouseover","th, td",I),e.events.$on(e.$win,"mouseup",N),e.opts.iframe&&e.events.$on(c(e.o_win),"mouseup",N),e.events.$on(e.$win,"mousemove",W),e.events.$on(c(e.o_win),"scroll",U),e.events.on("contentChanged",function(){0<j().length&&(d(),e.$el.find("img").on("load.selected-cells",function(){c(this).off("load.selected-cells"),0<j().length&&d()}))}),e.events.$on(c(e.o_win),"resize",function(){x()}),e.events.on("toolbar.esc",function(){if(0<j().length)return e.events.disableBlur(),e.events.focus(),!1},!0),e.events.$on(c(e.o_win),"keydown",function(){o&&r&&(r=o=!1,e.$el.removeClass("fr-no-selection"),e.edit.on(),e.selection.setAtEnd(e.$el.find(".fr-selected-cell").last().get(0)),e.selection.restore(),x())}),e.events.$on(e.$el,"keydown",function(n){n.shiftKey?!1===function(n){var a=j();if(null!=a&&0<a.length){var r,o=y(),i=n.which,s=T(1==a.length?r=a[0]:(r=e.el.querySelector(".fr-cell-fixed"),e.el.querySelector(".fr-cell-handler")),o);if(t.KEYCODE.ARROW_RIGHT==i){if(s.col<o[0].length-1)return _(r,o[s.row][s.col+1]),!1}else if(t.KEYCODE.ARROW_DOWN==i){if(s.row<o.length-1)return _(r,o[s.row+1][s.col]),!1}else if(t.KEYCODE.ARROW_LEFT==i){if(0<s.col)return _(r,o[s.row][s.col-1]),!1}else if(t.KEYCODE.ARROW_UP==i&&0<s.row)return _(r,o[s.row-1][s.col]),!1}}(n)&&setTimeout(function(){d()},0):function(n){var a=n.which,r=e.selection.blocks();if(r.length&&("TD"==(r=r[0]).tagName||"TH"==r.tagName)){for(var o=r;o&&"TABLE"!=o.tagName&&o.parentNode!=e.el;)o=o.parentNode;if(o&&"TABLE"==o.tagName&&(t.KEYCODE.ARROW_LEFT==a||t.KEYCODE.ARROW_UP==a||t.KEYCODE.ARROW_RIGHT==a||t.KEYCODE.ARROW_DOWN==a)&&(0<j().length&&O(),e.browser.webkit&&(t.KEYCODE.ARROW_UP==a||t.KEYCODE.ARROW_DOWN==a))){var i=e.selection.ranges(0).startContainer;if(i.nodeType==Node.TEXT_NODE&&(t.KEYCODE.ARROW_UP==a&&(i.previousSibling&&"BR"!==i.previousSibling.tagName||i.previousSibling&&"BR"===i.previousSibling.tagName&&i.previousSibling.previousSibling)||t.KEYCODE.ARROW_DOWN==a&&(i.nextSibling&&"BR"!==i.nextSibling.tagName||i.nextSibling&&"BR"===i.nextSibling.tagName&&i.nextSibling.nextSibling)))return;n.preventDefault(),n.stopPropagation();var s=y(c(o)),l=T(r,s);t.KEYCODE.ARROW_UP==a?B(l,o,s):t.KEYCODE.ARROW_DOWN==a&&F(l,o,s),e.selection.restore()}}}(n)}),e.events.on("keydown",function(n){if(!1===function(n){if(n.which==t.KEYCODE.TAB){var a;if(0<j().length)a=e.$el.find(".fr-selected-cell").last();else{var r=e.selection.element();"TD"==r.tagName||"TH"==r.tagName?a=c(r):r!=e.el&&(0<c(r).parentsUntil(e.$el,"td").length?a=c(r).parents("td").first():0<c(r).parentsUntil(e.$el,"th").length&&(a=c(r).parents("th").first()))}if(a)return n.preventDefault(),!!(0===e.selection.get().focusOffset&&0<c(e.selection.element()).parentsUntil(e.$el,"ol, ul").length&&(0<c(e.selection.element()).closest("li").prev().length||c(e.selection.element()).is("li")&&0<c(e.selection.element()).prev().length))||(O(),n.shiftKey?0<a.prev().length?V(a.prev()):0<a.closest("tr").length&&0<a.closest("tr").prev().length?V(a.closest("tr").prev().find("td").last()):0<a.closest("tbody").length&&0<a.closest("table").find("thead tr").length&&V(a.closest("table").find("thead tr th").last()):0<a.next().length?V(a.next()):0<a.closest("tr").length&&0<a.closest("tr").next().length?V(a.closest("tr").next().find("td").first()):0<a.closest("thead").length&&0<a.closest("table").find("tbody tr").length?V(a.closest("table").find("tbody tr td").first()):(a.addClass("fr-selected-cell"),m("below"),x(),V(a.closest("tr").next().find("td").first())),e.selection.restore(),!1)}}(n))return!1;var a=j();if(0<a.length){if(0<a.length&&e.keys.ctrlKey(n)&&n.which==t.KEYCODE.A)return x(),e.popups.isVisible("table.edit")&&e.popups.hide("table.edit"),a=[],!0;if(n.which==t.KEYCODE.ESC&&e.popups.isVisible("table.edit"))return x(),e.popups.hide("table.edit"),n.preventDefault(),n.stopPropagation(),n.stopImmediatePropagation(),a=[],!1;if(1<a.length&&(n.which==t.KEYCODE.BACKSPACE||n.which==t.KEYCODE.DELETE)){e.undo.saveStep();for(var r=0;r<a.length;r++)c(a[r]).html("<br>"),r==a.length-1&&c(a[r]).prepend(t.MARKERS);return e.selection.restore(),e.undo.saveStep(),a=[],!1}if(1<a.length&&n.which!=t.KEYCODE.F10&&!e.keys.isBrowserAction(n))return n.preventDefault(),a=[],!1}else if(a=[],!1===function(n){if(n.altKey&&n.which==t.KEYCODE.SPACE){var a,r=e.selection.element();if("TD"==r.tagName||"TH"==r.tagName?a=r:0<c(r).closest("td").length?a=c(r).closest("td").get(0):0<c(r).closest("th").length&&(a=c(r).closest("th").get(0)),a)return n.preventDefault(),_(a,a),d(),!1}}(n))return!1},!0);var n=[];e.events.on("html.beforeGet",function(){n=j();for(var e=0;e<n.length;e++)n[e].className=(n[e].className||"").replace(/fr-selected-cell/g,"")}),e.events.on("html.afterGet",function(){for(var e=0;e<n.length;e++)n[e].className=(n[e].className?n[e].className.trim()+" ":"")+"fr-selected-cell";n=[]}),p(!0),h(!0)}e.events.on("destroy",Y)},insert:function(n,a){var r,o,i="<table "+(e.opts.tableDefaultWidth?'style="width: '+e.opts.tableDefaultWidth+';" ':"")+'class="fr-inserted-table"><tbody>',s=100/a;for(r=0;r<n;r++){for(i+="<tr>",o=0;o<a;o++)i+="<td"+(e.opts.tableDefaultWidth?' style="width: '+s.toFixed(4)+'%;"':"")+">",0===r&&0===o&&(i+=t.MARKERS),i+="<br></td>";i+="</tr>"}i+="</tbody></table>
1",e.html.insert(i),e.selection.restore();var l=e.$el.find(".fr-inserted-table");l.removeClass("fr-inserted-table"),e.events.trigger("table.inserted",[l.get(0)])},remove:g,insertRow:m,deleteRow:function(){var t=q();if(0<t.length){var n,a,r,o=y(),i=w(o);if(null==i)return;if(0===i.min_i&&i.max_i==o.length-1)g();else{for(n=i.max_i;n>=i.min_i;n--){for(r=c(t.find("tr").not(t.find("> table tr")).get(n)),a=0;a<o[n].length;a++)if(0===a||o[n][a]!=o[n][a-1]){var s,l,d=c(o[n][a]);if(1<parseInt(d.attr("rowspan"),10)){var f=parseInt(d.attr("rowspan"),10)-1;1==f?d.removeAttr("rowspan"):d.attr("rowspan",f)}if(n<o.length-1&&o[n][a]==o[n+1][a]&&(0===n||o[n][a]!=o[n-1][a])){for(var p=o[n][a],u=a;0<u&&o[n][u]==o[n][u-1];)u--;0===u?c(t.find("tr").not(t.find("> table tr")).get(n+1)).prepend(p):c(o[n+1][u-1])[0].parentNode&&c(o[n+1][u-1])[0].insertAdjacentElement("afterend",p)}}var h=r.parent();r.remove(),0===h.find("tr").length&&h.remove(),o=y(t)}s=o.length-1,l=o[0].length-1,b(0,s,t),v(0,l,t),0<i.min_i?e.selection.setAtEnd(o[i.min_i-1][0]):e.selection.setAtEnd(o[0][0]),e.selection.restore(),e.popups.hide("table.edit")}}},insertColumn:function(t){var n=q();if(0<n.length){var a,r=y(),o=w(r);a="before"==t?o.min_j:o.max_j;var i,s=100/r[0].length,l=100/(r[0].length+1);n.find("th, td").each(function(){(i=c(this)).data("old-width",i.outerWidth()/n.outerWidth()*100)}),n.find("tr").not(n.find("> table tr")).each(function(e){for(var n,o=c(this),i=0,d=0;i-1<a;){if(!(n=o.find("> th, > td").get(d))){n=null;break}n==r[e][i]?(i+=parseInt(c(n).attr("colspan"),10)||1,d++):(i+=parseInt(c(r[e][i]).attr("colspan"),10)||1,"after"==t&&(n=0===d?-1:o.find("> th, > td").get(d-1)))}var f,p=c(n);if("after"==t&&a<i-1||"before"==t&&0<a&&r[e][a]==r[e][a-1]){if(0===e||0<e&&r[e][a]!=r[e-1][a]){var u=parseInt(p.attr("colspan"),10)+1;p.attr("colspan",u),p.css("width",(p.data("old-width")*l/s+l).toFixed(4)+"%"),p.removeData("old-width")}}else f=0<o.find("th").length?'<th style="width: '.concat(l.toFixed(4),'%;"><br></th>'):'<td style="width: '.concat(l.toFixed(4),'%;"><br></td>'),-1==n?o.prepend(f):null==n?o.append(f):"before"==t?p.before(f):"after"==t&&p[0].parentNode&&p[0].insertAdjacentHTML("afterend",f)}),n.find("th, td").each(function(){(i=c(this)).data("old-width")&&(i.css("width",(i.data("old-width")*l/s).toFixed(4)+"%"),i.removeData("old-width"))}),e.popups.isVisible("table.edit")&&d()}},deleteColumn:function(){var t=q();if(0<t.length){var n,a,r,o=y(),i=w(o);if(null==i)return;if(0===i.min_j&&i.max_j==o[0].length-1)g();else{var s,l,d=0;for(n=0;n<o.length;n++)for(a=0;a<o[0].length;a++)(r=c(o[n][a])).hasClass("fr-selected-cell")||(r.data("old-width",r.outerWidth()/t.outerWidth()*100),(a<i.min_j||a>i.max_j)&&(d+=r.outerWidth()/t.outerWidth()*100));for(d/=o.length,a=i.max_j;a>=i.min_j;a--)for(n=0;n<o.length;n++)if(0===n||o[n][a]!=o[n-1][a])if(1<(parseInt((r=c(o[n][a])).attr("colspan"),10)||1)){var f=parseInt(r.attr("colspan"),10)-1;1==f?r.removeAttr("colspan"):r.attr("colspan",f),r.css("width",(100*(r.data("old-width")-K(a,o))/d).toFixed(4)+"%"),r.removeData("old-width")}else{var p=c(r.parent().get(0));r.remove(),0===p.find("> th, > td").length&&(0===p.prev().length||0===p.next().length||p.prev().find("> th[rowspan], > td[rowspan]").length<p.prev().find("> th, > td").length)&&p.remove()}s=o.length-1,l=o[0].length-1,b(0,s,t),v(0,l,t),0<i.min_j?e.selection.setAtEnd(o[i.min_i][i.min_j-1]):e.selection.setAtEnd(o[i.min_i][0]),e.selection.restore(),e.popups.hide("table.edit"),t.find("th, td").each(function(){(r=c(this)).data("old-width")&&(r.css("width",(100*r.data("old-width")/d).toFixed(4)+"%"),r.removeData("old-width"))})}}},mergeCells:function(){if(1<j().length&&(0===e.$el.find("th.fr-selected-cell").length||0===e.$el.find("td.fr-selected-cell").length)){L();var t,n,a=w(y());if(null!=a){var r=e.$el.find(".fr-selected-cell"),o=c(r[0]),i=o.parent().find(".fr-selected-cell"),s=o.closest("table"),l=o.html(),f=0;for(t=0;t<i.length;t++)f+=c(i[t]).outerWidth();for(o.css("width",Math.min(100,f/s.outerWidth()*100).toFixed(4)+"%"),a.min_j<a.max_j&&o.attr("colspan",a.max_j-a.min_j+1),a.min_i<a.max_i&&o.attr("rowspan",a.max_i-a.min_i+1),t=1;t<r.length;t++)"<br>"!=(n=c(r[t])).html()&&""!==n.html()&&(l+="<br>".concat(n.html())),n.remove();
vendor: 3,548 bytes, line 1
1o.html(l),e.selection.setAtEnd(o.get(0)),e.selection.restore(),e.toolbar.enable(),b(a.min_i,a.max_i,s);var p=s.find("tr:empty");for(t=p.length-1;0<=t;t--)c(p[t]).remove();v(a.min_j,a.max_j,s),d()}}},splitCellVertically:function(){if(1==j().length){var t,n=e.$el.find(".fr-selected-cell"),a=parseInt(n.attr("colspan"),10)||1,r=n.parent().outerWidth(),o=n.outerWidth(),i=n.clone().html("<br>"),s=y(),l=T(n.get(0),s);if(1<a){var d=Math.ceil(a/2);o=z(l.col,l.col+d-1,s)/r*100;var f=z(l.col+d,l.col+a-1,s)/r*100;1<d?n.attr("colspan",d):n.removeAttr("colspan"),1<a-d?i.attr("colspan",a-d):i.removeAttr("colspan"),n.css("width",o.toFixed(4)+"%"),i.css("width",f.toFixed(4)+"%")}else{for(t=0;t<s.length;t++)if(0===t||s[t][l.col]!=s[t-1][l.col]){var p=c(s[t][l.col]);if(!p.is(n)){var u=(parseInt(p.attr("colspan"),10)||1)+1;p.attr("colspan",u)}}o=o/r*100/2,n.css("width","".concat(o.toFixed(4),"%")),i.css("width","".concat(o.toFixed(4),"%"))}n[0].parentNode&&n[0].insertAdjacentElement("afterend",i[0]),x(),e.popups.hide("table.edit")}},splitCellHorizontally:function(){if(1==j().length){var t=e.$el.find(".fr-selected-cell"),n=t.parent(),a=t.closest("table"),r=parseInt(t.attr("rowspan"),10),o=y(),i=T(t.get(0),o),s=t.clone().html("<br>");if(1<r){var l=Math.ceil(r/2);1<l?t.attr("rowspan",l):t.removeAttr("rowspan"),1<r-l?s.attr("rowspan",r-l):s.removeAttr("rowspan");for(var d=i.row+l,f=0===i.col?i.col:i.col-1;0<=f&&(o[d][f]==o[d][f-1]||0<d&&o[d][f]==o[d-1][f]);)f--;-1==f?c(a.find("tr").not(a.find("> table tr")).get(d)).prepend(s):c(o[d][f])[0].parentNode&&c(o[d][f])[0].insertAdjacentElement("afterend",s[0])}else{var p,u=c(document.createElement("tr")).append(s);for(p=0;p<o[0].length;p++)if(0===p||o[i.row][p]!=o[i.row][p-1]){var h=c(o[i.row][p]);h.is(t)||h.attr("rowspan",(parseInt(h.attr("rowspan"),10)||1)+1)}n[0].parentNode&&n[0].insertAdjacentElement("afterend",u[0])}x(),e.popups.hide("table.edit")}},addHeader:function(){var e=q();if(0<e.length&&0===e.find("th").length){var t,n="<thead><tr>",a=0;for(e.find("tr").first().find("> td").each(function(){var e=c(this);a+=parseInt(e.attr("colspan"),10)||1}),t=0;t<a;t++)n+="<th><br></th>";n+="</tr></thead>",e.prepend(n),d()}},removeHeader:function(){var t=q(),n=t.find("thead");if(0<n.length)if(0===t.find("tbody tr").length)g();else if(n.remove(),0<j().length)d();else{e.popups.hide("table.edit");var a=t.find("tbody tr").first().find("td").first().get(0);a&&(e.selection.setAtEnd(a),e.selection.restore())}},setBackground:E,showInsertPopup:function(){var t=e.$tb.find('.fr-command[data-cmd="insertTable"]'),n=e.popups.get("table.insert");if(n||(n=p()),!n.hasClass("fr-active")){e.popups.refresh("table.insert"),e.popups.setContainer("table.insert",e.$tb);var a=e.button.getPosition(t),r=a.left,o=a.top;e.popups.show("table.insert",r,o,t.outerHeight())}},showEditPopup:d,showColorsPopup:function n(){var a=y();if(a){var r,o,i,s,l,d,f,p,u=e.popups.get("table.colors");u||(r="",0<e.opts.tableColorsButtons.length&&(r='<div class="fr-buttons fr-tabs">'.concat(e.button.buildList(e.opts.tableColorsButtons),"</div>")),o="",e.opts.colorsHEXInput&&(o='<div class="fr-color-hex-layer fr-table-colors-hex-layer fr-active fr-layer" id="fr-table-colors-hex-layer-'.concat(e.id,'"><div class="fr-input-line"><input maxlength="7" id="fr-table-colors-hex-layer-text-').concat(e.id,'" type="text" placeholder="').concat(e.language.translate("HEX Color"),'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="tableCellBackgroun
1dCustomColor" tabIndex="2" role="button">').concat(e.language.translate("OK"),"</button></div></div>")),i={buttons:r,colors:function(){for(var t='<div class="fr-color-set fr-table-colors">',n=0;n<e.opts.tableColors.length;n++)0!==n&&n%e.opts.tableColorsStep==0&&(t+="<br>"),"REMOVE"!=e.opts.tableColors[n]?t+='<span class="fr-command" style="background: '.concat(e.opts.tableColors[n],';" tabIndex="-1" role="button" data-cmd="tableCellBackgroundColor" data-param1="').concat(e.opts.tableColors[n],'"><span class="fr-sr-only">').concat(e.language.translate("Color")," ").concat(e.opts.tableColors[n],"&nbsp;&nbsp;&nbsp;</span></span>"):t+='<span class="fr-command" data-cmd="tableCellBackgroundColor" tabIndex="-1" role="button" data-param1="REMOVE" title="'.concat(e.language.translate("Clear Formatting"),'">').concat(e.icon.create("tableColorRemove"),'<span class="fr-sr-only">').concat(e.language.translate("Clear Formatting"),"</span></span>");return t+"</div>"}(),custom_color:o},s=e.popups.create("table.colors",i),e.events.$on(e.$wp,"scroll.table-colors",function(){e.popups.isVisible("table.colors")&&n()}),e.events.on("popup.tab",function(n){var a=c(n.currentTarget);if(!e.popups.isVisible("table.colors")||!a.is("span"))return!0;var r=n.which,o=!0;if(t.KEYCODE.TAB==r){var i=s.find(".fr-buttons");o=!e.accessibility.focusToolbar(i,!!n.shiftKey)}else if(t.KEYCODE.ARROW_UP==r||t.KEYCODE.ARROW_DOWN==r||t.KEYCODE.ARROW_LEFT==r||t.KEYCODE.ARROW_RIGHT==r){var l=a.parent().find("span.fr-command"),d=l.index(a),f=e.opts.colorsStep,p=Math.floor(l.length/f),u=Math.floor(d/f)*f+d%f,h=p*f;t.KEYCODE.ARROW_UP==r?u=((u-f)%h+h)%h:t.KEYCODE.ARROW_DOWN==r?u=(u+f)%h:t.KEYCODE.ARROW_LEFT==r?u=((u-1)%h+h)%h:t.KEYCODE.ARROW_RIGHT==r&&(u=(u+1)%h);var g=c(l.get(u));e.events.disableBlur(),g.focus(),o=!1}else t.KEYCODE.ENTER==r&&(e.button.exec(a),o=!1);return!1===o&&(n.preventDefault(),n.stopPropagation()),o},!0),u=s),e.popups.setContainer("table.colors",e.$sc);var h=R(a),g=(h.left+h.right)/2,m=h.bottom;l=e.popups.get("table.colors"),d=e.$el.find(".fr-selected-cell").first(),f=e.helpers.RGBToHex(d.css("background-color")),p=l.find(".fr-table-colors-hex-layer input"),l.find(".fr-selected-color").removeClass("fr-selected-color fr-active-item"),l.find('span[data-param1="'.concat(f,'"]')).addClass("fr-selected-color fr-active-item"),p.val(f).trigger("change"),e.popups.show("table.colors",g,m,h.bottom-h.top,!0)}},back:function(){0<j().length?d():(e.popups.hide("table.insert"),e.toolbar.showInline())},verticalAlign:function(t){e.$el.find(".fr-selected-cell").css("vertical-align",t)},horizontalAlign:function(t){e.$el.find(".fr-selected-cell").css("text-align",t)},applyStyle:function(e,t,n,a){if(0<t.length){if(!n){var r=Object.keys(a);r.splice(r.indexOf(e),1),t.removeClass(r.join(" "))}t.toggleClass(e)}},selectedTable:q,selectedCells:j,customColor:function(){var t=e.popups.get("table.colors").find(".fr-table-colors-hex-layer input");t.length&&E(t.val())},selectCells:_}},t.DefineIcon("insertTable",{NAME:"table",SVG_KEY:"insertTable"}),t.RegisterCommand("insertTable",{title:"Insert Table",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible("table.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("table.insert")):this.table.showInsertPopup()},plugin:"table"}),t.RegisterCommand("tableInsert",{callback:function(e,t,n){this.table.insert(t,n),this.popups.hide("table.insert")}}),t.DefineIcon("tableHeader",{NAME:"header",FA5NAME:"heading",SVG_KEY:"tableHeader"}),t.RegisterCommand("tableHeader",{title:"Table Header",focus:!1,toggle:!0,callback:function(){this.popups.get("table.edit").find('.fr-command[data-cmd="tableHeader"]').hasClass("fr-active")?this.table.removeHeader():this.table.addHeader()},refresh:function(e){var t=this.table.selectedTable();0<t.length&&(0===t.find("th").length?e.removeClass("fr-active").attr("aria-pressed",!1):e.addClass("fr-active").attr("aria-pressed",!0))}}),t.DefineIcon("tableRows",{NAME:"bars",SVG_KEY:"row"}),t.RegisterCommand("tableRows",{type:"dropdown",focus:!1,title:"Row",options:{above:"Insert row above",below:"Insert row below",delete:"Delete row"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.tableRows.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableRows" data-param1="'+a+'" title="'+this.language.translate(n[a])+'">'+this.language.translate(n[a])+"</a></li>");return e+"</ul>"},callback:function(e,t){"above"==t||"below"==t?this.table.insertRow(t):this.table.deleteRow()}}),t.DefineIcon("tableColumns",{NAME:"bars fa-rotate-90",SVG_KEY:"columns"}),t.RegisterCommand("tableColumns",{type:"dropdown",focus:!1,title:"Column",options:{before:"Insert column before",after:"Insert column after",delete:"Delete column"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.tableColumns.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableColumns" data-param1="'.concat(a,'" title="').concat(this.language.translate(n[a]),'">').concat(this.language.translate(n[a]),"</a></li>"));return e+"</ul>"},callback:function(e,t){"before"==t||"after"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),t.DefineIcon("tableCells",{NAME:"square-o",FA5NAME:"square",SVG_KEY:"cellOptions"}),t.RegisterCommand("tableCells",{type:"dropdown",focus:!1,title:"Cell",options:{merge:"Merge cells","vertical-split":"Vertical split","horizontal-split":"Horizontal split"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.tableCells.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCells" data-param1="'.concat(a,'" title="').concat(this.language.translate(n[a]),'">').concat(this.language.translate(n[a]),"</a></li>"));return e+"</ul>"},callback:function(e,t){"merge"==t?this.table.mergeCells():"vertical-split"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1<this.$el.find(".fr-selected-cell").length?(t.find('a[data-param1="vertical-split"]').addClass("fr-disabled").attr("aria-disabled",!0),t.find('a[data-param1="horizontal-split"]').addClass("fr-disabled").attr("aria-disabled",!0),t.find('a[data-param1="merge"]').removeClass("fr-disabled").attr("aria-disabled",!1)):(t.find('a[data-param1="merge"]').addClass("fr-disabled").attr("aria-disabled",!0),t.find('a[data-param1="vertical-split"]').removeClass("fr-disabled").attr("aria-disabled",!1),t.find('a[data-param1="horizontal-split"]').removeClass("fr-disabled").attr("aria-disabled",!1))}}),t.DefineIcon("tableRemove",{NAME:"trash",SVG_KEY:"removeTable"}),t.RegisterCommand("tableRemove",{title:"Remove Table",focus:!1,callback:function(){this.table.remove()}}),t.DefineIcon("tableStyle",{NAME:"paint-brush",SVG_KEY:"tableStyle"}),t.RegisterCommand("tableStyle",{title:"Table Style",type:"dropdown",focus:!1,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.tableStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableStyle" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+"</ul>"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell").closest("table"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var n=this.$,a=this.$el.find(".fr-selected-cell").closest("table");a&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}
vendor: 45,916 bytes, line 1
1),t.DefineIcon("tableCellBackground",{NAME:"tint",SVG_KEY:"cellBackground"}),t.RegisterCommand("tableCellBackground",{title:"Cell Background",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),t.RegisterCommand("tableCellBackgroundColor",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),t.DefineIcon("tableBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("tableBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),t.DefineIcon("tableCellVerticalAlign",{NAME:"arrows-v",FA5NAME:"arrows-alt-v",SVG_KEY:"verticalAlignMiddle"}),t.RegisterCommand("tableCellVerticalAlign",{type:"dropdown",focus:!1,title:"Vertical Align",options:{Top:"Align Top",Middle:"Align Middle",Bottom:"Align Bottom"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.tableCellVerticalAlign.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCellVerticalAlign" data-param1="'.concat(a.toLowerCase(),'" title="').concat(this.language.translate(n[a]),'">').concat(this.language.translate(a),"</a></li>"));return e+"</ul>"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.$el.find(".fr-selected-cell").css("vertical-align")+'"]').addClass("fr-active").attr("aria-selected",!0)}}),t.DefineIcon("tableCellHorizontalAlign",{NAME:"align-left",SVG_KEY:"alignLeft"}),t.DefineIcon("align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),t.DefineIcon("align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),t.DefineIcon("align-center",{NAME:"align-center",SVG_KEY:"alignCenter"}),t.DefineIcon("align-justify",{NAME:"align-justify",SVG_KEY:"alignJustify"}),t.RegisterCommand("tableCellHorizontalAlign",{type:"dropdown",focus:!1,title:"Horizontal Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.tableCellHorizontalAlign.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="tableCellHorizontalAlign" data-param1="'.concat(a,'" title="').concat(this.language.translate(n[a]),'">').concat(this.icon.create("align-".concat(a)),'<span class="fr-sr-only">').concat(this.language.translate(n[a]),"</span></a></li>"));return e+"</ul>"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),n=this.$;t.length&&e.find("> *").first().replaceWith(this.icon.create("align-".concat(this.helpers.getAlignment(n(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1="'+this.helpers.getAlignment(this.$el.find(".fr-selected-cell").first())+'"]').addClass("fr-active").attr("aria-selected",!0)}}),t.DefineIcon("tableCellStyle",{NAME:"magic",SVG_KEY:"cellStyle"}),t.RegisterCommand("tableCellStyle",{title:"Cell Style",type:"dropdown",focus:!1,html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=this.opts.tableCellStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="tableCellStyle" data-param1="'.concat(n,'" title="').concat(this.language.translate(t[n]),'">').concat(this.language.translate(t[n]),"</a></li>"));return e+"</ul>"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(".fr-selected-cell"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var n=this.$,a=this.$el.find(".fr-selected-cell").first();a&&t.find(".fr-command").each(function(){var e=n(this).data("param1"),t=a.hasClass(e);n(this).toggleClass("fr-active",t).attr("aria-selected",t)})}}),t.RegisterCommand("tableCellBackgroundCustomColor",{title:"OK",undo:!0,callback:function(){this.table.customColor()}}),t.DefineIcon("tableColorRemove",{NAME:"eraser",SVG_KEY:"remove"}),t.URLRegEx="(^| |\\u00A0)(".concat(t.LinkRegEx,"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$"),t.PLUGINS.url=function(e){var n=e.$,a=null;function r(t,n,r){for(var o="";r.length&&"."==r[r.length-1];)o+=".",r=r.substring(0,r.length-1);var i=r;if(e.opts.linkConvertEmailAddress)e.helpers.isEmail(i)&&!/^mailto:.*/i.test(i)&&(i="mailto:".concat(i));else if(e.helpers.isEmail(i))return n+r;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(i)||(i="//".concat(i)),(n||"")+"<a".concat(e.opts.linkAlwaysBlank?' target="_blank"':"").concat(a?' rel="'.concat(a,'"'):"",' data-fr-linked="true" href="').concat(i,'">').concat(r.replace(/&amp;/g,"&").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"</a>").concat(o)}var o=function(){return RegExp(t.URLRegEx,"gi")};function i(t){return e.opts.linkAlwaysNoFollow&&(a="nofollow"),e.opts.linkAlwaysBlank&&(e.opts.linkNoOpener&&(a?a+=" noopener":a="noopener"),e.opts.linkNoReferrer&&(a?a+=" noreferrer":a="noreferrer")),t.replace(o(),r)}function s(e){var t=e.split(" ");return t[t.length-1]}function l(){var t=e.selection.ranges(0),a=t.startContainer;if(!a||a.nodeType!==Node.TEXT_NODE||t.startOffset!==(a.textContent||"").length||function t(n){return!!n&&("A"===n.tagName||!(!n.parentNode||n.parentNode==e.el)&&t(n.parentNode))}(a))return!1;if(o().test(s(a.textContent))){n(a).before(i(a.textContent));var r=n(a.parentNode).find("a[data-fr-linked]");r.removeAttr("data-fr-linked"),a.parentNode.removeChild(a),e.events.trigger("url.linked",[r.get(0)])}else if(a.textContent.split(" ").length<=2&&a.previousSibling&&"A"===a.previousSibling.tagName){var l=a.previousSibling.innerText+a.textContent;if(o().test(s(l))){var c=(new DOMParser).parseFromString(i(l),"text/html").body.childNodes;a.parentNode.replaceChild(c[0],a.previousSibling),c.length&&n(a).before(c[0]),a.parentNode.removeChild(a)}}}return{_init:function(){e.events.on("keypress",function(t){e.selection.isCollapsed()&&("."==t.key||")"==t.key||"("==t.key)&&l()},!0),e.events.on("keydown",function(n){var a=n.which;e.selection.isCollapsed()&&(a==t.KEYCODE.ENTER||a==t.KEYCODE.SPACE)&&l()},!0),e.events.on("paste.beforeCleanup",function(t){if(e.helpers.isURL(t)){var n=null;return e.opts.linkAlwaysBlank&&(e.opts.linkNoOpener&&(n?n+=" noopener":n="noopener"),e.opts.linkNoReferrer&&(n?n+=" noreferrer":n="noreferrer")),"<a".concat(e.opts.linkAlwaysBlank?' target="_blank"':"").concat(n?' rel="'.concat(n,'"'):"",' href="').concat(t,'" >').concat(t,"</a>")}})}}},Object.assign(t.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Object.assign(t.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg","mp3","mpeg","url"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","videoDisplay","videoAlign","videoSize","autoplay"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:0x3200000,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),t.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'<iframe width="640" height="360" src="{url}&wmode=opaque&rel=0" frameborder="0" allowfullscreen></iframe>',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vidyard"}],t.VIDEO_EMBED_REGEX=/^\W*((<iframe(.|\n)*>(\s|\n)*<\/iframe>)|(<embed(.|\n)*>))\W*$/i,t.PLUGINS.video=function(e){var n,a,r,o,i,s,l=e.$,c={};function d(){var t=e.popups.get("video.insert");t.find(".fr-video-by-url-layer input").val("").trigger("change");var n=t.find(".fr-video-embed-layer textarea");n.val("").trigger("change"),(n=t.find(".fr-video-upload-layer input")).val("").trigger("change")}function f(){var t=e.popups.get("video.edit");if(t||(t=function(){var t="";if(0<e.opts.videoEditButtons.length){e.opts.videoResponsive&&(-1<e.opts.videoEditButtons.indexOf("videoSize")&&e.opts.videoEditButtons.splice(e.opts.videoEditButtons.indexOf("videoSize"),1),-1<e.opts.videoEditButtons.indexOf("videoDisplay")&&e.opts.videoEditButtons.splice(e.opts.videoEditButtons.indexOf("videoDisplay"),1),-1<e.opts.videoEditButtons.indexOf("videoAlign")&&e.opts.videoEditButtons.splice(e.opts.videoEditButtons.indexOf("videoAlign"),1));var n={buttons:t+='<div class="fr-buttons"> \n      '.concat(e.button.buildList(e.opts.videoEditButtons)," \n      </div>")},a=e.popups.create("video.edit",n);return e.events.$on(e.$wp,"scroll.video-edit",function(){o&&e.popups.isVisible("video.edit")&&(e.events.disableBlur(),E(o))}),a}return!1}()),t){e.popups.setContainer("video.edit",e.$sc),e.popups.refresh("video.edit");var n=o.find("iframe, embed, ".concat(o.find("iframe, embed, audio").get(0)?"audio":"video")),a=n.offset().left+n.outerWidth()/2,r=n.offset().top+n.outerHeight(),i=n.get(0).src?n.get(0).src:null,s=!(!(i=(i=i.split("."))[i.length-1]).includes("pdf")&&!i.includes("txt"));n.hasClass("fr-file")||s||o.find("audio").get(0)?(document.getElementById("autoplay-".concat(e.id))&&(document.getElementById("autoplay-".concat(e.id)).style.display="none"),document.getElementById("videoReplace-".concat(e.id))&&(document.getElementById("videoReplace-".concat(e.id)).style.display="none")):(document.getElementById("autoplay-".concat(e.id)).style.display="",document.getElementById("videoReplace-".concat(e.id)).style.display=""),e.popups.show("video.edit",a,r,n.outerHeight(),!0)}}function p(t){if(t)return e.popups.onRefresh("video.insert",d),e.popups.onHide("video.insert",W),!0;var n="";e.opts.videoUpload||-1===e.opts.videoInsertButtons.indexOf("videoUpload")||e.opts.videoInsertButtons.splice(e.opts.videoInsertButtons.indexOf("videoUpload"),1);var a=e.button.buildList(e.opts.videoInsertButtons);""!==a&&(n='<div class="fr-buttons">'+a+"</div>");var r,o="",i=e.opts.videoInsertButtons.indexOf("videoUpload"),s=e.opts.videoInsertButtons.indexOf("videoByURL"),c=e.opts.videoInsertButtons.indexOf("videoEmbed");0<=s&&(r=" fr-active",(i<s&&0<=i||c<s&&0<=c)&&(r=""),o='<div class="fr-video-by-url-layer fr-layer'.concat(r,'" id="fr-video-by-url-layer-').concat(e.id,'"><div class="fr-input-line"><input id="fr-video-by-url-layer-text-').concat(e.id,'" type="text" placeholder="').concat(e.language.translate("Paste in a video URL"),'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><span style=\'float:left\'><div class="fr-checkbox-line fr-autoplay-margin"><span class="fr-checkbox"> <input id=\'videoPluginAutoplay\' data-checked="_blank" type="checkbox"> <span>').concat('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10" viewBox="0 0 32 32"><path d="M27 4l-15 15-7-7-5 5 12 12 20-20z" fill="#FFF"></path></svg>','</span></span> <label id="fr-label-target-').concat(e.id,'">Autoplay</label></div> </span><button type="button" class="fr-command fr-submit" data-cmd="videoInsertByURL" tabIndex="2" role="button">').concat(e.language.translate("Insert"),"</button></div></div>"));var f="";0<=c&&(r=" fr-active",(i<c&&0<=i||s<c&&0<=s)&&(r=""),f='<div class="fr-video-embed-layer fr-layer'.concat(r,'" id="fr-video-embed-layer-').concat(e.id,'"><div class="fr-input-line"><textarea id="fr-video-embed-layer-text').concat(e.id,'" type="text" placeholder="').concat(e.language.translate("Embedded Code"),'" tabIndex="1" aria-required="true" rows="5"></textarea></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoInsertEmbed" tabIndex="2" role="button">').concat(e.language.translate("Insert"),"</button></div></div>"));var p="";0<=i&&(r=" fr-active",(c<i&&0<=c||s<i&&0<=s)&&(r=""),p='<div class="fr-video-upload-layer fr-layer'.concat(r,'" id="fr-video-upload-layer-').concat(e.id,'"><strong>').concat(e.language.translate("Drop video"),"</strong><br>(").concat(e.language.translate("or click"),')<div class="fr-form"><input type="file" accept="video/').concat(e.opts.videoAllowedTypes.join(", video/").toLowerCase(),'" tabIndex="-1" aria-labelledby="fr-video-upload-layer-').concat(e.id,'" role="button"></div></div>'));var u={buttons:n,by_url_layer:o,embed_layer:f,upload_layer:p,progress_bar:'<div class="fr-video-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="videoDismissError" tabIndex="2" role="button">OK</button></div></div>'},h=e.popups.create("video.insert",u);return e.events.$on(h,"dragover dragenter",".fr-video-upload-layer",function(){return l(this).addClass("fr-drop"),!1},!0),e.events.$on(h,"dragleave dragend",".fr-video-upload-layer",function(){return l(this).removeClass("fr-drop"),!1},!0),e.events.$on(h,"drop",".fr-video-upload-layer",function(t){t.preventDefault(),t.stopPropagation(),l(this).removeClass("fr-drop");var n=t.originalEvent.dataTransfer;if(n&&n.files){var a=h.data("instance")||e;a.events.disableBlur(),a.video.upload(n.files),a.events.enableBlur()}},!0),e.helpers.isIOS()&&e.events.$on(h,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){l(this).trigger("click")},!0),e.events.$on(h,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var t=h.data("instance")||e;t.events.disableBlur(),h.find("input:focus").blur(),t.events.enableBlur(),t.video.upload(this.files)}l(this).val("")},!0),h}function u(t){e.events.focus(!0),e.selection.restore();var n=!1;o&&(z(),n=!0),e.html.insert('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'.concat(t,"</span>"),!1,e.opts.videoSplitHTML),e.popups.hide("video.insert");var a=e.$el.find(".fr-jiv");a.removeClass("fr-jiv"),a.toggleClass("fr-rv",e.opts.videoResponsive),V(a,e.opts.videoDefaultDisplay,e.opts.videoDefaultAlign),a.toggleClass("fr-draggable",e.opts.videoMove),e.events.trigger(n?"video.replaced":"video.inserted",[a])}function h(){var t=l(this);e.popups.hide("video.insert"),t.removeClass("fr-uploading"),t.parent().next().is("br")&&t.parent().next().remove(),E(t.parent()),e.events.trigger("video.loaded",[t.parent()])}function g(t,n,a,r,o){e.edit.off(),b("Loading video"),n&&(t=e.helpers.sanitizeURL(t)),m("Loading video"),function(){var n,i;if(r){e.undo.canDo()||r.find("video").hasClass("fr-uploading")||e.undo.saveStep();var s=r.find("video").data("fr-old-src"),c=r.data("fr-replaced");r.data("fr-replaced",!1),e.$wp?((n=r.clone(!0)).find("video").removeData("fr-old-src").removeClass("fr-uploading"),n.find("video").off("canplay"),s&&r.find("video").attr("src",s),r.replaceWith(n)):n=r;for(var d=n.find("video").get(0).attributes,f=0;f<d.length;f++){var p=d[f];0===p.nodeName.indexOf("data-")&&n.find("video").removeAttr(p.nodeName)}if(void 0!==a)for(i in a)a.hasOwnProperty(i)&&"link"!=i&&n.find("video").attr("data-".concat(i),a[i]);n.find("video").on("canplay",h),n.find("video").attr("src",t),e.edit.on(),M(),e.undo.saveStep(),e.$el.blur(),e.events.trigger(c?"video.replaced":"video.inserted",[n,o])}else n=function(t,n,a){var r,o="";if(n&&void 0!==n)for(r in n)n.hasOwnProperty(r)&&"link"!=r&&(o+=" data-".concat(r,'="').concat(n[r],'"'));var i=e.opts.videoDefaultWidth;i&&"auto"!=i&&(i="".concat(i,"px"));var s=l(document.createElement("span")).attr("contenteditable","false").attr("draggable","true").attr("class","fr-video fr-dv"+e.opts.videoDefaultDisplay[0]+("center"!=e.opts.videoDefaultAlign?" fr-fv"+e.opts.videoDefaultAlign[0]:"")).html('<video src="'+t+'" '+o+(i?' style="width: '+i+';" ':"")+" controls>"+e.language.translate("Your browser does not support HTML5 video.")+"</video>");s.toggleClass("fr-draggable",e.opts.videoMove),e.edit.on(),e.events.focus(!0),e.selection.restore(),e.undo.saveStep(),e.opts.videoSplitHTML?e.markers.split():e.markers.insert(),e.html.wrap();var c=e.$el.find(".fr-marker");return e.node.isLastSibling(c)&&c.parent().hasClass("fr-deletable")&&c.insertAfter(c.parent()),c.replaceWith(s),e.selection.clear(),s.find("video").get(0).readyState>s.find("video").get(0).HAVE_FUTURE_DATA||e.helpers.isIOS()?a.call(s.find("video").get(0)):s.find("video").on("canplaythrough load",a),s}(t,a,h),M(),e.undo.saveStep(),e.events.trigger("video.inserted",[n,o])}()}function m(t){var n=e.popups.get("video.insert");if(n||(n=p()),n.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),n.find(".fr-video-progress-bar-layer").addClass("fr-active"),n.find(".fr-buttons").hide(),o){var a=o.find("iframe, embed, ".concat(o.find("iframe, embed, audio").get(0)?"audio":"video"));e.popups.setContainer("video.insert",e.$sc);var r=a.offset().left,i=a.offset().top+a.height();e.popups.show("video.insert",r,i,a.outerHeight())}void 0===t&&b(e.language.translate("Uploading"),0)}function v(t){var n=e.popups.get("video.insert");if(n&&(n.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),n.find(".fr-video-progress-bar-layer").removeClass("fr-active"),n.find(".fr-buttons").show(),t||e.$el.find("video.fr-error").length)){if(e.events.focus(),e.$el.find("video.fr-error").length&&(e.$el.find("video.fr-error").parent().remove(),e.undo.saveStep(),e.undo.run(),e.undo.dropRedo()),!e.$wp&&o){var a=o;N(!0),e.selection.setAfter(a.find("video").get(0)),e.selection.restore()}e.popups.hide("video.insert")}}function b(t,n){var a=e.popups.get("video.insert");if(a){var r=a.find(".fr-video-progress-bar-layer");r.find("h3").text(t+(n?" ".concat(n,"%"):"")),r.removeClass("fr-error"),n?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width","".concat(n,"%"))):r.find("div").addClass("fr-indeterminate")}}function C(t){m();var n=e.popups.get("video.insert").find(".fr-video-progress-bar-layer");n.addClass("fr-error");var a=n.find("h3");a.text(t),e.events.disableBlur(),a.focus()}function E(e){k.call(e.get(0))}function y(t,n,a){b("Loading video");var r,o=this.status,i=this.response,s=this.responseXML,c=this.responseText;try{if(e.opts.videoUploadToS3||e.opts.videoUploadToAzure)if(201==o){if(e.opts.videoUploadToAzure){if(!1===e.events.trigger("video.uploadedToAzure",[this.responseURL,a,i],!0))return e.edit.on(),!1;r=n}else r=function(t){try{var n=l(t).find("Location").text(),a=l(t).find("Key").text();return!1===e.events.trigger("video.uploadedToS3",[n,a,t],!0)?(e.edit.on(),!1):n}catch(e){return $(4,t),!1}}(s);r&&g(r,!1,[],t,i||s)}else $(4,i||s);else if(200<=o&&o<300){var d=function(t){try{if(!1===e.events.trigger("video.uploaded",[t],!0))return e.edit.on(),!1;var n=JSON.parse(t);return n.link?n:($(2,t),!1)}catch(e){return $(4,t),!1}}(c);d&&g(d.link,!1,d,t,i||c)}else $(3,i||c)}catch(e){$(4,i||c)}}function T(){$(4,this.response||this.responseText||this.responseXML)}function A(t){if(t.lengthComputable){var n=t.loaded/t.total*100|0;b(e.language.translate("Uploading"),n)}}function L(){e.edit.on(),v(!0)}function x(t){if(!e.core.sameInstance(r))return!0;t.preventDefault(),t.stopPropagation();var o=t.pageX||(t.originalEvent.touches?t.originalEvent.touches[0].pageX:null),i=t.pageY||(t.originalEvent.touches?t.originalEvent.touches[0].pageY:null);if(!o||!i)return!1;if("mousedown"==t.type){var s=e.$oel.get(0).ownerDocument,c=s.defaultView||s.parentWindow,d=!1;try{d=c.location!=c.parent.location&&!(c.$&&c.$.FE)}catch(e){}d&&c.frameElement&&(o+=e.helpers.getPX(l(c.frameElement).offset().left)+c.frameElement.clientLeft,i=t.clientY+e.helpers.getPX(l(c.frameElement).offset().top)+c.frameElement.clientTop)}e.undo.canDo()||e.undo.saveStep(),(a=l(this)).data("start-x",o),a.data("start-y",i),n.show(),e.popups.hideAll(),D()}function S(t){if(!e.core.sameInstance(r))return!0;if(a){t.preventDefault();var n=t.pageX||(t.originalEvent.touches?t.originalEvent.touches[0].pageX:null),i=t.pageY||(t.originalEvent.touches?t.originalEvent.touches[0].pageY:null);if(!n||!i)return!1;var s=a.data("start-x"),l=a.data("start-y");a.data("start-x",n),a.data("start-y",i);var c=n-s,d=i-l,f=o.find("iframe, embed, ".concat(o.find("iframe, embed, audio").get(0)?"audio":"video")),p=f.width(),u=f.height();(a.hasClass("fr-hnw")||a.hasClass("fr-hsw"))&&(c=0-c),(a.hasClass("fr-hnw")||a.hasClass("fr-hne"))&&(d=0-d),f.css("width",p+c),f.css("height",u+d),f.removeAttr("width"),f.removeAttr("height"),O()}}function w(t){if(!e.core.sameInstance(r))return!0;a&&o&&(t&&t.stopPropagation(),a=null,n.hide(),O(),f(),e.undo.saveStep())}function R(e){return'<div class="fr-handler fr-h'.concat(e,'"></div>')}function _(e,t,n,a){return e.pageX=t,e.pageY=t,x.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,a)),e.pageY=e.pageY+n*Math.floor(Math.pow(1.1,a)),S.call(this,e),w.call(this,e),++a}function M(){var t,n=Array.prototype.slice.call(e.el.querySelectorAll("video, .fr-video > *")),a=[];for(t=0;t<n.length;t++)a.push(n[t].getAttribute("src")),l(n[t]).toggleClass("fr-draggable",e.opts.videoMove),""===n[t].getAttribute("class")&&n[t].removeAttribute("class"),""===n[t].getAttribute("style")&&n[t].removeAttribute("style");if(i)for(t=0;t<i.length;t++)0>a.indexOf(i[t].getAttribute("src"))&&e.events.trigger("video.removed",[l(i[t])]);i=n}function O(){r||function(){var a;if(e.shared.$video_resizer?(r=e.shared.$video_resizer,n=e.shared.$vid_overlay,e.events.on("destroy",function(){l("body").first().append(r.removeClass("fr-active"))},!0)):(e.shared.$video_resizer=l(document.createElement("div")).attr("class","fr-video-resizer"),r=e.shared.$video_resizer,e.events.$on(r,"mousedown",function(e){e.stopPropagation()},!0),e.opts.videoResize&&(r.append(R("nw")+R("ne")+R("sw")+R("se")),e.shared.$vid_overlay=l(document.createElement("div")).attr("class","fr-video-overlay"),n=e.shared.$vid_overlay,l(a=r.get(0).ownerDocument).find("body").first().append(n))),e.events.on("shared.destroy",function(){r.html("").removeData().remove(),r=null,e.opts.videoResize&&(n.remove(),n=null)},!0),e.helpers.isMobile()||e.events.$on(l(e.o_win),"resize.video",function(){N(!0)}),e.opts.videoResize){a=r.get(0).ownerDocument,e.events.$on(r,e._mousedown,".fr-handler",x),e.events.$on(l(a),e._mousemove,S),e.events.$on(l(a.defaultView||a.parentWindow),e._mouseup,w),e.events.$on(n,"mouseleave",w);var i=1,s=null,c=0;e.events.on("keydown",function(n){if(o){var a=-1!=navigator.userAgent.indexOf("Mac OS X")?n.metaKey:n.ctrlKey,r=n.which;(r!==s||200<n.timeStamp-c)&&(i=1),(r==t.KEYCODE.EQUALS||e.browser.mozilla&&r==t.KEYCODE.FF_EQUALS)&&a&&!n.altKey?i=_.call(this,n,1,1,i):(r==t.KEYCODE.HYPHEN||e.browser.mozilla&&r==t.KEYCODE.FF_HYPHEN)&&a&&!n.altKey&&(i=_.call(this,n,2,-1,i)),s=r,c=n.timeStamp}}),e.events.on("keyup",function(){i=1})}}(),(e.$wp||e.$sc).append(r),r.data("instance",e);var a=o.find("iframe, embed, ".concat(o.find("iframe, embed, audio").get(0)?"audio":"video")),i=0,s=0;e.opts.iframe&&(s=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-top")),i=e.helpers.getPX(e.$wp.find(".fr-iframe").css("padding-left"))),r.css("top",(e.opts.iframe?a.offset().top+s-1:a.offset().top-e.$wp.offset().top-1)+e.$wp.scrollTop()).css("left",(e.opts.iframe?a.offset().left+i-1:a.offset().left-e.$wp.offset().left-1)+e.$wp.scrollLeft()).css("width",a.get(0).getBoundingClientRect().width).css("height",a.get(0).getBoundingClientRect().height).addClass("fr-active")}function k(n){if(n&&"touchend"==n.type&&s)return!0;if(n&&e.edit.isDisabled())return n.stopPropagation(),n.preventDefault(),!1;if(e.edit.isDisabled())return!1;for(var a=0;a<t.INSTANCES.length;a++)t.INSTANCES[a]!=e&&t.INSTANCES[a].events.trigger("video.hideResizer");e.toolbar.disable(),e.helpers.isMobile()&&(e.events.disableBlur(),e.$el.blur(),e.events.enableBlur()),e.$el.find(".fr-video.fr-active").removeClass("fr-active"),(o=l(this)).addClass("fr-active"),e.opts.iframe&&e.size.syncIframe(),j(),O(),f(),e.selection.clear(),e.button.bulkRefresh(),e.events.trigger("image.hideResizer")}function N(t){o&&(e.shared.vid_exit_flag||!0===t)&&(r.removeClass("fr-active"),e.toolbar.enable(),o.removeClass("fr-active"),o=null,D())}function I(){e.shared.vid_exit_flag=!0}function D(){e.shared.vid_exit_flag=!1}function B(n){var a=n.originalEvent.dataTransfer;if(a&&a.files&&a.files.length){var r=a.files[0];if(r&&r.type&&-1!==r.type.indexOf("video")){if(!e.opts.videoUpload)return n.preventDefault(),n.stopPropagation(),!1;e.markers.remove(),e.markers.insertAtPoint(n.originalEvent),e.$el.find(".fr-marker").replaceWith(t.MARKERS),e.popups.hideAll();var o=e.popups.get("video.insert");return o||(o=p()),e.popups.setContainer("video.insert",e.$sc),e.popups.show("video.insert",n.originalEvent.pageX,n.originalEvent.pageY),m(),0<=e.opts.videoAllowedTypes.indexOf(r.type.replace(/video\//g,""))?F(a.files):$(6),n.preventDefault(),n.stopPropagation(),!1}}}function F(t){if(void 0!==t&&0<t.length){if(!1===e.events.trigger("video.beforeUpload",[t]))return!1;var n,a=t[0];if(!(null!==e.opts.videoUploadURL&&"https://i.froala.com/upload"!=e.opts.videoUploadURL||e.opts.videoUploadToS3||e.opts.videoUploadToAzure))return o&&o.find("iframe")&&o.find("iframe").length&&z(),(r=new FileReader).onload=function(){r.result;for(var e=atob(r.result.split(",")[1]),t=[],n=0;n<e.length;n++)t.push(e.charCodeAt(n));g(window.URL.createObjectURL(new Blob([new Uint8Array(t)],{type:a.type})),!1,null,o)},m(),r.readAsDataURL(a),!1;if(a.size>e.opts.videoMaxSize)return $(5),!1;if(0>e.opts.videoAllowedTypes.indexOf(a.type.replace(/video\//g,"")))return $(6),!1;if(e.drag_support.formdata&&(n=e.drag_support.formdata?new FormData:null),n){if(!1!==e.opts.videoUploadToS3)for(i in n.append("key",e.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(a.name||"untitled")),n.append("success_action_status","201"),n.append("X-Requested-With","xhr"),n.append("Content-Type",a.type),e.opts.videoUploadToS3.params)e.opts.videoUploadToS3.params.hasOwnProperty(i)&&n.append(i,e.opts.videoUploadToS3.params[i]);for(i in e.opts.videoUploadParams)e.opts.videoUploadParams.hasOwnProperty(i)&&n.append(i,e.opts.videoUploadParams[i]);n.append(e.opts.videoUploadParam,a);var r,i,s,c,d=e.opts.videoUploadURL;e.opts.videoUploadToS3&&(d=e.opts.videoUploadToS3.uploadURL?e.opts.videoUploadToS3.uploadURL:"https://".concat(e.opts.videoUploadToS3.region,".amazonaws.com/").concat(e.opts.videoUploadToS3.bucket));var f=e.opts.videoUploadMethod;e.opts.videoUploadToAzure&&(s=d=e.opts.videoUploadToAzure.uploadURL?"".concat(e.opts.videoUploadToAzure.uploadURL,"/").concat(a.name):encodeURI("https://".concat(e.opts.videoUploadToAzure.account,".blob.core.windows.net/").concat(e.opts.videoUploadToAzure.container,"/").concat(a.name)),e.opts.videoUploadToAzure.SASToken&&(d+=e.opts.videoUploadToAzure.SASToken),f="PUT");var p=e.core.getXHR(d,f);if(e.opts.videoUploadToAzure){var u=(new Date).toUTCString();if(!e.opts.videoUploadToAzure.SASToken&&e.opts.videoUploadToAzure.accessKey){var h=e.opts.videoUploadToAzure.account,v=e.opts.videoUploadToAzure.container;if(e.opts.videoUploadToAzure.uploadURL){var b=e.opts.videoUploadToAzure.uploadURL.split("/");v=b.pop(),h=b.pop().split(".")[0]}var C="x-ms-blob-type:BlockBlob\nx-ms-date:".concat(u,"\nx-ms-version:2019-07-07"),E=encodeURI("/"+h+"/"+v+"/"+a.name),x=f+"\n\n\n"+a.size+"\n\n"+a.type+"\n\n\n\n\n\n\n"+C+"\n"+E,S=e.cryptoJSPlugin.cryptoJS.HmacSHA256(x,e.cryptoJSPlugin.cryptoJS.enc.Base64.parse(e.opts.videoUploadToAzure.accessKey)).toString(e.cryptoJSPlugin.cryptoJS.enc.Base64),w="SharedKey "+h+":"+S;c=S,p.setRequestHeader("Authorization",w)}for(i in p.setRequestHeader("x-ms-version","2019-07-07"),p.setRequestHeader("x-ms-date",u),p.setRequestHeader("Content-Type",a.type),p.setRequestHeader("x-ms-blob-type","BlockBlob"),e.opts.videoUploadParams)e.opts.videoUploadParams.hasOwnProperty(i)&&p.setRequestHeader(i,e.opts.videoUploadParams[i]);for(i in e.opts.videoUploadToAzure.params)e.opts.videoUploadToAzure.params.hasOwnProperty(i)&&p.setRequestHeader(i,e.opts.videoUploadToAzure.params[i])}p.onload=function(){y.call(p,o,s,c)},p.onerror=T,p.upload.onprogress=A,p.onabort=L,m(),e.events.disableBlur(),e.edit.off(),e.events.enableBlur();var R=e.popups.get("video.insert");R&&l(R.off("abortUpload")).on("abortUpload",function(){4!=p.readyState&&p.abort()}),p.send(e.opts.videoUploadToAzure?a:n)}}}function $(t,n){e.edit.on(),o&&o.find("video").addClass("fr-error"),C(e.language.translate("Something went wrong. Please try again.")),e.events.trigger("video.error",[{code:t,message:c[t]},n])}function P(){if(o){var t=e.popups.get("video.size"),n=o.find("iframe, embed, ".concat(o.find("iframe, embed, audio").get(0)?"audio":"video"));t.find('input[name="width"]').val(n.get(0).style.width||n.attr("width")).trigger("change"),t.find('input[name="height"]').val(n.get(0).style.height||n.attr("height")).trigger("change")}}function H(t){if(t)return e.popups.onRefresh("video.size",P),!0;var n={buttons:'<div class="fr-buttons fr-tabs">'.concat(e.button.buildList(e.opts.videoSizeButtons),"</div>"),size_layer:'<div class="fr-video-size-layer fr-layer fr-active" id="fr-video-size-layer-'.concat(e.id,'"><div class="fr-video-group"><div class="fr-input-line"><input id="fr-video-size-layer-width-').concat(e.id,'" type="text" name="width" placeholder="').concat(e.language.translate("Width"),'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-video-size-layer-height-').concat(e.id,'" type="text" name="height" placeholder="').concat(e.language.translate("Height"),'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoSetSize" tabIndex="2" role="button">').concat(e.language.translate("Update"),"</button></div></div>")},a=e.popups.create("video.size",n);return e.events.$on(e.$wp,"scroll",function(){o&&e.popups.isVisible("video.size")&&(e.events.disableBlur(),E(o))}),a}function U(e){if(void 0===e&&(e=o),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function K(e){void 0===e&&(e=o);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function z(){if(o&&!1!==e.events.trigger("video.beforeRemove",[o])){var t=o;e.popups.hideAll(),N(!0),e.selection.setBefore(t.get(0))||e.selection.setAfter(t.get(0)),t.remove(),e.selection.restore(),e.html.fillEmptyBlocks()}}function W(){v()}function V(t,n,a){!e.opts.htmlUntouched&&e.opts.useClasses?(t.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),t.addClass("fr-fv".concat(a[0]," fr-dv").concat(n[0]))):"inline"==n?(t.css({display:"inline-block"}),"center"==a?t.css({float:"none"}):"left"==a?t.css({float:"left"}):t.css({float:"right"})):(t.css({display:"block",clear:"both"}),"left"==a?t.css({textAlign:"left"}):"right"==a?t.css({textAlign:"right"}):t.css({textAlign:"center"}))}function G(){var n=e.$el.find("video").filter(function(){return 0===l(this).parents("span.fr-video").length});if(0!=n.length){n.wrap(l(document.createElement("span")).attr("class","fr-video fr-deletable").attr("contenteditable","false")),e.$el.find("embed, iframe").filter(function(){if(e.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0<l(this).parents("span.fr-video").length)return!1;for(var n=l(this).attr("src"),a=0;a<t.VIDEO_PROVIDERS.length;a++){var r=t.VIDEO_PROVIDERS[a];if(r.test_regex.test(n)&&new RegExp(e.opts.videoAllowedProviders.join("|")).test(r.provider))return!0}return!1}).map(function(){return 0===l(this).parents("object").length?this:l(this).parents("object").get(0)}).wrap(l(document.createElement("span")).attr("class","fr-video").attr("contenteditable","false"));for(var a,r,o=e.$el.find("span.fr-video, video"),i=0;i<o.length;i++){var s=l(o[i]);!e.opts.htmlUntouched&&e.opts.useClasses?(s.hasClass("fr-dvi")||s.hasClass("fr-dvb")||(s.addClass("fr-fv".concat(U(s)[0])),s.addClass("fr-dv".concat(K(s)[0]))),e.opts.videoTextNear||s.removeClass("fr-dvi").addClass("fr-dvb")):e.opts.htmlUntouched||e.opts.useClasses||(a=s.hasClass("fr-dvb")?"block":s.hasClass("fr-dvi")?"inline":null,r=s.hasClass("fr-fvl")?"left":s.hasClass("fr-fvr")?"right":U(s),V(s,a,r),s.removeClass("fr-dvb fr-dvi fr-fvr fr-fvl"))}o.toggleClass("fr-draggable",e.opts.videoMove)}}function Y(t){document.getElementById("autoplay-".concat(e.id)).style.cssText="background:".concat(t)}function j(){if(o){e.selection.clear();var t=e.doc.createRange();t.selectNode(o.get(0)),e.selection.get().addRange(t)}}return c[1]="Video cannot be loaded from the passed link.",c[2]="No link in upload response.",c[3]="Error during file upload.",c[4]="Parsing response failed.",c[5]="File is too large.",c[6]="Video file type is invalid.",c[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",e.shared.vid_exit_flag=!1,{_init:function(){e.opts.videoResponsive&&(e.opts.videoResize=!1),e.events.on("drop",B,!0),e.events.on("mousedown window.mousedown",I),e.events.on("window.touchmove",D),e.events.on("mouseup window.mouseup",N),e.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&N()}),e.events.on("video.hideResizer commands.undo commands.redo element.dropped",function(){N(!0)}),e.helpers.isMobile()&&(e.events.$on(e.$el,"touchstart","span.fr-video",function(){s=!1}),e.events.$on(e.$el,"touchmove",function(){s=!0})),e.events.on("html.set",G),G(),e.events.$on(e.$el,"mousedown","span.fr-video",function(t){t.stopPropagation(),(e.browser.msie||e.browser.edge)&&(t.target.innerText||(t.target.dragDrop(),k.call(this,t)))}),e.events.$on(e.$el,"click touchend","span.fr-video",function(e){if(e.target.innerText.length||"false"==l(this).parents("[contenteditable]").not(".fr-element").not(".fr-img-caption").not("body").first().attr("contenteditable"))return!0;k.call(this,e)}),e.events.on("keydown",function(n){var a=n.which;return o&&(a==t.KEYCODE.BACKSPACE||a==t.KEYCODE.DELETE)?(n.preventDefault(),z(),e.undo.saveStep(),!1):o&&a==t.KEYCODE.ESC?(N(!0),n.preventDefault(),!1):o&&a!=t.KEYCODE.F10&&!e.keys.isBrowserAction(n)?(n.preventDefault(),!1):void 0},!0),e.events.on("toolbar.esc",function(){if(o)return e.events.disableBlur(),e.events.focus(),!1},!0),e.events.on("toolbar.focusEditor",function(){if(o)return!1},!0),e.events.on("keydown",function(){e.$el.find("span.fr-video:empty").remove()}),e.$wp&&(M(),e.events.on("contentChanged",M)),p(!0),H(!0)},showInsertPopup:function(){var t=e.$tb.find('.fr-command[data-cmd="insertVideo"]'),n=e.popups.get("video.insert");if(n||(n=p()),v(),!n.hasClass("fr-active"))if(e.popups.refresh("video.insert"),e.popups.setContainer("video.insert",e.$tb),t.isVisible()){var a=e.button.getPosition(t),r=a.left,o=a.top;e.popups.show("video.insert",r,o,t.outerHeight())}else e.position.forSelection(n),e.popups.show("video.insert")},showLayer:function(t){var n,a,r=e.popups.get("video.insert");if(!o&&!e.opts.toolbarInline){var i=e.$tb.find('.fr-command[data-cmd="insertVideo"]');n=i.offset().left,a=i.offset().top+(e.opts.toolbarBottom?10:i.outerHeight()-10)}e.opts.toolbarInline&&(a=r.offset().top-e.helpers.getPX(r.css("margin-top")),r.hasClass("fr-above")&&(a+=r.outerHeight())),r.find(".fr-layer").removeClass("fr-active"),r.find(".fr-".concat(t,"-layer")).addClass("fr-active"),e.popups.show("video.insert",n,a,0),e.accessibility.focusPopup(r)},refreshByURLButton:function(t){var n=e.popups.get("video.insert");n&&n.find(".fr-video-by-url-layer").hasClass("fr-active")&&t.addClass("fr-active").attr("aria-pressed",!0)},refreshEmbedButton:function(t){var n=e.popups.get("video.insert");n&&n.find(".fr-video-embed-layer").hasClass("fr-active")&&t.addClass("fr-active").attr("aria-pressed",!0)},refreshUploadButton:function(t){var n=e.popups.get("video.insert");n&&n.find(".fr-video-upload-layer").hasClass("fr-active")&&t.addClass("fr-active").attr("aria-pressed",!0)},upload:F,insertByURL:function(n){var a=!!document.getElementById("videoPluginAutoplay")&&document.getElementById("videoPluginAutoplay").checked;void 0===n&&(n=(e.popups.get("video.insert").find('.fr-video-by-url-layer input[type="text"]').val()||"").trim());var r=null;if(/^http/.test(n)||(n="https://".concat(n)),e.helpers.isURL(n))for(var o=0;o<t.VIDEO_PROVIDERS.length;o++){var i=t.VIDEO_PROVIDERS[o],s="autoplay=1";if(i.html.includes("autoplay=1")&&document.getElementById("videoPluginAutoplay").checked)i.html=i.html,document.getElementById("videoPluginAutoplay").checked=!1;else if(a){var l=i.html.indexOf("{url}")+5;i.html=[i.html.slice(0,l),s,i.html.slice(l)].join(""),a=!1,document.getElementById("videoPluginAutoplay").checked=!1}else(i=t.VIDEO_PROVIDERS[o]).html=i.html.replace(s,"");if(i.test_regex.test(n)&&new RegExp(e.opts.videoAllowedProviders.join("|")).test(i.provider)){r=n.replace(i.url_regex,i.url_text),r=i.html.replace(/\{url\}/,r);break}}r?u(r):(C(e.language.translate("Something went wrong. Please try again.")),e.events.trigger("video.linkError",[n]))},insertEmbed:function(n){void 0===n&&(n=e.popups.get("video.insert").find(".fr-video-embed-layer textarea").val()||""),0!==n.length&&t.VIDEO_EMBED_REGEX.test(n)?u(n):(C(e.language.translate("Something went wrong. Please try again.")),e.events.trigger("video.codeError",[n]))},insert:u,align:function(t){o.removeClass("fr-fvr fr-fvl"),!e.opts.htmlUntouched&&e.opts.useClasses?"left"==t?o.addClass("fr-fvl"):"right"==t&&o.addClass("fr-fvr"):V(o,K(),t),j(),O(),f(),e.selection.clear()},refreshAlign:function(t){if(!o)return!1;t.find(">*").first().replaceWith(e.icon.create("video-align-".concat(U())))},refreshAlignOnShow:function(e,t){o&&t.find('.fr-command[data-param1="'.concat(U(),'"]')).addClass("fr-active").attr("aria-selected",!0)},display:function(t){o.removeClass("fr-dvi fr-dvb"),!e.opts.htmlUntouched&&e.opts.useClasses?"inline"==t?o.addClass("fr-dvi"):"block"==t&&o.addClass("fr-dvb"):V(o,t,U()),j(),O(),f(),e.selection.clear()},refreshDisplayOnShow:function(e,t){o&&t.find('.fr-command[data-param1="'.concat(K(),'"]')).addClass("fr-active").attr("aria-selected",!0)},remove:z,hideProgressBar:v,showSizePopup:function(){var t=e.popups.get("video.size");t||(t=H()),v(),e.popups.refresh("video.size"),e.popups.setContainer("video.size",e.$sc);var n=o.find("iframe, embed, ".concat(o.find("iframe, embed, audio").get(0)?"audio":"video")),a=n.offset().left+n.outerWidth()/2,r=n.offset().top+n.height();e.popups.show("video.size",a,r,n.height(),!0)},replace:function(){var t=e.popups.get("video.insert");t||(t=p()),e.popups.isVisible("video.insert")||(v(),e.popups.refresh("video.insert"),e.popups.setContainer("video.insert",e.$sc));var n=o.offset().left+o.outerWidth()/2,a=o.offset().top+o.height();e.popups.show("video.insert",n,a,o.outerHeight(),!0)},back:function(){o?(e.events.disableBlur(),o[0].click()):(e.events.disableBlur(),e.selection.restore(),e.events.enableBlur(),e.popups.hide("video.insert"),e.toolbar.showInline())},setSize:function(t,n){if(o){var a=e.popups.get("video.size"),r=o.find("iframe, embed, ".concat(o.find("iframe, embed, audio").get(0)?"audio":"video"));r.css("width",t||a.find('input[name="width"]').val()),r.css("height",n||a.find('input[name="height"]').val()),r.get(0).style.width&&r.removeAttr("width"),r.get(0).style.height&&r.removeAttr("height"),a.find("input:focus").blur(),setTimeout(function(){o.trigger("click")},50*!!e.helpers.isAndroid())}},get:function(){return o},showProgressBar:m,_editVideo:E,setAutoplay:function(){var e;if(o.find("iframe, embed, audio").get(0))(e=o.find("iframe, embed, audio")).get(0).src.includes("autoplay=1")?(Y("#FFFFFF"),e.get(0).src=e.get(0).src.replace("&autoplay=1","")):(Y("#D6D6D6"),e.get(0).src=e.get(0).src+"&autoplay=1");else if((e=o.find("iframe, embed, video")).get(0).outerHTML.includes("autoplay"))Y("#FFFFFF"),e.get(0).outerHTML=e.get(0).outerHTML.replace("autoplay","");else{Y("#D6D6D6");var t=e.get(0).outerHTML.indexOf("class")-1;e.get(0).outerHTML=e.get(0).outerHTML.slice(0,t)+"autoplay"+e.get(0).outerHTML.slice(t)}}}},t.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),t.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera",SVG_KEY:"insertVideo"}),t.DefineIcon("videoByURL",{NAME:"link",SVG_KEY:"insertLink"}),t.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),t.DefineIcon("videoEmbed",{NAME:"code",SVG_KEY:"codeView"}),t.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),t.DefineIcon("videoUpload",{NAME:"upload",SVG_KEY:"upload"}),t.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),t.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),t.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),t.DefineIcon("videoDisplay",{NAME:"star",SVG_KEY:"star"}),t.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),t.DefineIcon("video-align",{NAME:"align-left",SVG_KEY:"align Left"}),t.DefineIcon("video-align-left",{NAME:"align-left",SVG_KEY:"alignLeft"}),t.DefineIcon("video-align-right",{NAME:"align-right",SVG_KEY:"alignRight"}),t.DefineIcon("video-align-center",{NAME:"align-justify",SVG_KEY:"alignJustify"}),t.DefineIcon("videoAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),t.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',n=t.COMMANDS.videoAlign.options;for(var a in n)n.hasOwnProperty(a)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="videoAlign" data-param1="'.concat(a,'" title="').concat(this.language.translate(n[a]),'">').concat(this.icon.create("video-align-".concat(a)),'<span class="fr-sr-only">').concat(this.language.translate(n[a]),"</span></a></li>"));return e+"</ul>"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),t.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),t.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),t.DefineIcon("videoRemove",{NAME:"trash",SVG_KEY:"remove"}),t.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),t.DefineIcon("autoplay",{NAME:"autoplay",SVG_KEY:"autoplay"}),t.RegisterCommand("autoplay",{undo:!1,focus:!1,popup:!0,title:"Autoplay",callback:function(){this.video.setAutoplay()}}),t.DefineIcon("videoSize",{NAME:"arrows-alt",SVG_KEY:"imageSize"}
vendor: 8,174 bytes, line 1
1),t.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),t.DefineIcon("videoBack",{NAME:"arrow-left",SVG_KEY:"back"}),t.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),t.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),t.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Object.assign(t.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),t.PLUGINS.wordPaste=function(e){var n,a,r=e.$,o="word_paste",i={};function s(t){var n=e.opts.wordAllowedStyleProps;t||(e.opts.wordAllowedStyleProps=[]),0===a.indexOf("<colgroup>")&&(a="<table>"+a+"</table>"),a=C(a=a.replace(/<span[\n\r ]*style='mso-spacerun:yes'>([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var n="",a=0;a++<t.length;)n+="&nbsp;";return n}),e.paste.getRtfClipboard());var r=e.doc.createElement("DIV");r.innerHTML=a,e.html.cleanBlankSpaces(r),a=r.innerHTML,a=(a=e.paste.cleanEmptyTagsAndDivs(a)).replace(/\u200b/g,""),e.modals.hide(o),e.paste.clean(a,!0,!0),e.opts.wordAllowedStyleProps=n}function l(e){e.parentNode&&e.parentNode.removeChild(e)}function c(e,t){if(t(e))for(var n=e.firstChild;n;){var a=n,r=n.previousSibling;n=n.nextSibling,c(a,t),a.previousSibling||a.nextSibling||a.parentNode||!n||r===n.previousSibling||!n.parentNode?a.previousSibling||a.nextSibling||a.parentNode||!n||n.previousSibling||n.nextSibling||n.parentNode||(r?n=r.nextSibling?r.nextSibling.nextSibling:null:e.firstChild&&(n=e.firstChild.nextSibling)):n=r?r.nextSibling:e.firstChild}}function d(e){if(!e.getAttribute("style")||!/mso-list:[\s]*l/gi.test(e.getAttribute("style").replace(/\n/gi,"")))return!1;try{if(!e.querySelector('[style="mso-list:Ignore"]'))return!!(e.outerHTML&&0<=e.outerHTML.indexOf("\x3c!--[if !supportLists]--\x3e"))}catch(e){return!1}return!0}function f(e){return e.getAttribute("style").replace(/\n/gi,"").replace(/.*level([0-9]+?).*/gi,"$1")}function p(e,t){for(var n=document.createElement(t),a=0;a<e.attributes.length;a++){var r=e.attributes[a].name;n.setAttribute(r,e.getAttribute(r))}return n.innerHTML=e.innerHTML,e.parentNode.replaceChild(n,e),n}function u(e){var t=e.getAttribute("align");t&&(e.style["text-align"]=t,e.removeAttribute("align"))}function h(e){return e.replace(/\n|\r|\n\r|&quot;/g,"")}function g(e,t,n){if(t){var a=e.getAttribute("style");a&&";"!==a.slice(-1)&&(a+=";"),t&&";"!==t.slice(-1)&&(t+=";"),t=t.replace(/\n/gi,"");var r=null;r=n?(a||"")+t:t+(a||""),e.setAttribute("style",r)}}var m=null;function v(e,t,n){for(var a=e.split(n),r=1;r<a.length;r++){var o=a[r];if(1<(o=o.split("shplid")).length){o=o[1];for(var i="",s=0;s<o.length&&"\\"!==o[s]&&"{"!==o[s]&&" "!==o[s]&&"\r"!==o[s]&&"\n"!==o[s];)i+=o[s],s++;var l=o.split("bliptag");if(l&&l.length<2)continue;var c=null;if(-1!==l[0].indexOf("pngblip")?c="image/png":-1!==l[0].indexOf("jpegblip")&&(c="image/jpeg"),!c)continue;var d=l[1].split("}");if(d&&d.length<2)continue;var f=void 0;if(2<d.length&&-1!==d[0].indexOf("blipuid"))f=d[1].split(" ");else{if((f=d[0].split(" "))&&f.length<2)continue;f.shift()}var p=f.join("");m[t+i]={image_hex:p,image_type:c}}}}function b(n,a){var r=n.tagName,o=r.toLowerCase();if(n.firstElementChild&&("I"===n.firstElementChild.tagName?p(n.firstElementChild,"em"):"B"===n.firstElementChild.tagName&&p(n.firstElementChild,"strong")),-1!==["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(r))return l(n),!1;for(var i=["META","LINK","XML","ST1:","O:","W:","FONT"],s=0;s<i.length;s++)if(-1!==r.indexOf(i[s]))return n.innerHTML&&(n.outerHTML=n.innerHTML),l(n),!1;if("TD"!==r){var c=n.getAttribute("class")||"MsoNormal";if(a&&c){for(var f=(c=h(c)).split(" "),m=0;m<f.length;m++){var v=[],b="."+f[m];v.push(b),v.push(b=o+b);for(var C=0;C<v.length;C++)a[v[C]]&&g(n,a[v[C]])}n.removeAttribute("class")}a&&a[o]&&g(n,a[o])}if(-1!==["P","H1","H2","H3","H4","H5","H6","PRE"].indexOf(r)){var E=n.getAttribute("class");if(E&&(a&&a[r.toLowerCase()+"."+E]&&g(n,a[r.toLowerCase()+"."+E]),-1!==E.toLowerCase().indexOf("mso"))){var y=h(E);(y=y.replace(/[0-9a-z-_]*mso[0-9a-z-_]*/gi,""))?n.setAttribute("class",y):n.removeAttribute("class")}var T=n.getAttribute("style");if(T){var A=T.match(/text-align:.+?[; "]{1,1}/gi);A&&A[A.length-1].replace(/(text-align:.+?[; "]{1,1})/gi,"$1")}u(n)}if("TR"===r&&function(n,a){e.node.clearAttributes(n);for(var r=n.firstElementChild,o=0,i=!1,s=null;r;){r.firstElementChild&&-1!==r.firstElementChild.tagName.indexOf("W:")&&(r.innerHTML=r.firstElementChild.innerHTML),(s=r.getAttribute("width"))||i||(i=!0),o+=parseInt(s,10),(!r.firstChild||r.firstChild&&r.firstChild.data===t.UNICODE_NBSP)&&(r.firstChild&&l(r.firstChild),r.innerHTML="<br>");for(var c=r.firstElementChild,f=1===r.children.length;c;)"P"!==c.tagName||d(c)||f&&u(c),c=c.nextElementSibling;if(a){var p=r.getAttribute("class");if(p){var m=(p=h(p)).match(/xl[0-9]+/gi);if(m){var v="."+m[0];a[v]&&g(r,a[v])}}a.td&&g(r,a.td)}var b=r.getAttribute("style");b&&(b=h(b))&&";"!==b.slice(-1)&&(b+=";");var C=r.getAttribute("valign");if(!C&&b){var E=b.match(/vertical-align:.+?[; "]{1,1}/gi);E&&(C=E[E.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var y=null;if(b){var T=b.match(/text-align:.+?[; "]{1,1}/gi);T&&(y=T[T.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"===y&&(y=null)}var A=null;if(b){var L=b.match(/background:.+?[; "]{1,1}/gi);L&&(A=L[L.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var x=r.getAttribute("colspan"),S=r.getAttribute("rowspan");x&&r.setAttribute("colspan",x),S&&r.setAttribute("rowspan",S),C&&(r.style["vertical-align"]=C),y&&(r.style["text-align"]=y),A&&(r.style["background-color"]=A),s&&r.setAttribute("width",s),r=r.nextElementSibling}for(r=n.firstElementChild;r;)s=r.getAttribute("width"),i?r.removeAttribute("width"):r.setAttribute("width",100*parseInt(s,10)/o+"%"),r=r.nextElementSibling}(n,a),"A"!==r||n.attributes.getNamedItem("href")||n.attributes.getNamedItem("name")||!n.innerHTML||(n.outerHTML=n.innerHTML),"A"==r&&n.getAttribute("href")&&n.querySelector("img"))for(var L=n.querySelectorAll("span"),x=0;x<L.length;x++)L[x].innerText||(L[x].outerHTML=L[x].innerHTML);if("TD"!==r&&"TH"!==r||n.innerHTML||(n.innerHTML="<br>"),"TABLE"===r&&(n.style.width=n.style.width),n.getAttribute("lang")&&n.removeAttribute("lang"),n.getAttribute("style")&&-1!==n.getAttribute("style").toLowerCase().indexOf("mso")){var S=h(n.getAttribute("style"));(S=S.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?n.setAttribute("style",S):n.removeAttribute("style")}return!0}function C(n,a){0<=n.indexOf("<html")&&(n=n.replace(/[.\s\S\w\W<>]*(<html[^>]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1")),function(e){for(var t=e.split("v:shape"),n=1;n<t.length;n++){var a=t[n],r=a.split(' id="')[1];if(r&&1<r.length){r=r.split('"')[0];var o=a.split(' o:spid="')[1];o&&1<o.length&&(o=o.split('"')[0],i[r]=o)}}}(n);var o=(new DOMParser).parseFromString(n,"text/html"),s=o.head,u=o.body,g=function(e){var t={},n=e.getElementsByTagName("style");if(n.length){var a=n[0].innerHTML.match(/[\S ]+\s+{[\s\S]+?}/gi);if(a)for(var r=0;r<a.length;r++){var o=a[r],i=o.replace(/([\S ]+\s+){[\s\S]+?}/gi,"$1"),s=o.replace(/[\S ]+\s+{([\s\S]+?)}/gi,"$1");i=i.replace(/^[\s]|[\s]$/gm,""),s=s.replace(/^[\s]|[\s]$/gm,""),i=i.replace(/\n|\r|\n\r/g,""),s=s.replace(/\n|\r|\n\r/g,"");for(var l=i.split(", "),c=0;c<l.length;c++)t[l[c]]=s}}return t}(s);c(u,function(e){if(e.nodeType===Node.TEXT_NODE&&/\n|\u00a0|\r/.test(e.data)){if
1(!/\S| /.test(e.data)&&!/[\u00a0]+/.test(e.data))return e.data===t.UNICODE_NBSP?(e.data="​",!0):1===e.data.length&&10===e.data.charCodeAt(0)?(e.data=" ",!0):(l(e),!1);e.data=e.data.replace(/\n|\r/gi," ")}return!0}),c(u,function(t){return t.nodeType!==Node.ELEMENT_NODE||"V:IMAGEDATA"!==t.tagName&&"IMG"!==t.tagName||function(t,n){if(n){var a;if("IMG"===t.tagName){var o=t.getAttribute("src");if(!o||-1===o.indexOf("file://"))return;if(0===o.indexOf("file://")&&e.helpers.isURL(t.getAttribute("alt")))return t.setAttribute("src",t.getAttribute("alt"));(a=i[t.getAttribute("v:shapes")])||(a=t.getAttribute("v:shapes"),t.parentNode&&t.parentNode.parentNode&&0<=t.parentNode.parentNode.innerHTML.indexOf("msEquation")&&(a=null))}else a=t.parentNode.getAttribute("o:spid");if(t.removeAttribute("height"),a){m={},v(n,"i","\\shppict"),v(n,"s","\\shp{");var s=m[a.substring(7)];if(s){var l=function(e){for(var t=e.match(/[0-9a-f]{2}/gi),n=[],a=0;a<t.length;a++)n.push(String.fromCharCode(parseInt(t[a],16)));return btoa(n.join(""))}(s.image_hex),c="data:"+s.image_type+";base64,"+l;"IMG"===t.tagName?(t.src=c,t.setAttribute("data-fr-image-pasted",!0)):r(t.parentNode).before('<img data-fr-image-pasted="true" src="'+c+'" style="'+t.parentNode.getAttribute("style")+'">').remove()}}}}(t,a),!0});for(var C=u.querySelectorAll("ul > ul, ul > ol, ol > ul, ol > ol"),E=C.length-1;0<=E;E--)C[E].previousElementSibling&&"LI"===C[E].previousElementSibling.tagName&&C[E].previousElementSibling.appendChild(C[E]);c(u,function(t){if(t.nodeType===Node.TEXT_NODE)return t.data=t.data.replace(/<br>(\n|\r)/gi,"<br>"),!1;if(t.nodeType===Node.ELEMENT_NODE){if(d(t)){var n=t.parentNode,a=t.previousSibling,r=function t(n,a,r,o){var i,s,l=/[0-9a-zA-Z]./gi,p=!1,u=navigator.userAgent.toLowerCase();-1!=u.indexOf("safari")&&(u=-1<u.indexOf("chrome")?1:"safari"),n.innerHTML.includes("mso-list:\nIgnore")&&(n.innerHTML=n.innerHTML.replace(/mso-list:\nIgnore/gi,"mso-list:Ignore"));var h,g,m,v,C=n.querySelector('span[style="mso-list:Ignore"]');null==C&&"safari"==u&&(C=n.querySelector('span[lang="PT-BR"]')),C&&(p=p||l.test(C.textContent)),null!==C&&(E=C.textContent.trim().split(".")[0]),m=1==p?("1"==(E=C.textContent.trim().split(".")[0])?v="decimal;":"i"==E?v="lower-roman;":"I"==E?v="upper-roman;":"o"==E?v="circle;":E.match(/^v$/)||(E.match(/^[a-z]$/)||E.match(/^[a-z]\)$/)?v="lower-alpha;":(E.match(/^[A-Z]$/)||E.match(/^[A-Z]\)$/))&&(v="upper-alpha;")),v="list-style-type: "+v,"ol"):(null!=C&&(E=C.textContent.trim().split(".")[0]),"\xa7"==E?v="square;":"\xb7"==E&&(v="disc;"),v="list-style-type: "+v,"ul");var E,y,T="";void 0==C||void 0==C.textContent||isNaN(parseInt(C.textContent.trim().split(".")[1],10))||(T=' class="decimal_type" ');var A,L=f(n),x=n.style.marginLeft;if(x.includes("in")?(A="in",x=parseFloat(x)-.5):x.includes("pt")&&(A="px",x=parseFloat(x)-10),1==L)if(y=v?"<"+m+' style = "'+v+"; margin-left:"+x+A+';">':"<"+m+' style="margin-left:'+x+A+';">',"list-style-type: upper-alpha;"==v){var S=E.charCodeAt(0)-64;y=v?"<"+m+T+' start="'+S+'" style = "'+v+" margin-left:"+x+A+';">':"<"+m+">"}else if("list-style-type: lower-alpha;"==v){var w=E.charCodeAt(0)-96;y=v?"<"+m+T+' start="'+w+'" style = "'+v+"margin-left:"+x+A+';">':"<"+m+">"}else y=v?"<"+m+T+' style = "'+v+";margin-left:"+x+A+';">':"<"+m+' style="margin-left:'+x+A+';">';else if("list-style-type: upper-alpha;"==v){var R=E.charCodeAt(0)-64;y=v?"<"+m+T+' style = "'+v+' start="'+R+'">':"<"+m+">"}else if("list-style-type: lower-alpha;"==v){var _=E.charCodeAt(0)-96;y=v?"<"+m+T+' style = "'+v+' start="'+_+'">':"<"+m+">"}else y=v?"<"+m+T+' style = "'+v+'">':"<"+m+">";for(var M=!1;n;){if(!d(n)){if(n.outerHTML&&0<n.outerHTML.indexOf("mso-bookmark")&&0==(n.textContent||"").length){n=n.nextElementSibling;continue}break}var O=f(n);if((r=r||O)<O)y+=(g=t(n,a,O,n.style.marginLeft)).el.outerHTML,n=g.currentNode;else{if(O<r)break;n.firstElementChild&&n.firstElementChild.firstElementChild&&n.firstElementChild.firstElementChild.firstChild&&(l.lastIndex=0),s&&s.firstElementChild&&s.firstElementChild.firstElementChild&&s.firstElementChild.firstElementChild.firstChild&&(l.lastIndex=0,i=l.test(s.firstElementChild.firstElementChild.firstChild.data||s.firstElementChild.firstElementChild.firstChild.firstChild&&s.firstElementChild.firstElementChild.firstChild.firstChild.data||""));var k=!1;(!o&&!n.style.marginLeft||o&&n.style.marginLeft&&o===n.style.marginLeft)&&(k=!0),o=n.style.marginLeft,k||void 0===i?(h=function(t,n){var a=t.cloneNode(!0);if(-1!==["H1","H2","H3","H4","H5","H6"].indexOf(t.tagName)){var r=document.createElement(t.tagName.toLowerCase());r.setAttribute("style",t.getAttribute("style")),r.innerHTML=a.innerHTML,a.innerHTML=r.outerHTML}
1return c(a,function(t){if(t.nodeType==Node.COMMENT_NODE&&(e.browser.msie||e.browser.safari||e.browser.edge))try{if("[if !supportLists]"===t.data){for(t=t.nextSibling;t&&t.nodeType!==Node.COMMENT_NODE;){var a,r,o=t.nextSibling;t.parentNode.removeChild(t),t=o}t&&t.nodeType==Node.COMMENT_NODE&&t.parentNode.removeChild(t)}}catch(e){}return t.nodeType===Node.ELEMENT_NODE&&("mso-list:\nIgnore"===t.getAttribute("style")&&t.setAttribute("style","mso-list:Ignore"),"mso-list:Ignore"===t.getAttribute("style")&&t.parentNode.removeChild(t),t.setAttribute("style",(a="",(r=t.getAttribute("style"))&&["line-height","font-family","font-size","color","background"].forEach(function(e){var t=r.match(RegExp(e+":.*(;|)"));t&&(a+=t[0]+";")}),a)),b(t,n)),!0}),a.innerHTML.replace(/<!--[\s\S]*?-->/gi,"")}(n,a),void 0==n.nextSibling.innerText||void 0==n.nextSibling.innerText||y.includes('class="decimal_type"')||isNaN(parseInt(n.nextSibling.innerText.trim().split(".")[1],10))||(y=y.substring(3,0)+' class="decimal_type"'+y.substring(3,y.length)),y+="<li>"+h+"</li>"):(1==O&&(y+="</"+m+">",M=!0,s=null),y+=(g=t(n,a,O,n.style.marginLeft)).el.outerHTML,n=g.currentNode);var N=n&&n.nextElementSibling;if(N&&(s=N.previousElementSibling),n&&!d(n)){if(n.outerHTML&&0<n.outerHTML.indexOf("mso-bookmark")&&0==(n.textContent||"").length){n=n.nextElementSibling;continue}break}n&&n.parentNode&&n.parentNode.removeChild(n),n=N}}M||(y+="</"+m+">");var I=document.createElement("div");return I.innerHTML=y,{el:I,currentNode:n}}(t,g).el,o=null;return(o=a?a.nextSibling:n.firstChild)?n.insertBefore(r,o):n.appendChild(r),!1}return"FONT"===t.tagName&&g["."+t.getAttribute("class")]&&(t=p(t,"span")),b(t,g)}if(t.nodeType!==Node.COMMENT_NODE)return!0;if(-1<t.data.indexOf("[if !supportLineBreakNewLine]"))for(var i=t.nextSibling;i;)(i=t.nextSibling)&&l(i),i.data&&-1<i.data.indexOf("[endif]")&&(i=null);if(-1<t.data.indexOf("[if supportFields]")&&-1<t.data.indexOf("FORMCHECKBOX")){var s=document.createElement("input");s.type="checkbox",t.parentNode.insertBefore(s,t.nextSibling)}return l(t),!1}),c(u,function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e.tagName;if(!e.innerHTML&&-1===["BR","IMG","INPUT"].indexOf(t)){for(var n=e.parentNode;n&&(l(e),!(e=n).innerHTML);)n=e.parentNode;return!1}!function(e){var t=e.getAttribute("style");if(t){(t=h(t))&&";"!==t.slice(-1)&&(t+=";");var n=t.match(/(^|\S+?):.+?;{1,1}/gi);if(n){for(var a={},r=0;r<n.length;r++){var o=n[r].split(":");2===o.length&&("text-align"===o[0]&&"SPAN"===e.tagName||(a[o[0]]=o[1]))}var i="";for(var s in a)if(a.hasOwnProperty(s)){if("font-size"===s&&"pt;"===a[s].slice(-3)){var l=null;try{l=parseFloat(a[s].slice(0,-3),10)}catch(e){l=null}l&&(l=Math.round(1.33*l),a[s]=l+"px;")}i+=s+":"+a[s]}i&&e.setAttribute("style",i)}}}(e)}return!0}),c(u,function(e){if(e&&"A"===e.nodeName&&""===e.href){for(var t=document.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}return!0});var y=u.outerHTML,T=e.opts.htmlAllowedStyleProps;return e.opts.htmlAllowedStyleProps=e.opts.wordAllowedStyleProps,y=e.clean.html(y,e.opts.wordDeniedTags,e.opts.wordDeniedAttrs,!1),e.opts.htmlAllowedStyleProps=T,y}return{_init:function(){e.events.on("paste.wordPaste",function(t){return a=t,e.opts.wordPasteModal?function(){if(!n){var t='<h4><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 74.95 73.23" style="height: 25px; vertical-align: text-bottom; margin-right: 5px; display: inline-block"><defs><style>.a{fill:#2a5699;}.b{fill:#fff;}</style></defs><path class="a" d="M615.15,827.22h5.09V834c9.11.05,18.21-.09,27.32.05a2.93,2.93,0,0,1,3.29,3.25c.14,16.77,0,33.56.09,50.33-.09,1.72.17,3.63-.83,5.15-1.24.89-2.85.78-4.3.84-8.52,0-17,0-25.56,0v6.81h-5.32c-13-2.37-26-4.54-38.94-6.81q0-29.8,0-59.59c13.05-2.28,26.11-4.5,39.17-6.83Z" transform="translate(-575.97 -827.22)"/><path class="b" d="M620.24,836.59h28.1v54.49h-28.1v-6.81h22.14v-3.41H620.24v-4.26h22.14V873.2H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24V846h22.14v-3.41H620.24Zm-26.67,15c1.62-.09,3.24-.16,4.85-.25,1.13,5.75,2.29,11.49,3.52,17.21,1-5.91,2-11.8,3.06-17.7,1.7-.06,3.41-.15,5.1-.26-1.92,8.25-3.61,16.57-5.71,24.77-1.42.74-3.55,0-5.24.09-1.13-5.64-2.45-11.24-3.47-16.9-1,5.5-2.29,10.95-3.43,16.42q-2.45-.13-4.92-.3c-1.41-7.49-3.07-14.93-4.39-22.44l4.38-.18c.88,5.42,1.87,10.82,2.64,16.25,1.2-5.57,2.43-11.14,3.62-16.71Z" transform="translate(-575.97 -827.22)"/></svg> '+e.language.translate("Word Paste Detected")+"</h4>",a='<div class="fr-word-paste-modal" style="padding: 20px 20px 10px 20px;">'+('<p style="text-align: left;">'+e.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"</p>"+('<div style="text-align: right; margin-top: 50px;"><button class="fr-remove-word fr-command">'+e.language.translate("Clean")+'</button> <button class="fr-keep-word fr-command">'+e.language.translate("Keep"))+"</button></div>")+"</div>",i=e.modals.create(o,t,a),s=i.$body;n=i.$modal,i.$modal.addClass("fr-middle"),e.events.bindClick(s,"button.fr-remove-word",function(){(n.data("instance")||e).wordPaste.clean()}),e.events.bindClick(s,"button.fr-keep-word",function(){(n.data("instance")||e).wordPaste.clean(!0)}),e.events.$on(r(e.o_win),"resize",function(){e.modals.resize(o)})}e.modals.show(o),e.modals.resize(o)}():s(e.opts.wordPasteKeepFormatting),!1})},clean:s,_wordClean:C}},t}()}}]);
2//# sourceMappingURL=c925c46d.7a83b9d92f2920ef.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.