@bigbinary/neeto-editor 1.27.2 → 1.27.4
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 +111 -204
- package/index.cjs.js.map +1 -1
- package/index.js +112 -206
- package/index.js.map +1 -1
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { isNotEmpty, findBy, noop as noop$2, removeBy, findIndexBy, removeById, slugify } from '@bigbinary/neeto-commons-frontend/pure';
|
|
2
|
-
import { pluck, isEmpty as isEmpty$1, isNil, mergeDeepLeft, assoc, mergeRight, concat as concat$3, is, equals, prop, not, fromPairs
|
|
2
|
+
import { pluck, isEmpty as isEmpty$1, isNil, mergeDeepLeft, assoc, mergeRight, concat as concat$3, is, equals, prop, not, fromPairs } from 'ramda';
|
|
3
3
|
import * as React$6 from 'react';
|
|
4
|
-
import React__default, { useContext, useState, useRef as useRef$1, useEffect as useEffect$1, useImperativeHandle, createContext, forwardRef as forwardRef$1, cloneElement, useLayoutEffect, useMemo, useCallback
|
|
4
|
+
import React__default, { useContext, useState, useRef as useRef$1, useEffect as useEffect$1, useImperativeHandle, createContext, forwardRef as forwardRef$1, cloneElement, useLayoutEffect, useMemo, useCallback } from 'react';
|
|
5
5
|
import { renderToString } from 'react-dom/server';
|
|
6
6
|
import { Toastr, Dropdown as Dropdown$1, Tooltip, Input, Button as Button$1, Typography, Alert, Modal, Spinner, Avatar, Tab, Label } from '@bigbinary/neetoui';
|
|
7
|
-
import { LeftAlign, CenterAlign, RightAlign, Delete, Close, MenuVertical, Left, Right, Download, Down, Copy, MenuHorizontal, Paragraph as Paragraph$1, TextH1, TextH2, Text as Text$2, ListNumber, ListDot, ImageUpload, Video, Blockquote as Blockquote$1, CodeBlock as CodeBlock$2, Smiley, Minus, MediaVideo, Notes, NeetoChangelog, TextBold, TextItalic, Underline as Underline$1, TextCross, Highlight as Highlight$1, Quote, Code as Code$1, Undo, Redo, Check, Email as Email$1, Customize, Link as Link$1,
|
|
7
|
+
import { LeftAlign, CenterAlign, RightAlign, Delete, Close, MenuVertical, Left, Right, Download, Down, Copy, MenuHorizontal, Paragraph as Paragraph$1, TextH1, TextH2, Text as Text$2, ListNumber, ListDot, ImageUpload, Video, Blockquote as Blockquote$1, CodeBlock as CodeBlock$2, Smiley, Minus, MediaVideo, Notes, NeetoChangelog, TextBold, TextItalic, Underline as Underline$1, TextCross, Highlight as Highlight$1, Quote, Code as Code$1, Undo, Redo, Check, Email as Email$1, Customize, Link as Link$1, Settings, File as File$2 } from '@bigbinary/neeto-icons';
|
|
8
8
|
import axios from 'axios';
|
|
9
9
|
import { withEventTargetValue, copyToClipboard as copyToClipboard$2 } from '@bigbinary/neeto-commons-frontend/utils';
|
|
10
10
|
import ReactDOM, { flushSync, createPortal } from 'react-dom';
|
|
11
11
|
import { useFuncDebounce, useOnClickOutside } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
12
|
+
import DynamicVariables from '@bigbinary/neeto-molecules/DynamicVariables';
|
|
12
13
|
import { FastField } from 'formik';
|
|
13
14
|
|
|
14
15
|
// ::- Persistent data structure representing an ordered mapping from
|
|
@@ -25570,7 +25571,7 @@ Website: https://developer.mozilla.org/en-US/docs/Web/CSS
|
|
|
25570
25571
|
*/
|
|
25571
25572
|
|
|
25572
25573
|
/** @type LanguageFn */
|
|
25573
|
-
function css$
|
|
25574
|
+
function css$2(hljs) {
|
|
25574
25575
|
const regex = hljs.regex;
|
|
25575
25576
|
const modes = MODES$3(hljs);
|
|
25576
25577
|
const VENDOR_PREFIX = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ };
|
|
@@ -35864,7 +35865,7 @@ lowlight.registerLanguage('bash', bash);
|
|
|
35864
35865
|
lowlight.registerLanguage('c', c$4);
|
|
35865
35866
|
lowlight.registerLanguage('cpp', cpp);
|
|
35866
35867
|
lowlight.registerLanguage('csharp', csharp);
|
|
35867
|
-
lowlight.registerLanguage('css', css$
|
|
35868
|
+
lowlight.registerLanguage('css', css$2);
|
|
35868
35869
|
lowlight.registerLanguage('diff', diff);
|
|
35869
35870
|
lowlight.registerLanguage('go', go);
|
|
35870
35871
|
lowlight.registerLanguage('graphql', graphql);
|
|
@@ -40119,7 +40120,7 @@ instance.reloadResources;
|
|
|
40119
40120
|
instance.use;
|
|
40120
40121
|
instance.changeLanguage;
|
|
40121
40122
|
instance.getFixedT;
|
|
40122
|
-
var t$
|
|
40123
|
+
var t$7 = instance.t;
|
|
40123
40124
|
instance.exists;
|
|
40124
40125
|
instance.setDefaultNamespace;
|
|
40125
40126
|
instance.hasLoadedNamespace;
|
|
@@ -40177,7 +40178,7 @@ var voidElements = {
|
|
|
40177
40178
|
"wbr": true
|
|
40178
40179
|
};
|
|
40179
40180
|
|
|
40180
|
-
var t$
|
|
40181
|
+
var t$6=/\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$6),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)},"")}};
|
|
40181
40182
|
|
|
40182
40183
|
/**
|
|
40183
40184
|
* Copyright (C) 2017-present by Andrea Giammarchi - @WebReflection
|
|
@@ -40780,8 +40781,8 @@ var common = {
|
|
|
40780
40781
|
var attachments = {
|
|
40781
40782
|
actionsBlocked: "You are not permitted to update or delete attachments",
|
|
40782
40783
|
add: "Add attachment",
|
|
40783
|
-
deleteConfirmation: "
|
|
40784
|
-
deleteTitle: "
|
|
40784
|
+
deleteConfirmation: "You are permanently deleting the attachment <strong>{{entity}}</strong>. This can't be undone.",
|
|
40785
|
+
deleteTitle: "Delete attachment?",
|
|
40785
40786
|
maxNumberOfFiles: "You can only attach {{entity}} files",
|
|
40786
40787
|
nameEmpty: "Filename cannot be empty",
|
|
40787
40788
|
noPreview: "There is no preview available, click to <span>download</span>.",
|
|
@@ -45173,7 +45174,7 @@ var Uppy_1 = Uppy$1;
|
|
|
45173
45174
|
|
|
45174
45175
|
var preact = {};
|
|
45175
45176
|
|
|
45176
|
-
var n$3,l$1,u$2,t$6,i$3,o$1,r$1,f$2={},e$3=[],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$3.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$3,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$3.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$3.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T$1(e,u);}n$3=e$3.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$6=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$3.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$6,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};
|
|
45177
|
+
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};
|
|
45177
45178
|
|
|
45178
45179
|
function isDOMElement$2(obj) {
|
|
45179
45180
|
return (obj == null ? void 0 : obj.nodeType) === Node.ELEMENT_NODE;
|
|
@@ -49300,7 +49301,7 @@ var FileItem_1 = FileItem$1;
|
|
|
49300
49301
|
|
|
49301
49302
|
var _preact$d = preact;
|
|
49302
49303
|
|
|
49303
|
-
function _extends$
|
|
49304
|
+
function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
49304
49305
|
|
|
49305
49306
|
const STYLE_INNER = {
|
|
49306
49307
|
position: 'relative',
|
|
@@ -49421,7 +49422,7 @@ class VirtualList$1 extends _preact$d.Component {
|
|
|
49421
49422
|
// items by accessibility and outline tools.
|
|
49422
49423
|
|
|
49423
49424
|
return (// eslint-disable-next-line react/jsx-props-no-spreading
|
|
49424
|
-
(0, _preact$d.h)("div", _extends$
|
|
49425
|
+
(0, _preact$d.h)("div", _extends$4({
|
|
49425
49426
|
onScroll: this.handleScroll
|
|
49426
49427
|
}, props), (0, _preact$d.h)("div", {
|
|
49427
49428
|
role: "presentation",
|
|
@@ -49439,7 +49440,7 @@ var VirtualList_1 = VirtualList$1;
|
|
|
49439
49440
|
|
|
49440
49441
|
var _preact$c = preact;
|
|
49441
49442
|
|
|
49442
|
-
function _extends$
|
|
49443
|
+
function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
49443
49444
|
|
|
49444
49445
|
const classNames$6 = classnames.exports;
|
|
49445
49446
|
|
|
@@ -49513,7 +49514,7 @@ var FileList$1 = props => {
|
|
|
49513
49514
|
(0, _preact$c.h)("div", {
|
|
49514
49515
|
role: "presentation",
|
|
49515
49516
|
key: row[0]
|
|
49516
|
-
}, row.map(fileID => (0, _preact$c.h)(FileItem, _extends$
|
|
49517
|
+
}, row.map(fileID => (0, _preact$c.h)(FileItem, _extends$3({
|
|
49517
49518
|
key: fileID,
|
|
49518
49519
|
uppy: props.uppy
|
|
49519
49520
|
}, fileProps, {
|
|
@@ -50305,7 +50306,7 @@ var Slide_1 = Slide$1;
|
|
|
50305
50306
|
|
|
50306
50307
|
var _preact$4 = preact;
|
|
50307
50308
|
|
|
50308
|
-
function _extends$
|
|
50309
|
+
function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
50309
50310
|
|
|
50310
50311
|
const classNames = classnames.exports;
|
|
50311
50312
|
|
|
@@ -50442,20 +50443,20 @@ function Dashboard$2(props) {
|
|
|
50442
50443
|
}, props.i18n('sessionRestored')), (0, _preact$4.h)("div", {
|
|
50443
50444
|
className: "uppy-Dashboard-serviceMsg-text"
|
|
50444
50445
|
}, renderRestoredText())), showFileList ? (0, _preact$4.h)(FileList // eslint-disable-next-line react/jsx-props-no-spreading
|
|
50445
|
-
, _extends$
|
|
50446
|
+
, _extends$2({}, props, {
|
|
50446
50447
|
itemsPerRow: itemsPerRow
|
|
50447
50448
|
})) : // eslint-disable-next-line react/jsx-props-no-spreading
|
|
50448
|
-
(0, _preact$4.h)(AddFiles, _extends$
|
|
50449
|
+
(0, _preact$4.h)(AddFiles, _extends$2({}, props, {
|
|
50449
50450
|
isSizeMD: isSizeMD
|
|
50450
|
-
})), (0, _preact$4.h)(Slide, null, props.showAddFilesPanel ? (0, _preact$4.h)(AddFilesPanel, _extends$
|
|
50451
|
+
})), (0, _preact$4.h)(Slide, null, props.showAddFilesPanel ? (0, _preact$4.h)(AddFilesPanel, _extends$2({
|
|
50451
50452
|
key: "AddFiles"
|
|
50452
50453
|
}, props, {
|
|
50453
50454
|
isSizeMD: isSizeMD
|
|
50454
|
-
})) : null), (0, _preact$4.h)(Slide, null, props.fileCardFor ? (0, _preact$4.h)(FileCard, _extends$
|
|
50455
|
+
})) : null), (0, _preact$4.h)(Slide, null, props.fileCardFor ? (0, _preact$4.h)(FileCard, _extends$2({
|
|
50455
50456
|
key: "FileCard"
|
|
50456
|
-
}, props)) : null), (0, _preact$4.h)(Slide, null, props.activePickerPanel ? (0, _preact$4.h)(PickerPanelContent, _extends$
|
|
50457
|
+
}, props)) : null), (0, _preact$4.h)(Slide, null, props.activePickerPanel ? (0, _preact$4.h)(PickerPanelContent, _extends$2({
|
|
50457
50458
|
key: "Picker"
|
|
50458
|
-
}, props)) : null), (0, _preact$4.h)(Slide, null, props.showFileEditor ? (0, _preact$4.h)(EditorPanel, _extends$
|
|
50459
|
+
}, props)) : null), (0, _preact$4.h)(Slide, null, props.showFileEditor ? (0, _preact$4.h)(EditorPanel, _extends$2({
|
|
50459
50460
|
key: "Editor"
|
|
50460
50461
|
}, props)) : null), (0, _preact$4.h)("div", {
|
|
50461
50462
|
className: "uppy-Dashboard-progressindicators"
|
|
@@ -53361,18 +53362,18 @@ var buildImageOptions = function buildImageOptions() {
|
|
|
53361
53362
|
return [{
|
|
53362
53363
|
Icon: LeftAlign,
|
|
53363
53364
|
alignPos: "left",
|
|
53364
|
-
optionName: t$
|
|
53365
|
+
optionName: t$7("menu.alignLeft")
|
|
53365
53366
|
}, {
|
|
53366
53367
|
Icon: CenterAlign,
|
|
53367
53368
|
alignPos: "center",
|
|
53368
|
-
optionName: t$
|
|
53369
|
+
optionName: t$7("menu.alignCenter")
|
|
53369
53370
|
}, {
|
|
53370
53371
|
Icon: RightAlign,
|
|
53371
53372
|
alignPos: "right",
|
|
53372
|
-
optionName: t$
|
|
53373
|
+
optionName: t$7("menu.alignRight")
|
|
53373
53374
|
}, {
|
|
53374
53375
|
Icon: Delete,
|
|
53375
|
-
optionName: t$
|
|
53376
|
+
optionName: t$7("menu.delete")
|
|
53376
53377
|
}];
|
|
53377
53378
|
};
|
|
53378
53379
|
|
|
@@ -63459,8 +63460,8 @@ var ATTACHMENT_OPTIONS = (cov_29r05oet1j().s[3]++, {
|
|
|
63459
63460
|
DELETE: "Delete"
|
|
63460
63461
|
});
|
|
63461
63462
|
|
|
63462
|
-
function _extends$
|
|
63463
|
-
_extends$
|
|
63463
|
+
function _extends$1() {
|
|
63464
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
63464
63465
|
for (var i = 1; i < arguments.length; i++) {
|
|
63465
63466
|
var source = arguments[i];
|
|
63466
63467
|
for (var key in source) {
|
|
@@ -63471,10 +63472,10 @@ function _extends$2() {
|
|
|
63471
63472
|
}
|
|
63472
63473
|
return target;
|
|
63473
63474
|
};
|
|
63474
|
-
return _extends$
|
|
63475
|
+
return _extends$1.apply(this, arguments);
|
|
63475
63476
|
}
|
|
63476
63477
|
|
|
63477
|
-
var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t$
|
|
63478
|
+
var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t$4=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$4(n)&&t$4(e)&&t$4(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$4(n)||!t$4(e)||!t$4(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$4(n)||!t$4(a)||!t$4(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));});};
|
|
63478
63479
|
|
|
63479
63480
|
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"]);}
|
|
63480
63481
|
|
|
@@ -64376,7 +64377,7 @@ var File$1 = function File(_ref) {
|
|
|
64376
64377
|
cov_128zwlyu5l().s[2]++;
|
|
64377
64378
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
64378
64379
|
className: "ne-attachments__preview-wrapper__icon"
|
|
64379
|
-
}, /*#__PURE__*/React__default.createElement(FileIcon, _extends$
|
|
64380
|
+
}, /*#__PURE__*/React__default.createElement(FileIcon, _extends$1({
|
|
64380
64381
|
extension: extension,
|
|
64381
64382
|
labelColor: "#4558f9"
|
|
64382
64383
|
}, defaultStyles[extension])));
|
|
@@ -64384,7 +64385,7 @@ var File$1 = function File(_ref) {
|
|
|
64384
64385
|
|
|
64385
64386
|
function cov_13lrfxjoky() {
|
|
64386
64387
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
|
|
64387
|
-
var hash = "
|
|
64388
|
+
var hash = "b2ddbea9ebf2d4705c118839a8a3d077c5115944";
|
|
64388
64389
|
var global = new Function("return this")();
|
|
64389
64390
|
var gcv = "__coverage__";
|
|
64390
64391
|
var coverageData = {
|
|
@@ -64406,7 +64407,7 @@ function cov_13lrfxjoky() {
|
|
|
64406
64407
|
column: 19
|
|
64407
64408
|
},
|
|
64408
64409
|
end: {
|
|
64409
|
-
line:
|
|
64410
|
+
line: 207,
|
|
64410
64411
|
column: 1
|
|
64411
64412
|
}
|
|
64412
64413
|
},
|
|
@@ -64836,7 +64837,7 @@ function cov_13lrfxjoky() {
|
|
|
64836
64837
|
column: 2
|
|
64837
64838
|
},
|
|
64838
64839
|
end: {
|
|
64839
|
-
line:
|
|
64840
|
+
line: 206,
|
|
64840
64841
|
column: 4
|
|
64841
64842
|
}
|
|
64842
64843
|
},
|
|
@@ -64902,11 +64903,11 @@ function cov_13lrfxjoky() {
|
|
|
64902
64903
|
},
|
|
64903
64904
|
"51": {
|
|
64904
64905
|
start: {
|
|
64905
|
-
line:
|
|
64906
|
+
line: 202,
|
|
64906
64907
|
column: 23
|
|
64907
64908
|
},
|
|
64908
64909
|
end: {
|
|
64909
|
-
line:
|
|
64910
|
+
line: 202,
|
|
64910
64911
|
column: 50
|
|
64911
64912
|
}
|
|
64912
64913
|
}
|
|
@@ -64930,7 +64931,7 @@ function cov_13lrfxjoky() {
|
|
|
64930
64931
|
column: 6
|
|
64931
64932
|
},
|
|
64932
64933
|
end: {
|
|
64933
|
-
line:
|
|
64934
|
+
line: 207,
|
|
64934
64935
|
column: 1
|
|
64935
64936
|
}
|
|
64936
64937
|
},
|
|
@@ -65228,25 +65229,25 @@ function cov_13lrfxjoky() {
|
|
|
65228
65229
|
name: "(anonymous_13)",
|
|
65229
65230
|
decl: {
|
|
65230
65231
|
start: {
|
|
65231
|
-
line:
|
|
65232
|
+
line: 202,
|
|
65232
65233
|
column: 17
|
|
65233
65234
|
},
|
|
65234
65235
|
end: {
|
|
65235
|
-
line:
|
|
65236
|
+
line: 202,
|
|
65236
65237
|
column: 18
|
|
65237
65238
|
}
|
|
65238
65239
|
},
|
|
65239
65240
|
loc: {
|
|
65240
65241
|
start: {
|
|
65241
|
-
line:
|
|
65242
|
+
line: 202,
|
|
65242
65243
|
column: 23
|
|
65243
65244
|
},
|
|
65244
65245
|
end: {
|
|
65245
|
-
line:
|
|
65246
|
+
line: 202,
|
|
65246
65247
|
column: 50
|
|
65247
65248
|
}
|
|
65248
65249
|
},
|
|
65249
|
-
line:
|
|
65250
|
+
line: 202
|
|
65250
65251
|
}
|
|
65251
65252
|
},
|
|
65252
65253
|
branchMap: {
|
|
@@ -65605,7 +65606,7 @@ function cov_13lrfxjoky() {
|
|
|
65605
65606
|
"7": [0, 0]
|
|
65606
65607
|
},
|
|
65607
65608
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
65608
|
-
hash: "
|
|
65609
|
+
hash: "b2ddbea9ebf2d4705c118839a8a3d077c5115944"
|
|
65609
65610
|
};
|
|
65610
65611
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
65611
65612
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -65622,7 +65623,7 @@ function cov_13lrfxjoky() {
|
|
|
65622
65623
|
}
|
|
65623
65624
|
cov_13lrfxjoky();
|
|
65624
65625
|
var _ref$9 = (cov_13lrfxjoky().s[0]++, Dropdown$1),
|
|
65625
|
-
Menu$
|
|
65626
|
+
Menu$8 = _ref$9.Menu,
|
|
65626
65627
|
MenuItem$3 = _ref$9.MenuItem;
|
|
65627
65628
|
cov_13lrfxjoky().s[1]++;
|
|
65628
65629
|
var Attachment = function Attachment(_ref2) {
|
|
@@ -65869,7 +65870,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65869
65870
|
buttonStyle: "text",
|
|
65870
65871
|
disabled: disabled,
|
|
65871
65872
|
icon: MenuVertical
|
|
65872
|
-
}, /*#__PURE__*/React__default.createElement(Menu$
|
|
65873
|
+
}, /*#__PURE__*/React__default.createElement(Menu$8, null, Object.entries(handlers).map(function (_ref20) {
|
|
65873
65874
|
var _ref21 = _slicedToArray(_ref20, 2),
|
|
65874
65875
|
label = _ref21[0],
|
|
65875
65876
|
handler = _ref21[1];
|
|
@@ -65890,10 +65891,14 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65890
65891
|
}))))))), /*#__PURE__*/React__default.createElement(Alert, {
|
|
65891
65892
|
isOpen: isDeleteAlertOpen,
|
|
65892
65893
|
isSubmitting: isDeleting,
|
|
65893
|
-
|
|
65894
|
-
entity: newFilename
|
|
65895
|
-
}),
|
|
65894
|
+
submitButtonLabel: t("menu.delete"),
|
|
65896
65895
|
title: t("attachments.deleteTitle"),
|
|
65896
|
+
message: /*#__PURE__*/React__default.createElement(Trans, {
|
|
65897
|
+
i18nKey: "attachments.deleteConfirmation",
|
|
65898
|
+
values: {
|
|
65899
|
+
entity: newFilename
|
|
65900
|
+
}
|
|
65901
|
+
}),
|
|
65897
65902
|
onClose: function onClose() {
|
|
65898
65903
|
cov_13lrfxjoky().f[13]++;
|
|
65899
65904
|
cov_13lrfxjoky().s[51]++;
|
|
@@ -67471,7 +67476,7 @@ function cov_21bk7qri15() {
|
|
|
67471
67476
|
}
|
|
67472
67477
|
cov_21bk7qri15();
|
|
67473
67478
|
var _ref$8 = (cov_21bk7qri15().s[0]++, instance),
|
|
67474
|
-
t$
|
|
67479
|
+
t$3 = _ref$8.t;
|
|
67475
67480
|
cov_21bk7qri15().s[1]++;
|
|
67476
67481
|
var buildUppyConfig = function buildUppyConfig(restrictions) {
|
|
67477
67482
|
cov_21bk7qri15().f[0]++;
|
|
@@ -67496,7 +67501,7 @@ var selectFiles = function selectFiles(_ref2) {
|
|
|
67496
67501
|
if (remainingAttachments <= 0) {
|
|
67497
67502
|
cov_21bk7qri15().b[1][0]++;
|
|
67498
67503
|
cov_21bk7qri15().s[8]++;
|
|
67499
|
-
Toastr.warning(t$
|
|
67504
|
+
Toastr.warning(t$3("attachments.maxNumberOfFiles", {
|
|
67500
67505
|
entity: maxNumberOfFiles
|
|
67501
67506
|
}));
|
|
67502
67507
|
cov_21bk7qri15().s[9]++;
|
|
@@ -67509,7 +67514,7 @@ var selectFiles = function selectFiles(_ref2) {
|
|
|
67509
67514
|
if (selectedFiles.length < files.length) {
|
|
67510
67515
|
cov_21bk7qri15().b[2][0]++;
|
|
67511
67516
|
cov_21bk7qri15().s[12]++;
|
|
67512
|
-
Toastr.warning(t$
|
|
67517
|
+
Toastr.warning(t$3("attachments.maxNumberOfFiles", {
|
|
67513
67518
|
entity: maxNumberOfFiles
|
|
67514
67519
|
}));
|
|
67515
67520
|
} else {
|
|
@@ -67540,7 +67545,7 @@ var handleDrop = function handleDrop(_ref4) {
|
|
|
67540
67545
|
if (totalAttachments > maxNumberOfFiles) {
|
|
67541
67546
|
cov_21bk7qri15().b[4][0]++;
|
|
67542
67547
|
cov_21bk7qri15().s[21]++;
|
|
67543
|
-
Toastr.warning(t$
|
|
67548
|
+
Toastr.warning(t$3("attachments.maxNumberOfFiles", {
|
|
67544
67549
|
entity: maxNumberOfFiles
|
|
67545
67550
|
}));
|
|
67546
67551
|
cov_21bk7qri15().s[22]++;
|
|
@@ -95622,7 +95627,7 @@ function cov_4v54kemeo() {
|
|
|
95622
95627
|
}
|
|
95623
95628
|
cov_4v54kemeo();
|
|
95624
95629
|
var _ref$7 = (cov_4v54kemeo().s[0]++, Dropdown$1),
|
|
95625
|
-
Menu$
|
|
95630
|
+
Menu$7 = _ref$7.Menu,
|
|
95626
95631
|
MenuItem$2 = _ref$7.MenuItem;
|
|
95627
95632
|
cov_4v54kemeo().s[1]++;
|
|
95628
95633
|
var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
@@ -95688,7 +95693,7 @@ var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
|
95688
95693
|
cov_4v54kemeo().s[14]++;
|
|
95689
95694
|
e.stopPropagation();
|
|
95690
95695
|
}
|
|
95691
|
-
}), /*#__PURE__*/React__default.createElement(Menu$
|
|
95696
|
+
}), /*#__PURE__*/React__default.createElement(Menu$7, {
|
|
95692
95697
|
className: "neeto-editor-codeblock-options__menu"
|
|
95693
95698
|
}, filteredAndSortedLanguageList.map(function (language) {
|
|
95694
95699
|
cov_4v54kemeo().f[6]++;
|
|
@@ -97100,7 +97105,7 @@ function cov_15b9syaiuk() {
|
|
|
97100
97105
|
}
|
|
97101
97106
|
cov_15b9syaiuk();
|
|
97102
97107
|
cov_15b9syaiuk().s[0]++;
|
|
97103
|
-
var Menu$
|
|
97108
|
+
var Menu$6 = function Menu(_ref) {
|
|
97104
97109
|
var align = _ref.align,
|
|
97105
97110
|
editor = _ref.editor,
|
|
97106
97111
|
updateAttributes = _ref.updateAttributes,
|
|
@@ -97386,7 +97391,7 @@ var EmbedComponent = function EmbedComponent(_ref) {
|
|
|
97386
97391
|
cov_19t30othsf().s[9]++;
|
|
97387
97392
|
editor.commands.focus();
|
|
97388
97393
|
}
|
|
97389
|
-
}, /*#__PURE__*/React__default.createElement(Menu$
|
|
97394
|
+
}, /*#__PURE__*/React__default.createElement(Menu$6, {
|
|
97390
97395
|
align: align,
|
|
97391
97396
|
deleteNode: deleteNode,
|
|
97392
97397
|
editor: editor,
|
|
@@ -106142,7 +106147,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
106142
106147
|
className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
|
|
106143
106148
|
}, /*#__PURE__*/React__default.createElement("figure", {
|
|
106144
106149
|
ref: figureRef
|
|
106145
|
-
}, /*#__PURE__*/React__default.createElement(Menu$
|
|
106150
|
+
}, /*#__PURE__*/React__default.createElement(Menu$6, {
|
|
106146
106151
|
align: align,
|
|
106147
106152
|
deleteNode: deleteNode,
|
|
106148
106153
|
editor: editor,
|
|
@@ -106175,7 +106180,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
106175
106180
|
cov_1rrokgc9k1().s[13]++;
|
|
106176
106181
|
editor.commands.focus();
|
|
106177
106182
|
}
|
|
106178
|
-
}, /*#__PURE__*/React__default.createElement("img", _extends$
|
|
106183
|
+
}, /*#__PURE__*/React__default.createElement("img", _extends$1({}, node.attrs, {
|
|
106179
106184
|
alt: caption,
|
|
106180
106185
|
src: src
|
|
106181
106186
|
})))) : (cov_1rrokgc9k1().b[2][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -107524,7 +107529,7 @@ var upload = /*#__PURE__*/function () {
|
|
|
107524
107529
|
case 14:
|
|
107525
107530
|
imageSizeInMB = (cov_ksv9azglk().s[5]++, MAX_IMAGE_SIZE / (1024 * 1024));
|
|
107526
107531
|
cov_ksv9azglk().s[6]++;
|
|
107527
|
-
Toastr.error(t$
|
|
107532
|
+
Toastr.error(t$7("error.imageSizeIsShouldBeLess", {
|
|
107528
107533
|
limit: imageSizeInMB
|
|
107529
107534
|
}));
|
|
107530
107535
|
cov_ksv9azglk().s[7]++;
|
|
@@ -113128,7 +113133,7 @@ var Placeholder = (cov_134mrrjy5g().s[0]++, Extension.create({
|
|
|
113128
113133
|
excludeNodeTypes: ["variable", "codeBlock"],
|
|
113129
113134
|
emptyEditorClass: "is-editor-empty",
|
|
113130
113135
|
emptyNodeClass: "is-empty",
|
|
113131
|
-
placeholder: t$
|
|
113136
|
+
placeholder: t$7("placeholders.writeSomething"),
|
|
113132
113137
|
showOnlyWhenEditable: true,
|
|
113133
113138
|
showOnlyCurrent: false,
|
|
113134
113139
|
includeChildren: false
|
|
@@ -115552,7 +115557,7 @@ function cov_fz424b3xj() {
|
|
|
115552
115557
|
cov_fz424b3xj();
|
|
115553
115558
|
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); }; }
|
|
115554
115559
|
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; } }
|
|
115555
|
-
var Menu$
|
|
115560
|
+
var Menu$5 = /*#__PURE__*/function (_React$Component) {
|
|
115556
115561
|
_inherits$1(Menu, _React$Component);
|
|
115557
115562
|
var _super = _createSuper$1(Menu);
|
|
115558
115563
|
function Menu(props) {
|
|
@@ -115780,7 +115785,7 @@ var Menu$6 = /*#__PURE__*/function (_React$Component) {
|
|
|
115780
115785
|
key: item.title,
|
|
115781
115786
|
placement: "right",
|
|
115782
115787
|
visible: selectedIndex === index$1,
|
|
115783
|
-
content: /*#__PURE__*/React__default.createElement(Menu, _extends$
|
|
115788
|
+
content: /*#__PURE__*/React__default.createElement(Menu, _extends$1({}, _this2.props, {
|
|
115784
115789
|
items: item.items,
|
|
115785
115790
|
menuIndex: menuIndex + 1
|
|
115786
115791
|
})),
|
|
@@ -116041,7 +116046,7 @@ var CommandsList = /*#__PURE__*/function (_React$Component) {
|
|
|
116041
116046
|
value: function render() {
|
|
116042
116047
|
cov_2355yjb90o().f[2]++;
|
|
116043
116048
|
cov_2355yjb90o().s[5]++;
|
|
116044
|
-
return /*#__PURE__*/React__default.createElement(Menu$
|
|
116049
|
+
return /*#__PURE__*/React__default.createElement(Menu$5, _extends$1({}, this.props, {
|
|
116045
116050
|
activeMenuIndex: this.state.activeMenuIndex,
|
|
116046
116051
|
items: this.props.items,
|
|
116047
116052
|
menuIndex: 0,
|
|
@@ -124742,7 +124747,7 @@ var VideoComponent = function VideoComponent(_ref) {
|
|
|
124742
124747
|
className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
|
|
124743
124748
|
}, /*#__PURE__*/React__default.createElement("figure", {
|
|
124744
124749
|
ref: figureRef
|
|
124745
|
-
}, /*#__PURE__*/React__default.createElement(Menu$
|
|
124750
|
+
}, /*#__PURE__*/React__default.createElement(Menu$6, {
|
|
124746
124751
|
align: align,
|
|
124747
124752
|
deleteNode: deleteNode,
|
|
124748
124753
|
editor: editor,
|
|
@@ -124770,7 +124775,7 @@ var VideoComponent = function VideoComponent(_ref) {
|
|
|
124770
124775
|
cov_wh1xyb96y().s[11]++;
|
|
124771
124776
|
editor.commands.focus();
|
|
124772
124777
|
}
|
|
124773
|
-
}, /*#__PURE__*/React__default.createElement("video", _extends$
|
|
124778
|
+
}, /*#__PURE__*/React__default.createElement("video", _extends$1({
|
|
124774
124779
|
controls: true
|
|
124775
124780
|
}, node.attrs, {
|
|
124776
124781
|
alt: caption,
|
|
@@ -128124,7 +128129,7 @@ var LocalUploader = function LocalUploader(_ref) {
|
|
|
128124
128129
|
|
|
128125
128130
|
var lib = {};
|
|
128126
128131
|
|
|
128127
|
-
var _extends
|
|
128132
|
+
var _extends = Object.assign || function (target) {
|
|
128128
128133
|
for (var i = 1; i < arguments.length; i++) {
|
|
128129
128134
|
var source = arguments[i];
|
|
128130
128135
|
|
|
@@ -128185,7 +128190,7 @@ var knot = function knot() {
|
|
|
128185
128190
|
return this;
|
|
128186
128191
|
}
|
|
128187
128192
|
|
|
128188
|
-
return _extends
|
|
128193
|
+
return _extends({}, extended, {
|
|
128189
128194
|
|
|
128190
128195
|
on: on,
|
|
128191
128196
|
once: once,
|
|
@@ -131802,10 +131807,10 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
131802
131807
|
})))));
|
|
131803
131808
|
};
|
|
131804
131809
|
|
|
131805
|
-
var e
|
|
131810
|
+
var e=[],t$2=[];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$2[u]={}),a=t$2[u]&&t$2[u][s]?t$2[u][s]:t$2[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}}
|
|
131806
131811
|
|
|
131807
|
-
var css$
|
|
131808
|
-
n
|
|
131812
|
+
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}";
|
|
131813
|
+
n(css$1,{});
|
|
131809
131814
|
|
|
131810
131815
|
function cov_6yttxrusz() {
|
|
131811
131816
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Bubble/LinkOption.jsx";
|
|
@@ -132706,7 +132711,7 @@ var FileAttachments = function FileAttachments(_ref) {
|
|
|
132706
132711
|
other = _objectWithoutProperties$1(_ref, _excluded$5);
|
|
132707
132712
|
cov_1f30l00ho7().f[0]++;
|
|
132708
132713
|
cov_1f30l00ho7().s[1]++;
|
|
132709
|
-
return /*#__PURE__*/React__default.createElement("svg", _extends$
|
|
132714
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends$1({
|
|
132710
132715
|
fill: "none",
|
|
132711
132716
|
height: size,
|
|
132712
132717
|
viewBox: "0 0 24 24",
|
|
@@ -134250,7 +134255,7 @@ function cov_17cji89s6g() {
|
|
|
134250
134255
|
}
|
|
134251
134256
|
cov_17cji89s6g();
|
|
134252
134257
|
var _ref$6 = (cov_17cji89s6g().s[0]++, instance),
|
|
134253
|
-
t$
|
|
134258
|
+
t$1 = _ref$6.t;
|
|
134254
134259
|
cov_17cji89s6g().s[1]++;
|
|
134255
134260
|
var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
134256
134261
|
var tooltips = _ref2.tooltips,
|
|
@@ -134270,7 +134275,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134270
134275
|
},
|
|
134271
134276
|
active: editor.isActive("bold"),
|
|
134272
134277
|
optionName: "bold",
|
|
134273
|
-
tooltip: (cov_17cji89s6g().b[0][0]++, tooltips.bold) || (cov_17cji89s6g().b[0][1]++, t$
|
|
134278
|
+
tooltip: (cov_17cji89s6g().b[0][0]++, tooltips.bold) || (cov_17cji89s6g().b[0][1]++, t$1("menu.bold"))
|
|
134274
134279
|
}, {
|
|
134275
134280
|
Icon: TextItalic,
|
|
134276
134281
|
command: function command() {
|
|
@@ -134280,7 +134285,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134280
134285
|
},
|
|
134281
134286
|
active: editor.isActive("italic"),
|
|
134282
134287
|
optionName: "italic",
|
|
134283
|
-
tooltip: (cov_17cji89s6g().b[1][0]++, tooltips.italic) || (cov_17cji89s6g().b[1][1]++, t$
|
|
134288
|
+
tooltip: (cov_17cji89s6g().b[1][0]++, tooltips.italic) || (cov_17cji89s6g().b[1][1]++, t$1("menu.italic"))
|
|
134284
134289
|
}, {
|
|
134285
134290
|
Icon: Underline$1,
|
|
134286
134291
|
command: function command() {
|
|
@@ -134290,7 +134295,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134290
134295
|
},
|
|
134291
134296
|
active: editor.isActive("underline"),
|
|
134292
134297
|
optionName: "underline",
|
|
134293
|
-
tooltip: (cov_17cji89s6g().b[2][0]++, tooltips.underline) || (cov_17cji89s6g().b[2][1]++, t$
|
|
134298
|
+
tooltip: (cov_17cji89s6g().b[2][0]++, tooltips.underline) || (cov_17cji89s6g().b[2][1]++, t$1("menu.underline"))
|
|
134294
134299
|
}, {
|
|
134295
134300
|
Icon: TextCross,
|
|
134296
134301
|
command: function command() {
|
|
@@ -134300,7 +134305,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134300
134305
|
},
|
|
134301
134306
|
active: editor.isActive("strike"),
|
|
134302
134307
|
optionName: "strike",
|
|
134303
|
-
tooltip: (cov_17cji89s6g().b[3][0]++, tooltips.strike) || (cov_17cji89s6g().b[3][1]++, t$
|
|
134308
|
+
tooltip: (cov_17cji89s6g().b[3][0]++, tooltips.strike) || (cov_17cji89s6g().b[3][1]++, t$1("menu.strike"))
|
|
134304
134309
|
}, {
|
|
134305
134310
|
Icon: Highlight$1,
|
|
134306
134311
|
command: function command() {
|
|
@@ -134310,7 +134315,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134310
134315
|
},
|
|
134311
134316
|
active: editor.isActive("highlight"),
|
|
134312
134317
|
optionName: "highlight",
|
|
134313
|
-
tooltip: (cov_17cji89s6g().b[4][0]++, tooltips.highlight) || (cov_17cji89s6g().b[4][1]++, t$
|
|
134318
|
+
tooltip: (cov_17cji89s6g().b[4][0]++, tooltips.highlight) || (cov_17cji89s6g().b[4][1]++, t$1("menu.highlight"))
|
|
134314
134319
|
}],
|
|
134315
134320
|
block: [{
|
|
134316
134321
|
Icon: Quote,
|
|
@@ -134322,7 +134327,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134322
134327
|
active: editor.isActive("blockquote"),
|
|
134323
134328
|
optionName: "block-quote",
|
|
134324
134329
|
highlight: true,
|
|
134325
|
-
tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$
|
|
134330
|
+
tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$1("menu.blockQuote"))
|
|
134326
134331
|
}, {
|
|
134327
134332
|
Icon: Code$1,
|
|
134328
134333
|
command: function command() {
|
|
@@ -134332,7 +134337,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134332
134337
|
},
|
|
134333
134338
|
active: editor.isActive("code"),
|
|
134334
134339
|
optionName: "code",
|
|
134335
|
-
tooltip: (cov_17cji89s6g().b[6][0]++, tooltips.code) || (cov_17cji89s6g().b[6][1]++, t$
|
|
134340
|
+
tooltip: (cov_17cji89s6g().b[6][0]++, tooltips.code) || (cov_17cji89s6g().b[6][1]++, t$1("menu.code"))
|
|
134336
134341
|
}, {
|
|
134337
134342
|
Icon: CodeBlock$2,
|
|
134338
134343
|
command: function command() {
|
|
@@ -134342,7 +134347,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134342
134347
|
},
|
|
134343
134348
|
active: editor.isActive("codeBlock"),
|
|
134344
134349
|
optionName: "code-block",
|
|
134345
|
-
tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$
|
|
134350
|
+
tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$1("menu.codeBlock"))
|
|
134346
134351
|
}],
|
|
134347
134352
|
list: [{
|
|
134348
134353
|
Icon: ListDot,
|
|
@@ -134354,7 +134359,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134354
134359
|
active: editor.isActive("bulletList"),
|
|
134355
134360
|
optionName: "bullet-list",
|
|
134356
134361
|
highlight: true,
|
|
134357
|
-
tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$
|
|
134362
|
+
tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$1("menu.bulletedList"))
|
|
134358
134363
|
}, {
|
|
134359
134364
|
Icon: ListNumber,
|
|
134360
134365
|
command: function command() {
|
|
@@ -134365,14 +134370,14 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134365
134370
|
active: editor.isActive("orderedList"),
|
|
134366
134371
|
optionName: "ordered-list",
|
|
134367
134372
|
highlight: true,
|
|
134368
|
-
tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$
|
|
134373
|
+
tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$1("menu.orderedList"))
|
|
134369
134374
|
}],
|
|
134370
134375
|
misc: [{
|
|
134371
134376
|
Icon: FileAttachments,
|
|
134372
134377
|
command: handleUploadAttachments,
|
|
134373
134378
|
active: false,
|
|
134374
134379
|
optionName: "attachments",
|
|
134375
|
-
tooltip: (cov_17cji89s6g().b[10][0]++, tooltips.attachments) || (cov_17cji89s6g().b[10][1]++, t$
|
|
134380
|
+
tooltip: (cov_17cji89s6g().b[10][0]++, tooltips.attachments) || (cov_17cji89s6g().b[10][1]++, t$1("menu.attachments"))
|
|
134376
134381
|
}, {
|
|
134377
134382
|
Icon: ImageUpload,
|
|
134378
134383
|
command: function command() {
|
|
@@ -134381,7 +134386,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134381
134386
|
return setMediaUploader(assoc("image", true));
|
|
134382
134387
|
},
|
|
134383
134388
|
optionName: "image-upload",
|
|
134384
|
-
tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$
|
|
134389
|
+
tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$1("menu.imageUpload"))
|
|
134385
134390
|
}, {
|
|
134386
134391
|
Icon: Video,
|
|
134387
134392
|
command: function command() {
|
|
@@ -134390,7 +134395,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134390
134395
|
return setMediaUploader(assoc("video", true));
|
|
134391
134396
|
},
|
|
134392
134397
|
optionName: "video-upload",
|
|
134393
|
-
tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$
|
|
134398
|
+
tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$1("menu.videoUpload"))
|
|
134394
134399
|
}, {
|
|
134395
134400
|
Icon: MediaVideo,
|
|
134396
134401
|
command: function command() {
|
|
@@ -134399,7 +134404,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134399
134404
|
return setIsEmbedModalOpen(true);
|
|
134400
134405
|
},
|
|
134401
134406
|
optionName: "video-embed",
|
|
134402
|
-
tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$
|
|
134407
|
+
tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$1("menu.videoEmbed"))
|
|
134403
134408
|
}],
|
|
134404
134409
|
right: [{
|
|
134405
134410
|
Icon: Undo,
|
|
@@ -134411,7 +134416,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134411
134416
|
active: false,
|
|
134412
134417
|
disabled: !editor.can().undo(),
|
|
134413
134418
|
optionName: "undo",
|
|
134414
|
-
tooltip: (cov_17cji89s6g().b[14][0]++, tooltips.undo) || (cov_17cji89s6g().b[14][1]++, t$
|
|
134419
|
+
tooltip: (cov_17cji89s6g().b[14][0]++, tooltips.undo) || (cov_17cji89s6g().b[14][1]++, t$1("menu.undo"))
|
|
134415
134420
|
}, {
|
|
134416
134421
|
Icon: Redo,
|
|
134417
134422
|
command: function command() {
|
|
@@ -134422,7 +134427,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
134422
134427
|
active: false,
|
|
134423
134428
|
disabled: !editor.can().redo(),
|
|
134424
134429
|
optionName: "redo",
|
|
134425
|
-
tooltip: (cov_17cji89s6g().b[15][0]++, tooltips.redo) || (cov_17cji89s6g().b[15][1]++, t$
|
|
134430
|
+
tooltip: (cov_17cji89s6g().b[15][0]++, tooltips.redo) || (cov_17cji89s6g().b[15][1]++, t$1("menu.redo"))
|
|
134426
134431
|
}]
|
|
134427
134432
|
};
|
|
134428
134433
|
};
|
|
@@ -134457,56 +134462,56 @@ var TABLE_ACTIONS = function TABLE_ACTIONS(_ref3) {
|
|
|
134457
134462
|
cov_17cji89s6g().f[16]++;
|
|
134458
134463
|
cov_17cji89s6g().s[20]++;
|
|
134459
134464
|
return [{
|
|
134460
|
-
label: t$
|
|
134465
|
+
label: t$1("table.insertRow"),
|
|
134461
134466
|
command: function command() {
|
|
134462
134467
|
cov_17cji89s6g().f[17]++;
|
|
134463
134468
|
cov_17cji89s6g().s[21]++;
|
|
134464
134469
|
return editor.commands.addRowAfter();
|
|
134465
134470
|
}
|
|
134466
134471
|
}, {
|
|
134467
|
-
label: t$
|
|
134472
|
+
label: t$1("table.insertColumn"),
|
|
134468
134473
|
command: function command() {
|
|
134469
134474
|
cov_17cji89s6g().f[18]++;
|
|
134470
134475
|
cov_17cji89s6g().s[22]++;
|
|
134471
134476
|
return editor.commands.addColumnAfter();
|
|
134472
134477
|
}
|
|
134473
134478
|
}, {
|
|
134474
|
-
label: t$
|
|
134479
|
+
label: t$1("table.deleteRow"),
|
|
134475
134480
|
command: function command() {
|
|
134476
134481
|
cov_17cji89s6g().f[19]++;
|
|
134477
134482
|
cov_17cji89s6g().s[23]++;
|
|
134478
134483
|
return editor.chain().focus().deleteRow().run();
|
|
134479
134484
|
}
|
|
134480
134485
|
}, {
|
|
134481
|
-
label: t$
|
|
134486
|
+
label: t$1("table.deleteColumn"),
|
|
134482
134487
|
command: function command() {
|
|
134483
134488
|
cov_17cji89s6g().f[20]++;
|
|
134484
134489
|
cov_17cji89s6g().s[24]++;
|
|
134485
134490
|
return editor.chain().focus().deleteColumn().run();
|
|
134486
134491
|
}
|
|
134487
134492
|
}, {
|
|
134488
|
-
label: t$
|
|
134493
|
+
label: t$1("table.mergeSplit"),
|
|
134489
134494
|
command: function command() {
|
|
134490
134495
|
cov_17cji89s6g().f[21]++;
|
|
134491
134496
|
cov_17cji89s6g().s[25]++;
|
|
134492
134497
|
return editor.chain().focus().mergeOrSplit().run();
|
|
134493
134498
|
}
|
|
134494
134499
|
}, {
|
|
134495
|
-
label: t$
|
|
134500
|
+
label: t$1("table.toggleHeaderRow"),
|
|
134496
134501
|
command: function command() {
|
|
134497
134502
|
cov_17cji89s6g().f[22]++;
|
|
134498
134503
|
cov_17cji89s6g().s[26]++;
|
|
134499
134504
|
return editor.chain().focus().toggleHeaderRow().run();
|
|
134500
134505
|
}
|
|
134501
134506
|
}, {
|
|
134502
|
-
label: t$
|
|
134507
|
+
label: t$1("table.toggleHeaderColumn"),
|
|
134503
134508
|
command: function command() {
|
|
134504
134509
|
cov_17cji89s6g().f[23]++;
|
|
134505
134510
|
cov_17cji89s6g().s[27]++;
|
|
134506
134511
|
return editor.chain().focus().toggleHeaderColumn().run();
|
|
134507
134512
|
}
|
|
134508
134513
|
}, {
|
|
134509
|
-
label: t$
|
|
134514
|
+
label: t$1("table.delete"),
|
|
134510
134515
|
command: function command() {
|
|
134511
134516
|
cov_17cji89s6g().f[24]++;
|
|
134512
134517
|
cov_17cji89s6g().s[28]++;
|
|
@@ -135717,7 +135722,7 @@ var renderOptionButton$1 = function renderOptionButton(_ref3) {
|
|
|
135717
135722
|
highlight = _ref3.highlight;
|
|
135718
135723
|
cov_1ufasder3().f[16]++;
|
|
135719
135724
|
cov_1ufasder3().s[20]++;
|
|
135720
|
-
return /*#__PURE__*/React__default.createElement(Button$1, _extends$
|
|
135725
|
+
return /*#__PURE__*/React__default.createElement(Button$1, _extends$1({
|
|
135721
135726
|
"data-cy": "neeto-editor-bubble-menu-".concat(optionName, "-option"),
|
|
135722
135727
|
icon: Icon,
|
|
135723
135728
|
key: optionName,
|
|
@@ -137436,7 +137441,7 @@ var renderOptionButton = function renderOptionButton(_ref2) {
|
|
|
137436
137441
|
tooltip = _ref2.tooltip;
|
|
137437
137442
|
cov_2gwegiwlga().f[3]++;
|
|
137438
137443
|
cov_2gwegiwlga().s[6]++;
|
|
137439
|
-
return /*#__PURE__*/React__default.createElement(Button$1, _extends$
|
|
137444
|
+
return /*#__PURE__*/React__default.createElement(Button$1, _extends$1({
|
|
137440
137445
|
className: "neeto-editor-fixed-menu__item",
|
|
137441
137446
|
"data-cy": "neeto-editor-fixed-menu-".concat(optionName, "-option"),
|
|
137442
137447
|
disabled: disabled,
|
|
@@ -139033,105 +139038,6 @@ var Bubble = function Bubble(_ref) {
|
|
|
139033
139038
|
}, children)));
|
|
139034
139039
|
};
|
|
139035
139040
|
|
|
139036
|
-
function _extends() {
|
|
139037
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
139038
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
139039
|
-
var source = arguments[i];
|
|
139040
|
-
for (var key in source) {
|
|
139041
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
139042
|
-
target[key] = source[key];
|
|
139043
|
-
}
|
|
139044
|
-
}
|
|
139045
|
-
}
|
|
139046
|
-
return target;
|
|
139047
|
-
};
|
|
139048
|
-
return _extends.apply(this, arguments);
|
|
139049
|
-
}
|
|
139050
|
-
|
|
139051
|
-
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}}
|
|
139052
|
-
|
|
139053
|
-
var css$1 = ".neeto-molecules-dynamic-variables{max-width:360px;min-width:184px}.neeto-molecules-dynamic-variables button{border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-md);color:rgb(var(--neeto-ui-black));padding:6px;transition:var(--neeto-ui-transition);-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-molecules-dynamic-variables button:focus,.neeto-molecules-dynamic-variables button:focus-visible,.neeto-molecules-dynamic-variables button:hover{border-color:rgb(var(--neeto-ui-primary-800));box-shadow:none;color:rgb(var(--neeto-ui-primary-800));outline:none}";
|
|
139054
|
-
n(css$1,{});
|
|
139055
|
-
|
|
139056
|
-
var parseVariables = function parseVariables() {
|
|
139057
|
-
var variableArr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
139058
|
-
var uncategorized = [];
|
|
139059
|
-
var groupedVariables = [];
|
|
139060
|
-
var categorySet = new Set();
|
|
139061
|
-
variableArr.forEach(function (variable) {
|
|
139062
|
-
var category = variable.category,
|
|
139063
|
-
label = variable.label,
|
|
139064
|
-
variables = variable.variables;
|
|
139065
|
-
if (category && variables) {
|
|
139066
|
-
var parsedVariables = variables.map(assoc("category", category));
|
|
139067
|
-
if (!categorySet.has(category)) {
|
|
139068
|
-
categorySet.add(category);
|
|
139069
|
-
groupedVariables.push({
|
|
139070
|
-
label: label,
|
|
139071
|
-
variables: parsedVariables
|
|
139072
|
-
});
|
|
139073
|
-
} else {
|
|
139074
|
-
var existingGroup = findBy({
|
|
139075
|
-
label: label
|
|
139076
|
-
}, groupedVariables);
|
|
139077
|
-
existingGroup.variables = uniqBy(prop("key"), existingGroup.variables.concat(parsedVariables));
|
|
139078
|
-
}
|
|
139079
|
-
} else {
|
|
139080
|
-
uncategorized.push(variable);
|
|
139081
|
-
}
|
|
139082
|
-
});
|
|
139083
|
-
if (!isEmpty$1(uncategorized)) {
|
|
139084
|
-
groupedVariables.push({
|
|
139085
|
-
label: !isEmpty$1(groupedVariables) ? "Others" : null,
|
|
139086
|
-
variables: uncategorized
|
|
139087
|
-
});
|
|
139088
|
-
}
|
|
139089
|
-
return groupedVariables;
|
|
139090
|
-
};
|
|
139091
|
-
|
|
139092
|
-
var Menu$5 = Dropdown$1.Menu;
|
|
139093
|
-
var DynamicVariables = function DynamicVariables(_ref) {
|
|
139094
|
-
var _ref$onVariableClick = _ref.onVariableClick,
|
|
139095
|
-
onVariableClick = _ref$onVariableClick === void 0 ? noop$2 : _ref$onVariableClick,
|
|
139096
|
-
_ref$variables = _ref.variables,
|
|
139097
|
-
variables = _ref$variables === void 0 ? [] : _ref$variables,
|
|
139098
|
-
_ref$dropdownProps = _ref.dropdownProps,
|
|
139099
|
-
dropdownProps = _ref$dropdownProps === void 0 ? {} : _ref$dropdownProps;
|
|
139100
|
-
if (isEmpty$1(variables)) {
|
|
139101
|
-
return null;
|
|
139102
|
-
}
|
|
139103
|
-
var parsedVariables = parseVariables(variables);
|
|
139104
|
-
return /*#__PURE__*/React__default.createElement(Dropdown$1, _extends({
|
|
139105
|
-
buttonProps: {
|
|
139106
|
-
"data-testid": "variables-dropdown"
|
|
139107
|
-
},
|
|
139108
|
-
buttonStyle: "secondary",
|
|
139109
|
-
icon: Braces,
|
|
139110
|
-
strategy: "fixed"
|
|
139111
|
-
}, dropdownProps), /*#__PURE__*/React__default.createElement(Menu$5, null, /*#__PURE__*/React__default.createElement("div", {
|
|
139112
|
-
className: "space-y-3 p-2 neeto-molecules-dynamic-variables",
|
|
139113
|
-
"data-testid": "variables-list"
|
|
139114
|
-
}, parsedVariables.map(function (_ref2) {
|
|
139115
|
-
var label = _ref2.label,
|
|
139116
|
-
variables = _ref2.variables;
|
|
139117
|
-
return /*#__PURE__*/React__default.createElement(Fragment$1, {
|
|
139118
|
-
key: label
|
|
139119
|
-
}, label && /*#__PURE__*/React__default.createElement(Typography, {
|
|
139120
|
-
className: "",
|
|
139121
|
-
style: "h6"
|
|
139122
|
-
}, label), /*#__PURE__*/React__default.createElement("div", {
|
|
139123
|
-
className: "flex flex-wrap items-center gap-2"
|
|
139124
|
-
}, variables.map(function (item) {
|
|
139125
|
-
return /*#__PURE__*/React__default.createElement("button", {
|
|
139126
|
-
key: item.label,
|
|
139127
|
-
onClick: function onClick() {
|
|
139128
|
-
return onVariableClick(item);
|
|
139129
|
-
}
|
|
139130
|
-
}, item.label);
|
|
139131
|
-
})));
|
|
139132
|
-
}))));
|
|
139133
|
-
};
|
|
139134
|
-
|
|
139135
139041
|
function cov_g1sl3nnop() {
|
|
139136
139042
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/FontSizeOption.jsx";
|
|
139137
139043
|
var hash = "845d6428fa4220aa133d2328891f6a21afd81ca9";
|
|
@@ -143085,14 +142991,14 @@ var Button = function Button(_ref) {
|
|
|
143085
142991
|
cov_dd2ar3sb9().f[0]++;
|
|
143086
142992
|
var Icon = (cov_dd2ar3sb9().s[1]++, icon);
|
|
143087
142993
|
cov_dd2ar3sb9().s[2]++;
|
|
143088
|
-
return /*#__PURE__*/React__default.createElement(Tooltip, _extends$
|
|
142994
|
+
return /*#__PURE__*/React__default.createElement(Tooltip, _extends$1({
|
|
143089
142995
|
disabled: !tooltipProps,
|
|
143090
142996
|
onClick: function onClick() {
|
|
143091
142997
|
cov_dd2ar3sb9().f[1]++;
|
|
143092
142998
|
cov_dd2ar3sb9().s[3]++;
|
|
143093
142999
|
return _onClick();
|
|
143094
143000
|
}
|
|
143095
|
-
}, tooltipProps), /*#__PURE__*/React__default.createElement("button", _extends$
|
|
143001
|
+
}, tooltipProps), /*#__PURE__*/React__default.createElement("button", _extends$1({
|
|
143096
143002
|
className: classnames$2("ne-headless-btn", _defineProperty({}, className, className)),
|
|
143097
143003
|
disabled: disabled,
|
|
143098
143004
|
type: "button",
|
|
@@ -143655,7 +143561,7 @@ var Dropdown = function Dropdown(_ref2) {
|
|
|
143655
143561
|
mounted = _ref4[0],
|
|
143656
143562
|
setMounted = _ref4[1];
|
|
143657
143563
|
cov_1kqm4qkn0l().s[9]++;
|
|
143658
|
-
return /*#__PURE__*/React__default.createElement(index, _extends$
|
|
143564
|
+
return /*#__PURE__*/React__default.createElement(index, _extends$1({
|
|
143659
143565
|
hideOnEsc: true,
|
|
143660
143566
|
interactive: true,
|
|
143661
143567
|
animation: false,
|
|
@@ -143688,7 +143594,7 @@ var Dropdown = function Dropdown(_ref2) {
|
|
|
143688
143594
|
cov_1kqm4qkn0l().s[11]++;
|
|
143689
143595
|
return setMounted(true);
|
|
143690
143596
|
}
|
|
143691
|
-
}, otherProps), /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Button, _extends$
|
|
143597
|
+
}, otherProps), /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Button, _extends$1({
|
|
143692
143598
|
icon: icon,
|
|
143693
143599
|
onClick: onClick
|
|
143694
143600
|
}, buttonProps))));
|
|
@@ -146216,7 +146122,7 @@ var Headless = function Headless(_ref) {
|
|
|
146216
146122
|
}, allOptions.map(function (option) {
|
|
146217
146123
|
cov_1jkm4gpx9u().f[1]++;
|
|
146218
146124
|
cov_1jkm4gpx9u().s[8]++;
|
|
146219
|
-
return /*#__PURE__*/React__default.createElement(Option, _extends$
|
|
146125
|
+
return /*#__PURE__*/React__default.createElement(Option, _extends$1({
|
|
146220
146126
|
editor: editor,
|
|
146221
146127
|
key: option.optionName
|
|
146222
146128
|
}, option));
|
|
@@ -147231,7 +147137,7 @@ var Menu = function Menu(props) {
|
|
|
147231
147137
|
};
|
|
147232
147138
|
}, []);
|
|
147233
147139
|
cov_1s6fdrq07c().s[24]++;
|
|
147234
|
-
return /*#__PURE__*/React__default.createElement(MenuComponent, _extends$
|
|
147140
|
+
return /*#__PURE__*/React__default.createElement(MenuComponent, _extends$1({}, props, {
|
|
147235
147141
|
handleUploadAttachments: handleUploadAttachments,
|
|
147236
147142
|
isEmojiPickerActive: isEmojiPickerActive,
|
|
147237
147143
|
mediaUploader: mediaUploader,
|
|
@@ -149060,7 +148966,7 @@ var Editor = function Editor(_ref, ref) {
|
|
|
149060
148966
|
menuType: menuType,
|
|
149061
148967
|
tooltips: tooltips,
|
|
149062
148968
|
variables: variables
|
|
149063
|
-
}), children, /*#__PURE__*/React__default.createElement(EditorContent$1, _extends$
|
|
148969
|
+
}), children, /*#__PURE__*/React__default.createElement(EditorContent$1, _extends$1({
|
|
149064
148970
|
editor: editor
|
|
149065
148971
|
}, otherProps)), (cov_1p0jklglk1().b[35][0]++, isMediaUploaderActive) && (cov_1p0jklglk1().b[35][1]++, /*#__PURE__*/React__default.createElement(MediaUploader, {
|
|
149066
148972
|
editor: editor,
|
|
@@ -149331,7 +149237,7 @@ var FormikEditor = function FormikEditor(_ref, ref) {
|
|
|
149331
149237
|
meta = _ref2.meta;
|
|
149332
149238
|
cov_4yoeuyegb().f[1]++;
|
|
149333
149239
|
cov_4yoeuyegb().s[2]++;
|
|
149334
|
-
return /*#__PURE__*/React__default.createElement(Editor$1, _extends$
|
|
149240
|
+
return /*#__PURE__*/React__default.createElement(Editor$1, _extends$1({
|
|
149335
149241
|
error: meta.touched ? (cov_4yoeuyegb().b[0][0]++, meta.error) : (cov_4yoeuyegb().b[0][1]++, ""),
|
|
149336
149242
|
initialValue: field.value,
|
|
149337
149243
|
name: name,
|
|
@@ -151511,7 +151417,7 @@ var EditorContent = function EditorContent(_ref2) {
|
|
|
151511
151417
|
injectCopyButtonToCodeBlocks();
|
|
151512
151418
|
}, [content]);
|
|
151513
151419
|
cov_1dd9t0wu6j().s[17]++;
|
|
151514
|
-
return /*#__PURE__*/React__default.createElement("div", _extends$
|
|
151420
|
+
return /*#__PURE__*/React__default.createElement("div", _extends$1({
|
|
151515
151421
|
"data-cy": "neeto-editor-content",
|
|
151516
151422
|
ref: editorContentRef,
|
|
151517
151423
|
className: classnames$2(EDITOR_CONTENT_CLASSNAME, _defineProperty({}, className, className)),
|
|
@@ -151522,7 +151428,7 @@ var EditorContent = function EditorContent(_ref2) {
|
|
|
151522
151428
|
};
|
|
151523
151429
|
|
|
151524
151430
|
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,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zLjgyMSAxNWgxLjIzVjYuMjQzaDMuMThWNS4xMzZILjY0MnYxLjEwN0gzLjgyVjE1Wm01LjkgMi41ODRjMS4zMDUgMCAxLjkxNC0uNDc5IDIuNTIyLTIuMTMzbDIuODc4LTcuODJoLTEuMjVsLTIuMDE4IDYuMDYzaC0uMTA5TDkuNzIxIDcuNjMxSDguNDQ5bDIuNzI4IDcuMzc2LS4xMzcuNDM3Yy0uMjY3Ljg0OC0uNjc3IDEuMTU2LTEuMzUzIDEuMTU2LS4xNjUgMC0uMzUtLjAwNy0uNDkzLS4wMzV2Ljk3OGMuMTY0LjAyNy4zNy4wNDEuNTI3LjA0MVptNi45NzItLjEyM2gxLjE5di0zLjYyM2guMTFjLjQwMi43ODYgMS4yODQgMS4yOTIgMi4yOTYgMS4yOTIgMS44NzMgMCAzLjA5LTEuNDk3IDMuMDktMy44MDh2LS4wMTNjMC0yLjI5Ny0xLjIyNC0zLjgwOC0zLjA5LTMuODA4LTEuMDI1IDAtMS44NDYuNDg1LTIuMjk3IDEuMzA2aC0uMTFWNy42M2gtMS4xODl2OS44M1ptMy4zMjMtMy4zODRjLTEuMzQgMC0yLjE2LTEuMDUzLTIuMTYtMi43NTV2LS4wMTNjMC0xLjcwMy44Mi0yLjc1NSAyLjE2LTIuNzU1IDEuMzQ2IDAgMi4xNDYgMS4wMzkgMi4xNDYgMi43NTV2LjAxM2MwIDEuNzE2LS44IDIuNzU1LTIuMTQ2IDIuNzU1Wm04LjIzIDEuMDUzYzEuNzM2IDAgMi43OS0uOTg1IDMuMDQyLTEuOTgybC4wMTQtLjA1NWgtMS4xOWwtLjAyNy4wNjFjLS4xOTguNDQ1LS44MTQuOTE2LTEuODEyLjkxNi0xLjMxMiAwLTIuMTUzLS44ODgtMi4xODctMi40MTNoNS4zMDV2LS40NjVjMC0yLjItMS4yMTctMy42OTEtMy4yMi0zLjY5MXMtMy4zMDIgMS41NTktMy4zMDIgMy44MzV2LjAwN2MwIDIuMzEgMS4yNzIgMy43ODcgMy4zNzcgMy43ODdabS0uMDgyLTYuNTdjMS4wODcgMCAxLjg5NC42OTEgMi4wMTcgMi4xNDdoLTQuMDc1Yy4xMy0xLjQwMS45NjQtMi4xNDYgMi4wNTgtMi4xNDZaIiBmaWxsPSIjODc5MjlEIi8+PHJlY3QgeD0iMzciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgcng9IjMiIGZpbGw9IiNFOUVCRUQiLz48cGF0aCBkPSJtNTAuNDI4IDUuOTE0LTYuODU2IDguMTcyIiBzdHJva2U9IiMyNTJDMzIiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNNjQuNzI2IDE1LjA1NWMuMjMyIDAgLjQ1OC0uMDI4LjY5LS4wNjl2LTEuMDExYy0uMjE5LjAyLS4zMzUuMDI3LS41NDcuMDI3LS43NjYgMC0xLjA2Ni0uMzQ5LTEuMDY2LTEuMjE3di00LjE3aDEuNjEzdi0uOTg0aC0xLjYxM1Y1LjcyNGgtMS4yM1Y3LjYzSDYxLjQxdi45ODRoMS4xNjJ2NC40N2MwIDEuNDEuNjM2IDEuOTcgMi4xNTQgMS45N1ptNS4zODYuMDc1YzIuMDk5IDAgMy4zOTgtMS40NSAzLjM5OC0zLjgwOHYtLjAxM2MwLTIuMzY2LTEuMy0zLjgwOC0zLjM5OC0zLjgwOHMtMy4zOTcgMS40NDItMy4zOTcgMy44MDh2LjAxM2MwIDIuMzU5IDEuMjk5IDMuODA4IDMuMzk3IDMuODA4Wm0wLTEuMDUzYy0xLjM5NCAwLTIuMTgtMS4wMTgtMi4xOC0yLjc1NXYtLjAxM2MwLTEuNzQ0Ljc4Ni0yLjc1NSAyLjE4LTIuNzU1IDEuMzk1IDAgMi4xODEgMS4wMTEgMi4xODEgMi43NTV2LjAxM2MwIDEuNzM3LS43ODYgMi43NTUtMi4xOCAyLjc1NVptMTIuMTk2IDEuMDUzYzEuNzcgMCAyLjc2MS0uOTUgMy4wNjItMi4yODNsLjAxNC0uMDc1LTEuMTc2LjAwNi0uMDE0LjA0MWMtLjI3My44Mi0uOTAyIDEuMjU4LTEuODkzIDEuMjU4LTEuMzEzIDAtMi4xNi0xLjA4Ny0yLjE2LTIuNzgydi0uMDE0YzAtMS42Ni44MzQtMi43MjcgMi4xNi0yLjcyNyAxLjA2IDAgMS43MTYuNTg4IDEuOSAxLjMxMmwuMDA3LjAyaDEuMTgzbC0uMDA3LS4wNEM4NS4xNjUgOC41MzMgODQuMDkyIDcuNSA4Mi4zIDcuNWMtMi4wNjUgMC0zLjM3NyAxLjQ5LTMuMzc3IDMuNzh2LjAxNGMwIDIuMzM4IDEuMzIgMy44MzUgMy4zODQgMy44MzVabTQuODg3LS4xM2gxLjE5di00LjM2MWMwLTEuMjkyLjc0NS0yLjA4NSAxLjkyLTIuMDg1IDEuMTc2IDAgMS43MjMuNjM1IDEuNzIzIDEuOTYyVjE1aDEuMTl2LTQuNzcxYzAtMS43NS0uOTIzLTIuNzI4LTIuNTc3LTIuNzI4LTEuMDg3IDAtMS43NzguNDU4LTIuMTQ3IDEuMjM3aC0uMTFWNC43MDVoLTEuMTg5VjE1Wm0xMC4yLjEzYy45OSAwIDEuNzYzLS40MyAyLjIyOC0xLjIxN2guMTFWMTVoMS4xODlWOS45NTVjMC0xLjUzMS0xLjAwNS0yLjQ1NC0yLjgwMy0yLjQ1NC0xLjU3MiAwLTIuNjkzLjc4LTIuODg1IDEuOTM1bC0uMDA2LjA0aDEuMTg5bC4wMDctLjAyYy4xOTEtLjU3NC43NzItLjkwMiAxLjY1NC0uOTAyIDEuMSAwIDEuNjU0LjQ5MiAxLjY1NCAxLjQwMXYuNjdsLTIuMTEyLjEzYy0xLjcxNi4xMDItMi42ODYuODYxLTIuNjg2IDIuMTc0di4wMTNjMCAxLjM0IDEuMDYgMi4xODggMi40NiAyLjE4OFptLTEuMjQ1LTIuMjE1di0uMDE0YzAtLjczMS40OTMtMS4xMjggMS42MTQtMS4xOTZsMS45NjgtLjEyM3YuNjdjMCAxLjA1My0uODgxIDEuODQ2LTIuMDkxIDEuODQ2LS44NTUgMC0xLjQ5LS40MzgtMS40OS0xLjE4M1pNMTAzLjA5NiAxNWgxLjE4OXYtNC4zNjFjMC0xLjI5Mi43NDUtMi4wODUgMS45MjEtMi4wODUgMS4xNzYgMCAxLjcyMy42MzUgMS43MjMgMS45NjJWMTVoMS4xODl2LTQuNzcxYzAtMS43NS0uOTIzLTIuNzI4LTIuNTc3LTIuNzI4LTEuMDg3IDAtMS43NzcuNDU4LTIuMTQ2IDEuMjM3aC0uMTFWNy42MzFoLTEuMTg5VjE1Wm0xMS4yMTEgMi41OThjMi4wMDkgMCAzLjI4MS0xLjA1MyAzLjI4MS0yLjdWNy42M2gtMS4xOXYxLjIxN2gtLjA4MmMtLjQ1MS0uODM0LTEuMjU3LTEuMzQ3LTIuMjk2LTEuMzQ3LTEuOTI4IDAtMy4xMTggMS40OTctMy4xMTggMy41NjF2LjAxNGMwIDIuMDY1IDEuMTgzIDMuNTQxIDMuMDkgMy41NDEgMS4wMTIgMCAxLjg0Ni0uNDU4IDIuMzExLTEuMjcxaC4xMDl2MS40OWMwIDEuMDg3LS43ODYgMS43MDktMi4xMDUgMS43MDktMS4wNiAwLTEuNzE2LS4zOTctMS44NDYtLjk1N2wtLjAwNy0uMDA3aC0xLjIzbC0uMDE0LjAwN2MuMTg1IDEuMjEgMS4zMTkgMi4wMSAzLjA5NyAyLjAxWm0tLjA1NS00LjAzM2MtMS4zNjcgMC0yLjEzMy0xLjAyNi0yLjEzMy0yLjQ4OXYtLjAxNGMwLTEuNDYyLjc2Ni0yLjUwOCAyLjEzMy0yLjUwOCAxLjM2IDAgMi4xODcgMS4wNDYgMi4xODcgMi41MDh2LjAxNGMwIDEuNDYzLS44MiAyLjQ4OS0yLjE4NyAyLjQ4OVptOC41NTkgMS41NjVjMS43MzYgMCAyLjc4OS0uOTg1IDMuMDQyLTEuOTgybC4wMTMtLjA1NWgtMS4xODlsLS4wMjguMDYxYy0uMTk4LjQ0NS0uODEzLjkxNi0xLjgxMS45MTYtMS4zMTMgMC0yLjE1My0uODg4LTIuMTg4LTIuNDEzaDUuMzA1di0uNDY1YzAtMi4yLTEuMjE3LTMuNjkxLTMuMjItMy42OTFzLTMuMzAxIDEuNTU5LTMuMzAxIDMuODM1di4wMDdjMCAyLjMxIDEuMjcxIDMuNzg3IDMuMzc3IDMuNzg3Wm0tLjA4Mi02LjU3YzEuMDg2IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2Wm0xMi42NzMgNi41N2MxLjg2NyAwIDMuMDktMS41MSAzLjA5LTMuODA4di0uMDEzYzAtMi4zMTEtMS4yMTctMy44MDgtMy4wOS0zLjgwOC0xLjAxMSAwLTEuODkzLjUwNi0yLjI5NyAxLjI5MmgtLjEwOVY0LjcwNWgtMS4xODlWMTVoMS4xODl2LTEuMTc2aC4xMDljLjQ1Mi44MiAxLjI3MiAxLjMwNiAyLjI5NyAxLjMwNlptLS4yNzMtMS4wNTNjLTEuMzQgMC0yLjE2LTEuMDUzLTIuMTYtMi43NTV2LS4wMTNjMC0xLjcwMy44Mi0yLjc1NSAyLjE2LTIuNzU1IDEuMzQ3IDAgMi4xNDYgMS4wMzkgMi4xNDYgMi43NTV2LjAxM2MwIDEuNzE2LS43OTkgMi43NTUtMi4xNDYgMi43NTVabTUuMjc3LjkyM2gxLjE5VjQuNzA1aC0xLjE5VjE1Wm02LjUwMS4xM2MyLjA5OSAwIDMuMzk4LTEuNDUgMy4zOTgtMy44MDh2LS4wMTNjMC0yLjM2Ni0xLjI5OS0zLjgwOC0zLjM5OC0zLjgwOC0yLjA5OCAwLTMuMzk3IDEuNDQyLTMuMzk3IDMuODA4di4wMTNjMCAyLjM1OSAxLjI5OSAzLjgwOCAzLjM5NyAzLjgwOFptMC0xLjA1M2MtMS4zOTQgMC0yLjE4LTEuMDE4LTIuMTgtMi43NTV2LS4wMTNjMC0xLjc0NC43ODYtMi43NTUgMi4xOC0yLjc1NSAxLjM5NSAwIDIuMTgxIDEuMDExIDIuMTgxIDIuNzU1di4wMTNjMCAxLjczNy0uNzg2IDIuNzU1LTIuMTgxIDIuNzU1Wm04LjI1OCAxLjA1M2MxLjc3MSAwIDIuNzYyLS45NSAzLjA2My0yLjI4M2wuMDEzLS4wNzUtMS4xNzYuMDA2LS4wMTMuMDQxYy0uMjc0LjgyLS45MDMgMS4yNTgtMS44OTQgMS4yNTgtMS4zMTIgMC0yLjE2LTEuMDg3LTIuMTYtMi43ODJ2LS4wMTRjMC0xLjY2LjgzNC0yLjcyNyAyLjE2LTIuNzI3IDEuMDYgMCAxLjcxNi41ODggMS45MDEgMS4zMTJsLjAwNi4wMmgxLjE4M2wtLjAwNy0uMDRjLS4yMTktMS4zMTMtMS4yOTItMi4zNDUtMy4wODMtMi4zNDUtMi4wNjQgMC0zLjM3NyAxLjQ5LTMuMzc3IDMuNzh2LjAxNGMwIDIuMzM4IDEuMzIgMy44MzUgMy4zODQgMy44MzVabTQuODg4LS4xM2gxLjE4OXYtMi43OTZsLjY5MS0uNjdMMTY0LjY5NCAxNWgxLjQ5N2wtMy40MjQtNC4yNzMgMy4yMTItMy4wOTZoLTEuNDQybC0zLjE4NSAzLjIyaC0uMTFWNC43MDVoLTEuMTg5VjE1Wm0xNC4wODkuMDU1Yy4yMzIgMCAuNDU4LS4wMjguNjktLjA2OXYtMS4wMTFjLS4yMTkuMDItLjMzNS4wMjctLjU0Ny4wMjctLjc2NSAwLTEuMDY2LS4zNDktMS4wNjYtMS4yMTd2LTQuMTdoMS42MTN2LS45ODRoLTEuNjEzVjUuNzI0aC0xLjIzMVY3LjYzaC0xLjE2MnYuOTg0aDEuMTYydjQuNDdjMCAxLjQxLjYzNiAxLjk3IDIuMTU0IDEuOTdabTMuMDk2IDIuNTI5YzEuMzA2IDAgMS45MTQtLjQ3OSAyLjUyMy0yLjEzM2wyLjg3OC03LjgyaC0xLjI1MWwtMi4wMTcgNi4wNjNoLS4xMDlsLTIuMDI0LTYuMDYzaC0xLjI3MWwyLjcyNyA3LjM3Ni0uMTM2LjQzN2MtLjI2Ny44NDgtLjY3NyAxLjE1Ni0xLjM1NCAxLjE1NmEyLjgyIDIuODIgMCAwIDEtLjQ5Mi0uMDM1di45NzhjLjE2NC4wMjcuMzY5LjA0MS41MjYuMDQxWm02Ljk3My0uMTIzaDEuMTg5di0zLjYyM2guMTFjLjQwMy43ODYgMS4yODUgMS4yOTIgMi4yOTcgMS4yOTIgMS44NzMgMCAzLjA4OS0xLjQ5NyAzLjA4OS0zLjgwOHYtLjAxM2MwLTIuMjk3LTEuMjIzLTMuODA4LTMuMDg5LTMuODA4LTEuMDI2IDAtMS44NDYuNDg1LTIuMjk3IDEuMzA2aC0uMTFWNy42M2gtMS4xODl2OS44M1ptMy4zMjItMy4zODRjLTEuMzQgMC0yLjE2LTEuMDUzLTIuMTYtMi43NTV2LS4wMTNjMC0xLjcwMy44Mi0yLjc1NSAyLjE2LTIuNzU1IDEuMzQ3IDAgMi4xNDcgMS4wMzkgMi4xNDcgMi43NTV2LjAxM2MwIDEuNzE2LS44IDIuNzU1LTIuMTQ3IDIuNzU1Wm04LjIzMSAxLjA1M2MxLjczNiAwIDIuNzg5LS45ODUgMy4wNDItMS45ODJsLjAxMy0uMDU1aC0xLjE4OWwtLjAyNy4wNjFjLS4xOTkuNDQ1LS44MTQuOTE2LTEuODEyLjkxNi0xLjMxMiAwLTIuMTUzLS44ODgtMi4xODctMi40MTNoNS4zMDR2LS40NjVjMC0yLjItMS4yMTctMy42OTEtMy4yMi0zLjY5MS0yLjAwMiAwLTMuMzAxIDEuNTU5LTMuMzAxIDMuODM1di4wMDdjMCAyLjMxIDEuMjcxIDMuNzg3IDMuMzc3IDMuNzg3Wm0tLjA4Mi02LjU3YzEuMDg3IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2WiIgZmlsbD0iIzg3OTI5RCIvPjwvc3ZnPg==\");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 code,.neeto-editor-content code{background-color:rgb(var(--neeto-ui-gray-200));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}.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;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{font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-normal);text-align:center}.neeto-editor__image-wrapper figcaption 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 button.neeto-editor-fixed-menu__item{min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon{height:18px!important;width:18px!important}.neeto-editor-fixed-menu__wrapper{align-items:center;display:flex;gap:0 4px;justify-content:flex-start;overflow:auto;padding:2px;width:100%}.neeto-editor-fixed-menu__wrapper--collapsible{display:flex;gap:0 4px}.neeto-editor-fixed-menu__wrapper--collapsible--fade button.neeto-editor-fixed-menu__item{animation:fade-in .3s ease-in}.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;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}.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-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}";
|
|
151525
|
-
n
|
|
151431
|
+
n(css,{});
|
|
151526
151432
|
|
|
151527
151433
|
function cov_1e6pfjcktm() {
|
|
151528
151434
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/index.js";
|