noteloom 0.4.0 → 0.6.0

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 (69) hide show
  1. package/README.md +162 -1026
  2. package/dist/canvas.cjs +1 -1
  3. package/dist/canvas.js +1 -1
  4. package/dist/collab.cjs +1 -1
  5. package/dist/collab.cjs.map +1 -1
  6. package/dist/collab.js +157 -102
  7. package/dist/collab.js.map +1 -1
  8. package/dist/comments.cjs +1 -1
  9. package/dist/comments.js +3 -3
  10. package/dist/index.cjs +1 -1
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.ts +29 -1
  13. package/dist/index.js +1600 -1542
  14. package/dist/index.js.map +1 -1
  15. package/dist/shared/{CommentThreadCard-CAJ3oPdr.cjs → CommentThreadCard-DcCHq2Dy.cjs} +2 -2
  16. package/dist/shared/{CommentThreadCard-CAJ3oPdr.cjs.map → CommentThreadCard-DcCHq2Dy.cjs.map} +1 -1
  17. package/dist/shared/{CommentThreadCard-Cxf8GwHJ.js → CommentThreadCard-DwtE85Xx.js} +2 -2
  18. package/dist/shared/{CommentThreadCard-Cxf8GwHJ.js.map → CommentThreadCard-DwtE85Xx.js.map} +1 -1
  19. package/dist/shared/{CommentsPanel-CES4uzye.cjs → CommentsPanel-BRgACUu_.cjs} +2 -2
  20. package/dist/shared/{CommentsPanel-CES4uzye.cjs.map → CommentsPanel-BRgACUu_.cjs.map} +1 -1
  21. package/dist/shared/{CommentsPanel-BwVVyMOC.js → CommentsPanel-D4eP-K_f.js} +3 -3
  22. package/dist/shared/{CommentsPanel-BwVVyMOC.js.map → CommentsPanel-D4eP-K_f.js.map} +1 -1
  23. package/dist/shared/VersionHistory-BRBYQgj5.cjs +12 -0
  24. package/dist/shared/VersionHistory-BRBYQgj5.cjs.map +1 -0
  25. package/dist/shared/{VersionHistory-Bg6fufP5.js → VersionHistory-D9sIIAYN.js} +221 -206
  26. package/dist/shared/VersionHistory-D9sIIAYN.js.map +1 -0
  27. package/dist/shared/VoiceListeningIndicator-DgLMmGSP.js +342 -0
  28. package/dist/shared/VoiceListeningIndicator-DgLMmGSP.js.map +1 -0
  29. package/dist/shared/VoiceListeningIndicator-Dw0fggpE.cjs +2 -0
  30. package/dist/shared/VoiceListeningIndicator-Dw0fggpE.cjs.map +1 -0
  31. package/dist/shared/{icons-C1_s0jKK.js → icons-Bdptdx1e.js} +307 -277
  32. package/dist/shared/{icons-C1_s0jKK.js.map → icons-Bdptdx1e.js.map} +1 -1
  33. package/dist/shared/{icons-DtCsXuU6.cjs → icons-DabR_JDW.cjs} +3 -3
  34. package/dist/shared/{icons-DtCsXuU6.cjs.map → icons-DabR_JDW.cjs.map} +1 -1
  35. package/dist/shared/{index-D9WEXpYM.cjs → index-B7_F6NA9.cjs} +2 -2
  36. package/dist/shared/{index-D9WEXpYM.cjs.map → index-B7_F6NA9.cjs.map} +1 -1
  37. package/dist/shared/{index-B9jyyL8u.js → index-DOIEccLM.js} +52 -52
  38. package/dist/shared/{index-B9jyyL8u.js.map → index-DOIEccLM.js.map} +1 -1
  39. package/dist/shared/{leafBlockFactory-A9eUhSe-.js → leafBlockFactory-ChlzpKIn.js} +2 -2
  40. package/dist/shared/{leafBlockFactory-A9eUhSe-.js.map → leafBlockFactory-ChlzpKIn.js.map} +1 -1
  41. package/dist/shared/{leafBlockFactory-Dp382eP8.cjs → leafBlockFactory-D3SCDvzc.cjs} +2 -2
  42. package/dist/shared/{leafBlockFactory-Dp382eP8.cjs.map → leafBlockFactory-D3SCDvzc.cjs.map} +1 -1
  43. package/dist/shared/{serialize-T9Odwx24.js → serialize-C1rjLsIz.js} +2 -2
  44. package/dist/shared/{serialize-T9Odwx24.js.map → serialize-C1rjLsIz.js.map} +1 -1
  45. package/dist/shared/{serialize-DWEfk0vU.cjs → serialize-k0zXqwEM.cjs} +2 -2
  46. package/dist/shared/{serialize-DWEfk0vU.cjs.map → serialize-k0zXqwEM.cjs.map} +1 -1
  47. package/dist/shared/{starter-kit-CY5wzYDf.js → starter-kit-CJzWMyF8.js} +683 -673
  48. package/dist/shared/{starter-kit-CY5wzYDf.js.map → starter-kit-CJzWMyF8.js.map} +1 -1
  49. package/dist/shared/starter-kit-Ch2LEpzF.cjs +27 -0
  50. package/dist/shared/{starter-kit-lPN-NpJ5.cjs.map → starter-kit-Ch2LEpzF.cjs.map} +1 -1
  51. package/dist/shared/{usePopoverEdgeClamp-gmFm0CnI.js → usePopoverEdgeClamp-B9KNv9SE.js} +2 -2
  52. package/dist/shared/{usePopoverEdgeClamp-gmFm0CnI.js.map → usePopoverEdgeClamp-B9KNv9SE.js.map} +1 -1
  53. package/dist/shared/{usePopoverEdgeClamp-CDG26jBM.cjs → usePopoverEdgeClamp-gRlLQeVG.cjs} +2 -2
  54. package/dist/shared/{usePopoverEdgeClamp-CDG26jBM.cjs.map → usePopoverEdgeClamp-gRlLQeVG.cjs.map} +1 -1
  55. package/dist/starter-kit.cjs +1 -1
  56. package/dist/starter-kit.js +2 -2
  57. package/dist/versions.cjs +1 -1
  58. package/dist/versions.js +1 -1
  59. package/dist/voice.cjs +1 -1
  60. package/dist/voice.js +1 -1
  61. package/package.json +2 -2
  62. package/dist/shared/VersionHistory-Bg6fufP5.js.map +0 -1
  63. package/dist/shared/VersionHistory-DELa2Wbq.cjs +0 -12
  64. package/dist/shared/VersionHistory-DELa2Wbq.cjs.map +0 -1
  65. package/dist/shared/VoiceListeningIndicator-BOfVmLK0.js +0 -338
  66. package/dist/shared/VoiceListeningIndicator-BOfVmLK0.js.map +0 -1
  67. package/dist/shared/VoiceListeningIndicator-DNX8JlQM.cjs +0 -2
  68. package/dist/shared/VoiceListeningIndicator-DNX8JlQM.cjs.map +0 -1
  69. package/dist/shared/starter-kit-lPN-NpJ5.cjs +0 -27
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),i=require("react"),mn=`/*
1
+ "use strict";const n=require("react/jsx-runtime"),i=require("react"),hn=`/*
2
2
  * noteloom's default theme — minimal, clean, modern SaaS-adjacent.
3
3
  *
4
4
  * Ships as plain CSS custom properties on :root (not scoped to a wrapper
@@ -3527,5 +3527,5 @@ tr.be-table-row:hover .be-table-delete-row {
3527
3527
  break-inside: avoid;
3528
3528
  }
3529
3529
  }
3530
- `,B="noteloom-default-styles";function O(){if(typeof document>"u"||document.getElementById(B))return;const e=document.createElement("style");e.id=B,e.textContent=mn,document.head.appendChild(e)}const A=i.createContext(null);function pn({store:e,registry:o,inlineRegistry:r=null,history:d=null,className:c,style:g,theme:h="default",getBlockClassName:x,commentAuthorId:f,showLineNumbers:v=!1,uploadFile:y,maxFileSize:w,children:k}){i.useEffect(()=>{h!=="none"&&O()},[h]);const[j,an]=i.useState(!1),[z,ln]=i.useState(null),[I,dn]=i.useState([]),[C,sn]=i.useState(!1),[E,b]=i.useState(null),S=i.useCallback(()=>b("new"),[]),M=i.useCallback(s=>b(s),[]),T=i.useCallback(()=>b(null),[]),m=i.useRef(null),R=i.useCallback(()=>m.current,[]),P=i.useCallback(s=>{var D,_;const p=m.current;p!==s&&(p&&((D=document.querySelector(`[data-block-id="${p}"]`))==null||D.classList.remove("be-block-selected")),m.current=s,s&&((_=document.querySelector(`[data-block-id="${s}"]`))==null||_.classList.add("be-block-selected")))},[]),cn=i.useMemo(()=>({store:e,registry:o,inlineRegistry:r,history:d,isWholeDocumentSelected:j,setIsWholeDocumentSelected:an,selectedBlockRange:I,setSelectedBlockRange:dn,getSelectedBlockId:R,setSelectedBlockId:P,isPreviewMode:C,setIsPreviewMode:sn,fieldTypeEditorTarget:E,openCreateFieldType:S,openEditFieldType:M,closeFieldTypeEditor:T,getBlockClassName:x,commentAuthorId:f,hoveredCommentId:z,setHoveredCommentId:ln,showLineNumbers:v,uploadFile:y,maxFileSize:w}),[e,o,r,d,j,I,R,P,C,E,S,M,T,x,f,z,v,y,w]),bn=c||g?n.jsx("div",{className:c?`be-root ${c}`:"be-root",style:g,children:k}):k;return n.jsx(A.Provider,{value:cn,children:bn})}function l(){const e=i.useContext(A);if(!e)throw new Error("Editor hooks must be used within an <EditorProvider>");return e}function un(){return l().store}function gn(){return l().registry}function hn(){return l().inlineRegistry}function xn(){const{isWholeDocumentSelected:e,setIsWholeDocumentSelected:o}=l();return[e,o]}function fn(){const{selectedBlockRange:e,setSelectedBlockRange:o}=l();return[e,o]}function vn(){const{getSelectedBlockId:e,setSelectedBlockId:o}=l();return{getSelectedBlockId:e,setSelectedBlockId:o}}function yn(){const{isPreviewMode:e,setIsPreviewMode:o}=l();return[e,o]}function wn(e,o){const{getBlockClassName:r}=l(),d=o&&r?r(o):void 0;return d?`${e} ${d}`:e}function kn(){return l().commentAuthorId}function jn(){const{hoveredCommentId:e,setHoveredCommentId:o}=l();return[e,o]}function zn(){return l().showLineNumbers}function In(){const{uploadFile:e,maxFileSize:o}=l();return{uploadFile:e,maxFileSize:o}}function Cn(){const{fieldTypeEditorTarget:e,openCreateFieldType:o,openEditFieldType:r,closeFieldTypeEditor:d}=l();return{target:e,openCreate:o,openEdit:r,close:d}}const a={INSERT_BLOCK:"insertBlock",REMOVE_BLOCK:"removeBlock",MOVE_BLOCK:"moveBlock",CHANGE_BLOCK_TYPE:"changeBlockType",UPDATE_BLOCK_PROPS:"updateBlockProps",UPDATE_RUN:"updateRun",SET_BLOCK_CONTENT_IDS:"setBlockContentIds",REPLACE_RUN_SPAN:"replaceRunSpan",SET_BLOCK_RUNS:"setBlockRuns",EDIT_RUN_CHARS:"editRunChars",ADD_FIELD_TYPE:"addFieldType",UPDATE_FIELD_TYPE:"updateFieldType",REMOVE_FIELD_TYPE:"removeFieldType",ADD_COMMENT_THREAD:"addCommentThread",REMOVE_COMMENT_THREAD:"removeCommentThread",ADD_COMMENT_REPLY:"addCommentReply",REMOVE_COMMENT_REPLY:"removeCommentReply",RESOLVE_COMMENT:"resolveComment",ADD_PERSON:"addPerson",UPDATE_PERSON:"updatePerson",REMOVE_PERSON:"removePerson"};function L(e,o,r,d){return{type:a.INSERT_BLOCK,block:e,parentId:o,index:r,subtree:d}}function N(e){return{type:a.REMOVE_BLOCK,id:e}}function H(e,o,r){return{type:a.MOVE_BLOCK,id:e,toParentId:o,toIndex:r}}function F(e,o){return{type:a.UPDATE_BLOCK_PROPS,id:e,patch:o}}function U(e,o,r){return{type:a.CHANGE_BLOCK_TYPE,id:e,blockType:o,props:r}}function V(e,o){return{type:a.UPDATE_RUN,id:e,patch:o}}function q(e,o,r,d){return{type:a.EDIT_RUN_CHARS,id:e,tombstoneIds:o,restoreIds:r,previousValue:d}}function Y(e,o){return{type:a.SET_BLOCK_CONTENT_IDS,blockId:e,contentIds:o}}function K(e,o,r){return{type:a.REPLACE_RUN_SPAN,blockId:e,oldRunIds:o,newRuns:r}}function W(e,o){return{type:a.SET_BLOCK_RUNS,blockId:e,runs:o}}function $(e){return{type:a.ADD_FIELD_TYPE,fieldType:e}}function G(e,o){return{type:a.UPDATE_FIELD_TYPE,id:e,patch:o}}function Q(e){return{type:a.REMOVE_FIELD_TYPE,id:e}}function X(e){return{type:a.ADD_COMMENT_THREAD,thread:e}}function J(e){return{type:a.REMOVE_COMMENT_THREAD,commentId:e}}function Z(e,o){return{type:a.ADD_COMMENT_REPLY,commentId:e,message:o}}function nn(e,o){return{type:a.REMOVE_COMMENT_REPLY,commentId:e,messageId:o}}function en(e,o){return{type:a.RESOLVE_COMMENT,commentId:e,resolved:o}}function on(e){return{type:a.ADD_PERSON,person:e}}function tn(e,o){return{type:a.UPDATE_PERSON,id:e,patch:o}}function rn(e){return{type:a.REMOVE_PERSON,id:e}}const En=Object.freeze(Object.defineProperty({__proto__:null,OP:a,addCommentReply:Z,addCommentThread:X,addFieldType:$,addPerson:on,changeBlockType:U,editRunChars:q,insertBlock:L,moveBlock:H,removeBlock:N,removeCommentReply:nn,removeCommentThread:J,removeFieldType:Q,removePerson:rn,replaceRunSpan:K,resolveComment:en,setBlockContentIds:Y,setBlockRuns:W,updateBlockProps:F,updateFieldType:G,updatePerson:tn,updateRun:V},Symbol.toStringTag,{value:"Module"}));function Sn(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`id-${Date.now()}-${Math.random().toString(36).slice(2)}`}function t({children:e,size:o=16,strokeWidth:r=2,...d}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",...d,children:e})}function Mn(e){return n.jsx(t,{...e,children:n.jsx("polyline",{points:"9 18 15 12 9 6"})})}function Tn(e){return n.jsx(t,{...e,children:n.jsx("polyline",{points:"6 9 12 15 18 9"})})}function Rn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function Pn(e){return n.jsxs(t,{...e,fill:"currentColor",stroke:"none",children:[n.jsx("circle",{cx:"5",cy:"12",r:"1.6"}),n.jsx("circle",{cx:"12",cy:"12",r:"1.6"}),n.jsx("circle",{cx:"19",cy:"12",r:"1.6"})]})}function Dn(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"})})}function _n(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function Bn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"}),n.jsx("path",{d:"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"})]})}function On(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"19",y1:"4",x2:"10",y2:"4"}),n.jsx("line",{x1:"14",y1:"20",x2:"5",y2:"20"}),n.jsx("line",{x1:"15",y1:"4",x2:"9",y2:"20"})]})}function An(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M6 3v7a6 6 0 0 0 12 0V3"}),n.jsx("line",{x1:"4",y1:"21",x2:"20",y2:"21"})]})}function Ln(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 20h9"}),n.jsx("path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"})]})}function Nn(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M3 17c2-4 4-4 6 0s4 4 6 0 4-4 6 0"})})}function Hn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),n.jsx("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]})}function Fn(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"})})}function Un(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M3 12a9 9 0 1 0 3-6.7"}),n.jsx("polyline",{points:"3 5 3 10 8 10"}),n.jsx("polyline",{points:"12 7 12 12 16 14"})]})}function Vn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M3 12a9 9 0 1 0 2.6-6.3"}),n.jsx("polyline",{points:"3 4 3 9 8 9"})]})}function qn(e){return n.jsx(t,{...e,children:n.jsx("polyline",{points:"20 6 9 17 4 12"})})}function Yn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),n.jsx("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]})}function Kn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M16 4H9a3 3 0 0 0-2.83 4"}),n.jsx("path",{d:"M14 12a4 4 0 0 1 0 8H6"}),n.jsx("line",{x1:"4",y1:"12",x2:"20",y2:"12"})]})}function Wn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"17",y1:"10",x2:"3",y2:"10"}),n.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),n.jsx("line",{x1:"17",y1:"18",x2:"3",y2:"18"})]})}function $n(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"18",y1:"10",x2:"6",y2:"10"}),n.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),n.jsx("line",{x1:"18",y1:"18",x2:"6",y2:"18"})]})}function Gn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"21",y1:"10",x2:"7",y2:"10"}),n.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),n.jsx("line",{x1:"21",y1:"18",x2:"7",y2:"18"})]})}function Qn(e){return n.jsx(t,{...e,children:[5,12,19].flatMap(o=>[9,15].map(r=>n.jsx("circle",{cx:r,cy:o,r:"1.3",fill:"currentColor",stroke:"none"},`${r}-${o}`)))})}function Xn(e){return n.jsxs(t,{...e,children:[n.jsx("polyline",{points:"3 6 5 6 21 6"}),n.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),n.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),n.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})}function Jn(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"9",y:"9",width:"12",height:"12",rx:"2"}),n.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})}function Zn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"5"}),n.jsx("polyline",{points:"5 12 12 5 19 12"})]})}function ne(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("polyline",{points:"19 12 12 19 5 12"})]})}function ee(e){return n.jsx(t,{...e,children:n.jsx("rect",{x:"4",y:"4",width:"16",height:"16",rx:"1"})})}function oe(e){return n.jsx(t,{...e,children:n.jsx("circle",{cx:"12",cy:"12",r:"8"})})}function te(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"6",y1:"18",x2:"18",y2:"6"}),n.jsx("polyline",{points:"9 6 18 6 18 15"})]})}function re(e){return n.jsx(t,{...e,children:n.jsx("polygon",{points:"12 3 21 12 12 21 3 12"})})}function ae(e){return n.jsx(t,{...e,children:n.jsx("polygon",{points:"12 4 20 20 4 20"})})}function ie(e){return n.jsx(t,{...e,children:n.jsx("polygon",{points:"12 3 14.7 9.4 21.5 9.9 16.3 14.4 17.9 21 12 17.4 6.1 21 7.7 14.4 2.5 9.9 9.3 9.4"})})}function le(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M5 3l14 8-6 2-2 6-6-16z"})})}function de(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M19 20H9l-6-6a1.5 1.5 0 0 1 0-2l9-9a1.5 1.5 0 0 1 2 0l7 7a1.5 1.5 0 0 1 0 2l-7 7"}),n.jsx("path",{d:"M6.5 12.5 13 19"})]})}function se(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 3v12"}),n.jsx("path",{d:"M7 10l5 5 5-5"}),n.jsx("path",{d:"M4 19h16"})]})}function ce(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M6 15V9a6 6 0 0 1 12 0v6"}),n.jsx("path",{d:"M6 15a3 3 0 0 0 6 0v-4"}),n.jsx("path",{d:"M18 15a3 3 0 0 1-6 0v-4"}),n.jsx("line",{x1:"3",y1:"9",x2:"6",y2:"9"}),n.jsx("line",{x1:"3",y1:"15",x2:"6",y2:"15"}),n.jsx("line",{x1:"18",y1:"9",x2:"21",y2:"9"}),n.jsx("line",{x1:"18",y1:"15",x2:"21",y2:"15"})]})}function be(e){return n.jsxs(t,{...e,children:[n.jsx("circle",{cx:"6",cy:"6",r:"3"}),n.jsx("circle",{cx:"6",cy:"18",r:"3"}),n.jsx("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),n.jsx("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),n.jsx("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})]})}function me(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"17",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"21",y1:"12",x2:"3",y2:"12"}),n.jsx("line",{x1:"15",y1:"18",x2:"3",y2:"18"})]})}function u({level:e=1,size:o=16,...r}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",...r,children:n.jsxs("text",{x:"2",y:"18",fontSize:"14",fontWeight:"700",fill:"currentColor",fontFamily:"inherit",children:["H",e]})})}function pe(e){return n.jsx(u,{level:1,...e})}function ue(e){return n.jsx(u,{level:2,...e})}function ge(e){return n.jsx(u,{level:3,...e})}function he(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M7 7a3 3 0 0 0-3 3v3a2 2 0 0 0 2 2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H6a3 3 0 0 1 3-3z"}),n.jsx("path",{d:"M17 7a3 3 0 0 0-3 3v3a2 2 0 0 0 2 2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2a3 3 0 0 1 3-3z"})]})}function xe(e){return n.jsxs(t,{...e,children:[n.jsx("polyline",{points:"9 8 4 12 9 16"}),n.jsx("polyline",{points:"15 8 20 12 15 16"})]})}function fe(e){return n.jsx(t,{...e,children:n.jsx("line",{x1:"4",y1:"12",x2:"20",y2:"12"})})}function ve(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M4 5h16a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9l-4 4v-4H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1z"}),n.jsx("line",{x1:"7",y1:"9",x2:"17",y2:"9"}),n.jsx("line",{x1:"7",y1:"12.5",x2:"13",y2:"12.5"})]})}function ye(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"8",width:"18",height:"8",rx:"3"}),n.jsx("line",{x1:"8",y1:"12",x2:"16",y2:"12"})]})}function we(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1"}),n.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"}),n.jsx("line",{x1:"3",y1:"16",x2:"21",y2:"16"}),n.jsx("line",{x1:"9",y1:"4",x2:"9",y2:"20"}),n.jsx("line",{x1:"15",y1:"4",x2:"15",y2:"20"})]})}function ke(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1"}),n.jsx("line",{x1:"9",y1:"4",x2:"9",y2:"20"}),n.jsx("line",{x1:"15",y1:"4",x2:"15",y2:"20"})]})}function je(e){return n.jsxs(t,{...e,children:[n.jsx("circle",{cx:"4.5",cy:"6",r:"1.2",fill:"currentColor",stroke:"none"}),n.jsx("circle",{cx:"4.5",cy:"12",r:"1.2",fill:"currentColor",stroke:"none"}),n.jsx("circle",{cx:"4.5",cy:"18",r:"1.2",fill:"currentColor",stroke:"none"}),n.jsx("line",{x1:"9",y1:"6",x2:"21",y2:"6"}),n.jsx("line",{x1:"9",y1:"12",x2:"21",y2:"12"}),n.jsx("line",{x1:"9",y1:"18",x2:"21",y2:"18"})]})}function ze(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"10",y1:"6",x2:"21",y2:"6"}),n.jsx("line",{x1:"10",y1:"12",x2:"21",y2:"12"}),n.jsx("line",{x1:"10",y1:"18",x2:"21",y2:"18"}),n.jsx("text",{x:"2",y:"8.5",fontSize:"7",fontWeight:"700",fill:"currentColor",stroke:"none",children:"1"}),n.jsx("text",{x:"2",y:"14.5",fontSize:"7",fontWeight:"700",fill:"currentColor",stroke:"none",children:"2"}),n.jsx("text",{x:"2",y:"20.5",fontSize:"7",fontWeight:"700",fill:"currentColor",stroke:"none",children:"3"})]})}function Ie(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"4",y:"4",width:"16",height:"16",rx:"3"}),n.jsx("polyline",{points:"8 12 11 15 16 9"})]})}function Ce(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),n.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"}),n.jsx("line",{x1:"8",y1:"3",x2:"8",y2:"7"}),n.jsx("line",{x1:"16",y1:"3",x2:"16",y2:"7"})]})}function Ee(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 3h7a2 2 0 0 1 2 2v7a2 2 0 0 1-.59 1.41l-8 8a2 2 0 0 1-2.82 0l-7-7a2 2 0 0 1 0-2.82l8-8A2 2 0 0 1 12 3z"}),n.jsx("circle",{cx:"15.5",cy:"8.5",r:"1.2",fill:"currentColor",stroke:"none"})]})}function Se(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),n.jsx("circle",{cx:"9",cy:"10",r:"1.5",fill:"currentColor",stroke:"none"}),n.jsx("path",{d:"M4 17l5-5 4 4 4-5 4 6"})]})}function Me(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"5",width:"14",height:"14",rx:"2"}),n.jsx("path",{d:"M17 10l4-2.5v9L17 14"})]})}function Te(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z"}),n.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function Re(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M17.94 17.94A10.94 10.94 0 0 1 12 19c-6.5 0-10-7-10-7a18.5 18.5 0 0 1 5.06-5.94M9.9 4.24A10.94 10.94 0 0 1 12 4c6.5 0 10 7 10 7a18.5 18.5 0 0 1-2.16 3.19"}),n.jsx("path",{d:"M14.12 14.12a3 3 0 1 1-4.24-4.24"}),n.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})}function Pe(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"4",y1:"10",x2:"4",y2:"14"}),n.jsx("line",{x1:"8",y1:"7",x2:"8",y2:"17"}),n.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"}),n.jsx("line",{x1:"16",y1:"7",x2:"16",y2:"17"}),n.jsx("line",{x1:"20",y1:"10",x2:"20",y2:"14"})]})}function De(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"}),n.jsx("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),n.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"23"}),n.jsx("line",{x1:"8",y1:"23",x2:"16",y2:"23"})]})}exports.AlignCenterIcon=$n;exports.AlignLeftIcon=Wn;exports.AlignRightIcon=Gn;exports.ArrowDiagonalIcon=te;exports.ArrowDownIcon=ne;exports.ArrowUpIcon=Zn;exports.AudioIcon=Pe;exports.BoldIcon=Bn;exports.BulletedListIcon=je;exports.ButtonIcon=ye;exports.CalloutIcon=ve;exports.CheckIcon=qn;exports.CheckboxIcon=Ie;exports.ChevronDownIcon=Tn;exports.ChevronRightIcon=Mn;exports.CircleIcon=oe;exports.ClockHistoryIcon=Un;exports.CodeIcon=xe;exports.ColumnsIcon=ke;exports.CommentIcon=Fn;exports.CopyIcon=Jn;exports.CursorIcon=le;exports.DateIcon=Ce;exports.DiamondIcon=re;exports.DividerIcon=fe;exports.DownloadIcon=se;exports.EditorProvider=pn;exports.EraserIcon=de;exports.EyeIcon=Te;exports.EyeOffIcon=Re;exports.GripVerticalIcon=Qn;exports.Heading1Icon=pe;exports.Heading2Icon=ue;exports.Heading3Icon=ge;exports.ImageIcon=Se;exports.ItalicIcon=On;exports.LinkIcon=Hn;exports.MagnetIcon=ce;exports.MicIcon=De;exports.MoreHorizontalIcon=Pn;exports.NumberedListIcon=ze;exports.OP=a;exports.PaperclipIcon=Dn;exports.PencilIcon=Ln;exports.PlusIcon=_n;exports.QuoteIcon=he;exports.RestoreIcon=Vn;exports.ScissorsIcon=be;exports.ScribbleIcon=Nn;exports.SelectIcon=Ee;exports.SendIcon=Yn;exports.SquareIcon=ee;exports.StarIcon=ie;exports.StrikethroughIcon=Kn;exports.TableIcon=we;exports.TextIcon=me;exports.TrashIcon=Xn;exports.TriangleIcon=ae;exports.UnderlineIcon=An;exports.VideoIcon=Me;exports.XIcon=Rn;exports.addCommentReply=Z;exports.addCommentThread=X;exports.addFieldType=$;exports.addPerson=on;exports.changeBlockType=U;exports.editRunChars=q;exports.genId=Sn;exports.injectDefaultStyles=O;exports.insertBlock=L;exports.moveBlock=H;exports.operations=En;exports.removeBlock=N;exports.removeCommentReply=nn;exports.removeCommentThread=J;exports.removeFieldType=Q;exports.removePerson=rn;exports.replaceRunSpan=K;exports.resolveComment=en;exports.setBlockContentIds=Y;exports.setBlockRuns=W;exports.updateBlockProps=F;exports.updateFieldType=G;exports.updatePerson=tn;exports.updateRun=V;exports.useBlockClassName=wn;exports.useBlockRangeSelection=fn;exports.useBlockRegistry=gn;exports.useCommentAuthorId=kn;exports.useEditorContext=l;exports.useEditorStore=un;exports.useFieldTypeEditor=Cn;exports.useFileUpload=In;exports.useHoveredComment=jn;exports.useInlineRegistry=hn;exports.usePreviewMode=yn;exports.useSelectedBlock=vn;exports.useShowLineNumbers=zn;exports.useWholeDocumentSelection=xn;
3531
- //# sourceMappingURL=icons-DtCsXuU6.cjs.map
3530
+ `,L="noteloom-default-styles";let N=!1;function xn(){if(N)return;N=!0;const e=typeof process<"u"&&process.env?process.env.NODE_ENV:void 0;e==="production"||e==="test"||typeof console>"u"||console.warn("[noteloom] The default theme is being auto-injected. A future major version will stop doing this — add `import 'noteloom/theme'` to your app (recommended), or pass `theme=\"none\"` to <NoteloomEditor> / <EditorProvider> if you already style the editor yourself. This message shows once, in development only.")}function H({auto:e=!1}={}){if(typeof document>"u"||document.getElementById(L))return;e&&xn();const o=document.createElement("style");o.id=L,o.textContent=hn,document.head.appendChild(o)}const u=i.createContext(null);function fn({store:e,registry:o,inlineRegistry:r=null,history:l=null,className:c,style:h,theme:x="default",getBlockClassName:f,commentAuthorId:v,showLineNumbers:y=!1,uploadFile:w,maxFileSize:k,resolveEmbedSrc:j,onEmbedError:I,children:z}){i.useEffect(()=>{x!=="none"&&H({auto:!0})},[x]);const[C,cn]=i.useState(!1),[E,bn]=i.useState(null),[S,mn]=i.useState([]),[T,pn]=i.useState(!1),[M,b]=i.useState(null),R=i.useCallback(()=>b("new"),[]),P=i.useCallback(s=>b(s),[]),D=i.useCallback(()=>b(null),[]),m=i.useRef(null),_=i.useCallback(()=>m.current,[]),O=i.useCallback(s=>{var B,A;const p=m.current;p!==s&&(p&&((B=document.querySelector(`[data-block-id="${p}"]`))==null||B.classList.remove("be-block-selected")),m.current=s,s&&((A=document.querySelector(`[data-block-id="${s}"]`))==null||A.classList.add("be-block-selected")))},[]),un=i.useMemo(()=>({store:e,registry:o,inlineRegistry:r,history:l,isWholeDocumentSelected:C,setIsWholeDocumentSelected:cn,selectedBlockRange:S,setSelectedBlockRange:mn,getSelectedBlockId:_,setSelectedBlockId:O,isPreviewMode:T,setIsPreviewMode:pn,fieldTypeEditorTarget:M,openCreateFieldType:R,openEditFieldType:P,closeFieldTypeEditor:D,getBlockClassName:f,commentAuthorId:v,hoveredCommentId:E,setHoveredCommentId:bn,showLineNumbers:y,uploadFile:w,maxFileSize:k,resolveEmbedSrc:j,onEmbedError:I}),[e,o,r,l,C,S,_,O,T,M,R,P,D,f,v,E,y,w,k,j,I]),gn=c||h?n.jsx("div",{className:c?`be-root ${c}`:"be-root",style:h,children:z}):z;return n.jsx(u.Provider,{value:un,children:gn})}function d(){const e=i.useContext(u);if(!e)throw new Error("Editor hooks must be used within an <EditorProvider>");return e}function vn(){return d().store}function yn(){var e;return((e=i.useContext(u))==null?void 0:e.store)??null}function wn(){return d().registry}function kn(){return d().inlineRegistry}function jn(){const{isWholeDocumentSelected:e,setIsWholeDocumentSelected:o}=d();return[e,o]}function In(){const{selectedBlockRange:e,setSelectedBlockRange:o}=d();return[e,o]}function zn(){const{getSelectedBlockId:e,setSelectedBlockId:o}=d();return{getSelectedBlockId:e,setSelectedBlockId:o}}function Cn(){const{isPreviewMode:e,setIsPreviewMode:o}=d();return[e,o]}function En(e,o){const{getBlockClassName:r}=d(),l=o&&r?r(o):void 0;return l?`${e} ${l}`:e}function Sn(){return d().commentAuthorId}function Tn(){const{hoveredCommentId:e,setHoveredCommentId:o}=d();return[e,o]}function Mn(){return d().showLineNumbers}function Rn(){const{uploadFile:e,maxFileSize:o,resolveEmbedSrc:r,onEmbedError:l}=d();return{uploadFile:e,maxFileSize:o,resolveEmbedSrc:r??Pn,onEmbedError:l}}function Pn(e){return e}function Dn(){const{fieldTypeEditorTarget:e,openCreateFieldType:o,openEditFieldType:r,closeFieldTypeEditor:l}=d();return{target:e,openCreate:o,openEdit:r,close:l}}const a={INSERT_BLOCK:"insertBlock",REMOVE_BLOCK:"removeBlock",MOVE_BLOCK:"moveBlock",CHANGE_BLOCK_TYPE:"changeBlockType",UPDATE_BLOCK_PROPS:"updateBlockProps",UPDATE_RUN:"updateRun",SET_BLOCK_CONTENT_IDS:"setBlockContentIds",REPLACE_RUN_SPAN:"replaceRunSpan",SET_BLOCK_RUNS:"setBlockRuns",EDIT_RUN_CHARS:"editRunChars",ADD_FIELD_TYPE:"addFieldType",UPDATE_FIELD_TYPE:"updateFieldType",REMOVE_FIELD_TYPE:"removeFieldType",ADD_COMMENT_THREAD:"addCommentThread",REMOVE_COMMENT_THREAD:"removeCommentThread",ADD_COMMENT_REPLY:"addCommentReply",REMOVE_COMMENT_REPLY:"removeCommentReply",RESOLVE_COMMENT:"resolveComment",ADD_PERSON:"addPerson",UPDATE_PERSON:"updatePerson",REMOVE_PERSON:"removePerson",SET_TITLE:"setTitle"};function F(e,o,r,l){return{type:a.INSERT_BLOCK,block:e,parentId:o,index:r,subtree:l}}function U(e){return{type:a.REMOVE_BLOCK,id:e}}function V(e,o,r){return{type:a.MOVE_BLOCK,id:e,toParentId:o,toIndex:r}}function q(e,o){return{type:a.UPDATE_BLOCK_PROPS,id:e,patch:o}}function Y(e,o,r){return{type:a.CHANGE_BLOCK_TYPE,id:e,blockType:o,props:r}}function K(e,o){return{type:a.UPDATE_RUN,id:e,patch:o}}function W(e,o,r,l){return{type:a.EDIT_RUN_CHARS,id:e,tombstoneIds:o,restoreIds:r,previousValue:l}}function $(e,o){return{type:a.SET_BLOCK_CONTENT_IDS,blockId:e,contentIds:o}}function G(e,o,r){return{type:a.REPLACE_RUN_SPAN,blockId:e,oldRunIds:o,newRuns:r}}function Q(e,o){return{type:a.SET_BLOCK_RUNS,blockId:e,runs:o}}function X(e){return{type:a.ADD_FIELD_TYPE,fieldType:e}}function J(e,o){return{type:a.UPDATE_FIELD_TYPE,id:e,patch:o}}function Z(e){return{type:a.REMOVE_FIELD_TYPE,id:e}}function nn(e){return{type:a.ADD_COMMENT_THREAD,thread:e}}function en(e){return{type:a.REMOVE_COMMENT_THREAD,commentId:e}}function on(e,o){return{type:a.ADD_COMMENT_REPLY,commentId:e,message:o}}function tn(e,o){return{type:a.REMOVE_COMMENT_REPLY,commentId:e,messageId:o}}function rn(e,o){return{type:a.RESOLVE_COMMENT,commentId:e,resolved:o}}function an(e){return{type:a.ADD_PERSON,person:e}}function ln(e,o){return{type:a.UPDATE_PERSON,id:e,patch:o}}function dn(e){return{type:a.REMOVE_PERSON,id:e}}function sn(e){return{type:a.SET_TITLE,title:e}}const _n=Object.freeze(Object.defineProperty({__proto__:null,OP:a,addCommentReply:on,addCommentThread:nn,addFieldType:X,addPerson:an,changeBlockType:Y,editRunChars:W,insertBlock:F,moveBlock:V,removeBlock:U,removeCommentReply:tn,removeCommentThread:en,removeFieldType:Z,removePerson:dn,replaceRunSpan:G,resolveComment:rn,setBlockContentIds:$,setBlockRuns:Q,setTitle:sn,updateBlockProps:q,updateFieldType:J,updatePerson:ln,updateRun:K},Symbol.toStringTag,{value:"Module"}));function On(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`id-${Date.now()}-${Math.random().toString(36).slice(2)}`}function t({children:e,size:o=16,strokeWidth:r=2,...l}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",...l,children:e})}function Bn(e){return n.jsx(t,{...e,children:n.jsx("polyline",{points:"9 18 15 12 9 6"})})}function An(e){return n.jsx(t,{...e,children:n.jsx("polyline",{points:"6 9 12 15 18 9"})})}function Ln(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function Nn(e){return n.jsxs(t,{...e,fill:"currentColor",stroke:"none",children:[n.jsx("circle",{cx:"5",cy:"12",r:"1.6"}),n.jsx("circle",{cx:"12",cy:"12",r:"1.6"}),n.jsx("circle",{cx:"19",cy:"12",r:"1.6"})]})}function Hn(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"})})}function Fn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function Un(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"}),n.jsx("path",{d:"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"})]})}function Vn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"19",y1:"4",x2:"10",y2:"4"}),n.jsx("line",{x1:"14",y1:"20",x2:"5",y2:"20"}),n.jsx("line",{x1:"15",y1:"4",x2:"9",y2:"20"})]})}function qn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M6 3v7a6 6 0 0 0 12 0V3"}),n.jsx("line",{x1:"4",y1:"21",x2:"20",y2:"21"})]})}function Yn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 20h9"}),n.jsx("path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"})]})}function Kn(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M3 17c2-4 4-4 6 0s4 4 6 0 4-4 6 0"})})}function Wn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),n.jsx("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]})}function $n(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"})})}function Gn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M3 12a9 9 0 1 0 3-6.7"}),n.jsx("polyline",{points:"3 5 3 10 8 10"}),n.jsx("polyline",{points:"12 7 12 12 16 14"})]})}function Qn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M3 12a9 9 0 1 0 2.6-6.3"}),n.jsx("polyline",{points:"3 4 3 9 8 9"})]})}function Xn(e){return n.jsx(t,{...e,children:n.jsx("polyline",{points:"20 6 9 17 4 12"})})}function Jn(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),n.jsx("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]})}function Zn(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M16 4H9a3 3 0 0 0-2.83 4"}),n.jsx("path",{d:"M14 12a4 4 0 0 1 0 8H6"}),n.jsx("line",{x1:"4",y1:"12",x2:"20",y2:"12"})]})}function ne(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"17",y1:"10",x2:"3",y2:"10"}),n.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),n.jsx("line",{x1:"17",y1:"18",x2:"3",y2:"18"})]})}function ee(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"18",y1:"10",x2:"6",y2:"10"}),n.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),n.jsx("line",{x1:"18",y1:"18",x2:"6",y2:"18"})]})}function oe(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"21",y1:"10",x2:"7",y2:"10"}),n.jsx("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),n.jsx("line",{x1:"21",y1:"18",x2:"7",y2:"18"})]})}function te(e){return n.jsx(t,{...e,children:[5,12,19].flatMap(o=>[9,15].map(r=>n.jsx("circle",{cx:r,cy:o,r:"1.3",fill:"currentColor",stroke:"none"},`${r}-${o}`)))})}function re(e){return n.jsxs(t,{...e,children:[n.jsx("polyline",{points:"3 6 5 6 21 6"}),n.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),n.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),n.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})}function ae(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"9",y:"9",width:"12",height:"12",rx:"2"}),n.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})}function ie(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"5"}),n.jsx("polyline",{points:"5 12 12 5 19 12"})]})}function le(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("polyline",{points:"19 12 12 19 5 12"})]})}function de(e){return n.jsx(t,{...e,children:n.jsx("rect",{x:"4",y:"4",width:"16",height:"16",rx:"1"})})}function se(e){return n.jsx(t,{...e,children:n.jsx("circle",{cx:"12",cy:"12",r:"8"})})}function ce(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"6",y1:"18",x2:"18",y2:"6"}),n.jsx("polyline",{points:"9 6 18 6 18 15"})]})}function be(e){return n.jsx(t,{...e,children:n.jsx("polygon",{points:"12 3 21 12 12 21 3 12"})})}function me(e){return n.jsx(t,{...e,children:n.jsx("polygon",{points:"12 4 20 20 4 20"})})}function pe(e){return n.jsx(t,{...e,children:n.jsx("polygon",{points:"12 3 14.7 9.4 21.5 9.9 16.3 14.4 17.9 21 12 17.4 6.1 21 7.7 14.4 2.5 9.9 9.3 9.4"})})}function ue(e){return n.jsx(t,{...e,children:n.jsx("path",{d:"M5 3l14 8-6 2-2 6-6-16z"})})}function ge(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M19 20H9l-6-6a1.5 1.5 0 0 1 0-2l9-9a1.5 1.5 0 0 1 2 0l7 7a1.5 1.5 0 0 1 0 2l-7 7"}),n.jsx("path",{d:"M6.5 12.5 13 19"})]})}function he(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 3v12"}),n.jsx("path",{d:"M7 10l5 5 5-5"}),n.jsx("path",{d:"M4 19h16"})]})}function xe(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M6 15V9a6 6 0 0 1 12 0v6"}),n.jsx("path",{d:"M6 15a3 3 0 0 0 6 0v-4"}),n.jsx("path",{d:"M18 15a3 3 0 0 1-6 0v-4"}),n.jsx("line",{x1:"3",y1:"9",x2:"6",y2:"9"}),n.jsx("line",{x1:"3",y1:"15",x2:"6",y2:"15"}),n.jsx("line",{x1:"18",y1:"9",x2:"21",y2:"9"}),n.jsx("line",{x1:"18",y1:"15",x2:"21",y2:"15"})]})}function fe(e){return n.jsxs(t,{...e,children:[n.jsx("circle",{cx:"6",cy:"6",r:"3"}),n.jsx("circle",{cx:"6",cy:"18",r:"3"}),n.jsx("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),n.jsx("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),n.jsx("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})]})}function ve(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"17",y1:"6",x2:"3",y2:"6"}),n.jsx("line",{x1:"21",y1:"12",x2:"3",y2:"12"}),n.jsx("line",{x1:"15",y1:"18",x2:"3",y2:"18"})]})}function g({level:e=1,size:o=16,...r}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",...r,children:n.jsxs("text",{x:"2",y:"18",fontSize:"14",fontWeight:"700",fill:"currentColor",fontFamily:"inherit",children:["H",e]})})}function ye(e){return n.jsx(g,{level:1,...e})}function we(e){return n.jsx(g,{level:2,...e})}function ke(e){return n.jsx(g,{level:3,...e})}function je(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M7 7a3 3 0 0 0-3 3v3a2 2 0 0 0 2 2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H6a3 3 0 0 1 3-3z"}),n.jsx("path",{d:"M17 7a3 3 0 0 0-3 3v3a2 2 0 0 0 2 2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2a3 3 0 0 1 3-3z"})]})}function Ie(e){return n.jsxs(t,{...e,children:[n.jsx("polyline",{points:"9 8 4 12 9 16"}),n.jsx("polyline",{points:"15 8 20 12 15 16"})]})}function ze(e){return n.jsx(t,{...e,children:n.jsx("line",{x1:"4",y1:"12",x2:"20",y2:"12"})})}function Ce(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M4 5h16a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9l-4 4v-4H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1z"}),n.jsx("line",{x1:"7",y1:"9",x2:"17",y2:"9"}),n.jsx("line",{x1:"7",y1:"12.5",x2:"13",y2:"12.5"})]})}function Ee(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"8",width:"18",height:"8",rx:"3"}),n.jsx("line",{x1:"8",y1:"12",x2:"16",y2:"12"})]})}function Se(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1"}),n.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"}),n.jsx("line",{x1:"3",y1:"16",x2:"21",y2:"16"}),n.jsx("line",{x1:"9",y1:"4",x2:"9",y2:"20"}),n.jsx("line",{x1:"15",y1:"4",x2:"15",y2:"20"})]})}function Te(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1"}),n.jsx("line",{x1:"9",y1:"4",x2:"9",y2:"20"}),n.jsx("line",{x1:"15",y1:"4",x2:"15",y2:"20"})]})}function Me(e){return n.jsxs(t,{...e,children:[n.jsx("circle",{cx:"4.5",cy:"6",r:"1.2",fill:"currentColor",stroke:"none"}),n.jsx("circle",{cx:"4.5",cy:"12",r:"1.2",fill:"currentColor",stroke:"none"}),n.jsx("circle",{cx:"4.5",cy:"18",r:"1.2",fill:"currentColor",stroke:"none"}),n.jsx("line",{x1:"9",y1:"6",x2:"21",y2:"6"}),n.jsx("line",{x1:"9",y1:"12",x2:"21",y2:"12"}),n.jsx("line",{x1:"9",y1:"18",x2:"21",y2:"18"})]})}function Re(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"10",y1:"6",x2:"21",y2:"6"}),n.jsx("line",{x1:"10",y1:"12",x2:"21",y2:"12"}),n.jsx("line",{x1:"10",y1:"18",x2:"21",y2:"18"}),n.jsx("text",{x:"2",y:"8.5",fontSize:"7",fontWeight:"700",fill:"currentColor",stroke:"none",children:"1"}),n.jsx("text",{x:"2",y:"14.5",fontSize:"7",fontWeight:"700",fill:"currentColor",stroke:"none",children:"2"}),n.jsx("text",{x:"2",y:"20.5",fontSize:"7",fontWeight:"700",fill:"currentColor",stroke:"none",children:"3"})]})}function Pe(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"4",y:"4",width:"16",height:"16",rx:"3"}),n.jsx("polyline",{points:"8 12 11 15 16 9"})]})}function De(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),n.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"}),n.jsx("line",{x1:"8",y1:"3",x2:"8",y2:"7"}),n.jsx("line",{x1:"16",y1:"3",x2:"16",y2:"7"})]})}function _e(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 3h7a2 2 0 0 1 2 2v7a2 2 0 0 1-.59 1.41l-8 8a2 2 0 0 1-2.82 0l-7-7a2 2 0 0 1 0-2.82l8-8A2 2 0 0 1 12 3z"}),n.jsx("circle",{cx:"15.5",cy:"8.5",r:"1.2",fill:"currentColor",stroke:"none"})]})}function Oe(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),n.jsx("circle",{cx:"9",cy:"10",r:"1.5",fill:"currentColor",stroke:"none"}),n.jsx("path",{d:"M4 17l5-5 4 4 4-5 4 6"})]})}function Be(e){return n.jsxs(t,{...e,children:[n.jsx("rect",{x:"3",y:"5",width:"14",height:"14",rx:"2"}),n.jsx("path",{d:"M17 10l4-2.5v9L17 14"})]})}function Ae(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z"}),n.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function Le(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M17.94 17.94A10.94 10.94 0 0 1 12 19c-6.5 0-10-7-10-7a18.5 18.5 0 0 1 5.06-5.94M9.9 4.24A10.94 10.94 0 0 1 12 4c6.5 0 10 7 10 7a18.5 18.5 0 0 1-2.16 3.19"}),n.jsx("path",{d:"M14.12 14.12a3 3 0 1 1-4.24-4.24"}),n.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})}function Ne(e){return n.jsxs(t,{...e,children:[n.jsx("line",{x1:"4",y1:"10",x2:"4",y2:"14"}),n.jsx("line",{x1:"8",y1:"7",x2:"8",y2:"17"}),n.jsx("line",{x1:"12",y1:"4",x2:"12",y2:"20"}),n.jsx("line",{x1:"16",y1:"7",x2:"16",y2:"17"}),n.jsx("line",{x1:"20",y1:"10",x2:"20",y2:"14"})]})}function He(e){return n.jsxs(t,{...e,children:[n.jsx("path",{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"}),n.jsx("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),n.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"23"}),n.jsx("line",{x1:"8",y1:"23",x2:"16",y2:"23"})]})}exports.AlignCenterIcon=ee;exports.AlignLeftIcon=ne;exports.AlignRightIcon=oe;exports.ArrowDiagonalIcon=ce;exports.ArrowDownIcon=le;exports.ArrowUpIcon=ie;exports.AudioIcon=Ne;exports.BoldIcon=Un;exports.BulletedListIcon=Me;exports.ButtonIcon=Ee;exports.CalloutIcon=Ce;exports.CheckIcon=Xn;exports.CheckboxIcon=Pe;exports.ChevronDownIcon=An;exports.ChevronRightIcon=Bn;exports.CircleIcon=se;exports.ClockHistoryIcon=Gn;exports.CodeIcon=Ie;exports.ColumnsIcon=Te;exports.CommentIcon=$n;exports.CopyIcon=ae;exports.CursorIcon=ue;exports.DateIcon=De;exports.DiamondIcon=be;exports.DividerIcon=ze;exports.DownloadIcon=he;exports.EditorProvider=fn;exports.EraserIcon=ge;exports.EyeIcon=Ae;exports.EyeOffIcon=Le;exports.GripVerticalIcon=te;exports.Heading1Icon=ye;exports.Heading2Icon=we;exports.Heading3Icon=ke;exports.ImageIcon=Oe;exports.ItalicIcon=Vn;exports.LinkIcon=Wn;exports.MagnetIcon=xe;exports.MicIcon=He;exports.MoreHorizontalIcon=Nn;exports.NumberedListIcon=Re;exports.OP=a;exports.PaperclipIcon=Hn;exports.PencilIcon=Yn;exports.PlusIcon=Fn;exports.QuoteIcon=je;exports.RestoreIcon=Qn;exports.ScissorsIcon=fe;exports.ScribbleIcon=Kn;exports.SelectIcon=_e;exports.SendIcon=Jn;exports.SquareIcon=de;exports.StarIcon=pe;exports.StrikethroughIcon=Zn;exports.TableIcon=Se;exports.TextIcon=ve;exports.TrashIcon=re;exports.TriangleIcon=me;exports.UnderlineIcon=qn;exports.VideoIcon=Be;exports.XIcon=Ln;exports.addCommentReply=on;exports.addCommentThread=nn;exports.addFieldType=X;exports.addPerson=an;exports.changeBlockType=Y;exports.editRunChars=W;exports.genId=On;exports.injectDefaultStyles=H;exports.insertBlock=F;exports.moveBlock=V;exports.operations=_n;exports.removeBlock=U;exports.removeCommentReply=tn;exports.removeCommentThread=en;exports.removeFieldType=Z;exports.removePerson=dn;exports.replaceRunSpan=G;exports.resolveComment=rn;exports.setBlockContentIds=$;exports.setBlockRuns=Q;exports.setTitle=sn;exports.updateBlockProps=q;exports.updateFieldType=J;exports.updatePerson=ln;exports.updateRun=K;exports.useBlockClassName=En;exports.useBlockRangeSelection=In;exports.useBlockRegistry=wn;exports.useCommentAuthorId=Sn;exports.useEditorContext=d;exports.useEditorStore=vn;exports.useFieldTypeEditor=Dn;exports.useFileUpload=Rn;exports.useHoveredComment=Tn;exports.useInlineRegistry=kn;exports.useOptionalEditorStore=yn;exports.usePreviewMode=Cn;exports.useSelectedBlock=zn;exports.useShowLineNumbers=Mn;exports.useWholeDocumentSelection=jn;
3531
+ //# sourceMappingURL=icons-DabR_JDW.cjs.map