reactjs-tiptap-editor 0.1.11 → 0.1.13
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/lib/bundle-full.cjs +420 -0
- package/lib/bundle-full.js +66325 -0
- package/lib/{reactjs-tiptap-editor.cjs → index.cjs} +1 -1
- package/lib/index.d.cts +69 -69
- package/lib/index.d.ts +69 -69
- package/lib/{reactjs-tiptap-editor.js → index.js} +3 -3
- package/lib/locales-73BBGzRr.cjs +1 -0
- package/lib/{locales-CAZfnzv4.js → locales-CjqAVVw_.js} +16 -18
- package/lib/style.css +1 -1
- package/lib/{tiptap-BSVYcz58.js → tiptap-8FnNtpP6.js} +1 -1
- package/lib/{tiptap-z5OraroY.cjs → tiptap-DRaCr6Fj.cjs} +1 -1
- package/lib/{utils-B0SMxWW-.js → utils-DJ3-4GXI.js} +93 -102
- package/lib/utils-zAUcy3gG.cjs +152 -0
- package/lib/{vendor-BmwuOKTu.cjs → vendor-Dy6OEB8l.cjs} +41 -41
- package/lib/{vendor-C2GXVsjz.js → vendor-ehTKF-_z.js} +3866 -3607
- package/package.json +32 -8
- package/lib/locales-CO2wcFqJ.cjs +0 -1
- package/lib/utils-BG7adOxz.cjs +0 -152
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var s = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
-
var
|
|
3
|
+
var a = (e, t, o) => s(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import { useMemo as g, useEffect as m } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import { m as h } from "./utils-
|
|
5
|
+
import { A as u, g as c } from "./vendor-ehTKF-_z.js";
|
|
6
|
+
import { m as h } from "./utils-DJ3-4GXI.js";
|
|
7
7
|
const b = {
|
|
8
8
|
"editor.remove": "Remove",
|
|
9
9
|
"editor.copy": "Copy",
|
|
@@ -976,9 +976,9 @@ const V = ["100%", "115%", "150%", "200%", "250%", "300%"], $ = "1", Y = [
|
|
|
976
976
|
pt_BR: F
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
|
-
class
|
|
979
|
+
class E {
|
|
980
980
|
constructor() {
|
|
981
|
-
|
|
981
|
+
a(this, "emitter");
|
|
982
982
|
this.emitter = h();
|
|
983
983
|
}
|
|
984
984
|
// Getter and setter for current language
|
|
@@ -1029,31 +1029,29 @@ class S {
|
|
|
1029
1029
|
buildLocalesHandler(t) {
|
|
1030
1030
|
t || (t = this.lang);
|
|
1031
1031
|
const o = this.loadLangMessage(t);
|
|
1032
|
-
return function(
|
|
1033
|
-
return o[
|
|
1032
|
+
return function(l) {
|
|
1033
|
+
return o[l] || l;
|
|
1034
1034
|
};
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
|
-
const
|
|
1038
|
-
lang: i.lang
|
|
1039
|
-
});
|
|
1037
|
+
const r = new E(), n = c(i.lang);
|
|
1040
1038
|
function J() {
|
|
1041
|
-
const e =
|
|
1039
|
+
const [e, t] = u(n), o = g(() => r.buildLocalesHandler(e), [e]);
|
|
1042
1040
|
return m(() => {
|
|
1043
|
-
const
|
|
1044
|
-
|
|
1041
|
+
const d = r.registerWatchLang((l) => {
|
|
1042
|
+
t(l);
|
|
1045
1043
|
});
|
|
1046
1044
|
return () => {
|
|
1047
|
-
|
|
1045
|
+
d.unsubscribe();
|
|
1048
1046
|
};
|
|
1049
1047
|
}, []), {
|
|
1050
|
-
lang: e
|
|
1051
|
-
t
|
|
1048
|
+
lang: e,
|
|
1049
|
+
t: o
|
|
1052
1050
|
};
|
|
1053
1051
|
}
|
|
1054
1052
|
const Q = {
|
|
1055
|
-
t: (e) =>
|
|
1056
|
-
}, Z =
|
|
1053
|
+
t: (e) => r.buildLocalesHandler(n.get())(e)
|
|
1054
|
+
}, Z = r;
|
|
1057
1055
|
export {
|
|
1058
1056
|
Y as B,
|
|
1059
1057
|
H as C,
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@-webkit-keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{-webkit-box-sizing:border-box;box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{-ms-touch-action:none;touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{-ms-touch-action:none;touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ReactCrop__crop-selection{position:absolute;top:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){-webkit-animation:marching-ants 1s;animation:marching-ants 1s;background-image:-webkit-gradient(linear,left top,right top,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,right top,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),color-stop(50%,#444));background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;-webkit-animation-play-state:running;animation-play-state:running;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;-webkit-transform:translate(50%,50%);transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;-webkit-transform:translate(50%);transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;-webkit-transform:translate(-50%);transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}._wrap_15k3c_1{position:relative;max-width:100%;overflow:visible;line-height:0}._wrap_15k3c_1 ._renderWrap_15k3c_7{border:1px dashed hsl(var(--richtext-border))!important;border-radius:6px}._wrap_15k3c_1 ._renderWrap_15k3c_7:after{background-color:transparent!important}._wrap_15k3c_1 ._title_15k3c_14{position:absolute;top:10px;left:10px;z-index:2}._wrap_15k3c_1 ._title_15k3c_14 ._icon_15k3c_20{display:flex;width:18px;height:18px;color:#fff;background-color:#f80;border-radius:2px;justify-content:center;align-items:center}._wrap_15k3c_1 ._handlerWrap_15k3c_30{position:absolute;right:10px;bottom:10px;z-index:2;padding:2px 4px;border:1px solid hsl(var(--richtext-border));border-radius:6px}._wrap_5y04w_1{display:flex;height:100%;max-width:100%;overflow:hidden;line-height:0;flex-direction:column;border:1px dashed hsl(var(--richtext-border))!important;border-radius:6px}._wrap_5y04w_1 ._handlerWrap_5y04w_11{display:flex;padding:10px}._wrap_5y04w_1 ._innerWrap_5y04w_15{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--richtext-border-radius);flex:1}._wrap_5y04w_1 ._emptyWrap_5y04w_23{display:flex;height:100%;justify-content:center;align-items:center}._wrap_5y04w_1 iframe{width:100%;height:100%;border:0;border:none!important}:root{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }::backdrop{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }:root{--richtext-background: 0 0% 100%;--richtext-foreground: 240 10% 3.9%;--richtext-muted: 240 4.8% 95.9%;--richtext-muted-foreground: 240 3.8% 46.1%;--richtext-popover: 0 0% 100%;--richtext-popover-foreground: 240 10% 3.9%;--richtext-card: 0 0% 100%;--richtext-card-foreground: 240 10% 3.9%;--richtext-border: 240 5.9% 90%;--richtext-input: 240 5.9% 90%;--richtext-primary: 240 5.9% 10%;--richtext-primary-foreground: 0 0% 98%;--richtext-secondary: 240 4.8% 95.9%;--richtext-secondary-foreground: 240 5.9% 10%;--richtext-accent: 0 0% 88.24%;--richtext-accent-foreground: 240 5.9% 10%;--richtext-destructive: 0 84.2% 60.2%;--richtext-destructive-foreground: 0 0% 98%;--richtext-ring: 240 10% 3.9%;--richtext-radius: .5rem;--red: #FF5C33}.dark{--richtext-background: 240 10% 3.9%;--richtext-foreground: 0 0% 98%;--richtext-muted: 240 3.7% 15.9%;--richtext-muted-foreground: 240 5% 64.9%;--richtext-popover: 240 10% 3.9%;--richtext-popover-foreground: 0 0% 98%;--richtext-card: 240 10% 3.9%;--richtext-card-foreground: 0 0% 98%;--richtext-border: 240 3.7% 15.9%;--richtext-input: 240 3.7% 15.9%;--richtext-primary: 0 0% 98%;--richtext-primary-foreground: 240 5.9% 10%;--richtext-secondary: 240 3.7% 15.9%;--richtext-secondary-foreground: 0 0% 98%;--richtext-accent: 240 3.7% 15.9%;--richtext-accent-foreground: 0 0% 98%;--richtext-destructive: 0 62.8% 30.6%;--richtext-destructive-foreground: 0 0% 98%;--richtext-ring: 240 4.9% 83.9%;--red: #FF5C33}.richtext-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.richtext-pointer-events-none{pointer-events:none}.richtext-pointer-events-auto{pointer-events:auto}.richtext-fixed{position:fixed}.richtext-absolute{position:absolute}.richtext-relative{position:relative}.richtext-inset-0{top:0;right:0;bottom:0;left:0}.richtext-inset-y-0{top:0;bottom:0}.richtext-left-0{left:0}.richtext-left-2{left:.5rem}.richtext-left-\[1px\]{left:1px}.richtext-left-\[50\%\]{left:50%}.richtext-right-2{right:.5rem}.richtext-right-4{right:1rem}.richtext-start-0{inset-inline-start:0px}.richtext-top-0{top:0}.richtext-top-2{top:.5rem}.richtext-top-4{top:1rem}.richtext-top-\[-1px\]{top:-1px}.richtext-top-\[50\%\]{top:50%}.richtext-z-0{z-index:0}.richtext-z-50{z-index:50}.richtext-z-\[100\]{z-index:100}.richtext-z-\[1\]{z-index:1}.richtext-z-\[99999\]{z-index:99999}.richtext-col-\[1\/-1\]{grid-column:1/-1}.\!richtext-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.\!richtext-mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.\!richtext-mx-\[10px\]{margin-left:10px!important;margin-right:10px!important}.\!richtext-my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.richtext--mx-1{margin-left:-.25rem;margin-right:-.25rem}.richtext-mx-2{margin-left:.5rem;margin-right:.5rem}.richtext-mx-\[auto\]{margin-left:auto;margin-right:auto}.richtext-my-1{margin-top:.25rem;margin-bottom:.25rem}.richtext-my-\[10px\]{margin-top:10px;margin-bottom:10px}.richtext-my-\[12px\]{margin-top:12px;margin-bottom:12px}.richtext-my-\[5px\]{margin-top:5px;margin-bottom:5px}.\!richtext-mr-1{margin-right:.25rem!important}.richtext-mb-8{margin-bottom:2rem}.richtext-mb-\[10px\]{margin-bottom:10px}.richtext-mb-\[16px\]{margin-bottom:16px}.richtext-mb-\[5px\]{margin-bottom:5px}.richtext-mb-\[6px\]{margin-bottom:6px}.richtext-mb-\[8px\]{margin-bottom:8px}.richtext-ml-1{margin-left:.25rem}.richtext-ml-\[4px\]{margin-left:4px}.richtext-ml-auto{margin-left:auto}.richtext-mt-1{margin-top:.25rem}.richtext-mt-2{margin-top:.5rem}.richtext-mt-\[8px\]{margin-top:8px}.richtext-box-border{box-sizing:border-box}.richtext-block{display:block}.richtext-inline-block{display:inline-block}.\!richtext-flex{display:flex!important}.richtext-flex{display:flex}.richtext-inline-flex{display:inline-flex}.richtext-grid{display:grid}.richtext-size-5{width:1.25rem;height:1.25rem}.\!richtext-h-3{height:.75rem!important}.\!richtext-h-4{height:1rem!important}.\!richtext-h-\[16px\]{height:16px!important}.\!richtext-h-\[32px\]{height:32px!important}.\!richtext-h-auto{height:auto!important}.richtext-h-10{height:2.5rem}.richtext-h-11{height:2.75rem}.richtext-h-12{height:3rem}.richtext-h-2{height:.5rem}.richtext-h-3{height:.75rem}.richtext-h-3\.5{height:.875rem}.richtext-h-4{height:1rem}.richtext-h-5{height:1.25rem}.richtext-h-6{height:1.5rem}.richtext-h-7{height:1.75rem}.richtext-h-8{height:2rem}.richtext-h-9{height:2.25rem}.richtext-h-\[18px\]{height:18px}.richtext-h-\[1em\]{height:1em}.richtext-h-\[1px\]{height:1px}.richtext-h-\[26px\]{height:26px}.richtext-h-\[28px\]{height:28px}.richtext-h-\[32px\]{height:32px}.richtext-h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.richtext-h-auto{height:auto}.richtext-h-full{height:100%}.richtext-h-px{height:1px}.\!richtext-max-h-\[180px\]{max-height:180px!important}.richtext-max-h-60{max-height:15rem}.richtext-max-h-96{max-height:24rem}.richtext-max-h-\[280px\]{max-height:280px}.richtext-max-h-\[320px\]{max-height:320px}.richtext-max-h-\[min\(80vh\,24rem\)\]{max-height:min(80vh,24rem)}.richtext-max-h-full{max-height:100%}.richtext-max-h-screen{max-height:100vh}.richtext-min-h-\[80px\]{min-height:80px}.\!richtext-w-12{width:3rem!important}.\!richtext-w-3{width:.75rem!important}.\!richtext-w-4{width:1rem!important}.richtext-w-10{width:2.5rem}.richtext-w-11{width:2.75rem}.richtext-w-2{width:.5rem}.richtext-w-3{width:.75rem}.richtext-w-3\.5{width:.875rem}.richtext-w-32{width:8rem}.richtext-w-4{width:1rem}.richtext-w-48{width:12rem}.richtext-w-5{width:1.25rem}.richtext-w-6{width:1.5rem}.richtext-w-7{width:1.75rem}.richtext-w-72{width:18rem}.richtext-w-80{width:20rem}.richtext-w-\[18px\]{width:18px}.richtext-w-\[1em\]{width:1em}.richtext-w-\[1px\]{width:1px}.richtext-w-\[200px\]{width:200px}.richtext-w-\[28px\]{width:28px}.richtext-w-\[32px\]{width:32px}.richtext-w-\[60px\]{width:60px}.richtext-w-auto{width:auto}.richtext-w-fit{width:fit-content}.richtext-w-full{width:100%}.richtext-min-w-24{min-width:6rem}.richtext-min-w-32{min-width:8rem}.richtext-min-w-4{min-width:1rem}.richtext-min-w-48{min-width:12rem}.richtext-min-w-\[8rem\]{min-width:8rem}.richtext-min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.\!richtext-max-w-\[1300px\]{max-width:1300px!important}.richtext-max-w-24{max-width:6rem}.richtext-max-w-\[286px\]{max-width:286px}.richtext-max-w-\[600px\]{max-width:600px}.richtext-max-w-lg{max-width:32rem}.richtext-max-w-sm{max-width:24rem}.richtext-flex-1{flex:1 1 0%}.richtext-flex-\[0_0_auto\]{flex:0 0 auto}.richtext-flex-shrink-0{flex-shrink:0}.\!richtext-shrink-0{flex-shrink:0!important}.richtext-shrink-0{flex-shrink:0}.richtext-flex-grow{flex-grow:1}.richtext-translate-x-\[-50\%\]{--richtext-translate-x: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.richtext-translate-y-\[-50\%\]{--richtext-translate-y: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.richtext-cursor-default{cursor:default}.richtext-cursor-grab{cursor:grab}.richtext-cursor-pointer{cursor:pointer}.richtext-select-none{-webkit-user-select:none;user-select:none}.richtext-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.richtext-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.richtext-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.richtext-flex-row{flex-direction:row}.richtext-flex-col{flex-direction:column}.richtext-flex-col-reverse{flex-direction:column-reverse}.richtext-flex-wrap{flex-wrap:wrap}.richtext-flex-nowrap{flex-wrap:nowrap}.\!richtext-items-center{align-items:center!important}.richtext-items-center{align-items:center}.richtext-justify-start{justify-content:flex-start}.richtext-justify-end{justify-content:flex-end}.\!richtext-justify-center{justify-content:center!important}.richtext-justify-center{justify-content:center}.richtext-justify-between{justify-content:space-between}.richtext-gap-0\.5{gap:.125rem}.richtext-gap-1{gap:.25rem}.richtext-gap-1\.5{gap:.375rem}.richtext-gap-2{gap:.5rem}.richtext-gap-3{gap:.75rem}.richtext-gap-4{gap:1rem}.richtext-gap-\[10px\]{gap:10px}.richtext-gap-\[4px\]{gap:4px}.richtext-gap-\[6px\]{gap:6px}.richtext-gap-x-1{column-gap:.25rem}.richtext-gap-y-1{row-gap:.25rem}.richtext-space-x-2>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(.5rem * var(--richtext-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--richtext-space-x-reverse)))}.richtext-space-x-4>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(1rem * var(--richtext-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--richtext-space-x-reverse)))}.richtext-space-y-1\.5>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(.375rem * var(--richtext-space-y-reverse))}.richtext-self-end{align-self:flex-end}.richtext-overflow-auto{overflow:auto}.richtext-overflow-hidden{overflow:hidden}.richtext-overflow-y-auto{overflow-y:auto}.richtext-overflow-x-hidden{overflow-x:hidden}.\!richtext-overflow-y-scroll{overflow-y:scroll!important}.richtext-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.richtext-whitespace-nowrap{white-space:nowrap}.richtext-break-all{word-break:break-all}.\!richtext-rounded-sm{border-radius:calc(var(--richtext-radius) - 4px)!important}.richtext-rounded-\[0\.5rem\]{border-radius:.5rem}.richtext-rounded-\[10px\]{border-radius:10px}.richtext-rounded-\[12px\]{border-radius:12px}.richtext-rounded-\[2px\]{border-radius:2px}.richtext-rounded-\[6px\]{border-radius:6px}.richtext-rounded-full{border-radius:9999px}.richtext-rounded-lg{border-radius:var(--richtext-radius)}.richtext-rounded-md{border-radius:calc(var(--richtext-radius) - 2px)}.richtext-rounded-sm{border-radius:calc(var(--richtext-radius) - 4px)}.\!richtext-border,.\!richtext-border-\[1px\]{border-width:1px!important}.richtext-border{border-width:1px}.richtext-border-2{border-width:2px}.richtext-border-\[1px\]{border-width:1px}.\!richtext-border-b{border-bottom-width:1px!important}.richtext-border-t{border-top-width:1px}.richtext-border-solid{border-style:solid}.\!richtext-border-border{border-color:hsl(var(--richtext-border))!important}.\!richtext-border-neutral-200{--richtext-border-opacity: 1 !important;border-color:rgb(229 229 229 / var(--richtext-border-opacity, 1))!important}.\!richtext-border-primary{border-color:hsl(var(--richtext-primary))!important}.richtext-border-\[\#ccc\]{--richtext-border-opacity: 1;border-color:rgb(204 204 204 / var(--richtext-border-opacity, 1))}.richtext-border-border{border-color:hsl(var(--richtext-border))}.richtext-border-destructive{border-color:hsl(var(--richtext-destructive))}.richtext-border-input{border-color:hsl(var(--richtext-input))}.richtext-border-neutral-200{--richtext-border-opacity: 1;border-color:rgb(229 229 229 / var(--richtext-border-opacity, 1))}.richtext-border-transparent{border-color:transparent}.\!richtext-bg-foreground{background-color:hsl(var(--richtext-foreground))!important}.\!richtext-bg-primary{background-color:hsl(var(--richtext-primary))!important}.\!richtext-bg-transparent{background-color:transparent!important}.\!richtext-bg-white{--richtext-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--richtext-bg-opacity, 1))!important}.richtext-bg-accent{background-color:hsl(var(--richtext-accent))}.richtext-bg-background{background-color:hsl(var(--richtext-background))}.richtext-bg-black\/80{background-color:#000c}.richtext-bg-border{background-color:hsl(var(--richtext-border))}.richtext-bg-destructive{background-color:hsl(var(--richtext-destructive))}.richtext-bg-muted{background-color:hsl(var(--richtext-muted))}.richtext-bg-popover{background-color:hsl(var(--richtext-popover))}.richtext-bg-secondary{background-color:hsl(var(--richtext-secondary))}.richtext-bg-transparent{background-color:transparent}.richtext-bg-white{--richtext-bg-opacity: 1;background-color:rgb(255 255 255 / var(--richtext-bg-opacity, 1))}.richtext-bg-opacity-10{--richtext-bg-opacity: .1}.richtext-fill-current{fill:currentColor}.\!richtext-p-0{padding:0!important}.\!richtext-p-2{padding:.5rem!important}.\!richtext-p-\[4px\]{padding:4px!important}.\!richtext-p-\[6px\]{padding:6px!important}.richtext-p-0{padding:0}.richtext-p-0\.5{padding:.125rem}.richtext-p-1{padding:.25rem}.richtext-p-2{padding:.5rem}.richtext-p-3{padding:.75rem}.richtext-p-4{padding:1rem}.richtext-p-6{padding:1.5rem}.richtext-p-\[10px\]{padding:10px}.richtext-px-1{padding-left:.25rem;padding-right:.25rem}.richtext-px-1\.5{padding-left:.375rem;padding-right:.375rem}.richtext-px-2{padding-left:.5rem;padding-right:.5rem}.richtext-px-3{padding-left:.75rem;padding-right:.75rem}.richtext-px-4{padding-left:1rem;padding-right:1rem}.richtext-px-5{padding-left:1.25rem;padding-right:1.25rem}.richtext-px-8{padding-left:2rem;padding-right:2rem}.richtext-px-\[5px\]{padding-left:5px;padding-right:5px}.richtext-py-0{padding-top:0;padding-bottom:0}.richtext-py-1{padding-top:.25rem;padding-bottom:.25rem}.richtext-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.richtext-py-2{padding-top:.5rem;padding-bottom:.5rem}.richtext-pl-10{padding-left:2.5rem}.richtext-pl-4{padding-left:1rem}.richtext-pl-8{padding-left:2rem}.richtext-pr-2{padding-right:.5rem}.richtext-pr-8{padding-right:2rem}.richtext-text-left{text-align:left}.richtext-text-center{text-align:center}.\!richtext-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.richtext-text-\[0\.65rem\]{font-size:.65rem}.richtext-text-lg{font-size:1.125rem;line-height:1.75rem}.richtext-text-sm{font-size:.875rem;line-height:1.25rem}.richtext-text-xs{font-size:.75rem;line-height:1rem}.richtext-font-medium{font-weight:500}.richtext-font-normal{font-weight:400}.richtext-font-semibold{font-weight:600}.richtext-uppercase{text-transform:uppercase}.richtext-leading-none{line-height:1}.richtext-tracking-tight{letter-spacing:-.025em}.richtext-tracking-wider{letter-spacing:.05em}.richtext-tracking-widest{letter-spacing:.1em}.\!richtext-text-black{--richtext-text-opacity: 1 !important;color:rgb(0 0 0 / var(--richtext-text-opacity, 1))!important}.\!richtext-text-current{color:currentColor!important}.\!richtext-text-neutral-500{--richtext-text-opacity: 1 !important;color:rgb(115 115 115 / var(--richtext-text-opacity, 1))!important}.\!richtext-text-neutral-800{--richtext-text-opacity: 1 !important;color:rgb(38 38 38 / var(--richtext-text-opacity, 1))!important}.\!richtext-text-primary-foreground{color:hsl(var(--richtext-primary-foreground))!important}.richtext-text-destructive-foreground{color:hsl(var(--richtext-destructive-foreground))}.richtext-text-foreground{color:hsl(var(--richtext-foreground))}.richtext-text-foreground\/50{color:hsl(var(--richtext-foreground) / .5)}.richtext-text-gray-500{--richtext-text-opacity: 1;color:rgb(107 114 128 / var(--richtext-text-opacity, 1))}.richtext-text-gray-800{--richtext-text-opacity: 1;color:rgb(31 41 55 / var(--richtext-text-opacity, 1))}.richtext-text-muted-foreground{color:hsl(var(--richtext-muted-foreground))}.richtext-text-neutral-600{--richtext-text-opacity: 1;color:rgb(82 82 82 / var(--richtext-text-opacity, 1))}.richtext-text-popover-foreground{color:hsl(var(--richtext-popover-foreground))}.richtext-text-primary{color:hsl(var(--richtext-primary))}.richtext-text-red-500{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.richtext-text-secondary-foreground{color:hsl(var(--richtext-secondary-foreground))}.richtext-text-zinc-500{--richtext-text-opacity: 1;color:rgb(113 113 122 / var(--richtext-text-opacity, 1))}.richtext-text-zinc-600{--richtext-text-opacity: 1;color:rgb(82 82 91 / var(--richtext-text-opacity, 1))}.richtext-underline{text-decoration-line:underline}.richtext-underline-offset-4{text-underline-offset:4px}.richtext-opacity-0{opacity:0}.richtext-opacity-50{opacity:.5}.richtext-opacity-60{opacity:.6}.richtext-opacity-70{opacity:.7}.richtext-opacity-90{opacity:.9}.richtext-shadow{--richtext-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 1px 3px 0 var(--richtext-shadow-color), 0 1px 2px -1px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-lg{--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-md{--richtext-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 4px 6px -1px var(--richtext-shadow-color), 0 2px 4px -2px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-sm{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-outline-none{outline:2px solid transparent;outline-offset:2px}.richtext-outline{outline-style:solid}.richtext-outline-1{outline-width:1px}.richtext-ring-0{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(0px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.\!richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--richtext-background)) !important}.richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--richtext-background))}.richtext-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-duration-200{transition-duration:.2s}.richtext-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--richtext-enter-opacity, 1);transform:translate3d(var(--richtext-enter-translate-x, 0),var(--richtext-enter-translate-y, 0),0) scale3d(var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1)) rotate(var(--richtext-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--richtext-exit-opacity, 1);transform:translate3d(var(--richtext-exit-translate-x, 0),var(--richtext-exit-translate-y, 0),0) scale3d(var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1)) rotate(var(--richtext-exit-rotate, 0))}}.richtext-animate-in{animation-name:enter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.richtext-fade-in-0{--richtext-enter-opacity: 0}.richtext-zoom-in-95{--richtext-enter-scale: .95}.richtext-duration-200{animation-duration:.2s}.richtext-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.\[transition-property\:top\,_left\]{transition-property:top,left}html body[data-scroll-locked]{--removed-body-scroll-bar-size: 0 !important;position:initial!important}.character-count--warning{color:var(--red)!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{z-index:0;padding:4rem 2rem 4rem 5rem;caret-color:#000;outline-width:0px}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror:is([class~=dark] *){caret-color:#fff}@media (min-width: 1024px){.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{padding-left:2rem;padding-right:2rem}}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{min-height:180px;padding:32px 80px}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder{width:fit-content;position:relative;background-color:#ffffff4d;--richtext-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia);backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia)}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{content:"";box-sizing:border-box;position:absolute;top:50%;left:50%;width:24px;height:24px;margin:-12px 0 0 -12px;display:inline-block}@keyframes richtext-spin{to{transform:rotate(360deg)}}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{animation:richtext-spin 1s linear infinite;border-radius:9999px;border-width:3px;border-color:currentColor;border-top-color:transparent}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper{margin:1em 0;overflow-x:auto}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table{overflow:hidden;display:table;margin:0 auto}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;z-index:10;width:.25rem;background-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .resize-cursor{cursor:"col-resize"}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell{border-style:double;border-color:#0003;background-color:#0000000d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell:is([class~=dark] *){border-color:#fff3;background-color:#ffffff1a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]{cursor:pointer;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.1s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode{background-color:#0000000d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode:is([class~=dark] *){background-color:#ffffff1a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode hr{border-top-color:#0000004d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode hr:is([class~=dark] *){border-top-color:#ffffff4d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode){background-color:#0000000d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode):is([class~=dark] *){background-color:#ffffff1a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view){background-color:#0000001a;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow);outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view):is([class~=dark] *){background-color:#fff3}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .selection:not(.image-view),.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror *:not(.image-view)::selection{background-color:#0000001a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .selection:not(.image-view):is([class~=dark] *),.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror *:not(.image-view):is([class~=dark] *)::selection{background-color:#fff3}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .is-empty:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .columns.is-empty:before{display:none!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror p.is-editor-empty:first-child:before{float:left;height:0;color:#adb5bd;pointer-events:none;width:100%;content:attr(data-placeholder)}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor{position:relative;margin-left:auto;margin-right:auto;width:100%;max-width:42rem}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:after{top:-1.5em;left:0;right:0;margin-left:auto;margin-right:auto;width:100%;max-width:42rem;border-top-color:#0006}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:is([class~=dark] *):after{border-top-color:#fff6}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view{display:inline-block;float:none;max-width:100%;line-height:0;vertical-align:baseline;-webkit-user-select:none;user-select:none}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body{position:relative;display:inline-block;max-width:100%;clear:both;outline:transparent solid 2px;transition:all .2s ease-in}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__button-wrap{display:none;justify-content:center;align-items:center;position:absolute;top:9px;right:9px;background:#26262699;border-radius:8px;z-index:4}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover{outline-color:#ffc83d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover .image-view__body__button-wrap{display:block}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--focused:hover,.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--resizing:hover{outline-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__placeholder{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__image{margin:0;cursor:pointer!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view .image-view__body--focused{outline-color:hsl(var(--richtext-primary))!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view.focus img{outline-style:solid;outline-width:2px;outline-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view img{display:inline;vertical-align:baseline}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;border-width:1px!important;border-color:hsl(var(--richtext-border))!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler{position:absolute;z-index:2;box-sizing:border-box;display:block;width:12px;height:12px;border:1px solid #fff;border-radius:2px;background-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tl{top:-6px;left:-6px;cursor:nw-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tr{top:-6px;right:-6px;cursor:ne-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--bl{bottom:-6px;left:-6px;cursor:sw-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--br{right:-6px;bottom:-6px;cursor:se-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor.dense .ProseMirror{min-height:32px;padding:6px 12px}.reactjs-tiptap-editor.reactjs-tiptap-editor.dense p{padding:0;line-height:1.2rem}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror[contenteditable=true].resize-cursor{cursor:col-resize}.slash-command-active.slash-command-active{background-color:hsl(var(--richtext-accent))!important}[data-dui-1-3-5~=dui-tooltip-wrapper]{display:inline-block;position:relative}.heading-0{font-weight:700;font-size:16px}.heading-1{font-weight:700;font-size:28px;line-height:1.6}.heading-2{font-weight:700;font-size:24px;line-height:1.6}.heading-3{font-size:20px;font-weight:700;line-height:1.6}.heading-4{font-size:16px;font-weight:700;line-height:1.6}.heading-5,.heading-6{font-size:14px;font-weight:700;line-height:1.6}.tableCellActive{border-radius:2px!important;transition:all .1s ease-in-out}.tableCellActive>div{border:unset!important}.node-tableOfContents.focus{border-width:1px;border-radius:6px}div[data-twitter]>div{margin:10px auto}.react-renderer.node-twitter.focus{border-width:1px;border-radius:6px}.ProseMirror p{margin-bottom:.375rem;line-height:1.625}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror>p{margin-bottom:.375rem}.ProseMirror>p:first-child{margin-top:0}.ProseMirror>p:last-child{margin-bottom:0}.ProseMirror h1{font-size:1.875rem;line-height:2.25rem}.ProseMirror h2{font-size:1.5rem;line-height:2rem}.ProseMirror h3{font-size:1.25rem;line-height:1.75rem}.ProseMirror h4{font-size:1.125rem;line-height:1.75rem}.ProseMirror h5{font-size:1rem;line-height:1.5rem}.ProseMirror h6{font-size:.875rem;line-height:1.25rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{font-weight:700}.ProseMirror h1:first-child,.ProseMirror h2:first-child,.ProseMirror h3:first-child,.ProseMirror h4:first-child,.ProseMirror h5:first-child,.ProseMirror h6:first-child{margin-top:0}.ProseMirror h1:last-child,.ProseMirror h2:last-child,.ProseMirror h3:last-child,.ProseMirror h4:last-child,.ProseMirror h5:last-child,.ProseMirror h6:last-child{margin-bottom:0}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{margin-top:3rem}.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{margin-top:2rem}.ProseMirror a.link{font-weight:800;--richtext-text-opacity: 1;color:rgb(59 130 246 / var(--richtext-text-opacity, 1))}.ProseMirror a.link:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(96 165 250 / var(--richtext-text-opacity, 1))}.ProseMirror mark{border-radius:calc(var(--richtext-radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(239 68 68 / var(--richtext-bg-opacity, 1));-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-top:.25rem;padding-bottom:.25rem;padding-left:0;padding-right:0;color:inherit}.ProseMirror mark:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.ProseMirror img{height:auto;max-width:100%}.ProseMirror *[data-indent="1"]{text-indent:2em!important}.ProseMirror *[data-indent="2"]{text-indent:4em!important}.ProseMirror *[data-indent="3"]{text-indent:6em!important}.ProseMirror *[data-indent="4"]{text-indent:8em!important}.ProseMirror *[data-indent="5"]{text-indent:10em!important}.ProseMirror *[data-indent="6"]{text-indent:12em!important}.ProseMirror *[data-indent="7"]{text-indent:14em!important}.ProseMirror iframe{border-width:1px!important;margin-top:.5rem;height:400px;width:100%;border-radius:calc(var(--richtext-radius) - 4px);border-color:hsl(var(--richtext-border))}.ProseMirror [data-type=horizontalRule]{margin-top:2rem;margin-bottom:2rem;padding-top:1rem;padding-bottom:1rem}.ProseMirror [data-type=horizontalRule] hr{border-width:0px;border-top-width:1px;border-color:#0003;background-color:#000c}.ProseMirror [data-type=horizontalRule] hr:is([class~=dark] *){border-color:#fff3;background-color:#fffc}.ProseMirror .blockquote{border-radius:var(--richtext-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:4px;--richtext-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: .8;padding:.5rem 1rem;--richtext-text-opacity: 1;color:rgb(0 0 0 / var(--richtext-text-opacity, 1))}.ProseMirror .blockquote:is([class~=dark] *){--richtext-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--richtext-border-opacity, 1));--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1))}.ProseMirror code{border-radius:calc(var(--richtext-radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1));font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff;--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror code::selection{background-color:#ffffff4d}.ProseMirror pre{margin-top:3rem;margin-bottom:3rem;border-radius:.25rem;border-width:1px!important;--richtext-border-opacity: 1;border-color:rgb(0 0 0 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: 1;background-color:rgb(64 64 64 / var(--richtext-bg-opacity, 1));padding:1rem;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff}.ProseMirror pre:is([class~=dark] *){--richtext-border-opacity: 1;border-color:rgb(38 38 38 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1))}.ProseMirror pre *::selection{background-color:#fff3}.ProseMirror pre code{background-color:inherit;padding:0;color:inherit;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror ol{list-style-type:decimal}.ProseMirror ul{list-style-type:disc}.ProseMirror ul,.ProseMirror ol{margin-top:1.5rem;margin-bottom:1.5rem;padding-top:0;padding-bottom:0;padding-left:2rem;padding-right:2rem}.ProseMirror ul:first-child,.ProseMirror ol:first-child{margin-top:0}.ProseMirror ul:last-child,.ProseMirror ol:last-child{margin-bottom:0}.ProseMirror ul ul,.ProseMirror ul ol,.ProseMirror ul li,.ProseMirror ol ul,.ProseMirror ol ol,.ProseMirror ol li{margin-top:.25rem;margin-bottom:.25rem}.ProseMirror ul p,.ProseMirror ol p{margin-top:0;margin-bottom:.25rem}.ProseMirror>ul,.ProseMirror>ol{margin-top:2rem;margin-bottom:2rem}.ProseMirror>ul:first-child,.ProseMirror>ol:first-child{margin-top:0}.ProseMirror>ul:last-child,.ProseMirror>ol:last-child{margin-bottom:0}.ProseMirror ul[data-type=taskList]{list-style-type:none;padding:0}.ProseMirror ul[data-type=taskList] p{margin:0}.ProseMirror ul[data-type=taskList] li{display:flex}.ProseMirror ul[data-type=taskList] li>label{margin-right:.5rem;display:inline;flex:1 1 auto;flex-shrink:0;flex-grow:0;-webkit-user-select:none;user-select:none}.ProseMirror ul[data-type=taskList] li>div{flex:1 1 auto}.ProseMirror ul[data-type=taskList] li[data-checked=true]{text-decoration-line:line-through}.ProseMirror table{border:1px solid;box-sizing:border-box;display:block;table-layout:fixed;border-collapse:collapse;overflow-x:auto;overflow-y:hidden;border-color:#0000001a}.ProseMirror table:is([class~=dark] *){border-color:#fff3}.ProseMirror table td,.ProseMirror table th{border:1px solid;border-width:1px!important;position:relative;box-sizing:border-box;min-width:1em;border-color:#0000001a;padding:.5rem;text-align:left;vertical-align:top}.ProseMirror table td:is([class~=dark] *),.ProseMirror table th:is([class~=dark] *){border-color:#fff3}.ProseMirror table td:first-of-type:not(a),.ProseMirror table th:first-of-type:not(a){margin-top:0}.ProseMirror table td p,.ProseMirror table th p{margin:0}.ProseMirror table td p+p,.ProseMirror table th p+p{margin-top:.75rem}.ProseMirror table th{text-align:left;font-weight:700}.ProseMirror .search-result{background:#c4eed0}.ProseMirror .search-result-current{background:#6cd58b}.columns{display:flex;width:100%;gap:8px;margin-top:.75em}.columns .column{min-width:0;padding:12px;border-width:1px;border-style:solid;border-color:hsl(var(--richtext-border));border-radius:2px;flex:1 1 0%;box-sizing:border-box}.columns .column p:first-of-type{margin-top:0}.mention{padding:2px 6px;color:#fff;background-color:#666e76;border-radius:6px}.file\:richtext-border-0::file-selector-button{border-width:0px}.file\:richtext-bg-transparent::file-selector-button{background-color:transparent}.file\:richtext-text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:richtext-font-medium::file-selector-button{font-weight:500}.placeholder\:richtext-text-muted-foreground::placeholder{color:hsl(var(--richtext-muted-foreground))}.first\:richtext-mt-0\.5:first-child{margin-top:.125rem}.last\:richtext-pb-2:last-child{padding-bottom:.5rem}.hover\:richtext-cursor-pointer:hover{cursor:pointer}.hover\:richtext-border-border:hover{border-color:hsl(var(--richtext-border))}.hover\:\!richtext-bg-accent:hover{background-color:hsl(var(--richtext-accent))!important}.hover\:\!richtext-bg-primary\/90:hover{background-color:hsl(var(--richtext-primary) / .9)!important}.hover\:richtext-bg-accent:hover{background-color:hsl(var(--richtext-accent))}.hover\:richtext-bg-destructive\/90:hover{background-color:hsl(var(--richtext-destructive) / .9)}.hover\:richtext-bg-muted:hover{background-color:hsl(var(--richtext-muted))}.hover\:richtext-bg-red-400:hover{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.hover\:richtext-bg-secondary:hover{background-color:hsl(var(--richtext-secondary))}.hover\:richtext-bg-secondary\/80:hover{background-color:hsl(var(--richtext-secondary) / .8)}.hover\:richtext-bg-opacity-20:hover{--richtext-bg-opacity: .2}.hover\:richtext-text-accent-foreground:hover{color:hsl(var(--richtext-accent-foreground))}.hover\:richtext-text-foreground:hover{color:hsl(var(--richtext-foreground))}.hover\:richtext-text-muted-foreground:hover{color:hsl(var(--richtext-muted-foreground))}.hover\:richtext-underline:hover{text-decoration-line:underline}.hover\:richtext-opacity-100:hover{opacity:1}.hover\:richtext-shadow-sm:hover{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.focus\:richtext-bg-accent:focus{background-color:hsl(var(--richtext-accent))}.focus\:richtext-bg-red-400:focus{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.focus\:richtext-bg-opacity-30:focus{--richtext-bg-opacity: .3}.focus\:richtext-text-accent-foreground:focus{color:hsl(var(--richtext-accent-foreground))}.focus\:richtext-text-red-500:focus{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.focus\:richtext-opacity-100:focus{opacity:1}.focus\:richtext-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:richtext-ring-2:focus{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus\:richtext-ring-ring:focus{--richtext-ring-color: hsl(var(--richtext-ring))}.focus\:richtext-ring-offset-2:focus{--richtext-ring-offset-width: 2px}.focus-visible\:\!richtext-outline-none:focus-visible{outline:2px solid transparent!important;outline-offset:2px!important}.focus-visible\:richtext-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:\!richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color) !important;--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color) !important;box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)!important}.focus-visible\:richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus-visible\:\!richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--richtext-ring)) !important}.focus-visible\:richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--richtext-ring))}.focus-visible\:\!richtext-ring-offset-2:focus-visible{--richtext-ring-offset-width: 2px !important}.focus-visible\:richtext-ring-offset-2:focus-visible{--richtext-ring-offset-width: 2px}.focus-visible\:richtext-ring-offset-background:focus-visible{--richtext-ring-offset-color: hsl(var(--richtext-background))}.disabled\:richtext-pointer-events-none:disabled{pointer-events:none}.disabled\:\!richtext-cursor-not-allowed:disabled{cursor:not-allowed!important}.disabled\:richtext-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:\!richtext-opacity-50:disabled{opacity:.5!important}.disabled\:richtext-opacity-50:disabled{opacity:.5}.richtext-group:hover .group-hover\:richtext-opacity-100{opacity:1}.richtext-group.destructive .group-\[\.destructive\]\:richtext-border-muted\/40{border-color:hsl(var(--richtext-muted) / .4)}.richtext-group.destructive .group-\[\.destructive\]\:richtext-text-red-300{--richtext-text-opacity: 1;color:rgb(252 165 165 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-border-destructive\/30:hover{border-color:hsl(var(--richtext-destructive) / .3)}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-bg-destructive:hover{background-color:hsl(var(--richtext-destructive))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-destructive-foreground:hover{color:hsl(var(--richtext-destructive-foreground))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-red-50:hover{--richtext-text-opacity: 1;color:rgb(254 242 242 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-destructive:focus{--richtext-ring-color: hsl(var(--richtext-destructive))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-red-400:focus{--richtext-ring-opacity: 1;--richtext-ring-color: rgb(248 113 113 / var(--richtext-ring-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-offset-red-600:focus{--richtext-ring-offset-color: #dc2626}.richtext-peer:disabled~.peer-disabled\:richtext-cursor-not-allowed{cursor:not-allowed}.richtext-peer:disabled~.peer-disabled\:richtext-opacity-70{opacity:.7}.data-\[disabled\]\:richtext-pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:richtext-translate-y-1[data-side=bottom]{--richtext-translate-y: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=left\]\:richtext--translate-x-1[data-side=left]{--richtext-translate-x: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=right\]\:richtext-translate-x-1[data-side=right]{--richtext-translate-x: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=top\]\:richtext--translate-y-1[data-side=top]{--richtext-translate-y: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=checked\]\:richtext-translate-x-5[data-state=checked]{--richtext-translate-x: 1.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=unchecked\]\:richtext-translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:richtext-translate-x-0[data-swipe=cancel]{--richtext-translate-x: 0px;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=end\]\:richtext-translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--richtext-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=move\]\:richtext-translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--richtext-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=active\]\:richtext-bg-background[data-state=active]{background-color:hsl(var(--richtext-background))}.data-\[state\=checked\]\:\!richtext-bg-primary[data-state=checked]{background-color:hsl(var(--richtext-primary))!important}.data-\[state\=checked\]\:richtext-bg-primary[data-state=checked]{background-color:hsl(var(--richtext-primary))}.data-\[state\=on\]\:richtext-bg-accent[data-state=on],.data-\[state\=open\]\:richtext-bg-accent[data-state=open]{background-color:hsl(var(--richtext-accent))}.data-\[state\=unchecked\]\:richtext-bg-input[data-state=unchecked]{background-color:hsl(var(--richtext-input))}.data-\[state\=active\]\:richtext-text-foreground[data-state=active]{color:hsl(var(--richtext-foreground))}.data-\[state\=checked\]\:\!richtext-text-primary-foreground[data-state=checked]{color:hsl(var(--richtext-primary-foreground))!important}.data-\[state\=on\]\:richtext-text-accent-foreground[data-state=on]{color:hsl(var(--richtext-accent-foreground))}.data-\[state\=open\]\:richtext-text-muted-foreground[data-state=open]{color:hsl(var(--richtext-muted-foreground))}.data-\[disabled\]\:richtext-opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:richtext-shadow-sm[data-state=active]{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.data-\[swipe\=move\]\:richtext-transition-none[data-swipe=move]{transition-property:none}.data-\[state\=open\]\:richtext-animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.data-\[state\=closed\]\:richtext-animate-out[data-state=closed],.data-\[swipe\=end\]\:richtext-animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--richtext-exit-opacity: initial;--richtext-exit-scale: initial;--richtext-exit-rotate: initial;--richtext-exit-translate-x: initial;--richtext-exit-translate-y: initial}.data-\[state\=closed\]\:richtext-fade-out-0[data-state=closed]{--richtext-exit-opacity: 0}.data-\[state\=closed\]\:richtext-fade-out-80[data-state=closed]{--richtext-exit-opacity: .8}.data-\[state\=open\]\:richtext-fade-in-0[data-state=open]{--richtext-enter-opacity: 0}.data-\[state\=closed\]\:richtext-zoom-out-95[data-state=closed]{--richtext-exit-scale: .95}.data-\[state\=open\]\:richtext-zoom-in-95[data-state=open]{--richtext-enter-scale: .95}.data-\[side\=bottom\]\:richtext-slide-in-from-top-2[data-side=bottom]{--richtext-enter-translate-y: -.5rem}.data-\[side\=left\]\:richtext-slide-in-from-right-2[data-side=left]{--richtext-enter-translate-x: .5rem}.data-\[side\=right\]\:richtext-slide-in-from-left-2[data-side=right]{--richtext-enter-translate-x: -.5rem}.data-\[side\=top\]\:richtext-slide-in-from-bottom-2[data-side=top]{--richtext-enter-translate-y: .5rem}.data-\[state\=closed\]\:richtext-slide-out-to-left-1\/2[data-state=closed]{--richtext-exit-translate-x: -50%}.data-\[state\=closed\]\:richtext-slide-out-to-right-full[data-state=closed]{--richtext-exit-translate-x: 100%}.data-\[state\=closed\]\:richtext-slide-out-to-top-\[48\%\][data-state=closed]{--richtext-exit-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-left-1\/2[data-state=open]{--richtext-enter-translate-x: -50%}.data-\[state\=open\]\:richtext-slide-in-from-top-\[48\%\][data-state=open]{--richtext-enter-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-top-full[data-state=open]{--richtext-enter-translate-y: -100%}.dark\:\!richtext-border-neutral-800:is([class~=dark] *){--richtext-border-opacity: 1 !important;border-color:rgb(38 38 38 / var(--richtext-border-opacity, 1))!important}.dark\:richtext-border-neutral-800:is([class~=dark] *){--richtext-border-opacity: 1;border-color:rgb(38 38 38 / var(--richtext-border-opacity, 1))}.dark\:\!richtext-bg-black:is([class~=dark] *){--richtext-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--richtext-bg-opacity, 1))!important}.dark\:richtext-bg-black:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(0 0 0 / var(--richtext-bg-opacity, 1))}.dark\:\!richtext-text-neutral-200:is([class~=dark] *){--richtext-text-opacity: 1 !important;color:rgb(229 229 229 / var(--richtext-text-opacity, 1))!important}.dark\:richtext-text-gray-100:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(243 244 246 / var(--richtext-text-opacity, 1))}.dark\:richtext-text-neutral-200:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(229 229 229 / var(--richtext-text-opacity, 1))}.dark\:hover\:richtext-bg-opacity-20:hover:is([class~=dark] *){--richtext-bg-opacity: .2}.dark\:hover\:richtext-text-red-500:hover:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}@media (min-width: 640px){.sm\:richtext-bottom-0{bottom:0}.sm\:richtext-right-0{right:0}.sm\:richtext-top-auto{top:auto}.sm\:richtext-flex-row{flex-direction:row}.sm\:richtext-flex-col{flex-direction:column}.sm\:richtext-justify-end{justify-content:flex-end}.sm\:richtext-space-x-2>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(.5rem * var(--richtext-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--richtext-space-x-reverse)))}.sm\:richtext-rounded-lg{border-radius:var(--richtext-radius)}.sm\:richtext-text-left{text-align:left}.data-\[state\=open\]\:sm\:richtext-slide-in-from-bottom-full[data-state=open]{--richtext-enter-translate-y: 100%}}@media (min-width: 768px){.md\:richtext-max-w-\[420px\]{max-width:420px}}.\[\&\>span\]\:richtext-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}._wrap_134f4_1{position:relative}._wrap_134f4_1 code{margin:0!important}._wrap_134f4_1 pre{margin:10px 0!important}._wrap_134f4_1._maxHeight_134f4_10 code{max-height:370px}._wrap_134f4_1:hover ._btnCopy_134f4_13,._wrap_134f4_1:hover ._btnDelete_134f4_14{opacity:1}._blockInfo_134f4_18{display:flex;align-items:center;position:absolute;z-index:2;top:5px;right:5px;gap:8px}._blockInfoEditable_134f4_28{display:none}._selectLang_134f4_32{cursor:pointer;transition:all .3s;border-radius:4px;border-width:0px!important}._selectLang_134f4_32>button{padding:0!important;height:initial!important;outline:none!important;border:none!important;outline-offset:0px!important;color:#fff!important}._selectLang_134f4_32 ._richtext-SelectContent_134f4_46{max-height:200px;overflow-y:auto}._btnCopy_134f4_13{color:#ebebebbf;cursor:pointer;transition:all .3s;opacity:0}._copied_134f4_58{color:#7dcf02}._btnDelete_134f4_14{color:#ebebebbf;cursor:pointer;transition:all .3s;opacity:0}._btnDelete_134f4_14:hover{color:#ff4d4f}._toc_aag8a_1{width:max-content;max-width:100%;border-radius:.5rem;opacity:.75}._toc_aag8a_1._visible_aag8a_7{padding:.75rem;margin:.75em 0}._toc_aag8a_1 ._list_aag8a_11{padding:0;margin:0 0 12px;list-style:none}._toc_aag8a_1 ._item_aag8a_16 a:hover{opacity:.5}._toc_aag8a_1 ._item--3_aag8a_19{padding-left:1rem}._toc_aag8a_1 ._item--4_aag8a_22{padding-left:2rem}._toc_aag8a_1 ._item--5_aag8a_25{padding-left:3rem}._toc_aag8a_1 ._item--6_aag8a_28{padding-left:4rem}._listUsers_en3pm_1{width:160px;max-height:320px;overflow-x:hidden;overflow-y:auto;border-radius:4px;box-shadow:#091e424f 0 0 1px,#091e4240 0 4px 8px -2px}._itemUser_en3pm_10{display:flex;width:100%;padding:12px 12px 11px;color:#091e42;text-decoration:none;cursor:pointer;background-color:#fff;border:0;border-radius:0;flex:0 0 auto;align-items:center}._itemUser_en3pm_10:hover{background-color:#f4f5f7}._itemUser_en3pm_10 img{width:1em;height:1em}._selectedUser_en3pm_31{color:#0052cc;text-decoration:none;background-color:#deebff;fill:#deebff}._attachment_1x1ms_1,._wrap_1x1ms_2{border-width:1px!important;border-radius:4px;padding:10px;display:flex;align-items:center;justify-content:space-between;margin:10px 0}._attachment_1x1ms_1 .attachment__icon,._wrap_1x1ms_2 .attachment__icon{width:32px;text-align:center}._attachment_1x1ms_1 .attachment__icon svg,._wrap_1x1ms_2 .attachment__icon svg{width:32px;display:inline-block}
|
|
1
|
+
._wrap_15k3c_1{position:relative;max-width:100%;overflow:visible;line-height:0}._wrap_15k3c_1 ._renderWrap_15k3c_7{border:1px dashed hsl(var(--richtext-border))!important;border-radius:6px}._wrap_15k3c_1 ._renderWrap_15k3c_7:after{background-color:transparent!important}._wrap_15k3c_1 ._title_15k3c_14{position:absolute;top:10px;left:10px;z-index:2}._wrap_15k3c_1 ._title_15k3c_14 ._icon_15k3c_20{display:flex;width:18px;height:18px;color:#fff;background-color:#f80;border-radius:2px;justify-content:center;align-items:center}._wrap_15k3c_1 ._handlerWrap_15k3c_30{position:absolute;right:10px;bottom:10px;z-index:2;padding:2px 4px;border:1px solid hsl(var(--richtext-border));border-radius:6px}._wrap_5y04w_1{display:flex;height:100%;max-width:100%;overflow:hidden;line-height:0;flex-direction:column;border:1px dashed hsl(var(--richtext-border))!important;border-radius:6px}._wrap_5y04w_1 ._handlerWrap_5y04w_11{display:flex;padding:10px}._wrap_5y04w_1 ._innerWrap_5y04w_15{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--richtext-border-radius);flex:1}._wrap_5y04w_1 ._emptyWrap_5y04w_23{display:flex;height:100%;justify-content:center;align-items:center}._wrap_5y04w_1 iframe{width:100%;height:100%;border:0;border:none!important}:root{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }::backdrop{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }:root{--richtext-background: 0 0% 100%;--richtext-foreground: 240 10% 3.9%;--richtext-muted: 240 4.8% 95.9%;--richtext-muted-foreground: 240 3.8% 46.1%;--richtext-popover: 0 0% 100%;--richtext-popover-foreground: 240 10% 3.9%;--richtext-card: 0 0% 100%;--richtext-card-foreground: 240 10% 3.9%;--richtext-border: 240 5.9% 90%;--richtext-input: 240 5.9% 90%;--richtext-primary: 240 5.9% 10%;--richtext-primary-foreground: 0 0% 98%;--richtext-secondary: 240 4.8% 95.9%;--richtext-secondary-foreground: 240 5.9% 10%;--richtext-accent: 0 0% 88.24%;--richtext-accent-foreground: 240 5.9% 10%;--richtext-destructive: 0 84.2% 60.2%;--richtext-destructive-foreground: 0 0% 98%;--richtext-ring: 240 10% 3.9%;--richtext-radius: .5rem;--red: #FF5C33}.dark{--richtext-background: 240 10% 3.9%;--richtext-foreground: 0 0% 98%;--richtext-muted: 240 3.7% 15.9%;--richtext-muted-foreground: 240 5% 64.9%;--richtext-popover: 240 10% 3.9%;--richtext-popover-foreground: 0 0% 98%;--richtext-card: 240 10% 3.9%;--richtext-card-foreground: 0 0% 98%;--richtext-border: 240 3.7% 15.9%;--richtext-input: 240 3.7% 15.9%;--richtext-primary: 0 0% 98%;--richtext-primary-foreground: 240 5.9% 10%;--richtext-secondary: 240 3.7% 15.9%;--richtext-secondary-foreground: 0 0% 98%;--richtext-accent: 240 3.7% 15.9%;--richtext-accent-foreground: 0 0% 98%;--richtext-destructive: 0 62.8% 30.6%;--richtext-destructive-foreground: 0 0% 98%;--richtext-ring: 240 4.9% 83.9%;--red: #FF5C33}.richtext-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.richtext-pointer-events-none{pointer-events:none}.richtext-pointer-events-auto{pointer-events:auto}.richtext-fixed{position:fixed}.richtext-absolute{position:absolute}.richtext-relative{position:relative}.richtext-inset-0{top:0;right:0;bottom:0;left:0}.richtext-inset-y-0{top:0;bottom:0}.richtext-left-0{left:0}.richtext-left-2{left:.5rem}.richtext-left-\[1px\]{left:1px}.richtext-left-\[50\%\]{left:50%}.richtext-right-2{right:.5rem}.richtext-right-4{right:1rem}.richtext-start-0{inset-inline-start:0px}.richtext-top-0{top:0}.richtext-top-2{top:.5rem}.richtext-top-4{top:1rem}.richtext-top-\[-1px\]{top:-1px}.richtext-top-\[50\%\]{top:50%}.richtext-z-0{z-index:0}.richtext-z-50{z-index:50}.richtext-z-\[100\]{z-index:100}.richtext-z-\[1\]{z-index:1}.richtext-z-\[99999\]{z-index:99999}.richtext-col-\[1\/-1\]{grid-column:1/-1}.\!richtext-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.\!richtext-mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.\!richtext-mx-\[10px\]{margin-left:10px!important;margin-right:10px!important}.\!richtext-my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.richtext--mx-1{margin-left:-.25rem;margin-right:-.25rem}.richtext-mx-2{margin-left:.5rem;margin-right:.5rem}.richtext-mx-\[auto\]{margin-left:auto;margin-right:auto}.richtext-my-1{margin-top:.25rem;margin-bottom:.25rem}.richtext-my-\[10px\]{margin-top:10px;margin-bottom:10px}.richtext-my-\[12px\]{margin-top:12px;margin-bottom:12px}.richtext-my-\[5px\]{margin-top:5px;margin-bottom:5px}.\!richtext-mr-1{margin-right:.25rem!important}.richtext-mb-8{margin-bottom:2rem}.richtext-mb-\[10px\]{margin-bottom:10px}.richtext-mb-\[16px\]{margin-bottom:16px}.richtext-mb-\[5px\]{margin-bottom:5px}.richtext-mb-\[6px\]{margin-bottom:6px}.richtext-mb-\[8px\]{margin-bottom:8px}.richtext-ml-1{margin-left:.25rem}.richtext-ml-\[4px\]{margin-left:4px}.richtext-ml-auto{margin-left:auto}.richtext-mt-1{margin-top:.25rem}.richtext-mt-2{margin-top:.5rem}.richtext-mt-\[8px\]{margin-top:8px}.richtext-box-border{box-sizing:border-box}.richtext-block{display:block}.richtext-inline-block{display:inline-block}.\!richtext-flex{display:flex!important}.richtext-flex{display:flex}.richtext-inline-flex{display:inline-flex}.richtext-grid{display:grid}.richtext-size-5{width:1.25rem;height:1.25rem}.\!richtext-h-3{height:.75rem!important}.\!richtext-h-4{height:1rem!important}.\!richtext-h-\[16px\]{height:16px!important}.\!richtext-h-\[32px\]{height:32px!important}.\!richtext-h-auto{height:auto!important}.richtext-h-10{height:2.5rem}.richtext-h-11{height:2.75rem}.richtext-h-12{height:3rem}.richtext-h-2{height:.5rem}.richtext-h-3{height:.75rem}.richtext-h-3\.5{height:.875rem}.richtext-h-4{height:1rem}.richtext-h-5{height:1.25rem}.richtext-h-6{height:1.5rem}.richtext-h-7{height:1.75rem}.richtext-h-8{height:2rem}.richtext-h-9{height:2.25rem}.richtext-h-\[18px\]{height:18px}.richtext-h-\[1em\]{height:1em}.richtext-h-\[1px\]{height:1px}.richtext-h-\[26px\]{height:26px}.richtext-h-\[28px\]{height:28px}.richtext-h-\[32px\]{height:32px}.richtext-h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.richtext-h-auto{height:auto}.richtext-h-full{height:100%}.richtext-h-px{height:1px}.\!richtext-max-h-\[180px\]{max-height:180px!important}.richtext-max-h-60{max-height:15rem}.richtext-max-h-96{max-height:24rem}.richtext-max-h-\[280px\]{max-height:280px}.richtext-max-h-\[320px\]{max-height:320px}.richtext-max-h-\[min\(80vh\,24rem\)\]{max-height:min(80vh,24rem)}.richtext-max-h-full{max-height:100%}.richtext-max-h-screen{max-height:100vh}.richtext-min-h-\[80px\]{min-height:80px}.\!richtext-w-12{width:3rem!important}.\!richtext-w-3{width:.75rem!important}.\!richtext-w-4{width:1rem!important}.richtext-w-10{width:2.5rem}.richtext-w-11{width:2.75rem}.richtext-w-2{width:.5rem}.richtext-w-3{width:.75rem}.richtext-w-3\.5{width:.875rem}.richtext-w-32{width:8rem}.richtext-w-4{width:1rem}.richtext-w-48{width:12rem}.richtext-w-5{width:1.25rem}.richtext-w-6{width:1.5rem}.richtext-w-7{width:1.75rem}.richtext-w-72{width:18rem}.richtext-w-80{width:20rem}.richtext-w-\[18px\]{width:18px}.richtext-w-\[1em\]{width:1em}.richtext-w-\[1px\]{width:1px}.richtext-w-\[200px\]{width:200px}.richtext-w-\[28px\]{width:28px}.richtext-w-\[32px\]{width:32px}.richtext-w-\[60px\]{width:60px}.richtext-w-auto{width:auto}.richtext-w-fit{width:fit-content}.richtext-w-full{width:100%}.richtext-min-w-24{min-width:6rem}.richtext-min-w-32{min-width:8rem}.richtext-min-w-4{min-width:1rem}.richtext-min-w-48{min-width:12rem}.richtext-min-w-\[8rem\]{min-width:8rem}.richtext-min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.\!richtext-max-w-\[1300px\]{max-width:1300px!important}.richtext-max-w-24{max-width:6rem}.richtext-max-w-\[286px\]{max-width:286px}.richtext-max-w-\[600px\]{max-width:600px}.richtext-max-w-lg{max-width:32rem}.richtext-max-w-sm{max-width:24rem}.richtext-flex-1{flex:1 1 0%}.richtext-flex-\[0_0_auto\]{flex:0 0 auto}.richtext-flex-shrink-0{flex-shrink:0}.\!richtext-shrink-0{flex-shrink:0!important}.richtext-shrink-0{flex-shrink:0}.richtext-flex-grow{flex-grow:1}.richtext-translate-x-\[-50\%\]{--richtext-translate-x: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.richtext-translate-y-\[-50\%\]{--richtext-translate-y: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.richtext-cursor-default{cursor:default}.richtext-cursor-grab{cursor:grab}.richtext-cursor-pointer{cursor:pointer}.richtext-select-none{-webkit-user-select:none;user-select:none}.richtext-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.richtext-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.richtext-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.richtext-flex-row{flex-direction:row}.richtext-flex-col{flex-direction:column}.richtext-flex-col-reverse{flex-direction:column-reverse}.richtext-flex-wrap{flex-wrap:wrap}.richtext-flex-nowrap{flex-wrap:nowrap}.\!richtext-items-center{align-items:center!important}.richtext-items-center{align-items:center}.richtext-justify-start{justify-content:flex-start}.richtext-justify-end{justify-content:flex-end}.\!richtext-justify-center{justify-content:center!important}.richtext-justify-center{justify-content:center}.richtext-justify-between{justify-content:space-between}.richtext-gap-0\.5{gap:.125rem}.richtext-gap-1{gap:.25rem}.richtext-gap-1\.5{gap:.375rem}.richtext-gap-2{gap:.5rem}.richtext-gap-3{gap:.75rem}.richtext-gap-4{gap:1rem}.richtext-gap-\[10px\]{gap:10px}.richtext-gap-\[4px\]{gap:4px}.richtext-gap-\[6px\]{gap:6px}.richtext-gap-x-1{column-gap:.25rem}.richtext-gap-y-1{row-gap:.25rem}.richtext-space-x-2>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(.5rem * var(--richtext-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--richtext-space-x-reverse)))}.richtext-space-x-4>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(1rem * var(--richtext-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--richtext-space-x-reverse)))}.richtext-space-y-1\.5>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(.375rem * var(--richtext-space-y-reverse))}.richtext-self-end{align-self:flex-end}.richtext-overflow-auto{overflow:auto}.richtext-overflow-hidden{overflow:hidden}.richtext-overflow-y-auto{overflow-y:auto}.richtext-overflow-x-hidden{overflow-x:hidden}.\!richtext-overflow-y-scroll{overflow-y:scroll!important}.richtext-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.richtext-whitespace-nowrap{white-space:nowrap}.richtext-break-all{word-break:break-all}.\!richtext-rounded-sm{border-radius:calc(var(--richtext-radius) - 4px)!important}.richtext-rounded-\[0\.5rem\]{border-radius:.5rem}.richtext-rounded-\[10px\]{border-radius:10px}.richtext-rounded-\[12px\]{border-radius:12px}.richtext-rounded-\[2px\]{border-radius:2px}.richtext-rounded-\[6px\]{border-radius:6px}.richtext-rounded-full{border-radius:9999px}.richtext-rounded-lg{border-radius:var(--richtext-radius)}.richtext-rounded-md{border-radius:calc(var(--richtext-radius) - 2px)}.richtext-rounded-sm{border-radius:calc(var(--richtext-radius) - 4px)}.\!richtext-border,.\!richtext-border-\[1px\]{border-width:1px!important}.richtext-border{border-width:1px}.richtext-border-2{border-width:2px}.richtext-border-\[1px\]{border-width:1px}.\!richtext-border-b{border-bottom-width:1px!important}.richtext-border-t{border-top-width:1px}.richtext-border-solid{border-style:solid}.\!richtext-border-border{border-color:hsl(var(--richtext-border))!important}.\!richtext-border-neutral-200{--richtext-border-opacity: 1 !important;border-color:rgb(229 229 229 / var(--richtext-border-opacity, 1))!important}.\!richtext-border-primary{border-color:hsl(var(--richtext-primary))!important}.richtext-border-\[\#ccc\]{--richtext-border-opacity: 1;border-color:rgb(204 204 204 / var(--richtext-border-opacity, 1))}.richtext-border-border{border-color:hsl(var(--richtext-border))}.richtext-border-destructive{border-color:hsl(var(--richtext-destructive))}.richtext-border-input{border-color:hsl(var(--richtext-input))}.richtext-border-neutral-200{--richtext-border-opacity: 1;border-color:rgb(229 229 229 / var(--richtext-border-opacity, 1))}.richtext-border-transparent{border-color:transparent}.\!richtext-bg-foreground{background-color:hsl(var(--richtext-foreground))!important}.\!richtext-bg-primary{background-color:hsl(var(--richtext-primary))!important}.\!richtext-bg-transparent{background-color:transparent!important}.\!richtext-bg-white{--richtext-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--richtext-bg-opacity, 1))!important}.richtext-bg-accent{background-color:hsl(var(--richtext-accent))}.richtext-bg-background{background-color:hsl(var(--richtext-background))}.richtext-bg-black\/80{background-color:#000c}.richtext-bg-border{background-color:hsl(var(--richtext-border))}.richtext-bg-destructive{background-color:hsl(var(--richtext-destructive))}.richtext-bg-muted{background-color:hsl(var(--richtext-muted))}.richtext-bg-popover{background-color:hsl(var(--richtext-popover))}.richtext-bg-secondary{background-color:hsl(var(--richtext-secondary))}.richtext-bg-transparent{background-color:transparent}.richtext-bg-white{--richtext-bg-opacity: 1;background-color:rgb(255 255 255 / var(--richtext-bg-opacity, 1))}.richtext-bg-opacity-10{--richtext-bg-opacity: .1}.richtext-fill-current{fill:currentColor}.\!richtext-p-0{padding:0!important}.\!richtext-p-2{padding:.5rem!important}.\!richtext-p-\[4px\]{padding:4px!important}.\!richtext-p-\[6px\]{padding:6px!important}.richtext-p-0{padding:0}.richtext-p-0\.5{padding:.125rem}.richtext-p-1{padding:.25rem}.richtext-p-2{padding:.5rem}.richtext-p-3{padding:.75rem}.richtext-p-4{padding:1rem}.richtext-p-6{padding:1.5rem}.richtext-p-\[10px\]{padding:10px}.richtext-px-1{padding-left:.25rem;padding-right:.25rem}.richtext-px-1\.5{padding-left:.375rem;padding-right:.375rem}.richtext-px-2{padding-left:.5rem;padding-right:.5rem}.richtext-px-3{padding-left:.75rem;padding-right:.75rem}.richtext-px-4{padding-left:1rem;padding-right:1rem}.richtext-px-5{padding-left:1.25rem;padding-right:1.25rem}.richtext-px-8{padding-left:2rem;padding-right:2rem}.richtext-px-\[5px\]{padding-left:5px;padding-right:5px}.richtext-py-0{padding-top:0;padding-bottom:0}.richtext-py-1{padding-top:.25rem;padding-bottom:.25rem}.richtext-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.richtext-py-2{padding-top:.5rem;padding-bottom:.5rem}.richtext-pl-10{padding-left:2.5rem}.richtext-pl-4{padding-left:1rem}.richtext-pl-8{padding-left:2rem}.richtext-pr-2{padding-right:.5rem}.richtext-pr-8{padding-right:2rem}.richtext-text-left{text-align:left}.richtext-text-center{text-align:center}.\!richtext-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.richtext-text-\[0\.65rem\]{font-size:.65rem}.richtext-text-lg{font-size:1.125rem;line-height:1.75rem}.richtext-text-sm{font-size:.875rem;line-height:1.25rem}.richtext-text-xs{font-size:.75rem;line-height:1rem}.richtext-font-medium{font-weight:500}.richtext-font-normal{font-weight:400}.richtext-font-semibold{font-weight:600}.richtext-uppercase{text-transform:uppercase}.richtext-leading-none{line-height:1}.richtext-tracking-tight{letter-spacing:-.025em}.richtext-tracking-wider{letter-spacing:.05em}.richtext-tracking-widest{letter-spacing:.1em}.\!richtext-text-black{--richtext-text-opacity: 1 !important;color:rgb(0 0 0 / var(--richtext-text-opacity, 1))!important}.\!richtext-text-current{color:currentColor!important}.\!richtext-text-neutral-500{--richtext-text-opacity: 1 !important;color:rgb(115 115 115 / var(--richtext-text-opacity, 1))!important}.\!richtext-text-neutral-800{--richtext-text-opacity: 1 !important;color:rgb(38 38 38 / var(--richtext-text-opacity, 1))!important}.\!richtext-text-primary-foreground{color:hsl(var(--richtext-primary-foreground))!important}.richtext-text-destructive-foreground{color:hsl(var(--richtext-destructive-foreground))}.richtext-text-foreground{color:hsl(var(--richtext-foreground))}.richtext-text-foreground\/50{color:hsl(var(--richtext-foreground) / .5)}.richtext-text-gray-500{--richtext-text-opacity: 1;color:rgb(107 114 128 / var(--richtext-text-opacity, 1))}.richtext-text-gray-800{--richtext-text-opacity: 1;color:rgb(31 41 55 / var(--richtext-text-opacity, 1))}.richtext-text-muted-foreground{color:hsl(var(--richtext-muted-foreground))}.richtext-text-neutral-600{--richtext-text-opacity: 1;color:rgb(82 82 82 / var(--richtext-text-opacity, 1))}.richtext-text-popover-foreground{color:hsl(var(--richtext-popover-foreground))}.richtext-text-primary{color:hsl(var(--richtext-primary))}.richtext-text-red-500{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.richtext-text-secondary-foreground{color:hsl(var(--richtext-secondary-foreground))}.richtext-text-zinc-500{--richtext-text-opacity: 1;color:rgb(113 113 122 / var(--richtext-text-opacity, 1))}.richtext-text-zinc-600{--richtext-text-opacity: 1;color:rgb(82 82 91 / var(--richtext-text-opacity, 1))}.richtext-underline{text-decoration-line:underline}.richtext-underline-offset-4{text-underline-offset:4px}.richtext-opacity-0{opacity:0}.richtext-opacity-50{opacity:.5}.richtext-opacity-60{opacity:.6}.richtext-opacity-70{opacity:.7}.richtext-opacity-90{opacity:.9}.richtext-shadow{--richtext-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 1px 3px 0 var(--richtext-shadow-color), 0 1px 2px -1px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-lg{--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-md{--richtext-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 4px 6px -1px var(--richtext-shadow-color), 0 2px 4px -2px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-sm{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-outline-none{outline:2px solid transparent;outline-offset:2px}.richtext-outline{outline-style:solid}.richtext-outline-1{outline-width:1px}.richtext-ring-0{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(0px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.\!richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--richtext-background)) !important}.richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--richtext-background))}.richtext-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-duration-200{transition-duration:.2s}.richtext-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--richtext-enter-opacity, 1);transform:translate3d(var(--richtext-enter-translate-x, 0),var(--richtext-enter-translate-y, 0),0) scale3d(var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1)) rotate(var(--richtext-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--richtext-exit-opacity, 1);transform:translate3d(var(--richtext-exit-translate-x, 0),var(--richtext-exit-translate-y, 0),0) scale3d(var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1)) rotate(var(--richtext-exit-rotate, 0))}}.richtext-animate-in{animation-name:enter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.richtext-fade-in-0{--richtext-enter-opacity: 0}.richtext-zoom-in-95{--richtext-enter-scale: .95}.richtext-duration-200{animation-duration:.2s}.richtext-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.\[transition-property\:top\,_left\]{transition-property:top,left}html body[data-scroll-locked]{--removed-body-scroll-bar-size: 0 !important;position:initial!important}.character-count--warning{color:var(--red)!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{z-index:0;padding:4rem 2rem 4rem 5rem;caret-color:#000;outline-width:0px}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror:is([class~=dark] *){caret-color:#fff}@media (min-width: 1024px){.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{padding-left:2rem;padding-right:2rem}}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{min-height:180px;padding:32px 80px}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder{width:fit-content;position:relative;background-color:#ffffff4d;--richtext-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia);backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia)}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{content:"";box-sizing:border-box;position:absolute;top:50%;left:50%;width:24px;height:24px;margin:-12px 0 0 -12px;display:inline-block}@keyframes richtext-spin{to{transform:rotate(360deg)}}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{animation:richtext-spin 1s linear infinite;border-radius:9999px;border-width:3px;border-color:currentColor;border-top-color:transparent}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper{margin:1em 0;overflow-x:auto}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table{overflow:hidden;display:table;margin:0 auto}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;z-index:10;width:.25rem;background-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .resize-cursor{cursor:"col-resize"}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell{border-style:double;border-color:#0003;background-color:#0000000d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell:is([class~=dark] *){border-color:#fff3;background-color:#ffffff1a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]{cursor:pointer;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.1s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode{background-color:#0000000d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode:is([class~=dark] *){background-color:#ffffff1a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode hr{border-top-color:#0000004d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode hr:is([class~=dark] *){border-top-color:#ffffff4d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode){background-color:#0000000d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode):is([class~=dark] *){background-color:#ffffff1a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view){background-color:#0000001a;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow);outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view):is([class~=dark] *){background-color:#fff3}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .selection:not(.image-view),.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror *:not(.image-view)::selection{background-color:#0000001a}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .selection:not(.image-view):is([class~=dark] *),.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror *:not(.image-view):is([class~=dark] *)::selection{background-color:#fff3}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .is-empty:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .columns.is-empty:before{display:none!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror p.is-editor-empty:first-child:before{float:left;height:0;color:#adb5bd;pointer-events:none;width:100%;content:attr(data-placeholder)}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor{position:relative;margin-left:auto;margin-right:auto;width:100%;max-width:42rem}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:after{top:-1.5em;left:0;right:0;margin-left:auto;margin-right:auto;width:100%;max-width:42rem;border-top-color:#0006}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:is([class~=dark] *):after{border-top-color:#fff6}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view{display:inline-block;float:none;max-width:100%;line-height:0;vertical-align:baseline;-webkit-user-select:none;user-select:none}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body{position:relative;display:inline-block;max-width:100%;clear:both;outline:transparent solid 2px;transition:all .2s ease-in}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__button-wrap{display:none;justify-content:center;align-items:center;position:absolute;top:9px;right:9px;background:#26262699;border-radius:8px;z-index:4}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover{outline-color:#ffc83d}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover .image-view__body__button-wrap{display:block}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--focused:hover,.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--resizing:hover{outline-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__placeholder{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__image{margin:0;cursor:pointer!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view .image-view__body--focused{outline-color:hsl(var(--richtext-primary))!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view.focus img{outline-style:solid;outline-width:2px;outline-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-view img{display:inline;vertical-align:baseline}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;border-width:1px!important;border-color:hsl(var(--richtext-border))!important}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler{position:absolute;z-index:2;box-sizing:border-box;display:block;width:12px;height:12px;border:1px solid #fff;border-radius:2px;background-color:hsl(var(--richtext-primary))}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tl{top:-6px;left:-6px;cursor:nw-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tr{top:-6px;right:-6px;cursor:ne-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--bl{bottom:-6px;left:-6px;cursor:sw-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--br{right:-6px;bottom:-6px;cursor:se-resize}.reactjs-tiptap-editor.reactjs-tiptap-editor.dense .ProseMirror{min-height:32px;padding:6px 12px}.reactjs-tiptap-editor.reactjs-tiptap-editor.dense p{padding:0;line-height:1.2rem}.reactjs-tiptap-editor.reactjs-tiptap-editor .ProseMirror[contenteditable=true].resize-cursor{cursor:col-resize}.slash-command-active.slash-command-active{background-color:hsl(var(--richtext-accent))!important}[data-dui-1-3-5~=dui-tooltip-wrapper]{display:inline-block;position:relative}.heading-0{font-weight:700;font-size:16px}.heading-1{font-weight:700;font-size:28px;line-height:1.6}.heading-2{font-weight:700;font-size:24px;line-height:1.6}.heading-3{font-size:20px;font-weight:700;line-height:1.6}.heading-4{font-size:16px;font-weight:700;line-height:1.6}.heading-5,.heading-6{font-size:14px;font-weight:700;line-height:1.6}.tableCellActive{border-radius:2px!important;transition:all .1s ease-in-out}.tableCellActive>div{border:unset!important}.node-tableOfContents.focus{border-width:1px;border-radius:6px}div[data-twitter]>div{margin:10px auto}.react-renderer.node-twitter.focus{border-width:1px;border-radius:6px}.ProseMirror p{margin-bottom:.375rem;line-height:1.625}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror>p{margin-bottom:.375rem}.ProseMirror>p:first-child{margin-top:0}.ProseMirror>p:last-child{margin-bottom:0}.ProseMirror h1{font-size:1.875rem;line-height:2.25rem}.ProseMirror h2{font-size:1.5rem;line-height:2rem}.ProseMirror h3{font-size:1.25rem;line-height:1.75rem}.ProseMirror h4{font-size:1.125rem;line-height:1.75rem}.ProseMirror h5{font-size:1rem;line-height:1.5rem}.ProseMirror h6{font-size:.875rem;line-height:1.25rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{font-weight:700}.ProseMirror h1:first-child,.ProseMirror h2:first-child,.ProseMirror h3:first-child,.ProseMirror h4:first-child,.ProseMirror h5:first-child,.ProseMirror h6:first-child{margin-top:0}.ProseMirror h1:last-child,.ProseMirror h2:last-child,.ProseMirror h3:last-child,.ProseMirror h4:last-child,.ProseMirror h5:last-child,.ProseMirror h6:last-child{margin-bottom:0}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{margin-top:3rem}.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{margin-top:2rem}.ProseMirror a.link{font-weight:800;--richtext-text-opacity: 1;color:rgb(59 130 246 / var(--richtext-text-opacity, 1))}.ProseMirror a.link:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(96 165 250 / var(--richtext-text-opacity, 1))}.ProseMirror mark{border-radius:calc(var(--richtext-radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(239 68 68 / var(--richtext-bg-opacity, 1));-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-top:.25rem;padding-bottom:.25rem;padding-left:0;padding-right:0;color:inherit}.ProseMirror mark:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.ProseMirror img{height:auto;max-width:100%}.ProseMirror *[data-indent="1"]{text-indent:2em!important}.ProseMirror *[data-indent="2"]{text-indent:4em!important}.ProseMirror *[data-indent="3"]{text-indent:6em!important}.ProseMirror *[data-indent="4"]{text-indent:8em!important}.ProseMirror *[data-indent="5"]{text-indent:10em!important}.ProseMirror *[data-indent="6"]{text-indent:12em!important}.ProseMirror *[data-indent="7"]{text-indent:14em!important}.ProseMirror iframe{border-width:1px!important;margin-top:.5rem;height:400px;width:100%;border-radius:calc(var(--richtext-radius) - 4px);border-color:hsl(var(--richtext-border))}.ProseMirror [data-type=horizontalRule]{margin-top:2rem;margin-bottom:2rem;padding-top:1rem;padding-bottom:1rem}.ProseMirror [data-type=horizontalRule] hr{border-width:0px;border-top-width:1px;border-color:#0003;background-color:#000c}.ProseMirror [data-type=horizontalRule] hr:is([class~=dark] *){border-color:#fff3;background-color:#fffc}.ProseMirror .blockquote{border-radius:var(--richtext-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:4px;--richtext-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: .8;padding:.5rem 1rem;--richtext-text-opacity: 1;color:rgb(0 0 0 / var(--richtext-text-opacity, 1))}.ProseMirror .blockquote:is([class~=dark] *){--richtext-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--richtext-border-opacity, 1));--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1))}.ProseMirror code{border-radius:calc(var(--richtext-radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1));font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff;--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror code::selection{background-color:#ffffff4d}.ProseMirror pre{margin-top:3rem;margin-bottom:3rem;border-radius:.25rem;border-width:1px!important;--richtext-border-opacity: 1;border-color:rgb(0 0 0 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: 1;background-color:rgb(64 64 64 / var(--richtext-bg-opacity, 1));padding:1rem;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff}.ProseMirror pre:is([class~=dark] *){--richtext-border-opacity: 1;border-color:rgb(38 38 38 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1))}.ProseMirror pre *::selection{background-color:#fff3}.ProseMirror pre code{background-color:inherit;padding:0;color:inherit;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror ol{list-style-type:decimal}.ProseMirror ul{list-style-type:disc}.ProseMirror ul,.ProseMirror ol{margin-top:1.5rem;margin-bottom:1.5rem;padding-top:0;padding-bottom:0;padding-left:2rem;padding-right:2rem}.ProseMirror ul:first-child,.ProseMirror ol:first-child{margin-top:0}.ProseMirror ul:last-child,.ProseMirror ol:last-child{margin-bottom:0}.ProseMirror ul ul,.ProseMirror ul ol,.ProseMirror ul li,.ProseMirror ol ul,.ProseMirror ol ol,.ProseMirror ol li{margin-top:.25rem;margin-bottom:.25rem}.ProseMirror ul p,.ProseMirror ol p{margin-top:0;margin-bottom:.25rem}.ProseMirror>ul,.ProseMirror>ol{margin-top:2rem;margin-bottom:2rem}.ProseMirror>ul:first-child,.ProseMirror>ol:first-child{margin-top:0}.ProseMirror>ul:last-child,.ProseMirror>ol:last-child{margin-bottom:0}.ProseMirror ul[data-type=taskList]{list-style-type:none;padding:0}.ProseMirror ul[data-type=taskList] p{margin:0}.ProseMirror ul[data-type=taskList] li{display:flex}.ProseMirror ul[data-type=taskList] li>label{margin-right:.5rem;display:inline;flex:1 1 auto;flex-shrink:0;flex-grow:0;-webkit-user-select:none;user-select:none}.ProseMirror ul[data-type=taskList] li>div{flex:1 1 auto}.ProseMirror ul[data-type=taskList] li[data-checked=true]{text-decoration-line:line-through}.ProseMirror table{border:1px solid;box-sizing:border-box;display:block;table-layout:fixed;border-collapse:collapse;overflow-x:auto;overflow-y:hidden;border-color:#0000001a}.ProseMirror table:is([class~=dark] *){border-color:#fff3}.ProseMirror table td,.ProseMirror table th{border:1px solid;border-width:1px!important;position:relative;box-sizing:border-box;min-width:1em;border-color:#0000001a;padding:.5rem;text-align:left;vertical-align:top}.ProseMirror table td:is([class~=dark] *),.ProseMirror table th:is([class~=dark] *){border-color:#fff3}.ProseMirror table td:first-of-type:not(a),.ProseMirror table th:first-of-type:not(a){margin-top:0}.ProseMirror table td p,.ProseMirror table th p{margin:0}.ProseMirror table td p+p,.ProseMirror table th p+p{margin-top:.75rem}.ProseMirror table th{text-align:left;font-weight:700}.ProseMirror .search-result{background:#c4eed0}.ProseMirror .search-result-current{background:#6cd58b}.columns{display:flex;width:100%;gap:8px;margin-top:.75em}.columns .column{min-width:0;padding:12px;border-width:1px;border-style:solid;border-color:hsl(var(--richtext-border));border-radius:2px;flex:1 1 0%;box-sizing:border-box}.columns .column p:first-of-type{margin-top:0}.mention{padding:2px 6px;color:#fff;background-color:#666e76;border-radius:6px}.file\:richtext-border-0::file-selector-button{border-width:0px}.file\:richtext-bg-transparent::file-selector-button{background-color:transparent}.file\:richtext-text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:richtext-font-medium::file-selector-button{font-weight:500}.placeholder\:richtext-text-muted-foreground::placeholder{color:hsl(var(--richtext-muted-foreground))}.first\:richtext-mt-0\.5:first-child{margin-top:.125rem}.last\:richtext-pb-2:last-child{padding-bottom:.5rem}.hover\:richtext-cursor-pointer:hover{cursor:pointer}.hover\:richtext-border-border:hover{border-color:hsl(var(--richtext-border))}.hover\:\!richtext-bg-accent:hover{background-color:hsl(var(--richtext-accent))!important}.hover\:\!richtext-bg-primary\/90:hover{background-color:hsl(var(--richtext-primary) / .9)!important}.hover\:richtext-bg-accent:hover{background-color:hsl(var(--richtext-accent))}.hover\:richtext-bg-destructive\/90:hover{background-color:hsl(var(--richtext-destructive) / .9)}.hover\:richtext-bg-muted:hover{background-color:hsl(var(--richtext-muted))}.hover\:richtext-bg-red-400:hover{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.hover\:richtext-bg-secondary:hover{background-color:hsl(var(--richtext-secondary))}.hover\:richtext-bg-secondary\/80:hover{background-color:hsl(var(--richtext-secondary) / .8)}.hover\:richtext-bg-opacity-20:hover{--richtext-bg-opacity: .2}.hover\:richtext-text-accent-foreground:hover{color:hsl(var(--richtext-accent-foreground))}.hover\:richtext-text-foreground:hover{color:hsl(var(--richtext-foreground))}.hover\:richtext-text-muted-foreground:hover{color:hsl(var(--richtext-muted-foreground))}.hover\:richtext-underline:hover{text-decoration-line:underline}.hover\:richtext-opacity-100:hover{opacity:1}.hover\:richtext-shadow-sm:hover{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.focus\:richtext-bg-accent:focus{background-color:hsl(var(--richtext-accent))}.focus\:richtext-bg-red-400:focus{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.focus\:richtext-bg-opacity-30:focus{--richtext-bg-opacity: .3}.focus\:richtext-text-accent-foreground:focus{color:hsl(var(--richtext-accent-foreground))}.focus\:richtext-text-red-500:focus{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.focus\:richtext-opacity-100:focus{opacity:1}.focus\:richtext-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:richtext-ring-2:focus{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus\:richtext-ring-ring:focus{--richtext-ring-color: hsl(var(--richtext-ring))}.focus\:richtext-ring-offset-2:focus{--richtext-ring-offset-width: 2px}.focus-visible\:\!richtext-outline-none:focus-visible{outline:2px solid transparent!important;outline-offset:2px!important}.focus-visible\:richtext-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:\!richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color) !important;--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color) !important;box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)!important}.focus-visible\:richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus-visible\:\!richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--richtext-ring)) !important}.focus-visible\:richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--richtext-ring))}.focus-visible\:\!richtext-ring-offset-2:focus-visible{--richtext-ring-offset-width: 2px !important}.focus-visible\:richtext-ring-offset-2:focus-visible{--richtext-ring-offset-width: 2px}.focus-visible\:richtext-ring-offset-background:focus-visible{--richtext-ring-offset-color: hsl(var(--richtext-background))}.disabled\:richtext-pointer-events-none:disabled{pointer-events:none}.disabled\:\!richtext-cursor-not-allowed:disabled{cursor:not-allowed!important}.disabled\:richtext-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:\!richtext-opacity-50:disabled{opacity:.5!important}.disabled\:richtext-opacity-50:disabled{opacity:.5}.richtext-group:hover .group-hover\:richtext-opacity-100{opacity:1}.richtext-group.destructive .group-\[\.destructive\]\:richtext-border-muted\/40{border-color:hsl(var(--richtext-muted) / .4)}.richtext-group.destructive .group-\[\.destructive\]\:richtext-text-red-300{--richtext-text-opacity: 1;color:rgb(252 165 165 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-border-destructive\/30:hover{border-color:hsl(var(--richtext-destructive) / .3)}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-bg-destructive:hover{background-color:hsl(var(--richtext-destructive))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-destructive-foreground:hover{color:hsl(var(--richtext-destructive-foreground))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-red-50:hover{--richtext-text-opacity: 1;color:rgb(254 242 242 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-destructive:focus{--richtext-ring-color: hsl(var(--richtext-destructive))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-red-400:focus{--richtext-ring-opacity: 1;--richtext-ring-color: rgb(248 113 113 / var(--richtext-ring-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-offset-red-600:focus{--richtext-ring-offset-color: #dc2626}.richtext-peer:disabled~.peer-disabled\:richtext-cursor-not-allowed{cursor:not-allowed}.richtext-peer:disabled~.peer-disabled\:richtext-opacity-70{opacity:.7}.data-\[disabled\]\:richtext-pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:richtext-translate-y-1[data-side=bottom]{--richtext-translate-y: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=left\]\:richtext--translate-x-1[data-side=left]{--richtext-translate-x: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=right\]\:richtext-translate-x-1[data-side=right]{--richtext-translate-x: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=top\]\:richtext--translate-y-1[data-side=top]{--richtext-translate-y: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=checked\]\:richtext-translate-x-5[data-state=checked]{--richtext-translate-x: 1.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=unchecked\]\:richtext-translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:richtext-translate-x-0[data-swipe=cancel]{--richtext-translate-x: 0px;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=end\]\:richtext-translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--richtext-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=move\]\:richtext-translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--richtext-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=active\]\:richtext-bg-background[data-state=active]{background-color:hsl(var(--richtext-background))}.data-\[state\=checked\]\:\!richtext-bg-primary[data-state=checked]{background-color:hsl(var(--richtext-primary))!important}.data-\[state\=checked\]\:richtext-bg-primary[data-state=checked]{background-color:hsl(var(--richtext-primary))}.data-\[state\=on\]\:richtext-bg-accent[data-state=on],.data-\[state\=open\]\:richtext-bg-accent[data-state=open]{background-color:hsl(var(--richtext-accent))}.data-\[state\=unchecked\]\:richtext-bg-input[data-state=unchecked]{background-color:hsl(var(--richtext-input))}.data-\[state\=active\]\:richtext-text-foreground[data-state=active]{color:hsl(var(--richtext-foreground))}.data-\[state\=checked\]\:\!richtext-text-primary-foreground[data-state=checked]{color:hsl(var(--richtext-primary-foreground))!important}.data-\[state\=on\]\:richtext-text-accent-foreground[data-state=on]{color:hsl(var(--richtext-accent-foreground))}.data-\[state\=open\]\:richtext-text-muted-foreground[data-state=open]{color:hsl(var(--richtext-muted-foreground))}.data-\[disabled\]\:richtext-opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:richtext-shadow-sm[data-state=active]{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.data-\[swipe\=move\]\:richtext-transition-none[data-swipe=move]{transition-property:none}.data-\[state\=open\]\:richtext-animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.data-\[state\=closed\]\:richtext-animate-out[data-state=closed],.data-\[swipe\=end\]\:richtext-animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--richtext-exit-opacity: initial;--richtext-exit-scale: initial;--richtext-exit-rotate: initial;--richtext-exit-translate-x: initial;--richtext-exit-translate-y: initial}.data-\[state\=closed\]\:richtext-fade-out-0[data-state=closed]{--richtext-exit-opacity: 0}.data-\[state\=closed\]\:richtext-fade-out-80[data-state=closed]{--richtext-exit-opacity: .8}.data-\[state\=open\]\:richtext-fade-in-0[data-state=open]{--richtext-enter-opacity: 0}.data-\[state\=closed\]\:richtext-zoom-out-95[data-state=closed]{--richtext-exit-scale: .95}.data-\[state\=open\]\:richtext-zoom-in-95[data-state=open]{--richtext-enter-scale: .95}.data-\[side\=bottom\]\:richtext-slide-in-from-top-2[data-side=bottom]{--richtext-enter-translate-y: -.5rem}.data-\[side\=left\]\:richtext-slide-in-from-right-2[data-side=left]{--richtext-enter-translate-x: .5rem}.data-\[side\=right\]\:richtext-slide-in-from-left-2[data-side=right]{--richtext-enter-translate-x: -.5rem}.data-\[side\=top\]\:richtext-slide-in-from-bottom-2[data-side=top]{--richtext-enter-translate-y: .5rem}.data-\[state\=closed\]\:richtext-slide-out-to-left-1\/2[data-state=closed]{--richtext-exit-translate-x: -50%}.data-\[state\=closed\]\:richtext-slide-out-to-right-full[data-state=closed]{--richtext-exit-translate-x: 100%}.data-\[state\=closed\]\:richtext-slide-out-to-top-\[48\%\][data-state=closed]{--richtext-exit-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-left-1\/2[data-state=open]{--richtext-enter-translate-x: -50%}.data-\[state\=open\]\:richtext-slide-in-from-top-\[48\%\][data-state=open]{--richtext-enter-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-top-full[data-state=open]{--richtext-enter-translate-y: -100%}.dark\:\!richtext-border-neutral-800:is([class~=dark] *){--richtext-border-opacity: 1 !important;border-color:rgb(38 38 38 / var(--richtext-border-opacity, 1))!important}.dark\:richtext-border-neutral-800:is([class~=dark] *){--richtext-border-opacity: 1;border-color:rgb(38 38 38 / var(--richtext-border-opacity, 1))}.dark\:\!richtext-bg-black:is([class~=dark] *){--richtext-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--richtext-bg-opacity, 1))!important}.dark\:richtext-bg-black:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(0 0 0 / var(--richtext-bg-opacity, 1))}.dark\:\!richtext-text-neutral-200:is([class~=dark] *){--richtext-text-opacity: 1 !important;color:rgb(229 229 229 / var(--richtext-text-opacity, 1))!important}.dark\:richtext-text-gray-100:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(243 244 246 / var(--richtext-text-opacity, 1))}.dark\:richtext-text-neutral-200:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(229 229 229 / var(--richtext-text-opacity, 1))}.dark\:hover\:richtext-bg-opacity-20:hover:is([class~=dark] *){--richtext-bg-opacity: .2}.dark\:hover\:richtext-text-red-500:hover:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}@media (min-width: 640px){.sm\:richtext-bottom-0{bottom:0}.sm\:richtext-right-0{right:0}.sm\:richtext-top-auto{top:auto}.sm\:richtext-flex-row{flex-direction:row}.sm\:richtext-flex-col{flex-direction:column}.sm\:richtext-justify-end{justify-content:flex-end}.sm\:richtext-space-x-2>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(.5rem * var(--richtext-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--richtext-space-x-reverse)))}.sm\:richtext-rounded-lg{border-radius:var(--richtext-radius)}.sm\:richtext-text-left{text-align:left}.data-\[state\=open\]\:sm\:richtext-slide-in-from-bottom-full[data-state=open]{--richtext-enter-translate-y: 100%}}@media (min-width: 768px){.md\:richtext-max-w-\[420px\]{max-width:420px}}.\[\&\>span\]\:richtext-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}._wrap_134f4_1{position:relative}._wrap_134f4_1 code{margin:0!important}._wrap_134f4_1 pre{margin:10px 0!important}._wrap_134f4_1._maxHeight_134f4_10 code{max-height:370px}._wrap_134f4_1:hover ._btnCopy_134f4_13,._wrap_134f4_1:hover ._btnDelete_134f4_14{opacity:1}._blockInfo_134f4_18{display:flex;align-items:center;position:absolute;z-index:2;top:5px;right:5px;gap:8px}._blockInfoEditable_134f4_28{display:none}._selectLang_134f4_32{cursor:pointer;transition:all .3s;border-radius:4px;border-width:0px!important}._selectLang_134f4_32>button{padding:0!important;height:initial!important;outline:none!important;border:none!important;outline-offset:0px!important;color:#fff!important}._selectLang_134f4_32 ._richtext-SelectContent_134f4_46{max-height:200px;overflow-y:auto}._btnCopy_134f4_13{color:#ebebebbf;cursor:pointer;transition:all .3s;opacity:0}._copied_134f4_58{color:#7dcf02}._btnDelete_134f4_14{color:#ebebebbf;cursor:pointer;transition:all .3s;opacity:0}._btnDelete_134f4_14:hover{color:#ff4d4f}@-webkit-keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{-webkit-box-sizing:border-box;box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{-ms-touch-action:none;touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{-ms-touch-action:none;touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ReactCrop__crop-selection{position:absolute;top:0;left:0;-webkit-transform:translateZ(0);transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){-webkit-animation:marching-ants 1s;animation:marching-ants 1s;background-image:-webkit-gradient(linear,left top,right top,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,right top,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),color-stop(50%,#444)),-webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),color-stop(50%,#444));background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;-webkit-animation-play-state:running;animation-play-state:running;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;-webkit-transform:translate(50%,50%);transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;-webkit-transform:translate(50%);transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;-webkit-transform:translate(-50%);transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}._toc_aag8a_1{width:max-content;max-width:100%;border-radius:.5rem;opacity:.75}._toc_aag8a_1._visible_aag8a_7{padding:.75rem;margin:.75em 0}._toc_aag8a_1 ._list_aag8a_11{padding:0;margin:0 0 12px;list-style:none}._toc_aag8a_1 ._item_aag8a_16 a:hover{opacity:.5}._toc_aag8a_1 ._item--3_aag8a_19{padding-left:1rem}._toc_aag8a_1 ._item--4_aag8a_22{padding-left:2rem}._toc_aag8a_1 ._item--5_aag8a_25{padding-left:3rem}._toc_aag8a_1 ._item--6_aag8a_28{padding-left:4rem}._listUsers_en3pm_1{width:160px;max-height:320px;overflow-x:hidden;overflow-y:auto;border-radius:4px;box-shadow:#091e424f 0 0 1px,#091e4240 0 4px 8px -2px}._itemUser_en3pm_10{display:flex;width:100%;padding:12px 12px 11px;color:#091e42;text-decoration:none;cursor:pointer;background-color:#fff;border:0;border-radius:0;flex:0 0 auto;align-items:center}._itemUser_en3pm_10:hover{background-color:#f4f5f7}._itemUser_en3pm_10 img{width:1em;height:1em}._selectedUser_en3pm_31{color:#0052cc;text-decoration:none;background-color:#deebff;fill:#deebff}._attachment_1x1ms_1,._wrap_1x1ms_2{border-width:1px!important;border-radius:4px;padding:10px;display:flex;align-items:center;justify-content:space-between;margin:10px 0}._attachment_1x1ms_1 .attachment__icon,._wrap_1x1ms_2 .attachment__icon{width:32px;text-align:center}._attachment_1x1ms_1 .attachment__icon svg,._wrap_1x1ms_2 .attachment__icon svg{width:32px;display:inline-block}
|
|
@@ -2,7 +2,7 @@ var on = Object.defineProperty;
|
|
|
2
2
|
var an = (e, t, n) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var it = (e, t, n) => an(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import Re from "tippy.js";
|
|
5
|
-
import { P as $, a as _, N as et, S as V, f as ln, c as Wt, T as cn, l as dn, b as un, d as I, e as pn,
|
|
5
|
+
import { P as $, a as _, N as et, S as V, f as ln, c as Wt, T as cn, l as dn, b as un, d as I, e as pn, h as hn, F as W, j as fn, i as mn, k as gn, m as yn, n as $e, o as vn, p as bn, q as Mn, r as kn, s as Sn, t as wn, u as En, v as Tn, w as Cn, x as xn, y as An, z as se, B as On, C as pt, D as Ln, E as Pn, G as Rn, H as $n, I as _n, J as Hn, K as In, L as Dn, M as _e, O as At, R as Nn, Q as Bn, U as jn, V as Fn, W as zn, X as Vn, Y as oe, Z as He, _ as Wn, $ as Kn, a0 as Un, a1 as qn, a2 as Gn, a3 as Jn, a4 as ft, a5 as Kt, a6 as Yn, a7 as Xn, a8 as Qn, a9 as Zn, aa as tr, ab as er, ac as nr, ad as rr, ae as ie, af as ae, ag as le, ah as sr, ai as or, aj as ce, ak as ir, al as Ie, am as ar, an as lr } from "./vendor-ehTKF-_z.js";
|
|
6
6
|
import L, { forwardRef as cr, createContext as De, useState as Ut, useEffect as qt, useRef as dr, useDebugValue as Ne, useContext as Be, useLayoutEffect as ur } from "react";
|
|
7
7
|
import pr, { flushSync as hr } from "react-dom";
|
|
8
8
|
function vt(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var je=Object.defineProperty;var Fe=(e,t,n)=>t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var et=(e,t,n)=>Fe(e,typeof t!="symbol"?t+"":t,n);const me=require("tippy.js"),m=require("./vendor-
|
|
1
|
+
"use strict";var je=Object.defineProperty;var Fe=(e,t,n)=>t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var et=(e,t,n)=>Fe(e,typeof t!="symbol"?t+"":t,n);const me=require("tippy.js"),m=require("./vendor-Dy6OEB8l.cjs"),A=require("react"),ge=require("react-dom");function ut(e){const{state:t,transaction:n}=e;let{selection:r}=n,{doc:s}=n,{storedMarks:o}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return o},get selection(){return r},get doc(){return s},get tr(){return r=n.selection,s=n.doc,o=n.storedMarks,n}}}class pt{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:n,state:r}=this,{view:s}=n,{tr:o}=r,i=this.buildProps(o);return Object.fromEntries(Object.entries(t).map(([a,c])=>[a,(...u)=>{const d=c(...u)(i);return!o.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(o),d}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,n=!0){const{rawCommands:r,editor:s,state:o}=this,{view:i}=s,a=[],c=!!t,l=t||o.tr,u=()=>(!c&&n&&!l.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(l),a.every(p=>p===!0)),d={...Object.fromEntries(Object.entries(r).map(([p,h])=>[p,(...g)=>{const y=this.buildProps(l,n),v=h(...g)(y);return a.push(v),d}])),run:u};return d}createCan(t){const{rawCommands:n,state:r}=this,s=!1,o=t||r.tr,i=this.buildProps(o,s);return{...Object.fromEntries(Object.entries(n).map(([c,l])=>[c,(...u)=>l(...u)({...i,dispatch:void 0})])),chain:()=>this.createChain(o,s)}}buildProps(t,n=!0){const{rawCommands:r,editor:s,state:o}=this,{view:i}=s,a={tr:t,editor:s,view:i,state:ut({state:o,transaction:t}),dispatch:n?()=>{}:void 0,chain:()=>this.createChain(t,n),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(r).map(([c,l])=>[c,(...u)=>l(...u)(a)]))}};return a}}class ze{constructor(){this.callbacks={}}on(t,n){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(n),this}emit(t,...n){const r=this.callbacks[t];return r&&r.forEach(s=>s.apply(this,n)),this}off(t,n){const r=this.callbacks[t];return r&&(n?this.callbacks[t]=r.filter(s=>s!==n):delete this.callbacks[t]),this}once(t,n){const r=(...s)=>{this.off(t,r),n.apply(this,s)};return this.on(t,r)}removeAllListeners(){this.callbacks={}}}function w(e,t,n){return e.config[t]===void 0&&e.parent?w(e.parent,t,n):typeof e.config[t]=="function"?e.config[t].bind({...n,parent:e.parent?w(e.parent,t,n):null}):e.config[t]}function ht(e){const t=e.filter(s=>s.type==="extension"),n=e.filter(s=>s.type==="node"),r=e.filter(s=>s.type==="mark");return{baseExtensions:t,nodeExtensions:n,markExtensions:r}}function ye(e){const t=[],{nodeExtensions:n,markExtensions:r}=ht(e),s=[...n,...r],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach(i=>{const a={name:i.name,options:i.options,storage:i.storage,extensions:s},c=w(i,"addGlobalAttributes",a);if(!c)return;c().forEach(u=>{u.types.forEach(d=>{Object.entries(u.attributes).forEach(([p,h])=>{t.push({type:d,name:p,attribute:{...o,...h}})})})})}),s.forEach(i=>{const a={name:i.name,options:i.options,storage:i.storage},c=w(i,"addAttributes",a);if(!c)return;const l=c();Object.entries(l).forEach(([u,d])=>{const p={...o,...d};typeof(p==null?void 0:p.default)=="function"&&(p.default=p.default()),p!=null&&p.isRequired&&(p==null?void 0:p.default)===void 0&&delete p.default,t.push({type:i.name,name:u,attribute:p})})}),t}function _(e,t){if(typeof e=="string"){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function O(...e){return e.filter(t=>!!t).reduce((t,n)=>{const r={...t};return Object.entries(n).forEach(([s,o])=>{if(!r[s]){r[s]=o;return}if(s==="class"){const a=o?o.split(" "):[],c=r[s]?r[s].split(" "):[],l=a.filter(u=>!c.includes(u));r[s]=[...c,...l].join(" ")}else if(s==="style"){const a=o?o.split(";").map(u=>u.trim()).filter(Boolean):[],c=r[s]?r[s].split(";").map(u=>u.trim()).filter(Boolean):[],l=new Map;c.forEach(u=>{const[d,p]=u.split(":").map(h=>h.trim());l.set(d,p)}),a.forEach(u=>{const[d,p]=u.split(":").map(h=>h.trim());l.set(d,p)}),r[s]=Array.from(l.entries()).map(([u,d])=>`${u}: ${d}`).join("; ")}else r[s]=o}),r},{})}function lt(e,t){return t.filter(n=>n.type===e.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(e.attrs)||{}:{[n.name]:e.attrs[n.name]}).reduce((n,r)=>O(n,r),{})}function ve(e){return typeof e=="function"}function C(e,t=void 0,...n){return ve(e)?t?e.bind(t)(...n):e(...n):e}function Ve(e={}){return Object.keys(e).length===0&&e.constructor===Object}function We(e){return typeof e!="string"?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):e==="true"?!0:e==="false"?!1:e}function Gt(e,t){return"style"in e?e:{...e,getAttrs:n=>{const r=e.getAttrs?e.getAttrs(n):e.attrs;if(r===!1)return!1;const s=t.reduce((o,i)=>{const a=i.attribute.parseHTML?i.attribute.parseHTML(n):We(n.getAttribute(i.name));return a==null?o:{...o,[i.name]:a}},{});return{...r,...s}}}}function Jt(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>t==="attrs"&&Ve(n)?!1:n!=null))}function Ke(e,t){var n;const r=ye(e),{nodeExtensions:s,markExtensions:o}=ht(e),i=(n=s.find(l=>w(l,"topNode")))===null||n===void 0?void 0:n.name,a=Object.fromEntries(s.map(l=>{const u=r.filter(v=>v.type===l.name),d={name:l.name,options:l.options,storage:l.storage,editor:t},p=e.reduce((v,S)=>{const b=w(S,"extendNodeSchema",d);return{...v,...b?b(l):{}}},{}),h=Jt({...p,content:C(w(l,"content",d)),marks:C(w(l,"marks",d)),group:C(w(l,"group",d)),inline:C(w(l,"inline",d)),atom:C(w(l,"atom",d)),selectable:C(w(l,"selectable",d)),draggable:C(w(l,"draggable",d)),code:C(w(l,"code",d)),whitespace:C(w(l,"whitespace",d)),linebreakReplacement:C(w(l,"linebreakReplacement",d)),defining:C(w(l,"defining",d)),isolating:C(w(l,"isolating",d)),attrs:Object.fromEntries(u.map(v=>{var S;return[v.name,{default:(S=v==null?void 0:v.attribute)===null||S===void 0?void 0:S.default}]}))}),f=C(w(l,"parseHTML",d));f&&(h.parseDOM=f.map(v=>Gt(v,u)));const g=w(l,"renderHTML",d);g&&(h.toDOM=v=>g({node:v,HTMLAttributes:lt(v,u)}));const y=w(l,"renderText",d);return y&&(h.toText=y),[l.name,h]})),c=Object.fromEntries(o.map(l=>{const u=r.filter(y=>y.type===l.name),d={name:l.name,options:l.options,storage:l.storage,editor:t},p=e.reduce((y,v)=>{const S=w(v,"extendMarkSchema",d);return{...y,...S?S(l):{}}},{}),h=Jt({...p,inclusive:C(w(l,"inclusive",d)),excludes:C(w(l,"excludes",d)),group:C(w(l,"group",d)),spanning:C(w(l,"spanning",d)),code:C(w(l,"code",d)),attrs:Object.fromEntries(u.map(y=>{var v;return[y.name,{default:(v=y==null?void 0:y.attribute)===null||v===void 0?void 0:v.default}]}))}),f=C(w(l,"parseHTML",d));f&&(h.parseDOM=f.map(y=>Gt(y,u)));const g=w(l,"renderHTML",d);return g&&(h.toDOM=y=>g({mark:y,HTMLAttributes:lt(y,u)})),[l.name,h]}));return new m.Schema({topNode:i,nodes:a,marks:c})}function wt(e,t){return t.nodes[e]||t.marks[e]||null}function Yt(e,t){return Array.isArray(t)?t.some(n=>(typeof n=="string"?n:n.name)===e.name):t}function Bt(e,t){const n=m.DOMSerializer.fromSchema(t).serializeFragment(e),s=document.implementation.createHTMLDocument().createElement("div");return s.appendChild(n),s.innerHTML}const Ue=(e,t=500)=>{let n="";const r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,(s,o,i,a)=>{var c,l;const u=((l=(c=s.type.spec).toText)===null||l===void 0?void 0:l.call(c,{node:s,pos:o,parent:i,index:a}))||s.textContent||"%leaf%";n+=s.isAtom&&!s.isText?u:u.slice(0,Math.max(0,r-o))}),n};function jt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}class ft{constructor(t){this.find=t.find,this.handler=t.handler}}const qe=(e,t)=>{if(jt(t))return t.exec(e);const n=t(e);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function nt(e){var t;const{editor:n,from:r,to:s,text:o,rules:i,plugin:a}=e,{view:c}=n;if(c.composing)return!1;const l=c.state.doc.resolve(r);if(l.parent.type.spec.code||!((t=l.nodeBefore||l.nodeAfter)===null||t===void 0)&&t.marks.find(p=>p.type.spec.code))return!1;let u=!1;const d=Ue(l)+o;return i.forEach(p=>{if(u)return;const h=qe(d,p.find);if(!h)return;const f=c.state.tr,g=ut({state:c.state,transaction:f}),y={from:r-(h[0].length-o.length),to:s},{commands:v,chain:S,can:b}=new pt({editor:n,state:g});p.handler({state:g,range:y,match:h,commands:v,chain:S,can:b})===null||!f.steps.length||(f.setMeta(a,{transform:f,from:r,to:s,text:o}),c.dispatch(f),u=!0)}),u}function Ge(e){const{editor:t,rules:n}=e,r=new m.Plugin({state:{init(){return null},apply(s,o,i){const a=s.getMeta(r);if(a)return a;const c=s.getMeta("applyInputRules");return!!c&&setTimeout(()=>{let{text:u}=c;typeof u=="string"?u=u:u=Bt(m.Fragment.from(u),i.schema);const{from:d}=c,p=d+u.length;nt({editor:t,from:d,to:p,text:u,rules:n,plugin:r})}),s.selectionSet||s.docChanged?null:o}},props:{handleTextInput(s,o,i,a){return nt({editor:t,from:o,to:i,text:a,rules:n,plugin:r})},handleDOMEvents:{compositionend:s=>(setTimeout(()=>{const{$cursor:o}=s.state.selection;o&&nt({editor:t,from:o.pos,to:o.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(s,o){if(o.key!=="Enter")return!1;const{$cursor:i}=s.state.selection;return i?nt({editor:t,from:i.pos,to:i.pos,text:`
|
|
2
2
|
`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function Je(e){return Object.prototype.toString.call(e).slice(8,-1)}function rt(e){return Je(e)!=="Object"?!1:e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function mt(e,t){const n={...e};return rt(e)&&rt(t)&&Object.keys(t).forEach(r=>{rt(t[r])&&rt(e[r])?n[r]=mt(e[r],t[r]):n[r]=t[r]}),n}class D{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=C(w(this,"addOptions",{name:this.name}))),this.storage=C(w(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new D(t)}configure(t={}){const n=this.extend({...this.config,addOptions:()=>mt(this.options,t)});return n.name=this.name,n.parent=this.parent,n}extend(t={}){const n=new D(t);return n.parent=this,this.child=n,n.name=t.name?t.name:n.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=C(w(n,"addOptions",{name:n.name})),n.storage=C(w(n,"addStorage",{name:n.name,options:n.options})),n}static handleExit({editor:t,mark:n}){const{tr:r}=t.state,s=t.state.selection.$from;if(s.pos===s.end()){const i=s.marks();if(!!!i.find(l=>(l==null?void 0:l.type.name)===n.name))return!1;const c=i.find(l=>(l==null?void 0:l.type.name)===n.name);return c&&r.removeStoredMark(c),r.insertText(" ",s.pos),t.view.dispatch(r),!0}return!1}}function be(e){return typeof e=="number"}class Me{constructor(t){this.find=t.find,this.handler=t.handler}}const Ye=(e,t,n)=>{if(jt(t))return[...e.matchAll(t)];const r=t(e,n);return r?r.map(s=>{const o=[s.text];return o.index=s.index,o.input=e,o.data=s.data,s.replaceWith&&(s.text.includes(s.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),o.push(s.replaceWith)),o}):[]};function Xe(e){const{editor:t,state:n,from:r,to:s,rule:o,pasteEvent:i,dropEvent:a}=e,{commands:c,chain:l,can:u}=new pt({editor:t,state:n}),d=[];return n.doc.nodesBetween(r,s,(h,f)=>{if(!h.isTextblock||h.type.spec.code)return;const g=Math.max(r,f),y=Math.min(s,f+h.content.size),v=h.textBetween(g-f,y-f,void 0,"");Ye(v,o.find,i).forEach(b=>{if(b.index===void 0)return;const M=g+b.index+1,T=M+b[0].length,k={from:n.tr.mapping.map(M),to:n.tr.mapping.map(T)},x=o.handler({state:n,range:k,match:b,commands:c,chain:l,can:u,pasteEvent:i,dropEvent:a});d.push(x)})}),d.every(h=>h!==null)}const Qe=e=>{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(t=n.clipboardData)===null||t===void 0||t.setData("text/html",e),n};function Ze(e){const{editor:t,rules:n}=e;let r=null,s=!1,o=!1,i=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,a;try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}const c=({state:u,from:d,to:p,rule:h,pasteEvt:f})=>{const g=u.tr,y=ut({state:u,transaction:g});if(!(!Xe({editor:t,state:y,from:Math.max(d-1,0),to:p.b-1,rule:h,pasteEvent:f,dropEvent:a})||!g.steps.length)){try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}return i=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,g}};return n.map(u=>new m.Plugin({view(d){const p=h=>{var f;r=!((f=d.dom.parentElement)===null||f===void 0)&&f.contains(h.target)?d.dom.parentElement:null};return window.addEventListener("dragstart",p),{destroy(){window.removeEventListener("dragstart",p)}}},props:{handleDOMEvents:{drop:(d,p)=>(o=r===d.dom.parentElement,a=p,!1),paste:(d,p)=>{var h;const f=(h=p.clipboardData)===null||h===void 0?void 0:h.getData("text/html");return i=p,s=!!(f!=null&&f.includes("data-pm-slice")),!1}}},appendTransaction:(d,p,h)=>{const f=d[0],g=f.getMeta("uiEvent")==="paste"&&!s,y=f.getMeta("uiEvent")==="drop"&&!o,v=f.getMeta("applyPasteRules"),S=!!v;if(!g&&!y&&!S)return;if(S){let{text:T}=v;typeof T=="string"?T=T:T=Bt(m.Fragment.from(T),h.schema);const{from:k}=v,x=k+T.length,L=Qe(T);return c({rule:u,state:h,from:k,to:{b:x},pasteEvt:L})}const b=p.doc.content.findDiffStart(h.doc.content),M=p.doc.content.findDiffEnd(h.doc.content);if(!(!be(b)||!M||b===M.b))return c({rule:u,state:h,from:b,to:M,pasteEvt:i})}}))}function tn(e){const t=e.filter((n,r)=>e.indexOf(n)!==r);return Array.from(new Set(t))}class Y{constructor(t,n){this.splittableMarks=[],this.editor=n,this.extensions=Y.resolve(t),this.schema=Ke(this.extensions,n),this.setupExtensions()}static resolve(t){const n=Y.sort(Y.flatten(t)),r=tn(n.map(s=>s.name));return r.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map(s=>`'${s}'`).join(", ")}]. This can lead to issues.`),n}static flatten(t){return t.map(n=>{const r={name:n.name,options:n.options,storage:n.storage},s=w(n,"addExtensions",r);return s?[n,...this.flatten(s())]:n}).flat(10)}static sort(t){return t.sort((r,s)=>{const o=w(r,"priority")||100,i=w(s,"priority")||100;return o>i?-1:o<i?1:0})}get commands(){return this.extensions.reduce((t,n)=>{const r={name:n.name,options:n.options,storage:n.storage,editor:this.editor,type:wt(n.name,this.schema)},s=w(n,"addCommands",r);return s?{...t,...s()}:t},{})}get plugins(){const{editor:t}=this,n=Y.sort([...this.extensions].reverse()),r=[],s=[],o=n.map(i=>{const a={name:i.name,options:i.options,storage:i.storage,editor:t,type:wt(i.name,this.schema)},c=[],l=w(i,"addKeyboardShortcuts",a);let u={};if(i.type==="mark"&&w(i,"exitable",a)&&(u.ArrowRight=()=>D.handleExit({editor:t,mark:i})),l){const g=Object.fromEntries(Object.entries(l()).map(([y,v])=>[y,()=>v({editor:t})]));u={...u,...g}}const d=m.keymap(u);c.push(d);const p=w(i,"addInputRules",a);Yt(i,t.options.enableInputRules)&&p&&r.push(...p());const h=w(i,"addPasteRules",a);Yt(i,t.options.enablePasteRules)&&h&&s.push(...h());const f=w(i,"addProseMirrorPlugins",a);if(f){const g=f();c.push(...g)}return c}).flat();return[Ge({editor:t,rules:r}),...Ze({editor:t,rules:s}),...o]}get attributes(){return ye(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:n}=ht(this.extensions);return Object.fromEntries(n.filter(r=>!!w(r,"addNodeView")).map(r=>{const s=this.attributes.filter(c=>c.type===r.name),o={name:r.name,options:r.options,storage:r.storage,editor:t,type:_(r.name,this.schema)},i=w(r,"addNodeView",o);if(!i)return[];const a=(c,l,u,d,p)=>{const h=lt(c,s);return i()({node:c,view:l,getPos:u,decorations:d,innerDecorations:p,editor:t,extension:r,HTMLAttributes:h})};return[r.name,a]}))}setupExtensions(){this.extensions.forEach(t=>{var n;this.editor.extensionStorage[t.name]=t.storage;const r={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:wt(t.name,this.schema)};t.type==="mark"&&(!((n=C(w(t,"keepOnSplit",r)))!==null&&n!==void 0)||n)&&this.splittableMarks.push(t.name);const s=w(t,"onBeforeCreate",r),o=w(t,"onCreate",r),i=w(t,"onUpdate",r),a=w(t,"onSelectionUpdate",r),c=w(t,"onTransaction",r),l=w(t,"onFocus",r),u=w(t,"onBlur",r),d=w(t,"onDestroy",r);s&&this.editor.on("beforeCreate",s),o&&this.editor.on("create",o),i&&this.editor.on("update",i),a&&this.editor.on("selectionUpdate",a),c&&this.editor.on("transaction",c),l&&this.editor.on("focus",l),u&&this.editor.on("blur",u),d&&this.editor.on("destroy",d)})}}class H{constructor(t={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=C(w(this,"addOptions",{name:this.name}))),this.storage=C(w(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new H(t)}configure(t={}){const n=this.extend({...this.config,addOptions:()=>mt(this.options,t)});return n.name=this.name,n.parent=this.parent,n}extend(t={}){const n=new H({...this.config,...t});return n.parent=this,this.child=n,n.name=t.name?t.name:n.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=C(w(n,"addOptions",{name:n.name})),n.storage=C(w(n,"addStorage",{name:n.name,options:n.options})),n}}function Se(e,t,n){const{from:r,to:s}=t,{blockSeparator:o=`
|
|
3
3
|
|
|
4
4
|
`,textSerializers:i={}}=n||{};let a="";return e.nodesBetween(r,s,(c,l,u,d)=>{var p;c.isBlock&&l>r&&(a+=o);const h=i==null?void 0:i[c.type.name];if(h)return u&&(a+=h({node:c,pos:l,parent:u,index:d,range:t})),!1;c.isText&&(a+=(p=c==null?void 0:c.text)===null||p===void 0?void 0:p.slice(Math.max(r,l)-l,s-l))}),a}function ke(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,t])=>t.spec.toText).map(([t,n])=>[t,n.spec.toText]))}const en=H.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:s}=t,{ranges:o}=s,i=Math.min(...o.map(u=>u.$from.pos)),a=Math.max(...o.map(u=>u.$to.pos)),c=ke(n);return Se(r,{from:i,to:a},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:c})}}})]}}),nn=()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{var n;e.isDestroyed||(t.dom.blur(),(n=window==null?void 0:window.getSelection())===null||n===void 0||n.removeAllRanges())}),!0),rn=(e=!1)=>({commands:t})=>t.setContent("",e),sn=()=>({state:e,tr:t,dispatch:n})=>{const{selection:r}=t,{ranges:s}=r;return n&&s.forEach(({$from:o,$to:i})=>{e.doc.nodesBetween(o.pos,i.pos,(a,c)=>{if(a.type.isText)return;const{doc:l,mapping:u}=t,d=l.resolve(u.map(c)),p=l.resolve(u.map(c+a.nodeSize)),h=d.blockRange(p);if(!h)return;const f=m.liftTarget(h);if(a.type.isTextblock){const{defaultType:g}=d.parent.contentMatchAt(d.index());t.setNodeMarkup(h.start,g)}(f||f===0)&&t.lift(h,f)})}),!0},on=e=>t=>e(t),an=()=>({state:e,dispatch:t})=>m.createParagraphNear(e,t),ln=(e,t)=>({editor:n,tr:r})=>{const{state:s}=n,o=s.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);const i=r.mapping.map(t);return r.insert(i,o.content),r.setSelection(new m.TextSelection(r.doc.resolve(i-1))),!0},cn=()=>({tr:e,dispatch:t})=>{const{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;const s=e.selection.$anchor;for(let o=s.depth;o>0;o-=1)if(s.node(o).type===r.type){if(t){const a=s.before(o),c=s.after(o);e.delete(a,c).scrollIntoView()}return!0}return!1},dn=e=>({tr:t,state:n,dispatch:r})=>{const s=_(e,n.schema),o=t.selection.$anchor;for(let i=o.depth;i>0;i-=1)if(o.node(i).type===s){if(r){const c=o.before(i),l=o.after(i);t.delete(c,l).scrollIntoView()}return!0}return!1},un=e=>({tr:t,dispatch:n})=>{const{from:r,to:s}=e;return n&&t.delete(r,s),!0},pn=()=>({state:e,dispatch:t})=>m.deleteSelection(e,t),hn=()=>({commands:e})=>e.keyboardShortcut("Enter"),fn=()=>({state:e,dispatch:t})=>m.exitCode(e,t);function ct(e,t,n={strict:!0}){const r=Object.keys(t);return r.length?r.every(s=>n.strict?t[s]===e[s]:jt(t[s])?t[s].test(e[s]):t[s]===e[s]):!0}function we(e,t,n={}){return e.find(r=>r.type===t&&ct(Object.fromEntries(Object.keys(n).map(s=>[s,r.attrs[s]])),n))}function Xt(e,t,n={}){return!!we(e,t,n)}function gt(e,t,n){var r;if(!e||!t)return;let s=e.parent.childAfter(e.parentOffset);if((!s.node||!s.node.marks.some(u=>u.type===t))&&(s=e.parent.childBefore(e.parentOffset)),!s.node||!s.node.marks.some(u=>u.type===t)||(n=n||((r=s.node.marks[0])===null||r===void 0?void 0:r.attrs),!we([...s.node.marks],t,n)))return;let i=s.index,a=e.start()+s.offset,c=i+1,l=a+s.node.nodeSize;for(;i>0&&Xt([...e.parent.child(i-1).marks],t,n);)i-=1,a-=e.parent.child(i).nodeSize;for(;c<e.parent.childCount&&Xt([...e.parent.child(c).marks],t,n);)l+=e.parent.child(c).nodeSize,c+=1;return{from:a,to:l}}function z(e,t){if(typeof e=="string"){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}const mn=(e,t={})=>({tr:n,state:r,dispatch:s})=>{const o=z(e,r.schema),{doc:i,selection:a}=n,{$from:c,from:l,to:u}=a;if(s){const d=gt(c,o,t);if(d&&d.from<=l&&d.to>=u){const p=m.TextSelection.create(i,d.from,d.to);n.setSelection(p)}}return!0},gn=e=>t=>{const n=typeof e=="function"?e(t):e;for(let r=0;r<n.length;r+=1)if(n[r](t))return!0;return!1};function Ft(e){return e instanceof m.TextSelection}function $(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function Te(e,t=null){if(!t)return null;const n=m.Selection.atStart(e),r=m.Selection.atEnd(e);if(t==="start"||t===!0)return n;if(t==="end")return r;const s=n.from,o=r.to;return t==="all"?m.TextSelection.create(e,$(0,s,o),$(e.content.size,s,o)):m.TextSelection.create(e,$(t,s,o),$(t,s,o))}function yt(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const yn=(e=null,t={})=>({editor:n,view:r,tr:s,dispatch:o})=>{t={scrollIntoView:!0,...t};const i=()=>{yt()&&r.dom.focus(),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),t!=null&&t.scrollIntoView&&n.commands.scrollIntoView())})};if(r.hasFocus()&&e===null||e===!1)return!0;if(o&&e===null&&!Ft(n.state.selection))return i(),!0;const a=Te(s.doc,e)||n.state.selection,c=n.state.selection.eq(a);return o&&(c||s.setSelection(a),c&&s.storedMarks&&s.setStoredMarks(s.storedMarks),i()),!0},vn=(e,t)=>n=>e.every((r,s)=>t(r,{...n,index:s})),bn=(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),Ee=e=>{const t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){const r=t[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):r.nodeType===1&&Ee(r)}return e};function st(e){const t=`<body>${e}</body>`,n=new window.DOMParser().parseFromString(t,"text/html").body;return Ee(n)}function dt(e,t,n){if(e instanceof m.Node||e instanceof m.Fragment)return e;n={slice:!0,parseOptions:{},...n};const r=typeof e=="object"&&e!==null,s=typeof e=="string";if(r)try{if(Array.isArray(e)&&e.length>0)return m.Fragment.fromArray(e.map(a=>t.nodeFromJSON(a)));const i=t.nodeFromJSON(e);return n.errorOnInvalidContent&&i.check(),i}catch(o){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:o});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",o),dt("",t,n)}if(s){if(n.errorOnInvalidContent){let i=!1,a="";const c=new m.Schema({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:l=>(i=!0,a=typeof l=="string"?l:l.outerHTML,null)}]}})});if(n.slice?m.DOMParser.fromSchema(c).parseSlice(st(e),n.parseOptions):m.DOMParser.fromSchema(c).parse(st(e),n.parseOptions),n.errorOnInvalidContent&&i)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${a}`)})}const o=m.DOMParser.fromSchema(t);return n.slice?o.parseSlice(st(e),n.parseOptions).content:o.parse(st(e),n.parseOptions)}return dt("",t,n)}function Mn(e,t,n){const r=e.steps.length-1;if(r<t)return;const s=e.steps[r];if(!(s instanceof m.ReplaceStep||s instanceof m.ReplaceAroundStep))return;const o=e.mapping.maps[r];let i=0;o.forEach((a,c,l,u)=>{i===0&&(i=u)}),e.setSelection(m.Selection.near(e.doc.resolve(i),n))}const Sn=e=>!("type"in e),kn=(e,t,n)=>({tr:r,dispatch:s,editor:o})=>{var i;if(s){n={parseOptions:o.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let a;try{a=dt(t,o.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:(i=n.errorOnInvalidContent)!==null&&i!==void 0?i:o.options.enableContentCheck})}catch(f){return o.emit("contentError",{editor:o,error:f,disableCollaboration:()=>{o.storage.collaboration&&(o.storage.collaboration.isDisabled=!0)}}),!1}let{from:c,to:l}=typeof e=="number"?{from:e,to:e}:{from:e.from,to:e.to},u=!0,d=!0;if((Sn(a)?a:[a]).forEach(f=>{f.check(),u=u?f.isText&&f.marks.length===0:!1,d=d?f.isBlock:!1}),c===l&&d){const{parent:f}=r.doc.resolve(c);f.isTextblock&&!f.type.spec.code&&!f.childCount&&(c-=1,l+=1)}let h;if(u){if(Array.isArray(t))h=t.map(f=>f.text||"").join("");else if(t instanceof m.Fragment){let f="";t.forEach(g=>{g.text&&(f+=g.text)}),h=f}else typeof t=="object"&&t&&t.text?h=t.text:h=t;r.insertText(h,c,l)}else h=a,r.replaceWith(c,l,h);n.updateSelection&&Mn(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:c,text:h}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:c,text:h})}return!0},wn=()=>({state:e,dispatch:t})=>m.joinUp(e,t),Tn=()=>({state:e,dispatch:t})=>m.joinDown(e,t),En=()=>({state:e,dispatch:t})=>m.joinBackward(e,t),Cn=()=>({state:e,dispatch:t})=>m.joinForward(e,t),xn=()=>({state:e,dispatch:t,tr:n})=>{try{const r=m.joinPoint(e.doc,e.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},An=()=>({state:e,dispatch:t,tr:n})=>{try{const r=m.joinPoint(e.doc,e.selection.$from.pos,1);return r==null?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},On=()=>({state:e,dispatch:t})=>m.joinTextblockBackward(e,t),Ln=()=>({state:e,dispatch:t})=>m.joinTextblockForward(e,t);function Ce(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Pn(e){const t=e.split(/-(?!$)/);let n=t[t.length-1];n==="Space"&&(n=" ");let r,s,o,i;for(let a=0;a<t.length-1;a+=1){const c=t[a];if(/^(cmd|meta|m)$/i.test(c))i=!0;else if(/^a(lt)?$/i.test(c))r=!0;else if(/^(c|ctrl|control)$/i.test(c))s=!0;else if(/^s(hift)?$/i.test(c))o=!0;else if(/^mod$/i.test(c))yt()||Ce()?i=!0:s=!0;else throw new Error(`Unrecognized modifier name: ${c}`)}return r&&(n=`Alt-${n}`),s&&(n=`Ctrl-${n}`),i&&(n=`Meta-${n}`),o&&(n=`Shift-${n}`),n}const Rn=e=>({editor:t,view:n,tr:r,dispatch:s})=>{const o=Pn(e).split(/-(?!$)/),i=o.find(l=>!["Alt","Ctrl","Meta","Shift"].includes(l)),a=new KeyboardEvent("keydown",{key:i==="Space"?" ":i,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0}),c=t.captureTransaction(()=>{n.someProp("handleKeyDown",l=>l(n,a))});return c==null||c.steps.forEach(l=>{const u=l.map(r.mapping);u&&s&&r.maybeStep(u)}),!0};function tt(e,t,n={}){const{from:r,to:s,empty:o}=e.selection,i=t?_(t,e.schema):null,a=[];e.doc.nodesBetween(r,s,(d,p)=>{if(d.isText)return;const h=Math.max(r,p),f=Math.min(s,p+d.nodeSize);a.push({node:d,from:h,to:f})});const c=s-r,l=a.filter(d=>i?i.name===d.node.type.name:!0).filter(d=>ct(d.node.attrs,n,{strict:!1}));return o?!!l.length:l.reduce((d,p)=>d+p.to-p.from,0)>=c}const Hn=(e,t={})=>({state:n,dispatch:r})=>{const s=_(e,n.schema);return tt(n,s,t)?m.lift(n,r):!1},_n=()=>({state:e,dispatch:t})=>m.liftEmptyBlock(e,t),Dn=e=>({state:t,dispatch:n})=>{const r=_(e,t.schema);return m.liftListItem(r)(t,n)},In=()=>({state:e,dispatch:t})=>m.newlineInCode(e,t);function vt(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Qt(e,t){const n=typeof t=="string"?[t]:t;return Object.keys(e).reduce((r,s)=>(n.includes(s)||(r[s]=e[s]),r),{})}const Nn=(e,t)=>({tr:n,state:r,dispatch:s})=>{let o=null,i=null;const a=vt(typeof e=="string"?e:e.name,r.schema);return a?(a==="node"&&(o=_(e,r.schema)),a==="mark"&&(i=z(e,r.schema)),s&&n.selection.ranges.forEach(c=>{r.doc.nodesBetween(c.$from.pos,c.$to.pos,(l,u)=>{o&&o===l.type&&n.setNodeMarkup(u,void 0,Qt(l.attrs,t)),i&&l.marks.length&&l.marks.forEach(d=>{i===d.type&&n.addMark(u,u+l.nodeSize,i.create(Qt(d.attrs,t)))})})}),!0):!1},$n=()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),Bn=()=>({tr:e,commands:t})=>t.setTextSelection({from:0,to:e.doc.content.size}),jn=()=>({state:e,dispatch:t})=>m.selectNodeBackward(e,t),Fn=()=>({state:e,dispatch:t})=>m.selectNodeForward(e,t),zn=()=>({state:e,dispatch:t})=>m.selectParentNode(e,t),Vn=()=>({state:e,dispatch:t})=>m.selectTextblockEnd(e,t),Wn=()=>({state:e,dispatch:t})=>m.selectTextblockStart(e,t);function Pt(e,t,n={},r={}){return dt(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}const Kn=(e,t=!1,n={},r={})=>({editor:s,tr:o,dispatch:i,commands:a})=>{var c,l;const{doc:u}=o;if(n.preserveWhitespace!=="full"){const d=Pt(e,s.schema,n,{errorOnInvalidContent:(c=r.errorOnInvalidContent)!==null&&c!==void 0?c:s.options.enableContentCheck});return i&&o.replaceWith(0,u.content.size,d).setMeta("preventUpdate",!t),!0}return i&&o.setMeta("preventUpdate",!t),a.insertContentAt({from:0,to:u.content.size},e,{parseOptions:n,errorOnInvalidContent:(l=r.errorOnInvalidContent)!==null&&l!==void 0?l:s.options.enableContentCheck})};function zt(e,t){const n=z(t,e.schema),{from:r,to:s,empty:o}=e.selection,i=[];o?(e.storedMarks&&i.push(...e.storedMarks),i.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,s,c=>{i.push(...c.marks)});const a=i.find(c=>c.type.name===n.name);return a?{...a.attrs}:{}}function Un(e,t){const n=new m.Transform(e);return t.forEach(r=>{r.steps.forEach(s=>{n.step(s)})}),n}function qn(e){for(let t=0;t<e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function Gn(e,t){const n=[];return e.descendants((r,s)=>{t(r)&&n.push({node:r,pos:s})}),n}function Jn(e,t,n){const r=[];return e.nodesBetween(t.from,t.to,(s,o)=>{n(s)&&r.push({node:s,pos:o})}),r}function xe(e,t){for(let n=e.depth;n>0;n-=1){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function bt(e){return t=>xe(t.$from,e)}function Yn(e,t){const n={from:0,to:e.content.size};return Se(e,n,t)}function Xn(e,t){const n=_(t,e.schema),{from:r,to:s}=e.selection,o=[];e.doc.nodesBetween(r,s,a=>{o.push(a)});const i=o.reverse().find(a=>a.type.name===n.name);return i?{...i.attrs}:{}}function Ae(e,t){const n=vt(typeof t=="string"?t:t.name,e.schema);return n==="node"?Xn(e,t):n==="mark"?zt(e,t):{}}function Qn(e,t=JSON.stringify){const n={};return e.filter(r=>{const s=t(r);return Object.prototype.hasOwnProperty.call(n,s)?!1:n[s]=!0})}function Zn(e){const t=Qn(e);return t.length===1?t:t.filter((n,r)=>!t.filter((o,i)=>i!==r).some(o=>n.oldRange.from>=o.oldRange.from&&n.oldRange.to<=o.oldRange.to&&n.newRange.from>=o.newRange.from&&n.newRange.to<=o.newRange.to))}function tr(e){const{mapping:t,steps:n}=e,r=[];return t.maps.forEach((s,o)=>{const i=[];if(s.ranges.length)s.forEach((a,c)=>{i.push({from:a,to:c})});else{const{from:a,to:c}=n[o];if(a===void 0||c===void 0)return;i.push({from:a,to:c})}i.forEach(({from:a,to:c})=>{const l=t.slice(o).map(a,-1),u=t.slice(o).map(c),d=t.invert().map(l,-1),p=t.invert().map(u);r.push({oldRange:{from:d,to:p},newRange:{from:l,to:u}})})}),Zn(r)}function Vt(e,t,n){const r=[];return e===t?n.resolve(e).marks().forEach(s=>{const o=n.resolve(e),i=gt(o,s.type);i&&r.push({mark:s,...i})}):n.nodesBetween(e,t,(s,o)=>{!s||(s==null?void 0:s.nodeSize)===void 0||r.push(...s.marks.map(i=>({from:o,to:o+s.nodeSize,mark:i})))}),r}function at(e,t,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const s=e.find(o=>o.type===t&&o.name===r);return s?s.attribute.keepOnSplit:!1}))}function Rt(e,t,n={}){const{empty:r,ranges:s}=e.selection,o=t?z(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(d=>o?o.name===d.type.name:!0).find(d=>ct(d.attrs,n,{strict:!1}));let i=0;const a=[];if(s.forEach(({$from:d,$to:p})=>{const h=d.pos,f=p.pos;e.doc.nodesBetween(h,f,(g,y)=>{if(!g.isText&&!g.marks.length)return;const v=Math.max(h,y),S=Math.min(f,y+g.nodeSize),b=S-v;i+=b,a.push(...g.marks.map(M=>({mark:M,from:v,to:S})))})}),i===0)return!1;const c=a.filter(d=>o?o.name===d.mark.type.name:!0).filter(d=>ct(d.mark.attrs,n,{strict:!1})).reduce((d,p)=>d+p.to-p.from,0),l=a.filter(d=>o?d.mark.type!==o&&d.mark.type.excludes(o):!0).reduce((d,p)=>d+p.to-p.from,0);return(c>0?c+l:c)>=i}function Oe(e,t,n={}){if(!t)return tt(e,null,n)||Rt(e,null,n);const r=vt(t,e.schema);return r==="node"?tt(e,t,n):r==="mark"?Rt(e,t,n):!1}function Ht(e,t){const{nodeExtensions:n}=ht(t),r=n.find(i=>i.name===e);if(!r)return!1;const s={name:r.name,options:r.options,storage:r.storage},o=C(w(r,"group",s));return typeof o!="string"?!1:o.split(" ").includes("list")}function Mt(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(e.type.name==="hardBreak")return!0;if(e.isText)return/^\s*$/m.test((r=e.text)!==null&&r!==void 0?r:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(e.content.childCount===0)return!0;if(t){let s=!0;return e.content.forEach(o=>{s!==!1&&(Mt(o,{ignoreWhitespace:n,checkChildren:t})||(s=!1))}),s}return!1}function Le(e){return e instanceof m.NodeSelection}function er(e,t,n){const s=e.state.doc.content.size,o=$(t,0,s),i=$(n,0,s),a=e.coordsAtPos(o),c=e.coordsAtPos(i,-1),l=Math.min(a.top,c.top),u=Math.max(a.bottom,c.bottom),d=Math.min(a.left,c.left),p=Math.max(a.right,c.right),h=p-d,f=u-l,v={top:l,bottom:u,left:d,right:p,width:h,height:f,x:d,y:l};return{...v,toJSON:()=>v}}function nr(e,t,n){var r;const{selection:s}=t;let o=null;if(Ft(s)&&(o=s.$cursor),o){const a=(r=e.storedMarks)!==null&&r!==void 0?r:o.marks();return!!n.isInSet(a)||!a.some(c=>c.type.excludes(n))}const{ranges:i}=s;return i.some(({$from:a,$to:c})=>{let l=a.depth===0?e.doc.inlineContent&&e.doc.type.allowsMarkType(n):!1;return e.doc.nodesBetween(a.pos,c.pos,(u,d,p)=>{if(l)return!1;if(u.isInline){const h=!p||p.type.allowsMarkType(n),f=!!n.isInSet(u.marks)||!u.marks.some(g=>g.type.excludes(n));l=h&&f}return!l}),l})}const rr=(e,t={})=>({tr:n,state:r,dispatch:s})=>{const{selection:o}=n,{empty:i,ranges:a}=o,c=z(e,r.schema);if(s)if(i){const l=zt(r,c);n.addStoredMark(c.create({...l,...t}))}else a.forEach(l=>{const u=l.$from.pos,d=l.$to.pos;r.doc.nodesBetween(u,d,(p,h)=>{const f=Math.max(h,u),g=Math.min(h+p.nodeSize,d);p.marks.find(v=>v.type===c)?p.marks.forEach(v=>{c===v.type&&n.addMark(f,g,c.create({...v.attrs,...t}))}):n.addMark(f,g,c.create(t))})});return nr(r,n,c)},sr=(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),or=(e,t={})=>({state:n,dispatch:r,chain:s})=>{const o=_(e,n.schema);let i;return n.selection.$anchor.sameParent(n.selection.$head)&&(i=n.selection.$anchor.parent.attrs),o.isTextblock?s().command(({commands:a})=>m.setBlockType(o,{...i,...t})(n)?!0:a.clearNodes()).command(({state:a})=>m.setBlockType(o,{...i,...t})(a,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},ir=e=>({tr:t,dispatch:n})=>{if(n){const{doc:r}=t,s=$(e,0,r.content.size),o=m.NodeSelection.create(r,s);t.setSelection(o)}return!0},ar=e=>({tr:t,dispatch:n})=>{if(n){const{doc:r}=t,{from:s,to:o}=typeof e=="number"?{from:e,to:e}:e,i=m.TextSelection.atStart(r).from,a=m.TextSelection.atEnd(r).to,c=$(s,i,a),l=$(o,i,a),u=m.TextSelection.create(r,c,l);t.setSelection(u)}return!0},lr=e=>({state:t,dispatch:n})=>{const r=_(e,t.schema);return m.sinkListItem(r)(t,n)};function Zt(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const r=n.filter(s=>t==null?void 0:t.includes(s.type.name));e.tr.ensureMarks(r)}}const cr=({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:r,editor:s})=>{const{selection:o,doc:i}=t,{$from:a,$to:c}=o,l=s.extensionManager.attributes,u=at(l,a.node().type.name,a.node().attrs);if(o instanceof m.NodeSelection&&o.node.isBlock)return!a.parentOffset||!m.canSplit(i,a.pos)?!1:(r&&(e&&Zt(n,s.extensionManager.splittableMarks),t.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;const d=c.parentOffset===c.parent.content.size,p=a.depth===0?void 0:qn(a.node(-1).contentMatchAt(a.indexAfter(-1)));let h=d&&p?[{type:p,attrs:u}]:void 0,f=m.canSplit(t.doc,t.mapping.map(a.pos),1,h);if(!h&&!f&&m.canSplit(t.doc,t.mapping.map(a.pos),1,p?[{type:p}]:void 0)&&(f=!0,h=p?[{type:p,attrs:u}]:void 0),r){if(f&&(o instanceof m.TextSelection&&t.deleteSelection(),t.split(t.mapping.map(a.pos),1,h),p&&!d&&!a.parentOffset&&a.parent.type!==p)){const g=t.mapping.map(a.before()),y=t.doc.resolve(g);a.node(-1).canReplaceWith(y.index(),y.index()+1,p)&&t.setNodeMarkup(t.mapping.map(a.before()),p)}e&&Zt(n,s.extensionManager.splittableMarks),t.scrollIntoView()}return f},dr=(e,t={})=>({tr:n,state:r,dispatch:s,editor:o})=>{var i;const a=_(e,r.schema),{$from:c,$to:l}=r.selection,u=r.selection.node;if(u&&u.isBlock||c.depth<2||!c.sameParent(l))return!1;const d=c.node(-1);if(d.type!==a)return!1;const p=o.extensionManager.attributes;if(c.parent.content.size===0&&c.node(-1).childCount===c.indexAfter(-1)){if(c.depth===2||c.node(-3).type!==a||c.index(-2)!==c.node(-2).childCount-1)return!1;if(s){let v=m.Fragment.empty;const S=c.index(-1)?1:c.index(-2)?2:3;for(let L=c.depth-S;L>=c.depth-3;L-=1)v=m.Fragment.from(c.node(L).copy(v));const b=c.indexAfter(-1)<c.node(-2).childCount?1:c.indexAfter(-2)<c.node(-3).childCount?2:3,M={...at(p,c.node().type.name,c.node().attrs),...t},T=((i=a.contentMatch.defaultType)===null||i===void 0?void 0:i.createAndFill(M))||void 0;v=v.append(m.Fragment.from(a.createAndFill(null,T)||void 0));const k=c.before(c.depth-(S-1));n.replace(k,c.after(-b),new m.Slice(v,4-S,0));let x=-1;n.doc.nodesBetween(k,n.doc.content.size,(L,E)=>{if(x>-1)return!1;L.isTextblock&&L.content.size===0&&(x=E+1)}),x>-1&&n.setSelection(m.TextSelection.near(n.doc.resolve(x))),n.scrollIntoView()}return!0}const h=l.pos===c.end()?d.contentMatchAt(0).defaultType:null,f={...at(p,d.type.name,d.attrs),...t},g={...at(p,c.node().type.name,c.node().attrs),...t};n.delete(c.pos,l.pos);const y=h?[{type:a,attrs:f},{type:h,attrs:g}]:[{type:a,attrs:f}];if(!m.canSplit(n.doc,c.pos,2))return!1;if(s){const{selection:v,storedMarks:S}=r,{splittableMarks:b}=o.extensionManager,M=S||v.$to.parentOffset&&v.$from.marks();if(n.split(c.pos,2,y).scrollIntoView(),!M||!s)return!0;const T=M.filter(k=>b.includes(k.type.name));n.ensureMarks(T)}return!0},Tt=(e,t)=>{const n=bt(i=>i.type===t)(e.selection);if(!n)return!0;const r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const s=e.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&m.canJoin(e.doc,n.pos)&&e.join(n.pos),!0},Et=(e,t)=>{const n=bt(i=>i.type===t)(e.selection);if(!n)return!0;const r=e.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const s=e.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&m.canJoin(e.doc,r)&&e.join(r),!0},ur=(e,t,n,r={})=>({editor:s,tr:o,state:i,dispatch:a,chain:c,commands:l,can:u})=>{const{extensions:d,splittableMarks:p}=s.extensionManager,h=_(e,i.schema),f=_(t,i.schema),{selection:g,storedMarks:y}=i,{$from:v,$to:S}=g,b=v.blockRange(S),M=y||g.$to.parentOffset&&g.$from.marks();if(!b)return!1;const T=bt(k=>Ht(k.type.name,d))(g);if(b.depth>=1&&T&&b.depth-T.depth<=1){if(T.node.type===h)return l.liftListItem(f);if(Ht(T.node.type.name,d)&&h.validContent(T.node.content)&&a)return c().command(()=>(o.setNodeMarkup(T.pos,h),!0)).command(()=>Tt(o,h)).command(()=>Et(o,h)).run()}return!n||!M||!a?c().command(()=>u().wrapInList(h,r)?!0:l.clearNodes()).wrapInList(h,r).command(()=>Tt(o,h)).command(()=>Et(o,h)).run():c().command(()=>{const k=u().wrapInList(h,r),x=M.filter(L=>p.includes(L.type.name));return o.ensureMarks(x),k?!0:l.clearNodes()}).wrapInList(h,r).command(()=>Tt(o,h)).command(()=>Et(o,h)).run()},pr=(e,t={},n={})=>({state:r,commands:s})=>{const{extendEmptyMarkRange:o=!1}=n,i=z(e,r.schema);return Rt(r,i,t)?s.unsetMark(i,{extendEmptyMarkRange:o}):s.setMark(i,t)},hr=(e,t,n={})=>({state:r,commands:s})=>{const o=_(e,r.schema),i=_(t,r.schema),a=tt(r,o,n);let c;return r.selection.$anchor.sameParent(r.selection.$head)&&(c=r.selection.$anchor.parent.attrs),a?s.setNode(i,c):s.setNode(o,{...c,...n})},fr=(e,t={})=>({state:n,commands:r})=>{const s=_(e,n.schema);return tt(n,s,t)?r.lift(s):r.wrapIn(s,t)},mr=()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let r=0;r<n.length;r+=1){const s=n[r];let o;if(s.spec.isInputRules&&(o=s.getState(e))){if(t){const i=e.tr,a=o.transform;for(let c=a.steps.length-1;c>=0;c-=1)i.step(a.steps[c].invert(a.docs[c]));if(o.text){const c=i.doc.resolve(o.from).marks();i.replaceWith(o.from,o.to,e.schema.text(o.text,c))}else i.delete(o.from,o.to)}return!0}}return!1},gr=()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:r,ranges:s}=n;return r||t&&s.forEach(o=>{e.removeMark(o.$from.pos,o.$to.pos)}),!0},yr=(e,t={})=>({tr:n,state:r,dispatch:s})=>{var o;const{extendEmptyMarkRange:i=!1}=t,{selection:a}=n,c=z(e,r.schema),{$from:l,empty:u,ranges:d}=a;if(!s)return!0;if(u&&i){let{from:p,to:h}=a;const f=(o=l.marks().find(y=>y.type===c))===null||o===void 0?void 0:o.attrs,g=gt(l,c,f);g&&(p=g.from,h=g.to),n.removeMark(p,h,c)}else d.forEach(p=>{n.removeMark(p.$from.pos,p.$to.pos,c)});return n.removeStoredMark(c),!0},vr=(e,t={})=>({tr:n,state:r,dispatch:s})=>{let o=null,i=null;const a=vt(typeof e=="string"?e:e.name,r.schema);return a?(a==="node"&&(o=_(e,r.schema)),a==="mark"&&(i=z(e,r.schema)),s&&n.selection.ranges.forEach(c=>{const l=c.$from.pos,u=c.$to.pos;let d,p,h,f;n.selection.empty?r.doc.nodesBetween(l,u,(g,y)=>{o&&o===g.type&&(h=Math.max(y,l),f=Math.min(y+g.nodeSize,u),d=y,p=g)}):r.doc.nodesBetween(l,u,(g,y)=>{y<l&&o&&o===g.type&&(h=Math.max(y,l),f=Math.min(y+g.nodeSize,u),d=y,p=g),y>=l&&y<=u&&(o&&o===g.type&&n.setNodeMarkup(y,void 0,{...g.attrs,...t}),i&&g.marks.length&&g.marks.forEach(v=>{if(i===v.type){const S=Math.max(y,l),b=Math.min(y+g.nodeSize,u);n.addMark(S,b,i.create({...v.attrs,...t}))}}))}),p&&(d!==void 0&&n.setNodeMarkup(d,void 0,{...p.attrs,...t}),i&&p.marks.length&&p.marks.forEach(g=>{i===g.type&&n.addMark(h,f,i.create({...g.attrs,...t}))}))}),!0):!1},br=(e,t={})=>({state:n,dispatch:r})=>{const s=_(e,n.schema);return m.wrapIn(s,t)(n,r)},Mr=(e,t={})=>({state:n,dispatch:r})=>{const s=_(e,n.schema);return m.wrapInList(s,t)(n,r)};var Sr=Object.freeze({__proto__:null,blur:nn,clearContent:rn,clearNodes:sn,command:on,createParagraphNear:an,cut:ln,deleteCurrentNode:cn,deleteNode:dn,deleteRange:un,deleteSelection:pn,enter:hn,exitCode:fn,extendMarkRange:mn,first:gn,focus:yn,forEach:vn,insertContent:bn,insertContentAt:kn,joinBackward:En,joinDown:Tn,joinForward:Cn,joinItemBackward:xn,joinItemForward:An,joinTextblockBackward:On,joinTextblockForward:Ln,joinUp:wn,keyboardShortcut:Rn,lift:Hn,liftEmptyBlock:_n,liftListItem:Dn,newlineInCode:In,resetAttributes:Nn,scrollIntoView:$n,selectAll:Bn,selectNodeBackward:jn,selectNodeForward:Fn,selectParentNode:zn,selectTextblockEnd:Vn,selectTextblockStart:Wn,setContent:Kn,setMark:rr,setMeta:sr,setNode:or,setNodeSelection:ir,setTextSelection:ar,sinkListItem:lr,splitBlock:cr,splitListItem:dr,toggleList:ur,toggleMark:pr,toggleNode:hr,toggleWrap:fr,undoInputRule:mr,unsetAllMarks:gr,unsetMark:yr,updateAttributes:vr,wrapIn:br,wrapInList:Mr});const kr=H.create({name:"commands",addCommands(){return{...Sr}}}),wr=H.create({name:"drop",addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("tiptapDrop"),props:{handleDrop:(e,t,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),Tr=H.create({name:"editable",addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Er=H.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new m.Plugin({key:new m.PluginKey("focusEvents"),props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const r=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;const r=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1}}}})]}}),Cr=H.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first(({commands:i})=>[()=>i.undoInputRule(),()=>i.command(({tr:a})=>{const{selection:c,doc:l}=a,{empty:u,$anchor:d}=c,{pos:p,parent:h}=d,f=d.parent.isTextblock&&p>0?a.doc.resolve(p-1):d,g=f.parent.type.spec.isolating,y=d.pos-d.parentOffset,v=g&&f.parent.childCount===1?y===d.pos:m.Selection.atStart(l).from===p;return!u||!h.type.isTextblock||h.textContent.length||!v||v&&d.parent.type.name==="paragraph"?!1:i.clearNodes()}),()=>i.deleteSelection(),()=>i.joinBackward(),()=>i.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:i})=>[()=>i.deleteSelection(),()=>i.deleteCurrentNode(),()=>i.joinForward(),()=>i.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:i})=>[()=>i.newlineInCode(),()=>i.createParagraphNear(),()=>i.liftEmptyBlock(),()=>i.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},s={...r},o={...r,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return yt()||Ce()?o:s},addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("clearDocument"),appendTransaction:(e,t,n)=>{const r=e.some(g=>g.docChanged)&&!t.doc.eq(n.doc),s=e.some(g=>g.getMeta("preventClearDocument"));if(!r||s)return;const{empty:o,from:i,to:a}=t.selection,c=m.Selection.atStart(t.doc).from,l=m.Selection.atEnd(t.doc).to;if(o||!(i===c&&a===l)||!Mt(n.doc))return;const p=n.tr,h=ut({state:n,transaction:p}),{commands:f}=new pt({editor:this.editor,state:h});if(f.clearNodes(),!!p.steps.length)return p}})]}}),xr=H.create({name:"paste",addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("tiptapPaste"),props:{handlePaste:(e,t,n)=>{this.editor.emit("paste",{editor:this.editor,event:t,slice:n})}}})]}}),Ar=H.create({name:"tabindex",addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class U{get name(){return this.node.type.name}constructor(t,n,r=!1,s=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=t,this.editor=n,this.currentNode=s}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var t;return(t=this.actualDepth)!==null&&t!==void 0?t:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(t){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},t)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const t=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(t);return new U(n,this.editor)}get before(){let t=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.from-3)),new U(t,this.editor)}get after(){let t=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.to+3)),new U(t,this.editor)}get children(){const t=[];return this.node.content.forEach((n,r)=>{const s=n.isBlock&&!n.isTextblock,o=n.isAtom&&!n.isText,i=this.pos+r+(o?0:1),a=this.resolvedPos.doc.resolve(i);if(!s&&a.depth<=this.depth)return;const c=new U(a,this.editor,s,s?n:null);s&&(c.actualDepth=this.depth+1),t.push(new U(a,this.editor,s,s?n:null))}),t}get firstChild(){return this.children[0]||null}get lastChild(){const t=this.children;return t[t.length-1]||null}closest(t,n={}){let r=null,s=this.parent;for(;s&&!r;){if(s.node.type.name===t)if(Object.keys(n).length>0){const o=s.node.attrs,i=Object.keys(n);for(let a=0;a<i.length;a+=1){const c=i[a];if(o[c]!==n[c])break}}else r=s;s=s.parent}return r}querySelector(t,n={}){return this.querySelectorAll(t,n,!0)[0]||null}querySelectorAll(t,n={},r=!1){let s=[];if(!this.children||this.children.length===0)return s;const o=Object.keys(n);return this.children.forEach(i=>{r&&s.length>0||(i.node.type.name===t&&o.every(c=>n[c]===i.node.attrs[c])&&s.push(i),!(r&&s.length>0)&&(s=s.concat(i.querySelectorAll(t,n,r))))}),s}setAttribute(t){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...t}),this.editor.view.dispatch(n)}}const Or=`.ProseMirror {
|