@clevertask/scribe 0.0.13 → 0.0.15

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.
Files changed (70) hide show
  1. package/README.md +5 -10
  2. package/dist/assets/index.css +1 -1
  3. package/dist/components/Menu/BarMenu.d.ts +3 -2
  4. package/dist/components/Menu/BarMenu.d.ts.map +1 -0
  5. package/dist/components/Menu/BarMenu.js +39 -18
  6. package/dist/components/Menu/BubbleMenu.d.ts +3 -2
  7. package/dist/components/Menu/BubbleMenu.d.ts.map +1 -0
  8. package/dist/components/Menu/BubbleMenu.js +1 -1
  9. package/dist/components/Menu/Mobile/ListOptionBar.d.ts +2 -1
  10. package/dist/components/Menu/Mobile/ListOptionBar.d.ts.map +1 -0
  11. package/dist/components/Menu/Mobile/ListOptionBar.js +3 -15
  12. package/dist/components/Scribe/extension/emoji/EmojiList.d.ts +2 -1
  13. package/dist/components/Scribe/extension/emoji/EmojiList.d.ts.map +1 -0
  14. package/dist/components/Scribe/extension/emoji/EmojiList.js +25 -14
  15. package/dist/components/Scribe/extension/emoji/suggest.d.ts +1 -0
  16. package/dist/components/Scribe/extension/emoji/suggest.d.ts.map +1 -0
  17. package/dist/components/Scribe/extension/emoji/suggest.js +1 -1
  18. package/dist/components/Scribe/extension/extension-link.d.ts +2 -1
  19. package/dist/components/Scribe/extension/extension-link.d.ts.map +1 -0
  20. package/dist/components/Scribe/extension/extension-link.js +2 -4
  21. package/dist/components/Scribe/extension/extension-markdown-paste.d.ts +4 -0
  22. package/dist/components/Scribe/extension/extension-markdown-paste.d.ts.map +1 -0
  23. package/dist/components/Scribe/extension/extension-markdown-paste.js +46 -0
  24. package/dist/components/Scribe/extension/extension-selectedText.d.ts +2 -1
  25. package/dist/components/Scribe/extension/extension-selectedText.d.ts.map +1 -0
  26. package/dist/components/Scribe/extension/extension-selectedText.js +1 -1
  27. package/dist/components/Scribe/extension/index.d.ts +3 -2
  28. package/dist/components/Scribe/extension/index.d.ts.map +1 -0
  29. package/dist/components/Scribe/extension/index.js +25 -23
  30. package/dist/components/Scribe/extension/slashCommand/SlashCommandList.d.ts +3 -2
  31. package/dist/components/Scribe/extension/slashCommand/SlashCommandList.d.ts.map +1 -0
  32. package/dist/components/Scribe/extension/slashCommand/SlashCommandList.js +6 -5
  33. package/dist/components/Scribe/extension/slashCommand/index.d.ts +3 -2
  34. package/dist/components/Scribe/extension/slashCommand/index.d.ts.map +1 -0
  35. package/dist/components/Scribe/extension/slashCommand/index.js +2 -2
  36. package/dist/components/Scribe/extension/slashCommand/items.d.ts +3 -2
  37. package/dist/components/Scribe/extension/slashCommand/items.d.ts.map +1 -0
  38. package/dist/components/Scribe/extension/slashCommand/renderItems.d.ts +2 -1
  39. package/dist/components/Scribe/extension/slashCommand/renderItems.d.ts.map +1 -0
  40. package/dist/components/Scribe/extension/slashCommand/renderItems.js +2 -2
  41. package/dist/components/Scribe/index.d.ts +6 -4
  42. package/dist/components/Scribe/index.d.ts.map +1 -0
  43. package/dist/components/Scribe/index.js +34 -44
  44. package/dist/{index-flsxByQS.js → index-BKFDqQPh.js} +9 -3
  45. package/dist/{index-BfaHEr44.js → index-CL2WLiGu.js} +1 -1
  46. package/dist/{index-CWvaDN_2.js → index-Cxf4VEm1.js} +5252 -5318
  47. package/dist/{index-Bvgjhwaj.js → index-PzbCrHp0.js} +1 -1
  48. package/dist/main.css +3 -0
  49. package/dist/main.d.ts +4 -3
  50. package/dist/main.d.ts.map +1 -0
  51. package/dist/main.js +1 -1
  52. package/dist/{marked.esm-H7n4rMcO.js → markdown-to-html-__93dwok.js} +50 -47
  53. package/dist/{purify.es-DcWaZU6I.js → purify.es-BPDBzHtc.js} +114 -114
  54. package/dist/utils/convert-legacy-math-delimiters.d.ts +1 -0
  55. package/dist/utils/convert-legacy-math-delimiters.d.ts.map +1 -0
  56. package/dist/utils/create-scribe-editor.d.ts +3 -2
  57. package/dist/utils/create-scribe-editor.d.ts.map +1 -0
  58. package/dist/utils/create-scribe-editor.js +8 -4
  59. package/dist/utils/html-to-markdown.d.ts +1 -0
  60. package/dist/utils/html-to-markdown.d.ts.map +1 -0
  61. package/dist/utils/html-to-markdown.js +1 -1
  62. package/dist/utils/index.d.ts +6 -5
  63. package/dist/utils/index.d.ts.map +1 -0
  64. package/dist/utils/index.js +3 -3
  65. package/dist/utils/is-in-viewport.d.ts +1 -0
  66. package/dist/utils/is-in-viewport.d.ts.map +1 -0
  67. package/dist/utils/markdown-to-html.d.ts +1 -0
  68. package/dist/utils/markdown-to-html.d.ts.map +1 -0
  69. package/dist/utils/markdown-to-html.js +3 -4
  70. package/package.json +53 -56
