reactjs-tiptap-editor 0.2.7 → 0.2.9
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/{RichTextEditor-Duvymqks.cjs → RichTextEditor-BbpdLvup.cjs} +4 -4
- package/lib/{RichTextEditor-GO6yxkq9.js → RichTextEditor-DwHrESsL.js} +1071 -1053
- package/lib/extension-bundle.cjs +1 -1
- package/lib/extension-bundle.d.cts +65 -65
- package/lib/extension-bundle.d.ts +65 -65
- package/lib/extension-bundle.js +5 -5
- package/lib/{index-C7UbZ2CS.cjs → index-Bekz0zC7.cjs} +1 -1
- package/lib/{index-BngAFVnd.js → index-CGVy85-a.js} +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +65 -65
- package/lib/index.d.ts +65 -65
- package/lib/index.js +2 -2
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +65 -65
- package/lib/locale-bundle.d.ts +65 -65
- package/lib/locale-bundle.js +1 -1
- package/lib/style.css +1 -1
- package/lib/{tiptap-tmVDGH_r.cjs → tiptap-BjxGiEhB.cjs} +1 -1
- package/lib/{tiptap-ahYjwjH-.js → tiptap-DKUVyykT.js} +1 -1
- package/lib/{vendor-DTqf5JcV.cjs → vendor-C9wSqocV.cjs} +1 -1
- package/lib/{vendor-8yMXCLYm.js → vendor-K5cb6hwc.js} +1 -1
- package/package.json +13 -14
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)}}._verified_lvyh0_1{margin-left:.125rem;max-width:20px;max-height:20px;height:1.25em;fill:currentColor;-webkit-user-select:none;user-select:none;vertical-align:text-bottom}._root_98iqw_1{width:100%;min-width:250px;max-width:550px;overflow:hidden;color:var(--richtexteet-font-color);font-family:var(--richtexteet-font-family);font-weight:400;box-sizing:border-box;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-container-margin);background-color:var(--richtexteet-bg-color);transition-property:background-color,box-shadow;transition-duration:.2s}._root_98iqw_1:hover{background-color:var(--richtexteet-bg-color-hover)}._article_98iqw_21{position:relative;box-sizing:inherit;padding:.75rem 1rem}.react-tweet-theme{--richtexteet-container-margin: 1.5rem 0;--richtexteet-header-font-size: .9375rem;--richtexteet-header-line-height: 1.25rem;--richtexteet-body-font-size: 1.25rem;--richtexteet-body-font-weight: 400;--richtexteet-body-line-height: 1.5rem;--richtexteet-body-margin: 0;--richtexteet-quoted-container-margin: .75rem 0;--richtexteet-quoted-body-font-size: .938rem;--richtexteet-quoted-body-font-weight: 400;--richtexteet-quoted-body-line-height: 1.25rem;--richtexteet-quoted-body-margin: .25rem 0 .75rem 0;--richtexteet-info-font-size: .9375rem;--richtexteet-info-line-height: 1.25rem;--richtexteet-actions-font-size: .875rem;--richtexteet-actions-line-height: 1rem;--richtexteet-actions-font-weight: 700;--richtexteet-actions-icon-size: 1.25em;--richtexteet-actions-icon-wrapper-size: calc( var(--richtexteet-actions-icon-size) + .75em );--richtexteet-replies-font-size: .875rem;--richtexteet-replies-line-height: 1rem;--richtexteet-replies-font-weight: 700}:where(.react-tweet-theme) *{margin:0;padding:0;box-sizing:border-box}:is([data-theme=light],.light) :where(.react-tweet-theme),:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #fafafa, #eaeaea, #eaeaea, #fafafa );--richtexteet-border: 1px solid rgb(207, 217, 222);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(15, 20, 25);--richtexteet-font-color-secondary: rgb(83, 100, 113);--richtexteet-bg-color: #fff;--richtexteet-bg-color-hover: rgb(247, 249, 249);--richtexteet-quoted-bg-color-hover: rgba(0, 0, 0, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(0, 111, 214);--richtexteet-color-blue-secondary-hover: rgba(0, 111, 214, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: var(--richtexteet-color-blue-primary)}:is([data-theme=dark],.dark) :where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-quoted-bg-color-hover: rgba(255, 255, 255, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}@media (prefers-color-scheme: dark){:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}}._header_nqq4j_1{display:flex;padding-bottom:.75rem;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_nqq4j_11{position:relative;height:48px;width:48px}._avatarOverflow_nqq4j_16{height:100%;width:100%;position:absolute;overflow:hidden;border-radius:9999px}._avatarSquare_nqq4j_23{border-radius:4px}._avatarShadow_nqq4j_26{height:100%;width:100%;transition-property:background-color;transition-duration:.2s;box-shadow:#00000008 0 0 2px inset}._avatarShadow_nqq4j_26:hover{background-color:#1a1a1a26}._author_nqq4j_37{max-width:calc(100% - 84px);display:flex;flex-direction:column;justify-content:center;margin:0 .5rem}._authorLink_nqq4j_44{text-decoration:none;color:inherit;display:flex;align-items:center}._authorLink_nqq4j_44:hover{text-decoration-line:underline}._authorVerified_nqq4j_53{display:inline-flex}._authorLinkText_nqq4j_56{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._authorMeta_nqq4j_63,._authorFollow_nqq4j_66{display:flex}._username_nqq4j_69{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis}._follow_nqq4j_74{color:var(--richtexteet-color-blue-secondary);text-decoration:none;font-weight:700}._follow_nqq4j_74:hover{text-decoration-line:underline}._separator_nqq4j_82{padding:0 .25rem}._brand_nqq4j_86{margin-inline-start:auto}._twitterIcon_nqq4j_90{width:23.75px;height:23.75px;color:var(--richtexteet-twitter-icon-color);fill:currentColor;-webkit-user-select:none;user-select:none}._verifiedOld_lcna5_1{color:var(--richtexteet-verified-old-color)}._verifiedBlue_lcna5_4{color:var(--richtexteet-verified-blue-color)}._verifiedGovernment_lcna5_7{color:#829aab}._root_1ec15_1{text-decoration:none;color:var(--richtexteet-font-color-secondary);font-size:.9375rem;line-height:1.25rem;margin-bottom:.25rem;overflow-wrap:break-word;white-space:pre-wrap}._root_1ec15_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_eihfa_1{font-weight:inherit;color:var(--richtexteet-color-blue-secondary);text-decoration:none;cursor:pointer}._root_eihfa_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_1xq52_1{font-size:var(--richtexteet-body-font-size);font-weight:var(--richtexteet-body-font-weight);line-height:var(--richtexteet-body-line-height);margin:var(--richtexteet-body-margin);overflow-wrap:break-word;white-space:pre-wrap}._root_g9tkv_1{margin-top:.75rem;overflow:hidden;position:relative}._rounded_g9tkv_6{border:var(--richtexteet-border);border-radius:12px}._mediaWrapper_g9tkv_10{display:grid;grid-auto-rows:1fr;gap:2px;height:100%;width:100%}._grid2Columns_g9tkv_17{grid-template-columns:repeat(2,1fr)}._grid3_g9tkv_20>a:first-child{grid-row:span 2}._grid2x2_g9tkv_23{grid-template-rows:repeat(2,1fr)}._mediaContainer_g9tkv_26{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}._mediaLink_g9tkv_34{text-decoration:none;outline-style:none}._skeleton_g9tkv_38{padding-bottom:56.25%;width:100%;display:block}._image_g9tkv_43{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;margin:0;object-fit:cover;object-position:center}._anchor_fp31d_1{display:flex;align-items:center;color:#fff;padding:0 1rem;border:1px solid transparent;border-radius:9999px;font-weight:700;transition:background-color .2s;cursor:pointer;-webkit-user-select:none;user-select:none;outline-style:none;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}._videoButton_fp31d_17{position:relative;height:67px;width:67px;display:flex;align-items:center;justify-content:center;background-color:var(--richtexteet-color-blue-primary);transition-property:background-color;transition-duration:.2s;border:4px solid #fff;border-radius:9999px;cursor:pointer}._videoButton_fp31d_17:hover,._videoButton_fp31d_17:focus-visible{background-color:var(--richtexteet-color-blue-primary-hover)}._videoButtonIcon_fp31d_35{margin-left:3px;width:calc(50% + 4px);height:calc(50% + 4px);max-width:100%;color:#fff;fill:currentColor;-webkit-user-select:none;user-select:none}._watchOnTwitter_fp31d_44{position:absolute;top:12px;right:8px}._watchOnTwitter_fp31d_44>a{min-width:2rem;min-height:2rem;font-size:.875rem;line-height:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f1419bf}._watchOnTwitter_fp31d_44>a:hover{background-color:#272c30bf}._viewReplies_fp31d_60{position:relative;min-height:2rem;background-color:var(--richtexteet-color-blue-primary);border-color:var(--richtexteet-color-blue-primary);font-size:.9375rem;line-height:1.25rem}._viewReplies_fp31d_60:hover{background-color:var(--richtexteet-color-blue-primary-hover)}._root_i24yn_1{color:inherit;text-decoration:none;font-size:var(--richtexteet-info-font-size);line-height:var(--richtexteet-info-line-height)}._root_i24yn_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._info_19qcj_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);margin-top:.125rem;overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._infoLink_19qcj_10{color:inherit;text-decoration:none;height:var(--richtexteet-actions-icon-wrapper-size);width:var(--richtexteet-actions-icon-wrapper-size);font:inherit;margin-left:auto;display:flex;justify-content:center;align-items:center;margin-right:-4px;border-radius:9999px;transition-property:background-color;transition-duration:.2s}._infoLink_19qcj_10:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._infoIcon_19qcj_30{color:inherit;fill:currentColor;height:var(--richtexteet-actions-icon-size);-webkit-user-select:none;user-select:none}._infoLink_19qcj_10:hover>._infoIcon_19qcj_30{color:var(--richtexteet-color-blue-secondary)}._actions_n2anf_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);padding-top:.25rem;margin-top:.25rem;border-top:var(--richtexteet-border);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._like_n2anf_13,._reply_n2anf_14,._copy_n2anf_15{text-decoration:none;color:inherit;display:flex;align-items:center;margin-right:1.25rem}._like_n2anf_13:hover,._reply_n2anf_14:hover,._copy_n2anf_15:hover{background-color:#0000}._like_n2anf_13:hover>._likeIconWrapper_n2anf_27{background-color:var(--richtexteet-color-red-primary-hover)}._like_n2anf_13:hover>._likeCount_n2anf_30{color:var(--richtexteet-color-red-primary);text-decoration-line:underline}._likeIconWrapper_n2anf_27,._replyIconWrapper_n2anf_35,._copyIconWrapper_n2anf_36{width:var(--richtexteet-actions-icon-wrapper-size);height:var(--richtexteet-actions-icon-wrapper-size);display:flex;justify-content:center;align-items:center;margin-left:-.25rem;border-radius:9999px}._likeIcon_n2anf_27,._replyIcon_n2anf_35,._copyIcon_n2anf_36{height:var(--richtexteet-actions-icon-size);fill:currentColor;-webkit-user-select:none;user-select:none}._likeIcon_n2anf_27{color:var(--richtexteet-color-red-primary)}._likeCount_n2anf_30,._replyText_n2anf_56,._copyText_n2anf_57{font-size:var(--richtexteet-actions-font-size);font-weight:var(--richtexteet-actions-font-weight);line-height:var(--richtexteet-actions-line-height);margin-left:.25rem}._reply_n2anf_14:hover>._replyIconWrapper_n2anf_35{background-color:var(--richtexteet-color-blue-secondary-hover)}._reply_n2anf_14:hover>._replyText_n2anf_56{color:var(--richtexteet-color-blue-secondary);text-decoration-line:underline}._replyIcon_n2anf_35{color:var(--richtexteet-color-blue-primary)}._copy_n2anf_15{font:inherit;background:none;border:none;cursor:pointer}._copy_n2anf_15:hover>._copyIconWrapper_n2anf_36{background-color:var(--richtexteet-color-green-primary-hover)}._copy_n2anf_15:hover ._copyIcon_n2anf_36{color:var(--richtexteet-color-green-primary)}._copy_n2anf_15:hover>._copyText_n2anf_57{color:var(--richtexteet-color-green-primary);text-decoration-line:underline}._replies_1cutb_1{padding:.25rem 0}._link_1cutb_4{text-decoration:none;color:var(--richtexteet-color-blue-secondary);display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;-webkit-user-select:none;user-select:none;outline-style:none;transition-property:background-color;transition-duration:.2s;padding:0 1rem;border:var(--richtexteet-border);border-radius:9999px}._link_1cutb_4:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._text_1cutb_23{font-weight:var(--richtexteet-replies-font-weight);font-size:var(--richtexteet-replies-font-size);line-height:var(--richtexteet-replies-line-height);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._root_q5799_1{width:100%;overflow:hidden;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-quoted-container-margin);transition-property:background-color,box-shadow;transition-duration:.2s;cursor:pointer}._root_q5799_1:hover{background-color:var(--richtexteet-quoted-bg-color-hover)}._article_q5799_16{position:relative;box-sizing:inherit}._header_r31i5_1{display:flex;padding:.75rem .75rem 0;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_r31i5_11{position:relative;height:20px;width:20px}._avatarSquare_r31i5_17{border-radius:4px}._author_r31i5_21{display:flex;margin:0 .5rem}._authorText_r31i5_26{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._username_r31i5_33{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis;margin-left:.125rem}._root_175ot_1{font-size:var(--richtexteet-quoted-body-font-size);font-weight:var(--richtexteet-quoted-body-font-weight);line-height:var(--richtexteet-quoted-body-line-height);margin:var(--richtexteet-quoted-body-margin);overflow-wrap:break-word;white-space:pre-wrap;padding:0 .75rem}._root_16yxa_1{display:flex;flex-direction:column;align-items:center;padding-bottom:.75rem}._root_16yxa_1>h3{font-size:1.25rem;margin-bottom:.5rem}._skeleton_oi7hr_1{display:block;width:100%;border-radius:5px;background-image:var(--richtexteet-skeleton-gradient);background-size:400% 100%;animation:_loading_oi7hr_1 8s ease-in-out infinite}@media (prefers-reduced-motion: reduce){._skeleton_oi7hr_1{animation:none;background-position:200% 0}}@keyframes _loading_oi7hr_1{0%{background-position:200% 0}to{background-position:-200% 0}}._root_17qqv_1{pointer-events:none;padding-bottom:.25rem}._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}._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}._wrapper_9gzag_1{background-color:#fff;cursor:pointer;position:absolute;top:0;left:0;padding:10px;gap:10px;z-index:100;border:1px solid #eeeeee;box-shadow:0 0 10px #0000001a;border-radius:10px}._tool_9gzag_17{outline:none;border:none;background-color:#fff;border-radius:5px;padding:5px;cursor:pointer;transition:all .3s;color:#595353}._tool_9gzag_17 svg{width:20px;height:20px}._tool_9gzag_17:hover{background-color:#f5f5f5}._active_9gzag_37{background-color:#eee!important}._pen_9gzag_41{display:flex;gap:4px;align-items:center;flex-wrap:wrap}._line_9gzag_48{height:20px;width:1px;background-color:#bcb9b9;margin:0 6px;transform:rotate(18deg)}._options_9gzag_56{margin-top:10px;padding:10px 0 0;border-top:1px dashed #eeeeee;display:flex;gap:4px;align-items:center;flex-wrap:wrap}._colorWrap_9gzag_66{display:flex;gap:4px;align-items:center}._color_9gzag_66{outline:none!important;border:none!important;border-radius:4px;cursor:pointer;width:24px;height:24px;border:1px solid #eeeeee}._colorActive_9gzag_82{outline:2px solid #2576B9!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-top-px{top:-1px}.richtext-left-0{left:0}.richtext-left-2{left:.5rem}.richtext-left-\[50\%\]{left:50%}.richtext-left-px{left:1px}.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-\[50\%\]{top:50%}.richtext-isolate{isolation:isolate}.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-1\.5{margin-left:.375rem}.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-3{width:.75rem;height:.75rem}.richtext-size-4{width:1rem;height:1rem}.richtext-size-5{width:1.25rem;height:1.25rem}.richtext-size-6{width:1.5rem;height:1.5rem}.richtext-size-7{width:1.75rem;height:1.75rem}.richtext-size-\[18px\]{width:18px;height:18px}.richtext-size-\[1em\]{width:1em;height:1em}.richtext-size-\[28px\]{width:28px;height:28px}.richtext-size-full{width:100%;height:100%}.\!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-\[342px\]{height:342px!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\.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-\[1px\]{height:1px}.richtext-h-\[26px\]{height:26px}.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-72{width:18rem}.richtext-w-80{width:20rem}.richtext-w-\[1px\]{width:1px}.richtext-w-\[200px\]{width:200px}.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-0{min-width:0px}.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-none{flex:none}.\!richtext-shrink-0{flex-shrink:0!important}.richtext-shrink-0{flex-shrink:0}.richtext-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-animate-spin{animation:richtext-spin 1s linear infinite}.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-scroll-my-1{scroll-margin-top:.25rem;scroll-margin-bottom:.25rem}.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-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-b{border-bottom-width:1px!important}.richtext-border-b{border-bottom-width:1px}.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-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-0{padding:0}.richtext-p-0\.5{padding:.125rem}.richtext-p-1{padding:.25rem}.richtext-p-1\.5{padding:.375rem}.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-py-3{padding-top:.75rem;padding-bottom:.75rem}.richtext-pb-1{padding-bottom:.25rem}.richtext-pb-2{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-pt-3\.5{padding-top:.875rem}.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-base{font-size:1rem;line-height:1.5rem}.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;width:100%}.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-\[active\]\:richtext-bg-accent[data-active]{background-color:hsl(var(--richtext-accent))}.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
|
+
@-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)}}._verified_lvyh0_1{margin-left:.125rem;max-width:20px;max-height:20px;height:1.25em;fill:currentColor;-webkit-user-select:none;user-select:none;vertical-align:text-bottom}._root_98iqw_1{width:100%;min-width:250px;max-width:550px;overflow:hidden;color:var(--richtexteet-font-color);font-family:var(--richtexteet-font-family);font-weight:400;box-sizing:border-box;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-container-margin);background-color:var(--richtexteet-bg-color);transition-property:background-color,box-shadow;transition-duration:.2s}._root_98iqw_1:hover{background-color:var(--richtexteet-bg-color-hover)}._article_98iqw_21{position:relative;box-sizing:inherit;padding:.75rem 1rem}.react-tweet-theme{--richtexteet-container-margin: 1.5rem 0;--richtexteet-header-font-size: .9375rem;--richtexteet-header-line-height: 1.25rem;--richtexteet-body-font-size: 1.25rem;--richtexteet-body-font-weight: 400;--richtexteet-body-line-height: 1.5rem;--richtexteet-body-margin: 0;--richtexteet-quoted-container-margin: .75rem 0;--richtexteet-quoted-body-font-size: .938rem;--richtexteet-quoted-body-font-weight: 400;--richtexteet-quoted-body-line-height: 1.25rem;--richtexteet-quoted-body-margin: .25rem 0 .75rem 0;--richtexteet-info-font-size: .9375rem;--richtexteet-info-line-height: 1.25rem;--richtexteet-actions-font-size: .875rem;--richtexteet-actions-line-height: 1rem;--richtexteet-actions-font-weight: 700;--richtexteet-actions-icon-size: 1.25em;--richtexteet-actions-icon-wrapper-size: calc( var(--richtexteet-actions-icon-size) + .75em );--richtexteet-replies-font-size: .875rem;--richtexteet-replies-line-height: 1rem;--richtexteet-replies-font-weight: 700}:where(.react-tweet-theme) *{margin:0;padding:0;box-sizing:border-box}:is([data-theme=light],.light) :where(.react-tweet-theme),:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #fafafa, #eaeaea, #eaeaea, #fafafa );--richtexteet-border: 1px solid rgb(207, 217, 222);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(15, 20, 25);--richtexteet-font-color-secondary: rgb(83, 100, 113);--richtexteet-bg-color: #fff;--richtexteet-bg-color-hover: rgb(247, 249, 249);--richtexteet-quoted-bg-color-hover: rgba(0, 0, 0, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(0, 111, 214);--richtexteet-color-blue-secondary-hover: rgba(0, 111, 214, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: var(--richtexteet-color-blue-primary)}:is([data-theme=dark],.dark) :where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-quoted-bg-color-hover: rgba(255, 255, 255, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}@media (prefers-color-scheme: dark){:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}}._header_nqq4j_1{display:flex;padding-bottom:.75rem;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_nqq4j_11{position:relative;height:48px;width:48px}._avatarOverflow_nqq4j_16{height:100%;width:100%;position:absolute;overflow:hidden;border-radius:9999px}._avatarSquare_nqq4j_23{border-radius:4px}._avatarShadow_nqq4j_26{height:100%;width:100%;transition-property:background-color;transition-duration:.2s;box-shadow:#00000008 0 0 2px inset}._avatarShadow_nqq4j_26:hover{background-color:#1a1a1a26}._author_nqq4j_37{max-width:calc(100% - 84px);display:flex;flex-direction:column;justify-content:center;margin:0 .5rem}._authorLink_nqq4j_44{text-decoration:none;color:inherit;display:flex;align-items:center}._authorLink_nqq4j_44:hover{text-decoration-line:underline}._authorVerified_nqq4j_53{display:inline-flex}._authorLinkText_nqq4j_56{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._authorMeta_nqq4j_63,._authorFollow_nqq4j_66{display:flex}._username_nqq4j_69{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis}._follow_nqq4j_74{color:var(--richtexteet-color-blue-secondary);text-decoration:none;font-weight:700}._follow_nqq4j_74:hover{text-decoration-line:underline}._separator_nqq4j_82{padding:0 .25rem}._brand_nqq4j_86{margin-inline-start:auto}._twitterIcon_nqq4j_90{width:23.75px;height:23.75px;color:var(--richtexteet-twitter-icon-color);fill:currentColor;-webkit-user-select:none;user-select:none}._verifiedOld_lcna5_1{color:var(--richtexteet-verified-old-color)}._verifiedBlue_lcna5_4{color:var(--richtexteet-verified-blue-color)}._verifiedGovernment_lcna5_7{color:#829aab}._root_1ec15_1{text-decoration:none;color:var(--richtexteet-font-color-secondary);font-size:.9375rem;line-height:1.25rem;margin-bottom:.25rem;overflow-wrap:break-word;white-space:pre-wrap}._root_1ec15_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_eihfa_1{font-weight:inherit;color:var(--richtexteet-color-blue-secondary);text-decoration:none;cursor:pointer}._root_eihfa_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_1xq52_1{font-size:var(--richtexteet-body-font-size);font-weight:var(--richtexteet-body-font-weight);line-height:var(--richtexteet-body-line-height);margin:var(--richtexteet-body-margin);overflow-wrap:break-word;white-space:pre-wrap}._root_g9tkv_1{margin-top:.75rem;overflow:hidden;position:relative}._rounded_g9tkv_6{border:var(--richtexteet-border);border-radius:12px}._mediaWrapper_g9tkv_10{display:grid;grid-auto-rows:1fr;gap:2px;height:100%;width:100%}._grid2Columns_g9tkv_17{grid-template-columns:repeat(2,1fr)}._grid3_g9tkv_20>a:first-child{grid-row:span 2}._grid2x2_g9tkv_23{grid-template-rows:repeat(2,1fr)}._mediaContainer_g9tkv_26{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}._mediaLink_g9tkv_34{text-decoration:none;outline-style:none}._skeleton_g9tkv_38{padding-bottom:56.25%;width:100%;display:block}._image_g9tkv_43{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;margin:0;object-fit:cover;object-position:center}._anchor_fp31d_1{display:flex;align-items:center;color:#fff;padding:0 1rem;border:1px solid transparent;border-radius:9999px;font-weight:700;transition:background-color .2s;cursor:pointer;-webkit-user-select:none;user-select:none;outline-style:none;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}._videoButton_fp31d_17{position:relative;height:67px;width:67px;display:flex;align-items:center;justify-content:center;background-color:var(--richtexteet-color-blue-primary);transition-property:background-color;transition-duration:.2s;border:4px solid #fff;border-radius:9999px;cursor:pointer}._videoButton_fp31d_17:hover,._videoButton_fp31d_17:focus-visible{background-color:var(--richtexteet-color-blue-primary-hover)}._videoButtonIcon_fp31d_35{margin-left:3px;width:calc(50% + 4px);height:calc(50% + 4px);max-width:100%;color:#fff;fill:currentColor;-webkit-user-select:none;user-select:none}._watchOnTwitter_fp31d_44{position:absolute;top:12px;right:8px}._watchOnTwitter_fp31d_44>a{min-width:2rem;min-height:2rem;font-size:.875rem;line-height:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f1419bf}._watchOnTwitter_fp31d_44>a:hover{background-color:#272c30bf}._viewReplies_fp31d_60{position:relative;min-height:2rem;background-color:var(--richtexteet-color-blue-primary);border-color:var(--richtexteet-color-blue-primary);font-size:.9375rem;line-height:1.25rem}._viewReplies_fp31d_60:hover{background-color:var(--richtexteet-color-blue-primary-hover)}._root_i24yn_1{color:inherit;text-decoration:none;font-size:var(--richtexteet-info-font-size);line-height:var(--richtexteet-info-line-height)}._root_i24yn_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._info_19qcj_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);margin-top:.125rem;overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._infoLink_19qcj_10{color:inherit;text-decoration:none;height:var(--richtexteet-actions-icon-wrapper-size);width:var(--richtexteet-actions-icon-wrapper-size);font:inherit;margin-left:auto;display:flex;justify-content:center;align-items:center;margin-right:-4px;border-radius:9999px;transition-property:background-color;transition-duration:.2s}._infoLink_19qcj_10:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._infoIcon_19qcj_30{color:inherit;fill:currentColor;height:var(--richtexteet-actions-icon-size);-webkit-user-select:none;user-select:none}._infoLink_19qcj_10:hover>._infoIcon_19qcj_30{color:var(--richtexteet-color-blue-secondary)}._actions_n2anf_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);padding-top:.25rem;margin-top:.25rem;border-top:var(--richtexteet-border);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._like_n2anf_13,._reply_n2anf_14,._copy_n2anf_15{text-decoration:none;color:inherit;display:flex;align-items:center;margin-right:1.25rem}._like_n2anf_13:hover,._reply_n2anf_14:hover,._copy_n2anf_15:hover{background-color:#0000}._like_n2anf_13:hover>._likeIconWrapper_n2anf_27{background-color:var(--richtexteet-color-red-primary-hover)}._like_n2anf_13:hover>._likeCount_n2anf_30{color:var(--richtexteet-color-red-primary);text-decoration-line:underline}._likeIconWrapper_n2anf_27,._replyIconWrapper_n2anf_35,._copyIconWrapper_n2anf_36{width:var(--richtexteet-actions-icon-wrapper-size);height:var(--richtexteet-actions-icon-wrapper-size);display:flex;justify-content:center;align-items:center;margin-left:-.25rem;border-radius:9999px}._likeIcon_n2anf_27,._replyIcon_n2anf_35,._copyIcon_n2anf_36{height:var(--richtexteet-actions-icon-size);fill:currentColor;-webkit-user-select:none;user-select:none}._likeIcon_n2anf_27{color:var(--richtexteet-color-red-primary)}._likeCount_n2anf_30,._replyText_n2anf_56,._copyText_n2anf_57{font-size:var(--richtexteet-actions-font-size);font-weight:var(--richtexteet-actions-font-weight);line-height:var(--richtexteet-actions-line-height);margin-left:.25rem}._reply_n2anf_14:hover>._replyIconWrapper_n2anf_35{background-color:var(--richtexteet-color-blue-secondary-hover)}._reply_n2anf_14:hover>._replyText_n2anf_56{color:var(--richtexteet-color-blue-secondary);text-decoration-line:underline}._replyIcon_n2anf_35{color:var(--richtexteet-color-blue-primary)}._copy_n2anf_15{font:inherit;background:none;border:none;cursor:pointer}._copy_n2anf_15:hover>._copyIconWrapper_n2anf_36{background-color:var(--richtexteet-color-green-primary-hover)}._copy_n2anf_15:hover ._copyIcon_n2anf_36{color:var(--richtexteet-color-green-primary)}._copy_n2anf_15:hover>._copyText_n2anf_57{color:var(--richtexteet-color-green-primary);text-decoration-line:underline}._replies_1cutb_1{padding:.25rem 0}._link_1cutb_4{text-decoration:none;color:var(--richtexteet-color-blue-secondary);display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;-webkit-user-select:none;user-select:none;outline-style:none;transition-property:background-color;transition-duration:.2s;padding:0 1rem;border:var(--richtexteet-border);border-radius:9999px}._link_1cutb_4:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._text_1cutb_23{font-weight:var(--richtexteet-replies-font-weight);font-size:var(--richtexteet-replies-font-size);line-height:var(--richtexteet-replies-line-height);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._root_q5799_1{width:100%;overflow:hidden;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-quoted-container-margin);transition-property:background-color,box-shadow;transition-duration:.2s;cursor:pointer}._root_q5799_1:hover{background-color:var(--richtexteet-quoted-bg-color-hover)}._article_q5799_16{position:relative;box-sizing:inherit}._header_r31i5_1{display:flex;padding:.75rem .75rem 0;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_r31i5_11{position:relative;height:20px;width:20px}._avatarSquare_r31i5_17{border-radius:4px}._author_r31i5_21{display:flex;margin:0 .5rem}._authorText_r31i5_26{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._username_r31i5_33{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis;margin-left:.125rem}._root_175ot_1{font-size:var(--richtexteet-quoted-body-font-size);font-weight:var(--richtexteet-quoted-body-font-weight);line-height:var(--richtexteet-quoted-body-line-height);margin:var(--richtexteet-quoted-body-margin);overflow-wrap:break-word;white-space:pre-wrap;padding:0 .75rem}._root_16yxa_1{display:flex;flex-direction:column;align-items:center;padding-bottom:.75rem}._root_16yxa_1>h3{font-size:1.25rem;margin-bottom:.5rem}._skeleton_oi7hr_1{display:block;width:100%;border-radius:5px;background-image:var(--richtexteet-skeleton-gradient);background-size:400% 100%;animation:_loading_oi7hr_1 8s ease-in-out infinite}@media (prefers-reduced-motion: reduce){._skeleton_oi7hr_1{animation:none;background-position:200% 0}}@keyframes _loading_oi7hr_1{0%{background-position:200% 0}to{background-position:-200% 0}}._root_17qqv_1{pointer-events:none;padding-bottom:.25rem}._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}._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}._wrapper_rraz2_1{background-color:#fff;cursor:pointer;position:absolute;top:0;left:0;padding:10px;gap:10px;z-index:100;border:1px solid #eeeeee;box-shadow:0 0 10px #0000001a;border-radius:10px}._tool_rraz2_17{outline:none;border:none;background-color:#fff;border-radius:5px;padding:5px;cursor:pointer;transition:all .3s;color:#595353!important}._tool_rraz2_17 svg{width:20px;height:20px}._tool_rraz2_17:hover{background-color:#f5f5f5}._active_rraz2_37{background-color:#eee!important}._pen_rraz2_41{display:flex;gap:4px;align-items:center;flex-wrap:wrap}._line_rraz2_48{height:20px;width:1px;background-color:#bcb9b9;margin:0 6px;transform:rotate(18deg)}._options_rraz2_56{margin-top:10px;padding:10px 0 0;border-top:1px dashed #eeeeee;display:flex;gap:4px;align-items:center;flex-wrap:wrap}._colorWrap_rraz2_66{display:flex;gap:8px;align-items:center;margin:4px 0}._color_rraz2_66{outline:none!important;border:none!important;border-radius:4px;cursor:pointer;width:20px;height:20px;border:1px solid #eeeeee}._colorActive_rraz2_83{outline:2px solid #2576B9!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-top-px{top:-1px}.richtext-left-0{left:0}.richtext-left-2{left:.5rem}.richtext-left-\[50\%\]{left:50%}.richtext-left-px{left:1px}.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-\[50\%\]{top:50%}.richtext-isolate{isolation:isolate}.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-1\.5{margin-left:.375rem}.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-3{width:.75rem;height:.75rem}.richtext-size-4{width:1rem;height:1rem}.richtext-size-5{width:1.25rem;height:1.25rem}.richtext-size-6{width:1.5rem;height:1.5rem}.richtext-size-7{width:1.75rem;height:1.75rem}.richtext-size-\[18px\]{width:18px;height:18px}.richtext-size-\[1em\]{width:1em;height:1em}.richtext-size-\[28px\]{width:28px;height:28px}.richtext-size-full{width:100%;height:100%}.\!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-\[342px\]{height:342px!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\.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-\[1px\]{height:1px}.richtext-h-\[26px\]{height:26px}.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-72{width:18rem}.richtext-w-80{width:20rem}.richtext-w-\[1px\]{width:1px}.richtext-w-\[200px\]{width:200px}.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-0{min-width:0px}.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-none{flex:none}.\!richtext-shrink-0{flex-shrink:0!important}.richtext-shrink-0{flex-shrink:0}.richtext-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-animate-spin{animation:richtext-spin 1s linear infinite}.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-scroll-my-1{scroll-margin-top:.25rem;scroll-margin-bottom:.25rem}.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-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-b{border-bottom-width:1px!important}.richtext-border-b{border-bottom-width:1px}.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-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-0{padding:0}.richtext-p-0\.5{padding:.125rem}.richtext-p-1{padding:.25rem}.richtext-p-1\.5{padding:.375rem}.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-py-3{padding-top:.75rem;padding-bottom:.75rem}.richtext-pb-1{padding-bottom:.25rem}.richtext-pb-2{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-pt-3\.5{padding-top:.875rem}.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-base{font-size:1rem;line-height:1.5rem}.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;width:100%}.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-\[active\]\:richtext-bg-accent[data-active]{background-color:hsl(var(--richtext-accent))}.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,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Pe=require("tippy.js"),m=require("./vendor-
|
|
1
|
+
"use strict";const Pe=require("tippy.js"),m=require("./vendor-C9wSqocV.cjs"),x=require("react"),ae=require("react-dom");function ct(e){const{state:t,transaction:n}=e;let{selection:r}=n,{doc:o}=n,{storedMarks:s}=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 s},get selection(){return r},get doc(){return o},get tr(){return r=n.selection,o=n.doc,s=n.storedMarks,n}}}class dt{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:o}=n,{tr:s}=r,i=this.buildProps(s);return Object.fromEntries(Object.entries(t).map(([a,c])=>[a,(...u)=>{const d=c(...u)(i);return!s.getMeta("preventDispatch")&&!this.hasCustomState&&o.dispatch(s),d}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,n=!0){const{rawCommands:r,editor:o,state:s}=this,{view:i}=o,a=[],c=!!t,l=t||s.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,(...f)=>{const y=this.buildProps(l,n),b=h(...f)(y);return a.push(b),d}])),run:u};return d}createCan(t){const{rawCommands:n,state:r}=this,o=!1,s=t||r.tr,i=this.buildProps(s,o);return{...Object.fromEntries(Object.entries(n).map(([c,l])=>[c,(...u)=>l(...u)({...i,dispatch:void 0})])),chain:()=>this.createChain(s,o)}}buildProps(t,n=!0){const{rawCommands:r,editor:o,state:s}=this,{view:i}=o,a={tr:t,editor:o,view:i,state:ct({state:s,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 Re{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(o=>o.apply(this,n)),this}off(t,n){const r=this.callbacks[t];return r&&(n?this.callbacks[t]=r.filter(o=>o!==n):delete this.callbacks[t]),this}once(t,n){const r=(...o)=>{this.off(t,r),n.apply(this,o)};return this.on(t,r)}removeAllListeners(){this.callbacks={}}}function k(e,t,n){return e.config[t]===void 0&&e.parent?k(e.parent,t,n):typeof e.config[t]=="function"?e.config[t].bind({...n,parent:e.parent?k(e.parent,t,n):null}):e.config[t]}function ut(e){const t=e.filter(o=>o.type==="extension"),n=e.filter(o=>o.type==="node"),r=e.filter(o=>o.type==="mark");return{baseExtensions:t,nodeExtensions:n,markExtensions:r}}function le(e){const t=[],{nodeExtensions:n,markExtensions:r}=ut(e),o=[...n,...r],s={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:o},c=k(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:{...s,...h}})})})})}),o.forEach(i=>{const a={name:i.name,options:i.options,storage:i.storage},c=k(i,"addAttributes",a);if(!c)return;const l=c();Object.entries(l).forEach(([u,d])=>{const p={...s,...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 H(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 A(...e){return e.filter(t=>!!t).reduce((t,n)=>{const r={...t};return Object.entries(n).forEach(([o,s])=>{if(!r[o]){r[o]=s;return}if(o==="class"){const a=s?String(s).split(" "):[],c=r[o]?r[o].split(" "):[],l=a.filter(u=>!c.includes(u));r[o]=[...c,...l].join(" ")}else if(o==="style"){const a=s?s.split(";").map(u=>u.trim()).filter(Boolean):[],c=r[o]?r[o].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[o]=Array.from(l.entries()).map(([u,d])=>`${u}: ${d}`).join("; ")}else r[o]=s}),r},{})}function it(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)=>A(n,r),{})}function ce(e){return typeof e=="function"}function E(e,t=void 0,...n){return ce(e)?t?e.bind(t)(...n):e(...n):e}function _e(e={}){return Object.keys(e).length===0&&e.constructor===Object}function He(e){return typeof e!="string"?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):e==="true"?!0:e==="false"?!1:e}function Wt(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 o=t.reduce((s,i)=>{const a=i.attribute.parseHTML?i.attribute.parseHTML(n):He(n.getAttribute(i.name));return a==null?s:{...s,[i.name]:a}},{});return{...r,...o}}}}function Kt(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>t==="attrs"&&_e(n)?!1:n!=null))}function De(e,t){var n;const r=le(e),{nodeExtensions:o,markExtensions:s}=ut(e),i=(n=o.find(l=>k(l,"topNode")))===null||n===void 0?void 0:n.name,a=Object.fromEntries(o.map(l=>{const u=r.filter(b=>b.type===l.name),d={name:l.name,options:l.options,storage:l.storage,editor:t},p=e.reduce((b,M)=>{const v=k(M,"extendNodeSchema",d);return{...b,...v?v(l):{}}},{}),h=Kt({...p,content:E(k(l,"content",d)),marks:E(k(l,"marks",d)),group:E(k(l,"group",d)),inline:E(k(l,"inline",d)),atom:E(k(l,"atom",d)),selectable:E(k(l,"selectable",d)),draggable:E(k(l,"draggable",d)),code:E(k(l,"code",d)),whitespace:E(k(l,"whitespace",d)),linebreakReplacement:E(k(l,"linebreakReplacement",d)),defining:E(k(l,"defining",d)),isolating:E(k(l,"isolating",d)),attrs:Object.fromEntries(u.map(b=>{var M;return[b.name,{default:(M=b==null?void 0:b.attribute)===null||M===void 0?void 0:M.default}]}))}),g=E(k(l,"parseHTML",d));g&&(h.parseDOM=g.map(b=>Wt(b,u)));const f=k(l,"renderHTML",d);f&&(h.toDOM=b=>f({node:b,HTMLAttributes:it(b,u)}));const y=k(l,"renderText",d);return y&&(h.toText=y),[l.name,h]})),c=Object.fromEntries(s.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,b)=>{const M=k(b,"extendMarkSchema",d);return{...y,...M?M(l):{}}},{}),h=Kt({...p,inclusive:E(k(l,"inclusive",d)),excludes:E(k(l,"excludes",d)),group:E(k(l,"group",d)),spanning:E(k(l,"spanning",d)),code:E(k(l,"code",d)),attrs:Object.fromEntries(u.map(y=>{var b;return[y.name,{default:(b=y==null?void 0:y.attribute)===null||b===void 0?void 0:b.default}]}))}),g=E(k(l,"parseHTML",d));g&&(h.parseDOM=g.map(y=>Wt(y,u)));const f=k(l,"renderHTML",d);return f&&(h.toDOM=y=>f({mark:y,HTMLAttributes:it(y,u)})),[l.name,h]}));return new m.Schema({topNode:i,nodes:a,marks:c})}function kt(e,t){return t.nodes[e]||t.marks[e]||null}function Ut(e,t){return Array.isArray(t)?t.some(n=>(typeof n=="string"?n:n.name)===e.name):t}function Nt(e,t){const n=m.DOMSerializer.fromSchema(t).serializeFragment(e),o=document.implementation.createHTMLDocument().createElement("div");return o.appendChild(n),o.innerHTML}const Ie=(e,t=500)=>{let n="";const r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,(o,s,i,a)=>{var c,l;const u=((l=(c=o.type.spec).toText)===null||l===void 0?void 0:l.call(c,{node:o,pos:s,parent:i,index:a}))||o.textContent||"%leaf%";n+=o.isAtom&&!o.isText?u:u.slice(0,Math.max(0,r-s))}),n};function $t(e){return Object.prototype.toString.call(e)==="[object RegExp]"}class pt{constructor(t){this.find=t.find,this.handler=t.handler}}const Ne=(e,t)=>{if($t(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 tt(e){var t;const{editor:n,from:r,to:o,text:s,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=Ie(l)+s;return i.forEach(p=>{if(u)return;const h=Ne(d,p.find);if(!h)return;const g=c.state.tr,f=ct({state:c.state,transaction:g}),y={from:r-(h[0].length-s.length),to:o},{commands:b,chain:M,can:v}=new dt({editor:n,state:f});p.handler({state:f,range:y,match:h,commands:b,chain:M,can:v})===null||!g.steps.length||(g.setMeta(a,{transform:g,from:r,to:o,text:s}),c.dispatch(g),u=!0)}),u}function $e(e){const{editor:t,rules:n}=e,r=new m.Plugin({state:{init(){return null},apply(o,s,i){const a=o.getMeta(r);if(a)return a;const c=o.getMeta("applyInputRules");return!!c&&setTimeout(()=>{let{text:u}=c;typeof u=="string"?u=u:u=Nt(m.Fragment.from(u),i.schema);const{from:d}=c,p=d+u.length;tt({editor:t,from:d,to:p,text:u,rules:n,plugin:r})}),o.selectionSet||o.docChanged?null:s}},props:{handleTextInput(o,s,i,a){return tt({editor:t,from:s,to:i,text:a,rules:n,plugin:r})},handleDOMEvents:{compositionend:o=>(setTimeout(()=>{const{$cursor:s}=o.state.selection;s&&tt({editor:t,from:s.pos,to:s.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(o,s){if(s.key!=="Enter")return!1;const{$cursor:i}=o.state.selection;return i?tt({editor:t,from:i.pos,to:i.pos,text:`
|
|
2
2
|
`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function Be(e){return Object.prototype.toString.call(e).slice(8,-1)}function et(e){return Be(e)!=="Object"?!1:e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function ht(e,t){const n={...e};return et(e)&&et(t)&&Object.keys(t).forEach(r=>{et(t[r])&&et(e[r])?n[r]=ht(e[r],t[r]):n[r]=t[r]}),n}class I{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=E(k(this,"addOptions",{name:this.name}))),this.storage=E(k(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new I(t)}configure(t={}){const n=this.extend({...this.config,addOptions:()=>ht(this.options,t)});return n.name=this.name,n.parent=this.parent,n}extend(t={}){const n=new I(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=E(k(n,"addOptions",{name:n.name})),n.storage=E(k(n,"addStorage",{name:n.name,options:n.options})),n}static handleExit({editor:t,mark:n}){const{tr:r}=t.state,o=t.state.selection.$from;if(o.pos===o.end()){const i=o.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(" ",o.pos),t.view.dispatch(r),!0}return!1}}function de(e){return typeof e=="number"}class ue{constructor(t){this.find=t.find,this.handler=t.handler}}const je=(e,t,n)=>{if($t(t))return[...e.matchAll(t)];const r=t(e,n);return r?r.map(o=>{const s=[o.text];return s.index=o.index,s.input=e,s.data=o.data,o.replaceWith&&(o.text.includes(o.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),s.push(o.replaceWith)),s}):[]};function Fe(e){const{editor:t,state:n,from:r,to:o,rule:s,pasteEvent:i,dropEvent:a}=e,{commands:c,chain:l,can:u}=new dt({editor:t,state:n}),d=[];return n.doc.nodesBetween(r,o,(h,g)=>{if(!h.isTextblock||h.type.spec.code)return;const f=Math.max(r,g),y=Math.min(o,g+h.content.size),b=h.textBetween(f-g,y-g,void 0,"");je(b,s.find,i).forEach(v=>{if(v.index===void 0)return;const S=f+v.index+1,T=S+v[0].length,w={from:n.tr.mapping.map(S),to:n.tr.mapping.map(T)},C=s.handler({state:n,range:w,match:v,commands:c,chain:l,can:u,pasteEvent:i,dropEvent:a});d.push(C)})}),d.every(h=>h!==null)}let nt=null;const ze=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 Ve(e){const{editor:t,rules:n}=e;let r=null,o=!1,s=!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:g})=>{const f=u.tr,y=ct({state:u,transaction:f});if(!(!Fe({editor:t,state:y,from:Math.max(d-1,0),to:p.b-1,rule:h,pasteEvent:g,dropEvent:a})||!f.steps.length)){try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}return i=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,f}};return n.map(u=>new m.Plugin({view(d){const p=g=>{var f;r=!((f=d.dom.parentElement)===null||f===void 0)&&f.contains(g.target)?d.dom.parentElement:null,r&&(nt=t)},h=()=>{nt&&(nt=null)};return window.addEventListener("dragstart",p),window.addEventListener("dragend",h),{destroy(){window.removeEventListener("dragstart",p),window.removeEventListener("dragend",h)}}},props:{handleDOMEvents:{drop:(d,p)=>{if(s=r===d.dom.parentElement,a=p,!s){const h=nt;h&&setTimeout(()=>{const g=h.state.selection;g&&h.commands.deleteRange({from:g.from,to:g.to})},10)}return!1},paste:(d,p)=>{var h;const g=(h=p.clipboardData)===null||h===void 0?void 0:h.getData("text/html");return i=p,o=!!(g!=null&&g.includes("data-pm-slice")),!1}}},appendTransaction:(d,p,h)=>{const g=d[0],f=g.getMeta("uiEvent")==="paste"&&!o,y=g.getMeta("uiEvent")==="drop"&&!s,b=g.getMeta("applyPasteRules"),M=!!b;if(!f&&!y&&!M)return;if(M){let{text:T}=b;typeof T=="string"?T=T:T=Nt(m.Fragment.from(T),h.schema);const{from:w}=b,C=w+T.length,O=ze(T);return c({rule:u,state:h,from:w,to:{b:C},pasteEvt:O})}const v=p.doc.content.findDiffStart(h.doc.content),S=p.doc.content.findDiffEnd(h.doc.content);if(!(!de(v)||!S||v===S.b))return c({rule:u,state:h,from:v,to:S,pasteEvt:i})}}))}function We(e){const t=e.filter((n,r)=>e.indexOf(n)!==r);return Array.from(new Set(t))}class J{constructor(t,n){this.splittableMarks=[],this.editor=n,this.extensions=J.resolve(t),this.schema=De(this.extensions,n),this.setupExtensions()}static resolve(t){const n=J.sort(J.flatten(t)),r=We(n.map(o=>o.name));return r.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map(o=>`'${o}'`).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},o=k(n,"addExtensions",r);return o?[n,...this.flatten(o())]:n}).flat(10)}static sort(t){return t.sort((r,o)=>{const s=k(r,"priority")||100,i=k(o,"priority")||100;return s>i?-1:s<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:kt(n.name,this.schema)},o=k(n,"addCommands",r);return o?{...t,...o()}:t},{})}get plugins(){const{editor:t}=this,n=J.sort([...this.extensions].reverse()),r=[],o=[],s=n.map(i=>{const a={name:i.name,options:i.options,storage:i.storage,editor:t,type:kt(i.name,this.schema)},c=[],l=k(i,"addKeyboardShortcuts",a);let u={};if(i.type==="mark"&&k(i,"exitable",a)&&(u.ArrowRight=()=>I.handleExit({editor:t,mark:i})),l){const f=Object.fromEntries(Object.entries(l()).map(([y,b])=>[y,()=>b({editor:t})]));u={...u,...f}}const d=m.keymap(u);c.push(d);const p=k(i,"addInputRules",a);Ut(i,t.options.enableInputRules)&&p&&r.push(...p());const h=k(i,"addPasteRules",a);Ut(i,t.options.enablePasteRules)&&h&&o.push(...h());const g=k(i,"addProseMirrorPlugins",a);if(g){const f=g();c.push(...f)}return c}).flat();return[$e({editor:t,rules:r}),...Ve({editor:t,rules:o}),...s]}get attributes(){return le(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:n}=ut(this.extensions);return Object.fromEntries(n.filter(r=>!!k(r,"addNodeView")).map(r=>{const o=this.attributes.filter(c=>c.type===r.name),s={name:r.name,options:r.options,storage:r.storage,editor:t,type:H(r.name,this.schema)},i=k(r,"addNodeView",s);if(!i)return[];const a=(c,l,u,d,p)=>{const h=it(c,o);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:kt(t.name,this.schema)};t.type==="mark"&&(!((n=E(k(t,"keepOnSplit",r)))!==null&&n!==void 0)||n)&&this.splittableMarks.push(t.name);const o=k(t,"onBeforeCreate",r),s=k(t,"onCreate",r),i=k(t,"onUpdate",r),a=k(t,"onSelectionUpdate",r),c=k(t,"onTransaction",r),l=k(t,"onFocus",r),u=k(t,"onBlur",r),d=k(t,"onDestroy",r);o&&this.editor.on("beforeCreate",o),s&&this.editor.on("create",s),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 _{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=E(k(this,"addOptions",{name:this.name}))),this.storage=E(k(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new _(t)}configure(t={}){const n=this.extend({...this.config,addOptions:()=>ht(this.options,t)});return n.name=this.name,n.parent=this.parent,n}extend(t={}){const n=new _({...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=E(k(n,"addOptions",{name:n.name})),n.storage=E(k(n,"addStorage",{name:n.name,options:n.options})),n}}function pe(e,t,n){const{from:r,to:o}=t,{blockSeparator:s=`
|
|
3
3
|
|
|
4
4
|
`,textSerializers:i={}}=n||{};let a="";return e.nodesBetween(r,o,(c,l,u,d)=>{var p;c.isBlock&&l>r&&(a+=s);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,o-l))}),a}function he(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,t])=>t.spec.toText).map(([t,n])=>[t,n.spec.toText]))}const Ke=_.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:o}=t,{ranges:s}=o,i=Math.min(...s.map(u=>u.$from.pos)),a=Math.max(...s.map(u=>u.$to.pos)),c=he(n);return pe(r,{from:i,to:a},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:c})}}})]}}),Ue=()=>({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),qe=(e=!1)=>({commands:t})=>t.setContent("",e),Ge=()=>({state:e,tr:t,dispatch:n})=>{const{selection:r}=t,{ranges:o}=r;return n&&o.forEach(({$from:s,$to:i})=>{e.doc.nodesBetween(s.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 g=m.liftTarget(h);if(a.type.isTextblock){const{defaultType:f}=d.parent.contentMatchAt(d.index());t.setNodeMarkup(h.start,f)}(g||g===0)&&t.lift(h,g)})}),!0},Je=e=>t=>e(t),Ye=()=>({state:e,dispatch:t})=>m.createParagraphNear(e,t),Xe=(e,t)=>({editor:n,tr:r})=>{const{state:o}=n,s=o.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);const i=r.mapping.map(t);return r.insert(i,s.content),r.setSelection(new m.TextSelection(r.doc.resolve(i-1))),!0},Qe=()=>({tr:e,dispatch:t})=>{const{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;const o=e.selection.$anchor;for(let s=o.depth;s>0;s-=1)if(o.node(s).type===r.type){if(t){const a=o.before(s),c=o.after(s);e.delete(a,c).scrollIntoView()}return!0}return!1},Ze=e=>({tr:t,state:n,dispatch:r})=>{const o=H(e,n.schema),s=t.selection.$anchor;for(let i=s.depth;i>0;i-=1)if(s.node(i).type===o){if(r){const c=s.before(i),l=s.after(i);t.delete(c,l).scrollIntoView()}return!0}return!1},tn=e=>({tr:t,dispatch:n})=>{const{from:r,to:o}=e;return n&&t.delete(r,o),!0},en=()=>({state:e,dispatch:t})=>m.deleteSelection(e,t),nn=()=>({commands:e})=>e.keyboardShortcut("Enter"),rn=()=>({state:e,dispatch:t})=>m.exitCode(e,t);function at(e,t,n={strict:!0}){const r=Object.keys(t);return r.length?r.every(o=>n.strict?t[o]===e[o]:$t(t[o])?t[o].test(e[o]):t[o]===e[o]):!0}function fe(e,t,n={}){return e.find(r=>r.type===t&&at(Object.fromEntries(Object.keys(n).map(o=>[o,r.attrs[o]])),n))}function qt(e,t,n={}){return!!fe(e,t,n)}function ft(e,t,n){var r;if(!e||!t)return;let o=e.parent.childAfter(e.parentOffset);if((!o.node||!o.node.marks.some(u=>u.type===t))&&(o=e.parent.childBefore(e.parentOffset)),!o.node||!o.node.marks.some(u=>u.type===t)||(n=n||((r=o.node.marks[0])===null||r===void 0?void 0:r.attrs),!fe([...o.node.marks],t,n)))return;let i=o.index,a=e.start()+o.offset,c=i+1,l=a+o.node.nodeSize;for(;i>0&&qt([...e.parent.child(i-1).marks],t,n);)i-=1,a-=e.parent.child(i).nodeSize;for(;c<e.parent.childCount&&qt([...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 on=(e,t={})=>({tr:n,state:r,dispatch:o})=>{const s=z(e,r.schema),{doc:i,selection:a}=n,{$from:c,from:l,to:u}=a;if(o){const d=ft(c,s,t);if(d&&d.from<=l&&d.to>=u){const p=m.TextSelection.create(i,d.from,d.to);n.setSelection(p)}}return!0},sn=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 Bt(e){return e instanceof m.TextSelection}function B(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function me(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 o=n.from,s=r.to;return t==="all"?m.TextSelection.create(e,B(0,o,s),B(e.content.size,o,s)):m.TextSelection.create(e,B(t,o,s),B(t,o,s))}function ge(){return navigator.platform==="Android"||/android/i.test(navigator.userAgent)}function mt(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const an=(e=null,t={})=>({editor:n,view:r,tr:o,dispatch:s})=>{t={scrollIntoView:!0,...t};const i=()=>{(mt()||ge())&&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(s&&e===null&&!Bt(n.state.selection))return i(),!0;const a=me(o.doc,e)||n.state.selection,c=n.state.selection.eq(a);return s&&(c||o.setSelection(a),c&&o.storedMarks&&o.setStoredMarks(o.storedMarks),i()),!0},ln=(e,t)=>n=>e.every((r,o)=>t(r,{...n,index:o})),cn=(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),ye=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&&ye(r)}return e};function rt(e){const t=`<body>${e}</body>`,n=new window.DOMParser().parseFromString(t,"text/html").body;return ye(n)}function lt(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,o=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(s){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:s});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",s),lt("",t,n)}if(o){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(rt(e),n.parseOptions):m.DOMParser.fromSchema(c).parse(rt(e),n.parseOptions),n.errorOnInvalidContent&&i)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${a}`)})}const s=m.DOMParser.fromSchema(t);return n.slice?s.parseSlice(rt(e),n.parseOptions).content:s.parse(rt(e),n.parseOptions)}return lt("",t,n)}function dn(e,t,n){const r=e.steps.length-1;if(r<t)return;const o=e.steps[r];if(!(o instanceof m.ReplaceStep||o instanceof m.ReplaceAroundStep))return;const s=e.mapping.maps[r];let i=0;s.forEach((a,c,l,u)=>{i===0&&(i=u)}),e.setSelection(m.Selection.near(e.doc.resolve(i),n))}const un=e=>!("type"in e),pn=(e,t,n)=>({tr:r,dispatch:o,editor:s})=>{var i;if(o){n={parseOptions:s.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let a;try{a=lt(t,s.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:(i=n.errorOnInvalidContent)!==null&&i!==void 0?i:s.options.enableContentCheck})}catch(g){return s.emit("contentError",{editor:s,error:g,disableCollaboration:()=>{s.storage.collaboration&&(s.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((un(a)?a:[a]).forEach(g=>{g.check(),u=u?g.isText&&g.marks.length===0:!1,d=d?g.isBlock:!1}),c===l&&d){const{parent:g}=r.doc.resolve(c);g.isTextblock&&!g.type.spec.code&&!g.childCount&&(c-=1,l+=1)}let h;if(u){if(Array.isArray(t))h=t.map(g=>g.text||"").join("");else if(t instanceof m.Fragment){let g="";t.forEach(f=>{f.text&&(g+=f.text)}),h=g}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&&dn(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},hn=()=>({state:e,dispatch:t})=>m.joinUp(e,t),fn=()=>({state:e,dispatch:t})=>m.joinDown(e,t),mn=()=>({state:e,dispatch:t})=>m.joinBackward(e,t),gn=()=>({state:e,dispatch:t})=>m.joinForward(e,t),yn=()=>({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}},bn=()=>({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}},vn=()=>({state:e,dispatch:t})=>m.joinTextblockBackward(e,t),Sn=()=>({state:e,dispatch:t})=>m.joinTextblockForward(e,t);function be(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Mn(e){const t=e.split(/-(?!$)/);let n=t[t.length-1];n==="Space"&&(n=" ");let r,o,s,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))o=!0;else if(/^s(hift)?$/i.test(c))s=!0;else if(/^mod$/i.test(c))mt()||be()?i=!0:o=!0;else throw new Error(`Unrecognized modifier name: ${c}`)}return r&&(n=`Alt-${n}`),o&&(n=`Ctrl-${n}`),i&&(n=`Meta-${n}`),s&&(n=`Shift-${n}`),n}const kn=e=>({editor:t,view:n,tr:r,dispatch:o})=>{const s=Mn(e).split(/-(?!$)/),i=s.find(l=>!["Alt","Ctrl","Meta","Shift"].includes(l)),a=new KeyboardEvent("keydown",{key:i==="Space"?" ":i,altKey:s.includes("Alt"),ctrlKey:s.includes("Ctrl"),metaKey:s.includes("Meta"),shiftKey:s.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&&o&&r.maybeStep(u)}),!0};function Z(e,t,n={}){const{from:r,to:o,empty:s}=e.selection,i=t?H(t,e.schema):null,a=[];e.doc.nodesBetween(r,o,(d,p)=>{if(d.isText)return;const h=Math.max(r,p),g=Math.min(o,p+d.nodeSize);a.push({node:d,from:h,to:g})});const c=o-r,l=a.filter(d=>i?i.name===d.node.type.name:!0).filter(d=>at(d.node.attrs,n,{strict:!1}));return s?!!l.length:l.reduce((d,p)=>d+p.to-p.from,0)>=c}const wn=(e,t={})=>({state:n,dispatch:r})=>{const o=H(e,n.schema);return Z(n,o,t)?m.lift(n,r):!1},Tn=()=>({state:e,dispatch:t})=>m.liftEmptyBlock(e,t),En=e=>({state:t,dispatch:n})=>{const r=H(e,t.schema);return m.liftListItem(r)(t,n)},Cn=()=>({state:e,dispatch:t})=>m.newlineInCode(e,t);function gt(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Gt(e,t){const n=typeof t=="string"?[t]:t;return Object.keys(e).reduce((r,o)=>(n.includes(o)||(r[o]=e[o]),r),{})}const xn=(e,t)=>({tr:n,state:r,dispatch:o})=>{let s=null,i=null;const a=gt(typeof e=="string"?e:e.name,r.schema);return a?(a==="node"&&(s=H(e,r.schema)),a==="mark"&&(i=z(e,r.schema)),o&&n.selection.ranges.forEach(c=>{r.doc.nodesBetween(c.$from.pos,c.$to.pos,(l,u)=>{s&&s===l.type&&n.setNodeMarkup(u,void 0,Gt(l.attrs,t)),i&&l.marks.length&&l.marks.forEach(d=>{i===d.type&&n.addMark(u,u+l.nodeSize,i.create(Gt(d.attrs,t)))})})}),!0):!1},An=()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),On=()=>({tr:e,dispatch:t})=>{if(t){const n=new m.AllSelection(e.doc);e.setSelection(n)}return!0},Ln=()=>({state:e,dispatch:t})=>m.selectNodeBackward(e,t),Pn=()=>({state:e,dispatch:t})=>m.selectNodeForward(e,t),Rn=()=>({state:e,dispatch:t})=>m.selectParentNode(e,t),_n=()=>({state:e,dispatch:t})=>m.selectTextblockEnd(e,t),Hn=()=>({state:e,dispatch:t})=>m.selectTextblockStart(e,t);function Ot(e,t,n={},r={}){return lt(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}const Dn=(e,t=!1,n={},r={})=>({editor:o,tr:s,dispatch:i,commands:a})=>{var c,l;const{doc:u}=s;if(n.preserveWhitespace!=="full"){const d=Ot(e,o.schema,n,{errorOnInvalidContent:(c=r.errorOnInvalidContent)!==null&&c!==void 0?c:o.options.enableContentCheck});return i&&s.replaceWith(0,u.content.size,d).setMeta("preventUpdate",!t),!0}return i&&s.setMeta("preventUpdate",!t),a.insertContentAt({from:0,to:u.content.size},e,{parseOptions:n,errorOnInvalidContent:(l=r.errorOnInvalidContent)!==null&&l!==void 0?l:o.options.enableContentCheck})};function ve(e,t){const n=z(t,e.schema),{from:r,to:o,empty:s}=e.selection,i=[];s?(e.storedMarks&&i.push(...e.storedMarks),i.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,o,c=>{i.push(...c.marks)});const a=i.find(c=>c.type.name===n.name);return a?{...a.attrs}:{}}function In(e,t){const n=new m.Transform(e);return t.forEach(r=>{r.steps.forEach(o=>{n.step(o)})}),n}function Nn(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 $n(e,t){const n=[];return e.descendants((r,o)=>{t(r)&&n.push({node:r,pos:o})}),n}function Bn(e,t,n){const r=[];return e.nodesBetween(t.from,t.to,(o,s)=>{n(o)&&r.push({node:o,pos:s})}),r}function Se(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 yt(e){return t=>Se(t.$from,e)}function jn(e,t){const n={from:0,to:e.content.size};return pe(e,n,t)}function Fn(e,t){const n=H(t,e.schema),{from:r,to:o}=e.selection,s=[];e.doc.nodesBetween(r,o,a=>{s.push(a)});const i=s.reverse().find(a=>a.type.name===n.name);return i?{...i.attrs}:{}}function Me(e,t){const n=gt(typeof t=="string"?t:t.name,e.schema);return n==="node"?Fn(e,t):n==="mark"?ve(e,t):{}}function zn(e,t=JSON.stringify){const n={};return e.filter(r=>{const o=t(r);return Object.prototype.hasOwnProperty.call(n,o)?!1:n[o]=!0})}function Vn(e){const t=zn(e);return t.length===1?t:t.filter((n,r)=>!t.filter((s,i)=>i!==r).some(s=>n.oldRange.from>=s.oldRange.from&&n.oldRange.to<=s.oldRange.to&&n.newRange.from>=s.newRange.from&&n.newRange.to<=s.newRange.to))}function Wn(e){const{mapping:t,steps:n}=e,r=[];return t.maps.forEach((o,s)=>{const i=[];if(o.ranges.length)o.forEach((a,c)=>{i.push({from:a,to:c})});else{const{from:a,to:c}=n[s];if(a===void 0||c===void 0)return;i.push({from:a,to:c})}i.forEach(({from:a,to:c})=>{const l=t.slice(s).map(a,-1),u=t.slice(s).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}})})}),Vn(r)}function jt(e,t,n){const r=[];return e===t?n.resolve(e).marks().forEach(o=>{const s=n.resolve(e),i=ft(s,o.type);i&&r.push({mark:o,...i})}):n.nodesBetween(e,t,(o,s)=>{!o||(o==null?void 0:o.nodeSize)===void 0||r.push(...o.marks.map(i=>({from:s,to:s+o.nodeSize,mark:i})))}),r}function st(e,t,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const o=e.find(s=>s.type===t&&s.name===r);return o?o.attribute.keepOnSplit:!1}))}function Lt(e,t,n={}){const{empty:r,ranges:o}=e.selection,s=t?z(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(d=>s?s.name===d.type.name:!0).find(d=>at(d.attrs,n,{strict:!1}));let i=0;const a=[];if(o.forEach(({$from:d,$to:p})=>{const h=d.pos,g=p.pos;e.doc.nodesBetween(h,g,(f,y)=>{if(!f.isText&&!f.marks.length)return;const b=Math.max(h,y),M=Math.min(g,y+f.nodeSize),v=M-b;i+=v,a.push(...f.marks.map(S=>({mark:S,from:b,to:M})))})}),i===0)return!1;const c=a.filter(d=>s?s.name===d.mark.type.name:!0).filter(d=>at(d.mark.attrs,n,{strict:!1})).reduce((d,p)=>d+p.to-p.from,0),l=a.filter(d=>s?d.mark.type!==s&&d.mark.type.excludes(s):!0).reduce((d,p)=>d+p.to-p.from,0);return(c>0?c+l:c)>=i}function ke(e,t,n={}){if(!t)return Z(e,null,n)||Lt(e,null,n);const r=gt(t,e.schema);return r==="node"?Z(e,t,n):r==="mark"?Lt(e,t,n):!1}function Pt(e,t){const{nodeExtensions:n}=ut(t),r=n.find(i=>i.name===e);if(!r)return!1;const o={name:r.name,options:r.options,storage:r.storage},s=E(k(r,"group",o));return typeof s!="string"?!1:s.split(" ").includes("list")}function bt(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 o=!0;return e.content.forEach(s=>{o!==!1&&(bt(s,{ignoreWhitespace:n,checkChildren:t})||(o=!1))}),o}return!1}function we(e){return e instanceof m.NodeSelection}function Kn(e,t,n){const o=e.state.doc.content.size,s=B(t,0,o),i=B(n,0,o),a=e.coordsAtPos(s),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,g=u-l,b={top:l,bottom:u,left:d,right:p,width:h,height:g,x:d,y:l};return{...b,toJSON:()=>b}}function Un(e,t,n){var r;const{selection:o}=t;let s=null;if(Bt(o)&&(s=o.$cursor),s){const a=(r=e.storedMarks)!==null&&r!==void 0?r:s.marks();return!!n.isInSet(a)||!a.some(c=>c.type.excludes(n))}const{ranges:i}=o;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),g=!!n.isInSet(u.marks)||!u.marks.some(f=>f.type.excludes(n));l=h&&g}return!l}),l})}const qn=(e,t={})=>({tr:n,state:r,dispatch:o})=>{const{selection:s}=n,{empty:i,ranges:a}=s,c=z(e,r.schema);if(o)if(i){const l=ve(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 g=Math.max(h,u),f=Math.min(h+p.nodeSize,d);p.marks.find(b=>b.type===c)?p.marks.forEach(b=>{c===b.type&&n.addMark(g,f,c.create({...b.attrs,...t}))}):n.addMark(g,f,c.create(t))})});return Un(r,n,c)},Gn=(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),Jn=(e,t={})=>({state:n,dispatch:r,chain:o})=>{const s=H(e,n.schema);let i;return n.selection.$anchor.sameParent(n.selection.$head)&&(i=n.selection.$anchor.parent.attrs),s.isTextblock?o().command(({commands:a})=>m.setBlockType(s,{...i,...t})(n)?!0:a.clearNodes()).command(({state:a})=>m.setBlockType(s,{...i,...t})(a,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},Yn=e=>({tr:t,dispatch:n})=>{if(n){const{doc:r}=t,o=B(e,0,r.content.size),s=m.NodeSelection.create(r,o);t.setSelection(s)}return!0},Xn=e=>({tr:t,dispatch:n})=>{if(n){const{doc:r}=t,{from:o,to:s}=typeof e=="number"?{from:e,to:e}:e,i=m.TextSelection.atStart(r).from,a=m.TextSelection.atEnd(r).to,c=B(o,i,a),l=B(s,i,a),u=m.TextSelection.create(r,c,l);t.setSelection(u)}return!0},Qn=e=>({state:t,dispatch:n})=>{const r=H(e,t.schema);return m.sinkListItem(r)(t,n)};function Jt(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const r=n.filter(o=>t==null?void 0:t.includes(o.type.name));e.tr.ensureMarks(r)}}const Zn=({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:r,editor:o})=>{const{selection:s,doc:i}=t,{$from:a,$to:c}=s,l=o.extensionManager.attributes,u=st(l,a.node().type.name,a.node().attrs);if(s instanceof m.NodeSelection&&s.node.isBlock)return!a.parentOffset||!m.canSplit(i,a.pos)?!1:(r&&(e&&Jt(n,o.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:Nn(a.node(-1).contentMatchAt(a.indexAfter(-1)));let h=d&&p?[{type:p,attrs:u}]:void 0,g=m.canSplit(t.doc,t.mapping.map(a.pos),1,h);if(!h&&!g&&m.canSplit(t.doc,t.mapping.map(a.pos),1,p?[{type:p}]:void 0)&&(g=!0,h=p?[{type:p,attrs:u}]:void 0),r){if(g&&(s instanceof m.TextSelection&&t.deleteSelection(),t.split(t.mapping.map(a.pos),1,h),p&&!d&&!a.parentOffset&&a.parent.type!==p)){const f=t.mapping.map(a.before()),y=t.doc.resolve(f);a.node(-1).canReplaceWith(y.index(),y.index()+1,p)&&t.setNodeMarkup(t.mapping.map(a.before()),p)}e&&Jt(n,o.extensionManager.splittableMarks),t.scrollIntoView()}return g},tr=(e,t={})=>({tr:n,state:r,dispatch:o,editor:s})=>{var i;const a=H(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=s.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(o){let b=m.Fragment.empty;const M=c.index(-1)?1:c.index(-2)?2:3;for(let O=c.depth-M;O>=c.depth-3;O-=1)b=m.Fragment.from(c.node(O).copy(b));const v=c.indexAfter(-1)<c.node(-2).childCount?1:c.indexAfter(-2)<c.node(-3).childCount?2:3,S={...st(p,c.node().type.name,c.node().attrs),...t},T=((i=a.contentMatch.defaultType)===null||i===void 0?void 0:i.createAndFill(S))||void 0;b=b.append(m.Fragment.from(a.createAndFill(null,T)||void 0));const w=c.before(c.depth-(M-1));n.replace(w,c.after(-v),new m.Slice(b,4-M,0));let C=-1;n.doc.nodesBetween(w,n.doc.content.size,(O,R)=>{if(C>-1)return!1;O.isTextblock&&O.content.size===0&&(C=R+1)}),C>-1&&n.setSelection(m.TextSelection.near(n.doc.resolve(C))),n.scrollIntoView()}return!0}const h=l.pos===c.end()?d.contentMatchAt(0).defaultType:null,g={...st(p,d.type.name,d.attrs),...t},f={...st(p,c.node().type.name,c.node().attrs),...t};n.delete(c.pos,l.pos);const y=h?[{type:a,attrs:g},{type:h,attrs:f}]:[{type:a,attrs:g}];if(!m.canSplit(n.doc,c.pos,2))return!1;if(o){const{selection:b,storedMarks:M}=r,{splittableMarks:v}=s.extensionManager,S=M||b.$to.parentOffset&&b.$from.marks();if(n.split(c.pos,2,y).scrollIntoView(),!S||!o)return!0;const T=S.filter(w=>v.includes(w.type.name));n.ensureMarks(T)}return!0},wt=(e,t)=>{const n=yt(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 o=e.doc.nodeAt(r);return n.node.type===(o==null?void 0:o.type)&&m.canJoin(e.doc,n.pos)&&e.join(n.pos),!0},Tt=(e,t)=>{const n=yt(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 o=e.doc.nodeAt(r);return n.node.type===(o==null?void 0:o.type)&&m.canJoin(e.doc,r)&&e.join(r),!0},er=(e,t,n,r={})=>({editor:o,tr:s,state:i,dispatch:a,chain:c,commands:l,can:u})=>{const{extensions:d,splittableMarks:p}=o.extensionManager,h=H(e,i.schema),g=H(t,i.schema),{selection:f,storedMarks:y}=i,{$from:b,$to:M}=f,v=b.blockRange(M),S=y||f.$to.parentOffset&&f.$from.marks();if(!v)return!1;const T=yt(w=>Pt(w.type.name,d))(f);if(v.depth>=1&&T&&v.depth-T.depth<=1){if(T.node.type===h)return l.liftListItem(g);if(Pt(T.node.type.name,d)&&h.validContent(T.node.content)&&a)return c().command(()=>(s.setNodeMarkup(T.pos,h),!0)).command(()=>wt(s,h)).command(()=>Tt(s,h)).run()}return!n||!S||!a?c().command(()=>u().wrapInList(h,r)?!0:l.clearNodes()).wrapInList(h,r).command(()=>wt(s,h)).command(()=>Tt(s,h)).run():c().command(()=>{const w=u().wrapInList(h,r),C=S.filter(O=>p.includes(O.type.name));return s.ensureMarks(C),w?!0:l.clearNodes()}).wrapInList(h,r).command(()=>wt(s,h)).command(()=>Tt(s,h)).run()},nr=(e,t={},n={})=>({state:r,commands:o})=>{const{extendEmptyMarkRange:s=!1}=n,i=z(e,r.schema);return Lt(r,i,t)?o.unsetMark(i,{extendEmptyMarkRange:s}):o.setMark(i,t)},rr=(e,t,n={})=>({state:r,commands:o})=>{const s=H(e,r.schema),i=H(t,r.schema),a=Z(r,s,n);let c;return r.selection.$anchor.sameParent(r.selection.$head)&&(c=r.selection.$anchor.parent.attrs),a?o.setNode(i,c):o.setNode(s,{...c,...n})},or=(e,t={})=>({state:n,commands:r})=>{const o=H(e,n.schema);return Z(n,o,t)?r.lift(o):r.wrapIn(o,t)},sr=()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let r=0;r<n.length;r+=1){const o=n[r];let s;if(o.spec.isInputRules&&(s=o.getState(e))){if(t){const i=e.tr,a=s.transform;for(let c=a.steps.length-1;c>=0;c-=1)i.step(a.steps[c].invert(a.docs[c]));if(s.text){const c=i.doc.resolve(s.from).marks();i.replaceWith(s.from,s.to,e.schema.text(s.text,c))}else i.delete(s.from,s.to)}return!0}}return!1},ir=()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:r,ranges:o}=n;return r||t&&o.forEach(s=>{e.removeMark(s.$from.pos,s.$to.pos)}),!0},ar=(e,t={})=>({tr:n,state:r,dispatch:o})=>{var s;const{extendEmptyMarkRange:i=!1}=t,{selection:a}=n,c=z(e,r.schema),{$from:l,empty:u,ranges:d}=a;if(!o)return!0;if(u&&i){let{from:p,to:h}=a;const g=(s=l.marks().find(y=>y.type===c))===null||s===void 0?void 0:s.attrs,f=ft(l,c,g);f&&(p=f.from,h=f.to),n.removeMark(p,h,c)}else d.forEach(p=>{n.removeMark(p.$from.pos,p.$to.pos,c)});return n.removeStoredMark(c),!0},lr=(e,t={})=>({tr:n,state:r,dispatch:o})=>{let s=null,i=null;const a=gt(typeof e=="string"?e:e.name,r.schema);return a?(a==="node"&&(s=H(e,r.schema)),a==="mark"&&(i=z(e,r.schema)),o&&n.selection.ranges.forEach(c=>{const l=c.$from.pos,u=c.$to.pos;let d,p,h,g;n.selection.empty?r.doc.nodesBetween(l,u,(f,y)=>{s&&s===f.type&&(h=Math.max(y,l),g=Math.min(y+f.nodeSize,u),d=y,p=f)}):r.doc.nodesBetween(l,u,(f,y)=>{y<l&&s&&s===f.type&&(h=Math.max(y,l),g=Math.min(y+f.nodeSize,u),d=y,p=f),y>=l&&y<=u&&(s&&s===f.type&&n.setNodeMarkup(y,void 0,{...f.attrs,...t}),i&&f.marks.length&&f.marks.forEach(b=>{if(i===b.type){const M=Math.max(y,l),v=Math.min(y+f.nodeSize,u);n.addMark(M,v,i.create({...b.attrs,...t}))}}))}),p&&(d!==void 0&&n.setNodeMarkup(d,void 0,{...p.attrs,...t}),i&&p.marks.length&&p.marks.forEach(f=>{i===f.type&&n.addMark(h,g,i.create({...f.attrs,...t}))}))}),!0):!1},cr=(e,t={})=>({state:n,dispatch:r})=>{const o=H(e,n.schema);return m.wrapIn(o,t)(n,r)},dr=(e,t={})=>({state:n,dispatch:r})=>{const o=H(e,n.schema);return m.wrapInList(o,t)(n,r)};var ur=Object.freeze({__proto__:null,blur:Ue,clearContent:qe,clearNodes:Ge,command:Je,createParagraphNear:Ye,cut:Xe,deleteCurrentNode:Qe,deleteNode:Ze,deleteRange:tn,deleteSelection:en,enter:nn,exitCode:rn,extendMarkRange:on,first:sn,focus:an,forEach:ln,insertContent:cn,insertContentAt:pn,joinBackward:mn,joinDown:fn,joinForward:gn,joinItemBackward:yn,joinItemForward:bn,joinTextblockBackward:vn,joinTextblockForward:Sn,joinUp:hn,keyboardShortcut:kn,lift:wn,liftEmptyBlock:Tn,liftListItem:En,newlineInCode:Cn,resetAttributes:xn,scrollIntoView:An,selectAll:On,selectNodeBackward:Ln,selectNodeForward:Pn,selectParentNode:Rn,selectTextblockEnd:_n,selectTextblockStart:Hn,setContent:Dn,setMark:qn,setMeta:Gn,setNode:Jn,setNodeSelection:Yn,setTextSelection:Xn,sinkListItem:Qn,splitBlock:Zn,splitListItem:tr,toggleList:er,toggleMark:nr,toggleNode:rr,toggleWrap:or,undoInputRule:sr,unsetAllMarks:ir,unsetMark:ar,updateAttributes:lr,wrapIn:cr,wrapInList:dr});const pr=_.create({name:"commands",addCommands(){return{...ur}}}),hr=_.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})}}})]}}),fr=_.create({name:"editable",addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("editable"),props:{editable:()=>this.editor.options.editable}})]}}),mr=_.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}}}})]}}),gr=_.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,g=d.parent.isTextblock&&p>0?a.doc.resolve(p-1):d,f=g.parent.type.spec.isolating,y=d.pos-d.parentOffset,b=f&&g.parent.childCount===1?y===d.pos:m.Selection.atStart(l).from===p;return!u||!h.type.isTextblock||h.textContent.length||!b||b&&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()},o={...r},s={...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 mt()||be()?s:o},addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("clearDocument"),appendTransaction:(e,t,n)=>{if(e.some(f=>f.getMeta("composition")))return;const r=e.some(f=>f.docChanged)&&!t.doc.eq(n.doc),o=e.some(f=>f.getMeta("preventClearDocument"));if(!r||o)return;const{empty:s,from:i,to:a}=t.selection,c=m.Selection.atStart(t.doc).from,l=m.Selection.atEnd(t.doc).to;if(s||!(i===c&&a===l)||!bt(n.doc))return;const p=n.tr,h=ct({state:n,transaction:p}),{commands:g}=new dt({editor:this.editor,state:h});if(g.clearNodes(),!!p.steps.length)return p}})]}}),yr=_.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})}}})]}}),br=_.create({name:"tabindex",addProseMirrorPlugins(){return[new m.Plugin({key:new m.PluginKey("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class W{get name(){return this.node.type.name}constructor(t,n,r=!1,o=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=t,this.editor=n,this.currentNode=o}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 W(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 W(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 W(t,this.editor)}get children(){const t=[];return this.node.content.forEach((n,r)=>{const o=n.isBlock&&!n.isTextblock,s=n.isAtom&&!n.isText,i=this.pos+r+(s?0:1),a=this.resolvedPos.doc.resolve(i);if(!o&&a.depth<=this.depth)return;const c=new W(a,this.editor,o,o?n:null);o&&(c.actualDepth=this.depth+1),t.push(new W(a,this.editor,o,o?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,o=this.parent;for(;o&&!r;){if(o.node.type.name===t)if(Object.keys(n).length>0){const s=o.node.attrs,i=Object.keys(n);for(let a=0;a<i.length;a+=1){const c=i[a];if(s[c]!==n[c])break}}else r=o;o=o.parent}return r}querySelector(t,n={}){return this.querySelectorAll(t,n,!0)[0]||null}querySelectorAll(t,n={},r=!1){let o=[];if(!this.children||this.children.length===0)return o;const s=Object.keys(n);return this.children.forEach(i=>{r&&o.length>0||(i.node.type.name===t&&s.every(c=>n[c]===i.node.attrs[c])&&o.push(i),!(r&&o.length>0)&&(o=o.concat(i.querySelectorAll(t,n,r))))}),o}setAttribute(t){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...t}),this.editor.view.dispatch(n)}}const vr=`.ProseMirror {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Xe from "tippy.js";
|
|
2
|
-
import { E as Qe, a as Ze, P as H, b as $, S as G, k as tn, T as D, D as en, c as Ee, F as V, N as nn, d as xt, w as rn, e as sn, f as on, g as dt, h as tt, s as an, i as te, j as ln, l as cn, m as dn, n as un, o as pn, A as hn, p as fn, q as mn, r as gn, t as yn, u as vn, v as bn, x as Mn, y as Te, z as Sn, B as kn, C as wn, G as En, H as Tn, I as Cn, J as xn, K as zt, R as An, L as On, M as Ln, O as _n, Q as ee, U as Pn, V as Ce, W as Rn, X as Hn, Y as $n, Z as In, _ as Dn, $ as pt, a0 as Vt, a1 as Nn, a2 as Bn, a3 as jn, a4 as xe, a5 as Fn, a6 as ne, a7 as zn, a8 as re, a9 as se, aa as Vn, ab as oe, ac as Wn, ad as Kn, ae as Un, af as qn, ag as Gn, ah as Jn, ai as Yn } from "./vendor-
|
|
2
|
+
import { E as Qe, a as Ze, P as H, b as $, S as G, k as tn, T as D, D as en, c as Ee, F as V, N as nn, d as xt, w as rn, e as sn, f as on, g as dt, h as tt, s as an, i as te, j as ln, l as cn, m as dn, n as un, o as pn, A as hn, p as fn, q as mn, r as gn, t as yn, u as vn, v as bn, x as Mn, y as Te, z as Sn, B as kn, C as wn, G as En, H as Tn, I as Cn, J as xn, K as zt, R as An, L as On, M as Ln, O as _n, Q as ee, U as Pn, V as Ce, W as Rn, X as Hn, Y as $n, Z as In, _ as Dn, $ as pt, a0 as Vt, a1 as Nn, a2 as Bn, a3 as jn, a4 as xe, a5 as Fn, a6 as ne, a7 as zn, a8 as re, a9 as se, aa as Vn, ab as oe, ac as Wn, ad as Kn, ae as Un, af as qn, ag as Gn, ah as Jn, ai as Yn } from "./vendor-K5cb6hwc.js";
|
|
3
3
|
import O, { useRef as Xn, useState as Wt, useDebugValue as Ae, useEffect as Kt, forwardRef as Qn, useLayoutEffect as Zn, useContext as Oe, createContext as Le } from "react";
|
|
4
4
|
import tr, { flushSync as er } from "react-dom";
|
|
5
5
|
function gt(e) {
|