@bigbinary/neeto-editor 1.28.20 → 1.28.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +415 -356
- package/index.cjs.js.map +1 -1
- package/index.js +418 -359
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -6592,6 +6592,15 @@ var isEditorOverlaysActive = function isEditorOverlaysActive() {
|
|
|
6592
6592
|
var active = document.querySelector(".ne-media-uploader,.ne-embed-modal,.tippy-content");
|
|
6593
6593
|
return active;
|
|
6594
6594
|
};
|
|
6595
|
+
var validateAndFormatUrl = function validateAndFormatUrl(url) {
|
|
6596
|
+
if (!URL_REGEXP.test(url)) {
|
|
6597
|
+
return null;
|
|
6598
|
+
}
|
|
6599
|
+
if (!/^(https?:\/\/)/i.test(url)) {
|
|
6600
|
+
return "https://".concat(url);
|
|
6601
|
+
}
|
|
6602
|
+
return url;
|
|
6603
|
+
};
|
|
6595
6604
|
|
|
6596
6605
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
6597
6606
|
|
|
@@ -38238,7 +38247,7 @@ instance.reloadResources;
|
|
|
38238
38247
|
instance.use;
|
|
38239
38248
|
instance.changeLanguage;
|
|
38240
38249
|
instance.getFixedT;
|
|
38241
|
-
var t$
|
|
38250
|
+
var t$6 = instance.t;
|
|
38242
38251
|
instance.exists;
|
|
38243
38252
|
instance.setDefaultNamespace;
|
|
38244
38253
|
instance.hasLoadedNamespace;
|
|
@@ -38296,7 +38305,7 @@ var voidElements = {
|
|
|
38296
38305
|
"wbr": true
|
|
38297
38306
|
};
|
|
38298
38307
|
|
|
38299
|
-
var t$
|
|
38308
|
+
var t$5=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n$3(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],(voidElements[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return {type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t$5),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--;}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r$2=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i$4=/^\s*$/,s$3=Object.create(null);function a$2(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a$2,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c$3={parse:function(e,t){t||(t={}),t.components||(t.components=s$3);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)});}return e.replace(r$2,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1;}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n$3(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n$3(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i$4.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g});}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a$2("",t)},"")}};
|
|
38300
38309
|
|
|
38301
38310
|
/**
|
|
38302
38311
|
* Copyright (C) 2017-present by Andrea Giammarchi - @WebReflection
|
|
@@ -38482,7 +38491,7 @@ function hasLoadedNamespace(ns, i18n) {
|
|
|
38482
38491
|
});
|
|
38483
38492
|
}
|
|
38484
38493
|
|
|
38485
|
-
var _excluded$
|
|
38494
|
+
var _excluded$9 = ["format"],
|
|
38486
38495
|
_excluded2 = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
38487
38496
|
|
|
38488
38497
|
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -38548,7 +38557,7 @@ function nodesToString(children, i18nOptions) {
|
|
|
38548
38557
|
warn$2("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
38549
38558
|
} else if (_typeof$3(child) === 'object') {
|
|
38550
38559
|
var format = child.format,
|
|
38551
|
-
clone = _objectWithoutProperties$1(child, _excluded$
|
|
38560
|
+
clone = _objectWithoutProperties$1(child, _excluded$9);
|
|
38552
38561
|
|
|
38553
38562
|
var keys = Object.keys(clone);
|
|
38554
38563
|
|
|
@@ -38890,7 +38899,10 @@ var common = {
|
|
|
38890
38899
|
reset: "Reset",
|
|
38891
38900
|
auto: "Auto",
|
|
38892
38901
|
edit: "Edit",
|
|
38893
|
-
cancel: "Cancel"
|
|
38902
|
+
cancel: "Cancel",
|
|
38903
|
+
text: "Text:",
|
|
38904
|
+
done: "Done",
|
|
38905
|
+
url: "Url:"
|
|
38894
38906
|
};
|
|
38895
38907
|
var attachments = {
|
|
38896
38908
|
actionsBlocked: "You are not permitted to update or delete attachments",
|
|
@@ -38948,6 +38960,7 @@ var placeholders = {
|
|
|
38948
38960
|
rows: "Enter rows",
|
|
38949
38961
|
searchUnsplash: "Search Unsplash",
|
|
38950
38962
|
url: "Enter URL",
|
|
38963
|
+
enterText: "Enter text",
|
|
38951
38964
|
writeSomething: "Write something …",
|
|
38952
38965
|
searchLanguages: "Search languages"
|
|
38953
38966
|
};
|
|
@@ -43173,7 +43186,7 @@ var Uppy_1 = Uppy$1;
|
|
|
43173
43186
|
|
|
43174
43187
|
var preact = {};
|
|
43175
43188
|
|
|
43176
|
-
var n$2,l$1,u$2,t$5,i$3,o$1,r$1,f$2={},e$2=[],c$2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s$2(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function p$2(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$2(l,f,i,o,null)}function v$2(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$2:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function h$8(n){return n.children}function y$2(n,l){this.props=n,this.context=l;}function d$2(n,l){if(null==l)return n.__?d$2(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?d$2(n):null}function _(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return _(n)}}function k$1(n){(!n.__d&&(n.__d=!0)&&i$3.push(n)&&!x$2.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||setTimeout)(x$2);}function x$2(){for(var n;x$2.__r=i$3.length;)n=i$3.sort(function(n,l){return n.__v.__b-l.__v.__b}),i$3=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s$2({},i)).__v=i.__v+1,I$1(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?d$2(i):o,i.__h),T$1(u,i),i.__e!=o&&_(i)));});}function b$2(n,l,u,t,i,o,r,c,s,a){var p,y,_,k,x,b,m,A=t&&t.__k||e$2,C=A.length;for(u.__k=[],p=0;p<l.length;p++)if(null!=(k=u.__k[p]=null==(k=l[p])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$2(null,k,null,null,k):Array.isArray(k)?v$2(h$8,{children:k},null,null,null):k.__b>0?v$2(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(_=A[p])||_&&k.key==_.key&&k.type===_.type)A[p]=void 0;else for(y=0;y<C;y++){if((_=A[y])&&k.key==_.key&&k.type===_.type){A[y]=void 0;break}_=null;}I$1(n,k,_=_||f$2,i,o,r,c,s,a),x=k.__e,(y=k.ref)&&_.ref!=y&&(m||(m=[]),_.ref&&m.push(_.ref,null,k),m.push(y,k.__c||x,k)),null!=x?(null==b&&(b=x),"function"==typeof k.type&&k.__k===_.__k?k.__d=s=g$2(k,s,n):s=w$2(n,k,_,A,x,s),"function"==typeof u.type&&(u.__d=s)):s&&_.__e==s&&s.parentNode!=n&&(s=d$2(_));}for(u.__e=b,p=C;p--;)null!=A[p]&&("function"==typeof u.type&&null!=A[p].__e&&A[p].__e==u.__d&&(u.__d=d$2(t,p+1)),L$1(A[p],A[p]));if(m)for(p=0;p<m.length;p++)z(m[p],m[++p],m[++p]);}function g$2(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?g$2(t,l,u):w$2(u,t,t,i,t.__e,l));return l}function w$2(n,l,u,t,i,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<t.length;e+=2)if(f==i)break n;n.insertBefore(i,o),r=o;}return void 0!==r?r:i.nextSibling}function m$2(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||C$1(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C$1(n,o,l[o],u[o],t);}function A(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$2.test(l)?u:u+"px";}function C$1(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||A(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||A(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H$1:$$2,o):n.removeEventListener(l,o?H$1:$$2,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function $$2(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function H$1(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function I$1(n,u,t,i,o,r,f,e,c){var a,p,v,d,_,k,x,g,w,m,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,e=u.__e=t.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,w=(a=H.contextType)&&i[a.__c],m=a?w?w.props.value:a.__:i,t.__c?x=(p=u.__c=t.__c).__=p.__E:("prototype"in H&&H.prototype.render?u.__c=p=new H(g,m):(u.__c=p=new y$2(g,m),p.constructor=H,p.render=M$1),w&&w.sub(p),p.props=g,p.state||(p.state={}),p.context=m,p.__n=i,v=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=H.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=s$2({},p.__s)),s$2(p.__s,H.getDerivedStateFromProps(g,p.__s))),d=p.props,_=p.state,v)null==H.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if(null==H.getDerivedStateFromProps&&g!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,m),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,m)||u.__v===t.__v){p.props=g,p.state=p.__s,u.__v!==t.__v&&(p.__d=!1),p.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,m),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,k);});}if(p.context=m,p.props=g,p.__v=u,p.__P=n,A=l$1.__r,C=0,"prototype"in H&&H.prototype.render)p.state=p.__s,p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context);else do{p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(p.__d&&++C<25);p.state=p.__s,null!=p.getChildContext&&(i=s$2(s$2({},i),p.getChildContext())),v||null==p.getSnapshotBeforeUpdate||(k=p.getSnapshotBeforeUpdate(d,_)),$=null!=a&&a.type===h$8&&null==a.key?a.props.children:a,b$2(n,Array.isArray($)?$:[$],u,t,i,o,r,f,e,c),p.base=u.__e,u.__h=null,p.__h.length&&f.push(p),x&&(p.__E=p.__=null),p.__e=!1;}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j$1(t.__e,u,t,i,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,t);}}function T$1(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function j$1(l,u,t,i,o,r,e,c){var s,p,v,h=t.props,y=u.props,_=u.type,k=0;if("svg"===_&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===_)return document.createTextNode(y);l=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),r=null,c=!1;}if(null===_)h===y||c&&l.data===y||(l.data=y);else {if(r=r&&n$2.call(l.childNodes),p=(h=t.props||f$2).dangerouslySetInnerHTML,v=y.dangerouslySetInnerHTML,!c){if(null!=r)for(h={},k=0;k<l.attributes.length;k++)h[l.attributes[k].name]=l.attributes[k].value;(v||p)&&(v&&(p&&v.__html==p.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(m$2(l,y,h,o,c),v)u.__k=[];else if(k=u.props.children,b$2(l,Array.isArray(k)?k:[k],u,t,i,o&&"foreignObject"!==_,r,e,r?r[0]:t.__k&&d$2(t,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in y&&void 0!==(k=y.value)&&(k!==l.value||"progress"===_&&!k||"option"===_&&k!==h.value)&&C$1(l,"value",k,h.value,!1),"checked"in y&&void 0!==(k=y.checked)&&k!==l.checked&&C$1(l,"checked",k,h.checked,!1));}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function L$1(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null,n.__c=void 0;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&L$1(i[o],u,"function"!=typeof n.type);t||null==n.__e||a$1(n.__e),n.__=n.__e=n.__d=void 0;}function M$1(n,l,u){return this.constructor(n,u)}function N$1(u,t,i){var o,r,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I$1(t,u=(!o&&i||t).__k=p$2(h$8,null,[u]),r||f$2,f$2,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n$2.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T$1(e,u);}n$2=e$2.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,t$5=function(n){return null!=n&&void 0===n.constructor},y$2.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s$2({},this.state),"function"==typeof n&&(n=n(s$2({},u),this.props)),n&&s$2(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k$1(this));},y$2.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k$1(this));},y$2.prototype.render=h$8,i$3=[],x$2.__r=0,r$1=0,preact.Component=y$2,preact.Fragment=h$8,preact.cloneElement=function(l,u,t){var i,o,r,f=s$2({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),v$2(l.type,f,i||l.key,o||l.ref,null)},preact.createContext=function(n,l){var u={__c:l="__cC"+r$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k$1);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u},preact.createElement=p$2,preact.createRef=function(){return {current:null}},preact.h=p$2,preact.hydrate=function n(l,u){N$1(l,u,n);},preact.isValidElement=t$5,preact.options=l$1,preact.render=N$1,preact.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u);}):u.push(l)),u};
|
|
43189
|
+
var n$2,l$1,u$2,t$4,i$3,o$1,r$1,f$2={},e$2=[],c$2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s$2(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function p$2(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$2(l,f,i,o,null)}function v$2(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$2:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function h$8(n){return n.children}function y$2(n,l){this.props=n,this.context=l;}function d$2(n,l){if(null==l)return n.__?d$2(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?d$2(n):null}function _(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return _(n)}}function k$1(n){(!n.__d&&(n.__d=!0)&&i$3.push(n)&&!x$2.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||setTimeout)(x$2);}function x$2(){for(var n;x$2.__r=i$3.length;)n=i$3.sort(function(n,l){return n.__v.__b-l.__v.__b}),i$3=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s$2({},i)).__v=i.__v+1,I$1(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?d$2(i):o,i.__h),T$1(u,i),i.__e!=o&&_(i)));});}function b$2(n,l,u,t,i,o,r,c,s,a){var p,y,_,k,x,b,m,A=t&&t.__k||e$2,C=A.length;for(u.__k=[],p=0;p<l.length;p++)if(null!=(k=u.__k[p]=null==(k=l[p])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$2(null,k,null,null,k):Array.isArray(k)?v$2(h$8,{children:k},null,null,null):k.__b>0?v$2(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(_=A[p])||_&&k.key==_.key&&k.type===_.type)A[p]=void 0;else for(y=0;y<C;y++){if((_=A[y])&&k.key==_.key&&k.type===_.type){A[y]=void 0;break}_=null;}I$1(n,k,_=_||f$2,i,o,r,c,s,a),x=k.__e,(y=k.ref)&&_.ref!=y&&(m||(m=[]),_.ref&&m.push(_.ref,null,k),m.push(y,k.__c||x,k)),null!=x?(null==b&&(b=x),"function"==typeof k.type&&k.__k===_.__k?k.__d=s=g$2(k,s,n):s=w$2(n,k,_,A,x,s),"function"==typeof u.type&&(u.__d=s)):s&&_.__e==s&&s.parentNode!=n&&(s=d$2(_));}for(u.__e=b,p=C;p--;)null!=A[p]&&("function"==typeof u.type&&null!=A[p].__e&&A[p].__e==u.__d&&(u.__d=d$2(t,p+1)),L$1(A[p],A[p]));if(m)for(p=0;p<m.length;p++)z(m[p],m[++p],m[++p]);}function g$2(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?g$2(t,l,u):w$2(u,t,t,i,t.__e,l));return l}function w$2(n,l,u,t,i,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<t.length;e+=2)if(f==i)break n;n.insertBefore(i,o),r=o;}return void 0!==r?r:i.nextSibling}function m$2(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||C$1(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C$1(n,o,l[o],u[o],t);}function A(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$2.test(l)?u:u+"px";}function C$1(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||A(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||A(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H$1:$$2,o):n.removeEventListener(l,o?H$1:$$2,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function $$2(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function H$1(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function I$1(n,u,t,i,o,r,f,e,c){var a,p,v,d,_,k,x,g,w,m,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,e=u.__e=t.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,w=(a=H.contextType)&&i[a.__c],m=a?w?w.props.value:a.__:i,t.__c?x=(p=u.__c=t.__c).__=p.__E:("prototype"in H&&H.prototype.render?u.__c=p=new H(g,m):(u.__c=p=new y$2(g,m),p.constructor=H,p.render=M$1),w&&w.sub(p),p.props=g,p.state||(p.state={}),p.context=m,p.__n=i,v=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=H.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=s$2({},p.__s)),s$2(p.__s,H.getDerivedStateFromProps(g,p.__s))),d=p.props,_=p.state,v)null==H.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if(null==H.getDerivedStateFromProps&&g!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,m),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,m)||u.__v===t.__v){p.props=g,p.state=p.__s,u.__v!==t.__v&&(p.__d=!1),p.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,m),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,k);});}if(p.context=m,p.props=g,p.__v=u,p.__P=n,A=l$1.__r,C=0,"prototype"in H&&H.prototype.render)p.state=p.__s,p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context);else do{p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(p.__d&&++C<25);p.state=p.__s,null!=p.getChildContext&&(i=s$2(s$2({},i),p.getChildContext())),v||null==p.getSnapshotBeforeUpdate||(k=p.getSnapshotBeforeUpdate(d,_)),$=null!=a&&a.type===h$8&&null==a.key?a.props.children:a,b$2(n,Array.isArray($)?$:[$],u,t,i,o,r,f,e,c),p.base=u.__e,u.__h=null,p.__h.length&&f.push(p),x&&(p.__E=p.__=null),p.__e=!1;}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j$1(t.__e,u,t,i,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,t);}}function T$1(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function j$1(l,u,t,i,o,r,e,c){var s,p,v,h=t.props,y=u.props,_=u.type,k=0;if("svg"===_&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===_)return document.createTextNode(y);l=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),r=null,c=!1;}if(null===_)h===y||c&&l.data===y||(l.data=y);else {if(r=r&&n$2.call(l.childNodes),p=(h=t.props||f$2).dangerouslySetInnerHTML,v=y.dangerouslySetInnerHTML,!c){if(null!=r)for(h={},k=0;k<l.attributes.length;k++)h[l.attributes[k].name]=l.attributes[k].value;(v||p)&&(v&&(p&&v.__html==p.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(m$2(l,y,h,o,c),v)u.__k=[];else if(k=u.props.children,b$2(l,Array.isArray(k)?k:[k],u,t,i,o&&"foreignObject"!==_,r,e,r?r[0]:t.__k&&d$2(t,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in y&&void 0!==(k=y.value)&&(k!==l.value||"progress"===_&&!k||"option"===_&&k!==h.value)&&C$1(l,"value",k,h.value,!1),"checked"in y&&void 0!==(k=y.checked)&&k!==l.checked&&C$1(l,"checked",k,h.checked,!1));}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function L$1(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null,n.__c=void 0;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&L$1(i[o],u,"function"!=typeof n.type);t||null==n.__e||a$1(n.__e),n.__=n.__e=n.__d=void 0;}function M$1(n,l,u){return this.constructor(n,u)}function N$1(u,t,i){var o,r,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I$1(t,u=(!o&&i||t).__k=p$2(h$8,null,[u]),r||f$2,f$2,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n$2.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T$1(e,u);}n$2=e$2.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,t$4=function(n){return null!=n&&void 0===n.constructor},y$2.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s$2({},this.state),"function"==typeof n&&(n=n(s$2({},u),this.props)),n&&s$2(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k$1(this));},y$2.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k$1(this));},y$2.prototype.render=h$8,i$3=[],x$2.__r=0,r$1=0,preact.Component=y$2,preact.Fragment=h$8,preact.cloneElement=function(l,u,t){var i,o,r,f=s$2({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),v$2(l.type,f,i||l.key,o||l.ref,null)},preact.createContext=function(n,l){var u={__c:l="__cC"+r$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k$1);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u},preact.createElement=p$2,preact.createRef=function(){return {current:null}},preact.h=p$2,preact.hydrate=function n(l,u){N$1(l,u,n);},preact.isValidElement=t$4,preact.options=l$1,preact.render=N$1,preact.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u);}):u.push(l)),u};
|
|
43177
43190
|
|
|
43178
43191
|
function isDOMElement$2(obj) {
|
|
43179
43192
|
return (obj == null ? void 0 : obj.nodeType) === Node.ELEMENT_NODE;
|
|
@@ -51013,18 +51026,18 @@ var buildImageOptions = function buildImageOptions() {
|
|
|
51013
51026
|
return [{
|
|
51014
51027
|
Icon: neetoIcons.LeftAlign,
|
|
51015
51028
|
alignPos: "left",
|
|
51016
|
-
optionName: t$
|
|
51029
|
+
optionName: t$6("menu.alignLeft")
|
|
51017
51030
|
}, {
|
|
51018
51031
|
Icon: neetoIcons.CenterAlign,
|
|
51019
51032
|
alignPos: "center",
|
|
51020
|
-
optionName: t$
|
|
51033
|
+
optionName: t$6("menu.alignCenter")
|
|
51021
51034
|
}, {
|
|
51022
51035
|
Icon: neetoIcons.RightAlign,
|
|
51023
51036
|
alignPos: "right",
|
|
51024
|
-
optionName: t$
|
|
51037
|
+
optionName: t$6("menu.alignRight")
|
|
51025
51038
|
}, {
|
|
51026
51039
|
Icon: neetoIcons.Delete,
|
|
51027
|
-
optionName: t$
|
|
51040
|
+
optionName: t$6("menu.delete")
|
|
51028
51041
|
}];
|
|
51029
51042
|
};
|
|
51030
51043
|
|
|
@@ -58313,7 +58326,7 @@ function _extends$1() {
|
|
|
58313
58326
|
return _extends$1.apply(this, arguments);
|
|
58314
58327
|
}
|
|
58315
58328
|
|
|
58316
|
-
var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t$
|
|
58329
|
+
var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t$3=function(r){return "string"==typeof r?r.length>0:"number"==typeof r},n$1=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e$1=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u$1=function(r){return (r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return {r:e$1(r.r,0,255),g:e$1(r.g,0,255),b:e$1(r.b,0,255),a:e$1(r.a)}},o=function(r){return {r:n$1(r.r),g:n$1(r.g),b:n$1(r.b),a:n$1(r.a,3)}},i$2=/^#([0-9a-f]{3,8})$/i,s$1=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h$1=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return {h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b$1=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return {r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g$1=function(r){return {h:u$1(r.h),s:e$1(r.s,0,100),l:e$1(r.l,0,100),a:e$1(r.a)}},d$1=function(r){return {h:n$1(r.h),s:n$1(r.s),l:n$1(r.l),a:n$1(r.a,3)}},f$1=function(r){return b$1((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e;},c$1=function(r){return {h:(t=h$1(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u;},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p$1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v$1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m$1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y$1={string:[[function(r){var t=i$2.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n$1(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n$1(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v$1.exec(r)||m$1.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(t){var n=l.exec(t)||p$1.exec(t);if(!n)return null;var e,u,a=g$1({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f$1(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t$3(n)&&t$3(e)&&t$3(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t$3(n)||!t$3(e)||!t$3(u))return null;var i=g$1({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f$1(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t$3(n)||!t$3(a)||!t$3(o))return null;var h=function(r){return {h:u$1(r.h),s:e$1(r.s,0,100),v:e$1(r.v,0,100),a:e$1(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b$1(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return [e,t[n][1]]}return [null,void 0]},x$1=function(r){return "string"==typeof r?N(r.trim(),y$1.string):"object"==typeof r&&null!==r?N(r,y$1.object):[null,void 0]},M=function(r,t){var n=c$1(r);return {h:n.h,s:e$1(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return (299*r.r+587*r.g+114*r.b)/1e3/255},$$1=function(r,t){var n=c$1(r);return {h:n.h,s:n.s,l:e$1(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x$1(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1};}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n$1(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s$1(n$1(255*a)):"","#"+s$1(t)+s$1(e)+s$1(u)+i;var r,t,e,u,a,i;},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u;},r.prototype.toHsl=function(){return d$1(c$1(this.rgba))},r.prototype.toHslString=function(){return r=d$1(c$1(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u;},r.prototype.toHsv=function(){return r=h$1(this.rgba),{h:n$1(r.h),s:n$1(r.s),v:n$1(r.v),a:n$1(r.a,3)};var r;},r.prototype.invert=function(){return w$1({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r;},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w$1(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w$1(M(this.rgba,-r))},r.prototype.grayscale=function(){return w$1(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w$1($$1(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w$1($$1(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return "number"==typeof r?w$1({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n$1(this.rgba.a,3);var t;},r.prototype.hue=function(r){var t=c$1(this.rgba);return "number"==typeof r?w$1({h:r,s:t.s,l:t.l,a:t.a}):n$1(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w$1(r).toHex()},r}(),w$1=function(r){return r instanceof j?r:new j(r)},S$1=[],k=function(r){r.forEach(function(r){S$1.indexOf(r)<0&&(r(j,y$1),S$1.push(r));});};
|
|
58317
58330
|
|
|
58318
58331
|
function namesPlugin(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return "transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g);}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"]);}
|
|
58319
58332
|
|
|
@@ -59136,7 +59149,7 @@ var fileDownloadApi = {
|
|
|
59136
59149
|
getFile: getFile
|
|
59137
59150
|
};
|
|
59138
59151
|
|
|
59139
|
-
var t$
|
|
59152
|
+
var t$2 = instance.t;
|
|
59140
59153
|
var buildUppyConfig = function buildUppyConfig(restrictions) {
|
|
59141
59154
|
return ramda.mergeRight(DEFAULT_UPPY_CONFIG, {
|
|
59142
59155
|
restrictions: restrictions
|
|
@@ -59150,14 +59163,14 @@ var selectFiles = function selectFiles(_ref) {
|
|
|
59150
59163
|
if (maxNumberOfFiles) {
|
|
59151
59164
|
var remainingAttachments = maxNumberOfFiles - previousAttachmentsCount;
|
|
59152
59165
|
if (remainingAttachments <= 0) {
|
|
59153
|
-
neetoui.Toastr.warning(t$
|
|
59166
|
+
neetoui.Toastr.warning(t$2("attachments.maxNumberOfFiles", {
|
|
59154
59167
|
entity: maxNumberOfFiles
|
|
59155
59168
|
}));
|
|
59156
59169
|
return [];
|
|
59157
59170
|
}
|
|
59158
59171
|
var selectedFiles = Array.from(files).slice(0, remainingAttachments);
|
|
59159
59172
|
if (selectedFiles.length < files.length) {
|
|
59160
|
-
neetoui.Toastr.warning(t$
|
|
59173
|
+
neetoui.Toastr.warning(t$2("attachments.maxNumberOfFiles", {
|
|
59161
59174
|
entity: maxNumberOfFiles
|
|
59162
59175
|
}));
|
|
59163
59176
|
}
|
|
@@ -59174,7 +59187,7 @@ var handleDrop = function handleDrop(_ref2) {
|
|
|
59174
59187
|
var files = uppy.getFiles();
|
|
59175
59188
|
var totalAttachments = files.length + previousAttachmentsCount;
|
|
59176
59189
|
if (totalAttachments > maxNumberOfFiles) {
|
|
59177
|
-
neetoui.Toastr.warning(t$
|
|
59190
|
+
neetoui.Toastr.warning(t$2("attachments.maxNumberOfFiles", {
|
|
59178
59191
|
entity: maxNumberOfFiles
|
|
59179
59192
|
}));
|
|
59180
59193
|
uppy.reset();
|
|
@@ -59221,7 +59234,7 @@ var downloadFile = /*#__PURE__*/function () {
|
|
|
59221
59234
|
};
|
|
59222
59235
|
}();
|
|
59223
59236
|
|
|
59224
|
-
var Menu$
|
|
59237
|
+
var Menu$7 = neetoui.Dropdown.Menu,
|
|
59225
59238
|
MenuItem$3 = neetoui.Dropdown.MenuItem;
|
|
59226
59239
|
var Attachment = function Attachment(_ref) {
|
|
59227
59240
|
var _handlers;
|
|
@@ -59407,7 +59420,7 @@ var Attachment = function Attachment(_ref) {
|
|
|
59407
59420
|
buttonStyle: "text",
|
|
59408
59421
|
disabled: disabled,
|
|
59409
59422
|
icon: neetoIcons.MenuVertical
|
|
59410
|
-
}, /*#__PURE__*/React__default["default"].createElement(Menu$
|
|
59423
|
+
}, /*#__PURE__*/React__default["default"].createElement(Menu$7, null, Object.entries(handlers).map(function (_ref6) {
|
|
59411
59424
|
var _ref7 = _slicedToArray(_ref6, 2),
|
|
59412
59425
|
label = _ref7[0],
|
|
59413
59426
|
handler = _ref7[1];
|
|
@@ -59538,7 +59551,7 @@ var Preview = function Preview(_ref) {
|
|
|
59538
59551
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
59539
59552
|
className: "ne-attachments-preview",
|
|
59540
59553
|
isOpen: !ramda.isEmpty(selectedAttachment),
|
|
59541
|
-
size: "
|
|
59554
|
+
size: "fullScreen",
|
|
59542
59555
|
onClose: onClose,
|
|
59543
59556
|
onKeyDown: handleKeyDown
|
|
59544
59557
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Modal.Header, {
|
|
@@ -82462,7 +82475,7 @@ const CodeBlockLowlight = CodeBlock$1.extend({
|
|
|
82462
82475
|
|
|
82463
82476
|
var SORTED_LANGUAGE_LIST = lowlight.listLanguages().sort();
|
|
82464
82477
|
|
|
82465
|
-
var Menu$
|
|
82478
|
+
var Menu$6 = neetoui.Dropdown.Menu,
|
|
82466
82479
|
MenuItem$2 = neetoui.Dropdown.MenuItem;
|
|
82467
82480
|
var CodeBlockComponent = function CodeBlockComponent(_ref) {
|
|
82468
82481
|
var _node$attrs3, _node$content, _node$content$content;
|
|
@@ -82515,7 +82528,7 @@ var CodeBlockComponent = function CodeBlockComponent(_ref) {
|
|
|
82515
82528
|
e.preventDefault();
|
|
82516
82529
|
e.stopPropagation();
|
|
82517
82530
|
}
|
|
82518
|
-
}), /*#__PURE__*/React__default["default"].createElement(Menu$
|
|
82531
|
+
}), /*#__PURE__*/React__default["default"].createElement(Menu$6, {
|
|
82519
82532
|
className: "neeto-editor-codeblock-options__menu"
|
|
82520
82533
|
}, filteredAndSortedLanguageList.map(function (language) {
|
|
82521
82534
|
return /*#__PURE__*/React__default["default"].createElement(MenuItem$2.Button, {
|
|
@@ -83397,7 +83410,7 @@ var Resizable = /** @class */ (function (_super) {
|
|
|
83397
83410
|
return Resizable;
|
|
83398
83411
|
}(React__namespace.PureComponent));
|
|
83399
83412
|
|
|
83400
|
-
var Menu$
|
|
83413
|
+
var Menu$5 = function Menu(_ref) {
|
|
83401
83414
|
var align = _ref.align,
|
|
83402
83415
|
editor = _ref.editor,
|
|
83403
83416
|
updateAttributes = _ref.updateAttributes,
|
|
@@ -83470,7 +83483,7 @@ var EmbedComponent = function EmbedComponent(_ref) {
|
|
|
83470
83483
|
})));
|
|
83471
83484
|
editor.commands.focus();
|
|
83472
83485
|
}
|
|
83473
|
-
}, /*#__PURE__*/React__default["default"].createElement(Menu$
|
|
83486
|
+
}, /*#__PURE__*/React__default["default"].createElement(Menu$5, {
|
|
83474
83487
|
align: align,
|
|
83475
83488
|
deleteNode: deleteNode,
|
|
83476
83489
|
editor: editor,
|
|
@@ -87039,7 +87052,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
87039
87052
|
"data-cy": "neeto-editor-image-wrapper"
|
|
87040
87053
|
}, /*#__PURE__*/React__default["default"].createElement("figure", {
|
|
87041
87054
|
ref: figureRef
|
|
87042
|
-
}, /*#__PURE__*/React__default["default"].createElement(Menu$
|
|
87055
|
+
}, /*#__PURE__*/React__default["default"].createElement(Menu$5, {
|
|
87043
87056
|
align: align,
|
|
87044
87057
|
deleteNode: deleteNode,
|
|
87045
87058
|
editor: editor,
|
|
@@ -87071,7 +87084,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
87071
87084
|
})));
|
|
87072
87085
|
};
|
|
87073
87086
|
|
|
87074
|
-
var _excluded$
|
|
87087
|
+
var _excluded$8 = ["caption"];
|
|
87075
87088
|
var upload = /*#__PURE__*/function () {
|
|
87076
87089
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(file, url) {
|
|
87077
87090
|
var _response$data, uploader, response, imageSizeInMB;
|
|
@@ -87093,7 +87106,7 @@ var upload = /*#__PURE__*/function () {
|
|
|
87093
87106
|
return _context.abrupt("return", ((_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.blob_url) || response.blob_url);
|
|
87094
87107
|
case 6:
|
|
87095
87108
|
imageSizeInMB = MAX_IMAGE_SIZE / (1024 * 1024);
|
|
87096
|
-
neetoui.Toastr.error(t$
|
|
87109
|
+
neetoui.Toastr.error(t$6("error.imageSizeIsShouldBeLess", {
|
|
87097
87110
|
limit: imageSizeInMB
|
|
87098
87111
|
}));
|
|
87099
87112
|
return _context.abrupt("return", "");
|
|
@@ -87206,7 +87219,7 @@ var ImageExtension = Node$1.create({
|
|
|
87206
87219
|
return {
|
|
87207
87220
|
setFigure: function setFigure(_ref3) {
|
|
87208
87221
|
var caption = _ref3.caption,
|
|
87209
|
-
attrs = _objectWithoutProperties$1(_ref3, _excluded$
|
|
87222
|
+
attrs = _objectWithoutProperties$1(_ref3, _excluded$8);
|
|
87210
87223
|
return function (_ref4) {
|
|
87211
87224
|
var chain = _ref4.chain;
|
|
87212
87225
|
return chain().insertContent({
|
|
@@ -89404,7 +89417,7 @@ var createMentionSuggestions = function createMentionSuggestions() {
|
|
|
89404
89417
|
};
|
|
89405
89418
|
};
|
|
89406
89419
|
|
|
89407
|
-
var _excluded$
|
|
89420
|
+
var _excluded$7 = ["suggestion"];
|
|
89408
89421
|
function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
89409
89422
|
function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
89410
89423
|
var suggestion$1 = {
|
|
@@ -89479,7 +89492,7 @@ var Mention = {
|
|
|
89479
89492
|
configure: function configure(_ref3) {
|
|
89480
89493
|
var _ref3$suggestion = _ref3.suggestion,
|
|
89481
89494
|
suggestionConfig = _ref3$suggestion === void 0 ? {} : _ref3$suggestion,
|
|
89482
|
-
otherConfig = _objectWithoutProperties$1(_ref3, _excluded$
|
|
89495
|
+
otherConfig = _objectWithoutProperties$1(_ref3, _excluded$7);
|
|
89483
89496
|
return Mentions$1.configure(_objectSpread$6(_objectSpread$6({}, otherConfig), {}, {
|
|
89484
89497
|
suggestion: _objectSpread$6(_objectSpread$6({}, suggestion$1), suggestionConfig)
|
|
89485
89498
|
}));
|
|
@@ -89493,7 +89506,7 @@ var Placeholder = Extension.create({
|
|
|
89493
89506
|
excludeNodeTypes: ["variable", "codeBlock"],
|
|
89494
89507
|
emptyEditorClass: "is-editor-empty",
|
|
89495
89508
|
emptyNodeClass: "is-empty",
|
|
89496
|
-
placeholder: t$
|
|
89509
|
+
placeholder: t$6("placeholders.writeSomething"),
|
|
89497
89510
|
showOnlyWhenEditable: true,
|
|
89498
89511
|
showOnlyCurrent: false,
|
|
89499
89512
|
includeChildren: false
|
|
@@ -89925,7 +89938,7 @@ var index$1 = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
|
|
|
89925
89938
|
|
|
89926
89939
|
function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$1(this, result); }; }
|
|
89927
89940
|
function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
89928
|
-
var Menu$
|
|
89941
|
+
var Menu$4 = /*#__PURE__*/function (_React$Component) {
|
|
89929
89942
|
_inherits$1(Menu, _React$Component);
|
|
89930
89943
|
var _super = _createSuper$1(Menu);
|
|
89931
89944
|
function Menu(props) {
|
|
@@ -90136,7 +90149,7 @@ var CommandsList = /*#__PURE__*/function (_React$Component) {
|
|
|
90136
90149
|
_createClass$1(CommandsList, [{
|
|
90137
90150
|
key: "render",
|
|
90138
90151
|
value: function render() {
|
|
90139
|
-
return /*#__PURE__*/React__default["default"].createElement(Menu$
|
|
90152
|
+
return /*#__PURE__*/React__default["default"].createElement(Menu$4, _extends$1({}, this.props, {
|
|
90140
90153
|
activeMenuIndex: this.state.activeMenuIndex,
|
|
90141
90154
|
items: this.props.items,
|
|
90142
90155
|
menuIndex: 0,
|
|
@@ -90492,7 +90505,7 @@ var SlashCommands = {
|
|
|
90492
90505
|
}
|
|
90493
90506
|
};
|
|
90494
90507
|
|
|
90495
|
-
var _excluded$
|
|
90508
|
+
var _excluded$6 = ["suggestion"];
|
|
90496
90509
|
function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
90497
90510
|
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
90498
90511
|
var SpecialMentionPluginKey = new PluginKey("special-mention");
|
|
@@ -90565,7 +90578,7 @@ var SpecialMentions$1 = {
|
|
|
90565
90578
|
configure: function configure(_ref3) {
|
|
90566
90579
|
var _ref3$suggestion = _ref3.suggestion,
|
|
90567
90580
|
suggestionConfig = _ref3$suggestion === void 0 ? {} : _ref3$suggestion,
|
|
90568
|
-
otherConfig = _objectWithoutProperties$1(_ref3, _excluded$
|
|
90581
|
+
otherConfig = _objectWithoutProperties$1(_ref3, _excluded$6);
|
|
90569
90582
|
return SpecialMentions.configure(_objectSpread$4(_objectSpread$4({}, otherConfig), {}, {
|
|
90570
90583
|
suggestion: _objectSpread$4(_objectSpread$4({}, suggestion), suggestionConfig)
|
|
90571
90584
|
}));
|
|
@@ -93470,7 +93483,7 @@ var VideoComponent = function VideoComponent(_ref) {
|
|
|
93470
93483
|
className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
|
|
93471
93484
|
}, /*#__PURE__*/React__default["default"].createElement("figure", {
|
|
93472
93485
|
ref: figureRef
|
|
93473
|
-
}, /*#__PURE__*/React__default["default"].createElement(Menu$
|
|
93486
|
+
}, /*#__PURE__*/React__default["default"].createElement(Menu$5, {
|
|
93474
93487
|
align: align,
|
|
93475
93488
|
deleteNode: deleteNode,
|
|
93476
93489
|
editor: editor,
|
|
@@ -93513,7 +93526,7 @@ var VideoComponent = function VideoComponent(_ref) {
|
|
|
93513
93526
|
})));
|
|
93514
93527
|
};
|
|
93515
93528
|
|
|
93516
|
-
var _excluded$
|
|
93529
|
+
var _excluded$5 = ["caption"];
|
|
93517
93530
|
var VideoExtension = Node$1.create({
|
|
93518
93531
|
name: "video",
|
|
93519
93532
|
addOptions: function addOptions() {
|
|
@@ -93609,7 +93622,7 @@ var VideoExtension = Node$1.create({
|
|
|
93609
93622
|
return {
|
|
93610
93623
|
setVideo: function setVideo(_ref2) {
|
|
93611
93624
|
var caption = _ref2.caption,
|
|
93612
|
-
attrs = _objectWithoutProperties$1(_ref2, _excluded$
|
|
93625
|
+
attrs = _objectWithoutProperties$1(_ref2, _excluded$5);
|
|
93613
93626
|
return function (_ref3) {
|
|
93614
93627
|
var chain = _ref3.chain;
|
|
93615
93628
|
return chain().insertContent({
|
|
@@ -93757,9 +93770,10 @@ var LinkPopOver = function LinkPopOver(_ref) {
|
|
|
93757
93770
|
return editor.chain().focus().extendMarkRange("link").unsetLink().run();
|
|
93758
93771
|
};
|
|
93759
93772
|
var handleLink = function handleLink() {
|
|
93760
|
-
|
|
93773
|
+
var formattedUrl = validateAndFormatUrl(urlString);
|
|
93774
|
+
if (formattedUrl) {
|
|
93761
93775
|
editor.chain().focus().extendMarkRange("link").setLink({
|
|
93762
|
-
href:
|
|
93776
|
+
href: formattedUrl
|
|
93763
93777
|
}).run();
|
|
93764
93778
|
setIsEditing(false);
|
|
93765
93779
|
} else {
|
|
@@ -93781,6 +93795,7 @@ var LinkPopOver = function LinkPopOver(_ref) {
|
|
|
93781
93795
|
setIsEditing(false);
|
|
93782
93796
|
setIsLinkActive(false);
|
|
93783
93797
|
};
|
|
93798
|
+
reactUtils.useOnClickOutside(popOverRef, removePopover);
|
|
93784
93799
|
React$6.useEffect(function () {
|
|
93785
93800
|
window.addEventListener("resize", removePopover);
|
|
93786
93801
|
window.addEventListener("wheel", removePopover);
|
|
@@ -93802,7 +93817,6 @@ var LinkPopOver = function LinkPopOver(_ref) {
|
|
|
93802
93817
|
position: "fixed",
|
|
93803
93818
|
top: popoverPosition.top,
|
|
93804
93819
|
left: popoverPosition.left,
|
|
93805
|
-
zIndex: 999,
|
|
93806
93820
|
transform: "translateY(52px) translateX(".concat(isEditing ? "8px" : "3px", ")")
|
|
93807
93821
|
};
|
|
93808
93822
|
var renderEditingMode = function renderEditingMode() {
|
|
@@ -93812,7 +93826,7 @@ var LinkPopOver = function LinkPopOver(_ref) {
|
|
|
93812
93826
|
label: t("menu.link"),
|
|
93813
93827
|
placeholder: t("placeholders.url"),
|
|
93814
93828
|
style: {
|
|
93815
|
-
width: "
|
|
93829
|
+
width: "250px"
|
|
93816
93830
|
},
|
|
93817
93831
|
value: urlString,
|
|
93818
93832
|
onChange: function onChange(_ref3) {
|
|
@@ -93862,7 +93876,7 @@ var LinkPopOver = function LinkPopOver(_ref) {
|
|
|
93862
93876
|
};
|
|
93863
93877
|
return /*#__PURE__*/ReactDOM.createPortal(isLinkActive ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93864
93878
|
className: "ne-link-popover",
|
|
93865
|
-
id: "ne-link-popover",
|
|
93879
|
+
id: "ne-link-view-popover",
|
|
93866
93880
|
ref: popOverRef,
|
|
93867
93881
|
style: popoverStyle
|
|
93868
93882
|
}, isEditing ? renderEditingMode() : renderViewMode()) : null, document.body);
|
|
@@ -95154,12 +95168,12 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
95154
95168
|
}))));
|
|
95155
95169
|
};
|
|
95156
95170
|
|
|
95157
|
-
var e=[],t$
|
|
95171
|
+
var e=[],t$1=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t$1[u]={}),a=t$1[u]&&t$1[u][s]?t$1[u][s]:t$1[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
95158
95172
|
|
|
95159
95173
|
var css$1 = ".tippy-box[data-placement^=top]>.tippy-svg-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-svg-arrow:after,.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg{top:16px;transform:rotate(180deg)}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg{bottom:16px}.tippy-box[data-placement^=left]>.tippy-svg-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-svg-arrow:after,.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg{left:11px;top:calc(50% - 3px);transform:rotate(90deg)}.tippy-box[data-placement^=right]>.tippy-svg-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-svg-arrow:after,.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg{right:11px;top:calc(50% - 3px);transform:rotate(-90deg)}.tippy-svg-arrow{fill:#333;height:16px;text-align:left;text-align:initial;width:16px}.tippy-svg-arrow,.tippy-svg-arrow>svg{position:absolute}";
|
|
95160
95174
|
n(css$1,{});
|
|
95161
95175
|
|
|
95162
|
-
var LinkOption
|
|
95176
|
+
var LinkOption = function LinkOption(_ref) {
|
|
95163
95177
|
var editor = _ref.editor,
|
|
95164
95178
|
handleClose = _ref.handleClose,
|
|
95165
95179
|
handleAnimateInvalidLink = _ref.handleAnimateInvalidLink;
|
|
@@ -95224,37 +95238,59 @@ var LinkOption$1 = function LinkOption(_ref) {
|
|
|
95224
95238
|
}));
|
|
95225
95239
|
};
|
|
95226
95240
|
|
|
95227
|
-
|
|
95228
|
-
|
|
95229
|
-
var
|
|
95230
|
-
var
|
|
95231
|
-
|
|
95232
|
-
|
|
95233
|
-
|
|
95234
|
-
|
|
95235
|
-
|
|
95236
|
-
|
|
95237
|
-
|
|
95238
|
-
|
|
95239
|
-
|
|
95240
|
-
|
|
95241
|
-
|
|
95242
|
-
|
|
95243
|
-
|
|
95244
|
-
|
|
95245
|
-
|
|
95246
|
-
|
|
95247
|
-
|
|
95248
|
-
|
|
95241
|
+
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
95242
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
95243
|
+
var tableActions = function tableActions(_ref) {
|
|
95244
|
+
var editor = _ref.editor;
|
|
95245
|
+
return [{
|
|
95246
|
+
label: t$6("table.insertRow"),
|
|
95247
|
+
command: function command() {
|
|
95248
|
+
return editor.commands.addRowAfter();
|
|
95249
|
+
}
|
|
95250
|
+
}, {
|
|
95251
|
+
label: t$6("table.insertColumn"),
|
|
95252
|
+
command: function command() {
|
|
95253
|
+
return editor.commands.addColumnAfter();
|
|
95254
|
+
}
|
|
95255
|
+
}, {
|
|
95256
|
+
label: t$6("table.deleteRow"),
|
|
95257
|
+
command: function command() {
|
|
95258
|
+
return editor.chain().focus().deleteRow().run();
|
|
95259
|
+
}
|
|
95260
|
+
}, {
|
|
95261
|
+
label: t$6("table.deleteColumn"),
|
|
95262
|
+
command: function command() {
|
|
95263
|
+
return editor.chain().focus().deleteColumn().run();
|
|
95264
|
+
}
|
|
95265
|
+
}, {
|
|
95266
|
+
label: t$6("table.mergeSplit"),
|
|
95267
|
+
command: function command() {
|
|
95268
|
+
return editor.chain().focus().mergeOrSplit().run();
|
|
95269
|
+
}
|
|
95270
|
+
}, {
|
|
95271
|
+
label: t$6("table.toggleHeaderRow"),
|
|
95272
|
+
command: function command() {
|
|
95273
|
+
return editor.chain().focus().toggleHeaderRow().run();
|
|
95274
|
+
}
|
|
95275
|
+
}, {
|
|
95276
|
+
label: t$6("table.toggleHeaderColumn"),
|
|
95277
|
+
command: function command() {
|
|
95278
|
+
return editor.chain().focus().toggleHeaderColumn().run();
|
|
95279
|
+
}
|
|
95280
|
+
}, {
|
|
95281
|
+
label: t$6("table.delete"),
|
|
95282
|
+
command: function command() {
|
|
95283
|
+
return editor.commands.deleteTable();
|
|
95284
|
+
}
|
|
95285
|
+
}];
|
|
95249
95286
|
};
|
|
95250
|
-
|
|
95251
|
-
var
|
|
95252
|
-
|
|
95253
|
-
|
|
95254
|
-
|
|
95255
|
-
|
|
95256
|
-
|
|
95257
|
-
setIsEmbedModalOpen = _ref.setIsEmbedModalOpen;
|
|
95287
|
+
var createMenuOptions$1 = function createMenuOptions(_ref2) {
|
|
95288
|
+
var tooltips = _ref2.tooltips,
|
|
95289
|
+
editor = _ref2.editor,
|
|
95290
|
+
setMediaUploader = _ref2.setMediaUploader,
|
|
95291
|
+
handleUploadAttachments = _ref2.handleUploadAttachments,
|
|
95292
|
+
setIsEmbedModalOpen = _ref2.setIsEmbedModalOpen,
|
|
95293
|
+
setIsAddLinkActive = _ref2.setIsAddLinkActive;
|
|
95258
95294
|
return {
|
|
95259
95295
|
font: [{
|
|
95260
95296
|
Icon: neetoIcons.TextBold,
|
|
@@ -95263,7 +95299,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95263
95299
|
},
|
|
95264
95300
|
active: editor.isActive("bold"),
|
|
95265
95301
|
optionName: "bold",
|
|
95266
|
-
tooltip: tooltips.bold || t$
|
|
95302
|
+
tooltip: tooltips.bold || t$6("menu.bold")
|
|
95267
95303
|
}, {
|
|
95268
95304
|
Icon: neetoIcons.TextItalic,
|
|
95269
95305
|
command: function command() {
|
|
@@ -95271,7 +95307,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95271
95307
|
},
|
|
95272
95308
|
active: editor.isActive("italic"),
|
|
95273
95309
|
optionName: "italic",
|
|
95274
|
-
tooltip: tooltips.italic || t$
|
|
95310
|
+
tooltip: tooltips.italic || t$6("menu.italic")
|
|
95275
95311
|
}, {
|
|
95276
95312
|
Icon: neetoIcons.Underline,
|
|
95277
95313
|
command: function command() {
|
|
@@ -95279,7 +95315,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95279
95315
|
},
|
|
95280
95316
|
active: editor.isActive("underline"),
|
|
95281
95317
|
optionName: "underline",
|
|
95282
|
-
tooltip: tooltips.underline || t$
|
|
95318
|
+
tooltip: tooltips.underline || t$6("menu.underline")
|
|
95283
95319
|
}, {
|
|
95284
95320
|
Icon: neetoIcons.TextCross,
|
|
95285
95321
|
command: function command() {
|
|
@@ -95287,7 +95323,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95287
95323
|
},
|
|
95288
95324
|
active: editor.isActive("strike"),
|
|
95289
95325
|
optionName: "strike",
|
|
95290
|
-
tooltip: tooltips.strike || t$
|
|
95326
|
+
tooltip: tooltips.strike || t$6("menu.strike")
|
|
95291
95327
|
}, {
|
|
95292
95328
|
Icon: neetoIcons.Highlight,
|
|
95293
95329
|
command: function command() {
|
|
@@ -95295,7 +95331,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95295
95331
|
},
|
|
95296
95332
|
active: editor.isActive("highlight"),
|
|
95297
95333
|
optionName: "highlight",
|
|
95298
|
-
tooltip: tooltips.highlight || t$
|
|
95334
|
+
tooltip: tooltips.highlight || t$6("menu.highlight")
|
|
95299
95335
|
}],
|
|
95300
95336
|
block: [{
|
|
95301
95337
|
Icon: neetoIcons.Quote,
|
|
@@ -95305,7 +95341,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95305
95341
|
active: editor.isActive("blockquote"),
|
|
95306
95342
|
optionName: "block-quote",
|
|
95307
95343
|
highlight: true,
|
|
95308
|
-
tooltip: tooltips.blockQuote || t$
|
|
95344
|
+
tooltip: tooltips.blockQuote || t$6("menu.blockQuote")
|
|
95309
95345
|
}, {
|
|
95310
95346
|
Icon: neetoIcons.Code,
|
|
95311
95347
|
command: function command() {
|
|
@@ -95313,7 +95349,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95313
95349
|
},
|
|
95314
95350
|
active: editor.isActive("code"),
|
|
95315
95351
|
optionName: "code",
|
|
95316
|
-
tooltip: tooltips.code || t$
|
|
95352
|
+
tooltip: tooltips.code || t$6("menu.code")
|
|
95317
95353
|
}, {
|
|
95318
95354
|
Icon: neetoIcons.CodeBlock,
|
|
95319
95355
|
command: function command() {
|
|
@@ -95321,7 +95357,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95321
95357
|
},
|
|
95322
95358
|
active: editor.isActive("codeBlock"),
|
|
95323
95359
|
optionName: "code-block",
|
|
95324
|
-
tooltip: tooltips.codeBlock || t$
|
|
95360
|
+
tooltip: tooltips.codeBlock || t$6("menu.codeBlock")
|
|
95325
95361
|
}],
|
|
95326
95362
|
list: [{
|
|
95327
95363
|
Icon: neetoIcons.ListDot,
|
|
@@ -95331,7 +95367,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95331
95367
|
active: editor.isActive("bulletList"),
|
|
95332
95368
|
optionName: "bullet-list",
|
|
95333
95369
|
highlight: true,
|
|
95334
|
-
tooltip: tooltips.bulletList || t$
|
|
95370
|
+
tooltip: tooltips.bulletList || t$6("menu.bulletedList")
|
|
95335
95371
|
}, {
|
|
95336
95372
|
Icon: neetoIcons.ListNumber,
|
|
95337
95373
|
command: function command() {
|
|
@@ -95340,35 +95376,42 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95340
95376
|
active: editor.isActive("orderedList"),
|
|
95341
95377
|
optionName: "ordered-list",
|
|
95342
95378
|
highlight: true,
|
|
95343
|
-
tooltip: tooltips.orderedList || t$
|
|
95379
|
+
tooltip: tooltips.orderedList || t$6("menu.orderedList")
|
|
95344
95380
|
}],
|
|
95345
95381
|
misc: [{
|
|
95346
|
-
Icon:
|
|
95382
|
+
Icon: neetoIcons.Link,
|
|
95383
|
+
command: function command() {
|
|
95384
|
+
return setIsAddLinkActive(ramda.not);
|
|
95385
|
+
},
|
|
95386
|
+
optionName: "link",
|
|
95387
|
+
tooltip: "Link"
|
|
95388
|
+
}, {
|
|
95389
|
+
Icon: neetoIcons.Attachment,
|
|
95347
95390
|
command: handleUploadAttachments,
|
|
95348
95391
|
active: false,
|
|
95349
95392
|
optionName: "attachments",
|
|
95350
|
-
tooltip: tooltips.attachments || t$
|
|
95393
|
+
tooltip: tooltips.attachments || t$6("menu.attachments")
|
|
95351
95394
|
}, {
|
|
95352
95395
|
Icon: neetoIcons.ImageUpload,
|
|
95353
95396
|
command: function command() {
|
|
95354
95397
|
return setMediaUploader(ramda.assoc("image", true));
|
|
95355
95398
|
},
|
|
95356
95399
|
optionName: "image-upload",
|
|
95357
|
-
tooltip: tooltips.imageUpload || t$
|
|
95400
|
+
tooltip: tooltips.imageUpload || t$6("menu.imageUpload")
|
|
95358
95401
|
}, {
|
|
95359
95402
|
Icon: neetoIcons.Video,
|
|
95360
95403
|
command: function command() {
|
|
95361
95404
|
return setMediaUploader(ramda.assoc("video", true));
|
|
95362
95405
|
},
|
|
95363
95406
|
optionName: "video-upload",
|
|
95364
|
-
tooltip: tooltips.videoUpload || t$
|
|
95407
|
+
tooltip: tooltips.videoUpload || t$6("menu.videoUpload")
|
|
95365
95408
|
}, {
|
|
95366
95409
|
Icon: neetoIcons.MediaVideo,
|
|
95367
95410
|
command: function command() {
|
|
95368
95411
|
return setIsEmbedModalOpen(true);
|
|
95369
95412
|
},
|
|
95370
95413
|
optionName: "video-embed",
|
|
95371
|
-
tooltip: tooltips.videoEmbed || t$
|
|
95414
|
+
tooltip: tooltips.videoEmbed || t$6("menu.videoEmbed")
|
|
95372
95415
|
}],
|
|
95373
95416
|
right: [{
|
|
95374
95417
|
Icon: neetoIcons.Undo,
|
|
@@ -95378,7 +95421,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95378
95421
|
active: false,
|
|
95379
95422
|
disabled: !editor.can().undo(),
|
|
95380
95423
|
optionName: "undo",
|
|
95381
|
-
tooltip: tooltips.undo || t$
|
|
95424
|
+
tooltip: tooltips.undo || t$6("menu.undo")
|
|
95382
95425
|
}, {
|
|
95383
95426
|
Icon: neetoIcons.Redo,
|
|
95384
95427
|
command: function command() {
|
|
@@ -95387,78 +95430,77 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
|
|
|
95387
95430
|
active: false,
|
|
95388
95431
|
disabled: !editor.can().redo(),
|
|
95389
95432
|
optionName: "redo",
|
|
95390
|
-
tooltip: tooltips.redo || t$
|
|
95433
|
+
tooltip: tooltips.redo || t$6("menu.redo")
|
|
95391
95434
|
}]
|
|
95392
95435
|
};
|
|
95393
95436
|
};
|
|
95394
|
-
var
|
|
95395
|
-
|
|
95396
|
-
|
|
95397
|
-
|
|
95398
|
-
|
|
95399
|
-
|
|
95400
|
-
|
|
95401
|
-
|
|
95402
|
-
|
|
95403
|
-
|
|
95404
|
-
|
|
95405
|
-
|
|
95406
|
-
|
|
95407
|
-
|
|
95408
|
-
|
|
95409
|
-
|
|
95410
|
-
|
|
95411
|
-
|
|
95412
|
-
|
|
95413
|
-
|
|
95414
|
-
}
|
|
95415
|
-
|
|
95416
|
-
|
|
95417
|
-
|
|
95418
|
-
|
|
95419
|
-
|
|
95420
|
-
|
|
95421
|
-
|
|
95422
|
-
|
|
95423
|
-
|
|
95424
|
-
|
|
95425
|
-
|
|
95426
|
-
|
|
95427
|
-
|
|
95428
|
-
|
|
95429
|
-
|
|
95430
|
-
|
|
95431
|
-
|
|
95432
|
-
|
|
95433
|
-
|
|
95434
|
-
|
|
95435
|
-
}
|
|
95436
|
-
|
|
95437
|
-
|
|
95438
|
-
|
|
95439
|
-
|
|
95440
|
-
|
|
95441
|
-
|
|
95442
|
-
|
|
95443
|
-
|
|
95444
|
-
|
|
95445
|
-
}
|
|
95446
|
-
|
|
95447
|
-
|
|
95448
|
-
|
|
95449
|
-
|
|
95450
|
-
|
|
95451
|
-
|
|
95452
|
-
|
|
95453
|
-
|
|
95454
|
-
|
|
95455
|
-
|
|
95456
|
-
|
|
95457
|
-
|
|
95458
|
-
|
|
95459
|
-
|
|
95460
|
-
|
|
95461
|
-
}];
|
|
95437
|
+
var buildMenuOptions$1 = function buildMenuOptions(_ref3) {
|
|
95438
|
+
var tooltips = _ref3.tooltips,
|
|
95439
|
+
editor = _ref3.editor,
|
|
95440
|
+
options = _ref3.options,
|
|
95441
|
+
setMediaUploader = _ref3.setMediaUploader,
|
|
95442
|
+
handleUploadAttachments = _ref3.handleUploadAttachments,
|
|
95443
|
+
setIsEmbedModalOpen = _ref3.setIsEmbedModalOpen,
|
|
95444
|
+
setIsAddLinkActive = _ref3.setIsAddLinkActive;
|
|
95445
|
+
var menuOptions = createMenuOptions$1({
|
|
95446
|
+
tooltips: tooltips,
|
|
95447
|
+
editor: editor,
|
|
95448
|
+
setMediaUploader: setMediaUploader,
|
|
95449
|
+
handleUploadAttachments: handleUploadAttachments,
|
|
95450
|
+
setIsEmbedModalOpen: setIsEmbedModalOpen,
|
|
95451
|
+
setIsAddLinkActive: setIsAddLinkActive
|
|
95452
|
+
});
|
|
95453
|
+
return ramda.fromPairs(["font", "block", "list", "misc", "right"].map(function (option) {
|
|
95454
|
+
return [option, menuOptions[option].filter(function (item) {
|
|
95455
|
+
return options.includes(item.optionName);
|
|
95456
|
+
})];
|
|
95457
|
+
}));
|
|
95458
|
+
};
|
|
95459
|
+
var renderOptionButton$1 = function renderOptionButton(_ref4) {
|
|
95460
|
+
var Icon = _ref4.Icon,
|
|
95461
|
+
command = _ref4.command,
|
|
95462
|
+
active = _ref4.active,
|
|
95463
|
+
optionName = _ref4.optionName,
|
|
95464
|
+
highlight = _ref4.highlight,
|
|
95465
|
+
disabled = _ref4.disabled,
|
|
95466
|
+
tooltip = _ref4.tooltip;
|
|
95467
|
+
return /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$1({
|
|
95468
|
+
className: "neeto-editor-fixed-menu__item",
|
|
95469
|
+
"data-cy": "neeto-editor-fixed-menu-".concat(optionName, "-option"),
|
|
95470
|
+
disabled: disabled,
|
|
95471
|
+
icon: Icon,
|
|
95472
|
+
key: optionName,
|
|
95473
|
+
style: active ? "secondary" : "text",
|
|
95474
|
+
tabIndex: "-1",
|
|
95475
|
+
tooltipProps: {
|
|
95476
|
+
content: tooltip,
|
|
95477
|
+
position: "bottom"
|
|
95478
|
+
},
|
|
95479
|
+
onClick: command
|
|
95480
|
+
}, generateFocusProps(highlight)));
|
|
95481
|
+
};
|
|
95482
|
+
var buildOptionsFromAddonCommands = function buildOptionsFromAddonCommands(_ref5) {
|
|
95483
|
+
var editor = _ref5.editor,
|
|
95484
|
+
commands = _ref5.commands;
|
|
95485
|
+
var to = editor.state.selection.to;
|
|
95486
|
+
return commands.map(function (option) {
|
|
95487
|
+
var _option$active;
|
|
95488
|
+
return _objectSpread$1(_objectSpread$1({}, option), {}, {
|
|
95489
|
+
active: (_option$active = option.active) === null || _option$active === void 0 ? void 0 : _option$active.call(option, {
|
|
95490
|
+
editor: editor
|
|
95491
|
+
}),
|
|
95492
|
+
command: function command() {
|
|
95493
|
+
var _option$command;
|
|
95494
|
+
return (_option$command = option.command) === null || _option$command === void 0 ? void 0 : _option$command.call(option, {
|
|
95495
|
+
editor: editor,
|
|
95496
|
+
range: {
|
|
95497
|
+
from: to,
|
|
95498
|
+
to: to
|
|
95499
|
+
}
|
|
95500
|
+
});
|
|
95501
|
+
}
|
|
95502
|
+
});
|
|
95503
|
+
});
|
|
95462
95504
|
};
|
|
95463
95505
|
|
|
95464
95506
|
var TableOption$1 = function TableOption(_ref) {
|
|
@@ -95516,7 +95558,7 @@ var TableOption$1 = function TableOption(_ref) {
|
|
|
95516
95558
|
onClick: handleClose
|
|
95517
95559
|
}))) : /*#__PURE__*/React__default["default"].createElement(Menu, {
|
|
95518
95560
|
className: "neeto-editor-bubble-menu__table-options"
|
|
95519
|
-
},
|
|
95561
|
+
}, tableActions({
|
|
95520
95562
|
editor: editor
|
|
95521
95563
|
}).map(function (_ref2) {
|
|
95522
95564
|
var label = _ref2.label,
|
|
@@ -95586,7 +95628,7 @@ var getNodeType = function getNodeType(options) {
|
|
|
95586
95628
|
var _options$find;
|
|
95587
95629
|
return ((_options$find = options.find(ramda.prop("active"))) === null || _options$find === void 0 ? void 0 : _options$find.optionName) || "Text";
|
|
95588
95630
|
};
|
|
95589
|
-
var renderOptionButton
|
|
95631
|
+
var renderOptionButton = function renderOptionButton(_ref3) {
|
|
95590
95632
|
var tooltip = _ref3.tooltip,
|
|
95591
95633
|
Icon = _ref3.Icon,
|
|
95592
95634
|
command = _ref3.command,
|
|
@@ -95772,75 +95814,6 @@ var TextColorOption = function TextColorOption(_ref) {
|
|
|
95772
95814
|
}))));
|
|
95773
95815
|
};
|
|
95774
95816
|
|
|
95775
|
-
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
95776
|
-
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
95777
|
-
var buildMenuOptions$1 = function buildMenuOptions(_ref) {
|
|
95778
|
-
var tooltips = _ref.tooltips,
|
|
95779
|
-
editor = _ref.editor,
|
|
95780
|
-
options = _ref.options,
|
|
95781
|
-
setMediaUploader = _ref.setMediaUploader,
|
|
95782
|
-
handleUploadAttachments = _ref.handleUploadAttachments,
|
|
95783
|
-
setIsEmbedModalOpen = _ref.setIsEmbedModalOpen;
|
|
95784
|
-
var menuOptions = MENU_OPTIONS$1({
|
|
95785
|
-
tooltips: tooltips,
|
|
95786
|
-
editor: editor,
|
|
95787
|
-
setMediaUploader: setMediaUploader,
|
|
95788
|
-
handleUploadAttachments: handleUploadAttachments,
|
|
95789
|
-
setIsEmbedModalOpen: setIsEmbedModalOpen
|
|
95790
|
-
});
|
|
95791
|
-
return ramda.fromPairs(["font", "block", "list", "misc", "right"].map(function (option) {
|
|
95792
|
-
return [option, menuOptions[option].filter(function (item) {
|
|
95793
|
-
return options.includes(item.optionName);
|
|
95794
|
-
})];
|
|
95795
|
-
}));
|
|
95796
|
-
};
|
|
95797
|
-
var renderOptionButton = function renderOptionButton(_ref2) {
|
|
95798
|
-
var Icon = _ref2.Icon,
|
|
95799
|
-
command = _ref2.command,
|
|
95800
|
-
active = _ref2.active,
|
|
95801
|
-
optionName = _ref2.optionName,
|
|
95802
|
-
highlight = _ref2.highlight,
|
|
95803
|
-
disabled = _ref2.disabled,
|
|
95804
|
-
tooltip = _ref2.tooltip;
|
|
95805
|
-
return /*#__PURE__*/React__default["default"].createElement(neetoui.Button, _extends$1({
|
|
95806
|
-
className: "neeto-editor-fixed-menu__item",
|
|
95807
|
-
"data-cy": "neeto-editor-fixed-menu-".concat(optionName, "-option"),
|
|
95808
|
-
disabled: disabled,
|
|
95809
|
-
icon: Icon,
|
|
95810
|
-
key: optionName,
|
|
95811
|
-
style: active ? "secondary" : "text",
|
|
95812
|
-
tabIndex: "-1",
|
|
95813
|
-
tooltipProps: {
|
|
95814
|
-
content: tooltip,
|
|
95815
|
-
position: "bottom"
|
|
95816
|
-
},
|
|
95817
|
-
onClick: command
|
|
95818
|
-
}, generateFocusProps(highlight)));
|
|
95819
|
-
};
|
|
95820
|
-
var buildOptionsFromAddonCommands = function buildOptionsFromAddonCommands(_ref3) {
|
|
95821
|
-
var editor = _ref3.editor,
|
|
95822
|
-
commands = _ref3.commands;
|
|
95823
|
-
var to = editor.state.selection.to;
|
|
95824
|
-
return commands.map(function (option) {
|
|
95825
|
-
var _option$active;
|
|
95826
|
-
return _objectSpread$1(_objectSpread$1({}, option), {}, {
|
|
95827
|
-
active: (_option$active = option.active) === null || _option$active === void 0 ? void 0 : _option$active.call(option, {
|
|
95828
|
-
editor: editor
|
|
95829
|
-
}),
|
|
95830
|
-
command: function command() {
|
|
95831
|
-
var _option$command;
|
|
95832
|
-
return (_option$command = option.command) === null || _option$command === void 0 ? void 0 : _option$command.call(option, {
|
|
95833
|
-
editor: editor,
|
|
95834
|
-
range: {
|
|
95835
|
-
from: to,
|
|
95836
|
-
to: to
|
|
95837
|
-
}
|
|
95838
|
-
});
|
|
95839
|
-
}
|
|
95840
|
-
});
|
|
95841
|
-
});
|
|
95842
|
-
};
|
|
95843
|
-
|
|
95844
95817
|
var Options = function Options(_ref) {
|
|
95845
95818
|
var editor = _ref.editor,
|
|
95846
95819
|
options = _ref.options,
|
|
@@ -95887,7 +95860,7 @@ var Options = function Options(_ref) {
|
|
|
95887
95860
|
}, 1000);
|
|
95888
95861
|
};
|
|
95889
95862
|
if (isLinkOptionActive) {
|
|
95890
|
-
return /*#__PURE__*/React__default["default"].createElement(LinkOption
|
|
95863
|
+
return /*#__PURE__*/React__default["default"].createElement(LinkOption, {
|
|
95891
95864
|
editor: editor,
|
|
95892
95865
|
handleAnimateInvalidLink: handleAnimateInvalidLink,
|
|
95893
95866
|
handleClose: function handleClose() {
|
|
@@ -95915,7 +95888,7 @@ var Options = function Options(_ref) {
|
|
|
95915
95888
|
key: optionName,
|
|
95916
95889
|
onClick: command
|
|
95917
95890
|
}, optionName);
|
|
95918
|
-
}))), fontStyleOptions.map(renderOptionButton
|
|
95891
|
+
}))), fontStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), isTextColorOptionActive && /*#__PURE__*/React__default["default"].createElement(TextColorOption, {
|
|
95919
95892
|
editor: editor,
|
|
95920
95893
|
tooltipContent: tooltips.textColor || t("menu.textColor")
|
|
95921
95894
|
}), isEmojiActive && /*#__PURE__*/React__default["default"].createElement(EmojiOption, {
|
|
@@ -95923,7 +95896,7 @@ var Options = function Options(_ref) {
|
|
|
95923
95896
|
isActive: isEmojiPickerActive,
|
|
95924
95897
|
setActive: setIsEmojiPickerActive,
|
|
95925
95898
|
tooltipContent: tooltips.emoji || t("menu.emoji")
|
|
95926
|
-
}), listStyleOptions.map(renderOptionButton
|
|
95899
|
+
}), listStyleOptions.map(renderOptionButton), isLinkActive && renderOptionButton({
|
|
95927
95900
|
Icon: neetoIcons.Link,
|
|
95928
95901
|
command: function command() {
|
|
95929
95902
|
return setIsLinkOptionActive(true);
|
|
@@ -95932,7 +95905,7 @@ var Options = function Options(_ref) {
|
|
|
95932
95905
|
optionName: "link",
|
|
95933
95906
|
highlight: false,
|
|
95934
95907
|
tooltip: tooltips.link || t("menu.link")
|
|
95935
|
-
}), isTableActive && renderOptionButton
|
|
95908
|
+
}), isTableActive && renderOptionButton({
|
|
95936
95909
|
Icon: neetoIcons.NeetoChangelog,
|
|
95937
95910
|
command: function command() {
|
|
95938
95911
|
return setIsTableOptionActive(true);
|
|
@@ -96015,7 +95988,33 @@ var Bubble = function Bubble(_ref) {
|
|
|
96015
95988
|
}, children)));
|
|
96016
95989
|
};
|
|
96017
95990
|
|
|
96018
|
-
var
|
|
95991
|
+
var FONT_SIZE_OPTIONS = [{
|
|
95992
|
+
label: "Heading 1",
|
|
95993
|
+
value: 1,
|
|
95994
|
+
key: "h1"
|
|
95995
|
+
}, {
|
|
95996
|
+
label: "Heading 2",
|
|
95997
|
+
value: 2,
|
|
95998
|
+
key: "h2"
|
|
95999
|
+
}, {
|
|
96000
|
+
label: "Heading 3",
|
|
96001
|
+
value: 3,
|
|
96002
|
+
key: "h3"
|
|
96003
|
+
}, {
|
|
96004
|
+
label: "Heading 4",
|
|
96005
|
+
value: 4,
|
|
96006
|
+
key: "h4"
|
|
96007
|
+
}, {
|
|
96008
|
+
label: "Heading 5",
|
|
96009
|
+
value: 5,
|
|
96010
|
+
key: "h5"
|
|
96011
|
+
}, {
|
|
96012
|
+
label: "Paragraph",
|
|
96013
|
+
value: 0,
|
|
96014
|
+
key: "body2"
|
|
96015
|
+
}];
|
|
96016
|
+
|
|
96017
|
+
var Menu$3 = neetoui.Dropdown.Menu,
|
|
96019
96018
|
MenuItem = neetoui.Dropdown.MenuItem;
|
|
96020
96019
|
var FontSizeOption = function FontSizeOption(_ref) {
|
|
96021
96020
|
var editor = _ref.editor,
|
|
@@ -96055,7 +96054,7 @@ var FontSizeOption = function FontSizeOption(_ref) {
|
|
|
96055
96054
|
size: "small",
|
|
96056
96055
|
className: "neeto-editor-fixed-menu__item neeto-editor-font-size__wrapper"
|
|
96057
96056
|
}
|
|
96058
|
-
}, /*#__PURE__*/React__default["default"].createElement(Menu$
|
|
96057
|
+
}, /*#__PURE__*/React__default["default"].createElement(Menu$3, {
|
|
96059
96058
|
onKeyDown: function onKeyDown(event) {
|
|
96060
96059
|
var _editor$commands;
|
|
96061
96060
|
return event.key === "Escape" && ((_editor$commands = editor.commands) === null || _editor$commands === void 0 ? void 0 : _editor$commands.focus());
|
|
@@ -96076,122 +96075,179 @@ var FontSizeOption = function FontSizeOption(_ref) {
|
|
|
96076
96075
|
})));
|
|
96077
96076
|
};
|
|
96078
96077
|
|
|
96079
|
-
var
|
|
96080
|
-
var
|
|
96081
|
-
|
|
96082
|
-
|
|
96083
|
-
|
|
96084
|
-
|
|
96078
|
+
var LinkAddPopOver = function LinkAddPopOver(_ref) {
|
|
96079
|
+
var isAddLinkActive = _ref.isAddLinkActive,
|
|
96080
|
+
setIsAddLinkActive = _ref.setIsAddLinkActive,
|
|
96081
|
+
editor = _ref.editor;
|
|
96082
|
+
var _editor$state$selecti = editor.state.selection,
|
|
96083
|
+
from = _editor$state$selecti.from,
|
|
96084
|
+
to = _editor$state$selecti.to;
|
|
96085
|
+
var text = editor.state.doc.textBetween(from, to, "");
|
|
96086
|
+
var _useState = React$6.useState(text),
|
|
96085
96087
|
_useState2 = _slicedToArray(_useState, 2),
|
|
96086
|
-
|
|
96087
|
-
|
|
96088
|
+
linkText = _useState2[0],
|
|
96089
|
+
setLinkText = _useState2[1];
|
|
96088
96090
|
var _useState3 = React$6.useState(""),
|
|
96089
96091
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
96090
|
-
|
|
96091
|
-
|
|
96092
|
-
var _useState5 = React$6.useState(
|
|
96092
|
+
linkUrl = _useState4[0],
|
|
96093
|
+
setLinkUrl = _useState4[1];
|
|
96094
|
+
var _useState5 = React$6.useState(""),
|
|
96093
96095
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96094
|
-
|
|
96095
|
-
|
|
96096
|
+
error = _useState6[0],
|
|
96097
|
+
setError = _useState6[1];
|
|
96098
|
+
var _useState7 = React$6.useState({
|
|
96099
|
+
top: 0,
|
|
96100
|
+
left: 0
|
|
96101
|
+
}),
|
|
96102
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
96103
|
+
popoverPosition = _useState8[0],
|
|
96104
|
+
setPopoverPosition = _useState8[1];
|
|
96105
|
+
var _useState9 = React$6.useState({
|
|
96106
|
+
top: 0,
|
|
96107
|
+
left: 0
|
|
96108
|
+
}),
|
|
96109
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
96110
|
+
arrowPosition = _useState10[0],
|
|
96111
|
+
setArrowPosition = _useState10[1];
|
|
96112
|
+
var popOverRef = React$6.useRef(null);
|
|
96096
96113
|
var _useTranslation = useTranslation(),
|
|
96097
96114
|
t = _useTranslation.t;
|
|
96098
|
-
var
|
|
96099
|
-
var
|
|
96100
|
-
var
|
|
96101
|
-
|
|
96102
|
-
|
|
96103
|
-
|
|
96104
|
-
|
|
96105
|
-
|
|
96106
|
-
|
|
96107
|
-
setIsOpen(false);
|
|
96108
|
-
setUrlString("");
|
|
96109
|
-
setError("");
|
|
96110
|
-
};
|
|
96111
|
-
var handleKeyDown = function handleKeyDown(event) {
|
|
96112
|
-
if (event.key === "Escape") {
|
|
96113
|
-
handleClose();
|
|
96114
|
-
} else if (event.key === "Enter") {
|
|
96115
|
-
handleLink();
|
|
96116
|
-
}
|
|
96115
|
+
var isLinkTextPresent = !isNilOrEmpty(linkText);
|
|
96116
|
+
var isLinlUrlPresent = !isNilOrEmpty(linkUrl);
|
|
96117
|
+
var isSubmitDisabled = !isLinkTextPresent || !isLinlUrlPresent;
|
|
96118
|
+
var popoverStyle = {
|
|
96119
|
+
display: "block",
|
|
96120
|
+
position: "fixed",
|
|
96121
|
+
top: popoverPosition.top,
|
|
96122
|
+
left: popoverPosition.left,
|
|
96123
|
+
transform: "translateY(52px) translateX(8px)"
|
|
96117
96124
|
};
|
|
96118
|
-
var
|
|
96119
|
-
|
|
96120
|
-
|
|
96121
|
-
|
|
96122
|
-
|
|
96123
|
-
|
|
96124
|
-
|
|
96125
|
+
var handleAddLink = function handleAddLink() {
|
|
96126
|
+
var _editor$view = editor.view,
|
|
96127
|
+
state = _editor$view.state,
|
|
96128
|
+
dispatch = _editor$view.dispatch;
|
|
96129
|
+
var _state$selection = state.selection,
|
|
96130
|
+
from = _state$selection.from,
|
|
96131
|
+
to = _state$selection.to;
|
|
96132
|
+
var formattedUrl = validateAndFormatUrl(linkUrl);
|
|
96133
|
+
if (!URL_REGEXP.test(formattedUrl)) {
|
|
96125
96134
|
setError(t("error.invalidUrl"));
|
|
96135
|
+
return;
|
|
96126
96136
|
}
|
|
96137
|
+
var attrs = {
|
|
96138
|
+
href: formattedUrl
|
|
96139
|
+
};
|
|
96140
|
+
var linkMark = state.schema.marks.link.create(attrs);
|
|
96141
|
+
var linkTextWithMark = state.schema.text(linkText, [linkMark]);
|
|
96142
|
+
var tr = state.tr.replaceWith(from, to, linkTextWithMark);
|
|
96143
|
+
dispatch(tr);
|
|
96144
|
+
removePopover();
|
|
96127
96145
|
};
|
|
96128
|
-
var
|
|
96129
|
-
editor.
|
|
96130
|
-
|
|
96131
|
-
handleClose();
|
|
96146
|
+
var removePopover = function removePopover() {
|
|
96147
|
+
editor.view.focus();
|
|
96148
|
+
setIsAddLinkActive(false);
|
|
96132
96149
|
};
|
|
96133
|
-
var
|
|
96134
|
-
|
|
96135
|
-
if (
|
|
96136
|
-
|
|
96137
|
-
|
|
96150
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
96151
|
+
e.stopPropagation();
|
|
96152
|
+
if (e.key === "Enter") {
|
|
96153
|
+
e.preventDefault();
|
|
96154
|
+
handleAddLink();
|
|
96155
|
+
} else if (e.key === "Escape") {
|
|
96156
|
+
removePopover();
|
|
96157
|
+
}
|
|
96138
96158
|
};
|
|
96139
|
-
|
|
96140
|
-
|
|
96141
|
-
|
|
96142
|
-
editor.
|
|
96143
|
-
|
|
96159
|
+
var updatePopoverPosition = function updatePopoverPosition() {
|
|
96160
|
+
if (popOverRef.current) {
|
|
96161
|
+
var _popOverRef$current;
|
|
96162
|
+
var newPos = editor.view.coordsAtPos(editor.view.state.selection.$to.pos);
|
|
96163
|
+
setArrowPosition({
|
|
96164
|
+
top: "".concat(newPos.top + 20, "px"),
|
|
96165
|
+
left: "".concat(newPos.left - 10, "px")
|
|
96166
|
+
});
|
|
96167
|
+
var popoverRect = (_popOverRef$current = popOverRef.current) === null || _popOverRef$current === void 0 ? void 0 : _popOverRef$current.getBoundingClientRect();
|
|
96168
|
+
var screenWidth = window.innerWidth;
|
|
96169
|
+
var screenHeight = window.innerHeight;
|
|
96170
|
+
var maxLeft = screenWidth - popoverRect.width;
|
|
96171
|
+
var maxTop = screenHeight - popoverRect.height - 50;
|
|
96172
|
+
var adjustedLeft = newPos !== null && newPos !== void 0 && newPos.left ? Math.min(newPos.left - 50, maxLeft) : 0;
|
|
96173
|
+
var adjustedTop = newPos !== null && newPos !== void 0 && newPos.top ? Math.min(newPos.top - 22, maxTop) : 0;
|
|
96174
|
+
setPopoverPosition({
|
|
96175
|
+
top: "".concat(adjustedTop, "px"),
|
|
96176
|
+
left: "".concat(adjustedLeft, "px")
|
|
96177
|
+
});
|
|
96144
96178
|
}
|
|
96145
|
-
}
|
|
96179
|
+
};
|
|
96180
|
+
reactUtils.useOnClickOutside(popOverRef, removePopover);
|
|
96146
96181
|
React$6.useEffect(function () {
|
|
96147
|
-
|
|
96148
|
-
|
|
96149
|
-
|
|
96150
|
-
|
|
96151
|
-
|
|
96152
|
-
|
|
96153
|
-
|
|
96154
|
-
|
|
96155
|
-
|
|
96156
|
-
|
|
96157
|
-
|
|
96158
|
-
|
|
96159
|
-
|
|
96160
|
-
|
|
96161
|
-
|
|
96162
|
-
|
|
96182
|
+
if (editor && isAddLinkActive) {
|
|
96183
|
+
updatePopoverPosition();
|
|
96184
|
+
}
|
|
96185
|
+
window.addEventListener("resize", removePopover);
|
|
96186
|
+
window.addEventListener("wheel", removePopover);
|
|
96187
|
+
return function () {
|
|
96188
|
+
window.removeEventListener("resize", removePopover);
|
|
96189
|
+
window.removeEventListener("wheel", removePopover);
|
|
96190
|
+
};
|
|
96191
|
+
}, []);
|
|
96192
|
+
return isAddLinkActive ? /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96193
|
+
className: "ne-link-arrow",
|
|
96194
|
+
style: {
|
|
96195
|
+
top: arrowPosition.top,
|
|
96196
|
+
left: arrowPosition.left
|
|
96197
|
+
}
|
|
96198
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96199
|
+
className: "ne-link-popover",
|
|
96200
|
+
id: "ne-link-add-popover",
|
|
96201
|
+
ref: popOverRef,
|
|
96202
|
+
style: popoverStyle
|
|
96203
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
96204
|
+
required: true,
|
|
96205
|
+
autoFocus: !isLinkTextPresent,
|
|
96206
|
+
label: t("common.text"),
|
|
96207
|
+
placeholder: t("placeholders.enterText"),
|
|
96208
|
+
size: "small",
|
|
96209
|
+
style: {
|
|
96210
|
+
width: "250px"
|
|
96211
|
+
},
|
|
96212
|
+
value: linkText,
|
|
96213
|
+
onChange: function onChange(_ref2) {
|
|
96214
|
+
var value = _ref2.target.value;
|
|
96215
|
+
return setLinkText(value);
|
|
96163
96216
|
},
|
|
96164
|
-
onClick: handleDropDownClick,
|
|
96165
|
-
onClose: handleClose
|
|
96166
|
-
}, /*#__PURE__*/React__default["default"].createElement(Menu$3, {
|
|
96167
|
-
className: "neeto-editor-link__item",
|
|
96168
96217
|
onKeyDown: handleKeyDown
|
|
96169
|
-
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
96170
|
-
|
|
96171
|
-
|
|
96218
|
+
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
|
|
96219
|
+
required: true,
|
|
96220
|
+
autoFocus: isLinkTextPresent,
|
|
96221
|
+
className: "ne-link-popover__url-input",
|
|
96222
|
+
label: t("common.url"),
|
|
96223
|
+
size: "small",
|
|
96172
96224
|
error: error,
|
|
96173
|
-
name: "url",
|
|
96174
96225
|
placeholder: t("placeholders.url"),
|
|
96175
|
-
|
|
96176
|
-
|
|
96226
|
+
style: {
|
|
96227
|
+
width: "250px"
|
|
96228
|
+
},
|
|
96229
|
+
value: linkUrl,
|
|
96230
|
+
onChange: function onChange(_ref3) {
|
|
96231
|
+
var value = _ref3.target.value;
|
|
96232
|
+
return setLinkUrl(value);
|
|
96233
|
+
},
|
|
96177
96234
|
onFocus: function onFocus() {
|
|
96178
96235
|
return setError("");
|
|
96179
96236
|
},
|
|
96180
|
-
|
|
96181
|
-
|
|
96182
|
-
|
|
96183
|
-
|
|
96184
|
-
|
|
96237
|
+
onKeyDown: handleKeyDown
|
|
96238
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96239
|
+
className: "ne-link-popover__edit-prompt-buttons"
|
|
96240
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
96241
|
+
disabled: isSubmitDisabled,
|
|
96242
|
+
label: t("common.done"),
|
|
96243
|
+
size: "small",
|
|
96244
|
+
onClick: handleAddLink
|
|
96185
96245
|
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
96186
|
-
|
|
96187
|
-
|
|
96188
|
-
onClick: handleLink
|
|
96189
|
-
}), isActive && /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
96190
|
-
"data-cy": "neeto-editor-fixed-menu-link-option-unlink-button",
|
|
96191
|
-
label: t("common.unlink"),
|
|
96246
|
+
label: t("common.cancel"),
|
|
96247
|
+
size: "small",
|
|
96192
96248
|
style: "text",
|
|
96193
|
-
onClick:
|
|
96194
|
-
})));
|
|
96249
|
+
onClick: removePopover
|
|
96250
|
+
})))), document.body) : null;
|
|
96195
96251
|
};
|
|
96196
96252
|
|
|
96197
96253
|
var Menu$2 = neetoui.Dropdown.Menu;
|
|
@@ -96215,7 +96271,7 @@ var TableActions = function TableActions(_ref) {
|
|
|
96215
96271
|
}
|
|
96216
96272
|
}, /*#__PURE__*/React__default["default"].createElement(Menu$2, {
|
|
96217
96273
|
className: "neeto-editor-table__options-menu"
|
|
96218
|
-
},
|
|
96274
|
+
}, tableActions({
|
|
96219
96275
|
editor: editor
|
|
96220
96276
|
}).map(function (_ref2) {
|
|
96221
96277
|
var label = _ref2.label,
|
|
@@ -96343,6 +96399,10 @@ var Fixed = function Fixed(_ref) {
|
|
|
96343
96399
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96344
96400
|
isEmbedModalOpen = _useState6[0],
|
|
96345
96401
|
setIsEmbedModalOpen = _useState6[1];
|
|
96402
|
+
var _useState7 = React$6.useState(false),
|
|
96403
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
96404
|
+
isAddLinkActive = _useState8[0],
|
|
96405
|
+
setIsAddLinkActive = _useState8[1];
|
|
96346
96406
|
var menuRef = React$6.useRef(null);
|
|
96347
96407
|
var _useTranslation = useTranslation(),
|
|
96348
96408
|
t = _useTranslation.t;
|
|
@@ -96385,7 +96445,8 @@ var Fixed = function Fixed(_ref) {
|
|
|
96385
96445
|
options: options,
|
|
96386
96446
|
setMediaUploader: setMediaUploader,
|
|
96387
96447
|
handleUploadAttachments: handleUploadAttachments,
|
|
96388
|
-
setIsEmbedModalOpen: setIsEmbedModalOpen
|
|
96448
|
+
setIsEmbedModalOpen: setIsEmbedModalOpen,
|
|
96449
|
+
setIsAddLinkActive: setIsAddLinkActive
|
|
96389
96450
|
}),
|
|
96390
96451
|
fontStyleOptions = _buildMenuOptions.font,
|
|
96391
96452
|
blockStyleOptions = _buildMenuOptions.block,
|
|
@@ -96397,7 +96458,6 @@ var Fixed = function Fixed(_ref) {
|
|
|
96397
96458
|
});
|
|
96398
96459
|
var isFontSizeActive = pure.isNotEmpty(fontSizeOptions);
|
|
96399
96460
|
var isEmojiActive = options.includes(EDITOR_OPTIONS.EMOJI);
|
|
96400
|
-
var isLinkActive = options.includes(EDITOR_OPTIONS.LINK);
|
|
96401
96461
|
var isTableActive = options.includes(EDITOR_OPTIONS.TABLE);
|
|
96402
96462
|
var isTextColorOptionActive = options.includes(EDITOR_OPTIONS.TEXT_COLOR);
|
|
96403
96463
|
var isEmbedOptionActive = options.includes(EDITOR_OPTIONS.VIDEO_EMBED);
|
|
@@ -96430,7 +96490,7 @@ var Fixed = function Fixed(_ref) {
|
|
|
96430
96490
|
className: "vertical-divider"
|
|
96431
96491
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96432
96492
|
className: "neeto-editor-fixed-menu__wrapper__button-group"
|
|
96433
|
-
}, fontStyleOptions.map(renderOptionButton), /*#__PURE__*/React__default["default"].createElement(TableActions, {
|
|
96493
|
+
}, fontStyleOptions.map(renderOptionButton$1), /*#__PURE__*/React__default["default"].createElement(TableActions, {
|
|
96434
96494
|
editor: editor,
|
|
96435
96495
|
tooltipContent: tooltips.table || t("menu.table")
|
|
96436
96496
|
})), pure.isNotEmpty(fontStyleOptions) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -96441,22 +96501,18 @@ var Fixed = function Fixed(_ref) {
|
|
|
96441
96501
|
})
|
|
96442
96502
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96443
96503
|
className: "neeto-editor-fixed-menu__wrapper__button-group"
|
|
96444
|
-
}, listStyleOptions.map(renderOptionButton)), pure.isNotEmpty(listStyleOptions) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96504
|
+
}, listStyleOptions.map(renderOptionButton$1)), pure.isNotEmpty(listStyleOptions) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96445
96505
|
className: "vertical-divider"
|
|
96446
96506
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96447
96507
|
className: "neeto-editor-fixed-menu__wrapper__button-group"
|
|
96448
|
-
}, blockStyleOptions.map(renderOptionButton)), pure.isNotEmpty(blockStyleOptions) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96508
|
+
}, blockStyleOptions.map(renderOptionButton$1)), pure.isNotEmpty(blockStyleOptions) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96449
96509
|
className: "vertical-divider"
|
|
96450
96510
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96451
96511
|
className: "neeto-editor-fixed-menu__wrapper__button-group"
|
|
96452
|
-
},
|
|
96453
|
-
editor: editor,
|
|
96454
|
-
menuRef: menuRef,
|
|
96455
|
-
tooltipContent: tooltips.link || t("menu.link")
|
|
96456
|
-
}), isTableActive && /*#__PURE__*/React__default["default"].createElement(TableOption, {
|
|
96512
|
+
}, isTableActive && /*#__PURE__*/React__default["default"].createElement(TableOption, {
|
|
96457
96513
|
editor: editor,
|
|
96458
96514
|
tooltipContent: tooltips.table || t("menu.table")
|
|
96459
|
-
}), miscOptions.map(renderOptionButton), isTextColorOptionActive && /*#__PURE__*/React__default["default"].createElement(TextColorOption, {
|
|
96515
|
+
}), miscOptions.map(renderOptionButton$1), isTextColorOptionActive && /*#__PURE__*/React__default["default"].createElement(TextColorOption, {
|
|
96460
96516
|
editor: editor,
|
|
96461
96517
|
tooltipContent: tooltips.textColor || t("menu.textColor")
|
|
96462
96518
|
}), isEmojiActive && /*#__PURE__*/React__default["default"].createElement(EmojiOption, {
|
|
@@ -96482,9 +96538,9 @@ var Fixed = function Fixed(_ref) {
|
|
|
96482
96538
|
editor: editor,
|
|
96483
96539
|
mentions: mentions,
|
|
96484
96540
|
tooltipContent: tooltips.mention || t("menu.mention")
|
|
96485
|
-
}), addonCommandOptions.map(renderOptionButton)), pure.isNotEmpty(rightOptions) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96541
|
+
}), addonCommandOptions.map(renderOptionButton$1)), pure.isNotEmpty(rightOptions) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96486
96542
|
className: "neeto-editor-fixed-menu__right-options"
|
|
96487
|
-
}, rightOptions.map(renderOptionButton)), children), isMenuCollapsible && /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
96543
|
+
}, rightOptions.map(renderOptionButton$1)), children), isMenuCollapsible && /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
96488
96544
|
className: "neeto-editor-fixed-menu__item",
|
|
96489
96545
|
"data-cy": "neeto-editor-fixed-menu-arrow",
|
|
96490
96546
|
icon: isMenuExpanded ? neetoIcons.Left : neetoIcons.Right,
|
|
@@ -96510,7 +96566,11 @@ var Fixed = function Fixed(_ref) {
|
|
|
96510
96566
|
}
|
|
96511
96567
|
},
|
|
96512
96568
|
onVariableClick: handleVariableClick
|
|
96513
|
-
}))
|
|
96569
|
+
})), isAddLinkActive && /*#__PURE__*/React__default["default"].createElement(LinkAddPopOver, {
|
|
96570
|
+
editor: editor,
|
|
96571
|
+
isAddLinkActive: isAddLinkActive,
|
|
96572
|
+
setIsAddLinkActive: setIsAddLinkActive
|
|
96573
|
+
}));
|
|
96514
96574
|
};
|
|
96515
96575
|
|
|
96516
96576
|
var _excluded$4 = ["icon", "onClick", "disabled", "className", "tooltipProps"];
|
|
@@ -96678,7 +96738,7 @@ var Option = function Option(_ref) {
|
|
|
96678
96738
|
};
|
|
96679
96739
|
|
|
96680
96740
|
var t = instance.t;
|
|
96681
|
-
var
|
|
96741
|
+
var createMenuOptions = function createMenuOptions(_ref) {
|
|
96682
96742
|
var editor = _ref.editor,
|
|
96683
96743
|
tooltips = _ref.tooltips,
|
|
96684
96744
|
setMediaUploader = _ref.setMediaUploader,
|
|
@@ -96828,17 +96888,16 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref) {
|
|
|
96828
96888
|
tooltip: tooltips.redo || t("menu.redo")
|
|
96829
96889
|
}];
|
|
96830
96890
|
};
|
|
96831
|
-
|
|
96832
|
-
var
|
|
96833
|
-
|
|
96834
|
-
|
|
96835
|
-
|
|
96836
|
-
|
|
96837
|
-
|
|
96838
|
-
|
|
96839
|
-
|
|
96840
|
-
|
|
96841
|
-
var menuOptions = MENU_OPTIONS({
|
|
96891
|
+
var buildMenuOptions = function buildMenuOptions(_ref2) {
|
|
96892
|
+
var tooltips = _ref2.tooltips,
|
|
96893
|
+
editor = _ref2.editor,
|
|
96894
|
+
options = _ref2.options,
|
|
96895
|
+
setMediaUploader = _ref2.setMediaUploader,
|
|
96896
|
+
handleUploadAttachments = _ref2.handleUploadAttachments,
|
|
96897
|
+
isEmojiPickerActive = _ref2.isEmojiPickerActive,
|
|
96898
|
+
setIsEmojiPickerActive = _ref2.setIsEmojiPickerActive,
|
|
96899
|
+
setIsEmbedModalOpen = _ref2.setIsEmbedModalOpen;
|
|
96900
|
+
var menuOptions = createMenuOptions({
|
|
96842
96901
|
editor: editor,
|
|
96843
96902
|
tooltips: tooltips,
|
|
96844
96903
|
setMediaUploader: setMediaUploader,
|
|
@@ -98949,7 +99008,7 @@ var EditorContent = function EditorContent(_ref) {
|
|
|
98949
99008
|
};
|
|
98950
99009
|
var index = /*#__PURE__*/React__default["default"].memo(EditorContent);
|
|
98951
99010
|
|
|
98952
|
-
var css = "@charset \"UTF-8\";@import url(\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css\");@keyframes shake{0%{transform:translateX(0)}10%{transform:translateX(-4px)}20%{transform:translateX(4px)}30%{transform:translateX(-4px)}40%{transform:translateX(4px)}50%{transform:translateX(-4px)}60%{transform:translateX(4px)}70%{transform:translateX(-4px)}80%{transform:translateX(4px)}90%{transform:translateX(-4px)}to{transform:translateX(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.neeto-editor-slash-commands__wrapper{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;max-height:384px;max-width:100%;overflow-y:auto;padding:12px;width:256px}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;gap:12px;justify-content:flex-start;padding:8px 12px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active,.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5{font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);line-height:var(--neeto-ui-leading-normal)}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p{color:rgb(var(--neeto-ui-gray-300));font-size:var(--neeto-ui-text-xs)}.neeto-editor-mentions__wrapper{max-height:256px;min-width:208px;overflow-y:auto;padding:8px;width:auto}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;font-size:var(--neeto-ui-text-xs);gap:8px;justify-content:flex-start;padding:8px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item.active,.neeto-editor-mentions__wrapper .neeto-editor-mentions__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.ProseMirror.slash-active p.is-empty:last-child:before{content:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zLjgyMSAxNWgxLjIzVjYuMjQzaDMuMThWNS4xMzZILjY0MnYxLjEwN0gzLjgyVjE1Wm01LjkgMi41ODRjMS4zMDUgMCAxLjkxNC0uNDc5IDIuNTIyLTIuMTMzbDIuODc4LTcuODJoLTEuMjVsLTIuMDE4IDYuMDYzaC0uMTA5TDkuNzIxIDcuNjMxSDguNDQ5bDIuNzI4IDcuMzc2LS4xMzcuNDM3Yy0uMjY3Ljg0OC0uNjc3IDEuMTU2LTEuMzUzIDEuMTU2LS4xNjUgMC0uMzUtLjAwNy0uNDkzLS4wMzV2Ljk3OGMuMTY0LjAyNy4zNy4wNDEuNTI3LjA0MVptNi45NzItLjEyM2gxLjE5di0zLjYyM2guMTFjLjQwMi43ODYgMS4yODQgMS4yOTIgMi4yOTYgMS4yOTIgMS44NzMgMCAzLjA5LTEuNDk3IDMuMDktMy44MDh2LS4wMTNjMC0yLjI5Ny0xLjIyNC0zLjgwOC0zLjA5LTMuODA4LTEuMDI1IDAtMS44NDYuNDg1LTIuMjk3IDEuMzA2aC0uMTFWNy42M2gtMS4xODl2OS44M1ptMy4zMjMtMy4zODRjLTEuMzQgMC0yLjE2LTEuMDUzLTIuMTYtMi43NTV2LS4wMTNjMC0xLjcwMy44Mi0yLjc1NSAyLjE2LT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IuNzU1Wm04LjIzMSAxLjA1M2MxLjczNiAwIDIuNzg5LS45ODUgMy4wNDItMS45ODJsLjAxMy0uMDU1aC0xLjE4OWwtLjAyNy4wNjFjLS4xOTkuNDQ1LS44MTQuOTE2LTEuODEyLjkxNi0xLjMxMiAwLTIuMTUzLS44ODgtMi4xODctMi40MTNoNS4zMDR2LS40NjVjMC0yLjItMS4yMTctMy42OTEtMy4yMi0zLjY5MS0yLjAwMiAwLTMuMzAxIDEuNTU5LTMuMzAxIDMuODM1di4wMDdjMCAyLjMxIDEuMjcxIDMuNzg3IDMuMzc3IDMuNzg3Wm0tLjA4Mi02LjU3YzEuMDg3IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2WiIgZmlsbD0iIzg3OTI5RCIvPjwvc3ZnPg==\");height:0;pointer-events:none;position:absolute;top:-2px;z-index:-1}.neeto-editor{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-black));max-width:100%!important;padding:16px;white-space:pre-wrap}.neeto-editor:focus{outline:none}.neeto-editor a{pointer-events:none}.neeto-editor [data-variable]{color:rgb(var(--neeto-ui-gray-600));padding:4px 6px}.neeto-editor .ProseMirror-separator{display:none}.neeto-editor.fixed-menu-active{border:thin solid rgb(var(--neeto-ui-gray-300));border-top:none;border-top-left-radius:0;border-top-right-radius:0}.neeto-editor.attachments-active{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.neeto-editor .is-empty{position:relative}.neeto-editor.placeholder-active .is-editor-empty:first-child:before{color:#ced4da;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.neeto-editor hr{margin:8px 0}.neeto-editor .ProseMirror-selectednode{outline:3px solid rgb(var(--neeto-ui-pastel-blue))}.neeto-editor .has-focus{background:var(--focus-background-color);transition:background-color .2s ease}.neeto-editor [data-variable]{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);color:rgb(var(--neeto-ui-gray-800));display:inline-flex;line-height:1;padding:4px}.neeto-editor-character-count{color:rgb(var(--neeto-ui-gray-600));font-size:12px;padding:4px;text-align:right}.neeto-editor-error{border-color:rgb(var(--neeto-ui-error-500));border-radius:var(--neeto-ui-rounded);border-width:1px;color:rgb(var(--neeto-ui-error-500))}.neeto-editor-error:focus-within{border-color:rgb(var(--neeto-ui-error-600))}.ne_variable-tag{border-radius:6px!important}.neeto-editor,.neeto-editor-content{-moz-tab-size:2;-o-tab-size:2;tab-size:2;white-space:pre-wrap;word-break:break-word}.neeto-editor h1,.neeto-editor h2,.neeto-editor h3,.neeto-editor h4,.neeto-editor h5,.neeto-editor h6,.neeto-editor-content h1,.neeto-editor-content h2,.neeto-editor-content h3,.neeto-editor-content h4,.neeto-editor-content h5,.neeto-editor-content h6{color:rgb(var(--neeto-ui-black))}.neeto-editor h1 strong,.neeto-editor h2 strong,.neeto-editor h3 strong,.neeto-editor h4 strong,.neeto-editor h5 strong,.neeto-editor h6 strong,.neeto-editor-content h1 strong,.neeto-editor-content h2 strong,.neeto-editor-content h3 strong,.neeto-editor-content h4 strong,.neeto-editor-content h5 strong,.neeto-editor-content h6 strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor h1,.neeto-editor-content h1{margin:2rem 0 .25rem}.neeto-editor h2,.neeto-editor-content h2{margin:1.5rem 0 .25rem}.neeto-editor h3,.neeto-editor-content h3{margin:1rem 0 .25rem}.neeto-editor h4,.neeto-editor-content h4{margin:.875rem 0 .25rem}.neeto-editor h5,.neeto-editor-content h5{margin:.75rem 0 .25rem}.neeto-editor h6,.neeto-editor-content h6{margin:.5rem 0 .25rem}.neeto-editor p,.neeto-editor-content p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor p:empty:after,.neeto-editor-content p:empty:after{content:\" \"}.neeto-editor p:last-child,.neeto-editor-content p:last-child{margin-bottom:0}.neeto-editor p strong,.neeto-editor-content p strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor div,.neeto-editor-content div{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor code,.neeto-editor-content code{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);font-family:SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;font-size:14px;padding:.2em .4em}.neeto-editor pre,.neeto-editor-content pre{background-color:#f7f6f3;border-radius:var(--neeto-ui-rounded-sm);font-size:14px;line-height:1.5;margin-bottom:16px;margin-top:16px;overflow-x:auto;padding:34px 16px 32px 32px;position:relative}.neeto-editor pre .neeto-editor-codeblock-options,.neeto-editor-content pre .neeto-editor-codeblock-options{align-items:center;display:flex;gap:4px;position:absolute;right:4px;top:4px}.neeto-editor pre .neeto-editor-codeblock-options__menu,.neeto-editor-content pre .neeto-editor-codeblock-options__menu{display:flex;flex-direction:column;gap:4px}.neeto-editor pre .neeto-editor-codeblock-options__input,.neeto-editor-content pre .neeto-editor-codeblock-options__input{margin:4px}.neeto-editor pre>code,.neeto-editor-content pre>code{background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:400;line-height:inherit;padding:0;white-space:pre-wrap}.neeto-editor blockquote,.neeto-editor-content blockquote{border-left-color:#e5e7eb;border-left-width:4px;color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin:8px 0;padding-left:12px;quotes:\"“\" \"”\" \"‘\" \"’\"}.neeto-editor blockquote>p:after,.neeto-editor blockquote>p:before,.neeto-editor-content blockquote>p:after,.neeto-editor-content blockquote>p:before{content:\"\"!important}.neeto-editor ol,.neeto-editor ul,.neeto-editor-content ol,.neeto-editor-content ul{list-style:revert;margin-bottom:1em;padding-left:28px}.neeto-editor ol li:before,.neeto-editor ul li:before,.neeto-editor-content ol li:before,.neeto-editor-content ul li:before{background-color:rgb(var(--neeto-ui-black))}.neeto-editor a[href],.neeto-editor-content a[href]{color:rgb(var(--neeto-ui-primary-800));font-weight:500}.neeto-editor .neeto-editor__video-wrapper,.neeto-editor-content .neeto-editor__video-wrapper{display:flex;margin:16px 0}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;padding:4px}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe{height:100%;width:100%}.neeto-editor .neeto-editor__video--left,.neeto-editor-content .neeto-editor__video--left{justify-content:flex-start}.neeto-editor .neeto-editor__video--right,.neeto-editor-content .neeto-editor__video--right{justify-content:flex-end}.neeto-editor .neeto-editor__video--center,.neeto-editor-content .neeto-editor__video--center{justify-content:center}.neeto-editor mark,.neeto-editor-content mark{border-radius:var(--neeto-ui-rounded-sm);padding:0 4px}.neeto-editor [data-type=mention],.neeto-editor [data-type=special-mention],.neeto-editor-content [data-type=mention],.neeto-editor-content [data-type=special-mention]{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor table,.neeto-editor-content table{border:1px solid rgba(var(--neeto-ui-gray-300));border-collapse:separate;border-radius:var(--neeto-ui-rounded-sm);border-spacing:0;min-width:300px;overflow:hidden;table-layout:fixed}.neeto-editor table td,.neeto-editor table th,.neeto-editor-content table td,.neeto-editor-content table th{border-left:1px solid rgba(var(--neeto-ui-gray-300));border-top:1px solid rgba(var(--neeto-ui-gray-300));padding:8px 12px;position:relative}.neeto-editor table td:first-child,.neeto-editor table th:first-child,.neeto-editor-content table td:first-child,.neeto-editor-content table th:first-child{border-left:none}.neeto-editor table th,.neeto-editor-content table th{background:rgb(var(--neeto-ui-gray-100));border-top:none}.neeto-editor table td,.neeto-editor-content table td{background:rgb(var(--neeto-ui-white))}.neeto-editor-content--hidden{display:none}.neeto-editor__image-wrapper{color:inherit!important;display:flex;font-weight:400!important;margin:16px 0;text-decoration:none}.neeto-editor__image-wrapper figure{display:inline-block;max-width:100%;overflow:hidden;position:relative}.neeto-editor__image-wrapper .neeto-editor__image{display:inline-block}.neeto-editor__image-wrapper .neeto-editor__image img,.neeto-editor__image-wrapper .neeto-editor__image video{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;height:auto;padding:4px;width:100%}.neeto-editor__image-wrapper .neeto-editor__image-placeholder{align-items:center;border:1px solid;border-radius:8px;display:flex;height:200px;justify-content:center;width:400px}.neeto-editor__image-wrapper figcaption div{color:rgb(var(--neeto-ui-gray-600));font-size:14px;font-weight:var(--neeto-ui-font-normal);line-height:1.4;text-align:center}.neeto-editor__image-wrapper figcaption div a{display:inline-block;margin:0;text-align:center}.neeto-editor__image-wrapper figcaption.is-empty div:before{color:rgb(var(--neeto-ui-gray-500));content:\"Add a caption\";inset:0;position:absolute}.neeto-editor__image--left{justify-content:flex-start}.neeto-editor__image--center{justify-content:center}.neeto-editor__image--right{justify-content:flex-end}.neeto-editor-fixed-menu{background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-300));border-bottom:none;border-radius:var(--neeto-ui-rounded) var(--neeto-ui-rounded) 0 0;position:relative}.neeto-editor-fixed-menu--independant{border-bottom:thin solid rgb(var(--neeto-ui-gray-300));border-radius:0;border-radius:initial}.neeto-editor-fixed-menu__item{border-radius:var(--neeto-ui-rounded-sm)!important}.neeto-editor-fixed-menu .vertical-divider{border-left:1px solid rgb(var(--neeto-ui-gray-300));height:24px;margin:0 11.5px;opacity:.5}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item{min-width:-moz-fit-content;min-width:fit-content;padding:2px}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-black));height:20px!important;width:20px!important}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu__wrapper{align-items:center;display:flex;justify-content:flex-start;overflow:auto;padding:4px;width:100%}.neeto-editor-fixed-menu__wrapper--collapsible{align-items:center;display:flex;flex-grow:1}.neeto-editor-fixed-menu__wrapper--collapsible--fade button.neeto-editor-fixed-menu__item{animation:fade-in .3s ease-in}.neeto-editor-fixed-menu__wrapper__button-group{display:flex;gap:4px}.neeto-editor-fixed-menu__variables{bottom:-24px;position:absolute;right:8px;z-index:10}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item{background-color:rgb(var(--neeto-ui-gray-700));border-radius:var(--neeto-ui-rounded-sm);padding:4px}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item.active,.neeto-editor-fixed-menu__variables .neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-600))}.neeto-editor-fixed-menu__right-options{display:flex;gap:8px;justify-self:flex-end;margin-left:auto}.neeto-editor-fixed-menu__emoji-dropdown{max-height:none!important}.neeto-editor-fixed-menu__separator{display:flex;height:28px;width:32px}.neeto-editor-fixed-menu__separator span{width:100%}.neeto-editor-fixed-menu__separator span:first-child{border-right:1px solid rgb(var(--neeto-ui-gray-200))}.neeto-editor-text-color-option__options-group{align-items:center;display:flex;gap:8px;margin:8px 4px}.neeto-editor-text-color-option__options-group__input{max-width:130px}.neeto-editor-text-color-option__options-group__reset-button{align-self:center}.neeto-editor-menu__item{align-items:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;gap:4px;justify-content:center;padding:8px;transition:var(--neeto-ui-transition)}.neeto-editor-menu__item p{color:rgb(var(--neeto-ui-gray-600));font-size:var(--neeto-ui-text-xs);line-height:1;white-space:nowrap}.neeto-editor-menu__item.active,.neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-menu__item:focus,.neeto-editor-menu__item:focus-visible{outline:rgb(var(--neeto-ui-gray-300)) auto 1px}.neeto-editor-menu__item input[type=color]{height:0;visibility:hidden;width:0}.neeto-editor-menu__item:disabled{background-color:rgb(var(--neeto-ui-gray-100));opacity:.5}.neeto-editor-link__item{align-items:flex-start;justify-content:flex-start}.neeto-editor-link__item,.neeto-editor-table__item{display:flex!important;flex-direction:row;gap:8px;padding:8px!important}.neeto-editor-table__item input{max-width:60px!important}.neeto-editor-table__options-menu{display:flex;flex-direction:column;gap:8px;max-height:150px!important;overflow:scroll;padding:8px!important}.neeto-editor-font-size__wrapper{font-weight:var(--neeto-ui-font-normal)!important;gap:15px!important}.neeto-editor-bubble-menu{align-items:center;background:rgb(var(--neeto-ui-gray-800));border-radius:var(--neeto-ui-rounded);display:flex;flex-direction:row;gap:1px;justify-content:flex-start;padding:0 4px;position:relative}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text{color:rgb(var(--neeto-ui-gray-200));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text.active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:hover{background-color:rgb(var(--neeto-ui-gray-600))!important;color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu button.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-gray-400));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn{color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn.active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:hover{background-color:rgb(var(--neeto-ui-gray-600))!important}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link{align-items:center;display:flex;gap:8px;justify-content:space-between;padding:6px;width:256px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input{background-color:transparent;line-height:20px;outline:none;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only{min-height:0;opacity:.8;padding:0}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only:hover{opacity:1}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table{align-items:center;display:flex;gap:6px;justify-content:space-between;max-width:256px;padding:4px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input{background-color:rgba(var(--neeto-ui-gray-400),.2);height:24px;line-height:20px;outline:none;width:60px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__buttons{align-items:center;display:flex;gap:4px;justify-content:space-between}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table-options{align-items:center;display:flex;flex-direction:column;gap:2px;max-height:100px;overflow:scroll}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown-target{align-items:center;display:flex;font-size:var(--neeto-ui-text-xs);gap:4px;line-height:var(--neeto-ui-leading-normal);white-space:nowrap}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown{align-items:flex-start;display:flex;flex-direction:column}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item{font-size:var(--neeto-ui-text-xs);padding:8px 12px;text-align:left;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:first-child{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:last-child{border-bottom-left-radius:var(--neeto-ui-rounded);border-bottom-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu-animate-shake{animation:shake 1s linear infinite alternate both}.neeto-editor__image-menu .neeto-ui-dropdown__popup{display:flex;min-width:0;min-width:auto}.neeto-editor__image-menu .neeto-ui-dropdown__popup .neeto-ui-btn .neeto-ui-btn__icon{height:18px!important;width:18px!important}.neeto-editor__image-menu-btn{padding:2px!important;position:absolute!important;right:4px;top:4px;z-index:1}.ne-media-uploader{display:flex;flex-direction:column;min-height:184px}.ne-media-uploader .ne-tab__wrapper .ne-tab{min-width:88px}.ne-media-uploader .ne-media-uploader__content{display:flex;flex-grow:1;padding:16px}.ne-media-uploader .ne-media-uploader__dnd{align-items:center;border:1px dashed rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded);box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;gap:2px;justify-content:center;width:100%}.ne-media-uploader .ne-media-uploader__dnd-icon{color:rgb(var(--neeto-ui-primary-600));margin-bottom:6px}.ne-media-uploader .ne-media-uploader__dnd-input{display:none}.ne-media-uploader .ne-media-uploader__dnd:hover{background-color:rgb(var(--neeto-ui-gray-100));cursor:pointer}.ne-media-uploader .ne-media-uploader__dnd.uppy-is-drag-over{background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));color:rgb(var(--neeto-ui-gray-600))}.ne-media-uploader .ne-media-uploader__wrapper{display:flex;flex-wrap:wrap;gap:8px;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media{align-self:start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;flex-direction:column;flex-grow:1;height:58px;justify-content:space-between;margin-bottom:auto;margin-top:auto;padding:4px 8px;width:220px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info{align-items:center;display:flex;gap:4px;justify-content:space-between}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info p{display:block;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress{align-self:flex-end;background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-full);overflow:hidden;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress-bar{align-items:center;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-primary-100));display:flex;font-size:12px;font-weight:500px;height:12px;justify-content:center;line-height:1;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper{width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container{max-height:50vh;overflow-x:hidden;overflow-y:auto}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-search{margin-bottom:16px;padding:0 8px}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery{right:-8px;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__loader{display:flex;justify-content:center}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item{float:left;padding-bottom:16px;padding-right:16px;width:33.3%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder{position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);height:100%;position:absolute;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img{animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1) 1s both;border-radius:var(--neeto-ui-rounded);cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a{bottom:8px;color:rgb(var(--neeto-ui-white));font-size:12px;font-weight:var(--neeto-ui-font-normal);left:8px;line-height:1;margin:auto;opacity:0;position:absolute;text-transform:capitalize;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover{text-decoration:underline}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a{opacity:1}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text{color:rgb(var(--neeto-ui-gray-700));font-size:var(--neeto-ui-text-xs);margin-top:12px;text-align:center}.neeto-editor-url-form__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:center;padding:0 24px}.neeto-editor-url-form__wrapper .neeto-ui-input__wrapper{flex-grow:0;margin-bottom:16px;width:100%}.neeto-editor-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols}.emoji-mart.emoji-mart-light{border:none;color:rgb(var(--neeto-ui-gray-800));font-size:14px}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor{color:rgb(var(--neeto-ui-gray-500))}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg{margin:auto}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar{background-color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected{color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-search input{border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span{padding-top:8px}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span{cursor:pointer}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-scroll{height:264px;padding-bottom:0}.neeto-editor-emoji-suggestion{align-items:center;display:flex;flex-direction:row;font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;gap:2px;justify-content:flex-start;padding:4px}.neeto-editor-emoji-suggestion p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs)}.neeto-editor-emoji-suggestion span{font-size:10px;height:16px!important;width:16px!important}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item{border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;font-size:var(--neeto-ui-text-2xl);line-height:1;padding:6px;transition:var(--neeto-ui-transition)}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected,.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-table{display:relative;margin:8px 0 0;width:-moz-fit-content;width:fit-content}.neeto-editor-table table td p,.neeto-editor-table table th p{margin:0}.neeto-editor-table table .column-resize-handle{background-color:rgb(var(--neeto-ui-gray-300));bottom:0;position:absolute;right:-2px;top:0;width:4px}.neeto-editor-table table .selectedCell:after{background:rgba(var(--neeto-ui-primary-500),.1);content:\"\";inset:0;position:absolute}.neeto-editor-table__wrapper{display:flex;gap:4px}.neeto-editor-table__add-column,.neeto-editor-table__add-row{align-items:center;background:rgba(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;display:flex;justify-content:center;transition:var(--neeto-ui-transition);visibility:hidden}.neeto-editor-table__add-column p,.neeto-editor-table__add-row p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs);line-height:12px}.neeto-editor-table__add-column:hover,.neeto-editor-table__add-row:hover{background:rgba(var(--neeto-ui-gray-300))}.neeto-editor-table:hover .neeto-editor-table__add-column,.neeto-editor-table:hover .neeto-editor-table__add-row{visibility:visible}.neeto-editor-table__add-row{height:16px;margin:4px 20px 4px 0}.neeto-editor-table__add-column{flex-direction:column;width:16px}.ProseMirror.resize-cursor{cursor:col-resize}.ne-link-popover{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#333;padding:10px 16px;position:fixed;transition:opacity .3s ease,transform .3s ease,visibility 0s .3s;z-index:999}.ne-link-popover__option-button{margin:0 4px}.ne-link-popover__edit-prompt-buttons{display:flex;gap:8px;margin-top:8px}.ne-link-popover a{color:rgb(var(--neeto-ui-primary-800));float:left;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-link-popover:after,.ne-link-popover:before{border-style:solid;bottom:100%;content:\"\";left:50%;margin-left:-5px;position:absolute}.ne-link-popover:before{border-color:#fff transparent transparent;border-width:5px}.ne-link-popover:after{border-color:rgba(0,0,0,.2) transparent transparent;border-width:6px}.ne-attachments{display:flex;flex-direction:column;gap:8px}.ne-attachments__items{display:flex;flex-wrap:wrap;gap:8px}.ne-attachments__preview{align-items:center;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;justify-content:space-between;padding:4px 2px 4px 8px;width:256px}.ne-attachments__preview-wrapper{display:flex;gap:8px;width:88%}.ne-attachments__preview-wrapper__icon{height:auto;width:15px}.ne-attachments__preview-wrapper p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:92%}.ne-attachments__preview-wrapper:hover{cursor:pointer}.ne-attachments__preview__progress{display:flex;justify-content:space-between;opacity:.5;width:76%}.ne-attachments__preview__progress p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.ne-attachments__preview__progress p:nth-child(2){width:-moz-fit-content;width:fit-content}.ne-attachments__preview__progress-icon{height:auto;width:15px}.ne-attachments__preview:hover{box-shadow:0 0 0 1px rgb(var(--neeto-ui-gray-400))}.ne-attachments input[type=file]{display:none}.ne-attachments-preview{display:flex;flex-direction:column;gap:8px;height:75vh!important;max-height:576px!important;max-width:1152px!important;width:75vw!important}.ne-attachments-preview__header{border-bottom:1px solid rgb(var(--neeto-ui-gray-200));margin-bottom:8px}.ne-attachments-preview__body{align-items:center;display:flex;flex-grow:1;justify-content:center;min-height:10px;padding-bottom:8px!important;position:relative;width:100%}.ne-attachments-preview__body-download{color:rgb(var(--neeto-ui-primary-800));cursor:pointer}.ne-attachments-preview__body img{max-height:100%;max-width:100%}.ne-attachments-preview__body video{height:100%;width:100%}.ne-attachments-preview__body iframe{height:100%;padding:0 8px;width:100%}.ne-attachments-preview__body-left,.ne-attachments-preview__body-right{position:absolute!important;top:50%;transform:translateY(-50%);z-index:1}.ne-attachments-preview__body-left:hover,.ne-attachments-preview__body-right:hover{background-color:rgba(var(--neeto-ui-gray-100),.4)!important;cursor:pointer}.ne-attachments-preview__body-left{left:24px}.ne-attachments-preview__body-right{right:24px}.ne-attachments-preview__footer{align-items:center;display:flex;justify-content:space-around;padding-bottom:24px!important}.ne-attachments--integrated{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:0 0 var(--neeto-ui-rounded) var(--neeto-ui-rounded);border-top:none;padding:0 6px}.ne-attachments__wrapper{position:relative}.ne-attachments__wrapper.uppy-is-drag-over:after{align-items:center;background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));border-radius:5px;color:rgb(var(--neeto-ui-gray-600));content:\"Drop the file here\";display:flex;font-size:1.2rem;font-weight:700;inset:7px;justify-content:center;position:absolute}.ProseMirror{height:100%;overflow-y:auto;white-space:break-spaces}.ProseMirror:focus{outline:none}";
|
|
99011
|
+
var css = "@charset \"UTF-8\";@import url(\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css\");@keyframes shake{0%{transform:translateX(0)}10%{transform:translateX(-4px)}20%{transform:translateX(4px)}30%{transform:translateX(-4px)}40%{transform:translateX(4px)}50%{transform:translateX(-4px)}60%{transform:translateX(4px)}70%{transform:translateX(-4px)}80%{transform:translateX(4px)}90%{transform:translateX(-4px)}to{transform:translateX(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.neeto-editor-slash-commands__wrapper{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;max-height:384px;max-width:100%;overflow-y:auto;padding:12px;width:256px}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;gap:12px;justify-content:flex-start;padding:8px 12px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active,.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5{font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);line-height:var(--neeto-ui-leading-normal)}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p{color:rgb(var(--neeto-ui-gray-300));font-size:var(--neeto-ui-text-xs)}.neeto-editor-mentions__wrapper{max-height:256px;min-width:208px;overflow-y:auto;padding:8px;width:auto}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;font-size:var(--neeto-ui-text-xs);gap:8px;justify-content:flex-start;padding:8px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item.active,.neeto-editor-mentions__wrapper .neeto-editor-mentions__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.ProseMirror.slash-active p.is-empty:last-child:before{content:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zLjgyMSAxNWgxLjIzVjYuMjQzaDMuMThWNS4xMzZILjY0MnYxLjEwN0gzLjgyVjE1Wm01LjkgMi41ODRjMS4zMDUgMCAxLjkxNC0uNDc5IDIuNTIyLTIuMTMzbDIuODc4LTcuODJoLTEuMjVsLTIuMDE4IDYuMDYzaC0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NCAxLjE1NmEyLjgyIDIuODIgMCAwIDEtLjQ5Mi0uMDM1di45NzhjLjE2NC4wMjcuMzY5LjA0MS41MjYuMDQxWm02Ljk3My0uMTIzaDEuMTg5di0zLjYyM2guMTFjLjQwMy43ODYgMS4yODUgMS4yOTIgMi4yOTcgMS4yOTIgMS44NzMgMCAzLjA4OS0xLjQ5NyAzLjA4OS0zLjgwOHYtLjAxM2MwLTIuMjk3LTEuMjIzLTMuODA4LTMuMDg5LTMuODA4LTEuMDI2IDAtMS44NDYuNDg1LTIuMjk3IDEuMzA2aC0uMTFWNy42M2gtMS4xODl2OS44M1ptMy4zMjItMy4zODRjLTEuMzQgMC0yLjE2LTEuMDUzLTIuMTYtMi43NTV2LS4wMTNjMC0xLjcwMy44Mi0yLjc1NSAyLjE2LTIuNzU1IDEuMzQ3IDAgMi4xNDcgMS4wMzkgMi4xNDcgMi43NTV2LjAxM2MwIDEuNzE2LS44IDIuNzU1LTIuMTQ3IDIuNzU1Wm04LjIzMSAxLjA1M2MxLjczNiAwIDIuNzg5LS45ODUgMy4wNDItMS45ODJsLjAxMy0uMDU1aC0xLjE4OWwtLjAyNy4wNjFjLS4xOTkuNDQ1LS44MTQuOTE2LTEuODEyLjkxNi0xLjMxMiAwLTIuMTUzLS44ODgtMi4xODctMi40MTNoNS4zMDR2LS40NjVjMC0yLjItMS4yMTctMy42OTEtMy4yMi0zLjY5MS0yLjAwMiAwLTMuMzAxIDEuNTU5LTMuMzAxIDMuODM1di4wMDdjMCAyLjMxIDEuMjcxIDMuNzg3IDMuMzc3IDMuNzg3Wm0tLjA4Mi02LjU3YzEuMDg3IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2WiIgZmlsbD0iIzg3OTI5RCIvPjwvc3ZnPg==\");height:0;pointer-events:none;position:absolute;top:-2px;z-index:-1}.neeto-editor{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-black));max-width:100%!important;padding:16px;white-space:pre-wrap}.neeto-editor:focus{outline:none}.neeto-editor a{pointer-events:none}.neeto-editor [data-variable]{color:rgb(var(--neeto-ui-gray-600));padding:4px 6px}.neeto-editor .ProseMirror-separator{display:none}.neeto-editor.fixed-menu-active{border:thin solid rgb(var(--neeto-ui-gray-300));border-top:none;border-top-left-radius:0;border-top-right-radius:0}.neeto-editor.attachments-active{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.neeto-editor .is-empty{position:relative}.neeto-editor.placeholder-active .is-editor-empty:first-child:before{color:#ced4da;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.neeto-editor hr{margin:8px 0}.neeto-editor .ProseMirror-selectednode{outline:3px solid rgb(var(--neeto-ui-pastel-blue))}.neeto-editor .has-focus{background:var(--focus-background-color);transition:background-color .2s ease}.neeto-editor [data-variable]{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);color:rgb(var(--neeto-ui-gray-800));display:inline-flex;line-height:1;padding:4px}.neeto-editor-character-count{color:rgb(var(--neeto-ui-gray-600));font-size:12px;padding:4px;text-align:right}.neeto-editor-error{border-color:rgb(var(--neeto-ui-error-500));border-radius:var(--neeto-ui-rounded);border-width:1px;color:rgb(var(--neeto-ui-error-500))}.neeto-editor-error:focus-within{border-color:rgb(var(--neeto-ui-error-600))}.ne_variable-tag{border-radius:6px!important}.neeto-editor,.neeto-editor-content{-moz-tab-size:2;-o-tab-size:2;tab-size:2;white-space:pre-wrap;word-break:break-word}.neeto-editor h1,.neeto-editor h2,.neeto-editor h3,.neeto-editor h4,.neeto-editor h5,.neeto-editor h6,.neeto-editor-content h1,.neeto-editor-content h2,.neeto-editor-content h3,.neeto-editor-content h4,.neeto-editor-content h5,.neeto-editor-content h6{color:rgb(var(--neeto-ui-black))}.neeto-editor h1 strong,.neeto-editor h2 strong,.neeto-editor h3 strong,.neeto-editor h4 strong,.neeto-editor h5 strong,.neeto-editor h6 strong,.neeto-editor-content h1 strong,.neeto-editor-content h2 strong,.neeto-editor-content h3 strong,.neeto-editor-content h4 strong,.neeto-editor-content h5 strong,.neeto-editor-content h6 strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor h1,.neeto-editor-content h1{margin:2rem 0 .25rem}.neeto-editor h2,.neeto-editor-content h2{margin:1.5rem 0 .25rem}.neeto-editor h3,.neeto-editor-content h3{margin:1rem 0 .25rem}.neeto-editor h4,.neeto-editor-content h4{margin:.875rem 0 .25rem}.neeto-editor h5,.neeto-editor-content h5{margin:.75rem 0 .25rem}.neeto-editor h6,.neeto-editor-content h6{margin:.5rem 0 .25rem}.neeto-editor p,.neeto-editor-content p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor p:empty:after,.neeto-editor-content p:empty:after{content:\" \"}.neeto-editor p:last-child,.neeto-editor-content p:last-child{margin-bottom:0}.neeto-editor p strong,.neeto-editor-content p strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor div,.neeto-editor-content div{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor code,.neeto-editor-content code{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);font-family:SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;font-size:14px;padding:.2em .4em}.neeto-editor pre,.neeto-editor-content pre{background-color:#f7f6f3;border-radius:var(--neeto-ui-rounded-sm);font-size:14px;line-height:1.5;margin-bottom:16px;margin-top:16px;overflow-x:auto;padding:34px 16px 32px 32px;position:relative}.neeto-editor pre .neeto-editor-codeblock-options,.neeto-editor-content pre .neeto-editor-codeblock-options{align-items:center;display:flex;gap:4px;position:absolute;right:4px;top:4px}.neeto-editor pre .neeto-editor-codeblock-options__menu,.neeto-editor-content pre .neeto-editor-codeblock-options__menu{display:flex;flex-direction:column;gap:4px}.neeto-editor pre .neeto-editor-codeblock-options__input,.neeto-editor-content pre .neeto-editor-codeblock-options__input{margin:4px}.neeto-editor pre>code,.neeto-editor-content pre>code{background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:400;line-height:inherit;padding:0;white-space:pre-wrap}.neeto-editor blockquote,.neeto-editor-content blockquote{border-left-color:#e5e7eb;border-left-width:4px;color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin:8px 0;padding-left:12px;quotes:\"“\" \"”\" \"‘\" \"’\"}.neeto-editor blockquote>p:after,.neeto-editor blockquote>p:before,.neeto-editor-content blockquote>p:after,.neeto-editor-content blockquote>p:before{content:\"\"!important}.neeto-editor ol,.neeto-editor ul,.neeto-editor-content ol,.neeto-editor-content ul{list-style:revert;margin-bottom:1em;padding-left:28px}.neeto-editor ol li:before,.neeto-editor ul li:before,.neeto-editor-content ol li:before,.neeto-editor-content ul li:before{background-color:rgb(var(--neeto-ui-black))}.neeto-editor a[href],.neeto-editor-content a[href]{color:rgb(var(--neeto-ui-primary-800));font-weight:500}.neeto-editor .neeto-editor__video-wrapper,.neeto-editor-content .neeto-editor__video-wrapper{display:flex;margin:16px 0}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;padding:4px}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe{height:100%;width:100%}.neeto-editor .neeto-editor__video--left,.neeto-editor-content .neeto-editor__video--left{justify-content:flex-start}.neeto-editor .neeto-editor__video--right,.neeto-editor-content .neeto-editor__video--right{justify-content:flex-end}.neeto-editor .neeto-editor__video--center,.neeto-editor-content .neeto-editor__video--center{justify-content:center}.neeto-editor mark,.neeto-editor-content mark{border-radius:var(--neeto-ui-rounded-sm);padding:0 4px}.neeto-editor [data-type=mention],.neeto-editor [data-type=special-mention],.neeto-editor-content [data-type=mention],.neeto-editor-content [data-type=special-mention]{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor table,.neeto-editor-content table{border:1px solid rgba(var(--neeto-ui-gray-300));border-collapse:separate;border-radius:var(--neeto-ui-rounded-sm);border-spacing:0;min-width:300px;overflow:hidden;table-layout:fixed}.neeto-editor table td,.neeto-editor table th,.neeto-editor-content table td,.neeto-editor-content table th{border-left:1px solid rgba(var(--neeto-ui-gray-300));border-top:1px solid rgba(var(--neeto-ui-gray-300));padding:8px 12px;position:relative}.neeto-editor table td:first-child,.neeto-editor table th:first-child,.neeto-editor-content table td:first-child,.neeto-editor-content table th:first-child{border-left:none}.neeto-editor table th,.neeto-editor-content table th{background:rgb(var(--neeto-ui-gray-100));border-top:none}.neeto-editor table td,.neeto-editor-content table td{background:rgb(var(--neeto-ui-white))}.neeto-editor-content--hidden{display:none}.neeto-editor__image-wrapper{color:inherit!important;display:flex;font-weight:400!important;margin:16px 0;text-decoration:none}.neeto-editor__image-wrapper figure{display:inline-block;max-width:100%;overflow:hidden;position:relative}.neeto-editor__image-wrapper .neeto-editor__image{display:inline-block}.neeto-editor__image-wrapper .neeto-editor__image img,.neeto-editor__image-wrapper .neeto-editor__image video{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;height:auto;padding:4px;width:100%}.neeto-editor__image-wrapper .neeto-editor__image-placeholder{align-items:center;border:1px solid;border-radius:8px;display:flex;height:200px;justify-content:center;width:400px}.neeto-editor__image-wrapper figcaption div{color:rgb(var(--neeto-ui-gray-600));font-size:14px;font-weight:var(--neeto-ui-font-normal);line-height:1.4;text-align:center}.neeto-editor__image-wrapper figcaption div a{display:inline-block;margin:0;text-align:center}.neeto-editor__image-wrapper figcaption.is-empty div:before{color:rgb(var(--neeto-ui-gray-500));content:\"Add a caption\";inset:0;position:absolute}.neeto-editor__image--left{justify-content:flex-start}.neeto-editor__image--center{justify-content:center}.neeto-editor__image--right{justify-content:flex-end}.neeto-editor-fixed-menu{background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-300));border-bottom:none;border-radius:var(--neeto-ui-rounded) var(--neeto-ui-rounded) 0 0;position:relative}.neeto-editor-fixed-menu--independant{border-bottom:thin solid rgb(var(--neeto-ui-gray-300));border-radius:0;border-radius:initial}.neeto-editor-fixed-menu__item{border-radius:var(--neeto-ui-rounded-sm)!important}.neeto-editor-fixed-menu .vertical-divider{border-left:1px solid rgb(var(--neeto-ui-gray-300));height:24px;margin:0 11.5px;opacity:.5}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item{min-width:-moz-fit-content;min-width:fit-content;padding:2px}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-black));height:20px!important;width:20px!important}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu__wrapper{align-items:center;display:flex;justify-content:flex-start;overflow:auto;padding:4px;width:100%}.neeto-editor-fixed-menu__wrapper--collapsible{align-items:center;display:flex;flex-grow:1}.neeto-editor-fixed-menu__wrapper--collapsible--fade button.neeto-editor-fixed-menu__item{animation:fade-in .3s ease-in}.neeto-editor-fixed-menu__wrapper__button-group{display:flex;gap:4px}.neeto-editor-fixed-menu__variables{bottom:-24px;position:absolute;right:8px;z-index:10}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item{background-color:rgb(var(--neeto-ui-gray-700));border-radius:var(--neeto-ui-rounded-sm);padding:4px}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item.active,.neeto-editor-fixed-menu__variables .neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-600))}.neeto-editor-fixed-menu__right-options{display:flex;gap:8px;justify-self:flex-end;margin-left:auto}.neeto-editor-fixed-menu__emoji-dropdown{max-height:none!important}.neeto-editor-fixed-menu__separator{display:flex;height:28px;width:32px}.neeto-editor-fixed-menu__separator span{width:100%}.neeto-editor-fixed-menu__separator span:first-child{border-right:1px solid rgb(var(--neeto-ui-gray-200))}.neeto-editor-text-color-option__options-group{align-items:center;display:flex;gap:8px;margin:8px 4px}.neeto-editor-text-color-option__options-group__input{max-width:130px}.neeto-editor-text-color-option__options-group__reset-button{align-self:center}.neeto-editor-menu__item{align-items:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;gap:4px;justify-content:center;padding:8px;transition:var(--neeto-ui-transition)}.neeto-editor-menu__item p{color:rgb(var(--neeto-ui-gray-600));font-size:var(--neeto-ui-text-xs);line-height:1;white-space:nowrap}.neeto-editor-menu__item.active,.neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-menu__item:focus,.neeto-editor-menu__item:focus-visible{outline:rgb(var(--neeto-ui-gray-300)) auto 1px}.neeto-editor-menu__item input[type=color]{height:0;visibility:hidden;width:0}.neeto-editor-menu__item:disabled{background-color:rgb(var(--neeto-ui-gray-100));opacity:.5}.neeto-editor-link__item{align-items:flex-start;justify-content:flex-start}.neeto-editor-link__item,.neeto-editor-table__item{display:flex!important;flex-direction:row;gap:8px;padding:8px!important}.neeto-editor-table__item input{max-width:60px!important}.neeto-editor-table__options-menu{display:flex;flex-direction:column;gap:8px;max-height:150px!important;overflow:scroll;padding:8px!important}.neeto-editor-font-size__wrapper{font-weight:var(--neeto-ui-font-normal)!important;gap:15px!important}.neeto-editor-bubble-menu{align-items:center;background:rgb(var(--neeto-ui-gray-800));border-radius:var(--neeto-ui-rounded);display:flex;flex-direction:row;gap:1px;justify-content:flex-start;padding:0 4px;position:relative}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text{color:rgb(var(--neeto-ui-gray-200));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text.active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:hover{background-color:rgb(var(--neeto-ui-gray-600))!important;color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu button.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-gray-400));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn{color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn.active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:hover{background-color:rgb(var(--neeto-ui-gray-600))!important}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link{align-items:center;display:flex;gap:8px;justify-content:space-between;padding:6px;width:256px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input{background-color:transparent;line-height:20px;outline:none;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only{min-height:0;opacity:.8;padding:0}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only:hover{opacity:1}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table{align-items:center;display:flex;gap:6px;justify-content:space-between;max-width:256px;padding:4px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input{background-color:rgba(var(--neeto-ui-gray-400),.2);height:24px;line-height:20px;outline:none;width:60px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__buttons{align-items:center;display:flex;gap:4px;justify-content:space-between}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table-options{align-items:center;display:flex;flex-direction:column;gap:2px;max-height:100px;overflow:scroll}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown-target{align-items:center;display:flex;font-size:var(--neeto-ui-text-xs);gap:4px;line-height:var(--neeto-ui-leading-normal);white-space:nowrap}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown{align-items:flex-start;display:flex;flex-direction:column}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item{font-size:var(--neeto-ui-text-xs);padding:8px 12px;text-align:left;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:first-child{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:last-child{border-bottom-left-radius:var(--neeto-ui-rounded);border-bottom-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu-animate-shake{animation:shake 1s linear infinite alternate both}.neeto-editor__image-menu .neeto-ui-dropdown__popup{display:flex;min-width:0;min-width:auto}.neeto-editor__image-menu .neeto-ui-dropdown__popup .neeto-ui-btn .neeto-ui-btn__icon{height:18px!important;width:18px!important}.neeto-editor__image-menu-btn{padding:2px!important;position:absolute!important;right:4px;top:4px;z-index:1}.ne-media-uploader{display:flex;flex-direction:column;min-height:184px}.ne-media-uploader .ne-tab__wrapper .ne-tab{min-width:88px}.ne-media-uploader .ne-media-uploader__content{display:flex;flex-grow:1;padding:16px}.ne-media-uploader .ne-media-uploader__dnd{align-items:center;border:1px dashed rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded);box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;gap:2px;justify-content:center;width:100%}.ne-media-uploader .ne-media-uploader__dnd-icon{color:rgb(var(--neeto-ui-primary-600));margin-bottom:6px}.ne-media-uploader .ne-media-uploader__dnd-input{display:none}.ne-media-uploader .ne-media-uploader__dnd:hover{background-color:rgb(var(--neeto-ui-gray-100));cursor:pointer}.ne-media-uploader .ne-media-uploader__dnd.uppy-is-drag-over{background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));color:rgb(var(--neeto-ui-gray-600))}.ne-media-uploader .ne-media-uploader__wrapper{display:flex;flex-wrap:wrap;gap:8px;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media{align-self:start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;flex-direction:column;flex-grow:1;height:58px;justify-content:space-between;margin-bottom:auto;margin-top:auto;padding:4px 8px;width:220px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info{align-items:center;display:flex;gap:4px;justify-content:space-between}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info p{display:block;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress{align-self:flex-end;background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-full);overflow:hidden;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress-bar{align-items:center;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-primary-100));display:flex;font-size:12px;font-weight:500px;height:12px;justify-content:center;line-height:1;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper{width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container{max-height:50vh;overflow-x:hidden;overflow-y:auto}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-search{margin-bottom:16px;padding:0 8px}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery{right:-8px;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__loader{display:flex;justify-content:center}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item{float:left;padding-bottom:16px;padding-right:16px;width:33.3%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder{position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);height:100%;position:absolute;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img{animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1) 1s both;border-radius:var(--neeto-ui-rounded);cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a{bottom:8px;color:rgb(var(--neeto-ui-white));font-size:12px;font-weight:var(--neeto-ui-font-normal);left:8px;line-height:1;margin:auto;opacity:0;position:absolute;text-transform:capitalize;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover{text-decoration:underline}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a{opacity:1}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text{color:rgb(var(--neeto-ui-gray-700));font-size:var(--neeto-ui-text-xs);margin-top:12px;text-align:center}.neeto-editor-url-form__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:center;padding:0 24px}.neeto-editor-url-form__wrapper .neeto-ui-input__wrapper{flex-grow:0;margin-bottom:16px;width:100%}.neeto-editor-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols}.emoji-mart.emoji-mart-light{border:none;color:rgb(var(--neeto-ui-gray-800));font-size:14px}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor{color:rgb(var(--neeto-ui-gray-500))}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg{margin:auto}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar{background-color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected{color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-search input{border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span{padding-top:8px}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span{cursor:pointer}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-scroll{height:264px;padding-bottom:0}.neeto-editor-emoji-suggestion{align-items:center;display:flex;flex-direction:row;font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;gap:2px;justify-content:flex-start;padding:4px}.neeto-editor-emoji-suggestion p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs)}.neeto-editor-emoji-suggestion span{font-size:10px;height:16px!important;width:16px!important}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item{border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;font-size:var(--neeto-ui-text-2xl);line-height:1;padding:6px;transition:var(--neeto-ui-transition)}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected,.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-table{display:relative;margin:8px 0 0;width:-moz-fit-content;width:fit-content}.neeto-editor-table table td p,.neeto-editor-table table th p{margin:0}.neeto-editor-table table .column-resize-handle{background-color:rgb(var(--neeto-ui-gray-300));bottom:0;position:absolute;right:-2px;top:0;width:4px}.neeto-editor-table table .selectedCell:after{background:rgba(var(--neeto-ui-primary-500),.1);content:\"\";inset:0;position:absolute}.neeto-editor-table__wrapper{display:flex;gap:4px}.neeto-editor-table__add-column,.neeto-editor-table__add-row{align-items:center;background:rgba(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;display:flex;justify-content:center;transition:var(--neeto-ui-transition);visibility:hidden}.neeto-editor-table__add-column p,.neeto-editor-table__add-row p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs);line-height:12px}.neeto-editor-table__add-column:hover,.neeto-editor-table__add-row:hover{background:rgba(var(--neeto-ui-gray-300))}.neeto-editor-table:hover .neeto-editor-table__add-column,.neeto-editor-table:hover .neeto-editor-table__add-row{visibility:visible}.neeto-editor-table__add-row{height:16px;margin:4px 20px 4px 0}.neeto-editor-table__add-column{flex-direction:column;width:16px}.ProseMirror.resize-cursor{cursor:col-resize}.ne-link-popover{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#333;padding:10px 16px;position:fixed;transition:opacity .3s ease,transform .3s ease,visibility 0s .3s;z-index:99999}.ne-link-popover__url-input{margin:8px 0}.ne-link-popover__option-button{margin:0 4px}.ne-link-popover__edit-prompt-buttons{display:flex;gap:8px;margin-top:8px}.ne-link-popover a{color:rgb(var(--neeto-ui-primary-800));float:left;margin-right:8px;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-link-arrow{border:6px solid transparent;border-top-color:rgba(0,0,0,.2);content:\"\";left:0;position:absolute;top:0;z-index:99999}.ne-attachments{display:flex;flex-direction:column;gap:8px}.ne-attachments__items{display:flex;flex-wrap:wrap;gap:8px}.ne-attachments__preview{align-items:center;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;justify-content:space-between;padding:4px 2px 4px 8px;width:256px}.ne-attachments__preview-wrapper{display:flex;gap:8px;width:88%}.ne-attachments__preview-wrapper__icon{height:auto;width:15px}.ne-attachments__preview-wrapper p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:92%}.ne-attachments__preview-wrapper:hover{cursor:pointer}.ne-attachments__preview__progress{display:flex;justify-content:space-between;opacity:.5;width:76%}.ne-attachments__preview__progress p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.ne-attachments__preview__progress p:nth-child(2){width:-moz-fit-content;width:fit-content}.ne-attachments__preview__progress-icon{height:auto;width:15px}.ne-attachments__preview:hover{box-shadow:0 0 0 1px rgb(var(--neeto-ui-gray-400))}.ne-attachments input[type=file]{display:none}.ne-attachments-preview{display:flex;flex-direction:column;gap:8px}.ne-attachments-preview__header{border-bottom:1px solid rgb(var(--neeto-ui-gray-200));margin-bottom:8px}.ne-attachments-preview__body{align-items:center;display:flex;flex-grow:1;justify-content:center;min-height:10px;padding-bottom:8px!important;position:relative;width:100vw}.ne-attachments-preview__body-download{color:rgb(var(--neeto-ui-primary-800));cursor:pointer}.ne-attachments-preview__body img{max-height:100%;max-width:100%}.ne-attachments-preview__body video{height:100%;width:100%}.ne-attachments-preview__body iframe{height:100%;padding:0 8px;width:100%}.ne-attachments-preview__body-left,.ne-attachments-preview__body-right{position:absolute!important;top:50%;transform:translateY(-50%);z-index:1}.ne-attachments-preview__body-left:hover,.ne-attachments-preview__body-right:hover{background-color:rgba(var(--neeto-ui-gray-100),.4)!important;cursor:pointer}.ne-attachments-preview__body-left{left:24px}.ne-attachments-preview__body-right{right:24px}.ne-attachments-preview__footer{align-items:center;display:flex;justify-content:space-around;padding-bottom:24px!important}.ne-attachments--integrated{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:0 0 var(--neeto-ui-rounded) var(--neeto-ui-rounded);border-top:none;padding:0 6px}.ne-attachments__wrapper{position:relative}.ne-attachments__wrapper.uppy-is-drag-over:after{align-items:center;background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));border-radius:5px;color:rgb(var(--neeto-ui-gray-600));content:\"Drop the file here\";display:flex;font-size:1.2rem;font-weight:700;inset:7px;justify-content:center;position:absolute}.ProseMirror{height:100%;overflow-y:auto;white-space:break-spaces}.ProseMirror:focus{outline:none}";
|
|
98953
99012
|
n(css,{});
|
|
98954
99013
|
|
|
98955
99014
|
initializeI18n({
|