@@ -1,8 +1,9 @@
1
- import { Editor } from '@tiptap/react';
2
- import { FC } from 'react';
1
+ import { Editor } from "@tiptap/react";
2
+ import { FC } from "react";
3
3
  export interface BarMenuProps {
4
4
  editor: Editor;
5
5
  darkMode: boolean;
6
6
  }
7
7
  declare const BarMenu: FC<BarMenuProps>;
8
8
  export default BarMenu;
9
+ //# sourceMappingURL=BarMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarMenu.d.ts","sourceRoot":"","sources":["../../../lib/components/Menu/BarMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAclD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAsL7B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -97,24 +97,45 @@ const L = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
97
97
  }
98
98
  ]
99
99
  ];
100
- return /* @__PURE__ */ s("div", { className: C("flex flex-row gap-4 border-b p-[8px]", t ? "border-zinc-700" : "border-zinc-200"), children: l.map((n, c) => /* @__PURE__ */ m(h, { children: [
101
- /* @__PURE__ */ s("div", { className: "flex gap-2", children: n.map((i) => /* @__PURE__ */ s(
102
- "button",
103
- {
104
- title: i.name,
105
- disabled: i?.disabled,
106
- className: C(
107
- "rounded-md",
108
- i.isActive() ? t ? "bg-zinc-700" : "bg-zinc-200" : "",
109
- i?.disabled ? "cursor-not-allowed bg-opacity-50" : ""
110
- ),
111
- onClick: i.command,
112
- children: /* @__PURE__ */ s("img", { src: i.icon, alt: i.name, style: { filter: `invert(${t ? 1 : 0})` } })
113
- },
114
- i.name
115
- )) }),
116
- c !== l.length - 1 && /* @__PURE__ */ s("div", { className: C("border-l", t ? "border-zinc-700" : "border-zinc-200") })
117
- ] }, `format-group-${c}`)) });
100
+ return /* @__PURE__ */ s(
101
+ "div",
102
+ {
103
+ className: C(
104
+ "flex flex-row gap-4 border-b p-[8px]",
105
+ t ? "border-zinc-700" : "border-zinc-200"
106
+ ),
107
+ children: l.map((n, c) => /* @__PURE__ */ m(h, { children: [
108
+ /* @__PURE__ */ s("div", { className: "flex gap-2", children: n.map((i) => /* @__PURE__ */ s(
109
+ "button",
110
+ {
111
+ title: i.name,
112
+ disabled: i?.disabled,
113
+ className: C(
114
+ "rounded-md",
115
+ i.isActive() ? t ? "bg-zinc-700" : "bg-zinc-200" : "",
116
+ i?.disabled ? "cursor-not-allowed bg-opacity-50" : ""
117
+ ),
118
+ onClick: i.command,
119
+ children: /* @__PURE__ */ s(
120
+ "img",
121
+ {
122
+ src: i.icon,
123
+ alt: i.name,
124
+ style: { filter: `invert(${t ? 1 : 0})` }
125
+ }
126
+ )
127
+ },
128
+ i.name
129
+ )) }),
130
+ c !== l.length - 1 && /* @__PURE__ */ s(
131
+ "div",
132
+ {
133
+ className: C("border-l", t ? "border-zinc-700" : "border-zinc-200")
134
+ }
135
+ )
136
+ ] }, `format-group-${c}`))
137
+ }
138
+ );
118
139
  };
119
140
  export {
120
141
  k as default
@@ -1,7 +1,8 @@
1
- import { Editor } from '@tiptap/react';
2
- import { FC } from 'react';
1
+ import { Editor } from "@tiptap/react";
2
+ import { FC } from "react";
3
3
  export interface BubbleMenuProps {
4
4
  editor: Editor;
5
5
  }
6
6
  declare const BubbleMenu: FC<BubbleMenuProps>;
7
7
  export default BubbleMenu;
8
+ //# sourceMappingURL=BubbleMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BubbleMenu.d.ts","sourceRoot":"","sources":["../../../lib/components/Menu/BubbleMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA+JnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { B as o } from "../../index-Bvgjhwaj.js";
2
+ import { B as o } from "../../index-PzbCrHp0.js";
3
3
  const l = ({ editor: n }) => /* @__PURE__ */ e(o, { className: "bubble-menu-wrapper", editor: n, children: /* @__PURE__ */ e("div", { className: "menu-item-wrapper", children: [
4
4
  {
5
5
  ariaLabel: "Heading 1",
@@ -1,6 +1,7 @@
1
- import { Editor } from '@tiptap/core';
1
+ import { Editor } from "@tiptap/core";
2
2
  type ListOptionBarProps = {
3
3
  editor: Editor;
4
4
  };
5
5
  export declare const ListOptionBar: ({ editor }: ListOptionBarProps) => import("react/jsx-runtime").JSX.Element | null;
6
6
  export {};
7
+ //# sourceMappingURL=ListOptionBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListOptionBar.d.ts","sourceRoot":"","sources":["../../../../lib/components/Menu/Mobile/ListOptionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,YAAY,kBAAkB,mDAgC3D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { u as s } from "../../../index-Bvgjhwaj.js";
2
+ import { u as s } from "../../../index-PzbCrHp0.js";
3
3
  const u = ({ editor: t }) => s({
4
4
  editor: t,
5
5
  selector: ({ editor: i }) => i ? {
@@ -15,20 +15,8 @@ const u = ({ editor: t }) => s({
15
15
  paddingTop: "0rem"
16
16
  },
17
17
  children: [
18
- /* @__PURE__ */ e(
19
- "button",
20
- {
21
- onClick: () => t.chain().focus().liftListItem("listItem").run(),
22
- children: "← Outdent"
23
- }
24
- ),
25
- /* @__PURE__ */ e(
26
- "button",
27
- {
28
- onClick: () => t.chain().focus().sinkListItem("listItem").run(),
29
- children: "Indent →"
30
- }
31
- )
18
+ /* @__PURE__ */ e("button", { onClick: () => t.chain().focus().liftListItem("listItem").run(), children: "← Outdent" }),
19
+ /* @__PURE__ */ e("button", { onClick: () => t.chain().focus().sinkListItem("listItem").run(), children: "Indent →" })
32
20
  ]
33
21
  }
34
22
  ) : null;
@@ -1 +1,2 @@
1
- export declare const EmojiList: import('react').ForwardRefExoticComponent<import('react').RefAttributes<unknown>>;
1
+ export declare const EmojiList: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
2
+ //# sourceMappingURL=EmojiList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmojiList.d.ts","sourceRoot":"","sources":["../../../../../lib/components/Scribe/extension/emoji/EmojiList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,mFA8EpB,CAAC"}
@@ -14,21 +14,32 @@ const I = g((t, o) => {
14
14
  };
15
15
  return h(() => a(0), [t.items]), k(o, () => ({
16
16
  onKeyDown: (e) => e.event.key === "ArrowUp" ? (l(), !0) : e.event.key === "ArrowDown" ? (s(), !0) : e.event.key === "Enter" ? (d(), !0) : !1
17
- }), [l, s, d]), /* @__PURE__ */ c("div", { className: i(t.darkMode ? "dark:bg-gray-800" : "bg-white", "p-3", "rounded-md", "shadow-md"), children: t.items.map((e, r) => /* @__PURE__ */ f(
18
- "button",
17
+ }), [l, s, d]), /* @__PURE__ */ c(
18
+ "div",
19
19
  {
20
- className: r === n ? i(t.darkMode ? "dark:bg-gray-700" : "bg-gray-200", "w-full", "p-1") : "",
21
- style: { display: "flex", alignItems: "center", gap: ".5rem" },
22
- onClick: () => m(r),
23
- children: [
24
- e.fallbackImage ? /* @__PURE__ */ c("img", { style: { width: "1rem", height: "1rem" }, src: e.fallbackImage }) : e.emoji,
25
- ":",
26
- e.name,
27
- ":"
28
- ]
29
- },
30
- r
31
- )) });
20
+ className: i(
21
+ t.darkMode ? "dark:bg-gray-800" : "bg-white",
22
+ "p-3",
23
+ "rounded-md",
24
+ "shadow-md"
25
+ ),
26
+ children: t.items.map((e, r) => /* @__PURE__ */ f(
27
+ "button",
28
+ {
29
+ className: r === n ? i(t.darkMode ? "dark:bg-gray-700" : "bg-gray-200", "w-full", "p-1") : "",
30
+ style: { display: "flex", alignItems: "center", gap: ".5rem" },
31
+ onClick: () => m(r),
32
+ children: [
33
+ e.fallbackImage ? /* @__PURE__ */ c("img", { style: { width: "1rem", height: "1rem" }, src: e.fallbackImage }) : e.emoji,
34
+ ":",
35
+ e.name,
36
+ ":"
37
+ ]
38
+ },
39
+ r
40
+ ))
41
+ }
42
+ );
32
43
  });
33
44
  export {
34
45
  I as EmojiList
@@ -14,3 +14,4 @@ declare const _default: ({ darkMode }: {
14
14
  };
15
15
  };
16
16
  export default _default;
17
+ //# sourceMappingURL=suggest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suggest.d.ts","sourceRoot":"","sources":["../../../../../lib/components/Scribe/extension/emoji/suggest.ts"],"names":[],"mappings":"yBAKgB;;CAAY;;;;;;;;;;;;;AAA5B,wBA6DG"}
@@ -1,4 +1,4 @@
1
- import { R as s, t as a } from "../../../../index-Bvgjhwaj.js";
1
+ import { R as s, t as a } from "../../../../index-PzbCrHp0.js";
2
2
  import { EmojiList as c } from "./EmojiList.js";
3
3
  const m = ({ darkMode: n }) => ({
4
4
  items: ({ editor: t, query: r }) => t.storage.emoji.emojis.filter(({ shortcodes: e, tags: i }) => e.find((o) => o.startsWith(r.toLowerCase())) || i.find((o) => o.startsWith(r.toLowerCase()))).slice(0, 5),
@@ -1,2 +1,3 @@
1
- declare const _default: import('@tiptap/core').Mark<import('@tiptap/extension-link').LinkOptions, any>;
1
+ declare const _default: import("@tiptap/core").Mark<import("@tiptap/extension-link").LinkOptions, any>;
2
2
  export default _default;
3
+ //# sourceMappingURL=extension-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension-link.d.ts","sourceRoot":"","sources":["../../../../lib/components/Scribe/extension/extension-link.ts"],"names":[],"mappings":";AAEA,wBAyCG"}
@@ -1,4 +1,4 @@
1
- import { M as Pe, m as Ne, d as le, b as qt, P as Vt, f as Ie, g as we, h as He, i as ve, j as De } from "../../../index-flsxByQS.js";
1
+ import { M as Pe, m as Ne, d as le, b as qt, P as Vt, f as Ie, g as we, h as He, i as ve, j as De } from "../../../index-BKFDqQPh.js";
2
2
  const Ue = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", xe = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", zt = "numeric", Wt = "ascii", Ft = "alpha", K = "asciinumeric", F = "alphanumeric", Kt = "domain", me = "emoji", Me = "scheme", je = "slashscheme", Dt = "whitespace";
3
3
  function Be(t, n) {
4
4
  return t in n || (n[t] = []), n[t];
@@ -968,9 +968,7 @@ const rn = Pe.create({
968
968
  if (!n.defaultValidate(e.href))
969
969
  return !1;
970
970
  const o = ["ftp", "file", "mailto"], s = e.protocol.replace(":", "");
971
- return !(o.includes(s) || !n.protocols.map(
972
- (a) => typeof a == "string" ? a : a.scheme
973
- ).includes(s));
971
+ return !(o.includes(s) || !n.protocols.map((a) => typeof a == "string" ? a : a.scheme).includes(s));
974
972
  } catch {
975
973
  return !1;
976
974
  }
@@ -0,0 +1,4 @@
1
+ import { Extension } from "@tiptap/core";
2
+ declare const _default: Extension<any, any>;
3
+ export default _default;
4
+ //# sourceMappingURL=extension-markdown-paste.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension-markdown-paste.d.ts","sourceRoot":"","sources":["../../../../lib/components/Scribe/extension/extension-markdown-paste.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;;AA+GzC,wBA6BG"}
@@ -0,0 +1,46 @@
1
+ import { P as d, a as u, b as f } from "../../../index-BKFDqQPh.js";
2
+ import { m, a as h } from "../../../markdown-to-html-__93dwok.js";
3
+ const p = new d("markdownPaste"), k = /* @__PURE__ */ new Set(["blockquote", "code", "heading", "hr", "list", "table"]), y = /* @__PURE__ */ new Set(["codespan", "del", "em", "strong"]), T = (e) => e.type === "image" ? e.raw.startsWith("![") : e.type === "link" ? e.raw.startsWith("[") : !1, i = (e) => e.some((t) => k.has(t.type) || y.has(t.type) || T(t) || "tokens" in t && Array.isArray(t.tokens) && i(t.tokens) ? !0 : "items" in t && Array.isArray(t.items) ? t.items.some((s) => i(s.tokens)) : !1), b = (e) => {
4
+ const t = e.trim();
5
+ return t ? i(h.lexer(t)) : !1;
6
+ }, w = (e) => {
7
+ const t = e.firstElementChild;
8
+ return !(t instanceof HTMLInputElement) || t.type !== "checkbox" ? null : t;
9
+ }, x = (e) => {
10
+ const t = document.createElement("template");
11
+ t.innerHTML = e;
12
+ for (const s of t.content.querySelectorAll("ul")) {
13
+ const n = Array.from(s.children).filter(
14
+ (r) => r instanceof HTMLLIElement
15
+ );
16
+ if (!n.length || n.length !== s.children.length)
17
+ continue;
18
+ const o = n.map(w);
19
+ o.some((r) => !r) || (s.setAttribute("data-type", "taskList"), n.forEach((r, c) => {
20
+ const a = o[c];
21
+ if (!a)
22
+ return;
23
+ const l = a.checked;
24
+ a.remove(), r.setAttribute("data-type", "taskItem"), r.setAttribute("data-checked", l ? "true" : "false"), r.firstChild?.nodeType === Node.TEXT_NODE && (r.firstChild.textContent = r.firstChild.textContent?.replace(/^\s+/, "") ?? "", r.firstChild.textContent || r.firstChild.remove());
25
+ }));
26
+ }
27
+ return t.innerHTML;
28
+ }, P = u.create({
29
+ name: "markdownPaste",
30
+ addProseMirrorPlugins() {
31
+ return [
32
+ new f({
33
+ key: p,
34
+ props: {
35
+ handlePaste: (e, t) => {
36
+ const s = t.clipboardData?.getData("text/html"), n = t.clipboardData?.getData("text/plain");
37
+ return !n || s || !b(n) ? !1 : (t.preventDefault(), this.editor.chain().focus().insertContent(x(m(n))).run(), !0);
38
+ }
39
+ }
40
+ })
41
+ ];
42
+ }
43
+ });
44
+ export {
45
+ P as default
46
+ };
@@ -1,4 +1,4 @@
1
- import { Editor, Extension } from '@tiptap/core';
1
+ import { Editor, Extension } from "@tiptap/core";
2
2
  declare module "@tiptap/core" {
3
3
  interface Commands {
4
4
  selectedText: {
@@ -10,3 +10,4 @@ declare module "@tiptap/core" {
10
10
  }
11
11
  declare const _default: Extension<any, any>;
12
12
  export default _default;
13
+ //# sourceMappingURL=extension-selectedText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension-selectedText.d.ts","sourceRoot":"","sources":["../../../../lib/components/Scribe/extension/extension-selectedText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,QAAQ,cAAc,CAAC;IAC5B,UAAU,QAAQ;QAChB,YAAY,EAAE;YACZ,eAAe,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE;gBAAE,MAAM,EAAE,MAAM,CAAA;aAAE,KAAK,MAAM,GAAG,IAAI,CAAC;SAC1E,CAAC;KACH;CACF;;AAED,wBAiBG"}
@@ -1,4 +1,4 @@
1
- import { a as o } from "../../../index-flsxByQS.js";
1
+ import { a as o } from "../../../index-BKFDqQPh.js";
2
2
  const s = o.create({
3
3
  name: "SelectedText",
4
4
  addCommands: () => ({
@@ -1,2 +1,3 @@
1
- import { ScribeProps } from '..';
2
- export declare const initExtensions: (props: ScribeProps) => (import('@tiptap/core').Mark<import('@tiptap/extension-link').LinkOptions, any> | import('@tiptap/core').Extension<any, any> | import('@tiptap/core').Node<import('@tiptap/extension-table-row').TableRowOptions, any> | import('@tiptap/core').Mark<import('@tiptap/extension-highlight').HighlightOptions, any>)[];
1
+ import { ScribeProps } from "..";
2
+ export declare const initExtensions: (props: ScribeProps) => (import("@tiptap/core").Mark<import("@tiptap/extension-link").LinkOptions, any> | import("@tiptap/core").Extension<any, any> | import("@tiptap/core").Node<import("@tiptap/extension-table-row").TableRowOptions, any> | import("@tiptap/core").Mark<import("@tiptap/extension-highlight").HighlightOptions, any>)[];
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/Scribe/extension/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAuBjC,eAAO,MAAM,cAAc,GAAI,OAAO,WAAW,yTA+DhD,CAAC"}
@@ -1,18 +1,19 @@
1
1
  import r from "./extension-link.js";
2
- import { T as i, a as o, b as a, H as n, M as l, c as m, S as u, d as c, e as g, f as d, P as f, F as h, I as p, E as b, g as T } from "../../../index-CWvaDN_2.js";
3
- import { S as y } from "../../../index-BfaHEr44.js";
4
- import C from "./extension-selectedText.js";
5
- import E from "./slashCommand/renderItems.js";
6
- import { getSuggestionItems as H } from "./slashCommand/items.js";
7
- import S from "./emoji/suggest.js";
8
- const A = (e) => [
9
- u.configure({
2
+ import o from "./extension-markdown-paste.js";
3
+ import { T as i, a, b as n, H as m, M as l, c as u, S as c, d, e as g, f, P as p, F as h, I as b, E as T, g as y } from "../../../index-Cxf4VEm1.js";
4
+ import { S as C } from "../../../index-CL2WLiGu.js";
5
+ import E from "./extension-selectedText.js";
6
+ import H from "./slashCommand/renderItems.js";
7
+ import { getSuggestionItems as S } from "./slashCommand/items.js";
8
+ import w from "./emoji/suggest.js";
9
+ const F = (e) => [
10
+ c.configure({
10
11
  dropcursor: {
11
12
  width: 4,
12
13
  color: "#ebf6fe"
13
14
  }
14
15
  }),
15
- c.configure({
16
+ d.configure({
16
17
  HTMLAttributes: {
17
18
  class: "scribe-task-list"
18
19
  }
@@ -20,13 +21,13 @@ const A = (e) => [
20
21
  g.configure({
21
22
  nested: !0
22
23
  }),
23
- d.configure({
24
+ f.configure({
24
25
  resizable: !0
25
26
  }),
26
27
  i,
27
- o,
28
28
  a,
29
- f.configure({
29
+ n,
30
+ p.configure({
30
31
  showOnlyWhenEditable: !0,
31
32
  includeChildren: !0,
32
33
  showOnlyCurrent: !1,
@@ -35,30 +36,31 @@ const A = (e) => [
35
36
  placeholder: ({ editor: t, node: s }) => t.isDestroyed ? "" : s.type.name === "heading" ? `Heading ${s.attrs.level}` : e.placeholderText || 'Type "/" for commands...'
36
37
  }),
37
38
  h.configure({ mode: "deepest", className: "has-focus" }),
38
- y.configure({
39
+ o,
40
+ C.configure({
39
41
  slashSuggestion: {
40
- items: H,
41
- render: E(e)
42
+ items: S,
43
+ render: H(e)
42
44
  }
43
45
  }),
44
- n,
45
- C,
46
+ m,
47
+ E,
46
48
  r,
47
- p.configure({
49
+ b.configure({
48
50
  inline: !0,
49
51
  HTMLAttributes: {
50
52
  class: "scribe-image-node"
51
53
  },
52
54
  allowBase64: !0
53
55
  }),
54
- b.configure({
55
- emojis: T,
56
+ T.configure({
57
+ emojis: y,
56
58
  enableEmoticons: !0,
57
- suggestion: S(e)
59
+ suggestion: w(e)
58
60
  }),
59
61
  l,
60
- m
62
+ u
61
63
  ];
62
64
  export {
63
- A as initExtensions
65
+ F as initExtensions
64
66
  };
@@ -1,5 +1,6 @@
1
- import { SuggestionKeyDownProps, SuggestionProps } from '@tiptap/suggestion';
1
+ import { SuggestionKeyDownProps, SuggestionProps } from "@tiptap/suggestion";
2
2
  export interface SlashCommandRef {
3
3
  onKeyDown: (props: SuggestionKeyDownProps) => boolean;
4
4
  }
5
- export declare const SlashCommandList: import('react').ForwardRefExoticComponent<SuggestionProps<any, any> & import('react').RefAttributes<SlashCommandRef>>;
5
+ export declare const SlashCommandList: import("react").ForwardRefExoticComponent<SuggestionProps<any, any> & import("react").RefAttributes<SlashCommandRef>>;
6
+ //# sourceMappingURL=SlashCommandList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SlashCommandList.d.ts","sourceRoot":"","sources":["../../../../../lib/components/Scribe/extension/slashCommand/SlashCommandList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAM7E,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,OAAO,CAAC;CACvD;AAED,eAAO,MAAM,gBAAgB,uHA+F3B,CAAC"}
@@ -1,15 +1,16 @@
1
1
  import "react/jsx-runtime";
2
- import { h as n } from "../../../../index-CWvaDN_2.js";
2
+ import { h as x } from "../../../../index-Cxf4VEm1.js";
3
3
  import "react";
4
- import "../../../../purify.es-DcWaZU6I.js";
4
+ import "../../../../purify.es-BPDBzHtc.js";
5
5
  import "../../../../turndown.browser.es-RmA_HBaI.js";
6
- import "../../../../marked.esm-H7n4rMcO.js";
6
+ import "../../../../markdown-to-html-__93dwok.js";
7
7
  import "../../../../utils/is-in-viewport.js";
8
8
  import "../extension-link.js";
9
- import "../../../../index-BfaHEr44.js";
9
+ import "../extension-markdown-paste.js";
10
+ import "../../../../index-CL2WLiGu.js";
10
11
  import "../extension-selectedText.js";
11
12
  import "../emoji/EmojiList.js";
12
13
  import "../../../../clsx-OuTLNxxd.js";
13
14
  export {
14
- n as SlashCommandList
15
+ x as SlashCommandList
15
16
  };
@@ -1,4 +1,5 @@
1
- import { Extension } from '@tiptap/core';
2
- import { PluginKey } from '@tiptap/pm/state';
1
+ import { Extension } from "@tiptap/core";
2
+ import { PluginKey } from "@tiptap/pm/state";
3
3
  export declare const slashMenuPluginKey: PluginKey<any>;
4
4
  export declare const SlashCommand: Extension<any, any>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/components/Scribe/extension/slashCommand/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C,eAAO,MAAM,kBAAkB,gBAAmC,CAAC;AAEnE,eAAO,MAAM,YAAY,qBAyBvB,CAAC"}
@@ -1,5 +1,5 @@
1
- import "../../../../index-flsxByQS.js";
2
- import { S as o, s as e } from "../../../../index-BfaHEr44.js";
1
+ import "../../../../index-BKFDqQPh.js";
2
+ import { S as o, s as e } from "../../../../index-CL2WLiGu.js";
3
3
  export {
4
4
  o as SlashCommand,
5
5
  e as slashMenuPluginKey
@@ -1,5 +1,5 @@
1
- import { Editor, Range } from '@tiptap/core';
2
- import { ReactNode } from 'react';
1
+ import { Editor, Range } from "@tiptap/core";
2
+ import { ReactNode } from "react";
3
3
  export declare enum SuggestionItemType {
4
4
  BASIC_BLOCKS = "Basic",
5
5
  ADVANCED_BLOCKS = "Advanced"
@@ -21,3 +21,4 @@ export declare const getSuggestionItems: (props: {
21
21
  editor: Editor;
22
22
  }) => SuggestionItem[];
23
23
  export {};
24
+ //# sourceMappingURL=items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../../../lib/components/Scribe/extension/slashCommand/items.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,oBAAY,kBAAkB;IAC5B,YAAY,UAAU;IACtB,eAAe,aAAa;CAC7B;AAED,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,kBAAkB,GAAI,OAAO;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,qBAkM1E,CAAC"}
@@ -1,4 +1,4 @@
1
- import { SuggestionKeyDownProps, SuggestionProps } from '@tiptap/suggestion';
1
+ import { SuggestionKeyDownProps, SuggestionProps } from "@tiptap/suggestion";
2
2
  declare const renderItems: (_props: any) => () => {
3
3
  onStart: (props: SuggestionProps) => void;
4
4
  onUpdate: (props: SuggestionProps) => void;
@@ -6,3 +6,4 @@ declare const renderItems: (_props: any) => () => {
6
6
  onExit(): void;
7
7
  };
8
8
  export default renderItems;
9
+ //# sourceMappingURL=renderItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderItems.d.ts","sourceRoot":"","sources":["../../../../../lib/components/Scribe/extension/slashCommand/renderItems.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK7E,QAAA,MAAM,WAAW,GAAI,WAAM;qBAON,eAAe;sBAsBd,eAAe;qBAahB,sBAAsB;;CAyB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
- import { R as l, t as c } from "../../../../index-Bvgjhwaj.js";
2
- import { l as o, h as d } from "../../../../index-CWvaDN_2.js";
1
+ import { R as l, t as c } from "../../../../index-PzbCrHp0.js";
2
+ import { l as o, h as d } from "../../../../index-Cxf4VEm1.js";
3
3
  const f = (s) => () => {
4
4
  let r, t = [], n, i = !o.isEmpty(t);
5
5
  return {
@@ -1,6 +1,7 @@
1
- import { ClassValue } from 'clsx';
2
- import { Content, Editor, Extension, JSONContent, UseEditorOptions } from '@tiptap/react';
3
- import { KeyboardEventHandler } from 'react';
1
+ import "katex/dist/katex.css";
2
+ import { ClassValue } from "clsx";
3
+ import { Content, Editor, Extension, JSONContent, UseEditorOptions } from "@tiptap/react";
4
+ import { KeyboardEventHandler } from "react";
4
5
  export type ScribeOnChangeContents = {
5
6
  jsonContent: Content;
6
7
  htmlContent: Content;
@@ -31,4 +32,5 @@ export interface ScribeProps {
31
32
  darkMode?: boolean;
32
33
  mobile?: boolean;
33
34
  }
34
- export declare const Scribe: import('react').ForwardRefExoticComponent<ScribeProps & import('react').RefAttributes<ScribeRef>>;
35
+ export declare const Scribe: import("react").ForwardRefExoticComponent<ScribeProps & import("react").RefAttributes<ScribeRef>>;
36
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Scribe/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AAGxC,OAAO,EACL,OAAO,EACP,MAAM,EAGN,SAAS,EACT,WAAW,EACX,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,oBAAoB,EAKrB,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC;CACjC,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,KAAK,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;IAC5F,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,MAAM,mGA+HjB,CAAC"}